From 6a5290866abd0cf4c42f3f933252d0de6c8c2196 Mon Sep 17 00:00:00 2001 From: zhengxie Date: Tue, 7 Jul 2015 14:08:43 +0800 Subject: [PATCH] [dist] Update locales and dist --- locale/ar/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/bg/LC_MESSAGES/djangojs.po | 433 +++++++++++ locale/bg_BG/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/ca/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/cs/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/cs_CZ/LC_MESSAGES/djangojs.po | 433 +++++++++++ locale/da_DK/LC_MESSAGES/djangojs.po | 433 +++++++++++ locale/de/LC_MESSAGES/djangojs.po | 435 +++++++++++ locale/de_DE/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/el/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/el_GR/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/en_US/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/fr/LC_MESSAGES/django.po | 32 +- locale/fr/LC_MESSAGES/djangojs.po | 433 +++++++++++ locale/he/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/hr/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/hr_HR/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/hu/LC_MESSAGES/djangojs.po | 433 +++++++++++ locale/is/LC_MESSAGES/django.po | 162 ++-- locale/is/LC_MESSAGES/djangojs.po | 433 +++++++++++ locale/it/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/ja/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/ko/LC_MESSAGES/djangojs.po | 433 +++++++++++ locale/lv/LC_MESSAGES/djangojs.po | 433 +++++++++++ locale/lv_LV/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/nb/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/nb_NO/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/nl_NL/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/pt_BR/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/pt_PT/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/ru/LC_MESSAGES/django.po | 707 +++++++++--------- locale/ru/LC_MESSAGES/djangojs.po | 434 +++++++++++ locale/sk_SK/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/sl_SI/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/sv/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/th_TH/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/tr/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/uk/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/vi/LC_MESSAGES/djangojs.po | 432 +++++++++++ locale/zh_TW/LC_MESSAGES/djangojs.po | 432 +++++++++++ ...472045ac19aa.js => dirent.dba3252f97c1.js} | 1 + media/assets/scripts/app/views/dirent.js | 1 + ...f.js => starred-file-item.e4367e922093.js} | 2 +- .../scripts/app/views/starred-file-item.js | 2 +- .../dist/i18n/ca/djangojs.014bb51da78a.js | 1 + .../dist/i18n/ca/djangojs.8fb527b94a8e.js | 1 - media/assets/scripts/dist/i18n/ca/djangojs.js | 2 +- .../dist/i18n/de/djangojs.49b4a16591a9.js | 1 + .../dist/i18n/de/djangojs.f2cf2facae19.js | 1 - media/assets/scripts/dist/i18n/de/djangojs.js | 2 +- .../dist/i18n/fr/djangojs.d4b014013f86.js | 1 + .../dist/i18n/fr/djangojs.eb13614805ea.js | 1 - media/assets/scripts/dist/i18n/fr/djangojs.js | 2 +- .../dist/i18n/he/djangojs.47afa608ace9.js | 1 + .../dist/i18n/he/djangojs.deadf7ea1603.js | 1 - media/assets/scripts/dist/i18n/he/djangojs.js | 2 +- .../dist/i18n/hu/djangojs.553b16b1f8f8.js | 1 + .../dist/i18n/hu/djangojs.ef1298ad9ed7.js | 1 - media/assets/scripts/dist/i18n/hu/djangojs.js | 2 +- .../dist/i18n/is/djangojs.a38badd0ed59.js | 1 + .../dist/i18n/is/djangojs.bcbf52a53043.js | 1 - media/assets/scripts/dist/i18n/is/djangojs.js | 2 +- .../dist/i18n/it/djangojs.6dc977321ee2.js | 1 - .../dist/i18n/it/djangojs.82cbde8f71c4.js | 1 + media/assets/scripts/dist/i18n/it/djangojs.js | 2 +- .../dist/i18n/ja/djangojs.7209307570b1.js | 1 - .../dist/i18n/ja/djangojs.ceb1b841818b.js | 1 + media/assets/scripts/dist/i18n/ja/djangojs.js | 2 +- .../dist/i18n/ko/djangojs.c986cdad4434.js | 1 + .../dist/i18n/ko/djangojs.cc1ddf926cf7.js | 1 - media/assets/scripts/dist/i18n/ko/djangojs.js | 2 +- .../dist/i18n/lv/djangojs.783bac5bd404.js | 1 - .../dist/i18n/lv/djangojs.98c391424dee.js | 1 + media/assets/scripts/dist/i18n/lv/djangojs.js | 2 +- .../dist/i18n/nl/djangojs.96c8824f83dc.js | 1 + .../dist/i18n/nl/djangojs.aa180444c3ed.js | 1 - media/assets/scripts/dist/i18n/nl/djangojs.js | 2 +- .../dist/i18n/pt-br/djangojs.8ff0892a4365.js | 1 - .../dist/i18n/pt-br/djangojs.de66f591a925.js | 1 + .../scripts/dist/i18n/pt-br/djangojs.js | 2 +- .../dist/i18n/ru/djangojs.b823fe11174f.js | 1 + .../dist/i18n/ru/djangojs.c7f70b125025.js | 1 - media/assets/scripts/dist/i18n/ru/djangojs.js | 2 +- .../dist/i18n/sk/djangojs.01f7cbc1bf26.js | 1 + .../dist/i18n/sk/djangojs.2e5a99337f36.js | 1 - media/assets/scripts/dist/i18n/sk/djangojs.js | 2 +- .../dist/i18n/sl/djangojs.0033cae277db.js | 1 + .../dist/i18n/sl/djangojs.2553d4956b32.js | 1 - media/assets/scripts/dist/i18n/sl/djangojs.js | 2 +- .../dist/i18n/sv/djangojs.13b0c400897a.js | 1 + .../dist/i18n/sv/djangojs.acf1485ea173.js | 1 - media/assets/scripts/dist/i18n/sv/djangojs.js | 2 +- .../dist/i18n/th/djangojs.3dcf6e280fe6.js | 1 - .../dist/i18n/th/djangojs.b4b37f06f38d.js | 1 + media/assets/scripts/dist/i18n/th/djangojs.js | 2 +- .../dist/i18n/tr/djangojs.89b1a2df31b8.js | 1 - .../dist/i18n/tr/djangojs.f1cf33f9e993.js | 1 + media/assets/scripts/dist/i18n/tr/djangojs.js | 2 +- .../dist/i18n/uk/djangojs.2d1425f59687.js | 1 - .../dist/i18n/uk/djangojs.93bbc2717ad8.js | 1 + media/assets/scripts/dist/i18n/uk/djangojs.js | 2 +- .../dist/i18n/zh-tw/djangojs.3c70e7c81127.js | 1 - .../dist/i18n/zh-tw/djangojs.d68336d24a36.js | 1 + .../scripts/dist/i18n/zh-tw/djangojs.js | 2 +- ...n.12cca855ea3b.js => main.76b133e43fa9.js} | 2 +- media/assets/scripts/dist/main.js | 2 +- ...0b244d30aa.js => djangojs.c01de503a65a.js} | 9 +- media/assets/scripts/i18n/ca/djangojs.js | 9 +- ...31cbd45e4d.js => djangojs.2d7f3205aeb7.js} | 9 +- media/assets/scripts/i18n/de/djangojs.js | 9 +- ...b862e7970d.js => djangojs.683a485097aa.js} | 9 +- media/assets/scripts/i18n/en/djangojs.js | 9 +- .../scripts/i18n/fr/djangojs.31aaa9dbec1f.js | 221 ++++++ .../scripts/i18n/fr/djangojs.f212d84a41ba.js | 89 --- media/assets/scripts/i18n/fr/djangojs.js | 144 +++- ...961455c8ff.js => djangojs.ea731d0746c4.js} | 9 +- media/assets/scripts/i18n/he/djangojs.js | 9 +- .../scripts/i18n/hu/djangojs.7bb9c06fce30.js | 85 --- .../scripts/i18n/hu/djangojs.ace648d07547.js | 217 ++++++ media/assets/scripts/i18n/hu/djangojs.js | 144 +++- .../scripts/i18n/is/djangojs.2d7484b7c9d2.js | 97 --- .../scripts/i18n/is/djangojs.9c410f0f7697.js | 229 ++++++ media/assets/scripts/i18n/is/djangojs.js | 144 +++- ...cf41c832f5.js => djangojs.8926a294b342.js} | 9 +- media/assets/scripts/i18n/it/djangojs.js | 9 +- ...0dbd705948.js => djangojs.10b0ee9bd034.js} | 9 +- media/assets/scripts/i18n/ja/djangojs.js | 9 +- .../scripts/i18n/ko/djangojs.9f13d37ee872.js | 224 ++++++ .../scripts/i18n/ko/djangojs.cf13dc103e1f.js | 92 --- media/assets/scripts/i18n/ko/djangojs.js | 144 +++- ...f0419b2bdc.js => djangojs.b7452e7f1d45.js} | 9 +- media/assets/scripts/i18n/lv/djangojs.js | 9 +- ...7555b7107f.js => djangojs.a848a0d823dd.js} | 9 +- media/assets/scripts/i18n/nl/djangojs.js | 9 +- ...4a1a2f59cb.js => djangojs.b383cd0a09cc.js} | 9 +- media/assets/scripts/i18n/pt-br/djangojs.js | 9 +- .../scripts/i18n/ru/djangojs.6a9c24e96bb6.js | 87 --- .../scripts/i18n/ru/djangojs.718c7980f9fb.js | 219 ++++++ media/assets/scripts/i18n/ru/djangojs.js | 144 +++- ...dc3317e219.js => djangojs.06183425c030.js} | 9 +- media/assets/scripts/i18n/sk/djangojs.js | 9 +- ...05ecb1969e.js => djangojs.98303c434ad8.js} | 9 +- media/assets/scripts/i18n/sl/djangojs.js | 9 +- ...a1e23fc322.js => djangojs.f85f3a2b05e3.js} | 9 +- media/assets/scripts/i18n/sv/djangojs.js | 9 +- ...8d01eaf70f.js => djangojs.fee8e7089958.js} | 9 +- media/assets/scripts/i18n/th/djangojs.js | 9 +- ...57d7371d1b.js => djangojs.bea140a37a93.js} | 9 +- media/assets/scripts/i18n/tr/djangojs.js | 9 +- ...7a1a0e307d.js => djangojs.4765b8111709.js} | 9 +- media/assets/scripts/i18n/uk/djangojs.js | 9 +- ...46a9ff2a0b.js => djangojs.2866807c16ec.js} | 9 +- media/assets/scripts/i18n/zh-tw/djangojs.js | 9 +- static/scripts/i18n/ca/djangojs.js | 9 +- static/scripts/i18n/de/djangojs.js | 9 +- static/scripts/i18n/en/djangojs.js | 9 +- static/scripts/i18n/fr/djangojs.js | 144 +++- static/scripts/i18n/he/djangojs.js | 9 +- static/scripts/i18n/hu/djangojs.js | 144 +++- static/scripts/i18n/is/djangojs.js | 144 +++- static/scripts/i18n/it/djangojs.js | 9 +- static/scripts/i18n/ja/djangojs.js | 9 +- static/scripts/i18n/ko/djangojs.js | 144 +++- static/scripts/i18n/lv/djangojs.js | 9 +- static/scripts/i18n/nl/djangojs.js | 9 +- static/scripts/i18n/pt-br/djangojs.js | 9 +- static/scripts/i18n/ru/djangojs.js | 144 +++- static/scripts/i18n/sk/djangojs.js | 9 +- static/scripts/i18n/sl/djangojs.js | 9 +- static/scripts/i18n/sv/djangojs.js | 9 +- static/scripts/i18n/th/djangojs.js | 9 +- static/scripts/i18n/tr/djangojs.js | 9 +- static/scripts/i18n/uk/djangojs.js | 9 +- static/scripts/i18n/zh-tw/djangojs.js | 9 +- 174 files changed, 19370 insertions(+), 1050 deletions(-) create mode 100644 locale/ar/LC_MESSAGES/djangojs.po create mode 100644 locale/bg/LC_MESSAGES/djangojs.po create mode 100644 locale/bg_BG/LC_MESSAGES/djangojs.po create mode 100644 locale/ca/LC_MESSAGES/djangojs.po create mode 100644 locale/cs/LC_MESSAGES/djangojs.po create mode 100644 locale/cs_CZ/LC_MESSAGES/djangojs.po create mode 100644 locale/da_DK/LC_MESSAGES/djangojs.po create mode 100644 locale/de/LC_MESSAGES/djangojs.po create mode 100644 locale/de_DE/LC_MESSAGES/djangojs.po create mode 100644 locale/el/LC_MESSAGES/djangojs.po create mode 100644 locale/el_GR/LC_MESSAGES/djangojs.po create mode 100644 locale/en_US/LC_MESSAGES/djangojs.po create mode 100644 locale/fr/LC_MESSAGES/djangojs.po create mode 100644 locale/he/LC_MESSAGES/djangojs.po create mode 100644 locale/hr/LC_MESSAGES/djangojs.po create mode 100644 locale/hr_HR/LC_MESSAGES/djangojs.po create mode 100644 locale/hu/LC_MESSAGES/djangojs.po create mode 100644 locale/is/LC_MESSAGES/djangojs.po create mode 100644 locale/it/LC_MESSAGES/djangojs.po create mode 100644 locale/ja/LC_MESSAGES/djangojs.po create mode 100644 locale/ko/LC_MESSAGES/djangojs.po create mode 100644 locale/lv/LC_MESSAGES/djangojs.po create mode 100644 locale/lv_LV/LC_MESSAGES/djangojs.po create mode 100644 locale/nb/LC_MESSAGES/djangojs.po create mode 100644 locale/nb_NO/LC_MESSAGES/djangojs.po create mode 100644 locale/nl_NL/LC_MESSAGES/djangojs.po create mode 100644 locale/pt_BR/LC_MESSAGES/djangojs.po create mode 100644 locale/pt_PT/LC_MESSAGES/djangojs.po create mode 100644 locale/ru/LC_MESSAGES/djangojs.po create mode 100644 locale/sk_SK/LC_MESSAGES/djangojs.po create mode 100644 locale/sl_SI/LC_MESSAGES/djangojs.po create mode 100644 locale/sv/LC_MESSAGES/djangojs.po create mode 100644 locale/th_TH/LC_MESSAGES/djangojs.po create mode 100644 locale/tr/LC_MESSAGES/djangojs.po create mode 100644 locale/uk/LC_MESSAGES/djangojs.po create mode 100644 locale/vi/LC_MESSAGES/djangojs.po create mode 100644 locale/zh_TW/LC_MESSAGES/djangojs.po rename media/assets/scripts/app/views/{dirent.472045ac19aa.js => dirent.dba3252f97c1.js} (99%) rename media/assets/scripts/app/views/{starred-file-item.aa4a12ab100f.js => starred-file-item.e4367e922093.js} (97%) create mode 100644 media/assets/scripts/dist/i18n/ca/djangojs.014bb51da78a.js delete mode 100644 media/assets/scripts/dist/i18n/ca/djangojs.8fb527b94a8e.js create mode 100644 media/assets/scripts/dist/i18n/de/djangojs.49b4a16591a9.js delete mode 100644 media/assets/scripts/dist/i18n/de/djangojs.f2cf2facae19.js create mode 100644 media/assets/scripts/dist/i18n/fr/djangojs.d4b014013f86.js delete mode 100644 media/assets/scripts/dist/i18n/fr/djangojs.eb13614805ea.js create mode 100644 media/assets/scripts/dist/i18n/he/djangojs.47afa608ace9.js delete mode 100644 media/assets/scripts/dist/i18n/he/djangojs.deadf7ea1603.js create mode 100644 media/assets/scripts/dist/i18n/hu/djangojs.553b16b1f8f8.js delete mode 100644 media/assets/scripts/dist/i18n/hu/djangojs.ef1298ad9ed7.js create mode 100644 media/assets/scripts/dist/i18n/is/djangojs.a38badd0ed59.js delete mode 100644 media/assets/scripts/dist/i18n/is/djangojs.bcbf52a53043.js delete mode 100644 media/assets/scripts/dist/i18n/it/djangojs.6dc977321ee2.js create mode 100644 media/assets/scripts/dist/i18n/it/djangojs.82cbde8f71c4.js delete mode 100644 media/assets/scripts/dist/i18n/ja/djangojs.7209307570b1.js create mode 100644 media/assets/scripts/dist/i18n/ja/djangojs.ceb1b841818b.js create mode 100644 media/assets/scripts/dist/i18n/ko/djangojs.c986cdad4434.js delete mode 100644 media/assets/scripts/dist/i18n/ko/djangojs.cc1ddf926cf7.js delete mode 100644 media/assets/scripts/dist/i18n/lv/djangojs.783bac5bd404.js create mode 100644 media/assets/scripts/dist/i18n/lv/djangojs.98c391424dee.js create mode 100644 media/assets/scripts/dist/i18n/nl/djangojs.96c8824f83dc.js delete mode 100644 media/assets/scripts/dist/i18n/nl/djangojs.aa180444c3ed.js delete mode 100644 media/assets/scripts/dist/i18n/pt-br/djangojs.8ff0892a4365.js create mode 100644 media/assets/scripts/dist/i18n/pt-br/djangojs.de66f591a925.js create mode 100644 media/assets/scripts/dist/i18n/ru/djangojs.b823fe11174f.js delete mode 100644 media/assets/scripts/dist/i18n/ru/djangojs.c7f70b125025.js create mode 100644 media/assets/scripts/dist/i18n/sk/djangojs.01f7cbc1bf26.js delete mode 100644 media/assets/scripts/dist/i18n/sk/djangojs.2e5a99337f36.js create mode 100644 media/assets/scripts/dist/i18n/sl/djangojs.0033cae277db.js delete mode 100644 media/assets/scripts/dist/i18n/sl/djangojs.2553d4956b32.js create mode 100644 media/assets/scripts/dist/i18n/sv/djangojs.13b0c400897a.js delete mode 100644 media/assets/scripts/dist/i18n/sv/djangojs.acf1485ea173.js delete mode 100644 media/assets/scripts/dist/i18n/th/djangojs.3dcf6e280fe6.js create mode 100644 media/assets/scripts/dist/i18n/th/djangojs.b4b37f06f38d.js delete mode 100644 media/assets/scripts/dist/i18n/tr/djangojs.89b1a2df31b8.js create mode 100644 media/assets/scripts/dist/i18n/tr/djangojs.f1cf33f9e993.js delete mode 100644 media/assets/scripts/dist/i18n/uk/djangojs.2d1425f59687.js create mode 100644 media/assets/scripts/dist/i18n/uk/djangojs.93bbc2717ad8.js delete mode 100644 media/assets/scripts/dist/i18n/zh-tw/djangojs.3c70e7c81127.js create mode 100644 media/assets/scripts/dist/i18n/zh-tw/djangojs.d68336d24a36.js rename media/assets/scripts/dist/{main.12cca855ea3b.js => main.76b133e43fa9.js} (77%) rename media/assets/scripts/i18n/ca/{djangojs.ec0b244d30aa.js => djangojs.c01de503a65a.js} (93%) rename media/assets/scripts/i18n/de/{djangojs.4f31cbd45e4d.js => djangojs.2d7f3205aeb7.js} (93%) rename media/assets/scripts/i18n/en/{djangojs.2cb862e7970d.js => djangojs.683a485097aa.js} (93%) create mode 100644 media/assets/scripts/i18n/fr/djangojs.31aaa9dbec1f.js delete mode 100644 media/assets/scripts/i18n/fr/djangojs.f212d84a41ba.js rename media/assets/scripts/i18n/he/{djangojs.c0961455c8ff.js => djangojs.ea731d0746c4.js} (94%) delete mode 100644 media/assets/scripts/i18n/hu/djangojs.7bb9c06fce30.js create mode 100644 media/assets/scripts/i18n/hu/djangojs.ace648d07547.js delete mode 100644 media/assets/scripts/i18n/is/djangojs.2d7484b7c9d2.js create mode 100644 media/assets/scripts/i18n/is/djangojs.9c410f0f7697.js rename media/assets/scripts/i18n/it/{djangojs.4ccf41c832f5.js => djangojs.8926a294b342.js} (94%) rename media/assets/scripts/i18n/ja/{djangojs.990dbd705948.js => djangojs.10b0ee9bd034.js} (94%) create mode 100644 media/assets/scripts/i18n/ko/djangojs.9f13d37ee872.js delete mode 100644 media/assets/scripts/i18n/ko/djangojs.cf13dc103e1f.js rename media/assets/scripts/i18n/lv/{djangojs.c2f0419b2bdc.js => djangojs.b7452e7f1d45.js} (92%) rename media/assets/scripts/i18n/nl/{djangojs.4b7555b7107f.js => djangojs.a848a0d823dd.js} (93%) rename media/assets/scripts/i18n/pt-br/{djangojs.e64a1a2f59cb.js => djangojs.b383cd0a09cc.js} (93%) delete mode 100644 media/assets/scripts/i18n/ru/djangojs.6a9c24e96bb6.js create mode 100644 media/assets/scripts/i18n/ru/djangojs.718c7980f9fb.js rename media/assets/scripts/i18n/sk/{djangojs.16dc3317e219.js => djangojs.06183425c030.js} (92%) rename media/assets/scripts/i18n/sl/{djangojs.b405ecb1969e.js => djangojs.98303c434ad8.js} (92%) rename media/assets/scripts/i18n/sv/{djangojs.f1a1e23fc322.js => djangojs.f85f3a2b05e3.js} (93%) rename media/assets/scripts/i18n/th/{djangojs.518d01eaf70f.js => djangojs.fee8e7089958.js} (94%) rename media/assets/scripts/i18n/tr/{djangojs.3557d7371d1b.js => djangojs.bea140a37a93.js} (93%) rename media/assets/scripts/i18n/uk/{djangojs.ef7a1a0e307d.js => djangojs.4765b8111709.js} (91%) rename media/assets/scripts/i18n/zh-tw/{djangojs.d346a9ff2a0b.js => djangojs.2866807c16ec.js} (94%) diff --git a/locale/ar/LC_MESSAGES/djangojs.po b/locale/ar/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..cc63d21b4f --- /dev/null +++ b/locale/ar/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Arabic (http://www.transifex.com/projects/p/seahub/language/ar/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/bg/LC_MESSAGES/djangojs.po b/locale/bg/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..ef30f0c136 --- /dev/null +++ b/locale/bg/LC_MESSAGES/djangojs.po @@ -0,0 +1,433 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Веселин Панайотов , 2015 +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Bulgarian (http://www.transifex.com/projects/p/seahub/language/bg/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "Грешка. Моля проверете връзката." + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/bg_BG/LC_MESSAGES/djangojs.po b/locale/bg_BG/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..e1df795a0a --- /dev/null +++ b/locale/bg_BG/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Bulgarian (Bulgaria) (http://www.transifex.com/projects/p/seahub/language/bg_BG/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: bg_BG\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/ca/LC_MESSAGES/djangojs.po b/locale/ca/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..f5b09d037e --- /dev/null +++ b/locale/ca/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Catalan (http://www.transifex.com/projects/p/seahub/language/ca/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/cs/LC_MESSAGES/djangojs.po b/locale/cs/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..ec705143cc --- /dev/null +++ b/locale/cs/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Czech (http://www.transifex.com/projects/p/seahub/language/cs/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: cs\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/cs_CZ/LC_MESSAGES/djangojs.po b/locale/cs_CZ/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..9cb9a02cd3 --- /dev/null +++ b/locale/cs_CZ/LC_MESSAGES/djangojs.po @@ -0,0 +1,433 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Pavel Mlcoch , 2015 +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Czech (Czech Republic) (http://www.transifex.com/projects/p/seahub/language/cs_CZ/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: cs_CZ\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "Chyba. Prosím zkontrolujte síť." + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "Vyžadováno jméno" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "Zadejte prosím heslo" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "Zadejte prosím heslo znovu" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "Heslo je příliž krátké" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "Hesla se neshodují" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "Zavřít (Esc)" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "Nahrávám..." + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "Předchozí (šipkou vlevo)" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "Následující (šipkou vpravo)" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "%curr% z %total%" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "Otebřít na nové kartě" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "Obrázek nejde načíst." + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "Prosím, zkontrolujte síť." + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "Heslo je vyžadováno." + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "Vyžadováno." + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "Právě teď" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "Pouze rozšíření, prosím zadejte jméno." + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "Zpracovávám..." + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "Úspěšně smazán %(name)s." + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "Úspěšně smazáno %(name)s a 1 další položka." + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "Úspěšně smazáno %(name)s a %(amount)s dalších položek." + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "Vymazat položky" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "Opravdu chcete smazat tyto položky?" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "Neplatná cílová cesta" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "Úspěšně přesunut %(name)s." + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "Úspěšně přesunut %(name)s a 1 další položka." + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "Úspěšně přesunut %(name)s a %(amount)s dalších položek." + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "Úspěšně zkopírován %(name)s." + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "Úspěšně zkopírován %(name)s a 1 další položka." + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "Úspěšně zkopírován %(name)s a %(amount)s dalších položek." + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "Interní chyba. Chyba při přesunu %(name)s a %(amount)s další položka(y)." + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "Interní chyba. Chyba při přesunu %(name)s." + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "Interní chyba. Chyba při kopírování %(name)s a %(amount)s další položka(y)." + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "Interní chyba. Chyba při kopírování %(name)s." + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "Přesun souboru %(index)s z %(total)s" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "Kopírování souboru %(index)s ze %(total)s" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "Chyba při přesunu %(name)s" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "Chyba při kopírování %(name)s" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "Zrušeno." + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "Úspěšně smazán %(name)s" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "Přejmenovat adresář" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "Přejmenovat soubor" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "Není přejmenován." + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "Přesun {placeholder} do:" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "Kopírovat {placeholder} do:" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "Přesunování %(name)s" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "Kopírování %(name)s" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "Ukládám..." + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "Chyba." + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "Soubor je příliž velký" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "Soubor je příliž malý" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "Typ souboru není povolen" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "Maximální počet souborů překročen" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "Nahrávaný soubor překročil dovolenou velikost" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "Prázdný výsledek nahrávání souboru" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "Chyba" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "nahráno" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "zrušeno" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "Začátek" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "Zrušit" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "Smazat" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "Nahrávání souboru..." + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "Nahrávání souboru dokončeno" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "Nahrávání souboru zrušeno" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "Nahrávání souboru selhalo" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "Chyba při získávání url nahrávání" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "Chyba při získávání url aktualizace" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "Přepsat soubor {filename}?" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "Nastavení {placeholder}'s oprávnění" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "Vyberte skupiny" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "Sdílení úspěšně zrušeno {placeholder}" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "Chyba oprávnění" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "Nemáte k dispozici žádnou knihovnu." + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "Prosím vyberte adresář" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "Opravdu smazat {lib_name}?" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "Mazání dokončeno." + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "Sdílení {placeholder}" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "Prosím zadejte dnů." + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "Prosím zadejte platné dny" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "Prosím zadejte nejméně email." + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "Úspěšně nahráno do {placeholder}" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "Chyba při odesílání do {placeholder}" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "Úspěšně sdíleno v {placeholder}" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "Chyba při sdílení do {placeholder}" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "Prosím vyberte kontakt nebo skupinu." + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "Dokončeno" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "Úspěšně zrušen příznak {placeholder}" diff --git a/locale/da_DK/LC_MESSAGES/djangojs.po b/locale/da_DK/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..ce2f6e0dab --- /dev/null +++ b/locale/da_DK/LC_MESSAGES/djangojs.po @@ -0,0 +1,433 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Jonas Pedersen , 2015 +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-30 09:09+0000\n" +"Last-Translator: Jonas Pedersen \n" +"Language-Team: Danish (Denmark) (http://www.transifex.com/projects/p/seahub/language/da_DK/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: da_DK\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "Fejl. Tjek venligst netværksforbindelse." + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "Søg efter brugere eller indtast emailadresser" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "Navn er nødvendigt" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "Indtast venligst kodeord" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "Indtast venligst kodeordet igen" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "Kodeord er for kort" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "Kodeordene er ikke ens" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "Luk (Esc)" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "Henter..." + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "Forrige (Venstre piletast)" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "Næste (Højre piletast)" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "%curr% af %total%" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "Åben i ny fane" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "Billedet kunne ikke hentes" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "Tjek venligst netværksforbindelsen" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "Kodeord er nødvendigt" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "Dette er nødvendigt" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "Lige nu" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "Arbejder..." + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "Slettet med success %(name)s." + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "Slettet med success %(name)s og 1 andet object." + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "Slette med success %(name)s og %(amount)s andre objekter." + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/de/LC_MESSAGES/djangojs.po b/locale/de/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..6dbb35b9c8 --- /dev/null +++ b/locale/de/LC_MESSAGES/djangojs.po @@ -0,0 +1,435 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# 1resu , 2015 +# Christian , 2015 +# pieceofsoul , 2015 +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-19 08:34+0000\n" +"Last-Translator: pieceofsoul \n" +"Language-Team: German (http://www.transifex.com/projects/p/seahub/language/de/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "Fehlgeschlagen. Bitte überprüfen Sie die Netzwerkverbindung." + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "Benutzer suchen oder e-Mail Adresse eingeben" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "Name wird benötigt" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "Bitte geben Sie ein Passwort ein" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "Bitte geben Sie das Passwort erneut ein" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "Passwort ist zu kurz" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "Passwörter stimmen nicht überein" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "Schließen (Esc)" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "Wird geladen …" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "Zurück (Linke Pfeiltaste)" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "Weiter (Rechte Pfeiltaste)" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "%curr% von %total%" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "In neuem Tab öffnen" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "Das Bild konnte nicht geladen werden." + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "Bitte überprüfen Sie die Netzwerkverbindung." + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "Passwort wird benötigt." + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "Erforderlich." + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "Gerade eben" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "Nur eine Erweiterung vorhanden, bitte einen Namen angeben." + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "Verarbeiten …" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "%(name)s erfolgreich gelöscht." + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "%(name)s und ein anderes Objekt wurden erfolgreich gelöscht." + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "%(name)s und %(amount)s andere Elemente wurden erfolgreich gelöscht." + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "Fehler beim Löschen von: %(name)s" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "Fehler beim Löschen von %(name)s und einem anderen Objekt." + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "Fehler beim Löschen von %(name)s und %(amount)s anderen Objekten." + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "Einträge löschen" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "Sind Sie sicher, dass Sie die ausgewählten Dateien löschen wollen?" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "Ungültiger Zielpfad" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "%(name)s wurde erfolgreich verschoben." + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "%(name)s und ein anderes Objekt wurden erfolgreich verschoben." + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "%(name)s und %(amount)s andere Objekte wurden erfolgreich verschoben." + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "%(name)s wurde erfolgreich kopiert." + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "%(name)s und ein anderes Objekt wurden erfolgreich kopiert." + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "%(name)s und %(amount)s andere Objekte wurden erfolgreich kopiert." + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "Interner Fehler. %(name)s und %(amount)s andere Objekte konnten nicht verschoben werden." + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "Interner Fehler. %(name)s konnte nicht verschoben werden." + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "Interner Fehler. %(name)s und %(amount)s andere Objekte konnten nicht kopiert werden." + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "Interner Fehler. %(name)s konnte nicht kopiert werden." + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "Verschiebe Datei %(index)s von %(total)s" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "Kopiere Datei %(index)s von %(total)s" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "Fehler beim verschieben von %(name)s." + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "Fehler beim kopieren von %(name)s." + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "Abgebrochen." + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "%(name)s erfolgreich gelöscht" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "Ordner umbenennen" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "Datei umbenennen" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "Nicht umbenannt. " + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "{placeholder} verschieben nach:" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "{placeholder} kopieren nach:" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "Verschiebe %(name)s" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "Kopiere %(name)s" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "Speichere ..." + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "Fehlgeschlagen." + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "Datei ist zu groß" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "Datei ist zu klein" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "Dateityp is nicht erlaubt" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "Maximale Anzahl von Dateien wurde überschritten" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "Hochgeladene Bytes überschreitet tatsächliche Dateigröße " + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "Leere Datei hochgeladen" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "Fehler" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "hochgeladen" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "abgebrochen" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "Start" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "Abbrechen" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "Löschen" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "Datei wird hochgeladen..." + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "Upload erfolgreich" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "Datei Upload abgebrochen" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "Datei Upload fehlgeschlagen" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "Die Upload URL konnte nicht abgerufen werden" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "Die Update URL konnte nicht aufgerufen werden" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "Datei {filename} austauschen?" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "Berechtigungen von {placeholder} festlegen" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "Gruppen auswählen" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "Freigabe von {placeholder} erfolgreich aufgehoben." + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "Berechtigungsfehler" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "Sie haben noch keine Bibliothek erstellt." + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "Bitte wählen Sie ein Verzeichnis aus" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "Sind Sie sicher, dass Sie {lib_name} löschen möchten?" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "Erfolgreich gelöscht." + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "Teile {placeholder}" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "Bitte Tage eingeben" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "Bitte geben Sie eine gültige Anzahl von Tagen ein" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "Bitte geben Sie mindestens eine E-Mail-Adresse an." + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "Erfolgreich an {placeholder} gesendet" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "Senden an {placeholder} fehlgeschlagen" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "Erfolgreich mit {placeholder} freigegeben" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "Freigabe an {placeholder} fehlgeschlagen" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "Bitte wählen Sie einen Kontakt oder eine Gruppe." + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "Erfolg" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "Freigabe von {placeholder} erfolgreich aufgehoben." diff --git a/locale/de_DE/LC_MESSAGES/djangojs.po b/locale/de_DE/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..2f89dacc1e --- /dev/null +++ b/locale/de_DE/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: German (Germany) (http://www.transifex.com/projects/p/seahub/language/de_DE/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: de_DE\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/el/LC_MESSAGES/djangojs.po b/locale/el/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..b4f2005bb0 --- /dev/null +++ b/locale/el/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Greek (http://www.transifex.com/projects/p/seahub/language/el/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: el\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/el_GR/LC_MESSAGES/djangojs.po b/locale/el_GR/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..69639942e7 --- /dev/null +++ b/locale/el_GR/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Greek (Greece) (http://www.transifex.com/projects/p/seahub/language/el_GR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: el_GR\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/en_US/LC_MESSAGES/djangojs.po b/locale/en_US/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..1f164b933e --- /dev/null +++ b/locale/en_US/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: English (United States) (http://www.transifex.com/projects/p/seahub/language/en_US/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: en_US\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/fr/LC_MESSAGES/django.po b/locale/fr/LC_MESSAGES/django.po index c0ae453cb6..93a73ab71e 100644 --- a/locale/fr/LC_MESSAGES/django.po +++ b/locale/fr/LC_MESSAGES/django.po @@ -20,8 +20,8 @@ msgstr "" "Project-Id-Version: seahub\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-06-18 10:25+0800\n" -"PO-Revision-Date: 2015-06-18 02:26+0000\n" -"Last-Translator: zheng xie \n" +"PO-Revision-Date: 2015-07-06 07:11+0000\n" +"Last-Translator: jcbeylot78\n" "Language-Team: French (http://www.transifex.com/projects/p/seahub/language/fr/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -31,7 +31,7 @@ msgstr "" #: seahub/forms.py:26 msgid "A user with this email already exists." -msgstr "Un utilisateur déjà avec cette adresse mail." +msgstr "Un utilisateur existe déjà avec cette adresse mail." #: seahub/forms.py:40 msgid "The two passwords didn't match." @@ -482,7 +482,7 @@ msgstr "Mot de passe modifié avec succès." #: seahub/auth/admin.py:124 #, python-format msgid "Change password: %s" -msgstr "Changer mot de passe : %s" +msgstr "Changer le mot de passe : %s" #: seahub/auth/decorators.py:73 msgid "Please log in." @@ -2053,13 +2053,13 @@ msgstr "Êtes vous sûr de vouloir supprimer %s ?" #: seahub/templates/repo_folder_perm.html:188 #: seahub/templates/repo_share_manage.html:147 msgid "Search users or enter emails" -msgstr "" +msgstr "Rechercher des utilisateurs ou saisir des adresses mails" #: seahub/group/templates/group/group_manage.html:220 #: seahub/templates/repo_transfer_owner.html:52 #: seahub/templates/sysadmin/repoadmin_js.html:18 msgid "Search user or enter email" -msgstr "" +msgstr "Rechercher un utilisateur ou saisir une adresse mail" #: seahub/group/templates/group/group_members.html:10 msgid "Quit" @@ -3515,7 +3515,7 @@ msgstr "Tous les groupes" msgid "" "We no longer support this version of IE. Please upgrade it to version 10 or " "above." -msgstr "" +msgstr "Cette version de IE n'est plus supportée. Passez à la version 10 ou supérieure" #: seahub/templates/base_for_backbone.html:29 #: seahub/templates/libraries.html:140 seahub/templates/myhome.html:154 @@ -5004,11 +5004,11 @@ msgstr "Droits :" #: seahub/templates/repo_share_manage.html:152 msgid "Select groups" -msgstr "" +msgstr "Sélectionner des groupes" #: seahub/templates/repo_share_manage.html:168 msgid "Please select a email or a group." -msgstr "" +msgstr "Sélectionnez une adresse mail ou un groupe." #: seahub/templates/repo_shared_link.html:45 #: seahub/templates/repo_shared_link.html:71 @@ -5276,29 +5276,29 @@ msgstr "ZIP" #: seahub/templates/view_shared_dir.html:105 msgid "Close (Esc)" -msgstr "" +msgstr "Fermer (Esc)" #: seahub/templates/view_shared_dir.html:109 msgid "Previous (Left arrow key)" -msgstr "" +msgstr "Précédent (flèche gauche)" #: seahub/templates/view_shared_dir.html:110 msgid "Next (Right arrow key)" -msgstr "" +msgstr "Suivant (flèche gauche)" #: seahub/templates/view_shared_dir.html:111 #, python-format msgid "%%curr%% of %%total%%" -msgstr "" +msgstr "%%curr%% sur %%total%%" #: seahub/templates/view_shared_dir.html:117 msgid "Open in New Tab" -msgstr "" +msgstr "Ouvrier dans un nouvel onglet" #: seahub/templates/view_shared_dir.html:120 #, python-format msgid "The image could not be loaded." -msgstr "" +msgstr " L'image n'a pu être chargée." #: seahub/templates/view_shared_upload_link.html:21 #, python-format @@ -6635,7 +6635,7 @@ msgstr "Les miniatures d'images ne sont pas supportées dans les bibliothèques #: seahub/thumbnail/views.py:56 msgid "Invalid arguments." -msgstr "" +msgstr "Arguments non valides" #: seahub/thumbnail/views.py:74 msgid "Please login first." diff --git a/locale/fr/LC_MESSAGES/djangojs.po b/locale/fr/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..b887689569 --- /dev/null +++ b/locale/fr/LC_MESSAGES/djangojs.po @@ -0,0 +1,433 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# jcbeylot78, 2015 +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-26 06:45+0000\n" +"Last-Translator: jcbeylot78\n" +"Language-Team: French (http://www.transifex.com/projects/p/seahub/language/fr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: fr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "Échec. Vérifiez le réseau" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "Rechercher des utilisateurs ou saisir des adresses mail" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "Le nom est obligatoire" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "Entrez un mot de passe" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "Entrez à nouveau un mot de passe" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "Le mot de passe est trop court" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "Les mots de passe ne correspondent pas" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "Fermer (Esc)" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "Chargement..." + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "Précédent (flèche gauche)" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "Suivant (flèche droite)" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "%curr% de %total%" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "Ouvrir dans un nouvel onglet" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "L'image ne peut être chargée." + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "Vérifier le réseau." + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "Le mot de passe est obligatoire" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "c'est obligatoire." + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "A l'instant" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "Une seule extension ici, saisissez un nom." + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "Traitement en cours..." + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr " %(name)s supprimé avec succès." + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr " Suppression avec succès de %(name)s et 1 autre élément." + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "Suppression avec succès de %(name)s et %(amount)s autres éléments." + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "Impossible de supprimer %(name)s." + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "Impossible de supprimer %(name)s et un autre élément." + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "Impossible de supprimer %(name)s et %(amount)s autres éléments." + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "Supprimer les éléments" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "Voulez vraiment supprimer les éléments sélectionnés ?" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "Chemin de destination invalide" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr " %(name)s déplacé avec succès." + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr " %(name)s et 1 autre élément déplacés avec succès" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "%(name)s et %(amount)s autres éléments déplacés avec succès." + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "%(name)s copié avec succès." + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "%(name)s et 1 autre élément copiés avec succès." + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "%(name)s et %(amount)s autres éléments copiés avec succès." + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "Erreur interne. Échec du déplacement de %(name)s et %(amount)s autres élément(s)." + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr " Erreur interne. Échec du déplacement de %(name)s " + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "Erreur interne. Échec de la copie de %(name)s et %(amount)s autres élément(s)." + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "Erreur interne. Échec de la copie de %(name)s" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "Déplacement du fichier %(index)s de %(total)s" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "Copie du fichier %(index)s de %(total)s" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "Échec du déplacement de %(name)s" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "Échec de la copie de %(name)s" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "Annulé." + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "%(name)s supprimé avec succès" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "Renommer le répertoire" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "Renommer le fichier" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "Vous ne l'avez pas renommé." + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "Déplacer {placeholder} vers :" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "Copier {placeholder} vers:" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "Déplacement de %(name)s" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "Copie de %(name)s" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "Enregistrement..." + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "Échec." + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "Le fichier est trop volumineux" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "Le fichier est trop petit" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "Type de fichier non permis" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "Le nombre maximal de fichiers est dépassé" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "Le nombre de bytes envoyés dépasse la taille du fichier" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "Le résultat de l'envoi est un fichier vide" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "Erreur" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "envoyé" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "annulé" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "Démarrer" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "Annuler" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "Supprimer" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "Envoi du fichier en cours..." + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "Envoi du fichier terminé" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "Envoi du fichier annulé" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "Échec de l'envoi du fichier" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "Échec de la récupération de l'url d'envoi" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "Échec de la mise à jour de l'url" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "Remplacer le fichier {filename}?" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "Attribuer des droits à {placeholder}'s" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "Sélectionner les groupes" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "Partage de {placeholder} supprimé avec succès" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "Erreur de droits" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "Vous n’avez pas actuellement de bibliothèque. " + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "Choisissez un répertoire" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "Confirmez la suppression de {lib_name}?" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "Supprimé avec succès." + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "Partage {placeholder}" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "Saisissez le nombre de jours." + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "saisissez un nombre de jours valide" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "Saisissez au moins une adresse mel " + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "Succès de l'envoi à {placeholder}" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "Échec de l'envoi à {placeholder}" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "Succès du partage avec {placeholder}" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "Échec du partage avec {placeholder}" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "Sélectionnez un contact ou un groupe" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "Succès" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "{placeholder} suppression des favoris" diff --git a/locale/he/LC_MESSAGES/djangojs.po b/locale/he/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..2f9d96135b --- /dev/null +++ b/locale/he/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Hebrew (http://www.transifex.com/projects/p/seahub/language/he/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: he\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/hr/LC_MESSAGES/djangojs.po b/locale/hr/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..5d624c7705 --- /dev/null +++ b/locale/hr/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Croatian (http://www.transifex.com/projects/p/seahub/language/hr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: hr\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/hr_HR/LC_MESSAGES/djangojs.po b/locale/hr_HR/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..bb6c0f5828 --- /dev/null +++ b/locale/hr_HR/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Croatian (Croatia) (http://www.transifex.com/projects/p/seahub/language/hr_HR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: hr_HR\n" +"Plural-Forms: nplurals=3; plural=n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/hu/LC_MESSAGES/djangojs.po b/locale/hu/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..d829b95637 --- /dev/null +++ b/locale/hu/LC_MESSAGES/djangojs.po @@ -0,0 +1,433 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Szabolcs Gyuris , 2015 +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 19:58+0000\n" +"Last-Translator: Szabolcs Gyuris \n" +"Language-Team: Hungarian (http://www.transifex.com/projects/p/seahub/language/hu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "Sikertelen. Ellenőrizze a hálózatot." + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "Felhasználók keresése vagy adjon meg e-mail címeket" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "Név szükséges" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "Kérem adja meg a jelszót" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "Kérem adja meg a jelszót újra" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "A jelszó túl rövid" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "Nem egyeznek a megadott jelszavak." + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "Bezár (Esc)" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "Betöltés..." + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "Előző (Balra nyíl)" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "Következő (Jobbra nyíl)" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "%curr% / %total%" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "Megnyitás új fülön" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "A képet nem lehet betölteni." + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "Ellenőrizze a hálózatot." + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "Jelszó szükséges." + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "Szükséges." + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "Éppen most" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "Csak a kiterjesztés van, kérem adja meg a nevet." + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "Feldolgozás..." + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "%(name)s törlése sikeres." + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "%(name)s és még 1 másik elem törölve." + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "%(name)s és még %(amount)s másik elem törölve." + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "Törlés meghiúsult: %(name)s." + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "%(name)s és még 1 elem törlése sikertelen." + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "%(name)s és még %(amount)s másik elem törlése sikertelen." + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "Elemek törlése" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "Biztos, hogy törli ezeket az elemeket?" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "Érvénytelen cél útvonal" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "%(name)s sikeresen átmozgatva." + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "%(name)s áthelyezése és még 1 másik elemé sikeres." + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "%(name)s áthelyezése és még %(amount)s másik elemé sikeres." + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "%(name)s másolása sikeres." + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "%(name)s másolása és még 1 másik elemé sikeres." + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "%(name)s másolása és még %(amount)s másik elemé sikeres." + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "Belső hiba. %(name)s mozgatása és még %(amount)s másik elemé sikertelen." + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "Belső hiba. %(name)s mozgatása sikertelen." + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "Belső hiba. %(name)s másolása és még %(amount)s másik elemé sikertelen." + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "Belső hiba. %(name)s másolása sikertelen." + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "Fájlok mozgatása: %(index)s / %(total)s" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "Fájlok másolása: %(index)s / %(total)s" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "%(name)s mozgatása sikertelen" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "%(name)s másolása sikertelen" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "Megszakítva." + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "%(name)s törlése sikeres" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "Könyvtár átnevezése" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "Fájl átnevezése" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "Nem nevezte át." + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "{placeholder} mozgatása ide:" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "{placeholder} másolása ide:" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "%(name)s mozgatása" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "%(name)s másolása" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "Mentés..." + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "Sikertelen." + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "Túl nagy fájl" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "Túl kicsi fájl" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "Nem engedélyezett fájltípus" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "A maximális fájl szám túllépve" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "A feltöltött bájtok meghaladják a fájl méretét" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "Üres fájl feltöltés" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "Hiba" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "feltöltve" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "megszakítva" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "Indít" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "Mégsem" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "Törlés" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "Fájl feltöltés ..." + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "Fájl feltöltés kész" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "Fájl feltöltés megszakítva" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "Fájl feltöltés sikertelen" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "A feltöltési linket nem lehet elérni" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "A frissítési linket nem lehet elérni" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "Felülírja: {filename}?" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "{placeholder} jogosultság beállítása" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "Csoportok kiválasztása" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "{placeholder} megosztása sikeresen megszüntetve" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "Jogosultság hiba" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "Jelenleg nincs egyetlen kötete sem." + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "Kérem válasszon könyvtárat" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "Biztosan törli: {lib_name}?" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "Sikeres törlés" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "{placeholder} megosztása" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "Adja meg a napok számát." + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "Kérem érvényes nap számot adjon meg" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "Adjon meg legalább egy e-mail címet" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "Sikeresen elküldve ide: {placeholder}" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "Sikertelen küldés ide: {placeholder}" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "Sikeresen megosztva: {placeholder}" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "{placeholder} megosztása sikertelen" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "Válasszon kapcsolatot vagy csoportot." + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "Sikeres" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "{placeholder} sikeresen törölve a kedvencekből" diff --git a/locale/is/LC_MESSAGES/django.po b/locale/is/LC_MESSAGES/django.po index 3f3f1cbfb0..21895c98fb 100644 --- a/locale/is/LC_MESSAGES/django.po +++ b/locale/is/LC_MESSAGES/django.po @@ -11,8 +11,8 @@ msgstr "" "Project-Id-Version: seahub\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-06-18 10:25+0800\n" -"PO-Revision-Date: 2015-06-18 02:26+0000\n" -"Last-Translator: zheng xie \n" +"PO-Revision-Date: 2015-07-03 11:49+0000\n" +"Last-Translator: Hjörleifur Sveinbjörnsson \n" "Language-Team: Icelandic (http://www.transifex.com/projects/p/seahub/language/is/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -179,7 +179,7 @@ msgstr "Italiano" #: seahub/settings.py:152 msgid "日本語" -msgstr "" +msgstr "日本語" #: seahub/settings.py:153 msgid "한국어" @@ -2044,13 +2044,13 @@ msgstr "Viltu virkilega eyða %s ?" #: seahub/templates/repo_folder_perm.html:188 #: seahub/templates/repo_share_manage.html:147 msgid "Search users or enter emails" -msgstr "" +msgstr "Finndu notendur eða sláðu inn netföng" #: seahub/group/templates/group/group_manage.html:220 #: seahub/templates/repo_transfer_owner.html:52 #: seahub/templates/sysadmin/repoadmin_js.html:18 msgid "Search user or enter email" -msgstr "" +msgstr "Finndu notanda eða sláðu inn netfang" #: seahub/group/templates/group/group_members.html:10 msgid "Quit" @@ -2355,7 +2355,7 @@ msgid "" "After a file library is deleted on the website, the library downloaded to " "your computer won't be deleted. But it won't be synced with the website any " "more." -msgstr "Eftir að safni hefur verið eytt á vefsíðunni, þá verður safni sem hefur verið hlaðið niður á tölvuna þína ekki eytt. En það verður ekki lengur samstillt lengur við gögnin á vefsíðunni." +msgstr "Eftir að safni hefur verið eytt á vefsíðunni, þá verður safni sem hefur verið hlaðið niður á tölvuna þína ekki eytt. En það verður ekki samstillt lengur við gögnin á vefsíðunni." #: seahub/help/templates/help/help_delete.html:12 msgid "" @@ -2614,14 +2614,14 @@ msgstr "kerfisvilla" msgid "" "A file named %(file_name)s is uploaded to %(name)s" -msgstr "" +msgstr "Skrá með nafninu %(file_name)s er hlaðið upp á þjóninn %(name)s" #: seahub/notifications/models.py:513 #, python-format msgid "" "A file named %(file_name)s is uploaded to Deleted " "Library" -msgstr "" +msgstr "Skrá með nafninu %(file_name)s er hlaðið upp í safni sem hefur verið eytt" #: seahub/notifications/models.py:539 #, python-format @@ -3069,7 +3069,7 @@ msgstr "Safn er ekki til" #: seahub/share/views.py:293 seahub/share/views.py:308 #: seahub/share/views.py:356 msgid "Invalid argument" -msgstr "" +msgstr "Ógilt gildi" #: seahub/share/views.py:327 seahub/share/views.py:343 #: seahub/share/views.py:353 seahub/share/views.py:1270 @@ -3156,7 +3156,7 @@ msgstr "Skáarsafni hefur verið deilt með þér á %s" #: seahub/share/views.py:1042 seahub/share/views.py:1339 msgid "Internal server error, or please check the email(s) you entered" -msgstr "" +msgstr "Kerfisvilla, en vinsamlegast athugaðu netfangið/netföngin sem þú slóst inn" #: seahub/share/views.py:1062 msgid "Please choose a directory." @@ -3212,11 +3212,11 @@ msgstr "Safn er ekki til" #: seahub/share/views.py:1495 msgid "Directory does not exist." -msgstr "" +msgstr "Skráasafn er ekki til." #: seahub/share/views.py:1587 seahub/share/views.py:1622 msgid "Please check the email(s) you entered" -msgstr "" +msgstr "Vinsamlegast athugaðu netfangið/netföngin sem þú slóst inn" #: seahub/share/templates/share/links.html:5 msgid "Links - Share" @@ -3506,7 +3506,7 @@ msgstr "Allir Hópar" msgid "" "We no longer support this version of IE. Please upgrade it to version 10 or " "above." -msgstr "" +msgstr "Við styðjum ekki lengur þessa útgáfu af IE. Vinsamlegast uppfærðu vafrann í útgáfu 10 eða hærra." #: seahub/templates/base_for_backbone.html:29 #: seahub/templates/libraries.html:140 seahub/templates/myhome.html:154 @@ -3639,7 +3639,7 @@ msgstr "Tókst að aftengja." #: seahub/templates/snippets/repo_dirents.html:81 #: seahub/templates/sysadmin/userinfo.html:147 msgid "Download" -msgstr "Niðurhlaða" +msgstr "Niðurhala" #: seahub/templates/file_edit.html:84 #: seahub/templates/repo_history_view.html:38 @@ -4202,19 +4202,19 @@ msgstr "Veldu skráasafn:" #: seahub/templates/libraries.html:174 msgid "No library is shared to this group" -msgstr "" +msgstr "það er engu safni deilt með þessum hópi" #: seahub/templates/libraries.html:187 msgid "Add Library" -msgstr "" +msgstr "Bæta við Safni" #: seahub/templates/libraries.html:189 msgid "Share existing libraries" -msgstr "" +msgstr "Deila tilbúnum söfnum" #: seahub/templates/libraries.html:190 msgid "Create a new library" -msgstr "" +msgstr "Búa til nýtt safn" #: seahub/templates/libraries.html:199 seahub/templates/pubrepo.html:45 msgid "No public library" @@ -4981,25 +4981,25 @@ msgstr "Deila Safni" #: seahub/templates/js/templates.html:431 #: seahub/templates/js/templates.html:452 msgid "People:" -msgstr "" +msgstr "Fólk:" #: seahub/templates/repo_share_manage.html:119 #: seahub/templates/js/templates.html:434 msgid "Groups:" -msgstr "" +msgstr "Hópar:" #: seahub/templates/repo_share_manage.html:122 #: seahub/templates/js/templates.html:437 msgid "Permission:" -msgstr "" +msgstr "Réttindi:" #: seahub/templates/repo_share_manage.html:152 msgid "Select groups" -msgstr "" +msgstr "Veldu hópa" #: seahub/templates/repo_share_manage.html:168 msgid "Please select a email or a group." -msgstr "" +msgstr "Vinsamlegast veldu netfang eða hóp." #: seahub/templates/repo_shared_link.html:45 #: seahub/templates/repo_shared_link.html:71 @@ -5017,7 +5017,7 @@ msgstr "Gefa öðrum notanda þetta safn" #: seahub/templates/repo_transfer_success.html:15 #, python-brace-format msgid "Library {placeholder} has been transfered." -msgstr "" +msgstr "Safninu {placeholder} hefur verið flutt." #: seahub/templates/repo_view_snapshot.html:13 #: seahub/templates/view_snapshot_file.html:7 @@ -5267,29 +5267,29 @@ msgstr "ZIP" #: seahub/templates/view_shared_dir.html:105 msgid "Close (Esc)" -msgstr "" +msgstr "Loka (Esc)" #: seahub/templates/view_shared_dir.html:109 msgid "Previous (Left arrow key)" -msgstr "" +msgstr "Fyrri (Vinstri örvatakki)" #: seahub/templates/view_shared_dir.html:110 msgid "Next (Right arrow key)" -msgstr "" +msgstr "Næsta (Hægri örvatakki)" #: seahub/templates/view_shared_dir.html:111 #, python-format msgid "%%curr%% of %%total%%" -msgstr "" +msgstr "%%curr%% af %%total%%" #: seahub/templates/view_shared_dir.html:117 msgid "Open in New Tab" -msgstr "" +msgstr "Opna í Nýjum Flipa" #: seahub/templates/view_shared_dir.html:120 #, python-format msgid "The image could not be loaded." -msgstr "" +msgstr "Myndin gat ekki hlaðist inn." #: seahub/templates/view_shared_upload_link.html:21 #, python-format @@ -5329,27 +5329,27 @@ msgstr "Aftur í Safn" #: seahub/templates/js/lib-op-popups.html:103 msgid "This library is password protected" -msgstr "" +msgstr "Þetta safn er varið með lykilorði" #: seahub/templates/js/lib-op-popups.html:107 msgid "*The password will be kept in the server for only 1 hour." -msgstr "" +msgstr "*Lykilorðið verður geymt á þjóninum í aðeins eina klukkustund." #: seahub/templates/js/lib-op-popups.html:114 msgid "A file with the same name already exists in this folder." -msgstr "" +msgstr "Ská með sama nafni er þegar til í þessu skráasafni." #: seahub/templates/js/lib-op-popups.html:114 msgid "Replacing it will overwrite its content." -msgstr "" +msgstr "Útskipting mun yfirskrifa efni þess." #: seahub/templates/js/lib-op-popups.html:115 msgid "Replace" -msgstr "" +msgstr "Skipta út" #: seahub/templates/js/lib-op-popups.html:116 msgid "Don't replace" -msgstr "" +msgstr "Ekki skipta út" #: seahub/templates/js/templates.html:8 #: seahub/templates/snippets/repo_create_form.html:9 @@ -5384,7 +5384,7 @@ msgstr "Lykilorð aftur" #: seahub/templates/js/templates.html:71 #: seahub/templates/js/templates.html:757 msgid "Encrypted" -msgstr "" +msgstr "Dulkóðað" #: seahub/templates/js/templates.html:117 #: seahub/templates/snippets/repo_dir_data.html:16 @@ -5396,7 +5396,7 @@ msgstr "Hlaða upp" #: seahub/templates/js/templates.html:132 msgid "New Folder" -msgstr "" +msgstr "Nýtt Skráasafn" #: seahub/templates/js/templates.html:216 #: seahub/templates/snippets/repo_dirents.html:34 @@ -5410,7 +5410,7 @@ msgstr "Fleiri aðgerðir" #: seahub/templates/js/templates.html:298 msgid "Fetch failed" -msgstr "" +msgstr "Mistókst að sækja" #: seahub/templates/js/templates.html:322 #: seahub/templates/snippets/file_share_popup.html:6 @@ -5449,7 +5449,7 @@ msgstr "Tengill:" #: seahub/templates/js/templates.html:368 msgid "Direct Download Link: " -msgstr "" +msgstr "Niðurhalshlekkur:" #: seahub/templates/js/templates.html:372 #: seahub/templates/js/templates.html:408 @@ -5500,11 +5500,11 @@ msgstr "Upphleðslutengill:" #: seahub/templates/js/templates.html:648 msgid "Group Permission" -msgstr "" +msgstr "Réttindi Hóps" #: seahub/templates/js/templates.html:735 msgid "Select libraries to share" -msgstr "" +msgstr "Veldu safn til að deila" #: seahub/templates/registration/activation_email.html:12 #, python-format @@ -5512,14 +5512,14 @@ msgid "" "You (or someone pretending to be you) have asked to register an account at " "%(site_name)s. If this wasn't you, please ignore this email and your address" " will be removed from our records." -msgstr "" +msgstr "Þú (eða einhver að þykjast vera þú) hefur sótt um að skrá reikning á %(site_name)s. Ef það var ekki þú, vinsamlegast hundsaðu þennan tölvupóst og netfangi þínu verður eytt úr skránum okkar." #: seahub/templates/registration/activation_email.html:14 #, python-format msgid "" "To activate this account, please click the following link within the next " "%(expiration_days)s days: " -msgstr "" +msgstr "Til að virkja reikninginn, vinsamlegast smelltu á eftirfarandi hlekk innan næstu %(expiration_days)s daga:" #: seahub/templates/registration/login.html:4 #: seahub/templates/registration/login.html:32 @@ -5983,13 +5983,13 @@ msgstr "Vinsamlegast settu inn að minnsta kosti eitt netfang" #: seahub/templates/snippets/shared_link_js.html:378 #, python-brace-format msgid "Successfully sent to {placeholder}" -msgstr "" +msgstr "Giftursamlega sent til {placeholder}" #: seahub/templates/snippets/shared_link_js.html:205 #: seahub/templates/snippets/shared_link_js.html:382 #, python-brace-format msgid "Failed to send to {placeholder}" -msgstr "" +msgstr "Mistókst að senda til {placeholder}" #: seahub/templates/snippets/shared_link_js.html:273 msgid "Please enter days" @@ -6053,29 +6053,29 @@ msgstr "Eigandi" #: seahub/templates/sysadmin/sudo_mode.html:8 msgid "Confirm password to continue" -msgstr "" +msgstr "Staðfestu lykilorð til að halda áfram" #: seahub/templates/sysadmin/sudo_mode.html:13 msgid "Incorrect password" -msgstr "" +msgstr "Rangt lykilorð" #: seahub/templates/sysadmin/sudo_mode.html:24 msgid "Tip:" -msgstr "" +msgstr "Hint:" #: seahub/templates/sysadmin/sudo_mode.html:24 msgid "" "You are entering admin area, we won't ask for your password again for a few " "hours." -msgstr "" +msgstr "Þú ert að fara á kerfisstjórasvæði, við munum ekki spyrja þig um lykilorð aftur næstu klukkutímana." #: seahub/templates/sysadmin/sys_admin_group_info.html:12 msgid "back to group list" -msgstr "" +msgstr "aftur í hópalista" #: seahub/templates/sysadmin/sys_admin_group_info.html:14 msgid "Group Info" -msgstr "" +msgstr "Hópaupplýsingar" #: seahub/templates/sysadmin/sys_admin_group_info.html:20 #: seahub/templates/sysadmin/sys_group_admin.html:13 @@ -6086,11 +6086,11 @@ msgstr "Stofnandi" #: seahub/templates/sysadmin/sys_admin_group_info.html:60 msgid "No library has shared to this group" -msgstr "" +msgstr "Engu safni hefur verið deilt með þessum hópi" #: seahub/templates/sysadmin/sys_admin_group_info.html:71 msgid "admin" -msgstr "" +msgstr "kerfisstjóri" #: seahub/templates/sysadmin/sys_group_admin.html:14 #: seahub/templates/sysadmin/sys_org_info_group.html:20 @@ -6105,23 +6105,23 @@ msgstr "Eyða Hópi" #: seahub/templates/sysadmin/sys_info.html:10 msgid "System Info" -msgstr "" +msgstr "Kerfisupplýsingar" #: seahub/templates/sysadmin/sys_info.html:12 msgid "Professional Edition" -msgstr "" +msgstr "Sérútgáfa" #: seahub/templates/sysadmin/sys_info.html:12 msgid "expires on" -msgstr "" +msgstr "rennur út þann" #: seahub/templates/sysadmin/sys_info.html:14 msgid "Community Edition" -msgstr "" +msgstr "Samfélagútgáfan" #: seahub/templates/sysadmin/sys_info.html:15 msgid "Upgrade to Pro Edition" -msgstr "" +msgstr "Uppfæra í Sérútgáfu" #: seahub/templates/sysadmin/sys_list_system.html:7 #: seahub/templates/sysadmin/sys_repo_admin.html:12 @@ -6376,7 +6376,7 @@ msgstr "Tæma Ruslið" #: seahub/templates/sysadmin/sys_repo_trash.html:28 msgid "Deleted Time" -msgstr "" +msgstr "Eyðslutími" #: seahub/templates/sysadmin/sys_repo_trash.html:49 msgid "No library deleted yet" @@ -6626,15 +6626,15 @@ msgstr "Smámyndir eru ekki studdar í dulkóðuðum söfnum." #: seahub/thumbnail/views.py:56 msgid "Invalid arguments." -msgstr "" +msgstr "Ógild gildi." #: seahub/thumbnail/views.py:74 msgid "Please login first." -msgstr "" +msgstr "Vinsamlegast skráðu þig inn fyrst." #: seahub/thumbnail/views.py:87 msgid "Wrong path." -msgstr "" +msgstr "Röng slóð." #: seahub/thumbnail/views.py:100 msgid "Image file is too large." @@ -6642,7 +6642,7 @@ msgstr "Myndin er of stór." #: seahub/thumbnail/views.py:120 msgid "Failed to create thumbnail." -msgstr "" +msgstr "Mistókst að búa til smámynd." #: seahub/utils/__init__.py:134 msgid "permission error" @@ -6735,7 +6735,7 @@ msgstr "Get ekki nálgast skrá" #: seahub/views/__init__.py:1428 msgid "No revisions found" -msgstr "" +msgstr "Engar útgáfur fundust" #: seahub/views/__init__.py:1479 seahub/views/__init__.py:1530 msgid "Failed to restore, please try again later." @@ -6759,7 +6759,7 @@ msgstr "Tókst að kalla fram aftur %(path)s í rót skráar #: seahub/views/__init__.py:1815 seahub/views/repo.py:447 #, python-format msgid "\"%s\" does not exist." -msgstr "" +msgstr "\"%s\" er ekki til." #: seahub/views/__init__.py:1834 seahub/views/file.py:961 #: seahub/views/repo.py:383 @@ -6817,12 +6817,12 @@ msgstr "Viðtökuslóð er of löng." #: seahub/views/ajax.py:841 seahub/views/ajax.py:912 #, python-format msgid "Successfully moved %(name)s" -msgstr "" +msgstr "Tókst að færa %(name)s" #: seahub/views/ajax.py:869 seahub/views/ajax.py:949 #, python-format msgid "Successfully copied %(name)s" -msgstr "" +msgstr "Tókst að afrita %(name)s" #: seahub/views/ajax.py:886 seahub/views/ajax.py:1039 #, python-format @@ -6850,11 +6850,11 @@ msgstr "Þú hefur ekki leyfi til að búa til safn" #: seahub/views/ajax.py:1292 msgid "Repo not found." -msgstr "" +msgstr "Geymsla fannst ekki." #: seahub/views/ajax.py:1324 seahub/views/ajax.py:1348 msgid "Failed to create sub library, please try again later." -msgstr "" +msgstr "Mistókst að búa til undirsafn, vinsamlegast reyndu aftur síðar." #: seahub/views/ajax.py:1368 msgid "Failed to get file block list" @@ -6923,7 +6923,7 @@ msgstr "Tókst að endursetja lykilorðið fyrir Safnið %(repo_name)s." #: seahub/views/ajax.py:2330 seahub/views/ajax.py:2472 msgid "Invalid folder permission, should be \"rw\" or \"r\"" -msgstr "" +msgstr "Röng heimild á skráasafni, ætti að vera \"rw\" eða \"r\"" #: seahub/views/ajax.py:2334 seahub/views/ajax.py:2476 msgid "Path should start with \"/\"" @@ -6931,7 +6931,7 @@ msgstr "Slóð ætti að byrja á \"/\"" #: seahub/views/ajax.py:2338 seahub/views/ajax.py:2480 msgid "Path should not end with \"/\"" -msgstr "" +msgstr "Slóð ætti ekki að enda á \"/\"" #: seahub/views/ajax.py:2342 seahub/views/ajax.py:2484 msgid "Invalid path" @@ -6939,7 +6939,7 @@ msgstr "Röng slóð" #: seahub/views/ajax.py:2350 msgid "Invalid user, should be registered" -msgstr "" +msgstr "Rangur notandi, ætti að vera skráður" #: seahub/views/ajax.py:2362 seahub/views/ajax.py:2375 #: seahub/views/ajax.py:2505 seahub/views/ajax.py:2518 @@ -6948,15 +6948,15 @@ msgstr "Aðgerð mistókst" #: seahub/views/ajax.py:2365 seahub/views/ajax.py:2508 msgid "Wrong folder permission" -msgstr "" +msgstr "Röng heimild á skráasafni" #: seahub/views/ajax.py:2378 seahub/views/ajax.py:2521 msgid "Please add folder permission first" -msgstr "" +msgstr "Vinsamlegast bætti við heimild á skráasafni fyrst" #: seahub/views/ajax.py:2425 msgid "Please check the email(s) you entered and the contacts you selected" -msgstr "" +msgstr "Vinsamlegast athugaðu netfang/netföng sem þú slóst inn og tengiliðini sem þú valdir" #: seahub/views/ajax.py:2493 msgid "Invalid group" @@ -6969,7 +6969,7 @@ msgstr "Mistókst" #: seahub/views/ajax.py:2578 seahub/views/ajax.py:2610 msgid "Group does not exist." -msgstr "" +msgstr "Hópur er ekki til" #: seahub/views/file.py:124 msgid "HTTPError: failed to open file online" @@ -7004,15 +7004,15 @@ msgstr "Óleyfileg skráargerð." #: seahub/views/file.py:640 msgid "Unable to download file, invalid file path" -msgstr "" +msgstr "Gat ekki niðurhalað skrá, röng skráarslóð" #: seahub/views/file.py:649 msgid "Unable to download file, wrong file path" -msgstr "" +msgstr "Gat ekki niðurhalað skrá, röng skráarslóð" #: seahub/views/file.py:654 msgid "Unable to download file, share link traffic is used up." -msgstr "" +msgstr "Gat ekki niðurhalað skrá, deilihlekksumferð er uppurin." #: seahub/views/file.py:972 msgid "The library does not exist." @@ -7158,7 +7158,7 @@ msgstr "Þér hefur verið boðið í %s" #: seahub/views/sysadmin.py:954 #, python-format msgid "Fail to add user %s." -msgstr "" +msgstr "Mistókst að bæta við notanda %s." #: seahub/views/sysadmin.py:967 seahub/views/sysadmin.py:980 #, python-format diff --git a/locale/is/LC_MESSAGES/djangojs.po b/locale/is/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..506dd0e2ff --- /dev/null +++ b/locale/is/LC_MESSAGES/djangojs.po @@ -0,0 +1,433 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Hjörleifur Sveinbjörnsson , 2015 +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-30 16:21+0000\n" +"Last-Translator: Hjörleifur Sveinbjörnsson \n" +"Language-Team: Icelandic (http://www.transifex.com/projects/p/seahub/language/is/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: is\n" +"Plural-Forms: nplurals=2; plural=(n % 10 == 1 || n % 100 != 11);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "Mistókst. Vinsamlegast veldu netkerfi." + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "Leiða að notendum eða sláðu inn netföng" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "Nafn er skilyrði" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "Vinsamlegast sláðu inn lykilorð" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "Vinsamlegast sláðu inn lykilorðið aftur" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "Lykilorðið er of stutt" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "Lykilorðin stemma ekki" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "Loka (Esc)" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "Hleð..." + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "Fyrri (vinstri örvalykill)" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "Næsta (hægri örvalykill)" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "%curr% af %total%" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "Opna í nýjum flipa" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "Myndina var ekki hægt að hlaða inn." + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "Vinsamlegast athugaðu netkerfið." + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "Lykilorðs er krafist." + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "Þess er krafist." + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "Rétt í þessu" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "Hér er aðeins nafnaukinn, vinsamlegast sláðu inn nafn." + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "Vinnsla..." + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "Tókst að eyða %(name)s." + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "Tókst að eyða %(name)s og 1 öðru atriði." + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "Tókst að eyða %(name)s og %(amount)s öðrum atriðum." + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "Mistókst að eyða %(name)s." + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "Mistókst að eyða %(name)s og einu öðru atriði." + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "Mistókst að eyða %(name)s og %(amount)s öðrum atriðum." + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "Eyddum atriðum" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "Ertu viss um að þú viljir eyða þessum völdu atriðum?" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "Röng lokaslóð" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "Tókst að flytja %(name)s." + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "Tókst að færa %(name)s og 1 öðru atriði." + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "Tókst að færa %(name)s og %(amount)s öðrum atriðum" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "Tókst að afrita %(name)s." + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "Tókst að afrita %(name)s og 1 öðru atriði." + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "Tókst að afrita %(name)s og %(amount)s öðrum atriðum." + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "Kerfisvilla. Mistókst að færa %(name)s og %(amount)s öðru(m) atriði/atriðum." + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "Kerfisvilla. Mistókst að færa %(name)s." + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "kerfisvilla. Mistókst að afrita %(name)s og %(amount)s öðru(m) atriði/atriðum." + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "Kerfisvilla. Mistókst að afrita %(name)s." + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "Færi skrá %(index)s af %(total)s" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "Afrita skrá %(index)s af %(total)s" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "Mistókst að færa %(name)s" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "Mistókst að afrita %(name)s" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "Hætt við" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "Giftursamlega eyddi %(name)s" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "Endurnefna Skráasafn" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "Endurnefna Skrá" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "Þú hefur ekki endurnefnt það." + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "Fæara {placeholder} til:" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "Afrita {placeholder} til:" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "Færi %(name)s" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "Afrita %(name)s" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "Vista..." + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "Mistókst." + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "Skrá er of stór" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "Skrá er of smá" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "Skráargerð er ekki leyfð" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "Hámarksfjölda skráa náð" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "Upphlöðnum bætum skráarstærðar náð" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "Upphleðslustaða tómra skráa" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "Villa" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "hlaðið upp" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "hætt við" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "Byrja" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "Hætta við" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "Eyða" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "Skrá hleðst upp..." + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "Upphleðslu skráar lokið" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "Hætt við upphleðslu skráar" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "Upphleðsla skráar mistókst" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "Mistókst að sækja upphleðsluslóð" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "Mistókst að sækja uppfærsluslóð" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "Skipta út skránni {filename}?" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "Setja réttindi {placeholder}" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "Veldu hópa" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "Tókst að taka deilingu af {placeholder}" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "Réttindavilla" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "Þú átt nú engin söfn." + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "Vinsamlegast veldu skráasafn" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "Viltu virkilega eyða {lib_name}?" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "Eyðing tókst." + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "Deila {placeholder}" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "Vinsamlegast sláðu inn daga." + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "Vinsamlegast sláðu inn löglega daga" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "Vindamlegast settu inn amk eitt netfang." + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "Tókst að senda til {placeholder}" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "Mistókst að senda til {placeholder}" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "Tókst að deila með {placeholder}" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "Mistókst að deila með {placeholder}" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "Vinsamlegast veldu tengilið eða hóp" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "Tókst" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "Tókst að taka stjörnu af {placeholder}" diff --git a/locale/it/LC_MESSAGES/djangojs.po b/locale/it/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..f3dce079f2 --- /dev/null +++ b/locale/it/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Italian (http://www.transifex.com/projects/p/seahub/language/it/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: it\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/ja/LC_MESSAGES/djangojs.po b/locale/ja/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..7dcbc0c666 --- /dev/null +++ b/locale/ja/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Japanese (http://www.transifex.com/projects/p/seahub/language/ja/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/ko/LC_MESSAGES/djangojs.po b/locale/ko/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..f45e86d66e --- /dev/null +++ b/locale/ko/LC_MESSAGES/djangojs.po @@ -0,0 +1,433 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Seong-ho Cho , 2015 +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 08:23+0000\n" +"Last-Translator: Seong-ho Cho \n" +"Language-Team: Korean (http://www.transifex.com/projects/p/seahub/language/ko/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ko\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "실패했습니다. 네트워크를 확인하세요." + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "사용자 검색 또는 전자메일 주소 입력" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "이름이 필요합니다" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "암호를 입력하세요" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "암호를 다시 입력하세요" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "암호가 너무 짧습니다" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "암호가 일치하지 않습니다" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "닫기(Esc)" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "불러오는 중..." + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "이전(왼쪽 화살표 키)" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "다음(오른쪽 화살표 키)" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "%total% 중 %curr%" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "새 탭 열기" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "이미지를 불러올 수 없습니다." + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "네트워크를 확인하세요." + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "암호가 필요합니다." + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "필요합니다." + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "지금" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "확장자만 있습니다. 이름을 입력하세요." + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "처리 중..." + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "%(name)s을(를) 성공적으로 삭제했습니다." + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "%(name)s 및 항목 1개를 성공적으로 삭제했습니다." + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "%(name)s 및 항목 %(amount)s개를 성공적으로 삭제했습니다." + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "%(name)s 삭제에 실패했습니다." + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "%(name)s 및 항목 1개 삭제에 실패했습니다." + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "%(name)s 및 항목 %(amount)s개 삭제에 실패했습니다." + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "항목 삭제" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "정말로 선택한 항목을 삭제할까요?" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "잘못된 대상 경로" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "%(name)s을(를) 성공적으로 이동했습니다." + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "%(name)s 및 항목 1개를 성공적으로 이동했습니다." + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "%(name)s 및 항목 %(amount)s개를 성공적으로 이동했습니다." + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "%(name)s을(를) 성공적으로 복사했습니다." + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "%(name)s 및 항목 1개를 성공적으로 복사했습니다." + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "%(name)s 및 항목 %(amount)s개를 성공적으로 복사했습니다." + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "내부 오류입니다. %(name)s 및 항목 %(amount)s개 이동에 실패했습니다." + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "내부 오류입니다. %(name)s 이동에 실패했습니다." + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "내부 오류입니다. %(name)s 및 항목 %(amount)s개 복사에 실패했습니다." + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "내부 오류입니다. %(name)s 복사에 실패했습니다." + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "파일 %(total)s개 중 %(index)s개 이동 중" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "파일 %(total)s개 중 %(index)s개 복사 중" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "%(name)s 이동에 실패했습니다." + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "%(name)s 복사에 실패했습니다." + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "취소했습니다." + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "%(name)s을(를) 성공적으로 삭제했습니다" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "디렉터리 이름 바꾸기" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "파일 이름 바꾸기" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "이름을 바꾸지 않았습니다." + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "다음으로 {placeholder} 이동:" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "다음으로 {placeholder} 복사:" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "{placeholder} 이동 중" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "{placeholder} 복사 중" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "저장 중..." + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "실패했습니다." + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "파일이 너무 큽니다" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "파일이 너무 작습니다" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "파일 형식을 허용하지 않습니다" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "최대 파일 갯수를 넘어섰습니다" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "업로드한 파일 크기 제한을 넘어섰습니다" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "업로드 결과가 빈 파일입니다" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "오류" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "업로드함" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "취소함" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "시작" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "취소" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "삭제" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "파일 업로드 중..." + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "파일 업로드가 끝났습니다" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "파일 업로드를 취소했습니다" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "파일 업로드에 실패했습니다" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "업로드 URL 가져오기에 실패했습니다" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "업로드 URL 가져오기에 실패했습니다" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "{filename} 파일을 바꿀까요?" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "{placeholder} 권한 설정" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "그룹 선택" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "{placeholder}을(를) 성공적으로 공유 해제했습니다" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "권한 오류" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "현재 어떤 라이브러리도 없습니다." + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "디렉터리를 선택하세요" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "{lib_name} 라이브러리를 정말 삭제할까요?" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "상공적으로 삭제했습니다." + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "{placeholder} 공유" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "일자를 입력하세요." + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "유효 기간을 입력하세요" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "최소한 하나의 전자메일 주소를 입력하세요." + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "{placeholder}에게 성공적으로 보냈습니다" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "{placeholder}에게 보내기에 실패했습니다" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "{placeholder}을(를) 성공적으로 공유했습니다" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "{placeholder}에게 공유하기를 실패했습니다" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "연락처 또는 그룹을 선택하세요." + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "성공" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "{placeholder}을(를) 성공적으로 별표 해제했습니다." diff --git a/locale/lv/LC_MESSAGES/djangojs.po b/locale/lv/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..f5408c3626 --- /dev/null +++ b/locale/lv/LC_MESSAGES/djangojs.po @@ -0,0 +1,433 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Qubit Bit, 2015 +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Latvian (http://www.transifex.com/projects/p/seahub/language/lv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: lv\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "Neizdevās. Lūdzu pārbaudiet tīkla pieslēgumu." + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "Nepieciešams nosaukums" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "Lūdzu, ievadiet paroli." + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "Lūdzu ievadīt paroli vēlreiz" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "Parole par īsu" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "Paroles nesakrīt" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "Aizvērt (Esc)" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "Ielāde... " + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "%curr% no %total%" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "Lūdzu pārbaudiet tīkla pieslēgumu" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "Parole ir nepieciešama." + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "Nepieciešams." + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "Tikko" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "Apstrādē..." + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "Veiksmīgi dzēsts %(name)s." + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr " Veiksmīgi dzēsts %(name)s un 1 cits ieraksts." + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr " Veiksmīgi dzēsts %(name)s un %(amount)s citi ieraksti." + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "Kļūda dzēšot %(name)s." + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "Kļūda dzēšot %(name)s un 1 citu ierakstu." + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "Kļūda dzēšot %(name)s un %(amount)s citus ierakstus." + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "Dzēst ierakstus" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "Vai tiešām vēlaties dzēst atlasītos ierakstus?" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "Nederīgs mērķa ceļš" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr " Veiksmīgi pārsūtīts %(name)s." + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "Veiksmīgi pārsūtīts %(name)s un 1 cits ieraksts" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "Veiksmīgi pārsūtīts %(name)s un %(amount)s citi ieraksti." + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "Veiksmīgi kopēts %(name)s." + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "Veiksmīgi kopēts %(name)s un 1 cits ieraksts." + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "Veiksmīgi kopēts %(name)s un %(amount)s citi ieraksti." + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "Iekšējā kļūda. Kļūda pārvietojot %(name)s un %(amount)s citus ierakstus." + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "Iekšējā kļūda. Kļūda pārvietojot %(name)s." + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "Iekšējā kļūda. Kļūda kopējot %(name)s un %(amount)s citus ierakstus." + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "Iekšējā kļūda. Kļūda kopējot %(name)s." + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "Pārvieto datni %(index)s no %(total)s" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "Kopē datni %(index)s no %(total)s" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "Kļūda pārvietojot %(name)s." + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "Kļūda kopējot %(name)s." + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "Atcelt." + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "Veiksmīgi dzēsts %(name)s" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "Pārsaukt mapi" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "Pārsaukt datni" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "Neesat to pārdēvējis." + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "Pārvieto %(name)s" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "Kopē %(name)s" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "Saglabā..." + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "Neizdevās." + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "Datnes izmērs par lielu" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "Datnes izmērs par mazu" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "Datnes tips nav atļauts" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "Pārsniegts maksimālais datņu skaits" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "Augšupielādētie baiti pārsniedz datnes lielumu" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "Kļūda" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "augšuplādē" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "atcelt" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "Sākt" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "Atcelt" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "Dzēst" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "Datni augšuplādē..." + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "Pabeigta datnes augšuplādēšana" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "Datnes augšupielāde atcelta" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "Kļūda augšupielādējot datni" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "Neizdevās iegūt augšupielādes saiti" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "Neizdevās iegūt atjaunošanas saiti" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "Atlasīt grupas" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "Tiesību kļūda" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "Lūdzu, izvēlieties mapi." + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "Veiksmīgi dzēsts." + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "Lūdzu, ievadiet dienas" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "Lūdzu, ievadiet derīgas dienas" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/lv_LV/LC_MESSAGES/djangojs.po b/locale/lv_LV/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..c1d52f1e9a --- /dev/null +++ b/locale/lv_LV/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Latvian (Latvia) (http://www.transifex.com/projects/p/seahub/language/lv_LV/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: lv_LV\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/nb/LC_MESSAGES/djangojs.po b/locale/nb/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..08b914a75f --- /dev/null +++ b/locale/nb/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Norwegian Bokmål (http://www.transifex.com/projects/p/seahub/language/nb/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: nb\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/nb_NO/LC_MESSAGES/djangojs.po b/locale/nb_NO/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..4254acc7a2 --- /dev/null +++ b/locale/nb_NO/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Norwegian Bokmål (Norway) (http://www.transifex.com/projects/p/seahub/language/nb_NO/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: nb_NO\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/nl_NL/LC_MESSAGES/djangojs.po b/locale/nl_NL/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..50ca6e4a96 --- /dev/null +++ b/locale/nl_NL/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Dutch (Netherlands) (http://www.transifex.com/projects/p/seahub/language/nl_NL/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: nl_NL\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/pt_BR/LC_MESSAGES/djangojs.po b/locale/pt_BR/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..b6a0c42f05 --- /dev/null +++ b/locale/pt_BR/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Portuguese (Brazil) (http://www.transifex.com/projects/p/seahub/language/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/pt_PT/LC_MESSAGES/djangojs.po b/locale/pt_PT/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..dda6016b70 --- /dev/null +++ b/locale/pt_PT/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Portuguese (Portugal) (http://www.transifex.com/projects/p/seahub/language/pt_PT/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: pt_PT\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/ru/LC_MESSAGES/django.po b/locale/ru/LC_MESSAGES/django.po index 353055c017..2a3ee05802 100644 --- a/locale/ru/LC_MESSAGES/django.po +++ b/locale/ru/LC_MESSAGES/django.po @@ -4,6 +4,7 @@ # # Translators: # Alexander Laskavtsev , 2014 +# Alexander Savchenko, 2014 # Alexander Savchenko <>, 2013 # Alexander Savchenko, 2014 # bsavelev , 2013 @@ -12,15 +13,19 @@ # Ivan Gleev , 2014-2015 # Kvita , 2013 # Kvita , 2013 +# Kvita , 2013 # Michael Klimenko , 2015 # Rekby , 2014 +# Rekby , 2014 +# Vladimir , 2015 +# Vladimir , 2015 msgid "" msgstr "" "Project-Id-Version: seahub\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2015-06-18 10:25+0800\n" -"PO-Revision-Date: 2015-06-18 02:26+0000\n" -"Last-Translator: zheng xie \n" +"PO-Revision-Date: 2015-07-06 19:23+0000\n" +"Last-Translator: Vladimir \n" "Language-Team: Russian (http://www.transifex.com/projects/p/seahub/language/ru/)\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -30,7 +35,7 @@ msgstr "" #: seahub/forms.py:26 msgid "A user with this email already exists." -msgstr "Пользователь с таким E-mail уже существует" +msgstr "Пользователь с таким email уже существует" #: seahub/forms.py:40 msgid "The two passwords didn't match." @@ -143,7 +148,7 @@ msgstr "Пожалуйста, введите число" #: seahub/settings.py:141 msgid "català" -msgstr "" +msgstr "català" #: seahub/settings.py:142 msgid "Deutsch" @@ -159,7 +164,7 @@ msgstr "Español" #: seahub/settings.py:145 msgid "Argentinian Spanish" -msgstr "" +msgstr "Argentinian Spanish" #: seahub/settings.py:146 msgid "Mexican Spanish" @@ -167,11 +172,11 @@ msgstr "Mexican Spanish" #: seahub/settings.py:147 msgid "français" -msgstr "" +msgstr "français" #: seahub/settings.py:148 msgid "עברית" -msgstr "" +msgstr "עברית" #: seahub/settings.py:149 msgid "Magyar" @@ -179,7 +184,7 @@ msgstr "Magyar" #: seahub/settings.py:150 msgid "Íslenska" -msgstr "" +msgstr "Íslenska" #: seahub/settings.py:151 msgid "Italiano" @@ -187,11 +192,11 @@ msgstr "Italiano" #: seahub/settings.py:152 msgid "日本語" -msgstr "" +msgstr "日本語" #: seahub/settings.py:153 msgid "한국어" -msgstr "" +msgstr "한국어" #: seahub/settings.py:154 msgid "Latvian" @@ -199,11 +204,11 @@ msgstr "Latvian" #: seahub/settings.py:155 msgid "Nederlands" -msgstr "" +msgstr "Nederlands" #: seahub/settings.py:156 msgid "Polski" -msgstr "" +msgstr "Polski" #: seahub/settings.py:157 msgid "Portuguese, Brazil" @@ -219,23 +224,23 @@ msgstr "Slovak" #: seahub/settings.py:160 msgid "Slovenian" -msgstr "" +msgstr "Slovenian" #: seahub/settings.py:161 msgid "Svenska" -msgstr "" +msgstr "Svenska" #: seahub/settings.py:162 msgid "ไทย" -msgstr "" +msgstr "ไทย" #: seahub/settings.py:163 msgid "Türkçe" -msgstr "" +msgstr "Türkçe" #: seahub/settings.py:164 msgid "українська мова" -msgstr "" +msgstr "українська мова" #: seahub/settings.py:165 msgid "简体中文" @@ -390,12 +395,12 @@ msgstr "Добавлен %(file)s" #: seahub/api2/templates/api2/event_details.html:48 #, python-format msgid "Deleted %(file)s" -msgstr "Удалён %(file)s" +msgstr "Удален %(file)s" #: seahub/api2/templates/api2/event_details.html:24 #, python-format msgid "Renamed or Moved %(file)s" -msgstr "Переименован или перемещён %(file)s" +msgstr "Переименован или перемещен %(file)s" #: seahub/api2/templates/api2/event_details.html:32 #, python-format @@ -444,7 +449,7 @@ msgstr "Сообщения от %(name)s" #: seahub/api2/templates/api2/user_msg_list.html:19 msgid "No messages." -msgstr "Сообщений нет." +msgstr "Нет сообщений." #: seahub/auth/admin.py:29 msgid "Personal info" @@ -634,7 +639,7 @@ msgstr "Ваш аватар успешно загружен." #: seahub/avatar/views.py:208 msgid "Successfully deleted the requested avatars." -msgstr "Аватар успешно удалён." +msgstr "Аватар успешно удален." #: seahub/avatar/templates/avatar/add.html:6 msgid "Upload Avatar" @@ -823,15 +828,15 @@ msgstr "Добавлен" #: seahub/base/templatetags/seahub_tags.py:139 msgid "Deleted" -msgstr "Удалён" +msgstr "Удален" #: seahub/base/templatetags/seahub_tags.py:140 msgid "Removed" -msgstr "Исключён" +msgstr "Удален" #: seahub/base/templatetags/seahub_tags.py:141 msgid "Modified" -msgstr "Изменён" +msgstr "Изменен" #: seahub/base/templatetags/seahub_tags.py:142 msgid "Renamed" @@ -839,7 +844,7 @@ msgstr "Переименован" #: seahub/base/templatetags/seahub_tags.py:143 msgid "Moved" -msgstr "Перемещён" +msgstr "Перемещен" #: seahub/base/templatetags/seahub_tags.py:144 msgid "Added directory" @@ -847,7 +852,7 @@ msgstr "Добавлен каталог" #: seahub/base/templatetags/seahub_tags.py:145 msgid "Removed directory" -msgstr "Удалён каталог" +msgstr "Удален каталог" #: seahub/base/templatetags/seahub_tags.py:146 msgid "Renamed directory" @@ -855,7 +860,7 @@ msgstr "Переименован каталог" #: seahub/base/templatetags/seahub_tags.py:147 msgid "Moved directory" -msgstr "Перемещён каталог" +msgstr "Перемещен каталог" #: seahub/base/templatetags/seahub_tags.py:162 #: seahub/base/templatetags/seahub_tags.py:231 @@ -871,7 +876,7 @@ msgstr "Статус файла восстановлен \"%(file)s\" в %(time) #: seahub/base/templatetags/seahub_tags.py:169 #: seahub/base/templatetags/seahub_tags.py:238 msgid "Recovered deleted directory" -msgstr "Восстановленно удаленных файлов" +msgstr "Восстановлено удаленных файлов" #: seahub/base/templatetags/seahub_tags.py:171 #: seahub/base/templatetags/seahub_tags.py:240 seahub/views/ajax.py:1904 @@ -1059,7 +1064,7 @@ msgstr "Добавить контакты" #: seahub/contacts/templates/contacts/contact_list.html:17 msgid "Email " -msgstr "E-mail" +msgstr "Email " #: seahub/contacts/templates/contacts/contact_list.html:18 #: seahub/group/templates/group/group_info.html:82 @@ -1242,7 +1247,7 @@ msgstr "Добавьте контакты, чтобы вы могли быстр #: seahub/templates/sysadmin/useradmin_table.html:4 #: seahub/templates/sysadmin/userinfo.html:17 msgid "Email" -msgstr "E-mail" +msgstr "Email" #: seahub/contacts/templates/contacts/contact_list.html:46 #: seahub/contacts/templates/contacts/contact_list.html:55 @@ -1251,7 +1256,7 @@ msgstr "Примечание (необязательно)" #: seahub/contacts/templates/contacts/contact_list.html:52 msgid "Edit Contact" -msgstr "Радактировать контакт" +msgstr "Редактировать контакт" #: seahub/contacts/templates/contacts/contact_list.html:109 msgid "Delete Contact" @@ -1298,7 +1303,7 @@ msgstr "Группа не существует" #: seahub/group/error_msg.py:17 msgid "Group is full" -msgstr "Группа переполненна" +msgstr "Группа переполнена" #: seahub/group/error_msg.py:18 msgid "Failed to add member to group" @@ -1306,11 +1311,11 @@ msgstr "Не удалось добавить участников в групп #: seahub/group/error_msg.py:21 msgid "Only group staff can remove member" -msgstr "Только руководители группы могут исключить участника" +msgstr "Только руководители группы могут удалить участника" #: seahub/group/error_msg.py:23 msgid "Can not remove myself" -msgstr "Нельзя исключить себя" +msgstr "Нельзя удалить себя" #: seahub/group/forms.py:30 seahub/templates/snippets/group_add_js.html:8 msgid "Group name can't be empty" @@ -1339,7 +1344,7 @@ msgstr "\"%s\" не допустимое имя" #: seahub/group/views.py:161 msgid "You do not have permission to create group." -msgstr "У вас нет разрешения на создание группы." +msgstr "У вас нет прав для создания группы." #: seahub/group/views.py:170 #, python-format @@ -1354,11 +1359,11 @@ msgstr "Группа с таким именем уже существует" #: seahub/group/views.py:274 msgid "Failed to dismiss group, pleaes retry later." -msgstr "Не удалось распустить группу. Пожалуйста, попробуйте позже." +msgstr "Не удалось удалить группу. Пожалуйста, попробуйте позже." #: seahub/group/views.py:276 msgid "Successfully dismissed group." -msgstr "Группа успешно распущена." +msgstr "Группа успешно удалена." #: seahub/group/views.py:328 msgid "" @@ -1402,7 +1407,7 @@ msgstr "Группа не существует." #: seahub/group/views.py:676 #, python-format msgid "Failed to add, %s is not in current organization." -msgstr "Не удалось добавить, %s не в текущей организации." +msgstr "Не удалось добавить, %s не в текущем сообществе." #: seahub/group/views.py:694 seahub/group/views.py:843 #, python-format @@ -1473,7 +1478,7 @@ msgstr "Ошибка: библиотека не существует." #: seahub/group/views.py:993 msgid "Error: no path." -msgstr "Ошибка: не верный путь." +msgstr "Ошибка: неверный путь." #: seahub/group/views.py:1031 msgid "Failed to create: the group does not exist." @@ -1503,7 +1508,7 @@ msgstr "Успешно отправлено на рассмотрение адм #: seahub/group/views.py:1203 msgid "Discussion is required." -msgstr "Необходима дискуссия." +msgstr "Обсуждение обязательно." #: seahub/group/views.py:1306 seahub/views/__init__.py:811 #: seahub/views/ajax.py:1415 seahub/views/file.py:346 seahub/views/file.py:712 @@ -1513,7 +1518,7 @@ msgstr "Файл не существует" #: seahub/group/views.py:1342 msgid "Successfully enable \"Wiki\"." -msgstr "Модуль \"Wiki\" включён" +msgstr "Модуль \"Wiki\" включен" #: seahub/group/views.py:1347 msgid "Successfully disable \"Wiki\"." @@ -1530,7 +1535,7 @@ msgstr "Не удалось создать wiki-страницу. Повтори #: seahub/templates/repo_view_snapshot.html:39 #: seahub/templates/snippets/current_commit.html:11 seahub/views/wiki.py:88 msgid "Unknown" -msgstr "Не определено" +msgstr "Неизвестно" #: seahub/group/views.py:1442 seahub/views/__init__.py:805 #: seahub/views/ajax.py:1978 seahub/views/ajax.py:2042 @@ -1574,7 +1579,7 @@ msgstr "Ошибка удаления \"%s\". Попробуйте позже." #: seahub/group/templates/group/add_member_email.html:8 msgid "Hi, " -msgstr "Привет," +msgstr "Здравствуйте, " #: seahub/group/templates/group/add_member_email.html:11 #, python-format @@ -1821,7 +1826,7 @@ msgstr "Не удалось удалить:" #: seahub/message/templates/message/user_msg_list.html:252 #: seahub/templates/repo.html:1179 seahub/templates/repo.html.py:2126 msgid "Failed." -msgstr "Не удачно." +msgstr "Неудачно." #: seahub/group/templates/group/group_info.html:73 #: seahub/templates/libraries.html:59 seahub/templates/libraries.html:163 @@ -1929,7 +1934,7 @@ msgstr "Описание" #: seahub/templates/sysadmin/sys_admin_group_info.html:48 #: seahub/templates/sysadmin/userinfo.html:86 msgid "directory icon" -msgstr "Значёк каталога" +msgstr "Значок каталога" #: seahub/group/templates/group/group_info_for_pub.html:46 msgid "No public library is in this group" @@ -1950,7 +1955,7 @@ msgstr "%(user)s хочет вступить в группу \"%(group_name)s\". #: seahub/group/templates/group/group_join_email.html:6 #: seahub/templates/email_base.html:9 msgid "Thanks for using our site!" -msgstr "Спасибо за использование нашего сайта!" +msgstr "Всего наилучшего!" #: seahub/group/templates/group/group_join_email.html:8 #: seahub/templates/email_base.html:13 @@ -1985,7 +1990,7 @@ msgstr "Настройки" #: seahub/group/templates/group/group_manage.html:20 msgid "Add Members" -msgstr "Добавть участника" +msgstr "Добавить участников" #: seahub/group/templates/group/group_manage.html:21 msgid "Add Admins" @@ -2023,7 +2028,7 @@ msgstr "Передать" #: seahub/group/templates/group/group_manage.html:95 msgid "Dismiss" -msgstr "Распустить" +msgstr "Удалить" #: seahub/group/templates/group/group_manage.html:103 msgid "Transfer Group To" @@ -2039,15 +2044,15 @@ msgstr "Добавить пользователей" #: seahub/group/templates/group/group_manage.html:124 msgid "Add administrators" -msgstr "Добавить Администраторов" +msgstr "Добавить администраторов" #: seahub/group/templates/group/group_manage.html:158 msgid "Dismiss Group" -msgstr "Распустить группу" +msgstr "Удалить группу" #: seahub/group/templates/group/group_manage.html:159 msgid "Really want to dismiss this group?" -msgstr "Вы действительно хотите распустить эту группу?" +msgstr "Вы действительно хотите удалить эту группу?" #: seahub/group/templates/group/group_manage.html:162 msgid "Delete Member" @@ -2056,19 +2061,19 @@ msgstr "Удалить участника" #: seahub/group/templates/group/group_manage.html:163 #, python-format msgid "Really want to delete %s ?" -msgstr "Действительно хотите удалить %s ?" +msgstr "Вы действительно хотите удалить %s ?" #: seahub/group/templates/group/group_manage.html:173 #: seahub/templates/repo_folder_perm.html:188 #: seahub/templates/repo_share_manage.html:147 msgid "Search users or enter emails" -msgstr "" +msgstr "Искать пользователей или ввести email адреса" #: seahub/group/templates/group/group_manage.html:220 #: seahub/templates/repo_transfer_owner.html:52 #: seahub/templates/sysadmin/repoadmin_js.html:18 msgid "Search user or enter email" -msgstr "" +msgstr "Искать пользователя или ввести email адрес" #: seahub/group/templates/group/group_members.html:10 msgid "Quit" @@ -2113,12 +2118,12 @@ msgstr "Проверочное сообщение" #: seahub/templates/wiki/personal_wiki.html:15 #: seahub/templates/wiki/personal_wiki.html:20 msgid "Wiki Index" -msgstr "Wiki: Избранное" +msgstr "Wiki: Главная" #: seahub/group/templates/group/group_wiki.html:14 #: seahub/templates/wiki/personal_wiki.html:16 msgid "No index now." -msgstr "Нет избранных статей." +msgstr "Нет главной страницы." #: seahub/group/templates/group/group_wiki.html:16 #: seahub/templates/wiki/personal_wiki.html:17 @@ -2166,7 +2171,7 @@ msgstr "Выберите библиотеку для использования #: seahub/profile/templates/profile/set_profile.html:132 #: seahub/templates/wiki/personal_wiki.html:55 msgid "Please click and choose a library." -msgstr "Пожалуйста кликните для выбора библиотеки." +msgstr "Пожалуйста, нажмите для выбора библиотеки." #: seahub/group/templates/group/group_wiki.html:68 #: seahub/group/templates/group/group_wiki_pages.html:11 @@ -2274,13 +2279,13 @@ msgstr "Вас нет ни в одной группе" msgid "" "Group is a place for you and your friends leaving messages and collaborating" " on libraries. You can create a group by clicking \"New Group\" button." -msgstr "Группа это место общения для вас и ваших друзей. В ней вы можете оставлять сообщения и совместно использовать библиотеки. Вы можете создать группу, нажав на \"Создать группу\"." +msgstr "Группа - это место общения для вас и ваших друзей. В ней вы можете оставлять сообщения и совместно использовать библиотеки. Вы можете создать группу, нажав на \"Создать группу\"." #: seahub/group/templates/group/groups_right_panel.html:34 msgid "" "Group is a place for you and your friends leaving messages and collaborating" " on libraries. Groups you join will be listed here." -msgstr "Группа это место общения для вас и ваших друзей. В ней вы можете оставлять сообщения и совместно использовать библиотеки. Здесь перечислены группы, в которых вы состоите." +msgstr "Группа - это место общения для вас и ваших друзей. В ней вы можете оставлять сообщения и совместно использовать библиотеки. Здесь перечислены группы, в которых вы состоите." #: seahub/group/templates/group/groups_right_panel.html:41 msgid "Group Name" @@ -2379,7 +2384,7 @@ msgstr "Если библиотека с файлами будет удален msgid "" "After a file library is deleted on your computer, the library on the website" " won't be deleted. You may download and sync it again later." -msgstr "Если библиотека с файлами будет удалена на компьютере, то библиотека на сервере останется. В последствии вы можете её снова загрузить на свой компьютер и синхронизировать её с сервером. " +msgstr "Если библиотека с файлами будет удалена на компьютере, то библиотека на сервере останется. В последствии вы можете ее снова загрузить на свой компьютер и синхронизировать ее с сервером. " #: seahub/help/templates/help/help_group_share.html:7 msgid "Sharing a library to a group" @@ -2408,7 +2413,7 @@ msgid "" "folder of this library. In this special file, you specify the files and " "folders that Seafile should not sync. Each line in this file specifies a " "pattern. The following pattern format are supported." -msgstr "Возможно вам потребуется не синхронизировать отдельные файлы и папки внутри библиотеки. Для этого, создайте файл с именем seafile-ignore.txt в корневой папке этой библиотеки. В нём определите, какие файлы и папки, Seafile не должен синхронизировать. Каждая строка, в этом файле, будет определять шаблон исключений. Придерживайтесь следующих правил: " +msgstr "Возможно вам потребуется не синхронизировать отдельные файлы и папки внутри библиотеки. Для этого, создайте файл с именем seafile-ignore.txt в корневой папке этой библиотеки. В нем определите, какие файлы и папки, Seafile не должен синхронизировать. Каждая строка, в этом файле, будет определять шаблон исключений. Придерживайтесь следующих правил: " #: seahub/help/templates/help/help_ignore.html:13 msgid "A blank line matches no files." @@ -2468,7 +2473,7 @@ msgid "" "If the file is modified on seahub, the new version will also be synced back " "to clients; If the file on the client is also modified, a conflict file will" " be generated on the client." -msgstr "Если файл будет изменён на сервере, то новая версия также будет синхронизирована с клиентом. Если при этом файл в клиенте также был изменён, то будет создан конфликт-файл на стороне клиента. " +msgstr "Если файл будет изменен на сервере, то новая версия также будет синхронизирована с клиентом. Если при этом файл в клиенте также был изменен, то будет создан конфликт-файл на стороне клиента. " #: seahub/help/templates/help/help_ignore.html:47 msgid "" @@ -2497,7 +2502,7 @@ msgstr "2. Добавьте аккаунт" #: seahub/help/templates/help/help_install_v2.html:17 msgid "Add an account on your private Seafile server or our public server." -msgstr "Добавьте учётную запись на Ваш частный сервер Seafile или на наш публичный сервер." +msgstr "Добавьте учетную запись на Ваш частный сервер Seafile или на наш публичный сервер." #: seahub/help/templates/help/help_install_v2.html:22 msgid "3. Sync a library" @@ -2553,7 +2558,7 @@ msgstr "Для того, чтобы скачать и синхронизиров msgid "" "To share an encrypted library with your friends, you also need to tell them " "the password." -msgstr "Чтобы предоставить общий достук к зашифрованной библиотеке Вашим друзьям, Вам также необходимо будет сообщить им пароль." +msgstr "Чтобы предоставить общий доступ к зашифрованной библиотеке вашим друзьям, вам также необходимо будет сообщить им пароль." #: seahub/help/templates/help/help_view_encrypted.html:10 msgid "" @@ -2572,7 +2577,7 @@ msgstr "требуется сообщение" #: seahub/message/views.py:187 #: seahub/message/templates/message/all_msg_list.html:160 msgid "contact is required" -msgstr "требуестся контакт" +msgstr "требуется контакт" #: seahub/message/views.py:212 msgid "You can not send message to yourself." @@ -2607,7 +2612,7 @@ msgstr "Сообщение..." #: seahub/message/templates/message/all_msg_list.html:104 msgid "send to: click to select contacts" -msgstr "Чтобы отправить: кликните для выбора контактов" +msgstr "Чтобы отправить: нажмите для выбора контактов" #: seahub/message/templates/message/all_msg_list.html:110 msgid "please add contacts at first" @@ -2632,14 +2637,14 @@ msgstr "Внутренняя ошибка" msgid "" "A file named %(file_name)s is uploaded to %(name)s" -msgstr "Фаил с именем %(file_name)s был загружен в %(name)s" +msgstr "Файл с именем %(file_name)s был загружен в %(name)s" #: seahub/notifications/models.py:513 #, python-format msgid "" "A file named %(file_name)s is uploaded to Deleted " "Library" -msgstr "Файл с именем %(file_name)s был загружен Удаленная библиотека" +msgstr "Файл с именем %(file_name)s был загружен в Удаленная библиотека" #: seahub/notifications/models.py:539 #, python-format @@ -2702,7 +2707,7 @@ msgstr "Новое уведомление в %s" #: seahub/notifications/templates/notifications/notice_email.html:7 #, python-format msgid "Hi, %(name)s" -msgstr "Привет, %(name)s" +msgstr "Здравствуйте, %(name)s" #: seahub/notifications/templates/notifications/notice_email.html:9 #, python-format @@ -2712,9 +2717,9 @@ msgid "" msgid_plural "" "\n" "You've got %(num)s new notices on %(site_name)s:\n" -msgstr[0] "\nУ Вас 1 новое уведомление на %(site_name)s:\n" +msgstr[0] "\nУ Вас %(num)s новое уведомление на %(site_name)s:\n" msgstr[1] "\nУ вас %(num)s новых уведомления %(site_name)s:\n" -msgstr[2] "\n" +msgstr[2] "\nУ вас %(num)s новых уведомления %(site_name)s:\n" msgstr[3] "\nУ вас %(num)s новых уведомлений %(site_name)s:\n" #: seahub/notifications/templates/notifications/notice_email.html:27 @@ -2743,7 +2748,7 @@ msgstr "%(user)s поделился с вами библиотекой %(file_name)s to you." -msgstr "%(user)s поделился с вами файлом%(file_name)s." +msgstr "%(user)s поделился с вами файлом %(file_name)s." #: seahub/notifications/templates/notifications/notice_email.html:50 #, python-format @@ -2810,7 +2815,7 @@ msgstr "Уведомления" #: seahub/notifications/templates/notifications/user_notification_list.html:12 msgid "Mark all read" -msgstr "Отметить все как прочитанные" +msgstr "Отметить все прочитанным" #: seahub/notifications/templates/notifications/user_notification_list.html:13 msgid "Clear" @@ -2878,7 +2883,7 @@ msgstr "Не удалось установить библиотеку по ум #: seahub/profile/views.py:190 msgid "Can not set encrypted library as default library." -msgstr "Невозможно использовать шифрованную библиотеку по умолчанию." +msgstr "Невозможно использовать зашифрованную библиотеку по умолчанию." #: seahub/profile/views.py:195 #, python-format @@ -2974,7 +2979,7 @@ msgid "" "listed in your desktop client, and you can download it just like downloading" " a normal library. It will be automatically kept in sync with its origin " "library." -msgstr "Эта функция позволяет выборочно синхронизировать папки внутри библиотеки. Вложенная библиотека может быть создана из любой папки. После создания, она будет показана в настольном клиенте, и вы можете скачать её так же, как и обычную библиотеку. Она будут автоматически синхронизироваться. " +msgstr "Эта функция позволяет выборочно синхронизировать папки внутри библиотеки. Вложенная библиотека может быть создана из любой папки. После создания, она будет показана в настольном клиенте, и вы можете скачать ее так же, как и обычную библиотеку. Она будут автоматически синхронизироваться. " #: seahub/profile/templates/profile/set_profile.html:103 msgid "" @@ -2990,7 +2995,7 @@ msgstr "Настройки библиотеки по умолчанию" #: seahub/profile/templates/profile/set_profile.html:112 msgid "Your default library:" -msgstr "Ваша библитоека по умолчанию:" +msgstr "Ваша библиотека по умолчанию:" #: seahub/profile/templates/profile/set_profile.html:114 msgid "" @@ -3004,7 +3009,7 @@ msgstr "Выберите библиотеку по умолчанию" #: seahub/profile/templates/profile/set_profile.html:122 msgid "This operation will not be reverted. Please think twice!" -msgstr "Эту операцию нельзя отменить. Пожалуйста проверьте её дважды!" +msgstr "Эту операцию нельзя отменить. Пожалуйста проверьте ее дважды!" #: seahub/profile/templates/profile/set_profile.html:127 msgid "Choose default library:" @@ -3049,11 +3054,11 @@ msgstr "Телефон" #: seahub/share/forms.py:21 seahub/share/forms.py:34 msgid "Email is not longer than 512 characters" -msgstr "E-mail не длиннее 512 символов" +msgstr "Email не длиннее 512 символов" #: seahub/share/forms.py:50 msgid "Please enter a correct password." -msgstr "Пожалуйста введите правильный пароль" +msgstr "Пожалуйста, введите правильный пароль." #: seahub/share/views.py:88 msgid "Failed to share to all members, please try again later." @@ -3108,11 +3113,11 @@ msgstr "Доступ запрещен" #: seahub/share/views.py:372 seahub/share/views.py:392 #: seahub/views/__init__.py:1236 msgid "Argument is not valid" -msgstr "Аргумент недействителен." +msgstr "Аргумент недействителен" #: seahub/share/views.py:395 seahub/share/views.py:416 msgid "Failed to remove share" -msgstr "Не удалось исключить общий доступ" +msgstr "Не удалось удалить общий доступ" #: seahub/share/views.py:408 msgid "group id is not valid" @@ -3144,7 +3149,7 @@ msgstr "У вас нет доступа к этой библиотеке" #: seahub/share/views.py:899 seahub/share/views.py:938 msgid "Removed successfully" -msgstr "Успешно исключено" +msgstr "Успешно удалено" #: seahub/share/views.py:922 seahub/share/views.py:960 msgid "The link doesn't exist" @@ -3163,7 +3168,7 @@ msgstr "файл" #: seahub/share/views.py:1022 #, python-format msgid "A file is shared to you on %s" -msgstr "Файл доступен вам на %s" +msgstr "Пользователь поделился с вами файлом на %s" #: seahub/share/views.py:1028 msgid "directory" @@ -3172,11 +3177,11 @@ msgstr "каталог" #: seahub/share/views.py:1029 #, python-format msgid "A directory is shared to you on %s" -msgstr "Каталог доступен вам на %s" +msgstr "Пользователь поделился с вами каталогом на %s" #: seahub/share/views.py:1042 seahub/share/views.py:1339 msgid "Internal server error, or please check the email(s) you entered" -msgstr "" +msgstr "Внутренняя ошибка сервера, или неправильно введены email адреса" #: seahub/share/views.py:1062 msgid "Please choose a directory." @@ -3204,12 +3209,12 @@ msgstr "Успешно закрыт доступ к \"%s\"." #: seahub/share/views.py:1139 #, python-format msgid "You don't have permission to unshare %s." -msgstr "У вас нет разрешения отменить общий доступ к %s." +msgstr "У вас нет прав отменить общий доступ к %s." #: seahub/share/views.py:1175 #, python-format msgid "You don't have permission to save %s." -msgstr "У вас нет разрешения на доступ к %s." +msgstr "У вас нет прав на доступ к %s." #: seahub/share/views.py:1285 msgid "" @@ -3220,7 +3225,7 @@ msgstr "Отправка ссылки общего доступа не удал #: seahub/share/views.py:1326 #, python-format msgid "An upload link is shared to you on %s" -msgstr "Вам доступна ссылка на загрузку в %s" +msgstr "Вам доступна ссылка для загрузки на %s" #: seahub/share/views.py:1491 seahub/thumbnail/views.py:43 #: seahub/views/ajax.py:247 seahub/views/ajax.py:341 seahub/views/ajax.py:421 @@ -3232,11 +3237,11 @@ msgstr "Библиотека не существует" #: seahub/share/views.py:1495 msgid "Directory does not exist." -msgstr "" +msgstr "Каталог не существует" #: seahub/share/views.py:1587 seahub/share/views.py:1622 msgid "Please check the email(s) you entered" -msgstr "" +msgstr "Пожалуйста, проверьте введенные email адреса" #: seahub/share/templates/share/links.html:5 msgid "Links - Share" @@ -3284,7 +3289,7 @@ msgstr "Просмотр" #: seahub/templates/sysadmin/userinfo.html:150 #: seahub/templates/sysadmin/userinfo.html:159 msgid "Remove" -msgstr "Исключено" +msgstr "Удалить" #: seahub/share/templates/share/links.html:45 msgid "You don't have any download link" @@ -3298,13 +3303,13 @@ msgstr "Вы можете создать ссылку на загрузку дл #: seahub/share/templates/share/links.html:76 msgid "You don't have any upload link" -msgstr "У Вас нет ссылок для загрузки" +msgstr "У Вас нет ссылок на загрузки" #: seahub/share/templates/share/links.html:77 msgid "" "You can generate an upload link from any folder. People receive this link " "can upload files to this folder." -msgstr "Вы можете создавать ссылки для загрузки в ваши папки. Люди, которым вы предоставите такую ссылку, смогут загрузить файлы в вашу папку." +msgstr "Вы можете создать ссылку для загрузки в любую папку. Люди, которым вы предоставите такую ссылку, смогут загрузить файлы в такую папку." #: seahub/share/templates/share/list_priv_shared_folders.html:5 msgid "Folders - Share" @@ -3414,7 +3419,7 @@ msgstr "Вы пока не отметили ни одного файла" msgid "" "You can share a single file with a registered user if you don't want to " "share a whole library." -msgstr "Вы можете открыть доступ к отдельному файлу для зарегистрованного пользователя, если не хотие открывать доступ ко всей библиотеке." +msgstr "Вы можете открыть доступ к отдельному файлу для зарегистрированного пользователя, если не хотите открывать доступ ко всей библиотеке." #: seahub/share/templates/share/repos.html:5 msgid "Libraries - Share" @@ -3429,7 +3434,7 @@ msgid "" "You can share libraries to your friends and colleagues by clicking the share" " icon of your own libraries in your home page or creating a new library in " "groups you are in." -msgstr "Вы можете поделиться библиотеками с вашими друзьями и коллегами, кликнув кнопку общего доступа в собственных библиотеках на вашей домашней странице или при создании новой библиотеки." +msgstr "Вы можете поделиться библиотеками с вашими друзьями и коллегами, нажав кнопку общего доступа в собственных библиотеках на вашей домашней странице или при создании новой библиотеки." #: seahub/share/templates/share/user_share_list.html:4 #: seahub/share/templates/share/user_share_list.html:25 @@ -3505,7 +3510,7 @@ msgstr "Уведомления" #: seahub/templates/base.html:60 seahub/templates/base_for_backbone.html:96 msgid "See All Notifications" -msgstr "" +msgstr "Показать все уведомления" #: seahub/templates/base.html:82 seahub/templates/base_for_backbone.html:118 #: seahub/templates/finish_payment.html:6 @@ -3526,7 +3531,7 @@ msgstr "Все группы" msgid "" "We no longer support this version of IE. Please upgrade it to version 10 or " "above." -msgstr "" +msgstr "Мы больше не поддерживаем эту версию Internet Explorer. Пожалуйста, обновите ваш браузер до версии 10 или выше." #: seahub/templates/base_for_backbone.html:29 #: seahub/templates/libraries.html:140 seahub/templates/myhome.html:154 @@ -3544,7 +3549,7 @@ msgstr "Моя страница" #: seahub/templates/pubrepo.html:6 seahub/templates/pubrepo.html.py:13 #: seahub/templates/sysadmin/userinfo.html:21 msgid "Organization" -msgstr "Сообщества" +msgstr "Сообщество" #: seahub/templates/base_for_backbone.html:73 seahub/templates/footer.html:8 #: seahub/templates/myhome_base.html:17 @@ -3559,17 +3564,17 @@ msgstr "Регистрация" #: seahub/templates/choose_register.html:14 msgid "Create a personal account" -msgstr "Создать персональную учётную запись" +msgstr "Создать личный аккаунт" #: seahub/templates/choose_register.html:15 msgid "Create an organization account" -msgstr "Создать учётную запись организации" +msgstr "Создать аккаунт организации" #: seahub/templates/decrypt_repo_form.html:7 msgid "" "This library is encrypted. Please input the password if you want to browse " "it online. And the password will be kept on the server for only 1 hour." -msgstr "Эта библиотека зашифрована. Введите пароль, если вы хотите её просмотреть. Пароль будет храниться на сервере только в течение 1 часа." +msgstr "Эта библиотека зашифрована. Введите пароль, если вы хотите ее просмотреть. Пароль будет храниться на сервере только в течение 1 часа." #: seahub/templates/decrypt_repo_form.html:9 seahub/templates/repo.html:204 #: seahub/templates/share_access_validation.html:8 @@ -3620,16 +3625,16 @@ msgstr "Операция" #: seahub/templates/devices.html:38 msgid "Unlink" -msgstr "" +msgstr "Удаление" #: seahub/templates/devices.html:45 #, python-format msgid "Really want to unlink %s?" -msgstr "" +msgstr "Действительно удалить %s?" #: seahub/templates/devices.html:46 msgid "It will immediately stop syncing." -msgstr "" +msgstr "Это немедленно прекратит синхронизацию." #: seahub/templates/devices.html:52 msgid "You do not have connected devices" @@ -3637,11 +3642,11 @@ msgstr "У вас нет ни одного подключенного устро #: seahub/templates/devices.html:53 msgid "Your clients (Desktop/Android/iOS) will be listed here." -msgstr "" +msgstr "Ваши клиенты (Desktop/Android/iOS) будут перечислены здесь." #: seahub/templates/devices.html:112 msgid "Successfully unlinked." -msgstr "" +msgstr "Успешно удалено." #: seahub/templates/download.html:4 seahub/templates/file_revisions.html:57 #: seahub/templates/repo.html:27 seahub/templates/repo_history_view.html:73 @@ -3671,7 +3676,7 @@ msgstr " " #: seahub/templates/file_edit.html:94 msgid "Draft saved." -msgstr "Черновик сохранён." +msgstr "Черновик сохранен." #: seahub/templates/file_edit.html:96 msgid "Continue editing" @@ -3998,7 +4003,7 @@ msgstr " история версий" msgid "" "Tip:a new version will be generated after each modification, and you can " "restore the file to a previous version." -msgstr "Учтите: новая версия будет генерироваться после каждого изменения файлов, но вы можете восстановить файл из предыдущей версии." +msgstr "Совет: новая версия будет создаваться после каждого изменения файлов, и вы сможете восстановить файл из предыдущей версии." #: seahub/templates/file_revisions.html:12 seahub/templates/text_diff.html:10 msgid "Current Path:" @@ -4016,7 +4021,7 @@ msgstr "(текущая версия)" #: seahub/templates/file_revisions.html:39 #, python-format msgid "(Renamed or moved from %(old_path)s)" -msgstr "(Переименовано или перемещено от %(old_path)s)" +msgstr "(Переименовано или перемещено от %(old_path)s)" #: seahub/templates/file_revisions.html:55 #: seahub/templates/repo_history_view.html:62 @@ -4034,7 +4039,7 @@ msgstr "Разница" #: seahub/templates/finish_payment.html:9 msgid "Plan" -msgstr "" +msgstr "План" #: seahub/templates/footer.html:5 #: seahub/templates/snippets/search_form.html:44 @@ -4103,12 +4108,12 @@ msgstr "Загрузить папку" #: seahub/templates/i18n.html:7 seahub/templates/js/templates.html:354 #: seahub/templates/snippets/file_share_popup.html:31 msgid "Add auto expiration" -msgstr "" +msgstr "Добавить авто истечение срока действия" #: seahub/templates/i18n.html:8 seahub/templates/js/templates.html:357 #: seahub/templates/snippets/file_share_popup.html:34 msgid "Days" -msgstr "" +msgstr "Дней" #: seahub/templates/i18n.html:9 seahub/templates/repo_basic_info.html:23 #: seahub/templates/repo_change_password.html:23 @@ -4149,7 +4154,7 @@ msgstr "Доступные" #: seahub/templates/libraries.html:61 seahub/templates/myhome.html:79 msgid "New Sub-library" -msgstr "" +msgstr "Новая суб-библиотека" #: seahub/templates/libraries.html:72 seahub/templates/myhome.html:98 msgid "You have not created any libraries" @@ -4160,7 +4165,7 @@ msgid "" "You can create a library to organize your files. For example, you can create" " one for each of your projects. Each library can be synchronized and shared " "separately." -msgstr "Вы можете создавать библиотеки для организации работы с файлами. Например, вы создаёте библиотеки для каждого из ваших нескольких проектов, причем каждая из них может быть синхронизирована и дана в общий доступне зависимо друг от друга." +msgstr "Вы можете создавать библиотеки для организации работы с файлами. Например, вы создаете библиотеки для каждого из ваших нескольких проектов, причем каждая из них может быть синхронизирована и дана в общий доступ независимо друг от друга." #: seahub/templates/libraries.html:84 seahub/templates/myhome.html:110 msgid "Origin" @@ -4226,15 +4231,15 @@ msgstr "Ни одна библиотека не была предоставле #: seahub/templates/libraries.html:187 msgid "Add Library" -msgstr "" +msgstr "Добавить библиотеку" #: seahub/templates/libraries.html:189 msgid "Share existing libraries" -msgstr "" +msgstr "Поделиться существующими библиотеками" #: seahub/templates/libraries.html:190 msgid "Create a new library" -msgstr "" +msgstr "Создать новую библиотеку" #: seahub/templates/libraries.html:199 seahub/templates/pubrepo.html:45 msgid "No public library" @@ -4262,7 +4267,7 @@ msgstr "Ни одна библиотека не предоставлена ва #: seahub/templates/pubgrp.html:10 msgid "Search groups..." -msgstr "Искать группы..." +msgstr "Поиск групп..." #: seahub/templates/pubgrp.html:33 msgid "No group found" @@ -4274,11 +4279,11 @@ msgstr "Никто не создал ни одной группы" #: seahub/templates/pubgrp.html:39 msgid "You can click \"Add Group\" button under \"Group\" label to create a group. " -msgstr "Чтобы создать группу, кликните \"Добавить группу\" в разделе \"Группы\". " +msgstr "Чтобы создать группу, нажмите \"Добавить группу\" в разделе \"Группы\". " #: seahub/templates/pubuser.html:10 msgid "Search members..." -msgstr "Искать участников..." +msgstr "Поиск участников..." #: seahub/templates/pubuser.html:17 msgid "Search Results" @@ -4329,7 +4334,7 @@ msgstr "Копировать" #: seahub/templates/js/templates.html:123 #: seahub/templates/snippets/repo_dir_data.html:28 msgid "Upload Files" -msgstr "Загрузить файл" +msgstr "Загрузить файлы" #: seahub/templates/repo.html:60 seahub/templates/repo.html.py:92 #: seahub/templates/view_shared_upload_link.html:24 @@ -4353,7 +4358,7 @@ msgstr "закрыть" #: seahub/templates/view_shared_upload_link.html:43 #: seahub/templates/js/lib-op-popups.html:92 msgid "Cancel All" -msgstr "Выход" +msgstr "Отменить все" #: seahub/templates/repo.html:82 seahub/templates/repo.html.py:117 #: seahub/templates/repo.html:2111 @@ -4365,7 +4370,7 @@ msgstr "Сохранение..." #: seahub/templates/repo.html:90 #, python-format msgid "Update %(file_name)s" -msgstr "" +msgstr "Обновить %(file_name)s" #: seahub/templates/repo.html:105 msgid "Choose a file" @@ -4432,7 +4437,7 @@ msgstr "Другие библиотеки" #: seahub/templates/repo.html:174 seahub/templates/shared_file_view.html:53 #: seahub/templates/js/lib-op-popups.html:66 msgid "Please click and choose a directory." -msgstr "Кликните для выбора каталога" +msgstr "Нажмите для выбора каталога" #: seahub/templates/repo.html:187 seahub/templates/js/lib-op-popups.html:37 #, python-format @@ -4443,7 +4448,7 @@ msgstr "Переименовать %(name)s в:" msgid "" "This library is encrypted. Please input the password if you want to browse " "it online. And the password will be kept in the browser for only 1 hour." -msgstr "Эта библиотека зашифрована. Введите пароль для просмотра её в режиме онлайн. Пароль будет храниться в браузере только 1 час. " +msgstr "Эта библиотека зашифрована. Введите пароль для просмотра ее в режиме онлайн. Пароль будет храниться в браузере только 1 час. " #: seahub/templates/repo.html:216 msgid "discuss" @@ -4465,7 +4470,7 @@ msgstr "Снять отметку" #: seahub/templates/repo.html:287 msgid "File Uploading..." -msgstr "Файл загружается..." +msgstr "Загрузка файла..." #: seahub/templates/repo.html:288 msgid "File Upload complete" @@ -4482,7 +4487,7 @@ msgstr "Не удалось загрузить файл" #: seahub/templates/repo.html:372 #: seahub/templates/view_shared_upload_link.html:157 msgid "Failed to get upload url" -msgstr "" +msgstr "Не удалось получить url загрузки" #: seahub/templates/repo.html:527 #: seahub/templates/view_shared_upload_link.html:79 @@ -4549,12 +4554,12 @@ msgstr "Обработка ..." #: seahub/templates/repo.html:706 #, python-format msgid "Successfully deleted %(name)s and %(amount)s other items." -msgstr "Успешно удален %(name)s и еще %(amount)s других объектов." +msgstr "Успешно удалено %(name)s и еще %(amount)s других объектов." #: seahub/templates/repo.html:708 #, python-format msgid "Successfully deleted %(name)s." -msgstr "Успешно удален %(name)s." +msgstr "Успешно удалено %(name)s." #: seahub/templates/repo.html:717 #, python-format @@ -4577,37 +4582,37 @@ msgstr "Скопировать выбранные папки/файлы в:" #: seahub/templates/repo.html:848 seahub/templates/repo.html.py:2062 #: seahub/views/ajax.py:791 seahub/views/ajax.py:996 msgid "Invalid destination path" -msgstr "Неправельная настройка сервера." +msgstr "Неправильный путь назначения" #: seahub/templates/repo.html:897 #, python-format msgid "Successfully moved %(name)s." -msgstr "Успешно перемещен %(name)s." +msgstr "Успешно перемещено %(name)s." #: seahub/templates/repo.html:899 #, python-format msgid "Successfully moved %(name)s and 1 other item." -msgstr "Успешно пемещен %(name)s и еще 1 объект." +msgstr "Успешно перемещено %(name)s и еще 1 объект." #: seahub/templates/repo.html:901 #, python-format msgid "Successfully moved %(name)s and %(amount)s other items." -msgstr "Успешно пемещен %(name)s и еще %(amount)s других объектов." +msgstr "Успешно перемещено %(name)s и еще %(amount)s других объектов." #: seahub/templates/repo.html:906 #, python-format msgid "Successfully copied %(name)s." -msgstr "Успешно скопирован %(name)s." +msgstr "Успешно скопировано %(name)s." #: seahub/templates/repo.html:908 #, python-format msgid "Successfully copied %(name)s and 1 other item." -msgstr "Успешно скопирован %(name)s и еще 1 объект." +msgstr "Успешно скопировано %(name)s и еще 1 объект." #: seahub/templates/repo.html:910 #, python-format msgid "Successfully copied %(name)s and %(amount)s other items." -msgstr "Успешно скопирован %(name)s и еще %(amount)s других объектов." +msgstr "Успешно скопировано %(name)s и еще %(amount)s других объектов." #: seahub/templates/repo.html:922 #, python-format @@ -4632,12 +4637,12 @@ msgstr "Внутренняя ошибка. Не удалось скопиров #: seahub/templates/repo.html:968 #, python-format msgid "Moving file %(index)s of %(total)s" -msgstr "Перемещается файл %(index)s из %(total)s" +msgstr "Перемещение файла %(index)s из %(total)s" #: seahub/templates/repo.html:968 #, python-format msgid "Copying file %(index)s of %(total)s" -msgstr "Копируется файл %(index)s из %(total)s" +msgstr "Копирование файла %(index)s из %(total)s" #: seahub/templates/repo.html:1052 seahub/templates/repo.html.py:2126 #: seahub/templates/repo.html:2153 @@ -4655,7 +4660,7 @@ msgstr "Ошибка при шифровании." #: seahub/templates/repo.html:1145 #, python-format msgid "Encrypting, %(num)s%% complete." -msgstr "Шифрование, %(num)s%%." +msgstr "Шифрование %(num)s%% завершено." #: seahub/templates/repo.html:1162 msgid "Uploading ..." @@ -4672,7 +4677,7 @@ msgstr "Загрузка..." #: seahub/templates/repo.html:1508 #, python-format msgid "Downloading, %(num)s%% complete." -msgstr "Загрузка, %(num)s%%." +msgstr "Загрузка, %(num)s%% завершена." #: seahub/templates/repo.html:1529 msgid "Decrypting..." @@ -4681,12 +4686,12 @@ msgstr "Расшифровка..." #: seahub/templates/repo.html:1546 #, python-format msgid "Decrypting, %(num)s%% complete." -msgstr "Расшифровка, %(num)s%%." +msgstr "Расшифровка, %(num)s%% завершена." #: seahub/templates/repo.html:1649 #, python-format msgid "Successfully deleted %(name)s" -msgstr "Успешно удален %(name)s" +msgstr "Успешно удалено %(name)s" #: seahub/templates/repo.html:1671 msgid "Rename File" @@ -4715,12 +4720,12 @@ msgstr "Перемещено каталогов" #: seahub/templates/repo.html:1703 #, python-format msgid "Copy %(name)s to:" -msgstr "" +msgstr "Скопировано %(name)s в:" #: seahub/templates/repo.html:1706 #, python-format msgid "Move %(name)s to:" -msgstr "" +msgstr "Перемещено %(name)s в:" #: seahub/templates/repo.html:1729 msgid "Directory download is not supported in this library." @@ -4733,7 +4738,7 @@ msgstr "Отметить" #: seahub/templates/repo.html:1951 seahub/templates/repo.html.py:1991 msgid "It is required." -msgstr "Требуется Email." +msgstr "Это обязательно." #: seahub/templates/repo.html:1957 msgid "Only an extension there, please input a name." @@ -4741,16 +4746,16 @@ msgstr "Здесь только расширение, пожалуйста, вв #: seahub/templates/repo.html:1967 msgid "Creating..." -msgstr "Извлечение ..." +msgstr "Создание..." #: seahub/templates/repo.html:1995 msgid "You have not renamed it." -msgstr "Вы еще не загрузили " +msgstr "Вы не переименовали его." #: seahub/templates/repo.html:2041 #, python-format msgid "Successfully renamed %(old_name)s to %(new_name)s" -msgstr "Успешное переименование %(old_name)s в %(new_name)s" +msgstr "Успешно переименовано %(old_name)s в %(new_name)s" #: seahub/templates/repo.html:2095 #, python-format @@ -4831,7 +4836,7 @@ msgstr "дней" #: seahub/templates/repo_change_password.html:38 msgid "Change the password of this library:" -msgstr "Изменение пароля от этой библиотеки:" +msgstr "Изменить пароль этой библиотеки:" #: seahub/templates/repo_change_password.html:39 msgid "Old Password" @@ -4844,15 +4849,15 @@ msgstr "Новый пароль (не менее %(repo_password_min_length)s с #: seahub/templates/repo_change_password.html:43 msgid "New Password Again" -msgstr "Повторите новый пароль" +msgstr "Новый пароль снова" #: seahub/templates/repo_change_password.html:65 msgid "Please enter the old password" -msgstr "Пожалуйста введите старый пароль" +msgstr "Пожалуйста, введите старый пароль" #: seahub/templates/repo_change_password.html:69 msgid "Please enter the new password" -msgstr "Пожалуйста введите новый пароль" +msgstr "Пожалуйста, введите новый пароль" #: seahub/templates/repo_change_password.html:73 msgid "New password is too short" @@ -4860,7 +4865,7 @@ msgstr "Новый пароль слишком короткий" #: seahub/templates/repo_change_password.html:77 msgid "Please enter the new password again" -msgstr "Пожалуйста введите новый пароль ещё раз" +msgstr "Пожалуйста, введите новый пароль снова" #: seahub/templates/repo_change_password.html:81 msgid "New passwords don't match" @@ -4869,15 +4874,15 @@ msgstr "Новые пароли не совпадают" #: seahub/templates/repo_folder_perm.html:35 #: seahub/templates/js/templates.html:647 msgid "User Permission" -msgstr "" +msgstr "Разрешения пользователя" #: seahub/templates/repo_folder_perm.html:36 msgid "Group permission" -msgstr "" +msgstr "Разрешения группы" #: seahub/templates/repo_folder_perm.html:39 msgid "Add Permission" -msgstr "" +msgstr "Добавить разрешение" #: seahub/templates/repo_folder_perm.html:46 #: seahub/templates/repo_share_manage.html:38 @@ -4899,7 +4904,7 @@ msgstr "Выберите папку" #: seahub/templates/repo_folder_perm.html:260 msgid "Delete succeeded" -msgstr "" +msgstr "Удалено" #: seahub/templates/repo_history.html:14 msgid "modification history" @@ -4909,7 +4914,7 @@ msgstr "история изменений" msgid "" "Tip: A snapshot will be generated after modification, which records the " "library state before this modification." -msgstr "Учтите: снимок создаётся после модификации, и на нем будет зафиксирована основная библиотека до её изменения." +msgstr "Совет: снимок создается после модификации, и на нем будет зафиксирована основная библиотека до ее изменения." #: seahub/templates/repo_history.html:17 msgid "View Snapshot" @@ -4944,7 +4949,7 @@ msgstr "Каталог" #: seahub/templates/repo_recycle_view.html:25 #: seahub/templates/view_trash_file.html:6 msgid "'s trash" -msgstr "(КОРЗИНА)" +msgstr " корзина" #: seahub/templates/repo_recycle_view.html:16 #: seahub/templates/repo_recycle_view.html:106 @@ -4973,62 +4978,62 @@ msgstr "Удалить время" #: seahub/templates/repo_recycle_view.html:107 msgid "Clear files in trash and history:" -msgstr "Удалить из корзины и истории файлы, попавшие туда:" +msgstr "Удалить файлы из корзины и истории" #: seahub/templates/repo_recycle_view.html:109 msgid "3 days ago" -msgstr "более 3 дней назад" +msgstr "3 дня назад" #: seahub/templates/repo_recycle_view.html:110 msgid "1 week ago" -msgstr "более недели назад" +msgstr "1 неделю назад" #: seahub/templates/repo_recycle_view.html:111 msgid "1 month ago" -msgstr "более месяца назад" +msgstr "1 месяц назад" #: seahub/templates/repo_setting_extra_js.html:46 seahub/views/sysadmin.py:206 #: seahub/views/sysadmin.py:223 seahub/views/sysadmin.py:250 #: seahub/views/sysadmin.py:1099 seahub/views/sysadmin.py:1124 msgid "Success" -msgstr "" +msgstr "Успех" #: seahub/templates/repo_share_manage.html:42 msgid "Share Library" -msgstr "" +msgstr "Поделиться библиотекой" #: seahub/templates/repo_share_manage.html:116 #: seahub/templates/js/templates.html:431 #: seahub/templates/js/templates.html:452 msgid "People:" -msgstr "" +msgstr "Люди:" #: seahub/templates/repo_share_manage.html:119 #: seahub/templates/js/templates.html:434 msgid "Groups:" -msgstr "" +msgstr "Группы:" #: seahub/templates/repo_share_manage.html:122 #: seahub/templates/js/templates.html:437 msgid "Permission:" -msgstr "" +msgstr "Права:" #: seahub/templates/repo_share_manage.html:152 msgid "Select groups" -msgstr "" +msgstr "Выбор групп" #: seahub/templates/repo_share_manage.html:168 msgid "Please select a email or a group." -msgstr "" +msgstr "Пожалуйста, выберите email адрес или группу" #: seahub/templates/repo_shared_link.html:45 #: seahub/templates/repo_shared_link.html:71 msgid "Created By" -msgstr "Создатель" +msgstr "Создано" #: seahub/templates/repo_shared_link.html:119 msgid "Removed successfully." -msgstr "" +msgstr "Удалено." #: seahub/templates/repo_transfer_owner.html:37 msgid "Transfer this library to another user:" @@ -5093,7 +5098,7 @@ msgstr "Доступно для" #: seahub/templates/shared_file_view.html:69 #: seahub/templates/view_shared_dir.html:97 msgid "File download is disabled: the share link traffic of owner is used up." -msgstr "Загрузка файла недоступна: превышен объём скачивания по этой ссылке." +msgstr "Скачивание файла недоступно: трафик по ссылке превышен." #: seahub/templates/shared_link_email.html:9 #: seahub/templates/shared_upload_link_email.html:8 @@ -5103,23 +5108,23 @@ msgstr "Загрузка файла недоступна: превышен об #: seahub/templates/sysadmin/user_add_email.html:9 #: seahub/templates/sysadmin/user_reset_email.html:9 msgid "Hi," -msgstr "Привет," +msgstr "Здравствуйте," #: seahub/templates/shared_link_email.html:12 #, python-format msgid "" "%(email)s shared a %(file_shared_type)s %(file_shared_name)s to you on %(site_name)s:" -msgstr "" +msgstr "%(email)s поделился с вами %(file_shared_name)s.

Перейдите по ссылке, чтобы посмотреть." #: seahub/templates/shared_upload_link_email.html:11 #, python-format msgid "%(email)s shared an upload link to you on %(site_name)s." -msgstr "%(email)s предоставил вам ссылку для загрузки файлов в %(site_name)s." +msgstr "%(email)s поделился с вами ссылкой для загрузки файлов." #: seahub/templates/shared_upload_link_email.html:15 msgid "You can go to the following page and upload your files:" -msgstr "Для загрузки файлов, перейдите пожалуйста на страницу:" +msgstr "Перейдите по ссылке, чтобы загрузить файлы." #: seahub/templates/starred.html:4 msgid "Stars" @@ -5144,7 +5149,7 @@ msgstr "подробности изменений" #: seahub/templates/text_diff.html:7 #: seahub/templates/view_history_file.html:19 msgid "Back to file versions" -msgstr "К предыдущей версиии файла" +msgstr "К предыдущей версии файла" #: seahub/templates/text_diff.html:22 msgid "It's a newly-created blank file." @@ -5190,7 +5195,7 @@ msgstr " " #: seahub/templates/view_file_markdown.html:7 #: seahub/templates/view_file_text.html:18 msgid "updated this file" -msgstr "обновить этот файл" +msgstr "этот файл обновлен" #: seahub/templates/view_file_base.html:59 #: seahub/templates/js/templates.html:39 @@ -5206,12 +5211,12 @@ msgstr "Общий доступ" #: seahub/templates/view_file_base.html:91 #: seahub/templates/snippets/bottom_bar.html:15 msgid "Back to top" -msgstr "" +msgstr "Вернуться к началу" #: seahub/templates/view_file_base.html:91 #: seahub/templates/snippets/bottom_bar.html:15 msgid "top" -msgstr "" +msgstr "вверх" #: seahub/templates/view_file_image.html:15 #: seahub/templates/snippets/file_content_html.html:30 @@ -5270,12 +5275,12 @@ msgstr "Загрузка..." msgid "" "You can use IE 10 or other browsers, for example, firefox, to view it " "online." -msgstr "Вы можете использовать IE 10 или другие браузеры, например, Firefox,для просмотра в режиме он-лайн." +msgstr "Вы можете использовать IE 10 или другие браузеры, например, Firefox, для просмотра онлайн." #: seahub/templates/view_file_svg.html:7 #: seahub/templates/snippets/file_content_js.html:63 msgid "To view it online, you can use firefox, chrome or IE 9." -msgstr "Для просмотра в режиме он-лайн, вы можете использовать Firefox, Chrome или IE 9." +msgstr "Для просмотра онлайн, вы можете использовать Firefox, Chrome или IE 9." #: seahub/templates/view_history_file.html:16 msgid "history" @@ -5287,29 +5292,29 @@ msgstr "ZIP" #: seahub/templates/view_shared_dir.html:105 msgid "Close (Esc)" -msgstr "" +msgstr "Закрыть (Esc)" #: seahub/templates/view_shared_dir.html:109 msgid "Previous (Left arrow key)" -msgstr "" +msgstr "Предыдущий (Стрелка влево)" #: seahub/templates/view_shared_dir.html:110 msgid "Next (Right arrow key)" -msgstr "" +msgstr "Следующий (Стрелка вправо)" #: seahub/templates/view_shared_dir.html:111 #, python-format msgid "%%curr%% of %%total%%" -msgstr "" +msgstr "%%curr%% из %%total%%" #: seahub/templates/view_shared_dir.html:117 msgid "Open in New Tab" -msgstr "" +msgstr "Открыть в новой вкладке" #: seahub/templates/view_shared_dir.html:120 #, python-format msgid "The image could not be loaded." -msgstr "" +msgstr "Изображение не может быть загружено." #: seahub/templates/view_shared_upload_link.html:21 #, python-format @@ -5322,7 +5327,7 @@ msgstr "предоставлено:" #: seahub/templates/view_shared_upload_link.html:31 msgid "Add Files" -msgstr "Добавить файл" +msgstr "Добавить файлы" #: seahub/templates/view_shared_upload_link.html:37 msgid "Add folder" @@ -5341,7 +5346,7 @@ msgstr "Функция \"Drag & Drop\" для папок доступна в Chr #: seahub/templates/view_shared_upload_link.html:52 #, python-format msgid "File size should be smaller than %(max_file_size)s" -msgstr "Размер файла должен быть меньше чем %(max_file_size)s" +msgstr "Размер файла должен быть меньше, чем %(max_file_size)s" #: seahub/templates/view_trash_file.html:7 msgid "Back to Library" @@ -5361,15 +5366,15 @@ msgstr "Файл с таким именем уже существует в эт #: seahub/templates/js/lib-op-popups.html:114 msgid "Replacing it will overwrite its content." -msgstr "" +msgstr "Замена приведет к его перезаписи." #: seahub/templates/js/lib-op-popups.html:115 msgid "Replace" -msgstr "" +msgstr "Заменить" #: seahub/templates/js/lib-op-popups.html:116 msgid "Don't replace" -msgstr "" +msgstr "Не заменять" #: seahub/templates/js/templates.html:8 #: seahub/templates/snippets/repo_create_form.html:9 @@ -5404,7 +5409,7 @@ msgstr "Подтвердите пароль" #: seahub/templates/js/templates.html:71 #: seahub/templates/js/templates.html:757 msgid "Encrypted" -msgstr "" +msgstr "Зашифровано" #: seahub/templates/js/templates.html:117 #: seahub/templates/snippets/repo_dir_data.html:16 @@ -5430,7 +5435,7 @@ msgstr "Больше операций" #: seahub/templates/js/templates.html:298 msgid "Fetch failed" -msgstr "" +msgstr "Ошибка извлечения" #: seahub/templates/js/templates.html:322 #: seahub/templates/snippets/file_share_popup.html:6 @@ -5453,7 +5458,7 @@ msgstr "Ссылка для загрузки" #: seahub/templates/snippets/file_share_popup.html:21 #: seahub/templates/snippets/file_share_popup.html:67 msgid "Add password protection" -msgstr "Установить парольную защиту" +msgstr "Защитить паролем" #: seahub/templates/js/templates.html:361 #: seahub/templates/js/templates.html:404 @@ -5490,7 +5495,7 @@ msgstr "Отправить: " #: seahub/templates/snippets/file_share_popup.html:47 #: seahub/templates/snippets/file_share_popup.html:85 msgid "Emails, Seperated by ','" -msgstr "Email(ы), разделённые ','" +msgstr "Email(ы), разделенные ','" #: seahub/templates/js/templates.html:377 #: seahub/templates/js/templates.html:413 @@ -5511,16 +5516,16 @@ msgstr "Отправка ..." msgid "" "You can share the generated link to others and then they can upload files to" " this directory via the link." -msgstr "Вы можете поделиться сгенерированной ссылкой с другими людьми, и они смогу загружать файлы в эту папку." +msgstr "Вы можете поделиться сгенерированной ссылкой с другими людьми, и они смогут загружать файлы в эту папку." #: seahub/templates/js/templates.html:407 #: seahub/templates/snippets/file_share_popup.html:79 msgid "Upload Link: " -msgstr "Ссылка для загрузки:" +msgstr "Ссылка для загрузки: " #: seahub/templates/js/templates.html:648 msgid "Group Permission" -msgstr "" +msgstr "Разрешения группы" #: seahub/templates/js/templates.html:735 msgid "Select libraries to share" @@ -5532,14 +5537,14 @@ msgid "" "You (or someone pretending to be you) have asked to register an account at " "%(site_name)s. If this wasn't you, please ignore this email and your address" " will be removed from our records." -msgstr "" +msgstr "Вы (или кто-то другой) просили зарегистрировать учетную запись на %(site_name)s. Если вы этого не делали, просто проигнорируйте это сообщение." #: seahub/templates/registration/activation_email.html:14 #, python-format msgid "" "To activate this account, please click the following link within the next " "%(expiration_days)s days: " -msgstr "" +msgstr "Для активации аккаунта перейдите по ссылке или скопируйте ее в адресную строку браузера, в течение следующих %(expiration_days)s дней: " #: seahub/templates/registration/login.html:4 #: seahub/templates/registration/login.html:32 @@ -5556,7 +5561,7 @@ msgstr "(забыли пароль)" #: seahub/templates/registration/login.html:40 msgid "CAPTCHA" -msgstr "CAPTCHA" +msgstr "Введите код с картинки" #: seahub/templates/registration/login.html:42 msgid "Not clear? Refresh it." @@ -5574,17 +5579,17 @@ msgstr "Запомнить меня на %(remember_days)s дней" #: seahub/templates/registration/login.html:66 #: seahub/templates/sysadmin/sudo_mode.html:20 msgid "Shibboleth" -msgstr "" +msgstr "Речевой пароль" #: seahub/templates/registration/login.html:91 msgid "Failed to refresh the CAPTCHA, please try again later." -msgstr "Не удалось обновить CAPTCHA, попробуйте снова." +msgstr "Не удалось обновить картинку, попробуйте позже." #: seahub/templates/registration/login.html:98 #: seahub/templates/registration/registration_form.html:84 #: seahub/templates/sysadmin/sys_useradmin.html:98 msgid "Email cannot be blank" -msgstr "E-mail не может быть пустым" +msgstr "Email не может быть пустым" #: seahub/templates/registration/login.html:102 #: seahub/templates/registration/password_change_form.html:61 @@ -5646,7 +5651,7 @@ msgstr "Пароль должен быть не короче %(min_len)s сим #: seahub/templates/registration/password_change_form.html:57 msgid "Current password cannot be blank" -msgstr "Текущий пароль не может быть пустым" +msgstr "Пароль не может быть пустым" #: seahub/templates/registration/password_change_form.html:65 #: seahub/templates/registration/registration_form.html:92 @@ -5704,26 +5709,26 @@ msgstr "Пароль успешно изменен" #: seahub/templates/registration/password_reset_done.html:8 msgid "We've sent a password reset email to your mailbox." -msgstr "Мы отправили письмо об изменении пароля вам на электронную почту." +msgstr "Мы отправили письмо для сброса пароля на ваш почтовый ящик." #: seahub/templates/registration/password_reset_email.html:12 #, python-format msgid "" "To reset the password of your account %(account)s on %(site_name)s, please " "click the following link: " -msgstr "Чтобы задать новый пароль для вашей учётной записи %(account)s на %(site_name)s, перейдите по ссылке:" +msgstr "Для сброса пароля к вашему аккаунту %(account)s на %(site_name)s, пожалуйста перейдите по следующей ссылке: " #: seahub/templates/registration/password_reset_email.html:17 msgid "If you did not request it, just skip it." -msgstr "Если вы не запрашивали изменение пароля, не обращайте внимание на это сообщение." +msgstr "Если вы не запрашивали изменение пароля, просто проигнорируйте это сообщение." #: seahub/templates/registration/password_reset_form.html:9 msgid "Your email used in login: " -msgstr "Ваш E-mail используется как логин:" +msgstr "Ваш email используется как логин: " #: seahub/templates/registration/password_reset_form.html:12 msgid "We will send you an email to set new password" -msgstr "Мы отправим Вам на E-mail новый пароль" +msgstr "Мы отправим Вам на email новый пароль" #: seahub/templates/registration/registration_complete.html:4 msgid "Registration complete" @@ -5743,7 +5748,7 @@ msgstr "Регистрация завершена. Подождите актив #: seahub/templates/registration/registration_form.html:3 msgid "Register" -msgstr "Зарегестрироваться" +msgstr "Зарегистрироваться" #: seahub/templates/registration/registration_form.html:14 msgid "Welcome back, you are already signed in." @@ -5780,7 +5785,7 @@ msgstr "Пожалуйста, начните обсуждение." #: seahub/templates/snippets/file_share_popup.html:3 #, python-format msgid "Share %(name)s" -msgstr "Общий доступ к %(name)s" +msgstr "Поделиться %(name)s" #: seahub/templates/snippets/group_recommend_form.html:5 msgid "Post a discussion to group" @@ -5804,7 +5809,7 @@ msgstr "Удаленные файлы" #: seahub/templates/snippets/list_commit_detail.html:26 msgid "Renamed or Moved files" -msgstr "переименованные или перемещённые файлы" +msgstr "переименованные или перемещенные файлы" #: seahub/templates/snippets/list_commit_detail.html:27 msgid "Modified files" @@ -5848,7 +5853,7 @@ msgstr "средней сложности" #: seahub/templates/snippets/password_strength_js.html:45 msgid "strong" -msgstr "надёжный" +msgstr "надежный" #: seahub/templates/snippets/repo_create_js.html:34 msgid "Name is required" @@ -5877,7 +5882,7 @@ msgstr "Успешно удалено." #: seahub/templates/snippets/repo_del_popup.html:3 #, python-format msgid "Really want to delete %(lib_name)s ?" -msgstr "Действительно хотите удалить %(lib_name)s ?" +msgstr "Вы действительно хотите удалить %(lib_name)s ?" #: seahub/templates/snippets/repo_share_form.html:3 #, python-format @@ -5891,13 +5896,13 @@ msgstr "Ввод" #: seahub/templates/snippets/repo_share_form.html:11 msgid "Emails or Groups, Seperated by ','" -msgstr "E-mail(ы) или группы, разделенные ','" +msgstr "Email(ы) или группы, разделенные ','" #: seahub/templates/snippets/repo_share_form.html:14 msgid "" "Tip: must be organization members or organization groups, enter \"all\" to " "share to public library." -msgstr "Учтите: вы должны быть участником сообщества или группы сообществ, введите \"все\", чтобы дать общий доступ к публичной библиотеке." +msgstr "Совет: вы должны быть участником сообщества или группы сообществ, введите \"все\", чтобы дать общий доступ к публичной библиотеке." #: seahub/templates/snippets/repo_share_form.html:17 msgid "Tip: enter \"all\" to share to public library." @@ -5997,27 +6002,27 @@ msgstr "Удалить контакт" #: seahub/templates/snippets/shared_link_js.html:178 #: seahub/templates/snippets/shared_link_js.html:357 msgid "Please input at least an email." -msgstr "Пожалуйста, введите по крайней мере, E-mail." +msgstr "Пожалуйста, введите по крайней мере, email." #: seahub/templates/snippets/shared_link_js.html:201 #: seahub/templates/snippets/shared_link_js.html:378 #, python-brace-format msgid "Successfully sent to {placeholder}" -msgstr "" +msgstr "Успешно отправлено {placeholder}" #: seahub/templates/snippets/shared_link_js.html:205 #: seahub/templates/snippets/shared_link_js.html:382 #, python-brace-format msgid "Failed to send to {placeholder}" -msgstr "" +msgstr "Не удалось отправить {placeholder}" #: seahub/templates/snippets/shared_link_js.html:273 msgid "Please enter days" -msgstr "" +msgstr "Пожалуйста, введите дни" #: seahub/templates/snippets/shared_link_js.html:279 msgid "Please enter valid days" -msgstr "" +msgstr "Пожалуйста, введите правильные дни" #: seahub/templates/snippets/space_and_traffic.html:3 msgid "Used:" @@ -6060,7 +6065,7 @@ msgstr "Смена владельца библиотеки" #: seahub/templates/sysadmin/repo_transfer_form.html:4 #, python-format msgid "Transfer %(lib_name)s to:" -msgstr "Передача %(lib_name)s к:" +msgstr "Смена владельца %(lib_name)s на:" #: seahub/templates/sysadmin/repoadmin_table.html:6 #: seahub/templates/sysadmin/sys_org_admin.html:20 @@ -6073,7 +6078,7 @@ msgstr "Владелец" #: seahub/templates/sysadmin/sudo_mode.html:8 msgid "Confirm password to continue" -msgstr "Подтвердите пароль чтобы продолжить" +msgstr "Подтвердите пароль, чтобы продолжить" #: seahub/templates/sysadmin/sudo_mode.html:13 msgid "Incorrect password" @@ -6081,7 +6086,7 @@ msgstr "Неправильный пароль" #: seahub/templates/sysadmin/sudo_mode.html:24 msgid "Tip:" -msgstr "" +msgstr "Совет:" #: seahub/templates/sysadmin/sudo_mode.html:24 msgid "" @@ -6091,11 +6096,11 @@ msgstr "Вы переходите в административный разде #: seahub/templates/sysadmin/sys_admin_group_info.html:12 msgid "back to group list" -msgstr "" +msgstr "вернуться к списку групп" #: seahub/templates/sysadmin/sys_admin_group_info.html:14 msgid "Group Info" -msgstr "" +msgstr "Информация о группе" #: seahub/templates/sysadmin/sys_admin_group_info.html:20 #: seahub/templates/sysadmin/sys_group_admin.html:13 @@ -6110,13 +6115,13 @@ msgstr "Ни одна библиотека не была предоставле #: seahub/templates/sysadmin/sys_admin_group_info.html:71 msgid "admin" -msgstr "" +msgstr "admin" #: seahub/templates/sysadmin/sys_group_admin.html:14 #: seahub/templates/sysadmin/sys_org_info_group.html:20 #: seahub/templates/sysadmin/sys_publink_admin.html:14 msgid "Create At" -msgstr "Создать у" +msgstr "Создать как" #: seahub/templates/sysadmin/sys_group_admin.html:42 #: seahub/templates/sysadmin/sys_org_info_group.html:43 @@ -6125,23 +6130,23 @@ msgstr "Удалить группу" #: seahub/templates/sysadmin/sys_info.html:10 msgid "System Info" -msgstr "" +msgstr "Информация о системе" #: seahub/templates/sysadmin/sys_info.html:12 msgid "Professional Edition" -msgstr "" +msgstr "Professional Edition" #: seahub/templates/sysadmin/sys_info.html:12 msgid "expires on" -msgstr "" +msgstr "истекает" #: seahub/templates/sysadmin/sys_info.html:14 msgid "Community Edition" -msgstr "" +msgstr "Community Edition" #: seahub/templates/sysadmin/sys_info.html:15 msgid "Upgrade to Pro Edition" -msgstr "" +msgstr "Обновить до Pro версии" #: seahub/templates/sysadmin/sys_list_system.html:7 #: seahub/templates/sysadmin/sys_repo_admin.html:12 @@ -6176,7 +6181,7 @@ msgstr "Префикс URL" #: seahub/templates/sysadmin/sys_org_admin.html:20 msgid "Owner can use admin panel in an organization, must be a new account." -msgstr "" +msgstr "Владелец может использовать админ-панель в сообществе, должен быть новый аккаунт." #: seahub/templates/sysadmin/sys_org_admin.html:37 #: seahub/templates/sysadmin/sys_org_info_base.html:27 @@ -6186,27 +6191,27 @@ msgstr "" #: seahub/templates/sysadmin/useradmin_table.html:7 #: seahub/templates/sysadmin/userinfo.html:42 msgid "Space Used" -msgstr "Использованно пространства" +msgstr "Использовано пространства" #: seahub/templates/sysadmin/sys_org_admin.html:38 msgid "Created At" -msgstr "" +msgstr "Созданный В" #: seahub/templates/sysadmin/sys_org_admin.html:62 msgid "None." -msgstr "" +msgstr "Ничего." #: seahub/templates/sysadmin/sys_org_admin.html:84 msgid "Name can not be blank" -msgstr "" +msgstr "Имя не может быть пустым" #: seahub/templates/sysadmin/sys_org_admin.html:88 msgid "Url can not be blank" -msgstr "" +msgstr "Url не может быть пустым" #: seahub/templates/sysadmin/sys_org_admin.html:92 msgid "Owner can not be blank" -msgstr "" +msgstr "Владелец не может быть пустым" #: seahub/templates/sysadmin/sys_org_admin.html:96 msgid "Password can not be blank" @@ -6220,17 +6225,17 @@ msgstr "Пароли не совпадают" #: seahub/templates/sysadmin/sys_org_admin.html:143 #: seahub/templates/sysadmin/useradmin_js.html:19 msgid "Remove Trial" -msgstr "" +msgstr "Удалить пробную версию" #: seahub/templates/sysadmin/sys_org_admin.html:144 #: seahub/templates/sysadmin/useradmin_js.html:20 #, python-format msgid "Are you sure you want to remove trial for %s ?" -msgstr "" +msgstr "Вы уверены, что хотите удалить пробную версию для %s ?" #: seahub/templates/sysadmin/sys_org_info_base.html:17 msgid "Back to organization list" -msgstr "Назад к списку сообществ" +msgstr "Назад к списку сообщества" #: seahub/templates/sysadmin/sys_org_info_base.html:21 msgid "Number of members" @@ -6247,12 +6252,12 @@ msgstr "Установить квоту" #: seahub/templates/sysadmin/sys_org_info_base.html:32 msgid "Set org storage limit" -msgstr "Установить ограничение объема данных для сообщества" +msgstr "Задать лимит хранения для сообщества" #: seahub/templates/sysadmin/sys_org_info_base.html:35 #: seahub/templates/sysadmin/userinfo.html:58 msgid "Tip: 0 means default limit" -msgstr "Учтите: по умолчанию 0 - без ограничений" +msgstr "Совет: по умолчанию 0 - без ограничений" #: seahub/templates/sysadmin/sys_org_info_group.html:34 msgid "This organization doesn't have any groups" @@ -6268,15 +6273,15 @@ msgstr "Переименовать сообщество" #: seahub/templates/sysadmin/sys_org_info_setting.html:18 msgid "New Name" -msgstr "" +msgstr "Новое имя" #: seahub/templates/sysadmin/sys_org_info_setting.html:24 msgid "Limit Organization User Number" -msgstr "" +msgstr "Ограничение количества пользователей в сообществе" #: seahub/templates/sysadmin/sys_org_info_setting.html:26 msgid "Max User Number" -msgstr "" +msgstr "Максимальное количество пользователей" #: seahub/templates/sysadmin/sys_org_info_setting.html:52 #: seahub/views/sysadmin.py:1118 @@ -6396,60 +6401,60 @@ msgstr "Очистить корзину" #: seahub/templates/sysadmin/sys_repo_trash.html:28 msgid "Deleted Time" -msgstr "" +msgstr "Время удаления" #: seahub/templates/sysadmin/sys_repo_trash.html:49 msgid "No library deleted yet" -msgstr "Нет удалённых библиотек" +msgstr "Нет удаленных библиотек" #: seahub/templates/sysadmin/sys_repo_trash.html:59 msgid "Delete Library By Owner" -msgstr "" +msgstr "Библиотека удалена владельцем" #: seahub/templates/sysadmin/sys_repo_trash.html:60 #, python-format msgid "Are you sure you want to delete all %s's libraries?" -msgstr "" +msgstr "Вы действительно хотите удалить все %s's библиотек?" #: seahub/templates/sysadmin/sys_repo_trash.html:65 msgid "Are you sure you want to clear trash?" -msgstr "" +msgstr "Вы действительно хотите очистить корзину?" #: seahub/templates/sysadmin/sys_repo_trash.html:70 #, python-format msgid "Are you sure you want to restore %s?" -msgstr "" +msgstr "Вы действительно хотите восстановить %s?" #: seahub/templates/sysadmin/sys_repo_trash.html:73 msgid "Delete Library" -msgstr "" +msgstr "Удалить библиотеку" #: seahub/templates/sysadmin/sys_repo_trash.html:74 #, python-format msgid "Are you sure you want to delete %s completely?" -msgstr "" +msgstr "Вы действительно хотите полностью удалить %s?" #: seahub/templates/sysadmin/sys_trafficadmin.html:19 msgid "User Traffic" -msgstr "" +msgstr "Трафик пользователя" #: seahub/templates/sysadmin/sys_trafficadmin.html:22 msgid "Month:" -msgstr "" +msgstr "Месяц:" #: seahub/templates/sysadmin/sys_trafficadmin.html:29 msgid "Total Usage" -msgstr "" +msgstr "Всего использовано" #: seahub/templates/sysadmin/sys_useradmin.html:15 #: seahub/templates/sysadmin/sys_useradmin_admins.html:7 #: seahub/templates/sysadmin/sys_useradmin_ldap.html:8 msgid "Search users..." -msgstr "Искать пользователей..." +msgstr "Поиск пользователей..." #: seahub/templates/sysadmin/sys_useradmin.html:29 msgid "Import users" -msgstr "" +msgstr "Импорт пользователей" #: seahub/templates/sysadmin/sys_useradmin.html:30 #: seahub/templates/sysadmin/sys_useradmin.html:35 @@ -6466,7 +6471,7 @@ msgstr "Роль" msgid "" "You can also add a user as a guest, who will not be allowed to create " "libraries and groups." -msgstr "" +msgstr "Вы можете также добавить пользователя как гостя, которому не разрешено создание библиотек и групп." #: seahub/templates/sysadmin/sys_useradmin.html:41 #: seahub/templates/sysadmin/sys_useradmin_admins.html:77 @@ -6474,7 +6479,7 @@ msgstr "" #: seahub/templates/sysadmin/useradmin_table.html:44 #: seahub/templates/sysadmin/useradmin_table.html:52 msgid "Default" -msgstr "" +msgstr "По умолчанию" #: seahub/templates/sysadmin/sys_useradmin.html:42 #: seahub/templates/sysadmin/sys_useradmin_admins.html:75 @@ -6482,24 +6487,24 @@ msgstr "" #: seahub/templates/sysadmin/useradmin_table.html:42 #: seahub/templates/sysadmin/useradmin_table.html:53 msgid "Guest" -msgstr "" +msgstr "Гость" #: seahub/templates/sysadmin/sys_useradmin.html:54 msgid "Import users from a CSV file" -msgstr "Импортировать список пользователей из CSV-файла" +msgstr "Импортировать список пользователей из CSV файла" #: seahub/templates/sysadmin/sys_useradmin.html:56 msgid "File format: user@mail.com,password" -msgstr "Формат файла: user@mail.com,password" +msgstr "Формат файла: user@mail.com,пароль" #: seahub/templates/sysadmin/sys_useradmin.html:57 msgid "Please choose a CSV file" -msgstr "Пожалуйста выберите CSV-файл" +msgstr "Пожалуйста, выберите CSV файл" #: seahub/templates/sysadmin/sys_useradmin.html:80 #, python-format msgid "A new server version %(v)s is available." -msgstr "" +msgstr "Новая версия сервера %(v)s доступна." #: seahub/templates/sysadmin/sys_useradmin_admins.html:20 msgid "Add admin" @@ -6511,11 +6516,11 @@ msgstr "Добавить администраторов" #: seahub/templates/sysadmin/sys_useradmin_admins.html:30 msgid "emails, separated by ','" -msgstr "email(ы), разделённые ','" +msgstr "email(ы), разделенные ','" #: seahub/templates/sysadmin/sys_useradmin_admins.html:31 msgid "Tip: the emails should be the users already added." -msgstr "" +msgstr "Совет: email адреса должны быть пользователями уже добавлены" #: seahub/templates/sysadmin/sys_useradmin_admins.html:111 #: seahub/templates/sysadmin/useradmin_js.html:11 @@ -6529,32 +6534,32 @@ msgstr "Назначить администратора" #: seahub/templates/sysadmin/sys_useradmin_admins.html:149 msgid "Please enter emails, or select some." -msgstr "Пожалуйста введите или выберите E-Mail." +msgstr "Пожалуйста, введите или выберите email." #: seahub/templates/sysadmin/user_activation_email.html:12 #, python-format msgid "Your account %(username)s on %(site_name)s has been activated." -msgstr "" +msgstr "Ваш аккаунт %(username)s на %(site_name)s был активирован." #: seahub/templates/sysadmin/user_add_email.html:13 #, python-format msgid "" "%(user)s invited you to join organization \"%(org_name)s\" on %(site_name)s." -msgstr "" +msgstr "%(user)s пригласил вас присоединиться к сообществу \"%(org_name)s\" на %(site_name)s." #: seahub/templates/sysadmin/user_add_email.html:15 #, python-format msgid "%(user)s invited you to join %(site_name)s." -msgstr "" +msgstr "%(user)s пригласил вас присоединиться к %(site_name)s." #: seahub/templates/sysadmin/user_add_email.html:20 msgid "Here is your account information:" -msgstr "Вот информация о вашей учетной записи:" +msgstr "Здесь ваша информация об аккаунте:" #: seahub/templates/sysadmin/user_add_email.html:21 #, python-format msgid "Email: %(email)s" -msgstr "E-Mail: %(email)s" +msgstr "Email: %(email)s" #: seahub/templates/sysadmin/user_add_email.html:22 #, python-format @@ -6566,7 +6571,7 @@ msgstr "Пароль: %(password)s" msgid "" "Your password on %(site_name)s has been reset. Now it is %(password)s. " "Please change it as soon as possible. " -msgstr "Ваш пароль на %(site_name)s был сброшен. Новый пароль: %(password)s. Пожалуйста смените его при первой возможности." +msgstr "Ваш пароль на %(site_name)s был сброшен. Новый пароль: %(password)s. Пожалуйста, смените его при первой возможности." #: seahub/templates/sysadmin/user_search.html:7 msgid "Search User" @@ -6604,15 +6609,15 @@ msgstr "Общий доступ от" #: seahub/templates/sysadmin/userinfo.html:131 msgid "Type" -msgstr "" +msgstr "Тип" #: seahub/templates/sysadmin/userinfo.html:189 msgid "Space Quota can't be empty" -msgstr "" +msgstr "Значение общей квоты не может быть пустым" #: seahub/templates/sysadmin/userinfo.html:198 msgid "Share Quota can't be empty" -msgstr "Значение квоты не может быть пустым" +msgstr "Значение общедоступной квоты не может быть пустым" #: seahub/templates/wiki/personal_wiki.html:32 msgid "You do not have personal wiki" @@ -6638,23 +6643,23 @@ msgstr "Доступ запрещен" #: seahub/thumbnail/views.py:37 msgid "Thumbnail function is not enabled." -msgstr "Функция создания миниатюр отключена." +msgstr "Функция создания эскизов отключена." #: seahub/thumbnail/views.py:48 msgid "Image thumbnail is not supported in encrypted libraries." -msgstr "Миниатюры изображений в зашифрованных библиотеках не поддерживаются." +msgstr "Эскизы изображений в зашифрованных библиотеках не поддерживаются." #: seahub/thumbnail/views.py:56 msgid "Invalid arguments." -msgstr "" +msgstr "Недопустимые аргументы" #: seahub/thumbnail/views.py:74 msgid "Please login first." -msgstr "" +msgstr "Пожалуйста, сначала войдите" #: seahub/thumbnail/views.py:87 msgid "Wrong path." -msgstr "" +msgstr "Неправильный путь." #: seahub/thumbnail/views.py:100 msgid "Image file is too large." @@ -6662,7 +6667,7 @@ msgstr "Изображение слишком велико." #: seahub/thumbnail/views.py:120 msgid "Failed to create thumbnail." -msgstr "" +msgstr "Не удалось создать эскиз." #: seahub/utils/__init__.py:134 msgid "permission error" @@ -6674,7 +6679,7 @@ msgstr "Не удается просмотреть страницу" #: seahub/views/__init__.py:765 seahub/views/__init__.py:779 msgid "Root Directory" -msgstr "" +msgstr "Основная папка" #: seahub/views/__init__.py:807 msgid "Filename contains invalid character" @@ -6690,7 +6695,7 @@ msgstr "Размер файла превышает лимит" #: seahub/views/__init__.py:815 msgid "The space of owner is used up, upload failed" -msgstr "Все пространство использованно, загрузить не удалось" +msgstr "Все пространство использовано, загрузить не удалось" #: seahub/views/__init__.py:817 msgid "An error occurs during file transfer" @@ -6755,11 +6760,11 @@ msgstr "Невозможно получить доступ к файлу." #: seahub/views/__init__.py:1428 msgid "No revisions found" -msgstr "" +msgstr "Изменений не найдено" #: seahub/views/__init__.py:1479 seahub/views/__init__.py:1530 msgid "Failed to restore, please try again later." -msgstr "" +msgstr "Не удалось восстановить, пожалуйста, попробуйте позже." #: seahub/views/__init__.py:1497 #, python-format @@ -6779,7 +6784,7 @@ msgstr "Успешно возвращено %(path)s в ос #: seahub/views/__init__.py:1815 seahub/views/repo.py:447 #, python-format msgid "\"%s\" does not exist." -msgstr "" +msgstr "\"%s\" не существует." #: seahub/views/__init__.py:1834 seahub/views/file.py:961 #: seahub/views/repo.py:383 @@ -6794,7 +6799,7 @@ msgstr "Не удается загрузить каталог \"%s\": разме #: seahub/views/__init__.py:1845 #, python-format msgid "Unable to download \"%s\"" -msgstr "Не удаётся загрузить \"%s\"" +msgstr "Не удается загрузить \"%s\"" #: seahub/views/__init__.py:1982 msgid "Successfully enable \"Personal Wiki\"." @@ -6810,7 +6815,7 @@ msgstr "У вас нет разрешения на доступ к библио #: seahub/views/ajax.py:103 msgid "No path." -msgstr "No path." +msgstr "Нет пути." #: seahub/views/ajax.py:179 msgid "The group doesn't exist" @@ -6824,7 +6829,7 @@ msgstr "Библиотека зашифрована." #: seahub/views/ajax.py:275 seahub/views/ajax.py:369 seahub/views/ajax.py:445 #: seahub/views/ajax.py:1257 msgid "Error: no head commit id" -msgstr "Ошибка: не верный путь." +msgstr "Ошибка: неверный путь." #: seahub/views/ajax.py:684 seahub/views/ajax.py:733 msgid "Argument missing." @@ -6837,12 +6842,12 @@ msgstr "Путь назначения слишком длинный." #: seahub/views/ajax.py:841 seahub/views/ajax.py:912 #, python-format msgid "Successfully moved %(name)s" -msgstr "" +msgstr "Успешно перемещено %(name)s." #: seahub/views/ajax.py:869 seahub/views/ajax.py:949 #, python-format msgid "Successfully copied %(name)s" -msgstr "" +msgstr "Успешно скопировано %(name)s." #: seahub/views/ajax.py:886 seahub/views/ajax.py:1039 #, python-format @@ -6852,7 +6857,7 @@ msgstr "Не удается переместить каталог %(src)s в п #: seahub/views/ajax.py:928 seahub/views/ajax.py:1082 #, python-format msgid "Can not copy directory %(src)s to its subdirectory %(des)s" -msgstr "Невозможно скопировать папку %(src)s в её подпапку %(des)s" +msgstr "Невозможно скопировать папку %(src)s в ее подпапку %(des)s" #: seahub/views/ajax.py:990 #, python-format @@ -6861,24 +6866,24 @@ msgstr "Путь назначения для %s слишком длинный." #: seahub/views/ajax.py:1159 msgid "Cancel failed" -msgstr "" +msgstr "Не удалось отменить" #: seahub/views/ajax.py:1286 seahub/views/ajax.py:1304 #: seahub/views/ajax.py:1957 seahub/views/ajax.py:2020 msgid "You do not have permission to create library" -msgstr "" +msgstr "У вас нет прав для создания библиотеки" #: seahub/views/ajax.py:1292 msgid "Repo not found." -msgstr "" +msgstr "Repo не найден" #: seahub/views/ajax.py:1324 seahub/views/ajax.py:1348 msgid "Failed to create sub library, please try again later." -msgstr "" +msgstr "Не удалось создать суб-библиотеку, пожалуйста, попробуйте позже" #: seahub/views/ajax.py:1368 msgid "Failed to get file block list" -msgstr "Не возможно получить список блокировки файлов" +msgstr "Невозможно получить список блокировки файлов" #: seahub/views/ajax.py:1406 msgid "Wrong repo id" @@ -6890,11 +6895,11 @@ msgstr "Системная библиотека не может быть уда #: seahub/views/ajax.py:1847 msgid "Bad upload link token." -msgstr "" +msgstr "Плохой токен ссылки загрузки." #: seahub/views/ajax.py:1853 msgid "Bad repo id in upload link." -msgstr "" +msgstr "Плохой repo id в ссылке загрузки." #: seahub/views/ajax.py:1907 msgid "No conflict in the merge." @@ -6902,7 +6907,7 @@ msgstr "Нет конфликта при слиянии." #: seahub/views/ajax.py:2126 msgid "Failed to edit library information." -msgstr "Не удается просмотреть библиотеку" +msgstr "Не удалось изменить информацию о библиотеке." #: seahub/views/ajax.py:2135 msgid "Failed to save settings on server" @@ -6915,7 +6920,7 @@ msgstr "Настройки сохранены." #: seahub/views/ajax.py:2169 #, python-format msgid "Username %s is not valid." -msgstr "Имя %s недействительно" +msgstr "Имя %s недействительно." #: seahub/views/ajax.py:2176 #, python-format @@ -6925,25 +6930,25 @@ msgstr "Пользователь %s не найден." #: seahub/views/ajax.py:2183 #, python-format msgid "User %s is not in current organization." -msgstr "" +msgstr "Пользователь %s не в текущем сообществе." #: seahub/views/ajax.py:2193 #, python-format msgid "Can not transfer library to organization user %s." -msgstr "" +msgstr "Невозможно передать библиотеку сообществу пользователя %s." #: seahub/views/ajax.py:2222 msgid "Faied to change password, you are not owner." -msgstr "Не удалось изменить пароль: вы не владелец объекта." +msgstr "Не удалось изменить пароль, вы не владелец." #: seahub/views/ajax.py:2234 #, python-format msgid "Successfully updated the password of Library %(repo_name)s." -msgstr "Пароль для библиотеки %(repo_name)s изменён." +msgstr "Пароль для библиотеки %(repo_name)s изменен." #: seahub/views/ajax.py:2330 seahub/views/ajax.py:2472 msgid "Invalid folder permission, should be \"rw\" or \"r\"" -msgstr "" +msgstr "Неверные права папки, должно быть \"rw\" или \"r\"" #: seahub/views/ajax.py:2334 seahub/views/ajax.py:2476 msgid "Path should start with \"/\"" @@ -6951,7 +6956,7 @@ msgstr "Путь должен начинаться с \"/\"" #: seahub/views/ajax.py:2338 seahub/views/ajax.py:2480 msgid "Path should not end with \"/\"" -msgstr "" +msgstr "Путь не должен заканчиваться на \"/\"" #: seahub/views/ajax.py:2342 seahub/views/ajax.py:2484 msgid "Invalid path" @@ -6959,45 +6964,45 @@ msgstr "Недопустимый путь" #: seahub/views/ajax.py:2350 msgid "Invalid user, should be registered" -msgstr "" +msgstr "Неверный пользователь, должен быть зарегистрирован" #: seahub/views/ajax.py:2362 seahub/views/ajax.py:2375 #: seahub/views/ajax.py:2505 seahub/views/ajax.py:2518 msgid "Operation failed" -msgstr "" +msgstr "Ошибка операции" #: seahub/views/ajax.py:2365 seahub/views/ajax.py:2508 msgid "Wrong folder permission" -msgstr "" +msgstr "Неправильные права папки" #: seahub/views/ajax.py:2378 seahub/views/ajax.py:2521 msgid "Please add folder permission first" -msgstr "" +msgstr "Пожалуйста, сначала добавьте права папки" #: seahub/views/ajax.py:2425 msgid "Please check the email(s) you entered and the contacts you selected" -msgstr "" +msgstr "Пожалуйста, проверьте email адреса и контакты, которые вы выбрали" #: seahub/views/ajax.py:2493 msgid "Invalid group" -msgstr "Неправильная группа" +msgstr "Неверная группа" #: seahub/views/ajax.py:2563 seahub/views/sysadmin.py:209 #: seahub/views/sysadmin.py:226 seahub/views/sysadmin.py:248 msgid "Failed" -msgstr "" +msgstr "Не удалось" #: seahub/views/ajax.py:2578 seahub/views/ajax.py:2610 msgid "Group does not exist." -msgstr "" +msgstr "Группа не найдена" #: seahub/views/file.py:124 msgid "HTTPError: failed to open file online" -msgstr "HTTP ошибка: файл не может быть открыт в он-лайн режиме." +msgstr "HTTP ошибка: файл не может быть открыт онлайн." #: seahub/views/file.py:128 msgid "URLError: failed to open file online" -msgstr "URL ошибка: файл не может быть открыт в он-лайн режиме." +msgstr "URL ошибка: файл не может быть открыт онлайн." #: seahub/views/file.py:135 msgid "The encoding you chose is not proper." @@ -7024,15 +7029,15 @@ msgstr "Неверный формат файла." #: seahub/views/file.py:640 msgid "Unable to download file, invalid file path" -msgstr "" +msgstr "Невозможно скачать файл, неверный путь" #: seahub/views/file.py:649 msgid "Unable to download file, wrong file path" -msgstr "" +msgstr "Невозможно скачать файл, неправильный путь" #: seahub/views/file.py:654 msgid "Unable to download file, share link traffic is used up." -msgstr "Загрузка файла невозможна: превышен объём скачивания по этой ссылке." +msgstr "Невозможно скачать файл, трафик по ссылке превышен." #: seahub/views/file.py:972 msgid "The library does not exist." @@ -7056,28 +7061,28 @@ msgstr "Редактирование онлайн не предполагает #: seahub/views/file.py:1193 msgid "Unable to download file" -msgstr "Не удаётся загрузить файл" +msgstr "Не удается скачать файл" #: seahub/views/repo.py:368 msgid "Unable to access file: share link traffic is used up." -msgstr "Доступ к файлу невозможен: превышен объём скачивания по этой ссылке." +msgstr "Доступ к файлу невозможен, трафик по ссылке превышен." #: seahub/views/sysadmin.py:168 seahub/views/sysadmin.py:242 msgid "Invalid username" -msgstr "Неправильное имя пользователя" +msgstr "Неверное имя пользователя" #: seahub/views/sysadmin.py:634 #, python-format msgid "Failed to set quota: maximum quota is %d MB" -msgstr "" +msgstr "Невозможно задать квоту: максимальная квота %d МБ" #: seahub/views/sysadmin.py:640 seahub/views/sysadmin.py:666 msgid "Failed to set quota: internal server error" -msgstr "" +msgstr "Невозможно задать квоту: внутренняя ошибка сервера" #: seahub/views/sysadmin.py:684 msgid "Failed to delete: the user is an organization creator" -msgstr "" +msgstr "Невозможно удалить: пользователь - создатель сообщества" #: seahub/views/sysadmin.py:694 #, python-format @@ -7091,7 +7096,7 @@ msgstr "Не удалось удалить: Пользователь не сущ #: seahub/views/sysadmin.py:716 #, python-format msgid "Successfully remove trial for: %s" -msgstr "" +msgstr "Успешно удалена пробная версия для: %s" #: seahub/views/sysadmin.py:727 #, python-format @@ -7132,7 +7137,7 @@ msgstr "Не удалось деактивировать: пользовател #: seahub/views/sysadmin.py:793 #, python-format msgid "Your account on %s is activated" -msgstr "" +msgstr "Аккаунт на %s активирован" #: seahub/views/sysadmin.py:871 #, python-format @@ -7144,19 +7149,19 @@ msgstr "Пароль на %s был сброшен" msgid "" "Successfully reset password to %(passwd)s, an email has been sent to " "%(user)s." -msgstr "Пароль успешно изменён на %(passwd)s, сообщение было отправлено %(user)s." +msgstr "Пароль успешно изменен на %(passwd)s, сообщение было отправлено %(user)s." #: seahub/views/sysadmin.py:897 #, python-format msgid "" "Successfully reset password to %(passwd)s, but failed to send email to " "%(user)s, please check your email configuration." -msgstr "Пароль успешно изменён на %(passwd)s, но сообщение не было отправлено %(user)s, пожалуйста, проверьте настройки электронной почты." +msgstr "Пароль успешно изменен на %(passwd)s, но сообщение не было отправлено %(user)s, пожалуйста, проверьте настройки электронной почты." #: seahub/views/sysadmin.py:901 #, python-format msgid "Successfully reset password to %(passwd)s for user %(user)s." -msgstr "Пароль успешно изменён на %(passwd)s для пользователя %(user)s." +msgstr "Пароль успешно изменен на %(passwd)s для пользователя %(user)s." #: seahub/views/sysadmin.py:904 #, python-format @@ -7164,7 +7169,7 @@ msgid "" "Successfully reset password to %(passwd)s for user %(user)s. But email " "notification can not be sent, because Email service is not properly " "configured." -msgstr "Пароль успешно изменён на %(passwd)s для пользователя %(user)s. Но сообщение не было отправлено, потому что не правильно сконфигурирована почтовая служба." +msgstr "Пароль успешно изменен на %(passwd)s для пользователя %(user)s. Но сообщение не было отправлено, потому что не правильно сконфигурирована почтовая служба." #: seahub/views/sysadmin.py:907 msgid "Failed to reset password: user does not exist" @@ -7173,12 +7178,12 @@ msgstr "Не удалось изменить пароль: пользовате #: seahub/views/sysadmin.py:923 #, python-format msgid "You are invited to join %s" -msgstr "" +msgstr "Вы приглашены присоединиться к %s" #: seahub/views/sysadmin.py:954 #, python-format msgid "Fail to add user %s." -msgstr "" +msgstr "Неудачная попытка добавить пользователя %s." #: seahub/views/sysadmin.py:967 seahub/views/sysadmin.py:980 #, python-format @@ -7206,7 +7211,7 @@ msgstr "Успешно добавлен пользователь %s. Но соо #: seahub/views/sysadmin.py:1102 msgid "Failed to rename organization" -msgstr "" +msgstr "Не удалось переименовать сообщество" #: seahub/views/sysadmin.py:1335 msgid "Failed to transfer, invalid arguments." @@ -7219,12 +7224,12 @@ msgstr "Невозможно отправить, пользователь %s н #: seahub/views/sysadmin.py:1351 msgid "Can not transfer organization library" -msgstr "" +msgstr "Невозможно перенести библиотеку сообщества" #: seahub/views/sysadmin.py:1355 #, python-format msgid "Can not transfer library to organization user %s" -msgstr "" +msgstr "Невозможно перенести библиотеку к сообществу пользователя %s" #: seahub/views/sysadmin.py:1361 msgid "Successfully transfered." @@ -7233,21 +7238,21 @@ msgstr "Успешно передана." #: seahub/views/sysadmin.py:1435 #, python-format msgid "Successfully set %s as admin." -msgstr "" +msgstr "%s установлен как администратор." #: seahub/views/sysadmin.py:1437 #, python-format msgid "Failed to set %s as admin: user does not exist." -msgstr "" +msgstr "Не удалось установить %s как администратора: пользователь не существует." #: seahub/views/sysadmin.py:1478 msgid "Import succeeded" -msgstr "" +msgstr "Импорт завершен" #: seahub/views/sysadmin.py:1480 msgid "Please select a csv file first." -msgstr "" +msgstr "Пожалуйста, сначала выберите CSV файл." #: seahub/views/wiki.py:133 msgid "You do not have permission to create wiki" -msgstr "" +msgstr "У вас нет прав для создания wiki" diff --git a/locale/ru/LC_MESSAGES/djangojs.po b/locale/ru/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..0a00b8f166 --- /dev/null +++ b/locale/ru/LC_MESSAGES/djangojs.po @@ -0,0 +1,434 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +# Denis Baranov , 2015 +# Michael Klimenko , 2015 +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-21 17:11+0000\n" +"Last-Translator: Denis Baranov \n" +"Language-Team: Russian (http://www.transifex.com/projects/p/seahub/language/ru/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "Не удалось. Пожалуйста, проверьте сеть." + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "Найдите пользователя или введите email" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "Имя необходимо" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "Пожалуйста введите пароль" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "Пожалуйста введите пароль ещё раз" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "Пароль слишком короткий" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "Пароли не совпадают" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "Закрыть (Esc)" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "Загрузка..." + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "Назад (←)" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "Вперёд (→)" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "%curr% из %total%" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "Открыть в новой вкладке" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "Изображение не было загружено." + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "Пожалуйста, проверьте сеть." + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "Требуется пароль." + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "Обязательное." + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "Прямо сейчас" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "Здесь только расширение, пожалуйста, введите название." + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "Обработка ..." + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "Успешно удален %(name)s." + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "Успешно пемещен %(name)s и еще 1 объект." + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "Успешно удален %(name)s и еще %(amount)s других объектов." + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "Не удалось удалить %(name)s." + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "Не удалось удалить %(name)s и еще 1 объект." + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "Не удалось удалить %(name)s и еще %(amount)s других объектов." + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "Удаление элементов" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "Вы уверены, что хотите удалить выбранные элементы?" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "Путь назначения указан неверно" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "Успешно перемещен %(name)s." + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "Успешно пемещен %(name)s и еще 1 объект." + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "Успешно пемещен %(name)s и еще %(amount)s других объектов." + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "Успешно скопирован %(name)s." + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "Успешно скопирован %(name)s и еще 1 объект." + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "Успешно скопирован %(name)s и еще %(amount)s других объектов." + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "Внутренняя ошибка. Не удалось переместить %(name)s и еще %(amount)s других объектов." + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "Внутренняя ошибка. Не удалось переместить %(name)s." + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "Внутренняя ошибка. Не удалось скопировать %(name)s и еще %(amount)s других объектов." + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "Внутренняя ошибка. Не удалось скопировать %(name)s." + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "Перемещается файл %(index)s из %(total)s" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "Копируется файл %(index)s из %(total)s" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "Не удалось переместить %(name)s" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "Не удалось скопировать %(name)s" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "Отменено." + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "Успешно удален %(name)s" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "Переименовать каталог" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "Переименовать файл" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "Вы не переименовали его." + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "Переместить {placeholder} в:" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "Копировать {placeholder} в:" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "Перемещение %(name)s" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "Копирование %(name)s" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "Сохранение..." + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "Не удачно." + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "Файл слишком большой" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "Файл слишком маленький" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "Тип файла не разрешён" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "Превышение максимального числа файлов" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "Превышение лимита размера файла" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "Результат загрузки пустого файла" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "Ошибка" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "загружено" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "отменено" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "Начать" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "Отмена" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "Удалить" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "Файл загружается..." + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "Загрузка файла завершена" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "Загрузка файла отменена" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "Не удалось загрузить файл" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "Не удалось получить ссылку для загрузки" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "Не удалось получить ссылку для загрузки" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "Заменить файл {filename}?" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "Установить права доступа к {placeholder} " + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "Выберите группу" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "Успешно закрыт доступ к {placeholder}" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "Ошибка доступа" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "Вы пока не отметили ни одного файла" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "Пожалуйста, выберите каталог" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "Действительно хотите удалить {lib_name}?" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "Успешно удалено." + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "Открыть общий доступ к {placeholder}" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "Пожалуйста введите день." + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "Пожалуйста введите корректный день" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "Пожалуйста, введите по крайней мере, E-mail." + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "Успешно отправлено в {placeholder}" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "Ошибка отправки в {placeholder}" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "Успешно открыт доступ к {placeholder}" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "Не удалось открыть общий доступ {placeholder}" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "Пожалуйста, выберите контакт или группу." + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "Успешно" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "Отметка снята с {placeholder}" diff --git a/locale/sk_SK/LC_MESSAGES/djangojs.po b/locale/sk_SK/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..416539358a --- /dev/null +++ b/locale/sk_SK/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Slovak (Slovakia) (http://www.transifex.com/projects/p/seahub/language/sk_SK/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: sk_SK\n" +"Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/sl_SI/LC_MESSAGES/djangojs.po b/locale/sl_SI/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..e352c44123 --- /dev/null +++ b/locale/sl_SI/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Slovenian (Slovenia) (http://www.transifex.com/projects/p/seahub/language/sl_SI/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: sl_SI\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/sv/LC_MESSAGES/djangojs.po b/locale/sv/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..e4327a1a34 --- /dev/null +++ b/locale/sv/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Swedish (http://www.transifex.com/projects/p/seahub/language/sv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/th_TH/LC_MESSAGES/djangojs.po b/locale/th_TH/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..380ad65e1c --- /dev/null +++ b/locale/th_TH/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Thai (Thailand) (http://www.transifex.com/projects/p/seahub/language/th_TH/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: th_TH\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/tr/LC_MESSAGES/djangojs.po b/locale/tr/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..2db5e8d8cf --- /dev/null +++ b/locale/tr/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Turkish (http://www.transifex.com/projects/p/seahub/language/tr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/uk/LC_MESSAGES/djangojs.po b/locale/uk/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..6537e90872 --- /dev/null +++ b/locale/uk/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Ukrainian (http://www.transifex.com/projects/p/seahub/language/uk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: uk\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/vi/LC_MESSAGES/djangojs.po b/locale/vi/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..549e597cbe --- /dev/null +++ b/locale/vi/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Vietnamese (http://www.transifex.com/projects/p/seahub/language/vi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/locale/zh_TW/LC_MESSAGES/djangojs.po b/locale/zh_TW/LC_MESSAGES/djangojs.po new file mode 100644 index 0000000000..411b28ab8b --- /dev/null +++ b/locale/zh_TW/LC_MESSAGES/djangojs.po @@ -0,0 +1,432 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Translators: +msgid "" +msgstr "" +"Project-Id-Version: seahub\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2015-06-18 10:25+0800\n" +"PO-Revision-Date: 2015-06-18 02:13+0000\n" +"Last-Translator: zheng xie \n" +"Language-Team: Chinese (Taiwan) (http://www.transifex.com/projects/p/seahub/language/zh_TW/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#: static/scripts/common.js:156 static/scripts/common.js.c:246 +#: static/scripts/app/views/dir.js:803 static/scripts/app/views/dir.js.c:860 +#: static/scripts/app/views/dirent.js:398 +#: static/scripts/app/views/dirent.js:424 +#: static/scripts/app/views/folder-perm-item.js:82 +#: static/scripts/app/views/folder-perm-item.js:124 +#: static/scripts/app/views/folder-perm.js:156 +#: static/scripts/app/views/folder-perm.js:208 +#: static/scripts/app/views/group-repo.js:58 +#: static/scripts/app/views/myhome-sub-repos.js:123 +#: static/scripts/app/views/myhome-sub-repos.js:165 +#: static/scripts/app/views/repo.js:81 static/scripts/app/views/share.js:302 +#: static/scripts/app/views/starred-file-item.js:52 +#: static/scripts/app/views/sub-lib.js:79 +msgid "Failed. Please check the network." +msgstr "" + +#: static/scripts/common.js:499 +msgid "Search users or enter emails" +msgstr "" + +#: static/scripts/app/models/repo.js:30 +msgid "Name is required" +msgstr "" + +#: static/scripts/app/models/repo.js:33 static/scripts/app/views/share.js:153 +msgid "Please enter password" +msgstr "" + +#: static/scripts/app/models/repo.js:34 static/scripts/app/views/share.js:161 +msgid "Please enter the password again" +msgstr "" + +#: static/scripts/app/models/repo.js:36 static/scripts/app/views/share.js:157 +msgid "Password is too short" +msgstr "" + +#: static/scripts/app/models/repo.js:38 static/scripts/app/views/share.js:165 +msgid "Passwords don't match" +msgstr "" + +#: static/scripts/app/views/dir.js:45 +#: static/scripts/app/views/starred-file.js:29 +msgid "Close (Esc)" +msgstr "" + +#: static/scripts/app/views/dir.js:46 +#: static/scripts/app/views/starred-file.js:30 +msgid "Loading..." +msgstr "" + +#: static/scripts/app/views/dir.js:49 +#: static/scripts/app/views/starred-file.js:33 +msgid "Previous (Left arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:50 +#: static/scripts/app/views/starred-file.js:34 +msgid "Next (Right arrow key)" +msgstr "" + +#: static/scripts/app/views/dir.js:51 +#: static/scripts/app/views/starred-file.js:35 +msgid "%curr% of %total%" +msgstr "" + +#: static/scripts/app/views/dir.js:57 +#: static/scripts/app/views/starred-file.js:41 +msgid "Open in New Tab" +msgstr "" + +#: static/scripts/app/views/dir.js:60 +#: static/scripts/app/views/starred-file.js:44 +msgid "The image could not be loaded." +msgstr "" + +#: static/scripts/app/views/dir.js:124 +#: static/scripts/app/views/group-side-nav.js:39 +#: static/scripts/app/views/group.js:111 +#: static/scripts/app/views/myhome-repos.js:92 +#: static/scripts/app/views/myhome-shared-repos.js:79 +#: static/scripts/app/views/myhome-sub-repos.js:78 +#: static/scripts/app/views/organization.js:123 +msgid "Please check the network." +msgstr "" + +#: static/scripts/app/views/dir.js:150 +msgid "Password is required." +msgstr "" + +#: static/scripts/app/views/dir.js:312 static/scripts/app/views/dir.js.c:369 +#: static/scripts/app/views/dirent.js:227 +#: static/scripts/app/views/share.js:429 +msgid "It is required." +msgstr "" + +#: static/scripts/app/views/dir.js:327 static/scripts/app/views/dir.js.c:394 +#: static/scripts/app/views/dirent.js:246 +#: static/scripts/app/views/fileupload.js:298 +#: static/scripts/app/views/fileupload.js:312 +#: static/scripts/app/views/fileupload.js:324 +#: static/scripts/app/views/fileupload.js:336 +#: static/scripts/app/views/myhome-sub-repos.js:152 +msgid "Just now" +msgstr "" + +#: static/scripts/app/views/dir.js:375 +msgid "Only an extension there, please input a name." +msgstr "" + +#: static/scripts/app/views/dir.js:525 static/scripts/app/views/dir.js.c:654 +msgid "Processing..." +msgstr "" + +#: static/scripts/app/views/dir.js:561 +msgid "Successfully deleted %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:563 +msgid "Successfully deleted %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:565 +msgid "Successfully deleted %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:572 +msgid "Failed to delete %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:574 +msgid "Failed to delete %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:576 +msgid "Failed to delete %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:589 +msgid "Delete Items" +msgstr "" + +#: static/scripts/app/views/dir.js:590 +msgid "Are you sure you want to delete these selected items?" +msgstr "" + +#: static/scripts/app/views/dir.js:649 static/scripts/app/views/dirent.js:323 +msgid "Invalid destination path" +msgstr "" + +#: static/scripts/app/views/dir.js:697 +msgid "Successfully moved %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:699 +msgid "Successfully moved %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:701 +msgid "Successfully moved %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:705 +msgid "Successfully copied %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:707 +msgid "Successfully copied %(name)s and 1 other item." +msgstr "" + +#: static/scripts/app/views/dir.js:709 +msgid "Successfully copied %(name)s and %(amount)s other items." +msgstr "" + +#: static/scripts/app/views/dir.js:721 +msgid "Internal error. Failed to move %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:723 +msgid "Internal error. Failed to move %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:727 +msgid "Internal error. Failed to copy %(name)s and %(amount)s other item(s)." +msgstr "" + +#: static/scripts/app/views/dir.js:729 +msgid "Internal error. Failed to copy %(name)s." +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Moving file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:769 +msgid "Copying file %(index)s of %(total)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to move %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:791 +msgid "Failed to copy %(name)s" +msgstr "" + +#: static/scripts/app/views/dir.js:851 static/scripts/app/views/dirent.js:387 +#: static/scripts/app/views/dirent.js:415 +msgid "Canceled." +msgstr "" + +#: static/scripts/app/views/dirent.js:195 +msgid "Successfully deleted %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename Directory" +msgstr "" + +#: static/scripts/app/views/dirent.js:208 +msgid "Rename File" +msgstr "" + +#: static/scripts/app/views/dirent.js:231 +msgid "You have not renamed it." +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Move {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:283 +msgid "Copy {placeholder} to:" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Moving %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:357 +msgid "Copying %(name)s" +msgstr "" + +#: static/scripts/app/views/dirent.js:373 +msgid "Saving..." +msgstr "" + +#: static/scripts/app/views/dirent.js:387 +msgid "Failed." +msgstr "" + +#: static/scripts/app/views/fileupload.js:10 +msgid "File is too big" +msgstr "" + +#: static/scripts/app/views/fileupload.js:11 +msgid "File is too small" +msgstr "" + +#: static/scripts/app/views/fileupload.js:12 +msgid "Filetype not allowed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:13 +msgid "Max number of files exceeded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:14 +msgid "Uploaded bytes exceed file size" +msgstr "" + +#: static/scripts/app/views/fileupload.js:15 +msgid "Empty file upload result" +msgstr "" + +#: static/scripts/app/views/fileupload.js:17 +#: static/scripts/app/views/group.js:108 +#: static/scripts/app/views/myhome-repos.js:89 +#: static/scripts/app/views/myhome-shared-repos.js:76 +#: static/scripts/app/views/myhome-sub-repos.js:75 +#: static/scripts/app/views/organization.js:120 +msgid "Error" +msgstr "" + +#: static/scripts/app/views/fileupload.js:18 +msgid "uploaded" +msgstr "" + +#: static/scripts/app/views/fileupload.js:19 +msgid "canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:20 +msgid "Start" +msgstr "" + +#: static/scripts/app/views/fileupload.js:21 +msgid "Cancel" +msgstr "" + +#: static/scripts/app/views/fileupload.js:22 +msgid "Delete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:46 +msgid "File Uploading..." +msgstr "" + +#: static/scripts/app/views/fileupload.js:47 +msgid "File Upload complete" +msgstr "" + +#: static/scripts/app/views/fileupload.js:48 +msgid "File Upload canceled" +msgstr "" + +#: static/scripts/app/views/fileupload.js:49 +msgid "File Upload failed" +msgstr "" + +#: static/scripts/app/views/fileupload.js:153 +msgid "Failed to get upload url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:186 +msgid "Failed to get update url" +msgstr "" + +#: static/scripts/app/views/fileupload.js:197 +msgid "Replace file {filename}?" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:49 +msgid "Set {placeholder}'s permission" +msgstr "" + +#: static/scripts/app/views/folder-perm.js:101 +#: static/scripts/app/views/share.js:475 +msgid "Select groups" +msgstr "" + +#: static/scripts/app/views/group-repo.js:50 +#: static/scripts/app/views/organization-repo.js:49 +msgid "Successfully unshared {placeholder}" +msgstr "" + +#: static/scripts/app/views/group.js:106 +#: static/scripts/app/views/myhome-repos.js:87 +#: static/scripts/app/views/myhome-shared-repos.js:74 +#: static/scripts/app/views/myhome-sub-repos.js:73 +#: static/scripts/app/views/organization.js:118 +msgid "Permission error" +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:115 +msgid "You don't have any library at present." +msgstr "" + +#: static/scripts/app/views/myhome-sub-repos.js:134 +msgid "Please choose a directory" +msgstr "" + +#: static/scripts/app/views/repo.js:48 static/scripts/app/views/sub-lib.js:46 +msgid "Really want to delete {lib_name}?" +msgstr "" + +#: static/scripts/app/views/repo.js:71 static/scripts/app/views/sub-lib.js:69 +msgid "Delete succeeded." +msgstr "" + +#: static/scripts/app/views/share.js:55 +msgid "Share {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:178 +msgid "Please enter days." +msgstr "" + +#: static/scripts/app/views/share.js:182 +msgid "Please enter valid days" +msgstr "" + +#: static/scripts/app/views/share.js:269 +msgid "Please input at least an email." +msgstr "" + +#: static/scripts/app/views/share.js:286 +msgid "Successfully sent to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:290 +msgid "Failed to send to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:441 static/scripts/app/views/share.js:510 +msgid "Successfully shared to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:445 static/scripts/app/views/share.js:514 +msgid "Failed to share to {placeholder}" +msgstr "" + +#: static/scripts/app/views/share.js:492 +msgid "Please select a contact or a group." +msgstr "" + +#: static/scripts/app/views/shared-repo.js:26 +msgid "Success" +msgstr "" + +#: static/scripts/app/views/starred-file-item.js:45 +msgid "Successfully unstared {placeholder}" +msgstr "" diff --git a/media/assets/scripts/app/views/dirent.472045ac19aa.js b/media/assets/scripts/app/views/dirent.dba3252f97c1.js similarity index 99% rename from media/assets/scripts/app/views/dirent.472045ac19aa.js rename to media/assets/scripts/app/views/dirent.dba3252f97c1.js index eaa13d3ee2..e943bc4e50 100644 --- a/media/assets/scripts/app/views/dirent.472045ac19aa.js +++ b/media/assets/scripts/app/views/dirent.dba3252f97c1.js @@ -39,6 +39,7 @@ define([ repo_id: dir.repo_id, is_repo_owner: dir.is_repo_owner, can_generate_shared_link: app.pageOptions.can_generate_shared_link, + is_pro: app.pageOptions.is_pro, repo_encrypted: dir.encrypted })); return this; diff --git a/media/assets/scripts/app/views/dirent.js b/media/assets/scripts/app/views/dirent.js index eaa13d3ee2..e943bc4e50 100644 --- a/media/assets/scripts/app/views/dirent.js +++ b/media/assets/scripts/app/views/dirent.js @@ -39,6 +39,7 @@ define([ repo_id: dir.repo_id, is_repo_owner: dir.is_repo_owner, can_generate_shared_link: app.pageOptions.can_generate_shared_link, + is_pro: app.pageOptions.is_pro, repo_encrypted: dir.encrypted })); return this; diff --git a/media/assets/scripts/app/views/starred-file-item.aa4a12ab100f.js b/media/assets/scripts/app/views/starred-file-item.e4367e922093.js similarity index 97% rename from media/assets/scripts/app/views/starred-file-item.aa4a12ab100f.js rename to media/assets/scripts/app/views/starred-file-item.e4367e922093.js index 0e18bb732f..15f1069009 100644 --- a/media/assets/scripts/app/views/starred-file-item.aa4a12ab100f.js +++ b/media/assets/scripts/app/views/starred-file-item.e4367e922093.js @@ -37,7 +37,7 @@ define([ path = this.model.get('path'); $.ajax({ - url: Common.getUrl({name: 'starred_files'}) + '?p=' + path + '&repo_id=' + repo_id, + url: Common.getUrl({name: 'starred_files'}) + '?p=' + encodeURIComponent(path) + '&repo_id=' + repo_id, type: 'DELETE', beforeSend: Common.prepareCSRFToken, success: function() { diff --git a/media/assets/scripts/app/views/starred-file-item.js b/media/assets/scripts/app/views/starred-file-item.js index 0e18bb732f..15f1069009 100644 --- a/media/assets/scripts/app/views/starred-file-item.js +++ b/media/assets/scripts/app/views/starred-file-item.js @@ -37,7 +37,7 @@ define([ path = this.model.get('path'); $.ajax({ - url: Common.getUrl({name: 'starred_files'}) + '?p=' + path + '&repo_id=' + repo_id, + url: Common.getUrl({name: 'starred_files'}) + '?p=' + encodeURIComponent(path) + '&repo_id=' + repo_id, type: 'DELETE', beforeSend: Common.prepareCSRFToken, success: function() { diff --git a/media/assets/scripts/dist/i18n/ca/djangojs.014bb51da78a.js b/media/assets/scripts/dist/i18n/ca/djangojs.014bb51da78a.js new file mode 100644 index 0000000000..61ce40d6ef --- /dev/null +++ b/media/assets/scripts/dist/i18n/ca/djangojs.014bb51da78a.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j \\d\\e F \\d\\e Y \\a \\l\\e\\s G:i",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%y %H:%M:%S","%d/%m/%y %H:%M","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j \\d\\e F \\d\\e Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%d/%m/%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j \\d\\e F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d/m/Y G:i",SHORT_DATE_FORMAT:"d/m/Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F \\d\\e\\l Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/ca/djangojs.8fb527b94a8e.js b/media/assets/scripts/dist/i18n/ca/djangojs.8fb527b94a8e.js deleted file mode 100644 index b23d5fadcd..0000000000 --- a/media/assets/scripts/dist/i18n/ca/djangojs.8fb527b94a8e.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j \\d\\e F \\d\\e Y \\a \\l\\e\\s G:i",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%y %H:%M:%S","%d/%m/%y %H:%M","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j \\d\\e F \\d\\e Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%d/%m/%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j \\d\\e F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d/m/Y G:i",SHORT_DATE_FORMAT:"d/m/Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F \\d\\e\\l Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/ca/djangojs.js b/media/assets/scripts/dist/i18n/ca/djangojs.js index b23d5fadcd..61ce40d6ef 100644 --- a/media/assets/scripts/dist/i18n/ca/djangojs.js +++ b/media/assets/scripts/dist/i18n/ca/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j \\d\\e F \\d\\e Y \\a \\l\\e\\s G:i",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%y %H:%M:%S","%d/%m/%y %H:%M","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j \\d\\e F \\d\\e Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%d/%m/%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j \\d\\e F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d/m/Y G:i",SHORT_DATE_FORMAT:"d/m/Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F \\d\\e\\l Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j \\d\\e F \\d\\e Y \\a \\l\\e\\s G:i",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%y %H:%M:%S","%d/%m/%y %H:%M","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j \\d\\e F \\d\\e Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%d/%m/%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j \\d\\e F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d/m/Y G:i",SHORT_DATE_FORMAT:"d/m/Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F \\d\\e\\l Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/de/djangojs.49b4a16591a9.js b/media/assets/scripts/dist/i18n/de/djangojs.49b4a16591a9.js new file mode 100644 index 0000000000..2e0dfb7ae3 --- /dev/null +++ b/media/assets/scripts/dist/i18n/de/djangojs.49b4a16591a9.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j. F Y H:i:s",DATETIME_INPUT_FORMATS:["%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j. F Y",DATE_INPUT_FORMATS:["%d.%m.%Y","%d.%m.%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d.m.Y H:i:s",SHORT_DATE_FORMAT:"d.m.Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/de/djangojs.f2cf2facae19.js b/media/assets/scripts/dist/i18n/de/djangojs.f2cf2facae19.js deleted file mode 100644 index 70224895f3..0000000000 --- a/media/assets/scripts/dist/i18n/de/djangojs.f2cf2facae19.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j. F Y H:i:s",DATETIME_INPUT_FORMATS:["%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j. F Y",DATE_INPUT_FORMATS:["%d.%m.%Y","%d.%m.%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d.m.Y H:i:s",SHORT_DATE_FORMAT:"d.m.Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/de/djangojs.js b/media/assets/scripts/dist/i18n/de/djangojs.js index 70224895f3..2e0dfb7ae3 100644 --- a/media/assets/scripts/dist/i18n/de/djangojs.js +++ b/media/assets/scripts/dist/i18n/de/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j. F Y H:i:s",DATETIME_INPUT_FORMATS:["%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j. F Y",DATE_INPUT_FORMATS:["%d.%m.%Y","%d.%m.%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d.m.Y H:i:s",SHORT_DATE_FORMAT:"d.m.Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j. F Y H:i:s",DATETIME_INPUT_FORMATS:["%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j. F Y",DATE_INPUT_FORMATS:["%d.%m.%Y","%d.%m.%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d.m.Y H:i:s",SHORT_DATE_FORMAT:"d.m.Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/fr/djangojs.d4b014013f86.js b/media/assets/scripts/dist/i18n/fr/djangojs.d4b014013f86.js new file mode 100644 index 0000000000..c296f594fd --- /dev/null +++ b/media/assets/scripts/dist/i18n/fr/djangojs.d4b014013f86.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j F Y H:i:s",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%Y","%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j F Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%d/%m/%y","%d.%m.%Y","%d.%m.%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"j N Y H:i:s",SHORT_DATE_FORMAT:"j N Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/fr/djangojs.eb13614805ea.js b/media/assets/scripts/dist/i18n/fr/djangojs.eb13614805ea.js deleted file mode 100644 index 0460d93a98..0000000000 --- a/media/assets/scripts/dist/i18n/fr/djangojs.eb13614805ea.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j F Y H:i:s",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%Y","%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j F Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%d/%m/%y","%d.%m.%Y","%d.%m.%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"j N Y H:i:s",SHORT_DATE_FORMAT:"j N Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/fr/djangojs.js b/media/assets/scripts/dist/i18n/fr/djangojs.js index 0460d93a98..c296f594fd 100644 --- a/media/assets/scripts/dist/i18n/fr/djangojs.js +++ b/media/assets/scripts/dist/i18n/fr/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j F Y H:i:s",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%Y","%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j F Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%d/%m/%y","%d.%m.%Y","%d.%m.%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"j N Y H:i:s",SHORT_DATE_FORMAT:"j N Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j F Y H:i:s",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%Y","%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j F Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%d/%m/%y","%d.%m.%Y","%d.%m.%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"j N Y H:i:s",SHORT_DATE_FORMAT:"j N Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/he/djangojs.47afa608ace9.js b/media/assets/scripts/dist/i18n/he/djangojs.47afa608ace9.js new file mode 100644 index 0000000000..82cdbd539a --- /dev/null +++ b/media/assets/scripts/dist/i18n/he/djangojs.47afa608ace9.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j בF Y H:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"j בF Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j בF",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"d/m/Y H:i:s",SHORT_DATE_FORMAT:"d/m/Y",THOUSAND_SEPARATOR:",",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/he/djangojs.deadf7ea1603.js b/media/assets/scripts/dist/i18n/he/djangojs.deadf7ea1603.js deleted file mode 100644 index f0b5fa71fa..0000000000 --- a/media/assets/scripts/dist/i18n/he/djangojs.deadf7ea1603.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j בF Y H:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"j בF Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j בF",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"d/m/Y H:i:s",SHORT_DATE_FORMAT:"d/m/Y",THOUSAND_SEPARATOR:",",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/he/djangojs.js b/media/assets/scripts/dist/i18n/he/djangojs.js index f0b5fa71fa..82cdbd539a 100644 --- a/media/assets/scripts/dist/i18n/he/djangojs.js +++ b/media/assets/scripts/dist/i18n/he/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j בF Y H:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"j בF Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j בF",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"d/m/Y H:i:s",SHORT_DATE_FORMAT:"d/m/Y",THOUSAND_SEPARATOR:",",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j בF Y H:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"j בF Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j בF",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"d/m/Y H:i:s",SHORT_DATE_FORMAT:"d/m/Y",THOUSAND_SEPARATOR:",",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/hu/djangojs.553b16b1f8f8.js b/media/assets/scripts/dist/i18n/hu/djangojs.553b16b1f8f8.js new file mode 100644 index 0000000000..104ae62525 --- /dev/null +++ b/media/assets/scripts/dist/i18n/hu/djangojs.553b16b1f8f8.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"Y. F j. G.i.s",DATETIME_INPUT_FORMATS:["%Y.%m.%d. %H.%M.%S","%Y.%m.%d. %H.%M","%Y.%m.%d.","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"Y. F j.",DATE_INPUT_FORMATS:["%Y.%m.%d.","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"F j.",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"Y.m.d. G.i.s",SHORT_DATE_FORMAT:"Y.m.d.",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"G.i.s",TIME_INPUT_FORMATS:["%H.%M.%S","%H.%M","%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"Y. F"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/hu/djangojs.ef1298ad9ed7.js b/media/assets/scripts/dist/i18n/hu/djangojs.ef1298ad9ed7.js deleted file mode 100644 index f4e7e64ba0..0000000000 --- a/media/assets/scripts/dist/i18n/hu/djangojs.ef1298ad9ed7.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"Y. F j. G.i.s",DATETIME_INPUT_FORMATS:["%Y.%m.%d. %H.%M.%S","%Y.%m.%d. %H.%M","%Y.%m.%d.","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"Y. F j.",DATE_INPUT_FORMATS:["%Y.%m.%d.","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"F j.",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"Y.m.d. G.i.s",SHORT_DATE_FORMAT:"Y.m.d.",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"G.i.s",TIME_INPUT_FORMATS:["%H.%M.%S","%H.%M","%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"Y. F"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/hu/djangojs.js b/media/assets/scripts/dist/i18n/hu/djangojs.js index f4e7e64ba0..104ae62525 100644 --- a/media/assets/scripts/dist/i18n/hu/djangojs.js +++ b/media/assets/scripts/dist/i18n/hu/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"Y. F j. G.i.s",DATETIME_INPUT_FORMATS:["%Y.%m.%d. %H.%M.%S","%Y.%m.%d. %H.%M","%Y.%m.%d.","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"Y. F j.",DATE_INPUT_FORMATS:["%Y.%m.%d.","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"F j.",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"Y.m.d. G.i.s",SHORT_DATE_FORMAT:"Y.m.d.",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"G.i.s",TIME_INPUT_FORMATS:["%H.%M.%S","%H.%M","%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"Y. F"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"Y. F j. G.i.s",DATETIME_INPUT_FORMATS:["%Y.%m.%d. %H.%M.%S","%Y.%m.%d. %H.%M","%Y.%m.%d.","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"Y. F j.",DATE_INPUT_FORMATS:["%Y.%m.%d.","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"F j.",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"Y.m.d. G.i.s",SHORT_DATE_FORMAT:"Y.m.d.",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"G.i.s",TIME_INPUT_FORMATS:["%H.%M.%S","%H.%M","%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"Y. F"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/is/djangojs.a38badd0ed59.js b/media/assets/scripts/dist/i18n/is/djangojs.a38badd0ed59.js new file mode 100644 index 0000000000..1dd774ce09 --- /dev/null +++ b/media/assets/scripts/dist/i18n/is/djangojs.a38badd0ed59.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"N j, Y, P",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"j. F Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"m/d/Y P",SHORT_DATE_FORMAT:"j.n.Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/is/djangojs.bcbf52a53043.js b/media/assets/scripts/dist/i18n/is/djangojs.bcbf52a53043.js deleted file mode 100644 index f3330e8dad..0000000000 --- a/media/assets/scripts/dist/i18n/is/djangojs.bcbf52a53043.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"N j, Y, P",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"j. F Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"m/d/Y P",SHORT_DATE_FORMAT:"j.n.Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/is/djangojs.js b/media/assets/scripts/dist/i18n/is/djangojs.js index f3330e8dad..1dd774ce09 100644 --- a/media/assets/scripts/dist/i18n/is/djangojs.js +++ b/media/assets/scripts/dist/i18n/is/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"N j, Y, P",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"j. F Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"m/d/Y P",SHORT_DATE_FORMAT:"j.n.Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"N j, Y, P",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"j. F Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"m/d/Y P",SHORT_DATE_FORMAT:"j.n.Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/it/djangojs.6dc977321ee2.js b/media/assets/scripts/dist/i18n/it/djangojs.6dc977321ee2.js deleted file mode 100644 index e6463bf0d2..0000000000 --- a/media/assets/scripts/dist/i18n/it/djangojs.6dc977321ee2.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"l d F Y H:i:s",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%Y","%d/%m/%y %H:%M:%S","%d/%m/%y %H:%M","%d/%m/%y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M","%Y-%m-%d","%d-%m-%Y %H:%M:%S","%d-%m-%Y %H:%M","%d-%m-%Y","%d-%m-%y %H:%M:%S","%d-%m-%y %H:%M","%d-%m-%y","%Y-%m-%d %H:%M:%S.%f"],DATE_FORMAT:"d F Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%Y/%m/%d","%d-%m-%Y","%Y-%m-%d","%d-%m-%y","%d/%m/%y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j/F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d/m/Y H:i:s",SHORT_DATE_FORMAT:"d/m/Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/it/djangojs.82cbde8f71c4.js b/media/assets/scripts/dist/i18n/it/djangojs.82cbde8f71c4.js new file mode 100644 index 0000000000..c6288543c8 --- /dev/null +++ b/media/assets/scripts/dist/i18n/it/djangojs.82cbde8f71c4.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"l d F Y H:i:s",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%Y","%d/%m/%y %H:%M:%S","%d/%m/%y %H:%M","%d/%m/%y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M","%Y-%m-%d","%d-%m-%Y %H:%M:%S","%d-%m-%Y %H:%M","%d-%m-%Y","%d-%m-%y %H:%M:%S","%d-%m-%y %H:%M","%d-%m-%y","%Y-%m-%d %H:%M:%S.%f"],DATE_FORMAT:"d F Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%Y/%m/%d","%d-%m-%Y","%Y-%m-%d","%d-%m-%y","%d/%m/%y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j/F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d/m/Y H:i:s",SHORT_DATE_FORMAT:"d/m/Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/it/djangojs.js b/media/assets/scripts/dist/i18n/it/djangojs.js index e6463bf0d2..c6288543c8 100644 --- a/media/assets/scripts/dist/i18n/it/djangojs.js +++ b/media/assets/scripts/dist/i18n/it/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"l d F Y H:i:s",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%Y","%d/%m/%y %H:%M:%S","%d/%m/%y %H:%M","%d/%m/%y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M","%Y-%m-%d","%d-%m-%Y %H:%M:%S","%d-%m-%Y %H:%M","%d-%m-%Y","%d-%m-%y %H:%M:%S","%d-%m-%y %H:%M","%d-%m-%y","%Y-%m-%d %H:%M:%S.%f"],DATE_FORMAT:"d F Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%Y/%m/%d","%d-%m-%Y","%Y-%m-%d","%d-%m-%y","%d/%m/%y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j/F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d/m/Y H:i:s",SHORT_DATE_FORMAT:"d/m/Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"l d F Y H:i:s",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%Y","%d/%m/%y %H:%M:%S","%d/%m/%y %H:%M","%d/%m/%y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M","%Y-%m-%d","%d-%m-%Y %H:%M:%S","%d-%m-%Y %H:%M","%d-%m-%Y","%d-%m-%y %H:%M:%S","%d-%m-%y %H:%M","%d-%m-%y","%Y-%m-%d %H:%M:%S.%f"],DATE_FORMAT:"d F Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%Y/%m/%d","%d-%m-%Y","%Y-%m-%d","%d-%m-%y","%d/%m/%y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j/F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d/m/Y H:i:s",SHORT_DATE_FORMAT:"d/m/Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/ja/djangojs.7209307570b1.js b/media/assets/scripts/dist/i18n/ja/djangojs.7209307570b1.js deleted file mode 100644 index fda92549b2..0000000000 --- a/media/assets/scripts/dist/i18n/ja/djangojs.7209307570b1.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"Y年n月j日G:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"Y年n月j日",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"n月j日",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"Y/m/d G:i:s",SHORT_DATE_FORMAT:"Y/m/d",THOUSAND_SEPARATOR:",",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"Y年n月"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/ja/djangojs.ceb1b841818b.js b/media/assets/scripts/dist/i18n/ja/djangojs.ceb1b841818b.js new file mode 100644 index 0000000000..773d70bceb --- /dev/null +++ b/media/assets/scripts/dist/i18n/ja/djangojs.ceb1b841818b.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"Y年n月j日G:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"Y年n月j日",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"n月j日",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"Y/m/d G:i:s",SHORT_DATE_FORMAT:"Y/m/d",THOUSAND_SEPARATOR:",",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"Y年n月"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/ja/djangojs.js b/media/assets/scripts/dist/i18n/ja/djangojs.js index fda92549b2..773d70bceb 100644 --- a/media/assets/scripts/dist/i18n/ja/djangojs.js +++ b/media/assets/scripts/dist/i18n/ja/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"Y年n月j日G:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"Y年n月j日",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"n月j日",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"Y/m/d G:i:s",SHORT_DATE_FORMAT:"Y/m/d",THOUSAND_SEPARATOR:",",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"Y年n月"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"Y年n月j日G:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"Y年n月j日",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"n月j日",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"Y/m/d G:i:s",SHORT_DATE_FORMAT:"Y/m/d",THOUSAND_SEPARATOR:",",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"Y年n月"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/ko/djangojs.c986cdad4434.js b/media/assets/scripts/dist/i18n/ko/djangojs.c986cdad4434.js new file mode 100644 index 0000000000..801fe4819e --- /dev/null +++ b/media/assets/scripts/dist/i18n/ko/djangojs.c986cdad4434.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"Y년 n월 j일 g:i:s A",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M","%m/%d/%y","%Y년 %m월 %d일 %H시 %M분 %S초","%Y년 %m월 %d일 %H시 %M분","%Y-%m-%d %H:%M:%S.%f"],DATE_FORMAT:"Y년 n월 j일",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%Y년 %m월 %d일"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"F월 j일",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"Y-n-j H:i",SHORT_DATE_FORMAT:"Y-n-j.",THOUSAND_SEPARATOR:",",TIME_FORMAT:"A g:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M","%H시 %M분 %S초","%H시 %M분"],YEAR_MONTH_FORMAT:"Y년 F월"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/ko/djangojs.cc1ddf926cf7.js b/media/assets/scripts/dist/i18n/ko/djangojs.cc1ddf926cf7.js deleted file mode 100644 index d79625bfd9..0000000000 --- a/media/assets/scripts/dist/i18n/ko/djangojs.cc1ddf926cf7.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"Y년 n월 j일 g:i:s A",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M","%m/%d/%y","%Y년 %m월 %d일 %H시 %M분 %S초","%Y년 %m월 %d일 %H시 %M분","%Y-%m-%d %H:%M:%S.%f"],DATE_FORMAT:"Y년 n월 j일",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%Y년 %m월 %d일"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"F월 j일",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"Y-n-j H:i",SHORT_DATE_FORMAT:"Y-n-j.",THOUSAND_SEPARATOR:",",TIME_FORMAT:"A g:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M","%H시 %M분 %S초","%H시 %M분"],YEAR_MONTH_FORMAT:"Y년 F월"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/ko/djangojs.js b/media/assets/scripts/dist/i18n/ko/djangojs.js index d79625bfd9..801fe4819e 100644 --- a/media/assets/scripts/dist/i18n/ko/djangojs.js +++ b/media/assets/scripts/dist/i18n/ko/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"Y년 n월 j일 g:i:s A",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M","%m/%d/%y","%Y년 %m월 %d일 %H시 %M분 %S초","%Y년 %m월 %d일 %H시 %M분","%Y-%m-%d %H:%M:%S.%f"],DATE_FORMAT:"Y년 n월 j일",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%Y년 %m월 %d일"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"F월 j일",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"Y-n-j H:i",SHORT_DATE_FORMAT:"Y-n-j.",THOUSAND_SEPARATOR:",",TIME_FORMAT:"A g:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M","%H시 %M분 %S초","%H시 %M분"],YEAR_MONTH_FORMAT:"Y년 F월"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"Y년 n월 j일 g:i:s A",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M","%m/%d/%y","%Y년 %m월 %d일 %H시 %M분 %S초","%Y년 %m월 %d일 %H시 %M분","%Y-%m-%d %H:%M:%S.%f"],DATE_FORMAT:"Y년 n월 j일",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%Y년 %m월 %d일"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"F월 j일",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"Y-n-j H:i",SHORT_DATE_FORMAT:"Y-n-j.",THOUSAND_SEPARATOR:",",TIME_FORMAT:"A g:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M","%H시 %M분 %S초","%H시 %M분"],YEAR_MONTH_FORMAT:"Y년 F월"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/lv/djangojs.783bac5bd404.js b/media/assets/scripts/dist/i18n/lv/djangojs.783bac5bd404.js deleted file mode 100644 index 41b1e96711..0000000000 --- a/media/assets/scripts/dist/i18n/lv/djangojs.783bac5bd404.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"Y. \\g\\a\\d\\a j. F, H:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M","%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%d.%m.%y %H:%M:%S","%d.%m.%y %H:%M","%d.%m.%y %H.%M.%S","%d.%m.%y %H.%M","%d.%m.%y","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d"],DATE_FORMAT:"Y. \\g\\a\\d\\a j. F",DATE_INPUT_FORMATS:["%Y-%m-%d","%d.%m.%Y","%d.%m.%y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"j.m.Y H:i:s",SHORT_DATE_FORMAT:"j.m.Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M","%H.%M.%S","%H.%M"],YEAR_MONTH_FORMAT:"Y. \\g. F"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/lv/djangojs.98c391424dee.js b/media/assets/scripts/dist/i18n/lv/djangojs.98c391424dee.js new file mode 100644 index 0000000000..6d2ecfff7d --- /dev/null +++ b/media/assets/scripts/dist/i18n/lv/djangojs.98c391424dee.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"Y. \\g\\a\\d\\a j. F, H:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M","%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%d.%m.%y %H:%M:%S","%d.%m.%y %H:%M","%d.%m.%y %H.%M.%S","%d.%m.%y %H.%M","%d.%m.%y","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d"],DATE_FORMAT:"Y. \\g\\a\\d\\a j. F",DATE_INPUT_FORMATS:["%Y-%m-%d","%d.%m.%Y","%d.%m.%y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"j.m.Y H:i:s",SHORT_DATE_FORMAT:"j.m.Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M","%H.%M.%S","%H.%M"],YEAR_MONTH_FORMAT:"Y. \\g. F"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/lv/djangojs.js b/media/assets/scripts/dist/i18n/lv/djangojs.js index 41b1e96711..6d2ecfff7d 100644 --- a/media/assets/scripts/dist/i18n/lv/djangojs.js +++ b/media/assets/scripts/dist/i18n/lv/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"Y. \\g\\a\\d\\a j. F, H:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M","%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%d.%m.%y %H:%M:%S","%d.%m.%y %H:%M","%d.%m.%y %H.%M.%S","%d.%m.%y %H.%M","%d.%m.%y","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d"],DATE_FORMAT:"Y. \\g\\a\\d\\a j. F",DATE_INPUT_FORMATS:["%Y-%m-%d","%d.%m.%Y","%d.%m.%y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"j.m.Y H:i:s",SHORT_DATE_FORMAT:"j.m.Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M","%H.%M.%S","%H.%M"],YEAR_MONTH_FORMAT:"Y. \\g. F"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"Y. \\g\\a\\d\\a j. F, H:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M","%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%d.%m.%y %H:%M:%S","%d.%m.%y %H:%M","%d.%m.%y %H.%M.%S","%d.%m.%y %H.%M","%d.%m.%y","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d"],DATE_FORMAT:"Y. \\g\\a\\d\\a j. F",DATE_INPUT_FORMATS:["%Y-%m-%d","%d.%m.%Y","%d.%m.%y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"j.m.Y H:i:s",SHORT_DATE_FORMAT:"j.m.Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M","%H.%M.%S","%H.%M"],YEAR_MONTH_FORMAT:"Y. \\g. F"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/nl/djangojs.96c8824f83dc.js b/media/assets/scripts/dist/i18n/nl/djangojs.96c8824f83dc.js new file mode 100644 index 0000000000..388eba7cc9 --- /dev/null +++ b/media/assets/scripts/dist/i18n/nl/djangojs.96c8824f83dc.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j F Y H:i",DATETIME_INPUT_FORMATS:["%d-%m-%Y %H:%M:%S","%d-%m-%y %H:%M:%S","%Y-%m-%d %H:%M:%S","%d-%m-%Y %H.%M:%S","%d-%m-%y %H.%M:%S","%d-%m-%Y %H:%M","%d-%m-%y %H:%M","%Y-%m-%d %H:%M","%d-%m-%Y %H.%M","%d-%m-%y %H.%M","%d-%m-%Y","%d-%m-%y","%Y-%m-%d","%Y-%m-%d %H:%M:%S.%f"],DATE_FORMAT:"j F Y",DATE_INPUT_FORMATS:["%d-%m-%Y","%d-%m-%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"j-n-Y H:i",SHORT_DATE_FORMAT:"j-n-Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i",TIME_INPUT_FORMATS:["%H:%M:%S","%H.%M:%S","%H.%M","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/nl/djangojs.aa180444c3ed.js b/media/assets/scripts/dist/i18n/nl/djangojs.aa180444c3ed.js deleted file mode 100644 index beaf7d2874..0000000000 --- a/media/assets/scripts/dist/i18n/nl/djangojs.aa180444c3ed.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j F Y H:i",DATETIME_INPUT_FORMATS:["%d-%m-%Y %H:%M:%S","%d-%m-%y %H:%M:%S","%Y-%m-%d %H:%M:%S","%d-%m-%Y %H.%M:%S","%d-%m-%y %H.%M:%S","%d-%m-%Y %H:%M","%d-%m-%y %H:%M","%Y-%m-%d %H:%M","%d-%m-%Y %H.%M","%d-%m-%y %H.%M","%d-%m-%Y","%d-%m-%y","%Y-%m-%d","%Y-%m-%d %H:%M:%S.%f"],DATE_FORMAT:"j F Y",DATE_INPUT_FORMATS:["%d-%m-%Y","%d-%m-%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"j-n-Y H:i",SHORT_DATE_FORMAT:"j-n-Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i",TIME_INPUT_FORMATS:["%H:%M:%S","%H.%M:%S","%H.%M","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/nl/djangojs.js b/media/assets/scripts/dist/i18n/nl/djangojs.js index beaf7d2874..388eba7cc9 100644 --- a/media/assets/scripts/dist/i18n/nl/djangojs.js +++ b/media/assets/scripts/dist/i18n/nl/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j F Y H:i",DATETIME_INPUT_FORMATS:["%d-%m-%Y %H:%M:%S","%d-%m-%y %H:%M:%S","%Y-%m-%d %H:%M:%S","%d-%m-%Y %H.%M:%S","%d-%m-%y %H.%M:%S","%d-%m-%Y %H:%M","%d-%m-%y %H:%M","%Y-%m-%d %H:%M","%d-%m-%Y %H.%M","%d-%m-%y %H.%M","%d-%m-%Y","%d-%m-%y","%Y-%m-%d","%Y-%m-%d %H:%M:%S.%f"],DATE_FORMAT:"j F Y",DATE_INPUT_FORMATS:["%d-%m-%Y","%d-%m-%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"j-n-Y H:i",SHORT_DATE_FORMAT:"j-n-Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i",TIME_INPUT_FORMATS:["%H:%M:%S","%H.%M:%S","%H.%M","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j F Y H:i",DATETIME_INPUT_FORMATS:["%d-%m-%Y %H:%M:%S","%d-%m-%y %H:%M:%S","%Y-%m-%d %H:%M:%S","%d-%m-%Y %H.%M:%S","%d-%m-%y %H.%M:%S","%d-%m-%Y %H:%M","%d-%m-%y %H:%M","%Y-%m-%d %H:%M","%d-%m-%Y %H.%M","%d-%m-%y %H.%M","%d-%m-%Y","%d-%m-%y","%Y-%m-%d","%Y-%m-%d %H:%M:%S.%f"],DATE_FORMAT:"j F Y",DATE_INPUT_FORMATS:["%d-%m-%Y","%d-%m-%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"j-n-Y H:i",SHORT_DATE_FORMAT:"j-n-Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i",TIME_INPUT_FORMATS:["%H:%M:%S","%H.%M:%S","%H.%M","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/pt-br/djangojs.8ff0892a4365.js b/media/assets/scripts/dist/i18n/pt-br/djangojs.8ff0892a4365.js deleted file mode 100644 index 9d8f75444c..0000000000 --- a/media/assets/scripts/dist/i18n/pt-br/djangojs.8ff0892a4365.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j \\d\\e F \\d\\e Y à\\s H:i",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%Y","%d/%m/%y %H:%M:%S","%d/%m/%y %H:%M","%d/%m/%y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j \\d\\e F \\d\\e Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%d/%m/%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j \\d\\e F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d/m/Y H:i",SHORT_DATE_FORMAT:"d/m/Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F \\d\\e Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/pt-br/djangojs.de66f591a925.js b/media/assets/scripts/dist/i18n/pt-br/djangojs.de66f591a925.js new file mode 100644 index 0000000000..0e84c4fea8 --- /dev/null +++ b/media/assets/scripts/dist/i18n/pt-br/djangojs.de66f591a925.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j \\d\\e F \\d\\e Y à\\s H:i",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%Y","%d/%m/%y %H:%M:%S","%d/%m/%y %H:%M","%d/%m/%y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j \\d\\e F \\d\\e Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%d/%m/%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j \\d\\e F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d/m/Y H:i",SHORT_DATE_FORMAT:"d/m/Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F \\d\\e Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/pt-br/djangojs.js b/media/assets/scripts/dist/i18n/pt-br/djangojs.js index 9d8f75444c..0e84c4fea8 100644 --- a/media/assets/scripts/dist/i18n/pt-br/djangojs.js +++ b/media/assets/scripts/dist/i18n/pt-br/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j \\d\\e F \\d\\e Y à\\s H:i",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%Y","%d/%m/%y %H:%M:%S","%d/%m/%y %H:%M","%d/%m/%y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j \\d\\e F \\d\\e Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%d/%m/%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j \\d\\e F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d/m/Y H:i",SHORT_DATE_FORMAT:"d/m/Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F \\d\\e Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j \\d\\e F \\d\\e Y à\\s H:i",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%Y","%d/%m/%y %H:%M:%S","%d/%m/%y %H:%M","%d/%m/%y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j \\d\\e F \\d\\e Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%d/%m/%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j \\d\\e F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d/m/Y H:i",SHORT_DATE_FORMAT:"d/m/Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F \\d\\e Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/ru/djangojs.b823fe11174f.js b/media/assets/scripts/dist/i18n/ru/djangojs.b823fe11174f.js new file mode 100644 index 0000000000..6dfb36c477 --- /dev/null +++ b/media/assets/scripts/dist/i18n/ru/djangojs.b823fe11174f.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j E Y г. G:i:s",DATETIME_INPUT_FORMATS:["%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%d.%m.%y %H:%M:%S","%d.%m.%y %H:%M","%d.%m.%y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j E Y г.",DATE_INPUT_FORMATS:["%d.%m.%Y","%d.%m.%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d.m.Y H:i",SHORT_DATE_FORMAT:"d.m.Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y г."},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/ru/djangojs.c7f70b125025.js b/media/assets/scripts/dist/i18n/ru/djangojs.c7f70b125025.js deleted file mode 100644 index bf85596590..0000000000 --- a/media/assets/scripts/dist/i18n/ru/djangojs.c7f70b125025.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j E Y г. G:i:s",DATETIME_INPUT_FORMATS:["%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%d.%m.%y %H:%M:%S","%d.%m.%y %H:%M","%d.%m.%y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j E Y г.",DATE_INPUT_FORMATS:["%d.%m.%Y","%d.%m.%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d.m.Y H:i",SHORT_DATE_FORMAT:"d.m.Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y г."},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/ru/djangojs.js b/media/assets/scripts/dist/i18n/ru/djangojs.js index bf85596590..6dfb36c477 100644 --- a/media/assets/scripts/dist/i18n/ru/djangojs.js +++ b/media/assets/scripts/dist/i18n/ru/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j E Y г. G:i:s",DATETIME_INPUT_FORMATS:["%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%d.%m.%y %H:%M:%S","%d.%m.%y %H:%M","%d.%m.%y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j E Y г.",DATE_INPUT_FORMATS:["%d.%m.%Y","%d.%m.%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d.m.Y H:i",SHORT_DATE_FORMAT:"d.m.Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y г."},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j E Y г. G:i:s",DATETIME_INPUT_FORMATS:["%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%d.%m.%y %H:%M:%S","%d.%m.%y %H:%M","%d.%m.%y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j E Y г.",DATE_INPUT_FORMATS:["%d.%m.%Y","%d.%m.%y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d.m.Y H:i",SHORT_DATE_FORMAT:"d.m.Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y г."},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/sk/djangojs.01f7cbc1bf26.js b/media/assets/scripts/dist/i18n/sk/djangojs.01f7cbc1bf26.js new file mode 100644 index 0000000000..9c9548617e --- /dev/null +++ b/media/assets/scripts/dist/i18n/sk/djangojs.01f7cbc1bf26.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j. F Y G:i:s",DATETIME_INPUT_FORMATS:["%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j. F Y",DATE_INPUT_FORMATS:["%d.%m.%Y","%d.%m.%y","%y-%m-%d","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d.m.Y G:i:s",SHORT_DATE_FORMAT:"d.m.Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/sk/djangojs.2e5a99337f36.js b/media/assets/scripts/dist/i18n/sk/djangojs.2e5a99337f36.js deleted file mode 100644 index 9119b73fc4..0000000000 --- a/media/assets/scripts/dist/i18n/sk/djangojs.2e5a99337f36.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j. F Y G:i:s",DATETIME_INPUT_FORMATS:["%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j. F Y",DATE_INPUT_FORMATS:["%d.%m.%Y","%d.%m.%y","%y-%m-%d","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d.m.Y G:i:s",SHORT_DATE_FORMAT:"d.m.Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/sk/djangojs.js b/media/assets/scripts/dist/i18n/sk/djangojs.js index 9119b73fc4..9c9548617e 100644 --- a/media/assets/scripts/dist/i18n/sk/djangojs.js +++ b/media/assets/scripts/dist/i18n/sk/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j. F Y G:i:s",DATETIME_INPUT_FORMATS:["%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j. F Y",DATE_INPUT_FORMATS:["%d.%m.%Y","%d.%m.%y","%y-%m-%d","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d.m.Y G:i:s",SHORT_DATE_FORMAT:"d.m.Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j. F Y G:i:s",DATETIME_INPUT_FORMATS:["%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"j. F Y",DATE_INPUT_FORMATS:["%d.%m.%Y","%d.%m.%y","%y-%m-%d","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d.m.Y G:i:s",SHORT_DATE_FORMAT:"d.m.Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/sl/djangojs.0033cae277db.js b/media/assets/scripts/dist/i18n/sl/djangojs.0033cae277db.js new file mode 100644 index 0000000000..249e11cf8b --- /dev/null +++ b/media/assets/scripts/dist/i18n/sl/djangojs.0033cae277db.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j. F Y. H:i",DATETIME_INPUT_FORMATS:["%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%d.%m.%y %H:%M:%S","%d.%m.%y %H:%M","%d.%m.%y","%d-%m-%Y %H:%M:%S","%d-%m-%Y %H:%M","%d-%m-%Y","%d. %m. %Y %H:%M:%S","%d. %m. %Y %H:%M","%d. %m. %Y","%d. %m. %y %H:%M:%S","%d. %m. %y %H:%M","%d. %m. %y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"d. F Y",DATE_INPUT_FORMATS:["%d.%m.%Y","%d.%m.%y","%d-%m-%Y","%d. %m. %Y","%d. %m. %y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"j.n.Y. H:i",SHORT_DATE_FORMAT:"j. M. Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/sl/djangojs.2553d4956b32.js b/media/assets/scripts/dist/i18n/sl/djangojs.2553d4956b32.js deleted file mode 100644 index a8cd45f917..0000000000 --- a/media/assets/scripts/dist/i18n/sl/djangojs.2553d4956b32.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j. F Y. H:i",DATETIME_INPUT_FORMATS:["%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%d.%m.%y %H:%M:%S","%d.%m.%y %H:%M","%d.%m.%y","%d-%m-%Y %H:%M:%S","%d-%m-%Y %H:%M","%d-%m-%Y","%d. %m. %Y %H:%M:%S","%d. %m. %Y %H:%M","%d. %m. %Y","%d. %m. %y %H:%M:%S","%d. %m. %y %H:%M","%d. %m. %y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"d. F Y",DATE_INPUT_FORMATS:["%d.%m.%Y","%d.%m.%y","%d-%m-%Y","%d. %m. %Y","%d. %m. %y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"j.n.Y. H:i",SHORT_DATE_FORMAT:"j. M. Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/sl/djangojs.js b/media/assets/scripts/dist/i18n/sl/djangojs.js index a8cd45f917..249e11cf8b 100644 --- a/media/assets/scripts/dist/i18n/sl/djangojs.js +++ b/media/assets/scripts/dist/i18n/sl/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j. F Y. H:i",DATETIME_INPUT_FORMATS:["%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%d.%m.%y %H:%M:%S","%d.%m.%y %H:%M","%d.%m.%y","%d-%m-%Y %H:%M:%S","%d-%m-%Y %H:%M","%d-%m-%Y","%d. %m. %Y %H:%M:%S","%d. %m. %Y %H:%M","%d. %m. %Y","%d. %m. %y %H:%M:%S","%d. %m. %y %H:%M","%d. %m. %y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"d. F Y",DATE_INPUT_FORMATS:["%d.%m.%Y","%d.%m.%y","%d-%m-%Y","%d. %m. %Y","%d. %m. %y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"j.n.Y. H:i",SHORT_DATE_FORMAT:"j. M. Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j. F Y. H:i",DATETIME_INPUT_FORMATS:["%d.%m.%Y %H:%M:%S","%d.%m.%Y %H:%M","%d.%m.%Y","%d.%m.%y %H:%M:%S","%d.%m.%y %H:%M","%d.%m.%y","%d-%m-%Y %H:%M:%S","%d-%m-%Y %H:%M","%d-%m-%Y","%d. %m. %Y %H:%M:%S","%d. %m. %Y %H:%M","%d. %m. %Y","%d. %m. %y %H:%M:%S","%d. %m. %y %H:%M","%d. %m. %y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"d. F Y",DATE_INPUT_FORMATS:["%d.%m.%Y","%d.%m.%y","%d-%m-%Y","%d. %m. %Y","%d. %m. %y","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j. F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"j.n.Y. H:i",SHORT_DATE_FORMAT:"j. M. Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/sv/djangojs.13b0c400897a.js b/media/assets/scripts/dist/i18n/sv/djangojs.13b0c400897a.js new file mode 100644 index 0000000000..202bc69931 --- /dev/null +++ b/media/assets/scripts/dist/i18n/sv/djangojs.13b0c400897a.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j F Y H:i",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M","%m/%d/%y","%Y-%m-%d %H:%M:%S.%f"],DATE_FORMAT:"j F Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"Y-m-d H:i",SHORT_DATE_FORMAT:"Y-m-d",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"H:i",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/sv/djangojs.acf1485ea173.js b/media/assets/scripts/dist/i18n/sv/djangojs.acf1485ea173.js deleted file mode 100644 index bd3c2ad7cf..0000000000 --- a/media/assets/scripts/dist/i18n/sv/djangojs.acf1485ea173.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j F Y H:i",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M","%m/%d/%y","%Y-%m-%d %H:%M:%S.%f"],DATE_FORMAT:"j F Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"Y-m-d H:i",SHORT_DATE_FORMAT:"Y-m-d",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"H:i",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/sv/djangojs.js b/media/assets/scripts/dist/i18n/sv/djangojs.js index bd3c2ad7cf..202bc69931 100644 --- a/media/assets/scripts/dist/i18n/sv/djangojs.js +++ b/media/assets/scripts/dist/i18n/sv/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j F Y H:i",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M","%m/%d/%y","%Y-%m-%d %H:%M:%S.%f"],DATE_FORMAT:"j F Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"Y-m-d H:i",SHORT_DATE_FORMAT:"Y-m-d",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"H:i",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j F Y H:i",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M","%m/%d/%y","%Y-%m-%d %H:%M:%S.%f"],DATE_FORMAT:"j F Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"Y-m-d H:i",SHORT_DATE_FORMAT:"Y-m-d",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"H:i",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/th/djangojs.3dcf6e280fe6.js b/media/assets/scripts/dist/i18n/th/djangojs.3dcf6e280fe6.js deleted file mode 100644 index 5d83817518..0000000000 --- a/media/assets/scripts/dist/i18n/th/djangojs.3dcf6e280fe6.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j F Y, G:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"j F Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"j M Y, G:i:s",SHORT_DATE_FORMAT:"j M Y",THOUSAND_SEPARATOR:",",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/th/djangojs.b4b37f06f38d.js b/media/assets/scripts/dist/i18n/th/djangojs.b4b37f06f38d.js new file mode 100644 index 0000000000..b95bab9c21 --- /dev/null +++ b/media/assets/scripts/dist/i18n/th/djangojs.b4b37f06f38d.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j F Y, G:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"j F Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"j M Y, G:i:s",SHORT_DATE_FORMAT:"j M Y",THOUSAND_SEPARATOR:",",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/th/djangojs.js b/media/assets/scripts/dist/i18n/th/djangojs.js index 5d83817518..b95bab9c21 100644 --- a/media/assets/scripts/dist/i18n/th/djangojs.js +++ b/media/assets/scripts/dist/i18n/th/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j F Y, G:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"j F Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"j M Y, G:i:s",SHORT_DATE_FORMAT:"j M Y",THOUSAND_SEPARATOR:",",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j F Y, G:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"j F Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"j M Y, G:i:s",SHORT_DATE_FORMAT:"j M Y",THOUSAND_SEPARATOR:",",TIME_FORMAT:"G:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/tr/djangojs.89b1a2df31b8.js b/media/assets/scripts/dist/i18n/tr/djangojs.89b1a2df31b8.js deleted file mode 100644 index 1697b12a92..0000000000 --- a/media/assets/scripts/dist/i18n/tr/djangojs.89b1a2df31b8.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"d F Y H:i:s",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%Y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"d F Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%d/%m/%y","%y-%m-%d","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"d F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d M Y H:i:s",SHORT_DATE_FORMAT:"d M Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/tr/djangojs.f1cf33f9e993.js b/media/assets/scripts/dist/i18n/tr/djangojs.f1cf33f9e993.js new file mode 100644 index 0000000000..1c2a2c5929 --- /dev/null +++ b/media/assets/scripts/dist/i18n/tr/djangojs.f1cf33f9e993.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"d F Y H:i:s",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%Y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"d F Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%d/%m/%y","%y-%m-%d","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"d F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d M Y H:i:s",SHORT_DATE_FORMAT:"d M Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/tr/djangojs.js b/media/assets/scripts/dist/i18n/tr/djangojs.js index 1697b12a92..1c2a2c5929 100644 --- a/media/assets/scripts/dist/i18n/tr/djangojs.js +++ b/media/assets/scripts/dist/i18n/tr/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"d F Y H:i:s",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%Y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"d F Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%d/%m/%y","%y-%m-%d","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"d F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d M Y H:i:s",SHORT_DATE_FORMAT:"d M Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"d F Y H:i:s",DATETIME_INPUT_FORMATS:["%d/%m/%Y %H:%M:%S","%d/%m/%Y %H:%M","%d/%m/%Y","%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d"],DATE_FORMAT:"d F Y",DATE_INPUT_FORMATS:["%d/%m/%Y","%d/%m/%y","%y-%m-%d","%Y-%m-%d"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"1",MONTH_DAY_FORMAT:"d F",NUMBER_GROUPING:"3",SHORT_DATETIME_FORMAT:"d M Y H:i:s",SHORT_DATE_FORMAT:"d M Y",THOUSAND_SEPARATOR:".",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/uk/djangojs.2d1425f59687.js b/media/assets/scripts/dist/i18n/uk/djangojs.2d1425f59687.js deleted file mode 100644 index 21b06c80bb..0000000000 --- a/media/assets/scripts/dist/i18n/uk/djangojs.2d1425f59687.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j E Y р. H:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"j E Y р.",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"m/d/Y P",SHORT_DATE_FORMAT:"j M Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/uk/djangojs.93bbc2717ad8.js b/media/assets/scripts/dist/i18n/uk/djangojs.93bbc2717ad8.js new file mode 100644 index 0000000000..df1fc98fd6 --- /dev/null +++ b/media/assets/scripts/dist/i18n/uk/djangojs.93bbc2717ad8.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j E Y р. H:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"j E Y р.",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"m/d/Y P",SHORT_DATE_FORMAT:"j M Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/uk/djangojs.js b/media/assets/scripts/dist/i18n/uk/djangojs.js index 21b06c80bb..df1fc98fd6 100644 --- a/media/assets/scripts/dist/i18n/uk/djangojs.js +++ b/media/assets/scripts/dist/i18n/uk/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j E Y р. H:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"j E Y р.",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"m/d/Y P",SHORT_DATE_FORMAT:"j M Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"j E Y р. H:i:s",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"j E Y р.",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:",",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"j F",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"m/d/Y P",SHORT_DATE_FORMAT:"j M Y",THOUSAND_SEPARATOR:" ",TIME_FORMAT:"H:i:s",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/zh-tw/djangojs.3c70e7c81127.js b/media/assets/scripts/dist/i18n/zh-tw/djangojs.3c70e7c81127.js deleted file mode 100644 index 1049c88039..0000000000 --- a/media/assets/scripts/dist/i18n/zh-tw/djangojs.3c70e7c81127.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"N j, Y, P",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"N j, Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"F j",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"m/d/Y P",SHORT_DATE_FORMAT:"m/d/Y",THOUSAND_SEPARATOR:",",TIME_FORMAT:"P",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/zh-tw/djangojs.d68336d24a36.js b/media/assets/scripts/dist/i18n/zh-tw/djangojs.d68336d24a36.js new file mode 100644 index 0000000000..b793cbdd3a --- /dev/null +++ b/media/assets/scripts/dist/i18n/zh-tw/djangojs.d68336d24a36.js @@ -0,0 +1 @@ +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"N j, Y, P",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"N j, Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"F j",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"m/d/Y P",SHORT_DATE_FORMAT:"m/d/Y",THOUSAND_SEPARATOR:",",TIME_FORMAT:"P",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/i18n/zh-tw/djangojs.js b/media/assets/scripts/dist/i18n/zh-tw/djangojs.js index 1049c88039..b793cbdd3a 100644 --- a/media/assets/scripts/dist/i18n/zh-tw/djangojs.js +++ b/media/assets/scripts/dist/i18n/zh-tw/djangojs.js @@ -1 +1 @@ -(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){var t=0;return typeof t=="boolean"?t?1:0:t},t.catalog={"%curr% of %total%":"%curr% / %total%",'The image could not be loaded.':'图片 无法被加载。',"Are you sure you want to delete these selected items?":"确定要删除选中的条目吗?",Cancel:"取消","Canceled.":"已取消。","Close (Esc)":"关闭 (Esc)","Copy {placeholder} to:":"复制 {placeholder} 到","Copying %(name)s":"正在复制 %(name)s","Copying file %(index)s of %(total)s":"正在复制文件 %(index)s / %(total)s",Delete:"删除","Delete Items":"删除条目","Delete succeeded.":"删除成功。","Empty file upload result":"空文件",Error:"错误","Failed to copy %(name)s":"复制 %(name)s 失败","Failed to delete %(name)s and %(amount)s other items.":"删除 %(name)s 以及另外 %(amount)s 项失败。","Failed to delete %(name)s and 1 other item.":"删除 %(name)s 以及另外1项失败。","Failed to delete %(name)s.":"删除 %(name)s 失败。","Failed to get update url":"无法获得更新链接","Failed to get upload url":"无法获得上传链接","Failed to move %(name)s":"移动 %(name)s 失败","Failed to send to {placeholder}":"发送给 {placeholder} 失败","Failed to share to {placeholder}":"共享给 {placeholder} 失败","Failed.":"失败。","Failed. Please check the network.":"操作失败。请检查网络是否已连接。","File Upload canceled":"文件上传已取消","File Upload complete":"文件上传已完成","File Upload failed":"文件上传失败","File Uploading...":"文件上传中...","File is too big":"文件太大","File is too small":"文件太小","Filetype not allowed":"不支持的文件类型","Internal error. Failed to copy %(name)s and %(amount)s other item(s).":"内部错误。复制 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to copy %(name)s.":"内部错误。复制 %(name)s 失败。","Internal error. Failed to move %(name)s and %(amount)s other item(s).":"内部错误。移动 %(name)s 和其他 %(amount)s 项内容失败。","Internal error. Failed to move %(name)s.":"内部错误。移动 %(name)s 失败。","Invalid destination path":"目标路径无效","It is required.":"必填项。","Just now":"刚才","Loading...":"加载中...","Max number of files exceeded":"文件太多","Move {placeholder} to:":"移动 {placeholder} 到","Moving %(name)s":"正在移动 %(name)s","Moving file %(index)s of %(total)s":"正在移动文件 %(index)s / %(total)s","Name is required":"名称为必填项","Next (Right arrow key)":"下一张(右方向键)","Only an extension there, please input a name.":"请输入完整的文件名。","Open in New Tab":"在新标签页打开","Password is required.":"密码为必填项。","Password is too short":"密码太短","Passwords don't match":"两次输入的密码不一致","Permission error":"权限错误","Please check the network.":"请检查网络是否已连接。","Please choose a directory":"请选择一个目录","Please enter days.":"请输入天数。","Please enter password":"请输入密码","Please enter the password again":"请再次输入密码","Please enter valid days":"请输入有效的天数","Please input at least an email.":"请输入至少一个邮箱。","Please select a contact or a group.":"请选择联系人或群组","Previous (Left arrow key)":"上一张(左方向键)","Processing...":"处理中...","Really want to delete {lib_name}?":"确定要删除 {lib_name} ?","Rename Directory":"重命名目录","Rename File":"重命名文件","Replace file {filename}?":"覆盖文件 {filename} ?","Saving...":"保存中...","Search users or enter emails":"搜索用户或输入邮箱","Select groups":"选择群组","Set {placeholder}'s permission":"设置 {placeholder} 权限","Share {placeholder}":"共享 {placeholder}",Start:"上传",Success:"成功","Successfully copied %(name)s and %(amount)s other items.":"成功复制 %(name)s 和其他 %(amount)s 项条目。","Successfully copied %(name)s and 1 other item.":"成功复制 %(name)s 和另1项条目。","Successfully copied %(name)s.":"成功复制 %(name)s。","Successfully deleted %(name)s":"删除 %(name)s 成功","Successfully deleted %(name)s and %(amount)s other items.":"成功删除 %(name)s 和其他 %(amount)s 项内容。","Successfully deleted %(name)s and 1 other item.":"成功删除 %(name)s 和其他一项内容。","Successfully deleted %(name)s.":"成功删除 %(name)s。","Successfully moved %(name)s and %(amount)s other items.":"成功移动 %(name)s 和其他 %(amount)s 项条目。","Successfully moved %(name)s and 1 other item.":"成功移动 %(name)s 和另1项条目。","Successfully moved %(name)s.":"成功移动 %(name)s。","Successfully sent to {placeholder}":"成功发送给 {placeholder}","Successfully shared to {placeholder}":"成功共享给 {placeholder}","Successfully unshared {placeholder}":"成功取消共享 {placeholder}","Successfully unstared {placeholder}":"成功取消星标 {placeholder}","Uploaded bytes exceed file size":"上传大小超过了文件大小","You don't have any library at present.":"你目前还没有资料库","You have not renamed it.":"你还没重命名。",canceled:"已取消",uploaded:"已上传"},t.gettext=function(e){var n=t.catalog[e];return typeof n=="undefined"?e:typeof n=="string"?n:n[0]},t.ngettext=function(e,n,r){var i=t.catalog[e];return typeof i=="undefined"?r==1?e:n:i[t.pluralidx(r)]},t.gettext_noop=function(e){return e},t.pgettext=function(e,n){var r=t.gettext(e+""+n);return r.indexOf("")!=-1&&(r=n),r},t.npgettext=function(e,n,r,i){var s=t.ngettext(e+""+n,e+""+r,i);return s.indexOf("")!=-1&&(s=t.ngettext(n,r,i)),s},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"N j, Y, P",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"N j, Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"F j",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"m/d/Y P",SHORT_DATE_FORMAT:"m/d/Y",THOUSAND_SEPARATOR:",",TIME_FORMAT:"P",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file +(function(e){var t=e.django||(e.django={});t.pluralidx=function(e){return e==1?0:1},t.gettext=function(e){return e},t.ngettext=function(e,t,n){return n==1?e:t},t.gettext_noop=function(e){return e},t.pgettext=function(e,t){return t},t.npgettext=function(e,t,n,r){return r==1?t:n},t.interpolate=function(e,t,n){return n?e.replace(/%\(\w+\)s/g,function(e){return String(t[e.slice(2,-2)])}):e.replace(/%s/g,function(e){return String(t.shift())})},t.formats={DATETIME_FORMAT:"N j, Y, P",DATETIME_INPUT_FORMATS:["%Y-%m-%d %H:%M:%S","%Y-%m-%d %H:%M:%S.%f","%Y-%m-%d %H:%M","%Y-%m-%d","%m/%d/%Y %H:%M:%S","%m/%d/%Y %H:%M:%S.%f","%m/%d/%Y %H:%M","%m/%d/%Y","%m/%d/%y %H:%M:%S","%m/%d/%y %H:%M:%S.%f","%m/%d/%y %H:%M","%m/%d/%y"],DATE_FORMAT:"N j, Y",DATE_INPUT_FORMATS:["%Y-%m-%d","%m/%d/%Y","%m/%d/%y","%b %d %Y","%b %d, %Y","%d %b %Y","%d %b, %Y","%B %d %Y","%B %d, %Y","%d %B %Y","%d %B, %Y"],DECIMAL_SEPARATOR:".",FIRST_DAY_OF_WEEK:"0",MONTH_DAY_FORMAT:"F j",NUMBER_GROUPING:"0",SHORT_DATETIME_FORMAT:"m/d/Y P",SHORT_DATE_FORMAT:"m/d/Y",THOUSAND_SEPARATOR:",",TIME_FORMAT:"P",TIME_INPUT_FORMATS:["%H:%M:%S","%H:%M"],YEAR_MONTH_FORMAT:"F Y"},t.get_format=function(e){var n=t.formats[e];return typeof n=="undefined"?e:n},e.pluralidx=t.pluralidx,e.gettext=t.gettext,e.ngettext=t.ngettext,e.gettext_noop=t.gettext_noop,e.pgettext=t.pgettext,e.npgettext=t.npgettext,e.interpolate=t.interpolate,e.get_format=t.get_format})(this); \ No newline at end of file diff --git a/media/assets/scripts/dist/main.12cca855ea3b.js b/media/assets/scripts/dist/main.76b133e43fa9.js similarity index 77% rename from media/assets/scripts/dist/main.12cca855ea3b.js rename to media/assets/scripts/dist/main.76b133e43fa9.js index 45bbf4e91f..f4b67b19c9 100644 --- a/media/assets/scripts/dist/main.12cca855ea3b.js +++ b/media/assets/scripts/dist/main.76b133e43fa9.js @@ -202,4 +202,4 @@ the specific language governing permissions and limitations under the Apache Lic * http://www.opensource.org/licenses/MIT */ -(function(e,t){typeof module=="object"&&typeof module.exports=="object"?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)})(typeof window!="undefined"?window:this,function(e,t){function g(e){var t=e.length,n=h.type(e);return n==="function"||h.isWindow(e)?!1:e.nodeType===1&&t?!0:n==="array"||t===0||typeof t=="number"&&t>0&&t-1 in e}function S(e,t,n){if(h.isFunction(t))return h.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return h.grep(e,function(e){return e===t!==n});if(typeof t=="string"){if(E.test(t))return h.filter(t,e,n);t=h.filter(t,e)}return h.grep(e,function(e){return h.inArray(e,t)>=0!==n})}function A(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function _(e){var t=M[e]={};return h.each(e.match(O)||[],function(e,n){t[n]=!0}),t}function P(){T.addEventListener?(T.removeEventListener("DOMContentLoaded",H,!1),e.removeEventListener("load",H,!1)):(T.detachEvent("onreadystatechange",H),e.detachEvent("onload",H))}function H(){if(T.addEventListener||event.type==="load"||T.readyState==="complete")P(),h.ready()}function q(e,t,n){if(n===undefined&&e.nodeType===1){var r="data-"+t.replace(I,"-$1").toLowerCase();n=e.getAttribute(r);if(typeof n=="string"){try{n=n==="true"?!0:n==="false"?!1:n==="null"?null:+n+""===n?+n:F.test(n)?h.parseJSON(n):n}catch(i){}h.data(e,t,n)}else n=undefined}return n}function R(e){var t;for(t in e){if(t==="data"&&h.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function U(e,t,r,i){if(!h.acceptData(e))return;var s,o,u=h.expando,a=e.nodeType,f=a?h.cache:e,l=a?e[u]:e[u]&&u;if((!l||!f[l]||!i&&!f[l].data)&&r===undefined&&typeof t=="string")return;l||(a?l=e[u]=n.pop()||h.guid++:l=u),f[l]||(f[l]=a?{}:{toJSON:h.noop});if(typeof t=="object"||typeof t=="function")i?f[l]=h.extend(f[l],t):f[l].data=h.extend(f[l].data,t);return o=f[l],i||(o.data||(o.data={}),o=o.data),r!==undefined&&(o[h.camelCase(t)]=r),typeof t=="string"?(s=o[t],s==null&&(s=o[h.camelCase(t)])):s=o,s}function z(e,t,n){if(!h.acceptData(e))return;var r,i,s=e.nodeType,o=s?h.cache:e,u=s?e[h.expando]:h.expando;if(!o[u])return;if(t){r=n?o[u]:o[u].data;if(r){h.isArray(t)?t=t.concat(h.map(t,h.camelCase)):t in r?t=[t]:(t=h.camelCase(t),t in r?t=[t]:t=t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!R(r):!h.isEmptyObject(r))return}}if(!n){delete o[u].data;if(!R(o[u]))return}s?h.cleanData([e],!0):l.deleteExpando||o!=o.window?delete o[u]:o[u]=null}function et(){return!0}function tt(){return!1}function nt(){try{return T.activeElement}catch(e){}}function rt(e){var t=it.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function wt(e,t){var n,r,i=0,s=typeof e.getElementsByTagName!==B?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==B?e.querySelectorAll(t||"*"):undefined;if(!s)for(s=[],n=e.childNodes||e;(r=n[i])!=null;i++)!t||h.nodeName(r,t)?s.push(r):h.merge(s,wt(r,t));return t===undefined||t&&h.nodeName(e,t)?h.merge([e],s):s}function Et(e){J.test(e.type)&&(e.defaultChecked=e.checked)}function St(e,t){return h.nodeName(e,"table")&&h.nodeName(t.nodeType!==11?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function xt(e){return e.type=(h.find.attr(e,"type")!==null)+"/"+e.type,e}function Tt(e){var t=vt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Nt(e,t){var n,r=0;for(;(n=e[r])!=null;r++)h._data(n,"globalEval",!t||h._data(t[r],"globalEval"))}function Ct(e,t){if(t.nodeType!==1||!h.hasData(e))return;var n,r,i,s=h._data(e),o=h._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r")).appendTo(t.documentElement),t=(Lt[0].contentWindow||Lt[0].contentDocument).document,t.write(),t.close(),n=Ot(e,t),Lt.detach();At[e]=n}return n}function jt(e,t){return{get:function(){var n=e();if(n==null)return;if(n){delete this.get;return}return(this.get=t).apply(this,arguments)}}}function Vt(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Xt.length;while(i--){t=Xt[i]+n;if(t in e)return t}return r}function $t(e,t){var n,r,i,s=[],o=0,u=e.length;for(;o=0&&n=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||h.type(e)!=="object"||e.nodeType||h.isWindow(e))return!1;try{if(e.constructor&&!f.call(e,"constructor")&&!f.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(l.ownLast)for(t in e)return f.call(e,t);for(t in e);return t===undefined||f.call(e,t)},type:function(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?u[a.call(e)]||"object":typeof e},globalEval:function(t){t&&h.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(d,"ms-").replace(v,m)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,s=e.length,o=g(e);if(n)if(o)for(;ir.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function at(e){return e[w]=!0,e}function ft(e){var t=p.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function lt(e,t){var n=e.split("|"),i=e.length;while(i--)r.attrHandle[n[i]]=t}function ct(e,t){var n=t&&e,r=n&&e.nodeType===1&&t.nodeType===1&&(~t.sourceIndex||L)-(~e.sourceIndex||L);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ht(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function pt(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function dt(e){return at(function(t){return t=+t,at(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function vt(e){return e&&typeof e.getElementsByTagName!="undefined"&&e}function mt(){}function gt(e){var t=0,n=e.length,r="";for(;t1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function wt(e,t,n){var r=0,i=t.length;for(;r-1&&(s[f]=!(o[f]=c))}}else g=Et(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):D.apply(o,g)})}function xt(e){var t,n,i,s=e.length,o=r.relative[e[0].type],u=o||r.relative[" "],a=o?1:0,l=yt(function(e){return e===t},u,!0),c=yt(function(e){return H(t,e)>-1},u,!0),h=[function(e,n,r){var i=!o&&(r||n!==f)||((t=n).nodeType?l(e,n,r):c(e,n,r));return t=null,i}];for(;a1&&bt(h),a>1&>(e.slice(0,a-1).concat({value:e[a-2].type===" "?"*":""})).replace(z,"$1"),n,a0,i=e.length>0,s=function(s,o,u,a,l){var c,h,d,v=0,m="0",g=s&&[],y=[],b=f,w=s||i&&r.find.TAG("*",l),E=S+=b==null?1:Math.random()||.1,x=w.length;l&&(f=o!==p&&o);for(;m!==x&&(c=w[m])!=null;m++){if(i&&c){h=0;while(d=e[h++])if(d(c,o,u)){a.push(c);break}l&&(S=E)}n&&((c=!d&&c)&&v--,s&&g.push(c))}v+=m;if(n&&m!==v){h=0;while(d=t[h++])d(g,y,o,u);if(s){if(v>0)while(m--)!g[m]&&!y[m]&&(y[m]=M.call(a));y=Et(y)}D.apply(a,y),l&&!s&&y.length>0&&v+t.length>1&&ot.uniqueSort(a)}return l&&(S=E,f=b),g};return n?at(s):s}var t,n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b,w="sizzle"+1*new Date,E=e.document,S=0,x=0,T=ut(),N=ut(),C=ut(),k=function(e,t){return e===t&&(c=!0),0},L=1<<31,A={}.hasOwnProperty,O=[],M=O.pop,_=O.push,D=O.push,P=O.slice,H=function(e,t){var n=0,r=e.length;for(;n+~]|"+j+")"+j+"*"),V=new RegExp("="+j+"*([^\\]'\"]*?)"+j+"*\\]","g"),$=new RegExp(R),J=new RegExp("^"+I+"$"),K={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F.replace("w","w*")+")"),ATTR:new RegExp("^"+q),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+B+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/[+~]/,tt=/'|\\/g,nt=new RegExp("\\\\([\\da-f]{1,6}"+j+"?|("+j+")|.)","ig"),rt=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)},it=function(){h()};try{D.apply(O=P.call(E.childNodes),E.childNodes),O[E.childNodes.length].nodeType}catch(st){D={apply:O.length?function(e,t){_.apply(e,P.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}n=ot.support={},s=ot.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},h=ot.setDocument=function(e){var t,i,o=e?e.ownerDocument||e:E;if(o===p||o.nodeType!==9||!o.documentElement)return p;p=o,d=o.documentElement,i=o.defaultView,i&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",it,!1):i.attachEvent&&i.attachEvent("onunload",it)),v=!s(o),n.attributes=ft(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ft(function(e){return e.appendChild(o.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Y.test(o.getElementsByClassName),n.getById=ft(function(e){return d.appendChild(e).id=w,!o.getElementsByName||!o.getElementsByName(w).length}),n.getById?(r.find.ID=function(e,t){if(typeof t.getElementById!="undefined"&&v){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},r.filter.ID=function(e){var t=e.replace(nt,rt);return function(e){return e.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(e){var t=e.replace(nt,rt);return function(e){var n=typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id");return n&&n.value===t}}),r.find.TAG=n.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!="undefined")return t.getElementsByTagName(e);if(n.qsa)return t.querySelectorAll(e)}:function(e,t){var n,r=[],i=0,s=t.getElementsByTagName(e);if(e==="*"){while(n=s[i++])n.nodeType===1&&r.push(n);return r}return s},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(v)return t.getElementsByClassName(e)},g=[],m=[];if(n.qsa=Y.test(o.querySelectorAll))ft(function(e){d.appendChild(e).innerHTML=""+"",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+j+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+j+"*(?:value|"+B+")"),e.querySelectorAll("[id~="+w+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||m.push(".#.+[+~]")}),ft(function(e){var t=o.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+j+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")});return(n.matchesSelector=Y.test(y=d.matches||d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ft(function(e){n.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),g.push("!=",R)}),m=m.length&&new RegExp(m.join("|")),g=g.length&&new RegExp(g.join("|")),t=Y.test(d.compareDocumentPosition),b=t||Y.test(d.contains)?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!r&&r.nodeType===1&&!!(n.contains?n.contains(r):e.compareDocumentPosition&&e.compareDocumentPosition(r)&16)}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},k=t?function(e,t){if(e===t)return c=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,r&1||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===o||e.ownerDocument===E&&b(E,e)?-1:t===o||t.ownerDocument===E&&b(E,t)?1:l?H(l,e)-H(l,t):0:r&4?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,s=t.parentNode,u=[e],a=[t];if(!i||!s)return e===o?-1:t===o?1:i?-1:s?1:l?H(l,e)-H(l,t):0;if(i===s)return ct(e,t);n=e;while(n=n.parentNode)u.unshift(n);n=t;while(n=n.parentNode)a.unshift(n);while(u[r]===a[r])r++;return r?ct(u[r],a[r]):u[r]===E?-1:a[r]===E?1:0},o},ot.matches=function(e,t){return ot(e,null,null,t)},ot.matchesSelector=function(e,t){(e.ownerDocument||e)!==p&&h(e),t=t.replace(V,"='$1']");if(n.matchesSelector&&v&&(!g||!g.test(t))&&(!m||!m.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&e.document.nodeType!==11)return r}catch(i){}return ot(t,p,null,[e]).length>0},ot.contains=function(e,t){return(e.ownerDocument||e)!==p&&h(e),b(e,t)},ot.attr=function(e,t){(e.ownerDocument||e)!==p&&h(e);var i=r.attrHandle[t.toLowerCase()],s=i&&A.call(r.attrHandle,t.toLowerCase())?i(e,t,!v):undefined;return s!==undefined?s:n.attributes||!v?e.getAttribute(t):(s=e.getAttributeNode(t))&&s.specified?s.value:null},ot.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ot.uniqueSort=function(e){var t,r=[],i=0,s=0;c=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(k);if(c){while(t=e[s++])t===e[s]&&(i=r.push(s));while(i--)e.splice(r[i],1)}return l=null,e},i=ot.getText=function(e){var t,n="",r=0,s=e.nodeType;if(!s)while(t=e[r++])n+=i(t);else if(s===1||s===9||s===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(s===3||s===4)return e.nodeValue;return n},r=ot.selectors={cacheLength:50,createPseudo:at,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(nt,rt),e[3]=(e[3]||e[4]||e[5]||"").replace(nt,rt),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1].slice(0,3)==="nth"?(e[3]||ot.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd")),e[5]=+(e[7]+e[8]||e[3]==="odd")):e[3]&&ot.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&$.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(nt,rt).toLowerCase();return e==="*"?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=T[e+" "];return t||(t=new RegExp("(^|"+j+")"+e+"("+j+"|$)"))&&T(e,function(e){return t.test(typeof e.className=="string"&&e.className||typeof e.getAttribute!="undefined"&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=ot.attr(r,e);return i==null?t==="!=":t?(i+="",t==="="?i===n:t==="!="?i!==n:t==="^="?n&&i.indexOf(n)===0:t==="*="?n&&i.indexOf(n)>-1:t==="$="?n&&i.slice(-n.length)===n:t==="~="?(" "+i.replace(U," ")+" ").indexOf(n)>-1:t==="|="?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var s=e.slice(0,3)!=="nth",o=e.slice(-4)!=="last",u=t==="of-type";return r===1&&i===0?function(e){return!!e.parentNode}:function(t,n,a){var f,l,c,h,p,d,v=s!==o?"nextSibling":"previousSibling",m=t.parentNode,g=u&&t.nodeName.toLowerCase(),y=!a&&!u;if(m){if(s){while(v){c=t;while(c=c[v])if(u?c.nodeName.toLowerCase()===g:c.nodeType===1)return!1;d=v=e==="only"&&!d&&"nextSibling"}return!0}d=[o?m.firstChild:m.lastChild];if(o&&y){l=m[w]||(m[w]={}),f=l[e]||[],p=f[0]===S&&f[1],h=f[0]===S&&f[2],c=p&&m.childNodes[p];while(c=++p&&c&&c[v]||(h=p=0)||d.pop())if(c.nodeType===1&&++h&&c===t){l[e]=[S,p,h];break}}else if(y&&(f=(t[w]||(t[w]={}))[e])&&f[0]===S)h=f[1];else while(c=++p&&c&&c[v]||(h=p=0)||d.pop())if((u?c.nodeName.toLowerCase()===g:c.nodeType===1)&&++h){y&&((c[w]||(c[w]={}))[e]=[S,h]);if(c===t)break}return h-=i,h===r||h%r===0&&h/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ot.error("unsupported pseudo: "+e);return i[w]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?at(function(e,n){var r,s=i(e,t),o=s.length;while(o--)r=H(e,s[o]),e[r]=!(n[r]=s[o])}):function(e){return i(e,0,n)}):i}},pseudos:{not:at(function(e){var t=[],n=[],r=u(e.replace(z,"$1"));return r[w]?at(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),t[0]=null,!n.pop()}}),has:at(function(e){return function(t){return ot(e,t).length>0}}),contains:at(function(e){return e=e.replace(nt,rt),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:at(function(e){return J.test(e||"")||ot.error("unsupported lang: "+e),e=e.replace(nt,rt).toLowerCase(),function(t){var n;do if(n=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||n.indexOf(e+"-")===0;while((t=t.parentNode)&&t.nodeType===1);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return G.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},text:function(e){var t;return e.nodeName.toLowerCase()==="input"&&e.type==="text"&&((t=e.getAttribute("type"))==null||t.toLowerCase()==="text")},first:dt(function(){return[0]}),last:dt(function(e,t){return[t-1]}),eq:dt(function(e,t,n){return[n<0?n+t:n]}),even:dt(function(e,t){var n=0;for(;n=0;)e.push(r);return e}),gt:dt(function(e,t,n){var r=n<0?n+t:n;for(;++r2&&(l=f[0]).type==="ID"&&n.getById&&t.nodeType===9&&v&&r.relative[f[1].type]){t=(r.find.ID(l.matches[0].replace(nt,rt),t)||[])[0];if(!t)return i;p&&(t=t.parentNode),e=e.slice(f.shift().value.length)}a=K.needsContext.test(e)?0:f.length;while(a--){l=f[a];if(r.relative[c=l.type])break;if(h=r.find[c])if(s=h(l.matches[0].replace(nt,rt),et.test(f[0].type)&&vt(t.parentNode)||t)){f.splice(a,1),e=s.length&>(f);if(!e)return D.apply(i,s),i;break}}}return(p||u(e,d))(s,t,!v,i,et.test(e)&&vt(t.parentNode)||t),i},n.sortStable=w.split("").sort(k).join("")===w,n.detectDuplicates=!!c,h(),n.sortDetached=ft(function(e){return e.compareDocumentPosition(p.createElement("div"))&1}),ft(function(e){return e.innerHTML="",e.firstChild.getAttribute("href")==="#"})||lt("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,t.toLowerCase()==="type"?1:2)}),(!n.attributes||!ft(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),e.firstChild.getAttribute("value")===""}))&<("value",function(e,t,n){if(!n&&e.nodeName.toLowerCase()==="input")return e.defaultValue}),ft(function(e){return e.getAttribute("disabled")==null})||lt(B,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),ot}(e);h.find=y,h.expr=y.selectors,h.expr[":"]=h.expr.pseudos,h.unique=y.uniqueSort,h.text=y.getText,h.isXMLDoc=y.isXML,h.contains=y.contains;var b=h.expr.match.needsContext,w=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^.[^:#\[\.,]*$/;h.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),t.length===1&&r.nodeType===1?h.find.matchesSelector(r,e)?[r]:[]:h.find.matches(e,h.grep(t,function(e){return e.nodeType===1}))},h.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if(typeof e!="string")return this.pushStack(h(e).filter(function(){for(t=0;t1?h.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(S(this,e||[],!1))},not:function(e){return this.pushStack(S(this,e||[],!0))},is:function(e){return!!S(this,typeof e=="string"&&b.test(e)?h(e):e||[],!1).length}});var x,T=e.document,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=h.fn.init=function(e,t){var n,r;if(!e)return this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?n=[null,e,null]:n=N.exec(e);if(n&&(n[1]||!t)){if(n[1]){t=t instanceof h?t[0]:t,h.merge(this,h.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:T,!0));if(w.test(n[1])&&h.isPlainObject(t))for(n in t)h.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}r=T.getElementById(n[2]);if(r&&r.parentNode){if(r.id!==n[2])return x.find(e);this.length=1,this[0]=r}return this.context=T,this.selector=e,this}return!t||t.jquery?(t||x).find(e):this.constructor(t).find(e)}return e.nodeType?(this.context=this[0]=e,this.length=1,this):h.isFunction(e)?typeof x.ready!="undefined"?x.ready(e):e(h):(e.selector!==undefined&&(this.selector=e.selector,this.context=e.context),h.makeArray(e,this))};C.prototype=h.fn,x=h(T);var k=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};h.extend({dir:function(e,t,n){var r=[],i=e[t];while(i&&i.nodeType!==9&&(n===undefined||i.nodeType!==1||!h(i).is(n)))i.nodeType===1&&r.push(i),i=i[t];return r},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}}),h.fn.extend({has:function(e){var t,n=h(e,this),r=n.length;return this.filter(function(){for(t=0;t-1:n.nodeType===1&&h.find.matchesSelector(n,e))){s.push(n);break}return this.pushStack(s.length>1?h.unique(s):s)},index:function(e){return e?typeof e=="string"?h.inArray(this[0],h(e)):h.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(h.unique(h.merge(this.get(),h(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),h.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return h.dir(e,"parentNode")},parentsUntil:function(e,t,n){return h.dir(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return h.dir(e,"nextSibling")},prevAll:function(e){return h.dir(e,"previousSibling")},nextUntil:function(e,t,n){return h.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return h.dir(e,"previousSibling",n)},siblings:function(e){return h.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return h.sibling(e.firstChild)},contents:function(e){return h.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:h.merge([],e.childNodes)}},function(e,t){h.fn[e]=function(n,r){var i=h.map(this,t,n);return e.slice(-5)!=="Until"&&(r=n),r&&typeof r=="string"&&(i=h.filter(r,i)),this.length>1&&(L[e]||(i=h.unique(i)),k.test(e)&&(i=i.reverse())),this.pushStack(i)}});var O=/\S+/g,M={};h.Callbacks=function(e){e=typeof e=="string"?M[e]||_(e):h.extend({},e);var t,n,r,i,s,o,u=[],a=!e.once&&[],f=function(c){n=e.memory&&c,r=!0,s=o||0,o=0,i=u.length,t=!0;for(;u&&s-1)u.splice(r,1),t&&(r<=i&&i--,r<=s&&s--)}),this},has:function(e){return e?h.inArray(e,u)>-1:!!u&&!!u.length},empty:function(){return u=[],i=0,this},disable:function(){return u=a=n=undefined,this},disabled:function(){return!u},lock:function(){return a=undefined,n||l.disable(),this},locked:function(){return!a},fireWith:function(e,n){return u&&(!r||a)&&(n=n||[],n=[e,n.slice?n.slice():n],t?a.push(n):f(n)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},h.extend({Deferred:function(e){var t=[["resolve","done",h.Callbacks("once memory"),"resolved"],["reject","fail",h.Callbacks("once memory"),"rejected"],["notify","progress",h.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return h.Deferred(function(n){h.each(t,function(t,s){var o=h.isFunction(e[t])&&e[t];i[s[1]](function(){var e=o&&o.apply(this,arguments);e&&h.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s[0]+"With"](this===r?n.promise():this,o?[e]:arguments)})}),e=null}).promise()},promise:function(e){return e!=null?h.extend(e,r):r}},i={};return r.pipe=r.then,h.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=function(){return i[s[0]+"With"](this===i?r:this,arguments),this},i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=r.call(arguments),i=n.length,s=i!==1||e&&h.isFunction(e.promise)?i:0,o=s===1?e:h.Deferred(),u=function(e,t,n){return function(i){t[e]=this,n[e]=arguments.length>1?r.call(arguments):i,n===a?o.notifyWith(t,n):--s||o.resolveWith(t,n)}},a,f,l;if(i>1){a=new Array(i),f=new Array(i),l=new Array(i);for(;t0)return;D.resolveWith(T,[h]),h.fn.triggerHandler&&(h(T).triggerHandler("ready"),h(T).off("ready"))}}),h.ready.promise=function(t){if(!D){D=h.Deferred();if(T.readyState==="complete")setTimeout(h.ready);else if(T.addEventListener)T.addEventListener("DOMContentLoaded",H,!1),e.addEventListener("load",H,!1);else{T.attachEvent("onreadystatechange",H),e.attachEvent("onload",H);var n=!1;try{n=e.frameElement==null&&T.documentElement}catch(r){}n&&n.doScroll&&function i(){if(!h.isReady){try{n.doScroll("left")}catch(e){return setTimeout(i,50)}P(),h.ready()}}()}}return D.promise(t)};var B=typeof undefined,j;for(j in h(l))break;l.ownLast=j!=="0",l.inlineBlockNeedsLayout=!1,h(function(){var e,t,n,r;n=T.getElementsByTagName("body")[0];if(!n||!n.style)return;t=T.createElement("div"),r=T.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),typeof t.style.zoom!==B&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",l.inlineBlockNeedsLayout=e=t.offsetWidth===3,e&&(n.style.zoom=1)),n.removeChild(r)}),function(){var e=T.createElement("div");if(l.deleteExpando==null){l.deleteExpando=!0;try{delete e.test}catch(t){l.deleteExpando=!1}}e=null}(),h.acceptData=function(e){var t=h.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return n!==1&&n!==9?!1:!t||t!==!0&&e.getAttribute("classid")===t};var F=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,I=/([A-Z])/g;h.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?h.cache[e[h.expando]]:e[h.expando],!!e&&!R(e)},data:function(e,t,n){return U(e,t,n)},removeData:function(e,t){return z(e,t)},_data:function(e,t,n){return U(e,t,n,!0)},_removeData:function(e,t){return z(e,t,!0)}}),h.fn.extend({data:function(e,t){var n,r,i,s=this[0],o=s&&s.attributes;if(e===undefined){if(this.length){i=h.data(s);if(s.nodeType===1&&!h._data(s,"parsedAttrs")){n=o.length;while(n--)o[n]&&(r=o[n].name,r.indexOf("data-")===0&&(r=h.camelCase(r.slice(5)),q(s,r,i[r])));h._data(s,"parsedAttrs",!0)}}return i}return typeof e=="object"?this.each(function(){h.data(this,e)}):arguments.length>1?this.each(function(){h.data(this,e,t)}):s?q(s,e,h.data(s,e)):undefined},removeData:function(e){return this.each(function(){h.removeData(this,e)})}}),h.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=h._data(e,t),n&&(!r||h.isArray(n)?r=h._data(e,t,h.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=h.queue(e,t),r=n.length,i=n.shift(),s=h._queueHooks(e,t),o=function(){h.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return h._data(e,n)||h._data(e,n,{empty:h.Callbacks("once memory").add(function(){h._removeData(e,t+"queue"),h._removeData(e,n)})})}}),h.fn.extend({queue:function(e,t){var n=2;return typeof e!="string"&&(t=e,e="fx",n--),arguments.length
a",l.leadingWhitespace=t.firstChild.nodeType===3,l.tbody=!t.getElementsByTagName("tbody").length,l.htmlSerialize=!!t.getElementsByTagName("link").length,l.html5Clone=T.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",e.type="checkbox",e.checked=!0,n.appendChild(e),l.appendChecked=e.checked,t.innerHTML="",l.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,n.appendChild(t),t.innerHTML="",l.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",function(){l.noCloneEvent=!1}),t.cloneNode(!0).click());if(l.deleteExpando==null){l.deleteExpando=!0;try{delete t.test}catch(r){l.deleteExpando=!1}}})(),function(){var t,n,r=T.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(l[t+"Bubbles"]=n in e)||(r.setAttribute(n,"t"),l[t+"Bubbles"]=r.attributes[n].expando===!1);r=null}();var K=/^(?:input|select|textarea)$/i,Q=/^key/,G=/^(?:mouse|pointer|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=/^([^.]*)(?:\.(.+)|)$/;h.event={global:{},add:function(e,t,n,r,i){var s,o,u,a,f,l,c,p,d,v,m,g=h._data(e);if(!g)return;n.handler&&(a=n,n=a.handler,i=a.selector),n.guid||(n.guid=h.guid++),(o=g.events)||(o=g.events={}),(l=g.handle)||(l=g.handle=function(e){return typeof h===B||!!e&&h.event.triggered===e.type?undefined:h.event.dispatch.apply(l.elem,arguments)},l.elem=e),t=(t||"").match(O)||[""],u=t.length;while(u--){s=Z.exec(t[u])||[],d=m=s[1],v=(s[2]||"").split(".").sort();if(!d)continue;f=h.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=h.event.special[d]||{},c=h.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&h.expr.match.needsContext.test(i),namespace:v.join(".")},a);if(!(p=o[d])){p=o[d]=[],p.delegateCount=0;if(!f.setup||f.setup.call(e,r,v,l)===!1)e.addEventListener?e.addEventListener(d,l,!1):e.attachEvent&&e.attachEvent("on"+d,l)}f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),h.event.global[d]=!0}e=null},remove:function(e,t,n,r,i){var s,o,u,a,f,l,c,p,d,v,m,g=h.hasData(e)&&h._data(e);if(!g||!(l=g.events))return;t=(t||"").match(O)||[""],f=t.length;while(f--){u=Z.exec(t[f])||[],d=m=u[1],v=(u[2]||"").split(".").sort();if(!d){for(d in l)h.event.remove(e,d+t[f],n,r,!0);continue}c=h.event.special[d]||{},d=(r?c.delegateType:c.bindType)||d,p=l[d]||[],u=u[2]&&new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=p.length;while(s--)o=p[s],(i||m===o.origType)&&(!n||n.guid===o.guid)&&(!u||u.test(o.namespace))&&(!r||r===o.selector||r==="**"&&o.selector)&&(p.splice(s,1),o.selector&&p.delegateCount--,c.remove&&c.remove.call(e,o));a&&!p.length&&((!c.teardown||c.teardown.call(e,v,g.handle)===!1)&&h.removeEvent(e,d,g.handle),delete l[d])}h.isEmptyObject(l)&&(delete g.handle,h._removeData(e,"events"))},trigger:function(t,n,r,i){var s,o,u,a,l,c,p,d=[r||T],v=f.call(t,"type")?t.type:t,m=f.call(t,"namespace")?t.namespace.split("."):[];u=c=r=r||T;if(r.nodeType===3||r.nodeType===8)return;if(Y.test(v+h.event.triggered))return;v.indexOf(".")>=0&&(m=v.split("."),v=m.shift(),m.sort()),o=v.indexOf(":")<0&&"on"+v,t=t[h.expando]?t:new h.Event(v,typeof t=="object"&&t),t.isTrigger=i?2:3,t.namespace=m.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=r),n=n==null?[t]:h.makeArray(n,[t]),l=h.event.special[v]||{};if(!i&&l.trigger&&l.trigger.apply(r,n)===!1)return;if(!i&&!l.noBubble&&!h.isWindow(r)){a=l.delegateType||v,Y.test(a+v)||(u=u.parentNode);for(;u;u=u.parentNode)d.push(u),c=u;c===(r.ownerDocument||T)&&d.push(c.defaultView||c.parentWindow||e)}p=0;while((u=d[p++])&&!t.isPropagationStopped())t.type=p>1?a:l.bindType||v,s=(h._data(u,"events")||{})[t.type]&&h._data(u,"handle"),s&&s.apply(u,n),s=o&&u[o],s&&s.apply&&h.acceptData(u)&&(t.result=s.apply(u,n),t.result===!1&&t.preventDefault());t.type=v;if(!i&&!t.isDefaultPrevented()&&(!l._default||l._default.apply(d.pop(),n)===!1)&&h.acceptData(r)&&o&&r[v]&&!h.isWindow(r)){c=r[o],c&&(r[o]=null),h.event.triggered=v;try{r[v]()}catch(g){}h.event.triggered=undefined,c&&(r[o]=c)}return t.result},dispatch:function(e){e=h.event.fix(e);var t,n,i,s,o,u=[],a=r.call(arguments),f=(h._data(this,"events")||{})[e.type]||[],l=h.event.special[e.type]||{};a[0]=e,e.delegateTarget=this;if(l.preDispatch&&l.preDispatch.call(this,e)===!1)return;u=h.event.handlers.call(this,e,f),t=0;while((s=u[t++])&&!e.isPropagationStopped()){e.currentTarget=s.elem,o=0;while((i=s.handlers[o++])&&!e.isImmediatePropagationStopped())if(!e.namespace_re||e.namespace_re.test(i.namespace))e.handleObj=i,e.data=i.data,n=((h.event.special[i.origType]||{}).handle||i.handler).apply(s.elem,a),n!==undefined&&(e.result=n)===!1&&(e.preventDefault(),e.stopPropagation())}return l.postDispatch&&l.postDispatch.call(this,e),e.result},handlers:function(e,t){var n,r,i,s,o=[],u=t.delegateCount,a=e.target;if(u&&a.nodeType&&(!e.button||e.type!=="click"))for(;a!=this;a=a.parentNode||this)if(a.nodeType===1&&(a.disabled!==!0||e.type!=="click")){i=[];for(s=0;s=0:h.find(n,this,null,[a]).length),i[n]&&i.push(r);i.length&&o.push({elem:a,handlers:i})}return u]","i"),ut=/^\s+/,at=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ft=/<([\w:]+)/,lt=/\s*$/g,gt={option:[1,""],legend:[1,"
","
"],area:[1,"",""],param:[1,"",""],thead:[1,"","
"],tr:[2,"","
"],col:[2,"","
"],td:[3,"","
"],_default:l.htmlSerialize?[0,"",""]:[1,"X
","
"]},yt=rt(T),bt=yt.appendChild(T.createElement("div"));gt.optgroup=gt.option,gt.tbody=gt.tfoot=gt.colgroup=gt.caption=gt.thead,gt.th=gt.td,h.extend({clone:function(e,t,n){var r,i,s,o,u,a=h.contains(e.ownerDocument,e);l.html5Clone||h.isXMLDoc(e)||!ot.test("<"+e.nodeName+">")?s=e.cloneNode(!0):(bt.innerHTML=e.outerHTML,bt.removeChild(s=bt.firstChild));if((!l.noCloneEvent||!l.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!h.isXMLDoc(e)){r=wt(s),u=wt(e);for(o=0;(i=u[o])!=null;++o)r[o]&&kt(i,r[o])}if(t)if(n){u=u||wt(e),r=r||wt(s);for(o=0;(i=u[o])!=null;o++)Ct(i,r[o])}else Ct(e,s);return r=wt(s,"script"),r.length>0&&Nt(r,!a&&wt(e,"script")),r=u=i=null,s},buildFragment:function(e,t,n,r){var i,s,o,u,a,f,c,p=e.length,d=rt(t),v=[],m=0;for(;m")+c[2],i=c[0];while(i--)u=u.lastChild;!l.leadingWhitespace&&ut.test(s)&&v.push(t.createTextNode(ut.exec(s)[0]));if(!l.tbody){s=a==="table"&&!lt.test(s)?u.firstChild:c[1]===""&&!lt.test(s)?u:0,i=s&&s.childNodes.length;while(i--)h.nodeName(f=s.childNodes[i],"tbody")&&!f.childNodes.length&&s.removeChild(f)}h.merge(v,u.childNodes),u.textContent="";while(u.firstChild)u.removeChild(u.firstChild);u=d.lastChild}}u&&d.removeChild(u),l.appendChecked||h.grep(wt(v,"input"),Et),m=0;while(s=v[m++]){if(r&&h.inArray(s,r)!==-1)continue;o=h.contains(s.ownerDocument,s),u=wt(d.appendChild(s),"script"),o&&Nt(u);if(n){i=0;while(s=u[i++])dt.test(s.type||"")&&n.push(s)}}return u=null,d},cleanData:function(e,t){var r,i,s,o,u=0,a=h.expando,f=h.cache,c=l.deleteExpando,p=h.event.special;for(;(r=e[u])!=null;u++)if(t||h.acceptData(r)){s=r[a],o=s&&f[s];if(o){if(o.events)for(i in o.events)p[i]?h.event.remove(r,i):h.removeEvent(r,i,o.handle);f[s]&&(delete f[s],c?delete r[a]:typeof r.removeAttribute!==B?r.removeAttribute(a):r[a]=null,n.push(s))}}}}),h.fn.extend({text:function(e){return $(this,function(e){return e===undefined?h.text(this):this.empty().append((this[0]&&this[0].ownerDocument||T).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=St(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=St(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?h.filter(e,this):this,i=0;for(;(n=r[i])!=null;i++)!t&&n.nodeType===1&&h.cleanData(wt(n)),n.parentNode&&(t&&h.contains(n.ownerDocument,n)&&Nt(wt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&h.cleanData(wt(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&h.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return h.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined)return t.nodeType===1?t.innerHTML.replace(st,""):undefined;if(typeof e=="string"&&!ht.test(e)&&(l.htmlSerialize||!ot.test(e))&&(l.leadingWhitespace||!ut.test(e))&&!gt[(ft.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(at,"<$1>");try{for(;n1&&typeof v=="string"&&!l.checkClone&&pt.test(v))return this.each(function(n){var r=p.eq(n);m&&(e[0]=v.call(this,n,r.html())),r.domManip(e,t)});if(c){a=h.buildFragment(e,this[0].ownerDocument,!1,this),n=a.firstChild,a.childNodes.length===1&&(a=n);if(n){o=h.map(wt(a,"script"),xt),s=o.length;for(;f
t
",a=t.getElementsByTagName("td"),a[0].style.cssText="margin:0;border:0;padding:0;display:none",o=a[0].offsetHeight===0,o&&(a[0].style.display="",a[1].style.display="none",o=a[0].offsetHeight===0),n.removeChild(r)}var t,n,r,i,s,o,u;t=T.createElement("div"),t.innerHTML="
a",r=t.getElementsByTagName("a")[0],n=r&&r.style;if(!n)return;n.cssText="float:left;opacity:.5",l.opacity=n.opacity==="0.5",l.cssFloat=!!n.cssFloat,t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle=t.style.backgroundClip==="content-box",l.boxSizing=n.boxSizing===""||n.MozBoxSizing===""||n.WebkitBoxSizing==="",h.extend(l,{reliableHiddenOffsets:function(){return o==null&&a(),o},boxSizingReliable:function(){return s==null&&a(),s},pixelPosition:function(){return i==null&&a(),i},reliableMarginRight:function(){return u==null&&a(),u}})}(),h.swap=function(e,t,n,r){var i,s,o={};for(s in t)o[s]=e.style[s],e.style[s]=t[s];i=n.apply(e,r||[]);for(s in t)e.style[s]=o[s];return i};var Ft=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,qt=/^(none|table(?!-c[ea]).+)/,Rt=new RegExp("^("+W+")(.*)$","i"),Ut=new RegExp("^([+-])=("+W+")","i"),zt={position:"absolute",visibility:"hidden",display:"block"},Wt={letterSpacing:"0",fontWeight:"400"},Xt=["Webkit","O","Moz","ms"];h.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ht(e,"opacity");return n===""?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":l.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var i,s,o,u=h.camelCase(t),a=e.style;t=h.cssProps[u]||(h.cssProps[u]=Vt(a,u)),o=h.cssHooks[t]||h.cssHooks[u];if(n===undefined)return o&&"get"in o&&(i=o.get(e,!1,r))!==undefined?i:a[t];s=typeof n,s==="string"&&(i=Ut.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(h.css(e,t)),s="number");if(n==null||n!==n)return;s==="number"&&!h.cssNumber[u]&&(n+="px"),!l.clearCloneStyle&&n===""&&t.indexOf("background")===0&&(a[t]="inherit");if(!o||!("set"in o)||(n=o.set(e,n,r))!==undefined)try{a[t]=n}catch(f){}},css:function(e,t,n,r){var i,s,o,u=h.camelCase(t);return t=h.cssProps[u]||(h.cssProps[u]=Vt(e.style,u)),o=h.cssHooks[t]||h.cssHooks[u],o&&"get"in o&&(s=o.get(e,!0,n)),s===undefined&&(s=Ht(e,t,r)),s==="normal"&&t in Wt&&(s=Wt[t]),n===""||n?(i=parseFloat(s),n===!0||h.isNumeric(i)?i||0:s):s}}),h.each(["height","width"],function(e,t){h.cssHooks[t]={get:function(e,n,r){if(n)return qt.test(h.css(e,"display"))&&e.offsetWidth===0?h.swap(e,zt,function(){return Qt(e,t,r)}):Qt(e,t,r)},set:function(e,n,r){var i=r&&Pt(e);return Jt(e,n,r?Kt(e,t,r,l.boxSizing&&h.css(e,"boxSizing",!1,i)==="border-box",i):0)}}}),l.opacity||(h.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=h.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if((t>=1||t==="")&&h.trim(s.replace(Ft,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(t===""||r&&!r.filter)return}n.filter=Ft.test(s)?s.replace(Ft,i):s+" "+i}}),h.cssHooks.marginRight=jt(l.reliableMarginRight,function(e,t){if(t)return h.swap(e,{display:"inline-block"},Ht,[e,"marginRight"])}),h.each({margin:"",padding:"",border:"Width"},function(e,t){h.cssHooks[e+t]={expand:function(n){var r=0,i={},s=typeof n=="string"?n.split(" "):[n];for(;r<4;r++)i[e+X[r]+t]=s[r]||s[r-2]||s[0];return i}},_t.test(e)||(h.cssHooks[e+t].set=Jt)}),h.fn.extend({css:function(e,t){return $(this,function(e,t,n){var r,i,s={},o=0;if(h.isArray(t)){r=Pt(e),i=t.length;for(;o1)},show:function(){return $t(this,!0)},hide:function(){return $t(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){V(this)?h(this).show():h(this).hide()})}}),h.Tween=Gt,Gt.prototype={constructor:Gt,init:function(e,t,n,r,i,s){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=s||(h.cssNumber[n]?"":"px")},cur:function(){var e=Gt.propHooks[this.prop];return e&&e.get?e.get(this):Gt.propHooks._default.get(this)},run:function(e){var t,n=Gt.propHooks[this.prop];return this.options.duration?this.pos=t=h.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Gt.propHooks._default.set(this),this}},Gt.prototype.init.prototype=Gt.prototype,Gt.propHooks={_default:{get:function(e){var t;return e.elem[e.prop]==null||!!e.elem.style&&e.elem.style[e.prop]!=null?(t=h.css(e.elem,e.prop,""),!t||t==="auto"?0:t):e.elem[e.prop]},set:function(e){h.fx.step[e.prop]?h.fx.step[e.prop](e):e.elem.style&&(e.elem.style[h.cssProps[e.prop]]!=null||h.cssHooks[e.prop])?h.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Gt.propHooks.scrollTop=Gt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},h.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},h.fx=Gt.prototype.init,h.fx.step={};var Yt,Zt,en=/^(?:toggle|show|hide)$/,tn=new RegExp("^(?:([+-])=|)("+W+")([a-z%]*)$","i"),nn=/queueHooks$/,rn=[fn],sn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=tn.exec(t),s=i&&i[3]||(h.cssNumber[e]?"":"px"),o=(h.cssNumber[e]||s!=="px"&&+r)&&tn.exec(h.css(n.elem,e)),u=1,a=20;if(o&&o[3]!==s){s=s||o[3],i=i||[],o=+r||1;do u=u||".5",o/=u,h.style(n.elem,e,o+s);while(u!==(u=n.cur()/r)&&u!==1&&--a)}return i&&(o=n.start=+o||+r||0,n.unit=s,n.end=i[1]?o+(i[1]+1)*i[2]:+i[2]),n}]};h.Animation=h.extend(cn,{tweener:function(e,t){h.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r
a",r=t.getElementsByTagName("a")[0],n=T.createElement("select"),i=n.appendChild(T.createElement("option")),e=t.getElementsByTagName("input")[0],r.style.cssText="top:1px",l.getSetAttribute=t.className!=="t",l.style=/top/.test(r.getAttribute("style")),l.hrefNormalized=r.getAttribute("href")==="/a",l.checkOn=!!e.value,l.optSelected=i.selected,l.enctype=!!T.createElement("form").enctype,n.disabled=!0,l.optDisabled=!i.disabled,e=T.createElement("input"),e.setAttribute("value",""),l.input=e.getAttribute("value")==="",e.value="t",e.setAttribute("type","radio"),l.radioValue=e.value==="t"}();var hn=/\r/g;h.fn.extend({val:function(e){var t,n,r,i=this[0];if(!arguments.length){if(i)return t=h.valHooks[i.type]||h.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&(n=t.get(i,"value"))!==undefined?n:(n=i.value,typeof n=="string"?n.replace(hn,""):n==null?"":n);return}return r=h.isFunction(e),this.each(function(n){var i;if(this.nodeType!==1)return;r?i=e.call(this,n,h(this).val()):i=e,i==null?i="":typeof i=="number"?i+="":h.isArray(i)&&(i=h.map(i,function(e){return e==null?"":e+""})),t=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()];if(!t||!("set"in t)||t.set(this,i,"value")===undefined)this.value=i})}}),h.extend({valHooks:{option:{get:function(e){var t=h.find.attr(e,"value");return t!=null?t:h.trim(h.text(e))}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a=0)try{r.selected=n=!0}catch(u){r.scrollHeight}else r.selected=!1}return n||(e.selectedIndex=-1),i}}}}),h.each(["radio","checkbox"],function(){h.valHooks[this]={set:function(e,t){if(h.isArray(t))return e.checked=h.inArray(h(e).val(),t)>=0}},l.checkOn||(h.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var pn,dn,vn=h.expr.attrHandle,mn=/^(?:checked|selected)$/i,gn=l.getSetAttribute,yn=l.input;h.fn.extend({attr:function(e,t){return $(this,h.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){h.removeAttr(this,e)})}}),h.extend({attr:function(e,t,n){var r,i,s=e.nodeType;if(!e||s===3||s===8||s===2)return;if(typeof e.getAttribute===B)return h.prop(e,t,n);if(s!==1||!h.isXMLDoc(e))t=t.toLowerCase(),r=h.attrHooks[t]||(h.expr.match.bool.test(t)?dn:pn);if(n===undefined)return r&&"get"in r&&(i=r.get(e,t))!==null?i:(i=h.find.attr(e,t),i==null?undefined:i);if(n!==null)return r&&"set"in r&&(i=r.set(e,n,t))!==undefined?i:(e.setAttribute(t,n+""),n);h.removeAttr(e,t)},removeAttr:function(e,t){var n,r,i=0,s=t&&t.match(O);if(s&&e.nodeType===1)while(n=s[i++])r=h.propFix[n]||n,h.expr.match.bool.test(n)?yn&&gn||!mn.test(n)?e[r]=!1:e[h.camelCase("default-"+n)]=e[r]=!1:h.attr(e,n,""),e.removeAttribute(gn?n:r)},attrHooks:{type:{set:function(e,t){if(!l.radioValue&&t==="radio"&&h.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),dn={set:function(e,t,n){return t===!1?h.removeAttr(e,n):yn&&gn||!mn.test(n)?e.setAttribute(!gn&&h.propFix[n]||n,n):e[h.camelCase("default-"+n)]=e[n]=!0,n}},h.each(h.expr.match.bool.source.match(/\w+/g),function(e,t){var n=vn[t]||h.find.attr;vn[t]=yn&&gn||!mn.test(t)?function(e,t,r){var i,s;return r||(s=vn[t],vn[t]=i,i=n(e,t,r)!=null?t.toLowerCase():null,vn[t]=s),i}:function(e,t,n){if(!n)return e[h.camelCase("default-"+t)]?t.toLowerCase():null}});if(!yn||!gn)h.attrHooks.value={set:function(e,t,n){if(!h.nodeName(e,"input"))return pn&&pn.set(e,t,n);e.defaultValue=t}};gn||(pn={set:function(e,t,n){var r=e.getAttributeNode(n);r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="";if(n==="value"||t===e.getAttribute(n))return t}},vn.id=vn.name=vn.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&r.value!==""?r.value:null},h.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:pn.set},h.attrHooks.contenteditable={set:function(e,t,n){pn.set(e,t===""?!1:t,n)}},h.each(["width","height"],function(e,t){h.attrHooks[t]={set:function(e,n){if(n==="")return e.setAttribute(t,"auto"),n}}})),l.style||(h.attrHooks.style={get:function(e){return e.style.cssText||undefined},set:function(e,t){return e.style.cssText=t+""}});var bn=/^(?:input|select|textarea|button|object)$/i,wn=/^(?:a|area)$/i;h.fn.extend({prop:function(e,t){return $(this,h.prop,e,t,arguments.length>1)},removeProp:function(e){return e=h.propFix[e]||e,this.each(function(){try{this[e]=undefined,delete this[e]}catch(t){}})}}),h.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,s,o=e.nodeType;if(!e||o===3||o===8||o===2)return;return s=o!==1||!h.isXMLDoc(e),s&&(t=h.propFix[t]||t,i=h.propHooks[t]),n!==undefined?i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:e[t]=n:i&&"get"in i&&(r=i.get(e,t))!==null?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=h.find.attr(e,"tabindex");return t?parseInt(t,10):bn.test(e.nodeName)||wn.test(e.nodeName)&&e.href?0:-1}}}}),l.hrefNormalized||h.each(["href","src"],function(e,t){h.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),l.optSelected||(h.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),h.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){h.propFix[this.toLowerCase()]=this}),l.enctype||(h.propFix.enctype="encoding");var En=/[\t\r\n\f]/g;h.fn.extend({addClass:function(e){var t,n,r,i,s,o,u=0,a=this.length,f=typeof e=="string"&&e;if(h.isFunction(e))return this.each(function(t){h(this).addClass(e.call(this,t,this.className))});if(f){t=(e||"").match(O)||[];for(;u=0)r=r.replace(" "+i+" "," ");o=e?h.trim(r):"",n.className!==o&&(n.className=o)}}}return this},toggleClass:function(e,t){var n=typeof e;return typeof t=="boolean"&&n==="string"?t?this.addClass(e):this.removeClass(e):h.isFunction(e)?this.each(function(n){h(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var t,r=0,i=h(this),s=e.match(O)||[];while(t=s[r++])i.hasClass(t)?i.removeClass(t):i.addClass(t)}else if(n===B||n==="boolean")this.className&&h._data(this,"__className__",this.className),this.className=this.className||e===!1?"":h._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n=0)return!0;return!1}}),h.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){h.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),h.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)}});var Sn=h.now(),xn=/\?/,Tn=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;h.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,r=null,i=h.trim(t+"");return i&&!h.trim(i.replace(Tn,function(e,t,i,s){return n&&t&&(r=0),r===0?e:(n=i||t,r+=!s-!i,"")}))?Function("return "+i)():h.error("Invalid JSON: "+t)},h.parseXML=function(t){var n,r;if(!t||typeof t!="string")return null;try{e.DOMParser?(r=new DOMParser,n=r.parseFromString(t,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(t))}catch(i){n=undefined}return(!n||!n.documentElement||n.getElementsByTagName("parsererror").length)&&h.error("Invalid XML: "+t),n};var Nn,Cn,kn=/#.*$/,Ln=/([?&])_=[^&]*/,An=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,On=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mn=/^(?:GET|HEAD)$/,_n=/^\/\//,Dn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Pn={},Hn={},Bn="*/".concat("*");try{Cn=location.href}catch(jn){Cn=T.createElement("a"),Cn.href="",Cn=Cn.href}Nn=Dn.exec(Cn.toLowerCase())||[],h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Cn,type:"GET",isLocal:On.test(Nn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":h.parseJSON,"text xml":h.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?qn(qn(e,h.ajaxSettings),t):qn(h.ajaxSettings,e)},ajaxPrefilter:Fn(Pn),ajaxTransport:Fn(Hn),ajax:function(e,t){function x(e,t,n,r){var f,g,y,w,S,x=t;if(b===2)return;b=2,o&&clearTimeout(o),a=undefined,s=r||"",E.readyState=e>0?4:0,f=e>=200&&e<300||e===304,n&&(w=Rn(l,E,n)),w=Un(l,w,E,f);if(f)l.ifModified&&(S=E.getResponseHeader("Last-Modified"),S&&(h.lastModified[i]=S),S=E.getResponseHeader("etag"),S&&(h.etag[i]=S)),e===204||l.type==="HEAD"?x="nocontent":e===304?x="notmodified":(x=w.state,g=w.data,y=w.error,f=!y);else{y=x;if(e||!x)x="error",e<0&&(e=0)}E.status=e,E.statusText=(t||x)+"",f?d.resolveWith(c,[g,x,E]):d.rejectWith(c,[E,x,y]),E.statusCode(m),m=undefined,u&&p.trigger(f?"ajaxSuccess":"ajaxError",[E,l,f?g:y]),v.fireWith(c,[E,x]),u&&(p.trigger("ajaxComplete",[E,l]),--h.active||h.event.trigger("ajaxStop"))}typeof e=="object"&&(t=e,e=undefined),t=t||{};var n,r,i,s,o,u,a,f,l=h.ajaxSetup({},t),c=l.context||l,p=l.context&&(c.nodeType||c.jquery)?h(c):h.event,d=h.Deferred(),v=h.Callbacks("once memory"),m=l.statusCode||{},g={},y={},b=0,w="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(b===2){if(!f){f={};while(t=An.exec(s))f[t[1].toLowerCase()]=t[2]}t=f[e.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return b===2?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=y[n]=y[n]||e,g[e]=t),this},overrideMimeType:function(e){return b||(l.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)m[t]=[m[t],e[t]];else E.always(e[E.status]);return this},abort:function(e){var t=e||w;return a&&a.abort(t),x(0,t),this}};d.promise(E).complete=v.add,E.success=E.done,E.error=E.fail,l.url=((e||l.url||Cn)+"").replace(kn,"").replace(_n,Nn[1]+"//"),l.type=t.method||t.type||l.method||l.type,l.dataTypes=h.trim(l.dataType||"*").toLowerCase().match(O)||[""],l.crossDomain==null&&(n=Dn.exec(l.url.toLowerCase()),l.crossDomain=!(!n||n[1]===Nn[1]&&n[2]===Nn[2]&&(n[3]||(n[1]==="http:"?"80":"443"))===(Nn[3]||(Nn[1]==="http:"?"80":"443")))),l.data&&l.processData&&typeof l.data!="string"&&(l.data=h.param(l.data,l.traditional)),In(Pn,l,t,E);if(b===2)return E;u=h.event&&l.global,u&&h.active++===0&&h.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!Mn.test(l.type),i=l.url,l.hasContent||(l.data&&(i=l.url+=(xn.test(i)?"&":"?")+l.data,delete l.data),l.cache===!1&&(l.url=Ln.test(i)?i.replace(Ln,"$1_="+Sn++):i+(xn.test(i)?"&":"?")+"_="+Sn++)),l.ifModified&&(h.lastModified[i]&&E.setRequestHeader("If-Modified-Since",h.lastModified[i]),h.etag[i]&&E.setRequestHeader("If-None-Match",h.etag[i])),(l.data&&l.hasContent&&l.contentType!==!1||t.contentType)&&E.setRequestHeader("Content-Type",l.contentType),E.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+Bn+"; q=0.01":""):l.accepts["*"]);for(r in l.headers)E.setRequestHeader(r,l.headers[r]);if(!l.beforeSend||l.beforeSend.call(c,E,l)!==!1&&b!==2){w="abort";for(r in{success:1,error:1,complete:1})E[r](l[r]);a=In(Hn,l,t,E);if(!a)x(-1,"No Transport");else{E.readyState=1,u&&p.trigger("ajaxSend",[E,l]),l.async&&l.timeout>0&&(o=setTimeout(function(){E.abort("timeout")},l.timeout));try{b=1,a.send(g,x)}catch(S){if(!(b<2))throw S;x(-1,S)}}return E}return E.abort()},getJSON:function(e,t,n){return h.get(e,t,n,"json")},getScript:function(e,t){return h.get(e,undefined,t,"script")}}),h.each(["get","post"],function(e,t){h[t]=function(e,n,r,i){return h.isFunction(n)&&(i=i||r,r=n,n=undefined),h.ajax({url:e,type:t,dataType:i,data:n,success:r})}}),h._evalUrl=function(e){return h.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},h.fn.extend({wrapAll:function(e){if(h.isFunction(e))return this.each(function(t){h(this).wrapAll(e.call(this,t))});if(this[0]){var t=h(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return h.isFunction(e)?this.each(function(t){h(this).wrapInner(e.call(this,t))}):this.each(function(){var t=h(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=h.isFunction(e);return this.each(function(n){h(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){h.nodeName(this,"body")||h(this).replaceWith(this.childNodes)}).end()}}),h.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!l.reliableHiddenOffsets()&&(e.style&&e.style.display||h.css(e,"display"))==="none"},h.expr.filters.visible=function(e){return!h.expr.filters.hidden(e)};var zn=/%20/g,Wn=/\[\]$/,Xn=/\r?\n/g,Vn=/^(?:submit|button|image|reset|file)$/i,$n=/^(?:input|select|textarea|keygen)/i;h.param=function(e,t){var n,r=[],i=function(e,t){t=h.isFunction(t)?t():t==null?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};t===undefined&&(t=h.ajaxSettings&&h.ajaxSettings.traditional);if(h.isArray(e)||e.jquery&&!h.isPlainObject(e))h.each(e,function(){i(this.name,this.value)});else for(n in e)Jn(n,e[n],t,i);return r.join("&").replace(zn,"+")},h.fn.extend({serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=h.prop(this,"elements");return e?h.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!h(this).is(":disabled")&&$n.test(this.nodeName)&&!Vn.test(e)&&(this.checked||!J.test(e))}).map(function(e,t){var n=h(this).val();return n==null?null:h.isArray(n)?h.map(n,function(e){return{name:t.name,value:e.replace(Xn,"\r\n")}}):{name:t.name,value:n.replace(Xn,"\r\n")}}).get()}}),h.ajaxSettings.xhr=e.ActiveXObject!==undefined?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Yn()||Zn()}:Yn;var Kn=0,Qn={},Gn=h.ajaxSettings.xhr();e.attachEvent&&e.attachEvent("onunload",function(){for(var e in Qn)Qn[e](undefined,!0)}),l.cors=!!Gn&&"withCredentials"in Gn,Gn=l.ajax=!!Gn,Gn&&h.ajaxTransport(function(e){if(!e.crossDomain||l.cors){var t;return{send:function(n,r){var i,s=e.xhr(),o=++Kn;s.open(e.type,e.url,e.async,e.username,e.password);if(e.xhrFields)for(i in e.xhrFields)s[i]=e.xhrFields[i];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),!e.crossDomain&&!n["X-Requested-With"]&&(n["X-Requested-With"]="XMLHttpRequest");for(i in n)n[i]!==undefined&&s.setRequestHeader(i,n[i]+"");s.send(e.hasContent&&e.data||null),t=function(n,i){var u,a,f;if(t&&(i||s.readyState===4)){delete Qn[o],t=undefined,s.onreadystatechange=h.noop;if(i)s.readyState!==4&&s.abort();else{f={},u=s.status,typeof s.responseText=="string"&&(f.text=s.responseText);try{a=s.statusText}catch(l){a=""}!u&&e.isLocal&&!e.crossDomain?u=f.text?200:404:u===1223&&(u=204)}}f&&r(u,a,f,s.getAllResponseHeaders())},e.async?s.readyState===4?setTimeout(t):s.onreadystatechange=Qn[o]=t:t()},abort:function(){t&&t(undefined,!0)}}}}),h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return h.globalEval(e),e}}}),h.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),h.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=T.head||h("head")[0]||T.documentElement;return{send:function(r,i){t=T.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){if(n||!t.readyState||/loaded|complete/.test(t.readyState))t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success")},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(undefined,!0)}}}});var er=[],tr=/(=)\?(?=&|$)|\?\?/;h.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=er.pop()||h.expando+"_"+Sn++;return this[e]=!0,e}}),h.ajaxPrefilter("json jsonp",function(t,n,r){var i,s,o,u=t.jsonp!==!1&&(tr.test(t.url)?"url":typeof t.data=="string"&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&tr.test(t.data)&&"data");if(u||t.dataTypes[0]==="jsonp")return i=t.jsonpCallback=h.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,u?t[u]=t[u].replace(tr,"$1"+i):t.jsonp!==!1&&(t.url+=(xn.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return o||h.error(i+" was not called"),o[0]},t.dataTypes[0]="json",s=e[i],e[i]=function(){o=arguments},r.always(function(){e[i]=s,t[i]&&(t.jsonpCallback=n.jsonpCallback,er.push(i)),o&&h.isFunction(s)&&s(o[0]),o=s=undefined}),"script"}),h.parseHTML=function(e,t,n){if(!e||typeof e!="string")return null;typeof t=="boolean"&&(n=t,t=!1),t=t||T;var r=w.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=h.buildFragment([e],t,i),i&&i.length&&h(i).remove(),h.merge([],r.childNodes))};var nr=h.fn.load;h.fn.load=function(e,t,n){if(typeof e!="string"&&nr)return nr.apply(this,arguments);var r,i,s,o=this,u=e.indexOf(" ");return u>=0&&(r=h.trim(e.slice(u,e.length)),e=e.slice(0,u)),h.isFunction(t)?(n=t,t=undefined):t&&typeof t=="object"&&(s="POST"),o.length>0&&h.ajax({url:e,type:s,dataType:"html",data:t}).done(function(e){i=arguments,o.html(r?h("
").append(h.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){o.each(n,i||[e.responseText,t,e])}),this},h.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){h.fn[t]=function(e){return this.on(t,e)}}),h.expr.filters.animated=function(e){return h.grep(h.timers,function(t){return e===t.elem}).length};var rr=e.document.documentElement;h.offset={setOffset:function(e,t,n){var r,i,s,o,u,a,f,l=h.css(e,"position"),c=h(e),p={};l==="static"&&(e.style.position="relative"),u=c.offset(),s=h.css(e,"top"),a=h.css(e,"left"),f=(l==="absolute"||l==="fixed")&&h.inArray("auto",[s,a])>-1,f?(r=c.position(),o=r.top,i=r.left):(o=parseFloat(s)||0,i=parseFloat(a)||0),h.isFunction(t)&&(t=t.call(e,n,u)),t.top!=null&&(p.top=t.top-u.top+o),t.left!=null&&(p.left=t.left-u.left+i),"using"in t?t.using.call(e,p):c.css(p)}},h.fn.extend({offset:function(e){if(arguments.length)return e===undefined?this:this.each(function(t){h.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],s=i&&i.ownerDocument;if(!s)return;return t=s.documentElement,h.contains(t,i)?(typeof i.getBoundingClientRect!==B&&(r=i.getBoundingClientRect()),n=ir(s),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(!this[0])return;var e,t,n={top:0,left:0},r=this[0];return h.css(r,"position")==="fixed"?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),h.nodeName(e[0],"html")||(n=e.offset()),n.top+=h.css(e[0],"borderTopWidth",!0),n.left+=h.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-h.css(r,"marginTop",!0),left:t.left-n.left-h.css(r,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||rr;while(e&&!h.nodeName(e,"html")&&h.css(e,"position")==="static")e=e.offsetParent;return e||rr})}}),h.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);h.fn[e]=function(r){return $(this,function(e,r,i){var s=ir(e);if(i===undefined)return s?t in s?s[t]:s.document.documentElement[r]:e[r];s?s.scrollTo(n?h(s).scrollLeft():i,n?i:h(s).scrollTop()):e[r]=i},e,r,arguments.length,null)}}),h.each(["top","left"],function(e,t){h.cssHooks[t]=jt(l.pixelPosition,function(e,n){if(n)return n=Ht(e,t),Dt.test(n)?h(e).position()[t]+"px":n})}),h.each({Height:"height",Width:"width"},function(e,t){h.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){h.fn[r]=function(r,i){var s=arguments.length&&(n||typeof r!="boolean"),o=n||(r===!0||i===!0?"margin":"border");return $(this,function(t,n,r){var i;return h.isWindow(t)?t.document.documentElement["client"+e]:t.nodeType===9?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):r===undefined?h.css(t,n,o):h.style(t,n,r,o)},t,s?r:undefined,s,null)}})}),h.fn.size=function(){return this.length},h.fn.andSelf=h.fn.addBack,typeof define=="function"&&define.amd&&define("jquery",[],function(){return h});var sr=e.jQuery,or=e.$;return h.noConflict=function(t){return e.$===h&&(e.$=or),t&&e.jQuery===h&&(e.jQuery=sr),h},typeof t===B&&(e.jQuery=e.$=h),h}),function(){var e=this,t=e._,n={},r=Array.prototype,i=Object.prototype,s=Function.prototype,o=r.push,u=r.slice,a=r.concat,f=i.toString,l=i.hasOwnProperty,c=r.forEach,h=r.map,p=r.reduce,d=r.reduceRight,v=r.filter,m=r.every,g=r.some,y=r.indexOf,b=r.lastIndexOf,w=Array.isArray,E=Object.keys,S=s.bind,x=function(e){if(e instanceof x)return e;if(!(this instanceof x))return new x(e);this._wrapped=e};typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=x),exports._=x):e._=x,x.VERSION="1.5.1";var T=x.each=x.forEach=function(e,t,r){if(e==null)return;if(c&&e.forEach===c)e.forEach(t,r);else if(e.length===+e.length){for(var i=0,s=e.length;i2;e==null&&(e=[]);if(p&&e.reduce===p)return r&&(t=x.bind(t,r)),i?e.reduce(t,n):e.reduce(t);T(e,function(e,s,o){i?n=t.call(r,n,e,s,o):(n=e,i=!0)});if(!i)throw new TypeError(N);return n},x.reduceRight=x.foldr=function(e,t,n,r){var i=arguments.length>2;e==null&&(e=[]);if(d&&e.reduceRight===d)return r&&(t=x.bind(t,r)),i?e.reduceRight(t,n):e.reduceRight(t);var s=e.length;if(s!==+s){var o=x.keys(e);s=o.length}T(e,function(u,a,f){a=o?o[--s]:--s,i?n=t.call(r,n,e[a],a,f):(n=e[a],i=!0)});if(!i)throw new TypeError(N);return n},x.find=x.detect=function(e,t,n){var r;return C(e,function(e,i,s){if(t.call(n,e,i,s))return r=e,!0}),r},x.filter=x.select=function(e,t,n){var r=[];return e==null?r:v&&e.filter===v?e.filter(t,n):(T(e,function(e,i,s){t.call(n,e,i,s)&&r.push(e)}),r)},x.reject=function(e,t,n){return x.filter(e,function(e,r,i){return!t.call(n,e,r,i)},n)},x.every=x.all=function(e,t,r){t||(t=x.identity);var i=!0;return e==null?i:m&&e.every===m?e.every(t,r):(T(e,function(e,s,o){if(!(i=i&&t.call(r,e,s,o)))return n}),!!i)};var C=x.some=x.any=function(e,t,r){t||(t=x.identity);var i=!1;return e==null?i:g&&e.some===g?e.some(t,r):(T(e,function(e,s,o){if(i||(i=t.call(r,e,s,o)))return n}),!!i)};x.contains=x.include=function(e,t){return e==null?!1:y&&e.indexOf===y?e.indexOf(t)!=-1:C(e,function(e){return e===t})},x.invoke=function(e,t){var n=u.call(arguments,2),r=x.isFunction(t);return x.map(e,function(e){return(r?t:e[t]).apply(e,n)})},x.pluck=function(e,t){return x.map(e,function(e){return e[t]})},x.where=function(e,t,n){return x.isEmpty(t)?n?void 0:[]:x[n?"find":"filter"](e,function(e){for(var n in t)if(t[n]!==e[n])return!1;return!0})},x.findWhere=function(e,t){return x.where(e,t,!0)},x.max=function(e,t,n){if(!t&&x.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.max.apply(Math,e);if(!t&&x.isEmpty(e))return-Infinity;var r={computed:-Infinity,value:-Infinity};return T(e,function(e,i,s){var o=t?t.call(n,e,i,s):e;o>r.computed&&(r={value:e,computed:o})}),r.value},x.min=function(e,t,n){if(!t&&x.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.min.apply(Math,e);if(!t&&x.isEmpty(e))return Infinity;var r={computed:Infinity,value:Infinity};return T(e,function(e,i,s){var o=t?t.call(n,e,i,s):e;or||n===void 0)return 1;if(n>>1;n.call(r,e[u])=0})})},x.difference=function(e){var t=a.apply(r,u.call(arguments,1));return x.filter(e,function(e){return!x.contains(t,e)})},x.zip=function(){var e=x.max(x.pluck(arguments,"length").concat(0)),t=new Array(e);for(var n=0;n=0;n--)t=[e[n].apply(this,t)];return t[0]}},x.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},x.keys=E||function(e){if(e!==Object(e))throw new TypeError("Invalid object");var t=[];for(var n in e)x.has(e,n)&&t.push(n);return t},x.values=function(e){var t=[];for(var n in e)x.has(e,n)&&t.push(e[n]);return t},x.pairs=function(e){var t=[];for(var n in e)x.has(e,n)&&t.push([n,e[n]]);return t},x.invert=function(e){var t={};for(var n in e)x.has(e,n)&&(t[e[n]]=n);return t},x.functions=x.methods=function(e){var t=[];for(var n in e)x.isFunction(e[n])&&t.push(n);return t.sort()},x.extend=function(e){return T(u.call(arguments,1),function(t){if(t)for(var n in t)e[n]=t[n]}),e},x.pick=function(e){var t={},n=a.apply(r,u.call(arguments,1));return T(n,function(n){n in e&&(t[n]=e[n])}),t},x.omit=function(e){var t={},n=a.apply(r,u.call(arguments,1));for(var i in e)x.contains(n,i)||(t[i]=e[i]);return t},x.defaults=function(e){return T(u.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e},x.clone=function(e){return x.isObject(e)?x.isArray(e)?e.slice():x.extend({},e):e},x.tap=function(e,t){return t(e),e};var M=function(e,t,n,r){if(e===t)return e!==0||1/e==1/t;if(e==null||t==null)return e===t;e instanceof x&&(e=e._wrapped),t instanceof x&&(t=t._wrapped);var i=f.call(e);if(i!=f.call(t))return!1;switch(i){case"[object String]":return e==String(t);case"[object Number]":return e!=+e?t!=+t:e==0?1/e==1/t:e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object RegExp]":return e.source==t.source&&e.global==t.global&&e.multiline==t.multiline&&e.ignoreCase==t.ignoreCase}if(typeof e!="object"||typeof t!="object")return!1;var s=n.length;while(s--)if(n[s]==e)return r[s]==t;var o=e.constructor,u=t.constructor;if(o!==u&&!(x.isFunction(o)&&o instanceof o&&x.isFunction(u)&&u instanceof u))return!1;n.push(e),r.push(t);var a=0,l=!0;if(i=="[object Array]"){a=e.length,l=a==t.length;if(l)while(a--)if(!(l=M(e[a],t[a],n,r)))break}else{for(var c in e)if(x.has(e,c)){a++;if(!(l=x.has(t,c)&&M(e[c],t[c],n,r)))break}if(l){for(c in t)if(x.has(t,c)&&!(a--))break;l=!a}}return n.pop(),r.pop(),l};x.isEqual=function(e,t){return M(e,t,[],[])},x.isEmpty=function(e){if(e==null)return!0;if(x.isArray(e)||x.isString(e))return e.length===0;for(var t in e)if(x.has(e,t))return!1;return!0},x.isElement=function(e){return!!e&&e.nodeType===1},x.isArray=w||function(e){return f.call(e)=="[object Array]"},x.isObject=function(e){return e===Object(e)},T(["Arguments","Function","String","Number","Date","RegExp"],function(e){x["is"+e]=function(t){return f.call(t)=="[object "+e+"]"}}),x.isArguments(arguments)||(x.isArguments=function(e){return!!e&&!!x.has(e,"callee")}),typeof /./!="function"&&(x.isFunction=function(e){return typeof e=="function"}),x.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},x.isNaN=function(e){return x.isNumber(e)&&e!=+e},x.isBoolean=function(e){return e===!0||e===!1||f.call(e)=="[object Boolean]"},x.isNull=function(e){return e===null},x.isUndefined=function(e){return e===void 0},x.has=function(e,t){return l.call(e,t)},x.noConflict=function(){return e._=t,this},x.identity=function(e){return e},x.times=function(e,t,n){var r=Array(Math.max(0,e));for(var i=0;i":">",'"':""","'":"'","/":"/"}};_.unescape=x.invert(_.escape);var D={escape:new RegExp("["+x.keys(_.escape).join("")+"]","g"),unescape:new RegExp("("+x.keys(_.unescape).join("|")+")","g")};x.each(["escape","unescape"],function(e){x[e]=function(t){return t==null?"":(""+t).replace(D[e],function(t){return _[e][t]})}}),x.result=function(e,t){if(e==null)return void 0;var n=e[t];return x.isFunction(n)?n.call(e):n},x.mixin=function(e){T(x.functions(e),function(t){var n=x[t]=e[t];x.prototype[t]=function(){var e=[this._wrapped];return o.apply(e,arguments),F.call(this,n.apply(x,e))}})};var P=0;x.uniqueId=function(e){var t=++P+"";return e?e+t:t},x.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var H=/(.)^/,B={"'":"'","\\":"\\","\r":"r","\n":"n"," ":"t","\u2028":"u2028","\u2029":"u2029"},j=/\\|'|\r|\n|\t|\u2028|\u2029/g;x.template=function(e,t,n){var r;n=x.defaults({},n,x.templateSettings);var i=new RegExp([(n.escape||H).source,(n.interpolate||H).source,(n.evaluate||H).source].join("|")+"|$","g"),s=0,o="__p+='";e.replace(i,function(t,n,r,i,u){return o+=e.slice(s,u).replace(j,function(e){return"\\"+B[e]}),n&&(o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'"),r&&(o+="'+\n((__t=("+r+"))==null?'':__t)+\n'"),i&&(o+="';\n"+i+"\n__p+='"),s=u+t.length,t}),o+="';\n",n.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{r=new Function(n.variable||"obj","_",o)}catch(u){throw u.source=o,u}if(t)return r(t,x);var a=function(e){return r.call(this,e,x)};return a.source="function("+(n.variable||"obj")+"){\n"+o+"}",a},x.chain=function(e){return x(e).chain()};var F=function(e){return this._chain?x(e).chain():e};x.mixin(x),T(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=r[e];x.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),(e=="shift"||e=="splice")&&n.length===0&&delete n[0],F.call(this,n)}}),T(["concat","join","slice"],function(e){var t=r[e];x.prototype[e]=function(){return F.call(this,t.apply(this._wrapped,arguments))}}),x.extend(x.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}})}.call(this),define("underscore",function(e){return function(){var t,n;return t||e._}}(this)),define("text",["module"],function(e){var t,n,r,i,s,o=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],u=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,a=/]*>\s*([\s\S]+)\s*<\/body>/im,f=typeof location!="undefined"&&location.href,l=f&&location.protocol&&location.protocol.replace(/\:/,""),c=f&&location.hostname,h=f&&(location.port||undefined),p={},d=e.config&&e.config()||{};t={version:"2.0.13+",strip:function(e){if(e){e=e.replace(u,"");var t=e.match(a);t&&(e=t[1])}else e="";return e},jsEscape:function(e){return e.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},createXhr:d.createXhr||function(){var e,t,n;if(typeof XMLHttpRequest!="undefined")return new XMLHttpRequest;if(typeof ActiveXObject!="undefined")for(t=0;t<3;t+=1){n=o[t];try{e=new ActiveXObject(n)}catch(r){}if(e){o=[n];break}}return e},parseName:function(e){var t,n,r,i=!1,s=e.lastIndexOf("."),o=e.indexOf("./")===0||e.indexOf("../")===0;return s!==-1&&(!o||s>1)?(t=e.substring(0,s),n=e.substring(s+1)):t=e,r=n||t,s=r.indexOf("!"),s!==-1&&(i=r.substring(s+1)==="strip",r=r.substring(0,s),n?n=r:t=r),{moduleName:t,ext:n,strip:i}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(e,n,r,i){var s,o,u,a=t.xdRegExp.exec(e);return a?(s=a[2],o=a[3],o=o.split(":"),u=o[1],o=o[0],(!s||s===n)&&(!o||o.toLowerCase()===r.toLowerCase())&&(!u&&!o||u===i)):!0},finishLoad:function(e,n,r,i){r=n?t.strip(r):r,d.isBuild&&(p[e]=r),i(r)},load:function(e,n,r,i){if(i&&i.isBuild&&!i.inlineText){r();return}d.isBuild=i&&i.isBuild;var s=t.parseName(e),o=s.moduleName+(s.ext?"."+s.ext:""),u=n.toUrl(o),a=d.useXhr||t.useXhr;if(u.indexOf("empty:")===0){r();return}!f||a(u,l,c,h)?t.get(u,function(n){t.finishLoad(e,s.strip,n,r)},function(e){r.error&&r.error(e)}):n([o],function(e){t.finishLoad(s.moduleName+"."+s.ext,s.strip,e,r)})},write:function(e,n,r,i){if(p.hasOwnProperty(n)){var s=t.jsEscape(p[n]);r.asModule(e+"!"+n,"define(function () { return '"+s+"';});\n")}},writeFile:function(e,n,r,i,s){var o=t.parseName(n),u=o.ext?"."+o.ext:"",a=o.moduleName+u,f=r.toUrl(o.moduleName+u)+".js";t.load(a,r,function(n){var r=function(e){return i(f,e)};r.asModule=function(e,t){return i.asModule(e,f,t)},t.write(e,a,r,s)},s)}};if(d.env==="node"||!d.env&&typeof process!="undefined"&&process.versions&&!!process.versions.node&&!process.versions["node-webkit"]&&!process.versions["atom-shell"])n=require.nodeRequire("fs"),t.get=function(e,t,r){try{var i=n.readFileSync(e,"utf8");i[0]===""&&(i=i.substring(1)),t(i)}catch(s){r&&r(s)}};else if(d.env==="xhr"||!d.env&&t.createXhr())t.get=function(e,n,r,i){var s=t.createXhr(),o;s.open("GET",e,!0);if(i)for(o in i)i.hasOwnProperty(o)&&s.setRequestHeader(o.toLowerCase(),i[o]);d.onXhr&&d.onXhr(s,e),s.onreadystatechange=function(t){var i,o;s.readyState===4&&(i=s.status||0,i>399&&i<600?(o=new Error(e+" HTTP status: "+i),o.xhr=s,r&&r(o)):n(s.responseText),d.onXhrComplete&&d.onXhrComplete(s,e))},s.send(null)};else if(d.env==="rhino"||!d.env&&typeof Packages!="undefined"&&typeof java!="undefined")t.get=function(e,t){var n,r,i="utf-8",s=new java.io.File(e),o=java.lang.System.getProperty("line.separator"),u=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(s),i)),a="";try{n=new java.lang.StringBuffer,r=u.readLine(),r&&r.length()&&r.charAt(0)===65279&&(r=r.substring(1)),r!==null&&n.append(r);while((r=u.readLine())!==null)n.append(o),n.append(r);a=String(n.toString())}finally{u.close()}t(a)};else if(d.env==="xpconnect"||!d.env&&typeof Components!="undefined"&&Components.classes&&Components.interfaces)r=Components.classes,i=Components.interfaces,Components.utils["import"]("resource://gre/modules/FileUtils.jsm"),s="@mozilla.org/windows-registry-key;1"in r,t.get=function(e,t){var n,o,u,a={};s&&(e=e.replace(/\//g,"\\")),u=new FileUtils.File(e);try{n=r["@mozilla.org/network/file-input-stream;1"].createInstance(i.nsIFileInputStream),n.init(u,1,0,!1),o=r["@mozilla.org/intl/converter-input-stream;1"].createInstance(i.nsIConverterInputStream),o.init(n,"utf-8",n.available(),i.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER),o.readString(n.available(),a),o.close(),n.close(),t(a.value)}catch(f){throw new Error((u&&u.path||"")+": "+f)}};return t}),define("pinyin-by-unicode",{strChineseFirstPY:"YDYQSXMWZSSXJBYMGCCZQPSSQBYCDSCDQLDYLYBSSJGYZZJJFKCCLZDHWDWZJLJPFYYNWJJTMYHZWZHFLZPPQHGSCYYYNJQYXXGJHHSDSJNKKTMOMLCRXYPSNQSECCQZGGLLYJLMYZZSECYKYYHQWJSSGGYXYZYJWWKDJHYCHMYXJTLXJYQBYXZLDWRDJRWYSRLDZJPCBZJJBRCFTLECZSTZFXXZHTRQHYBDLYCZSSYMMRFMYQZPWWJJYFCRWFDFZQPYDDWYXKYJAWJFFXYPSFTZYHHYZYSWCJYXSCLCXXWZZXNBGNNXBXLZSZSBSGPYSYZDHMDZBQBZCWDZZYYTZHBTSYYBZGNTNXQYWQSKBPHHLXGYBFMJEBJHHGQTJCYSXSTKZHLYCKGLYSMZXYALMELDCCXGZYRJXSDLTYZCQKCNNJWHJTZZCQLJSTSTBNXBTYXCEQXGKWJYFLZQLYHYXSPSFXLMPBYSXXXYDJCZYLLLSJXFHJXPJBTFFYABYXBHZZBJYZLWLCZGGBTSSMDTJZXPTHYQTGLJSCQFZKJZJQNLZWLSLHDZBWJNCJZYZSQQYCQYRZCJJWYBRTWPYFTWEXCSKDZCTBZHYZZYYJXZCFFZZMJYXXSDZZOTTBZLQWFCKSZSXFYRLNYJMBDTHJXSQQCCSBXYYTSYFBXDZTGBCNSLCYZZPSAZYZZSCJCSHZQYDXLBPJLLMQXTYDZXSQJTZPXLCGLQTZWJBHCTSYJSFXYEJJTLBGXSXJMYJQQPFZASYJNTYDJXKJCDJSZCBARTDCLYJQMWNQNCLLLKBYBZZSYHQQLTWLCCXTXLLZNTYLNEWYZYXCZXXGRKRMTCNDNJTSYYSSDQDGHSDBJGHRWRQLYBGLXHLGTGXBQJDZPYJSJYJCTMRNYMGRZJCZGJMZMGXMPRYXKJNYMSGMZJYMKMFXMLDTGFBHCJHKYLPFMDXLQJJSMTQGZSJLQDLDGJYCALCMZCSDJLLNXDJFFFFJCZFMZFFPFKHKGDPSXKTACJDHHZDDCRRCFQYJKQCCWJDXHWJLYLLZGCFCQDSMLZPBJJPLSBCJGGDCKKDEZSQCCKJGCGKDJTJDLZYCXKLQSCGJCLTFPCQCZGWPJDQYZJJBYJHSJDZWGFSJGZKQCCZLLPSPKJGQJHZZLJPLGJGJJTHJJYJZCZMLZLYQBGJWMLJKXZDZNJQSYZMLJLLJKYWXMKJLHSKJGBMCLYYMKXJQLBMLLKMDXXKWYXYSLMLPSJQQJQXYXFJTJDXMXXLLCXQBSYJBGWYMBGGBCYXPJYGPEPFGDJGBHBNSQJYZJKJKHXQFGQZKFHYGKHDKLLSDJQXPQYKYBNQSXQNSZSWHBSXWHXWBZZXDMNSJBSBKBBZKLYLXGWXDRWYQZMYWSJQLCJXXJXKJEQXSCYETLZHLYYYSDZPAQYZCMTLSHTZCFYZYXYLJSDCJQAGYSLCQLYYYSHMRQQKLDXZSCSSSYDYCJYSFSJBFRSSZQSBXXPXJYSDRCKGJLGDKZJZBDKTCSYQPYHSTCLDJDHMXMCGXYZHJDDTMHLTXZXYLYMOHYJCLTYFBQQXPFBDFHHTKSQHZYYWCNXXCRWHOWGYJLEGWDQCWGFJYCSNTMYTOLBYGWQWESJPWNMLRYDZSZTXYQPZGCWXHNGPYXSHMYQJXZTDPPBFYHZHTJYFDZWKGKZBLDNTSXHQEEGZZYLZMMZYJZGXZXKHKSTXNXXWYLYAPSTHXDWHZYMPXAGKYDXBHNHXKDPJNMYHYLPMGOCSLNZHKXXLPZZLBMLSFBHHGYGYYGGBHSCYAQTYWLXTZQCEZYDQDQMMHTKLLSZHLSJZWFYHQSWSCWLQAZYNYTLSXTHAZNKZZSZZLAXXZWWCTGQQTDDYZTCCHYQZFLXPSLZYGPZSZNGLNDQTBDLXGTCTAJDKYWNSYZLJHHZZCWNYYZYWMHYCHHYXHJKZWSXHZYXLYSKQYSPSLYZWMYPPKBYGLKZHTYXAXQSYSHXASMCHKDSCRSWJPWXSGZJLWWSCHSJHSQNHCSEGNDAQTBAALZZMSSTDQJCJKTSCJAXPLGGXHHGXXZCXPDMMHLDGTYBYSJMXHMRCPXXJZCKZXSHMLQXXTTHXWZFKHCCZDYTCJYXQHLXDHYPJQXYLSYYDZOZJNYXQEZYSQYAYXWYPDGXDDXSPPYZNDLTWRHXYDXZZJHTCXMCZLHPYYYYMHZLLHNXMYLLLMDCPPXHMXDKYCYRDLTXJCHHZZXZLCCLYLNZSHZJZZLNNRLWHYQSNJHXYNTTTKYJPYCHHYEGKCTTWLGQRLGGTGTYGYHPYHYLQYQGCWYQKPYYYTTTTLHYHLLTYTTSPLKYZXGZWGPYDSSZZDQXSKCQNMJJZZBXYQMJRTFFBTKHZKBXLJJKDXJTLBWFZPPTKQTZTGPDGNTPJYFALQMKGXBDCLZFHZCLLLLADPMXDJHLCCLGYHDZFGYDDGCYYFGYDXKSSEBDHYKDKDKHNAXXYBPBYYHXZQGAFFQYJXDMLJCSQZLLPCHBSXGJYNDYBYQSPZWJLZKSDDTACTBXZDYZYPJZQSJNKKTKNJDJGYYPGTLFYQKASDNTCYHBLWDZHBBYDWJRYGKZYHEYYFJMSDTYFZJJHGCXPLXHLDWXXJKYTCYKSSSMTWCTTQZLPBSZDZWZXGZAGYKTYWXLHLSPBCLLOQMMZSSLCMBJCSZZKYDCZJGQQDSMCYTZQQLWZQZXSSFPTTFQMDDZDSHDTDWFHTDYZJYQJQKYPBDJYYXTLJHDRQXXXHAYDHRJLKLYTWHLLRLLRCXYLBWSRSZZSYMKZZHHKYHXKSMDSYDYCJPBZBSQLFCXXXNXKXWYWSDZYQOGGQMMYHCDZTTFJYYBGSTTTYBYKJDHKYXBELHTYPJQNFXFDYKZHQKZBYJTZBXHFDXKDASWTAWAJLDYJSFHBLDNNTNQJTJNCHXFJSRFWHZFMDRYJYJWZPDJKZYJYMPCYZNYNXFBYTFYFWYGDBNZZZDNYTXZEMMQBSQEHXFZMBMFLZZSRXYMJGSXWZJSPRYDJSJGXHJJGLJJYNZZJXHGXKYMLPYYYCXYTWQZSWHWLYRJLPXSLSXMFSWWKLCTNXNYNPSJSZHDZEPTXMYYWXYYSYWLXJQZQXZDCLEEELMCPJPCLWBXSQHFWWTFFJTNQJHJQDXHWLBYZNFJLALKYYJLDXHHYCSTYYWNRJYXYWTRMDRQHWQCMFJDYZMHMYYXJWMYZQZXTLMRSPWWCHAQBXYGZYPXYYRRCLMPYMGKSJSZYSRMYJSNXTPLNBAPPYPYLXYYZKYNLDZYJZCZNNLMZHHARQMPGWQTZMXXMLLHGDZXYHXKYXYCJMFFYYHJFSBSSQLXXNDYCANNMTCJCYPRRNYTYQNYYMBMSXNDLYLYSLJRLXYSXQMLLYZLZJJJKYZZCSFBZXXMSTBJGNXYZHLXNMCWSCYZYFZLXBRNNNYLBNRTGZQYSATSWRYHYJZMZDHZGZDWYBSSCSKXSYHYTXXGCQGXZZSHYXJSCRHMKKBXCZJYJYMKQHZJFNBHMQHYSNJNZYBKNQMCLGQHWLZNZSWXKHLJHYYBQLBFCDSXDLDSPFZPSKJYZWZXZDDXJSMMEGJSCSSMGCLXXKYYYLNYPWWWGYDKZJGGGZGGSYCKNJWNJPCXBJJTQTJWDSSPJXZXNZXUMELPXFSXTLLXCLJXJJLJZXCTPSWXLYDHLYQRWHSYCSQYYBYAYWJJJQFWQCQQCJQGXALDBZZYJGKGXPLTZYFXJLTPADKYQHPMATLCPDCKBMTXYBHKLENXDLEEGQDYMSAWHZMLJTWYGXLYQZLJEEYYBQQFFNLYXRDSCTGJGXYYNKLLYQKCCTLHJLQMKKZGCYYGLLLJDZGYDHZWXPYSJBZKDZGYZZHYWYFQYTYZSZYEZZLYMHJJHTSMQWYZLKYYWZCSRKQYTLTDXWCTYJKLWSQZWBDCQYNCJSRSZJLKCDCDTLZZZACQQZZDDXYPLXZBQJYLZLLLQDDZQJYJYJZYXNYYYNYJXKXDAZWYRDLJYYYRJLXLLDYXJCYWYWNQCCLDDNYYYNYCKCZHXXCCLGZQJGKWPPCQQJYSBZZXYJSQPXJPZBSBDSFNSFPZXHDWZTDWPPTFLZZBZDMYYPQJRSDZSQZSQXBDGCPZSWDWCSQZGMDHZXMWWFYBPDGPHTMJTHZSMMBGZMBZJCFZWFZBBZMQCFMBDMCJXLGPNJBBXGYHYYJGPTZGZMQBQTCGYXJXLWZKYDPDYMGCFTPFXYZTZXDZXTGKMTYBBCLBJASKYTSSQYYMSZXFJEWLXLLSZBQJJJAKLYLXLYCCTSXMCWFKKKBSXLLLLJYXTYLTJYYTDPJHNHNNKBYQNFQYYZBYYESSESSGDYHFHWTCJBSDZZTFDMXHCNJZYMQWSRYJDZJQPDQBBSTJGGFBKJBXTGQHNGWJXJGDLLTHZHHYYYYYYSXWTYYYCCBDBPYPZYCCZYJPZYWCBDLFWZCWJDXXHYHLHWZZXJTCZLCDPXUJCZZZLYXJJTXPHFXWPYWXZPTDZZBDZCYHJHMLXBQXSBYLRDTGJRRCTTTHYTCZWMXFYTWWZCWJWXJYWCSKYBZSCCTZQNHXNWXXKHKFHTSWOCCJYBCMPZZYKBNNZPBZHHZDLSYDDYTYFJPXYNGFXBYQXCBHXCPSXTYZDMKYSNXSXLHKMZXLYHDHKWHXXSSKQYHHCJYXGLHZXCSNHEKDTGZXQYPKDHEXTYKCNYMYYYPKQYYYKXZLTHJQTBYQHXBMYHSQCKWWYLLHCYYLNNEQXQWMCFBDCCMLJGGXDQKTLXKGNQCDGZJWYJJLYHHQTTTNWCHMXCXWHWSZJYDJCCDBQCDGDNYXZTHCQRXCBHZTQCBXWGQWYYBXHMBYMYQTYEXMQKYAQYRGYZSLFYKKQHYSSQYSHJGJCNXKZYCXSBXYXHYYLSTYCXQTHYSMGSCPMMGCCCCCMTZTASMGQZJHKLOSQYLSWTMXSYQKDZLJQQYPLSYCZTCQQPBBQJZCLPKHQZYYXXDTDDTSJCXFFLLCHQXMJLWCJCXTSPYCXNDTJSHJWXDQQJSKXYAMYLSJHMLALYKXCYYDMNMDQMXMCZNNCYBZKKYFLMCHCMLHXRCJJHSYLNMTJZGZGYWJXSRXCWJGJQHQZDQJDCJJZKJKGDZQGJJYJYLXZXXCDQHHHEYTMHLFSBDJSYYSHFYSTCZQLPBDRFRZTZYKYWHSZYQKWDQZRKMSYNBCRXQBJYFAZPZZEDZCJYWBCJWHYJBQSZYWRYSZPTDKZPFPBNZTKLQYHBBZPNPPTYZZYBQNYDCPJMMCYCQMCYFZZDCMNLFPBPLNGQJTBTTNJZPZBBZNJKLJQYLNBZQHKSJZNGGQSZZKYXSHPZSNBCGZKDDZQANZHJKDRTLZLSWJLJZLYWTJNDJZJHXYAYNCBGTZCSSQMNJPJYTYSWXZFKWJQTKHTZPLBHSNJZSYZBWZZZZLSYLSBJHDWWQPSLMMFBJDWAQYZTCJTBNNWZXQXCDSLQGDSDPDZHJTQQPSWLYYJZLGYXYZLCTCBJTKTYCZJTQKBSJLGMGZDMCSGPYNJZYQYYKNXRPWSZXMTNCSZZYXYBYHYZAXYWQCJTLLCKJJTJHGDXDXYQYZZBYWDLWQCGLZGJGQRQZCZSSBCRPCSKYDZNXJSQGXSSJMYDNSTZTPBDLTKZWXQWQTZEXNQCZGWEZKSSBYBRTSSSLCCGBPSZQSZLCCGLLLZXHZQTHCZMQGYZQZNMCOCSZJMMZSQPJYGQLJYJPPLDXRGZYXCCSXHSHGTZNLZWZKJCXTCFCJXLBMQBCZZWPQDNHXLJCTHYZLGYLNLSZZPCXDSCQQHJQKSXZPBAJYEMSMJTZDXLCJYRYYNWJBNGZZTMJXLTBSLYRZPYLSSCNXPHLLHYLLQQZQLXYMRSYCXZLMMCZLTZSDWTJJLLNZGGQXPFSKYGYGHBFZPDKMWGHCXMSGDXJMCJZDYCABXJDLNBCDQYGSKYDQTXDJJYXMSZQAZDZFSLQXYJSJZYLBTXXWXQQZBJZUFBBLYLWDSLJHXJYZJWTDJCZFQZQZZDZSXZZQLZCDZFJHYSPYMPQZMLPPLFFXJJNZZYLSJEYQZFPFZKSYWJJJHRDJZZXTXXGLGHYDXCSKYSWMMZCWYBAZBJKSHFHJCXMHFQHYXXYZFTSJYZFXYXPZLCHMZMBXHZZSXYFYMNCWDABAZLXKTCSHHXKXJJZJSTHYGXSXYYHHHJWXKZXSSBZZWHHHCWTZZZPJXSNXQQJGZYZYWLLCWXZFXXYXYHXMKYYSWSQMNLNAYCYSPMJKHWCQHYLAJJMZXHMMCNZHBHXCLXTJPLTXYJHDYYLTTXFSZHYXXSJBJYAYRSMXYPLCKDUYHLXRLNLLSTYZYYQYGYHHSCCSMZCTZQXKYQFPYYRPFFLKQUNTSZLLZMWWTCQQYZWTLLMLMPWMBZSSTZRBPDDTLQJJBXZCSRZQQYGWCSXFWZLXCCRSZDZMCYGGDZQSGTJSWLJMYMMZYHFBJDGYXCCPSHXNZCSBSJYJGJMPPWAFFYFNXHYZXZYLREMZGZCYZSSZDLLJCSQFNXZKPTXZGXJJGFMYYYSNBTYLBNLHPFZDCYFBMGQRRSSSZXYSGTZRNYDZZCDGPJAFJFZKNZBLCZSZPSGCYCJSZLMLRSZBZZLDLSLLYSXSQZQLYXZLSKKBRXBRBZCYCXZZZEEYFGKLZLYYHGZSGZLFJHGTGWKRAAJYZKZQTSSHJJXDCYZUYJLZYRZDQQHGJZXSSZBYKJPBFRTJXLLFQWJHYLQTYMBLPZDXTZYGBDHZZRBGXHWNJTJXLKSCFSMWLSDQYSJTXKZSCFWJLBXFTZLLJZLLQBLSQMQQCGCZFPBPHZCZJLPYYGGDTGWDCFCZQYYYQYSSCLXZSKLZZZGFFCQNWGLHQYZJJCZLQZZYJPJZZBPDCCMHJGXDQDGDLZQMFGPSYTSDYFWWDJZJYSXYYCZCYHZWPBYKXRYLYBHKJKSFXTZJMMCKHLLTNYYMSYXYZPYJQYCSYCWMTJJKQYRHLLQXPSGTLYYCLJSCPXJYZFNMLRGJJTYZBXYZMSJYJHHFZQMSYXRSZCWTLRTQZSSTKXGQKGSPTGCZNJSJCQCXHMXGGZTQYDJKZDLBZSXJLHYQGGGTHQSZPYHJHHGYYGKGGCWJZZYLCZLXQSFTGZSLLLMLJSKCTBLLZZSZMMNYTPZSXQHJCJYQXYZXZQZCPSHKZZYSXCDFGMWQRLLQXRFZTLYSTCTMJCXJJXHJNXTNRZTZFQYHQGLLGCXSZSJDJLJCYDSJTLNYXHSZXCGJZYQPYLFHDJSBPCCZHJJJQZJQDYBSSLLCMYTTMQTBHJQNNYGKYRQYQMZGCJKPDCGMYZHQLLSLLCLMHOLZGDYYFZSLJCQZLYLZQJESHNYLLJXGJXLYSYYYXNBZLJSSZCQQCJYLLZLTJYLLZLLBNYLGQCHXYYXOXCXQKYJXXXYKLXSXXYQXCYKQXQCSGYXXYQXYGYTQOHXHXPYXXXULCYEYCHZZCBWQBBWJQZSCSZSSLZYLKDESJZWMYMCYTSDSXXSCJPQQSQYLYYZYCMDJDZYWCBTJSYDJKCYDDJLBDJJSODZYSYXQQYXDHHGQQYQHDYXWGMMMAJDYBBBPPBCMUUPLJZSMTXERXJMHQNUTPJDCBSSMSSSTKJTSSMMTRCPLZSZMLQDSDMJMQPNQDXCFYNBFSDQXYXHYAYKQYDDLQYYYSSZBYDSLNTFQTZQPZMCHDHCZCWFDXTMYQSPHQYYXSRGJCWTJTZZQMGWJJTJHTQJBBHWZPXXHYQFXXQYWYYHYSCDYDHHQMNMTMWCPBSZPPZZGLMZFOLLCFWHMMSJZTTDHZZYFFYTZZGZYSKYJXQYJZQBHMBZZLYGHGFMSHPZFZSNCLPBQSNJXZSLXXFPMTYJYGBXLLDLXPZJYZJYHHZCYWHJYLSJEXFSZZYWXKZJLUYDTMLYMQJPWXYHXSKTQJEZRPXXZHHMHWQPWQLYJJQJJZSZCPHJLCHHNXJLQWZJHBMZYXBDHHYPZLHLHLGFWLCHYYTLHJXCJMSCPXSTKPNHQXSRTYXXTESYJCTLSSLSTDLLLWWYHDHRJZSFGXTSYCZYNYHTDHWJSLHTZDQDJZXXQHGYLTZPHCSQFCLNJTCLZPFSTPDYNYLGMJLLYCQHYSSHCHYLHQYQTMZYPBYWRFQYKQSYSLZDQJMPXYYSSRHZJNYWTQDFZBWWTWWRXCWHGYHXMKMYYYQMSMZHNGCEPMLQQMTCWCTMMPXJPJJHFXYYZSXZHTYBMSTSYJTTQQQYYLHYNPYQZLCYZHZWSMYLKFJXLWGXYPJYTYSYXYMZCKTTWLKSMZSYLMPWLZWXWQZSSAQSYXYRHSSNTSRAPXCPWCMGDXHXZDZYFJHGZTTSBJHGYZSZYSMYCLLLXBTYXHBBZJKSSDMALXHYCFYGMQYPJYCQXJLLLJGSLZGQLYCJCCZOTYXMTMTTLLWTGPXYMZMKLPSZZZXHKQYSXCTYJZYHXSHYXZKXLZWPSQPYHJWPJPWXQQYLXSDHMRSLZZYZWTTCYXYSZZSHBSCCSTPLWSSCJCHNLCGCHSSPHYLHFHHXJSXYLLNYLSZDHZXYLSXLWZYKCLDYAXZCMDDYSPJTQJZLNWQPSSSWCTSTSZLBLNXSMNYYMJQBQHRZWTYYDCHQLXKPZWBGQYBKFCMZWPZLLYYLSZYDWHXPSBCMLJBSCGBHXLQHYRLJXYSWXWXZSLDFHLSLYNJLZYFLYJYCDRJLFSYZFSLLCQYQFGJYHYXZLYLMSTDJCYHBZLLNWLXXYGYYHSMGDHXXHHLZZJZXCZZZCYQZFNGWPYLCPKPYYPMCLQKDGXZGGWQBDXZZKZFBXXLZXJTPJPTTBYTSZZDWSLCHZHSLTYXHQLHYXXXYYZYSWTXZKHLXZXZPYHGCHKCFSYHUTJRLXFJXPTZTWHPLYXFCRHXSHXKYXXYHZQDXQWULHYHMJTBFLKHTXCWHJFWJCFPQRYQXCYYYQYGRPYWSGSUNGWCHKZDXYFLXXHJJBYZWTSXXNCYJJYMSWZJQRMHXZWFQSYLZJZGBHYNSLBGTTCSYBYXXWXYHXYYXNSQYXMQYWRGYQLXBBZLJSYLPSYTJZYHYZAWLRORJMKSCZJXXXYXCHDYXRYXXJDTSQFXLYLTSFFYXLMTYJMJUYYYXLTZCSXQZQHZXLYYXZHDNBRXXXJCTYHLBRLMBRLLAXKYLLLJLYXXLYCRYLCJTGJCMTLZLLCYZZPZPCYAWHJJFYBDYYZSMPCKZDQYQPBPCJPDCYZMDPBCYYDYCNNPLMTMLRMFMMGWYZBSJGYGSMZQQQZTXMKQWGXLLPJGZBQCDJJJFPKJKCXBLJMSWMDTQJXLDLPPBXCWRCQFBFQJCZAHZGMYKPHYYHZYKNDKZMBPJYXPXYHLFPNYYGXJDBKXNXHJMZJXSTRSTLDXSKZYSYBZXJLXYSLBZYSLHXJPFXPQNBYLLJQKYGZMCYZZYMCCSLCLHZFWFWYXZMWSXTYNXJHPYYMCYSPMHYSMYDYSHQYZCHMJJMZCAAGCFJBBHPLYZYLXXSDJGXDHKXXTXXNBHRMLYJSLTXMRHNLXQJXYZLLYSWQGDLBJHDCGJYQYCMHWFMJYBMBYJYJWYMDPWHXQLDYGPDFXXBCGJSPCKRSSYZJMSLBZZJFLJJJLGXZGYXYXLSZQYXBEXYXHGCXBPLDYHWETTWWCJMBTXCHXYQXLLXFLYXLLJLSSFWDPZSMYJCLMWYTCZPCHQEKCQBWLCQYDPLQPPQZQFJQDJHYMMCXTXDRMJWRHXCJZYLQXDYYNHYYHRSLSRSYWWZJYMTLTLLGTQCJZYABTCKZCJYCCQLJZQXALMZYHYWLWDXZXQDLLQSHGPJFJLJHJABCQZDJGTKHSSTCYJLPSWZLXZXRWGLDLZRLZXTGSLLLLZLYXXWGDZYGBDPHZPBRLWSXQBPFDWOFMWHLYPCBJCCLDMBZPBZZLCYQXLDOMZBLZWPDWYYGDSTTHCSQSCCRSSSYSLFYBFNTYJSZDFNDPDHDZZMBBLSLCMYFFGTJJQWFTMTPJWFNLBZCMMJTGBDZLQLPYFHYYMJYLSDCHDZJWJCCTLJCLDTLJJCPDDSQDSSZYBNDBJLGGJZXSXNLYCYBJXQYCBYLZCFZPPGKCXZDZFZTJJFJSJXZBNZYJQTTYJYHTYCZHYMDJXTTMPXSPLZCDWSLSHXYPZGTFMLCJTYCBPMGDKWYCYZCDSZZYHFLYCTYGWHKJYYLSJCXGYWJCBLLCSNDDBTZBSCLYZCZZSSQDLLMQYYHFSLQLLXFTYHABXGWNYWYYPLLSDLDLLBJCYXJZMLHLJDXYYQYTDLLLBUGBFDFBBQJZZMDPJHGCLGMJJPGAEHHBWCQXAXHHHZCHXYPHJAXHLPHJPGPZJQCQZGJJZZUZDMQYYBZZPHYHYBWHAZYJHYKFGDPFQSDLZMLJXKXGALXZDAGLMDGXMWZQYXXDXXPFDMMSSYMPFMDMMKXKSYZYSHDZKXSYSMMZZZMSYDNZZCZXFPLSTMZDNMXCKJMZTYYMZMZZMSXHHDCZJEMXXKLJSTLWLSQLYJZLLZJSSDPPMHNLZJCZYHMXXHGZCJMDHXTKGRMXFWMCGMWKDTKSXQMMMFZZYDKMSCLCMPCGMHSPXQPZDSSLCXKYXTWLWJYAHZJGZQMCSNXYYMMPMLKJXMHLMLQMXCTKZMJQYSZJSYSZHSYJZJCDAJZYBSDQJZGWZQQXFKDMSDJLFWEHKZQKJPEYPZYSZCDWYJFFMZZYLTTDZZEFMZLBNPPLPLPEPSZALLTYLKCKQZKGENQLWAGYXYDPXLHSXQQWQCQXQCLHYXXMLYCCWLYMQYSKGCHLCJNSZKPYZKCQZQLJPDMDZHLASXLBYDWQLWDNBQCRYDDZTJYBKBWSZDXDTNPJDTCTQDFXQQMGNXECLTTBKPWSLCTYQLPWYZZKLPYGZCQQPLLKCCYLPQMZCZQCLJSLQZDJXLDDHPZQDLJJXZQDXYZQKZLJCYQDYJPPYPQYKJYRMPCBYMCXKLLZLLFQPYLLLMBSGLCYSSLRSYSQTMXYXZQZFDZUYSYZTFFMZZSMZQHZSSCCMLYXWTPZGXZJGZGSJSGKDDHTQGGZLLBJDZLCBCHYXYZHZFYWXYZYMSDBZZYJGTSMTFXQYXQSTDGSLNXDLRYZZLRYYLXQHTXSRTZNGZXBNQQZFMYKMZJBZYMKBPNLYZPBLMCNQYZZZSJZHJCTZKHYZZJRDYZHNPXGLFZTLKGJTCTSSYLLGZRZBBQZZKLPKLCZYSSUYXBJFPNJZZXCDWXZYJXZZDJJKGGRSRJKMSMZJLSJYWQSKYHQJSXPJZZZLSNSHRNYPZTWCHKLPSRZLZXYJQXQKYSJYCZTLQZYBBYBWZPQDWWYZCYTJCJXCKCWDKKZXSGKDZXWWYYJQYYTCYTDLLXWKCZKKLCCLZCQQDZLQLCSFQCHQHSFSMQZZLNBJJZBSJHTSZDYSJQJPDLZCDCWJKJZZLPYCGMZWDJJBSJQZSYZYHHXJPBJYDSSXDZNCGLQMBTSFSBPDZDLZNFGFJGFSMPXJQLMBLGQCYYXBQKDJJQYRFKZTJDHCZKLBSDZCFJTPLLJGXHYXZCSSZZXSTJYGKGCKGYOQXJPLZPBPGTGYJZGHZQZZLBJLSQFZGKQQJZGYCZBZQTLDXRJXBSXXPZXHYZYCLWDXJJHXMFDZPFZHQHQMQGKSLYHTYCGFRZGNQXCLPDLBZCSCZQLLJBLHBZCYPZZPPDYMZZSGYHCKCPZJGSLJLNSCDSLDLXBMSTLDDFJMKDJDHZLZXLSZQPQPGJLLYBDSZGQLBZLSLKYYHZTTNTJYQTZZPSZQZTLLJTYYLLQLLQYZQLBDZLSLYYZYMDFSZSNHLXZNCZQZPBWSKRFBSYZMTHBLGJPMCZZLSTLXSHTCSYZLZBLFEQHLXFLCJLYLJQCBZLZJHHSSTBRMHXZHJZCLXFNBGXGTQJCZTMSFZKJMSSNXLJKBHSJXNTNLZDNTLMSJXGZJYJCZXYJYJWRWWQNZTNFJSZPZSHZJFYRDJSFSZJZBJFZQZZHZLXFYSBZQLZSGYFTZDCSZXZJBQMSZKJRHYJZCKMJKHCHGTXKXQGLXPXFXTRTYLXJXHDTSJXHJZJXZWZLCQSBTXWXGXTXXHXFTSDKFJHZYJFJXRZSDLLLTQSQQZQWZXSYQTWGWBZCGZLLYZBCLMQQTZHZXZXLJFRMYZFLXYSQXXJKXRMQDZDMMYYBSQBHGZMWFWXGMXLZPYYTGZYCCDXYZXYWGSYJYZNBHPZJSQSYXSXRTFYZGRHZTXSZZTHCBFCLSYXZLZQMZLMPLMXZJXSFLBYZMYQHXJSXRXSQZZZSSLYFRCZJRCRXHHZXQYDYHXSJJHZCXZBTYNSYSXJBQLPXZQPYMLXZKYXLXCJLCYSXXZZLXDLLLJJYHZXGYJWKJRWYHCPSGNRZLFZWFZZNSXGXFLZSXZZZBFCSYJDBRJKRDHHGXJLJJTGXJXXSTJTJXLYXQFCSGSWMSBCTLQZZWLZZKXJMLTMJYHSDDBXGZHDLBMYJFRZFSGCLYJBPMLYSMSXLSZJQQHJZFXGFQFQBPXZGYYQXGZTCQWYLTLGWSGWHRLFSFGZJMGMGBGTJFSYZZGZYZAFLSSPMLPFLCWBJZCLJJMZLPJJLYMQDMYYYFBGYGYZMLYZDXQYXRQQQHSYYYQXYLJTYXFSFSLLGNQCYHYCWFHCCCFXPYLYPLLZYXXXXXKQHHXSHJZCFZSCZJXCPZWHHHHHAPYLQALPQAFYHXDYLUKMZQGGGDDESRNNZLTZGCHYPPYSQJJHCLLJTOLNJPZLJLHYMHEYDYDSQYCDDHGZUNDZCLZYZLLZNTNYZGSLHSLPJJBDGWXPCDUTJCKLKCLWKLLCASSTKZZDNQNTTLYYZSSYSSZZRYLJQKCQDHHCRXRZYDGRGCWCGZQFFFPPJFZYNAKRGYWYQPQXXFKJTSZZXSWZDDFBBXTBGTZKZNPZZPZXZPJSZBMQHKCYXYLDKLJNYPKYGHGDZJXXEAHPNZKZTZCMXCXMMJXNKSZQNMNLWBWWXJKYHCPSTMCSQTZJYXTPCTPDTNNPGLLLZSJLSPBLPLQHDTNJNLYYRSZFFJFQWDPHZDWMRZCCLODAXNSSNYZRESTYJWJYJDBCFXNMWTTBYLWSTSZGYBLJPXGLBOCLHPCBJLTMXZLJYLZXCLTPNCLCKXTPZJSWCYXSFYSZDKNTLBYJCYJLLSTGQCBXRYZXBXKLYLHZLQZLNZCXWJZLJZJNCJHXMNZZGJZZXTZJXYCYYCXXJYYXJJXSSSJSTSSTTPPGQTCSXWZDCSYFPTFBFHFBBLZJCLZZDBXGCXLQPXKFZFLSYLTUWBMQJHSZBMDDBCYSCCLDXYCDDQLYJJWMQLLCSGLJJSYFPYYCCYLTJANTJJPWYCMMGQYYSXDXQMZHSZXPFTWWZQSWQRFKJLZJQQYFBRXJHHFWJJZYQAZMYFRHCYYBYQWLPEXCCZSTYRLTTDMQLYKMBBGMYYJPRKZNPBSXYXBHYZDJDNGHPMFSGMWFZMFQMMBCMZZCJJLCNUXYQLMLRYGQZCYXZLWJGCJCGGMCJNFYZZJHYCPRRCMTZQZXHFQGTJXCCJEAQCRJYHPLQLSZDJRBCQHQDYRHYLYXJSYMHZYDWLDFRYHBPYDTSSCNWBXGLPZMLZZTQSSCPJMXXYCSJYTYCGHYCJWYRXXLFEMWJNMKLLSWTXHYYYNCMMCWJDQDJZGLLJWJRKHPZGGFLCCSCZMCBLTBHBQJXQDSPDJZZGKGLFQYWBZYZJLTSTDHQHCTCBCHFLQMPWDSHYYTQWCNZZJTLBYMBPDYYYXSQKXWYYFLXXNCWCXYPMAELYKKJMZZZBRXYYQJFLJPFHHHYTZZXSGQQMHSPGDZQWBWPJHZJDYSCQWZKTXXSQLZYYMYSDZGRXCKKUJLWPYSYSCSYZLRMLQSYLJXBCXTLWDQZPCYCYKPPPNSXFYZJJRCEMHSZMSXLXGLRWGCSTLRSXBZGBZGZTCPLUJLSLYLYMTXMTZPALZXPXJTJWTCYYZLBLXBZLQMYLXPGHDSLSSDMXMBDZZSXWHAMLCZCPJMCNHJYSNSYGCHSKQMZZQDLLKABLWJXSFMOCDXJRRLYQZKJMYBYQLYHETFJZFRFKSRYXFJTWDSXXSYSQJYSLYXWJHSNLXYYXHBHAWHHJZXWMYLJCSSLKYDZTXBZSYFDXGXZJKHSXXYBSSXDPYNZWRPTQZCZENYGCXQFJYKJBZMLJCMQQXUOXSLYXXLYLLJDZBTYMHPFSTTQQWLHOKYBLZZALZXQLHZWRRQHLSTMYPYXJJXMQSJFNBXYXYJXXYQYLTHYLQYFMLKLJTMLLHSZWKZHLJMLHLJKLJSTLQXYLMBHHLNLZXQJHXCFXXLHYHJJGBYZZKBXSCQDJQDSUJZYYHZHHMGSXCSYMXFEBCQWWRBPYYJQTYZCYQYQQZYHMWFFHGZFRJFCDPXNTQYZPDYKHJLFRZXPPXZDBBGZQSTLGDGYLCQMLCHHMFYWLZYXKJLYPQHSYWMQQGQZMLZJNSQXJQSYJYCBEHSXFSZPXZWFLLBCYYJDYTDTHWZSFJMQQYJLMQXXLLDTTKHHYBFPWTYYSQQWNQWLGWDEBZWCMYGCULKJXTMXMYJSXHYBRWFYMWFRXYQMXYSZTZZTFYKMLDHQDXWYYNLCRYJBLPSXCXYWLSPRRJWXHQYPHTYDNXHHMMYWYTZCSQMTSSCCDALWZTCPQPYJLLQZYJSWXMZZMMYLMXCLMXCZMXMZSQTZPPQQBLPGXQZHFLJJHYTJSRXWZXSCCDLXTYJDCQJXSLQYCLZXLZZXMXQRJMHRHZJBHMFLJLMLCLQNLDXZLLLPYPSYJYSXCQQDCMQJZZXHNPNXZMEKMXHYKYQLXSXTXJYYHWDCWDZHQYYBGYBCYSCFGPSJNZDYZZJZXRZRQJJYMCANYRJTLDPPYZBSTJKXXZYPFDWFGZZRPYMTNGXZQBYXNBUFNQKRJQZMJEGRZGYCLKXZDSKKNSXKCLJSPJYYZLQQJYBZSSQLLLKJXTBKTYLCCDDBLSPPFYLGYDTZJYQGGKQTTFZXBDKTYYHYBBFYTYYBCLPDYTGDHRYRNJSPTCSNYJQHKLLLZSLYDXXWBCJQSPXBPJZJCJDZFFXXBRMLAZHCSNDLBJDSZBLPRZTSWSBXBCLLXXLZDJZSJPYLYXXYFTFFFBHJJXGBYXJPMMMPSSJZJMTLYZJXSWXTYLEDQPJMYGQZJGDJLQJWJQLLSJGJGYGMSCLJJXDTYGJQJQJCJZCJGDZZSXQGSJGGCXHQXSNQLZZBXHSGZXCXYLJXYXYYDFQQJHJFXDHCTXJYRXYSQTJXYEFYYSSYYJXNCYZXFXMSYSZXYYSCHSHXZZZGZZZGFJDLTYLNPZGYJYZYYQZPBXQBDZTZCZYXXYHHSQXSHDHGQHJHGYWSZTMZMLHYXGEBTYLZKQWYTJZRCLEKYSTDBCYKQQSAYXCJXWWGSBHJYZYDHCSJKQCXSWXFLTYNYZPZCCZJQTZWJQDZZZQZLJJXLSBHPYXXPSXSHHEZTXFPTLQYZZXHYTXNCFZYYHXGNXMYWXTZSJPTHHGYMXMXQZXTSBCZYJYXXTYYZYPCQLMMSZMJZZLLZXGXZAAJZYXJMZXWDXZSXZDZXLEYJJZQBHZWZZZQTZPSXZTDSXJJJZNYAZPHXYYSRNQDTHZHYYKYJHDZXZLSWCLYBZYECWCYCRYLCXNHZYDZYDYJDFRJJHTRSQTXYXJRJHOJYNXELXSFSFJZGHPZSXZSZDZCQZBYYKLSGSJHCZSHDGQGXYZGXCHXZJWYQWGYHKSSEQZZNDZFKWYSSTCLZSTSYMCDHJXXYWEYXCZAYDMPXMDSXYBSQMJMZJMTZQLPJYQZCGQHXJHHLXXHLHDLDJQCLDWBSXFZZYYSCHTYTYYBHECXHYKGJPXHHYZJFXHWHBDZFYZBCAPNPGNYDMSXHMMMMAMYNBYJTMPXYYMCTHJBZYFCGTYHWPHFTWZZEZSBZEGPFMTSKFTYCMHFLLHGPZJXZJGZJYXZSBBQSCZZLZCCSTPGXMJSFTCCZJZDJXCYBZLFCJSYZFGSZLYBCWZZBYZDZYPSWYJZXZBDSYUXLZZBZFYGCZXBZHZFTPBGZGEJBSTGKDMFHYZZJHZLLZZGJQZLSFDJSSCBZGPDLFZFZSZYZYZSYGCXSNXXCHCZXTZZLJFZGQSQYXZJQDCCZTQCDXZJYQJQCHXZTDLGSCXZSYQJQTZWLQDQZTQCHQQJZYEZZZPBWKDJFCJPZTYPQYQTTYNLMBDKTJZPQZQZZFPZSBNJLGYJDXJDZZKZGQKXDLPZJTCJDQBXDJQJSTCKNXBXZMSLYJCQMTJQWWCJQNJNLLLHJCWQTBZQYDZCZPZZDZYDDCYZZZCCJTTJFZDPRRTZTJDCQTQZDTJNPLZBCLLCTZSXKJZQZPZLBZRBTJDCXFCZDBCCJJLTQQPLDCGZDBBZJCQDCJWYNLLZYZCCDWLLXWZLXRXNTQQCZXKQLSGDFQTDDGLRLAJJTKUYMKQLLTZYTDYYCZGJWYXDXFRSKSTQTENQMRKQZHHQKDLDAZFKYPBGGPZREBZZYKZZSPEGJXGYKQZZZSLYSYYYZWFQZYLZZLZHWCHKYPQGNPGBLPLRRJYXCCSYYHSFZFYBZYYTGZXYLXCZWXXZJZBLFFLGSKHYJZEYJHLPLLLLCZGXDRZELRHGKLZZYHZLYQSZZJZQLJZFLNBHGWLCZCFJYSPYXZLZLXGCCPZBLLCYBBBBUBBCBPCRNNZCZYRBFSRLDCGQYYQXYGMQZWTZYTYJXYFWTEHZZJYWLCCNTZYJJZDEDPZDZTSYQJHDYMBJNYJZLXTSSTPHNDJXXBYXQTZQDDTJTDYYTGWSCSZQFLSHLGLBCZPHDLYZJYCKWTYTYLBNYTSDSYCCTYSZYYEBHEXHQDTWNYGYCLXTSZYSTQMYGZAZCCSZZDSLZCLZRQXYYELJSBYMXSXZTEMBBLLYYLLYTDQYSHYMRQWKFKBFXNXSBYCHXBWJYHTQBPBSBWDZYLKGZSKYHXQZJXHXJXGNLJKZLYYCDXLFYFGHLJGJYBXQLYBXQPQGZTZPLNCYPXDJYQYDYMRBESJYYHKXXSTMXRCZZYWXYQYBMCLLYZHQYZWQXDBXBZWZMSLPDMYSKFMZKLZCYQYCZLQXFZZYDQZPZYGYJYZMZXDZFYFYTTQTZHGSPCZMLCCYTZXJCYTJMKSLPZHYSNZLLYTPZCTZZCKTXDHXXTQCYFKSMQCCYYAZHTJPCYLZLYJBJXTPNYLJYYNRXSYLMMNXJSMYBCSYSYLZYLXJJQYLDZLPQBFZZBLFNDXQKCZFYWHGQMRDSXYCYTXNQQJZYYPFZXDYZFPRXEJDGYQBXRCNFYYQPGHYJDYZXGRHTKYLNWDZNTSMPKLBTHBPYSZBZTJZSZZJTYYXZPHSSZZBZCZPTQFZMYFLYPYBBJQXZMXXDJMTSYSKKBJZXHJCKLPSMKYJZCXTMLJYXRZZQSLXXQPYZXMKYXXXJCLJPRMYYGADYSKQLSNDHYZKQXZYZTCGHZTLMLWZYBWSYCTBHJHJFCWZTXWYTKZLXQSHLYJZJXTMPLPYCGLTBZZTLZJCYJGDTCLKLPLLQPJMZPAPXYZLKKTKDZCZZBNZDYDYQZJYJGMCTXLTGXSZLMLHBGLKFWNWZHDXUHLFMKYSLGXDTWWFRJEJZTZHYDXYKSHWFZCQSHKTMQQHTZHYMJDJSKHXZJZBZZXYMPAGQMSTPXLSKLZYNWRTSQLSZBPSPSGZWYHTLKSSSWHZZLYYTNXJGMJSZSUFWNLSOZTXGXLSAMMLBWLDSZYLAKQCQCTMYCFJBSLXCLZZCLXXKSBZQCLHJPSQPLSXXCKSLNHPSFQQYTXYJZLQLDXZQJZDYYDJNZPTUZDSKJFSLJHYLZSQZLBTXYDGTQFDBYAZXDZHZJNHHQBYKNXJJQCZMLLJZKSPLDYCLBBLXKLELXJLBQYCXJXGCNLCQPLZLZYJTZLJGYZDZPLTQCSXFDMNYCXGBTJDCZNBGBQYQJWGKFHTNPYQZQGBKPBBYZMTJDYTBLSQMPSXTBNPDXKLEMYYCJYNZCTLDYKZZXDDXHQSHDGMZSJYCCTAYRZLPYLTLKXSLZCGGEXCLFXLKJRTLQJAQZNCMBYDKKCXGLCZJZXJHPTDJJMZQYKQSECQZDSHHADMLZFMMZBGNTJNNLGBYJBRBTMLBYJDZXLCJLPLDLPCQDHLXZLYCBLCXZZJADJLNZMMSSSMYBHBSQKBHRSXXJMXSDZNZPXLGBRHWGGFCXGMSKLLTSJYYCQLTSKYWYYHYWXBXQYWPYWYKQLSQPTNTKHQCWDQKTWPXXHCPTHTWUMSSYHBWCRWXHJMKMZNGWTMLKFGHKJYLSYYCXWHYECLQHKQHTTQKHFZLDXQWYZYYDESBPKYRZPJFYYZJCEQDZZDLATZBBFJLLCXDLMJSSXEGYGSJQXCWBXSSZPDYZCXDNYXPPZYDLYJCZPLTXLSXYZYRXCYYYDYLWWNZSAHJSYQYHGYWWAXTJZDAXYSRLTDPSSYYFNEJDXYZHLXLLLZQZSJNYQYQQXYJGHZGZCYJCHZLYCDSHWSHJZYJXCLLNXZJJYYXNFXMWFPYLCYLLABWDDHWDXJMCXZTZPMLQZHSFHZYNZTLLDYWLSLXHYMMYLMBWWKYXYADTXYLLDJPYBPWUXJMWMLLSAFDLLYFLBHHHBQQLTZJCQJLDJTFFKMMMBYTHYGDCQRDDWRQJXNBYSNWZDBYYTBJHPYBYTTJXAAHGQDQTMYSTQXKBTZPKJLZRBEQQSSMJJBDJOTGTBXPGBKTLHQXJJJCTHXQDWJLWRFWQGWSHCKRYSWGFTGYGBXSDWDWRFHWYTJJXXXJYZYSLPYYYPAYXHYDQKXSHXYXGSKQHYWFDDDPPLCJLQQEEWXKSYYKDYPLTJTHKJLTCYYHHJTTPLTZZCDLTHQKZXQYSTEEYWYYZYXXYYSTTJKLLPZMCYHQGXYHSRMBXPLLNQYDQHXSXXWGDQBSHYLLPJJJTHYJKYPPTHYYKTYEZYENMDSHLCRPQFDGFXZPSFTLJXXJBSWYYSKSFLXLPPLBBBLBSFXFYZBSJSSYLPBBFFFFSSCJDSTZSXZRYYSYFFSYZYZBJTBCTSBSDHRTJJBYTCXYJEYLXCBNEBJDSYXYKGSJZBXBYTFZWGENYHHTHZHHXFWGCSTBGXKLSXYWMTMBYXJSTZSCDYQRCYTWXZFHMYMCXLZNSDJTTTXRYCFYJSBSDYERXJLJXBBDEYNJGHXGCKGSCYMBLXJMSZNSKGXFBNBPTHFJAAFXYXFPXMYPQDTZCXZZPXRSYWZDLYBBKTYQPQJPZYPZJZNJPZJLZZFYSBTTSLMPTZRTDXQSJEHBZYLZDHLJSQMLHTXTJECXSLZZSPKTLZKQQYFSYGYWPCPQFHQHYTQXZKRSGTTSQCZLPTXCDYYZXSQZSLXLZMYCPCQBZYXHBSXLZDLTCDXTYLZJYYZPZYZLTXJSJXHLPMYTXCQRBLZSSFJZZTNJYTXMYJHLHPPLCYXQJQQKZZSCPZKSWALQSBLCCZJSXGWWWYGYKTJBBZTDKHXHKGTGPBKQYSLPXPJCKBMLLXDZSTBKLGGQKQLSBKKTFXRMDKBFTPZFRTBBRFERQGXYJPZSSTLBZTPSZQZSJDHLJQLZBPMSMMSXLQQNHKNBLRDDNXXDHDDJCYYGYLXGZLXSYGMQQGKHBPMXYXLYTQWLWGCPBMQXCYZYDRJBHTDJYHQSHTMJSBYPLWHLZFFNYPMHXXHPLTBQPFBJWQDBYGPNZTPFZJGSDDTQSHZEAWZZYLLTYYBWJKXXGHLFKXDJTMSZSQYNZGGSWQSPHTLSSKMCLZXYSZQZXNCJDQGZDLFNYKLJCJLLZLMZZNHYDSSHTHZZLZZBBHQZWWYCRZHLYQQJBEYFXXXWHSRXWQHWPSLMSSKZTTYGYQQWRSLALHMJTQJSMXQBJJZJXZYZKXBYQXBJXSHZTSFJLXMXZXFGHKZSZGGYLCLSARJYHSLLLMZXELGLXYDJYTLFBHBPNLYZFBBHPTGJKWETZHKJJXZXXGLLJLSTGSHJJYQLQZFKCGNNDJSSZFDBCTWWSEQFHQJBSAQTGYPQLBXBMMYWXGSLZHGLZGQYFLZBYFZJFRYSFMBYZHQGFWZSYFYJJPHZBYYZFFWODGRLMFTWLBZGYCQXCDJYGZYYYYTYTYDWEGAZYHXJLZYYHLRMGRXXZCLHNELJJTJTPWJYBJJBXJJTJTEEKHWSLJPLPSFYZPQQBDLQJJTYYQLYZKDKSQJYYQZLDQTGJQYZJSUCMRYQTHTEJMFCTYHYPKMHYZWJDQFHYYXWSHCTXRLJHQXHCCYYYJLTKTTYTMXGTCJTZAYYOCZLYLBSZYWJYTSJYHBYSHFJLYGJXXTMZYYLTXXYPZLXYJZYZYYPNHMYMDYYLBLHLSYYQQLLNJJYMSOYQBZGDLYXYLCQYXTSZEGXHZGLHWBLJHEYXTWQMAKBPQCGYSHHEGQCMWYYWLJYJHYYZLLJJYLHZYHMGSLJLJXCJJYCLYCJPCPZJZJMMYLCQLNQLJQJSXYJMLSZLJQLYCMMHCFMMFPQQMFYLQMCFFQMMMMHMZNFHHJGTTHHKHSLNCHHYQDXTMMQDCYZYXYQMYQYLTDCYYYZAZZCYMZYDLZFFFMMYCQZWZZMABTBYZTDMNZZGGDFTYPCGQYTTSSFFWFDTZQSSYSTWXJHXYTSXXYLBYQHWWKXHZXWZNNZZJZJJQJCCCHYYXBZXZCYZTLLCQXYNJYCYYCYNZZQYYYEWYCZDCJYCCHYJLBTZYYCQWMPWPYMLGKDLDLGKQQBGYCHJXY"}),require.config({shim:{underscore:{exports:"_"},backbone:{deps:["underscore","jquery"],exports:"Backbone"}},paths:{jquery:"lib/jquery","jquery.ui.core":"lib/jquery.ui.core","jquery.ui.widget":"lib/jquery.ui.widget.1.11.1","jquery.ui.progressbar":"lib/jquery.ui.progressbar","jquery.ui.tabs":"lib/jquery.ui.tabs",tmpl:"lib/tmpl.min","jquery.iframe-transport":"lib/jquery.iframe-transport.1.4","jquery.fileupload":"lib/jquery.fileupload.5.42.1","jquery.fileupload-process":"lib/jquery.fileupload.file-processing.1.3.0","jquery.fileupload-validate":"lib/jquery.fileupload.validation.1.1.2","jquery.fileupload-ui":"lib/jquery.fileupload.ui.9.6.0","jquery.magnific-popup":"lib/jquery.magnific-popup",simplemodal:"lib/jquery.simplemodal.1.4.4.min",jstree:"lib/jstree.1.0",select2:"lib/select2-3.5.2",underscore:"lib/underscore",backbone:"lib/backbone",text:"lib/text"}}),define("common",["jquery","underscore","text","pinyin-by-unicode"],function(e,t,n,r){return{INFO_TIMEOUT:1e4,SUCCESS_TIMEOUT:3e3,ERROR_TIMEOUT:3e3,strChineseFirstPY:r.strChineseFirstPY,getUrl:function(e){var t=app.config.siteRoot;switch(e.name){case"list_lib_dir":return t+"ajax/lib/"+e.repo_id+"/dir/";case"star_file":return t+"ajax/repo/"+e.repo_id+"/file/star/";case"unstar_file":return t+"ajax/repo/"+e.repo_id+"/file/unstar/";case"del_dir":return t+"ajax/repo/"+e.repo_id+"/dir/delete/";case"del_file":return t+"ajax/repo/"+e.repo_id+"/file/delete/";case"rename_dir":return t+"ajax/repo/"+e.repo_id+"/dir/rename/";case"rename_file":return t+"ajax/repo/"+e.repo_id+"/file/rename/";case"mv_dir":return t+"ajax/repo/"+e.repo_id+"/dir/mv/";case"cp_dir":return t+"ajax/repo/"+e.repo_id+"/dir/cp/";case"mv_file":return t+"ajax/repo/"+e.repo_id+"/file/mv/";case"cp_file":return t+"ajax/repo/"+e.repo_id+"/file/cp/";case"new_dir":return t+"ajax/repo/"+e.repo_id+"/dir/new/";case"new_file":return t+"ajax/repo/"+e.repo_id+"/file/new/";case"del_dirents":return t+"ajax/repo/"+e.repo_id+"/dirents/delete/";case"mv_dirents":return t+"ajax/repo/"+e.repo_id+"/dirents/move/";case"cp_dirents":return t+"ajax/repo/"+e.repo_id+"/dirents/copy/";case"get_file_op_url":return t+"ajax/repo/"+e.repo_id+"/file_op_url/";case"get_dirents":return t+"ajax/repo/"+e.repo_id+"/dirents/";case"repo_del":return t+"ajax/repo/"+e.repo_id+"/remove/";case"sub_repo":return t+"ajax/repo/"+e.repo_id+"/dir/sub_repo/";case"thumbnail_create":return t+"thumbnail/"+e.repo_id+"/create/";case"get_my_unenc_repos":return t+"ajax/my-unenc-repos/";case"unenc_rw_repos":return t+"ajax/unenc-rw-repos/";case"get_cp_progress":return t+"ajax/cp_progress/";case"cancel_cp":return t+"ajax/cancel_cp/";case"ajax_repo_remove_share":return t+"share/ajax/repo_remove_share/";case"get_user_contacts":return t+"ajax/contacts/";case"get_shared_download_link":return t+"share/ajax/get-download-link/";case"delete_shared_download_link":return t+"share/ajax/link/remove/";case"send_shared_download_link":return t+"share/link/send/";case"send_shared_upload_link":return t+"share/upload_link/send/";case"delete_shared_upload_link":return t+"share/ajax/upload_link/remove/";case"get_share_upload_link":return t+"share/ajax/get-upload-link/";case"private_share_dir":return t+"share/ajax/private-share-dir/";case"private_share_file":return t+"share/ajax/private-share-file/";case"get_popup_notices":return t+"ajax/get_popup_notices/";case"set_notices_seen":return t+"ajax/set_notices_seen/";case"get_unseen_notices_num":return t+"ajax/unseen-notices-count/";case"set_notice_seen_by_id":return t+"ajax/set_notice_seen_by_id/";case"repo_set_password":return t+"repo/set_password/";case"group_repos":return t+"api2/groups/"+e.group_id+"/repos/";case"group_basic_info":return t+"ajax/group/"+e.group_id+"/basic-info/";case"toggle_group_modules":return t+"ajax/group/"+e.group_id+"/toggle-modules/";case"toggle_personal_modules":return t+"ajax/toggle-personal-modules/";case"ajax_unset_inner_pub_repo":return t+"ajax/unset-inner-pub-repo/"+e.repo_id+"/";case"get_folder_perm_by_path":return t+"ajax/repo/"+e.repo_id+"/get-folder-perm-by-path/";case"set_user_folder_perm":return t+"ajax/repo/"+e.repo_id+"/set-user-folder-perm/";case"set_group_folder_perm":return t+"ajax/repo/"+e.repo_id+"/set-group-folder-perm/";case"starred_files":return t+"api2/starredfiles/";case"shared_repos":return t+"api2/shared-repos/"+e.repo_id+"/";case"search_user":return t+"api2/search-user/"}},showConfirm:function(t,n,r){var i=e("#confirm-popup"),s=e("#confirm-con"),o=e("#confirm-yes");s.html("

"+t+"

"+n+"

"),i.modal({appendTo:"#main"}),e("#simplemodal-container").css({height:"auto"}),o.click(r)},closeModal:function(){e.modal.close()},feedback:function(t,n,r){var r=r||5e3;if(e(".messages").length>0)e(".messages").html('
  • '+t+"
  • ");else{var i='
    • '+t+"
    ";e("#main").append(i)}e(".messages").css({left:(e(window).width()-e(".messages").width())/2,top:10}).removeClass("hide"),setTimeout(function(){e(".messages").addClass("hide")},r)},showFormError:function(t,n){e("#"+t+" .error").html(n).removeClass("hide"),e("#simplemodal-container").css({height:"auto"})},ajaxErrorHandler:function(t,n,r){t.responseText?this.feedback(e.parseJSON(t.responseText).error,"error"):this.feedback(gettext("Failed. Please check the network."),"error")},enableButton:function(e){e.removeAttr("disabled").removeClass("btn-disabled")},disableButton:function(e){e.attr("disabled","disabled").addClass("btn-disabled")},setCaretPos:function(e,t){var n;return document.selection?(n=e.createTextRange(),n.move("character",t),n.select()):e.setSelectionRange(t,t)},prepareApiCsrf:function(){Backbone._sync=Backbone.sync,Backbone.sync=function(e,t,n){if(e=="create"||e=="update"||e=="delete"){var r=app.pageOptions.csrfToken;n.beforeSend=function(e){e.setRequestHeader("X-CSRFToken",r)}}return Backbone._sync(e,t,n)}},prepareCSRFToken:function(e,t){function n(e){var t=null;if(document.cookie&&document.cookie!=""){var n=document.cookie.split(";");for(var r=0;r'+o+"

    "):e(".error",t).removeClass("hide")}}})}}),_this=this,e(document).click(function(t){_this.closePopup(t,e("#user-info-popup"),e("#my-info"))})},initNoticePopup:function(){var t=e("#msg-count");if(t.length==0)return!1;var n=document.title;t.data("orig_doc_title",n);var r=function(){e.ajax({url:_this.getUrl({name:"get_unseen_notices_num"}),dataType:"json",cache:!1,success:function(r){var i=r.count,s=e(".num",t);s.html(i),i>0?(s.removeClass("hide"),document.title="("+i+")"+n):(s.addClass("hide"),document.title=n)}})};r(),setInterval(r,3e4),e("#notice-icon").click(function(){var t=e("#notice-popup");t.toggleClass("hide");if(!t.hasClass("hide")){e(".con",t).css({"max-height":e(window).height()-e("#header").outerHeight()-e(".hd",t).outerHeight()-3});var n=e(".loading-tip",t),r=e("#notice-list");r.addClass("hide"),n.show(),e(".error",t).addClass("hide"),e.ajax({url:_this.getUrl({name:"get_popup_notices"}),dataType:"json",success:function(t){n.hide(),r.html(t.notice_html).removeClass("hide"),e(".unread a",r).click(function(){var t=e(this).parents(".unread").data("id"),n=e(this).attr("href");return e.ajax({url:_this.getUrl({name:"set_notice_seen_by_id"})+"?notice_id="+encodeURIComponent(t),dataType:"json",success:function(e){location.href=n},error:function(){location.href=n}}),!1}),e(".detail",r).click(function(){location.href=e(".brief a",e(this).parent()).attr("href")})},error:function(r,i,s){if(r.responseText){var o=e.parseJSON(r.responseText).error;n.hide(),e(".error",t).length==0?n.after('

    '+o+"

    "):e(".error",t).removeClass("hide")}}})}}),e(window).resize(function(){var t=e("#notice-popup");t.hasClass("hide")||e(".con",t).css({"max-height":e(window).height()-e("#header").outerHeight()-e(".hd",t).outerHeight()-3})}),e("#notice-popup .close").click(function(){e("#notice-popup").addClass("hide"),e("#notice-list .unread").length>0&&e.ajax({url:_this.getUrl({name:"set_notices_seen"}),dataType:"json",success:function(){e(".num",t).html(0).addClass("hide"),document.title=n}})}),e(document).click(function(t){_this.closePopup(t,e("#notice-popup"),e("#notice-icon"))})},closeTopNoticeBar:function(){if(!app.pageOptions.cur_note)return!1;var t=app.pageOptions.cur_note.id;e("#info-bar").addClass("hide");if(navigator.cookieEnabled){var n=new Date,r=document.cookie.split("; "),i=!1;n.setTime(n.getTime()+12096e5),t+="; expires="+n.toGMTString()+"; path="+app.config.siteRoot;for(var s=0,o=r.length;s'+e.HTMLescape(t.name)+"
    "+e.HTMLescape(t.id)+"";return},formatSelection:function(t){return e.HTMLescape(t.name||t.id)},escapeMarkup:function(e){return e}}},imageCheck:function(e){if(e.lastIndexOf(".")==-1)return!1;var t=e.substr(e.lastIndexOf(".")+1).toLowerCase(),n=["gif","jpeg","jpg","png","ico","bmp"];return n.indexOf(t)!=-1?!0:!1},compareTwoWord:function(e,t){var n,r,i=e.charCodeAt(0),s=t.charCodeAt(0),o=this.strChineseFirstPY;if(19968=r?1:-1},fileSizeFormat:function(e,t){var n=1024,r=n*1024,i=r*1024,s=i*1024,t=t||0;return e>=0&&e=n&&e=r&&e=i&&e=s?(e/s).toFixed(t)+" TB":e+" B"}}}),function(e,t){if(typeof define=="function"&&define.amd)define("backbone",["underscore","jquery","exports"],function(n,r,i){e.Backbone=t(e,i,n,r)});else if(typeof exports!="undefined"){var n=require("underscore");t(e,exports,n)}else e.Backbone=t(e,{},e._,e.jQuery||e.Zepto||e.ender||e.$)}(this,function(e,t,n,r){var i=e.Backbone,s=[],o=s.push,u=s.slice,a=s.splice;t.VERSION="1.1.2",t.$=r,t.noConflict=function(){return e.Backbone=i,this},t.emulateHTTP=!1,t.emulateJSON=!1;var f=t.Events={on:function(e,t,n){if(!c(this,"on",e,[t,n])||!t)return this;this._events||(this._events={});var r=this._events[e]||(this._events[e]=[]);return r.push({callback:t,context:n,ctx:n||this}),this},once:function(e,t,r){if(!c(this,"once",e,[t,r])||!t)return this;var i=this,s=n.once(function(){i.off(e,s),t.apply(this,arguments)});return s._callback=t,this.on(e,s,r)},off:function(e,t,r){var i,s,o,u,a,f,l,h;if(!this._events||!c(this,"off",e,[t,r]))return this;if(!e&&!t&&!r)return this._events=void 0,this;u=e?[e]:n.keys(this._events);for(a=0,f=u.length;a").attr(e);this.setElement(r,!1)}else this.setElement(n.result(this,"el"),!1)}}),t.sync=function(e,r,i){var s=N[e];n.defaults(i||(i={}),{emulateHTTP:t.emulateHTTP,emulateJSON:t.emulateJSON});var o={type:s,dataType:"json"};i.url||(o.url=n.result(r,"url")||F()),i.data==null&&r&&(e==="create"||e==="update"||e==="patch")&&(o.contentType="application/json",o.data=JSON.stringify(i.attrs||r.toJSON(i))),i.emulateJSON&&(o.contentType="application/x-www-form-urlencoded",o.data=o.data?{model:o.data}:{});if(i.emulateHTTP&&(s==="PUT"||s==="DELETE"||s==="PATCH")){o.type="POST",i.emulateJSON&&(o.data._method=s);var u=i.beforeSend;i.beforeSend=function(e){e.setRequestHeader("X-HTTP-Method-Override",s);if(u)return u.apply(this,arguments)}}o.type!=="GET"&&!i.emulateJSON&&(o.processData=!1),o.type==="PATCH"&&T&&(o.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")});var a=i.xhr=t.ajax(n.extend(o,i));return r.trigger("request",r,a,i),a};var T=typeof window!="undefined"&&!!window.ActiveXObject&&(!window.XMLHttpRequest||!(new XMLHttpRequest).dispatchEvent),N={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};t.ajax=function(){return t.$.ajax.apply(t.$,arguments)};var C=t.Router=function(e){e||(e={}),e.routes&&(this.routes=e.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},k=/\((.*?)\)/g,L=/(\(\?)?:\w+/g,A=/\*\w+/g,O=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(C.prototype,f,{initialize:function(){},route:function(e,r,i){n.isRegExp(e)||(e=this._routeToRegExp(e)),n.isFunction(r)&&(i=r,r=""),i||(i=this[r]);var s=this;return t.history.route(e,function(n){var o=s._extractParameters(e,n);s.execute(i,o),s.trigger.apply(s,["route:"+r].concat(o)),s.trigger("route",r,o),t.history.trigger("route",s,r,o)}),this},execute:function(e,t){e&&e.apply(this,t)},navigate:function(e,n){return t.history.navigate(e,n),this},_bindRoutes:function(){if(!this.routes)return;this.routes=n.result(this,"routes");var e,t=n.keys(this.routes);while((e=t.pop())!=null)this.route(e,this.routes[e])},_routeToRegExp:function(e){return e=e.replace(O,"\\$&").replace(k,"(?:$1)?").replace(L,function(e,t){return t?e:"([^/?]+)"}).replace(A,"([^?]*?)"),new RegExp("^"+e+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(e,t){var r=e.exec(t).slice(1);return n.map(r,function(e,t){return t===r.length-1?e||null:e?decodeURIComponent(e):null})}});var M=t.History=function(){this.handlers=[],n.bindAll(this,"checkUrl"),typeof window!="undefined"&&(this.location=window.location,this.history=window.history)},_=/^[#\/]|\s+$/g,D=/^\/+|\/+$/g,P=/msie [\w.]+/,H=/\/$/,B=/#.*$/;M.started=!1,n.extend(M.prototype,f,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(e){var t=(e||this).location.href.match(/#(.*)$/);return t?t[1]:""},getFragment:function(e,t){if(e==null)if(this._hasPushState||!this._wantsHashChange||t){e=decodeURI(this.location.pathname+this.location.search);var n=this.root.replace(H,"");e.indexOf(n)||(e=e.slice(n.length))}else e=this.getHash();return e.replace(_,"")},start:function(e){if(M.started)throw new Error("Backbone.history has already been started");M.started=!0,this.options=n.extend({root:"/"},this.options,e),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var r=this.getFragment(),i=document.documentMode,s=P.exec(navigator.userAgent.toLowerCase())&&(!i||i<=7);this.root=("/"+this.root+"/").replace(D,"/");if(s&&this._wantsHashChange){var o=t.$('').css(e.extend(this.o.iframeCss,{display:"none",opacity:0,position:"fixed",height:s[0],width:s[1],zIndex:this.o.zIndex,top:0,left:0})).appendTo(this.o.appendTo)),this.d.overlay=e("
    ").attr("id",this.o.overlayId).addClass("simplemodal-overlay").css(e.extend(this.o.overlayCss,{display:"none",opacity:this.o.opacity/100,height:this.o.modal?t[0]:0,width:this.o.modal?t[1]:0,position:"fixed",left:0,top:0,zIndex:this.o.zIndex+1})).appendTo(this.o.appendTo),this.d.container=e("
    ").attr("id",this.o.containerId).addClass("simplemodal-container").css(e.extend({position:this.o.fixed?"fixed":"absolute"},this.o.containerCss,{display:"none",zIndex:this.o.zIndex+2})).append(this.o.close&&this.o.closeHTML?e(this.o.closeHTML).addClass(this.o.closeClass):"").appendTo(this.o.appendTo),this.d.wrap=e("
    ").attr("tabIndex",-1).addClass("simplemodal-wrap").css({height:"100%",outline:0,width:"100%"}).appendTo(this.d.container),this.d.data=n.attr("id",n.attr("id")||this.o.dataId).addClass("simplemodal-data").css(e.extend(this.o.dataCss,{display:"none"})).appendTo("body"),this.setContainerDimensions(),this.d.data.appendTo(this.d.wrap),(f||o)&&this.fixIE()},bindEvents:function(){var r=this;e("."+r.o.closeClass).bind("click.simplemodal",function(e){e.preventDefault(),r.close()}),r.o.modal&&r.o.close&&r.o.overlayClose&&r.d.overlay.bind("click.simplemodal",function(e){e.preventDefault(),r.close()}),n.bind("keydown.simplemodal",function(e){r.o.modal&&9===e.keyCode?r.watchTab(e):r.o.close&&r.o.escClose&&27===e.keyCode&&(e.preventDefault(),r.close())}),i.bind("resize.simplemodal orientationchange.simplemodal",function(){r.getDimensions(),r.o.autoResize?r.setContainerDimensions():r.o.autoPosition&&r.setPosition(),f||o?r.fixIE():r.o.modal&&(r.d.iframe&&r.d.iframe.css({height:s[0],width:s[1]}),r.d.overlay.css({height:t[0],width:t[1]}))})},unbindEvents:function(){e("."+this.o.closeClass).unbind("click.simplemodal"),n.unbind("keydown.simplemodal"),i.unbind(".simplemodal"),this.d.overlay.unbind("click.simplemodal")},fixIE:function(){var t=this.o.position;e.each([this.d.iframe||null,this.o.modal?this.d.overlay:null,"fixed"===this.d.container.css("position")?this.d.container:null],function(e,n){if(n){var r=n[0].style;r.position="absolute";if(2>e)r.removeExpression("height"),r.removeExpression("width"),r.setExpression("height",'document.body.scrollHeight > document.body.clientHeight ? document.body.scrollHeight : document.body.clientHeight + "px"'),r.setExpression("width",'document.body.scrollWidth > document.body.clientWidth ? document.body.scrollWidth : document.body.clientWidth + "px"');else{var i,s;t&&t.constructor===Array?(i=t[0]?"number"==typeof t[0]?t[0].toString():t[0].replace(/px/,""):n.css("top").replace(/px/,""),i=-1===i.indexOf("%")?i+' + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"':parseInt(i.replace(/%/,""))+' * ((document.documentElement.clientHeight || document.body.clientHeight) / 100) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',t[1]&&(s="number"==typeof t[1]?t[1].toString():t[1].replace(/px/,""),s=-1===s.indexOf("%")?s+' + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"':parseInt(s.replace(/%/,""))+' * ((document.documentElement.clientWidth || document.body.clientWidth) / 100) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"')):(i='(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',s='(document.documentElement.clientWidth || document.body.clientWidth) / 2 - (this.offsetWidth / 2) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"'),r.removeExpression("top"),r.removeExpression("left"),r.setExpression("top",i),r.setExpression("left",s)}}})},focus:function(t){var n=this,t=t&&-1!==e.inArray(t,["first","last"])?t:"first",r=e(":input:enabled:visible:"+t,n.d.wrap);setTimeout(function(){0i?i:ti?i:this.o.minHeight&&"auto"!==u&&no?o:eo?o:this.o.minWidth&&"auto"!==i&&rt||r>e?"auto":"visible"}),this.o.autoPosition&&this.setPosition()},setPosition:function(){var e,t;e=s[0]/2-this.d.container.outerHeight(!0)/2,t=s[1]/2-this.d.container.outerWidth(!0)/2;var n="fixed"!==this.d.container.css("position")?i.scrollTop():0;this.o.position&&"[object Array]"===Object.prototype.toString.call(this.o.position)?(e=n+(this.o.position[0]||e),t=this.o.position[1]||t):e=n+e,this.d.container.css({left:t,top:e})},watchTab:function(t){if(0r.length+5)return!1;if(r[i].selectorText&&r[i].selectorText.toLowerCase()==e)return t===!0?(n.removeRule&&n.removeRule(i),n.deleteRule&&n.deleteRule(i),!0):r[i]}while(r[++i]);return!1},add_css:function(e,t){return r.jstree.css.get_css(e,!1,t)?!1:(t.insertRule?t.insertRule(e+" { }",0):t.addRule(e,null,0),r.vakata.css.get_css(e))},remove_css:function(e,t){return r.vakata.css.get_css(e,!0,t)},add_sheet:function(e){var t=!1,n=!0;if(e.str)return e.title&&(t=r("style[id='"+e.title+"-stylesheet']")[0]),t?n=!1:(t=document.createElement("style"),t.setAttribute("type","text/css"),e.title&&t.setAttribute("id",e.title+"-stylesheet")),t.styleSheet?n?(document.getElementsByTagName("head")[0].appendChild(t),t.styleSheet.cssText=e.str):t.styleSheet.cssText=t.styleSheet.cssText+" "+e.str:(t.appendChild(document.createTextNode(e.str)),document.getElementsByTagName("head")[0].appendChild(t)),t.sheet||t.styleSheet;if(e.url){if(!document.createStyleSheet)return t=document.createElement("link"),t.rel="stylesheet",t.type="text/css",t.media="all",t.href=e.url,document.getElementsByTagName("head")[0].appendChild(t),t.styleSheet;try{t=document.createStyleSheet(e.url)}catch(i){}}}};var i=[],s=-1,o={},u={};r.fn.jstree=function(e){var t=typeof e=="string",n=Array.prototype.slice.call(arguments,1),s=this;if(t){if(e.substring(0,1)=="_")return s;this.each(function(){var t=i[r.data(this,"jstree-instance-id")],o=t&&r.isFunction(t[e])?t[e].apply(t,n):t;if(typeof o!="undefined"&&(e.indexOf("is_")===0||o!==!0&&o!==!1))return s=o,!1})}else this.each(function(){var t=r.data(this,"jstree-instance-id"),s=[],u=e?r.extend({},!0,e):{},a=r(this),f=!1,l=[];s=s.concat(n),a.data("jstree")&&s.push(a.data("jstree")),u=s.length?r.extend.apply(null,[!0,u].concat(s)):u,typeof t!="undefined"&&i[t]&&i[t].destroy(),t=parseInt(i.push({}),10)-1,r.data(this,"jstree-instance-id",t),u.plugins=r.isArray(u.plugins)?u.plugins:r.jstree.defaults.plugins.slice(),u.plugins.unshift("core"),u.plugins=u.plugins.sort().join(",,").replace(/(,|^)([^,]+)(,,\2)+(,|$)/g,"$1$2$4").replace(/,,+/g,",").replace(/,$/,"").split(","),f=r.extend(!0,{},r.jstree.defaults,u),f.plugins=u.plugins,r.each(o,function(e,t){r.inArray(e,f.plugins)===-1?(f[e]=null,delete f[e]):l.push(e)}),f.plugins=l,i[t]=new r.jstree._instance(t,r(this).addClass("jstree jstree-"+t),f),r.each(i[t]._get_settings().plugins,function(e,n){i[t].data[n]={}}),r.each(i[t]._get_settings().plugins,function(e,n){o[n]&&o[n].__init.apply(i[t])}),setTimeout(function(){i[t].init()},0)});return s},r.jstree={defaults:{plugins:[]},_focused:function(){return i[s]||null},_reference:function(e){if(i[e])return i[e];var t=r(e);return!t.length&&typeof e=="string"&&(t=r("#"+e)),t.length?i[t.closest(".jstree").data("jstree-instance-id")]||null:null},_instance:function(e,t,n){this.data={core:{}},this.get_settings=function(){return r.extend(!0,{},n)},this._get_settings=function(){return n},this.get_index=function(){return e},this.get_container=function(){return t},this.get_container_ul=function(){return t.children("ul:eq(0)")},this._set_settings=function(e){n=r.extend(!0,{},n,e)}},_fn:{},plugin:function(e,t){t=r.extend({},{__init:r.noop,__destroy:r.noop,_fn:{},defaults:!1},t),o[e]=t,r.jstree.defaults[e]=t.defaults,r.each(t._fn,function(t,n){n.plugin=e,n.old=r.jstree._fn[t],r.jstree._fn[t]=function(){var e,i=n,s=Array.prototype.slice.call(arguments),o=new r.Event("before.jstree"),u=!1;if(this.data.core.locked===!0&&t!=="unlock"&&t!=="is_locked")return;do{if(i&&i.plugin&&r.inArray(i.plugin,this._get_settings().plugins)!==-1)break;i=i.old}while(i);if(!i)return;if(t.indexOf("_")===0)e=i.apply(this,s);else{e=this.get_container().triggerHandler(o,{func:t,inst:this,args:s,plugin:i.plugin});if(e===!1)return;typeof e!="undefined"&&(s=e),e=i.apply(r.extend({},this,{__callback:function(e){this.get_container().triggerHandler(t+".jstree",{inst:this,args:s,rslt:e,rlbk:u})},__rollback:function(){return u=this.get_rollback(),u},__call_old:function(e){return i.old.apply(this,e?Array.prototype.slice.call(arguments,1):s)}}),s)}return e},r.jstree._fn[t].old=n.old,r.jstree._fn[t].plugin=e})},rollback:function(e){e&&(r.isArray(e)||(e=[e]),r.each(e,function(e,t){i[t.i].set_rollback(t.h,t.d)}))}},r.jstree._fn=r.jstree._instance.prototype={},r(function(){var i=navigator.userAgent.toLowerCase(),s=(i.match(/.+?(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],o=".jstree ul, .jstree li { display:block; margin:0 0 0 0; padding:0 0 0 0; list-style-type:none; } .jstree li { display:block; min-height:18px; line-height:18px; white-space:nowrap; margin-left:18px; min-width:18px; } .jstree-rtl li { margin-left:0; margin-right:18px; } .jstree > ul > li { margin-left:0px; } .jstree-rtl > ul > li { margin-right:0px; } .jstree ins { display:inline-block; text-decoration:none; width:18px; height:18px; margin:0 0 0 0; padding:0; } .jstree a { display:inline-block; line-height:16px; height:16px; color:black; white-space:nowrap; text-decoration:none; padding:1px 2px; margin:0; } .jstree a:focus { outline: none; } .jstree a > ins { height:16px; width:16px; } .jstree a > .jstree-icon { margin-right:3px; } .jstree-rtl a > .jstree-icon { margin-left:3px; margin-right:0; } li.jstree-open > ul { display:block; } li.jstree-closed > ul { display:none; } ";if(/msie/.test(i)&&parseInt(s,10)==6){e=!0;try{document.execCommand("BackgroundImageCache",!1,!0)}catch(u){}o+=".jstree li { height:18px; margin-left:0; margin-right:0; } .jstree li li { margin-left:18px; } .jstree-rtl li li { margin-left:0px; margin-right:18px; } li.jstree-open ul { display:block; } li.jstree-closed ul { display:none !important; } .jstree li a { display:inline; border-width:0 !important; padding:0px 2px !important; } .jstree li a ins { height:16px; width:16px; margin-right:3px; } .jstree-rtl li a ins { margin-right:0px; margin-left:3px; } "}/msie/.test(i)&&parseInt(s,10)==7&&(t=!0,o+=".jstree li a { border-width:0 !important; padding:0px 2px !important; } "),!/compatible/.test(i)&&/mozilla/.test(i)&&parseFloat(s,10)<1.9&&(n=!0,o+=".jstree ins { display:-moz-inline-box; } .jstree li { line-height:12px; } .jstree a { display:-moz-inline-box; } .jstree .jstree-no-icons .jstree-checkbox { display:-moz-inline-stack !important; } "),r.vakata.css.add_sheet({str:o,title:"jstree"})}),r.jstree.plugin("core",{__init:function(){this.data.core.locked=!1,this.data.core.to_open=this.get_settings().core.initially_open,this.data.core.to_load=this.get_settings().core.initially_load},defaults:{html_titles:!1,animation:500,initially_open:[],initially_load:[],open_parents:!0,notify_plugins:!0,rtl:!1,load_open:!1,strings:{loading:"Loading ...",new_node:"New node",multiple_selection:"Multiple selection"}},_fn:{init:function(){this.set_focus(),this._get_settings().core.rtl&&this.get_container().addClass("jstree-rtl").css("direction","rtl"),this.get_container().html(""),this.data.core.li_height=this.get_container_ul().find("li.jstree-closed, li.jstree-leaf").eq(0).height()||18,this.get_container().delegate("li > ins","click.jstree",r.proxy(function(e){var t=r(e.target);t.is("ins")&&e.pageY-t.offset().top ul > li:first-child"):e.length?t?e.nextAll("li").size()>0?e.nextAll("li:eq(0)"):!1:e.hasClass("jstree-open")?e.find("li:eq(0)"):e.nextAll("li").size()>0?e.nextAll("li:eq(0)"):e.parentsUntil(".jstree","li").next("li").eq(0):!1},_get_prev:function(e,t){e=this._get_node(e);if(e===-1)return this.get_container().find("> ul > li:last-child");if(!e.length)return!1;if(t)return e.prevAll("li").length>0?e.prevAll("li:eq(0)"):!1;if(e.prev("li").length){e=e.prev("li").eq(0);while(e.hasClass("jstree-open"))e=e.children("ul:eq(0)").children("li:last");return e}var n=e.parentsUntil(".jstree","li:eq(0)");return n.length?n:!1},_get_parent:function(e){e=this._get_node(e);if(e==-1||!e.length)return!1;var t=e.parentsUntil(".jstree","li:eq(0)");return t.length?t:-1},_get_children:function(e){return e=this._get_node(e),e===-1?this.get_container().children("ul:eq(0)").children("li"):e.length?e.children("ul:eq(0)").children("li"):!1},get_path:function(e,t){var n=[],r=this;return e=this._get_node(e),e===-1||!e||!e.length?!1:(e.parentsUntil(".jstree","li").each(function(){n.push(t?this.id:r.get_text(this))}),n.reverse(),n.push(t?e.attr("id"):this.get_text(e)),n)},_get_string:function(e){return this._get_settings().core.strings[e]||e},is_open:function(e){return e=this._get_node(e),e&&e!==-1&&e.hasClass("jstree-open")},is_closed:function(e){return e=this._get_node(e),e&&e!==-1&&e.hasClass("jstree-closed")},is_leaf:function(e){return e=this._get_node(e),e&&e!==-1&&e.hasClass("jstree-leaf")},correct_state:function(e){e=this._get_node(e);if(!e||e===-1)return!1;e.removeClass("jstree-closed jstree-open").addClass("jstree-leaf").children("ul").remove(),this.__callback({obj:e})},open_node:function(t,n,r){t=this._get_node(t);if(!t.length)return!1;if(!t.hasClass("jstree-closed"))return n&&n.call(),!1;var i=r||e?0:this._get_settings().core.animation,s=this;this._is_loaded(t)?(this._get_settings().core.open_parents&&t.parentsUntil(".jstree",".jstree-closed").each(function(){s.open_node(this,!1,!0)}),i&&t.children("ul").css("display","none"),t.removeClass("jstree-closed").addClass("jstree-open").children("a").removeClass("jstree-loading"),i?t.children("ul").stop(!0,!0).slideDown(i,function(){this.style.display="",s.after_open(t)}):s.after_open(t),this.__callback({obj:t}),n&&n.call()):(t.children("a").addClass("jstree-loading"),this.load_node(t,function(){s.open_node(t,n,r)},n))},after_open:function(e){this.__callback({obj:e})},close_node:function(t,n){t=this._get_node(t);var r=n||e?0:this._get_settings().core.animation,i=this;if(!t.length||!t.hasClass("jstree-open"))return!1;r&&t.children("ul").attr("style","display:block !important"),t.removeClass("jstree-open").addClass("jstree-closed"),r?t.children("ul").stop(!0,!0).slideUp(r,function(){this.style.display="",i.after_close(t)}):i.after_close(t),this.__callback({obj:t})},after_close:function(e){this.__callback({obj:e})},toggle_node:function(e){e=this._get_node(e);if(e.hasClass("jstree-closed"))return this.open_node(e);if(e.hasClass("jstree-open"))return this.close_node(e)},open_all:function(e,t,n){e=e?this._get_node(e):-1;if(!e||e===-1)e=this.get_container_ul();n?e=e.find("li.jstree-closed"):(n=e,e.is(".jstree-closed")?e=e.find("li.jstree-closed").andSelf():e=e.find("li.jstree-closed"));var r=this;e.each(function(){var e=this;r._is_loaded(this)?r.open_node(this,!1,!t):r.open_node(this,function(){r.open_all(e,t,n)},!t)}),n.find("li.jstree-closed").length===0&&this.__callback({obj:n})},close_all:function(e,t){var n=this;e=e?this._get_node(e):this.get_container();if(!e||e===-1)e=this.get_container_ul();e.find("li.jstree-open").andSelf().each(function(){n.close_node(this,!t)}),this.__callback({obj:e})},clean_node:function(e){e=e&&e!=-1?r(e):this.get_container_ul(),e=e.is("li")?e.find("li").andSelf():e.find("li"),e.removeClass("jstree-last").filter("li:last-child").addClass("jstree-last").end().filter(":has(li)").not(".jstree-open").removeClass("jstree-leaf").addClass("jstree-closed"),e.not(".jstree-open, .jstree-closed").addClass("jstree-leaf").children("ul").remove(),this.__callback({obj:e})},get_rollback:function(){return this.__callback(),{i:this.get_index(),h:this.get_container().children("ul").clone(!0),d:this.data}},set_rollback:function(e,t){this.get_container().empty().append(e),this.data=t,this.__callback()},load_node:function(e,t,n){this.__callback({obj:e})},_is_loaded:function(e){return!0},create_node:function(e,t,n,i,s){e=this._get_node(e),t=typeof t=="undefined"?"last":t;var o=r("
  • "),u=this._get_settings().core,a;if(e!==-1&&!e.length)return!1;if(!s&&!this._is_loaded(e))return this.load_node(e,function(){this.create_node(e,t,n,i,!0)}),!1;this.__rollback(),typeof n=="string"&&(n={data:n}),n||(n={}),n.attr&&o.attr(n.attr),n.metadata&&o.data(n.metadata),n.state&&o.addClass("jstree-"+n.state),n.data||(n.data=this._get_string("new_node")),r.isArray(n.data)||(a=n.data,n.data=[],n.data.push(a)),r.each(n.data,function(e,t){a=r(""),r.isFunction(t)&&(t=t.call(this,n)),typeof t=="string"?a.attr("href","#")[u.html_titles?"html":"text"](t):(t.attr||(t.attr={}),t.attr.href||(t.attr.href="#"),a.attr(t.attr)[u.html_titles?"html":"text"](t.title),t.language&&a.addClass(t.language)),a.prepend(" "),t.icon&&(t.icon.indexOf("/")===-1?a.children("ins").addClass(t.icon):a.children("ins").css("background","url('"+t.icon+"') center center no-repeat")),o.append(a)}),o.prepend(" "),e===-1&&(e=this.get_container(),t==="before"&&(t="first"),t==="after"&&(t="last"));switch(t){case"before":e.before(o),a=this._get_parent(e);break;case"after":e.after(o),a=this._get_parent(e);break;case"inside":case"first":e.children("ul").length||e.append("
      "),e.children("ul").prepend(o),a=e;break;case"last":e.children("ul").length||e.append("
        "),e.children("ul").append(o),a=e;break;default:e.children("ul").length||e.append("
          "),t||(t=0),a=e.children("ul").children("li").eq(t),a.length?a.before(o):e.children("ul").append(o),a=e}if(a===-1||a.get(0)===this.get_container().get(0))a=-1;return this.clean_node(a),this.__callback({obj:o,parent:a}),i&&i.call(this,o),o},get_text:function(e){e=this._get_node(e);if(!e.length)return!1;var t=this._get_settings().core.html_titles;return e=e.children("a:eq(0)"),t?(e=e.clone(),e.children("INS").remove(),e.html()):(e=e.contents().filter(function(){return this.nodeType==3})[0],e.nodeValue)},set_text:function(e,t){e=this._get_node(e);if(!e.length)return!1;e=e.children("a:eq(0)");if(this._get_settings().core.html_titles){var n=e.children("INS").clone();return e.html(t).prepend(n),this.__callback({obj:e,name:t}),!0}return e=e.contents().filter(function(){return this.nodeType==3})[0],this.__callback({obj:e,name:t}),e.nodeValue=t},rename_node:function(e,t){e=this._get_node(e),this.__rollback(),e&&e.length&&this.set_text.apply(this,Array.prototype.slice.call(arguments))&&this.__callback({obj:e,name:t})},delete_node:function(e){e=this._get_node(e);if(!e.length)return!1;this.__rollback();var t=this._get_parent(e),n=r([]),i=this;return e.each(function(){n=n.add(i._get_prev(this))}),e=e.detach(),t!==-1&&t.find("> ul > li").length===0&&t.removeClass("jstree-open jstree-closed").addClass("jstree-leaf"),this.clean_node(t),this.__callback({obj:e,prev:n,parent:t}),e},prepare_move:function(e,t,n,i,s){var o={};o.ot=r.jstree._reference(e)||this,o.o=o.ot._get_node(e),o.r=t===-1?-1:this._get_node(t),o.p=typeof n=="undefined"||n===!1?"last":n;if(!s&&u.o&&u.o[0]===o.o[0]&&u.r[0]===o.r[0]&&u.p===o.p){this.__callback(u),i&&i.call(this,u);return}o.ot=r.jstree._reference(o.o)||this,o.rt=r.jstree._reference(o.r)||this;if(o.r===-1||!o.r){o.cr=-1;switch(o.p){case"first":case"before":case"inside":o.cp=0;break;case"after":case"last":o.cp=o.rt.get_container().find(" > ul > li").length;break;default:o.cp=o.p}}else{if(!/^(before|after)$/.test(o.p)&&!this._is_loaded(o.r))return this.load_node(o.r,function(){this.prepare_move(e,t,n,i,!0)});switch(o.p){case"before":o.cp=o.r.index(),o.cr=o.rt._get_parent(o.r);break;case"after":o.cp=o.r.index()+1,o.cr=o.rt._get_parent(o.r);break;case"inside":case"first":o.cp=0,o.cr=o.r;break;case"last":o.cp=o.r.find(" > ul > li").length,o.cr=o.r;break;default:o.cp=o.p,o.cr=o.r}}o.np=o.cr==-1?o.rt.get_container():o.cr,o.op=o.ot._get_parent(o.o),o.cop=o.o.index(),o.op===-1&&(o.op=o.ot?o.ot.get_container():this.get_container()),!/^(before|after)$/.test(o.p)&&o.op&&o.np&&o.op[0]===o.np[0]&&o.o.index() ul > li:nth-child("+(o.cp+1)+")"),u=o,this.__callback(u),i&&i.call(this,u)},check_move:function(){var e=u,t=!0,n=e.r===-1?this.get_container():e.r;return!e||!e.o||e.or[0]===e.o[0]?!1:e.op&&e.np&&e.op[0]===e.np[0]&&e.cp-1===e.o.index()?!1:(e.o.each(function(){if(n.parentsUntil(".jstree","li").andSelf().index(this)!==-1)return t=!1,!1}),t)},move_node:function(e,t,n,i,s,o){if(!s)return this.prepare_move(e,t,n,function(e){this.move_node(e,!1,!1,i,!0,o)});i&&(u.cy=!0);if(!o&&!this.check_move())return!1;this.__rollback();var a=!1;i?(a=e.o.clone(!0),a.find("*[id]").andSelf().each(function(){this.id&&(this.id="copy_"+this.id)})):a=e.o,e.or.length?e.or.before(a):(e.np.children("ul").length||r("
            ").appendTo(e.np),e.np.children("ul:eq(0)").append(a));try{e.ot.clean_node(e.op),e.rt.clean_node(e.np),e.op.find("> ul > li").length||e.op.removeClass("jstree-open jstree-closed").addClass("jstree-leaf").children("ul").remove()}catch(f){}return i&&(u.cy=!0,u.oc=a),this.__callback(u),u},_get_move:function(){return u}}})})(jQuery),function(e){var t,n,r;e(function(){/msie/.test(navigator.userAgent.toLowerCase())?(n=e('').css({position:"absolute",top:-1e3,left:0}).appendTo("body"),r=e('').css({position:"absolute",top:-1e3,left:0}).appendTo("body"),t=n.width()-r.width(),n.add(r).remove()):(n=e("
            ").css({width:100,height:100,overflow:"auto",position:"absolute",top:-1e3,left:0}).prependTo("body").append("
            ").find("div").css({width:"100%",height:200}),t=100-n.width(),n.parent().remove())}),e.jstree.plugin("ui",{__init:function(){this.data.ui.selected=e(),this.data.ui.last_selected=!1,this.data.ui.hovered=null,this.data.ui.to_select=this.get_settings().ui.initially_select,this.get_container().delegate("a","click.jstree",e.proxy(function(t){t.preventDefault(),t.currentTarget.blur(),e(t.currentTarget).hasClass("jstree-loading")||this.select_node(t.currentTarget,!0,t)},this)).delegate("a","mouseenter.jstree",e.proxy(function(t){e(t.currentTarget).hasClass("jstree-loading")||this.hover_node(t.target)},this)).delegate("a","mouseleave.jstree",e.proxy(function(t){e(t.currentTarget).hasClass("jstree-loading")||this.dehover_node(t.target)},this)).bind("reopen.jstree",e.proxy(function(){this.reselect()},this)).bind("get_rollback.jstree",e.proxy(function(){this.dehover_node(),this.save_selected()},this)).bind("set_rollback.jstree",e.proxy(function(){this.reselect()},this)).bind("close_node.jstree",e.proxy(function(t,n){var r=this._get_settings().ui,i=this._get_node(n.rslt.obj),s=i&&i.length?i.children("ul").find("a.jstree-clicked"):e(),o=this;if(r.selected_parent_close===!1||!s.length)return;s.each(function(){o.deselect_node(this),r.selected_parent_close==="select_parent"&&o.select_node(i)})},this)).bind("delete_node.jstree",e.proxy(function(e,t){var n=this._get_settings().ui.select_prev_on_delete,r=this._get_node(t.rslt.obj),i=r&&r.length?r.find("a.jstree-clicked"):[],s=this;i.each(function(){s.deselect_node(this)}),n&&i.length&&t.rslt.prev.each(function(){if(this.parentNode)return s.select_node(this),!1})},this)).bind("move_node.jstree",e.proxy(function(e,t){t.rslt.cy&&t.rslt.oc.find("a.jstree-clicked").removeClass("jstree-clicked")},this))},defaults:{select_limit:-1,select_multiple_modifier:"ctrl",select_range_modifier:"shift",selected_parent_close:"select_parent",selected_parent_open:!0,select_prev_on_delete:!0,disable_selecting_children:!1,initially_select:[]},_fn:{_get_node:function(t,n){if(typeof t=="undefined"||t===null)return n?this.data.ui.selected:this.data.ui.last_selected;var r=e(t,this.get_container());return r.is(".jstree")||t==-1?-1:(r=r.closest("li",this.get_container()),r.length?r:!1)},_ui_notify:function(e,t){t.selected&&this.select_node(e,!1)},save_selected:function(){var e=this;this.data.ui.to_select=[],this.data.ui.selected.each(function(){this.id&&e.data.ui.to_select.push("#"+this.id.toString().replace(/^#/,"").replace(/\\\//g,"/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,"\\.").replace(/\:/g,"\\:"))}),this.__callback(this.data.ui.to_select)},reselect:function(){var t=this,n=this.data.ui.to_select;n=e.map(e.makeArray(n),function(e){return"#"+e.toString().replace(/^#/,"").replace(/\\\//g,"/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,"\\.").replace(/\:/g,"\\:")}),e.each(n,function(e,n){n&&n!=="#"&&t.select_node(n)}),this.data.ui.selected=this.data.ui.selected.filter(function(){return this.parentNode}),this.__callback()},refresh:function(e){return this.save_selected(),this.__call_old()},hover_node:function(e){e=this._get_node(e);if(!e.length)return!1;e.hasClass("jstree-hovered")||this.dehover_node(),this.data.ui.hovered=e.children("a").addClass("jstree-hovered").parent(),this._fix_scroll(e),this.__callback({obj:e})},dehover_node:function(){var e=this.data.ui.hovered,t;if(!e||!e.length)return!1;t=e.children("a").removeClass("jstree-hovered").parent(),this.data.ui.hovered[0]===t[0]&&(this.data.ui.hovered=null),this.__callback({obj:e})},select_node:function(e,t,n){e=this._get_node(e);if(e==-1||!e||!e.length)return!1;var r=this._get_settings().ui,i=r.select_multiple_modifier=="on"||r.select_multiple_modifier!==!1&&n&&n[r.select_multiple_modifier+"Key"],s=r.select_range_modifier!==!1&&n&&n[r.select_range_modifier+"Key"]&&this.data.ui.last_selected&&this.data.ui.last_selected[0]!==e[0]&&this.data.ui.last_selected.parent()[0]===e.parent()[0],o=this.is_selected(e),u=!0,a=this;if(t){if(r.disable_selecting_children&&i&&(e.parentsUntil(".jstree","li").children("a.jstree-clicked").length||e.children("ul").find("a.jstree-clicked:eq(0)").length))return!1;u=!1;switch(!0){case s:this.data.ui.last_selected.addClass("jstree-last-selected"),e=e[e.index()0)this.deselect_all(),u=!0;break;case o&&i:this.deselect_node(e);break;case!o&&i:if(r.select_limit==-1||this.data.ui.selected.length+1<=r.select_limit)u=!0}}u&&!o&&(s||(this.data.ui.last_selected=e),e.children("a").addClass("jstree-clicked"),r.selected_parent_open&&e.parents(".jstree-closed").each(function(){a.open_node(this,!1,!0)}),this.data.ui.selected=this.data.ui.selected.add(e),this._fix_scroll(e.eq(0)),this.__callback({obj:e,e:n}))},_fix_scroll:function(e){var n=this.get_container()[0],r;if(n.scrollHeight>n.offsetHeight){e=this._get_node(e);if(!e||e===-1||!e.length||!e.is(":visible"))return;r=e.offset().top-this.get_container().offset().top,r<0&&(n.scrollTop=n.scrollTop+r-1),r+this.data.core.li_height+(n.scrollWidth>n.offsetWidth?t:0)>n.offsetHeight&&(n.scrollTop=n.scrollTop+(r-n.offsetHeight+this.data.core.li_height+1+(n.scrollWidth>n.offsetWidth?t:0)))}},deselect_node:function(e){e=this._get_node(e);if(!e.length)return!1;this.is_selected(e)&&(e.children("a").removeClass("jstree-clicked"),this.data.ui.selected=this.data.ui.selected.not(e),this.data.ui.last_selected.get(0)===e.get(0)&&(this.data.ui.last_selected=this.data.ui.selected.eq(0)),this.__callback({obj:e}))},toggle_select:function(e){e=this._get_node(e);if(!e.length)return!1;this.is_selected(e)?this.deselect_node(e):this.select_node(e)},is_selected:function(e){return this.data.ui.selected.index(this._get_node(e))>=0},get_selected:function(t){return t?e(t).find("a.jstree-clicked").parent():this.data.ui.selected},deselect_all:function(t){var n=t?e(t).find("a.jstree-clicked").parent():this.get_container().find("a.jstree-clicked").parent();n.children("a.jstree-clicked").removeClass("jstree-clicked"),this.data.ui.selected=e([]),this.data.ui.last_selected=!1,this.__callback({obj:n})}}}),e.jstree.defaults.plugins.push("ui")}(jQuery),function(e){var t=[];e.jstree._themes=!1,e.jstree.plugin("themes",{__init:function(){this.get_container().bind("init.jstree",e.proxy(function(){var e=this._get_settings().themes;this.data.themes.dots=e.dots,this.data.themes.icons=e.icons,this.set_theme(e.theme,e.url)},this)).bind("loaded.jstree",e.proxy(function(){this.data.themes.dots?this.show_dots():this.hide_dots(),this.data.themes.icons?this.show_icons():this.hide_icons()},this))},defaults:{theme:"default",url:!1,dots:!0,icons:!0},_fn:{set_theme:function(n,r){if(!n)return!1;r||(r=e.jstree._themes+n+"/style.css"),e.inArray(r,t)==-1&&(e.vakata.css.add_sheet({url:r}),t.push(r)),this.data.themes.theme!=n&&(this.get_container().removeClass("jstree-"+this.data.themes.theme),this.data.themes.theme=n),this.get_container().addClass("jstree-"+n),this.data.themes.dots?this.show_dots():this.hide_dots(),this.data.themes.icons?this.show_icons():this.hide_icons(),this.__callback()},get_theme:function(){return this.data.themes.theme},show_dots:function(){this.data.themes.dots=!0,this.get_container().children("ul").removeClass("jstree-no-dots")},hide_dots:function(){this.data.themes.dots=!1,this.get_container().children("ul").addClass("jstree-no-dots")},toggle_dots:function(){this.data.themes.dots?this.hide_dots():this.show_dots()},show_icons:function(){this.data.themes.icons=!0,this.get_container().children("ul").removeClass("jstree-no-icons")},hide_icons:function(){this.data.themes.icons=!1,this.get_container().children("ul").addClass("jstree-no-icons")},toggle_icons:function(){this.data.themes.icons?this.hide_icons():this.show_icons()}}}),e(function(){e.jstree._themes===!1&&e("script").each(function(){if(this.src.toString().match(/jquery\.jstree[^\/]*?\.js(\?.*)?$/))return e.jstree._themes=this.src.toString().replace(/jquery\.jstree[^\/]*?\.js(\?.*)?$/,"")+"themes/",!1}),e.jstree._themes===!1&&(e.jstree._themes="themes/")}),e.jstree.defaults.plugins.push("themes")}(jQuery),function(e){e.jstree.plugin("json_data",{__init:function(){var e=this._get_settings().json_data;e.progressive_unload&&this.get_container().bind("after_close.jstree",function(e,t){t.rslt.obj.children("ul").remove()})},defaults:{data:!1,ajax:!1,correct_state:!0,progressive_render:!1,progressive_unload:!1},_fn:{load_node:function(e,t,n){var r=this;this.load_node_json(e,function(){r.__callback({obj:r._get_node(e)}),t.call(this)},n)},_is_loaded:function(t){var n=this._get_settings().json_data;return t=this._get_node(t),t==-1||!t||!n.ajax&&!n.progressive_render&&!e.isFunction(n.data)||t.is(".jstree-open, .jstree-leaf")||t.children("ul").children("li").length>0},refresh:function(t){t=this._get_node(t);var n=this._get_settings().json_data;return t&&t!==-1&&n.progressive_unload&&(e.isFunction(n.data)||!!n.ajax)&&t.removeData("jstree-children"),this.__call_old()},load_node_json:function(t,n,r){var i=this.get_settings().json_data,s,o=function(){},u=function(){};t=this._get_node(t);if(t&&t!==-1&&(i.progressive_render||i.progressive_unload)&&!t.is(".jstree-open, .jstree-leaf")&&t.children("ul").children("li").length===0&&t.data("jstree-children")){s=this._parse_json(t.data("jstree-children"),t),s&&(t.append(s),i.progressive_unload||t.removeData("jstree-children")),this.clean_node(t),n&&n.call(this);return}if(t&&t!==-1){if(t.data("jstree-is-loading"))return;t.data("jstree-is-loading",!0)}switch(!0){case!i.data&&!i.ajax:throw"Neither data nor ajax settings supplied.";case e.isFunction(i.data):i.data.call(this,t,e.proxy(function(e){e=this._parse_json(e,t),e?(t===-1||!t?this.get_container().children("ul").empty().append(e.children()):(t.append(e).children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading")),this.clean_node(t),n&&n.call(this)):(t===-1||!t?i.correct_state&&this.get_container().children("ul").empty():(t.children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading"),i.correct_state&&this.correct_state(t)),r&&r.call(this))},this));break;case!!i.data&&!i.ajax||!!i.data&&!!i.ajax&&(!t||t===-1):if(!t||t==-1)s=this._parse_json(i.data,t),s?(this.get_container().children("ul").empty().append(s.children()),this.clean_node()):i.correct_state&&this.get_container().children("ul").empty();n&&n.call(this);break;case!i.data&&!!i.ajax||!!i.data&&!!i.ajax&&t&&t!==-1:o=function(e,n,s){var o=this.get_settings().json_data.ajax.error;o&&o.call(this,e,n,s),t!=-1&&t.length?(t.children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading"),n==="success"&&i.correct_state&&this.correct_state(t)):n==="success"&&i.correct_state&&this.get_container().children("ul").empty(),r&&r.call(this)},u=function(r,s,u){var a=this.get_settings().json_data.ajax.success;a&&(r=a.call(this,r,s,u)||r);if(r===""||r&&r.toString&&r.toString().replace(/^[\s\n]+$/,"")===""||!e.isArray(r)&&!e.isPlainObject(r))return o.call(this,u,s,"");r=this._parse_json(r,t),r?(t===-1||!t?this.get_container().children("ul").empty().append(r.children()):(t.append(r).children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading")),this.clean_node(t),n&&n.call(this)):t===-1||!t?i.correct_state&&(this.get_container().children("ul").empty(),n&&n.call(this)):(t.children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading"),i.correct_state&&(this.correct_state(t),n&&n.call(this)))},i.ajax.context=this,i.ajax.error=o,i.ajax.success=u,i.ajax.dataType||(i.ajax.dataType="json"),e.isFunction(i.ajax.url)&&(i.ajax.url=i.ajax.url.call(this,t)),e.isFunction(i.ajax.data)&&(i.ajax.data=i.ajax.data.call(this,t)),e.ajax(i.ajax)}},_parse_json:function(t,n,r){var i=!1,s=this._get_settings(),o=s.json_data,u=s.core.html_titles,a,f,l,c,h;if(!t)return i;o.progressive_unload&&n&&n!==-1&&n.data("jstree-children",i);if(e.isArray(t)){i=e();if(!t.length)return!1;for(f=0,l=t.length;f"),t.attr&&i.attr(t.attr),t.metadata&&i.data(t.metadata),t.state&&i.addClass("jstree-"+t.state),e.isArray(t.data)||(a=t.data,t.data=[],t.data.push(a)),e.each(t.data,function(n,r){a=e(""),e.isFunction(r)&&(r=r.call(this,t)),typeof r=="string"?a.attr("href","#")[u?"html":"text"](r):(r.attr||(r.attr={}),r.attr.href||(r.attr.href="#"),a.attr(r.attr)[u?"html":"text"](r.title),r.language&&a.addClass(r.language)),a.prepend(" "),!r.icon&&t.icon&&(r.icon=t.icon),r.icon&&(r.icon.indexOf("/")===-1?a.children("ins").addClass(r.icon):a.children("ins").css("background","url('"+r.icon+"') center center no-repeat")),i.append(a)}),i.prepend(" "),t.children&&(o.progressive_render&&t.state!=="open"?i.addClass("jstree-closed").data("jstree-children",t.children):(o.progressive_unload&&i.data("jstree-children",t.children),e.isArray(t.children)&&t.children.length&&(a=this._parse_json(t.children,n,!0),a.length&&(h=e("
              "),h.append(a),i.append(h)))))}return r||(c=e("
                "),c.append(i),i=c),i},get_json:function(t,n,r,i){var s=[],o=this._get_settings(),u=this,a,f,l,c,h,p;t=this._get_node(t);if(!t||t===-1)t=this.get_container().find("> ul > li");return n=e.isArray(n)?n:["id","class"],!i&&this.data.types&&n.push(o.types.type_attr),r=e.isArray(r)?r:[],t.each(function(){l=e(this),a={data:[]},n.length&&(a.attr={}),e.each(n,function(e,t){f=l.attr(t),f&&f.length&&f.replace(/jstree[^ ]*/ig,"").length&&(a.attr[t]=(" "+f).replace(/ jstree[^ ]*/ig,"").replace(/\s+$/ig," ").replace(/^ /,"").replace(/ $/,""))}),l.hasClass("jstree-open")&&(a.state="open"),l.hasClass("jstree-closed")&&(a.state="closed"),l.data()&&(a.metadata=l.data()),c=l.children("a"),c.each(function(){h=e(this),r.length||e.inArray("languages",o.plugins)!==-1||h.children("ins").get(0).style.backgroundImage.length||h.children("ins").get(0).className&&h.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").length?(p=!1,e.inArray("languages",o.plugins)!==-1&&e.isArray(o.languages)&&o.languages.length&&e.each(o.languages,function(e,t){if(h.hasClass(t))return p=t,!1}),f={attr:{},title:u.get_text(h,p)},e.each(r,function(e,t){f.attr[t]=(" "+(h.attr(t)||"")).replace(/ jstree[^ ]*/ig,"").replace(/\s+$/ig," ").replace(/^ /,"").replace(/ $/,"")}),e.inArray("languages",o.plugins)!==-1&&e.isArray(o.languages)&&o.languages.length&&e.each(o.languages,function(e,t){if(h.hasClass(t))return f.language=t,!0}),h.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").replace(/^\s+$/ig,"").length&&(f.icon=h.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").replace(/\s+$/ig," ").replace(/^ /,"").replace(/ $/,"")),h.children("ins").get(0).style.backgroundImage.length&&(f.icon=h.children("ins").get(0).style.backgroundImage.replace("url(","").replace(")",""))):f=u.get_text(h),c.length>1?a.data.push(f):a.data=f}),l=l.find("> ul > li"),l.length&&(a.children=u.get_json(l,n,r,!0)),s.push(a)}),s}}})}(jQuery),function(e){e.jstree.plugin("checkbox",{__init:function(){this.data.checkbox.noui=this._get_settings().checkbox.override_ui,this.data.ui&&this.data.checkbox.noui&&(this.select_node=this.deselect_node=this.deselect_all=e.noop,this.get_selected=this.get_checked),this.get_container().bind("open_node.jstree create_node.jstree clean_node.jstree refresh.jstree",e.proxy(function(e,t){this._prepare_checkboxes(t.rslt.obj)},this)).bind("loaded.jstree",e.proxy(function(e){this._prepare_checkboxes()},this)).delegate(this.data.ui&&this.data.checkbox.noui?"a":"ins.jstree-checkbox","click.jstree",e.proxy(function(e){e.preventDefault(),this._get_node(e.target).hasClass("jstree-checked")?this.uncheck_node(e.target):this.check_node(e.target);if(!this.data.ui||!this.data.checkbox.noui)return e.stopImmediatePropagation(),!1;this.save_selected(),this.data.cookies&&this.save_cookie("select_node")},this))},defaults:{override_ui:!1,two_state:!1,real_checkboxes:!1,checked_parent_open:!0,real_checkboxes_names:function(e){return["check_"+(e[0].id||Math.ceil(Math.random()*1e4)),1]}},__destroy:function(){this.get_container().find("input.jstree-real-checkbox").removeClass("jstree-real-checkbox").end().find("ins.jstree-checkbox").remove()},_fn:{_checkbox_notify:function(e,t){t.checked&&this.check_node(e,!1)},_prepare_checkboxes:function(t){t=!t||t==-1?this.get_container().find("> ul > li"):this._get_node(t);if(t===!1)return;var n,r=this,i,s=this._get_settings().checkbox.two_state,o=this._get_settings().checkbox.real_checkboxes,u=this._get_settings().checkbox.real_checkboxes_names;t.each(function(){i=e(this),n=i.is("li")&&(i.hasClass("jstree-checked")||o&&i.children(":checked").length)?"jstree-checked":"jstree-unchecked",i.find("li").andSelf().each(function(){var t=e(this),i;t.children("a"+(r.data.languages?"":":eq(0)")).not(":has(.jstree-checkbox)").prepend(" ").parent().not(".jstree-checked, .jstree-unchecked").addClass(s?"jstree-unchecked":n),o&&(t.children(":checkbox").length?t.children(":checkbox").addClass("jstree-real-checkbox"):(i=u.call(r,t),t.prepend("")),n==="jstree-checked"&&t.children(":checkbox").attr("checked","checked")),n==="jstree-checked"&&!s&&t.find("li").addClass("jstree-checked")})}),s||(t.length===1&&t.is("li")&&this._repair_state(t),t.is("li")?t.each(function(){r._repair_state(this)}):t.find("> ul > li").each(function(){r._repair_state(this)}),t.find(".jstree-checked").parent().parent().each(function(){r._repair_state(this)}))},change_state:function(t,n){t=this._get_node(t);var r=!1,i=this._get_settings().checkbox.real_checkboxes;if(!t||t===-1)return!1;n=n===!1||n===!0?n:t.hasClass("jstree-checked");if(this._get_settings().checkbox.two_state)n?(t.removeClass("jstree-checked").addClass("jstree-unchecked"),i&&t.children(":checkbox").removeAttr("checked")):(t.removeClass("jstree-unchecked").addClass("jstree-checked"),i&&t.children(":checkbox").attr("checked","checked"));else{if(n){r=t.find("li").andSelf();if(!r.filter(".jstree-checked, .jstree-undetermined").length)return!1;r.removeClass("jstree-checked jstree-undetermined").addClass("jstree-unchecked"),i&&r.children(":checkbox").removeAttr("checked")}else{r=t.find("li").andSelf();if(!r.filter(".jstree-unchecked, .jstree-undetermined").length)return!1;r.removeClass("jstree-unchecked jstree-undetermined").addClass("jstree-checked"),i&&r.children(":checkbox").attr("checked","checked"),this.data.ui&&(this.data.ui.last_selected=t),this.data.checkbox.last_selected=t}t.parentsUntil(".jstree","li").each(function(){var t=e(this);if(n){if(t.children("ul").children("li.jstree-checked, li.jstree-undetermined").length)return t.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined"),i&&t.parentsUntil(".jstree","li").andSelf().children(":checkbox").removeAttr("checked"),!1;t.removeClass("jstree-checked jstree-undetermined").addClass("jstree-unchecked"),i&&t.children(":checkbox").removeAttr("checked")}else{if(t.children("ul").children("li.jstree-unchecked, li.jstree-undetermined").length)return t.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined"),i&&t.parentsUntil(".jstree","li").andSelf().children(":checkbox").removeAttr("checked"),!1;t.removeClass("jstree-unchecked jstree-undetermined").addClass("jstree-checked"),i&&t.children(":checkbox").attr("checked","checked")}})}return this.data.ui&&this.data.checkbox.noui&&(this.data.ui.selected=this.get_checked()),this.__callback(t),!0},check_node:function(e){if(this.change_state(e,!1)){e=this._get_node(e);if(this._get_settings().checkbox.checked_parent_open){var t=this;e.parents(".jstree-closed").each(function(){t.open_node(this,!1,!0)})}this.__callback({obj:e})}},uncheck_node:function(e){this.change_state(e,!0)&&this.__callback({obj:this._get_node(e)})},check_all:function(){var e=this,t=this._get_settings().checkbox.two_state?this.get_container_ul().find("li"):this.get_container_ul().children("li");t.each(function(){e.change_state(this,!1)}),this.__callback()},uncheck_all:function(){var e=this,t=this._get_settings().checkbox.two_state?this.get_container_ul().find("li"):this.get_container_ul().children("li");t.each(function(){e.change_state(this,!0)}),this.__callback()},is_checked:function(e){return e=this._get_node(e),e.length?e.is(".jstree-checked"):!1},get_checked:function(e,t){return e=!e||e===-1?this.get_container():this._get_node(e),t||this._get_settings().checkbox.two_state?e.find(".jstree-checked"):e.find("> ul > .jstree-checked, .jstree-undetermined > ul > .jstree-checked")},get_unchecked:function(e,t){return e=!e||e===-1?this.get_container():this._get_node(e),t||this._get_settings().checkbox.two_state?e.find(".jstree-unchecked"):e.find("> ul > .jstree-unchecked, .jstree-undetermined > ul > .jstree-unchecked")},show_checkboxes:function(){this.get_container().children("ul").removeClass("jstree-no-checkboxes")},hide_checkboxes:function(){this.get_container().children("ul").addClass("jstree-no-checkboxes")},_repair_state:function(e){e=this._get_node(e);if(!e.length)return;var t=this._get_settings().checkbox.real_checkboxes,n=e.find("> ul > .jstree-checked").length,r=e.find("> ul > .jstree-undetermined").length,i=e.find("> ul > li").length;i===0?e.hasClass("jstree-undetermined")&&this.change_state(e,!1):n===0&&r===0?this.change_state(e,!0):n===i?this.change_state(e,!1):(e.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined"),t&&e.parentsUntil(".jstree","li").andSelf().children(":checkbox").removeAttr("checked"))},reselect:function(){if(this.data.ui&&this.data.checkbox.noui){var t=this,n=this.data.ui.to_select;n=e.map(e.makeArray(n),function(e){return"#"+e.toString().replace(/^#/,"").replace(/\\\//g,"/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,"\\.").replace(/\:/g,"\\:")}),this.deselect_all(),e.each(n,function(e,n){t.check_node(n)}),this.__callback()}else this.__call_old()},save_loaded:function(){var e=this;this.data.core.to_load=[],this.get_container_ul().find("li.jstree-closed.jstree-undetermined").each(function(){this.id&&e.data.core.to_load.push("#"+this.id)})}}}),e(function(){var t=".jstree .jstree-real-checkbox { display:none; } ";e.vakata.css.add_sheet({str:t,title:"jstree"})})}(jQuery),function(t){t.jstree.plugin("types",{__init:function(){var n=this._get_settings().types;this.data.types.attach_to=[],this.get_container().bind("init.jstree",t.proxy(function(){var e=n.types,r=n.type_attr,i="",o=this;t.each(e,function(e,n){t.each(n,function(e,t){/^(max_depth|max_children|icon|valid_children)$/.test(e)||o.data.types.attach_to.push(e)});if(!n.icon)return!0;if(n.icon.image||n.icon.position)e=="default"?i+=".jstree-"+o.get_index()+" a > .jstree-icon { ":i+=".jstree-"+o.get_index()+" li["+r+'="'+e+'"] > a > .jstree-icon { ',n.icon.image&&(i+=" background-image:url("+n.icon.image+"); "),n.icon.position?i+=" background-position:"+n.icon.position+"; ":i+=" background-position:0 0; ",i+="} "}),i!==""&&t.vakata.css.add_sheet({str:i,title:"jstree-types"})},this)).bind("before.jstree",t.proxy(function(e,n){var r,i,s=this._get_settings().types.use_data?this._get_node(n.args[0]):!1,o=s&&s!==-1&&s.length?s.data("jstree"):!1;if(o&&o.types&&o.types[n.func]===!1)return e.stopImmediatePropagation(),!1;if(t.inArray(n.func,this.data.types.attach_to)!==-1){if(!n.args[0]||!n.args[0].tagName&&!n.args[0].jquery)return;r=this._get_settings().types.types,i=this._get_type(n.args[0]);if((r[i]&&typeof r[i][n.func]!="undefined"||r["default"]&&typeof r["default"][n.func]!="undefined")&&this._check(n.func,n.args[0])===!1)return e.stopImmediatePropagation(),!1}},this)),e&&this.get_container().bind("load_node.jstree set_type.jstree",t.proxy(function(e,n){var r=n&&n.rslt&&n.rslt.obj&&n.rslt.obj!==-1?this._get_node(n.rslt.obj).parent():this.get_container_ul(),i=!1,s=this._get_settings().types;t.each(s.types,function(e,t){t.icon&&(t.icon.image||t.icon.position)&&(i=e==="default"?r.find("li > a > .jstree-icon"):r.find("li["+s.type_attr+"='"+e+"'] > a > .jstree-icon"),t.icon.image&&i.css("backgroundImage","url("+t.icon.image+")"),i.css("backgroundPosition",t.icon.position||"0 0"))})},this))},defaults:{max_children:-1,max_depth:-1,valid_children:"all",use_data:!1,type_attr:"rel",types:{"default":{max_children:-1,max_depth:-1,valid_children:"all"}}},_fn:{_types_notify:function(e,t){t.type&&this._get_settings().types.use_data&&this.set_type(t.type,e)},_get_type:function(e){return e=this._get_node(e),!e||!e.length?!1:e.attr(this._get_settings().types.type_attr)||"default"},set_type:function(e,t){t=this._get_node(t);var n=!t.length||!e?!1:t.attr(this._get_settings().types.type_attr,e);return n&&this.__callback({obj:t,type:e}),n},_check:function(e,n,r){n=this._get_node(n);var i=!1,s=this._get_type(n),o=0,u=this,a=this._get_settings().types,f=!1;if(n===-1){if(!a[e])return;i=a[e]}else{if(s===!1)return;f=a.use_data?n.data("jstree"):!1,f&&f.types&&typeof f.types[e]!="undefined"?i=f.types[e]:!a.types[s]||typeof a.types[s][e]=="undefined"?!!a.types["default"]&&typeof a.types["default"][e]!="undefined"&&(i=a.types["default"][e]):i=a.types[s][e]}return t.isFunction(i)&&(i=i.call(this,n)),e==="max_depth"&&n!==-1&&r!==!1&&a.max_depth!==-2&&i!==0&&n.children("a:eq(0)").parentsUntil(".jstree","li").each(function(t){if(a.max_depth!==-1&&a.max_depth-(t+1)<=0)return i=0,!1;o=t===0?i:u._check(e,this,!1);if(o!==-1&&o-(t+1)<=0)return i=0,!1;o>=0&&(o-(t+1)=0&&(a.max_depth-(t+1) ul > li").not(e.o).length:e.cr.find("> ul > li").not(e.o).length;if(o+e.o.length>r)return!1}if(n.max_depth!==-2&&i!==-1){u=0;if(i===0)return!1;if(typeof e.o.d=="undefined"){a=e.o;while(a.length>0)a=a.find("> ul > li"),u++;e.o.d=u}if(i-e.o.d<0)return!1}return!0},create_node:function(e,n,r,i,s,o){if(!o&&(s||this._is_loaded(e))){var u=typeof n=="string"&&n.match(/^before|after$/i)&&e!==-1?this._get_parent(e):this._get_node(e),a=this._get_settings().types,f=this._check("max_children",u),l=this._check("max_depth",u),c=this._check("valid_children",u),h;typeof r=="string"&&(r={data:r}),r||(r={});if(c==="none")return!1;if(t.isArray(c))if(!r.attr||!r.attr[a.type_attr])r.attr||(r.attr={}),r.attr[a.type_attr]=c[0];else if(t.inArray(r.attr[a.type_attr],c)===-1)return!1;if(a.max_children!==-2&&f!==-1){h=u===-1?this.get_container().find("> ul > li").length:u.find("> ul > li").length;if(h+1>f)return!1}if(a.max_depth!==-2&&l!==-1&&l-1<0)return!1}return this.__call_old(!0,e,n,r,i,s,o)}}})}(jQuery)}(),define("jstree",function(){}),define("file-tree",["jquery","jstree","underscore","backbone","common"],function(t,n,r,i,s){t.jstree._themes=app.config.mediaUrl+"js/themes/";var o={options:{},formatRepoData:function(e){var t=[],n;for(var r=0,i=e.length;r-1;d--){p[d]=[];if(d==h-1)for(var v=0,m=e[d].length;v0&&t.extend(l,{children:p[0]}),s.push(l),i.hide(),f.renderDirTree(r,n,s),r.removeClass("hide")},error:function(){var e=[{data:o,attr:{repo_id:u,root_node:!0},state:"closed"}];i.hide(),f.renderDirTree(r,n,e),r.removeClass("hide")}})},prepareOtherReposTree:function(e){var n=this;t("#mv-dir-list #other-repos .hd").click(function(){var r=t("span",t(this)),i=t("#mv-form"),o=t(this).next(),u=t("#mv-dir-list #other-repos #other-repos-dirs");r.hasClass("icon-caret-right")?(r.attr("class","icon-caret-down"),o.show(),t.ajax({url:s.getUrl({name:"unenc_rw_repos"}),cache:!1,dataType:"json",success:function(t){var r=[],s=e.cur_repo_id;for(var a=0,f=t.length;a'+r.HTMLescape(this.model.get("name"))+""),s=e(this.repoDelConfirmTemplate({content:i})).appendTo(n).css({left:t.position().left,top:t.position().top+t.height()+2,width:180}),o=this;e(".no",s).click(function(){s.addClass("hide").remove(),o.rmHighlight()}),e(".yes",s).click(function(){e.ajax({url:r.getUrl({name:"repo_del",repo_id:o.model.get("id")}),dataType:"json",success:function(e){o.remove(),r.feedback(gettext("Delete succeeded."),"success")},error:function(t){s.addClass("hide").remove(),o.rmHighlight();var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),r.feedback(n,"error")}})})}});return i}),define("app/views/myhome-sub-repos",["jquery","underscore","backbone","common","file-tree","app/collections/repos","app/views/sub-lib","app/views/add-repo"],function(e,t,n,r,i,s,o,u){var a=n.View.extend({el:e("#repo-tabs"),events:{"click #sub-lib-create":"createRepo"},initialize:function(t){this.$tabs=e("#repo-tabs"),this.$table=this.$("#my-sub-repos table"),this.$tableHead=e("thead",this.$table),this.$tableBody=e("tbody",this.$table),this.$loadingTip=e(".loading-tip",this.$tabs),this.$emptyTip=e("#my-sub-repos .empty-tips"),this.repos=new s({type:"sub"}),this.listenTo(this.repos,"add",this.addOne),this.listenTo(this.repos,"reset",this.reset)},addOne:function(e,t,n){var r=new o({model:e});n.prepend?this.$tableBody.prepend(r.render().el):this.$tableBody.append(r.render().el)},reset:function(){this.$(".error").hide(),this.$tableBody.empty(),this.repos.each(this.addOne,this),this.repos.length?(this.$emptyTip.hide(),this.$table.show()):(this.$emptyTip.show(),this.$table.hide()),this.$loadingTip.hide()},showSubRepos:function(){this.$tabs.show(),e("#sublib-tab").parent().addClass("ui-state-active"),this.$table.hide();var t=this.$loadingTip;t.show();var n=this;this.repos.fetch({reset:!0,success:function(e,t,n){},error:function(e,r,i){t.hide();var s=n.$(".error"),o;r.responseText?r["status"]==401||r["status"]==403?o=gettext("Permission error"):o=gettext("Error"):o=gettext("Please check the network."),s.html(o).show()}})},show:function(){e("#sub-lib-create").show(),this.showSubRepos()},hide:function(){e("#sub-lib-create").hide(),this.$el.hide(),this.$table.hide(),this.$emptyTip.hide(),e("#sublib-tab",this.$tabs).parent().removeClass("ui-state-active")},createRepo:function(){var t=this,n=e("#sublib-create-form"),s=e(".dir-tree-cont",n);n.modal(),e.ajax({url:r.getUrl({name:"get_my_unenc_repos"}),cache:!1,dataType:"json",success:function(e){var t=i.formatRepoData(e);t.length>0?i.renderDirTree(s,n,t):s.html('

                '+gettext("You don't have any library at present.")+"

                ")},error:function(t,n,r){var i;t.responseText?i=e.parseJSON(t.responseText).error:i=gettext("Failed. Please check the network."),s.html('

                '+i+"

                ")}}),e(".submit",n).click(function(){var i=e('[name="dst_repo"]',n).val(),s=e('[name="dst_path"]',n).val();return!s||s=="/"?(e(".error",n).html(gettext("Please choose a directory")).removeClass("hide"),!1):(s=s.substr(0,s.length-1),e.ajax({url:r.getUrl({name:"sub_repo",repo_id:i})+"?p="+encodeURIComponent(s),dataType:"json",success:function(n){e.modal.close();var r={id:n.sub_repo_id,name:n.name,origin_repo_id:i,origin_path:s,abbrev_origin_path:n.abbrev_origin_path,mtime:(new Date).getTime()/1e3,mtime_relative:gettext("Just now")};t.repos.length>0?t.repos.add(r,{prepend:!0}):t.repos.reset([r])},error:function(t,r,i){var s;t.responseText?s=jQuery.parseJSON(t.responseText).error:s=gettext("Failed. Please check the network."),e(".error",n).html(s).removeClass("hide")}}),!1)})}});return a}),define("app/views/shared-repo",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#shared-repo-tmpl").html()),events:{mouseenter:"showAction",mouseleave:"hideAction","click .unshare-btn":"removeShare"},initialize:function(){},removeShare:function(t){var n=this,i=function(t){r.feedback(gettext("Success"),"success",r.SUCCESS_TIMOUT),n.$el.remove(),n.collection.remove(n.model,{silent:!0}),n.collection.length==0&&(e("#repos-shared-to-me table").hide(),e("#repos-shared-to-me .empty-tips").show())};r.ajaxGet({get_url:r.getUrl({name:"ajax_repo_remove_share"}),data:{repo_id:this.model.get("id"),from:this.model.get("owner"),share_type:this.model.get("share_type")},after_op_success:i})},render:function(){return this.$el.html(this.template(this.model.toJSON())),this},showAction:function(){this.$el.addClass("hl"),this.$el.find(".op-icon").removeClass("vh")},hideAction:function(){this.$el.removeClass("hl"),this.$el.find(".op-icon").addClass("vh")}});return i}),define("app/views/myhome-shared-repos",["jquery","underscore","backbone","common","app/collections/repos","app/views/shared-repo"],function(e,t,n,r,i,s){var o=n.View.extend({el:e("#repo-tabs"),reposHdTemplate:t.template(e("#shared-repos-hd-tmpl").html()),initialize:function(t){this.$tabs=e("#repo-tabs"),this.$table=e("#repos-shared-to-me table"),this.$tableHead=e("thead",this.$table),this.$tableBody=e("tbody",this.$table),this.$loadingTip=e(".loading-tip",this.$tabs),this.$emptyTip=e("#repos-shared-to-me .empty-tips"),this.repos=new i({type:"shared"}),this.listenTo(this.repos,"add",this.addOne),this.listenTo(this.repos,"reset",this.reset)},addOne:function(e,t,n){var r=new s({model:e,collection:this.repos});n.prepend?this.$tableBody.prepend(r.render().el):this.$tableBody.append(r.render().el)},renderReposHd:function(){this.$tableHead.html(this.reposHdTemplate())},reset:function(){this.$(".error").hide(),this.$loadingTip.hide(),this.repos.length?(this.$emptyTip.hide(),this.renderReposHd(),this.$tableBody.empty(),this.repos.each(this.addOne,this),this.$table.show()):(this.$emptyTip.show(),this.$table.hide())},showSharedRepos:function(){this.$tabs.show(),e("#shared-lib-tab").parent().addClass("ui-state-active"),this.$table.hide();var t=this.$loadingTip;t.show();var n=this;this.repos.fetch({reset:!0,success:function(e,t,n){},error:function(e,r,i){t.hide();var s=n.$(".error"),o;r.responseText?r["status"]==401||r["status"]==403?o=gettext("Permission error"):o=gettext("Error"):o=gettext("Please check the network."),s.html(o).show()}})},show:function(){this.showSharedRepos()},hide:function(){this.$el.hide(),this.$table.hide(),this.$emptyTip.hide(),e("#shared-lib-tab",this.$tabs).parent().removeClass("ui-state-active")},events:{"click #repos-shared-to-me .by-name":"sortByName","click #repos-shared-to-me .by-time":"sortByTime"},sortByName:function(){var t=this.repos,n=e(".by-name",this.$table);t.comparator=function(e,t){var i=r.compareTwoWord(e.get("name"),t.get("name"));return n.hasClass("icon-caret-up")?-i:i},t.sort(),this.$tableBody.empty(),t.each(this.addOne,this),n.toggleClass("icon-caret-up icon-caret-down"),t.comparator=null},sortByTime:function(){var t=this.repos,n=e(".by-time",this.$table);t.comparator=function(e,t){return n.hasClass("icon-caret-down")?e.get("mtime")(e||g.height())},_setFocus:function(){(p.st.focus?p.content.find(p.st.focus).eq(0):p.wrap).focus()},_onFocusIn:function(t){if(t.target!==p.wrap[0]&&!e.contains(p.wrap[0],t.target))return p._setFocus(),!1},_parseMarkup:function(t,n,r){var i;r.data&&(n=e.extend(r.data,n)),N(s,[t,n,r]),e.each(n,function(e,n){if(n===undefined||n===!1)return!0;i=e.split("_");if(i.length>1){var r=t.find(f+"-"+i[0]);if(r.length>0){var s=i[1];s==="replaceWith"?r[0]!==n[0]&&r.replaceWith(n):s==="img"?r.is("img")?r.attr("src",n):r.replaceWith(''):r.attr(i[1],n)}}else t.find(f+"-"+e).html(n)})},_getScrollbarSize:function(){if(p.scrollbarSize===undefined){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),p.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return p.scrollbarSize}},e.magnificPopup={instance:null,proto:d.prototype,modules:[],open:function(t,n){return k(),t?t=e.extend(!0,{},t):t={},t.isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'',tClose:"Close (Esc)",tLoading:"Loading..."}},e.fn.magnificPopup=function(t){k();var n=e(this);if(typeof t=="string")if(t==="open"){var r,i=v?n.data("magnificPopup"):n[0].magnificPopup,s=parseInt(arguments[1],10)||0;i.items?r=i.items[s]:(r=n,i.delegate&&(r=r.find(i.delegate)),r=r.eq(s)),p._openClick({mfpEl:r},n,i)}else p.isOpen&&p[t].apply(p,Array.prototype.slice.call(arguments,1));else t=e.extend(!0,{},t),v?n.data("magnificPopup",t):n[0].magnificPopup=t,p.addGroup(n,t);return n};var A="inline",O,M,_,D=function(){_&&(M.after(_.addClass(O)).detach(),_=null)};e.magnificPopup.registerModule(A,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){p.types.push(A),x(t+"."+A,function(){D()})},getInline:function(t,n){D();if(t.src){var r=p.st.inline,i=e(t.src);if(i.length){var s=i[0].parentNode;s&&s.tagName&&(M||(O=r.hiddenClass,M=T(O),O="mfp-"+O),_=i.after(M).detach().removeClass(O)),p.updateStatus("ready")}else p.updateStatus("error",r.tNotFound),i=e("
                ");return t.inlineElement=i,i}return p.updateStatus("ready"),p._parseMarkup(n,{},t),n}}});var P="ajax",H,B=function(){H&&y.removeClass(H)},j=function(){B(),p.req&&p.req.abort()};e.magnificPopup.registerModule(P,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){p.types.push(P),H=p.st.ajax.cursor,x(t+"."+P,j),x("BeforeChange."+P,j)},getAjax:function(t){H&&y.addClass(H),p.updateStatus("loading");var n=e.extend({url:t.src,success:function(n,r,i){var s={data:n,xhr:i};N("ParseAjax",s),p.appendContent(e(s.data),P),t.finished=!0,B(),p._setFocus(),setTimeout(function(){p.wrap.addClass(l)},16),p.updateStatus("ready"),N("AjaxContentAdded")},error:function(){B(),t.finished=t.loadError=!0,p.updateStatus("error",p.st.ajax.tError.replace("%url%",t.src))}},p.st.ajax.settings);return p.req=e.ajax(n),""}}});var F,I=function(t){if(t.data&&t.data.title!==undefined)return t.data.title;var n=p.st.image.titleSrc;if(n){if(e.isFunction(n))return n.call(p,t);if(t.el)return t.el.attr(n)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'
                ',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var e=p.st.image,n=".image";p.types.push("image"),x(o+n,function(){p.currItem.type==="image"&&e.cursor&&y.addClass(e.cursor)}),x(t+n,function(){e.cursor&&y.removeClass(e.cursor),g.off("resize"+f)}),x("Resize"+n,p.resizeImage),p.isLowIE&&x("AfterChange",p.resizeImage)},resizeImage:function(){var e=p.currItem;if(!e||!e.img)return;if(p.st.image.verticalFit){var t=0;p.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",p.wH-t)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,F&&clearInterval(F),e.isCheckingImgSize=!1,N("ImageHasSize",e),e.imgHidden&&(p.content&&p.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var t=0,n=e.img[0],r=function(i){F&&clearInterval(F),F=setInterval(function(){if(n.naturalWidth>0){p._onImageHasSize(e);return}t>200&&clearInterval(F),t++,t===3?r(10):t===40?r(50):t===100&&r(500)},i)};r(1)},getImage:function(t,n){var r=0,i=function(){t&&(t.img[0].complete?(t.img.off(".mfploader"),t===p.currItem&&(p._onImageHasSize(t),p.updateStatus("ready")),t.hasSize=!0,t.loaded=!0,N("ImageLoadComplete")):(r++,r<200?setTimeout(i,100):s()))},s=function(){t&&(t.img.off(".mfploader"),t===p.currItem&&(p._onImageHasSize(t),p.updateStatus("error",o.tError.replace("%url%",t.src))),t.hasSize=!0,t.loaded=!0,t.loadError=!0)},o=p.st.image,u=n.find(".mfp-img");if(u.length){var a=document.createElement("img");a.className="mfp-img",t.el&&t.el.find("img").length&&(a.alt=t.el.find("img").attr("alt")),t.img=e(a).on("load.mfploader",i).on("error.mfploader",s),a.src=t.src,u.is("img")&&(t.img=t.img.clone()),a=t.img[0],a.naturalWidth>0?t.hasSize=!0:a.width||(t.hasSize=!1)}return p._parseMarkup(n,{title:I(t),img_replaceWith:t.img},t),p.resizeImage(),t.hasSize?(F&&clearInterval(F),t.loadError?(n.addClass("mfp-loading"),p.updateStatus("error",o.tError.replace("%url%",t.src))):(n.removeClass("mfp-loading"),p.updateStatus("ready")),n):(p.updateStatus("loading"),t.loading=!0,t.hasSize||(t.imgHidden=!0,n.addClass("mfp-loading"),p.findImageSize(t)),n)}}});var q,R=function(){return q===undefined&&(q=document.createElement("p").style.MozTransform!==undefined),q};e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e=p.st.zoom,r=".zoom",i;if(!e.enabled||!p.supportsTransition)return;var s=e.duration,o=function(t){var n=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),r="all "+e.duration/1e3+"s "+e.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},s="transition";return i["-webkit-"+s]=i["-moz-"+s]=i["-o-"+s]=i[s]=r,n.css(i),n},u=function(){p.content.css("visibility","visible")},a,f;x("BuildControls"+r,function(){if(p._allowZoom()){clearTimeout(a),p.content.css("visibility","hidden"),i=p._getItemToZoom();if(!i){u();return}f=o(i),f.css(p._getOffset()),p.wrap.append(f),a=setTimeout(function(){f.css(p._getOffset(!0)),a=setTimeout(function(){u(),setTimeout(function(){f.remove(),i=f=null,N("ZoomAnimationEnded")},16)},s)},16)}}),x(n+r,function(){if(p._allowZoom()){clearTimeout(a),p.st.removalDelay=s;if(!i){i=p._getItemToZoom();if(!i)return;f=o(i)}f.css(p._getOffset(!0)),p.wrap.append(f),p.content.css("visibility","hidden"),setTimeout(function(){f.css(p._getOffset())},16)}}),x(t+r,function(){p._allowZoom()&&(u(),f&&f.remove(),i=null)})},_allowZoom:function(){return p.currItem.type==="image"},_getItemToZoom:function(){return p.currItem.hasSize?p.currItem.img:!1},_getOffset:function(t){var n;t?n=p.currItem.img:n=p.st.zoom.opener(p.currItem.el||p.currItem);var r=n.offset(),i=parseInt(n.css("padding-top"),10),s=parseInt(n.css("padding-bottom"),10);r.top-=e(window).scrollTop()-i;var o={width:n.width(),height:(v?n.innerHeight():n[0].offsetHeight)-s-i};return R()?o["-moz-transform"]=o.transform="translate("+r.left+"px,"+r.top+"px)":(o.left=r.left,o.top=r.top),o}}});var U="iframe",z="//about:blank",W=function(e){if(p.currTemplate[U]){var t=p.currTemplate[U].find("iframe");t.length&&(e||(t[0].src=z),p.isIE8&&t.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(U,{options:{markup:'
                ',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){p.types.push(U),x("BeforeChange",function(e,t,n){t!==n&&(t===U?W():n===U&&W(!0))}),x(t+"."+U,function(){W()})},getIframe:function(t,n){var r=t.src,i=p.st.iframe;e.each(i.patterns,function(){if(r.indexOf(this.index)>-1)return this.id&&(typeof this.id=="string"?r=r.substr(r.lastIndexOf(this.id)+this.id.length,r.length):r=this.id.call(this,r)),r=this.src.replace("%id%",r),!1});var s={};return i.srcAction&&(s[i.srcAction]=r),p._parseMarkup(n,s,t),p.updateStatus("ready"),n}}});var X=function(e){var t=p.items.length;return e>t-1?e-t:e<0?t+e:e},V=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=p.st.gallery,r=".mfp-gallery",i=Boolean(e.fn.mfpFastClick);p.direction=!0;if(!n||!n.enabled)return!1;E+=" mfp-gallery",x(o+r,function(){n.navigateByImgClick&&p.wrap.on("click"+r,".mfp-img",function(){if(p.items.length>1)return p.next(),!1}),b.on("keydown"+r,function(e){e.keyCode===37?p.prev():e.keyCode===39&&p.next()})}),x("UpdateStatus"+r,function(e,t){t.text&&(t.text=V(t.text,p.currItem.index,p.items.length))}),x(s+r,function(e,t,r,i){var s=p.items.length;r.counter=s>1?V(n.tCounter,i.index,s):""}),x("BuildControls"+r,function(){if(p.items.length>1&&n.arrows&&!p.arrowLeft){var t=n.arrowMarkup,r=p.arrowLeft=e(t.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass(h),s=p.arrowRight=e(t.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass(h),o=i?"mfpFastClick":"click";r[o](function(){p.prev()}),s[o](function(){p.next()}),p.isIE7&&(T("b",r[0],!1,!0),T("a",r[0],!1,!0),T("b",s[0],!1,!0),T("a",s[0],!1,!0)),p.container.append(r.add(s))}}),x(u+r,function(){p._preloadTimeout&&clearTimeout(p._preloadTimeout),p._preloadTimeout=setTimeout(function(){p.preloadNearbyImages(),p._preloadTimeout=null},16)}),x(t+r,function(){b.off(r),p.wrap.off("click"+r),p.arrowLeft&&i&&p.arrowLeft.add(p.arrowRight).destroyMfpFastClick(),p.arrowRight=p.arrowLeft=null})},next:function(){p.direction=!0,p.index=X(p.index+1),p.updateItemHTML()},prev:function(){p.direction=!1,p.index=X(p.index-1),p.updateItemHTML()},goTo:function(e){p.direction=e>=p.index,p.index=e,p.updateItemHTML()},preloadNearbyImages:function(){var e=p.st.gallery.preload,t=Math.min(e[0],p.items.length),n=Math.min(e[1],p.items.length),r;for(r=1;r<=(p.direction?n:t);r++)p._preloadItem(p.index+r);for(r=1;r<=(p.direction?t:n);r++)p._preloadItem(p.index-r)},_preloadItem:function(t){t=X(t);if(p.items[t].preloaded)return;var n=p.items[t];n.parsed||(n=p.parseEl(t)),N("LazyLoad",n),n.type==="image"&&(n.img=e('').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,N("LazyLoadError",n)}).attr("src",n.src)),n.preloaded=!0}}});var $="retina";e.magnificPopup.registerModule($,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=p.st.retina,t=e.ratio;t=isNaN(t)?t():t,t>1&&(x("ImageHasSize."+$,function(e,n){n.img.css({"max-width":n.img[0].naturalWidth/t,width:"100%"})}),x("ElementParse."+$,function(n,r){r.src=e.replaceSrc(r,t)}))}}}}),function(){var t=1e3,n="ontouchstart"in window,r=function(){g.off("touchmove"+s+" touchend"+s)},i="mfpFastClick",s="."+i;e.fn.mfpFastClick=function(i){return e(this).each(function(){var o=e(this),u;if(n){var a,f,l,c,h,p;o.on("touchstart"+s,function(e){c=!1,p=1,h=e.originalEvent?e.originalEvent.touches[0]:e.touches[0],f=h.clientX,l=h.clientY,g.on("touchmove"+s,function(e){h=e.originalEvent?e.originalEvent.touches:e.touches,p=h.length,h=h[0];if(Math.abs(h.clientX-f)>10||Math.abs(h.clientY-l)>10)c=!0,r()}).on("touchend"+s,function(e){r();if(c||p>1)return;u=!0,e.preventDefault(),clearTimeout(a),a=setTimeout(function(){u=!1},t),i()})})}o.on("click"+s,function(){u||i()})})},e.fn.destroyMfpFastClick=function(){e(this).off("touchstart"+s+" click"+s),n&&g.off("touchmove"+s+" touchend"+s)}}(),k()}),define("app/views/starred-file-item",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#starred-file-item-tmpl").html()),events:{mouseenter:"showAction",mouseleave:"hideAction","click .unstar":"removeShare"},initialize:function(){},render:function(){var e=this.model.toJSON();return e.is_img=r.imageCheck(e.file_name),e.encoded_path=r.encodePath(e.path),this.$el.html(this.template(e)),this},removeShare:function(){var t=this,n=this.model.get("repo"),i=this.model.get("file_name"),s=this.model.get("path");e.ajax({url:r.getUrl({name:"starred_files"})+"?p="+s+"&repo_id="+n,type:"DELETE",beforeSend:r.prepareCSRFToken,success:function(){t.remove(),r.feedback(gettext("Successfully unstared {placeholder}").replace("{placeholder}",r.HTMLescape(i)),"success")},error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),r.feedback(n,"error")}})},showAction:function(){this.$el.addClass("hl"),this.$el.find(".op-icon").removeClass("vh")},hideAction:function(){this.$el.removeClass("hl"),this.$el.find(".op-icon").addClass("vh")}});return i}),define("app/models/starred-file",["underscore","backbone"],function(e,t){var n=t.Model.extend({});return n}),define("app/collections/starred-files",["underscore","backbone","common","app/models/starred-file"],function(e,t,n,r){var i=t.Collection.extend({model:r,url:function(){return n.getUrl({name:"starred_files"})}});return i}),define("app/views/starred-file",["jquery","underscore","backbone","common","jquery.magnific-popup","app/views/starred-file-item","app/collections/starred-files"],function(e,t,n,r,i,s,o){var u=n.View.extend({el:e("#starred-file"),initialize:function(){this.$table=this.$("table"),this.$tableBody=this.$("tbody"),this.$loadingTip=this.$(".loading-tip"),this.$emptyTip=this.$(".empty-tips"),this.starredFiles=new o,this.listenTo(this.starredFiles,"reset",this.reset),this.$el.magnificPopup({type:"image",delegate:".img-name-link",tClose:gettext("Close (Esc)"),tLoading:gettext("Loading..."),gallery:{enabled:!0,tPrev:gettext("Previous (Left arrow key)"),tNext:gettext("Next (Right arrow key)"),tCounter:gettext("%curr% of %total%")},image:{titleSrc:function(e){var t=e.el,n=t[0].innerHTML,r=''+gettext("Open in New Tab")+"";return n+"
                "+r},tError:gettext('The image could not be loaded.')}})},addOne:function(e){var t=new s({model:e});this.$tableBody.append(t.render().el)},reset:function(){this.$tableBody.empty(),this.$loadingTip.hide(),this.starredFiles.each(this.addOne,this),this.starredFiles.length?(this.$emptyTip.hide(),this.$table.show()):(this.$emptyTip.show(),this.$table.hide())},hide:function(){this.$el.hide()},show:function(){this.$el.show(),this.$table.hide(),this.$loadingTip.show(),this.starredFiles.fetch({reset:!0})}});return u}),define("app/views/myhome-side-nav",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({el:"#myhome-side-nav",template:t.template(e("#myhome-side-nav-tmpl").html()),enableModTemplate:t.template(e("#myhome-mods-enable-form-tmpl").html()),initialize:function(){},render:function(t){return this.$el.html(this.template({mods_enabled:app.pageOptions.user_mods_enabled,can_add_repo:app.pageOptions.can_add_repo,events_enabled:app.pageOptions.events_enabled})),this.$el.find("li").removeClass("tab-cur"),this.$el.find("a").each(function(){if(e(this).attr("href").match(t)){e(this).parent().addClass("tab-cur");return}}),this},events:{"click #myhome-enable-mods":"enableMods"},enableMods:function(){var t=app.pageOptions.user_mods_enabled,n=e(this.enableModTemplate({mods_available:app.pageOptions.user_mods_available,mods_enabled:t}));n.modal(),e("#simplemodal-container").css("height","auto"),e(".checkbox-orig",n).click(function(){e(this).parent().toggleClass("checkbox-checked")});var i=e('[name="personal_wiki"]'),s=i.prop("checked"),o=this;n.submit(function(){var u=i.prop("checked");return u==s?!1:(r.ajaxPost({form:n,form_id:n.attr("id"),post_url:r.getUrl({name:"toggle_personal_modules"}),post_data:{personal_wiki:u},after_op_success:function(){if(u)t.push("personal wiki");else{var n=t.indexOf("personal wiki");n>-1&&t.splice(n,1)}e.modal.close(),o.render()}}),!1)})},show:function(e){this.render(e),this.$el.show()},hide:function(){this.$el.hide()}});return i}),define("app/views/myhome",["jquery","underscore","backbone","common","app/views/myhome-repos","app/views/myhome-sub-repos","app/views/myhome-shared-repos","app/views/starred-file","app/views/myhome-side-nav"],function(e,t,n,r,i,s,o,u,a){var f=n.View.extend({el:"#main",initialize:function(t){this.sideNavView=new a,this.reposView=new i,this.subReposView=new s,this.sharedReposView=new o,this.starredFileView=new u,this.dirView=t.dirView,this.currentView=this.reposView,e("#initial-loading-view").hide()},showMyRepos:function(){this.sideNavView.show("my-libs"),this.currentView.hide(),this.reposView.show(),this.currentView=this.reposView},showMySubRepos:function(){this.sideNavView.show("my-libs"),this.currentView.hide(),this.subReposView.show(),this.currentView=this.subReposView},showSharedRepos:function(){this.sideNavView.show("my-libs"),this.currentView.hide(),this.sharedReposView.show(),this.currentView=this.sharedReposView},showStarredFile:function(){this.sideNavView.show("starred"),this.currentView.hide(),this.starredFileView.show(),this.currentView=this.starredFileView},showDir:function(e,t,n){this.sideNavView.show("my-libs");var n=n||"/";this.currentView.hide(),this.dirView.showDir(e,t,n),this.currentView=this.dirView},hide:function(){this.currentView.hide(),this.sideNavView.hide()}});return f}),define("app/models/group-repo",["underscore","backbone","app/models/repo"],function(e,t,n){var r=n.extend({defaults:{permission:"r"}});return e.extend(r.prototype.defaults,n.prototype.defaults),r}),define("app/collections/group-repos",["underscore","backbone","common","app/models/group-repo"],function(e,t,n,r){var i=t.Collection.extend({model:r,comparator:0/0,url:function(){return n.getUrl({name:"group_repos",group_id:this.group_id})},parse:function(e){return this.is_staff=e.is_staff,e.repos},setGroupID:function(e){this.group_id=e}});return i}),define("app/views/group-repo",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#group-repo-tmpl").html()),events:{mouseenter:"highlight",mouseleave:"rmHighlight","click .cancel-share":"unshare"},initialize:function(e){this.group_id=e.group_id,this.is_staff=e.is_staff,this.listenTo(this.model,"destroy",this.remove)},render:function(){var t=this.model.toJSON();return e.extend(t,{group_id:this.group_id,is_staff:this.is_staff}),this.$el.html(this.template(t)),this},highlight:function(){this.$el.addClass("hl").find(".op-icon").removeClass("vh")},rmHighlight:function(){this.$el.removeClass("hl").find(".op-icon").addClass("vh")},unshare:function(){var t=this.model.get("name");this.model.destroy({wait:!0,success:function(){var e=gettext("Successfully unshared {placeholder}").replace("{placeholder}",''+r.HTMLescape(t)+"");r.feedback(e,"success",r.SUCCESS_TIMOUT)},error:function(t,n){var i;n.responseText?i=e.parseJSON(n.responseText).error_msg:i=gettext("Failed. Please check the network."),r.feedback(i,"error")}})}});return i}),define("app/views/add-group-repo",["jquery","simplemodal","underscore","backbone","common","app/views/add-repo"],function(e,t,n,r,i,s){var o=s.extend({templateData:function(){return{showSharePerm:!0}},newAttributes:function(){var t=s.prototype.newAttributes.apply(this);return n.extend(t,{permission:e("select[name=permission]",this.$el).val()})}});return o}),define("app/views/group-side-nav",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({el:"#group-side-nav",template:t.template(e("#group-side-nav-tmpl").html()),enableModTemplate:t.template(e("#group-mods-enable-form-tmpl").html()),initialize:function(){},render:function(t){this.group_id=t;var n=this;e.ajax({url:r.getUrl({name:"group_basic_info",group_id:this.group_id}),cache:!1,dataType:"json",success:function(e){n.$el.html(n.template(e)),n.mods_available=e.mods_available,n.mods_enabled=e.mods_enabled},error:function(t){var r;t.responseText?r=e.parseJSON(t.responseText).error:r=gettext("Please check the network."),n.$el.html('

                '+r+"

                ")}})},events:{"click #enable-mods":"enableMods"},enableMods:function(){var t=e(this.enableModTemplate({mods_available:this.mods_available,mods_enabled:this.mods_enabled}));t.modal(),e("#simplemodal-container").css("height","auto"),e(".checkbox-orig",t).click(function(){e(this).parent().toggleClass("checkbox-checked")});var n=e('[name="group_wiki"]'),i=n.prop("checked"),s=this;t.submit(function(){var o=n.prop("checked");return o==i?!1:(r.ajaxPost({form:t,form_id:t.attr("id"),post_url:r.getUrl({name:"toggle_group_modules",group_id:s.group_id}),post_data:{group_wiki:o},after_op_success:function(){e.modal.close(),s.render(s.group_id)}}),!1)})},show:function(){this.$el.show()},hide:function(){this.$el.hide()}});return i}),define("app/views/group",["jquery","underscore","backbone","common","app/collections/group-repos","app/views/group-repo","app/views/add-group-repo","app/views/group-side-nav"],function(e,t,n,r,i,s,o,u){var a=n.View.extend({el:"#group-repo-tabs",reposHdTemplate:t.template(e("#shared-repos-hd-tmpl").html()),events:{"click .repo-create":"createRepo","click #grp-repos .by-name":"sortByName","click #grp-repos .by-time":"sortByTime"},initialize:function(e){this.$tabs=this.$el,this.$table=this.$("table"),this.$tableHead=this.$("thead"),this.$tableBody=this.$("tbody"),this.$loadingTip=this.$(".loading-tip"),this.$emptyTip=this.$(".empty-tips"),this.sideNavView=new u,this.repos=new i,this.listenTo(this.repos,"add",this.addOne),this.listenTo(this.repos,"reset",this.reset),this.dirView=e.dirView},addOne:function(e,t,n){var r=new s({model:e,group_id:this.group_id,is_staff:this.repos.is_staff});n.prepend?this.$tableBody.prepend(r.render().el):this.$tableBody.append(r.render().el)},renderReposHd:function(){this.$tableHead.html(this.reposHdTemplate())},reset:function(){this.$(".error").hide(),this.$loadingTip.hide(),this.repos.length?(this.$emptyTip.hide(),this.renderReposHd(),this.$tableBody.empty(),this.repos.each(this.addOne,this),this.$table.show()):(this.$emptyTip.show(),this.$table.hide())},showSideNav:function(){var e=this.sideNavView;if(e.group_id&&e.group_id==this.group_id){e.show();return}e.render(this.group_id),e.show()},showRepoList:function(e){this.group_id=e,this.showSideNav(),this.dirView.hide(),this.$emptyTip.hide(),this.$tabs.show(),this.$table.hide();var t=this.$loadingTip;t.show();var n=this;this.repos.setGroupID(e),this.repos.fetch({reset:!0,data:{from:"web"},success:function(e,t,n){},error:function(e,r,i){t.hide();var s=n.$(".error"),o;r.responseText?r["status"]==401||r["status"]==403?o=gettext("Permission error"):o=gettext("Error"):o=gettext("Please check the network."),s.html(o).show()}})},hideRepoList:function(){this.$tabs.hide()},showDir:function(e,t,n){this.group_id=e,this.showSideNav(),this.hideRepoList(),this.dirView.showDir("group/"+this.group_id,t,n)},createRepo:function(){new o(this.repos)},sortByName:function(){var t=this.repos,n=e(".by-name",this.$table);t.comparator=function(e,t){var i=r.compareTwoWord(e.get("name"),t.get("name"));return n.hasClass("icon-caret-up")?-i:i},t.sort(),this.$tableBody.empty(),t.each(this.addOne,this),n.toggleClass("icon-caret-up icon-caret-down"),t.comparator=null},sortByTime:function(){var t=this.repos,n=e(".by-time",this.$table);t.comparator=function(e,t){return n.hasClass("icon-caret-down")?e.get("mtime")'+r.HTMLescape(t)+"");r.feedback(n,"success",r.SUCCESS_TIMOUT)},after_op_error:function(e){r.ajaxErrorHandler(e)}})}});return i}),define("app/views/create-pub-repo",["jquery","simplemodal","underscore","backbone","common","app/views/add-repo"],function(e,t,n,r,i,s){var o=s.extend({templateData:function(){return{showSharePerm:!0}},newAttributes:function(){var t=s.prototype.newAttributes.apply(this);return n.extend(t,{permission:e("select[name=permission]",this.$el).val()})}});return o}),define("app/views/add-pubrepo-item",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#add-pubrepo-item-tmpl").html()),events:{"click .select":"select","change .share-permission-select":"selectPerm"},initialize:function(){},selectPerm:function(t){var n=e(t.currentTarget).val();this.model.set({pub_perm:n},{silent:!0})},select:function(){var e=this.$(".checkbox");e.toggleClass("checkbox-checked"),e.hasClass("checkbox-checked")?this.model.set({selected:!0},{silent:!0}):this.model.set({selected:!1},{silent:!0})},render:function(){return this.$el.html(this.template(this.model.toJSON())),this}});return i}),define("app/views/add-pub-repo",["jquery","simplemodal","underscore","backbone","common","app/collections/repos","app/views/add-pubrepo-item"],function(e,t,n,r,i,s,o){var u=r.View.extend({id:"add-pubrepo-popup",template:n.template(e("#add-pubrepo-popup-tmpl").html()),initialize:function(t){this.$el.html(this.template()).modal({}),e("#simplemodal-container").css({width:"auto",height:"auto"}),this.$table=this.$("table"),this.$tableBody=this.$("tbody"),this.$loadingTip=this.$(".loading-tip"),this.myRepos=new s,this.pubRepos=t,this.listenTo(this.myRepos,"reset",this.reset),this.myRepos.fetch({reset:!0})},events:{"click .submit":"submit"},submit:function(){var t=this.myRepos.where({selected:!0}),r=this,s=[];n.each(t,function(t){var n=t.id,r="rw";t.has("pub_perm")&&(r=t.get("pub_perm")),s.push(e.ajax({url:i.getUrl({name:"shared_repos",repo_id:n})+"?share_type=public&permission="+r,type:"PUT",beforeSend:i.prepareCSRFToken,dataType:"json",error:function(e,t,n){i.ajaxErrorHandler(e,t,n)}}))});var o=e.when.apply(e,s);o.done(function(){e.modal.close(),r.pubRepos.fetch({reset:!0})})},addOne:function(e){var t=new o({model:e});this.$tableBody.append(t.render().el)},reset:function(){this.$loadingTip.hide(),this.$table.show(),this.myRepos.each(this.addOne,this)}});return u}),define("app/views/organization",["jquery","underscore","backbone","common","app/collections/pub-repos","app/views/organization-repo","app/views/create-pub-repo","app/views/add-pub-repo"],function(e,t,n,r,i,s,o,u){var a=n.View.extend({el:"#main",reposHdTemplate:t.template(e("#shared-repos-hd-tmpl").html()),initialize:function(t){this.$sideNav=e("#org-side-nav"),this.$reposDiv=e("#organization-repos"),this.$table=e("#organization-repos table"),this.$tableHead=e("thead",this.$table),this.$tableBody=e("tbody",this.$table),this.$loadingTip=e("#organization-repos .loading-tip"),this.$emptyTip=e("#organization-repos .empty-tips"),this.repos=new i,this.listenTo(this.repos,"add",this.addOne),this.listenTo(this.repos,"reset",this.reset),this.dirView=t.dirView;var n=e("#add-pub-lib"),s=e("#add-pub-lib-menu");n.click(function(){s.toggleClass("hide"),s.css({top:n.position().top+n.outerHeight(),right:10})}),e(".item",s).hover(function(){e(this).css({background:"#f3f3f3"})},function(){e(this).css({background:"transparent"})}),e(document).click(function(e){r.closePopup(e,s,n)})},events:{"click #organization-repos .share-existing":"addRepo","click #organization-repos .create-new":"createRepo","click #organization-repos .by-name":"sortByName","click #organization-repos .by-time":"sortByTime"},createRepo:function(){new o(this.repos)},addRepo:function(){new u(this.repos)},addOne:function(e,t,n){var r=new s({model:e,collection:this.repos});n.prepend?this.$tableBody.prepend(r.render().el):this.$tableBody.append(r.render().el)},renderReposHd:function(){this.$tableHead.html(this.reposHdTemplate())},reset:function(){this.$(".error").hide(),this.$loadingTip.hide(),this.repos.length?(this.$emptyTip.hide(),this.renderReposHd(),this.$tableBody.empty(),this.repos.each(this.addOne,this),this.$table.show()):(this.$table.hide(),this.$emptyTip.show())},showRepoList:function(){this.$sideNav.show(),this.dirView.hide(),this.$reposDiv.show();var e=this.$loadingTip;e.show();var t=this;this.repos.fetch({reset:!0,success:function(e,t,n){},error:function(n,r,i){e.hide();var s=t.$(".error"),o;r.responseText?r["status"]==401||r["status"]==403?o=gettext("Permission error"):o=gettext("Error"):o=gettext("Please check the network."),s.html(o).show()}})},hideRepoList:function(){this.$reposDiv.hide()},showDir:function(e,t){this.$sideNav.show();var t=t||"/";this.hideRepoList(),this.dirView.showDir("org",e,t)},sortByName:function(){var t=this.repos,n=e(".by-name",this.$table);t.comparator=function(e,t){var i=r.compareTwoWord(e.get("name"),t.get("name"));return n.hasClass("icon-caret-up")?-i:i},t.sort(),this.$tableBody.empty(),t.each(this.addOne,this),n.toggleClass("icon-caret-up icon-caret-down"),t.comparator=null},sortByTime:function(){var t=this.repos,n=e(".by-time",this.$table);t.comparator=function(e,t){return n.hasClass("icon-caret-down")?e.get("mtime")=0)&&t(n,!i)}}),e("").outerWidth(1).jquery||e.each(["Width","Height"],function(t,n){function o(t,n,i,s){return e.each(r,function(){n-=parseFloat(e.css(t,"padding"+this))||0,i&&(n-=parseFloat(e.css(t,"border"+this+"Width"))||0),s&&(n-=parseFloat(e.css(t,"margin"+this))||0)}),n}var r=n==="Width"?["Left","Right"]:["Top","Bottom"],i=n.toLowerCase(),s={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+n]=function(t){return t===undefined?s["inner"+n].call(this):this.each(function(){e(this).css(i,o(this,t)+"px")})},e.fn["outer"+n]=function(t,r){return typeof t!="number"?s["outer"+n].call(this,t):this.each(function(){e(this).css(i,o(this,t,!0,r)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}),e("").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(n){return arguments.length?t.call(this,e.camelCase(n)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.fn.extend({focus:function(t){return function(n,r){return typeof n=="number"?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),r&&r.call(t)},n)}):t.apply(this,arguments)}}(e.fn.focus),disableSelection:function(){var e="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.bind(e+".ui-disableSelection",function(e){e.preventDefault()})}}(),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(t){if(t!==undefined)return this.css("zIndex",t);if(this.length){var n=e(this[0]),r,i;while(n.length&&n[0]!==document){r=n.css("position");if(r==="absolute"||r==="relative"||r==="fixed"){i=parseInt(n.css("zIndex"),10);if(!isNaN(i)&&i!==0)return i}n=n.parent()}}return 0}}),e.ui.plugin={add:function(t,n,r){var i,s=e.ui[t].prototype;for(i in r)s.plugins[i]=s.plugins[i]||[],s.plugins[i].push([n,r[i]])},call:function(e,t,n,r){var i,s=e.plugins[t];if(!s)return;if(!r&&(!e.element[0].parentNode||e.element[0].parentNode.nodeType===11))return;for(i=0;i",options:{disabled:!1,create:null},_createWidget:function(n,r){r=e(r||this.defaultElement||this)[0],this.element=e(r),this.uuid=t++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),n),this.bindings=e(),this.hoverable=e(),this.focusable=e(),r!==this&&(e.data(r,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===r&&this.destroy()}}),this.document=e(r.style?r.ownerDocument:r.document||r),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(t,n){var r=t,i,s,o;if(arguments.length===0)return e.widget.extend({},this.options);if(typeof t=="string"){r={},i=t.split("."),t=i.shift();if(i.length){s=r[t]=e.widget.extend({},this.options[t]);for(o=0;o
                ").appendTo(this.element),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(e){if(e===undefined)return this.options.value;this.options.value=this._constrainedValue(e),this._refreshValue()},_constrainedValue:function(e){return e===undefined&&(e=this.options.value),this.indeterminate=e===!1,typeof e!="number"&&(e=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,e))},_setOptions:function(e){var t=e.value;delete e.value,this._super(e),this.options.value=this._constrainedValue(t),this._refreshValue()},_setOption:function(e,t){e==="max"&&(t=Math.max(this.min,t)),e==="disabled"&&this.element.toggleClass("ui-state-disabled",!!t).attr("aria-disabled",t),this._super(e,t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var t=this.options.value,n=this._percentage();this.valueDiv.toggle(this.indeterminate||t>this.min).toggleClass("ui-corner-right",t===this.options.max).width(n.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=e("
                ").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":t}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),t===this.options.max&&this._trigger("complete")}})}),define("app/models/dirent",["underscore","backbone"],function(e,t){var n=t.Model.extend({});return n}),define("app/collections/dirents",["underscore","backbone","common","app/models/dirent"],function(e,t,n,r){var i=t.Collection.extend({model:r,url:function(){return n.getUrl({name:"list_lib_dir",repo_id:this.repo_id})},initialize:function(){},parse:function(e){return this.repo_name=e.repo_name,this.user_perm=e.user_perm,this.encrypted=e.encrypted,this.is_repo_owner=e.is_repo_owner,this.is_virtual=e.is_virtual,this.dirent_more=e.dirent_more,this.more_start=e.more_start,e.dirent_list},setPath:function(e,t,n){this.category=e,this.repo_id=t,this.path=n}});return i}),define("app/views/folder-perm-item",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#folder-perm-item-tmpl").html()),initialize:function(e){this.item_data=e.item_data,this.repo_id=e.repo_id,this.path=e.path,this.render()},render:function(){return this.$el.html(this.template(this.item_data)),this},events:{mouseenter:"showPermOpIcons",mouseleave:"hidePermOpIcons","click .perm-edit-icon":"editIconClick","change .perm-toggle-select":"editPerm","click .perm-delete-icon":"deletePerm"},showPermOpIcons:function(){this.$el.find(".op-icon").removeClass("vh")},hidePermOpIcons:function(){this.$el.find(".op-icon").addClass("vh")},editIconClick:function(t){e(t.currentTarget).closest("td").find(".perm").addClass("hide").end().find(".perm-toggle-select").removeClass("hide")},editPerm:function(t){var n=this,i=e(t.currentTarget).val(),s={perm:i,path:this.path,type:"modify"},o=this.item_data.is_user_perm;o?e.extend(s,{user:this.item_data.user}):e.extend(s,{group_id:this.item_data.group_id}),e.ajax({url:r.getUrl({name:o?"set_user_folder_perm":"set_group_folder_perm",repo_id:this.repo_id}),type:"POST",dataType:"json",cache:!1,beforeSend:r.prepareCSRFToken,data:s,success:function(){n.item_data.perm=i,n.render()},error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),o?e("#user-folder-perm .error").html(n).removeClass("hide"):e("#group-folder-perm .error").html(n).removeClass("hide")}})},deletePerm:function(){var t=this,n={perm:this.item_data.perm,path:this.path,type:"delete"},i=this.item_data.is_user_perm;i?e.extend(n,{user:this.item_data.user}):e.extend(n,{group_id:this.item_data.group_id}),e.ajax({url:r.getUrl({name:i?"set_user_folder_perm":"set_group_folder_perm",repo_id:this.repo_id}),type:"POST",dataType:"json",cache:!1,beforeSend:r.prepareCSRFToken,data:n,success:function(){t.remove()},error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),i?e("#user-folder-perm .error").html(n).removeClass("hide"):e("#group-folder-perm .error").html(n).removeClass("hide")}})}});return i}),define("app/views/folder-perm",["jquery","underscore","backbone","common","jquery.ui.tabs","select2","app/views/folder-perm-item"],function(e,t,n,r,i,s,o){var u=n.View.extend({tagName:"div",id:"folder-perm-popup",template:t.template(e("#folder-perm-popup-tmpl").html()),initialize:function(t){this.repo_id=t.repo_id,this.obj_name=t.obj_name,this.dir_path=t.dir_path,this.path=r.pathJoin([this.dir_path,this.obj_name]),this.render(),this.$el.modal({appendTo:"#main",focus:!1,containerCss:{padding:0}}),e("#simplemodal-container").css({width:"auto",height:"auto"}),this.$("#folder-perm-tabs").tabs(),this.panelsInit();var n=this;e(document).on("click",function(e){var t=e.target||event.srcElement;n.$(".perm-edit-icon, .perm-toggle-select").is(t)||(n.$(".perm").removeClass("hide"),n.$(".perm-toggle-select").addClass("hide"))})},render:function(){return this.$el.html(this.template({title:gettext("Set {placeholder}'s permission").replace("{placeholder}",''+r.HTMLescape(this.obj_name)+"")})),this},panelsInit:function(){this.$add_user_perm=this.$("#add-user-folder-perm"),this.$add_group_perm=this.$("#add-group-folder-perm");var t=this,n=this.$add_user_perm,i=this.$add_group_perm;r.ajaxGet({get_url:r.getUrl({name:"get_folder_perm_by_path",repo_id:this.repo_id}),data:{path:this.path},after_op_success:function(r){e(r.user_perms).each(function(r,i){var s=new o({repo_id:t.repo_id,path:t.path,item_data:e.extend(i,{is_user_perm:!0})});n.after(s.el)}),e(r.group_perms).each(function(n,r){var s=new o({repo_id:t.repo_id,path:t.path,item_data:e.extend(r,{is_user_perm:!1})});i.after(s.el)})}}),e('[name="email"]',n).select2(r.contactInputOptionsForSelect2());var s=app.pageOptions.groups||[],u="";for(var a=0,f=s.length;a'+s[a].name+"";e('[name="group"]',i).html(u).select2({placeholder:gettext("Select groups"),escapeMarkup:function(e){return e}})},events:{"click #add-user-folder-perm .submit":"addUserFolderPerm","click #add-group-folder-perm .submit":"addGroupFolderPerm"},addUserFolderPerm:function(){var t=this,n=this.$add_user_perm,i=e('[name="email"]',n).val();if(!i)return!1;var s=e('[name="permission"]',n).val();r.ajaxPost({form:n,form_id:n.attr("id"),post_url:r.getUrl({name:"set_user_folder_perm",repo_id:this.repo_id}),post_data:{path:this.path,type:"add",user:i,perm:s},after_op_success:function(r){e(r.success).each(function(e,r){var u=new o({repo_id:t.repo_id,path:t.path,item_data:{user:i,user_name:r.user_name,perm:s,is_user_perm:!0}});n.after(u.el)}),e('[name="email"]',n).select2("val",""),e("#user-folder-perm .error").addClass("hide")},after_op_error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),e("#user-folder-perm .error").html(n).removeClass("hide")}})},addGroupFolderPerm:function(){var t=this,n=this.$add_group_perm,i=e('[name="group"]',n).val().join(",");if(!i)return!1;var s=e('[name="permission"]',n).val();r.ajaxPost({form:n,form_id:n.attr("id"),post_url:r.getUrl({name:"set_group_folder_perm",repo_id:this.repo_id}),post_data:{path:this.path,type:"add",group_id:i,perm:s},after_op_success:function(r){e(r.success).each(function(r,i){var u=new o({repo_id:t.repo_id,path:t.path,item_data:{is_user_perm:!1,perm:s,group_id:i.group_id,group_name:i.group_name}});n.after(u.el),e("#group-folder-perm .error").addClass("hide")}),e('[name="group"]',n).select2("val","")},after_op_error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),e("#group-folder-perm .error").html(n).removeClass("hide")}})}});return u}),define("app/views/dirent",["jquery","underscore","backbone","common","file-tree","app/views/share","app/views/folder-perm"],function(e,t,n,r,i,s,o){app=app||{},app.globalState=app.globalState||{};var u=n.View.extend({tagName:"tr",template:t.template(e("#dirent-tmpl").html()),renameTemplate:t.template(e("#rename-form-template").html()),mvcpTemplate:t.template(e("#mvcp-form-template").html()),mvProgressTemplate:t.template(e("#mv-progress-popup-template").html()),initialize:function(e){this.dirView=e.dirView,this.dir=this.dirView.dir,this.listenTo(this.model,"change",this.render),this.listenTo(this.model,"remove",this.remove)},render:function(){var e=this.dir,t=r.pathJoin([e.path,this.model.get("obj_name")]);return this.$el.html(this.template({dirent:this.model.attributes,dirent_path:t,encoded_path:r.encodePath(t),category:e.category,repo_id:e.repo_id,is_repo_owner:e.is_repo_owner,can_generate_shared_link:app.pageOptions.can_generate_shared_link,repo_encrypted:e.encrypted})),this},events:{mouseenter:"highlight",mouseleave:"rmHighlight","click .select":"select","click .file-star":"starFile","click .dir-link":"visitDir","click .more-op-icon":"togglePopup","click .share":"share","click .delete":"del","click .rename":"rename","click .mv":"mvcp","click .cp":"mvcp","click .set-folder-permission":"setFolderPerm"},highlight:function(){app.globalState.noFileOpPopup&&this.$el.addClass("hl").find(".repo-file-op").removeClass("vh")},rmHighlight:function(){app.globalState.noFileOpPopup&&this.$el.removeClass("hl").find(".repo-file-op").addClass("vh")},select:function(){var e=this.$(".checkbox");e.toggleClass("checkbox-checked"),e.hasClass("checkbox-checked")?this.model.set({selected:!0},{silent:!0}):this.model.set({selected:!1},{silent:!0});var t=this.dirView,n=t.$("#multi-dirents-op"),r=t.$("th .checkbox"),i=t.$("tr:gt(0) .checkbox-checked").length;i>0?n.css({display:"inline"}):n.hide(),i==t.$("tr:gt(0)").length?r.addClass("checkbox-checked"):r.removeClass("checkbox-checked")},starFile:function(){var t=this,n=this.dirView.dir,i=this.model.get("starred"),s={repo_id:n.repo_id};s.name=i?"unstar_file":"star_file";var o=r.pathJoin([n.path,this.model.get("obj_name")]),u=r.getUrl(s)+"?file="+encodeURIComponent(o);e.ajax({url:u,dataType:"json",cache:!1,success:function(){i?t.model.set({starred:!1}):t.model.set({starred:!0})},error:function(e){r.ajaxErrorHandler(e)}})},visitDir:function(){this.$(".dirent-icon img").attr({src:app.config.mediaUrl+"img/loading-icon.gif",alt:""}),this.dirView.dir.reset();var e=this.$(".dir-link").attr("href");return app.router.navigate(e,{trigger:!0}),!1},togglePopup:function(){var t=this.$(".more-op-icon"),n=this.$(".hidden-op");n.hasClass("hide")?(n.css({left:t.position().left}),t.offset().top+n.height()<=e("#main").offset().top+e("#main").height()?n.css("top",t.position().top+t.height()+3):n.css("bottom",t.parent().outerHeight()-t.position().top+3),n.removeClass("hide"),app.globalState.noFileOpPopup=!1,app.globalState.popup_tr=t.parents("tr")):(n.addClass("hide"),app.globalState.noFileOpPopup=!0,app.globalState.popup_tr="")},share:function(){var e=this.dir,t=this.model.get("obj_name"),n=r.pathJoin([e.path,t]),i={is_repo_owner:e.is_repo_owner,is_virtual:e.is_virtual,user_perm:this.model.get("perm"),repo_id:e.repo_id,repo_encrypted:!1,is_dir:this.model.get("is_dir")?!0:!1,dirent_path:n,obj_name:t};return new s(i),!1},del:function(){var t=this.model.get("obj_name"),n=this.dir,i={repo_id:n.repo_id,name:this.model.get("is_dir")?"del_dir":"del_file"},s=this.model;return e.ajax({url:r.getUrl(i)+"?parent_dir="+encodeURIComponent(n.path)+"&name="+encodeURIComponent(t),dataType:"json",success:function(e){n.remove(s),app.globalState.noFileOpPopup=!0;var i=gettext("Successfully deleted %(name)s").replace("%(name)s",r.HTMLescape(t));r.feedback(i,"success")},error:function(e){r.ajaxErrorHandler(e)}}),!1},rename:function(){var t=this.model.get("is_dir"),n=t?gettext("Rename Directory"):gettext("Rename File"),i=this.model.get("obj_name"),s=e(this.renameTemplate({form_title:n,dirent_name:i}));s.modal({focus:!1}),e("#simplemodal-container").css({width:"auto",height:"auto"});var o=e(".detail",s);o.html(o.html().replace("%(name)s",''+r.HTMLescape(i)+""));var u=s.attr("id"),a=this,f=this.dirView.dir;return s.submit(function(){var n=e.trim(e('[name="newname"]',s).val());if(!n)return r.showFormError(u,gettext("It is required.")),!1;if(n==i)return r.showFormError(u,gettext("You have not renamed it.")),!1;var o={oldname:i,newname:n},l=r.getUrl({name:t?"rename_dir":"rename_file",repo_id:f.repo_id})+"?parent_dir="+encodeURIComponent(f.path),c=function(n){var r={obj_name:n.newname,last_modified:(new Date).getTime()/1e3,last_update:gettext("Just now"),sharelink:"",sharetoken:""};t||e.extend(r,{starred:!1}),e.modal.close(),a.model.set(r)};return r.ajaxPost({form:s,post_url:l,post_data:o,after_op_success:c,form_id:u}),!1}),!1},mvcp:function(t){var n=this.dir,s=t.target||t.srcElement,o=e(s).hasClass("mv")?"mv":"cp",u=this.model.get("obj_name"),a=this.model.get("is_dir")?"dir":"file",f=o=="mv"?gettext("Move {placeholder} to:"):gettext("Copy {placeholder} to:");f=f.replace("{placeholder}",''+r.HTMLescape(u)+"");var l=e(this.mvcpTemplate({form_title:f,op_type:o,obj_type:a,obj_name:u,show_other_repos:!n.encrypted}));l.modal({appendTo:"#main",autoResize:!0,focus:!1}),e("#simplemodal-container").css({width:"auto",height:"auto"}),i.renderTreeForPath({repo_name:n.repo_name,repo_id:n.repo_id,path:n.path}),n.encrypted||i.prepareOtherReposTree({cur_repo_id:n.repo_id});var c=this.$el,h=this;return l.submit(function(){var t=e(this),i=t.attr("id"),s=n.path,o=n.repo_id,u=e('[name="dst_repo"]',t).val(),a=e('[name="dst_path"]',t).val(),f=e('[name="op"]',t).val(),l=e('[name="obj_name"]',t).val(),p=e('[name="obj_type"]',t).val();if(!e.trim(u)||!e.trim(a))return e(".error",t).removeClass("hide"),!1;if(u==o&&(a==s||p=="dir"&&a==s+l+"/"))return e(".error",t).html(gettext("Invalid destination path")).removeClass("hide"),!1;var d={repo_id:o};p=="dir"?d.name=f=="mv"?"mv_dir":"cp_dir":d.name=f=="mv"?"mv_file":"cp_file";var v=r.getUrl(d)+"?path="+encodeURIComponent(s)+"&obj_name="+encodeURIComponent(l),m={dst_repo:u,dst_path:a},g=function(t){e.modal.close();var n=t.msg;if(!t.task_id)f=="mv"&&c.remove(),r.feedback(n,"success");else{var i=e(h.mvProgressTemplate()),s=e("#mv-details",i),o=e("#cancel-mv",i),u=e("#mv-other-info",i);o.removeClass("hide"),setTimeout(function(){i.modal({containerCss:{width:300,height:150,paddingTop:50},focus:!1});var t=f=="mv"?gettext("Moving %(name)s"):gettext("Copying %(name)s");s.html(t.replace("%(name)s",r.HTMLescape(l))).removeClass("vh"),e("#mv-progress").progressbar(),a()},100);var a=function(){e.ajax({url:r.getUrl({name:"get_cp_progress"})+"?task_id="+encodeURIComponent(t.task_id),dataType:"json",success:function(t){var i=e(".ui-progressbar-value",e("#mv-progress"));if(!t.failed&&!t.canceled&&!t.successful)t["done"]==t["total"]?(i.css("width","100%"),s.addClass("vh"),o.addClass("hide"),u.html(gettext("Saving...")).removeClass("hide")):i.css("width",parseInt(t.done/t.total*100,10)+"%"),i.show(),setTimeout(a,1e3);else if(t.successful)e.modal.close(),f=="mv"&&c.remove(),r.feedback(n,"success");else{s.addClass("vh");var l=t.failed?gettext("Failed."):gettext("Canceled.");u.html(l).removeClass("hide"),o.addClass("hide"),setTimeout(function(){e.modal.close()},1e3)}},error:function(t,n,r){var i;t.responseText?i=e.parseJSON(t.responseText).error:i=gettext("Failed. Please check the network."),s.addClass("vh"),u.html(i).removeClass("hide"),o.addClass("hide"),setTimeout(function(){e.modal.close()},1e3)}})};o.click(function(){r.disableButton(o),e.ajax({url:r.getUrl({name:"cancel_cp"})+"?task_id="+encodeURIComponent(t.task_id),dataType:"json",success:function(t){s.addClass("vh"),u.html(gettext("Canceled.")).removeClass("hide"),o.addClass("hide"),setTimeout(function(){e.modal.close()},1e3)},error:function(t,n,i){var s;t.responseText?s=e.parseJSON(t.responseText).error:s=gettext("Failed. Please check the network."),u.html(s).removeClass("hide"),r.enableButton(o)}})})}};return r.ajaxPost({form:t,post_url:v,post_data:m,after_op_success:g,form_id:i}),!1}),!1},setFolderPerm:function(){var e={obj_name:this.model.get("obj_name"),dir_path:this.dir.path,repo_id:this.dir.repo_id};return new o(e),!1}});return u}),function(e){var t=function(e,n){var r=/[^\w\-\.:]/.test(e)?new Function(t.arg+",tmpl","var _e=tmpl.encode"+t.helper+",_s='"+e.replace(t.regexp,t.func)+"';return _s;"):t.cache[e]=t.cache[e]||t(t.load(e));return n?r(n,t):function(e){return r(e,t)}};t.cache={},t.load=function(e){return document.getElementById(e).innerHTML},t.regexp=/([\s'\\])(?![^%]*%\})|(?:\{%(=|#)([\s\S]+?)%\})|(\{%)|(%\})/g,t.func=function(e,t,n,r,i,s){if(t)return{"\n":"\\n","\r":"\\r"," ":"\\t"," ":" "}[e]||"\\"+e;if(n)return n==="="?"'+_e("+r+")+'":"'+("+r+"||'')+'";if(i)return"';";if(s)return"_s+='"},t.encReg=/[<>&"'\x00]/g,t.encMap={"<":"<",">":">","&":"&",'"':""","'":"'"},t.encode=function(e){return String(e||"").replace(t.encReg,function(e){return t.encMap[e]||""})},t.arg="o",t.helper=",print=function(s,e){_s+=e&&(s||'')||_e(s);},include=function(s,d){_s+=tmpl(s,d);}",typeof define=="function"&&define.amd?define("tmpl",[],function(){return t}):e.tmpl=t}(this),function(e){typeof define=="function"&&define.amd?define("jquery.iframe-transport",["jquery"],e):e(window.jQuery)}(function(e){var t=0;e.ajaxTransport("iframe",function(n){if(n.async&&(n.type==="POST"||n.type==="GET")){var r,i;return{send:function(s,o){r=e('
                '),i=e('').bind("load",function(){var t,s=e.isArray(n.paramName)?n.paramName:[n.paramName];i.unbind("load").bind("load",function(){var t;try{t=i.contents();if(!t.length||!t[0].firstChild)throw new Error}catch(n){t=undefined}o(200,"success",{iframe:t}),e('').appendTo(r),r.remove()}),r.prop("target",i.prop("name")).prop("action",n.url).prop("method",n.type),n.formData&&e.each(n.formData,function(t,n){e('').prop("name",n.name).val(n.value).appendTo(r)}),n.fileInput&&n.fileInput.length&&n.type==="POST"&&(t=n.fileInput.clone(),n.fileInput.after(function(e){return t[e]}),n.paramName&&n.fileInput.each(function(t){e(this).prop("name",s[t]||n.paramName)}),r.append(n.fileInput).prop("enctype","multipart/form-data").prop("encoding","multipart/form-data")),r.submit(),t&&t.length&&n.fileInput.each(function(n,r){var i=e(t[n]);e(r).prop("name",i.prop("name")),i.replaceWith(r)})}),r.append(i).appendTo(document.body)},abort:function(){i&&i.unbind("load").prop("src","javascript".concat(":false;")),r&&r.remove()}}}}),e.ajaxSetup({converters:{"iframe text":function(t){return e(t[0].body).text()},"iframe json":function(t){return e.parseJSON(e(t[0].body).text())},"iframe html":function(t){return e(t[0].body).html()},"iframe script":function(t){return e.globalEval(e(t[0].body).text())}}})}),function(e){typeof define=="function"&&define.amd?define("jquery.fileupload",["jquery","jquery.ui.widget"],e):e(window.jQuery)}(function(e){function t(t){var n=t==="dragover";return function(r){r.dataTransfer=r.originalEvent&&r.originalEvent.dataTransfer;var i=r.dataTransfer;i&&e.inArray("Files",i.types)!==-1&&this._trigger(t,e.Event(t,{delegatedEvent:r}))!==!1&&(r.preventDefault(),n&&(i.dropEffect="copy"))}}e.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))")).test(window.navigator.userAgent)&&!e('').prop("disabled"),e.support.xhrFileUpload=!!window.ProgressEvent&&!!window.FileReader,e.support.xhrFormDataFileUpload=!!window.FormData,e.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),e.widget("blueimp.fileupload",{options:{dropZone:e(document),pasteZone:undefined,fileInput:undefined,replaceFileInput:!0,paramName:undefined,singleFileUploads:!0,limitMultiFileUploads:undefined,limitMultiFileUploadSize:undefined,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:undefined,forceIframeTransport:!1,redirect:undefined,redirectParamName:undefined,postMessage:undefined,multipart:!0,maxChunkSize:undefined,uploadedBytes:undefined,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(t,n){return t=this.messages[t]||t.toString(),n&&e.each(n,function(e,n){t=t.replace("{"+e+"}",n)}),t},formData:function(e){return e.serializeArray()},add:function(t,n){if(t.isDefaultPrevented())return!1;(n.autoUpload||n.autoUpload!==!1&&e(this).fileupload("option","autoUpload"))&&n.process().done(function(){n.submit()})},processData:!1,contentType:!1,cache:!1},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:e.support.blobSlice&&function(){var e=this.slice||this.webkitSlice||this.mozSlice;return e.apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(e,t,n){var r=e-this.timestamp;if(!this.bitrate||!n||r>n)this.bitrate=(t-this.loaded)*(1e3/r)*8,this.loaded=t,this.timestamp=e;return this.bitrate}},_isXHRUpload:function(t){return!t.forceIframeTransport&&(!t.multipart&&e.support.xhrFileUpload||e.support.xhrFormDataFileUpload)},_getFormData:function(t){var n;return e.type(t.formData)==="function"?t.formData(t.form):e.isArray(t.formData)?t.formData:e.type(t.formData)==="object"?(n=[],e.each(t.formData,function(e,t){n.push({name:e,value:t})}),n):[]},_getTotal:function(t){var n=0;return e.each(t,function(e,t){n+=t.size||1}),n},_initProgressObject:function(t){var n={loaded:0,total:0,bitrate:0};t._progress?e.extend(t._progress,n):t._progress=n},_initResponseObject:function(e){var t;if(e._response)for(t in e._response)e._response.hasOwnProperty(t)&&delete e._response[t];else e._response={}},_onProgress:function(t,n){if(t.lengthComputable){var r=Date.now?Date.now():(new Date).getTime(),i;if(n._time&&n.progressInterval&&r-n._time
                ").prop("href",t.url).prop("host");t.dataType="iframe "+(t.dataType||""),t.formData=this._getFormData(t),t.redirect&&n&&n!==location.host&&t.formData.push({name:t.redirectParamName||"redirect",value:t.redirect})},_initDataSettings:function(e){this._isXHRUpload(e)?(this._chunkedUpload(e,!0)||(e.data||this._initXHRData(e),this._initProgressListener(e)),e.postMessage&&(e.dataType="postmessage "+(e.dataType||""))):this._initIframeSettings(e)},_getParamName:function(t){var n=e(t.fileInput),r=t.paramName;return r?e.isArray(r)||(r=[r]):(r=[],n.each(function(){var t=e(this),n=t.prop("name")||"files[]",i=(t.prop("files")||[1]).length;while(i)r.push(n),i-=1}),r.length||(r=[n.prop("name")||"files[]"])),r},_initFormSettings:function(t){if(!t.form||!t.form.length)t.form=e(t.fileInput.prop("form")),t.form.length||(t.form=e(this.options.fileInput.prop("form")));t.paramName=this._getParamName(t),t.url||(t.url=t.form.prop("action")||location.href),t.type=(t.type||e.type(t.form.prop("method"))==="string"&&t.form.prop("method")||"").toUpperCase(),t.type!=="POST"&&t.type!=="PUT"&&t.type!=="PATCH"&&(t.type="POST"),t.formAcceptCharset||(t.formAcceptCharset=t.form.attr("accept-charset"))},_getAJAXSettings:function(t){var n=e.extend({},this.options,t);return this._initFormSettings(n),this._initDataSettings(n),n},_getDeferredState:function(e){return e.state?e.state():e.isResolved()?"resolved":e.isRejected()?"rejected":"pending"},_enhancePromise:function(e){return e.success=e.done,e.error=e.fail,e.complete=e.always,e},_getXHRPromise:function(t,n,r){var i=e.Deferred(),s=i.promise();return n=n||this.options.context||s,t===!0?i.resolveWith(n,r):t===!1&&i.rejectWith(n,r),s.abort=i.promise,this._enhancePromise(s)},_addConvenienceMethods:function(t,n){var r=this,i=function(t){return e.Deferred().resolveWith(r,t).promise()};n.process=function(t,s){if(t||s)n._processQueue=this._processQueue=(this._processQueue||i([this])).pipe(function(){return n.errorThrown?e.Deferred().rejectWith(r,[n]).promise():i(arguments)}).pipe(t,s);return this._processQueue||i([this])},n.submit=function(){return this.state()!=="pending"&&(n.jqXHR=this.jqXHR=r._trigger("submit",e.Event("submit",{delegatedEvent:t}),this)!==!1&&r._onSend(t,this)),this.jqXHR||r._getXHRPromise()},n.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",r._trigger("fail",null,this),r._getXHRPromise(!1))},n.state=function(){if(this.jqXHR)return r._getDeferredState(this.jqXHR);if(this._processQueue)return r._getDeferredState(this._processQueue)},n.processing=function(){return!this.jqXHR&&this._processQueue&&r._getDeferredState(this._processQueue)==="pending"},n.progress=function(){return this._progress},n.response=function(){return this._response}},_getUploadedBytes:function(e){var t=e.getResponseHeader("Range"),n=t&&t.split("-"),r=n&&n.length>1&&parseInt(n[1],10);return r&&r+1},_chunkedUpload:function(t,n){t.uploadedBytes=t.uploadedBytes||0;var r=this,i=t.files[0],s=i.size,o=t.uploadedBytes,u=t.maxChunkSize||s,a=this._blobSlice,f=e.Deferred(),l=f.promise(),c,h;return!(this._isXHRUpload(t)&&a&&(o||u=s?(i.error=t.i18n("uploadedBytes"),this._getXHRPromise(!1,t.context,[null,"error",i.error])):(h=function(){var n=e.extend({},t),l=n._progress.loaded;n.blob=a.call(i,o,o+u,i.type),n.chunkSize=n.blob.size,n.contentRange="bytes "+o+"-"+(o+n.chunkSize-1)+"/"+s,r._initXHRData(n),r._initProgressListener(n),c=(r._trigger("chunksend",null,n)!==!1&&e.ajax(n)||r._getXHRPromise(!1,n.context)).done(function(i,u,a){o=r._getUploadedBytes(a)||o+n.chunkSize,l+n.chunkSize-n._progress.loaded&&r._onProgress(e.Event("progress",{lengthComputable:!0,loaded:o-n.uploadedBytes,total:o-n.uploadedBytes}),n),t.uploadedBytes=n.uploadedBytes=o,n.result=i,n.textStatus=u,n.jqXHR=a,r._trigger("chunkdone",null,n),r._trigger("chunkalways",null,n),or._sending){var i=r._slots.shift();while(i){if(r._getDeferredState(i)==="pending"){i.resolve();break}i=r._slots.shift()}}r._active===0&&r._trigger("stop")}),i};return this._beforeSend(t,a),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?(this.options.limitConcurrentUploads>1?(o=e.Deferred(),this._slots.push(o),u=o.pipe(f)):(this._sequence=this._sequence.pipe(f,f),u=this._sequence),u.abort=function(){return s=[undefined,"abort","abort"],i?i.abort():(o&&o.rejectWith(a.context,s),f())},this._enhancePromise(u)):f()},_onAdd:function(t,n){var r=this,i=!0,s=e.extend({},this.options,n),o=n.files,u=o.length,a=s.limitMultiFileUploads,f=s.limitMultiFileUploadSize,l=s.limitMultiFileUploadSizeOverhead,c=0,h=this._getParamName(s),p,d,v,m,g=0;f&&(!u||o[0].size===undefined)&&(f=undefined);if(!(s.singleFileUploads||a||f)||!this._isXHRUpload(s))v=[o],p=[h];else if(!s.singleFileUploads&&!f&&a){v=[],p=[];for(m=0;mf||a&&m+1-g>=a)v.push(o.slice(g,m+1)),d=h.slice(g,m+1),d.length||(d=h),p.push(d),g=m+1,c=0}}else p=h;return n.originalFiles=o,e.each(v||o,function(s,o){var u=e.extend({},n);return u.files=v?o:[o],u.paramName=p[s],r._initResponseObject(u),r._initProgressObject(u),r._addConvenienceMethods(t,u),i=r._trigger("add",e.Event("add",{delegatedEvent:t}),u),i}),i},_replaceFileInput:function(t){var n=t.fileInput,r=n.clone(!0);t.fileInputClone=r,e("
                ").append(r)[0].reset(),n.after(r).detach(),e.cleanData(n.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(e,t){return t===n[0]?r[0]:t}),n[0]===this.element[0]&&(this.element=r)},_handleFileTreeEntry:function(t,n){var r=this,i=e.Deferred(),s=function(e){e&&!e.entry&&(e.entry=t),i.resolve([e])},o=function(e){r._handleFileTreeEntries(e,n+t.name+"/").done(function(e){i.resolve(e)}).fail(s)},u=function(){a.readEntries(function(e){e.length?(f=f.concat(e),u()):o(f)},s)},a,f=[];return n=n||"",t.isFile?t._file?(t._file.relativePath=n,i.resolve(t._file)):t.file(function(e){e.relativePath=n,i.resolve(e)},s):t.isDirectory?(a=t.createReader(),u()):i.resolve([]),i.promise()},_handleFileTreeEntries:function(t,n){var r=this;return e.when.apply(e,e.map(t,function(e){return r._handleFileTreeEntry(e,n)})).pipe(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(t){t=t||{};var n=t.items;return n&&n.length&&(n[0].webkitGetAsEntry||n[0].getAsEntry)?this._handleFileTreeEntries(e.map(n,function(e){var t;return e.webkitGetAsEntry?(t=e.webkitGetAsEntry(),t&&(t._file=e.getAsFile()),t):e.getAsEntry()})):e.Deferred().resolve(e.makeArray(t.files)).promise()},_getSingleFileInputFiles:function(t){t=e(t);var n=t.prop("webkitEntries")||t.prop("entries"),r,i;if(n&&n.length)return this._handleFileTreeEntries(n);r=e.makeArray(t.prop("files"));if(!r.length){i=t.prop("value");if(!i)return e.Deferred().resolve([]).promise();r=[{name:i.replace(/^.*\\/,"")}]}else r[0].name===undefined&&r[0].fileName&&e.each(r,function(e,t){t.name=t.fileName,t.size=t.fileSize});return e.Deferred().resolve(r).promise()},_getFileInputFiles:function(t){return t instanceof e&&t.length!==1?e.when.apply(e,e.map(t,this._getSingleFileInputFiles)).pipe(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(t)},_onChange:function(t){var n=this,r={fileInput:e(t.target),form:e(t.target.form)};this._getFileInputFiles(r.fileInput).always(function(i){r.files=i,n.options.replaceFileInput&&n._replaceFileInput(r),n._trigger("change",e.Event("change",{delegatedEvent:t}),r)!==!1&&n._onAdd(t,r)})},_onPaste:function(t){var n=t.originalEvent&&t.originalEvent.clipboardData&&t.originalEvent.clipboardData.items,r={files:[]};n&&n.length&&(e.each(n,function(e,t){var n=t.getAsFile&&t.getAsFile();n&&r.files.push(n)}),this._trigger("paste",e.Event("paste",{delegatedEvent:t}),r)!==!1&&this._onAdd(t,r))},_onDrop:function(t){t.dataTransfer=t.originalEvent&&t.originalEvent.dataTransfer;var n=this,r=t.dataTransfer,i={};r&&r.files&&r.files.length&&(t.preventDefault(),this._getDroppedFiles(r).always(function(r){i.files=r,n._trigger("drop",e.Event("drop",{delegatedEvent:t}),i)!==!1&&n._onAdd(t,i)}))},_onDragOver:t("dragover"),_onDragEnter:t("dragenter"),_onDragLeave:t("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),e.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_setOption:function(t,n){var r=e.inArray(t,this._specialOptions)!==-1;r&&this._destroyEventHandlers(),this._super(t,n),r&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var t=this.options;t.fileInput===undefined?t.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):t.fileInput instanceof e||(t.fileInput=e(t.fileInput)),t.dropZone instanceof e||(t.dropZone=e(t.dropZone)),t.pasteZone instanceof e||(t.pasteZone=e(t.pasteZone))},_getRegExp:function(e){var t=e.split("/"),n=t.pop();return t.shift(),new RegExp(t.join("/"),n)},_isRegExpOption:function(t,n){return t!=="url"&&e.type(n)==="string"&&/^\/.*\/[igm]{0,3}$/.test(n)},_initDataAttributes:function(){var t=this,n=this.options,r=e(this.element[0].cloneNode(!1)),i=r.data();r.remove(),e.each(i,function(e,i){var s="data-"+e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();r.attr(s)&&(t._isRegExpOption(e,i)&&(i=t._getRegExp(i)),n[e]=i)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(t){var n=this;if(!t||this.options.disabled)return;t.fileInput&&!t.files?this._getFileInputFiles(t.fileInput).always(function(e){t.files=e,n._onAdd(null,t)}):(t.files=e.makeArray(t.files),this._onAdd(null,t))},send:function(t){if(t&&!this.options.disabled){if(t.fileInput&&!t.files){var n=this,r=e.Deferred(),i=r.promise(),s,o;return i.abort=function(){return o=!0,s?s.abort():(r.reject(null,"abort","abort"),i)},this._getFileInputFiles(t.fileInput).always(function(e){if(o)return;if(!e.length){r.reject();return}t.files=e,s=n._onSend(null,t),s.then(function(e,t,n){r.resolve(e,t,n)},function(e,t,n){r.reject(e,t,n)})}),this._enhancePromise(i)}t.files=e.makeArray(t.files);if(t.files.length)return this._onSend(null,t)}return this._getXHRPromise(!1,t&&t.context)}})}),function(e){typeof define=="function"&&define.amd?define("jquery.fileupload-process",["jquery","jquery.fileupload"],e):e(window.jQuery)}(function(e){var t=e.blueimp.fileupload.prototype.options.add;e.widget("blueimp.fileupload",e.blueimp.fileupload,{options:{processQueue:[],add:function(n,r){var i=e(this);r.process(function(){return i.fileupload("process",r)}),t.call(this,n,r)}},processActions:{},_processFile:function(t,n){var r=this,i=e.Deferred().resolveWith(r,[t]),s=i.promise();return this._trigger("process",null,t),e.each(t.processQueue,function(t,i){var o=function(t){return n.errorThrown?e.Deferred().rejectWith(r,[n]).promise():r.processActions[i.action].call(r,t,i)};s=s.pipe(o,i.always&&o)}),s.done(function(){r._trigger("processdone",null,t),r._trigger("processalways",null,t)}).fail(function(){r._trigger("processfail",null,t),r._trigger("processalways",null,t)}),s},_transformProcessQueue:function(t){var n=[];e.each(t.processQueue,function(){var r={},i=this.action,s=this.prefix===!0?i:this.prefix;e.each(this,function(n,i){e.type(i)==="string"&&i.charAt(0)==="@"?r[n]=t[i.slice(1)||(s?s+n.charAt(0).toUpperCase()+n.slice(1):n)]:r[n]=i}),n.push(r)}),t.processQueue=n},processing:function(){return this._processing},process:function(t){var n=this,r=e.extend({},this.options,t);return r.processQueue&&r.processQueue.length&&(this._transformProcessQueue(r),this._processing===0&&this._trigger("processstart"),e.each(t.files,function(i){var s=i?e.extend({},r):r,o=function(){return t.errorThrown?e.Deferred().rejectWith(n,[t]).promise():n._processFile(s,t)};s.index=i,n._processing+=1,n._processingQueue=n._processingQueue.pipe(o,o).always(function(){n._processing-=1,n._processing===0&&n._trigger("processstop")})})),this._processingQueue},_create:function(){this._super(),this._processing=0,this._processingQueue=e.Deferred().resolveWith(this).promise()}})}),function(e){typeof define=="function"&&define.amd?define("jquery.fileupload-validate",["jquery","jquery.fileupload-process"],e):e(window.jQuery)}(function(e){e.blueimp.fileupload.prototype.options.processQueue.push({action:"validate",always:!0,acceptFileTypes:"@",maxFileSize:"@",minFileSize:"@",maxNumberOfFiles:"@",disabled:"@disableValidation"}),e.widget("blueimp.fileupload",e.blueimp.fileupload,{options:{getNumberOfFiles:e.noop,messages:{maxNumberOfFiles:"Maximum number of files exceeded",acceptFileTypes:"File type not allowed",maxFileSize:"File is too large",minFileSize:"File is too small"}},processActions:{validate:function(t,n){if(n.disabled)return t;var r=e.Deferred(),i=this.options,s=t.files[t.index],o;if(n.minFileSize||n.maxFileSize)o=s.size;return e.type(n.maxNumberOfFiles)==="number"&&(i.getNumberOfFiles()||0)+t.files.length>n.maxNumberOfFiles?s.error=i.i18n("maxNumberOfFiles"):n.acceptFileTypes&&!n.acceptFileTypes.test(s.type)&&!n.acceptFileTypes.test(s.name)?s.error=i.i18n("acceptFileTypes"):o>n.maxFileSize?s.error=i.i18n("maxFileSize"):e.type(o)==="number"&&o=1e9?(e/1e9).toFixed(2)+" GB":e>=1e6?(e/1e6).toFixed(2)+" MB":(e/1e3).toFixed(2)+" KB"},_formatBitrate:function(e){return typeof e!="number"?"":(e/=8,e>=1e9?(e/1e9).toFixed(2)+" GB/s":e>=1e6?(e/1e6).toFixed(2)+" MB/s":e>=1e3?(e/1e3).toFixed(2)+" KB/s":e.toFixed(2)+" B/s")},_formatTime:function(e){var t=new Date(e*1e3),n=Math.floor(e/86400);return n=n?n+"d ":"",n+("0"+t.getUTCHours()).slice(-2)+":"+("0"+t.getUTCMinutes()).slice(-2)+":"+("0"+t.getUTCSeconds()).slice(-2)},_formatPercentage:function(e){return(e*100).toFixed(2)+" %"},_renderExtendedProgress:function(e){return this._formatBitrate(e.bitrate)+" | "+this._formatTime((e.total-e.loaded)*8/e.bitrate)+" | "+this._formatPercentage(e.loaded/e.total)+" | "+this._formatFileSize(e.loaded)+" / "+this._formatFileSize(e.total)},_renderTemplate:function(t,n){if(!t)return e();var r=t({files:n,formatFileSize:this._formatFileSize,options:this.options});return r instanceof e?r:e(this.options.templatesContainer).html(r).children()},_renderPreviews:function(t){t.context.find(".preview").each(function(n,r){e(r).append(t.files[n].preview)})},_renderUpload:function(e){return this._renderTemplate(this.options.uploadTemplate,e)},_renderDownload:function(e){return this._renderTemplate(this.options.downloadTemplate,e).find("a[download]").each(this._enableDragToDesktop).end()},_startHandler:function(t){t.preventDefault();var n=e(t.currentTarget),r=n.closest(".template-upload"),i=r.data("data");n.prop("disabled",!0),i&&i.submit&&i.submit()},_cancelHandler:function(t){t.preventDefault();var n=e(t.currentTarget).closest(".template-upload,.template-download"),r=n.data("data")||{};r.context=r.context||n,r.abort?r.abort():(r.errorThrown="abort",this._trigger("fail",t,r))},_deleteHandler:function(t){t.preventDefault();var n=e(t.currentTarget);this._trigger("destroy",t,e.extend({context:n.closest(".template-download"),type:"DELETE"},n.data()))},_forceReflow:function(t){return e.support.transition&&t.length&&t[0].offsetWidth},_transition:function(t){var n=e.Deferred();return e.support.transition&&t.hasClass("fade")&&t.is(":visible")?t.bind(e.support.transition.end,function(r){r.target===t[0]&&(t.unbind(e.support.transition.end),n.resolveWith(t))}).toggleClass("in"):(t.toggleClass("in"),n.resolveWith(t)),n},_initButtonBarEventHandlers:function(){var t=this.element.find(".fileupload-buttonbar"),n=this.options.filesContainer;this._on(t.find(".start"),{click:function(e){e.preventDefault(),n.find(".start").click()}}),this._on(t.find(".cancel"),{click:function(e){e.preventDefault(),n.find(".cancel").click()}}),this._on(t.find(".delete"),{click:function(e){e.preventDefault(),n.find(".toggle:checked").closest(".template-download").find(".delete").click(),t.find(".toggle").prop("checked",!1)}}),this._on(t.find(".toggle"),{change:function(t){n.find(".toggle").prop("checked",e(t.currentTarget).is(":checked"))}})},_destroyButtonBarEventHandlers:function(){this._off(this.element.find(".fileupload-buttonbar").find(".start, .cancel, .delete"),"click"),this._off(this.element.find(".fileupload-buttonbar .toggle"),"change.")},_initEventHandlers:function(){this._super(),this._on(this.options.filesContainer,{"click .start":this._startHandler,"click .cancel":this._cancelHandler,"click .delete":this._deleteHandler}),this._initButtonBarEventHandlers()},_destroyEventHandlers:function(){this._destroyButtonBarEventHandlers(),this._off(this.options.filesContainer,"click"),this._super()},_enableFileInputButton:function(){this.element.find(".fileinput-button input").prop("disabled",!1).parent().removeClass("disabled")},_disableFileInputButton:function(){this.element.find(".fileinput-button input").prop("disabled",!0).parent().addClass("disabled")},_initTemplates:function(){var e=this.options;e.templatesContainer=this.document[0].createElement(e.filesContainer.prop("nodeName")),t&&(e.uploadTemplateId&&(e.uploadTemplate=t(e.uploadTemplateId)),e.downloadTemplateId&&(e.downloadTemplate=t(e.downloadTemplateId)))},_initFilesContainer:function(){var t=this.options;t.filesContainer===undefined?t.filesContainer=this.element.find(".files"):t.filesContainer instanceof e||(t.filesContainer=e(t.filesContainer))},_initSpecialOptions:function(){this._super(),this._initFilesContainer(),this._initTemplates()},_create:function(){this._super(),this._resetFinishedDeferreds(),e.support.fileInput||this._disableFileInputButton()},enable:function(){var e=!1;this.options.disabled&&(e=!0),this._super(),e&&(this.element.find("input, button").prop("disabled",!1),this._enableFileInputButton())},disable:function(){this.options.disabled||(this.element.find("input, button").prop("disabled",!0),this._disableFileInputButton()),this._super()}})}),define("app/views/fileupload",["common","backbone","jquery.fileupload-ui"],function(e,t,n){window.locale={fileupload:{errors:{maxFileSize:gettext("File is too big"),minFileSize:gettext("File is too small"),acceptFileTypes:gettext("Filetype not allowed"),maxNumberOfFiles:gettext("Max number of files exceeded"),uploadedBytes:gettext("Uploaded bytes exceed file size"),emptyResult:gettext("Empty file upload result")},error:gettext("Error"),uploaded:gettext("uploaded"),canceled:gettext("canceled"),start:gettext("Start"),cancel:gettext("Cancel"),destroy:gettext("Delete")}};var r=t.View.extend({el:$("#upload-file-dialog"),fileupdateConfirmTemplate:_.template($("#fileupdate-confirm-template").html()),initialize:function(t){var n=this.dirView=t.dirView,r=n.dir,i=this.$el.addClass("fixed-upload-file-dialog");this.popup_height="200px";var s=$(".status",i),o=$(".total-progress",i),u=$(".fileupload-buttonbar .cancel",i),a=$(".close",i),f=$(".saving-tip",i),l={uploading:gettext("File Uploading..."),complete:gettext("File Upload complete"),canceled:gettext("File Upload canceled"),failed:gettext("File Upload failed")},c=[],h=[],p=app.pageOptions.enable_upload_folder,d=[],v=[],m=this;i.fileupload({paramName:"file",getFilesFromResponse:function(e){if(e.result)return e.result},autoUpload:!0,maxNumberOfFiles:500,sequentialUploads:!0}).bind("fileuploadadd",function(e,t){if(!n.$el.is(":visible"))return!1;if(r.user_perm&&r.user_perm!="rw")return!1;i.removeClass("hide"),u.removeClass("hide"),a.addClass("hide");var s=r.path;i.fileupload("option","formData",{parent_dir:s=="/"?s:s+"/"});if(!p)return;var o=n.$("#upload-menu");o.hasClass("hide")||o.find(".item").removeAttr("style").end().addClass("hide");var f=t.files[0];if(f.name=="."){t.files.shift();return}f.webkitRelativePath&&(f.relative_path=f.webkitRelativePath),f.relativePath&&(f.relative_path=f.relativePath+f.name)}).bind("fileuploadstart",function(){s.html(l.uploading)}).bind("fileuploadsubmit",function(t,n){if(n.files.length==0)return!1;var s=n.files[0];if(s.error)return!1;var o=function(){$.ajax({url:e.getUrl({name:"get_file_op_url",repo_id:r.repo_id}),data:{op_type:"upload",path:r.path},cache:!1,dataType:"json",success:function(e){if(p){var t=s.relative_path,r;t&&(r=t.substring(0,t.lastIndexOf("/")+1));var o=i.fileupload("option","formData");o.relative_path=r||"",i.fileupload("option","formData",o)}n.url=e.url,n.jqXHR=i.fileupload("send",n)},error:function(){s.error=gettext("Failed to get upload url")}})};if(s.relative_path||n.originalFiles.length>1)return o(),!1;var u=function(){$.ajax({url:e.getUrl({name:"get_file_op_url",repo_id:r.repo_id}),data:{op_type:"update",path:r.path},cache:!1,dataType:"json",success:function(e){var t=i.fileupload("option","formData");t.target_file=t.parent_dir+s.name,i.fileupload("option","formData",t),s.to_update=!0,n.url=e.url,n.jqXHR=i.fileupload("send",n)},error:function(){s.error=gettext("Failed to get update url")}})},a=r.where({is_file:!0}),f=[];$(a).each(function(){f.push(this.get("obj_name"))});if(f.indexOf(s.name)!=-1){var l=gettext("Replace file {filename}?").replace("{filename}",''+e.HTMLescape(s.name)+""),c=$(m.fileupdateConfirmTemplate({title:l}));c.modal({onClose:function(){$.modal.close(),s.choose_to_update?u():s.choose_to_upload?o():(n.jqXHR=i.fileupload("send",n),n.jqXHR.abort())}}),$(".yes",c).click(function(){s.choose_to_update=!0,$.modal.close()}),$(".no",c).click(function(){s.choose_to_upload=!0,$.modal.close()})}else o();return!1}).bind("fileuploadprogressall",function(e,t){o.html(parseInt(t.loaded/t.total*100,10)+"% "+'('+$(this).data("blueimp-fileupload")._formatBitrate(t.bitrate)+")").removeClass("hide"),t.loaded>0&&t.loaded==t.total&&f.show()}).bind("fileuploaddone",function(e,t){if(t.textStatus!="success")return;var n=t.files[0],i=n.relative_path,s=t.result[0];s.uploaded=!0,i&&(s.relative_path=i.substring(0,i.lastIndexOf("/")+1)+s.name);var o=r.path;o=o=="/"?o:o+"/";if(t.formData.parent_dir!=o)return;if(!i){n.to_update?h.push(s):c.push(s);return}if(!p)return;var u=i.substring(0,i.indexOf("/")),a=r.where({is_dir:!0,obj_name:u});a.length>0?v.indexOf(u)==-1&&v.push(u):d.indexOf(u)==-1&&d.push(u)}).bind("fileuploadstop",function(){u.addClass("hide"),a.removeClass("hide");var t=r.path;t=t=="/"?t:t+"/";if(i.fileupload("option","formData").parent_dir!=t)return;var s=parseInt((new Date).getTime()/1e3);c.length>0&&($(c).each(function(t,i){var o=r.add({is_file:!0,is_img:e.imageCheck(i.name),obj_name:i.name,last_modified:s,file_size:e.fileSizeFormat(i.size,1),obj_id:i.id,file_icon:"file.png",perm:"rw",last_update:gettext("Just now"),starred:!1},{silent:!0});n.addNewFile(o)}),c=[]),d.length>0&&($(d).each(function(e,i){var o=r.add({is_dir:!0,obj_name:i,perm:"rw",last_modified:s,last_update:gettext("Just now"),p_dpath:t+i},{silent:!0});n.addNewDir(o)}),d=[]),v.length>0&&($(v).each(function(e,t){var n=r.where({is_dir:!0,obj_name:t});n[0].set({last_modified:s,last_update:gettext("Just now")})}),v=[]),h.length>0&&($(h).each(function(t,n){var i=r.where({is_file:!0,obj_name:n.name});i[0].set({obj_id:n.id,file_size:e.fileSizeFormat(n.size,1),last_modified:s,last_update:gettext("Just now")})}),h=[])}).bind("fileuploadcompleted",function(){$(".files .cancel",i).length==0&&(f.hide(),o.addClass("hide"),s.html(l.complete))}).bind("fileuploadfailed",function(e,t){$(".files .cancel",i).length==0&&(u.addClass("hide"),a.removeClass("hide"),o.addClass("hide"),f.hide(),t.errorThrown=="abort"?s.html(l.canceled):s.html(l.failed))});var g=app.pageOptions.max_upload_file_size;g&&i.fileupload("option","maxFileSize",g),i.fileupload("option","redirect",window.location.href.replace(/\/repo\/[-a-z0-9]{36}\/.*/,app.config.mediaUrl+"cors/result.html?%s")),$(document).click(function(e){var t=e.target||event.srcElement,r=function(e,n){!e.hasClass("hide")&&!e.is(t)&&!e.find("*").is(t)&&!n.is(t)&&!n.find("*").is(t)&&e.addClass("hide")};r(n.$("#upload-menu"),n.$("#upload-file"))})},events:{"click .fold-switch":"foldAndUnfoldPopup","click .close":"closePopup"},foldAndUnfoldPopup:function(){var e=this.$el,t=parseInt(this.popup_height),n=$(".fileupload-buttonbar, .table",e);e.height()==t?(e.height($(".hd",e).outerHeight(!0)),n.addClass("hide")):(e.height(t),n.removeClass("hide"))},closePopup:function(){var e=this.$el;e.addClass("hide"),$(".files",e).empty()},setFileInput:function(){var e=this.dirView,t=e.dir,n=this.$el;t.user_perm&&t.user_perm=="rw"&&n.fileupload("option","fileInput",e.$("#upload-file input"));if(!app.pageOptions.enable_upload_folder)return;var r=e.$("#upload-file"),i=e.$("#upload-menu");t.user_perm&&t.user_perm=="rw"&&"webkitdirectory"in $('input[type="file"]',r)[0]&&(r.find("input").remove().end().addClass("cspt"),$(".item",i).click(function(){n.fileupload("option","fileInput",$('input[type="file"]',$(this)))}).hover(function(){$(this).css({background:"#f3f3f3"})},function(){$(this).css({background:"transparent"})}),r.click(function(){i.toggleClass("hide"),i.css({left:r.position().left,top:parseInt(e.$(".repo-op").css("padding-top"))+r.outerHeight(!0)})}))}});return r}),define("app/views/dir",["jquery","jquery.ui.progressbar","jquery.magnific-popup","simplemodal","underscore","backbone","common","file-tree","app/collections/dirents","app/views/dirent","app/views/fileupload","app/views/share"],function(e,t,n,r,i,s,o,u,a,f,l,c){var h=s.View.extend({el:e("#dir-view"),path_bar_template:i.template(e("#dir-path-bar-tmpl").html()),dir_op_bar_template:i.template(e("#dir-op-bar-tmpl").html()),dirents_hd_template:i.template(e("#dirents-hd-tmpl").html()),newDirTemplate:i.template(e("#add-new-dir-form-template").html()),newFileTemplate:i.template(e("#add-new-file-form-template").html()),mvcpTemplate:i.template(e("#mvcp-form-template").html()),mvProgressTemplate:i.template(e("#mv-progress-popup-template").html()),initialize:function(t){this.$dirent_list=this.$(".repo-file-list tbody"),this.$path_bar=this.$(".path"),this.$dir_op_bar=this.$(".repo-op"),this.dir=new a,this.listenTo(this.dir,"add",this.addOne),this.listenTo(this.dir,"reset",this.reset),this.fileUploadView=new l({dirView:this}),this.$el.magnificPopup({type:"image",delegate:".img-name-link",tClose:gettext("Close (Esc)"),tLoading:gettext("Loading..."),gallery:{enabled:!0,tPrev:gettext("Previous (Left arrow key)"),tNext:gettext("Next (Right arrow key)"),tCounter:gettext("%curr% of %total%")},image:{titleSrc:function(e){var t=e.el,n=t[0].innerHTML,r=''+gettext("Open in New Tab")+"";return n+"
                "+r},tError:gettext('The image could not be loaded.')}});var n=this;e(window).scroll(function(){e(n.el).is(":visible")&&n.onWindowScroll()}),app.globalState.noFileOpPopup=!0,e(document).click(function(t){var n=t.target||event.srcElement,r=e(".hidden-op");!app.globalState.noFileOpPopup&&!e(".more-op-icon, .hidden-op").is(n)&&!r.find("*").is(n)&&(r.addClass("hide"),app.globalState.noFileOpPopup=!0,app.globalState.popup_tr.find("*").is(n)||(app.globalState.popup_tr.removeClass("hl").find(".repo-file-op").addClass("vh"),e(".repo-file-list tr:gt(0)").each(function(){e(this).find("*").is(n)&&e(this).addClass("hl").find(".repo-file-op").removeClass("vh")})))})},showDir:function(t,n,r){this.$el.show(),this.$dirent_list.empty();var i=this.$(".loading-tip").show(),s=this.dir;s.setPath(t,n,r);var u=this;s.fetch({reset:!0,data:{p:r},success:function(e,t,n){s.last_start=0,(t.dirent_list.length==0||!t.dirent_more)&&i.hide()},error:function(s,a,f){i.hide();var l=u.$(".repo-file-list-topbar, .repo-file-list").hide(),c=u.$(".error"),h,p=!1;a.responseText?a.responseJSON.lib_need_decrypt?p=!0:h=a.responseJSON.error:h=gettext("Please check the network."),h&&c.html(h).show();if(p){var d=e(e("#repo-decrypt-form-template").html()),v=!1;d.modal({containerCss:{padding:"1px"},onClose:function(){e.modal.close(),l.show(),v||app.router.navigate(t+"/",{trigger:!0})}}),e("#simplemodal-container").css({height:"auto"}),d.submit(function(){var i=e.trim(e('[name="password"]',d).val());return i?(o.ajaxPost({form:d,form_id:d.attr("id"),post_url:o.getUrl({name:"repo_set_password"}),post_data:{repo_id:n,password:i,username:app.pageOptions.username},after_op_success:function(){v=!0,e.modal.close(),u.showDir(t,n,r)}}),!1):(e(".error",d).html(gettext("Password is required.")).removeClass("hide"),!1)})}}})},hide:function(){this.$el.hide()},addOne:function(e){var t=new f({model:e,dirView:this});this.$dirent_list.append(t.render().el)},reset:function(){this.dir.each(this.addOne,this),this.renderPath(),this.renderDirOpBar(),this.renderDirentsHd(),this.fileUploadView.setFileInput(),this.getImageThumbnail()},getImageThumbnail:function(){var t=this.dir.filter(function(e){return e.get("is_img")&&!e.get("thumbnail_src")});if(t.length==0)return;var n=t.length,r=this.dir.repo_id,i=this.dir.path,s=this,u=function(a){var f=t[a],l=o.pathJoin([i,f.get("obj_name")]);e.ajax({url:o.getUrl({name:"thumbnail_create",repo_id:r}),data:{path:l},cache:!1,dataType:"json",success:function(e){f.set({thumbnail_src:e.thumbnail_src})},complete:function(){a'+gettext("Processing...")+"

                ");var r=t.where({selected:!0}),i=[];e(r).each(function(){i.push(this.get("obj_name"))}),e.ajax({url:o.getUrl({name:"del_dirents",repo_id:t.repo_id})+"?parent_dir="+encodeURIComponent(t.path),type:"POST",dataType:"json",beforeSend:o.prepareCSRFToken,traditional:!0,data:{dirents_names:i},success:function(s){var u=s.deleted.length,a=s.undeleted.length,f,l;u>0&&(u==i.length?(t.remove(r),n.$("th .checkbox").removeClass("checkbox-checked"),n.$("#multi-dirents-op").hide()):e(r).each(function(){s["deleted"].indexOf(this.get("obj_name"))!=-1&&t.remove(this)}),u==1?f=gettext("Successfully deleted %(name)s."):u==2?f=gettext("Successfully deleted %(name)s and 1 other item."):f=gettext("Successfully deleted %(name)s and %(amount)s other items."),f=f.replace("%(name)s",o.HTMLescape(s.deleted[0])).replace("%(amount)s",u-1),o.feedback(f,"success")),a>0&&(a==1?l=gettext("Failed to delete %(name)s."):a==2?l=gettext("Failed to delete %(name)s and 1 other item."):l=gettext("Failed to delete %(name)s and %(amount)s other items."),l=l.replace("%(name)s",o.HTMLescape(s.undeleted[0])).replace("%(amount)s",a-1),o.feedback(l,"error")),e.modal.close()},error:function(t,n,r){e.modal.close(),o.ajaxErrorHandler(t,n,r)}})};o.showConfirm(gettext("Delete Items"),gettext("Are you sure you want to delete these selected items?"),r)},mv:function(){this.mvcp({op:"mv"})},cp:function(){this.mvcp({op:"cp"})},mvcp:function(t){var n=this.dir,r=t.op,i=r=="mv"?"Move selected item(s) to:":"Copy selected item(s) to:",s=e(this.mvcpTemplate({form_title:i,op_type:r,obj_type:"",obj_name:"",show_other_repos:!n.encrypted}));s.modal({appendTo:"#main",autoResize:!0,focus:!1}),e("#simplemodal-container").css({width:"auto",height:"auto"}),u.renderTreeForPath({repo_name:n.repo_name,repo_id:n.repo_id,path:n.path}),n.encrypted||u.prepareOtherReposTree({cur_repo_id:n.repo_id});var a=this,f=this.dir,l=f.where({is_dir:!0,selected:!0}),c=f.where({is_file:!0,selected:!0}),h=[],p=[];e(l).each(function(){h.push(this.get("obj_name"))}),e(c).each(function(){p.push(this.get("obj_name"))}),s.submit(function(){var t=e('[name="dst_repo"]',s).val(),n=e('[name="dst_path"]',s).val(),i,u=f.path,d={repo_id:f.repo_id};if(!e.trim(t)||!e.trim(n))return e(".error",s).removeClass("hide"),!1;if(t==f.repo_id&&n==u)return e(".error",s).html(gettext("Invalid destination path")).removeClass("hide"),!1;o.disableButton(e('[type="submit"]',s)),s.append('

                '+gettext("Processing...")+"

                ");if(t==f.repo_id)d.name=r=="mv"?"mv_dirents":"cp_dirents",e.ajax({url:o.getUrl(d)+"?parent_dir="+encodeURIComponent(u),type:"POST",dataType:"json",beforeSend:o.prepareCSRFToken,traditional:!0,data:{file_names:p,dir_names:h,dst_repo:t,dst_path:n},success:function(t){var n=t.success.length,i,s,u=t.url;e.modal.close(),n>0&&(r=="mv"?(n==c.length+l.length?(f.remove(l),f.remove(c),a.$("th .checkbox").removeClass("checkbox-checked"),a.$("#multi-dirents-op").hide()):(e(l).each(function(){this.get("obj_name")in t.success&&f.remove(this)}),e(c).each(function(){this.get("obj_name")in t.success&&f.remove(this)})),n==1?i=gettext("Successfully moved %(name)s."):n==2?i=gettext("Successfully moved %(name)s and 1 other item."):i=gettext("Successfully moved %(name)s and %(amount)s other items.")):n==1?i=gettext("Successfully copied %(name)s."):n==2?i=gettext("Successfully copied %(name)s and 1 other item."):i=gettext("Successfully copied %(name)s and %(amount)s other items."),i=i.replace("%(name)s",o.HTMLescape(t.success[0])).replace("%(amount)s",n-1),o.feedback(i,"success")),t.failed.length>0&&(r=="mv"?t.failed.length>1?s=gettext("Internal error. Failed to move %(name)s and %(amount)s other item(s)."):s=gettext("Internal error. Failed to move %(name)s."):t.failed.length>1?s=gettext("Internal error. Failed to copy %(name)s and %(amount)s other item(s)."):s=gettext("Internal error. Failed to copy %(name)s."),s=s.replace("%(name)s",o.HTMLescape(t.failed[0])).replace("%(amount)s",t.failed.length-1),o.feedback(s,"error"))},error:function(t,n,r){e.modal.close(),o.ajaxErrorHandler(t,n,r)}});else{var v=f.where({selected:!0}),m=0,g=e(a.mvProgressTemplate()),y=e("#mv-details",g),b=e("#cancel-mv",g),w=e("#mv-other-info",g),E=function(){var i=v[m],a=i.get("is_dir")?"dir":"file",l=i.get("obj_name"),c,h;r=="mv"?d.name=a=="dir"?"mv_dir":"mv_file":d.name=a=="dir"?"cp_dir":"cp_file",c=o.getUrl(d)+"?path="+encodeURIComponent(u)+"&obj_name="+encodeURIComponent(l),h={dst_repo:t,dst_path:n};var p=function(t){var n=r=="mv"?gettext("Moving file %(index)s of %(total)s"):gettext("Copying file %(index)s of %(total)s");y.html(n.replace("%(index)s",m+1).replace("%(total)s",v.length)).removeClass("vh"),b.removeClass("hide");var s=function(){var n=t.task_id;b.data("task_id",n),e.ajax({url:o.getUrl({name:"get_cp_progress"})+"?task_id="+encodeURIComponent(n),dataType:"json",success:function(t){var n=e(".ui-progressbar-value",e("#mv-progress"));if(!t.failed&&!t.canceled&&!t.successful)setTimeout(s,1e3);else if(t.successful)n.css("width",parseInt((m+1)/v.length*100,10)+"%").show(),r=="mv"&&f.remove(i),S();else if(t.failed){var u=r=="mv"?gettext("Failed to move %(name)s"):gettext("Failed to copy %(name)s");b.after('

                '+u.replace("%(name)s",o.HTMLescape(l))+"

                "),x()}},error:function(t,n,r){var i;t.responseText?i=e.parseJSON(t.responseText).error:i=gettext("Failed. Please check the network."),b.after('

                '+i+"

                "),x()}})};m==0?(e.modal.close(),setTimeout(function(){g.modal({containerCss:{width:300,height:150,paddingTop:50},focus:!1}),e("#mv-progress").progressbar(),s()},100)):s()};o.ajaxPost({form:s,post_url:c,post_data:h,after_op_success:p,form_id:s.attr("id")})},S=function(){m==v.length-1?setTimeout(function(){e.modal.close()},500):E(++m)},x=function(){setTimeout(function(){e.modal.close()},500)};E(),b.click(function(){o.disableButton(b);var t=e(this).data("task_id");e.ajax({url:o.getUrl({name:"cancel_cp"})+"?task_id="+encodeURIComponent(t),dataType:"json",success:function(e){w.html(gettext("Canceled.")).removeClass("hide"),b.addClass("hide"),x()},error:function(t,n,r){var i;t.responseText?i=e.parseJSON(t.responseText).error:i=gettext("Failed. Please check the network."),w.html(i).removeClass("hide"),o.enableButton(b)}})})}return!1})},onWindowScroll:function(){var t=this.dir,n=t.more_start;if(t.dirent_more&&e(window).scrollTop()+e(window).height()>e(document).height()-e("#footer").outerHeight(!0)&&n!=t.last_start){var r=this.$(".loading-tip"),i=this;t.last_start=n,t.fetch({remove:!1,data:{p:t.path,start:t.more_start},success:function(e,t,n){t.dirent_more||r.hide(),i.getImageThumbnail()},error:function(e,t,n){r.hide(),o.ajaxErrorHandler(e,t,n)}})}var s=this.$dir_op_bar,u=this.$path_bar,a=this.$(".repo-file-list"),f=u.offset().top+u.outerHeight(!0),l={position:"fixed",top:0,left:u.offset().left,"z-index":12};e(window).scrollTop()>=f?(a.css({"margin-top":s.outerHeight(!0)}),s.outerWidth(this.$el.width()).css(l)):(a.css({"margin-top":0}),s.removeAttr("style"))}});return h}),define("app/views/top-group-nav",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({el:".nav .nav-item-group",popupTemplate:t.template(e("#top-group-nav-tmpl").html()),initialize:function(){var t=e(this.popupTemplate({groups:app.pageOptions.top_nav_groups}));this.$el.append(t),t.css({right:(e("#top-nav-grp").outerWidth()-t.outerWidth())/6*5}),this.popup=t},events:{mouseenter:"showPopup",mouseleave:"hidePopup","mouseenter #top-nav-grp-list .item":"highlightGroupItem","mouseleave #top-nav-grp-list .item":"rmHighlightGroupItem","click #top-nav-grp-list .item":"visitGroup"},showPopup:function(e){this.popup.removeClass("hide")},hidePopup:function(e){this.popup.addClass("hide")},highlightGroupItem:function(t){e(t.currentTarget).addClass("hl").children(".a").removeClass("vh")},rmHighlightGroupItem:function(t){e(t.currentTarget).removeClass("hl").children(".a").addClass("vh")},visitGroup:function(t){this.hidePopup(t),location.href=e(t.currentTarget).attr("data-url")}});return i}),define("app/router",["jquery","backbone","common","app/views/myhome","app/views/group","app/views/organization","app/views/dir","app/views/top-group-nav"],function(e,t,n,r,i,s,o,u){var a=t.Router.extend({routes:{"":"showRepos","my-libs/":"showMyRepos","my-libs/lib/:repo_id(/*path)":"showMyRepoDir","my-sub-libs/":"showMySubRepos","my-sub-libs/lib/:repo_id(/*path)":"showMySubRepoDir","shared-libs/":"showSharedRepos","shared-libs/lib/:repo_id(/*path)":"showSharedRepoDir","group/:group_id/":"showGroupRepos","group/:group_id/lib/:repo_id(/*path)":"showGroupRepoDir","org/":"showOrgRepos","org/lib/:repo_id(/*path)":"showOrgRepoDir","common/lib/:repo_id(/*path)":"showCommonDir","starred/":"showStarredFile","*actions":"showRepos"},initialize:function(){n.prepareApiCsrf(),n.initAccountPopup(),n.initNoticePopup(),this.dirView=new o,this.myHomeView=new r({dirView:this.dirView}),this.groupView=new i({dirView:this.dirView}),this.orgView=new s({dirView:this.dirView}),this.currentView=this.myHomeView,app.pageOptions.top_nav_groups.length>0&&(this.topGroupNavView=new u),e("#info-bar .close").click(n.closeTopNoticeBar),e("#top-browser-tip .close").click(function(){e("#top-browser-tip").addClass("hide")})},switchCurrentView:function(e){this.currentView!=e&&(this.currentView.hide(),this.currentView=e)},showRepos:function(){this.switchCurrentView(this.myHomeView),app.pageOptions.can_add_repo?this.myHomeView.showMyRepos():this.myHomeView.showSharedRepos()},showMyRepos:function(){this.switchCurrentView(this.myHomeView),this.myHomeView.showMyRepos()},showMySubRepos:function(){this.switchCurrentView(this.myHomeView),this.myHomeView.showMySubRepos()},showSharedRepos:function(){this.switchCurrentView(this.myHomeView),this.myHomeView.showSharedRepos()},showStarredFile:function(){this.switchCurrentView(this.myHomeView),this.myHomeView.showStarredFile()},showMyRepoDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.myHomeView),this.myHomeView.showDir("my-libs",e,t)},showCommonDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.myHomeView),this.myHomeView.showDir("common",e,t)},showMySubRepoDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.myHomeView),this.myHomeView.showDir("my-sub-libs",e,t)},showSharedRepoDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.myHomeView),this.myHomeView.showDir("shared-libs",e,t)},showGroupRepos:function(e){this.switchCurrentView(this.groupView),this.groupView.showRepoList(e)},showGroupRepoDir:function(e,t,n){n?n="/"+n:n="/",this.switchCurrentView(this.groupView),this.groupView.showDir(e,t,n)},showOrgRepos:function(){this.switchCurrentView(this.orgView),this.orgView.showRepoList()},showOrgRepoDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.orgView),this.orgView.showDir(e,t)}});return a}),define("app/main",["app/router"],function(e){app.router=new e,Backbone.history.start()}),require(["./common"],function(e){require(["app/main"])}),define("main",function(){}); \ No newline at end of file +(function(e,t){typeof module=="object"&&typeof module.exports=="object"?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)})(typeof window!="undefined"?window:this,function(e,t){function g(e){var t=e.length,n=h.type(e);return n==="function"||h.isWindow(e)?!1:e.nodeType===1&&t?!0:n==="array"||t===0||typeof t=="number"&&t>0&&t-1 in e}function S(e,t,n){if(h.isFunction(t))return h.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return h.grep(e,function(e){return e===t!==n});if(typeof t=="string"){if(E.test(t))return h.filter(t,e,n);t=h.filter(t,e)}return h.grep(e,function(e){return h.inArray(e,t)>=0!==n})}function A(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function _(e){var t=M[e]={};return h.each(e.match(O)||[],function(e,n){t[n]=!0}),t}function P(){T.addEventListener?(T.removeEventListener("DOMContentLoaded",H,!1),e.removeEventListener("load",H,!1)):(T.detachEvent("onreadystatechange",H),e.detachEvent("onload",H))}function H(){if(T.addEventListener||event.type==="load"||T.readyState==="complete")P(),h.ready()}function q(e,t,n){if(n===undefined&&e.nodeType===1){var r="data-"+t.replace(I,"-$1").toLowerCase();n=e.getAttribute(r);if(typeof n=="string"){try{n=n==="true"?!0:n==="false"?!1:n==="null"?null:+n+""===n?+n:F.test(n)?h.parseJSON(n):n}catch(i){}h.data(e,t,n)}else n=undefined}return n}function R(e){var t;for(t in e){if(t==="data"&&h.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function U(e,t,r,i){if(!h.acceptData(e))return;var s,o,u=h.expando,a=e.nodeType,f=a?h.cache:e,l=a?e[u]:e[u]&&u;if((!l||!f[l]||!i&&!f[l].data)&&r===undefined&&typeof t=="string")return;l||(a?l=e[u]=n.pop()||h.guid++:l=u),f[l]||(f[l]=a?{}:{toJSON:h.noop});if(typeof t=="object"||typeof t=="function")i?f[l]=h.extend(f[l],t):f[l].data=h.extend(f[l].data,t);return o=f[l],i||(o.data||(o.data={}),o=o.data),r!==undefined&&(o[h.camelCase(t)]=r),typeof t=="string"?(s=o[t],s==null&&(s=o[h.camelCase(t)])):s=o,s}function z(e,t,n){if(!h.acceptData(e))return;var r,i,s=e.nodeType,o=s?h.cache:e,u=s?e[h.expando]:h.expando;if(!o[u])return;if(t){r=n?o[u]:o[u].data;if(r){h.isArray(t)?t=t.concat(h.map(t,h.camelCase)):t in r?t=[t]:(t=h.camelCase(t),t in r?t=[t]:t=t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!R(r):!h.isEmptyObject(r))return}}if(!n){delete o[u].data;if(!R(o[u]))return}s?h.cleanData([e],!0):l.deleteExpando||o!=o.window?delete o[u]:o[u]=null}function et(){return!0}function tt(){return!1}function nt(){try{return T.activeElement}catch(e){}}function rt(e){var t=it.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function wt(e,t){var n,r,i=0,s=typeof e.getElementsByTagName!==B?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==B?e.querySelectorAll(t||"*"):undefined;if(!s)for(s=[],n=e.childNodes||e;(r=n[i])!=null;i++)!t||h.nodeName(r,t)?s.push(r):h.merge(s,wt(r,t));return t===undefined||t&&h.nodeName(e,t)?h.merge([e],s):s}function Et(e){J.test(e.type)&&(e.defaultChecked=e.checked)}function St(e,t){return h.nodeName(e,"table")&&h.nodeName(t.nodeType!==11?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function xt(e){return e.type=(h.find.attr(e,"type")!==null)+"/"+e.type,e}function Tt(e){var t=vt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Nt(e,t){var n,r=0;for(;(n=e[r])!=null;r++)h._data(n,"globalEval",!t||h._data(t[r],"globalEval"))}function Ct(e,t){if(t.nodeType!==1||!h.hasData(e))return;var n,r,i,s=h._data(e),o=h._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r")).appendTo(t.documentElement),t=(Lt[0].contentWindow||Lt[0].contentDocument).document,t.write(),t.close(),n=Ot(e,t),Lt.detach();At[e]=n}return n}function jt(e,t){return{get:function(){var n=e();if(n==null)return;if(n){delete this.get;return}return(this.get=t).apply(this,arguments)}}}function Vt(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Xt.length;while(i--){t=Xt[i]+n;if(t in e)return t}return r}function $t(e,t){var n,r,i,s=[],o=0,u=e.length;for(;o=0&&n=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||h.type(e)!=="object"||e.nodeType||h.isWindow(e))return!1;try{if(e.constructor&&!f.call(e,"constructor")&&!f.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(l.ownLast)for(t in e)return f.call(e,t);for(t in e);return t===undefined||f.call(e,t)},type:function(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?u[a.call(e)]||"object":typeof e},globalEval:function(t){t&&h.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(d,"ms-").replace(v,m)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,s=e.length,o=g(e);if(n)if(o)for(;ir.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function at(e){return e[w]=!0,e}function ft(e){var t=p.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function lt(e,t){var n=e.split("|"),i=e.length;while(i--)r.attrHandle[n[i]]=t}function ct(e,t){var n=t&&e,r=n&&e.nodeType===1&&t.nodeType===1&&(~t.sourceIndex||L)-(~e.sourceIndex||L);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ht(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function pt(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function dt(e){return at(function(t){return t=+t,at(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function vt(e){return e&&typeof e.getElementsByTagName!="undefined"&&e}function mt(){}function gt(e){var t=0,n=e.length,r="";for(;t1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function wt(e,t,n){var r=0,i=t.length;for(;r-1&&(s[f]=!(o[f]=c))}}else g=Et(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):D.apply(o,g)})}function xt(e){var t,n,i,s=e.length,o=r.relative[e[0].type],u=o||r.relative[" "],a=o?1:0,l=yt(function(e){return e===t},u,!0),c=yt(function(e){return H(t,e)>-1},u,!0),h=[function(e,n,r){var i=!o&&(r||n!==f)||((t=n).nodeType?l(e,n,r):c(e,n,r));return t=null,i}];for(;a1&&bt(h),a>1&>(e.slice(0,a-1).concat({value:e[a-2].type===" "?"*":""})).replace(z,"$1"),n,a0,i=e.length>0,s=function(s,o,u,a,l){var c,h,d,v=0,m="0",g=s&&[],y=[],b=f,w=s||i&&r.find.TAG("*",l),E=S+=b==null?1:Math.random()||.1,x=w.length;l&&(f=o!==p&&o);for(;m!==x&&(c=w[m])!=null;m++){if(i&&c){h=0;while(d=e[h++])if(d(c,o,u)){a.push(c);break}l&&(S=E)}n&&((c=!d&&c)&&v--,s&&g.push(c))}v+=m;if(n&&m!==v){h=0;while(d=t[h++])d(g,y,o,u);if(s){if(v>0)while(m--)!g[m]&&!y[m]&&(y[m]=M.call(a));y=Et(y)}D.apply(a,y),l&&!s&&y.length>0&&v+t.length>1&&ot.uniqueSort(a)}return l&&(S=E,f=b),g};return n?at(s):s}var t,n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b,w="sizzle"+1*new Date,E=e.document,S=0,x=0,T=ut(),N=ut(),C=ut(),k=function(e,t){return e===t&&(c=!0),0},L=1<<31,A={}.hasOwnProperty,O=[],M=O.pop,_=O.push,D=O.push,P=O.slice,H=function(e,t){var n=0,r=e.length;for(;n+~]|"+j+")"+j+"*"),V=new RegExp("="+j+"*([^\\]'\"]*?)"+j+"*\\]","g"),$=new RegExp(R),J=new RegExp("^"+I+"$"),K={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F.replace("w","w*")+")"),ATTR:new RegExp("^"+q),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+B+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/[+~]/,tt=/'|\\/g,nt=new RegExp("\\\\([\\da-f]{1,6}"+j+"?|("+j+")|.)","ig"),rt=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)},it=function(){h()};try{D.apply(O=P.call(E.childNodes),E.childNodes),O[E.childNodes.length].nodeType}catch(st){D={apply:O.length?function(e,t){_.apply(e,P.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}n=ot.support={},s=ot.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},h=ot.setDocument=function(e){var t,i,o=e?e.ownerDocument||e:E;if(o===p||o.nodeType!==9||!o.documentElement)return p;p=o,d=o.documentElement,i=o.defaultView,i&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",it,!1):i.attachEvent&&i.attachEvent("onunload",it)),v=!s(o),n.attributes=ft(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ft(function(e){return e.appendChild(o.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Y.test(o.getElementsByClassName),n.getById=ft(function(e){return d.appendChild(e).id=w,!o.getElementsByName||!o.getElementsByName(w).length}),n.getById?(r.find.ID=function(e,t){if(typeof t.getElementById!="undefined"&&v){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},r.filter.ID=function(e){var t=e.replace(nt,rt);return function(e){return e.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(e){var t=e.replace(nt,rt);return function(e){var n=typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id");return n&&n.value===t}}),r.find.TAG=n.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!="undefined")return t.getElementsByTagName(e);if(n.qsa)return t.querySelectorAll(e)}:function(e,t){var n,r=[],i=0,s=t.getElementsByTagName(e);if(e==="*"){while(n=s[i++])n.nodeType===1&&r.push(n);return r}return s},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(v)return t.getElementsByClassName(e)},g=[],m=[];if(n.qsa=Y.test(o.querySelectorAll))ft(function(e){d.appendChild(e).innerHTML=""+"",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+j+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+j+"*(?:value|"+B+")"),e.querySelectorAll("[id~="+w+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||m.push(".#.+[+~]")}),ft(function(e){var t=o.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+j+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")});return(n.matchesSelector=Y.test(y=d.matches||d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ft(function(e){n.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),g.push("!=",R)}),m=m.length&&new RegExp(m.join("|")),g=g.length&&new RegExp(g.join("|")),t=Y.test(d.compareDocumentPosition),b=t||Y.test(d.contains)?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!r&&r.nodeType===1&&!!(n.contains?n.contains(r):e.compareDocumentPosition&&e.compareDocumentPosition(r)&16)}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},k=t?function(e,t){if(e===t)return c=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,r&1||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===o||e.ownerDocument===E&&b(E,e)?-1:t===o||t.ownerDocument===E&&b(E,t)?1:l?H(l,e)-H(l,t):0:r&4?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,s=t.parentNode,u=[e],a=[t];if(!i||!s)return e===o?-1:t===o?1:i?-1:s?1:l?H(l,e)-H(l,t):0;if(i===s)return ct(e,t);n=e;while(n=n.parentNode)u.unshift(n);n=t;while(n=n.parentNode)a.unshift(n);while(u[r]===a[r])r++;return r?ct(u[r],a[r]):u[r]===E?-1:a[r]===E?1:0},o},ot.matches=function(e,t){return ot(e,null,null,t)},ot.matchesSelector=function(e,t){(e.ownerDocument||e)!==p&&h(e),t=t.replace(V,"='$1']");if(n.matchesSelector&&v&&(!g||!g.test(t))&&(!m||!m.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&e.document.nodeType!==11)return r}catch(i){}return ot(t,p,null,[e]).length>0},ot.contains=function(e,t){return(e.ownerDocument||e)!==p&&h(e),b(e,t)},ot.attr=function(e,t){(e.ownerDocument||e)!==p&&h(e);var i=r.attrHandle[t.toLowerCase()],s=i&&A.call(r.attrHandle,t.toLowerCase())?i(e,t,!v):undefined;return s!==undefined?s:n.attributes||!v?e.getAttribute(t):(s=e.getAttributeNode(t))&&s.specified?s.value:null},ot.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ot.uniqueSort=function(e){var t,r=[],i=0,s=0;c=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(k);if(c){while(t=e[s++])t===e[s]&&(i=r.push(s));while(i--)e.splice(r[i],1)}return l=null,e},i=ot.getText=function(e){var t,n="",r=0,s=e.nodeType;if(!s)while(t=e[r++])n+=i(t);else if(s===1||s===9||s===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(s===3||s===4)return e.nodeValue;return n},r=ot.selectors={cacheLength:50,createPseudo:at,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(nt,rt),e[3]=(e[3]||e[4]||e[5]||"").replace(nt,rt),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1].slice(0,3)==="nth"?(e[3]||ot.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd")),e[5]=+(e[7]+e[8]||e[3]==="odd")):e[3]&&ot.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&$.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(nt,rt).toLowerCase();return e==="*"?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=T[e+" "];return t||(t=new RegExp("(^|"+j+")"+e+"("+j+"|$)"))&&T(e,function(e){return t.test(typeof e.className=="string"&&e.className||typeof e.getAttribute!="undefined"&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=ot.attr(r,e);return i==null?t==="!=":t?(i+="",t==="="?i===n:t==="!="?i!==n:t==="^="?n&&i.indexOf(n)===0:t==="*="?n&&i.indexOf(n)>-1:t==="$="?n&&i.slice(-n.length)===n:t==="~="?(" "+i.replace(U," ")+" ").indexOf(n)>-1:t==="|="?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var s=e.slice(0,3)!=="nth",o=e.slice(-4)!=="last",u=t==="of-type";return r===1&&i===0?function(e){return!!e.parentNode}:function(t,n,a){var f,l,c,h,p,d,v=s!==o?"nextSibling":"previousSibling",m=t.parentNode,g=u&&t.nodeName.toLowerCase(),y=!a&&!u;if(m){if(s){while(v){c=t;while(c=c[v])if(u?c.nodeName.toLowerCase()===g:c.nodeType===1)return!1;d=v=e==="only"&&!d&&"nextSibling"}return!0}d=[o?m.firstChild:m.lastChild];if(o&&y){l=m[w]||(m[w]={}),f=l[e]||[],p=f[0]===S&&f[1],h=f[0]===S&&f[2],c=p&&m.childNodes[p];while(c=++p&&c&&c[v]||(h=p=0)||d.pop())if(c.nodeType===1&&++h&&c===t){l[e]=[S,p,h];break}}else if(y&&(f=(t[w]||(t[w]={}))[e])&&f[0]===S)h=f[1];else while(c=++p&&c&&c[v]||(h=p=0)||d.pop())if((u?c.nodeName.toLowerCase()===g:c.nodeType===1)&&++h){y&&((c[w]||(c[w]={}))[e]=[S,h]);if(c===t)break}return h-=i,h===r||h%r===0&&h/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ot.error("unsupported pseudo: "+e);return i[w]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?at(function(e,n){var r,s=i(e,t),o=s.length;while(o--)r=H(e,s[o]),e[r]=!(n[r]=s[o])}):function(e){return i(e,0,n)}):i}},pseudos:{not:at(function(e){var t=[],n=[],r=u(e.replace(z,"$1"));return r[w]?at(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),t[0]=null,!n.pop()}}),has:at(function(e){return function(t){return ot(e,t).length>0}}),contains:at(function(e){return e=e.replace(nt,rt),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:at(function(e){return J.test(e||"")||ot.error("unsupported lang: "+e),e=e.replace(nt,rt).toLowerCase(),function(t){var n;do if(n=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||n.indexOf(e+"-")===0;while((t=t.parentNode)&&t.nodeType===1);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return G.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},text:function(e){var t;return e.nodeName.toLowerCase()==="input"&&e.type==="text"&&((t=e.getAttribute("type"))==null||t.toLowerCase()==="text")},first:dt(function(){return[0]}),last:dt(function(e,t){return[t-1]}),eq:dt(function(e,t,n){return[n<0?n+t:n]}),even:dt(function(e,t){var n=0;for(;n=0;)e.push(r);return e}),gt:dt(function(e,t,n){var r=n<0?n+t:n;for(;++r2&&(l=f[0]).type==="ID"&&n.getById&&t.nodeType===9&&v&&r.relative[f[1].type]){t=(r.find.ID(l.matches[0].replace(nt,rt),t)||[])[0];if(!t)return i;p&&(t=t.parentNode),e=e.slice(f.shift().value.length)}a=K.needsContext.test(e)?0:f.length;while(a--){l=f[a];if(r.relative[c=l.type])break;if(h=r.find[c])if(s=h(l.matches[0].replace(nt,rt),et.test(f[0].type)&&vt(t.parentNode)||t)){f.splice(a,1),e=s.length&>(f);if(!e)return D.apply(i,s),i;break}}}return(p||u(e,d))(s,t,!v,i,et.test(e)&&vt(t.parentNode)||t),i},n.sortStable=w.split("").sort(k).join("")===w,n.detectDuplicates=!!c,h(),n.sortDetached=ft(function(e){return e.compareDocumentPosition(p.createElement("div"))&1}),ft(function(e){return e.innerHTML="",e.firstChild.getAttribute("href")==="#"})||lt("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,t.toLowerCase()==="type"?1:2)}),(!n.attributes||!ft(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),e.firstChild.getAttribute("value")===""}))&<("value",function(e,t,n){if(!n&&e.nodeName.toLowerCase()==="input")return e.defaultValue}),ft(function(e){return e.getAttribute("disabled")==null})||lt(B,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),ot}(e);h.find=y,h.expr=y.selectors,h.expr[":"]=h.expr.pseudos,h.unique=y.uniqueSort,h.text=y.getText,h.isXMLDoc=y.isXML,h.contains=y.contains;var b=h.expr.match.needsContext,w=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^.[^:#\[\.,]*$/;h.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),t.length===1&&r.nodeType===1?h.find.matchesSelector(r,e)?[r]:[]:h.find.matches(e,h.grep(t,function(e){return e.nodeType===1}))},h.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if(typeof e!="string")return this.pushStack(h(e).filter(function(){for(t=0;t1?h.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(S(this,e||[],!1))},not:function(e){return this.pushStack(S(this,e||[],!0))},is:function(e){return!!S(this,typeof e=="string"&&b.test(e)?h(e):e||[],!1).length}});var x,T=e.document,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=h.fn.init=function(e,t){var n,r;if(!e)return this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?n=[null,e,null]:n=N.exec(e);if(n&&(n[1]||!t)){if(n[1]){t=t instanceof h?t[0]:t,h.merge(this,h.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:T,!0));if(w.test(n[1])&&h.isPlainObject(t))for(n in t)h.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}r=T.getElementById(n[2]);if(r&&r.parentNode){if(r.id!==n[2])return x.find(e);this.length=1,this[0]=r}return this.context=T,this.selector=e,this}return!t||t.jquery?(t||x).find(e):this.constructor(t).find(e)}return e.nodeType?(this.context=this[0]=e,this.length=1,this):h.isFunction(e)?typeof x.ready!="undefined"?x.ready(e):e(h):(e.selector!==undefined&&(this.selector=e.selector,this.context=e.context),h.makeArray(e,this))};C.prototype=h.fn,x=h(T);var k=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};h.extend({dir:function(e,t,n){var r=[],i=e[t];while(i&&i.nodeType!==9&&(n===undefined||i.nodeType!==1||!h(i).is(n)))i.nodeType===1&&r.push(i),i=i[t];return r},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}}),h.fn.extend({has:function(e){var t,n=h(e,this),r=n.length;return this.filter(function(){for(t=0;t-1:n.nodeType===1&&h.find.matchesSelector(n,e))){s.push(n);break}return this.pushStack(s.length>1?h.unique(s):s)},index:function(e){return e?typeof e=="string"?h.inArray(this[0],h(e)):h.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(h.unique(h.merge(this.get(),h(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),h.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return h.dir(e,"parentNode")},parentsUntil:function(e,t,n){return h.dir(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return h.dir(e,"nextSibling")},prevAll:function(e){return h.dir(e,"previousSibling")},nextUntil:function(e,t,n){return h.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return h.dir(e,"previousSibling",n)},siblings:function(e){return h.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return h.sibling(e.firstChild)},contents:function(e){return h.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:h.merge([],e.childNodes)}},function(e,t){h.fn[e]=function(n,r){var i=h.map(this,t,n);return e.slice(-5)!=="Until"&&(r=n),r&&typeof r=="string"&&(i=h.filter(r,i)),this.length>1&&(L[e]||(i=h.unique(i)),k.test(e)&&(i=i.reverse())),this.pushStack(i)}});var O=/\S+/g,M={};h.Callbacks=function(e){e=typeof e=="string"?M[e]||_(e):h.extend({},e);var t,n,r,i,s,o,u=[],a=!e.once&&[],f=function(c){n=e.memory&&c,r=!0,s=o||0,o=0,i=u.length,t=!0;for(;u&&s-1)u.splice(r,1),t&&(r<=i&&i--,r<=s&&s--)}),this},has:function(e){return e?h.inArray(e,u)>-1:!!u&&!!u.length},empty:function(){return u=[],i=0,this},disable:function(){return u=a=n=undefined,this},disabled:function(){return!u},lock:function(){return a=undefined,n||l.disable(),this},locked:function(){return!a},fireWith:function(e,n){return u&&(!r||a)&&(n=n||[],n=[e,n.slice?n.slice():n],t?a.push(n):f(n)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},h.extend({Deferred:function(e){var t=[["resolve","done",h.Callbacks("once memory"),"resolved"],["reject","fail",h.Callbacks("once memory"),"rejected"],["notify","progress",h.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return h.Deferred(function(n){h.each(t,function(t,s){var o=h.isFunction(e[t])&&e[t];i[s[1]](function(){var e=o&&o.apply(this,arguments);e&&h.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s[0]+"With"](this===r?n.promise():this,o?[e]:arguments)})}),e=null}).promise()},promise:function(e){return e!=null?h.extend(e,r):r}},i={};return r.pipe=r.then,h.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=function(){return i[s[0]+"With"](this===i?r:this,arguments),this},i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=r.call(arguments),i=n.length,s=i!==1||e&&h.isFunction(e.promise)?i:0,o=s===1?e:h.Deferred(),u=function(e,t,n){return function(i){t[e]=this,n[e]=arguments.length>1?r.call(arguments):i,n===a?o.notifyWith(t,n):--s||o.resolveWith(t,n)}},a,f,l;if(i>1){a=new Array(i),f=new Array(i),l=new Array(i);for(;t0)return;D.resolveWith(T,[h]),h.fn.triggerHandler&&(h(T).triggerHandler("ready"),h(T).off("ready"))}}),h.ready.promise=function(t){if(!D){D=h.Deferred();if(T.readyState==="complete")setTimeout(h.ready);else if(T.addEventListener)T.addEventListener("DOMContentLoaded",H,!1),e.addEventListener("load",H,!1);else{T.attachEvent("onreadystatechange",H),e.attachEvent("onload",H);var n=!1;try{n=e.frameElement==null&&T.documentElement}catch(r){}n&&n.doScroll&&function i(){if(!h.isReady){try{n.doScroll("left")}catch(e){return setTimeout(i,50)}P(),h.ready()}}()}}return D.promise(t)};var B=typeof undefined,j;for(j in h(l))break;l.ownLast=j!=="0",l.inlineBlockNeedsLayout=!1,h(function(){var e,t,n,r;n=T.getElementsByTagName("body")[0];if(!n||!n.style)return;t=T.createElement("div"),r=T.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),typeof t.style.zoom!==B&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",l.inlineBlockNeedsLayout=e=t.offsetWidth===3,e&&(n.style.zoom=1)),n.removeChild(r)}),function(){var e=T.createElement("div");if(l.deleteExpando==null){l.deleteExpando=!0;try{delete e.test}catch(t){l.deleteExpando=!1}}e=null}(),h.acceptData=function(e){var t=h.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return n!==1&&n!==9?!1:!t||t!==!0&&e.getAttribute("classid")===t};var F=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,I=/([A-Z])/g;h.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?h.cache[e[h.expando]]:e[h.expando],!!e&&!R(e)},data:function(e,t,n){return U(e,t,n)},removeData:function(e,t){return z(e,t)},_data:function(e,t,n){return U(e,t,n,!0)},_removeData:function(e,t){return z(e,t,!0)}}),h.fn.extend({data:function(e,t){var n,r,i,s=this[0],o=s&&s.attributes;if(e===undefined){if(this.length){i=h.data(s);if(s.nodeType===1&&!h._data(s,"parsedAttrs")){n=o.length;while(n--)o[n]&&(r=o[n].name,r.indexOf("data-")===0&&(r=h.camelCase(r.slice(5)),q(s,r,i[r])));h._data(s,"parsedAttrs",!0)}}return i}return typeof e=="object"?this.each(function(){h.data(this,e)}):arguments.length>1?this.each(function(){h.data(this,e,t)}):s?q(s,e,h.data(s,e)):undefined},removeData:function(e){return this.each(function(){h.removeData(this,e)})}}),h.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=h._data(e,t),n&&(!r||h.isArray(n)?r=h._data(e,t,h.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=h.queue(e,t),r=n.length,i=n.shift(),s=h._queueHooks(e,t),o=function(){h.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return h._data(e,n)||h._data(e,n,{empty:h.Callbacks("once memory").add(function(){h._removeData(e,t+"queue"),h._removeData(e,n)})})}}),h.fn.extend({queue:function(e,t){var n=2;return typeof e!="string"&&(t=e,e="fx",n--),arguments.length
                a",l.leadingWhitespace=t.firstChild.nodeType===3,l.tbody=!t.getElementsByTagName("tbody").length,l.htmlSerialize=!!t.getElementsByTagName("link").length,l.html5Clone=T.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",e.type="checkbox",e.checked=!0,n.appendChild(e),l.appendChecked=e.checked,t.innerHTML="",l.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,n.appendChild(t),t.innerHTML="",l.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",function(){l.noCloneEvent=!1}),t.cloneNode(!0).click());if(l.deleteExpando==null){l.deleteExpando=!0;try{delete t.test}catch(r){l.deleteExpando=!1}}})(),function(){var t,n,r=T.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(l[t+"Bubbles"]=n in e)||(r.setAttribute(n,"t"),l[t+"Bubbles"]=r.attributes[n].expando===!1);r=null}();var K=/^(?:input|select|textarea)$/i,Q=/^key/,G=/^(?:mouse|pointer|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=/^([^.]*)(?:\.(.+)|)$/;h.event={global:{},add:function(e,t,n,r,i){var s,o,u,a,f,l,c,p,d,v,m,g=h._data(e);if(!g)return;n.handler&&(a=n,n=a.handler,i=a.selector),n.guid||(n.guid=h.guid++),(o=g.events)||(o=g.events={}),(l=g.handle)||(l=g.handle=function(e){return typeof h===B||!!e&&h.event.triggered===e.type?undefined:h.event.dispatch.apply(l.elem,arguments)},l.elem=e),t=(t||"").match(O)||[""],u=t.length;while(u--){s=Z.exec(t[u])||[],d=m=s[1],v=(s[2]||"").split(".").sort();if(!d)continue;f=h.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=h.event.special[d]||{},c=h.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&h.expr.match.needsContext.test(i),namespace:v.join(".")},a);if(!(p=o[d])){p=o[d]=[],p.delegateCount=0;if(!f.setup||f.setup.call(e,r,v,l)===!1)e.addEventListener?e.addEventListener(d,l,!1):e.attachEvent&&e.attachEvent("on"+d,l)}f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),h.event.global[d]=!0}e=null},remove:function(e,t,n,r,i){var s,o,u,a,f,l,c,p,d,v,m,g=h.hasData(e)&&h._data(e);if(!g||!(l=g.events))return;t=(t||"").match(O)||[""],f=t.length;while(f--){u=Z.exec(t[f])||[],d=m=u[1],v=(u[2]||"").split(".").sort();if(!d){for(d in l)h.event.remove(e,d+t[f],n,r,!0);continue}c=h.event.special[d]||{},d=(r?c.delegateType:c.bindType)||d,p=l[d]||[],u=u[2]&&new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=p.length;while(s--)o=p[s],(i||m===o.origType)&&(!n||n.guid===o.guid)&&(!u||u.test(o.namespace))&&(!r||r===o.selector||r==="**"&&o.selector)&&(p.splice(s,1),o.selector&&p.delegateCount--,c.remove&&c.remove.call(e,o));a&&!p.length&&((!c.teardown||c.teardown.call(e,v,g.handle)===!1)&&h.removeEvent(e,d,g.handle),delete l[d])}h.isEmptyObject(l)&&(delete g.handle,h._removeData(e,"events"))},trigger:function(t,n,r,i){var s,o,u,a,l,c,p,d=[r||T],v=f.call(t,"type")?t.type:t,m=f.call(t,"namespace")?t.namespace.split("."):[];u=c=r=r||T;if(r.nodeType===3||r.nodeType===8)return;if(Y.test(v+h.event.triggered))return;v.indexOf(".")>=0&&(m=v.split("."),v=m.shift(),m.sort()),o=v.indexOf(":")<0&&"on"+v,t=t[h.expando]?t:new h.Event(v,typeof t=="object"&&t),t.isTrigger=i?2:3,t.namespace=m.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=r),n=n==null?[t]:h.makeArray(n,[t]),l=h.event.special[v]||{};if(!i&&l.trigger&&l.trigger.apply(r,n)===!1)return;if(!i&&!l.noBubble&&!h.isWindow(r)){a=l.delegateType||v,Y.test(a+v)||(u=u.parentNode);for(;u;u=u.parentNode)d.push(u),c=u;c===(r.ownerDocument||T)&&d.push(c.defaultView||c.parentWindow||e)}p=0;while((u=d[p++])&&!t.isPropagationStopped())t.type=p>1?a:l.bindType||v,s=(h._data(u,"events")||{})[t.type]&&h._data(u,"handle"),s&&s.apply(u,n),s=o&&u[o],s&&s.apply&&h.acceptData(u)&&(t.result=s.apply(u,n),t.result===!1&&t.preventDefault());t.type=v;if(!i&&!t.isDefaultPrevented()&&(!l._default||l._default.apply(d.pop(),n)===!1)&&h.acceptData(r)&&o&&r[v]&&!h.isWindow(r)){c=r[o],c&&(r[o]=null),h.event.triggered=v;try{r[v]()}catch(g){}h.event.triggered=undefined,c&&(r[o]=c)}return t.result},dispatch:function(e){e=h.event.fix(e);var t,n,i,s,o,u=[],a=r.call(arguments),f=(h._data(this,"events")||{})[e.type]||[],l=h.event.special[e.type]||{};a[0]=e,e.delegateTarget=this;if(l.preDispatch&&l.preDispatch.call(this,e)===!1)return;u=h.event.handlers.call(this,e,f),t=0;while((s=u[t++])&&!e.isPropagationStopped()){e.currentTarget=s.elem,o=0;while((i=s.handlers[o++])&&!e.isImmediatePropagationStopped())if(!e.namespace_re||e.namespace_re.test(i.namespace))e.handleObj=i,e.data=i.data,n=((h.event.special[i.origType]||{}).handle||i.handler).apply(s.elem,a),n!==undefined&&(e.result=n)===!1&&(e.preventDefault(),e.stopPropagation())}return l.postDispatch&&l.postDispatch.call(this,e),e.result},handlers:function(e,t){var n,r,i,s,o=[],u=t.delegateCount,a=e.target;if(u&&a.nodeType&&(!e.button||e.type!=="click"))for(;a!=this;a=a.parentNode||this)if(a.nodeType===1&&(a.disabled!==!0||e.type!=="click")){i=[];for(s=0;s=0:h.find(n,this,null,[a]).length),i[n]&&i.push(r);i.length&&o.push({elem:a,handlers:i})}return u]","i"),ut=/^\s+/,at=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ft=/<([\w:]+)/,lt=/\s*$/g,gt={option:[1,""],legend:[1,"
                ","
                "],area:[1,"",""],param:[1,"",""],thead:[1,"","
                "],tr:[2,"","
                "],col:[2,"","
                "],td:[3,"","
                "],_default:l.htmlSerialize?[0,"",""]:[1,"X
                ","
                "]},yt=rt(T),bt=yt.appendChild(T.createElement("div"));gt.optgroup=gt.option,gt.tbody=gt.tfoot=gt.colgroup=gt.caption=gt.thead,gt.th=gt.td,h.extend({clone:function(e,t,n){var r,i,s,o,u,a=h.contains(e.ownerDocument,e);l.html5Clone||h.isXMLDoc(e)||!ot.test("<"+e.nodeName+">")?s=e.cloneNode(!0):(bt.innerHTML=e.outerHTML,bt.removeChild(s=bt.firstChild));if((!l.noCloneEvent||!l.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!h.isXMLDoc(e)){r=wt(s),u=wt(e);for(o=0;(i=u[o])!=null;++o)r[o]&&kt(i,r[o])}if(t)if(n){u=u||wt(e),r=r||wt(s);for(o=0;(i=u[o])!=null;o++)Ct(i,r[o])}else Ct(e,s);return r=wt(s,"script"),r.length>0&&Nt(r,!a&&wt(e,"script")),r=u=i=null,s},buildFragment:function(e,t,n,r){var i,s,o,u,a,f,c,p=e.length,d=rt(t),v=[],m=0;for(;m")+c[2],i=c[0];while(i--)u=u.lastChild;!l.leadingWhitespace&&ut.test(s)&&v.push(t.createTextNode(ut.exec(s)[0]));if(!l.tbody){s=a==="table"&&!lt.test(s)?u.firstChild:c[1]===""&&!lt.test(s)?u:0,i=s&&s.childNodes.length;while(i--)h.nodeName(f=s.childNodes[i],"tbody")&&!f.childNodes.length&&s.removeChild(f)}h.merge(v,u.childNodes),u.textContent="";while(u.firstChild)u.removeChild(u.firstChild);u=d.lastChild}}u&&d.removeChild(u),l.appendChecked||h.grep(wt(v,"input"),Et),m=0;while(s=v[m++]){if(r&&h.inArray(s,r)!==-1)continue;o=h.contains(s.ownerDocument,s),u=wt(d.appendChild(s),"script"),o&&Nt(u);if(n){i=0;while(s=u[i++])dt.test(s.type||"")&&n.push(s)}}return u=null,d},cleanData:function(e,t){var r,i,s,o,u=0,a=h.expando,f=h.cache,c=l.deleteExpando,p=h.event.special;for(;(r=e[u])!=null;u++)if(t||h.acceptData(r)){s=r[a],o=s&&f[s];if(o){if(o.events)for(i in o.events)p[i]?h.event.remove(r,i):h.removeEvent(r,i,o.handle);f[s]&&(delete f[s],c?delete r[a]:typeof r.removeAttribute!==B?r.removeAttribute(a):r[a]=null,n.push(s))}}}}),h.fn.extend({text:function(e){return $(this,function(e){return e===undefined?h.text(this):this.empty().append((this[0]&&this[0].ownerDocument||T).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=St(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=St(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?h.filter(e,this):this,i=0;for(;(n=r[i])!=null;i++)!t&&n.nodeType===1&&h.cleanData(wt(n)),n.parentNode&&(t&&h.contains(n.ownerDocument,n)&&Nt(wt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&h.cleanData(wt(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&h.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return h.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined)return t.nodeType===1?t.innerHTML.replace(st,""):undefined;if(typeof e=="string"&&!ht.test(e)&&(l.htmlSerialize||!ot.test(e))&&(l.leadingWhitespace||!ut.test(e))&&!gt[(ft.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(at,"<$1>");try{for(;n1&&typeof v=="string"&&!l.checkClone&&pt.test(v))return this.each(function(n){var r=p.eq(n);m&&(e[0]=v.call(this,n,r.html())),r.domManip(e,t)});if(c){a=h.buildFragment(e,this[0].ownerDocument,!1,this),n=a.firstChild,a.childNodes.length===1&&(a=n);if(n){o=h.map(wt(a,"script"),xt),s=o.length;for(;f
                t
                ",a=t.getElementsByTagName("td"),a[0].style.cssText="margin:0;border:0;padding:0;display:none",o=a[0].offsetHeight===0,o&&(a[0].style.display="",a[1].style.display="none",o=a[0].offsetHeight===0),n.removeChild(r)}var t,n,r,i,s,o,u;t=T.createElement("div"),t.innerHTML="
                a",r=t.getElementsByTagName("a")[0],n=r&&r.style;if(!n)return;n.cssText="float:left;opacity:.5",l.opacity=n.opacity==="0.5",l.cssFloat=!!n.cssFloat,t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle=t.style.backgroundClip==="content-box",l.boxSizing=n.boxSizing===""||n.MozBoxSizing===""||n.WebkitBoxSizing==="",h.extend(l,{reliableHiddenOffsets:function(){return o==null&&a(),o},boxSizingReliable:function(){return s==null&&a(),s},pixelPosition:function(){return i==null&&a(),i},reliableMarginRight:function(){return u==null&&a(),u}})}(),h.swap=function(e,t,n,r){var i,s,o={};for(s in t)o[s]=e.style[s],e.style[s]=t[s];i=n.apply(e,r||[]);for(s in t)e.style[s]=o[s];return i};var Ft=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,qt=/^(none|table(?!-c[ea]).+)/,Rt=new RegExp("^("+W+")(.*)$","i"),Ut=new RegExp("^([+-])=("+W+")","i"),zt={position:"absolute",visibility:"hidden",display:"block"},Wt={letterSpacing:"0",fontWeight:"400"},Xt=["Webkit","O","Moz","ms"];h.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ht(e,"opacity");return n===""?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":l.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var i,s,o,u=h.camelCase(t),a=e.style;t=h.cssProps[u]||(h.cssProps[u]=Vt(a,u)),o=h.cssHooks[t]||h.cssHooks[u];if(n===undefined)return o&&"get"in o&&(i=o.get(e,!1,r))!==undefined?i:a[t];s=typeof n,s==="string"&&(i=Ut.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(h.css(e,t)),s="number");if(n==null||n!==n)return;s==="number"&&!h.cssNumber[u]&&(n+="px"),!l.clearCloneStyle&&n===""&&t.indexOf("background")===0&&(a[t]="inherit");if(!o||!("set"in o)||(n=o.set(e,n,r))!==undefined)try{a[t]=n}catch(f){}},css:function(e,t,n,r){var i,s,o,u=h.camelCase(t);return t=h.cssProps[u]||(h.cssProps[u]=Vt(e.style,u)),o=h.cssHooks[t]||h.cssHooks[u],o&&"get"in o&&(s=o.get(e,!0,n)),s===undefined&&(s=Ht(e,t,r)),s==="normal"&&t in Wt&&(s=Wt[t]),n===""||n?(i=parseFloat(s),n===!0||h.isNumeric(i)?i||0:s):s}}),h.each(["height","width"],function(e,t){h.cssHooks[t]={get:function(e,n,r){if(n)return qt.test(h.css(e,"display"))&&e.offsetWidth===0?h.swap(e,zt,function(){return Qt(e,t,r)}):Qt(e,t,r)},set:function(e,n,r){var i=r&&Pt(e);return Jt(e,n,r?Kt(e,t,r,l.boxSizing&&h.css(e,"boxSizing",!1,i)==="border-box",i):0)}}}),l.opacity||(h.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=h.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if((t>=1||t==="")&&h.trim(s.replace(Ft,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(t===""||r&&!r.filter)return}n.filter=Ft.test(s)?s.replace(Ft,i):s+" "+i}}),h.cssHooks.marginRight=jt(l.reliableMarginRight,function(e,t){if(t)return h.swap(e,{display:"inline-block"},Ht,[e,"marginRight"])}),h.each({margin:"",padding:"",border:"Width"},function(e,t){h.cssHooks[e+t]={expand:function(n){var r=0,i={},s=typeof n=="string"?n.split(" "):[n];for(;r<4;r++)i[e+X[r]+t]=s[r]||s[r-2]||s[0];return i}},_t.test(e)||(h.cssHooks[e+t].set=Jt)}),h.fn.extend({css:function(e,t){return $(this,function(e,t,n){var r,i,s={},o=0;if(h.isArray(t)){r=Pt(e),i=t.length;for(;o1)},show:function(){return $t(this,!0)},hide:function(){return $t(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){V(this)?h(this).show():h(this).hide()})}}),h.Tween=Gt,Gt.prototype={constructor:Gt,init:function(e,t,n,r,i,s){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=s||(h.cssNumber[n]?"":"px")},cur:function(){var e=Gt.propHooks[this.prop];return e&&e.get?e.get(this):Gt.propHooks._default.get(this)},run:function(e){var t,n=Gt.propHooks[this.prop];return this.options.duration?this.pos=t=h.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Gt.propHooks._default.set(this),this}},Gt.prototype.init.prototype=Gt.prototype,Gt.propHooks={_default:{get:function(e){var t;return e.elem[e.prop]==null||!!e.elem.style&&e.elem.style[e.prop]!=null?(t=h.css(e.elem,e.prop,""),!t||t==="auto"?0:t):e.elem[e.prop]},set:function(e){h.fx.step[e.prop]?h.fx.step[e.prop](e):e.elem.style&&(e.elem.style[h.cssProps[e.prop]]!=null||h.cssHooks[e.prop])?h.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Gt.propHooks.scrollTop=Gt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},h.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},h.fx=Gt.prototype.init,h.fx.step={};var Yt,Zt,en=/^(?:toggle|show|hide)$/,tn=new RegExp("^(?:([+-])=|)("+W+")([a-z%]*)$","i"),nn=/queueHooks$/,rn=[fn],sn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=tn.exec(t),s=i&&i[3]||(h.cssNumber[e]?"":"px"),o=(h.cssNumber[e]||s!=="px"&&+r)&&tn.exec(h.css(n.elem,e)),u=1,a=20;if(o&&o[3]!==s){s=s||o[3],i=i||[],o=+r||1;do u=u||".5",o/=u,h.style(n.elem,e,o+s);while(u!==(u=n.cur()/r)&&u!==1&&--a)}return i&&(o=n.start=+o||+r||0,n.unit=s,n.end=i[1]?o+(i[1]+1)*i[2]:+i[2]),n}]};h.Animation=h.extend(cn,{tweener:function(e,t){h.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r
                a",r=t.getElementsByTagName("a")[0],n=T.createElement("select"),i=n.appendChild(T.createElement("option")),e=t.getElementsByTagName("input")[0],r.style.cssText="top:1px",l.getSetAttribute=t.className!=="t",l.style=/top/.test(r.getAttribute("style")),l.hrefNormalized=r.getAttribute("href")==="/a",l.checkOn=!!e.value,l.optSelected=i.selected,l.enctype=!!T.createElement("form").enctype,n.disabled=!0,l.optDisabled=!i.disabled,e=T.createElement("input"),e.setAttribute("value",""),l.input=e.getAttribute("value")==="",e.value="t",e.setAttribute("type","radio"),l.radioValue=e.value==="t"}();var hn=/\r/g;h.fn.extend({val:function(e){var t,n,r,i=this[0];if(!arguments.length){if(i)return t=h.valHooks[i.type]||h.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&(n=t.get(i,"value"))!==undefined?n:(n=i.value,typeof n=="string"?n.replace(hn,""):n==null?"":n);return}return r=h.isFunction(e),this.each(function(n){var i;if(this.nodeType!==1)return;r?i=e.call(this,n,h(this).val()):i=e,i==null?i="":typeof i=="number"?i+="":h.isArray(i)&&(i=h.map(i,function(e){return e==null?"":e+""})),t=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()];if(!t||!("set"in t)||t.set(this,i,"value")===undefined)this.value=i})}}),h.extend({valHooks:{option:{get:function(e){var t=h.find.attr(e,"value");return t!=null?t:h.trim(h.text(e))}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a=0)try{r.selected=n=!0}catch(u){r.scrollHeight}else r.selected=!1}return n||(e.selectedIndex=-1),i}}}}),h.each(["radio","checkbox"],function(){h.valHooks[this]={set:function(e,t){if(h.isArray(t))return e.checked=h.inArray(h(e).val(),t)>=0}},l.checkOn||(h.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var pn,dn,vn=h.expr.attrHandle,mn=/^(?:checked|selected)$/i,gn=l.getSetAttribute,yn=l.input;h.fn.extend({attr:function(e,t){return $(this,h.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){h.removeAttr(this,e)})}}),h.extend({attr:function(e,t,n){var r,i,s=e.nodeType;if(!e||s===3||s===8||s===2)return;if(typeof e.getAttribute===B)return h.prop(e,t,n);if(s!==1||!h.isXMLDoc(e))t=t.toLowerCase(),r=h.attrHooks[t]||(h.expr.match.bool.test(t)?dn:pn);if(n===undefined)return r&&"get"in r&&(i=r.get(e,t))!==null?i:(i=h.find.attr(e,t),i==null?undefined:i);if(n!==null)return r&&"set"in r&&(i=r.set(e,n,t))!==undefined?i:(e.setAttribute(t,n+""),n);h.removeAttr(e,t)},removeAttr:function(e,t){var n,r,i=0,s=t&&t.match(O);if(s&&e.nodeType===1)while(n=s[i++])r=h.propFix[n]||n,h.expr.match.bool.test(n)?yn&&gn||!mn.test(n)?e[r]=!1:e[h.camelCase("default-"+n)]=e[r]=!1:h.attr(e,n,""),e.removeAttribute(gn?n:r)},attrHooks:{type:{set:function(e,t){if(!l.radioValue&&t==="radio"&&h.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),dn={set:function(e,t,n){return t===!1?h.removeAttr(e,n):yn&&gn||!mn.test(n)?e.setAttribute(!gn&&h.propFix[n]||n,n):e[h.camelCase("default-"+n)]=e[n]=!0,n}},h.each(h.expr.match.bool.source.match(/\w+/g),function(e,t){var n=vn[t]||h.find.attr;vn[t]=yn&&gn||!mn.test(t)?function(e,t,r){var i,s;return r||(s=vn[t],vn[t]=i,i=n(e,t,r)!=null?t.toLowerCase():null,vn[t]=s),i}:function(e,t,n){if(!n)return e[h.camelCase("default-"+t)]?t.toLowerCase():null}});if(!yn||!gn)h.attrHooks.value={set:function(e,t,n){if(!h.nodeName(e,"input"))return pn&&pn.set(e,t,n);e.defaultValue=t}};gn||(pn={set:function(e,t,n){var r=e.getAttributeNode(n);r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="";if(n==="value"||t===e.getAttribute(n))return t}},vn.id=vn.name=vn.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&r.value!==""?r.value:null},h.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:pn.set},h.attrHooks.contenteditable={set:function(e,t,n){pn.set(e,t===""?!1:t,n)}},h.each(["width","height"],function(e,t){h.attrHooks[t]={set:function(e,n){if(n==="")return e.setAttribute(t,"auto"),n}}})),l.style||(h.attrHooks.style={get:function(e){return e.style.cssText||undefined},set:function(e,t){return e.style.cssText=t+""}});var bn=/^(?:input|select|textarea|button|object)$/i,wn=/^(?:a|area)$/i;h.fn.extend({prop:function(e,t){return $(this,h.prop,e,t,arguments.length>1)},removeProp:function(e){return e=h.propFix[e]||e,this.each(function(){try{this[e]=undefined,delete this[e]}catch(t){}})}}),h.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,s,o=e.nodeType;if(!e||o===3||o===8||o===2)return;return s=o!==1||!h.isXMLDoc(e),s&&(t=h.propFix[t]||t,i=h.propHooks[t]),n!==undefined?i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:e[t]=n:i&&"get"in i&&(r=i.get(e,t))!==null?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=h.find.attr(e,"tabindex");return t?parseInt(t,10):bn.test(e.nodeName)||wn.test(e.nodeName)&&e.href?0:-1}}}}),l.hrefNormalized||h.each(["href","src"],function(e,t){h.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),l.optSelected||(h.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),h.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){h.propFix[this.toLowerCase()]=this}),l.enctype||(h.propFix.enctype="encoding");var En=/[\t\r\n\f]/g;h.fn.extend({addClass:function(e){var t,n,r,i,s,o,u=0,a=this.length,f=typeof e=="string"&&e;if(h.isFunction(e))return this.each(function(t){h(this).addClass(e.call(this,t,this.className))});if(f){t=(e||"").match(O)||[];for(;u=0)r=r.replace(" "+i+" "," ");o=e?h.trim(r):"",n.className!==o&&(n.className=o)}}}return this},toggleClass:function(e,t){var n=typeof e;return typeof t=="boolean"&&n==="string"?t?this.addClass(e):this.removeClass(e):h.isFunction(e)?this.each(function(n){h(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var t,r=0,i=h(this),s=e.match(O)||[];while(t=s[r++])i.hasClass(t)?i.removeClass(t):i.addClass(t)}else if(n===B||n==="boolean")this.className&&h._data(this,"__className__",this.className),this.className=this.className||e===!1?"":h._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n=0)return!0;return!1}}),h.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){h.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),h.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)}});var Sn=h.now(),xn=/\?/,Tn=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;h.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,r=null,i=h.trim(t+"");return i&&!h.trim(i.replace(Tn,function(e,t,i,s){return n&&t&&(r=0),r===0?e:(n=i||t,r+=!s-!i,"")}))?Function("return "+i)():h.error("Invalid JSON: "+t)},h.parseXML=function(t){var n,r;if(!t||typeof t!="string")return null;try{e.DOMParser?(r=new DOMParser,n=r.parseFromString(t,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(t))}catch(i){n=undefined}return(!n||!n.documentElement||n.getElementsByTagName("parsererror").length)&&h.error("Invalid XML: "+t),n};var Nn,Cn,kn=/#.*$/,Ln=/([?&])_=[^&]*/,An=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,On=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mn=/^(?:GET|HEAD)$/,_n=/^\/\//,Dn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Pn={},Hn={},Bn="*/".concat("*");try{Cn=location.href}catch(jn){Cn=T.createElement("a"),Cn.href="",Cn=Cn.href}Nn=Dn.exec(Cn.toLowerCase())||[],h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Cn,type:"GET",isLocal:On.test(Nn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":h.parseJSON,"text xml":h.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?qn(qn(e,h.ajaxSettings),t):qn(h.ajaxSettings,e)},ajaxPrefilter:Fn(Pn),ajaxTransport:Fn(Hn),ajax:function(e,t){function x(e,t,n,r){var f,g,y,w,S,x=t;if(b===2)return;b=2,o&&clearTimeout(o),a=undefined,s=r||"",E.readyState=e>0?4:0,f=e>=200&&e<300||e===304,n&&(w=Rn(l,E,n)),w=Un(l,w,E,f);if(f)l.ifModified&&(S=E.getResponseHeader("Last-Modified"),S&&(h.lastModified[i]=S),S=E.getResponseHeader("etag"),S&&(h.etag[i]=S)),e===204||l.type==="HEAD"?x="nocontent":e===304?x="notmodified":(x=w.state,g=w.data,y=w.error,f=!y);else{y=x;if(e||!x)x="error",e<0&&(e=0)}E.status=e,E.statusText=(t||x)+"",f?d.resolveWith(c,[g,x,E]):d.rejectWith(c,[E,x,y]),E.statusCode(m),m=undefined,u&&p.trigger(f?"ajaxSuccess":"ajaxError",[E,l,f?g:y]),v.fireWith(c,[E,x]),u&&(p.trigger("ajaxComplete",[E,l]),--h.active||h.event.trigger("ajaxStop"))}typeof e=="object"&&(t=e,e=undefined),t=t||{};var n,r,i,s,o,u,a,f,l=h.ajaxSetup({},t),c=l.context||l,p=l.context&&(c.nodeType||c.jquery)?h(c):h.event,d=h.Deferred(),v=h.Callbacks("once memory"),m=l.statusCode||{},g={},y={},b=0,w="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(b===2){if(!f){f={};while(t=An.exec(s))f[t[1].toLowerCase()]=t[2]}t=f[e.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return b===2?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=y[n]=y[n]||e,g[e]=t),this},overrideMimeType:function(e){return b||(l.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)m[t]=[m[t],e[t]];else E.always(e[E.status]);return this},abort:function(e){var t=e||w;return a&&a.abort(t),x(0,t),this}};d.promise(E).complete=v.add,E.success=E.done,E.error=E.fail,l.url=((e||l.url||Cn)+"").replace(kn,"").replace(_n,Nn[1]+"//"),l.type=t.method||t.type||l.method||l.type,l.dataTypes=h.trim(l.dataType||"*").toLowerCase().match(O)||[""],l.crossDomain==null&&(n=Dn.exec(l.url.toLowerCase()),l.crossDomain=!(!n||n[1]===Nn[1]&&n[2]===Nn[2]&&(n[3]||(n[1]==="http:"?"80":"443"))===(Nn[3]||(Nn[1]==="http:"?"80":"443")))),l.data&&l.processData&&typeof l.data!="string"&&(l.data=h.param(l.data,l.traditional)),In(Pn,l,t,E);if(b===2)return E;u=h.event&&l.global,u&&h.active++===0&&h.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!Mn.test(l.type),i=l.url,l.hasContent||(l.data&&(i=l.url+=(xn.test(i)?"&":"?")+l.data,delete l.data),l.cache===!1&&(l.url=Ln.test(i)?i.replace(Ln,"$1_="+Sn++):i+(xn.test(i)?"&":"?")+"_="+Sn++)),l.ifModified&&(h.lastModified[i]&&E.setRequestHeader("If-Modified-Since",h.lastModified[i]),h.etag[i]&&E.setRequestHeader("If-None-Match",h.etag[i])),(l.data&&l.hasContent&&l.contentType!==!1||t.contentType)&&E.setRequestHeader("Content-Type",l.contentType),E.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+Bn+"; q=0.01":""):l.accepts["*"]);for(r in l.headers)E.setRequestHeader(r,l.headers[r]);if(!l.beforeSend||l.beforeSend.call(c,E,l)!==!1&&b!==2){w="abort";for(r in{success:1,error:1,complete:1})E[r](l[r]);a=In(Hn,l,t,E);if(!a)x(-1,"No Transport");else{E.readyState=1,u&&p.trigger("ajaxSend",[E,l]),l.async&&l.timeout>0&&(o=setTimeout(function(){E.abort("timeout")},l.timeout));try{b=1,a.send(g,x)}catch(S){if(!(b<2))throw S;x(-1,S)}}return E}return E.abort()},getJSON:function(e,t,n){return h.get(e,t,n,"json")},getScript:function(e,t){return h.get(e,undefined,t,"script")}}),h.each(["get","post"],function(e,t){h[t]=function(e,n,r,i){return h.isFunction(n)&&(i=i||r,r=n,n=undefined),h.ajax({url:e,type:t,dataType:i,data:n,success:r})}}),h._evalUrl=function(e){return h.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},h.fn.extend({wrapAll:function(e){if(h.isFunction(e))return this.each(function(t){h(this).wrapAll(e.call(this,t))});if(this[0]){var t=h(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return h.isFunction(e)?this.each(function(t){h(this).wrapInner(e.call(this,t))}):this.each(function(){var t=h(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=h.isFunction(e);return this.each(function(n){h(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){h.nodeName(this,"body")||h(this).replaceWith(this.childNodes)}).end()}}),h.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!l.reliableHiddenOffsets()&&(e.style&&e.style.display||h.css(e,"display"))==="none"},h.expr.filters.visible=function(e){return!h.expr.filters.hidden(e)};var zn=/%20/g,Wn=/\[\]$/,Xn=/\r?\n/g,Vn=/^(?:submit|button|image|reset|file)$/i,$n=/^(?:input|select|textarea|keygen)/i;h.param=function(e,t){var n,r=[],i=function(e,t){t=h.isFunction(t)?t():t==null?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};t===undefined&&(t=h.ajaxSettings&&h.ajaxSettings.traditional);if(h.isArray(e)||e.jquery&&!h.isPlainObject(e))h.each(e,function(){i(this.name,this.value)});else for(n in e)Jn(n,e[n],t,i);return r.join("&").replace(zn,"+")},h.fn.extend({serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=h.prop(this,"elements");return e?h.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!h(this).is(":disabled")&&$n.test(this.nodeName)&&!Vn.test(e)&&(this.checked||!J.test(e))}).map(function(e,t){var n=h(this).val();return n==null?null:h.isArray(n)?h.map(n,function(e){return{name:t.name,value:e.replace(Xn,"\r\n")}}):{name:t.name,value:n.replace(Xn,"\r\n")}}).get()}}),h.ajaxSettings.xhr=e.ActiveXObject!==undefined?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Yn()||Zn()}:Yn;var Kn=0,Qn={},Gn=h.ajaxSettings.xhr();e.attachEvent&&e.attachEvent("onunload",function(){for(var e in Qn)Qn[e](undefined,!0)}),l.cors=!!Gn&&"withCredentials"in Gn,Gn=l.ajax=!!Gn,Gn&&h.ajaxTransport(function(e){if(!e.crossDomain||l.cors){var t;return{send:function(n,r){var i,s=e.xhr(),o=++Kn;s.open(e.type,e.url,e.async,e.username,e.password);if(e.xhrFields)for(i in e.xhrFields)s[i]=e.xhrFields[i];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),!e.crossDomain&&!n["X-Requested-With"]&&(n["X-Requested-With"]="XMLHttpRequest");for(i in n)n[i]!==undefined&&s.setRequestHeader(i,n[i]+"");s.send(e.hasContent&&e.data||null),t=function(n,i){var u,a,f;if(t&&(i||s.readyState===4)){delete Qn[o],t=undefined,s.onreadystatechange=h.noop;if(i)s.readyState!==4&&s.abort();else{f={},u=s.status,typeof s.responseText=="string"&&(f.text=s.responseText);try{a=s.statusText}catch(l){a=""}!u&&e.isLocal&&!e.crossDomain?u=f.text?200:404:u===1223&&(u=204)}}f&&r(u,a,f,s.getAllResponseHeaders())},e.async?s.readyState===4?setTimeout(t):s.onreadystatechange=Qn[o]=t:t()},abort:function(){t&&t(undefined,!0)}}}}),h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return h.globalEval(e),e}}}),h.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),h.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=T.head||h("head")[0]||T.documentElement;return{send:function(r,i){t=T.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){if(n||!t.readyState||/loaded|complete/.test(t.readyState))t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success")},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(undefined,!0)}}}});var er=[],tr=/(=)\?(?=&|$)|\?\?/;h.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=er.pop()||h.expando+"_"+Sn++;return this[e]=!0,e}}),h.ajaxPrefilter("json jsonp",function(t,n,r){var i,s,o,u=t.jsonp!==!1&&(tr.test(t.url)?"url":typeof t.data=="string"&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&tr.test(t.data)&&"data");if(u||t.dataTypes[0]==="jsonp")return i=t.jsonpCallback=h.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,u?t[u]=t[u].replace(tr,"$1"+i):t.jsonp!==!1&&(t.url+=(xn.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return o||h.error(i+" was not called"),o[0]},t.dataTypes[0]="json",s=e[i],e[i]=function(){o=arguments},r.always(function(){e[i]=s,t[i]&&(t.jsonpCallback=n.jsonpCallback,er.push(i)),o&&h.isFunction(s)&&s(o[0]),o=s=undefined}),"script"}),h.parseHTML=function(e,t,n){if(!e||typeof e!="string")return null;typeof t=="boolean"&&(n=t,t=!1),t=t||T;var r=w.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=h.buildFragment([e],t,i),i&&i.length&&h(i).remove(),h.merge([],r.childNodes))};var nr=h.fn.load;h.fn.load=function(e,t,n){if(typeof e!="string"&&nr)return nr.apply(this,arguments);var r,i,s,o=this,u=e.indexOf(" ");return u>=0&&(r=h.trim(e.slice(u,e.length)),e=e.slice(0,u)),h.isFunction(t)?(n=t,t=undefined):t&&typeof t=="object"&&(s="POST"),o.length>0&&h.ajax({url:e,type:s,dataType:"html",data:t}).done(function(e){i=arguments,o.html(r?h("
                ").append(h.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){o.each(n,i||[e.responseText,t,e])}),this},h.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){h.fn[t]=function(e){return this.on(t,e)}}),h.expr.filters.animated=function(e){return h.grep(h.timers,function(t){return e===t.elem}).length};var rr=e.document.documentElement;h.offset={setOffset:function(e,t,n){var r,i,s,o,u,a,f,l=h.css(e,"position"),c=h(e),p={};l==="static"&&(e.style.position="relative"),u=c.offset(),s=h.css(e,"top"),a=h.css(e,"left"),f=(l==="absolute"||l==="fixed")&&h.inArray("auto",[s,a])>-1,f?(r=c.position(),o=r.top,i=r.left):(o=parseFloat(s)||0,i=parseFloat(a)||0),h.isFunction(t)&&(t=t.call(e,n,u)),t.top!=null&&(p.top=t.top-u.top+o),t.left!=null&&(p.left=t.left-u.left+i),"using"in t?t.using.call(e,p):c.css(p)}},h.fn.extend({offset:function(e){if(arguments.length)return e===undefined?this:this.each(function(t){h.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],s=i&&i.ownerDocument;if(!s)return;return t=s.documentElement,h.contains(t,i)?(typeof i.getBoundingClientRect!==B&&(r=i.getBoundingClientRect()),n=ir(s),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(!this[0])return;var e,t,n={top:0,left:0},r=this[0];return h.css(r,"position")==="fixed"?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),h.nodeName(e[0],"html")||(n=e.offset()),n.top+=h.css(e[0],"borderTopWidth",!0),n.left+=h.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-h.css(r,"marginTop",!0),left:t.left-n.left-h.css(r,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||rr;while(e&&!h.nodeName(e,"html")&&h.css(e,"position")==="static")e=e.offsetParent;return e||rr})}}),h.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);h.fn[e]=function(r){return $(this,function(e,r,i){var s=ir(e);if(i===undefined)return s?t in s?s[t]:s.document.documentElement[r]:e[r];s?s.scrollTo(n?h(s).scrollLeft():i,n?i:h(s).scrollTop()):e[r]=i},e,r,arguments.length,null)}}),h.each(["top","left"],function(e,t){h.cssHooks[t]=jt(l.pixelPosition,function(e,n){if(n)return n=Ht(e,t),Dt.test(n)?h(e).position()[t]+"px":n})}),h.each({Height:"height",Width:"width"},function(e,t){h.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){h.fn[r]=function(r,i){var s=arguments.length&&(n||typeof r!="boolean"),o=n||(r===!0||i===!0?"margin":"border");return $(this,function(t,n,r){var i;return h.isWindow(t)?t.document.documentElement["client"+e]:t.nodeType===9?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):r===undefined?h.css(t,n,o):h.style(t,n,r,o)},t,s?r:undefined,s,null)}})}),h.fn.size=function(){return this.length},h.fn.andSelf=h.fn.addBack,typeof define=="function"&&define.amd&&define("jquery",[],function(){return h});var sr=e.jQuery,or=e.$;return h.noConflict=function(t){return e.$===h&&(e.$=or),t&&e.jQuery===h&&(e.jQuery=sr),h},typeof t===B&&(e.jQuery=e.$=h),h}),function(){var e=this,t=e._,n={},r=Array.prototype,i=Object.prototype,s=Function.prototype,o=r.push,u=r.slice,a=r.concat,f=i.toString,l=i.hasOwnProperty,c=r.forEach,h=r.map,p=r.reduce,d=r.reduceRight,v=r.filter,m=r.every,g=r.some,y=r.indexOf,b=r.lastIndexOf,w=Array.isArray,E=Object.keys,S=s.bind,x=function(e){if(e instanceof x)return e;if(!(this instanceof x))return new x(e);this._wrapped=e};typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=x),exports._=x):e._=x,x.VERSION="1.5.1";var T=x.each=x.forEach=function(e,t,r){if(e==null)return;if(c&&e.forEach===c)e.forEach(t,r);else if(e.length===+e.length){for(var i=0,s=e.length;i2;e==null&&(e=[]);if(p&&e.reduce===p)return r&&(t=x.bind(t,r)),i?e.reduce(t,n):e.reduce(t);T(e,function(e,s,o){i?n=t.call(r,n,e,s,o):(n=e,i=!0)});if(!i)throw new TypeError(N);return n},x.reduceRight=x.foldr=function(e,t,n,r){var i=arguments.length>2;e==null&&(e=[]);if(d&&e.reduceRight===d)return r&&(t=x.bind(t,r)),i?e.reduceRight(t,n):e.reduceRight(t);var s=e.length;if(s!==+s){var o=x.keys(e);s=o.length}T(e,function(u,a,f){a=o?o[--s]:--s,i?n=t.call(r,n,e[a],a,f):(n=e[a],i=!0)});if(!i)throw new TypeError(N);return n},x.find=x.detect=function(e,t,n){var r;return C(e,function(e,i,s){if(t.call(n,e,i,s))return r=e,!0}),r},x.filter=x.select=function(e,t,n){var r=[];return e==null?r:v&&e.filter===v?e.filter(t,n):(T(e,function(e,i,s){t.call(n,e,i,s)&&r.push(e)}),r)},x.reject=function(e,t,n){return x.filter(e,function(e,r,i){return!t.call(n,e,r,i)},n)},x.every=x.all=function(e,t,r){t||(t=x.identity);var i=!0;return e==null?i:m&&e.every===m?e.every(t,r):(T(e,function(e,s,o){if(!(i=i&&t.call(r,e,s,o)))return n}),!!i)};var C=x.some=x.any=function(e,t,r){t||(t=x.identity);var i=!1;return e==null?i:g&&e.some===g?e.some(t,r):(T(e,function(e,s,o){if(i||(i=t.call(r,e,s,o)))return n}),!!i)};x.contains=x.include=function(e,t){return e==null?!1:y&&e.indexOf===y?e.indexOf(t)!=-1:C(e,function(e){return e===t})},x.invoke=function(e,t){var n=u.call(arguments,2),r=x.isFunction(t);return x.map(e,function(e){return(r?t:e[t]).apply(e,n)})},x.pluck=function(e,t){return x.map(e,function(e){return e[t]})},x.where=function(e,t,n){return x.isEmpty(t)?n?void 0:[]:x[n?"find":"filter"](e,function(e){for(var n in t)if(t[n]!==e[n])return!1;return!0})},x.findWhere=function(e,t){return x.where(e,t,!0)},x.max=function(e,t,n){if(!t&&x.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.max.apply(Math,e);if(!t&&x.isEmpty(e))return-Infinity;var r={computed:-Infinity,value:-Infinity};return T(e,function(e,i,s){var o=t?t.call(n,e,i,s):e;o>r.computed&&(r={value:e,computed:o})}),r.value},x.min=function(e,t,n){if(!t&&x.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.min.apply(Math,e);if(!t&&x.isEmpty(e))return Infinity;var r={computed:Infinity,value:Infinity};return T(e,function(e,i,s){var o=t?t.call(n,e,i,s):e;or||n===void 0)return 1;if(n>>1;n.call(r,e[u])=0})})},x.difference=function(e){var t=a.apply(r,u.call(arguments,1));return x.filter(e,function(e){return!x.contains(t,e)})},x.zip=function(){var e=x.max(x.pluck(arguments,"length").concat(0)),t=new Array(e);for(var n=0;n=0;n--)t=[e[n].apply(this,t)];return t[0]}},x.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},x.keys=E||function(e){if(e!==Object(e))throw new TypeError("Invalid object");var t=[];for(var n in e)x.has(e,n)&&t.push(n);return t},x.values=function(e){var t=[];for(var n in e)x.has(e,n)&&t.push(e[n]);return t},x.pairs=function(e){var t=[];for(var n in e)x.has(e,n)&&t.push([n,e[n]]);return t},x.invert=function(e){var t={};for(var n in e)x.has(e,n)&&(t[e[n]]=n);return t},x.functions=x.methods=function(e){var t=[];for(var n in e)x.isFunction(e[n])&&t.push(n);return t.sort()},x.extend=function(e){return T(u.call(arguments,1),function(t){if(t)for(var n in t)e[n]=t[n]}),e},x.pick=function(e){var t={},n=a.apply(r,u.call(arguments,1));return T(n,function(n){n in e&&(t[n]=e[n])}),t},x.omit=function(e){var t={},n=a.apply(r,u.call(arguments,1));for(var i in e)x.contains(n,i)||(t[i]=e[i]);return t},x.defaults=function(e){return T(u.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e},x.clone=function(e){return x.isObject(e)?x.isArray(e)?e.slice():x.extend({},e):e},x.tap=function(e,t){return t(e),e};var M=function(e,t,n,r){if(e===t)return e!==0||1/e==1/t;if(e==null||t==null)return e===t;e instanceof x&&(e=e._wrapped),t instanceof x&&(t=t._wrapped);var i=f.call(e);if(i!=f.call(t))return!1;switch(i){case"[object String]":return e==String(t);case"[object Number]":return e!=+e?t!=+t:e==0?1/e==1/t:e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object RegExp]":return e.source==t.source&&e.global==t.global&&e.multiline==t.multiline&&e.ignoreCase==t.ignoreCase}if(typeof e!="object"||typeof t!="object")return!1;var s=n.length;while(s--)if(n[s]==e)return r[s]==t;var o=e.constructor,u=t.constructor;if(o!==u&&!(x.isFunction(o)&&o instanceof o&&x.isFunction(u)&&u instanceof u))return!1;n.push(e),r.push(t);var a=0,l=!0;if(i=="[object Array]"){a=e.length,l=a==t.length;if(l)while(a--)if(!(l=M(e[a],t[a],n,r)))break}else{for(var c in e)if(x.has(e,c)){a++;if(!(l=x.has(t,c)&&M(e[c],t[c],n,r)))break}if(l){for(c in t)if(x.has(t,c)&&!(a--))break;l=!a}}return n.pop(),r.pop(),l};x.isEqual=function(e,t){return M(e,t,[],[])},x.isEmpty=function(e){if(e==null)return!0;if(x.isArray(e)||x.isString(e))return e.length===0;for(var t in e)if(x.has(e,t))return!1;return!0},x.isElement=function(e){return!!e&&e.nodeType===1},x.isArray=w||function(e){return f.call(e)=="[object Array]"},x.isObject=function(e){return e===Object(e)},T(["Arguments","Function","String","Number","Date","RegExp"],function(e){x["is"+e]=function(t){return f.call(t)=="[object "+e+"]"}}),x.isArguments(arguments)||(x.isArguments=function(e){return!!e&&!!x.has(e,"callee")}),typeof /./!="function"&&(x.isFunction=function(e){return typeof e=="function"}),x.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},x.isNaN=function(e){return x.isNumber(e)&&e!=+e},x.isBoolean=function(e){return e===!0||e===!1||f.call(e)=="[object Boolean]"},x.isNull=function(e){return e===null},x.isUndefined=function(e){return e===void 0},x.has=function(e,t){return l.call(e,t)},x.noConflict=function(){return e._=t,this},x.identity=function(e){return e},x.times=function(e,t,n){var r=Array(Math.max(0,e));for(var i=0;i":">",'"':""","'":"'","/":"/"}};_.unescape=x.invert(_.escape);var D={escape:new RegExp("["+x.keys(_.escape).join("")+"]","g"),unescape:new RegExp("("+x.keys(_.unescape).join("|")+")","g")};x.each(["escape","unescape"],function(e){x[e]=function(t){return t==null?"":(""+t).replace(D[e],function(t){return _[e][t]})}}),x.result=function(e,t){if(e==null)return void 0;var n=e[t];return x.isFunction(n)?n.call(e):n},x.mixin=function(e){T(x.functions(e),function(t){var n=x[t]=e[t];x.prototype[t]=function(){var e=[this._wrapped];return o.apply(e,arguments),F.call(this,n.apply(x,e))}})};var P=0;x.uniqueId=function(e){var t=++P+"";return e?e+t:t},x.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var H=/(.)^/,B={"'":"'","\\":"\\","\r":"r","\n":"n"," ":"t","\u2028":"u2028","\u2029":"u2029"},j=/\\|'|\r|\n|\t|\u2028|\u2029/g;x.template=function(e,t,n){var r;n=x.defaults({},n,x.templateSettings);var i=new RegExp([(n.escape||H).source,(n.interpolate||H).source,(n.evaluate||H).source].join("|")+"|$","g"),s=0,o="__p+='";e.replace(i,function(t,n,r,i,u){return o+=e.slice(s,u).replace(j,function(e){return"\\"+B[e]}),n&&(o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'"),r&&(o+="'+\n((__t=("+r+"))==null?'':__t)+\n'"),i&&(o+="';\n"+i+"\n__p+='"),s=u+t.length,t}),o+="';\n",n.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{r=new Function(n.variable||"obj","_",o)}catch(u){throw u.source=o,u}if(t)return r(t,x);var a=function(e){return r.call(this,e,x)};return a.source="function("+(n.variable||"obj")+"){\n"+o+"}",a},x.chain=function(e){return x(e).chain()};var F=function(e){return this._chain?x(e).chain():e};x.mixin(x),T(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=r[e];x.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),(e=="shift"||e=="splice")&&n.length===0&&delete n[0],F.call(this,n)}}),T(["concat","join","slice"],function(e){var t=r[e];x.prototype[e]=function(){return F.call(this,t.apply(this._wrapped,arguments))}}),x.extend(x.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}})}.call(this),define("underscore",function(e){return function(){var t,n;return t||e._}}(this)),define("text",["module"],function(e){var t,n,r,i,s,o=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],u=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,a=/]*>\s*([\s\S]+)\s*<\/body>/im,f=typeof location!="undefined"&&location.href,l=f&&location.protocol&&location.protocol.replace(/\:/,""),c=f&&location.hostname,h=f&&(location.port||undefined),p={},d=e.config&&e.config()||{};t={version:"2.0.13+",strip:function(e){if(e){e=e.replace(u,"");var t=e.match(a);t&&(e=t[1])}else e="";return e},jsEscape:function(e){return e.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},createXhr:d.createXhr||function(){var e,t,n;if(typeof XMLHttpRequest!="undefined")return new XMLHttpRequest;if(typeof ActiveXObject!="undefined")for(t=0;t<3;t+=1){n=o[t];try{e=new ActiveXObject(n)}catch(r){}if(e){o=[n];break}}return e},parseName:function(e){var t,n,r,i=!1,s=e.lastIndexOf("."),o=e.indexOf("./")===0||e.indexOf("../")===0;return s!==-1&&(!o||s>1)?(t=e.substring(0,s),n=e.substring(s+1)):t=e,r=n||t,s=r.indexOf("!"),s!==-1&&(i=r.substring(s+1)==="strip",r=r.substring(0,s),n?n=r:t=r),{moduleName:t,ext:n,strip:i}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(e,n,r,i){var s,o,u,a=t.xdRegExp.exec(e);return a?(s=a[2],o=a[3],o=o.split(":"),u=o[1],o=o[0],(!s||s===n)&&(!o||o.toLowerCase()===r.toLowerCase())&&(!u&&!o||u===i)):!0},finishLoad:function(e,n,r,i){r=n?t.strip(r):r,d.isBuild&&(p[e]=r),i(r)},load:function(e,n,r,i){if(i&&i.isBuild&&!i.inlineText){r();return}d.isBuild=i&&i.isBuild;var s=t.parseName(e),o=s.moduleName+(s.ext?"."+s.ext:""),u=n.toUrl(o),a=d.useXhr||t.useXhr;if(u.indexOf("empty:")===0){r();return}!f||a(u,l,c,h)?t.get(u,function(n){t.finishLoad(e,s.strip,n,r)},function(e){r.error&&r.error(e)}):n([o],function(e){t.finishLoad(s.moduleName+"."+s.ext,s.strip,e,r)})},write:function(e,n,r,i){if(p.hasOwnProperty(n)){var s=t.jsEscape(p[n]);r.asModule(e+"!"+n,"define(function () { return '"+s+"';});\n")}},writeFile:function(e,n,r,i,s){var o=t.parseName(n),u=o.ext?"."+o.ext:"",a=o.moduleName+u,f=r.toUrl(o.moduleName+u)+".js";t.load(a,r,function(n){var r=function(e){return i(f,e)};r.asModule=function(e,t){return i.asModule(e,f,t)},t.write(e,a,r,s)},s)}};if(d.env==="node"||!d.env&&typeof process!="undefined"&&process.versions&&!!process.versions.node&&!process.versions["node-webkit"]&&!process.versions["atom-shell"])n=require.nodeRequire("fs"),t.get=function(e,t,r){try{var i=n.readFileSync(e,"utf8");i[0]===""&&(i=i.substring(1)),t(i)}catch(s){r&&r(s)}};else if(d.env==="xhr"||!d.env&&t.createXhr())t.get=function(e,n,r,i){var s=t.createXhr(),o;s.open("GET",e,!0);if(i)for(o in i)i.hasOwnProperty(o)&&s.setRequestHeader(o.toLowerCase(),i[o]);d.onXhr&&d.onXhr(s,e),s.onreadystatechange=function(t){var i,o;s.readyState===4&&(i=s.status||0,i>399&&i<600?(o=new Error(e+" HTTP status: "+i),o.xhr=s,r&&r(o)):n(s.responseText),d.onXhrComplete&&d.onXhrComplete(s,e))},s.send(null)};else if(d.env==="rhino"||!d.env&&typeof Packages!="undefined"&&typeof java!="undefined")t.get=function(e,t){var n,r,i="utf-8",s=new java.io.File(e),o=java.lang.System.getProperty("line.separator"),u=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(s),i)),a="";try{n=new java.lang.StringBuffer,r=u.readLine(),r&&r.length()&&r.charAt(0)===65279&&(r=r.substring(1)),r!==null&&n.append(r);while((r=u.readLine())!==null)n.append(o),n.append(r);a=String(n.toString())}finally{u.close()}t(a)};else if(d.env==="xpconnect"||!d.env&&typeof Components!="undefined"&&Components.classes&&Components.interfaces)r=Components.classes,i=Components.interfaces,Components.utils["import"]("resource://gre/modules/FileUtils.jsm"),s="@mozilla.org/windows-registry-key;1"in r,t.get=function(e,t){var n,o,u,a={};s&&(e=e.replace(/\//g,"\\")),u=new FileUtils.File(e);try{n=r["@mozilla.org/network/file-input-stream;1"].createInstance(i.nsIFileInputStream),n.init(u,1,0,!1),o=r["@mozilla.org/intl/converter-input-stream;1"].createInstance(i.nsIConverterInputStream),o.init(n,"utf-8",n.available(),i.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER),o.readString(n.available(),a),o.close(),n.close(),t(a.value)}catch(f){throw new Error((u&&u.path||"")+": "+f)}};return t}),define("pinyin-by-unicode",{strChineseFirstPY:"YDYQSXMWZSSXJBYMGCCZQPSSQBYCDSCDQLDYLYBSSJGYZZJJFKCCLZDHWDWZJLJPFYYNWJJTMYHZWZHFLZPPQHGSCYYYNJQYXXGJHHSDSJNKKTMOMLCRXYPSNQSECCQZGGLLYJLMYZZSECYKYYHQWJSSGGYXYZYJWWKDJHYCHMYXJTLXJYQBYXZLDWRDJRWYSRLDZJPCBZJJBRCFTLECZSTZFXXZHTRQHYBDLYCZSSYMMRFMYQZPWWJJYFCRWFDFZQPYDDWYXKYJAWJFFXYPSFTZYHHYZYSWCJYXSCLCXXWZZXNBGNNXBXLZSZSBSGPYSYZDHMDZBQBZCWDZZYYTZHBTSYYBZGNTNXQYWQSKBPHHLXGYBFMJEBJHHGQTJCYSXSTKZHLYCKGLYSMZXYALMELDCCXGZYRJXSDLTYZCQKCNNJWHJTZZCQLJSTSTBNXBTYXCEQXGKWJYFLZQLYHYXSPSFXLMPBYSXXXYDJCZYLLLSJXFHJXPJBTFFYABYXBHZZBJYZLWLCZGGBTSSMDTJZXPTHYQTGLJSCQFZKJZJQNLZWLSLHDZBWJNCJZYZSQQYCQYRZCJJWYBRTWPYFTWEXCSKDZCTBZHYZZYYJXZCFFZZMJYXXSDZZOTTBZLQWFCKSZSXFYRLNYJMBDTHJXSQQCCSBXYYTSYFBXDZTGBCNSLCYZZPSAZYZZSCJCSHZQYDXLBPJLLMQXTYDZXSQJTZPXLCGLQTZWJBHCTSYJSFXYEJJTLBGXSXJMYJQQPFZASYJNTYDJXKJCDJSZCBARTDCLYJQMWNQNCLLLKBYBZZSYHQQLTWLCCXTXLLZNTYLNEWYZYXCZXXGRKRMTCNDNJTSYYSSDQDGHSDBJGHRWRQLYBGLXHLGTGXBQJDZPYJSJYJCTMRNYMGRZJCZGJMZMGXMPRYXKJNYMSGMZJYMKMFXMLDTGFBHCJHKYLPFMDXLQJJSMTQGZSJLQDLDGJYCALCMZCSDJLLNXDJFFFFJCZFMZFFPFKHKGDPSXKTACJDHHZDDCRRCFQYJKQCCWJDXHWJLYLLZGCFCQDSMLZPBJJPLSBCJGGDCKKDEZSQCCKJGCGKDJTJDLZYCXKLQSCGJCLTFPCQCZGWPJDQYZJJBYJHSJDZWGFSJGZKQCCZLLPSPKJGQJHZZLJPLGJGJJTHJJYJZCZMLZLYQBGJWMLJKXZDZNJQSYZMLJLLJKYWXMKJLHSKJGBMCLYYMKXJQLBMLLKMDXXKWYXYSLMLPSJQQJQXYXFJTJDXMXXLLCXQBSYJBGWYMBGGBCYXPJYGPEPFGDJGBHBNSQJYZJKJKHXQFGQZKFHYGKHDKLLSDJQXPQYKYBNQSXQNSZSWHBSXWHXWBZZXDMNSJBSBKBBZKLYLXGWXDRWYQZMYWSJQLCJXXJXKJEQXSCYETLZHLYYYSDZPAQYZCMTLSHTZCFYZYXYLJSDCJQAGYSLCQLYYYSHMRQQKLDXZSCSSSYDYCJYSFSJBFRSSZQSBXXPXJYSDRCKGJLGDKZJZBDKTCSYQPYHSTCLDJDHMXMCGXYZHJDDTMHLTXZXYLYMOHYJCLTYFBQQXPFBDFHHTKSQHZYYWCNXXCRWHOWGYJLEGWDQCWGFJYCSNTMYTOLBYGWQWESJPWNMLRYDZSZTXYQPZGCWXHNGPYXSHMYQJXZTDPPBFYHZHTJYFDZWKGKZBLDNTSXHQEEGZZYLZMMZYJZGXZXKHKSTXNXXWYLYAPSTHXDWHZYMPXAGKYDXBHNHXKDPJNMYHYLPMGOCSLNZHKXXLPZZLBMLSFBHHGYGYYGGBHSCYAQTYWLXTZQCEZYDQDQMMHTKLLSZHLSJZWFYHQSWSCWLQAZYNYTLSXTHAZNKZZSZZLAXXZWWCTGQQTDDYZTCCHYQZFLXPSLZYGPZSZNGLNDQTBDLXGTCTAJDKYWNSYZLJHHZZCWNYYZYWMHYCHHYXHJKZWSXHZYXLYSKQYSPSLYZWMYPPKBYGLKZHTYXAXQSYSHXASMCHKDSCRSWJPWXSGZJLWWSCHSJHSQNHCSEGNDAQTBAALZZMSSTDQJCJKTSCJAXPLGGXHHGXXZCXPDMMHLDGTYBYSJMXHMRCPXXJZCKZXSHMLQXXTTHXWZFKHCCZDYTCJYXQHLXDHYPJQXYLSYYDZOZJNYXQEZYSQYAYXWYPDGXDDXSPPYZNDLTWRHXYDXZZJHTCXMCZLHPYYYYMHZLLHNXMYLLLMDCPPXHMXDKYCYRDLTXJCHHZZXZLCCLYLNZSHZJZZLNNRLWHYQSNJHXYNTTTKYJPYCHHYEGKCTTWLGQRLGGTGTYGYHPYHYLQYQGCWYQKPYYYTTTTLHYHLLTYTTSPLKYZXGZWGPYDSSZZDQXSKCQNMJJZZBXYQMJRTFFBTKHZKBXLJJKDXJTLBWFZPPTKQTZTGPDGNTPJYFALQMKGXBDCLZFHZCLLLLADPMXDJHLCCLGYHDZFGYDDGCYYFGYDXKSSEBDHYKDKDKHNAXXYBPBYYHXZQGAFFQYJXDMLJCSQZLLPCHBSXGJYNDYBYQSPZWJLZKSDDTACTBXZDYZYPJZQSJNKKTKNJDJGYYPGTLFYQKASDNTCYHBLWDZHBBYDWJRYGKZYHEYYFJMSDTYFZJJHGCXPLXHLDWXXJKYTCYKSSSMTWCTTQZLPBSZDZWZXGZAGYKTYWXLHLSPBCLLOQMMZSSLCMBJCSZZKYDCZJGQQDSMCYTZQQLWZQZXSSFPTTFQMDDZDSHDTDWFHTDYZJYQJQKYPBDJYYXTLJHDRQXXXHAYDHRJLKLYTWHLLRLLRCXYLBWSRSZZSYMKZZHHKYHXKSMDSYDYCJPBZBSQLFCXXXNXKXWYWSDZYQOGGQMMYHCDZTTFJYYBGSTTTYBYKJDHKYXBELHTYPJQNFXFDYKZHQKZBYJTZBXHFDXKDASWTAWAJLDYJSFHBLDNNTNQJTJNCHXFJSRFWHZFMDRYJYJWZPDJKZYJYMPCYZNYNXFBYTFYFWYGDBNZZZDNYTXZEMMQBSQEHXFZMBMFLZZSRXYMJGSXWZJSPRYDJSJGXHJJGLJJYNZZJXHGXKYMLPYYYCXYTWQZSWHWLYRJLPXSLSXMFSWWKLCTNXNYNPSJSZHDZEPTXMYYWXYYSYWLXJQZQXZDCLEEELMCPJPCLWBXSQHFWWTFFJTNQJHJQDXHWLBYZNFJLALKYYJLDXHHYCSTYYWNRJYXYWTRMDRQHWQCMFJDYZMHMYYXJWMYZQZXTLMRSPWWCHAQBXYGZYPXYYRRCLMPYMGKSJSZYSRMYJSNXTPLNBAPPYPYLXYYZKYNLDZYJZCZNNLMZHHARQMPGWQTZMXXMLLHGDZXYHXKYXYCJMFFYYHJFSBSSQLXXNDYCANNMTCJCYPRRNYTYQNYYMBMSXNDLYLYSLJRLXYSXQMLLYZLZJJJKYZZCSFBZXXMSTBJGNXYZHLXNMCWSCYZYFZLXBRNNNYLBNRTGZQYSATSWRYHYJZMZDHZGZDWYBSSCSKXSYHYTXXGCQGXZZSHYXJSCRHMKKBXCZJYJYMKQHZJFNBHMQHYSNJNZYBKNQMCLGQHWLZNZSWXKHLJHYYBQLBFCDSXDLDSPFZPSKJYZWZXZDDXJSMMEGJSCSSMGCLXXKYYYLNYPWWWGYDKZJGGGZGGSYCKNJWNJPCXBJJTQTJWDSSPJXZXNZXUMELPXFSXTLLXCLJXJJLJZXCTPSWXLYDHLYQRWHSYCSQYYBYAYWJJJQFWQCQQCJQGXALDBZZYJGKGXPLTZYFXJLTPADKYQHPMATLCPDCKBMTXYBHKLENXDLEEGQDYMSAWHZMLJTWYGXLYQZLJEEYYBQQFFNLYXRDSCTGJGXYYNKLLYQKCCTLHJLQMKKZGCYYGLLLJDZGYDHZWXPYSJBZKDZGYZZHYWYFQYTYZSZYEZZLYMHJJHTSMQWYZLKYYWZCSRKQYTLTDXWCTYJKLWSQZWBDCQYNCJSRSZJLKCDCDTLZZZACQQZZDDXYPLXZBQJYLZLLLQDDZQJYJYJZYXNYYYNYJXKXDAZWYRDLJYYYRJLXLLDYXJCYWYWNQCCLDDNYYYNYCKCZHXXCCLGZQJGKWPPCQQJYSBZZXYJSQPXJPZBSBDSFNSFPZXHDWZTDWPPTFLZZBZDMYYPQJRSDZSQZSQXBDGCPZSWDWCSQZGMDHZXMWWFYBPDGPHTMJTHZSMMBGZMBZJCFZWFZBBZMQCFMBDMCJXLGPNJBBXGYHYYJGPTZGZMQBQTCGYXJXLWZKYDPDYMGCFTPFXYZTZXDZXTGKMTYBBCLBJASKYTSSQYYMSZXFJEWLXLLSZBQJJJAKLYLXLYCCTSXMCWFKKKBSXLLLLJYXTYLTJYYTDPJHNHNNKBYQNFQYYZBYYESSESSGDYHFHWTCJBSDZZTFDMXHCNJZYMQWSRYJDZJQPDQBBSTJGGFBKJBXTGQHNGWJXJGDLLTHZHHYYYYYYSXWTYYYCCBDBPYPZYCCZYJPZYWCBDLFWZCWJDXXHYHLHWZZXJTCZLCDPXUJCZZZLYXJJTXPHFXWPYWXZPTDZZBDZCYHJHMLXBQXSBYLRDTGJRRCTTTHYTCZWMXFYTWWZCWJWXJYWCSKYBZSCCTZQNHXNWXXKHKFHTSWOCCJYBCMPZZYKBNNZPBZHHZDLSYDDYTYFJPXYNGFXBYQXCBHXCPSXTYZDMKYSNXSXLHKMZXLYHDHKWHXXSSKQYHHCJYXGLHZXCSNHEKDTGZXQYPKDHEXTYKCNYMYYYPKQYYYKXZLTHJQTBYQHXBMYHSQCKWWYLLHCYYLNNEQXQWMCFBDCCMLJGGXDQKTLXKGNQCDGZJWYJJLYHHQTTTNWCHMXCXWHWSZJYDJCCDBQCDGDNYXZTHCQRXCBHZTQCBXWGQWYYBXHMBYMYQTYEXMQKYAQYRGYZSLFYKKQHYSSQYSHJGJCNXKZYCXSBXYXHYYLSTYCXQTHYSMGSCPMMGCCCCCMTZTASMGQZJHKLOSQYLSWTMXSYQKDZLJQQYPLSYCZTCQQPBBQJZCLPKHQZYYXXDTDDTSJCXFFLLCHQXMJLWCJCXTSPYCXNDTJSHJWXDQQJSKXYAMYLSJHMLALYKXCYYDMNMDQMXMCZNNCYBZKKYFLMCHCMLHXRCJJHSYLNMTJZGZGYWJXSRXCWJGJQHQZDQJDCJJZKJKGDZQGJJYJYLXZXXCDQHHHEYTMHLFSBDJSYYSHFYSTCZQLPBDRFRZTZYKYWHSZYQKWDQZRKMSYNBCRXQBJYFAZPZZEDZCJYWBCJWHYJBQSZYWRYSZPTDKZPFPBNZTKLQYHBBZPNPPTYZZYBQNYDCPJMMCYCQMCYFZZDCMNLFPBPLNGQJTBTTNJZPZBBZNJKLJQYLNBZQHKSJZNGGQSZZKYXSHPZSNBCGZKDDZQANZHJKDRTLZLSWJLJZLYWTJNDJZJHXYAYNCBGTZCSSQMNJPJYTYSWXZFKWJQTKHTZPLBHSNJZSYZBWZZZZLSYLSBJHDWWQPSLMMFBJDWAQYZTCJTBNNWZXQXCDSLQGDSDPDZHJTQQPSWLYYJZLGYXYZLCTCBJTKTYCZJTQKBSJLGMGZDMCSGPYNJZYQYYKNXRPWSZXMTNCSZZYXYBYHYZAXYWQCJTLLCKJJTJHGDXDXYQYZZBYWDLWQCGLZGJGQRQZCZSSBCRPCSKYDZNXJSQGXSSJMYDNSTZTPBDLTKZWXQWQTZEXNQCZGWEZKSSBYBRTSSSLCCGBPSZQSZLCCGLLLZXHZQTHCZMQGYZQZNMCOCSZJMMZSQPJYGQLJYJPPLDXRGZYXCCSXHSHGTZNLZWZKJCXTCFCJXLBMQBCZZWPQDNHXLJCTHYZLGYLNLSZZPCXDSCQQHJQKSXZPBAJYEMSMJTZDXLCJYRYYNWJBNGZZTMJXLTBSLYRZPYLSSCNXPHLLHYLLQQZQLXYMRSYCXZLMMCZLTZSDWTJJLLNZGGQXPFSKYGYGHBFZPDKMWGHCXMSGDXJMCJZDYCABXJDLNBCDQYGSKYDQTXDJJYXMSZQAZDZFSLQXYJSJZYLBTXXWXQQZBJZUFBBLYLWDSLJHXJYZJWTDJCZFQZQZZDZSXZZQLZCDZFJHYSPYMPQZMLPPLFFXJJNZZYLSJEYQZFPFZKSYWJJJHRDJZZXTXXGLGHYDXCSKYSWMMZCWYBAZBJKSHFHJCXMHFQHYXXYZFTSJYZFXYXPZLCHMZMBXHZZSXYFYMNCWDABAZLXKTCSHHXKXJJZJSTHYGXSXYYHHHJWXKZXSSBZZWHHHCWTZZZPJXSNXQQJGZYZYWLLCWXZFXXYXYHXMKYYSWSQMNLNAYCYSPMJKHWCQHYLAJJMZXHMMCNZHBHXCLXTJPLTXYJHDYYLTTXFSZHYXXSJBJYAYRSMXYPLCKDUYHLXRLNLLSTYZYYQYGYHHSCCSMZCTZQXKYQFPYYRPFFLKQUNTSZLLZMWWTCQQYZWTLLMLMPWMBZSSTZRBPDDTLQJJBXZCSRZQQYGWCSXFWZLXCCRSZDZMCYGGDZQSGTJSWLJMYMMZYHFBJDGYXCCPSHXNZCSBSJYJGJMPPWAFFYFNXHYZXZYLREMZGZCYZSSZDLLJCSQFNXZKPTXZGXJJGFMYYYSNBTYLBNLHPFZDCYFBMGQRRSSSZXYSGTZRNYDZZCDGPJAFJFZKNZBLCZSZPSGCYCJSZLMLRSZBZZLDLSLLYSXSQZQLYXZLSKKBRXBRBZCYCXZZZEEYFGKLZLYYHGZSGZLFJHGTGWKRAAJYZKZQTSSHJJXDCYZUYJLZYRZDQQHGJZXSSZBYKJPBFRTJXLLFQWJHYLQTYMBLPZDXTZYGBDHZZRBGXHWNJTJXLKSCFSMWLSDQYSJTXKZSCFWJLBXFTZLLJZLLQBLSQMQQCGCZFPBPHZCZJLPYYGGDTGWDCFCZQYYYQYSSCLXZSKLZZZGFFCQNWGLHQYZJJCZLQZZYJPJZZBPDCCMHJGXDQDGDLZQMFGPSYTSDYFWWDJZJYSXYYCZCYHZWPBYKXRYLYBHKJKSFXTZJMMCKHLLTNYYMSYXYZPYJQYCSYCWMTJJKQYRHLLQXPSGTLYYCLJSCPXJYZFNMLRGJJTYZBXYZMSJYJHHFZQMSYXRSZCWTLRTQZSSTKXGQKGSPTGCZNJSJCQCXHMXGGZTQYDJKZDLBZSXJLHYQGGGTHQSZPYHJHHGYYGKGGCWJZZYLCZLXQSFTGZSLLLMLJSKCTBLLZZSZMMNYTPZSXQHJCJYQXYZXZQZCPSHKZZYSXCDFGMWQRLLQXRFZTLYSTCTMJCXJJXHJNXTNRZTZFQYHQGLLGCXSZSJDJLJCYDSJTLNYXHSZXCGJZYQPYLFHDJSBPCCZHJJJQZJQDYBSSLLCMYTTMQTBHJQNNYGKYRQYQMZGCJKPDCGMYZHQLLSLLCLMHOLZGDYYFZSLJCQZLYLZQJESHNYLLJXGJXLYSYYYXNBZLJSSZCQQCJYLLZLTJYLLZLLBNYLGQCHXYYXOXCXQKYJXXXYKLXSXXYQXCYKQXQCSGYXXYQXYGYTQOHXHXPYXXXULCYEYCHZZCBWQBBWJQZSCSZSSLZYLKDESJZWMYMCYTSDSXXSCJPQQSQYLYYZYCMDJDZYWCBTJSYDJKCYDDJLBDJJSODZYSYXQQYXDHHGQQYQHDYXWGMMMAJDYBBBPPBCMUUPLJZSMTXERXJMHQNUTPJDCBSSMSSSTKJTSSMMTRCPLZSZMLQDSDMJMQPNQDXCFYNBFSDQXYXHYAYKQYDDLQYYYSSZBYDSLNTFQTZQPZMCHDHCZCWFDXTMYQSPHQYYXSRGJCWTJTZZQMGWJJTJHTQJBBHWZPXXHYQFXXQYWYYHYSCDYDHHQMNMTMWCPBSZPPZZGLMZFOLLCFWHMMSJZTTDHZZYFFYTZZGZYSKYJXQYJZQBHMBZZLYGHGFMSHPZFZSNCLPBQSNJXZSLXXFPMTYJYGBXLLDLXPZJYZJYHHZCYWHJYLSJEXFSZZYWXKZJLUYDTMLYMQJPWXYHXSKTQJEZRPXXZHHMHWQPWQLYJJQJJZSZCPHJLCHHNXJLQWZJHBMZYXBDHHYPZLHLHLGFWLCHYYTLHJXCJMSCPXSTKPNHQXSRTYXXTESYJCTLSSLSTDLLLWWYHDHRJZSFGXTSYCZYNYHTDHWJSLHTZDQDJZXXQHGYLTZPHCSQFCLNJTCLZPFSTPDYNYLGMJLLYCQHYSSHCHYLHQYQTMZYPBYWRFQYKQSYSLZDQJMPXYYSSRHZJNYWTQDFZBWWTWWRXCWHGYHXMKMYYYQMSMZHNGCEPMLQQMTCWCTMMPXJPJJHFXYYZSXZHTYBMSTSYJTTQQQYYLHYNPYQZLCYZHZWSMYLKFJXLWGXYPJYTYSYXYMZCKTTWLKSMZSYLMPWLZWXWQZSSAQSYXYRHSSNTSRAPXCPWCMGDXHXZDZYFJHGZTTSBJHGYZSZYSMYCLLLXBTYXHBBZJKSSDMALXHYCFYGMQYPJYCQXJLLLJGSLZGQLYCJCCZOTYXMTMTTLLWTGPXYMZMKLPSZZZXHKQYSXCTYJZYHXSHYXZKXLZWPSQPYHJWPJPWXQQYLXSDHMRSLZZYZWTTCYXYSZZSHBSCCSTPLWSSCJCHNLCGCHSSPHYLHFHHXJSXYLLNYLSZDHZXYLSXLWZYKCLDYAXZCMDDYSPJTQJZLNWQPSSSWCTSTSZLBLNXSMNYYMJQBQHRZWTYYDCHQLXKPZWBGQYBKFCMZWPZLLYYLSZYDWHXPSBCMLJBSCGBHXLQHYRLJXYSWXWXZSLDFHLSLYNJLZYFLYJYCDRJLFSYZFSLLCQYQFGJYHYXZLYLMSTDJCYHBZLLNWLXXYGYYHSMGDHXXHHLZZJZXCZZZCYQZFNGWPYLCPKPYYPMCLQKDGXZGGWQBDXZZKZFBXXLZXJTPJPTTBYTSZZDWSLCHZHSLTYXHQLHYXXXYYZYSWTXZKHLXZXZPYHGCHKCFSYHUTJRLXFJXPTZTWHPLYXFCRHXSHXKYXXYHZQDXQWULHYHMJTBFLKHTXCWHJFWJCFPQRYQXCYYYQYGRPYWSGSUNGWCHKZDXYFLXXHJJBYZWTSXXNCYJJYMSWZJQRMHXZWFQSYLZJZGBHYNSLBGTTCSYBYXXWXYHXYYXNSQYXMQYWRGYQLXBBZLJSYLPSYTJZYHYZAWLRORJMKSCZJXXXYXCHDYXRYXXJDTSQFXLYLTSFFYXLMTYJMJUYYYXLTZCSXQZQHZXLYYXZHDNBRXXXJCTYHLBRLMBRLLAXKYLLLJLYXXLYCRYLCJTGJCMTLZLLCYZZPZPCYAWHJJFYBDYYZSMPCKZDQYQPBPCJPDCYZMDPBCYYDYCNNPLMTMLRMFMMGWYZBSJGYGSMZQQQZTXMKQWGXLLPJGZBQCDJJJFPKJKCXBLJMSWMDTQJXLDLPPBXCWRCQFBFQJCZAHZGMYKPHYYHZYKNDKZMBPJYXPXYHLFPNYYGXJDBKXNXHJMZJXSTRSTLDXSKZYSYBZXJLXYSLBZYSLHXJPFXPQNBYLLJQKYGZMCYZZYMCCSLCLHZFWFWYXZMWSXTYNXJHPYYMCYSPMHYSMYDYSHQYZCHMJJMZCAAGCFJBBHPLYZYLXXSDJGXDHKXXTXXNBHRMLYJSLTXMRHNLXQJXYZLLYSWQGDLBJHDCGJYQYCMHWFMJYBMBYJYJWYMDPWHXQLDYGPDFXXBCGJSPCKRSSYZJMSLBZZJFLJJJLGXZGYXYXLSZQYXBEXYXHGCXBPLDYHWETTWWCJMBTXCHXYQXLLXFLYXLLJLSSFWDPZSMYJCLMWYTCZPCHQEKCQBWLCQYDPLQPPQZQFJQDJHYMMCXTXDRMJWRHXCJZYLQXDYYNHYYHRSLSRSYWWZJYMTLTLLGTQCJZYABTCKZCJYCCQLJZQXALMZYHYWLWDXZXQDLLQSHGPJFJLJHJABCQZDJGTKHSSTCYJLPSWZLXZXRWGLDLZRLZXTGSLLLLZLYXXWGDZYGBDPHZPBRLWSXQBPFDWOFMWHLYPCBJCCLDMBZPBZZLCYQXLDOMZBLZWPDWYYGDSTTHCSQSCCRSSSYSLFYBFNTYJSZDFNDPDHDZZMBBLSLCMYFFGTJJQWFTMTPJWFNLBZCMMJTGBDZLQLPYFHYYMJYLSDCHDZJWJCCTLJCLDTLJJCPDDSQDSSZYBNDBJLGGJZXSXNLYCYBJXQYCBYLZCFZPPGKCXZDZFZTJJFJSJXZBNZYJQTTYJYHTYCZHYMDJXTTMPXSPLZCDWSLSHXYPZGTFMLCJTYCBPMGDKWYCYZCDSZZYHFLYCTYGWHKJYYLSJCXGYWJCBLLCSNDDBTZBSCLYZCZZSSQDLLMQYYHFSLQLLXFTYHABXGWNYWYYPLLSDLDLLBJCYXJZMLHLJDXYYQYTDLLLBUGBFDFBBQJZZMDPJHGCLGMJJPGAEHHBWCQXAXHHHZCHXYPHJAXHLPHJPGPZJQCQZGJJZZUZDMQYYBZZPHYHYBWHAZYJHYKFGDPFQSDLZMLJXKXGALXZDAGLMDGXMWZQYXXDXXPFDMMSSYMPFMDMMKXKSYZYSHDZKXSYSMMZZZMSYDNZZCZXFPLSTMZDNMXCKJMZTYYMZMZZMSXHHDCZJEMXXKLJSTLWLSQLYJZLLZJSSDPPMHNLZJCZYHMXXHGZCJMDHXTKGRMXFWMCGMWKDTKSXQMMMFZZYDKMSCLCMPCGMHSPXQPZDSSLCXKYXTWLWJYAHZJGZQMCSNXYYMMPMLKJXMHLMLQMXCTKZMJQYSZJSYSZHSYJZJCDAJZYBSDQJZGWZQQXFKDMSDJLFWEHKZQKJPEYPZYSZCDWYJFFMZZYLTTDZZEFMZLBNPPLPLPEPSZALLTYLKCKQZKGENQLWAGYXYDPXLHSXQQWQCQXQCLHYXXMLYCCWLYMQYSKGCHLCJNSZKPYZKCQZQLJPDMDZHLASXLBYDWQLWDNBQCRYDDZTJYBKBWSZDXDTNPJDTCTQDFXQQMGNXECLTTBKPWSLCTYQLPWYZZKLPYGZCQQPLLKCCYLPQMZCZQCLJSLQZDJXLDDHPZQDLJJXZQDXYZQKZLJCYQDYJPPYPQYKJYRMPCBYMCXKLLZLLFQPYLLLMBSGLCYSSLRSYSQTMXYXZQZFDZUYSYZTFFMZZSMZQHZSSCCMLYXWTPZGXZJGZGSJSGKDDHTQGGZLLBJDZLCBCHYXYZHZFYWXYZYMSDBZZYJGTSMTFXQYXQSTDGSLNXDLRYZZLRYYLXQHTXSRTZNGZXBNQQZFMYKMZJBZYMKBPNLYZPBLMCNQYZZZSJZHJCTZKHYZZJRDYZHNPXGLFZTLKGJTCTSSYLLGZRZBBQZZKLPKLCZYSSUYXBJFPNJZZXCDWXZYJXZZDJJKGGRSRJKMSMZJLSJYWQSKYHQJSXPJZZZLSNSHRNYPZTWCHKLPSRZLZXYJQXQKYSJYCZTLQZYBBYBWZPQDWWYZCYTJCJXCKCWDKKZXSGKDZXWWYYJQYYTCYTDLLXWKCZKKLCCLZCQQDZLQLCSFQCHQHSFSMQZZLNBJJZBSJHTSZDYSJQJPDLZCDCWJKJZZLPYCGMZWDJJBSJQZSYZYHHXJPBJYDSSXDZNCGLQMBTSFSBPDZDLZNFGFJGFSMPXJQLMBLGQCYYXBQKDJJQYRFKZTJDHCZKLBSDZCFJTPLLJGXHYXZCSSZZXSTJYGKGCKGYOQXJPLZPBPGTGYJZGHZQZZLBJLSQFZGKQQJZGYCZBZQTLDXRJXBSXXPZXHYZYCLWDXJJHXMFDZPFZHQHQMQGKSLYHTYCGFRZGNQXCLPDLBZCSCZQLLJBLHBZCYPZZPPDYMZZSGYHCKCPZJGSLJLNSCDSLDLXBMSTLDDFJMKDJDHZLZXLSZQPQPGJLLYBDSZGQLBZLSLKYYHZTTNTJYQTZZPSZQZTLLJTYYLLQLLQYZQLBDZLSLYYZYMDFSZSNHLXZNCZQZPBWSKRFBSYZMTHBLGJPMCZZLSTLXSHTCSYZLZBLFEQHLXFLCJLYLJQCBZLZJHHSSTBRMHXZHJZCLXFNBGXGTQJCZTMSFZKJMSSNXLJKBHSJXNTNLZDNTLMSJXGZJYJCZXYJYJWRWWQNZTNFJSZPZSHZJFYRDJSFSZJZBJFZQZZHZLXFYSBZQLZSGYFTZDCSZXZJBQMSZKJRHYJZCKMJKHCHGTXKXQGLXPXFXTRTYLXJXHDTSJXHJZJXZWZLCQSBTXWXGXTXXHXFTSDKFJHZYJFJXRZSDLLLTQSQQZQWZXSYQTWGWBZCGZLLYZBCLMQQTZHZXZXLJFRMYZFLXYSQXXJKXRMQDZDMMYYBSQBHGZMWFWXGMXLZPYYTGZYCCDXYZXYWGSYJYZNBHPZJSQSYXSXRTFYZGRHZTXSZZTHCBFCLSYXZLZQMZLMPLMXZJXSFLBYZMYQHXJSXRXSQZZZSSLYFRCZJRCRXHHZXQYDYHXSJJHZCXZBTYNSYSXJBQLPXZQPYMLXZKYXLXCJLCYSXXZZLXDLLLJJYHZXGYJWKJRWYHCPSGNRZLFZWFZZNSXGXFLZSXZZZBFCSYJDBRJKRDHHGXJLJJTGXJXXSTJTJXLYXQFCSGSWMSBCTLQZZWLZZKXJMLTMJYHSDDBXGZHDLBMYJFRZFSGCLYJBPMLYSMSXLSZJQQHJZFXGFQFQBPXZGYYQXGZTCQWYLTLGWSGWHRLFSFGZJMGMGBGTJFSYZZGZYZAFLSSPMLPFLCWBJZCLJJMZLPJJLYMQDMYYYFBGYGYZMLYZDXQYXRQQQHSYYYQXYLJTYXFSFSLLGNQCYHYCWFHCCCFXPYLYPLLZYXXXXXKQHHXSHJZCFZSCZJXCPZWHHHHHAPYLQALPQAFYHXDYLUKMZQGGGDDESRNNZLTZGCHYPPYSQJJHCLLJTOLNJPZLJLHYMHEYDYDSQYCDDHGZUNDZCLZYZLLZNTNYZGSLHSLPJJBDGWXPCDUTJCKLKCLWKLLCASSTKZZDNQNTTLYYZSSYSSZZRYLJQKCQDHHCRXRZYDGRGCWCGZQFFFPPJFZYNAKRGYWYQPQXXFKJTSZZXSWZDDFBBXTBGTZKZNPZZPZXZPJSZBMQHKCYXYLDKLJNYPKYGHGDZJXXEAHPNZKZTZCMXCXMMJXNKSZQNMNLWBWWXJKYHCPSTMCSQTZJYXTPCTPDTNNPGLLLZSJLSPBLPLQHDTNJNLYYRSZFFJFQWDPHZDWMRZCCLODAXNSSNYZRESTYJWJYJDBCFXNMWTTBYLWSTSZGYBLJPXGLBOCLHPCBJLTMXZLJYLZXCLTPNCLCKXTPZJSWCYXSFYSZDKNTLBYJCYJLLSTGQCBXRYZXBXKLYLHZLQZLNZCXWJZLJZJNCJHXMNZZGJZZXTZJXYCYYCXXJYYXJJXSSSJSTSSTTPPGQTCSXWZDCSYFPTFBFHFBBLZJCLZZDBXGCXLQPXKFZFLSYLTUWBMQJHSZBMDDBCYSCCLDXYCDDQLYJJWMQLLCSGLJJSYFPYYCCYLTJANTJJPWYCMMGQYYSXDXQMZHSZXPFTWWZQSWQRFKJLZJQQYFBRXJHHFWJJZYQAZMYFRHCYYBYQWLPEXCCZSTYRLTTDMQLYKMBBGMYYJPRKZNPBSXYXBHYZDJDNGHPMFSGMWFZMFQMMBCMZZCJJLCNUXYQLMLRYGQZCYXZLWJGCJCGGMCJNFYZZJHYCPRRCMTZQZXHFQGTJXCCJEAQCRJYHPLQLSZDJRBCQHQDYRHYLYXJSYMHZYDWLDFRYHBPYDTSSCNWBXGLPZMLZZTQSSCPJMXXYCSJYTYCGHYCJWYRXXLFEMWJNMKLLSWTXHYYYNCMMCWJDQDJZGLLJWJRKHPZGGFLCCSCZMCBLTBHBQJXQDSPDJZZGKGLFQYWBZYZJLTSTDHQHCTCBCHFLQMPWDSHYYTQWCNZZJTLBYMBPDYYYXSQKXWYYFLXXNCWCXYPMAELYKKJMZZZBRXYYQJFLJPFHHHYTZZXSGQQMHSPGDZQWBWPJHZJDYSCQWZKTXXSQLZYYMYSDZGRXCKKUJLWPYSYSCSYZLRMLQSYLJXBCXTLWDQZPCYCYKPPPNSXFYZJJRCEMHSZMSXLXGLRWGCSTLRSXBZGBZGZTCPLUJLSLYLYMTXMTZPALZXPXJTJWTCYYZLBLXBZLQMYLXPGHDSLSSDMXMBDZZSXWHAMLCZCPJMCNHJYSNSYGCHSKQMZZQDLLKABLWJXSFMOCDXJRRLYQZKJMYBYQLYHETFJZFRFKSRYXFJTWDSXXSYSQJYSLYXWJHSNLXYYXHBHAWHHJZXWMYLJCSSLKYDZTXBZSYFDXGXZJKHSXXYBSSXDPYNZWRPTQZCZENYGCXQFJYKJBZMLJCMQQXUOXSLYXXLYLLJDZBTYMHPFSTTQQWLHOKYBLZZALZXQLHZWRRQHLSTMYPYXJJXMQSJFNBXYXYJXXYQYLTHYLQYFMLKLJTMLLHSZWKZHLJMLHLJKLJSTLQXYLMBHHLNLZXQJHXCFXXLHYHJJGBYZZKBXSCQDJQDSUJZYYHZHHMGSXCSYMXFEBCQWWRBPYYJQTYZCYQYQQZYHMWFFHGZFRJFCDPXNTQYZPDYKHJLFRZXPPXZDBBGZQSTLGDGYLCQMLCHHMFYWLZYXKJLYPQHSYWMQQGQZMLZJNSQXJQSYJYCBEHSXFSZPXZWFLLBCYYJDYTDTHWZSFJMQQYJLMQXXLLDTTKHHYBFPWTYYSQQWNQWLGWDEBZWCMYGCULKJXTMXMYJSXHYBRWFYMWFRXYQMXYSZTZZTFYKMLDHQDXWYYNLCRYJBLPSXCXYWLSPRRJWXHQYPHTYDNXHHMMYWYTZCSQMTSSCCDALWZTCPQPYJLLQZYJSWXMZZMMYLMXCLMXCZMXMZSQTZPPQQBLPGXQZHFLJJHYTJSRXWZXSCCDLXTYJDCQJXSLQYCLZXLZZXMXQRJMHRHZJBHMFLJLMLCLQNLDXZLLLPYPSYJYSXCQQDCMQJZZXHNPNXZMEKMXHYKYQLXSXTXJYYHWDCWDZHQYYBGYBCYSCFGPSJNZDYZZJZXRZRQJJYMCANYRJTLDPPYZBSTJKXXZYPFDWFGZZRPYMTNGXZQBYXNBUFNQKRJQZMJEGRZGYCLKXZDSKKNSXKCLJSPJYYZLQQJYBZSSQLLLKJXTBKTYLCCDDBLSPPFYLGYDTZJYQGGKQTTFZXBDKTYYHYBBFYTYYBCLPDYTGDHRYRNJSPTCSNYJQHKLLLZSLYDXXWBCJQSPXBPJZJCJDZFFXXBRMLAZHCSNDLBJDSZBLPRZTSWSBXBCLLXXLZDJZSJPYLYXXYFTFFFBHJJXGBYXJPMMMPSSJZJMTLYZJXSWXTYLEDQPJMYGQZJGDJLQJWJQLLSJGJGYGMSCLJJXDTYGJQJQJCJZCJGDZZSXQGSJGGCXHQXSNQLZZBXHSGZXCXYLJXYXYYDFQQJHJFXDHCTXJYRXYSQTJXYEFYYSSYYJXNCYZXFXMSYSZXYYSCHSHXZZZGZZZGFJDLTYLNPZGYJYZYYQZPBXQBDZTZCZYXXYHHSQXSHDHGQHJHGYWSZTMZMLHYXGEBTYLZKQWYTJZRCLEKYSTDBCYKQQSAYXCJXWWGSBHJYZYDHCSJKQCXSWXFLTYNYZPZCCZJQTZWJQDZZZQZLJJXLSBHPYXXPSXSHHEZTXFPTLQYZZXHYTXNCFZYYHXGNXMYWXTZSJPTHHGYMXMXQZXTSBCZYJYXXTYYZYPCQLMMSZMJZZLLZXGXZAAJZYXJMZXWDXZSXZDZXLEYJJZQBHZWZZZQTZPSXZTDSXJJJZNYAZPHXYYSRNQDTHZHYYKYJHDZXZLSWCLYBZYECWCYCRYLCXNHZYDZYDYJDFRJJHTRSQTXYXJRJHOJYNXELXSFSFJZGHPZSXZSZDZCQZBYYKLSGSJHCZSHDGQGXYZGXCHXZJWYQWGYHKSSEQZZNDZFKWYSSTCLZSTSYMCDHJXXYWEYXCZAYDMPXMDSXYBSQMJMZJMTZQLPJYQZCGQHXJHHLXXHLHDLDJQCLDWBSXFZZYYSCHTYTYYBHECXHYKGJPXHHYZJFXHWHBDZFYZBCAPNPGNYDMSXHMMMMAMYNBYJTMPXYYMCTHJBZYFCGTYHWPHFTWZZEZSBZEGPFMTSKFTYCMHFLLHGPZJXZJGZJYXZSBBQSCZZLZCCSTPGXMJSFTCCZJZDJXCYBZLFCJSYZFGSZLYBCWZZBYZDZYPSWYJZXZBDSYUXLZZBZFYGCZXBZHZFTPBGZGEJBSTGKDMFHYZZJHZLLZZGJQZLSFDJSSCBZGPDLFZFZSZYZYZSYGCXSNXXCHCZXTZZLJFZGQSQYXZJQDCCZTQCDXZJYQJQCHXZTDLGSCXZSYQJQTZWLQDQZTQCHQQJZYEZZZPBWKDJFCJPZTYPQYQTTYNLMBDKTJZPQZQZZFPZSBNJLGYJDXJDZZKZGQKXDLPZJTCJDQBXDJQJSTCKNXBXZMSLYJCQMTJQWWCJQNJNLLLHJCWQTBZQYDZCZPZZDZYDDCYZZZCCJTTJFZDPRRTZTJDCQTQZDTJNPLZBCLLCTZSXKJZQZPZLBZRBTJDCXFCZDBCCJJLTQQPLDCGZDBBZJCQDCJWYNLLZYZCCDWLLXWZLXRXNTQQCZXKQLSGDFQTDDGLRLAJJTKUYMKQLLTZYTDYYCZGJWYXDXFRSKSTQTENQMRKQZHHQKDLDAZFKYPBGGPZREBZZYKZZSPEGJXGYKQZZZSLYSYYYZWFQZYLZZLZHWCHKYPQGNPGBLPLRRJYXCCSYYHSFZFYBZYYTGZXYLXCZWXXZJZBLFFLGSKHYJZEYJHLPLLLLCZGXDRZELRHGKLZZYHZLYQSZZJZQLJZFLNBHGWLCZCFJYSPYXZLZLXGCCPZBLLCYBBBBUBBCBPCRNNZCZYRBFSRLDCGQYYQXYGMQZWTZYTYJXYFWTEHZZJYWLCCNTZYJJZDEDPZDZTSYQJHDYMBJNYJZLXTSSTPHNDJXXBYXQTZQDDTJTDYYTGWSCSZQFLSHLGLBCZPHDLYZJYCKWTYTYLBNYTSDSYCCTYSZYYEBHEXHQDTWNYGYCLXTSZYSTQMYGZAZCCSZZDSLZCLZRQXYYELJSBYMXSXZTEMBBLLYYLLYTDQYSHYMRQWKFKBFXNXSBYCHXBWJYHTQBPBSBWDZYLKGZSKYHXQZJXHXJXGNLJKZLYYCDXLFYFGHLJGJYBXQLYBXQPQGZTZPLNCYPXDJYQYDYMRBESJYYHKXXSTMXRCZZYWXYQYBMCLLYZHQYZWQXDBXBZWZMSLPDMYSKFMZKLZCYQYCZLQXFZZYDQZPZYGYJYZMZXDZFYFYTTQTZHGSPCZMLCCYTZXJCYTJMKSLPZHYSNZLLYTPZCTZZCKTXDHXXTQCYFKSMQCCYYAZHTJPCYLZLYJBJXTPNYLJYYNRXSYLMMNXJSMYBCSYSYLZYLXJJQYLDZLPQBFZZBLFNDXQKCZFYWHGQMRDSXYCYTXNQQJZYYPFZXDYZFPRXEJDGYQBXRCNFYYQPGHYJDYZXGRHTKYLNWDZNTSMPKLBTHBPYSZBZTJZSZZJTYYXZPHSSZZBZCZPTQFZMYFLYPYBBJQXZMXXDJMTSYSKKBJZXHJCKLPSMKYJZCXTMLJYXRZZQSLXXQPYZXMKYXXXJCLJPRMYYGADYSKQLSNDHYZKQXZYZTCGHZTLMLWZYBWSYCTBHJHJFCWZTXWYTKZLXQSHLYJZJXTMPLPYCGLTBZZTLZJCYJGDTCLKLPLLQPJMZPAPXYZLKKTKDZCZZBNZDYDYQZJYJGMCTXLTGXSZLMLHBGLKFWNWZHDXUHLFMKYSLGXDTWWFRJEJZTZHYDXYKSHWFZCQSHKTMQQHTZHYMJDJSKHXZJZBZZXYMPAGQMSTPXLSKLZYNWRTSQLSZBPSPSGZWYHTLKSSSWHZZLYYTNXJGMJSZSUFWNLSOZTXGXLSAMMLBWLDSZYLAKQCQCTMYCFJBSLXCLZZCLXXKSBZQCLHJPSQPLSXXCKSLNHPSFQQYTXYJZLQLDXZQJZDYYDJNZPTUZDSKJFSLJHYLZSQZLBTXYDGTQFDBYAZXDZHZJNHHQBYKNXJJQCZMLLJZKSPLDYCLBBLXKLELXJLBQYCXJXGCNLCQPLZLZYJTZLJGYZDZPLTQCSXFDMNYCXGBTJDCZNBGBQYQJWGKFHTNPYQZQGBKPBBYZMTJDYTBLSQMPSXTBNPDXKLEMYYCJYNZCTLDYKZZXDDXHQSHDGMZSJYCCTAYRZLPYLTLKXSLZCGGEXCLFXLKJRTLQJAQZNCMBYDKKCXGLCZJZXJHPTDJJMZQYKQSECQZDSHHADMLZFMMZBGNTJNNLGBYJBRBTMLBYJDZXLCJLPLDLPCQDHLXZLYCBLCXZZJADJLNZMMSSSMYBHBSQKBHRSXXJMXSDZNZPXLGBRHWGGFCXGMSKLLTSJYYCQLTSKYWYYHYWXBXQYWPYWYKQLSQPTNTKHQCWDQKTWPXXHCPTHTWUMSSYHBWCRWXHJMKMZNGWTMLKFGHKJYLSYYCXWHYECLQHKQHTTQKHFZLDXQWYZYYDESBPKYRZPJFYYZJCEQDZZDLATZBBFJLLCXDLMJSSXEGYGSJQXCWBXSSZPDYZCXDNYXPPZYDLYJCZPLTXLSXYZYRXCYYYDYLWWNZSAHJSYQYHGYWWAXTJZDAXYSRLTDPSSYYFNEJDXYZHLXLLLZQZSJNYQYQQXYJGHZGZCYJCHZLYCDSHWSHJZYJXCLLNXZJJYYXNFXMWFPYLCYLLABWDDHWDXJMCXZTZPMLQZHSFHZYNZTLLDYWLSLXHYMMYLMBWWKYXYADTXYLLDJPYBPWUXJMWMLLSAFDLLYFLBHHHBQQLTZJCQJLDJTFFKMMMBYTHYGDCQRDDWRQJXNBYSNWZDBYYTBJHPYBYTTJXAAHGQDQTMYSTQXKBTZPKJLZRBEQQSSMJJBDJOTGTBXPGBKTLHQXJJJCTHXQDWJLWRFWQGWSHCKRYSWGFTGYGBXSDWDWRFHWYTJJXXXJYZYSLPYYYPAYXHYDQKXSHXYXGSKQHYWFDDDPPLCJLQQEEWXKSYYKDYPLTJTHKJLTCYYHHJTTPLTZZCDLTHQKZXQYSTEEYWYYZYXXYYSTTJKLLPZMCYHQGXYHSRMBXPLLNQYDQHXSXXWGDQBSHYLLPJJJTHYJKYPPTHYYKTYEZYENMDSHLCRPQFDGFXZPSFTLJXXJBSWYYSKSFLXLPPLBBBLBSFXFYZBSJSSYLPBBFFFFSSCJDSTZSXZRYYSYFFSYZYZBJTBCTSBSDHRTJJBYTCXYJEYLXCBNEBJDSYXYKGSJZBXBYTFZWGENYHHTHZHHXFWGCSTBGXKLSXYWMTMBYXJSTZSCDYQRCYTWXZFHMYMCXLZNSDJTTTXRYCFYJSBSDYERXJLJXBBDEYNJGHXGCKGSCYMBLXJMSZNSKGXFBNBPTHFJAAFXYXFPXMYPQDTZCXZZPXRSYWZDLYBBKTYQPQJPZYPZJZNJPZJLZZFYSBTTSLMPTZRTDXQSJEHBZYLZDHLJSQMLHTXTJECXSLZZSPKTLZKQQYFSYGYWPCPQFHQHYTQXZKRSGTTSQCZLPTXCDYYZXSQZSLXLZMYCPCQBZYXHBSXLZDLTCDXTYLZJYYZPZYZLTXJSJXHLPMYTXCQRBLZSSFJZZTNJYTXMYJHLHPPLCYXQJQQKZZSCPZKSWALQSBLCCZJSXGWWWYGYKTJBBZTDKHXHKGTGPBKQYSLPXPJCKBMLLXDZSTBKLGGQKQLSBKKTFXRMDKBFTPZFRTBBRFERQGXYJPZSSTLBZTPSZQZSJDHLJQLZBPMSMMSXLQQNHKNBLRDDNXXDHDDJCYYGYLXGZLXSYGMQQGKHBPMXYXLYTQWLWGCPBMQXCYZYDRJBHTDJYHQSHTMJSBYPLWHLZFFNYPMHXXHPLTBQPFBJWQDBYGPNZTPFZJGSDDTQSHZEAWZZYLLTYYBWJKXXGHLFKXDJTMSZSQYNZGGSWQSPHTLSSKMCLZXYSZQZXNCJDQGZDLFNYKLJCJLLZLMZZNHYDSSHTHZZLZZBBHQZWWYCRZHLYQQJBEYFXXXWHSRXWQHWPSLMSSKZTTYGYQQWRSLALHMJTQJSMXQBJJZJXZYZKXBYQXBJXSHZTSFJLXMXZXFGHKZSZGGYLCLSARJYHSLLLMZXELGLXYDJYTLFBHBPNLYZFBBHPTGJKWETZHKJJXZXXGLLJLSTGSHJJYQLQZFKCGNNDJSSZFDBCTWWSEQFHQJBSAQTGYPQLBXBMMYWXGSLZHGLZGQYFLZBYFZJFRYSFMBYZHQGFWZSYFYJJPHZBYYZFFWODGRLMFTWLBZGYCQXCDJYGZYYYYTYTYDWEGAZYHXJLZYYHLRMGRXXZCLHNELJJTJTPWJYBJJBXJJTJTEEKHWSLJPLPSFYZPQQBDLQJJTYYQLYZKDKSQJYYQZLDQTGJQYZJSUCMRYQTHTEJMFCTYHYPKMHYZWJDQFHYYXWSHCTXRLJHQXHCCYYYJLTKTTYTMXGTCJTZAYYOCZLYLBSZYWJYTSJYHBYSHFJLYGJXXTMZYYLTXXYPZLXYJZYZYYPNHMYMDYYLBLHLSYYQQLLNJJYMSOYQBZGDLYXYLCQYXTSZEGXHZGLHWBLJHEYXTWQMAKBPQCGYSHHEGQCMWYYWLJYJHYYZLLJJYLHZYHMGSLJLJXCJJYCLYCJPCPZJZJMMYLCQLNQLJQJSXYJMLSZLJQLYCMMHCFMMFPQQMFYLQMCFFQMMMMHMZNFHHJGTTHHKHSLNCHHYQDXTMMQDCYZYXYQMYQYLTDCYYYZAZZCYMZYDLZFFFMMYCQZWZZMABTBYZTDMNZZGGDFTYPCGQYTTSSFFWFDTZQSSYSTWXJHXYTSXXYLBYQHWWKXHZXWZNNZZJZJJQJCCCHYYXBZXZCYZTLLCQXYNJYCYYCYNZZQYYYEWYCZDCJYCCHYJLBTZYYCQWMPWPYMLGKDLDLGKQQBGYCHJXY"}),require.config({shim:{underscore:{exports:"_"},backbone:{deps:["underscore","jquery"],exports:"Backbone"}},paths:{jquery:"lib/jquery","jquery.ui.core":"lib/jquery.ui.core","jquery.ui.widget":"lib/jquery.ui.widget.1.11.1","jquery.ui.progressbar":"lib/jquery.ui.progressbar","jquery.ui.tabs":"lib/jquery.ui.tabs",tmpl:"lib/tmpl.min","jquery.iframe-transport":"lib/jquery.iframe-transport.1.4","jquery.fileupload":"lib/jquery.fileupload.5.42.1","jquery.fileupload-process":"lib/jquery.fileupload.file-processing.1.3.0","jquery.fileupload-validate":"lib/jquery.fileupload.validation.1.1.2","jquery.fileupload-ui":"lib/jquery.fileupload.ui.9.6.0","jquery.magnific-popup":"lib/jquery.magnific-popup",simplemodal:"lib/jquery.simplemodal.1.4.4.min",jstree:"lib/jstree.1.0",select2:"lib/select2-3.5.2",underscore:"lib/underscore",backbone:"lib/backbone",text:"lib/text"}}),define("common",["jquery","underscore","text","pinyin-by-unicode"],function(e,t,n,r){return{INFO_TIMEOUT:1e4,SUCCESS_TIMEOUT:3e3,ERROR_TIMEOUT:3e3,strChineseFirstPY:r.strChineseFirstPY,getUrl:function(e){var t=app.config.siteRoot;switch(e.name){case"list_lib_dir":return t+"ajax/lib/"+e.repo_id+"/dir/";case"star_file":return t+"ajax/repo/"+e.repo_id+"/file/star/";case"unstar_file":return t+"ajax/repo/"+e.repo_id+"/file/unstar/";case"del_dir":return t+"ajax/repo/"+e.repo_id+"/dir/delete/";case"del_file":return t+"ajax/repo/"+e.repo_id+"/file/delete/";case"rename_dir":return t+"ajax/repo/"+e.repo_id+"/dir/rename/";case"rename_file":return t+"ajax/repo/"+e.repo_id+"/file/rename/";case"mv_dir":return t+"ajax/repo/"+e.repo_id+"/dir/mv/";case"cp_dir":return t+"ajax/repo/"+e.repo_id+"/dir/cp/";case"mv_file":return t+"ajax/repo/"+e.repo_id+"/file/mv/";case"cp_file":return t+"ajax/repo/"+e.repo_id+"/file/cp/";case"new_dir":return t+"ajax/repo/"+e.repo_id+"/dir/new/";case"new_file":return t+"ajax/repo/"+e.repo_id+"/file/new/";case"del_dirents":return t+"ajax/repo/"+e.repo_id+"/dirents/delete/";case"mv_dirents":return t+"ajax/repo/"+e.repo_id+"/dirents/move/";case"cp_dirents":return t+"ajax/repo/"+e.repo_id+"/dirents/copy/";case"get_file_op_url":return t+"ajax/repo/"+e.repo_id+"/file_op_url/";case"get_dirents":return t+"ajax/repo/"+e.repo_id+"/dirents/";case"repo_del":return t+"ajax/repo/"+e.repo_id+"/remove/";case"sub_repo":return t+"ajax/repo/"+e.repo_id+"/dir/sub_repo/";case"thumbnail_create":return t+"thumbnail/"+e.repo_id+"/create/";case"get_my_unenc_repos":return t+"ajax/my-unenc-repos/";case"unenc_rw_repos":return t+"ajax/unenc-rw-repos/";case"get_cp_progress":return t+"ajax/cp_progress/";case"cancel_cp":return t+"ajax/cancel_cp/";case"ajax_repo_remove_share":return t+"share/ajax/repo_remove_share/";case"get_user_contacts":return t+"ajax/contacts/";case"get_shared_download_link":return t+"share/ajax/get-download-link/";case"delete_shared_download_link":return t+"share/ajax/link/remove/";case"send_shared_download_link":return t+"share/link/send/";case"send_shared_upload_link":return t+"share/upload_link/send/";case"delete_shared_upload_link":return t+"share/ajax/upload_link/remove/";case"get_share_upload_link":return t+"share/ajax/get-upload-link/";case"private_share_dir":return t+"share/ajax/private-share-dir/";case"private_share_file":return t+"share/ajax/private-share-file/";case"get_popup_notices":return t+"ajax/get_popup_notices/";case"set_notices_seen":return t+"ajax/set_notices_seen/";case"get_unseen_notices_num":return t+"ajax/unseen-notices-count/";case"set_notice_seen_by_id":return t+"ajax/set_notice_seen_by_id/";case"repo_set_password":return t+"repo/set_password/";case"group_repos":return t+"api2/groups/"+e.group_id+"/repos/";case"group_basic_info":return t+"ajax/group/"+e.group_id+"/basic-info/";case"toggle_group_modules":return t+"ajax/group/"+e.group_id+"/toggle-modules/";case"toggle_personal_modules":return t+"ajax/toggle-personal-modules/";case"ajax_unset_inner_pub_repo":return t+"ajax/unset-inner-pub-repo/"+e.repo_id+"/";case"get_folder_perm_by_path":return t+"ajax/repo/"+e.repo_id+"/get-folder-perm-by-path/";case"set_user_folder_perm":return t+"ajax/repo/"+e.repo_id+"/set-user-folder-perm/";case"set_group_folder_perm":return t+"ajax/repo/"+e.repo_id+"/set-group-folder-perm/";case"starred_files":return t+"api2/starredfiles/";case"shared_repos":return t+"api2/shared-repos/"+e.repo_id+"/";case"search_user":return t+"api2/search-user/"}},showConfirm:function(t,n,r){var i=e("#confirm-popup"),s=e("#confirm-con"),o=e("#confirm-yes");s.html("

                "+t+"

                "+n+"

                "),i.modal({appendTo:"#main"}),e("#simplemodal-container").css({height:"auto"}),o.click(r)},closeModal:function(){e.modal.close()},feedback:function(t,n,r){var r=r||5e3;if(e(".messages").length>0)e(".messages").html('
              • '+t+"
              • ");else{var i='
                • '+t+"
                ";e("#main").append(i)}e(".messages").css({left:(e(window).width()-e(".messages").width())/2,top:10}).removeClass("hide"),setTimeout(function(){e(".messages").addClass("hide")},r)},showFormError:function(t,n){e("#"+t+" .error").html(n).removeClass("hide"),e("#simplemodal-container").css({height:"auto"})},ajaxErrorHandler:function(t,n,r){t.responseText?this.feedback(e.parseJSON(t.responseText).error,"error"):this.feedback(gettext("Failed. Please check the network."),"error")},enableButton:function(e){e.removeAttr("disabled").removeClass("btn-disabled")},disableButton:function(e){e.attr("disabled","disabled").addClass("btn-disabled")},setCaretPos:function(e,t){var n;return document.selection?(n=e.createTextRange(),n.move("character",t),n.select()):e.setSelectionRange(t,t)},prepareApiCsrf:function(){Backbone._sync=Backbone.sync,Backbone.sync=function(e,t,n){if(e=="create"||e=="update"||e=="delete"){var r=app.pageOptions.csrfToken;n.beforeSend=function(e){e.setRequestHeader("X-CSRFToken",r)}}return Backbone._sync(e,t,n)}},prepareCSRFToken:function(e,t){function n(e){var t=null;if(document.cookie&&document.cookie!=""){var n=document.cookie.split(";");for(var r=0;r'+o+"

                "):e(".error",t).removeClass("hide")}}})}}),_this=this,e(document).click(function(t){_this.closePopup(t,e("#user-info-popup"),e("#my-info"))})},initNoticePopup:function(){var t=e("#msg-count");if(t.length==0)return!1;var n=document.title;t.data("orig_doc_title",n);var r=function(){e.ajax({url:_this.getUrl({name:"get_unseen_notices_num"}),dataType:"json",cache:!1,success:function(r){var i=r.count,s=e(".num",t);s.html(i),i>0?(s.removeClass("hide"),document.title="("+i+")"+n):(s.addClass("hide"),document.title=n)}})};r(),setInterval(r,3e4),e("#notice-icon").click(function(){var t=e("#notice-popup");t.toggleClass("hide");if(!t.hasClass("hide")){e(".con",t).css({"max-height":e(window).height()-e("#header").outerHeight()-e(".hd",t).outerHeight()-3});var n=e(".loading-tip",t),r=e("#notice-list");r.addClass("hide"),n.show(),e(".error",t).addClass("hide"),e.ajax({url:_this.getUrl({name:"get_popup_notices"}),dataType:"json",success:function(t){n.hide(),r.html(t.notice_html).removeClass("hide"),e(".unread a",r).click(function(){var t=e(this).parents(".unread").data("id"),n=e(this).attr("href");return e.ajax({url:_this.getUrl({name:"set_notice_seen_by_id"})+"?notice_id="+encodeURIComponent(t),dataType:"json",success:function(e){location.href=n},error:function(){location.href=n}}),!1}),e(".detail",r).click(function(){location.href=e(".brief a",e(this).parent()).attr("href")})},error:function(r,i,s){if(r.responseText){var o=e.parseJSON(r.responseText).error;n.hide(),e(".error",t).length==0?n.after('

                '+o+"

                "):e(".error",t).removeClass("hide")}}})}}),e(window).resize(function(){var t=e("#notice-popup");t.hasClass("hide")||e(".con",t).css({"max-height":e(window).height()-e("#header").outerHeight()-e(".hd",t).outerHeight()-3})}),e("#notice-popup .close").click(function(){e("#notice-popup").addClass("hide"),e("#notice-list .unread").length>0&&e.ajax({url:_this.getUrl({name:"set_notices_seen"}),dataType:"json",success:function(){e(".num",t).html(0).addClass("hide"),document.title=n}})}),e(document).click(function(t){_this.closePopup(t,e("#notice-popup"),e("#notice-icon"))})},closeTopNoticeBar:function(){if(!app.pageOptions.cur_note)return!1;var t=app.pageOptions.cur_note.id;e("#info-bar").addClass("hide");if(navigator.cookieEnabled){var n=new Date,r=document.cookie.split("; "),i=!1;n.setTime(n.getTime()+12096e5),t+="; expires="+n.toGMTString()+"; path="+app.config.siteRoot;for(var s=0,o=r.length;s'+e.HTMLescape(t.name)+"
                "+e.HTMLescape(t.id)+"";return},formatSelection:function(t){return e.HTMLescape(t.name||t.id)},escapeMarkup:function(e){return e}}},imageCheck:function(e){if(e.lastIndexOf(".")==-1)return!1;var t=e.substr(e.lastIndexOf(".")+1).toLowerCase(),n=["gif","jpeg","jpg","png","ico","bmp"];return n.indexOf(t)!=-1?!0:!1},compareTwoWord:function(e,t){var n,r,i=e.charCodeAt(0),s=t.charCodeAt(0),o=this.strChineseFirstPY;if(19968=r?1:-1},fileSizeFormat:function(e,t){var n=1024,r=n*1024,i=r*1024,s=i*1024,t=t||0;return e>=0&&e=n&&e=r&&e=i&&e=s?(e/s).toFixed(t)+" TB":e+" B"}}}),function(e,t){if(typeof define=="function"&&define.amd)define("backbone",["underscore","jquery","exports"],function(n,r,i){e.Backbone=t(e,i,n,r)});else if(typeof exports!="undefined"){var n=require("underscore");t(e,exports,n)}else e.Backbone=t(e,{},e._,e.jQuery||e.Zepto||e.ender||e.$)}(this,function(e,t,n,r){var i=e.Backbone,s=[],o=s.push,u=s.slice,a=s.splice;t.VERSION="1.1.2",t.$=r,t.noConflict=function(){return e.Backbone=i,this},t.emulateHTTP=!1,t.emulateJSON=!1;var f=t.Events={on:function(e,t,n){if(!c(this,"on",e,[t,n])||!t)return this;this._events||(this._events={});var r=this._events[e]||(this._events[e]=[]);return r.push({callback:t,context:n,ctx:n||this}),this},once:function(e,t,r){if(!c(this,"once",e,[t,r])||!t)return this;var i=this,s=n.once(function(){i.off(e,s),t.apply(this,arguments)});return s._callback=t,this.on(e,s,r)},off:function(e,t,r){var i,s,o,u,a,f,l,h;if(!this._events||!c(this,"off",e,[t,r]))return this;if(!e&&!t&&!r)return this._events=void 0,this;u=e?[e]:n.keys(this._events);for(a=0,f=u.length;a").attr(e);this.setElement(r,!1)}else this.setElement(n.result(this,"el"),!1)}}),t.sync=function(e,r,i){var s=N[e];n.defaults(i||(i={}),{emulateHTTP:t.emulateHTTP,emulateJSON:t.emulateJSON});var o={type:s,dataType:"json"};i.url||(o.url=n.result(r,"url")||F()),i.data==null&&r&&(e==="create"||e==="update"||e==="patch")&&(o.contentType="application/json",o.data=JSON.stringify(i.attrs||r.toJSON(i))),i.emulateJSON&&(o.contentType="application/x-www-form-urlencoded",o.data=o.data?{model:o.data}:{});if(i.emulateHTTP&&(s==="PUT"||s==="DELETE"||s==="PATCH")){o.type="POST",i.emulateJSON&&(o.data._method=s);var u=i.beforeSend;i.beforeSend=function(e){e.setRequestHeader("X-HTTP-Method-Override",s);if(u)return u.apply(this,arguments)}}o.type!=="GET"&&!i.emulateJSON&&(o.processData=!1),o.type==="PATCH"&&T&&(o.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")});var a=i.xhr=t.ajax(n.extend(o,i));return r.trigger("request",r,a,i),a};var T=typeof window!="undefined"&&!!window.ActiveXObject&&(!window.XMLHttpRequest||!(new XMLHttpRequest).dispatchEvent),N={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};t.ajax=function(){return t.$.ajax.apply(t.$,arguments)};var C=t.Router=function(e){e||(e={}),e.routes&&(this.routes=e.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},k=/\((.*?)\)/g,L=/(\(\?)?:\w+/g,A=/\*\w+/g,O=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(C.prototype,f,{initialize:function(){},route:function(e,r,i){n.isRegExp(e)||(e=this._routeToRegExp(e)),n.isFunction(r)&&(i=r,r=""),i||(i=this[r]);var s=this;return t.history.route(e,function(n){var o=s._extractParameters(e,n);s.execute(i,o),s.trigger.apply(s,["route:"+r].concat(o)),s.trigger("route",r,o),t.history.trigger("route",s,r,o)}),this},execute:function(e,t){e&&e.apply(this,t)},navigate:function(e,n){return t.history.navigate(e,n),this},_bindRoutes:function(){if(!this.routes)return;this.routes=n.result(this,"routes");var e,t=n.keys(this.routes);while((e=t.pop())!=null)this.route(e,this.routes[e])},_routeToRegExp:function(e){return e=e.replace(O,"\\$&").replace(k,"(?:$1)?").replace(L,function(e,t){return t?e:"([^/?]+)"}).replace(A,"([^?]*?)"),new RegExp("^"+e+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(e,t){var r=e.exec(t).slice(1);return n.map(r,function(e,t){return t===r.length-1?e||null:e?decodeURIComponent(e):null})}});var M=t.History=function(){this.handlers=[],n.bindAll(this,"checkUrl"),typeof window!="undefined"&&(this.location=window.location,this.history=window.history)},_=/^[#\/]|\s+$/g,D=/^\/+|\/+$/g,P=/msie [\w.]+/,H=/\/$/,B=/#.*$/;M.started=!1,n.extend(M.prototype,f,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(e){var t=(e||this).location.href.match(/#(.*)$/);return t?t[1]:""},getFragment:function(e,t){if(e==null)if(this._hasPushState||!this._wantsHashChange||t){e=decodeURI(this.location.pathname+this.location.search);var n=this.root.replace(H,"");e.indexOf(n)||(e=e.slice(n.length))}else e=this.getHash();return e.replace(_,"")},start:function(e){if(M.started)throw new Error("Backbone.history has already been started");M.started=!0,this.options=n.extend({root:"/"},this.options,e),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var r=this.getFragment(),i=document.documentMode,s=P.exec(navigator.userAgent.toLowerCase())&&(!i||i<=7);this.root=("/"+this.root+"/").replace(D,"/");if(s&&this._wantsHashChange){var o=t.$('').css(e.extend(this.o.iframeCss,{display:"none",opacity:0,position:"fixed",height:s[0],width:s[1],zIndex:this.o.zIndex,top:0,left:0})).appendTo(this.o.appendTo)),this.d.overlay=e("
                ").attr("id",this.o.overlayId).addClass("simplemodal-overlay").css(e.extend(this.o.overlayCss,{display:"none",opacity:this.o.opacity/100,height:this.o.modal?t[0]:0,width:this.o.modal?t[1]:0,position:"fixed",left:0,top:0,zIndex:this.o.zIndex+1})).appendTo(this.o.appendTo),this.d.container=e("
                ").attr("id",this.o.containerId).addClass("simplemodal-container").css(e.extend({position:this.o.fixed?"fixed":"absolute"},this.o.containerCss,{display:"none",zIndex:this.o.zIndex+2})).append(this.o.close&&this.o.closeHTML?e(this.o.closeHTML).addClass(this.o.closeClass):"").appendTo(this.o.appendTo),this.d.wrap=e("
                ").attr("tabIndex",-1).addClass("simplemodal-wrap").css({height:"100%",outline:0,width:"100%"}).appendTo(this.d.container),this.d.data=n.attr("id",n.attr("id")||this.o.dataId).addClass("simplemodal-data").css(e.extend(this.o.dataCss,{display:"none"})).appendTo("body"),this.setContainerDimensions(),this.d.data.appendTo(this.d.wrap),(f||o)&&this.fixIE()},bindEvents:function(){var r=this;e("."+r.o.closeClass).bind("click.simplemodal",function(e){e.preventDefault(),r.close()}),r.o.modal&&r.o.close&&r.o.overlayClose&&r.d.overlay.bind("click.simplemodal",function(e){e.preventDefault(),r.close()}),n.bind("keydown.simplemodal",function(e){r.o.modal&&9===e.keyCode?r.watchTab(e):r.o.close&&r.o.escClose&&27===e.keyCode&&(e.preventDefault(),r.close())}),i.bind("resize.simplemodal orientationchange.simplemodal",function(){r.getDimensions(),r.o.autoResize?r.setContainerDimensions():r.o.autoPosition&&r.setPosition(),f||o?r.fixIE():r.o.modal&&(r.d.iframe&&r.d.iframe.css({height:s[0],width:s[1]}),r.d.overlay.css({height:t[0],width:t[1]}))})},unbindEvents:function(){e("."+this.o.closeClass).unbind("click.simplemodal"),n.unbind("keydown.simplemodal"),i.unbind(".simplemodal"),this.d.overlay.unbind("click.simplemodal")},fixIE:function(){var t=this.o.position;e.each([this.d.iframe||null,this.o.modal?this.d.overlay:null,"fixed"===this.d.container.css("position")?this.d.container:null],function(e,n){if(n){var r=n[0].style;r.position="absolute";if(2>e)r.removeExpression("height"),r.removeExpression("width"),r.setExpression("height",'document.body.scrollHeight > document.body.clientHeight ? document.body.scrollHeight : document.body.clientHeight + "px"'),r.setExpression("width",'document.body.scrollWidth > document.body.clientWidth ? document.body.scrollWidth : document.body.clientWidth + "px"');else{var i,s;t&&t.constructor===Array?(i=t[0]?"number"==typeof t[0]?t[0].toString():t[0].replace(/px/,""):n.css("top").replace(/px/,""),i=-1===i.indexOf("%")?i+' + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"':parseInt(i.replace(/%/,""))+' * ((document.documentElement.clientHeight || document.body.clientHeight) / 100) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',t[1]&&(s="number"==typeof t[1]?t[1].toString():t[1].replace(/px/,""),s=-1===s.indexOf("%")?s+' + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"':parseInt(s.replace(/%/,""))+' * ((document.documentElement.clientWidth || document.body.clientWidth) / 100) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"')):(i='(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',s='(document.documentElement.clientWidth || document.body.clientWidth) / 2 - (this.offsetWidth / 2) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"'),r.removeExpression("top"),r.removeExpression("left"),r.setExpression("top",i),r.setExpression("left",s)}}})},focus:function(t){var n=this,t=t&&-1!==e.inArray(t,["first","last"])?t:"first",r=e(":input:enabled:visible:"+t,n.d.wrap);setTimeout(function(){0i?i:ti?i:this.o.minHeight&&"auto"!==u&&no?o:eo?o:this.o.minWidth&&"auto"!==i&&rt||r>e?"auto":"visible"}),this.o.autoPosition&&this.setPosition()},setPosition:function(){var e,t;e=s[0]/2-this.d.container.outerHeight(!0)/2,t=s[1]/2-this.d.container.outerWidth(!0)/2;var n="fixed"!==this.d.container.css("position")?i.scrollTop():0;this.o.position&&"[object Array]"===Object.prototype.toString.call(this.o.position)?(e=n+(this.o.position[0]||e),t=this.o.position[1]||t):e=n+e,this.d.container.css({left:t,top:e})},watchTab:function(t){if(0r.length+5)return!1;if(r[i].selectorText&&r[i].selectorText.toLowerCase()==e)return t===!0?(n.removeRule&&n.removeRule(i),n.deleteRule&&n.deleteRule(i),!0):r[i]}while(r[++i]);return!1},add_css:function(e,t){return r.jstree.css.get_css(e,!1,t)?!1:(t.insertRule?t.insertRule(e+" { }",0):t.addRule(e,null,0),r.vakata.css.get_css(e))},remove_css:function(e,t){return r.vakata.css.get_css(e,!0,t)},add_sheet:function(e){var t=!1,n=!0;if(e.str)return e.title&&(t=r("style[id='"+e.title+"-stylesheet']")[0]),t?n=!1:(t=document.createElement("style"),t.setAttribute("type","text/css"),e.title&&t.setAttribute("id",e.title+"-stylesheet")),t.styleSheet?n?(document.getElementsByTagName("head")[0].appendChild(t),t.styleSheet.cssText=e.str):t.styleSheet.cssText=t.styleSheet.cssText+" "+e.str:(t.appendChild(document.createTextNode(e.str)),document.getElementsByTagName("head")[0].appendChild(t)),t.sheet||t.styleSheet;if(e.url){if(!document.createStyleSheet)return t=document.createElement("link"),t.rel="stylesheet",t.type="text/css",t.media="all",t.href=e.url,document.getElementsByTagName("head")[0].appendChild(t),t.styleSheet;try{t=document.createStyleSheet(e.url)}catch(i){}}}};var i=[],s=-1,o={},u={};r.fn.jstree=function(e){var t=typeof e=="string",n=Array.prototype.slice.call(arguments,1),s=this;if(t){if(e.substring(0,1)=="_")return s;this.each(function(){var t=i[r.data(this,"jstree-instance-id")],o=t&&r.isFunction(t[e])?t[e].apply(t,n):t;if(typeof o!="undefined"&&(e.indexOf("is_")===0||o!==!0&&o!==!1))return s=o,!1})}else this.each(function(){var t=r.data(this,"jstree-instance-id"),s=[],u=e?r.extend({},!0,e):{},a=r(this),f=!1,l=[];s=s.concat(n),a.data("jstree")&&s.push(a.data("jstree")),u=s.length?r.extend.apply(null,[!0,u].concat(s)):u,typeof t!="undefined"&&i[t]&&i[t].destroy(),t=parseInt(i.push({}),10)-1,r.data(this,"jstree-instance-id",t),u.plugins=r.isArray(u.plugins)?u.plugins:r.jstree.defaults.plugins.slice(),u.plugins.unshift("core"),u.plugins=u.plugins.sort().join(",,").replace(/(,|^)([^,]+)(,,\2)+(,|$)/g,"$1$2$4").replace(/,,+/g,",").replace(/,$/,"").split(","),f=r.extend(!0,{},r.jstree.defaults,u),f.plugins=u.plugins,r.each(o,function(e,t){r.inArray(e,f.plugins)===-1?(f[e]=null,delete f[e]):l.push(e)}),f.plugins=l,i[t]=new r.jstree._instance(t,r(this).addClass("jstree jstree-"+t),f),r.each(i[t]._get_settings().plugins,function(e,n){i[t].data[n]={}}),r.each(i[t]._get_settings().plugins,function(e,n){o[n]&&o[n].__init.apply(i[t])}),setTimeout(function(){i[t].init()},0)});return s},r.jstree={defaults:{plugins:[]},_focused:function(){return i[s]||null},_reference:function(e){if(i[e])return i[e];var t=r(e);return!t.length&&typeof e=="string"&&(t=r("#"+e)),t.length?i[t.closest(".jstree").data("jstree-instance-id")]||null:null},_instance:function(e,t,n){this.data={core:{}},this.get_settings=function(){return r.extend(!0,{},n)},this._get_settings=function(){return n},this.get_index=function(){return e},this.get_container=function(){return t},this.get_container_ul=function(){return t.children("ul:eq(0)")},this._set_settings=function(e){n=r.extend(!0,{},n,e)}},_fn:{},plugin:function(e,t){t=r.extend({},{__init:r.noop,__destroy:r.noop,_fn:{},defaults:!1},t),o[e]=t,r.jstree.defaults[e]=t.defaults,r.each(t._fn,function(t,n){n.plugin=e,n.old=r.jstree._fn[t],r.jstree._fn[t]=function(){var e,i=n,s=Array.prototype.slice.call(arguments),o=new r.Event("before.jstree"),u=!1;if(this.data.core.locked===!0&&t!=="unlock"&&t!=="is_locked")return;do{if(i&&i.plugin&&r.inArray(i.plugin,this._get_settings().plugins)!==-1)break;i=i.old}while(i);if(!i)return;if(t.indexOf("_")===0)e=i.apply(this,s);else{e=this.get_container().triggerHandler(o,{func:t,inst:this,args:s,plugin:i.plugin});if(e===!1)return;typeof e!="undefined"&&(s=e),e=i.apply(r.extend({},this,{__callback:function(e){this.get_container().triggerHandler(t+".jstree",{inst:this,args:s,rslt:e,rlbk:u})},__rollback:function(){return u=this.get_rollback(),u},__call_old:function(e){return i.old.apply(this,e?Array.prototype.slice.call(arguments,1):s)}}),s)}return e},r.jstree._fn[t].old=n.old,r.jstree._fn[t].plugin=e})},rollback:function(e){e&&(r.isArray(e)||(e=[e]),r.each(e,function(e,t){i[t.i].set_rollback(t.h,t.d)}))}},r.jstree._fn=r.jstree._instance.prototype={},r(function(){var i=navigator.userAgent.toLowerCase(),s=(i.match(/.+?(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],o=".jstree ul, .jstree li { display:block; margin:0 0 0 0; padding:0 0 0 0; list-style-type:none; } .jstree li { display:block; min-height:18px; line-height:18px; white-space:nowrap; margin-left:18px; min-width:18px; } .jstree-rtl li { margin-left:0; margin-right:18px; } .jstree > ul > li { margin-left:0px; } .jstree-rtl > ul > li { margin-right:0px; } .jstree ins { display:inline-block; text-decoration:none; width:18px; height:18px; margin:0 0 0 0; padding:0; } .jstree a { display:inline-block; line-height:16px; height:16px; color:black; white-space:nowrap; text-decoration:none; padding:1px 2px; margin:0; } .jstree a:focus { outline: none; } .jstree a > ins { height:16px; width:16px; } .jstree a > .jstree-icon { margin-right:3px; } .jstree-rtl a > .jstree-icon { margin-left:3px; margin-right:0; } li.jstree-open > ul { display:block; } li.jstree-closed > ul { display:none; } ";if(/msie/.test(i)&&parseInt(s,10)==6){e=!0;try{document.execCommand("BackgroundImageCache",!1,!0)}catch(u){}o+=".jstree li { height:18px; margin-left:0; margin-right:0; } .jstree li li { margin-left:18px; } .jstree-rtl li li { margin-left:0px; margin-right:18px; } li.jstree-open ul { display:block; } li.jstree-closed ul { display:none !important; } .jstree li a { display:inline; border-width:0 !important; padding:0px 2px !important; } .jstree li a ins { height:16px; width:16px; margin-right:3px; } .jstree-rtl li a ins { margin-right:0px; margin-left:3px; } "}/msie/.test(i)&&parseInt(s,10)==7&&(t=!0,o+=".jstree li a { border-width:0 !important; padding:0px 2px !important; } "),!/compatible/.test(i)&&/mozilla/.test(i)&&parseFloat(s,10)<1.9&&(n=!0,o+=".jstree ins { display:-moz-inline-box; } .jstree li { line-height:12px; } .jstree a { display:-moz-inline-box; } .jstree .jstree-no-icons .jstree-checkbox { display:-moz-inline-stack !important; } "),r.vakata.css.add_sheet({str:o,title:"jstree"})}),r.jstree.plugin("core",{__init:function(){this.data.core.locked=!1,this.data.core.to_open=this.get_settings().core.initially_open,this.data.core.to_load=this.get_settings().core.initially_load},defaults:{html_titles:!1,animation:500,initially_open:[],initially_load:[],open_parents:!0,notify_plugins:!0,rtl:!1,load_open:!1,strings:{loading:"Loading ...",new_node:"New node",multiple_selection:"Multiple selection"}},_fn:{init:function(){this.set_focus(),this._get_settings().core.rtl&&this.get_container().addClass("jstree-rtl").css("direction","rtl"),this.get_container().html(""),this.data.core.li_height=this.get_container_ul().find("li.jstree-closed, li.jstree-leaf").eq(0).height()||18,this.get_container().delegate("li > ins","click.jstree",r.proxy(function(e){var t=r(e.target);t.is("ins")&&e.pageY-t.offset().top ul > li:first-child"):e.length?t?e.nextAll("li").size()>0?e.nextAll("li:eq(0)"):!1:e.hasClass("jstree-open")?e.find("li:eq(0)"):e.nextAll("li").size()>0?e.nextAll("li:eq(0)"):e.parentsUntil(".jstree","li").next("li").eq(0):!1},_get_prev:function(e,t){e=this._get_node(e);if(e===-1)return this.get_container().find("> ul > li:last-child");if(!e.length)return!1;if(t)return e.prevAll("li").length>0?e.prevAll("li:eq(0)"):!1;if(e.prev("li").length){e=e.prev("li").eq(0);while(e.hasClass("jstree-open"))e=e.children("ul:eq(0)").children("li:last");return e}var n=e.parentsUntil(".jstree","li:eq(0)");return n.length?n:!1},_get_parent:function(e){e=this._get_node(e);if(e==-1||!e.length)return!1;var t=e.parentsUntil(".jstree","li:eq(0)");return t.length?t:-1},_get_children:function(e){return e=this._get_node(e),e===-1?this.get_container().children("ul:eq(0)").children("li"):e.length?e.children("ul:eq(0)").children("li"):!1},get_path:function(e,t){var n=[],r=this;return e=this._get_node(e),e===-1||!e||!e.length?!1:(e.parentsUntil(".jstree","li").each(function(){n.push(t?this.id:r.get_text(this))}),n.reverse(),n.push(t?e.attr("id"):this.get_text(e)),n)},_get_string:function(e){return this._get_settings().core.strings[e]||e},is_open:function(e){return e=this._get_node(e),e&&e!==-1&&e.hasClass("jstree-open")},is_closed:function(e){return e=this._get_node(e),e&&e!==-1&&e.hasClass("jstree-closed")},is_leaf:function(e){return e=this._get_node(e),e&&e!==-1&&e.hasClass("jstree-leaf")},correct_state:function(e){e=this._get_node(e);if(!e||e===-1)return!1;e.removeClass("jstree-closed jstree-open").addClass("jstree-leaf").children("ul").remove(),this.__callback({obj:e})},open_node:function(t,n,r){t=this._get_node(t);if(!t.length)return!1;if(!t.hasClass("jstree-closed"))return n&&n.call(),!1;var i=r||e?0:this._get_settings().core.animation,s=this;this._is_loaded(t)?(this._get_settings().core.open_parents&&t.parentsUntil(".jstree",".jstree-closed").each(function(){s.open_node(this,!1,!0)}),i&&t.children("ul").css("display","none"),t.removeClass("jstree-closed").addClass("jstree-open").children("a").removeClass("jstree-loading"),i?t.children("ul").stop(!0,!0).slideDown(i,function(){this.style.display="",s.after_open(t)}):s.after_open(t),this.__callback({obj:t}),n&&n.call()):(t.children("a").addClass("jstree-loading"),this.load_node(t,function(){s.open_node(t,n,r)},n))},after_open:function(e){this.__callback({obj:e})},close_node:function(t,n){t=this._get_node(t);var r=n||e?0:this._get_settings().core.animation,i=this;if(!t.length||!t.hasClass("jstree-open"))return!1;r&&t.children("ul").attr("style","display:block !important"),t.removeClass("jstree-open").addClass("jstree-closed"),r?t.children("ul").stop(!0,!0).slideUp(r,function(){this.style.display="",i.after_close(t)}):i.after_close(t),this.__callback({obj:t})},after_close:function(e){this.__callback({obj:e})},toggle_node:function(e){e=this._get_node(e);if(e.hasClass("jstree-closed"))return this.open_node(e);if(e.hasClass("jstree-open"))return this.close_node(e)},open_all:function(e,t,n){e=e?this._get_node(e):-1;if(!e||e===-1)e=this.get_container_ul();n?e=e.find("li.jstree-closed"):(n=e,e.is(".jstree-closed")?e=e.find("li.jstree-closed").andSelf():e=e.find("li.jstree-closed"));var r=this;e.each(function(){var e=this;r._is_loaded(this)?r.open_node(this,!1,!t):r.open_node(this,function(){r.open_all(e,t,n)},!t)}),n.find("li.jstree-closed").length===0&&this.__callback({obj:n})},close_all:function(e,t){var n=this;e=e?this._get_node(e):this.get_container();if(!e||e===-1)e=this.get_container_ul();e.find("li.jstree-open").andSelf().each(function(){n.close_node(this,!t)}),this.__callback({obj:e})},clean_node:function(e){e=e&&e!=-1?r(e):this.get_container_ul(),e=e.is("li")?e.find("li").andSelf():e.find("li"),e.removeClass("jstree-last").filter("li:last-child").addClass("jstree-last").end().filter(":has(li)").not(".jstree-open").removeClass("jstree-leaf").addClass("jstree-closed"),e.not(".jstree-open, .jstree-closed").addClass("jstree-leaf").children("ul").remove(),this.__callback({obj:e})},get_rollback:function(){return this.__callback(),{i:this.get_index(),h:this.get_container().children("ul").clone(!0),d:this.data}},set_rollback:function(e,t){this.get_container().empty().append(e),this.data=t,this.__callback()},load_node:function(e,t,n){this.__callback({obj:e})},_is_loaded:function(e){return!0},create_node:function(e,t,n,i,s){e=this._get_node(e),t=typeof t=="undefined"?"last":t;var o=r("
              • "),u=this._get_settings().core,a;if(e!==-1&&!e.length)return!1;if(!s&&!this._is_loaded(e))return this.load_node(e,function(){this.create_node(e,t,n,i,!0)}),!1;this.__rollback(),typeof n=="string"&&(n={data:n}),n||(n={}),n.attr&&o.attr(n.attr),n.metadata&&o.data(n.metadata),n.state&&o.addClass("jstree-"+n.state),n.data||(n.data=this._get_string("new_node")),r.isArray(n.data)||(a=n.data,n.data=[],n.data.push(a)),r.each(n.data,function(e,t){a=r(""),r.isFunction(t)&&(t=t.call(this,n)),typeof t=="string"?a.attr("href","#")[u.html_titles?"html":"text"](t):(t.attr||(t.attr={}),t.attr.href||(t.attr.href="#"),a.attr(t.attr)[u.html_titles?"html":"text"](t.title),t.language&&a.addClass(t.language)),a.prepend(" "),t.icon&&(t.icon.indexOf("/")===-1?a.children("ins").addClass(t.icon):a.children("ins").css("background","url('"+t.icon+"') center center no-repeat")),o.append(a)}),o.prepend(" "),e===-1&&(e=this.get_container(),t==="before"&&(t="first"),t==="after"&&(t="last"));switch(t){case"before":e.before(o),a=this._get_parent(e);break;case"after":e.after(o),a=this._get_parent(e);break;case"inside":case"first":e.children("ul").length||e.append("
                  "),e.children("ul").prepend(o),a=e;break;case"last":e.children("ul").length||e.append("
                    "),e.children("ul").append(o),a=e;break;default:e.children("ul").length||e.append("
                      "),t||(t=0),a=e.children("ul").children("li").eq(t),a.length?a.before(o):e.children("ul").append(o),a=e}if(a===-1||a.get(0)===this.get_container().get(0))a=-1;return this.clean_node(a),this.__callback({obj:o,parent:a}),i&&i.call(this,o),o},get_text:function(e){e=this._get_node(e);if(!e.length)return!1;var t=this._get_settings().core.html_titles;return e=e.children("a:eq(0)"),t?(e=e.clone(),e.children("INS").remove(),e.html()):(e=e.contents().filter(function(){return this.nodeType==3})[0],e.nodeValue)},set_text:function(e,t){e=this._get_node(e);if(!e.length)return!1;e=e.children("a:eq(0)");if(this._get_settings().core.html_titles){var n=e.children("INS").clone();return e.html(t).prepend(n),this.__callback({obj:e,name:t}),!0}return e=e.contents().filter(function(){return this.nodeType==3})[0],this.__callback({obj:e,name:t}),e.nodeValue=t},rename_node:function(e,t){e=this._get_node(e),this.__rollback(),e&&e.length&&this.set_text.apply(this,Array.prototype.slice.call(arguments))&&this.__callback({obj:e,name:t})},delete_node:function(e){e=this._get_node(e);if(!e.length)return!1;this.__rollback();var t=this._get_parent(e),n=r([]),i=this;return e.each(function(){n=n.add(i._get_prev(this))}),e=e.detach(),t!==-1&&t.find("> ul > li").length===0&&t.removeClass("jstree-open jstree-closed").addClass("jstree-leaf"),this.clean_node(t),this.__callback({obj:e,prev:n,parent:t}),e},prepare_move:function(e,t,n,i,s){var o={};o.ot=r.jstree._reference(e)||this,o.o=o.ot._get_node(e),o.r=t===-1?-1:this._get_node(t),o.p=typeof n=="undefined"||n===!1?"last":n;if(!s&&u.o&&u.o[0]===o.o[0]&&u.r[0]===o.r[0]&&u.p===o.p){this.__callback(u),i&&i.call(this,u);return}o.ot=r.jstree._reference(o.o)||this,o.rt=r.jstree._reference(o.r)||this;if(o.r===-1||!o.r){o.cr=-1;switch(o.p){case"first":case"before":case"inside":o.cp=0;break;case"after":case"last":o.cp=o.rt.get_container().find(" > ul > li").length;break;default:o.cp=o.p}}else{if(!/^(before|after)$/.test(o.p)&&!this._is_loaded(o.r))return this.load_node(o.r,function(){this.prepare_move(e,t,n,i,!0)});switch(o.p){case"before":o.cp=o.r.index(),o.cr=o.rt._get_parent(o.r);break;case"after":o.cp=o.r.index()+1,o.cr=o.rt._get_parent(o.r);break;case"inside":case"first":o.cp=0,o.cr=o.r;break;case"last":o.cp=o.r.find(" > ul > li").length,o.cr=o.r;break;default:o.cp=o.p,o.cr=o.r}}o.np=o.cr==-1?o.rt.get_container():o.cr,o.op=o.ot._get_parent(o.o),o.cop=o.o.index(),o.op===-1&&(o.op=o.ot?o.ot.get_container():this.get_container()),!/^(before|after)$/.test(o.p)&&o.op&&o.np&&o.op[0]===o.np[0]&&o.o.index() ul > li:nth-child("+(o.cp+1)+")"),u=o,this.__callback(u),i&&i.call(this,u)},check_move:function(){var e=u,t=!0,n=e.r===-1?this.get_container():e.r;return!e||!e.o||e.or[0]===e.o[0]?!1:e.op&&e.np&&e.op[0]===e.np[0]&&e.cp-1===e.o.index()?!1:(e.o.each(function(){if(n.parentsUntil(".jstree","li").andSelf().index(this)!==-1)return t=!1,!1}),t)},move_node:function(e,t,n,i,s,o){if(!s)return this.prepare_move(e,t,n,function(e){this.move_node(e,!1,!1,i,!0,o)});i&&(u.cy=!0);if(!o&&!this.check_move())return!1;this.__rollback();var a=!1;i?(a=e.o.clone(!0),a.find("*[id]").andSelf().each(function(){this.id&&(this.id="copy_"+this.id)})):a=e.o,e.or.length?e.or.before(a):(e.np.children("ul").length||r("
                        ").appendTo(e.np),e.np.children("ul:eq(0)").append(a));try{e.ot.clean_node(e.op),e.rt.clean_node(e.np),e.op.find("> ul > li").length||e.op.removeClass("jstree-open jstree-closed").addClass("jstree-leaf").children("ul").remove()}catch(f){}return i&&(u.cy=!0,u.oc=a),this.__callback(u),u},_get_move:function(){return u}}})})(jQuery),function(e){var t,n,r;e(function(){/msie/.test(navigator.userAgent.toLowerCase())?(n=e('').css({position:"absolute",top:-1e3,left:0}).appendTo("body"),r=e('').css({position:"absolute",top:-1e3,left:0}).appendTo("body"),t=n.width()-r.width(),n.add(r).remove()):(n=e("
                        ").css({width:100,height:100,overflow:"auto",position:"absolute",top:-1e3,left:0}).prependTo("body").append("
                        ").find("div").css({width:"100%",height:200}),t=100-n.width(),n.parent().remove())}),e.jstree.plugin("ui",{__init:function(){this.data.ui.selected=e(),this.data.ui.last_selected=!1,this.data.ui.hovered=null,this.data.ui.to_select=this.get_settings().ui.initially_select,this.get_container().delegate("a","click.jstree",e.proxy(function(t){t.preventDefault(),t.currentTarget.blur(),e(t.currentTarget).hasClass("jstree-loading")||this.select_node(t.currentTarget,!0,t)},this)).delegate("a","mouseenter.jstree",e.proxy(function(t){e(t.currentTarget).hasClass("jstree-loading")||this.hover_node(t.target)},this)).delegate("a","mouseleave.jstree",e.proxy(function(t){e(t.currentTarget).hasClass("jstree-loading")||this.dehover_node(t.target)},this)).bind("reopen.jstree",e.proxy(function(){this.reselect()},this)).bind("get_rollback.jstree",e.proxy(function(){this.dehover_node(),this.save_selected()},this)).bind("set_rollback.jstree",e.proxy(function(){this.reselect()},this)).bind("close_node.jstree",e.proxy(function(t,n){var r=this._get_settings().ui,i=this._get_node(n.rslt.obj),s=i&&i.length?i.children("ul").find("a.jstree-clicked"):e(),o=this;if(r.selected_parent_close===!1||!s.length)return;s.each(function(){o.deselect_node(this),r.selected_parent_close==="select_parent"&&o.select_node(i)})},this)).bind("delete_node.jstree",e.proxy(function(e,t){var n=this._get_settings().ui.select_prev_on_delete,r=this._get_node(t.rslt.obj),i=r&&r.length?r.find("a.jstree-clicked"):[],s=this;i.each(function(){s.deselect_node(this)}),n&&i.length&&t.rslt.prev.each(function(){if(this.parentNode)return s.select_node(this),!1})},this)).bind("move_node.jstree",e.proxy(function(e,t){t.rslt.cy&&t.rslt.oc.find("a.jstree-clicked").removeClass("jstree-clicked")},this))},defaults:{select_limit:-1,select_multiple_modifier:"ctrl",select_range_modifier:"shift",selected_parent_close:"select_parent",selected_parent_open:!0,select_prev_on_delete:!0,disable_selecting_children:!1,initially_select:[]},_fn:{_get_node:function(t,n){if(typeof t=="undefined"||t===null)return n?this.data.ui.selected:this.data.ui.last_selected;var r=e(t,this.get_container());return r.is(".jstree")||t==-1?-1:(r=r.closest("li",this.get_container()),r.length?r:!1)},_ui_notify:function(e,t){t.selected&&this.select_node(e,!1)},save_selected:function(){var e=this;this.data.ui.to_select=[],this.data.ui.selected.each(function(){this.id&&e.data.ui.to_select.push("#"+this.id.toString().replace(/^#/,"").replace(/\\\//g,"/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,"\\.").replace(/\:/g,"\\:"))}),this.__callback(this.data.ui.to_select)},reselect:function(){var t=this,n=this.data.ui.to_select;n=e.map(e.makeArray(n),function(e){return"#"+e.toString().replace(/^#/,"").replace(/\\\//g,"/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,"\\.").replace(/\:/g,"\\:")}),e.each(n,function(e,n){n&&n!=="#"&&t.select_node(n)}),this.data.ui.selected=this.data.ui.selected.filter(function(){return this.parentNode}),this.__callback()},refresh:function(e){return this.save_selected(),this.__call_old()},hover_node:function(e){e=this._get_node(e);if(!e.length)return!1;e.hasClass("jstree-hovered")||this.dehover_node(),this.data.ui.hovered=e.children("a").addClass("jstree-hovered").parent(),this._fix_scroll(e),this.__callback({obj:e})},dehover_node:function(){var e=this.data.ui.hovered,t;if(!e||!e.length)return!1;t=e.children("a").removeClass("jstree-hovered").parent(),this.data.ui.hovered[0]===t[0]&&(this.data.ui.hovered=null),this.__callback({obj:e})},select_node:function(e,t,n){e=this._get_node(e);if(e==-1||!e||!e.length)return!1;var r=this._get_settings().ui,i=r.select_multiple_modifier=="on"||r.select_multiple_modifier!==!1&&n&&n[r.select_multiple_modifier+"Key"],s=r.select_range_modifier!==!1&&n&&n[r.select_range_modifier+"Key"]&&this.data.ui.last_selected&&this.data.ui.last_selected[0]!==e[0]&&this.data.ui.last_selected.parent()[0]===e.parent()[0],o=this.is_selected(e),u=!0,a=this;if(t){if(r.disable_selecting_children&&i&&(e.parentsUntil(".jstree","li").children("a.jstree-clicked").length||e.children("ul").find("a.jstree-clicked:eq(0)").length))return!1;u=!1;switch(!0){case s:this.data.ui.last_selected.addClass("jstree-last-selected"),e=e[e.index()0)this.deselect_all(),u=!0;break;case o&&i:this.deselect_node(e);break;case!o&&i:if(r.select_limit==-1||this.data.ui.selected.length+1<=r.select_limit)u=!0}}u&&!o&&(s||(this.data.ui.last_selected=e),e.children("a").addClass("jstree-clicked"),r.selected_parent_open&&e.parents(".jstree-closed").each(function(){a.open_node(this,!1,!0)}),this.data.ui.selected=this.data.ui.selected.add(e),this._fix_scroll(e.eq(0)),this.__callback({obj:e,e:n}))},_fix_scroll:function(e){var n=this.get_container()[0],r;if(n.scrollHeight>n.offsetHeight){e=this._get_node(e);if(!e||e===-1||!e.length||!e.is(":visible"))return;r=e.offset().top-this.get_container().offset().top,r<0&&(n.scrollTop=n.scrollTop+r-1),r+this.data.core.li_height+(n.scrollWidth>n.offsetWidth?t:0)>n.offsetHeight&&(n.scrollTop=n.scrollTop+(r-n.offsetHeight+this.data.core.li_height+1+(n.scrollWidth>n.offsetWidth?t:0)))}},deselect_node:function(e){e=this._get_node(e);if(!e.length)return!1;this.is_selected(e)&&(e.children("a").removeClass("jstree-clicked"),this.data.ui.selected=this.data.ui.selected.not(e),this.data.ui.last_selected.get(0)===e.get(0)&&(this.data.ui.last_selected=this.data.ui.selected.eq(0)),this.__callback({obj:e}))},toggle_select:function(e){e=this._get_node(e);if(!e.length)return!1;this.is_selected(e)?this.deselect_node(e):this.select_node(e)},is_selected:function(e){return this.data.ui.selected.index(this._get_node(e))>=0},get_selected:function(t){return t?e(t).find("a.jstree-clicked").parent():this.data.ui.selected},deselect_all:function(t){var n=t?e(t).find("a.jstree-clicked").parent():this.get_container().find("a.jstree-clicked").parent();n.children("a.jstree-clicked").removeClass("jstree-clicked"),this.data.ui.selected=e([]),this.data.ui.last_selected=!1,this.__callback({obj:n})}}}),e.jstree.defaults.plugins.push("ui")}(jQuery),function(e){var t=[];e.jstree._themes=!1,e.jstree.plugin("themes",{__init:function(){this.get_container().bind("init.jstree",e.proxy(function(){var e=this._get_settings().themes;this.data.themes.dots=e.dots,this.data.themes.icons=e.icons,this.set_theme(e.theme,e.url)},this)).bind("loaded.jstree",e.proxy(function(){this.data.themes.dots?this.show_dots():this.hide_dots(),this.data.themes.icons?this.show_icons():this.hide_icons()},this))},defaults:{theme:"default",url:!1,dots:!0,icons:!0},_fn:{set_theme:function(n,r){if(!n)return!1;r||(r=e.jstree._themes+n+"/style.css"),e.inArray(r,t)==-1&&(e.vakata.css.add_sheet({url:r}),t.push(r)),this.data.themes.theme!=n&&(this.get_container().removeClass("jstree-"+this.data.themes.theme),this.data.themes.theme=n),this.get_container().addClass("jstree-"+n),this.data.themes.dots?this.show_dots():this.hide_dots(),this.data.themes.icons?this.show_icons():this.hide_icons(),this.__callback()},get_theme:function(){return this.data.themes.theme},show_dots:function(){this.data.themes.dots=!0,this.get_container().children("ul").removeClass("jstree-no-dots")},hide_dots:function(){this.data.themes.dots=!1,this.get_container().children("ul").addClass("jstree-no-dots")},toggle_dots:function(){this.data.themes.dots?this.hide_dots():this.show_dots()},show_icons:function(){this.data.themes.icons=!0,this.get_container().children("ul").removeClass("jstree-no-icons")},hide_icons:function(){this.data.themes.icons=!1,this.get_container().children("ul").addClass("jstree-no-icons")},toggle_icons:function(){this.data.themes.icons?this.hide_icons():this.show_icons()}}}),e(function(){e.jstree._themes===!1&&e("script").each(function(){if(this.src.toString().match(/jquery\.jstree[^\/]*?\.js(\?.*)?$/))return e.jstree._themes=this.src.toString().replace(/jquery\.jstree[^\/]*?\.js(\?.*)?$/,"")+"themes/",!1}),e.jstree._themes===!1&&(e.jstree._themes="themes/")}),e.jstree.defaults.plugins.push("themes")}(jQuery),function(e){e.jstree.plugin("json_data",{__init:function(){var e=this._get_settings().json_data;e.progressive_unload&&this.get_container().bind("after_close.jstree",function(e,t){t.rslt.obj.children("ul").remove()})},defaults:{data:!1,ajax:!1,correct_state:!0,progressive_render:!1,progressive_unload:!1},_fn:{load_node:function(e,t,n){var r=this;this.load_node_json(e,function(){r.__callback({obj:r._get_node(e)}),t.call(this)},n)},_is_loaded:function(t){var n=this._get_settings().json_data;return t=this._get_node(t),t==-1||!t||!n.ajax&&!n.progressive_render&&!e.isFunction(n.data)||t.is(".jstree-open, .jstree-leaf")||t.children("ul").children("li").length>0},refresh:function(t){t=this._get_node(t);var n=this._get_settings().json_data;return t&&t!==-1&&n.progressive_unload&&(e.isFunction(n.data)||!!n.ajax)&&t.removeData("jstree-children"),this.__call_old()},load_node_json:function(t,n,r){var i=this.get_settings().json_data,s,o=function(){},u=function(){};t=this._get_node(t);if(t&&t!==-1&&(i.progressive_render||i.progressive_unload)&&!t.is(".jstree-open, .jstree-leaf")&&t.children("ul").children("li").length===0&&t.data("jstree-children")){s=this._parse_json(t.data("jstree-children"),t),s&&(t.append(s),i.progressive_unload||t.removeData("jstree-children")),this.clean_node(t),n&&n.call(this);return}if(t&&t!==-1){if(t.data("jstree-is-loading"))return;t.data("jstree-is-loading",!0)}switch(!0){case!i.data&&!i.ajax:throw"Neither data nor ajax settings supplied.";case e.isFunction(i.data):i.data.call(this,t,e.proxy(function(e){e=this._parse_json(e,t),e?(t===-1||!t?this.get_container().children("ul").empty().append(e.children()):(t.append(e).children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading")),this.clean_node(t),n&&n.call(this)):(t===-1||!t?i.correct_state&&this.get_container().children("ul").empty():(t.children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading"),i.correct_state&&this.correct_state(t)),r&&r.call(this))},this));break;case!!i.data&&!i.ajax||!!i.data&&!!i.ajax&&(!t||t===-1):if(!t||t==-1)s=this._parse_json(i.data,t),s?(this.get_container().children("ul").empty().append(s.children()),this.clean_node()):i.correct_state&&this.get_container().children("ul").empty();n&&n.call(this);break;case!i.data&&!!i.ajax||!!i.data&&!!i.ajax&&t&&t!==-1:o=function(e,n,s){var o=this.get_settings().json_data.ajax.error;o&&o.call(this,e,n,s),t!=-1&&t.length?(t.children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading"),n==="success"&&i.correct_state&&this.correct_state(t)):n==="success"&&i.correct_state&&this.get_container().children("ul").empty(),r&&r.call(this)},u=function(r,s,u){var a=this.get_settings().json_data.ajax.success;a&&(r=a.call(this,r,s,u)||r);if(r===""||r&&r.toString&&r.toString().replace(/^[\s\n]+$/,"")===""||!e.isArray(r)&&!e.isPlainObject(r))return o.call(this,u,s,"");r=this._parse_json(r,t),r?(t===-1||!t?this.get_container().children("ul").empty().append(r.children()):(t.append(r).children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading")),this.clean_node(t),n&&n.call(this)):t===-1||!t?i.correct_state&&(this.get_container().children("ul").empty(),n&&n.call(this)):(t.children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading"),i.correct_state&&(this.correct_state(t),n&&n.call(this)))},i.ajax.context=this,i.ajax.error=o,i.ajax.success=u,i.ajax.dataType||(i.ajax.dataType="json"),e.isFunction(i.ajax.url)&&(i.ajax.url=i.ajax.url.call(this,t)),e.isFunction(i.ajax.data)&&(i.ajax.data=i.ajax.data.call(this,t)),e.ajax(i.ajax)}},_parse_json:function(t,n,r){var i=!1,s=this._get_settings(),o=s.json_data,u=s.core.html_titles,a,f,l,c,h;if(!t)return i;o.progressive_unload&&n&&n!==-1&&n.data("jstree-children",i);if(e.isArray(t)){i=e();if(!t.length)return!1;for(f=0,l=t.length;f"),t.attr&&i.attr(t.attr),t.metadata&&i.data(t.metadata),t.state&&i.addClass("jstree-"+t.state),e.isArray(t.data)||(a=t.data,t.data=[],t.data.push(a)),e.each(t.data,function(n,r){a=e(""),e.isFunction(r)&&(r=r.call(this,t)),typeof r=="string"?a.attr("href","#")[u?"html":"text"](r):(r.attr||(r.attr={}),r.attr.href||(r.attr.href="#"),a.attr(r.attr)[u?"html":"text"](r.title),r.language&&a.addClass(r.language)),a.prepend(" "),!r.icon&&t.icon&&(r.icon=t.icon),r.icon&&(r.icon.indexOf("/")===-1?a.children("ins").addClass(r.icon):a.children("ins").css("background","url('"+r.icon+"') center center no-repeat")),i.append(a)}),i.prepend(" "),t.children&&(o.progressive_render&&t.state!=="open"?i.addClass("jstree-closed").data("jstree-children",t.children):(o.progressive_unload&&i.data("jstree-children",t.children),e.isArray(t.children)&&t.children.length&&(a=this._parse_json(t.children,n,!0),a.length&&(h=e("
                          "),h.append(a),i.append(h)))))}return r||(c=e("
                            "),c.append(i),i=c),i},get_json:function(t,n,r,i){var s=[],o=this._get_settings(),u=this,a,f,l,c,h,p;t=this._get_node(t);if(!t||t===-1)t=this.get_container().find("> ul > li");return n=e.isArray(n)?n:["id","class"],!i&&this.data.types&&n.push(o.types.type_attr),r=e.isArray(r)?r:[],t.each(function(){l=e(this),a={data:[]},n.length&&(a.attr={}),e.each(n,function(e,t){f=l.attr(t),f&&f.length&&f.replace(/jstree[^ ]*/ig,"").length&&(a.attr[t]=(" "+f).replace(/ jstree[^ ]*/ig,"").replace(/\s+$/ig," ").replace(/^ /,"").replace(/ $/,""))}),l.hasClass("jstree-open")&&(a.state="open"),l.hasClass("jstree-closed")&&(a.state="closed"),l.data()&&(a.metadata=l.data()),c=l.children("a"),c.each(function(){h=e(this),r.length||e.inArray("languages",o.plugins)!==-1||h.children("ins").get(0).style.backgroundImage.length||h.children("ins").get(0).className&&h.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").length?(p=!1,e.inArray("languages",o.plugins)!==-1&&e.isArray(o.languages)&&o.languages.length&&e.each(o.languages,function(e,t){if(h.hasClass(t))return p=t,!1}),f={attr:{},title:u.get_text(h,p)},e.each(r,function(e,t){f.attr[t]=(" "+(h.attr(t)||"")).replace(/ jstree[^ ]*/ig,"").replace(/\s+$/ig," ").replace(/^ /,"").replace(/ $/,"")}),e.inArray("languages",o.plugins)!==-1&&e.isArray(o.languages)&&o.languages.length&&e.each(o.languages,function(e,t){if(h.hasClass(t))return f.language=t,!0}),h.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").replace(/^\s+$/ig,"").length&&(f.icon=h.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").replace(/\s+$/ig," ").replace(/^ /,"").replace(/ $/,"")),h.children("ins").get(0).style.backgroundImage.length&&(f.icon=h.children("ins").get(0).style.backgroundImage.replace("url(","").replace(")",""))):f=u.get_text(h),c.length>1?a.data.push(f):a.data=f}),l=l.find("> ul > li"),l.length&&(a.children=u.get_json(l,n,r,!0)),s.push(a)}),s}}})}(jQuery),function(e){e.jstree.plugin("checkbox",{__init:function(){this.data.checkbox.noui=this._get_settings().checkbox.override_ui,this.data.ui&&this.data.checkbox.noui&&(this.select_node=this.deselect_node=this.deselect_all=e.noop,this.get_selected=this.get_checked),this.get_container().bind("open_node.jstree create_node.jstree clean_node.jstree refresh.jstree",e.proxy(function(e,t){this._prepare_checkboxes(t.rslt.obj)},this)).bind("loaded.jstree",e.proxy(function(e){this._prepare_checkboxes()},this)).delegate(this.data.ui&&this.data.checkbox.noui?"a":"ins.jstree-checkbox","click.jstree",e.proxy(function(e){e.preventDefault(),this._get_node(e.target).hasClass("jstree-checked")?this.uncheck_node(e.target):this.check_node(e.target);if(!this.data.ui||!this.data.checkbox.noui)return e.stopImmediatePropagation(),!1;this.save_selected(),this.data.cookies&&this.save_cookie("select_node")},this))},defaults:{override_ui:!1,two_state:!1,real_checkboxes:!1,checked_parent_open:!0,real_checkboxes_names:function(e){return["check_"+(e[0].id||Math.ceil(Math.random()*1e4)),1]}},__destroy:function(){this.get_container().find("input.jstree-real-checkbox").removeClass("jstree-real-checkbox").end().find("ins.jstree-checkbox").remove()},_fn:{_checkbox_notify:function(e,t){t.checked&&this.check_node(e,!1)},_prepare_checkboxes:function(t){t=!t||t==-1?this.get_container().find("> ul > li"):this._get_node(t);if(t===!1)return;var n,r=this,i,s=this._get_settings().checkbox.two_state,o=this._get_settings().checkbox.real_checkboxes,u=this._get_settings().checkbox.real_checkboxes_names;t.each(function(){i=e(this),n=i.is("li")&&(i.hasClass("jstree-checked")||o&&i.children(":checked").length)?"jstree-checked":"jstree-unchecked",i.find("li").andSelf().each(function(){var t=e(this),i;t.children("a"+(r.data.languages?"":":eq(0)")).not(":has(.jstree-checkbox)").prepend(" ").parent().not(".jstree-checked, .jstree-unchecked").addClass(s?"jstree-unchecked":n),o&&(t.children(":checkbox").length?t.children(":checkbox").addClass("jstree-real-checkbox"):(i=u.call(r,t),t.prepend("")),n==="jstree-checked"&&t.children(":checkbox").attr("checked","checked")),n==="jstree-checked"&&!s&&t.find("li").addClass("jstree-checked")})}),s||(t.length===1&&t.is("li")&&this._repair_state(t),t.is("li")?t.each(function(){r._repair_state(this)}):t.find("> ul > li").each(function(){r._repair_state(this)}),t.find(".jstree-checked").parent().parent().each(function(){r._repair_state(this)}))},change_state:function(t,n){t=this._get_node(t);var r=!1,i=this._get_settings().checkbox.real_checkboxes;if(!t||t===-1)return!1;n=n===!1||n===!0?n:t.hasClass("jstree-checked");if(this._get_settings().checkbox.two_state)n?(t.removeClass("jstree-checked").addClass("jstree-unchecked"),i&&t.children(":checkbox").removeAttr("checked")):(t.removeClass("jstree-unchecked").addClass("jstree-checked"),i&&t.children(":checkbox").attr("checked","checked"));else{if(n){r=t.find("li").andSelf();if(!r.filter(".jstree-checked, .jstree-undetermined").length)return!1;r.removeClass("jstree-checked jstree-undetermined").addClass("jstree-unchecked"),i&&r.children(":checkbox").removeAttr("checked")}else{r=t.find("li").andSelf();if(!r.filter(".jstree-unchecked, .jstree-undetermined").length)return!1;r.removeClass("jstree-unchecked jstree-undetermined").addClass("jstree-checked"),i&&r.children(":checkbox").attr("checked","checked"),this.data.ui&&(this.data.ui.last_selected=t),this.data.checkbox.last_selected=t}t.parentsUntil(".jstree","li").each(function(){var t=e(this);if(n){if(t.children("ul").children("li.jstree-checked, li.jstree-undetermined").length)return t.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined"),i&&t.parentsUntil(".jstree","li").andSelf().children(":checkbox").removeAttr("checked"),!1;t.removeClass("jstree-checked jstree-undetermined").addClass("jstree-unchecked"),i&&t.children(":checkbox").removeAttr("checked")}else{if(t.children("ul").children("li.jstree-unchecked, li.jstree-undetermined").length)return t.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined"),i&&t.parentsUntil(".jstree","li").andSelf().children(":checkbox").removeAttr("checked"),!1;t.removeClass("jstree-unchecked jstree-undetermined").addClass("jstree-checked"),i&&t.children(":checkbox").attr("checked","checked")}})}return this.data.ui&&this.data.checkbox.noui&&(this.data.ui.selected=this.get_checked()),this.__callback(t),!0},check_node:function(e){if(this.change_state(e,!1)){e=this._get_node(e);if(this._get_settings().checkbox.checked_parent_open){var t=this;e.parents(".jstree-closed").each(function(){t.open_node(this,!1,!0)})}this.__callback({obj:e})}},uncheck_node:function(e){this.change_state(e,!0)&&this.__callback({obj:this._get_node(e)})},check_all:function(){var e=this,t=this._get_settings().checkbox.two_state?this.get_container_ul().find("li"):this.get_container_ul().children("li");t.each(function(){e.change_state(this,!1)}),this.__callback()},uncheck_all:function(){var e=this,t=this._get_settings().checkbox.two_state?this.get_container_ul().find("li"):this.get_container_ul().children("li");t.each(function(){e.change_state(this,!0)}),this.__callback()},is_checked:function(e){return e=this._get_node(e),e.length?e.is(".jstree-checked"):!1},get_checked:function(e,t){return e=!e||e===-1?this.get_container():this._get_node(e),t||this._get_settings().checkbox.two_state?e.find(".jstree-checked"):e.find("> ul > .jstree-checked, .jstree-undetermined > ul > .jstree-checked")},get_unchecked:function(e,t){return e=!e||e===-1?this.get_container():this._get_node(e),t||this._get_settings().checkbox.two_state?e.find(".jstree-unchecked"):e.find("> ul > .jstree-unchecked, .jstree-undetermined > ul > .jstree-unchecked")},show_checkboxes:function(){this.get_container().children("ul").removeClass("jstree-no-checkboxes")},hide_checkboxes:function(){this.get_container().children("ul").addClass("jstree-no-checkboxes")},_repair_state:function(e){e=this._get_node(e);if(!e.length)return;var t=this._get_settings().checkbox.real_checkboxes,n=e.find("> ul > .jstree-checked").length,r=e.find("> ul > .jstree-undetermined").length,i=e.find("> ul > li").length;i===0?e.hasClass("jstree-undetermined")&&this.change_state(e,!1):n===0&&r===0?this.change_state(e,!0):n===i?this.change_state(e,!1):(e.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined"),t&&e.parentsUntil(".jstree","li").andSelf().children(":checkbox").removeAttr("checked"))},reselect:function(){if(this.data.ui&&this.data.checkbox.noui){var t=this,n=this.data.ui.to_select;n=e.map(e.makeArray(n),function(e){return"#"+e.toString().replace(/^#/,"").replace(/\\\//g,"/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,"\\.").replace(/\:/g,"\\:")}),this.deselect_all(),e.each(n,function(e,n){t.check_node(n)}),this.__callback()}else this.__call_old()},save_loaded:function(){var e=this;this.data.core.to_load=[],this.get_container_ul().find("li.jstree-closed.jstree-undetermined").each(function(){this.id&&e.data.core.to_load.push("#"+this.id)})}}}),e(function(){var t=".jstree .jstree-real-checkbox { display:none; } ";e.vakata.css.add_sheet({str:t,title:"jstree"})})}(jQuery),function(t){t.jstree.plugin("types",{__init:function(){var n=this._get_settings().types;this.data.types.attach_to=[],this.get_container().bind("init.jstree",t.proxy(function(){var e=n.types,r=n.type_attr,i="",o=this;t.each(e,function(e,n){t.each(n,function(e,t){/^(max_depth|max_children|icon|valid_children)$/.test(e)||o.data.types.attach_to.push(e)});if(!n.icon)return!0;if(n.icon.image||n.icon.position)e=="default"?i+=".jstree-"+o.get_index()+" a > .jstree-icon { ":i+=".jstree-"+o.get_index()+" li["+r+'="'+e+'"] > a > .jstree-icon { ',n.icon.image&&(i+=" background-image:url("+n.icon.image+"); "),n.icon.position?i+=" background-position:"+n.icon.position+"; ":i+=" background-position:0 0; ",i+="} "}),i!==""&&t.vakata.css.add_sheet({str:i,title:"jstree-types"})},this)).bind("before.jstree",t.proxy(function(e,n){var r,i,s=this._get_settings().types.use_data?this._get_node(n.args[0]):!1,o=s&&s!==-1&&s.length?s.data("jstree"):!1;if(o&&o.types&&o.types[n.func]===!1)return e.stopImmediatePropagation(),!1;if(t.inArray(n.func,this.data.types.attach_to)!==-1){if(!n.args[0]||!n.args[0].tagName&&!n.args[0].jquery)return;r=this._get_settings().types.types,i=this._get_type(n.args[0]);if((r[i]&&typeof r[i][n.func]!="undefined"||r["default"]&&typeof r["default"][n.func]!="undefined")&&this._check(n.func,n.args[0])===!1)return e.stopImmediatePropagation(),!1}},this)),e&&this.get_container().bind("load_node.jstree set_type.jstree",t.proxy(function(e,n){var r=n&&n.rslt&&n.rslt.obj&&n.rslt.obj!==-1?this._get_node(n.rslt.obj).parent():this.get_container_ul(),i=!1,s=this._get_settings().types;t.each(s.types,function(e,t){t.icon&&(t.icon.image||t.icon.position)&&(i=e==="default"?r.find("li > a > .jstree-icon"):r.find("li["+s.type_attr+"='"+e+"'] > a > .jstree-icon"),t.icon.image&&i.css("backgroundImage","url("+t.icon.image+")"),i.css("backgroundPosition",t.icon.position||"0 0"))})},this))},defaults:{max_children:-1,max_depth:-1,valid_children:"all",use_data:!1,type_attr:"rel",types:{"default":{max_children:-1,max_depth:-1,valid_children:"all"}}},_fn:{_types_notify:function(e,t){t.type&&this._get_settings().types.use_data&&this.set_type(t.type,e)},_get_type:function(e){return e=this._get_node(e),!e||!e.length?!1:e.attr(this._get_settings().types.type_attr)||"default"},set_type:function(e,t){t=this._get_node(t);var n=!t.length||!e?!1:t.attr(this._get_settings().types.type_attr,e);return n&&this.__callback({obj:t,type:e}),n},_check:function(e,n,r){n=this._get_node(n);var i=!1,s=this._get_type(n),o=0,u=this,a=this._get_settings().types,f=!1;if(n===-1){if(!a[e])return;i=a[e]}else{if(s===!1)return;f=a.use_data?n.data("jstree"):!1,f&&f.types&&typeof f.types[e]!="undefined"?i=f.types[e]:!a.types[s]||typeof a.types[s][e]=="undefined"?!!a.types["default"]&&typeof a.types["default"][e]!="undefined"&&(i=a.types["default"][e]):i=a.types[s][e]}return t.isFunction(i)&&(i=i.call(this,n)),e==="max_depth"&&n!==-1&&r!==!1&&a.max_depth!==-2&&i!==0&&n.children("a:eq(0)").parentsUntil(".jstree","li").each(function(t){if(a.max_depth!==-1&&a.max_depth-(t+1)<=0)return i=0,!1;o=t===0?i:u._check(e,this,!1);if(o!==-1&&o-(t+1)<=0)return i=0,!1;o>=0&&(o-(t+1)=0&&(a.max_depth-(t+1) ul > li").not(e.o).length:e.cr.find("> ul > li").not(e.o).length;if(o+e.o.length>r)return!1}if(n.max_depth!==-2&&i!==-1){u=0;if(i===0)return!1;if(typeof e.o.d=="undefined"){a=e.o;while(a.length>0)a=a.find("> ul > li"),u++;e.o.d=u}if(i-e.o.d<0)return!1}return!0},create_node:function(e,n,r,i,s,o){if(!o&&(s||this._is_loaded(e))){var u=typeof n=="string"&&n.match(/^before|after$/i)&&e!==-1?this._get_parent(e):this._get_node(e),a=this._get_settings().types,f=this._check("max_children",u),l=this._check("max_depth",u),c=this._check("valid_children",u),h;typeof r=="string"&&(r={data:r}),r||(r={});if(c==="none")return!1;if(t.isArray(c))if(!r.attr||!r.attr[a.type_attr])r.attr||(r.attr={}),r.attr[a.type_attr]=c[0];else if(t.inArray(r.attr[a.type_attr],c)===-1)return!1;if(a.max_children!==-2&&f!==-1){h=u===-1?this.get_container().find("> ul > li").length:u.find("> ul > li").length;if(h+1>f)return!1}if(a.max_depth!==-2&&l!==-1&&l-1<0)return!1}return this.__call_old(!0,e,n,r,i,s,o)}}})}(jQuery)}(),define("jstree",function(){}),define("file-tree",["jquery","jstree","underscore","backbone","common"],function(t,n,r,i,s){t.jstree._themes=app.config.mediaUrl+"js/themes/";var o={options:{},formatRepoData:function(e){var t=[],n;for(var r=0,i=e.length;r-1;d--){p[d]=[];if(d==h-1)for(var v=0,m=e[d].length;v0&&t.extend(l,{children:p[0]}),s.push(l),i.hide(),f.renderDirTree(r,n,s),r.removeClass("hide")},error:function(){var e=[{data:o,attr:{repo_id:u,root_node:!0},state:"closed"}];i.hide(),f.renderDirTree(r,n,e),r.removeClass("hide")}})},prepareOtherReposTree:function(e){var n=this;t("#mv-dir-list #other-repos .hd").click(function(){var r=t("span",t(this)),i=t("#mv-form"),o=t(this).next(),u=t("#mv-dir-list #other-repos #other-repos-dirs");r.hasClass("icon-caret-right")?(r.attr("class","icon-caret-down"),o.show(),t.ajax({url:s.getUrl({name:"unenc_rw_repos"}),cache:!1,dataType:"json",success:function(t){var r=[],s=e.cur_repo_id;for(var a=0,f=t.length;a'+r.HTMLescape(this.model.get("name"))+""),s=e(this.repoDelConfirmTemplate({content:i})).appendTo(n).css({left:t.position().left,top:t.position().top+t.height()+2,width:180}),o=this;e(".no",s).click(function(){s.addClass("hide").remove(),o.rmHighlight()}),e(".yes",s).click(function(){e.ajax({url:r.getUrl({name:"repo_del",repo_id:o.model.get("id")}),dataType:"json",success:function(e){o.remove(),r.feedback(gettext("Delete succeeded."),"success")},error:function(t){s.addClass("hide").remove(),o.rmHighlight();var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),r.feedback(n,"error")}})})}});return i}),define("app/views/myhome-sub-repos",["jquery","underscore","backbone","common","file-tree","app/collections/repos","app/views/sub-lib","app/views/add-repo"],function(e,t,n,r,i,s,o,u){var a=n.View.extend({el:e("#repo-tabs"),events:{"click #sub-lib-create":"createRepo"},initialize:function(t){this.$tabs=e("#repo-tabs"),this.$table=this.$("#my-sub-repos table"),this.$tableHead=e("thead",this.$table),this.$tableBody=e("tbody",this.$table),this.$loadingTip=e(".loading-tip",this.$tabs),this.$emptyTip=e("#my-sub-repos .empty-tips"),this.repos=new s({type:"sub"}),this.listenTo(this.repos,"add",this.addOne),this.listenTo(this.repos,"reset",this.reset)},addOne:function(e,t,n){var r=new o({model:e});n.prepend?this.$tableBody.prepend(r.render().el):this.$tableBody.append(r.render().el)},reset:function(){this.$(".error").hide(),this.$tableBody.empty(),this.repos.each(this.addOne,this),this.repos.length?(this.$emptyTip.hide(),this.$table.show()):(this.$emptyTip.show(),this.$table.hide()),this.$loadingTip.hide()},showSubRepos:function(){this.$tabs.show(),e("#sublib-tab").parent().addClass("ui-state-active"),this.$table.hide();var t=this.$loadingTip;t.show();var n=this;this.repos.fetch({reset:!0,success:function(e,t,n){},error:function(e,r,i){t.hide();var s=n.$(".error"),o;r.responseText?r["status"]==401||r["status"]==403?o=gettext("Permission error"):o=gettext("Error"):o=gettext("Please check the network."),s.html(o).show()}})},show:function(){e("#sub-lib-create").show(),this.showSubRepos()},hide:function(){e("#sub-lib-create").hide(),this.$el.hide(),this.$table.hide(),this.$emptyTip.hide(),e("#sublib-tab",this.$tabs).parent().removeClass("ui-state-active")},createRepo:function(){var t=this,n=e("#sublib-create-form"),s=e(".dir-tree-cont",n);n.modal(),e.ajax({url:r.getUrl({name:"get_my_unenc_repos"}),cache:!1,dataType:"json",success:function(e){var t=i.formatRepoData(e);t.length>0?i.renderDirTree(s,n,t):s.html('

                            '+gettext("You don't have any library at present.")+"

                            ")},error:function(t,n,r){var i;t.responseText?i=e.parseJSON(t.responseText).error:i=gettext("Failed. Please check the network."),s.html('

                            '+i+"

                            ")}}),e(".submit",n).click(function(){var i=e('[name="dst_repo"]',n).val(),s=e('[name="dst_path"]',n).val();return!s||s=="/"?(e(".error",n).html(gettext("Please choose a directory")).removeClass("hide"),!1):(s=s.substr(0,s.length-1),e.ajax({url:r.getUrl({name:"sub_repo",repo_id:i})+"?p="+encodeURIComponent(s),dataType:"json",success:function(n){e.modal.close();var r={id:n.sub_repo_id,name:n.name,origin_repo_id:i,origin_path:s,abbrev_origin_path:n.abbrev_origin_path,mtime:(new Date).getTime()/1e3,mtime_relative:gettext("Just now")};t.repos.length>0?t.repos.add(r,{prepend:!0}):t.repos.reset([r])},error:function(t,r,i){var s;t.responseText?s=jQuery.parseJSON(t.responseText).error:s=gettext("Failed. Please check the network."),e(".error",n).html(s).removeClass("hide")}}),!1)})}});return a}),define("app/views/shared-repo",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#shared-repo-tmpl").html()),events:{mouseenter:"showAction",mouseleave:"hideAction","click .unshare-btn":"removeShare"},initialize:function(){},removeShare:function(t){var n=this,i=function(t){r.feedback(gettext("Success"),"success",r.SUCCESS_TIMOUT),n.$el.remove(),n.collection.remove(n.model,{silent:!0}),n.collection.length==0&&(e("#repos-shared-to-me table").hide(),e("#repos-shared-to-me .empty-tips").show())};r.ajaxGet({get_url:r.getUrl({name:"ajax_repo_remove_share"}),data:{repo_id:this.model.get("id"),from:this.model.get("owner"),share_type:this.model.get("share_type")},after_op_success:i})},render:function(){return this.$el.html(this.template(this.model.toJSON())),this},showAction:function(){this.$el.addClass("hl"),this.$el.find(".op-icon").removeClass("vh")},hideAction:function(){this.$el.removeClass("hl"),this.$el.find(".op-icon").addClass("vh")}});return i}),define("app/views/myhome-shared-repos",["jquery","underscore","backbone","common","app/collections/repos","app/views/shared-repo"],function(e,t,n,r,i,s){var o=n.View.extend({el:e("#repo-tabs"),reposHdTemplate:t.template(e("#shared-repos-hd-tmpl").html()),initialize:function(t){this.$tabs=e("#repo-tabs"),this.$table=e("#repos-shared-to-me table"),this.$tableHead=e("thead",this.$table),this.$tableBody=e("tbody",this.$table),this.$loadingTip=e(".loading-tip",this.$tabs),this.$emptyTip=e("#repos-shared-to-me .empty-tips"),this.repos=new i({type:"shared"}),this.listenTo(this.repos,"add",this.addOne),this.listenTo(this.repos,"reset",this.reset)},addOne:function(e,t,n){var r=new s({model:e,collection:this.repos});n.prepend?this.$tableBody.prepend(r.render().el):this.$tableBody.append(r.render().el)},renderReposHd:function(){this.$tableHead.html(this.reposHdTemplate())},reset:function(){this.$(".error").hide(),this.$loadingTip.hide(),this.repos.length?(this.$emptyTip.hide(),this.renderReposHd(),this.$tableBody.empty(),this.repos.each(this.addOne,this),this.$table.show()):(this.$emptyTip.show(),this.$table.hide())},showSharedRepos:function(){this.$tabs.show(),e("#shared-lib-tab").parent().addClass("ui-state-active"),this.$table.hide();var t=this.$loadingTip;t.show();var n=this;this.repos.fetch({reset:!0,success:function(e,t,n){},error:function(e,r,i){t.hide();var s=n.$(".error"),o;r.responseText?r["status"]==401||r["status"]==403?o=gettext("Permission error"):o=gettext("Error"):o=gettext("Please check the network."),s.html(o).show()}})},show:function(){this.showSharedRepos()},hide:function(){this.$el.hide(),this.$table.hide(),this.$emptyTip.hide(),e("#shared-lib-tab",this.$tabs).parent().removeClass("ui-state-active")},events:{"click #repos-shared-to-me .by-name":"sortByName","click #repos-shared-to-me .by-time":"sortByTime"},sortByName:function(){var t=this.repos,n=e(".by-name",this.$table);t.comparator=function(e,t){var i=r.compareTwoWord(e.get("name"),t.get("name"));return n.hasClass("icon-caret-up")?-i:i},t.sort(),this.$tableBody.empty(),t.each(this.addOne,this),n.toggleClass("icon-caret-up icon-caret-down"),t.comparator=null},sortByTime:function(){var t=this.repos,n=e(".by-time",this.$table);t.comparator=function(e,t){return n.hasClass("icon-caret-down")?e.get("mtime")(e||g.height())},_setFocus:function(){(p.st.focus?p.content.find(p.st.focus).eq(0):p.wrap).focus()},_onFocusIn:function(t){if(t.target!==p.wrap[0]&&!e.contains(p.wrap[0],t.target))return p._setFocus(),!1},_parseMarkup:function(t,n,r){var i;r.data&&(n=e.extend(r.data,n)),N(s,[t,n,r]),e.each(n,function(e,n){if(n===undefined||n===!1)return!0;i=e.split("_");if(i.length>1){var r=t.find(f+"-"+i[0]);if(r.length>0){var s=i[1];s==="replaceWith"?r[0]!==n[0]&&r.replaceWith(n):s==="img"?r.is("img")?r.attr("src",n):r.replaceWith(''):r.attr(i[1],n)}}else t.find(f+"-"+e).html(n)})},_getScrollbarSize:function(){if(p.scrollbarSize===undefined){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),p.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return p.scrollbarSize}},e.magnificPopup={instance:null,proto:d.prototype,modules:[],open:function(t,n){return k(),t?t=e.extend(!0,{},t):t={},t.isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'',tClose:"Close (Esc)",tLoading:"Loading..."}},e.fn.magnificPopup=function(t){k();var n=e(this);if(typeof t=="string")if(t==="open"){var r,i=v?n.data("magnificPopup"):n[0].magnificPopup,s=parseInt(arguments[1],10)||0;i.items?r=i.items[s]:(r=n,i.delegate&&(r=r.find(i.delegate)),r=r.eq(s)),p._openClick({mfpEl:r},n,i)}else p.isOpen&&p[t].apply(p,Array.prototype.slice.call(arguments,1));else t=e.extend(!0,{},t),v?n.data("magnificPopup",t):n[0].magnificPopup=t,p.addGroup(n,t);return n};var A="inline",O,M,_,D=function(){_&&(M.after(_.addClass(O)).detach(),_=null)};e.magnificPopup.registerModule(A,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){p.types.push(A),x(t+"."+A,function(){D()})},getInline:function(t,n){D();if(t.src){var r=p.st.inline,i=e(t.src);if(i.length){var s=i[0].parentNode;s&&s.tagName&&(M||(O=r.hiddenClass,M=T(O),O="mfp-"+O),_=i.after(M).detach().removeClass(O)),p.updateStatus("ready")}else p.updateStatus("error",r.tNotFound),i=e("
                            ");return t.inlineElement=i,i}return p.updateStatus("ready"),p._parseMarkup(n,{},t),n}}});var P="ajax",H,B=function(){H&&y.removeClass(H)},j=function(){B(),p.req&&p.req.abort()};e.magnificPopup.registerModule(P,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){p.types.push(P),H=p.st.ajax.cursor,x(t+"."+P,j),x("BeforeChange."+P,j)},getAjax:function(t){H&&y.addClass(H),p.updateStatus("loading");var n=e.extend({url:t.src,success:function(n,r,i){var s={data:n,xhr:i};N("ParseAjax",s),p.appendContent(e(s.data),P),t.finished=!0,B(),p._setFocus(),setTimeout(function(){p.wrap.addClass(l)},16),p.updateStatus("ready"),N("AjaxContentAdded")},error:function(){B(),t.finished=t.loadError=!0,p.updateStatus("error",p.st.ajax.tError.replace("%url%",t.src))}},p.st.ajax.settings);return p.req=e.ajax(n),""}}});var F,I=function(t){if(t.data&&t.data.title!==undefined)return t.data.title;var n=p.st.image.titleSrc;if(n){if(e.isFunction(n))return n.call(p,t);if(t.el)return t.el.attr(n)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'
                            ',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var e=p.st.image,n=".image";p.types.push("image"),x(o+n,function(){p.currItem.type==="image"&&e.cursor&&y.addClass(e.cursor)}),x(t+n,function(){e.cursor&&y.removeClass(e.cursor),g.off("resize"+f)}),x("Resize"+n,p.resizeImage),p.isLowIE&&x("AfterChange",p.resizeImage)},resizeImage:function(){var e=p.currItem;if(!e||!e.img)return;if(p.st.image.verticalFit){var t=0;p.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",p.wH-t)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,F&&clearInterval(F),e.isCheckingImgSize=!1,N("ImageHasSize",e),e.imgHidden&&(p.content&&p.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var t=0,n=e.img[0],r=function(i){F&&clearInterval(F),F=setInterval(function(){if(n.naturalWidth>0){p._onImageHasSize(e);return}t>200&&clearInterval(F),t++,t===3?r(10):t===40?r(50):t===100&&r(500)},i)};r(1)},getImage:function(t,n){var r=0,i=function(){t&&(t.img[0].complete?(t.img.off(".mfploader"),t===p.currItem&&(p._onImageHasSize(t),p.updateStatus("ready")),t.hasSize=!0,t.loaded=!0,N("ImageLoadComplete")):(r++,r<200?setTimeout(i,100):s()))},s=function(){t&&(t.img.off(".mfploader"),t===p.currItem&&(p._onImageHasSize(t),p.updateStatus("error",o.tError.replace("%url%",t.src))),t.hasSize=!0,t.loaded=!0,t.loadError=!0)},o=p.st.image,u=n.find(".mfp-img");if(u.length){var a=document.createElement("img");a.className="mfp-img",t.el&&t.el.find("img").length&&(a.alt=t.el.find("img").attr("alt")),t.img=e(a).on("load.mfploader",i).on("error.mfploader",s),a.src=t.src,u.is("img")&&(t.img=t.img.clone()),a=t.img[0],a.naturalWidth>0?t.hasSize=!0:a.width||(t.hasSize=!1)}return p._parseMarkup(n,{title:I(t),img_replaceWith:t.img},t),p.resizeImage(),t.hasSize?(F&&clearInterval(F),t.loadError?(n.addClass("mfp-loading"),p.updateStatus("error",o.tError.replace("%url%",t.src))):(n.removeClass("mfp-loading"),p.updateStatus("ready")),n):(p.updateStatus("loading"),t.loading=!0,t.hasSize||(t.imgHidden=!0,n.addClass("mfp-loading"),p.findImageSize(t)),n)}}});var q,R=function(){return q===undefined&&(q=document.createElement("p").style.MozTransform!==undefined),q};e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e=p.st.zoom,r=".zoom",i;if(!e.enabled||!p.supportsTransition)return;var s=e.duration,o=function(t){var n=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),r="all "+e.duration/1e3+"s "+e.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},s="transition";return i["-webkit-"+s]=i["-moz-"+s]=i["-o-"+s]=i[s]=r,n.css(i),n},u=function(){p.content.css("visibility","visible")},a,f;x("BuildControls"+r,function(){if(p._allowZoom()){clearTimeout(a),p.content.css("visibility","hidden"),i=p._getItemToZoom();if(!i){u();return}f=o(i),f.css(p._getOffset()),p.wrap.append(f),a=setTimeout(function(){f.css(p._getOffset(!0)),a=setTimeout(function(){u(),setTimeout(function(){f.remove(),i=f=null,N("ZoomAnimationEnded")},16)},s)},16)}}),x(n+r,function(){if(p._allowZoom()){clearTimeout(a),p.st.removalDelay=s;if(!i){i=p._getItemToZoom();if(!i)return;f=o(i)}f.css(p._getOffset(!0)),p.wrap.append(f),p.content.css("visibility","hidden"),setTimeout(function(){f.css(p._getOffset())},16)}}),x(t+r,function(){p._allowZoom()&&(u(),f&&f.remove(),i=null)})},_allowZoom:function(){return p.currItem.type==="image"},_getItemToZoom:function(){return p.currItem.hasSize?p.currItem.img:!1},_getOffset:function(t){var n;t?n=p.currItem.img:n=p.st.zoom.opener(p.currItem.el||p.currItem);var r=n.offset(),i=parseInt(n.css("padding-top"),10),s=parseInt(n.css("padding-bottom"),10);r.top-=e(window).scrollTop()-i;var o={width:n.width(),height:(v?n.innerHeight():n[0].offsetHeight)-s-i};return R()?o["-moz-transform"]=o.transform="translate("+r.left+"px,"+r.top+"px)":(o.left=r.left,o.top=r.top),o}}});var U="iframe",z="//about:blank",W=function(e){if(p.currTemplate[U]){var t=p.currTemplate[U].find("iframe");t.length&&(e||(t[0].src=z),p.isIE8&&t.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(U,{options:{markup:'
                            ',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){p.types.push(U),x("BeforeChange",function(e,t,n){t!==n&&(t===U?W():n===U&&W(!0))}),x(t+"."+U,function(){W()})},getIframe:function(t,n){var r=t.src,i=p.st.iframe;e.each(i.patterns,function(){if(r.indexOf(this.index)>-1)return this.id&&(typeof this.id=="string"?r=r.substr(r.lastIndexOf(this.id)+this.id.length,r.length):r=this.id.call(this,r)),r=this.src.replace("%id%",r),!1});var s={};return i.srcAction&&(s[i.srcAction]=r),p._parseMarkup(n,s,t),p.updateStatus("ready"),n}}});var X=function(e){var t=p.items.length;return e>t-1?e-t:e<0?t+e:e},V=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=p.st.gallery,r=".mfp-gallery",i=Boolean(e.fn.mfpFastClick);p.direction=!0;if(!n||!n.enabled)return!1;E+=" mfp-gallery",x(o+r,function(){n.navigateByImgClick&&p.wrap.on("click"+r,".mfp-img",function(){if(p.items.length>1)return p.next(),!1}),b.on("keydown"+r,function(e){e.keyCode===37?p.prev():e.keyCode===39&&p.next()})}),x("UpdateStatus"+r,function(e,t){t.text&&(t.text=V(t.text,p.currItem.index,p.items.length))}),x(s+r,function(e,t,r,i){var s=p.items.length;r.counter=s>1?V(n.tCounter,i.index,s):""}),x("BuildControls"+r,function(){if(p.items.length>1&&n.arrows&&!p.arrowLeft){var t=n.arrowMarkup,r=p.arrowLeft=e(t.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass(h),s=p.arrowRight=e(t.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass(h),o=i?"mfpFastClick":"click";r[o](function(){p.prev()}),s[o](function(){p.next()}),p.isIE7&&(T("b",r[0],!1,!0),T("a",r[0],!1,!0),T("b",s[0],!1,!0),T("a",s[0],!1,!0)),p.container.append(r.add(s))}}),x(u+r,function(){p._preloadTimeout&&clearTimeout(p._preloadTimeout),p._preloadTimeout=setTimeout(function(){p.preloadNearbyImages(),p._preloadTimeout=null},16)}),x(t+r,function(){b.off(r),p.wrap.off("click"+r),p.arrowLeft&&i&&p.arrowLeft.add(p.arrowRight).destroyMfpFastClick(),p.arrowRight=p.arrowLeft=null})},next:function(){p.direction=!0,p.index=X(p.index+1),p.updateItemHTML()},prev:function(){p.direction=!1,p.index=X(p.index-1),p.updateItemHTML()},goTo:function(e){p.direction=e>=p.index,p.index=e,p.updateItemHTML()},preloadNearbyImages:function(){var e=p.st.gallery.preload,t=Math.min(e[0],p.items.length),n=Math.min(e[1],p.items.length),r;for(r=1;r<=(p.direction?n:t);r++)p._preloadItem(p.index+r);for(r=1;r<=(p.direction?t:n);r++)p._preloadItem(p.index-r)},_preloadItem:function(t){t=X(t);if(p.items[t].preloaded)return;var n=p.items[t];n.parsed||(n=p.parseEl(t)),N("LazyLoad",n),n.type==="image"&&(n.img=e('').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,N("LazyLoadError",n)}).attr("src",n.src)),n.preloaded=!0}}});var $="retina";e.magnificPopup.registerModule($,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=p.st.retina,t=e.ratio;t=isNaN(t)?t():t,t>1&&(x("ImageHasSize."+$,function(e,n){n.img.css({"max-width":n.img[0].naturalWidth/t,width:"100%"})}),x("ElementParse."+$,function(n,r){r.src=e.replaceSrc(r,t)}))}}}}),function(){var t=1e3,n="ontouchstart"in window,r=function(){g.off("touchmove"+s+" touchend"+s)},i="mfpFastClick",s="."+i;e.fn.mfpFastClick=function(i){return e(this).each(function(){var o=e(this),u;if(n){var a,f,l,c,h,p;o.on("touchstart"+s,function(e){c=!1,p=1,h=e.originalEvent?e.originalEvent.touches[0]:e.touches[0],f=h.clientX,l=h.clientY,g.on("touchmove"+s,function(e){h=e.originalEvent?e.originalEvent.touches:e.touches,p=h.length,h=h[0];if(Math.abs(h.clientX-f)>10||Math.abs(h.clientY-l)>10)c=!0,r()}).on("touchend"+s,function(e){r();if(c||p>1)return;u=!0,e.preventDefault(),clearTimeout(a),a=setTimeout(function(){u=!1},t),i()})})}o.on("click"+s,function(){u||i()})})},e.fn.destroyMfpFastClick=function(){e(this).off("touchstart"+s+" click"+s),n&&g.off("touchmove"+s+" touchend"+s)}}(),k()}),define("app/views/starred-file-item",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#starred-file-item-tmpl").html()),events:{mouseenter:"showAction",mouseleave:"hideAction","click .unstar":"removeShare"},initialize:function(){},render:function(){var e=this.model.toJSON();return e.is_img=r.imageCheck(e.file_name),e.encoded_path=r.encodePath(e.path),this.$el.html(this.template(e)),this},removeShare:function(){var t=this,n=this.model.get("repo"),i=this.model.get("file_name"),s=this.model.get("path");e.ajax({url:r.getUrl({name:"starred_files"})+"?p="+encodeURIComponent(s)+"&repo_id="+n,type:"DELETE",beforeSend:r.prepareCSRFToken,success:function(){t.remove(),r.feedback(gettext("Successfully unstared {placeholder}").replace("{placeholder}",r.HTMLescape(i)),"success")},error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),r.feedback(n,"error")}})},showAction:function(){this.$el.addClass("hl"),this.$el.find(".op-icon").removeClass("vh")},hideAction:function(){this.$el.removeClass("hl"),this.$el.find(".op-icon").addClass("vh")}});return i}),define("app/models/starred-file",["underscore","backbone"],function(e,t){var n=t.Model.extend({});return n}),define("app/collections/starred-files",["underscore","backbone","common","app/models/starred-file"],function(e,t,n,r){var i=t.Collection.extend({model:r,url:function(){return n.getUrl({name:"starred_files"})}});return i}),define("app/views/starred-file",["jquery","underscore","backbone","common","jquery.magnific-popup","app/views/starred-file-item","app/collections/starred-files"],function(e,t,n,r,i,s,o){var u=n.View.extend({el:e("#starred-file"),initialize:function(){this.$table=this.$("table"),this.$tableBody=this.$("tbody"),this.$loadingTip=this.$(".loading-tip"),this.$emptyTip=this.$(".empty-tips"),this.starredFiles=new o,this.listenTo(this.starredFiles,"reset",this.reset),this.$el.magnificPopup({type:"image",delegate:".img-name-link",tClose:gettext("Close (Esc)"),tLoading:gettext("Loading..."),gallery:{enabled:!0,tPrev:gettext("Previous (Left arrow key)"),tNext:gettext("Next (Right arrow key)"),tCounter:gettext("%curr% of %total%")},image:{titleSrc:function(e){var t=e.el,n=t[0].innerHTML,r=''+gettext("Open in New Tab")+"";return n+"
                            "+r},tError:gettext('The image could not be loaded.')}})},addOne:function(e){var t=new s({model:e});this.$tableBody.append(t.render().el)},reset:function(){this.$tableBody.empty(),this.$loadingTip.hide(),this.starredFiles.each(this.addOne,this),this.starredFiles.length?(this.$emptyTip.hide(),this.$table.show()):(this.$emptyTip.show(),this.$table.hide())},hide:function(){this.$el.hide()},show:function(){this.$el.show(),this.$table.hide(),this.$loadingTip.show(),this.starredFiles.fetch({reset:!0})}});return u}),define("app/views/myhome-side-nav",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({el:"#myhome-side-nav",template:t.template(e("#myhome-side-nav-tmpl").html()),enableModTemplate:t.template(e("#myhome-mods-enable-form-tmpl").html()),initialize:function(){},render:function(t){return this.$el.html(this.template({mods_enabled:app.pageOptions.user_mods_enabled,can_add_repo:app.pageOptions.can_add_repo,events_enabled:app.pageOptions.events_enabled})),this.$el.find("li").removeClass("tab-cur"),this.$el.find("a").each(function(){if(e(this).attr("href").match(t)){e(this).parent().addClass("tab-cur");return}}),this},events:{"click #myhome-enable-mods":"enableMods"},enableMods:function(){var t=app.pageOptions.user_mods_enabled,n=e(this.enableModTemplate({mods_available:app.pageOptions.user_mods_available,mods_enabled:t}));n.modal(),e("#simplemodal-container").css("height","auto"),e(".checkbox-orig",n).click(function(){e(this).parent().toggleClass("checkbox-checked")});var i=e('[name="personal_wiki"]'),s=i.prop("checked"),o=this;n.submit(function(){var u=i.prop("checked");return u==s?!1:(r.ajaxPost({form:n,form_id:n.attr("id"),post_url:r.getUrl({name:"toggle_personal_modules"}),post_data:{personal_wiki:u},after_op_success:function(){if(u)t.push("personal wiki");else{var n=t.indexOf("personal wiki");n>-1&&t.splice(n,1)}e.modal.close(),o.render()}}),!1)})},show:function(e){this.render(e),this.$el.show()},hide:function(){this.$el.hide()}});return i}),define("app/views/myhome",["jquery","underscore","backbone","common","app/views/myhome-repos","app/views/myhome-sub-repos","app/views/myhome-shared-repos","app/views/starred-file","app/views/myhome-side-nav"],function(e,t,n,r,i,s,o,u,a){var f=n.View.extend({el:"#main",initialize:function(t){this.sideNavView=new a,this.reposView=new i,this.subReposView=new s,this.sharedReposView=new o,this.starredFileView=new u,this.dirView=t.dirView,this.currentView=this.reposView,e("#initial-loading-view").hide()},showMyRepos:function(){this.sideNavView.show("my-libs"),this.currentView.hide(),this.reposView.show(),this.currentView=this.reposView},showMySubRepos:function(){this.sideNavView.show("my-libs"),this.currentView.hide(),this.subReposView.show(),this.currentView=this.subReposView},showSharedRepos:function(){this.sideNavView.show("my-libs"),this.currentView.hide(),this.sharedReposView.show(),this.currentView=this.sharedReposView},showStarredFile:function(){this.sideNavView.show("starred"),this.currentView.hide(),this.starredFileView.show(),this.currentView=this.starredFileView},showDir:function(e,t,n){this.sideNavView.show("my-libs");var n=n||"/";this.currentView.hide(),this.dirView.showDir(e,t,n),this.currentView=this.dirView},hide:function(){this.currentView.hide(),this.sideNavView.hide()}});return f}),define("app/models/group-repo",["underscore","backbone","app/models/repo"],function(e,t,n){var r=n.extend({defaults:{permission:"r"}});return e.extend(r.prototype.defaults,n.prototype.defaults),r}),define("app/collections/group-repos",["underscore","backbone","common","app/models/group-repo"],function(e,t,n,r){var i=t.Collection.extend({model:r,comparator:0/0,url:function(){return n.getUrl({name:"group_repos",group_id:this.group_id})},parse:function(e){return this.is_staff=e.is_staff,e.repos},setGroupID:function(e){this.group_id=e}});return i}),define("app/views/group-repo",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#group-repo-tmpl").html()),events:{mouseenter:"highlight",mouseleave:"rmHighlight","click .cancel-share":"unshare"},initialize:function(e){this.group_id=e.group_id,this.is_staff=e.is_staff,this.listenTo(this.model,"destroy",this.remove)},render:function(){var t=this.model.toJSON();return e.extend(t,{group_id:this.group_id,is_staff:this.is_staff}),this.$el.html(this.template(t)),this},highlight:function(){this.$el.addClass("hl").find(".op-icon").removeClass("vh")},rmHighlight:function(){this.$el.removeClass("hl").find(".op-icon").addClass("vh")},unshare:function(){var t=this.model.get("name");this.model.destroy({wait:!0,success:function(){var e=gettext("Successfully unshared {placeholder}").replace("{placeholder}",''+r.HTMLescape(t)+"");r.feedback(e,"success",r.SUCCESS_TIMOUT)},error:function(t,n){var i;n.responseText?i=e.parseJSON(n.responseText).error_msg:i=gettext("Failed. Please check the network."),r.feedback(i,"error")}})}});return i}),define("app/views/add-group-repo",["jquery","simplemodal","underscore","backbone","common","app/views/add-repo"],function(e,t,n,r,i,s){var o=s.extend({templateData:function(){return{showSharePerm:!0}},newAttributes:function(){var t=s.prototype.newAttributes.apply(this);return n.extend(t,{permission:e("select[name=permission]",this.$el).val()})}});return o}),define("app/views/group-side-nav",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({el:"#group-side-nav",template:t.template(e("#group-side-nav-tmpl").html()),enableModTemplate:t.template(e("#group-mods-enable-form-tmpl").html()),initialize:function(){},render:function(t){this.group_id=t;var n=this;e.ajax({url:r.getUrl({name:"group_basic_info",group_id:this.group_id}),cache:!1,dataType:"json",success:function(e){n.$el.html(n.template(e)),n.mods_available=e.mods_available,n.mods_enabled=e.mods_enabled},error:function(t){var r;t.responseText?r=e.parseJSON(t.responseText).error:r=gettext("Please check the network."),n.$el.html('

                            '+r+"

                            ")}})},events:{"click #enable-mods":"enableMods"},enableMods:function(){var t=e(this.enableModTemplate({mods_available:this.mods_available,mods_enabled:this.mods_enabled}));t.modal(),e("#simplemodal-container").css("height","auto"),e(".checkbox-orig",t).click(function(){e(this).parent().toggleClass("checkbox-checked")});var n=e('[name="group_wiki"]'),i=n.prop("checked"),s=this;t.submit(function(){var o=n.prop("checked");return o==i?!1:(r.ajaxPost({form:t,form_id:t.attr("id"),post_url:r.getUrl({name:"toggle_group_modules",group_id:s.group_id}),post_data:{group_wiki:o},after_op_success:function(){e.modal.close(),s.render(s.group_id)}}),!1)})},show:function(){this.$el.show()},hide:function(){this.$el.hide()}});return i}),define("app/views/group",["jquery","underscore","backbone","common","app/collections/group-repos","app/views/group-repo","app/views/add-group-repo","app/views/group-side-nav"],function(e,t,n,r,i,s,o,u){var a=n.View.extend({el:"#group-repo-tabs",reposHdTemplate:t.template(e("#shared-repos-hd-tmpl").html()),events:{"click .repo-create":"createRepo","click #grp-repos .by-name":"sortByName","click #grp-repos .by-time":"sortByTime"},initialize:function(e){this.$tabs=this.$el,this.$table=this.$("table"),this.$tableHead=this.$("thead"),this.$tableBody=this.$("tbody"),this.$loadingTip=this.$(".loading-tip"),this.$emptyTip=this.$(".empty-tips"),this.sideNavView=new u,this.repos=new i,this.listenTo(this.repos,"add",this.addOne),this.listenTo(this.repos,"reset",this.reset),this.dirView=e.dirView},addOne:function(e,t,n){var r=new s({model:e,group_id:this.group_id,is_staff:this.repos.is_staff});n.prepend?this.$tableBody.prepend(r.render().el):this.$tableBody.append(r.render().el)},renderReposHd:function(){this.$tableHead.html(this.reposHdTemplate())},reset:function(){this.$(".error").hide(),this.$loadingTip.hide(),this.repos.length?(this.$emptyTip.hide(),this.renderReposHd(),this.$tableBody.empty(),this.repos.each(this.addOne,this),this.$table.show()):(this.$emptyTip.show(),this.$table.hide())},showSideNav:function(){var e=this.sideNavView;if(e.group_id&&e.group_id==this.group_id){e.show();return}e.render(this.group_id),e.show()},showRepoList:function(e){this.group_id=e,this.showSideNav(),this.dirView.hide(),this.$emptyTip.hide(),this.$tabs.show(),this.$table.hide();var t=this.$loadingTip;t.show();var n=this;this.repos.setGroupID(e),this.repos.fetch({reset:!0,data:{from:"web"},success:function(e,t,n){},error:function(e,r,i){t.hide();var s=n.$(".error"),o;r.responseText?r["status"]==401||r["status"]==403?o=gettext("Permission error"):o=gettext("Error"):o=gettext("Please check the network."),s.html(o).show()}})},hideRepoList:function(){this.$tabs.hide()},showDir:function(e,t,n){this.group_id=e,this.showSideNav(),this.hideRepoList(),this.dirView.showDir("group/"+this.group_id,t,n)},createRepo:function(){new o(this.repos)},sortByName:function(){var t=this.repos,n=e(".by-name",this.$table);t.comparator=function(e,t){var i=r.compareTwoWord(e.get("name"),t.get("name"));return n.hasClass("icon-caret-up")?-i:i},t.sort(),this.$tableBody.empty(),t.each(this.addOne,this),n.toggleClass("icon-caret-up icon-caret-down"),t.comparator=null},sortByTime:function(){var t=this.repos,n=e(".by-time",this.$table);t.comparator=function(e,t){return n.hasClass("icon-caret-down")?e.get("mtime")'+r.HTMLescape(t)+"");r.feedback(n,"success",r.SUCCESS_TIMOUT)},after_op_error:function(e){r.ajaxErrorHandler(e)}})}});return i}),define("app/views/create-pub-repo",["jquery","simplemodal","underscore","backbone","common","app/views/add-repo"],function(e,t,n,r,i,s){var o=s.extend({templateData:function(){return{showSharePerm:!0}},newAttributes:function(){var t=s.prototype.newAttributes.apply(this);return n.extend(t,{permission:e("select[name=permission]",this.$el).val()})}});return o}),define("app/views/add-pubrepo-item",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#add-pubrepo-item-tmpl").html()),events:{"click .select":"select","change .share-permission-select":"selectPerm"},initialize:function(){},selectPerm:function(t){var n=e(t.currentTarget).val();this.model.set({pub_perm:n},{silent:!0})},select:function(){var e=this.$(".checkbox");e.toggleClass("checkbox-checked"),e.hasClass("checkbox-checked")?this.model.set({selected:!0},{silent:!0}):this.model.set({selected:!1},{silent:!0})},render:function(){return this.$el.html(this.template(this.model.toJSON())),this}});return i}),define("app/views/add-pub-repo",["jquery","simplemodal","underscore","backbone","common","app/collections/repos","app/views/add-pubrepo-item"],function(e,t,n,r,i,s,o){var u=r.View.extend({id:"add-pubrepo-popup",template:n.template(e("#add-pubrepo-popup-tmpl").html()),initialize:function(t){this.$el.html(this.template()).modal({}),e("#simplemodal-container").css({width:"auto",height:"auto"}),this.$table=this.$("table"),this.$tableBody=this.$("tbody"),this.$loadingTip=this.$(".loading-tip"),this.myRepos=new s,this.pubRepos=t,this.listenTo(this.myRepos,"reset",this.reset),this.myRepos.fetch({reset:!0})},events:{"click .submit":"submit"},submit:function(){var t=this.myRepos.where({selected:!0}),r=this,s=[];n.each(t,function(t){var n=t.id,r="rw";t.has("pub_perm")&&(r=t.get("pub_perm")),s.push(e.ajax({url:i.getUrl({name:"shared_repos",repo_id:n})+"?share_type=public&permission="+r,type:"PUT",beforeSend:i.prepareCSRFToken,dataType:"json",error:function(e,t,n){i.ajaxErrorHandler(e,t,n)}}))});var o=e.when.apply(e,s);o.done(function(){e.modal.close(),r.pubRepos.fetch({reset:!0})})},addOne:function(e){var t=new o({model:e});this.$tableBody.append(t.render().el)},reset:function(){this.$loadingTip.hide(),this.$table.show(),this.myRepos.each(this.addOne,this)}});return u}),define("app/views/organization",["jquery","underscore","backbone","common","app/collections/pub-repos","app/views/organization-repo","app/views/create-pub-repo","app/views/add-pub-repo"],function(e,t,n,r,i,s,o,u){var a=n.View.extend({el:"#main",reposHdTemplate:t.template(e("#shared-repos-hd-tmpl").html()),initialize:function(t){this.$sideNav=e("#org-side-nav"),this.$reposDiv=e("#organization-repos"),this.$table=e("#organization-repos table"),this.$tableHead=e("thead",this.$table),this.$tableBody=e("tbody",this.$table),this.$loadingTip=e("#organization-repos .loading-tip"),this.$emptyTip=e("#organization-repos .empty-tips"),this.repos=new i,this.listenTo(this.repos,"add",this.addOne),this.listenTo(this.repos,"reset",this.reset),this.dirView=t.dirView;var n=e("#add-pub-lib"),s=e("#add-pub-lib-menu");n.click(function(){s.toggleClass("hide"),s.css({top:n.position().top+n.outerHeight(),right:10})}),e(".item",s).hover(function(){e(this).css({background:"#f3f3f3"})},function(){e(this).css({background:"transparent"})}),e(document).click(function(e){r.closePopup(e,s,n)})},events:{"click #organization-repos .share-existing":"addRepo","click #organization-repos .create-new":"createRepo","click #organization-repos .by-name":"sortByName","click #organization-repos .by-time":"sortByTime"},createRepo:function(){new o(this.repos)},addRepo:function(){new u(this.repos)},addOne:function(e,t,n){var r=new s({model:e,collection:this.repos});n.prepend?this.$tableBody.prepend(r.render().el):this.$tableBody.append(r.render().el)},renderReposHd:function(){this.$tableHead.html(this.reposHdTemplate())},reset:function(){this.$(".error").hide(),this.$loadingTip.hide(),this.repos.length?(this.$emptyTip.hide(),this.renderReposHd(),this.$tableBody.empty(),this.repos.each(this.addOne,this),this.$table.show()):(this.$table.hide(),this.$emptyTip.show())},showRepoList:function(){this.$sideNav.show(),this.dirView.hide(),this.$reposDiv.show();var e=this.$loadingTip;e.show();var t=this;this.repos.fetch({reset:!0,success:function(e,t,n){},error:function(n,r,i){e.hide();var s=t.$(".error"),o;r.responseText?r["status"]==401||r["status"]==403?o=gettext("Permission error"):o=gettext("Error"):o=gettext("Please check the network."),s.html(o).show()}})},hideRepoList:function(){this.$reposDiv.hide()},showDir:function(e,t){this.$sideNav.show();var t=t||"/";this.hideRepoList(),this.dirView.showDir("org",e,t)},sortByName:function(){var t=this.repos,n=e(".by-name",this.$table);t.comparator=function(e,t){var i=r.compareTwoWord(e.get("name"),t.get("name"));return n.hasClass("icon-caret-up")?-i:i},t.sort(),this.$tableBody.empty(),t.each(this.addOne,this),n.toggleClass("icon-caret-up icon-caret-down"),t.comparator=null},sortByTime:function(){var t=this.repos,n=e(".by-time",this.$table);t.comparator=function(e,t){return n.hasClass("icon-caret-down")?e.get("mtime")=0)&&t(n,!i)}}),e("").outerWidth(1).jquery||e.each(["Width","Height"],function(t,n){function o(t,n,i,s){return e.each(r,function(){n-=parseFloat(e.css(t,"padding"+this))||0,i&&(n-=parseFloat(e.css(t,"border"+this+"Width"))||0),s&&(n-=parseFloat(e.css(t,"margin"+this))||0)}),n}var r=n==="Width"?["Left","Right"]:["Top","Bottom"],i=n.toLowerCase(),s={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+n]=function(t){return t===undefined?s["inner"+n].call(this):this.each(function(){e(this).css(i,o(this,t)+"px")})},e.fn["outer"+n]=function(t,r){return typeof t!="number"?s["outer"+n].call(this,t):this.each(function(){e(this).css(i,o(this,t,!0,r)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}),e("").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(n){return arguments.length?t.call(this,e.camelCase(n)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.fn.extend({focus:function(t){return function(n,r){return typeof n=="number"?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),r&&r.call(t)},n)}):t.apply(this,arguments)}}(e.fn.focus),disableSelection:function(){var e="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.bind(e+".ui-disableSelection",function(e){e.preventDefault()})}}(),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(t){if(t!==undefined)return this.css("zIndex",t);if(this.length){var n=e(this[0]),r,i;while(n.length&&n[0]!==document){r=n.css("position");if(r==="absolute"||r==="relative"||r==="fixed"){i=parseInt(n.css("zIndex"),10);if(!isNaN(i)&&i!==0)return i}n=n.parent()}}return 0}}),e.ui.plugin={add:function(t,n,r){var i,s=e.ui[t].prototype;for(i in r)s.plugins[i]=s.plugins[i]||[],s.plugins[i].push([n,r[i]])},call:function(e,t,n,r){var i,s=e.plugins[t];if(!s)return;if(!r&&(!e.element[0].parentNode||e.element[0].parentNode.nodeType===11))return;for(i=0;i",options:{disabled:!1,create:null},_createWidget:function(n,r){r=e(r||this.defaultElement||this)[0],this.element=e(r),this.uuid=t++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),n),this.bindings=e(),this.hoverable=e(),this.focusable=e(),r!==this&&(e.data(r,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===r&&this.destroy()}}),this.document=e(r.style?r.ownerDocument:r.document||r),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(t,n){var r=t,i,s,o;if(arguments.length===0)return e.widget.extend({},this.options);if(typeof t=="string"){r={},i=t.split("."),t=i.shift();if(i.length){s=r[t]=e.widget.extend({},this.options[t]);for(o=0;o
                            ").appendTo(this.element),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(e){if(e===undefined)return this.options.value;this.options.value=this._constrainedValue(e),this._refreshValue()},_constrainedValue:function(e){return e===undefined&&(e=this.options.value),this.indeterminate=e===!1,typeof e!="number"&&(e=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,e))},_setOptions:function(e){var t=e.value;delete e.value,this._super(e),this.options.value=this._constrainedValue(t),this._refreshValue()},_setOption:function(e,t){e==="max"&&(t=Math.max(this.min,t)),e==="disabled"&&this.element.toggleClass("ui-state-disabled",!!t).attr("aria-disabled",t),this._super(e,t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var t=this.options.value,n=this._percentage();this.valueDiv.toggle(this.indeterminate||t>this.min).toggleClass("ui-corner-right",t===this.options.max).width(n.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=e("
                            ").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":t}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),t===this.options.max&&this._trigger("complete")}})}),define("app/models/dirent",["underscore","backbone"],function(e,t){var n=t.Model.extend({});return n}),define("app/collections/dirents",["underscore","backbone","common","app/models/dirent"],function(e,t,n,r){var i=t.Collection.extend({model:r,url:function(){return n.getUrl({name:"list_lib_dir",repo_id:this.repo_id})},initialize:function(){},parse:function(e){return this.repo_name=e.repo_name,this.user_perm=e.user_perm,this.encrypted=e.encrypted,this.is_repo_owner=e.is_repo_owner,this.is_virtual=e.is_virtual,this.dirent_more=e.dirent_more,this.more_start=e.more_start,e.dirent_list},setPath:function(e,t,n){this.category=e,this.repo_id=t,this.path=n}});return i}),define("app/views/folder-perm-item",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#folder-perm-item-tmpl").html()),initialize:function(e){this.item_data=e.item_data,this.repo_id=e.repo_id,this.path=e.path,this.render()},render:function(){return this.$el.html(this.template(this.item_data)),this},events:{mouseenter:"showPermOpIcons",mouseleave:"hidePermOpIcons","click .perm-edit-icon":"editIconClick","change .perm-toggle-select":"editPerm","click .perm-delete-icon":"deletePerm"},showPermOpIcons:function(){this.$el.find(".op-icon").removeClass("vh")},hidePermOpIcons:function(){this.$el.find(".op-icon").addClass("vh")},editIconClick:function(t){e(t.currentTarget).closest("td").find(".perm").addClass("hide").end().find(".perm-toggle-select").removeClass("hide")},editPerm:function(t){var n=this,i=e(t.currentTarget).val(),s={perm:i,path:this.path,type:"modify"},o=this.item_data.is_user_perm;o?e.extend(s,{user:this.item_data.user}):e.extend(s,{group_id:this.item_data.group_id}),e.ajax({url:r.getUrl({name:o?"set_user_folder_perm":"set_group_folder_perm",repo_id:this.repo_id}),type:"POST",dataType:"json",cache:!1,beforeSend:r.prepareCSRFToken,data:s,success:function(){n.item_data.perm=i,n.render()},error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),o?e("#user-folder-perm .error").html(n).removeClass("hide"):e("#group-folder-perm .error").html(n).removeClass("hide")}})},deletePerm:function(){var t=this,n={perm:this.item_data.perm,path:this.path,type:"delete"},i=this.item_data.is_user_perm;i?e.extend(n,{user:this.item_data.user}):e.extend(n,{group_id:this.item_data.group_id}),e.ajax({url:r.getUrl({name:i?"set_user_folder_perm":"set_group_folder_perm",repo_id:this.repo_id}),type:"POST",dataType:"json",cache:!1,beforeSend:r.prepareCSRFToken,data:n,success:function(){t.remove()},error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),i?e("#user-folder-perm .error").html(n).removeClass("hide"):e("#group-folder-perm .error").html(n).removeClass("hide")}})}});return i}),define("app/views/folder-perm",["jquery","underscore","backbone","common","jquery.ui.tabs","select2","app/views/folder-perm-item"],function(e,t,n,r,i,s,o){var u=n.View.extend({tagName:"div",id:"folder-perm-popup",template:t.template(e("#folder-perm-popup-tmpl").html()),initialize:function(t){this.repo_id=t.repo_id,this.obj_name=t.obj_name,this.dir_path=t.dir_path,this.path=r.pathJoin([this.dir_path,this.obj_name]),this.render(),this.$el.modal({appendTo:"#main",focus:!1,containerCss:{padding:0}}),e("#simplemodal-container").css({width:"auto",height:"auto"}),this.$("#folder-perm-tabs").tabs(),this.panelsInit();var n=this;e(document).on("click",function(e){var t=e.target||event.srcElement;n.$(".perm-edit-icon, .perm-toggle-select").is(t)||(n.$(".perm").removeClass("hide"),n.$(".perm-toggle-select").addClass("hide"))})},render:function(){return this.$el.html(this.template({title:gettext("Set {placeholder}'s permission").replace("{placeholder}",''+r.HTMLescape(this.obj_name)+"")})),this},panelsInit:function(){this.$add_user_perm=this.$("#add-user-folder-perm"),this.$add_group_perm=this.$("#add-group-folder-perm");var t=this,n=this.$add_user_perm,i=this.$add_group_perm;r.ajaxGet({get_url:r.getUrl({name:"get_folder_perm_by_path",repo_id:this.repo_id}),data:{path:this.path},after_op_success:function(r){e(r.user_perms).each(function(r,i){var s=new o({repo_id:t.repo_id,path:t.path,item_data:e.extend(i,{is_user_perm:!0})});n.after(s.el)}),e(r.group_perms).each(function(n,r){var s=new o({repo_id:t.repo_id,path:t.path,item_data:e.extend(r,{is_user_perm:!1})});i.after(s.el)})}}),e('[name="email"]',n).select2(r.contactInputOptionsForSelect2());var s=app.pageOptions.groups||[],u="";for(var a=0,f=s.length;a'+s[a].name+"";e('[name="group"]',i).html(u).select2({placeholder:gettext("Select groups"),escapeMarkup:function(e){return e}})},events:{"click #add-user-folder-perm .submit":"addUserFolderPerm","click #add-group-folder-perm .submit":"addGroupFolderPerm"},addUserFolderPerm:function(){var t=this,n=this.$add_user_perm,i=e('[name="email"]',n).val();if(!i)return!1;var s=e('[name="permission"]',n).val();r.ajaxPost({form:n,form_id:n.attr("id"),post_url:r.getUrl({name:"set_user_folder_perm",repo_id:this.repo_id}),post_data:{path:this.path,type:"add",user:i,perm:s},after_op_success:function(r){e(r.success).each(function(e,r){var u=new o({repo_id:t.repo_id,path:t.path,item_data:{user:i,user_name:r.user_name,perm:s,is_user_perm:!0}});n.after(u.el)}),e('[name="email"]',n).select2("val",""),e("#user-folder-perm .error").addClass("hide")},after_op_error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),e("#user-folder-perm .error").html(n).removeClass("hide")}})},addGroupFolderPerm:function(){var t=this,n=this.$add_group_perm,i=e('[name="group"]',n).val().join(",");if(!i)return!1;var s=e('[name="permission"]',n).val();r.ajaxPost({form:n,form_id:n.attr("id"),post_url:r.getUrl({name:"set_group_folder_perm",repo_id:this.repo_id}),post_data:{path:this.path,type:"add",group_id:i,perm:s},after_op_success:function(r){e(r.success).each(function(r,i){var u=new o({repo_id:t.repo_id,path:t.path,item_data:{is_user_perm:!1,perm:s,group_id:i.group_id,group_name:i.group_name}});n.after(u.el),e("#group-folder-perm .error").addClass("hide")}),e('[name="group"]',n).select2("val","")},after_op_error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),e("#group-folder-perm .error").html(n).removeClass("hide")}})}});return u}),define("app/views/dirent",["jquery","underscore","backbone","common","file-tree","app/views/share","app/views/folder-perm"],function(e,t,n,r,i,s,o){app=app||{},app.globalState=app.globalState||{};var u=n.View.extend({tagName:"tr",template:t.template(e("#dirent-tmpl").html()),renameTemplate:t.template(e("#rename-form-template").html()),mvcpTemplate:t.template(e("#mvcp-form-template").html()),mvProgressTemplate:t.template(e("#mv-progress-popup-template").html()),initialize:function(e){this.dirView=e.dirView,this.dir=this.dirView.dir,this.listenTo(this.model,"change",this.render),this.listenTo(this.model,"remove",this.remove)},render:function(){var e=this.dir,t=r.pathJoin([e.path,this.model.get("obj_name")]);return this.$el.html(this.template({dirent:this.model.attributes,dirent_path:t,encoded_path:r.encodePath(t),category:e.category,repo_id:e.repo_id,is_repo_owner:e.is_repo_owner,can_generate_shared_link:app.pageOptions.can_generate_shared_link,is_pro:app.pageOptions.is_pro,repo_encrypted:e.encrypted})),this},events:{mouseenter:"highlight",mouseleave:"rmHighlight","click .select":"select","click .file-star":"starFile","click .dir-link":"visitDir","click .more-op-icon":"togglePopup","click .share":"share","click .delete":"del","click .rename":"rename","click .mv":"mvcp","click .cp":"mvcp","click .set-folder-permission":"setFolderPerm"},highlight:function(){app.globalState.noFileOpPopup&&this.$el.addClass("hl").find(".repo-file-op").removeClass("vh")},rmHighlight:function(){app.globalState.noFileOpPopup&&this.$el.removeClass("hl").find(".repo-file-op").addClass("vh")},select:function(){var e=this.$(".checkbox");e.toggleClass("checkbox-checked"),e.hasClass("checkbox-checked")?this.model.set({selected:!0},{silent:!0}):this.model.set({selected:!1},{silent:!0});var t=this.dirView,n=t.$("#multi-dirents-op"),r=t.$("th .checkbox"),i=t.$("tr:gt(0) .checkbox-checked").length;i>0?n.css({display:"inline"}):n.hide(),i==t.$("tr:gt(0)").length?r.addClass("checkbox-checked"):r.removeClass("checkbox-checked")},starFile:function(){var t=this,n=this.dirView.dir,i=this.model.get("starred"),s={repo_id:n.repo_id};s.name=i?"unstar_file":"star_file";var o=r.pathJoin([n.path,this.model.get("obj_name")]),u=r.getUrl(s)+"?file="+encodeURIComponent(o);e.ajax({url:u,dataType:"json",cache:!1,success:function(){i?t.model.set({starred:!1}):t.model.set({starred:!0})},error:function(e){r.ajaxErrorHandler(e)}})},visitDir:function(){this.$(".dirent-icon img").attr({src:app.config.mediaUrl+"img/loading-icon.gif",alt:""}),this.dirView.dir.reset();var e=this.$(".dir-link").attr("href");return app.router.navigate(e,{trigger:!0}),!1},togglePopup:function(){var t=this.$(".more-op-icon"),n=this.$(".hidden-op");n.hasClass("hide")?(n.css({left:t.position().left}),t.offset().top+n.height()<=e("#main").offset().top+e("#main").height()?n.css("top",t.position().top+t.height()+3):n.css("bottom",t.parent().outerHeight()-t.position().top+3),n.removeClass("hide"),app.globalState.noFileOpPopup=!1,app.globalState.popup_tr=t.parents("tr")):(n.addClass("hide"),app.globalState.noFileOpPopup=!0,app.globalState.popup_tr="")},share:function(){var e=this.dir,t=this.model.get("obj_name"),n=r.pathJoin([e.path,t]),i={is_repo_owner:e.is_repo_owner,is_virtual:e.is_virtual,user_perm:this.model.get("perm"),repo_id:e.repo_id,repo_encrypted:!1,is_dir:this.model.get("is_dir")?!0:!1,dirent_path:n,obj_name:t};return new s(i),!1},del:function(){var t=this.model.get("obj_name"),n=this.dir,i={repo_id:n.repo_id,name:this.model.get("is_dir")?"del_dir":"del_file"},s=this.model;return e.ajax({url:r.getUrl(i)+"?parent_dir="+encodeURIComponent(n.path)+"&name="+encodeURIComponent(t),dataType:"json",success:function(e){n.remove(s),app.globalState.noFileOpPopup=!0;var i=gettext("Successfully deleted %(name)s").replace("%(name)s",r.HTMLescape(t));r.feedback(i,"success")},error:function(e){r.ajaxErrorHandler(e)}}),!1},rename:function(){var t=this.model.get("is_dir"),n=t?gettext("Rename Directory"):gettext("Rename File"),i=this.model.get("obj_name"),s=e(this.renameTemplate({form_title:n,dirent_name:i}));s.modal({focus:!1}),e("#simplemodal-container").css({width:"auto",height:"auto"});var o=e(".detail",s);o.html(o.html().replace("%(name)s",''+r.HTMLescape(i)+""));var u=s.attr("id"),a=this,f=this.dirView.dir;return s.submit(function(){var n=e.trim(e('[name="newname"]',s).val());if(!n)return r.showFormError(u,gettext("It is required.")),!1;if(n==i)return r.showFormError(u,gettext("You have not renamed it.")),!1;var o={oldname:i,newname:n},l=r.getUrl({name:t?"rename_dir":"rename_file",repo_id:f.repo_id})+"?parent_dir="+encodeURIComponent(f.path),c=function(n){var r={obj_name:n.newname,last_modified:(new Date).getTime()/1e3,last_update:gettext("Just now"),sharelink:"",sharetoken:""};t||e.extend(r,{starred:!1}),e.modal.close(),a.model.set(r)};return r.ajaxPost({form:s,post_url:l,post_data:o,after_op_success:c,form_id:u}),!1}),!1},mvcp:function(t){var n=this.dir,s=t.target||t.srcElement,o=e(s).hasClass("mv")?"mv":"cp",u=this.model.get("obj_name"),a=this.model.get("is_dir")?"dir":"file",f=o=="mv"?gettext("Move {placeholder} to:"):gettext("Copy {placeholder} to:");f=f.replace("{placeholder}",''+r.HTMLescape(u)+"");var l=e(this.mvcpTemplate({form_title:f,op_type:o,obj_type:a,obj_name:u,show_other_repos:!n.encrypted}));l.modal({appendTo:"#main",autoResize:!0,focus:!1}),e("#simplemodal-container").css({width:"auto",height:"auto"}),i.renderTreeForPath({repo_name:n.repo_name,repo_id:n.repo_id,path:n.path}),n.encrypted||i.prepareOtherReposTree({cur_repo_id:n.repo_id});var c=this.$el,h=this;return l.submit(function(){var t=e(this),i=t.attr("id"),s=n.path,o=n.repo_id,u=e('[name="dst_repo"]',t).val(),a=e('[name="dst_path"]',t).val(),f=e('[name="op"]',t).val(),l=e('[name="obj_name"]',t).val(),p=e('[name="obj_type"]',t).val();if(!e.trim(u)||!e.trim(a))return e(".error",t).removeClass("hide"),!1;if(u==o&&(a==s||p=="dir"&&a==s+l+"/"))return e(".error",t).html(gettext("Invalid destination path")).removeClass("hide"),!1;var d={repo_id:o};p=="dir"?d.name=f=="mv"?"mv_dir":"cp_dir":d.name=f=="mv"?"mv_file":"cp_file";var v=r.getUrl(d)+"?path="+encodeURIComponent(s)+"&obj_name="+encodeURIComponent(l),m={dst_repo:u,dst_path:a},g=function(t){e.modal.close();var n=t.msg;if(!t.task_id)f=="mv"&&c.remove(),r.feedback(n,"success");else{var i=e(h.mvProgressTemplate()),s=e("#mv-details",i),o=e("#cancel-mv",i),u=e("#mv-other-info",i);o.removeClass("hide"),setTimeout(function(){i.modal({containerCss:{width:300,height:150,paddingTop:50},focus:!1});var t=f=="mv"?gettext("Moving %(name)s"):gettext("Copying %(name)s");s.html(t.replace("%(name)s",r.HTMLescape(l))).removeClass("vh"),e("#mv-progress").progressbar(),a()},100);var a=function(){e.ajax({url:r.getUrl({name:"get_cp_progress"})+"?task_id="+encodeURIComponent(t.task_id),dataType:"json",success:function(t){var i=e(".ui-progressbar-value",e("#mv-progress"));if(!t.failed&&!t.canceled&&!t.successful)t["done"]==t["total"]?(i.css("width","100%"),s.addClass("vh"),o.addClass("hide"),u.html(gettext("Saving...")).removeClass("hide")):i.css("width",parseInt(t.done/t.total*100,10)+"%"),i.show(),setTimeout(a,1e3);else if(t.successful)e.modal.close(),f=="mv"&&c.remove(),r.feedback(n,"success");else{s.addClass("vh");var l=t.failed?gettext("Failed."):gettext("Canceled.");u.html(l).removeClass("hide"),o.addClass("hide"),setTimeout(function(){e.modal.close()},1e3)}},error:function(t,n,r){var i;t.responseText?i=e.parseJSON(t.responseText).error:i=gettext("Failed. Please check the network."),s.addClass("vh"),u.html(i).removeClass("hide"),o.addClass("hide"),setTimeout(function(){e.modal.close()},1e3)}})};o.click(function(){r.disableButton(o),e.ajax({url:r.getUrl({name:"cancel_cp"})+"?task_id="+encodeURIComponent(t.task_id),dataType:"json",success:function(t){s.addClass("vh"),u.html(gettext("Canceled.")).removeClass("hide"),o.addClass("hide"),setTimeout(function(){e.modal.close()},1e3)},error:function(t,n,i){var s;t.responseText?s=e.parseJSON(t.responseText).error:s=gettext("Failed. Please check the network."),u.html(s).removeClass("hide"),r.enableButton(o)}})})}};return r.ajaxPost({form:t,post_url:v,post_data:m,after_op_success:g,form_id:i}),!1}),!1},setFolderPerm:function(){var e={obj_name:this.model.get("obj_name"),dir_path:this.dir.path,repo_id:this.dir.repo_id};return new o(e),!1}});return u}),function(e){var t=function(e,n){var r=/[^\w\-\.:]/.test(e)?new Function(t.arg+",tmpl","var _e=tmpl.encode"+t.helper+",_s='"+e.replace(t.regexp,t.func)+"';return _s;"):t.cache[e]=t.cache[e]||t(t.load(e));return n?r(n,t):function(e){return r(e,t)}};t.cache={},t.load=function(e){return document.getElementById(e).innerHTML},t.regexp=/([\s'\\])(?![^%]*%\})|(?:\{%(=|#)([\s\S]+?)%\})|(\{%)|(%\})/g,t.func=function(e,t,n,r,i,s){if(t)return{"\n":"\\n","\r":"\\r"," ":"\\t"," ":" "}[e]||"\\"+e;if(n)return n==="="?"'+_e("+r+")+'":"'+("+r+"||'')+'";if(i)return"';";if(s)return"_s+='"},t.encReg=/[<>&"'\x00]/g,t.encMap={"<":"<",">":">","&":"&",'"':""","'":"'"},t.encode=function(e){return String(e||"").replace(t.encReg,function(e){return t.encMap[e]||""})},t.arg="o",t.helper=",print=function(s,e){_s+=e&&(s||'')||_e(s);},include=function(s,d){_s+=tmpl(s,d);}",typeof define=="function"&&define.amd?define("tmpl",[],function(){return t}):e.tmpl=t}(this),function(e){typeof define=="function"&&define.amd?define("jquery.iframe-transport",["jquery"],e):e(window.jQuery)}(function(e){var t=0;e.ajaxTransport("iframe",function(n){if(n.async&&(n.type==="POST"||n.type==="GET")){var r,i;return{send:function(s,o){r=e('
                            '),i=e('').bind("load",function(){var t,s=e.isArray(n.paramName)?n.paramName:[n.paramName];i.unbind("load").bind("load",function(){var t;try{t=i.contents();if(!t.length||!t[0].firstChild)throw new Error}catch(n){t=undefined}o(200,"success",{iframe:t}),e('').appendTo(r),r.remove()}),r.prop("target",i.prop("name")).prop("action",n.url).prop("method",n.type),n.formData&&e.each(n.formData,function(t,n){e('').prop("name",n.name).val(n.value).appendTo(r)}),n.fileInput&&n.fileInput.length&&n.type==="POST"&&(t=n.fileInput.clone(),n.fileInput.after(function(e){return t[e]}),n.paramName&&n.fileInput.each(function(t){e(this).prop("name",s[t]||n.paramName)}),r.append(n.fileInput).prop("enctype","multipart/form-data").prop("encoding","multipart/form-data")),r.submit(),t&&t.length&&n.fileInput.each(function(n,r){var i=e(t[n]);e(r).prop("name",i.prop("name")),i.replaceWith(r)})}),r.append(i).appendTo(document.body)},abort:function(){i&&i.unbind("load").prop("src","javascript".concat(":false;")),r&&r.remove()}}}}),e.ajaxSetup({converters:{"iframe text":function(t){return e(t[0].body).text()},"iframe json":function(t){return e.parseJSON(e(t[0].body).text())},"iframe html":function(t){return e(t[0].body).html()},"iframe script":function(t){return e.globalEval(e(t[0].body).text())}}})}),function(e){typeof define=="function"&&define.amd?define("jquery.fileupload",["jquery","jquery.ui.widget"],e):e(window.jQuery)}(function(e){function t(t){var n=t==="dragover";return function(r){r.dataTransfer=r.originalEvent&&r.originalEvent.dataTransfer;var i=r.dataTransfer;i&&e.inArray("Files",i.types)!==-1&&this._trigger(t,e.Event(t,{delegatedEvent:r}))!==!1&&(r.preventDefault(),n&&(i.dropEffect="copy"))}}e.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))")).test(window.navigator.userAgent)&&!e('').prop("disabled"),e.support.xhrFileUpload=!!window.ProgressEvent&&!!window.FileReader,e.support.xhrFormDataFileUpload=!!window.FormData,e.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),e.widget("blueimp.fileupload",{options:{dropZone:e(document),pasteZone:undefined,fileInput:undefined,replaceFileInput:!0,paramName:undefined,singleFileUploads:!0,limitMultiFileUploads:undefined,limitMultiFileUploadSize:undefined,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:undefined,forceIframeTransport:!1,redirect:undefined,redirectParamName:undefined,postMessage:undefined,multipart:!0,maxChunkSize:undefined,uploadedBytes:undefined,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(t,n){return t=this.messages[t]||t.toString(),n&&e.each(n,function(e,n){t=t.replace("{"+e+"}",n)}),t},formData:function(e){return e.serializeArray()},add:function(t,n){if(t.isDefaultPrevented())return!1;(n.autoUpload||n.autoUpload!==!1&&e(this).fileupload("option","autoUpload"))&&n.process().done(function(){n.submit()})},processData:!1,contentType:!1,cache:!1},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:e.support.blobSlice&&function(){var e=this.slice||this.webkitSlice||this.mozSlice;return e.apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(e,t,n){var r=e-this.timestamp;if(!this.bitrate||!n||r>n)this.bitrate=(t-this.loaded)*(1e3/r)*8,this.loaded=t,this.timestamp=e;return this.bitrate}},_isXHRUpload:function(t){return!t.forceIframeTransport&&(!t.multipart&&e.support.xhrFileUpload||e.support.xhrFormDataFileUpload)},_getFormData:function(t){var n;return e.type(t.formData)==="function"?t.formData(t.form):e.isArray(t.formData)?t.formData:e.type(t.formData)==="object"?(n=[],e.each(t.formData,function(e,t){n.push({name:e,value:t})}),n):[]},_getTotal:function(t){var n=0;return e.each(t,function(e,t){n+=t.size||1}),n},_initProgressObject:function(t){var n={loaded:0,total:0,bitrate:0};t._progress?e.extend(t._progress,n):t._progress=n},_initResponseObject:function(e){var t;if(e._response)for(t in e._response)e._response.hasOwnProperty(t)&&delete e._response[t];else e._response={}},_onProgress:function(t,n){if(t.lengthComputable){var r=Date.now?Date.now():(new Date).getTime(),i;if(n._time&&n.progressInterval&&r-n._time
                            ").prop("href",t.url).prop("host");t.dataType="iframe "+(t.dataType||""),t.formData=this._getFormData(t),t.redirect&&n&&n!==location.host&&t.formData.push({name:t.redirectParamName||"redirect",value:t.redirect})},_initDataSettings:function(e){this._isXHRUpload(e)?(this._chunkedUpload(e,!0)||(e.data||this._initXHRData(e),this._initProgressListener(e)),e.postMessage&&(e.dataType="postmessage "+(e.dataType||""))):this._initIframeSettings(e)},_getParamName:function(t){var n=e(t.fileInput),r=t.paramName;return r?e.isArray(r)||(r=[r]):(r=[],n.each(function(){var t=e(this),n=t.prop("name")||"files[]",i=(t.prop("files")||[1]).length;while(i)r.push(n),i-=1}),r.length||(r=[n.prop("name")||"files[]"])),r},_initFormSettings:function(t){if(!t.form||!t.form.length)t.form=e(t.fileInput.prop("form")),t.form.length||(t.form=e(this.options.fileInput.prop("form")));t.paramName=this._getParamName(t),t.url||(t.url=t.form.prop("action")||location.href),t.type=(t.type||e.type(t.form.prop("method"))==="string"&&t.form.prop("method")||"").toUpperCase(),t.type!=="POST"&&t.type!=="PUT"&&t.type!=="PATCH"&&(t.type="POST"),t.formAcceptCharset||(t.formAcceptCharset=t.form.attr("accept-charset"))},_getAJAXSettings:function(t){var n=e.extend({},this.options,t);return this._initFormSettings(n),this._initDataSettings(n),n},_getDeferredState:function(e){return e.state?e.state():e.isResolved()?"resolved":e.isRejected()?"rejected":"pending"},_enhancePromise:function(e){return e.success=e.done,e.error=e.fail,e.complete=e.always,e},_getXHRPromise:function(t,n,r){var i=e.Deferred(),s=i.promise();return n=n||this.options.context||s,t===!0?i.resolveWith(n,r):t===!1&&i.rejectWith(n,r),s.abort=i.promise,this._enhancePromise(s)},_addConvenienceMethods:function(t,n){var r=this,i=function(t){return e.Deferred().resolveWith(r,t).promise()};n.process=function(t,s){if(t||s)n._processQueue=this._processQueue=(this._processQueue||i([this])).pipe(function(){return n.errorThrown?e.Deferred().rejectWith(r,[n]).promise():i(arguments)}).pipe(t,s);return this._processQueue||i([this])},n.submit=function(){return this.state()!=="pending"&&(n.jqXHR=this.jqXHR=r._trigger("submit",e.Event("submit",{delegatedEvent:t}),this)!==!1&&r._onSend(t,this)),this.jqXHR||r._getXHRPromise()},n.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",r._trigger("fail",null,this),r._getXHRPromise(!1))},n.state=function(){if(this.jqXHR)return r._getDeferredState(this.jqXHR);if(this._processQueue)return r._getDeferredState(this._processQueue)},n.processing=function(){return!this.jqXHR&&this._processQueue&&r._getDeferredState(this._processQueue)==="pending"},n.progress=function(){return this._progress},n.response=function(){return this._response}},_getUploadedBytes:function(e){var t=e.getResponseHeader("Range"),n=t&&t.split("-"),r=n&&n.length>1&&parseInt(n[1],10);return r&&r+1},_chunkedUpload:function(t,n){t.uploadedBytes=t.uploadedBytes||0;var r=this,i=t.files[0],s=i.size,o=t.uploadedBytes,u=t.maxChunkSize||s,a=this._blobSlice,f=e.Deferred(),l=f.promise(),c,h;return!(this._isXHRUpload(t)&&a&&(o||u=s?(i.error=t.i18n("uploadedBytes"),this._getXHRPromise(!1,t.context,[null,"error",i.error])):(h=function(){var n=e.extend({},t),l=n._progress.loaded;n.blob=a.call(i,o,o+u,i.type),n.chunkSize=n.blob.size,n.contentRange="bytes "+o+"-"+(o+n.chunkSize-1)+"/"+s,r._initXHRData(n),r._initProgressListener(n),c=(r._trigger("chunksend",null,n)!==!1&&e.ajax(n)||r._getXHRPromise(!1,n.context)).done(function(i,u,a){o=r._getUploadedBytes(a)||o+n.chunkSize,l+n.chunkSize-n._progress.loaded&&r._onProgress(e.Event("progress",{lengthComputable:!0,loaded:o-n.uploadedBytes,total:o-n.uploadedBytes}),n),t.uploadedBytes=n.uploadedBytes=o,n.result=i,n.textStatus=u,n.jqXHR=a,r._trigger("chunkdone",null,n),r._trigger("chunkalways",null,n),or._sending){var i=r._slots.shift();while(i){if(r._getDeferredState(i)==="pending"){i.resolve();break}i=r._slots.shift()}}r._active===0&&r._trigger("stop")}),i};return this._beforeSend(t,a),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?(this.options.limitConcurrentUploads>1?(o=e.Deferred(),this._slots.push(o),u=o.pipe(f)):(this._sequence=this._sequence.pipe(f,f),u=this._sequence),u.abort=function(){return s=[undefined,"abort","abort"],i?i.abort():(o&&o.rejectWith(a.context,s),f())},this._enhancePromise(u)):f()},_onAdd:function(t,n){var r=this,i=!0,s=e.extend({},this.options,n),o=n.files,u=o.length,a=s.limitMultiFileUploads,f=s.limitMultiFileUploadSize,l=s.limitMultiFileUploadSizeOverhead,c=0,h=this._getParamName(s),p,d,v,m,g=0;f&&(!u||o[0].size===undefined)&&(f=undefined);if(!(s.singleFileUploads||a||f)||!this._isXHRUpload(s))v=[o],p=[h];else if(!s.singleFileUploads&&!f&&a){v=[],p=[];for(m=0;mf||a&&m+1-g>=a)v.push(o.slice(g,m+1)),d=h.slice(g,m+1),d.length||(d=h),p.push(d),g=m+1,c=0}}else p=h;return n.originalFiles=o,e.each(v||o,function(s,o){var u=e.extend({},n);return u.files=v?o:[o],u.paramName=p[s],r._initResponseObject(u),r._initProgressObject(u),r._addConvenienceMethods(t,u),i=r._trigger("add",e.Event("add",{delegatedEvent:t}),u),i}),i},_replaceFileInput:function(t){var n=t.fileInput,r=n.clone(!0);t.fileInputClone=r,e("
                            ").append(r)[0].reset(),n.after(r).detach(),e.cleanData(n.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(e,t){return t===n[0]?r[0]:t}),n[0]===this.element[0]&&(this.element=r)},_handleFileTreeEntry:function(t,n){var r=this,i=e.Deferred(),s=function(e){e&&!e.entry&&(e.entry=t),i.resolve([e])},o=function(e){r._handleFileTreeEntries(e,n+t.name+"/").done(function(e){i.resolve(e)}).fail(s)},u=function(){a.readEntries(function(e){e.length?(f=f.concat(e),u()):o(f)},s)},a,f=[];return n=n||"",t.isFile?t._file?(t._file.relativePath=n,i.resolve(t._file)):t.file(function(e){e.relativePath=n,i.resolve(e)},s):t.isDirectory?(a=t.createReader(),u()):i.resolve([]),i.promise()},_handleFileTreeEntries:function(t,n){var r=this;return e.when.apply(e,e.map(t,function(e){return r._handleFileTreeEntry(e,n)})).pipe(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(t){t=t||{};var n=t.items;return n&&n.length&&(n[0].webkitGetAsEntry||n[0].getAsEntry)?this._handleFileTreeEntries(e.map(n,function(e){var t;return e.webkitGetAsEntry?(t=e.webkitGetAsEntry(),t&&(t._file=e.getAsFile()),t):e.getAsEntry()})):e.Deferred().resolve(e.makeArray(t.files)).promise()},_getSingleFileInputFiles:function(t){t=e(t);var n=t.prop("webkitEntries")||t.prop("entries"),r,i;if(n&&n.length)return this._handleFileTreeEntries(n);r=e.makeArray(t.prop("files"));if(!r.length){i=t.prop("value");if(!i)return e.Deferred().resolve([]).promise();r=[{name:i.replace(/^.*\\/,"")}]}else r[0].name===undefined&&r[0].fileName&&e.each(r,function(e,t){t.name=t.fileName,t.size=t.fileSize});return e.Deferred().resolve(r).promise()},_getFileInputFiles:function(t){return t instanceof e&&t.length!==1?e.when.apply(e,e.map(t,this._getSingleFileInputFiles)).pipe(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(t)},_onChange:function(t){var n=this,r={fileInput:e(t.target),form:e(t.target.form)};this._getFileInputFiles(r.fileInput).always(function(i){r.files=i,n.options.replaceFileInput&&n._replaceFileInput(r),n._trigger("change",e.Event("change",{delegatedEvent:t}),r)!==!1&&n._onAdd(t,r)})},_onPaste:function(t){var n=t.originalEvent&&t.originalEvent.clipboardData&&t.originalEvent.clipboardData.items,r={files:[]};n&&n.length&&(e.each(n,function(e,t){var n=t.getAsFile&&t.getAsFile();n&&r.files.push(n)}),this._trigger("paste",e.Event("paste",{delegatedEvent:t}),r)!==!1&&this._onAdd(t,r))},_onDrop:function(t){t.dataTransfer=t.originalEvent&&t.originalEvent.dataTransfer;var n=this,r=t.dataTransfer,i={};r&&r.files&&r.files.length&&(t.preventDefault(),this._getDroppedFiles(r).always(function(r){i.files=r,n._trigger("drop",e.Event("drop",{delegatedEvent:t}),i)!==!1&&n._onAdd(t,i)}))},_onDragOver:t("dragover"),_onDragEnter:t("dragenter"),_onDragLeave:t("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),e.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_setOption:function(t,n){var r=e.inArray(t,this._specialOptions)!==-1;r&&this._destroyEventHandlers(),this._super(t,n),r&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var t=this.options;t.fileInput===undefined?t.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):t.fileInput instanceof e||(t.fileInput=e(t.fileInput)),t.dropZone instanceof e||(t.dropZone=e(t.dropZone)),t.pasteZone instanceof e||(t.pasteZone=e(t.pasteZone))},_getRegExp:function(e){var t=e.split("/"),n=t.pop();return t.shift(),new RegExp(t.join("/"),n)},_isRegExpOption:function(t,n){return t!=="url"&&e.type(n)==="string"&&/^\/.*\/[igm]{0,3}$/.test(n)},_initDataAttributes:function(){var t=this,n=this.options,r=e(this.element[0].cloneNode(!1)),i=r.data();r.remove(),e.each(i,function(e,i){var s="data-"+e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();r.attr(s)&&(t._isRegExpOption(e,i)&&(i=t._getRegExp(i)),n[e]=i)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(t){var n=this;if(!t||this.options.disabled)return;t.fileInput&&!t.files?this._getFileInputFiles(t.fileInput).always(function(e){t.files=e,n._onAdd(null,t)}):(t.files=e.makeArray(t.files),this._onAdd(null,t))},send:function(t){if(t&&!this.options.disabled){if(t.fileInput&&!t.files){var n=this,r=e.Deferred(),i=r.promise(),s,o;return i.abort=function(){return o=!0,s?s.abort():(r.reject(null,"abort","abort"),i)},this._getFileInputFiles(t.fileInput).always(function(e){if(o)return;if(!e.length){r.reject();return}t.files=e,s=n._onSend(null,t),s.then(function(e,t,n){r.resolve(e,t,n)},function(e,t,n){r.reject(e,t,n)})}),this._enhancePromise(i)}t.files=e.makeArray(t.files);if(t.files.length)return this._onSend(null,t)}return this._getXHRPromise(!1,t&&t.context)}})}),function(e){typeof define=="function"&&define.amd?define("jquery.fileupload-process",["jquery","jquery.fileupload"],e):e(window.jQuery)}(function(e){var t=e.blueimp.fileupload.prototype.options.add;e.widget("blueimp.fileupload",e.blueimp.fileupload,{options:{processQueue:[],add:function(n,r){var i=e(this);r.process(function(){return i.fileupload("process",r)}),t.call(this,n,r)}},processActions:{},_processFile:function(t,n){var r=this,i=e.Deferred().resolveWith(r,[t]),s=i.promise();return this._trigger("process",null,t),e.each(t.processQueue,function(t,i){var o=function(t){return n.errorThrown?e.Deferred().rejectWith(r,[n]).promise():r.processActions[i.action].call(r,t,i)};s=s.pipe(o,i.always&&o)}),s.done(function(){r._trigger("processdone",null,t),r._trigger("processalways",null,t)}).fail(function(){r._trigger("processfail",null,t),r._trigger("processalways",null,t)}),s},_transformProcessQueue:function(t){var n=[];e.each(t.processQueue,function(){var r={},i=this.action,s=this.prefix===!0?i:this.prefix;e.each(this,function(n,i){e.type(i)==="string"&&i.charAt(0)==="@"?r[n]=t[i.slice(1)||(s?s+n.charAt(0).toUpperCase()+n.slice(1):n)]:r[n]=i}),n.push(r)}),t.processQueue=n},processing:function(){return this._processing},process:function(t){var n=this,r=e.extend({},this.options,t);return r.processQueue&&r.processQueue.length&&(this._transformProcessQueue(r),this._processing===0&&this._trigger("processstart"),e.each(t.files,function(i){var s=i?e.extend({},r):r,o=function(){return t.errorThrown?e.Deferred().rejectWith(n,[t]).promise():n._processFile(s,t)};s.index=i,n._processing+=1,n._processingQueue=n._processingQueue.pipe(o,o).always(function(){n._processing-=1,n._processing===0&&n._trigger("processstop")})})),this._processingQueue},_create:function(){this._super(),this._processing=0,this._processingQueue=e.Deferred().resolveWith(this).promise()}})}),function(e){typeof define=="function"&&define.amd?define("jquery.fileupload-validate",["jquery","jquery.fileupload-process"],e):e(window.jQuery)}(function(e){e.blueimp.fileupload.prototype.options.processQueue.push({action:"validate",always:!0,acceptFileTypes:"@",maxFileSize:"@",minFileSize:"@",maxNumberOfFiles:"@",disabled:"@disableValidation"}),e.widget("blueimp.fileupload",e.blueimp.fileupload,{options:{getNumberOfFiles:e.noop,messages:{maxNumberOfFiles:"Maximum number of files exceeded",acceptFileTypes:"File type not allowed",maxFileSize:"File is too large",minFileSize:"File is too small"}},processActions:{validate:function(t,n){if(n.disabled)return t;var r=e.Deferred(),i=this.options,s=t.files[t.index],o;if(n.minFileSize||n.maxFileSize)o=s.size;return e.type(n.maxNumberOfFiles)==="number"&&(i.getNumberOfFiles()||0)+t.files.length>n.maxNumberOfFiles?s.error=i.i18n("maxNumberOfFiles"):n.acceptFileTypes&&!n.acceptFileTypes.test(s.type)&&!n.acceptFileTypes.test(s.name)?s.error=i.i18n("acceptFileTypes"):o>n.maxFileSize?s.error=i.i18n("maxFileSize"):e.type(o)==="number"&&o=1e9?(e/1e9).toFixed(2)+" GB":e>=1e6?(e/1e6).toFixed(2)+" MB":(e/1e3).toFixed(2)+" KB"},_formatBitrate:function(e){return typeof e!="number"?"":(e/=8,e>=1e9?(e/1e9).toFixed(2)+" GB/s":e>=1e6?(e/1e6).toFixed(2)+" MB/s":e>=1e3?(e/1e3).toFixed(2)+" KB/s":e.toFixed(2)+" B/s")},_formatTime:function(e){var t=new Date(e*1e3),n=Math.floor(e/86400);return n=n?n+"d ":"",n+("0"+t.getUTCHours()).slice(-2)+":"+("0"+t.getUTCMinutes()).slice(-2)+":"+("0"+t.getUTCSeconds()).slice(-2)},_formatPercentage:function(e){return(e*100).toFixed(2)+" %"},_renderExtendedProgress:function(e){return this._formatBitrate(e.bitrate)+" | "+this._formatTime((e.total-e.loaded)*8/e.bitrate)+" | "+this._formatPercentage(e.loaded/e.total)+" | "+this._formatFileSize(e.loaded)+" / "+this._formatFileSize(e.total)},_renderTemplate:function(t,n){if(!t)return e();var r=t({files:n,formatFileSize:this._formatFileSize,options:this.options});return r instanceof e?r:e(this.options.templatesContainer).html(r).children()},_renderPreviews:function(t){t.context.find(".preview").each(function(n,r){e(r).append(t.files[n].preview)})},_renderUpload:function(e){return this._renderTemplate(this.options.uploadTemplate,e)},_renderDownload:function(e){return this._renderTemplate(this.options.downloadTemplate,e).find("a[download]").each(this._enableDragToDesktop).end()},_startHandler:function(t){t.preventDefault();var n=e(t.currentTarget),r=n.closest(".template-upload"),i=r.data("data");n.prop("disabled",!0),i&&i.submit&&i.submit()},_cancelHandler:function(t){t.preventDefault();var n=e(t.currentTarget).closest(".template-upload,.template-download"),r=n.data("data")||{};r.context=r.context||n,r.abort?r.abort():(r.errorThrown="abort",this._trigger("fail",t,r))},_deleteHandler:function(t){t.preventDefault();var n=e(t.currentTarget);this._trigger("destroy",t,e.extend({context:n.closest(".template-download"),type:"DELETE"},n.data()))},_forceReflow:function(t){return e.support.transition&&t.length&&t[0].offsetWidth},_transition:function(t){var n=e.Deferred();return e.support.transition&&t.hasClass("fade")&&t.is(":visible")?t.bind(e.support.transition.end,function(r){r.target===t[0]&&(t.unbind(e.support.transition.end),n.resolveWith(t))}).toggleClass("in"):(t.toggleClass("in"),n.resolveWith(t)),n},_initButtonBarEventHandlers:function(){var t=this.element.find(".fileupload-buttonbar"),n=this.options.filesContainer;this._on(t.find(".start"),{click:function(e){e.preventDefault(),n.find(".start").click()}}),this._on(t.find(".cancel"),{click:function(e){e.preventDefault(),n.find(".cancel").click()}}),this._on(t.find(".delete"),{click:function(e){e.preventDefault(),n.find(".toggle:checked").closest(".template-download").find(".delete").click(),t.find(".toggle").prop("checked",!1)}}),this._on(t.find(".toggle"),{change:function(t){n.find(".toggle").prop("checked",e(t.currentTarget).is(":checked"))}})},_destroyButtonBarEventHandlers:function(){this._off(this.element.find(".fileupload-buttonbar").find(".start, .cancel, .delete"),"click"),this._off(this.element.find(".fileupload-buttonbar .toggle"),"change.")},_initEventHandlers:function(){this._super(),this._on(this.options.filesContainer,{"click .start":this._startHandler,"click .cancel":this._cancelHandler,"click .delete":this._deleteHandler}),this._initButtonBarEventHandlers()},_destroyEventHandlers:function(){this._destroyButtonBarEventHandlers(),this._off(this.options.filesContainer,"click"),this._super()},_enableFileInputButton:function(){this.element.find(".fileinput-button input").prop("disabled",!1).parent().removeClass("disabled")},_disableFileInputButton:function(){this.element.find(".fileinput-button input").prop("disabled",!0).parent().addClass("disabled")},_initTemplates:function(){var e=this.options;e.templatesContainer=this.document[0].createElement(e.filesContainer.prop("nodeName")),t&&(e.uploadTemplateId&&(e.uploadTemplate=t(e.uploadTemplateId)),e.downloadTemplateId&&(e.downloadTemplate=t(e.downloadTemplateId)))},_initFilesContainer:function(){var t=this.options;t.filesContainer===undefined?t.filesContainer=this.element.find(".files"):t.filesContainer instanceof e||(t.filesContainer=e(t.filesContainer))},_initSpecialOptions:function(){this._super(),this._initFilesContainer(),this._initTemplates()},_create:function(){this._super(),this._resetFinishedDeferreds(),e.support.fileInput||this._disableFileInputButton()},enable:function(){var e=!1;this.options.disabled&&(e=!0),this._super(),e&&(this.element.find("input, button").prop("disabled",!1),this._enableFileInputButton())},disable:function(){this.options.disabled||(this.element.find("input, button").prop("disabled",!0),this._disableFileInputButton()),this._super()}})}),define("app/views/fileupload",["common","backbone","jquery.fileupload-ui"],function(e,t,n){window.locale={fileupload:{errors:{maxFileSize:gettext("File is too big"),minFileSize:gettext("File is too small"),acceptFileTypes:gettext("Filetype not allowed"),maxNumberOfFiles:gettext("Max number of files exceeded"),uploadedBytes:gettext("Uploaded bytes exceed file size"),emptyResult:gettext("Empty file upload result")},error:gettext("Error"),uploaded:gettext("uploaded"),canceled:gettext("canceled"),start:gettext("Start"),cancel:gettext("Cancel"),destroy:gettext("Delete")}};var r=t.View.extend({el:$("#upload-file-dialog"),fileupdateConfirmTemplate:_.template($("#fileupdate-confirm-template").html()),initialize:function(t){var n=this.dirView=t.dirView,r=n.dir,i=this.$el.addClass("fixed-upload-file-dialog");this.popup_height="200px";var s=$(".status",i),o=$(".total-progress",i),u=$(".fileupload-buttonbar .cancel",i),a=$(".close",i),f=$(".saving-tip",i),l={uploading:gettext("File Uploading..."),complete:gettext("File Upload complete"),canceled:gettext("File Upload canceled"),failed:gettext("File Upload failed")},c=[],h=[],p=app.pageOptions.enable_upload_folder,d=[],v=[],m=this;i.fileupload({paramName:"file",getFilesFromResponse:function(e){if(e.result)return e.result},autoUpload:!0,maxNumberOfFiles:500,sequentialUploads:!0}).bind("fileuploadadd",function(e,t){if(!n.$el.is(":visible"))return!1;if(r.user_perm&&r.user_perm!="rw")return!1;i.removeClass("hide"),u.removeClass("hide"),a.addClass("hide");var s=r.path;i.fileupload("option","formData",{parent_dir:s=="/"?s:s+"/"});if(!p)return;var o=n.$("#upload-menu");o.hasClass("hide")||o.find(".item").removeAttr("style").end().addClass("hide");var f=t.files[0];if(f.name=="."){t.files.shift();return}f.webkitRelativePath&&(f.relative_path=f.webkitRelativePath),f.relativePath&&(f.relative_path=f.relativePath+f.name)}).bind("fileuploadstart",function(){s.html(l.uploading)}).bind("fileuploadsubmit",function(t,n){if(n.files.length==0)return!1;var s=n.files[0];if(s.error)return!1;var o=function(){$.ajax({url:e.getUrl({name:"get_file_op_url",repo_id:r.repo_id}),data:{op_type:"upload",path:r.path},cache:!1,dataType:"json",success:function(e){if(p){var t=s.relative_path,r;t&&(r=t.substring(0,t.lastIndexOf("/")+1));var o=i.fileupload("option","formData");o.relative_path=r||"",i.fileupload("option","formData",o)}n.url=e.url,n.jqXHR=i.fileupload("send",n)},error:function(){s.error=gettext("Failed to get upload url")}})};if(s.relative_path||n.originalFiles.length>1)return o(),!1;var u=function(){$.ajax({url:e.getUrl({name:"get_file_op_url",repo_id:r.repo_id}),data:{op_type:"update",path:r.path},cache:!1,dataType:"json",success:function(e){var t=i.fileupload("option","formData");t.target_file=t.parent_dir+s.name,i.fileupload("option","formData",t),s.to_update=!0,n.url=e.url,n.jqXHR=i.fileupload("send",n)},error:function(){s.error=gettext("Failed to get update url")}})},a=r.where({is_file:!0}),f=[];$(a).each(function(){f.push(this.get("obj_name"))});if(f.indexOf(s.name)!=-1){var l=gettext("Replace file {filename}?").replace("{filename}",''+e.HTMLescape(s.name)+""),c=$(m.fileupdateConfirmTemplate({title:l}));c.modal({onClose:function(){$.modal.close(),s.choose_to_update?u():s.choose_to_upload?o():(n.jqXHR=i.fileupload("send",n),n.jqXHR.abort())}}),$(".yes",c).click(function(){s.choose_to_update=!0,$.modal.close()}),$(".no",c).click(function(){s.choose_to_upload=!0,$.modal.close()})}else o();return!1}).bind("fileuploadprogressall",function(e,t){o.html(parseInt(t.loaded/t.total*100,10)+"% "+'('+$(this).data("blueimp-fileupload")._formatBitrate(t.bitrate)+")").removeClass("hide"),t.loaded>0&&t.loaded==t.total&&f.show()}).bind("fileuploaddone",function(e,t){if(t.textStatus!="success")return;var n=t.files[0],i=n.relative_path,s=t.result[0];s.uploaded=!0,i&&(s.relative_path=i.substring(0,i.lastIndexOf("/")+1)+s.name);var o=r.path;o=o=="/"?o:o+"/";if(t.formData.parent_dir!=o)return;if(!i){n.to_update?h.push(s):c.push(s);return}if(!p)return;var u=i.substring(0,i.indexOf("/")),a=r.where({is_dir:!0,obj_name:u});a.length>0?v.indexOf(u)==-1&&v.push(u):d.indexOf(u)==-1&&d.push(u)}).bind("fileuploadstop",function(){u.addClass("hide"),a.removeClass("hide");var t=r.path;t=t=="/"?t:t+"/";if(i.fileupload("option","formData").parent_dir!=t)return;var s=parseInt((new Date).getTime()/1e3);c.length>0&&($(c).each(function(t,i){var o=r.add({is_file:!0,is_img:e.imageCheck(i.name),obj_name:i.name,last_modified:s,file_size:e.fileSizeFormat(i.size,1),obj_id:i.id,file_icon:"file.png",perm:"rw",last_update:gettext("Just now"),starred:!1},{silent:!0});n.addNewFile(o)}),c=[]),d.length>0&&($(d).each(function(e,i){var o=r.add({is_dir:!0,obj_name:i,perm:"rw",last_modified:s,last_update:gettext("Just now"),p_dpath:t+i},{silent:!0});n.addNewDir(o)}),d=[]),v.length>0&&($(v).each(function(e,t){var n=r.where({is_dir:!0,obj_name:t});n[0].set({last_modified:s,last_update:gettext("Just now")})}),v=[]),h.length>0&&($(h).each(function(t,n){var i=r.where({is_file:!0,obj_name:n.name});i[0].set({obj_id:n.id,file_size:e.fileSizeFormat(n.size,1),last_modified:s,last_update:gettext("Just now")})}),h=[])}).bind("fileuploadcompleted",function(){$(".files .cancel",i).length==0&&(f.hide(),o.addClass("hide"),s.html(l.complete))}).bind("fileuploadfailed",function(e,t){$(".files .cancel",i).length==0&&(u.addClass("hide"),a.removeClass("hide"),o.addClass("hide"),f.hide(),t.errorThrown=="abort"?s.html(l.canceled):s.html(l.failed))});var g=app.pageOptions.max_upload_file_size;g&&i.fileupload("option","maxFileSize",g),i.fileupload("option","redirect",window.location.href.replace(/\/repo\/[-a-z0-9]{36}\/.*/,app.config.mediaUrl+"cors/result.html?%s")),$(document).click(function(e){var t=e.target||event.srcElement,r=function(e,n){!e.hasClass("hide")&&!e.is(t)&&!e.find("*").is(t)&&!n.is(t)&&!n.find("*").is(t)&&e.addClass("hide")};r(n.$("#upload-menu"),n.$("#upload-file"))})},events:{"click .fold-switch":"foldAndUnfoldPopup","click .close":"closePopup"},foldAndUnfoldPopup:function(){var e=this.$el,t=parseInt(this.popup_height),n=$(".fileupload-buttonbar, .table",e);e.height()==t?(e.height($(".hd",e).outerHeight(!0)),n.addClass("hide")):(e.height(t),n.removeClass("hide"))},closePopup:function(){var e=this.$el;e.addClass("hide"),$(".files",e).empty()},setFileInput:function(){var e=this.dirView,t=e.dir,n=this.$el;t.user_perm&&t.user_perm=="rw"&&n.fileupload("option","fileInput",e.$("#upload-file input"));if(!app.pageOptions.enable_upload_folder)return;var r=e.$("#upload-file"),i=e.$("#upload-menu");t.user_perm&&t.user_perm=="rw"&&"webkitdirectory"in $('input[type="file"]',r)[0]&&(r.find("input").remove().end().addClass("cspt"),$(".item",i).click(function(){n.fileupload("option","fileInput",$('input[type="file"]',$(this)))}).hover(function(){$(this).css({background:"#f3f3f3"})},function(){$(this).css({background:"transparent"})}),r.click(function(){i.toggleClass("hide"),i.css({left:r.position().left,top:parseInt(e.$(".repo-op").css("padding-top"))+r.outerHeight(!0)})}))}});return r}),define("app/views/dir",["jquery","jquery.ui.progressbar","jquery.magnific-popup","simplemodal","underscore","backbone","common","file-tree","app/collections/dirents","app/views/dirent","app/views/fileupload","app/views/share"],function(e,t,n,r,i,s,o,u,a,f,l,c){var h=s.View.extend({el:e("#dir-view"),path_bar_template:i.template(e("#dir-path-bar-tmpl").html()),dir_op_bar_template:i.template(e("#dir-op-bar-tmpl").html()),dirents_hd_template:i.template(e("#dirents-hd-tmpl").html()),newDirTemplate:i.template(e("#add-new-dir-form-template").html()),newFileTemplate:i.template(e("#add-new-file-form-template").html()),mvcpTemplate:i.template(e("#mvcp-form-template").html()),mvProgressTemplate:i.template(e("#mv-progress-popup-template").html()),initialize:function(t){this.$dirent_list=this.$(".repo-file-list tbody"),this.$path_bar=this.$(".path"),this.$dir_op_bar=this.$(".repo-op"),this.dir=new a,this.listenTo(this.dir,"add",this.addOne),this.listenTo(this.dir,"reset",this.reset),this.fileUploadView=new l({dirView:this}),this.$el.magnificPopup({type:"image",delegate:".img-name-link",tClose:gettext("Close (Esc)"),tLoading:gettext("Loading..."),gallery:{enabled:!0,tPrev:gettext("Previous (Left arrow key)"),tNext:gettext("Next (Right arrow key)"),tCounter:gettext("%curr% of %total%")},image:{titleSrc:function(e){var t=e.el,n=t[0].innerHTML,r=''+gettext("Open in New Tab")+"";return n+"
                            "+r},tError:gettext('The image could not be loaded.')}});var n=this;e(window).scroll(function(){e(n.el).is(":visible")&&n.onWindowScroll()}),app.globalState.noFileOpPopup=!0,e(document).click(function(t){var n=t.target||event.srcElement,r=e(".hidden-op");!app.globalState.noFileOpPopup&&!e(".more-op-icon, .hidden-op").is(n)&&!r.find("*").is(n)&&(r.addClass("hide"),app.globalState.noFileOpPopup=!0,app.globalState.popup_tr.find("*").is(n)||(app.globalState.popup_tr.removeClass("hl").find(".repo-file-op").addClass("vh"),e(".repo-file-list tr:gt(0)").each(function(){e(this).find("*").is(n)&&e(this).addClass("hl").find(".repo-file-op").removeClass("vh")})))})},showDir:function(t,n,r){this.$el.show(),this.$dirent_list.empty();var i=this.$(".loading-tip").show(),s=this.dir;s.setPath(t,n,r);var u=this;s.fetch({reset:!0,data:{p:r},success:function(e,t,n){s.last_start=0,(t.dirent_list.length==0||!t.dirent_more)&&i.hide()},error:function(s,a,f){i.hide();var l=u.$(".repo-file-list-topbar, .repo-file-list").hide(),c=u.$(".error"),h,p=!1;a.responseText?a.responseJSON.lib_need_decrypt?p=!0:h=a.responseJSON.error:h=gettext("Please check the network."),h&&c.html(h).show();if(p){var d=e(e("#repo-decrypt-form-template").html()),v=!1;d.modal({containerCss:{padding:"1px"},onClose:function(){e.modal.close(),l.show(),v||app.router.navigate(t+"/",{trigger:!0})}}),e("#simplemodal-container").css({height:"auto"}),d.submit(function(){var i=e.trim(e('[name="password"]',d).val());return i?(o.ajaxPost({form:d,form_id:d.attr("id"),post_url:o.getUrl({name:"repo_set_password"}),post_data:{repo_id:n,password:i,username:app.pageOptions.username},after_op_success:function(){v=!0,e.modal.close(),u.showDir(t,n,r)}}),!1):(e(".error",d).html(gettext("Password is required.")).removeClass("hide"),!1)})}}})},hide:function(){this.$el.hide()},addOne:function(e){var t=new f({model:e,dirView:this});this.$dirent_list.append(t.render().el)},reset:function(){this.dir.each(this.addOne,this),this.renderPath(),this.renderDirOpBar(),this.renderDirentsHd(),this.fileUploadView.setFileInput(),this.getImageThumbnail()},getImageThumbnail:function(){var t=this.dir.filter(function(e){return e.get("is_img")&&!e.get("thumbnail_src")});if(t.length==0)return;var n=t.length,r=this.dir.repo_id,i=this.dir.path,s=this,u=function(a){var f=t[a],l=o.pathJoin([i,f.get("obj_name")]);e.ajax({url:o.getUrl({name:"thumbnail_create",repo_id:r}),data:{path:l},cache:!1,dataType:"json",success:function(e){f.set({thumbnail_src:e.thumbnail_src})},complete:function(){a'+gettext("Processing...")+"

                            ");var r=t.where({selected:!0}),i=[];e(r).each(function(){i.push(this.get("obj_name"))}),e.ajax({url:o.getUrl({name:"del_dirents",repo_id:t.repo_id})+"?parent_dir="+encodeURIComponent(t.path),type:"POST",dataType:"json",beforeSend:o.prepareCSRFToken,traditional:!0,data:{dirents_names:i},success:function(s){var u=s.deleted.length,a=s.undeleted.length,f,l;u>0&&(u==i.length?(t.remove(r),n.$("th .checkbox").removeClass("checkbox-checked"),n.$("#multi-dirents-op").hide()):e(r).each(function(){s["deleted"].indexOf(this.get("obj_name"))!=-1&&t.remove(this)}),u==1?f=gettext("Successfully deleted %(name)s."):u==2?f=gettext("Successfully deleted %(name)s and 1 other item."):f=gettext("Successfully deleted %(name)s and %(amount)s other items."),f=f.replace("%(name)s",o.HTMLescape(s.deleted[0])).replace("%(amount)s",u-1),o.feedback(f,"success")),a>0&&(a==1?l=gettext("Failed to delete %(name)s."):a==2?l=gettext("Failed to delete %(name)s and 1 other item."):l=gettext("Failed to delete %(name)s and %(amount)s other items."),l=l.replace("%(name)s",o.HTMLescape(s.undeleted[0])).replace("%(amount)s",a-1),o.feedback(l,"error")),e.modal.close()},error:function(t,n,r){e.modal.close(),o.ajaxErrorHandler(t,n,r)}})};o.showConfirm(gettext("Delete Items"),gettext("Are you sure you want to delete these selected items?"),r)},mv:function(){this.mvcp({op:"mv"})},cp:function(){this.mvcp({op:"cp"})},mvcp:function(t){var n=this.dir,r=t.op,i=r=="mv"?"Move selected item(s) to:":"Copy selected item(s) to:",s=e(this.mvcpTemplate({form_title:i,op_type:r,obj_type:"",obj_name:"",show_other_repos:!n.encrypted}));s.modal({appendTo:"#main",autoResize:!0,focus:!1}),e("#simplemodal-container").css({width:"auto",height:"auto"}),u.renderTreeForPath({repo_name:n.repo_name,repo_id:n.repo_id,path:n.path}),n.encrypted||u.prepareOtherReposTree({cur_repo_id:n.repo_id});var a=this,f=this.dir,l=f.where({is_dir:!0,selected:!0}),c=f.where({is_file:!0,selected:!0}),h=[],p=[];e(l).each(function(){h.push(this.get("obj_name"))}),e(c).each(function(){p.push(this.get("obj_name"))}),s.submit(function(){var t=e('[name="dst_repo"]',s).val(),n=e('[name="dst_path"]',s).val(),i,u=f.path,d={repo_id:f.repo_id};if(!e.trim(t)||!e.trim(n))return e(".error",s).removeClass("hide"),!1;if(t==f.repo_id&&n==u)return e(".error",s).html(gettext("Invalid destination path")).removeClass("hide"),!1;o.disableButton(e('[type="submit"]',s)),s.append('

                            '+gettext("Processing...")+"

                            ");if(t==f.repo_id)d.name=r=="mv"?"mv_dirents":"cp_dirents",e.ajax({url:o.getUrl(d)+"?parent_dir="+encodeURIComponent(u),type:"POST",dataType:"json",beforeSend:o.prepareCSRFToken,traditional:!0,data:{file_names:p,dir_names:h,dst_repo:t,dst_path:n},success:function(t){var n=t.success.length,i,s,u=t.url;e.modal.close(),n>0&&(r=="mv"?(n==c.length+l.length?(f.remove(l),f.remove(c),a.$("th .checkbox").removeClass("checkbox-checked"),a.$("#multi-dirents-op").hide()):(e(l).each(function(){this.get("obj_name")in t.success&&f.remove(this)}),e(c).each(function(){this.get("obj_name")in t.success&&f.remove(this)})),n==1?i=gettext("Successfully moved %(name)s."):n==2?i=gettext("Successfully moved %(name)s and 1 other item."):i=gettext("Successfully moved %(name)s and %(amount)s other items.")):n==1?i=gettext("Successfully copied %(name)s."):n==2?i=gettext("Successfully copied %(name)s and 1 other item."):i=gettext("Successfully copied %(name)s and %(amount)s other items."),i=i.replace("%(name)s",o.HTMLescape(t.success[0])).replace("%(amount)s",n-1),o.feedback(i,"success")),t.failed.length>0&&(r=="mv"?t.failed.length>1?s=gettext("Internal error. Failed to move %(name)s and %(amount)s other item(s)."):s=gettext("Internal error. Failed to move %(name)s."):t.failed.length>1?s=gettext("Internal error. Failed to copy %(name)s and %(amount)s other item(s)."):s=gettext("Internal error. Failed to copy %(name)s."),s=s.replace("%(name)s",o.HTMLescape(t.failed[0])).replace("%(amount)s",t.failed.length-1),o.feedback(s,"error"))},error:function(t,n,r){e.modal.close(),o.ajaxErrorHandler(t,n,r)}});else{var v=f.where({selected:!0}),m=0,g=e(a.mvProgressTemplate()),y=e("#mv-details",g),b=e("#cancel-mv",g),w=e("#mv-other-info",g),E=function(){var i=v[m],a=i.get("is_dir")?"dir":"file",l=i.get("obj_name"),c,h;r=="mv"?d.name=a=="dir"?"mv_dir":"mv_file":d.name=a=="dir"?"cp_dir":"cp_file",c=o.getUrl(d)+"?path="+encodeURIComponent(u)+"&obj_name="+encodeURIComponent(l),h={dst_repo:t,dst_path:n};var p=function(t){var n=r=="mv"?gettext("Moving file %(index)s of %(total)s"):gettext("Copying file %(index)s of %(total)s");y.html(n.replace("%(index)s",m+1).replace("%(total)s",v.length)).removeClass("vh"),b.removeClass("hide");var s=function(){var n=t.task_id;b.data("task_id",n),e.ajax({url:o.getUrl({name:"get_cp_progress"})+"?task_id="+encodeURIComponent(n),dataType:"json",success:function(t){var n=e(".ui-progressbar-value",e("#mv-progress"));if(!t.failed&&!t.canceled&&!t.successful)setTimeout(s,1e3);else if(t.successful)n.css("width",parseInt((m+1)/v.length*100,10)+"%").show(),r=="mv"&&f.remove(i),S();else if(t.failed){var u=r=="mv"?gettext("Failed to move %(name)s"):gettext("Failed to copy %(name)s");b.after('

                            '+u.replace("%(name)s",o.HTMLescape(l))+"

                            "),x()}},error:function(t,n,r){var i;t.responseText?i=e.parseJSON(t.responseText).error:i=gettext("Failed. Please check the network."),b.after('

                            '+i+"

                            "),x()}})};m==0?(e.modal.close(),setTimeout(function(){g.modal({containerCss:{width:300,height:150,paddingTop:50},focus:!1}),e("#mv-progress").progressbar(),s()},100)):s()};o.ajaxPost({form:s,post_url:c,post_data:h,after_op_success:p,form_id:s.attr("id")})},S=function(){m==v.length-1?setTimeout(function(){e.modal.close()},500):E(++m)},x=function(){setTimeout(function(){e.modal.close()},500)};E(),b.click(function(){o.disableButton(b);var t=e(this).data("task_id");e.ajax({url:o.getUrl({name:"cancel_cp"})+"?task_id="+encodeURIComponent(t),dataType:"json",success:function(e){w.html(gettext("Canceled.")).removeClass("hide"),b.addClass("hide"),x()},error:function(t,n,r){var i;t.responseText?i=e.parseJSON(t.responseText).error:i=gettext("Failed. Please check the network."),w.html(i).removeClass("hide"),o.enableButton(b)}})})}return!1})},onWindowScroll:function(){var t=this.dir,n=t.more_start;if(t.dirent_more&&e(window).scrollTop()+e(window).height()>e(document).height()-e("#footer").outerHeight(!0)&&n!=t.last_start){var r=this.$(".loading-tip"),i=this;t.last_start=n,t.fetch({remove:!1,data:{p:t.path,start:t.more_start},success:function(e,t,n){t.dirent_more||r.hide(),i.getImageThumbnail()},error:function(e,t,n){r.hide(),o.ajaxErrorHandler(e,t,n)}})}var s=this.$dir_op_bar,u=this.$path_bar,a=this.$(".repo-file-list"),f=u.offset().top+u.outerHeight(!0),l={position:"fixed",top:0,left:u.offset().left,"z-index":12};e(window).scrollTop()>=f?(a.css({"margin-top":s.outerHeight(!0)}),s.outerWidth(this.$el.width()).css(l)):(a.css({"margin-top":0}),s.removeAttr("style"))}});return h}),define("app/views/top-group-nav",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({el:".nav .nav-item-group",popupTemplate:t.template(e("#top-group-nav-tmpl").html()),initialize:function(){var t=e(this.popupTemplate({groups:app.pageOptions.top_nav_groups}));this.$el.append(t),t.css({right:(e("#top-nav-grp").outerWidth()-t.outerWidth())/6*5}),this.popup=t},events:{mouseenter:"showPopup",mouseleave:"hidePopup","mouseenter #top-nav-grp-list .item":"highlightGroupItem","mouseleave #top-nav-grp-list .item":"rmHighlightGroupItem","click #top-nav-grp-list .item":"visitGroup"},showPopup:function(e){this.popup.removeClass("hide")},hidePopup:function(e){this.popup.addClass("hide")},highlightGroupItem:function(t){e(t.currentTarget).addClass("hl").children(".a").removeClass("vh")},rmHighlightGroupItem:function(t){e(t.currentTarget).removeClass("hl").children(".a").addClass("vh")},visitGroup:function(t){this.hidePopup(t),location.href=e(t.currentTarget).attr("data-url")}});return i}),define("app/router",["jquery","backbone","common","app/views/myhome","app/views/group","app/views/organization","app/views/dir","app/views/top-group-nav"],function(e,t,n,r,i,s,o,u){var a=t.Router.extend({routes:{"":"showRepos","my-libs/":"showMyRepos","my-libs/lib/:repo_id(/*path)":"showMyRepoDir","my-sub-libs/":"showMySubRepos","my-sub-libs/lib/:repo_id(/*path)":"showMySubRepoDir","shared-libs/":"showSharedRepos","shared-libs/lib/:repo_id(/*path)":"showSharedRepoDir","group/:group_id/":"showGroupRepos","group/:group_id/lib/:repo_id(/*path)":"showGroupRepoDir","org/":"showOrgRepos","org/lib/:repo_id(/*path)":"showOrgRepoDir","common/lib/:repo_id(/*path)":"showCommonDir","starred/":"showStarredFile","*actions":"showRepos"},initialize:function(){n.prepareApiCsrf(),n.initAccountPopup(),n.initNoticePopup(),this.dirView=new o,this.myHomeView=new r({dirView:this.dirView}),this.groupView=new i({dirView:this.dirView}),this.orgView=new s({dirView:this.dirView}),this.currentView=this.myHomeView,app.pageOptions.top_nav_groups.length>0&&(this.topGroupNavView=new u),e("#info-bar .close").click(n.closeTopNoticeBar),e("#top-browser-tip .close").click(function(){e("#top-browser-tip").addClass("hide")})},switchCurrentView:function(e){this.currentView!=e&&(this.currentView.hide(),this.currentView=e)},showRepos:function(){this.switchCurrentView(this.myHomeView),app.pageOptions.can_add_repo?this.myHomeView.showMyRepos():this.myHomeView.showSharedRepos()},showMyRepos:function(){this.switchCurrentView(this.myHomeView),this.myHomeView.showMyRepos()},showMySubRepos:function(){this.switchCurrentView(this.myHomeView),this.myHomeView.showMySubRepos()},showSharedRepos:function(){this.switchCurrentView(this.myHomeView),this.myHomeView.showSharedRepos()},showStarredFile:function(){this.switchCurrentView(this.myHomeView),this.myHomeView.showStarredFile()},showMyRepoDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.myHomeView),this.myHomeView.showDir("my-libs",e,t)},showCommonDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.myHomeView),this.myHomeView.showDir("common",e,t)},showMySubRepoDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.myHomeView),this.myHomeView.showDir("my-sub-libs",e,t)},showSharedRepoDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.myHomeView),this.myHomeView.showDir("shared-libs",e,t)},showGroupRepos:function(e){this.switchCurrentView(this.groupView),this.groupView.showRepoList(e)},showGroupRepoDir:function(e,t,n){n?n="/"+n:n="/",this.switchCurrentView(this.groupView),this.groupView.showDir(e,t,n)},showOrgRepos:function(){this.switchCurrentView(this.orgView),this.orgView.showRepoList()},showOrgRepoDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.orgView),this.orgView.showDir(e,t)}});return a}),define("app/main",["app/router"],function(e){app.router=new e,Backbone.history.start()}),require(["./common"],function(e){require(["app/main"])}),define("main",function(){}); \ No newline at end of file diff --git a/media/assets/scripts/dist/main.js b/media/assets/scripts/dist/main.js index 45bbf4e91f..f4b67b19c9 100644 --- a/media/assets/scripts/dist/main.js +++ b/media/assets/scripts/dist/main.js @@ -202,4 +202,4 @@ the specific language governing permissions and limitations under the Apache Lic * http://www.opensource.org/licenses/MIT */ -(function(e,t){typeof module=="object"&&typeof module.exports=="object"?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)})(typeof window!="undefined"?window:this,function(e,t){function g(e){var t=e.length,n=h.type(e);return n==="function"||h.isWindow(e)?!1:e.nodeType===1&&t?!0:n==="array"||t===0||typeof t=="number"&&t>0&&t-1 in e}function S(e,t,n){if(h.isFunction(t))return h.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return h.grep(e,function(e){return e===t!==n});if(typeof t=="string"){if(E.test(t))return h.filter(t,e,n);t=h.filter(t,e)}return h.grep(e,function(e){return h.inArray(e,t)>=0!==n})}function A(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function _(e){var t=M[e]={};return h.each(e.match(O)||[],function(e,n){t[n]=!0}),t}function P(){T.addEventListener?(T.removeEventListener("DOMContentLoaded",H,!1),e.removeEventListener("load",H,!1)):(T.detachEvent("onreadystatechange",H),e.detachEvent("onload",H))}function H(){if(T.addEventListener||event.type==="load"||T.readyState==="complete")P(),h.ready()}function q(e,t,n){if(n===undefined&&e.nodeType===1){var r="data-"+t.replace(I,"-$1").toLowerCase();n=e.getAttribute(r);if(typeof n=="string"){try{n=n==="true"?!0:n==="false"?!1:n==="null"?null:+n+""===n?+n:F.test(n)?h.parseJSON(n):n}catch(i){}h.data(e,t,n)}else n=undefined}return n}function R(e){var t;for(t in e){if(t==="data"&&h.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function U(e,t,r,i){if(!h.acceptData(e))return;var s,o,u=h.expando,a=e.nodeType,f=a?h.cache:e,l=a?e[u]:e[u]&&u;if((!l||!f[l]||!i&&!f[l].data)&&r===undefined&&typeof t=="string")return;l||(a?l=e[u]=n.pop()||h.guid++:l=u),f[l]||(f[l]=a?{}:{toJSON:h.noop});if(typeof t=="object"||typeof t=="function")i?f[l]=h.extend(f[l],t):f[l].data=h.extend(f[l].data,t);return o=f[l],i||(o.data||(o.data={}),o=o.data),r!==undefined&&(o[h.camelCase(t)]=r),typeof t=="string"?(s=o[t],s==null&&(s=o[h.camelCase(t)])):s=o,s}function z(e,t,n){if(!h.acceptData(e))return;var r,i,s=e.nodeType,o=s?h.cache:e,u=s?e[h.expando]:h.expando;if(!o[u])return;if(t){r=n?o[u]:o[u].data;if(r){h.isArray(t)?t=t.concat(h.map(t,h.camelCase)):t in r?t=[t]:(t=h.camelCase(t),t in r?t=[t]:t=t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!R(r):!h.isEmptyObject(r))return}}if(!n){delete o[u].data;if(!R(o[u]))return}s?h.cleanData([e],!0):l.deleteExpando||o!=o.window?delete o[u]:o[u]=null}function et(){return!0}function tt(){return!1}function nt(){try{return T.activeElement}catch(e){}}function rt(e){var t=it.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function wt(e,t){var n,r,i=0,s=typeof e.getElementsByTagName!==B?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==B?e.querySelectorAll(t||"*"):undefined;if(!s)for(s=[],n=e.childNodes||e;(r=n[i])!=null;i++)!t||h.nodeName(r,t)?s.push(r):h.merge(s,wt(r,t));return t===undefined||t&&h.nodeName(e,t)?h.merge([e],s):s}function Et(e){J.test(e.type)&&(e.defaultChecked=e.checked)}function St(e,t){return h.nodeName(e,"table")&&h.nodeName(t.nodeType!==11?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function xt(e){return e.type=(h.find.attr(e,"type")!==null)+"/"+e.type,e}function Tt(e){var t=vt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Nt(e,t){var n,r=0;for(;(n=e[r])!=null;r++)h._data(n,"globalEval",!t||h._data(t[r],"globalEval"))}function Ct(e,t){if(t.nodeType!==1||!h.hasData(e))return;var n,r,i,s=h._data(e),o=h._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r")).appendTo(t.documentElement),t=(Lt[0].contentWindow||Lt[0].contentDocument).document,t.write(),t.close(),n=Ot(e,t),Lt.detach();At[e]=n}return n}function jt(e,t){return{get:function(){var n=e();if(n==null)return;if(n){delete this.get;return}return(this.get=t).apply(this,arguments)}}}function Vt(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Xt.length;while(i--){t=Xt[i]+n;if(t in e)return t}return r}function $t(e,t){var n,r,i,s=[],o=0,u=e.length;for(;o=0&&n=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||h.type(e)!=="object"||e.nodeType||h.isWindow(e))return!1;try{if(e.constructor&&!f.call(e,"constructor")&&!f.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(l.ownLast)for(t in e)return f.call(e,t);for(t in e);return t===undefined||f.call(e,t)},type:function(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?u[a.call(e)]||"object":typeof e},globalEval:function(t){t&&h.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(d,"ms-").replace(v,m)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,s=e.length,o=g(e);if(n)if(o)for(;ir.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function at(e){return e[w]=!0,e}function ft(e){var t=p.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function lt(e,t){var n=e.split("|"),i=e.length;while(i--)r.attrHandle[n[i]]=t}function ct(e,t){var n=t&&e,r=n&&e.nodeType===1&&t.nodeType===1&&(~t.sourceIndex||L)-(~e.sourceIndex||L);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ht(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function pt(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function dt(e){return at(function(t){return t=+t,at(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function vt(e){return e&&typeof e.getElementsByTagName!="undefined"&&e}function mt(){}function gt(e){var t=0,n=e.length,r="";for(;t1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function wt(e,t,n){var r=0,i=t.length;for(;r-1&&(s[f]=!(o[f]=c))}}else g=Et(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):D.apply(o,g)})}function xt(e){var t,n,i,s=e.length,o=r.relative[e[0].type],u=o||r.relative[" "],a=o?1:0,l=yt(function(e){return e===t},u,!0),c=yt(function(e){return H(t,e)>-1},u,!0),h=[function(e,n,r){var i=!o&&(r||n!==f)||((t=n).nodeType?l(e,n,r):c(e,n,r));return t=null,i}];for(;a1&&bt(h),a>1&>(e.slice(0,a-1).concat({value:e[a-2].type===" "?"*":""})).replace(z,"$1"),n,a0,i=e.length>0,s=function(s,o,u,a,l){var c,h,d,v=0,m="0",g=s&&[],y=[],b=f,w=s||i&&r.find.TAG("*",l),E=S+=b==null?1:Math.random()||.1,x=w.length;l&&(f=o!==p&&o);for(;m!==x&&(c=w[m])!=null;m++){if(i&&c){h=0;while(d=e[h++])if(d(c,o,u)){a.push(c);break}l&&(S=E)}n&&((c=!d&&c)&&v--,s&&g.push(c))}v+=m;if(n&&m!==v){h=0;while(d=t[h++])d(g,y,o,u);if(s){if(v>0)while(m--)!g[m]&&!y[m]&&(y[m]=M.call(a));y=Et(y)}D.apply(a,y),l&&!s&&y.length>0&&v+t.length>1&&ot.uniqueSort(a)}return l&&(S=E,f=b),g};return n?at(s):s}var t,n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b,w="sizzle"+1*new Date,E=e.document,S=0,x=0,T=ut(),N=ut(),C=ut(),k=function(e,t){return e===t&&(c=!0),0},L=1<<31,A={}.hasOwnProperty,O=[],M=O.pop,_=O.push,D=O.push,P=O.slice,H=function(e,t){var n=0,r=e.length;for(;n+~]|"+j+")"+j+"*"),V=new RegExp("="+j+"*([^\\]'\"]*?)"+j+"*\\]","g"),$=new RegExp(R),J=new RegExp("^"+I+"$"),K={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F.replace("w","w*")+")"),ATTR:new RegExp("^"+q),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+B+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/[+~]/,tt=/'|\\/g,nt=new RegExp("\\\\([\\da-f]{1,6}"+j+"?|("+j+")|.)","ig"),rt=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)},it=function(){h()};try{D.apply(O=P.call(E.childNodes),E.childNodes),O[E.childNodes.length].nodeType}catch(st){D={apply:O.length?function(e,t){_.apply(e,P.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}n=ot.support={},s=ot.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},h=ot.setDocument=function(e){var t,i,o=e?e.ownerDocument||e:E;if(o===p||o.nodeType!==9||!o.documentElement)return p;p=o,d=o.documentElement,i=o.defaultView,i&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",it,!1):i.attachEvent&&i.attachEvent("onunload",it)),v=!s(o),n.attributes=ft(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ft(function(e){return e.appendChild(o.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Y.test(o.getElementsByClassName),n.getById=ft(function(e){return d.appendChild(e).id=w,!o.getElementsByName||!o.getElementsByName(w).length}),n.getById?(r.find.ID=function(e,t){if(typeof t.getElementById!="undefined"&&v){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},r.filter.ID=function(e){var t=e.replace(nt,rt);return function(e){return e.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(e){var t=e.replace(nt,rt);return function(e){var n=typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id");return n&&n.value===t}}),r.find.TAG=n.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!="undefined")return t.getElementsByTagName(e);if(n.qsa)return t.querySelectorAll(e)}:function(e,t){var n,r=[],i=0,s=t.getElementsByTagName(e);if(e==="*"){while(n=s[i++])n.nodeType===1&&r.push(n);return r}return s},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(v)return t.getElementsByClassName(e)},g=[],m=[];if(n.qsa=Y.test(o.querySelectorAll))ft(function(e){d.appendChild(e).innerHTML=""+"",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+j+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+j+"*(?:value|"+B+")"),e.querySelectorAll("[id~="+w+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||m.push(".#.+[+~]")}),ft(function(e){var t=o.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+j+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")});return(n.matchesSelector=Y.test(y=d.matches||d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ft(function(e){n.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),g.push("!=",R)}),m=m.length&&new RegExp(m.join("|")),g=g.length&&new RegExp(g.join("|")),t=Y.test(d.compareDocumentPosition),b=t||Y.test(d.contains)?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!r&&r.nodeType===1&&!!(n.contains?n.contains(r):e.compareDocumentPosition&&e.compareDocumentPosition(r)&16)}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},k=t?function(e,t){if(e===t)return c=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,r&1||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===o||e.ownerDocument===E&&b(E,e)?-1:t===o||t.ownerDocument===E&&b(E,t)?1:l?H(l,e)-H(l,t):0:r&4?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,s=t.parentNode,u=[e],a=[t];if(!i||!s)return e===o?-1:t===o?1:i?-1:s?1:l?H(l,e)-H(l,t):0;if(i===s)return ct(e,t);n=e;while(n=n.parentNode)u.unshift(n);n=t;while(n=n.parentNode)a.unshift(n);while(u[r]===a[r])r++;return r?ct(u[r],a[r]):u[r]===E?-1:a[r]===E?1:0},o},ot.matches=function(e,t){return ot(e,null,null,t)},ot.matchesSelector=function(e,t){(e.ownerDocument||e)!==p&&h(e),t=t.replace(V,"='$1']");if(n.matchesSelector&&v&&(!g||!g.test(t))&&(!m||!m.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&e.document.nodeType!==11)return r}catch(i){}return ot(t,p,null,[e]).length>0},ot.contains=function(e,t){return(e.ownerDocument||e)!==p&&h(e),b(e,t)},ot.attr=function(e,t){(e.ownerDocument||e)!==p&&h(e);var i=r.attrHandle[t.toLowerCase()],s=i&&A.call(r.attrHandle,t.toLowerCase())?i(e,t,!v):undefined;return s!==undefined?s:n.attributes||!v?e.getAttribute(t):(s=e.getAttributeNode(t))&&s.specified?s.value:null},ot.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ot.uniqueSort=function(e){var t,r=[],i=0,s=0;c=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(k);if(c){while(t=e[s++])t===e[s]&&(i=r.push(s));while(i--)e.splice(r[i],1)}return l=null,e},i=ot.getText=function(e){var t,n="",r=0,s=e.nodeType;if(!s)while(t=e[r++])n+=i(t);else if(s===1||s===9||s===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(s===3||s===4)return e.nodeValue;return n},r=ot.selectors={cacheLength:50,createPseudo:at,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(nt,rt),e[3]=(e[3]||e[4]||e[5]||"").replace(nt,rt),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1].slice(0,3)==="nth"?(e[3]||ot.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd")),e[5]=+(e[7]+e[8]||e[3]==="odd")):e[3]&&ot.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&$.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(nt,rt).toLowerCase();return e==="*"?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=T[e+" "];return t||(t=new RegExp("(^|"+j+")"+e+"("+j+"|$)"))&&T(e,function(e){return t.test(typeof e.className=="string"&&e.className||typeof e.getAttribute!="undefined"&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=ot.attr(r,e);return i==null?t==="!=":t?(i+="",t==="="?i===n:t==="!="?i!==n:t==="^="?n&&i.indexOf(n)===0:t==="*="?n&&i.indexOf(n)>-1:t==="$="?n&&i.slice(-n.length)===n:t==="~="?(" "+i.replace(U," ")+" ").indexOf(n)>-1:t==="|="?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var s=e.slice(0,3)!=="nth",o=e.slice(-4)!=="last",u=t==="of-type";return r===1&&i===0?function(e){return!!e.parentNode}:function(t,n,a){var f,l,c,h,p,d,v=s!==o?"nextSibling":"previousSibling",m=t.parentNode,g=u&&t.nodeName.toLowerCase(),y=!a&&!u;if(m){if(s){while(v){c=t;while(c=c[v])if(u?c.nodeName.toLowerCase()===g:c.nodeType===1)return!1;d=v=e==="only"&&!d&&"nextSibling"}return!0}d=[o?m.firstChild:m.lastChild];if(o&&y){l=m[w]||(m[w]={}),f=l[e]||[],p=f[0]===S&&f[1],h=f[0]===S&&f[2],c=p&&m.childNodes[p];while(c=++p&&c&&c[v]||(h=p=0)||d.pop())if(c.nodeType===1&&++h&&c===t){l[e]=[S,p,h];break}}else if(y&&(f=(t[w]||(t[w]={}))[e])&&f[0]===S)h=f[1];else while(c=++p&&c&&c[v]||(h=p=0)||d.pop())if((u?c.nodeName.toLowerCase()===g:c.nodeType===1)&&++h){y&&((c[w]||(c[w]={}))[e]=[S,h]);if(c===t)break}return h-=i,h===r||h%r===0&&h/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ot.error("unsupported pseudo: "+e);return i[w]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?at(function(e,n){var r,s=i(e,t),o=s.length;while(o--)r=H(e,s[o]),e[r]=!(n[r]=s[o])}):function(e){return i(e,0,n)}):i}},pseudos:{not:at(function(e){var t=[],n=[],r=u(e.replace(z,"$1"));return r[w]?at(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),t[0]=null,!n.pop()}}),has:at(function(e){return function(t){return ot(e,t).length>0}}),contains:at(function(e){return e=e.replace(nt,rt),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:at(function(e){return J.test(e||"")||ot.error("unsupported lang: "+e),e=e.replace(nt,rt).toLowerCase(),function(t){var n;do if(n=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||n.indexOf(e+"-")===0;while((t=t.parentNode)&&t.nodeType===1);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return G.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},text:function(e){var t;return e.nodeName.toLowerCase()==="input"&&e.type==="text"&&((t=e.getAttribute("type"))==null||t.toLowerCase()==="text")},first:dt(function(){return[0]}),last:dt(function(e,t){return[t-1]}),eq:dt(function(e,t,n){return[n<0?n+t:n]}),even:dt(function(e,t){var n=0;for(;n=0;)e.push(r);return e}),gt:dt(function(e,t,n){var r=n<0?n+t:n;for(;++r2&&(l=f[0]).type==="ID"&&n.getById&&t.nodeType===9&&v&&r.relative[f[1].type]){t=(r.find.ID(l.matches[0].replace(nt,rt),t)||[])[0];if(!t)return i;p&&(t=t.parentNode),e=e.slice(f.shift().value.length)}a=K.needsContext.test(e)?0:f.length;while(a--){l=f[a];if(r.relative[c=l.type])break;if(h=r.find[c])if(s=h(l.matches[0].replace(nt,rt),et.test(f[0].type)&&vt(t.parentNode)||t)){f.splice(a,1),e=s.length&>(f);if(!e)return D.apply(i,s),i;break}}}return(p||u(e,d))(s,t,!v,i,et.test(e)&&vt(t.parentNode)||t),i},n.sortStable=w.split("").sort(k).join("")===w,n.detectDuplicates=!!c,h(),n.sortDetached=ft(function(e){return e.compareDocumentPosition(p.createElement("div"))&1}),ft(function(e){return e.innerHTML="",e.firstChild.getAttribute("href")==="#"})||lt("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,t.toLowerCase()==="type"?1:2)}),(!n.attributes||!ft(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),e.firstChild.getAttribute("value")===""}))&<("value",function(e,t,n){if(!n&&e.nodeName.toLowerCase()==="input")return e.defaultValue}),ft(function(e){return e.getAttribute("disabled")==null})||lt(B,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),ot}(e);h.find=y,h.expr=y.selectors,h.expr[":"]=h.expr.pseudos,h.unique=y.uniqueSort,h.text=y.getText,h.isXMLDoc=y.isXML,h.contains=y.contains;var b=h.expr.match.needsContext,w=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^.[^:#\[\.,]*$/;h.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),t.length===1&&r.nodeType===1?h.find.matchesSelector(r,e)?[r]:[]:h.find.matches(e,h.grep(t,function(e){return e.nodeType===1}))},h.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if(typeof e!="string")return this.pushStack(h(e).filter(function(){for(t=0;t1?h.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(S(this,e||[],!1))},not:function(e){return this.pushStack(S(this,e||[],!0))},is:function(e){return!!S(this,typeof e=="string"&&b.test(e)?h(e):e||[],!1).length}});var x,T=e.document,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=h.fn.init=function(e,t){var n,r;if(!e)return this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?n=[null,e,null]:n=N.exec(e);if(n&&(n[1]||!t)){if(n[1]){t=t instanceof h?t[0]:t,h.merge(this,h.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:T,!0));if(w.test(n[1])&&h.isPlainObject(t))for(n in t)h.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}r=T.getElementById(n[2]);if(r&&r.parentNode){if(r.id!==n[2])return x.find(e);this.length=1,this[0]=r}return this.context=T,this.selector=e,this}return!t||t.jquery?(t||x).find(e):this.constructor(t).find(e)}return e.nodeType?(this.context=this[0]=e,this.length=1,this):h.isFunction(e)?typeof x.ready!="undefined"?x.ready(e):e(h):(e.selector!==undefined&&(this.selector=e.selector,this.context=e.context),h.makeArray(e,this))};C.prototype=h.fn,x=h(T);var k=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};h.extend({dir:function(e,t,n){var r=[],i=e[t];while(i&&i.nodeType!==9&&(n===undefined||i.nodeType!==1||!h(i).is(n)))i.nodeType===1&&r.push(i),i=i[t];return r},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}}),h.fn.extend({has:function(e){var t,n=h(e,this),r=n.length;return this.filter(function(){for(t=0;t-1:n.nodeType===1&&h.find.matchesSelector(n,e))){s.push(n);break}return this.pushStack(s.length>1?h.unique(s):s)},index:function(e){return e?typeof e=="string"?h.inArray(this[0],h(e)):h.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(h.unique(h.merge(this.get(),h(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),h.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return h.dir(e,"parentNode")},parentsUntil:function(e,t,n){return h.dir(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return h.dir(e,"nextSibling")},prevAll:function(e){return h.dir(e,"previousSibling")},nextUntil:function(e,t,n){return h.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return h.dir(e,"previousSibling",n)},siblings:function(e){return h.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return h.sibling(e.firstChild)},contents:function(e){return h.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:h.merge([],e.childNodes)}},function(e,t){h.fn[e]=function(n,r){var i=h.map(this,t,n);return e.slice(-5)!=="Until"&&(r=n),r&&typeof r=="string"&&(i=h.filter(r,i)),this.length>1&&(L[e]||(i=h.unique(i)),k.test(e)&&(i=i.reverse())),this.pushStack(i)}});var O=/\S+/g,M={};h.Callbacks=function(e){e=typeof e=="string"?M[e]||_(e):h.extend({},e);var t,n,r,i,s,o,u=[],a=!e.once&&[],f=function(c){n=e.memory&&c,r=!0,s=o||0,o=0,i=u.length,t=!0;for(;u&&s-1)u.splice(r,1),t&&(r<=i&&i--,r<=s&&s--)}),this},has:function(e){return e?h.inArray(e,u)>-1:!!u&&!!u.length},empty:function(){return u=[],i=0,this},disable:function(){return u=a=n=undefined,this},disabled:function(){return!u},lock:function(){return a=undefined,n||l.disable(),this},locked:function(){return!a},fireWith:function(e,n){return u&&(!r||a)&&(n=n||[],n=[e,n.slice?n.slice():n],t?a.push(n):f(n)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},h.extend({Deferred:function(e){var t=[["resolve","done",h.Callbacks("once memory"),"resolved"],["reject","fail",h.Callbacks("once memory"),"rejected"],["notify","progress",h.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return h.Deferred(function(n){h.each(t,function(t,s){var o=h.isFunction(e[t])&&e[t];i[s[1]](function(){var e=o&&o.apply(this,arguments);e&&h.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s[0]+"With"](this===r?n.promise():this,o?[e]:arguments)})}),e=null}).promise()},promise:function(e){return e!=null?h.extend(e,r):r}},i={};return r.pipe=r.then,h.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=function(){return i[s[0]+"With"](this===i?r:this,arguments),this},i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=r.call(arguments),i=n.length,s=i!==1||e&&h.isFunction(e.promise)?i:0,o=s===1?e:h.Deferred(),u=function(e,t,n){return function(i){t[e]=this,n[e]=arguments.length>1?r.call(arguments):i,n===a?o.notifyWith(t,n):--s||o.resolveWith(t,n)}},a,f,l;if(i>1){a=new Array(i),f=new Array(i),l=new Array(i);for(;t0)return;D.resolveWith(T,[h]),h.fn.triggerHandler&&(h(T).triggerHandler("ready"),h(T).off("ready"))}}),h.ready.promise=function(t){if(!D){D=h.Deferred();if(T.readyState==="complete")setTimeout(h.ready);else if(T.addEventListener)T.addEventListener("DOMContentLoaded",H,!1),e.addEventListener("load",H,!1);else{T.attachEvent("onreadystatechange",H),e.attachEvent("onload",H);var n=!1;try{n=e.frameElement==null&&T.documentElement}catch(r){}n&&n.doScroll&&function i(){if(!h.isReady){try{n.doScroll("left")}catch(e){return setTimeout(i,50)}P(),h.ready()}}()}}return D.promise(t)};var B=typeof undefined,j;for(j in h(l))break;l.ownLast=j!=="0",l.inlineBlockNeedsLayout=!1,h(function(){var e,t,n,r;n=T.getElementsByTagName("body")[0];if(!n||!n.style)return;t=T.createElement("div"),r=T.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),typeof t.style.zoom!==B&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",l.inlineBlockNeedsLayout=e=t.offsetWidth===3,e&&(n.style.zoom=1)),n.removeChild(r)}),function(){var e=T.createElement("div");if(l.deleteExpando==null){l.deleteExpando=!0;try{delete e.test}catch(t){l.deleteExpando=!1}}e=null}(),h.acceptData=function(e){var t=h.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return n!==1&&n!==9?!1:!t||t!==!0&&e.getAttribute("classid")===t};var F=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,I=/([A-Z])/g;h.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?h.cache[e[h.expando]]:e[h.expando],!!e&&!R(e)},data:function(e,t,n){return U(e,t,n)},removeData:function(e,t){return z(e,t)},_data:function(e,t,n){return U(e,t,n,!0)},_removeData:function(e,t){return z(e,t,!0)}}),h.fn.extend({data:function(e,t){var n,r,i,s=this[0],o=s&&s.attributes;if(e===undefined){if(this.length){i=h.data(s);if(s.nodeType===1&&!h._data(s,"parsedAttrs")){n=o.length;while(n--)o[n]&&(r=o[n].name,r.indexOf("data-")===0&&(r=h.camelCase(r.slice(5)),q(s,r,i[r])));h._data(s,"parsedAttrs",!0)}}return i}return typeof e=="object"?this.each(function(){h.data(this,e)}):arguments.length>1?this.each(function(){h.data(this,e,t)}):s?q(s,e,h.data(s,e)):undefined},removeData:function(e){return this.each(function(){h.removeData(this,e)})}}),h.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=h._data(e,t),n&&(!r||h.isArray(n)?r=h._data(e,t,h.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=h.queue(e,t),r=n.length,i=n.shift(),s=h._queueHooks(e,t),o=function(){h.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return h._data(e,n)||h._data(e,n,{empty:h.Callbacks("once memory").add(function(){h._removeData(e,t+"queue"),h._removeData(e,n)})})}}),h.fn.extend({queue:function(e,t){var n=2;return typeof e!="string"&&(t=e,e="fx",n--),arguments.length
                            a",l.leadingWhitespace=t.firstChild.nodeType===3,l.tbody=!t.getElementsByTagName("tbody").length,l.htmlSerialize=!!t.getElementsByTagName("link").length,l.html5Clone=T.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",e.type="checkbox",e.checked=!0,n.appendChild(e),l.appendChecked=e.checked,t.innerHTML="",l.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,n.appendChild(t),t.innerHTML="",l.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",function(){l.noCloneEvent=!1}),t.cloneNode(!0).click());if(l.deleteExpando==null){l.deleteExpando=!0;try{delete t.test}catch(r){l.deleteExpando=!1}}})(),function(){var t,n,r=T.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(l[t+"Bubbles"]=n in e)||(r.setAttribute(n,"t"),l[t+"Bubbles"]=r.attributes[n].expando===!1);r=null}();var K=/^(?:input|select|textarea)$/i,Q=/^key/,G=/^(?:mouse|pointer|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=/^([^.]*)(?:\.(.+)|)$/;h.event={global:{},add:function(e,t,n,r,i){var s,o,u,a,f,l,c,p,d,v,m,g=h._data(e);if(!g)return;n.handler&&(a=n,n=a.handler,i=a.selector),n.guid||(n.guid=h.guid++),(o=g.events)||(o=g.events={}),(l=g.handle)||(l=g.handle=function(e){return typeof h===B||!!e&&h.event.triggered===e.type?undefined:h.event.dispatch.apply(l.elem,arguments)},l.elem=e),t=(t||"").match(O)||[""],u=t.length;while(u--){s=Z.exec(t[u])||[],d=m=s[1],v=(s[2]||"").split(".").sort();if(!d)continue;f=h.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=h.event.special[d]||{},c=h.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&h.expr.match.needsContext.test(i),namespace:v.join(".")},a);if(!(p=o[d])){p=o[d]=[],p.delegateCount=0;if(!f.setup||f.setup.call(e,r,v,l)===!1)e.addEventListener?e.addEventListener(d,l,!1):e.attachEvent&&e.attachEvent("on"+d,l)}f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),h.event.global[d]=!0}e=null},remove:function(e,t,n,r,i){var s,o,u,a,f,l,c,p,d,v,m,g=h.hasData(e)&&h._data(e);if(!g||!(l=g.events))return;t=(t||"").match(O)||[""],f=t.length;while(f--){u=Z.exec(t[f])||[],d=m=u[1],v=(u[2]||"").split(".").sort();if(!d){for(d in l)h.event.remove(e,d+t[f],n,r,!0);continue}c=h.event.special[d]||{},d=(r?c.delegateType:c.bindType)||d,p=l[d]||[],u=u[2]&&new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=p.length;while(s--)o=p[s],(i||m===o.origType)&&(!n||n.guid===o.guid)&&(!u||u.test(o.namespace))&&(!r||r===o.selector||r==="**"&&o.selector)&&(p.splice(s,1),o.selector&&p.delegateCount--,c.remove&&c.remove.call(e,o));a&&!p.length&&((!c.teardown||c.teardown.call(e,v,g.handle)===!1)&&h.removeEvent(e,d,g.handle),delete l[d])}h.isEmptyObject(l)&&(delete g.handle,h._removeData(e,"events"))},trigger:function(t,n,r,i){var s,o,u,a,l,c,p,d=[r||T],v=f.call(t,"type")?t.type:t,m=f.call(t,"namespace")?t.namespace.split("."):[];u=c=r=r||T;if(r.nodeType===3||r.nodeType===8)return;if(Y.test(v+h.event.triggered))return;v.indexOf(".")>=0&&(m=v.split("."),v=m.shift(),m.sort()),o=v.indexOf(":")<0&&"on"+v,t=t[h.expando]?t:new h.Event(v,typeof t=="object"&&t),t.isTrigger=i?2:3,t.namespace=m.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=r),n=n==null?[t]:h.makeArray(n,[t]),l=h.event.special[v]||{};if(!i&&l.trigger&&l.trigger.apply(r,n)===!1)return;if(!i&&!l.noBubble&&!h.isWindow(r)){a=l.delegateType||v,Y.test(a+v)||(u=u.parentNode);for(;u;u=u.parentNode)d.push(u),c=u;c===(r.ownerDocument||T)&&d.push(c.defaultView||c.parentWindow||e)}p=0;while((u=d[p++])&&!t.isPropagationStopped())t.type=p>1?a:l.bindType||v,s=(h._data(u,"events")||{})[t.type]&&h._data(u,"handle"),s&&s.apply(u,n),s=o&&u[o],s&&s.apply&&h.acceptData(u)&&(t.result=s.apply(u,n),t.result===!1&&t.preventDefault());t.type=v;if(!i&&!t.isDefaultPrevented()&&(!l._default||l._default.apply(d.pop(),n)===!1)&&h.acceptData(r)&&o&&r[v]&&!h.isWindow(r)){c=r[o],c&&(r[o]=null),h.event.triggered=v;try{r[v]()}catch(g){}h.event.triggered=undefined,c&&(r[o]=c)}return t.result},dispatch:function(e){e=h.event.fix(e);var t,n,i,s,o,u=[],a=r.call(arguments),f=(h._data(this,"events")||{})[e.type]||[],l=h.event.special[e.type]||{};a[0]=e,e.delegateTarget=this;if(l.preDispatch&&l.preDispatch.call(this,e)===!1)return;u=h.event.handlers.call(this,e,f),t=0;while((s=u[t++])&&!e.isPropagationStopped()){e.currentTarget=s.elem,o=0;while((i=s.handlers[o++])&&!e.isImmediatePropagationStopped())if(!e.namespace_re||e.namespace_re.test(i.namespace))e.handleObj=i,e.data=i.data,n=((h.event.special[i.origType]||{}).handle||i.handler).apply(s.elem,a),n!==undefined&&(e.result=n)===!1&&(e.preventDefault(),e.stopPropagation())}return l.postDispatch&&l.postDispatch.call(this,e),e.result},handlers:function(e,t){var n,r,i,s,o=[],u=t.delegateCount,a=e.target;if(u&&a.nodeType&&(!e.button||e.type!=="click"))for(;a!=this;a=a.parentNode||this)if(a.nodeType===1&&(a.disabled!==!0||e.type!=="click")){i=[];for(s=0;s=0:h.find(n,this,null,[a]).length),i[n]&&i.push(r);i.length&&o.push({elem:a,handlers:i})}return u]","i"),ut=/^\s+/,at=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ft=/<([\w:]+)/,lt=/\s*$/g,gt={option:[1,""],legend:[1,"
                            ","
                            "],area:[1,"",""],param:[1,"",""],thead:[1,"","
                            "],tr:[2,"","
                            "],col:[2,"","
                            "],td:[3,"","
                            "],_default:l.htmlSerialize?[0,"",""]:[1,"X
                            ","
                            "]},yt=rt(T),bt=yt.appendChild(T.createElement("div"));gt.optgroup=gt.option,gt.tbody=gt.tfoot=gt.colgroup=gt.caption=gt.thead,gt.th=gt.td,h.extend({clone:function(e,t,n){var r,i,s,o,u,a=h.contains(e.ownerDocument,e);l.html5Clone||h.isXMLDoc(e)||!ot.test("<"+e.nodeName+">")?s=e.cloneNode(!0):(bt.innerHTML=e.outerHTML,bt.removeChild(s=bt.firstChild));if((!l.noCloneEvent||!l.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!h.isXMLDoc(e)){r=wt(s),u=wt(e);for(o=0;(i=u[o])!=null;++o)r[o]&&kt(i,r[o])}if(t)if(n){u=u||wt(e),r=r||wt(s);for(o=0;(i=u[o])!=null;o++)Ct(i,r[o])}else Ct(e,s);return r=wt(s,"script"),r.length>0&&Nt(r,!a&&wt(e,"script")),r=u=i=null,s},buildFragment:function(e,t,n,r){var i,s,o,u,a,f,c,p=e.length,d=rt(t),v=[],m=0;for(;m")+c[2],i=c[0];while(i--)u=u.lastChild;!l.leadingWhitespace&&ut.test(s)&&v.push(t.createTextNode(ut.exec(s)[0]));if(!l.tbody){s=a==="table"&&!lt.test(s)?u.firstChild:c[1]===""&&!lt.test(s)?u:0,i=s&&s.childNodes.length;while(i--)h.nodeName(f=s.childNodes[i],"tbody")&&!f.childNodes.length&&s.removeChild(f)}h.merge(v,u.childNodes),u.textContent="";while(u.firstChild)u.removeChild(u.firstChild);u=d.lastChild}}u&&d.removeChild(u),l.appendChecked||h.grep(wt(v,"input"),Et),m=0;while(s=v[m++]){if(r&&h.inArray(s,r)!==-1)continue;o=h.contains(s.ownerDocument,s),u=wt(d.appendChild(s),"script"),o&&Nt(u);if(n){i=0;while(s=u[i++])dt.test(s.type||"")&&n.push(s)}}return u=null,d},cleanData:function(e,t){var r,i,s,o,u=0,a=h.expando,f=h.cache,c=l.deleteExpando,p=h.event.special;for(;(r=e[u])!=null;u++)if(t||h.acceptData(r)){s=r[a],o=s&&f[s];if(o){if(o.events)for(i in o.events)p[i]?h.event.remove(r,i):h.removeEvent(r,i,o.handle);f[s]&&(delete f[s],c?delete r[a]:typeof r.removeAttribute!==B?r.removeAttribute(a):r[a]=null,n.push(s))}}}}),h.fn.extend({text:function(e){return $(this,function(e){return e===undefined?h.text(this):this.empty().append((this[0]&&this[0].ownerDocument||T).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=St(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=St(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?h.filter(e,this):this,i=0;for(;(n=r[i])!=null;i++)!t&&n.nodeType===1&&h.cleanData(wt(n)),n.parentNode&&(t&&h.contains(n.ownerDocument,n)&&Nt(wt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&h.cleanData(wt(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&h.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return h.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined)return t.nodeType===1?t.innerHTML.replace(st,""):undefined;if(typeof e=="string"&&!ht.test(e)&&(l.htmlSerialize||!ot.test(e))&&(l.leadingWhitespace||!ut.test(e))&&!gt[(ft.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(at,"<$1>");try{for(;n1&&typeof v=="string"&&!l.checkClone&&pt.test(v))return this.each(function(n){var r=p.eq(n);m&&(e[0]=v.call(this,n,r.html())),r.domManip(e,t)});if(c){a=h.buildFragment(e,this[0].ownerDocument,!1,this),n=a.firstChild,a.childNodes.length===1&&(a=n);if(n){o=h.map(wt(a,"script"),xt),s=o.length;for(;f
                            t
                            ",a=t.getElementsByTagName("td"),a[0].style.cssText="margin:0;border:0;padding:0;display:none",o=a[0].offsetHeight===0,o&&(a[0].style.display="",a[1].style.display="none",o=a[0].offsetHeight===0),n.removeChild(r)}var t,n,r,i,s,o,u;t=T.createElement("div"),t.innerHTML="
                            a",r=t.getElementsByTagName("a")[0],n=r&&r.style;if(!n)return;n.cssText="float:left;opacity:.5",l.opacity=n.opacity==="0.5",l.cssFloat=!!n.cssFloat,t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle=t.style.backgroundClip==="content-box",l.boxSizing=n.boxSizing===""||n.MozBoxSizing===""||n.WebkitBoxSizing==="",h.extend(l,{reliableHiddenOffsets:function(){return o==null&&a(),o},boxSizingReliable:function(){return s==null&&a(),s},pixelPosition:function(){return i==null&&a(),i},reliableMarginRight:function(){return u==null&&a(),u}})}(),h.swap=function(e,t,n,r){var i,s,o={};for(s in t)o[s]=e.style[s],e.style[s]=t[s];i=n.apply(e,r||[]);for(s in t)e.style[s]=o[s];return i};var Ft=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,qt=/^(none|table(?!-c[ea]).+)/,Rt=new RegExp("^("+W+")(.*)$","i"),Ut=new RegExp("^([+-])=("+W+")","i"),zt={position:"absolute",visibility:"hidden",display:"block"},Wt={letterSpacing:"0",fontWeight:"400"},Xt=["Webkit","O","Moz","ms"];h.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ht(e,"opacity");return n===""?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":l.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var i,s,o,u=h.camelCase(t),a=e.style;t=h.cssProps[u]||(h.cssProps[u]=Vt(a,u)),o=h.cssHooks[t]||h.cssHooks[u];if(n===undefined)return o&&"get"in o&&(i=o.get(e,!1,r))!==undefined?i:a[t];s=typeof n,s==="string"&&(i=Ut.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(h.css(e,t)),s="number");if(n==null||n!==n)return;s==="number"&&!h.cssNumber[u]&&(n+="px"),!l.clearCloneStyle&&n===""&&t.indexOf("background")===0&&(a[t]="inherit");if(!o||!("set"in o)||(n=o.set(e,n,r))!==undefined)try{a[t]=n}catch(f){}},css:function(e,t,n,r){var i,s,o,u=h.camelCase(t);return t=h.cssProps[u]||(h.cssProps[u]=Vt(e.style,u)),o=h.cssHooks[t]||h.cssHooks[u],o&&"get"in o&&(s=o.get(e,!0,n)),s===undefined&&(s=Ht(e,t,r)),s==="normal"&&t in Wt&&(s=Wt[t]),n===""||n?(i=parseFloat(s),n===!0||h.isNumeric(i)?i||0:s):s}}),h.each(["height","width"],function(e,t){h.cssHooks[t]={get:function(e,n,r){if(n)return qt.test(h.css(e,"display"))&&e.offsetWidth===0?h.swap(e,zt,function(){return Qt(e,t,r)}):Qt(e,t,r)},set:function(e,n,r){var i=r&&Pt(e);return Jt(e,n,r?Kt(e,t,r,l.boxSizing&&h.css(e,"boxSizing",!1,i)==="border-box",i):0)}}}),l.opacity||(h.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=h.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if((t>=1||t==="")&&h.trim(s.replace(Ft,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(t===""||r&&!r.filter)return}n.filter=Ft.test(s)?s.replace(Ft,i):s+" "+i}}),h.cssHooks.marginRight=jt(l.reliableMarginRight,function(e,t){if(t)return h.swap(e,{display:"inline-block"},Ht,[e,"marginRight"])}),h.each({margin:"",padding:"",border:"Width"},function(e,t){h.cssHooks[e+t]={expand:function(n){var r=0,i={},s=typeof n=="string"?n.split(" "):[n];for(;r<4;r++)i[e+X[r]+t]=s[r]||s[r-2]||s[0];return i}},_t.test(e)||(h.cssHooks[e+t].set=Jt)}),h.fn.extend({css:function(e,t){return $(this,function(e,t,n){var r,i,s={},o=0;if(h.isArray(t)){r=Pt(e),i=t.length;for(;o1)},show:function(){return $t(this,!0)},hide:function(){return $t(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){V(this)?h(this).show():h(this).hide()})}}),h.Tween=Gt,Gt.prototype={constructor:Gt,init:function(e,t,n,r,i,s){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=s||(h.cssNumber[n]?"":"px")},cur:function(){var e=Gt.propHooks[this.prop];return e&&e.get?e.get(this):Gt.propHooks._default.get(this)},run:function(e){var t,n=Gt.propHooks[this.prop];return this.options.duration?this.pos=t=h.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Gt.propHooks._default.set(this),this}},Gt.prototype.init.prototype=Gt.prototype,Gt.propHooks={_default:{get:function(e){var t;return e.elem[e.prop]==null||!!e.elem.style&&e.elem.style[e.prop]!=null?(t=h.css(e.elem,e.prop,""),!t||t==="auto"?0:t):e.elem[e.prop]},set:function(e){h.fx.step[e.prop]?h.fx.step[e.prop](e):e.elem.style&&(e.elem.style[h.cssProps[e.prop]]!=null||h.cssHooks[e.prop])?h.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Gt.propHooks.scrollTop=Gt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},h.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},h.fx=Gt.prototype.init,h.fx.step={};var Yt,Zt,en=/^(?:toggle|show|hide)$/,tn=new RegExp("^(?:([+-])=|)("+W+")([a-z%]*)$","i"),nn=/queueHooks$/,rn=[fn],sn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=tn.exec(t),s=i&&i[3]||(h.cssNumber[e]?"":"px"),o=(h.cssNumber[e]||s!=="px"&&+r)&&tn.exec(h.css(n.elem,e)),u=1,a=20;if(o&&o[3]!==s){s=s||o[3],i=i||[],o=+r||1;do u=u||".5",o/=u,h.style(n.elem,e,o+s);while(u!==(u=n.cur()/r)&&u!==1&&--a)}return i&&(o=n.start=+o||+r||0,n.unit=s,n.end=i[1]?o+(i[1]+1)*i[2]:+i[2]),n}]};h.Animation=h.extend(cn,{tweener:function(e,t){h.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r
                            a",r=t.getElementsByTagName("a")[0],n=T.createElement("select"),i=n.appendChild(T.createElement("option")),e=t.getElementsByTagName("input")[0],r.style.cssText="top:1px",l.getSetAttribute=t.className!=="t",l.style=/top/.test(r.getAttribute("style")),l.hrefNormalized=r.getAttribute("href")==="/a",l.checkOn=!!e.value,l.optSelected=i.selected,l.enctype=!!T.createElement("form").enctype,n.disabled=!0,l.optDisabled=!i.disabled,e=T.createElement("input"),e.setAttribute("value",""),l.input=e.getAttribute("value")==="",e.value="t",e.setAttribute("type","radio"),l.radioValue=e.value==="t"}();var hn=/\r/g;h.fn.extend({val:function(e){var t,n,r,i=this[0];if(!arguments.length){if(i)return t=h.valHooks[i.type]||h.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&(n=t.get(i,"value"))!==undefined?n:(n=i.value,typeof n=="string"?n.replace(hn,""):n==null?"":n);return}return r=h.isFunction(e),this.each(function(n){var i;if(this.nodeType!==1)return;r?i=e.call(this,n,h(this).val()):i=e,i==null?i="":typeof i=="number"?i+="":h.isArray(i)&&(i=h.map(i,function(e){return e==null?"":e+""})),t=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()];if(!t||!("set"in t)||t.set(this,i,"value")===undefined)this.value=i})}}),h.extend({valHooks:{option:{get:function(e){var t=h.find.attr(e,"value");return t!=null?t:h.trim(h.text(e))}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a=0)try{r.selected=n=!0}catch(u){r.scrollHeight}else r.selected=!1}return n||(e.selectedIndex=-1),i}}}}),h.each(["radio","checkbox"],function(){h.valHooks[this]={set:function(e,t){if(h.isArray(t))return e.checked=h.inArray(h(e).val(),t)>=0}},l.checkOn||(h.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var pn,dn,vn=h.expr.attrHandle,mn=/^(?:checked|selected)$/i,gn=l.getSetAttribute,yn=l.input;h.fn.extend({attr:function(e,t){return $(this,h.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){h.removeAttr(this,e)})}}),h.extend({attr:function(e,t,n){var r,i,s=e.nodeType;if(!e||s===3||s===8||s===2)return;if(typeof e.getAttribute===B)return h.prop(e,t,n);if(s!==1||!h.isXMLDoc(e))t=t.toLowerCase(),r=h.attrHooks[t]||(h.expr.match.bool.test(t)?dn:pn);if(n===undefined)return r&&"get"in r&&(i=r.get(e,t))!==null?i:(i=h.find.attr(e,t),i==null?undefined:i);if(n!==null)return r&&"set"in r&&(i=r.set(e,n,t))!==undefined?i:(e.setAttribute(t,n+""),n);h.removeAttr(e,t)},removeAttr:function(e,t){var n,r,i=0,s=t&&t.match(O);if(s&&e.nodeType===1)while(n=s[i++])r=h.propFix[n]||n,h.expr.match.bool.test(n)?yn&&gn||!mn.test(n)?e[r]=!1:e[h.camelCase("default-"+n)]=e[r]=!1:h.attr(e,n,""),e.removeAttribute(gn?n:r)},attrHooks:{type:{set:function(e,t){if(!l.radioValue&&t==="radio"&&h.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),dn={set:function(e,t,n){return t===!1?h.removeAttr(e,n):yn&&gn||!mn.test(n)?e.setAttribute(!gn&&h.propFix[n]||n,n):e[h.camelCase("default-"+n)]=e[n]=!0,n}},h.each(h.expr.match.bool.source.match(/\w+/g),function(e,t){var n=vn[t]||h.find.attr;vn[t]=yn&&gn||!mn.test(t)?function(e,t,r){var i,s;return r||(s=vn[t],vn[t]=i,i=n(e,t,r)!=null?t.toLowerCase():null,vn[t]=s),i}:function(e,t,n){if(!n)return e[h.camelCase("default-"+t)]?t.toLowerCase():null}});if(!yn||!gn)h.attrHooks.value={set:function(e,t,n){if(!h.nodeName(e,"input"))return pn&&pn.set(e,t,n);e.defaultValue=t}};gn||(pn={set:function(e,t,n){var r=e.getAttributeNode(n);r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="";if(n==="value"||t===e.getAttribute(n))return t}},vn.id=vn.name=vn.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&r.value!==""?r.value:null},h.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:pn.set},h.attrHooks.contenteditable={set:function(e,t,n){pn.set(e,t===""?!1:t,n)}},h.each(["width","height"],function(e,t){h.attrHooks[t]={set:function(e,n){if(n==="")return e.setAttribute(t,"auto"),n}}})),l.style||(h.attrHooks.style={get:function(e){return e.style.cssText||undefined},set:function(e,t){return e.style.cssText=t+""}});var bn=/^(?:input|select|textarea|button|object)$/i,wn=/^(?:a|area)$/i;h.fn.extend({prop:function(e,t){return $(this,h.prop,e,t,arguments.length>1)},removeProp:function(e){return e=h.propFix[e]||e,this.each(function(){try{this[e]=undefined,delete this[e]}catch(t){}})}}),h.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,s,o=e.nodeType;if(!e||o===3||o===8||o===2)return;return s=o!==1||!h.isXMLDoc(e),s&&(t=h.propFix[t]||t,i=h.propHooks[t]),n!==undefined?i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:e[t]=n:i&&"get"in i&&(r=i.get(e,t))!==null?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=h.find.attr(e,"tabindex");return t?parseInt(t,10):bn.test(e.nodeName)||wn.test(e.nodeName)&&e.href?0:-1}}}}),l.hrefNormalized||h.each(["href","src"],function(e,t){h.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),l.optSelected||(h.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),h.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){h.propFix[this.toLowerCase()]=this}),l.enctype||(h.propFix.enctype="encoding");var En=/[\t\r\n\f]/g;h.fn.extend({addClass:function(e){var t,n,r,i,s,o,u=0,a=this.length,f=typeof e=="string"&&e;if(h.isFunction(e))return this.each(function(t){h(this).addClass(e.call(this,t,this.className))});if(f){t=(e||"").match(O)||[];for(;u=0)r=r.replace(" "+i+" "," ");o=e?h.trim(r):"",n.className!==o&&(n.className=o)}}}return this},toggleClass:function(e,t){var n=typeof e;return typeof t=="boolean"&&n==="string"?t?this.addClass(e):this.removeClass(e):h.isFunction(e)?this.each(function(n){h(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var t,r=0,i=h(this),s=e.match(O)||[];while(t=s[r++])i.hasClass(t)?i.removeClass(t):i.addClass(t)}else if(n===B||n==="boolean")this.className&&h._data(this,"__className__",this.className),this.className=this.className||e===!1?"":h._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n=0)return!0;return!1}}),h.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){h.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),h.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)}});var Sn=h.now(),xn=/\?/,Tn=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;h.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,r=null,i=h.trim(t+"");return i&&!h.trim(i.replace(Tn,function(e,t,i,s){return n&&t&&(r=0),r===0?e:(n=i||t,r+=!s-!i,"")}))?Function("return "+i)():h.error("Invalid JSON: "+t)},h.parseXML=function(t){var n,r;if(!t||typeof t!="string")return null;try{e.DOMParser?(r=new DOMParser,n=r.parseFromString(t,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(t))}catch(i){n=undefined}return(!n||!n.documentElement||n.getElementsByTagName("parsererror").length)&&h.error("Invalid XML: "+t),n};var Nn,Cn,kn=/#.*$/,Ln=/([?&])_=[^&]*/,An=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,On=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mn=/^(?:GET|HEAD)$/,_n=/^\/\//,Dn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Pn={},Hn={},Bn="*/".concat("*");try{Cn=location.href}catch(jn){Cn=T.createElement("a"),Cn.href="",Cn=Cn.href}Nn=Dn.exec(Cn.toLowerCase())||[],h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Cn,type:"GET",isLocal:On.test(Nn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":h.parseJSON,"text xml":h.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?qn(qn(e,h.ajaxSettings),t):qn(h.ajaxSettings,e)},ajaxPrefilter:Fn(Pn),ajaxTransport:Fn(Hn),ajax:function(e,t){function x(e,t,n,r){var f,g,y,w,S,x=t;if(b===2)return;b=2,o&&clearTimeout(o),a=undefined,s=r||"",E.readyState=e>0?4:0,f=e>=200&&e<300||e===304,n&&(w=Rn(l,E,n)),w=Un(l,w,E,f);if(f)l.ifModified&&(S=E.getResponseHeader("Last-Modified"),S&&(h.lastModified[i]=S),S=E.getResponseHeader("etag"),S&&(h.etag[i]=S)),e===204||l.type==="HEAD"?x="nocontent":e===304?x="notmodified":(x=w.state,g=w.data,y=w.error,f=!y);else{y=x;if(e||!x)x="error",e<0&&(e=0)}E.status=e,E.statusText=(t||x)+"",f?d.resolveWith(c,[g,x,E]):d.rejectWith(c,[E,x,y]),E.statusCode(m),m=undefined,u&&p.trigger(f?"ajaxSuccess":"ajaxError",[E,l,f?g:y]),v.fireWith(c,[E,x]),u&&(p.trigger("ajaxComplete",[E,l]),--h.active||h.event.trigger("ajaxStop"))}typeof e=="object"&&(t=e,e=undefined),t=t||{};var n,r,i,s,o,u,a,f,l=h.ajaxSetup({},t),c=l.context||l,p=l.context&&(c.nodeType||c.jquery)?h(c):h.event,d=h.Deferred(),v=h.Callbacks("once memory"),m=l.statusCode||{},g={},y={},b=0,w="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(b===2){if(!f){f={};while(t=An.exec(s))f[t[1].toLowerCase()]=t[2]}t=f[e.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return b===2?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=y[n]=y[n]||e,g[e]=t),this},overrideMimeType:function(e){return b||(l.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)m[t]=[m[t],e[t]];else E.always(e[E.status]);return this},abort:function(e){var t=e||w;return a&&a.abort(t),x(0,t),this}};d.promise(E).complete=v.add,E.success=E.done,E.error=E.fail,l.url=((e||l.url||Cn)+"").replace(kn,"").replace(_n,Nn[1]+"//"),l.type=t.method||t.type||l.method||l.type,l.dataTypes=h.trim(l.dataType||"*").toLowerCase().match(O)||[""],l.crossDomain==null&&(n=Dn.exec(l.url.toLowerCase()),l.crossDomain=!(!n||n[1]===Nn[1]&&n[2]===Nn[2]&&(n[3]||(n[1]==="http:"?"80":"443"))===(Nn[3]||(Nn[1]==="http:"?"80":"443")))),l.data&&l.processData&&typeof l.data!="string"&&(l.data=h.param(l.data,l.traditional)),In(Pn,l,t,E);if(b===2)return E;u=h.event&&l.global,u&&h.active++===0&&h.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!Mn.test(l.type),i=l.url,l.hasContent||(l.data&&(i=l.url+=(xn.test(i)?"&":"?")+l.data,delete l.data),l.cache===!1&&(l.url=Ln.test(i)?i.replace(Ln,"$1_="+Sn++):i+(xn.test(i)?"&":"?")+"_="+Sn++)),l.ifModified&&(h.lastModified[i]&&E.setRequestHeader("If-Modified-Since",h.lastModified[i]),h.etag[i]&&E.setRequestHeader("If-None-Match",h.etag[i])),(l.data&&l.hasContent&&l.contentType!==!1||t.contentType)&&E.setRequestHeader("Content-Type",l.contentType),E.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+Bn+"; q=0.01":""):l.accepts["*"]);for(r in l.headers)E.setRequestHeader(r,l.headers[r]);if(!l.beforeSend||l.beforeSend.call(c,E,l)!==!1&&b!==2){w="abort";for(r in{success:1,error:1,complete:1})E[r](l[r]);a=In(Hn,l,t,E);if(!a)x(-1,"No Transport");else{E.readyState=1,u&&p.trigger("ajaxSend",[E,l]),l.async&&l.timeout>0&&(o=setTimeout(function(){E.abort("timeout")},l.timeout));try{b=1,a.send(g,x)}catch(S){if(!(b<2))throw S;x(-1,S)}}return E}return E.abort()},getJSON:function(e,t,n){return h.get(e,t,n,"json")},getScript:function(e,t){return h.get(e,undefined,t,"script")}}),h.each(["get","post"],function(e,t){h[t]=function(e,n,r,i){return h.isFunction(n)&&(i=i||r,r=n,n=undefined),h.ajax({url:e,type:t,dataType:i,data:n,success:r})}}),h._evalUrl=function(e){return h.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},h.fn.extend({wrapAll:function(e){if(h.isFunction(e))return this.each(function(t){h(this).wrapAll(e.call(this,t))});if(this[0]){var t=h(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return h.isFunction(e)?this.each(function(t){h(this).wrapInner(e.call(this,t))}):this.each(function(){var t=h(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=h.isFunction(e);return this.each(function(n){h(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){h.nodeName(this,"body")||h(this).replaceWith(this.childNodes)}).end()}}),h.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!l.reliableHiddenOffsets()&&(e.style&&e.style.display||h.css(e,"display"))==="none"},h.expr.filters.visible=function(e){return!h.expr.filters.hidden(e)};var zn=/%20/g,Wn=/\[\]$/,Xn=/\r?\n/g,Vn=/^(?:submit|button|image|reset|file)$/i,$n=/^(?:input|select|textarea|keygen)/i;h.param=function(e,t){var n,r=[],i=function(e,t){t=h.isFunction(t)?t():t==null?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};t===undefined&&(t=h.ajaxSettings&&h.ajaxSettings.traditional);if(h.isArray(e)||e.jquery&&!h.isPlainObject(e))h.each(e,function(){i(this.name,this.value)});else for(n in e)Jn(n,e[n],t,i);return r.join("&").replace(zn,"+")},h.fn.extend({serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=h.prop(this,"elements");return e?h.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!h(this).is(":disabled")&&$n.test(this.nodeName)&&!Vn.test(e)&&(this.checked||!J.test(e))}).map(function(e,t){var n=h(this).val();return n==null?null:h.isArray(n)?h.map(n,function(e){return{name:t.name,value:e.replace(Xn,"\r\n")}}):{name:t.name,value:n.replace(Xn,"\r\n")}}).get()}}),h.ajaxSettings.xhr=e.ActiveXObject!==undefined?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Yn()||Zn()}:Yn;var Kn=0,Qn={},Gn=h.ajaxSettings.xhr();e.attachEvent&&e.attachEvent("onunload",function(){for(var e in Qn)Qn[e](undefined,!0)}),l.cors=!!Gn&&"withCredentials"in Gn,Gn=l.ajax=!!Gn,Gn&&h.ajaxTransport(function(e){if(!e.crossDomain||l.cors){var t;return{send:function(n,r){var i,s=e.xhr(),o=++Kn;s.open(e.type,e.url,e.async,e.username,e.password);if(e.xhrFields)for(i in e.xhrFields)s[i]=e.xhrFields[i];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),!e.crossDomain&&!n["X-Requested-With"]&&(n["X-Requested-With"]="XMLHttpRequest");for(i in n)n[i]!==undefined&&s.setRequestHeader(i,n[i]+"");s.send(e.hasContent&&e.data||null),t=function(n,i){var u,a,f;if(t&&(i||s.readyState===4)){delete Qn[o],t=undefined,s.onreadystatechange=h.noop;if(i)s.readyState!==4&&s.abort();else{f={},u=s.status,typeof s.responseText=="string"&&(f.text=s.responseText);try{a=s.statusText}catch(l){a=""}!u&&e.isLocal&&!e.crossDomain?u=f.text?200:404:u===1223&&(u=204)}}f&&r(u,a,f,s.getAllResponseHeaders())},e.async?s.readyState===4?setTimeout(t):s.onreadystatechange=Qn[o]=t:t()},abort:function(){t&&t(undefined,!0)}}}}),h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return h.globalEval(e),e}}}),h.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),h.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=T.head||h("head")[0]||T.documentElement;return{send:function(r,i){t=T.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){if(n||!t.readyState||/loaded|complete/.test(t.readyState))t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success")},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(undefined,!0)}}}});var er=[],tr=/(=)\?(?=&|$)|\?\?/;h.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=er.pop()||h.expando+"_"+Sn++;return this[e]=!0,e}}),h.ajaxPrefilter("json jsonp",function(t,n,r){var i,s,o,u=t.jsonp!==!1&&(tr.test(t.url)?"url":typeof t.data=="string"&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&tr.test(t.data)&&"data");if(u||t.dataTypes[0]==="jsonp")return i=t.jsonpCallback=h.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,u?t[u]=t[u].replace(tr,"$1"+i):t.jsonp!==!1&&(t.url+=(xn.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return o||h.error(i+" was not called"),o[0]},t.dataTypes[0]="json",s=e[i],e[i]=function(){o=arguments},r.always(function(){e[i]=s,t[i]&&(t.jsonpCallback=n.jsonpCallback,er.push(i)),o&&h.isFunction(s)&&s(o[0]),o=s=undefined}),"script"}),h.parseHTML=function(e,t,n){if(!e||typeof e!="string")return null;typeof t=="boolean"&&(n=t,t=!1),t=t||T;var r=w.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=h.buildFragment([e],t,i),i&&i.length&&h(i).remove(),h.merge([],r.childNodes))};var nr=h.fn.load;h.fn.load=function(e,t,n){if(typeof e!="string"&&nr)return nr.apply(this,arguments);var r,i,s,o=this,u=e.indexOf(" ");return u>=0&&(r=h.trim(e.slice(u,e.length)),e=e.slice(0,u)),h.isFunction(t)?(n=t,t=undefined):t&&typeof t=="object"&&(s="POST"),o.length>0&&h.ajax({url:e,type:s,dataType:"html",data:t}).done(function(e){i=arguments,o.html(r?h("
                            ").append(h.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){o.each(n,i||[e.responseText,t,e])}),this},h.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){h.fn[t]=function(e){return this.on(t,e)}}),h.expr.filters.animated=function(e){return h.grep(h.timers,function(t){return e===t.elem}).length};var rr=e.document.documentElement;h.offset={setOffset:function(e,t,n){var r,i,s,o,u,a,f,l=h.css(e,"position"),c=h(e),p={};l==="static"&&(e.style.position="relative"),u=c.offset(),s=h.css(e,"top"),a=h.css(e,"left"),f=(l==="absolute"||l==="fixed")&&h.inArray("auto",[s,a])>-1,f?(r=c.position(),o=r.top,i=r.left):(o=parseFloat(s)||0,i=parseFloat(a)||0),h.isFunction(t)&&(t=t.call(e,n,u)),t.top!=null&&(p.top=t.top-u.top+o),t.left!=null&&(p.left=t.left-u.left+i),"using"in t?t.using.call(e,p):c.css(p)}},h.fn.extend({offset:function(e){if(arguments.length)return e===undefined?this:this.each(function(t){h.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],s=i&&i.ownerDocument;if(!s)return;return t=s.documentElement,h.contains(t,i)?(typeof i.getBoundingClientRect!==B&&(r=i.getBoundingClientRect()),n=ir(s),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(!this[0])return;var e,t,n={top:0,left:0},r=this[0];return h.css(r,"position")==="fixed"?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),h.nodeName(e[0],"html")||(n=e.offset()),n.top+=h.css(e[0],"borderTopWidth",!0),n.left+=h.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-h.css(r,"marginTop",!0),left:t.left-n.left-h.css(r,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||rr;while(e&&!h.nodeName(e,"html")&&h.css(e,"position")==="static")e=e.offsetParent;return e||rr})}}),h.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);h.fn[e]=function(r){return $(this,function(e,r,i){var s=ir(e);if(i===undefined)return s?t in s?s[t]:s.document.documentElement[r]:e[r];s?s.scrollTo(n?h(s).scrollLeft():i,n?i:h(s).scrollTop()):e[r]=i},e,r,arguments.length,null)}}),h.each(["top","left"],function(e,t){h.cssHooks[t]=jt(l.pixelPosition,function(e,n){if(n)return n=Ht(e,t),Dt.test(n)?h(e).position()[t]+"px":n})}),h.each({Height:"height",Width:"width"},function(e,t){h.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){h.fn[r]=function(r,i){var s=arguments.length&&(n||typeof r!="boolean"),o=n||(r===!0||i===!0?"margin":"border");return $(this,function(t,n,r){var i;return h.isWindow(t)?t.document.documentElement["client"+e]:t.nodeType===9?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):r===undefined?h.css(t,n,o):h.style(t,n,r,o)},t,s?r:undefined,s,null)}})}),h.fn.size=function(){return this.length},h.fn.andSelf=h.fn.addBack,typeof define=="function"&&define.amd&&define("jquery",[],function(){return h});var sr=e.jQuery,or=e.$;return h.noConflict=function(t){return e.$===h&&(e.$=or),t&&e.jQuery===h&&(e.jQuery=sr),h},typeof t===B&&(e.jQuery=e.$=h),h}),function(){var e=this,t=e._,n={},r=Array.prototype,i=Object.prototype,s=Function.prototype,o=r.push,u=r.slice,a=r.concat,f=i.toString,l=i.hasOwnProperty,c=r.forEach,h=r.map,p=r.reduce,d=r.reduceRight,v=r.filter,m=r.every,g=r.some,y=r.indexOf,b=r.lastIndexOf,w=Array.isArray,E=Object.keys,S=s.bind,x=function(e){if(e instanceof x)return e;if(!(this instanceof x))return new x(e);this._wrapped=e};typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=x),exports._=x):e._=x,x.VERSION="1.5.1";var T=x.each=x.forEach=function(e,t,r){if(e==null)return;if(c&&e.forEach===c)e.forEach(t,r);else if(e.length===+e.length){for(var i=0,s=e.length;i2;e==null&&(e=[]);if(p&&e.reduce===p)return r&&(t=x.bind(t,r)),i?e.reduce(t,n):e.reduce(t);T(e,function(e,s,o){i?n=t.call(r,n,e,s,o):(n=e,i=!0)});if(!i)throw new TypeError(N);return n},x.reduceRight=x.foldr=function(e,t,n,r){var i=arguments.length>2;e==null&&(e=[]);if(d&&e.reduceRight===d)return r&&(t=x.bind(t,r)),i?e.reduceRight(t,n):e.reduceRight(t);var s=e.length;if(s!==+s){var o=x.keys(e);s=o.length}T(e,function(u,a,f){a=o?o[--s]:--s,i?n=t.call(r,n,e[a],a,f):(n=e[a],i=!0)});if(!i)throw new TypeError(N);return n},x.find=x.detect=function(e,t,n){var r;return C(e,function(e,i,s){if(t.call(n,e,i,s))return r=e,!0}),r},x.filter=x.select=function(e,t,n){var r=[];return e==null?r:v&&e.filter===v?e.filter(t,n):(T(e,function(e,i,s){t.call(n,e,i,s)&&r.push(e)}),r)},x.reject=function(e,t,n){return x.filter(e,function(e,r,i){return!t.call(n,e,r,i)},n)},x.every=x.all=function(e,t,r){t||(t=x.identity);var i=!0;return e==null?i:m&&e.every===m?e.every(t,r):(T(e,function(e,s,o){if(!(i=i&&t.call(r,e,s,o)))return n}),!!i)};var C=x.some=x.any=function(e,t,r){t||(t=x.identity);var i=!1;return e==null?i:g&&e.some===g?e.some(t,r):(T(e,function(e,s,o){if(i||(i=t.call(r,e,s,o)))return n}),!!i)};x.contains=x.include=function(e,t){return e==null?!1:y&&e.indexOf===y?e.indexOf(t)!=-1:C(e,function(e){return e===t})},x.invoke=function(e,t){var n=u.call(arguments,2),r=x.isFunction(t);return x.map(e,function(e){return(r?t:e[t]).apply(e,n)})},x.pluck=function(e,t){return x.map(e,function(e){return e[t]})},x.where=function(e,t,n){return x.isEmpty(t)?n?void 0:[]:x[n?"find":"filter"](e,function(e){for(var n in t)if(t[n]!==e[n])return!1;return!0})},x.findWhere=function(e,t){return x.where(e,t,!0)},x.max=function(e,t,n){if(!t&&x.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.max.apply(Math,e);if(!t&&x.isEmpty(e))return-Infinity;var r={computed:-Infinity,value:-Infinity};return T(e,function(e,i,s){var o=t?t.call(n,e,i,s):e;o>r.computed&&(r={value:e,computed:o})}),r.value},x.min=function(e,t,n){if(!t&&x.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.min.apply(Math,e);if(!t&&x.isEmpty(e))return Infinity;var r={computed:Infinity,value:Infinity};return T(e,function(e,i,s){var o=t?t.call(n,e,i,s):e;or||n===void 0)return 1;if(n>>1;n.call(r,e[u])=0})})},x.difference=function(e){var t=a.apply(r,u.call(arguments,1));return x.filter(e,function(e){return!x.contains(t,e)})},x.zip=function(){var e=x.max(x.pluck(arguments,"length").concat(0)),t=new Array(e);for(var n=0;n=0;n--)t=[e[n].apply(this,t)];return t[0]}},x.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},x.keys=E||function(e){if(e!==Object(e))throw new TypeError("Invalid object");var t=[];for(var n in e)x.has(e,n)&&t.push(n);return t},x.values=function(e){var t=[];for(var n in e)x.has(e,n)&&t.push(e[n]);return t},x.pairs=function(e){var t=[];for(var n in e)x.has(e,n)&&t.push([n,e[n]]);return t},x.invert=function(e){var t={};for(var n in e)x.has(e,n)&&(t[e[n]]=n);return t},x.functions=x.methods=function(e){var t=[];for(var n in e)x.isFunction(e[n])&&t.push(n);return t.sort()},x.extend=function(e){return T(u.call(arguments,1),function(t){if(t)for(var n in t)e[n]=t[n]}),e},x.pick=function(e){var t={},n=a.apply(r,u.call(arguments,1));return T(n,function(n){n in e&&(t[n]=e[n])}),t},x.omit=function(e){var t={},n=a.apply(r,u.call(arguments,1));for(var i in e)x.contains(n,i)||(t[i]=e[i]);return t},x.defaults=function(e){return T(u.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e},x.clone=function(e){return x.isObject(e)?x.isArray(e)?e.slice():x.extend({},e):e},x.tap=function(e,t){return t(e),e};var M=function(e,t,n,r){if(e===t)return e!==0||1/e==1/t;if(e==null||t==null)return e===t;e instanceof x&&(e=e._wrapped),t instanceof x&&(t=t._wrapped);var i=f.call(e);if(i!=f.call(t))return!1;switch(i){case"[object String]":return e==String(t);case"[object Number]":return e!=+e?t!=+t:e==0?1/e==1/t:e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object RegExp]":return e.source==t.source&&e.global==t.global&&e.multiline==t.multiline&&e.ignoreCase==t.ignoreCase}if(typeof e!="object"||typeof t!="object")return!1;var s=n.length;while(s--)if(n[s]==e)return r[s]==t;var o=e.constructor,u=t.constructor;if(o!==u&&!(x.isFunction(o)&&o instanceof o&&x.isFunction(u)&&u instanceof u))return!1;n.push(e),r.push(t);var a=0,l=!0;if(i=="[object Array]"){a=e.length,l=a==t.length;if(l)while(a--)if(!(l=M(e[a],t[a],n,r)))break}else{for(var c in e)if(x.has(e,c)){a++;if(!(l=x.has(t,c)&&M(e[c],t[c],n,r)))break}if(l){for(c in t)if(x.has(t,c)&&!(a--))break;l=!a}}return n.pop(),r.pop(),l};x.isEqual=function(e,t){return M(e,t,[],[])},x.isEmpty=function(e){if(e==null)return!0;if(x.isArray(e)||x.isString(e))return e.length===0;for(var t in e)if(x.has(e,t))return!1;return!0},x.isElement=function(e){return!!e&&e.nodeType===1},x.isArray=w||function(e){return f.call(e)=="[object Array]"},x.isObject=function(e){return e===Object(e)},T(["Arguments","Function","String","Number","Date","RegExp"],function(e){x["is"+e]=function(t){return f.call(t)=="[object "+e+"]"}}),x.isArguments(arguments)||(x.isArguments=function(e){return!!e&&!!x.has(e,"callee")}),typeof /./!="function"&&(x.isFunction=function(e){return typeof e=="function"}),x.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},x.isNaN=function(e){return x.isNumber(e)&&e!=+e},x.isBoolean=function(e){return e===!0||e===!1||f.call(e)=="[object Boolean]"},x.isNull=function(e){return e===null},x.isUndefined=function(e){return e===void 0},x.has=function(e,t){return l.call(e,t)},x.noConflict=function(){return e._=t,this},x.identity=function(e){return e},x.times=function(e,t,n){var r=Array(Math.max(0,e));for(var i=0;i":">",'"':""","'":"'","/":"/"}};_.unescape=x.invert(_.escape);var D={escape:new RegExp("["+x.keys(_.escape).join("")+"]","g"),unescape:new RegExp("("+x.keys(_.unescape).join("|")+")","g")};x.each(["escape","unescape"],function(e){x[e]=function(t){return t==null?"":(""+t).replace(D[e],function(t){return _[e][t]})}}),x.result=function(e,t){if(e==null)return void 0;var n=e[t];return x.isFunction(n)?n.call(e):n},x.mixin=function(e){T(x.functions(e),function(t){var n=x[t]=e[t];x.prototype[t]=function(){var e=[this._wrapped];return o.apply(e,arguments),F.call(this,n.apply(x,e))}})};var P=0;x.uniqueId=function(e){var t=++P+"";return e?e+t:t},x.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var H=/(.)^/,B={"'":"'","\\":"\\","\r":"r","\n":"n"," ":"t","\u2028":"u2028","\u2029":"u2029"},j=/\\|'|\r|\n|\t|\u2028|\u2029/g;x.template=function(e,t,n){var r;n=x.defaults({},n,x.templateSettings);var i=new RegExp([(n.escape||H).source,(n.interpolate||H).source,(n.evaluate||H).source].join("|")+"|$","g"),s=0,o="__p+='";e.replace(i,function(t,n,r,i,u){return o+=e.slice(s,u).replace(j,function(e){return"\\"+B[e]}),n&&(o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'"),r&&(o+="'+\n((__t=("+r+"))==null?'':__t)+\n'"),i&&(o+="';\n"+i+"\n__p+='"),s=u+t.length,t}),o+="';\n",n.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{r=new Function(n.variable||"obj","_",o)}catch(u){throw u.source=o,u}if(t)return r(t,x);var a=function(e){return r.call(this,e,x)};return a.source="function("+(n.variable||"obj")+"){\n"+o+"}",a},x.chain=function(e){return x(e).chain()};var F=function(e){return this._chain?x(e).chain():e};x.mixin(x),T(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=r[e];x.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),(e=="shift"||e=="splice")&&n.length===0&&delete n[0],F.call(this,n)}}),T(["concat","join","slice"],function(e){var t=r[e];x.prototype[e]=function(){return F.call(this,t.apply(this._wrapped,arguments))}}),x.extend(x.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}})}.call(this),define("underscore",function(e){return function(){var t,n;return t||e._}}(this)),define("text",["module"],function(e){var t,n,r,i,s,o=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],u=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,a=/]*>\s*([\s\S]+)\s*<\/body>/im,f=typeof location!="undefined"&&location.href,l=f&&location.protocol&&location.protocol.replace(/\:/,""),c=f&&location.hostname,h=f&&(location.port||undefined),p={},d=e.config&&e.config()||{};t={version:"2.0.13+",strip:function(e){if(e){e=e.replace(u,"");var t=e.match(a);t&&(e=t[1])}else e="";return e},jsEscape:function(e){return e.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},createXhr:d.createXhr||function(){var e,t,n;if(typeof XMLHttpRequest!="undefined")return new XMLHttpRequest;if(typeof ActiveXObject!="undefined")for(t=0;t<3;t+=1){n=o[t];try{e=new ActiveXObject(n)}catch(r){}if(e){o=[n];break}}return e},parseName:function(e){var t,n,r,i=!1,s=e.lastIndexOf("."),o=e.indexOf("./")===0||e.indexOf("../")===0;return s!==-1&&(!o||s>1)?(t=e.substring(0,s),n=e.substring(s+1)):t=e,r=n||t,s=r.indexOf("!"),s!==-1&&(i=r.substring(s+1)==="strip",r=r.substring(0,s),n?n=r:t=r),{moduleName:t,ext:n,strip:i}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(e,n,r,i){var s,o,u,a=t.xdRegExp.exec(e);return a?(s=a[2],o=a[3],o=o.split(":"),u=o[1],o=o[0],(!s||s===n)&&(!o||o.toLowerCase()===r.toLowerCase())&&(!u&&!o||u===i)):!0},finishLoad:function(e,n,r,i){r=n?t.strip(r):r,d.isBuild&&(p[e]=r),i(r)},load:function(e,n,r,i){if(i&&i.isBuild&&!i.inlineText){r();return}d.isBuild=i&&i.isBuild;var s=t.parseName(e),o=s.moduleName+(s.ext?"."+s.ext:""),u=n.toUrl(o),a=d.useXhr||t.useXhr;if(u.indexOf("empty:")===0){r();return}!f||a(u,l,c,h)?t.get(u,function(n){t.finishLoad(e,s.strip,n,r)},function(e){r.error&&r.error(e)}):n([o],function(e){t.finishLoad(s.moduleName+"."+s.ext,s.strip,e,r)})},write:function(e,n,r,i){if(p.hasOwnProperty(n)){var s=t.jsEscape(p[n]);r.asModule(e+"!"+n,"define(function () { return '"+s+"';});\n")}},writeFile:function(e,n,r,i,s){var o=t.parseName(n),u=o.ext?"."+o.ext:"",a=o.moduleName+u,f=r.toUrl(o.moduleName+u)+".js";t.load(a,r,function(n){var r=function(e){return i(f,e)};r.asModule=function(e,t){return i.asModule(e,f,t)},t.write(e,a,r,s)},s)}};if(d.env==="node"||!d.env&&typeof process!="undefined"&&process.versions&&!!process.versions.node&&!process.versions["node-webkit"]&&!process.versions["atom-shell"])n=require.nodeRequire("fs"),t.get=function(e,t,r){try{var i=n.readFileSync(e,"utf8");i[0]===""&&(i=i.substring(1)),t(i)}catch(s){r&&r(s)}};else if(d.env==="xhr"||!d.env&&t.createXhr())t.get=function(e,n,r,i){var s=t.createXhr(),o;s.open("GET",e,!0);if(i)for(o in i)i.hasOwnProperty(o)&&s.setRequestHeader(o.toLowerCase(),i[o]);d.onXhr&&d.onXhr(s,e),s.onreadystatechange=function(t){var i,o;s.readyState===4&&(i=s.status||0,i>399&&i<600?(o=new Error(e+" HTTP status: "+i),o.xhr=s,r&&r(o)):n(s.responseText),d.onXhrComplete&&d.onXhrComplete(s,e))},s.send(null)};else if(d.env==="rhino"||!d.env&&typeof Packages!="undefined"&&typeof java!="undefined")t.get=function(e,t){var n,r,i="utf-8",s=new java.io.File(e),o=java.lang.System.getProperty("line.separator"),u=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(s),i)),a="";try{n=new java.lang.StringBuffer,r=u.readLine(),r&&r.length()&&r.charAt(0)===65279&&(r=r.substring(1)),r!==null&&n.append(r);while((r=u.readLine())!==null)n.append(o),n.append(r);a=String(n.toString())}finally{u.close()}t(a)};else if(d.env==="xpconnect"||!d.env&&typeof Components!="undefined"&&Components.classes&&Components.interfaces)r=Components.classes,i=Components.interfaces,Components.utils["import"]("resource://gre/modules/FileUtils.jsm"),s="@mozilla.org/windows-registry-key;1"in r,t.get=function(e,t){var n,o,u,a={};s&&(e=e.replace(/\//g,"\\")),u=new FileUtils.File(e);try{n=r["@mozilla.org/network/file-input-stream;1"].createInstance(i.nsIFileInputStream),n.init(u,1,0,!1),o=r["@mozilla.org/intl/converter-input-stream;1"].createInstance(i.nsIConverterInputStream),o.init(n,"utf-8",n.available(),i.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER),o.readString(n.available(),a),o.close(),n.close(),t(a.value)}catch(f){throw new Error((u&&u.path||"")+": "+f)}};return t}),define("pinyin-by-unicode",{strChineseFirstPY:"YDYQSXMWZSSXJBYMGCCZQPSSQBYCDSCDQLDYLYBSSJGYZZJJFKCCLZDHWDWZJLJPFYYNWJJTMYHZWZHFLZPPQHGSCYYYNJQYXXGJHHSDSJNKKTMOMLCRXYPSNQSECCQZGGLLYJLMYZZSECYKYYHQWJSSGGYXYZYJWWKDJHYCHMYXJTLXJYQBYXZLDWRDJRWYSRLDZJPCBZJJBRCFTLECZSTZFXXZHTRQHYBDLYCZSSYMMRFMYQZPWWJJYFCRWFDFZQPYDDWYXKYJAWJFFXYPSFTZYHHYZYSWCJYXSCLCXXWZZXNBGNNXBXLZSZSBSGPYSYZDHMDZBQBZCWDZZYYTZHBTSYYBZGNTNXQYWQSKBPHHLXGYBFMJEBJHHGQTJCYSXSTKZHLYCKGLYSMZXYALMELDCCXGZYRJXSDLTYZCQKCNNJWHJTZZCQLJSTSTBNXBTYXCEQXGKWJYFLZQLYHYXSPSFXLMPBYSXXXYDJCZYLLLSJXFHJXPJBTFFYABYXBHZZBJYZLWLCZGGBTSSMDTJZXPTHYQTGLJSCQFZKJZJQNLZWLSLHDZBWJNCJZYZSQQYCQYRZCJJWYBRTWPYFTWEXCSKDZCTBZHYZZYYJXZCFFZZMJYXXSDZZOTTBZLQWFCKSZSXFYRLNYJMBDTHJXSQQCCSBXYYTSYFBXDZTGBCNSLCYZZPSAZYZZSCJCSHZQYDXLBPJLLMQXTYDZXSQJTZPXLCGLQTZWJBHCTSYJSFXYEJJTLBGXSXJMYJQQPFZASYJNTYDJXKJCDJSZCBARTDCLYJQMWNQNCLLLKBYBZZSYHQQLTWLCCXTXLLZNTYLNEWYZYXCZXXGRKRMTCNDNJTSYYSSDQDGHSDBJGHRWRQLYBGLXHLGTGXBQJDZPYJSJYJCTMRNYMGRZJCZGJMZMGXMPRYXKJNYMSGMZJYMKMFXMLDTGFBHCJHKYLPFMDXLQJJSMTQGZSJLQDLDGJYCALCMZCSDJLLNXDJFFFFJCZFMZFFPFKHKGDPSXKTACJDHHZDDCRRCFQYJKQCCWJDXHWJLYLLZGCFCQDSMLZPBJJPLSBCJGGDCKKDEZSQCCKJGCGKDJTJDLZYCXKLQSCGJCLTFPCQCZGWPJDQYZJJBYJHSJDZWGFSJGZKQCCZLLPSPKJGQJHZZLJPLGJGJJTHJJYJZCZMLZLYQBGJWMLJKXZDZNJQSYZMLJLLJKYWXMKJLHSKJGBMCLYYMKXJQLBMLLKMDXXKWYXYSLMLPSJQQJQXYXFJTJDXMXXLLCXQBSYJBGWYMBGGBCYXPJYGPEPFGDJGBHBNSQJYZJKJKHXQFGQZKFHYGKHDKLLSDJQXPQYKYBNQSXQNSZSWHBSXWHXWBZZXDMNSJBSBKBBZKLYLXGWXDRWYQZMYWSJQLCJXXJXKJEQXSCYETLZHLYYYSDZPAQYZCMTLSHTZCFYZYXYLJSDCJQAGYSLCQLYYYSHMRQQKLDXZSCSSSYDYCJYSFSJBFRSSZQSBXXPXJYSDRCKGJLGDKZJZBDKTCSYQPYHSTCLDJDHMXMCGXYZHJDDTMHLTXZXYLYMOHYJCLTYFBQQXPFBDFHHTKSQHZYYWCNXXCRWHOWGYJLEGWDQCWGFJYCSNTMYTOLBYGWQWESJPWNMLRYDZSZTXYQPZGCWXHNGPYXSHMYQJXZTDPPBFYHZHTJYFDZWKGKZBLDNTSXHQEEGZZYLZMMZYJZGXZXKHKSTXNXXWYLYAPSTHXDWHZYMPXAGKYDXBHNHXKDPJNMYHYLPMGOCSLNZHKXXLPZZLBMLSFBHHGYGYYGGBHSCYAQTYWLXTZQCEZYDQDQMMHTKLLSZHLSJZWFYHQSWSCWLQAZYNYTLSXTHAZNKZZSZZLAXXZWWCTGQQTDDYZTCCHYQZFLXPSLZYGPZSZNGLNDQTBDLXGTCTAJDKYWNSYZLJHHZZCWNYYZYWMHYCHHYXHJKZWSXHZYXLYSKQYSPSLYZWMYPPKBYGLKZHTYXAXQSYSHXASMCHKDSCRSWJPWXSGZJLWWSCHSJHSQNHCSEGNDAQTBAALZZMSSTDQJCJKTSCJAXPLGGXHHGXXZCXPDMMHLDGTYBYSJMXHMRCPXXJZCKZXSHMLQXXTTHXWZFKHCCZDYTCJYXQHLXDHYPJQXYLSYYDZOZJNYXQEZYSQYAYXWYPDGXDDXSPPYZNDLTWRHXYDXZZJHTCXMCZLHPYYYYMHZLLHNXMYLLLMDCPPXHMXDKYCYRDLTXJCHHZZXZLCCLYLNZSHZJZZLNNRLWHYQSNJHXYNTTTKYJPYCHHYEGKCTTWLGQRLGGTGTYGYHPYHYLQYQGCWYQKPYYYTTTTLHYHLLTYTTSPLKYZXGZWGPYDSSZZDQXSKCQNMJJZZBXYQMJRTFFBTKHZKBXLJJKDXJTLBWFZPPTKQTZTGPDGNTPJYFALQMKGXBDCLZFHZCLLLLADPMXDJHLCCLGYHDZFGYDDGCYYFGYDXKSSEBDHYKDKDKHNAXXYBPBYYHXZQGAFFQYJXDMLJCSQZLLPCHBSXGJYNDYBYQSPZWJLZKSDDTACTBXZDYZYPJZQSJNKKTKNJDJGYYPGTLFYQKASDNTCYHBLWDZHBBYDWJRYGKZYHEYYFJMSDTYFZJJHGCXPLXHLDWXXJKYTCYKSSSMTWCTTQZLPBSZDZWZXGZAGYKTYWXLHLSPBCLLOQMMZSSLCMBJCSZZKYDCZJGQQDSMCYTZQQLWZQZXSSFPTTFQMDDZDSHDTDWFHTDYZJYQJQKYPBDJYYXTLJHDRQXXXHAYDHRJLKLYTWHLLRLLRCXYLBWSRSZZSYMKZZHHKYHXKSMDSYDYCJPBZBSQLFCXXXNXKXWYWSDZYQOGGQMMYHCDZTTFJYYBGSTTTYBYKJDHKYXBELHTYPJQNFXFDYKZHQKZBYJTZBXHFDXKDASWTAWAJLDYJSFHBLDNNTNQJTJNCHXFJSRFWHZFMDRYJYJWZPDJKZYJYMPCYZNYNXFBYTFYFWYGDBNZZZDNYTXZEMMQBSQEHXFZMBMFLZZSRXYMJGSXWZJSPRYDJSJGXHJJGLJJYNZZJXHGXKYMLPYYYCXYTWQZSWHWLYRJLPXSLSXMFSWWKLCTNXNYNPSJSZHDZEPTXMYYWXYYSYWLXJQZQXZDCLEEELMCPJPCLWBXSQHFWWTFFJTNQJHJQDXHWLBYZNFJLALKYYJLDXHHYCSTYYWNRJYXYWTRMDRQHWQCMFJDYZMHMYYXJWMYZQZXTLMRSPWWCHAQBXYGZYPXYYRRCLMPYMGKSJSZYSRMYJSNXTPLNBAPPYPYLXYYZKYNLDZYJZCZNNLMZHHARQMPGWQTZMXXMLLHGDZXYHXKYXYCJMFFYYHJFSBSSQLXXNDYCANNMTCJCYPRRNYTYQNYYMBMSXNDLYLYSLJRLXYSXQMLLYZLZJJJKYZZCSFBZXXMSTBJGNXYZHLXNMCWSCYZYFZLXBRNNNYLBNRTGZQYSATSWRYHYJZMZDHZGZDWYBSSCSKXSYHYTXXGCQGXZZSHYXJSCRHMKKBXCZJYJYMKQHZJFNBHMQHYSNJNZYBKNQMCLGQHWLZNZSWXKHLJHYYBQLBFCDSXDLDSPFZPSKJYZWZXZDDXJSMMEGJSCSSMGCLXXKYYYLNYPWWWGYDKZJGGGZGGSYCKNJWNJPCXBJJTQTJWDSSPJXZXNZXUMELPXFSXTLLXCLJXJJLJZXCTPSWXLYDHLYQRWHSYCSQYYBYAYWJJJQFWQCQQCJQGXALDBZZYJGKGXPLTZYFXJLTPADKYQHPMATLCPDCKBMTXYBHKLENXDLEEGQDYMSAWHZMLJTWYGXLYQZLJEEYYBQQFFNLYXRDSCTGJGXYYNKLLYQKCCTLHJLQMKKZGCYYGLLLJDZGYDHZWXPYSJBZKDZGYZZHYWYFQYTYZSZYEZZLYMHJJHTSMQWYZLKYYWZCSRKQYTLTDXWCTYJKLWSQZWBDCQYNCJSRSZJLKCDCDTLZZZACQQZZDDXYPLXZBQJYLZLLLQDDZQJYJYJZYXNYYYNYJXKXDAZWYRDLJYYYRJLXLLDYXJCYWYWNQCCLDDNYYYNYCKCZHXXCCLGZQJGKWPPCQQJYSBZZXYJSQPXJPZBSBDSFNSFPZXHDWZTDWPPTFLZZBZDMYYPQJRSDZSQZSQXBDGCPZSWDWCSQZGMDHZXMWWFYBPDGPHTMJTHZSMMBGZMBZJCFZWFZBBZMQCFMBDMCJXLGPNJBBXGYHYYJGPTZGZMQBQTCGYXJXLWZKYDPDYMGCFTPFXYZTZXDZXTGKMTYBBCLBJASKYTSSQYYMSZXFJEWLXLLSZBQJJJAKLYLXLYCCTSXMCWFKKKBSXLLLLJYXTYLTJYYTDPJHNHNNKBYQNFQYYZBYYESSESSGDYHFHWTCJBSDZZTFDMXHCNJZYMQWSRYJDZJQPDQBBSTJGGFBKJBXTGQHNGWJXJGDLLTHZHHYYYYYYSXWTYYYCCBDBPYPZYCCZYJPZYWCBDLFWZCWJDXXHYHLHWZZXJTCZLCDPXUJCZZZLYXJJTXPHFXWPYWXZPTDZZBDZCYHJHMLXBQXSBYLRDTGJRRCTTTHYTCZWMXFYTWWZCWJWXJYWCSKYBZSCCTZQNHXNWXXKHKFHTSWOCCJYBCMPZZYKBNNZPBZHHZDLSYDDYTYFJPXYNGFXBYQXCBHXCPSXTYZDMKYSNXSXLHKMZXLYHDHKWHXXSSKQYHHCJYXGLHZXCSNHEKDTGZXQYPKDHEXTYKCNYMYYYPKQYYYKXZLTHJQTBYQHXBMYHSQCKWWYLLHCYYLNNEQXQWMCFBDCCMLJGGXDQKTLXKGNQCDGZJWYJJLYHHQTTTNWCHMXCXWHWSZJYDJCCDBQCDGDNYXZTHCQRXCBHZTQCBXWGQWYYBXHMBYMYQTYEXMQKYAQYRGYZSLFYKKQHYSSQYSHJGJCNXKZYCXSBXYXHYYLSTYCXQTHYSMGSCPMMGCCCCCMTZTASMGQZJHKLOSQYLSWTMXSYQKDZLJQQYPLSYCZTCQQPBBQJZCLPKHQZYYXXDTDDTSJCXFFLLCHQXMJLWCJCXTSPYCXNDTJSHJWXDQQJSKXYAMYLSJHMLALYKXCYYDMNMDQMXMCZNNCYBZKKYFLMCHCMLHXRCJJHSYLNMTJZGZGYWJXSRXCWJGJQHQZDQJDCJJZKJKGDZQGJJYJYLXZXXCDQHHHEYTMHLFSBDJSYYSHFYSTCZQLPBDRFRZTZYKYWHSZYQKWDQZRKMSYNBCRXQBJYFAZPZZEDZCJYWBCJWHYJBQSZYWRYSZPTDKZPFPBNZTKLQYHBBZPNPPTYZZYBQNYDCPJMMCYCQMCYFZZDCMNLFPBPLNGQJTBTTNJZPZBBZNJKLJQYLNBZQHKSJZNGGQSZZKYXSHPZSNBCGZKDDZQANZHJKDRTLZLSWJLJZLYWTJNDJZJHXYAYNCBGTZCSSQMNJPJYTYSWXZFKWJQTKHTZPLBHSNJZSYZBWZZZZLSYLSBJHDWWQPSLMMFBJDWAQYZTCJTBNNWZXQXCDSLQGDSDPDZHJTQQPSWLYYJZLGYXYZLCTCBJTKTYCZJTQKBSJLGMGZDMCSGPYNJZYQYYKNXRPWSZXMTNCSZZYXYBYHYZAXYWQCJTLLCKJJTJHGDXDXYQYZZBYWDLWQCGLZGJGQRQZCZSSBCRPCSKYDZNXJSQGXSSJMYDNSTZTPBDLTKZWXQWQTZEXNQCZGWEZKSSBYBRTSSSLCCGBPSZQSZLCCGLLLZXHZQTHCZMQGYZQZNMCOCSZJMMZSQPJYGQLJYJPPLDXRGZYXCCSXHSHGTZNLZWZKJCXTCFCJXLBMQBCZZWPQDNHXLJCTHYZLGYLNLSZZPCXDSCQQHJQKSXZPBAJYEMSMJTZDXLCJYRYYNWJBNGZZTMJXLTBSLYRZPYLSSCNXPHLLHYLLQQZQLXYMRSYCXZLMMCZLTZSDWTJJLLNZGGQXPFSKYGYGHBFZPDKMWGHCXMSGDXJMCJZDYCABXJDLNBCDQYGSKYDQTXDJJYXMSZQAZDZFSLQXYJSJZYLBTXXWXQQZBJZUFBBLYLWDSLJHXJYZJWTDJCZFQZQZZDZSXZZQLZCDZFJHYSPYMPQZMLPPLFFXJJNZZYLSJEYQZFPFZKSYWJJJHRDJZZXTXXGLGHYDXCSKYSWMMZCWYBAZBJKSHFHJCXMHFQHYXXYZFTSJYZFXYXPZLCHMZMBXHZZSXYFYMNCWDABAZLXKTCSHHXKXJJZJSTHYGXSXYYHHHJWXKZXSSBZZWHHHCWTZZZPJXSNXQQJGZYZYWLLCWXZFXXYXYHXMKYYSWSQMNLNAYCYSPMJKHWCQHYLAJJMZXHMMCNZHBHXCLXTJPLTXYJHDYYLTTXFSZHYXXSJBJYAYRSMXYPLCKDUYHLXRLNLLSTYZYYQYGYHHSCCSMZCTZQXKYQFPYYRPFFLKQUNTSZLLZMWWTCQQYZWTLLMLMPWMBZSSTZRBPDDTLQJJBXZCSRZQQYGWCSXFWZLXCCRSZDZMCYGGDZQSGTJSWLJMYMMZYHFBJDGYXCCPSHXNZCSBSJYJGJMPPWAFFYFNXHYZXZYLREMZGZCYZSSZDLLJCSQFNXZKPTXZGXJJGFMYYYSNBTYLBNLHPFZDCYFBMGQRRSSSZXYSGTZRNYDZZCDGPJAFJFZKNZBLCZSZPSGCYCJSZLMLRSZBZZLDLSLLYSXSQZQLYXZLSKKBRXBRBZCYCXZZZEEYFGKLZLYYHGZSGZLFJHGTGWKRAAJYZKZQTSSHJJXDCYZUYJLZYRZDQQHGJZXSSZBYKJPBFRTJXLLFQWJHYLQTYMBLPZDXTZYGBDHZZRBGXHWNJTJXLKSCFSMWLSDQYSJTXKZSCFWJLBXFTZLLJZLLQBLSQMQQCGCZFPBPHZCZJLPYYGGDTGWDCFCZQYYYQYSSCLXZSKLZZZGFFCQNWGLHQYZJJCZLQZZYJPJZZBPDCCMHJGXDQDGDLZQMFGPSYTSDYFWWDJZJYSXYYCZCYHZWPBYKXRYLYBHKJKSFXTZJMMCKHLLTNYYMSYXYZPYJQYCSYCWMTJJKQYRHLLQXPSGTLYYCLJSCPXJYZFNMLRGJJTYZBXYZMSJYJHHFZQMSYXRSZCWTLRTQZSSTKXGQKGSPTGCZNJSJCQCXHMXGGZTQYDJKZDLBZSXJLHYQGGGTHQSZPYHJHHGYYGKGGCWJZZYLCZLXQSFTGZSLLLMLJSKCTBLLZZSZMMNYTPZSXQHJCJYQXYZXZQZCPSHKZZYSXCDFGMWQRLLQXRFZTLYSTCTMJCXJJXHJNXTNRZTZFQYHQGLLGCXSZSJDJLJCYDSJTLNYXHSZXCGJZYQPYLFHDJSBPCCZHJJJQZJQDYBSSLLCMYTTMQTBHJQNNYGKYRQYQMZGCJKPDCGMYZHQLLSLLCLMHOLZGDYYFZSLJCQZLYLZQJESHNYLLJXGJXLYSYYYXNBZLJSSZCQQCJYLLZLTJYLLZLLBNYLGQCHXYYXOXCXQKYJXXXYKLXSXXYQXCYKQXQCSGYXXYQXYGYTQOHXHXPYXXXULCYEYCHZZCBWQBBWJQZSCSZSSLZYLKDESJZWMYMCYTSDSXXSCJPQQSQYLYYZYCMDJDZYWCBTJSYDJKCYDDJLBDJJSODZYSYXQQYXDHHGQQYQHDYXWGMMMAJDYBBBPPBCMUUPLJZSMTXERXJMHQNUTPJDCBSSMSSSTKJTSSMMTRCPLZSZMLQDSDMJMQPNQDXCFYNBFSDQXYXHYAYKQYDDLQYYYSSZBYDSLNTFQTZQPZMCHDHCZCWFDXTMYQSPHQYYXSRGJCWTJTZZQMGWJJTJHTQJBBHWZPXXHYQFXXQYWYYHYSCDYDHHQMNMTMWCPBSZPPZZGLMZFOLLCFWHMMSJZTTDHZZYFFYTZZGZYSKYJXQYJZQBHMBZZLYGHGFMSHPZFZSNCLPBQSNJXZSLXXFPMTYJYGBXLLDLXPZJYZJYHHZCYWHJYLSJEXFSZZYWXKZJLUYDTMLYMQJPWXYHXSKTQJEZRPXXZHHMHWQPWQLYJJQJJZSZCPHJLCHHNXJLQWZJHBMZYXBDHHYPZLHLHLGFWLCHYYTLHJXCJMSCPXSTKPNHQXSRTYXXTESYJCTLSSLSTDLLLWWYHDHRJZSFGXTSYCZYNYHTDHWJSLHTZDQDJZXXQHGYLTZPHCSQFCLNJTCLZPFSTPDYNYLGMJLLYCQHYSSHCHYLHQYQTMZYPBYWRFQYKQSYSLZDQJMPXYYSSRHZJNYWTQDFZBWWTWWRXCWHGYHXMKMYYYQMSMZHNGCEPMLQQMTCWCTMMPXJPJJHFXYYZSXZHTYBMSTSYJTTQQQYYLHYNPYQZLCYZHZWSMYLKFJXLWGXYPJYTYSYXYMZCKTTWLKSMZSYLMPWLZWXWQZSSAQSYXYRHSSNTSRAPXCPWCMGDXHXZDZYFJHGZTTSBJHGYZSZYSMYCLLLXBTYXHBBZJKSSDMALXHYCFYGMQYPJYCQXJLLLJGSLZGQLYCJCCZOTYXMTMTTLLWTGPXYMZMKLPSZZZXHKQYSXCTYJZYHXSHYXZKXLZWPSQPYHJWPJPWXQQYLXSDHMRSLZZYZWTTCYXYSZZSHBSCCSTPLWSSCJCHNLCGCHSSPHYLHFHHXJSXYLLNYLSZDHZXYLSXLWZYKCLDYAXZCMDDYSPJTQJZLNWQPSSSWCTSTSZLBLNXSMNYYMJQBQHRZWTYYDCHQLXKPZWBGQYBKFCMZWPZLLYYLSZYDWHXPSBCMLJBSCGBHXLQHYRLJXYSWXWXZSLDFHLSLYNJLZYFLYJYCDRJLFSYZFSLLCQYQFGJYHYXZLYLMSTDJCYHBZLLNWLXXYGYYHSMGDHXXHHLZZJZXCZZZCYQZFNGWPYLCPKPYYPMCLQKDGXZGGWQBDXZZKZFBXXLZXJTPJPTTBYTSZZDWSLCHZHSLTYXHQLHYXXXYYZYSWTXZKHLXZXZPYHGCHKCFSYHUTJRLXFJXPTZTWHPLYXFCRHXSHXKYXXYHZQDXQWULHYHMJTBFLKHTXCWHJFWJCFPQRYQXCYYYQYGRPYWSGSUNGWCHKZDXYFLXXHJJBYZWTSXXNCYJJYMSWZJQRMHXZWFQSYLZJZGBHYNSLBGTTCSYBYXXWXYHXYYXNSQYXMQYWRGYQLXBBZLJSYLPSYTJZYHYZAWLRORJMKSCZJXXXYXCHDYXRYXXJDTSQFXLYLTSFFYXLMTYJMJUYYYXLTZCSXQZQHZXLYYXZHDNBRXXXJCTYHLBRLMBRLLAXKYLLLJLYXXLYCRYLCJTGJCMTLZLLCYZZPZPCYAWHJJFYBDYYZSMPCKZDQYQPBPCJPDCYZMDPBCYYDYCNNPLMTMLRMFMMGWYZBSJGYGSMZQQQZTXMKQWGXLLPJGZBQCDJJJFPKJKCXBLJMSWMDTQJXLDLPPBXCWRCQFBFQJCZAHZGMYKPHYYHZYKNDKZMBPJYXPXYHLFPNYYGXJDBKXNXHJMZJXSTRSTLDXSKZYSYBZXJLXYSLBZYSLHXJPFXPQNBYLLJQKYGZMCYZZYMCCSLCLHZFWFWYXZMWSXTYNXJHPYYMCYSPMHYSMYDYSHQYZCHMJJMZCAAGCFJBBHPLYZYLXXSDJGXDHKXXTXXNBHRMLYJSLTXMRHNLXQJXYZLLYSWQGDLBJHDCGJYQYCMHWFMJYBMBYJYJWYMDPWHXQLDYGPDFXXBCGJSPCKRSSYZJMSLBZZJFLJJJLGXZGYXYXLSZQYXBEXYXHGCXBPLDYHWETTWWCJMBTXCHXYQXLLXFLYXLLJLSSFWDPZSMYJCLMWYTCZPCHQEKCQBWLCQYDPLQPPQZQFJQDJHYMMCXTXDRMJWRHXCJZYLQXDYYNHYYHRSLSRSYWWZJYMTLTLLGTQCJZYABTCKZCJYCCQLJZQXALMZYHYWLWDXZXQDLLQSHGPJFJLJHJABCQZDJGTKHSSTCYJLPSWZLXZXRWGLDLZRLZXTGSLLLLZLYXXWGDZYGBDPHZPBRLWSXQBPFDWOFMWHLYPCBJCCLDMBZPBZZLCYQXLDOMZBLZWPDWYYGDSTTHCSQSCCRSSSYSLFYBFNTYJSZDFNDPDHDZZMBBLSLCMYFFGTJJQWFTMTPJWFNLBZCMMJTGBDZLQLPYFHYYMJYLSDCHDZJWJCCTLJCLDTLJJCPDDSQDSSZYBNDBJLGGJZXSXNLYCYBJXQYCBYLZCFZPPGKCXZDZFZTJJFJSJXZBNZYJQTTYJYHTYCZHYMDJXTTMPXSPLZCDWSLSHXYPZGTFMLCJTYCBPMGDKWYCYZCDSZZYHFLYCTYGWHKJYYLSJCXGYWJCBLLCSNDDBTZBSCLYZCZZSSQDLLMQYYHFSLQLLXFTYHABXGWNYWYYPLLSDLDLLBJCYXJZMLHLJDXYYQYTDLLLBUGBFDFBBQJZZMDPJHGCLGMJJPGAEHHBWCQXAXHHHZCHXYPHJAXHLPHJPGPZJQCQZGJJZZUZDMQYYBZZPHYHYBWHAZYJHYKFGDPFQSDLZMLJXKXGALXZDAGLMDGXMWZQYXXDXXPFDMMSSYMPFMDMMKXKSYZYSHDZKXSYSMMZZZMSYDNZZCZXFPLSTMZDNMXCKJMZTYYMZMZZMSXHHDCZJEMXXKLJSTLWLSQLYJZLLZJSSDPPMHNLZJCZYHMXXHGZCJMDHXTKGRMXFWMCGMWKDTKSXQMMMFZZYDKMSCLCMPCGMHSPXQPZDSSLCXKYXTWLWJYAHZJGZQMCSNXYYMMPMLKJXMHLMLQMXCTKZMJQYSZJSYSZHSYJZJCDAJZYBSDQJZGWZQQXFKDMSDJLFWEHKZQKJPEYPZYSZCDWYJFFMZZYLTTDZZEFMZLBNPPLPLPEPSZALLTYLKCKQZKGENQLWAGYXYDPXLHSXQQWQCQXQCLHYXXMLYCCWLYMQYSKGCHLCJNSZKPYZKCQZQLJPDMDZHLASXLBYDWQLWDNBQCRYDDZTJYBKBWSZDXDTNPJDTCTQDFXQQMGNXECLTTBKPWSLCTYQLPWYZZKLPYGZCQQPLLKCCYLPQMZCZQCLJSLQZDJXLDDHPZQDLJJXZQDXYZQKZLJCYQDYJPPYPQYKJYRMPCBYMCXKLLZLLFQPYLLLMBSGLCYSSLRSYSQTMXYXZQZFDZUYSYZTFFMZZSMZQHZSSCCMLYXWTPZGXZJGZGSJSGKDDHTQGGZLLBJDZLCBCHYXYZHZFYWXYZYMSDBZZYJGTSMTFXQYXQSTDGSLNXDLRYZZLRYYLXQHTXSRTZNGZXBNQQZFMYKMZJBZYMKBPNLYZPBLMCNQYZZZSJZHJCTZKHYZZJRDYZHNPXGLFZTLKGJTCTSSYLLGZRZBBQZZKLPKLCZYSSUYXBJFPNJZZXCDWXZYJXZZDJJKGGRSRJKMSMZJLSJYWQSKYHQJSXPJZZZLSNSHRNYPZTWCHKLPSRZLZXYJQXQKYSJYCZTLQZYBBYBWZPQDWWYZCYTJCJXCKCWDKKZXSGKDZXWWYYJQYYTCYTDLLXWKCZKKLCCLZCQQDZLQLCSFQCHQHSFSMQZZLNBJJZBSJHTSZDYSJQJPDLZCDCWJKJZZLPYCGMZWDJJBSJQZSYZYHHXJPBJYDSSXDZNCGLQMBTSFSBPDZDLZNFGFJGFSMPXJQLMBLGQCYYXBQKDJJQYRFKZTJDHCZKLBSDZCFJTPLLJGXHYXZCSSZZXSTJYGKGCKGYOQXJPLZPBPGTGYJZGHZQZZLBJLSQFZGKQQJZGYCZBZQTLDXRJXBSXXPZXHYZYCLWDXJJHXMFDZPFZHQHQMQGKSLYHTYCGFRZGNQXCLPDLBZCSCZQLLJBLHBZCYPZZPPDYMZZSGYHCKCPZJGSLJLNSCDSLDLXBMSTLDDFJMKDJDHZLZXLSZQPQPGJLLYBDSZGQLBZLSLKYYHZTTNTJYQTZZPSZQZTLLJTYYLLQLLQYZQLBDZLSLYYZYMDFSZSNHLXZNCZQZPBWSKRFBSYZMTHBLGJPMCZZLSTLXSHTCSYZLZBLFEQHLXFLCJLYLJQCBZLZJHHSSTBRMHXZHJZCLXFNBGXGTQJCZTMSFZKJMSSNXLJKBHSJXNTNLZDNTLMSJXGZJYJCZXYJYJWRWWQNZTNFJSZPZSHZJFYRDJSFSZJZBJFZQZZHZLXFYSBZQLZSGYFTZDCSZXZJBQMSZKJRHYJZCKMJKHCHGTXKXQGLXPXFXTRTYLXJXHDTSJXHJZJXZWZLCQSBTXWXGXTXXHXFTSDKFJHZYJFJXRZSDLLLTQSQQZQWZXSYQTWGWBZCGZLLYZBCLMQQTZHZXZXLJFRMYZFLXYSQXXJKXRMQDZDMMYYBSQBHGZMWFWXGMXLZPYYTGZYCCDXYZXYWGSYJYZNBHPZJSQSYXSXRTFYZGRHZTXSZZTHCBFCLSYXZLZQMZLMPLMXZJXSFLBYZMYQHXJSXRXSQZZZSSLYFRCZJRCRXHHZXQYDYHXSJJHZCXZBTYNSYSXJBQLPXZQPYMLXZKYXLXCJLCYSXXZZLXDLLLJJYHZXGYJWKJRWYHCPSGNRZLFZWFZZNSXGXFLZSXZZZBFCSYJDBRJKRDHHGXJLJJTGXJXXSTJTJXLYXQFCSGSWMSBCTLQZZWLZZKXJMLTMJYHSDDBXGZHDLBMYJFRZFSGCLYJBPMLYSMSXLSZJQQHJZFXGFQFQBPXZGYYQXGZTCQWYLTLGWSGWHRLFSFGZJMGMGBGTJFSYZZGZYZAFLSSPMLPFLCWBJZCLJJMZLPJJLYMQDMYYYFBGYGYZMLYZDXQYXRQQQHSYYYQXYLJTYXFSFSLLGNQCYHYCWFHCCCFXPYLYPLLZYXXXXXKQHHXSHJZCFZSCZJXCPZWHHHHHAPYLQALPQAFYHXDYLUKMZQGGGDDESRNNZLTZGCHYPPYSQJJHCLLJTOLNJPZLJLHYMHEYDYDSQYCDDHGZUNDZCLZYZLLZNTNYZGSLHSLPJJBDGWXPCDUTJCKLKCLWKLLCASSTKZZDNQNTTLYYZSSYSSZZRYLJQKCQDHHCRXRZYDGRGCWCGZQFFFPPJFZYNAKRGYWYQPQXXFKJTSZZXSWZDDFBBXTBGTZKZNPZZPZXZPJSZBMQHKCYXYLDKLJNYPKYGHGDZJXXEAHPNZKZTZCMXCXMMJXNKSZQNMNLWBWWXJKYHCPSTMCSQTZJYXTPCTPDTNNPGLLLZSJLSPBLPLQHDTNJNLYYRSZFFJFQWDPHZDWMRZCCLODAXNSSNYZRESTYJWJYJDBCFXNMWTTBYLWSTSZGYBLJPXGLBOCLHPCBJLTMXZLJYLZXCLTPNCLCKXTPZJSWCYXSFYSZDKNTLBYJCYJLLSTGQCBXRYZXBXKLYLHZLQZLNZCXWJZLJZJNCJHXMNZZGJZZXTZJXYCYYCXXJYYXJJXSSSJSTSSTTPPGQTCSXWZDCSYFPTFBFHFBBLZJCLZZDBXGCXLQPXKFZFLSYLTUWBMQJHSZBMDDBCYSCCLDXYCDDQLYJJWMQLLCSGLJJSYFPYYCCYLTJANTJJPWYCMMGQYYSXDXQMZHSZXPFTWWZQSWQRFKJLZJQQYFBRXJHHFWJJZYQAZMYFRHCYYBYQWLPEXCCZSTYRLTTDMQLYKMBBGMYYJPRKZNPBSXYXBHYZDJDNGHPMFSGMWFZMFQMMBCMZZCJJLCNUXYQLMLRYGQZCYXZLWJGCJCGGMCJNFYZZJHYCPRRCMTZQZXHFQGTJXCCJEAQCRJYHPLQLSZDJRBCQHQDYRHYLYXJSYMHZYDWLDFRYHBPYDTSSCNWBXGLPZMLZZTQSSCPJMXXYCSJYTYCGHYCJWYRXXLFEMWJNMKLLSWTXHYYYNCMMCWJDQDJZGLLJWJRKHPZGGFLCCSCZMCBLTBHBQJXQDSPDJZZGKGLFQYWBZYZJLTSTDHQHCTCBCHFLQMPWDSHYYTQWCNZZJTLBYMBPDYYYXSQKXWYYFLXXNCWCXYPMAELYKKJMZZZBRXYYQJFLJPFHHHYTZZXSGQQMHSPGDZQWBWPJHZJDYSCQWZKTXXSQLZYYMYSDZGRXCKKUJLWPYSYSCSYZLRMLQSYLJXBCXTLWDQZPCYCYKPPPNSXFYZJJRCEMHSZMSXLXGLRWGCSTLRSXBZGBZGZTCPLUJLSLYLYMTXMTZPALZXPXJTJWTCYYZLBLXBZLQMYLXPGHDSLSSDMXMBDZZSXWHAMLCZCPJMCNHJYSNSYGCHSKQMZZQDLLKABLWJXSFMOCDXJRRLYQZKJMYBYQLYHETFJZFRFKSRYXFJTWDSXXSYSQJYSLYXWJHSNLXYYXHBHAWHHJZXWMYLJCSSLKYDZTXBZSYFDXGXZJKHSXXYBSSXDPYNZWRPTQZCZENYGCXQFJYKJBZMLJCMQQXUOXSLYXXLYLLJDZBTYMHPFSTTQQWLHOKYBLZZALZXQLHZWRRQHLSTMYPYXJJXMQSJFNBXYXYJXXYQYLTHYLQYFMLKLJTMLLHSZWKZHLJMLHLJKLJSTLQXYLMBHHLNLZXQJHXCFXXLHYHJJGBYZZKBXSCQDJQDSUJZYYHZHHMGSXCSYMXFEBCQWWRBPYYJQTYZCYQYQQZYHMWFFHGZFRJFCDPXNTQYZPDYKHJLFRZXPPXZDBBGZQSTLGDGYLCQMLCHHMFYWLZYXKJLYPQHSYWMQQGQZMLZJNSQXJQSYJYCBEHSXFSZPXZWFLLBCYYJDYTDTHWZSFJMQQYJLMQXXLLDTTKHHYBFPWTYYSQQWNQWLGWDEBZWCMYGCULKJXTMXMYJSXHYBRWFYMWFRXYQMXYSZTZZTFYKMLDHQDXWYYNLCRYJBLPSXCXYWLSPRRJWXHQYPHTYDNXHHMMYWYTZCSQMTSSCCDALWZTCPQPYJLLQZYJSWXMZZMMYLMXCLMXCZMXMZSQTZPPQQBLPGXQZHFLJJHYTJSRXWZXSCCDLXTYJDCQJXSLQYCLZXLZZXMXQRJMHRHZJBHMFLJLMLCLQNLDXZLLLPYPSYJYSXCQQDCMQJZZXHNPNXZMEKMXHYKYQLXSXTXJYYHWDCWDZHQYYBGYBCYSCFGPSJNZDYZZJZXRZRQJJYMCANYRJTLDPPYZBSTJKXXZYPFDWFGZZRPYMTNGXZQBYXNBUFNQKRJQZMJEGRZGYCLKXZDSKKNSXKCLJSPJYYZLQQJYBZSSQLLLKJXTBKTYLCCDDBLSPPFYLGYDTZJYQGGKQTTFZXBDKTYYHYBBFYTYYBCLPDYTGDHRYRNJSPTCSNYJQHKLLLZSLYDXXWBCJQSPXBPJZJCJDZFFXXBRMLAZHCSNDLBJDSZBLPRZTSWSBXBCLLXXLZDJZSJPYLYXXYFTFFFBHJJXGBYXJPMMMPSSJZJMTLYZJXSWXTYLEDQPJMYGQZJGDJLQJWJQLLSJGJGYGMSCLJJXDTYGJQJQJCJZCJGDZZSXQGSJGGCXHQXSNQLZZBXHSGZXCXYLJXYXYYDFQQJHJFXDHCTXJYRXYSQTJXYEFYYSSYYJXNCYZXFXMSYSZXYYSCHSHXZZZGZZZGFJDLTYLNPZGYJYZYYQZPBXQBDZTZCZYXXYHHSQXSHDHGQHJHGYWSZTMZMLHYXGEBTYLZKQWYTJZRCLEKYSTDBCYKQQSAYXCJXWWGSBHJYZYDHCSJKQCXSWXFLTYNYZPZCCZJQTZWJQDZZZQZLJJXLSBHPYXXPSXSHHEZTXFPTLQYZZXHYTXNCFZYYHXGNXMYWXTZSJPTHHGYMXMXQZXTSBCZYJYXXTYYZYPCQLMMSZMJZZLLZXGXZAAJZYXJMZXWDXZSXZDZXLEYJJZQBHZWZZZQTZPSXZTDSXJJJZNYAZPHXYYSRNQDTHZHYYKYJHDZXZLSWCLYBZYECWCYCRYLCXNHZYDZYDYJDFRJJHTRSQTXYXJRJHOJYNXELXSFSFJZGHPZSXZSZDZCQZBYYKLSGSJHCZSHDGQGXYZGXCHXZJWYQWGYHKSSEQZZNDZFKWYSSTCLZSTSYMCDHJXXYWEYXCZAYDMPXMDSXYBSQMJMZJMTZQLPJYQZCGQHXJHHLXXHLHDLDJQCLDWBSXFZZYYSCHTYTYYBHECXHYKGJPXHHYZJFXHWHBDZFYZBCAPNPGNYDMSXHMMMMAMYNBYJTMPXYYMCTHJBZYFCGTYHWPHFTWZZEZSBZEGPFMTSKFTYCMHFLLHGPZJXZJGZJYXZSBBQSCZZLZCCSTPGXMJSFTCCZJZDJXCYBZLFCJSYZFGSZLYBCWZZBYZDZYPSWYJZXZBDSYUXLZZBZFYGCZXBZHZFTPBGZGEJBSTGKDMFHYZZJHZLLZZGJQZLSFDJSSCBZGPDLFZFZSZYZYZSYGCXSNXXCHCZXTZZLJFZGQSQYXZJQDCCZTQCDXZJYQJQCHXZTDLGSCXZSYQJQTZWLQDQZTQCHQQJZYEZZZPBWKDJFCJPZTYPQYQTTYNLMBDKTJZPQZQZZFPZSBNJLGYJDXJDZZKZGQKXDLPZJTCJDQBXDJQJSTCKNXBXZMSLYJCQMTJQWWCJQNJNLLLHJCWQTBZQYDZCZPZZDZYDDCYZZZCCJTTJFZDPRRTZTJDCQTQZDTJNPLZBCLLCTZSXKJZQZPZLBZRBTJDCXFCZDBCCJJLTQQPLDCGZDBBZJCQDCJWYNLLZYZCCDWLLXWZLXRXNTQQCZXKQLSGDFQTDDGLRLAJJTKUYMKQLLTZYTDYYCZGJWYXDXFRSKSTQTENQMRKQZHHQKDLDAZFKYPBGGPZREBZZYKZZSPEGJXGYKQZZZSLYSYYYZWFQZYLZZLZHWCHKYPQGNPGBLPLRRJYXCCSYYHSFZFYBZYYTGZXYLXCZWXXZJZBLFFLGSKHYJZEYJHLPLLLLCZGXDRZELRHGKLZZYHZLYQSZZJZQLJZFLNBHGWLCZCFJYSPYXZLZLXGCCPZBLLCYBBBBUBBCBPCRNNZCZYRBFSRLDCGQYYQXYGMQZWTZYTYJXYFWTEHZZJYWLCCNTZYJJZDEDPZDZTSYQJHDYMBJNYJZLXTSSTPHNDJXXBYXQTZQDDTJTDYYTGWSCSZQFLSHLGLBCZPHDLYZJYCKWTYTYLBNYTSDSYCCTYSZYYEBHEXHQDTWNYGYCLXTSZYSTQMYGZAZCCSZZDSLZCLZRQXYYELJSBYMXSXZTEMBBLLYYLLYTDQYSHYMRQWKFKBFXNXSBYCHXBWJYHTQBPBSBWDZYLKGZSKYHXQZJXHXJXGNLJKZLYYCDXLFYFGHLJGJYBXQLYBXQPQGZTZPLNCYPXDJYQYDYMRBESJYYHKXXSTMXRCZZYWXYQYBMCLLYZHQYZWQXDBXBZWZMSLPDMYSKFMZKLZCYQYCZLQXFZZYDQZPZYGYJYZMZXDZFYFYTTQTZHGSPCZMLCCYTZXJCYTJMKSLPZHYSNZLLYTPZCTZZCKTXDHXXTQCYFKSMQCCYYAZHTJPCYLZLYJBJXTPNYLJYYNRXSYLMMNXJSMYBCSYSYLZYLXJJQYLDZLPQBFZZBLFNDXQKCZFYWHGQMRDSXYCYTXNQQJZYYPFZXDYZFPRXEJDGYQBXRCNFYYQPGHYJDYZXGRHTKYLNWDZNTSMPKLBTHBPYSZBZTJZSZZJTYYXZPHSSZZBZCZPTQFZMYFLYPYBBJQXZMXXDJMTSYSKKBJZXHJCKLPSMKYJZCXTMLJYXRZZQSLXXQPYZXMKYXXXJCLJPRMYYGADYSKQLSNDHYZKQXZYZTCGHZTLMLWZYBWSYCTBHJHJFCWZTXWYTKZLXQSHLYJZJXTMPLPYCGLTBZZTLZJCYJGDTCLKLPLLQPJMZPAPXYZLKKTKDZCZZBNZDYDYQZJYJGMCTXLTGXSZLMLHBGLKFWNWZHDXUHLFMKYSLGXDTWWFRJEJZTZHYDXYKSHWFZCQSHKTMQQHTZHYMJDJSKHXZJZBZZXYMPAGQMSTPXLSKLZYNWRTSQLSZBPSPSGZWYHTLKSSSWHZZLYYTNXJGMJSZSUFWNLSOZTXGXLSAMMLBWLDSZYLAKQCQCTMYCFJBSLXCLZZCLXXKSBZQCLHJPSQPLSXXCKSLNHPSFQQYTXYJZLQLDXZQJZDYYDJNZPTUZDSKJFSLJHYLZSQZLBTXYDGTQFDBYAZXDZHZJNHHQBYKNXJJQCZMLLJZKSPLDYCLBBLXKLELXJLBQYCXJXGCNLCQPLZLZYJTZLJGYZDZPLTQCSXFDMNYCXGBTJDCZNBGBQYQJWGKFHTNPYQZQGBKPBBYZMTJDYTBLSQMPSXTBNPDXKLEMYYCJYNZCTLDYKZZXDDXHQSHDGMZSJYCCTAYRZLPYLTLKXSLZCGGEXCLFXLKJRTLQJAQZNCMBYDKKCXGLCZJZXJHPTDJJMZQYKQSECQZDSHHADMLZFMMZBGNTJNNLGBYJBRBTMLBYJDZXLCJLPLDLPCQDHLXZLYCBLCXZZJADJLNZMMSSSMYBHBSQKBHRSXXJMXSDZNZPXLGBRHWGGFCXGMSKLLTSJYYCQLTSKYWYYHYWXBXQYWPYWYKQLSQPTNTKHQCWDQKTWPXXHCPTHTWUMSSYHBWCRWXHJMKMZNGWTMLKFGHKJYLSYYCXWHYECLQHKQHTTQKHFZLDXQWYZYYDESBPKYRZPJFYYZJCEQDZZDLATZBBFJLLCXDLMJSSXEGYGSJQXCWBXSSZPDYZCXDNYXPPZYDLYJCZPLTXLSXYZYRXCYYYDYLWWNZSAHJSYQYHGYWWAXTJZDAXYSRLTDPSSYYFNEJDXYZHLXLLLZQZSJNYQYQQXYJGHZGZCYJCHZLYCDSHWSHJZYJXCLLNXZJJYYXNFXMWFPYLCYLLABWDDHWDXJMCXZTZPMLQZHSFHZYNZTLLDYWLSLXHYMMYLMBWWKYXYADTXYLLDJPYBPWUXJMWMLLSAFDLLYFLBHHHBQQLTZJCQJLDJTFFKMMMBYTHYGDCQRDDWRQJXNBYSNWZDBYYTBJHPYBYTTJXAAHGQDQTMYSTQXKBTZPKJLZRBEQQSSMJJBDJOTGTBXPGBKTLHQXJJJCTHXQDWJLWRFWQGWSHCKRYSWGFTGYGBXSDWDWRFHWYTJJXXXJYZYSLPYYYPAYXHYDQKXSHXYXGSKQHYWFDDDPPLCJLQQEEWXKSYYKDYPLTJTHKJLTCYYHHJTTPLTZZCDLTHQKZXQYSTEEYWYYZYXXYYSTTJKLLPZMCYHQGXYHSRMBXPLLNQYDQHXSXXWGDQBSHYLLPJJJTHYJKYPPTHYYKTYEZYENMDSHLCRPQFDGFXZPSFTLJXXJBSWYYSKSFLXLPPLBBBLBSFXFYZBSJSSYLPBBFFFFSSCJDSTZSXZRYYSYFFSYZYZBJTBCTSBSDHRTJJBYTCXYJEYLXCBNEBJDSYXYKGSJZBXBYTFZWGENYHHTHZHHXFWGCSTBGXKLSXYWMTMBYXJSTZSCDYQRCYTWXZFHMYMCXLZNSDJTTTXRYCFYJSBSDYERXJLJXBBDEYNJGHXGCKGSCYMBLXJMSZNSKGXFBNBPTHFJAAFXYXFPXMYPQDTZCXZZPXRSYWZDLYBBKTYQPQJPZYPZJZNJPZJLZZFYSBTTSLMPTZRTDXQSJEHBZYLZDHLJSQMLHTXTJECXSLZZSPKTLZKQQYFSYGYWPCPQFHQHYTQXZKRSGTTSQCZLPTXCDYYZXSQZSLXLZMYCPCQBZYXHBSXLZDLTCDXTYLZJYYZPZYZLTXJSJXHLPMYTXCQRBLZSSFJZZTNJYTXMYJHLHPPLCYXQJQQKZZSCPZKSWALQSBLCCZJSXGWWWYGYKTJBBZTDKHXHKGTGPBKQYSLPXPJCKBMLLXDZSTBKLGGQKQLSBKKTFXRMDKBFTPZFRTBBRFERQGXYJPZSSTLBZTPSZQZSJDHLJQLZBPMSMMSXLQQNHKNBLRDDNXXDHDDJCYYGYLXGZLXSYGMQQGKHBPMXYXLYTQWLWGCPBMQXCYZYDRJBHTDJYHQSHTMJSBYPLWHLZFFNYPMHXXHPLTBQPFBJWQDBYGPNZTPFZJGSDDTQSHZEAWZZYLLTYYBWJKXXGHLFKXDJTMSZSQYNZGGSWQSPHTLSSKMCLZXYSZQZXNCJDQGZDLFNYKLJCJLLZLMZZNHYDSSHTHZZLZZBBHQZWWYCRZHLYQQJBEYFXXXWHSRXWQHWPSLMSSKZTTYGYQQWRSLALHMJTQJSMXQBJJZJXZYZKXBYQXBJXSHZTSFJLXMXZXFGHKZSZGGYLCLSARJYHSLLLMZXELGLXYDJYTLFBHBPNLYZFBBHPTGJKWETZHKJJXZXXGLLJLSTGSHJJYQLQZFKCGNNDJSSZFDBCTWWSEQFHQJBSAQTGYPQLBXBMMYWXGSLZHGLZGQYFLZBYFZJFRYSFMBYZHQGFWZSYFYJJPHZBYYZFFWODGRLMFTWLBZGYCQXCDJYGZYYYYTYTYDWEGAZYHXJLZYYHLRMGRXXZCLHNELJJTJTPWJYBJJBXJJTJTEEKHWSLJPLPSFYZPQQBDLQJJTYYQLYZKDKSQJYYQZLDQTGJQYZJSUCMRYQTHTEJMFCTYHYPKMHYZWJDQFHYYXWSHCTXRLJHQXHCCYYYJLTKTTYTMXGTCJTZAYYOCZLYLBSZYWJYTSJYHBYSHFJLYGJXXTMZYYLTXXYPZLXYJZYZYYPNHMYMDYYLBLHLSYYQQLLNJJYMSOYQBZGDLYXYLCQYXTSZEGXHZGLHWBLJHEYXTWQMAKBPQCGYSHHEGQCMWYYWLJYJHYYZLLJJYLHZYHMGSLJLJXCJJYCLYCJPCPZJZJMMYLCQLNQLJQJSXYJMLSZLJQLYCMMHCFMMFPQQMFYLQMCFFQMMMMHMZNFHHJGTTHHKHSLNCHHYQDXTMMQDCYZYXYQMYQYLTDCYYYZAZZCYMZYDLZFFFMMYCQZWZZMABTBYZTDMNZZGGDFTYPCGQYTTSSFFWFDTZQSSYSTWXJHXYTSXXYLBYQHWWKXHZXWZNNZZJZJJQJCCCHYYXBZXZCYZTLLCQXYNJYCYYCYNZZQYYYEWYCZDCJYCCHYJLBTZYYCQWMPWPYMLGKDLDLGKQQBGYCHJXY"}),require.config({shim:{underscore:{exports:"_"},backbone:{deps:["underscore","jquery"],exports:"Backbone"}},paths:{jquery:"lib/jquery","jquery.ui.core":"lib/jquery.ui.core","jquery.ui.widget":"lib/jquery.ui.widget.1.11.1","jquery.ui.progressbar":"lib/jquery.ui.progressbar","jquery.ui.tabs":"lib/jquery.ui.tabs",tmpl:"lib/tmpl.min","jquery.iframe-transport":"lib/jquery.iframe-transport.1.4","jquery.fileupload":"lib/jquery.fileupload.5.42.1","jquery.fileupload-process":"lib/jquery.fileupload.file-processing.1.3.0","jquery.fileupload-validate":"lib/jquery.fileupload.validation.1.1.2","jquery.fileupload-ui":"lib/jquery.fileupload.ui.9.6.0","jquery.magnific-popup":"lib/jquery.magnific-popup",simplemodal:"lib/jquery.simplemodal.1.4.4.min",jstree:"lib/jstree.1.0",select2:"lib/select2-3.5.2",underscore:"lib/underscore",backbone:"lib/backbone",text:"lib/text"}}),define("common",["jquery","underscore","text","pinyin-by-unicode"],function(e,t,n,r){return{INFO_TIMEOUT:1e4,SUCCESS_TIMEOUT:3e3,ERROR_TIMEOUT:3e3,strChineseFirstPY:r.strChineseFirstPY,getUrl:function(e){var t=app.config.siteRoot;switch(e.name){case"list_lib_dir":return t+"ajax/lib/"+e.repo_id+"/dir/";case"star_file":return t+"ajax/repo/"+e.repo_id+"/file/star/";case"unstar_file":return t+"ajax/repo/"+e.repo_id+"/file/unstar/";case"del_dir":return t+"ajax/repo/"+e.repo_id+"/dir/delete/";case"del_file":return t+"ajax/repo/"+e.repo_id+"/file/delete/";case"rename_dir":return t+"ajax/repo/"+e.repo_id+"/dir/rename/";case"rename_file":return t+"ajax/repo/"+e.repo_id+"/file/rename/";case"mv_dir":return t+"ajax/repo/"+e.repo_id+"/dir/mv/";case"cp_dir":return t+"ajax/repo/"+e.repo_id+"/dir/cp/";case"mv_file":return t+"ajax/repo/"+e.repo_id+"/file/mv/";case"cp_file":return t+"ajax/repo/"+e.repo_id+"/file/cp/";case"new_dir":return t+"ajax/repo/"+e.repo_id+"/dir/new/";case"new_file":return t+"ajax/repo/"+e.repo_id+"/file/new/";case"del_dirents":return t+"ajax/repo/"+e.repo_id+"/dirents/delete/";case"mv_dirents":return t+"ajax/repo/"+e.repo_id+"/dirents/move/";case"cp_dirents":return t+"ajax/repo/"+e.repo_id+"/dirents/copy/";case"get_file_op_url":return t+"ajax/repo/"+e.repo_id+"/file_op_url/";case"get_dirents":return t+"ajax/repo/"+e.repo_id+"/dirents/";case"repo_del":return t+"ajax/repo/"+e.repo_id+"/remove/";case"sub_repo":return t+"ajax/repo/"+e.repo_id+"/dir/sub_repo/";case"thumbnail_create":return t+"thumbnail/"+e.repo_id+"/create/";case"get_my_unenc_repos":return t+"ajax/my-unenc-repos/";case"unenc_rw_repos":return t+"ajax/unenc-rw-repos/";case"get_cp_progress":return t+"ajax/cp_progress/";case"cancel_cp":return t+"ajax/cancel_cp/";case"ajax_repo_remove_share":return t+"share/ajax/repo_remove_share/";case"get_user_contacts":return t+"ajax/contacts/";case"get_shared_download_link":return t+"share/ajax/get-download-link/";case"delete_shared_download_link":return t+"share/ajax/link/remove/";case"send_shared_download_link":return t+"share/link/send/";case"send_shared_upload_link":return t+"share/upload_link/send/";case"delete_shared_upload_link":return t+"share/ajax/upload_link/remove/";case"get_share_upload_link":return t+"share/ajax/get-upload-link/";case"private_share_dir":return t+"share/ajax/private-share-dir/";case"private_share_file":return t+"share/ajax/private-share-file/";case"get_popup_notices":return t+"ajax/get_popup_notices/";case"set_notices_seen":return t+"ajax/set_notices_seen/";case"get_unseen_notices_num":return t+"ajax/unseen-notices-count/";case"set_notice_seen_by_id":return t+"ajax/set_notice_seen_by_id/";case"repo_set_password":return t+"repo/set_password/";case"group_repos":return t+"api2/groups/"+e.group_id+"/repos/";case"group_basic_info":return t+"ajax/group/"+e.group_id+"/basic-info/";case"toggle_group_modules":return t+"ajax/group/"+e.group_id+"/toggle-modules/";case"toggle_personal_modules":return t+"ajax/toggle-personal-modules/";case"ajax_unset_inner_pub_repo":return t+"ajax/unset-inner-pub-repo/"+e.repo_id+"/";case"get_folder_perm_by_path":return t+"ajax/repo/"+e.repo_id+"/get-folder-perm-by-path/";case"set_user_folder_perm":return t+"ajax/repo/"+e.repo_id+"/set-user-folder-perm/";case"set_group_folder_perm":return t+"ajax/repo/"+e.repo_id+"/set-group-folder-perm/";case"starred_files":return t+"api2/starredfiles/";case"shared_repos":return t+"api2/shared-repos/"+e.repo_id+"/";case"search_user":return t+"api2/search-user/"}},showConfirm:function(t,n,r){var i=e("#confirm-popup"),s=e("#confirm-con"),o=e("#confirm-yes");s.html("

                            "+t+"

                            "+n+"

                            "),i.modal({appendTo:"#main"}),e("#simplemodal-container").css({height:"auto"}),o.click(r)},closeModal:function(){e.modal.close()},feedback:function(t,n,r){var r=r||5e3;if(e(".messages").length>0)e(".messages").html('
                          • '+t+"
                          • ");else{var i='
                            • '+t+"
                            ";e("#main").append(i)}e(".messages").css({left:(e(window).width()-e(".messages").width())/2,top:10}).removeClass("hide"),setTimeout(function(){e(".messages").addClass("hide")},r)},showFormError:function(t,n){e("#"+t+" .error").html(n).removeClass("hide"),e("#simplemodal-container").css({height:"auto"})},ajaxErrorHandler:function(t,n,r){t.responseText?this.feedback(e.parseJSON(t.responseText).error,"error"):this.feedback(gettext("Failed. Please check the network."),"error")},enableButton:function(e){e.removeAttr("disabled").removeClass("btn-disabled")},disableButton:function(e){e.attr("disabled","disabled").addClass("btn-disabled")},setCaretPos:function(e,t){var n;return document.selection?(n=e.createTextRange(),n.move("character",t),n.select()):e.setSelectionRange(t,t)},prepareApiCsrf:function(){Backbone._sync=Backbone.sync,Backbone.sync=function(e,t,n){if(e=="create"||e=="update"||e=="delete"){var r=app.pageOptions.csrfToken;n.beforeSend=function(e){e.setRequestHeader("X-CSRFToken",r)}}return Backbone._sync(e,t,n)}},prepareCSRFToken:function(e,t){function n(e){var t=null;if(document.cookie&&document.cookie!=""){var n=document.cookie.split(";");for(var r=0;r'+o+"

                            "):e(".error",t).removeClass("hide")}}})}}),_this=this,e(document).click(function(t){_this.closePopup(t,e("#user-info-popup"),e("#my-info"))})},initNoticePopup:function(){var t=e("#msg-count");if(t.length==0)return!1;var n=document.title;t.data("orig_doc_title",n);var r=function(){e.ajax({url:_this.getUrl({name:"get_unseen_notices_num"}),dataType:"json",cache:!1,success:function(r){var i=r.count,s=e(".num",t);s.html(i),i>0?(s.removeClass("hide"),document.title="("+i+")"+n):(s.addClass("hide"),document.title=n)}})};r(),setInterval(r,3e4),e("#notice-icon").click(function(){var t=e("#notice-popup");t.toggleClass("hide");if(!t.hasClass("hide")){e(".con",t).css({"max-height":e(window).height()-e("#header").outerHeight()-e(".hd",t).outerHeight()-3});var n=e(".loading-tip",t),r=e("#notice-list");r.addClass("hide"),n.show(),e(".error",t).addClass("hide"),e.ajax({url:_this.getUrl({name:"get_popup_notices"}),dataType:"json",success:function(t){n.hide(),r.html(t.notice_html).removeClass("hide"),e(".unread a",r).click(function(){var t=e(this).parents(".unread").data("id"),n=e(this).attr("href");return e.ajax({url:_this.getUrl({name:"set_notice_seen_by_id"})+"?notice_id="+encodeURIComponent(t),dataType:"json",success:function(e){location.href=n},error:function(){location.href=n}}),!1}),e(".detail",r).click(function(){location.href=e(".brief a",e(this).parent()).attr("href")})},error:function(r,i,s){if(r.responseText){var o=e.parseJSON(r.responseText).error;n.hide(),e(".error",t).length==0?n.after('

                            '+o+"

                            "):e(".error",t).removeClass("hide")}}})}}),e(window).resize(function(){var t=e("#notice-popup");t.hasClass("hide")||e(".con",t).css({"max-height":e(window).height()-e("#header").outerHeight()-e(".hd",t).outerHeight()-3})}),e("#notice-popup .close").click(function(){e("#notice-popup").addClass("hide"),e("#notice-list .unread").length>0&&e.ajax({url:_this.getUrl({name:"set_notices_seen"}),dataType:"json",success:function(){e(".num",t).html(0).addClass("hide"),document.title=n}})}),e(document).click(function(t){_this.closePopup(t,e("#notice-popup"),e("#notice-icon"))})},closeTopNoticeBar:function(){if(!app.pageOptions.cur_note)return!1;var t=app.pageOptions.cur_note.id;e("#info-bar").addClass("hide");if(navigator.cookieEnabled){var n=new Date,r=document.cookie.split("; "),i=!1;n.setTime(n.getTime()+12096e5),t+="; expires="+n.toGMTString()+"; path="+app.config.siteRoot;for(var s=0,o=r.length;s'+e.HTMLescape(t.name)+"
                            "+e.HTMLescape(t.id)+"";return},formatSelection:function(t){return e.HTMLescape(t.name||t.id)},escapeMarkup:function(e){return e}}},imageCheck:function(e){if(e.lastIndexOf(".")==-1)return!1;var t=e.substr(e.lastIndexOf(".")+1).toLowerCase(),n=["gif","jpeg","jpg","png","ico","bmp"];return n.indexOf(t)!=-1?!0:!1},compareTwoWord:function(e,t){var n,r,i=e.charCodeAt(0),s=t.charCodeAt(0),o=this.strChineseFirstPY;if(19968=r?1:-1},fileSizeFormat:function(e,t){var n=1024,r=n*1024,i=r*1024,s=i*1024,t=t||0;return e>=0&&e=n&&e=r&&e=i&&e=s?(e/s).toFixed(t)+" TB":e+" B"}}}),function(e,t){if(typeof define=="function"&&define.amd)define("backbone",["underscore","jquery","exports"],function(n,r,i){e.Backbone=t(e,i,n,r)});else if(typeof exports!="undefined"){var n=require("underscore");t(e,exports,n)}else e.Backbone=t(e,{},e._,e.jQuery||e.Zepto||e.ender||e.$)}(this,function(e,t,n,r){var i=e.Backbone,s=[],o=s.push,u=s.slice,a=s.splice;t.VERSION="1.1.2",t.$=r,t.noConflict=function(){return e.Backbone=i,this},t.emulateHTTP=!1,t.emulateJSON=!1;var f=t.Events={on:function(e,t,n){if(!c(this,"on",e,[t,n])||!t)return this;this._events||(this._events={});var r=this._events[e]||(this._events[e]=[]);return r.push({callback:t,context:n,ctx:n||this}),this},once:function(e,t,r){if(!c(this,"once",e,[t,r])||!t)return this;var i=this,s=n.once(function(){i.off(e,s),t.apply(this,arguments)});return s._callback=t,this.on(e,s,r)},off:function(e,t,r){var i,s,o,u,a,f,l,h;if(!this._events||!c(this,"off",e,[t,r]))return this;if(!e&&!t&&!r)return this._events=void 0,this;u=e?[e]:n.keys(this._events);for(a=0,f=u.length;a").attr(e);this.setElement(r,!1)}else this.setElement(n.result(this,"el"),!1)}}),t.sync=function(e,r,i){var s=N[e];n.defaults(i||(i={}),{emulateHTTP:t.emulateHTTP,emulateJSON:t.emulateJSON});var o={type:s,dataType:"json"};i.url||(o.url=n.result(r,"url")||F()),i.data==null&&r&&(e==="create"||e==="update"||e==="patch")&&(o.contentType="application/json",o.data=JSON.stringify(i.attrs||r.toJSON(i))),i.emulateJSON&&(o.contentType="application/x-www-form-urlencoded",o.data=o.data?{model:o.data}:{});if(i.emulateHTTP&&(s==="PUT"||s==="DELETE"||s==="PATCH")){o.type="POST",i.emulateJSON&&(o.data._method=s);var u=i.beforeSend;i.beforeSend=function(e){e.setRequestHeader("X-HTTP-Method-Override",s);if(u)return u.apply(this,arguments)}}o.type!=="GET"&&!i.emulateJSON&&(o.processData=!1),o.type==="PATCH"&&T&&(o.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")});var a=i.xhr=t.ajax(n.extend(o,i));return r.trigger("request",r,a,i),a};var T=typeof window!="undefined"&&!!window.ActiveXObject&&(!window.XMLHttpRequest||!(new XMLHttpRequest).dispatchEvent),N={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};t.ajax=function(){return t.$.ajax.apply(t.$,arguments)};var C=t.Router=function(e){e||(e={}),e.routes&&(this.routes=e.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},k=/\((.*?)\)/g,L=/(\(\?)?:\w+/g,A=/\*\w+/g,O=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(C.prototype,f,{initialize:function(){},route:function(e,r,i){n.isRegExp(e)||(e=this._routeToRegExp(e)),n.isFunction(r)&&(i=r,r=""),i||(i=this[r]);var s=this;return t.history.route(e,function(n){var o=s._extractParameters(e,n);s.execute(i,o),s.trigger.apply(s,["route:"+r].concat(o)),s.trigger("route",r,o),t.history.trigger("route",s,r,o)}),this},execute:function(e,t){e&&e.apply(this,t)},navigate:function(e,n){return t.history.navigate(e,n),this},_bindRoutes:function(){if(!this.routes)return;this.routes=n.result(this,"routes");var e,t=n.keys(this.routes);while((e=t.pop())!=null)this.route(e,this.routes[e])},_routeToRegExp:function(e){return e=e.replace(O,"\\$&").replace(k,"(?:$1)?").replace(L,function(e,t){return t?e:"([^/?]+)"}).replace(A,"([^?]*?)"),new RegExp("^"+e+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(e,t){var r=e.exec(t).slice(1);return n.map(r,function(e,t){return t===r.length-1?e||null:e?decodeURIComponent(e):null})}});var M=t.History=function(){this.handlers=[],n.bindAll(this,"checkUrl"),typeof window!="undefined"&&(this.location=window.location,this.history=window.history)},_=/^[#\/]|\s+$/g,D=/^\/+|\/+$/g,P=/msie [\w.]+/,H=/\/$/,B=/#.*$/;M.started=!1,n.extend(M.prototype,f,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(e){var t=(e||this).location.href.match(/#(.*)$/);return t?t[1]:""},getFragment:function(e,t){if(e==null)if(this._hasPushState||!this._wantsHashChange||t){e=decodeURI(this.location.pathname+this.location.search);var n=this.root.replace(H,"");e.indexOf(n)||(e=e.slice(n.length))}else e=this.getHash();return e.replace(_,"")},start:function(e){if(M.started)throw new Error("Backbone.history has already been started");M.started=!0,this.options=n.extend({root:"/"},this.options,e),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var r=this.getFragment(),i=document.documentMode,s=P.exec(navigator.userAgent.toLowerCase())&&(!i||i<=7);this.root=("/"+this.root+"/").replace(D,"/");if(s&&this._wantsHashChange){var o=t.$('').css(e.extend(this.o.iframeCss,{display:"none",opacity:0,position:"fixed",height:s[0],width:s[1],zIndex:this.o.zIndex,top:0,left:0})).appendTo(this.o.appendTo)),this.d.overlay=e("
                            ").attr("id",this.o.overlayId).addClass("simplemodal-overlay").css(e.extend(this.o.overlayCss,{display:"none",opacity:this.o.opacity/100,height:this.o.modal?t[0]:0,width:this.o.modal?t[1]:0,position:"fixed",left:0,top:0,zIndex:this.o.zIndex+1})).appendTo(this.o.appendTo),this.d.container=e("
                            ").attr("id",this.o.containerId).addClass("simplemodal-container").css(e.extend({position:this.o.fixed?"fixed":"absolute"},this.o.containerCss,{display:"none",zIndex:this.o.zIndex+2})).append(this.o.close&&this.o.closeHTML?e(this.o.closeHTML).addClass(this.o.closeClass):"").appendTo(this.o.appendTo),this.d.wrap=e("
                            ").attr("tabIndex",-1).addClass("simplemodal-wrap").css({height:"100%",outline:0,width:"100%"}).appendTo(this.d.container),this.d.data=n.attr("id",n.attr("id")||this.o.dataId).addClass("simplemodal-data").css(e.extend(this.o.dataCss,{display:"none"})).appendTo("body"),this.setContainerDimensions(),this.d.data.appendTo(this.d.wrap),(f||o)&&this.fixIE()},bindEvents:function(){var r=this;e("."+r.o.closeClass).bind("click.simplemodal",function(e){e.preventDefault(),r.close()}),r.o.modal&&r.o.close&&r.o.overlayClose&&r.d.overlay.bind("click.simplemodal",function(e){e.preventDefault(),r.close()}),n.bind("keydown.simplemodal",function(e){r.o.modal&&9===e.keyCode?r.watchTab(e):r.o.close&&r.o.escClose&&27===e.keyCode&&(e.preventDefault(),r.close())}),i.bind("resize.simplemodal orientationchange.simplemodal",function(){r.getDimensions(),r.o.autoResize?r.setContainerDimensions():r.o.autoPosition&&r.setPosition(),f||o?r.fixIE():r.o.modal&&(r.d.iframe&&r.d.iframe.css({height:s[0],width:s[1]}),r.d.overlay.css({height:t[0],width:t[1]}))})},unbindEvents:function(){e("."+this.o.closeClass).unbind("click.simplemodal"),n.unbind("keydown.simplemodal"),i.unbind(".simplemodal"),this.d.overlay.unbind("click.simplemodal")},fixIE:function(){var t=this.o.position;e.each([this.d.iframe||null,this.o.modal?this.d.overlay:null,"fixed"===this.d.container.css("position")?this.d.container:null],function(e,n){if(n){var r=n[0].style;r.position="absolute";if(2>e)r.removeExpression("height"),r.removeExpression("width"),r.setExpression("height",'document.body.scrollHeight > document.body.clientHeight ? document.body.scrollHeight : document.body.clientHeight + "px"'),r.setExpression("width",'document.body.scrollWidth > document.body.clientWidth ? document.body.scrollWidth : document.body.clientWidth + "px"');else{var i,s;t&&t.constructor===Array?(i=t[0]?"number"==typeof t[0]?t[0].toString():t[0].replace(/px/,""):n.css("top").replace(/px/,""),i=-1===i.indexOf("%")?i+' + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"':parseInt(i.replace(/%/,""))+' * ((document.documentElement.clientHeight || document.body.clientHeight) / 100) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',t[1]&&(s="number"==typeof t[1]?t[1].toString():t[1].replace(/px/,""),s=-1===s.indexOf("%")?s+' + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"':parseInt(s.replace(/%/,""))+' * ((document.documentElement.clientWidth || document.body.clientWidth) / 100) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"')):(i='(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',s='(document.documentElement.clientWidth || document.body.clientWidth) / 2 - (this.offsetWidth / 2) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"'),r.removeExpression("top"),r.removeExpression("left"),r.setExpression("top",i),r.setExpression("left",s)}}})},focus:function(t){var n=this,t=t&&-1!==e.inArray(t,["first","last"])?t:"first",r=e(":input:enabled:visible:"+t,n.d.wrap);setTimeout(function(){0i?i:ti?i:this.o.minHeight&&"auto"!==u&&no?o:eo?o:this.o.minWidth&&"auto"!==i&&rt||r>e?"auto":"visible"}),this.o.autoPosition&&this.setPosition()},setPosition:function(){var e,t;e=s[0]/2-this.d.container.outerHeight(!0)/2,t=s[1]/2-this.d.container.outerWidth(!0)/2;var n="fixed"!==this.d.container.css("position")?i.scrollTop():0;this.o.position&&"[object Array]"===Object.prototype.toString.call(this.o.position)?(e=n+(this.o.position[0]||e),t=this.o.position[1]||t):e=n+e,this.d.container.css({left:t,top:e})},watchTab:function(t){if(0r.length+5)return!1;if(r[i].selectorText&&r[i].selectorText.toLowerCase()==e)return t===!0?(n.removeRule&&n.removeRule(i),n.deleteRule&&n.deleteRule(i),!0):r[i]}while(r[++i]);return!1},add_css:function(e,t){return r.jstree.css.get_css(e,!1,t)?!1:(t.insertRule?t.insertRule(e+" { }",0):t.addRule(e,null,0),r.vakata.css.get_css(e))},remove_css:function(e,t){return r.vakata.css.get_css(e,!0,t)},add_sheet:function(e){var t=!1,n=!0;if(e.str)return e.title&&(t=r("style[id='"+e.title+"-stylesheet']")[0]),t?n=!1:(t=document.createElement("style"),t.setAttribute("type","text/css"),e.title&&t.setAttribute("id",e.title+"-stylesheet")),t.styleSheet?n?(document.getElementsByTagName("head")[0].appendChild(t),t.styleSheet.cssText=e.str):t.styleSheet.cssText=t.styleSheet.cssText+" "+e.str:(t.appendChild(document.createTextNode(e.str)),document.getElementsByTagName("head")[0].appendChild(t)),t.sheet||t.styleSheet;if(e.url){if(!document.createStyleSheet)return t=document.createElement("link"),t.rel="stylesheet",t.type="text/css",t.media="all",t.href=e.url,document.getElementsByTagName("head")[0].appendChild(t),t.styleSheet;try{t=document.createStyleSheet(e.url)}catch(i){}}}};var i=[],s=-1,o={},u={};r.fn.jstree=function(e){var t=typeof e=="string",n=Array.prototype.slice.call(arguments,1),s=this;if(t){if(e.substring(0,1)=="_")return s;this.each(function(){var t=i[r.data(this,"jstree-instance-id")],o=t&&r.isFunction(t[e])?t[e].apply(t,n):t;if(typeof o!="undefined"&&(e.indexOf("is_")===0||o!==!0&&o!==!1))return s=o,!1})}else this.each(function(){var t=r.data(this,"jstree-instance-id"),s=[],u=e?r.extend({},!0,e):{},a=r(this),f=!1,l=[];s=s.concat(n),a.data("jstree")&&s.push(a.data("jstree")),u=s.length?r.extend.apply(null,[!0,u].concat(s)):u,typeof t!="undefined"&&i[t]&&i[t].destroy(),t=parseInt(i.push({}),10)-1,r.data(this,"jstree-instance-id",t),u.plugins=r.isArray(u.plugins)?u.plugins:r.jstree.defaults.plugins.slice(),u.plugins.unshift("core"),u.plugins=u.plugins.sort().join(",,").replace(/(,|^)([^,]+)(,,\2)+(,|$)/g,"$1$2$4").replace(/,,+/g,",").replace(/,$/,"").split(","),f=r.extend(!0,{},r.jstree.defaults,u),f.plugins=u.plugins,r.each(o,function(e,t){r.inArray(e,f.plugins)===-1?(f[e]=null,delete f[e]):l.push(e)}),f.plugins=l,i[t]=new r.jstree._instance(t,r(this).addClass("jstree jstree-"+t),f),r.each(i[t]._get_settings().plugins,function(e,n){i[t].data[n]={}}),r.each(i[t]._get_settings().plugins,function(e,n){o[n]&&o[n].__init.apply(i[t])}),setTimeout(function(){i[t].init()},0)});return s},r.jstree={defaults:{plugins:[]},_focused:function(){return i[s]||null},_reference:function(e){if(i[e])return i[e];var t=r(e);return!t.length&&typeof e=="string"&&(t=r("#"+e)),t.length?i[t.closest(".jstree").data("jstree-instance-id")]||null:null},_instance:function(e,t,n){this.data={core:{}},this.get_settings=function(){return r.extend(!0,{},n)},this._get_settings=function(){return n},this.get_index=function(){return e},this.get_container=function(){return t},this.get_container_ul=function(){return t.children("ul:eq(0)")},this._set_settings=function(e){n=r.extend(!0,{},n,e)}},_fn:{},plugin:function(e,t){t=r.extend({},{__init:r.noop,__destroy:r.noop,_fn:{},defaults:!1},t),o[e]=t,r.jstree.defaults[e]=t.defaults,r.each(t._fn,function(t,n){n.plugin=e,n.old=r.jstree._fn[t],r.jstree._fn[t]=function(){var e,i=n,s=Array.prototype.slice.call(arguments),o=new r.Event("before.jstree"),u=!1;if(this.data.core.locked===!0&&t!=="unlock"&&t!=="is_locked")return;do{if(i&&i.plugin&&r.inArray(i.plugin,this._get_settings().plugins)!==-1)break;i=i.old}while(i);if(!i)return;if(t.indexOf("_")===0)e=i.apply(this,s);else{e=this.get_container().triggerHandler(o,{func:t,inst:this,args:s,plugin:i.plugin});if(e===!1)return;typeof e!="undefined"&&(s=e),e=i.apply(r.extend({},this,{__callback:function(e){this.get_container().triggerHandler(t+".jstree",{inst:this,args:s,rslt:e,rlbk:u})},__rollback:function(){return u=this.get_rollback(),u},__call_old:function(e){return i.old.apply(this,e?Array.prototype.slice.call(arguments,1):s)}}),s)}return e},r.jstree._fn[t].old=n.old,r.jstree._fn[t].plugin=e})},rollback:function(e){e&&(r.isArray(e)||(e=[e]),r.each(e,function(e,t){i[t.i].set_rollback(t.h,t.d)}))}},r.jstree._fn=r.jstree._instance.prototype={},r(function(){var i=navigator.userAgent.toLowerCase(),s=(i.match(/.+?(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],o=".jstree ul, .jstree li { display:block; margin:0 0 0 0; padding:0 0 0 0; list-style-type:none; } .jstree li { display:block; min-height:18px; line-height:18px; white-space:nowrap; margin-left:18px; min-width:18px; } .jstree-rtl li { margin-left:0; margin-right:18px; } .jstree > ul > li { margin-left:0px; } .jstree-rtl > ul > li { margin-right:0px; } .jstree ins { display:inline-block; text-decoration:none; width:18px; height:18px; margin:0 0 0 0; padding:0; } .jstree a { display:inline-block; line-height:16px; height:16px; color:black; white-space:nowrap; text-decoration:none; padding:1px 2px; margin:0; } .jstree a:focus { outline: none; } .jstree a > ins { height:16px; width:16px; } .jstree a > .jstree-icon { margin-right:3px; } .jstree-rtl a > .jstree-icon { margin-left:3px; margin-right:0; } li.jstree-open > ul { display:block; } li.jstree-closed > ul { display:none; } ";if(/msie/.test(i)&&parseInt(s,10)==6){e=!0;try{document.execCommand("BackgroundImageCache",!1,!0)}catch(u){}o+=".jstree li { height:18px; margin-left:0; margin-right:0; } .jstree li li { margin-left:18px; } .jstree-rtl li li { margin-left:0px; margin-right:18px; } li.jstree-open ul { display:block; } li.jstree-closed ul { display:none !important; } .jstree li a { display:inline; border-width:0 !important; padding:0px 2px !important; } .jstree li a ins { height:16px; width:16px; margin-right:3px; } .jstree-rtl li a ins { margin-right:0px; margin-left:3px; } "}/msie/.test(i)&&parseInt(s,10)==7&&(t=!0,o+=".jstree li a { border-width:0 !important; padding:0px 2px !important; } "),!/compatible/.test(i)&&/mozilla/.test(i)&&parseFloat(s,10)<1.9&&(n=!0,o+=".jstree ins { display:-moz-inline-box; } .jstree li { line-height:12px; } .jstree a { display:-moz-inline-box; } .jstree .jstree-no-icons .jstree-checkbox { display:-moz-inline-stack !important; } "),r.vakata.css.add_sheet({str:o,title:"jstree"})}),r.jstree.plugin("core",{__init:function(){this.data.core.locked=!1,this.data.core.to_open=this.get_settings().core.initially_open,this.data.core.to_load=this.get_settings().core.initially_load},defaults:{html_titles:!1,animation:500,initially_open:[],initially_load:[],open_parents:!0,notify_plugins:!0,rtl:!1,load_open:!1,strings:{loading:"Loading ...",new_node:"New node",multiple_selection:"Multiple selection"}},_fn:{init:function(){this.set_focus(),this._get_settings().core.rtl&&this.get_container().addClass("jstree-rtl").css("direction","rtl"),this.get_container().html(""),this.data.core.li_height=this.get_container_ul().find("li.jstree-closed, li.jstree-leaf").eq(0).height()||18,this.get_container().delegate("li > ins","click.jstree",r.proxy(function(e){var t=r(e.target);t.is("ins")&&e.pageY-t.offset().top ul > li:first-child"):e.length?t?e.nextAll("li").size()>0?e.nextAll("li:eq(0)"):!1:e.hasClass("jstree-open")?e.find("li:eq(0)"):e.nextAll("li").size()>0?e.nextAll("li:eq(0)"):e.parentsUntil(".jstree","li").next("li").eq(0):!1},_get_prev:function(e,t){e=this._get_node(e);if(e===-1)return this.get_container().find("> ul > li:last-child");if(!e.length)return!1;if(t)return e.prevAll("li").length>0?e.prevAll("li:eq(0)"):!1;if(e.prev("li").length){e=e.prev("li").eq(0);while(e.hasClass("jstree-open"))e=e.children("ul:eq(0)").children("li:last");return e}var n=e.parentsUntil(".jstree","li:eq(0)");return n.length?n:!1},_get_parent:function(e){e=this._get_node(e);if(e==-1||!e.length)return!1;var t=e.parentsUntil(".jstree","li:eq(0)");return t.length?t:-1},_get_children:function(e){return e=this._get_node(e),e===-1?this.get_container().children("ul:eq(0)").children("li"):e.length?e.children("ul:eq(0)").children("li"):!1},get_path:function(e,t){var n=[],r=this;return e=this._get_node(e),e===-1||!e||!e.length?!1:(e.parentsUntil(".jstree","li").each(function(){n.push(t?this.id:r.get_text(this))}),n.reverse(),n.push(t?e.attr("id"):this.get_text(e)),n)},_get_string:function(e){return this._get_settings().core.strings[e]||e},is_open:function(e){return e=this._get_node(e),e&&e!==-1&&e.hasClass("jstree-open")},is_closed:function(e){return e=this._get_node(e),e&&e!==-1&&e.hasClass("jstree-closed")},is_leaf:function(e){return e=this._get_node(e),e&&e!==-1&&e.hasClass("jstree-leaf")},correct_state:function(e){e=this._get_node(e);if(!e||e===-1)return!1;e.removeClass("jstree-closed jstree-open").addClass("jstree-leaf").children("ul").remove(),this.__callback({obj:e})},open_node:function(t,n,r){t=this._get_node(t);if(!t.length)return!1;if(!t.hasClass("jstree-closed"))return n&&n.call(),!1;var i=r||e?0:this._get_settings().core.animation,s=this;this._is_loaded(t)?(this._get_settings().core.open_parents&&t.parentsUntil(".jstree",".jstree-closed").each(function(){s.open_node(this,!1,!0)}),i&&t.children("ul").css("display","none"),t.removeClass("jstree-closed").addClass("jstree-open").children("a").removeClass("jstree-loading"),i?t.children("ul").stop(!0,!0).slideDown(i,function(){this.style.display="",s.after_open(t)}):s.after_open(t),this.__callback({obj:t}),n&&n.call()):(t.children("a").addClass("jstree-loading"),this.load_node(t,function(){s.open_node(t,n,r)},n))},after_open:function(e){this.__callback({obj:e})},close_node:function(t,n){t=this._get_node(t);var r=n||e?0:this._get_settings().core.animation,i=this;if(!t.length||!t.hasClass("jstree-open"))return!1;r&&t.children("ul").attr("style","display:block !important"),t.removeClass("jstree-open").addClass("jstree-closed"),r?t.children("ul").stop(!0,!0).slideUp(r,function(){this.style.display="",i.after_close(t)}):i.after_close(t),this.__callback({obj:t})},after_close:function(e){this.__callback({obj:e})},toggle_node:function(e){e=this._get_node(e);if(e.hasClass("jstree-closed"))return this.open_node(e);if(e.hasClass("jstree-open"))return this.close_node(e)},open_all:function(e,t,n){e=e?this._get_node(e):-1;if(!e||e===-1)e=this.get_container_ul();n?e=e.find("li.jstree-closed"):(n=e,e.is(".jstree-closed")?e=e.find("li.jstree-closed").andSelf():e=e.find("li.jstree-closed"));var r=this;e.each(function(){var e=this;r._is_loaded(this)?r.open_node(this,!1,!t):r.open_node(this,function(){r.open_all(e,t,n)},!t)}),n.find("li.jstree-closed").length===0&&this.__callback({obj:n})},close_all:function(e,t){var n=this;e=e?this._get_node(e):this.get_container();if(!e||e===-1)e=this.get_container_ul();e.find("li.jstree-open").andSelf().each(function(){n.close_node(this,!t)}),this.__callback({obj:e})},clean_node:function(e){e=e&&e!=-1?r(e):this.get_container_ul(),e=e.is("li")?e.find("li").andSelf():e.find("li"),e.removeClass("jstree-last").filter("li:last-child").addClass("jstree-last").end().filter(":has(li)").not(".jstree-open").removeClass("jstree-leaf").addClass("jstree-closed"),e.not(".jstree-open, .jstree-closed").addClass("jstree-leaf").children("ul").remove(),this.__callback({obj:e})},get_rollback:function(){return this.__callback(),{i:this.get_index(),h:this.get_container().children("ul").clone(!0),d:this.data}},set_rollback:function(e,t){this.get_container().empty().append(e),this.data=t,this.__callback()},load_node:function(e,t,n){this.__callback({obj:e})},_is_loaded:function(e){return!0},create_node:function(e,t,n,i,s){e=this._get_node(e),t=typeof t=="undefined"?"last":t;var o=r("
                          • "),u=this._get_settings().core,a;if(e!==-1&&!e.length)return!1;if(!s&&!this._is_loaded(e))return this.load_node(e,function(){this.create_node(e,t,n,i,!0)}),!1;this.__rollback(),typeof n=="string"&&(n={data:n}),n||(n={}),n.attr&&o.attr(n.attr),n.metadata&&o.data(n.metadata),n.state&&o.addClass("jstree-"+n.state),n.data||(n.data=this._get_string("new_node")),r.isArray(n.data)||(a=n.data,n.data=[],n.data.push(a)),r.each(n.data,function(e,t){a=r(""),r.isFunction(t)&&(t=t.call(this,n)),typeof t=="string"?a.attr("href","#")[u.html_titles?"html":"text"](t):(t.attr||(t.attr={}),t.attr.href||(t.attr.href="#"),a.attr(t.attr)[u.html_titles?"html":"text"](t.title),t.language&&a.addClass(t.language)),a.prepend(" "),t.icon&&(t.icon.indexOf("/")===-1?a.children("ins").addClass(t.icon):a.children("ins").css("background","url('"+t.icon+"') center center no-repeat")),o.append(a)}),o.prepend(" "),e===-1&&(e=this.get_container(),t==="before"&&(t="first"),t==="after"&&(t="last"));switch(t){case"before":e.before(o),a=this._get_parent(e);break;case"after":e.after(o),a=this._get_parent(e);break;case"inside":case"first":e.children("ul").length||e.append("
                              "),e.children("ul").prepend(o),a=e;break;case"last":e.children("ul").length||e.append("
                                "),e.children("ul").append(o),a=e;break;default:e.children("ul").length||e.append("
                                  "),t||(t=0),a=e.children("ul").children("li").eq(t),a.length?a.before(o):e.children("ul").append(o),a=e}if(a===-1||a.get(0)===this.get_container().get(0))a=-1;return this.clean_node(a),this.__callback({obj:o,parent:a}),i&&i.call(this,o),o},get_text:function(e){e=this._get_node(e);if(!e.length)return!1;var t=this._get_settings().core.html_titles;return e=e.children("a:eq(0)"),t?(e=e.clone(),e.children("INS").remove(),e.html()):(e=e.contents().filter(function(){return this.nodeType==3})[0],e.nodeValue)},set_text:function(e,t){e=this._get_node(e);if(!e.length)return!1;e=e.children("a:eq(0)");if(this._get_settings().core.html_titles){var n=e.children("INS").clone();return e.html(t).prepend(n),this.__callback({obj:e,name:t}),!0}return e=e.contents().filter(function(){return this.nodeType==3})[0],this.__callback({obj:e,name:t}),e.nodeValue=t},rename_node:function(e,t){e=this._get_node(e),this.__rollback(),e&&e.length&&this.set_text.apply(this,Array.prototype.slice.call(arguments))&&this.__callback({obj:e,name:t})},delete_node:function(e){e=this._get_node(e);if(!e.length)return!1;this.__rollback();var t=this._get_parent(e),n=r([]),i=this;return e.each(function(){n=n.add(i._get_prev(this))}),e=e.detach(),t!==-1&&t.find("> ul > li").length===0&&t.removeClass("jstree-open jstree-closed").addClass("jstree-leaf"),this.clean_node(t),this.__callback({obj:e,prev:n,parent:t}),e},prepare_move:function(e,t,n,i,s){var o={};o.ot=r.jstree._reference(e)||this,o.o=o.ot._get_node(e),o.r=t===-1?-1:this._get_node(t),o.p=typeof n=="undefined"||n===!1?"last":n;if(!s&&u.o&&u.o[0]===o.o[0]&&u.r[0]===o.r[0]&&u.p===o.p){this.__callback(u),i&&i.call(this,u);return}o.ot=r.jstree._reference(o.o)||this,o.rt=r.jstree._reference(o.r)||this;if(o.r===-1||!o.r){o.cr=-1;switch(o.p){case"first":case"before":case"inside":o.cp=0;break;case"after":case"last":o.cp=o.rt.get_container().find(" > ul > li").length;break;default:o.cp=o.p}}else{if(!/^(before|after)$/.test(o.p)&&!this._is_loaded(o.r))return this.load_node(o.r,function(){this.prepare_move(e,t,n,i,!0)});switch(o.p){case"before":o.cp=o.r.index(),o.cr=o.rt._get_parent(o.r);break;case"after":o.cp=o.r.index()+1,o.cr=o.rt._get_parent(o.r);break;case"inside":case"first":o.cp=0,o.cr=o.r;break;case"last":o.cp=o.r.find(" > ul > li").length,o.cr=o.r;break;default:o.cp=o.p,o.cr=o.r}}o.np=o.cr==-1?o.rt.get_container():o.cr,o.op=o.ot._get_parent(o.o),o.cop=o.o.index(),o.op===-1&&(o.op=o.ot?o.ot.get_container():this.get_container()),!/^(before|after)$/.test(o.p)&&o.op&&o.np&&o.op[0]===o.np[0]&&o.o.index() ul > li:nth-child("+(o.cp+1)+")"),u=o,this.__callback(u),i&&i.call(this,u)},check_move:function(){var e=u,t=!0,n=e.r===-1?this.get_container():e.r;return!e||!e.o||e.or[0]===e.o[0]?!1:e.op&&e.np&&e.op[0]===e.np[0]&&e.cp-1===e.o.index()?!1:(e.o.each(function(){if(n.parentsUntil(".jstree","li").andSelf().index(this)!==-1)return t=!1,!1}),t)},move_node:function(e,t,n,i,s,o){if(!s)return this.prepare_move(e,t,n,function(e){this.move_node(e,!1,!1,i,!0,o)});i&&(u.cy=!0);if(!o&&!this.check_move())return!1;this.__rollback();var a=!1;i?(a=e.o.clone(!0),a.find("*[id]").andSelf().each(function(){this.id&&(this.id="copy_"+this.id)})):a=e.o,e.or.length?e.or.before(a):(e.np.children("ul").length||r("
                                    ").appendTo(e.np),e.np.children("ul:eq(0)").append(a));try{e.ot.clean_node(e.op),e.rt.clean_node(e.np),e.op.find("> ul > li").length||e.op.removeClass("jstree-open jstree-closed").addClass("jstree-leaf").children("ul").remove()}catch(f){}return i&&(u.cy=!0,u.oc=a),this.__callback(u),u},_get_move:function(){return u}}})})(jQuery),function(e){var t,n,r;e(function(){/msie/.test(navigator.userAgent.toLowerCase())?(n=e('').css({position:"absolute",top:-1e3,left:0}).appendTo("body"),r=e('').css({position:"absolute",top:-1e3,left:0}).appendTo("body"),t=n.width()-r.width(),n.add(r).remove()):(n=e("
                                    ").css({width:100,height:100,overflow:"auto",position:"absolute",top:-1e3,left:0}).prependTo("body").append("
                                    ").find("div").css({width:"100%",height:200}),t=100-n.width(),n.parent().remove())}),e.jstree.plugin("ui",{__init:function(){this.data.ui.selected=e(),this.data.ui.last_selected=!1,this.data.ui.hovered=null,this.data.ui.to_select=this.get_settings().ui.initially_select,this.get_container().delegate("a","click.jstree",e.proxy(function(t){t.preventDefault(),t.currentTarget.blur(),e(t.currentTarget).hasClass("jstree-loading")||this.select_node(t.currentTarget,!0,t)},this)).delegate("a","mouseenter.jstree",e.proxy(function(t){e(t.currentTarget).hasClass("jstree-loading")||this.hover_node(t.target)},this)).delegate("a","mouseleave.jstree",e.proxy(function(t){e(t.currentTarget).hasClass("jstree-loading")||this.dehover_node(t.target)},this)).bind("reopen.jstree",e.proxy(function(){this.reselect()},this)).bind("get_rollback.jstree",e.proxy(function(){this.dehover_node(),this.save_selected()},this)).bind("set_rollback.jstree",e.proxy(function(){this.reselect()},this)).bind("close_node.jstree",e.proxy(function(t,n){var r=this._get_settings().ui,i=this._get_node(n.rslt.obj),s=i&&i.length?i.children("ul").find("a.jstree-clicked"):e(),o=this;if(r.selected_parent_close===!1||!s.length)return;s.each(function(){o.deselect_node(this),r.selected_parent_close==="select_parent"&&o.select_node(i)})},this)).bind("delete_node.jstree",e.proxy(function(e,t){var n=this._get_settings().ui.select_prev_on_delete,r=this._get_node(t.rslt.obj),i=r&&r.length?r.find("a.jstree-clicked"):[],s=this;i.each(function(){s.deselect_node(this)}),n&&i.length&&t.rslt.prev.each(function(){if(this.parentNode)return s.select_node(this),!1})},this)).bind("move_node.jstree",e.proxy(function(e,t){t.rslt.cy&&t.rslt.oc.find("a.jstree-clicked").removeClass("jstree-clicked")},this))},defaults:{select_limit:-1,select_multiple_modifier:"ctrl",select_range_modifier:"shift",selected_parent_close:"select_parent",selected_parent_open:!0,select_prev_on_delete:!0,disable_selecting_children:!1,initially_select:[]},_fn:{_get_node:function(t,n){if(typeof t=="undefined"||t===null)return n?this.data.ui.selected:this.data.ui.last_selected;var r=e(t,this.get_container());return r.is(".jstree")||t==-1?-1:(r=r.closest("li",this.get_container()),r.length?r:!1)},_ui_notify:function(e,t){t.selected&&this.select_node(e,!1)},save_selected:function(){var e=this;this.data.ui.to_select=[],this.data.ui.selected.each(function(){this.id&&e.data.ui.to_select.push("#"+this.id.toString().replace(/^#/,"").replace(/\\\//g,"/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,"\\.").replace(/\:/g,"\\:"))}),this.__callback(this.data.ui.to_select)},reselect:function(){var t=this,n=this.data.ui.to_select;n=e.map(e.makeArray(n),function(e){return"#"+e.toString().replace(/^#/,"").replace(/\\\//g,"/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,"\\.").replace(/\:/g,"\\:")}),e.each(n,function(e,n){n&&n!=="#"&&t.select_node(n)}),this.data.ui.selected=this.data.ui.selected.filter(function(){return this.parentNode}),this.__callback()},refresh:function(e){return this.save_selected(),this.__call_old()},hover_node:function(e){e=this._get_node(e);if(!e.length)return!1;e.hasClass("jstree-hovered")||this.dehover_node(),this.data.ui.hovered=e.children("a").addClass("jstree-hovered").parent(),this._fix_scroll(e),this.__callback({obj:e})},dehover_node:function(){var e=this.data.ui.hovered,t;if(!e||!e.length)return!1;t=e.children("a").removeClass("jstree-hovered").parent(),this.data.ui.hovered[0]===t[0]&&(this.data.ui.hovered=null),this.__callback({obj:e})},select_node:function(e,t,n){e=this._get_node(e);if(e==-1||!e||!e.length)return!1;var r=this._get_settings().ui,i=r.select_multiple_modifier=="on"||r.select_multiple_modifier!==!1&&n&&n[r.select_multiple_modifier+"Key"],s=r.select_range_modifier!==!1&&n&&n[r.select_range_modifier+"Key"]&&this.data.ui.last_selected&&this.data.ui.last_selected[0]!==e[0]&&this.data.ui.last_selected.parent()[0]===e.parent()[0],o=this.is_selected(e),u=!0,a=this;if(t){if(r.disable_selecting_children&&i&&(e.parentsUntil(".jstree","li").children("a.jstree-clicked").length||e.children("ul").find("a.jstree-clicked:eq(0)").length))return!1;u=!1;switch(!0){case s:this.data.ui.last_selected.addClass("jstree-last-selected"),e=e[e.index()0)this.deselect_all(),u=!0;break;case o&&i:this.deselect_node(e);break;case!o&&i:if(r.select_limit==-1||this.data.ui.selected.length+1<=r.select_limit)u=!0}}u&&!o&&(s||(this.data.ui.last_selected=e),e.children("a").addClass("jstree-clicked"),r.selected_parent_open&&e.parents(".jstree-closed").each(function(){a.open_node(this,!1,!0)}),this.data.ui.selected=this.data.ui.selected.add(e),this._fix_scroll(e.eq(0)),this.__callback({obj:e,e:n}))},_fix_scroll:function(e){var n=this.get_container()[0],r;if(n.scrollHeight>n.offsetHeight){e=this._get_node(e);if(!e||e===-1||!e.length||!e.is(":visible"))return;r=e.offset().top-this.get_container().offset().top,r<0&&(n.scrollTop=n.scrollTop+r-1),r+this.data.core.li_height+(n.scrollWidth>n.offsetWidth?t:0)>n.offsetHeight&&(n.scrollTop=n.scrollTop+(r-n.offsetHeight+this.data.core.li_height+1+(n.scrollWidth>n.offsetWidth?t:0)))}},deselect_node:function(e){e=this._get_node(e);if(!e.length)return!1;this.is_selected(e)&&(e.children("a").removeClass("jstree-clicked"),this.data.ui.selected=this.data.ui.selected.not(e),this.data.ui.last_selected.get(0)===e.get(0)&&(this.data.ui.last_selected=this.data.ui.selected.eq(0)),this.__callback({obj:e}))},toggle_select:function(e){e=this._get_node(e);if(!e.length)return!1;this.is_selected(e)?this.deselect_node(e):this.select_node(e)},is_selected:function(e){return this.data.ui.selected.index(this._get_node(e))>=0},get_selected:function(t){return t?e(t).find("a.jstree-clicked").parent():this.data.ui.selected},deselect_all:function(t){var n=t?e(t).find("a.jstree-clicked").parent():this.get_container().find("a.jstree-clicked").parent();n.children("a.jstree-clicked").removeClass("jstree-clicked"),this.data.ui.selected=e([]),this.data.ui.last_selected=!1,this.__callback({obj:n})}}}),e.jstree.defaults.plugins.push("ui")}(jQuery),function(e){var t=[];e.jstree._themes=!1,e.jstree.plugin("themes",{__init:function(){this.get_container().bind("init.jstree",e.proxy(function(){var e=this._get_settings().themes;this.data.themes.dots=e.dots,this.data.themes.icons=e.icons,this.set_theme(e.theme,e.url)},this)).bind("loaded.jstree",e.proxy(function(){this.data.themes.dots?this.show_dots():this.hide_dots(),this.data.themes.icons?this.show_icons():this.hide_icons()},this))},defaults:{theme:"default",url:!1,dots:!0,icons:!0},_fn:{set_theme:function(n,r){if(!n)return!1;r||(r=e.jstree._themes+n+"/style.css"),e.inArray(r,t)==-1&&(e.vakata.css.add_sheet({url:r}),t.push(r)),this.data.themes.theme!=n&&(this.get_container().removeClass("jstree-"+this.data.themes.theme),this.data.themes.theme=n),this.get_container().addClass("jstree-"+n),this.data.themes.dots?this.show_dots():this.hide_dots(),this.data.themes.icons?this.show_icons():this.hide_icons(),this.__callback()},get_theme:function(){return this.data.themes.theme},show_dots:function(){this.data.themes.dots=!0,this.get_container().children("ul").removeClass("jstree-no-dots")},hide_dots:function(){this.data.themes.dots=!1,this.get_container().children("ul").addClass("jstree-no-dots")},toggle_dots:function(){this.data.themes.dots?this.hide_dots():this.show_dots()},show_icons:function(){this.data.themes.icons=!0,this.get_container().children("ul").removeClass("jstree-no-icons")},hide_icons:function(){this.data.themes.icons=!1,this.get_container().children("ul").addClass("jstree-no-icons")},toggle_icons:function(){this.data.themes.icons?this.hide_icons():this.show_icons()}}}),e(function(){e.jstree._themes===!1&&e("script").each(function(){if(this.src.toString().match(/jquery\.jstree[^\/]*?\.js(\?.*)?$/))return e.jstree._themes=this.src.toString().replace(/jquery\.jstree[^\/]*?\.js(\?.*)?$/,"")+"themes/",!1}),e.jstree._themes===!1&&(e.jstree._themes="themes/")}),e.jstree.defaults.plugins.push("themes")}(jQuery),function(e){e.jstree.plugin("json_data",{__init:function(){var e=this._get_settings().json_data;e.progressive_unload&&this.get_container().bind("after_close.jstree",function(e,t){t.rslt.obj.children("ul").remove()})},defaults:{data:!1,ajax:!1,correct_state:!0,progressive_render:!1,progressive_unload:!1},_fn:{load_node:function(e,t,n){var r=this;this.load_node_json(e,function(){r.__callback({obj:r._get_node(e)}),t.call(this)},n)},_is_loaded:function(t){var n=this._get_settings().json_data;return t=this._get_node(t),t==-1||!t||!n.ajax&&!n.progressive_render&&!e.isFunction(n.data)||t.is(".jstree-open, .jstree-leaf")||t.children("ul").children("li").length>0},refresh:function(t){t=this._get_node(t);var n=this._get_settings().json_data;return t&&t!==-1&&n.progressive_unload&&(e.isFunction(n.data)||!!n.ajax)&&t.removeData("jstree-children"),this.__call_old()},load_node_json:function(t,n,r){var i=this.get_settings().json_data,s,o=function(){},u=function(){};t=this._get_node(t);if(t&&t!==-1&&(i.progressive_render||i.progressive_unload)&&!t.is(".jstree-open, .jstree-leaf")&&t.children("ul").children("li").length===0&&t.data("jstree-children")){s=this._parse_json(t.data("jstree-children"),t),s&&(t.append(s),i.progressive_unload||t.removeData("jstree-children")),this.clean_node(t),n&&n.call(this);return}if(t&&t!==-1){if(t.data("jstree-is-loading"))return;t.data("jstree-is-loading",!0)}switch(!0){case!i.data&&!i.ajax:throw"Neither data nor ajax settings supplied.";case e.isFunction(i.data):i.data.call(this,t,e.proxy(function(e){e=this._parse_json(e,t),e?(t===-1||!t?this.get_container().children("ul").empty().append(e.children()):(t.append(e).children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading")),this.clean_node(t),n&&n.call(this)):(t===-1||!t?i.correct_state&&this.get_container().children("ul").empty():(t.children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading"),i.correct_state&&this.correct_state(t)),r&&r.call(this))},this));break;case!!i.data&&!i.ajax||!!i.data&&!!i.ajax&&(!t||t===-1):if(!t||t==-1)s=this._parse_json(i.data,t),s?(this.get_container().children("ul").empty().append(s.children()),this.clean_node()):i.correct_state&&this.get_container().children("ul").empty();n&&n.call(this);break;case!i.data&&!!i.ajax||!!i.data&&!!i.ajax&&t&&t!==-1:o=function(e,n,s){var o=this.get_settings().json_data.ajax.error;o&&o.call(this,e,n,s),t!=-1&&t.length?(t.children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading"),n==="success"&&i.correct_state&&this.correct_state(t)):n==="success"&&i.correct_state&&this.get_container().children("ul").empty(),r&&r.call(this)},u=function(r,s,u){var a=this.get_settings().json_data.ajax.success;a&&(r=a.call(this,r,s,u)||r);if(r===""||r&&r.toString&&r.toString().replace(/^[\s\n]+$/,"")===""||!e.isArray(r)&&!e.isPlainObject(r))return o.call(this,u,s,"");r=this._parse_json(r,t),r?(t===-1||!t?this.get_container().children("ul").empty().append(r.children()):(t.append(r).children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading")),this.clean_node(t),n&&n.call(this)):t===-1||!t?i.correct_state&&(this.get_container().children("ul").empty(),n&&n.call(this)):(t.children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading"),i.correct_state&&(this.correct_state(t),n&&n.call(this)))},i.ajax.context=this,i.ajax.error=o,i.ajax.success=u,i.ajax.dataType||(i.ajax.dataType="json"),e.isFunction(i.ajax.url)&&(i.ajax.url=i.ajax.url.call(this,t)),e.isFunction(i.ajax.data)&&(i.ajax.data=i.ajax.data.call(this,t)),e.ajax(i.ajax)}},_parse_json:function(t,n,r){var i=!1,s=this._get_settings(),o=s.json_data,u=s.core.html_titles,a,f,l,c,h;if(!t)return i;o.progressive_unload&&n&&n!==-1&&n.data("jstree-children",i);if(e.isArray(t)){i=e();if(!t.length)return!1;for(f=0,l=t.length;f"),t.attr&&i.attr(t.attr),t.metadata&&i.data(t.metadata),t.state&&i.addClass("jstree-"+t.state),e.isArray(t.data)||(a=t.data,t.data=[],t.data.push(a)),e.each(t.data,function(n,r){a=e(""),e.isFunction(r)&&(r=r.call(this,t)),typeof r=="string"?a.attr("href","#")[u?"html":"text"](r):(r.attr||(r.attr={}),r.attr.href||(r.attr.href="#"),a.attr(r.attr)[u?"html":"text"](r.title),r.language&&a.addClass(r.language)),a.prepend(" "),!r.icon&&t.icon&&(r.icon=t.icon),r.icon&&(r.icon.indexOf("/")===-1?a.children("ins").addClass(r.icon):a.children("ins").css("background","url('"+r.icon+"') center center no-repeat")),i.append(a)}),i.prepend(" "),t.children&&(o.progressive_render&&t.state!=="open"?i.addClass("jstree-closed").data("jstree-children",t.children):(o.progressive_unload&&i.data("jstree-children",t.children),e.isArray(t.children)&&t.children.length&&(a=this._parse_json(t.children,n,!0),a.length&&(h=e("
                                      "),h.append(a),i.append(h)))))}return r||(c=e("
                                        "),c.append(i),i=c),i},get_json:function(t,n,r,i){var s=[],o=this._get_settings(),u=this,a,f,l,c,h,p;t=this._get_node(t);if(!t||t===-1)t=this.get_container().find("> ul > li");return n=e.isArray(n)?n:["id","class"],!i&&this.data.types&&n.push(o.types.type_attr),r=e.isArray(r)?r:[],t.each(function(){l=e(this),a={data:[]},n.length&&(a.attr={}),e.each(n,function(e,t){f=l.attr(t),f&&f.length&&f.replace(/jstree[^ ]*/ig,"").length&&(a.attr[t]=(" "+f).replace(/ jstree[^ ]*/ig,"").replace(/\s+$/ig," ").replace(/^ /,"").replace(/ $/,""))}),l.hasClass("jstree-open")&&(a.state="open"),l.hasClass("jstree-closed")&&(a.state="closed"),l.data()&&(a.metadata=l.data()),c=l.children("a"),c.each(function(){h=e(this),r.length||e.inArray("languages",o.plugins)!==-1||h.children("ins").get(0).style.backgroundImage.length||h.children("ins").get(0).className&&h.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").length?(p=!1,e.inArray("languages",o.plugins)!==-1&&e.isArray(o.languages)&&o.languages.length&&e.each(o.languages,function(e,t){if(h.hasClass(t))return p=t,!1}),f={attr:{},title:u.get_text(h,p)},e.each(r,function(e,t){f.attr[t]=(" "+(h.attr(t)||"")).replace(/ jstree[^ ]*/ig,"").replace(/\s+$/ig," ").replace(/^ /,"").replace(/ $/,"")}),e.inArray("languages",o.plugins)!==-1&&e.isArray(o.languages)&&o.languages.length&&e.each(o.languages,function(e,t){if(h.hasClass(t))return f.language=t,!0}),h.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").replace(/^\s+$/ig,"").length&&(f.icon=h.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").replace(/\s+$/ig," ").replace(/^ /,"").replace(/ $/,"")),h.children("ins").get(0).style.backgroundImage.length&&(f.icon=h.children("ins").get(0).style.backgroundImage.replace("url(","").replace(")",""))):f=u.get_text(h),c.length>1?a.data.push(f):a.data=f}),l=l.find("> ul > li"),l.length&&(a.children=u.get_json(l,n,r,!0)),s.push(a)}),s}}})}(jQuery),function(e){e.jstree.plugin("checkbox",{__init:function(){this.data.checkbox.noui=this._get_settings().checkbox.override_ui,this.data.ui&&this.data.checkbox.noui&&(this.select_node=this.deselect_node=this.deselect_all=e.noop,this.get_selected=this.get_checked),this.get_container().bind("open_node.jstree create_node.jstree clean_node.jstree refresh.jstree",e.proxy(function(e,t){this._prepare_checkboxes(t.rslt.obj)},this)).bind("loaded.jstree",e.proxy(function(e){this._prepare_checkboxes()},this)).delegate(this.data.ui&&this.data.checkbox.noui?"a":"ins.jstree-checkbox","click.jstree",e.proxy(function(e){e.preventDefault(),this._get_node(e.target).hasClass("jstree-checked")?this.uncheck_node(e.target):this.check_node(e.target);if(!this.data.ui||!this.data.checkbox.noui)return e.stopImmediatePropagation(),!1;this.save_selected(),this.data.cookies&&this.save_cookie("select_node")},this))},defaults:{override_ui:!1,two_state:!1,real_checkboxes:!1,checked_parent_open:!0,real_checkboxes_names:function(e){return["check_"+(e[0].id||Math.ceil(Math.random()*1e4)),1]}},__destroy:function(){this.get_container().find("input.jstree-real-checkbox").removeClass("jstree-real-checkbox").end().find("ins.jstree-checkbox").remove()},_fn:{_checkbox_notify:function(e,t){t.checked&&this.check_node(e,!1)},_prepare_checkboxes:function(t){t=!t||t==-1?this.get_container().find("> ul > li"):this._get_node(t);if(t===!1)return;var n,r=this,i,s=this._get_settings().checkbox.two_state,o=this._get_settings().checkbox.real_checkboxes,u=this._get_settings().checkbox.real_checkboxes_names;t.each(function(){i=e(this),n=i.is("li")&&(i.hasClass("jstree-checked")||o&&i.children(":checked").length)?"jstree-checked":"jstree-unchecked",i.find("li").andSelf().each(function(){var t=e(this),i;t.children("a"+(r.data.languages?"":":eq(0)")).not(":has(.jstree-checkbox)").prepend(" ").parent().not(".jstree-checked, .jstree-unchecked").addClass(s?"jstree-unchecked":n),o&&(t.children(":checkbox").length?t.children(":checkbox").addClass("jstree-real-checkbox"):(i=u.call(r,t),t.prepend("")),n==="jstree-checked"&&t.children(":checkbox").attr("checked","checked")),n==="jstree-checked"&&!s&&t.find("li").addClass("jstree-checked")})}),s||(t.length===1&&t.is("li")&&this._repair_state(t),t.is("li")?t.each(function(){r._repair_state(this)}):t.find("> ul > li").each(function(){r._repair_state(this)}),t.find(".jstree-checked").parent().parent().each(function(){r._repair_state(this)}))},change_state:function(t,n){t=this._get_node(t);var r=!1,i=this._get_settings().checkbox.real_checkboxes;if(!t||t===-1)return!1;n=n===!1||n===!0?n:t.hasClass("jstree-checked");if(this._get_settings().checkbox.two_state)n?(t.removeClass("jstree-checked").addClass("jstree-unchecked"),i&&t.children(":checkbox").removeAttr("checked")):(t.removeClass("jstree-unchecked").addClass("jstree-checked"),i&&t.children(":checkbox").attr("checked","checked"));else{if(n){r=t.find("li").andSelf();if(!r.filter(".jstree-checked, .jstree-undetermined").length)return!1;r.removeClass("jstree-checked jstree-undetermined").addClass("jstree-unchecked"),i&&r.children(":checkbox").removeAttr("checked")}else{r=t.find("li").andSelf();if(!r.filter(".jstree-unchecked, .jstree-undetermined").length)return!1;r.removeClass("jstree-unchecked jstree-undetermined").addClass("jstree-checked"),i&&r.children(":checkbox").attr("checked","checked"),this.data.ui&&(this.data.ui.last_selected=t),this.data.checkbox.last_selected=t}t.parentsUntil(".jstree","li").each(function(){var t=e(this);if(n){if(t.children("ul").children("li.jstree-checked, li.jstree-undetermined").length)return t.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined"),i&&t.parentsUntil(".jstree","li").andSelf().children(":checkbox").removeAttr("checked"),!1;t.removeClass("jstree-checked jstree-undetermined").addClass("jstree-unchecked"),i&&t.children(":checkbox").removeAttr("checked")}else{if(t.children("ul").children("li.jstree-unchecked, li.jstree-undetermined").length)return t.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined"),i&&t.parentsUntil(".jstree","li").andSelf().children(":checkbox").removeAttr("checked"),!1;t.removeClass("jstree-unchecked jstree-undetermined").addClass("jstree-checked"),i&&t.children(":checkbox").attr("checked","checked")}})}return this.data.ui&&this.data.checkbox.noui&&(this.data.ui.selected=this.get_checked()),this.__callback(t),!0},check_node:function(e){if(this.change_state(e,!1)){e=this._get_node(e);if(this._get_settings().checkbox.checked_parent_open){var t=this;e.parents(".jstree-closed").each(function(){t.open_node(this,!1,!0)})}this.__callback({obj:e})}},uncheck_node:function(e){this.change_state(e,!0)&&this.__callback({obj:this._get_node(e)})},check_all:function(){var e=this,t=this._get_settings().checkbox.two_state?this.get_container_ul().find("li"):this.get_container_ul().children("li");t.each(function(){e.change_state(this,!1)}),this.__callback()},uncheck_all:function(){var e=this,t=this._get_settings().checkbox.two_state?this.get_container_ul().find("li"):this.get_container_ul().children("li");t.each(function(){e.change_state(this,!0)}),this.__callback()},is_checked:function(e){return e=this._get_node(e),e.length?e.is(".jstree-checked"):!1},get_checked:function(e,t){return e=!e||e===-1?this.get_container():this._get_node(e),t||this._get_settings().checkbox.two_state?e.find(".jstree-checked"):e.find("> ul > .jstree-checked, .jstree-undetermined > ul > .jstree-checked")},get_unchecked:function(e,t){return e=!e||e===-1?this.get_container():this._get_node(e),t||this._get_settings().checkbox.two_state?e.find(".jstree-unchecked"):e.find("> ul > .jstree-unchecked, .jstree-undetermined > ul > .jstree-unchecked")},show_checkboxes:function(){this.get_container().children("ul").removeClass("jstree-no-checkboxes")},hide_checkboxes:function(){this.get_container().children("ul").addClass("jstree-no-checkboxes")},_repair_state:function(e){e=this._get_node(e);if(!e.length)return;var t=this._get_settings().checkbox.real_checkboxes,n=e.find("> ul > .jstree-checked").length,r=e.find("> ul > .jstree-undetermined").length,i=e.find("> ul > li").length;i===0?e.hasClass("jstree-undetermined")&&this.change_state(e,!1):n===0&&r===0?this.change_state(e,!0):n===i?this.change_state(e,!1):(e.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined"),t&&e.parentsUntil(".jstree","li").andSelf().children(":checkbox").removeAttr("checked"))},reselect:function(){if(this.data.ui&&this.data.checkbox.noui){var t=this,n=this.data.ui.to_select;n=e.map(e.makeArray(n),function(e){return"#"+e.toString().replace(/^#/,"").replace(/\\\//g,"/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,"\\.").replace(/\:/g,"\\:")}),this.deselect_all(),e.each(n,function(e,n){t.check_node(n)}),this.__callback()}else this.__call_old()},save_loaded:function(){var e=this;this.data.core.to_load=[],this.get_container_ul().find("li.jstree-closed.jstree-undetermined").each(function(){this.id&&e.data.core.to_load.push("#"+this.id)})}}}),e(function(){var t=".jstree .jstree-real-checkbox { display:none; } ";e.vakata.css.add_sheet({str:t,title:"jstree"})})}(jQuery),function(t){t.jstree.plugin("types",{__init:function(){var n=this._get_settings().types;this.data.types.attach_to=[],this.get_container().bind("init.jstree",t.proxy(function(){var e=n.types,r=n.type_attr,i="",o=this;t.each(e,function(e,n){t.each(n,function(e,t){/^(max_depth|max_children|icon|valid_children)$/.test(e)||o.data.types.attach_to.push(e)});if(!n.icon)return!0;if(n.icon.image||n.icon.position)e=="default"?i+=".jstree-"+o.get_index()+" a > .jstree-icon { ":i+=".jstree-"+o.get_index()+" li["+r+'="'+e+'"] > a > .jstree-icon { ',n.icon.image&&(i+=" background-image:url("+n.icon.image+"); "),n.icon.position?i+=" background-position:"+n.icon.position+"; ":i+=" background-position:0 0; ",i+="} "}),i!==""&&t.vakata.css.add_sheet({str:i,title:"jstree-types"})},this)).bind("before.jstree",t.proxy(function(e,n){var r,i,s=this._get_settings().types.use_data?this._get_node(n.args[0]):!1,o=s&&s!==-1&&s.length?s.data("jstree"):!1;if(o&&o.types&&o.types[n.func]===!1)return e.stopImmediatePropagation(),!1;if(t.inArray(n.func,this.data.types.attach_to)!==-1){if(!n.args[0]||!n.args[0].tagName&&!n.args[0].jquery)return;r=this._get_settings().types.types,i=this._get_type(n.args[0]);if((r[i]&&typeof r[i][n.func]!="undefined"||r["default"]&&typeof r["default"][n.func]!="undefined")&&this._check(n.func,n.args[0])===!1)return e.stopImmediatePropagation(),!1}},this)),e&&this.get_container().bind("load_node.jstree set_type.jstree",t.proxy(function(e,n){var r=n&&n.rslt&&n.rslt.obj&&n.rslt.obj!==-1?this._get_node(n.rslt.obj).parent():this.get_container_ul(),i=!1,s=this._get_settings().types;t.each(s.types,function(e,t){t.icon&&(t.icon.image||t.icon.position)&&(i=e==="default"?r.find("li > a > .jstree-icon"):r.find("li["+s.type_attr+"='"+e+"'] > a > .jstree-icon"),t.icon.image&&i.css("backgroundImage","url("+t.icon.image+")"),i.css("backgroundPosition",t.icon.position||"0 0"))})},this))},defaults:{max_children:-1,max_depth:-1,valid_children:"all",use_data:!1,type_attr:"rel",types:{"default":{max_children:-1,max_depth:-1,valid_children:"all"}}},_fn:{_types_notify:function(e,t){t.type&&this._get_settings().types.use_data&&this.set_type(t.type,e)},_get_type:function(e){return e=this._get_node(e),!e||!e.length?!1:e.attr(this._get_settings().types.type_attr)||"default"},set_type:function(e,t){t=this._get_node(t);var n=!t.length||!e?!1:t.attr(this._get_settings().types.type_attr,e);return n&&this.__callback({obj:t,type:e}),n},_check:function(e,n,r){n=this._get_node(n);var i=!1,s=this._get_type(n),o=0,u=this,a=this._get_settings().types,f=!1;if(n===-1){if(!a[e])return;i=a[e]}else{if(s===!1)return;f=a.use_data?n.data("jstree"):!1,f&&f.types&&typeof f.types[e]!="undefined"?i=f.types[e]:!a.types[s]||typeof a.types[s][e]=="undefined"?!!a.types["default"]&&typeof a.types["default"][e]!="undefined"&&(i=a.types["default"][e]):i=a.types[s][e]}return t.isFunction(i)&&(i=i.call(this,n)),e==="max_depth"&&n!==-1&&r!==!1&&a.max_depth!==-2&&i!==0&&n.children("a:eq(0)").parentsUntil(".jstree","li").each(function(t){if(a.max_depth!==-1&&a.max_depth-(t+1)<=0)return i=0,!1;o=t===0?i:u._check(e,this,!1);if(o!==-1&&o-(t+1)<=0)return i=0,!1;o>=0&&(o-(t+1)=0&&(a.max_depth-(t+1) ul > li").not(e.o).length:e.cr.find("> ul > li").not(e.o).length;if(o+e.o.length>r)return!1}if(n.max_depth!==-2&&i!==-1){u=0;if(i===0)return!1;if(typeof e.o.d=="undefined"){a=e.o;while(a.length>0)a=a.find("> ul > li"),u++;e.o.d=u}if(i-e.o.d<0)return!1}return!0},create_node:function(e,n,r,i,s,o){if(!o&&(s||this._is_loaded(e))){var u=typeof n=="string"&&n.match(/^before|after$/i)&&e!==-1?this._get_parent(e):this._get_node(e),a=this._get_settings().types,f=this._check("max_children",u),l=this._check("max_depth",u),c=this._check("valid_children",u),h;typeof r=="string"&&(r={data:r}),r||(r={});if(c==="none")return!1;if(t.isArray(c))if(!r.attr||!r.attr[a.type_attr])r.attr||(r.attr={}),r.attr[a.type_attr]=c[0];else if(t.inArray(r.attr[a.type_attr],c)===-1)return!1;if(a.max_children!==-2&&f!==-1){h=u===-1?this.get_container().find("> ul > li").length:u.find("> ul > li").length;if(h+1>f)return!1}if(a.max_depth!==-2&&l!==-1&&l-1<0)return!1}return this.__call_old(!0,e,n,r,i,s,o)}}})}(jQuery)}(),define("jstree",function(){}),define("file-tree",["jquery","jstree","underscore","backbone","common"],function(t,n,r,i,s){t.jstree._themes=app.config.mediaUrl+"js/themes/";var o={options:{},formatRepoData:function(e){var t=[],n;for(var r=0,i=e.length;r-1;d--){p[d]=[];if(d==h-1)for(var v=0,m=e[d].length;v0&&t.extend(l,{children:p[0]}),s.push(l),i.hide(),f.renderDirTree(r,n,s),r.removeClass("hide")},error:function(){var e=[{data:o,attr:{repo_id:u,root_node:!0},state:"closed"}];i.hide(),f.renderDirTree(r,n,e),r.removeClass("hide")}})},prepareOtherReposTree:function(e){var n=this;t("#mv-dir-list #other-repos .hd").click(function(){var r=t("span",t(this)),i=t("#mv-form"),o=t(this).next(),u=t("#mv-dir-list #other-repos #other-repos-dirs");r.hasClass("icon-caret-right")?(r.attr("class","icon-caret-down"),o.show(),t.ajax({url:s.getUrl({name:"unenc_rw_repos"}),cache:!1,dataType:"json",success:function(t){var r=[],s=e.cur_repo_id;for(var a=0,f=t.length;a'+r.HTMLescape(this.model.get("name"))+""),s=e(this.repoDelConfirmTemplate({content:i})).appendTo(n).css({left:t.position().left,top:t.position().top+t.height()+2,width:180}),o=this;e(".no",s).click(function(){s.addClass("hide").remove(),o.rmHighlight()}),e(".yes",s).click(function(){e.ajax({url:r.getUrl({name:"repo_del",repo_id:o.model.get("id")}),dataType:"json",success:function(e){o.remove(),r.feedback(gettext("Delete succeeded."),"success")},error:function(t){s.addClass("hide").remove(),o.rmHighlight();var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),r.feedback(n,"error")}})})}});return i}),define("app/views/myhome-sub-repos",["jquery","underscore","backbone","common","file-tree","app/collections/repos","app/views/sub-lib","app/views/add-repo"],function(e,t,n,r,i,s,o,u){var a=n.View.extend({el:e("#repo-tabs"),events:{"click #sub-lib-create":"createRepo"},initialize:function(t){this.$tabs=e("#repo-tabs"),this.$table=this.$("#my-sub-repos table"),this.$tableHead=e("thead",this.$table),this.$tableBody=e("tbody",this.$table),this.$loadingTip=e(".loading-tip",this.$tabs),this.$emptyTip=e("#my-sub-repos .empty-tips"),this.repos=new s({type:"sub"}),this.listenTo(this.repos,"add",this.addOne),this.listenTo(this.repos,"reset",this.reset)},addOne:function(e,t,n){var r=new o({model:e});n.prepend?this.$tableBody.prepend(r.render().el):this.$tableBody.append(r.render().el)},reset:function(){this.$(".error").hide(),this.$tableBody.empty(),this.repos.each(this.addOne,this),this.repos.length?(this.$emptyTip.hide(),this.$table.show()):(this.$emptyTip.show(),this.$table.hide()),this.$loadingTip.hide()},showSubRepos:function(){this.$tabs.show(),e("#sublib-tab").parent().addClass("ui-state-active"),this.$table.hide();var t=this.$loadingTip;t.show();var n=this;this.repos.fetch({reset:!0,success:function(e,t,n){},error:function(e,r,i){t.hide();var s=n.$(".error"),o;r.responseText?r["status"]==401||r["status"]==403?o=gettext("Permission error"):o=gettext("Error"):o=gettext("Please check the network."),s.html(o).show()}})},show:function(){e("#sub-lib-create").show(),this.showSubRepos()},hide:function(){e("#sub-lib-create").hide(),this.$el.hide(),this.$table.hide(),this.$emptyTip.hide(),e("#sublib-tab",this.$tabs).parent().removeClass("ui-state-active")},createRepo:function(){var t=this,n=e("#sublib-create-form"),s=e(".dir-tree-cont",n);n.modal(),e.ajax({url:r.getUrl({name:"get_my_unenc_repos"}),cache:!1,dataType:"json",success:function(e){var t=i.formatRepoData(e);t.length>0?i.renderDirTree(s,n,t):s.html('

                                        '+gettext("You don't have any library at present.")+"

                                        ")},error:function(t,n,r){var i;t.responseText?i=e.parseJSON(t.responseText).error:i=gettext("Failed. Please check the network."),s.html('

                                        '+i+"

                                        ")}}),e(".submit",n).click(function(){var i=e('[name="dst_repo"]',n).val(),s=e('[name="dst_path"]',n).val();return!s||s=="/"?(e(".error",n).html(gettext("Please choose a directory")).removeClass("hide"),!1):(s=s.substr(0,s.length-1),e.ajax({url:r.getUrl({name:"sub_repo",repo_id:i})+"?p="+encodeURIComponent(s),dataType:"json",success:function(n){e.modal.close();var r={id:n.sub_repo_id,name:n.name,origin_repo_id:i,origin_path:s,abbrev_origin_path:n.abbrev_origin_path,mtime:(new Date).getTime()/1e3,mtime_relative:gettext("Just now")};t.repos.length>0?t.repos.add(r,{prepend:!0}):t.repos.reset([r])},error:function(t,r,i){var s;t.responseText?s=jQuery.parseJSON(t.responseText).error:s=gettext("Failed. Please check the network."),e(".error",n).html(s).removeClass("hide")}}),!1)})}});return a}),define("app/views/shared-repo",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#shared-repo-tmpl").html()),events:{mouseenter:"showAction",mouseleave:"hideAction","click .unshare-btn":"removeShare"},initialize:function(){},removeShare:function(t){var n=this,i=function(t){r.feedback(gettext("Success"),"success",r.SUCCESS_TIMOUT),n.$el.remove(),n.collection.remove(n.model,{silent:!0}),n.collection.length==0&&(e("#repos-shared-to-me table").hide(),e("#repos-shared-to-me .empty-tips").show())};r.ajaxGet({get_url:r.getUrl({name:"ajax_repo_remove_share"}),data:{repo_id:this.model.get("id"),from:this.model.get("owner"),share_type:this.model.get("share_type")},after_op_success:i})},render:function(){return this.$el.html(this.template(this.model.toJSON())),this},showAction:function(){this.$el.addClass("hl"),this.$el.find(".op-icon").removeClass("vh")},hideAction:function(){this.$el.removeClass("hl"),this.$el.find(".op-icon").addClass("vh")}});return i}),define("app/views/myhome-shared-repos",["jquery","underscore","backbone","common","app/collections/repos","app/views/shared-repo"],function(e,t,n,r,i,s){var o=n.View.extend({el:e("#repo-tabs"),reposHdTemplate:t.template(e("#shared-repos-hd-tmpl").html()),initialize:function(t){this.$tabs=e("#repo-tabs"),this.$table=e("#repos-shared-to-me table"),this.$tableHead=e("thead",this.$table),this.$tableBody=e("tbody",this.$table),this.$loadingTip=e(".loading-tip",this.$tabs),this.$emptyTip=e("#repos-shared-to-me .empty-tips"),this.repos=new i({type:"shared"}),this.listenTo(this.repos,"add",this.addOne),this.listenTo(this.repos,"reset",this.reset)},addOne:function(e,t,n){var r=new s({model:e,collection:this.repos});n.prepend?this.$tableBody.prepend(r.render().el):this.$tableBody.append(r.render().el)},renderReposHd:function(){this.$tableHead.html(this.reposHdTemplate())},reset:function(){this.$(".error").hide(),this.$loadingTip.hide(),this.repos.length?(this.$emptyTip.hide(),this.renderReposHd(),this.$tableBody.empty(),this.repos.each(this.addOne,this),this.$table.show()):(this.$emptyTip.show(),this.$table.hide())},showSharedRepos:function(){this.$tabs.show(),e("#shared-lib-tab").parent().addClass("ui-state-active"),this.$table.hide();var t=this.$loadingTip;t.show();var n=this;this.repos.fetch({reset:!0,success:function(e,t,n){},error:function(e,r,i){t.hide();var s=n.$(".error"),o;r.responseText?r["status"]==401||r["status"]==403?o=gettext("Permission error"):o=gettext("Error"):o=gettext("Please check the network."),s.html(o).show()}})},show:function(){this.showSharedRepos()},hide:function(){this.$el.hide(),this.$table.hide(),this.$emptyTip.hide(),e("#shared-lib-tab",this.$tabs).parent().removeClass("ui-state-active")},events:{"click #repos-shared-to-me .by-name":"sortByName","click #repos-shared-to-me .by-time":"sortByTime"},sortByName:function(){var t=this.repos,n=e(".by-name",this.$table);t.comparator=function(e,t){var i=r.compareTwoWord(e.get("name"),t.get("name"));return n.hasClass("icon-caret-up")?-i:i},t.sort(),this.$tableBody.empty(),t.each(this.addOne,this),n.toggleClass("icon-caret-up icon-caret-down"),t.comparator=null},sortByTime:function(){var t=this.repos,n=e(".by-time",this.$table);t.comparator=function(e,t){return n.hasClass("icon-caret-down")?e.get("mtime")(e||g.height())},_setFocus:function(){(p.st.focus?p.content.find(p.st.focus).eq(0):p.wrap).focus()},_onFocusIn:function(t){if(t.target!==p.wrap[0]&&!e.contains(p.wrap[0],t.target))return p._setFocus(),!1},_parseMarkup:function(t,n,r){var i;r.data&&(n=e.extend(r.data,n)),N(s,[t,n,r]),e.each(n,function(e,n){if(n===undefined||n===!1)return!0;i=e.split("_");if(i.length>1){var r=t.find(f+"-"+i[0]);if(r.length>0){var s=i[1];s==="replaceWith"?r[0]!==n[0]&&r.replaceWith(n):s==="img"?r.is("img")?r.attr("src",n):r.replaceWith(''):r.attr(i[1],n)}}else t.find(f+"-"+e).html(n)})},_getScrollbarSize:function(){if(p.scrollbarSize===undefined){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),p.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return p.scrollbarSize}},e.magnificPopup={instance:null,proto:d.prototype,modules:[],open:function(t,n){return k(),t?t=e.extend(!0,{},t):t={},t.isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'',tClose:"Close (Esc)",tLoading:"Loading..."}},e.fn.magnificPopup=function(t){k();var n=e(this);if(typeof t=="string")if(t==="open"){var r,i=v?n.data("magnificPopup"):n[0].magnificPopup,s=parseInt(arguments[1],10)||0;i.items?r=i.items[s]:(r=n,i.delegate&&(r=r.find(i.delegate)),r=r.eq(s)),p._openClick({mfpEl:r},n,i)}else p.isOpen&&p[t].apply(p,Array.prototype.slice.call(arguments,1));else t=e.extend(!0,{},t),v?n.data("magnificPopup",t):n[0].magnificPopup=t,p.addGroup(n,t);return n};var A="inline",O,M,_,D=function(){_&&(M.after(_.addClass(O)).detach(),_=null)};e.magnificPopup.registerModule(A,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){p.types.push(A),x(t+"."+A,function(){D()})},getInline:function(t,n){D();if(t.src){var r=p.st.inline,i=e(t.src);if(i.length){var s=i[0].parentNode;s&&s.tagName&&(M||(O=r.hiddenClass,M=T(O),O="mfp-"+O),_=i.after(M).detach().removeClass(O)),p.updateStatus("ready")}else p.updateStatus("error",r.tNotFound),i=e("
                                        ");return t.inlineElement=i,i}return p.updateStatus("ready"),p._parseMarkup(n,{},t),n}}});var P="ajax",H,B=function(){H&&y.removeClass(H)},j=function(){B(),p.req&&p.req.abort()};e.magnificPopup.registerModule(P,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){p.types.push(P),H=p.st.ajax.cursor,x(t+"."+P,j),x("BeforeChange."+P,j)},getAjax:function(t){H&&y.addClass(H),p.updateStatus("loading");var n=e.extend({url:t.src,success:function(n,r,i){var s={data:n,xhr:i};N("ParseAjax",s),p.appendContent(e(s.data),P),t.finished=!0,B(),p._setFocus(),setTimeout(function(){p.wrap.addClass(l)},16),p.updateStatus("ready"),N("AjaxContentAdded")},error:function(){B(),t.finished=t.loadError=!0,p.updateStatus("error",p.st.ajax.tError.replace("%url%",t.src))}},p.st.ajax.settings);return p.req=e.ajax(n),""}}});var F,I=function(t){if(t.data&&t.data.title!==undefined)return t.data.title;var n=p.st.image.titleSrc;if(n){if(e.isFunction(n))return n.call(p,t);if(t.el)return t.el.attr(n)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'
                                        ',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var e=p.st.image,n=".image";p.types.push("image"),x(o+n,function(){p.currItem.type==="image"&&e.cursor&&y.addClass(e.cursor)}),x(t+n,function(){e.cursor&&y.removeClass(e.cursor),g.off("resize"+f)}),x("Resize"+n,p.resizeImage),p.isLowIE&&x("AfterChange",p.resizeImage)},resizeImage:function(){var e=p.currItem;if(!e||!e.img)return;if(p.st.image.verticalFit){var t=0;p.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",p.wH-t)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,F&&clearInterval(F),e.isCheckingImgSize=!1,N("ImageHasSize",e),e.imgHidden&&(p.content&&p.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var t=0,n=e.img[0],r=function(i){F&&clearInterval(F),F=setInterval(function(){if(n.naturalWidth>0){p._onImageHasSize(e);return}t>200&&clearInterval(F),t++,t===3?r(10):t===40?r(50):t===100&&r(500)},i)};r(1)},getImage:function(t,n){var r=0,i=function(){t&&(t.img[0].complete?(t.img.off(".mfploader"),t===p.currItem&&(p._onImageHasSize(t),p.updateStatus("ready")),t.hasSize=!0,t.loaded=!0,N("ImageLoadComplete")):(r++,r<200?setTimeout(i,100):s()))},s=function(){t&&(t.img.off(".mfploader"),t===p.currItem&&(p._onImageHasSize(t),p.updateStatus("error",o.tError.replace("%url%",t.src))),t.hasSize=!0,t.loaded=!0,t.loadError=!0)},o=p.st.image,u=n.find(".mfp-img");if(u.length){var a=document.createElement("img");a.className="mfp-img",t.el&&t.el.find("img").length&&(a.alt=t.el.find("img").attr("alt")),t.img=e(a).on("load.mfploader",i).on("error.mfploader",s),a.src=t.src,u.is("img")&&(t.img=t.img.clone()),a=t.img[0],a.naturalWidth>0?t.hasSize=!0:a.width||(t.hasSize=!1)}return p._parseMarkup(n,{title:I(t),img_replaceWith:t.img},t),p.resizeImage(),t.hasSize?(F&&clearInterval(F),t.loadError?(n.addClass("mfp-loading"),p.updateStatus("error",o.tError.replace("%url%",t.src))):(n.removeClass("mfp-loading"),p.updateStatus("ready")),n):(p.updateStatus("loading"),t.loading=!0,t.hasSize||(t.imgHidden=!0,n.addClass("mfp-loading"),p.findImageSize(t)),n)}}});var q,R=function(){return q===undefined&&(q=document.createElement("p").style.MozTransform!==undefined),q};e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e=p.st.zoom,r=".zoom",i;if(!e.enabled||!p.supportsTransition)return;var s=e.duration,o=function(t){var n=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),r="all "+e.duration/1e3+"s "+e.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},s="transition";return i["-webkit-"+s]=i["-moz-"+s]=i["-o-"+s]=i[s]=r,n.css(i),n},u=function(){p.content.css("visibility","visible")},a,f;x("BuildControls"+r,function(){if(p._allowZoom()){clearTimeout(a),p.content.css("visibility","hidden"),i=p._getItemToZoom();if(!i){u();return}f=o(i),f.css(p._getOffset()),p.wrap.append(f),a=setTimeout(function(){f.css(p._getOffset(!0)),a=setTimeout(function(){u(),setTimeout(function(){f.remove(),i=f=null,N("ZoomAnimationEnded")},16)},s)},16)}}),x(n+r,function(){if(p._allowZoom()){clearTimeout(a),p.st.removalDelay=s;if(!i){i=p._getItemToZoom();if(!i)return;f=o(i)}f.css(p._getOffset(!0)),p.wrap.append(f),p.content.css("visibility","hidden"),setTimeout(function(){f.css(p._getOffset())},16)}}),x(t+r,function(){p._allowZoom()&&(u(),f&&f.remove(),i=null)})},_allowZoom:function(){return p.currItem.type==="image"},_getItemToZoom:function(){return p.currItem.hasSize?p.currItem.img:!1},_getOffset:function(t){var n;t?n=p.currItem.img:n=p.st.zoom.opener(p.currItem.el||p.currItem);var r=n.offset(),i=parseInt(n.css("padding-top"),10),s=parseInt(n.css("padding-bottom"),10);r.top-=e(window).scrollTop()-i;var o={width:n.width(),height:(v?n.innerHeight():n[0].offsetHeight)-s-i};return R()?o["-moz-transform"]=o.transform="translate("+r.left+"px,"+r.top+"px)":(o.left=r.left,o.top=r.top),o}}});var U="iframe",z="//about:blank",W=function(e){if(p.currTemplate[U]){var t=p.currTemplate[U].find("iframe");t.length&&(e||(t[0].src=z),p.isIE8&&t.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(U,{options:{markup:'
                                        ',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){p.types.push(U),x("BeforeChange",function(e,t,n){t!==n&&(t===U?W():n===U&&W(!0))}),x(t+"."+U,function(){W()})},getIframe:function(t,n){var r=t.src,i=p.st.iframe;e.each(i.patterns,function(){if(r.indexOf(this.index)>-1)return this.id&&(typeof this.id=="string"?r=r.substr(r.lastIndexOf(this.id)+this.id.length,r.length):r=this.id.call(this,r)),r=this.src.replace("%id%",r),!1});var s={};return i.srcAction&&(s[i.srcAction]=r),p._parseMarkup(n,s,t),p.updateStatus("ready"),n}}});var X=function(e){var t=p.items.length;return e>t-1?e-t:e<0?t+e:e},V=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=p.st.gallery,r=".mfp-gallery",i=Boolean(e.fn.mfpFastClick);p.direction=!0;if(!n||!n.enabled)return!1;E+=" mfp-gallery",x(o+r,function(){n.navigateByImgClick&&p.wrap.on("click"+r,".mfp-img",function(){if(p.items.length>1)return p.next(),!1}),b.on("keydown"+r,function(e){e.keyCode===37?p.prev():e.keyCode===39&&p.next()})}),x("UpdateStatus"+r,function(e,t){t.text&&(t.text=V(t.text,p.currItem.index,p.items.length))}),x(s+r,function(e,t,r,i){var s=p.items.length;r.counter=s>1?V(n.tCounter,i.index,s):""}),x("BuildControls"+r,function(){if(p.items.length>1&&n.arrows&&!p.arrowLeft){var t=n.arrowMarkup,r=p.arrowLeft=e(t.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass(h),s=p.arrowRight=e(t.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass(h),o=i?"mfpFastClick":"click";r[o](function(){p.prev()}),s[o](function(){p.next()}),p.isIE7&&(T("b",r[0],!1,!0),T("a",r[0],!1,!0),T("b",s[0],!1,!0),T("a",s[0],!1,!0)),p.container.append(r.add(s))}}),x(u+r,function(){p._preloadTimeout&&clearTimeout(p._preloadTimeout),p._preloadTimeout=setTimeout(function(){p.preloadNearbyImages(),p._preloadTimeout=null},16)}),x(t+r,function(){b.off(r),p.wrap.off("click"+r),p.arrowLeft&&i&&p.arrowLeft.add(p.arrowRight).destroyMfpFastClick(),p.arrowRight=p.arrowLeft=null})},next:function(){p.direction=!0,p.index=X(p.index+1),p.updateItemHTML()},prev:function(){p.direction=!1,p.index=X(p.index-1),p.updateItemHTML()},goTo:function(e){p.direction=e>=p.index,p.index=e,p.updateItemHTML()},preloadNearbyImages:function(){var e=p.st.gallery.preload,t=Math.min(e[0],p.items.length),n=Math.min(e[1],p.items.length),r;for(r=1;r<=(p.direction?n:t);r++)p._preloadItem(p.index+r);for(r=1;r<=(p.direction?t:n);r++)p._preloadItem(p.index-r)},_preloadItem:function(t){t=X(t);if(p.items[t].preloaded)return;var n=p.items[t];n.parsed||(n=p.parseEl(t)),N("LazyLoad",n),n.type==="image"&&(n.img=e('').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,N("LazyLoadError",n)}).attr("src",n.src)),n.preloaded=!0}}});var $="retina";e.magnificPopup.registerModule($,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=p.st.retina,t=e.ratio;t=isNaN(t)?t():t,t>1&&(x("ImageHasSize."+$,function(e,n){n.img.css({"max-width":n.img[0].naturalWidth/t,width:"100%"})}),x("ElementParse."+$,function(n,r){r.src=e.replaceSrc(r,t)}))}}}}),function(){var t=1e3,n="ontouchstart"in window,r=function(){g.off("touchmove"+s+" touchend"+s)},i="mfpFastClick",s="."+i;e.fn.mfpFastClick=function(i){return e(this).each(function(){var o=e(this),u;if(n){var a,f,l,c,h,p;o.on("touchstart"+s,function(e){c=!1,p=1,h=e.originalEvent?e.originalEvent.touches[0]:e.touches[0],f=h.clientX,l=h.clientY,g.on("touchmove"+s,function(e){h=e.originalEvent?e.originalEvent.touches:e.touches,p=h.length,h=h[0];if(Math.abs(h.clientX-f)>10||Math.abs(h.clientY-l)>10)c=!0,r()}).on("touchend"+s,function(e){r();if(c||p>1)return;u=!0,e.preventDefault(),clearTimeout(a),a=setTimeout(function(){u=!1},t),i()})})}o.on("click"+s,function(){u||i()})})},e.fn.destroyMfpFastClick=function(){e(this).off("touchstart"+s+" click"+s),n&&g.off("touchmove"+s+" touchend"+s)}}(),k()}),define("app/views/starred-file-item",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#starred-file-item-tmpl").html()),events:{mouseenter:"showAction",mouseleave:"hideAction","click .unstar":"removeShare"},initialize:function(){},render:function(){var e=this.model.toJSON();return e.is_img=r.imageCheck(e.file_name),e.encoded_path=r.encodePath(e.path),this.$el.html(this.template(e)),this},removeShare:function(){var t=this,n=this.model.get("repo"),i=this.model.get("file_name"),s=this.model.get("path");e.ajax({url:r.getUrl({name:"starred_files"})+"?p="+s+"&repo_id="+n,type:"DELETE",beforeSend:r.prepareCSRFToken,success:function(){t.remove(),r.feedback(gettext("Successfully unstared {placeholder}").replace("{placeholder}",r.HTMLescape(i)),"success")},error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),r.feedback(n,"error")}})},showAction:function(){this.$el.addClass("hl"),this.$el.find(".op-icon").removeClass("vh")},hideAction:function(){this.$el.removeClass("hl"),this.$el.find(".op-icon").addClass("vh")}});return i}),define("app/models/starred-file",["underscore","backbone"],function(e,t){var n=t.Model.extend({});return n}),define("app/collections/starred-files",["underscore","backbone","common","app/models/starred-file"],function(e,t,n,r){var i=t.Collection.extend({model:r,url:function(){return n.getUrl({name:"starred_files"})}});return i}),define("app/views/starred-file",["jquery","underscore","backbone","common","jquery.magnific-popup","app/views/starred-file-item","app/collections/starred-files"],function(e,t,n,r,i,s,o){var u=n.View.extend({el:e("#starred-file"),initialize:function(){this.$table=this.$("table"),this.$tableBody=this.$("tbody"),this.$loadingTip=this.$(".loading-tip"),this.$emptyTip=this.$(".empty-tips"),this.starredFiles=new o,this.listenTo(this.starredFiles,"reset",this.reset),this.$el.magnificPopup({type:"image",delegate:".img-name-link",tClose:gettext("Close (Esc)"),tLoading:gettext("Loading..."),gallery:{enabled:!0,tPrev:gettext("Previous (Left arrow key)"),tNext:gettext("Next (Right arrow key)"),tCounter:gettext("%curr% of %total%")},image:{titleSrc:function(e){var t=e.el,n=t[0].innerHTML,r=''+gettext("Open in New Tab")+"";return n+"
                                        "+r},tError:gettext('The image could not be loaded.')}})},addOne:function(e){var t=new s({model:e});this.$tableBody.append(t.render().el)},reset:function(){this.$tableBody.empty(),this.$loadingTip.hide(),this.starredFiles.each(this.addOne,this),this.starredFiles.length?(this.$emptyTip.hide(),this.$table.show()):(this.$emptyTip.show(),this.$table.hide())},hide:function(){this.$el.hide()},show:function(){this.$el.show(),this.$table.hide(),this.$loadingTip.show(),this.starredFiles.fetch({reset:!0})}});return u}),define("app/views/myhome-side-nav",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({el:"#myhome-side-nav",template:t.template(e("#myhome-side-nav-tmpl").html()),enableModTemplate:t.template(e("#myhome-mods-enable-form-tmpl").html()),initialize:function(){},render:function(t){return this.$el.html(this.template({mods_enabled:app.pageOptions.user_mods_enabled,can_add_repo:app.pageOptions.can_add_repo,events_enabled:app.pageOptions.events_enabled})),this.$el.find("li").removeClass("tab-cur"),this.$el.find("a").each(function(){if(e(this).attr("href").match(t)){e(this).parent().addClass("tab-cur");return}}),this},events:{"click #myhome-enable-mods":"enableMods"},enableMods:function(){var t=app.pageOptions.user_mods_enabled,n=e(this.enableModTemplate({mods_available:app.pageOptions.user_mods_available,mods_enabled:t}));n.modal(),e("#simplemodal-container").css("height","auto"),e(".checkbox-orig",n).click(function(){e(this).parent().toggleClass("checkbox-checked")});var i=e('[name="personal_wiki"]'),s=i.prop("checked"),o=this;n.submit(function(){var u=i.prop("checked");return u==s?!1:(r.ajaxPost({form:n,form_id:n.attr("id"),post_url:r.getUrl({name:"toggle_personal_modules"}),post_data:{personal_wiki:u},after_op_success:function(){if(u)t.push("personal wiki");else{var n=t.indexOf("personal wiki");n>-1&&t.splice(n,1)}e.modal.close(),o.render()}}),!1)})},show:function(e){this.render(e),this.$el.show()},hide:function(){this.$el.hide()}});return i}),define("app/views/myhome",["jquery","underscore","backbone","common","app/views/myhome-repos","app/views/myhome-sub-repos","app/views/myhome-shared-repos","app/views/starred-file","app/views/myhome-side-nav"],function(e,t,n,r,i,s,o,u,a){var f=n.View.extend({el:"#main",initialize:function(t){this.sideNavView=new a,this.reposView=new i,this.subReposView=new s,this.sharedReposView=new o,this.starredFileView=new u,this.dirView=t.dirView,this.currentView=this.reposView,e("#initial-loading-view").hide()},showMyRepos:function(){this.sideNavView.show("my-libs"),this.currentView.hide(),this.reposView.show(),this.currentView=this.reposView},showMySubRepos:function(){this.sideNavView.show("my-libs"),this.currentView.hide(),this.subReposView.show(),this.currentView=this.subReposView},showSharedRepos:function(){this.sideNavView.show("my-libs"),this.currentView.hide(),this.sharedReposView.show(),this.currentView=this.sharedReposView},showStarredFile:function(){this.sideNavView.show("starred"),this.currentView.hide(),this.starredFileView.show(),this.currentView=this.starredFileView},showDir:function(e,t,n){this.sideNavView.show("my-libs");var n=n||"/";this.currentView.hide(),this.dirView.showDir(e,t,n),this.currentView=this.dirView},hide:function(){this.currentView.hide(),this.sideNavView.hide()}});return f}),define("app/models/group-repo",["underscore","backbone","app/models/repo"],function(e,t,n){var r=n.extend({defaults:{permission:"r"}});return e.extend(r.prototype.defaults,n.prototype.defaults),r}),define("app/collections/group-repos",["underscore","backbone","common","app/models/group-repo"],function(e,t,n,r){var i=t.Collection.extend({model:r,comparator:0/0,url:function(){return n.getUrl({name:"group_repos",group_id:this.group_id})},parse:function(e){return this.is_staff=e.is_staff,e.repos},setGroupID:function(e){this.group_id=e}});return i}),define("app/views/group-repo",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#group-repo-tmpl").html()),events:{mouseenter:"highlight",mouseleave:"rmHighlight","click .cancel-share":"unshare"},initialize:function(e){this.group_id=e.group_id,this.is_staff=e.is_staff,this.listenTo(this.model,"destroy",this.remove)},render:function(){var t=this.model.toJSON();return e.extend(t,{group_id:this.group_id,is_staff:this.is_staff}),this.$el.html(this.template(t)),this},highlight:function(){this.$el.addClass("hl").find(".op-icon").removeClass("vh")},rmHighlight:function(){this.$el.removeClass("hl").find(".op-icon").addClass("vh")},unshare:function(){var t=this.model.get("name");this.model.destroy({wait:!0,success:function(){var e=gettext("Successfully unshared {placeholder}").replace("{placeholder}",''+r.HTMLescape(t)+"");r.feedback(e,"success",r.SUCCESS_TIMOUT)},error:function(t,n){var i;n.responseText?i=e.parseJSON(n.responseText).error_msg:i=gettext("Failed. Please check the network."),r.feedback(i,"error")}})}});return i}),define("app/views/add-group-repo",["jquery","simplemodal","underscore","backbone","common","app/views/add-repo"],function(e,t,n,r,i,s){var o=s.extend({templateData:function(){return{showSharePerm:!0}},newAttributes:function(){var t=s.prototype.newAttributes.apply(this);return n.extend(t,{permission:e("select[name=permission]",this.$el).val()})}});return o}),define("app/views/group-side-nav",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({el:"#group-side-nav",template:t.template(e("#group-side-nav-tmpl").html()),enableModTemplate:t.template(e("#group-mods-enable-form-tmpl").html()),initialize:function(){},render:function(t){this.group_id=t;var n=this;e.ajax({url:r.getUrl({name:"group_basic_info",group_id:this.group_id}),cache:!1,dataType:"json",success:function(e){n.$el.html(n.template(e)),n.mods_available=e.mods_available,n.mods_enabled=e.mods_enabled},error:function(t){var r;t.responseText?r=e.parseJSON(t.responseText).error:r=gettext("Please check the network."),n.$el.html('

                                        '+r+"

                                        ")}})},events:{"click #enable-mods":"enableMods"},enableMods:function(){var t=e(this.enableModTemplate({mods_available:this.mods_available,mods_enabled:this.mods_enabled}));t.modal(),e("#simplemodal-container").css("height","auto"),e(".checkbox-orig",t).click(function(){e(this).parent().toggleClass("checkbox-checked")});var n=e('[name="group_wiki"]'),i=n.prop("checked"),s=this;t.submit(function(){var o=n.prop("checked");return o==i?!1:(r.ajaxPost({form:t,form_id:t.attr("id"),post_url:r.getUrl({name:"toggle_group_modules",group_id:s.group_id}),post_data:{group_wiki:o},after_op_success:function(){e.modal.close(),s.render(s.group_id)}}),!1)})},show:function(){this.$el.show()},hide:function(){this.$el.hide()}});return i}),define("app/views/group",["jquery","underscore","backbone","common","app/collections/group-repos","app/views/group-repo","app/views/add-group-repo","app/views/group-side-nav"],function(e,t,n,r,i,s,o,u){var a=n.View.extend({el:"#group-repo-tabs",reposHdTemplate:t.template(e("#shared-repos-hd-tmpl").html()),events:{"click .repo-create":"createRepo","click #grp-repos .by-name":"sortByName","click #grp-repos .by-time":"sortByTime"},initialize:function(e){this.$tabs=this.$el,this.$table=this.$("table"),this.$tableHead=this.$("thead"),this.$tableBody=this.$("tbody"),this.$loadingTip=this.$(".loading-tip"),this.$emptyTip=this.$(".empty-tips"),this.sideNavView=new u,this.repos=new i,this.listenTo(this.repos,"add",this.addOne),this.listenTo(this.repos,"reset",this.reset),this.dirView=e.dirView},addOne:function(e,t,n){var r=new s({model:e,group_id:this.group_id,is_staff:this.repos.is_staff});n.prepend?this.$tableBody.prepend(r.render().el):this.$tableBody.append(r.render().el)},renderReposHd:function(){this.$tableHead.html(this.reposHdTemplate())},reset:function(){this.$(".error").hide(),this.$loadingTip.hide(),this.repos.length?(this.$emptyTip.hide(),this.renderReposHd(),this.$tableBody.empty(),this.repos.each(this.addOne,this),this.$table.show()):(this.$emptyTip.show(),this.$table.hide())},showSideNav:function(){var e=this.sideNavView;if(e.group_id&&e.group_id==this.group_id){e.show();return}e.render(this.group_id),e.show()},showRepoList:function(e){this.group_id=e,this.showSideNav(),this.dirView.hide(),this.$emptyTip.hide(),this.$tabs.show(),this.$table.hide();var t=this.$loadingTip;t.show();var n=this;this.repos.setGroupID(e),this.repos.fetch({reset:!0,data:{from:"web"},success:function(e,t,n){},error:function(e,r,i){t.hide();var s=n.$(".error"),o;r.responseText?r["status"]==401||r["status"]==403?o=gettext("Permission error"):o=gettext("Error"):o=gettext("Please check the network."),s.html(o).show()}})},hideRepoList:function(){this.$tabs.hide()},showDir:function(e,t,n){this.group_id=e,this.showSideNav(),this.hideRepoList(),this.dirView.showDir("group/"+this.group_id,t,n)},createRepo:function(){new o(this.repos)},sortByName:function(){var t=this.repos,n=e(".by-name",this.$table);t.comparator=function(e,t){var i=r.compareTwoWord(e.get("name"),t.get("name"));return n.hasClass("icon-caret-up")?-i:i},t.sort(),this.$tableBody.empty(),t.each(this.addOne,this),n.toggleClass("icon-caret-up icon-caret-down"),t.comparator=null},sortByTime:function(){var t=this.repos,n=e(".by-time",this.$table);t.comparator=function(e,t){return n.hasClass("icon-caret-down")?e.get("mtime")'+r.HTMLescape(t)+"");r.feedback(n,"success",r.SUCCESS_TIMOUT)},after_op_error:function(e){r.ajaxErrorHandler(e)}})}});return i}),define("app/views/create-pub-repo",["jquery","simplemodal","underscore","backbone","common","app/views/add-repo"],function(e,t,n,r,i,s){var o=s.extend({templateData:function(){return{showSharePerm:!0}},newAttributes:function(){var t=s.prototype.newAttributes.apply(this);return n.extend(t,{permission:e("select[name=permission]",this.$el).val()})}});return o}),define("app/views/add-pubrepo-item",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#add-pubrepo-item-tmpl").html()),events:{"click .select":"select","change .share-permission-select":"selectPerm"},initialize:function(){},selectPerm:function(t){var n=e(t.currentTarget).val();this.model.set({pub_perm:n},{silent:!0})},select:function(){var e=this.$(".checkbox");e.toggleClass("checkbox-checked"),e.hasClass("checkbox-checked")?this.model.set({selected:!0},{silent:!0}):this.model.set({selected:!1},{silent:!0})},render:function(){return this.$el.html(this.template(this.model.toJSON())),this}});return i}),define("app/views/add-pub-repo",["jquery","simplemodal","underscore","backbone","common","app/collections/repos","app/views/add-pubrepo-item"],function(e,t,n,r,i,s,o){var u=r.View.extend({id:"add-pubrepo-popup",template:n.template(e("#add-pubrepo-popup-tmpl").html()),initialize:function(t){this.$el.html(this.template()).modal({}),e("#simplemodal-container").css({width:"auto",height:"auto"}),this.$table=this.$("table"),this.$tableBody=this.$("tbody"),this.$loadingTip=this.$(".loading-tip"),this.myRepos=new s,this.pubRepos=t,this.listenTo(this.myRepos,"reset",this.reset),this.myRepos.fetch({reset:!0})},events:{"click .submit":"submit"},submit:function(){var t=this.myRepos.where({selected:!0}),r=this,s=[];n.each(t,function(t){var n=t.id,r="rw";t.has("pub_perm")&&(r=t.get("pub_perm")),s.push(e.ajax({url:i.getUrl({name:"shared_repos",repo_id:n})+"?share_type=public&permission="+r,type:"PUT",beforeSend:i.prepareCSRFToken,dataType:"json",error:function(e,t,n){i.ajaxErrorHandler(e,t,n)}}))});var o=e.when.apply(e,s);o.done(function(){e.modal.close(),r.pubRepos.fetch({reset:!0})})},addOne:function(e){var t=new o({model:e});this.$tableBody.append(t.render().el)},reset:function(){this.$loadingTip.hide(),this.$table.show(),this.myRepos.each(this.addOne,this)}});return u}),define("app/views/organization",["jquery","underscore","backbone","common","app/collections/pub-repos","app/views/organization-repo","app/views/create-pub-repo","app/views/add-pub-repo"],function(e,t,n,r,i,s,o,u){var a=n.View.extend({el:"#main",reposHdTemplate:t.template(e("#shared-repos-hd-tmpl").html()),initialize:function(t){this.$sideNav=e("#org-side-nav"),this.$reposDiv=e("#organization-repos"),this.$table=e("#organization-repos table"),this.$tableHead=e("thead",this.$table),this.$tableBody=e("tbody",this.$table),this.$loadingTip=e("#organization-repos .loading-tip"),this.$emptyTip=e("#organization-repos .empty-tips"),this.repos=new i,this.listenTo(this.repos,"add",this.addOne),this.listenTo(this.repos,"reset",this.reset),this.dirView=t.dirView;var n=e("#add-pub-lib"),s=e("#add-pub-lib-menu");n.click(function(){s.toggleClass("hide"),s.css({top:n.position().top+n.outerHeight(),right:10})}),e(".item",s).hover(function(){e(this).css({background:"#f3f3f3"})},function(){e(this).css({background:"transparent"})}),e(document).click(function(e){r.closePopup(e,s,n)})},events:{"click #organization-repos .share-existing":"addRepo","click #organization-repos .create-new":"createRepo","click #organization-repos .by-name":"sortByName","click #organization-repos .by-time":"sortByTime"},createRepo:function(){new o(this.repos)},addRepo:function(){new u(this.repos)},addOne:function(e,t,n){var r=new s({model:e,collection:this.repos});n.prepend?this.$tableBody.prepend(r.render().el):this.$tableBody.append(r.render().el)},renderReposHd:function(){this.$tableHead.html(this.reposHdTemplate())},reset:function(){this.$(".error").hide(),this.$loadingTip.hide(),this.repos.length?(this.$emptyTip.hide(),this.renderReposHd(),this.$tableBody.empty(),this.repos.each(this.addOne,this),this.$table.show()):(this.$table.hide(),this.$emptyTip.show())},showRepoList:function(){this.$sideNav.show(),this.dirView.hide(),this.$reposDiv.show();var e=this.$loadingTip;e.show();var t=this;this.repos.fetch({reset:!0,success:function(e,t,n){},error:function(n,r,i){e.hide();var s=t.$(".error"),o;r.responseText?r["status"]==401||r["status"]==403?o=gettext("Permission error"):o=gettext("Error"):o=gettext("Please check the network."),s.html(o).show()}})},hideRepoList:function(){this.$reposDiv.hide()},showDir:function(e,t){this.$sideNav.show();var t=t||"/";this.hideRepoList(),this.dirView.showDir("org",e,t)},sortByName:function(){var t=this.repos,n=e(".by-name",this.$table);t.comparator=function(e,t){var i=r.compareTwoWord(e.get("name"),t.get("name"));return n.hasClass("icon-caret-up")?-i:i},t.sort(),this.$tableBody.empty(),t.each(this.addOne,this),n.toggleClass("icon-caret-up icon-caret-down"),t.comparator=null},sortByTime:function(){var t=this.repos,n=e(".by-time",this.$table);t.comparator=function(e,t){return n.hasClass("icon-caret-down")?e.get("mtime")=0)&&t(n,!i)}}),e("").outerWidth(1).jquery||e.each(["Width","Height"],function(t,n){function o(t,n,i,s){return e.each(r,function(){n-=parseFloat(e.css(t,"padding"+this))||0,i&&(n-=parseFloat(e.css(t,"border"+this+"Width"))||0),s&&(n-=parseFloat(e.css(t,"margin"+this))||0)}),n}var r=n==="Width"?["Left","Right"]:["Top","Bottom"],i=n.toLowerCase(),s={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+n]=function(t){return t===undefined?s["inner"+n].call(this):this.each(function(){e(this).css(i,o(this,t)+"px")})},e.fn["outer"+n]=function(t,r){return typeof t!="number"?s["outer"+n].call(this,t):this.each(function(){e(this).css(i,o(this,t,!0,r)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}),e("").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(n){return arguments.length?t.call(this,e.camelCase(n)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.fn.extend({focus:function(t){return function(n,r){return typeof n=="number"?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),r&&r.call(t)},n)}):t.apply(this,arguments)}}(e.fn.focus),disableSelection:function(){var e="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.bind(e+".ui-disableSelection",function(e){e.preventDefault()})}}(),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(t){if(t!==undefined)return this.css("zIndex",t);if(this.length){var n=e(this[0]),r,i;while(n.length&&n[0]!==document){r=n.css("position");if(r==="absolute"||r==="relative"||r==="fixed"){i=parseInt(n.css("zIndex"),10);if(!isNaN(i)&&i!==0)return i}n=n.parent()}}return 0}}),e.ui.plugin={add:function(t,n,r){var i,s=e.ui[t].prototype;for(i in r)s.plugins[i]=s.plugins[i]||[],s.plugins[i].push([n,r[i]])},call:function(e,t,n,r){var i,s=e.plugins[t];if(!s)return;if(!r&&(!e.element[0].parentNode||e.element[0].parentNode.nodeType===11))return;for(i=0;i",options:{disabled:!1,create:null},_createWidget:function(n,r){r=e(r||this.defaultElement||this)[0],this.element=e(r),this.uuid=t++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),n),this.bindings=e(),this.hoverable=e(),this.focusable=e(),r!==this&&(e.data(r,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===r&&this.destroy()}}),this.document=e(r.style?r.ownerDocument:r.document||r),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(t,n){var r=t,i,s,o;if(arguments.length===0)return e.widget.extend({},this.options);if(typeof t=="string"){r={},i=t.split("."),t=i.shift();if(i.length){s=r[t]=e.widget.extend({},this.options[t]);for(o=0;o
                                        ").appendTo(this.element),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(e){if(e===undefined)return this.options.value;this.options.value=this._constrainedValue(e),this._refreshValue()},_constrainedValue:function(e){return e===undefined&&(e=this.options.value),this.indeterminate=e===!1,typeof e!="number"&&(e=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,e))},_setOptions:function(e){var t=e.value;delete e.value,this._super(e),this.options.value=this._constrainedValue(t),this._refreshValue()},_setOption:function(e,t){e==="max"&&(t=Math.max(this.min,t)),e==="disabled"&&this.element.toggleClass("ui-state-disabled",!!t).attr("aria-disabled",t),this._super(e,t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var t=this.options.value,n=this._percentage();this.valueDiv.toggle(this.indeterminate||t>this.min).toggleClass("ui-corner-right",t===this.options.max).width(n.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=e("
                                        ").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":t}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),t===this.options.max&&this._trigger("complete")}})}),define("app/models/dirent",["underscore","backbone"],function(e,t){var n=t.Model.extend({});return n}),define("app/collections/dirents",["underscore","backbone","common","app/models/dirent"],function(e,t,n,r){var i=t.Collection.extend({model:r,url:function(){return n.getUrl({name:"list_lib_dir",repo_id:this.repo_id})},initialize:function(){},parse:function(e){return this.repo_name=e.repo_name,this.user_perm=e.user_perm,this.encrypted=e.encrypted,this.is_repo_owner=e.is_repo_owner,this.is_virtual=e.is_virtual,this.dirent_more=e.dirent_more,this.more_start=e.more_start,e.dirent_list},setPath:function(e,t,n){this.category=e,this.repo_id=t,this.path=n}});return i}),define("app/views/folder-perm-item",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#folder-perm-item-tmpl").html()),initialize:function(e){this.item_data=e.item_data,this.repo_id=e.repo_id,this.path=e.path,this.render()},render:function(){return this.$el.html(this.template(this.item_data)),this},events:{mouseenter:"showPermOpIcons",mouseleave:"hidePermOpIcons","click .perm-edit-icon":"editIconClick","change .perm-toggle-select":"editPerm","click .perm-delete-icon":"deletePerm"},showPermOpIcons:function(){this.$el.find(".op-icon").removeClass("vh")},hidePermOpIcons:function(){this.$el.find(".op-icon").addClass("vh")},editIconClick:function(t){e(t.currentTarget).closest("td").find(".perm").addClass("hide").end().find(".perm-toggle-select").removeClass("hide")},editPerm:function(t){var n=this,i=e(t.currentTarget).val(),s={perm:i,path:this.path,type:"modify"},o=this.item_data.is_user_perm;o?e.extend(s,{user:this.item_data.user}):e.extend(s,{group_id:this.item_data.group_id}),e.ajax({url:r.getUrl({name:o?"set_user_folder_perm":"set_group_folder_perm",repo_id:this.repo_id}),type:"POST",dataType:"json",cache:!1,beforeSend:r.prepareCSRFToken,data:s,success:function(){n.item_data.perm=i,n.render()},error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),o?e("#user-folder-perm .error").html(n).removeClass("hide"):e("#group-folder-perm .error").html(n).removeClass("hide")}})},deletePerm:function(){var t=this,n={perm:this.item_data.perm,path:this.path,type:"delete"},i=this.item_data.is_user_perm;i?e.extend(n,{user:this.item_data.user}):e.extend(n,{group_id:this.item_data.group_id}),e.ajax({url:r.getUrl({name:i?"set_user_folder_perm":"set_group_folder_perm",repo_id:this.repo_id}),type:"POST",dataType:"json",cache:!1,beforeSend:r.prepareCSRFToken,data:n,success:function(){t.remove()},error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),i?e("#user-folder-perm .error").html(n).removeClass("hide"):e("#group-folder-perm .error").html(n).removeClass("hide")}})}});return i}),define("app/views/folder-perm",["jquery","underscore","backbone","common","jquery.ui.tabs","select2","app/views/folder-perm-item"],function(e,t,n,r,i,s,o){var u=n.View.extend({tagName:"div",id:"folder-perm-popup",template:t.template(e("#folder-perm-popup-tmpl").html()),initialize:function(t){this.repo_id=t.repo_id,this.obj_name=t.obj_name,this.dir_path=t.dir_path,this.path=r.pathJoin([this.dir_path,this.obj_name]),this.render(),this.$el.modal({appendTo:"#main",focus:!1,containerCss:{padding:0}}),e("#simplemodal-container").css({width:"auto",height:"auto"}),this.$("#folder-perm-tabs").tabs(),this.panelsInit();var n=this;e(document).on("click",function(e){var t=e.target||event.srcElement;n.$(".perm-edit-icon, .perm-toggle-select").is(t)||(n.$(".perm").removeClass("hide"),n.$(".perm-toggle-select").addClass("hide"))})},render:function(){return this.$el.html(this.template({title:gettext("Set {placeholder}'s permission").replace("{placeholder}",''+r.HTMLescape(this.obj_name)+"")})),this},panelsInit:function(){this.$add_user_perm=this.$("#add-user-folder-perm"),this.$add_group_perm=this.$("#add-group-folder-perm");var t=this,n=this.$add_user_perm,i=this.$add_group_perm;r.ajaxGet({get_url:r.getUrl({name:"get_folder_perm_by_path",repo_id:this.repo_id}),data:{path:this.path},after_op_success:function(r){e(r.user_perms).each(function(r,i){var s=new o({repo_id:t.repo_id,path:t.path,item_data:e.extend(i,{is_user_perm:!0})});n.after(s.el)}),e(r.group_perms).each(function(n,r){var s=new o({repo_id:t.repo_id,path:t.path,item_data:e.extend(r,{is_user_perm:!1})});i.after(s.el)})}}),e('[name="email"]',n).select2(r.contactInputOptionsForSelect2());var s=app.pageOptions.groups||[],u="";for(var a=0,f=s.length;a'+s[a].name+"";e('[name="group"]',i).html(u).select2({placeholder:gettext("Select groups"),escapeMarkup:function(e){return e}})},events:{"click #add-user-folder-perm .submit":"addUserFolderPerm","click #add-group-folder-perm .submit":"addGroupFolderPerm"},addUserFolderPerm:function(){var t=this,n=this.$add_user_perm,i=e('[name="email"]',n).val();if(!i)return!1;var s=e('[name="permission"]',n).val();r.ajaxPost({form:n,form_id:n.attr("id"),post_url:r.getUrl({name:"set_user_folder_perm",repo_id:this.repo_id}),post_data:{path:this.path,type:"add",user:i,perm:s},after_op_success:function(r){e(r.success).each(function(e,r){var u=new o({repo_id:t.repo_id,path:t.path,item_data:{user:i,user_name:r.user_name,perm:s,is_user_perm:!0}});n.after(u.el)}),e('[name="email"]',n).select2("val",""),e("#user-folder-perm .error").addClass("hide")},after_op_error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),e("#user-folder-perm .error").html(n).removeClass("hide")}})},addGroupFolderPerm:function(){var t=this,n=this.$add_group_perm,i=e('[name="group"]',n).val().join(",");if(!i)return!1;var s=e('[name="permission"]',n).val();r.ajaxPost({form:n,form_id:n.attr("id"),post_url:r.getUrl({name:"set_group_folder_perm",repo_id:this.repo_id}),post_data:{path:this.path,type:"add",group_id:i,perm:s},after_op_success:function(r){e(r.success).each(function(r,i){var u=new o({repo_id:t.repo_id,path:t.path,item_data:{is_user_perm:!1,perm:s,group_id:i.group_id,group_name:i.group_name}});n.after(u.el),e("#group-folder-perm .error").addClass("hide")}),e('[name="group"]',n).select2("val","")},after_op_error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),e("#group-folder-perm .error").html(n).removeClass("hide")}})}});return u}),define("app/views/dirent",["jquery","underscore","backbone","common","file-tree","app/views/share","app/views/folder-perm"],function(e,t,n,r,i,s,o){app=app||{},app.globalState=app.globalState||{};var u=n.View.extend({tagName:"tr",template:t.template(e("#dirent-tmpl").html()),renameTemplate:t.template(e("#rename-form-template").html()),mvcpTemplate:t.template(e("#mvcp-form-template").html()),mvProgressTemplate:t.template(e("#mv-progress-popup-template").html()),initialize:function(e){this.dirView=e.dirView,this.dir=this.dirView.dir,this.listenTo(this.model,"change",this.render),this.listenTo(this.model,"remove",this.remove)},render:function(){var e=this.dir,t=r.pathJoin([e.path,this.model.get("obj_name")]);return this.$el.html(this.template({dirent:this.model.attributes,dirent_path:t,encoded_path:r.encodePath(t),category:e.category,repo_id:e.repo_id,is_repo_owner:e.is_repo_owner,can_generate_shared_link:app.pageOptions.can_generate_shared_link,repo_encrypted:e.encrypted})),this},events:{mouseenter:"highlight",mouseleave:"rmHighlight","click .select":"select","click .file-star":"starFile","click .dir-link":"visitDir","click .more-op-icon":"togglePopup","click .share":"share","click .delete":"del","click .rename":"rename","click .mv":"mvcp","click .cp":"mvcp","click .set-folder-permission":"setFolderPerm"},highlight:function(){app.globalState.noFileOpPopup&&this.$el.addClass("hl").find(".repo-file-op").removeClass("vh")},rmHighlight:function(){app.globalState.noFileOpPopup&&this.$el.removeClass("hl").find(".repo-file-op").addClass("vh")},select:function(){var e=this.$(".checkbox");e.toggleClass("checkbox-checked"),e.hasClass("checkbox-checked")?this.model.set({selected:!0},{silent:!0}):this.model.set({selected:!1},{silent:!0});var t=this.dirView,n=t.$("#multi-dirents-op"),r=t.$("th .checkbox"),i=t.$("tr:gt(0) .checkbox-checked").length;i>0?n.css({display:"inline"}):n.hide(),i==t.$("tr:gt(0)").length?r.addClass("checkbox-checked"):r.removeClass("checkbox-checked")},starFile:function(){var t=this,n=this.dirView.dir,i=this.model.get("starred"),s={repo_id:n.repo_id};s.name=i?"unstar_file":"star_file";var o=r.pathJoin([n.path,this.model.get("obj_name")]),u=r.getUrl(s)+"?file="+encodeURIComponent(o);e.ajax({url:u,dataType:"json",cache:!1,success:function(){i?t.model.set({starred:!1}):t.model.set({starred:!0})},error:function(e){r.ajaxErrorHandler(e)}})},visitDir:function(){this.$(".dirent-icon img").attr({src:app.config.mediaUrl+"img/loading-icon.gif",alt:""}),this.dirView.dir.reset();var e=this.$(".dir-link").attr("href");return app.router.navigate(e,{trigger:!0}),!1},togglePopup:function(){var t=this.$(".more-op-icon"),n=this.$(".hidden-op");n.hasClass("hide")?(n.css({left:t.position().left}),t.offset().top+n.height()<=e("#main").offset().top+e("#main").height()?n.css("top",t.position().top+t.height()+3):n.css("bottom",t.parent().outerHeight()-t.position().top+3),n.removeClass("hide"),app.globalState.noFileOpPopup=!1,app.globalState.popup_tr=t.parents("tr")):(n.addClass("hide"),app.globalState.noFileOpPopup=!0,app.globalState.popup_tr="")},share:function(){var e=this.dir,t=this.model.get("obj_name"),n=r.pathJoin([e.path,t]),i={is_repo_owner:e.is_repo_owner,is_virtual:e.is_virtual,user_perm:this.model.get("perm"),repo_id:e.repo_id,repo_encrypted:!1,is_dir:this.model.get("is_dir")?!0:!1,dirent_path:n,obj_name:t};return new s(i),!1},del:function(){var t=this.model.get("obj_name"),n=this.dir,i={repo_id:n.repo_id,name:this.model.get("is_dir")?"del_dir":"del_file"},s=this.model;return e.ajax({url:r.getUrl(i)+"?parent_dir="+encodeURIComponent(n.path)+"&name="+encodeURIComponent(t),dataType:"json",success:function(e){n.remove(s),app.globalState.noFileOpPopup=!0;var i=gettext("Successfully deleted %(name)s").replace("%(name)s",r.HTMLescape(t));r.feedback(i,"success")},error:function(e){r.ajaxErrorHandler(e)}}),!1},rename:function(){var t=this.model.get("is_dir"),n=t?gettext("Rename Directory"):gettext("Rename File"),i=this.model.get("obj_name"),s=e(this.renameTemplate({form_title:n,dirent_name:i}));s.modal({focus:!1}),e("#simplemodal-container").css({width:"auto",height:"auto"});var o=e(".detail",s);o.html(o.html().replace("%(name)s",''+r.HTMLescape(i)+""));var u=s.attr("id"),a=this,f=this.dirView.dir;return s.submit(function(){var n=e.trim(e('[name="newname"]',s).val());if(!n)return r.showFormError(u,gettext("It is required.")),!1;if(n==i)return r.showFormError(u,gettext("You have not renamed it.")),!1;var o={oldname:i,newname:n},l=r.getUrl({name:t?"rename_dir":"rename_file",repo_id:f.repo_id})+"?parent_dir="+encodeURIComponent(f.path),c=function(n){var r={obj_name:n.newname,last_modified:(new Date).getTime()/1e3,last_update:gettext("Just now"),sharelink:"",sharetoken:""};t||e.extend(r,{starred:!1}),e.modal.close(),a.model.set(r)};return r.ajaxPost({form:s,post_url:l,post_data:o,after_op_success:c,form_id:u}),!1}),!1},mvcp:function(t){var n=this.dir,s=t.target||t.srcElement,o=e(s).hasClass("mv")?"mv":"cp",u=this.model.get("obj_name"),a=this.model.get("is_dir")?"dir":"file",f=o=="mv"?gettext("Move {placeholder} to:"):gettext("Copy {placeholder} to:");f=f.replace("{placeholder}",''+r.HTMLescape(u)+"");var l=e(this.mvcpTemplate({form_title:f,op_type:o,obj_type:a,obj_name:u,show_other_repos:!n.encrypted}));l.modal({appendTo:"#main",autoResize:!0,focus:!1}),e("#simplemodal-container").css({width:"auto",height:"auto"}),i.renderTreeForPath({repo_name:n.repo_name,repo_id:n.repo_id,path:n.path}),n.encrypted||i.prepareOtherReposTree({cur_repo_id:n.repo_id});var c=this.$el,h=this;return l.submit(function(){var t=e(this),i=t.attr("id"),s=n.path,o=n.repo_id,u=e('[name="dst_repo"]',t).val(),a=e('[name="dst_path"]',t).val(),f=e('[name="op"]',t).val(),l=e('[name="obj_name"]',t).val(),p=e('[name="obj_type"]',t).val();if(!e.trim(u)||!e.trim(a))return e(".error",t).removeClass("hide"),!1;if(u==o&&(a==s||p=="dir"&&a==s+l+"/"))return e(".error",t).html(gettext("Invalid destination path")).removeClass("hide"),!1;var d={repo_id:o};p=="dir"?d.name=f=="mv"?"mv_dir":"cp_dir":d.name=f=="mv"?"mv_file":"cp_file";var v=r.getUrl(d)+"?path="+encodeURIComponent(s)+"&obj_name="+encodeURIComponent(l),m={dst_repo:u,dst_path:a},g=function(t){e.modal.close();var n=t.msg;if(!t.task_id)f=="mv"&&c.remove(),r.feedback(n,"success");else{var i=e(h.mvProgressTemplate()),s=e("#mv-details",i),o=e("#cancel-mv",i),u=e("#mv-other-info",i);o.removeClass("hide"),setTimeout(function(){i.modal({containerCss:{width:300,height:150,paddingTop:50},focus:!1});var t=f=="mv"?gettext("Moving %(name)s"):gettext("Copying %(name)s");s.html(t.replace("%(name)s",r.HTMLescape(l))).removeClass("vh"),e("#mv-progress").progressbar(),a()},100);var a=function(){e.ajax({url:r.getUrl({name:"get_cp_progress"})+"?task_id="+encodeURIComponent(t.task_id),dataType:"json",success:function(t){var i=e(".ui-progressbar-value",e("#mv-progress"));if(!t.failed&&!t.canceled&&!t.successful)t["done"]==t["total"]?(i.css("width","100%"),s.addClass("vh"),o.addClass("hide"),u.html(gettext("Saving...")).removeClass("hide")):i.css("width",parseInt(t.done/t.total*100,10)+"%"),i.show(),setTimeout(a,1e3);else if(t.successful)e.modal.close(),f=="mv"&&c.remove(),r.feedback(n,"success");else{s.addClass("vh");var l=t.failed?gettext("Failed."):gettext("Canceled.");u.html(l).removeClass("hide"),o.addClass("hide"),setTimeout(function(){e.modal.close()},1e3)}},error:function(t,n,r){var i;t.responseText?i=e.parseJSON(t.responseText).error:i=gettext("Failed. Please check the network."),s.addClass("vh"),u.html(i).removeClass("hide"),o.addClass("hide"),setTimeout(function(){e.modal.close()},1e3)}})};o.click(function(){r.disableButton(o),e.ajax({url:r.getUrl({name:"cancel_cp"})+"?task_id="+encodeURIComponent(t.task_id),dataType:"json",success:function(t){s.addClass("vh"),u.html(gettext("Canceled.")).removeClass("hide"),o.addClass("hide"),setTimeout(function(){e.modal.close()},1e3)},error:function(t,n,i){var s;t.responseText?s=e.parseJSON(t.responseText).error:s=gettext("Failed. Please check the network."),u.html(s).removeClass("hide"),r.enableButton(o)}})})}};return r.ajaxPost({form:t,post_url:v,post_data:m,after_op_success:g,form_id:i}),!1}),!1},setFolderPerm:function(){var e={obj_name:this.model.get("obj_name"),dir_path:this.dir.path,repo_id:this.dir.repo_id};return new o(e),!1}});return u}),function(e){var t=function(e,n){var r=/[^\w\-\.:]/.test(e)?new Function(t.arg+",tmpl","var _e=tmpl.encode"+t.helper+",_s='"+e.replace(t.regexp,t.func)+"';return _s;"):t.cache[e]=t.cache[e]||t(t.load(e));return n?r(n,t):function(e){return r(e,t)}};t.cache={},t.load=function(e){return document.getElementById(e).innerHTML},t.regexp=/([\s'\\])(?![^%]*%\})|(?:\{%(=|#)([\s\S]+?)%\})|(\{%)|(%\})/g,t.func=function(e,t,n,r,i,s){if(t)return{"\n":"\\n","\r":"\\r"," ":"\\t"," ":" "}[e]||"\\"+e;if(n)return n==="="?"'+_e("+r+")+'":"'+("+r+"||'')+'";if(i)return"';";if(s)return"_s+='"},t.encReg=/[<>&"'\x00]/g,t.encMap={"<":"<",">":">","&":"&",'"':""","'":"'"},t.encode=function(e){return String(e||"").replace(t.encReg,function(e){return t.encMap[e]||""})},t.arg="o",t.helper=",print=function(s,e){_s+=e&&(s||'')||_e(s);},include=function(s,d){_s+=tmpl(s,d);}",typeof define=="function"&&define.amd?define("tmpl",[],function(){return t}):e.tmpl=t}(this),function(e){typeof define=="function"&&define.amd?define("jquery.iframe-transport",["jquery"],e):e(window.jQuery)}(function(e){var t=0;e.ajaxTransport("iframe",function(n){if(n.async&&(n.type==="POST"||n.type==="GET")){var r,i;return{send:function(s,o){r=e('
                                        '),i=e('').bind("load",function(){var t,s=e.isArray(n.paramName)?n.paramName:[n.paramName];i.unbind("load").bind("load",function(){var t;try{t=i.contents();if(!t.length||!t[0].firstChild)throw new Error}catch(n){t=undefined}o(200,"success",{iframe:t}),e('').appendTo(r),r.remove()}),r.prop("target",i.prop("name")).prop("action",n.url).prop("method",n.type),n.formData&&e.each(n.formData,function(t,n){e('').prop("name",n.name).val(n.value).appendTo(r)}),n.fileInput&&n.fileInput.length&&n.type==="POST"&&(t=n.fileInput.clone(),n.fileInput.after(function(e){return t[e]}),n.paramName&&n.fileInput.each(function(t){e(this).prop("name",s[t]||n.paramName)}),r.append(n.fileInput).prop("enctype","multipart/form-data").prop("encoding","multipart/form-data")),r.submit(),t&&t.length&&n.fileInput.each(function(n,r){var i=e(t[n]);e(r).prop("name",i.prop("name")),i.replaceWith(r)})}),r.append(i).appendTo(document.body)},abort:function(){i&&i.unbind("load").prop("src","javascript".concat(":false;")),r&&r.remove()}}}}),e.ajaxSetup({converters:{"iframe text":function(t){return e(t[0].body).text()},"iframe json":function(t){return e.parseJSON(e(t[0].body).text())},"iframe html":function(t){return e(t[0].body).html()},"iframe script":function(t){return e.globalEval(e(t[0].body).text())}}})}),function(e){typeof define=="function"&&define.amd?define("jquery.fileupload",["jquery","jquery.ui.widget"],e):e(window.jQuery)}(function(e){function t(t){var n=t==="dragover";return function(r){r.dataTransfer=r.originalEvent&&r.originalEvent.dataTransfer;var i=r.dataTransfer;i&&e.inArray("Files",i.types)!==-1&&this._trigger(t,e.Event(t,{delegatedEvent:r}))!==!1&&(r.preventDefault(),n&&(i.dropEffect="copy"))}}e.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))")).test(window.navigator.userAgent)&&!e('').prop("disabled"),e.support.xhrFileUpload=!!window.ProgressEvent&&!!window.FileReader,e.support.xhrFormDataFileUpload=!!window.FormData,e.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),e.widget("blueimp.fileupload",{options:{dropZone:e(document),pasteZone:undefined,fileInput:undefined,replaceFileInput:!0,paramName:undefined,singleFileUploads:!0,limitMultiFileUploads:undefined,limitMultiFileUploadSize:undefined,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:undefined,forceIframeTransport:!1,redirect:undefined,redirectParamName:undefined,postMessage:undefined,multipart:!0,maxChunkSize:undefined,uploadedBytes:undefined,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(t,n){return t=this.messages[t]||t.toString(),n&&e.each(n,function(e,n){t=t.replace("{"+e+"}",n)}),t},formData:function(e){return e.serializeArray()},add:function(t,n){if(t.isDefaultPrevented())return!1;(n.autoUpload||n.autoUpload!==!1&&e(this).fileupload("option","autoUpload"))&&n.process().done(function(){n.submit()})},processData:!1,contentType:!1,cache:!1},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:e.support.blobSlice&&function(){var e=this.slice||this.webkitSlice||this.mozSlice;return e.apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(e,t,n){var r=e-this.timestamp;if(!this.bitrate||!n||r>n)this.bitrate=(t-this.loaded)*(1e3/r)*8,this.loaded=t,this.timestamp=e;return this.bitrate}},_isXHRUpload:function(t){return!t.forceIframeTransport&&(!t.multipart&&e.support.xhrFileUpload||e.support.xhrFormDataFileUpload)},_getFormData:function(t){var n;return e.type(t.formData)==="function"?t.formData(t.form):e.isArray(t.formData)?t.formData:e.type(t.formData)==="object"?(n=[],e.each(t.formData,function(e,t){n.push({name:e,value:t})}),n):[]},_getTotal:function(t){var n=0;return e.each(t,function(e,t){n+=t.size||1}),n},_initProgressObject:function(t){var n={loaded:0,total:0,bitrate:0};t._progress?e.extend(t._progress,n):t._progress=n},_initResponseObject:function(e){var t;if(e._response)for(t in e._response)e._response.hasOwnProperty(t)&&delete e._response[t];else e._response={}},_onProgress:function(t,n){if(t.lengthComputable){var r=Date.now?Date.now():(new Date).getTime(),i;if(n._time&&n.progressInterval&&r-n._time
                                        ").prop("href",t.url).prop("host");t.dataType="iframe "+(t.dataType||""),t.formData=this._getFormData(t),t.redirect&&n&&n!==location.host&&t.formData.push({name:t.redirectParamName||"redirect",value:t.redirect})},_initDataSettings:function(e){this._isXHRUpload(e)?(this._chunkedUpload(e,!0)||(e.data||this._initXHRData(e),this._initProgressListener(e)),e.postMessage&&(e.dataType="postmessage "+(e.dataType||""))):this._initIframeSettings(e)},_getParamName:function(t){var n=e(t.fileInput),r=t.paramName;return r?e.isArray(r)||(r=[r]):(r=[],n.each(function(){var t=e(this),n=t.prop("name")||"files[]",i=(t.prop("files")||[1]).length;while(i)r.push(n),i-=1}),r.length||(r=[n.prop("name")||"files[]"])),r},_initFormSettings:function(t){if(!t.form||!t.form.length)t.form=e(t.fileInput.prop("form")),t.form.length||(t.form=e(this.options.fileInput.prop("form")));t.paramName=this._getParamName(t),t.url||(t.url=t.form.prop("action")||location.href),t.type=(t.type||e.type(t.form.prop("method"))==="string"&&t.form.prop("method")||"").toUpperCase(),t.type!=="POST"&&t.type!=="PUT"&&t.type!=="PATCH"&&(t.type="POST"),t.formAcceptCharset||(t.formAcceptCharset=t.form.attr("accept-charset"))},_getAJAXSettings:function(t){var n=e.extend({},this.options,t);return this._initFormSettings(n),this._initDataSettings(n),n},_getDeferredState:function(e){return e.state?e.state():e.isResolved()?"resolved":e.isRejected()?"rejected":"pending"},_enhancePromise:function(e){return e.success=e.done,e.error=e.fail,e.complete=e.always,e},_getXHRPromise:function(t,n,r){var i=e.Deferred(),s=i.promise();return n=n||this.options.context||s,t===!0?i.resolveWith(n,r):t===!1&&i.rejectWith(n,r),s.abort=i.promise,this._enhancePromise(s)},_addConvenienceMethods:function(t,n){var r=this,i=function(t){return e.Deferred().resolveWith(r,t).promise()};n.process=function(t,s){if(t||s)n._processQueue=this._processQueue=(this._processQueue||i([this])).pipe(function(){return n.errorThrown?e.Deferred().rejectWith(r,[n]).promise():i(arguments)}).pipe(t,s);return this._processQueue||i([this])},n.submit=function(){return this.state()!=="pending"&&(n.jqXHR=this.jqXHR=r._trigger("submit",e.Event("submit",{delegatedEvent:t}),this)!==!1&&r._onSend(t,this)),this.jqXHR||r._getXHRPromise()},n.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",r._trigger("fail",null,this),r._getXHRPromise(!1))},n.state=function(){if(this.jqXHR)return r._getDeferredState(this.jqXHR);if(this._processQueue)return r._getDeferredState(this._processQueue)},n.processing=function(){return!this.jqXHR&&this._processQueue&&r._getDeferredState(this._processQueue)==="pending"},n.progress=function(){return this._progress},n.response=function(){return this._response}},_getUploadedBytes:function(e){var t=e.getResponseHeader("Range"),n=t&&t.split("-"),r=n&&n.length>1&&parseInt(n[1],10);return r&&r+1},_chunkedUpload:function(t,n){t.uploadedBytes=t.uploadedBytes||0;var r=this,i=t.files[0],s=i.size,o=t.uploadedBytes,u=t.maxChunkSize||s,a=this._blobSlice,f=e.Deferred(),l=f.promise(),c,h;return!(this._isXHRUpload(t)&&a&&(o||u=s?(i.error=t.i18n("uploadedBytes"),this._getXHRPromise(!1,t.context,[null,"error",i.error])):(h=function(){var n=e.extend({},t),l=n._progress.loaded;n.blob=a.call(i,o,o+u,i.type),n.chunkSize=n.blob.size,n.contentRange="bytes "+o+"-"+(o+n.chunkSize-1)+"/"+s,r._initXHRData(n),r._initProgressListener(n),c=(r._trigger("chunksend",null,n)!==!1&&e.ajax(n)||r._getXHRPromise(!1,n.context)).done(function(i,u,a){o=r._getUploadedBytes(a)||o+n.chunkSize,l+n.chunkSize-n._progress.loaded&&r._onProgress(e.Event("progress",{lengthComputable:!0,loaded:o-n.uploadedBytes,total:o-n.uploadedBytes}),n),t.uploadedBytes=n.uploadedBytes=o,n.result=i,n.textStatus=u,n.jqXHR=a,r._trigger("chunkdone",null,n),r._trigger("chunkalways",null,n),or._sending){var i=r._slots.shift();while(i){if(r._getDeferredState(i)==="pending"){i.resolve();break}i=r._slots.shift()}}r._active===0&&r._trigger("stop")}),i};return this._beforeSend(t,a),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?(this.options.limitConcurrentUploads>1?(o=e.Deferred(),this._slots.push(o),u=o.pipe(f)):(this._sequence=this._sequence.pipe(f,f),u=this._sequence),u.abort=function(){return s=[undefined,"abort","abort"],i?i.abort():(o&&o.rejectWith(a.context,s),f())},this._enhancePromise(u)):f()},_onAdd:function(t,n){var r=this,i=!0,s=e.extend({},this.options,n),o=n.files,u=o.length,a=s.limitMultiFileUploads,f=s.limitMultiFileUploadSize,l=s.limitMultiFileUploadSizeOverhead,c=0,h=this._getParamName(s),p,d,v,m,g=0;f&&(!u||o[0].size===undefined)&&(f=undefined);if(!(s.singleFileUploads||a||f)||!this._isXHRUpload(s))v=[o],p=[h];else if(!s.singleFileUploads&&!f&&a){v=[],p=[];for(m=0;mf||a&&m+1-g>=a)v.push(o.slice(g,m+1)),d=h.slice(g,m+1),d.length||(d=h),p.push(d),g=m+1,c=0}}else p=h;return n.originalFiles=o,e.each(v||o,function(s,o){var u=e.extend({},n);return u.files=v?o:[o],u.paramName=p[s],r._initResponseObject(u),r._initProgressObject(u),r._addConvenienceMethods(t,u),i=r._trigger("add",e.Event("add",{delegatedEvent:t}),u),i}),i},_replaceFileInput:function(t){var n=t.fileInput,r=n.clone(!0);t.fileInputClone=r,e("
                                        ").append(r)[0].reset(),n.after(r).detach(),e.cleanData(n.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(e,t){return t===n[0]?r[0]:t}),n[0]===this.element[0]&&(this.element=r)},_handleFileTreeEntry:function(t,n){var r=this,i=e.Deferred(),s=function(e){e&&!e.entry&&(e.entry=t),i.resolve([e])},o=function(e){r._handleFileTreeEntries(e,n+t.name+"/").done(function(e){i.resolve(e)}).fail(s)},u=function(){a.readEntries(function(e){e.length?(f=f.concat(e),u()):o(f)},s)},a,f=[];return n=n||"",t.isFile?t._file?(t._file.relativePath=n,i.resolve(t._file)):t.file(function(e){e.relativePath=n,i.resolve(e)},s):t.isDirectory?(a=t.createReader(),u()):i.resolve([]),i.promise()},_handleFileTreeEntries:function(t,n){var r=this;return e.when.apply(e,e.map(t,function(e){return r._handleFileTreeEntry(e,n)})).pipe(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(t){t=t||{};var n=t.items;return n&&n.length&&(n[0].webkitGetAsEntry||n[0].getAsEntry)?this._handleFileTreeEntries(e.map(n,function(e){var t;return e.webkitGetAsEntry?(t=e.webkitGetAsEntry(),t&&(t._file=e.getAsFile()),t):e.getAsEntry()})):e.Deferred().resolve(e.makeArray(t.files)).promise()},_getSingleFileInputFiles:function(t){t=e(t);var n=t.prop("webkitEntries")||t.prop("entries"),r,i;if(n&&n.length)return this._handleFileTreeEntries(n);r=e.makeArray(t.prop("files"));if(!r.length){i=t.prop("value");if(!i)return e.Deferred().resolve([]).promise();r=[{name:i.replace(/^.*\\/,"")}]}else r[0].name===undefined&&r[0].fileName&&e.each(r,function(e,t){t.name=t.fileName,t.size=t.fileSize});return e.Deferred().resolve(r).promise()},_getFileInputFiles:function(t){return t instanceof e&&t.length!==1?e.when.apply(e,e.map(t,this._getSingleFileInputFiles)).pipe(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(t)},_onChange:function(t){var n=this,r={fileInput:e(t.target),form:e(t.target.form)};this._getFileInputFiles(r.fileInput).always(function(i){r.files=i,n.options.replaceFileInput&&n._replaceFileInput(r),n._trigger("change",e.Event("change",{delegatedEvent:t}),r)!==!1&&n._onAdd(t,r)})},_onPaste:function(t){var n=t.originalEvent&&t.originalEvent.clipboardData&&t.originalEvent.clipboardData.items,r={files:[]};n&&n.length&&(e.each(n,function(e,t){var n=t.getAsFile&&t.getAsFile();n&&r.files.push(n)}),this._trigger("paste",e.Event("paste",{delegatedEvent:t}),r)!==!1&&this._onAdd(t,r))},_onDrop:function(t){t.dataTransfer=t.originalEvent&&t.originalEvent.dataTransfer;var n=this,r=t.dataTransfer,i={};r&&r.files&&r.files.length&&(t.preventDefault(),this._getDroppedFiles(r).always(function(r){i.files=r,n._trigger("drop",e.Event("drop",{delegatedEvent:t}),i)!==!1&&n._onAdd(t,i)}))},_onDragOver:t("dragover"),_onDragEnter:t("dragenter"),_onDragLeave:t("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),e.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_setOption:function(t,n){var r=e.inArray(t,this._specialOptions)!==-1;r&&this._destroyEventHandlers(),this._super(t,n),r&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var t=this.options;t.fileInput===undefined?t.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):t.fileInput instanceof e||(t.fileInput=e(t.fileInput)),t.dropZone instanceof e||(t.dropZone=e(t.dropZone)),t.pasteZone instanceof e||(t.pasteZone=e(t.pasteZone))},_getRegExp:function(e){var t=e.split("/"),n=t.pop();return t.shift(),new RegExp(t.join("/"),n)},_isRegExpOption:function(t,n){return t!=="url"&&e.type(n)==="string"&&/^\/.*\/[igm]{0,3}$/.test(n)},_initDataAttributes:function(){var t=this,n=this.options,r=e(this.element[0].cloneNode(!1)),i=r.data();r.remove(),e.each(i,function(e,i){var s="data-"+e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();r.attr(s)&&(t._isRegExpOption(e,i)&&(i=t._getRegExp(i)),n[e]=i)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(t){var n=this;if(!t||this.options.disabled)return;t.fileInput&&!t.files?this._getFileInputFiles(t.fileInput).always(function(e){t.files=e,n._onAdd(null,t)}):(t.files=e.makeArray(t.files),this._onAdd(null,t))},send:function(t){if(t&&!this.options.disabled){if(t.fileInput&&!t.files){var n=this,r=e.Deferred(),i=r.promise(),s,o;return i.abort=function(){return o=!0,s?s.abort():(r.reject(null,"abort","abort"),i)},this._getFileInputFiles(t.fileInput).always(function(e){if(o)return;if(!e.length){r.reject();return}t.files=e,s=n._onSend(null,t),s.then(function(e,t,n){r.resolve(e,t,n)},function(e,t,n){r.reject(e,t,n)})}),this._enhancePromise(i)}t.files=e.makeArray(t.files);if(t.files.length)return this._onSend(null,t)}return this._getXHRPromise(!1,t&&t.context)}})}),function(e){typeof define=="function"&&define.amd?define("jquery.fileupload-process",["jquery","jquery.fileupload"],e):e(window.jQuery)}(function(e){var t=e.blueimp.fileupload.prototype.options.add;e.widget("blueimp.fileupload",e.blueimp.fileupload,{options:{processQueue:[],add:function(n,r){var i=e(this);r.process(function(){return i.fileupload("process",r)}),t.call(this,n,r)}},processActions:{},_processFile:function(t,n){var r=this,i=e.Deferred().resolveWith(r,[t]),s=i.promise();return this._trigger("process",null,t),e.each(t.processQueue,function(t,i){var o=function(t){return n.errorThrown?e.Deferred().rejectWith(r,[n]).promise():r.processActions[i.action].call(r,t,i)};s=s.pipe(o,i.always&&o)}),s.done(function(){r._trigger("processdone",null,t),r._trigger("processalways",null,t)}).fail(function(){r._trigger("processfail",null,t),r._trigger("processalways",null,t)}),s},_transformProcessQueue:function(t){var n=[];e.each(t.processQueue,function(){var r={},i=this.action,s=this.prefix===!0?i:this.prefix;e.each(this,function(n,i){e.type(i)==="string"&&i.charAt(0)==="@"?r[n]=t[i.slice(1)||(s?s+n.charAt(0).toUpperCase()+n.slice(1):n)]:r[n]=i}),n.push(r)}),t.processQueue=n},processing:function(){return this._processing},process:function(t){var n=this,r=e.extend({},this.options,t);return r.processQueue&&r.processQueue.length&&(this._transformProcessQueue(r),this._processing===0&&this._trigger("processstart"),e.each(t.files,function(i){var s=i?e.extend({},r):r,o=function(){return t.errorThrown?e.Deferred().rejectWith(n,[t]).promise():n._processFile(s,t)};s.index=i,n._processing+=1,n._processingQueue=n._processingQueue.pipe(o,o).always(function(){n._processing-=1,n._processing===0&&n._trigger("processstop")})})),this._processingQueue},_create:function(){this._super(),this._processing=0,this._processingQueue=e.Deferred().resolveWith(this).promise()}})}),function(e){typeof define=="function"&&define.amd?define("jquery.fileupload-validate",["jquery","jquery.fileupload-process"],e):e(window.jQuery)}(function(e){e.blueimp.fileupload.prototype.options.processQueue.push({action:"validate",always:!0,acceptFileTypes:"@",maxFileSize:"@",minFileSize:"@",maxNumberOfFiles:"@",disabled:"@disableValidation"}),e.widget("blueimp.fileupload",e.blueimp.fileupload,{options:{getNumberOfFiles:e.noop,messages:{maxNumberOfFiles:"Maximum number of files exceeded",acceptFileTypes:"File type not allowed",maxFileSize:"File is too large",minFileSize:"File is too small"}},processActions:{validate:function(t,n){if(n.disabled)return t;var r=e.Deferred(),i=this.options,s=t.files[t.index],o;if(n.minFileSize||n.maxFileSize)o=s.size;return e.type(n.maxNumberOfFiles)==="number"&&(i.getNumberOfFiles()||0)+t.files.length>n.maxNumberOfFiles?s.error=i.i18n("maxNumberOfFiles"):n.acceptFileTypes&&!n.acceptFileTypes.test(s.type)&&!n.acceptFileTypes.test(s.name)?s.error=i.i18n("acceptFileTypes"):o>n.maxFileSize?s.error=i.i18n("maxFileSize"):e.type(o)==="number"&&o=1e9?(e/1e9).toFixed(2)+" GB":e>=1e6?(e/1e6).toFixed(2)+" MB":(e/1e3).toFixed(2)+" KB"},_formatBitrate:function(e){return typeof e!="number"?"":(e/=8,e>=1e9?(e/1e9).toFixed(2)+" GB/s":e>=1e6?(e/1e6).toFixed(2)+" MB/s":e>=1e3?(e/1e3).toFixed(2)+" KB/s":e.toFixed(2)+" B/s")},_formatTime:function(e){var t=new Date(e*1e3),n=Math.floor(e/86400);return n=n?n+"d ":"",n+("0"+t.getUTCHours()).slice(-2)+":"+("0"+t.getUTCMinutes()).slice(-2)+":"+("0"+t.getUTCSeconds()).slice(-2)},_formatPercentage:function(e){return(e*100).toFixed(2)+" %"},_renderExtendedProgress:function(e){return this._formatBitrate(e.bitrate)+" | "+this._formatTime((e.total-e.loaded)*8/e.bitrate)+" | "+this._formatPercentage(e.loaded/e.total)+" | "+this._formatFileSize(e.loaded)+" / "+this._formatFileSize(e.total)},_renderTemplate:function(t,n){if(!t)return e();var r=t({files:n,formatFileSize:this._formatFileSize,options:this.options});return r instanceof e?r:e(this.options.templatesContainer).html(r).children()},_renderPreviews:function(t){t.context.find(".preview").each(function(n,r){e(r).append(t.files[n].preview)})},_renderUpload:function(e){return this._renderTemplate(this.options.uploadTemplate,e)},_renderDownload:function(e){return this._renderTemplate(this.options.downloadTemplate,e).find("a[download]").each(this._enableDragToDesktop).end()},_startHandler:function(t){t.preventDefault();var n=e(t.currentTarget),r=n.closest(".template-upload"),i=r.data("data");n.prop("disabled",!0),i&&i.submit&&i.submit()},_cancelHandler:function(t){t.preventDefault();var n=e(t.currentTarget).closest(".template-upload,.template-download"),r=n.data("data")||{};r.context=r.context||n,r.abort?r.abort():(r.errorThrown="abort",this._trigger("fail",t,r))},_deleteHandler:function(t){t.preventDefault();var n=e(t.currentTarget);this._trigger("destroy",t,e.extend({context:n.closest(".template-download"),type:"DELETE"},n.data()))},_forceReflow:function(t){return e.support.transition&&t.length&&t[0].offsetWidth},_transition:function(t){var n=e.Deferred();return e.support.transition&&t.hasClass("fade")&&t.is(":visible")?t.bind(e.support.transition.end,function(r){r.target===t[0]&&(t.unbind(e.support.transition.end),n.resolveWith(t))}).toggleClass("in"):(t.toggleClass("in"),n.resolveWith(t)),n},_initButtonBarEventHandlers:function(){var t=this.element.find(".fileupload-buttonbar"),n=this.options.filesContainer;this._on(t.find(".start"),{click:function(e){e.preventDefault(),n.find(".start").click()}}),this._on(t.find(".cancel"),{click:function(e){e.preventDefault(),n.find(".cancel").click()}}),this._on(t.find(".delete"),{click:function(e){e.preventDefault(),n.find(".toggle:checked").closest(".template-download").find(".delete").click(),t.find(".toggle").prop("checked",!1)}}),this._on(t.find(".toggle"),{change:function(t){n.find(".toggle").prop("checked",e(t.currentTarget).is(":checked"))}})},_destroyButtonBarEventHandlers:function(){this._off(this.element.find(".fileupload-buttonbar").find(".start, .cancel, .delete"),"click"),this._off(this.element.find(".fileupload-buttonbar .toggle"),"change.")},_initEventHandlers:function(){this._super(),this._on(this.options.filesContainer,{"click .start":this._startHandler,"click .cancel":this._cancelHandler,"click .delete":this._deleteHandler}),this._initButtonBarEventHandlers()},_destroyEventHandlers:function(){this._destroyButtonBarEventHandlers(),this._off(this.options.filesContainer,"click"),this._super()},_enableFileInputButton:function(){this.element.find(".fileinput-button input").prop("disabled",!1).parent().removeClass("disabled")},_disableFileInputButton:function(){this.element.find(".fileinput-button input").prop("disabled",!0).parent().addClass("disabled")},_initTemplates:function(){var e=this.options;e.templatesContainer=this.document[0].createElement(e.filesContainer.prop("nodeName")),t&&(e.uploadTemplateId&&(e.uploadTemplate=t(e.uploadTemplateId)),e.downloadTemplateId&&(e.downloadTemplate=t(e.downloadTemplateId)))},_initFilesContainer:function(){var t=this.options;t.filesContainer===undefined?t.filesContainer=this.element.find(".files"):t.filesContainer instanceof e||(t.filesContainer=e(t.filesContainer))},_initSpecialOptions:function(){this._super(),this._initFilesContainer(),this._initTemplates()},_create:function(){this._super(),this._resetFinishedDeferreds(),e.support.fileInput||this._disableFileInputButton()},enable:function(){var e=!1;this.options.disabled&&(e=!0),this._super(),e&&(this.element.find("input, button").prop("disabled",!1),this._enableFileInputButton())},disable:function(){this.options.disabled||(this.element.find("input, button").prop("disabled",!0),this._disableFileInputButton()),this._super()}})}),define("app/views/fileupload",["common","backbone","jquery.fileupload-ui"],function(e,t,n){window.locale={fileupload:{errors:{maxFileSize:gettext("File is too big"),minFileSize:gettext("File is too small"),acceptFileTypes:gettext("Filetype not allowed"),maxNumberOfFiles:gettext("Max number of files exceeded"),uploadedBytes:gettext("Uploaded bytes exceed file size"),emptyResult:gettext("Empty file upload result")},error:gettext("Error"),uploaded:gettext("uploaded"),canceled:gettext("canceled"),start:gettext("Start"),cancel:gettext("Cancel"),destroy:gettext("Delete")}};var r=t.View.extend({el:$("#upload-file-dialog"),fileupdateConfirmTemplate:_.template($("#fileupdate-confirm-template").html()),initialize:function(t){var n=this.dirView=t.dirView,r=n.dir,i=this.$el.addClass("fixed-upload-file-dialog");this.popup_height="200px";var s=$(".status",i),o=$(".total-progress",i),u=$(".fileupload-buttonbar .cancel",i),a=$(".close",i),f=$(".saving-tip",i),l={uploading:gettext("File Uploading..."),complete:gettext("File Upload complete"),canceled:gettext("File Upload canceled"),failed:gettext("File Upload failed")},c=[],h=[],p=app.pageOptions.enable_upload_folder,d=[],v=[],m=this;i.fileupload({paramName:"file",getFilesFromResponse:function(e){if(e.result)return e.result},autoUpload:!0,maxNumberOfFiles:500,sequentialUploads:!0}).bind("fileuploadadd",function(e,t){if(!n.$el.is(":visible"))return!1;if(r.user_perm&&r.user_perm!="rw")return!1;i.removeClass("hide"),u.removeClass("hide"),a.addClass("hide");var s=r.path;i.fileupload("option","formData",{parent_dir:s=="/"?s:s+"/"});if(!p)return;var o=n.$("#upload-menu");o.hasClass("hide")||o.find(".item").removeAttr("style").end().addClass("hide");var f=t.files[0];if(f.name=="."){t.files.shift();return}f.webkitRelativePath&&(f.relative_path=f.webkitRelativePath),f.relativePath&&(f.relative_path=f.relativePath+f.name)}).bind("fileuploadstart",function(){s.html(l.uploading)}).bind("fileuploadsubmit",function(t,n){if(n.files.length==0)return!1;var s=n.files[0];if(s.error)return!1;var o=function(){$.ajax({url:e.getUrl({name:"get_file_op_url",repo_id:r.repo_id}),data:{op_type:"upload",path:r.path},cache:!1,dataType:"json",success:function(e){if(p){var t=s.relative_path,r;t&&(r=t.substring(0,t.lastIndexOf("/")+1));var o=i.fileupload("option","formData");o.relative_path=r||"",i.fileupload("option","formData",o)}n.url=e.url,n.jqXHR=i.fileupload("send",n)},error:function(){s.error=gettext("Failed to get upload url")}})};if(s.relative_path||n.originalFiles.length>1)return o(),!1;var u=function(){$.ajax({url:e.getUrl({name:"get_file_op_url",repo_id:r.repo_id}),data:{op_type:"update",path:r.path},cache:!1,dataType:"json",success:function(e){var t=i.fileupload("option","formData");t.target_file=t.parent_dir+s.name,i.fileupload("option","formData",t),s.to_update=!0,n.url=e.url,n.jqXHR=i.fileupload("send",n)},error:function(){s.error=gettext("Failed to get update url")}})},a=r.where({is_file:!0}),f=[];$(a).each(function(){f.push(this.get("obj_name"))});if(f.indexOf(s.name)!=-1){var l=gettext("Replace file {filename}?").replace("{filename}",''+e.HTMLescape(s.name)+""),c=$(m.fileupdateConfirmTemplate({title:l}));c.modal({onClose:function(){$.modal.close(),s.choose_to_update?u():s.choose_to_upload?o():(n.jqXHR=i.fileupload("send",n),n.jqXHR.abort())}}),$(".yes",c).click(function(){s.choose_to_update=!0,$.modal.close()}),$(".no",c).click(function(){s.choose_to_upload=!0,$.modal.close()})}else o();return!1}).bind("fileuploadprogressall",function(e,t){o.html(parseInt(t.loaded/t.total*100,10)+"% "+'('+$(this).data("blueimp-fileupload")._formatBitrate(t.bitrate)+")").removeClass("hide"),t.loaded>0&&t.loaded==t.total&&f.show()}).bind("fileuploaddone",function(e,t){if(t.textStatus!="success")return;var n=t.files[0],i=n.relative_path,s=t.result[0];s.uploaded=!0,i&&(s.relative_path=i.substring(0,i.lastIndexOf("/")+1)+s.name);var o=r.path;o=o=="/"?o:o+"/";if(t.formData.parent_dir!=o)return;if(!i){n.to_update?h.push(s):c.push(s);return}if(!p)return;var u=i.substring(0,i.indexOf("/")),a=r.where({is_dir:!0,obj_name:u});a.length>0?v.indexOf(u)==-1&&v.push(u):d.indexOf(u)==-1&&d.push(u)}).bind("fileuploadstop",function(){u.addClass("hide"),a.removeClass("hide");var t=r.path;t=t=="/"?t:t+"/";if(i.fileupload("option","formData").parent_dir!=t)return;var s=parseInt((new Date).getTime()/1e3);c.length>0&&($(c).each(function(t,i){var o=r.add({is_file:!0,is_img:e.imageCheck(i.name),obj_name:i.name,last_modified:s,file_size:e.fileSizeFormat(i.size,1),obj_id:i.id,file_icon:"file.png",perm:"rw",last_update:gettext("Just now"),starred:!1},{silent:!0});n.addNewFile(o)}),c=[]),d.length>0&&($(d).each(function(e,i){var o=r.add({is_dir:!0,obj_name:i,perm:"rw",last_modified:s,last_update:gettext("Just now"),p_dpath:t+i},{silent:!0});n.addNewDir(o)}),d=[]),v.length>0&&($(v).each(function(e,t){var n=r.where({is_dir:!0,obj_name:t});n[0].set({last_modified:s,last_update:gettext("Just now")})}),v=[]),h.length>0&&($(h).each(function(t,n){var i=r.where({is_file:!0,obj_name:n.name});i[0].set({obj_id:n.id,file_size:e.fileSizeFormat(n.size,1),last_modified:s,last_update:gettext("Just now")})}),h=[])}).bind("fileuploadcompleted",function(){$(".files .cancel",i).length==0&&(f.hide(),o.addClass("hide"),s.html(l.complete))}).bind("fileuploadfailed",function(e,t){$(".files .cancel",i).length==0&&(u.addClass("hide"),a.removeClass("hide"),o.addClass("hide"),f.hide(),t.errorThrown=="abort"?s.html(l.canceled):s.html(l.failed))});var g=app.pageOptions.max_upload_file_size;g&&i.fileupload("option","maxFileSize",g),i.fileupload("option","redirect",window.location.href.replace(/\/repo\/[-a-z0-9]{36}\/.*/,app.config.mediaUrl+"cors/result.html?%s")),$(document).click(function(e){var t=e.target||event.srcElement,r=function(e,n){!e.hasClass("hide")&&!e.is(t)&&!e.find("*").is(t)&&!n.is(t)&&!n.find("*").is(t)&&e.addClass("hide")};r(n.$("#upload-menu"),n.$("#upload-file"))})},events:{"click .fold-switch":"foldAndUnfoldPopup","click .close":"closePopup"},foldAndUnfoldPopup:function(){var e=this.$el,t=parseInt(this.popup_height),n=$(".fileupload-buttonbar, .table",e);e.height()==t?(e.height($(".hd",e).outerHeight(!0)),n.addClass("hide")):(e.height(t),n.removeClass("hide"))},closePopup:function(){var e=this.$el;e.addClass("hide"),$(".files",e).empty()},setFileInput:function(){var e=this.dirView,t=e.dir,n=this.$el;t.user_perm&&t.user_perm=="rw"&&n.fileupload("option","fileInput",e.$("#upload-file input"));if(!app.pageOptions.enable_upload_folder)return;var r=e.$("#upload-file"),i=e.$("#upload-menu");t.user_perm&&t.user_perm=="rw"&&"webkitdirectory"in $('input[type="file"]',r)[0]&&(r.find("input").remove().end().addClass("cspt"),$(".item",i).click(function(){n.fileupload("option","fileInput",$('input[type="file"]',$(this)))}).hover(function(){$(this).css({background:"#f3f3f3"})},function(){$(this).css({background:"transparent"})}),r.click(function(){i.toggleClass("hide"),i.css({left:r.position().left,top:parseInt(e.$(".repo-op").css("padding-top"))+r.outerHeight(!0)})}))}});return r}),define("app/views/dir",["jquery","jquery.ui.progressbar","jquery.magnific-popup","simplemodal","underscore","backbone","common","file-tree","app/collections/dirents","app/views/dirent","app/views/fileupload","app/views/share"],function(e,t,n,r,i,s,o,u,a,f,l,c){var h=s.View.extend({el:e("#dir-view"),path_bar_template:i.template(e("#dir-path-bar-tmpl").html()),dir_op_bar_template:i.template(e("#dir-op-bar-tmpl").html()),dirents_hd_template:i.template(e("#dirents-hd-tmpl").html()),newDirTemplate:i.template(e("#add-new-dir-form-template").html()),newFileTemplate:i.template(e("#add-new-file-form-template").html()),mvcpTemplate:i.template(e("#mvcp-form-template").html()),mvProgressTemplate:i.template(e("#mv-progress-popup-template").html()),initialize:function(t){this.$dirent_list=this.$(".repo-file-list tbody"),this.$path_bar=this.$(".path"),this.$dir_op_bar=this.$(".repo-op"),this.dir=new a,this.listenTo(this.dir,"add",this.addOne),this.listenTo(this.dir,"reset",this.reset),this.fileUploadView=new l({dirView:this}),this.$el.magnificPopup({type:"image",delegate:".img-name-link",tClose:gettext("Close (Esc)"),tLoading:gettext("Loading..."),gallery:{enabled:!0,tPrev:gettext("Previous (Left arrow key)"),tNext:gettext("Next (Right arrow key)"),tCounter:gettext("%curr% of %total%")},image:{titleSrc:function(e){var t=e.el,n=t[0].innerHTML,r=''+gettext("Open in New Tab")+"";return n+"
                                        "+r},tError:gettext('The image could not be loaded.')}});var n=this;e(window).scroll(function(){e(n.el).is(":visible")&&n.onWindowScroll()}),app.globalState.noFileOpPopup=!0,e(document).click(function(t){var n=t.target||event.srcElement,r=e(".hidden-op");!app.globalState.noFileOpPopup&&!e(".more-op-icon, .hidden-op").is(n)&&!r.find("*").is(n)&&(r.addClass("hide"),app.globalState.noFileOpPopup=!0,app.globalState.popup_tr.find("*").is(n)||(app.globalState.popup_tr.removeClass("hl").find(".repo-file-op").addClass("vh"),e(".repo-file-list tr:gt(0)").each(function(){e(this).find("*").is(n)&&e(this).addClass("hl").find(".repo-file-op").removeClass("vh")})))})},showDir:function(t,n,r){this.$el.show(),this.$dirent_list.empty();var i=this.$(".loading-tip").show(),s=this.dir;s.setPath(t,n,r);var u=this;s.fetch({reset:!0,data:{p:r},success:function(e,t,n){s.last_start=0,(t.dirent_list.length==0||!t.dirent_more)&&i.hide()},error:function(s,a,f){i.hide();var l=u.$(".repo-file-list-topbar, .repo-file-list").hide(),c=u.$(".error"),h,p=!1;a.responseText?a.responseJSON.lib_need_decrypt?p=!0:h=a.responseJSON.error:h=gettext("Please check the network."),h&&c.html(h).show();if(p){var d=e(e("#repo-decrypt-form-template").html()),v=!1;d.modal({containerCss:{padding:"1px"},onClose:function(){e.modal.close(),l.show(),v||app.router.navigate(t+"/",{trigger:!0})}}),e("#simplemodal-container").css({height:"auto"}),d.submit(function(){var i=e.trim(e('[name="password"]',d).val());return i?(o.ajaxPost({form:d,form_id:d.attr("id"),post_url:o.getUrl({name:"repo_set_password"}),post_data:{repo_id:n,password:i,username:app.pageOptions.username},after_op_success:function(){v=!0,e.modal.close(),u.showDir(t,n,r)}}),!1):(e(".error",d).html(gettext("Password is required.")).removeClass("hide"),!1)})}}})},hide:function(){this.$el.hide()},addOne:function(e){var t=new f({model:e,dirView:this});this.$dirent_list.append(t.render().el)},reset:function(){this.dir.each(this.addOne,this),this.renderPath(),this.renderDirOpBar(),this.renderDirentsHd(),this.fileUploadView.setFileInput(),this.getImageThumbnail()},getImageThumbnail:function(){var t=this.dir.filter(function(e){return e.get("is_img")&&!e.get("thumbnail_src")});if(t.length==0)return;var n=t.length,r=this.dir.repo_id,i=this.dir.path,s=this,u=function(a){var f=t[a],l=o.pathJoin([i,f.get("obj_name")]);e.ajax({url:o.getUrl({name:"thumbnail_create",repo_id:r}),data:{path:l},cache:!1,dataType:"json",success:function(e){f.set({thumbnail_src:e.thumbnail_src})},complete:function(){a'+gettext("Processing...")+"

                                        ");var r=t.where({selected:!0}),i=[];e(r).each(function(){i.push(this.get("obj_name"))}),e.ajax({url:o.getUrl({name:"del_dirents",repo_id:t.repo_id})+"?parent_dir="+encodeURIComponent(t.path),type:"POST",dataType:"json",beforeSend:o.prepareCSRFToken,traditional:!0,data:{dirents_names:i},success:function(s){var u=s.deleted.length,a=s.undeleted.length,f,l;u>0&&(u==i.length?(t.remove(r),n.$("th .checkbox").removeClass("checkbox-checked"),n.$("#multi-dirents-op").hide()):e(r).each(function(){s["deleted"].indexOf(this.get("obj_name"))!=-1&&t.remove(this)}),u==1?f=gettext("Successfully deleted %(name)s."):u==2?f=gettext("Successfully deleted %(name)s and 1 other item."):f=gettext("Successfully deleted %(name)s and %(amount)s other items."),f=f.replace("%(name)s",o.HTMLescape(s.deleted[0])).replace("%(amount)s",u-1),o.feedback(f,"success")),a>0&&(a==1?l=gettext("Failed to delete %(name)s."):a==2?l=gettext("Failed to delete %(name)s and 1 other item."):l=gettext("Failed to delete %(name)s and %(amount)s other items."),l=l.replace("%(name)s",o.HTMLescape(s.undeleted[0])).replace("%(amount)s",a-1),o.feedback(l,"error")),e.modal.close()},error:function(t,n,r){e.modal.close(),o.ajaxErrorHandler(t,n,r)}})};o.showConfirm(gettext("Delete Items"),gettext("Are you sure you want to delete these selected items?"),r)},mv:function(){this.mvcp({op:"mv"})},cp:function(){this.mvcp({op:"cp"})},mvcp:function(t){var n=this.dir,r=t.op,i=r=="mv"?"Move selected item(s) to:":"Copy selected item(s) to:",s=e(this.mvcpTemplate({form_title:i,op_type:r,obj_type:"",obj_name:"",show_other_repos:!n.encrypted}));s.modal({appendTo:"#main",autoResize:!0,focus:!1}),e("#simplemodal-container").css({width:"auto",height:"auto"}),u.renderTreeForPath({repo_name:n.repo_name,repo_id:n.repo_id,path:n.path}),n.encrypted||u.prepareOtherReposTree({cur_repo_id:n.repo_id});var a=this,f=this.dir,l=f.where({is_dir:!0,selected:!0}),c=f.where({is_file:!0,selected:!0}),h=[],p=[];e(l).each(function(){h.push(this.get("obj_name"))}),e(c).each(function(){p.push(this.get("obj_name"))}),s.submit(function(){var t=e('[name="dst_repo"]',s).val(),n=e('[name="dst_path"]',s).val(),i,u=f.path,d={repo_id:f.repo_id};if(!e.trim(t)||!e.trim(n))return e(".error",s).removeClass("hide"),!1;if(t==f.repo_id&&n==u)return e(".error",s).html(gettext("Invalid destination path")).removeClass("hide"),!1;o.disableButton(e('[type="submit"]',s)),s.append('

                                        '+gettext("Processing...")+"

                                        ");if(t==f.repo_id)d.name=r=="mv"?"mv_dirents":"cp_dirents",e.ajax({url:o.getUrl(d)+"?parent_dir="+encodeURIComponent(u),type:"POST",dataType:"json",beforeSend:o.prepareCSRFToken,traditional:!0,data:{file_names:p,dir_names:h,dst_repo:t,dst_path:n},success:function(t){var n=t.success.length,i,s,u=t.url;e.modal.close(),n>0&&(r=="mv"?(n==c.length+l.length?(f.remove(l),f.remove(c),a.$("th .checkbox").removeClass("checkbox-checked"),a.$("#multi-dirents-op").hide()):(e(l).each(function(){this.get("obj_name")in t.success&&f.remove(this)}),e(c).each(function(){this.get("obj_name")in t.success&&f.remove(this)})),n==1?i=gettext("Successfully moved %(name)s."):n==2?i=gettext("Successfully moved %(name)s and 1 other item."):i=gettext("Successfully moved %(name)s and %(amount)s other items.")):n==1?i=gettext("Successfully copied %(name)s."):n==2?i=gettext("Successfully copied %(name)s and 1 other item."):i=gettext("Successfully copied %(name)s and %(amount)s other items."),i=i.replace("%(name)s",o.HTMLescape(t.success[0])).replace("%(amount)s",n-1),o.feedback(i,"success")),t.failed.length>0&&(r=="mv"?t.failed.length>1?s=gettext("Internal error. Failed to move %(name)s and %(amount)s other item(s)."):s=gettext("Internal error. Failed to move %(name)s."):t.failed.length>1?s=gettext("Internal error. Failed to copy %(name)s and %(amount)s other item(s)."):s=gettext("Internal error. Failed to copy %(name)s."),s=s.replace("%(name)s",o.HTMLescape(t.failed[0])).replace("%(amount)s",t.failed.length-1),o.feedback(s,"error"))},error:function(t,n,r){e.modal.close(),o.ajaxErrorHandler(t,n,r)}});else{var v=f.where({selected:!0}),m=0,g=e(a.mvProgressTemplate()),y=e("#mv-details",g),b=e("#cancel-mv",g),w=e("#mv-other-info",g),E=function(){var i=v[m],a=i.get("is_dir")?"dir":"file",l=i.get("obj_name"),c,h;r=="mv"?d.name=a=="dir"?"mv_dir":"mv_file":d.name=a=="dir"?"cp_dir":"cp_file",c=o.getUrl(d)+"?path="+encodeURIComponent(u)+"&obj_name="+encodeURIComponent(l),h={dst_repo:t,dst_path:n};var p=function(t){var n=r=="mv"?gettext("Moving file %(index)s of %(total)s"):gettext("Copying file %(index)s of %(total)s");y.html(n.replace("%(index)s",m+1).replace("%(total)s",v.length)).removeClass("vh"),b.removeClass("hide");var s=function(){var n=t.task_id;b.data("task_id",n),e.ajax({url:o.getUrl({name:"get_cp_progress"})+"?task_id="+encodeURIComponent(n),dataType:"json",success:function(t){var n=e(".ui-progressbar-value",e("#mv-progress"));if(!t.failed&&!t.canceled&&!t.successful)setTimeout(s,1e3);else if(t.successful)n.css("width",parseInt((m+1)/v.length*100,10)+"%").show(),r=="mv"&&f.remove(i),S();else if(t.failed){var u=r=="mv"?gettext("Failed to move %(name)s"):gettext("Failed to copy %(name)s");b.after('

                                        '+u.replace("%(name)s",o.HTMLescape(l))+"

                                        "),x()}},error:function(t,n,r){var i;t.responseText?i=e.parseJSON(t.responseText).error:i=gettext("Failed. Please check the network."),b.after('

                                        '+i+"

                                        "),x()}})};m==0?(e.modal.close(),setTimeout(function(){g.modal({containerCss:{width:300,height:150,paddingTop:50},focus:!1}),e("#mv-progress").progressbar(),s()},100)):s()};o.ajaxPost({form:s,post_url:c,post_data:h,after_op_success:p,form_id:s.attr("id")})},S=function(){m==v.length-1?setTimeout(function(){e.modal.close()},500):E(++m)},x=function(){setTimeout(function(){e.modal.close()},500)};E(),b.click(function(){o.disableButton(b);var t=e(this).data("task_id");e.ajax({url:o.getUrl({name:"cancel_cp"})+"?task_id="+encodeURIComponent(t),dataType:"json",success:function(e){w.html(gettext("Canceled.")).removeClass("hide"),b.addClass("hide"),x()},error:function(t,n,r){var i;t.responseText?i=e.parseJSON(t.responseText).error:i=gettext("Failed. Please check the network."),w.html(i).removeClass("hide"),o.enableButton(b)}})})}return!1})},onWindowScroll:function(){var t=this.dir,n=t.more_start;if(t.dirent_more&&e(window).scrollTop()+e(window).height()>e(document).height()-e("#footer").outerHeight(!0)&&n!=t.last_start){var r=this.$(".loading-tip"),i=this;t.last_start=n,t.fetch({remove:!1,data:{p:t.path,start:t.more_start},success:function(e,t,n){t.dirent_more||r.hide(),i.getImageThumbnail()},error:function(e,t,n){r.hide(),o.ajaxErrorHandler(e,t,n)}})}var s=this.$dir_op_bar,u=this.$path_bar,a=this.$(".repo-file-list"),f=u.offset().top+u.outerHeight(!0),l={position:"fixed",top:0,left:u.offset().left,"z-index":12};e(window).scrollTop()>=f?(a.css({"margin-top":s.outerHeight(!0)}),s.outerWidth(this.$el.width()).css(l)):(a.css({"margin-top":0}),s.removeAttr("style"))}});return h}),define("app/views/top-group-nav",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({el:".nav .nav-item-group",popupTemplate:t.template(e("#top-group-nav-tmpl").html()),initialize:function(){var t=e(this.popupTemplate({groups:app.pageOptions.top_nav_groups}));this.$el.append(t),t.css({right:(e("#top-nav-grp").outerWidth()-t.outerWidth())/6*5}),this.popup=t},events:{mouseenter:"showPopup",mouseleave:"hidePopup","mouseenter #top-nav-grp-list .item":"highlightGroupItem","mouseleave #top-nav-grp-list .item":"rmHighlightGroupItem","click #top-nav-grp-list .item":"visitGroup"},showPopup:function(e){this.popup.removeClass("hide")},hidePopup:function(e){this.popup.addClass("hide")},highlightGroupItem:function(t){e(t.currentTarget).addClass("hl").children(".a").removeClass("vh")},rmHighlightGroupItem:function(t){e(t.currentTarget).removeClass("hl").children(".a").addClass("vh")},visitGroup:function(t){this.hidePopup(t),location.href=e(t.currentTarget).attr("data-url")}});return i}),define("app/router",["jquery","backbone","common","app/views/myhome","app/views/group","app/views/organization","app/views/dir","app/views/top-group-nav"],function(e,t,n,r,i,s,o,u){var a=t.Router.extend({routes:{"":"showRepos","my-libs/":"showMyRepos","my-libs/lib/:repo_id(/*path)":"showMyRepoDir","my-sub-libs/":"showMySubRepos","my-sub-libs/lib/:repo_id(/*path)":"showMySubRepoDir","shared-libs/":"showSharedRepos","shared-libs/lib/:repo_id(/*path)":"showSharedRepoDir","group/:group_id/":"showGroupRepos","group/:group_id/lib/:repo_id(/*path)":"showGroupRepoDir","org/":"showOrgRepos","org/lib/:repo_id(/*path)":"showOrgRepoDir","common/lib/:repo_id(/*path)":"showCommonDir","starred/":"showStarredFile","*actions":"showRepos"},initialize:function(){n.prepareApiCsrf(),n.initAccountPopup(),n.initNoticePopup(),this.dirView=new o,this.myHomeView=new r({dirView:this.dirView}),this.groupView=new i({dirView:this.dirView}),this.orgView=new s({dirView:this.dirView}),this.currentView=this.myHomeView,app.pageOptions.top_nav_groups.length>0&&(this.topGroupNavView=new u),e("#info-bar .close").click(n.closeTopNoticeBar),e("#top-browser-tip .close").click(function(){e("#top-browser-tip").addClass("hide")})},switchCurrentView:function(e){this.currentView!=e&&(this.currentView.hide(),this.currentView=e)},showRepos:function(){this.switchCurrentView(this.myHomeView),app.pageOptions.can_add_repo?this.myHomeView.showMyRepos():this.myHomeView.showSharedRepos()},showMyRepos:function(){this.switchCurrentView(this.myHomeView),this.myHomeView.showMyRepos()},showMySubRepos:function(){this.switchCurrentView(this.myHomeView),this.myHomeView.showMySubRepos()},showSharedRepos:function(){this.switchCurrentView(this.myHomeView),this.myHomeView.showSharedRepos()},showStarredFile:function(){this.switchCurrentView(this.myHomeView),this.myHomeView.showStarredFile()},showMyRepoDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.myHomeView),this.myHomeView.showDir("my-libs",e,t)},showCommonDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.myHomeView),this.myHomeView.showDir("common",e,t)},showMySubRepoDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.myHomeView),this.myHomeView.showDir("my-sub-libs",e,t)},showSharedRepoDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.myHomeView),this.myHomeView.showDir("shared-libs",e,t)},showGroupRepos:function(e){this.switchCurrentView(this.groupView),this.groupView.showRepoList(e)},showGroupRepoDir:function(e,t,n){n?n="/"+n:n="/",this.switchCurrentView(this.groupView),this.groupView.showDir(e,t,n)},showOrgRepos:function(){this.switchCurrentView(this.orgView),this.orgView.showRepoList()},showOrgRepoDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.orgView),this.orgView.showDir(e,t)}});return a}),define("app/main",["app/router"],function(e){app.router=new e,Backbone.history.start()}),require(["./common"],function(e){require(["app/main"])}),define("main",function(){}); \ No newline at end of file +(function(e,t){typeof module=="object"&&typeof module.exports=="object"?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)})(typeof window!="undefined"?window:this,function(e,t){function g(e){var t=e.length,n=h.type(e);return n==="function"||h.isWindow(e)?!1:e.nodeType===1&&t?!0:n==="array"||t===0||typeof t=="number"&&t>0&&t-1 in e}function S(e,t,n){if(h.isFunction(t))return h.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return h.grep(e,function(e){return e===t!==n});if(typeof t=="string"){if(E.test(t))return h.filter(t,e,n);t=h.filter(t,e)}return h.grep(e,function(e){return h.inArray(e,t)>=0!==n})}function A(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function _(e){var t=M[e]={};return h.each(e.match(O)||[],function(e,n){t[n]=!0}),t}function P(){T.addEventListener?(T.removeEventListener("DOMContentLoaded",H,!1),e.removeEventListener("load",H,!1)):(T.detachEvent("onreadystatechange",H),e.detachEvent("onload",H))}function H(){if(T.addEventListener||event.type==="load"||T.readyState==="complete")P(),h.ready()}function q(e,t,n){if(n===undefined&&e.nodeType===1){var r="data-"+t.replace(I,"-$1").toLowerCase();n=e.getAttribute(r);if(typeof n=="string"){try{n=n==="true"?!0:n==="false"?!1:n==="null"?null:+n+""===n?+n:F.test(n)?h.parseJSON(n):n}catch(i){}h.data(e,t,n)}else n=undefined}return n}function R(e){var t;for(t in e){if(t==="data"&&h.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function U(e,t,r,i){if(!h.acceptData(e))return;var s,o,u=h.expando,a=e.nodeType,f=a?h.cache:e,l=a?e[u]:e[u]&&u;if((!l||!f[l]||!i&&!f[l].data)&&r===undefined&&typeof t=="string")return;l||(a?l=e[u]=n.pop()||h.guid++:l=u),f[l]||(f[l]=a?{}:{toJSON:h.noop});if(typeof t=="object"||typeof t=="function")i?f[l]=h.extend(f[l],t):f[l].data=h.extend(f[l].data,t);return o=f[l],i||(o.data||(o.data={}),o=o.data),r!==undefined&&(o[h.camelCase(t)]=r),typeof t=="string"?(s=o[t],s==null&&(s=o[h.camelCase(t)])):s=o,s}function z(e,t,n){if(!h.acceptData(e))return;var r,i,s=e.nodeType,o=s?h.cache:e,u=s?e[h.expando]:h.expando;if(!o[u])return;if(t){r=n?o[u]:o[u].data;if(r){h.isArray(t)?t=t.concat(h.map(t,h.camelCase)):t in r?t=[t]:(t=h.camelCase(t),t in r?t=[t]:t=t.split(" ")),i=t.length;while(i--)delete r[t[i]];if(n?!R(r):!h.isEmptyObject(r))return}}if(!n){delete o[u].data;if(!R(o[u]))return}s?h.cleanData([e],!0):l.deleteExpando||o!=o.window?delete o[u]:o[u]=null}function et(){return!0}function tt(){return!1}function nt(){try{return T.activeElement}catch(e){}}function rt(e){var t=it.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function wt(e,t){var n,r,i=0,s=typeof e.getElementsByTagName!==B?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==B?e.querySelectorAll(t||"*"):undefined;if(!s)for(s=[],n=e.childNodes||e;(r=n[i])!=null;i++)!t||h.nodeName(r,t)?s.push(r):h.merge(s,wt(r,t));return t===undefined||t&&h.nodeName(e,t)?h.merge([e],s):s}function Et(e){J.test(e.type)&&(e.defaultChecked=e.checked)}function St(e,t){return h.nodeName(e,"table")&&h.nodeName(t.nodeType!==11?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function xt(e){return e.type=(h.find.attr(e,"type")!==null)+"/"+e.type,e}function Tt(e){var t=vt.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Nt(e,t){var n,r=0;for(;(n=e[r])!=null;r++)h._data(n,"globalEval",!t||h._data(t[r],"globalEval"))}function Ct(e,t){if(t.nodeType!==1||!h.hasData(e))return;var n,r,i,s=h._data(e),o=h._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r")).appendTo(t.documentElement),t=(Lt[0].contentWindow||Lt[0].contentDocument).document,t.write(),t.close(),n=Ot(e,t),Lt.detach();At[e]=n}return n}function jt(e,t){return{get:function(){var n=e();if(n==null)return;if(n){delete this.get;return}return(this.get=t).apply(this,arguments)}}}function Vt(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=Xt.length;while(i--){t=Xt[i]+n;if(t in e)return t}return r}function $t(e,t){var n,r,i,s=[],o=0,u=e.length;for(;o=0&&n=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||h.type(e)!=="object"||e.nodeType||h.isWindow(e))return!1;try{if(e.constructor&&!f.call(e,"constructor")&&!f.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(l.ownLast)for(t in e)return f.call(e,t);for(t in e);return t===undefined||f.call(e,t)},type:function(e){return e==null?e+"":typeof e=="object"||typeof e=="function"?u[a.call(e)]||"object":typeof e},globalEval:function(t){t&&h.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(d,"ms-").replace(v,m)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,s=e.length,o=g(e);if(n)if(o)for(;ir.cacheLength&&delete t[e.shift()],t[n+" "]=i}var e=[];return t}function at(e){return e[w]=!0,e}function ft(e){var t=p.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function lt(e,t){var n=e.split("|"),i=e.length;while(i--)r.attrHandle[n[i]]=t}function ct(e,t){var n=t&&e,r=n&&e.nodeType===1&&t.nodeType===1&&(~t.sourceIndex||L)-(~e.sourceIndex||L);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function ht(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function pt(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function dt(e){return at(function(t){return t=+t,at(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function vt(e){return e&&typeof e.getElementsByTagName!="undefined"&&e}function mt(){}function gt(e){var t=0,n=e.length,r="";for(;t1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function wt(e,t,n){var r=0,i=t.length;for(;r-1&&(s[f]=!(o[f]=c))}}else g=Et(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):D.apply(o,g)})}function xt(e){var t,n,i,s=e.length,o=r.relative[e[0].type],u=o||r.relative[" "],a=o?1:0,l=yt(function(e){return e===t},u,!0),c=yt(function(e){return H(t,e)>-1},u,!0),h=[function(e,n,r){var i=!o&&(r||n!==f)||((t=n).nodeType?l(e,n,r):c(e,n,r));return t=null,i}];for(;a1&&bt(h),a>1&>(e.slice(0,a-1).concat({value:e[a-2].type===" "?"*":""})).replace(z,"$1"),n,a0,i=e.length>0,s=function(s,o,u,a,l){var c,h,d,v=0,m="0",g=s&&[],y=[],b=f,w=s||i&&r.find.TAG("*",l),E=S+=b==null?1:Math.random()||.1,x=w.length;l&&(f=o!==p&&o);for(;m!==x&&(c=w[m])!=null;m++){if(i&&c){h=0;while(d=e[h++])if(d(c,o,u)){a.push(c);break}l&&(S=E)}n&&((c=!d&&c)&&v--,s&&g.push(c))}v+=m;if(n&&m!==v){h=0;while(d=t[h++])d(g,y,o,u);if(s){if(v>0)while(m--)!g[m]&&!y[m]&&(y[m]=M.call(a));y=Et(y)}D.apply(a,y),l&&!s&&y.length>0&&v+t.length>1&&ot.uniqueSort(a)}return l&&(S=E,f=b),g};return n?at(s):s}var t,n,r,i,s,o,u,a,f,l,c,h,p,d,v,m,g,y,b,w="sizzle"+1*new Date,E=e.document,S=0,x=0,T=ut(),N=ut(),C=ut(),k=function(e,t){return e===t&&(c=!0),0},L=1<<31,A={}.hasOwnProperty,O=[],M=O.pop,_=O.push,D=O.push,P=O.slice,H=function(e,t){var n=0,r=e.length;for(;n+~]|"+j+")"+j+"*"),V=new RegExp("="+j+"*([^\\]'\"]*?)"+j+"*\\]","g"),$=new RegExp(R),J=new RegExp("^"+I+"$"),K={ID:new RegExp("^#("+F+")"),CLASS:new RegExp("^\\.("+F+")"),TAG:new RegExp("^("+F.replace("w","w*")+")"),ATTR:new RegExp("^"+q),PSEUDO:new RegExp("^"+R),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+j+"*(even|odd|(([+-]|)(\\d*)n|)"+j+"*(?:([+-]|)"+j+"*(\\d+)|))"+j+"*\\)|)","i"),bool:new RegExp("^(?:"+B+")$","i"),needsContext:new RegExp("^"+j+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+j+"*((?:-\\d)?\\d*)"+j+"*\\)|)(?=[^-]|$)","i")},Q=/^(?:input|select|textarea|button)$/i,G=/^h\d$/i,Y=/^[^{]+\{\s*\[native \w/,Z=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,et=/[+~]/,tt=/'|\\/g,nt=new RegExp("\\\\([\\da-f]{1,6}"+j+"?|("+j+")|.)","ig"),rt=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,r&1023|56320)},it=function(){h()};try{D.apply(O=P.call(E.childNodes),E.childNodes),O[E.childNodes.length].nodeType}catch(st){D={apply:O.length?function(e,t){_.apply(e,P.call(t))}:function(e,t){var n=e.length,r=0;while(e[n++]=t[r++]);e.length=n-1}}}n=ot.support={},s=ot.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},h=ot.setDocument=function(e){var t,i,o=e?e.ownerDocument||e:E;if(o===p||o.nodeType!==9||!o.documentElement)return p;p=o,d=o.documentElement,i=o.defaultView,i&&i!==i.top&&(i.addEventListener?i.addEventListener("unload",it,!1):i.attachEvent&&i.attachEvent("onunload",it)),v=!s(o),n.attributes=ft(function(e){return e.className="i",!e.getAttribute("className")}),n.getElementsByTagName=ft(function(e){return e.appendChild(o.createComment("")),!e.getElementsByTagName("*").length}),n.getElementsByClassName=Y.test(o.getElementsByClassName),n.getById=ft(function(e){return d.appendChild(e).id=w,!o.getElementsByName||!o.getElementsByName(w).length}),n.getById?(r.find.ID=function(e,t){if(typeof t.getElementById!="undefined"&&v){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},r.filter.ID=function(e){var t=e.replace(nt,rt);return function(e){return e.getAttribute("id")===t}}):(delete r.find.ID,r.filter.ID=function(e){var t=e.replace(nt,rt);return function(e){var n=typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id");return n&&n.value===t}}),r.find.TAG=n.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!="undefined")return t.getElementsByTagName(e);if(n.qsa)return t.querySelectorAll(e)}:function(e,t){var n,r=[],i=0,s=t.getElementsByTagName(e);if(e==="*"){while(n=s[i++])n.nodeType===1&&r.push(n);return r}return s},r.find.CLASS=n.getElementsByClassName&&function(e,t){if(v)return t.getElementsByClassName(e)},g=[],m=[];if(n.qsa=Y.test(o.querySelectorAll))ft(function(e){d.appendChild(e).innerHTML=""+"",e.querySelectorAll("[msallowcapture^='']").length&&m.push("[*^$]="+j+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||m.push("\\["+j+"*(?:value|"+B+")"),e.querySelectorAll("[id~="+w+"-]").length||m.push("~="),e.querySelectorAll(":checked").length||m.push(":checked"),e.querySelectorAll("a#"+w+"+*").length||m.push(".#.+[+~]")}),ft(function(e){var t=o.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&m.push("name"+j+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||m.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),m.push(",.*:")});return(n.matchesSelector=Y.test(y=d.matches||d.webkitMatchesSelector||d.mozMatchesSelector||d.oMatchesSelector||d.msMatchesSelector))&&ft(function(e){n.disconnectedMatch=y.call(e,"div"),y.call(e,"[s!='']:x"),g.push("!=",R)}),m=m.length&&new RegExp(m.join("|")),g=g.length&&new RegExp(g.join("|")),t=Y.test(d.compareDocumentPosition),b=t||Y.test(d.contains)?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!r&&r.nodeType===1&&!!(n.contains?n.contains(r):e.compareDocumentPosition&&e.compareDocumentPosition(r)&16)}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},k=t?function(e,t){if(e===t)return c=!0,0;var r=!e.compareDocumentPosition-!t.compareDocumentPosition;return r?r:(r=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,r&1||!n.sortDetached&&t.compareDocumentPosition(e)===r?e===o||e.ownerDocument===E&&b(E,e)?-1:t===o||t.ownerDocument===E&&b(E,t)?1:l?H(l,e)-H(l,t):0:r&4?-1:1)}:function(e,t){if(e===t)return c=!0,0;var n,r=0,i=e.parentNode,s=t.parentNode,u=[e],a=[t];if(!i||!s)return e===o?-1:t===o?1:i?-1:s?1:l?H(l,e)-H(l,t):0;if(i===s)return ct(e,t);n=e;while(n=n.parentNode)u.unshift(n);n=t;while(n=n.parentNode)a.unshift(n);while(u[r]===a[r])r++;return r?ct(u[r],a[r]):u[r]===E?-1:a[r]===E?1:0},o},ot.matches=function(e,t){return ot(e,null,null,t)},ot.matchesSelector=function(e,t){(e.ownerDocument||e)!==p&&h(e),t=t.replace(V,"='$1']");if(n.matchesSelector&&v&&(!g||!g.test(t))&&(!m||!m.test(t)))try{var r=y.call(e,t);if(r||n.disconnectedMatch||e.document&&e.document.nodeType!==11)return r}catch(i){}return ot(t,p,null,[e]).length>0},ot.contains=function(e,t){return(e.ownerDocument||e)!==p&&h(e),b(e,t)},ot.attr=function(e,t){(e.ownerDocument||e)!==p&&h(e);var i=r.attrHandle[t.toLowerCase()],s=i&&A.call(r.attrHandle,t.toLowerCase())?i(e,t,!v):undefined;return s!==undefined?s:n.attributes||!v?e.getAttribute(t):(s=e.getAttributeNode(t))&&s.specified?s.value:null},ot.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},ot.uniqueSort=function(e){var t,r=[],i=0,s=0;c=!n.detectDuplicates,l=!n.sortStable&&e.slice(0),e.sort(k);if(c){while(t=e[s++])t===e[s]&&(i=r.push(s));while(i--)e.splice(r[i],1)}return l=null,e},i=ot.getText=function(e){var t,n="",r=0,s=e.nodeType;if(!s)while(t=e[r++])n+=i(t);else if(s===1||s===9||s===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=i(e)}else if(s===3||s===4)return e.nodeValue;return n},r=ot.selectors={cacheLength:50,createPseudo:at,match:K,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(nt,rt),e[3]=(e[3]||e[4]||e[5]||"").replace(nt,rt),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1].slice(0,3)==="nth"?(e[3]||ot.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*(e[3]==="even"||e[3]==="odd")),e[5]=+(e[7]+e[8]||e[3]==="odd")):e[3]&&ot.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return K.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&$.test(n)&&(t=o(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(nt,rt).toLowerCase();return e==="*"?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=T[e+" "];return t||(t=new RegExp("(^|"+j+")"+e+"("+j+"|$)"))&&T(e,function(e){return t.test(typeof e.className=="string"&&e.className||typeof e.getAttribute!="undefined"&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=ot.attr(r,e);return i==null?t==="!=":t?(i+="",t==="="?i===n:t==="!="?i!==n:t==="^="?n&&i.indexOf(n)===0:t==="*="?n&&i.indexOf(n)>-1:t==="$="?n&&i.slice(-n.length)===n:t==="~="?(" "+i.replace(U," ")+" ").indexOf(n)>-1:t==="|="?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var s=e.slice(0,3)!=="nth",o=e.slice(-4)!=="last",u=t==="of-type";return r===1&&i===0?function(e){return!!e.parentNode}:function(t,n,a){var f,l,c,h,p,d,v=s!==o?"nextSibling":"previousSibling",m=t.parentNode,g=u&&t.nodeName.toLowerCase(),y=!a&&!u;if(m){if(s){while(v){c=t;while(c=c[v])if(u?c.nodeName.toLowerCase()===g:c.nodeType===1)return!1;d=v=e==="only"&&!d&&"nextSibling"}return!0}d=[o?m.firstChild:m.lastChild];if(o&&y){l=m[w]||(m[w]={}),f=l[e]||[],p=f[0]===S&&f[1],h=f[0]===S&&f[2],c=p&&m.childNodes[p];while(c=++p&&c&&c[v]||(h=p=0)||d.pop())if(c.nodeType===1&&++h&&c===t){l[e]=[S,p,h];break}}else if(y&&(f=(t[w]||(t[w]={}))[e])&&f[0]===S)h=f[1];else while(c=++p&&c&&c[v]||(h=p=0)||d.pop())if((u?c.nodeName.toLowerCase()===g:c.nodeType===1)&&++h){y&&((c[w]||(c[w]={}))[e]=[S,h]);if(c===t)break}return h-=i,h===r||h%r===0&&h/r>=0}}},PSEUDO:function(e,t){var n,i=r.pseudos[e]||r.setFilters[e.toLowerCase()]||ot.error("unsupported pseudo: "+e);return i[w]?i(t):i.length>1?(n=[e,e,"",t],r.setFilters.hasOwnProperty(e.toLowerCase())?at(function(e,n){var r,s=i(e,t),o=s.length;while(o--)r=H(e,s[o]),e[r]=!(n[r]=s[o])}):function(e){return i(e,0,n)}):i}},pseudos:{not:at(function(e){var t=[],n=[],r=u(e.replace(z,"$1"));return r[w]?at(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),t[0]=null,!n.pop()}}),has:at(function(e){return function(t){return ot(e,t).length>0}}),contains:at(function(e){return e=e.replace(nt,rt),function(t){return(t.textContent||t.innerText||i(t)).indexOf(e)>-1}}),lang:at(function(e){return J.test(e||"")||ot.error("unsupported lang: "+e),e=e.replace(nt,rt).toLowerCase(),function(t){var n;do if(n=v?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||n.indexOf(e+"-")===0;while((t=t.parentNode)&&t.nodeType===1);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===d},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!r.pseudos.empty(e)},header:function(e){return G.test(e.nodeName)},input:function(e){return Q.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},text:function(e){var t;return e.nodeName.toLowerCase()==="input"&&e.type==="text"&&((t=e.getAttribute("type"))==null||t.toLowerCase()==="text")},first:dt(function(){return[0]}),last:dt(function(e,t){return[t-1]}),eq:dt(function(e,t,n){return[n<0?n+t:n]}),even:dt(function(e,t){var n=0;for(;n=0;)e.push(r);return e}),gt:dt(function(e,t,n){var r=n<0?n+t:n;for(;++r2&&(l=f[0]).type==="ID"&&n.getById&&t.nodeType===9&&v&&r.relative[f[1].type]){t=(r.find.ID(l.matches[0].replace(nt,rt),t)||[])[0];if(!t)return i;p&&(t=t.parentNode),e=e.slice(f.shift().value.length)}a=K.needsContext.test(e)?0:f.length;while(a--){l=f[a];if(r.relative[c=l.type])break;if(h=r.find[c])if(s=h(l.matches[0].replace(nt,rt),et.test(f[0].type)&&vt(t.parentNode)||t)){f.splice(a,1),e=s.length&>(f);if(!e)return D.apply(i,s),i;break}}}return(p||u(e,d))(s,t,!v,i,et.test(e)&&vt(t.parentNode)||t),i},n.sortStable=w.split("").sort(k).join("")===w,n.detectDuplicates=!!c,h(),n.sortDetached=ft(function(e){return e.compareDocumentPosition(p.createElement("div"))&1}),ft(function(e){return e.innerHTML="",e.firstChild.getAttribute("href")==="#"})||lt("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,t.toLowerCase()==="type"?1:2)}),(!n.attributes||!ft(function(e){return e.innerHTML="",e.firstChild.setAttribute("value",""),e.firstChild.getAttribute("value")===""}))&<("value",function(e,t,n){if(!n&&e.nodeName.toLowerCase()==="input")return e.defaultValue}),ft(function(e){return e.getAttribute("disabled")==null})||lt(B,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),ot}(e);h.find=y,h.expr=y.selectors,h.expr[":"]=h.expr.pseudos,h.unique=y.uniqueSort,h.text=y.getText,h.isXMLDoc=y.isXML,h.contains=y.contains;var b=h.expr.match.needsContext,w=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,E=/^.[^:#\[\.,]*$/;h.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),t.length===1&&r.nodeType===1?h.find.matchesSelector(r,e)?[r]:[]:h.find.matches(e,h.grep(t,function(e){return e.nodeType===1}))},h.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if(typeof e!="string")return this.pushStack(h(e).filter(function(){for(t=0;t1?h.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(S(this,e||[],!1))},not:function(e){return this.pushStack(S(this,e||[],!0))},is:function(e){return!!S(this,typeof e=="string"&&b.test(e)?h(e):e||[],!1).length}});var x,T=e.document,N=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=h.fn.init=function(e,t){var n,r;if(!e)return this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?n=[null,e,null]:n=N.exec(e);if(n&&(n[1]||!t)){if(n[1]){t=t instanceof h?t[0]:t,h.merge(this,h.parseHTML(n[1],t&&t.nodeType?t.ownerDocument||t:T,!0));if(w.test(n[1])&&h.isPlainObject(t))for(n in t)h.isFunction(this[n])?this[n](t[n]):this.attr(n,t[n]);return this}r=T.getElementById(n[2]);if(r&&r.parentNode){if(r.id!==n[2])return x.find(e);this.length=1,this[0]=r}return this.context=T,this.selector=e,this}return!t||t.jquery?(t||x).find(e):this.constructor(t).find(e)}return e.nodeType?(this.context=this[0]=e,this.length=1,this):h.isFunction(e)?typeof x.ready!="undefined"?x.ready(e):e(h):(e.selector!==undefined&&(this.selector=e.selector,this.context=e.context),h.makeArray(e,this))};C.prototype=h.fn,x=h(T);var k=/^(?:parents|prev(?:Until|All))/,L={children:!0,contents:!0,next:!0,prev:!0};h.extend({dir:function(e,t,n){var r=[],i=e[t];while(i&&i.nodeType!==9&&(n===undefined||i.nodeType!==1||!h(i).is(n)))i.nodeType===1&&r.push(i),i=i[t];return r},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}}),h.fn.extend({has:function(e){var t,n=h(e,this),r=n.length;return this.filter(function(){for(t=0;t-1:n.nodeType===1&&h.find.matchesSelector(n,e))){s.push(n);break}return this.pushStack(s.length>1?h.unique(s):s)},index:function(e){return e?typeof e=="string"?h.inArray(this[0],h(e)):h.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(h.unique(h.merge(this.get(),h(e,t))))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),h.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return h.dir(e,"parentNode")},parentsUntil:function(e,t,n){return h.dir(e,"parentNode",n)},next:function(e){return A(e,"nextSibling")},prev:function(e){return A(e,"previousSibling")},nextAll:function(e){return h.dir(e,"nextSibling")},prevAll:function(e){return h.dir(e,"previousSibling")},nextUntil:function(e,t,n){return h.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return h.dir(e,"previousSibling",n)},siblings:function(e){return h.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return h.sibling(e.firstChild)},contents:function(e){return h.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:h.merge([],e.childNodes)}},function(e,t){h.fn[e]=function(n,r){var i=h.map(this,t,n);return e.slice(-5)!=="Until"&&(r=n),r&&typeof r=="string"&&(i=h.filter(r,i)),this.length>1&&(L[e]||(i=h.unique(i)),k.test(e)&&(i=i.reverse())),this.pushStack(i)}});var O=/\S+/g,M={};h.Callbacks=function(e){e=typeof e=="string"?M[e]||_(e):h.extend({},e);var t,n,r,i,s,o,u=[],a=!e.once&&[],f=function(c){n=e.memory&&c,r=!0,s=o||0,o=0,i=u.length,t=!0;for(;u&&s-1)u.splice(r,1),t&&(r<=i&&i--,r<=s&&s--)}),this},has:function(e){return e?h.inArray(e,u)>-1:!!u&&!!u.length},empty:function(){return u=[],i=0,this},disable:function(){return u=a=n=undefined,this},disabled:function(){return!u},lock:function(){return a=undefined,n||l.disable(),this},locked:function(){return!a},fireWith:function(e,n){return u&&(!r||a)&&(n=n||[],n=[e,n.slice?n.slice():n],t?a.push(n):f(n)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!r}};return l},h.extend({Deferred:function(e){var t=[["resolve","done",h.Callbacks("once memory"),"resolved"],["reject","fail",h.Callbacks("once memory"),"rejected"],["notify","progress",h.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return h.Deferred(function(n){h.each(t,function(t,s){var o=h.isFunction(e[t])&&e[t];i[s[1]](function(){var e=o&&o.apply(this,arguments);e&&h.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s[0]+"With"](this===r?n.promise():this,o?[e]:arguments)})}),e=null}).promise()},promise:function(e){return e!=null?h.extend(e,r):r}},i={};return r.pipe=r.then,h.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=function(){return i[s[0]+"With"](this===i?r:this,arguments),this},i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=r.call(arguments),i=n.length,s=i!==1||e&&h.isFunction(e.promise)?i:0,o=s===1?e:h.Deferred(),u=function(e,t,n){return function(i){t[e]=this,n[e]=arguments.length>1?r.call(arguments):i,n===a?o.notifyWith(t,n):--s||o.resolveWith(t,n)}},a,f,l;if(i>1){a=new Array(i),f=new Array(i),l=new Array(i);for(;t0)return;D.resolveWith(T,[h]),h.fn.triggerHandler&&(h(T).triggerHandler("ready"),h(T).off("ready"))}}),h.ready.promise=function(t){if(!D){D=h.Deferred();if(T.readyState==="complete")setTimeout(h.ready);else if(T.addEventListener)T.addEventListener("DOMContentLoaded",H,!1),e.addEventListener("load",H,!1);else{T.attachEvent("onreadystatechange",H),e.attachEvent("onload",H);var n=!1;try{n=e.frameElement==null&&T.documentElement}catch(r){}n&&n.doScroll&&function i(){if(!h.isReady){try{n.doScroll("left")}catch(e){return setTimeout(i,50)}P(),h.ready()}}()}}return D.promise(t)};var B=typeof undefined,j;for(j in h(l))break;l.ownLast=j!=="0",l.inlineBlockNeedsLayout=!1,h(function(){var e,t,n,r;n=T.getElementsByTagName("body")[0];if(!n||!n.style)return;t=T.createElement("div"),r=T.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),typeof t.style.zoom!==B&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",l.inlineBlockNeedsLayout=e=t.offsetWidth===3,e&&(n.style.zoom=1)),n.removeChild(r)}),function(){var e=T.createElement("div");if(l.deleteExpando==null){l.deleteExpando=!0;try{delete e.test}catch(t){l.deleteExpando=!1}}e=null}(),h.acceptData=function(e){var t=h.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return n!==1&&n!==9?!1:!t||t!==!0&&e.getAttribute("classid")===t};var F=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,I=/([A-Z])/g;h.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?h.cache[e[h.expando]]:e[h.expando],!!e&&!R(e)},data:function(e,t,n){return U(e,t,n)},removeData:function(e,t){return z(e,t)},_data:function(e,t,n){return U(e,t,n,!0)},_removeData:function(e,t){return z(e,t,!0)}}),h.fn.extend({data:function(e,t){var n,r,i,s=this[0],o=s&&s.attributes;if(e===undefined){if(this.length){i=h.data(s);if(s.nodeType===1&&!h._data(s,"parsedAttrs")){n=o.length;while(n--)o[n]&&(r=o[n].name,r.indexOf("data-")===0&&(r=h.camelCase(r.slice(5)),q(s,r,i[r])));h._data(s,"parsedAttrs",!0)}}return i}return typeof e=="object"?this.each(function(){h.data(this,e)}):arguments.length>1?this.each(function(){h.data(this,e,t)}):s?q(s,e,h.data(s,e)):undefined},removeData:function(e){return this.each(function(){h.removeData(this,e)})}}),h.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=h._data(e,t),n&&(!r||h.isArray(n)?r=h._data(e,t,h.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=h.queue(e,t),r=n.length,i=n.shift(),s=h._queueHooks(e,t),o=function(){h.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return h._data(e,n)||h._data(e,n,{empty:h.Callbacks("once memory").add(function(){h._removeData(e,t+"queue"),h._removeData(e,n)})})}}),h.fn.extend({queue:function(e,t){var n=2;return typeof e!="string"&&(t=e,e="fx",n--),arguments.length
                                        a",l.leadingWhitespace=t.firstChild.nodeType===3,l.tbody=!t.getElementsByTagName("tbody").length,l.htmlSerialize=!!t.getElementsByTagName("link").length,l.html5Clone=T.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",e.type="checkbox",e.checked=!0,n.appendChild(e),l.appendChecked=e.checked,t.innerHTML="",l.noCloneChecked=!!t.cloneNode(!0).lastChild.defaultValue,n.appendChild(t),t.innerHTML="",l.checkClone=t.cloneNode(!0).cloneNode(!0).lastChild.checked,l.noCloneEvent=!0,t.attachEvent&&(t.attachEvent("onclick",function(){l.noCloneEvent=!1}),t.cloneNode(!0).click());if(l.deleteExpando==null){l.deleteExpando=!0;try{delete t.test}catch(r){l.deleteExpando=!1}}})(),function(){var t,n,r=T.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(l[t+"Bubbles"]=n in e)||(r.setAttribute(n,"t"),l[t+"Bubbles"]=r.attributes[n].expando===!1);r=null}();var K=/^(?:input|select|textarea)$/i,Q=/^key/,G=/^(?:mouse|pointer|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=/^([^.]*)(?:\.(.+)|)$/;h.event={global:{},add:function(e,t,n,r,i){var s,o,u,a,f,l,c,p,d,v,m,g=h._data(e);if(!g)return;n.handler&&(a=n,n=a.handler,i=a.selector),n.guid||(n.guid=h.guid++),(o=g.events)||(o=g.events={}),(l=g.handle)||(l=g.handle=function(e){return typeof h===B||!!e&&h.event.triggered===e.type?undefined:h.event.dispatch.apply(l.elem,arguments)},l.elem=e),t=(t||"").match(O)||[""],u=t.length;while(u--){s=Z.exec(t[u])||[],d=m=s[1],v=(s[2]||"").split(".").sort();if(!d)continue;f=h.event.special[d]||{},d=(i?f.delegateType:f.bindType)||d,f=h.event.special[d]||{},c=h.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&h.expr.match.needsContext.test(i),namespace:v.join(".")},a);if(!(p=o[d])){p=o[d]=[],p.delegateCount=0;if(!f.setup||f.setup.call(e,r,v,l)===!1)e.addEventListener?e.addEventListener(d,l,!1):e.attachEvent&&e.attachEvent("on"+d,l)}f.add&&(f.add.call(e,c),c.handler.guid||(c.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,c):p.push(c),h.event.global[d]=!0}e=null},remove:function(e,t,n,r,i){var s,o,u,a,f,l,c,p,d,v,m,g=h.hasData(e)&&h._data(e);if(!g||!(l=g.events))return;t=(t||"").match(O)||[""],f=t.length;while(f--){u=Z.exec(t[f])||[],d=m=u[1],v=(u[2]||"").split(".").sort();if(!d){for(d in l)h.event.remove(e,d+t[f],n,r,!0);continue}c=h.event.special[d]||{},d=(r?c.delegateType:c.bindType)||d,p=l[d]||[],u=u[2]&&new RegExp("(^|\\.)"+v.join("\\.(?:.*\\.|)")+"(\\.|$)"),a=s=p.length;while(s--)o=p[s],(i||m===o.origType)&&(!n||n.guid===o.guid)&&(!u||u.test(o.namespace))&&(!r||r===o.selector||r==="**"&&o.selector)&&(p.splice(s,1),o.selector&&p.delegateCount--,c.remove&&c.remove.call(e,o));a&&!p.length&&((!c.teardown||c.teardown.call(e,v,g.handle)===!1)&&h.removeEvent(e,d,g.handle),delete l[d])}h.isEmptyObject(l)&&(delete g.handle,h._removeData(e,"events"))},trigger:function(t,n,r,i){var s,o,u,a,l,c,p,d=[r||T],v=f.call(t,"type")?t.type:t,m=f.call(t,"namespace")?t.namespace.split("."):[];u=c=r=r||T;if(r.nodeType===3||r.nodeType===8)return;if(Y.test(v+h.event.triggered))return;v.indexOf(".")>=0&&(m=v.split("."),v=m.shift(),m.sort()),o=v.indexOf(":")<0&&"on"+v,t=t[h.expando]?t:new h.Event(v,typeof t=="object"&&t),t.isTrigger=i?2:3,t.namespace=m.join("."),t.namespace_re=t.namespace?new RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=undefined,t.target||(t.target=r),n=n==null?[t]:h.makeArray(n,[t]),l=h.event.special[v]||{};if(!i&&l.trigger&&l.trigger.apply(r,n)===!1)return;if(!i&&!l.noBubble&&!h.isWindow(r)){a=l.delegateType||v,Y.test(a+v)||(u=u.parentNode);for(;u;u=u.parentNode)d.push(u),c=u;c===(r.ownerDocument||T)&&d.push(c.defaultView||c.parentWindow||e)}p=0;while((u=d[p++])&&!t.isPropagationStopped())t.type=p>1?a:l.bindType||v,s=(h._data(u,"events")||{})[t.type]&&h._data(u,"handle"),s&&s.apply(u,n),s=o&&u[o],s&&s.apply&&h.acceptData(u)&&(t.result=s.apply(u,n),t.result===!1&&t.preventDefault());t.type=v;if(!i&&!t.isDefaultPrevented()&&(!l._default||l._default.apply(d.pop(),n)===!1)&&h.acceptData(r)&&o&&r[v]&&!h.isWindow(r)){c=r[o],c&&(r[o]=null),h.event.triggered=v;try{r[v]()}catch(g){}h.event.triggered=undefined,c&&(r[o]=c)}return t.result},dispatch:function(e){e=h.event.fix(e);var t,n,i,s,o,u=[],a=r.call(arguments),f=(h._data(this,"events")||{})[e.type]||[],l=h.event.special[e.type]||{};a[0]=e,e.delegateTarget=this;if(l.preDispatch&&l.preDispatch.call(this,e)===!1)return;u=h.event.handlers.call(this,e,f),t=0;while((s=u[t++])&&!e.isPropagationStopped()){e.currentTarget=s.elem,o=0;while((i=s.handlers[o++])&&!e.isImmediatePropagationStopped())if(!e.namespace_re||e.namespace_re.test(i.namespace))e.handleObj=i,e.data=i.data,n=((h.event.special[i.origType]||{}).handle||i.handler).apply(s.elem,a),n!==undefined&&(e.result=n)===!1&&(e.preventDefault(),e.stopPropagation())}return l.postDispatch&&l.postDispatch.call(this,e),e.result},handlers:function(e,t){var n,r,i,s,o=[],u=t.delegateCount,a=e.target;if(u&&a.nodeType&&(!e.button||e.type!=="click"))for(;a!=this;a=a.parentNode||this)if(a.nodeType===1&&(a.disabled!==!0||e.type!=="click")){i=[];for(s=0;s=0:h.find(n,this,null,[a]).length),i[n]&&i.push(r);i.length&&o.push({elem:a,handlers:i})}return u]","i"),ut=/^\s+/,at=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ft=/<([\w:]+)/,lt=/\s*$/g,gt={option:[1,""],legend:[1,"
                                        ","
                                        "],area:[1,"",""],param:[1,"",""],thead:[1,"","
                                        "],tr:[2,"","
                                        "],col:[2,"","
                                        "],td:[3,"","
                                        "],_default:l.htmlSerialize?[0,"",""]:[1,"X
                                        ","
                                        "]},yt=rt(T),bt=yt.appendChild(T.createElement("div"));gt.optgroup=gt.option,gt.tbody=gt.tfoot=gt.colgroup=gt.caption=gt.thead,gt.th=gt.td,h.extend({clone:function(e,t,n){var r,i,s,o,u,a=h.contains(e.ownerDocument,e);l.html5Clone||h.isXMLDoc(e)||!ot.test("<"+e.nodeName+">")?s=e.cloneNode(!0):(bt.innerHTML=e.outerHTML,bt.removeChild(s=bt.firstChild));if((!l.noCloneEvent||!l.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!h.isXMLDoc(e)){r=wt(s),u=wt(e);for(o=0;(i=u[o])!=null;++o)r[o]&&kt(i,r[o])}if(t)if(n){u=u||wt(e),r=r||wt(s);for(o=0;(i=u[o])!=null;o++)Ct(i,r[o])}else Ct(e,s);return r=wt(s,"script"),r.length>0&&Nt(r,!a&&wt(e,"script")),r=u=i=null,s},buildFragment:function(e,t,n,r){var i,s,o,u,a,f,c,p=e.length,d=rt(t),v=[],m=0;for(;m")+c[2],i=c[0];while(i--)u=u.lastChild;!l.leadingWhitespace&&ut.test(s)&&v.push(t.createTextNode(ut.exec(s)[0]));if(!l.tbody){s=a==="table"&&!lt.test(s)?u.firstChild:c[1]===""&&!lt.test(s)?u:0,i=s&&s.childNodes.length;while(i--)h.nodeName(f=s.childNodes[i],"tbody")&&!f.childNodes.length&&s.removeChild(f)}h.merge(v,u.childNodes),u.textContent="";while(u.firstChild)u.removeChild(u.firstChild);u=d.lastChild}}u&&d.removeChild(u),l.appendChecked||h.grep(wt(v,"input"),Et),m=0;while(s=v[m++]){if(r&&h.inArray(s,r)!==-1)continue;o=h.contains(s.ownerDocument,s),u=wt(d.appendChild(s),"script"),o&&Nt(u);if(n){i=0;while(s=u[i++])dt.test(s.type||"")&&n.push(s)}}return u=null,d},cleanData:function(e,t){var r,i,s,o,u=0,a=h.expando,f=h.cache,c=l.deleteExpando,p=h.event.special;for(;(r=e[u])!=null;u++)if(t||h.acceptData(r)){s=r[a],o=s&&f[s];if(o){if(o.events)for(i in o.events)p[i]?h.event.remove(r,i):h.removeEvent(r,i,o.handle);f[s]&&(delete f[s],c?delete r[a]:typeof r.removeAttribute!==B?r.removeAttribute(a):r[a]=null,n.push(s))}}}}),h.fn.extend({text:function(e){return $(this,function(e){return e===undefined?h.text(this):this.empty().append((this[0]&&this[0].ownerDocument||T).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=St(this,e);t.appendChild(e)}})},prepend:function(){return this.domManip(arguments,function(e){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var t=St(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=e?h.filter(e,this):this,i=0;for(;(n=r[i])!=null;i++)!t&&n.nodeType===1&&h.cleanData(wt(n)),n.parentNode&&(t&&h.contains(n.ownerDocument,n)&&Nt(wt(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&h.cleanData(wt(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&h.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return h.clone(this,e,t)})},html:function(e){return $(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===undefined)return t.nodeType===1?t.innerHTML.replace(st,""):undefined;if(typeof e=="string"&&!ht.test(e)&&(l.htmlSerialize||!ot.test(e))&&(l.leadingWhitespace||!ut.test(e))&&!gt[(ft.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(at,"<$1>");try{for(;n1&&typeof v=="string"&&!l.checkClone&&pt.test(v))return this.each(function(n){var r=p.eq(n);m&&(e[0]=v.call(this,n,r.html())),r.domManip(e,t)});if(c){a=h.buildFragment(e,this[0].ownerDocument,!1,this),n=a.firstChild,a.childNodes.length===1&&(a=n);if(n){o=h.map(wt(a,"script"),xt),s=o.length;for(;f
                                        t
                                        ",a=t.getElementsByTagName("td"),a[0].style.cssText="margin:0;border:0;padding:0;display:none",o=a[0].offsetHeight===0,o&&(a[0].style.display="",a[1].style.display="none",o=a[0].offsetHeight===0),n.removeChild(r)}var t,n,r,i,s,o,u;t=T.createElement("div"),t.innerHTML="
                                        a",r=t.getElementsByTagName("a")[0],n=r&&r.style;if(!n)return;n.cssText="float:left;opacity:.5",l.opacity=n.opacity==="0.5",l.cssFloat=!!n.cssFloat,t.style.backgroundClip="content-box",t.cloneNode(!0).style.backgroundClip="",l.clearCloneStyle=t.style.backgroundClip==="content-box",l.boxSizing=n.boxSizing===""||n.MozBoxSizing===""||n.WebkitBoxSizing==="",h.extend(l,{reliableHiddenOffsets:function(){return o==null&&a(),o},boxSizingReliable:function(){return s==null&&a(),s},pixelPosition:function(){return i==null&&a(),i},reliableMarginRight:function(){return u==null&&a(),u}})}(),h.swap=function(e,t,n,r){var i,s,o={};for(s in t)o[s]=e.style[s],e.style[s]=t[s];i=n.apply(e,r||[]);for(s in t)e.style[s]=o[s];return i};var Ft=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,qt=/^(none|table(?!-c[ea]).+)/,Rt=new RegExp("^("+W+")(.*)$","i"),Ut=new RegExp("^([+-])=("+W+")","i"),zt={position:"absolute",visibility:"hidden",display:"block"},Wt={letterSpacing:"0",fontWeight:"400"},Xt=["Webkit","O","Moz","ms"];h.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Ht(e,"opacity");return n===""?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":l.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var i,s,o,u=h.camelCase(t),a=e.style;t=h.cssProps[u]||(h.cssProps[u]=Vt(a,u)),o=h.cssHooks[t]||h.cssHooks[u];if(n===undefined)return o&&"get"in o&&(i=o.get(e,!1,r))!==undefined?i:a[t];s=typeof n,s==="string"&&(i=Ut.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(h.css(e,t)),s="number");if(n==null||n!==n)return;s==="number"&&!h.cssNumber[u]&&(n+="px"),!l.clearCloneStyle&&n===""&&t.indexOf("background")===0&&(a[t]="inherit");if(!o||!("set"in o)||(n=o.set(e,n,r))!==undefined)try{a[t]=n}catch(f){}},css:function(e,t,n,r){var i,s,o,u=h.camelCase(t);return t=h.cssProps[u]||(h.cssProps[u]=Vt(e.style,u)),o=h.cssHooks[t]||h.cssHooks[u],o&&"get"in o&&(s=o.get(e,!0,n)),s===undefined&&(s=Ht(e,t,r)),s==="normal"&&t in Wt&&(s=Wt[t]),n===""||n?(i=parseFloat(s),n===!0||h.isNumeric(i)?i||0:s):s}}),h.each(["height","width"],function(e,t){h.cssHooks[t]={get:function(e,n,r){if(n)return qt.test(h.css(e,"display"))&&e.offsetWidth===0?h.swap(e,zt,function(){return Qt(e,t,r)}):Qt(e,t,r)},set:function(e,n,r){var i=r&&Pt(e);return Jt(e,n,r?Kt(e,t,r,l.boxSizing&&h.css(e,"boxSizing",!1,i)==="border-box",i):0)}}}),l.opacity||(h.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=h.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if((t>=1||t==="")&&h.trim(s.replace(Ft,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(t===""||r&&!r.filter)return}n.filter=Ft.test(s)?s.replace(Ft,i):s+" "+i}}),h.cssHooks.marginRight=jt(l.reliableMarginRight,function(e,t){if(t)return h.swap(e,{display:"inline-block"},Ht,[e,"marginRight"])}),h.each({margin:"",padding:"",border:"Width"},function(e,t){h.cssHooks[e+t]={expand:function(n){var r=0,i={},s=typeof n=="string"?n.split(" "):[n];for(;r<4;r++)i[e+X[r]+t]=s[r]||s[r-2]||s[0];return i}},_t.test(e)||(h.cssHooks[e+t].set=Jt)}),h.fn.extend({css:function(e,t){return $(this,function(e,t,n){var r,i,s={},o=0;if(h.isArray(t)){r=Pt(e),i=t.length;for(;o1)},show:function(){return $t(this,!0)},hide:function(){return $t(this)},toggle:function(e){return typeof e=="boolean"?e?this.show():this.hide():this.each(function(){V(this)?h(this).show():h(this).hide()})}}),h.Tween=Gt,Gt.prototype={constructor:Gt,init:function(e,t,n,r,i,s){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=s||(h.cssNumber[n]?"":"px")},cur:function(){var e=Gt.propHooks[this.prop];return e&&e.get?e.get(this):Gt.propHooks._default.get(this)},run:function(e){var t,n=Gt.propHooks[this.prop];return this.options.duration?this.pos=t=h.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):Gt.propHooks._default.set(this),this}},Gt.prototype.init.prototype=Gt.prototype,Gt.propHooks={_default:{get:function(e){var t;return e.elem[e.prop]==null||!!e.elem.style&&e.elem.style[e.prop]!=null?(t=h.css(e.elem,e.prop,""),!t||t==="auto"?0:t):e.elem[e.prop]},set:function(e){h.fx.step[e.prop]?h.fx.step[e.prop](e):e.elem.style&&(e.elem.style[h.cssProps[e.prop]]!=null||h.cssHooks[e.prop])?h.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},Gt.propHooks.scrollTop=Gt.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},h.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},h.fx=Gt.prototype.init,h.fx.step={};var Yt,Zt,en=/^(?:toggle|show|hide)$/,tn=new RegExp("^(?:([+-])=|)("+W+")([a-z%]*)$","i"),nn=/queueHooks$/,rn=[fn],sn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=tn.exec(t),s=i&&i[3]||(h.cssNumber[e]?"":"px"),o=(h.cssNumber[e]||s!=="px"&&+r)&&tn.exec(h.css(n.elem,e)),u=1,a=20;if(o&&o[3]!==s){s=s||o[3],i=i||[],o=+r||1;do u=u||".5",o/=u,h.style(n.elem,e,o+s);while(u!==(u=n.cur()/r)&&u!==1&&--a)}return i&&(o=n.start=+o||+r||0,n.unit=s,n.end=i[1]?o+(i[1]+1)*i[2]:+i[2]),n}]};h.Animation=h.extend(cn,{tweener:function(e,t){h.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r
                                        a",r=t.getElementsByTagName("a")[0],n=T.createElement("select"),i=n.appendChild(T.createElement("option")),e=t.getElementsByTagName("input")[0],r.style.cssText="top:1px",l.getSetAttribute=t.className!=="t",l.style=/top/.test(r.getAttribute("style")),l.hrefNormalized=r.getAttribute("href")==="/a",l.checkOn=!!e.value,l.optSelected=i.selected,l.enctype=!!T.createElement("form").enctype,n.disabled=!0,l.optDisabled=!i.disabled,e=T.createElement("input"),e.setAttribute("value",""),l.input=e.getAttribute("value")==="",e.value="t",e.setAttribute("type","radio"),l.radioValue=e.value==="t"}();var hn=/\r/g;h.fn.extend({val:function(e){var t,n,r,i=this[0];if(!arguments.length){if(i)return t=h.valHooks[i.type]||h.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&(n=t.get(i,"value"))!==undefined?n:(n=i.value,typeof n=="string"?n.replace(hn,""):n==null?"":n);return}return r=h.isFunction(e),this.each(function(n){var i;if(this.nodeType!==1)return;r?i=e.call(this,n,h(this).val()):i=e,i==null?i="":typeof i=="number"?i+="":h.isArray(i)&&(i=h.map(i,function(e){return e==null?"":e+""})),t=h.valHooks[this.type]||h.valHooks[this.nodeName.toLowerCase()];if(!t||!("set"in t)||t.set(this,i,"value")===undefined)this.value=i})}}),h.extend({valHooks:{option:{get:function(e){var t=h.find.attr(e,"value");return t!=null?t:h.trim(h.text(e))}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a=0)try{r.selected=n=!0}catch(u){r.scrollHeight}else r.selected=!1}return n||(e.selectedIndex=-1),i}}}}),h.each(["radio","checkbox"],function(){h.valHooks[this]={set:function(e,t){if(h.isArray(t))return e.checked=h.inArray(h(e).val(),t)>=0}},l.checkOn||(h.valHooks[this].get=function(e){return e.getAttribute("value")===null?"on":e.value})});var pn,dn,vn=h.expr.attrHandle,mn=/^(?:checked|selected)$/i,gn=l.getSetAttribute,yn=l.input;h.fn.extend({attr:function(e,t){return $(this,h.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){h.removeAttr(this,e)})}}),h.extend({attr:function(e,t,n){var r,i,s=e.nodeType;if(!e||s===3||s===8||s===2)return;if(typeof e.getAttribute===B)return h.prop(e,t,n);if(s!==1||!h.isXMLDoc(e))t=t.toLowerCase(),r=h.attrHooks[t]||(h.expr.match.bool.test(t)?dn:pn);if(n===undefined)return r&&"get"in r&&(i=r.get(e,t))!==null?i:(i=h.find.attr(e,t),i==null?undefined:i);if(n!==null)return r&&"set"in r&&(i=r.set(e,n,t))!==undefined?i:(e.setAttribute(t,n+""),n);h.removeAttr(e,t)},removeAttr:function(e,t){var n,r,i=0,s=t&&t.match(O);if(s&&e.nodeType===1)while(n=s[i++])r=h.propFix[n]||n,h.expr.match.bool.test(n)?yn&&gn||!mn.test(n)?e[r]=!1:e[h.camelCase("default-"+n)]=e[r]=!1:h.attr(e,n,""),e.removeAttribute(gn?n:r)},attrHooks:{type:{set:function(e,t){if(!l.radioValue&&t==="radio"&&h.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}}}),dn={set:function(e,t,n){return t===!1?h.removeAttr(e,n):yn&&gn||!mn.test(n)?e.setAttribute(!gn&&h.propFix[n]||n,n):e[h.camelCase("default-"+n)]=e[n]=!0,n}},h.each(h.expr.match.bool.source.match(/\w+/g),function(e,t){var n=vn[t]||h.find.attr;vn[t]=yn&&gn||!mn.test(t)?function(e,t,r){var i,s;return r||(s=vn[t],vn[t]=i,i=n(e,t,r)!=null?t.toLowerCase():null,vn[t]=s),i}:function(e,t,n){if(!n)return e[h.camelCase("default-"+t)]?t.toLowerCase():null}});if(!yn||!gn)h.attrHooks.value={set:function(e,t,n){if(!h.nodeName(e,"input"))return pn&&pn.set(e,t,n);e.defaultValue=t}};gn||(pn={set:function(e,t,n){var r=e.getAttributeNode(n);r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="";if(n==="value"||t===e.getAttribute(n))return t}},vn.id=vn.name=vn.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&r.value!==""?r.value:null},h.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:pn.set},h.attrHooks.contenteditable={set:function(e,t,n){pn.set(e,t===""?!1:t,n)}},h.each(["width","height"],function(e,t){h.attrHooks[t]={set:function(e,n){if(n==="")return e.setAttribute(t,"auto"),n}}})),l.style||(h.attrHooks.style={get:function(e){return e.style.cssText||undefined},set:function(e,t){return e.style.cssText=t+""}});var bn=/^(?:input|select|textarea|button|object)$/i,wn=/^(?:a|area)$/i;h.fn.extend({prop:function(e,t){return $(this,h.prop,e,t,arguments.length>1)},removeProp:function(e){return e=h.propFix[e]||e,this.each(function(){try{this[e]=undefined,delete this[e]}catch(t){}})}}),h.extend({propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,s,o=e.nodeType;if(!e||o===3||o===8||o===2)return;return s=o!==1||!h.isXMLDoc(e),s&&(t=h.propFix[t]||t,i=h.propHooks[t]),n!==undefined?i&&"set"in i&&(r=i.set(e,n,t))!==undefined?r:e[t]=n:i&&"get"in i&&(r=i.get(e,t))!==null?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=h.find.attr(e,"tabindex");return t?parseInt(t,10):bn.test(e.nodeName)||wn.test(e.nodeName)&&e.href?0:-1}}}}),l.hrefNormalized||h.each(["href","src"],function(e,t){h.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),l.optSelected||(h.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}}),h.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){h.propFix[this.toLowerCase()]=this}),l.enctype||(h.propFix.enctype="encoding");var En=/[\t\r\n\f]/g;h.fn.extend({addClass:function(e){var t,n,r,i,s,o,u=0,a=this.length,f=typeof e=="string"&&e;if(h.isFunction(e))return this.each(function(t){h(this).addClass(e.call(this,t,this.className))});if(f){t=(e||"").match(O)||[];for(;u=0)r=r.replace(" "+i+" "," ");o=e?h.trim(r):"",n.className!==o&&(n.className=o)}}}return this},toggleClass:function(e,t){var n=typeof e;return typeof t=="boolean"&&n==="string"?t?this.addClass(e):this.removeClass(e):h.isFunction(e)?this.each(function(n){h(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var t,r=0,i=h(this),s=e.match(O)||[];while(t=s[r++])i.hasClass(t)?i.removeClass(t):i.addClass(t)}else if(n===B||n==="boolean")this.className&&h._data(this,"__className__",this.className),this.className=this.className||e===!1?"":h._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n=0)return!0;return!1}}),h.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){h.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),h.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return arguments.length===1?this.off(e,"**"):this.off(t,e||"**",n)}});var Sn=h.now(),xn=/\?/,Tn=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;h.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,r=null,i=h.trim(t+"");return i&&!h.trim(i.replace(Tn,function(e,t,i,s){return n&&t&&(r=0),r===0?e:(n=i||t,r+=!s-!i,"")}))?Function("return "+i)():h.error("Invalid JSON: "+t)},h.parseXML=function(t){var n,r;if(!t||typeof t!="string")return null;try{e.DOMParser?(r=new DOMParser,n=r.parseFromString(t,"text/xml")):(n=new ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(t))}catch(i){n=undefined}return(!n||!n.documentElement||n.getElementsByTagName("parsererror").length)&&h.error("Invalid XML: "+t),n};var Nn,Cn,kn=/#.*$/,Ln=/([?&])_=[^&]*/,An=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,On=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Mn=/^(?:GET|HEAD)$/,_n=/^\/\//,Dn=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Pn={},Hn={},Bn="*/".concat("*");try{Cn=location.href}catch(jn){Cn=T.createElement("a"),Cn.href="",Cn=Cn.href}Nn=Dn.exec(Cn.toLowerCase())||[],h.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Cn,type:"GET",isLocal:On.test(Nn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Bn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":h.parseJSON,"text xml":h.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?qn(qn(e,h.ajaxSettings),t):qn(h.ajaxSettings,e)},ajaxPrefilter:Fn(Pn),ajaxTransport:Fn(Hn),ajax:function(e,t){function x(e,t,n,r){var f,g,y,w,S,x=t;if(b===2)return;b=2,o&&clearTimeout(o),a=undefined,s=r||"",E.readyState=e>0?4:0,f=e>=200&&e<300||e===304,n&&(w=Rn(l,E,n)),w=Un(l,w,E,f);if(f)l.ifModified&&(S=E.getResponseHeader("Last-Modified"),S&&(h.lastModified[i]=S),S=E.getResponseHeader("etag"),S&&(h.etag[i]=S)),e===204||l.type==="HEAD"?x="nocontent":e===304?x="notmodified":(x=w.state,g=w.data,y=w.error,f=!y);else{y=x;if(e||!x)x="error",e<0&&(e=0)}E.status=e,E.statusText=(t||x)+"",f?d.resolveWith(c,[g,x,E]):d.rejectWith(c,[E,x,y]),E.statusCode(m),m=undefined,u&&p.trigger(f?"ajaxSuccess":"ajaxError",[E,l,f?g:y]),v.fireWith(c,[E,x]),u&&(p.trigger("ajaxComplete",[E,l]),--h.active||h.event.trigger("ajaxStop"))}typeof e=="object"&&(t=e,e=undefined),t=t||{};var n,r,i,s,o,u,a,f,l=h.ajaxSetup({},t),c=l.context||l,p=l.context&&(c.nodeType||c.jquery)?h(c):h.event,d=h.Deferred(),v=h.Callbacks("once memory"),m=l.statusCode||{},g={},y={},b=0,w="canceled",E={readyState:0,getResponseHeader:function(e){var t;if(b===2){if(!f){f={};while(t=An.exec(s))f[t[1].toLowerCase()]=t[2]}t=f[e.toLowerCase()]}return t==null?null:t},getAllResponseHeaders:function(){return b===2?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=y[n]=y[n]||e,g[e]=t),this},overrideMimeType:function(e){return b||(l.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)m[t]=[m[t],e[t]];else E.always(e[E.status]);return this},abort:function(e){var t=e||w;return a&&a.abort(t),x(0,t),this}};d.promise(E).complete=v.add,E.success=E.done,E.error=E.fail,l.url=((e||l.url||Cn)+"").replace(kn,"").replace(_n,Nn[1]+"//"),l.type=t.method||t.type||l.method||l.type,l.dataTypes=h.trim(l.dataType||"*").toLowerCase().match(O)||[""],l.crossDomain==null&&(n=Dn.exec(l.url.toLowerCase()),l.crossDomain=!(!n||n[1]===Nn[1]&&n[2]===Nn[2]&&(n[3]||(n[1]==="http:"?"80":"443"))===(Nn[3]||(Nn[1]==="http:"?"80":"443")))),l.data&&l.processData&&typeof l.data!="string"&&(l.data=h.param(l.data,l.traditional)),In(Pn,l,t,E);if(b===2)return E;u=h.event&&l.global,u&&h.active++===0&&h.event.trigger("ajaxStart"),l.type=l.type.toUpperCase(),l.hasContent=!Mn.test(l.type),i=l.url,l.hasContent||(l.data&&(i=l.url+=(xn.test(i)?"&":"?")+l.data,delete l.data),l.cache===!1&&(l.url=Ln.test(i)?i.replace(Ln,"$1_="+Sn++):i+(xn.test(i)?"&":"?")+"_="+Sn++)),l.ifModified&&(h.lastModified[i]&&E.setRequestHeader("If-Modified-Since",h.lastModified[i]),h.etag[i]&&E.setRequestHeader("If-None-Match",h.etag[i])),(l.data&&l.hasContent&&l.contentType!==!1||t.contentType)&&E.setRequestHeader("Content-Type",l.contentType),E.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+Bn+"; q=0.01":""):l.accepts["*"]);for(r in l.headers)E.setRequestHeader(r,l.headers[r]);if(!l.beforeSend||l.beforeSend.call(c,E,l)!==!1&&b!==2){w="abort";for(r in{success:1,error:1,complete:1})E[r](l[r]);a=In(Hn,l,t,E);if(!a)x(-1,"No Transport");else{E.readyState=1,u&&p.trigger("ajaxSend",[E,l]),l.async&&l.timeout>0&&(o=setTimeout(function(){E.abort("timeout")},l.timeout));try{b=1,a.send(g,x)}catch(S){if(!(b<2))throw S;x(-1,S)}}return E}return E.abort()},getJSON:function(e,t,n){return h.get(e,t,n,"json")},getScript:function(e,t){return h.get(e,undefined,t,"script")}}),h.each(["get","post"],function(e,t){h[t]=function(e,n,r,i){return h.isFunction(n)&&(i=i||r,r=n,n=undefined),h.ajax({url:e,type:t,dataType:i,data:n,success:r})}}),h._evalUrl=function(e){return h.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})},h.fn.extend({wrapAll:function(e){if(h.isFunction(e))return this.each(function(t){h(this).wrapAll(e.call(this,t))});if(this[0]){var t=h(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return h.isFunction(e)?this.each(function(t){h(this).wrapInner(e.call(this,t))}):this.each(function(){var t=h(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=h.isFunction(e);return this.each(function(n){h(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){h.nodeName(this,"body")||h(this).replaceWith(this.childNodes)}).end()}}),h.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!l.reliableHiddenOffsets()&&(e.style&&e.style.display||h.css(e,"display"))==="none"},h.expr.filters.visible=function(e){return!h.expr.filters.hidden(e)};var zn=/%20/g,Wn=/\[\]$/,Xn=/\r?\n/g,Vn=/^(?:submit|button|image|reset|file)$/i,$n=/^(?:input|select|textarea|keygen)/i;h.param=function(e,t){var n,r=[],i=function(e,t){t=h.isFunction(t)?t():t==null?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};t===undefined&&(t=h.ajaxSettings&&h.ajaxSettings.traditional);if(h.isArray(e)||e.jquery&&!h.isPlainObject(e))h.each(e,function(){i(this.name,this.value)});else for(n in e)Jn(n,e[n],t,i);return r.join("&").replace(zn,"+")},h.fn.extend({serialize:function(){return h.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=h.prop(this,"elements");return e?h.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!h(this).is(":disabled")&&$n.test(this.nodeName)&&!Vn.test(e)&&(this.checked||!J.test(e))}).map(function(e,t){var n=h(this).val();return n==null?null:h.isArray(n)?h.map(n,function(e){return{name:t.name,value:e.replace(Xn,"\r\n")}}):{name:t.name,value:n.replace(Xn,"\r\n")}}).get()}}),h.ajaxSettings.xhr=e.ActiveXObject!==undefined?function(){return!this.isLocal&&/^(get|post|head|put|delete|options)$/i.test(this.type)&&Yn()||Zn()}:Yn;var Kn=0,Qn={},Gn=h.ajaxSettings.xhr();e.attachEvent&&e.attachEvent("onunload",function(){for(var e in Qn)Qn[e](undefined,!0)}),l.cors=!!Gn&&"withCredentials"in Gn,Gn=l.ajax=!!Gn,Gn&&h.ajaxTransport(function(e){if(!e.crossDomain||l.cors){var t;return{send:function(n,r){var i,s=e.xhr(),o=++Kn;s.open(e.type,e.url,e.async,e.username,e.password);if(e.xhrFields)for(i in e.xhrFields)s[i]=e.xhrFields[i];e.mimeType&&s.overrideMimeType&&s.overrideMimeType(e.mimeType),!e.crossDomain&&!n["X-Requested-With"]&&(n["X-Requested-With"]="XMLHttpRequest");for(i in n)n[i]!==undefined&&s.setRequestHeader(i,n[i]+"");s.send(e.hasContent&&e.data||null),t=function(n,i){var u,a,f;if(t&&(i||s.readyState===4)){delete Qn[o],t=undefined,s.onreadystatechange=h.noop;if(i)s.readyState!==4&&s.abort();else{f={},u=s.status,typeof s.responseText=="string"&&(f.text=s.responseText);try{a=s.statusText}catch(l){a=""}!u&&e.isLocal&&!e.crossDomain?u=f.text?200:404:u===1223&&(u=204)}}f&&r(u,a,f,s.getAllResponseHeaders())},e.async?s.readyState===4?setTimeout(t):s.onreadystatechange=Qn[o]=t:t()},abort:function(){t&&t(undefined,!0)}}}}),h.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return h.globalEval(e),e}}}),h.ajaxPrefilter("script",function(e){e.cache===undefined&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),h.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=T.head||h("head")[0]||T.documentElement;return{send:function(r,i){t=T.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){if(n||!t.readyState||/loaded|complete/.test(t.readyState))t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success")},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(undefined,!0)}}}});var er=[],tr=/(=)\?(?=&|$)|\?\?/;h.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=er.pop()||h.expando+"_"+Sn++;return this[e]=!0,e}}),h.ajaxPrefilter("json jsonp",function(t,n,r){var i,s,o,u=t.jsonp!==!1&&(tr.test(t.url)?"url":typeof t.data=="string"&&!(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&tr.test(t.data)&&"data");if(u||t.dataTypes[0]==="jsonp")return i=t.jsonpCallback=h.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,u?t[u]=t[u].replace(tr,"$1"+i):t.jsonp!==!1&&(t.url+=(xn.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return o||h.error(i+" was not called"),o[0]},t.dataTypes[0]="json",s=e[i],e[i]=function(){o=arguments},r.always(function(){e[i]=s,t[i]&&(t.jsonpCallback=n.jsonpCallback,er.push(i)),o&&h.isFunction(s)&&s(o[0]),o=s=undefined}),"script"}),h.parseHTML=function(e,t,n){if(!e||typeof e!="string")return null;typeof t=="boolean"&&(n=t,t=!1),t=t||T;var r=w.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=h.buildFragment([e],t,i),i&&i.length&&h(i).remove(),h.merge([],r.childNodes))};var nr=h.fn.load;h.fn.load=function(e,t,n){if(typeof e!="string"&&nr)return nr.apply(this,arguments);var r,i,s,o=this,u=e.indexOf(" ");return u>=0&&(r=h.trim(e.slice(u,e.length)),e=e.slice(0,u)),h.isFunction(t)?(n=t,t=undefined):t&&typeof t=="object"&&(s="POST"),o.length>0&&h.ajax({url:e,type:s,dataType:"html",data:t}).done(function(e){i=arguments,o.html(r?h("
                                        ").append(h.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){o.each(n,i||[e.responseText,t,e])}),this},h.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){h.fn[t]=function(e){return this.on(t,e)}}),h.expr.filters.animated=function(e){return h.grep(h.timers,function(t){return e===t.elem}).length};var rr=e.document.documentElement;h.offset={setOffset:function(e,t,n){var r,i,s,o,u,a,f,l=h.css(e,"position"),c=h(e),p={};l==="static"&&(e.style.position="relative"),u=c.offset(),s=h.css(e,"top"),a=h.css(e,"left"),f=(l==="absolute"||l==="fixed")&&h.inArray("auto",[s,a])>-1,f?(r=c.position(),o=r.top,i=r.left):(o=parseFloat(s)||0,i=parseFloat(a)||0),h.isFunction(t)&&(t=t.call(e,n,u)),t.top!=null&&(p.top=t.top-u.top+o),t.left!=null&&(p.left=t.left-u.left+i),"using"in t?t.using.call(e,p):c.css(p)}},h.fn.extend({offset:function(e){if(arguments.length)return e===undefined?this:this.each(function(t){h.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],s=i&&i.ownerDocument;if(!s)return;return t=s.documentElement,h.contains(t,i)?(typeof i.getBoundingClientRect!==B&&(r=i.getBoundingClientRect()),n=ir(s),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(!this[0])return;var e,t,n={top:0,left:0},r=this[0];return h.css(r,"position")==="fixed"?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),h.nodeName(e[0],"html")||(n=e.offset()),n.top+=h.css(e[0],"borderTopWidth",!0),n.left+=h.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-h.css(r,"marginTop",!0),left:t.left-n.left-h.css(r,"marginLeft",!0)}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||rr;while(e&&!h.nodeName(e,"html")&&h.css(e,"position")==="static")e=e.offsetParent;return e||rr})}}),h.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);h.fn[e]=function(r){return $(this,function(e,r,i){var s=ir(e);if(i===undefined)return s?t in s?s[t]:s.document.documentElement[r]:e[r];s?s.scrollTo(n?h(s).scrollLeft():i,n?i:h(s).scrollTop()):e[r]=i},e,r,arguments.length,null)}}),h.each(["top","left"],function(e,t){h.cssHooks[t]=jt(l.pixelPosition,function(e,n){if(n)return n=Ht(e,t),Dt.test(n)?h(e).position()[t]+"px":n})}),h.each({Height:"height",Width:"width"},function(e,t){h.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){h.fn[r]=function(r,i){var s=arguments.length&&(n||typeof r!="boolean"),o=n||(r===!0||i===!0?"margin":"border");return $(this,function(t,n,r){var i;return h.isWindow(t)?t.document.documentElement["client"+e]:t.nodeType===9?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):r===undefined?h.css(t,n,o):h.style(t,n,r,o)},t,s?r:undefined,s,null)}})}),h.fn.size=function(){return this.length},h.fn.andSelf=h.fn.addBack,typeof define=="function"&&define.amd&&define("jquery",[],function(){return h});var sr=e.jQuery,or=e.$;return h.noConflict=function(t){return e.$===h&&(e.$=or),t&&e.jQuery===h&&(e.jQuery=sr),h},typeof t===B&&(e.jQuery=e.$=h),h}),function(){var e=this,t=e._,n={},r=Array.prototype,i=Object.prototype,s=Function.prototype,o=r.push,u=r.slice,a=r.concat,f=i.toString,l=i.hasOwnProperty,c=r.forEach,h=r.map,p=r.reduce,d=r.reduceRight,v=r.filter,m=r.every,g=r.some,y=r.indexOf,b=r.lastIndexOf,w=Array.isArray,E=Object.keys,S=s.bind,x=function(e){if(e instanceof x)return e;if(!(this instanceof x))return new x(e);this._wrapped=e};typeof exports!="undefined"?(typeof module!="undefined"&&module.exports&&(exports=module.exports=x),exports._=x):e._=x,x.VERSION="1.5.1";var T=x.each=x.forEach=function(e,t,r){if(e==null)return;if(c&&e.forEach===c)e.forEach(t,r);else if(e.length===+e.length){for(var i=0,s=e.length;i2;e==null&&(e=[]);if(p&&e.reduce===p)return r&&(t=x.bind(t,r)),i?e.reduce(t,n):e.reduce(t);T(e,function(e,s,o){i?n=t.call(r,n,e,s,o):(n=e,i=!0)});if(!i)throw new TypeError(N);return n},x.reduceRight=x.foldr=function(e,t,n,r){var i=arguments.length>2;e==null&&(e=[]);if(d&&e.reduceRight===d)return r&&(t=x.bind(t,r)),i?e.reduceRight(t,n):e.reduceRight(t);var s=e.length;if(s!==+s){var o=x.keys(e);s=o.length}T(e,function(u,a,f){a=o?o[--s]:--s,i?n=t.call(r,n,e[a],a,f):(n=e[a],i=!0)});if(!i)throw new TypeError(N);return n},x.find=x.detect=function(e,t,n){var r;return C(e,function(e,i,s){if(t.call(n,e,i,s))return r=e,!0}),r},x.filter=x.select=function(e,t,n){var r=[];return e==null?r:v&&e.filter===v?e.filter(t,n):(T(e,function(e,i,s){t.call(n,e,i,s)&&r.push(e)}),r)},x.reject=function(e,t,n){return x.filter(e,function(e,r,i){return!t.call(n,e,r,i)},n)},x.every=x.all=function(e,t,r){t||(t=x.identity);var i=!0;return e==null?i:m&&e.every===m?e.every(t,r):(T(e,function(e,s,o){if(!(i=i&&t.call(r,e,s,o)))return n}),!!i)};var C=x.some=x.any=function(e,t,r){t||(t=x.identity);var i=!1;return e==null?i:g&&e.some===g?e.some(t,r):(T(e,function(e,s,o){if(i||(i=t.call(r,e,s,o)))return n}),!!i)};x.contains=x.include=function(e,t){return e==null?!1:y&&e.indexOf===y?e.indexOf(t)!=-1:C(e,function(e){return e===t})},x.invoke=function(e,t){var n=u.call(arguments,2),r=x.isFunction(t);return x.map(e,function(e){return(r?t:e[t]).apply(e,n)})},x.pluck=function(e,t){return x.map(e,function(e){return e[t]})},x.where=function(e,t,n){return x.isEmpty(t)?n?void 0:[]:x[n?"find":"filter"](e,function(e){for(var n in t)if(t[n]!==e[n])return!1;return!0})},x.findWhere=function(e,t){return x.where(e,t,!0)},x.max=function(e,t,n){if(!t&&x.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.max.apply(Math,e);if(!t&&x.isEmpty(e))return-Infinity;var r={computed:-Infinity,value:-Infinity};return T(e,function(e,i,s){var o=t?t.call(n,e,i,s):e;o>r.computed&&(r={value:e,computed:o})}),r.value},x.min=function(e,t,n){if(!t&&x.isArray(e)&&e[0]===+e[0]&&e.length<65535)return Math.min.apply(Math,e);if(!t&&x.isEmpty(e))return Infinity;var r={computed:Infinity,value:Infinity};return T(e,function(e,i,s){var o=t?t.call(n,e,i,s):e;or||n===void 0)return 1;if(n>>1;n.call(r,e[u])=0})})},x.difference=function(e){var t=a.apply(r,u.call(arguments,1));return x.filter(e,function(e){return!x.contains(t,e)})},x.zip=function(){var e=x.max(x.pluck(arguments,"length").concat(0)),t=new Array(e);for(var n=0;n=0;n--)t=[e[n].apply(this,t)];return t[0]}},x.after=function(e,t){return function(){if(--e<1)return t.apply(this,arguments)}},x.keys=E||function(e){if(e!==Object(e))throw new TypeError("Invalid object");var t=[];for(var n in e)x.has(e,n)&&t.push(n);return t},x.values=function(e){var t=[];for(var n in e)x.has(e,n)&&t.push(e[n]);return t},x.pairs=function(e){var t=[];for(var n in e)x.has(e,n)&&t.push([n,e[n]]);return t},x.invert=function(e){var t={};for(var n in e)x.has(e,n)&&(t[e[n]]=n);return t},x.functions=x.methods=function(e){var t=[];for(var n in e)x.isFunction(e[n])&&t.push(n);return t.sort()},x.extend=function(e){return T(u.call(arguments,1),function(t){if(t)for(var n in t)e[n]=t[n]}),e},x.pick=function(e){var t={},n=a.apply(r,u.call(arguments,1));return T(n,function(n){n in e&&(t[n]=e[n])}),t},x.omit=function(e){var t={},n=a.apply(r,u.call(arguments,1));for(var i in e)x.contains(n,i)||(t[i]=e[i]);return t},x.defaults=function(e){return T(u.call(arguments,1),function(t){if(t)for(var n in t)e[n]===void 0&&(e[n]=t[n])}),e},x.clone=function(e){return x.isObject(e)?x.isArray(e)?e.slice():x.extend({},e):e},x.tap=function(e,t){return t(e),e};var M=function(e,t,n,r){if(e===t)return e!==0||1/e==1/t;if(e==null||t==null)return e===t;e instanceof x&&(e=e._wrapped),t instanceof x&&(t=t._wrapped);var i=f.call(e);if(i!=f.call(t))return!1;switch(i){case"[object String]":return e==String(t);case"[object Number]":return e!=+e?t!=+t:e==0?1/e==1/t:e==+t;case"[object Date]":case"[object Boolean]":return+e==+t;case"[object RegExp]":return e.source==t.source&&e.global==t.global&&e.multiline==t.multiline&&e.ignoreCase==t.ignoreCase}if(typeof e!="object"||typeof t!="object")return!1;var s=n.length;while(s--)if(n[s]==e)return r[s]==t;var o=e.constructor,u=t.constructor;if(o!==u&&!(x.isFunction(o)&&o instanceof o&&x.isFunction(u)&&u instanceof u))return!1;n.push(e),r.push(t);var a=0,l=!0;if(i=="[object Array]"){a=e.length,l=a==t.length;if(l)while(a--)if(!(l=M(e[a],t[a],n,r)))break}else{for(var c in e)if(x.has(e,c)){a++;if(!(l=x.has(t,c)&&M(e[c],t[c],n,r)))break}if(l){for(c in t)if(x.has(t,c)&&!(a--))break;l=!a}}return n.pop(),r.pop(),l};x.isEqual=function(e,t){return M(e,t,[],[])},x.isEmpty=function(e){if(e==null)return!0;if(x.isArray(e)||x.isString(e))return e.length===0;for(var t in e)if(x.has(e,t))return!1;return!0},x.isElement=function(e){return!!e&&e.nodeType===1},x.isArray=w||function(e){return f.call(e)=="[object Array]"},x.isObject=function(e){return e===Object(e)},T(["Arguments","Function","String","Number","Date","RegExp"],function(e){x["is"+e]=function(t){return f.call(t)=="[object "+e+"]"}}),x.isArguments(arguments)||(x.isArguments=function(e){return!!e&&!!x.has(e,"callee")}),typeof /./!="function"&&(x.isFunction=function(e){return typeof e=="function"}),x.isFinite=function(e){return isFinite(e)&&!isNaN(parseFloat(e))},x.isNaN=function(e){return x.isNumber(e)&&e!=+e},x.isBoolean=function(e){return e===!0||e===!1||f.call(e)=="[object Boolean]"},x.isNull=function(e){return e===null},x.isUndefined=function(e){return e===void 0},x.has=function(e,t){return l.call(e,t)},x.noConflict=function(){return e._=t,this},x.identity=function(e){return e},x.times=function(e,t,n){var r=Array(Math.max(0,e));for(var i=0;i":">",'"':""","'":"'","/":"/"}};_.unescape=x.invert(_.escape);var D={escape:new RegExp("["+x.keys(_.escape).join("")+"]","g"),unescape:new RegExp("("+x.keys(_.unescape).join("|")+")","g")};x.each(["escape","unescape"],function(e){x[e]=function(t){return t==null?"":(""+t).replace(D[e],function(t){return _[e][t]})}}),x.result=function(e,t){if(e==null)return void 0;var n=e[t];return x.isFunction(n)?n.call(e):n},x.mixin=function(e){T(x.functions(e),function(t){var n=x[t]=e[t];x.prototype[t]=function(){var e=[this._wrapped];return o.apply(e,arguments),F.call(this,n.apply(x,e))}})};var P=0;x.uniqueId=function(e){var t=++P+"";return e?e+t:t},x.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g};var H=/(.)^/,B={"'":"'","\\":"\\","\r":"r","\n":"n"," ":"t","\u2028":"u2028","\u2029":"u2029"},j=/\\|'|\r|\n|\t|\u2028|\u2029/g;x.template=function(e,t,n){var r;n=x.defaults({},n,x.templateSettings);var i=new RegExp([(n.escape||H).source,(n.interpolate||H).source,(n.evaluate||H).source].join("|")+"|$","g"),s=0,o="__p+='";e.replace(i,function(t,n,r,i,u){return o+=e.slice(s,u).replace(j,function(e){return"\\"+B[e]}),n&&(o+="'+\n((__t=("+n+"))==null?'':_.escape(__t))+\n'"),r&&(o+="'+\n((__t=("+r+"))==null?'':__t)+\n'"),i&&(o+="';\n"+i+"\n__p+='"),s=u+t.length,t}),o+="';\n",n.variable||(o="with(obj||{}){\n"+o+"}\n"),o="var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};\n"+o+"return __p;\n";try{r=new Function(n.variable||"obj","_",o)}catch(u){throw u.source=o,u}if(t)return r(t,x);var a=function(e){return r.call(this,e,x)};return a.source="function("+(n.variable||"obj")+"){\n"+o+"}",a},x.chain=function(e){return x(e).chain()};var F=function(e){return this._chain?x(e).chain():e};x.mixin(x),T(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=r[e];x.prototype[e]=function(){var n=this._wrapped;return t.apply(n,arguments),(e=="shift"||e=="splice")&&n.length===0&&delete n[0],F.call(this,n)}}),T(["concat","join","slice"],function(e){var t=r[e];x.prototype[e]=function(){return F.call(this,t.apply(this._wrapped,arguments))}}),x.extend(x.prototype,{chain:function(){return this._chain=!0,this},value:function(){return this._wrapped}})}.call(this),define("underscore",function(e){return function(){var t,n;return t||e._}}(this)),define("text",["module"],function(e){var t,n,r,i,s,o=["Msxml2.XMLHTTP","Microsoft.XMLHTTP","Msxml2.XMLHTTP.4.0"],u=/^\s*<\?xml(\s)+version=[\'\"](\d)*.(\d)*[\'\"](\s)*\?>/im,a=/]*>\s*([\s\S]+)\s*<\/body>/im,f=typeof location!="undefined"&&location.href,l=f&&location.protocol&&location.protocol.replace(/\:/,""),c=f&&location.hostname,h=f&&(location.port||undefined),p={},d=e.config&&e.config()||{};t={version:"2.0.13+",strip:function(e){if(e){e=e.replace(u,"");var t=e.match(a);t&&(e=t[1])}else e="";return e},jsEscape:function(e){return e.replace(/(['\\])/g,"\\$1").replace(/[\f]/g,"\\f").replace(/[\b]/g,"\\b").replace(/[\n]/g,"\\n").replace(/[\t]/g,"\\t").replace(/[\r]/g,"\\r").replace(/[\u2028]/g,"\\u2028").replace(/[\u2029]/g,"\\u2029")},createXhr:d.createXhr||function(){var e,t,n;if(typeof XMLHttpRequest!="undefined")return new XMLHttpRequest;if(typeof ActiveXObject!="undefined")for(t=0;t<3;t+=1){n=o[t];try{e=new ActiveXObject(n)}catch(r){}if(e){o=[n];break}}return e},parseName:function(e){var t,n,r,i=!1,s=e.lastIndexOf("."),o=e.indexOf("./")===0||e.indexOf("../")===0;return s!==-1&&(!o||s>1)?(t=e.substring(0,s),n=e.substring(s+1)):t=e,r=n||t,s=r.indexOf("!"),s!==-1&&(i=r.substring(s+1)==="strip",r=r.substring(0,s),n?n=r:t=r),{moduleName:t,ext:n,strip:i}},xdRegExp:/^((\w+)\:)?\/\/([^\/\\]+)/,useXhr:function(e,n,r,i){var s,o,u,a=t.xdRegExp.exec(e);return a?(s=a[2],o=a[3],o=o.split(":"),u=o[1],o=o[0],(!s||s===n)&&(!o||o.toLowerCase()===r.toLowerCase())&&(!u&&!o||u===i)):!0},finishLoad:function(e,n,r,i){r=n?t.strip(r):r,d.isBuild&&(p[e]=r),i(r)},load:function(e,n,r,i){if(i&&i.isBuild&&!i.inlineText){r();return}d.isBuild=i&&i.isBuild;var s=t.parseName(e),o=s.moduleName+(s.ext?"."+s.ext:""),u=n.toUrl(o),a=d.useXhr||t.useXhr;if(u.indexOf("empty:")===0){r();return}!f||a(u,l,c,h)?t.get(u,function(n){t.finishLoad(e,s.strip,n,r)},function(e){r.error&&r.error(e)}):n([o],function(e){t.finishLoad(s.moduleName+"."+s.ext,s.strip,e,r)})},write:function(e,n,r,i){if(p.hasOwnProperty(n)){var s=t.jsEscape(p[n]);r.asModule(e+"!"+n,"define(function () { return '"+s+"';});\n")}},writeFile:function(e,n,r,i,s){var o=t.parseName(n),u=o.ext?"."+o.ext:"",a=o.moduleName+u,f=r.toUrl(o.moduleName+u)+".js";t.load(a,r,function(n){var r=function(e){return i(f,e)};r.asModule=function(e,t){return i.asModule(e,f,t)},t.write(e,a,r,s)},s)}};if(d.env==="node"||!d.env&&typeof process!="undefined"&&process.versions&&!!process.versions.node&&!process.versions["node-webkit"]&&!process.versions["atom-shell"])n=require.nodeRequire("fs"),t.get=function(e,t,r){try{var i=n.readFileSync(e,"utf8");i[0]===""&&(i=i.substring(1)),t(i)}catch(s){r&&r(s)}};else if(d.env==="xhr"||!d.env&&t.createXhr())t.get=function(e,n,r,i){var s=t.createXhr(),o;s.open("GET",e,!0);if(i)for(o in i)i.hasOwnProperty(o)&&s.setRequestHeader(o.toLowerCase(),i[o]);d.onXhr&&d.onXhr(s,e),s.onreadystatechange=function(t){var i,o;s.readyState===4&&(i=s.status||0,i>399&&i<600?(o=new Error(e+" HTTP status: "+i),o.xhr=s,r&&r(o)):n(s.responseText),d.onXhrComplete&&d.onXhrComplete(s,e))},s.send(null)};else if(d.env==="rhino"||!d.env&&typeof Packages!="undefined"&&typeof java!="undefined")t.get=function(e,t){var n,r,i="utf-8",s=new java.io.File(e),o=java.lang.System.getProperty("line.separator"),u=new java.io.BufferedReader(new java.io.InputStreamReader(new java.io.FileInputStream(s),i)),a="";try{n=new java.lang.StringBuffer,r=u.readLine(),r&&r.length()&&r.charAt(0)===65279&&(r=r.substring(1)),r!==null&&n.append(r);while((r=u.readLine())!==null)n.append(o),n.append(r);a=String(n.toString())}finally{u.close()}t(a)};else if(d.env==="xpconnect"||!d.env&&typeof Components!="undefined"&&Components.classes&&Components.interfaces)r=Components.classes,i=Components.interfaces,Components.utils["import"]("resource://gre/modules/FileUtils.jsm"),s="@mozilla.org/windows-registry-key;1"in r,t.get=function(e,t){var n,o,u,a={};s&&(e=e.replace(/\//g,"\\")),u=new FileUtils.File(e);try{n=r["@mozilla.org/network/file-input-stream;1"].createInstance(i.nsIFileInputStream),n.init(u,1,0,!1),o=r["@mozilla.org/intl/converter-input-stream;1"].createInstance(i.nsIConverterInputStream),o.init(n,"utf-8",n.available(),i.nsIConverterInputStream.DEFAULT_REPLACEMENT_CHARACTER),o.readString(n.available(),a),o.close(),n.close(),t(a.value)}catch(f){throw new Error((u&&u.path||"")+": "+f)}};return t}),define("pinyin-by-unicode",{strChineseFirstPY:"YDYQSXMWZSSXJBYMGCCZQPSSQBYCDSCDQLDYLYBSSJGYZZJJFKCCLZDHWDWZJLJPFYYNWJJTMYHZWZHFLZPPQHGSCYYYNJQYXXGJHHSDSJNKKTMOMLCRXYPSNQSECCQZGGLLYJLMYZZSECYKYYHQWJSSGGYXYZYJWWKDJHYCHMYXJTLXJYQBYXZLDWRDJRWYSRLDZJPCBZJJBRCFTLECZSTZFXXZHTRQHYBDLYCZSSYMMRFMYQZPWWJJYFCRWFDFZQPYDDWYXKYJAWJFFXYPSFTZYHHYZYSWCJYXSCLCXXWZZXNBGNNXBXLZSZSBSGPYSYZDHMDZBQBZCWDZZYYTZHBTSYYBZGNTNXQYWQSKBPHHLXGYBFMJEBJHHGQTJCYSXSTKZHLYCKGLYSMZXYALMELDCCXGZYRJXSDLTYZCQKCNNJWHJTZZCQLJSTSTBNXBTYXCEQXGKWJYFLZQLYHYXSPSFXLMPBYSXXXYDJCZYLLLSJXFHJXPJBTFFYABYXBHZZBJYZLWLCZGGBTSSMDTJZXPTHYQTGLJSCQFZKJZJQNLZWLSLHDZBWJNCJZYZSQQYCQYRZCJJWYBRTWPYFTWEXCSKDZCTBZHYZZYYJXZCFFZZMJYXXSDZZOTTBZLQWFCKSZSXFYRLNYJMBDTHJXSQQCCSBXYYTSYFBXDZTGBCNSLCYZZPSAZYZZSCJCSHZQYDXLBPJLLMQXTYDZXSQJTZPXLCGLQTZWJBHCTSYJSFXYEJJTLBGXSXJMYJQQPFZASYJNTYDJXKJCDJSZCBARTDCLYJQMWNQNCLLLKBYBZZSYHQQLTWLCCXTXLLZNTYLNEWYZYXCZXXGRKRMTCNDNJTSYYSSDQDGHSDBJGHRWRQLYBGLXHLGTGXBQJDZPYJSJYJCTMRNYMGRZJCZGJMZMGXMPRYXKJNYMSGMZJYMKMFXMLDTGFBHCJHKYLPFMDXLQJJSMTQGZSJLQDLDGJYCALCMZCSDJLLNXDJFFFFJCZFMZFFPFKHKGDPSXKTACJDHHZDDCRRCFQYJKQCCWJDXHWJLYLLZGCFCQDSMLZPBJJPLSBCJGGDCKKDEZSQCCKJGCGKDJTJDLZYCXKLQSCGJCLTFPCQCZGWPJDQYZJJBYJHSJDZWGFSJGZKQCCZLLPSPKJGQJHZZLJPLGJGJJTHJJYJZCZMLZLYQBGJWMLJKXZDZNJQSYZMLJLLJKYWXMKJLHSKJGBMCLYYMKXJQLBMLLKMDXXKWYXYSLMLPSJQQJQXYXFJTJDXMXXLLCXQBSYJBGWYMBGGBCYXPJYGPEPFGDJGBHBNSQJYZJKJKHXQFGQZKFHYGKHDKLLSDJQXPQYKYBNQSXQNSZSWHBSXWHXWBZZXDMNSJBSBKBBZKLYLXGWXDRWYQZMYWSJQLCJXXJXKJEQXSCYETLZHLYYYSDZPAQYZCMTLSHTZCFYZYXYLJSDCJQAGYSLCQLYYYSHMRQQKLDXZSCSSSYDYCJYSFSJBFRSSZQSBXXPXJYSDRCKGJLGDKZJZBDKTCSYQPYHSTCLDJDHMXMCGXYZHJDDTMHLTXZXYLYMOHYJCLTYFBQQXPFBDFHHTKSQHZYYWCNXXCRWHOWGYJLEGWDQCWGFJYCSNTMYTOLBYGWQWESJPWNMLRYDZSZTXYQPZGCWXHNGPYXSHMYQJXZTDPPBFYHZHTJYFDZWKGKZBLDNTSXHQEEGZZYLZMMZYJZGXZXKHKSTXNXXWYLYAPSTHXDWHZYMPXAGKYDXBHNHXKDPJNMYHYLPMGOCSLNZHKXXLPZZLBMLSFBHHGYGYYGGBHSCYAQTYWLXTZQCEZYDQDQMMHTKLLSZHLSJZWFYHQSWSCWLQAZYNYTLSXTHAZNKZZSZZLAXXZWWCTGQQTDDYZTCCHYQZFLXPSLZYGPZSZNGLNDQTBDLXGTCTAJDKYWNSYZLJHHZZCWNYYZYWMHYCHHYXHJKZWSXHZYXLYSKQYSPSLYZWMYPPKBYGLKZHTYXAXQSYSHXASMCHKDSCRSWJPWXSGZJLWWSCHSJHSQNHCSEGNDAQTBAALZZMSSTDQJCJKTSCJAXPLGGXHHGXXZCXPDMMHLDGTYBYSJMXHMRCPXXJZCKZXSHMLQXXTTHXWZFKHCCZDYTCJYXQHLXDHYPJQXYLSYYDZOZJNYXQEZYSQYAYXWYPDGXDDXSPPYZNDLTWRHXYDXZZJHTCXMCZLHPYYYYMHZLLHNXMYLLLMDCPPXHMXDKYCYRDLTXJCHHZZXZLCCLYLNZSHZJZZLNNRLWHYQSNJHXYNTTTKYJPYCHHYEGKCTTWLGQRLGGTGTYGYHPYHYLQYQGCWYQKPYYYTTTTLHYHLLTYTTSPLKYZXGZWGPYDSSZZDQXSKCQNMJJZZBXYQMJRTFFBTKHZKBXLJJKDXJTLBWFZPPTKQTZTGPDGNTPJYFALQMKGXBDCLZFHZCLLLLADPMXDJHLCCLGYHDZFGYDDGCYYFGYDXKSSEBDHYKDKDKHNAXXYBPBYYHXZQGAFFQYJXDMLJCSQZLLPCHBSXGJYNDYBYQSPZWJLZKSDDTACTBXZDYZYPJZQSJNKKTKNJDJGYYPGTLFYQKASDNTCYHBLWDZHBBYDWJRYGKZYHEYYFJMSDTYFZJJHGCXPLXHLDWXXJKYTCYKSSSMTWCTTQZLPBSZDZWZXGZAGYKTYWXLHLSPBCLLOQMMZSSLCMBJCSZZKYDCZJGQQDSMCYTZQQLWZQZXSSFPTTFQMDDZDSHDTDWFHTDYZJYQJQKYPBDJYYXTLJHDRQXXXHAYDHRJLKLYTWHLLRLLRCXYLBWSRSZZSYMKZZHHKYHXKSMDSYDYCJPBZBSQLFCXXXNXKXWYWSDZYQOGGQMMYHCDZTTFJYYBGSTTTYBYKJDHKYXBELHTYPJQNFXFDYKZHQKZBYJTZBXHFDXKDASWTAWAJLDYJSFHBLDNNTNQJTJNCHXFJSRFWHZFMDRYJYJWZPDJKZYJYMPCYZNYNXFBYTFYFWYGDBNZZZDNYTXZEMMQBSQEHXFZMBMFLZZSRXYMJGSXWZJSPRYDJSJGXHJJGLJJYNZZJXHGXKYMLPYYYCXYTWQZSWHWLYRJLPXSLSXMFSWWKLCTNXNYNPSJSZHDZEPTXMYYWXYYSYWLXJQZQXZDCLEEELMCPJPCLWBXSQHFWWTFFJTNQJHJQDXHWLBYZNFJLALKYYJLDXHHYCSTYYWNRJYXYWTRMDRQHWQCMFJDYZMHMYYXJWMYZQZXTLMRSPWWCHAQBXYGZYPXYYRRCLMPYMGKSJSZYSRMYJSNXTPLNBAPPYPYLXYYZKYNLDZYJZCZNNLMZHHARQMPGWQTZMXXMLLHGDZXYHXKYXYCJMFFYYHJFSBSSQLXXNDYCANNMTCJCYPRRNYTYQNYYMBMSXNDLYLYSLJRLXYSXQMLLYZLZJJJKYZZCSFBZXXMSTBJGNXYZHLXNMCWSCYZYFZLXBRNNNYLBNRTGZQYSATSWRYHYJZMZDHZGZDWYBSSCSKXSYHYTXXGCQGXZZSHYXJSCRHMKKBXCZJYJYMKQHZJFNBHMQHYSNJNZYBKNQMCLGQHWLZNZSWXKHLJHYYBQLBFCDSXDLDSPFZPSKJYZWZXZDDXJSMMEGJSCSSMGCLXXKYYYLNYPWWWGYDKZJGGGZGGSYCKNJWNJPCXBJJTQTJWDSSPJXZXNZXUMELPXFSXTLLXCLJXJJLJZXCTPSWXLYDHLYQRWHSYCSQYYBYAYWJJJQFWQCQQCJQGXALDBZZYJGKGXPLTZYFXJLTPADKYQHPMATLCPDCKBMTXYBHKLENXDLEEGQDYMSAWHZMLJTWYGXLYQZLJEEYYBQQFFNLYXRDSCTGJGXYYNKLLYQKCCTLHJLQMKKZGCYYGLLLJDZGYDHZWXPYSJBZKDZGYZZHYWYFQYTYZSZYEZZLYMHJJHTSMQWYZLKYYWZCSRKQYTLTDXWCTYJKLWSQZWBDCQYNCJSRSZJLKCDCDTLZZZACQQZZDDXYPLXZBQJYLZLLLQDDZQJYJYJZYXNYYYNYJXKXDAZWYRDLJYYYRJLXLLDYXJCYWYWNQCCLDDNYYYNYCKCZHXXCCLGZQJGKWPPCQQJYSBZZXYJSQPXJPZBSBDSFNSFPZXHDWZTDWPPTFLZZBZDMYYPQJRSDZSQZSQXBDGCPZSWDWCSQZGMDHZXMWWFYBPDGPHTMJTHZSMMBGZMBZJCFZWFZBBZMQCFMBDMCJXLGPNJBBXGYHYYJGPTZGZMQBQTCGYXJXLWZKYDPDYMGCFTPFXYZTZXDZXTGKMTYBBCLBJASKYTSSQYYMSZXFJEWLXLLSZBQJJJAKLYLXLYCCTSXMCWFKKKBSXLLLLJYXTYLTJYYTDPJHNHNNKBYQNFQYYZBYYESSESSGDYHFHWTCJBSDZZTFDMXHCNJZYMQWSRYJDZJQPDQBBSTJGGFBKJBXTGQHNGWJXJGDLLTHZHHYYYYYYSXWTYYYCCBDBPYPZYCCZYJPZYWCBDLFWZCWJDXXHYHLHWZZXJTCZLCDPXUJCZZZLYXJJTXPHFXWPYWXZPTDZZBDZCYHJHMLXBQXSBYLRDTGJRRCTTTHYTCZWMXFYTWWZCWJWXJYWCSKYBZSCCTZQNHXNWXXKHKFHTSWOCCJYBCMPZZYKBNNZPBZHHZDLSYDDYTYFJPXYNGFXBYQXCBHXCPSXTYZDMKYSNXSXLHKMZXLYHDHKWHXXSSKQYHHCJYXGLHZXCSNHEKDTGZXQYPKDHEXTYKCNYMYYYPKQYYYKXZLTHJQTBYQHXBMYHSQCKWWYLLHCYYLNNEQXQWMCFBDCCMLJGGXDQKTLXKGNQCDGZJWYJJLYHHQTTTNWCHMXCXWHWSZJYDJCCDBQCDGDNYXZTHCQRXCBHZTQCBXWGQWYYBXHMBYMYQTYEXMQKYAQYRGYZSLFYKKQHYSSQYSHJGJCNXKZYCXSBXYXHYYLSTYCXQTHYSMGSCPMMGCCCCCMTZTASMGQZJHKLOSQYLSWTMXSYQKDZLJQQYPLSYCZTCQQPBBQJZCLPKHQZYYXXDTDDTSJCXFFLLCHQXMJLWCJCXTSPYCXNDTJSHJWXDQQJSKXYAMYLSJHMLALYKXCYYDMNMDQMXMCZNNCYBZKKYFLMCHCMLHXRCJJHSYLNMTJZGZGYWJXSRXCWJGJQHQZDQJDCJJZKJKGDZQGJJYJYLXZXXCDQHHHEYTMHLFSBDJSYYSHFYSTCZQLPBDRFRZTZYKYWHSZYQKWDQZRKMSYNBCRXQBJYFAZPZZEDZCJYWBCJWHYJBQSZYWRYSZPTDKZPFPBNZTKLQYHBBZPNPPTYZZYBQNYDCPJMMCYCQMCYFZZDCMNLFPBPLNGQJTBTTNJZPZBBZNJKLJQYLNBZQHKSJZNGGQSZZKYXSHPZSNBCGZKDDZQANZHJKDRTLZLSWJLJZLYWTJNDJZJHXYAYNCBGTZCSSQMNJPJYTYSWXZFKWJQTKHTZPLBHSNJZSYZBWZZZZLSYLSBJHDWWQPSLMMFBJDWAQYZTCJTBNNWZXQXCDSLQGDSDPDZHJTQQPSWLYYJZLGYXYZLCTCBJTKTYCZJTQKBSJLGMGZDMCSGPYNJZYQYYKNXRPWSZXMTNCSZZYXYBYHYZAXYWQCJTLLCKJJTJHGDXDXYQYZZBYWDLWQCGLZGJGQRQZCZSSBCRPCSKYDZNXJSQGXSSJMYDNSTZTPBDLTKZWXQWQTZEXNQCZGWEZKSSBYBRTSSSLCCGBPSZQSZLCCGLLLZXHZQTHCZMQGYZQZNMCOCSZJMMZSQPJYGQLJYJPPLDXRGZYXCCSXHSHGTZNLZWZKJCXTCFCJXLBMQBCZZWPQDNHXLJCTHYZLGYLNLSZZPCXDSCQQHJQKSXZPBAJYEMSMJTZDXLCJYRYYNWJBNGZZTMJXLTBSLYRZPYLSSCNXPHLLHYLLQQZQLXYMRSYCXZLMMCZLTZSDWTJJLLNZGGQXPFSKYGYGHBFZPDKMWGHCXMSGDXJMCJZDYCABXJDLNBCDQYGSKYDQTXDJJYXMSZQAZDZFSLQXYJSJZYLBTXXWXQQZBJZUFBBLYLWDSLJHXJYZJWTDJCZFQZQZZDZSXZZQLZCDZFJHYSPYMPQZMLPPLFFXJJNZZYLSJEYQZFPFZKSYWJJJHRDJZZXTXXGLGHYDXCSKYSWMMZCWYBAZBJKSHFHJCXMHFQHYXXYZFTSJYZFXYXPZLCHMZMBXHZZSXYFYMNCWDABAZLXKTCSHHXKXJJZJSTHYGXSXYYHHHJWXKZXSSBZZWHHHCWTZZZPJXSNXQQJGZYZYWLLCWXZFXXYXYHXMKYYSWSQMNLNAYCYSPMJKHWCQHYLAJJMZXHMMCNZHBHXCLXTJPLTXYJHDYYLTTXFSZHYXXSJBJYAYRSMXYPLCKDUYHLXRLNLLSTYZYYQYGYHHSCCSMZCTZQXKYQFPYYRPFFLKQUNTSZLLZMWWTCQQYZWTLLMLMPWMBZSSTZRBPDDTLQJJBXZCSRZQQYGWCSXFWZLXCCRSZDZMCYGGDZQSGTJSWLJMYMMZYHFBJDGYXCCPSHXNZCSBSJYJGJMPPWAFFYFNXHYZXZYLREMZGZCYZSSZDLLJCSQFNXZKPTXZGXJJGFMYYYSNBTYLBNLHPFZDCYFBMGQRRSSSZXYSGTZRNYDZZCDGPJAFJFZKNZBLCZSZPSGCYCJSZLMLRSZBZZLDLSLLYSXSQZQLYXZLSKKBRXBRBZCYCXZZZEEYFGKLZLYYHGZSGZLFJHGTGWKRAAJYZKZQTSSHJJXDCYZUYJLZYRZDQQHGJZXSSZBYKJPBFRTJXLLFQWJHYLQTYMBLPZDXTZYGBDHZZRBGXHWNJTJXLKSCFSMWLSDQYSJTXKZSCFWJLBXFTZLLJZLLQBLSQMQQCGCZFPBPHZCZJLPYYGGDTGWDCFCZQYYYQYSSCLXZSKLZZZGFFCQNWGLHQYZJJCZLQZZYJPJZZBPDCCMHJGXDQDGDLZQMFGPSYTSDYFWWDJZJYSXYYCZCYHZWPBYKXRYLYBHKJKSFXTZJMMCKHLLTNYYMSYXYZPYJQYCSYCWMTJJKQYRHLLQXPSGTLYYCLJSCPXJYZFNMLRGJJTYZBXYZMSJYJHHFZQMSYXRSZCWTLRTQZSSTKXGQKGSPTGCZNJSJCQCXHMXGGZTQYDJKZDLBZSXJLHYQGGGTHQSZPYHJHHGYYGKGGCWJZZYLCZLXQSFTGZSLLLMLJSKCTBLLZZSZMMNYTPZSXQHJCJYQXYZXZQZCPSHKZZYSXCDFGMWQRLLQXRFZTLYSTCTMJCXJJXHJNXTNRZTZFQYHQGLLGCXSZSJDJLJCYDSJTLNYXHSZXCGJZYQPYLFHDJSBPCCZHJJJQZJQDYBSSLLCMYTTMQTBHJQNNYGKYRQYQMZGCJKPDCGMYZHQLLSLLCLMHOLZGDYYFZSLJCQZLYLZQJESHNYLLJXGJXLYSYYYXNBZLJSSZCQQCJYLLZLTJYLLZLLBNYLGQCHXYYXOXCXQKYJXXXYKLXSXXYQXCYKQXQCSGYXXYQXYGYTQOHXHXPYXXXULCYEYCHZZCBWQBBWJQZSCSZSSLZYLKDESJZWMYMCYTSDSXXSCJPQQSQYLYYZYCMDJDZYWCBTJSYDJKCYDDJLBDJJSODZYSYXQQYXDHHGQQYQHDYXWGMMMAJDYBBBPPBCMUUPLJZSMTXERXJMHQNUTPJDCBSSMSSSTKJTSSMMTRCPLZSZMLQDSDMJMQPNQDXCFYNBFSDQXYXHYAYKQYDDLQYYYSSZBYDSLNTFQTZQPZMCHDHCZCWFDXTMYQSPHQYYXSRGJCWTJTZZQMGWJJTJHTQJBBHWZPXXHYQFXXQYWYYHYSCDYDHHQMNMTMWCPBSZPPZZGLMZFOLLCFWHMMSJZTTDHZZYFFYTZZGZYSKYJXQYJZQBHMBZZLYGHGFMSHPZFZSNCLPBQSNJXZSLXXFPMTYJYGBXLLDLXPZJYZJYHHZCYWHJYLSJEXFSZZYWXKZJLUYDTMLYMQJPWXYHXSKTQJEZRPXXZHHMHWQPWQLYJJQJJZSZCPHJLCHHNXJLQWZJHBMZYXBDHHYPZLHLHLGFWLCHYYTLHJXCJMSCPXSTKPNHQXSRTYXXTESYJCTLSSLSTDLLLWWYHDHRJZSFGXTSYCZYNYHTDHWJSLHTZDQDJZXXQHGYLTZPHCSQFCLNJTCLZPFSTPDYNYLGMJLLYCQHYSSHCHYLHQYQTMZYPBYWRFQYKQSYSLZDQJMPXYYSSRHZJNYWTQDFZBWWTWWRXCWHGYHXMKMYYYQMSMZHNGCEPMLQQMTCWCTMMPXJPJJHFXYYZSXZHTYBMSTSYJTTQQQYYLHYNPYQZLCYZHZWSMYLKFJXLWGXYPJYTYSYXYMZCKTTWLKSMZSYLMPWLZWXWQZSSAQSYXYRHSSNTSRAPXCPWCMGDXHXZDZYFJHGZTTSBJHGYZSZYSMYCLLLXBTYXHBBZJKSSDMALXHYCFYGMQYPJYCQXJLLLJGSLZGQLYCJCCZOTYXMTMTTLLWTGPXYMZMKLPSZZZXHKQYSXCTYJZYHXSHYXZKXLZWPSQPYHJWPJPWXQQYLXSDHMRSLZZYZWTTCYXYSZZSHBSCCSTPLWSSCJCHNLCGCHSSPHYLHFHHXJSXYLLNYLSZDHZXYLSXLWZYKCLDYAXZCMDDYSPJTQJZLNWQPSSSWCTSTSZLBLNXSMNYYMJQBQHRZWTYYDCHQLXKPZWBGQYBKFCMZWPZLLYYLSZYDWHXPSBCMLJBSCGBHXLQHYRLJXYSWXWXZSLDFHLSLYNJLZYFLYJYCDRJLFSYZFSLLCQYQFGJYHYXZLYLMSTDJCYHBZLLNWLXXYGYYHSMGDHXXHHLZZJZXCZZZCYQZFNGWPYLCPKPYYPMCLQKDGXZGGWQBDXZZKZFBXXLZXJTPJPTTBYTSZZDWSLCHZHSLTYXHQLHYXXXYYZYSWTXZKHLXZXZPYHGCHKCFSYHUTJRLXFJXPTZTWHPLYXFCRHXSHXKYXXYHZQDXQWULHYHMJTBFLKHTXCWHJFWJCFPQRYQXCYYYQYGRPYWSGSUNGWCHKZDXYFLXXHJJBYZWTSXXNCYJJYMSWZJQRMHXZWFQSYLZJZGBHYNSLBGTTCSYBYXXWXYHXYYXNSQYXMQYWRGYQLXBBZLJSYLPSYTJZYHYZAWLRORJMKSCZJXXXYXCHDYXRYXXJDTSQFXLYLTSFFYXLMTYJMJUYYYXLTZCSXQZQHZXLYYXZHDNBRXXXJCTYHLBRLMBRLLAXKYLLLJLYXXLYCRYLCJTGJCMTLZLLCYZZPZPCYAWHJJFYBDYYZSMPCKZDQYQPBPCJPDCYZMDPBCYYDYCNNPLMTMLRMFMMGWYZBSJGYGSMZQQQZTXMKQWGXLLPJGZBQCDJJJFPKJKCXBLJMSWMDTQJXLDLPPBXCWRCQFBFQJCZAHZGMYKPHYYHZYKNDKZMBPJYXPXYHLFPNYYGXJDBKXNXHJMZJXSTRSTLDXSKZYSYBZXJLXYSLBZYSLHXJPFXPQNBYLLJQKYGZMCYZZYMCCSLCLHZFWFWYXZMWSXTYNXJHPYYMCYSPMHYSMYDYSHQYZCHMJJMZCAAGCFJBBHPLYZYLXXSDJGXDHKXXTXXNBHRMLYJSLTXMRHNLXQJXYZLLYSWQGDLBJHDCGJYQYCMHWFMJYBMBYJYJWYMDPWHXQLDYGPDFXXBCGJSPCKRSSYZJMSLBZZJFLJJJLGXZGYXYXLSZQYXBEXYXHGCXBPLDYHWETTWWCJMBTXCHXYQXLLXFLYXLLJLSSFWDPZSMYJCLMWYTCZPCHQEKCQBWLCQYDPLQPPQZQFJQDJHYMMCXTXDRMJWRHXCJZYLQXDYYNHYYHRSLSRSYWWZJYMTLTLLGTQCJZYABTCKZCJYCCQLJZQXALMZYHYWLWDXZXQDLLQSHGPJFJLJHJABCQZDJGTKHSSTCYJLPSWZLXZXRWGLDLZRLZXTGSLLLLZLYXXWGDZYGBDPHZPBRLWSXQBPFDWOFMWHLYPCBJCCLDMBZPBZZLCYQXLDOMZBLZWPDWYYGDSTTHCSQSCCRSSSYSLFYBFNTYJSZDFNDPDHDZZMBBLSLCMYFFGTJJQWFTMTPJWFNLBZCMMJTGBDZLQLPYFHYYMJYLSDCHDZJWJCCTLJCLDTLJJCPDDSQDSSZYBNDBJLGGJZXSXNLYCYBJXQYCBYLZCFZPPGKCXZDZFZTJJFJSJXZBNZYJQTTYJYHTYCZHYMDJXTTMPXSPLZCDWSLSHXYPZGTFMLCJTYCBPMGDKWYCYZCDSZZYHFLYCTYGWHKJYYLSJCXGYWJCBLLCSNDDBTZBSCLYZCZZSSQDLLMQYYHFSLQLLXFTYHABXGWNYWYYPLLSDLDLLBJCYXJZMLHLJDXYYQYTDLLLBUGBFDFBBQJZZMDPJHGCLGMJJPGAEHHBWCQXAXHHHZCHXYPHJAXHLPHJPGPZJQCQZGJJZZUZDMQYYBZZPHYHYBWHAZYJHYKFGDPFQSDLZMLJXKXGALXZDAGLMDGXMWZQYXXDXXPFDMMSSYMPFMDMMKXKSYZYSHDZKXSYSMMZZZMSYDNZZCZXFPLSTMZDNMXCKJMZTYYMZMZZMSXHHDCZJEMXXKLJSTLWLSQLYJZLLZJSSDPPMHNLZJCZYHMXXHGZCJMDHXTKGRMXFWMCGMWKDTKSXQMMMFZZYDKMSCLCMPCGMHSPXQPZDSSLCXKYXTWLWJYAHZJGZQMCSNXYYMMPMLKJXMHLMLQMXCTKZMJQYSZJSYSZHSYJZJCDAJZYBSDQJZGWZQQXFKDMSDJLFWEHKZQKJPEYPZYSZCDWYJFFMZZYLTTDZZEFMZLBNPPLPLPEPSZALLTYLKCKQZKGENQLWAGYXYDPXLHSXQQWQCQXQCLHYXXMLYCCWLYMQYSKGCHLCJNSZKPYZKCQZQLJPDMDZHLASXLBYDWQLWDNBQCRYDDZTJYBKBWSZDXDTNPJDTCTQDFXQQMGNXECLTTBKPWSLCTYQLPWYZZKLPYGZCQQPLLKCCYLPQMZCZQCLJSLQZDJXLDDHPZQDLJJXZQDXYZQKZLJCYQDYJPPYPQYKJYRMPCBYMCXKLLZLLFQPYLLLMBSGLCYSSLRSYSQTMXYXZQZFDZUYSYZTFFMZZSMZQHZSSCCMLYXWTPZGXZJGZGSJSGKDDHTQGGZLLBJDZLCBCHYXYZHZFYWXYZYMSDBZZYJGTSMTFXQYXQSTDGSLNXDLRYZZLRYYLXQHTXSRTZNGZXBNQQZFMYKMZJBZYMKBPNLYZPBLMCNQYZZZSJZHJCTZKHYZZJRDYZHNPXGLFZTLKGJTCTSSYLLGZRZBBQZZKLPKLCZYSSUYXBJFPNJZZXCDWXZYJXZZDJJKGGRSRJKMSMZJLSJYWQSKYHQJSXPJZZZLSNSHRNYPZTWCHKLPSRZLZXYJQXQKYSJYCZTLQZYBBYBWZPQDWWYZCYTJCJXCKCWDKKZXSGKDZXWWYYJQYYTCYTDLLXWKCZKKLCCLZCQQDZLQLCSFQCHQHSFSMQZZLNBJJZBSJHTSZDYSJQJPDLZCDCWJKJZZLPYCGMZWDJJBSJQZSYZYHHXJPBJYDSSXDZNCGLQMBTSFSBPDZDLZNFGFJGFSMPXJQLMBLGQCYYXBQKDJJQYRFKZTJDHCZKLBSDZCFJTPLLJGXHYXZCSSZZXSTJYGKGCKGYOQXJPLZPBPGTGYJZGHZQZZLBJLSQFZGKQQJZGYCZBZQTLDXRJXBSXXPZXHYZYCLWDXJJHXMFDZPFZHQHQMQGKSLYHTYCGFRZGNQXCLPDLBZCSCZQLLJBLHBZCYPZZPPDYMZZSGYHCKCPZJGSLJLNSCDSLDLXBMSTLDDFJMKDJDHZLZXLSZQPQPGJLLYBDSZGQLBZLSLKYYHZTTNTJYQTZZPSZQZTLLJTYYLLQLLQYZQLBDZLSLYYZYMDFSZSNHLXZNCZQZPBWSKRFBSYZMTHBLGJPMCZZLSTLXSHTCSYZLZBLFEQHLXFLCJLYLJQCBZLZJHHSSTBRMHXZHJZCLXFNBGXGTQJCZTMSFZKJMSSNXLJKBHSJXNTNLZDNTLMSJXGZJYJCZXYJYJWRWWQNZTNFJSZPZSHZJFYRDJSFSZJZBJFZQZZHZLXFYSBZQLZSGYFTZDCSZXZJBQMSZKJRHYJZCKMJKHCHGTXKXQGLXPXFXTRTYLXJXHDTSJXHJZJXZWZLCQSBTXWXGXTXXHXFTSDKFJHZYJFJXRZSDLLLTQSQQZQWZXSYQTWGWBZCGZLLYZBCLMQQTZHZXZXLJFRMYZFLXYSQXXJKXRMQDZDMMYYBSQBHGZMWFWXGMXLZPYYTGZYCCDXYZXYWGSYJYZNBHPZJSQSYXSXRTFYZGRHZTXSZZTHCBFCLSYXZLZQMZLMPLMXZJXSFLBYZMYQHXJSXRXSQZZZSSLYFRCZJRCRXHHZXQYDYHXSJJHZCXZBTYNSYSXJBQLPXZQPYMLXZKYXLXCJLCYSXXZZLXDLLLJJYHZXGYJWKJRWYHCPSGNRZLFZWFZZNSXGXFLZSXZZZBFCSYJDBRJKRDHHGXJLJJTGXJXXSTJTJXLYXQFCSGSWMSBCTLQZZWLZZKXJMLTMJYHSDDBXGZHDLBMYJFRZFSGCLYJBPMLYSMSXLSZJQQHJZFXGFQFQBPXZGYYQXGZTCQWYLTLGWSGWHRLFSFGZJMGMGBGTJFSYZZGZYZAFLSSPMLPFLCWBJZCLJJMZLPJJLYMQDMYYYFBGYGYZMLYZDXQYXRQQQHSYYYQXYLJTYXFSFSLLGNQCYHYCWFHCCCFXPYLYPLLZYXXXXXKQHHXSHJZCFZSCZJXCPZWHHHHHAPYLQALPQAFYHXDYLUKMZQGGGDDESRNNZLTZGCHYPPYSQJJHCLLJTOLNJPZLJLHYMHEYDYDSQYCDDHGZUNDZCLZYZLLZNTNYZGSLHSLPJJBDGWXPCDUTJCKLKCLWKLLCASSTKZZDNQNTTLYYZSSYSSZZRYLJQKCQDHHCRXRZYDGRGCWCGZQFFFPPJFZYNAKRGYWYQPQXXFKJTSZZXSWZDDFBBXTBGTZKZNPZZPZXZPJSZBMQHKCYXYLDKLJNYPKYGHGDZJXXEAHPNZKZTZCMXCXMMJXNKSZQNMNLWBWWXJKYHCPSTMCSQTZJYXTPCTPDTNNPGLLLZSJLSPBLPLQHDTNJNLYYRSZFFJFQWDPHZDWMRZCCLODAXNSSNYZRESTYJWJYJDBCFXNMWTTBYLWSTSZGYBLJPXGLBOCLHPCBJLTMXZLJYLZXCLTPNCLCKXTPZJSWCYXSFYSZDKNTLBYJCYJLLSTGQCBXRYZXBXKLYLHZLQZLNZCXWJZLJZJNCJHXMNZZGJZZXTZJXYCYYCXXJYYXJJXSSSJSTSSTTPPGQTCSXWZDCSYFPTFBFHFBBLZJCLZZDBXGCXLQPXKFZFLSYLTUWBMQJHSZBMDDBCYSCCLDXYCDDQLYJJWMQLLCSGLJJSYFPYYCCYLTJANTJJPWYCMMGQYYSXDXQMZHSZXPFTWWZQSWQRFKJLZJQQYFBRXJHHFWJJZYQAZMYFRHCYYBYQWLPEXCCZSTYRLTTDMQLYKMBBGMYYJPRKZNPBSXYXBHYZDJDNGHPMFSGMWFZMFQMMBCMZZCJJLCNUXYQLMLRYGQZCYXZLWJGCJCGGMCJNFYZZJHYCPRRCMTZQZXHFQGTJXCCJEAQCRJYHPLQLSZDJRBCQHQDYRHYLYXJSYMHZYDWLDFRYHBPYDTSSCNWBXGLPZMLZZTQSSCPJMXXYCSJYTYCGHYCJWYRXXLFEMWJNMKLLSWTXHYYYNCMMCWJDQDJZGLLJWJRKHPZGGFLCCSCZMCBLTBHBQJXQDSPDJZZGKGLFQYWBZYZJLTSTDHQHCTCBCHFLQMPWDSHYYTQWCNZZJTLBYMBPDYYYXSQKXWYYFLXXNCWCXYPMAELYKKJMZZZBRXYYQJFLJPFHHHYTZZXSGQQMHSPGDZQWBWPJHZJDYSCQWZKTXXSQLZYYMYSDZGRXCKKUJLWPYSYSCSYZLRMLQSYLJXBCXTLWDQZPCYCYKPPPNSXFYZJJRCEMHSZMSXLXGLRWGCSTLRSXBZGBZGZTCPLUJLSLYLYMTXMTZPALZXPXJTJWTCYYZLBLXBZLQMYLXPGHDSLSSDMXMBDZZSXWHAMLCZCPJMCNHJYSNSYGCHSKQMZZQDLLKABLWJXSFMOCDXJRRLYQZKJMYBYQLYHETFJZFRFKSRYXFJTWDSXXSYSQJYSLYXWJHSNLXYYXHBHAWHHJZXWMYLJCSSLKYDZTXBZSYFDXGXZJKHSXXYBSSXDPYNZWRPTQZCZENYGCXQFJYKJBZMLJCMQQXUOXSLYXXLYLLJDZBTYMHPFSTTQQWLHOKYBLZZALZXQLHZWRRQHLSTMYPYXJJXMQSJFNBXYXYJXXYQYLTHYLQYFMLKLJTMLLHSZWKZHLJMLHLJKLJSTLQXYLMBHHLNLZXQJHXCFXXLHYHJJGBYZZKBXSCQDJQDSUJZYYHZHHMGSXCSYMXFEBCQWWRBPYYJQTYZCYQYQQZYHMWFFHGZFRJFCDPXNTQYZPDYKHJLFRZXPPXZDBBGZQSTLGDGYLCQMLCHHMFYWLZYXKJLYPQHSYWMQQGQZMLZJNSQXJQSYJYCBEHSXFSZPXZWFLLBCYYJDYTDTHWZSFJMQQYJLMQXXLLDTTKHHYBFPWTYYSQQWNQWLGWDEBZWCMYGCULKJXTMXMYJSXHYBRWFYMWFRXYQMXYSZTZZTFYKMLDHQDXWYYNLCRYJBLPSXCXYWLSPRRJWXHQYPHTYDNXHHMMYWYTZCSQMTSSCCDALWZTCPQPYJLLQZYJSWXMZZMMYLMXCLMXCZMXMZSQTZPPQQBLPGXQZHFLJJHYTJSRXWZXSCCDLXTYJDCQJXSLQYCLZXLZZXMXQRJMHRHZJBHMFLJLMLCLQNLDXZLLLPYPSYJYSXCQQDCMQJZZXHNPNXZMEKMXHYKYQLXSXTXJYYHWDCWDZHQYYBGYBCYSCFGPSJNZDYZZJZXRZRQJJYMCANYRJTLDPPYZBSTJKXXZYPFDWFGZZRPYMTNGXZQBYXNBUFNQKRJQZMJEGRZGYCLKXZDSKKNSXKCLJSPJYYZLQQJYBZSSQLLLKJXTBKTYLCCDDBLSPPFYLGYDTZJYQGGKQTTFZXBDKTYYHYBBFYTYYBCLPDYTGDHRYRNJSPTCSNYJQHKLLLZSLYDXXWBCJQSPXBPJZJCJDZFFXXBRMLAZHCSNDLBJDSZBLPRZTSWSBXBCLLXXLZDJZSJPYLYXXYFTFFFBHJJXGBYXJPMMMPSSJZJMTLYZJXSWXTYLEDQPJMYGQZJGDJLQJWJQLLSJGJGYGMSCLJJXDTYGJQJQJCJZCJGDZZSXQGSJGGCXHQXSNQLZZBXHSGZXCXYLJXYXYYDFQQJHJFXDHCTXJYRXYSQTJXYEFYYSSYYJXNCYZXFXMSYSZXYYSCHSHXZZZGZZZGFJDLTYLNPZGYJYZYYQZPBXQBDZTZCZYXXYHHSQXSHDHGQHJHGYWSZTMZMLHYXGEBTYLZKQWYTJZRCLEKYSTDBCYKQQSAYXCJXWWGSBHJYZYDHCSJKQCXSWXFLTYNYZPZCCZJQTZWJQDZZZQZLJJXLSBHPYXXPSXSHHEZTXFPTLQYZZXHYTXNCFZYYHXGNXMYWXTZSJPTHHGYMXMXQZXTSBCZYJYXXTYYZYPCQLMMSZMJZZLLZXGXZAAJZYXJMZXWDXZSXZDZXLEYJJZQBHZWZZZQTZPSXZTDSXJJJZNYAZPHXYYSRNQDTHZHYYKYJHDZXZLSWCLYBZYECWCYCRYLCXNHZYDZYDYJDFRJJHTRSQTXYXJRJHOJYNXELXSFSFJZGHPZSXZSZDZCQZBYYKLSGSJHCZSHDGQGXYZGXCHXZJWYQWGYHKSSEQZZNDZFKWYSSTCLZSTSYMCDHJXXYWEYXCZAYDMPXMDSXYBSQMJMZJMTZQLPJYQZCGQHXJHHLXXHLHDLDJQCLDWBSXFZZYYSCHTYTYYBHECXHYKGJPXHHYZJFXHWHBDZFYZBCAPNPGNYDMSXHMMMMAMYNBYJTMPXYYMCTHJBZYFCGTYHWPHFTWZZEZSBZEGPFMTSKFTYCMHFLLHGPZJXZJGZJYXZSBBQSCZZLZCCSTPGXMJSFTCCZJZDJXCYBZLFCJSYZFGSZLYBCWZZBYZDZYPSWYJZXZBDSYUXLZZBZFYGCZXBZHZFTPBGZGEJBSTGKDMFHYZZJHZLLZZGJQZLSFDJSSCBZGPDLFZFZSZYZYZSYGCXSNXXCHCZXTZZLJFZGQSQYXZJQDCCZTQCDXZJYQJQCHXZTDLGSCXZSYQJQTZWLQDQZTQCHQQJZYEZZZPBWKDJFCJPZTYPQYQTTYNLMBDKTJZPQZQZZFPZSBNJLGYJDXJDZZKZGQKXDLPZJTCJDQBXDJQJSTCKNXBXZMSLYJCQMTJQWWCJQNJNLLLHJCWQTBZQYDZCZPZZDZYDDCYZZZCCJTTJFZDPRRTZTJDCQTQZDTJNPLZBCLLCTZSXKJZQZPZLBZRBTJDCXFCZDBCCJJLTQQPLDCGZDBBZJCQDCJWYNLLZYZCCDWLLXWZLXRXNTQQCZXKQLSGDFQTDDGLRLAJJTKUYMKQLLTZYTDYYCZGJWYXDXFRSKSTQTENQMRKQZHHQKDLDAZFKYPBGGPZREBZZYKZZSPEGJXGYKQZZZSLYSYYYZWFQZYLZZLZHWCHKYPQGNPGBLPLRRJYXCCSYYHSFZFYBZYYTGZXYLXCZWXXZJZBLFFLGSKHYJZEYJHLPLLLLCZGXDRZELRHGKLZZYHZLYQSZZJZQLJZFLNBHGWLCZCFJYSPYXZLZLXGCCPZBLLCYBBBBUBBCBPCRNNZCZYRBFSRLDCGQYYQXYGMQZWTZYTYJXYFWTEHZZJYWLCCNTZYJJZDEDPZDZTSYQJHDYMBJNYJZLXTSSTPHNDJXXBYXQTZQDDTJTDYYTGWSCSZQFLSHLGLBCZPHDLYZJYCKWTYTYLBNYTSDSYCCTYSZYYEBHEXHQDTWNYGYCLXTSZYSTQMYGZAZCCSZZDSLZCLZRQXYYELJSBYMXSXZTEMBBLLYYLLYTDQYSHYMRQWKFKBFXNXSBYCHXBWJYHTQBPBSBWDZYLKGZSKYHXQZJXHXJXGNLJKZLYYCDXLFYFGHLJGJYBXQLYBXQPQGZTZPLNCYPXDJYQYDYMRBESJYYHKXXSTMXRCZZYWXYQYBMCLLYZHQYZWQXDBXBZWZMSLPDMYSKFMZKLZCYQYCZLQXFZZYDQZPZYGYJYZMZXDZFYFYTTQTZHGSPCZMLCCYTZXJCYTJMKSLPZHYSNZLLYTPZCTZZCKTXDHXXTQCYFKSMQCCYYAZHTJPCYLZLYJBJXTPNYLJYYNRXSYLMMNXJSMYBCSYSYLZYLXJJQYLDZLPQBFZZBLFNDXQKCZFYWHGQMRDSXYCYTXNQQJZYYPFZXDYZFPRXEJDGYQBXRCNFYYQPGHYJDYZXGRHTKYLNWDZNTSMPKLBTHBPYSZBZTJZSZZJTYYXZPHSSZZBZCZPTQFZMYFLYPYBBJQXZMXXDJMTSYSKKBJZXHJCKLPSMKYJZCXTMLJYXRZZQSLXXQPYZXMKYXXXJCLJPRMYYGADYSKQLSNDHYZKQXZYZTCGHZTLMLWZYBWSYCTBHJHJFCWZTXWYTKZLXQSHLYJZJXTMPLPYCGLTBZZTLZJCYJGDTCLKLPLLQPJMZPAPXYZLKKTKDZCZZBNZDYDYQZJYJGMCTXLTGXSZLMLHBGLKFWNWZHDXUHLFMKYSLGXDTWWFRJEJZTZHYDXYKSHWFZCQSHKTMQQHTZHYMJDJSKHXZJZBZZXYMPAGQMSTPXLSKLZYNWRTSQLSZBPSPSGZWYHTLKSSSWHZZLYYTNXJGMJSZSUFWNLSOZTXGXLSAMMLBWLDSZYLAKQCQCTMYCFJBSLXCLZZCLXXKSBZQCLHJPSQPLSXXCKSLNHPSFQQYTXYJZLQLDXZQJZDYYDJNZPTUZDSKJFSLJHYLZSQZLBTXYDGTQFDBYAZXDZHZJNHHQBYKNXJJQCZMLLJZKSPLDYCLBBLXKLELXJLBQYCXJXGCNLCQPLZLZYJTZLJGYZDZPLTQCSXFDMNYCXGBTJDCZNBGBQYQJWGKFHTNPYQZQGBKPBBYZMTJDYTBLSQMPSXTBNPDXKLEMYYCJYNZCTLDYKZZXDDXHQSHDGMZSJYCCTAYRZLPYLTLKXSLZCGGEXCLFXLKJRTLQJAQZNCMBYDKKCXGLCZJZXJHPTDJJMZQYKQSECQZDSHHADMLZFMMZBGNTJNNLGBYJBRBTMLBYJDZXLCJLPLDLPCQDHLXZLYCBLCXZZJADJLNZMMSSSMYBHBSQKBHRSXXJMXSDZNZPXLGBRHWGGFCXGMSKLLTSJYYCQLTSKYWYYHYWXBXQYWPYWYKQLSQPTNTKHQCWDQKTWPXXHCPTHTWUMSSYHBWCRWXHJMKMZNGWTMLKFGHKJYLSYYCXWHYECLQHKQHTTQKHFZLDXQWYZYYDESBPKYRZPJFYYZJCEQDZZDLATZBBFJLLCXDLMJSSXEGYGSJQXCWBXSSZPDYZCXDNYXPPZYDLYJCZPLTXLSXYZYRXCYYYDYLWWNZSAHJSYQYHGYWWAXTJZDAXYSRLTDPSSYYFNEJDXYZHLXLLLZQZSJNYQYQQXYJGHZGZCYJCHZLYCDSHWSHJZYJXCLLNXZJJYYXNFXMWFPYLCYLLABWDDHWDXJMCXZTZPMLQZHSFHZYNZTLLDYWLSLXHYMMYLMBWWKYXYADTXYLLDJPYBPWUXJMWMLLSAFDLLYFLBHHHBQQLTZJCQJLDJTFFKMMMBYTHYGDCQRDDWRQJXNBYSNWZDBYYTBJHPYBYTTJXAAHGQDQTMYSTQXKBTZPKJLZRBEQQSSMJJBDJOTGTBXPGBKTLHQXJJJCTHXQDWJLWRFWQGWSHCKRYSWGFTGYGBXSDWDWRFHWYTJJXXXJYZYSLPYYYPAYXHYDQKXSHXYXGSKQHYWFDDDPPLCJLQQEEWXKSYYKDYPLTJTHKJLTCYYHHJTTPLTZZCDLTHQKZXQYSTEEYWYYZYXXYYSTTJKLLPZMCYHQGXYHSRMBXPLLNQYDQHXSXXWGDQBSHYLLPJJJTHYJKYPPTHYYKTYEZYENMDSHLCRPQFDGFXZPSFTLJXXJBSWYYSKSFLXLPPLBBBLBSFXFYZBSJSSYLPBBFFFFSSCJDSTZSXZRYYSYFFSYZYZBJTBCTSBSDHRTJJBYTCXYJEYLXCBNEBJDSYXYKGSJZBXBYTFZWGENYHHTHZHHXFWGCSTBGXKLSXYWMTMBYXJSTZSCDYQRCYTWXZFHMYMCXLZNSDJTTTXRYCFYJSBSDYERXJLJXBBDEYNJGHXGCKGSCYMBLXJMSZNSKGXFBNBPTHFJAAFXYXFPXMYPQDTZCXZZPXRSYWZDLYBBKTYQPQJPZYPZJZNJPZJLZZFYSBTTSLMPTZRTDXQSJEHBZYLZDHLJSQMLHTXTJECXSLZZSPKTLZKQQYFSYGYWPCPQFHQHYTQXZKRSGTTSQCZLPTXCDYYZXSQZSLXLZMYCPCQBZYXHBSXLZDLTCDXTYLZJYYZPZYZLTXJSJXHLPMYTXCQRBLZSSFJZZTNJYTXMYJHLHPPLCYXQJQQKZZSCPZKSWALQSBLCCZJSXGWWWYGYKTJBBZTDKHXHKGTGPBKQYSLPXPJCKBMLLXDZSTBKLGGQKQLSBKKTFXRMDKBFTPZFRTBBRFERQGXYJPZSSTLBZTPSZQZSJDHLJQLZBPMSMMSXLQQNHKNBLRDDNXXDHDDJCYYGYLXGZLXSYGMQQGKHBPMXYXLYTQWLWGCPBMQXCYZYDRJBHTDJYHQSHTMJSBYPLWHLZFFNYPMHXXHPLTBQPFBJWQDBYGPNZTPFZJGSDDTQSHZEAWZZYLLTYYBWJKXXGHLFKXDJTMSZSQYNZGGSWQSPHTLSSKMCLZXYSZQZXNCJDQGZDLFNYKLJCJLLZLMZZNHYDSSHTHZZLZZBBHQZWWYCRZHLYQQJBEYFXXXWHSRXWQHWPSLMSSKZTTYGYQQWRSLALHMJTQJSMXQBJJZJXZYZKXBYQXBJXSHZTSFJLXMXZXFGHKZSZGGYLCLSARJYHSLLLMZXELGLXYDJYTLFBHBPNLYZFBBHPTGJKWETZHKJJXZXXGLLJLSTGSHJJYQLQZFKCGNNDJSSZFDBCTWWSEQFHQJBSAQTGYPQLBXBMMYWXGSLZHGLZGQYFLZBYFZJFRYSFMBYZHQGFWZSYFYJJPHZBYYZFFWODGRLMFTWLBZGYCQXCDJYGZYYYYTYTYDWEGAZYHXJLZYYHLRMGRXXZCLHNELJJTJTPWJYBJJBXJJTJTEEKHWSLJPLPSFYZPQQBDLQJJTYYQLYZKDKSQJYYQZLDQTGJQYZJSUCMRYQTHTEJMFCTYHYPKMHYZWJDQFHYYXWSHCTXRLJHQXHCCYYYJLTKTTYTMXGTCJTZAYYOCZLYLBSZYWJYTSJYHBYSHFJLYGJXXTMZYYLTXXYPZLXYJZYZYYPNHMYMDYYLBLHLSYYQQLLNJJYMSOYQBZGDLYXYLCQYXTSZEGXHZGLHWBLJHEYXTWQMAKBPQCGYSHHEGQCMWYYWLJYJHYYZLLJJYLHZYHMGSLJLJXCJJYCLYCJPCPZJZJMMYLCQLNQLJQJSXYJMLSZLJQLYCMMHCFMMFPQQMFYLQMCFFQMMMMHMZNFHHJGTTHHKHSLNCHHYQDXTMMQDCYZYXYQMYQYLTDCYYYZAZZCYMZYDLZFFFMMYCQZWZZMABTBYZTDMNZZGGDFTYPCGQYTTSSFFWFDTZQSSYSTWXJHXYTSXXYLBYQHWWKXHZXWZNNZZJZJJQJCCCHYYXBZXZCYZTLLCQXYNJYCYYCYNZZQYYYEWYCZDCJYCCHYJLBTZYYCQWMPWPYMLGKDLDLGKQQBGYCHJXY"}),require.config({shim:{underscore:{exports:"_"},backbone:{deps:["underscore","jquery"],exports:"Backbone"}},paths:{jquery:"lib/jquery","jquery.ui.core":"lib/jquery.ui.core","jquery.ui.widget":"lib/jquery.ui.widget.1.11.1","jquery.ui.progressbar":"lib/jquery.ui.progressbar","jquery.ui.tabs":"lib/jquery.ui.tabs",tmpl:"lib/tmpl.min","jquery.iframe-transport":"lib/jquery.iframe-transport.1.4","jquery.fileupload":"lib/jquery.fileupload.5.42.1","jquery.fileupload-process":"lib/jquery.fileupload.file-processing.1.3.0","jquery.fileupload-validate":"lib/jquery.fileupload.validation.1.1.2","jquery.fileupload-ui":"lib/jquery.fileupload.ui.9.6.0","jquery.magnific-popup":"lib/jquery.magnific-popup",simplemodal:"lib/jquery.simplemodal.1.4.4.min",jstree:"lib/jstree.1.0",select2:"lib/select2-3.5.2",underscore:"lib/underscore",backbone:"lib/backbone",text:"lib/text"}}),define("common",["jquery","underscore","text","pinyin-by-unicode"],function(e,t,n,r){return{INFO_TIMEOUT:1e4,SUCCESS_TIMEOUT:3e3,ERROR_TIMEOUT:3e3,strChineseFirstPY:r.strChineseFirstPY,getUrl:function(e){var t=app.config.siteRoot;switch(e.name){case"list_lib_dir":return t+"ajax/lib/"+e.repo_id+"/dir/";case"star_file":return t+"ajax/repo/"+e.repo_id+"/file/star/";case"unstar_file":return t+"ajax/repo/"+e.repo_id+"/file/unstar/";case"del_dir":return t+"ajax/repo/"+e.repo_id+"/dir/delete/";case"del_file":return t+"ajax/repo/"+e.repo_id+"/file/delete/";case"rename_dir":return t+"ajax/repo/"+e.repo_id+"/dir/rename/";case"rename_file":return t+"ajax/repo/"+e.repo_id+"/file/rename/";case"mv_dir":return t+"ajax/repo/"+e.repo_id+"/dir/mv/";case"cp_dir":return t+"ajax/repo/"+e.repo_id+"/dir/cp/";case"mv_file":return t+"ajax/repo/"+e.repo_id+"/file/mv/";case"cp_file":return t+"ajax/repo/"+e.repo_id+"/file/cp/";case"new_dir":return t+"ajax/repo/"+e.repo_id+"/dir/new/";case"new_file":return t+"ajax/repo/"+e.repo_id+"/file/new/";case"del_dirents":return t+"ajax/repo/"+e.repo_id+"/dirents/delete/";case"mv_dirents":return t+"ajax/repo/"+e.repo_id+"/dirents/move/";case"cp_dirents":return t+"ajax/repo/"+e.repo_id+"/dirents/copy/";case"get_file_op_url":return t+"ajax/repo/"+e.repo_id+"/file_op_url/";case"get_dirents":return t+"ajax/repo/"+e.repo_id+"/dirents/";case"repo_del":return t+"ajax/repo/"+e.repo_id+"/remove/";case"sub_repo":return t+"ajax/repo/"+e.repo_id+"/dir/sub_repo/";case"thumbnail_create":return t+"thumbnail/"+e.repo_id+"/create/";case"get_my_unenc_repos":return t+"ajax/my-unenc-repos/";case"unenc_rw_repos":return t+"ajax/unenc-rw-repos/";case"get_cp_progress":return t+"ajax/cp_progress/";case"cancel_cp":return t+"ajax/cancel_cp/";case"ajax_repo_remove_share":return t+"share/ajax/repo_remove_share/";case"get_user_contacts":return t+"ajax/contacts/";case"get_shared_download_link":return t+"share/ajax/get-download-link/";case"delete_shared_download_link":return t+"share/ajax/link/remove/";case"send_shared_download_link":return t+"share/link/send/";case"send_shared_upload_link":return t+"share/upload_link/send/";case"delete_shared_upload_link":return t+"share/ajax/upload_link/remove/";case"get_share_upload_link":return t+"share/ajax/get-upload-link/";case"private_share_dir":return t+"share/ajax/private-share-dir/";case"private_share_file":return t+"share/ajax/private-share-file/";case"get_popup_notices":return t+"ajax/get_popup_notices/";case"set_notices_seen":return t+"ajax/set_notices_seen/";case"get_unseen_notices_num":return t+"ajax/unseen-notices-count/";case"set_notice_seen_by_id":return t+"ajax/set_notice_seen_by_id/";case"repo_set_password":return t+"repo/set_password/";case"group_repos":return t+"api2/groups/"+e.group_id+"/repos/";case"group_basic_info":return t+"ajax/group/"+e.group_id+"/basic-info/";case"toggle_group_modules":return t+"ajax/group/"+e.group_id+"/toggle-modules/";case"toggle_personal_modules":return t+"ajax/toggle-personal-modules/";case"ajax_unset_inner_pub_repo":return t+"ajax/unset-inner-pub-repo/"+e.repo_id+"/";case"get_folder_perm_by_path":return t+"ajax/repo/"+e.repo_id+"/get-folder-perm-by-path/";case"set_user_folder_perm":return t+"ajax/repo/"+e.repo_id+"/set-user-folder-perm/";case"set_group_folder_perm":return t+"ajax/repo/"+e.repo_id+"/set-group-folder-perm/";case"starred_files":return t+"api2/starredfiles/";case"shared_repos":return t+"api2/shared-repos/"+e.repo_id+"/";case"search_user":return t+"api2/search-user/"}},showConfirm:function(t,n,r){var i=e("#confirm-popup"),s=e("#confirm-con"),o=e("#confirm-yes");s.html("

                                        "+t+"

                                        "+n+"

                                        "),i.modal({appendTo:"#main"}),e("#simplemodal-container").css({height:"auto"}),o.click(r)},closeModal:function(){e.modal.close()},feedback:function(t,n,r){var r=r||5e3;if(e(".messages").length>0)e(".messages").html('
                                      • '+t+"
                                      • ");else{var i='
                                        • '+t+"
                                        ";e("#main").append(i)}e(".messages").css({left:(e(window).width()-e(".messages").width())/2,top:10}).removeClass("hide"),setTimeout(function(){e(".messages").addClass("hide")},r)},showFormError:function(t,n){e("#"+t+" .error").html(n).removeClass("hide"),e("#simplemodal-container").css({height:"auto"})},ajaxErrorHandler:function(t,n,r){t.responseText?this.feedback(e.parseJSON(t.responseText).error,"error"):this.feedback(gettext("Failed. Please check the network."),"error")},enableButton:function(e){e.removeAttr("disabled").removeClass("btn-disabled")},disableButton:function(e){e.attr("disabled","disabled").addClass("btn-disabled")},setCaretPos:function(e,t){var n;return document.selection?(n=e.createTextRange(),n.move("character",t),n.select()):e.setSelectionRange(t,t)},prepareApiCsrf:function(){Backbone._sync=Backbone.sync,Backbone.sync=function(e,t,n){if(e=="create"||e=="update"||e=="delete"){var r=app.pageOptions.csrfToken;n.beforeSend=function(e){e.setRequestHeader("X-CSRFToken",r)}}return Backbone._sync(e,t,n)}},prepareCSRFToken:function(e,t){function n(e){var t=null;if(document.cookie&&document.cookie!=""){var n=document.cookie.split(";");for(var r=0;r'+o+"

                                        "):e(".error",t).removeClass("hide")}}})}}),_this=this,e(document).click(function(t){_this.closePopup(t,e("#user-info-popup"),e("#my-info"))})},initNoticePopup:function(){var t=e("#msg-count");if(t.length==0)return!1;var n=document.title;t.data("orig_doc_title",n);var r=function(){e.ajax({url:_this.getUrl({name:"get_unseen_notices_num"}),dataType:"json",cache:!1,success:function(r){var i=r.count,s=e(".num",t);s.html(i),i>0?(s.removeClass("hide"),document.title="("+i+")"+n):(s.addClass("hide"),document.title=n)}})};r(),setInterval(r,3e4),e("#notice-icon").click(function(){var t=e("#notice-popup");t.toggleClass("hide");if(!t.hasClass("hide")){e(".con",t).css({"max-height":e(window).height()-e("#header").outerHeight()-e(".hd",t).outerHeight()-3});var n=e(".loading-tip",t),r=e("#notice-list");r.addClass("hide"),n.show(),e(".error",t).addClass("hide"),e.ajax({url:_this.getUrl({name:"get_popup_notices"}),dataType:"json",success:function(t){n.hide(),r.html(t.notice_html).removeClass("hide"),e(".unread a",r).click(function(){var t=e(this).parents(".unread").data("id"),n=e(this).attr("href");return e.ajax({url:_this.getUrl({name:"set_notice_seen_by_id"})+"?notice_id="+encodeURIComponent(t),dataType:"json",success:function(e){location.href=n},error:function(){location.href=n}}),!1}),e(".detail",r).click(function(){location.href=e(".brief a",e(this).parent()).attr("href")})},error:function(r,i,s){if(r.responseText){var o=e.parseJSON(r.responseText).error;n.hide(),e(".error",t).length==0?n.after('

                                        '+o+"

                                        "):e(".error",t).removeClass("hide")}}})}}),e(window).resize(function(){var t=e("#notice-popup");t.hasClass("hide")||e(".con",t).css({"max-height":e(window).height()-e("#header").outerHeight()-e(".hd",t).outerHeight()-3})}),e("#notice-popup .close").click(function(){e("#notice-popup").addClass("hide"),e("#notice-list .unread").length>0&&e.ajax({url:_this.getUrl({name:"set_notices_seen"}),dataType:"json",success:function(){e(".num",t).html(0).addClass("hide"),document.title=n}})}),e(document).click(function(t){_this.closePopup(t,e("#notice-popup"),e("#notice-icon"))})},closeTopNoticeBar:function(){if(!app.pageOptions.cur_note)return!1;var t=app.pageOptions.cur_note.id;e("#info-bar").addClass("hide");if(navigator.cookieEnabled){var n=new Date,r=document.cookie.split("; "),i=!1;n.setTime(n.getTime()+12096e5),t+="; expires="+n.toGMTString()+"; path="+app.config.siteRoot;for(var s=0,o=r.length;s'+e.HTMLescape(t.name)+"
                                        "+e.HTMLescape(t.id)+"";return},formatSelection:function(t){return e.HTMLescape(t.name||t.id)},escapeMarkup:function(e){return e}}},imageCheck:function(e){if(e.lastIndexOf(".")==-1)return!1;var t=e.substr(e.lastIndexOf(".")+1).toLowerCase(),n=["gif","jpeg","jpg","png","ico","bmp"];return n.indexOf(t)!=-1?!0:!1},compareTwoWord:function(e,t){var n,r,i=e.charCodeAt(0),s=t.charCodeAt(0),o=this.strChineseFirstPY;if(19968=r?1:-1},fileSizeFormat:function(e,t){var n=1024,r=n*1024,i=r*1024,s=i*1024,t=t||0;return e>=0&&e=n&&e=r&&e=i&&e=s?(e/s).toFixed(t)+" TB":e+" B"}}}),function(e,t){if(typeof define=="function"&&define.amd)define("backbone",["underscore","jquery","exports"],function(n,r,i){e.Backbone=t(e,i,n,r)});else if(typeof exports!="undefined"){var n=require("underscore");t(e,exports,n)}else e.Backbone=t(e,{},e._,e.jQuery||e.Zepto||e.ender||e.$)}(this,function(e,t,n,r){var i=e.Backbone,s=[],o=s.push,u=s.slice,a=s.splice;t.VERSION="1.1.2",t.$=r,t.noConflict=function(){return e.Backbone=i,this},t.emulateHTTP=!1,t.emulateJSON=!1;var f=t.Events={on:function(e,t,n){if(!c(this,"on",e,[t,n])||!t)return this;this._events||(this._events={});var r=this._events[e]||(this._events[e]=[]);return r.push({callback:t,context:n,ctx:n||this}),this},once:function(e,t,r){if(!c(this,"once",e,[t,r])||!t)return this;var i=this,s=n.once(function(){i.off(e,s),t.apply(this,arguments)});return s._callback=t,this.on(e,s,r)},off:function(e,t,r){var i,s,o,u,a,f,l,h;if(!this._events||!c(this,"off",e,[t,r]))return this;if(!e&&!t&&!r)return this._events=void 0,this;u=e?[e]:n.keys(this._events);for(a=0,f=u.length;a").attr(e);this.setElement(r,!1)}else this.setElement(n.result(this,"el"),!1)}}),t.sync=function(e,r,i){var s=N[e];n.defaults(i||(i={}),{emulateHTTP:t.emulateHTTP,emulateJSON:t.emulateJSON});var o={type:s,dataType:"json"};i.url||(o.url=n.result(r,"url")||F()),i.data==null&&r&&(e==="create"||e==="update"||e==="patch")&&(o.contentType="application/json",o.data=JSON.stringify(i.attrs||r.toJSON(i))),i.emulateJSON&&(o.contentType="application/x-www-form-urlencoded",o.data=o.data?{model:o.data}:{});if(i.emulateHTTP&&(s==="PUT"||s==="DELETE"||s==="PATCH")){o.type="POST",i.emulateJSON&&(o.data._method=s);var u=i.beforeSend;i.beforeSend=function(e){e.setRequestHeader("X-HTTP-Method-Override",s);if(u)return u.apply(this,arguments)}}o.type!=="GET"&&!i.emulateJSON&&(o.processData=!1),o.type==="PATCH"&&T&&(o.xhr=function(){return new ActiveXObject("Microsoft.XMLHTTP")});var a=i.xhr=t.ajax(n.extend(o,i));return r.trigger("request",r,a,i),a};var T=typeof window!="undefined"&&!!window.ActiveXObject&&(!window.XMLHttpRequest||!(new XMLHttpRequest).dispatchEvent),N={create:"POST",update:"PUT",patch:"PATCH","delete":"DELETE",read:"GET"};t.ajax=function(){return t.$.ajax.apply(t.$,arguments)};var C=t.Router=function(e){e||(e={}),e.routes&&(this.routes=e.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},k=/\((.*?)\)/g,L=/(\(\?)?:\w+/g,A=/\*\w+/g,O=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(C.prototype,f,{initialize:function(){},route:function(e,r,i){n.isRegExp(e)||(e=this._routeToRegExp(e)),n.isFunction(r)&&(i=r,r=""),i||(i=this[r]);var s=this;return t.history.route(e,function(n){var o=s._extractParameters(e,n);s.execute(i,o),s.trigger.apply(s,["route:"+r].concat(o)),s.trigger("route",r,o),t.history.trigger("route",s,r,o)}),this},execute:function(e,t){e&&e.apply(this,t)},navigate:function(e,n){return t.history.navigate(e,n),this},_bindRoutes:function(){if(!this.routes)return;this.routes=n.result(this,"routes");var e,t=n.keys(this.routes);while((e=t.pop())!=null)this.route(e,this.routes[e])},_routeToRegExp:function(e){return e=e.replace(O,"\\$&").replace(k,"(?:$1)?").replace(L,function(e,t){return t?e:"([^/?]+)"}).replace(A,"([^?]*?)"),new RegExp("^"+e+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(e,t){var r=e.exec(t).slice(1);return n.map(r,function(e,t){return t===r.length-1?e||null:e?decodeURIComponent(e):null})}});var M=t.History=function(){this.handlers=[],n.bindAll(this,"checkUrl"),typeof window!="undefined"&&(this.location=window.location,this.history=window.history)},_=/^[#\/]|\s+$/g,D=/^\/+|\/+$/g,P=/msie [\w.]+/,H=/\/$/,B=/#.*$/;M.started=!1,n.extend(M.prototype,f,{interval:50,atRoot:function(){return this.location.pathname.replace(/[^\/]$/,"$&/")===this.root},getHash:function(e){var t=(e||this).location.href.match(/#(.*)$/);return t?t[1]:""},getFragment:function(e,t){if(e==null)if(this._hasPushState||!this._wantsHashChange||t){e=decodeURI(this.location.pathname+this.location.search);var n=this.root.replace(H,"");e.indexOf(n)||(e=e.slice(n.length))}else e=this.getHash();return e.replace(_,"")},start:function(e){if(M.started)throw new Error("Backbone.history has already been started");M.started=!0,this.options=n.extend({root:"/"},this.options,e),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.options.pushState&&this.history&&this.history.pushState);var r=this.getFragment(),i=document.documentMode,s=P.exec(navigator.userAgent.toLowerCase())&&(!i||i<=7);this.root=("/"+this.root+"/").replace(D,"/");if(s&&this._wantsHashChange){var o=t.$('').css(e.extend(this.o.iframeCss,{display:"none",opacity:0,position:"fixed",height:s[0],width:s[1],zIndex:this.o.zIndex,top:0,left:0})).appendTo(this.o.appendTo)),this.d.overlay=e("
                                        ").attr("id",this.o.overlayId).addClass("simplemodal-overlay").css(e.extend(this.o.overlayCss,{display:"none",opacity:this.o.opacity/100,height:this.o.modal?t[0]:0,width:this.o.modal?t[1]:0,position:"fixed",left:0,top:0,zIndex:this.o.zIndex+1})).appendTo(this.o.appendTo),this.d.container=e("
                                        ").attr("id",this.o.containerId).addClass("simplemodal-container").css(e.extend({position:this.o.fixed?"fixed":"absolute"},this.o.containerCss,{display:"none",zIndex:this.o.zIndex+2})).append(this.o.close&&this.o.closeHTML?e(this.o.closeHTML).addClass(this.o.closeClass):"").appendTo(this.o.appendTo),this.d.wrap=e("
                                        ").attr("tabIndex",-1).addClass("simplemodal-wrap").css({height:"100%",outline:0,width:"100%"}).appendTo(this.d.container),this.d.data=n.attr("id",n.attr("id")||this.o.dataId).addClass("simplemodal-data").css(e.extend(this.o.dataCss,{display:"none"})).appendTo("body"),this.setContainerDimensions(),this.d.data.appendTo(this.d.wrap),(f||o)&&this.fixIE()},bindEvents:function(){var r=this;e("."+r.o.closeClass).bind("click.simplemodal",function(e){e.preventDefault(),r.close()}),r.o.modal&&r.o.close&&r.o.overlayClose&&r.d.overlay.bind("click.simplemodal",function(e){e.preventDefault(),r.close()}),n.bind("keydown.simplemodal",function(e){r.o.modal&&9===e.keyCode?r.watchTab(e):r.o.close&&r.o.escClose&&27===e.keyCode&&(e.preventDefault(),r.close())}),i.bind("resize.simplemodal orientationchange.simplemodal",function(){r.getDimensions(),r.o.autoResize?r.setContainerDimensions():r.o.autoPosition&&r.setPosition(),f||o?r.fixIE():r.o.modal&&(r.d.iframe&&r.d.iframe.css({height:s[0],width:s[1]}),r.d.overlay.css({height:t[0],width:t[1]}))})},unbindEvents:function(){e("."+this.o.closeClass).unbind("click.simplemodal"),n.unbind("keydown.simplemodal"),i.unbind(".simplemodal"),this.d.overlay.unbind("click.simplemodal")},fixIE:function(){var t=this.o.position;e.each([this.d.iframe||null,this.o.modal?this.d.overlay:null,"fixed"===this.d.container.css("position")?this.d.container:null],function(e,n){if(n){var r=n[0].style;r.position="absolute";if(2>e)r.removeExpression("height"),r.removeExpression("width"),r.setExpression("height",'document.body.scrollHeight > document.body.clientHeight ? document.body.scrollHeight : document.body.clientHeight + "px"'),r.setExpression("width",'document.body.scrollWidth > document.body.clientWidth ? document.body.scrollWidth : document.body.clientWidth + "px"');else{var i,s;t&&t.constructor===Array?(i=t[0]?"number"==typeof t[0]?t[0].toString():t[0].replace(/px/,""):n.css("top").replace(/px/,""),i=-1===i.indexOf("%")?i+' + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"':parseInt(i.replace(/%/,""))+' * ((document.documentElement.clientHeight || document.body.clientHeight) / 100) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',t[1]&&(s="number"==typeof t[1]?t[1].toString():t[1].replace(/px/,""),s=-1===s.indexOf("%")?s+' + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"':parseInt(s.replace(/%/,""))+' * ((document.documentElement.clientWidth || document.body.clientWidth) / 100) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"')):(i='(document.documentElement.clientHeight || document.body.clientHeight) / 2 - (this.offsetHeight / 2) + (t = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop) + "px"',s='(document.documentElement.clientWidth || document.body.clientWidth) / 2 - (this.offsetWidth / 2) + (t = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft) + "px"'),r.removeExpression("top"),r.removeExpression("left"),r.setExpression("top",i),r.setExpression("left",s)}}})},focus:function(t){var n=this,t=t&&-1!==e.inArray(t,["first","last"])?t:"first",r=e(":input:enabled:visible:"+t,n.d.wrap);setTimeout(function(){0i?i:ti?i:this.o.minHeight&&"auto"!==u&&no?o:eo?o:this.o.minWidth&&"auto"!==i&&rt||r>e?"auto":"visible"}),this.o.autoPosition&&this.setPosition()},setPosition:function(){var e,t;e=s[0]/2-this.d.container.outerHeight(!0)/2,t=s[1]/2-this.d.container.outerWidth(!0)/2;var n="fixed"!==this.d.container.css("position")?i.scrollTop():0;this.o.position&&"[object Array]"===Object.prototype.toString.call(this.o.position)?(e=n+(this.o.position[0]||e),t=this.o.position[1]||t):e=n+e,this.d.container.css({left:t,top:e})},watchTab:function(t){if(0r.length+5)return!1;if(r[i].selectorText&&r[i].selectorText.toLowerCase()==e)return t===!0?(n.removeRule&&n.removeRule(i),n.deleteRule&&n.deleteRule(i),!0):r[i]}while(r[++i]);return!1},add_css:function(e,t){return r.jstree.css.get_css(e,!1,t)?!1:(t.insertRule?t.insertRule(e+" { }",0):t.addRule(e,null,0),r.vakata.css.get_css(e))},remove_css:function(e,t){return r.vakata.css.get_css(e,!0,t)},add_sheet:function(e){var t=!1,n=!0;if(e.str)return e.title&&(t=r("style[id='"+e.title+"-stylesheet']")[0]),t?n=!1:(t=document.createElement("style"),t.setAttribute("type","text/css"),e.title&&t.setAttribute("id",e.title+"-stylesheet")),t.styleSheet?n?(document.getElementsByTagName("head")[0].appendChild(t),t.styleSheet.cssText=e.str):t.styleSheet.cssText=t.styleSheet.cssText+" "+e.str:(t.appendChild(document.createTextNode(e.str)),document.getElementsByTagName("head")[0].appendChild(t)),t.sheet||t.styleSheet;if(e.url){if(!document.createStyleSheet)return t=document.createElement("link"),t.rel="stylesheet",t.type="text/css",t.media="all",t.href=e.url,document.getElementsByTagName("head")[0].appendChild(t),t.styleSheet;try{t=document.createStyleSheet(e.url)}catch(i){}}}};var i=[],s=-1,o={},u={};r.fn.jstree=function(e){var t=typeof e=="string",n=Array.prototype.slice.call(arguments,1),s=this;if(t){if(e.substring(0,1)=="_")return s;this.each(function(){var t=i[r.data(this,"jstree-instance-id")],o=t&&r.isFunction(t[e])?t[e].apply(t,n):t;if(typeof o!="undefined"&&(e.indexOf("is_")===0||o!==!0&&o!==!1))return s=o,!1})}else this.each(function(){var t=r.data(this,"jstree-instance-id"),s=[],u=e?r.extend({},!0,e):{},a=r(this),f=!1,l=[];s=s.concat(n),a.data("jstree")&&s.push(a.data("jstree")),u=s.length?r.extend.apply(null,[!0,u].concat(s)):u,typeof t!="undefined"&&i[t]&&i[t].destroy(),t=parseInt(i.push({}),10)-1,r.data(this,"jstree-instance-id",t),u.plugins=r.isArray(u.plugins)?u.plugins:r.jstree.defaults.plugins.slice(),u.plugins.unshift("core"),u.plugins=u.plugins.sort().join(",,").replace(/(,|^)([^,]+)(,,\2)+(,|$)/g,"$1$2$4").replace(/,,+/g,",").replace(/,$/,"").split(","),f=r.extend(!0,{},r.jstree.defaults,u),f.plugins=u.plugins,r.each(o,function(e,t){r.inArray(e,f.plugins)===-1?(f[e]=null,delete f[e]):l.push(e)}),f.plugins=l,i[t]=new r.jstree._instance(t,r(this).addClass("jstree jstree-"+t),f),r.each(i[t]._get_settings().plugins,function(e,n){i[t].data[n]={}}),r.each(i[t]._get_settings().plugins,function(e,n){o[n]&&o[n].__init.apply(i[t])}),setTimeout(function(){i[t].init()},0)});return s},r.jstree={defaults:{plugins:[]},_focused:function(){return i[s]||null},_reference:function(e){if(i[e])return i[e];var t=r(e);return!t.length&&typeof e=="string"&&(t=r("#"+e)),t.length?i[t.closest(".jstree").data("jstree-instance-id")]||null:null},_instance:function(e,t,n){this.data={core:{}},this.get_settings=function(){return r.extend(!0,{},n)},this._get_settings=function(){return n},this.get_index=function(){return e},this.get_container=function(){return t},this.get_container_ul=function(){return t.children("ul:eq(0)")},this._set_settings=function(e){n=r.extend(!0,{},n,e)}},_fn:{},plugin:function(e,t){t=r.extend({},{__init:r.noop,__destroy:r.noop,_fn:{},defaults:!1},t),o[e]=t,r.jstree.defaults[e]=t.defaults,r.each(t._fn,function(t,n){n.plugin=e,n.old=r.jstree._fn[t],r.jstree._fn[t]=function(){var e,i=n,s=Array.prototype.slice.call(arguments),o=new r.Event("before.jstree"),u=!1;if(this.data.core.locked===!0&&t!=="unlock"&&t!=="is_locked")return;do{if(i&&i.plugin&&r.inArray(i.plugin,this._get_settings().plugins)!==-1)break;i=i.old}while(i);if(!i)return;if(t.indexOf("_")===0)e=i.apply(this,s);else{e=this.get_container().triggerHandler(o,{func:t,inst:this,args:s,plugin:i.plugin});if(e===!1)return;typeof e!="undefined"&&(s=e),e=i.apply(r.extend({},this,{__callback:function(e){this.get_container().triggerHandler(t+".jstree",{inst:this,args:s,rslt:e,rlbk:u})},__rollback:function(){return u=this.get_rollback(),u},__call_old:function(e){return i.old.apply(this,e?Array.prototype.slice.call(arguments,1):s)}}),s)}return e},r.jstree._fn[t].old=n.old,r.jstree._fn[t].plugin=e})},rollback:function(e){e&&(r.isArray(e)||(e=[e]),r.each(e,function(e,t){i[t.i].set_rollback(t.h,t.d)}))}},r.jstree._fn=r.jstree._instance.prototype={},r(function(){var i=navigator.userAgent.toLowerCase(),s=(i.match(/.+?(?:rv|it|ra|ie)[\/: ]([\d.]+)/)||[0,"0"])[1],o=".jstree ul, .jstree li { display:block; margin:0 0 0 0; padding:0 0 0 0; list-style-type:none; } .jstree li { display:block; min-height:18px; line-height:18px; white-space:nowrap; margin-left:18px; min-width:18px; } .jstree-rtl li { margin-left:0; margin-right:18px; } .jstree > ul > li { margin-left:0px; } .jstree-rtl > ul > li { margin-right:0px; } .jstree ins { display:inline-block; text-decoration:none; width:18px; height:18px; margin:0 0 0 0; padding:0; } .jstree a { display:inline-block; line-height:16px; height:16px; color:black; white-space:nowrap; text-decoration:none; padding:1px 2px; margin:0; } .jstree a:focus { outline: none; } .jstree a > ins { height:16px; width:16px; } .jstree a > .jstree-icon { margin-right:3px; } .jstree-rtl a > .jstree-icon { margin-left:3px; margin-right:0; } li.jstree-open > ul { display:block; } li.jstree-closed > ul { display:none; } ";if(/msie/.test(i)&&parseInt(s,10)==6){e=!0;try{document.execCommand("BackgroundImageCache",!1,!0)}catch(u){}o+=".jstree li { height:18px; margin-left:0; margin-right:0; } .jstree li li { margin-left:18px; } .jstree-rtl li li { margin-left:0px; margin-right:18px; } li.jstree-open ul { display:block; } li.jstree-closed ul { display:none !important; } .jstree li a { display:inline; border-width:0 !important; padding:0px 2px !important; } .jstree li a ins { height:16px; width:16px; margin-right:3px; } .jstree-rtl li a ins { margin-right:0px; margin-left:3px; } "}/msie/.test(i)&&parseInt(s,10)==7&&(t=!0,o+=".jstree li a { border-width:0 !important; padding:0px 2px !important; } "),!/compatible/.test(i)&&/mozilla/.test(i)&&parseFloat(s,10)<1.9&&(n=!0,o+=".jstree ins { display:-moz-inline-box; } .jstree li { line-height:12px; } .jstree a { display:-moz-inline-box; } .jstree .jstree-no-icons .jstree-checkbox { display:-moz-inline-stack !important; } "),r.vakata.css.add_sheet({str:o,title:"jstree"})}),r.jstree.plugin("core",{__init:function(){this.data.core.locked=!1,this.data.core.to_open=this.get_settings().core.initially_open,this.data.core.to_load=this.get_settings().core.initially_load},defaults:{html_titles:!1,animation:500,initially_open:[],initially_load:[],open_parents:!0,notify_plugins:!0,rtl:!1,load_open:!1,strings:{loading:"Loading ...",new_node:"New node",multiple_selection:"Multiple selection"}},_fn:{init:function(){this.set_focus(),this._get_settings().core.rtl&&this.get_container().addClass("jstree-rtl").css("direction","rtl"),this.get_container().html(""),this.data.core.li_height=this.get_container_ul().find("li.jstree-closed, li.jstree-leaf").eq(0).height()||18,this.get_container().delegate("li > ins","click.jstree",r.proxy(function(e){var t=r(e.target);t.is("ins")&&e.pageY-t.offset().top ul > li:first-child"):e.length?t?e.nextAll("li").size()>0?e.nextAll("li:eq(0)"):!1:e.hasClass("jstree-open")?e.find("li:eq(0)"):e.nextAll("li").size()>0?e.nextAll("li:eq(0)"):e.parentsUntil(".jstree","li").next("li").eq(0):!1},_get_prev:function(e,t){e=this._get_node(e);if(e===-1)return this.get_container().find("> ul > li:last-child");if(!e.length)return!1;if(t)return e.prevAll("li").length>0?e.prevAll("li:eq(0)"):!1;if(e.prev("li").length){e=e.prev("li").eq(0);while(e.hasClass("jstree-open"))e=e.children("ul:eq(0)").children("li:last");return e}var n=e.parentsUntil(".jstree","li:eq(0)");return n.length?n:!1},_get_parent:function(e){e=this._get_node(e);if(e==-1||!e.length)return!1;var t=e.parentsUntil(".jstree","li:eq(0)");return t.length?t:-1},_get_children:function(e){return e=this._get_node(e),e===-1?this.get_container().children("ul:eq(0)").children("li"):e.length?e.children("ul:eq(0)").children("li"):!1},get_path:function(e,t){var n=[],r=this;return e=this._get_node(e),e===-1||!e||!e.length?!1:(e.parentsUntil(".jstree","li").each(function(){n.push(t?this.id:r.get_text(this))}),n.reverse(),n.push(t?e.attr("id"):this.get_text(e)),n)},_get_string:function(e){return this._get_settings().core.strings[e]||e},is_open:function(e){return e=this._get_node(e),e&&e!==-1&&e.hasClass("jstree-open")},is_closed:function(e){return e=this._get_node(e),e&&e!==-1&&e.hasClass("jstree-closed")},is_leaf:function(e){return e=this._get_node(e),e&&e!==-1&&e.hasClass("jstree-leaf")},correct_state:function(e){e=this._get_node(e);if(!e||e===-1)return!1;e.removeClass("jstree-closed jstree-open").addClass("jstree-leaf").children("ul").remove(),this.__callback({obj:e})},open_node:function(t,n,r){t=this._get_node(t);if(!t.length)return!1;if(!t.hasClass("jstree-closed"))return n&&n.call(),!1;var i=r||e?0:this._get_settings().core.animation,s=this;this._is_loaded(t)?(this._get_settings().core.open_parents&&t.parentsUntil(".jstree",".jstree-closed").each(function(){s.open_node(this,!1,!0)}),i&&t.children("ul").css("display","none"),t.removeClass("jstree-closed").addClass("jstree-open").children("a").removeClass("jstree-loading"),i?t.children("ul").stop(!0,!0).slideDown(i,function(){this.style.display="",s.after_open(t)}):s.after_open(t),this.__callback({obj:t}),n&&n.call()):(t.children("a").addClass("jstree-loading"),this.load_node(t,function(){s.open_node(t,n,r)},n))},after_open:function(e){this.__callback({obj:e})},close_node:function(t,n){t=this._get_node(t);var r=n||e?0:this._get_settings().core.animation,i=this;if(!t.length||!t.hasClass("jstree-open"))return!1;r&&t.children("ul").attr("style","display:block !important"),t.removeClass("jstree-open").addClass("jstree-closed"),r?t.children("ul").stop(!0,!0).slideUp(r,function(){this.style.display="",i.after_close(t)}):i.after_close(t),this.__callback({obj:t})},after_close:function(e){this.__callback({obj:e})},toggle_node:function(e){e=this._get_node(e);if(e.hasClass("jstree-closed"))return this.open_node(e);if(e.hasClass("jstree-open"))return this.close_node(e)},open_all:function(e,t,n){e=e?this._get_node(e):-1;if(!e||e===-1)e=this.get_container_ul();n?e=e.find("li.jstree-closed"):(n=e,e.is(".jstree-closed")?e=e.find("li.jstree-closed").andSelf():e=e.find("li.jstree-closed"));var r=this;e.each(function(){var e=this;r._is_loaded(this)?r.open_node(this,!1,!t):r.open_node(this,function(){r.open_all(e,t,n)},!t)}),n.find("li.jstree-closed").length===0&&this.__callback({obj:n})},close_all:function(e,t){var n=this;e=e?this._get_node(e):this.get_container();if(!e||e===-1)e=this.get_container_ul();e.find("li.jstree-open").andSelf().each(function(){n.close_node(this,!t)}),this.__callback({obj:e})},clean_node:function(e){e=e&&e!=-1?r(e):this.get_container_ul(),e=e.is("li")?e.find("li").andSelf():e.find("li"),e.removeClass("jstree-last").filter("li:last-child").addClass("jstree-last").end().filter(":has(li)").not(".jstree-open").removeClass("jstree-leaf").addClass("jstree-closed"),e.not(".jstree-open, .jstree-closed").addClass("jstree-leaf").children("ul").remove(),this.__callback({obj:e})},get_rollback:function(){return this.__callback(),{i:this.get_index(),h:this.get_container().children("ul").clone(!0),d:this.data}},set_rollback:function(e,t){this.get_container().empty().append(e),this.data=t,this.__callback()},load_node:function(e,t,n){this.__callback({obj:e})},_is_loaded:function(e){return!0},create_node:function(e,t,n,i,s){e=this._get_node(e),t=typeof t=="undefined"?"last":t;var o=r("
                                      • "),u=this._get_settings().core,a;if(e!==-1&&!e.length)return!1;if(!s&&!this._is_loaded(e))return this.load_node(e,function(){this.create_node(e,t,n,i,!0)}),!1;this.__rollback(),typeof n=="string"&&(n={data:n}),n||(n={}),n.attr&&o.attr(n.attr),n.metadata&&o.data(n.metadata),n.state&&o.addClass("jstree-"+n.state),n.data||(n.data=this._get_string("new_node")),r.isArray(n.data)||(a=n.data,n.data=[],n.data.push(a)),r.each(n.data,function(e,t){a=r(""),r.isFunction(t)&&(t=t.call(this,n)),typeof t=="string"?a.attr("href","#")[u.html_titles?"html":"text"](t):(t.attr||(t.attr={}),t.attr.href||(t.attr.href="#"),a.attr(t.attr)[u.html_titles?"html":"text"](t.title),t.language&&a.addClass(t.language)),a.prepend(" "),t.icon&&(t.icon.indexOf("/")===-1?a.children("ins").addClass(t.icon):a.children("ins").css("background","url('"+t.icon+"') center center no-repeat")),o.append(a)}),o.prepend(" "),e===-1&&(e=this.get_container(),t==="before"&&(t="first"),t==="after"&&(t="last"));switch(t){case"before":e.before(o),a=this._get_parent(e);break;case"after":e.after(o),a=this._get_parent(e);break;case"inside":case"first":e.children("ul").length||e.append("
                                          "),e.children("ul").prepend(o),a=e;break;case"last":e.children("ul").length||e.append("
                                            "),e.children("ul").append(o),a=e;break;default:e.children("ul").length||e.append("
                                              "),t||(t=0),a=e.children("ul").children("li").eq(t),a.length?a.before(o):e.children("ul").append(o),a=e}if(a===-1||a.get(0)===this.get_container().get(0))a=-1;return this.clean_node(a),this.__callback({obj:o,parent:a}),i&&i.call(this,o),o},get_text:function(e){e=this._get_node(e);if(!e.length)return!1;var t=this._get_settings().core.html_titles;return e=e.children("a:eq(0)"),t?(e=e.clone(),e.children("INS").remove(),e.html()):(e=e.contents().filter(function(){return this.nodeType==3})[0],e.nodeValue)},set_text:function(e,t){e=this._get_node(e);if(!e.length)return!1;e=e.children("a:eq(0)");if(this._get_settings().core.html_titles){var n=e.children("INS").clone();return e.html(t).prepend(n),this.__callback({obj:e,name:t}),!0}return e=e.contents().filter(function(){return this.nodeType==3})[0],this.__callback({obj:e,name:t}),e.nodeValue=t},rename_node:function(e,t){e=this._get_node(e),this.__rollback(),e&&e.length&&this.set_text.apply(this,Array.prototype.slice.call(arguments))&&this.__callback({obj:e,name:t})},delete_node:function(e){e=this._get_node(e);if(!e.length)return!1;this.__rollback();var t=this._get_parent(e),n=r([]),i=this;return e.each(function(){n=n.add(i._get_prev(this))}),e=e.detach(),t!==-1&&t.find("> ul > li").length===0&&t.removeClass("jstree-open jstree-closed").addClass("jstree-leaf"),this.clean_node(t),this.__callback({obj:e,prev:n,parent:t}),e},prepare_move:function(e,t,n,i,s){var o={};o.ot=r.jstree._reference(e)||this,o.o=o.ot._get_node(e),o.r=t===-1?-1:this._get_node(t),o.p=typeof n=="undefined"||n===!1?"last":n;if(!s&&u.o&&u.o[0]===o.o[0]&&u.r[0]===o.r[0]&&u.p===o.p){this.__callback(u),i&&i.call(this,u);return}o.ot=r.jstree._reference(o.o)||this,o.rt=r.jstree._reference(o.r)||this;if(o.r===-1||!o.r){o.cr=-1;switch(o.p){case"first":case"before":case"inside":o.cp=0;break;case"after":case"last":o.cp=o.rt.get_container().find(" > ul > li").length;break;default:o.cp=o.p}}else{if(!/^(before|after)$/.test(o.p)&&!this._is_loaded(o.r))return this.load_node(o.r,function(){this.prepare_move(e,t,n,i,!0)});switch(o.p){case"before":o.cp=o.r.index(),o.cr=o.rt._get_parent(o.r);break;case"after":o.cp=o.r.index()+1,o.cr=o.rt._get_parent(o.r);break;case"inside":case"first":o.cp=0,o.cr=o.r;break;case"last":o.cp=o.r.find(" > ul > li").length,o.cr=o.r;break;default:o.cp=o.p,o.cr=o.r}}o.np=o.cr==-1?o.rt.get_container():o.cr,o.op=o.ot._get_parent(o.o),o.cop=o.o.index(),o.op===-1&&(o.op=o.ot?o.ot.get_container():this.get_container()),!/^(before|after)$/.test(o.p)&&o.op&&o.np&&o.op[0]===o.np[0]&&o.o.index() ul > li:nth-child("+(o.cp+1)+")"),u=o,this.__callback(u),i&&i.call(this,u)},check_move:function(){var e=u,t=!0,n=e.r===-1?this.get_container():e.r;return!e||!e.o||e.or[0]===e.o[0]?!1:e.op&&e.np&&e.op[0]===e.np[0]&&e.cp-1===e.o.index()?!1:(e.o.each(function(){if(n.parentsUntil(".jstree","li").andSelf().index(this)!==-1)return t=!1,!1}),t)},move_node:function(e,t,n,i,s,o){if(!s)return this.prepare_move(e,t,n,function(e){this.move_node(e,!1,!1,i,!0,o)});i&&(u.cy=!0);if(!o&&!this.check_move())return!1;this.__rollback();var a=!1;i?(a=e.o.clone(!0),a.find("*[id]").andSelf().each(function(){this.id&&(this.id="copy_"+this.id)})):a=e.o,e.or.length?e.or.before(a):(e.np.children("ul").length||r("
                                                ").appendTo(e.np),e.np.children("ul:eq(0)").append(a));try{e.ot.clean_node(e.op),e.rt.clean_node(e.np),e.op.find("> ul > li").length||e.op.removeClass("jstree-open jstree-closed").addClass("jstree-leaf").children("ul").remove()}catch(f){}return i&&(u.cy=!0,u.oc=a),this.__callback(u),u},_get_move:function(){return u}}})})(jQuery),function(e){var t,n,r;e(function(){/msie/.test(navigator.userAgent.toLowerCase())?(n=e('').css({position:"absolute",top:-1e3,left:0}).appendTo("body"),r=e('').css({position:"absolute",top:-1e3,left:0}).appendTo("body"),t=n.width()-r.width(),n.add(r).remove()):(n=e("
                                                ").css({width:100,height:100,overflow:"auto",position:"absolute",top:-1e3,left:0}).prependTo("body").append("
                                                ").find("div").css({width:"100%",height:200}),t=100-n.width(),n.parent().remove())}),e.jstree.plugin("ui",{__init:function(){this.data.ui.selected=e(),this.data.ui.last_selected=!1,this.data.ui.hovered=null,this.data.ui.to_select=this.get_settings().ui.initially_select,this.get_container().delegate("a","click.jstree",e.proxy(function(t){t.preventDefault(),t.currentTarget.blur(),e(t.currentTarget).hasClass("jstree-loading")||this.select_node(t.currentTarget,!0,t)},this)).delegate("a","mouseenter.jstree",e.proxy(function(t){e(t.currentTarget).hasClass("jstree-loading")||this.hover_node(t.target)},this)).delegate("a","mouseleave.jstree",e.proxy(function(t){e(t.currentTarget).hasClass("jstree-loading")||this.dehover_node(t.target)},this)).bind("reopen.jstree",e.proxy(function(){this.reselect()},this)).bind("get_rollback.jstree",e.proxy(function(){this.dehover_node(),this.save_selected()},this)).bind("set_rollback.jstree",e.proxy(function(){this.reselect()},this)).bind("close_node.jstree",e.proxy(function(t,n){var r=this._get_settings().ui,i=this._get_node(n.rslt.obj),s=i&&i.length?i.children("ul").find("a.jstree-clicked"):e(),o=this;if(r.selected_parent_close===!1||!s.length)return;s.each(function(){o.deselect_node(this),r.selected_parent_close==="select_parent"&&o.select_node(i)})},this)).bind("delete_node.jstree",e.proxy(function(e,t){var n=this._get_settings().ui.select_prev_on_delete,r=this._get_node(t.rslt.obj),i=r&&r.length?r.find("a.jstree-clicked"):[],s=this;i.each(function(){s.deselect_node(this)}),n&&i.length&&t.rslt.prev.each(function(){if(this.parentNode)return s.select_node(this),!1})},this)).bind("move_node.jstree",e.proxy(function(e,t){t.rslt.cy&&t.rslt.oc.find("a.jstree-clicked").removeClass("jstree-clicked")},this))},defaults:{select_limit:-1,select_multiple_modifier:"ctrl",select_range_modifier:"shift",selected_parent_close:"select_parent",selected_parent_open:!0,select_prev_on_delete:!0,disable_selecting_children:!1,initially_select:[]},_fn:{_get_node:function(t,n){if(typeof t=="undefined"||t===null)return n?this.data.ui.selected:this.data.ui.last_selected;var r=e(t,this.get_container());return r.is(".jstree")||t==-1?-1:(r=r.closest("li",this.get_container()),r.length?r:!1)},_ui_notify:function(e,t){t.selected&&this.select_node(e,!1)},save_selected:function(){var e=this;this.data.ui.to_select=[],this.data.ui.selected.each(function(){this.id&&e.data.ui.to_select.push("#"+this.id.toString().replace(/^#/,"").replace(/\\\//g,"/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,"\\.").replace(/\:/g,"\\:"))}),this.__callback(this.data.ui.to_select)},reselect:function(){var t=this,n=this.data.ui.to_select;n=e.map(e.makeArray(n),function(e){return"#"+e.toString().replace(/^#/,"").replace(/\\\//g,"/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,"\\.").replace(/\:/g,"\\:")}),e.each(n,function(e,n){n&&n!=="#"&&t.select_node(n)}),this.data.ui.selected=this.data.ui.selected.filter(function(){return this.parentNode}),this.__callback()},refresh:function(e){return this.save_selected(),this.__call_old()},hover_node:function(e){e=this._get_node(e);if(!e.length)return!1;e.hasClass("jstree-hovered")||this.dehover_node(),this.data.ui.hovered=e.children("a").addClass("jstree-hovered").parent(),this._fix_scroll(e),this.__callback({obj:e})},dehover_node:function(){var e=this.data.ui.hovered,t;if(!e||!e.length)return!1;t=e.children("a").removeClass("jstree-hovered").parent(),this.data.ui.hovered[0]===t[0]&&(this.data.ui.hovered=null),this.__callback({obj:e})},select_node:function(e,t,n){e=this._get_node(e);if(e==-1||!e||!e.length)return!1;var r=this._get_settings().ui,i=r.select_multiple_modifier=="on"||r.select_multiple_modifier!==!1&&n&&n[r.select_multiple_modifier+"Key"],s=r.select_range_modifier!==!1&&n&&n[r.select_range_modifier+"Key"]&&this.data.ui.last_selected&&this.data.ui.last_selected[0]!==e[0]&&this.data.ui.last_selected.parent()[0]===e.parent()[0],o=this.is_selected(e),u=!0,a=this;if(t){if(r.disable_selecting_children&&i&&(e.parentsUntil(".jstree","li").children("a.jstree-clicked").length||e.children("ul").find("a.jstree-clicked:eq(0)").length))return!1;u=!1;switch(!0){case s:this.data.ui.last_selected.addClass("jstree-last-selected"),e=e[e.index()0)this.deselect_all(),u=!0;break;case o&&i:this.deselect_node(e);break;case!o&&i:if(r.select_limit==-1||this.data.ui.selected.length+1<=r.select_limit)u=!0}}u&&!o&&(s||(this.data.ui.last_selected=e),e.children("a").addClass("jstree-clicked"),r.selected_parent_open&&e.parents(".jstree-closed").each(function(){a.open_node(this,!1,!0)}),this.data.ui.selected=this.data.ui.selected.add(e),this._fix_scroll(e.eq(0)),this.__callback({obj:e,e:n}))},_fix_scroll:function(e){var n=this.get_container()[0],r;if(n.scrollHeight>n.offsetHeight){e=this._get_node(e);if(!e||e===-1||!e.length||!e.is(":visible"))return;r=e.offset().top-this.get_container().offset().top,r<0&&(n.scrollTop=n.scrollTop+r-1),r+this.data.core.li_height+(n.scrollWidth>n.offsetWidth?t:0)>n.offsetHeight&&(n.scrollTop=n.scrollTop+(r-n.offsetHeight+this.data.core.li_height+1+(n.scrollWidth>n.offsetWidth?t:0)))}},deselect_node:function(e){e=this._get_node(e);if(!e.length)return!1;this.is_selected(e)&&(e.children("a").removeClass("jstree-clicked"),this.data.ui.selected=this.data.ui.selected.not(e),this.data.ui.last_selected.get(0)===e.get(0)&&(this.data.ui.last_selected=this.data.ui.selected.eq(0)),this.__callback({obj:e}))},toggle_select:function(e){e=this._get_node(e);if(!e.length)return!1;this.is_selected(e)?this.deselect_node(e):this.select_node(e)},is_selected:function(e){return this.data.ui.selected.index(this._get_node(e))>=0},get_selected:function(t){return t?e(t).find("a.jstree-clicked").parent():this.data.ui.selected},deselect_all:function(t){var n=t?e(t).find("a.jstree-clicked").parent():this.get_container().find("a.jstree-clicked").parent();n.children("a.jstree-clicked").removeClass("jstree-clicked"),this.data.ui.selected=e([]),this.data.ui.last_selected=!1,this.__callback({obj:n})}}}),e.jstree.defaults.plugins.push("ui")}(jQuery),function(e){var t=[];e.jstree._themes=!1,e.jstree.plugin("themes",{__init:function(){this.get_container().bind("init.jstree",e.proxy(function(){var e=this._get_settings().themes;this.data.themes.dots=e.dots,this.data.themes.icons=e.icons,this.set_theme(e.theme,e.url)},this)).bind("loaded.jstree",e.proxy(function(){this.data.themes.dots?this.show_dots():this.hide_dots(),this.data.themes.icons?this.show_icons():this.hide_icons()},this))},defaults:{theme:"default",url:!1,dots:!0,icons:!0},_fn:{set_theme:function(n,r){if(!n)return!1;r||(r=e.jstree._themes+n+"/style.css"),e.inArray(r,t)==-1&&(e.vakata.css.add_sheet({url:r}),t.push(r)),this.data.themes.theme!=n&&(this.get_container().removeClass("jstree-"+this.data.themes.theme),this.data.themes.theme=n),this.get_container().addClass("jstree-"+n),this.data.themes.dots?this.show_dots():this.hide_dots(),this.data.themes.icons?this.show_icons():this.hide_icons(),this.__callback()},get_theme:function(){return this.data.themes.theme},show_dots:function(){this.data.themes.dots=!0,this.get_container().children("ul").removeClass("jstree-no-dots")},hide_dots:function(){this.data.themes.dots=!1,this.get_container().children("ul").addClass("jstree-no-dots")},toggle_dots:function(){this.data.themes.dots?this.hide_dots():this.show_dots()},show_icons:function(){this.data.themes.icons=!0,this.get_container().children("ul").removeClass("jstree-no-icons")},hide_icons:function(){this.data.themes.icons=!1,this.get_container().children("ul").addClass("jstree-no-icons")},toggle_icons:function(){this.data.themes.icons?this.hide_icons():this.show_icons()}}}),e(function(){e.jstree._themes===!1&&e("script").each(function(){if(this.src.toString().match(/jquery\.jstree[^\/]*?\.js(\?.*)?$/))return e.jstree._themes=this.src.toString().replace(/jquery\.jstree[^\/]*?\.js(\?.*)?$/,"")+"themes/",!1}),e.jstree._themes===!1&&(e.jstree._themes="themes/")}),e.jstree.defaults.plugins.push("themes")}(jQuery),function(e){e.jstree.plugin("json_data",{__init:function(){var e=this._get_settings().json_data;e.progressive_unload&&this.get_container().bind("after_close.jstree",function(e,t){t.rslt.obj.children("ul").remove()})},defaults:{data:!1,ajax:!1,correct_state:!0,progressive_render:!1,progressive_unload:!1},_fn:{load_node:function(e,t,n){var r=this;this.load_node_json(e,function(){r.__callback({obj:r._get_node(e)}),t.call(this)},n)},_is_loaded:function(t){var n=this._get_settings().json_data;return t=this._get_node(t),t==-1||!t||!n.ajax&&!n.progressive_render&&!e.isFunction(n.data)||t.is(".jstree-open, .jstree-leaf")||t.children("ul").children("li").length>0},refresh:function(t){t=this._get_node(t);var n=this._get_settings().json_data;return t&&t!==-1&&n.progressive_unload&&(e.isFunction(n.data)||!!n.ajax)&&t.removeData("jstree-children"),this.__call_old()},load_node_json:function(t,n,r){var i=this.get_settings().json_data,s,o=function(){},u=function(){};t=this._get_node(t);if(t&&t!==-1&&(i.progressive_render||i.progressive_unload)&&!t.is(".jstree-open, .jstree-leaf")&&t.children("ul").children("li").length===0&&t.data("jstree-children")){s=this._parse_json(t.data("jstree-children"),t),s&&(t.append(s),i.progressive_unload||t.removeData("jstree-children")),this.clean_node(t),n&&n.call(this);return}if(t&&t!==-1){if(t.data("jstree-is-loading"))return;t.data("jstree-is-loading",!0)}switch(!0){case!i.data&&!i.ajax:throw"Neither data nor ajax settings supplied.";case e.isFunction(i.data):i.data.call(this,t,e.proxy(function(e){e=this._parse_json(e,t),e?(t===-1||!t?this.get_container().children("ul").empty().append(e.children()):(t.append(e).children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading")),this.clean_node(t),n&&n.call(this)):(t===-1||!t?i.correct_state&&this.get_container().children("ul").empty():(t.children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading"),i.correct_state&&this.correct_state(t)),r&&r.call(this))},this));break;case!!i.data&&!i.ajax||!!i.data&&!!i.ajax&&(!t||t===-1):if(!t||t==-1)s=this._parse_json(i.data,t),s?(this.get_container().children("ul").empty().append(s.children()),this.clean_node()):i.correct_state&&this.get_container().children("ul").empty();n&&n.call(this);break;case!i.data&&!!i.ajax||!!i.data&&!!i.ajax&&t&&t!==-1:o=function(e,n,s){var o=this.get_settings().json_data.ajax.error;o&&o.call(this,e,n,s),t!=-1&&t.length?(t.children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading"),n==="success"&&i.correct_state&&this.correct_state(t)):n==="success"&&i.correct_state&&this.get_container().children("ul").empty(),r&&r.call(this)},u=function(r,s,u){var a=this.get_settings().json_data.ajax.success;a&&(r=a.call(this,r,s,u)||r);if(r===""||r&&r.toString&&r.toString().replace(/^[\s\n]+$/,"")===""||!e.isArray(r)&&!e.isPlainObject(r))return o.call(this,u,s,"");r=this._parse_json(r,t),r?(t===-1||!t?this.get_container().children("ul").empty().append(r.children()):(t.append(r).children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading")),this.clean_node(t),n&&n.call(this)):t===-1||!t?i.correct_state&&(this.get_container().children("ul").empty(),n&&n.call(this)):(t.children("a.jstree-loading").removeClass("jstree-loading"),t.removeData("jstree-is-loading"),i.correct_state&&(this.correct_state(t),n&&n.call(this)))},i.ajax.context=this,i.ajax.error=o,i.ajax.success=u,i.ajax.dataType||(i.ajax.dataType="json"),e.isFunction(i.ajax.url)&&(i.ajax.url=i.ajax.url.call(this,t)),e.isFunction(i.ajax.data)&&(i.ajax.data=i.ajax.data.call(this,t)),e.ajax(i.ajax)}},_parse_json:function(t,n,r){var i=!1,s=this._get_settings(),o=s.json_data,u=s.core.html_titles,a,f,l,c,h;if(!t)return i;o.progressive_unload&&n&&n!==-1&&n.data("jstree-children",i);if(e.isArray(t)){i=e();if(!t.length)return!1;for(f=0,l=t.length;f"),t.attr&&i.attr(t.attr),t.metadata&&i.data(t.metadata),t.state&&i.addClass("jstree-"+t.state),e.isArray(t.data)||(a=t.data,t.data=[],t.data.push(a)),e.each(t.data,function(n,r){a=e(""),e.isFunction(r)&&(r=r.call(this,t)),typeof r=="string"?a.attr("href","#")[u?"html":"text"](r):(r.attr||(r.attr={}),r.attr.href||(r.attr.href="#"),a.attr(r.attr)[u?"html":"text"](r.title),r.language&&a.addClass(r.language)),a.prepend(" "),!r.icon&&t.icon&&(r.icon=t.icon),r.icon&&(r.icon.indexOf("/")===-1?a.children("ins").addClass(r.icon):a.children("ins").css("background","url('"+r.icon+"') center center no-repeat")),i.append(a)}),i.prepend(" "),t.children&&(o.progressive_render&&t.state!=="open"?i.addClass("jstree-closed").data("jstree-children",t.children):(o.progressive_unload&&i.data("jstree-children",t.children),e.isArray(t.children)&&t.children.length&&(a=this._parse_json(t.children,n,!0),a.length&&(h=e("
                                                  "),h.append(a),i.append(h)))))}return r||(c=e("
                                                    "),c.append(i),i=c),i},get_json:function(t,n,r,i){var s=[],o=this._get_settings(),u=this,a,f,l,c,h,p;t=this._get_node(t);if(!t||t===-1)t=this.get_container().find("> ul > li");return n=e.isArray(n)?n:["id","class"],!i&&this.data.types&&n.push(o.types.type_attr),r=e.isArray(r)?r:[],t.each(function(){l=e(this),a={data:[]},n.length&&(a.attr={}),e.each(n,function(e,t){f=l.attr(t),f&&f.length&&f.replace(/jstree[^ ]*/ig,"").length&&(a.attr[t]=(" "+f).replace(/ jstree[^ ]*/ig,"").replace(/\s+$/ig," ").replace(/^ /,"").replace(/ $/,""))}),l.hasClass("jstree-open")&&(a.state="open"),l.hasClass("jstree-closed")&&(a.state="closed"),l.data()&&(a.metadata=l.data()),c=l.children("a"),c.each(function(){h=e(this),r.length||e.inArray("languages",o.plugins)!==-1||h.children("ins").get(0).style.backgroundImage.length||h.children("ins").get(0).className&&h.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").length?(p=!1,e.inArray("languages",o.plugins)!==-1&&e.isArray(o.languages)&&o.languages.length&&e.each(o.languages,function(e,t){if(h.hasClass(t))return p=t,!1}),f={attr:{},title:u.get_text(h,p)},e.each(r,function(e,t){f.attr[t]=(" "+(h.attr(t)||"")).replace(/ jstree[^ ]*/ig,"").replace(/\s+$/ig," ").replace(/^ /,"").replace(/ $/,"")}),e.inArray("languages",o.plugins)!==-1&&e.isArray(o.languages)&&o.languages.length&&e.each(o.languages,function(e,t){if(h.hasClass(t))return f.language=t,!0}),h.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").replace(/^\s+$/ig,"").length&&(f.icon=h.children("ins").get(0).className.replace(/jstree[^ ]*|$/ig,"").replace(/\s+$/ig," ").replace(/^ /,"").replace(/ $/,"")),h.children("ins").get(0).style.backgroundImage.length&&(f.icon=h.children("ins").get(0).style.backgroundImage.replace("url(","").replace(")",""))):f=u.get_text(h),c.length>1?a.data.push(f):a.data=f}),l=l.find("> ul > li"),l.length&&(a.children=u.get_json(l,n,r,!0)),s.push(a)}),s}}})}(jQuery),function(e){e.jstree.plugin("checkbox",{__init:function(){this.data.checkbox.noui=this._get_settings().checkbox.override_ui,this.data.ui&&this.data.checkbox.noui&&(this.select_node=this.deselect_node=this.deselect_all=e.noop,this.get_selected=this.get_checked),this.get_container().bind("open_node.jstree create_node.jstree clean_node.jstree refresh.jstree",e.proxy(function(e,t){this._prepare_checkboxes(t.rslt.obj)},this)).bind("loaded.jstree",e.proxy(function(e){this._prepare_checkboxes()},this)).delegate(this.data.ui&&this.data.checkbox.noui?"a":"ins.jstree-checkbox","click.jstree",e.proxy(function(e){e.preventDefault(),this._get_node(e.target).hasClass("jstree-checked")?this.uncheck_node(e.target):this.check_node(e.target);if(!this.data.ui||!this.data.checkbox.noui)return e.stopImmediatePropagation(),!1;this.save_selected(),this.data.cookies&&this.save_cookie("select_node")},this))},defaults:{override_ui:!1,two_state:!1,real_checkboxes:!1,checked_parent_open:!0,real_checkboxes_names:function(e){return["check_"+(e[0].id||Math.ceil(Math.random()*1e4)),1]}},__destroy:function(){this.get_container().find("input.jstree-real-checkbox").removeClass("jstree-real-checkbox").end().find("ins.jstree-checkbox").remove()},_fn:{_checkbox_notify:function(e,t){t.checked&&this.check_node(e,!1)},_prepare_checkboxes:function(t){t=!t||t==-1?this.get_container().find("> ul > li"):this._get_node(t);if(t===!1)return;var n,r=this,i,s=this._get_settings().checkbox.two_state,o=this._get_settings().checkbox.real_checkboxes,u=this._get_settings().checkbox.real_checkboxes_names;t.each(function(){i=e(this),n=i.is("li")&&(i.hasClass("jstree-checked")||o&&i.children(":checked").length)?"jstree-checked":"jstree-unchecked",i.find("li").andSelf().each(function(){var t=e(this),i;t.children("a"+(r.data.languages?"":":eq(0)")).not(":has(.jstree-checkbox)").prepend(" ").parent().not(".jstree-checked, .jstree-unchecked").addClass(s?"jstree-unchecked":n),o&&(t.children(":checkbox").length?t.children(":checkbox").addClass("jstree-real-checkbox"):(i=u.call(r,t),t.prepend("")),n==="jstree-checked"&&t.children(":checkbox").attr("checked","checked")),n==="jstree-checked"&&!s&&t.find("li").addClass("jstree-checked")})}),s||(t.length===1&&t.is("li")&&this._repair_state(t),t.is("li")?t.each(function(){r._repair_state(this)}):t.find("> ul > li").each(function(){r._repair_state(this)}),t.find(".jstree-checked").parent().parent().each(function(){r._repair_state(this)}))},change_state:function(t,n){t=this._get_node(t);var r=!1,i=this._get_settings().checkbox.real_checkboxes;if(!t||t===-1)return!1;n=n===!1||n===!0?n:t.hasClass("jstree-checked");if(this._get_settings().checkbox.two_state)n?(t.removeClass("jstree-checked").addClass("jstree-unchecked"),i&&t.children(":checkbox").removeAttr("checked")):(t.removeClass("jstree-unchecked").addClass("jstree-checked"),i&&t.children(":checkbox").attr("checked","checked"));else{if(n){r=t.find("li").andSelf();if(!r.filter(".jstree-checked, .jstree-undetermined").length)return!1;r.removeClass("jstree-checked jstree-undetermined").addClass("jstree-unchecked"),i&&r.children(":checkbox").removeAttr("checked")}else{r=t.find("li").andSelf();if(!r.filter(".jstree-unchecked, .jstree-undetermined").length)return!1;r.removeClass("jstree-unchecked jstree-undetermined").addClass("jstree-checked"),i&&r.children(":checkbox").attr("checked","checked"),this.data.ui&&(this.data.ui.last_selected=t),this.data.checkbox.last_selected=t}t.parentsUntil(".jstree","li").each(function(){var t=e(this);if(n){if(t.children("ul").children("li.jstree-checked, li.jstree-undetermined").length)return t.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined"),i&&t.parentsUntil(".jstree","li").andSelf().children(":checkbox").removeAttr("checked"),!1;t.removeClass("jstree-checked jstree-undetermined").addClass("jstree-unchecked"),i&&t.children(":checkbox").removeAttr("checked")}else{if(t.children("ul").children("li.jstree-unchecked, li.jstree-undetermined").length)return t.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined"),i&&t.parentsUntil(".jstree","li").andSelf().children(":checkbox").removeAttr("checked"),!1;t.removeClass("jstree-unchecked jstree-undetermined").addClass("jstree-checked"),i&&t.children(":checkbox").attr("checked","checked")}})}return this.data.ui&&this.data.checkbox.noui&&(this.data.ui.selected=this.get_checked()),this.__callback(t),!0},check_node:function(e){if(this.change_state(e,!1)){e=this._get_node(e);if(this._get_settings().checkbox.checked_parent_open){var t=this;e.parents(".jstree-closed").each(function(){t.open_node(this,!1,!0)})}this.__callback({obj:e})}},uncheck_node:function(e){this.change_state(e,!0)&&this.__callback({obj:this._get_node(e)})},check_all:function(){var e=this,t=this._get_settings().checkbox.two_state?this.get_container_ul().find("li"):this.get_container_ul().children("li");t.each(function(){e.change_state(this,!1)}),this.__callback()},uncheck_all:function(){var e=this,t=this._get_settings().checkbox.two_state?this.get_container_ul().find("li"):this.get_container_ul().children("li");t.each(function(){e.change_state(this,!0)}),this.__callback()},is_checked:function(e){return e=this._get_node(e),e.length?e.is(".jstree-checked"):!1},get_checked:function(e,t){return e=!e||e===-1?this.get_container():this._get_node(e),t||this._get_settings().checkbox.two_state?e.find(".jstree-checked"):e.find("> ul > .jstree-checked, .jstree-undetermined > ul > .jstree-checked")},get_unchecked:function(e,t){return e=!e||e===-1?this.get_container():this._get_node(e),t||this._get_settings().checkbox.two_state?e.find(".jstree-unchecked"):e.find("> ul > .jstree-unchecked, .jstree-undetermined > ul > .jstree-unchecked")},show_checkboxes:function(){this.get_container().children("ul").removeClass("jstree-no-checkboxes")},hide_checkboxes:function(){this.get_container().children("ul").addClass("jstree-no-checkboxes")},_repair_state:function(e){e=this._get_node(e);if(!e.length)return;var t=this._get_settings().checkbox.real_checkboxes,n=e.find("> ul > .jstree-checked").length,r=e.find("> ul > .jstree-undetermined").length,i=e.find("> ul > li").length;i===0?e.hasClass("jstree-undetermined")&&this.change_state(e,!1):n===0&&r===0?this.change_state(e,!0):n===i?this.change_state(e,!1):(e.parentsUntil(".jstree","li").andSelf().removeClass("jstree-checked jstree-unchecked").addClass("jstree-undetermined"),t&&e.parentsUntil(".jstree","li").andSelf().children(":checkbox").removeAttr("checked"))},reselect:function(){if(this.data.ui&&this.data.checkbox.noui){var t=this,n=this.data.ui.to_select;n=e.map(e.makeArray(n),function(e){return"#"+e.toString().replace(/^#/,"").replace(/\\\//g,"/").replace(/\//g,"\\/").replace(/\\\./g,".").replace(/\./g,"\\.").replace(/\:/g,"\\:")}),this.deselect_all(),e.each(n,function(e,n){t.check_node(n)}),this.__callback()}else this.__call_old()},save_loaded:function(){var e=this;this.data.core.to_load=[],this.get_container_ul().find("li.jstree-closed.jstree-undetermined").each(function(){this.id&&e.data.core.to_load.push("#"+this.id)})}}}),e(function(){var t=".jstree .jstree-real-checkbox { display:none; } ";e.vakata.css.add_sheet({str:t,title:"jstree"})})}(jQuery),function(t){t.jstree.plugin("types",{__init:function(){var n=this._get_settings().types;this.data.types.attach_to=[],this.get_container().bind("init.jstree",t.proxy(function(){var e=n.types,r=n.type_attr,i="",o=this;t.each(e,function(e,n){t.each(n,function(e,t){/^(max_depth|max_children|icon|valid_children)$/.test(e)||o.data.types.attach_to.push(e)});if(!n.icon)return!0;if(n.icon.image||n.icon.position)e=="default"?i+=".jstree-"+o.get_index()+" a > .jstree-icon { ":i+=".jstree-"+o.get_index()+" li["+r+'="'+e+'"] > a > .jstree-icon { ',n.icon.image&&(i+=" background-image:url("+n.icon.image+"); "),n.icon.position?i+=" background-position:"+n.icon.position+"; ":i+=" background-position:0 0; ",i+="} "}),i!==""&&t.vakata.css.add_sheet({str:i,title:"jstree-types"})},this)).bind("before.jstree",t.proxy(function(e,n){var r,i,s=this._get_settings().types.use_data?this._get_node(n.args[0]):!1,o=s&&s!==-1&&s.length?s.data("jstree"):!1;if(o&&o.types&&o.types[n.func]===!1)return e.stopImmediatePropagation(),!1;if(t.inArray(n.func,this.data.types.attach_to)!==-1){if(!n.args[0]||!n.args[0].tagName&&!n.args[0].jquery)return;r=this._get_settings().types.types,i=this._get_type(n.args[0]);if((r[i]&&typeof r[i][n.func]!="undefined"||r["default"]&&typeof r["default"][n.func]!="undefined")&&this._check(n.func,n.args[0])===!1)return e.stopImmediatePropagation(),!1}},this)),e&&this.get_container().bind("load_node.jstree set_type.jstree",t.proxy(function(e,n){var r=n&&n.rslt&&n.rslt.obj&&n.rslt.obj!==-1?this._get_node(n.rslt.obj).parent():this.get_container_ul(),i=!1,s=this._get_settings().types;t.each(s.types,function(e,t){t.icon&&(t.icon.image||t.icon.position)&&(i=e==="default"?r.find("li > a > .jstree-icon"):r.find("li["+s.type_attr+"='"+e+"'] > a > .jstree-icon"),t.icon.image&&i.css("backgroundImage","url("+t.icon.image+")"),i.css("backgroundPosition",t.icon.position||"0 0"))})},this))},defaults:{max_children:-1,max_depth:-1,valid_children:"all",use_data:!1,type_attr:"rel",types:{"default":{max_children:-1,max_depth:-1,valid_children:"all"}}},_fn:{_types_notify:function(e,t){t.type&&this._get_settings().types.use_data&&this.set_type(t.type,e)},_get_type:function(e){return e=this._get_node(e),!e||!e.length?!1:e.attr(this._get_settings().types.type_attr)||"default"},set_type:function(e,t){t=this._get_node(t);var n=!t.length||!e?!1:t.attr(this._get_settings().types.type_attr,e);return n&&this.__callback({obj:t,type:e}),n},_check:function(e,n,r){n=this._get_node(n);var i=!1,s=this._get_type(n),o=0,u=this,a=this._get_settings().types,f=!1;if(n===-1){if(!a[e])return;i=a[e]}else{if(s===!1)return;f=a.use_data?n.data("jstree"):!1,f&&f.types&&typeof f.types[e]!="undefined"?i=f.types[e]:!a.types[s]||typeof a.types[s][e]=="undefined"?!!a.types["default"]&&typeof a.types["default"][e]!="undefined"&&(i=a.types["default"][e]):i=a.types[s][e]}return t.isFunction(i)&&(i=i.call(this,n)),e==="max_depth"&&n!==-1&&r!==!1&&a.max_depth!==-2&&i!==0&&n.children("a:eq(0)").parentsUntil(".jstree","li").each(function(t){if(a.max_depth!==-1&&a.max_depth-(t+1)<=0)return i=0,!1;o=t===0?i:u._check(e,this,!1);if(o!==-1&&o-(t+1)<=0)return i=0,!1;o>=0&&(o-(t+1)=0&&(a.max_depth-(t+1) ul > li").not(e.o).length:e.cr.find("> ul > li").not(e.o).length;if(o+e.o.length>r)return!1}if(n.max_depth!==-2&&i!==-1){u=0;if(i===0)return!1;if(typeof e.o.d=="undefined"){a=e.o;while(a.length>0)a=a.find("> ul > li"),u++;e.o.d=u}if(i-e.o.d<0)return!1}return!0},create_node:function(e,n,r,i,s,o){if(!o&&(s||this._is_loaded(e))){var u=typeof n=="string"&&n.match(/^before|after$/i)&&e!==-1?this._get_parent(e):this._get_node(e),a=this._get_settings().types,f=this._check("max_children",u),l=this._check("max_depth",u),c=this._check("valid_children",u),h;typeof r=="string"&&(r={data:r}),r||(r={});if(c==="none")return!1;if(t.isArray(c))if(!r.attr||!r.attr[a.type_attr])r.attr||(r.attr={}),r.attr[a.type_attr]=c[0];else if(t.inArray(r.attr[a.type_attr],c)===-1)return!1;if(a.max_children!==-2&&f!==-1){h=u===-1?this.get_container().find("> ul > li").length:u.find("> ul > li").length;if(h+1>f)return!1}if(a.max_depth!==-2&&l!==-1&&l-1<0)return!1}return this.__call_old(!0,e,n,r,i,s,o)}}})}(jQuery)}(),define("jstree",function(){}),define("file-tree",["jquery","jstree","underscore","backbone","common"],function(t,n,r,i,s){t.jstree._themes=app.config.mediaUrl+"js/themes/";var o={options:{},formatRepoData:function(e){var t=[],n;for(var r=0,i=e.length;r-1;d--){p[d]=[];if(d==h-1)for(var v=0,m=e[d].length;v0&&t.extend(l,{children:p[0]}),s.push(l),i.hide(),f.renderDirTree(r,n,s),r.removeClass("hide")},error:function(){var e=[{data:o,attr:{repo_id:u,root_node:!0},state:"closed"}];i.hide(),f.renderDirTree(r,n,e),r.removeClass("hide")}})},prepareOtherReposTree:function(e){var n=this;t("#mv-dir-list #other-repos .hd").click(function(){var r=t("span",t(this)),i=t("#mv-form"),o=t(this).next(),u=t("#mv-dir-list #other-repos #other-repos-dirs");r.hasClass("icon-caret-right")?(r.attr("class","icon-caret-down"),o.show(),t.ajax({url:s.getUrl({name:"unenc_rw_repos"}),cache:!1,dataType:"json",success:function(t){var r=[],s=e.cur_repo_id;for(var a=0,f=t.length;a'+r.HTMLescape(this.model.get("name"))+""),s=e(this.repoDelConfirmTemplate({content:i})).appendTo(n).css({left:t.position().left,top:t.position().top+t.height()+2,width:180}),o=this;e(".no",s).click(function(){s.addClass("hide").remove(),o.rmHighlight()}),e(".yes",s).click(function(){e.ajax({url:r.getUrl({name:"repo_del",repo_id:o.model.get("id")}),dataType:"json",success:function(e){o.remove(),r.feedback(gettext("Delete succeeded."),"success")},error:function(t){s.addClass("hide").remove(),o.rmHighlight();var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),r.feedback(n,"error")}})})}});return i}),define("app/views/myhome-sub-repos",["jquery","underscore","backbone","common","file-tree","app/collections/repos","app/views/sub-lib","app/views/add-repo"],function(e,t,n,r,i,s,o,u){var a=n.View.extend({el:e("#repo-tabs"),events:{"click #sub-lib-create":"createRepo"},initialize:function(t){this.$tabs=e("#repo-tabs"),this.$table=this.$("#my-sub-repos table"),this.$tableHead=e("thead",this.$table),this.$tableBody=e("tbody",this.$table),this.$loadingTip=e(".loading-tip",this.$tabs),this.$emptyTip=e("#my-sub-repos .empty-tips"),this.repos=new s({type:"sub"}),this.listenTo(this.repos,"add",this.addOne),this.listenTo(this.repos,"reset",this.reset)},addOne:function(e,t,n){var r=new o({model:e});n.prepend?this.$tableBody.prepend(r.render().el):this.$tableBody.append(r.render().el)},reset:function(){this.$(".error").hide(),this.$tableBody.empty(),this.repos.each(this.addOne,this),this.repos.length?(this.$emptyTip.hide(),this.$table.show()):(this.$emptyTip.show(),this.$table.hide()),this.$loadingTip.hide()},showSubRepos:function(){this.$tabs.show(),e("#sublib-tab").parent().addClass("ui-state-active"),this.$table.hide();var t=this.$loadingTip;t.show();var n=this;this.repos.fetch({reset:!0,success:function(e,t,n){},error:function(e,r,i){t.hide();var s=n.$(".error"),o;r.responseText?r["status"]==401||r["status"]==403?o=gettext("Permission error"):o=gettext("Error"):o=gettext("Please check the network."),s.html(o).show()}})},show:function(){e("#sub-lib-create").show(),this.showSubRepos()},hide:function(){e("#sub-lib-create").hide(),this.$el.hide(),this.$table.hide(),this.$emptyTip.hide(),e("#sublib-tab",this.$tabs).parent().removeClass("ui-state-active")},createRepo:function(){var t=this,n=e("#sublib-create-form"),s=e(".dir-tree-cont",n);n.modal(),e.ajax({url:r.getUrl({name:"get_my_unenc_repos"}),cache:!1,dataType:"json",success:function(e){var t=i.formatRepoData(e);t.length>0?i.renderDirTree(s,n,t):s.html('

                                                    '+gettext("You don't have any library at present.")+"

                                                    ")},error:function(t,n,r){var i;t.responseText?i=e.parseJSON(t.responseText).error:i=gettext("Failed. Please check the network."),s.html('

                                                    '+i+"

                                                    ")}}),e(".submit",n).click(function(){var i=e('[name="dst_repo"]',n).val(),s=e('[name="dst_path"]',n).val();return!s||s=="/"?(e(".error",n).html(gettext("Please choose a directory")).removeClass("hide"),!1):(s=s.substr(0,s.length-1),e.ajax({url:r.getUrl({name:"sub_repo",repo_id:i})+"?p="+encodeURIComponent(s),dataType:"json",success:function(n){e.modal.close();var r={id:n.sub_repo_id,name:n.name,origin_repo_id:i,origin_path:s,abbrev_origin_path:n.abbrev_origin_path,mtime:(new Date).getTime()/1e3,mtime_relative:gettext("Just now")};t.repos.length>0?t.repos.add(r,{prepend:!0}):t.repos.reset([r])},error:function(t,r,i){var s;t.responseText?s=jQuery.parseJSON(t.responseText).error:s=gettext("Failed. Please check the network."),e(".error",n).html(s).removeClass("hide")}}),!1)})}});return a}),define("app/views/shared-repo",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#shared-repo-tmpl").html()),events:{mouseenter:"showAction",mouseleave:"hideAction","click .unshare-btn":"removeShare"},initialize:function(){},removeShare:function(t){var n=this,i=function(t){r.feedback(gettext("Success"),"success",r.SUCCESS_TIMOUT),n.$el.remove(),n.collection.remove(n.model,{silent:!0}),n.collection.length==0&&(e("#repos-shared-to-me table").hide(),e("#repos-shared-to-me .empty-tips").show())};r.ajaxGet({get_url:r.getUrl({name:"ajax_repo_remove_share"}),data:{repo_id:this.model.get("id"),from:this.model.get("owner"),share_type:this.model.get("share_type")},after_op_success:i})},render:function(){return this.$el.html(this.template(this.model.toJSON())),this},showAction:function(){this.$el.addClass("hl"),this.$el.find(".op-icon").removeClass("vh")},hideAction:function(){this.$el.removeClass("hl"),this.$el.find(".op-icon").addClass("vh")}});return i}),define("app/views/myhome-shared-repos",["jquery","underscore","backbone","common","app/collections/repos","app/views/shared-repo"],function(e,t,n,r,i,s){var o=n.View.extend({el:e("#repo-tabs"),reposHdTemplate:t.template(e("#shared-repos-hd-tmpl").html()),initialize:function(t){this.$tabs=e("#repo-tabs"),this.$table=e("#repos-shared-to-me table"),this.$tableHead=e("thead",this.$table),this.$tableBody=e("tbody",this.$table),this.$loadingTip=e(".loading-tip",this.$tabs),this.$emptyTip=e("#repos-shared-to-me .empty-tips"),this.repos=new i({type:"shared"}),this.listenTo(this.repos,"add",this.addOne),this.listenTo(this.repos,"reset",this.reset)},addOne:function(e,t,n){var r=new s({model:e,collection:this.repos});n.prepend?this.$tableBody.prepend(r.render().el):this.$tableBody.append(r.render().el)},renderReposHd:function(){this.$tableHead.html(this.reposHdTemplate())},reset:function(){this.$(".error").hide(),this.$loadingTip.hide(),this.repos.length?(this.$emptyTip.hide(),this.renderReposHd(),this.$tableBody.empty(),this.repos.each(this.addOne,this),this.$table.show()):(this.$emptyTip.show(),this.$table.hide())},showSharedRepos:function(){this.$tabs.show(),e("#shared-lib-tab").parent().addClass("ui-state-active"),this.$table.hide();var t=this.$loadingTip;t.show();var n=this;this.repos.fetch({reset:!0,success:function(e,t,n){},error:function(e,r,i){t.hide();var s=n.$(".error"),o;r.responseText?r["status"]==401||r["status"]==403?o=gettext("Permission error"):o=gettext("Error"):o=gettext("Please check the network."),s.html(o).show()}})},show:function(){this.showSharedRepos()},hide:function(){this.$el.hide(),this.$table.hide(),this.$emptyTip.hide(),e("#shared-lib-tab",this.$tabs).parent().removeClass("ui-state-active")},events:{"click #repos-shared-to-me .by-name":"sortByName","click #repos-shared-to-me .by-time":"sortByTime"},sortByName:function(){var t=this.repos,n=e(".by-name",this.$table);t.comparator=function(e,t){var i=r.compareTwoWord(e.get("name"),t.get("name"));return n.hasClass("icon-caret-up")?-i:i},t.sort(),this.$tableBody.empty(),t.each(this.addOne,this),n.toggleClass("icon-caret-up icon-caret-down"),t.comparator=null},sortByTime:function(){var t=this.repos,n=e(".by-time",this.$table);t.comparator=function(e,t){return n.hasClass("icon-caret-down")?e.get("mtime")(e||g.height())},_setFocus:function(){(p.st.focus?p.content.find(p.st.focus).eq(0):p.wrap).focus()},_onFocusIn:function(t){if(t.target!==p.wrap[0]&&!e.contains(p.wrap[0],t.target))return p._setFocus(),!1},_parseMarkup:function(t,n,r){var i;r.data&&(n=e.extend(r.data,n)),N(s,[t,n,r]),e.each(n,function(e,n){if(n===undefined||n===!1)return!0;i=e.split("_");if(i.length>1){var r=t.find(f+"-"+i[0]);if(r.length>0){var s=i[1];s==="replaceWith"?r[0]!==n[0]&&r.replaceWith(n):s==="img"?r.is("img")?r.attr("src",n):r.replaceWith(''):r.attr(i[1],n)}}else t.find(f+"-"+e).html(n)})},_getScrollbarSize:function(){if(p.scrollbarSize===undefined){var e=document.createElement("div");e.style.cssText="width: 99px; height: 99px; overflow: scroll; position: absolute; top: -9999px;",document.body.appendChild(e),p.scrollbarSize=e.offsetWidth-e.clientWidth,document.body.removeChild(e)}return p.scrollbarSize}},e.magnificPopup={instance:null,proto:d.prototype,modules:[],open:function(t,n){return k(),t?t=e.extend(!0,{},t):t={},t.isObj=!0,t.index=n||0,this.instance.open(t)},close:function(){return e.magnificPopup.instance&&e.magnificPopup.instance.close()},registerModule:function(t,n){n.options&&(e.magnificPopup.defaults[t]=n.options),e.extend(this.proto,n.proto),this.modules.push(t)},defaults:{disableOn:0,key:null,midClick:!1,mainClass:"",preloader:!0,focus:"",closeOnContentClick:!1,closeOnBgClick:!0,closeBtnInside:!0,showCloseBtn:!0,enableEscapeKey:!0,modal:!1,alignTop:!1,removalDelay:0,prependTo:null,fixedContentPos:"auto",fixedBgPos:"auto",overflowY:"auto",closeMarkup:'',tClose:"Close (Esc)",tLoading:"Loading..."}},e.fn.magnificPopup=function(t){k();var n=e(this);if(typeof t=="string")if(t==="open"){var r,i=v?n.data("magnificPopup"):n[0].magnificPopup,s=parseInt(arguments[1],10)||0;i.items?r=i.items[s]:(r=n,i.delegate&&(r=r.find(i.delegate)),r=r.eq(s)),p._openClick({mfpEl:r},n,i)}else p.isOpen&&p[t].apply(p,Array.prototype.slice.call(arguments,1));else t=e.extend(!0,{},t),v?n.data("magnificPopup",t):n[0].magnificPopup=t,p.addGroup(n,t);return n};var A="inline",O,M,_,D=function(){_&&(M.after(_.addClass(O)).detach(),_=null)};e.magnificPopup.registerModule(A,{options:{hiddenClass:"hide",markup:"",tNotFound:"Content not found"},proto:{initInline:function(){p.types.push(A),x(t+"."+A,function(){D()})},getInline:function(t,n){D();if(t.src){var r=p.st.inline,i=e(t.src);if(i.length){var s=i[0].parentNode;s&&s.tagName&&(M||(O=r.hiddenClass,M=T(O),O="mfp-"+O),_=i.after(M).detach().removeClass(O)),p.updateStatus("ready")}else p.updateStatus("error",r.tNotFound),i=e("
                                                    ");return t.inlineElement=i,i}return p.updateStatus("ready"),p._parseMarkup(n,{},t),n}}});var P="ajax",H,B=function(){H&&y.removeClass(H)},j=function(){B(),p.req&&p.req.abort()};e.magnificPopup.registerModule(P,{options:{settings:null,cursor:"mfp-ajax-cur",tError:'The content could not be loaded.'},proto:{initAjax:function(){p.types.push(P),H=p.st.ajax.cursor,x(t+"."+P,j),x("BeforeChange."+P,j)},getAjax:function(t){H&&y.addClass(H),p.updateStatus("loading");var n=e.extend({url:t.src,success:function(n,r,i){var s={data:n,xhr:i};N("ParseAjax",s),p.appendContent(e(s.data),P),t.finished=!0,B(),p._setFocus(),setTimeout(function(){p.wrap.addClass(l)},16),p.updateStatus("ready"),N("AjaxContentAdded")},error:function(){B(),t.finished=t.loadError=!0,p.updateStatus("error",p.st.ajax.tError.replace("%url%",t.src))}},p.st.ajax.settings);return p.req=e.ajax(n),""}}});var F,I=function(t){if(t.data&&t.data.title!==undefined)return t.data.title;var n=p.st.image.titleSrc;if(n){if(e.isFunction(n))return n.call(p,t);if(t.el)return t.el.attr(n)||""}return""};e.magnificPopup.registerModule("image",{options:{markup:'
                                                    ',cursor:"mfp-zoom-out-cur",titleSrc:"title",verticalFit:!0,tError:'The image could not be loaded.'},proto:{initImage:function(){var e=p.st.image,n=".image";p.types.push("image"),x(o+n,function(){p.currItem.type==="image"&&e.cursor&&y.addClass(e.cursor)}),x(t+n,function(){e.cursor&&y.removeClass(e.cursor),g.off("resize"+f)}),x("Resize"+n,p.resizeImage),p.isLowIE&&x("AfterChange",p.resizeImage)},resizeImage:function(){var e=p.currItem;if(!e||!e.img)return;if(p.st.image.verticalFit){var t=0;p.isLowIE&&(t=parseInt(e.img.css("padding-top"),10)+parseInt(e.img.css("padding-bottom"),10)),e.img.css("max-height",p.wH-t)}},_onImageHasSize:function(e){e.img&&(e.hasSize=!0,F&&clearInterval(F),e.isCheckingImgSize=!1,N("ImageHasSize",e),e.imgHidden&&(p.content&&p.content.removeClass("mfp-loading"),e.imgHidden=!1))},findImageSize:function(e){var t=0,n=e.img[0],r=function(i){F&&clearInterval(F),F=setInterval(function(){if(n.naturalWidth>0){p._onImageHasSize(e);return}t>200&&clearInterval(F),t++,t===3?r(10):t===40?r(50):t===100&&r(500)},i)};r(1)},getImage:function(t,n){var r=0,i=function(){t&&(t.img[0].complete?(t.img.off(".mfploader"),t===p.currItem&&(p._onImageHasSize(t),p.updateStatus("ready")),t.hasSize=!0,t.loaded=!0,N("ImageLoadComplete")):(r++,r<200?setTimeout(i,100):s()))},s=function(){t&&(t.img.off(".mfploader"),t===p.currItem&&(p._onImageHasSize(t),p.updateStatus("error",o.tError.replace("%url%",t.src))),t.hasSize=!0,t.loaded=!0,t.loadError=!0)},o=p.st.image,u=n.find(".mfp-img");if(u.length){var a=document.createElement("img");a.className="mfp-img",t.el&&t.el.find("img").length&&(a.alt=t.el.find("img").attr("alt")),t.img=e(a).on("load.mfploader",i).on("error.mfploader",s),a.src=t.src,u.is("img")&&(t.img=t.img.clone()),a=t.img[0],a.naturalWidth>0?t.hasSize=!0:a.width||(t.hasSize=!1)}return p._parseMarkup(n,{title:I(t),img_replaceWith:t.img},t),p.resizeImage(),t.hasSize?(F&&clearInterval(F),t.loadError?(n.addClass("mfp-loading"),p.updateStatus("error",o.tError.replace("%url%",t.src))):(n.removeClass("mfp-loading"),p.updateStatus("ready")),n):(p.updateStatus("loading"),t.loading=!0,t.hasSize||(t.imgHidden=!0,n.addClass("mfp-loading"),p.findImageSize(t)),n)}}});var q,R=function(){return q===undefined&&(q=document.createElement("p").style.MozTransform!==undefined),q};e.magnificPopup.registerModule("zoom",{options:{enabled:!1,easing:"ease-in-out",duration:300,opener:function(e){return e.is("img")?e:e.find("img")}},proto:{initZoom:function(){var e=p.st.zoom,r=".zoom",i;if(!e.enabled||!p.supportsTransition)return;var s=e.duration,o=function(t){var n=t.clone().removeAttr("style").removeAttr("class").addClass("mfp-animated-image"),r="all "+e.duration/1e3+"s "+e.easing,i={position:"fixed",zIndex:9999,left:0,top:0,"-webkit-backface-visibility":"hidden"},s="transition";return i["-webkit-"+s]=i["-moz-"+s]=i["-o-"+s]=i[s]=r,n.css(i),n},u=function(){p.content.css("visibility","visible")},a,f;x("BuildControls"+r,function(){if(p._allowZoom()){clearTimeout(a),p.content.css("visibility","hidden"),i=p._getItemToZoom();if(!i){u();return}f=o(i),f.css(p._getOffset()),p.wrap.append(f),a=setTimeout(function(){f.css(p._getOffset(!0)),a=setTimeout(function(){u(),setTimeout(function(){f.remove(),i=f=null,N("ZoomAnimationEnded")},16)},s)},16)}}),x(n+r,function(){if(p._allowZoom()){clearTimeout(a),p.st.removalDelay=s;if(!i){i=p._getItemToZoom();if(!i)return;f=o(i)}f.css(p._getOffset(!0)),p.wrap.append(f),p.content.css("visibility","hidden"),setTimeout(function(){f.css(p._getOffset())},16)}}),x(t+r,function(){p._allowZoom()&&(u(),f&&f.remove(),i=null)})},_allowZoom:function(){return p.currItem.type==="image"},_getItemToZoom:function(){return p.currItem.hasSize?p.currItem.img:!1},_getOffset:function(t){var n;t?n=p.currItem.img:n=p.st.zoom.opener(p.currItem.el||p.currItem);var r=n.offset(),i=parseInt(n.css("padding-top"),10),s=parseInt(n.css("padding-bottom"),10);r.top-=e(window).scrollTop()-i;var o={width:n.width(),height:(v?n.innerHeight():n[0].offsetHeight)-s-i};return R()?o["-moz-transform"]=o.transform="translate("+r.left+"px,"+r.top+"px)":(o.left=r.left,o.top=r.top),o}}});var U="iframe",z="//about:blank",W=function(e){if(p.currTemplate[U]){var t=p.currTemplate[U].find("iframe");t.length&&(e||(t[0].src=z),p.isIE8&&t.css("display",e?"block":"none"))}};e.magnificPopup.registerModule(U,{options:{markup:'
                                                    ',srcAction:"iframe_src",patterns:{youtube:{index:"youtube.com",id:"v=",src:"//www.youtube.com/embed/%id%?autoplay=1"},vimeo:{index:"vimeo.com/",id:"/",src:"//player.vimeo.com/video/%id%?autoplay=1"},gmaps:{index:"//maps.google.",src:"%id%&output=embed"}}},proto:{initIframe:function(){p.types.push(U),x("BeforeChange",function(e,t,n){t!==n&&(t===U?W():n===U&&W(!0))}),x(t+"."+U,function(){W()})},getIframe:function(t,n){var r=t.src,i=p.st.iframe;e.each(i.patterns,function(){if(r.indexOf(this.index)>-1)return this.id&&(typeof this.id=="string"?r=r.substr(r.lastIndexOf(this.id)+this.id.length,r.length):r=this.id.call(this,r)),r=this.src.replace("%id%",r),!1});var s={};return i.srcAction&&(s[i.srcAction]=r),p._parseMarkup(n,s,t),p.updateStatus("ready"),n}}});var X=function(e){var t=p.items.length;return e>t-1?e-t:e<0?t+e:e},V=function(e,t,n){return e.replace(/%curr%/gi,t+1).replace(/%total%/gi,n)};e.magnificPopup.registerModule("gallery",{options:{enabled:!1,arrowMarkup:'',preload:[0,2],navigateByImgClick:!0,arrows:!0,tPrev:"Previous (Left arrow key)",tNext:"Next (Right arrow key)",tCounter:"%curr% of %total%"},proto:{initGallery:function(){var n=p.st.gallery,r=".mfp-gallery",i=Boolean(e.fn.mfpFastClick);p.direction=!0;if(!n||!n.enabled)return!1;E+=" mfp-gallery",x(o+r,function(){n.navigateByImgClick&&p.wrap.on("click"+r,".mfp-img",function(){if(p.items.length>1)return p.next(),!1}),b.on("keydown"+r,function(e){e.keyCode===37?p.prev():e.keyCode===39&&p.next()})}),x("UpdateStatus"+r,function(e,t){t.text&&(t.text=V(t.text,p.currItem.index,p.items.length))}),x(s+r,function(e,t,r,i){var s=p.items.length;r.counter=s>1?V(n.tCounter,i.index,s):""}),x("BuildControls"+r,function(){if(p.items.length>1&&n.arrows&&!p.arrowLeft){var t=n.arrowMarkup,r=p.arrowLeft=e(t.replace(/%title%/gi,n.tPrev).replace(/%dir%/gi,"left")).addClass(h),s=p.arrowRight=e(t.replace(/%title%/gi,n.tNext).replace(/%dir%/gi,"right")).addClass(h),o=i?"mfpFastClick":"click";r[o](function(){p.prev()}),s[o](function(){p.next()}),p.isIE7&&(T("b",r[0],!1,!0),T("a",r[0],!1,!0),T("b",s[0],!1,!0),T("a",s[0],!1,!0)),p.container.append(r.add(s))}}),x(u+r,function(){p._preloadTimeout&&clearTimeout(p._preloadTimeout),p._preloadTimeout=setTimeout(function(){p.preloadNearbyImages(),p._preloadTimeout=null},16)}),x(t+r,function(){b.off(r),p.wrap.off("click"+r),p.arrowLeft&&i&&p.arrowLeft.add(p.arrowRight).destroyMfpFastClick(),p.arrowRight=p.arrowLeft=null})},next:function(){p.direction=!0,p.index=X(p.index+1),p.updateItemHTML()},prev:function(){p.direction=!1,p.index=X(p.index-1),p.updateItemHTML()},goTo:function(e){p.direction=e>=p.index,p.index=e,p.updateItemHTML()},preloadNearbyImages:function(){var e=p.st.gallery.preload,t=Math.min(e[0],p.items.length),n=Math.min(e[1],p.items.length),r;for(r=1;r<=(p.direction?n:t);r++)p._preloadItem(p.index+r);for(r=1;r<=(p.direction?t:n);r++)p._preloadItem(p.index-r)},_preloadItem:function(t){t=X(t);if(p.items[t].preloaded)return;var n=p.items[t];n.parsed||(n=p.parseEl(t)),N("LazyLoad",n),n.type==="image"&&(n.img=e('').on("load.mfploader",function(){n.hasSize=!0}).on("error.mfploader",function(){n.hasSize=!0,n.loadError=!0,N("LazyLoadError",n)}).attr("src",n.src)),n.preloaded=!0}}});var $="retina";e.magnificPopup.registerModule($,{options:{replaceSrc:function(e){return e.src.replace(/\.\w+$/,function(e){return"@2x"+e})},ratio:1},proto:{initRetina:function(){if(window.devicePixelRatio>1){var e=p.st.retina,t=e.ratio;t=isNaN(t)?t():t,t>1&&(x("ImageHasSize."+$,function(e,n){n.img.css({"max-width":n.img[0].naturalWidth/t,width:"100%"})}),x("ElementParse."+$,function(n,r){r.src=e.replaceSrc(r,t)}))}}}}),function(){var t=1e3,n="ontouchstart"in window,r=function(){g.off("touchmove"+s+" touchend"+s)},i="mfpFastClick",s="."+i;e.fn.mfpFastClick=function(i){return e(this).each(function(){var o=e(this),u;if(n){var a,f,l,c,h,p;o.on("touchstart"+s,function(e){c=!1,p=1,h=e.originalEvent?e.originalEvent.touches[0]:e.touches[0],f=h.clientX,l=h.clientY,g.on("touchmove"+s,function(e){h=e.originalEvent?e.originalEvent.touches:e.touches,p=h.length,h=h[0];if(Math.abs(h.clientX-f)>10||Math.abs(h.clientY-l)>10)c=!0,r()}).on("touchend"+s,function(e){r();if(c||p>1)return;u=!0,e.preventDefault(),clearTimeout(a),a=setTimeout(function(){u=!1},t),i()})})}o.on("click"+s,function(){u||i()})})},e.fn.destroyMfpFastClick=function(){e(this).off("touchstart"+s+" click"+s),n&&g.off("touchmove"+s+" touchend"+s)}}(),k()}),define("app/views/starred-file-item",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#starred-file-item-tmpl").html()),events:{mouseenter:"showAction",mouseleave:"hideAction","click .unstar":"removeShare"},initialize:function(){},render:function(){var e=this.model.toJSON();return e.is_img=r.imageCheck(e.file_name),e.encoded_path=r.encodePath(e.path),this.$el.html(this.template(e)),this},removeShare:function(){var t=this,n=this.model.get("repo"),i=this.model.get("file_name"),s=this.model.get("path");e.ajax({url:r.getUrl({name:"starred_files"})+"?p="+encodeURIComponent(s)+"&repo_id="+n,type:"DELETE",beforeSend:r.prepareCSRFToken,success:function(){t.remove(),r.feedback(gettext("Successfully unstared {placeholder}").replace("{placeholder}",r.HTMLescape(i)),"success")},error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),r.feedback(n,"error")}})},showAction:function(){this.$el.addClass("hl"),this.$el.find(".op-icon").removeClass("vh")},hideAction:function(){this.$el.removeClass("hl"),this.$el.find(".op-icon").addClass("vh")}});return i}),define("app/models/starred-file",["underscore","backbone"],function(e,t){var n=t.Model.extend({});return n}),define("app/collections/starred-files",["underscore","backbone","common","app/models/starred-file"],function(e,t,n,r){var i=t.Collection.extend({model:r,url:function(){return n.getUrl({name:"starred_files"})}});return i}),define("app/views/starred-file",["jquery","underscore","backbone","common","jquery.magnific-popup","app/views/starred-file-item","app/collections/starred-files"],function(e,t,n,r,i,s,o){var u=n.View.extend({el:e("#starred-file"),initialize:function(){this.$table=this.$("table"),this.$tableBody=this.$("tbody"),this.$loadingTip=this.$(".loading-tip"),this.$emptyTip=this.$(".empty-tips"),this.starredFiles=new o,this.listenTo(this.starredFiles,"reset",this.reset),this.$el.magnificPopup({type:"image",delegate:".img-name-link",tClose:gettext("Close (Esc)"),tLoading:gettext("Loading..."),gallery:{enabled:!0,tPrev:gettext("Previous (Left arrow key)"),tNext:gettext("Next (Right arrow key)"),tCounter:gettext("%curr% of %total%")},image:{titleSrc:function(e){var t=e.el,n=t[0].innerHTML,r=''+gettext("Open in New Tab")+"";return n+"
                                                    "+r},tError:gettext('The image could not be loaded.')}})},addOne:function(e){var t=new s({model:e});this.$tableBody.append(t.render().el)},reset:function(){this.$tableBody.empty(),this.$loadingTip.hide(),this.starredFiles.each(this.addOne,this),this.starredFiles.length?(this.$emptyTip.hide(),this.$table.show()):(this.$emptyTip.show(),this.$table.hide())},hide:function(){this.$el.hide()},show:function(){this.$el.show(),this.$table.hide(),this.$loadingTip.show(),this.starredFiles.fetch({reset:!0})}});return u}),define("app/views/myhome-side-nav",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({el:"#myhome-side-nav",template:t.template(e("#myhome-side-nav-tmpl").html()),enableModTemplate:t.template(e("#myhome-mods-enable-form-tmpl").html()),initialize:function(){},render:function(t){return this.$el.html(this.template({mods_enabled:app.pageOptions.user_mods_enabled,can_add_repo:app.pageOptions.can_add_repo,events_enabled:app.pageOptions.events_enabled})),this.$el.find("li").removeClass("tab-cur"),this.$el.find("a").each(function(){if(e(this).attr("href").match(t)){e(this).parent().addClass("tab-cur");return}}),this},events:{"click #myhome-enable-mods":"enableMods"},enableMods:function(){var t=app.pageOptions.user_mods_enabled,n=e(this.enableModTemplate({mods_available:app.pageOptions.user_mods_available,mods_enabled:t}));n.modal(),e("#simplemodal-container").css("height","auto"),e(".checkbox-orig",n).click(function(){e(this).parent().toggleClass("checkbox-checked")});var i=e('[name="personal_wiki"]'),s=i.prop("checked"),o=this;n.submit(function(){var u=i.prop("checked");return u==s?!1:(r.ajaxPost({form:n,form_id:n.attr("id"),post_url:r.getUrl({name:"toggle_personal_modules"}),post_data:{personal_wiki:u},after_op_success:function(){if(u)t.push("personal wiki");else{var n=t.indexOf("personal wiki");n>-1&&t.splice(n,1)}e.modal.close(),o.render()}}),!1)})},show:function(e){this.render(e),this.$el.show()},hide:function(){this.$el.hide()}});return i}),define("app/views/myhome",["jquery","underscore","backbone","common","app/views/myhome-repos","app/views/myhome-sub-repos","app/views/myhome-shared-repos","app/views/starred-file","app/views/myhome-side-nav"],function(e,t,n,r,i,s,o,u,a){var f=n.View.extend({el:"#main",initialize:function(t){this.sideNavView=new a,this.reposView=new i,this.subReposView=new s,this.sharedReposView=new o,this.starredFileView=new u,this.dirView=t.dirView,this.currentView=this.reposView,e("#initial-loading-view").hide()},showMyRepos:function(){this.sideNavView.show("my-libs"),this.currentView.hide(),this.reposView.show(),this.currentView=this.reposView},showMySubRepos:function(){this.sideNavView.show("my-libs"),this.currentView.hide(),this.subReposView.show(),this.currentView=this.subReposView},showSharedRepos:function(){this.sideNavView.show("my-libs"),this.currentView.hide(),this.sharedReposView.show(),this.currentView=this.sharedReposView},showStarredFile:function(){this.sideNavView.show("starred"),this.currentView.hide(),this.starredFileView.show(),this.currentView=this.starredFileView},showDir:function(e,t,n){this.sideNavView.show("my-libs");var n=n||"/";this.currentView.hide(),this.dirView.showDir(e,t,n),this.currentView=this.dirView},hide:function(){this.currentView.hide(),this.sideNavView.hide()}});return f}),define("app/models/group-repo",["underscore","backbone","app/models/repo"],function(e,t,n){var r=n.extend({defaults:{permission:"r"}});return e.extend(r.prototype.defaults,n.prototype.defaults),r}),define("app/collections/group-repos",["underscore","backbone","common","app/models/group-repo"],function(e,t,n,r){var i=t.Collection.extend({model:r,comparator:0/0,url:function(){return n.getUrl({name:"group_repos",group_id:this.group_id})},parse:function(e){return this.is_staff=e.is_staff,e.repos},setGroupID:function(e){this.group_id=e}});return i}),define("app/views/group-repo",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#group-repo-tmpl").html()),events:{mouseenter:"highlight",mouseleave:"rmHighlight","click .cancel-share":"unshare"},initialize:function(e){this.group_id=e.group_id,this.is_staff=e.is_staff,this.listenTo(this.model,"destroy",this.remove)},render:function(){var t=this.model.toJSON();return e.extend(t,{group_id:this.group_id,is_staff:this.is_staff}),this.$el.html(this.template(t)),this},highlight:function(){this.$el.addClass("hl").find(".op-icon").removeClass("vh")},rmHighlight:function(){this.$el.removeClass("hl").find(".op-icon").addClass("vh")},unshare:function(){var t=this.model.get("name");this.model.destroy({wait:!0,success:function(){var e=gettext("Successfully unshared {placeholder}").replace("{placeholder}",''+r.HTMLescape(t)+"");r.feedback(e,"success",r.SUCCESS_TIMOUT)},error:function(t,n){var i;n.responseText?i=e.parseJSON(n.responseText).error_msg:i=gettext("Failed. Please check the network."),r.feedback(i,"error")}})}});return i}),define("app/views/add-group-repo",["jquery","simplemodal","underscore","backbone","common","app/views/add-repo"],function(e,t,n,r,i,s){var o=s.extend({templateData:function(){return{showSharePerm:!0}},newAttributes:function(){var t=s.prototype.newAttributes.apply(this);return n.extend(t,{permission:e("select[name=permission]",this.$el).val()})}});return o}),define("app/views/group-side-nav",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({el:"#group-side-nav",template:t.template(e("#group-side-nav-tmpl").html()),enableModTemplate:t.template(e("#group-mods-enable-form-tmpl").html()),initialize:function(){},render:function(t){this.group_id=t;var n=this;e.ajax({url:r.getUrl({name:"group_basic_info",group_id:this.group_id}),cache:!1,dataType:"json",success:function(e){n.$el.html(n.template(e)),n.mods_available=e.mods_available,n.mods_enabled=e.mods_enabled},error:function(t){var r;t.responseText?r=e.parseJSON(t.responseText).error:r=gettext("Please check the network."),n.$el.html('

                                                    '+r+"

                                                    ")}})},events:{"click #enable-mods":"enableMods"},enableMods:function(){var t=e(this.enableModTemplate({mods_available:this.mods_available,mods_enabled:this.mods_enabled}));t.modal(),e("#simplemodal-container").css("height","auto"),e(".checkbox-orig",t).click(function(){e(this).parent().toggleClass("checkbox-checked")});var n=e('[name="group_wiki"]'),i=n.prop("checked"),s=this;t.submit(function(){var o=n.prop("checked");return o==i?!1:(r.ajaxPost({form:t,form_id:t.attr("id"),post_url:r.getUrl({name:"toggle_group_modules",group_id:s.group_id}),post_data:{group_wiki:o},after_op_success:function(){e.modal.close(),s.render(s.group_id)}}),!1)})},show:function(){this.$el.show()},hide:function(){this.$el.hide()}});return i}),define("app/views/group",["jquery","underscore","backbone","common","app/collections/group-repos","app/views/group-repo","app/views/add-group-repo","app/views/group-side-nav"],function(e,t,n,r,i,s,o,u){var a=n.View.extend({el:"#group-repo-tabs",reposHdTemplate:t.template(e("#shared-repos-hd-tmpl").html()),events:{"click .repo-create":"createRepo","click #grp-repos .by-name":"sortByName","click #grp-repos .by-time":"sortByTime"},initialize:function(e){this.$tabs=this.$el,this.$table=this.$("table"),this.$tableHead=this.$("thead"),this.$tableBody=this.$("tbody"),this.$loadingTip=this.$(".loading-tip"),this.$emptyTip=this.$(".empty-tips"),this.sideNavView=new u,this.repos=new i,this.listenTo(this.repos,"add",this.addOne),this.listenTo(this.repos,"reset",this.reset),this.dirView=e.dirView},addOne:function(e,t,n){var r=new s({model:e,group_id:this.group_id,is_staff:this.repos.is_staff});n.prepend?this.$tableBody.prepend(r.render().el):this.$tableBody.append(r.render().el)},renderReposHd:function(){this.$tableHead.html(this.reposHdTemplate())},reset:function(){this.$(".error").hide(),this.$loadingTip.hide(),this.repos.length?(this.$emptyTip.hide(),this.renderReposHd(),this.$tableBody.empty(),this.repos.each(this.addOne,this),this.$table.show()):(this.$emptyTip.show(),this.$table.hide())},showSideNav:function(){var e=this.sideNavView;if(e.group_id&&e.group_id==this.group_id){e.show();return}e.render(this.group_id),e.show()},showRepoList:function(e){this.group_id=e,this.showSideNav(),this.dirView.hide(),this.$emptyTip.hide(),this.$tabs.show(),this.$table.hide();var t=this.$loadingTip;t.show();var n=this;this.repos.setGroupID(e),this.repos.fetch({reset:!0,data:{from:"web"},success:function(e,t,n){},error:function(e,r,i){t.hide();var s=n.$(".error"),o;r.responseText?r["status"]==401||r["status"]==403?o=gettext("Permission error"):o=gettext("Error"):o=gettext("Please check the network."),s.html(o).show()}})},hideRepoList:function(){this.$tabs.hide()},showDir:function(e,t,n){this.group_id=e,this.showSideNav(),this.hideRepoList(),this.dirView.showDir("group/"+this.group_id,t,n)},createRepo:function(){new o(this.repos)},sortByName:function(){var t=this.repos,n=e(".by-name",this.$table);t.comparator=function(e,t){var i=r.compareTwoWord(e.get("name"),t.get("name"));return n.hasClass("icon-caret-up")?-i:i},t.sort(),this.$tableBody.empty(),t.each(this.addOne,this),n.toggleClass("icon-caret-up icon-caret-down"),t.comparator=null},sortByTime:function(){var t=this.repos,n=e(".by-time",this.$table);t.comparator=function(e,t){return n.hasClass("icon-caret-down")?e.get("mtime")'+r.HTMLescape(t)+"");r.feedback(n,"success",r.SUCCESS_TIMOUT)},after_op_error:function(e){r.ajaxErrorHandler(e)}})}});return i}),define("app/views/create-pub-repo",["jquery","simplemodal","underscore","backbone","common","app/views/add-repo"],function(e,t,n,r,i,s){var o=s.extend({templateData:function(){return{showSharePerm:!0}},newAttributes:function(){var t=s.prototype.newAttributes.apply(this);return n.extend(t,{permission:e("select[name=permission]",this.$el).val()})}});return o}),define("app/views/add-pubrepo-item",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#add-pubrepo-item-tmpl").html()),events:{"click .select":"select","change .share-permission-select":"selectPerm"},initialize:function(){},selectPerm:function(t){var n=e(t.currentTarget).val();this.model.set({pub_perm:n},{silent:!0})},select:function(){var e=this.$(".checkbox");e.toggleClass("checkbox-checked"),e.hasClass("checkbox-checked")?this.model.set({selected:!0},{silent:!0}):this.model.set({selected:!1},{silent:!0})},render:function(){return this.$el.html(this.template(this.model.toJSON())),this}});return i}),define("app/views/add-pub-repo",["jquery","simplemodal","underscore","backbone","common","app/collections/repos","app/views/add-pubrepo-item"],function(e,t,n,r,i,s,o){var u=r.View.extend({id:"add-pubrepo-popup",template:n.template(e("#add-pubrepo-popup-tmpl").html()),initialize:function(t){this.$el.html(this.template()).modal({}),e("#simplemodal-container").css({width:"auto",height:"auto"}),this.$table=this.$("table"),this.$tableBody=this.$("tbody"),this.$loadingTip=this.$(".loading-tip"),this.myRepos=new s,this.pubRepos=t,this.listenTo(this.myRepos,"reset",this.reset),this.myRepos.fetch({reset:!0})},events:{"click .submit":"submit"},submit:function(){var t=this.myRepos.where({selected:!0}),r=this,s=[];n.each(t,function(t){var n=t.id,r="rw";t.has("pub_perm")&&(r=t.get("pub_perm")),s.push(e.ajax({url:i.getUrl({name:"shared_repos",repo_id:n})+"?share_type=public&permission="+r,type:"PUT",beforeSend:i.prepareCSRFToken,dataType:"json",error:function(e,t,n){i.ajaxErrorHandler(e,t,n)}}))});var o=e.when.apply(e,s);o.done(function(){e.modal.close(),r.pubRepos.fetch({reset:!0})})},addOne:function(e){var t=new o({model:e});this.$tableBody.append(t.render().el)},reset:function(){this.$loadingTip.hide(),this.$table.show(),this.myRepos.each(this.addOne,this)}});return u}),define("app/views/organization",["jquery","underscore","backbone","common","app/collections/pub-repos","app/views/organization-repo","app/views/create-pub-repo","app/views/add-pub-repo"],function(e,t,n,r,i,s,o,u){var a=n.View.extend({el:"#main",reposHdTemplate:t.template(e("#shared-repos-hd-tmpl").html()),initialize:function(t){this.$sideNav=e("#org-side-nav"),this.$reposDiv=e("#organization-repos"),this.$table=e("#organization-repos table"),this.$tableHead=e("thead",this.$table),this.$tableBody=e("tbody",this.$table),this.$loadingTip=e("#organization-repos .loading-tip"),this.$emptyTip=e("#organization-repos .empty-tips"),this.repos=new i,this.listenTo(this.repos,"add",this.addOne),this.listenTo(this.repos,"reset",this.reset),this.dirView=t.dirView;var n=e("#add-pub-lib"),s=e("#add-pub-lib-menu");n.click(function(){s.toggleClass("hide"),s.css({top:n.position().top+n.outerHeight(),right:10})}),e(".item",s).hover(function(){e(this).css({background:"#f3f3f3"})},function(){e(this).css({background:"transparent"})}),e(document).click(function(e){r.closePopup(e,s,n)})},events:{"click #organization-repos .share-existing":"addRepo","click #organization-repos .create-new":"createRepo","click #organization-repos .by-name":"sortByName","click #organization-repos .by-time":"sortByTime"},createRepo:function(){new o(this.repos)},addRepo:function(){new u(this.repos)},addOne:function(e,t,n){var r=new s({model:e,collection:this.repos});n.prepend?this.$tableBody.prepend(r.render().el):this.$tableBody.append(r.render().el)},renderReposHd:function(){this.$tableHead.html(this.reposHdTemplate())},reset:function(){this.$(".error").hide(),this.$loadingTip.hide(),this.repos.length?(this.$emptyTip.hide(),this.renderReposHd(),this.$tableBody.empty(),this.repos.each(this.addOne,this),this.$table.show()):(this.$table.hide(),this.$emptyTip.show())},showRepoList:function(){this.$sideNav.show(),this.dirView.hide(),this.$reposDiv.show();var e=this.$loadingTip;e.show();var t=this;this.repos.fetch({reset:!0,success:function(e,t,n){},error:function(n,r,i){e.hide();var s=t.$(".error"),o;r.responseText?r["status"]==401||r["status"]==403?o=gettext("Permission error"):o=gettext("Error"):o=gettext("Please check the network."),s.html(o).show()}})},hideRepoList:function(){this.$reposDiv.hide()},showDir:function(e,t){this.$sideNav.show();var t=t||"/";this.hideRepoList(),this.dirView.showDir("org",e,t)},sortByName:function(){var t=this.repos,n=e(".by-name",this.$table);t.comparator=function(e,t){var i=r.compareTwoWord(e.get("name"),t.get("name"));return n.hasClass("icon-caret-up")?-i:i},t.sort(),this.$tableBody.empty(),t.each(this.addOne,this),n.toggleClass("icon-caret-up icon-caret-down"),t.comparator=null},sortByTime:function(){var t=this.repos,n=e(".by-time",this.$table);t.comparator=function(e,t){return n.hasClass("icon-caret-down")?e.get("mtime")=0)&&t(n,!i)}}),e("").outerWidth(1).jquery||e.each(["Width","Height"],function(t,n){function o(t,n,i,s){return e.each(r,function(){n-=parseFloat(e.css(t,"padding"+this))||0,i&&(n-=parseFloat(e.css(t,"border"+this+"Width"))||0),s&&(n-=parseFloat(e.css(t,"margin"+this))||0)}),n}var r=n==="Width"?["Left","Right"]:["Top","Bottom"],i=n.toLowerCase(),s={innerWidth:e.fn.innerWidth,innerHeight:e.fn.innerHeight,outerWidth:e.fn.outerWidth,outerHeight:e.fn.outerHeight};e.fn["inner"+n]=function(t){return t===undefined?s["inner"+n].call(this):this.each(function(){e(this).css(i,o(this,t)+"px")})},e.fn["outer"+n]=function(t,r){return typeof t!="number"?s["outer"+n].call(this,t):this.each(function(){e(this).css(i,o(this,t,!0,r)+"px")})}}),e.fn.addBack||(e.fn.addBack=function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}),e("").data("a-b","a").removeData("a-b").data("a-b")&&(e.fn.removeData=function(t){return function(n){return arguments.length?t.call(this,e.camelCase(n)):t.call(this)}}(e.fn.removeData)),e.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),e.fn.extend({focus:function(t){return function(n,r){return typeof n=="number"?this.each(function(){var t=this;setTimeout(function(){e(t).focus(),r&&r.call(t)},n)}):t.apply(this,arguments)}}(e.fn.focus),disableSelection:function(){var e="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.bind(e+".ui-disableSelection",function(e){e.preventDefault()})}}(),enableSelection:function(){return this.unbind(".ui-disableSelection")},zIndex:function(t){if(t!==undefined)return this.css("zIndex",t);if(this.length){var n=e(this[0]),r,i;while(n.length&&n[0]!==document){r=n.css("position");if(r==="absolute"||r==="relative"||r==="fixed"){i=parseInt(n.css("zIndex"),10);if(!isNaN(i)&&i!==0)return i}n=n.parent()}}return 0}}),e.ui.plugin={add:function(t,n,r){var i,s=e.ui[t].prototype;for(i in r)s.plugins[i]=s.plugins[i]||[],s.plugins[i].push([n,r[i]])},call:function(e,t,n,r){var i,s=e.plugins[t];if(!s)return;if(!r&&(!e.element[0].parentNode||e.element[0].parentNode.nodeType===11))return;for(i=0;i",options:{disabled:!1,create:null},_createWidget:function(n,r){r=e(r||this.defaultElement||this)[0],this.element=e(r),this.uuid=t++,this.eventNamespace="."+this.widgetName+this.uuid,this.options=e.widget.extend({},this.options,this._getCreateOptions(),n),this.bindings=e(),this.hoverable=e(),this.focusable=e(),r!==this&&(e.data(r,this.widgetFullName,this),this._on(!0,this.element,{remove:function(e){e.target===r&&this.destroy()}}),this.document=e(r.style?r.ownerDocument:r.document||r),this.window=e(this.document[0].defaultView||this.document[0].parentWindow)),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:e.noop,_getCreateEventData:e.noop,_create:e.noop,_init:e.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(e.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:e.noop,widget:function(){return this.element},option:function(t,n){var r=t,i,s,o;if(arguments.length===0)return e.widget.extend({},this.options);if(typeof t=="string"){r={},i=t.split("."),t=i.shift();if(i.length){s=r[t]=e.widget.extend({},this.options[t]);for(o=0;o
                                                    ").appendTo(this.element),this._refreshValue()},_destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow"),this.valueDiv.remove()},value:function(e){if(e===undefined)return this.options.value;this.options.value=this._constrainedValue(e),this._refreshValue()},_constrainedValue:function(e){return e===undefined&&(e=this.options.value),this.indeterminate=e===!1,typeof e!="number"&&(e=0),this.indeterminate?!1:Math.min(this.options.max,Math.max(this.min,e))},_setOptions:function(e){var t=e.value;delete e.value,this._super(e),this.options.value=this._constrainedValue(t),this._refreshValue()},_setOption:function(e,t){e==="max"&&(t=Math.max(this.min,t)),e==="disabled"&&this.element.toggleClass("ui-state-disabled",!!t).attr("aria-disabled",t),this._super(e,t)},_percentage:function(){return this.indeterminate?100:100*(this.options.value-this.min)/(this.options.max-this.min)},_refreshValue:function(){var t=this.options.value,n=this._percentage();this.valueDiv.toggle(this.indeterminate||t>this.min).toggleClass("ui-corner-right",t===this.options.max).width(n.toFixed(0)+"%"),this.element.toggleClass("ui-progressbar-indeterminate",this.indeterminate),this.indeterminate?(this.element.removeAttr("aria-valuenow"),this.overlayDiv||(this.overlayDiv=e("
                                                    ").appendTo(this.valueDiv))):(this.element.attr({"aria-valuemax":this.options.max,"aria-valuenow":t}),this.overlayDiv&&(this.overlayDiv.remove(),this.overlayDiv=null)),this.oldValue!==t&&(this.oldValue=t,this._trigger("change")),t===this.options.max&&this._trigger("complete")}})}),define("app/models/dirent",["underscore","backbone"],function(e,t){var n=t.Model.extend({});return n}),define("app/collections/dirents",["underscore","backbone","common","app/models/dirent"],function(e,t,n,r){var i=t.Collection.extend({model:r,url:function(){return n.getUrl({name:"list_lib_dir",repo_id:this.repo_id})},initialize:function(){},parse:function(e){return this.repo_name=e.repo_name,this.user_perm=e.user_perm,this.encrypted=e.encrypted,this.is_repo_owner=e.is_repo_owner,this.is_virtual=e.is_virtual,this.dirent_more=e.dirent_more,this.more_start=e.more_start,e.dirent_list},setPath:function(e,t,n){this.category=e,this.repo_id=t,this.path=n}});return i}),define("app/views/folder-perm-item",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({tagName:"tr",template:t.template(e("#folder-perm-item-tmpl").html()),initialize:function(e){this.item_data=e.item_data,this.repo_id=e.repo_id,this.path=e.path,this.render()},render:function(){return this.$el.html(this.template(this.item_data)),this},events:{mouseenter:"showPermOpIcons",mouseleave:"hidePermOpIcons","click .perm-edit-icon":"editIconClick","change .perm-toggle-select":"editPerm","click .perm-delete-icon":"deletePerm"},showPermOpIcons:function(){this.$el.find(".op-icon").removeClass("vh")},hidePermOpIcons:function(){this.$el.find(".op-icon").addClass("vh")},editIconClick:function(t){e(t.currentTarget).closest("td").find(".perm").addClass("hide").end().find(".perm-toggle-select").removeClass("hide")},editPerm:function(t){var n=this,i=e(t.currentTarget).val(),s={perm:i,path:this.path,type:"modify"},o=this.item_data.is_user_perm;o?e.extend(s,{user:this.item_data.user}):e.extend(s,{group_id:this.item_data.group_id}),e.ajax({url:r.getUrl({name:o?"set_user_folder_perm":"set_group_folder_perm",repo_id:this.repo_id}),type:"POST",dataType:"json",cache:!1,beforeSend:r.prepareCSRFToken,data:s,success:function(){n.item_data.perm=i,n.render()},error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),o?e("#user-folder-perm .error").html(n).removeClass("hide"):e("#group-folder-perm .error").html(n).removeClass("hide")}})},deletePerm:function(){var t=this,n={perm:this.item_data.perm,path:this.path,type:"delete"},i=this.item_data.is_user_perm;i?e.extend(n,{user:this.item_data.user}):e.extend(n,{group_id:this.item_data.group_id}),e.ajax({url:r.getUrl({name:i?"set_user_folder_perm":"set_group_folder_perm",repo_id:this.repo_id}),type:"POST",dataType:"json",cache:!1,beforeSend:r.prepareCSRFToken,data:n,success:function(){t.remove()},error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),i?e("#user-folder-perm .error").html(n).removeClass("hide"):e("#group-folder-perm .error").html(n).removeClass("hide")}})}});return i}),define("app/views/folder-perm",["jquery","underscore","backbone","common","jquery.ui.tabs","select2","app/views/folder-perm-item"],function(e,t,n,r,i,s,o){var u=n.View.extend({tagName:"div",id:"folder-perm-popup",template:t.template(e("#folder-perm-popup-tmpl").html()),initialize:function(t){this.repo_id=t.repo_id,this.obj_name=t.obj_name,this.dir_path=t.dir_path,this.path=r.pathJoin([this.dir_path,this.obj_name]),this.render(),this.$el.modal({appendTo:"#main",focus:!1,containerCss:{padding:0}}),e("#simplemodal-container").css({width:"auto",height:"auto"}),this.$("#folder-perm-tabs").tabs(),this.panelsInit();var n=this;e(document).on("click",function(e){var t=e.target||event.srcElement;n.$(".perm-edit-icon, .perm-toggle-select").is(t)||(n.$(".perm").removeClass("hide"),n.$(".perm-toggle-select").addClass("hide"))})},render:function(){return this.$el.html(this.template({title:gettext("Set {placeholder}'s permission").replace("{placeholder}",''+r.HTMLescape(this.obj_name)+"")})),this},panelsInit:function(){this.$add_user_perm=this.$("#add-user-folder-perm"),this.$add_group_perm=this.$("#add-group-folder-perm");var t=this,n=this.$add_user_perm,i=this.$add_group_perm;r.ajaxGet({get_url:r.getUrl({name:"get_folder_perm_by_path",repo_id:this.repo_id}),data:{path:this.path},after_op_success:function(r){e(r.user_perms).each(function(r,i){var s=new o({repo_id:t.repo_id,path:t.path,item_data:e.extend(i,{is_user_perm:!0})});n.after(s.el)}),e(r.group_perms).each(function(n,r){var s=new o({repo_id:t.repo_id,path:t.path,item_data:e.extend(r,{is_user_perm:!1})});i.after(s.el)})}}),e('[name="email"]',n).select2(r.contactInputOptionsForSelect2());var s=app.pageOptions.groups||[],u="";for(var a=0,f=s.length;a'+s[a].name+"";e('[name="group"]',i).html(u).select2({placeholder:gettext("Select groups"),escapeMarkup:function(e){return e}})},events:{"click #add-user-folder-perm .submit":"addUserFolderPerm","click #add-group-folder-perm .submit":"addGroupFolderPerm"},addUserFolderPerm:function(){var t=this,n=this.$add_user_perm,i=e('[name="email"]',n).val();if(!i)return!1;var s=e('[name="permission"]',n).val();r.ajaxPost({form:n,form_id:n.attr("id"),post_url:r.getUrl({name:"set_user_folder_perm",repo_id:this.repo_id}),post_data:{path:this.path,type:"add",user:i,perm:s},after_op_success:function(r){e(r.success).each(function(e,r){var u=new o({repo_id:t.repo_id,path:t.path,item_data:{user:i,user_name:r.user_name,perm:s,is_user_perm:!0}});n.after(u.el)}),e('[name="email"]',n).select2("val",""),e("#user-folder-perm .error").addClass("hide")},after_op_error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),e("#user-folder-perm .error").html(n).removeClass("hide")}})},addGroupFolderPerm:function(){var t=this,n=this.$add_group_perm,i=e('[name="group"]',n).val().join(",");if(!i)return!1;var s=e('[name="permission"]',n).val();r.ajaxPost({form:n,form_id:n.attr("id"),post_url:r.getUrl({name:"set_group_folder_perm",repo_id:this.repo_id}),post_data:{path:this.path,type:"add",group_id:i,perm:s},after_op_success:function(r){e(r.success).each(function(r,i){var u=new o({repo_id:t.repo_id,path:t.path,item_data:{is_user_perm:!1,perm:s,group_id:i.group_id,group_name:i.group_name}});n.after(u.el),e("#group-folder-perm .error").addClass("hide")}),e('[name="group"]',n).select2("val","")},after_op_error:function(t){var n;t.responseText?n=e.parseJSON(t.responseText).error:n=gettext("Failed. Please check the network."),e("#group-folder-perm .error").html(n).removeClass("hide")}})}});return u}),define("app/views/dirent",["jquery","underscore","backbone","common","file-tree","app/views/share","app/views/folder-perm"],function(e,t,n,r,i,s,o){app=app||{},app.globalState=app.globalState||{};var u=n.View.extend({tagName:"tr",template:t.template(e("#dirent-tmpl").html()),renameTemplate:t.template(e("#rename-form-template").html()),mvcpTemplate:t.template(e("#mvcp-form-template").html()),mvProgressTemplate:t.template(e("#mv-progress-popup-template").html()),initialize:function(e){this.dirView=e.dirView,this.dir=this.dirView.dir,this.listenTo(this.model,"change",this.render),this.listenTo(this.model,"remove",this.remove)},render:function(){var e=this.dir,t=r.pathJoin([e.path,this.model.get("obj_name")]);return this.$el.html(this.template({dirent:this.model.attributes,dirent_path:t,encoded_path:r.encodePath(t),category:e.category,repo_id:e.repo_id,is_repo_owner:e.is_repo_owner,can_generate_shared_link:app.pageOptions.can_generate_shared_link,is_pro:app.pageOptions.is_pro,repo_encrypted:e.encrypted})),this},events:{mouseenter:"highlight",mouseleave:"rmHighlight","click .select":"select","click .file-star":"starFile","click .dir-link":"visitDir","click .more-op-icon":"togglePopup","click .share":"share","click .delete":"del","click .rename":"rename","click .mv":"mvcp","click .cp":"mvcp","click .set-folder-permission":"setFolderPerm"},highlight:function(){app.globalState.noFileOpPopup&&this.$el.addClass("hl").find(".repo-file-op").removeClass("vh")},rmHighlight:function(){app.globalState.noFileOpPopup&&this.$el.removeClass("hl").find(".repo-file-op").addClass("vh")},select:function(){var e=this.$(".checkbox");e.toggleClass("checkbox-checked"),e.hasClass("checkbox-checked")?this.model.set({selected:!0},{silent:!0}):this.model.set({selected:!1},{silent:!0});var t=this.dirView,n=t.$("#multi-dirents-op"),r=t.$("th .checkbox"),i=t.$("tr:gt(0) .checkbox-checked").length;i>0?n.css({display:"inline"}):n.hide(),i==t.$("tr:gt(0)").length?r.addClass("checkbox-checked"):r.removeClass("checkbox-checked")},starFile:function(){var t=this,n=this.dirView.dir,i=this.model.get("starred"),s={repo_id:n.repo_id};s.name=i?"unstar_file":"star_file";var o=r.pathJoin([n.path,this.model.get("obj_name")]),u=r.getUrl(s)+"?file="+encodeURIComponent(o);e.ajax({url:u,dataType:"json",cache:!1,success:function(){i?t.model.set({starred:!1}):t.model.set({starred:!0})},error:function(e){r.ajaxErrorHandler(e)}})},visitDir:function(){this.$(".dirent-icon img").attr({src:app.config.mediaUrl+"img/loading-icon.gif",alt:""}),this.dirView.dir.reset();var e=this.$(".dir-link").attr("href");return app.router.navigate(e,{trigger:!0}),!1},togglePopup:function(){var t=this.$(".more-op-icon"),n=this.$(".hidden-op");n.hasClass("hide")?(n.css({left:t.position().left}),t.offset().top+n.height()<=e("#main").offset().top+e("#main").height()?n.css("top",t.position().top+t.height()+3):n.css("bottom",t.parent().outerHeight()-t.position().top+3),n.removeClass("hide"),app.globalState.noFileOpPopup=!1,app.globalState.popup_tr=t.parents("tr")):(n.addClass("hide"),app.globalState.noFileOpPopup=!0,app.globalState.popup_tr="")},share:function(){var e=this.dir,t=this.model.get("obj_name"),n=r.pathJoin([e.path,t]),i={is_repo_owner:e.is_repo_owner,is_virtual:e.is_virtual,user_perm:this.model.get("perm"),repo_id:e.repo_id,repo_encrypted:!1,is_dir:this.model.get("is_dir")?!0:!1,dirent_path:n,obj_name:t};return new s(i),!1},del:function(){var t=this.model.get("obj_name"),n=this.dir,i={repo_id:n.repo_id,name:this.model.get("is_dir")?"del_dir":"del_file"},s=this.model;return e.ajax({url:r.getUrl(i)+"?parent_dir="+encodeURIComponent(n.path)+"&name="+encodeURIComponent(t),dataType:"json",success:function(e){n.remove(s),app.globalState.noFileOpPopup=!0;var i=gettext("Successfully deleted %(name)s").replace("%(name)s",r.HTMLescape(t));r.feedback(i,"success")},error:function(e){r.ajaxErrorHandler(e)}}),!1},rename:function(){var t=this.model.get("is_dir"),n=t?gettext("Rename Directory"):gettext("Rename File"),i=this.model.get("obj_name"),s=e(this.renameTemplate({form_title:n,dirent_name:i}));s.modal({focus:!1}),e("#simplemodal-container").css({width:"auto",height:"auto"});var o=e(".detail",s);o.html(o.html().replace("%(name)s",''+r.HTMLescape(i)+""));var u=s.attr("id"),a=this,f=this.dirView.dir;return s.submit(function(){var n=e.trim(e('[name="newname"]',s).val());if(!n)return r.showFormError(u,gettext("It is required.")),!1;if(n==i)return r.showFormError(u,gettext("You have not renamed it.")),!1;var o={oldname:i,newname:n},l=r.getUrl({name:t?"rename_dir":"rename_file",repo_id:f.repo_id})+"?parent_dir="+encodeURIComponent(f.path),c=function(n){var r={obj_name:n.newname,last_modified:(new Date).getTime()/1e3,last_update:gettext("Just now"),sharelink:"",sharetoken:""};t||e.extend(r,{starred:!1}),e.modal.close(),a.model.set(r)};return r.ajaxPost({form:s,post_url:l,post_data:o,after_op_success:c,form_id:u}),!1}),!1},mvcp:function(t){var n=this.dir,s=t.target||t.srcElement,o=e(s).hasClass("mv")?"mv":"cp",u=this.model.get("obj_name"),a=this.model.get("is_dir")?"dir":"file",f=o=="mv"?gettext("Move {placeholder} to:"):gettext("Copy {placeholder} to:");f=f.replace("{placeholder}",''+r.HTMLescape(u)+"");var l=e(this.mvcpTemplate({form_title:f,op_type:o,obj_type:a,obj_name:u,show_other_repos:!n.encrypted}));l.modal({appendTo:"#main",autoResize:!0,focus:!1}),e("#simplemodal-container").css({width:"auto",height:"auto"}),i.renderTreeForPath({repo_name:n.repo_name,repo_id:n.repo_id,path:n.path}),n.encrypted||i.prepareOtherReposTree({cur_repo_id:n.repo_id});var c=this.$el,h=this;return l.submit(function(){var t=e(this),i=t.attr("id"),s=n.path,o=n.repo_id,u=e('[name="dst_repo"]',t).val(),a=e('[name="dst_path"]',t).val(),f=e('[name="op"]',t).val(),l=e('[name="obj_name"]',t).val(),p=e('[name="obj_type"]',t).val();if(!e.trim(u)||!e.trim(a))return e(".error",t).removeClass("hide"),!1;if(u==o&&(a==s||p=="dir"&&a==s+l+"/"))return e(".error",t).html(gettext("Invalid destination path")).removeClass("hide"),!1;var d={repo_id:o};p=="dir"?d.name=f=="mv"?"mv_dir":"cp_dir":d.name=f=="mv"?"mv_file":"cp_file";var v=r.getUrl(d)+"?path="+encodeURIComponent(s)+"&obj_name="+encodeURIComponent(l),m={dst_repo:u,dst_path:a},g=function(t){e.modal.close();var n=t.msg;if(!t.task_id)f=="mv"&&c.remove(),r.feedback(n,"success");else{var i=e(h.mvProgressTemplate()),s=e("#mv-details",i),o=e("#cancel-mv",i),u=e("#mv-other-info",i);o.removeClass("hide"),setTimeout(function(){i.modal({containerCss:{width:300,height:150,paddingTop:50},focus:!1});var t=f=="mv"?gettext("Moving %(name)s"):gettext("Copying %(name)s");s.html(t.replace("%(name)s",r.HTMLescape(l))).removeClass("vh"),e("#mv-progress").progressbar(),a()},100);var a=function(){e.ajax({url:r.getUrl({name:"get_cp_progress"})+"?task_id="+encodeURIComponent(t.task_id),dataType:"json",success:function(t){var i=e(".ui-progressbar-value",e("#mv-progress"));if(!t.failed&&!t.canceled&&!t.successful)t["done"]==t["total"]?(i.css("width","100%"),s.addClass("vh"),o.addClass("hide"),u.html(gettext("Saving...")).removeClass("hide")):i.css("width",parseInt(t.done/t.total*100,10)+"%"),i.show(),setTimeout(a,1e3);else if(t.successful)e.modal.close(),f=="mv"&&c.remove(),r.feedback(n,"success");else{s.addClass("vh");var l=t.failed?gettext("Failed."):gettext("Canceled.");u.html(l).removeClass("hide"),o.addClass("hide"),setTimeout(function(){e.modal.close()},1e3)}},error:function(t,n,r){var i;t.responseText?i=e.parseJSON(t.responseText).error:i=gettext("Failed. Please check the network."),s.addClass("vh"),u.html(i).removeClass("hide"),o.addClass("hide"),setTimeout(function(){e.modal.close()},1e3)}})};o.click(function(){r.disableButton(o),e.ajax({url:r.getUrl({name:"cancel_cp"})+"?task_id="+encodeURIComponent(t.task_id),dataType:"json",success:function(t){s.addClass("vh"),u.html(gettext("Canceled.")).removeClass("hide"),o.addClass("hide"),setTimeout(function(){e.modal.close()},1e3)},error:function(t,n,i){var s;t.responseText?s=e.parseJSON(t.responseText).error:s=gettext("Failed. Please check the network."),u.html(s).removeClass("hide"),r.enableButton(o)}})})}};return r.ajaxPost({form:t,post_url:v,post_data:m,after_op_success:g,form_id:i}),!1}),!1},setFolderPerm:function(){var e={obj_name:this.model.get("obj_name"),dir_path:this.dir.path,repo_id:this.dir.repo_id};return new o(e),!1}});return u}),function(e){var t=function(e,n){var r=/[^\w\-\.:]/.test(e)?new Function(t.arg+",tmpl","var _e=tmpl.encode"+t.helper+",_s='"+e.replace(t.regexp,t.func)+"';return _s;"):t.cache[e]=t.cache[e]||t(t.load(e));return n?r(n,t):function(e){return r(e,t)}};t.cache={},t.load=function(e){return document.getElementById(e).innerHTML},t.regexp=/([\s'\\])(?![^%]*%\})|(?:\{%(=|#)([\s\S]+?)%\})|(\{%)|(%\})/g,t.func=function(e,t,n,r,i,s){if(t)return{"\n":"\\n","\r":"\\r"," ":"\\t"," ":" "}[e]||"\\"+e;if(n)return n==="="?"'+_e("+r+")+'":"'+("+r+"||'')+'";if(i)return"';";if(s)return"_s+='"},t.encReg=/[<>&"'\x00]/g,t.encMap={"<":"<",">":">","&":"&",'"':""","'":"'"},t.encode=function(e){return String(e||"").replace(t.encReg,function(e){return t.encMap[e]||""})},t.arg="o",t.helper=",print=function(s,e){_s+=e&&(s||'')||_e(s);},include=function(s,d){_s+=tmpl(s,d);}",typeof define=="function"&&define.amd?define("tmpl",[],function(){return t}):e.tmpl=t}(this),function(e){typeof define=="function"&&define.amd?define("jquery.iframe-transport",["jquery"],e):e(window.jQuery)}(function(e){var t=0;e.ajaxTransport("iframe",function(n){if(n.async&&(n.type==="POST"||n.type==="GET")){var r,i;return{send:function(s,o){r=e('
                                                    '),i=e('').bind("load",function(){var t,s=e.isArray(n.paramName)?n.paramName:[n.paramName];i.unbind("load").bind("load",function(){var t;try{t=i.contents();if(!t.length||!t[0].firstChild)throw new Error}catch(n){t=undefined}o(200,"success",{iframe:t}),e('').appendTo(r),r.remove()}),r.prop("target",i.prop("name")).prop("action",n.url).prop("method",n.type),n.formData&&e.each(n.formData,function(t,n){e('').prop("name",n.name).val(n.value).appendTo(r)}),n.fileInput&&n.fileInput.length&&n.type==="POST"&&(t=n.fileInput.clone(),n.fileInput.after(function(e){return t[e]}),n.paramName&&n.fileInput.each(function(t){e(this).prop("name",s[t]||n.paramName)}),r.append(n.fileInput).prop("enctype","multipart/form-data").prop("encoding","multipart/form-data")),r.submit(),t&&t.length&&n.fileInput.each(function(n,r){var i=e(t[n]);e(r).prop("name",i.prop("name")),i.replaceWith(r)})}),r.append(i).appendTo(document.body)},abort:function(){i&&i.unbind("load").prop("src","javascript".concat(":false;")),r&&r.remove()}}}}),e.ajaxSetup({converters:{"iframe text":function(t){return e(t[0].body).text()},"iframe json":function(t){return e.parseJSON(e(t[0].body).text())},"iframe html":function(t){return e(t[0].body).html()},"iframe script":function(t){return e.globalEval(e(t[0].body).text())}}})}),function(e){typeof define=="function"&&define.amd?define("jquery.fileupload",["jquery","jquery.ui.widget"],e):e(window.jQuery)}(function(e){function t(t){var n=t==="dragover";return function(r){r.dataTransfer=r.originalEvent&&r.originalEvent.dataTransfer;var i=r.dataTransfer;i&&e.inArray("Files",i.types)!==-1&&this._trigger(t,e.Event(t,{delegatedEvent:r}))!==!1&&(r.preventDefault(),n&&(i.dropEffect="copy"))}}e.support.fileInput=!(new RegExp("(Android (1\\.[0156]|2\\.[01]))|(Windows Phone (OS 7|8\\.0))|(XBLWP)|(ZuneWP)|(WPDesktop)|(w(eb)?OSBrowser)|(webOS)|(Kindle/(1\\.0|2\\.[05]|3\\.0))")).test(window.navigator.userAgent)&&!e('').prop("disabled"),e.support.xhrFileUpload=!!window.ProgressEvent&&!!window.FileReader,e.support.xhrFormDataFileUpload=!!window.FormData,e.support.blobSlice=window.Blob&&(Blob.prototype.slice||Blob.prototype.webkitSlice||Blob.prototype.mozSlice),e.widget("blueimp.fileupload",{options:{dropZone:e(document),pasteZone:undefined,fileInput:undefined,replaceFileInput:!0,paramName:undefined,singleFileUploads:!0,limitMultiFileUploads:undefined,limitMultiFileUploadSize:undefined,limitMultiFileUploadSizeOverhead:512,sequentialUploads:!1,limitConcurrentUploads:undefined,forceIframeTransport:!1,redirect:undefined,redirectParamName:undefined,postMessage:undefined,multipart:!0,maxChunkSize:undefined,uploadedBytes:undefined,recalculateProgress:!0,progressInterval:100,bitrateInterval:500,autoUpload:!0,messages:{uploadedBytes:"Uploaded bytes exceed file size"},i18n:function(t,n){return t=this.messages[t]||t.toString(),n&&e.each(n,function(e,n){t=t.replace("{"+e+"}",n)}),t},formData:function(e){return e.serializeArray()},add:function(t,n){if(t.isDefaultPrevented())return!1;(n.autoUpload||n.autoUpload!==!1&&e(this).fileupload("option","autoUpload"))&&n.process().done(function(){n.submit()})},processData:!1,contentType:!1,cache:!1},_specialOptions:["fileInput","dropZone","pasteZone","multipart","forceIframeTransport"],_blobSlice:e.support.blobSlice&&function(){var e=this.slice||this.webkitSlice||this.mozSlice;return e.apply(this,arguments)},_BitrateTimer:function(){this.timestamp=Date.now?Date.now():(new Date).getTime(),this.loaded=0,this.bitrate=0,this.getBitrate=function(e,t,n){var r=e-this.timestamp;if(!this.bitrate||!n||r>n)this.bitrate=(t-this.loaded)*(1e3/r)*8,this.loaded=t,this.timestamp=e;return this.bitrate}},_isXHRUpload:function(t){return!t.forceIframeTransport&&(!t.multipart&&e.support.xhrFileUpload||e.support.xhrFormDataFileUpload)},_getFormData:function(t){var n;return e.type(t.formData)==="function"?t.formData(t.form):e.isArray(t.formData)?t.formData:e.type(t.formData)==="object"?(n=[],e.each(t.formData,function(e,t){n.push({name:e,value:t})}),n):[]},_getTotal:function(t){var n=0;return e.each(t,function(e,t){n+=t.size||1}),n},_initProgressObject:function(t){var n={loaded:0,total:0,bitrate:0};t._progress?e.extend(t._progress,n):t._progress=n},_initResponseObject:function(e){var t;if(e._response)for(t in e._response)e._response.hasOwnProperty(t)&&delete e._response[t];else e._response={}},_onProgress:function(t,n){if(t.lengthComputable){var r=Date.now?Date.now():(new Date).getTime(),i;if(n._time&&n.progressInterval&&r-n._time
                                                    ").prop("href",t.url).prop("host");t.dataType="iframe "+(t.dataType||""),t.formData=this._getFormData(t),t.redirect&&n&&n!==location.host&&t.formData.push({name:t.redirectParamName||"redirect",value:t.redirect})},_initDataSettings:function(e){this._isXHRUpload(e)?(this._chunkedUpload(e,!0)||(e.data||this._initXHRData(e),this._initProgressListener(e)),e.postMessage&&(e.dataType="postmessage "+(e.dataType||""))):this._initIframeSettings(e)},_getParamName:function(t){var n=e(t.fileInput),r=t.paramName;return r?e.isArray(r)||(r=[r]):(r=[],n.each(function(){var t=e(this),n=t.prop("name")||"files[]",i=(t.prop("files")||[1]).length;while(i)r.push(n),i-=1}),r.length||(r=[n.prop("name")||"files[]"])),r},_initFormSettings:function(t){if(!t.form||!t.form.length)t.form=e(t.fileInput.prop("form")),t.form.length||(t.form=e(this.options.fileInput.prop("form")));t.paramName=this._getParamName(t),t.url||(t.url=t.form.prop("action")||location.href),t.type=(t.type||e.type(t.form.prop("method"))==="string"&&t.form.prop("method")||"").toUpperCase(),t.type!=="POST"&&t.type!=="PUT"&&t.type!=="PATCH"&&(t.type="POST"),t.formAcceptCharset||(t.formAcceptCharset=t.form.attr("accept-charset"))},_getAJAXSettings:function(t){var n=e.extend({},this.options,t);return this._initFormSettings(n),this._initDataSettings(n),n},_getDeferredState:function(e){return e.state?e.state():e.isResolved()?"resolved":e.isRejected()?"rejected":"pending"},_enhancePromise:function(e){return e.success=e.done,e.error=e.fail,e.complete=e.always,e},_getXHRPromise:function(t,n,r){var i=e.Deferred(),s=i.promise();return n=n||this.options.context||s,t===!0?i.resolveWith(n,r):t===!1&&i.rejectWith(n,r),s.abort=i.promise,this._enhancePromise(s)},_addConvenienceMethods:function(t,n){var r=this,i=function(t){return e.Deferred().resolveWith(r,t).promise()};n.process=function(t,s){if(t||s)n._processQueue=this._processQueue=(this._processQueue||i([this])).pipe(function(){return n.errorThrown?e.Deferred().rejectWith(r,[n]).promise():i(arguments)}).pipe(t,s);return this._processQueue||i([this])},n.submit=function(){return this.state()!=="pending"&&(n.jqXHR=this.jqXHR=r._trigger("submit",e.Event("submit",{delegatedEvent:t}),this)!==!1&&r._onSend(t,this)),this.jqXHR||r._getXHRPromise()},n.abort=function(){return this.jqXHR?this.jqXHR.abort():(this.errorThrown="abort",r._trigger("fail",null,this),r._getXHRPromise(!1))},n.state=function(){if(this.jqXHR)return r._getDeferredState(this.jqXHR);if(this._processQueue)return r._getDeferredState(this._processQueue)},n.processing=function(){return!this.jqXHR&&this._processQueue&&r._getDeferredState(this._processQueue)==="pending"},n.progress=function(){return this._progress},n.response=function(){return this._response}},_getUploadedBytes:function(e){var t=e.getResponseHeader("Range"),n=t&&t.split("-"),r=n&&n.length>1&&parseInt(n[1],10);return r&&r+1},_chunkedUpload:function(t,n){t.uploadedBytes=t.uploadedBytes||0;var r=this,i=t.files[0],s=i.size,o=t.uploadedBytes,u=t.maxChunkSize||s,a=this._blobSlice,f=e.Deferred(),l=f.promise(),c,h;return!(this._isXHRUpload(t)&&a&&(o||u=s?(i.error=t.i18n("uploadedBytes"),this._getXHRPromise(!1,t.context,[null,"error",i.error])):(h=function(){var n=e.extend({},t),l=n._progress.loaded;n.blob=a.call(i,o,o+u,i.type),n.chunkSize=n.blob.size,n.contentRange="bytes "+o+"-"+(o+n.chunkSize-1)+"/"+s,r._initXHRData(n),r._initProgressListener(n),c=(r._trigger("chunksend",null,n)!==!1&&e.ajax(n)||r._getXHRPromise(!1,n.context)).done(function(i,u,a){o=r._getUploadedBytes(a)||o+n.chunkSize,l+n.chunkSize-n._progress.loaded&&r._onProgress(e.Event("progress",{lengthComputable:!0,loaded:o-n.uploadedBytes,total:o-n.uploadedBytes}),n),t.uploadedBytes=n.uploadedBytes=o,n.result=i,n.textStatus=u,n.jqXHR=a,r._trigger("chunkdone",null,n),r._trigger("chunkalways",null,n),or._sending){var i=r._slots.shift();while(i){if(r._getDeferredState(i)==="pending"){i.resolve();break}i=r._slots.shift()}}r._active===0&&r._trigger("stop")}),i};return this._beforeSend(t,a),this.options.sequentialUploads||this.options.limitConcurrentUploads&&this.options.limitConcurrentUploads<=this._sending?(this.options.limitConcurrentUploads>1?(o=e.Deferred(),this._slots.push(o),u=o.pipe(f)):(this._sequence=this._sequence.pipe(f,f),u=this._sequence),u.abort=function(){return s=[undefined,"abort","abort"],i?i.abort():(o&&o.rejectWith(a.context,s),f())},this._enhancePromise(u)):f()},_onAdd:function(t,n){var r=this,i=!0,s=e.extend({},this.options,n),o=n.files,u=o.length,a=s.limitMultiFileUploads,f=s.limitMultiFileUploadSize,l=s.limitMultiFileUploadSizeOverhead,c=0,h=this._getParamName(s),p,d,v,m,g=0;f&&(!u||o[0].size===undefined)&&(f=undefined);if(!(s.singleFileUploads||a||f)||!this._isXHRUpload(s))v=[o],p=[h];else if(!s.singleFileUploads&&!f&&a){v=[],p=[];for(m=0;mf||a&&m+1-g>=a)v.push(o.slice(g,m+1)),d=h.slice(g,m+1),d.length||(d=h),p.push(d),g=m+1,c=0}}else p=h;return n.originalFiles=o,e.each(v||o,function(s,o){var u=e.extend({},n);return u.files=v?o:[o],u.paramName=p[s],r._initResponseObject(u),r._initProgressObject(u),r._addConvenienceMethods(t,u),i=r._trigger("add",e.Event("add",{delegatedEvent:t}),u),i}),i},_replaceFileInput:function(t){var n=t.fileInput,r=n.clone(!0);t.fileInputClone=r,e("
                                                    ").append(r)[0].reset(),n.after(r).detach(),e.cleanData(n.unbind("remove")),this.options.fileInput=this.options.fileInput.map(function(e,t){return t===n[0]?r[0]:t}),n[0]===this.element[0]&&(this.element=r)},_handleFileTreeEntry:function(t,n){var r=this,i=e.Deferred(),s=function(e){e&&!e.entry&&(e.entry=t),i.resolve([e])},o=function(e){r._handleFileTreeEntries(e,n+t.name+"/").done(function(e){i.resolve(e)}).fail(s)},u=function(){a.readEntries(function(e){e.length?(f=f.concat(e),u()):o(f)},s)},a,f=[];return n=n||"",t.isFile?t._file?(t._file.relativePath=n,i.resolve(t._file)):t.file(function(e){e.relativePath=n,i.resolve(e)},s):t.isDirectory?(a=t.createReader(),u()):i.resolve([]),i.promise()},_handleFileTreeEntries:function(t,n){var r=this;return e.when.apply(e,e.map(t,function(e){return r._handleFileTreeEntry(e,n)})).pipe(function(){return Array.prototype.concat.apply([],arguments)})},_getDroppedFiles:function(t){t=t||{};var n=t.items;return n&&n.length&&(n[0].webkitGetAsEntry||n[0].getAsEntry)?this._handleFileTreeEntries(e.map(n,function(e){var t;return e.webkitGetAsEntry?(t=e.webkitGetAsEntry(),t&&(t._file=e.getAsFile()),t):e.getAsEntry()})):e.Deferred().resolve(e.makeArray(t.files)).promise()},_getSingleFileInputFiles:function(t){t=e(t);var n=t.prop("webkitEntries")||t.prop("entries"),r,i;if(n&&n.length)return this._handleFileTreeEntries(n);r=e.makeArray(t.prop("files"));if(!r.length){i=t.prop("value");if(!i)return e.Deferred().resolve([]).promise();r=[{name:i.replace(/^.*\\/,"")}]}else r[0].name===undefined&&r[0].fileName&&e.each(r,function(e,t){t.name=t.fileName,t.size=t.fileSize});return e.Deferred().resolve(r).promise()},_getFileInputFiles:function(t){return t instanceof e&&t.length!==1?e.when.apply(e,e.map(t,this._getSingleFileInputFiles)).pipe(function(){return Array.prototype.concat.apply([],arguments)}):this._getSingleFileInputFiles(t)},_onChange:function(t){var n=this,r={fileInput:e(t.target),form:e(t.target.form)};this._getFileInputFiles(r.fileInput).always(function(i){r.files=i,n.options.replaceFileInput&&n._replaceFileInput(r),n._trigger("change",e.Event("change",{delegatedEvent:t}),r)!==!1&&n._onAdd(t,r)})},_onPaste:function(t){var n=t.originalEvent&&t.originalEvent.clipboardData&&t.originalEvent.clipboardData.items,r={files:[]};n&&n.length&&(e.each(n,function(e,t){var n=t.getAsFile&&t.getAsFile();n&&r.files.push(n)}),this._trigger("paste",e.Event("paste",{delegatedEvent:t}),r)!==!1&&this._onAdd(t,r))},_onDrop:function(t){t.dataTransfer=t.originalEvent&&t.originalEvent.dataTransfer;var n=this,r=t.dataTransfer,i={};r&&r.files&&r.files.length&&(t.preventDefault(),this._getDroppedFiles(r).always(function(r){i.files=r,n._trigger("drop",e.Event("drop",{delegatedEvent:t}),i)!==!1&&n._onAdd(t,i)}))},_onDragOver:t("dragover"),_onDragEnter:t("dragenter"),_onDragLeave:t("dragleave"),_initEventHandlers:function(){this._isXHRUpload(this.options)&&(this._on(this.options.dropZone,{dragover:this._onDragOver,drop:this._onDrop,dragenter:this._onDragEnter,dragleave:this._onDragLeave}),this._on(this.options.pasteZone,{paste:this._onPaste})),e.support.fileInput&&this._on(this.options.fileInput,{change:this._onChange})},_destroyEventHandlers:function(){this._off(this.options.dropZone,"dragenter dragleave dragover drop"),this._off(this.options.pasteZone,"paste"),this._off(this.options.fileInput,"change")},_setOption:function(t,n){var r=e.inArray(t,this._specialOptions)!==-1;r&&this._destroyEventHandlers(),this._super(t,n),r&&(this._initSpecialOptions(),this._initEventHandlers())},_initSpecialOptions:function(){var t=this.options;t.fileInput===undefined?t.fileInput=this.element.is('input[type="file"]')?this.element:this.element.find('input[type="file"]'):t.fileInput instanceof e||(t.fileInput=e(t.fileInput)),t.dropZone instanceof e||(t.dropZone=e(t.dropZone)),t.pasteZone instanceof e||(t.pasteZone=e(t.pasteZone))},_getRegExp:function(e){var t=e.split("/"),n=t.pop();return t.shift(),new RegExp(t.join("/"),n)},_isRegExpOption:function(t,n){return t!=="url"&&e.type(n)==="string"&&/^\/.*\/[igm]{0,3}$/.test(n)},_initDataAttributes:function(){var t=this,n=this.options,r=e(this.element[0].cloneNode(!1)),i=r.data();r.remove(),e.each(i,function(e,i){var s="data-"+e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();r.attr(s)&&(t._isRegExpOption(e,i)&&(i=t._getRegExp(i)),n[e]=i)})},_create:function(){this._initDataAttributes(),this._initSpecialOptions(),this._slots=[],this._sequence=this._getXHRPromise(!0),this._sending=this._active=0,this._initProgressObject(this),this._initEventHandlers()},active:function(){return this._active},progress:function(){return this._progress},add:function(t){var n=this;if(!t||this.options.disabled)return;t.fileInput&&!t.files?this._getFileInputFiles(t.fileInput).always(function(e){t.files=e,n._onAdd(null,t)}):(t.files=e.makeArray(t.files),this._onAdd(null,t))},send:function(t){if(t&&!this.options.disabled){if(t.fileInput&&!t.files){var n=this,r=e.Deferred(),i=r.promise(),s,o;return i.abort=function(){return o=!0,s?s.abort():(r.reject(null,"abort","abort"),i)},this._getFileInputFiles(t.fileInput).always(function(e){if(o)return;if(!e.length){r.reject();return}t.files=e,s=n._onSend(null,t),s.then(function(e,t,n){r.resolve(e,t,n)},function(e,t,n){r.reject(e,t,n)})}),this._enhancePromise(i)}t.files=e.makeArray(t.files);if(t.files.length)return this._onSend(null,t)}return this._getXHRPromise(!1,t&&t.context)}})}),function(e){typeof define=="function"&&define.amd?define("jquery.fileupload-process",["jquery","jquery.fileupload"],e):e(window.jQuery)}(function(e){var t=e.blueimp.fileupload.prototype.options.add;e.widget("blueimp.fileupload",e.blueimp.fileupload,{options:{processQueue:[],add:function(n,r){var i=e(this);r.process(function(){return i.fileupload("process",r)}),t.call(this,n,r)}},processActions:{},_processFile:function(t,n){var r=this,i=e.Deferred().resolveWith(r,[t]),s=i.promise();return this._trigger("process",null,t),e.each(t.processQueue,function(t,i){var o=function(t){return n.errorThrown?e.Deferred().rejectWith(r,[n]).promise():r.processActions[i.action].call(r,t,i)};s=s.pipe(o,i.always&&o)}),s.done(function(){r._trigger("processdone",null,t),r._trigger("processalways",null,t)}).fail(function(){r._trigger("processfail",null,t),r._trigger("processalways",null,t)}),s},_transformProcessQueue:function(t){var n=[];e.each(t.processQueue,function(){var r={},i=this.action,s=this.prefix===!0?i:this.prefix;e.each(this,function(n,i){e.type(i)==="string"&&i.charAt(0)==="@"?r[n]=t[i.slice(1)||(s?s+n.charAt(0).toUpperCase()+n.slice(1):n)]:r[n]=i}),n.push(r)}),t.processQueue=n},processing:function(){return this._processing},process:function(t){var n=this,r=e.extend({},this.options,t);return r.processQueue&&r.processQueue.length&&(this._transformProcessQueue(r),this._processing===0&&this._trigger("processstart"),e.each(t.files,function(i){var s=i?e.extend({},r):r,o=function(){return t.errorThrown?e.Deferred().rejectWith(n,[t]).promise():n._processFile(s,t)};s.index=i,n._processing+=1,n._processingQueue=n._processingQueue.pipe(o,o).always(function(){n._processing-=1,n._processing===0&&n._trigger("processstop")})})),this._processingQueue},_create:function(){this._super(),this._processing=0,this._processingQueue=e.Deferred().resolveWith(this).promise()}})}),function(e){typeof define=="function"&&define.amd?define("jquery.fileupload-validate",["jquery","jquery.fileupload-process"],e):e(window.jQuery)}(function(e){e.blueimp.fileupload.prototype.options.processQueue.push({action:"validate",always:!0,acceptFileTypes:"@",maxFileSize:"@",minFileSize:"@",maxNumberOfFiles:"@",disabled:"@disableValidation"}),e.widget("blueimp.fileupload",e.blueimp.fileupload,{options:{getNumberOfFiles:e.noop,messages:{maxNumberOfFiles:"Maximum number of files exceeded",acceptFileTypes:"File type not allowed",maxFileSize:"File is too large",minFileSize:"File is too small"}},processActions:{validate:function(t,n){if(n.disabled)return t;var r=e.Deferred(),i=this.options,s=t.files[t.index],o;if(n.minFileSize||n.maxFileSize)o=s.size;return e.type(n.maxNumberOfFiles)==="number"&&(i.getNumberOfFiles()||0)+t.files.length>n.maxNumberOfFiles?s.error=i.i18n("maxNumberOfFiles"):n.acceptFileTypes&&!n.acceptFileTypes.test(s.type)&&!n.acceptFileTypes.test(s.name)?s.error=i.i18n("acceptFileTypes"):o>n.maxFileSize?s.error=i.i18n("maxFileSize"):e.type(o)==="number"&&o=1e9?(e/1e9).toFixed(2)+" GB":e>=1e6?(e/1e6).toFixed(2)+" MB":(e/1e3).toFixed(2)+" KB"},_formatBitrate:function(e){return typeof e!="number"?"":(e/=8,e>=1e9?(e/1e9).toFixed(2)+" GB/s":e>=1e6?(e/1e6).toFixed(2)+" MB/s":e>=1e3?(e/1e3).toFixed(2)+" KB/s":e.toFixed(2)+" B/s")},_formatTime:function(e){var t=new Date(e*1e3),n=Math.floor(e/86400);return n=n?n+"d ":"",n+("0"+t.getUTCHours()).slice(-2)+":"+("0"+t.getUTCMinutes()).slice(-2)+":"+("0"+t.getUTCSeconds()).slice(-2)},_formatPercentage:function(e){return(e*100).toFixed(2)+" %"},_renderExtendedProgress:function(e){return this._formatBitrate(e.bitrate)+" | "+this._formatTime((e.total-e.loaded)*8/e.bitrate)+" | "+this._formatPercentage(e.loaded/e.total)+" | "+this._formatFileSize(e.loaded)+" / "+this._formatFileSize(e.total)},_renderTemplate:function(t,n){if(!t)return e();var r=t({files:n,formatFileSize:this._formatFileSize,options:this.options});return r instanceof e?r:e(this.options.templatesContainer).html(r).children()},_renderPreviews:function(t){t.context.find(".preview").each(function(n,r){e(r).append(t.files[n].preview)})},_renderUpload:function(e){return this._renderTemplate(this.options.uploadTemplate,e)},_renderDownload:function(e){return this._renderTemplate(this.options.downloadTemplate,e).find("a[download]").each(this._enableDragToDesktop).end()},_startHandler:function(t){t.preventDefault();var n=e(t.currentTarget),r=n.closest(".template-upload"),i=r.data("data");n.prop("disabled",!0),i&&i.submit&&i.submit()},_cancelHandler:function(t){t.preventDefault();var n=e(t.currentTarget).closest(".template-upload,.template-download"),r=n.data("data")||{};r.context=r.context||n,r.abort?r.abort():(r.errorThrown="abort",this._trigger("fail",t,r))},_deleteHandler:function(t){t.preventDefault();var n=e(t.currentTarget);this._trigger("destroy",t,e.extend({context:n.closest(".template-download"),type:"DELETE"},n.data()))},_forceReflow:function(t){return e.support.transition&&t.length&&t[0].offsetWidth},_transition:function(t){var n=e.Deferred();return e.support.transition&&t.hasClass("fade")&&t.is(":visible")?t.bind(e.support.transition.end,function(r){r.target===t[0]&&(t.unbind(e.support.transition.end),n.resolveWith(t))}).toggleClass("in"):(t.toggleClass("in"),n.resolveWith(t)),n},_initButtonBarEventHandlers:function(){var t=this.element.find(".fileupload-buttonbar"),n=this.options.filesContainer;this._on(t.find(".start"),{click:function(e){e.preventDefault(),n.find(".start").click()}}),this._on(t.find(".cancel"),{click:function(e){e.preventDefault(),n.find(".cancel").click()}}),this._on(t.find(".delete"),{click:function(e){e.preventDefault(),n.find(".toggle:checked").closest(".template-download").find(".delete").click(),t.find(".toggle").prop("checked",!1)}}),this._on(t.find(".toggle"),{change:function(t){n.find(".toggle").prop("checked",e(t.currentTarget).is(":checked"))}})},_destroyButtonBarEventHandlers:function(){this._off(this.element.find(".fileupload-buttonbar").find(".start, .cancel, .delete"),"click"),this._off(this.element.find(".fileupload-buttonbar .toggle"),"change.")},_initEventHandlers:function(){this._super(),this._on(this.options.filesContainer,{"click .start":this._startHandler,"click .cancel":this._cancelHandler,"click .delete":this._deleteHandler}),this._initButtonBarEventHandlers()},_destroyEventHandlers:function(){this._destroyButtonBarEventHandlers(),this._off(this.options.filesContainer,"click"),this._super()},_enableFileInputButton:function(){this.element.find(".fileinput-button input").prop("disabled",!1).parent().removeClass("disabled")},_disableFileInputButton:function(){this.element.find(".fileinput-button input").prop("disabled",!0).parent().addClass("disabled")},_initTemplates:function(){var e=this.options;e.templatesContainer=this.document[0].createElement(e.filesContainer.prop("nodeName")),t&&(e.uploadTemplateId&&(e.uploadTemplate=t(e.uploadTemplateId)),e.downloadTemplateId&&(e.downloadTemplate=t(e.downloadTemplateId)))},_initFilesContainer:function(){var t=this.options;t.filesContainer===undefined?t.filesContainer=this.element.find(".files"):t.filesContainer instanceof e||(t.filesContainer=e(t.filesContainer))},_initSpecialOptions:function(){this._super(),this._initFilesContainer(),this._initTemplates()},_create:function(){this._super(),this._resetFinishedDeferreds(),e.support.fileInput||this._disableFileInputButton()},enable:function(){var e=!1;this.options.disabled&&(e=!0),this._super(),e&&(this.element.find("input, button").prop("disabled",!1),this._enableFileInputButton())},disable:function(){this.options.disabled||(this.element.find("input, button").prop("disabled",!0),this._disableFileInputButton()),this._super()}})}),define("app/views/fileupload",["common","backbone","jquery.fileupload-ui"],function(e,t,n){window.locale={fileupload:{errors:{maxFileSize:gettext("File is too big"),minFileSize:gettext("File is too small"),acceptFileTypes:gettext("Filetype not allowed"),maxNumberOfFiles:gettext("Max number of files exceeded"),uploadedBytes:gettext("Uploaded bytes exceed file size"),emptyResult:gettext("Empty file upload result")},error:gettext("Error"),uploaded:gettext("uploaded"),canceled:gettext("canceled"),start:gettext("Start"),cancel:gettext("Cancel"),destroy:gettext("Delete")}};var r=t.View.extend({el:$("#upload-file-dialog"),fileupdateConfirmTemplate:_.template($("#fileupdate-confirm-template").html()),initialize:function(t){var n=this.dirView=t.dirView,r=n.dir,i=this.$el.addClass("fixed-upload-file-dialog");this.popup_height="200px";var s=$(".status",i),o=$(".total-progress",i),u=$(".fileupload-buttonbar .cancel",i),a=$(".close",i),f=$(".saving-tip",i),l={uploading:gettext("File Uploading..."),complete:gettext("File Upload complete"),canceled:gettext("File Upload canceled"),failed:gettext("File Upload failed")},c=[],h=[],p=app.pageOptions.enable_upload_folder,d=[],v=[],m=this;i.fileupload({paramName:"file",getFilesFromResponse:function(e){if(e.result)return e.result},autoUpload:!0,maxNumberOfFiles:500,sequentialUploads:!0}).bind("fileuploadadd",function(e,t){if(!n.$el.is(":visible"))return!1;if(r.user_perm&&r.user_perm!="rw")return!1;i.removeClass("hide"),u.removeClass("hide"),a.addClass("hide");var s=r.path;i.fileupload("option","formData",{parent_dir:s=="/"?s:s+"/"});if(!p)return;var o=n.$("#upload-menu");o.hasClass("hide")||o.find(".item").removeAttr("style").end().addClass("hide");var f=t.files[0];if(f.name=="."){t.files.shift();return}f.webkitRelativePath&&(f.relative_path=f.webkitRelativePath),f.relativePath&&(f.relative_path=f.relativePath+f.name)}).bind("fileuploadstart",function(){s.html(l.uploading)}).bind("fileuploadsubmit",function(t,n){if(n.files.length==0)return!1;var s=n.files[0];if(s.error)return!1;var o=function(){$.ajax({url:e.getUrl({name:"get_file_op_url",repo_id:r.repo_id}),data:{op_type:"upload",path:r.path},cache:!1,dataType:"json",success:function(e){if(p){var t=s.relative_path,r;t&&(r=t.substring(0,t.lastIndexOf("/")+1));var o=i.fileupload("option","formData");o.relative_path=r||"",i.fileupload("option","formData",o)}n.url=e.url,n.jqXHR=i.fileupload("send",n)},error:function(){s.error=gettext("Failed to get upload url")}})};if(s.relative_path||n.originalFiles.length>1)return o(),!1;var u=function(){$.ajax({url:e.getUrl({name:"get_file_op_url",repo_id:r.repo_id}),data:{op_type:"update",path:r.path},cache:!1,dataType:"json",success:function(e){var t=i.fileupload("option","formData");t.target_file=t.parent_dir+s.name,i.fileupload("option","formData",t),s.to_update=!0,n.url=e.url,n.jqXHR=i.fileupload("send",n)},error:function(){s.error=gettext("Failed to get update url")}})},a=r.where({is_file:!0}),f=[];$(a).each(function(){f.push(this.get("obj_name"))});if(f.indexOf(s.name)!=-1){var l=gettext("Replace file {filename}?").replace("{filename}",''+e.HTMLescape(s.name)+""),c=$(m.fileupdateConfirmTemplate({title:l}));c.modal({onClose:function(){$.modal.close(),s.choose_to_update?u():s.choose_to_upload?o():(n.jqXHR=i.fileupload("send",n),n.jqXHR.abort())}}),$(".yes",c).click(function(){s.choose_to_update=!0,$.modal.close()}),$(".no",c).click(function(){s.choose_to_upload=!0,$.modal.close()})}else o();return!1}).bind("fileuploadprogressall",function(e,t){o.html(parseInt(t.loaded/t.total*100,10)+"% "+'('+$(this).data("blueimp-fileupload")._formatBitrate(t.bitrate)+")").removeClass("hide"),t.loaded>0&&t.loaded==t.total&&f.show()}).bind("fileuploaddone",function(e,t){if(t.textStatus!="success")return;var n=t.files[0],i=n.relative_path,s=t.result[0];s.uploaded=!0,i&&(s.relative_path=i.substring(0,i.lastIndexOf("/")+1)+s.name);var o=r.path;o=o=="/"?o:o+"/";if(t.formData.parent_dir!=o)return;if(!i){n.to_update?h.push(s):c.push(s);return}if(!p)return;var u=i.substring(0,i.indexOf("/")),a=r.where({is_dir:!0,obj_name:u});a.length>0?v.indexOf(u)==-1&&v.push(u):d.indexOf(u)==-1&&d.push(u)}).bind("fileuploadstop",function(){u.addClass("hide"),a.removeClass("hide");var t=r.path;t=t=="/"?t:t+"/";if(i.fileupload("option","formData").parent_dir!=t)return;var s=parseInt((new Date).getTime()/1e3);c.length>0&&($(c).each(function(t,i){var o=r.add({is_file:!0,is_img:e.imageCheck(i.name),obj_name:i.name,last_modified:s,file_size:e.fileSizeFormat(i.size,1),obj_id:i.id,file_icon:"file.png",perm:"rw",last_update:gettext("Just now"),starred:!1},{silent:!0});n.addNewFile(o)}),c=[]),d.length>0&&($(d).each(function(e,i){var o=r.add({is_dir:!0,obj_name:i,perm:"rw",last_modified:s,last_update:gettext("Just now"),p_dpath:t+i},{silent:!0});n.addNewDir(o)}),d=[]),v.length>0&&($(v).each(function(e,t){var n=r.where({is_dir:!0,obj_name:t});n[0].set({last_modified:s,last_update:gettext("Just now")})}),v=[]),h.length>0&&($(h).each(function(t,n){var i=r.where({is_file:!0,obj_name:n.name});i[0].set({obj_id:n.id,file_size:e.fileSizeFormat(n.size,1),last_modified:s,last_update:gettext("Just now")})}),h=[])}).bind("fileuploadcompleted",function(){$(".files .cancel",i).length==0&&(f.hide(),o.addClass("hide"),s.html(l.complete))}).bind("fileuploadfailed",function(e,t){$(".files .cancel",i).length==0&&(u.addClass("hide"),a.removeClass("hide"),o.addClass("hide"),f.hide(),t.errorThrown=="abort"?s.html(l.canceled):s.html(l.failed))});var g=app.pageOptions.max_upload_file_size;g&&i.fileupload("option","maxFileSize",g),i.fileupload("option","redirect",window.location.href.replace(/\/repo\/[-a-z0-9]{36}\/.*/,app.config.mediaUrl+"cors/result.html?%s")),$(document).click(function(e){var t=e.target||event.srcElement,r=function(e,n){!e.hasClass("hide")&&!e.is(t)&&!e.find("*").is(t)&&!n.is(t)&&!n.find("*").is(t)&&e.addClass("hide")};r(n.$("#upload-menu"),n.$("#upload-file"))})},events:{"click .fold-switch":"foldAndUnfoldPopup","click .close":"closePopup"},foldAndUnfoldPopup:function(){var e=this.$el,t=parseInt(this.popup_height),n=$(".fileupload-buttonbar, .table",e);e.height()==t?(e.height($(".hd",e).outerHeight(!0)),n.addClass("hide")):(e.height(t),n.removeClass("hide"))},closePopup:function(){var e=this.$el;e.addClass("hide"),$(".files",e).empty()},setFileInput:function(){var e=this.dirView,t=e.dir,n=this.$el;t.user_perm&&t.user_perm=="rw"&&n.fileupload("option","fileInput",e.$("#upload-file input"));if(!app.pageOptions.enable_upload_folder)return;var r=e.$("#upload-file"),i=e.$("#upload-menu");t.user_perm&&t.user_perm=="rw"&&"webkitdirectory"in $('input[type="file"]',r)[0]&&(r.find("input").remove().end().addClass("cspt"),$(".item",i).click(function(){n.fileupload("option","fileInput",$('input[type="file"]',$(this)))}).hover(function(){$(this).css({background:"#f3f3f3"})},function(){$(this).css({background:"transparent"})}),r.click(function(){i.toggleClass("hide"),i.css({left:r.position().left,top:parseInt(e.$(".repo-op").css("padding-top"))+r.outerHeight(!0)})}))}});return r}),define("app/views/dir",["jquery","jquery.ui.progressbar","jquery.magnific-popup","simplemodal","underscore","backbone","common","file-tree","app/collections/dirents","app/views/dirent","app/views/fileupload","app/views/share"],function(e,t,n,r,i,s,o,u,a,f,l,c){var h=s.View.extend({el:e("#dir-view"),path_bar_template:i.template(e("#dir-path-bar-tmpl").html()),dir_op_bar_template:i.template(e("#dir-op-bar-tmpl").html()),dirents_hd_template:i.template(e("#dirents-hd-tmpl").html()),newDirTemplate:i.template(e("#add-new-dir-form-template").html()),newFileTemplate:i.template(e("#add-new-file-form-template").html()),mvcpTemplate:i.template(e("#mvcp-form-template").html()),mvProgressTemplate:i.template(e("#mv-progress-popup-template").html()),initialize:function(t){this.$dirent_list=this.$(".repo-file-list tbody"),this.$path_bar=this.$(".path"),this.$dir_op_bar=this.$(".repo-op"),this.dir=new a,this.listenTo(this.dir,"add",this.addOne),this.listenTo(this.dir,"reset",this.reset),this.fileUploadView=new l({dirView:this}),this.$el.magnificPopup({type:"image",delegate:".img-name-link",tClose:gettext("Close (Esc)"),tLoading:gettext("Loading..."),gallery:{enabled:!0,tPrev:gettext("Previous (Left arrow key)"),tNext:gettext("Next (Right arrow key)"),tCounter:gettext("%curr% of %total%")},image:{titleSrc:function(e){var t=e.el,n=t[0].innerHTML,r=''+gettext("Open in New Tab")+"";return n+"
                                                    "+r},tError:gettext('The image could not be loaded.')}});var n=this;e(window).scroll(function(){e(n.el).is(":visible")&&n.onWindowScroll()}),app.globalState.noFileOpPopup=!0,e(document).click(function(t){var n=t.target||event.srcElement,r=e(".hidden-op");!app.globalState.noFileOpPopup&&!e(".more-op-icon, .hidden-op").is(n)&&!r.find("*").is(n)&&(r.addClass("hide"),app.globalState.noFileOpPopup=!0,app.globalState.popup_tr.find("*").is(n)||(app.globalState.popup_tr.removeClass("hl").find(".repo-file-op").addClass("vh"),e(".repo-file-list tr:gt(0)").each(function(){e(this).find("*").is(n)&&e(this).addClass("hl").find(".repo-file-op").removeClass("vh")})))})},showDir:function(t,n,r){this.$el.show(),this.$dirent_list.empty();var i=this.$(".loading-tip").show(),s=this.dir;s.setPath(t,n,r);var u=this;s.fetch({reset:!0,data:{p:r},success:function(e,t,n){s.last_start=0,(t.dirent_list.length==0||!t.dirent_more)&&i.hide()},error:function(s,a,f){i.hide();var l=u.$(".repo-file-list-topbar, .repo-file-list").hide(),c=u.$(".error"),h,p=!1;a.responseText?a.responseJSON.lib_need_decrypt?p=!0:h=a.responseJSON.error:h=gettext("Please check the network."),h&&c.html(h).show();if(p){var d=e(e("#repo-decrypt-form-template").html()),v=!1;d.modal({containerCss:{padding:"1px"},onClose:function(){e.modal.close(),l.show(),v||app.router.navigate(t+"/",{trigger:!0})}}),e("#simplemodal-container").css({height:"auto"}),d.submit(function(){var i=e.trim(e('[name="password"]',d).val());return i?(o.ajaxPost({form:d,form_id:d.attr("id"),post_url:o.getUrl({name:"repo_set_password"}),post_data:{repo_id:n,password:i,username:app.pageOptions.username},after_op_success:function(){v=!0,e.modal.close(),u.showDir(t,n,r)}}),!1):(e(".error",d).html(gettext("Password is required.")).removeClass("hide"),!1)})}}})},hide:function(){this.$el.hide()},addOne:function(e){var t=new f({model:e,dirView:this});this.$dirent_list.append(t.render().el)},reset:function(){this.dir.each(this.addOne,this),this.renderPath(),this.renderDirOpBar(),this.renderDirentsHd(),this.fileUploadView.setFileInput(),this.getImageThumbnail()},getImageThumbnail:function(){var t=this.dir.filter(function(e){return e.get("is_img")&&!e.get("thumbnail_src")});if(t.length==0)return;var n=t.length,r=this.dir.repo_id,i=this.dir.path,s=this,u=function(a){var f=t[a],l=o.pathJoin([i,f.get("obj_name")]);e.ajax({url:o.getUrl({name:"thumbnail_create",repo_id:r}),data:{path:l},cache:!1,dataType:"json",success:function(e){f.set({thumbnail_src:e.thumbnail_src})},complete:function(){a'+gettext("Processing...")+"

                                                    ");var r=t.where({selected:!0}),i=[];e(r).each(function(){i.push(this.get("obj_name"))}),e.ajax({url:o.getUrl({name:"del_dirents",repo_id:t.repo_id})+"?parent_dir="+encodeURIComponent(t.path),type:"POST",dataType:"json",beforeSend:o.prepareCSRFToken,traditional:!0,data:{dirents_names:i},success:function(s){var u=s.deleted.length,a=s.undeleted.length,f,l;u>0&&(u==i.length?(t.remove(r),n.$("th .checkbox").removeClass("checkbox-checked"),n.$("#multi-dirents-op").hide()):e(r).each(function(){s["deleted"].indexOf(this.get("obj_name"))!=-1&&t.remove(this)}),u==1?f=gettext("Successfully deleted %(name)s."):u==2?f=gettext("Successfully deleted %(name)s and 1 other item."):f=gettext("Successfully deleted %(name)s and %(amount)s other items."),f=f.replace("%(name)s",o.HTMLescape(s.deleted[0])).replace("%(amount)s",u-1),o.feedback(f,"success")),a>0&&(a==1?l=gettext("Failed to delete %(name)s."):a==2?l=gettext("Failed to delete %(name)s and 1 other item."):l=gettext("Failed to delete %(name)s and %(amount)s other items."),l=l.replace("%(name)s",o.HTMLescape(s.undeleted[0])).replace("%(amount)s",a-1),o.feedback(l,"error")),e.modal.close()},error:function(t,n,r){e.modal.close(),o.ajaxErrorHandler(t,n,r)}})};o.showConfirm(gettext("Delete Items"),gettext("Are you sure you want to delete these selected items?"),r)},mv:function(){this.mvcp({op:"mv"})},cp:function(){this.mvcp({op:"cp"})},mvcp:function(t){var n=this.dir,r=t.op,i=r=="mv"?"Move selected item(s) to:":"Copy selected item(s) to:",s=e(this.mvcpTemplate({form_title:i,op_type:r,obj_type:"",obj_name:"",show_other_repos:!n.encrypted}));s.modal({appendTo:"#main",autoResize:!0,focus:!1}),e("#simplemodal-container").css({width:"auto",height:"auto"}),u.renderTreeForPath({repo_name:n.repo_name,repo_id:n.repo_id,path:n.path}),n.encrypted||u.prepareOtherReposTree({cur_repo_id:n.repo_id});var a=this,f=this.dir,l=f.where({is_dir:!0,selected:!0}),c=f.where({is_file:!0,selected:!0}),h=[],p=[];e(l).each(function(){h.push(this.get("obj_name"))}),e(c).each(function(){p.push(this.get("obj_name"))}),s.submit(function(){var t=e('[name="dst_repo"]',s).val(),n=e('[name="dst_path"]',s).val(),i,u=f.path,d={repo_id:f.repo_id};if(!e.trim(t)||!e.trim(n))return e(".error",s).removeClass("hide"),!1;if(t==f.repo_id&&n==u)return e(".error",s).html(gettext("Invalid destination path")).removeClass("hide"),!1;o.disableButton(e('[type="submit"]',s)),s.append('

                                                    '+gettext("Processing...")+"

                                                    ");if(t==f.repo_id)d.name=r=="mv"?"mv_dirents":"cp_dirents",e.ajax({url:o.getUrl(d)+"?parent_dir="+encodeURIComponent(u),type:"POST",dataType:"json",beforeSend:o.prepareCSRFToken,traditional:!0,data:{file_names:p,dir_names:h,dst_repo:t,dst_path:n},success:function(t){var n=t.success.length,i,s,u=t.url;e.modal.close(),n>0&&(r=="mv"?(n==c.length+l.length?(f.remove(l),f.remove(c),a.$("th .checkbox").removeClass("checkbox-checked"),a.$("#multi-dirents-op").hide()):(e(l).each(function(){this.get("obj_name")in t.success&&f.remove(this)}),e(c).each(function(){this.get("obj_name")in t.success&&f.remove(this)})),n==1?i=gettext("Successfully moved %(name)s."):n==2?i=gettext("Successfully moved %(name)s and 1 other item."):i=gettext("Successfully moved %(name)s and %(amount)s other items.")):n==1?i=gettext("Successfully copied %(name)s."):n==2?i=gettext("Successfully copied %(name)s and 1 other item."):i=gettext("Successfully copied %(name)s and %(amount)s other items."),i=i.replace("%(name)s",o.HTMLescape(t.success[0])).replace("%(amount)s",n-1),o.feedback(i,"success")),t.failed.length>0&&(r=="mv"?t.failed.length>1?s=gettext("Internal error. Failed to move %(name)s and %(amount)s other item(s)."):s=gettext("Internal error. Failed to move %(name)s."):t.failed.length>1?s=gettext("Internal error. Failed to copy %(name)s and %(amount)s other item(s)."):s=gettext("Internal error. Failed to copy %(name)s."),s=s.replace("%(name)s",o.HTMLescape(t.failed[0])).replace("%(amount)s",t.failed.length-1),o.feedback(s,"error"))},error:function(t,n,r){e.modal.close(),o.ajaxErrorHandler(t,n,r)}});else{var v=f.where({selected:!0}),m=0,g=e(a.mvProgressTemplate()),y=e("#mv-details",g),b=e("#cancel-mv",g),w=e("#mv-other-info",g),E=function(){var i=v[m],a=i.get("is_dir")?"dir":"file",l=i.get("obj_name"),c,h;r=="mv"?d.name=a=="dir"?"mv_dir":"mv_file":d.name=a=="dir"?"cp_dir":"cp_file",c=o.getUrl(d)+"?path="+encodeURIComponent(u)+"&obj_name="+encodeURIComponent(l),h={dst_repo:t,dst_path:n};var p=function(t){var n=r=="mv"?gettext("Moving file %(index)s of %(total)s"):gettext("Copying file %(index)s of %(total)s");y.html(n.replace("%(index)s",m+1).replace("%(total)s",v.length)).removeClass("vh"),b.removeClass("hide");var s=function(){var n=t.task_id;b.data("task_id",n),e.ajax({url:o.getUrl({name:"get_cp_progress"})+"?task_id="+encodeURIComponent(n),dataType:"json",success:function(t){var n=e(".ui-progressbar-value",e("#mv-progress"));if(!t.failed&&!t.canceled&&!t.successful)setTimeout(s,1e3);else if(t.successful)n.css("width",parseInt((m+1)/v.length*100,10)+"%").show(),r=="mv"&&f.remove(i),S();else if(t.failed){var u=r=="mv"?gettext("Failed to move %(name)s"):gettext("Failed to copy %(name)s");b.after('

                                                    '+u.replace("%(name)s",o.HTMLescape(l))+"

                                                    "),x()}},error:function(t,n,r){var i;t.responseText?i=e.parseJSON(t.responseText).error:i=gettext("Failed. Please check the network."),b.after('

                                                    '+i+"

                                                    "),x()}})};m==0?(e.modal.close(),setTimeout(function(){g.modal({containerCss:{width:300,height:150,paddingTop:50},focus:!1}),e("#mv-progress").progressbar(),s()},100)):s()};o.ajaxPost({form:s,post_url:c,post_data:h,after_op_success:p,form_id:s.attr("id")})},S=function(){m==v.length-1?setTimeout(function(){e.modal.close()},500):E(++m)},x=function(){setTimeout(function(){e.modal.close()},500)};E(),b.click(function(){o.disableButton(b);var t=e(this).data("task_id");e.ajax({url:o.getUrl({name:"cancel_cp"})+"?task_id="+encodeURIComponent(t),dataType:"json",success:function(e){w.html(gettext("Canceled.")).removeClass("hide"),b.addClass("hide"),x()},error:function(t,n,r){var i;t.responseText?i=e.parseJSON(t.responseText).error:i=gettext("Failed. Please check the network."),w.html(i).removeClass("hide"),o.enableButton(b)}})})}return!1})},onWindowScroll:function(){var t=this.dir,n=t.more_start;if(t.dirent_more&&e(window).scrollTop()+e(window).height()>e(document).height()-e("#footer").outerHeight(!0)&&n!=t.last_start){var r=this.$(".loading-tip"),i=this;t.last_start=n,t.fetch({remove:!1,data:{p:t.path,start:t.more_start},success:function(e,t,n){t.dirent_more||r.hide(),i.getImageThumbnail()},error:function(e,t,n){r.hide(),o.ajaxErrorHandler(e,t,n)}})}var s=this.$dir_op_bar,u=this.$path_bar,a=this.$(".repo-file-list"),f=u.offset().top+u.outerHeight(!0),l={position:"fixed",top:0,left:u.offset().left,"z-index":12};e(window).scrollTop()>=f?(a.css({"margin-top":s.outerHeight(!0)}),s.outerWidth(this.$el.width()).css(l)):(a.css({"margin-top":0}),s.removeAttr("style"))}});return h}),define("app/views/top-group-nav",["jquery","underscore","backbone","common"],function(e,t,n,r){var i=n.View.extend({el:".nav .nav-item-group",popupTemplate:t.template(e("#top-group-nav-tmpl").html()),initialize:function(){var t=e(this.popupTemplate({groups:app.pageOptions.top_nav_groups}));this.$el.append(t),t.css({right:(e("#top-nav-grp").outerWidth()-t.outerWidth())/6*5}),this.popup=t},events:{mouseenter:"showPopup",mouseleave:"hidePopup","mouseenter #top-nav-grp-list .item":"highlightGroupItem","mouseleave #top-nav-grp-list .item":"rmHighlightGroupItem","click #top-nav-grp-list .item":"visitGroup"},showPopup:function(e){this.popup.removeClass("hide")},hidePopup:function(e){this.popup.addClass("hide")},highlightGroupItem:function(t){e(t.currentTarget).addClass("hl").children(".a").removeClass("vh")},rmHighlightGroupItem:function(t){e(t.currentTarget).removeClass("hl").children(".a").addClass("vh")},visitGroup:function(t){this.hidePopup(t),location.href=e(t.currentTarget).attr("data-url")}});return i}),define("app/router",["jquery","backbone","common","app/views/myhome","app/views/group","app/views/organization","app/views/dir","app/views/top-group-nav"],function(e,t,n,r,i,s,o,u){var a=t.Router.extend({routes:{"":"showRepos","my-libs/":"showMyRepos","my-libs/lib/:repo_id(/*path)":"showMyRepoDir","my-sub-libs/":"showMySubRepos","my-sub-libs/lib/:repo_id(/*path)":"showMySubRepoDir","shared-libs/":"showSharedRepos","shared-libs/lib/:repo_id(/*path)":"showSharedRepoDir","group/:group_id/":"showGroupRepos","group/:group_id/lib/:repo_id(/*path)":"showGroupRepoDir","org/":"showOrgRepos","org/lib/:repo_id(/*path)":"showOrgRepoDir","common/lib/:repo_id(/*path)":"showCommonDir","starred/":"showStarredFile","*actions":"showRepos"},initialize:function(){n.prepareApiCsrf(),n.initAccountPopup(),n.initNoticePopup(),this.dirView=new o,this.myHomeView=new r({dirView:this.dirView}),this.groupView=new i({dirView:this.dirView}),this.orgView=new s({dirView:this.dirView}),this.currentView=this.myHomeView,app.pageOptions.top_nav_groups.length>0&&(this.topGroupNavView=new u),e("#info-bar .close").click(n.closeTopNoticeBar),e("#top-browser-tip .close").click(function(){e("#top-browser-tip").addClass("hide")})},switchCurrentView:function(e){this.currentView!=e&&(this.currentView.hide(),this.currentView=e)},showRepos:function(){this.switchCurrentView(this.myHomeView),app.pageOptions.can_add_repo?this.myHomeView.showMyRepos():this.myHomeView.showSharedRepos()},showMyRepos:function(){this.switchCurrentView(this.myHomeView),this.myHomeView.showMyRepos()},showMySubRepos:function(){this.switchCurrentView(this.myHomeView),this.myHomeView.showMySubRepos()},showSharedRepos:function(){this.switchCurrentView(this.myHomeView),this.myHomeView.showSharedRepos()},showStarredFile:function(){this.switchCurrentView(this.myHomeView),this.myHomeView.showStarredFile()},showMyRepoDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.myHomeView),this.myHomeView.showDir("my-libs",e,t)},showCommonDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.myHomeView),this.myHomeView.showDir("common",e,t)},showMySubRepoDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.myHomeView),this.myHomeView.showDir("my-sub-libs",e,t)},showSharedRepoDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.myHomeView),this.myHomeView.showDir("shared-libs",e,t)},showGroupRepos:function(e){this.switchCurrentView(this.groupView),this.groupView.showRepoList(e)},showGroupRepoDir:function(e,t,n){n?n="/"+n:n="/",this.switchCurrentView(this.groupView),this.groupView.showDir(e,t,n)},showOrgRepos:function(){this.switchCurrentView(this.orgView),this.orgView.showRepoList()},showOrgRepoDir:function(e,t){t?t="/"+t:t="/",this.switchCurrentView(this.orgView),this.orgView.showDir(e,t)}});return a}),define("app/main",["app/router"],function(e){app.router=new e,Backbone.history.start()}),require(["./common"],function(e){require(["app/main"])}),define("main",function(){}); \ No newline at end of file diff --git a/media/assets/scripts/i18n/ca/djangojs.ec0b244d30aa.js b/media/assets/scripts/i18n/ca/djangojs.c01de503a65a.js similarity index 93% rename from media/assets/scripts/i18n/ca/djangojs.ec0b244d30aa.js rename to media/assets/scripts/i18n/ca/djangojs.c01de503a65a.js index 08ff302b62..ee4fe6f534 100644 --- a/media/assets/scripts/i18n/ca/djangojs.ec0b244d30aa.js +++ b/media/assets/scripts/i18n/ca/djangojs.c01de503a65a.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/ca/djangojs.js b/media/assets/scripts/i18n/ca/djangojs.js index 08ff302b62..ee4fe6f534 100644 --- a/media/assets/scripts/i18n/ca/djangojs.js +++ b/media/assets/scripts/i18n/ca/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/de/djangojs.4f31cbd45e4d.js b/media/assets/scripts/i18n/de/djangojs.2d7f3205aeb7.js similarity index 93% rename from media/assets/scripts/i18n/de/djangojs.4f31cbd45e4d.js rename to media/assets/scripts/i18n/de/djangojs.2d7f3205aeb7.js index 13ec7b1518..38686a5a6a 100644 --- a/media/assets/scripts/i18n/de/djangojs.4f31cbd45e4d.js +++ b/media/assets/scripts/i18n/de/djangojs.2d7f3205aeb7.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/de/djangojs.js b/media/assets/scripts/i18n/de/djangojs.js index 13ec7b1518..38686a5a6a 100644 --- a/media/assets/scripts/i18n/de/djangojs.js +++ b/media/assets/scripts/i18n/de/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/en/djangojs.2cb862e7970d.js b/media/assets/scripts/i18n/en/djangojs.683a485097aa.js similarity index 93% rename from media/assets/scripts/i18n/en/djangojs.2cb862e7970d.js rename to media/assets/scripts/i18n/en/djangojs.683a485097aa.js index 0be4ad66e6..e866cc4cc2 100644 --- a/media/assets/scripts/i18n/en/djangojs.2cb862e7970d.js +++ b/media/assets/scripts/i18n/en/djangojs.683a485097aa.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/en/djangojs.js b/media/assets/scripts/i18n/en/djangojs.js index 0be4ad66e6..e866cc4cc2 100644 --- a/media/assets/scripts/i18n/en/djangojs.js +++ b/media/assets/scripts/i18n/en/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/fr/djangojs.31aaa9dbec1f.js b/media/assets/scripts/i18n/fr/djangojs.31aaa9dbec1f.js new file mode 100644 index 0000000000..8f75ac358a --- /dev/null +++ b/media/assets/scripts/i18n/fr/djangojs.31aaa9dbec1f.js @@ -0,0 +1,221 @@ + + +(function (globals) { + + var django = globals.django || (globals.django = {}); + + + django.pluralidx = function (n) { + var v=(n > 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; + + + + /* gettext library */ + + django.catalog = { + "%curr% of %total%": "%curr% de %total%", + "The image could not be loaded.": "L'image ne peut \u00eatre charg\u00e9e.", + "Are you sure you want to delete these selected items?": "Voulez vraiment supprimer les \u00e9l\u00e9ments s\u00e9lectionn\u00e9s ?", + "Cancel": "Annuler", + "Canceled.": "Annul\u00e9.", + "Close (Esc)": "Fermer (Esc)", + "Copy {placeholder} to:": "Copier {placeholder} vers:", + "Copying %(name)s": "Copie de %(name)s", + "Copying file %(index)s of %(total)s": "Copie du fichier %(index)s de %(total)s", + "Delete": "Supprimer", + "Delete Items": "Supprimer les \u00e9l\u00e9ments", + "Delete succeeded.": "Supprim\u00e9 avec succ\u00e8s.", + "Empty file upload result": "Le r\u00e9sultat de l'envoi est un fichier vide", + "Error": "Erreur", + "Failed to copy %(name)s": "\u00c9chec de la copie de %(name)s", + "Failed to delete %(name)s and %(amount)s other items.": "Impossible de supprimer %(name)s et %(amount)s autres \u00e9l\u00e9ments.", + "Failed to delete %(name)s and 1 other item.": "Impossible de supprimer %(name)s et un autre \u00e9l\u00e9ment.", + "Failed to delete %(name)s.": "Impossible de supprimer %(name)s.", + "Failed to get update url": "\u00c9chec de la mise \u00e0 jour de l'url", + "Failed to get upload url": "\u00c9chec de la r\u00e9cup\u00e9ration de l'url d'envoi", + "Failed to move %(name)s": "\u00c9chec du d\u00e9placement de %(name)s", + "Failed to send to {placeholder}": "\u00c9chec de l'envoi \u00e0 {placeholder}", + "Failed to share to {placeholder}": "\u00c9chec du partage avec {placeholder}", + "Failed.": "\u00c9chec.", + "Failed. Please check the network.": "\u00c9chec. V\u00e9rifiez le r\u00e9seau", + "File Upload canceled": "Envoi du fichier annul\u00e9", + "File Upload complete": "Envoi du fichier termin\u00e9", + "File Upload failed": "\u00c9chec de l'envoi du fichier", + "File Uploading...": "Envoi du fichier en cours...", + "File is too big": "Le fichier est trop volumineux", + "File is too small": "Le fichier est trop petit", + "Filetype not allowed": "Type de fichier non permis", + "Internal error. Failed to copy %(name)s and %(amount)s other item(s).": "Erreur interne. \u00c9chec de la copie de %(name)s et %(amount)s autres \u00e9l\u00e9ment(s).", + "Internal error. Failed to copy %(name)s.": "Erreur interne. \u00c9chec de la copie de %(name)s", + "Internal error. Failed to move %(name)s and %(amount)s other item(s).": "Erreur interne. \u00c9chec du d\u00e9placement de %(name)s et %(amount)s autres \u00e9l\u00e9ment(s).", + "Internal error. Failed to move %(name)s.": " Erreur interne. \u00c9chec du d\u00e9placement de %(name)s ", + "Invalid destination path": "Chemin de destination invalide", + "It is required.": "c'est obligatoire.", + "Just now": "A l'instant", + "Loading...": "Chargement...", + "Max number of files exceeded": "Le nombre maximal de fichiers est d\u00e9pass\u00e9", + "Move {placeholder} to:": "D\u00e9placer {placeholder} vers :", + "Moving %(name)s": "D\u00e9placement de %(name)s", + "Moving file %(index)s of %(total)s": "D\u00e9placement du fichier %(index)s de %(total)s", + "Name is required": "Le nom est obligatoire", + "Next (Right arrow key)": "Suivant (fl\u00e8che droite)", + "Only an extension there, please input a name.": "Une seule extension ici, saisissez un nom.", + "Open in New Tab": "Ouvrir dans un nouvel onglet", + "Password is required.": "Le mot de passe est obligatoire", + "Password is too short": "Le mot de passe est trop court", + "Passwords don't match": "Les mots de passe ne correspondent pas", + "Permission error": "Erreur de droits", + "Please check the network.": "V\u00e9rifier le r\u00e9seau.", + "Please choose a directory": "Choisissez un r\u00e9pertoire", + "Please enter days.": "Saisissez le nombre de jours.", + "Please enter password": "Entrez un mot de passe", + "Please enter the password again": "Entrez \u00e0 nouveau un mot de passe", + "Please enter valid days": "saisissez un nombre de jours valide", + "Please input at least an email.": "Saisissez au moins une adresse mel ", + "Please select a contact or a group.": "S\u00e9lectionnez un contact ou un groupe", + "Previous (Left arrow key)": "Pr\u00e9c\u00e9dent (fl\u00e8che gauche)", + "Processing...": "Traitement en cours...", + "Really want to delete {lib_name}?": "Confirmez la suppression de {lib_name}?", + "Rename Directory": "Renommer le r\u00e9pertoire", + "Rename File": "Renommer le fichier", + "Replace file {filename}?": "Remplacer le fichier {filename}?", + "Saving...": "Enregistrement...", + "Search users or enter emails": "Rechercher des utilisateurs ou saisir des adresses mail", + "Select groups": "S\u00e9lectionner les groupes", + "Set {placeholder}'s permission": "Attribuer des droits \u00e0 {placeholder}'s", + "Share {placeholder}": "Partage {placeholder}", + "Start": "D\u00e9marrer", + "Success": "Succ\u00e8s", + "Successfully copied %(name)s and %(amount)s other items.": "%(name)s et %(amount)s autres \u00e9l\u00e9ments copi\u00e9s avec succ\u00e8s.", + "Successfully copied %(name)s and 1 other item.": "%(name)s et 1 autre \u00e9l\u00e9ment copi\u00e9s avec succ\u00e8s.", + "Successfully copied %(name)s.": "%(name)s copi\u00e9 avec succ\u00e8s.", + "Successfully deleted %(name)s": "%(name)s supprim\u00e9 avec succ\u00e8s", + "Successfully deleted %(name)s and %(amount)s other items.": "Suppression avec succ\u00e8s de %(name)s et %(amount)s autres \u00e9l\u00e9ments.", + "Successfully deleted %(name)s and 1 other item.": " Suppression avec succ\u00e8s de %(name)s et 1 autre \u00e9l\u00e9ment.", + "Successfully deleted %(name)s.": " %(name)s supprim\u00e9 avec succ\u00e8s.", + "Successfully moved %(name)s and %(amount)s other items.": "%(name)s et %(amount)s autres \u00e9l\u00e9ments d\u00e9plac\u00e9s avec succ\u00e8s.", + "Successfully moved %(name)s and 1 other item.": " %(name)s et 1 autre \u00e9l\u00e9ment d\u00e9plac\u00e9s avec succ\u00e8s", + "Successfully moved %(name)s.": " %(name)s d\u00e9plac\u00e9 avec succ\u00e8s.", + "Successfully sent to {placeholder}": "Succ\u00e8s de l'envoi \u00e0 {placeholder}", + "Successfully shared to {placeholder}": "Succ\u00e8s du partage avec {placeholder}", + "Successfully unshared {placeholder}": "Partage de {placeholder} supprim\u00e9 avec succ\u00e8s", + "Successfully unstared {placeholder}": "{placeholder} suppression des favoris", + "Uploaded bytes exceed file size": "Le nombre de bytes envoy\u00e9s d\u00e9passe la taille du fichier", + "You don't have any library at present.": "Vous n\u2019avez pas actuellement de biblioth\u00e8que. ", + "You have not renamed it.": "Vous ne l'avez pas renomm\u00e9.", + "canceled": "annul\u00e9", + "uploaded": "envoy\u00e9" + }; + + django.gettext = function (msgid) { + var value = django.catalog[msgid]; + if (typeof(value) == 'undefined') { + return msgid; + } else { + return (typeof(value) == 'string') ? value : value[0]; + } + }; + + django.ngettext = function (singular, plural, count) { + var value = django.catalog[singular]; + if (typeof(value) == 'undefined') { + return (count == 1) ? singular : plural; + } else { + return value[django.pluralidx(count)]; + } + }; + + django.gettext_noop = function (msgid) { return msgid; }; + + django.pgettext = function (context, msgid) { + var value = django.gettext(context + '\x04' + msgid); + if (value.indexOf('\x04') != -1) { + value = msgid; + } + return value; + }; + + django.npgettext = function (context, singular, plural, count) { + var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count); + if (value.indexOf('\x04') != -1) { + value = django.ngettext(singular, plural, count); + } + return value; + }; + + + django.interpolate = function (fmt, obj, named) { + if (named) { + return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])}); + } else { + return fmt.replace(/%s/g, function(match){return String(obj.shift())}); + } + }; + + + /* formatting library */ + + django.formats = { + "DATETIME_FORMAT": "j F Y H:i:s", + "DATETIME_INPUT_FORMATS": [ + "%d/%m/%Y %H:%M:%S", + "%d/%m/%Y %H:%M", + "%d/%m/%Y", + "%d.%m.%Y %H:%M:%S", + "%d.%m.%Y %H:%M", + "%d.%m.%Y", + "%Y-%m-%d %H:%M:%S", + "%Y-%m-%d %H:%M:%S.%f", + "%Y-%m-%d %H:%M", + "%Y-%m-%d" + ], + "DATE_FORMAT": "j F Y", + "DATE_INPUT_FORMATS": [ + "%d/%m/%Y", + "%d/%m/%y", + "%d.%m.%Y", + "%d.%m.%y", + "%Y-%m-%d" + ], + "DECIMAL_SEPARATOR": ",", + "FIRST_DAY_OF_WEEK": "1", + "MONTH_DAY_FORMAT": "j F", + "NUMBER_GROUPING": "3", + "SHORT_DATETIME_FORMAT": "j N Y H:i:s", + "SHORT_DATE_FORMAT": "j N Y", + "THOUSAND_SEPARATOR": "\u00a0", + "TIME_FORMAT": "H:i:s", + "TIME_INPUT_FORMATS": [ + "%H:%M:%S", + "%H:%M" + ], + "YEAR_MONTH_FORMAT": "F Y" + }; + + django.get_format = function (format_type) { + var value = django.formats[format_type]; + if (typeof(value) == 'undefined') { + return format_type; + } else { + return value; + } + }; + + /* add to global namespace */ + globals.pluralidx = django.pluralidx; + globals.gettext = django.gettext; + globals.ngettext = django.ngettext; + globals.gettext_noop = django.gettext_noop; + globals.pgettext = django.pgettext; + globals.npgettext = django.npgettext; + globals.interpolate = django.interpolate; + globals.get_format = django.get_format; + +}(this)); + diff --git a/media/assets/scripts/i18n/fr/djangojs.f212d84a41ba.js b/media/assets/scripts/i18n/fr/djangojs.f212d84a41ba.js deleted file mode 100644 index ed8062763a..0000000000 --- a/media/assets/scripts/i18n/fr/djangojs.f212d84a41ba.js +++ /dev/null @@ -1,89 +0,0 @@ - - -(function (globals) { - - var django = globals.django || (globals.django = {}); - - - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; - - - - /* gettext identity library */ - - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; - django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; - - - django.interpolate = function (fmt, obj, named) { - if (named) { - return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])}); - } else { - return fmt.replace(/%s/g, function(match){return String(obj.shift())}); - } - }; - - - /* formatting library */ - - django.formats = { - "DATETIME_FORMAT": "j F Y H:i:s", - "DATETIME_INPUT_FORMATS": [ - "%d/%m/%Y %H:%M:%S", - "%d/%m/%Y %H:%M", - "%d/%m/%Y", - "%d.%m.%Y %H:%M:%S", - "%d.%m.%Y %H:%M", - "%d.%m.%Y", - "%Y-%m-%d %H:%M:%S", - "%Y-%m-%d %H:%M:%S.%f", - "%Y-%m-%d %H:%M", - "%Y-%m-%d" - ], - "DATE_FORMAT": "j F Y", - "DATE_INPUT_FORMATS": [ - "%d/%m/%Y", - "%d/%m/%y", - "%d.%m.%Y", - "%d.%m.%y", - "%Y-%m-%d" - ], - "DECIMAL_SEPARATOR": ",", - "FIRST_DAY_OF_WEEK": "1", - "MONTH_DAY_FORMAT": "j F", - "NUMBER_GROUPING": "3", - "SHORT_DATETIME_FORMAT": "j N Y H:i:s", - "SHORT_DATE_FORMAT": "j N Y", - "THOUSAND_SEPARATOR": "\u00a0", - "TIME_FORMAT": "H:i:s", - "TIME_INPUT_FORMATS": [ - "%H:%M:%S", - "%H:%M" - ], - "YEAR_MONTH_FORMAT": "F Y" - }; - - django.get_format = function (format_type) { - var value = django.formats[format_type]; - if (typeof(value) == 'undefined') { - return format_type; - } else { - return value; - } - }; - - /* add to global namespace */ - globals.pluralidx = django.pluralidx; - globals.gettext = django.gettext; - globals.ngettext = django.ngettext; - globals.gettext_noop = django.gettext_noop; - globals.pgettext = django.pgettext; - globals.npgettext = django.npgettext; - globals.interpolate = django.interpolate; - globals.get_format = django.get_format; - -}(this)); - diff --git a/media/assets/scripts/i18n/fr/djangojs.js b/media/assets/scripts/i18n/fr/djangojs.js index ed8062763a..8f75ac358a 100644 --- a/media/assets/scripts/i18n/fr/djangojs.js +++ b/media/assets/scripts/i18n/fr/djangojs.js @@ -5,17 +5,149 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n > 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; - /* gettext identity library */ + /* gettext library */ + + django.catalog = { + "%curr% of %total%": "%curr% de %total%", + "The image could not be loaded.": "L'image ne peut \u00eatre charg\u00e9e.", + "Are you sure you want to delete these selected items?": "Voulez vraiment supprimer les \u00e9l\u00e9ments s\u00e9lectionn\u00e9s ?", + "Cancel": "Annuler", + "Canceled.": "Annul\u00e9.", + "Close (Esc)": "Fermer (Esc)", + "Copy {placeholder} to:": "Copier {placeholder} vers:", + "Copying %(name)s": "Copie de %(name)s", + "Copying file %(index)s of %(total)s": "Copie du fichier %(index)s de %(total)s", + "Delete": "Supprimer", + "Delete Items": "Supprimer les \u00e9l\u00e9ments", + "Delete succeeded.": "Supprim\u00e9 avec succ\u00e8s.", + "Empty file upload result": "Le r\u00e9sultat de l'envoi est un fichier vide", + "Error": "Erreur", + "Failed to copy %(name)s": "\u00c9chec de la copie de %(name)s", + "Failed to delete %(name)s and %(amount)s other items.": "Impossible de supprimer %(name)s et %(amount)s autres \u00e9l\u00e9ments.", + "Failed to delete %(name)s and 1 other item.": "Impossible de supprimer %(name)s et un autre \u00e9l\u00e9ment.", + "Failed to delete %(name)s.": "Impossible de supprimer %(name)s.", + "Failed to get update url": "\u00c9chec de la mise \u00e0 jour de l'url", + "Failed to get upload url": "\u00c9chec de la r\u00e9cup\u00e9ration de l'url d'envoi", + "Failed to move %(name)s": "\u00c9chec du d\u00e9placement de %(name)s", + "Failed to send to {placeholder}": "\u00c9chec de l'envoi \u00e0 {placeholder}", + "Failed to share to {placeholder}": "\u00c9chec du partage avec {placeholder}", + "Failed.": "\u00c9chec.", + "Failed. Please check the network.": "\u00c9chec. V\u00e9rifiez le r\u00e9seau", + "File Upload canceled": "Envoi du fichier annul\u00e9", + "File Upload complete": "Envoi du fichier termin\u00e9", + "File Upload failed": "\u00c9chec de l'envoi du fichier", + "File Uploading...": "Envoi du fichier en cours...", + "File is too big": "Le fichier est trop volumineux", + "File is too small": "Le fichier est trop petit", + "Filetype not allowed": "Type de fichier non permis", + "Internal error. Failed to copy %(name)s and %(amount)s other item(s).": "Erreur interne. \u00c9chec de la copie de %(name)s et %(amount)s autres \u00e9l\u00e9ment(s).", + "Internal error. Failed to copy %(name)s.": "Erreur interne. \u00c9chec de la copie de %(name)s", + "Internal error. Failed to move %(name)s and %(amount)s other item(s).": "Erreur interne. \u00c9chec du d\u00e9placement de %(name)s et %(amount)s autres \u00e9l\u00e9ment(s).", + "Internal error. Failed to move %(name)s.": " Erreur interne. \u00c9chec du d\u00e9placement de %(name)s ", + "Invalid destination path": "Chemin de destination invalide", + "It is required.": "c'est obligatoire.", + "Just now": "A l'instant", + "Loading...": "Chargement...", + "Max number of files exceeded": "Le nombre maximal de fichiers est d\u00e9pass\u00e9", + "Move {placeholder} to:": "D\u00e9placer {placeholder} vers :", + "Moving %(name)s": "D\u00e9placement de %(name)s", + "Moving file %(index)s of %(total)s": "D\u00e9placement du fichier %(index)s de %(total)s", + "Name is required": "Le nom est obligatoire", + "Next (Right arrow key)": "Suivant (fl\u00e8che droite)", + "Only an extension there, please input a name.": "Une seule extension ici, saisissez un nom.", + "Open in New Tab": "Ouvrir dans un nouvel onglet", + "Password is required.": "Le mot de passe est obligatoire", + "Password is too short": "Le mot de passe est trop court", + "Passwords don't match": "Les mots de passe ne correspondent pas", + "Permission error": "Erreur de droits", + "Please check the network.": "V\u00e9rifier le r\u00e9seau.", + "Please choose a directory": "Choisissez un r\u00e9pertoire", + "Please enter days.": "Saisissez le nombre de jours.", + "Please enter password": "Entrez un mot de passe", + "Please enter the password again": "Entrez \u00e0 nouveau un mot de passe", + "Please enter valid days": "saisissez un nombre de jours valide", + "Please input at least an email.": "Saisissez au moins une adresse mel ", + "Please select a contact or a group.": "S\u00e9lectionnez un contact ou un groupe", + "Previous (Left arrow key)": "Pr\u00e9c\u00e9dent (fl\u00e8che gauche)", + "Processing...": "Traitement en cours...", + "Really want to delete {lib_name}?": "Confirmez la suppression de {lib_name}?", + "Rename Directory": "Renommer le r\u00e9pertoire", + "Rename File": "Renommer le fichier", + "Replace file {filename}?": "Remplacer le fichier {filename}?", + "Saving...": "Enregistrement...", + "Search users or enter emails": "Rechercher des utilisateurs ou saisir des adresses mail", + "Select groups": "S\u00e9lectionner les groupes", + "Set {placeholder}'s permission": "Attribuer des droits \u00e0 {placeholder}'s", + "Share {placeholder}": "Partage {placeholder}", + "Start": "D\u00e9marrer", + "Success": "Succ\u00e8s", + "Successfully copied %(name)s and %(amount)s other items.": "%(name)s et %(amount)s autres \u00e9l\u00e9ments copi\u00e9s avec succ\u00e8s.", + "Successfully copied %(name)s and 1 other item.": "%(name)s et 1 autre \u00e9l\u00e9ment copi\u00e9s avec succ\u00e8s.", + "Successfully copied %(name)s.": "%(name)s copi\u00e9 avec succ\u00e8s.", + "Successfully deleted %(name)s": "%(name)s supprim\u00e9 avec succ\u00e8s", + "Successfully deleted %(name)s and %(amount)s other items.": "Suppression avec succ\u00e8s de %(name)s et %(amount)s autres \u00e9l\u00e9ments.", + "Successfully deleted %(name)s and 1 other item.": " Suppression avec succ\u00e8s de %(name)s et 1 autre \u00e9l\u00e9ment.", + "Successfully deleted %(name)s.": " %(name)s supprim\u00e9 avec succ\u00e8s.", + "Successfully moved %(name)s and %(amount)s other items.": "%(name)s et %(amount)s autres \u00e9l\u00e9ments d\u00e9plac\u00e9s avec succ\u00e8s.", + "Successfully moved %(name)s and 1 other item.": " %(name)s et 1 autre \u00e9l\u00e9ment d\u00e9plac\u00e9s avec succ\u00e8s", + "Successfully moved %(name)s.": " %(name)s d\u00e9plac\u00e9 avec succ\u00e8s.", + "Successfully sent to {placeholder}": "Succ\u00e8s de l'envoi \u00e0 {placeholder}", + "Successfully shared to {placeholder}": "Succ\u00e8s du partage avec {placeholder}", + "Successfully unshared {placeholder}": "Partage de {placeholder} supprim\u00e9 avec succ\u00e8s", + "Successfully unstared {placeholder}": "{placeholder} suppression des favoris", + "Uploaded bytes exceed file size": "Le nombre de bytes envoy\u00e9s d\u00e9passe la taille du fichier", + "You don't have any library at present.": "Vous n\u2019avez pas actuellement de biblioth\u00e8que. ", + "You have not renamed it.": "Vous ne l'avez pas renomm\u00e9.", + "canceled": "annul\u00e9", + "uploaded": "envoy\u00e9" + }; + + django.gettext = function (msgid) { + var value = django.catalog[msgid]; + if (typeof(value) == 'undefined') { + return msgid; + } else { + return (typeof(value) == 'string') ? value : value[0]; + } + }; + + django.ngettext = function (singular, plural, count) { + var value = django.catalog[singular]; + if (typeof(value) == 'undefined') { + return (count == 1) ? singular : plural; + } else { + return value[django.pluralidx(count)]; + } + }; - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; + + django.pgettext = function (context, msgid) { + var value = django.gettext(context + '\x04' + msgid); + if (value.indexOf('\x04') != -1) { + value = msgid; + } + return value; + }; + + django.npgettext = function (context, singular, plural, count) { + var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count); + if (value.indexOf('\x04') != -1) { + value = django.ngettext(singular, plural, count); + } + return value; + }; django.interpolate = function (fmt, obj, named) { diff --git a/media/assets/scripts/i18n/he/djangojs.c0961455c8ff.js b/media/assets/scripts/i18n/he/djangojs.ea731d0746c4.js similarity index 94% rename from media/assets/scripts/i18n/he/djangojs.c0961455c8ff.js rename to media/assets/scripts/i18n/he/djangojs.ea731d0746c4.js index a59c65bd81..825dc82156 100644 --- a/media/assets/scripts/i18n/he/djangojs.c0961455c8ff.js +++ b/media/assets/scripts/i18n/he/djangojs.ea731d0746c4.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/he/djangojs.js b/media/assets/scripts/i18n/he/djangojs.js index a59c65bd81..825dc82156 100644 --- a/media/assets/scripts/i18n/he/djangojs.js +++ b/media/assets/scripts/i18n/he/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/hu/djangojs.7bb9c06fce30.js b/media/assets/scripts/i18n/hu/djangojs.7bb9c06fce30.js deleted file mode 100644 index ec06782f2c..0000000000 --- a/media/assets/scripts/i18n/hu/djangojs.7bb9c06fce30.js +++ /dev/null @@ -1,85 +0,0 @@ - - -(function (globals) { - - var django = globals.django || (globals.django = {}); - - - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; - - - - /* gettext identity library */ - - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; - django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; - - - django.interpolate = function (fmt, obj, named) { - if (named) { - return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])}); - } else { - return fmt.replace(/%s/g, function(match){return String(obj.shift())}); - } - }; - - - /* formatting library */ - - django.formats = { - "DATETIME_FORMAT": "Y. F j. G.i.s", - "DATETIME_INPUT_FORMATS": [ - "%Y.%m.%d. %H.%M.%S", - "%Y.%m.%d. %H.%M", - "%Y.%m.%d.", - "%Y-%m-%d %H:%M:%S", - "%Y-%m-%d %H:%M:%S.%f", - "%Y-%m-%d %H:%M", - "%Y-%m-%d" - ], - "DATE_FORMAT": "Y. F j.", - "DATE_INPUT_FORMATS": [ - "%Y.%m.%d.", - "%Y-%m-%d" - ], - "DECIMAL_SEPARATOR": ",", - "FIRST_DAY_OF_WEEK": "1", - "MONTH_DAY_FORMAT": "F j.", - "NUMBER_GROUPING": "3", - "SHORT_DATETIME_FORMAT": "Y.m.d. G.i.s", - "SHORT_DATE_FORMAT": "Y.m.d.", - "THOUSAND_SEPARATOR": "\u00a0", - "TIME_FORMAT": "G.i.s", - "TIME_INPUT_FORMATS": [ - "%H.%M.%S", - "%H.%M", - "%H:%M:%S", - "%H:%M" - ], - "YEAR_MONTH_FORMAT": "Y. F" - }; - - django.get_format = function (format_type) { - var value = django.formats[format_type]; - if (typeof(value) == 'undefined') { - return format_type; - } else { - return value; - } - }; - - /* add to global namespace */ - globals.pluralidx = django.pluralidx; - globals.gettext = django.gettext; - globals.ngettext = django.ngettext; - globals.gettext_noop = django.gettext_noop; - globals.pgettext = django.pgettext; - globals.npgettext = django.npgettext; - globals.interpolate = django.interpolate; - globals.get_format = django.get_format; - -}(this)); - diff --git a/media/assets/scripts/i18n/hu/djangojs.ace648d07547.js b/media/assets/scripts/i18n/hu/djangojs.ace648d07547.js new file mode 100644 index 0000000000..481a92b2ff --- /dev/null +++ b/media/assets/scripts/i18n/hu/djangojs.ace648d07547.js @@ -0,0 +1,217 @@ + + +(function (globals) { + + var django = globals.django || (globals.django = {}); + + + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; + + + + /* gettext library */ + + django.catalog = { + "%curr% of %total%": "%curr% / %total%", + "The image could not be loaded.": "A k\u00e9pet nem lehet bet\u00f6lteni.", + "Are you sure you want to delete these selected items?": "Biztos, hogy t\u00f6rli ezeket az elemeket?", + "Cancel": "M\u00e9gsem", + "Canceled.": "Megszak\u00edtva.", + "Close (Esc)": "Bez\u00e1r (Esc)", + "Copy {placeholder} to:": "{placeholder} m\u00e1sol\u00e1sa ide:", + "Copying %(name)s": "%(name)s m\u00e1sol\u00e1sa", + "Copying file %(index)s of %(total)s": "F\u00e1jlok m\u00e1sol\u00e1sa: %(index)s / %(total)s", + "Delete": "T\u00f6rl\u00e9s", + "Delete Items": "Elemek t\u00f6rl\u00e9se", + "Delete succeeded.": "Sikeres t\u00f6rl\u00e9s", + "Empty file upload result": "\u00dcres f\u00e1jl felt\u00f6lt\u00e9s", + "Error": "Hiba", + "Failed to copy %(name)s": "%(name)s m\u00e1sol\u00e1sa sikertelen", + "Failed to delete %(name)s and %(amount)s other items.": "%(name)s \u00e9s m\u00e9g %(amount)s m\u00e1sik elem t\u00f6rl\u00e9se sikertelen.", + "Failed to delete %(name)s and 1 other item.": "%(name)s \u00e9s m\u00e9g 1 elem t\u00f6rl\u00e9se sikertelen.", + "Failed to delete %(name)s.": "T\u00f6rl\u00e9s meghi\u00fasult: %(name)s.", + "Failed to get update url": "A friss\u00edt\u00e9si linket nem lehet el\u00e9rni", + "Failed to get upload url": "A felt\u00f6lt\u00e9si linket nem lehet el\u00e9rni", + "Failed to move %(name)s": "%(name)s mozgat\u00e1sa sikertelen", + "Failed to send to {placeholder}": "Sikertelen k\u00fcld\u00e9s ide: {placeholder}", + "Failed to share to {placeholder}": "{placeholder} megoszt\u00e1sa sikertelen", + "Failed.": "Sikertelen.", + "Failed. Please check the network.": "Sikertelen. Ellen\u0151rizze a h\u00e1l\u00f3zatot.", + "File Upload canceled": "F\u00e1jl felt\u00f6lt\u00e9s megszak\u00edtva", + "File Upload complete": "F\u00e1jl felt\u00f6lt\u00e9s k\u00e9sz", + "File Upload failed": "F\u00e1jl felt\u00f6lt\u00e9s sikertelen", + "File Uploading...": "F\u00e1jl felt\u00f6lt\u00e9s ...", + "File is too big": "T\u00fal nagy f\u00e1jl", + "File is too small": "T\u00fal kicsi f\u00e1jl", + "Filetype not allowed": "Nem enged\u00e9lyezett f\u00e1jlt\u00edpus", + "Internal error. Failed to copy %(name)s and %(amount)s other item(s).": "Bels\u0151 hiba. %(name)s m\u00e1sol\u00e1sa \u00e9s m\u00e9g %(amount)s m\u00e1sik elem\u00e9 sikertelen.", + "Internal error. Failed to copy %(name)s.": "Bels\u0151 hiba. %(name)s m\u00e1sol\u00e1sa sikertelen.", + "Internal error. Failed to move %(name)s and %(amount)s other item(s).": "Bels\u0151 hiba. %(name)s mozgat\u00e1sa \u00e9s m\u00e9g %(amount)s m\u00e1sik elem\u00e9 sikertelen.", + "Internal error. Failed to move %(name)s.": "Bels\u0151 hiba. %(name)s mozgat\u00e1sa sikertelen.", + "Invalid destination path": "\u00c9rv\u00e9nytelen c\u00e9l \u00fatvonal", + "It is required.": "Sz\u00fcks\u00e9ges.", + "Just now": "\u00c9ppen most", + "Loading...": "Bet\u00f6lt\u00e9s...", + "Max number of files exceeded": "A maxim\u00e1lis f\u00e1jl sz\u00e1m t\u00fall\u00e9pve", + "Move {placeholder} to:": "{placeholder} mozgat\u00e1sa ide:", + "Moving %(name)s": "%(name)s mozgat\u00e1sa", + "Moving file %(index)s of %(total)s": "F\u00e1jlok mozgat\u00e1sa: %(index)s / %(total)s", + "Name is required": "N\u00e9v sz\u00fcks\u00e9ges", + "Next (Right arrow key)": "K\u00f6vetkez\u0151 (Jobbra ny\u00edl)", + "Only an extension there, please input a name.": "Csak a kiterjeszt\u00e9s van, k\u00e9rem adja meg a nevet.", + "Open in New Tab": "Megnyit\u00e1s \u00faj f\u00fcl\u00f6n", + "Password is required.": "Jelsz\u00f3 sz\u00fcks\u00e9ges.", + "Password is too short": "A jelsz\u00f3 t\u00fal r\u00f6vid", + "Passwords don't match": "Nem egyeznek a megadott jelszavak.", + "Permission error": "Jogosults\u00e1g hiba", + "Please check the network.": "Ellen\u0151rizze a h\u00e1l\u00f3zatot.", + "Please choose a directory": "K\u00e9rem v\u00e1lasszon k\u00f6nyvt\u00e1rat", + "Please enter days.": "Adja meg a napok sz\u00e1m\u00e1t.", + "Please enter password": "K\u00e9rem adja meg a jelsz\u00f3t", + "Please enter the password again": "K\u00e9rem adja meg a jelsz\u00f3t \u00fajra", + "Please enter valid days": "K\u00e9rem \u00e9rv\u00e9nyes nap sz\u00e1mot adjon meg", + "Please input at least an email.": "Adjon meg legal\u00e1bb egy e-mail c\u00edmet", + "Please select a contact or a group.": "V\u00e1lasszon kapcsolatot vagy csoportot.", + "Previous (Left arrow key)": "El\u0151z\u0151 (Balra ny\u00edl)", + "Processing...": "Feldolgoz\u00e1s...", + "Really want to delete {lib_name}?": "Biztosan t\u00f6rli: {lib_name}?", + "Rename Directory": "K\u00f6nyvt\u00e1r \u00e1tnevez\u00e9se", + "Rename File": "F\u00e1jl \u00e1tnevez\u00e9se", + "Replace file {filename}?": "Fel\u00fcl\u00edrja: {filename}?", + "Saving...": "Ment\u00e9s...", + "Search users or enter emails": "Felhaszn\u00e1l\u00f3k keres\u00e9se vagy adjon meg e-mail c\u00edmeket", + "Select groups": "Csoportok kiv\u00e1laszt\u00e1sa", + "Set {placeholder}'s permission": "{placeholder} jogosults\u00e1g be\u00e1ll\u00edt\u00e1sa", + "Share {placeholder}": "{placeholder} megoszt\u00e1sa", + "Start": "Ind\u00edt", + "Success": "Sikeres", + "Successfully copied %(name)s and %(amount)s other items.": "%(name)s m\u00e1sol\u00e1sa \u00e9s m\u00e9g %(amount)s m\u00e1sik elem\u00e9 sikeres.", + "Successfully copied %(name)s and 1 other item.": "%(name)s m\u00e1sol\u00e1sa \u00e9s m\u00e9g 1 m\u00e1sik elem\u00e9 sikeres.", + "Successfully copied %(name)s.": "%(name)s m\u00e1sol\u00e1sa sikeres.", + "Successfully deleted %(name)s": "%(name)s t\u00f6rl\u00e9se sikeres", + "Successfully deleted %(name)s and %(amount)s other items.": "%(name)s \u00e9s m\u00e9g %(amount)s m\u00e1sik elem t\u00f6r\u00f6lve.", + "Successfully deleted %(name)s and 1 other item.": "%(name)s \u00e9s m\u00e9g 1 m\u00e1sik elem t\u00f6r\u00f6lve.", + "Successfully deleted %(name)s.": "%(name)s t\u00f6rl\u00e9se sikeres.", + "Successfully moved %(name)s and %(amount)s other items.": "%(name)s \u00e1thelyez\u00e9se \u00e9s m\u00e9g %(amount)s m\u00e1sik elem\u00e9 sikeres.", + "Successfully moved %(name)s and 1 other item.": "%(name)s \u00e1thelyez\u00e9se \u00e9s m\u00e9g 1 m\u00e1sik elem\u00e9 sikeres.", + "Successfully moved %(name)s.": "%(name)s sikeresen \u00e1tmozgatva.", + "Successfully sent to {placeholder}": "Sikeresen elk\u00fcldve ide: {placeholder}", + "Successfully shared to {placeholder}": "Sikeresen megosztva: {placeholder}", + "Successfully unshared {placeholder}": "{placeholder} megoszt\u00e1sa sikeresen megsz\u00fcntetve", + "Successfully unstared {placeholder}": "{placeholder} sikeresen t\u00f6r\u00f6lve a kedvencekb\u0151l", + "Uploaded bytes exceed file size": "A felt\u00f6lt\u00f6tt b\u00e1jtok meghaladj\u00e1k a f\u00e1jl m\u00e9ret\u00e9t", + "You don't have any library at present.": "Jelenleg nincs egyetlen k\u00f6tete sem.", + "You have not renamed it.": "Nem nevezte \u00e1t.", + "canceled": "megszak\u00edtva", + "uploaded": "felt\u00f6ltve" + }; + + django.gettext = function (msgid) { + var value = django.catalog[msgid]; + if (typeof(value) == 'undefined') { + return msgid; + } else { + return (typeof(value) == 'string') ? value : value[0]; + } + }; + + django.ngettext = function (singular, plural, count) { + var value = django.catalog[singular]; + if (typeof(value) == 'undefined') { + return (count == 1) ? singular : plural; + } else { + return value[django.pluralidx(count)]; + } + }; + + django.gettext_noop = function (msgid) { return msgid; }; + + django.pgettext = function (context, msgid) { + var value = django.gettext(context + '\x04' + msgid); + if (value.indexOf('\x04') != -1) { + value = msgid; + } + return value; + }; + + django.npgettext = function (context, singular, plural, count) { + var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count); + if (value.indexOf('\x04') != -1) { + value = django.ngettext(singular, plural, count); + } + return value; + }; + + + django.interpolate = function (fmt, obj, named) { + if (named) { + return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])}); + } else { + return fmt.replace(/%s/g, function(match){return String(obj.shift())}); + } + }; + + + /* formatting library */ + + django.formats = { + "DATETIME_FORMAT": "Y. F j. G.i.s", + "DATETIME_INPUT_FORMATS": [ + "%Y.%m.%d. %H.%M.%S", + "%Y.%m.%d. %H.%M", + "%Y.%m.%d.", + "%Y-%m-%d %H:%M:%S", + "%Y-%m-%d %H:%M:%S.%f", + "%Y-%m-%d %H:%M", + "%Y-%m-%d" + ], + "DATE_FORMAT": "Y. F j.", + "DATE_INPUT_FORMATS": [ + "%Y.%m.%d.", + "%Y-%m-%d" + ], + "DECIMAL_SEPARATOR": ",", + "FIRST_DAY_OF_WEEK": "1", + "MONTH_DAY_FORMAT": "F j.", + "NUMBER_GROUPING": "3", + "SHORT_DATETIME_FORMAT": "Y.m.d. G.i.s", + "SHORT_DATE_FORMAT": "Y.m.d.", + "THOUSAND_SEPARATOR": "\u00a0", + "TIME_FORMAT": "G.i.s", + "TIME_INPUT_FORMATS": [ + "%H.%M.%S", + "%H.%M", + "%H:%M:%S", + "%H:%M" + ], + "YEAR_MONTH_FORMAT": "Y. F" + }; + + django.get_format = function (format_type) { + var value = django.formats[format_type]; + if (typeof(value) == 'undefined') { + return format_type; + } else { + return value; + } + }; + + /* add to global namespace */ + globals.pluralidx = django.pluralidx; + globals.gettext = django.gettext; + globals.ngettext = django.ngettext; + globals.gettext_noop = django.gettext_noop; + globals.pgettext = django.pgettext; + globals.npgettext = django.npgettext; + globals.interpolate = django.interpolate; + globals.get_format = django.get_format; + +}(this)); + diff --git a/media/assets/scripts/i18n/hu/djangojs.js b/media/assets/scripts/i18n/hu/djangojs.js index ec06782f2c..481a92b2ff 100644 --- a/media/assets/scripts/i18n/hu/djangojs.js +++ b/media/assets/scripts/i18n/hu/djangojs.js @@ -5,17 +5,149 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; - /* gettext identity library */ + /* gettext library */ + + django.catalog = { + "%curr% of %total%": "%curr% / %total%", + "The image could not be loaded.": "A k\u00e9pet nem lehet bet\u00f6lteni.", + "Are you sure you want to delete these selected items?": "Biztos, hogy t\u00f6rli ezeket az elemeket?", + "Cancel": "M\u00e9gsem", + "Canceled.": "Megszak\u00edtva.", + "Close (Esc)": "Bez\u00e1r (Esc)", + "Copy {placeholder} to:": "{placeholder} m\u00e1sol\u00e1sa ide:", + "Copying %(name)s": "%(name)s m\u00e1sol\u00e1sa", + "Copying file %(index)s of %(total)s": "F\u00e1jlok m\u00e1sol\u00e1sa: %(index)s / %(total)s", + "Delete": "T\u00f6rl\u00e9s", + "Delete Items": "Elemek t\u00f6rl\u00e9se", + "Delete succeeded.": "Sikeres t\u00f6rl\u00e9s", + "Empty file upload result": "\u00dcres f\u00e1jl felt\u00f6lt\u00e9s", + "Error": "Hiba", + "Failed to copy %(name)s": "%(name)s m\u00e1sol\u00e1sa sikertelen", + "Failed to delete %(name)s and %(amount)s other items.": "%(name)s \u00e9s m\u00e9g %(amount)s m\u00e1sik elem t\u00f6rl\u00e9se sikertelen.", + "Failed to delete %(name)s and 1 other item.": "%(name)s \u00e9s m\u00e9g 1 elem t\u00f6rl\u00e9se sikertelen.", + "Failed to delete %(name)s.": "T\u00f6rl\u00e9s meghi\u00fasult: %(name)s.", + "Failed to get update url": "A friss\u00edt\u00e9si linket nem lehet el\u00e9rni", + "Failed to get upload url": "A felt\u00f6lt\u00e9si linket nem lehet el\u00e9rni", + "Failed to move %(name)s": "%(name)s mozgat\u00e1sa sikertelen", + "Failed to send to {placeholder}": "Sikertelen k\u00fcld\u00e9s ide: {placeholder}", + "Failed to share to {placeholder}": "{placeholder} megoszt\u00e1sa sikertelen", + "Failed.": "Sikertelen.", + "Failed. Please check the network.": "Sikertelen. Ellen\u0151rizze a h\u00e1l\u00f3zatot.", + "File Upload canceled": "F\u00e1jl felt\u00f6lt\u00e9s megszak\u00edtva", + "File Upload complete": "F\u00e1jl felt\u00f6lt\u00e9s k\u00e9sz", + "File Upload failed": "F\u00e1jl felt\u00f6lt\u00e9s sikertelen", + "File Uploading...": "F\u00e1jl felt\u00f6lt\u00e9s ...", + "File is too big": "T\u00fal nagy f\u00e1jl", + "File is too small": "T\u00fal kicsi f\u00e1jl", + "Filetype not allowed": "Nem enged\u00e9lyezett f\u00e1jlt\u00edpus", + "Internal error. Failed to copy %(name)s and %(amount)s other item(s).": "Bels\u0151 hiba. %(name)s m\u00e1sol\u00e1sa \u00e9s m\u00e9g %(amount)s m\u00e1sik elem\u00e9 sikertelen.", + "Internal error. Failed to copy %(name)s.": "Bels\u0151 hiba. %(name)s m\u00e1sol\u00e1sa sikertelen.", + "Internal error. Failed to move %(name)s and %(amount)s other item(s).": "Bels\u0151 hiba. %(name)s mozgat\u00e1sa \u00e9s m\u00e9g %(amount)s m\u00e1sik elem\u00e9 sikertelen.", + "Internal error. Failed to move %(name)s.": "Bels\u0151 hiba. %(name)s mozgat\u00e1sa sikertelen.", + "Invalid destination path": "\u00c9rv\u00e9nytelen c\u00e9l \u00fatvonal", + "It is required.": "Sz\u00fcks\u00e9ges.", + "Just now": "\u00c9ppen most", + "Loading...": "Bet\u00f6lt\u00e9s...", + "Max number of files exceeded": "A maxim\u00e1lis f\u00e1jl sz\u00e1m t\u00fall\u00e9pve", + "Move {placeholder} to:": "{placeholder} mozgat\u00e1sa ide:", + "Moving %(name)s": "%(name)s mozgat\u00e1sa", + "Moving file %(index)s of %(total)s": "F\u00e1jlok mozgat\u00e1sa: %(index)s / %(total)s", + "Name is required": "N\u00e9v sz\u00fcks\u00e9ges", + "Next (Right arrow key)": "K\u00f6vetkez\u0151 (Jobbra ny\u00edl)", + "Only an extension there, please input a name.": "Csak a kiterjeszt\u00e9s van, k\u00e9rem adja meg a nevet.", + "Open in New Tab": "Megnyit\u00e1s \u00faj f\u00fcl\u00f6n", + "Password is required.": "Jelsz\u00f3 sz\u00fcks\u00e9ges.", + "Password is too short": "A jelsz\u00f3 t\u00fal r\u00f6vid", + "Passwords don't match": "Nem egyeznek a megadott jelszavak.", + "Permission error": "Jogosults\u00e1g hiba", + "Please check the network.": "Ellen\u0151rizze a h\u00e1l\u00f3zatot.", + "Please choose a directory": "K\u00e9rem v\u00e1lasszon k\u00f6nyvt\u00e1rat", + "Please enter days.": "Adja meg a napok sz\u00e1m\u00e1t.", + "Please enter password": "K\u00e9rem adja meg a jelsz\u00f3t", + "Please enter the password again": "K\u00e9rem adja meg a jelsz\u00f3t \u00fajra", + "Please enter valid days": "K\u00e9rem \u00e9rv\u00e9nyes nap sz\u00e1mot adjon meg", + "Please input at least an email.": "Adjon meg legal\u00e1bb egy e-mail c\u00edmet", + "Please select a contact or a group.": "V\u00e1lasszon kapcsolatot vagy csoportot.", + "Previous (Left arrow key)": "El\u0151z\u0151 (Balra ny\u00edl)", + "Processing...": "Feldolgoz\u00e1s...", + "Really want to delete {lib_name}?": "Biztosan t\u00f6rli: {lib_name}?", + "Rename Directory": "K\u00f6nyvt\u00e1r \u00e1tnevez\u00e9se", + "Rename File": "F\u00e1jl \u00e1tnevez\u00e9se", + "Replace file {filename}?": "Fel\u00fcl\u00edrja: {filename}?", + "Saving...": "Ment\u00e9s...", + "Search users or enter emails": "Felhaszn\u00e1l\u00f3k keres\u00e9se vagy adjon meg e-mail c\u00edmeket", + "Select groups": "Csoportok kiv\u00e1laszt\u00e1sa", + "Set {placeholder}'s permission": "{placeholder} jogosults\u00e1g be\u00e1ll\u00edt\u00e1sa", + "Share {placeholder}": "{placeholder} megoszt\u00e1sa", + "Start": "Ind\u00edt", + "Success": "Sikeres", + "Successfully copied %(name)s and %(amount)s other items.": "%(name)s m\u00e1sol\u00e1sa \u00e9s m\u00e9g %(amount)s m\u00e1sik elem\u00e9 sikeres.", + "Successfully copied %(name)s and 1 other item.": "%(name)s m\u00e1sol\u00e1sa \u00e9s m\u00e9g 1 m\u00e1sik elem\u00e9 sikeres.", + "Successfully copied %(name)s.": "%(name)s m\u00e1sol\u00e1sa sikeres.", + "Successfully deleted %(name)s": "%(name)s t\u00f6rl\u00e9se sikeres", + "Successfully deleted %(name)s and %(amount)s other items.": "%(name)s \u00e9s m\u00e9g %(amount)s m\u00e1sik elem t\u00f6r\u00f6lve.", + "Successfully deleted %(name)s and 1 other item.": "%(name)s \u00e9s m\u00e9g 1 m\u00e1sik elem t\u00f6r\u00f6lve.", + "Successfully deleted %(name)s.": "%(name)s t\u00f6rl\u00e9se sikeres.", + "Successfully moved %(name)s and %(amount)s other items.": "%(name)s \u00e1thelyez\u00e9se \u00e9s m\u00e9g %(amount)s m\u00e1sik elem\u00e9 sikeres.", + "Successfully moved %(name)s and 1 other item.": "%(name)s \u00e1thelyez\u00e9se \u00e9s m\u00e9g 1 m\u00e1sik elem\u00e9 sikeres.", + "Successfully moved %(name)s.": "%(name)s sikeresen \u00e1tmozgatva.", + "Successfully sent to {placeholder}": "Sikeresen elk\u00fcldve ide: {placeholder}", + "Successfully shared to {placeholder}": "Sikeresen megosztva: {placeholder}", + "Successfully unshared {placeholder}": "{placeholder} megoszt\u00e1sa sikeresen megsz\u00fcntetve", + "Successfully unstared {placeholder}": "{placeholder} sikeresen t\u00f6r\u00f6lve a kedvencekb\u0151l", + "Uploaded bytes exceed file size": "A felt\u00f6lt\u00f6tt b\u00e1jtok meghaladj\u00e1k a f\u00e1jl m\u00e9ret\u00e9t", + "You don't have any library at present.": "Jelenleg nincs egyetlen k\u00f6tete sem.", + "You have not renamed it.": "Nem nevezte \u00e1t.", + "canceled": "megszak\u00edtva", + "uploaded": "felt\u00f6ltve" + }; + + django.gettext = function (msgid) { + var value = django.catalog[msgid]; + if (typeof(value) == 'undefined') { + return msgid; + } else { + return (typeof(value) == 'string') ? value : value[0]; + } + }; + + django.ngettext = function (singular, plural, count) { + var value = django.catalog[singular]; + if (typeof(value) == 'undefined') { + return (count == 1) ? singular : plural; + } else { + return value[django.pluralidx(count)]; + } + }; - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; + + django.pgettext = function (context, msgid) { + var value = django.gettext(context + '\x04' + msgid); + if (value.indexOf('\x04') != -1) { + value = msgid; + } + return value; + }; + + django.npgettext = function (context, singular, plural, count) { + var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count); + if (value.indexOf('\x04') != -1) { + value = django.ngettext(singular, plural, count); + } + return value; + }; django.interpolate = function (fmt, obj, named) { diff --git a/media/assets/scripts/i18n/is/djangojs.2d7484b7c9d2.js b/media/assets/scripts/i18n/is/djangojs.2d7484b7c9d2.js deleted file mode 100644 index 9924fab9e7..0000000000 --- a/media/assets/scripts/i18n/is/djangojs.2d7484b7c9d2.js +++ /dev/null @@ -1,97 +0,0 @@ - - -(function (globals) { - - var django = globals.django || (globals.django = {}); - - - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; - - - - /* gettext identity library */ - - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; - django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; - - - django.interpolate = function (fmt, obj, named) { - if (named) { - return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])}); - } else { - return fmt.replace(/%s/g, function(match){return String(obj.shift())}); - } - }; - - - /* formatting library */ - - django.formats = { - "DATETIME_FORMAT": "N j, Y, P", - "DATETIME_INPUT_FORMATS": [ - "%Y-%m-%d %H:%M:%S", - "%Y-%m-%d %H:%M:%S.%f", - "%Y-%m-%d %H:%M", - "%Y-%m-%d", - "%m/%d/%Y %H:%M:%S", - "%m/%d/%Y %H:%M:%S.%f", - "%m/%d/%Y %H:%M", - "%m/%d/%Y", - "%m/%d/%y %H:%M:%S", - "%m/%d/%y %H:%M:%S.%f", - "%m/%d/%y %H:%M", - "%m/%d/%y" - ], - "DATE_FORMAT": "j. F Y", - "DATE_INPUT_FORMATS": [ - "%Y-%m-%d", - "%m/%d/%Y", - "%m/%d/%y", - "%b %d %Y", - "%b %d, %Y", - "%d %b %Y", - "%d %b, %Y", - "%B %d %Y", - "%B %d, %Y", - "%d %B %Y", - "%d %B, %Y" - ], - "DECIMAL_SEPARATOR": ",", - "FIRST_DAY_OF_WEEK": "0", - "MONTH_DAY_FORMAT": "j. F", - "NUMBER_GROUPING": "0", - "SHORT_DATETIME_FORMAT": "m/d/Y P", - "SHORT_DATE_FORMAT": "j.n.Y", - "THOUSAND_SEPARATOR": ".", - "TIME_FORMAT": "H:i:s", - "TIME_INPUT_FORMATS": [ - "%H:%M:%S", - "%H:%M" - ], - "YEAR_MONTH_FORMAT": "F Y" - }; - - django.get_format = function (format_type) { - var value = django.formats[format_type]; - if (typeof(value) == 'undefined') { - return format_type; - } else { - return value; - } - }; - - /* add to global namespace */ - globals.pluralidx = django.pluralidx; - globals.gettext = django.gettext; - globals.ngettext = django.ngettext; - globals.gettext_noop = django.gettext_noop; - globals.pgettext = django.pgettext; - globals.npgettext = django.npgettext; - globals.interpolate = django.interpolate; - globals.get_format = django.get_format; - -}(this)); - diff --git a/media/assets/scripts/i18n/is/djangojs.9c410f0f7697.js b/media/assets/scripts/i18n/is/djangojs.9c410f0f7697.js new file mode 100644 index 0000000000..631ed0e08c --- /dev/null +++ b/media/assets/scripts/i18n/is/djangojs.9c410f0f7697.js @@ -0,0 +1,229 @@ + + +(function (globals) { + + var django = globals.django || (globals.django = {}); + + + django.pluralidx = function (n) { + var v=(n % 10 == 1 || n % 100 != 11); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; + + + + /* gettext library */ + + django.catalog = { + "%curr% of %total%": "%curr% af %total%", + "The image could not be loaded.": "Myndina var ekki h\u00e6gt a\u00f0 hla\u00f0a inn.", + "Are you sure you want to delete these selected items?": "Ertu viss um a\u00f0 \u00fe\u00fa viljir ey\u00f0a \u00feessum v\u00f6ldu atri\u00f0um?", + "Cancel": "H\u00e6tta vi\u00f0", + "Canceled.": "H\u00e6tt vi\u00f0", + "Close (Esc)": "Loka (Esc)", + "Copy {placeholder} to:": "Afrita {placeholder} til:", + "Copying %(name)s": "Afrita %(name)s", + "Copying file %(index)s of %(total)s": "Afrita skr\u00e1 %(index)s af %(total)s", + "Delete": "Ey\u00f0a", + "Delete Items": "Eyddum atri\u00f0um", + "Delete succeeded.": "Ey\u00f0ing t\u00f3kst.", + "Empty file upload result": "Upphle\u00f0slusta\u00f0a t\u00f3mra skr\u00e1a", + "Error": "Villa", + "Failed to copy %(name)s": "Mist\u00f3kst a\u00f0 afrita %(name)s", + "Failed to delete %(name)s and %(amount)s other items.": "Mist\u00f3kst a\u00f0 ey\u00f0a %(name)s og %(amount)s \u00f6\u00f0rum atri\u00f0um.", + "Failed to delete %(name)s and 1 other item.": "Mist\u00f3kst a\u00f0 ey\u00f0a %(name)s og einu \u00f6\u00f0ru atri\u00f0i.", + "Failed to delete %(name)s.": "Mist\u00f3kst a\u00f0 ey\u00f0a %(name)s.", + "Failed to get update url": "Mist\u00f3kst a\u00f0 s\u00e6kja uppf\u00e6rslusl\u00f3\u00f0", + "Failed to get upload url": "Mist\u00f3kst a\u00f0 s\u00e6kja upphle\u00f0slusl\u00f3\u00f0", + "Failed to move %(name)s": "Mist\u00f3kst a\u00f0 f\u00e6ra %(name)s", + "Failed to send to {placeholder}": "Mist\u00f3kst a\u00f0 senda til {placeholder}", + "Failed to share to {placeholder}": "Mist\u00f3kst a\u00f0 deila me\u00f0 {placeholder}", + "Failed.": "Mist\u00f3kst.", + "Failed. Please check the network.": "Mist\u00f3kst. Vinsamlegast veldu netkerfi.", + "File Upload canceled": "H\u00e6tt vi\u00f0 upphle\u00f0slu skr\u00e1ar", + "File Upload complete": "Upphle\u00f0slu skr\u00e1ar loki\u00f0", + "File Upload failed": "Upphle\u00f0sla skr\u00e1ar mist\u00f3kst", + "File Uploading...": "Skr\u00e1 hle\u00f0st upp...", + "File is too big": "Skr\u00e1 er of st\u00f3r", + "File is too small": "Skr\u00e1 er of sm\u00e1", + "Filetype not allowed": "Skr\u00e1arger\u00f0 er ekki leyf\u00f0", + "Internal error. Failed to copy %(name)s and %(amount)s other item(s).": "kerfisvilla. Mist\u00f3kst a\u00f0 afrita %(name)s og %(amount)s \u00f6\u00f0ru(m) atri\u00f0i/atri\u00f0um.", + "Internal error. Failed to copy %(name)s.": "Kerfisvilla. Mist\u00f3kst a\u00f0 afrita %(name)s.", + "Internal error. Failed to move %(name)s and %(amount)s other item(s).": "Kerfisvilla. Mist\u00f3kst a\u00f0 f\u00e6ra %(name)s og %(amount)s \u00f6\u00f0ru(m) atri\u00f0i/atri\u00f0um.", + "Internal error. Failed to move %(name)s.": "Kerfisvilla. Mist\u00f3kst a\u00f0 f\u00e6ra %(name)s.", + "Invalid destination path": "R\u00f6ng lokasl\u00f3\u00f0", + "It is required.": "\u00deess er krafist.", + "Just now": "R\u00e9tt \u00ed \u00feessu", + "Loading...": "Hle\u00f0...", + "Max number of files exceeded": "H\u00e1marksfj\u00f6lda skr\u00e1a n\u00e1\u00f0", + "Move {placeholder} to:": "F\u00e6ara {placeholder} til:", + "Moving %(name)s": "F\u00e6ri %(name)s", + "Moving file %(index)s of %(total)s": "F\u00e6ri skr\u00e1 %(index)s af %(total)s", + "Name is required": "Nafn er skilyr\u00f0i", + "Next (Right arrow key)": "N\u00e6sta (h\u00e6gri \u00f6rvalykill)", + "Only an extension there, please input a name.": "H\u00e9r er a\u00f0eins nafnaukinn, vinsamlegast sl\u00e1\u00f0u inn nafn.", + "Open in New Tab": "Opna \u00ed n\u00fdjum flipa", + "Password is required.": "Lykilor\u00f0s er krafist.", + "Password is too short": "Lykilor\u00f0i\u00f0 er of stutt", + "Passwords don't match": "Lykilor\u00f0in stemma ekki", + "Permission error": "R\u00e9ttindavilla", + "Please check the network.": "Vinsamlegast athuga\u00f0u netkerfi\u00f0.", + "Please choose a directory": "Vinsamlegast veldu skr\u00e1asafn", + "Please enter days.": "Vinsamlegast sl\u00e1\u00f0u inn daga.", + "Please enter password": "Vinsamlegast sl\u00e1\u00f0u inn lykilor\u00f0", + "Please enter the password again": "Vinsamlegast sl\u00e1\u00f0u inn lykilor\u00f0i\u00f0 aftur", + "Please enter valid days": "Vinsamlegast sl\u00e1\u00f0u inn l\u00f6glega daga", + "Please input at least an email.": "Vindamlegast settu inn amk eitt netfang.", + "Please select a contact or a group.": "Vinsamlegast veldu tengili\u00f0 e\u00f0a h\u00f3p", + "Previous (Left arrow key)": "Fyrri (vinstri \u00f6rvalykill)", + "Processing...": "Vinnsla...", + "Really want to delete {lib_name}?": "Viltu virkilega ey\u00f0a {lib_name}?", + "Rename Directory": "Endurnefna Skr\u00e1asafn", + "Rename File": "Endurnefna Skr\u00e1", + "Replace file {filename}?": "Skipta \u00fat skr\u00e1nni {filename}?", + "Saving...": "Vista...", + "Search users or enter emails": "Lei\u00f0a a\u00f0 notendum e\u00f0a sl\u00e1\u00f0u inn netf\u00f6ng", + "Select groups": "Veldu h\u00f3pa", + "Set {placeholder}'s permission": "Setja r\u00e9ttindi {placeholder}", + "Share {placeholder}": "Deila {placeholder}", + "Start": "Byrja", + "Success": "T\u00f3kst", + "Successfully copied %(name)s and %(amount)s other items.": "T\u00f3kst a\u00f0 afrita %(name)s og %(amount)s \u00f6\u00f0rum atri\u00f0um.", + "Successfully copied %(name)s and 1 other item.": "T\u00f3kst a\u00f0 afrita %(name)s og 1 \u00f6\u00f0ru atri\u00f0i.", + "Successfully copied %(name)s.": "T\u00f3kst a\u00f0 afrita %(name)s.", + "Successfully deleted %(name)s": "Giftursamlega eyddi %(name)s", + "Successfully deleted %(name)s and %(amount)s other items.": "T\u00f3kst a\u00f0 ey\u00f0a %(name)s og %(amount)s \u00f6\u00f0rum atri\u00f0um.", + "Successfully deleted %(name)s and 1 other item.": "T\u00f3kst a\u00f0 ey\u00f0a %(name)s og 1 \u00f6\u00f0ru atri\u00f0i.", + "Successfully deleted %(name)s.": "T\u00f3kst a\u00f0 ey\u00f0a %(name)s.", + "Successfully moved %(name)s and %(amount)s other items.": "T\u00f3kst a\u00f0 f\u00e6ra %(name)s og %(amount)s \u00f6\u00f0rum atri\u00f0um", + "Successfully moved %(name)s and 1 other item.": "T\u00f3kst a\u00f0 f\u00e6ra %(name)s og 1 \u00f6\u00f0ru atri\u00f0i.", + "Successfully moved %(name)s.": "T\u00f3kst a\u00f0 flytja %(name)s.", + "Successfully sent to {placeholder}": "T\u00f3kst a\u00f0 senda til {placeholder}", + "Successfully shared to {placeholder}": "T\u00f3kst a\u00f0 deila me\u00f0 {placeholder}", + "Successfully unshared {placeholder}": "T\u00f3kst a\u00f0 taka deilingu af {placeholder}", + "Successfully unstared {placeholder}": "T\u00f3kst a\u00f0 taka stj\u00f6rnu af {placeholder}", + "Uploaded bytes exceed file size": "Upphl\u00f6\u00f0num b\u00e6tum skr\u00e1arst\u00e6r\u00f0ar n\u00e1\u00f0", + "You don't have any library at present.": "\u00de\u00fa \u00e1tt n\u00fa engin s\u00f6fn.", + "You have not renamed it.": "\u00de\u00fa hefur ekki endurnefnt \u00fea\u00f0.", + "canceled": "h\u00e6tt vi\u00f0", + "uploaded": "hla\u00f0i\u00f0 upp" + }; + + django.gettext = function (msgid) { + var value = django.catalog[msgid]; + if (typeof(value) == 'undefined') { + return msgid; + } else { + return (typeof(value) == 'string') ? value : value[0]; + } + }; + + django.ngettext = function (singular, plural, count) { + var value = django.catalog[singular]; + if (typeof(value) == 'undefined') { + return (count == 1) ? singular : plural; + } else { + return value[django.pluralidx(count)]; + } + }; + + django.gettext_noop = function (msgid) { return msgid; }; + + django.pgettext = function (context, msgid) { + var value = django.gettext(context + '\x04' + msgid); + if (value.indexOf('\x04') != -1) { + value = msgid; + } + return value; + }; + + django.npgettext = function (context, singular, plural, count) { + var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count); + if (value.indexOf('\x04') != -1) { + value = django.ngettext(singular, plural, count); + } + return value; + }; + + + django.interpolate = function (fmt, obj, named) { + if (named) { + return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])}); + } else { + return fmt.replace(/%s/g, function(match){return String(obj.shift())}); + } + }; + + + /* formatting library */ + + django.formats = { + "DATETIME_FORMAT": "N j, Y, P", + "DATETIME_INPUT_FORMATS": [ + "%Y-%m-%d %H:%M:%S", + "%Y-%m-%d %H:%M:%S.%f", + "%Y-%m-%d %H:%M", + "%Y-%m-%d", + "%m/%d/%Y %H:%M:%S", + "%m/%d/%Y %H:%M:%S.%f", + "%m/%d/%Y %H:%M", + "%m/%d/%Y", + "%m/%d/%y %H:%M:%S", + "%m/%d/%y %H:%M:%S.%f", + "%m/%d/%y %H:%M", + "%m/%d/%y" + ], + "DATE_FORMAT": "j. F Y", + "DATE_INPUT_FORMATS": [ + "%Y-%m-%d", + "%m/%d/%Y", + "%m/%d/%y", + "%b %d %Y", + "%b %d, %Y", + "%d %b %Y", + "%d %b, %Y", + "%B %d %Y", + "%B %d, %Y", + "%d %B %Y", + "%d %B, %Y" + ], + "DECIMAL_SEPARATOR": ",", + "FIRST_DAY_OF_WEEK": "0", + "MONTH_DAY_FORMAT": "j. F", + "NUMBER_GROUPING": "0", + "SHORT_DATETIME_FORMAT": "m/d/Y P", + "SHORT_DATE_FORMAT": "j.n.Y", + "THOUSAND_SEPARATOR": ".", + "TIME_FORMAT": "H:i:s", + "TIME_INPUT_FORMATS": [ + "%H:%M:%S", + "%H:%M" + ], + "YEAR_MONTH_FORMAT": "F Y" + }; + + django.get_format = function (format_type) { + var value = django.formats[format_type]; + if (typeof(value) == 'undefined') { + return format_type; + } else { + return value; + } + }; + + /* add to global namespace */ + globals.pluralidx = django.pluralidx; + globals.gettext = django.gettext; + globals.ngettext = django.ngettext; + globals.gettext_noop = django.gettext_noop; + globals.pgettext = django.pgettext; + globals.npgettext = django.npgettext; + globals.interpolate = django.interpolate; + globals.get_format = django.get_format; + +}(this)); + diff --git a/media/assets/scripts/i18n/is/djangojs.js b/media/assets/scripts/i18n/is/djangojs.js index 9924fab9e7..631ed0e08c 100644 --- a/media/assets/scripts/i18n/is/djangojs.js +++ b/media/assets/scripts/i18n/is/djangojs.js @@ -5,17 +5,149 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n % 10 == 1 || n % 100 != 11); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; - /* gettext identity library */ + /* gettext library */ + + django.catalog = { + "%curr% of %total%": "%curr% af %total%", + "The image could not be loaded.": "Myndina var ekki h\u00e6gt a\u00f0 hla\u00f0a inn.", + "Are you sure you want to delete these selected items?": "Ertu viss um a\u00f0 \u00fe\u00fa viljir ey\u00f0a \u00feessum v\u00f6ldu atri\u00f0um?", + "Cancel": "H\u00e6tta vi\u00f0", + "Canceled.": "H\u00e6tt vi\u00f0", + "Close (Esc)": "Loka (Esc)", + "Copy {placeholder} to:": "Afrita {placeholder} til:", + "Copying %(name)s": "Afrita %(name)s", + "Copying file %(index)s of %(total)s": "Afrita skr\u00e1 %(index)s af %(total)s", + "Delete": "Ey\u00f0a", + "Delete Items": "Eyddum atri\u00f0um", + "Delete succeeded.": "Ey\u00f0ing t\u00f3kst.", + "Empty file upload result": "Upphle\u00f0slusta\u00f0a t\u00f3mra skr\u00e1a", + "Error": "Villa", + "Failed to copy %(name)s": "Mist\u00f3kst a\u00f0 afrita %(name)s", + "Failed to delete %(name)s and %(amount)s other items.": "Mist\u00f3kst a\u00f0 ey\u00f0a %(name)s og %(amount)s \u00f6\u00f0rum atri\u00f0um.", + "Failed to delete %(name)s and 1 other item.": "Mist\u00f3kst a\u00f0 ey\u00f0a %(name)s og einu \u00f6\u00f0ru atri\u00f0i.", + "Failed to delete %(name)s.": "Mist\u00f3kst a\u00f0 ey\u00f0a %(name)s.", + "Failed to get update url": "Mist\u00f3kst a\u00f0 s\u00e6kja uppf\u00e6rslusl\u00f3\u00f0", + "Failed to get upload url": "Mist\u00f3kst a\u00f0 s\u00e6kja upphle\u00f0slusl\u00f3\u00f0", + "Failed to move %(name)s": "Mist\u00f3kst a\u00f0 f\u00e6ra %(name)s", + "Failed to send to {placeholder}": "Mist\u00f3kst a\u00f0 senda til {placeholder}", + "Failed to share to {placeholder}": "Mist\u00f3kst a\u00f0 deila me\u00f0 {placeholder}", + "Failed.": "Mist\u00f3kst.", + "Failed. Please check the network.": "Mist\u00f3kst. Vinsamlegast veldu netkerfi.", + "File Upload canceled": "H\u00e6tt vi\u00f0 upphle\u00f0slu skr\u00e1ar", + "File Upload complete": "Upphle\u00f0slu skr\u00e1ar loki\u00f0", + "File Upload failed": "Upphle\u00f0sla skr\u00e1ar mist\u00f3kst", + "File Uploading...": "Skr\u00e1 hle\u00f0st upp...", + "File is too big": "Skr\u00e1 er of st\u00f3r", + "File is too small": "Skr\u00e1 er of sm\u00e1", + "Filetype not allowed": "Skr\u00e1arger\u00f0 er ekki leyf\u00f0", + "Internal error. Failed to copy %(name)s and %(amount)s other item(s).": "kerfisvilla. Mist\u00f3kst a\u00f0 afrita %(name)s og %(amount)s \u00f6\u00f0ru(m) atri\u00f0i/atri\u00f0um.", + "Internal error. Failed to copy %(name)s.": "Kerfisvilla. Mist\u00f3kst a\u00f0 afrita %(name)s.", + "Internal error. Failed to move %(name)s and %(amount)s other item(s).": "Kerfisvilla. Mist\u00f3kst a\u00f0 f\u00e6ra %(name)s og %(amount)s \u00f6\u00f0ru(m) atri\u00f0i/atri\u00f0um.", + "Internal error. Failed to move %(name)s.": "Kerfisvilla. Mist\u00f3kst a\u00f0 f\u00e6ra %(name)s.", + "Invalid destination path": "R\u00f6ng lokasl\u00f3\u00f0", + "It is required.": "\u00deess er krafist.", + "Just now": "R\u00e9tt \u00ed \u00feessu", + "Loading...": "Hle\u00f0...", + "Max number of files exceeded": "H\u00e1marksfj\u00f6lda skr\u00e1a n\u00e1\u00f0", + "Move {placeholder} to:": "F\u00e6ara {placeholder} til:", + "Moving %(name)s": "F\u00e6ri %(name)s", + "Moving file %(index)s of %(total)s": "F\u00e6ri skr\u00e1 %(index)s af %(total)s", + "Name is required": "Nafn er skilyr\u00f0i", + "Next (Right arrow key)": "N\u00e6sta (h\u00e6gri \u00f6rvalykill)", + "Only an extension there, please input a name.": "H\u00e9r er a\u00f0eins nafnaukinn, vinsamlegast sl\u00e1\u00f0u inn nafn.", + "Open in New Tab": "Opna \u00ed n\u00fdjum flipa", + "Password is required.": "Lykilor\u00f0s er krafist.", + "Password is too short": "Lykilor\u00f0i\u00f0 er of stutt", + "Passwords don't match": "Lykilor\u00f0in stemma ekki", + "Permission error": "R\u00e9ttindavilla", + "Please check the network.": "Vinsamlegast athuga\u00f0u netkerfi\u00f0.", + "Please choose a directory": "Vinsamlegast veldu skr\u00e1asafn", + "Please enter days.": "Vinsamlegast sl\u00e1\u00f0u inn daga.", + "Please enter password": "Vinsamlegast sl\u00e1\u00f0u inn lykilor\u00f0", + "Please enter the password again": "Vinsamlegast sl\u00e1\u00f0u inn lykilor\u00f0i\u00f0 aftur", + "Please enter valid days": "Vinsamlegast sl\u00e1\u00f0u inn l\u00f6glega daga", + "Please input at least an email.": "Vindamlegast settu inn amk eitt netfang.", + "Please select a contact or a group.": "Vinsamlegast veldu tengili\u00f0 e\u00f0a h\u00f3p", + "Previous (Left arrow key)": "Fyrri (vinstri \u00f6rvalykill)", + "Processing...": "Vinnsla...", + "Really want to delete {lib_name}?": "Viltu virkilega ey\u00f0a {lib_name}?", + "Rename Directory": "Endurnefna Skr\u00e1asafn", + "Rename File": "Endurnefna Skr\u00e1", + "Replace file {filename}?": "Skipta \u00fat skr\u00e1nni {filename}?", + "Saving...": "Vista...", + "Search users or enter emails": "Lei\u00f0a a\u00f0 notendum e\u00f0a sl\u00e1\u00f0u inn netf\u00f6ng", + "Select groups": "Veldu h\u00f3pa", + "Set {placeholder}'s permission": "Setja r\u00e9ttindi {placeholder}", + "Share {placeholder}": "Deila {placeholder}", + "Start": "Byrja", + "Success": "T\u00f3kst", + "Successfully copied %(name)s and %(amount)s other items.": "T\u00f3kst a\u00f0 afrita %(name)s og %(amount)s \u00f6\u00f0rum atri\u00f0um.", + "Successfully copied %(name)s and 1 other item.": "T\u00f3kst a\u00f0 afrita %(name)s og 1 \u00f6\u00f0ru atri\u00f0i.", + "Successfully copied %(name)s.": "T\u00f3kst a\u00f0 afrita %(name)s.", + "Successfully deleted %(name)s": "Giftursamlega eyddi %(name)s", + "Successfully deleted %(name)s and %(amount)s other items.": "T\u00f3kst a\u00f0 ey\u00f0a %(name)s og %(amount)s \u00f6\u00f0rum atri\u00f0um.", + "Successfully deleted %(name)s and 1 other item.": "T\u00f3kst a\u00f0 ey\u00f0a %(name)s og 1 \u00f6\u00f0ru atri\u00f0i.", + "Successfully deleted %(name)s.": "T\u00f3kst a\u00f0 ey\u00f0a %(name)s.", + "Successfully moved %(name)s and %(amount)s other items.": "T\u00f3kst a\u00f0 f\u00e6ra %(name)s og %(amount)s \u00f6\u00f0rum atri\u00f0um", + "Successfully moved %(name)s and 1 other item.": "T\u00f3kst a\u00f0 f\u00e6ra %(name)s og 1 \u00f6\u00f0ru atri\u00f0i.", + "Successfully moved %(name)s.": "T\u00f3kst a\u00f0 flytja %(name)s.", + "Successfully sent to {placeholder}": "T\u00f3kst a\u00f0 senda til {placeholder}", + "Successfully shared to {placeholder}": "T\u00f3kst a\u00f0 deila me\u00f0 {placeholder}", + "Successfully unshared {placeholder}": "T\u00f3kst a\u00f0 taka deilingu af {placeholder}", + "Successfully unstared {placeholder}": "T\u00f3kst a\u00f0 taka stj\u00f6rnu af {placeholder}", + "Uploaded bytes exceed file size": "Upphl\u00f6\u00f0num b\u00e6tum skr\u00e1arst\u00e6r\u00f0ar n\u00e1\u00f0", + "You don't have any library at present.": "\u00de\u00fa \u00e1tt n\u00fa engin s\u00f6fn.", + "You have not renamed it.": "\u00de\u00fa hefur ekki endurnefnt \u00fea\u00f0.", + "canceled": "h\u00e6tt vi\u00f0", + "uploaded": "hla\u00f0i\u00f0 upp" + }; + + django.gettext = function (msgid) { + var value = django.catalog[msgid]; + if (typeof(value) == 'undefined') { + return msgid; + } else { + return (typeof(value) == 'string') ? value : value[0]; + } + }; + + django.ngettext = function (singular, plural, count) { + var value = django.catalog[singular]; + if (typeof(value) == 'undefined') { + return (count == 1) ? singular : plural; + } else { + return value[django.pluralidx(count)]; + } + }; - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; + + django.pgettext = function (context, msgid) { + var value = django.gettext(context + '\x04' + msgid); + if (value.indexOf('\x04') != -1) { + value = msgid; + } + return value; + }; + + django.npgettext = function (context, singular, plural, count) { + var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count); + if (value.indexOf('\x04') != -1) { + value = django.ngettext(singular, plural, count); + } + return value; + }; django.interpolate = function (fmt, obj, named) { diff --git a/media/assets/scripts/i18n/it/djangojs.4ccf41c832f5.js b/media/assets/scripts/i18n/it/djangojs.8926a294b342.js similarity index 94% rename from media/assets/scripts/i18n/it/djangojs.4ccf41c832f5.js rename to media/assets/scripts/i18n/it/djangojs.8926a294b342.js index 032b2eed54..1f4823d197 100644 --- a/media/assets/scripts/i18n/it/djangojs.4ccf41c832f5.js +++ b/media/assets/scripts/i18n/it/djangojs.8926a294b342.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/it/djangojs.js b/media/assets/scripts/i18n/it/djangojs.js index 032b2eed54..1f4823d197 100644 --- a/media/assets/scripts/i18n/it/djangojs.js +++ b/media/assets/scripts/i18n/it/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/ja/djangojs.990dbd705948.js b/media/assets/scripts/i18n/ja/djangojs.10b0ee9bd034.js similarity index 94% rename from media/assets/scripts/i18n/ja/djangojs.990dbd705948.js rename to media/assets/scripts/i18n/ja/djangojs.10b0ee9bd034.js index 9522d0f4ad..2417b8d582 100644 --- a/media/assets/scripts/i18n/ja/djangojs.990dbd705948.js +++ b/media/assets/scripts/i18n/ja/djangojs.10b0ee9bd034.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=0; + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/ja/djangojs.js b/media/assets/scripts/i18n/ja/djangojs.js index 9522d0f4ad..2417b8d582 100644 --- a/media/assets/scripts/i18n/ja/djangojs.js +++ b/media/assets/scripts/i18n/ja/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=0; + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/ko/djangojs.9f13d37ee872.js b/media/assets/scripts/i18n/ko/djangojs.9f13d37ee872.js new file mode 100644 index 0000000000..2d6ed98153 --- /dev/null +++ b/media/assets/scripts/i18n/ko/djangojs.9f13d37ee872.js @@ -0,0 +1,224 @@ + + +(function (globals) { + + var django = globals.django || (globals.django = {}); + + + django.pluralidx = function (n) { + var v=0; + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; + + + + /* gettext library */ + + django.catalog = { + "%curr% of %total%": "%total% \uc911 %curr%", + "The image could not be loaded.": "\uc774\ubbf8\uc9c0\ub97c \ubd88\ub7ec\uc62c \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.", + "Are you sure you want to delete these selected items?": "\uc815\ub9d0\ub85c \uc120\ud0dd\ud55c \ud56d\ubaa9\uc744 \uc0ad\uc81c\ud560\uae4c\uc694?", + "Cancel": "\ucde8\uc18c", + "Canceled.": "\ucde8\uc18c\ud588\uc2b5\ub2c8\ub2e4.", + "Close (Esc)": "\ub2eb\uae30(Esc)", + "Copy {placeholder} to:": "\ub2e4\uc74c\uc73c\ub85c {placeholder} \ubcf5\uc0ac:", + "Copying %(name)s": "{placeholder} \ubcf5\uc0ac \uc911", + "Copying file %(index)s of %(total)s": "\ud30c\uc77c %(total)s\uac1c \uc911 %(index)s\uac1c \ubcf5\uc0ac \uc911", + "Delete": "\uc0ad\uc81c", + "Delete Items": "\ud56d\ubaa9 \uc0ad\uc81c", + "Delete succeeded.": "\uc0c1\uacf5\uc801\uc73c\ub85c \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4.", + "Empty file upload result": "\uc5c5\ub85c\ub4dc \uacb0\uacfc\uac00 \ube48 \ud30c\uc77c\uc785\ub2c8\ub2e4", + "Error": "\uc624\ub958", + "Failed to copy %(name)s": "%(name)s \ubcf5\uc0ac\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Failed to delete %(name)s and %(amount)s other items.": "%(name)s \ubc0f \ud56d\ubaa9 %(amount)s\uac1c \uc0ad\uc81c\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Failed to delete %(name)s and 1 other item.": "%(name)s \ubc0f \ud56d\ubaa9 1\uac1c \uc0ad\uc81c\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Failed to delete %(name)s.": "%(name)s \uc0ad\uc81c\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Failed to get update url": "\uc5c5\ub85c\ub4dc URL \uac00\uc838\uc624\uae30\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4", + "Failed to get upload url": "\uc5c5\ub85c\ub4dc URL \uac00\uc838\uc624\uae30\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4", + "Failed to move %(name)s": "%(name)s \uc774\ub3d9\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Failed to send to {placeholder}": "{placeholder}\uc5d0\uac8c \ubcf4\ub0b4\uae30\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4", + "Failed to share to {placeholder}": "{placeholder}\uc5d0\uac8c \uacf5\uc720\ud558\uae30\ub97c \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4", + "Failed.": "\uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Failed. Please check the network.": "\uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4. \ub124\ud2b8\uc6cc\ud06c\ub97c \ud655\uc778\ud558\uc138\uc694.", + "File Upload canceled": "\ud30c\uc77c \uc5c5\ub85c\ub4dc\ub97c \ucde8\uc18c\ud588\uc2b5\ub2c8\ub2e4", + "File Upload complete": "\ud30c\uc77c \uc5c5\ub85c\ub4dc\uac00 \ub05d\ub0ac\uc2b5\ub2c8\ub2e4", + "File Upload failed": "\ud30c\uc77c \uc5c5\ub85c\ub4dc\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4", + "File Uploading...": "\ud30c\uc77c \uc5c5\ub85c\ub4dc \uc911...", + "File is too big": "\ud30c\uc77c\uc774 \ub108\ubb34 \ud07d\ub2c8\ub2e4", + "File is too small": "\ud30c\uc77c\uc774 \ub108\ubb34 \uc791\uc2b5\ub2c8\ub2e4", + "Filetype not allowed": "\ud30c\uc77c \ud615\uc2dd\uc744 \ud5c8\uc6a9\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4", + "Internal error. Failed to copy %(name)s and %(amount)s other item(s).": "\ub0b4\ubd80 \uc624\ub958\uc785\ub2c8\ub2e4. %(name)s \ubc0f \ud56d\ubaa9 %(amount)s\uac1c \ubcf5\uc0ac\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Internal error. Failed to copy %(name)s.": "\ub0b4\ubd80 \uc624\ub958\uc785\ub2c8\ub2e4. %(name)s \ubcf5\uc0ac\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Internal error. Failed to move %(name)s and %(amount)s other item(s).": "\ub0b4\ubd80 \uc624\ub958\uc785\ub2c8\ub2e4. %(name)s \ubc0f \ud56d\ubaa9 %(amount)s\uac1c \uc774\ub3d9\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Internal error. Failed to move %(name)s.": "\ub0b4\ubd80 \uc624\ub958\uc785\ub2c8\ub2e4. %(name)s \uc774\ub3d9\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Invalid destination path": "\uc798\ubabb\ub41c \ub300\uc0c1 \uacbd\ub85c", + "It is required.": "\ud544\uc694\ud569\ub2c8\ub2e4.", + "Just now": "\uc9c0\uae08", + "Loading...": "\ubd88\ub7ec\uc624\ub294 \uc911...", + "Max number of files exceeded": "\ucd5c\ub300 \ud30c\uc77c \uac2f\uc218\ub97c \ub118\uc5b4\uc130\uc2b5\ub2c8\ub2e4", + "Move {placeholder} to:": "\ub2e4\uc74c\uc73c\ub85c {placeholder} \uc774\ub3d9:", + "Moving %(name)s": "{placeholder} \uc774\ub3d9 \uc911", + "Moving file %(index)s of %(total)s": "\ud30c\uc77c %(total)s\uac1c \uc911 %(index)s\uac1c \uc774\ub3d9 \uc911", + "Name is required": "\uc774\ub984\uc774 \ud544\uc694\ud569\ub2c8\ub2e4", + "Next (Right arrow key)": "\ub2e4\uc74c(\uc624\ub978\ucabd \ud654\uc0b4\ud45c \ud0a4)", + "Only an extension there, please input a name.": "\ud655\uc7a5\uc790\ub9cc \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub984\uc744 \uc785\ub825\ud558\uc138\uc694.", + "Open in New Tab": "\uc0c8 \ud0ed \uc5f4\uae30", + "Password is required.": "\uc554\ud638\uac00 \ud544\uc694\ud569\ub2c8\ub2e4.", + "Password is too short": "\uc554\ud638\uac00 \ub108\ubb34 \uc9e7\uc2b5\ub2c8\ub2e4", + "Passwords don't match": "\uc554\ud638\uac00 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4", + "Permission error": "\uad8c\ud55c \uc624\ub958", + "Please check the network.": "\ub124\ud2b8\uc6cc\ud06c\ub97c \ud655\uc778\ud558\uc138\uc694.", + "Please choose a directory": "\ub514\ub809\ud130\ub9ac\ub97c \uc120\ud0dd\ud558\uc138\uc694", + "Please enter days.": "\uc77c\uc790\ub97c \uc785\ub825\ud558\uc138\uc694.", + "Please enter password": "\uc554\ud638\ub97c \uc785\ub825\ud558\uc138\uc694", + "Please enter the password again": "\uc554\ud638\ub97c \ub2e4\uc2dc \uc785\ub825\ud558\uc138\uc694", + "Please enter valid days": "\uc720\ud6a8 \uae30\uac04\uc744 \uc785\ub825\ud558\uc138\uc694", + "Please input at least an email.": "\ucd5c\uc18c\ud55c \ud558\ub098\uc758 \uc804\uc790\uba54\uc77c \uc8fc\uc18c\ub97c \uc785\ub825\ud558\uc138\uc694.", + "Please select a contact or a group.": "\uc5f0\ub77d\ucc98 \ub610\ub294 \uadf8\ub8f9\uc744 \uc120\ud0dd\ud558\uc138\uc694.", + "Previous (Left arrow key)": "\uc774\uc804(\uc67c\ucabd \ud654\uc0b4\ud45c \ud0a4)", + "Processing...": "\ucc98\ub9ac \uc911...", + "Really want to delete {lib_name}?": "{lib_name} \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc815\ub9d0 \uc0ad\uc81c\ud560\uae4c\uc694?", + "Rename Directory": "\ub514\ub809\ud130\ub9ac \uc774\ub984 \ubc14\uafb8\uae30", + "Rename File": "\ud30c\uc77c \uc774\ub984 \ubc14\uafb8\uae30", + "Replace file {filename}?": "{filename} \ud30c\uc77c\uc744 \ubc14\uafc0\uae4c\uc694?", + "Saving...": "\uc800\uc7a5 \uc911...", + "Search users or enter emails": "\uc0ac\uc6a9\uc790 \uac80\uc0c9 \ub610\ub294 \uc804\uc790\uba54\uc77c \uc8fc\uc18c \uc785\ub825", + "Select groups": "\uadf8\ub8f9 \uc120\ud0dd", + "Set {placeholder}'s permission": "{placeholder} \uad8c\ud55c \uc124\uc815", + "Share {placeholder}": "{placeholder} \uacf5\uc720", + "Start": "\uc2dc\uc791", + "Success": "\uc131\uacf5", + "Successfully copied %(name)s and %(amount)s other items.": "%(name)s \ubc0f \ud56d\ubaa9 %(amount)s\uac1c\ub97c \uc131\uacf5\uc801\uc73c\ub85c \ubcf5\uc0ac\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully copied %(name)s and 1 other item.": "%(name)s \ubc0f \ud56d\ubaa9 1\uac1c\ub97c \uc131\uacf5\uc801\uc73c\ub85c \ubcf5\uc0ac\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully copied %(name)s.": "%(name)s\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \ubcf5\uc0ac\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully deleted %(name)s": "%(name)s\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4", + "Successfully deleted %(name)s and %(amount)s other items.": "%(name)s \ubc0f \ud56d\ubaa9 %(amount)s\uac1c\ub97c \uc131\uacf5\uc801\uc73c\ub85c \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully deleted %(name)s and 1 other item.": "%(name)s \ubc0f \ud56d\ubaa9 1\uac1c\ub97c \uc131\uacf5\uc801\uc73c\ub85c \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully deleted %(name)s.": "%(name)s\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully moved %(name)s and %(amount)s other items.": "%(name)s \ubc0f \ud56d\ubaa9 %(amount)s\uac1c\ub97c \uc131\uacf5\uc801\uc73c\ub85c \uc774\ub3d9\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully moved %(name)s and 1 other item.": "%(name)s \ubc0f \ud56d\ubaa9 1\uac1c\ub97c \uc131\uacf5\uc801\uc73c\ub85c \uc774\ub3d9\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully moved %(name)s.": "%(name)s\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \uc774\ub3d9\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully sent to {placeholder}": "{placeholder}\uc5d0\uac8c \uc131\uacf5\uc801\uc73c\ub85c \ubcf4\ub0c8\uc2b5\ub2c8\ub2e4", + "Successfully shared to {placeholder}": "{placeholder}\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \uacf5\uc720\ud588\uc2b5\ub2c8\ub2e4", + "Successfully unshared {placeholder}": "{placeholder}\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \uacf5\uc720 \ud574\uc81c\ud588\uc2b5\ub2c8\ub2e4", + "Successfully unstared {placeholder}": "{placeholder}\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \ubcc4\ud45c \ud574\uc81c\ud588\uc2b5\ub2c8\ub2e4.", + "Uploaded bytes exceed file size": "\uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c \ud06c\uae30 \uc81c\ud55c\uc744 \ub118\uc5b4\uc130\uc2b5\ub2c8\ub2e4", + "You don't have any library at present.": "\ud604\uc7ac \uc5b4\ub5a4 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub3c4 \uc5c6\uc2b5\ub2c8\ub2e4.", + "You have not renamed it.": "\uc774\ub984\uc744 \ubc14\uafb8\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4.", + "canceled": "\ucde8\uc18c\ud568", + "uploaded": "\uc5c5\ub85c\ub4dc\ud568" + }; + + django.gettext = function (msgid) { + var value = django.catalog[msgid]; + if (typeof(value) == 'undefined') { + return msgid; + } else { + return (typeof(value) == 'string') ? value : value[0]; + } + }; + + django.ngettext = function (singular, plural, count) { + var value = django.catalog[singular]; + if (typeof(value) == 'undefined') { + return (count == 1) ? singular : plural; + } else { + return value[django.pluralidx(count)]; + } + }; + + django.gettext_noop = function (msgid) { return msgid; }; + + django.pgettext = function (context, msgid) { + var value = django.gettext(context + '\x04' + msgid); + if (value.indexOf('\x04') != -1) { + value = msgid; + } + return value; + }; + + django.npgettext = function (context, singular, plural, count) { + var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count); + if (value.indexOf('\x04') != -1) { + value = django.ngettext(singular, plural, count); + } + return value; + }; + + + django.interpolate = function (fmt, obj, named) { + if (named) { + return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])}); + } else { + return fmt.replace(/%s/g, function(match){return String(obj.shift())}); + } + }; + + + /* formatting library */ + + django.formats = { + "DATETIME_FORMAT": "Y\ub144 n\uc6d4 j\uc77c g:i:s A", + "DATETIME_INPUT_FORMATS": [ + "%Y-%m-%d %H:%M:%S", + "%Y-%m-%d %H:%M", + "%Y-%m-%d", + "%m/%d/%Y %H:%M:%S", + "%m/%d/%Y %H:%M", + "%m/%d/%Y", + "%m/%d/%y %H:%M:%S", + "%m/%d/%y %H:%M", + "%m/%d/%y", + "%Y\ub144 %m\uc6d4 %d\uc77c %H\uc2dc %M\ubd84 %S\ucd08", + "%Y\ub144 %m\uc6d4 %d\uc77c %H\uc2dc %M\ubd84", + "%Y-%m-%d %H:%M:%S.%f" + ], + "DATE_FORMAT": "Y\ub144 n\uc6d4 j\uc77c", + "DATE_INPUT_FORMATS": [ + "%Y-%m-%d", + "%m/%d/%Y", + "%m/%d/%y", + "%Y\ub144 %m\uc6d4 %d\uc77c" + ], + "DECIMAL_SEPARATOR": ".", + "FIRST_DAY_OF_WEEK": "0", + "MONTH_DAY_FORMAT": "F\uc6d4 j\uc77c", + "NUMBER_GROUPING": "3", + "SHORT_DATETIME_FORMAT": "Y-n-j H:i", + "SHORT_DATE_FORMAT": "Y-n-j.", + "THOUSAND_SEPARATOR": ",", + "TIME_FORMAT": "A g:i:s", + "TIME_INPUT_FORMATS": [ + "%H:%M:%S", + "%H:%M", + "%H\uc2dc %M\ubd84 %S\ucd08", + "%H\uc2dc %M\ubd84" + ], + "YEAR_MONTH_FORMAT": "Y\ub144 F\uc6d4" + }; + + django.get_format = function (format_type) { + var value = django.formats[format_type]; + if (typeof(value) == 'undefined') { + return format_type; + } else { + return value; + } + }; + + /* add to global namespace */ + globals.pluralidx = django.pluralidx; + globals.gettext = django.gettext; + globals.ngettext = django.ngettext; + globals.gettext_noop = django.gettext_noop; + globals.pgettext = django.pgettext; + globals.npgettext = django.npgettext; + globals.interpolate = django.interpolate; + globals.get_format = django.get_format; + +}(this)); + diff --git a/media/assets/scripts/i18n/ko/djangojs.cf13dc103e1f.js b/media/assets/scripts/i18n/ko/djangojs.cf13dc103e1f.js deleted file mode 100644 index 9faf9759e6..0000000000 --- a/media/assets/scripts/i18n/ko/djangojs.cf13dc103e1f.js +++ /dev/null @@ -1,92 +0,0 @@ - - -(function (globals) { - - var django = globals.django || (globals.django = {}); - - - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; - - - - /* gettext identity library */ - - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; - django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; - - - django.interpolate = function (fmt, obj, named) { - if (named) { - return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])}); - } else { - return fmt.replace(/%s/g, function(match){return String(obj.shift())}); - } - }; - - - /* formatting library */ - - django.formats = { - "DATETIME_FORMAT": "Y\ub144 n\uc6d4 j\uc77c g:i:s A", - "DATETIME_INPUT_FORMATS": [ - "%Y-%m-%d %H:%M:%S", - "%Y-%m-%d %H:%M", - "%Y-%m-%d", - "%m/%d/%Y %H:%M:%S", - "%m/%d/%Y %H:%M", - "%m/%d/%Y", - "%m/%d/%y %H:%M:%S", - "%m/%d/%y %H:%M", - "%m/%d/%y", - "%Y\ub144 %m\uc6d4 %d\uc77c %H\uc2dc %M\ubd84 %S\ucd08", - "%Y\ub144 %m\uc6d4 %d\uc77c %H\uc2dc %M\ubd84", - "%Y-%m-%d %H:%M:%S.%f" - ], - "DATE_FORMAT": "Y\ub144 n\uc6d4 j\uc77c", - "DATE_INPUT_FORMATS": [ - "%Y-%m-%d", - "%m/%d/%Y", - "%m/%d/%y", - "%Y\ub144 %m\uc6d4 %d\uc77c" - ], - "DECIMAL_SEPARATOR": ".", - "FIRST_DAY_OF_WEEK": "0", - "MONTH_DAY_FORMAT": "F\uc6d4 j\uc77c", - "NUMBER_GROUPING": "3", - "SHORT_DATETIME_FORMAT": "Y-n-j H:i", - "SHORT_DATE_FORMAT": "Y-n-j.", - "THOUSAND_SEPARATOR": ",", - "TIME_FORMAT": "A g:i:s", - "TIME_INPUT_FORMATS": [ - "%H:%M:%S", - "%H:%M", - "%H\uc2dc %M\ubd84 %S\ucd08", - "%H\uc2dc %M\ubd84" - ], - "YEAR_MONTH_FORMAT": "Y\ub144 F\uc6d4" - }; - - django.get_format = function (format_type) { - var value = django.formats[format_type]; - if (typeof(value) == 'undefined') { - return format_type; - } else { - return value; - } - }; - - /* add to global namespace */ - globals.pluralidx = django.pluralidx; - globals.gettext = django.gettext; - globals.ngettext = django.ngettext; - globals.gettext_noop = django.gettext_noop; - globals.pgettext = django.pgettext; - globals.npgettext = django.npgettext; - globals.interpolate = django.interpolate; - globals.get_format = django.get_format; - -}(this)); - diff --git a/media/assets/scripts/i18n/ko/djangojs.js b/media/assets/scripts/i18n/ko/djangojs.js index 9faf9759e6..2d6ed98153 100644 --- a/media/assets/scripts/i18n/ko/djangojs.js +++ b/media/assets/scripts/i18n/ko/djangojs.js @@ -5,17 +5,149 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=0; + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; - /* gettext identity library */ + /* gettext library */ + + django.catalog = { + "%curr% of %total%": "%total% \uc911 %curr%", + "The image could not be loaded.": "\uc774\ubbf8\uc9c0\ub97c \ubd88\ub7ec\uc62c \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.", + "Are you sure you want to delete these selected items?": "\uc815\ub9d0\ub85c \uc120\ud0dd\ud55c \ud56d\ubaa9\uc744 \uc0ad\uc81c\ud560\uae4c\uc694?", + "Cancel": "\ucde8\uc18c", + "Canceled.": "\ucde8\uc18c\ud588\uc2b5\ub2c8\ub2e4.", + "Close (Esc)": "\ub2eb\uae30(Esc)", + "Copy {placeholder} to:": "\ub2e4\uc74c\uc73c\ub85c {placeholder} \ubcf5\uc0ac:", + "Copying %(name)s": "{placeholder} \ubcf5\uc0ac \uc911", + "Copying file %(index)s of %(total)s": "\ud30c\uc77c %(total)s\uac1c \uc911 %(index)s\uac1c \ubcf5\uc0ac \uc911", + "Delete": "\uc0ad\uc81c", + "Delete Items": "\ud56d\ubaa9 \uc0ad\uc81c", + "Delete succeeded.": "\uc0c1\uacf5\uc801\uc73c\ub85c \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4.", + "Empty file upload result": "\uc5c5\ub85c\ub4dc \uacb0\uacfc\uac00 \ube48 \ud30c\uc77c\uc785\ub2c8\ub2e4", + "Error": "\uc624\ub958", + "Failed to copy %(name)s": "%(name)s \ubcf5\uc0ac\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Failed to delete %(name)s and %(amount)s other items.": "%(name)s \ubc0f \ud56d\ubaa9 %(amount)s\uac1c \uc0ad\uc81c\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Failed to delete %(name)s and 1 other item.": "%(name)s \ubc0f \ud56d\ubaa9 1\uac1c \uc0ad\uc81c\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Failed to delete %(name)s.": "%(name)s \uc0ad\uc81c\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Failed to get update url": "\uc5c5\ub85c\ub4dc URL \uac00\uc838\uc624\uae30\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4", + "Failed to get upload url": "\uc5c5\ub85c\ub4dc URL \uac00\uc838\uc624\uae30\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4", + "Failed to move %(name)s": "%(name)s \uc774\ub3d9\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Failed to send to {placeholder}": "{placeholder}\uc5d0\uac8c \ubcf4\ub0b4\uae30\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4", + "Failed to share to {placeholder}": "{placeholder}\uc5d0\uac8c \uacf5\uc720\ud558\uae30\ub97c \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4", + "Failed.": "\uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Failed. Please check the network.": "\uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4. \ub124\ud2b8\uc6cc\ud06c\ub97c \ud655\uc778\ud558\uc138\uc694.", + "File Upload canceled": "\ud30c\uc77c \uc5c5\ub85c\ub4dc\ub97c \ucde8\uc18c\ud588\uc2b5\ub2c8\ub2e4", + "File Upload complete": "\ud30c\uc77c \uc5c5\ub85c\ub4dc\uac00 \ub05d\ub0ac\uc2b5\ub2c8\ub2e4", + "File Upload failed": "\ud30c\uc77c \uc5c5\ub85c\ub4dc\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4", + "File Uploading...": "\ud30c\uc77c \uc5c5\ub85c\ub4dc \uc911...", + "File is too big": "\ud30c\uc77c\uc774 \ub108\ubb34 \ud07d\ub2c8\ub2e4", + "File is too small": "\ud30c\uc77c\uc774 \ub108\ubb34 \uc791\uc2b5\ub2c8\ub2e4", + "Filetype not allowed": "\ud30c\uc77c \ud615\uc2dd\uc744 \ud5c8\uc6a9\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4", + "Internal error. Failed to copy %(name)s and %(amount)s other item(s).": "\ub0b4\ubd80 \uc624\ub958\uc785\ub2c8\ub2e4. %(name)s \ubc0f \ud56d\ubaa9 %(amount)s\uac1c \ubcf5\uc0ac\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Internal error. Failed to copy %(name)s.": "\ub0b4\ubd80 \uc624\ub958\uc785\ub2c8\ub2e4. %(name)s \ubcf5\uc0ac\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Internal error. Failed to move %(name)s and %(amount)s other item(s).": "\ub0b4\ubd80 \uc624\ub958\uc785\ub2c8\ub2e4. %(name)s \ubc0f \ud56d\ubaa9 %(amount)s\uac1c \uc774\ub3d9\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Internal error. Failed to move %(name)s.": "\ub0b4\ubd80 \uc624\ub958\uc785\ub2c8\ub2e4. %(name)s \uc774\ub3d9\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Invalid destination path": "\uc798\ubabb\ub41c \ub300\uc0c1 \uacbd\ub85c", + "It is required.": "\ud544\uc694\ud569\ub2c8\ub2e4.", + "Just now": "\uc9c0\uae08", + "Loading...": "\ubd88\ub7ec\uc624\ub294 \uc911...", + "Max number of files exceeded": "\ucd5c\ub300 \ud30c\uc77c \uac2f\uc218\ub97c \ub118\uc5b4\uc130\uc2b5\ub2c8\ub2e4", + "Move {placeholder} to:": "\ub2e4\uc74c\uc73c\ub85c {placeholder} \uc774\ub3d9:", + "Moving %(name)s": "{placeholder} \uc774\ub3d9 \uc911", + "Moving file %(index)s of %(total)s": "\ud30c\uc77c %(total)s\uac1c \uc911 %(index)s\uac1c \uc774\ub3d9 \uc911", + "Name is required": "\uc774\ub984\uc774 \ud544\uc694\ud569\ub2c8\ub2e4", + "Next (Right arrow key)": "\ub2e4\uc74c(\uc624\ub978\ucabd \ud654\uc0b4\ud45c \ud0a4)", + "Only an extension there, please input a name.": "\ud655\uc7a5\uc790\ub9cc \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub984\uc744 \uc785\ub825\ud558\uc138\uc694.", + "Open in New Tab": "\uc0c8 \ud0ed \uc5f4\uae30", + "Password is required.": "\uc554\ud638\uac00 \ud544\uc694\ud569\ub2c8\ub2e4.", + "Password is too short": "\uc554\ud638\uac00 \ub108\ubb34 \uc9e7\uc2b5\ub2c8\ub2e4", + "Passwords don't match": "\uc554\ud638\uac00 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4", + "Permission error": "\uad8c\ud55c \uc624\ub958", + "Please check the network.": "\ub124\ud2b8\uc6cc\ud06c\ub97c \ud655\uc778\ud558\uc138\uc694.", + "Please choose a directory": "\ub514\ub809\ud130\ub9ac\ub97c \uc120\ud0dd\ud558\uc138\uc694", + "Please enter days.": "\uc77c\uc790\ub97c \uc785\ub825\ud558\uc138\uc694.", + "Please enter password": "\uc554\ud638\ub97c \uc785\ub825\ud558\uc138\uc694", + "Please enter the password again": "\uc554\ud638\ub97c \ub2e4\uc2dc \uc785\ub825\ud558\uc138\uc694", + "Please enter valid days": "\uc720\ud6a8 \uae30\uac04\uc744 \uc785\ub825\ud558\uc138\uc694", + "Please input at least an email.": "\ucd5c\uc18c\ud55c \ud558\ub098\uc758 \uc804\uc790\uba54\uc77c \uc8fc\uc18c\ub97c \uc785\ub825\ud558\uc138\uc694.", + "Please select a contact or a group.": "\uc5f0\ub77d\ucc98 \ub610\ub294 \uadf8\ub8f9\uc744 \uc120\ud0dd\ud558\uc138\uc694.", + "Previous (Left arrow key)": "\uc774\uc804(\uc67c\ucabd \ud654\uc0b4\ud45c \ud0a4)", + "Processing...": "\ucc98\ub9ac \uc911...", + "Really want to delete {lib_name}?": "{lib_name} \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc815\ub9d0 \uc0ad\uc81c\ud560\uae4c\uc694?", + "Rename Directory": "\ub514\ub809\ud130\ub9ac \uc774\ub984 \ubc14\uafb8\uae30", + "Rename File": "\ud30c\uc77c \uc774\ub984 \ubc14\uafb8\uae30", + "Replace file {filename}?": "{filename} \ud30c\uc77c\uc744 \ubc14\uafc0\uae4c\uc694?", + "Saving...": "\uc800\uc7a5 \uc911...", + "Search users or enter emails": "\uc0ac\uc6a9\uc790 \uac80\uc0c9 \ub610\ub294 \uc804\uc790\uba54\uc77c \uc8fc\uc18c \uc785\ub825", + "Select groups": "\uadf8\ub8f9 \uc120\ud0dd", + "Set {placeholder}'s permission": "{placeholder} \uad8c\ud55c \uc124\uc815", + "Share {placeholder}": "{placeholder} \uacf5\uc720", + "Start": "\uc2dc\uc791", + "Success": "\uc131\uacf5", + "Successfully copied %(name)s and %(amount)s other items.": "%(name)s \ubc0f \ud56d\ubaa9 %(amount)s\uac1c\ub97c \uc131\uacf5\uc801\uc73c\ub85c \ubcf5\uc0ac\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully copied %(name)s and 1 other item.": "%(name)s \ubc0f \ud56d\ubaa9 1\uac1c\ub97c \uc131\uacf5\uc801\uc73c\ub85c \ubcf5\uc0ac\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully copied %(name)s.": "%(name)s\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \ubcf5\uc0ac\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully deleted %(name)s": "%(name)s\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4", + "Successfully deleted %(name)s and %(amount)s other items.": "%(name)s \ubc0f \ud56d\ubaa9 %(amount)s\uac1c\ub97c \uc131\uacf5\uc801\uc73c\ub85c \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully deleted %(name)s and 1 other item.": "%(name)s \ubc0f \ud56d\ubaa9 1\uac1c\ub97c \uc131\uacf5\uc801\uc73c\ub85c \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully deleted %(name)s.": "%(name)s\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully moved %(name)s and %(amount)s other items.": "%(name)s \ubc0f \ud56d\ubaa9 %(amount)s\uac1c\ub97c \uc131\uacf5\uc801\uc73c\ub85c \uc774\ub3d9\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully moved %(name)s and 1 other item.": "%(name)s \ubc0f \ud56d\ubaa9 1\uac1c\ub97c \uc131\uacf5\uc801\uc73c\ub85c \uc774\ub3d9\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully moved %(name)s.": "%(name)s\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \uc774\ub3d9\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully sent to {placeholder}": "{placeholder}\uc5d0\uac8c \uc131\uacf5\uc801\uc73c\ub85c \ubcf4\ub0c8\uc2b5\ub2c8\ub2e4", + "Successfully shared to {placeholder}": "{placeholder}\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \uacf5\uc720\ud588\uc2b5\ub2c8\ub2e4", + "Successfully unshared {placeholder}": "{placeholder}\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \uacf5\uc720 \ud574\uc81c\ud588\uc2b5\ub2c8\ub2e4", + "Successfully unstared {placeholder}": "{placeholder}\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \ubcc4\ud45c \ud574\uc81c\ud588\uc2b5\ub2c8\ub2e4.", + "Uploaded bytes exceed file size": "\uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c \ud06c\uae30 \uc81c\ud55c\uc744 \ub118\uc5b4\uc130\uc2b5\ub2c8\ub2e4", + "You don't have any library at present.": "\ud604\uc7ac \uc5b4\ub5a4 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub3c4 \uc5c6\uc2b5\ub2c8\ub2e4.", + "You have not renamed it.": "\uc774\ub984\uc744 \ubc14\uafb8\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4.", + "canceled": "\ucde8\uc18c\ud568", + "uploaded": "\uc5c5\ub85c\ub4dc\ud568" + }; + + django.gettext = function (msgid) { + var value = django.catalog[msgid]; + if (typeof(value) == 'undefined') { + return msgid; + } else { + return (typeof(value) == 'string') ? value : value[0]; + } + }; + + django.ngettext = function (singular, plural, count) { + var value = django.catalog[singular]; + if (typeof(value) == 'undefined') { + return (count == 1) ? singular : plural; + } else { + return value[django.pluralidx(count)]; + } + }; - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; + + django.pgettext = function (context, msgid) { + var value = django.gettext(context + '\x04' + msgid); + if (value.indexOf('\x04') != -1) { + value = msgid; + } + return value; + }; + + django.npgettext = function (context, singular, plural, count) { + var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count); + if (value.indexOf('\x04') != -1) { + value = django.ngettext(singular, plural, count); + } + return value; + }; django.interpolate = function (fmt, obj, named) { diff --git a/media/assets/scripts/i18n/lv/djangojs.c2f0419b2bdc.js b/media/assets/scripts/i18n/lv/djangojs.b7452e7f1d45.js similarity index 92% rename from media/assets/scripts/i18n/lv/djangojs.c2f0419b2bdc.js rename to media/assets/scripts/i18n/lv/djangojs.b7452e7f1d45.js index 2bba3149ad..73a782a5ef 100644 --- a/media/assets/scripts/i18n/lv/djangojs.c2f0419b2bdc.js +++ b/media/assets/scripts/i18n/lv/djangojs.b7452e7f1d45.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/lv/djangojs.js b/media/assets/scripts/i18n/lv/djangojs.js index 2bba3149ad..73a782a5ef 100644 --- a/media/assets/scripts/i18n/lv/djangojs.js +++ b/media/assets/scripts/i18n/lv/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/nl/djangojs.4b7555b7107f.js b/media/assets/scripts/i18n/nl/djangojs.a848a0d823dd.js similarity index 93% rename from media/assets/scripts/i18n/nl/djangojs.4b7555b7107f.js rename to media/assets/scripts/i18n/nl/djangojs.a848a0d823dd.js index 776fb22472..fb1fecc9d2 100644 --- a/media/assets/scripts/i18n/nl/djangojs.4b7555b7107f.js +++ b/media/assets/scripts/i18n/nl/djangojs.a848a0d823dd.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/nl/djangojs.js b/media/assets/scripts/i18n/nl/djangojs.js index 776fb22472..fb1fecc9d2 100644 --- a/media/assets/scripts/i18n/nl/djangojs.js +++ b/media/assets/scripts/i18n/nl/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/pt-br/djangojs.e64a1a2f59cb.js b/media/assets/scripts/i18n/pt-br/djangojs.b383cd0a09cc.js similarity index 93% rename from media/assets/scripts/i18n/pt-br/djangojs.e64a1a2f59cb.js rename to media/assets/scripts/i18n/pt-br/djangojs.b383cd0a09cc.js index 7a0d87ecd1..cdbc0b381b 100644 --- a/media/assets/scripts/i18n/pt-br/djangojs.e64a1a2f59cb.js +++ b/media/assets/scripts/i18n/pt-br/djangojs.b383cd0a09cc.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n > 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/pt-br/djangojs.js b/media/assets/scripts/i18n/pt-br/djangojs.js index 7a0d87ecd1..cdbc0b381b 100644 --- a/media/assets/scripts/i18n/pt-br/djangojs.js +++ b/media/assets/scripts/i18n/pt-br/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n > 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/ru/djangojs.6a9c24e96bb6.js b/media/assets/scripts/i18n/ru/djangojs.6a9c24e96bb6.js deleted file mode 100644 index 2d7e059c37..0000000000 --- a/media/assets/scripts/i18n/ru/djangojs.6a9c24e96bb6.js +++ /dev/null @@ -1,87 +0,0 @@ - - -(function (globals) { - - var django = globals.django || (globals.django = {}); - - - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; - - - - /* gettext identity library */ - - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; - django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; - - - django.interpolate = function (fmt, obj, named) { - if (named) { - return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])}); - } else { - return fmt.replace(/%s/g, function(match){return String(obj.shift())}); - } - }; - - - /* formatting library */ - - django.formats = { - "DATETIME_FORMAT": "j E Y \u0433. G:i:s", - "DATETIME_INPUT_FORMATS": [ - "%d.%m.%Y %H:%M:%S", - "%d.%m.%Y %H:%M", - "%d.%m.%Y", - "%d.%m.%y %H:%M:%S", - "%d.%m.%y %H:%M", - "%d.%m.%y", - "%Y-%m-%d %H:%M:%S", - "%Y-%m-%d %H:%M:%S.%f", - "%Y-%m-%d %H:%M", - "%Y-%m-%d" - ], - "DATE_FORMAT": "j E Y \u0433.", - "DATE_INPUT_FORMATS": [ - "%d.%m.%Y", - "%d.%m.%y", - "%Y-%m-%d" - ], - "DECIMAL_SEPARATOR": ",", - "FIRST_DAY_OF_WEEK": "1", - "MONTH_DAY_FORMAT": "j F", - "NUMBER_GROUPING": "3", - "SHORT_DATETIME_FORMAT": "d.m.Y H:i", - "SHORT_DATE_FORMAT": "d.m.Y", - "THOUSAND_SEPARATOR": "\u00a0", - "TIME_FORMAT": "G:i:s", - "TIME_INPUT_FORMATS": [ - "%H:%M:%S", - "%H:%M" - ], - "YEAR_MONTH_FORMAT": "F Y \u0433." - }; - - django.get_format = function (format_type) { - var value = django.formats[format_type]; - if (typeof(value) == 'undefined') { - return format_type; - } else { - return value; - } - }; - - /* add to global namespace */ - globals.pluralidx = django.pluralidx; - globals.gettext = django.gettext; - globals.ngettext = django.ngettext; - globals.gettext_noop = django.gettext_noop; - globals.pgettext = django.pgettext; - globals.npgettext = django.npgettext; - globals.interpolate = django.interpolate; - globals.get_format = django.get_format; - -}(this)); - diff --git a/media/assets/scripts/i18n/ru/djangojs.718c7980f9fb.js b/media/assets/scripts/i18n/ru/djangojs.718c7980f9fb.js new file mode 100644 index 0000000000..8357fc6d62 --- /dev/null +++ b/media/assets/scripts/i18n/ru/djangojs.718c7980f9fb.js @@ -0,0 +1,219 @@ + + +(function (globals) { + + var django = globals.django || (globals.django = {}); + + + django.pluralidx = function (n) { + var v=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; + + + + /* gettext library */ + + django.catalog = { + "%curr% of %total%": "%curr% \u0438\u0437 %total%", + "The image could not be loaded.": "\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0435 \u0431\u044b\u043b\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043e.", + "Are you sure you want to delete these selected items?": "\u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b, \u0447\u0442\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b?", + "Cancel": "\u041e\u0442\u043c\u0435\u043d\u0430", + "Canceled.": "\u041e\u0442\u043c\u0435\u043d\u0435\u043d\u043e.", + "Close (Esc)": "\u0417\u0430\u043a\u0440\u044b\u0442\u044c (Esc)", + "Copy {placeholder} to:": "\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c {placeholder} \u0432:", + "Copying %(name)s": "\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 %(name)s", + "Copying file %(index)s of %(total)s": "\u041a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0444\u0430\u0439\u043b %(index)s \u0438\u0437 %(total)s", + "Delete": "\u0423\u0434\u0430\u043b\u0438\u0442\u044c", + "Delete Items": "\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432", + "Delete succeeded.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0443\u0434\u0430\u043b\u0435\u043d\u043e.", + "Empty file upload result": "\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043f\u0443\u0441\u0442\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430", + "Error": "\u041e\u0448\u0438\u0431\u043a\u0430", + "Failed to copy %(name)s": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c %(name)s", + "Failed to delete %(name)s and %(amount)s other items.": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0443\u0434\u0430\u043b\u0438\u0442\u044c %(name)s \u0438 \u0435\u0449\u0435 %(amount)s \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", + "Failed to delete %(name)s and 1 other item.": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0443\u0434\u0430\u043b\u0438\u0442\u044c %(name)s \u0438 \u0435\u0449\u0435 1 \u043e\u0431\u044a\u0435\u043a\u0442.", + "Failed to delete %(name)s.": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0443\u0434\u0430\u043b\u0438\u0442\u044c %(name)s.", + "Failed to get update url": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438", + "Failed to get upload url": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438", + "Failed to move %(name)s": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c %(name)s", + "Failed to send to {placeholder}": "\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0432 {placeholder}", + "Failed to share to {placeholder}": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043e\u0431\u0449\u0438\u0439 \u0434\u043e\u0441\u0442\u0443\u043f {placeholder}", + "Failed.": "\u041d\u0435 \u0443\u0434\u0430\u0447\u043d\u043e.", + "Failed. Please check the network.": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0441\u0435\u0442\u044c.", + "File Upload canceled": "\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0444\u0430\u0439\u043b\u0430 \u043e\u0442\u043c\u0435\u043d\u0435\u043d\u0430", + "File Upload complete": "\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0444\u0430\u0439\u043b\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0430", + "File Upload failed": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b", + "File Uploading...": "\u0424\u0430\u0439\u043b \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f...", + "File is too big": "\u0424\u0430\u0439\u043b \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0439", + "File is too small": "\u0424\u0430\u0439\u043b \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439", + "Filetype not allowed": "\u0422\u0438\u043f \u0444\u0430\u0439\u043b\u0430 \u043d\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d", + "Internal error. Failed to copy %(name)s and %(amount)s other item(s).": "\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c %(name)s \u0438 \u0435\u0449\u0435 %(amount)s \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", + "Internal error. Failed to copy %(name)s.": "\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c %(name)s.", + "Internal error. Failed to move %(name)s and %(amount)s other item(s).": "\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c %(name)s \u0438 \u0435\u0449\u0435 %(amount)s \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", + "Internal error. Failed to move %(name)s.": "\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c %(name)s.", + "Invalid destination path": "\u041f\u0443\u0442\u044c \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0443\u043a\u0430\u0437\u0430\u043d \u043d\u0435\u0432\u0435\u0440\u043d\u043e", + "It is required.": "\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435.", + "Just now": "\u041f\u0440\u044f\u043c\u043e \u0441\u0435\u0439\u0447\u0430\u0441", + "Loading...": "\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430...", + "Max number of files exceeded": "\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 \u0444\u0430\u0439\u043b\u043e\u0432", + "Move {placeholder} to:": "\u041f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c {placeholder} \u0432:", + "Moving %(name)s": "\u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0435 %(name)s", + "Moving file %(index)s of %(total)s": "\u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f \u0444\u0430\u0439\u043b %(index)s \u0438\u0437 %(total)s", + "Name is required": "\u0418\u043c\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e", + "Next (Right arrow key)": "\u0412\u043f\u0435\u0440\u0451\u0434 (\u2192)", + "Only an extension there, please input a name.": "\u0417\u0434\u0435\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435.", + "Open in New Tab": "\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0432 \u043d\u043e\u0432\u043e\u0439 \u0432\u043a\u043b\u0430\u0434\u043a\u0435", + "Password is required.": "\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u0430\u0440\u043e\u043b\u044c.", + "Password is too short": "\u041f\u0430\u0440\u043e\u043b\u044c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0439", + "Passwords don't match": "\u041f\u0430\u0440\u043e\u043b\u0438 \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442", + "Permission error": "\u041e\u0448\u0438\u0431\u043a\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430", + "Please check the network.": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0441\u0435\u0442\u044c.", + "Please choose a directory": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433", + "Please enter days.": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0435\u043d\u044c.", + "Please enter password": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u044c", + "Please enter the password again": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u044c \u0435\u0449\u0451 \u0440\u0430\u0437", + "Please enter valid days": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0434\u0435\u043d\u044c", + "Please input at least an email.": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u043e \u043a\u0440\u0430\u0439\u043d\u0435\u0439 \u043c\u0435\u0440\u0435, E-mail.", + "Please select a contact or a group.": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043a\u043e\u043d\u0442\u0430\u043a\u0442 \u0438\u043b\u0438 \u0433\u0440\u0443\u043f\u043f\u0443.", + "Previous (Left arrow key)": "\u041d\u0430\u0437\u0430\u0434 (\u2190)", + "Processing...": "\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 ...", + "Really want to delete {lib_name}?": "\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043b\u0438\u0442\u044c {lib_name}?", + "Rename Directory": "\u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0442\u0430\u043b\u043e\u0433", + "Rename File": "\u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b", + "Replace file {filename}?": "\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0444\u0430\u0439\u043b {filename}?", + "Saving...": "\u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435...", + "Search users or enter emails": "\u041d\u0430\u0439\u0434\u0438\u0442\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438\u043b\u0438 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 email", + "Select groups": "\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u0440\u0443\u043f\u043f\u0443", + "Set {placeholder}'s permission": "\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a {placeholder} ", + "Share {placeholder}": "\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043e\u0431\u0449\u0438\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a {placeholder}", + "Start": "\u041d\u0430\u0447\u0430\u0442\u044c", + "Success": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e", + "Successfully copied %(name)s and %(amount)s other items.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d %(name)s \u0438 \u0435\u0449\u0435 %(amount)s \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", + "Successfully copied %(name)s and 1 other item.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d %(name)s \u0438 \u0435\u0449\u0435 1 \u043e\u0431\u044a\u0435\u043a\u0442.", + "Successfully copied %(name)s.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d %(name)s.", + "Successfully deleted %(name)s": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0443\u0434\u0430\u043b\u0435\u043d %(name)s", + "Successfully deleted %(name)s and %(amount)s other items.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0443\u0434\u0430\u043b\u0435\u043d %(name)s \u0438 \u0435\u0449\u0435 %(amount)s \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", + "Successfully deleted %(name)s and 1 other item.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0435\u043c\u0435\u0449\u0435\u043d %(name)s \u0438 \u0435\u0449\u0435 1 \u043e\u0431\u044a\u0435\u043a\u0442.", + "Successfully deleted %(name)s.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0443\u0434\u0430\u043b\u0435\u043d %(name)s.", + "Successfully moved %(name)s and %(amount)s other items.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0435\u043c\u0435\u0449\u0435\u043d %(name)s \u0438 \u0435\u0449\u0435 %(amount)s \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", + "Successfully moved %(name)s and 1 other item.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0435\u043c\u0435\u0449\u0435\u043d %(name)s \u0438 \u0435\u0449\u0435 1 \u043e\u0431\u044a\u0435\u043a\u0442.", + "Successfully moved %(name)s.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d %(name)s.", + "Successfully sent to {placeholder}": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e \u0432 {placeholder}", + "Successfully shared to {placeholder}": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043a {placeholder}", + "Successfully unshared {placeholder}": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0437\u0430\u043a\u0440\u044b\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043a {placeholder}", + "Successfully unstared {placeholder}": "\u041e\u0442\u043c\u0435\u0442\u043a\u0430 \u0441\u043d\u044f\u0442\u0430 \u0441 {placeholder}", + "Uploaded bytes exceed file size": "\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u043b\u0438\u043c\u0438\u0442\u0430 \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0444\u0430\u0439\u043b\u0430", + "You don't have any library at present.": "\u0412\u044b \u043f\u043e\u043a\u0430 \u043d\u0435 \u043e\u0442\u043c\u0435\u0442\u0438\u043b\u0438 \u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430", + "You have not renamed it.": "\u0412\u044b \u043d\u0435 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043b\u0438 \u0435\u0433\u043e.", + "canceled": "\u043e\u0442\u043c\u0435\u043d\u0435\u043d\u043e", + "uploaded": "\u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043e" + }; + + django.gettext = function (msgid) { + var value = django.catalog[msgid]; + if (typeof(value) == 'undefined') { + return msgid; + } else { + return (typeof(value) == 'string') ? value : value[0]; + } + }; + + django.ngettext = function (singular, plural, count) { + var value = django.catalog[singular]; + if (typeof(value) == 'undefined') { + return (count == 1) ? singular : plural; + } else { + return value[django.pluralidx(count)]; + } + }; + + django.gettext_noop = function (msgid) { return msgid; }; + + django.pgettext = function (context, msgid) { + var value = django.gettext(context + '\x04' + msgid); + if (value.indexOf('\x04') != -1) { + value = msgid; + } + return value; + }; + + django.npgettext = function (context, singular, plural, count) { + var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count); + if (value.indexOf('\x04') != -1) { + value = django.ngettext(singular, plural, count); + } + return value; + }; + + + django.interpolate = function (fmt, obj, named) { + if (named) { + return fmt.replace(/%\(\w+\)s/g, function(match){return String(obj[match.slice(2,-2)])}); + } else { + return fmt.replace(/%s/g, function(match){return String(obj.shift())}); + } + }; + + + /* formatting library */ + + django.formats = { + "DATETIME_FORMAT": "j E Y \u0433. G:i:s", + "DATETIME_INPUT_FORMATS": [ + "%d.%m.%Y %H:%M:%S", + "%d.%m.%Y %H:%M", + "%d.%m.%Y", + "%d.%m.%y %H:%M:%S", + "%d.%m.%y %H:%M", + "%d.%m.%y", + "%Y-%m-%d %H:%M:%S", + "%Y-%m-%d %H:%M:%S.%f", + "%Y-%m-%d %H:%M", + "%Y-%m-%d" + ], + "DATE_FORMAT": "j E Y \u0433.", + "DATE_INPUT_FORMATS": [ + "%d.%m.%Y", + "%d.%m.%y", + "%Y-%m-%d" + ], + "DECIMAL_SEPARATOR": ",", + "FIRST_DAY_OF_WEEK": "1", + "MONTH_DAY_FORMAT": "j F", + "NUMBER_GROUPING": "3", + "SHORT_DATETIME_FORMAT": "d.m.Y H:i", + "SHORT_DATE_FORMAT": "d.m.Y", + "THOUSAND_SEPARATOR": "\u00a0", + "TIME_FORMAT": "G:i:s", + "TIME_INPUT_FORMATS": [ + "%H:%M:%S", + "%H:%M" + ], + "YEAR_MONTH_FORMAT": "F Y \u0433." + }; + + django.get_format = function (format_type) { + var value = django.formats[format_type]; + if (typeof(value) == 'undefined') { + return format_type; + } else { + return value; + } + }; + + /* add to global namespace */ + globals.pluralidx = django.pluralidx; + globals.gettext = django.gettext; + globals.ngettext = django.ngettext; + globals.gettext_noop = django.gettext_noop; + globals.pgettext = django.pgettext; + globals.npgettext = django.npgettext; + globals.interpolate = django.interpolate; + globals.get_format = django.get_format; + +}(this)); + diff --git a/media/assets/scripts/i18n/ru/djangojs.js b/media/assets/scripts/i18n/ru/djangojs.js index 2d7e059c37..8357fc6d62 100644 --- a/media/assets/scripts/i18n/ru/djangojs.js +++ b/media/assets/scripts/i18n/ru/djangojs.js @@ -5,17 +5,149 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; - /* gettext identity library */ + /* gettext library */ + + django.catalog = { + "%curr% of %total%": "%curr% \u0438\u0437 %total%", + "The image could not be loaded.": "\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0435 \u0431\u044b\u043b\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043e.", + "Are you sure you want to delete these selected items?": "\u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b, \u0447\u0442\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b?", + "Cancel": "\u041e\u0442\u043c\u0435\u043d\u0430", + "Canceled.": "\u041e\u0442\u043c\u0435\u043d\u0435\u043d\u043e.", + "Close (Esc)": "\u0417\u0430\u043a\u0440\u044b\u0442\u044c (Esc)", + "Copy {placeholder} to:": "\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c {placeholder} \u0432:", + "Copying %(name)s": "\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 %(name)s", + "Copying file %(index)s of %(total)s": "\u041a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0444\u0430\u0439\u043b %(index)s \u0438\u0437 %(total)s", + "Delete": "\u0423\u0434\u0430\u043b\u0438\u0442\u044c", + "Delete Items": "\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432", + "Delete succeeded.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0443\u0434\u0430\u043b\u0435\u043d\u043e.", + "Empty file upload result": "\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043f\u0443\u0441\u0442\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430", + "Error": "\u041e\u0448\u0438\u0431\u043a\u0430", + "Failed to copy %(name)s": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c %(name)s", + "Failed to delete %(name)s and %(amount)s other items.": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0443\u0434\u0430\u043b\u0438\u0442\u044c %(name)s \u0438 \u0435\u0449\u0435 %(amount)s \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", + "Failed to delete %(name)s and 1 other item.": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0443\u0434\u0430\u043b\u0438\u0442\u044c %(name)s \u0438 \u0435\u0449\u0435 1 \u043e\u0431\u044a\u0435\u043a\u0442.", + "Failed to delete %(name)s.": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0443\u0434\u0430\u043b\u0438\u0442\u044c %(name)s.", + "Failed to get update url": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438", + "Failed to get upload url": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438", + "Failed to move %(name)s": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c %(name)s", + "Failed to send to {placeholder}": "\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0432 {placeholder}", + "Failed to share to {placeholder}": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043e\u0431\u0449\u0438\u0439 \u0434\u043e\u0441\u0442\u0443\u043f {placeholder}", + "Failed.": "\u041d\u0435 \u0443\u0434\u0430\u0447\u043d\u043e.", + "Failed. Please check the network.": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0441\u0435\u0442\u044c.", + "File Upload canceled": "\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0444\u0430\u0439\u043b\u0430 \u043e\u0442\u043c\u0435\u043d\u0435\u043d\u0430", + "File Upload complete": "\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0444\u0430\u0439\u043b\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0430", + "File Upload failed": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b", + "File Uploading...": "\u0424\u0430\u0439\u043b \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f...", + "File is too big": "\u0424\u0430\u0439\u043b \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0439", + "File is too small": "\u0424\u0430\u0439\u043b \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439", + "Filetype not allowed": "\u0422\u0438\u043f \u0444\u0430\u0439\u043b\u0430 \u043d\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d", + "Internal error. Failed to copy %(name)s and %(amount)s other item(s).": "\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c %(name)s \u0438 \u0435\u0449\u0435 %(amount)s \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", + "Internal error. Failed to copy %(name)s.": "\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c %(name)s.", + "Internal error. Failed to move %(name)s and %(amount)s other item(s).": "\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c %(name)s \u0438 \u0435\u0449\u0435 %(amount)s \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", + "Internal error. Failed to move %(name)s.": "\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c %(name)s.", + "Invalid destination path": "\u041f\u0443\u0442\u044c \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0443\u043a\u0430\u0437\u0430\u043d \u043d\u0435\u0432\u0435\u0440\u043d\u043e", + "It is required.": "\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435.", + "Just now": "\u041f\u0440\u044f\u043c\u043e \u0441\u0435\u0439\u0447\u0430\u0441", + "Loading...": "\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430...", + "Max number of files exceeded": "\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 \u0444\u0430\u0439\u043b\u043e\u0432", + "Move {placeholder} to:": "\u041f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c {placeholder} \u0432:", + "Moving %(name)s": "\u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0435 %(name)s", + "Moving file %(index)s of %(total)s": "\u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f \u0444\u0430\u0439\u043b %(index)s \u0438\u0437 %(total)s", + "Name is required": "\u0418\u043c\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e", + "Next (Right arrow key)": "\u0412\u043f\u0435\u0440\u0451\u0434 (\u2192)", + "Only an extension there, please input a name.": "\u0417\u0434\u0435\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435.", + "Open in New Tab": "\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0432 \u043d\u043e\u0432\u043e\u0439 \u0432\u043a\u043b\u0430\u0434\u043a\u0435", + "Password is required.": "\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u0430\u0440\u043e\u043b\u044c.", + "Password is too short": "\u041f\u0430\u0440\u043e\u043b\u044c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0439", + "Passwords don't match": "\u041f\u0430\u0440\u043e\u043b\u0438 \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442", + "Permission error": "\u041e\u0448\u0438\u0431\u043a\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430", + "Please check the network.": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0441\u0435\u0442\u044c.", + "Please choose a directory": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433", + "Please enter days.": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0435\u043d\u044c.", + "Please enter password": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u044c", + "Please enter the password again": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u044c \u0435\u0449\u0451 \u0440\u0430\u0437", + "Please enter valid days": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0434\u0435\u043d\u044c", + "Please input at least an email.": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u043e \u043a\u0440\u0430\u0439\u043d\u0435\u0439 \u043c\u0435\u0440\u0435, E-mail.", + "Please select a contact or a group.": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043a\u043e\u043d\u0442\u0430\u043a\u0442 \u0438\u043b\u0438 \u0433\u0440\u0443\u043f\u043f\u0443.", + "Previous (Left arrow key)": "\u041d\u0430\u0437\u0430\u0434 (\u2190)", + "Processing...": "\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 ...", + "Really want to delete {lib_name}?": "\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043b\u0438\u0442\u044c {lib_name}?", + "Rename Directory": "\u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0442\u0430\u043b\u043e\u0433", + "Rename File": "\u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b", + "Replace file {filename}?": "\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0444\u0430\u0439\u043b {filename}?", + "Saving...": "\u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435...", + "Search users or enter emails": "\u041d\u0430\u0439\u0434\u0438\u0442\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438\u043b\u0438 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 email", + "Select groups": "\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u0440\u0443\u043f\u043f\u0443", + "Set {placeholder}'s permission": "\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a {placeholder} ", + "Share {placeholder}": "\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043e\u0431\u0449\u0438\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a {placeholder}", + "Start": "\u041d\u0430\u0447\u0430\u0442\u044c", + "Success": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e", + "Successfully copied %(name)s and %(amount)s other items.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d %(name)s \u0438 \u0435\u0449\u0435 %(amount)s \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", + "Successfully copied %(name)s and 1 other item.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d %(name)s \u0438 \u0435\u0449\u0435 1 \u043e\u0431\u044a\u0435\u043a\u0442.", + "Successfully copied %(name)s.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d %(name)s.", + "Successfully deleted %(name)s": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0443\u0434\u0430\u043b\u0435\u043d %(name)s", + "Successfully deleted %(name)s and %(amount)s other items.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0443\u0434\u0430\u043b\u0435\u043d %(name)s \u0438 \u0435\u0449\u0435 %(amount)s \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", + "Successfully deleted %(name)s and 1 other item.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0435\u043c\u0435\u0449\u0435\u043d %(name)s \u0438 \u0435\u0449\u0435 1 \u043e\u0431\u044a\u0435\u043a\u0442.", + "Successfully deleted %(name)s.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0443\u0434\u0430\u043b\u0435\u043d %(name)s.", + "Successfully moved %(name)s and %(amount)s other items.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0435\u043c\u0435\u0449\u0435\u043d %(name)s \u0438 \u0435\u0449\u0435 %(amount)s \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", + "Successfully moved %(name)s and 1 other item.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0435\u043c\u0435\u0449\u0435\u043d %(name)s \u0438 \u0435\u0449\u0435 1 \u043e\u0431\u044a\u0435\u043a\u0442.", + "Successfully moved %(name)s.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d %(name)s.", + "Successfully sent to {placeholder}": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e \u0432 {placeholder}", + "Successfully shared to {placeholder}": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043a {placeholder}", + "Successfully unshared {placeholder}": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0437\u0430\u043a\u0440\u044b\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043a {placeholder}", + "Successfully unstared {placeholder}": "\u041e\u0442\u043c\u0435\u0442\u043a\u0430 \u0441\u043d\u044f\u0442\u0430 \u0441 {placeholder}", + "Uploaded bytes exceed file size": "\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u043b\u0438\u043c\u0438\u0442\u0430 \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0444\u0430\u0439\u043b\u0430", + "You don't have any library at present.": "\u0412\u044b \u043f\u043e\u043a\u0430 \u043d\u0435 \u043e\u0442\u043c\u0435\u0442\u0438\u043b\u0438 \u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430", + "You have not renamed it.": "\u0412\u044b \u043d\u0435 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043b\u0438 \u0435\u0433\u043e.", + "canceled": "\u043e\u0442\u043c\u0435\u043d\u0435\u043d\u043e", + "uploaded": "\u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043e" + }; + + django.gettext = function (msgid) { + var value = django.catalog[msgid]; + if (typeof(value) == 'undefined') { + return msgid; + } else { + return (typeof(value) == 'string') ? value : value[0]; + } + }; + + django.ngettext = function (singular, plural, count) { + var value = django.catalog[singular]; + if (typeof(value) == 'undefined') { + return (count == 1) ? singular : plural; + } else { + return value[django.pluralidx(count)]; + } + }; - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; + + django.pgettext = function (context, msgid) { + var value = django.gettext(context + '\x04' + msgid); + if (value.indexOf('\x04') != -1) { + value = msgid; + } + return value; + }; + + django.npgettext = function (context, singular, plural, count) { + var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count); + if (value.indexOf('\x04') != -1) { + value = django.ngettext(singular, plural, count); + } + return value; + }; django.interpolate = function (fmt, obj, named) { diff --git a/media/assets/scripts/i18n/sk/djangojs.16dc3317e219.js b/media/assets/scripts/i18n/sk/djangojs.06183425c030.js similarity index 92% rename from media/assets/scripts/i18n/sk/djangojs.16dc3317e219.js rename to media/assets/scripts/i18n/sk/djangojs.06183425c030.js index 35ebc71603..f48d29f7c5 100644 --- a/media/assets/scripts/i18n/sk/djangojs.16dc3317e219.js +++ b/media/assets/scripts/i18n/sk/djangojs.06183425c030.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2; + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/sk/djangojs.js b/media/assets/scripts/i18n/sk/djangojs.js index 35ebc71603..f48d29f7c5 100644 --- a/media/assets/scripts/i18n/sk/djangojs.js +++ b/media/assets/scripts/i18n/sk/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2; + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/sl/djangojs.b405ecb1969e.js b/media/assets/scripts/i18n/sl/djangojs.98303c434ad8.js similarity index 92% rename from media/assets/scripts/i18n/sl/djangojs.b405ecb1969e.js rename to media/assets/scripts/i18n/sl/djangojs.98303c434ad8.js index cd7e32bc79..4207f2cc9d 100644 --- a/media/assets/scripts/i18n/sl/djangojs.b405ecb1969e.js +++ b/media/assets/scripts/i18n/sl/djangojs.98303c434ad8.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/sl/djangojs.js b/media/assets/scripts/i18n/sl/djangojs.js index cd7e32bc79..4207f2cc9d 100644 --- a/media/assets/scripts/i18n/sl/djangojs.js +++ b/media/assets/scripts/i18n/sl/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/sv/djangojs.f1a1e23fc322.js b/media/assets/scripts/i18n/sv/djangojs.f85f3a2b05e3.js similarity index 93% rename from media/assets/scripts/i18n/sv/djangojs.f1a1e23fc322.js rename to media/assets/scripts/i18n/sv/djangojs.f85f3a2b05e3.js index 068d092ab9..71c05fde57 100644 --- a/media/assets/scripts/i18n/sv/djangojs.f1a1e23fc322.js +++ b/media/assets/scripts/i18n/sv/djangojs.f85f3a2b05e3.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/sv/djangojs.js b/media/assets/scripts/i18n/sv/djangojs.js index 068d092ab9..71c05fde57 100644 --- a/media/assets/scripts/i18n/sv/djangojs.js +++ b/media/assets/scripts/i18n/sv/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/th/djangojs.518d01eaf70f.js b/media/assets/scripts/i18n/th/djangojs.fee8e7089958.js similarity index 94% rename from media/assets/scripts/i18n/th/djangojs.518d01eaf70f.js rename to media/assets/scripts/i18n/th/djangojs.fee8e7089958.js index 53198fe1a5..61b1aad0ed 100644 --- a/media/assets/scripts/i18n/th/djangojs.518d01eaf70f.js +++ b/media/assets/scripts/i18n/th/djangojs.fee8e7089958.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=0; + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/th/djangojs.js b/media/assets/scripts/i18n/th/djangojs.js index 53198fe1a5..61b1aad0ed 100644 --- a/media/assets/scripts/i18n/th/djangojs.js +++ b/media/assets/scripts/i18n/th/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=0; + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/tr/djangojs.3557d7371d1b.js b/media/assets/scripts/i18n/tr/djangojs.bea140a37a93.js similarity index 93% rename from media/assets/scripts/i18n/tr/djangojs.3557d7371d1b.js rename to media/assets/scripts/i18n/tr/djangojs.bea140a37a93.js index 461a072bb9..17b57cecb0 100644 --- a/media/assets/scripts/i18n/tr/djangojs.3557d7371d1b.js +++ b/media/assets/scripts/i18n/tr/djangojs.bea140a37a93.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n > 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/tr/djangojs.js b/media/assets/scripts/i18n/tr/djangojs.js index 461a072bb9..17b57cecb0 100644 --- a/media/assets/scripts/i18n/tr/djangojs.js +++ b/media/assets/scripts/i18n/tr/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n > 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/uk/djangojs.ef7a1a0e307d.js b/media/assets/scripts/i18n/uk/djangojs.4765b8111709.js similarity index 91% rename from media/assets/scripts/i18n/uk/djangojs.ef7a1a0e307d.js rename to media/assets/scripts/i18n/uk/djangojs.4765b8111709.js index 900220b755..3a83a01945 100644 --- a/media/assets/scripts/i18n/uk/djangojs.ef7a1a0e307d.js +++ b/media/assets/scripts/i18n/uk/djangojs.4765b8111709.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/uk/djangojs.js b/media/assets/scripts/i18n/uk/djangojs.js index 900220b755..3a83a01945 100644 --- a/media/assets/scripts/i18n/uk/djangojs.js +++ b/media/assets/scripts/i18n/uk/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/zh-tw/djangojs.d346a9ff2a0b.js b/media/assets/scripts/i18n/zh-tw/djangojs.2866807c16ec.js similarity index 94% rename from media/assets/scripts/i18n/zh-tw/djangojs.d346a9ff2a0b.js rename to media/assets/scripts/i18n/zh-tw/djangojs.2866807c16ec.js index cf592a306e..5c10aaec56 100644 --- a/media/assets/scripts/i18n/zh-tw/djangojs.d346a9ff2a0b.js +++ b/media/assets/scripts/i18n/zh-tw/djangojs.2866807c16ec.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=0; + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/media/assets/scripts/i18n/zh-tw/djangojs.js b/media/assets/scripts/i18n/zh-tw/djangojs.js index cf592a306e..5c10aaec56 100644 --- a/media/assets/scripts/i18n/zh-tw/djangojs.js +++ b/media/assets/scripts/i18n/zh-tw/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=0; + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/static/scripts/i18n/ca/djangojs.js b/static/scripts/i18n/ca/djangojs.js index 08ff302b62..ee4fe6f534 100644 --- a/static/scripts/i18n/ca/djangojs.js +++ b/static/scripts/i18n/ca/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/static/scripts/i18n/de/djangojs.js b/static/scripts/i18n/de/djangojs.js index 13ec7b1518..38686a5a6a 100644 --- a/static/scripts/i18n/de/djangojs.js +++ b/static/scripts/i18n/de/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/static/scripts/i18n/en/djangojs.js b/static/scripts/i18n/en/djangojs.js index 0be4ad66e6..e866cc4cc2 100644 --- a/static/scripts/i18n/en/djangojs.js +++ b/static/scripts/i18n/en/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/static/scripts/i18n/fr/djangojs.js b/static/scripts/i18n/fr/djangojs.js index ed8062763a..8f75ac358a 100644 --- a/static/scripts/i18n/fr/djangojs.js +++ b/static/scripts/i18n/fr/djangojs.js @@ -5,17 +5,149 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n > 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; - /* gettext identity library */ + /* gettext library */ + + django.catalog = { + "%curr% of %total%": "%curr% de %total%", + "The image could not be loaded.": "L'image ne peut \u00eatre charg\u00e9e.", + "Are you sure you want to delete these selected items?": "Voulez vraiment supprimer les \u00e9l\u00e9ments s\u00e9lectionn\u00e9s ?", + "Cancel": "Annuler", + "Canceled.": "Annul\u00e9.", + "Close (Esc)": "Fermer (Esc)", + "Copy {placeholder} to:": "Copier {placeholder} vers:", + "Copying %(name)s": "Copie de %(name)s", + "Copying file %(index)s of %(total)s": "Copie du fichier %(index)s de %(total)s", + "Delete": "Supprimer", + "Delete Items": "Supprimer les \u00e9l\u00e9ments", + "Delete succeeded.": "Supprim\u00e9 avec succ\u00e8s.", + "Empty file upload result": "Le r\u00e9sultat de l'envoi est un fichier vide", + "Error": "Erreur", + "Failed to copy %(name)s": "\u00c9chec de la copie de %(name)s", + "Failed to delete %(name)s and %(amount)s other items.": "Impossible de supprimer %(name)s et %(amount)s autres \u00e9l\u00e9ments.", + "Failed to delete %(name)s and 1 other item.": "Impossible de supprimer %(name)s et un autre \u00e9l\u00e9ment.", + "Failed to delete %(name)s.": "Impossible de supprimer %(name)s.", + "Failed to get update url": "\u00c9chec de la mise \u00e0 jour de l'url", + "Failed to get upload url": "\u00c9chec de la r\u00e9cup\u00e9ration de l'url d'envoi", + "Failed to move %(name)s": "\u00c9chec du d\u00e9placement de %(name)s", + "Failed to send to {placeholder}": "\u00c9chec de l'envoi \u00e0 {placeholder}", + "Failed to share to {placeholder}": "\u00c9chec du partage avec {placeholder}", + "Failed.": "\u00c9chec.", + "Failed. Please check the network.": "\u00c9chec. V\u00e9rifiez le r\u00e9seau", + "File Upload canceled": "Envoi du fichier annul\u00e9", + "File Upload complete": "Envoi du fichier termin\u00e9", + "File Upload failed": "\u00c9chec de l'envoi du fichier", + "File Uploading...": "Envoi du fichier en cours...", + "File is too big": "Le fichier est trop volumineux", + "File is too small": "Le fichier est trop petit", + "Filetype not allowed": "Type de fichier non permis", + "Internal error. Failed to copy %(name)s and %(amount)s other item(s).": "Erreur interne. \u00c9chec de la copie de %(name)s et %(amount)s autres \u00e9l\u00e9ment(s).", + "Internal error. Failed to copy %(name)s.": "Erreur interne. \u00c9chec de la copie de %(name)s", + "Internal error. Failed to move %(name)s and %(amount)s other item(s).": "Erreur interne. \u00c9chec du d\u00e9placement de %(name)s et %(amount)s autres \u00e9l\u00e9ment(s).", + "Internal error. Failed to move %(name)s.": " Erreur interne. \u00c9chec du d\u00e9placement de %(name)s ", + "Invalid destination path": "Chemin de destination invalide", + "It is required.": "c'est obligatoire.", + "Just now": "A l'instant", + "Loading...": "Chargement...", + "Max number of files exceeded": "Le nombre maximal de fichiers est d\u00e9pass\u00e9", + "Move {placeholder} to:": "D\u00e9placer {placeholder} vers :", + "Moving %(name)s": "D\u00e9placement de %(name)s", + "Moving file %(index)s of %(total)s": "D\u00e9placement du fichier %(index)s de %(total)s", + "Name is required": "Le nom est obligatoire", + "Next (Right arrow key)": "Suivant (fl\u00e8che droite)", + "Only an extension there, please input a name.": "Une seule extension ici, saisissez un nom.", + "Open in New Tab": "Ouvrir dans un nouvel onglet", + "Password is required.": "Le mot de passe est obligatoire", + "Password is too short": "Le mot de passe est trop court", + "Passwords don't match": "Les mots de passe ne correspondent pas", + "Permission error": "Erreur de droits", + "Please check the network.": "V\u00e9rifier le r\u00e9seau.", + "Please choose a directory": "Choisissez un r\u00e9pertoire", + "Please enter days.": "Saisissez le nombre de jours.", + "Please enter password": "Entrez un mot de passe", + "Please enter the password again": "Entrez \u00e0 nouveau un mot de passe", + "Please enter valid days": "saisissez un nombre de jours valide", + "Please input at least an email.": "Saisissez au moins une adresse mel ", + "Please select a contact or a group.": "S\u00e9lectionnez un contact ou un groupe", + "Previous (Left arrow key)": "Pr\u00e9c\u00e9dent (fl\u00e8che gauche)", + "Processing...": "Traitement en cours...", + "Really want to delete {lib_name}?": "Confirmez la suppression de {lib_name}?", + "Rename Directory": "Renommer le r\u00e9pertoire", + "Rename File": "Renommer le fichier", + "Replace file {filename}?": "Remplacer le fichier {filename}?", + "Saving...": "Enregistrement...", + "Search users or enter emails": "Rechercher des utilisateurs ou saisir des adresses mail", + "Select groups": "S\u00e9lectionner les groupes", + "Set {placeholder}'s permission": "Attribuer des droits \u00e0 {placeholder}'s", + "Share {placeholder}": "Partage {placeholder}", + "Start": "D\u00e9marrer", + "Success": "Succ\u00e8s", + "Successfully copied %(name)s and %(amount)s other items.": "%(name)s et %(amount)s autres \u00e9l\u00e9ments copi\u00e9s avec succ\u00e8s.", + "Successfully copied %(name)s and 1 other item.": "%(name)s et 1 autre \u00e9l\u00e9ment copi\u00e9s avec succ\u00e8s.", + "Successfully copied %(name)s.": "%(name)s copi\u00e9 avec succ\u00e8s.", + "Successfully deleted %(name)s": "%(name)s supprim\u00e9 avec succ\u00e8s", + "Successfully deleted %(name)s and %(amount)s other items.": "Suppression avec succ\u00e8s de %(name)s et %(amount)s autres \u00e9l\u00e9ments.", + "Successfully deleted %(name)s and 1 other item.": " Suppression avec succ\u00e8s de %(name)s et 1 autre \u00e9l\u00e9ment.", + "Successfully deleted %(name)s.": " %(name)s supprim\u00e9 avec succ\u00e8s.", + "Successfully moved %(name)s and %(amount)s other items.": "%(name)s et %(amount)s autres \u00e9l\u00e9ments d\u00e9plac\u00e9s avec succ\u00e8s.", + "Successfully moved %(name)s and 1 other item.": " %(name)s et 1 autre \u00e9l\u00e9ment d\u00e9plac\u00e9s avec succ\u00e8s", + "Successfully moved %(name)s.": " %(name)s d\u00e9plac\u00e9 avec succ\u00e8s.", + "Successfully sent to {placeholder}": "Succ\u00e8s de l'envoi \u00e0 {placeholder}", + "Successfully shared to {placeholder}": "Succ\u00e8s du partage avec {placeholder}", + "Successfully unshared {placeholder}": "Partage de {placeholder} supprim\u00e9 avec succ\u00e8s", + "Successfully unstared {placeholder}": "{placeholder} suppression des favoris", + "Uploaded bytes exceed file size": "Le nombre de bytes envoy\u00e9s d\u00e9passe la taille du fichier", + "You don't have any library at present.": "Vous n\u2019avez pas actuellement de biblioth\u00e8que. ", + "You have not renamed it.": "Vous ne l'avez pas renomm\u00e9.", + "canceled": "annul\u00e9", + "uploaded": "envoy\u00e9" + }; + + django.gettext = function (msgid) { + var value = django.catalog[msgid]; + if (typeof(value) == 'undefined') { + return msgid; + } else { + return (typeof(value) == 'string') ? value : value[0]; + } + }; + + django.ngettext = function (singular, plural, count) { + var value = django.catalog[singular]; + if (typeof(value) == 'undefined') { + return (count == 1) ? singular : plural; + } else { + return value[django.pluralidx(count)]; + } + }; - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; + + django.pgettext = function (context, msgid) { + var value = django.gettext(context + '\x04' + msgid); + if (value.indexOf('\x04') != -1) { + value = msgid; + } + return value; + }; + + django.npgettext = function (context, singular, plural, count) { + var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count); + if (value.indexOf('\x04') != -1) { + value = django.ngettext(singular, plural, count); + } + return value; + }; django.interpolate = function (fmt, obj, named) { diff --git a/static/scripts/i18n/he/djangojs.js b/static/scripts/i18n/he/djangojs.js index a59c65bd81..825dc82156 100644 --- a/static/scripts/i18n/he/djangojs.js +++ b/static/scripts/i18n/he/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/static/scripts/i18n/hu/djangojs.js b/static/scripts/i18n/hu/djangojs.js index ec06782f2c..481a92b2ff 100644 --- a/static/scripts/i18n/hu/djangojs.js +++ b/static/scripts/i18n/hu/djangojs.js @@ -5,17 +5,149 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; - /* gettext identity library */ + /* gettext library */ + + django.catalog = { + "%curr% of %total%": "%curr% / %total%", + "The image could not be loaded.": "A k\u00e9pet nem lehet bet\u00f6lteni.", + "Are you sure you want to delete these selected items?": "Biztos, hogy t\u00f6rli ezeket az elemeket?", + "Cancel": "M\u00e9gsem", + "Canceled.": "Megszak\u00edtva.", + "Close (Esc)": "Bez\u00e1r (Esc)", + "Copy {placeholder} to:": "{placeholder} m\u00e1sol\u00e1sa ide:", + "Copying %(name)s": "%(name)s m\u00e1sol\u00e1sa", + "Copying file %(index)s of %(total)s": "F\u00e1jlok m\u00e1sol\u00e1sa: %(index)s / %(total)s", + "Delete": "T\u00f6rl\u00e9s", + "Delete Items": "Elemek t\u00f6rl\u00e9se", + "Delete succeeded.": "Sikeres t\u00f6rl\u00e9s", + "Empty file upload result": "\u00dcres f\u00e1jl felt\u00f6lt\u00e9s", + "Error": "Hiba", + "Failed to copy %(name)s": "%(name)s m\u00e1sol\u00e1sa sikertelen", + "Failed to delete %(name)s and %(amount)s other items.": "%(name)s \u00e9s m\u00e9g %(amount)s m\u00e1sik elem t\u00f6rl\u00e9se sikertelen.", + "Failed to delete %(name)s and 1 other item.": "%(name)s \u00e9s m\u00e9g 1 elem t\u00f6rl\u00e9se sikertelen.", + "Failed to delete %(name)s.": "T\u00f6rl\u00e9s meghi\u00fasult: %(name)s.", + "Failed to get update url": "A friss\u00edt\u00e9si linket nem lehet el\u00e9rni", + "Failed to get upload url": "A felt\u00f6lt\u00e9si linket nem lehet el\u00e9rni", + "Failed to move %(name)s": "%(name)s mozgat\u00e1sa sikertelen", + "Failed to send to {placeholder}": "Sikertelen k\u00fcld\u00e9s ide: {placeholder}", + "Failed to share to {placeholder}": "{placeholder} megoszt\u00e1sa sikertelen", + "Failed.": "Sikertelen.", + "Failed. Please check the network.": "Sikertelen. Ellen\u0151rizze a h\u00e1l\u00f3zatot.", + "File Upload canceled": "F\u00e1jl felt\u00f6lt\u00e9s megszak\u00edtva", + "File Upload complete": "F\u00e1jl felt\u00f6lt\u00e9s k\u00e9sz", + "File Upload failed": "F\u00e1jl felt\u00f6lt\u00e9s sikertelen", + "File Uploading...": "F\u00e1jl felt\u00f6lt\u00e9s ...", + "File is too big": "T\u00fal nagy f\u00e1jl", + "File is too small": "T\u00fal kicsi f\u00e1jl", + "Filetype not allowed": "Nem enged\u00e9lyezett f\u00e1jlt\u00edpus", + "Internal error. Failed to copy %(name)s and %(amount)s other item(s).": "Bels\u0151 hiba. %(name)s m\u00e1sol\u00e1sa \u00e9s m\u00e9g %(amount)s m\u00e1sik elem\u00e9 sikertelen.", + "Internal error. Failed to copy %(name)s.": "Bels\u0151 hiba. %(name)s m\u00e1sol\u00e1sa sikertelen.", + "Internal error. Failed to move %(name)s and %(amount)s other item(s).": "Bels\u0151 hiba. %(name)s mozgat\u00e1sa \u00e9s m\u00e9g %(amount)s m\u00e1sik elem\u00e9 sikertelen.", + "Internal error. Failed to move %(name)s.": "Bels\u0151 hiba. %(name)s mozgat\u00e1sa sikertelen.", + "Invalid destination path": "\u00c9rv\u00e9nytelen c\u00e9l \u00fatvonal", + "It is required.": "Sz\u00fcks\u00e9ges.", + "Just now": "\u00c9ppen most", + "Loading...": "Bet\u00f6lt\u00e9s...", + "Max number of files exceeded": "A maxim\u00e1lis f\u00e1jl sz\u00e1m t\u00fall\u00e9pve", + "Move {placeholder} to:": "{placeholder} mozgat\u00e1sa ide:", + "Moving %(name)s": "%(name)s mozgat\u00e1sa", + "Moving file %(index)s of %(total)s": "F\u00e1jlok mozgat\u00e1sa: %(index)s / %(total)s", + "Name is required": "N\u00e9v sz\u00fcks\u00e9ges", + "Next (Right arrow key)": "K\u00f6vetkez\u0151 (Jobbra ny\u00edl)", + "Only an extension there, please input a name.": "Csak a kiterjeszt\u00e9s van, k\u00e9rem adja meg a nevet.", + "Open in New Tab": "Megnyit\u00e1s \u00faj f\u00fcl\u00f6n", + "Password is required.": "Jelsz\u00f3 sz\u00fcks\u00e9ges.", + "Password is too short": "A jelsz\u00f3 t\u00fal r\u00f6vid", + "Passwords don't match": "Nem egyeznek a megadott jelszavak.", + "Permission error": "Jogosults\u00e1g hiba", + "Please check the network.": "Ellen\u0151rizze a h\u00e1l\u00f3zatot.", + "Please choose a directory": "K\u00e9rem v\u00e1lasszon k\u00f6nyvt\u00e1rat", + "Please enter days.": "Adja meg a napok sz\u00e1m\u00e1t.", + "Please enter password": "K\u00e9rem adja meg a jelsz\u00f3t", + "Please enter the password again": "K\u00e9rem adja meg a jelsz\u00f3t \u00fajra", + "Please enter valid days": "K\u00e9rem \u00e9rv\u00e9nyes nap sz\u00e1mot adjon meg", + "Please input at least an email.": "Adjon meg legal\u00e1bb egy e-mail c\u00edmet", + "Please select a contact or a group.": "V\u00e1lasszon kapcsolatot vagy csoportot.", + "Previous (Left arrow key)": "El\u0151z\u0151 (Balra ny\u00edl)", + "Processing...": "Feldolgoz\u00e1s...", + "Really want to delete {lib_name}?": "Biztosan t\u00f6rli: {lib_name}?", + "Rename Directory": "K\u00f6nyvt\u00e1r \u00e1tnevez\u00e9se", + "Rename File": "F\u00e1jl \u00e1tnevez\u00e9se", + "Replace file {filename}?": "Fel\u00fcl\u00edrja: {filename}?", + "Saving...": "Ment\u00e9s...", + "Search users or enter emails": "Felhaszn\u00e1l\u00f3k keres\u00e9se vagy adjon meg e-mail c\u00edmeket", + "Select groups": "Csoportok kiv\u00e1laszt\u00e1sa", + "Set {placeholder}'s permission": "{placeholder} jogosults\u00e1g be\u00e1ll\u00edt\u00e1sa", + "Share {placeholder}": "{placeholder} megoszt\u00e1sa", + "Start": "Ind\u00edt", + "Success": "Sikeres", + "Successfully copied %(name)s and %(amount)s other items.": "%(name)s m\u00e1sol\u00e1sa \u00e9s m\u00e9g %(amount)s m\u00e1sik elem\u00e9 sikeres.", + "Successfully copied %(name)s and 1 other item.": "%(name)s m\u00e1sol\u00e1sa \u00e9s m\u00e9g 1 m\u00e1sik elem\u00e9 sikeres.", + "Successfully copied %(name)s.": "%(name)s m\u00e1sol\u00e1sa sikeres.", + "Successfully deleted %(name)s": "%(name)s t\u00f6rl\u00e9se sikeres", + "Successfully deleted %(name)s and %(amount)s other items.": "%(name)s \u00e9s m\u00e9g %(amount)s m\u00e1sik elem t\u00f6r\u00f6lve.", + "Successfully deleted %(name)s and 1 other item.": "%(name)s \u00e9s m\u00e9g 1 m\u00e1sik elem t\u00f6r\u00f6lve.", + "Successfully deleted %(name)s.": "%(name)s t\u00f6rl\u00e9se sikeres.", + "Successfully moved %(name)s and %(amount)s other items.": "%(name)s \u00e1thelyez\u00e9se \u00e9s m\u00e9g %(amount)s m\u00e1sik elem\u00e9 sikeres.", + "Successfully moved %(name)s and 1 other item.": "%(name)s \u00e1thelyez\u00e9se \u00e9s m\u00e9g 1 m\u00e1sik elem\u00e9 sikeres.", + "Successfully moved %(name)s.": "%(name)s sikeresen \u00e1tmozgatva.", + "Successfully sent to {placeholder}": "Sikeresen elk\u00fcldve ide: {placeholder}", + "Successfully shared to {placeholder}": "Sikeresen megosztva: {placeholder}", + "Successfully unshared {placeholder}": "{placeholder} megoszt\u00e1sa sikeresen megsz\u00fcntetve", + "Successfully unstared {placeholder}": "{placeholder} sikeresen t\u00f6r\u00f6lve a kedvencekb\u0151l", + "Uploaded bytes exceed file size": "A felt\u00f6lt\u00f6tt b\u00e1jtok meghaladj\u00e1k a f\u00e1jl m\u00e9ret\u00e9t", + "You don't have any library at present.": "Jelenleg nincs egyetlen k\u00f6tete sem.", + "You have not renamed it.": "Nem nevezte \u00e1t.", + "canceled": "megszak\u00edtva", + "uploaded": "felt\u00f6ltve" + }; + + django.gettext = function (msgid) { + var value = django.catalog[msgid]; + if (typeof(value) == 'undefined') { + return msgid; + } else { + return (typeof(value) == 'string') ? value : value[0]; + } + }; + + django.ngettext = function (singular, plural, count) { + var value = django.catalog[singular]; + if (typeof(value) == 'undefined') { + return (count == 1) ? singular : plural; + } else { + return value[django.pluralidx(count)]; + } + }; - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; + + django.pgettext = function (context, msgid) { + var value = django.gettext(context + '\x04' + msgid); + if (value.indexOf('\x04') != -1) { + value = msgid; + } + return value; + }; + + django.npgettext = function (context, singular, plural, count) { + var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count); + if (value.indexOf('\x04') != -1) { + value = django.ngettext(singular, plural, count); + } + return value; + }; django.interpolate = function (fmt, obj, named) { diff --git a/static/scripts/i18n/is/djangojs.js b/static/scripts/i18n/is/djangojs.js index 9924fab9e7..631ed0e08c 100644 --- a/static/scripts/i18n/is/djangojs.js +++ b/static/scripts/i18n/is/djangojs.js @@ -5,17 +5,149 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n % 10 == 1 || n % 100 != 11); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; - /* gettext identity library */ + /* gettext library */ + + django.catalog = { + "%curr% of %total%": "%curr% af %total%", + "The image could not be loaded.": "Myndina var ekki h\u00e6gt a\u00f0 hla\u00f0a inn.", + "Are you sure you want to delete these selected items?": "Ertu viss um a\u00f0 \u00fe\u00fa viljir ey\u00f0a \u00feessum v\u00f6ldu atri\u00f0um?", + "Cancel": "H\u00e6tta vi\u00f0", + "Canceled.": "H\u00e6tt vi\u00f0", + "Close (Esc)": "Loka (Esc)", + "Copy {placeholder} to:": "Afrita {placeholder} til:", + "Copying %(name)s": "Afrita %(name)s", + "Copying file %(index)s of %(total)s": "Afrita skr\u00e1 %(index)s af %(total)s", + "Delete": "Ey\u00f0a", + "Delete Items": "Eyddum atri\u00f0um", + "Delete succeeded.": "Ey\u00f0ing t\u00f3kst.", + "Empty file upload result": "Upphle\u00f0slusta\u00f0a t\u00f3mra skr\u00e1a", + "Error": "Villa", + "Failed to copy %(name)s": "Mist\u00f3kst a\u00f0 afrita %(name)s", + "Failed to delete %(name)s and %(amount)s other items.": "Mist\u00f3kst a\u00f0 ey\u00f0a %(name)s og %(amount)s \u00f6\u00f0rum atri\u00f0um.", + "Failed to delete %(name)s and 1 other item.": "Mist\u00f3kst a\u00f0 ey\u00f0a %(name)s og einu \u00f6\u00f0ru atri\u00f0i.", + "Failed to delete %(name)s.": "Mist\u00f3kst a\u00f0 ey\u00f0a %(name)s.", + "Failed to get update url": "Mist\u00f3kst a\u00f0 s\u00e6kja uppf\u00e6rslusl\u00f3\u00f0", + "Failed to get upload url": "Mist\u00f3kst a\u00f0 s\u00e6kja upphle\u00f0slusl\u00f3\u00f0", + "Failed to move %(name)s": "Mist\u00f3kst a\u00f0 f\u00e6ra %(name)s", + "Failed to send to {placeholder}": "Mist\u00f3kst a\u00f0 senda til {placeholder}", + "Failed to share to {placeholder}": "Mist\u00f3kst a\u00f0 deila me\u00f0 {placeholder}", + "Failed.": "Mist\u00f3kst.", + "Failed. Please check the network.": "Mist\u00f3kst. Vinsamlegast veldu netkerfi.", + "File Upload canceled": "H\u00e6tt vi\u00f0 upphle\u00f0slu skr\u00e1ar", + "File Upload complete": "Upphle\u00f0slu skr\u00e1ar loki\u00f0", + "File Upload failed": "Upphle\u00f0sla skr\u00e1ar mist\u00f3kst", + "File Uploading...": "Skr\u00e1 hle\u00f0st upp...", + "File is too big": "Skr\u00e1 er of st\u00f3r", + "File is too small": "Skr\u00e1 er of sm\u00e1", + "Filetype not allowed": "Skr\u00e1arger\u00f0 er ekki leyf\u00f0", + "Internal error. Failed to copy %(name)s and %(amount)s other item(s).": "kerfisvilla. Mist\u00f3kst a\u00f0 afrita %(name)s og %(amount)s \u00f6\u00f0ru(m) atri\u00f0i/atri\u00f0um.", + "Internal error. Failed to copy %(name)s.": "Kerfisvilla. Mist\u00f3kst a\u00f0 afrita %(name)s.", + "Internal error. Failed to move %(name)s and %(amount)s other item(s).": "Kerfisvilla. Mist\u00f3kst a\u00f0 f\u00e6ra %(name)s og %(amount)s \u00f6\u00f0ru(m) atri\u00f0i/atri\u00f0um.", + "Internal error. Failed to move %(name)s.": "Kerfisvilla. Mist\u00f3kst a\u00f0 f\u00e6ra %(name)s.", + "Invalid destination path": "R\u00f6ng lokasl\u00f3\u00f0", + "It is required.": "\u00deess er krafist.", + "Just now": "R\u00e9tt \u00ed \u00feessu", + "Loading...": "Hle\u00f0...", + "Max number of files exceeded": "H\u00e1marksfj\u00f6lda skr\u00e1a n\u00e1\u00f0", + "Move {placeholder} to:": "F\u00e6ara {placeholder} til:", + "Moving %(name)s": "F\u00e6ri %(name)s", + "Moving file %(index)s of %(total)s": "F\u00e6ri skr\u00e1 %(index)s af %(total)s", + "Name is required": "Nafn er skilyr\u00f0i", + "Next (Right arrow key)": "N\u00e6sta (h\u00e6gri \u00f6rvalykill)", + "Only an extension there, please input a name.": "H\u00e9r er a\u00f0eins nafnaukinn, vinsamlegast sl\u00e1\u00f0u inn nafn.", + "Open in New Tab": "Opna \u00ed n\u00fdjum flipa", + "Password is required.": "Lykilor\u00f0s er krafist.", + "Password is too short": "Lykilor\u00f0i\u00f0 er of stutt", + "Passwords don't match": "Lykilor\u00f0in stemma ekki", + "Permission error": "R\u00e9ttindavilla", + "Please check the network.": "Vinsamlegast athuga\u00f0u netkerfi\u00f0.", + "Please choose a directory": "Vinsamlegast veldu skr\u00e1asafn", + "Please enter days.": "Vinsamlegast sl\u00e1\u00f0u inn daga.", + "Please enter password": "Vinsamlegast sl\u00e1\u00f0u inn lykilor\u00f0", + "Please enter the password again": "Vinsamlegast sl\u00e1\u00f0u inn lykilor\u00f0i\u00f0 aftur", + "Please enter valid days": "Vinsamlegast sl\u00e1\u00f0u inn l\u00f6glega daga", + "Please input at least an email.": "Vindamlegast settu inn amk eitt netfang.", + "Please select a contact or a group.": "Vinsamlegast veldu tengili\u00f0 e\u00f0a h\u00f3p", + "Previous (Left arrow key)": "Fyrri (vinstri \u00f6rvalykill)", + "Processing...": "Vinnsla...", + "Really want to delete {lib_name}?": "Viltu virkilega ey\u00f0a {lib_name}?", + "Rename Directory": "Endurnefna Skr\u00e1asafn", + "Rename File": "Endurnefna Skr\u00e1", + "Replace file {filename}?": "Skipta \u00fat skr\u00e1nni {filename}?", + "Saving...": "Vista...", + "Search users or enter emails": "Lei\u00f0a a\u00f0 notendum e\u00f0a sl\u00e1\u00f0u inn netf\u00f6ng", + "Select groups": "Veldu h\u00f3pa", + "Set {placeholder}'s permission": "Setja r\u00e9ttindi {placeholder}", + "Share {placeholder}": "Deila {placeholder}", + "Start": "Byrja", + "Success": "T\u00f3kst", + "Successfully copied %(name)s and %(amount)s other items.": "T\u00f3kst a\u00f0 afrita %(name)s og %(amount)s \u00f6\u00f0rum atri\u00f0um.", + "Successfully copied %(name)s and 1 other item.": "T\u00f3kst a\u00f0 afrita %(name)s og 1 \u00f6\u00f0ru atri\u00f0i.", + "Successfully copied %(name)s.": "T\u00f3kst a\u00f0 afrita %(name)s.", + "Successfully deleted %(name)s": "Giftursamlega eyddi %(name)s", + "Successfully deleted %(name)s and %(amount)s other items.": "T\u00f3kst a\u00f0 ey\u00f0a %(name)s og %(amount)s \u00f6\u00f0rum atri\u00f0um.", + "Successfully deleted %(name)s and 1 other item.": "T\u00f3kst a\u00f0 ey\u00f0a %(name)s og 1 \u00f6\u00f0ru atri\u00f0i.", + "Successfully deleted %(name)s.": "T\u00f3kst a\u00f0 ey\u00f0a %(name)s.", + "Successfully moved %(name)s and %(amount)s other items.": "T\u00f3kst a\u00f0 f\u00e6ra %(name)s og %(amount)s \u00f6\u00f0rum atri\u00f0um", + "Successfully moved %(name)s and 1 other item.": "T\u00f3kst a\u00f0 f\u00e6ra %(name)s og 1 \u00f6\u00f0ru atri\u00f0i.", + "Successfully moved %(name)s.": "T\u00f3kst a\u00f0 flytja %(name)s.", + "Successfully sent to {placeholder}": "T\u00f3kst a\u00f0 senda til {placeholder}", + "Successfully shared to {placeholder}": "T\u00f3kst a\u00f0 deila me\u00f0 {placeholder}", + "Successfully unshared {placeholder}": "T\u00f3kst a\u00f0 taka deilingu af {placeholder}", + "Successfully unstared {placeholder}": "T\u00f3kst a\u00f0 taka stj\u00f6rnu af {placeholder}", + "Uploaded bytes exceed file size": "Upphl\u00f6\u00f0num b\u00e6tum skr\u00e1arst\u00e6r\u00f0ar n\u00e1\u00f0", + "You don't have any library at present.": "\u00de\u00fa \u00e1tt n\u00fa engin s\u00f6fn.", + "You have not renamed it.": "\u00de\u00fa hefur ekki endurnefnt \u00fea\u00f0.", + "canceled": "h\u00e6tt vi\u00f0", + "uploaded": "hla\u00f0i\u00f0 upp" + }; + + django.gettext = function (msgid) { + var value = django.catalog[msgid]; + if (typeof(value) == 'undefined') { + return msgid; + } else { + return (typeof(value) == 'string') ? value : value[0]; + } + }; + + django.ngettext = function (singular, plural, count) { + var value = django.catalog[singular]; + if (typeof(value) == 'undefined') { + return (count == 1) ? singular : plural; + } else { + return value[django.pluralidx(count)]; + } + }; - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; + + django.pgettext = function (context, msgid) { + var value = django.gettext(context + '\x04' + msgid); + if (value.indexOf('\x04') != -1) { + value = msgid; + } + return value; + }; + + django.npgettext = function (context, singular, plural, count) { + var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count); + if (value.indexOf('\x04') != -1) { + value = django.ngettext(singular, plural, count); + } + return value; + }; django.interpolate = function (fmt, obj, named) { diff --git a/static/scripts/i18n/it/djangojs.js b/static/scripts/i18n/it/djangojs.js index 032b2eed54..1f4823d197 100644 --- a/static/scripts/i18n/it/djangojs.js +++ b/static/scripts/i18n/it/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/static/scripts/i18n/ja/djangojs.js b/static/scripts/i18n/ja/djangojs.js index 9522d0f4ad..2417b8d582 100644 --- a/static/scripts/i18n/ja/djangojs.js +++ b/static/scripts/i18n/ja/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=0; + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/static/scripts/i18n/ko/djangojs.js b/static/scripts/i18n/ko/djangojs.js index 9faf9759e6..2d6ed98153 100644 --- a/static/scripts/i18n/ko/djangojs.js +++ b/static/scripts/i18n/ko/djangojs.js @@ -5,17 +5,149 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=0; + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; - /* gettext identity library */ + /* gettext library */ + + django.catalog = { + "%curr% of %total%": "%total% \uc911 %curr%", + "The image could not be loaded.": "\uc774\ubbf8\uc9c0\ub97c \ubd88\ub7ec\uc62c \uc218 \uc5c6\uc2b5\ub2c8\ub2e4.", + "Are you sure you want to delete these selected items?": "\uc815\ub9d0\ub85c \uc120\ud0dd\ud55c \ud56d\ubaa9\uc744 \uc0ad\uc81c\ud560\uae4c\uc694?", + "Cancel": "\ucde8\uc18c", + "Canceled.": "\ucde8\uc18c\ud588\uc2b5\ub2c8\ub2e4.", + "Close (Esc)": "\ub2eb\uae30(Esc)", + "Copy {placeholder} to:": "\ub2e4\uc74c\uc73c\ub85c {placeholder} \ubcf5\uc0ac:", + "Copying %(name)s": "{placeholder} \ubcf5\uc0ac \uc911", + "Copying file %(index)s of %(total)s": "\ud30c\uc77c %(total)s\uac1c \uc911 %(index)s\uac1c \ubcf5\uc0ac \uc911", + "Delete": "\uc0ad\uc81c", + "Delete Items": "\ud56d\ubaa9 \uc0ad\uc81c", + "Delete succeeded.": "\uc0c1\uacf5\uc801\uc73c\ub85c \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4.", + "Empty file upload result": "\uc5c5\ub85c\ub4dc \uacb0\uacfc\uac00 \ube48 \ud30c\uc77c\uc785\ub2c8\ub2e4", + "Error": "\uc624\ub958", + "Failed to copy %(name)s": "%(name)s \ubcf5\uc0ac\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Failed to delete %(name)s and %(amount)s other items.": "%(name)s \ubc0f \ud56d\ubaa9 %(amount)s\uac1c \uc0ad\uc81c\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Failed to delete %(name)s and 1 other item.": "%(name)s \ubc0f \ud56d\ubaa9 1\uac1c \uc0ad\uc81c\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Failed to delete %(name)s.": "%(name)s \uc0ad\uc81c\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Failed to get update url": "\uc5c5\ub85c\ub4dc URL \uac00\uc838\uc624\uae30\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4", + "Failed to get upload url": "\uc5c5\ub85c\ub4dc URL \uac00\uc838\uc624\uae30\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4", + "Failed to move %(name)s": "%(name)s \uc774\ub3d9\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Failed to send to {placeholder}": "{placeholder}\uc5d0\uac8c \ubcf4\ub0b4\uae30\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4", + "Failed to share to {placeholder}": "{placeholder}\uc5d0\uac8c \uacf5\uc720\ud558\uae30\ub97c \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4", + "Failed.": "\uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Failed. Please check the network.": "\uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4. \ub124\ud2b8\uc6cc\ud06c\ub97c \ud655\uc778\ud558\uc138\uc694.", + "File Upload canceled": "\ud30c\uc77c \uc5c5\ub85c\ub4dc\ub97c \ucde8\uc18c\ud588\uc2b5\ub2c8\ub2e4", + "File Upload complete": "\ud30c\uc77c \uc5c5\ub85c\ub4dc\uac00 \ub05d\ub0ac\uc2b5\ub2c8\ub2e4", + "File Upload failed": "\ud30c\uc77c \uc5c5\ub85c\ub4dc\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4", + "File Uploading...": "\ud30c\uc77c \uc5c5\ub85c\ub4dc \uc911...", + "File is too big": "\ud30c\uc77c\uc774 \ub108\ubb34 \ud07d\ub2c8\ub2e4", + "File is too small": "\ud30c\uc77c\uc774 \ub108\ubb34 \uc791\uc2b5\ub2c8\ub2e4", + "Filetype not allowed": "\ud30c\uc77c \ud615\uc2dd\uc744 \ud5c8\uc6a9\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4", + "Internal error. Failed to copy %(name)s and %(amount)s other item(s).": "\ub0b4\ubd80 \uc624\ub958\uc785\ub2c8\ub2e4. %(name)s \ubc0f \ud56d\ubaa9 %(amount)s\uac1c \ubcf5\uc0ac\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Internal error. Failed to copy %(name)s.": "\ub0b4\ubd80 \uc624\ub958\uc785\ub2c8\ub2e4. %(name)s \ubcf5\uc0ac\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Internal error. Failed to move %(name)s and %(amount)s other item(s).": "\ub0b4\ubd80 \uc624\ub958\uc785\ub2c8\ub2e4. %(name)s \ubc0f \ud56d\ubaa9 %(amount)s\uac1c \uc774\ub3d9\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Internal error. Failed to move %(name)s.": "\ub0b4\ubd80 \uc624\ub958\uc785\ub2c8\ub2e4. %(name)s \uc774\ub3d9\uc5d0 \uc2e4\ud328\ud588\uc2b5\ub2c8\ub2e4.", + "Invalid destination path": "\uc798\ubabb\ub41c \ub300\uc0c1 \uacbd\ub85c", + "It is required.": "\ud544\uc694\ud569\ub2c8\ub2e4.", + "Just now": "\uc9c0\uae08", + "Loading...": "\ubd88\ub7ec\uc624\ub294 \uc911...", + "Max number of files exceeded": "\ucd5c\ub300 \ud30c\uc77c \uac2f\uc218\ub97c \ub118\uc5b4\uc130\uc2b5\ub2c8\ub2e4", + "Move {placeholder} to:": "\ub2e4\uc74c\uc73c\ub85c {placeholder} \uc774\ub3d9:", + "Moving %(name)s": "{placeholder} \uc774\ub3d9 \uc911", + "Moving file %(index)s of %(total)s": "\ud30c\uc77c %(total)s\uac1c \uc911 %(index)s\uac1c \uc774\ub3d9 \uc911", + "Name is required": "\uc774\ub984\uc774 \ud544\uc694\ud569\ub2c8\ub2e4", + "Next (Right arrow key)": "\ub2e4\uc74c(\uc624\ub978\ucabd \ud654\uc0b4\ud45c \ud0a4)", + "Only an extension there, please input a name.": "\ud655\uc7a5\uc790\ub9cc \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub984\uc744 \uc785\ub825\ud558\uc138\uc694.", + "Open in New Tab": "\uc0c8 \ud0ed \uc5f4\uae30", + "Password is required.": "\uc554\ud638\uac00 \ud544\uc694\ud569\ub2c8\ub2e4.", + "Password is too short": "\uc554\ud638\uac00 \ub108\ubb34 \uc9e7\uc2b5\ub2c8\ub2e4", + "Passwords don't match": "\uc554\ud638\uac00 \uc77c\uce58\ud558\uc9c0 \uc54a\uc2b5\ub2c8\ub2e4", + "Permission error": "\uad8c\ud55c \uc624\ub958", + "Please check the network.": "\ub124\ud2b8\uc6cc\ud06c\ub97c \ud655\uc778\ud558\uc138\uc694.", + "Please choose a directory": "\ub514\ub809\ud130\ub9ac\ub97c \uc120\ud0dd\ud558\uc138\uc694", + "Please enter days.": "\uc77c\uc790\ub97c \uc785\ub825\ud558\uc138\uc694.", + "Please enter password": "\uc554\ud638\ub97c \uc785\ub825\ud558\uc138\uc694", + "Please enter the password again": "\uc554\ud638\ub97c \ub2e4\uc2dc \uc785\ub825\ud558\uc138\uc694", + "Please enter valid days": "\uc720\ud6a8 \uae30\uac04\uc744 \uc785\ub825\ud558\uc138\uc694", + "Please input at least an email.": "\ucd5c\uc18c\ud55c \ud558\ub098\uc758 \uc804\uc790\uba54\uc77c \uc8fc\uc18c\ub97c \uc785\ub825\ud558\uc138\uc694.", + "Please select a contact or a group.": "\uc5f0\ub77d\ucc98 \ub610\ub294 \uadf8\ub8f9\uc744 \uc120\ud0dd\ud558\uc138\uc694.", + "Previous (Left arrow key)": "\uc774\uc804(\uc67c\ucabd \ud654\uc0b4\ud45c \ud0a4)", + "Processing...": "\ucc98\ub9ac \uc911...", + "Really want to delete {lib_name}?": "{lib_name} \ub77c\uc774\ube0c\ub7ec\ub9ac\ub97c \uc815\ub9d0 \uc0ad\uc81c\ud560\uae4c\uc694?", + "Rename Directory": "\ub514\ub809\ud130\ub9ac \uc774\ub984 \ubc14\uafb8\uae30", + "Rename File": "\ud30c\uc77c \uc774\ub984 \ubc14\uafb8\uae30", + "Replace file {filename}?": "{filename} \ud30c\uc77c\uc744 \ubc14\uafc0\uae4c\uc694?", + "Saving...": "\uc800\uc7a5 \uc911...", + "Search users or enter emails": "\uc0ac\uc6a9\uc790 \uac80\uc0c9 \ub610\ub294 \uc804\uc790\uba54\uc77c \uc8fc\uc18c \uc785\ub825", + "Select groups": "\uadf8\ub8f9 \uc120\ud0dd", + "Set {placeholder}'s permission": "{placeholder} \uad8c\ud55c \uc124\uc815", + "Share {placeholder}": "{placeholder} \uacf5\uc720", + "Start": "\uc2dc\uc791", + "Success": "\uc131\uacf5", + "Successfully copied %(name)s and %(amount)s other items.": "%(name)s \ubc0f \ud56d\ubaa9 %(amount)s\uac1c\ub97c \uc131\uacf5\uc801\uc73c\ub85c \ubcf5\uc0ac\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully copied %(name)s and 1 other item.": "%(name)s \ubc0f \ud56d\ubaa9 1\uac1c\ub97c \uc131\uacf5\uc801\uc73c\ub85c \ubcf5\uc0ac\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully copied %(name)s.": "%(name)s\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \ubcf5\uc0ac\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully deleted %(name)s": "%(name)s\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4", + "Successfully deleted %(name)s and %(amount)s other items.": "%(name)s \ubc0f \ud56d\ubaa9 %(amount)s\uac1c\ub97c \uc131\uacf5\uc801\uc73c\ub85c \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully deleted %(name)s and 1 other item.": "%(name)s \ubc0f \ud56d\ubaa9 1\uac1c\ub97c \uc131\uacf5\uc801\uc73c\ub85c \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully deleted %(name)s.": "%(name)s\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \uc0ad\uc81c\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully moved %(name)s and %(amount)s other items.": "%(name)s \ubc0f \ud56d\ubaa9 %(amount)s\uac1c\ub97c \uc131\uacf5\uc801\uc73c\ub85c \uc774\ub3d9\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully moved %(name)s and 1 other item.": "%(name)s \ubc0f \ud56d\ubaa9 1\uac1c\ub97c \uc131\uacf5\uc801\uc73c\ub85c \uc774\ub3d9\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully moved %(name)s.": "%(name)s\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \uc774\ub3d9\ud588\uc2b5\ub2c8\ub2e4.", + "Successfully sent to {placeholder}": "{placeholder}\uc5d0\uac8c \uc131\uacf5\uc801\uc73c\ub85c \ubcf4\ub0c8\uc2b5\ub2c8\ub2e4", + "Successfully shared to {placeholder}": "{placeholder}\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \uacf5\uc720\ud588\uc2b5\ub2c8\ub2e4", + "Successfully unshared {placeholder}": "{placeholder}\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \uacf5\uc720 \ud574\uc81c\ud588\uc2b5\ub2c8\ub2e4", + "Successfully unstared {placeholder}": "{placeholder}\uc744(\ub97c) \uc131\uacf5\uc801\uc73c\ub85c \ubcc4\ud45c \ud574\uc81c\ud588\uc2b5\ub2c8\ub2e4.", + "Uploaded bytes exceed file size": "\uc5c5\ub85c\ub4dc\ud55c \ud30c\uc77c \ud06c\uae30 \uc81c\ud55c\uc744 \ub118\uc5b4\uc130\uc2b5\ub2c8\ub2e4", + "You don't have any library at present.": "\ud604\uc7ac \uc5b4\ub5a4 \ub77c\uc774\ube0c\ub7ec\ub9ac\ub3c4 \uc5c6\uc2b5\ub2c8\ub2e4.", + "You have not renamed it.": "\uc774\ub984\uc744 \ubc14\uafb8\uc9c0 \uc54a\uc558\uc2b5\ub2c8\ub2e4.", + "canceled": "\ucde8\uc18c\ud568", + "uploaded": "\uc5c5\ub85c\ub4dc\ud568" + }; + + django.gettext = function (msgid) { + var value = django.catalog[msgid]; + if (typeof(value) == 'undefined') { + return msgid; + } else { + return (typeof(value) == 'string') ? value : value[0]; + } + }; + + django.ngettext = function (singular, plural, count) { + var value = django.catalog[singular]; + if (typeof(value) == 'undefined') { + return (count == 1) ? singular : plural; + } else { + return value[django.pluralidx(count)]; + } + }; - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; + + django.pgettext = function (context, msgid) { + var value = django.gettext(context + '\x04' + msgid); + if (value.indexOf('\x04') != -1) { + value = msgid; + } + return value; + }; + + django.npgettext = function (context, singular, plural, count) { + var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count); + if (value.indexOf('\x04') != -1) { + value = django.ngettext(singular, plural, count); + } + return value; + }; django.interpolate = function (fmt, obj, named) { diff --git a/static/scripts/i18n/lv/djangojs.js b/static/scripts/i18n/lv/djangojs.js index 2bba3149ad..73a782a5ef 100644 --- a/static/scripts/i18n/lv/djangojs.js +++ b/static/scripts/i18n/lv/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/static/scripts/i18n/nl/djangojs.js b/static/scripts/i18n/nl/djangojs.js index 776fb22472..fb1fecc9d2 100644 --- a/static/scripts/i18n/nl/djangojs.js +++ b/static/scripts/i18n/nl/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/static/scripts/i18n/pt-br/djangojs.js b/static/scripts/i18n/pt-br/djangojs.js index 7a0d87ecd1..cdbc0b381b 100644 --- a/static/scripts/i18n/pt-br/djangojs.js +++ b/static/scripts/i18n/pt-br/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n > 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/static/scripts/i18n/ru/djangojs.js b/static/scripts/i18n/ru/djangojs.js index 2d7e059c37..8357fc6d62 100644 --- a/static/scripts/i18n/ru/djangojs.js +++ b/static/scripts/i18n/ru/djangojs.js @@ -5,17 +5,149 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; - /* gettext identity library */ + /* gettext library */ + + django.catalog = { + "%curr% of %total%": "%curr% \u0438\u0437 %total%", + "The image could not be loaded.": "\u0418\u0437\u043e\u0431\u0440\u0430\u0436\u0435\u043d\u0438\u0435 \u043d\u0435 \u0431\u044b\u043b\u043e \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043e.", + "Are you sure you want to delete these selected items?": "\u0412\u044b \u0443\u0432\u0435\u0440\u0435\u043d\u044b, \u0447\u0442\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043b\u0438\u0442\u044c \u0432\u044b\u0431\u0440\u0430\u043d\u043d\u044b\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u044b?", + "Cancel": "\u041e\u0442\u043c\u0435\u043d\u0430", + "Canceled.": "\u041e\u0442\u043c\u0435\u043d\u0435\u043d\u043e.", + "Close (Esc)": "\u0417\u0430\u043a\u0440\u044b\u0442\u044c (Esc)", + "Copy {placeholder} to:": "\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c {placeholder} \u0432:", + "Copying %(name)s": "\u041a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u0435 %(name)s", + "Copying file %(index)s of %(total)s": "\u041a\u043e\u043f\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u0444\u0430\u0439\u043b %(index)s \u0438\u0437 %(total)s", + "Delete": "\u0423\u0434\u0430\u043b\u0438\u0442\u044c", + "Delete Items": "\u0423\u0434\u0430\u043b\u0435\u043d\u0438\u0435 \u044d\u043b\u0435\u043c\u0435\u043d\u0442\u043e\u0432", + "Delete succeeded.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0443\u0434\u0430\u043b\u0435\u043d\u043e.", + "Empty file upload result": "\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438 \u043f\u0443\u0441\u0442\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430", + "Error": "\u041e\u0448\u0438\u0431\u043a\u0430", + "Failed to copy %(name)s": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c %(name)s", + "Failed to delete %(name)s and %(amount)s other items.": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0443\u0434\u0430\u043b\u0438\u0442\u044c %(name)s \u0438 \u0435\u0449\u0435 %(amount)s \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", + "Failed to delete %(name)s and 1 other item.": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0443\u0434\u0430\u043b\u0438\u0442\u044c %(name)s \u0438 \u0435\u0449\u0435 1 \u043e\u0431\u044a\u0435\u043a\u0442.", + "Failed to delete %(name)s.": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0443\u0434\u0430\u043b\u0438\u0442\u044c %(name)s.", + "Failed to get update url": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438", + "Failed to get upload url": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0438\u0442\u044c \u0441\u0441\u044b\u043b\u043a\u0443 \u0434\u043b\u044f \u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0438", + "Failed to move %(name)s": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c %(name)s", + "Failed to send to {placeholder}": "\u041e\u0448\u0438\u0431\u043a\u0430 \u043e\u0442\u043f\u0440\u0430\u0432\u043a\u0438 \u0432 {placeholder}", + "Failed to share to {placeholder}": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043e\u0442\u043a\u0440\u044b\u0442\u044c \u043e\u0431\u0449\u0438\u0439 \u0434\u043e\u0441\u0442\u0443\u043f {placeholder}", + "Failed.": "\u041d\u0435 \u0443\u0434\u0430\u0447\u043d\u043e.", + "Failed. Please check the network.": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c. \u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0441\u0435\u0442\u044c.", + "File Upload canceled": "\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0444\u0430\u0439\u043b\u0430 \u043e\u0442\u043c\u0435\u043d\u0435\u043d\u0430", + "File Upload complete": "\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430 \u0444\u0430\u0439\u043b\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u0430", + "File Upload failed": "\u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c \u0444\u0430\u0439\u043b", + "File Uploading...": "\u0424\u0430\u0439\u043b \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044f...", + "File is too big": "\u0424\u0430\u0439\u043b \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u0431\u043e\u043b\u044c\u0448\u043e\u0439", + "File is too small": "\u0424\u0430\u0439\u043b \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043c\u0430\u043b\u0435\u043d\u044c\u043a\u0438\u0439", + "Filetype not allowed": "\u0422\u0438\u043f \u0444\u0430\u0439\u043b\u0430 \u043d\u0435 \u0440\u0430\u0437\u0440\u0435\u0448\u0451\u043d", + "Internal error. Failed to copy %(name)s and %(amount)s other item(s).": "\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c %(name)s \u0438 \u0435\u0449\u0435 %(amount)s \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", + "Internal error. Failed to copy %(name)s.": "\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c %(name)s.", + "Internal error. Failed to move %(name)s and %(amount)s other item(s).": "\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c %(name)s \u0438 \u0435\u0449\u0435 %(amount)s \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", + "Internal error. Failed to move %(name)s.": "\u0412\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u044f\u044f \u043e\u0448\u0438\u0431\u043a\u0430. \u041d\u0435 \u0443\u0434\u0430\u043b\u043e\u0441\u044c \u043f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c %(name)s.", + "Invalid destination path": "\u041f\u0443\u0442\u044c \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u0443\u043a\u0430\u0437\u0430\u043d \u043d\u0435\u0432\u0435\u0440\u043d\u043e", + "It is required.": "\u041e\u0431\u044f\u0437\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0435.", + "Just now": "\u041f\u0440\u044f\u043c\u043e \u0441\u0435\u0439\u0447\u0430\u0441", + "Loading...": "\u0417\u0430\u0433\u0440\u0443\u0437\u043a\u0430...", + "Max number of files exceeded": "\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u043c\u0430\u043a\u0441\u0438\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u0447\u0438\u0441\u043b\u0430 \u0444\u0430\u0439\u043b\u043e\u0432", + "Move {placeholder} to:": "\u041f\u0435\u0440\u0435\u043c\u0435\u0441\u0442\u0438\u0442\u044c {placeholder} \u0432:", + "Moving %(name)s": "\u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d\u0438\u0435 %(name)s", + "Moving file %(index)s of %(total)s": "\u041f\u0435\u0440\u0435\u043c\u0435\u0449\u0430\u0435\u0442\u0441\u044f \u0444\u0430\u0439\u043b %(index)s \u0438\u0437 %(total)s", + "Name is required": "\u0418\u043c\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e", + "Next (Right arrow key)": "\u0412\u043f\u0435\u0440\u0451\u0434 (\u2192)", + "Only an extension there, please input a name.": "\u0417\u0434\u0435\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u0435, \u043f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435.", + "Open in New Tab": "\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u0432 \u043d\u043e\u0432\u043e\u0439 \u0432\u043a\u043b\u0430\u0434\u043a\u0435", + "Password is required.": "\u0422\u0440\u0435\u0431\u0443\u0435\u0442\u0441\u044f \u043f\u0430\u0440\u043e\u043b\u044c.", + "Password is too short": "\u041f\u0430\u0440\u043e\u043b\u044c \u0441\u043b\u0438\u0448\u043a\u043e\u043c \u043a\u043e\u0440\u043e\u0442\u043a\u0438\u0439", + "Passwords don't match": "\u041f\u0430\u0440\u043e\u043b\u0438 \u043d\u0435 \u0441\u043e\u0432\u043f\u0430\u0434\u0430\u044e\u0442", + "Permission error": "\u041e\u0448\u0438\u0431\u043a\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430", + "Please check the network.": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0441\u0435\u0442\u044c.", + "Please choose a directory": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043a\u0430\u0442\u0430\u043b\u043e\u0433", + "Please enter days.": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0434\u0435\u043d\u044c.", + "Please enter password": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u044c", + "Please enter the password again": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u0430\u0440\u043e\u043b\u044c \u0435\u0449\u0451 \u0440\u0430\u0437", + "Please enter valid days": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u044b\u0439 \u0434\u0435\u043d\u044c", + "Please input at least an email.": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u043f\u043e \u043a\u0440\u0430\u0439\u043d\u0435\u0439 \u043c\u0435\u0440\u0435, E-mail.", + "Please select a contact or a group.": "\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u0432\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u043a\u043e\u043d\u0442\u0430\u043a\u0442 \u0438\u043b\u0438 \u0433\u0440\u0443\u043f\u043f\u0443.", + "Previous (Left arrow key)": "\u041d\u0430\u0437\u0430\u0434 (\u2190)", + "Processing...": "\u041e\u0431\u0440\u0430\u0431\u043e\u0442\u043a\u0430 ...", + "Really want to delete {lib_name}?": "\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043b\u044c\u043d\u043e \u0445\u043e\u0442\u0438\u0442\u0435 \u0443\u0434\u0430\u043b\u0438\u0442\u044c {lib_name}?", + "Rename Directory": "\u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u043a\u0430\u0442\u0430\u043b\u043e\u0433", + "Rename File": "\u041f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u0442\u044c \u0444\u0430\u0439\u043b", + "Replace file {filename}?": "\u0417\u0430\u043c\u0435\u043d\u0438\u0442\u044c \u0444\u0430\u0439\u043b {filename}?", + "Saving...": "\u0421\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435...", + "Search users or enter emails": "\u041d\u0430\u0439\u0434\u0438\u0442\u0435 \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u0435\u043b\u044f \u0438\u043b\u0438 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 email", + "Select groups": "\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 \u0433\u0440\u0443\u043f\u043f\u0443", + "Set {placeholder}'s permission": "\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043f\u0440\u0430\u0432\u0430 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a {placeholder} ", + "Share {placeholder}": "\u041e\u0442\u043a\u0440\u044b\u0442\u044c \u043e\u0431\u0449\u0438\u0439 \u0434\u043e\u0441\u0442\u0443\u043f \u043a {placeholder}", + "Start": "\u041d\u0430\u0447\u0430\u0442\u044c", + "Success": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e", + "Successfully copied %(name)s and %(amount)s other items.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d %(name)s \u0438 \u0435\u0449\u0435 %(amount)s \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", + "Successfully copied %(name)s and 1 other item.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d %(name)s \u0438 \u0435\u0449\u0435 1 \u043e\u0431\u044a\u0435\u043a\u0442.", + "Successfully copied %(name)s.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u043d %(name)s.", + "Successfully deleted %(name)s": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0443\u0434\u0430\u043b\u0435\u043d %(name)s", + "Successfully deleted %(name)s and %(amount)s other items.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0443\u0434\u0430\u043b\u0435\u043d %(name)s \u0438 \u0435\u0449\u0435 %(amount)s \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", + "Successfully deleted %(name)s and 1 other item.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0435\u043c\u0435\u0449\u0435\u043d %(name)s \u0438 \u0435\u0449\u0435 1 \u043e\u0431\u044a\u0435\u043a\u0442.", + "Successfully deleted %(name)s.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0443\u0434\u0430\u043b\u0435\u043d %(name)s.", + "Successfully moved %(name)s and %(amount)s other items.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0435\u043c\u0435\u0449\u0435\u043d %(name)s \u0438 \u0435\u0449\u0435 %(amount)s \u0434\u0440\u0443\u0433\u0438\u0445 \u043e\u0431\u044a\u0435\u043a\u0442\u043e\u0432.", + "Successfully moved %(name)s and 1 other item.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0435\u043c\u0435\u0449\u0435\u043d %(name)s \u0438 \u0435\u0449\u0435 1 \u043e\u0431\u044a\u0435\u043a\u0442.", + "Successfully moved %(name)s.": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043f\u0435\u0440\u0435\u043c\u0435\u0449\u0435\u043d %(name)s.", + "Successfully sent to {placeholder}": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043e\u0442\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u043e \u0432 {placeholder}", + "Successfully shared to {placeholder}": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u043e\u0442\u043a\u0440\u044b\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043a {placeholder}", + "Successfully unshared {placeholder}": "\u0423\u0441\u043f\u0435\u0448\u043d\u043e \u0437\u0430\u043a\u0440\u044b\u0442 \u0434\u043e\u0441\u0442\u0443\u043f \u043a {placeholder}", + "Successfully unstared {placeholder}": "\u041e\u0442\u043c\u0435\u0442\u043a\u0430 \u0441\u043d\u044f\u0442\u0430 \u0441 {placeholder}", + "Uploaded bytes exceed file size": "\u041f\u0440\u0435\u0432\u044b\u0448\u0435\u043d\u0438\u0435 \u043b\u0438\u043c\u0438\u0442\u0430 \u0440\u0430\u0437\u043c\u0435\u0440\u0430 \u0444\u0430\u0439\u043b\u0430", + "You don't have any library at present.": "\u0412\u044b \u043f\u043e\u043a\u0430 \u043d\u0435 \u043e\u0442\u043c\u0435\u0442\u0438\u043b\u0438 \u043d\u0438 \u043e\u0434\u043d\u043e\u0433\u043e \u0444\u0430\u0439\u043b\u0430", + "You have not renamed it.": "\u0412\u044b \u043d\u0435 \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u0430\u043b\u0438 \u0435\u0433\u043e.", + "canceled": "\u043e\u0442\u043c\u0435\u043d\u0435\u043d\u043e", + "uploaded": "\u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043d\u043e" + }; + + django.gettext = function (msgid) { + var value = django.catalog[msgid]; + if (typeof(value) == 'undefined') { + return msgid; + } else { + return (typeof(value) == 'string') ? value : value[0]; + } + }; + + django.ngettext = function (singular, plural, count) { + var value = django.catalog[singular]; + if (typeof(value) == 'undefined') { + return (count == 1) ? singular : plural; + } else { + return value[django.pluralidx(count)]; + } + }; - django.gettext = function (msgid) { return msgid; }; - django.ngettext = function (singular, plural, count) { return (count == 1) ? singular : plural; }; django.gettext_noop = function (msgid) { return msgid; }; - django.pgettext = function (context, msgid) { return msgid; }; - django.npgettext = function (context, singular, plural, count) { return (count == 1) ? singular : plural; }; + + django.pgettext = function (context, msgid) { + var value = django.gettext(context + '\x04' + msgid); + if (value.indexOf('\x04') != -1) { + value = msgid; + } + return value; + }; + + django.npgettext = function (context, singular, plural, count) { + var value = django.ngettext(context + '\x04' + singular, context + '\x04' + plural, count); + if (value.indexOf('\x04') != -1) { + value = django.ngettext(singular, plural, count); + } + return value; + }; django.interpolate = function (fmt, obj, named) { diff --git a/static/scripts/i18n/sk/djangojs.js b/static/scripts/i18n/sk/djangojs.js index 35ebc71603..f48d29f7c5 100644 --- a/static/scripts/i18n/sk/djangojs.js +++ b/static/scripts/i18n/sk/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2; + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/static/scripts/i18n/sl/djangojs.js b/static/scripts/i18n/sl/djangojs.js index cd7e32bc79..4207f2cc9d 100644 --- a/static/scripts/i18n/sl/djangojs.js +++ b/static/scripts/i18n/sl/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/static/scripts/i18n/sv/djangojs.js b/static/scripts/i18n/sv/djangojs.js index 068d092ab9..71c05fde57 100644 --- a/static/scripts/i18n/sv/djangojs.js +++ b/static/scripts/i18n/sv/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n != 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/static/scripts/i18n/th/djangojs.js b/static/scripts/i18n/th/djangojs.js index 53198fe1a5..61b1aad0ed 100644 --- a/static/scripts/i18n/th/djangojs.js +++ b/static/scripts/i18n/th/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=0; + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/static/scripts/i18n/tr/djangojs.js b/static/scripts/i18n/tr/djangojs.js index 461a072bb9..17b57cecb0 100644 --- a/static/scripts/i18n/tr/djangojs.js +++ b/static/scripts/i18n/tr/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n > 1); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/static/scripts/i18n/uk/djangojs.js b/static/scripts/i18n/uk/djangojs.js index 900220b755..3a83a01945 100644 --- a/static/scripts/i18n/uk/djangojs.js +++ b/static/scripts/i18n/uk/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2); + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + }; diff --git a/static/scripts/i18n/zh-tw/djangojs.js b/static/scripts/i18n/zh-tw/djangojs.js index cf592a306e..5c10aaec56 100644 --- a/static/scripts/i18n/zh-tw/djangojs.js +++ b/static/scripts/i18n/zh-tw/djangojs.js @@ -5,7 +5,14 @@ var django = globals.django || (globals.django = {}); - django.pluralidx = function (count) { return (count == 1) ? 0 : 1; }; + django.pluralidx = function (n) { + var v=0; + if (typeof(v) == 'boolean') { + return v ? 1 : 0; + } else { + return v; + } + };