Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

12430 lignes
434KB

  1. ;(function (global, factory) {
  2. typeof exports === 'object' && typeof module !== 'undefined'
  3. && typeof require === 'function' ? factory(require('../moment')) :
  4. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  5. factory(global.moment)
  6. }(this, (function (moment) { 'use strict';
  7. //! moment.js locale configuration
  8. moment.defineLocale('af', {
  9. months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split(
  10. '_'
  11. ),
  12. monthsShort: 'Jan_Feb_Mrt_Apr_Mei_Jun_Jul_Aug_Sep_Okt_Nov_Des'.split('_'),
  13. weekdays: 'Sondag_Maandag_Dinsdag_Woensdag_Donderdag_Vrydag_Saterdag'.split(
  14. '_'
  15. ),
  16. weekdaysShort: 'Son_Maa_Din_Woe_Don_Vry_Sat'.split('_'),
  17. weekdaysMin: 'So_Ma_Di_Wo_Do_Vr_Sa'.split('_'),
  18. meridiemParse: /vm|nm/i,
  19. isPM: function (input) {
  20. return /^nm$/i.test(input);
  21. },
  22. meridiem: function (hours, minutes, isLower) {
  23. if (hours < 12) {
  24. return isLower ? 'vm' : 'VM';
  25. } else {
  26. return isLower ? 'nm' : 'NM';
  27. }
  28. },
  29. longDateFormat: {
  30. LT: 'HH:mm',
  31. LTS: 'HH:mm:ss',
  32. L: 'DD/MM/YYYY',
  33. LL: 'D MMMM YYYY',
  34. LLL: 'D MMMM YYYY HH:mm',
  35. LLLL: 'dddd, D MMMM YYYY HH:mm',
  36. },
  37. calendar: {
  38. sameDay: '[Vandag om] LT',
  39. nextDay: '[Môre om] LT',
  40. nextWeek: 'dddd [om] LT',
  41. lastDay: '[Gister om] LT',
  42. lastWeek: '[Laas] dddd [om] LT',
  43. sameElse: 'L',
  44. },
  45. relativeTime: {
  46. future: 'oor %s',
  47. past: '%s gelede',
  48. s: "'n paar sekondes",
  49. ss: '%d sekondes',
  50. m: "'n minuut",
  51. mm: '%d minute',
  52. h: "'n uur",
  53. hh: '%d ure',
  54. d: "'n dag",
  55. dd: '%d dae',
  56. M: "'n maand",
  57. MM: '%d maande',
  58. y: "'n jaar",
  59. yy: '%d jaar',
  60. },
  61. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  62. ordinal: function (number) {
  63. return (
  64. number +
  65. (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
  66. ); // Thanks to Joris Röling : https://github.com/jjupiter
  67. },
  68. week: {
  69. dow: 1, // Maandag is die eerste dag van die week.
  70. doy: 4, // Die week wat die 4de Januarie bevat is die eerste week van die jaar.
  71. },
  72. });
  73. //! moment.js locale configuration
  74. var pluralForm = function (n) {
  75. return n === 0
  76. ? 0
  77. : n === 1
  78. ? 1
  79. : n === 2
  80. ? 2
  81. : n % 100 >= 3 && n % 100 <= 10
  82. ? 3
  83. : n % 100 >= 11
  84. ? 4
  85. : 5;
  86. },
  87. plurals = {
  88. s: [
  89. 'أقل من ثانية',
  90. 'ثانية واحدة',
  91. ['ثانيتان', 'ثانيتين'],
  92. '%d ثوان',
  93. '%d ثانية',
  94. '%d ثانية',
  95. ],
  96. m: [
  97. 'أقل من دقيقة',
  98. 'دقيقة واحدة',
  99. ['دقيقتان', 'دقيقتين'],
  100. '%d دقائق',
  101. '%d دقيقة',
  102. '%d دقيقة',
  103. ],
  104. h: [
  105. 'أقل من ساعة',
  106. 'ساعة واحدة',
  107. ['ساعتان', 'ساعتين'],
  108. '%d ساعات',
  109. '%d ساعة',
  110. '%d ساعة',
  111. ],
  112. d: [
  113. 'أقل من يوم',
  114. 'يوم واحد',
  115. ['يومان', 'يومين'],
  116. '%d أيام',
  117. '%d يومًا',
  118. '%d يوم',
  119. ],
  120. M: [
  121. 'أقل من شهر',
  122. 'شهر واحد',
  123. ['شهران', 'شهرين'],
  124. '%d أشهر',
  125. '%d شهرا',
  126. '%d شهر',
  127. ],
  128. y: [
  129. 'أقل من عام',
  130. 'عام واحد',
  131. ['عامان', 'عامين'],
  132. '%d أعوام',
  133. '%d عامًا',
  134. '%d عام',
  135. ],
  136. },
  137. pluralize = function (u) {
  138. return function (number, withoutSuffix, string, isFuture) {
  139. var f = pluralForm(number),
  140. str = plurals[u][pluralForm(number)];
  141. if (f === 2) {
  142. str = str[withoutSuffix ? 0 : 1];
  143. }
  144. return str.replace(/%d/i, number);
  145. };
  146. },
  147. months = [
  148. 'جانفي',
  149. 'فيفري',
  150. 'مارس',
  151. 'أفريل',
  152. 'ماي',
  153. 'جوان',
  154. 'جويلية',
  155. 'أوت',
  156. 'سبتمبر',
  157. 'أكتوبر',
  158. 'نوفمبر',
  159. 'ديسمبر',
  160. ];
  161. moment.defineLocale('ar-dz', {
  162. months: months,
  163. monthsShort: months,
  164. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  165. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  166. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  167. weekdaysParseExact: true,
  168. longDateFormat: {
  169. LT: 'HH:mm',
  170. LTS: 'HH:mm:ss',
  171. L: 'D/\u200FM/\u200FYYYY',
  172. LL: 'D MMMM YYYY',
  173. LLL: 'D MMMM YYYY HH:mm',
  174. LLLL: 'dddd D MMMM YYYY HH:mm',
  175. },
  176. meridiemParse: /ص|م/,
  177. isPM: function (input) {
  178. return 'م' === input;
  179. },
  180. meridiem: function (hour, minute, isLower) {
  181. if (hour < 12) {
  182. return 'ص';
  183. } else {
  184. return 'م';
  185. }
  186. },
  187. calendar: {
  188. sameDay: '[اليوم عند الساعة] LT',
  189. nextDay: '[غدًا عند الساعة] LT',
  190. nextWeek: 'dddd [عند الساعة] LT',
  191. lastDay: '[أمس عند الساعة] LT',
  192. lastWeek: 'dddd [عند الساعة] LT',
  193. sameElse: 'L',
  194. },
  195. relativeTime: {
  196. future: 'بعد %s',
  197. past: 'منذ %s',
  198. s: pluralize('s'),
  199. ss: pluralize('s'),
  200. m: pluralize('m'),
  201. mm: pluralize('m'),
  202. h: pluralize('h'),
  203. hh: pluralize('h'),
  204. d: pluralize('d'),
  205. dd: pluralize('d'),
  206. M: pluralize('M'),
  207. MM: pluralize('M'),
  208. y: pluralize('y'),
  209. yy: pluralize('y'),
  210. },
  211. postformat: function (string) {
  212. return string.replace(/,/g, '،');
  213. },
  214. week: {
  215. dow: 0, // Sunday is the first day of the week.
  216. doy: 4, // The week that contains Jan 4th is the first week of the year.
  217. },
  218. });
  219. //! moment.js locale configuration
  220. moment.defineLocale('ar-kw', {
  221. months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
  222. '_'
  223. ),
  224. monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
  225. '_'
  226. ),
  227. weekdays: 'الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  228. weekdaysShort: 'احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
  229. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  230. weekdaysParseExact: true,
  231. longDateFormat: {
  232. LT: 'HH:mm',
  233. LTS: 'HH:mm:ss',
  234. L: 'DD/MM/YYYY',
  235. LL: 'D MMMM YYYY',
  236. LLL: 'D MMMM YYYY HH:mm',
  237. LLLL: 'dddd D MMMM YYYY HH:mm',
  238. },
  239. calendar: {
  240. sameDay: '[اليوم على الساعة] LT',
  241. nextDay: '[غدا على الساعة] LT',
  242. nextWeek: 'dddd [على الساعة] LT',
  243. lastDay: '[أمس على الساعة] LT',
  244. lastWeek: 'dddd [على الساعة] LT',
  245. sameElse: 'L',
  246. },
  247. relativeTime: {
  248. future: 'في %s',
  249. past: 'منذ %s',
  250. s: 'ثوان',
  251. ss: '%d ثانية',
  252. m: 'دقيقة',
  253. mm: '%d دقائق',
  254. h: 'ساعة',
  255. hh: '%d ساعات',
  256. d: 'يوم',
  257. dd: '%d أيام',
  258. M: 'شهر',
  259. MM: '%d أشهر',
  260. y: 'سنة',
  261. yy: '%d سنوات',
  262. },
  263. week: {
  264. dow: 0, // Sunday is the first day of the week.
  265. doy: 12, // The week that contains Jan 12th is the first week of the year.
  266. },
  267. });
  268. //! moment.js locale configuration
  269. var symbolMap = {
  270. 1: '1',
  271. 2: '2',
  272. 3: '3',
  273. 4: '4',
  274. 5: '5',
  275. 6: '6',
  276. 7: '7',
  277. 8: '8',
  278. 9: '9',
  279. 0: '0',
  280. },
  281. pluralForm$1 = function (n) {
  282. return n === 0
  283. ? 0
  284. : n === 1
  285. ? 1
  286. : n === 2
  287. ? 2
  288. : n % 100 >= 3 && n % 100 <= 10
  289. ? 3
  290. : n % 100 >= 11
  291. ? 4
  292. : 5;
  293. },
  294. plurals$1 = {
  295. s: [
  296. 'أقل من ثانية',
  297. 'ثانية واحدة',
  298. ['ثانيتان', 'ثانيتين'],
  299. '%d ثوان',
  300. '%d ثانية',
  301. '%d ثانية',
  302. ],
  303. m: [
  304. 'أقل من دقيقة',
  305. 'دقيقة واحدة',
  306. ['دقيقتان', 'دقيقتين'],
  307. '%d دقائق',
  308. '%d دقيقة',
  309. '%d دقيقة',
  310. ],
  311. h: [
  312. 'أقل من ساعة',
  313. 'ساعة واحدة',
  314. ['ساعتان', 'ساعتين'],
  315. '%d ساعات',
  316. '%d ساعة',
  317. '%d ساعة',
  318. ],
  319. d: [
  320. 'أقل من يوم',
  321. 'يوم واحد',
  322. ['يومان', 'يومين'],
  323. '%d أيام',
  324. '%d يومًا',
  325. '%d يوم',
  326. ],
  327. M: [
  328. 'أقل من شهر',
  329. 'شهر واحد',
  330. ['شهران', 'شهرين'],
  331. '%d أشهر',
  332. '%d شهرا',
  333. '%d شهر',
  334. ],
  335. y: [
  336. 'أقل من عام',
  337. 'عام واحد',
  338. ['عامان', 'عامين'],
  339. '%d أعوام',
  340. '%d عامًا',
  341. '%d عام',
  342. ],
  343. },
  344. pluralize$1 = function (u) {
  345. return function (number, withoutSuffix, string, isFuture) {
  346. var f = pluralForm$1(number),
  347. str = plurals$1[u][pluralForm$1(number)];
  348. if (f === 2) {
  349. str = str[withoutSuffix ? 0 : 1];
  350. }
  351. return str.replace(/%d/i, number);
  352. };
  353. },
  354. months$1 = [
  355. 'يناير',
  356. 'فبراير',
  357. 'مارس',
  358. 'أبريل',
  359. 'مايو',
  360. 'يونيو',
  361. 'يوليو',
  362. 'أغسطس',
  363. 'سبتمبر',
  364. 'أكتوبر',
  365. 'نوفمبر',
  366. 'ديسمبر',
  367. ];
  368. moment.defineLocale('ar-ly', {
  369. months: months$1,
  370. monthsShort: months$1,
  371. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  372. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  373. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  374. weekdaysParseExact: true,
  375. longDateFormat: {
  376. LT: 'HH:mm',
  377. LTS: 'HH:mm:ss',
  378. L: 'D/\u200FM/\u200FYYYY',
  379. LL: 'D MMMM YYYY',
  380. LLL: 'D MMMM YYYY HH:mm',
  381. LLLL: 'dddd D MMMM YYYY HH:mm',
  382. },
  383. meridiemParse: /ص|م/,
  384. isPM: function (input) {
  385. return 'م' === input;
  386. },
  387. meridiem: function (hour, minute, isLower) {
  388. if (hour < 12) {
  389. return 'ص';
  390. } else {
  391. return 'م';
  392. }
  393. },
  394. calendar: {
  395. sameDay: '[اليوم عند الساعة] LT',
  396. nextDay: '[غدًا عند الساعة] LT',
  397. nextWeek: 'dddd [عند الساعة] LT',
  398. lastDay: '[أمس عند الساعة] LT',
  399. lastWeek: 'dddd [عند الساعة] LT',
  400. sameElse: 'L',
  401. },
  402. relativeTime: {
  403. future: 'بعد %s',
  404. past: 'منذ %s',
  405. s: pluralize$1('s'),
  406. ss: pluralize$1('s'),
  407. m: pluralize$1('m'),
  408. mm: pluralize$1('m'),
  409. h: pluralize$1('h'),
  410. hh: pluralize$1('h'),
  411. d: pluralize$1('d'),
  412. dd: pluralize$1('d'),
  413. M: pluralize$1('M'),
  414. MM: pluralize$1('M'),
  415. y: pluralize$1('y'),
  416. yy: pluralize$1('y'),
  417. },
  418. preparse: function (string) {
  419. return string.replace(/،/g, ',');
  420. },
  421. postformat: function (string) {
  422. return string
  423. .replace(/\d/g, function (match) {
  424. return symbolMap[match];
  425. })
  426. .replace(/,/g, '،');
  427. },
  428. week: {
  429. dow: 6, // Saturday is the first day of the week.
  430. doy: 12, // The week that contains Jan 12th is the first week of the year.
  431. },
  432. });
  433. //! moment.js locale configuration
  434. moment.defineLocale('ar-ma', {
  435. months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
  436. '_'
  437. ),
  438. monthsShort: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
  439. '_'
  440. ),
  441. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  442. weekdaysShort: 'احد_اثنين_ثلاثاء_اربعاء_خميس_جمعة_سبت'.split('_'),
  443. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  444. weekdaysParseExact: true,
  445. longDateFormat: {
  446. LT: 'HH:mm',
  447. LTS: 'HH:mm:ss',
  448. L: 'DD/MM/YYYY',
  449. LL: 'D MMMM YYYY',
  450. LLL: 'D MMMM YYYY HH:mm',
  451. LLLL: 'dddd D MMMM YYYY HH:mm',
  452. },
  453. calendar: {
  454. sameDay: '[اليوم على الساعة] LT',
  455. nextDay: '[غدا على الساعة] LT',
  456. nextWeek: 'dddd [على الساعة] LT',
  457. lastDay: '[أمس على الساعة] LT',
  458. lastWeek: 'dddd [على الساعة] LT',
  459. sameElse: 'L',
  460. },
  461. relativeTime: {
  462. future: 'في %s',
  463. past: 'منذ %s',
  464. s: 'ثوان',
  465. ss: '%d ثانية',
  466. m: 'دقيقة',
  467. mm: '%d دقائق',
  468. h: 'ساعة',
  469. hh: '%d ساعات',
  470. d: 'يوم',
  471. dd: '%d أيام',
  472. M: 'شهر',
  473. MM: '%d أشهر',
  474. y: 'سنة',
  475. yy: '%d سنوات',
  476. },
  477. week: {
  478. dow: 1, // Monday is the first day of the week.
  479. doy: 4, // The week that contains Jan 4th is the first week of the year.
  480. },
  481. });
  482. //! moment.js locale configuration
  483. var symbolMap$1 = {
  484. 1: '١',
  485. 2: '٢',
  486. 3: '٣',
  487. 4: '٤',
  488. 5: '٥',
  489. 6: '٦',
  490. 7: '٧',
  491. 8: '٨',
  492. 9: '٩',
  493. 0: '٠',
  494. },
  495. numberMap = {
  496. '١': '1',
  497. '٢': '2',
  498. '٣': '3',
  499. '٤': '4',
  500. '٥': '5',
  501. '٦': '6',
  502. '٧': '7',
  503. '٨': '8',
  504. '٩': '9',
  505. '٠': '0',
  506. };
  507. moment.defineLocale('ar-sa', {
  508. months: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
  509. '_'
  510. ),
  511. monthsShort: 'يناير_فبراير_مارس_أبريل_مايو_يونيو_يوليو_أغسطس_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
  512. '_'
  513. ),
  514. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  515. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  516. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  517. weekdaysParseExact: true,
  518. longDateFormat: {
  519. LT: 'HH:mm',
  520. LTS: 'HH:mm:ss',
  521. L: 'DD/MM/YYYY',
  522. LL: 'D MMMM YYYY',
  523. LLL: 'D MMMM YYYY HH:mm',
  524. LLLL: 'dddd D MMMM YYYY HH:mm',
  525. },
  526. meridiemParse: /ص|م/,
  527. isPM: function (input) {
  528. return 'م' === input;
  529. },
  530. meridiem: function (hour, minute, isLower) {
  531. if (hour < 12) {
  532. return 'ص';
  533. } else {
  534. return 'م';
  535. }
  536. },
  537. calendar: {
  538. sameDay: '[اليوم على الساعة] LT',
  539. nextDay: '[غدا على الساعة] LT',
  540. nextWeek: 'dddd [على الساعة] LT',
  541. lastDay: '[أمس على الساعة] LT',
  542. lastWeek: 'dddd [على الساعة] LT',
  543. sameElse: 'L',
  544. },
  545. relativeTime: {
  546. future: 'في %s',
  547. past: 'منذ %s',
  548. s: 'ثوان',
  549. ss: '%d ثانية',
  550. m: 'دقيقة',
  551. mm: '%d دقائق',
  552. h: 'ساعة',
  553. hh: '%d ساعات',
  554. d: 'يوم',
  555. dd: '%d أيام',
  556. M: 'شهر',
  557. MM: '%d أشهر',
  558. y: 'سنة',
  559. yy: '%d سنوات',
  560. },
  561. preparse: function (string) {
  562. return string
  563. .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  564. return numberMap[match];
  565. })
  566. .replace(/،/g, ',');
  567. },
  568. postformat: function (string) {
  569. return string
  570. .replace(/\d/g, function (match) {
  571. return symbolMap$1[match];
  572. })
  573. .replace(/,/g, '،');
  574. },
  575. week: {
  576. dow: 0, // Sunday is the first day of the week.
  577. doy: 6, // The week that contains Jan 6th is the first week of the year.
  578. },
  579. });
  580. //! moment.js locale configuration
  581. moment.defineLocale('ar-tn', {
  582. months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
  583. '_'
  584. ),
  585. monthsShort: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
  586. '_'
  587. ),
  588. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  589. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  590. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  591. weekdaysParseExact: true,
  592. longDateFormat: {
  593. LT: 'HH:mm',
  594. LTS: 'HH:mm:ss',
  595. L: 'DD/MM/YYYY',
  596. LL: 'D MMMM YYYY',
  597. LLL: 'D MMMM YYYY HH:mm',
  598. LLLL: 'dddd D MMMM YYYY HH:mm',
  599. },
  600. calendar: {
  601. sameDay: '[اليوم على الساعة] LT',
  602. nextDay: '[غدا على الساعة] LT',
  603. nextWeek: 'dddd [على الساعة] LT',
  604. lastDay: '[أمس على الساعة] LT',
  605. lastWeek: 'dddd [على الساعة] LT',
  606. sameElse: 'L',
  607. },
  608. relativeTime: {
  609. future: 'في %s',
  610. past: 'منذ %s',
  611. s: 'ثوان',
  612. ss: '%d ثانية',
  613. m: 'دقيقة',
  614. mm: '%d دقائق',
  615. h: 'ساعة',
  616. hh: '%d ساعات',
  617. d: 'يوم',
  618. dd: '%d أيام',
  619. M: 'شهر',
  620. MM: '%d أشهر',
  621. y: 'سنة',
  622. yy: '%d سنوات',
  623. },
  624. week: {
  625. dow: 1, // Monday is the first day of the week.
  626. doy: 4, // The week that contains Jan 4th is the first week of the year.
  627. },
  628. });
  629. //! moment.js locale configuration
  630. var symbolMap$2 = {
  631. 1: '١',
  632. 2: '٢',
  633. 3: '٣',
  634. 4: '٤',
  635. 5: '٥',
  636. 6: '٦',
  637. 7: '٧',
  638. 8: '٨',
  639. 9: '٩',
  640. 0: '٠',
  641. },
  642. numberMap$1 = {
  643. '١': '1',
  644. '٢': '2',
  645. '٣': '3',
  646. '٤': '4',
  647. '٥': '5',
  648. '٦': '6',
  649. '٧': '7',
  650. '٨': '8',
  651. '٩': '9',
  652. '٠': '0',
  653. },
  654. pluralForm$2 = function (n) {
  655. return n === 0
  656. ? 0
  657. : n === 1
  658. ? 1
  659. : n === 2
  660. ? 2
  661. : n % 100 >= 3 && n % 100 <= 10
  662. ? 3
  663. : n % 100 >= 11
  664. ? 4
  665. : 5;
  666. },
  667. plurals$2 = {
  668. s: [
  669. 'أقل من ثانية',
  670. 'ثانية واحدة',
  671. ['ثانيتان', 'ثانيتين'],
  672. '%d ثوان',
  673. '%d ثانية',
  674. '%d ثانية',
  675. ],
  676. m: [
  677. 'أقل من دقيقة',
  678. 'دقيقة واحدة',
  679. ['دقيقتان', 'دقيقتين'],
  680. '%d دقائق',
  681. '%d دقيقة',
  682. '%d دقيقة',
  683. ],
  684. h: [
  685. 'أقل من ساعة',
  686. 'ساعة واحدة',
  687. ['ساعتان', 'ساعتين'],
  688. '%d ساعات',
  689. '%d ساعة',
  690. '%d ساعة',
  691. ],
  692. d: [
  693. 'أقل من يوم',
  694. 'يوم واحد',
  695. ['يومان', 'يومين'],
  696. '%d أيام',
  697. '%d يومًا',
  698. '%d يوم',
  699. ],
  700. M: [
  701. 'أقل من شهر',
  702. 'شهر واحد',
  703. ['شهران', 'شهرين'],
  704. '%d أشهر',
  705. '%d شهرا',
  706. '%d شهر',
  707. ],
  708. y: [
  709. 'أقل من عام',
  710. 'عام واحد',
  711. ['عامان', 'عامين'],
  712. '%d أعوام',
  713. '%d عامًا',
  714. '%d عام',
  715. ],
  716. },
  717. pluralize$2 = function (u) {
  718. return function (number, withoutSuffix, string, isFuture) {
  719. var f = pluralForm$2(number),
  720. str = plurals$2[u][pluralForm$2(number)];
  721. if (f === 2) {
  722. str = str[withoutSuffix ? 0 : 1];
  723. }
  724. return str.replace(/%d/i, number);
  725. };
  726. },
  727. months$2 = [
  728. 'يناير',
  729. 'فبراير',
  730. 'مارس',
  731. 'أبريل',
  732. 'مايو',
  733. 'يونيو',
  734. 'يوليو',
  735. 'أغسطس',
  736. 'سبتمبر',
  737. 'أكتوبر',
  738. 'نوفمبر',
  739. 'ديسمبر',
  740. ];
  741. moment.defineLocale('ar', {
  742. months: months$2,
  743. monthsShort: months$2,
  744. weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
  745. weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
  746. weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
  747. weekdaysParseExact: true,
  748. longDateFormat: {
  749. LT: 'HH:mm',
  750. LTS: 'HH:mm:ss',
  751. L: 'D/\u200FM/\u200FYYYY',
  752. LL: 'D MMMM YYYY',
  753. LLL: 'D MMMM YYYY HH:mm',
  754. LLLL: 'dddd D MMMM YYYY HH:mm',
  755. },
  756. meridiemParse: /ص|م/,
  757. isPM: function (input) {
  758. return 'م' === input;
  759. },
  760. meridiem: function (hour, minute, isLower) {
  761. if (hour < 12) {
  762. return 'ص';
  763. } else {
  764. return 'م';
  765. }
  766. },
  767. calendar: {
  768. sameDay: '[اليوم عند الساعة] LT',
  769. nextDay: '[غدًا عند الساعة] LT',
  770. nextWeek: 'dddd [عند الساعة] LT',
  771. lastDay: '[أمس عند الساعة] LT',
  772. lastWeek: 'dddd [عند الساعة] LT',
  773. sameElse: 'L',
  774. },
  775. relativeTime: {
  776. future: 'بعد %s',
  777. past: 'منذ %s',
  778. s: pluralize$2('s'),
  779. ss: pluralize$2('s'),
  780. m: pluralize$2('m'),
  781. mm: pluralize$2('m'),
  782. h: pluralize$2('h'),
  783. hh: pluralize$2('h'),
  784. d: pluralize$2('d'),
  785. dd: pluralize$2('d'),
  786. M: pluralize$2('M'),
  787. MM: pluralize$2('M'),
  788. y: pluralize$2('y'),
  789. yy: pluralize$2('y'),
  790. },
  791. preparse: function (string) {
  792. return string
  793. .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  794. return numberMap$1[match];
  795. })
  796. .replace(/،/g, ',');
  797. },
  798. postformat: function (string) {
  799. return string
  800. .replace(/\d/g, function (match) {
  801. return symbolMap$2[match];
  802. })
  803. .replace(/,/g, '،');
  804. },
  805. week: {
  806. dow: 6, // Saturday is the first day of the week.
  807. doy: 12, // The week that contains Jan 12th is the first week of the year.
  808. },
  809. });
  810. //! moment.js locale configuration
  811. var suffixes = {
  812. 1: '-inci',
  813. 5: '-inci',
  814. 8: '-inci',
  815. 70: '-inci',
  816. 80: '-inci',
  817. 2: '-nci',
  818. 7: '-nci',
  819. 20: '-nci',
  820. 50: '-nci',
  821. 3: '-üncü',
  822. 4: '-üncü',
  823. 100: '-üncü',
  824. 6: '-ncı',
  825. 9: '-uncu',
  826. 10: '-uncu',
  827. 30: '-uncu',
  828. 60: '-ıncı',
  829. 90: '-ıncı',
  830. };
  831. moment.defineLocale('az', {
  832. months: 'yanvar_fevral_mart_aprel_may_iyun_iyul_avqust_sentyabr_oktyabr_noyabr_dekabr'.split(
  833. '_'
  834. ),
  835. monthsShort: 'yan_fev_mar_apr_may_iyn_iyl_avq_sen_okt_noy_dek'.split('_'),
  836. weekdays: 'Bazar_Bazar ertəsi_Çərşənbə axşamı_Çərşənbə_Cümə axşamı_Cümə_Şənbə'.split(
  837. '_'
  838. ),
  839. weekdaysShort: 'Baz_BzE_ÇAx_Çər_CAx_Cüm_Şən'.split('_'),
  840. weekdaysMin: 'Bz_BE_ÇA_Çə_CA_Cü_Şə'.split('_'),
  841. weekdaysParseExact: true,
  842. longDateFormat: {
  843. LT: 'HH:mm',
  844. LTS: 'HH:mm:ss',
  845. L: 'DD.MM.YYYY',
  846. LL: 'D MMMM YYYY',
  847. LLL: 'D MMMM YYYY HH:mm',
  848. LLLL: 'dddd, D MMMM YYYY HH:mm',
  849. },
  850. calendar: {
  851. sameDay: '[bugün saat] LT',
  852. nextDay: '[sabah saat] LT',
  853. nextWeek: '[gələn həftə] dddd [saat] LT',
  854. lastDay: '[dünən] LT',
  855. lastWeek: '[keçən həftə] dddd [saat] LT',
  856. sameElse: 'L',
  857. },
  858. relativeTime: {
  859. future: '%s sonra',
  860. past: '%s əvvəl',
  861. s: 'bir neçə saniyə',
  862. ss: '%d saniyə',
  863. m: 'bir dəqiqə',
  864. mm: '%d dəqiqə',
  865. h: 'bir saat',
  866. hh: '%d saat',
  867. d: 'bir gün',
  868. dd: '%d gün',
  869. M: 'bir ay',
  870. MM: '%d ay',
  871. y: 'bir il',
  872. yy: '%d il',
  873. },
  874. meridiemParse: /gecə|səhər|gündüz|axşam/,
  875. isPM: function (input) {
  876. return /^(gündüz|axşam)$/.test(input);
  877. },
  878. meridiem: function (hour, minute, isLower) {
  879. if (hour < 4) {
  880. return 'gecə';
  881. } else if (hour < 12) {
  882. return 'səhər';
  883. } else if (hour < 17) {
  884. return 'gündüz';
  885. } else {
  886. return 'axşam';
  887. }
  888. },
  889. dayOfMonthOrdinalParse: /\d{1,2}-(ıncı|inci|nci|üncü|ncı|uncu)/,
  890. ordinal: function (number) {
  891. if (number === 0) {
  892. // special case for zero
  893. return number + '-ıncı';
  894. }
  895. var a = number % 10,
  896. b = (number % 100) - a,
  897. c = number >= 100 ? 100 : null;
  898. return number + (suffixes[a] || suffixes[b] || suffixes[c]);
  899. },
  900. week: {
  901. dow: 1, // Monday is the first day of the week.
  902. doy: 7, // The week that contains Jan 7th is the first week of the year.
  903. },
  904. });
  905. //! moment.js locale configuration
  906. function plural(word, num) {
  907. var forms = word.split('_');
  908. return num % 10 === 1 && num % 100 !== 11
  909. ? forms[0]
  910. : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
  911. ? forms[1]
  912. : forms[2];
  913. }
  914. function relativeTimeWithPlural(number, withoutSuffix, key) {
  915. var format = {
  916. ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
  917. mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',
  918. hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',
  919. dd: 'дзень_дні_дзён',
  920. MM: 'месяц_месяцы_месяцаў',
  921. yy: 'год_гады_гадоў',
  922. };
  923. if (key === 'm') {
  924. return withoutSuffix ? 'хвіліна' : 'хвіліну';
  925. } else if (key === 'h') {
  926. return withoutSuffix ? 'гадзіна' : 'гадзіну';
  927. } else {
  928. return number + ' ' + plural(format[key], +number);
  929. }
  930. }
  931. moment.defineLocale('be', {
  932. months: {
  933. format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split(
  934. '_'
  935. ),
  936. standalone: 'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split(
  937. '_'
  938. ),
  939. },
  940. monthsShort: 'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split(
  941. '_'
  942. ),
  943. weekdays: {
  944. format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split(
  945. '_'
  946. ),
  947. standalone: 'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split(
  948. '_'
  949. ),
  950. isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/,
  951. },
  952. weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
  953. weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
  954. longDateFormat: {
  955. LT: 'HH:mm',
  956. LTS: 'HH:mm:ss',
  957. L: 'DD.MM.YYYY',
  958. LL: 'D MMMM YYYY г.',
  959. LLL: 'D MMMM YYYY г., HH:mm',
  960. LLLL: 'dddd, D MMMM YYYY г., HH:mm',
  961. },
  962. calendar: {
  963. sameDay: '[Сёння ў] LT',
  964. nextDay: '[Заўтра ў] LT',
  965. lastDay: '[Учора ў] LT',
  966. nextWeek: function () {
  967. return '[У] dddd [ў] LT';
  968. },
  969. lastWeek: function () {
  970. switch (this.day()) {
  971. case 0:
  972. case 3:
  973. case 5:
  974. case 6:
  975. return '[У мінулую] dddd [ў] LT';
  976. case 1:
  977. case 2:
  978. case 4:
  979. return '[У мінулы] dddd [ў] LT';
  980. }
  981. },
  982. sameElse: 'L',
  983. },
  984. relativeTime: {
  985. future: 'праз %s',
  986. past: '%s таму',
  987. s: 'некалькі секунд',
  988. m: relativeTimeWithPlural,
  989. mm: relativeTimeWithPlural,
  990. h: relativeTimeWithPlural,
  991. hh: relativeTimeWithPlural,
  992. d: 'дзень',
  993. dd: relativeTimeWithPlural,
  994. M: 'месяц',
  995. MM: relativeTimeWithPlural,
  996. y: 'год',
  997. yy: relativeTimeWithPlural,
  998. },
  999. meridiemParse: /ночы|раніцы|дня|вечара/,
  1000. isPM: function (input) {
  1001. return /^(дня|вечара)$/.test(input);
  1002. },
  1003. meridiem: function (hour, minute, isLower) {
  1004. if (hour < 4) {
  1005. return 'ночы';
  1006. } else if (hour < 12) {
  1007. return 'раніцы';
  1008. } else if (hour < 17) {
  1009. return 'дня';
  1010. } else {
  1011. return 'вечара';
  1012. }
  1013. },
  1014. dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
  1015. ordinal: function (number, period) {
  1016. switch (period) {
  1017. case 'M':
  1018. case 'd':
  1019. case 'DDD':
  1020. case 'w':
  1021. case 'W':
  1022. return (number % 10 === 2 || number % 10 === 3) &&
  1023. number % 100 !== 12 &&
  1024. number % 100 !== 13
  1025. ? number + '-і'
  1026. : number + '-ы';
  1027. case 'D':
  1028. return number + '-га';
  1029. default:
  1030. return number;
  1031. }
  1032. },
  1033. week: {
  1034. dow: 1, // Monday is the first day of the week.
  1035. doy: 7, // The week that contains Jan 7th is the first week of the year.
  1036. },
  1037. });
  1038. //! moment.js locale configuration
  1039. moment.defineLocale('bg', {
  1040. months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split(
  1041. '_'
  1042. ),
  1043. monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),
  1044. weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split(
  1045. '_'
  1046. ),
  1047. weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'),
  1048. weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  1049. longDateFormat: {
  1050. LT: 'H:mm',
  1051. LTS: 'H:mm:ss',
  1052. L: 'D.MM.YYYY',
  1053. LL: 'D MMMM YYYY',
  1054. LLL: 'D MMMM YYYY H:mm',
  1055. LLLL: 'dddd, D MMMM YYYY H:mm',
  1056. },
  1057. calendar: {
  1058. sameDay: '[Днес в] LT',
  1059. nextDay: '[Утре в] LT',
  1060. nextWeek: 'dddd [в] LT',
  1061. lastDay: '[Вчера в] LT',
  1062. lastWeek: function () {
  1063. switch (this.day()) {
  1064. case 0:
  1065. case 3:
  1066. case 6:
  1067. return '[Миналата] dddd [в] LT';
  1068. case 1:
  1069. case 2:
  1070. case 4:
  1071. case 5:
  1072. return '[Миналия] dddd [в] LT';
  1073. }
  1074. },
  1075. sameElse: 'L',
  1076. },
  1077. relativeTime: {
  1078. future: 'след %s',
  1079. past: 'преди %s',
  1080. s: 'няколко секунди',
  1081. ss: '%d секунди',
  1082. m: 'минута',
  1083. mm: '%d минути',
  1084. h: 'час',
  1085. hh: '%d часа',
  1086. d: 'ден',
  1087. dd: '%d дена',
  1088. w: 'седмица',
  1089. ww: '%d седмици',
  1090. M: 'месец',
  1091. MM: '%d месеца',
  1092. y: 'година',
  1093. yy: '%d години',
  1094. },
  1095. dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
  1096. ordinal: function (number) {
  1097. var lastDigit = number % 10,
  1098. last2Digits = number % 100;
  1099. if (number === 0) {
  1100. return number + '-ев';
  1101. } else if (last2Digits === 0) {
  1102. return number + '-ен';
  1103. } else if (last2Digits > 10 && last2Digits < 20) {
  1104. return number + '-ти';
  1105. } else if (lastDigit === 1) {
  1106. return number + '-ви';
  1107. } else if (lastDigit === 2) {
  1108. return number + '-ри';
  1109. } else if (lastDigit === 7 || lastDigit === 8) {
  1110. return number + '-ми';
  1111. } else {
  1112. return number + '-ти';
  1113. }
  1114. },
  1115. week: {
  1116. dow: 1, // Monday is the first day of the week.
  1117. doy: 7, // The week that contains Jan 7th is the first week of the year.
  1118. },
  1119. });
  1120. //! moment.js locale configuration
  1121. moment.defineLocale('bm', {
  1122. months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split(
  1123. '_'
  1124. ),
  1125. monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'),
  1126. weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),
  1127. weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'),
  1128. weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),
  1129. longDateFormat: {
  1130. LT: 'HH:mm',
  1131. LTS: 'HH:mm:ss',
  1132. L: 'DD/MM/YYYY',
  1133. LL: 'MMMM [tile] D [san] YYYY',
  1134. LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
  1135. LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
  1136. },
  1137. calendar: {
  1138. sameDay: '[Bi lɛrɛ] LT',
  1139. nextDay: '[Sini lɛrɛ] LT',
  1140. nextWeek: 'dddd [don lɛrɛ] LT',
  1141. lastDay: '[Kunu lɛrɛ] LT',
  1142. lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT',
  1143. sameElse: 'L',
  1144. },
  1145. relativeTime: {
  1146. future: '%s kɔnɔ',
  1147. past: 'a bɛ %s bɔ',
  1148. s: 'sanga dama dama',
  1149. ss: 'sekondi %d',
  1150. m: 'miniti kelen',
  1151. mm: 'miniti %d',
  1152. h: 'lɛrɛ kelen',
  1153. hh: 'lɛrɛ %d',
  1154. d: 'tile kelen',
  1155. dd: 'tile %d',
  1156. M: 'kalo kelen',
  1157. MM: 'kalo %d',
  1158. y: 'san kelen',
  1159. yy: 'san %d',
  1160. },
  1161. week: {
  1162. dow: 1, // Monday is the first day of the week.
  1163. doy: 4, // The week that contains Jan 4th is the first week of the year.
  1164. },
  1165. });
  1166. //! moment.js locale configuration
  1167. var symbolMap$3 = {
  1168. 1: '১',
  1169. 2: '২',
  1170. 3: '৩',
  1171. 4: '৪',
  1172. 5: '৫',
  1173. 6: '৬',
  1174. 7: '৭',
  1175. 8: '৮',
  1176. 9: '৯',
  1177. 0: '০',
  1178. },
  1179. numberMap$2 = {
  1180. '১': '1',
  1181. '২': '2',
  1182. '৩': '3',
  1183. '৪': '4',
  1184. '৫': '5',
  1185. '৬': '6',
  1186. '৭': '7',
  1187. '৮': '8',
  1188. '৯': '9',
  1189. '০': '0',
  1190. };
  1191. moment.defineLocale('bn-bd', {
  1192. months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(
  1193. '_'
  1194. ),
  1195. monthsShort: 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(
  1196. '_'
  1197. ),
  1198. weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(
  1199. '_'
  1200. ),
  1201. weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
  1202. weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),
  1203. longDateFormat: {
  1204. LT: 'A h:mm সময়',
  1205. LTS: 'A h:mm:ss সময়',
  1206. L: 'DD/MM/YYYY',
  1207. LL: 'D MMMM YYYY',
  1208. LLL: 'D MMMM YYYY, A h:mm সময়',
  1209. LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',
  1210. },
  1211. calendar: {
  1212. sameDay: '[আজ] LT',
  1213. nextDay: '[আগামীকাল] LT',
  1214. nextWeek: 'dddd, LT',
  1215. lastDay: '[গতকাল] LT',
  1216. lastWeek: '[গত] dddd, LT',
  1217. sameElse: 'L',
  1218. },
  1219. relativeTime: {
  1220. future: '%s পরে',
  1221. past: '%s আগে',
  1222. s: 'কয়েক সেকেন্ড',
  1223. ss: '%d সেকেন্ড',
  1224. m: 'এক মিনিট',
  1225. mm: '%d মিনিট',
  1226. h: 'এক ঘন্টা',
  1227. hh: '%d ঘন্টা',
  1228. d: 'এক দিন',
  1229. dd: '%d দিন',
  1230. M: 'এক মাস',
  1231. MM: '%d মাস',
  1232. y: 'এক বছর',
  1233. yy: '%d বছর',
  1234. },
  1235. preparse: function (string) {
  1236. return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
  1237. return numberMap$2[match];
  1238. });
  1239. },
  1240. postformat: function (string) {
  1241. return string.replace(/\d/g, function (match) {
  1242. return symbolMap$3[match];
  1243. });
  1244. },
  1245. meridiemParse: /রাত|ভোর|সকাল|দুপুর|বিকাল|সন্ধ্যা|রাত/,
  1246. meridiemHour: function (hour, meridiem) {
  1247. if (hour === 12) {
  1248. hour = 0;
  1249. }
  1250. if (meridiem === 'রাত') {
  1251. return hour < 4 ? hour : hour + 12;
  1252. } else if (meridiem === 'ভোর') {
  1253. return hour;
  1254. } else if (meridiem === 'সকাল') {
  1255. return hour;
  1256. } else if (meridiem === 'দুপুর') {
  1257. return hour >= 3 ? hour : hour + 12;
  1258. } else if (meridiem === 'বিকাল') {
  1259. return hour + 12;
  1260. } else if (meridiem === 'সন্ধ্যা') {
  1261. return hour + 12;
  1262. }
  1263. },
  1264. meridiem: function (hour, minute, isLower) {
  1265. if (hour < 4) {
  1266. return 'রাত';
  1267. } else if (hour < 6) {
  1268. return 'ভোর';
  1269. } else if (hour < 12) {
  1270. return 'সকাল';
  1271. } else if (hour < 15) {
  1272. return 'দুপুর';
  1273. } else if (hour < 18) {
  1274. return 'বিকাল';
  1275. } else if (hour < 20) {
  1276. return 'সন্ধ্যা';
  1277. } else {
  1278. return 'রাত';
  1279. }
  1280. },
  1281. week: {
  1282. dow: 0, // Sunday is the first day of the week.
  1283. doy: 6, // The week that contains Jan 6th is the first week of the year.
  1284. },
  1285. });
  1286. //! moment.js locale configuration
  1287. var symbolMap$4 = {
  1288. 1: '১',
  1289. 2: '২',
  1290. 3: '৩',
  1291. 4: '৪',
  1292. 5: '৫',
  1293. 6: '৬',
  1294. 7: '৭',
  1295. 8: '৮',
  1296. 9: '৯',
  1297. 0: '০',
  1298. },
  1299. numberMap$3 = {
  1300. '১': '1',
  1301. '২': '2',
  1302. '৩': '3',
  1303. '৪': '4',
  1304. '৫': '5',
  1305. '৬': '6',
  1306. '৭': '7',
  1307. '৮': '8',
  1308. '৯': '9',
  1309. '০': '0',
  1310. };
  1311. moment.defineLocale('bn', {
  1312. months: 'জানুয়ারি_ফেব্রুয়ারি_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্টেম্বর_অক্টোবর_নভেম্বর_ডিসেম্বর'.split(
  1313. '_'
  1314. ),
  1315. monthsShort: 'জানু_ফেব্রু_মার্চ_এপ্রিল_মে_জুন_জুলাই_আগস্ট_সেপ্ট_অক্টো_নভে_ডিসে'.split(
  1316. '_'
  1317. ),
  1318. weekdays: 'রবিবার_সোমবার_মঙ্গলবার_বুধবার_বৃহস্পতিবার_শুক্রবার_শনিবার'.split(
  1319. '_'
  1320. ),
  1321. weekdaysShort: 'রবি_সোম_মঙ্গল_বুধ_বৃহস্পতি_শুক্র_শনি'.split('_'),
  1322. weekdaysMin: 'রবি_সোম_মঙ্গল_বুধ_বৃহ_শুক্র_শনি'.split('_'),
  1323. longDateFormat: {
  1324. LT: 'A h:mm সময়',
  1325. LTS: 'A h:mm:ss সময়',
  1326. L: 'DD/MM/YYYY',
  1327. LL: 'D MMMM YYYY',
  1328. LLL: 'D MMMM YYYY, A h:mm সময়',
  1329. LLLL: 'dddd, D MMMM YYYY, A h:mm সময়',
  1330. },
  1331. calendar: {
  1332. sameDay: '[আজ] LT',
  1333. nextDay: '[আগামীকাল] LT',
  1334. nextWeek: 'dddd, LT',
  1335. lastDay: '[গতকাল] LT',
  1336. lastWeek: '[গত] dddd, LT',
  1337. sameElse: 'L',
  1338. },
  1339. relativeTime: {
  1340. future: '%s পরে',
  1341. past: '%s আগে',
  1342. s: 'কয়েক সেকেন্ড',
  1343. ss: '%d সেকেন্ড',
  1344. m: 'এক মিনিট',
  1345. mm: '%d মিনিট',
  1346. h: 'এক ঘন্টা',
  1347. hh: '%d ঘন্টা',
  1348. d: 'এক দিন',
  1349. dd: '%d দিন',
  1350. M: 'এক মাস',
  1351. MM: '%d মাস',
  1352. y: 'এক বছর',
  1353. yy: '%d বছর',
  1354. },
  1355. preparse: function (string) {
  1356. return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
  1357. return numberMap$3[match];
  1358. });
  1359. },
  1360. postformat: function (string) {
  1361. return string.replace(/\d/g, function (match) {
  1362. return symbolMap$4[match];
  1363. });
  1364. },
  1365. meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,
  1366. meridiemHour: function (hour, meridiem) {
  1367. if (hour === 12) {
  1368. hour = 0;
  1369. }
  1370. if (
  1371. (meridiem === 'রাত' && hour >= 4) ||
  1372. (meridiem === 'দুপুর' && hour < 5) ||
  1373. meridiem === 'বিকাল'
  1374. ) {
  1375. return hour + 12;
  1376. } else {
  1377. return hour;
  1378. }
  1379. },
  1380. meridiem: function (hour, minute, isLower) {
  1381. if (hour < 4) {
  1382. return 'রাত';
  1383. } else if (hour < 10) {
  1384. return 'সকাল';
  1385. } else if (hour < 17) {
  1386. return 'দুপুর';
  1387. } else if (hour < 20) {
  1388. return 'বিকাল';
  1389. } else {
  1390. return 'রাত';
  1391. }
  1392. },
  1393. week: {
  1394. dow: 0, // Sunday is the first day of the week.
  1395. doy: 6, // The week that contains Jan 6th is the first week of the year.
  1396. },
  1397. });
  1398. //! moment.js locale configuration
  1399. var symbolMap$5 = {
  1400. 1: '༡',
  1401. 2: '༢',
  1402. 3: '༣',
  1403. 4: '༤',
  1404. 5: '༥',
  1405. 6: '༦',
  1406. 7: '༧',
  1407. 8: '༨',
  1408. 9: '༩',
  1409. 0: '༠',
  1410. },
  1411. numberMap$4 = {
  1412. '༡': '1',
  1413. '༢': '2',
  1414. '༣': '3',
  1415. '༤': '4',
  1416. '༥': '5',
  1417. '༦': '6',
  1418. '༧': '7',
  1419. '༨': '8',
  1420. '༩': '9',
  1421. '༠': '0',
  1422. };
  1423. moment.defineLocale('bo', {
  1424. months: 'ཟླ་བ་དང་པོ_ཟླ་བ་གཉིས་པ_ཟླ་བ་གསུམ་པ_ཟླ་བ་བཞི་པ_ཟླ་བ་ལྔ་པ_ཟླ་བ་དྲུག་པ_ཟླ་བ་བདུན་པ_ཟླ་བ་བརྒྱད་པ_ཟླ་བ་དགུ་པ_ཟླ་བ་བཅུ་པ_ཟླ་བ་བཅུ་གཅིག་པ_ཟླ་བ་བཅུ་གཉིས་པ'.split(
  1425. '_'
  1426. ),
  1427. monthsShort: 'ཟླ་1_ཟླ་2_ཟླ་3_ཟླ་4_ཟླ་5_ཟླ་6_ཟླ་7_ཟླ་8_ཟླ་9_ཟླ་10_ཟླ་11_ཟླ་12'.split(
  1428. '_'
  1429. ),
  1430. monthsShortRegex: /^(ཟླ་\d{1,2})/,
  1431. monthsParseExact: true,
  1432. weekdays: 'གཟའ་ཉི་མ་_གཟའ་ཟླ་བ་_གཟའ་མིག་དམར་_གཟའ་ལྷག་པ་_གཟའ་ཕུར་བུ_གཟའ་པ་སངས་_གཟའ་སྤེན་པ་'.split(
  1433. '_'
  1434. ),
  1435. weekdaysShort: 'ཉི་མ་_ཟླ་བ་_མིག་དམར་_ལྷག་པ་_ཕུར་བུ_པ་སངས་_སྤེན་པ་'.split(
  1436. '_'
  1437. ),
  1438. weekdaysMin: 'ཉི_ཟླ_མིག_ལྷག_ཕུར_སངས_སྤེན'.split('_'),
  1439. longDateFormat: {
  1440. LT: 'A h:mm',
  1441. LTS: 'A h:mm:ss',
  1442. L: 'DD/MM/YYYY',
  1443. LL: 'D MMMM YYYY',
  1444. LLL: 'D MMMM YYYY, A h:mm',
  1445. LLLL: 'dddd, D MMMM YYYY, A h:mm',
  1446. },
  1447. calendar: {
  1448. sameDay: '[དི་རིང] LT',
  1449. nextDay: '[སང་ཉིན] LT',
  1450. nextWeek: '[བདུན་ཕྲག་རྗེས་མ], LT',
  1451. lastDay: '[ཁ་སང] LT',
  1452. lastWeek: '[བདུན་ཕྲག་མཐའ་མ] dddd, LT',
  1453. sameElse: 'L',
  1454. },
  1455. relativeTime: {
  1456. future: '%s ལ་',
  1457. past: '%s སྔན་ལ',
  1458. s: 'ལམ་སང',
  1459. ss: '%d སྐར་ཆ།',
  1460. m: 'སྐར་མ་གཅིག',
  1461. mm: '%d སྐར་མ',
  1462. h: 'ཆུ་ཚོད་གཅིག',
  1463. hh: '%d ཆུ་ཚོད',
  1464. d: 'ཉིན་གཅིག',
  1465. dd: '%d ཉིན་',
  1466. M: 'ཟླ་བ་གཅིག',
  1467. MM: '%d ཟླ་བ',
  1468. y: 'ལོ་གཅིག',
  1469. yy: '%d ལོ',
  1470. },
  1471. preparse: function (string) {
  1472. return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {
  1473. return numberMap$4[match];
  1474. });
  1475. },
  1476. postformat: function (string) {
  1477. return string.replace(/\d/g, function (match) {
  1478. return symbolMap$5[match];
  1479. });
  1480. },
  1481. meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,
  1482. meridiemHour: function (hour, meridiem) {
  1483. if (hour === 12) {
  1484. hour = 0;
  1485. }
  1486. if (
  1487. (meridiem === 'མཚན་མོ' && hour >= 4) ||
  1488. (meridiem === 'ཉིན་གུང' && hour < 5) ||
  1489. meridiem === 'དགོང་དག'
  1490. ) {
  1491. return hour + 12;
  1492. } else {
  1493. return hour;
  1494. }
  1495. },
  1496. meridiem: function (hour, minute, isLower) {
  1497. if (hour < 4) {
  1498. return 'མཚན་མོ';
  1499. } else if (hour < 10) {
  1500. return 'ཞོགས་ཀས';
  1501. } else if (hour < 17) {
  1502. return 'ཉིན་གུང';
  1503. } else if (hour < 20) {
  1504. return 'དགོང་དག';
  1505. } else {
  1506. return 'མཚན་མོ';
  1507. }
  1508. },
  1509. week: {
  1510. dow: 0, // Sunday is the first day of the week.
  1511. doy: 6, // The week that contains Jan 6th is the first week of the year.
  1512. },
  1513. });
  1514. //! moment.js locale configuration
  1515. function relativeTimeWithMutation(number, withoutSuffix, key) {
  1516. var format = {
  1517. mm: 'munutenn',
  1518. MM: 'miz',
  1519. dd: 'devezh',
  1520. };
  1521. return number + ' ' + mutation(format[key], number);
  1522. }
  1523. function specialMutationForYears(number) {
  1524. switch (lastNumber(number)) {
  1525. case 1:
  1526. case 3:
  1527. case 4:
  1528. case 5:
  1529. case 9:
  1530. return number + ' bloaz';
  1531. default:
  1532. return number + ' vloaz';
  1533. }
  1534. }
  1535. function lastNumber(number) {
  1536. if (number > 9) {
  1537. return lastNumber(number % 10);
  1538. }
  1539. return number;
  1540. }
  1541. function mutation(text, number) {
  1542. if (number === 2) {
  1543. return softMutation(text);
  1544. }
  1545. return text;
  1546. }
  1547. function softMutation(text) {
  1548. var mutationTable = {
  1549. m: 'v',
  1550. b: 'v',
  1551. d: 'z',
  1552. };
  1553. if (mutationTable[text.charAt(0)] === undefined) {
  1554. return text;
  1555. }
  1556. return mutationTable[text.charAt(0)] + text.substring(1);
  1557. }
  1558. var monthsParse = [
  1559. /^gen/i,
  1560. /^c[ʼ\']hwe/i,
  1561. /^meu/i,
  1562. /^ebr/i,
  1563. /^mae/i,
  1564. /^(mez|eve)/i,
  1565. /^gou/i,
  1566. /^eos/i,
  1567. /^gwe/i,
  1568. /^her/i,
  1569. /^du/i,
  1570. /^ker/i,
  1571. ],
  1572. monthsRegex = /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
  1573. monthsStrictRegex = /^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,
  1574. monthsShortStrictRegex = /^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
  1575. fullWeekdaysParse = [
  1576. /^sul/i,
  1577. /^lun/i,
  1578. /^meurzh/i,
  1579. /^merc[ʼ\']her/i,
  1580. /^yaou/i,
  1581. /^gwener/i,
  1582. /^sadorn/i,
  1583. ],
  1584. shortWeekdaysParse = [
  1585. /^Sul/i,
  1586. /^Lun/i,
  1587. /^Meu/i,
  1588. /^Mer/i,
  1589. /^Yao/i,
  1590. /^Gwe/i,
  1591. /^Sad/i,
  1592. ],
  1593. minWeekdaysParse = [
  1594. /^Su/i,
  1595. /^Lu/i,
  1596. /^Me([^r]|$)/i,
  1597. /^Mer/i,
  1598. /^Ya/i,
  1599. /^Gw/i,
  1600. /^Sa/i,
  1601. ];
  1602. moment.defineLocale('br', {
  1603. months: 'Genver_Cʼhwevrer_Meurzh_Ebrel_Mae_Mezheven_Gouere_Eost_Gwengolo_Here_Du_Kerzu'.split(
  1604. '_'
  1605. ),
  1606. monthsShort: 'Gen_Cʼhwe_Meu_Ebr_Mae_Eve_Gou_Eos_Gwe_Her_Du_Ker'.split('_'),
  1607. weekdays: 'Sul_Lun_Meurzh_Mercʼher_Yaou_Gwener_Sadorn'.split('_'),
  1608. weekdaysShort: 'Sul_Lun_Meu_Mer_Yao_Gwe_Sad'.split('_'),
  1609. weekdaysMin: 'Su_Lu_Me_Mer_Ya_Gw_Sa'.split('_'),
  1610. weekdaysParse: minWeekdaysParse,
  1611. fullWeekdaysParse: fullWeekdaysParse,
  1612. shortWeekdaysParse: shortWeekdaysParse,
  1613. minWeekdaysParse: minWeekdaysParse,
  1614. monthsRegex: monthsRegex,
  1615. monthsShortRegex: monthsRegex,
  1616. monthsStrictRegex: monthsStrictRegex,
  1617. monthsShortStrictRegex: monthsShortStrictRegex,
  1618. monthsParse: monthsParse,
  1619. longMonthsParse: monthsParse,
  1620. shortMonthsParse: monthsParse,
  1621. longDateFormat: {
  1622. LT: 'HH:mm',
  1623. LTS: 'HH:mm:ss',
  1624. L: 'DD/MM/YYYY',
  1625. LL: 'D [a viz] MMMM YYYY',
  1626. LLL: 'D [a viz] MMMM YYYY HH:mm',
  1627. LLLL: 'dddd, D [a viz] MMMM YYYY HH:mm',
  1628. },
  1629. calendar: {
  1630. sameDay: '[Hiziv da] LT',
  1631. nextDay: '[Warcʼhoazh da] LT',
  1632. nextWeek: 'dddd [da] LT',
  1633. lastDay: '[Decʼh da] LT',
  1634. lastWeek: 'dddd [paset da] LT',
  1635. sameElse: 'L',
  1636. },
  1637. relativeTime: {
  1638. future: 'a-benn %s',
  1639. past: '%s ʼzo',
  1640. s: 'un nebeud segondennoù',
  1641. ss: '%d eilenn',
  1642. m: 'ur vunutenn',
  1643. mm: relativeTimeWithMutation,
  1644. h: 'un eur',
  1645. hh: '%d eur',
  1646. d: 'un devezh',
  1647. dd: relativeTimeWithMutation,
  1648. M: 'ur miz',
  1649. MM: relativeTimeWithMutation,
  1650. y: 'ur bloaz',
  1651. yy: specialMutationForYears,
  1652. },
  1653. dayOfMonthOrdinalParse: /\d{1,2}(añ|vet)/,
  1654. ordinal: function (number) {
  1655. var output = number === 1 ? 'añ' : 'vet';
  1656. return number + output;
  1657. },
  1658. week: {
  1659. dow: 1, // Monday is the first day of the week.
  1660. doy: 4, // The week that contains Jan 4th is the first week of the year.
  1661. },
  1662. meridiemParse: /a.m.|g.m./, // goude merenn | a-raok merenn
  1663. isPM: function (token) {
  1664. return token === 'g.m.';
  1665. },
  1666. meridiem: function (hour, minute, isLower) {
  1667. return hour < 12 ? 'a.m.' : 'g.m.';
  1668. },
  1669. });
  1670. //! moment.js locale configuration
  1671. function translate(number, withoutSuffix, key) {
  1672. var result = number + ' ';
  1673. switch (key) {
  1674. case 'ss':
  1675. if (number === 1) {
  1676. result += 'sekunda';
  1677. } else if (number === 2 || number === 3 || number === 4) {
  1678. result += 'sekunde';
  1679. } else {
  1680. result += 'sekundi';
  1681. }
  1682. return result;
  1683. case 'm':
  1684. return withoutSuffix ? 'jedna minuta' : 'jedne minute';
  1685. case 'mm':
  1686. if (number === 1) {
  1687. result += 'minuta';
  1688. } else if (number === 2 || number === 3 || number === 4) {
  1689. result += 'minute';
  1690. } else {
  1691. result += 'minuta';
  1692. }
  1693. return result;
  1694. case 'h':
  1695. return withoutSuffix ? 'jedan sat' : 'jednog sata';
  1696. case 'hh':
  1697. if (number === 1) {
  1698. result += 'sat';
  1699. } else if (number === 2 || number === 3 || number === 4) {
  1700. result += 'sata';
  1701. } else {
  1702. result += 'sati';
  1703. }
  1704. return result;
  1705. case 'dd':
  1706. if (number === 1) {
  1707. result += 'dan';
  1708. } else {
  1709. result += 'dana';
  1710. }
  1711. return result;
  1712. case 'MM':
  1713. if (number === 1) {
  1714. result += 'mjesec';
  1715. } else if (number === 2 || number === 3 || number === 4) {
  1716. result += 'mjeseca';
  1717. } else {
  1718. result += 'mjeseci';
  1719. }
  1720. return result;
  1721. case 'yy':
  1722. if (number === 1) {
  1723. result += 'godina';
  1724. } else if (number === 2 || number === 3 || number === 4) {
  1725. result += 'godine';
  1726. } else {
  1727. result += 'godina';
  1728. }
  1729. return result;
  1730. }
  1731. }
  1732. moment.defineLocale('bs', {
  1733. months: 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split(
  1734. '_'
  1735. ),
  1736. monthsShort: 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split(
  1737. '_'
  1738. ),
  1739. monthsParseExact: true,
  1740. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
  1741. '_'
  1742. ),
  1743. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  1744. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  1745. weekdaysParseExact: true,
  1746. longDateFormat: {
  1747. LT: 'H:mm',
  1748. LTS: 'H:mm:ss',
  1749. L: 'DD.MM.YYYY',
  1750. LL: 'D. MMMM YYYY',
  1751. LLL: 'D. MMMM YYYY H:mm',
  1752. LLLL: 'dddd, D. MMMM YYYY H:mm',
  1753. },
  1754. calendar: {
  1755. sameDay: '[danas u] LT',
  1756. nextDay: '[sutra u] LT',
  1757. nextWeek: function () {
  1758. switch (this.day()) {
  1759. case 0:
  1760. return '[u] [nedjelju] [u] LT';
  1761. case 3:
  1762. return '[u] [srijedu] [u] LT';
  1763. case 6:
  1764. return '[u] [subotu] [u] LT';
  1765. case 1:
  1766. case 2:
  1767. case 4:
  1768. case 5:
  1769. return '[u] dddd [u] LT';
  1770. }
  1771. },
  1772. lastDay: '[jučer u] LT',
  1773. lastWeek: function () {
  1774. switch (this.day()) {
  1775. case 0:
  1776. case 3:
  1777. return '[prošlu] dddd [u] LT';
  1778. case 6:
  1779. return '[prošle] [subote] [u] LT';
  1780. case 1:
  1781. case 2:
  1782. case 4:
  1783. case 5:
  1784. return '[prošli] dddd [u] LT';
  1785. }
  1786. },
  1787. sameElse: 'L',
  1788. },
  1789. relativeTime: {
  1790. future: 'za %s',
  1791. past: 'prije %s',
  1792. s: 'par sekundi',
  1793. ss: translate,
  1794. m: translate,
  1795. mm: translate,
  1796. h: translate,
  1797. hh: translate,
  1798. d: 'dan',
  1799. dd: translate,
  1800. M: 'mjesec',
  1801. MM: translate,
  1802. y: 'godinu',
  1803. yy: translate,
  1804. },
  1805. dayOfMonthOrdinalParse: /\d{1,2}\./,
  1806. ordinal: '%d.',
  1807. week: {
  1808. dow: 1, // Monday is the first day of the week.
  1809. doy: 7, // The week that contains Jan 7th is the first week of the year.
  1810. },
  1811. });
  1812. //! moment.js locale configuration
  1813. moment.defineLocale('ca', {
  1814. months: {
  1815. standalone: 'gener_febrer_març_abril_maig_juny_juliol_agost_setembre_octubre_novembre_desembre'.split(
  1816. '_'
  1817. ),
  1818. format: "de gener_de febrer_de març_d'abril_de maig_de juny_de juliol_d'agost_de setembre_d'octubre_de novembre_de desembre".split(
  1819. '_'
  1820. ),
  1821. isFormat: /D[oD]?(\s)+MMMM/,
  1822. },
  1823. monthsShort: 'gen._febr._març_abr._maig_juny_jul._ag._set._oct._nov._des.'.split(
  1824. '_'
  1825. ),
  1826. monthsParseExact: true,
  1827. weekdays: 'diumenge_dilluns_dimarts_dimecres_dijous_divendres_dissabte'.split(
  1828. '_'
  1829. ),
  1830. weekdaysShort: 'dg._dl._dt._dc._dj._dv._ds.'.split('_'),
  1831. weekdaysMin: 'dg_dl_dt_dc_dj_dv_ds'.split('_'),
  1832. weekdaysParseExact: true,
  1833. longDateFormat: {
  1834. LT: 'H:mm',
  1835. LTS: 'H:mm:ss',
  1836. L: 'DD/MM/YYYY',
  1837. LL: 'D MMMM [de] YYYY',
  1838. ll: 'D MMM YYYY',
  1839. LLL: 'D MMMM [de] YYYY [a les] H:mm',
  1840. lll: 'D MMM YYYY, H:mm',
  1841. LLLL: 'dddd D MMMM [de] YYYY [a les] H:mm',
  1842. llll: 'ddd D MMM YYYY, H:mm',
  1843. },
  1844. calendar: {
  1845. sameDay: function () {
  1846. return '[avui a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  1847. },
  1848. nextDay: function () {
  1849. return '[demà a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  1850. },
  1851. nextWeek: function () {
  1852. return 'dddd [a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  1853. },
  1854. lastDay: function () {
  1855. return '[ahir a ' + (this.hours() !== 1 ? 'les' : 'la') + '] LT';
  1856. },
  1857. lastWeek: function () {
  1858. return (
  1859. '[el] dddd [passat a ' +
  1860. (this.hours() !== 1 ? 'les' : 'la') +
  1861. '] LT'
  1862. );
  1863. },
  1864. sameElse: 'L',
  1865. },
  1866. relativeTime: {
  1867. future: "d'aquí %s",
  1868. past: 'fa %s',
  1869. s: 'uns segons',
  1870. ss: '%d segons',
  1871. m: 'un minut',
  1872. mm: '%d minuts',
  1873. h: 'una hora',
  1874. hh: '%d hores',
  1875. d: 'un dia',
  1876. dd: '%d dies',
  1877. M: 'un mes',
  1878. MM: '%d mesos',
  1879. y: 'un any',
  1880. yy: '%d anys',
  1881. },
  1882. dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
  1883. ordinal: function (number, period) {
  1884. var output =
  1885. number === 1
  1886. ? 'r'
  1887. : number === 2
  1888. ? 'n'
  1889. : number === 3
  1890. ? 'r'
  1891. : number === 4
  1892. ? 't'
  1893. : 'è';
  1894. if (period === 'w' || period === 'W') {
  1895. output = 'a';
  1896. }
  1897. return number + output;
  1898. },
  1899. week: {
  1900. dow: 1, // Monday is the first day of the week.
  1901. doy: 4, // The week that contains Jan 4th is the first week of the year.
  1902. },
  1903. });
  1904. //! moment.js locale configuration
  1905. var months$3 = 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split(
  1906. '_'
  1907. ),
  1908. monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'),
  1909. monthsParse$1 = [
  1910. /^led/i,
  1911. /^úno/i,
  1912. /^bře/i,
  1913. /^dub/i,
  1914. /^kvě/i,
  1915. /^(čvn|červen$|června)/i,
  1916. /^(čvc|červenec|července)/i,
  1917. /^srp/i,
  1918. /^zář/i,
  1919. /^říj/i,
  1920. /^lis/i,
  1921. /^pro/i,
  1922. ],
  1923. // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
  1924. // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
  1925. monthsRegex$1 = /^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;
  1926. function plural$1(n) {
  1927. return n > 1 && n < 5 && ~~(n / 10) !== 1;
  1928. }
  1929. function translate$1(number, withoutSuffix, key, isFuture) {
  1930. var result = number + ' ';
  1931. switch (key) {
  1932. case 's': // a few seconds / in a few seconds / a few seconds ago
  1933. return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami';
  1934. case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago
  1935. if (withoutSuffix || isFuture) {
  1936. return result + (plural$1(number) ? 'sekundy' : 'sekund');
  1937. } else {
  1938. return result + 'sekundami';
  1939. }
  1940. case 'm': // a minute / in a minute / a minute ago
  1941. return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou';
  1942. case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
  1943. if (withoutSuffix || isFuture) {
  1944. return result + (plural$1(number) ? 'minuty' : 'minut');
  1945. } else {
  1946. return result + 'minutami';
  1947. }
  1948. case 'h': // an hour / in an hour / an hour ago
  1949. return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
  1950. case 'hh': // 9 hours / in 9 hours / 9 hours ago
  1951. if (withoutSuffix || isFuture) {
  1952. return result + (plural$1(number) ? 'hodiny' : 'hodin');
  1953. } else {
  1954. return result + 'hodinami';
  1955. }
  1956. case 'd': // a day / in a day / a day ago
  1957. return withoutSuffix || isFuture ? 'den' : 'dnem';
  1958. case 'dd': // 9 days / in 9 days / 9 days ago
  1959. if (withoutSuffix || isFuture) {
  1960. return result + (plural$1(number) ? 'dny' : 'dní');
  1961. } else {
  1962. return result + 'dny';
  1963. }
  1964. case 'M': // a month / in a month / a month ago
  1965. return withoutSuffix || isFuture ? 'měsíc' : 'měsícem';
  1966. case 'MM': // 9 months / in 9 months / 9 months ago
  1967. if (withoutSuffix || isFuture) {
  1968. return result + (plural$1(number) ? 'měsíce' : 'měsíců');
  1969. } else {
  1970. return result + 'měsíci';
  1971. }
  1972. case 'y': // a year / in a year / a year ago
  1973. return withoutSuffix || isFuture ? 'rok' : 'rokem';
  1974. case 'yy': // 9 years / in 9 years / 9 years ago
  1975. if (withoutSuffix || isFuture) {
  1976. return result + (plural$1(number) ? 'roky' : 'let');
  1977. } else {
  1978. return result + 'lety';
  1979. }
  1980. }
  1981. }
  1982. moment.defineLocale('cs', {
  1983. months: months$3,
  1984. monthsShort: monthsShort,
  1985. monthsRegex: monthsRegex$1,
  1986. monthsShortRegex: monthsRegex$1,
  1987. // NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
  1988. // Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
  1989. monthsStrictRegex: /^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,
  1990. monthsShortStrictRegex: /^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,
  1991. monthsParse: monthsParse$1,
  1992. longMonthsParse: monthsParse$1,
  1993. shortMonthsParse: monthsParse$1,
  1994. weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
  1995. weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),
  1996. weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'),
  1997. longDateFormat: {
  1998. LT: 'H:mm',
  1999. LTS: 'H:mm:ss',
  2000. L: 'DD.MM.YYYY',
  2001. LL: 'D. MMMM YYYY',
  2002. LLL: 'D. MMMM YYYY H:mm',
  2003. LLLL: 'dddd D. MMMM YYYY H:mm',
  2004. l: 'D. M. YYYY',
  2005. },
  2006. calendar: {
  2007. sameDay: '[dnes v] LT',
  2008. nextDay: '[zítra v] LT',
  2009. nextWeek: function () {
  2010. switch (this.day()) {
  2011. case 0:
  2012. return '[v neděli v] LT';
  2013. case 1:
  2014. case 2:
  2015. return '[v] dddd [v] LT';
  2016. case 3:
  2017. return '[ve středu v] LT';
  2018. case 4:
  2019. return '[ve čtvrtek v] LT';
  2020. case 5:
  2021. return '[v pátek v] LT';
  2022. case 6:
  2023. return '[v sobotu v] LT';
  2024. }
  2025. },
  2026. lastDay: '[včera v] LT',
  2027. lastWeek: function () {
  2028. switch (this.day()) {
  2029. case 0:
  2030. return '[minulou neděli v] LT';
  2031. case 1:
  2032. case 2:
  2033. return '[minulé] dddd [v] LT';
  2034. case 3:
  2035. return '[minulou středu v] LT';
  2036. case 4:
  2037. case 5:
  2038. return '[minulý] dddd [v] LT';
  2039. case 6:
  2040. return '[minulou sobotu v] LT';
  2041. }
  2042. },
  2043. sameElse: 'L',
  2044. },
  2045. relativeTime: {
  2046. future: 'za %s',
  2047. past: 'před %s',
  2048. s: translate$1,
  2049. ss: translate$1,
  2050. m: translate$1,
  2051. mm: translate$1,
  2052. h: translate$1,
  2053. hh: translate$1,
  2054. d: translate$1,
  2055. dd: translate$1,
  2056. M: translate$1,
  2057. MM: translate$1,
  2058. y: translate$1,
  2059. yy: translate$1,
  2060. },
  2061. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2062. ordinal: '%d.',
  2063. week: {
  2064. dow: 1, // Monday is the first day of the week.
  2065. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2066. },
  2067. });
  2068. //! moment.js locale configuration
  2069. moment.defineLocale('cv', {
  2070. months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split(
  2071. '_'
  2072. ),
  2073. monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
  2074. weekdays: 'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split(
  2075. '_'
  2076. ),
  2077. weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
  2078. weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
  2079. longDateFormat: {
  2080. LT: 'HH:mm',
  2081. LTS: 'HH:mm:ss',
  2082. L: 'DD-MM-YYYY',
  2083. LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
  2084. LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
  2085. LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
  2086. },
  2087. calendar: {
  2088. sameDay: '[Паян] LT [сехетре]',
  2089. nextDay: '[Ыран] LT [сехетре]',
  2090. lastDay: '[Ӗнер] LT [сехетре]',
  2091. nextWeek: '[Ҫитес] dddd LT [сехетре]',
  2092. lastWeek: '[Иртнӗ] dddd LT [сехетре]',
  2093. sameElse: 'L',
  2094. },
  2095. relativeTime: {
  2096. future: function (output) {
  2097. var affix = /сехет$/i.exec(output)
  2098. ? 'рен'
  2099. : /ҫул$/i.exec(output)
  2100. ? 'тан'
  2101. : 'ран';
  2102. return output + affix;
  2103. },
  2104. past: '%s каялла',
  2105. s: 'пӗр-ик ҫеккунт',
  2106. ss: '%d ҫеккунт',
  2107. m: 'пӗр минут',
  2108. mm: '%d минут',
  2109. h: 'пӗр сехет',
  2110. hh: '%d сехет',
  2111. d: 'пӗр кун',
  2112. dd: '%d кун',
  2113. M: 'пӗр уйӑх',
  2114. MM: '%d уйӑх',
  2115. y: 'пӗр ҫул',
  2116. yy: '%d ҫул',
  2117. },
  2118. dayOfMonthOrdinalParse: /\d{1,2}-мӗш/,
  2119. ordinal: '%d-мӗш',
  2120. week: {
  2121. dow: 1, // Monday is the first day of the week.
  2122. doy: 7, // The week that contains Jan 7th is the first week of the year.
  2123. },
  2124. });
  2125. //! moment.js locale configuration
  2126. moment.defineLocale('cy', {
  2127. months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split(
  2128. '_'
  2129. ),
  2130. monthsShort: 'Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag'.split(
  2131. '_'
  2132. ),
  2133. weekdays: 'Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn'.split(
  2134. '_'
  2135. ),
  2136. weekdaysShort: 'Sul_Llun_Maw_Mer_Iau_Gwe_Sad'.split('_'),
  2137. weekdaysMin: 'Su_Ll_Ma_Me_Ia_Gw_Sa'.split('_'),
  2138. weekdaysParseExact: true,
  2139. // time formats are the same as en-gb
  2140. longDateFormat: {
  2141. LT: 'HH:mm',
  2142. LTS: 'HH:mm:ss',
  2143. L: 'DD/MM/YYYY',
  2144. LL: 'D MMMM YYYY',
  2145. LLL: 'D MMMM YYYY HH:mm',
  2146. LLLL: 'dddd, D MMMM YYYY HH:mm',
  2147. },
  2148. calendar: {
  2149. sameDay: '[Heddiw am] LT',
  2150. nextDay: '[Yfory am] LT',
  2151. nextWeek: 'dddd [am] LT',
  2152. lastDay: '[Ddoe am] LT',
  2153. lastWeek: 'dddd [diwethaf am] LT',
  2154. sameElse: 'L',
  2155. },
  2156. relativeTime: {
  2157. future: 'mewn %s',
  2158. past: '%s yn ôl',
  2159. s: 'ychydig eiliadau',
  2160. ss: '%d eiliad',
  2161. m: 'munud',
  2162. mm: '%d munud',
  2163. h: 'awr',
  2164. hh: '%d awr',
  2165. d: 'diwrnod',
  2166. dd: '%d diwrnod',
  2167. M: 'mis',
  2168. MM: '%d mis',
  2169. y: 'blwyddyn',
  2170. yy: '%d flynedd',
  2171. },
  2172. dayOfMonthOrdinalParse: /\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,
  2173. // traditional ordinal numbers above 31 are not commonly used in colloquial Welsh
  2174. ordinal: function (number) {
  2175. var b = number,
  2176. output = '',
  2177. lookup = [
  2178. '',
  2179. 'af',
  2180. 'il',
  2181. 'ydd',
  2182. 'ydd',
  2183. 'ed',
  2184. 'ed',
  2185. 'ed',
  2186. 'fed',
  2187. 'fed',
  2188. 'fed', // 1af to 10fed
  2189. 'eg',
  2190. 'fed',
  2191. 'eg',
  2192. 'eg',
  2193. 'fed',
  2194. 'eg',
  2195. 'eg',
  2196. 'fed',
  2197. 'eg',
  2198. 'fed', // 11eg to 20fed
  2199. ];
  2200. if (b > 20) {
  2201. if (b === 40 || b === 50 || b === 60 || b === 80 || b === 100) {
  2202. output = 'fed'; // not 30ain, 70ain or 90ain
  2203. } else {
  2204. output = 'ain';
  2205. }
  2206. } else if (b > 0) {
  2207. output = lookup[b];
  2208. }
  2209. return number + output;
  2210. },
  2211. week: {
  2212. dow: 1, // Monday is the first day of the week.
  2213. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2214. },
  2215. });
  2216. //! moment.js locale configuration
  2217. moment.defineLocale('da', {
  2218. months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split(
  2219. '_'
  2220. ),
  2221. monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  2222. weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
  2223. weekdaysShort: 'søn_man_tir_ons_tor_fre_lør'.split('_'),
  2224. weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
  2225. longDateFormat: {
  2226. LT: 'HH:mm',
  2227. LTS: 'HH:mm:ss',
  2228. L: 'DD.MM.YYYY',
  2229. LL: 'D. MMMM YYYY',
  2230. LLL: 'D. MMMM YYYY HH:mm',
  2231. LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm',
  2232. },
  2233. calendar: {
  2234. sameDay: '[i dag kl.] LT',
  2235. nextDay: '[i morgen kl.] LT',
  2236. nextWeek: 'på dddd [kl.] LT',
  2237. lastDay: '[i går kl.] LT',
  2238. lastWeek: '[i] dddd[s kl.] LT',
  2239. sameElse: 'L',
  2240. },
  2241. relativeTime: {
  2242. future: 'om %s',
  2243. past: '%s siden',
  2244. s: 'få sekunder',
  2245. ss: '%d sekunder',
  2246. m: 'et minut',
  2247. mm: '%d minutter',
  2248. h: 'en time',
  2249. hh: '%d timer',
  2250. d: 'en dag',
  2251. dd: '%d dage',
  2252. M: 'en måned',
  2253. MM: '%d måneder',
  2254. y: 'et år',
  2255. yy: '%d år',
  2256. },
  2257. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2258. ordinal: '%d.',
  2259. week: {
  2260. dow: 1, // Monday is the first day of the week.
  2261. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2262. },
  2263. });
  2264. //! moment.js locale configuration
  2265. function processRelativeTime(number, withoutSuffix, key, isFuture) {
  2266. var format = {
  2267. m: ['eine Minute', 'einer Minute'],
  2268. h: ['eine Stunde', 'einer Stunde'],
  2269. d: ['ein Tag', 'einem Tag'],
  2270. dd: [number + ' Tage', number + ' Tagen'],
  2271. w: ['eine Woche', 'einer Woche'],
  2272. M: ['ein Monat', 'einem Monat'],
  2273. MM: [number + ' Monate', number + ' Monaten'],
  2274. y: ['ein Jahr', 'einem Jahr'],
  2275. yy: [number + ' Jahre', number + ' Jahren'],
  2276. };
  2277. return withoutSuffix ? format[key][0] : format[key][1];
  2278. }
  2279. moment.defineLocale('de-at', {
  2280. months: 'Jänner_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
  2281. '_'
  2282. ),
  2283. monthsShort: 'Jän._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(
  2284. '_'
  2285. ),
  2286. monthsParseExact: true,
  2287. weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
  2288. '_'
  2289. ),
  2290. weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
  2291. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  2292. weekdaysParseExact: true,
  2293. longDateFormat: {
  2294. LT: 'HH:mm',
  2295. LTS: 'HH:mm:ss',
  2296. L: 'DD.MM.YYYY',
  2297. LL: 'D. MMMM YYYY',
  2298. LLL: 'D. MMMM YYYY HH:mm',
  2299. LLLL: 'dddd, D. MMMM YYYY HH:mm',
  2300. },
  2301. calendar: {
  2302. sameDay: '[heute um] LT [Uhr]',
  2303. sameElse: 'L',
  2304. nextDay: '[morgen um] LT [Uhr]',
  2305. nextWeek: 'dddd [um] LT [Uhr]',
  2306. lastDay: '[gestern um] LT [Uhr]',
  2307. lastWeek: '[letzten] dddd [um] LT [Uhr]',
  2308. },
  2309. relativeTime: {
  2310. future: 'in %s',
  2311. past: 'vor %s',
  2312. s: 'ein paar Sekunden',
  2313. ss: '%d Sekunden',
  2314. m: processRelativeTime,
  2315. mm: '%d Minuten',
  2316. h: processRelativeTime,
  2317. hh: '%d Stunden',
  2318. d: processRelativeTime,
  2319. dd: processRelativeTime,
  2320. w: processRelativeTime,
  2321. ww: '%d Wochen',
  2322. M: processRelativeTime,
  2323. MM: processRelativeTime,
  2324. y: processRelativeTime,
  2325. yy: processRelativeTime,
  2326. },
  2327. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2328. ordinal: '%d.',
  2329. week: {
  2330. dow: 1, // Monday is the first day of the week.
  2331. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2332. },
  2333. });
  2334. //! moment.js locale configuration
  2335. function processRelativeTime$1(number, withoutSuffix, key, isFuture) {
  2336. var format = {
  2337. m: ['eine Minute', 'einer Minute'],
  2338. h: ['eine Stunde', 'einer Stunde'],
  2339. d: ['ein Tag', 'einem Tag'],
  2340. dd: [number + ' Tage', number + ' Tagen'],
  2341. w: ['eine Woche', 'einer Woche'],
  2342. M: ['ein Monat', 'einem Monat'],
  2343. MM: [number + ' Monate', number + ' Monaten'],
  2344. y: ['ein Jahr', 'einem Jahr'],
  2345. yy: [number + ' Jahre', number + ' Jahren'],
  2346. };
  2347. return withoutSuffix ? format[key][0] : format[key][1];
  2348. }
  2349. moment.defineLocale('de-ch', {
  2350. months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
  2351. '_'
  2352. ),
  2353. monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(
  2354. '_'
  2355. ),
  2356. monthsParseExact: true,
  2357. weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
  2358. '_'
  2359. ),
  2360. weekdaysShort: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  2361. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  2362. weekdaysParseExact: true,
  2363. longDateFormat: {
  2364. LT: 'HH:mm',
  2365. LTS: 'HH:mm:ss',
  2366. L: 'DD.MM.YYYY',
  2367. LL: 'D. MMMM YYYY',
  2368. LLL: 'D. MMMM YYYY HH:mm',
  2369. LLLL: 'dddd, D. MMMM YYYY HH:mm',
  2370. },
  2371. calendar: {
  2372. sameDay: '[heute um] LT [Uhr]',
  2373. sameElse: 'L',
  2374. nextDay: '[morgen um] LT [Uhr]',
  2375. nextWeek: 'dddd [um] LT [Uhr]',
  2376. lastDay: '[gestern um] LT [Uhr]',
  2377. lastWeek: '[letzten] dddd [um] LT [Uhr]',
  2378. },
  2379. relativeTime: {
  2380. future: 'in %s',
  2381. past: 'vor %s',
  2382. s: 'ein paar Sekunden',
  2383. ss: '%d Sekunden',
  2384. m: processRelativeTime$1,
  2385. mm: '%d Minuten',
  2386. h: processRelativeTime$1,
  2387. hh: '%d Stunden',
  2388. d: processRelativeTime$1,
  2389. dd: processRelativeTime$1,
  2390. w: processRelativeTime$1,
  2391. ww: '%d Wochen',
  2392. M: processRelativeTime$1,
  2393. MM: processRelativeTime$1,
  2394. y: processRelativeTime$1,
  2395. yy: processRelativeTime$1,
  2396. },
  2397. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2398. ordinal: '%d.',
  2399. week: {
  2400. dow: 1, // Monday is the first day of the week.
  2401. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2402. },
  2403. });
  2404. //! moment.js locale configuration
  2405. function processRelativeTime$2(number, withoutSuffix, key, isFuture) {
  2406. var format = {
  2407. m: ['eine Minute', 'einer Minute'],
  2408. h: ['eine Stunde', 'einer Stunde'],
  2409. d: ['ein Tag', 'einem Tag'],
  2410. dd: [number + ' Tage', number + ' Tagen'],
  2411. w: ['eine Woche', 'einer Woche'],
  2412. M: ['ein Monat', 'einem Monat'],
  2413. MM: [number + ' Monate', number + ' Monaten'],
  2414. y: ['ein Jahr', 'einem Jahr'],
  2415. yy: [number + ' Jahre', number + ' Jahren'],
  2416. };
  2417. return withoutSuffix ? format[key][0] : format[key][1];
  2418. }
  2419. moment.defineLocale('de', {
  2420. months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
  2421. '_'
  2422. ),
  2423. monthsShort: 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split(
  2424. '_'
  2425. ),
  2426. monthsParseExact: true,
  2427. weekdays: 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
  2428. '_'
  2429. ),
  2430. weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
  2431. weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
  2432. weekdaysParseExact: true,
  2433. longDateFormat: {
  2434. LT: 'HH:mm',
  2435. LTS: 'HH:mm:ss',
  2436. L: 'DD.MM.YYYY',
  2437. LL: 'D. MMMM YYYY',
  2438. LLL: 'D. MMMM YYYY HH:mm',
  2439. LLLL: 'dddd, D. MMMM YYYY HH:mm',
  2440. },
  2441. calendar: {
  2442. sameDay: '[heute um] LT [Uhr]',
  2443. sameElse: 'L',
  2444. nextDay: '[morgen um] LT [Uhr]',
  2445. nextWeek: 'dddd [um] LT [Uhr]',
  2446. lastDay: '[gestern um] LT [Uhr]',
  2447. lastWeek: '[letzten] dddd [um] LT [Uhr]',
  2448. },
  2449. relativeTime: {
  2450. future: 'in %s',
  2451. past: 'vor %s',
  2452. s: 'ein paar Sekunden',
  2453. ss: '%d Sekunden',
  2454. m: processRelativeTime$2,
  2455. mm: '%d Minuten',
  2456. h: processRelativeTime$2,
  2457. hh: '%d Stunden',
  2458. d: processRelativeTime$2,
  2459. dd: processRelativeTime$2,
  2460. w: processRelativeTime$2,
  2461. ww: '%d Wochen',
  2462. M: processRelativeTime$2,
  2463. MM: processRelativeTime$2,
  2464. y: processRelativeTime$2,
  2465. yy: processRelativeTime$2,
  2466. },
  2467. dayOfMonthOrdinalParse: /\d{1,2}\./,
  2468. ordinal: '%d.',
  2469. week: {
  2470. dow: 1, // Monday is the first day of the week.
  2471. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2472. },
  2473. });
  2474. //! moment.js locale configuration
  2475. var months$4 = [
  2476. 'ޖެނުއަރީ',
  2477. 'ފެބްރުއަރީ',
  2478. 'މާރިޗު',
  2479. 'އޭޕްރީލު',
  2480. 'މޭ',
  2481. 'ޖޫން',
  2482. 'ޖުލައި',
  2483. 'އޯގަސްޓު',
  2484. 'ސެޕްޓެމްބަރު',
  2485. 'އޮކްޓޯބަރު',
  2486. 'ނޮވެމްބަރު',
  2487. 'ޑިސެމްބަރު',
  2488. ],
  2489. weekdays = [
  2490. 'އާދިއްތަ',
  2491. 'ހޯމަ',
  2492. 'އަންގާރަ',
  2493. 'ބުދަ',
  2494. 'ބުރާސްފަތި',
  2495. 'ހުކުރު',
  2496. 'ހޮނިހިރު',
  2497. ];
  2498. moment.defineLocale('dv', {
  2499. months: months$4,
  2500. monthsShort: months$4,
  2501. weekdays: weekdays,
  2502. weekdaysShort: weekdays,
  2503. weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
  2504. longDateFormat: {
  2505. LT: 'HH:mm',
  2506. LTS: 'HH:mm:ss',
  2507. L: 'D/M/YYYY',
  2508. LL: 'D MMMM YYYY',
  2509. LLL: 'D MMMM YYYY HH:mm',
  2510. LLLL: 'dddd D MMMM YYYY HH:mm',
  2511. },
  2512. meridiemParse: /މކ|މފ/,
  2513. isPM: function (input) {
  2514. return 'މފ' === input;
  2515. },
  2516. meridiem: function (hour, minute, isLower) {
  2517. if (hour < 12) {
  2518. return 'މކ';
  2519. } else {
  2520. return 'މފ';
  2521. }
  2522. },
  2523. calendar: {
  2524. sameDay: '[މިއަދު] LT',
  2525. nextDay: '[މާދަމާ] LT',
  2526. nextWeek: 'dddd LT',
  2527. lastDay: '[އިއްޔެ] LT',
  2528. lastWeek: '[ފާއިތުވި] dddd LT',
  2529. sameElse: 'L',
  2530. },
  2531. relativeTime: {
  2532. future: 'ތެރޭގައި %s',
  2533. past: 'ކުރިން %s',
  2534. s: 'ސިކުންތުކޮޅެއް',
  2535. ss: 'd% ސިކުންތު',
  2536. m: 'މިނިޓެއް',
  2537. mm: 'މިނިޓު %d',
  2538. h: 'ގަޑިއިރެއް',
  2539. hh: 'ގަޑިއިރު %d',
  2540. d: 'ދުވަހެއް',
  2541. dd: 'ދުވަސް %d',
  2542. M: 'މަހެއް',
  2543. MM: 'މަސް %d',
  2544. y: 'އަހަރެއް',
  2545. yy: 'އަހަރު %d',
  2546. },
  2547. preparse: function (string) {
  2548. return string.replace(/،/g, ',');
  2549. },
  2550. postformat: function (string) {
  2551. return string.replace(/,/g, '،');
  2552. },
  2553. week: {
  2554. dow: 7, // Sunday is the first day of the week.
  2555. doy: 12, // The week that contains Jan 12th is the first week of the year.
  2556. },
  2557. });
  2558. //! moment.js locale configuration
  2559. function isFunction(input) {
  2560. return (
  2561. (typeof Function !== 'undefined' && input instanceof Function) ||
  2562. Object.prototype.toString.call(input) === '[object Function]'
  2563. );
  2564. }
  2565. moment.defineLocale('el', {
  2566. monthsNominativeEl: 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split(
  2567. '_'
  2568. ),
  2569. monthsGenitiveEl: 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split(
  2570. '_'
  2571. ),
  2572. months: function (momentToFormat, format) {
  2573. if (!momentToFormat) {
  2574. return this._monthsNominativeEl;
  2575. } else if (
  2576. typeof format === 'string' &&
  2577. /D/.test(format.substring(0, format.indexOf('MMMM')))
  2578. ) {
  2579. // if there is a day number before 'MMMM'
  2580. return this._monthsGenitiveEl[momentToFormat.month()];
  2581. } else {
  2582. return this._monthsNominativeEl[momentToFormat.month()];
  2583. }
  2584. },
  2585. monthsShort: 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),
  2586. weekdays: 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split(
  2587. '_'
  2588. ),
  2589. weekdaysShort: 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
  2590. weekdaysMin: 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
  2591. meridiem: function (hours, minutes, isLower) {
  2592. if (hours > 11) {
  2593. return isLower ? 'μμ' : 'ΜΜ';
  2594. } else {
  2595. return isLower ? 'πμ' : 'ΠΜ';
  2596. }
  2597. },
  2598. isPM: function (input) {
  2599. return (input + '').toLowerCase()[0] === 'μ';
  2600. },
  2601. meridiemParse: /[ΠΜ]\.?Μ?\.?/i,
  2602. longDateFormat: {
  2603. LT: 'h:mm A',
  2604. LTS: 'h:mm:ss A',
  2605. L: 'DD/MM/YYYY',
  2606. LL: 'D MMMM YYYY',
  2607. LLL: 'D MMMM YYYY h:mm A',
  2608. LLLL: 'dddd, D MMMM YYYY h:mm A',
  2609. },
  2610. calendarEl: {
  2611. sameDay: '[Σήμερα {}] LT',
  2612. nextDay: '[Αύριο {}] LT',
  2613. nextWeek: 'dddd [{}] LT',
  2614. lastDay: '[Χθες {}] LT',
  2615. lastWeek: function () {
  2616. switch (this.day()) {
  2617. case 6:
  2618. return '[το προηγούμενο] dddd [{}] LT';
  2619. default:
  2620. return '[την προηγούμενη] dddd [{}] LT';
  2621. }
  2622. },
  2623. sameElse: 'L',
  2624. },
  2625. calendar: function (key, mom) {
  2626. var output = this._calendarEl[key],
  2627. hours = mom && mom.hours();
  2628. if (isFunction(output)) {
  2629. output = output.apply(mom);
  2630. }
  2631. return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις');
  2632. },
  2633. relativeTime: {
  2634. future: 'σε %s',
  2635. past: '%s πριν',
  2636. s: 'λίγα δευτερόλεπτα',
  2637. ss: '%d δευτερόλεπτα',
  2638. m: 'ένα λεπτό',
  2639. mm: '%d λεπτά',
  2640. h: 'μία ώρα',
  2641. hh: '%d ώρες',
  2642. d: 'μία μέρα',
  2643. dd: '%d μέρες',
  2644. M: 'ένας μήνας',
  2645. MM: '%d μήνες',
  2646. y: 'ένας χρόνος',
  2647. yy: '%d χρόνια',
  2648. },
  2649. dayOfMonthOrdinalParse: /\d{1,2}η/,
  2650. ordinal: '%dη',
  2651. week: {
  2652. dow: 1, // Monday is the first day of the week.
  2653. doy: 4, // The week that contains Jan 4st is the first week of the year.
  2654. },
  2655. });
  2656. //! moment.js locale configuration
  2657. moment.defineLocale('en-au', {
  2658. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2659. '_'
  2660. ),
  2661. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2662. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2663. '_'
  2664. ),
  2665. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2666. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2667. longDateFormat: {
  2668. LT: 'h:mm A',
  2669. LTS: 'h:mm:ss A',
  2670. L: 'DD/MM/YYYY',
  2671. LL: 'D MMMM YYYY',
  2672. LLL: 'D MMMM YYYY h:mm A',
  2673. LLLL: 'dddd, D MMMM YYYY h:mm A',
  2674. },
  2675. calendar: {
  2676. sameDay: '[Today at] LT',
  2677. nextDay: '[Tomorrow at] LT',
  2678. nextWeek: 'dddd [at] LT',
  2679. lastDay: '[Yesterday at] LT',
  2680. lastWeek: '[Last] dddd [at] LT',
  2681. sameElse: 'L',
  2682. },
  2683. relativeTime: {
  2684. future: 'in %s',
  2685. past: '%s ago',
  2686. s: 'a few seconds',
  2687. ss: '%d seconds',
  2688. m: 'a minute',
  2689. mm: '%d minutes',
  2690. h: 'an hour',
  2691. hh: '%d hours',
  2692. d: 'a day',
  2693. dd: '%d days',
  2694. M: 'a month',
  2695. MM: '%d months',
  2696. y: 'a year',
  2697. yy: '%d years',
  2698. },
  2699. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2700. ordinal: function (number) {
  2701. var b = number % 10,
  2702. output =
  2703. ~~((number % 100) / 10) === 1
  2704. ? 'th'
  2705. : b === 1
  2706. ? 'st'
  2707. : b === 2
  2708. ? 'nd'
  2709. : b === 3
  2710. ? 'rd'
  2711. : 'th';
  2712. return number + output;
  2713. },
  2714. week: {
  2715. dow: 0, // Sunday is the first day of the week.
  2716. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2717. },
  2718. });
  2719. //! moment.js locale configuration
  2720. moment.defineLocale('en-ca', {
  2721. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2722. '_'
  2723. ),
  2724. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2725. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2726. '_'
  2727. ),
  2728. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2729. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2730. longDateFormat: {
  2731. LT: 'h:mm A',
  2732. LTS: 'h:mm:ss A',
  2733. L: 'YYYY-MM-DD',
  2734. LL: 'MMMM D, YYYY',
  2735. LLL: 'MMMM D, YYYY h:mm A',
  2736. LLLL: 'dddd, MMMM D, YYYY h:mm A',
  2737. },
  2738. calendar: {
  2739. sameDay: '[Today at] LT',
  2740. nextDay: '[Tomorrow at] LT',
  2741. nextWeek: 'dddd [at] LT',
  2742. lastDay: '[Yesterday at] LT',
  2743. lastWeek: '[Last] dddd [at] LT',
  2744. sameElse: 'L',
  2745. },
  2746. relativeTime: {
  2747. future: 'in %s',
  2748. past: '%s ago',
  2749. s: 'a few seconds',
  2750. ss: '%d seconds',
  2751. m: 'a minute',
  2752. mm: '%d minutes',
  2753. h: 'an hour',
  2754. hh: '%d hours',
  2755. d: 'a day',
  2756. dd: '%d days',
  2757. M: 'a month',
  2758. MM: '%d months',
  2759. y: 'a year',
  2760. yy: '%d years',
  2761. },
  2762. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2763. ordinal: function (number) {
  2764. var b = number % 10,
  2765. output =
  2766. ~~((number % 100) / 10) === 1
  2767. ? 'th'
  2768. : b === 1
  2769. ? 'st'
  2770. : b === 2
  2771. ? 'nd'
  2772. : b === 3
  2773. ? 'rd'
  2774. : 'th';
  2775. return number + output;
  2776. },
  2777. });
  2778. //! moment.js locale configuration
  2779. moment.defineLocale('en-gb', {
  2780. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2781. '_'
  2782. ),
  2783. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2784. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2785. '_'
  2786. ),
  2787. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2788. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2789. longDateFormat: {
  2790. LT: 'HH:mm',
  2791. LTS: 'HH:mm:ss',
  2792. L: 'DD/MM/YYYY',
  2793. LL: 'D MMMM YYYY',
  2794. LLL: 'D MMMM YYYY HH:mm',
  2795. LLLL: 'dddd, D MMMM YYYY HH:mm',
  2796. },
  2797. calendar: {
  2798. sameDay: '[Today at] LT',
  2799. nextDay: '[Tomorrow at] LT',
  2800. nextWeek: 'dddd [at] LT',
  2801. lastDay: '[Yesterday at] LT',
  2802. lastWeek: '[Last] dddd [at] LT',
  2803. sameElse: 'L',
  2804. },
  2805. relativeTime: {
  2806. future: 'in %s',
  2807. past: '%s ago',
  2808. s: 'a few seconds',
  2809. ss: '%d seconds',
  2810. m: 'a minute',
  2811. mm: '%d minutes',
  2812. h: 'an hour',
  2813. hh: '%d hours',
  2814. d: 'a day',
  2815. dd: '%d days',
  2816. M: 'a month',
  2817. MM: '%d months',
  2818. y: 'a year',
  2819. yy: '%d years',
  2820. },
  2821. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2822. ordinal: function (number) {
  2823. var b = number % 10,
  2824. output =
  2825. ~~((number % 100) / 10) === 1
  2826. ? 'th'
  2827. : b === 1
  2828. ? 'st'
  2829. : b === 2
  2830. ? 'nd'
  2831. : b === 3
  2832. ? 'rd'
  2833. : 'th';
  2834. return number + output;
  2835. },
  2836. week: {
  2837. dow: 1, // Monday is the first day of the week.
  2838. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2839. },
  2840. });
  2841. //! moment.js locale configuration
  2842. moment.defineLocale('en-ie', {
  2843. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2844. '_'
  2845. ),
  2846. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2847. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2848. '_'
  2849. ),
  2850. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2851. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2852. longDateFormat: {
  2853. LT: 'HH:mm',
  2854. LTS: 'HH:mm:ss',
  2855. L: 'DD/MM/YYYY',
  2856. LL: 'D MMMM YYYY',
  2857. LLL: 'D MMMM YYYY HH:mm',
  2858. LLLL: 'dddd D MMMM YYYY HH:mm',
  2859. },
  2860. calendar: {
  2861. sameDay: '[Today at] LT',
  2862. nextDay: '[Tomorrow at] LT',
  2863. nextWeek: 'dddd [at] LT',
  2864. lastDay: '[Yesterday at] LT',
  2865. lastWeek: '[Last] dddd [at] LT',
  2866. sameElse: 'L',
  2867. },
  2868. relativeTime: {
  2869. future: 'in %s',
  2870. past: '%s ago',
  2871. s: 'a few seconds',
  2872. ss: '%d seconds',
  2873. m: 'a minute',
  2874. mm: '%d minutes',
  2875. h: 'an hour',
  2876. hh: '%d hours',
  2877. d: 'a day',
  2878. dd: '%d days',
  2879. M: 'a month',
  2880. MM: '%d months',
  2881. y: 'a year',
  2882. yy: '%d years',
  2883. },
  2884. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2885. ordinal: function (number) {
  2886. var b = number % 10,
  2887. output =
  2888. ~~((number % 100) / 10) === 1
  2889. ? 'th'
  2890. : b === 1
  2891. ? 'st'
  2892. : b === 2
  2893. ? 'nd'
  2894. : b === 3
  2895. ? 'rd'
  2896. : 'th';
  2897. return number + output;
  2898. },
  2899. week: {
  2900. dow: 1, // Monday is the first day of the week.
  2901. doy: 4, // The week that contains Jan 4th is the first week of the year.
  2902. },
  2903. });
  2904. //! moment.js locale configuration
  2905. moment.defineLocale('en-il', {
  2906. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2907. '_'
  2908. ),
  2909. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2910. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2911. '_'
  2912. ),
  2913. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2914. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2915. longDateFormat: {
  2916. LT: 'HH:mm',
  2917. LTS: 'HH:mm:ss',
  2918. L: 'DD/MM/YYYY',
  2919. LL: 'D MMMM YYYY',
  2920. LLL: 'D MMMM YYYY HH:mm',
  2921. LLLL: 'dddd, D MMMM YYYY HH:mm',
  2922. },
  2923. calendar: {
  2924. sameDay: '[Today at] LT',
  2925. nextDay: '[Tomorrow at] LT',
  2926. nextWeek: 'dddd [at] LT',
  2927. lastDay: '[Yesterday at] LT',
  2928. lastWeek: '[Last] dddd [at] LT',
  2929. sameElse: 'L',
  2930. },
  2931. relativeTime: {
  2932. future: 'in %s',
  2933. past: '%s ago',
  2934. s: 'a few seconds',
  2935. ss: '%d seconds',
  2936. m: 'a minute',
  2937. mm: '%d minutes',
  2938. h: 'an hour',
  2939. hh: '%d hours',
  2940. d: 'a day',
  2941. dd: '%d days',
  2942. M: 'a month',
  2943. MM: '%d months',
  2944. y: 'a year',
  2945. yy: '%d years',
  2946. },
  2947. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  2948. ordinal: function (number) {
  2949. var b = number % 10,
  2950. output =
  2951. ~~((number % 100) / 10) === 1
  2952. ? 'th'
  2953. : b === 1
  2954. ? 'st'
  2955. : b === 2
  2956. ? 'nd'
  2957. : b === 3
  2958. ? 'rd'
  2959. : 'th';
  2960. return number + output;
  2961. },
  2962. });
  2963. //! moment.js locale configuration
  2964. moment.defineLocale('en-in', {
  2965. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  2966. '_'
  2967. ),
  2968. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  2969. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  2970. '_'
  2971. ),
  2972. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  2973. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  2974. longDateFormat: {
  2975. LT: 'h:mm A',
  2976. LTS: 'h:mm:ss A',
  2977. L: 'DD/MM/YYYY',
  2978. LL: 'D MMMM YYYY',
  2979. LLL: 'D MMMM YYYY h:mm A',
  2980. LLLL: 'dddd, D MMMM YYYY h:mm A',
  2981. },
  2982. calendar: {
  2983. sameDay: '[Today at] LT',
  2984. nextDay: '[Tomorrow at] LT',
  2985. nextWeek: 'dddd [at] LT',
  2986. lastDay: '[Yesterday at] LT',
  2987. lastWeek: '[Last] dddd [at] LT',
  2988. sameElse: 'L',
  2989. },
  2990. relativeTime: {
  2991. future: 'in %s',
  2992. past: '%s ago',
  2993. s: 'a few seconds',
  2994. ss: '%d seconds',
  2995. m: 'a minute',
  2996. mm: '%d minutes',
  2997. h: 'an hour',
  2998. hh: '%d hours',
  2999. d: 'a day',
  3000. dd: '%d days',
  3001. M: 'a month',
  3002. MM: '%d months',
  3003. y: 'a year',
  3004. yy: '%d years',
  3005. },
  3006. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  3007. ordinal: function (number) {
  3008. var b = number % 10,
  3009. output =
  3010. ~~((number % 100) / 10) === 1
  3011. ? 'th'
  3012. : b === 1
  3013. ? 'st'
  3014. : b === 2
  3015. ? 'nd'
  3016. : b === 3
  3017. ? 'rd'
  3018. : 'th';
  3019. return number + output;
  3020. },
  3021. week: {
  3022. dow: 0, // Sunday is the first day of the week.
  3023. doy: 6, // The week that contains Jan 1st is the first week of the year.
  3024. },
  3025. });
  3026. //! moment.js locale configuration
  3027. moment.defineLocale('en-nz', {
  3028. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  3029. '_'
  3030. ),
  3031. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  3032. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  3033. '_'
  3034. ),
  3035. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  3036. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  3037. longDateFormat: {
  3038. LT: 'h:mm A',
  3039. LTS: 'h:mm:ss A',
  3040. L: 'DD/MM/YYYY',
  3041. LL: 'D MMMM YYYY',
  3042. LLL: 'D MMMM YYYY h:mm A',
  3043. LLLL: 'dddd, D MMMM YYYY h:mm A',
  3044. },
  3045. calendar: {
  3046. sameDay: '[Today at] LT',
  3047. nextDay: '[Tomorrow at] LT',
  3048. nextWeek: 'dddd [at] LT',
  3049. lastDay: '[Yesterday at] LT',
  3050. lastWeek: '[Last] dddd [at] LT',
  3051. sameElse: 'L',
  3052. },
  3053. relativeTime: {
  3054. future: 'in %s',
  3055. past: '%s ago',
  3056. s: 'a few seconds',
  3057. ss: '%d seconds',
  3058. m: 'a minute',
  3059. mm: '%d minutes',
  3060. h: 'an hour',
  3061. hh: '%d hours',
  3062. d: 'a day',
  3063. dd: '%d days',
  3064. M: 'a month',
  3065. MM: '%d months',
  3066. y: 'a year',
  3067. yy: '%d years',
  3068. },
  3069. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  3070. ordinal: function (number) {
  3071. var b = number % 10,
  3072. output =
  3073. ~~((number % 100) / 10) === 1
  3074. ? 'th'
  3075. : b === 1
  3076. ? 'st'
  3077. : b === 2
  3078. ? 'nd'
  3079. : b === 3
  3080. ? 'rd'
  3081. : 'th';
  3082. return number + output;
  3083. },
  3084. week: {
  3085. dow: 1, // Monday is the first day of the week.
  3086. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3087. },
  3088. });
  3089. //! moment.js locale configuration
  3090. moment.defineLocale('en-sg', {
  3091. months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
  3092. '_'
  3093. ),
  3094. monthsShort: 'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),
  3095. weekdays: 'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split(
  3096. '_'
  3097. ),
  3098. weekdaysShort: 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),
  3099. weekdaysMin: 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),
  3100. longDateFormat: {
  3101. LT: 'HH:mm',
  3102. LTS: 'HH:mm:ss',
  3103. L: 'DD/MM/YYYY',
  3104. LL: 'D MMMM YYYY',
  3105. LLL: 'D MMMM YYYY HH:mm',
  3106. LLLL: 'dddd, D MMMM YYYY HH:mm',
  3107. },
  3108. calendar: {
  3109. sameDay: '[Today at] LT',
  3110. nextDay: '[Tomorrow at] LT',
  3111. nextWeek: 'dddd [at] LT',
  3112. lastDay: '[Yesterday at] LT',
  3113. lastWeek: '[Last] dddd [at] LT',
  3114. sameElse: 'L',
  3115. },
  3116. relativeTime: {
  3117. future: 'in %s',
  3118. past: '%s ago',
  3119. s: 'a few seconds',
  3120. ss: '%d seconds',
  3121. m: 'a minute',
  3122. mm: '%d minutes',
  3123. h: 'an hour',
  3124. hh: '%d hours',
  3125. d: 'a day',
  3126. dd: '%d days',
  3127. M: 'a month',
  3128. MM: '%d months',
  3129. y: 'a year',
  3130. yy: '%d years',
  3131. },
  3132. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  3133. ordinal: function (number) {
  3134. var b = number % 10,
  3135. output =
  3136. ~~((number % 100) / 10) === 1
  3137. ? 'th'
  3138. : b === 1
  3139. ? 'st'
  3140. : b === 2
  3141. ? 'nd'
  3142. : b === 3
  3143. ? 'rd'
  3144. : 'th';
  3145. return number + output;
  3146. },
  3147. week: {
  3148. dow: 1, // Monday is the first day of the week.
  3149. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3150. },
  3151. });
  3152. //! moment.js locale configuration
  3153. moment.defineLocale('eo', {
  3154. months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split(
  3155. '_'
  3156. ),
  3157. monthsShort: 'jan_feb_mart_apr_maj_jun_jul_aŭg_sept_okt_nov_dec'.split('_'),
  3158. weekdays: 'dimanĉo_lundo_mardo_merkredo_ĵaŭdo_vendredo_sabato'.split('_'),
  3159. weekdaysShort: 'dim_lun_mard_merk_ĵaŭ_ven_sab'.split('_'),
  3160. weekdaysMin: 'di_lu_ma_me_ĵa_ve_sa'.split('_'),
  3161. longDateFormat: {
  3162. LT: 'HH:mm',
  3163. LTS: 'HH:mm:ss',
  3164. L: 'YYYY-MM-DD',
  3165. LL: '[la] D[-an de] MMMM, YYYY',
  3166. LLL: '[la] D[-an de] MMMM, YYYY HH:mm',
  3167. LLLL: 'dddd[n], [la] D[-an de] MMMM, YYYY HH:mm',
  3168. llll: 'ddd, [la] D[-an de] MMM, YYYY HH:mm',
  3169. },
  3170. meridiemParse: /[ap]\.t\.m/i,
  3171. isPM: function (input) {
  3172. return input.charAt(0).toLowerCase() === 'p';
  3173. },
  3174. meridiem: function (hours, minutes, isLower) {
  3175. if (hours > 11) {
  3176. return isLower ? 'p.t.m.' : 'P.T.M.';
  3177. } else {
  3178. return isLower ? 'a.t.m.' : 'A.T.M.';
  3179. }
  3180. },
  3181. calendar: {
  3182. sameDay: '[Hodiaŭ je] LT',
  3183. nextDay: '[Morgaŭ je] LT',
  3184. nextWeek: 'dddd[n je] LT',
  3185. lastDay: '[Hieraŭ je] LT',
  3186. lastWeek: '[pasintan] dddd[n je] LT',
  3187. sameElse: 'L',
  3188. },
  3189. relativeTime: {
  3190. future: 'post %s',
  3191. past: 'antaŭ %s',
  3192. s: 'kelkaj sekundoj',
  3193. ss: '%d sekundoj',
  3194. m: 'unu minuto',
  3195. mm: '%d minutoj',
  3196. h: 'unu horo',
  3197. hh: '%d horoj',
  3198. d: 'unu tago', //ne 'diurno', ĉar estas uzita por proksimumo
  3199. dd: '%d tagoj',
  3200. M: 'unu monato',
  3201. MM: '%d monatoj',
  3202. y: 'unu jaro',
  3203. yy: '%d jaroj',
  3204. },
  3205. dayOfMonthOrdinalParse: /\d{1,2}a/,
  3206. ordinal: '%da',
  3207. week: {
  3208. dow: 1, // Monday is the first day of the week.
  3209. doy: 7, // The week that contains Jan 7th is the first week of the year.
  3210. },
  3211. });
  3212. //! moment.js locale configuration
  3213. var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
  3214. '_'
  3215. ),
  3216. monthsShort$1 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  3217. monthsParse$2 = [
  3218. /^ene/i,
  3219. /^feb/i,
  3220. /^mar/i,
  3221. /^abr/i,
  3222. /^may/i,
  3223. /^jun/i,
  3224. /^jul/i,
  3225. /^ago/i,
  3226. /^sep/i,
  3227. /^oct/i,
  3228. /^nov/i,
  3229. /^dic/i,
  3230. ],
  3231. monthsRegex$2 = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  3232. moment.defineLocale('es-do', {
  3233. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
  3234. '_'
  3235. ),
  3236. monthsShort: function (m, format) {
  3237. if (!m) {
  3238. return monthsShortDot;
  3239. } else if (/-MMM-/.test(format)) {
  3240. return monthsShort$1[m.month()];
  3241. } else {
  3242. return monthsShortDot[m.month()];
  3243. }
  3244. },
  3245. monthsRegex: monthsRegex$2,
  3246. monthsShortRegex: monthsRegex$2,
  3247. monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  3248. monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  3249. monthsParse: monthsParse$2,
  3250. longMonthsParse: monthsParse$2,
  3251. shortMonthsParse: monthsParse$2,
  3252. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  3253. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  3254. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  3255. weekdaysParseExact: true,
  3256. longDateFormat: {
  3257. LT: 'h:mm A',
  3258. LTS: 'h:mm:ss A',
  3259. L: 'DD/MM/YYYY',
  3260. LL: 'D [de] MMMM [de] YYYY',
  3261. LLL: 'D [de] MMMM [de] YYYY h:mm A',
  3262. LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',
  3263. },
  3264. calendar: {
  3265. sameDay: function () {
  3266. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3267. },
  3268. nextDay: function () {
  3269. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3270. },
  3271. nextWeek: function () {
  3272. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3273. },
  3274. lastDay: function () {
  3275. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3276. },
  3277. lastWeek: function () {
  3278. return (
  3279. '[el] dddd [pasado a la' +
  3280. (this.hours() !== 1 ? 's' : '') +
  3281. '] LT'
  3282. );
  3283. },
  3284. sameElse: 'L',
  3285. },
  3286. relativeTime: {
  3287. future: 'en %s',
  3288. past: 'hace %s',
  3289. s: 'unos segundos',
  3290. ss: '%d segundos',
  3291. m: 'un minuto',
  3292. mm: '%d minutos',
  3293. h: 'una hora',
  3294. hh: '%d horas',
  3295. d: 'un día',
  3296. dd: '%d días',
  3297. w: 'una semana',
  3298. ww: '%d semanas',
  3299. M: 'un mes',
  3300. MM: '%d meses',
  3301. y: 'un año',
  3302. yy: '%d años',
  3303. },
  3304. dayOfMonthOrdinalParse: /\d{1,2}º/,
  3305. ordinal: '%dº',
  3306. week: {
  3307. dow: 1, // Monday is the first day of the week.
  3308. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3309. },
  3310. });
  3311. //! moment.js locale configuration
  3312. var monthsShortDot$1 = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
  3313. '_'
  3314. ),
  3315. monthsShort$2 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  3316. monthsParse$3 = [
  3317. /^ene/i,
  3318. /^feb/i,
  3319. /^mar/i,
  3320. /^abr/i,
  3321. /^may/i,
  3322. /^jun/i,
  3323. /^jul/i,
  3324. /^ago/i,
  3325. /^sep/i,
  3326. /^oct/i,
  3327. /^nov/i,
  3328. /^dic/i,
  3329. ],
  3330. monthsRegex$3 = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  3331. moment.defineLocale('es-mx', {
  3332. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
  3333. '_'
  3334. ),
  3335. monthsShort: function (m, format) {
  3336. if (!m) {
  3337. return monthsShortDot$1;
  3338. } else if (/-MMM-/.test(format)) {
  3339. return monthsShort$2[m.month()];
  3340. } else {
  3341. return monthsShortDot$1[m.month()];
  3342. }
  3343. },
  3344. monthsRegex: monthsRegex$3,
  3345. monthsShortRegex: monthsRegex$3,
  3346. monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  3347. monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  3348. monthsParse: monthsParse$3,
  3349. longMonthsParse: monthsParse$3,
  3350. shortMonthsParse: monthsParse$3,
  3351. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  3352. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  3353. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  3354. weekdaysParseExact: true,
  3355. longDateFormat: {
  3356. LT: 'H:mm',
  3357. LTS: 'H:mm:ss',
  3358. L: 'DD/MM/YYYY',
  3359. LL: 'D [de] MMMM [de] YYYY',
  3360. LLL: 'D [de] MMMM [de] YYYY H:mm',
  3361. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
  3362. },
  3363. calendar: {
  3364. sameDay: function () {
  3365. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3366. },
  3367. nextDay: function () {
  3368. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3369. },
  3370. nextWeek: function () {
  3371. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3372. },
  3373. lastDay: function () {
  3374. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3375. },
  3376. lastWeek: function () {
  3377. return (
  3378. '[el] dddd [pasado a la' +
  3379. (this.hours() !== 1 ? 's' : '') +
  3380. '] LT'
  3381. );
  3382. },
  3383. sameElse: 'L',
  3384. },
  3385. relativeTime: {
  3386. future: 'en %s',
  3387. past: 'hace %s',
  3388. s: 'unos segundos',
  3389. ss: '%d segundos',
  3390. m: 'un minuto',
  3391. mm: '%d minutos',
  3392. h: 'una hora',
  3393. hh: '%d horas',
  3394. d: 'un día',
  3395. dd: '%d días',
  3396. w: 'una semana',
  3397. ww: '%d semanas',
  3398. M: 'un mes',
  3399. MM: '%d meses',
  3400. y: 'un año',
  3401. yy: '%d años',
  3402. },
  3403. dayOfMonthOrdinalParse: /\d{1,2}º/,
  3404. ordinal: '%dº',
  3405. week: {
  3406. dow: 0, // Sunday is the first day of the week.
  3407. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3408. },
  3409. invalidDate: 'Fecha inválida',
  3410. });
  3411. //! moment.js locale configuration
  3412. var monthsShortDot$2 = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
  3413. '_'
  3414. ),
  3415. monthsShort$3 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  3416. monthsParse$4 = [
  3417. /^ene/i,
  3418. /^feb/i,
  3419. /^mar/i,
  3420. /^abr/i,
  3421. /^may/i,
  3422. /^jun/i,
  3423. /^jul/i,
  3424. /^ago/i,
  3425. /^sep/i,
  3426. /^oct/i,
  3427. /^nov/i,
  3428. /^dic/i,
  3429. ],
  3430. monthsRegex$4 = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  3431. moment.defineLocale('es-us', {
  3432. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
  3433. '_'
  3434. ),
  3435. monthsShort: function (m, format) {
  3436. if (!m) {
  3437. return monthsShortDot$2;
  3438. } else if (/-MMM-/.test(format)) {
  3439. return monthsShort$3[m.month()];
  3440. } else {
  3441. return monthsShortDot$2[m.month()];
  3442. }
  3443. },
  3444. monthsRegex: monthsRegex$4,
  3445. monthsShortRegex: monthsRegex$4,
  3446. monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  3447. monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  3448. monthsParse: monthsParse$4,
  3449. longMonthsParse: monthsParse$4,
  3450. shortMonthsParse: monthsParse$4,
  3451. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  3452. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  3453. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  3454. weekdaysParseExact: true,
  3455. longDateFormat: {
  3456. LT: 'h:mm A',
  3457. LTS: 'h:mm:ss A',
  3458. L: 'MM/DD/YYYY',
  3459. LL: 'D [de] MMMM [de] YYYY',
  3460. LLL: 'D [de] MMMM [de] YYYY h:mm A',
  3461. LLLL: 'dddd, D [de] MMMM [de] YYYY h:mm A',
  3462. },
  3463. calendar: {
  3464. sameDay: function () {
  3465. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3466. },
  3467. nextDay: function () {
  3468. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3469. },
  3470. nextWeek: function () {
  3471. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3472. },
  3473. lastDay: function () {
  3474. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3475. },
  3476. lastWeek: function () {
  3477. return (
  3478. '[el] dddd [pasado a la' +
  3479. (this.hours() !== 1 ? 's' : '') +
  3480. '] LT'
  3481. );
  3482. },
  3483. sameElse: 'L',
  3484. },
  3485. relativeTime: {
  3486. future: 'en %s',
  3487. past: 'hace %s',
  3488. s: 'unos segundos',
  3489. ss: '%d segundos',
  3490. m: 'un minuto',
  3491. mm: '%d minutos',
  3492. h: 'una hora',
  3493. hh: '%d horas',
  3494. d: 'un día',
  3495. dd: '%d días',
  3496. w: 'una semana',
  3497. ww: '%d semanas',
  3498. M: 'un mes',
  3499. MM: '%d meses',
  3500. y: 'un año',
  3501. yy: '%d años',
  3502. },
  3503. dayOfMonthOrdinalParse: /\d{1,2}º/,
  3504. ordinal: '%dº',
  3505. week: {
  3506. dow: 0, // Sunday is the first day of the week.
  3507. doy: 6, // The week that contains Jan 6th is the first week of the year.
  3508. },
  3509. });
  3510. //! moment.js locale configuration
  3511. var monthsShortDot$3 = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
  3512. '_'
  3513. ),
  3514. monthsShort$4 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
  3515. monthsParse$5 = [
  3516. /^ene/i,
  3517. /^feb/i,
  3518. /^mar/i,
  3519. /^abr/i,
  3520. /^may/i,
  3521. /^jun/i,
  3522. /^jul/i,
  3523. /^ago/i,
  3524. /^sep/i,
  3525. /^oct/i,
  3526. /^nov/i,
  3527. /^dic/i,
  3528. ],
  3529. monthsRegex$5 = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
  3530. moment.defineLocale('es', {
  3531. months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
  3532. '_'
  3533. ),
  3534. monthsShort: function (m, format) {
  3535. if (!m) {
  3536. return monthsShortDot$3;
  3537. } else if (/-MMM-/.test(format)) {
  3538. return monthsShort$4[m.month()];
  3539. } else {
  3540. return monthsShortDot$3[m.month()];
  3541. }
  3542. },
  3543. monthsRegex: monthsRegex$5,
  3544. monthsShortRegex: monthsRegex$5,
  3545. monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
  3546. monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
  3547. monthsParse: monthsParse$5,
  3548. longMonthsParse: monthsParse$5,
  3549. shortMonthsParse: monthsParse$5,
  3550. weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
  3551. weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
  3552. weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
  3553. weekdaysParseExact: true,
  3554. longDateFormat: {
  3555. LT: 'H:mm',
  3556. LTS: 'H:mm:ss',
  3557. L: 'DD/MM/YYYY',
  3558. LL: 'D [de] MMMM [de] YYYY',
  3559. LLL: 'D [de] MMMM [de] YYYY H:mm',
  3560. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
  3561. },
  3562. calendar: {
  3563. sameDay: function () {
  3564. return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3565. },
  3566. nextDay: function () {
  3567. return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3568. },
  3569. nextWeek: function () {
  3570. return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3571. },
  3572. lastDay: function () {
  3573. return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
  3574. },
  3575. lastWeek: function () {
  3576. return (
  3577. '[el] dddd [pasado a la' +
  3578. (this.hours() !== 1 ? 's' : '') +
  3579. '] LT'
  3580. );
  3581. },
  3582. sameElse: 'L',
  3583. },
  3584. relativeTime: {
  3585. future: 'en %s',
  3586. past: 'hace %s',
  3587. s: 'unos segundos',
  3588. ss: '%d segundos',
  3589. m: 'un minuto',
  3590. mm: '%d minutos',
  3591. h: 'una hora',
  3592. hh: '%d horas',
  3593. d: 'un día',
  3594. dd: '%d días',
  3595. w: 'una semana',
  3596. ww: '%d semanas',
  3597. M: 'un mes',
  3598. MM: '%d meses',
  3599. y: 'un año',
  3600. yy: '%d años',
  3601. },
  3602. dayOfMonthOrdinalParse: /\d{1,2}º/,
  3603. ordinal: '%dº',
  3604. week: {
  3605. dow: 1, // Monday is the first day of the week.
  3606. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3607. },
  3608. invalidDate: 'Fecha inválida',
  3609. });
  3610. //! moment.js locale configuration
  3611. function processRelativeTime$3(number, withoutSuffix, key, isFuture) {
  3612. var format = {
  3613. s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
  3614. ss: [number + 'sekundi', number + 'sekundit'],
  3615. m: ['ühe minuti', 'üks minut'],
  3616. mm: [number + ' minuti', number + ' minutit'],
  3617. h: ['ühe tunni', 'tund aega', 'üks tund'],
  3618. hh: [number + ' tunni', number + ' tundi'],
  3619. d: ['ühe päeva', 'üks päev'],
  3620. M: ['kuu aja', 'kuu aega', 'üks kuu'],
  3621. MM: [number + ' kuu', number + ' kuud'],
  3622. y: ['ühe aasta', 'aasta', 'üks aasta'],
  3623. yy: [number + ' aasta', number + ' aastat'],
  3624. };
  3625. if (withoutSuffix) {
  3626. return format[key][2] ? format[key][2] : format[key][1];
  3627. }
  3628. return isFuture ? format[key][0] : format[key][1];
  3629. }
  3630. moment.defineLocale('et', {
  3631. months: 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split(
  3632. '_'
  3633. ),
  3634. monthsShort: 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split(
  3635. '_'
  3636. ),
  3637. weekdays: 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split(
  3638. '_'
  3639. ),
  3640. weekdaysShort: 'P_E_T_K_N_R_L'.split('_'),
  3641. weekdaysMin: 'P_E_T_K_N_R_L'.split('_'),
  3642. longDateFormat: {
  3643. LT: 'H:mm',
  3644. LTS: 'H:mm:ss',
  3645. L: 'DD.MM.YYYY',
  3646. LL: 'D. MMMM YYYY',
  3647. LLL: 'D. MMMM YYYY H:mm',
  3648. LLLL: 'dddd, D. MMMM YYYY H:mm',
  3649. },
  3650. calendar: {
  3651. sameDay: '[Täna,] LT',
  3652. nextDay: '[Homme,] LT',
  3653. nextWeek: '[Järgmine] dddd LT',
  3654. lastDay: '[Eile,] LT',
  3655. lastWeek: '[Eelmine] dddd LT',
  3656. sameElse: 'L',
  3657. },
  3658. relativeTime: {
  3659. future: '%s pärast',
  3660. past: '%s tagasi',
  3661. s: processRelativeTime$3,
  3662. ss: processRelativeTime$3,
  3663. m: processRelativeTime$3,
  3664. mm: processRelativeTime$3,
  3665. h: processRelativeTime$3,
  3666. hh: processRelativeTime$3,
  3667. d: processRelativeTime$3,
  3668. dd: '%d päeva',
  3669. M: processRelativeTime$3,
  3670. MM: processRelativeTime$3,
  3671. y: processRelativeTime$3,
  3672. yy: processRelativeTime$3,
  3673. },
  3674. dayOfMonthOrdinalParse: /\d{1,2}\./,
  3675. ordinal: '%d.',
  3676. week: {
  3677. dow: 1, // Monday is the first day of the week.
  3678. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3679. },
  3680. });
  3681. //! moment.js locale configuration
  3682. moment.defineLocale('eu', {
  3683. months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split(
  3684. '_'
  3685. ),
  3686. monthsShort: 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split(
  3687. '_'
  3688. ),
  3689. monthsParseExact: true,
  3690. weekdays: 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split(
  3691. '_'
  3692. ),
  3693. weekdaysShort: 'ig._al._ar._az._og._ol._lr.'.split('_'),
  3694. weekdaysMin: 'ig_al_ar_az_og_ol_lr'.split('_'),
  3695. weekdaysParseExact: true,
  3696. longDateFormat: {
  3697. LT: 'HH:mm',
  3698. LTS: 'HH:mm:ss',
  3699. L: 'YYYY-MM-DD',
  3700. LL: 'YYYY[ko] MMMM[ren] D[a]',
  3701. LLL: 'YYYY[ko] MMMM[ren] D[a] HH:mm',
  3702. LLLL: 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',
  3703. l: 'YYYY-M-D',
  3704. ll: 'YYYY[ko] MMM D[a]',
  3705. lll: 'YYYY[ko] MMM D[a] HH:mm',
  3706. llll: 'ddd, YYYY[ko] MMM D[a] HH:mm',
  3707. },
  3708. calendar: {
  3709. sameDay: '[gaur] LT[etan]',
  3710. nextDay: '[bihar] LT[etan]',
  3711. nextWeek: 'dddd LT[etan]',
  3712. lastDay: '[atzo] LT[etan]',
  3713. lastWeek: '[aurreko] dddd LT[etan]',
  3714. sameElse: 'L',
  3715. },
  3716. relativeTime: {
  3717. future: '%s barru',
  3718. past: 'duela %s',
  3719. s: 'segundo batzuk',
  3720. ss: '%d segundo',
  3721. m: 'minutu bat',
  3722. mm: '%d minutu',
  3723. h: 'ordu bat',
  3724. hh: '%d ordu',
  3725. d: 'egun bat',
  3726. dd: '%d egun',
  3727. M: 'hilabete bat',
  3728. MM: '%d hilabete',
  3729. y: 'urte bat',
  3730. yy: '%d urte',
  3731. },
  3732. dayOfMonthOrdinalParse: /\d{1,2}\./,
  3733. ordinal: '%d.',
  3734. week: {
  3735. dow: 1, // Monday is the first day of the week.
  3736. doy: 7, // The week that contains Jan 7th is the first week of the year.
  3737. },
  3738. });
  3739. //! moment.js locale configuration
  3740. var symbolMap$6 = {
  3741. 1: '۱',
  3742. 2: '۲',
  3743. 3: '۳',
  3744. 4: '۴',
  3745. 5: '۵',
  3746. 6: '۶',
  3747. 7: '۷',
  3748. 8: '۸',
  3749. 9: '۹',
  3750. 0: '۰',
  3751. },
  3752. numberMap$5 = {
  3753. '۱': '1',
  3754. '۲': '2',
  3755. '۳': '3',
  3756. '۴': '4',
  3757. '۵': '5',
  3758. '۶': '6',
  3759. '۷': '7',
  3760. '۸': '8',
  3761. '۹': '9',
  3762. '۰': '0',
  3763. };
  3764. moment.defineLocale('fa', {
  3765. months: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(
  3766. '_'
  3767. ),
  3768. monthsShort: 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split(
  3769. '_'
  3770. ),
  3771. weekdays: 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split(
  3772. '_'
  3773. ),
  3774. weekdaysShort: 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split(
  3775. '_'
  3776. ),
  3777. weekdaysMin: 'ی_د_س_چ_پ_ج_ش'.split('_'),
  3778. weekdaysParseExact: true,
  3779. longDateFormat: {
  3780. LT: 'HH:mm',
  3781. LTS: 'HH:mm:ss',
  3782. L: 'DD/MM/YYYY',
  3783. LL: 'D MMMM YYYY',
  3784. LLL: 'D MMMM YYYY HH:mm',
  3785. LLLL: 'dddd, D MMMM YYYY HH:mm',
  3786. },
  3787. meridiemParse: /قبل از ظهر|بعد از ظهر/,
  3788. isPM: function (input) {
  3789. return /بعد از ظهر/.test(input);
  3790. },
  3791. meridiem: function (hour, minute, isLower) {
  3792. if (hour < 12) {
  3793. return 'قبل از ظهر';
  3794. } else {
  3795. return 'بعد از ظهر';
  3796. }
  3797. },
  3798. calendar: {
  3799. sameDay: '[امروز ساعت] LT',
  3800. nextDay: '[فردا ساعت] LT',
  3801. nextWeek: 'dddd [ساعت] LT',
  3802. lastDay: '[دیروز ساعت] LT',
  3803. lastWeek: 'dddd [پیش] [ساعت] LT',
  3804. sameElse: 'L',
  3805. },
  3806. relativeTime: {
  3807. future: 'در %s',
  3808. past: '%s پیش',
  3809. s: 'چند ثانیه',
  3810. ss: '%d ثانیه',
  3811. m: 'یک دقیقه',
  3812. mm: '%d دقیقه',
  3813. h: 'یک ساعت',
  3814. hh: '%d ساعت',
  3815. d: 'یک روز',
  3816. dd: '%d روز',
  3817. M: 'یک ماه',
  3818. MM: '%d ماه',
  3819. y: 'یک سال',
  3820. yy: '%d سال',
  3821. },
  3822. preparse: function (string) {
  3823. return string
  3824. .replace(/[۰-۹]/g, function (match) {
  3825. return numberMap$5[match];
  3826. })
  3827. .replace(/،/g, ',');
  3828. },
  3829. postformat: function (string) {
  3830. return string
  3831. .replace(/\d/g, function (match) {
  3832. return symbolMap$6[match];
  3833. })
  3834. .replace(/,/g, '،');
  3835. },
  3836. dayOfMonthOrdinalParse: /\d{1,2}م/,
  3837. ordinal: '%dم',
  3838. week: {
  3839. dow: 6, // Saturday is the first day of the week.
  3840. doy: 12, // The week that contains Jan 12th is the first week of the year.
  3841. },
  3842. });
  3843. //! moment.js locale configuration
  3844. var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(
  3845. ' '
  3846. ),
  3847. numbersFuture = [
  3848. 'nolla',
  3849. 'yhden',
  3850. 'kahden',
  3851. 'kolmen',
  3852. 'neljän',
  3853. 'viiden',
  3854. 'kuuden',
  3855. numbersPast[7],
  3856. numbersPast[8],
  3857. numbersPast[9],
  3858. ];
  3859. function translate$2(number, withoutSuffix, key, isFuture) {
  3860. var result = '';
  3861. switch (key) {
  3862. case 's':
  3863. return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
  3864. case 'ss':
  3865. result = isFuture ? 'sekunnin' : 'sekuntia';
  3866. break;
  3867. case 'm':
  3868. return isFuture ? 'minuutin' : 'minuutti';
  3869. case 'mm':
  3870. result = isFuture ? 'minuutin' : 'minuuttia';
  3871. break;
  3872. case 'h':
  3873. return isFuture ? 'tunnin' : 'tunti';
  3874. case 'hh':
  3875. result = isFuture ? 'tunnin' : 'tuntia';
  3876. break;
  3877. case 'd':
  3878. return isFuture ? 'päivän' : 'päivä';
  3879. case 'dd':
  3880. result = isFuture ? 'päivän' : 'päivää';
  3881. break;
  3882. case 'M':
  3883. return isFuture ? 'kuukauden' : 'kuukausi';
  3884. case 'MM':
  3885. result = isFuture ? 'kuukauden' : 'kuukautta';
  3886. break;
  3887. case 'y':
  3888. return isFuture ? 'vuoden' : 'vuosi';
  3889. case 'yy':
  3890. result = isFuture ? 'vuoden' : 'vuotta';
  3891. break;
  3892. }
  3893. result = verbalNumber(number, isFuture) + ' ' + result;
  3894. return result;
  3895. }
  3896. function verbalNumber(number, isFuture) {
  3897. return number < 10
  3898. ? isFuture
  3899. ? numbersFuture[number]
  3900. : numbersPast[number]
  3901. : number;
  3902. }
  3903. moment.defineLocale('fi', {
  3904. months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split(
  3905. '_'
  3906. ),
  3907. monthsShort: 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split(
  3908. '_'
  3909. ),
  3910. weekdays: 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split(
  3911. '_'
  3912. ),
  3913. weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'),
  3914. weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'),
  3915. longDateFormat: {
  3916. LT: 'HH.mm',
  3917. LTS: 'HH.mm.ss',
  3918. L: 'DD.MM.YYYY',
  3919. LL: 'Do MMMM[ta] YYYY',
  3920. LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm',
  3921. LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',
  3922. l: 'D.M.YYYY',
  3923. ll: 'Do MMM YYYY',
  3924. lll: 'Do MMM YYYY, [klo] HH.mm',
  3925. llll: 'ddd, Do MMM YYYY, [klo] HH.mm',
  3926. },
  3927. calendar: {
  3928. sameDay: '[tänään] [klo] LT',
  3929. nextDay: '[huomenna] [klo] LT',
  3930. nextWeek: 'dddd [klo] LT',
  3931. lastDay: '[eilen] [klo] LT',
  3932. lastWeek: '[viime] dddd[na] [klo] LT',
  3933. sameElse: 'L',
  3934. },
  3935. relativeTime: {
  3936. future: '%s päästä',
  3937. past: '%s sitten',
  3938. s: translate$2,
  3939. ss: translate$2,
  3940. m: translate$2,
  3941. mm: translate$2,
  3942. h: translate$2,
  3943. hh: translate$2,
  3944. d: translate$2,
  3945. dd: translate$2,
  3946. M: translate$2,
  3947. MM: translate$2,
  3948. y: translate$2,
  3949. yy: translate$2,
  3950. },
  3951. dayOfMonthOrdinalParse: /\d{1,2}\./,
  3952. ordinal: '%d.',
  3953. week: {
  3954. dow: 1, // Monday is the first day of the week.
  3955. doy: 4, // The week that contains Jan 4th is the first week of the year.
  3956. },
  3957. });
  3958. //! moment.js locale configuration
  3959. moment.defineLocale('fil', {
  3960. months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
  3961. '_'
  3962. ),
  3963. monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
  3964. weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
  3965. '_'
  3966. ),
  3967. weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
  3968. weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
  3969. longDateFormat: {
  3970. LT: 'HH:mm',
  3971. LTS: 'HH:mm:ss',
  3972. L: 'MM/D/YYYY',
  3973. LL: 'MMMM D, YYYY',
  3974. LLL: 'MMMM D, YYYY HH:mm',
  3975. LLLL: 'dddd, MMMM DD, YYYY HH:mm',
  3976. },
  3977. calendar: {
  3978. sameDay: 'LT [ngayong araw]',
  3979. nextDay: '[Bukas ng] LT',
  3980. nextWeek: 'LT [sa susunod na] dddd',
  3981. lastDay: 'LT [kahapon]',
  3982. lastWeek: 'LT [noong nakaraang] dddd',
  3983. sameElse: 'L',
  3984. },
  3985. relativeTime: {
  3986. future: 'sa loob ng %s',
  3987. past: '%s ang nakalipas',
  3988. s: 'ilang segundo',
  3989. ss: '%d segundo',
  3990. m: 'isang minuto',
  3991. mm: '%d minuto',
  3992. h: 'isang oras',
  3993. hh: '%d oras',
  3994. d: 'isang araw',
  3995. dd: '%d araw',
  3996. M: 'isang buwan',
  3997. MM: '%d buwan',
  3998. y: 'isang taon',
  3999. yy: '%d taon',
  4000. },
  4001. dayOfMonthOrdinalParse: /\d{1,2}/,
  4002. ordinal: function (number) {
  4003. return number;
  4004. },
  4005. week: {
  4006. dow: 1, // Monday is the first day of the week.
  4007. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4008. },
  4009. });
  4010. //! moment.js locale configuration
  4011. moment.defineLocale('fo', {
  4012. months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split(
  4013. '_'
  4014. ),
  4015. monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
  4016. weekdays: 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split(
  4017. '_'
  4018. ),
  4019. weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
  4020. weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'),
  4021. longDateFormat: {
  4022. LT: 'HH:mm',
  4023. LTS: 'HH:mm:ss',
  4024. L: 'DD/MM/YYYY',
  4025. LL: 'D MMMM YYYY',
  4026. LLL: 'D MMMM YYYY HH:mm',
  4027. LLLL: 'dddd D. MMMM, YYYY HH:mm',
  4028. },
  4029. calendar: {
  4030. sameDay: '[Í dag kl.] LT',
  4031. nextDay: '[Í morgin kl.] LT',
  4032. nextWeek: 'dddd [kl.] LT',
  4033. lastDay: '[Í gjár kl.] LT',
  4034. lastWeek: '[síðstu] dddd [kl] LT',
  4035. sameElse: 'L',
  4036. },
  4037. relativeTime: {
  4038. future: 'um %s',
  4039. past: '%s síðani',
  4040. s: 'fá sekund',
  4041. ss: '%d sekundir',
  4042. m: 'ein minuttur',
  4043. mm: '%d minuttir',
  4044. h: 'ein tími',
  4045. hh: '%d tímar',
  4046. d: 'ein dagur',
  4047. dd: '%d dagar',
  4048. M: 'ein mánaður',
  4049. MM: '%d mánaðir',
  4050. y: 'eitt ár',
  4051. yy: '%d ár',
  4052. },
  4053. dayOfMonthOrdinalParse: /\d{1,2}\./,
  4054. ordinal: '%d.',
  4055. week: {
  4056. dow: 1, // Monday is the first day of the week.
  4057. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4058. },
  4059. });
  4060. //! moment.js locale configuration
  4061. moment.defineLocale('fr-ca', {
  4062. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
  4063. '_'
  4064. ),
  4065. monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
  4066. '_'
  4067. ),
  4068. monthsParseExact: true,
  4069. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  4070. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  4071. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  4072. weekdaysParseExact: true,
  4073. longDateFormat: {
  4074. LT: 'HH:mm',
  4075. LTS: 'HH:mm:ss',
  4076. L: 'YYYY-MM-DD',
  4077. LL: 'D MMMM YYYY',
  4078. LLL: 'D MMMM YYYY HH:mm',
  4079. LLLL: 'dddd D MMMM YYYY HH:mm',
  4080. },
  4081. calendar: {
  4082. sameDay: '[Aujourd’hui à] LT',
  4083. nextDay: '[Demain à] LT',
  4084. nextWeek: 'dddd [à] LT',
  4085. lastDay: '[Hier à] LT',
  4086. lastWeek: 'dddd [dernier à] LT',
  4087. sameElse: 'L',
  4088. },
  4089. relativeTime: {
  4090. future: 'dans %s',
  4091. past: 'il y a %s',
  4092. s: 'quelques secondes',
  4093. ss: '%d secondes',
  4094. m: 'une minute',
  4095. mm: '%d minutes',
  4096. h: 'une heure',
  4097. hh: '%d heures',
  4098. d: 'un jour',
  4099. dd: '%d jours',
  4100. M: 'un mois',
  4101. MM: '%d mois',
  4102. y: 'un an',
  4103. yy: '%d ans',
  4104. },
  4105. dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
  4106. ordinal: function (number, period) {
  4107. switch (period) {
  4108. // Words with masculine grammatical gender: mois, trimestre, jour
  4109. default:
  4110. case 'M':
  4111. case 'Q':
  4112. case 'D':
  4113. case 'DDD':
  4114. case 'd':
  4115. return number + (number === 1 ? 'er' : 'e');
  4116. // Words with feminine grammatical gender: semaine
  4117. case 'w':
  4118. case 'W':
  4119. return number + (number === 1 ? 're' : 'e');
  4120. }
  4121. },
  4122. });
  4123. //! moment.js locale configuration
  4124. moment.defineLocale('fr-ch', {
  4125. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
  4126. '_'
  4127. ),
  4128. monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
  4129. '_'
  4130. ),
  4131. monthsParseExact: true,
  4132. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  4133. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  4134. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  4135. weekdaysParseExact: true,
  4136. longDateFormat: {
  4137. LT: 'HH:mm',
  4138. LTS: 'HH:mm:ss',
  4139. L: 'DD.MM.YYYY',
  4140. LL: 'D MMMM YYYY',
  4141. LLL: 'D MMMM YYYY HH:mm',
  4142. LLLL: 'dddd D MMMM YYYY HH:mm',
  4143. },
  4144. calendar: {
  4145. sameDay: '[Aujourd’hui à] LT',
  4146. nextDay: '[Demain à] LT',
  4147. nextWeek: 'dddd [à] LT',
  4148. lastDay: '[Hier à] LT',
  4149. lastWeek: 'dddd [dernier à] LT',
  4150. sameElse: 'L',
  4151. },
  4152. relativeTime: {
  4153. future: 'dans %s',
  4154. past: 'il y a %s',
  4155. s: 'quelques secondes',
  4156. ss: '%d secondes',
  4157. m: 'une minute',
  4158. mm: '%d minutes',
  4159. h: 'une heure',
  4160. hh: '%d heures',
  4161. d: 'un jour',
  4162. dd: '%d jours',
  4163. M: 'un mois',
  4164. MM: '%d mois',
  4165. y: 'un an',
  4166. yy: '%d ans',
  4167. },
  4168. dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
  4169. ordinal: function (number, period) {
  4170. switch (period) {
  4171. // Words with masculine grammatical gender: mois, trimestre, jour
  4172. default:
  4173. case 'M':
  4174. case 'Q':
  4175. case 'D':
  4176. case 'DDD':
  4177. case 'd':
  4178. return number + (number === 1 ? 'er' : 'e');
  4179. // Words with feminine grammatical gender: semaine
  4180. case 'w':
  4181. case 'W':
  4182. return number + (number === 1 ? 're' : 'e');
  4183. }
  4184. },
  4185. week: {
  4186. dow: 1, // Monday is the first day of the week.
  4187. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4188. },
  4189. });
  4190. //! moment.js locale configuration
  4191. var monthsStrictRegex$1 = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
  4192. monthsShortStrictRegex$1 = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
  4193. monthsRegex$6 = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
  4194. monthsParse$6 = [
  4195. /^janv/i,
  4196. /^févr/i,
  4197. /^mars/i,
  4198. /^avr/i,
  4199. /^mai/i,
  4200. /^juin/i,
  4201. /^juil/i,
  4202. /^août/i,
  4203. /^sept/i,
  4204. /^oct/i,
  4205. /^nov/i,
  4206. /^déc/i,
  4207. ];
  4208. moment.defineLocale('fr', {
  4209. months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
  4210. '_'
  4211. ),
  4212. monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
  4213. '_'
  4214. ),
  4215. monthsRegex: monthsRegex$6,
  4216. monthsShortRegex: monthsRegex$6,
  4217. monthsStrictRegex: monthsStrictRegex$1,
  4218. monthsShortStrictRegex: monthsShortStrictRegex$1,
  4219. monthsParse: monthsParse$6,
  4220. longMonthsParse: monthsParse$6,
  4221. shortMonthsParse: monthsParse$6,
  4222. weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
  4223. weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
  4224. weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
  4225. weekdaysParseExact: true,
  4226. longDateFormat: {
  4227. LT: 'HH:mm',
  4228. LTS: 'HH:mm:ss',
  4229. L: 'DD/MM/YYYY',
  4230. LL: 'D MMMM YYYY',
  4231. LLL: 'D MMMM YYYY HH:mm',
  4232. LLLL: 'dddd D MMMM YYYY HH:mm',
  4233. },
  4234. calendar: {
  4235. sameDay: '[Aujourd’hui à] LT',
  4236. nextDay: '[Demain à] LT',
  4237. nextWeek: 'dddd [à] LT',
  4238. lastDay: '[Hier à] LT',
  4239. lastWeek: 'dddd [dernier à] LT',
  4240. sameElse: 'L',
  4241. },
  4242. relativeTime: {
  4243. future: 'dans %s',
  4244. past: 'il y a %s',
  4245. s: 'quelques secondes',
  4246. ss: '%d secondes',
  4247. m: 'une minute',
  4248. mm: '%d minutes',
  4249. h: 'une heure',
  4250. hh: '%d heures',
  4251. d: 'un jour',
  4252. dd: '%d jours',
  4253. w: 'une semaine',
  4254. ww: '%d semaines',
  4255. M: 'un mois',
  4256. MM: '%d mois',
  4257. y: 'un an',
  4258. yy: '%d ans',
  4259. },
  4260. dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
  4261. ordinal: function (number, period) {
  4262. switch (period) {
  4263. // TODO: Return 'e' when day of month > 1. Move this case inside
  4264. // block for masculine words below.
  4265. // See https://github.com/moment/moment/issues/3375
  4266. case 'D':
  4267. return number + (number === 1 ? 'er' : '');
  4268. // Words with masculine grammatical gender: mois, trimestre, jour
  4269. default:
  4270. case 'M':
  4271. case 'Q':
  4272. case 'DDD':
  4273. case 'd':
  4274. return number + (number === 1 ? 'er' : 'e');
  4275. // Words with feminine grammatical gender: semaine
  4276. case 'w':
  4277. case 'W':
  4278. return number + (number === 1 ? 're' : 'e');
  4279. }
  4280. },
  4281. week: {
  4282. dow: 1, // Monday is the first day of the week.
  4283. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4284. },
  4285. });
  4286. //! moment.js locale configuration
  4287. var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split(
  4288. '_'
  4289. ),
  4290. monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split(
  4291. '_'
  4292. );
  4293. moment.defineLocale('fy', {
  4294. months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split(
  4295. '_'
  4296. ),
  4297. monthsShort: function (m, format) {
  4298. if (!m) {
  4299. return monthsShortWithDots;
  4300. } else if (/-MMM-/.test(format)) {
  4301. return monthsShortWithoutDots[m.month()];
  4302. } else {
  4303. return monthsShortWithDots[m.month()];
  4304. }
  4305. },
  4306. monthsParseExact: true,
  4307. weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split(
  4308. '_'
  4309. ),
  4310. weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'),
  4311. weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
  4312. weekdaysParseExact: true,
  4313. longDateFormat: {
  4314. LT: 'HH:mm',
  4315. LTS: 'HH:mm:ss',
  4316. L: 'DD-MM-YYYY',
  4317. LL: 'D MMMM YYYY',
  4318. LLL: 'D MMMM YYYY HH:mm',
  4319. LLLL: 'dddd D MMMM YYYY HH:mm',
  4320. },
  4321. calendar: {
  4322. sameDay: '[hjoed om] LT',
  4323. nextDay: '[moarn om] LT',
  4324. nextWeek: 'dddd [om] LT',
  4325. lastDay: '[juster om] LT',
  4326. lastWeek: '[ôfrûne] dddd [om] LT',
  4327. sameElse: 'L',
  4328. },
  4329. relativeTime: {
  4330. future: 'oer %s',
  4331. past: '%s lyn',
  4332. s: 'in pear sekonden',
  4333. ss: '%d sekonden',
  4334. m: 'ien minút',
  4335. mm: '%d minuten',
  4336. h: 'ien oere',
  4337. hh: '%d oeren',
  4338. d: 'ien dei',
  4339. dd: '%d dagen',
  4340. M: 'ien moanne',
  4341. MM: '%d moannen',
  4342. y: 'ien jier',
  4343. yy: '%d jierren',
  4344. },
  4345. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  4346. ordinal: function (number) {
  4347. return (
  4348. number +
  4349. (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
  4350. );
  4351. },
  4352. week: {
  4353. dow: 1, // Monday is the first day of the week.
  4354. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4355. },
  4356. });
  4357. //! moment.js locale configuration
  4358. var months$5 = [
  4359. 'Eanáir',
  4360. 'Feabhra',
  4361. 'Márta',
  4362. 'Aibreán',
  4363. 'Bealtaine',
  4364. 'Meitheamh',
  4365. 'Iúil',
  4366. 'Lúnasa',
  4367. 'Meán Fómhair',
  4368. 'Deireadh Fómhair',
  4369. 'Samhain',
  4370. 'Nollaig',
  4371. ],
  4372. monthsShort$5 = [
  4373. 'Ean',
  4374. 'Feabh',
  4375. 'Márt',
  4376. 'Aib',
  4377. 'Beal',
  4378. 'Meith',
  4379. 'Iúil',
  4380. 'Lún',
  4381. 'M.F.',
  4382. 'D.F.',
  4383. 'Samh',
  4384. 'Noll',
  4385. ],
  4386. weekdays$1 = [
  4387. 'Dé Domhnaigh',
  4388. 'Dé Luain',
  4389. 'Dé Máirt',
  4390. 'Dé Céadaoin',
  4391. 'Déardaoin',
  4392. 'Dé hAoine',
  4393. 'Dé Sathairn',
  4394. ],
  4395. weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],
  4396. weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa'];
  4397. moment.defineLocale('ga', {
  4398. months: months$5,
  4399. monthsShort: monthsShort$5,
  4400. monthsParseExact: true,
  4401. weekdays: weekdays$1,
  4402. weekdaysShort: weekdaysShort,
  4403. weekdaysMin: weekdaysMin,
  4404. longDateFormat: {
  4405. LT: 'HH:mm',
  4406. LTS: 'HH:mm:ss',
  4407. L: 'DD/MM/YYYY',
  4408. LL: 'D MMMM YYYY',
  4409. LLL: 'D MMMM YYYY HH:mm',
  4410. LLLL: 'dddd, D MMMM YYYY HH:mm',
  4411. },
  4412. calendar: {
  4413. sameDay: '[Inniu ag] LT',
  4414. nextDay: '[Amárach ag] LT',
  4415. nextWeek: 'dddd [ag] LT',
  4416. lastDay: '[Inné ag] LT',
  4417. lastWeek: 'dddd [seo caite] [ag] LT',
  4418. sameElse: 'L',
  4419. },
  4420. relativeTime: {
  4421. future: 'i %s',
  4422. past: '%s ó shin',
  4423. s: 'cúpla soicind',
  4424. ss: '%d soicind',
  4425. m: 'nóiméad',
  4426. mm: '%d nóiméad',
  4427. h: 'uair an chloig',
  4428. hh: '%d uair an chloig',
  4429. d: 'lá',
  4430. dd: '%d lá',
  4431. M: 'mí',
  4432. MM: '%d míonna',
  4433. y: 'bliain',
  4434. yy: '%d bliain',
  4435. },
  4436. dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
  4437. ordinal: function (number) {
  4438. var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
  4439. return number + output;
  4440. },
  4441. week: {
  4442. dow: 1, // Monday is the first day of the week.
  4443. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4444. },
  4445. });
  4446. //! moment.js locale configuration
  4447. var months$6 = [
  4448. 'Am Faoilleach',
  4449. 'An Gearran',
  4450. 'Am Màrt',
  4451. 'An Giblean',
  4452. 'An Cèitean',
  4453. 'An t-Ògmhios',
  4454. 'An t-Iuchar',
  4455. 'An Lùnastal',
  4456. 'An t-Sultain',
  4457. 'An Dàmhair',
  4458. 'An t-Samhain',
  4459. 'An Dùbhlachd',
  4460. ],
  4461. monthsShort$6 = [
  4462. 'Faoi',
  4463. 'Gear',
  4464. 'Màrt',
  4465. 'Gibl',
  4466. 'Cèit',
  4467. 'Ògmh',
  4468. 'Iuch',
  4469. 'Lùn',
  4470. 'Sult',
  4471. 'Dàmh',
  4472. 'Samh',
  4473. 'Dùbh',
  4474. ],
  4475. weekdays$2 = [
  4476. 'Didòmhnaich',
  4477. 'Diluain',
  4478. 'Dimàirt',
  4479. 'Diciadain',
  4480. 'Diardaoin',
  4481. 'Dihaoine',
  4482. 'Disathairne',
  4483. ],
  4484. weekdaysShort$1 = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],
  4485. weekdaysMin$1 = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
  4486. moment.defineLocale('gd', {
  4487. months: months$6,
  4488. monthsShort: monthsShort$6,
  4489. monthsParseExact: true,
  4490. weekdays: weekdays$2,
  4491. weekdaysShort: weekdaysShort$1,
  4492. weekdaysMin: weekdaysMin$1,
  4493. longDateFormat: {
  4494. LT: 'HH:mm',
  4495. LTS: 'HH:mm:ss',
  4496. L: 'DD/MM/YYYY',
  4497. LL: 'D MMMM YYYY',
  4498. LLL: 'D MMMM YYYY HH:mm',
  4499. LLLL: 'dddd, D MMMM YYYY HH:mm',
  4500. },
  4501. calendar: {
  4502. sameDay: '[An-diugh aig] LT',
  4503. nextDay: '[A-màireach aig] LT',
  4504. nextWeek: 'dddd [aig] LT',
  4505. lastDay: '[An-dè aig] LT',
  4506. lastWeek: 'dddd [seo chaidh] [aig] LT',
  4507. sameElse: 'L',
  4508. },
  4509. relativeTime: {
  4510. future: 'ann an %s',
  4511. past: 'bho chionn %s',
  4512. s: 'beagan diogan',
  4513. ss: '%d diogan',
  4514. m: 'mionaid',
  4515. mm: '%d mionaidean',
  4516. h: 'uair',
  4517. hh: '%d uairean',
  4518. d: 'latha',
  4519. dd: '%d latha',
  4520. M: 'mìos',
  4521. MM: '%d mìosan',
  4522. y: 'bliadhna',
  4523. yy: '%d bliadhna',
  4524. },
  4525. dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
  4526. ordinal: function (number) {
  4527. var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
  4528. return number + output;
  4529. },
  4530. week: {
  4531. dow: 1, // Monday is the first day of the week.
  4532. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4533. },
  4534. });
  4535. //! moment.js locale configuration
  4536. moment.defineLocale('gl', {
  4537. months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split(
  4538. '_'
  4539. ),
  4540. monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split(
  4541. '_'
  4542. ),
  4543. monthsParseExact: true,
  4544. weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),
  4545. weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),
  4546. weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'),
  4547. weekdaysParseExact: true,
  4548. longDateFormat: {
  4549. LT: 'H:mm',
  4550. LTS: 'H:mm:ss',
  4551. L: 'DD/MM/YYYY',
  4552. LL: 'D [de] MMMM [de] YYYY',
  4553. LLL: 'D [de] MMMM [de] YYYY H:mm',
  4554. LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
  4555. },
  4556. calendar: {
  4557. sameDay: function () {
  4558. return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
  4559. },
  4560. nextDay: function () {
  4561. return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
  4562. },
  4563. nextWeek: function () {
  4564. return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';
  4565. },
  4566. lastDay: function () {
  4567. return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT';
  4568. },
  4569. lastWeek: function () {
  4570. return (
  4571. '[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'
  4572. );
  4573. },
  4574. sameElse: 'L',
  4575. },
  4576. relativeTime: {
  4577. future: function (str) {
  4578. if (str.indexOf('un') === 0) {
  4579. return 'n' + str;
  4580. }
  4581. return 'en ' + str;
  4582. },
  4583. past: 'hai %s',
  4584. s: 'uns segundos',
  4585. ss: '%d segundos',
  4586. m: 'un minuto',
  4587. mm: '%d minutos',
  4588. h: 'unha hora',
  4589. hh: '%d horas',
  4590. d: 'un día',
  4591. dd: '%d días',
  4592. M: 'un mes',
  4593. MM: '%d meses',
  4594. y: 'un ano',
  4595. yy: '%d anos',
  4596. },
  4597. dayOfMonthOrdinalParse: /\d{1,2}º/,
  4598. ordinal: '%dº',
  4599. week: {
  4600. dow: 1, // Monday is the first day of the week.
  4601. doy: 4, // The week that contains Jan 4th is the first week of the year.
  4602. },
  4603. });
  4604. //! moment.js locale configuration
  4605. function processRelativeTime$4(number, withoutSuffix, key, isFuture) {
  4606. var format = {
  4607. s: ['थोडया सॅकंडांनी', 'थोडे सॅकंड'],
  4608. ss: [number + ' सॅकंडांनी', number + ' सॅकंड'],
  4609. m: ['एका मिणटान', 'एक मिनूट'],
  4610. mm: [number + ' मिणटांनी', number + ' मिणटां'],
  4611. h: ['एका वरान', 'एक वर'],
  4612. hh: [number + ' वरांनी', number + ' वरां'],
  4613. d: ['एका दिसान', 'एक दीस'],
  4614. dd: [number + ' दिसांनी', number + ' दीस'],
  4615. M: ['एका म्हयन्यान', 'एक म्हयनो'],
  4616. MM: [number + ' म्हयन्यानी', number + ' म्हयने'],
  4617. y: ['एका वर्सान', 'एक वर्स'],
  4618. yy: [number + ' वर्सांनी', number + ' वर्सां'],
  4619. };
  4620. return isFuture ? format[key][0] : format[key][1];
  4621. }
  4622. moment.defineLocale('gom-deva', {
  4623. months: {
  4624. standalone: 'जानेवारी_फेब्रुवारी_मार्च_एप्रील_मे_जून_जुलय_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(
  4625. '_'
  4626. ),
  4627. format: 'जानेवारीच्या_फेब्रुवारीच्या_मार्चाच्या_एप्रीलाच्या_मेयाच्या_जूनाच्या_जुलयाच्या_ऑगस्टाच्या_सप्टेंबराच्या_ऑक्टोबराच्या_नोव्हेंबराच्या_डिसेंबराच्या'.split(
  4628. '_'
  4629. ),
  4630. isFormat: /MMMM(\s)+D[oD]?/,
  4631. },
  4632. monthsShort: 'जाने._फेब्रु._मार्च_एप्री._मे_जून_जुल._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(
  4633. '_'
  4634. ),
  4635. monthsParseExact: true,
  4636. weekdays: 'आयतार_सोमार_मंगळार_बुधवार_बिरेस्तार_सुक्रार_शेनवार'.split('_'),
  4637. weekdaysShort: 'आयत._सोम._मंगळ._बुध._ब्रेस्त._सुक्र._शेन.'.split('_'),
  4638. weekdaysMin: 'आ_सो_मं_बु_ब्रे_सु_शे'.split('_'),
  4639. weekdaysParseExact: true,
  4640. longDateFormat: {
  4641. LT: 'A h:mm [वाजतां]',
  4642. LTS: 'A h:mm:ss [वाजतां]',
  4643. L: 'DD-MM-YYYY',
  4644. LL: 'D MMMM YYYY',
  4645. LLL: 'D MMMM YYYY A h:mm [वाजतां]',
  4646. LLLL: 'dddd, MMMM Do, YYYY, A h:mm [वाजतां]',
  4647. llll: 'ddd, D MMM YYYY, A h:mm [वाजतां]',
  4648. },
  4649. calendar: {
  4650. sameDay: '[आयज] LT',
  4651. nextDay: '[फाल्यां] LT',
  4652. nextWeek: '[फुडलो] dddd[,] LT',
  4653. lastDay: '[काल] LT',
  4654. lastWeek: '[फाटलो] dddd[,] LT',
  4655. sameElse: 'L',
  4656. },
  4657. relativeTime: {
  4658. future: '%s',
  4659. past: '%s आदीं',
  4660. s: processRelativeTime$4,
  4661. ss: processRelativeTime$4,
  4662. m: processRelativeTime$4,
  4663. mm: processRelativeTime$4,
  4664. h: processRelativeTime$4,
  4665. hh: processRelativeTime$4,
  4666. d: processRelativeTime$4,
  4667. dd: processRelativeTime$4,
  4668. M: processRelativeTime$4,
  4669. MM: processRelativeTime$4,
  4670. y: processRelativeTime$4,
  4671. yy: processRelativeTime$4,
  4672. },
  4673. dayOfMonthOrdinalParse: /\d{1,2}(वेर)/,
  4674. ordinal: function (number, period) {
  4675. switch (period) {
  4676. // the ordinal 'वेर' only applies to day of the month
  4677. case 'D':
  4678. return number + 'वेर';
  4679. default:
  4680. case 'M':
  4681. case 'Q':
  4682. case 'DDD':
  4683. case 'd':
  4684. case 'w':
  4685. case 'W':
  4686. return number;
  4687. }
  4688. },
  4689. week: {
  4690. dow: 0, // Sunday is the first day of the week
  4691. doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
  4692. },
  4693. meridiemParse: /राती|सकाळीं|दनपारां|सांजे/,
  4694. meridiemHour: function (hour, meridiem) {
  4695. if (hour === 12) {
  4696. hour = 0;
  4697. }
  4698. if (meridiem === 'राती') {
  4699. return hour < 4 ? hour : hour + 12;
  4700. } else if (meridiem === 'सकाळीं') {
  4701. return hour;
  4702. } else if (meridiem === 'दनपारां') {
  4703. return hour > 12 ? hour : hour + 12;
  4704. } else if (meridiem === 'सांजे') {
  4705. return hour + 12;
  4706. }
  4707. },
  4708. meridiem: function (hour, minute, isLower) {
  4709. if (hour < 4) {
  4710. return 'राती';
  4711. } else if (hour < 12) {
  4712. return 'सकाळीं';
  4713. } else if (hour < 16) {
  4714. return 'दनपारां';
  4715. } else if (hour < 20) {
  4716. return 'सांजे';
  4717. } else {
  4718. return 'राती';
  4719. }
  4720. },
  4721. });
  4722. //! moment.js locale configuration
  4723. function processRelativeTime$5(number, withoutSuffix, key, isFuture) {
  4724. var format = {
  4725. s: ['thoddea sekondamni', 'thodde sekond'],
  4726. ss: [number + ' sekondamni', number + ' sekond'],
  4727. m: ['eka mintan', 'ek minut'],
  4728. mm: [number + ' mintamni', number + ' mintam'],
  4729. h: ['eka voran', 'ek vor'],
  4730. hh: [number + ' voramni', number + ' voram'],
  4731. d: ['eka disan', 'ek dis'],
  4732. dd: [number + ' disamni', number + ' dis'],
  4733. M: ['eka mhoinean', 'ek mhoino'],
  4734. MM: [number + ' mhoineamni', number + ' mhoine'],
  4735. y: ['eka vorsan', 'ek voros'],
  4736. yy: [number + ' vorsamni', number + ' vorsam'],
  4737. };
  4738. return isFuture ? format[key][0] : format[key][1];
  4739. }
  4740. moment.defineLocale('gom-latn', {
  4741. months: {
  4742. standalone: 'Janer_Febrer_Mars_Abril_Mai_Jun_Julai_Agost_Setembr_Otubr_Novembr_Dezembr'.split(
  4743. '_'
  4744. ),
  4745. format: 'Janerachea_Febrerachea_Marsachea_Abrilachea_Maiachea_Junachea_Julaiachea_Agostachea_Setembrachea_Otubrachea_Novembrachea_Dezembrachea'.split(
  4746. '_'
  4747. ),
  4748. isFormat: /MMMM(\s)+D[oD]?/,
  4749. },
  4750. monthsShort: 'Jan._Feb._Mars_Abr._Mai_Jun_Jul._Ago._Set._Otu._Nov._Dez.'.split(
  4751. '_'
  4752. ),
  4753. monthsParseExact: true,
  4754. weekdays: "Aitar_Somar_Mongllar_Budhvar_Birestar_Sukrar_Son'var".split('_'),
  4755. weekdaysShort: 'Ait._Som._Mon._Bud._Bre._Suk._Son.'.split('_'),
  4756. weekdaysMin: 'Ai_Sm_Mo_Bu_Br_Su_Sn'.split('_'),
  4757. weekdaysParseExact: true,
  4758. longDateFormat: {
  4759. LT: 'A h:mm [vazta]',
  4760. LTS: 'A h:mm:ss [vazta]',
  4761. L: 'DD-MM-YYYY',
  4762. LL: 'D MMMM YYYY',
  4763. LLL: 'D MMMM YYYY A h:mm [vazta]',
  4764. LLLL: 'dddd, MMMM Do, YYYY, A h:mm [vazta]',
  4765. llll: 'ddd, D MMM YYYY, A h:mm [vazta]',
  4766. },
  4767. calendar: {
  4768. sameDay: '[Aiz] LT',
  4769. nextDay: '[Faleam] LT',
  4770. nextWeek: '[Fuddlo] dddd[,] LT',
  4771. lastDay: '[Kal] LT',
  4772. lastWeek: '[Fattlo] dddd[,] LT',
  4773. sameElse: 'L',
  4774. },
  4775. relativeTime: {
  4776. future: '%s',
  4777. past: '%s adim',
  4778. s: processRelativeTime$5,
  4779. ss: processRelativeTime$5,
  4780. m: processRelativeTime$5,
  4781. mm: processRelativeTime$5,
  4782. h: processRelativeTime$5,
  4783. hh: processRelativeTime$5,
  4784. d: processRelativeTime$5,
  4785. dd: processRelativeTime$5,
  4786. M: processRelativeTime$5,
  4787. MM: processRelativeTime$5,
  4788. y: processRelativeTime$5,
  4789. yy: processRelativeTime$5,
  4790. },
  4791. dayOfMonthOrdinalParse: /\d{1,2}(er)/,
  4792. ordinal: function (number, period) {
  4793. switch (period) {
  4794. // the ordinal 'er' only applies to day of the month
  4795. case 'D':
  4796. return number + 'er';
  4797. default:
  4798. case 'M':
  4799. case 'Q':
  4800. case 'DDD':
  4801. case 'd':
  4802. case 'w':
  4803. case 'W':
  4804. return number;
  4805. }
  4806. },
  4807. week: {
  4808. dow: 0, // Sunday is the first day of the week
  4809. doy: 3, // The week that contains Jan 4th is the first week of the year (7 + 0 - 4)
  4810. },
  4811. meridiemParse: /rati|sokallim|donparam|sanje/,
  4812. meridiemHour: function (hour, meridiem) {
  4813. if (hour === 12) {
  4814. hour = 0;
  4815. }
  4816. if (meridiem === 'rati') {
  4817. return hour < 4 ? hour : hour + 12;
  4818. } else if (meridiem === 'sokallim') {
  4819. return hour;
  4820. } else if (meridiem === 'donparam') {
  4821. return hour > 12 ? hour : hour + 12;
  4822. } else if (meridiem === 'sanje') {
  4823. return hour + 12;
  4824. }
  4825. },
  4826. meridiem: function (hour, minute, isLower) {
  4827. if (hour < 4) {
  4828. return 'rati';
  4829. } else if (hour < 12) {
  4830. return 'sokallim';
  4831. } else if (hour < 16) {
  4832. return 'donparam';
  4833. } else if (hour < 20) {
  4834. return 'sanje';
  4835. } else {
  4836. return 'rati';
  4837. }
  4838. },
  4839. });
  4840. //! moment.js locale configuration
  4841. var symbolMap$7 = {
  4842. 1: '૧',
  4843. 2: '૨',
  4844. 3: '૩',
  4845. 4: '૪',
  4846. 5: '૫',
  4847. 6: '૬',
  4848. 7: '૭',
  4849. 8: '૮',
  4850. 9: '૯',
  4851. 0: '૦',
  4852. },
  4853. numberMap$6 = {
  4854. '૧': '1',
  4855. '૨': '2',
  4856. '૩': '3',
  4857. '૪': '4',
  4858. '૫': '5',
  4859. '૬': '6',
  4860. '૭': '7',
  4861. '૮': '8',
  4862. '૯': '9',
  4863. '૦': '0',
  4864. };
  4865. moment.defineLocale('gu', {
  4866. months: 'જાન્યુઆરી_ફેબ્રુઆરી_માર્ચ_એપ્રિલ_મે_જૂન_જુલાઈ_ઑગસ્ટ_સપ્ટેમ્બર_ઑક્ટ્બર_નવેમ્બર_ડિસેમ્બર'.split(
  4867. '_'
  4868. ),
  4869. monthsShort: 'જાન્યુ._ફેબ્રુ._માર્ચ_એપ્રિ._મે_જૂન_જુલા._ઑગ._સપ્ટે._ઑક્ટ્._નવે._ડિસે.'.split(
  4870. '_'
  4871. ),
  4872. monthsParseExact: true,
  4873. weekdays: 'રવિવાર_સોમવાર_મંગળવાર_બુધ્વાર_ગુરુવાર_શુક્રવાર_શનિવાર'.split(
  4874. '_'
  4875. ),
  4876. weekdaysShort: 'રવિ_સોમ_મંગળ_બુધ્_ગુરુ_શુક્ર_શનિ'.split('_'),
  4877. weekdaysMin: 'ર_સો_મં_બુ_ગુ_શુ_શ'.split('_'),
  4878. longDateFormat: {
  4879. LT: 'A h:mm વાગ્યે',
  4880. LTS: 'A h:mm:ss વાગ્યે',
  4881. L: 'DD/MM/YYYY',
  4882. LL: 'D MMMM YYYY',
  4883. LLL: 'D MMMM YYYY, A h:mm વાગ્યે',
  4884. LLLL: 'dddd, D MMMM YYYY, A h:mm વાગ્યે',
  4885. },
  4886. calendar: {
  4887. sameDay: '[આજ] LT',
  4888. nextDay: '[કાલે] LT',
  4889. nextWeek: 'dddd, LT',
  4890. lastDay: '[ગઇકાલે] LT',
  4891. lastWeek: '[પાછલા] dddd, LT',
  4892. sameElse: 'L',
  4893. },
  4894. relativeTime: {
  4895. future: '%s મા',
  4896. past: '%s પહેલા',
  4897. s: 'અમુક પળો',
  4898. ss: '%d સેકંડ',
  4899. m: 'એક મિનિટ',
  4900. mm: '%d મિનિટ',
  4901. h: 'એક કલાક',
  4902. hh: '%d કલાક',
  4903. d: 'એક દિવસ',
  4904. dd: '%d દિવસ',
  4905. M: 'એક મહિનો',
  4906. MM: '%d મહિનો',
  4907. y: 'એક વર્ષ',
  4908. yy: '%d વર્ષ',
  4909. },
  4910. preparse: function (string) {
  4911. return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) {
  4912. return numberMap$6[match];
  4913. });
  4914. },
  4915. postformat: function (string) {
  4916. return string.replace(/\d/g, function (match) {
  4917. return symbolMap$7[match];
  4918. });
  4919. },
  4920. // Gujarati notation for meridiems are quite fuzzy in practice. While there exists
  4921. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Gujarati.
  4922. meridiemParse: /રાત|બપોર|સવાર|સાંજ/,
  4923. meridiemHour: function (hour, meridiem) {
  4924. if (hour === 12) {
  4925. hour = 0;
  4926. }
  4927. if (meridiem === 'રાત') {
  4928. return hour < 4 ? hour : hour + 12;
  4929. } else if (meridiem === 'સવાર') {
  4930. return hour;
  4931. } else if (meridiem === 'બપોર') {
  4932. return hour >= 10 ? hour : hour + 12;
  4933. } else if (meridiem === 'સાંજ') {
  4934. return hour + 12;
  4935. }
  4936. },
  4937. meridiem: function (hour, minute, isLower) {
  4938. if (hour < 4) {
  4939. return 'રાત';
  4940. } else if (hour < 10) {
  4941. return 'સવાર';
  4942. } else if (hour < 17) {
  4943. return 'બપોર';
  4944. } else if (hour < 20) {
  4945. return 'સાંજ';
  4946. } else {
  4947. return 'રાત';
  4948. }
  4949. },
  4950. week: {
  4951. dow: 0, // Sunday is the first day of the week.
  4952. doy: 6, // The week that contains Jan 6th is the first week of the year.
  4953. },
  4954. });
  4955. //! moment.js locale configuration
  4956. moment.defineLocale('he', {
  4957. months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split(
  4958. '_'
  4959. ),
  4960. monthsShort: 'ינו׳_פבר׳_מרץ_אפר׳_מאי_יוני_יולי_אוג׳_ספט׳_אוק׳_נוב׳_דצמ׳'.split(
  4961. '_'
  4962. ),
  4963. weekdays: 'ראשון_שני_שלישי_רביעי_חמישי_שישי_שבת'.split('_'),
  4964. weekdaysShort: 'א׳_ב׳_ג׳_ד׳_ה׳_ו׳_ש׳'.split('_'),
  4965. weekdaysMin: 'א_ב_ג_ד_ה_ו_ש'.split('_'),
  4966. longDateFormat: {
  4967. LT: 'HH:mm',
  4968. LTS: 'HH:mm:ss',
  4969. L: 'DD/MM/YYYY',
  4970. LL: 'D [ב]MMMM YYYY',
  4971. LLL: 'D [ב]MMMM YYYY HH:mm',
  4972. LLLL: 'dddd, D [ב]MMMM YYYY HH:mm',
  4973. l: 'D/M/YYYY',
  4974. ll: 'D MMM YYYY',
  4975. lll: 'D MMM YYYY HH:mm',
  4976. llll: 'ddd, D MMM YYYY HH:mm',
  4977. },
  4978. calendar: {
  4979. sameDay: '[היום ב־]LT',
  4980. nextDay: '[מחר ב־]LT',
  4981. nextWeek: 'dddd [בשעה] LT',
  4982. lastDay: '[אתמול ב־]LT',
  4983. lastWeek: '[ביום] dddd [האחרון בשעה] LT',
  4984. sameElse: 'L',
  4985. },
  4986. relativeTime: {
  4987. future: 'בעוד %s',
  4988. past: 'לפני %s',
  4989. s: 'מספר שניות',
  4990. ss: '%d שניות',
  4991. m: 'דקה',
  4992. mm: '%d דקות',
  4993. h: 'שעה',
  4994. hh: function (number) {
  4995. if (number === 2) {
  4996. return 'שעתיים';
  4997. }
  4998. return number + ' שעות';
  4999. },
  5000. d: 'יום',
  5001. dd: function (number) {
  5002. if (number === 2) {
  5003. return 'יומיים';
  5004. }
  5005. return number + ' ימים';
  5006. },
  5007. M: 'חודש',
  5008. MM: function (number) {
  5009. if (number === 2) {
  5010. return 'חודשיים';
  5011. }
  5012. return number + ' חודשים';
  5013. },
  5014. y: 'שנה',
  5015. yy: function (number) {
  5016. if (number === 2) {
  5017. return 'שנתיים';
  5018. } else if (number % 10 === 0 && number !== 10) {
  5019. return number + ' שנה';
  5020. }
  5021. return number + ' שנים';
  5022. },
  5023. },
  5024. meridiemParse: /אחה"צ|לפנה"צ|אחרי הצהריים|לפני הצהריים|לפנות בוקר|בבוקר|בערב/i,
  5025. isPM: function (input) {
  5026. return /^(אחה"צ|אחרי הצהריים|בערב)$/.test(input);
  5027. },
  5028. meridiem: function (hour, minute, isLower) {
  5029. if (hour < 5) {
  5030. return 'לפנות בוקר';
  5031. } else if (hour < 10) {
  5032. return 'בבוקר';
  5033. } else if (hour < 12) {
  5034. return isLower ? 'לפנה"צ' : 'לפני הצהריים';
  5035. } else if (hour < 18) {
  5036. return isLower ? 'אחה"צ' : 'אחרי הצהריים';
  5037. } else {
  5038. return 'בערב';
  5039. }
  5040. },
  5041. });
  5042. //! moment.js locale configuration
  5043. var symbolMap$8 = {
  5044. 1: '१',
  5045. 2: '२',
  5046. 3: '३',
  5047. 4: '४',
  5048. 5: '५',
  5049. 6: '६',
  5050. 7: '७',
  5051. 8: '८',
  5052. 9: '९',
  5053. 0: '०',
  5054. },
  5055. numberMap$7 = {
  5056. '१': '1',
  5057. '२': '2',
  5058. '३': '3',
  5059. '४': '4',
  5060. '५': '5',
  5061. '६': '6',
  5062. '७': '7',
  5063. '८': '8',
  5064. '९': '9',
  5065. '०': '0',
  5066. },
  5067. monthsParse$7 = [
  5068. /^जन/i,
  5069. /^फ़र|फर/i,
  5070. /^मार्च/i,
  5071. /^अप्रै/i,
  5072. /^मई/i,
  5073. /^जून/i,
  5074. /^जुल/i,
  5075. /^अग/i,
  5076. /^सितं|सित/i,
  5077. /^अक्टू/i,
  5078. /^नव|नवं/i,
  5079. /^दिसं|दिस/i,
  5080. ],
  5081. shortMonthsParse = [
  5082. /^जन/i,
  5083. /^फ़र/i,
  5084. /^मार्च/i,
  5085. /^अप्रै/i,
  5086. /^मई/i,
  5087. /^जून/i,
  5088. /^जुल/i,
  5089. /^अग/i,
  5090. /^सित/i,
  5091. /^अक्टू/i,
  5092. /^नव/i,
  5093. /^दिस/i,
  5094. ];
  5095. moment.defineLocale('hi', {
  5096. months: {
  5097. format: 'जनवरी_फ़रवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितम्बर_अक्टूबर_नवम्बर_दिसम्बर'.split(
  5098. '_'
  5099. ),
  5100. standalone: 'जनवरी_फरवरी_मार्च_अप्रैल_मई_जून_जुलाई_अगस्त_सितंबर_अक्टूबर_नवंबर_दिसंबर'.split(
  5101. '_'
  5102. ),
  5103. },
  5104. monthsShort: 'जन._फ़र._मार्च_अप्रै._मई_जून_जुल._अग._सित._अक्टू._नव._दिस.'.split(
  5105. '_'
  5106. ),
  5107. weekdays: 'रविवार_सोमवार_मंगलवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
  5108. weekdaysShort: 'रवि_सोम_मंगल_बुध_गुरू_शुक्र_शनि'.split('_'),
  5109. weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
  5110. longDateFormat: {
  5111. LT: 'A h:mm बजे',
  5112. LTS: 'A h:mm:ss बजे',
  5113. L: 'DD/MM/YYYY',
  5114. LL: 'D MMMM YYYY',
  5115. LLL: 'D MMMM YYYY, A h:mm बजे',
  5116. LLLL: 'dddd, D MMMM YYYY, A h:mm बजे',
  5117. },
  5118. monthsParse: monthsParse$7,
  5119. longMonthsParse: monthsParse$7,
  5120. shortMonthsParse: shortMonthsParse,
  5121. monthsRegex: /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,
  5122. monthsShortRegex: /^(जनवरी|जन\.?|फ़रवरी|फरवरी|फ़र\.?|मार्च?|अप्रैल|अप्रै\.?|मई?|जून?|जुलाई|जुल\.?|अगस्त|अग\.?|सितम्बर|सितंबर|सित\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर|नव\.?|दिसम्बर|दिसंबर|दिस\.?)/i,
  5123. monthsStrictRegex: /^(जनवरी?|फ़रवरी|फरवरी?|मार्च?|अप्रैल?|मई?|जून?|जुलाई?|अगस्त?|सितम्बर|सितंबर|सित?\.?|अक्टूबर|अक्टू\.?|नवम्बर|नवंबर?|दिसम्बर|दिसंबर?)/i,
  5124. monthsShortStrictRegex: /^(जन\.?|फ़र\.?|मार्च?|अप्रै\.?|मई?|जून?|जुल\.?|अग\.?|सित\.?|अक्टू\.?|नव\.?|दिस\.?)/i,
  5125. calendar: {
  5126. sameDay: '[आज] LT',
  5127. nextDay: '[कल] LT',
  5128. nextWeek: 'dddd, LT',
  5129. lastDay: '[कल] LT',
  5130. lastWeek: '[पिछले] dddd, LT',
  5131. sameElse: 'L',
  5132. },
  5133. relativeTime: {
  5134. future: '%s में',
  5135. past: '%s पहले',
  5136. s: 'कुछ ही क्षण',
  5137. ss: '%d सेकंड',
  5138. m: 'एक मिनट',
  5139. mm: '%d मिनट',
  5140. h: 'एक घंटा',
  5141. hh: '%d घंटे',
  5142. d: 'एक दिन',
  5143. dd: '%d दिन',
  5144. M: 'एक महीने',
  5145. MM: '%d महीने',
  5146. y: 'एक वर्ष',
  5147. yy: '%d वर्ष',
  5148. },
  5149. preparse: function (string) {
  5150. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  5151. return numberMap$7[match];
  5152. });
  5153. },
  5154. postformat: function (string) {
  5155. return string.replace(/\d/g, function (match) {
  5156. return symbolMap$8[match];
  5157. });
  5158. },
  5159. // Hindi notation for meridiems are quite fuzzy in practice. While there exists
  5160. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Hindi.
  5161. meridiemParse: /रात|सुबह|दोपहर|शाम/,
  5162. meridiemHour: function (hour, meridiem) {
  5163. if (hour === 12) {
  5164. hour = 0;
  5165. }
  5166. if (meridiem === 'रात') {
  5167. return hour < 4 ? hour : hour + 12;
  5168. } else if (meridiem === 'सुबह') {
  5169. return hour;
  5170. } else if (meridiem === 'दोपहर') {
  5171. return hour >= 10 ? hour : hour + 12;
  5172. } else if (meridiem === 'शाम') {
  5173. return hour + 12;
  5174. }
  5175. },
  5176. meridiem: function (hour, minute, isLower) {
  5177. if (hour < 4) {
  5178. return 'रात';
  5179. } else if (hour < 10) {
  5180. return 'सुबह';
  5181. } else if (hour < 17) {
  5182. return 'दोपहर';
  5183. } else if (hour < 20) {
  5184. return 'शाम';
  5185. } else {
  5186. return 'रात';
  5187. }
  5188. },
  5189. week: {
  5190. dow: 0, // Sunday is the first day of the week.
  5191. doy: 6, // The week that contains Jan 6th is the first week of the year.
  5192. },
  5193. });
  5194. //! moment.js locale configuration
  5195. function translate$3(number, withoutSuffix, key) {
  5196. var result = number + ' ';
  5197. switch (key) {
  5198. case 'ss':
  5199. if (number === 1) {
  5200. result += 'sekunda';
  5201. } else if (number === 2 || number === 3 || number === 4) {
  5202. result += 'sekunde';
  5203. } else {
  5204. result += 'sekundi';
  5205. }
  5206. return result;
  5207. case 'm':
  5208. return withoutSuffix ? 'jedna minuta' : 'jedne minute';
  5209. case 'mm':
  5210. if (number === 1) {
  5211. result += 'minuta';
  5212. } else if (number === 2 || number === 3 || number === 4) {
  5213. result += 'minute';
  5214. } else {
  5215. result += 'minuta';
  5216. }
  5217. return result;
  5218. case 'h':
  5219. return withoutSuffix ? 'jedan sat' : 'jednog sata';
  5220. case 'hh':
  5221. if (number === 1) {
  5222. result += 'sat';
  5223. } else if (number === 2 || number === 3 || number === 4) {
  5224. result += 'sata';
  5225. } else {
  5226. result += 'sati';
  5227. }
  5228. return result;
  5229. case 'dd':
  5230. if (number === 1) {
  5231. result += 'dan';
  5232. } else {
  5233. result += 'dana';
  5234. }
  5235. return result;
  5236. case 'MM':
  5237. if (number === 1) {
  5238. result += 'mjesec';
  5239. } else if (number === 2 || number === 3 || number === 4) {
  5240. result += 'mjeseca';
  5241. } else {
  5242. result += 'mjeseci';
  5243. }
  5244. return result;
  5245. case 'yy':
  5246. if (number === 1) {
  5247. result += 'godina';
  5248. } else if (number === 2 || number === 3 || number === 4) {
  5249. result += 'godine';
  5250. } else {
  5251. result += 'godina';
  5252. }
  5253. return result;
  5254. }
  5255. }
  5256. moment.defineLocale('hr', {
  5257. months: {
  5258. format: 'siječnja_veljače_ožujka_travnja_svibnja_lipnja_srpnja_kolovoza_rujna_listopada_studenoga_prosinca'.split(
  5259. '_'
  5260. ),
  5261. standalone: 'siječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac'.split(
  5262. '_'
  5263. ),
  5264. },
  5265. monthsShort: 'sij._velj._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.'.split(
  5266. '_'
  5267. ),
  5268. monthsParseExact: true,
  5269. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
  5270. '_'
  5271. ),
  5272. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  5273. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  5274. weekdaysParseExact: true,
  5275. longDateFormat: {
  5276. LT: 'H:mm',
  5277. LTS: 'H:mm:ss',
  5278. L: 'DD.MM.YYYY',
  5279. LL: 'Do MMMM YYYY',
  5280. LLL: 'Do MMMM YYYY H:mm',
  5281. LLLL: 'dddd, Do MMMM YYYY H:mm',
  5282. },
  5283. calendar: {
  5284. sameDay: '[danas u] LT',
  5285. nextDay: '[sutra u] LT',
  5286. nextWeek: function () {
  5287. switch (this.day()) {
  5288. case 0:
  5289. return '[u] [nedjelju] [u] LT';
  5290. case 3:
  5291. return '[u] [srijedu] [u] LT';
  5292. case 6:
  5293. return '[u] [subotu] [u] LT';
  5294. case 1:
  5295. case 2:
  5296. case 4:
  5297. case 5:
  5298. return '[u] dddd [u] LT';
  5299. }
  5300. },
  5301. lastDay: '[jučer u] LT',
  5302. lastWeek: function () {
  5303. switch (this.day()) {
  5304. case 0:
  5305. return '[prošlu] [nedjelju] [u] LT';
  5306. case 3:
  5307. return '[prošlu] [srijedu] [u] LT';
  5308. case 6:
  5309. return '[prošle] [subote] [u] LT';
  5310. case 1:
  5311. case 2:
  5312. case 4:
  5313. case 5:
  5314. return '[prošli] dddd [u] LT';
  5315. }
  5316. },
  5317. sameElse: 'L',
  5318. },
  5319. relativeTime: {
  5320. future: 'za %s',
  5321. past: 'prije %s',
  5322. s: 'par sekundi',
  5323. ss: translate$3,
  5324. m: translate$3,
  5325. mm: translate$3,
  5326. h: translate$3,
  5327. hh: translate$3,
  5328. d: 'dan',
  5329. dd: translate$3,
  5330. M: 'mjesec',
  5331. MM: translate$3,
  5332. y: 'godinu',
  5333. yy: translate$3,
  5334. },
  5335. dayOfMonthOrdinalParse: /\d{1,2}\./,
  5336. ordinal: '%d.',
  5337. week: {
  5338. dow: 1, // Monday is the first day of the week.
  5339. doy: 7, // The week that contains Jan 7th is the first week of the year.
  5340. },
  5341. });
  5342. //! moment.js locale configuration
  5343. var weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(
  5344. ' '
  5345. );
  5346. function translate$4(number, withoutSuffix, key, isFuture) {
  5347. var num = number;
  5348. switch (key) {
  5349. case 's':
  5350. return isFuture || withoutSuffix
  5351. ? 'néhány másodperc'
  5352. : 'néhány másodperce';
  5353. case 'ss':
  5354. return num + (isFuture || withoutSuffix)
  5355. ? ' másodperc'
  5356. : ' másodperce';
  5357. case 'm':
  5358. return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');
  5359. case 'mm':
  5360. return num + (isFuture || withoutSuffix ? ' perc' : ' perce');
  5361. case 'h':
  5362. return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');
  5363. case 'hh':
  5364. return num + (isFuture || withoutSuffix ? ' óra' : ' órája');
  5365. case 'd':
  5366. return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');
  5367. case 'dd':
  5368. return num + (isFuture || withoutSuffix ? ' nap' : ' napja');
  5369. case 'M':
  5370. return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
  5371. case 'MM':
  5372. return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
  5373. case 'y':
  5374. return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');
  5375. case 'yy':
  5376. return num + (isFuture || withoutSuffix ? ' év' : ' éve');
  5377. }
  5378. return '';
  5379. }
  5380. function week(isFuture) {
  5381. return (
  5382. (isFuture ? '' : '[múlt] ') +
  5383. '[' +
  5384. weekEndings[this.day()] +
  5385. '] LT[-kor]'
  5386. );
  5387. }
  5388. moment.defineLocale('hu', {
  5389. months: 'január_február_március_április_május_június_július_augusztus_szeptember_október_november_december'.split(
  5390. '_'
  5391. ),
  5392. monthsShort: 'jan._feb._márc._ápr._máj._jún._júl._aug._szept._okt._nov._dec.'.split(
  5393. '_'
  5394. ),
  5395. monthsParseExact: true,
  5396. weekdays: 'vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat'.split('_'),
  5397. weekdaysShort: 'vas_hét_kedd_sze_csüt_pén_szo'.split('_'),
  5398. weekdaysMin: 'v_h_k_sze_cs_p_szo'.split('_'),
  5399. longDateFormat: {
  5400. LT: 'H:mm',
  5401. LTS: 'H:mm:ss',
  5402. L: 'YYYY.MM.DD.',
  5403. LL: 'YYYY. MMMM D.',
  5404. LLL: 'YYYY. MMMM D. H:mm',
  5405. LLLL: 'YYYY. MMMM D., dddd H:mm',
  5406. },
  5407. meridiemParse: /de|du/i,
  5408. isPM: function (input) {
  5409. return input.charAt(1).toLowerCase() === 'u';
  5410. },
  5411. meridiem: function (hours, minutes, isLower) {
  5412. if (hours < 12) {
  5413. return isLower === true ? 'de' : 'DE';
  5414. } else {
  5415. return isLower === true ? 'du' : 'DU';
  5416. }
  5417. },
  5418. calendar: {
  5419. sameDay: '[ma] LT[-kor]',
  5420. nextDay: '[holnap] LT[-kor]',
  5421. nextWeek: function () {
  5422. return week.call(this, true);
  5423. },
  5424. lastDay: '[tegnap] LT[-kor]',
  5425. lastWeek: function () {
  5426. return week.call(this, false);
  5427. },
  5428. sameElse: 'L',
  5429. },
  5430. relativeTime: {
  5431. future: '%s múlva',
  5432. past: '%s',
  5433. s: translate$4,
  5434. ss: translate$4,
  5435. m: translate$4,
  5436. mm: translate$4,
  5437. h: translate$4,
  5438. hh: translate$4,
  5439. d: translate$4,
  5440. dd: translate$4,
  5441. M: translate$4,
  5442. MM: translate$4,
  5443. y: translate$4,
  5444. yy: translate$4,
  5445. },
  5446. dayOfMonthOrdinalParse: /\d{1,2}\./,
  5447. ordinal: '%d.',
  5448. week: {
  5449. dow: 1, // Monday is the first day of the week.
  5450. doy: 4, // The week that contains Jan 4th is the first week of the year.
  5451. },
  5452. });
  5453. //! moment.js locale configuration
  5454. moment.defineLocale('hy-am', {
  5455. months: {
  5456. format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split(
  5457. '_'
  5458. ),
  5459. standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split(
  5460. '_'
  5461. ),
  5462. },
  5463. monthsShort: 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),
  5464. weekdays: 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split(
  5465. '_'
  5466. ),
  5467. weekdaysShort: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
  5468. weekdaysMin: 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
  5469. longDateFormat: {
  5470. LT: 'HH:mm',
  5471. LTS: 'HH:mm:ss',
  5472. L: 'DD.MM.YYYY',
  5473. LL: 'D MMMM YYYY թ.',
  5474. LLL: 'D MMMM YYYY թ., HH:mm',
  5475. LLLL: 'dddd, D MMMM YYYY թ., HH:mm',
  5476. },
  5477. calendar: {
  5478. sameDay: '[այսօր] LT',
  5479. nextDay: '[վաղը] LT',
  5480. lastDay: '[երեկ] LT',
  5481. nextWeek: function () {
  5482. return 'dddd [օրը ժամը] LT';
  5483. },
  5484. lastWeek: function () {
  5485. return '[անցած] dddd [օրը ժամը] LT';
  5486. },
  5487. sameElse: 'L',
  5488. },
  5489. relativeTime: {
  5490. future: '%s հետո',
  5491. past: '%s առաջ',
  5492. s: 'մի քանի վայրկյան',
  5493. ss: '%d վայրկյան',
  5494. m: 'րոպե',
  5495. mm: '%d րոպե',
  5496. h: 'ժամ',
  5497. hh: '%d ժամ',
  5498. d: 'օր',
  5499. dd: '%d օր',
  5500. M: 'ամիս',
  5501. MM: '%d ամիս',
  5502. y: 'տարի',
  5503. yy: '%d տարի',
  5504. },
  5505. meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
  5506. isPM: function (input) {
  5507. return /^(ցերեկվա|երեկոյան)$/.test(input);
  5508. },
  5509. meridiem: function (hour) {
  5510. if (hour < 4) {
  5511. return 'գիշերվա';
  5512. } else if (hour < 12) {
  5513. return 'առավոտվա';
  5514. } else if (hour < 17) {
  5515. return 'ցերեկվա';
  5516. } else {
  5517. return 'երեկոյան';
  5518. }
  5519. },
  5520. dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
  5521. ordinal: function (number, period) {
  5522. switch (period) {
  5523. case 'DDD':
  5524. case 'w':
  5525. case 'W':
  5526. case 'DDDo':
  5527. if (number === 1) {
  5528. return number + '-ին';
  5529. }
  5530. return number + '-րդ';
  5531. default:
  5532. return number;
  5533. }
  5534. },
  5535. week: {
  5536. dow: 1, // Monday is the first day of the week.
  5537. doy: 7, // The week that contains Jan 7th is the first week of the year.
  5538. },
  5539. });
  5540. //! moment.js locale configuration
  5541. moment.defineLocale('id', {
  5542. months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split(
  5543. '_'
  5544. ),
  5545. monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),
  5546. weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
  5547. weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
  5548. weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
  5549. longDateFormat: {
  5550. LT: 'HH.mm',
  5551. LTS: 'HH.mm.ss',
  5552. L: 'DD/MM/YYYY',
  5553. LL: 'D MMMM YYYY',
  5554. LLL: 'D MMMM YYYY [pukul] HH.mm',
  5555. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
  5556. },
  5557. meridiemParse: /pagi|siang|sore|malam/,
  5558. meridiemHour: function (hour, meridiem) {
  5559. if (hour === 12) {
  5560. hour = 0;
  5561. }
  5562. if (meridiem === 'pagi') {
  5563. return hour;
  5564. } else if (meridiem === 'siang') {
  5565. return hour >= 11 ? hour : hour + 12;
  5566. } else if (meridiem === 'sore' || meridiem === 'malam') {
  5567. return hour + 12;
  5568. }
  5569. },
  5570. meridiem: function (hours, minutes, isLower) {
  5571. if (hours < 11) {
  5572. return 'pagi';
  5573. } else if (hours < 15) {
  5574. return 'siang';
  5575. } else if (hours < 19) {
  5576. return 'sore';
  5577. } else {
  5578. return 'malam';
  5579. }
  5580. },
  5581. calendar: {
  5582. sameDay: '[Hari ini pukul] LT',
  5583. nextDay: '[Besok pukul] LT',
  5584. nextWeek: 'dddd [pukul] LT',
  5585. lastDay: '[Kemarin pukul] LT',
  5586. lastWeek: 'dddd [lalu pukul] LT',
  5587. sameElse: 'L',
  5588. },
  5589. relativeTime: {
  5590. future: 'dalam %s',
  5591. past: '%s yang lalu',
  5592. s: 'beberapa detik',
  5593. ss: '%d detik',
  5594. m: 'semenit',
  5595. mm: '%d menit',
  5596. h: 'sejam',
  5597. hh: '%d jam',
  5598. d: 'sehari',
  5599. dd: '%d hari',
  5600. M: 'sebulan',
  5601. MM: '%d bulan',
  5602. y: 'setahun',
  5603. yy: '%d tahun',
  5604. },
  5605. week: {
  5606. dow: 0, // Sunday is the first day of the week.
  5607. doy: 6, // The week that contains Jan 6th is the first week of the year.
  5608. },
  5609. });
  5610. //! moment.js locale configuration
  5611. function plural$2(n) {
  5612. if (n % 100 === 11) {
  5613. return true;
  5614. } else if (n % 10 === 1) {
  5615. return false;
  5616. }
  5617. return true;
  5618. }
  5619. function translate$5(number, withoutSuffix, key, isFuture) {
  5620. var result = number + ' ';
  5621. switch (key) {
  5622. case 's':
  5623. return withoutSuffix || isFuture
  5624. ? 'nokkrar sekúndur'
  5625. : 'nokkrum sekúndum';
  5626. case 'ss':
  5627. if (plural$2(number)) {
  5628. return (
  5629. result +
  5630. (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum')
  5631. );
  5632. }
  5633. return result + 'sekúnda';
  5634. case 'm':
  5635. return withoutSuffix ? 'mínúta' : 'mínútu';
  5636. case 'mm':
  5637. if (plural$2(number)) {
  5638. return (
  5639. result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum')
  5640. );
  5641. } else if (withoutSuffix) {
  5642. return result + 'mínúta';
  5643. }
  5644. return result + 'mínútu';
  5645. case 'hh':
  5646. if (plural$2(number)) {
  5647. return (
  5648. result +
  5649. (withoutSuffix || isFuture
  5650. ? 'klukkustundir'
  5651. : 'klukkustundum')
  5652. );
  5653. }
  5654. return result + 'klukkustund';
  5655. case 'd':
  5656. if (withoutSuffix) {
  5657. return 'dagur';
  5658. }
  5659. return isFuture ? 'dag' : 'degi';
  5660. case 'dd':
  5661. if (plural$2(number)) {
  5662. if (withoutSuffix) {
  5663. return result + 'dagar';
  5664. }
  5665. return result + (isFuture ? 'daga' : 'dögum');
  5666. } else if (withoutSuffix) {
  5667. return result + 'dagur';
  5668. }
  5669. return result + (isFuture ? 'dag' : 'degi');
  5670. case 'M':
  5671. if (withoutSuffix) {
  5672. return 'mánuður';
  5673. }
  5674. return isFuture ? 'mánuð' : 'mánuði';
  5675. case 'MM':
  5676. if (plural$2(number)) {
  5677. if (withoutSuffix) {
  5678. return result + 'mánuðir';
  5679. }
  5680. return result + (isFuture ? 'mánuði' : 'mánuðum');
  5681. } else if (withoutSuffix) {
  5682. return result + 'mánuður';
  5683. }
  5684. return result + (isFuture ? 'mánuð' : 'mánuði');
  5685. case 'y':
  5686. return withoutSuffix || isFuture ? 'ár' : 'ári';
  5687. case 'yy':
  5688. if (plural$2(number)) {
  5689. return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
  5690. }
  5691. return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
  5692. }
  5693. }
  5694. moment.defineLocale('is', {
  5695. months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split(
  5696. '_'
  5697. ),
  5698. monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),
  5699. weekdays: 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split(
  5700. '_'
  5701. ),
  5702. weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'),
  5703. weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),
  5704. longDateFormat: {
  5705. LT: 'H:mm',
  5706. LTS: 'H:mm:ss',
  5707. L: 'DD.MM.YYYY',
  5708. LL: 'D. MMMM YYYY',
  5709. LLL: 'D. MMMM YYYY [kl.] H:mm',
  5710. LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm',
  5711. },
  5712. calendar: {
  5713. sameDay: '[í dag kl.] LT',
  5714. nextDay: '[á morgun kl.] LT',
  5715. nextWeek: 'dddd [kl.] LT',
  5716. lastDay: '[í gær kl.] LT',
  5717. lastWeek: '[síðasta] dddd [kl.] LT',
  5718. sameElse: 'L',
  5719. },
  5720. relativeTime: {
  5721. future: 'eftir %s',
  5722. past: 'fyrir %s síðan',
  5723. s: translate$5,
  5724. ss: translate$5,
  5725. m: translate$5,
  5726. mm: translate$5,
  5727. h: 'klukkustund',
  5728. hh: translate$5,
  5729. d: translate$5,
  5730. dd: translate$5,
  5731. M: translate$5,
  5732. MM: translate$5,
  5733. y: translate$5,
  5734. yy: translate$5,
  5735. },
  5736. dayOfMonthOrdinalParse: /\d{1,2}\./,
  5737. ordinal: '%d.',
  5738. week: {
  5739. dow: 1, // Monday is the first day of the week.
  5740. doy: 4, // The week that contains Jan 4th is the first week of the year.
  5741. },
  5742. });
  5743. //! moment.js locale configuration
  5744. moment.defineLocale('it-ch', {
  5745. months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
  5746. '_'
  5747. ),
  5748. monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
  5749. weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
  5750. '_'
  5751. ),
  5752. weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
  5753. weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
  5754. longDateFormat: {
  5755. LT: 'HH:mm',
  5756. LTS: 'HH:mm:ss',
  5757. L: 'DD.MM.YYYY',
  5758. LL: 'D MMMM YYYY',
  5759. LLL: 'D MMMM YYYY HH:mm',
  5760. LLLL: 'dddd D MMMM YYYY HH:mm',
  5761. },
  5762. calendar: {
  5763. sameDay: '[Oggi alle] LT',
  5764. nextDay: '[Domani alle] LT',
  5765. nextWeek: 'dddd [alle] LT',
  5766. lastDay: '[Ieri alle] LT',
  5767. lastWeek: function () {
  5768. switch (this.day()) {
  5769. case 0:
  5770. return '[la scorsa] dddd [alle] LT';
  5771. default:
  5772. return '[lo scorso] dddd [alle] LT';
  5773. }
  5774. },
  5775. sameElse: 'L',
  5776. },
  5777. relativeTime: {
  5778. future: function (s) {
  5779. return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;
  5780. },
  5781. past: '%s fa',
  5782. s: 'alcuni secondi',
  5783. ss: '%d secondi',
  5784. m: 'un minuto',
  5785. mm: '%d minuti',
  5786. h: "un'ora",
  5787. hh: '%d ore',
  5788. d: 'un giorno',
  5789. dd: '%d giorni',
  5790. M: 'un mese',
  5791. MM: '%d mesi',
  5792. y: 'un anno',
  5793. yy: '%d anni',
  5794. },
  5795. dayOfMonthOrdinalParse: /\d{1,2}º/,
  5796. ordinal: '%dº',
  5797. week: {
  5798. dow: 1, // Monday is the first day of the week.
  5799. doy: 4, // The week that contains Jan 4th is the first week of the year.
  5800. },
  5801. });
  5802. //! moment.js locale configuration
  5803. moment.defineLocale('it', {
  5804. months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
  5805. '_'
  5806. ),
  5807. monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
  5808. weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
  5809. '_'
  5810. ),
  5811. weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
  5812. weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
  5813. longDateFormat: {
  5814. LT: 'HH:mm',
  5815. LTS: 'HH:mm:ss',
  5816. L: 'DD/MM/YYYY',
  5817. LL: 'D MMMM YYYY',
  5818. LLL: 'D MMMM YYYY HH:mm',
  5819. LLLL: 'dddd D MMMM YYYY HH:mm',
  5820. },
  5821. calendar: {
  5822. sameDay: function () {
  5823. return (
  5824. '[Oggi a' +
  5825. (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
  5826. ']LT'
  5827. );
  5828. },
  5829. nextDay: function () {
  5830. return (
  5831. '[Domani a' +
  5832. (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
  5833. ']LT'
  5834. );
  5835. },
  5836. nextWeek: function () {
  5837. return (
  5838. 'dddd [a' +
  5839. (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
  5840. ']LT'
  5841. );
  5842. },
  5843. lastDay: function () {
  5844. return (
  5845. '[Ieri a' +
  5846. (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
  5847. ']LT'
  5848. );
  5849. },
  5850. lastWeek: function () {
  5851. switch (this.day()) {
  5852. case 0:
  5853. return (
  5854. '[La scorsa] dddd [a' +
  5855. (this.hours() > 1
  5856. ? 'lle '
  5857. : this.hours() === 0
  5858. ? ' '
  5859. : "ll'") +
  5860. ']LT'
  5861. );
  5862. default:
  5863. return (
  5864. '[Lo scorso] dddd [a' +
  5865. (this.hours() > 1
  5866. ? 'lle '
  5867. : this.hours() === 0
  5868. ? ' '
  5869. : "ll'") +
  5870. ']LT'
  5871. );
  5872. }
  5873. },
  5874. sameElse: 'L',
  5875. },
  5876. relativeTime: {
  5877. future: 'tra %s',
  5878. past: '%s fa',
  5879. s: 'alcuni secondi',
  5880. ss: '%d secondi',
  5881. m: 'un minuto',
  5882. mm: '%d minuti',
  5883. h: "un'ora",
  5884. hh: '%d ore',
  5885. d: 'un giorno',
  5886. dd: '%d giorni',
  5887. w: 'una settimana',
  5888. ww: '%d settimane',
  5889. M: 'un mese',
  5890. MM: '%d mesi',
  5891. y: 'un anno',
  5892. yy: '%d anni',
  5893. },
  5894. dayOfMonthOrdinalParse: /\d{1,2}º/,
  5895. ordinal: '%dº',
  5896. week: {
  5897. dow: 1, // Monday is the first day of the week.
  5898. doy: 4, // The week that contains Jan 4th is the first week of the year.
  5899. },
  5900. });
  5901. //! moment.js locale configuration
  5902. moment.defineLocale('ja', {
  5903. eras: [
  5904. {
  5905. since: '2019-05-01',
  5906. offset: 1,
  5907. name: '令和',
  5908. narrow: '㋿',
  5909. abbr: 'R',
  5910. },
  5911. {
  5912. since: '1989-01-08',
  5913. until: '2019-04-30',
  5914. offset: 1,
  5915. name: '平成',
  5916. narrow: '㍻',
  5917. abbr: 'H',
  5918. },
  5919. {
  5920. since: '1926-12-25',
  5921. until: '1989-01-07',
  5922. offset: 1,
  5923. name: '昭和',
  5924. narrow: '㍼',
  5925. abbr: 'S',
  5926. },
  5927. {
  5928. since: '1912-07-30',
  5929. until: '1926-12-24',
  5930. offset: 1,
  5931. name: '大正',
  5932. narrow: '㍽',
  5933. abbr: 'T',
  5934. },
  5935. {
  5936. since: '1873-01-01',
  5937. until: '1912-07-29',
  5938. offset: 6,
  5939. name: '明治',
  5940. narrow: '㍾',
  5941. abbr: 'M',
  5942. },
  5943. {
  5944. since: '0001-01-01',
  5945. until: '1873-12-31',
  5946. offset: 1,
  5947. name: '西暦',
  5948. narrow: 'AD',
  5949. abbr: 'AD',
  5950. },
  5951. {
  5952. since: '0000-12-31',
  5953. until: -Infinity,
  5954. offset: 1,
  5955. name: '紀元前',
  5956. narrow: 'BC',
  5957. abbr: 'BC',
  5958. },
  5959. ],
  5960. eraYearOrdinalRegex: /(元|\d+)年/,
  5961. eraYearOrdinalParse: function (input, match) {
  5962. return match[1] === '元' ? 1 : parseInt(match[1] || input, 10);
  5963. },
  5964. months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
  5965. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  5966. '_'
  5967. ),
  5968. weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
  5969. weekdaysShort: '日_月_火_水_木_金_土'.split('_'),
  5970. weekdaysMin: '日_月_火_水_木_金_土'.split('_'),
  5971. longDateFormat: {
  5972. LT: 'HH:mm',
  5973. LTS: 'HH:mm:ss',
  5974. L: 'YYYY/MM/DD',
  5975. LL: 'YYYY年M月D日',
  5976. LLL: 'YYYY年M月D日 HH:mm',
  5977. LLLL: 'YYYY年M月D日 dddd HH:mm',
  5978. l: 'YYYY/MM/DD',
  5979. ll: 'YYYY年M月D日',
  5980. lll: 'YYYY年M月D日 HH:mm',
  5981. llll: 'YYYY年M月D日(ddd) HH:mm',
  5982. },
  5983. meridiemParse: /午前|午後/i,
  5984. isPM: function (input) {
  5985. return input === '午後';
  5986. },
  5987. meridiem: function (hour, minute, isLower) {
  5988. if (hour < 12) {
  5989. return '午前';
  5990. } else {
  5991. return '午後';
  5992. }
  5993. },
  5994. calendar: {
  5995. sameDay: '[今日] LT',
  5996. nextDay: '[明日] LT',
  5997. nextWeek: function (now) {
  5998. if (now.week() !== this.week()) {
  5999. return '[来週]dddd LT';
  6000. } else {
  6001. return 'dddd LT';
  6002. }
  6003. },
  6004. lastDay: '[昨日] LT',
  6005. lastWeek: function (now) {
  6006. if (this.week() !== now.week()) {
  6007. return '[先週]dddd LT';
  6008. } else {
  6009. return 'dddd LT';
  6010. }
  6011. },
  6012. sameElse: 'L',
  6013. },
  6014. dayOfMonthOrdinalParse: /\d{1,2}日/,
  6015. ordinal: function (number, period) {
  6016. switch (period) {
  6017. case 'y':
  6018. return number === 1 ? '元年' : number + '年';
  6019. case 'd':
  6020. case 'D':
  6021. case 'DDD':
  6022. return number + '日';
  6023. default:
  6024. return number;
  6025. }
  6026. },
  6027. relativeTime: {
  6028. future: '%s後',
  6029. past: '%s前',
  6030. s: '数秒',
  6031. ss: '%d秒',
  6032. m: '1分',
  6033. mm: '%d分',
  6034. h: '1時間',
  6035. hh: '%d時間',
  6036. d: '1日',
  6037. dd: '%d日',
  6038. M: '1ヶ月',
  6039. MM: '%dヶ月',
  6040. y: '1年',
  6041. yy: '%d年',
  6042. },
  6043. });
  6044. //! moment.js locale configuration
  6045. moment.defineLocale('jv', {
  6046. months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split(
  6047. '_'
  6048. ),
  6049. monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),
  6050. weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),
  6051. weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),
  6052. weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),
  6053. longDateFormat: {
  6054. LT: 'HH.mm',
  6055. LTS: 'HH.mm.ss',
  6056. L: 'DD/MM/YYYY',
  6057. LL: 'D MMMM YYYY',
  6058. LLL: 'D MMMM YYYY [pukul] HH.mm',
  6059. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
  6060. },
  6061. meridiemParse: /enjing|siyang|sonten|ndalu/,
  6062. meridiemHour: function (hour, meridiem) {
  6063. if (hour === 12) {
  6064. hour = 0;
  6065. }
  6066. if (meridiem === 'enjing') {
  6067. return hour;
  6068. } else if (meridiem === 'siyang') {
  6069. return hour >= 11 ? hour : hour + 12;
  6070. } else if (meridiem === 'sonten' || meridiem === 'ndalu') {
  6071. return hour + 12;
  6072. }
  6073. },
  6074. meridiem: function (hours, minutes, isLower) {
  6075. if (hours < 11) {
  6076. return 'enjing';
  6077. } else if (hours < 15) {
  6078. return 'siyang';
  6079. } else if (hours < 19) {
  6080. return 'sonten';
  6081. } else {
  6082. return 'ndalu';
  6083. }
  6084. },
  6085. calendar: {
  6086. sameDay: '[Dinten puniko pukul] LT',
  6087. nextDay: '[Mbenjang pukul] LT',
  6088. nextWeek: 'dddd [pukul] LT',
  6089. lastDay: '[Kala wingi pukul] LT',
  6090. lastWeek: 'dddd [kepengker pukul] LT',
  6091. sameElse: 'L',
  6092. },
  6093. relativeTime: {
  6094. future: 'wonten ing %s',
  6095. past: '%s ingkang kepengker',
  6096. s: 'sawetawis detik',
  6097. ss: '%d detik',
  6098. m: 'setunggal menit',
  6099. mm: '%d menit',
  6100. h: 'setunggal jam',
  6101. hh: '%d jam',
  6102. d: 'sedinten',
  6103. dd: '%d dinten',
  6104. M: 'sewulan',
  6105. MM: '%d wulan',
  6106. y: 'setaun',
  6107. yy: '%d taun',
  6108. },
  6109. week: {
  6110. dow: 1, // Monday is the first day of the week.
  6111. doy: 7, // The week that contains Jan 7th is the first week of the year.
  6112. },
  6113. });
  6114. //! moment.js locale configuration
  6115. moment.defineLocale('ka', {
  6116. months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split(
  6117. '_'
  6118. ),
  6119. monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
  6120. weekdays: {
  6121. standalone: 'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split(
  6122. '_'
  6123. ),
  6124. format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split(
  6125. '_'
  6126. ),
  6127. isFormat: /(წინა|შემდეგ)/,
  6128. },
  6129. weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
  6130. weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
  6131. longDateFormat: {
  6132. LT: 'HH:mm',
  6133. LTS: 'HH:mm:ss',
  6134. L: 'DD/MM/YYYY',
  6135. LL: 'D MMMM YYYY',
  6136. LLL: 'D MMMM YYYY HH:mm',
  6137. LLLL: 'dddd, D MMMM YYYY HH:mm',
  6138. },
  6139. calendar: {
  6140. sameDay: '[დღეს] LT[-ზე]',
  6141. nextDay: '[ხვალ] LT[-ზე]',
  6142. lastDay: '[გუშინ] LT[-ზე]',
  6143. nextWeek: '[შემდეგ] dddd LT[-ზე]',
  6144. lastWeek: '[წინა] dddd LT-ზე',
  6145. sameElse: 'L',
  6146. },
  6147. relativeTime: {
  6148. future: function (s) {
  6149. return s.replace(/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/, function (
  6150. $0,
  6151. $1,
  6152. $2
  6153. ) {
  6154. return $2 === 'ი' ? $1 + 'ში' : $1 + $2 + 'ში';
  6155. });
  6156. },
  6157. past: function (s) {
  6158. if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) {
  6159. return s.replace(/(ი|ე)$/, 'ის წინ');
  6160. }
  6161. if (/წელი/.test(s)) {
  6162. return s.replace(/წელი$/, 'წლის წინ');
  6163. }
  6164. return s;
  6165. },
  6166. s: 'რამდენიმე წამი',
  6167. ss: '%d წამი',
  6168. m: 'წუთი',
  6169. mm: '%d წუთი',
  6170. h: 'საათი',
  6171. hh: '%d საათი',
  6172. d: 'დღე',
  6173. dd: '%d დღე',
  6174. M: 'თვე',
  6175. MM: '%d თვე',
  6176. y: 'წელი',
  6177. yy: '%d წელი',
  6178. },
  6179. dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
  6180. ordinal: function (number) {
  6181. if (number === 0) {
  6182. return number;
  6183. }
  6184. if (number === 1) {
  6185. return number + '-ლი';
  6186. }
  6187. if (
  6188. number < 20 ||
  6189. (number <= 100 && number % 20 === 0) ||
  6190. number % 100 === 0
  6191. ) {
  6192. return 'მე-' + number;
  6193. }
  6194. return number + '-ე';
  6195. },
  6196. week: {
  6197. dow: 1,
  6198. doy: 7,
  6199. },
  6200. });
  6201. //! moment.js locale configuration
  6202. var suffixes$1 = {
  6203. 0: '-ші',
  6204. 1: '-ші',
  6205. 2: '-ші',
  6206. 3: '-ші',
  6207. 4: '-ші',
  6208. 5: '-ші',
  6209. 6: '-шы',
  6210. 7: '-ші',
  6211. 8: '-ші',
  6212. 9: '-шы',
  6213. 10: '-шы',
  6214. 20: '-шы',
  6215. 30: '-шы',
  6216. 40: '-шы',
  6217. 50: '-ші',
  6218. 60: '-шы',
  6219. 70: '-ші',
  6220. 80: '-ші',
  6221. 90: '-шы',
  6222. 100: '-ші',
  6223. };
  6224. moment.defineLocale('kk', {
  6225. months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split(
  6226. '_'
  6227. ),
  6228. monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
  6229. weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split(
  6230. '_'
  6231. ),
  6232. weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
  6233. weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
  6234. longDateFormat: {
  6235. LT: 'HH:mm',
  6236. LTS: 'HH:mm:ss',
  6237. L: 'DD.MM.YYYY',
  6238. LL: 'D MMMM YYYY',
  6239. LLL: 'D MMMM YYYY HH:mm',
  6240. LLLL: 'dddd, D MMMM YYYY HH:mm',
  6241. },
  6242. calendar: {
  6243. sameDay: '[Бүгін сағат] LT',
  6244. nextDay: '[Ертең сағат] LT',
  6245. nextWeek: 'dddd [сағат] LT',
  6246. lastDay: '[Кеше сағат] LT',
  6247. lastWeek: '[Өткен аптаның] dddd [сағат] LT',
  6248. sameElse: 'L',
  6249. },
  6250. relativeTime: {
  6251. future: '%s ішінде',
  6252. past: '%s бұрын',
  6253. s: 'бірнеше секунд',
  6254. ss: '%d секунд',
  6255. m: 'бір минут',
  6256. mm: '%d минут',
  6257. h: 'бір сағат',
  6258. hh: '%d сағат',
  6259. d: 'бір күн',
  6260. dd: '%d күн',
  6261. M: 'бір ай',
  6262. MM: '%d ай',
  6263. y: 'бір жыл',
  6264. yy: '%d жыл',
  6265. },
  6266. dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/,
  6267. ordinal: function (number) {
  6268. var a = number % 10,
  6269. b = number >= 100 ? 100 : null;
  6270. return number + (suffixes$1[number] || suffixes$1[a] || suffixes$1[b]);
  6271. },
  6272. week: {
  6273. dow: 1, // Monday is the first day of the week.
  6274. doy: 7, // The week that contains Jan 7th is the first week of the year.
  6275. },
  6276. });
  6277. //! moment.js locale configuration
  6278. var symbolMap$9 = {
  6279. 1: '១',
  6280. 2: '២',
  6281. 3: '៣',
  6282. 4: '៤',
  6283. 5: '៥',
  6284. 6: '៦',
  6285. 7: '៧',
  6286. 8: '៨',
  6287. 9: '៩',
  6288. 0: '០',
  6289. },
  6290. numberMap$8 = {
  6291. '១': '1',
  6292. '២': '2',
  6293. '៣': '3',
  6294. '៤': '4',
  6295. '៥': '5',
  6296. '៦': '6',
  6297. '៧': '7',
  6298. '៨': '8',
  6299. '៩': '9',
  6300. '០': '0',
  6301. };
  6302. moment.defineLocale('km', {
  6303. months: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
  6304. '_'
  6305. ),
  6306. monthsShort: 'មករា_កុម្ភៈ_មីនា_មេសា_ឧសភា_មិថុនា_កក្កដា_សីហា_កញ្ញា_តុលា_វិច្ឆិកា_ធ្នូ'.split(
  6307. '_'
  6308. ),
  6309. weekdays: 'អាទិត្យ_ច័ន្ទ_អង្គារ_ពុធ_ព្រហស្បតិ៍_សុក្រ_សៅរ៍'.split('_'),
  6310. weekdaysShort: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
  6311. weekdaysMin: 'អា_ច_អ_ព_ព្រ_សុ_ស'.split('_'),
  6312. weekdaysParseExact: true,
  6313. longDateFormat: {
  6314. LT: 'HH:mm',
  6315. LTS: 'HH:mm:ss',
  6316. L: 'DD/MM/YYYY',
  6317. LL: 'D MMMM YYYY',
  6318. LLL: 'D MMMM YYYY HH:mm',
  6319. LLLL: 'dddd, D MMMM YYYY HH:mm',
  6320. },
  6321. meridiemParse: /ព្រឹក|ល្ងាច/,
  6322. isPM: function (input) {
  6323. return input === 'ល្ងាច';
  6324. },
  6325. meridiem: function (hour, minute, isLower) {
  6326. if (hour < 12) {
  6327. return 'ព្រឹក';
  6328. } else {
  6329. return 'ល្ងាច';
  6330. }
  6331. },
  6332. calendar: {
  6333. sameDay: '[ថ្ងៃនេះ ម៉ោង] LT',
  6334. nextDay: '[ស្អែក ម៉ោង] LT',
  6335. nextWeek: 'dddd [ម៉ោង] LT',
  6336. lastDay: '[ម្សិលមិញ ម៉ោង] LT',
  6337. lastWeek: 'dddd [សប្តាហ៍មុន] [ម៉ោង] LT',
  6338. sameElse: 'L',
  6339. },
  6340. relativeTime: {
  6341. future: '%sទៀត',
  6342. past: '%sមុន',
  6343. s: 'ប៉ុន្មានវិនាទី',
  6344. ss: '%d វិនាទី',
  6345. m: 'មួយនាទី',
  6346. mm: '%d នាទី',
  6347. h: 'មួយម៉ោង',
  6348. hh: '%d ម៉ោង',
  6349. d: 'មួយថ្ងៃ',
  6350. dd: '%d ថ្ងៃ',
  6351. M: 'មួយខែ',
  6352. MM: '%d ខែ',
  6353. y: 'មួយឆ្នាំ',
  6354. yy: '%d ឆ្នាំ',
  6355. },
  6356. dayOfMonthOrdinalParse: /ទី\d{1,2}/,
  6357. ordinal: 'ទី%d',
  6358. preparse: function (string) {
  6359. return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {
  6360. return numberMap$8[match];
  6361. });
  6362. },
  6363. postformat: function (string) {
  6364. return string.replace(/\d/g, function (match) {
  6365. return symbolMap$9[match];
  6366. });
  6367. },
  6368. week: {
  6369. dow: 1, // Monday is the first day of the week.
  6370. doy: 4, // The week that contains Jan 4th is the first week of the year.
  6371. },
  6372. });
  6373. //! moment.js locale configuration
  6374. var symbolMap$a = {
  6375. 1: '೧',
  6376. 2: '೨',
  6377. 3: '೩',
  6378. 4: '೪',
  6379. 5: '೫',
  6380. 6: '೬',
  6381. 7: '೭',
  6382. 8: '೮',
  6383. 9: '೯',
  6384. 0: '೦',
  6385. },
  6386. numberMap$9 = {
  6387. '೧': '1',
  6388. '೨': '2',
  6389. '೩': '3',
  6390. '೪': '4',
  6391. '೫': '5',
  6392. '೬': '6',
  6393. '೭': '7',
  6394. '೮': '8',
  6395. '೯': '9',
  6396. '೦': '0',
  6397. };
  6398. moment.defineLocale('kn', {
  6399. months: 'ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್'.split(
  6400. '_'
  6401. ),
  6402. monthsShort: 'ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ'.split(
  6403. '_'
  6404. ),
  6405. monthsParseExact: true,
  6406. weekdays: 'ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ'.split(
  6407. '_'
  6408. ),
  6409. weekdaysShort: 'ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ'.split('_'),
  6410. weekdaysMin: 'ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ'.split('_'),
  6411. longDateFormat: {
  6412. LT: 'A h:mm',
  6413. LTS: 'A h:mm:ss',
  6414. L: 'DD/MM/YYYY',
  6415. LL: 'D MMMM YYYY',
  6416. LLL: 'D MMMM YYYY, A h:mm',
  6417. LLLL: 'dddd, D MMMM YYYY, A h:mm',
  6418. },
  6419. calendar: {
  6420. sameDay: '[ಇಂದು] LT',
  6421. nextDay: '[ನಾಳೆ] LT',
  6422. nextWeek: 'dddd, LT',
  6423. lastDay: '[ನಿನ್ನೆ] LT',
  6424. lastWeek: '[ಕೊನೆಯ] dddd, LT',
  6425. sameElse: 'L',
  6426. },
  6427. relativeTime: {
  6428. future: '%s ನಂತರ',
  6429. past: '%s ಹಿಂದೆ',
  6430. s: 'ಕೆಲವು ಕ್ಷಣಗಳು',
  6431. ss: '%d ಸೆಕೆಂಡುಗಳು',
  6432. m: 'ಒಂದು ನಿಮಿಷ',
  6433. mm: '%d ನಿಮಿಷ',
  6434. h: 'ಒಂದು ಗಂಟೆ',
  6435. hh: '%d ಗಂಟೆ',
  6436. d: 'ಒಂದು ದಿನ',
  6437. dd: '%d ದಿನ',
  6438. M: 'ಒಂದು ತಿಂಗಳು',
  6439. MM: '%d ತಿಂಗಳು',
  6440. y: 'ಒಂದು ವರ್ಷ',
  6441. yy: '%d ವರ್ಷ',
  6442. },
  6443. preparse: function (string) {
  6444. return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) {
  6445. return numberMap$9[match];
  6446. });
  6447. },
  6448. postformat: function (string) {
  6449. return string.replace(/\d/g, function (match) {
  6450. return symbolMap$a[match];
  6451. });
  6452. },
  6453. meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,
  6454. meridiemHour: function (hour, meridiem) {
  6455. if (hour === 12) {
  6456. hour = 0;
  6457. }
  6458. if (meridiem === 'ರಾತ್ರಿ') {
  6459. return hour < 4 ? hour : hour + 12;
  6460. } else if (meridiem === 'ಬೆಳಿಗ್ಗೆ') {
  6461. return hour;
  6462. } else if (meridiem === 'ಮಧ್ಯಾಹ್ನ') {
  6463. return hour >= 10 ? hour : hour + 12;
  6464. } else if (meridiem === 'ಸಂಜೆ') {
  6465. return hour + 12;
  6466. }
  6467. },
  6468. meridiem: function (hour, minute, isLower) {
  6469. if (hour < 4) {
  6470. return 'ರಾತ್ರಿ';
  6471. } else if (hour < 10) {
  6472. return 'ಬೆಳಿಗ್ಗೆ';
  6473. } else if (hour < 17) {
  6474. return 'ಮಧ್ಯಾಹ್ನ';
  6475. } else if (hour < 20) {
  6476. return 'ಸಂಜೆ';
  6477. } else {
  6478. return 'ರಾತ್ರಿ';
  6479. }
  6480. },
  6481. dayOfMonthOrdinalParse: /\d{1,2}(ನೇ)/,
  6482. ordinal: function (number) {
  6483. return number + 'ನೇ';
  6484. },
  6485. week: {
  6486. dow: 0, // Sunday is the first day of the week.
  6487. doy: 6, // The week that contains Jan 6th is the first week of the year.
  6488. },
  6489. });
  6490. //! moment.js locale configuration
  6491. moment.defineLocale('ko', {
  6492. months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
  6493. monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split(
  6494. '_'
  6495. ),
  6496. weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
  6497. weekdaysShort: '일_월_화_수_목_금_토'.split('_'),
  6498. weekdaysMin: '일_월_화_수_목_금_토'.split('_'),
  6499. longDateFormat: {
  6500. LT: 'A h:mm',
  6501. LTS: 'A h:mm:ss',
  6502. L: 'YYYY.MM.DD.',
  6503. LL: 'YYYY년 MMMM D일',
  6504. LLL: 'YYYY년 MMMM D일 A h:mm',
  6505. LLLL: 'YYYY년 MMMM D일 dddd A h:mm',
  6506. l: 'YYYY.MM.DD.',
  6507. ll: 'YYYY년 MMMM D일',
  6508. lll: 'YYYY년 MMMM D일 A h:mm',
  6509. llll: 'YYYY년 MMMM D일 dddd A h:mm',
  6510. },
  6511. calendar: {
  6512. sameDay: '오늘 LT',
  6513. nextDay: '내일 LT',
  6514. nextWeek: 'dddd LT',
  6515. lastDay: '어제 LT',
  6516. lastWeek: '지난주 dddd LT',
  6517. sameElse: 'L',
  6518. },
  6519. relativeTime: {
  6520. future: '%s 후',
  6521. past: '%s 전',
  6522. s: '몇 초',
  6523. ss: '%d초',
  6524. m: '1분',
  6525. mm: '%d분',
  6526. h: '한 시간',
  6527. hh: '%d시간',
  6528. d: '하루',
  6529. dd: '%d일',
  6530. M: '한 달',
  6531. MM: '%d달',
  6532. y: '일 년',
  6533. yy: '%d년',
  6534. },
  6535. dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/,
  6536. ordinal: function (number, period) {
  6537. switch (period) {
  6538. case 'd':
  6539. case 'D':
  6540. case 'DDD':
  6541. return number + '일';
  6542. case 'M':
  6543. return number + '월';
  6544. case 'w':
  6545. case 'W':
  6546. return number + '주';
  6547. default:
  6548. return number;
  6549. }
  6550. },
  6551. meridiemParse: /오전|오후/,
  6552. isPM: function (token) {
  6553. return token === '오후';
  6554. },
  6555. meridiem: function (hour, minute, isUpper) {
  6556. return hour < 12 ? '오전' : '오후';
  6557. },
  6558. });
  6559. //! moment.js locale configuration
  6560. var symbolMap$b = {
  6561. 1: '١',
  6562. 2: '٢',
  6563. 3: '٣',
  6564. 4: '٤',
  6565. 5: '٥',
  6566. 6: '٦',
  6567. 7: '٧',
  6568. 8: '٨',
  6569. 9: '٩',
  6570. 0: '٠',
  6571. },
  6572. numberMap$a = {
  6573. '١': '1',
  6574. '٢': '2',
  6575. '٣': '3',
  6576. '٤': '4',
  6577. '٥': '5',
  6578. '٦': '6',
  6579. '٧': '7',
  6580. '٨': '8',
  6581. '٩': '9',
  6582. '٠': '0',
  6583. },
  6584. months$7 = [
  6585. 'کانونی دووەم',
  6586. 'شوبات',
  6587. 'ئازار',
  6588. 'نیسان',
  6589. 'ئایار',
  6590. 'حوزەیران',
  6591. 'تەمموز',
  6592. 'ئاب',
  6593. 'ئەیلوول',
  6594. 'تشرینی یەكەم',
  6595. 'تشرینی دووەم',
  6596. 'كانونی یەکەم',
  6597. ];
  6598. moment.defineLocale('ku', {
  6599. months: months$7,
  6600. monthsShort: months$7,
  6601. weekdays: 'یه‌كشه‌ممه‌_دووشه‌ممه‌_سێشه‌ممه‌_چوارشه‌ممه‌_پێنجشه‌ممه‌_هه‌ینی_شه‌ممه‌'.split(
  6602. '_'
  6603. ),
  6604. weekdaysShort: 'یه‌كشه‌م_دووشه‌م_سێشه‌م_چوارشه‌م_پێنجشه‌م_هه‌ینی_شه‌ممه‌'.split(
  6605. '_'
  6606. ),
  6607. weekdaysMin: 'ی_د_س_چ_پ_ه_ش'.split('_'),
  6608. weekdaysParseExact: true,
  6609. longDateFormat: {
  6610. LT: 'HH:mm',
  6611. LTS: 'HH:mm:ss',
  6612. L: 'DD/MM/YYYY',
  6613. LL: 'D MMMM YYYY',
  6614. LLL: 'D MMMM YYYY HH:mm',
  6615. LLLL: 'dddd, D MMMM YYYY HH:mm',
  6616. },
  6617. meridiemParse: /ئێواره‌|به‌یانی/,
  6618. isPM: function (input) {
  6619. return /ئێواره‌/.test(input);
  6620. },
  6621. meridiem: function (hour, minute, isLower) {
  6622. if (hour < 12) {
  6623. return 'به‌یانی';
  6624. } else {
  6625. return 'ئێواره‌';
  6626. }
  6627. },
  6628. calendar: {
  6629. sameDay: '[ئه‌مرۆ كاتژمێر] LT',
  6630. nextDay: '[به‌یانی كاتژمێر] LT',
  6631. nextWeek: 'dddd [كاتژمێر] LT',
  6632. lastDay: '[دوێنێ كاتژمێر] LT',
  6633. lastWeek: 'dddd [كاتژمێر] LT',
  6634. sameElse: 'L',
  6635. },
  6636. relativeTime: {
  6637. future: 'له‌ %s',
  6638. past: '%s',
  6639. s: 'چه‌ند چركه‌یه‌ك',
  6640. ss: 'چركه‌ %d',
  6641. m: 'یه‌ك خوله‌ك',
  6642. mm: '%d خوله‌ك',
  6643. h: 'یه‌ك كاتژمێر',
  6644. hh: '%d كاتژمێر',
  6645. d: 'یه‌ك ڕۆژ',
  6646. dd: '%d ڕۆژ',
  6647. M: 'یه‌ك مانگ',
  6648. MM: '%d مانگ',
  6649. y: 'یه‌ك ساڵ',
  6650. yy: '%d ساڵ',
  6651. },
  6652. preparse: function (string) {
  6653. return string
  6654. .replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
  6655. return numberMap$a[match];
  6656. })
  6657. .replace(/،/g, ',');
  6658. },
  6659. postformat: function (string) {
  6660. return string
  6661. .replace(/\d/g, function (match) {
  6662. return symbolMap$b[match];
  6663. })
  6664. .replace(/,/g, '،');
  6665. },
  6666. week: {
  6667. dow: 6, // Saturday is the first day of the week.
  6668. doy: 12, // The week that contains Jan 12th is the first week of the year.
  6669. },
  6670. });
  6671. //! moment.js locale configuration
  6672. var suffixes$2 = {
  6673. 0: '-чү',
  6674. 1: '-чи',
  6675. 2: '-чи',
  6676. 3: '-чү',
  6677. 4: '-чү',
  6678. 5: '-чи',
  6679. 6: '-чы',
  6680. 7: '-чи',
  6681. 8: '-чи',
  6682. 9: '-чу',
  6683. 10: '-чу',
  6684. 20: '-чы',
  6685. 30: '-чу',
  6686. 40: '-чы',
  6687. 50: '-чү',
  6688. 60: '-чы',
  6689. 70: '-чи',
  6690. 80: '-чи',
  6691. 90: '-чу',
  6692. 100: '-чү',
  6693. };
  6694. moment.defineLocale('ky', {
  6695. months: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(
  6696. '_'
  6697. ),
  6698. monthsShort: 'янв_фев_март_апр_май_июнь_июль_авг_сен_окт_ноя_дек'.split(
  6699. '_'
  6700. ),
  6701. weekdays: 'Жекшемби_Дүйшөмбү_Шейшемби_Шаршемби_Бейшемби_Жума_Ишемби'.split(
  6702. '_'
  6703. ),
  6704. weekdaysShort: 'Жек_Дүй_Шей_Шар_Бей_Жум_Ише'.split('_'),
  6705. weekdaysMin: 'Жк_Дй_Шй_Шр_Бй_Жм_Иш'.split('_'),
  6706. longDateFormat: {
  6707. LT: 'HH:mm',
  6708. LTS: 'HH:mm:ss',
  6709. L: 'DD.MM.YYYY',
  6710. LL: 'D MMMM YYYY',
  6711. LLL: 'D MMMM YYYY HH:mm',
  6712. LLLL: 'dddd, D MMMM YYYY HH:mm',
  6713. },
  6714. calendar: {
  6715. sameDay: '[Бүгүн саат] LT',
  6716. nextDay: '[Эртең саат] LT',
  6717. nextWeek: 'dddd [саат] LT',
  6718. lastDay: '[Кечээ саат] LT',
  6719. lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT',
  6720. sameElse: 'L',
  6721. },
  6722. relativeTime: {
  6723. future: '%s ичинде',
  6724. past: '%s мурун',
  6725. s: 'бирнече секунд',
  6726. ss: '%d секунд',
  6727. m: 'бир мүнөт',
  6728. mm: '%d мүнөт',
  6729. h: 'бир саат',
  6730. hh: '%d саат',
  6731. d: 'бир күн',
  6732. dd: '%d күн',
  6733. M: 'бир ай',
  6734. MM: '%d ай',
  6735. y: 'бир жыл',
  6736. yy: '%d жыл',
  6737. },
  6738. dayOfMonthOrdinalParse: /\d{1,2}-(чи|чы|чү|чу)/,
  6739. ordinal: function (number) {
  6740. var a = number % 10,
  6741. b = number >= 100 ? 100 : null;
  6742. return number + (suffixes$2[number] || suffixes$2[a] || suffixes$2[b]);
  6743. },
  6744. week: {
  6745. dow: 1, // Monday is the first day of the week.
  6746. doy: 7, // The week that contains Jan 7th is the first week of the year.
  6747. },
  6748. });
  6749. //! moment.js locale configuration
  6750. function processRelativeTime$6(number, withoutSuffix, key, isFuture) {
  6751. var format = {
  6752. m: ['eng Minutt', 'enger Minutt'],
  6753. h: ['eng Stonn', 'enger Stonn'],
  6754. d: ['een Dag', 'engem Dag'],
  6755. M: ['ee Mount', 'engem Mount'],
  6756. y: ['ee Joer', 'engem Joer'],
  6757. };
  6758. return withoutSuffix ? format[key][0] : format[key][1];
  6759. }
  6760. function processFutureTime(string) {
  6761. var number = string.substr(0, string.indexOf(' '));
  6762. if (eifelerRegelAppliesToNumber(number)) {
  6763. return 'a ' + string;
  6764. }
  6765. return 'an ' + string;
  6766. }
  6767. function processPastTime(string) {
  6768. var number = string.substr(0, string.indexOf(' '));
  6769. if (eifelerRegelAppliesToNumber(number)) {
  6770. return 'viru ' + string;
  6771. }
  6772. return 'virun ' + string;
  6773. }
  6774. /**
  6775. * Returns true if the word before the given number loses the '-n' ending.
  6776. * e.g. 'an 10 Deeg' but 'a 5 Deeg'
  6777. *
  6778. * @param number {integer}
  6779. * @returns {boolean}
  6780. */
  6781. function eifelerRegelAppliesToNumber(number) {
  6782. number = parseInt(number, 10);
  6783. if (isNaN(number)) {
  6784. return false;
  6785. }
  6786. if (number < 0) {
  6787. // Negative Number --> always true
  6788. return true;
  6789. } else if (number < 10) {
  6790. // Only 1 digit
  6791. if (4 <= number && number <= 7) {
  6792. return true;
  6793. }
  6794. return false;
  6795. } else if (number < 100) {
  6796. // 2 digits
  6797. var lastDigit = number % 10,
  6798. firstDigit = number / 10;
  6799. if (lastDigit === 0) {
  6800. return eifelerRegelAppliesToNumber(firstDigit);
  6801. }
  6802. return eifelerRegelAppliesToNumber(lastDigit);
  6803. } else if (number < 10000) {
  6804. // 3 or 4 digits --> recursively check first digit
  6805. while (number >= 10) {
  6806. number = number / 10;
  6807. }
  6808. return eifelerRegelAppliesToNumber(number);
  6809. } else {
  6810. // Anything larger than 4 digits: recursively check first n-3 digits
  6811. number = number / 1000;
  6812. return eifelerRegelAppliesToNumber(number);
  6813. }
  6814. }
  6815. moment.defineLocale('lb', {
  6816. months: 'Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember'.split(
  6817. '_'
  6818. ),
  6819. monthsShort: 'Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.'.split(
  6820. '_'
  6821. ),
  6822. monthsParseExact: true,
  6823. weekdays: 'Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg'.split(
  6824. '_'
  6825. ),
  6826. weekdaysShort: 'So._Mé._Dë._Më._Do._Fr._Sa.'.split('_'),
  6827. weekdaysMin: 'So_Mé_Dë_Më_Do_Fr_Sa'.split('_'),
  6828. weekdaysParseExact: true,
  6829. longDateFormat: {
  6830. LT: 'H:mm [Auer]',
  6831. LTS: 'H:mm:ss [Auer]',
  6832. L: 'DD.MM.YYYY',
  6833. LL: 'D. MMMM YYYY',
  6834. LLL: 'D. MMMM YYYY H:mm [Auer]',
  6835. LLLL: 'dddd, D. MMMM YYYY H:mm [Auer]',
  6836. },
  6837. calendar: {
  6838. sameDay: '[Haut um] LT',
  6839. sameElse: 'L',
  6840. nextDay: '[Muer um] LT',
  6841. nextWeek: 'dddd [um] LT',
  6842. lastDay: '[Gëschter um] LT',
  6843. lastWeek: function () {
  6844. // Different date string for 'Dënschdeg' (Tuesday) and 'Donneschdeg' (Thursday) due to phonological rule
  6845. switch (this.day()) {
  6846. case 2:
  6847. case 4:
  6848. return '[Leschten] dddd [um] LT';
  6849. default:
  6850. return '[Leschte] dddd [um] LT';
  6851. }
  6852. },
  6853. },
  6854. relativeTime: {
  6855. future: processFutureTime,
  6856. past: processPastTime,
  6857. s: 'e puer Sekonnen',
  6858. ss: '%d Sekonnen',
  6859. m: processRelativeTime$6,
  6860. mm: '%d Minutten',
  6861. h: processRelativeTime$6,
  6862. hh: '%d Stonnen',
  6863. d: processRelativeTime$6,
  6864. dd: '%d Deeg',
  6865. M: processRelativeTime$6,
  6866. MM: '%d Méint',
  6867. y: processRelativeTime$6,
  6868. yy: '%d Joer',
  6869. },
  6870. dayOfMonthOrdinalParse: /\d{1,2}\./,
  6871. ordinal: '%d.',
  6872. week: {
  6873. dow: 1, // Monday is the first day of the week.
  6874. doy: 4, // The week that contains Jan 4th is the first week of the year.
  6875. },
  6876. });
  6877. //! moment.js locale configuration
  6878. moment.defineLocale('lo', {
  6879. months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(
  6880. '_'
  6881. ),
  6882. monthsShort: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(
  6883. '_'
  6884. ),
  6885. weekdays: 'ອາທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
  6886. weekdaysShort: 'ທິດ_ຈັນ_ອັງຄານ_ພຸດ_ພະຫັດ_ສຸກ_ເສົາ'.split('_'),
  6887. weekdaysMin: 'ທ_ຈ_ອຄ_ພ_ພຫ_ສກ_ສ'.split('_'),
  6888. weekdaysParseExact: true,
  6889. longDateFormat: {
  6890. LT: 'HH:mm',
  6891. LTS: 'HH:mm:ss',
  6892. L: 'DD/MM/YYYY',
  6893. LL: 'D MMMM YYYY',
  6894. LLL: 'D MMMM YYYY HH:mm',
  6895. LLLL: 'ວັນdddd D MMMM YYYY HH:mm',
  6896. },
  6897. meridiemParse: /ຕອນເຊົ້າ|ຕອນແລງ/,
  6898. isPM: function (input) {
  6899. return input === 'ຕອນແລງ';
  6900. },
  6901. meridiem: function (hour, minute, isLower) {
  6902. if (hour < 12) {
  6903. return 'ຕອນເຊົ້າ';
  6904. } else {
  6905. return 'ຕອນແລງ';
  6906. }
  6907. },
  6908. calendar: {
  6909. sameDay: '[ມື້ນີ້ເວລາ] LT',
  6910. nextDay: '[ມື້ອື່ນເວລາ] LT',
  6911. nextWeek: '[ວັນ]dddd[ໜ້າເວລາ] LT',
  6912. lastDay: '[ມື້ວານນີ້ເວລາ] LT',
  6913. lastWeek: '[ວັນ]dddd[ແລ້ວນີ້ເວລາ] LT',
  6914. sameElse: 'L',
  6915. },
  6916. relativeTime: {
  6917. future: 'ອີກ %s',
  6918. past: '%sຜ່ານມາ',
  6919. s: 'ບໍ່ເທົ່າໃດວິນາທີ',
  6920. ss: '%d ວິນາທີ',
  6921. m: '1 ນາທີ',
  6922. mm: '%d ນາທີ',
  6923. h: '1 ຊົ່ວໂມງ',
  6924. hh: '%d ຊົ່ວໂມງ',
  6925. d: '1 ມື້',
  6926. dd: '%d ມື້',
  6927. M: '1 ເດືອນ',
  6928. MM: '%d ເດືອນ',
  6929. y: '1 ປີ',
  6930. yy: '%d ປີ',
  6931. },
  6932. dayOfMonthOrdinalParse: /(ທີ່)\d{1,2}/,
  6933. ordinal: function (number) {
  6934. return 'ທີ່' + number;
  6935. },
  6936. });
  6937. //! moment.js locale configuration
  6938. var units = {
  6939. ss: 'sekundė_sekundžių_sekundes',
  6940. m: 'minutė_minutės_minutę',
  6941. mm: 'minutės_minučių_minutes',
  6942. h: 'valanda_valandos_valandą',
  6943. hh: 'valandos_valandų_valandas',
  6944. d: 'diena_dienos_dieną',
  6945. dd: 'dienos_dienų_dienas',
  6946. M: 'mėnuo_mėnesio_mėnesį',
  6947. MM: 'mėnesiai_mėnesių_mėnesius',
  6948. y: 'metai_metų_metus',
  6949. yy: 'metai_metų_metus',
  6950. };
  6951. function translateSeconds(number, withoutSuffix, key, isFuture) {
  6952. if (withoutSuffix) {
  6953. return 'kelios sekundės';
  6954. } else {
  6955. return isFuture ? 'kelių sekundžių' : 'kelias sekundes';
  6956. }
  6957. }
  6958. function translateSingular(number, withoutSuffix, key, isFuture) {
  6959. return withoutSuffix
  6960. ? forms(key)[0]
  6961. : isFuture
  6962. ? forms(key)[1]
  6963. : forms(key)[2];
  6964. }
  6965. function special(number) {
  6966. return number % 10 === 0 || (number > 10 && number < 20);
  6967. }
  6968. function forms(key) {
  6969. return units[key].split('_');
  6970. }
  6971. function translate$6(number, withoutSuffix, key, isFuture) {
  6972. var result = number + ' ';
  6973. if (number === 1) {
  6974. return (
  6975. result + translateSingular(number, withoutSuffix, key[0], isFuture)
  6976. );
  6977. } else if (withoutSuffix) {
  6978. return result + (special(number) ? forms(key)[1] : forms(key)[0]);
  6979. } else {
  6980. if (isFuture) {
  6981. return result + forms(key)[1];
  6982. } else {
  6983. return result + (special(number) ? forms(key)[1] : forms(key)[2]);
  6984. }
  6985. }
  6986. }
  6987. moment.defineLocale('lt', {
  6988. months: {
  6989. format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split(
  6990. '_'
  6991. ),
  6992. standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split(
  6993. '_'
  6994. ),
  6995. isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/,
  6996. },
  6997. monthsShort: 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),
  6998. weekdays: {
  6999. format: 'sekmadienį_pirmadienį_antradienį_trečiadienį_ketvirtadienį_penktadienį_šeštadienį'.split(
  7000. '_'
  7001. ),
  7002. standalone: 'sekmadienis_pirmadienis_antradienis_trečiadienis_ketvirtadienis_penktadienis_šeštadienis'.split(
  7003. '_'
  7004. ),
  7005. isFormat: /dddd HH:mm/,
  7006. },
  7007. weekdaysShort: 'Sek_Pir_Ant_Tre_Ket_Pen_Šeš'.split('_'),
  7008. weekdaysMin: 'S_P_A_T_K_Pn_Š'.split('_'),
  7009. weekdaysParseExact: true,
  7010. longDateFormat: {
  7011. LT: 'HH:mm',
  7012. LTS: 'HH:mm:ss',
  7013. L: 'YYYY-MM-DD',
  7014. LL: 'YYYY [m.] MMMM D [d.]',
  7015. LLL: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
  7016. LLLL: 'YYYY [m.] MMMM D [d.], dddd, HH:mm [val.]',
  7017. l: 'YYYY-MM-DD',
  7018. ll: 'YYYY [m.] MMMM D [d.]',
  7019. lll: 'YYYY [m.] MMMM D [d.], HH:mm [val.]',
  7020. llll: 'YYYY [m.] MMMM D [d.], ddd, HH:mm [val.]',
  7021. },
  7022. calendar: {
  7023. sameDay: '[Šiandien] LT',
  7024. nextDay: '[Rytoj] LT',
  7025. nextWeek: 'dddd LT',
  7026. lastDay: '[Vakar] LT',
  7027. lastWeek: '[Praėjusį] dddd LT',
  7028. sameElse: 'L',
  7029. },
  7030. relativeTime: {
  7031. future: 'po %s',
  7032. past: 'prieš %s',
  7033. s: translateSeconds,
  7034. ss: translate$6,
  7035. m: translateSingular,
  7036. mm: translate$6,
  7037. h: translateSingular,
  7038. hh: translate$6,
  7039. d: translateSingular,
  7040. dd: translate$6,
  7041. M: translateSingular,
  7042. MM: translate$6,
  7043. y: translateSingular,
  7044. yy: translate$6,
  7045. },
  7046. dayOfMonthOrdinalParse: /\d{1,2}-oji/,
  7047. ordinal: function (number) {
  7048. return number + '-oji';
  7049. },
  7050. week: {
  7051. dow: 1, // Monday is the first day of the week.
  7052. doy: 4, // The week that contains Jan 4th is the first week of the year.
  7053. },
  7054. });
  7055. //! moment.js locale configuration
  7056. var units$1 = {
  7057. ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'),
  7058. m: 'minūtes_minūtēm_minūte_minūtes'.split('_'),
  7059. mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'),
  7060. h: 'stundas_stundām_stunda_stundas'.split('_'),
  7061. hh: 'stundas_stundām_stunda_stundas'.split('_'),
  7062. d: 'dienas_dienām_diena_dienas'.split('_'),
  7063. dd: 'dienas_dienām_diena_dienas'.split('_'),
  7064. M: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
  7065. MM: 'mēneša_mēnešiem_mēnesis_mēneši'.split('_'),
  7066. y: 'gada_gadiem_gads_gadi'.split('_'),
  7067. yy: 'gada_gadiem_gads_gadi'.split('_'),
  7068. };
  7069. /**
  7070. * @param withoutSuffix boolean true = a length of time; false = before/after a period of time.
  7071. */
  7072. function format(forms, number, withoutSuffix) {
  7073. if (withoutSuffix) {
  7074. // E.g. "21 minūte", "3 minūtes".
  7075. return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3];
  7076. } else {
  7077. // E.g. "21 minūtes" as in "pēc 21 minūtes".
  7078. // E.g. "3 minūtēm" as in "pēc 3 minūtēm".
  7079. return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1];
  7080. }
  7081. }
  7082. function relativeTimeWithPlural$1(number, withoutSuffix, key) {
  7083. return number + ' ' + format(units$1[key], number, withoutSuffix);
  7084. }
  7085. function relativeTimeWithSingular(number, withoutSuffix, key) {
  7086. return format(units$1[key], number, withoutSuffix);
  7087. }
  7088. function relativeSeconds(number, withoutSuffix) {
  7089. return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm';
  7090. }
  7091. moment.defineLocale('lv', {
  7092. months: 'janvāris_februāris_marts_aprīlis_maijs_jūnijs_jūlijs_augusts_septembris_oktobris_novembris_decembris'.split(
  7093. '_'
  7094. ),
  7095. monthsShort: 'jan_feb_mar_apr_mai_jūn_jūl_aug_sep_okt_nov_dec'.split('_'),
  7096. weekdays: 'svētdiena_pirmdiena_otrdiena_trešdiena_ceturtdiena_piektdiena_sestdiena'.split(
  7097. '_'
  7098. ),
  7099. weekdaysShort: 'Sv_P_O_T_C_Pk_S'.split('_'),
  7100. weekdaysMin: 'Sv_P_O_T_C_Pk_S'.split('_'),
  7101. weekdaysParseExact: true,
  7102. longDateFormat: {
  7103. LT: 'HH:mm',
  7104. LTS: 'HH:mm:ss',
  7105. L: 'DD.MM.YYYY.',
  7106. LL: 'YYYY. [gada] D. MMMM',
  7107. LLL: 'YYYY. [gada] D. MMMM, HH:mm',
  7108. LLLL: 'YYYY. [gada] D. MMMM, dddd, HH:mm',
  7109. },
  7110. calendar: {
  7111. sameDay: '[Šodien pulksten] LT',
  7112. nextDay: '[Rīt pulksten] LT',
  7113. nextWeek: 'dddd [pulksten] LT',
  7114. lastDay: '[Vakar pulksten] LT',
  7115. lastWeek: '[Pagājušā] dddd [pulksten] LT',
  7116. sameElse: 'L',
  7117. },
  7118. relativeTime: {
  7119. future: 'pēc %s',
  7120. past: 'pirms %s',
  7121. s: relativeSeconds,
  7122. ss: relativeTimeWithPlural$1,
  7123. m: relativeTimeWithSingular,
  7124. mm: relativeTimeWithPlural$1,
  7125. h: relativeTimeWithSingular,
  7126. hh: relativeTimeWithPlural$1,
  7127. d: relativeTimeWithSingular,
  7128. dd: relativeTimeWithPlural$1,
  7129. M: relativeTimeWithSingular,
  7130. MM: relativeTimeWithPlural$1,
  7131. y: relativeTimeWithSingular,
  7132. yy: relativeTimeWithPlural$1,
  7133. },
  7134. dayOfMonthOrdinalParse: /\d{1,2}\./,
  7135. ordinal: '%d.',
  7136. week: {
  7137. dow: 1, // Monday is the first day of the week.
  7138. doy: 4, // The week that contains Jan 4th is the first week of the year.
  7139. },
  7140. });
  7141. //! moment.js locale configuration
  7142. var translator = {
  7143. words: {
  7144. //Different grammatical cases
  7145. ss: ['sekund', 'sekunda', 'sekundi'],
  7146. m: ['jedan minut', 'jednog minuta'],
  7147. mm: ['minut', 'minuta', 'minuta'],
  7148. h: ['jedan sat', 'jednog sata'],
  7149. hh: ['sat', 'sata', 'sati'],
  7150. dd: ['dan', 'dana', 'dana'],
  7151. MM: ['mjesec', 'mjeseca', 'mjeseci'],
  7152. yy: ['godina', 'godine', 'godina'],
  7153. },
  7154. correctGrammaticalCase: function (number, wordKey) {
  7155. return number === 1
  7156. ? wordKey[0]
  7157. : number >= 2 && number <= 4
  7158. ? wordKey[1]
  7159. : wordKey[2];
  7160. },
  7161. translate: function (number, withoutSuffix, key) {
  7162. var wordKey = translator.words[key];
  7163. if (key.length === 1) {
  7164. return withoutSuffix ? wordKey[0] : wordKey[1];
  7165. } else {
  7166. return (
  7167. number +
  7168. ' ' +
  7169. translator.correctGrammaticalCase(number, wordKey)
  7170. );
  7171. }
  7172. },
  7173. };
  7174. moment.defineLocale('me', {
  7175. months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(
  7176. '_'
  7177. ),
  7178. monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split(
  7179. '_'
  7180. ),
  7181. monthsParseExact: true,
  7182. weekdays: 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split(
  7183. '_'
  7184. ),
  7185. weekdaysShort: 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
  7186. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  7187. weekdaysParseExact: true,
  7188. longDateFormat: {
  7189. LT: 'H:mm',
  7190. LTS: 'H:mm:ss',
  7191. L: 'DD.MM.YYYY',
  7192. LL: 'D. MMMM YYYY',
  7193. LLL: 'D. MMMM YYYY H:mm',
  7194. LLLL: 'dddd, D. MMMM YYYY H:mm',
  7195. },
  7196. calendar: {
  7197. sameDay: '[danas u] LT',
  7198. nextDay: '[sjutra u] LT',
  7199. nextWeek: function () {
  7200. switch (this.day()) {
  7201. case 0:
  7202. return '[u] [nedjelju] [u] LT';
  7203. case 3:
  7204. return '[u] [srijedu] [u] LT';
  7205. case 6:
  7206. return '[u] [subotu] [u] LT';
  7207. case 1:
  7208. case 2:
  7209. case 4:
  7210. case 5:
  7211. return '[u] dddd [u] LT';
  7212. }
  7213. },
  7214. lastDay: '[juče u] LT',
  7215. lastWeek: function () {
  7216. var lastWeekDays = [
  7217. '[prošle] [nedjelje] [u] LT',
  7218. '[prošlog] [ponedjeljka] [u] LT',
  7219. '[prošlog] [utorka] [u] LT',
  7220. '[prošle] [srijede] [u] LT',
  7221. '[prošlog] [četvrtka] [u] LT',
  7222. '[prošlog] [petka] [u] LT',
  7223. '[prošle] [subote] [u] LT',
  7224. ];
  7225. return lastWeekDays[this.day()];
  7226. },
  7227. sameElse: 'L',
  7228. },
  7229. relativeTime: {
  7230. future: 'za %s',
  7231. past: 'prije %s',
  7232. s: 'nekoliko sekundi',
  7233. ss: translator.translate,
  7234. m: translator.translate,
  7235. mm: translator.translate,
  7236. h: translator.translate,
  7237. hh: translator.translate,
  7238. d: 'dan',
  7239. dd: translator.translate,
  7240. M: 'mjesec',
  7241. MM: translator.translate,
  7242. y: 'godinu',
  7243. yy: translator.translate,
  7244. },
  7245. dayOfMonthOrdinalParse: /\d{1,2}\./,
  7246. ordinal: '%d.',
  7247. week: {
  7248. dow: 1, // Monday is the first day of the week.
  7249. doy: 7, // The week that contains Jan 7th is the first week of the year.
  7250. },
  7251. });
  7252. //! moment.js locale configuration
  7253. moment.defineLocale('mi', {
  7254. months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split(
  7255. '_'
  7256. ),
  7257. monthsShort: 'Kohi_Hui_Pou_Pae_Hara_Pipi_Hōngoi_Here_Mahu_Whi-nu_Whi-ra_Haki'.split(
  7258. '_'
  7259. ),
  7260. monthsRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  7261. monthsStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  7262. monthsShortRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,3}/i,
  7263. monthsShortStrictRegex: /(?:['a-z\u0101\u014D\u016B]+\-?){1,2}/i,
  7264. weekdays: 'Rātapu_Mane_Tūrei_Wenerei_Tāite_Paraire_Hātarei'.split('_'),
  7265. weekdaysShort: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
  7266. weekdaysMin: 'Ta_Ma_Tū_We_Tāi_Pa_Hā'.split('_'),
  7267. longDateFormat: {
  7268. LT: 'HH:mm',
  7269. LTS: 'HH:mm:ss',
  7270. L: 'DD/MM/YYYY',
  7271. LL: 'D MMMM YYYY',
  7272. LLL: 'D MMMM YYYY [i] HH:mm',
  7273. LLLL: 'dddd, D MMMM YYYY [i] HH:mm',
  7274. },
  7275. calendar: {
  7276. sameDay: '[i teie mahana, i] LT',
  7277. nextDay: '[apopo i] LT',
  7278. nextWeek: 'dddd [i] LT',
  7279. lastDay: '[inanahi i] LT',
  7280. lastWeek: 'dddd [whakamutunga i] LT',
  7281. sameElse: 'L',
  7282. },
  7283. relativeTime: {
  7284. future: 'i roto i %s',
  7285. past: '%s i mua',
  7286. s: 'te hēkona ruarua',
  7287. ss: '%d hēkona',
  7288. m: 'he meneti',
  7289. mm: '%d meneti',
  7290. h: 'te haora',
  7291. hh: '%d haora',
  7292. d: 'he ra',
  7293. dd: '%d ra',
  7294. M: 'he marama',
  7295. MM: '%d marama',
  7296. y: 'he tau',
  7297. yy: '%d tau',
  7298. },
  7299. dayOfMonthOrdinalParse: /\d{1,2}º/,
  7300. ordinal: '%dº',
  7301. week: {
  7302. dow: 1, // Monday is the first day of the week.
  7303. doy: 4, // The week that contains Jan 4th is the first week of the year.
  7304. },
  7305. });
  7306. //! moment.js locale configuration
  7307. moment.defineLocale('mk', {
  7308. months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split(
  7309. '_'
  7310. ),
  7311. monthsShort: 'јан_фев_мар_апр_мај_јун_јул_авг_сеп_окт_ное_дек'.split('_'),
  7312. weekdays: 'недела_понеделник_вторник_среда_четврток_петок_сабота'.split(
  7313. '_'
  7314. ),
  7315. weekdaysShort: 'нед_пон_вто_сре_чет_пет_саб'.split('_'),
  7316. weekdaysMin: 'нe_пo_вт_ср_че_пе_сa'.split('_'),
  7317. longDateFormat: {
  7318. LT: 'H:mm',
  7319. LTS: 'H:mm:ss',
  7320. L: 'D.MM.YYYY',
  7321. LL: 'D MMMM YYYY',
  7322. LLL: 'D MMMM YYYY H:mm',
  7323. LLLL: 'dddd, D MMMM YYYY H:mm',
  7324. },
  7325. calendar: {
  7326. sameDay: '[Денес во] LT',
  7327. nextDay: '[Утре во] LT',
  7328. nextWeek: '[Во] dddd [во] LT',
  7329. lastDay: '[Вчера во] LT',
  7330. lastWeek: function () {
  7331. switch (this.day()) {
  7332. case 0:
  7333. case 3:
  7334. case 6:
  7335. return '[Изминатата] dddd [во] LT';
  7336. case 1:
  7337. case 2:
  7338. case 4:
  7339. case 5:
  7340. return '[Изминатиот] dddd [во] LT';
  7341. }
  7342. },
  7343. sameElse: 'L',
  7344. },
  7345. relativeTime: {
  7346. future: 'за %s',
  7347. past: 'пред %s',
  7348. s: 'неколку секунди',
  7349. ss: '%d секунди',
  7350. m: 'една минута',
  7351. mm: '%d минути',
  7352. h: 'еден час',
  7353. hh: '%d часа',
  7354. d: 'еден ден',
  7355. dd: '%d дена',
  7356. M: 'еден месец',
  7357. MM: '%d месеци',
  7358. y: 'една година',
  7359. yy: '%d години',
  7360. },
  7361. dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
  7362. ordinal: function (number) {
  7363. var lastDigit = number % 10,
  7364. last2Digits = number % 100;
  7365. if (number === 0) {
  7366. return number + '-ев';
  7367. } else if (last2Digits === 0) {
  7368. return number + '-ен';
  7369. } else if (last2Digits > 10 && last2Digits < 20) {
  7370. return number + '-ти';
  7371. } else if (lastDigit === 1) {
  7372. return number + '-ви';
  7373. } else if (lastDigit === 2) {
  7374. return number + '-ри';
  7375. } else if (lastDigit === 7 || lastDigit === 8) {
  7376. return number + '-ми';
  7377. } else {
  7378. return number + '-ти';
  7379. }
  7380. },
  7381. week: {
  7382. dow: 1, // Monday is the first day of the week.
  7383. doy: 7, // The week that contains Jan 7th is the first week of the year.
  7384. },
  7385. });
  7386. //! moment.js locale configuration
  7387. moment.defineLocale('ml', {
  7388. months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split(
  7389. '_'
  7390. ),
  7391. monthsShort: 'ജനു._ഫെബ്രു._മാർ._ഏപ്രി._മേയ്_ജൂൺ_ജൂലൈ._ഓഗ._സെപ്റ്റ._ഒക്ടോ._നവം._ഡിസം.'.split(
  7392. '_'
  7393. ),
  7394. monthsParseExact: true,
  7395. weekdays: 'ഞായറാഴ്ച_തിങ്കളാഴ്ച_ചൊവ്വാഴ്ച_ബുധനാഴ്ച_വ്യാഴാഴ്ച_വെള്ളിയാഴ്ച_ശനിയാഴ്ച'.split(
  7396. '_'
  7397. ),
  7398. weekdaysShort: 'ഞായർ_തിങ്കൾ_ചൊവ്വ_ബുധൻ_വ്യാഴം_വെള്ളി_ശനി'.split('_'),
  7399. weekdaysMin: 'ഞാ_തി_ചൊ_ബു_വ്യാ_വെ_ശ'.split('_'),
  7400. longDateFormat: {
  7401. LT: 'A h:mm -നു',
  7402. LTS: 'A h:mm:ss -നു',
  7403. L: 'DD/MM/YYYY',
  7404. LL: 'D MMMM YYYY',
  7405. LLL: 'D MMMM YYYY, A h:mm -നു',
  7406. LLLL: 'dddd, D MMMM YYYY, A h:mm -നു',
  7407. },
  7408. calendar: {
  7409. sameDay: '[ഇന്ന്] LT',
  7410. nextDay: '[നാളെ] LT',
  7411. nextWeek: 'dddd, LT',
  7412. lastDay: '[ഇന്നലെ] LT',
  7413. lastWeek: '[കഴിഞ്ഞ] dddd, LT',
  7414. sameElse: 'L',
  7415. },
  7416. relativeTime: {
  7417. future: '%s കഴിഞ്ഞ്',
  7418. past: '%s മുൻപ്',
  7419. s: 'അൽപ നിമിഷങ്ങൾ',
  7420. ss: '%d സെക്കൻഡ്',
  7421. m: 'ഒരു മിനിറ്റ്',
  7422. mm: '%d മിനിറ്റ്',
  7423. h: 'ഒരു മണിക്കൂർ',
  7424. hh: '%d മണിക്കൂർ',
  7425. d: 'ഒരു ദിവസം',
  7426. dd: '%d ദിവസം',
  7427. M: 'ഒരു മാസം',
  7428. MM: '%d മാസം',
  7429. y: 'ഒരു വർഷം',
  7430. yy: '%d വർഷം',
  7431. },
  7432. meridiemParse: /രാത്രി|രാവിലെ|ഉച്ച കഴിഞ്ഞ്|വൈകുന്നേരം|രാത്രി/i,
  7433. meridiemHour: function (hour, meridiem) {
  7434. if (hour === 12) {
  7435. hour = 0;
  7436. }
  7437. if (
  7438. (meridiem === 'രാത്രി' && hour >= 4) ||
  7439. meridiem === 'ഉച്ച കഴിഞ്ഞ്' ||
  7440. meridiem === 'വൈകുന്നേരം'
  7441. ) {
  7442. return hour + 12;
  7443. } else {
  7444. return hour;
  7445. }
  7446. },
  7447. meridiem: function (hour, minute, isLower) {
  7448. if (hour < 4) {
  7449. return 'രാത്രി';
  7450. } else if (hour < 12) {
  7451. return 'രാവിലെ';
  7452. } else if (hour < 17) {
  7453. return 'ഉച്ച കഴിഞ്ഞ്';
  7454. } else if (hour < 20) {
  7455. return 'വൈകുന്നേരം';
  7456. } else {
  7457. return 'രാത്രി';
  7458. }
  7459. },
  7460. });
  7461. //! moment.js locale configuration
  7462. function translate$7(number, withoutSuffix, key, isFuture) {
  7463. switch (key) {
  7464. case 's':
  7465. return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын';
  7466. case 'ss':
  7467. return number + (withoutSuffix ? ' секунд' : ' секундын');
  7468. case 'm':
  7469. case 'mm':
  7470. return number + (withoutSuffix ? ' минут' : ' минутын');
  7471. case 'h':
  7472. case 'hh':
  7473. return number + (withoutSuffix ? ' цаг' : ' цагийн');
  7474. case 'd':
  7475. case 'dd':
  7476. return number + (withoutSuffix ? ' өдөр' : ' өдрийн');
  7477. case 'M':
  7478. case 'MM':
  7479. return number + (withoutSuffix ? ' сар' : ' сарын');
  7480. case 'y':
  7481. case 'yy':
  7482. return number + (withoutSuffix ? ' жил' : ' жилийн');
  7483. default:
  7484. return number;
  7485. }
  7486. }
  7487. moment.defineLocale('mn', {
  7488. months: 'Нэгдүгээр сар_Хоёрдугаар сар_Гуравдугаар сар_Дөрөвдүгээр сар_Тавдугаар сар_Зургадугаар сар_Долдугаар сар_Наймдугаар сар_Есдүгээр сар_Аравдугаар сар_Арван нэгдүгээр сар_Арван хоёрдугаар сар'.split(
  7489. '_'
  7490. ),
  7491. monthsShort: '1 сар_2 сар_3 сар_4 сар_5 сар_6 сар_7 сар_8 сар_9 сар_10 сар_11 сар_12 сар'.split(
  7492. '_'
  7493. ),
  7494. monthsParseExact: true,
  7495. weekdays: 'Ням_Даваа_Мягмар_Лхагва_Пүрэв_Баасан_Бямба'.split('_'),
  7496. weekdaysShort: 'Ням_Дав_Мяг_Лха_Пүр_Баа_Бям'.split('_'),
  7497. weekdaysMin: 'Ня_Да_Мя_Лх_Пү_Ба_Бя'.split('_'),
  7498. weekdaysParseExact: true,
  7499. longDateFormat: {
  7500. LT: 'HH:mm',
  7501. LTS: 'HH:mm:ss',
  7502. L: 'YYYY-MM-DD',
  7503. LL: 'YYYY оны MMMMын D',
  7504. LLL: 'YYYY оны MMMMын D HH:mm',
  7505. LLLL: 'dddd, YYYY оны MMMMын D HH:mm',
  7506. },
  7507. meridiemParse: /ҮӨ|ҮХ/i,
  7508. isPM: function (input) {
  7509. return input === 'ҮХ';
  7510. },
  7511. meridiem: function (hour, minute, isLower) {
  7512. if (hour < 12) {
  7513. return 'ҮӨ';
  7514. } else {
  7515. return 'ҮХ';
  7516. }
  7517. },
  7518. calendar: {
  7519. sameDay: '[Өнөөдөр] LT',
  7520. nextDay: '[Маргааш] LT',
  7521. nextWeek: '[Ирэх] dddd LT',
  7522. lastDay: '[Өчигдөр] LT',
  7523. lastWeek: '[Өнгөрсөн] dddd LT',
  7524. sameElse: 'L',
  7525. },
  7526. relativeTime: {
  7527. future: '%s дараа',
  7528. past: '%s өмнө',
  7529. s: translate$7,
  7530. ss: translate$7,
  7531. m: translate$7,
  7532. mm: translate$7,
  7533. h: translate$7,
  7534. hh: translate$7,
  7535. d: translate$7,
  7536. dd: translate$7,
  7537. M: translate$7,
  7538. MM: translate$7,
  7539. y: translate$7,
  7540. yy: translate$7,
  7541. },
  7542. dayOfMonthOrdinalParse: /\d{1,2} өдөр/,
  7543. ordinal: function (number, period) {
  7544. switch (period) {
  7545. case 'd':
  7546. case 'D':
  7547. case 'DDD':
  7548. return number + ' өдөр';
  7549. default:
  7550. return number;
  7551. }
  7552. },
  7553. });
  7554. //! moment.js locale configuration
  7555. var symbolMap$c = {
  7556. 1: '१',
  7557. 2: '२',
  7558. 3: '३',
  7559. 4: '४',
  7560. 5: '५',
  7561. 6: '६',
  7562. 7: '७',
  7563. 8: '८',
  7564. 9: '९',
  7565. 0: '०',
  7566. },
  7567. numberMap$b = {
  7568. '१': '1',
  7569. '२': '2',
  7570. '३': '3',
  7571. '४': '4',
  7572. '५': '5',
  7573. '६': '6',
  7574. '७': '7',
  7575. '८': '8',
  7576. '९': '9',
  7577. '०': '0',
  7578. };
  7579. function relativeTimeMr(number, withoutSuffix, string, isFuture) {
  7580. var output = '';
  7581. if (withoutSuffix) {
  7582. switch (string) {
  7583. case 's':
  7584. output = 'काही सेकंद';
  7585. break;
  7586. case 'ss':
  7587. output = '%d सेकंद';
  7588. break;
  7589. case 'm':
  7590. output = 'एक मिनिट';
  7591. break;
  7592. case 'mm':
  7593. output = '%d मिनिटे';
  7594. break;
  7595. case 'h':
  7596. output = 'एक तास';
  7597. break;
  7598. case 'hh':
  7599. output = '%d तास';
  7600. break;
  7601. case 'd':
  7602. output = 'एक दिवस';
  7603. break;
  7604. case 'dd':
  7605. output = '%d दिवस';
  7606. break;
  7607. case 'M':
  7608. output = 'एक महिना';
  7609. break;
  7610. case 'MM':
  7611. output = '%d महिने';
  7612. break;
  7613. case 'y':
  7614. output = 'एक वर्ष';
  7615. break;
  7616. case 'yy':
  7617. output = '%d वर्षे';
  7618. break;
  7619. }
  7620. } else {
  7621. switch (string) {
  7622. case 's':
  7623. output = 'काही सेकंदां';
  7624. break;
  7625. case 'ss':
  7626. output = '%d सेकंदां';
  7627. break;
  7628. case 'm':
  7629. output = 'एका मिनिटा';
  7630. break;
  7631. case 'mm':
  7632. output = '%d मिनिटां';
  7633. break;
  7634. case 'h':
  7635. output = 'एका तासा';
  7636. break;
  7637. case 'hh':
  7638. output = '%d तासां';
  7639. break;
  7640. case 'd':
  7641. output = 'एका दिवसा';
  7642. break;
  7643. case 'dd':
  7644. output = '%d दिवसां';
  7645. break;
  7646. case 'M':
  7647. output = 'एका महिन्या';
  7648. break;
  7649. case 'MM':
  7650. output = '%d महिन्यां';
  7651. break;
  7652. case 'y':
  7653. output = 'एका वर्षा';
  7654. break;
  7655. case 'yy':
  7656. output = '%d वर्षां';
  7657. break;
  7658. }
  7659. }
  7660. return output.replace(/%d/i, number);
  7661. }
  7662. moment.defineLocale('mr', {
  7663. months: 'जानेवारी_फेब्रुवारी_मार्च_एप्रिल_मे_जून_जुलै_ऑगस्ट_सप्टेंबर_ऑक्टोबर_नोव्हेंबर_डिसेंबर'.split(
  7664. '_'
  7665. ),
  7666. monthsShort: 'जाने._फेब्रु._मार्च._एप्रि._मे._जून._जुलै._ऑग._सप्टें._ऑक्टो._नोव्हें._डिसें.'.split(
  7667. '_'
  7668. ),
  7669. monthsParseExact: true,
  7670. weekdays: 'रविवार_सोमवार_मंगळवार_बुधवार_गुरूवार_शुक्रवार_शनिवार'.split('_'),
  7671. weekdaysShort: 'रवि_सोम_मंगळ_बुध_गुरू_शुक्र_शनि'.split('_'),
  7672. weekdaysMin: 'र_सो_मं_बु_गु_शु_श'.split('_'),
  7673. longDateFormat: {
  7674. LT: 'A h:mm वाजता',
  7675. LTS: 'A h:mm:ss वाजता',
  7676. L: 'DD/MM/YYYY',
  7677. LL: 'D MMMM YYYY',
  7678. LLL: 'D MMMM YYYY, A h:mm वाजता',
  7679. LLLL: 'dddd, D MMMM YYYY, A h:mm वाजता',
  7680. },
  7681. calendar: {
  7682. sameDay: '[आज] LT',
  7683. nextDay: '[उद्या] LT',
  7684. nextWeek: 'dddd, LT',
  7685. lastDay: '[काल] LT',
  7686. lastWeek: '[मागील] dddd, LT',
  7687. sameElse: 'L',
  7688. },
  7689. relativeTime: {
  7690. future: '%sमध्ये',
  7691. past: '%sपूर्वी',
  7692. s: relativeTimeMr,
  7693. ss: relativeTimeMr,
  7694. m: relativeTimeMr,
  7695. mm: relativeTimeMr,
  7696. h: relativeTimeMr,
  7697. hh: relativeTimeMr,
  7698. d: relativeTimeMr,
  7699. dd: relativeTimeMr,
  7700. M: relativeTimeMr,
  7701. MM: relativeTimeMr,
  7702. y: relativeTimeMr,
  7703. yy: relativeTimeMr,
  7704. },
  7705. preparse: function (string) {
  7706. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  7707. return numberMap$b[match];
  7708. });
  7709. },
  7710. postformat: function (string) {
  7711. return string.replace(/\d/g, function (match) {
  7712. return symbolMap$c[match];
  7713. });
  7714. },
  7715. meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,
  7716. meridiemHour: function (hour, meridiem) {
  7717. if (hour === 12) {
  7718. hour = 0;
  7719. }
  7720. if (meridiem === 'पहाटे' || meridiem === 'सकाळी') {
  7721. return hour;
  7722. } else if (
  7723. meridiem === 'दुपारी' ||
  7724. meridiem === 'सायंकाळी' ||
  7725. meridiem === 'रात्री'
  7726. ) {
  7727. return hour >= 12 ? hour : hour + 12;
  7728. }
  7729. },
  7730. meridiem: function (hour, minute, isLower) {
  7731. if (hour >= 0 && hour < 6) {
  7732. return 'पहाटे';
  7733. } else if (hour < 12) {
  7734. return 'सकाळी';
  7735. } else if (hour < 17) {
  7736. return 'दुपारी';
  7737. } else if (hour < 20) {
  7738. return 'सायंकाळी';
  7739. } else {
  7740. return 'रात्री';
  7741. }
  7742. },
  7743. week: {
  7744. dow: 0, // Sunday is the first day of the week.
  7745. doy: 6, // The week that contains Jan 6th is the first week of the year.
  7746. },
  7747. });
  7748. //! moment.js locale configuration
  7749. moment.defineLocale('ms-my', {
  7750. months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(
  7751. '_'
  7752. ),
  7753. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
  7754. weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
  7755. weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
  7756. weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
  7757. longDateFormat: {
  7758. LT: 'HH.mm',
  7759. LTS: 'HH.mm.ss',
  7760. L: 'DD/MM/YYYY',
  7761. LL: 'D MMMM YYYY',
  7762. LLL: 'D MMMM YYYY [pukul] HH.mm',
  7763. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
  7764. },
  7765. meridiemParse: /pagi|tengahari|petang|malam/,
  7766. meridiemHour: function (hour, meridiem) {
  7767. if (hour === 12) {
  7768. hour = 0;
  7769. }
  7770. if (meridiem === 'pagi') {
  7771. return hour;
  7772. } else if (meridiem === 'tengahari') {
  7773. return hour >= 11 ? hour : hour + 12;
  7774. } else if (meridiem === 'petang' || meridiem === 'malam') {
  7775. return hour + 12;
  7776. }
  7777. },
  7778. meridiem: function (hours, minutes, isLower) {
  7779. if (hours < 11) {
  7780. return 'pagi';
  7781. } else if (hours < 15) {
  7782. return 'tengahari';
  7783. } else if (hours < 19) {
  7784. return 'petang';
  7785. } else {
  7786. return 'malam';
  7787. }
  7788. },
  7789. calendar: {
  7790. sameDay: '[Hari ini pukul] LT',
  7791. nextDay: '[Esok pukul] LT',
  7792. nextWeek: 'dddd [pukul] LT',
  7793. lastDay: '[Kelmarin pukul] LT',
  7794. lastWeek: 'dddd [lepas pukul] LT',
  7795. sameElse: 'L',
  7796. },
  7797. relativeTime: {
  7798. future: 'dalam %s',
  7799. past: '%s yang lepas',
  7800. s: 'beberapa saat',
  7801. ss: '%d saat',
  7802. m: 'seminit',
  7803. mm: '%d minit',
  7804. h: 'sejam',
  7805. hh: '%d jam',
  7806. d: 'sehari',
  7807. dd: '%d hari',
  7808. M: 'sebulan',
  7809. MM: '%d bulan',
  7810. y: 'setahun',
  7811. yy: '%d tahun',
  7812. },
  7813. week: {
  7814. dow: 1, // Monday is the first day of the week.
  7815. doy: 7, // The week that contains Jan 7th is the first week of the year.
  7816. },
  7817. });
  7818. //! moment.js locale configuration
  7819. moment.defineLocale('ms', {
  7820. months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(
  7821. '_'
  7822. ),
  7823. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ogs_Sep_Okt_Nov_Dis'.split('_'),
  7824. weekdays: 'Ahad_Isnin_Selasa_Rabu_Khamis_Jumaat_Sabtu'.split('_'),
  7825. weekdaysShort: 'Ahd_Isn_Sel_Rab_Kha_Jum_Sab'.split('_'),
  7826. weekdaysMin: 'Ah_Is_Sl_Rb_Km_Jm_Sb'.split('_'),
  7827. longDateFormat: {
  7828. LT: 'HH.mm',
  7829. LTS: 'HH.mm.ss',
  7830. L: 'DD/MM/YYYY',
  7831. LL: 'D MMMM YYYY',
  7832. LLL: 'D MMMM YYYY [pukul] HH.mm',
  7833. LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
  7834. },
  7835. meridiemParse: /pagi|tengahari|petang|malam/,
  7836. meridiemHour: function (hour, meridiem) {
  7837. if (hour === 12) {
  7838. hour = 0;
  7839. }
  7840. if (meridiem === 'pagi') {
  7841. return hour;
  7842. } else if (meridiem === 'tengahari') {
  7843. return hour >= 11 ? hour : hour + 12;
  7844. } else if (meridiem === 'petang' || meridiem === 'malam') {
  7845. return hour + 12;
  7846. }
  7847. },
  7848. meridiem: function (hours, minutes, isLower) {
  7849. if (hours < 11) {
  7850. return 'pagi';
  7851. } else if (hours < 15) {
  7852. return 'tengahari';
  7853. } else if (hours < 19) {
  7854. return 'petang';
  7855. } else {
  7856. return 'malam';
  7857. }
  7858. },
  7859. calendar: {
  7860. sameDay: '[Hari ini pukul] LT',
  7861. nextDay: '[Esok pukul] LT',
  7862. nextWeek: 'dddd [pukul] LT',
  7863. lastDay: '[Kelmarin pukul] LT',
  7864. lastWeek: 'dddd [lepas pukul] LT',
  7865. sameElse: 'L',
  7866. },
  7867. relativeTime: {
  7868. future: 'dalam %s',
  7869. past: '%s yang lepas',
  7870. s: 'beberapa saat',
  7871. ss: '%d saat',
  7872. m: 'seminit',
  7873. mm: '%d minit',
  7874. h: 'sejam',
  7875. hh: '%d jam',
  7876. d: 'sehari',
  7877. dd: '%d hari',
  7878. M: 'sebulan',
  7879. MM: '%d bulan',
  7880. y: 'setahun',
  7881. yy: '%d tahun',
  7882. },
  7883. week: {
  7884. dow: 1, // Monday is the first day of the week.
  7885. doy: 7, // The week that contains Jan 7th is the first week of the year.
  7886. },
  7887. });
  7888. //! moment.js locale configuration
  7889. moment.defineLocale('mt', {
  7890. months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split(
  7891. '_'
  7892. ),
  7893. monthsShort: 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),
  7894. weekdays: 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split(
  7895. '_'
  7896. ),
  7897. weekdaysShort: 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),
  7898. weekdaysMin: 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),
  7899. longDateFormat: {
  7900. LT: 'HH:mm',
  7901. LTS: 'HH:mm:ss',
  7902. L: 'DD/MM/YYYY',
  7903. LL: 'D MMMM YYYY',
  7904. LLL: 'D MMMM YYYY HH:mm',
  7905. LLLL: 'dddd, D MMMM YYYY HH:mm',
  7906. },
  7907. calendar: {
  7908. sameDay: '[Illum fil-]LT',
  7909. nextDay: '[Għada fil-]LT',
  7910. nextWeek: 'dddd [fil-]LT',
  7911. lastDay: '[Il-bieraħ fil-]LT',
  7912. lastWeek: 'dddd [li għadda] [fil-]LT',
  7913. sameElse: 'L',
  7914. },
  7915. relativeTime: {
  7916. future: 'f’ %s',
  7917. past: '%s ilu',
  7918. s: 'ftit sekondi',
  7919. ss: '%d sekondi',
  7920. m: 'minuta',
  7921. mm: '%d minuti',
  7922. h: 'siegħa',
  7923. hh: '%d siegħat',
  7924. d: 'ġurnata',
  7925. dd: '%d ġranet',
  7926. M: 'xahar',
  7927. MM: '%d xhur',
  7928. y: 'sena',
  7929. yy: '%d sni',
  7930. },
  7931. dayOfMonthOrdinalParse: /\d{1,2}º/,
  7932. ordinal: '%dº',
  7933. week: {
  7934. dow: 1, // Monday is the first day of the week.
  7935. doy: 4, // The week that contains Jan 4th is the first week of the year.
  7936. },
  7937. });
  7938. //! moment.js locale configuration
  7939. var symbolMap$d = {
  7940. 1: '၁',
  7941. 2: '၂',
  7942. 3: '၃',
  7943. 4: '၄',
  7944. 5: '၅',
  7945. 6: '၆',
  7946. 7: '၇',
  7947. 8: '၈',
  7948. 9: '၉',
  7949. 0: '၀',
  7950. },
  7951. numberMap$c = {
  7952. '၁': '1',
  7953. '၂': '2',
  7954. '၃': '3',
  7955. '၄': '4',
  7956. '၅': '5',
  7957. '၆': '6',
  7958. '၇': '7',
  7959. '၈': '8',
  7960. '၉': '9',
  7961. '၀': '0',
  7962. };
  7963. moment.defineLocale('my', {
  7964. months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split(
  7965. '_'
  7966. ),
  7967. monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
  7968. weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split(
  7969. '_'
  7970. ),
  7971. weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
  7972. weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
  7973. longDateFormat: {
  7974. LT: 'HH:mm',
  7975. LTS: 'HH:mm:ss',
  7976. L: 'DD/MM/YYYY',
  7977. LL: 'D MMMM YYYY',
  7978. LLL: 'D MMMM YYYY HH:mm',
  7979. LLLL: 'dddd D MMMM YYYY HH:mm',
  7980. },
  7981. calendar: {
  7982. sameDay: '[ယနေ.] LT [မှာ]',
  7983. nextDay: '[မနက်ဖြန်] LT [မှာ]',
  7984. nextWeek: 'dddd LT [မှာ]',
  7985. lastDay: '[မနေ.က] LT [မှာ]',
  7986. lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
  7987. sameElse: 'L',
  7988. },
  7989. relativeTime: {
  7990. future: 'လာမည့် %s မှာ',
  7991. past: 'လွန်ခဲ့သော %s က',
  7992. s: 'စက္ကန်.အနည်းငယ်',
  7993. ss: '%d စက္ကန့်',
  7994. m: 'တစ်မိနစ်',
  7995. mm: '%d မိနစ်',
  7996. h: 'တစ်နာရီ',
  7997. hh: '%d နာရီ',
  7998. d: 'တစ်ရက်',
  7999. dd: '%d ရက်',
  8000. M: 'တစ်လ',
  8001. MM: '%d လ',
  8002. y: 'တစ်နှစ်',
  8003. yy: '%d နှစ်',
  8004. },
  8005. preparse: function (string) {
  8006. return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
  8007. return numberMap$c[match];
  8008. });
  8009. },
  8010. postformat: function (string) {
  8011. return string.replace(/\d/g, function (match) {
  8012. return symbolMap$d[match];
  8013. });
  8014. },
  8015. week: {
  8016. dow: 1, // Monday is the first day of the week.
  8017. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8018. },
  8019. });
  8020. //! moment.js locale configuration
  8021. moment.defineLocale('nb', {
  8022. months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
  8023. '_'
  8024. ),
  8025. monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split(
  8026. '_'
  8027. ),
  8028. monthsParseExact: true,
  8029. weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
  8030. weekdaysShort: 'sø._ma._ti._on._to._fr._lø.'.split('_'),
  8031. weekdaysMin: 'sø_ma_ti_on_to_fr_lø'.split('_'),
  8032. weekdaysParseExact: true,
  8033. longDateFormat: {
  8034. LT: 'HH:mm',
  8035. LTS: 'HH:mm:ss',
  8036. L: 'DD.MM.YYYY',
  8037. LL: 'D. MMMM YYYY',
  8038. LLL: 'D. MMMM YYYY [kl.] HH:mm',
  8039. LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
  8040. },
  8041. calendar: {
  8042. sameDay: '[i dag kl.] LT',
  8043. nextDay: '[i morgen kl.] LT',
  8044. nextWeek: 'dddd [kl.] LT',
  8045. lastDay: '[i går kl.] LT',
  8046. lastWeek: '[forrige] dddd [kl.] LT',
  8047. sameElse: 'L',
  8048. },
  8049. relativeTime: {
  8050. future: 'om %s',
  8051. past: '%s siden',
  8052. s: 'noen sekunder',
  8053. ss: '%d sekunder',
  8054. m: 'ett minutt',
  8055. mm: '%d minutter',
  8056. h: 'en time',
  8057. hh: '%d timer',
  8058. d: 'en dag',
  8059. dd: '%d dager',
  8060. w: 'en uke',
  8061. ww: '%d uker',
  8062. M: 'en måned',
  8063. MM: '%d måneder',
  8064. y: 'ett år',
  8065. yy: '%d år',
  8066. },
  8067. dayOfMonthOrdinalParse: /\d{1,2}\./,
  8068. ordinal: '%d.',
  8069. week: {
  8070. dow: 1, // Monday is the first day of the week.
  8071. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8072. },
  8073. });
  8074. //! moment.js locale configuration
  8075. var symbolMap$e = {
  8076. 1: '१',
  8077. 2: '२',
  8078. 3: '३',
  8079. 4: '४',
  8080. 5: '५',
  8081. 6: '६',
  8082. 7: '७',
  8083. 8: '८',
  8084. 9: '९',
  8085. 0: '०',
  8086. },
  8087. numberMap$d = {
  8088. '१': '1',
  8089. '२': '2',
  8090. '३': '3',
  8091. '४': '4',
  8092. '५': '5',
  8093. '६': '6',
  8094. '७': '7',
  8095. '८': '8',
  8096. '९': '9',
  8097. '०': '0',
  8098. };
  8099. moment.defineLocale('ne', {
  8100. months: 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split(
  8101. '_'
  8102. ),
  8103. monthsShort: 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split(
  8104. '_'
  8105. ),
  8106. monthsParseExact: true,
  8107. weekdays: 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split(
  8108. '_'
  8109. ),
  8110. weekdaysShort: 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
  8111. weekdaysMin: 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
  8112. weekdaysParseExact: true,
  8113. longDateFormat: {
  8114. LT: 'Aको h:mm बजे',
  8115. LTS: 'Aको h:mm:ss बजे',
  8116. L: 'DD/MM/YYYY',
  8117. LL: 'D MMMM YYYY',
  8118. LLL: 'D MMMM YYYY, Aको h:mm बजे',
  8119. LLLL: 'dddd, D MMMM YYYY, Aको h:mm बजे',
  8120. },
  8121. preparse: function (string) {
  8122. return string.replace(/[१२३४५६७८९०]/g, function (match) {
  8123. return numberMap$d[match];
  8124. });
  8125. },
  8126. postformat: function (string) {
  8127. return string.replace(/\d/g, function (match) {
  8128. return symbolMap$e[match];
  8129. });
  8130. },
  8131. meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
  8132. meridiemHour: function (hour, meridiem) {
  8133. if (hour === 12) {
  8134. hour = 0;
  8135. }
  8136. if (meridiem === 'राति') {
  8137. return hour < 4 ? hour : hour + 12;
  8138. } else if (meridiem === 'बिहान') {
  8139. return hour;
  8140. } else if (meridiem === 'दिउँसो') {
  8141. return hour >= 10 ? hour : hour + 12;
  8142. } else if (meridiem === 'साँझ') {
  8143. return hour + 12;
  8144. }
  8145. },
  8146. meridiem: function (hour, minute, isLower) {
  8147. if (hour < 3) {
  8148. return 'राति';
  8149. } else if (hour < 12) {
  8150. return 'बिहान';
  8151. } else if (hour < 16) {
  8152. return 'दिउँसो';
  8153. } else if (hour < 20) {
  8154. return 'साँझ';
  8155. } else {
  8156. return 'राति';
  8157. }
  8158. },
  8159. calendar: {
  8160. sameDay: '[आज] LT',
  8161. nextDay: '[भोलि] LT',
  8162. nextWeek: '[आउँदो] dddd[,] LT',
  8163. lastDay: '[हिजो] LT',
  8164. lastWeek: '[गएको] dddd[,] LT',
  8165. sameElse: 'L',
  8166. },
  8167. relativeTime: {
  8168. future: '%sमा',
  8169. past: '%s अगाडि',
  8170. s: 'केही क्षण',
  8171. ss: '%d सेकेण्ड',
  8172. m: 'एक मिनेट',
  8173. mm: '%d मिनेट',
  8174. h: 'एक घण्टा',
  8175. hh: '%d घण्टा',
  8176. d: 'एक दिन',
  8177. dd: '%d दिन',
  8178. M: 'एक महिना',
  8179. MM: '%d महिना',
  8180. y: 'एक बर्ष',
  8181. yy: '%d बर्ष',
  8182. },
  8183. week: {
  8184. dow: 0, // Sunday is the first day of the week.
  8185. doy: 6, // The week that contains Jan 6th is the first week of the year.
  8186. },
  8187. });
  8188. //! moment.js locale configuration
  8189. var monthsShortWithDots$1 = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split(
  8190. '_'
  8191. ),
  8192. monthsShortWithoutDots$1 = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split(
  8193. '_'
  8194. ),
  8195. monthsParse$8 = [
  8196. /^jan/i,
  8197. /^feb/i,
  8198. /^maart|mrt.?$/i,
  8199. /^apr/i,
  8200. /^mei$/i,
  8201. /^jun[i.]?$/i,
  8202. /^jul[i.]?$/i,
  8203. /^aug/i,
  8204. /^sep/i,
  8205. /^okt/i,
  8206. /^nov/i,
  8207. /^dec/i,
  8208. ],
  8209. monthsRegex$7 = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
  8210. moment.defineLocale('nl-be', {
  8211. months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(
  8212. '_'
  8213. ),
  8214. monthsShort: function (m, format) {
  8215. if (!m) {
  8216. return monthsShortWithDots$1;
  8217. } else if (/-MMM-/.test(format)) {
  8218. return monthsShortWithoutDots$1[m.month()];
  8219. } else {
  8220. return monthsShortWithDots$1[m.month()];
  8221. }
  8222. },
  8223. monthsRegex: monthsRegex$7,
  8224. monthsShortRegex: monthsRegex$7,
  8225. monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
  8226. monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
  8227. monthsParse: monthsParse$8,
  8228. longMonthsParse: monthsParse$8,
  8229. shortMonthsParse: monthsParse$8,
  8230. weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split(
  8231. '_'
  8232. ),
  8233. weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
  8234. weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
  8235. weekdaysParseExact: true,
  8236. longDateFormat: {
  8237. LT: 'HH:mm',
  8238. LTS: 'HH:mm:ss',
  8239. L: 'DD/MM/YYYY',
  8240. LL: 'D MMMM YYYY',
  8241. LLL: 'D MMMM YYYY HH:mm',
  8242. LLLL: 'dddd D MMMM YYYY HH:mm',
  8243. },
  8244. calendar: {
  8245. sameDay: '[vandaag om] LT',
  8246. nextDay: '[morgen om] LT',
  8247. nextWeek: 'dddd [om] LT',
  8248. lastDay: '[gisteren om] LT',
  8249. lastWeek: '[afgelopen] dddd [om] LT',
  8250. sameElse: 'L',
  8251. },
  8252. relativeTime: {
  8253. future: 'over %s',
  8254. past: '%s geleden',
  8255. s: 'een paar seconden',
  8256. ss: '%d seconden',
  8257. m: 'één minuut',
  8258. mm: '%d minuten',
  8259. h: 'één uur',
  8260. hh: '%d uur',
  8261. d: 'één dag',
  8262. dd: '%d dagen',
  8263. M: 'één maand',
  8264. MM: '%d maanden',
  8265. y: 'één jaar',
  8266. yy: '%d jaar',
  8267. },
  8268. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  8269. ordinal: function (number) {
  8270. return (
  8271. number +
  8272. (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
  8273. );
  8274. },
  8275. week: {
  8276. dow: 1, // Monday is the first day of the week.
  8277. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8278. },
  8279. });
  8280. //! moment.js locale configuration
  8281. var monthsShortWithDots$2 = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split(
  8282. '_'
  8283. ),
  8284. monthsShortWithoutDots$2 = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split(
  8285. '_'
  8286. ),
  8287. monthsParse$9 = [
  8288. /^jan/i,
  8289. /^feb/i,
  8290. /^maart|mrt.?$/i,
  8291. /^apr/i,
  8292. /^mei$/i,
  8293. /^jun[i.]?$/i,
  8294. /^jul[i.]?$/i,
  8295. /^aug/i,
  8296. /^sep/i,
  8297. /^okt/i,
  8298. /^nov/i,
  8299. /^dec/i,
  8300. ],
  8301. monthsRegex$8 = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
  8302. moment.defineLocale('nl', {
  8303. months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(
  8304. '_'
  8305. ),
  8306. monthsShort: function (m, format) {
  8307. if (!m) {
  8308. return monthsShortWithDots$2;
  8309. } else if (/-MMM-/.test(format)) {
  8310. return monthsShortWithoutDots$2[m.month()];
  8311. } else {
  8312. return monthsShortWithDots$2[m.month()];
  8313. }
  8314. },
  8315. monthsRegex: monthsRegex$8,
  8316. monthsShortRegex: monthsRegex$8,
  8317. monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
  8318. monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
  8319. monthsParse: monthsParse$9,
  8320. longMonthsParse: monthsParse$9,
  8321. shortMonthsParse: monthsParse$9,
  8322. weekdays: 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split(
  8323. '_'
  8324. ),
  8325. weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
  8326. weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
  8327. weekdaysParseExact: true,
  8328. longDateFormat: {
  8329. LT: 'HH:mm',
  8330. LTS: 'HH:mm:ss',
  8331. L: 'DD-MM-YYYY',
  8332. LL: 'D MMMM YYYY',
  8333. LLL: 'D MMMM YYYY HH:mm',
  8334. LLLL: 'dddd D MMMM YYYY HH:mm',
  8335. },
  8336. calendar: {
  8337. sameDay: '[vandaag om] LT',
  8338. nextDay: '[morgen om] LT',
  8339. nextWeek: 'dddd [om] LT',
  8340. lastDay: '[gisteren om] LT',
  8341. lastWeek: '[afgelopen] dddd [om] LT',
  8342. sameElse: 'L',
  8343. },
  8344. relativeTime: {
  8345. future: 'over %s',
  8346. past: '%s geleden',
  8347. s: 'een paar seconden',
  8348. ss: '%d seconden',
  8349. m: 'één minuut',
  8350. mm: '%d minuten',
  8351. h: 'één uur',
  8352. hh: '%d uur',
  8353. d: 'één dag',
  8354. dd: '%d dagen',
  8355. w: 'één week',
  8356. ww: '%d weken',
  8357. M: 'één maand',
  8358. MM: '%d maanden',
  8359. y: 'één jaar',
  8360. yy: '%d jaar',
  8361. },
  8362. dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
  8363. ordinal: function (number) {
  8364. return (
  8365. number +
  8366. (number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
  8367. );
  8368. },
  8369. week: {
  8370. dow: 1, // Monday is the first day of the week.
  8371. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8372. },
  8373. });
  8374. //! moment.js locale configuration
  8375. moment.defineLocale('nn', {
  8376. months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
  8377. '_'
  8378. ),
  8379. monthsShort: 'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split(
  8380. '_'
  8381. ),
  8382. monthsParseExact: true,
  8383. weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
  8384. weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'),
  8385. weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'),
  8386. weekdaysParseExact: true,
  8387. longDateFormat: {
  8388. LT: 'HH:mm',
  8389. LTS: 'HH:mm:ss',
  8390. L: 'DD.MM.YYYY',
  8391. LL: 'D. MMMM YYYY',
  8392. LLL: 'D. MMMM YYYY [kl.] H:mm',
  8393. LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
  8394. },
  8395. calendar: {
  8396. sameDay: '[I dag klokka] LT',
  8397. nextDay: '[I morgon klokka] LT',
  8398. nextWeek: 'dddd [klokka] LT',
  8399. lastDay: '[I går klokka] LT',
  8400. lastWeek: '[Føregåande] dddd [klokka] LT',
  8401. sameElse: 'L',
  8402. },
  8403. relativeTime: {
  8404. future: 'om %s',
  8405. past: '%s sidan',
  8406. s: 'nokre sekund',
  8407. ss: '%d sekund',
  8408. m: 'eit minutt',
  8409. mm: '%d minutt',
  8410. h: 'ein time',
  8411. hh: '%d timar',
  8412. d: 'ein dag',
  8413. dd: '%d dagar',
  8414. w: 'ei veke',
  8415. ww: '%d veker',
  8416. M: 'ein månad',
  8417. MM: '%d månader',
  8418. y: 'eit år',
  8419. yy: '%d år',
  8420. },
  8421. dayOfMonthOrdinalParse: /\d{1,2}\./,
  8422. ordinal: '%d.',
  8423. week: {
  8424. dow: 1, // Monday is the first day of the week.
  8425. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8426. },
  8427. });
  8428. //! moment.js locale configuration
  8429. moment.defineLocale('oc-lnc', {
  8430. months: {
  8431. standalone: 'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split(
  8432. '_'
  8433. ),
  8434. format: "de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split(
  8435. '_'
  8436. ),
  8437. isFormat: /D[oD]?(\s)+MMMM/,
  8438. },
  8439. monthsShort: 'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split(
  8440. '_'
  8441. ),
  8442. monthsParseExact: true,
  8443. weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split(
  8444. '_'
  8445. ),
  8446. weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'),
  8447. weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'),
  8448. weekdaysParseExact: true,
  8449. longDateFormat: {
  8450. LT: 'H:mm',
  8451. LTS: 'H:mm:ss',
  8452. L: 'DD/MM/YYYY',
  8453. LL: 'D MMMM [de] YYYY',
  8454. ll: 'D MMM YYYY',
  8455. LLL: 'D MMMM [de] YYYY [a] H:mm',
  8456. lll: 'D MMM YYYY, H:mm',
  8457. LLLL: 'dddd D MMMM [de] YYYY [a] H:mm',
  8458. llll: 'ddd D MMM YYYY, H:mm',
  8459. },
  8460. calendar: {
  8461. sameDay: '[uèi a] LT',
  8462. nextDay: '[deman a] LT',
  8463. nextWeek: 'dddd [a] LT',
  8464. lastDay: '[ièr a] LT',
  8465. lastWeek: 'dddd [passat a] LT',
  8466. sameElse: 'L',
  8467. },
  8468. relativeTime: {
  8469. future: "d'aquí %s",
  8470. past: 'fa %s',
  8471. s: 'unas segondas',
  8472. ss: '%d segondas',
  8473. m: 'una minuta',
  8474. mm: '%d minutas',
  8475. h: 'una ora',
  8476. hh: '%d oras',
  8477. d: 'un jorn',
  8478. dd: '%d jorns',
  8479. M: 'un mes',
  8480. MM: '%d meses',
  8481. y: 'un an',
  8482. yy: '%d ans',
  8483. },
  8484. dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
  8485. ordinal: function (number, period) {
  8486. var output =
  8487. number === 1
  8488. ? 'r'
  8489. : number === 2
  8490. ? 'n'
  8491. : number === 3
  8492. ? 'r'
  8493. : number === 4
  8494. ? 't'
  8495. : 'è';
  8496. if (period === 'w' || period === 'W') {
  8497. output = 'a';
  8498. }
  8499. return number + output;
  8500. },
  8501. week: {
  8502. dow: 1, // Monday is the first day of the week.
  8503. doy: 4,
  8504. },
  8505. });
  8506. //! moment.js locale configuration
  8507. var symbolMap$f = {
  8508. 1: '੧',
  8509. 2: '੨',
  8510. 3: '੩',
  8511. 4: '੪',
  8512. 5: '੫',
  8513. 6: '੬',
  8514. 7: '੭',
  8515. 8: '੮',
  8516. 9: '੯',
  8517. 0: '੦',
  8518. },
  8519. numberMap$e = {
  8520. '੧': '1',
  8521. '੨': '2',
  8522. '੩': '3',
  8523. '੪': '4',
  8524. '੫': '5',
  8525. '੬': '6',
  8526. '੭': '7',
  8527. '੮': '8',
  8528. '੯': '9',
  8529. '੦': '0',
  8530. };
  8531. moment.defineLocale('pa-in', {
  8532. // There are months name as per Nanakshahi Calendar but they are not used as rigidly in modern Punjabi.
  8533. months: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(
  8534. '_'
  8535. ),
  8536. monthsShort: 'ਜਨਵਰੀ_ਫ਼ਰਵਰੀ_ਮਾਰਚ_ਅਪ੍ਰੈਲ_ਮਈ_ਜੂਨ_ਜੁਲਾਈ_ਅਗਸਤ_ਸਤੰਬਰ_ਅਕਤੂਬਰ_ਨਵੰਬਰ_ਦਸੰਬਰ'.split(
  8537. '_'
  8538. ),
  8539. weekdays: 'ਐਤਵਾਰ_ਸੋਮਵਾਰ_ਮੰਗਲਵਾਰ_ਬੁਧਵਾਰ_ਵੀਰਵਾਰ_ਸ਼ੁੱਕਰਵਾਰ_ਸ਼ਨੀਚਰਵਾਰ'.split(
  8540. '_'
  8541. ),
  8542. weekdaysShort: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
  8543. weekdaysMin: 'ਐਤ_ਸੋਮ_ਮੰਗਲ_ਬੁਧ_ਵੀਰ_ਸ਼ੁਕਰ_ਸ਼ਨੀ'.split('_'),
  8544. longDateFormat: {
  8545. LT: 'A h:mm ਵਜੇ',
  8546. LTS: 'A h:mm:ss ਵਜੇ',
  8547. L: 'DD/MM/YYYY',
  8548. LL: 'D MMMM YYYY',
  8549. LLL: 'D MMMM YYYY, A h:mm ਵਜੇ',
  8550. LLLL: 'dddd, D MMMM YYYY, A h:mm ਵਜੇ',
  8551. },
  8552. calendar: {
  8553. sameDay: '[ਅਜ] LT',
  8554. nextDay: '[ਕਲ] LT',
  8555. nextWeek: '[ਅਗਲਾ] dddd, LT',
  8556. lastDay: '[ਕਲ] LT',
  8557. lastWeek: '[ਪਿਛਲੇ] dddd, LT',
  8558. sameElse: 'L',
  8559. },
  8560. relativeTime: {
  8561. future: '%s ਵਿੱਚ',
  8562. past: '%s ਪਿਛਲੇ',
  8563. s: 'ਕੁਝ ਸਕਿੰਟ',
  8564. ss: '%d ਸਕਿੰਟ',
  8565. m: 'ਇਕ ਮਿੰਟ',
  8566. mm: '%d ਮਿੰਟ',
  8567. h: 'ਇੱਕ ਘੰਟਾ',
  8568. hh: '%d ਘੰਟੇ',
  8569. d: 'ਇੱਕ ਦਿਨ',
  8570. dd: '%d ਦਿਨ',
  8571. M: 'ਇੱਕ ਮਹੀਨਾ',
  8572. MM: '%d ਮਹੀਨੇ',
  8573. y: 'ਇੱਕ ਸਾਲ',
  8574. yy: '%d ਸਾਲ',
  8575. },
  8576. preparse: function (string) {
  8577. return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {
  8578. return numberMap$e[match];
  8579. });
  8580. },
  8581. postformat: function (string) {
  8582. return string.replace(/\d/g, function (match) {
  8583. return symbolMap$f[match];
  8584. });
  8585. },
  8586. // Punjabi notation for meridiems are quite fuzzy in practice. While there exists
  8587. // a rigid notion of a 'Pahar' it is not used as rigidly in modern Punjabi.
  8588. meridiemParse: /ਰਾਤ|ਸਵੇਰ|ਦੁਪਹਿਰ|ਸ਼ਾਮ/,
  8589. meridiemHour: function (hour, meridiem) {
  8590. if (hour === 12) {
  8591. hour = 0;
  8592. }
  8593. if (meridiem === 'ਰਾਤ') {
  8594. return hour < 4 ? hour : hour + 12;
  8595. } else if (meridiem === 'ਸਵੇਰ') {
  8596. return hour;
  8597. } else if (meridiem === 'ਦੁਪਹਿਰ') {
  8598. return hour >= 10 ? hour : hour + 12;
  8599. } else if (meridiem === 'ਸ਼ਾਮ') {
  8600. return hour + 12;
  8601. }
  8602. },
  8603. meridiem: function (hour, minute, isLower) {
  8604. if (hour < 4) {
  8605. return 'ਰਾਤ';
  8606. } else if (hour < 10) {
  8607. return 'ਸਵੇਰ';
  8608. } else if (hour < 17) {
  8609. return 'ਦੁਪਹਿਰ';
  8610. } else if (hour < 20) {
  8611. return 'ਸ਼ਾਮ';
  8612. } else {
  8613. return 'ਰਾਤ';
  8614. }
  8615. },
  8616. week: {
  8617. dow: 0, // Sunday is the first day of the week.
  8618. doy: 6, // The week that contains Jan 6th is the first week of the year.
  8619. },
  8620. });
  8621. //! moment.js locale configuration
  8622. var monthsNominative = 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split(
  8623. '_'
  8624. ),
  8625. monthsSubjective = 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split(
  8626. '_'
  8627. ),
  8628. monthsParse$a = [
  8629. /^sty/i,
  8630. /^lut/i,
  8631. /^mar/i,
  8632. /^kwi/i,
  8633. /^maj/i,
  8634. /^cze/i,
  8635. /^lip/i,
  8636. /^sie/i,
  8637. /^wrz/i,
  8638. /^paź/i,
  8639. /^lis/i,
  8640. /^gru/i,
  8641. ];
  8642. function plural$3(n) {
  8643. return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1;
  8644. }
  8645. function translate$8(number, withoutSuffix, key) {
  8646. var result = number + ' ';
  8647. switch (key) {
  8648. case 'ss':
  8649. return result + (plural$3(number) ? 'sekundy' : 'sekund');
  8650. case 'm':
  8651. return withoutSuffix ? 'minuta' : 'minutę';
  8652. case 'mm':
  8653. return result + (plural$3(number) ? 'minuty' : 'minut');
  8654. case 'h':
  8655. return withoutSuffix ? 'godzina' : 'godzinę';
  8656. case 'hh':
  8657. return result + (plural$3(number) ? 'godziny' : 'godzin');
  8658. case 'ww':
  8659. return result + (plural$3(number) ? 'tygodnie' : 'tygodni');
  8660. case 'MM':
  8661. return result + (plural$3(number) ? 'miesiące' : 'miesięcy');
  8662. case 'yy':
  8663. return result + (plural$3(number) ? 'lata' : 'lat');
  8664. }
  8665. }
  8666. moment.defineLocale('pl', {
  8667. months: function (momentToFormat, format) {
  8668. if (!momentToFormat) {
  8669. return monthsNominative;
  8670. } else if (/D MMMM/.test(format)) {
  8671. return monthsSubjective[momentToFormat.month()];
  8672. } else {
  8673. return monthsNominative[momentToFormat.month()];
  8674. }
  8675. },
  8676. monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),
  8677. monthsParse: monthsParse$a,
  8678. longMonthsParse: monthsParse$a,
  8679. shortMonthsParse: monthsParse$a,
  8680. weekdays: 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split(
  8681. '_'
  8682. ),
  8683. weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),
  8684. weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
  8685. longDateFormat: {
  8686. LT: 'HH:mm',
  8687. LTS: 'HH:mm:ss',
  8688. L: 'DD.MM.YYYY',
  8689. LL: 'D MMMM YYYY',
  8690. LLL: 'D MMMM YYYY HH:mm',
  8691. LLLL: 'dddd, D MMMM YYYY HH:mm',
  8692. },
  8693. calendar: {
  8694. sameDay: '[Dziś o] LT',
  8695. nextDay: '[Jutro o] LT',
  8696. nextWeek: function () {
  8697. switch (this.day()) {
  8698. case 0:
  8699. return '[W niedzielę o] LT';
  8700. case 2:
  8701. return '[We wtorek o] LT';
  8702. case 3:
  8703. return '[W środę o] LT';
  8704. case 6:
  8705. return '[W sobotę o] LT';
  8706. default:
  8707. return '[W] dddd [o] LT';
  8708. }
  8709. },
  8710. lastDay: '[Wczoraj o] LT',
  8711. lastWeek: function () {
  8712. switch (this.day()) {
  8713. case 0:
  8714. return '[W zeszłą niedzielę o] LT';
  8715. case 3:
  8716. return '[W zeszłą środę o] LT';
  8717. case 6:
  8718. return '[W zeszłą sobotę o] LT';
  8719. default:
  8720. return '[W zeszły] dddd [o] LT';
  8721. }
  8722. },
  8723. sameElse: 'L',
  8724. },
  8725. relativeTime: {
  8726. future: 'za %s',
  8727. past: '%s temu',
  8728. s: 'kilka sekund',
  8729. ss: translate$8,
  8730. m: translate$8,
  8731. mm: translate$8,
  8732. h: translate$8,
  8733. hh: translate$8,
  8734. d: '1 dzień',
  8735. dd: '%d dni',
  8736. w: 'tydzień',
  8737. ww: translate$8,
  8738. M: 'miesiąc',
  8739. MM: translate$8,
  8740. y: 'rok',
  8741. yy: translate$8,
  8742. },
  8743. dayOfMonthOrdinalParse: /\d{1,2}\./,
  8744. ordinal: '%d.',
  8745. week: {
  8746. dow: 1, // Monday is the first day of the week.
  8747. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8748. },
  8749. });
  8750. //! moment.js locale configuration
  8751. moment.defineLocale('pt-br', {
  8752. months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
  8753. '_'
  8754. ),
  8755. monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
  8756. weekdays: 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split(
  8757. '_'
  8758. ),
  8759. weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'),
  8760. weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'),
  8761. weekdaysParseExact: true,
  8762. longDateFormat: {
  8763. LT: 'HH:mm',
  8764. LTS: 'HH:mm:ss',
  8765. L: 'DD/MM/YYYY',
  8766. LL: 'D [de] MMMM [de] YYYY',
  8767. LLL: 'D [de] MMMM [de] YYYY [às] HH:mm',
  8768. LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm',
  8769. },
  8770. calendar: {
  8771. sameDay: '[Hoje às] LT',
  8772. nextDay: '[Amanhã às] LT',
  8773. nextWeek: 'dddd [às] LT',
  8774. lastDay: '[Ontem às] LT',
  8775. lastWeek: function () {
  8776. return this.day() === 0 || this.day() === 6
  8777. ? '[Último] dddd [às] LT' // Saturday + Sunday
  8778. : '[Última] dddd [às] LT'; // Monday - Friday
  8779. },
  8780. sameElse: 'L',
  8781. },
  8782. relativeTime: {
  8783. future: 'em %s',
  8784. past: 'há %s',
  8785. s: 'poucos segundos',
  8786. ss: '%d segundos',
  8787. m: 'um minuto',
  8788. mm: '%d minutos',
  8789. h: 'uma hora',
  8790. hh: '%d horas',
  8791. d: 'um dia',
  8792. dd: '%d dias',
  8793. M: 'um mês',
  8794. MM: '%d meses',
  8795. y: 'um ano',
  8796. yy: '%d anos',
  8797. },
  8798. dayOfMonthOrdinalParse: /\d{1,2}º/,
  8799. ordinal: '%dº',
  8800. invalidDate: 'Data inválida',
  8801. });
  8802. //! moment.js locale configuration
  8803. moment.defineLocale('pt', {
  8804. months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
  8805. '_'
  8806. ),
  8807. monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
  8808. weekdays: 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split(
  8809. '_'
  8810. ),
  8811. weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
  8812. weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
  8813. weekdaysParseExact: true,
  8814. longDateFormat: {
  8815. LT: 'HH:mm',
  8816. LTS: 'HH:mm:ss',
  8817. L: 'DD/MM/YYYY',
  8818. LL: 'D [de] MMMM [de] YYYY',
  8819. LLL: 'D [de] MMMM [de] YYYY HH:mm',
  8820. LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm',
  8821. },
  8822. calendar: {
  8823. sameDay: '[Hoje às] LT',
  8824. nextDay: '[Amanhã às] LT',
  8825. nextWeek: 'dddd [às] LT',
  8826. lastDay: '[Ontem às] LT',
  8827. lastWeek: function () {
  8828. return this.day() === 0 || this.day() === 6
  8829. ? '[Último] dddd [às] LT' // Saturday + Sunday
  8830. : '[Última] dddd [às] LT'; // Monday - Friday
  8831. },
  8832. sameElse: 'L',
  8833. },
  8834. relativeTime: {
  8835. future: 'em %s',
  8836. past: 'há %s',
  8837. s: 'segundos',
  8838. ss: '%d segundos',
  8839. m: 'um minuto',
  8840. mm: '%d minutos',
  8841. h: 'uma hora',
  8842. hh: '%d horas',
  8843. d: 'um dia',
  8844. dd: '%d dias',
  8845. w: 'uma semana',
  8846. ww: '%d semanas',
  8847. M: 'um mês',
  8848. MM: '%d meses',
  8849. y: 'um ano',
  8850. yy: '%d anos',
  8851. },
  8852. dayOfMonthOrdinalParse: /\d{1,2}º/,
  8853. ordinal: '%dº',
  8854. week: {
  8855. dow: 1, // Monday is the first day of the week.
  8856. doy: 4, // The week that contains Jan 4th is the first week of the year.
  8857. },
  8858. });
  8859. //! moment.js locale configuration
  8860. function relativeTimeWithPlural$2(number, withoutSuffix, key) {
  8861. var format = {
  8862. ss: 'secunde',
  8863. mm: 'minute',
  8864. hh: 'ore',
  8865. dd: 'zile',
  8866. ww: 'săptămâni',
  8867. MM: 'luni',
  8868. yy: 'ani',
  8869. },
  8870. separator = ' ';
  8871. if (number % 100 >= 20 || (number >= 100 && number % 100 === 0)) {
  8872. separator = ' de ';
  8873. }
  8874. return number + separator + format[key];
  8875. }
  8876. moment.defineLocale('ro', {
  8877. months: 'ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie'.split(
  8878. '_'
  8879. ),
  8880. monthsShort: 'ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.'.split(
  8881. '_'
  8882. ),
  8883. monthsParseExact: true,
  8884. weekdays: 'duminică_luni_marți_miercuri_joi_vineri_sâmbătă'.split('_'),
  8885. weekdaysShort: 'Dum_Lun_Mar_Mie_Joi_Vin_Sâm'.split('_'),
  8886. weekdaysMin: 'Du_Lu_Ma_Mi_Jo_Vi_Sâ'.split('_'),
  8887. longDateFormat: {
  8888. LT: 'H:mm',
  8889. LTS: 'H:mm:ss',
  8890. L: 'DD.MM.YYYY',
  8891. LL: 'D MMMM YYYY',
  8892. LLL: 'D MMMM YYYY H:mm',
  8893. LLLL: 'dddd, D MMMM YYYY H:mm',
  8894. },
  8895. calendar: {
  8896. sameDay: '[azi la] LT',
  8897. nextDay: '[mâine la] LT',
  8898. nextWeek: 'dddd [la] LT',
  8899. lastDay: '[ieri la] LT',
  8900. lastWeek: '[fosta] dddd [la] LT',
  8901. sameElse: 'L',
  8902. },
  8903. relativeTime: {
  8904. future: 'peste %s',
  8905. past: '%s în urmă',
  8906. s: 'câteva secunde',
  8907. ss: relativeTimeWithPlural$2,
  8908. m: 'un minut',
  8909. mm: relativeTimeWithPlural$2,
  8910. h: 'o oră',
  8911. hh: relativeTimeWithPlural$2,
  8912. d: 'o zi',
  8913. dd: relativeTimeWithPlural$2,
  8914. w: 'o săptămână',
  8915. ww: relativeTimeWithPlural$2,
  8916. M: 'o lună',
  8917. MM: relativeTimeWithPlural$2,
  8918. y: 'un an',
  8919. yy: relativeTimeWithPlural$2,
  8920. },
  8921. week: {
  8922. dow: 1, // Monday is the first day of the week.
  8923. doy: 7, // The week that contains Jan 7th is the first week of the year.
  8924. },
  8925. });
  8926. //! moment.js locale configuration
  8927. function plural$4(word, num) {
  8928. var forms = word.split('_');
  8929. return num % 10 === 1 && num % 100 !== 11
  8930. ? forms[0]
  8931. : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
  8932. ? forms[1]
  8933. : forms[2];
  8934. }
  8935. function relativeTimeWithPlural$3(number, withoutSuffix, key) {
  8936. var format = {
  8937. ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
  8938. mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',
  8939. hh: 'час_часа_часов',
  8940. dd: 'день_дня_дней',
  8941. ww: 'неделя_недели_недель',
  8942. MM: 'месяц_месяца_месяцев',
  8943. yy: 'год_года_лет',
  8944. };
  8945. if (key === 'm') {
  8946. return withoutSuffix ? 'минута' : 'минуту';
  8947. } else {
  8948. return number + ' ' + plural$4(format[key], +number);
  8949. }
  8950. }
  8951. var monthsParse$b = [
  8952. /^янв/i,
  8953. /^фев/i,
  8954. /^мар/i,
  8955. /^апр/i,
  8956. /^ма[йя]/i,
  8957. /^июн/i,
  8958. /^июл/i,
  8959. /^авг/i,
  8960. /^сен/i,
  8961. /^окт/i,
  8962. /^ноя/i,
  8963. /^дек/i,
  8964. ];
  8965. // http://new.gramota.ru/spravka/rules/139-prop : § 103
  8966. // Сокращения месяцев: http://new.gramota.ru/spravka/buro/search-answer?s=242637
  8967. // CLDR data: http://www.unicode.org/cldr/charts/28/summary/ru.html#1753
  8968. moment.defineLocale('ru', {
  8969. months: {
  8970. format: 'января_февраля_марта_апреля_мая_июня_июля_августа_сентября_октября_ноября_декабря'.split(
  8971. '_'
  8972. ),
  8973. standalone: 'январь_февраль_март_апрель_май_июнь_июль_август_сентябрь_октябрь_ноябрь_декабрь'.split(
  8974. '_'
  8975. ),
  8976. },
  8977. monthsShort: {
  8978. // по CLDR именно "июл." и "июн.", но какой смысл менять букву на точку?
  8979. format: 'янв._февр._мар._апр._мая_июня_июля_авг._сент._окт._нояб._дек.'.split(
  8980. '_'
  8981. ),
  8982. standalone: 'янв._февр._март_апр._май_июнь_июль_авг._сент._окт._нояб._дек.'.split(
  8983. '_'
  8984. ),
  8985. },
  8986. weekdays: {
  8987. standalone: 'воскресенье_понедельник_вторник_среда_четверг_пятница_суббота'.split(
  8988. '_'
  8989. ),
  8990. format: 'воскресенье_понедельник_вторник_среду_четверг_пятницу_субботу'.split(
  8991. '_'
  8992. ),
  8993. isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/,
  8994. },
  8995. weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
  8996. weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
  8997. monthsParse: monthsParse$b,
  8998. longMonthsParse: monthsParse$b,
  8999. shortMonthsParse: monthsParse$b,
  9000. // полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки
  9001. monthsRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
  9002. // копия предыдущего
  9003. monthsShortRegex: /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i,
  9004. // полные названия с падежами
  9005. monthsStrictRegex: /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i,
  9006. // Выражение, которое соответствует только сокращённым формам
  9007. monthsShortStrictRegex: /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i,
  9008. longDateFormat: {
  9009. LT: 'H:mm',
  9010. LTS: 'H:mm:ss',
  9011. L: 'DD.MM.YYYY',
  9012. LL: 'D MMMM YYYY г.',
  9013. LLL: 'D MMMM YYYY г., H:mm',
  9014. LLLL: 'dddd, D MMMM YYYY г., H:mm',
  9015. },
  9016. calendar: {
  9017. sameDay: '[Сегодня, в] LT',
  9018. nextDay: '[Завтра, в] LT',
  9019. lastDay: '[Вчера, в] LT',
  9020. nextWeek: function (now) {
  9021. if (now.week() !== this.week()) {
  9022. switch (this.day()) {
  9023. case 0:
  9024. return '[В следующее] dddd, [в] LT';
  9025. case 1:
  9026. case 2:
  9027. case 4:
  9028. return '[В следующий] dddd, [в] LT';
  9029. case 3:
  9030. case 5:
  9031. case 6:
  9032. return '[В следующую] dddd, [в] LT';
  9033. }
  9034. } else {
  9035. if (this.day() === 2) {
  9036. return '[Во] dddd, [в] LT';
  9037. } else {
  9038. return '[В] dddd, [в] LT';
  9039. }
  9040. }
  9041. },
  9042. lastWeek: function (now) {
  9043. if (now.week() !== this.week()) {
  9044. switch (this.day()) {
  9045. case 0:
  9046. return '[В прошлое] dddd, [в] LT';
  9047. case 1:
  9048. case 2:
  9049. case 4:
  9050. return '[В прошлый] dddd, [в] LT';
  9051. case 3:
  9052. case 5:
  9053. case 6:
  9054. return '[В прошлую] dddd, [в] LT';
  9055. }
  9056. } else {
  9057. if (this.day() === 2) {
  9058. return '[Во] dddd, [в] LT';
  9059. } else {
  9060. return '[В] dddd, [в] LT';
  9061. }
  9062. }
  9063. },
  9064. sameElse: 'L',
  9065. },
  9066. relativeTime: {
  9067. future: 'через %s',
  9068. past: '%s назад',
  9069. s: 'несколько секунд',
  9070. ss: relativeTimeWithPlural$3,
  9071. m: relativeTimeWithPlural$3,
  9072. mm: relativeTimeWithPlural$3,
  9073. h: 'час',
  9074. hh: relativeTimeWithPlural$3,
  9075. d: 'день',
  9076. dd: relativeTimeWithPlural$3,
  9077. w: 'неделя',
  9078. ww: relativeTimeWithPlural$3,
  9079. M: 'месяц',
  9080. MM: relativeTimeWithPlural$3,
  9081. y: 'год',
  9082. yy: relativeTimeWithPlural$3,
  9083. },
  9084. meridiemParse: /ночи|утра|дня|вечера/i,
  9085. isPM: function (input) {
  9086. return /^(дня|вечера)$/.test(input);
  9087. },
  9088. meridiem: function (hour, minute, isLower) {
  9089. if (hour < 4) {
  9090. return 'ночи';
  9091. } else if (hour < 12) {
  9092. return 'утра';
  9093. } else if (hour < 17) {
  9094. return 'дня';
  9095. } else {
  9096. return 'вечера';
  9097. }
  9098. },
  9099. dayOfMonthOrdinalParse: /\d{1,2}-(й|го|я)/,
  9100. ordinal: function (number, period) {
  9101. switch (period) {
  9102. case 'M':
  9103. case 'd':
  9104. case 'DDD':
  9105. return number + '-й';
  9106. case 'D':
  9107. return number + '-го';
  9108. case 'w':
  9109. case 'W':
  9110. return number + '-я';
  9111. default:
  9112. return number;
  9113. }
  9114. },
  9115. week: {
  9116. dow: 1, // Monday is the first day of the week.
  9117. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9118. },
  9119. });
  9120. //! moment.js locale configuration
  9121. var months$8 = [
  9122. 'جنوري',
  9123. 'فيبروري',
  9124. 'مارچ',
  9125. 'اپريل',
  9126. 'مئي',
  9127. 'جون',
  9128. 'جولاءِ',
  9129. 'آگسٽ',
  9130. 'سيپٽمبر',
  9131. 'آڪٽوبر',
  9132. 'نومبر',
  9133. 'ڊسمبر',
  9134. ],
  9135. days = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر'];
  9136. moment.defineLocale('sd', {
  9137. months: months$8,
  9138. monthsShort: months$8,
  9139. weekdays: days,
  9140. weekdaysShort: days,
  9141. weekdaysMin: days,
  9142. longDateFormat: {
  9143. LT: 'HH:mm',
  9144. LTS: 'HH:mm:ss',
  9145. L: 'DD/MM/YYYY',
  9146. LL: 'D MMMM YYYY',
  9147. LLL: 'D MMMM YYYY HH:mm',
  9148. LLLL: 'dddd، D MMMM YYYY HH:mm',
  9149. },
  9150. meridiemParse: /صبح|شام/,
  9151. isPM: function (input) {
  9152. return 'شام' === input;
  9153. },
  9154. meridiem: function (hour, minute, isLower) {
  9155. if (hour < 12) {
  9156. return 'صبح';
  9157. }
  9158. return 'شام';
  9159. },
  9160. calendar: {
  9161. sameDay: '[اڄ] LT',
  9162. nextDay: '[سڀاڻي] LT',
  9163. nextWeek: 'dddd [اڳين هفتي تي] LT',
  9164. lastDay: '[ڪالهه] LT',
  9165. lastWeek: '[گزريل هفتي] dddd [تي] LT',
  9166. sameElse: 'L',
  9167. },
  9168. relativeTime: {
  9169. future: '%s پوء',
  9170. past: '%s اڳ',
  9171. s: 'چند سيڪنڊ',
  9172. ss: '%d سيڪنڊ',
  9173. m: 'هڪ منٽ',
  9174. mm: '%d منٽ',
  9175. h: 'هڪ ڪلاڪ',
  9176. hh: '%d ڪلاڪ',
  9177. d: 'هڪ ڏينهن',
  9178. dd: '%d ڏينهن',
  9179. M: 'هڪ مهينو',
  9180. MM: '%d مهينا',
  9181. y: 'هڪ سال',
  9182. yy: '%d سال',
  9183. },
  9184. preparse: function (string) {
  9185. return string.replace(/،/g, ',');
  9186. },
  9187. postformat: function (string) {
  9188. return string.replace(/,/g, '،');
  9189. },
  9190. week: {
  9191. dow: 1, // Monday is the first day of the week.
  9192. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9193. },
  9194. });
  9195. //! moment.js locale configuration
  9196. moment.defineLocale('se', {
  9197. months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split(
  9198. '_'
  9199. ),
  9200. monthsShort: 'ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov'.split(
  9201. '_'
  9202. ),
  9203. weekdays: 'sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat'.split(
  9204. '_'
  9205. ),
  9206. weekdaysShort: 'sotn_vuos_maŋ_gask_duor_bear_láv'.split('_'),
  9207. weekdaysMin: 's_v_m_g_d_b_L'.split('_'),
  9208. longDateFormat: {
  9209. LT: 'HH:mm',
  9210. LTS: 'HH:mm:ss',
  9211. L: 'DD.MM.YYYY',
  9212. LL: 'MMMM D. [b.] YYYY',
  9213. LLL: 'MMMM D. [b.] YYYY [ti.] HH:mm',
  9214. LLLL: 'dddd, MMMM D. [b.] YYYY [ti.] HH:mm',
  9215. },
  9216. calendar: {
  9217. sameDay: '[otne ti] LT',
  9218. nextDay: '[ihttin ti] LT',
  9219. nextWeek: 'dddd [ti] LT',
  9220. lastDay: '[ikte ti] LT',
  9221. lastWeek: '[ovddit] dddd [ti] LT',
  9222. sameElse: 'L',
  9223. },
  9224. relativeTime: {
  9225. future: '%s geažes',
  9226. past: 'maŋit %s',
  9227. s: 'moadde sekunddat',
  9228. ss: '%d sekunddat',
  9229. m: 'okta minuhta',
  9230. mm: '%d minuhtat',
  9231. h: 'okta diimmu',
  9232. hh: '%d diimmut',
  9233. d: 'okta beaivi',
  9234. dd: '%d beaivvit',
  9235. M: 'okta mánnu',
  9236. MM: '%d mánut',
  9237. y: 'okta jahki',
  9238. yy: '%d jagit',
  9239. },
  9240. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9241. ordinal: '%d.',
  9242. week: {
  9243. dow: 1, // Monday is the first day of the week.
  9244. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9245. },
  9246. });
  9247. //! moment.js locale configuration
  9248. /*jshint -W100*/
  9249. moment.defineLocale('si', {
  9250. months: 'ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්'.split(
  9251. '_'
  9252. ),
  9253. monthsShort: 'ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ'.split(
  9254. '_'
  9255. ),
  9256. weekdays: 'ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා'.split(
  9257. '_'
  9258. ),
  9259. weekdaysShort: 'ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන'.split('_'),
  9260. weekdaysMin: 'ඉ_ස_අ_බ_බ්‍ර_සි_සෙ'.split('_'),
  9261. weekdaysParseExact: true,
  9262. longDateFormat: {
  9263. LT: 'a h:mm',
  9264. LTS: 'a h:mm:ss',
  9265. L: 'YYYY/MM/DD',
  9266. LL: 'YYYY MMMM D',
  9267. LLL: 'YYYY MMMM D, a h:mm',
  9268. LLLL: 'YYYY MMMM D [වැනි] dddd, a h:mm:ss',
  9269. },
  9270. calendar: {
  9271. sameDay: '[අද] LT[ට]',
  9272. nextDay: '[හෙට] LT[ට]',
  9273. nextWeek: 'dddd LT[ට]',
  9274. lastDay: '[ඊයේ] LT[ට]',
  9275. lastWeek: '[පසුගිය] dddd LT[ට]',
  9276. sameElse: 'L',
  9277. },
  9278. relativeTime: {
  9279. future: '%sකින්',
  9280. past: '%sකට පෙර',
  9281. s: 'තත්පර කිහිපය',
  9282. ss: 'තත්පර %d',
  9283. m: 'මිනිත්තුව',
  9284. mm: 'මිනිත්තු %d',
  9285. h: 'පැය',
  9286. hh: 'පැය %d',
  9287. d: 'දිනය',
  9288. dd: 'දින %d',
  9289. M: 'මාසය',
  9290. MM: 'මාස %d',
  9291. y: 'වසර',
  9292. yy: 'වසර %d',
  9293. },
  9294. dayOfMonthOrdinalParse: /\d{1,2} වැනි/,
  9295. ordinal: function (number) {
  9296. return number + ' වැනි';
  9297. },
  9298. meridiemParse: /පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,
  9299. isPM: function (input) {
  9300. return input === 'ප.ව.' || input === 'පස් වරු';
  9301. },
  9302. meridiem: function (hours, minutes, isLower) {
  9303. if (hours > 11) {
  9304. return isLower ? 'ප.ව.' : 'පස් වරු';
  9305. } else {
  9306. return isLower ? 'පෙ.ව.' : 'පෙර වරු';
  9307. }
  9308. },
  9309. });
  9310. //! moment.js locale configuration
  9311. var months$9 = 'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split(
  9312. '_'
  9313. ),
  9314. monthsShort$7 = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');
  9315. function plural$5(n) {
  9316. return n > 1 && n < 5;
  9317. }
  9318. function translate$9(number, withoutSuffix, key, isFuture) {
  9319. var result = number + ' ';
  9320. switch (key) {
  9321. case 's': // a few seconds / in a few seconds / a few seconds ago
  9322. return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami';
  9323. case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago
  9324. if (withoutSuffix || isFuture) {
  9325. return result + (plural$5(number) ? 'sekundy' : 'sekúnd');
  9326. } else {
  9327. return result + 'sekundami';
  9328. }
  9329. case 'm': // a minute / in a minute / a minute ago
  9330. return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou';
  9331. case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
  9332. if (withoutSuffix || isFuture) {
  9333. return result + (plural$5(number) ? 'minúty' : 'minút');
  9334. } else {
  9335. return result + 'minútami';
  9336. }
  9337. case 'h': // an hour / in an hour / an hour ago
  9338. return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
  9339. case 'hh': // 9 hours / in 9 hours / 9 hours ago
  9340. if (withoutSuffix || isFuture) {
  9341. return result + (plural$5(number) ? 'hodiny' : 'hodín');
  9342. } else {
  9343. return result + 'hodinami';
  9344. }
  9345. case 'd': // a day / in a day / a day ago
  9346. return withoutSuffix || isFuture ? 'deň' : 'dňom';
  9347. case 'dd': // 9 days / in 9 days / 9 days ago
  9348. if (withoutSuffix || isFuture) {
  9349. return result + (plural$5(number) ? 'dni' : 'dní');
  9350. } else {
  9351. return result + 'dňami';
  9352. }
  9353. case 'M': // a month / in a month / a month ago
  9354. return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom';
  9355. case 'MM': // 9 months / in 9 months / 9 months ago
  9356. if (withoutSuffix || isFuture) {
  9357. return result + (plural$5(number) ? 'mesiace' : 'mesiacov');
  9358. } else {
  9359. return result + 'mesiacmi';
  9360. }
  9361. case 'y': // a year / in a year / a year ago
  9362. return withoutSuffix || isFuture ? 'rok' : 'rokom';
  9363. case 'yy': // 9 years / in 9 years / 9 years ago
  9364. if (withoutSuffix || isFuture) {
  9365. return result + (plural$5(number) ? 'roky' : 'rokov');
  9366. } else {
  9367. return result + 'rokmi';
  9368. }
  9369. }
  9370. }
  9371. moment.defineLocale('sk', {
  9372. months: months$9,
  9373. monthsShort: monthsShort$7,
  9374. weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),
  9375. weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'),
  9376. weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'),
  9377. longDateFormat: {
  9378. LT: 'H:mm',
  9379. LTS: 'H:mm:ss',
  9380. L: 'DD.MM.YYYY',
  9381. LL: 'D. MMMM YYYY',
  9382. LLL: 'D. MMMM YYYY H:mm',
  9383. LLLL: 'dddd D. MMMM YYYY H:mm',
  9384. },
  9385. calendar: {
  9386. sameDay: '[dnes o] LT',
  9387. nextDay: '[zajtra o] LT',
  9388. nextWeek: function () {
  9389. switch (this.day()) {
  9390. case 0:
  9391. return '[v nedeľu o] LT';
  9392. case 1:
  9393. case 2:
  9394. return '[v] dddd [o] LT';
  9395. case 3:
  9396. return '[v stredu o] LT';
  9397. case 4:
  9398. return '[vo štvrtok o] LT';
  9399. case 5:
  9400. return '[v piatok o] LT';
  9401. case 6:
  9402. return '[v sobotu o] LT';
  9403. }
  9404. },
  9405. lastDay: '[včera o] LT',
  9406. lastWeek: function () {
  9407. switch (this.day()) {
  9408. case 0:
  9409. return '[minulú nedeľu o] LT';
  9410. case 1:
  9411. case 2:
  9412. return '[minulý] dddd [o] LT';
  9413. case 3:
  9414. return '[minulú stredu o] LT';
  9415. case 4:
  9416. case 5:
  9417. return '[minulý] dddd [o] LT';
  9418. case 6:
  9419. return '[minulú sobotu o] LT';
  9420. }
  9421. },
  9422. sameElse: 'L',
  9423. },
  9424. relativeTime: {
  9425. future: 'za %s',
  9426. past: 'pred %s',
  9427. s: translate$9,
  9428. ss: translate$9,
  9429. m: translate$9,
  9430. mm: translate$9,
  9431. h: translate$9,
  9432. hh: translate$9,
  9433. d: translate$9,
  9434. dd: translate$9,
  9435. M: translate$9,
  9436. MM: translate$9,
  9437. y: translate$9,
  9438. yy: translate$9,
  9439. },
  9440. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9441. ordinal: '%d.',
  9442. week: {
  9443. dow: 1, // Monday is the first day of the week.
  9444. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9445. },
  9446. });
  9447. //! moment.js locale configuration
  9448. function processRelativeTime$7(number, withoutSuffix, key, isFuture) {
  9449. var result = number + ' ';
  9450. switch (key) {
  9451. case 's':
  9452. return withoutSuffix || isFuture
  9453. ? 'nekaj sekund'
  9454. : 'nekaj sekundami';
  9455. case 'ss':
  9456. if (number === 1) {
  9457. result += withoutSuffix ? 'sekundo' : 'sekundi';
  9458. } else if (number === 2) {
  9459. result += withoutSuffix || isFuture ? 'sekundi' : 'sekundah';
  9460. } else if (number < 5) {
  9461. result += withoutSuffix || isFuture ? 'sekunde' : 'sekundah';
  9462. } else {
  9463. result += 'sekund';
  9464. }
  9465. return result;
  9466. case 'm':
  9467. return withoutSuffix ? 'ena minuta' : 'eno minuto';
  9468. case 'mm':
  9469. if (number === 1) {
  9470. result += withoutSuffix ? 'minuta' : 'minuto';
  9471. } else if (number === 2) {
  9472. result += withoutSuffix || isFuture ? 'minuti' : 'minutama';
  9473. } else if (number < 5) {
  9474. result += withoutSuffix || isFuture ? 'minute' : 'minutami';
  9475. } else {
  9476. result += withoutSuffix || isFuture ? 'minut' : 'minutami';
  9477. }
  9478. return result;
  9479. case 'h':
  9480. return withoutSuffix ? 'ena ura' : 'eno uro';
  9481. case 'hh':
  9482. if (number === 1) {
  9483. result += withoutSuffix ? 'ura' : 'uro';
  9484. } else if (number === 2) {
  9485. result += withoutSuffix || isFuture ? 'uri' : 'urama';
  9486. } else if (number < 5) {
  9487. result += withoutSuffix || isFuture ? 'ure' : 'urami';
  9488. } else {
  9489. result += withoutSuffix || isFuture ? 'ur' : 'urami';
  9490. }
  9491. return result;
  9492. case 'd':
  9493. return withoutSuffix || isFuture ? 'en dan' : 'enim dnem';
  9494. case 'dd':
  9495. if (number === 1) {
  9496. result += withoutSuffix || isFuture ? 'dan' : 'dnem';
  9497. } else if (number === 2) {
  9498. result += withoutSuffix || isFuture ? 'dni' : 'dnevoma';
  9499. } else {
  9500. result += withoutSuffix || isFuture ? 'dni' : 'dnevi';
  9501. }
  9502. return result;
  9503. case 'M':
  9504. return withoutSuffix || isFuture ? 'en mesec' : 'enim mesecem';
  9505. case 'MM':
  9506. if (number === 1) {
  9507. result += withoutSuffix || isFuture ? 'mesec' : 'mesecem';
  9508. } else if (number === 2) {
  9509. result += withoutSuffix || isFuture ? 'meseca' : 'mesecema';
  9510. } else if (number < 5) {
  9511. result += withoutSuffix || isFuture ? 'mesece' : 'meseci';
  9512. } else {
  9513. result += withoutSuffix || isFuture ? 'mesecev' : 'meseci';
  9514. }
  9515. return result;
  9516. case 'y':
  9517. return withoutSuffix || isFuture ? 'eno leto' : 'enim letom';
  9518. case 'yy':
  9519. if (number === 1) {
  9520. result += withoutSuffix || isFuture ? 'leto' : 'letom';
  9521. } else if (number === 2) {
  9522. result += withoutSuffix || isFuture ? 'leti' : 'letoma';
  9523. } else if (number < 5) {
  9524. result += withoutSuffix || isFuture ? 'leta' : 'leti';
  9525. } else {
  9526. result += withoutSuffix || isFuture ? 'let' : 'leti';
  9527. }
  9528. return result;
  9529. }
  9530. }
  9531. moment.defineLocale('sl', {
  9532. months: 'januar_februar_marec_april_maj_junij_julij_avgust_september_oktober_november_december'.split(
  9533. '_'
  9534. ),
  9535. monthsShort: 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split(
  9536. '_'
  9537. ),
  9538. monthsParseExact: true,
  9539. weekdays: 'nedelja_ponedeljek_torek_sreda_četrtek_petek_sobota'.split('_'),
  9540. weekdaysShort: 'ned._pon._tor._sre._čet._pet._sob.'.split('_'),
  9541. weekdaysMin: 'ne_po_to_sr_če_pe_so'.split('_'),
  9542. weekdaysParseExact: true,
  9543. longDateFormat: {
  9544. LT: 'H:mm',
  9545. LTS: 'H:mm:ss',
  9546. L: 'DD. MM. YYYY',
  9547. LL: 'D. MMMM YYYY',
  9548. LLL: 'D. MMMM YYYY H:mm',
  9549. LLLL: 'dddd, D. MMMM YYYY H:mm',
  9550. },
  9551. calendar: {
  9552. sameDay: '[danes ob] LT',
  9553. nextDay: '[jutri ob] LT',
  9554. nextWeek: function () {
  9555. switch (this.day()) {
  9556. case 0:
  9557. return '[v] [nedeljo] [ob] LT';
  9558. case 3:
  9559. return '[v] [sredo] [ob] LT';
  9560. case 6:
  9561. return '[v] [soboto] [ob] LT';
  9562. case 1:
  9563. case 2:
  9564. case 4:
  9565. case 5:
  9566. return '[v] dddd [ob] LT';
  9567. }
  9568. },
  9569. lastDay: '[včeraj ob] LT',
  9570. lastWeek: function () {
  9571. switch (this.day()) {
  9572. case 0:
  9573. return '[prejšnjo] [nedeljo] [ob] LT';
  9574. case 3:
  9575. return '[prejšnjo] [sredo] [ob] LT';
  9576. case 6:
  9577. return '[prejšnjo] [soboto] [ob] LT';
  9578. case 1:
  9579. case 2:
  9580. case 4:
  9581. case 5:
  9582. return '[prejšnji] dddd [ob] LT';
  9583. }
  9584. },
  9585. sameElse: 'L',
  9586. },
  9587. relativeTime: {
  9588. future: 'čez %s',
  9589. past: 'pred %s',
  9590. s: processRelativeTime$7,
  9591. ss: processRelativeTime$7,
  9592. m: processRelativeTime$7,
  9593. mm: processRelativeTime$7,
  9594. h: processRelativeTime$7,
  9595. hh: processRelativeTime$7,
  9596. d: processRelativeTime$7,
  9597. dd: processRelativeTime$7,
  9598. M: processRelativeTime$7,
  9599. MM: processRelativeTime$7,
  9600. y: processRelativeTime$7,
  9601. yy: processRelativeTime$7,
  9602. },
  9603. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9604. ordinal: '%d.',
  9605. week: {
  9606. dow: 1, // Monday is the first day of the week.
  9607. doy: 7, // The week that contains Jan 7th is the first week of the year.
  9608. },
  9609. });
  9610. //! moment.js locale configuration
  9611. moment.defineLocale('sq', {
  9612. months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split(
  9613. '_'
  9614. ),
  9615. monthsShort: 'Jan_Shk_Mar_Pri_Maj_Qer_Kor_Gus_Sht_Tet_Nën_Dhj'.split('_'),
  9616. weekdays: 'E Diel_E Hënë_E Martë_E Mërkurë_E Enjte_E Premte_E Shtunë'.split(
  9617. '_'
  9618. ),
  9619. weekdaysShort: 'Die_Hën_Mar_Mër_Enj_Pre_Sht'.split('_'),
  9620. weekdaysMin: 'D_H_Ma_Më_E_P_Sh'.split('_'),
  9621. weekdaysParseExact: true,
  9622. meridiemParse: /PD|MD/,
  9623. isPM: function (input) {
  9624. return input.charAt(0) === 'M';
  9625. },
  9626. meridiem: function (hours, minutes, isLower) {
  9627. return hours < 12 ? 'PD' : 'MD';
  9628. },
  9629. longDateFormat: {
  9630. LT: 'HH:mm',
  9631. LTS: 'HH:mm:ss',
  9632. L: 'DD/MM/YYYY',
  9633. LL: 'D MMMM YYYY',
  9634. LLL: 'D MMMM YYYY HH:mm',
  9635. LLLL: 'dddd, D MMMM YYYY HH:mm',
  9636. },
  9637. calendar: {
  9638. sameDay: '[Sot në] LT',
  9639. nextDay: '[Nesër në] LT',
  9640. nextWeek: 'dddd [në] LT',
  9641. lastDay: '[Dje në] LT',
  9642. lastWeek: 'dddd [e kaluar në] LT',
  9643. sameElse: 'L',
  9644. },
  9645. relativeTime: {
  9646. future: 'në %s',
  9647. past: '%s më parë',
  9648. s: 'disa sekonda',
  9649. ss: '%d sekonda',
  9650. m: 'një minutë',
  9651. mm: '%d minuta',
  9652. h: 'një orë',
  9653. hh: '%d orë',
  9654. d: 'një ditë',
  9655. dd: '%d ditë',
  9656. M: 'një muaj',
  9657. MM: '%d muaj',
  9658. y: 'një vit',
  9659. yy: '%d vite',
  9660. },
  9661. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9662. ordinal: '%d.',
  9663. week: {
  9664. dow: 1, // Monday is the first day of the week.
  9665. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9666. },
  9667. });
  9668. //! moment.js locale configuration
  9669. var translator$1 = {
  9670. words: {
  9671. //Different grammatical cases
  9672. ss: ['секунда', 'секунде', 'секунди'],
  9673. m: ['један минут', 'једне минуте'],
  9674. mm: ['минут', 'минуте', 'минута'],
  9675. h: ['један сат', 'једног сата'],
  9676. hh: ['сат', 'сата', 'сати'],
  9677. dd: ['дан', 'дана', 'дана'],
  9678. MM: ['месец', 'месеца', 'месеци'],
  9679. yy: ['година', 'године', 'година'],
  9680. },
  9681. correctGrammaticalCase: function (number, wordKey) {
  9682. return number === 1
  9683. ? wordKey[0]
  9684. : number >= 2 && number <= 4
  9685. ? wordKey[1]
  9686. : wordKey[2];
  9687. },
  9688. translate: function (number, withoutSuffix, key) {
  9689. var wordKey = translator$1.words[key];
  9690. if (key.length === 1) {
  9691. return withoutSuffix ? wordKey[0] : wordKey[1];
  9692. } else {
  9693. return (
  9694. number +
  9695. ' ' +
  9696. translator$1.correctGrammaticalCase(number, wordKey)
  9697. );
  9698. }
  9699. },
  9700. };
  9701. moment.defineLocale('sr-cyrl', {
  9702. months: 'јануар_фебруар_март_април_мај_јун_јул_август_септембар_октобар_новембар_децембар'.split(
  9703. '_'
  9704. ),
  9705. monthsShort: 'јан._феб._мар._апр._мај_јун_јул_авг._сеп._окт._нов._дец.'.split(
  9706. '_'
  9707. ),
  9708. monthsParseExact: true,
  9709. weekdays: 'недеља_понедељак_уторак_среда_четвртак_петак_субота'.split('_'),
  9710. weekdaysShort: 'нед._пон._уто._сре._чет._пет._суб.'.split('_'),
  9711. weekdaysMin: 'не_по_ут_ср_че_пе_су'.split('_'),
  9712. weekdaysParseExact: true,
  9713. longDateFormat: {
  9714. LT: 'H:mm',
  9715. LTS: 'H:mm:ss',
  9716. L: 'D. M. YYYY.',
  9717. LL: 'D. MMMM YYYY.',
  9718. LLL: 'D. MMMM YYYY. H:mm',
  9719. LLLL: 'dddd, D. MMMM YYYY. H:mm',
  9720. },
  9721. calendar: {
  9722. sameDay: '[данас у] LT',
  9723. nextDay: '[сутра у] LT',
  9724. nextWeek: function () {
  9725. switch (this.day()) {
  9726. case 0:
  9727. return '[у] [недељу] [у] LT';
  9728. case 3:
  9729. return '[у] [среду] [у] LT';
  9730. case 6:
  9731. return '[у] [суботу] [у] LT';
  9732. case 1:
  9733. case 2:
  9734. case 4:
  9735. case 5:
  9736. return '[у] dddd [у] LT';
  9737. }
  9738. },
  9739. lastDay: '[јуче у] LT',
  9740. lastWeek: function () {
  9741. var lastWeekDays = [
  9742. '[прошле] [недеље] [у] LT',
  9743. '[прошлог] [понедељка] [у] LT',
  9744. '[прошлог] [уторка] [у] LT',
  9745. '[прошле] [среде] [у] LT',
  9746. '[прошлог] [четвртка] [у] LT',
  9747. '[прошлог] [петка] [у] LT',
  9748. '[прошле] [суботе] [у] LT',
  9749. ];
  9750. return lastWeekDays[this.day()];
  9751. },
  9752. sameElse: 'L',
  9753. },
  9754. relativeTime: {
  9755. future: 'за %s',
  9756. past: 'пре %s',
  9757. s: 'неколико секунди',
  9758. ss: translator$1.translate,
  9759. m: translator$1.translate,
  9760. mm: translator$1.translate,
  9761. h: translator$1.translate,
  9762. hh: translator$1.translate,
  9763. d: 'дан',
  9764. dd: translator$1.translate,
  9765. M: 'месец',
  9766. MM: translator$1.translate,
  9767. y: 'годину',
  9768. yy: translator$1.translate,
  9769. },
  9770. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9771. ordinal: '%d.',
  9772. week: {
  9773. dow: 1, // Monday is the first day of the week.
  9774. doy: 7, // The week that contains Jan 1st is the first week of the year.
  9775. },
  9776. });
  9777. //! moment.js locale configuration
  9778. var translator$2 = {
  9779. words: {
  9780. //Different grammatical cases
  9781. ss: ['sekunda', 'sekunde', 'sekundi'],
  9782. m: ['jedan minut', 'jedne minute'],
  9783. mm: ['minut', 'minute', 'minuta'],
  9784. h: ['jedan sat', 'jednog sata'],
  9785. hh: ['sat', 'sata', 'sati'],
  9786. dd: ['dan', 'dana', 'dana'],
  9787. MM: ['mesec', 'meseca', 'meseci'],
  9788. yy: ['godina', 'godine', 'godina'],
  9789. },
  9790. correctGrammaticalCase: function (number, wordKey) {
  9791. return number === 1
  9792. ? wordKey[0]
  9793. : number >= 2 && number <= 4
  9794. ? wordKey[1]
  9795. : wordKey[2];
  9796. },
  9797. translate: function (number, withoutSuffix, key) {
  9798. var wordKey = translator$2.words[key];
  9799. if (key.length === 1) {
  9800. return withoutSuffix ? wordKey[0] : wordKey[1];
  9801. } else {
  9802. return (
  9803. number +
  9804. ' ' +
  9805. translator$2.correctGrammaticalCase(number, wordKey)
  9806. );
  9807. }
  9808. },
  9809. };
  9810. moment.defineLocale('sr', {
  9811. months: 'januar_februar_mart_april_maj_jun_jul_avgust_septembar_oktobar_novembar_decembar'.split(
  9812. '_'
  9813. ),
  9814. monthsShort: 'jan._feb._mar._apr._maj_jun_jul_avg._sep._okt._nov._dec.'.split(
  9815. '_'
  9816. ),
  9817. monthsParseExact: true,
  9818. weekdays: 'nedelja_ponedeljak_utorak_sreda_četvrtak_petak_subota'.split(
  9819. '_'
  9820. ),
  9821. weekdaysShort: 'ned._pon._uto._sre._čet._pet._sub.'.split('_'),
  9822. weekdaysMin: 'ne_po_ut_sr_če_pe_su'.split('_'),
  9823. weekdaysParseExact: true,
  9824. longDateFormat: {
  9825. LT: 'H:mm',
  9826. LTS: 'H:mm:ss',
  9827. L: 'D. M. YYYY.',
  9828. LL: 'D. MMMM YYYY.',
  9829. LLL: 'D. MMMM YYYY. H:mm',
  9830. LLLL: 'dddd, D. MMMM YYYY. H:mm',
  9831. },
  9832. calendar: {
  9833. sameDay: '[danas u] LT',
  9834. nextDay: '[sutra u] LT',
  9835. nextWeek: function () {
  9836. switch (this.day()) {
  9837. case 0:
  9838. return '[u] [nedelju] [u] LT';
  9839. case 3:
  9840. return '[u] [sredu] [u] LT';
  9841. case 6:
  9842. return '[u] [subotu] [u] LT';
  9843. case 1:
  9844. case 2:
  9845. case 4:
  9846. case 5:
  9847. return '[u] dddd [u] LT';
  9848. }
  9849. },
  9850. lastDay: '[juče u] LT',
  9851. lastWeek: function () {
  9852. var lastWeekDays = [
  9853. '[prošle] [nedelje] [u] LT',
  9854. '[prošlog] [ponedeljka] [u] LT',
  9855. '[prošlog] [utorka] [u] LT',
  9856. '[prošle] [srede] [u] LT',
  9857. '[prošlog] [četvrtka] [u] LT',
  9858. '[prošlog] [petka] [u] LT',
  9859. '[prošle] [subote] [u] LT',
  9860. ];
  9861. return lastWeekDays[this.day()];
  9862. },
  9863. sameElse: 'L',
  9864. },
  9865. relativeTime: {
  9866. future: 'za %s',
  9867. past: 'pre %s',
  9868. s: 'nekoliko sekundi',
  9869. ss: translator$2.translate,
  9870. m: translator$2.translate,
  9871. mm: translator$2.translate,
  9872. h: translator$2.translate,
  9873. hh: translator$2.translate,
  9874. d: 'dan',
  9875. dd: translator$2.translate,
  9876. M: 'mesec',
  9877. MM: translator$2.translate,
  9878. y: 'godinu',
  9879. yy: translator$2.translate,
  9880. },
  9881. dayOfMonthOrdinalParse: /\d{1,2}\./,
  9882. ordinal: '%d.',
  9883. week: {
  9884. dow: 1, // Monday is the first day of the week.
  9885. doy: 7, // The week that contains Jan 7th is the first week of the year.
  9886. },
  9887. });
  9888. //! moment.js locale configuration
  9889. moment.defineLocale('ss', {
  9890. months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split(
  9891. '_'
  9892. ),
  9893. monthsShort: 'Bhi_Ina_Inu_Mab_Ink_Inh_Kho_Igc_Iny_Imp_Lwe_Igo'.split('_'),
  9894. weekdays: 'Lisontfo_Umsombuluko_Lesibili_Lesitsatfu_Lesine_Lesihlanu_Umgcibelo'.split(
  9895. '_'
  9896. ),
  9897. weekdaysShort: 'Lis_Umb_Lsb_Les_Lsi_Lsh_Umg'.split('_'),
  9898. weekdaysMin: 'Li_Us_Lb_Lt_Ls_Lh_Ug'.split('_'),
  9899. weekdaysParseExact: true,
  9900. longDateFormat: {
  9901. LT: 'h:mm A',
  9902. LTS: 'h:mm:ss A',
  9903. L: 'DD/MM/YYYY',
  9904. LL: 'D MMMM YYYY',
  9905. LLL: 'D MMMM YYYY h:mm A',
  9906. LLLL: 'dddd, D MMMM YYYY h:mm A',
  9907. },
  9908. calendar: {
  9909. sameDay: '[Namuhla nga] LT',
  9910. nextDay: '[Kusasa nga] LT',
  9911. nextWeek: 'dddd [nga] LT',
  9912. lastDay: '[Itolo nga] LT',
  9913. lastWeek: 'dddd [leliphelile] [nga] LT',
  9914. sameElse: 'L',
  9915. },
  9916. relativeTime: {
  9917. future: 'nga %s',
  9918. past: 'wenteka nga %s',
  9919. s: 'emizuzwana lomcane',
  9920. ss: '%d mzuzwana',
  9921. m: 'umzuzu',
  9922. mm: '%d emizuzu',
  9923. h: 'lihora',
  9924. hh: '%d emahora',
  9925. d: 'lilanga',
  9926. dd: '%d emalanga',
  9927. M: 'inyanga',
  9928. MM: '%d tinyanga',
  9929. y: 'umnyaka',
  9930. yy: '%d iminyaka',
  9931. },
  9932. meridiemParse: /ekuseni|emini|entsambama|ebusuku/,
  9933. meridiem: function (hours, minutes, isLower) {
  9934. if (hours < 11) {
  9935. return 'ekuseni';
  9936. } else if (hours < 15) {
  9937. return 'emini';
  9938. } else if (hours < 19) {
  9939. return 'entsambama';
  9940. } else {
  9941. return 'ebusuku';
  9942. }
  9943. },
  9944. meridiemHour: function (hour, meridiem) {
  9945. if (hour === 12) {
  9946. hour = 0;
  9947. }
  9948. if (meridiem === 'ekuseni') {
  9949. return hour;
  9950. } else if (meridiem === 'emini') {
  9951. return hour >= 11 ? hour : hour + 12;
  9952. } else if (meridiem === 'entsambama' || meridiem === 'ebusuku') {
  9953. if (hour === 0) {
  9954. return 0;
  9955. }
  9956. return hour + 12;
  9957. }
  9958. },
  9959. dayOfMonthOrdinalParse: /\d{1,2}/,
  9960. ordinal: '%d',
  9961. week: {
  9962. dow: 1, // Monday is the first day of the week.
  9963. doy: 4, // The week that contains Jan 4th is the first week of the year.
  9964. },
  9965. });
  9966. //! moment.js locale configuration
  9967. moment.defineLocale('sv', {
  9968. months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split(
  9969. '_'
  9970. ),
  9971. monthsShort: 'jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec'.split('_'),
  9972. weekdays: 'söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag'.split('_'),
  9973. weekdaysShort: 'sön_mån_tis_ons_tor_fre_lör'.split('_'),
  9974. weekdaysMin: 'sö_må_ti_on_to_fr_lö'.split('_'),
  9975. longDateFormat: {
  9976. LT: 'HH:mm',
  9977. LTS: 'HH:mm:ss',
  9978. L: 'YYYY-MM-DD',
  9979. LL: 'D MMMM YYYY',
  9980. LLL: 'D MMMM YYYY [kl.] HH:mm',
  9981. LLLL: 'dddd D MMMM YYYY [kl.] HH:mm',
  9982. lll: 'D MMM YYYY HH:mm',
  9983. llll: 'ddd D MMM YYYY HH:mm',
  9984. },
  9985. calendar: {
  9986. sameDay: '[Idag] LT',
  9987. nextDay: '[Imorgon] LT',
  9988. lastDay: '[Igår] LT',
  9989. nextWeek: '[På] dddd LT',
  9990. lastWeek: '[I] dddd[s] LT',
  9991. sameElse: 'L',
  9992. },
  9993. relativeTime: {
  9994. future: 'om %s',
  9995. past: 'för %s sedan',
  9996. s: 'några sekunder',
  9997. ss: '%d sekunder',
  9998. m: 'en minut',
  9999. mm: '%d minuter',
  10000. h: 'en timme',
  10001. hh: '%d timmar',
  10002. d: 'en dag',
  10003. dd: '%d dagar',
  10004. M: 'en månad',
  10005. MM: '%d månader',
  10006. y: 'ett år',
  10007. yy: '%d år',
  10008. },
  10009. dayOfMonthOrdinalParse: /\d{1,2}(\:e|\:a)/,
  10010. ordinal: function (number) {
  10011. var b = number % 10,
  10012. output =
  10013. ~~((number % 100) / 10) === 1
  10014. ? ':e'
  10015. : b === 1
  10016. ? ':a'
  10017. : b === 2
  10018. ? ':a'
  10019. : b === 3
  10020. ? ':e'
  10021. : ':e';
  10022. return number + output;
  10023. },
  10024. week: {
  10025. dow: 1, // Monday is the first day of the week.
  10026. doy: 4, // The week that contains Jan 4th is the first week of the year.
  10027. },
  10028. });
  10029. //! moment.js locale configuration
  10030. moment.defineLocale('sw', {
  10031. months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split(
  10032. '_'
  10033. ),
  10034. monthsShort: 'Jan_Feb_Mac_Apr_Mei_Jun_Jul_Ago_Sep_Okt_Nov_Des'.split('_'),
  10035. weekdays: 'Jumapili_Jumatatu_Jumanne_Jumatano_Alhamisi_Ijumaa_Jumamosi'.split(
  10036. '_'
  10037. ),
  10038. weekdaysShort: 'Jpl_Jtat_Jnne_Jtan_Alh_Ijm_Jmos'.split('_'),
  10039. weekdaysMin: 'J2_J3_J4_J5_Al_Ij_J1'.split('_'),
  10040. weekdaysParseExact: true,
  10041. longDateFormat: {
  10042. LT: 'hh:mm A',
  10043. LTS: 'HH:mm:ss',
  10044. L: 'DD.MM.YYYY',
  10045. LL: 'D MMMM YYYY',
  10046. LLL: 'D MMMM YYYY HH:mm',
  10047. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10048. },
  10049. calendar: {
  10050. sameDay: '[leo saa] LT',
  10051. nextDay: '[kesho saa] LT',
  10052. nextWeek: '[wiki ijayo] dddd [saat] LT',
  10053. lastDay: '[jana] LT',
  10054. lastWeek: '[wiki iliyopita] dddd [saat] LT',
  10055. sameElse: 'L',
  10056. },
  10057. relativeTime: {
  10058. future: '%s baadaye',
  10059. past: 'tokea %s',
  10060. s: 'hivi punde',
  10061. ss: 'sekunde %d',
  10062. m: 'dakika moja',
  10063. mm: 'dakika %d',
  10064. h: 'saa limoja',
  10065. hh: 'masaa %d',
  10066. d: 'siku moja',
  10067. dd: 'siku %d',
  10068. M: 'mwezi mmoja',
  10069. MM: 'miezi %d',
  10070. y: 'mwaka mmoja',
  10071. yy: 'miaka %d',
  10072. },
  10073. week: {
  10074. dow: 1, // Monday is the first day of the week.
  10075. doy: 7, // The week that contains Jan 7th is the first week of the year.
  10076. },
  10077. });
  10078. //! moment.js locale configuration
  10079. var symbolMap$g = {
  10080. 1: '௧',
  10081. 2: '௨',
  10082. 3: '௩',
  10083. 4: '௪',
  10084. 5: '௫',
  10085. 6: '௬',
  10086. 7: '௭',
  10087. 8: '௮',
  10088. 9: '௯',
  10089. 0: '௦',
  10090. },
  10091. numberMap$f = {
  10092. '௧': '1',
  10093. '௨': '2',
  10094. '௩': '3',
  10095. '௪': '4',
  10096. '௫': '5',
  10097. '௬': '6',
  10098. '௭': '7',
  10099. '௮': '8',
  10100. '௯': '9',
  10101. '௦': '0',
  10102. };
  10103. moment.defineLocale('ta', {
  10104. months: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(
  10105. '_'
  10106. ),
  10107. monthsShort: 'ஜனவரி_பிப்ரவரி_மார்ச்_ஏப்ரல்_மே_ஜூன்_ஜூலை_ஆகஸ்ட்_செப்டெம்பர்_அக்டோபர்_நவம்பர்_டிசம்பர்'.split(
  10108. '_'
  10109. ),
  10110. weekdays: 'ஞாயிற்றுக்கிழமை_திங்கட்கிழமை_செவ்வாய்கிழமை_புதன்கிழமை_வியாழக்கிழமை_வெள்ளிக்கிழமை_சனிக்கிழமை'.split(
  10111. '_'
  10112. ),
  10113. weekdaysShort: 'ஞாயிறு_திங்கள்_செவ்வாய்_புதன்_வியாழன்_வெள்ளி_சனி'.split(
  10114. '_'
  10115. ),
  10116. weekdaysMin: 'ஞா_தி_செ_பு_வி_வெ_ச'.split('_'),
  10117. longDateFormat: {
  10118. LT: 'HH:mm',
  10119. LTS: 'HH:mm:ss',
  10120. L: 'DD/MM/YYYY',
  10121. LL: 'D MMMM YYYY',
  10122. LLL: 'D MMMM YYYY, HH:mm',
  10123. LLLL: 'dddd, D MMMM YYYY, HH:mm',
  10124. },
  10125. calendar: {
  10126. sameDay: '[இன்று] LT',
  10127. nextDay: '[நாளை] LT',
  10128. nextWeek: 'dddd, LT',
  10129. lastDay: '[நேற்று] LT',
  10130. lastWeek: '[கடந்த வாரம்] dddd, LT',
  10131. sameElse: 'L',
  10132. },
  10133. relativeTime: {
  10134. future: '%s இல்',
  10135. past: '%s முன்',
  10136. s: 'ஒரு சில விநாடிகள்',
  10137. ss: '%d விநாடிகள்',
  10138. m: 'ஒரு நிமிடம்',
  10139. mm: '%d நிமிடங்கள்',
  10140. h: 'ஒரு மணி நேரம்',
  10141. hh: '%d மணி நேரம்',
  10142. d: 'ஒரு நாள்',
  10143. dd: '%d நாட்கள்',
  10144. M: 'ஒரு மாதம்',
  10145. MM: '%d மாதங்கள்',
  10146. y: 'ஒரு வருடம்',
  10147. yy: '%d ஆண்டுகள்',
  10148. },
  10149. dayOfMonthOrdinalParse: /\d{1,2}வது/,
  10150. ordinal: function (number) {
  10151. return number + 'வது';
  10152. },
  10153. preparse: function (string) {
  10154. return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {
  10155. return numberMap$f[match];
  10156. });
  10157. },
  10158. postformat: function (string) {
  10159. return string.replace(/\d/g, function (match) {
  10160. return symbolMap$g[match];
  10161. });
  10162. },
  10163. // refer http://ta.wikipedia.org/s/1er1
  10164. meridiemParse: /யாமம்|வைகறை|காலை|நண்பகல்|எற்பாடு|மாலை/,
  10165. meridiem: function (hour, minute, isLower) {
  10166. if (hour < 2) {
  10167. return ' யாமம்';
  10168. } else if (hour < 6) {
  10169. return ' வைகறை'; // வைகறை
  10170. } else if (hour < 10) {
  10171. return ' காலை'; // காலை
  10172. } else if (hour < 14) {
  10173. return ' நண்பகல்'; // நண்பகல்
  10174. } else if (hour < 18) {
  10175. return ' எற்பாடு'; // எற்பாடு
  10176. } else if (hour < 22) {
  10177. return ' மாலை'; // மாலை
  10178. } else {
  10179. return ' யாமம்';
  10180. }
  10181. },
  10182. meridiemHour: function (hour, meridiem) {
  10183. if (hour === 12) {
  10184. hour = 0;
  10185. }
  10186. if (meridiem === 'யாமம்') {
  10187. return hour < 2 ? hour : hour + 12;
  10188. } else if (meridiem === 'வைகறை' || meridiem === 'காலை') {
  10189. return hour;
  10190. } else if (meridiem === 'நண்பகல்') {
  10191. return hour >= 10 ? hour : hour + 12;
  10192. } else {
  10193. return hour + 12;
  10194. }
  10195. },
  10196. week: {
  10197. dow: 0, // Sunday is the first day of the week.
  10198. doy: 6, // The week that contains Jan 6th is the first week of the year.
  10199. },
  10200. });
  10201. //! moment.js locale configuration
  10202. moment.defineLocale('te', {
  10203. months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split(
  10204. '_'
  10205. ),
  10206. monthsShort: 'జన._ఫిబ్ర._మార్చి_ఏప్రి._మే_జూన్_జులై_ఆగ._సెప్._అక్టో._నవ._డిసె.'.split(
  10207. '_'
  10208. ),
  10209. monthsParseExact: true,
  10210. weekdays: 'ఆదివారం_సోమవారం_మంగళవారం_బుధవారం_గురువారం_శుక్రవారం_శనివారం'.split(
  10211. '_'
  10212. ),
  10213. weekdaysShort: 'ఆది_సోమ_మంగళ_బుధ_గురు_శుక్ర_శని'.split('_'),
  10214. weekdaysMin: 'ఆ_సో_మం_బు_గు_శు_శ'.split('_'),
  10215. longDateFormat: {
  10216. LT: 'A h:mm',
  10217. LTS: 'A h:mm:ss',
  10218. L: 'DD/MM/YYYY',
  10219. LL: 'D MMMM YYYY',
  10220. LLL: 'D MMMM YYYY, A h:mm',
  10221. LLLL: 'dddd, D MMMM YYYY, A h:mm',
  10222. },
  10223. calendar: {
  10224. sameDay: '[నేడు] LT',
  10225. nextDay: '[రేపు] LT',
  10226. nextWeek: 'dddd, LT',
  10227. lastDay: '[నిన్న] LT',
  10228. lastWeek: '[గత] dddd, LT',
  10229. sameElse: 'L',
  10230. },
  10231. relativeTime: {
  10232. future: '%s లో',
  10233. past: '%s క్రితం',
  10234. s: 'కొన్ని క్షణాలు',
  10235. ss: '%d సెకన్లు',
  10236. m: 'ఒక నిమిషం',
  10237. mm: '%d నిమిషాలు',
  10238. h: 'ఒక గంట',
  10239. hh: '%d గంటలు',
  10240. d: 'ఒక రోజు',
  10241. dd: '%d రోజులు',
  10242. M: 'ఒక నెల',
  10243. MM: '%d నెలలు',
  10244. y: 'ఒక సంవత్సరం',
  10245. yy: '%d సంవత్సరాలు',
  10246. },
  10247. dayOfMonthOrdinalParse: /\d{1,2}వ/,
  10248. ordinal: '%dవ',
  10249. meridiemParse: /రాత్రి|ఉదయం|మధ్యాహ్నం|సాయంత్రం/,
  10250. meridiemHour: function (hour, meridiem) {
  10251. if (hour === 12) {
  10252. hour = 0;
  10253. }
  10254. if (meridiem === 'రాత్రి') {
  10255. return hour < 4 ? hour : hour + 12;
  10256. } else if (meridiem === 'ఉదయం') {
  10257. return hour;
  10258. } else if (meridiem === 'మధ్యాహ్నం') {
  10259. return hour >= 10 ? hour : hour + 12;
  10260. } else if (meridiem === 'సాయంత్రం') {
  10261. return hour + 12;
  10262. }
  10263. },
  10264. meridiem: function (hour, minute, isLower) {
  10265. if (hour < 4) {
  10266. return 'రాత్రి';
  10267. } else if (hour < 10) {
  10268. return 'ఉదయం';
  10269. } else if (hour < 17) {
  10270. return 'మధ్యాహ్నం';
  10271. } else if (hour < 20) {
  10272. return 'సాయంత్రం';
  10273. } else {
  10274. return 'రాత్రి';
  10275. }
  10276. },
  10277. week: {
  10278. dow: 0, // Sunday is the first day of the week.
  10279. doy: 6, // The week that contains Jan 6th is the first week of the year.
  10280. },
  10281. });
  10282. //! moment.js locale configuration
  10283. moment.defineLocale('tet', {
  10284. months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split(
  10285. '_'
  10286. ),
  10287. monthsShort: 'Jan_Fev_Mar_Abr_Mai_Jun_Jul_Ago_Set_Out_Nov_Dez'.split('_'),
  10288. weekdays: 'Domingu_Segunda_Tersa_Kuarta_Kinta_Sesta_Sabadu'.split('_'),
  10289. weekdaysShort: 'Dom_Seg_Ters_Kua_Kint_Sest_Sab'.split('_'),
  10290. weekdaysMin: 'Do_Seg_Te_Ku_Ki_Ses_Sa'.split('_'),
  10291. longDateFormat: {
  10292. LT: 'HH:mm',
  10293. LTS: 'HH:mm:ss',
  10294. L: 'DD/MM/YYYY',
  10295. LL: 'D MMMM YYYY',
  10296. LLL: 'D MMMM YYYY HH:mm',
  10297. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10298. },
  10299. calendar: {
  10300. sameDay: '[Ohin iha] LT',
  10301. nextDay: '[Aban iha] LT',
  10302. nextWeek: 'dddd [iha] LT',
  10303. lastDay: '[Horiseik iha] LT',
  10304. lastWeek: 'dddd [semana kotuk] [iha] LT',
  10305. sameElse: 'L',
  10306. },
  10307. relativeTime: {
  10308. future: 'iha %s',
  10309. past: '%s liuba',
  10310. s: 'segundu balun',
  10311. ss: 'segundu %d',
  10312. m: 'minutu ida',
  10313. mm: 'minutu %d',
  10314. h: 'oras ida',
  10315. hh: 'oras %d',
  10316. d: 'loron ida',
  10317. dd: 'loron %d',
  10318. M: 'fulan ida',
  10319. MM: 'fulan %d',
  10320. y: 'tinan ida',
  10321. yy: 'tinan %d',
  10322. },
  10323. dayOfMonthOrdinalParse: /\d{1,2}(st|nd|rd|th)/,
  10324. ordinal: function (number) {
  10325. var b = number % 10,
  10326. output =
  10327. ~~((number % 100) / 10) === 1
  10328. ? 'th'
  10329. : b === 1
  10330. ? 'st'
  10331. : b === 2
  10332. ? 'nd'
  10333. : b === 3
  10334. ? 'rd'
  10335. : 'th';
  10336. return number + output;
  10337. },
  10338. week: {
  10339. dow: 1, // Monday is the first day of the week.
  10340. doy: 4, // The week that contains Jan 4th is the first week of the year.
  10341. },
  10342. });
  10343. //! moment.js locale configuration
  10344. var suffixes$3 = {
  10345. 0: '-ум',
  10346. 1: '-ум',
  10347. 2: '-юм',
  10348. 3: '-юм',
  10349. 4: '-ум',
  10350. 5: '-ум',
  10351. 6: '-ум',
  10352. 7: '-ум',
  10353. 8: '-ум',
  10354. 9: '-ум',
  10355. 10: '-ум',
  10356. 12: '-ум',
  10357. 13: '-ум',
  10358. 20: '-ум',
  10359. 30: '-юм',
  10360. 40: '-ум',
  10361. 50: '-ум',
  10362. 60: '-ум',
  10363. 70: '-ум',
  10364. 80: '-ум',
  10365. 90: '-ум',
  10366. 100: '-ум',
  10367. };
  10368. moment.defineLocale('tg', {
  10369. months: {
  10370. format: 'январи_феврали_марти_апрели_майи_июни_июли_августи_сентябри_октябри_ноябри_декабри'.split(
  10371. '_'
  10372. ),
  10373. standalone: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
  10374. '_'
  10375. ),
  10376. },
  10377. monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
  10378. weekdays: 'якшанбе_душанбе_сешанбе_чоршанбе_панҷшанбе_ҷумъа_шанбе'.split(
  10379. '_'
  10380. ),
  10381. weekdaysShort: 'яшб_дшб_сшб_чшб_пшб_ҷум_шнб'.split('_'),
  10382. weekdaysMin: 'яш_дш_сш_чш_пш_ҷм_шб'.split('_'),
  10383. longDateFormat: {
  10384. LT: 'HH:mm',
  10385. LTS: 'HH:mm:ss',
  10386. L: 'DD.MM.YYYY',
  10387. LL: 'D MMMM YYYY',
  10388. LLL: 'D MMMM YYYY HH:mm',
  10389. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10390. },
  10391. calendar: {
  10392. sameDay: '[Имрӯз соати] LT',
  10393. nextDay: '[Фардо соати] LT',
  10394. lastDay: '[Дирӯз соати] LT',
  10395. nextWeek: 'dddd[и] [ҳафтаи оянда соати] LT',
  10396. lastWeek: 'dddd[и] [ҳафтаи гузашта соати] LT',
  10397. sameElse: 'L',
  10398. },
  10399. relativeTime: {
  10400. future: 'баъди %s',
  10401. past: '%s пеш',
  10402. s: 'якчанд сония',
  10403. m: 'як дақиқа',
  10404. mm: '%d дақиқа',
  10405. h: 'як соат',
  10406. hh: '%d соат',
  10407. d: 'як рӯз',
  10408. dd: '%d рӯз',
  10409. M: 'як моҳ',
  10410. MM: '%d моҳ',
  10411. y: 'як сол',
  10412. yy: '%d сол',
  10413. },
  10414. meridiemParse: /шаб|субҳ|рӯз|бегоҳ/,
  10415. meridiemHour: function (hour, meridiem) {
  10416. if (hour === 12) {
  10417. hour = 0;
  10418. }
  10419. if (meridiem === 'шаб') {
  10420. return hour < 4 ? hour : hour + 12;
  10421. } else if (meridiem === 'субҳ') {
  10422. return hour;
  10423. } else if (meridiem === 'рӯз') {
  10424. return hour >= 11 ? hour : hour + 12;
  10425. } else if (meridiem === 'бегоҳ') {
  10426. return hour + 12;
  10427. }
  10428. },
  10429. meridiem: function (hour, minute, isLower) {
  10430. if (hour < 4) {
  10431. return 'шаб';
  10432. } else if (hour < 11) {
  10433. return 'субҳ';
  10434. } else if (hour < 16) {
  10435. return 'рӯз';
  10436. } else if (hour < 19) {
  10437. return 'бегоҳ';
  10438. } else {
  10439. return 'шаб';
  10440. }
  10441. },
  10442. dayOfMonthOrdinalParse: /\d{1,2}-(ум|юм)/,
  10443. ordinal: function (number) {
  10444. var a = number % 10,
  10445. b = number >= 100 ? 100 : null;
  10446. return number + (suffixes$3[number] || suffixes$3[a] || suffixes$3[b]);
  10447. },
  10448. week: {
  10449. dow: 1, // Monday is the first day of the week.
  10450. doy: 7, // The week that contains Jan 1th is the first week of the year.
  10451. },
  10452. });
  10453. //! moment.js locale configuration
  10454. moment.defineLocale('th', {
  10455. months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split(
  10456. '_'
  10457. ),
  10458. monthsShort: 'ม.ค._ก.พ._มี.ค._เม.ย._พ.ค._มิ.ย._ก.ค._ส.ค._ก.ย._ต.ค._พ.ย._ธ.ค.'.split(
  10459. '_'
  10460. ),
  10461. monthsParseExact: true,
  10462. weekdays: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัสบดี_ศุกร์_เสาร์'.split('_'),
  10463. weekdaysShort: 'อาทิตย์_จันทร์_อังคาร_พุธ_พฤหัส_ศุกร์_เสาร์'.split('_'), // yes, three characters difference
  10464. weekdaysMin: 'อา._จ._อ._พ._พฤ._ศ._ส.'.split('_'),
  10465. weekdaysParseExact: true,
  10466. longDateFormat: {
  10467. LT: 'H:mm',
  10468. LTS: 'H:mm:ss',
  10469. L: 'DD/MM/YYYY',
  10470. LL: 'D MMMM YYYY',
  10471. LLL: 'D MMMM YYYY เวลา H:mm',
  10472. LLLL: 'วันddddที่ D MMMM YYYY เวลา H:mm',
  10473. },
  10474. meridiemParse: /ก่อนเที่ยง|หลังเที่ยง/,
  10475. isPM: function (input) {
  10476. return input === 'หลังเที่ยง';
  10477. },
  10478. meridiem: function (hour, minute, isLower) {
  10479. if (hour < 12) {
  10480. return 'ก่อนเที่ยง';
  10481. } else {
  10482. return 'หลังเที่ยง';
  10483. }
  10484. },
  10485. calendar: {
  10486. sameDay: '[วันนี้ เวลา] LT',
  10487. nextDay: '[พรุ่งนี้ เวลา] LT',
  10488. nextWeek: 'dddd[หน้า เวลา] LT',
  10489. lastDay: '[เมื่อวานนี้ เวลา] LT',
  10490. lastWeek: '[วัน]dddd[ที่แล้ว เวลา] LT',
  10491. sameElse: 'L',
  10492. },
  10493. relativeTime: {
  10494. future: 'อีก %s',
  10495. past: '%sที่แล้ว',
  10496. s: 'ไม่กี่วินาที',
  10497. ss: '%d วินาที',
  10498. m: '1 นาที',
  10499. mm: '%d นาที',
  10500. h: '1 ชั่วโมง',
  10501. hh: '%d ชั่วโมง',
  10502. d: '1 วัน',
  10503. dd: '%d วัน',
  10504. w: '1 สัปดาห์',
  10505. ww: '%d สัปดาห์',
  10506. M: '1 เดือน',
  10507. MM: '%d เดือน',
  10508. y: '1 ปี',
  10509. yy: '%d ปี',
  10510. },
  10511. });
  10512. //! moment.js locale configuration
  10513. var suffixes$4 = {
  10514. 1: "'inji",
  10515. 5: "'inji",
  10516. 8: "'inji",
  10517. 70: "'inji",
  10518. 80: "'inji",
  10519. 2: "'nji",
  10520. 7: "'nji",
  10521. 20: "'nji",
  10522. 50: "'nji",
  10523. 3: "'ünji",
  10524. 4: "'ünji",
  10525. 100: "'ünji",
  10526. 6: "'njy",
  10527. 9: "'unjy",
  10528. 10: "'unjy",
  10529. 30: "'unjy",
  10530. 60: "'ynjy",
  10531. 90: "'ynjy",
  10532. };
  10533. moment.defineLocale('tk', {
  10534. months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split(
  10535. '_'
  10536. ),
  10537. monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'),
  10538. weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split(
  10539. '_'
  10540. ),
  10541. weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'),
  10542. weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'),
  10543. longDateFormat: {
  10544. LT: 'HH:mm',
  10545. LTS: 'HH:mm:ss',
  10546. L: 'DD.MM.YYYY',
  10547. LL: 'D MMMM YYYY',
  10548. LLL: 'D MMMM YYYY HH:mm',
  10549. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10550. },
  10551. calendar: {
  10552. sameDay: '[bugün sagat] LT',
  10553. nextDay: '[ertir sagat] LT',
  10554. nextWeek: '[indiki] dddd [sagat] LT',
  10555. lastDay: '[düýn] LT',
  10556. lastWeek: '[geçen] dddd [sagat] LT',
  10557. sameElse: 'L',
  10558. },
  10559. relativeTime: {
  10560. future: '%s soň',
  10561. past: '%s öň',
  10562. s: 'birnäçe sekunt',
  10563. m: 'bir minut',
  10564. mm: '%d minut',
  10565. h: 'bir sagat',
  10566. hh: '%d sagat',
  10567. d: 'bir gün',
  10568. dd: '%d gün',
  10569. M: 'bir aý',
  10570. MM: '%d aý',
  10571. y: 'bir ýyl',
  10572. yy: '%d ýyl',
  10573. },
  10574. ordinal: function (number, period) {
  10575. switch (period) {
  10576. case 'd':
  10577. case 'D':
  10578. case 'Do':
  10579. case 'DD':
  10580. return number;
  10581. default:
  10582. if (number === 0) {
  10583. // special case for zero
  10584. return number + "'unjy";
  10585. }
  10586. var a = number % 10,
  10587. b = (number % 100) - a,
  10588. c = number >= 100 ? 100 : null;
  10589. return number + (suffixes$4[a] || suffixes$4[b] || suffixes$4[c]);
  10590. }
  10591. },
  10592. week: {
  10593. dow: 1, // Monday is the first day of the week.
  10594. doy: 7, // The week that contains Jan 7th is the first week of the year.
  10595. },
  10596. });
  10597. //! moment.js locale configuration
  10598. moment.defineLocale('tl-ph', {
  10599. months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
  10600. '_'
  10601. ),
  10602. monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
  10603. weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
  10604. '_'
  10605. ),
  10606. weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
  10607. weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
  10608. longDateFormat: {
  10609. LT: 'HH:mm',
  10610. LTS: 'HH:mm:ss',
  10611. L: 'MM/D/YYYY',
  10612. LL: 'MMMM D, YYYY',
  10613. LLL: 'MMMM D, YYYY HH:mm',
  10614. LLLL: 'dddd, MMMM DD, YYYY HH:mm',
  10615. },
  10616. calendar: {
  10617. sameDay: 'LT [ngayong araw]',
  10618. nextDay: '[Bukas ng] LT',
  10619. nextWeek: 'LT [sa susunod na] dddd',
  10620. lastDay: 'LT [kahapon]',
  10621. lastWeek: 'LT [noong nakaraang] dddd',
  10622. sameElse: 'L',
  10623. },
  10624. relativeTime: {
  10625. future: 'sa loob ng %s',
  10626. past: '%s ang nakalipas',
  10627. s: 'ilang segundo',
  10628. ss: '%d segundo',
  10629. m: 'isang minuto',
  10630. mm: '%d minuto',
  10631. h: 'isang oras',
  10632. hh: '%d oras',
  10633. d: 'isang araw',
  10634. dd: '%d araw',
  10635. M: 'isang buwan',
  10636. MM: '%d buwan',
  10637. y: 'isang taon',
  10638. yy: '%d taon',
  10639. },
  10640. dayOfMonthOrdinalParse: /\d{1,2}/,
  10641. ordinal: function (number) {
  10642. return number;
  10643. },
  10644. week: {
  10645. dow: 1, // Monday is the first day of the week.
  10646. doy: 4, // The week that contains Jan 4th is the first week of the year.
  10647. },
  10648. });
  10649. //! moment.js locale configuration
  10650. var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');
  10651. function translateFuture(output) {
  10652. var time = output;
  10653. time =
  10654. output.indexOf('jaj') !== -1
  10655. ? time.slice(0, -3) + 'leS'
  10656. : output.indexOf('jar') !== -1
  10657. ? time.slice(0, -3) + 'waQ'
  10658. : output.indexOf('DIS') !== -1
  10659. ? time.slice(0, -3) + 'nem'
  10660. : time + ' pIq';
  10661. return time;
  10662. }
  10663. function translatePast(output) {
  10664. var time = output;
  10665. time =
  10666. output.indexOf('jaj') !== -1
  10667. ? time.slice(0, -3) + 'Hu’'
  10668. : output.indexOf('jar') !== -1
  10669. ? time.slice(0, -3) + 'wen'
  10670. : output.indexOf('DIS') !== -1
  10671. ? time.slice(0, -3) + 'ben'
  10672. : time + ' ret';
  10673. return time;
  10674. }
  10675. function translate$a(number, withoutSuffix, string, isFuture) {
  10676. var numberNoun = numberAsNoun(number);
  10677. switch (string) {
  10678. case 'ss':
  10679. return numberNoun + ' lup';
  10680. case 'mm':
  10681. return numberNoun + ' tup';
  10682. case 'hh':
  10683. return numberNoun + ' rep';
  10684. case 'dd':
  10685. return numberNoun + ' jaj';
  10686. case 'MM':
  10687. return numberNoun + ' jar';
  10688. case 'yy':
  10689. return numberNoun + ' DIS';
  10690. }
  10691. }
  10692. function numberAsNoun(number) {
  10693. var hundred = Math.floor((number % 1000) / 100),
  10694. ten = Math.floor((number % 100) / 10),
  10695. one = number % 10,
  10696. word = '';
  10697. if (hundred > 0) {
  10698. word += numbersNouns[hundred] + 'vatlh';
  10699. }
  10700. if (ten > 0) {
  10701. word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH';
  10702. }
  10703. if (one > 0) {
  10704. word += (word !== '' ? ' ' : '') + numbersNouns[one];
  10705. }
  10706. return word === '' ? 'pagh' : word;
  10707. }
  10708. moment.defineLocale('tlh', {
  10709. months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split(
  10710. '_'
  10711. ),
  10712. monthsShort: 'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split(
  10713. '_'
  10714. ),
  10715. monthsParseExact: true,
  10716. weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(
  10717. '_'
  10718. ),
  10719. weekdaysShort: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(
  10720. '_'
  10721. ),
  10722. weekdaysMin: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(
  10723. '_'
  10724. ),
  10725. longDateFormat: {
  10726. LT: 'HH:mm',
  10727. LTS: 'HH:mm:ss',
  10728. L: 'DD.MM.YYYY',
  10729. LL: 'D MMMM YYYY',
  10730. LLL: 'D MMMM YYYY HH:mm',
  10731. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10732. },
  10733. calendar: {
  10734. sameDay: '[DaHjaj] LT',
  10735. nextDay: '[wa’leS] LT',
  10736. nextWeek: 'LLL',
  10737. lastDay: '[wa’Hu’] LT',
  10738. lastWeek: 'LLL',
  10739. sameElse: 'L',
  10740. },
  10741. relativeTime: {
  10742. future: translateFuture,
  10743. past: translatePast,
  10744. s: 'puS lup',
  10745. ss: translate$a,
  10746. m: 'wa’ tup',
  10747. mm: translate$a,
  10748. h: 'wa’ rep',
  10749. hh: translate$a,
  10750. d: 'wa’ jaj',
  10751. dd: translate$a,
  10752. M: 'wa’ jar',
  10753. MM: translate$a,
  10754. y: 'wa’ DIS',
  10755. yy: translate$a,
  10756. },
  10757. dayOfMonthOrdinalParse: /\d{1,2}\./,
  10758. ordinal: '%d.',
  10759. week: {
  10760. dow: 1, // Monday is the first day of the week.
  10761. doy: 4, // The week that contains Jan 4th is the first week of the year.
  10762. },
  10763. });
  10764. //! moment.js locale configuration
  10765. var suffixes$5 = {
  10766. 1: "'inci",
  10767. 5: "'inci",
  10768. 8: "'inci",
  10769. 70: "'inci",
  10770. 80: "'inci",
  10771. 2: "'nci",
  10772. 7: "'nci",
  10773. 20: "'nci",
  10774. 50: "'nci",
  10775. 3: "'üncü",
  10776. 4: "'üncü",
  10777. 100: "'üncü",
  10778. 6: "'ncı",
  10779. 9: "'uncu",
  10780. 10: "'uncu",
  10781. 30: "'uncu",
  10782. 60: "'ıncı",
  10783. 90: "'ıncı",
  10784. };
  10785. moment.defineLocale('tr', {
  10786. months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split(
  10787. '_'
  10788. ),
  10789. monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
  10790. weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split(
  10791. '_'
  10792. ),
  10793. weekdaysShort: 'Paz_Pts_Sal_Çar_Per_Cum_Cts'.split('_'),
  10794. weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
  10795. meridiem: function (hours, minutes, isLower) {
  10796. if (hours < 12) {
  10797. return isLower ? 'öö' : 'ÖÖ';
  10798. } else {
  10799. return isLower ? 'ös' : 'ÖS';
  10800. }
  10801. },
  10802. meridiemParse: /öö|ÖÖ|ös|ÖS/,
  10803. isPM: function (input) {
  10804. return input === 'ös' || input === 'ÖS';
  10805. },
  10806. longDateFormat: {
  10807. LT: 'HH:mm',
  10808. LTS: 'HH:mm:ss',
  10809. L: 'DD.MM.YYYY',
  10810. LL: 'D MMMM YYYY',
  10811. LLL: 'D MMMM YYYY HH:mm',
  10812. LLLL: 'dddd, D MMMM YYYY HH:mm',
  10813. },
  10814. calendar: {
  10815. sameDay: '[bugün saat] LT',
  10816. nextDay: '[yarın saat] LT',
  10817. nextWeek: '[gelecek] dddd [saat] LT',
  10818. lastDay: '[dün] LT',
  10819. lastWeek: '[geçen] dddd [saat] LT',
  10820. sameElse: 'L',
  10821. },
  10822. relativeTime: {
  10823. future: '%s sonra',
  10824. past: '%s önce',
  10825. s: 'birkaç saniye',
  10826. ss: '%d saniye',
  10827. m: 'bir dakika',
  10828. mm: '%d dakika',
  10829. h: 'bir saat',
  10830. hh: '%d saat',
  10831. d: 'bir gün',
  10832. dd: '%d gün',
  10833. w: 'bir hafta',
  10834. ww: '%d hafta',
  10835. M: 'bir ay',
  10836. MM: '%d ay',
  10837. y: 'bir yıl',
  10838. yy: '%d yıl',
  10839. },
  10840. ordinal: function (number, period) {
  10841. switch (period) {
  10842. case 'd':
  10843. case 'D':
  10844. case 'Do':
  10845. case 'DD':
  10846. return number;
  10847. default:
  10848. if (number === 0) {
  10849. // special case for zero
  10850. return number + "'ıncı";
  10851. }
  10852. var a = number % 10,
  10853. b = (number % 100) - a,
  10854. c = number >= 100 ? 100 : null;
  10855. return number + (suffixes$5[a] || suffixes$5[b] || suffixes$5[c]);
  10856. }
  10857. },
  10858. week: {
  10859. dow: 1, // Monday is the first day of the week.
  10860. doy: 7, // The week that contains Jan 7th is the first week of the year.
  10861. },
  10862. });
  10863. //! moment.js locale configuration
  10864. // After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
  10865. // This is currently too difficult (maybe even impossible) to add.
  10866. moment.defineLocale('tzl', {
  10867. months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split(
  10868. '_'
  10869. ),
  10870. monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
  10871. weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
  10872. weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
  10873. weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
  10874. longDateFormat: {
  10875. LT: 'HH.mm',
  10876. LTS: 'HH.mm.ss',
  10877. L: 'DD.MM.YYYY',
  10878. LL: 'D. MMMM [dallas] YYYY',
  10879. LLL: 'D. MMMM [dallas] YYYY HH.mm',
  10880. LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm',
  10881. },
  10882. meridiemParse: /d\'o|d\'a/i,
  10883. isPM: function (input) {
  10884. return "d'o" === input.toLowerCase();
  10885. },
  10886. meridiem: function (hours, minutes, isLower) {
  10887. if (hours > 11) {
  10888. return isLower ? "d'o" : "D'O";
  10889. } else {
  10890. return isLower ? "d'a" : "D'A";
  10891. }
  10892. },
  10893. calendar: {
  10894. sameDay: '[oxhi à] LT',
  10895. nextDay: '[demà à] LT',
  10896. nextWeek: 'dddd [à] LT',
  10897. lastDay: '[ieiri à] LT',
  10898. lastWeek: '[sür el] dddd [lasteu à] LT',
  10899. sameElse: 'L',
  10900. },
  10901. relativeTime: {
  10902. future: 'osprei %s',
  10903. past: 'ja%s',
  10904. s: processRelativeTime$8,
  10905. ss: processRelativeTime$8,
  10906. m: processRelativeTime$8,
  10907. mm: processRelativeTime$8,
  10908. h: processRelativeTime$8,
  10909. hh: processRelativeTime$8,
  10910. d: processRelativeTime$8,
  10911. dd: processRelativeTime$8,
  10912. M: processRelativeTime$8,
  10913. MM: processRelativeTime$8,
  10914. y: processRelativeTime$8,
  10915. yy: processRelativeTime$8,
  10916. },
  10917. dayOfMonthOrdinalParse: /\d{1,2}\./,
  10918. ordinal: '%d.',
  10919. week: {
  10920. dow: 1, // Monday is the first day of the week.
  10921. doy: 4, // The week that contains Jan 4th is the first week of the year.
  10922. },
  10923. });
  10924. function processRelativeTime$8(number, withoutSuffix, key, isFuture) {
  10925. var format = {
  10926. s: ['viensas secunds', "'iensas secunds"],
  10927. ss: [number + ' secunds', '' + number + ' secunds'],
  10928. m: ["'n míut", "'iens míut"],
  10929. mm: [number + ' míuts', '' + number + ' míuts'],
  10930. h: ["'n þora", "'iensa þora"],
  10931. hh: [number + ' þoras', '' + number + ' þoras'],
  10932. d: ["'n ziua", "'iensa ziua"],
  10933. dd: [number + ' ziuas', '' + number + ' ziuas'],
  10934. M: ["'n mes", "'iens mes"],
  10935. MM: [number + ' mesen', '' + number + ' mesen'],
  10936. y: ["'n ar", "'iens ar"],
  10937. yy: [number + ' ars', '' + number + ' ars'],
  10938. };
  10939. return isFuture
  10940. ? format[key][0]
  10941. : withoutSuffix
  10942. ? format[key][0]
  10943. : format[key][1];
  10944. }
  10945. //! moment.js locale configuration
  10946. moment.defineLocale('tzm-latn', {
  10947. months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
  10948. '_'
  10949. ),
  10950. monthsShort: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
  10951. '_'
  10952. ),
  10953. weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  10954. weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  10955. weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
  10956. longDateFormat: {
  10957. LT: 'HH:mm',
  10958. LTS: 'HH:mm:ss',
  10959. L: 'DD/MM/YYYY',
  10960. LL: 'D MMMM YYYY',
  10961. LLL: 'D MMMM YYYY HH:mm',
  10962. LLLL: 'dddd D MMMM YYYY HH:mm',
  10963. },
  10964. calendar: {
  10965. sameDay: '[asdkh g] LT',
  10966. nextDay: '[aska g] LT',
  10967. nextWeek: 'dddd [g] LT',
  10968. lastDay: '[assant g] LT',
  10969. lastWeek: 'dddd [g] LT',
  10970. sameElse: 'L',
  10971. },
  10972. relativeTime: {
  10973. future: 'dadkh s yan %s',
  10974. past: 'yan %s',
  10975. s: 'imik',
  10976. ss: '%d imik',
  10977. m: 'minuḍ',
  10978. mm: '%d minuḍ',
  10979. h: 'saɛa',
  10980. hh: '%d tassaɛin',
  10981. d: 'ass',
  10982. dd: '%d ossan',
  10983. M: 'ayowr',
  10984. MM: '%d iyyirn',
  10985. y: 'asgas',
  10986. yy: '%d isgasn',
  10987. },
  10988. week: {
  10989. dow: 6, // Saturday is the first day of the week.
  10990. doy: 12, // The week that contains Jan 12th is the first week of the year.
  10991. },
  10992. });
  10993. //! moment.js locale configuration
  10994. moment.defineLocale('tzm', {
  10995. months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
  10996. '_'
  10997. ),
  10998. monthsShort: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
  10999. '_'
  11000. ),
  11001. weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  11002. weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  11003. weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
  11004. longDateFormat: {
  11005. LT: 'HH:mm',
  11006. LTS: 'HH:mm:ss',
  11007. L: 'DD/MM/YYYY',
  11008. LL: 'D MMMM YYYY',
  11009. LLL: 'D MMMM YYYY HH:mm',
  11010. LLLL: 'dddd D MMMM YYYY HH:mm',
  11011. },
  11012. calendar: {
  11013. sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
  11014. nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
  11015. nextWeek: 'dddd [ⴴ] LT',
  11016. lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
  11017. lastWeek: 'dddd [ⴴ] LT',
  11018. sameElse: 'L',
  11019. },
  11020. relativeTime: {
  11021. future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
  11022. past: 'ⵢⴰⵏ %s',
  11023. s: 'ⵉⵎⵉⴽ',
  11024. ss: '%d ⵉⵎⵉⴽ',
  11025. m: 'ⵎⵉⵏⵓⴺ',
  11026. mm: '%d ⵎⵉⵏⵓⴺ',
  11027. h: 'ⵙⴰⵄⴰ',
  11028. hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
  11029. d: 'ⴰⵙⵙ',
  11030. dd: '%d oⵙⵙⴰⵏ',
  11031. M: 'ⴰⵢoⵓⵔ',
  11032. MM: '%d ⵉⵢⵢⵉⵔⵏ',
  11033. y: 'ⴰⵙⴳⴰⵙ',
  11034. yy: '%d ⵉⵙⴳⴰⵙⵏ',
  11035. },
  11036. week: {
  11037. dow: 6, // Saturday is the first day of the week.
  11038. doy: 12, // The week that contains Jan 12th is the first week of the year.
  11039. },
  11040. });
  11041. //! moment.js locale configuration
  11042. moment.defineLocale('ug-cn', {
  11043. months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
  11044. '_'
  11045. ),
  11046. monthsShort: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
  11047. '_'
  11048. ),
  11049. weekdays: 'يەكشەنبە_دۈشەنبە_سەيشەنبە_چارشەنبە_پەيشەنبە_جۈمە_شەنبە'.split(
  11050. '_'
  11051. ),
  11052. weekdaysShort: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
  11053. weekdaysMin: 'يە_دۈ_سە_چا_پە_جۈ_شە'.split('_'),
  11054. longDateFormat: {
  11055. LT: 'HH:mm',
  11056. LTS: 'HH:mm:ss',
  11057. L: 'YYYY-MM-DD',
  11058. LL: 'YYYY-يىلىM-ئاينىڭD-كۈنى',
  11059. LLL: 'YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
  11060. LLLL: 'dddd، YYYY-يىلىM-ئاينىڭD-كۈنى، HH:mm',
  11061. },
  11062. meridiemParse: /يېرىم كېچە|سەھەر|چۈشتىن بۇرۇن|چۈش|چۈشتىن كېيىن|كەچ/,
  11063. meridiemHour: function (hour, meridiem) {
  11064. if (hour === 12) {
  11065. hour = 0;
  11066. }
  11067. if (
  11068. meridiem === 'يېرىم كېچە' ||
  11069. meridiem === 'سەھەر' ||
  11070. meridiem === 'چۈشتىن بۇرۇن'
  11071. ) {
  11072. return hour;
  11073. } else if (meridiem === 'چۈشتىن كېيىن' || meridiem === 'كەچ') {
  11074. return hour + 12;
  11075. } else {
  11076. return hour >= 11 ? hour : hour + 12;
  11077. }
  11078. },
  11079. meridiem: function (hour, minute, isLower) {
  11080. var hm = hour * 100 + minute;
  11081. if (hm < 600) {
  11082. return 'يېرىم كېچە';
  11083. } else if (hm < 900) {
  11084. return 'سەھەر';
  11085. } else if (hm < 1130) {
  11086. return 'چۈشتىن بۇرۇن';
  11087. } else if (hm < 1230) {
  11088. return 'چۈش';
  11089. } else if (hm < 1800) {
  11090. return 'چۈشتىن كېيىن';
  11091. } else {
  11092. return 'كەچ';
  11093. }
  11094. },
  11095. calendar: {
  11096. sameDay: '[بۈگۈن سائەت] LT',
  11097. nextDay: '[ئەتە سائەت] LT',
  11098. nextWeek: '[كېلەركى] dddd [سائەت] LT',
  11099. lastDay: '[تۆنۈگۈن] LT',
  11100. lastWeek: '[ئالدىنقى] dddd [سائەت] LT',
  11101. sameElse: 'L',
  11102. },
  11103. relativeTime: {
  11104. future: '%s كېيىن',
  11105. past: '%s بۇرۇن',
  11106. s: 'نەچچە سېكونت',
  11107. ss: '%d سېكونت',
  11108. m: 'بىر مىنۇت',
  11109. mm: '%d مىنۇت',
  11110. h: 'بىر سائەت',
  11111. hh: '%d سائەت',
  11112. d: 'بىر كۈن',
  11113. dd: '%d كۈن',
  11114. M: 'بىر ئاي',
  11115. MM: '%d ئاي',
  11116. y: 'بىر يىل',
  11117. yy: '%d يىل',
  11118. },
  11119. dayOfMonthOrdinalParse: /\d{1,2}(-كۈنى|-ئاي|-ھەپتە)/,
  11120. ordinal: function (number, period) {
  11121. switch (period) {
  11122. case 'd':
  11123. case 'D':
  11124. case 'DDD':
  11125. return number + '-كۈنى';
  11126. case 'w':
  11127. case 'W':
  11128. return number + '-ھەپتە';
  11129. default:
  11130. return number;
  11131. }
  11132. },
  11133. preparse: function (string) {
  11134. return string.replace(/،/g, ',');
  11135. },
  11136. postformat: function (string) {
  11137. return string.replace(/,/g, '،');
  11138. },
  11139. week: {
  11140. // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
  11141. dow: 1, // Monday is the first day of the week.
  11142. doy: 7, // The week that contains Jan 1st is the first week of the year.
  11143. },
  11144. });
  11145. //! moment.js locale configuration
  11146. function plural$6(word, num) {
  11147. var forms = word.split('_');
  11148. return num % 10 === 1 && num % 100 !== 11
  11149. ? forms[0]
  11150. : num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
  11151. ? forms[1]
  11152. : forms[2];
  11153. }
  11154. function relativeTimeWithPlural$4(number, withoutSuffix, key) {
  11155. var format = {
  11156. ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд',
  11157. mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',
  11158. hh: withoutSuffix ? 'година_години_годин' : 'годину_години_годин',
  11159. dd: 'день_дні_днів',
  11160. MM: 'місяць_місяці_місяців',
  11161. yy: 'рік_роки_років',
  11162. };
  11163. if (key === 'm') {
  11164. return withoutSuffix ? 'хвилина' : 'хвилину';
  11165. } else if (key === 'h') {
  11166. return withoutSuffix ? 'година' : 'годину';
  11167. } else {
  11168. return number + ' ' + plural$6(format[key], +number);
  11169. }
  11170. }
  11171. function weekdaysCaseReplace(m, format) {
  11172. var weekdays = {
  11173. nominative: 'неділя_понеділок_вівторок_середа_четвер_п’ятниця_субота'.split(
  11174. '_'
  11175. ),
  11176. accusative: 'неділю_понеділок_вівторок_середу_четвер_п’ятницю_суботу'.split(
  11177. '_'
  11178. ),
  11179. genitive: 'неділі_понеділка_вівторка_середи_четверга_п’ятниці_суботи'.split(
  11180. '_'
  11181. ),
  11182. },
  11183. nounCase;
  11184. if (m === true) {
  11185. return weekdays['nominative']
  11186. .slice(1, 7)
  11187. .concat(weekdays['nominative'].slice(0, 1));
  11188. }
  11189. if (!m) {
  11190. return weekdays['nominative'];
  11191. }
  11192. nounCase = /(\[[ВвУу]\]) ?dddd/.test(format)
  11193. ? 'accusative'
  11194. : /\[?(?:минулої|наступної)? ?\] ?dddd/.test(format)
  11195. ? 'genitive'
  11196. : 'nominative';
  11197. return weekdays[nounCase][m.day()];
  11198. }
  11199. function processHoursFunction(str) {
  11200. return function () {
  11201. return str + 'о' + (this.hours() === 11 ? 'б' : '') + '] LT';
  11202. };
  11203. }
  11204. moment.defineLocale('uk', {
  11205. months: {
  11206. format: 'січня_лютого_березня_квітня_травня_червня_липня_серпня_вересня_жовтня_листопада_грудня'.split(
  11207. '_'
  11208. ),
  11209. standalone: 'січень_лютий_березень_квітень_травень_червень_липень_серпень_вересень_жовтень_листопад_грудень'.split(
  11210. '_'
  11211. ),
  11212. },
  11213. monthsShort: 'січ_лют_бер_квіт_трав_черв_лип_серп_вер_жовт_лист_груд'.split(
  11214. '_'
  11215. ),
  11216. weekdays: weekdaysCaseReplace,
  11217. weekdaysShort: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  11218. weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
  11219. longDateFormat: {
  11220. LT: 'HH:mm',
  11221. LTS: 'HH:mm:ss',
  11222. L: 'DD.MM.YYYY',
  11223. LL: 'D MMMM YYYY р.',
  11224. LLL: 'D MMMM YYYY р., HH:mm',
  11225. LLLL: 'dddd, D MMMM YYYY р., HH:mm',
  11226. },
  11227. calendar: {
  11228. sameDay: processHoursFunction('[Сьогодні '),
  11229. nextDay: processHoursFunction('[Завтра '),
  11230. lastDay: processHoursFunction('[Вчора '),
  11231. nextWeek: processHoursFunction('[У] dddd ['),
  11232. lastWeek: function () {
  11233. switch (this.day()) {
  11234. case 0:
  11235. case 3:
  11236. case 5:
  11237. case 6:
  11238. return processHoursFunction('[Минулої] dddd [').call(this);
  11239. case 1:
  11240. case 2:
  11241. case 4:
  11242. return processHoursFunction('[Минулого] dddd [').call(this);
  11243. }
  11244. },
  11245. sameElse: 'L',
  11246. },
  11247. relativeTime: {
  11248. future: 'за %s',
  11249. past: '%s тому',
  11250. s: 'декілька секунд',
  11251. ss: relativeTimeWithPlural$4,
  11252. m: relativeTimeWithPlural$4,
  11253. mm: relativeTimeWithPlural$4,
  11254. h: 'годину',
  11255. hh: relativeTimeWithPlural$4,
  11256. d: 'день',
  11257. dd: relativeTimeWithPlural$4,
  11258. M: 'місяць',
  11259. MM: relativeTimeWithPlural$4,
  11260. y: 'рік',
  11261. yy: relativeTimeWithPlural$4,
  11262. },
  11263. // M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason
  11264. meridiemParse: /ночі|ранку|дня|вечора/,
  11265. isPM: function (input) {
  11266. return /^(дня|вечора)$/.test(input);
  11267. },
  11268. meridiem: function (hour, minute, isLower) {
  11269. if (hour < 4) {
  11270. return 'ночі';
  11271. } else if (hour < 12) {
  11272. return 'ранку';
  11273. } else if (hour < 17) {
  11274. return 'дня';
  11275. } else {
  11276. return 'вечора';
  11277. }
  11278. },
  11279. dayOfMonthOrdinalParse: /\d{1,2}-(й|го)/,
  11280. ordinal: function (number, period) {
  11281. switch (period) {
  11282. case 'M':
  11283. case 'd':
  11284. case 'DDD':
  11285. case 'w':
  11286. case 'W':
  11287. return number + '-й';
  11288. case 'D':
  11289. return number + '-го';
  11290. default:
  11291. return number;
  11292. }
  11293. },
  11294. week: {
  11295. dow: 1, // Monday is the first day of the week.
  11296. doy: 7, // The week that contains Jan 7th is the first week of the year.
  11297. },
  11298. });
  11299. //! moment.js locale configuration
  11300. var months$a = [
  11301. 'جنوری',
  11302. 'فروری',
  11303. 'مارچ',
  11304. 'اپریل',
  11305. 'مئی',
  11306. 'جون',
  11307. 'جولائی',
  11308. 'اگست',
  11309. 'ستمبر',
  11310. 'اکتوبر',
  11311. 'نومبر',
  11312. 'دسمبر',
  11313. ],
  11314. days$1 = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'];
  11315. moment.defineLocale('ur', {
  11316. months: months$a,
  11317. monthsShort: months$a,
  11318. weekdays: days$1,
  11319. weekdaysShort: days$1,
  11320. weekdaysMin: days$1,
  11321. longDateFormat: {
  11322. LT: 'HH:mm',
  11323. LTS: 'HH:mm:ss',
  11324. L: 'DD/MM/YYYY',
  11325. LL: 'D MMMM YYYY',
  11326. LLL: 'D MMMM YYYY HH:mm',
  11327. LLLL: 'dddd، D MMMM YYYY HH:mm',
  11328. },
  11329. meridiemParse: /صبح|شام/,
  11330. isPM: function (input) {
  11331. return 'شام' === input;
  11332. },
  11333. meridiem: function (hour, minute, isLower) {
  11334. if (hour < 12) {
  11335. return 'صبح';
  11336. }
  11337. return 'شام';
  11338. },
  11339. calendar: {
  11340. sameDay: '[آج بوقت] LT',
  11341. nextDay: '[کل بوقت] LT',
  11342. nextWeek: 'dddd [بوقت] LT',
  11343. lastDay: '[گذشتہ روز بوقت] LT',
  11344. lastWeek: '[گذشتہ] dddd [بوقت] LT',
  11345. sameElse: 'L',
  11346. },
  11347. relativeTime: {
  11348. future: '%s بعد',
  11349. past: '%s قبل',
  11350. s: 'چند سیکنڈ',
  11351. ss: '%d سیکنڈ',
  11352. m: 'ایک منٹ',
  11353. mm: '%d منٹ',
  11354. h: 'ایک گھنٹہ',
  11355. hh: '%d گھنٹے',
  11356. d: 'ایک دن',
  11357. dd: '%d دن',
  11358. M: 'ایک ماہ',
  11359. MM: '%d ماہ',
  11360. y: 'ایک سال',
  11361. yy: '%d سال',
  11362. },
  11363. preparse: function (string) {
  11364. return string.replace(/،/g, ',');
  11365. },
  11366. postformat: function (string) {
  11367. return string.replace(/,/g, '،');
  11368. },
  11369. week: {
  11370. dow: 1, // Monday is the first day of the week.
  11371. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11372. },
  11373. });
  11374. //! moment.js locale configuration
  11375. moment.defineLocale('uz-latn', {
  11376. months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split(
  11377. '_'
  11378. ),
  11379. monthsShort: 'Yan_Fev_Mar_Apr_May_Iyun_Iyul_Avg_Sen_Okt_Noy_Dek'.split('_'),
  11380. weekdays: 'Yakshanba_Dushanba_Seshanba_Chorshanba_Payshanba_Juma_Shanba'.split(
  11381. '_'
  11382. ),
  11383. weekdaysShort: 'Yak_Dush_Sesh_Chor_Pay_Jum_Shan'.split('_'),
  11384. weekdaysMin: 'Ya_Du_Se_Cho_Pa_Ju_Sha'.split('_'),
  11385. longDateFormat: {
  11386. LT: 'HH:mm',
  11387. LTS: 'HH:mm:ss',
  11388. L: 'DD/MM/YYYY',
  11389. LL: 'D MMMM YYYY',
  11390. LLL: 'D MMMM YYYY HH:mm',
  11391. LLLL: 'D MMMM YYYY, dddd HH:mm',
  11392. },
  11393. calendar: {
  11394. sameDay: '[Bugun soat] LT [da]',
  11395. nextDay: '[Ertaga] LT [da]',
  11396. nextWeek: 'dddd [kuni soat] LT [da]',
  11397. lastDay: '[Kecha soat] LT [da]',
  11398. lastWeek: "[O'tgan] dddd [kuni soat] LT [da]",
  11399. sameElse: 'L',
  11400. },
  11401. relativeTime: {
  11402. future: 'Yaqin %s ichida',
  11403. past: 'Bir necha %s oldin',
  11404. s: 'soniya',
  11405. ss: '%d soniya',
  11406. m: 'bir daqiqa',
  11407. mm: '%d daqiqa',
  11408. h: 'bir soat',
  11409. hh: '%d soat',
  11410. d: 'bir kun',
  11411. dd: '%d kun',
  11412. M: 'bir oy',
  11413. MM: '%d oy',
  11414. y: 'bir yil',
  11415. yy: '%d yil',
  11416. },
  11417. week: {
  11418. dow: 1, // Monday is the first day of the week.
  11419. doy: 7, // The week that contains Jan 7th is the first week of the year.
  11420. },
  11421. });
  11422. //! moment.js locale configuration
  11423. moment.defineLocale('uz', {
  11424. months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
  11425. '_'
  11426. ),
  11427. monthsShort: 'янв_фев_мар_апр_май_июн_июл_авг_сен_окт_ноя_дек'.split('_'),
  11428. weekdays: 'Якшанба_Душанба_Сешанба_Чоршанба_Пайшанба_Жума_Шанба'.split('_'),
  11429. weekdaysShort: 'Якш_Душ_Сеш_Чор_Пай_Жум_Шан'.split('_'),
  11430. weekdaysMin: 'Як_Ду_Се_Чо_Па_Жу_Ша'.split('_'),
  11431. longDateFormat: {
  11432. LT: 'HH:mm',
  11433. LTS: 'HH:mm:ss',
  11434. L: 'DD/MM/YYYY',
  11435. LL: 'D MMMM YYYY',
  11436. LLL: 'D MMMM YYYY HH:mm',
  11437. LLLL: 'D MMMM YYYY, dddd HH:mm',
  11438. },
  11439. calendar: {
  11440. sameDay: '[Бугун соат] LT [да]',
  11441. nextDay: '[Эртага] LT [да]',
  11442. nextWeek: 'dddd [куни соат] LT [да]',
  11443. lastDay: '[Кеча соат] LT [да]',
  11444. lastWeek: '[Утган] dddd [куни соат] LT [да]',
  11445. sameElse: 'L',
  11446. },
  11447. relativeTime: {
  11448. future: 'Якин %s ичида',
  11449. past: 'Бир неча %s олдин',
  11450. s: 'фурсат',
  11451. ss: '%d фурсат',
  11452. m: 'бир дакика',
  11453. mm: '%d дакика',
  11454. h: 'бир соат',
  11455. hh: '%d соат',
  11456. d: 'бир кун',
  11457. dd: '%d кун',
  11458. M: 'бир ой',
  11459. MM: '%d ой',
  11460. y: 'бир йил',
  11461. yy: '%d йил',
  11462. },
  11463. week: {
  11464. dow: 1, // Monday is the first day of the week.
  11465. doy: 7, // The week that contains Jan 4th is the first week of the year.
  11466. },
  11467. });
  11468. //! moment.js locale configuration
  11469. moment.defineLocale('vi', {
  11470. 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(
  11471. '_'
  11472. ),
  11473. monthsShort: 'Thg 01_Thg 02_Thg 03_Thg 04_Thg 05_Thg 06_Thg 07_Thg 08_Thg 09_Thg 10_Thg 11_Thg 12'.split(
  11474. '_'
  11475. ),
  11476. monthsParseExact: true,
  11477. weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split(
  11478. '_'
  11479. ),
  11480. weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
  11481. weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
  11482. weekdaysParseExact: true,
  11483. meridiemParse: /sa|ch/i,
  11484. isPM: function (input) {
  11485. return /^ch$/i.test(input);
  11486. },
  11487. meridiem: function (hours, minutes, isLower) {
  11488. if (hours < 12) {
  11489. return isLower ? 'sa' : 'SA';
  11490. } else {
  11491. return isLower ? 'ch' : 'CH';
  11492. }
  11493. },
  11494. longDateFormat: {
  11495. LT: 'HH:mm',
  11496. LTS: 'HH:mm:ss',
  11497. L: 'DD/MM/YYYY',
  11498. LL: 'D MMMM [năm] YYYY',
  11499. LLL: 'D MMMM [năm] YYYY HH:mm',
  11500. LLLL: 'dddd, D MMMM [năm] YYYY HH:mm',
  11501. l: 'DD/M/YYYY',
  11502. ll: 'D MMM YYYY',
  11503. lll: 'D MMM YYYY HH:mm',
  11504. llll: 'ddd, D MMM YYYY HH:mm',
  11505. },
  11506. calendar: {
  11507. sameDay: '[Hôm nay lúc] LT',
  11508. nextDay: '[Ngày mai lúc] LT',
  11509. nextWeek: 'dddd [tuần tới lúc] LT',
  11510. lastDay: '[Hôm qua lúc] LT',
  11511. lastWeek: 'dddd [tuần trước lúc] LT',
  11512. sameElse: 'L',
  11513. },
  11514. relativeTime: {
  11515. future: '%s tới',
  11516. past: '%s trước',
  11517. s: 'vài giây',
  11518. ss: '%d giây',
  11519. m: 'một phút',
  11520. mm: '%d phút',
  11521. h: 'một giờ',
  11522. hh: '%d giờ',
  11523. d: 'một ngày',
  11524. dd: '%d ngày',
  11525. w: 'một tuần',
  11526. ww: '%d tuần',
  11527. M: 'một tháng',
  11528. MM: '%d tháng',
  11529. y: 'một năm',
  11530. yy: '%d năm',
  11531. },
  11532. dayOfMonthOrdinalParse: /\d{1,2}/,
  11533. ordinal: function (number) {
  11534. return number;
  11535. },
  11536. week: {
  11537. dow: 1, // Monday is the first day of the week.
  11538. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11539. },
  11540. });
  11541. //! moment.js locale configuration
  11542. moment.defineLocale('x-pseudo', {
  11543. months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split(
  11544. '_'
  11545. ),
  11546. monthsShort: 'J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc'.split(
  11547. '_'
  11548. ),
  11549. monthsParseExact: true,
  11550. weekdays: 'S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý'.split(
  11551. '_'
  11552. ),
  11553. weekdaysShort: 'S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát'.split('_'),
  11554. weekdaysMin: 'S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá'.split('_'),
  11555. weekdaysParseExact: true,
  11556. longDateFormat: {
  11557. LT: 'HH:mm',
  11558. L: 'DD/MM/YYYY',
  11559. LL: 'D MMMM YYYY',
  11560. LLL: 'D MMMM YYYY HH:mm',
  11561. LLLL: 'dddd, D MMMM YYYY HH:mm',
  11562. },
  11563. calendar: {
  11564. sameDay: '[T~ódá~ý át] LT',
  11565. nextDay: '[T~ómó~rró~w át] LT',
  11566. nextWeek: 'dddd [át] LT',
  11567. lastDay: '[Ý~ést~érdá~ý át] LT',
  11568. lastWeek: '[L~ást] dddd [át] LT',
  11569. sameElse: 'L',
  11570. },
  11571. relativeTime: {
  11572. future: 'í~ñ %s',
  11573. past: '%s á~gó',
  11574. s: 'á ~féw ~sécó~ñds',
  11575. ss: '%d s~écóñ~ds',
  11576. m: 'á ~míñ~úté',
  11577. mm: '%d m~íñú~tés',
  11578. h: 'á~ñ hó~úr',
  11579. hh: '%d h~óúrs',
  11580. d: 'á ~dáý',
  11581. dd: '%d d~áýs',
  11582. M: 'á ~móñ~th',
  11583. MM: '%d m~óñt~hs',
  11584. y: 'á ~ýéár',
  11585. yy: '%d ý~éárs',
  11586. },
  11587. dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
  11588. ordinal: function (number) {
  11589. var b = number % 10,
  11590. output =
  11591. ~~((number % 100) / 10) === 1
  11592. ? 'th'
  11593. : b === 1
  11594. ? 'st'
  11595. : b === 2
  11596. ? 'nd'
  11597. : b === 3
  11598. ? 'rd'
  11599. : 'th';
  11600. return number + output;
  11601. },
  11602. week: {
  11603. dow: 1, // Monday is the first day of the week.
  11604. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11605. },
  11606. });
  11607. //! moment.js locale configuration
  11608. moment.defineLocale('yo', {
  11609. months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split(
  11610. '_'
  11611. ),
  11612. monthsShort: 'Sẹ́r_Èrl_Ẹrn_Ìgb_Èbi_Òkù_Agẹ_Ògú_Owe_Ọ̀wà_Bél_Ọ̀pẹ̀̀'.split('_'),
  11613. weekdays: 'Àìkú_Ajé_Ìsẹ́gun_Ọjọ́rú_Ọjọ́bọ_Ẹtì_Àbámẹ́ta'.split('_'),
  11614. weekdaysShort: 'Àìk_Ajé_Ìsẹ́_Ọjr_Ọjb_Ẹtì_Àbá'.split('_'),
  11615. weekdaysMin: 'Àì_Aj_Ìs_Ọr_Ọb_Ẹt_Àb'.split('_'),
  11616. longDateFormat: {
  11617. LT: 'h:mm A',
  11618. LTS: 'h:mm:ss A',
  11619. L: 'DD/MM/YYYY',
  11620. LL: 'D MMMM YYYY',
  11621. LLL: 'D MMMM YYYY h:mm A',
  11622. LLLL: 'dddd, D MMMM YYYY h:mm A',
  11623. },
  11624. calendar: {
  11625. sameDay: '[Ònì ni] LT',
  11626. nextDay: '[Ọ̀la ni] LT',
  11627. nextWeek: "dddd [Ọsẹ̀ tón'bọ] [ni] LT",
  11628. lastDay: '[Àna ni] LT',
  11629. lastWeek: 'dddd [Ọsẹ̀ tólọ́] [ni] LT',
  11630. sameElse: 'L',
  11631. },
  11632. relativeTime: {
  11633. future: 'ní %s',
  11634. past: '%s kọjá',
  11635. s: 'ìsẹjú aayá die',
  11636. ss: 'aayá %d',
  11637. m: 'ìsẹjú kan',
  11638. mm: 'ìsẹjú %d',
  11639. h: 'wákati kan',
  11640. hh: 'wákati %d',
  11641. d: 'ọjọ́ kan',
  11642. dd: 'ọjọ́ %d',
  11643. M: 'osù kan',
  11644. MM: 'osù %d',
  11645. y: 'ọdún kan',
  11646. yy: 'ọdún %d',
  11647. },
  11648. dayOfMonthOrdinalParse: /ọjọ́\s\d{1,2}/,
  11649. ordinal: 'ọjọ́ %d',
  11650. week: {
  11651. dow: 1, // Monday is the first day of the week.
  11652. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11653. },
  11654. });
  11655. //! moment.js locale configuration
  11656. moment.defineLocale('zh-cn', {
  11657. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
  11658. '_'
  11659. ),
  11660. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  11661. '_'
  11662. ),
  11663. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  11664. weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),
  11665. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  11666. longDateFormat: {
  11667. LT: 'HH:mm',
  11668. LTS: 'HH:mm:ss',
  11669. L: 'YYYY/MM/DD',
  11670. LL: 'YYYY年M月D日',
  11671. LLL: 'YYYY年M月D日Ah点mm分',
  11672. LLLL: 'YYYY年M月D日ddddAh点mm分',
  11673. l: 'YYYY/M/D',
  11674. ll: 'YYYY年M月D日',
  11675. lll: 'YYYY年M月D日 HH:mm',
  11676. llll: 'YYYY年M月D日dddd HH:mm',
  11677. },
  11678. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  11679. meridiemHour: function (hour, meridiem) {
  11680. if (hour === 12) {
  11681. hour = 0;
  11682. }
  11683. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  11684. return hour;
  11685. } else if (meridiem === '下午' || meridiem === '晚上') {
  11686. return hour + 12;
  11687. } else {
  11688. // '中午'
  11689. return hour >= 11 ? hour : hour + 12;
  11690. }
  11691. },
  11692. meridiem: function (hour, minute, isLower) {
  11693. var hm = hour * 100 + minute;
  11694. if (hm < 600) {
  11695. return '凌晨';
  11696. } else if (hm < 900) {
  11697. return '早上';
  11698. } else if (hm < 1130) {
  11699. return '上午';
  11700. } else if (hm < 1230) {
  11701. return '中午';
  11702. } else if (hm < 1800) {
  11703. return '下午';
  11704. } else {
  11705. return '晚上';
  11706. }
  11707. },
  11708. calendar: {
  11709. sameDay: '[今天]LT',
  11710. nextDay: '[明天]LT',
  11711. nextWeek: function (now) {
  11712. if (now.week() !== this.week()) {
  11713. return '[下]dddLT';
  11714. } else {
  11715. return '[本]dddLT';
  11716. }
  11717. },
  11718. lastDay: '[昨天]LT',
  11719. lastWeek: function (now) {
  11720. if (this.week() !== now.week()) {
  11721. return '[上]dddLT';
  11722. } else {
  11723. return '[本]dddLT';
  11724. }
  11725. },
  11726. sameElse: 'L',
  11727. },
  11728. dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/,
  11729. ordinal: function (number, period) {
  11730. switch (period) {
  11731. case 'd':
  11732. case 'D':
  11733. case 'DDD':
  11734. return number + '日';
  11735. case 'M':
  11736. return number + '月';
  11737. case 'w':
  11738. case 'W':
  11739. return number + '周';
  11740. default:
  11741. return number;
  11742. }
  11743. },
  11744. relativeTime: {
  11745. future: '%s后',
  11746. past: '%s前',
  11747. s: '几秒',
  11748. ss: '%d 秒',
  11749. m: '1 分钟',
  11750. mm: '%d 分钟',
  11751. h: '1 小时',
  11752. hh: '%d 小时',
  11753. d: '1 天',
  11754. dd: '%d 天',
  11755. w: '1 周',
  11756. ww: '%d 周',
  11757. M: '1 个月',
  11758. MM: '%d 个月',
  11759. y: '1 年',
  11760. yy: '%d 年',
  11761. },
  11762. week: {
  11763. // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
  11764. dow: 1, // Monday is the first day of the week.
  11765. doy: 4, // The week that contains Jan 4th is the first week of the year.
  11766. },
  11767. });
  11768. //! moment.js locale configuration
  11769. moment.defineLocale('zh-hk', {
  11770. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
  11771. '_'
  11772. ),
  11773. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  11774. '_'
  11775. ),
  11776. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  11777. weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  11778. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  11779. longDateFormat: {
  11780. LT: 'HH:mm',
  11781. LTS: 'HH:mm:ss',
  11782. L: 'YYYY/MM/DD',
  11783. LL: 'YYYY年M月D日',
  11784. LLL: 'YYYY年M月D日 HH:mm',
  11785. LLLL: 'YYYY年M月D日dddd HH:mm',
  11786. l: 'YYYY/M/D',
  11787. ll: 'YYYY年M月D日',
  11788. lll: 'YYYY年M月D日 HH:mm',
  11789. llll: 'YYYY年M月D日dddd HH:mm',
  11790. },
  11791. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  11792. meridiemHour: function (hour, meridiem) {
  11793. if (hour === 12) {
  11794. hour = 0;
  11795. }
  11796. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  11797. return hour;
  11798. } else if (meridiem === '中午') {
  11799. return hour >= 11 ? hour : hour + 12;
  11800. } else if (meridiem === '下午' || meridiem === '晚上') {
  11801. return hour + 12;
  11802. }
  11803. },
  11804. meridiem: function (hour, minute, isLower) {
  11805. var hm = hour * 100 + minute;
  11806. if (hm < 600) {
  11807. return '凌晨';
  11808. } else if (hm < 900) {
  11809. return '早上';
  11810. } else if (hm < 1200) {
  11811. return '上午';
  11812. } else if (hm === 1200) {
  11813. return '中午';
  11814. } else if (hm < 1800) {
  11815. return '下午';
  11816. } else {
  11817. return '晚上';
  11818. }
  11819. },
  11820. calendar: {
  11821. sameDay: '[今天]LT',
  11822. nextDay: '[明天]LT',
  11823. nextWeek: '[下]ddddLT',
  11824. lastDay: '[昨天]LT',
  11825. lastWeek: '[上]ddddLT',
  11826. sameElse: 'L',
  11827. },
  11828. dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
  11829. ordinal: function (number, period) {
  11830. switch (period) {
  11831. case 'd':
  11832. case 'D':
  11833. case 'DDD':
  11834. return number + '日';
  11835. case 'M':
  11836. return number + '月';
  11837. case 'w':
  11838. case 'W':
  11839. return number + '週';
  11840. default:
  11841. return number;
  11842. }
  11843. },
  11844. relativeTime: {
  11845. future: '%s後',
  11846. past: '%s前',
  11847. s: '幾秒',
  11848. ss: '%d 秒',
  11849. m: '1 分鐘',
  11850. mm: '%d 分鐘',
  11851. h: '1 小時',
  11852. hh: '%d 小時',
  11853. d: '1 天',
  11854. dd: '%d 天',
  11855. M: '1 個月',
  11856. MM: '%d 個月',
  11857. y: '1 年',
  11858. yy: '%d 年',
  11859. },
  11860. });
  11861. //! moment.js locale configuration
  11862. moment.defineLocale('zh-mo', {
  11863. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
  11864. '_'
  11865. ),
  11866. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  11867. '_'
  11868. ),
  11869. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  11870. weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  11871. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  11872. longDateFormat: {
  11873. LT: 'HH:mm',
  11874. LTS: 'HH:mm:ss',
  11875. L: 'DD/MM/YYYY',
  11876. LL: 'YYYY年M月D日',
  11877. LLL: 'YYYY年M月D日 HH:mm',
  11878. LLLL: 'YYYY年M月D日dddd HH:mm',
  11879. l: 'D/M/YYYY',
  11880. ll: 'YYYY年M月D日',
  11881. lll: 'YYYY年M月D日 HH:mm',
  11882. llll: 'YYYY年M月D日dddd HH:mm',
  11883. },
  11884. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  11885. meridiemHour: function (hour, meridiem) {
  11886. if (hour === 12) {
  11887. hour = 0;
  11888. }
  11889. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  11890. return hour;
  11891. } else if (meridiem === '中午') {
  11892. return hour >= 11 ? hour : hour + 12;
  11893. } else if (meridiem === '下午' || meridiem === '晚上') {
  11894. return hour + 12;
  11895. }
  11896. },
  11897. meridiem: function (hour, minute, isLower) {
  11898. var hm = hour * 100 + minute;
  11899. if (hm < 600) {
  11900. return '凌晨';
  11901. } else if (hm < 900) {
  11902. return '早上';
  11903. } else if (hm < 1130) {
  11904. return '上午';
  11905. } else if (hm < 1230) {
  11906. return '中午';
  11907. } else if (hm < 1800) {
  11908. return '下午';
  11909. } else {
  11910. return '晚上';
  11911. }
  11912. },
  11913. calendar: {
  11914. sameDay: '[今天] LT',
  11915. nextDay: '[明天] LT',
  11916. nextWeek: '[下]dddd LT',
  11917. lastDay: '[昨天] LT',
  11918. lastWeek: '[上]dddd LT',
  11919. sameElse: 'L',
  11920. },
  11921. dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
  11922. ordinal: function (number, period) {
  11923. switch (period) {
  11924. case 'd':
  11925. case 'D':
  11926. case 'DDD':
  11927. return number + '日';
  11928. case 'M':
  11929. return number + '月';
  11930. case 'w':
  11931. case 'W':
  11932. return number + '週';
  11933. default:
  11934. return number;
  11935. }
  11936. },
  11937. relativeTime: {
  11938. future: '%s內',
  11939. past: '%s前',
  11940. s: '幾秒',
  11941. ss: '%d 秒',
  11942. m: '1 分鐘',
  11943. mm: '%d 分鐘',
  11944. h: '1 小時',
  11945. hh: '%d 小時',
  11946. d: '1 天',
  11947. dd: '%d 天',
  11948. M: '1 個月',
  11949. MM: '%d 個月',
  11950. y: '1 年',
  11951. yy: '%d 年',
  11952. },
  11953. });
  11954. //! moment.js locale configuration
  11955. moment.defineLocale('zh-tw', {
  11956. months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
  11957. '_'
  11958. ),
  11959. monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
  11960. '_'
  11961. ),
  11962. weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
  11963. weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
  11964. weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
  11965. longDateFormat: {
  11966. LT: 'HH:mm',
  11967. LTS: 'HH:mm:ss',
  11968. L: 'YYYY/MM/DD',
  11969. LL: 'YYYY年M月D日',
  11970. LLL: 'YYYY年M月D日 HH:mm',
  11971. LLLL: 'YYYY年M月D日dddd HH:mm',
  11972. l: 'YYYY/M/D',
  11973. ll: 'YYYY年M月D日',
  11974. lll: 'YYYY年M月D日 HH:mm',
  11975. llll: 'YYYY年M月D日dddd HH:mm',
  11976. },
  11977. meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
  11978. meridiemHour: function (hour, meridiem) {
  11979. if (hour === 12) {
  11980. hour = 0;
  11981. }
  11982. if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
  11983. return hour;
  11984. } else if (meridiem === '中午') {
  11985. return hour >= 11 ? hour : hour + 12;
  11986. } else if (meridiem === '下午' || meridiem === '晚上') {
  11987. return hour + 12;
  11988. }
  11989. },
  11990. meridiem: function (hour, minute, isLower) {
  11991. var hm = hour * 100 + minute;
  11992. if (hm < 600) {
  11993. return '凌晨';
  11994. } else if (hm < 900) {
  11995. return '早上';
  11996. } else if (hm < 1130) {
  11997. return '上午';
  11998. } else if (hm < 1230) {
  11999. return '中午';
  12000. } else if (hm < 1800) {
  12001. return '下午';
  12002. } else {
  12003. return '晚上';
  12004. }
  12005. },
  12006. calendar: {
  12007. sameDay: '[今天] LT',
  12008. nextDay: '[明天] LT',
  12009. nextWeek: '[下]dddd LT',
  12010. lastDay: '[昨天] LT',
  12011. lastWeek: '[上]dddd LT',
  12012. sameElse: 'L',
  12013. },
  12014. dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
  12015. ordinal: function (number, period) {
  12016. switch (period) {
  12017. case 'd':
  12018. case 'D':
  12019. case 'DDD':
  12020. return number + '日';
  12021. case 'M':
  12022. return number + '月';
  12023. case 'w':
  12024. case 'W':
  12025. return number + '週';
  12026. default:
  12027. return number;
  12028. }
  12029. },
  12030. relativeTime: {
  12031. future: '%s後',
  12032. past: '%s前',
  12033. s: '幾秒',
  12034. ss: '%d 秒',
  12035. m: '1 分鐘',
  12036. mm: '%d 分鐘',
  12037. h: '1 小時',
  12038. hh: '%d 小時',
  12039. d: '1 天',
  12040. dd: '%d 天',
  12041. M: '1 個月',
  12042. MM: '%d 個月',
  12043. y: '1 年',
  12044. yy: '%d 年',
  12045. },
  12046. });
  12047. moment.locale('en');
  12048. return moment;
  12049. })));