Comparing version 2.9.0 to 2.10.2
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : afrikaans (af) | ||
// author : Werner Mollentze : https://github.com/wernerm | ||
//! moment.js locale configuration | ||
//! locale : afrikaans (af) | ||
//! author : Werner Mollentze : https://github.com/wernerm | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('af', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var af = moment.defineLocale('af', { | ||
months : 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split('_'), | ||
@@ -71,2 +69,5 @@ monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'), | ||
}); | ||
})); | ||
return af; | ||
})); |
@@ -1,16 +0,14 @@ | ||
// moment.js locale configuration | ||
// locale : Moroccan Arabic (ar-ma) | ||
// author : ElFadili Yassine : https://github.com/ElFadiliY | ||
// author : Abdel Said : https://github.com/abdelsaid | ||
//! moment.js locale configuration | ||
//! locale : Moroccan Arabic (ar-ma) | ||
//! author : ElFadili Yassine : https://github.com/ElFadiliY | ||
//! author : Abdel Said : https://github.com/abdelsaid | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('ar-ma', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var ar_ma = moment.defineLocale('ar-ma', { | ||
months : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), | ||
@@ -57,2 +55,5 @@ monthsShort : 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split('_'), | ||
}); | ||
})); | ||
return ar_ma; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : Arabic Saudi Arabia (ar-sa) | ||
// author : Suhail Alkowaileet : https://github.com/xsoh | ||
//! moment.js locale configuration | ||
//! locale : Arabic Saudi Arabia (ar-sa) | ||
//! author : Suhail Alkowaileet : https://github.com/xsoh | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var symbolMap = { | ||
@@ -38,3 +36,3 @@ '1': '١', | ||
return moment.defineLocale('ar-sa', { | ||
var ar_sa = moment.defineLocale('ar-sa', { | ||
months : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), | ||
@@ -102,2 +100,5 @@ monthsShort : 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), | ||
}); | ||
})); | ||
return ar_sa; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : Tunisian Arabic (ar-tn) | ||
//! moment.js locale configuration | ||
//! locale : Tunisian Arabic (ar-tn) | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('ar-tn', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var ar_tn = moment.defineLocale('ar-tn', { | ||
months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), | ||
@@ -55,2 +53,5 @@ monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split('_'), | ||
}); | ||
})); | ||
return ar_tn; | ||
})); |
@@ -1,16 +0,14 @@ | ||
// moment.js locale configuration | ||
// Locale: Arabic (ar) | ||
// Author: Abdel Said: https://github.com/abdelsaid | ||
// Changes in months, weekdays: Ahmed Elkhatib | ||
// Native plural forms: forabi https://github.com/forabi | ||
//! moment.js locale configuration | ||
//! Locale: Arabic (ar) | ||
//! Author: Abdel Said: https://github.com/abdelsaid | ||
//! Changes in months, weekdays: Ahmed Elkhatib | ||
//! Native plural forms: forabi https://github.com/forabi | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var symbolMap = { | ||
@@ -71,3 +69,3 @@ '1': '١', | ||
return moment.defineLocale('ar', { | ||
var ar = moment.defineLocale('ar', { | ||
months : months, | ||
@@ -135,2 +133,5 @@ monthsShort : months, | ||
}); | ||
})); | ||
return ar; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : azerbaijani (az) | ||
// author : topchiyev : https://github.com/topchiyev | ||
//! moment.js locale configuration | ||
//! locale : azerbaijani (az) | ||
//! author : topchiyev : https://github.com/topchiyev | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var suffixes = { | ||
@@ -20,3 +18,2 @@ 1: '-inci', | ||
80: '-inci', | ||
2: '-nci', | ||
@@ -26,17 +23,14 @@ 7: '-nci', | ||
50: '-nci', | ||
3: '-üncü', | ||
4: '-üncü', | ||
100: '-üncü', | ||
6: '-ncı', | ||
9: '-uncu', | ||
10: '-uncu', | ||
30: '-uncu', | ||
60: '-ıncı', | ||
90: '-ıncı' | ||
}; | ||
return moment.defineLocale('az', { | ||
var az = moment.defineLocale('az', { | ||
months : 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split('_'), | ||
@@ -101,3 +95,2 @@ monthsShort : 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'), | ||
c = number >= 100 ? 100 : null; | ||
return number + (suffixes[a] || suffixes[b] || suffixes[c]); | ||
@@ -110,2 +103,5 @@ }, | ||
}); | ||
})); | ||
return az; | ||
})); |
@@ -1,16 +0,14 @@ | ||
// moment.js locale configuration | ||
// locale : belarusian (be) | ||
// author : Dmitry Demidov : https://github.com/demidov91 | ||
// author: Praleska: http://praleska.pro/ | ||
// Author : Menelion Elensúle : https://github.com/Oire | ||
//! moment.js locale configuration | ||
//! locale : belarusian (be) | ||
//! author : Dmitry Demidov : https://github.com/demidov91 | ||
//! author: Praleska: http://praleska.pro/ | ||
//! Author : Menelion Elensúle : https://github.com/Oire | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
function plural(word, num) { | ||
@@ -20,3 +18,2 @@ var forms = word.split('_'); | ||
} | ||
function relativeTimeWithPlural(number, withoutSuffix, key) { | ||
@@ -40,3 +37,2 @@ var format = { | ||
} | ||
function monthsCaseReplace(m, format) { | ||
@@ -47,10 +43,7 @@ var months = { | ||
}, | ||
nounCase = (/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(format) ? | ||
'accusative' : | ||
'nominative'; | ||
return months[nounCase][m.month()]; | ||
} | ||
function weekdaysCaseReplace(m, format) { | ||
@@ -61,11 +54,9 @@ var weekdays = { | ||
}, | ||
nounCase = (/\[ ?[Вв] ?(?:мінулую|наступную)? ?\] ?dddd/).test(format) ? | ||
'accusative' : | ||
'nominative'; | ||
return weekdays[nounCase][m.day()]; | ||
} | ||
return moment.defineLocale('be', { | ||
var be = moment.defineLocale('be', { | ||
months : monthsCaseReplace, | ||
@@ -136,3 +127,2 @@ monthsShort : 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'), | ||
}, | ||
ordinalParse: /\d{1,2}-(і|ы|га)/, | ||
@@ -153,3 +143,2 @@ ordinal: function (number, period) { | ||
}, | ||
week : { | ||
@@ -160,2 +149,5 @@ dow : 1, // Monday is the first day of the week. | ||
}); | ||
})); | ||
return be; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : bulgarian (bg) | ||
// author : Krasen Borisov : https://github.com/kraz | ||
//! moment.js locale configuration | ||
//! locale : bulgarian (bg) | ||
//! author : Krasen Borisov : https://github.com/kraz | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('bg', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var bg = moment.defineLocale('bg', { | ||
months : 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split('_'), | ||
@@ -88,2 +86,5 @@ monthsShort : 'янр_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'), | ||
}); | ||
})); | ||
return bg; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : Bengali (bn) | ||
// author : Kaushik Gandhi : https://github.com/kaushikgandhi | ||
//! moment.js locale configuration | ||
//! locale : Bengali (bn) | ||
//! author : Kaushik Gandhi : https://github.com/kaushikgandhi | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var symbolMap = { | ||
@@ -39,3 +37,3 @@ '1': '১', | ||
return moment.defineLocale('bn', { | ||
var bn = moment.defineLocale('bn', { | ||
months : 'জানুয়ারী_ফেবুয়ারী_মার্চ_এপ্রিল_মে_জুন_জুলাই_অগাস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split('_'), | ||
@@ -112,2 +110,5 @@ monthsShort : 'জানু_ফেব_মার্চ_এপর_মে_জুন_জুল_অগ_সেপ্ট_অক্টো_নভ_ডিসেম্'.split('_'), | ||
}); | ||
})); | ||
return bn; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : tibetan (bo) | ||
// author : Thupten N. Chakrishar : https://github.com/vajradog | ||
//! moment.js locale configuration | ||
//! locale : tibetan (bo) | ||
//! author : Thupten N. Chakrishar : https://github.com/vajradog | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var symbolMap = { | ||
@@ -39,3 +37,3 @@ '1': '༡', | ||
return moment.defineLocale('bo', { | ||
var bo = moment.defineLocale('bo', { | ||
months : 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'), | ||
@@ -109,2 +107,5 @@ monthsShort : 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split('_'), | ||
}); | ||
})); | ||
return bo; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : breton (br) | ||
// author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou | ||
//! moment.js locale configuration | ||
//! locale : breton (br) | ||
//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
function relativeTimeWithMutation(number, withoutSuffix, key) { | ||
@@ -22,3 +20,2 @@ var format = { | ||
} | ||
function specialMutationForYears(number) { | ||
@@ -36,3 +33,2 @@ switch (lastNumber(number)) { | ||
} | ||
function lastNumber(number) { | ||
@@ -44,3 +40,2 @@ if (number > 9) { | ||
} | ||
function mutation(text, number) { | ||
@@ -52,3 +47,2 @@ if (number === 2) { | ||
} | ||
function softMutation(text) { | ||
@@ -66,3 +60,3 @@ var mutationTable = { | ||
return moment.defineLocale('br', { | ||
var br = moment.defineLocale('br', { | ||
months : 'Genver_C\'hwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split('_'), | ||
@@ -114,2 +108,5 @@ monthsShort : 'Gen_C\'hwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'), | ||
}); | ||
})); | ||
return br; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : bosnian (bs) | ||
// author : Nedim Cholich : https://github.com/frontyard | ||
// based on (hr) translation by Bojan Marković | ||
//! moment.js locale configuration | ||
//! locale : bosnian (bs) | ||
//! author : Nedim Cholich : https://github.com/frontyard | ||
//! based on (hr) translation by Bojan Marković | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
function translate(number, withoutSuffix, key) { | ||
@@ -68,3 +66,3 @@ var result = number + ' '; | ||
return moment.defineLocale('bs', { | ||
var bs = moment.defineLocale('bs', { | ||
months : 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'), | ||
@@ -86,3 +84,2 @@ monthsShort : 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'), | ||
nextDay : '[sutra u] LT', | ||
nextWeek : function () { | ||
@@ -142,2 +139,5 @@ switch (this.day()) { | ||
}); | ||
})); | ||
return bs; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : catalan (ca) | ||
// author : Juan G. Hurtado : https://github.com/juanghurtado | ||
//! moment.js locale configuration | ||
//! locale : catalan (ca) | ||
//! author : Juan G. Hurtado : https://github.com/juanghurtado | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('ca', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var ca = moment.defineLocale('ca', { | ||
months : 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split('_'), | ||
@@ -77,2 +75,5 @@ monthsShort : 'gen._febr._mar._abr._mai._jun._jul._ag._set._oct._nov._des.'.split('_'), | ||
}); | ||
})); | ||
return ca; | ||
})); |
@@ -1,21 +0,17 @@ | ||
// moment.js locale configuration | ||
// locale : czech (cs) | ||
// author : petrbela : https://github.com/petrbela | ||
//! moment.js locale configuration | ||
//! locale : czech (cs) | ||
//! author : petrbela : https://github.com/petrbela | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var months = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split('_'), | ||
monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'); | ||
function plural(n) { | ||
return (n > 1) && (n < 5) && (~~(n / 10) !== 1); | ||
} | ||
function translate(number, withoutSuffix, key, isFuture) { | ||
@@ -74,3 +70,3 @@ var result = number + ' '; | ||
return moment.defineLocale('cs', { | ||
var cs = moment.defineLocale('cs', { | ||
months : months, | ||
@@ -158,2 +154,5 @@ monthsShort : monthsShort, | ||
}); | ||
})); | ||
return cs; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : chuvash (cv) | ||
// author : Anatoly Mironov : https://github.com/mirontoli | ||
//! moment.js locale configuration | ||
//! locale : chuvash (cv) | ||
//! author : Anatoly Mironov : https://github.com/mirontoli | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('cv', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var cv = moment.defineLocale('cv', { | ||
months : 'кăрлач_нарăс_пуш_ака_май_çĕртме_утă_çурла_авăн_юпа_чӳк_раштав'.split('_'), | ||
@@ -61,2 +59,5 @@ monthsShort : 'кăр_нар_пуш_ака_май_çĕр_утă_çур_ав_юпа_чӳк_раш'.split('_'), | ||
}); | ||
})); | ||
return cv; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : Welsh (cy) | ||
// author : Robert Allen | ||
//! moment.js locale configuration | ||
//! locale : Welsh (cy) | ||
//! author : Robert Allen | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('cy', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var cy = moment.defineLocale('cy', { | ||
months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split('_'), | ||
@@ -61,3 +59,2 @@ monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split('_'), | ||
]; | ||
if (b > 20) { | ||
@@ -72,3 +69,2 @@ if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) { | ||
} | ||
return number + output; | ||
@@ -81,2 +77,5 @@ }, | ||
}); | ||
})); | ||
return cy; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : danish (da) | ||
// author : Ulrik Nielsen : https://github.com/mrbase | ||
//! moment.js locale configuration | ||
//! locale : danish (da) | ||
//! author : Ulrik Nielsen : https://github.com/mrbase | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('da', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var da = moment.defineLocale('da', { | ||
months : 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'), | ||
@@ -58,2 +56,5 @@ monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), | ||
}); | ||
})); | ||
return da; | ||
})); |
@@ -1,16 +0,14 @@ | ||
// moment.js locale configuration | ||
// locale : austrian german (de-at) | ||
// author : lluchs : https://github.com/lluchs | ||
// author: Menelion Elensúle: https://github.com/Oire | ||
// author : Martin Groller : https://github.com/MadMG | ||
//! moment.js locale configuration | ||
//! locale : austrian german (de-at) | ||
//! author : lluchs : https://github.com/lluchs | ||
//! author: Menelion Elensúle: https://github.com/Oire | ||
//! author : Martin Groller : https://github.com/MadMG | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
function processRelativeTime(number, withoutSuffix, key, isFuture) { | ||
@@ -30,3 +28,3 @@ var format = { | ||
return moment.defineLocale('de-at', { | ||
var de_at = moment.defineLocale('de-at', { | ||
months : 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), | ||
@@ -75,2 +73,5 @@ monthsShort : 'Jän._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), | ||
}); | ||
})); | ||
return de_at; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : german (de) | ||
// author : lluchs : https://github.com/lluchs | ||
// author: Menelion Elensúle: https://github.com/Oire | ||
//! moment.js locale configuration | ||
//! locale : german (de) | ||
//! author : lluchs : https://github.com/lluchs | ||
//! author: Menelion Elensúle: https://github.com/Oire | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
function processRelativeTime(number, withoutSuffix, key, isFuture) { | ||
@@ -29,3 +27,3 @@ var format = { | ||
return moment.defineLocale('de', { | ||
var de = moment.defineLocale('de', { | ||
months : 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), | ||
@@ -74,2 +72,5 @@ monthsShort : 'Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), | ||
}); | ||
})); | ||
return de; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : modern greek (el) | ||
// author : Aggelos Karalias : https://github.com/mehiel | ||
//! moment.js locale configuration | ||
//! locale : modern greek (el) | ||
//! author : Aggelos Karalias : https://github.com/mehiel | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('el', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var el = moment.defineLocale('el', { | ||
monthsNominativeEl : 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'), | ||
@@ -65,7 +63,5 @@ monthsGenitiveEl : 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_'), | ||
hours = mom && mom.hours(); | ||
if (typeof output === 'function') { | ||
output = output.apply(mom); | ||
} | ||
return output.replace('{}', (hours % 12 === 1 ? 'στη' : 'στις')); | ||
@@ -95,2 +91,5 @@ }, | ||
}); | ||
})); | ||
return el; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : australian english (en-au) | ||
//! moment.js locale configuration | ||
//! locale : australian english (en-au) | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('en-au', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var en_au = moment.defineLocale('en-au', { | ||
months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), | ||
@@ -64,2 +62,5 @@ monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), | ||
}); | ||
})); | ||
return en_au; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : canadian english (en-ca) | ||
// author : Jonathan Abourbih : https://github.com/jonbca | ||
//! moment.js locale configuration | ||
//! locale : canadian english (en-ca) | ||
//! author : Jonathan Abourbih : https://github.com/jonbca | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('en-ca', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var en_ca = moment.defineLocale('en-ca', { | ||
months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), | ||
@@ -61,2 +59,5 @@ monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), | ||
}); | ||
})); | ||
return en_ca; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : great britain english (en-gb) | ||
// author : Chris Gedrim : https://github.com/chrisgedrim | ||
//! moment.js locale configuration | ||
//! locale : great britain english (en-gb) | ||
//! author : Chris Gedrim : https://github.com/chrisgedrim | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('en-gb', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var en_gb = moment.defineLocale('en-gb', { | ||
months : 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_'), | ||
@@ -65,2 +63,5 @@ monthsShort : 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'), | ||
}); | ||
})); | ||
return en_gb; | ||
})); |
@@ -1,17 +0,15 @@ | ||
// moment.js locale configuration | ||
// locale : esperanto (eo) | ||
// author : Colin Dean : https://github.com/colindean | ||
// komento: Mi estas malcerta se mi korekte traktis akuzativojn en tiu traduko. | ||
// Se ne, bonvolu korekti kaj avizi min por ke mi povas lerni! | ||
//! moment.js locale configuration | ||
//! locale : esperanto (eo) | ||
//! author : Colin Dean : https://github.com/colindean | ||
//! komento: Mi estas malcerta se mi korekte traktis akuzativojn en tiu traduko. | ||
//! Se ne, bonvolu korekti kaj avizi min por ke mi povas lerni! | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('eo', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var eo = moment.defineLocale('eo', { | ||
months : 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split('_'), | ||
@@ -71,2 +69,5 @@ monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec'.split('_'), | ||
}); | ||
})); | ||
return eo; | ||
})); |
@@ -1,18 +0,16 @@ | ||
// moment.js locale configuration | ||
// locale : spanish (es) | ||
// author : Julio Napurí : https://github.com/julionc | ||
//! moment.js locale configuration | ||
//! locale : spanish (es) | ||
//! author : Julio Napurí : https://github.com/julionc | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'), | ||
monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'); | ||
return moment.defineLocale('es', { | ||
var es = moment.defineLocale('es', { | ||
months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'), | ||
@@ -77,2 +75,5 @@ monthsShort : function (m, format) { | ||
}); | ||
})); | ||
return es; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : estonian (et) | ||
// author : Henry Kehlmann : https://github.com/madhenry | ||
// improvements : Illimar Tambek : https://github.com/ragulka | ||
//! moment.js locale configuration | ||
//! locale : estonian (et) | ||
//! author : Henry Kehlmann : https://github.com/madhenry | ||
//! improvements : Illimar Tambek : https://github.com/ragulka | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
function processRelativeTime(number, withoutSuffix, key, isFuture) { | ||
@@ -34,3 +32,3 @@ var format = { | ||
return moment.defineLocale('et', { | ||
var et = moment.defineLocale('et', { | ||
months : 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'), | ||
@@ -79,2 +77,5 @@ monthsShort : 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'), | ||
}); | ||
})); | ||
return et; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : euskara (eu) | ||
// author : Eneko Illarramendi : https://github.com/eillarra | ||
//! moment.js locale configuration | ||
//! locale : euskara (eu) | ||
//! author : Eneko Illarramendi : https://github.com/eillarra | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('eu', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var eu = moment.defineLocale('eu', { | ||
months : 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'), | ||
@@ -62,2 +60,5 @@ monthsShort : 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'), | ||
}); | ||
})); | ||
return eu; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : Persian (fa) | ||
// author : Ebrahim Byagowi : https://github.com/ebraminio | ||
//! moment.js locale configuration | ||
//! locale : Persian (fa) | ||
//! author : Ebrahim Byagowi : https://github.com/ebraminio | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var symbolMap = { | ||
@@ -38,3 +36,3 @@ '1': '۱', | ||
return moment.defineLocale('fa', { | ||
var fa = moment.defineLocale('fa', { | ||
months : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), | ||
@@ -104,2 +102,5 @@ monthsShort : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'), | ||
}); | ||
})); | ||
return fa; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : finnish (fi) | ||
// author : Tarmo Aidantausta : https://github.com/bleadof | ||
//! moment.js locale configuration | ||
//! locale : finnish (fi) | ||
//! author : Tarmo Aidantausta : https://github.com/bleadof | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(' '), | ||
@@ -19,3 +17,2 @@ numbersFuture = [ | ||
]; | ||
function translate(number, withoutSuffix, key, isFuture) { | ||
@@ -55,3 +52,2 @@ var result = ''; | ||
} | ||
function verbalNumber(number, isFuture) { | ||
@@ -61,3 +57,3 @@ return number < 10 ? (isFuture ? numbersFuture[number] : numbersPast[number]) : number; | ||
return moment.defineLocale('fi', { | ||
var fi = moment.defineLocale('fi', { | ||
months : 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split('_'), | ||
@@ -110,2 +106,5 @@ monthsShort : 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split('_'), | ||
}); | ||
})); | ||
return fi; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : faroese (fo) | ||
// author : Ragnar Johannesen : https://github.com/ragnar123 | ||
//! moment.js locale configuration | ||
//! locale : faroese (fo) | ||
//! author : Ragnar Johannesen : https://github.com/ragnar123 | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('fo', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var fo = moment.defineLocale('fo', { | ||
months : 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'), | ||
@@ -58,2 +56,5 @@ monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), | ||
}); | ||
})); | ||
return fo; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : canadian french (fr-ca) | ||
// author : Jonathan Abourbih : https://github.com/jonbca | ||
//! moment.js locale configuration | ||
//! locale : canadian french (fr-ca) | ||
//! author : Jonathan Abourbih : https://github.com/jonbca | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('fr-ca', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var fr_ca = moment.defineLocale('fr-ca', { | ||
months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), | ||
@@ -56,2 +54,5 @@ monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), | ||
}); | ||
})); | ||
return fr_ca; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : french (fr) | ||
// author : John Fischer : https://github.com/jfroffice | ||
//! moment.js locale configuration | ||
//! locale : french (fr) | ||
//! author : John Fischer : https://github.com/jfroffice | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('fr', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var fr = moment.defineLocale('fr', { | ||
months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'), | ||
@@ -60,2 +58,5 @@ monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'), | ||
}); | ||
})); | ||
return fr; | ||
})); |
@@ -1,18 +0,16 @@ | ||
// moment.js locale configuration | ||
// locale : frisian (fy) | ||
// author : Robin van der Vliet : https://github.com/robin0van0der0v | ||
//! moment.js locale configuration | ||
//! locale : frisian (fy) | ||
//! author : Robin van der Vliet : https://github.com/robin0van0der0v | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'), | ||
monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'); | ||
return moment.defineLocale('fy', { | ||
var fy = moment.defineLocale('fy', { | ||
months : 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'), | ||
@@ -69,2 +67,5 @@ monthsShort : function (m, format) { | ||
}); | ||
})); | ||
return fy; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : galician (gl) | ||
// author : Juan G. Hurtado : https://github.com/juanghurtado | ||
//! moment.js locale configuration | ||
//! locale : galician (gl) | ||
//! author : Juan G. Hurtado : https://github.com/juanghurtado | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('gl', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var gl = moment.defineLocale('gl', { | ||
months : 'Xaneiro_Febreiro_Marzo_Abril_Maio_Xuño_Xullo_Agosto_Setembro_Outubro_Novembro_Decembro'.split('_'), | ||
@@ -73,2 +71,5 @@ monthsShort : 'Xan._Feb._Mar._Abr._Mai._Xuñ._Xul._Ago._Set._Out._Nov._Dec.'.split('_'), | ||
}); | ||
})); | ||
return gl; | ||
})); |
@@ -1,17 +0,15 @@ | ||
// moment.js locale configuration | ||
// locale : Hebrew (he) | ||
// author : Tomer Cohen : https://github.com/tomer | ||
// author : Moshe Simantov : https://github.com/DevelopmentIL | ||
// author : Tal Ater : https://github.com/TalAter | ||
//! moment.js locale configuration | ||
//! locale : Hebrew (he) | ||
//! author : Tomer Cohen : https://github.com/tomer | ||
//! author : Moshe Simantov : https://github.com/DevelopmentIL | ||
//! author : Tal Ater : https://github.com/TalAter | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('he', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var he = moment.defineLocale('he', { | ||
months : 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split('_'), | ||
@@ -80,2 +78,5 @@ monthsShort : 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split('_'), | ||
}); | ||
})); | ||
return he; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : hindi (hi) | ||
// author : Mayank Singhal : https://github.com/mayanksinghal | ||
//! moment.js locale configuration | ||
//! locale : hindi (hi) | ||
//! author : Mayank Singhal : https://github.com/mayanksinghal | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var symbolMap = { | ||
@@ -39,3 +37,3 @@ '1': '१', | ||
return moment.defineLocale('hi', { | ||
var hi = moment.defineLocale('hi', { | ||
months : 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split('_'), | ||
@@ -122,2 +120,5 @@ monthsShort : 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split('_'), | ||
}); | ||
})); | ||
return hi; | ||
})); |
@@ -1,16 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : hrvatski (hr) | ||
// author : Bojan Marković : https://github.com/bmarkovic | ||
//! moment.js locale configuration | ||
//! locale : hrvatski (hr) | ||
//! author : Bojan Marković : https://github.com/bmarkovic | ||
// based on (sl) translation by Robert Sedovšek | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
function translate(number, withoutSuffix, key) { | ||
@@ -69,3 +65,3 @@ var result = number + ' '; | ||
return moment.defineLocale('hr', { | ||
var hr = moment.defineLocale('hr', { | ||
months : 'sječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split('_'), | ||
@@ -87,3 +83,2 @@ monthsShort : 'sje._vel._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split('_'), | ||
nextDay : '[sutra u] LT', | ||
nextWeek : function () { | ||
@@ -143,2 +138,5 @@ switch (this.day()) { | ||
}); | ||
})); | ||
return hr; | ||
})); |
@@ -1,20 +0,16 @@ | ||
// moment.js locale configuration | ||
// locale : hungarian (hu) | ||
// author : Adam Brunner : https://github.com/adambrunner | ||
//! moment.js locale configuration | ||
//! locale : hungarian (hu) | ||
//! author : Adam Brunner : https://github.com/adambrunner | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' '); | ||
function translate(number, withoutSuffix, key, isFuture) { | ||
var num = number, | ||
suffix; | ||
switch (key) { | ||
@@ -44,6 +40,4 @@ case 's': | ||
} | ||
return ''; | ||
} | ||
function week(isFuture) { | ||
@@ -53,3 +47,3 @@ return (isFuture ? '' : '[múlt] ') + '[' + weekEndings[this.day()] + '] LT[-kor]'; | ||
return moment.defineLocale('hu', { | ||
var hu = moment.defineLocale('hu', { | ||
months : 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split('_'), | ||
@@ -113,2 +107,5 @@ monthsShort : 'jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec'.split('_'), | ||
}); | ||
})); | ||
return hu; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : Armenian (hy-am) | ||
// author : Armendarabyan : https://github.com/armendarabyan | ||
//! moment.js locale configuration | ||
//! locale : Armenian (hy-am) | ||
//! author : Armendarabyan : https://github.com/armendarabyan | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
function monthsCaseReplace(m, format) { | ||
@@ -19,23 +17,17 @@ var months = { | ||
}, | ||
nounCase = (/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(format) ? | ||
'accusative' : | ||
'nominative'; | ||
return months[nounCase][m.month()]; | ||
} | ||
function monthsShortCaseReplace(m, format) { | ||
var monthsShort = 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'); | ||
return monthsShort[m.month()]; | ||
} | ||
function weekdaysCaseReplace(m, format) { | ||
var weekdays = 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_'); | ||
return weekdays[m.day()]; | ||
} | ||
return moment.defineLocale('hy-am', { | ||
var hy_am = moment.defineLocale('hy-am', { | ||
months : monthsCaseReplace, | ||
@@ -81,3 +73,2 @@ monthsShort : monthsShortCaseReplace, | ||
}, | ||
meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/, | ||
@@ -98,3 +89,2 @@ isPM: function (input) { | ||
}, | ||
ordinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/, | ||
@@ -115,3 +105,2 @@ ordinal: function (number, period) { | ||
}, | ||
week : { | ||
@@ -122,2 +111,5 @@ dow : 1, // Monday is the first day of the week. | ||
}); | ||
})); | ||
return hy_am; | ||
})); |
@@ -1,16 +0,14 @@ | ||
// moment.js locale configuration | ||
// locale : Bahasa Indonesia (id) | ||
// author : Mohammad Satrio Utomo : https://github.com/tyok | ||
// reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan | ||
//! moment.js locale configuration | ||
//! locale : Bahasa Indonesia (id) | ||
//! author : Mohammad Satrio Utomo : https://github.com/tyok | ||
//! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('id', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var id = moment.defineLocale('id', { | ||
months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'), | ||
@@ -81,2 +79,5 @@ monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des'.split('_'), | ||
}); | ||
})); | ||
return id; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : icelandic (is) | ||
// author : Hinrik Örn Sigurðsson : https://github.com/hinrik | ||
//! moment.js locale configuration | ||
//! locale : icelandic (is) | ||
//! author : Hinrik Örn Sigurðsson : https://github.com/hinrik | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
function plural(n) { | ||
@@ -22,3 +20,2 @@ if (n % 100 === 11) { | ||
} | ||
function translate(number, withoutSuffix, key, isFuture) { | ||
@@ -83,3 +80,3 @@ var result = number + ' '; | ||
return moment.defineLocale('is', { | ||
var is = moment.defineLocale('is', { | ||
months : 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'), | ||
@@ -128,2 +125,5 @@ monthsShort : 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'), | ||
}); | ||
})); | ||
return is; | ||
})); |
@@ -1,16 +0,14 @@ | ||
// moment.js locale configuration | ||
// locale : italian (it) | ||
// author : Lorenzo : https://github.com/aliem | ||
// author: Mattia Larentis: https://github.com/nostalgiaz | ||
//! moment.js locale configuration | ||
//! locale : italian (it) | ||
//! author : Lorenzo : https://github.com/aliem | ||
//! author: Mattia Larentis: https://github.com/nostalgiaz | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('it', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var it = moment.defineLocale('it', { | ||
months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'), | ||
@@ -68,2 +66,5 @@ monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'), | ||
}); | ||
})); | ||
return it; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : japanese (ja) | ||
// author : LI Long : https://github.com/baryon | ||
//! moment.js locale configuration | ||
//! locale : japanese (ja) | ||
//! author : LI Long : https://github.com/baryon | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('ja', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var ja = moment.defineLocale('ja', { | ||
months : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), | ||
@@ -63,2 +61,5 @@ monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), | ||
}); | ||
})); | ||
return ja; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : Georgian (ka) | ||
// author : Irakli Janiashvili : https://github.com/irakli-janiashvili | ||
//! moment.js locale configuration | ||
//! locale : Georgian (ka) | ||
//! author : Irakli Janiashvili : https://github.com/irakli-janiashvili | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
function monthsCaseReplace(m, format) { | ||
@@ -19,10 +17,7 @@ var months = { | ||
}, | ||
nounCase = (/D[oD] *MMMM?/).test(format) ? | ||
'accusative' : | ||
'nominative'; | ||
return months[nounCase][m.month()]; | ||
} | ||
function weekdaysCaseReplace(m, format) { | ||
@@ -33,11 +28,9 @@ var weekdays = { | ||
}, | ||
nounCase = (/(წინა|შემდეგ)/).test(format) ? | ||
'accusative' : | ||
'nominative'; | ||
return weekdays[nounCase][m.day()]; | ||
} | ||
return moment.defineLocale('ka', { | ||
var ka = moment.defineLocale('ka', { | ||
months : monthsCaseReplace, | ||
@@ -95,11 +88,8 @@ monthsShort : 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'), | ||
} | ||
if (number === 1) { | ||
return number + '-ლი'; | ||
} | ||
if ((number < 20) || (number <= 100 && (number % 20 === 0)) || (number % 100 === 0)) { | ||
return 'მე-' + number; | ||
} | ||
return number + '-ე'; | ||
@@ -112,2 +102,5 @@ }, | ||
}); | ||
})); | ||
return ka; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : khmer (km) | ||
// author : Kruy Vanna : https://github.com/kruyvanna | ||
//! moment.js locale configuration | ||
//! locale : khmer (km) | ||
//! author : Kruy Vanna : https://github.com/kruyvanna | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('km', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var km = moment.defineLocale('km', { | ||
months: 'មករា_កុម្ភៈ_មិនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'), | ||
@@ -56,2 +54,5 @@ monthsShort: 'មករា_កុម្ភៈ_មិនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split('_'), | ||
}); | ||
})); | ||
return km; | ||
})); |
@@ -1,18 +0,17 @@ | ||
// moment.js locale configuration | ||
// locale : korean (ko) | ||
// | ||
// authors | ||
// | ||
// - Kyungwook, Park : https://github.com/kyungw00k | ||
// - Jeeeyul Lee <jeeeyul@gmail.com> | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('ko', { | ||
//! moment.js locale configuration | ||
//! locale : korean (ko) | ||
//! | ||
//! authors | ||
//! | ||
//! - Kyungwook, Park : https://github.com/kyungw00k | ||
//! - Jeeeyul Lee <jeeeyul@gmail.com> | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var ko = moment.defineLocale('ko', { | ||
months : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), | ||
@@ -65,2 +64,5 @@ monthsShort : '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'), | ||
}); | ||
})); | ||
return ko; | ||
})); |
@@ -1,18 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : Luxembourgish (lb) | ||
// author : mweimerskirch : https://github.com/mweimerskirch, David Raison : https://github.com/kwisatz | ||
//! moment.js locale configuration | ||
//! locale : Luxembourgish (lb) | ||
//! author : mweimerskirch : https://github.com/mweimerskirch, David Raison : https://github.com/kwisatz | ||
// Note: Luxembourgish has a very particular phonological rule ('Eifeler Regel') that causes the | ||
// deletion of the final 'n' in certain contexts. That's what the 'eifelerRegelAppliesToWeekday' | ||
// and 'eifelerRegelAppliesToNumber' methods are meant for | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
function processRelativeTime(number, withoutSuffix, key, isFuture) { | ||
@@ -28,3 +22,2 @@ var format = { | ||
} | ||
function processFutureTime(string) { | ||
@@ -37,3 +30,2 @@ var number = string.substr(0, string.indexOf(' ')); | ||
} | ||
function processPastTime(string) { | ||
@@ -46,3 +38,2 @@ var number = string.substr(0, string.indexOf(' ')); | ||
} | ||
/** | ||
@@ -89,3 +80,3 @@ * Returns true if the word before the given number loses the '-n' ending. | ||
return moment.defineLocale('lb', { | ||
var lb = moment.defineLocale('lb', { | ||
months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split('_'), | ||
@@ -143,2 +134,5 @@ monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split('_'), | ||
}); | ||
})); | ||
return lb; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : Lithuanian (lt) | ||
// author : Mindaugas Mozūras : https://github.com/mmozuras | ||
//! moment.js locale configuration | ||
//! locale : Lithuanian (lt) | ||
//! author : Mindaugas Mozūras : https://github.com/mmozuras | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var units = { | ||
@@ -27,3 +25,2 @@ 'm' : 'minutė_minutės_minutę', | ||
weekDays = 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split('_'); | ||
function translateSeconds(number, withoutSuffix, key, isFuture) { | ||
@@ -36,15 +33,11 @@ if (withoutSuffix) { | ||
} | ||
function translateSingular(number, withoutSuffix, key, isFuture) { | ||
return withoutSuffix ? forms(key)[0] : (isFuture ? forms(key)[1] : forms(key)[2]); | ||
} | ||
function special(number) { | ||
return number % 10 === 0 || (number > 10 && number < 20); | ||
} | ||
function forms(key) { | ||
return units[key].split('_'); | ||
} | ||
function translate(number, withoutSuffix, key, isFuture) { | ||
@@ -64,11 +57,9 @@ var result = number + ' '; | ||
} | ||
function relativeWeekDay(moment, format) { | ||
var nominative = format.indexOf('dddd HH:mm') === -1, | ||
weekDay = weekDays[moment.day()]; | ||
return nominative ? weekDay : weekDay.substring(0, weekDay.length - 2) + 'į'; | ||
} | ||
return moment.defineLocale('lt', { | ||
var lt = moment.defineLocale('lt', { | ||
months : 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'), | ||
@@ -123,2 +114,5 @@ monthsShort : 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'), | ||
}); | ||
})); | ||
return lt; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : latvian (lv) | ||
// author : Kristaps Karlsons : https://github.com/skakri | ||
//! moment.js locale configuration | ||
//! locale : latvian (lv) | ||
//! author : Kristaps Karlsons : https://github.com/skakri | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var units = { | ||
@@ -21,3 +19,2 @@ 'mm': 'minūti_minūtes_minūte_minūtes', | ||
}; | ||
function format(word, number, withoutSuffix) { | ||
@@ -31,3 +28,2 @@ var forms = word.split('_'); | ||
} | ||
function relativeTimeWithPlural(number, withoutSuffix, key) { | ||
@@ -37,3 +33,3 @@ return number + ' ' + format(units[key], number, withoutSuffix); | ||
return moment.defineLocale('lv', { | ||
var lv = moment.defineLocale('lv', { | ||
months : 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split('_'), | ||
@@ -82,2 +78,5 @@ monthsShort : 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'), | ||
}); | ||
})); | ||
return lv; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : macedonian (mk) | ||
// author : Borislav Mickov : https://github.com/B0k0 | ||
//! moment.js locale configuration | ||
//! locale : macedonian (mk) | ||
//! author : Borislav Mickov : https://github.com/B0k0 | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('mk', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var mk = moment.defineLocale('mk', { | ||
months : 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split('_'), | ||
@@ -88,2 +86,5 @@ monthsShort : 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'), | ||
}); | ||
})); | ||
return mk; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : malayalam (ml) | ||
// author : Floyd Pink : https://github.com/floydpink | ||
//! moment.js locale configuration | ||
//! locale : malayalam (ml) | ||
//! author : Floyd Pink : https://github.com/floydpink | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('ml', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var ml = moment.defineLocale('ml', { | ||
months : 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split('_'), | ||
@@ -69,2 +67,5 @@ monthsShort : 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split('_'), | ||
}); | ||
})); | ||
return ml; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : Marathi (mr) | ||
// author : Harshad Kale : https://github.com/kalehv | ||
//! moment.js locale configuration | ||
//! locale : Marathi (mr) | ||
//! author : Harshad Kale : https://github.com/kalehv | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var symbolMap = { | ||
@@ -39,3 +37,3 @@ '1': '१', | ||
return moment.defineLocale('mr', { | ||
var mr = moment.defineLocale('mr', { | ||
months : 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split('_'), | ||
@@ -102,4 +100,3 @@ monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split('_'), | ||
}, | ||
meridiem: function (hour, minute, isLower) | ||
{ | ||
meridiem: function (hour, minute, isLower) { | ||
if (hour < 4) { | ||
@@ -122,2 +119,5 @@ return 'रात्री'; | ||
}); | ||
})); | ||
return mr; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : Bahasa Malaysia (ms-MY) | ||
// author : Weldan Jamili : https://github.com/weldan | ||
//! moment.js locale configuration | ||
//! locale : Bahasa Malaysia (ms-MY) | ||
//! author : Weldan Jamili : https://github.com/weldan | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('ms-my', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var ms_my = moment.defineLocale('ms-my', { | ||
months : 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split('_'), | ||
@@ -80,2 +78,5 @@ monthsShort : 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'), | ||
}); | ||
})); | ||
return ms_my; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : Burmese (my) | ||
// author : Squar team, mysquar.com | ||
//! moment.js locale configuration | ||
//! locale : Burmese (my) | ||
//! author : Squar team, mysquar.com | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var symbolMap = { | ||
@@ -37,3 +35,4 @@ '1': '၁', | ||
}; | ||
return moment.defineLocale('my', { | ||
var my = moment.defineLocale('my', { | ||
months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'), | ||
@@ -90,2 +89,5 @@ monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'), | ||
}); | ||
})); | ||
return my; | ||
})); |
@@ -1,16 +0,14 @@ | ||
// moment.js locale configuration | ||
// locale : norwegian bokmål (nb) | ||
// authors : Espen Hovlandsdal : https://github.com/rexxars | ||
// Sigurd Gartmann : https://github.com/sigurdga | ||
//! moment.js locale configuration | ||
//! locale : norwegian bokmål (nb) | ||
//! authors : Espen Hovlandsdal : https://github.com/rexxars | ||
//! Sigurd Gartmann : https://github.com/sigurdga | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('nb', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var nb = moment.defineLocale('nb', { | ||
months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'), | ||
@@ -59,2 +57,5 @@ monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), | ||
}); | ||
})); | ||
return nb; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : nepali/nepalese | ||
// author : suvash : https://github.com/suvash | ||
//! moment.js locale configuration | ||
//! locale : nepali/nepalese | ||
//! author : suvash : https://github.com/suvash | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var symbolMap = { | ||
@@ -39,3 +37,3 @@ '1': '१', | ||
return moment.defineLocale('ne', { | ||
var ne = moment.defineLocale('ne', { | ||
months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'), | ||
@@ -122,2 +120,5 @@ monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'), | ||
}); | ||
})); | ||
return ne; | ||
})); |
@@ -1,18 +0,16 @@ | ||
// moment.js locale configuration | ||
// locale : dutch (nl) | ||
// author : Joris Röling : https://github.com/jjupiter | ||
//! moment.js locale configuration | ||
//! locale : dutch (nl) | ||
//! author : Joris Röling : https://github.com/jjupiter | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'), | ||
monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'); | ||
return moment.defineLocale('nl', { | ||
var nl = moment.defineLocale('nl', { | ||
months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'), | ||
@@ -69,2 +67,5 @@ monthsShort : function (m, format) { | ||
}); | ||
})); | ||
return nl; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : norwegian nynorsk (nn) | ||
// author : https://github.com/mechuwind | ||
//! moment.js locale configuration | ||
//! locale : norwegian nynorsk (nn) | ||
//! author : https://github.com/mechuwind | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('nn', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var nn = moment.defineLocale('nn', { | ||
months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'), | ||
@@ -58,2 +56,5 @@ monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'), | ||
}); | ||
})); | ||
return nn; | ||
})); |
@@ -1,21 +0,17 @@ | ||
// moment.js locale configuration | ||
// locale : polish (pl) | ||
// author : Rafal Hirsz : https://github.com/evoL | ||
//! moment.js locale configuration | ||
//! locale : polish (pl) | ||
//! author : Rafal Hirsz : https://github.com/evoL | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split('_'), | ||
monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split('_'); | ||
function plural(n) { | ||
return (n % 10 < 5) && (n % 10 > 1) && ((~~(n / 10) % 10) !== 1); | ||
} | ||
function translate(number, withoutSuffix, key) { | ||
@@ -39,3 +35,3 @@ var result = number + ' '; | ||
return moment.defineLocale('pl', { | ||
var pl = moment.defineLocale('pl', { | ||
months : function (momentToFormat, format) { | ||
@@ -101,2 +97,5 @@ if (/D MMMM/.test(format)) { | ||
}); | ||
})); | ||
return pl; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : brazilian portuguese (pt-br) | ||
// author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira | ||
//! moment.js locale configuration | ||
//! locale : brazilian portuguese (pt-br) | ||
//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('pt-br', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var pt_br = moment.defineLocale('pt-br', { | ||
months : 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split('_'), | ||
@@ -58,2 +56,5 @@ monthsShort : 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), | ||
}); | ||
})); | ||
return pt_br; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : portuguese (pt) | ||
// author : Jefferson : https://github.com/jalex79 | ||
//! moment.js locale configuration | ||
//! locale : portuguese (pt) | ||
//! author : Jefferson : https://github.com/jalex79 | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('pt', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var pt = moment.defineLocale('pt', { | ||
months : 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split('_'), | ||
@@ -62,2 +60,5 @@ monthsShort : 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'), | ||
}); | ||
})); | ||
return pt; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : romanian (ro) | ||
// author : Vlad Gurdiga : https://github.com/gurdiga | ||
// author : Valentin Agachi : https://github.com/avaly | ||
//! moment.js locale configuration | ||
//! locale : romanian (ro) | ||
//! author : Vlad Gurdiga : https://github.com/gurdiga | ||
//! author : Valentin Agachi : https://github.com/avaly | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
function relativeTimeWithPlural(number, withoutSuffix, key) { | ||
@@ -27,7 +25,6 @@ var format = { | ||
} | ||
return number + separator + format[key]; | ||
} | ||
return moment.defineLocale('ro', { | ||
var ro = moment.defineLocale('ro', { | ||
months : 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split('_'), | ||
@@ -74,2 +71,5 @@ monthsShort : 'ian._febr._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split('_'), | ||
}); | ||
})); | ||
return ro; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : russian (ru) | ||
// author : Viktorminator : https://github.com/Viktorminator | ||
// Author : Menelion Elensúle : https://github.com/Oire | ||
//! moment.js locale configuration | ||
//! locale : russian (ru) | ||
//! author : Viktorminator : https://github.com/Viktorminator | ||
//! Author : Menelion Elensúle : https://github.com/Oire | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
function plural(word, num) { | ||
@@ -19,3 +17,2 @@ var forms = word.split('_'); | ||
} | ||
function relativeTimeWithPlural(number, withoutSuffix, key) { | ||
@@ -36,3 +33,2 @@ var format = { | ||
} | ||
function monthsCaseReplace(m, format) { | ||
@@ -43,10 +39,7 @@ var months = { | ||
}, | ||
nounCase = (/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(format) ? | ||
'accusative' : | ||
'nominative'; | ||
return months[nounCase][m.month()]; | ||
} | ||
function monthsShortCaseReplace(m, format) { | ||
@@ -57,10 +50,7 @@ var monthsShort = { | ||
}, | ||
nounCase = (/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(format) ? | ||
'accusative' : | ||
'nominative'; | ||
return monthsShort[nounCase][m.month()]; | ||
} | ||
function weekdaysCaseReplace(m, format) { | ||
@@ -71,11 +61,9 @@ var weekdays = { | ||
}, | ||
nounCase = (/\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?\] ?dddd/).test(format) ? | ||
'accusative' : | ||
'nominative'; | ||
return weekdays[nounCase][m.day()]; | ||
} | ||
return moment.defineLocale('ru', { | ||
var ru = moment.defineLocale('ru', { | ||
months : monthsCaseReplace, | ||
@@ -141,3 +129,2 @@ monthsShort : monthsShortCaseReplace, | ||
}, | ||
meridiemParse: /ночи|утра|дня|вечера/i, | ||
@@ -147,3 +134,2 @@ isPM : function (input) { | ||
}, | ||
meridiem : function (hour, minute, isLower) { | ||
@@ -160,3 +146,2 @@ if (hour < 4) { | ||
}, | ||
ordinalParse: /\d{1,2}-(й|го|я)/, | ||
@@ -178,3 +163,2 @@ ordinal: function (number, period) { | ||
}, | ||
week : { | ||
@@ -185,2 +169,5 @@ dow : 1, // Monday is the first day of the week. | ||
}); | ||
})); | ||
return ru; | ||
})); |
@@ -1,22 +0,18 @@ | ||
// moment.js locale configuration | ||
// locale : slovak (sk) | ||
// author : Martin Minka : https://github.com/k2s | ||
// based on work of petrbela : https://github.com/petrbela | ||
//! moment.js locale configuration | ||
//! locale : slovak (sk) | ||
//! author : Martin Minka : https://github.com/k2s | ||
//! based on work of petrbela : https://github.com/petrbela | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var months = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split('_'), | ||
monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_'); | ||
function plural(n) { | ||
return (n > 1) && (n < 5); | ||
} | ||
function translate(number, withoutSuffix, key, isFuture) { | ||
@@ -75,3 +71,3 @@ var result = number + ' '; | ||
return moment.defineLocale('sk', { | ||
var sk = moment.defineLocale('sk', { | ||
months : months, | ||
@@ -159,2 +155,5 @@ monthsShort : monthsShort, | ||
}); | ||
})); | ||
return sk; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : slovenian (sl) | ||
// author : Robert Sedovšek : https://github.com/sedovsek | ||
//! moment.js locale configuration | ||
//! locale : slovenian (sl) | ||
//! author : Robert Sedovšek : https://github.com/sedovsek | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
function translate(number, withoutSuffix, key) { | ||
@@ -75,3 +73,3 @@ var result = number + ' '; | ||
return moment.defineLocale('sl', { | ||
var sl = moment.defineLocale('sl', { | ||
months : 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split('_'), | ||
@@ -93,3 +91,2 @@ monthsShort : 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'), | ||
nextDay : '[jutri ob] LT', | ||
nextWeek : function () { | ||
@@ -148,2 +145,5 @@ switch (this.day()) { | ||
}); | ||
})); | ||
return sl; | ||
})); |
@@ -1,17 +0,15 @@ | ||
// moment.js locale configuration | ||
// locale : Albanian (sq) | ||
// author : Flakërim Ismani : https://github.com/flakerimi | ||
// author: Menelion Elensúle: https://github.com/Oire (tests) | ||
// author : Oerd Cukalla : https://github.com/oerd (fixes) | ||
//! moment.js locale configuration | ||
//! locale : Albanian (sq) | ||
//! author : Flakërim Ismani : https://github.com/flakerimi | ||
//! author: Menelion Elensúle: https://github.com/Oire (tests) | ||
//! author : Oerd Cukalla : https://github.com/oerd (fixes) | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('sq', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var sq = moment.defineLocale('sq', { | ||
months : 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split('_'), | ||
@@ -67,2 +65,5 @@ monthsShort : 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'), | ||
}); | ||
})); | ||
return sq; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : Serbian-cyrillic (sr-cyrl) | ||
// author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j | ||
//! moment.js locale configuration | ||
//! locale : Serbian-cyrillic (sr-cyrl) | ||
//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var translator = { | ||
@@ -37,3 +35,3 @@ words: { //Different grammatical cases | ||
return moment.defineLocale('sr-cyrl', { | ||
var sr_cyrl = moment.defineLocale('sr-cyrl', { | ||
months: ['јануар', 'фебруар', 'март', 'април', 'мај', 'јун', 'јул', 'август', 'септембар', 'октобар', 'новембар', 'децембар'], | ||
@@ -55,3 +53,2 @@ monthsShort: ['јан.', 'феб.', 'мар.', 'апр.', 'мај', 'јун', 'јул', 'авг.', 'сеп.', 'окт.', 'нов.', 'дец.'], | ||
nextDay: '[сутра у] LT', | ||
nextWeek: function () { | ||
@@ -109,2 +106,5 @@ switch (this.day()) { | ||
}); | ||
})); | ||
return sr_cyrl; | ||
})); |
@@ -1,14 +0,12 @@ | ||
// moment.js locale configuration | ||
// locale : Serbian-latin (sr) | ||
// author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j | ||
//! moment.js locale configuration | ||
//! locale : Serbian-latin (sr) | ||
//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var translator = { | ||
@@ -37,3 +35,3 @@ words: { //Different grammatical cases | ||
return moment.defineLocale('sr', { | ||
var sr = moment.defineLocale('sr', { | ||
months: ['januar', 'februar', 'mart', 'april', 'maj', 'jun', 'jul', 'avgust', 'septembar', 'oktobar', 'novembar', 'decembar'], | ||
@@ -55,3 +53,2 @@ monthsShort: ['jan.', 'feb.', 'mar.', 'apr.', 'maj', 'jun', 'jul', 'avg.', 'sep.', 'okt.', 'nov.', 'dec.'], | ||
nextDay: '[sutra u] LT', | ||
nextWeek: function () { | ||
@@ -109,2 +106,5 @@ switch (this.day()) { | ||
}); | ||
})); | ||
return sr; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : swedish (sv) | ||
// author : Jens Alm : https://github.com/ulmus | ||
//! moment.js locale configuration | ||
//! locale : swedish (sv) | ||
//! author : Jens Alm : https://github.com/ulmus | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('sv', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var sv = moment.defineLocale('sv', { | ||
months : 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split('_'), | ||
@@ -65,2 +63,5 @@ monthsShort : 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'), | ||
}); | ||
})); | ||
return sv; | ||
})); |
@@ -1,40 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : tamil (ta) | ||
// author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 | ||
//! moment.js locale configuration | ||
//! locale : tamil (ta) | ||
//! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404 | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
/*var symbolMap = { | ||
'1': '௧', | ||
'2': '௨', | ||
'3': '௩', | ||
'4': '௪', | ||
'5': '௫', | ||
'6': '௬', | ||
'7': '௭', | ||
'8': '௮', | ||
'9': '௯', | ||
'0': '௦' | ||
}, | ||
numberMap = { | ||
'௧': '1', | ||
'௨': '2', | ||
'௩': '3', | ||
'௪': '4', | ||
'௫': '5', | ||
'௬': '6', | ||
'௭': '7', | ||
'௮': '8', | ||
'௯': '9', | ||
'௦': '0' | ||
}; */ | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
return moment.defineLocale('ta', { | ||
var ta = moment.defineLocale('ta', { | ||
months : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'), | ||
@@ -76,12 +49,2 @@ monthsShort : 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split('_'), | ||
}, | ||
/* preparse: function (string) { | ||
return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) { | ||
return numberMap[match]; | ||
}); | ||
}, | ||
postformat: function (string) { | ||
return string.replace(/\d/g, function (match) { | ||
return symbolMap[match]; | ||
}); | ||
},*/ | ||
ordinalParse: /\d{1,2}வது/, | ||
@@ -91,4 +54,2 @@ ordinal : function (number) { | ||
}, | ||
// refer http://ta.wikipedia.org/s/1er1 | ||
@@ -132,2 +93,5 @@ meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/, | ||
}); | ||
})); | ||
return ta; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : thai (th) | ||
// author : Kridsada Thanabulpong : https://github.com/sirn | ||
//! moment.js locale configuration | ||
//! locale : thai (th) | ||
//! author : Kridsada Thanabulpong : https://github.com/sirn | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('th', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var th = moment.defineLocale('th', { | ||
months : 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split('_'), | ||
@@ -63,2 +61,5 @@ monthsShort : 'มกรา_กุมภา_มีนา_เมษา_พฤษภา_มิถุนา_กรกฎา_สิงหา_กันยา_ตุลา_พฤศจิกา_ธันวา'.split('_'), | ||
}); | ||
})); | ||
return th; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : Tagalog/Filipino (tl-ph) | ||
// author : Dan Hagman | ||
//! moment.js locale configuration | ||
//! locale : Tagalog/Filipino (tl-ph) | ||
//! author : Dan Hagman | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('tl-ph', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var tl_ph = moment.defineLocale('tl-ph', { | ||
months : 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split('_'), | ||
@@ -60,2 +58,5 @@ monthsShort : 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'), | ||
}); | ||
})); | ||
return tl_ph; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : turkish (tr) | ||
// authors : Erhan Gundogan : https://github.com/erhangundogan, | ||
// Burak Yiğit Kaya: https://github.com/BYK | ||
//! moment.js locale configuration | ||
//! locale : turkish (tr) | ||
//! authors : Erhan Gundogan : https://github.com/erhangundogan, | ||
//! Burak Yiğit Kaya: https://github.com/BYK | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var suffixes = { | ||
@@ -21,3 +19,2 @@ 1: '\'inci', | ||
80: '\'inci', | ||
2: '\'nci', | ||
@@ -27,13 +24,9 @@ 7: '\'nci', | ||
50: '\'nci', | ||
3: '\'üncü', | ||
4: '\'üncü', | ||
100: '\'üncü', | ||
6: '\'ncı', | ||
9: '\'uncu', | ||
10: '\'uncu', | ||
30: '\'uncu', | ||
60: '\'ıncı', | ||
@@ -43,3 +36,3 @@ 90: '\'ıncı' | ||
return moment.defineLocale('tr', { | ||
var tr = moment.defineLocale('tr', { | ||
months : 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split('_'), | ||
@@ -89,3 +82,2 @@ monthsShort : 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'), | ||
c = number >= 100 ? 100 : null; | ||
return number + (suffixes[a] || suffixes[b] || suffixes[c]); | ||
@@ -98,2 +90,5 @@ }, | ||
}); | ||
})); | ||
return tr; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : Morocco Central Atlas Tamaziɣt in Latin (tzm-latn) | ||
// author : Abdel Said : https://github.com/abdelsaid | ||
//! moment.js locale configuration | ||
//! locale : Morocco Central Atlas Tamaziɣt in Latin (tzm-latn) | ||
//! author : Abdel Said : https://github.com/abdelsaid | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('tzm-latn', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var tzm_latn = moment.defineLocale('tzm-latn', { | ||
months : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'), | ||
@@ -56,2 +54,5 @@ monthsShort : 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split('_'), | ||
}); | ||
})); | ||
return tzm_latn; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : Morocco Central Atlas Tamaziɣt (tzm) | ||
// author : Abdel Said : https://github.com/abdelsaid | ||
//! moment.js locale configuration | ||
//! locale : Morocco Central Atlas Tamaziɣt (tzm) | ||
//! author : Abdel Said : https://github.com/abdelsaid | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('tzm', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var tzm = moment.defineLocale('tzm', { | ||
months : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'), | ||
@@ -56,2 +54,5 @@ monthsShort : 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split('_'), | ||
}); | ||
})); | ||
return tzm; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : ukrainian (uk) | ||
// author : zemlanin : https://github.com/zemlanin | ||
// Author : Menelion Elensúle : https://github.com/Oire | ||
//! moment.js locale configuration | ||
//! locale : ukrainian (uk) | ||
//! author : zemlanin : https://github.com/zemlanin | ||
//! Author : Menelion Elensúle : https://github.com/Oire | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
function plural(word, num) { | ||
@@ -19,3 +17,2 @@ var forms = word.split('_'); | ||
} | ||
function relativeTimeWithPlural(number, withoutSuffix, key) { | ||
@@ -39,3 +36,2 @@ var format = { | ||
} | ||
function monthsCaseReplace(m, format) { | ||
@@ -46,10 +42,7 @@ var months = { | ||
}, | ||
nounCase = (/D[oD]? *MMMM?/).test(format) ? | ||
'accusative' : | ||
'nominative'; | ||
return months[nounCase][m.month()]; | ||
} | ||
function weekdaysCaseReplace(m, format) { | ||
@@ -61,3 +54,2 @@ var weekdays = { | ||
}, | ||
nounCase = (/(\[[ВвУу]\]) ?dddd/).test(format) ? | ||
@@ -68,6 +60,4 @@ 'accusative' : | ||
'nominative'); | ||
return weekdays[nounCase][m.day()]; | ||
} | ||
function processHoursFunction(str) { | ||
@@ -79,3 +69,3 @@ return function () { | ||
return moment.defineLocale('uk', { | ||
var uk = moment.defineLocale('uk', { | ||
months : monthsCaseReplace, | ||
@@ -129,5 +119,3 @@ monthsShort : 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split('_'), | ||
}, | ||
// M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason | ||
meridiemParse: /ночі|ранку|дня|вечора/, | ||
@@ -148,3 +136,2 @@ isPM: function (input) { | ||
}, | ||
ordinalParse: /\d{1,2}-(й|го)/, | ||
@@ -165,3 +152,2 @@ ordinal: function (number, period) { | ||
}, | ||
week : { | ||
@@ -172,2 +158,5 @@ dow : 1, // Monday is the first day of the week. | ||
}); | ||
})); | ||
return uk; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : uzbek (uz) | ||
// author : Sardor Muminov : https://github.com/muminoff | ||
//! moment.js locale configuration | ||
//! locale : uzbek (uz) | ||
//! author : Sardor Muminov : https://github.com/muminoff | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('uz', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var uz = moment.defineLocale('uz', { | ||
months : 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split('_'), | ||
@@ -56,2 +54,5 @@ monthsShort : 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'), | ||
}); | ||
})); | ||
return uz; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : vietnamese (vi) | ||
// author : Bang Nguyen : https://github.com/bangnk | ||
//! moment.js locale configuration | ||
//! locale : vietnamese (vi) | ||
//! author : Bang Nguyen : https://github.com/bangnk | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('vi', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var vi = moment.defineLocale('vi', { | ||
months : 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'), | ||
@@ -64,2 +62,5 @@ monthsShort : 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'), | ||
}); | ||
})); | ||
return vi; | ||
})); |
@@ -1,16 +0,14 @@ | ||
// moment.js locale configuration | ||
// locale : chinese (zh-cn) | ||
// author : suupic : https://github.com/suupic | ||
// author : Zeno Zeng : https://github.com/zenozeng | ||
//! moment.js locale configuration | ||
//! locale : chinese (zh-cn) | ||
//! author : suupic : https://github.com/suupic | ||
//! author : Zeno Zeng : https://github.com/zenozeng | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('zh-cn', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var zh_cn = moment.defineLocale('zh-cn', { | ||
months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), | ||
@@ -125,2 +123,5 @@ monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), | ||
}); | ||
})); | ||
return zh_cn; | ||
})); |
@@ -1,15 +0,13 @@ | ||
// moment.js locale configuration | ||
// locale : traditional chinese (zh-tw) | ||
// author : Ben : https://github.com/ben-lin | ||
//! moment.js locale configuration | ||
//! locale : traditional chinese (zh-tw) | ||
//! author : Ben : https://github.com/ben-lin | ||
(function (factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
define(['moment'], factory); // AMD | ||
} else if (typeof exports === 'object') { | ||
module.exports = factory(require('../moment')); // Node | ||
} else { | ||
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global | ||
} | ||
}(function (moment) { | ||
return moment.defineLocale('zh-tw', { | ||
(function (global, factory) { | ||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('../moment')) : | ||
typeof define === 'function' && define.amd ? define(['moment'], factory) : | ||
factory(global.moment) | ||
}(this, function (moment) { 'use strict'; | ||
var zh_tw = moment.defineLocale('zh-tw', { | ||
months : '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split('_'), | ||
@@ -99,2 +97,5 @@ monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'), | ||
}); | ||
})); | ||
return zh_tw; | ||
})); |
//! moment.js | ||
//! version : 2.9.0 | ||
//! version : 2.10.2 | ||
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors | ||
//! license : MIT | ||
//! momentjs.com | ||
(function(a){function b(a,b,c){switch(arguments.length){case 2:return null!=a?a:b;case 3:return null!=a?a:null!=b?b:c;default:throw new Error("Implement me")}}function c(a,b){return Bb.call(a,b)}function d(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function e(a){vb.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+a)}function f(a,b){var c=!0;return o(function(){return c&&(e(a),c=!1),b.apply(this,arguments)},b)}function g(a,b){sc[a]||(e(b),sc[a]=!0)}function h(a,b){return function(c){return r(a.call(this,c),b)}}function i(a,b){return function(c){return this.localeData().ordinal(a.call(this,c),b)}}function j(a,b){var c,d,e=12*(b.year()-a.year())+(b.month()-a.month()),f=a.clone().add(e,"months");return 0>b-f?(c=a.clone().add(e-1,"months"),d=(b-f)/(f-c)):(c=a.clone().add(e+1,"months"),d=(b-f)/(c-f)),-(e+d)}function k(a,b,c){var d;return null==c?b:null!=a.meridiemHour?a.meridiemHour(b,c):null!=a.isPM?(d=a.isPM(c),d&&12>b&&(b+=12),d||12!==b||(b=0),b):b}function l(){}function m(a,b){b!==!1&&H(a),p(this,a),this._d=new Date(+a._d),uc===!1&&(uc=!0,vb.updateOffset(this),uc=!1)}function n(a){var b=A(a),c=b.year||0,d=b.quarter||0,e=b.month||0,f=b.week||0,g=b.day||0,h=b.hour||0,i=b.minute||0,j=b.second||0,k=b.millisecond||0;this._milliseconds=+k+1e3*j+6e4*i+36e5*h,this._days=+g+7*f,this._months=+e+3*d+12*c,this._data={},this._locale=vb.localeData(),this._bubble()}function o(a,b){for(var d in b)c(b,d)&&(a[d]=b[d]);return c(b,"toString")&&(a.toString=b.toString),c(b,"valueOf")&&(a.valueOf=b.valueOf),a}function p(a,b){var c,d,e;if("undefined"!=typeof b._isAMomentObject&&(a._isAMomentObject=b._isAMomentObject),"undefined"!=typeof b._i&&(a._i=b._i),"undefined"!=typeof b._f&&(a._f=b._f),"undefined"!=typeof b._l&&(a._l=b._l),"undefined"!=typeof b._strict&&(a._strict=b._strict),"undefined"!=typeof b._tzm&&(a._tzm=b._tzm),"undefined"!=typeof b._isUTC&&(a._isUTC=b._isUTC),"undefined"!=typeof b._offset&&(a._offset=b._offset),"undefined"!=typeof b._pf&&(a._pf=b._pf),"undefined"!=typeof b._locale&&(a._locale=b._locale),Kb.length>0)for(c in Kb)d=Kb[c],e=b[d],"undefined"!=typeof e&&(a[d]=e);return a}function q(a){return 0>a?Math.ceil(a):Math.floor(a)}function r(a,b,c){for(var d=""+Math.abs(a),e=a>=0;d.length<b;)d="0"+d;return(e?c?"+":"":"-")+d}function s(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function t(a,b){var c;return b=M(b,a),a.isBefore(b)?c=s(a,b):(c=s(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c}function u(a,b){return function(c,d){var e,f;return null===d||isNaN(+d)||(g(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period)."),f=c,c=d,d=f),c="string"==typeof c?+c:c,e=vb.duration(c,d),v(this,e,a),this}}function v(a,b,c,d){var e=b._milliseconds,f=b._days,g=b._months;d=null==d?!0:d,e&&a._d.setTime(+a._d+e*c),f&&pb(a,"Date",ob(a,"Date")+f*c),g&&nb(a,ob(a,"Month")+g*c),d&&vb.updateOffset(a,f||g)}function w(a){return"[object Array]"===Object.prototype.toString.call(a)}function x(a){return"[object Date]"===Object.prototype.toString.call(a)||a instanceof Date}function y(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;e>d;d++)(c&&a[d]!==b[d]||!c&&C(a[d])!==C(b[d]))&&g++;return g+f}function z(a){if(a){var b=a.toLowerCase().replace(/(.)s$/,"$1");a=lc[a]||mc[b]||b}return a}function A(a){var b,d,e={};for(d in a)c(a,d)&&(b=z(d),b&&(e[b]=a[d]));return e}function B(b){var c,d;if(0===b.indexOf("week"))c=7,d="day";else{if(0!==b.indexOf("month"))return;c=12,d="month"}vb[b]=function(e,f){var g,h,i=vb._locale[b],j=[];if("number"==typeof e&&(f=e,e=a),h=function(a){var b=vb().utc().set(d,a);return i.call(vb._locale,b,e||"")},null!=f)return h(f);for(g=0;c>g;g++)j.push(h(g));return j}}function C(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=b>=0?Math.floor(b):Math.ceil(b)),c}function D(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function E(a,b,c){return jb(vb([a,11,31+b-c]),b,c).week}function F(a){return G(a)?366:365}function G(a){return a%4===0&&a%100!==0||a%400===0}function H(a){var b;a._a&&-2===a._pf.overflow&&(b=a._a[Db]<0||a._a[Db]>11?Db:a._a[Eb]<1||a._a[Eb]>D(a._a[Cb],a._a[Db])?Eb:a._a[Fb]<0||a._a[Fb]>24||24===a._a[Fb]&&(0!==a._a[Gb]||0!==a._a[Hb]||0!==a._a[Ib])?Fb:a._a[Gb]<0||a._a[Gb]>59?Gb:a._a[Hb]<0||a._a[Hb]>59?Hb:a._a[Ib]<0||a._a[Ib]>999?Ib:-1,a._pf._overflowDayOfYear&&(Cb>b||b>Eb)&&(b=Eb),a._pf.overflow=b)}function I(b){return null==b._isValid&&(b._isValid=!isNaN(b._d.getTime())&&b._pf.overflow<0&&!b._pf.empty&&!b._pf.invalidMonth&&!b._pf.nullInput&&!b._pf.invalidFormat&&!b._pf.userInvalidated,b._strict&&(b._isValid=b._isValid&&0===b._pf.charsLeftOver&&0===b._pf.unusedTokens.length&&b._pf.bigHour===a)),b._isValid}function J(a){return a?a.toLowerCase().replace("_","-"):a}function K(a){for(var b,c,d,e,f=0;f<a.length;){for(e=J(a[f]).split("-"),b=e.length,c=J(a[f+1]),c=c?c.split("-"):null;b>0;){if(d=L(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&y(e,c,!0)>=b-1)break;b--}f++}return null}function L(a){var b=null;if(!Jb[a]&&Lb)try{b=vb.locale(),require("./locale/"+a),vb.locale(b)}catch(c){}return Jb[a]}function M(a,b){var c,d;return b._isUTC?(c=b.clone(),d=(vb.isMoment(a)||x(a)?+a:+vb(a))-+c,c._d.setTime(+c._d+d),vb.updateOffset(c,!1),c):vb(a).local()}function N(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function O(a){var b,c,d=a.match(Pb);for(b=0,c=d.length;c>b;b++)d[b]=rc[d[b]]?rc[d[b]]:N(d[b]);return function(e){var f="";for(b=0;c>b;b++)f+=d[b]instanceof Function?d[b].call(e,a):d[b];return f}}function P(a,b){return a.isValid()?(b=Q(b,a.localeData()),nc[b]||(nc[b]=O(b)),nc[b](a)):a.localeData().invalidDate()}function Q(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(Qb.lastIndex=0;d>=0&&Qb.test(a);)a=a.replace(Qb,c),Qb.lastIndex=0,d-=1;return a}function R(a,b){var c,d=b._strict;switch(a){case"Q":return _b;case"DDDD":return bc;case"YYYY":case"GGGG":case"gggg":return d?cc:Tb;case"Y":case"G":case"g":return ec;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return d?dc:Ub;case"S":if(d)return _b;case"SS":if(d)return ac;case"SSS":if(d)return bc;case"DDD":return Sb;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return Wb;case"a":case"A":return b._locale._meridiemParse;case"x":return Zb;case"X":return $b;case"Z":case"ZZ":return Xb;case"T":return Yb;case"SSSS":return Vb;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return d?ac:Rb;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return Rb;case"Do":return d?b._locale._ordinalParse:b._locale._ordinalParseLenient;default:return c=new RegExp($(Z(a.replace("\\","")),"i"))}}function S(a){a=a||"";var b=a.match(Xb)||[],c=b[b.length-1]||[],d=(c+"").match(jc)||["-",0,0],e=+(60*d[1])+C(d[2]);return"+"===d[0]?e:-e}function T(a,b,c){var d,e=c._a;switch(a){case"Q":null!=b&&(e[Db]=3*(C(b)-1));break;case"M":case"MM":null!=b&&(e[Db]=C(b)-1);break;case"MMM":case"MMMM":d=c._locale.monthsParse(b,a,c._strict),null!=d?e[Db]=d:c._pf.invalidMonth=b;break;case"D":case"DD":null!=b&&(e[Eb]=C(b));break;case"Do":null!=b&&(e[Eb]=C(parseInt(b.match(/\d{1,2}/)[0],10)));break;case"DDD":case"DDDD":null!=b&&(c._dayOfYear=C(b));break;case"YY":e[Cb]=vb.parseTwoDigitYear(b);break;case"YYYY":case"YYYYY":case"YYYYYY":e[Cb]=C(b);break;case"a":case"A":c._meridiem=b;break;case"h":case"hh":c._pf.bigHour=!0;case"H":case"HH":e[Fb]=C(b);break;case"m":case"mm":e[Gb]=C(b);break;case"s":case"ss":e[Hb]=C(b);break;case"S":case"SS":case"SSS":case"SSSS":e[Ib]=C(1e3*("0."+b));break;case"x":c._d=new Date(C(b));break;case"X":c._d=new Date(1e3*parseFloat(b));break;case"Z":case"ZZ":c._useUTC=!0,c._tzm=S(b);break;case"dd":case"ddd":case"dddd":d=c._locale.weekdaysParse(b),null!=d?(c._w=c._w||{},c._w.d=d):c._pf.invalidWeekday=b;break;case"w":case"ww":case"W":case"WW":case"d":case"e":case"E":a=a.substr(0,1);case"gggg":case"GGGG":case"GGGGG":a=a.substr(0,2),b&&(c._w=c._w||{},c._w[a]=C(b));break;case"gg":case"GG":c._w=c._w||{},c._w[a]=vb.parseTwoDigitYear(b)}}function U(a){var c,d,e,f,g,h,i;c=a._w,null!=c.GG||null!=c.W||null!=c.E?(g=1,h=4,d=b(c.GG,a._a[Cb],jb(vb(),1,4).year),e=b(c.W,1),f=b(c.E,1)):(g=a._locale._week.dow,h=a._locale._week.doy,d=b(c.gg,a._a[Cb],jb(vb(),g,h).year),e=b(c.w,1),null!=c.d?(f=c.d,g>f&&++e):f=null!=c.e?c.e+g:g),i=kb(d,e,f,h,g),a._a[Cb]=i.year,a._dayOfYear=i.dayOfYear}function V(a){var c,d,e,f,g=[];if(!a._d){for(e=X(a),a._w&&null==a._a[Eb]&&null==a._a[Db]&&U(a),a._dayOfYear&&(f=b(a._a[Cb],e[Cb]),a._dayOfYear>F(f)&&(a._pf._overflowDayOfYear=!0),d=fb(f,0,a._dayOfYear),a._a[Db]=d.getUTCMonth(),a._a[Eb]=d.getUTCDate()),c=0;3>c&&null==a._a[c];++c)a._a[c]=g[c]=e[c];for(;7>c;c++)a._a[c]=g[c]=null==a._a[c]?2===c?1:0:a._a[c];24===a._a[Fb]&&0===a._a[Gb]&&0===a._a[Hb]&&0===a._a[Ib]&&(a._nextDay=!0,a._a[Fb]=0),a._d=(a._useUTC?fb:eb).apply(null,g),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[Fb]=24)}}function W(a){var b;a._d||(b=A(a._i),a._a=[b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],V(a))}function X(a){var b=new Date;return a._useUTC?[b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()]:[b.getFullYear(),b.getMonth(),b.getDate()]}function Y(b){if(b._f===vb.ISO_8601)return void ab(b);b._a=[],b._pf.empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,j=0;for(e=Q(b._f,b._locale).match(Pb)||[],c=0;c<e.length;c++)f=e[c],d=(h.match(R(f,b))||[])[0],d&&(g=h.substr(0,h.indexOf(d)),g.length>0&&b._pf.unusedInput.push(g),h=h.slice(h.indexOf(d)+d.length),j+=d.length),rc[f]?(d?b._pf.empty=!1:b._pf.unusedTokens.push(f),T(f,d,b)):b._strict&&!d&&b._pf.unusedTokens.push(f);b._pf.charsLeftOver=i-j,h.length>0&&b._pf.unusedInput.push(h),b._pf.bigHour===!0&&b._a[Fb]<=12&&(b._pf.bigHour=a),b._a[Fb]=k(b._locale,b._a[Fb],b._meridiem),V(b),H(b)}function Z(a){return a.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e})}function $(a){return a.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function _(a){var b,c,e,f,g;if(0===a._f.length)return a._pf.invalidFormat=!0,void(a._d=new Date(0/0));for(f=0;f<a._f.length;f++)g=0,b=p({},a),null!=a._useUTC&&(b._useUTC=a._useUTC),b._pf=d(),b._f=a._f[f],Y(b),I(b)&&(g+=b._pf.charsLeftOver,g+=10*b._pf.unusedTokens.length,b._pf.score=g,(null==e||e>g)&&(e=g,c=b));o(a,c||b)}function ab(a){var b,c,d=a._i,e=fc.exec(d);if(e){for(a._pf.iso=!0,b=0,c=hc.length;c>b;b++)if(hc[b][1].exec(d)){a._f=hc[b][0]+(e[6]||" ");break}for(b=0,c=ic.length;c>b;b++)if(ic[b][1].exec(d)){a._f+=ic[b][0];break}d.match(Xb)&&(a._f+="Z"),Y(a)}else a._isValid=!1}function bb(a){ab(a),a._isValid===!1&&(delete a._isValid,vb.createFromInputFallback(a))}function cb(a,b){var c,d=[];for(c=0;c<a.length;++c)d.push(b(a[c],c));return d}function db(b){var c,d=b._i;d===a?b._d=new Date:x(d)?b._d=new Date(+d):null!==(c=Mb.exec(d))?b._d=new Date(+c[1]):"string"==typeof d?bb(b):w(d)?(b._a=cb(d.slice(0),function(a){return parseInt(a,10)}),V(b)):"object"==typeof d?W(b):"number"==typeof d?b._d=new Date(d):vb.createFromInputFallback(b)}function eb(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return 1970>a&&h.setFullYear(a),h}function fb(a){var b=new Date(Date.UTC.apply(null,arguments));return 1970>a&&b.setUTCFullYear(a),b}function gb(a,b){if("string"==typeof a)if(isNaN(a)){if(a=b.weekdaysParse(a),"number"!=typeof a)return null}else a=parseInt(a,10);return a}function hb(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function ib(a,b,c){var d=vb.duration(a).abs(),e=Ab(d.as("s")),f=Ab(d.as("m")),g=Ab(d.as("h")),h=Ab(d.as("d")),i=Ab(d.as("M")),j=Ab(d.as("y")),k=e<oc.s&&["s",e]||1===f&&["m"]||f<oc.m&&["mm",f]||1===g&&["h"]||g<oc.h&&["hh",g]||1===h&&["d"]||h<oc.d&&["dd",h]||1===i&&["M"]||i<oc.M&&["MM",i]||1===j&&["y"]||["yy",j];return k[2]=b,k[3]=+a>0,k[4]=c,hb.apply({},k)}function jb(a,b,c){var d,e=c-b,f=c-a.day();return f>e&&(f-=7),e-7>f&&(f+=7),d=vb(a).add(f,"d"),{week:Math.ceil(d.dayOfYear()/7),year:d.year()}}function kb(a,b,c,d,e){var f,g,h=fb(a,0,1).getUTCDay();return h=0===h?7:h,c=null!=c?c:e,f=e-h+(h>d?7:0)-(e>h?7:0),g=7*(b-1)+(c-e)+f+1,{year:g>0?a:a-1,dayOfYear:g>0?g:F(a-1)+g}}function lb(b){var c,d=b._i,e=b._f;return b._locale=b._locale||vb.localeData(b._l),null===d||e===a&&""===d?vb.invalid({nullInput:!0}):("string"==typeof d&&(b._i=d=b._locale.preparse(d)),vb.isMoment(d)?new m(d,!0):(e?w(e)?_(b):Y(b):db(b),c=new m(b),c._nextDay&&(c.add(1,"d"),c._nextDay=a),c))}function mb(a,b){var c,d;if(1===b.length&&w(b[0])&&(b=b[0]),!b.length)return vb();for(c=b[0],d=1;d<b.length;++d)b[d][a](c)&&(c=b[d]);return c}function nb(a,b){var c;return"string"==typeof b&&(b=a.localeData().monthsParse(b),"number"!=typeof b)?a:(c=Math.min(a.date(),D(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a)}function ob(a,b){return a._d["get"+(a._isUTC?"UTC":"")+b]()}function pb(a,b,c){return"Month"===b?nb(a,c):a._d["set"+(a._isUTC?"UTC":"")+b](c)}function qb(a,b){return function(c){return null!=c?(pb(this,a,c),vb.updateOffset(this,b),this):ob(this,a)}}function rb(a){return 400*a/146097}function sb(a){return 146097*a/400}function tb(a){vb.duration.fn[a]=function(){return this._data[a]}}function ub(a){"undefined"==typeof ender&&(wb=zb.moment,zb.moment=a?f("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.",vb):vb)}for(var vb,wb,xb,yb="2.9.0",zb="undefined"==typeof global||"undefined"!=typeof window&&window!==global.window?this:global,Ab=Math.round,Bb=Object.prototype.hasOwnProperty,Cb=0,Db=1,Eb=2,Fb=3,Gb=4,Hb=5,Ib=6,Jb={},Kb=[],Lb="undefined"!=typeof module&&module&&module.exports,Mb=/^\/?Date\((\-?\d+)/i,Nb=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Ob=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Pb=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|x|X|zz?|ZZ?|.)/g,Qb=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Rb=/\d\d?/,Sb=/\d{1,3}/,Tb=/\d{1,4}/,Ub=/[+\-]?\d{1,6}/,Vb=/\d+/,Wb=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Xb=/Z|[\+\-]\d\d:?\d\d/gi,Yb=/T/i,Zb=/[\+\-]?\d+/,$b=/[\+\-]?\d+(\.\d{1,3})?/,_b=/\d/,ac=/\d\d/,bc=/\d{3}/,cc=/\d{4}/,dc=/[+-]?\d{6}/,ec=/[+-]?\d+/,fc=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,gc="YYYY-MM-DDTHH:mm:ssZ",hc=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],ic=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],jc=/([\+\-]|\d\d)/gi,kc=("Date|Hours|Minutes|Seconds|Milliseconds".split("|"),{Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6}),lc={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},mc={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},nc={},oc={s:45,m:45,h:22,d:26,M:11},pc="DDD w W M D d".split(" "),qc="M D H h m s w W".split(" "),rc={M:function(){return this.month()+1},MMM:function(a){return this.localeData().monthsShort(this,a)},MMMM:function(a){return this.localeData().months(this,a)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(a){return this.localeData().weekdaysMin(this,a)},ddd:function(a){return this.localeData().weekdaysShort(this,a)},dddd:function(a){return this.localeData().weekdays(this,a)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return r(this.year()%100,2)},YYYY:function(){return r(this.year(),4)},YYYYY:function(){return r(this.year(),5)},YYYYYY:function(){var a=this.year(),b=a>=0?"+":"-";return b+r(Math.abs(a),6)},gg:function(){return r(this.weekYear()%100,2)},gggg:function(){return r(this.weekYear(),4)},ggggg:function(){return r(this.weekYear(),5)},GG:function(){return r(this.isoWeekYear()%100,2)},GGGG:function(){return r(this.isoWeekYear(),4)},GGGGG:function(){return r(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.localeData().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return C(this.milliseconds()/100)},SS:function(){return r(C(this.milliseconds()/10),2)},SSS:function(){return r(this.milliseconds(),3)},SSSS:function(){return r(this.milliseconds(),3)},Z:function(){var a=this.utcOffset(),b="+";return 0>a&&(a=-a,b="-"),b+r(C(a/60),2)+":"+r(C(a)%60,2)},ZZ:function(){var a=this.utcOffset(),b="+";return 0>a&&(a=-a,b="-"),b+r(C(a/60),2)+r(C(a)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},x:function(){return this.valueOf()},X:function(){return this.unix()},Q:function(){return this.quarter()}},sc={},tc=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"],uc=!1;pc.length;)xb=pc.pop(),rc[xb+"o"]=i(rc[xb],xb);for(;qc.length;)xb=qc.pop(),rc[xb+xb]=h(rc[xb],2);rc.DDDD=h(rc.DDD,3),o(l.prototype,{set:function(a){var b,c;for(c in a)b=a[c],"function"==typeof b?this[c]=b:this["_"+c]=b;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(a){return this._months[a.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(a){return this._monthsShort[a.month()]},monthsParse:function(a,b,c){var d,e,f;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),d=0;12>d;d++){if(e=vb.utc([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp("^"+this.months(e,"").replace(".","")+"$","i"),this._shortMonthsParse[d]=new RegExp("^"+this.monthsShort(e,"").replace(".","")+"$","i")),c||this._monthsParse[d]||(f="^"+this.months(e,"")+"|^"+this.monthsShort(e,""),this._monthsParse[d]=new RegExp(f.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[d].test(a))return d;if(c&&"MMM"===b&&this._shortMonthsParse[d].test(a))return d;if(!c&&this._monthsParse[d].test(a))return d}},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(a){return this._weekdays[a.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(a){return this._weekdaysShort[a.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(a){return this._weekdaysMin[a.day()]},weekdaysParse:function(a){var b,c,d;for(this._weekdaysParse||(this._weekdaysParse=[]),b=0;7>b;b++)if(this._weekdaysParse[b]||(c=vb([2e3,1]).day(b),d="^"+this.weekdays(c,"")+"|^"+this.weekdaysShort(c,"")+"|^"+this.weekdaysMin(c,""),this._weekdaysParse[b]=new RegExp(d.replace(".",""),"i")),this._weekdaysParse[b].test(a))return b},_longDateFormat:{LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},longDateFormat:function(a){var b=this._longDateFormat[a];return!b&&this._longDateFormat[a.toUpperCase()]&&(b=this._longDateFormat[a.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a]=b),b},isPM:function(a){return"p"===(a+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(a,b,c){var d=this._calendar[a];return"function"==typeof d?d.apply(b,[c]):d},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(a,b,c,d){var e=this._relativeTime[c];return"function"==typeof e?e(a,b,c,d):e.replace(/%d/i,a)},pastFuture:function(a,b){var c=this._relativeTime[a>0?"future":"past"];return"function"==typeof c?c(b):c.replace(/%s/i,b)},ordinal:function(a){return this._ordinal.replace("%d",a)},_ordinal:"%d",_ordinalParse:/\d{1,2}/,preparse:function(a){return a},postformat:function(a){return a},week:function(a){return jb(a,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},firstDayOfWeek:function(){return this._week.dow},firstDayOfYear:function(){return this._week.doy},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),vb=function(b,c,e,f){var g;return"boolean"==typeof e&&(f=e,e=a),g={},g._isAMomentObject=!0,g._i=b,g._f=c,g._l=e,g._strict=f,g._isUTC=!1,g._pf=d(),lb(g)},vb.suppressDeprecationWarnings=!1,vb.createFromInputFallback=f("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))}),vb.min=function(){var a=[].slice.call(arguments,0);return mb("isBefore",a)},vb.max=function(){var a=[].slice.call(arguments,0);return mb("isAfter",a)},vb.utc=function(b,c,e,f){var g;return"boolean"==typeof e&&(f=e,e=a),g={},g._isAMomentObject=!0,g._useUTC=!0,g._isUTC=!0,g._l=e,g._i=b,g._f=c,g._strict=f,g._pf=d(),lb(g).utc()},vb.unix=function(a){return vb(1e3*a)},vb.duration=function(a,b){var d,e,f,g,h=a,i=null;return vb.isDuration(a)?h={ms:a._milliseconds,d:a._days,M:a._months}:"number"==typeof a?(h={},b?h[b]=a:h.milliseconds=a):(i=Nb.exec(a))?(d="-"===i[1]?-1:1,h={y:0,d:C(i[Eb])*d,h:C(i[Fb])*d,m:C(i[Gb])*d,s:C(i[Hb])*d,ms:C(i[Ib])*d}):(i=Ob.exec(a))?(d="-"===i[1]?-1:1,f=function(a){var b=a&&parseFloat(a.replace(",","."));return(isNaN(b)?0:b)*d},h={y:f(i[2]),M:f(i[3]),d:f(i[4]),h:f(i[5]),m:f(i[6]),s:f(i[7]),w:f(i[8])}):null==h?h={}:"object"==typeof h&&("from"in h||"to"in h)&&(g=t(vb(h.from),vb(h.to)),h={},h.ms=g.milliseconds,h.M=g.months),e=new n(h),vb.isDuration(a)&&c(a,"_locale")&&(e._locale=a._locale),e},vb.version=yb,vb.defaultFormat=gc,vb.ISO_8601=function(){},vb.momentProperties=Kb,vb.updateOffset=function(){},vb.relativeTimeThreshold=function(b,c){return oc[b]===a?!1:c===a?oc[b]:(oc[b]=c,!0)},vb.lang=f("moment.lang is deprecated. Use moment.locale instead.",function(a,b){return vb.locale(a,b)}),vb.locale=function(a,b){var c;return a&&(c="undefined"!=typeof b?vb.defineLocale(a,b):vb.localeData(a),c&&(vb.duration._locale=vb._locale=c)),vb._locale._abbr},vb.defineLocale=function(a,b){return null!==b?(b.abbr=a,Jb[a]||(Jb[a]=new l),Jb[a].set(b),vb.locale(a),Jb[a]):(delete Jb[a],null)},vb.langData=f("moment.langData is deprecated. Use moment.localeData instead.",function(a){return vb.localeData(a)}),vb.localeData=function(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return vb._locale;if(!w(a)){if(b=L(a))return b;a=[a]}return K(a)},vb.isMoment=function(a){return a instanceof m||null!=a&&c(a,"_isAMomentObject")},vb.isDuration=function(a){return a instanceof n};for(xb=tc.length-1;xb>=0;--xb)B(tc[xb]);vb.normalizeUnits=function(a){return z(a)},vb.invalid=function(a){var b=vb.utc(0/0);return null!=a?o(b._pf,a):b._pf.userInvalidated=!0,b},vb.parseZone=function(){return vb.apply(null,arguments).parseZone()},vb.parseTwoDigitYear=function(a){return C(a)+(C(a)>68?1900:2e3)},vb.isDate=x,o(vb.fn=m.prototype,{clone:function(){return vb(this)},valueOf:function(){return+this._d-6e4*(this._offset||0)},unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var a=vb(this).utc();return 0<a.year()&&a.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():P(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):P(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var a=this;return[a.year(),a.month(),a.date(),a.hours(),a.minutes(),a.seconds(),a.milliseconds()]},isValid:function(){return I(this)},isDSTShifted:function(){return this._a?this.isValid()&&y(this._a,(this._isUTC?vb.utc(this._a):vb(this._a)).toArray())>0:!1},parsingFlags:function(){return o({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(a){return this.utcOffset(0,a)},local:function(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(this._dateUtcOffset(),"m")),this},format:function(a){var b=P(this,a||vb.defaultFormat);return this.localeData().postformat(b)},add:u(1,"add"),subtract:u(-1,"subtract"),diff:function(a,b,c){var d,e,f=M(a,this),g=6e4*(f.utcOffset()-this.utcOffset());return b=z(b),"year"===b||"month"===b||"quarter"===b?(e=j(this,f),"quarter"===b?e/=3:"year"===b&&(e/=12)):(d=this-f,e="second"===b?d/1e3:"minute"===b?d/6e4:"hour"===b?d/36e5:"day"===b?(d-g)/864e5:"week"===b?(d-g)/6048e5:d),c?e:q(e)},from:function(a,b){return vb.duration({to:this,from:a}).locale(this.locale()).humanize(!b)},fromNow:function(a){return this.from(vb(),a)},calendar:function(a){var b=a||vb(),c=M(b,this).startOf("day"),d=this.diff(c,"days",!0),e=-6>d?"sameElse":-1>d?"lastWeek":0>d?"lastDay":1>d?"sameDay":2>d?"nextDay":7>d?"nextWeek":"sameElse";return this.format(this.localeData().calendar(e,this,vb(b)))},isLeapYear:function(){return G(this.year())},isDST:function(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},day:function(a){var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=gb(a,this.localeData()),this.add(a-b,"d")):b},month:qb("Month",!0),startOf:function(a){switch(a=z(a)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===a?this.weekday(0):"isoWeek"===a&&this.isoWeekday(1),"quarter"===a&&this.month(3*Math.floor(this.month()/3)),this},endOf:function(b){return b=z(b),b===a||"millisecond"===b?this:this.startOf(b).add(1,"isoWeek"===b?"week":b).subtract(1,"ms")},isAfter:function(a,b){var c;return b=z("undefined"!=typeof b?b:"millisecond"),"millisecond"===b?(a=vb.isMoment(a)?a:vb(a),+this>+a):(c=vb.isMoment(a)?+a:+vb(a),c<+this.clone().startOf(b))},isBefore:function(a,b){var c;return b=z("undefined"!=typeof b?b:"millisecond"),"millisecond"===b?(a=vb.isMoment(a)?a:vb(a),+a>+this):(c=vb.isMoment(a)?+a:+vb(a),+this.clone().endOf(b)<c)},isBetween:function(a,b,c){return this.isAfter(a,c)&&this.isBefore(b,c)},isSame:function(a,b){var c;return b=z(b||"millisecond"),"millisecond"===b?(a=vb.isMoment(a)?a:vb(a),+this===+a):(c=+vb(a),+this.clone().startOf(b)<=c&&c<=+this.clone().endOf(b))},min:f("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(a){return a=vb.apply(null,arguments),this>a?this:a}),max:f("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(a){return a=vb.apply(null,arguments),a>this?this:a}),zone:f("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",function(a,b){return null!=a?("string"!=typeof a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()}),utcOffset:function(a,b){var c,d=this._offset||0;return null!=a?("string"==typeof a&&(a=S(a)),Math.abs(a)<16&&(a=60*a),!this._isUTC&&b&&(c=this._dateUtcOffset()),this._offset=a,this._isUTC=!0,null!=c&&this.add(c,"m"),d!==a&&(!b||this._changeInProgress?v(this,vb.duration(a-d,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,vb.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?d:this._dateUtcOffset()},isLocal:function(){return!this._isUTC},isUtcOffset:function(){return this._isUTC},isUtc:function(){return this._isUTC&&0===this._offset},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(S(this._i)),this},hasAlignedHourOffset:function(a){return a=a?vb(a).utcOffset():0,(this.utcOffset()-a)%60===0},daysInMonth:function(){return D(this.year(),this.month())},dayOfYear:function(a){var b=Ab((vb(this).startOf("day")-vb(this).startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")},quarter:function(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)},weekYear:function(a){var b=jb(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==a?b:this.add(a-b,"y")},isoWeekYear:function(a){var b=jb(this,1,4).year;return null==a?b:this.add(a-b,"y")},week:function(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")},isoWeek:function(a){var b=jb(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")},weekday:function(a){var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")},isoWeekday:function(a){return null==a?this.day()||7:this.day(this.day()%7?a:a-7)},isoWeeksInYear:function(){return E(this.year(),1,4)},weeksInYear:function(){var a=this.localeData()._week;return E(this.year(),a.dow,a.doy)},get:function(a){return a=z(a),this[a]()},set:function(a,b){var c;if("object"==typeof a)for(c in a)this.set(c,a[c]);else a=z(a),"function"==typeof this[a]&&this[a](b);return this},locale:function(b){var c;return b===a?this._locale._abbr:(c=vb.localeData(b),null!=c&&(this._locale=c),this)},lang:f("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(b){return b===a?this.localeData():this.locale(b)}),localeData:function(){return this._locale},_dateUtcOffset:function(){return 15*-Math.round(this._d.getTimezoneOffset()/15)}}),vb.fn.millisecond=vb.fn.milliseconds=qb("Milliseconds",!1),vb.fn.second=vb.fn.seconds=qb("Seconds",!1),vb.fn.minute=vb.fn.minutes=qb("Minutes",!1),vb.fn.hour=vb.fn.hours=qb("Hours",!0),vb.fn.date=qb("Date",!0),vb.fn.dates=f("dates accessor is deprecated. Use date instead.",qb("Date",!0)),vb.fn.year=qb("FullYear",!0),vb.fn.years=f("years accessor is deprecated. Use year instead.",qb("FullYear",!0)),vb.fn.days=vb.fn.day,vb.fn.months=vb.fn.month,vb.fn.weeks=vb.fn.week,vb.fn.isoWeeks=vb.fn.isoWeek,vb.fn.quarters=vb.fn.quarter,vb.fn.toJSON=vb.fn.toISOString,vb.fn.isUTC=vb.fn.isUtc,o(vb.duration.fn=n.prototype,{_bubble:function(){var a,b,c,d=this._milliseconds,e=this._days,f=this._months,g=this._data,h=0;g.milliseconds=d%1e3,a=q(d/1e3),g.seconds=a%60,b=q(a/60),g.minutes=b%60,c=q(b/60),g.hours=c%24,e+=q(c/24),h=q(rb(e)),e-=q(sb(h)),f+=q(e/30),e%=30,h+=q(f/12),f%=12,g.days=e,g.months=f,g.years=h},abs:function(){return this._milliseconds=Math.abs(this._milliseconds),this._days=Math.abs(this._days),this._months=Math.abs(this._months),this._data.milliseconds=Math.abs(this._data.milliseconds),this._data.seconds=Math.abs(this._data.seconds),this._data.minutes=Math.abs(this._data.minutes),this._data.hours=Math.abs(this._data.hours),this._data.months=Math.abs(this._data.months),this._data.years=Math.abs(this._data.years),this},weeks:function(){return q(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*C(this._months/12) | ||
},humanize:function(a){var b=ib(this,!a,this.localeData());return a&&(b=this.localeData().pastFuture(+this,b)),this.localeData().postformat(b)},add:function(a,b){var c=vb.duration(a,b);return this._milliseconds+=c._milliseconds,this._days+=c._days,this._months+=c._months,this._bubble(),this},subtract:function(a,b){var c=vb.duration(a,b);return this._milliseconds-=c._milliseconds,this._days-=c._days,this._months-=c._months,this._bubble(),this},get:function(a){return a=z(a),this[a.toLowerCase()+"s"]()},as:function(a){var b,c;if(a=z(a),"month"===a||"year"===a)return b=this._days+this._milliseconds/864e5,c=this._months+12*rb(b),"month"===a?c:c/12;switch(b=this._days+Math.round(sb(this._months/12)),a){case"week":return b/7+this._milliseconds/6048e5;case"day":return b+this._milliseconds/864e5;case"hour":return 24*b+this._milliseconds/36e5;case"minute":return 24*b*60+this._milliseconds/6e4;case"second":return 24*b*60*60+this._milliseconds/1e3;case"millisecond":return Math.floor(24*b*60*60*1e3)+this._milliseconds;default:throw new Error("Unknown unit "+a)}},lang:vb.fn.lang,locale:vb.fn.locale,toIsoString:f("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",function(){return this.toISOString()}),toISOString:function(){var a=Math.abs(this.years()),b=Math.abs(this.months()),c=Math.abs(this.days()),d=Math.abs(this.hours()),e=Math.abs(this.minutes()),f=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(a?a+"Y":"")+(b?b+"M":"")+(c?c+"D":"")+(d||e||f?"T":"")+(d?d+"H":"")+(e?e+"M":"")+(f?f+"S":""):"P0D"},localeData:function(){return this._locale},toJSON:function(){return this.toISOString()}}),vb.duration.fn.toString=vb.duration.fn.toISOString;for(xb in kc)c(kc,xb)&&tb(xb.toLowerCase());vb.duration.fn.asMilliseconds=function(){return this.as("ms")},vb.duration.fn.asSeconds=function(){return this.as("s")},vb.duration.fn.asMinutes=function(){return this.as("m")},vb.duration.fn.asHours=function(){return this.as("h")},vb.duration.fn.asDays=function(){return this.as("d")},vb.duration.fn.asWeeks=function(){return this.as("weeks")},vb.duration.fn.asMonths=function(){return this.as("M")},vb.duration.fn.asYears=function(){return this.as("y")},vb.locale("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===C(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),Lb?module.exports=vb:"function"==typeof define&&define.amd?(define(function(a,b,c){return c.config&&c.config()&&c.config().noGlobal===!0&&(zb.moment=wb),vb}),ub(!0)):ub()}).call(this); | ||
!function(a,b){"object"==typeof exports&&"undefined"!=typeof module?module.exports=b():"function"==typeof define&&define.amd?define(b):a.moment=b()}(this,function(){"use strict";function a(){return Ac.apply(null,arguments)}function b(a){Ac=a}function c(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function d(a){return"[object Array]"===Object.prototype.toString.call(a)}function e(a){return"[object Date]"===Object.prototype.toString.call(a)||a instanceof Date}function f(a,b){var c,d=[];for(c=0;c<a.length;++c)d.push(b(a[c],c));return d}function g(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function h(a,b){for(var c in b)g(b,c)&&(a[c]=b[c]);return g(b,"toString")&&(a.toString=b.toString),g(b,"valueOf")&&(a.valueOf=b.valueOf),a}function i(a,b,c,d){return ya(a,b,c,d,!0).utc()}function j(a){return null==a._isValid&&(a._isValid=!isNaN(a._d.getTime())&&a._pf.overflow<0&&!a._pf.empty&&!a._pf.invalidMonth&&!a._pf.nullInput&&!a._pf.invalidFormat&&!a._pf.userInvalidated,a._strict&&(a._isValid=a._isValid&&0===a._pf.charsLeftOver&&0===a._pf.unusedTokens.length&&void 0===a._pf.bigHour)),a._isValid}function k(a){var b=i(0/0);return null!=a?h(b._pf,a):b._pf.userInvalidated=!0,b}function l(a,b){var c,d,e;if("undefined"!=typeof b._isAMomentObject&&(a._isAMomentObject=b._isAMomentObject),"undefined"!=typeof b._i&&(a._i=b._i),"undefined"!=typeof b._f&&(a._f=b._f),"undefined"!=typeof b._l&&(a._l=b._l),"undefined"!=typeof b._strict&&(a._strict=b._strict),"undefined"!=typeof b._tzm&&(a._tzm=b._tzm),"undefined"!=typeof b._isUTC&&(a._isUTC=b._isUTC),"undefined"!=typeof b._offset&&(a._offset=b._offset),"undefined"!=typeof b._pf&&(a._pf=b._pf),"undefined"!=typeof b._locale&&(a._locale=b._locale),Cc.length>0)for(c in Cc)d=Cc[c],e=b[d],"undefined"!=typeof e&&(a[d]=e);return a}function m(b){l(this,b),this._d=new Date(+b._d),Dc===!1&&(Dc=!0,a.updateOffset(this),Dc=!1)}function n(a){return a instanceof m||null!=a&&g(a,"_isAMomentObject")}function o(a){var b=+a,c=0;return 0!==b&&isFinite(b)&&(c=b>=0?Math.floor(b):Math.ceil(b)),c}function p(a,b,c){var d,e=Math.min(a.length,b.length),f=Math.abs(a.length-b.length),g=0;for(d=0;e>d;d++)(c&&a[d]!==b[d]||!c&&o(a[d])!==o(b[d]))&&g++;return g+f}function q(){}function r(a){return a?a.toLowerCase().replace("_","-"):a}function s(a){for(var b,c,d,e,f=0;f<a.length;){for(e=r(a[f]).split("-"),b=e.length,c=r(a[f+1]),c=c?c.split("-"):null;b>0;){if(d=t(e.slice(0,b).join("-")))return d;if(c&&c.length>=b&&p(e,c,!0)>=b-1)break;b--}f++}return null}function t(a){var b=null;if(!Ec[a]&&"undefined"!=typeof module&&module&&module.exports)try{b=Bc._abbr,require("./locale/"+a),u(b)}catch(c){}return Ec[a]}function u(a,b){var c;return a&&(c="undefined"==typeof b?w(a):v(a,b),c&&(Bc=c)),Bc._abbr}function v(a,b){return null!==b?(b.abbr=a,Ec[a]||(Ec[a]=new q),Ec[a].set(b),u(a),Ec[a]):(delete Ec[a],null)}function w(a){var b;if(a&&a._locale&&a._locale._abbr&&(a=a._locale._abbr),!a)return Bc;if(!d(a)){if(b=t(a))return b;a=[a]}return s(a)}function x(a,b){var c=a.toLowerCase();Fc[c]=Fc[c+"s"]=Fc[b]=a}function y(a){return"string"==typeof a?Fc[a]||Fc[a.toLowerCase()]:void 0}function z(a){var b,c,d={};for(c in a)g(a,c)&&(b=y(c),b&&(d[b]=a[c]));return d}function A(b,c){return function(d){return null!=d?(C(this,b,d),a.updateOffset(this,c),this):B(this,b)}}function B(a,b){return a._d["get"+(a._isUTC?"UTC":"")+b]()}function C(a,b,c){return a._d["set"+(a._isUTC?"UTC":"")+b](c)}function D(a,b){var c;if("object"==typeof a)for(c in a)this.set(c,a[c]);else if(a=y(a),"function"==typeof this[a])return this[a](b);return this}function E(a,b,c){for(var d=""+Math.abs(a),e=a>=0;d.length<b;)d="0"+d;return(e?c?"+":"":"-")+d}function F(a,b,c,d){var e=d;"string"==typeof d&&(e=function(){return this[d]()}),a&&(Jc[a]=e),b&&(Jc[b[0]]=function(){return E(e.apply(this,arguments),b[1],b[2])}),c&&(Jc[c]=function(){return this.localeData().ordinal(e.apply(this,arguments),a)})}function G(a){return a.match(/\[[\s\S]/)?a.replace(/^\[|\]$/g,""):a.replace(/\\/g,"")}function H(a){var b,c,d=a.match(Gc);for(b=0,c=d.length;c>b;b++)d[b]=Jc[d[b]]?Jc[d[b]]:G(d[b]);return function(e){var f="";for(b=0;c>b;b++)f+=d[b]instanceof Function?d[b].call(e,a):d[b];return f}}function I(a,b){return a.isValid()?(b=J(b,a.localeData()),Ic[b]||(Ic[b]=H(b)),Ic[b](a)):a.localeData().invalidDate()}function J(a,b){function c(a){return b.longDateFormat(a)||a}var d=5;for(Hc.lastIndex=0;d>=0&&Hc.test(a);)a=a.replace(Hc,c),Hc.lastIndex=0,d-=1;return a}function K(a,b,c){Yc[a]="function"==typeof b?b:function(a){return a&&c?c:b}}function L(a,b){return g(Yc,a)?Yc[a](b._strict,b._locale):new RegExp(M(a))}function M(a){return a.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(a,b,c,d,e){return b||c||d||e}).replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function N(a,b){var c,d=b;for("string"==typeof a&&(a=[a]),"number"==typeof b&&(d=function(a,c){c[b]=o(a)}),c=0;c<a.length;c++)Zc[a[c]]=d}function O(a,b){N(a,function(a,c,d,e){d._w=d._w||{},b(a,d._w,d,e)})}function P(a,b,c){null!=b&&g(Zc,a)&&Zc[a](b,c._a,c,a)}function Q(a,b){return new Date(Date.UTC(a,b+1,0)).getUTCDate()}function R(a){return this._months[a.month()]}function S(a){return this._monthsShort[a.month()]}function T(a,b,c){var d,e,f;for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),d=0;12>d;d++){if(e=i([2e3,d]),c&&!this._longMonthsParse[d]&&(this._longMonthsParse[d]=new RegExp("^"+this.months(e,"").replace(".","")+"$","i"),this._shortMonthsParse[d]=new RegExp("^"+this.monthsShort(e,"").replace(".","")+"$","i")),c||this._monthsParse[d]||(f="^"+this.months(e,"")+"|^"+this.monthsShort(e,""),this._monthsParse[d]=new RegExp(f.replace(".",""),"i")),c&&"MMMM"===b&&this._longMonthsParse[d].test(a))return d;if(c&&"MMM"===b&&this._shortMonthsParse[d].test(a))return d;if(!c&&this._monthsParse[d].test(a))return d}}function U(a,b){var c;return"string"==typeof b&&(b=a.localeData().monthsParse(b),"number"!=typeof b)?a:(c=Math.min(a.date(),Q(a.year(),b)),a._d["set"+(a._isUTC?"UTC":"")+"Month"](b,c),a)}function V(b){return null!=b?(U(this,b),a.updateOffset(this,!0),this):B(this,"Month")}function W(){return Q(this.year(),this.month())}function X(a){var b,c=a._a;return c&&-2===a._pf.overflow&&(b=c[_c]<0||c[_c]>11?_c:c[ad]<1||c[ad]>Q(c[$c],c[_c])?ad:c[bd]<0||c[bd]>24||24===c[bd]&&(0!==c[cd]||0!==c[dd]||0!==c[ed])?bd:c[cd]<0||c[cd]>59?cd:c[dd]<0||c[dd]>59?dd:c[ed]<0||c[ed]>999?ed:-1,a._pf._overflowDayOfYear&&($c>b||b>ad)&&(b=ad),a._pf.overflow=b),a}function Y(b){a.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+b)}function Z(a,b){var c=!0;return h(function(){return c&&(Y(a),c=!1),b.apply(this,arguments)},b)}function $(a,b){hd[a]||(Y(b),hd[a]=!0)}function _(a){var b,c,d=a._i,e=id.exec(d);if(e){for(a._pf.iso=!0,b=0,c=jd.length;c>b;b++)if(jd[b][1].exec(d)){a._f=jd[b][0]+(e[6]||" ");break}for(b=0,c=kd.length;c>b;b++)if(kd[b][1].exec(d)){a._f+=kd[b][0];break}d.match(Vc)&&(a._f+="Z"),sa(a)}else a._isValid=!1}function aa(b){var c=ld.exec(b._i);return null!==c?void(b._d=new Date(+c[1])):(_(b),void(b._isValid===!1&&(delete b._isValid,a.createFromInputFallback(b))))}function ba(a,b,c,d,e,f,g){var h=new Date(a,b,c,d,e,f,g);return 1970>a&&h.setFullYear(a),h}function ca(a){var b=new Date(Date.UTC.apply(null,arguments));return 1970>a&&b.setUTCFullYear(a),b}function da(a){return ea(a)?366:365}function ea(a){return a%4===0&&a%100!==0||a%400===0}function fa(){return ea(this.year())}function ga(a,b,c){var d,e=c-b,f=c-a.day();return f>e&&(f-=7),e-7>f&&(f+=7),d=za(a).add(f,"d"),{week:Math.ceil(d.dayOfYear()/7),year:d.year()}}function ha(a){return ga(a,this._week.dow,this._week.doy).week}function ia(){return this._week.dow}function ja(){return this._week.doy}function ka(a){var b=this.localeData().week(this);return null==a?b:this.add(7*(a-b),"d")}function la(a){var b=ga(this,1,4).week;return null==a?b:this.add(7*(a-b),"d")}function ma(a,b,c,d,e){var f,g,h=ca(a,0,1).getUTCDay();return h=0===h?7:h,c=null!=c?c:e,f=e-h+(h>d?7:0)-(e>h?7:0),g=7*(b-1)+(c-e)+f+1,{year:g>0?a:a-1,dayOfYear:g>0?g:da(a-1)+g}}function na(a){var b=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==a?b:this.add(a-b,"d")}function oa(a,b,c){return null!=a?a:null!=b?b:c}function pa(a){var b=new Date;return a._useUTC?[b.getUTCFullYear(),b.getUTCMonth(),b.getUTCDate()]:[b.getFullYear(),b.getMonth(),b.getDate()]}function qa(a){var b,c,d,e,f=[];if(!a._d){for(d=pa(a),a._w&&null==a._a[ad]&&null==a._a[_c]&&ra(a),a._dayOfYear&&(e=oa(a._a[$c],d[$c]),a._dayOfYear>da(e)&&(a._pf._overflowDayOfYear=!0),c=ca(e,0,a._dayOfYear),a._a[_c]=c.getUTCMonth(),a._a[ad]=c.getUTCDate()),b=0;3>b&&null==a._a[b];++b)a._a[b]=f[b]=d[b];for(;7>b;b++)a._a[b]=f[b]=null==a._a[b]?2===b?1:0:a._a[b];24===a._a[bd]&&0===a._a[cd]&&0===a._a[dd]&&0===a._a[ed]&&(a._nextDay=!0,a._a[bd]=0),a._d=(a._useUTC?ca:ba).apply(null,f),null!=a._tzm&&a._d.setUTCMinutes(a._d.getUTCMinutes()-a._tzm),a._nextDay&&(a._a[bd]=24)}}function ra(a){var b,c,d,e,f,g,h;b=a._w,null!=b.GG||null!=b.W||null!=b.E?(f=1,g=4,c=oa(b.GG,a._a[$c],ga(za(),1,4).year),d=oa(b.W,1),e=oa(b.E,1)):(f=a._locale._week.dow,g=a._locale._week.doy,c=oa(b.gg,a._a[$c],ga(za(),f,g).year),d=oa(b.w,1),null!=b.d?(e=b.d,f>e&&++d):e=null!=b.e?b.e+f:f),h=ma(c,d,e,g,f),a._a[$c]=h.year,a._dayOfYear=h.dayOfYear}function sa(b){if(b._f===a.ISO_8601)return void _(b);b._a=[],b._pf.empty=!0;var c,d,e,f,g,h=""+b._i,i=h.length,j=0;for(e=J(b._f,b._locale).match(Gc)||[],c=0;c<e.length;c++)f=e[c],d=(h.match(L(f,b))||[])[0],d&&(g=h.substr(0,h.indexOf(d)),g.length>0&&b._pf.unusedInput.push(g),h=h.slice(h.indexOf(d)+d.length),j+=d.length),Jc[f]?(d?b._pf.empty=!1:b._pf.unusedTokens.push(f),P(f,d,b)):b._strict&&!d&&b._pf.unusedTokens.push(f);b._pf.charsLeftOver=i-j,h.length>0&&b._pf.unusedInput.push(h),b._pf.bigHour===!0&&b._a[bd]<=12&&(b._pf.bigHour=void 0),b._a[bd]=ta(b._locale,b._a[bd],b._meridiem),qa(b),X(b)}function ta(a,b,c){var d;return null==c?b:null!=a.meridiemHour?a.meridiemHour(b,c):null!=a.isPM?(d=a.isPM(c),d&&12>b&&(b+=12),d||12!==b||(b=0),b):b}function ua(a){var b,d,e,f,g;if(0===a._f.length)return a._pf.invalidFormat=!0,void(a._d=new Date(0/0));for(f=0;f<a._f.length;f++)g=0,b=l({},a),null!=a._useUTC&&(b._useUTC=a._useUTC),b._pf=c(),b._f=a._f[f],sa(b),j(b)&&(g+=b._pf.charsLeftOver,g+=10*b._pf.unusedTokens.length,b._pf.score=g,(null==e||e>g)&&(e=g,d=b));h(a,d||b)}function va(a){if(!a._d){var b=z(a._i);a._a=[b.year,b.month,b.day||b.date,b.hour,b.minute,b.second,b.millisecond],qa(a)}}function wa(a){var b,c=a._i,e=a._f;return a._locale=a._locale||w(a._l),null===c||void 0===e&&""===c?k({nullInput:!0}):("string"==typeof c&&(a._i=c=a._locale.preparse(c)),n(c)?new m(X(c)):(d(e)?ua(a):e?sa(a):xa(a),b=new m(X(a)),b._nextDay&&(b.add(1,"d"),b._nextDay=void 0),b))}function xa(b){var c=b._i;void 0===c?b._d=new Date:e(c)?b._d=new Date(+c):"string"==typeof c?aa(b):d(c)?(b._a=f(c.slice(0),function(a){return parseInt(a,10)}),qa(b)):"object"==typeof c?va(b):"number"==typeof c?b._d=new Date(c):a.createFromInputFallback(b)}function ya(a,b,d,e,f){var g={};return"boolean"==typeof d&&(e=d,d=void 0),g._isAMomentObject=!0,g._useUTC=g._isUTC=f,g._l=d,g._i=a,g._f=b,g._strict=e,g._pf=c(),wa(g)}function za(a,b,c,d){return ya(a,b,c,d,!1)}function Aa(a,b){var c,e;if(1===b.length&&d(b[0])&&(b=b[0]),!b.length)return za();for(c=b[0],e=1;e<b.length;++e)b[e][a](c)&&(c=b[e]);return c}function Ba(){var a=[].slice.call(arguments,0);return Aa("isBefore",a)}function Ca(){var a=[].slice.call(arguments,0);return Aa("isAfter",a)}function Da(a){var b=z(a),c=b.year||0,d=b.quarter||0,e=b.month||0,f=b.week||0,g=b.day||0,h=b.hour||0,i=b.minute||0,j=b.second||0,k=b.millisecond||0;this._milliseconds=+k+1e3*j+6e4*i+36e5*h,this._days=+g+7*f,this._months=+e+3*d+12*c,this._data={},this._locale=w(),this._bubble()}function Ea(a){return a instanceof Da}function Fa(a,b){F(a,0,0,function(){var a=this.utcOffset(),c="+";return 0>a&&(a=-a,c="-"),c+E(~~(a/60),2)+b+E(~~a%60,2)})}function Ga(a){var b=(a||"").match(Vc)||[],c=b[b.length-1]||[],d=(c+"").match(qd)||["-",0,0],e=+(60*d[1])+o(d[2]);return"+"===d[0]?e:-e}function Ha(b,c){var d,f;return c._isUTC?(d=c.clone(),f=(n(b)||e(b)?+b:+za(b))-+d,d._d.setTime(+d._d+f),a.updateOffset(d,!1),d):za(b).local();return c._isUTC?za(b).zone(c._offset||0):za(b).local()}function Ia(a){return 15*-Math.round(a._d.getTimezoneOffset()/15)}function Ja(b,c){var d,e=this._offset||0;return null!=b?("string"==typeof b&&(b=Ga(b)),Math.abs(b)<16&&(b=60*b),!this._isUTC&&c&&(d=Ia(this)),this._offset=b,this._isUTC=!0,null!=d&&this.add(d,"m"),e!==b&&(!c||this._changeInProgress?Za(this,Ua(b-e,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,a.updateOffset(this,!0),this._changeInProgress=null)),this):this._isUTC?e:Ia(this)}function Ka(a,b){return null!=a?("string"!=typeof a&&(a=-a),this.utcOffset(a,b),this):-this.utcOffset()}function La(a){return this.utcOffset(0,a)}function Ma(a){return this._isUTC&&(this.utcOffset(0,a),this._isUTC=!1,a&&this.subtract(Ia(this),"m")),this}function Na(){return this._tzm?this.utcOffset(this._tzm):"string"==typeof this._i&&this.utcOffset(Ga(this._i)),this}function Oa(a){return a=a?za(a).utcOffset():0,(this.utcOffset()-a)%60===0}function Pa(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Qa(){if(this._a){var a=this._isUTC?i(this._a):za(this._a);return this.isValid()&&p(this._a,a.toArray())>0}return!1}function Ra(){return!this._isUTC}function Sa(){return this._isUTC}function Ta(){return this._isUTC&&0===this._offset}function Ua(a,b){var c,d,e,f=a,h=null;return Ea(a)?f={ms:a._milliseconds,d:a._days,M:a._months}:"number"==typeof a?(f={},b?f[b]=a:f.milliseconds=a):(h=rd.exec(a))?(c="-"===h[1]?-1:1,f={y:0,d:o(h[ad])*c,h:o(h[bd])*c,m:o(h[cd])*c,s:o(h[dd])*c,ms:o(h[ed])*c}):(h=sd.exec(a))?(c="-"===h[1]?-1:1,f={y:Va(h[2],c),M:Va(h[3],c),d:Va(h[4],c),h:Va(h[5],c),m:Va(h[6],c),s:Va(h[7],c),w:Va(h[8],c)}):null==f?f={}:"object"==typeof f&&("from"in f||"to"in f)&&(e=Xa(za(f.from),za(f.to)),f={},f.ms=e.milliseconds,f.M=e.months),d=new Da(f),Ea(a)&&g(a,"_locale")&&(d._locale=a._locale),d}function Va(a,b){var c=a&&parseFloat(a.replace(",","."));return(isNaN(c)?0:c)*b}function Wa(a,b){var c={milliseconds:0,months:0};return c.months=b.month()-a.month()+12*(b.year()-a.year()),a.clone().add(c.months,"M").isAfter(b)&&--c.months,c.milliseconds=+b-+a.clone().add(c.months,"M"),c}function Xa(a,b){var c;return b=Ha(b,a),a.isBefore(b)?c=Wa(a,b):(c=Wa(b,a),c.milliseconds=-c.milliseconds,c.months=-c.months),c}function Ya(a,b){return function(c,d){var e,f;return null===d||isNaN(+d)||($(b,"moment()."+b+"(period, number) is deprecated. Please use moment()."+b+"(number, period)."),f=c,c=d,d=f),c="string"==typeof c?+c:c,e=Ua(c,d),Za(this,e,a),this}}function Za(b,c,d,e){var f=c._milliseconds,g=c._days,h=c._months;e=null==e?!0:e,f&&b._d.setTime(+b._d+f*d),g&&C(b,"Date",B(b,"Date")+g*d),h&&U(b,B(b,"Month")+h*d),e&&a.updateOffset(b,g||h)}function $a(a){var b=a||za(),c=Ha(b,this).startOf("day"),d=this.diff(c,"days",!0),e=-6>d?"sameElse":-1>d?"lastWeek":0>d?"lastDay":1>d?"sameDay":2>d?"nextDay":7>d?"nextWeek":"sameElse";return this.format(this.localeData().calendar(e,this,za(b)))}function _a(){return new m(this)}function ab(a,b){var c;return b=y("undefined"!=typeof b?b:"millisecond"),"millisecond"===b?(a=n(a)?a:za(a),+this>+a):(c=n(a)?+a:+za(a),c<+this.clone().startOf(b))}function bb(a,b){var c;return b=y("undefined"!=typeof b?b:"millisecond"),"millisecond"===b?(a=n(a)?a:za(a),+a>+this):(c=n(a)?+a:+za(a),+this.clone().endOf(b)<c)}function cb(a,b,c){return this.isAfter(a,c)&&this.isBefore(b,c)}function db(a,b){var c;return b=y(b||"millisecond"),"millisecond"===b?(a=n(a)?a:za(a),+this===+a):(c=+za(a),+this.clone().startOf(b)<=c&&c<=+this.clone().endOf(b))}function eb(a){return 0>a?Math.ceil(a):Math.floor(a)}function fb(a,b,c){var d,e,f=Ha(a,this),g=6e4*(f.utcOffset()-this.utcOffset());return b=y(b),"year"===b||"month"===b||"quarter"===b?(e=gb(this,f),"quarter"===b?e/=3:"year"===b&&(e/=12)):(d=this-f,e="second"===b?d/1e3:"minute"===b?d/6e4:"hour"===b?d/36e5:"day"===b?(d-g)/864e5:"week"===b?(d-g)/6048e5:d),c?e:eb(e)}function gb(a,b){var c,d,e=12*(b.year()-a.year())+(b.month()-a.month()),f=a.clone().add(e,"months");return 0>b-f?(c=a.clone().add(e-1,"months"),d=(b-f)/(f-c)):(c=a.clone().add(e+1,"months"),d=(b-f)/(c-f)),-(e+d)}function hb(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ib(){var a=this.clone().utc();return 0<a.year()&&a.year()<=9999?"function"==typeof Date.prototype.toISOString?this.toDate().toISOString():I(a,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):I(a,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")}function jb(b){var c=I(this,b||a.defaultFormat);return this.localeData().postformat(c)}function kb(a,b){return Ua({to:this,from:a}).locale(this.locale()).humanize(!b)}function lb(a){return this.from(za(),a)}function mb(a){var b;return void 0===a?this._locale._abbr:(b=w(a),null!=b&&(this._locale=b),this)}function nb(){return this._locale}function ob(a){switch(a=y(a)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===a&&this.weekday(0),"isoWeek"===a&&this.isoWeekday(1),"quarter"===a&&this.month(3*Math.floor(this.month()/3)),this}function pb(a){return a=y(a),void 0===a||"millisecond"===a?this:this.startOf(a).add(1,"isoWeek"===a?"week":a).subtract(1,"ms")}function qb(){return+this._d-6e4*(this._offset||0)}function rb(){return Math.floor(+this/1e3)}function sb(){return this._offset?new Date(+this):this._d}function tb(){var a=this;return[a.year(),a.month(),a.date(),a.hour(),a.minute(),a.second(),a.millisecond()]}function ub(){return j(this)}function vb(){return h({},this._pf)}function wb(){return this._pf.overflow}function xb(a,b){F(0,[a,a.length],0,b)}function yb(a,b,c){return ga(za([a,11,31+b-c]),b,c).week}function zb(a){var b=ga(this,this.localeData()._week.dow,this.localeData()._week.doy).year;return null==a?b:this.add(a-b,"y")}function Ab(a){var b=ga(this,1,4).year;return null==a?b:this.add(a-b,"y")}function Bb(){return yb(this.year(),1,4)}function Cb(){var a=this.localeData()._week;return yb(this.year(),a.dow,a.doy)}function Db(a){return null==a?Math.ceil((this.month()+1)/3):this.month(3*(a-1)+this.month()%3)}function Eb(a,b){if("string"==typeof a)if(isNaN(a)){if(a=b.weekdaysParse(a),"number"!=typeof a)return null}else a=parseInt(a,10);return a}function Fb(a){return this._weekdays[a.day()]}function Gb(a){return this._weekdaysShort[a.day()]}function Hb(a){return this._weekdaysMin[a.day()]}function Ib(a){var b,c,d;for(this._weekdaysParse||(this._weekdaysParse=[]),b=0;7>b;b++)if(this._weekdaysParse[b]||(c=za([2e3,1]).day(b),d="^"+this.weekdays(c,"")+"|^"+this.weekdaysShort(c,"")+"|^"+this.weekdaysMin(c,""),this._weekdaysParse[b]=new RegExp(d.replace(".",""),"i")),this._weekdaysParse[b].test(a))return b}function Jb(a){var b=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=a?(a=Eb(a,this.localeData()),this.add(a-b,"d")):b}function Kb(a){var b=(this.day()+7-this.localeData()._week.dow)%7;return null==a?b:this.add(a-b,"d")}function Lb(a){return null==a?this.day()||7:this.day(this.day()%7?a:a-7)}function Mb(a,b){F(a,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),b)})}function Nb(a,b){return b._meridiemParse}function Ob(a){return"p"===(a+"").toLowerCase().charAt(0)}function Pb(a,b,c){return a>11?c?"pm":"PM":c?"am":"AM"}function Qb(a){F(0,[a,3],0,"millisecond")}function Rb(){return this._isUTC?"UTC":""}function Sb(){return this._isUTC?"Coordinated Universal Time":""}function Tb(a){return za(1e3*a)}function Ub(){return za.apply(null,arguments).parseZone()}function Vb(a,b,c){var d=this._calendar[a];return"function"==typeof d?d.call(b,c):d}function Wb(a){var b=this._longDateFormat[a];return!b&&this._longDateFormat[a.toUpperCase()]&&(b=this._longDateFormat[a.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(a){return a.slice(1)}),this._longDateFormat[a]=b),b}function Xb(){return this._invalidDate}function Yb(a){return this._ordinal.replace("%d",a)}function Zb(a){return a}function $b(a,b,c,d){var e=this._relativeTime[c];return"function"==typeof e?e(a,b,c,d):e.replace(/%d/i,a)}function _b(a,b){var c=this._relativeTime[a>0?"future":"past"];return"function"==typeof c?c(b):c.replace(/%s/i,b)}function ac(a){var b,c;for(c in a)b=a[c],"function"==typeof b?this[c]=b:this["_"+c]=b;this._ordinalParseLenient=new RegExp(this._ordinalParse.source+"|"+/\d{1,2}/.source)}function bc(a,b,c,d){var e=w(),f=i().set(d,b);return e[c](f,a)}function cc(a,b,c,d,e){if("number"==typeof a&&(b=a,a=void 0),a=a||"",null!=b)return bc(a,b,c,e);var f,g=[];for(f=0;d>f;f++)g[f]=bc(a,f,c,e);return g}function dc(a,b){return cc(a,b,"months",12,"month")}function ec(a,b){return cc(a,b,"monthsShort",12,"month")}function fc(a,b){return cc(a,b,"weekdays",7,"day")}function gc(a,b){return cc(a,b,"weekdaysShort",7,"day")}function hc(a,b){return cc(a,b,"weekdaysMin",7,"day")}function ic(){var a=this._data;return this._milliseconds=Od(this._milliseconds),this._days=Od(this._days),this._months=Od(this._months),a.milliseconds=Od(a.milliseconds),a.seconds=Od(a.seconds),a.minutes=Od(a.minutes),a.hours=Od(a.hours),a.months=Od(a.months),a.years=Od(a.years),this}function jc(a,b,c,d){var e=Ua(b,c);return a._milliseconds+=d*e._milliseconds,a._days+=d*e._days,a._months+=d*e._months,a._bubble()}function kc(a,b){return jc(this,a,b,1)}function lc(a,b){return jc(this,a,b,-1)}function mc(){var a,b,c,d=this._milliseconds,e=this._days,f=this._months,g=this._data,h=0;return g.milliseconds=d%1e3,a=eb(d/1e3),g.seconds=a%60,b=eb(a/60),g.minutes=b%60,c=eb(b/60),g.hours=c%24,e+=eb(c/24),h=eb(nc(e)),e-=eb(oc(h)),f+=eb(e/30),e%=30,h+=eb(f/12),f%=12,g.days=e,g.months=f,g.years=h,this}function nc(a){return 400*a/146097}function oc(a){return 146097*a/400}function pc(a){var b,c,d=this._milliseconds;if(a=y(a),"month"===a||"year"===a)return b=this._days+d/864e5,c=this._months+12*nc(b),"month"===a?c:c/12;switch(b=this._days+Math.round(oc(this._months/12)),a){case"week":return b/7+d/6048e5;case"day":return b+d/864e5;case"hour":return 24*b+d/36e5;case"minute":return 24*b*60+d/6e4;case"second":return 24*b*60*60+d/1e3;case"millisecond":return Math.floor(24*b*60*60*1e3)+d;default:throw new Error("Unknown unit "+a)}}function qc(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*o(this._months/12)}function rc(a){return function(){return this.as(a)}}function sc(a){return a=y(a),this[a+"s"]()}function tc(a){return function(){return this._data[a]}}function uc(){return eb(this.days()/7)}function vc(a,b,c,d,e){return e.relativeTime(b||1,!!c,a,d)}function wc(a,b,c){var d=Ua(a).abs(),e=ce(d.as("s")),f=ce(d.as("m")),g=ce(d.as("h")),h=ce(d.as("d")),i=ce(d.as("M")),j=ce(d.as("y")),k=e<de.s&&["s",e]||1===f&&["m"]||f<de.m&&["mm",f]||1===g&&["h"]||g<de.h&&["hh",g]||1===h&&["d"]||h<de.d&&["dd",h]||1===i&&["M"]||i<de.M&&["MM",i]||1===j&&["y"]||["yy",j];return k[2]=b,k[3]=+a>0,k[4]=c,vc.apply(null,k)}function xc(a,b){return void 0===de[a]?!1:void 0===b?de[a]:(de[a]=b,!0)}function yc(a){var b=this.localeData(),c=wc(this,!a,b);return a&&(c=b.pastFuture(+this,c)),b.postformat(c)}function zc(){var a=ee(this.years()),b=ee(this.months()),c=ee(this.days()),d=ee(this.hours()),e=ee(this.minutes()),f=ee(this.seconds()+this.milliseconds()/1e3),g=this.asSeconds();return g?(0>g?"-":"")+"P"+(a?a+"Y":"")+(b?b+"M":"")+(c?c+"D":"")+(d||e||f?"T":"")+(d?d+"H":"")+(e?e+"M":"")+(f?f+"S":""):"P0D"}var Ac,Bc,Cc=a.momentProperties=[],Dc=!1,Ec={},Fc={},Gc=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|x|X|zz?|ZZ?|.)/g,Hc=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ic={},Jc={},Kc=/\d/,Lc=/\d\d/,Mc=/\d{3}/,Nc=/\d{4}/,Oc=/[+-]?\d{6}/,Pc=/\d\d?/,Qc=/\d{1,3}/,Rc=/\d{1,4}/,Sc=/[+-]?\d{1,6}/,Tc=/\d+/,Uc=/[+-]?\d+/,Vc=/Z|[+-]\d\d:?\d\d/gi,Wc=/[+-]?\d+(\.\d{1,3})?/,Xc=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Yc={},Zc={},$c=0,_c=1,ad=2,bd=3,cd=4,dd=5,ed=6;F("M",["MM",2],"Mo",function(){return this.month()+1}),F("MMM",0,0,function(a){return this.localeData().monthsShort(this,a)}),F("MMMM",0,0,function(a){return this.localeData().months(this,a)}),x("month","M"),K("M",Pc),K("MM",Pc,Lc),K("MMM",Xc),K("MMMM",Xc),N(["M","MM"],function(a,b){b[_c]=o(a)-1}),N(["MMM","MMMM"],function(a,b,c,d){var e=c._locale.monthsParse(a,d,c._strict);null!=e?b[_c]=e:c._pf.invalidMonth=a});var fd="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),gd="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),hd={};a.suppressDeprecationWarnings=!1;var id=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,jd=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],kd=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],ld=/^\/?Date\((\-?\d+)/i;a.createFromInputFallback=Z("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(a){a._d=new Date(a._i+(a._useUTC?" UTC":""))}),F(0,["YY",2],0,function(){return this.year()%100}),F(0,["YYYY",4],0,"year"),F(0,["YYYYY",5],0,"year"),F(0,["YYYYYY",6,!0],0,"year"),x("year","y"),K("Y",Uc),K("YY",Pc,Lc),K("YYYY",Rc,Nc),K("YYYYY",Sc,Oc),K("YYYYYY",Sc,Oc),N(["YYYY","YYYYY","YYYYYY"],$c),N("YY",function(b,c){c[$c]=a.parseTwoDigitYear(b)}),a.parseTwoDigitYear=function(a){return o(a)+(o(a)>68?1900:2e3)};var md=A("FullYear",!1);F("w",["ww",2],"wo","week"),F("W",["WW",2],"Wo","isoWeek"),x("week","w"),x("isoWeek","W"),K("w",Pc),K("ww",Pc,Lc),K("W",Pc),K("WW",Pc,Lc),O(["w","ww","W","WW"],function(a,b,c,d){b[d.substr(0,1)]=o(a)});var nd={dow:0,doy:6};F("DDD",["DDDD",3],"DDDo","dayOfYear"),x("dayOfYear","DDD"),K("DDD",Qc),K("DDDD",Mc),N(["DDD","DDDD"],function(a,b,c){c._dayOfYear=o(a)}),a.ISO_8601=function(){};var od=Z("moment().min is deprecated, use moment.min instead. https://github.com/moment/moment/issues/1548",function(){var a=za.apply(null,arguments);return this>a?this:a}),pd=Z("moment().max is deprecated, use moment.max instead. https://github.com/moment/moment/issues/1548",function(){var a=za.apply(null,arguments);return a>this?this:a});Fa("Z",":"),Fa("ZZ",""),K("Z",Vc),K("ZZ",Vc),N(["Z","ZZ"],function(a,b,c){c._useUTC=!0,c._tzm=Ga(a)});var qd=/([\+\-]|\d\d)/gi;a.updateOffset=function(){};var rd=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,sd=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/;Ua.fn=Da.prototype;var td=Ya(1,"add"),ud=Ya(-1,"subtract");a.defaultFormat="YYYY-MM-DDTHH:mm:ssZ";var vd=Z("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",function(a){return void 0===a?this.localeData():this.locale(a)});F(0,["gg",2],0,function(){return this.weekYear()%100}),F(0,["GG",2],0,function(){return this.isoWeekYear()%100}),xb("gggg","weekYear"),xb("ggggg","weekYear"),xb("GGGG","isoWeekYear"),xb("GGGGG","isoWeekYear"),x("weekYear","gg"),x("isoWeekYear","GG"),K("G",Uc),K("g",Uc),K("GG",Pc,Lc),K("gg",Pc,Lc),K("GGGG",Rc,Nc),K("gggg",Rc,Nc),K("GGGGG",Sc,Oc),K("ggggg",Sc,Oc),O(["gggg","ggggg","GGGG","GGGGG"],function(a,b,c,d){b[d.substr(0,2)]=o(a)}),O(["gg","GG"],function(b,c,d,e){c[e]=a.parseTwoDigitYear(b)}),F("Q",0,0,"quarter"),x("quarter","Q"),K("Q",Kc),N("Q",function(a,b){b[_c]=3*(o(a)-1)}),F("D",["DD",2],"Do","date"),x("date","D"),K("D",Pc),K("DD",Pc,Lc),K("Do",function(a,b){return a?b._ordinalParse:b._ordinalParseLenient}),N(["D","DD"],ad),N("Do",function(a,b){b[ad]=o(a.match(Pc)[0],10)});var wd=A("Date",!0);F("d",0,"do","day"),F("dd",0,0,function(a){return this.localeData().weekdaysMin(this,a)}),F("ddd",0,0,function(a){return this.localeData().weekdaysShort(this,a)}),F("dddd",0,0,function(a){return this.localeData().weekdays(this,a)}),F("e",0,0,"weekday"),F("E",0,0,"isoWeekday"),x("day","d"),x("weekday","e"),x("isoWeekday","E"),K("d",Pc),K("e",Pc),K("E",Pc),K("dd",Xc),K("ddd",Xc),K("dddd",Xc),O(["dd","ddd","dddd"],function(a,b,c){var d=c._locale.weekdaysParse(a);null!=d?b.d=d:c._pf.invalidWeekday=a}),O(["d","e","E"],function(a,b,c,d){b[d]=o(a)});var xd="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),yd="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),zd="Su_Mo_Tu_We_Th_Fr_Sa".split("_");F("H",["HH",2],0,"hour"),F("h",["hh",2],0,function(){return this.hours()%12||12}),Mb("a",!0),Mb("A",!1),x("hour","h"),K("a",Nb),K("A",Nb),K("H",Pc),K("h",Pc),K("HH",Pc,Lc),K("hh",Pc,Lc),N(["H","HH"],bd),N(["a","A"],function(a,b,c){c._isPm=c._locale.isPM(a),c._meridiem=a}),N(["h","hh"],function(a,b,c){b[bd]=o(a),c._pf.bigHour=!0});var Ad=/[ap]\.?m?\.?/i,Bd=A("Hours",!0);F("m",["mm",2],0,"minute"),x("minute","m"),K("m",Pc),K("mm",Pc,Lc),N(["m","mm"],cd);var Cd=A("Minutes",!1);F("s",["ss",2],0,"second"),x("second","s"),K("s",Pc),K("ss",Pc,Lc),N(["s","ss"],dd);var Dd=A("Seconds",!1);F("S",0,0,function(){return~~(this.millisecond()/100)}),F(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Qb("SSS"),Qb("SSSS"),x("millisecond","ms"),K("S",Qc,Kc),K("SS",Qc,Lc),K("SSS",Qc,Mc),K("SSSS",Tc),N(["S","SS","SSS","SSSS"],function(a,b){b[ed]=o(1e3*("0."+a))});var Ed=A("Milliseconds",!1);F("z",0,0,"zoneAbbr"),F("zz",0,0,"zoneName");var Fd=m.prototype;Fd.add=td,Fd.calendar=$a,Fd.clone=_a,Fd.diff=fb,Fd.endOf=pb,Fd.format=jb,Fd.from=kb,Fd.fromNow=lb,Fd.get=D,Fd.invalidAt=wb,Fd.isAfter=ab,Fd.isBefore=bb,Fd.isBetween=cb,Fd.isSame=db,Fd.isValid=ub,Fd.lang=vd,Fd.locale=mb,Fd.localeData=nb,Fd.max=pd,Fd.min=od,Fd.parsingFlags=vb,Fd.set=D,Fd.startOf=ob,Fd.subtract=ud,Fd.toArray=tb,Fd.toDate=sb,Fd.toISOString=ib,Fd.toJSON=ib,Fd.toString=hb,Fd.unix=rb,Fd.valueOf=qb,Fd.year=md,Fd.isLeapYear=fa,Fd.weekYear=zb,Fd.isoWeekYear=Ab,Fd.quarter=Fd.quarters=Db,Fd.month=V,Fd.daysInMonth=W,Fd.week=Fd.weeks=ka,Fd.isoWeek=Fd.isoWeeks=la,Fd.weeksInYear=Cb,Fd.isoWeeksInYear=Bb,Fd.date=wd,Fd.day=Fd.days=Jb,Fd.weekday=Kb,Fd.isoWeekday=Lb,Fd.dayOfYear=na,Fd.hour=Fd.hours=Bd,Fd.minute=Fd.minutes=Cd,Fd.second=Fd.seconds=Dd,Fd.millisecond=Fd.milliseconds=Ed,Fd.utcOffset=Ja,Fd.utc=La,Fd.local=Ma,Fd.parseZone=Na,Fd.hasAlignedHourOffset=Oa,Fd.isDST=Pa,Fd.isDSTShifted=Qa,Fd.isLocal=Ra,Fd.isUtcOffset=Sa,Fd.isUtc=Ta,Fd.isUTC=Ta,Fd.zoneAbbr=Rb,Fd.zoneName=Sb,Fd.dates=Z("dates accessor is deprecated. Use date instead.",wd),Fd.months=Z("months accessor is deprecated. Use month instead",V),Fd.years=Z("years accessor is deprecated. Use year instead",md),Fd.zone=Z("moment().zone is deprecated, use moment().utcOffset instead. https://github.com/moment/moment/issues/1779",Ka);var Gd=Fd,Hd={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},Id={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY LT",LLLL:"dddd, MMMM D, YYYY LT"},Jd="Invalid date",Kd="%d",Ld=/\d{1,2}/,Md={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},Nd=q.prototype;Nd._calendar=Hd,Nd.calendar=Vb,Nd._longDateFormat=Id,Nd.longDateFormat=Wb,Nd._invalidDate=Jd,Nd.invalidDate=Xb,Nd._ordinal=Kd,Nd.ordinal=Yb,Nd._ordinalParse=Ld, | ||
Nd.preparse=Zb,Nd.postformat=Zb,Nd._relativeTime=Md,Nd.relativeTime=$b,Nd.pastFuture=_b,Nd.set=ac,Nd.months=R,Nd._months=fd,Nd.monthsShort=S,Nd._monthsShort=gd,Nd.monthsParse=T,Nd.week=ha,Nd._week=nd,Nd.firstDayOfYear=ja,Nd.firstDayOfWeek=ia,Nd.weekdays=Fb,Nd._weekdays=xd,Nd.weekdaysMin=Hb,Nd._weekdaysMin=zd,Nd.weekdaysShort=Gb,Nd._weekdaysShort=yd,Nd.weekdaysParse=Ib,Nd.isPM=Ob,Nd._meridiemParse=Ad,Nd.meridiem=Pb,u("en",{ordinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(a){var b=a%10,c=1===o(a%100/10)?"th":1===b?"st":2===b?"nd":3===b?"rd":"th";return a+c}}),a.lang=Z("moment.lang is deprecated. Use moment.locale instead.",u),a.langData=Z("moment.langData is deprecated. Use moment.localeData instead.",w);var Od=Math.abs,Pd=rc("ms"),Qd=rc("s"),Rd=rc("m"),Sd=rc("h"),Td=rc("d"),Ud=rc("w"),Vd=rc("M"),Wd=rc("y"),Xd=tc("milliseconds"),Yd=tc("seconds"),Zd=tc("minutes"),$d=tc("hours"),_d=tc("days"),ae=tc("months"),be=tc("years"),ce=Math.round,de={s:45,m:45,h:22,d:26,M:11},ee=Math.abs,fe=Da.prototype;fe.abs=ic,fe.add=kc,fe.subtract=lc,fe.as=pc,fe.asMilliseconds=Pd,fe.asSeconds=Qd,fe.asMinutes=Rd,fe.asHours=Sd,fe.asDays=Td,fe.asWeeks=Ud,fe.asMonths=Vd,fe.asYears=Wd,fe.valueOf=qc,fe._bubble=mc,fe.get=sc,fe.milliseconds=Xd,fe.seconds=Yd,fe.minutes=Zd,fe.hours=$d,fe.days=_d,fe.weeks=uc,fe.months=ae,fe.years=be,fe.humanize=yc,fe.toISOString=zc,fe.toString=zc,fe.toJSON=zc,fe.locale=mb,fe.localeData=nb,fe.toIsoString=Z("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",zc),fe.lang=vd,F("X",0,0,"unix"),F("x",0,0,"valueOf"),K("x",Uc),K("X",Wc),N("X",function(a,b,c){c._d=new Date(1e3*parseFloat(a,10))}),N("x",function(a,b,c){c._d=new Date(o(a))}),a.version="2.10.2",b(za),a.fn=Gd,a.min=Ba,a.max=Ca,a.utc=i,a.unix=Tb,a.months=dc,a.isDate=e,a.locale=u,a.invalid=k,a.duration=Ua,a.isMoment=n,a.weekdays=fc,a.parseZone=Ub,a.localeData=w,a.isDuration=Ea,a.monthsShort=ec,a.weekdaysMin=hc,a.defineLocale=v,a.weekdaysShort=gc,a.normalizeUnits=y,a.relativeTimeThreshold=xc;var ge=a;return ge}); |
{ | ||
"name": "moment", | ||
"version": "2.9.0", | ||
"version": "2.10.2", | ||
"description": "Parse, validate, manipulate, and display dates", | ||
@@ -43,9 +43,10 @@ "homepage": "http://momentjs.com", | ||
"uglify-js": "latest", | ||
"es6-promise": "latest", | ||
"grunt": "latest", | ||
"nodeunit": "latest", | ||
"benchmark": "latest", | ||
"esperanto": "latest", | ||
"grunt-contrib-clean": "latest", | ||
"grunt-contrib-concat": "latest", | ||
"grunt-contrib-copy": "latest", | ||
"grunt-contrib-jshint": "latest", | ||
"grunt-contrib-nodeunit": "latest", | ||
"grunt-contrib-concat": "latest", | ||
"grunt-contrib-uglify": "latest", | ||
@@ -64,9 +65,8 @@ "grunt-contrib-watch": "latest", | ||
"karma-firefox-launcher": "latest", | ||
"karma-nodeunit": "latest", | ||
"karma-qunit": "latest", | ||
"karma-sauce-launcher": "latest", | ||
"qunit": "^0.7.5", | ||
"qunit-cli": "^0.1.4", | ||
"spacejam": "latest" | ||
}, | ||
"scripts": { | ||
"test": "grunt test:node" | ||
}, | ||
"ender": "./ender.js", | ||
@@ -86,2 +86,5 @@ "dojoBuild": "package.js", | ||
}, | ||
"scripts": { | ||
"test": "grunt test" | ||
}, | ||
"spm": { | ||
@@ -88,0 +91,0 @@ "main": "moment.js", |
@@ -7,2 +7,15 @@ [![NPM version][npm-version-image]][npm-url] [![NPM downloads][npm-downloads-image]][npm-url] [![MIT License][license-image]][license-url] [![Build Status][travis-image]][travis-url] | ||
## Port to ES6 (version 2.10.0) | ||
Moment 2.10.0 does not bring any new features, but the code is now written in | ||
es6 modules and placed inside `src/`. Previously `moment.js`, `locale/*.js` and | ||
`test/moment/*.js`, `test/locale/*.js` contained the source of the project. Now | ||
the source is in `src/`, temporary build (es5) files are placed under | ||
`build/umd/` (for running tests during development), and the `moment.js` and | ||
`locale/*.js` files are updated only on release. | ||
If you want to use a particular revision of the code, make sure to run | ||
`grunt transpile update-index`, so `moment.js` and `locales/*.js` are synced | ||
with `src/*`. We might place that in a commit hook in the future. | ||
## Upgrading to 2.0.0 | ||
@@ -28,2 +41,5 @@ | ||
We're looking for co-maintainers! If you want to become a master of time please | ||
write to [ichernev](https://github.com/ichernev). | ||
## License | ||
@@ -30,0 +46,0 @@ |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3455779
92
59089
56
27