@bookipi/htmlgenerator 1.1.35-alpha1 → 1.1.35-alpha3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3005,8 +3005,12 @@ var en = (_deposit_due$terms$pr = {
3005
3005
  details_line_4: "Please accept this proposal and terms of service. This creates a legally binding contract between us. At any time if you have any questions please contact us on the details above. These terms will be effective throughout the period of our engagement and may only be changed by the Parties' agreement in writing.",
3006
3006
  supplier_details: "Supplier Details",
3007
3007
  customer_details: "Customer Details",
3008
- effective_date: "Dated:"
3009
- }, _deposit_due$terms$pr["start_date"] = "Start Date:", _deposit_due$terms$pr["end_date"] = "End Date:", _deposit_due$terms$pr.supplier_empty = "No supplier added yet.", _deposit_due$terms$pr.customer_empty = "No customer added yet.", _deposit_due$terms$pr.kind_regards = "Kind regards,", _deposit_due$terms$pr.services_title = "Billing Schedule", _deposit_due$terms$pr["total"] = "Total:", _deposit_due$terms$pr.items_empty = "No services added yet.", _deposit_due$terms$pr.agreement_title = "Terms and Conditions", _deposit_due$terms$pr["signature"] = "Signature", _deposit_due$terms$pr.proposal_id = "Proposal ID:", _deposit_due$terms$pr.client = "Client:", _deposit_due$terms$pr.email_addresses = "Email address:", _deposit_due$terms$pr.ip = "IP:", _deposit_due$terms$pr.time = "Time:", _deposit_due$terms$pr);
3008
+ effective_date: "Dated",
3009
+ supplier_empty: "No supplier added yet.",
3010
+ customer_empty: "No customer added yet.",
3011
+ kind_regards: "Kind regards",
3012
+ services_title: "Billing Schedule"
3013
+ }, _deposit_due$terms$pr["total"] = "Total:", _deposit_due$terms$pr.items_empty = "No services added yet.", _deposit_due$terms$pr.agreement_title = "Terms and Conditions", _deposit_due$terms$pr["signature"] = "Signature", _deposit_due$terms$pr.proposal_id = "Proposal ID:", _deposit_due$terms$pr.client = "Client:", _deposit_due$terms$pr.email_addresses = "Email address:", _deposit_due$terms$pr.ip = "IP:", _deposit_due$terms$pr.time = "Time:", _deposit_due$terms$pr);
3010
3014
 
3011
3015
  function _extends() {
3012
3016
  _extends = Object.assign ? Object.assign.bind() : function (target) {
@@ -11053,6 +11057,1118 @@ var InvoiceCompatHtml = function InvoiceCompatHtml(_ref) {
11053
11057
  });
11054
11058
  };
11055
11059
 
11060
+ var de = createCommonjsModule(function (module, exports) {
11061
+ (function (global, factory) {
11062
+ typeof commonjsRequire === 'function' ? factory(moment) :
11063
+
11064
+ factory(global.moment);
11065
+ }(commonjsGlobal, (function (moment) {
11066
+ //! moment.js locale configuration
11067
+
11068
+ function processRelativeTime(number, withoutSuffix, key, isFuture) {
11069
+ var format = {
11070
+ m: ['eine Minute', 'einer Minute'],
11071
+ h: ['eine Stunde', 'einer Stunde'],
11072
+ d: ['ein Tag', 'einem Tag'],
11073
+ dd: [number + ' Tage', number + ' Tagen'],
11074
+ w: ['eine Woche', 'einer Woche'],
11075
+ M: ['ein Monat', 'einem Monat'],
11076
+ MM: [number + ' Monate', number + ' Monaten'],
11077
+ y: ['ein Jahr', 'einem Jahr'],
11078
+ yy: [number + ' Jahre', number + ' Jahren'],
11079
+ };
11080
+ return withoutSuffix ? format[key][0] : format[key][1];
11081
+ }
11082
+
11083
+ var de = moment.defineLocale('de', {
11084
+ months: 'Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember'.split(
11085
+ '_'
11086
+ ),
11087
+ monthsShort:
11088
+ 'Jan._Feb._März_Apr._Mai_Juni_Juli_Aug._Sep._Okt._Nov._Dez.'.split('_'),
11089
+ monthsParseExact: true,
11090
+ weekdays:
11091
+ 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split(
11092
+ '_'
11093
+ ),
11094
+ weekdaysShort: 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
11095
+ weekdaysMin: 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
11096
+ weekdaysParseExact: true,
11097
+ longDateFormat: {
11098
+ LT: 'HH:mm',
11099
+ LTS: 'HH:mm:ss',
11100
+ L: 'DD.MM.YYYY',
11101
+ LL: 'D. MMMM YYYY',
11102
+ LLL: 'D. MMMM YYYY HH:mm',
11103
+ LLLL: 'dddd, D. MMMM YYYY HH:mm',
11104
+ },
11105
+ calendar: {
11106
+ sameDay: '[heute um] LT [Uhr]',
11107
+ sameElse: 'L',
11108
+ nextDay: '[morgen um] LT [Uhr]',
11109
+ nextWeek: 'dddd [um] LT [Uhr]',
11110
+ lastDay: '[gestern um] LT [Uhr]',
11111
+ lastWeek: '[letzten] dddd [um] LT [Uhr]',
11112
+ },
11113
+ relativeTime: {
11114
+ future: 'in %s',
11115
+ past: 'vor %s',
11116
+ s: 'ein paar Sekunden',
11117
+ ss: '%d Sekunden',
11118
+ m: processRelativeTime,
11119
+ mm: '%d Minuten',
11120
+ h: processRelativeTime,
11121
+ hh: '%d Stunden',
11122
+ d: processRelativeTime,
11123
+ dd: processRelativeTime,
11124
+ w: processRelativeTime,
11125
+ ww: '%d Wochen',
11126
+ M: processRelativeTime,
11127
+ MM: processRelativeTime,
11128
+ y: processRelativeTime,
11129
+ yy: processRelativeTime,
11130
+ },
11131
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
11132
+ ordinal: '%d.',
11133
+ week: {
11134
+ dow: 1, // Monday is the first day of the week.
11135
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
11136
+ },
11137
+ });
11138
+
11139
+ return de;
11140
+
11141
+ })));
11142
+ });
11143
+
11144
+ var es = createCommonjsModule(function (module, exports) {
11145
+ (function (global, factory) {
11146
+ typeof commonjsRequire === 'function' ? factory(moment) :
11147
+
11148
+ factory(global.moment);
11149
+ }(commonjsGlobal, (function (moment) {
11150
+ //! moment.js locale configuration
11151
+
11152
+ var monthsShortDot =
11153
+ 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
11154
+ '_'
11155
+ ),
11156
+ monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
11157
+ monthsParse = [
11158
+ /^ene/i,
11159
+ /^feb/i,
11160
+ /^mar/i,
11161
+ /^abr/i,
11162
+ /^may/i,
11163
+ /^jun/i,
11164
+ /^jul/i,
11165
+ /^ago/i,
11166
+ /^sep/i,
11167
+ /^oct/i,
11168
+ /^nov/i,
11169
+ /^dic/i,
11170
+ ],
11171
+ monthsRegex =
11172
+ /^(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;
11173
+
11174
+ var es = moment.defineLocale('es', {
11175
+ months: 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split(
11176
+ '_'
11177
+ ),
11178
+ monthsShort: function (m, format) {
11179
+ if (!m) {
11180
+ return monthsShortDot;
11181
+ } else if (/-MMM-/.test(format)) {
11182
+ return monthsShort[m.month()];
11183
+ } else {
11184
+ return monthsShortDot[m.month()];
11185
+ }
11186
+ },
11187
+ monthsRegex: monthsRegex,
11188
+ monthsShortRegex: monthsRegex,
11189
+ monthsStrictRegex:
11190
+ /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
11191
+ monthsShortStrictRegex:
11192
+ /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
11193
+ monthsParse: monthsParse,
11194
+ longMonthsParse: monthsParse,
11195
+ shortMonthsParse: monthsParse,
11196
+ weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
11197
+ weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
11198
+ weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
11199
+ weekdaysParseExact: true,
11200
+ longDateFormat: {
11201
+ LT: 'H:mm',
11202
+ LTS: 'H:mm:ss',
11203
+ L: 'DD/MM/YYYY',
11204
+ LL: 'D [de] MMMM [de] YYYY',
11205
+ LLL: 'D [de] MMMM [de] YYYY H:mm',
11206
+ LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
11207
+ },
11208
+ calendar: {
11209
+ sameDay: function () {
11210
+ return '[hoy a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
11211
+ },
11212
+ nextDay: function () {
11213
+ return '[mañana a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
11214
+ },
11215
+ nextWeek: function () {
11216
+ return 'dddd [a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
11217
+ },
11218
+ lastDay: function () {
11219
+ return '[ayer a la' + (this.hours() !== 1 ? 's' : '') + '] LT';
11220
+ },
11221
+ lastWeek: function () {
11222
+ return (
11223
+ '[el] dddd [pasado a la' +
11224
+ (this.hours() !== 1 ? 's' : '') +
11225
+ '] LT'
11226
+ );
11227
+ },
11228
+ sameElse: 'L',
11229
+ },
11230
+ relativeTime: {
11231
+ future: 'en %s',
11232
+ past: 'hace %s',
11233
+ s: 'unos segundos',
11234
+ ss: '%d segundos',
11235
+ m: 'un minuto',
11236
+ mm: '%d minutos',
11237
+ h: 'una hora',
11238
+ hh: '%d horas',
11239
+ d: 'un día',
11240
+ dd: '%d días',
11241
+ w: 'una semana',
11242
+ ww: '%d semanas',
11243
+ M: 'un mes',
11244
+ MM: '%d meses',
11245
+ y: 'un año',
11246
+ yy: '%d años',
11247
+ },
11248
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
11249
+ ordinal: '%dº',
11250
+ week: {
11251
+ dow: 1, // Monday is the first day of the week.
11252
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
11253
+ },
11254
+ invalidDate: 'Fecha inválida',
11255
+ });
11256
+
11257
+ return es;
11258
+
11259
+ })));
11260
+ });
11261
+
11262
+ var fr = createCommonjsModule(function (module, exports) {
11263
+ (function (global, factory) {
11264
+ typeof commonjsRequire === 'function' ? factory(moment) :
11265
+
11266
+ factory(global.moment);
11267
+ }(commonjsGlobal, (function (moment) {
11268
+ //! moment.js locale configuration
11269
+
11270
+ var monthsStrictRegex =
11271
+ /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
11272
+ monthsShortStrictRegex =
11273
+ /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
11274
+ monthsRegex =
11275
+ /(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,
11276
+ monthsParse = [
11277
+ /^janv/i,
11278
+ /^févr/i,
11279
+ /^mars/i,
11280
+ /^avr/i,
11281
+ /^mai/i,
11282
+ /^juin/i,
11283
+ /^juil/i,
11284
+ /^août/i,
11285
+ /^sept/i,
11286
+ /^oct/i,
11287
+ /^nov/i,
11288
+ /^déc/i,
11289
+ ];
11290
+
11291
+ var fr = moment.defineLocale('fr', {
11292
+ months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
11293
+ '_'
11294
+ ),
11295
+ monthsShort:
11296
+ 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
11297
+ '_'
11298
+ ),
11299
+ monthsRegex: monthsRegex,
11300
+ monthsShortRegex: monthsRegex,
11301
+ monthsStrictRegex: monthsStrictRegex,
11302
+ monthsShortStrictRegex: monthsShortStrictRegex,
11303
+ monthsParse: monthsParse,
11304
+ longMonthsParse: monthsParse,
11305
+ shortMonthsParse: monthsParse,
11306
+ weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
11307
+ weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
11308
+ weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
11309
+ weekdaysParseExact: true,
11310
+ longDateFormat: {
11311
+ LT: 'HH:mm',
11312
+ LTS: 'HH:mm:ss',
11313
+ L: 'DD/MM/YYYY',
11314
+ LL: 'D MMMM YYYY',
11315
+ LLL: 'D MMMM YYYY HH:mm',
11316
+ LLLL: 'dddd D MMMM YYYY HH:mm',
11317
+ },
11318
+ calendar: {
11319
+ sameDay: '[Aujourd’hui à] LT',
11320
+ nextDay: '[Demain à] LT',
11321
+ nextWeek: 'dddd [à] LT',
11322
+ lastDay: '[Hier à] LT',
11323
+ lastWeek: 'dddd [dernier à] LT',
11324
+ sameElse: 'L',
11325
+ },
11326
+ relativeTime: {
11327
+ future: 'dans %s',
11328
+ past: 'il y a %s',
11329
+ s: 'quelques secondes',
11330
+ ss: '%d secondes',
11331
+ m: 'une minute',
11332
+ mm: '%d minutes',
11333
+ h: 'une heure',
11334
+ hh: '%d heures',
11335
+ d: 'un jour',
11336
+ dd: '%d jours',
11337
+ w: 'une semaine',
11338
+ ww: '%d semaines',
11339
+ M: 'un mois',
11340
+ MM: '%d mois',
11341
+ y: 'un an',
11342
+ yy: '%d ans',
11343
+ },
11344
+ dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
11345
+ ordinal: function (number, period) {
11346
+ switch (period) {
11347
+ // TODO: Return 'e' when day of month > 1. Move this case inside
11348
+ // block for masculine words below.
11349
+ // See https://github.com/moment/moment/issues/3375
11350
+ case 'D':
11351
+ return number + (number === 1 ? 'er' : '');
11352
+
11353
+ // Words with masculine grammatical gender: mois, trimestre, jour
11354
+ default:
11355
+ case 'M':
11356
+ case 'Q':
11357
+ case 'DDD':
11358
+ case 'd':
11359
+ return number + (number === 1 ? 'er' : 'e');
11360
+
11361
+ // Words with feminine grammatical gender: semaine
11362
+ case 'w':
11363
+ case 'W':
11364
+ return number + (number === 1 ? 're' : 'e');
11365
+ }
11366
+ },
11367
+ week: {
11368
+ dow: 1, // Monday is the first day of the week.
11369
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
11370
+ },
11371
+ });
11372
+
11373
+ return fr;
11374
+
11375
+ })));
11376
+ });
11377
+
11378
+ var id = createCommonjsModule(function (module, exports) {
11379
+ (function (global, factory) {
11380
+ typeof commonjsRequire === 'function' ? factory(moment) :
11381
+
11382
+ factory(global.moment);
11383
+ }(commonjsGlobal, (function (moment) {
11384
+ //! moment.js locale configuration
11385
+
11386
+ var id = moment.defineLocale('id', {
11387
+ months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split(
11388
+ '_'
11389
+ ),
11390
+ monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Agt_Sep_Okt_Nov_Des'.split('_'),
11391
+ weekdays: 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
11392
+ weekdaysShort: 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
11393
+ weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
11394
+ longDateFormat: {
11395
+ LT: 'HH.mm',
11396
+ LTS: 'HH.mm.ss',
11397
+ L: 'DD/MM/YYYY',
11398
+ LL: 'D MMMM YYYY',
11399
+ LLL: 'D MMMM YYYY [pukul] HH.mm',
11400
+ LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
11401
+ },
11402
+ meridiemParse: /pagi|siang|sore|malam/,
11403
+ meridiemHour: function (hour, meridiem) {
11404
+ if (hour === 12) {
11405
+ hour = 0;
11406
+ }
11407
+ if (meridiem === 'pagi') {
11408
+ return hour;
11409
+ } else if (meridiem === 'siang') {
11410
+ return hour >= 11 ? hour : hour + 12;
11411
+ } else if (meridiem === 'sore' || meridiem === 'malam') {
11412
+ return hour + 12;
11413
+ }
11414
+ },
11415
+ meridiem: function (hours, minutes, isLower) {
11416
+ if (hours < 11) {
11417
+ return 'pagi';
11418
+ } else if (hours < 15) {
11419
+ return 'siang';
11420
+ } else if (hours < 19) {
11421
+ return 'sore';
11422
+ } else {
11423
+ return 'malam';
11424
+ }
11425
+ },
11426
+ calendar: {
11427
+ sameDay: '[Hari ini pukul] LT',
11428
+ nextDay: '[Besok pukul] LT',
11429
+ nextWeek: 'dddd [pukul] LT',
11430
+ lastDay: '[Kemarin pukul] LT',
11431
+ lastWeek: 'dddd [lalu pukul] LT',
11432
+ sameElse: 'L',
11433
+ },
11434
+ relativeTime: {
11435
+ future: 'dalam %s',
11436
+ past: '%s yang lalu',
11437
+ s: 'beberapa detik',
11438
+ ss: '%d detik',
11439
+ m: 'semenit',
11440
+ mm: '%d menit',
11441
+ h: 'sejam',
11442
+ hh: '%d jam',
11443
+ d: 'sehari',
11444
+ dd: '%d hari',
11445
+ M: 'sebulan',
11446
+ MM: '%d bulan',
11447
+ y: 'setahun',
11448
+ yy: '%d tahun',
11449
+ },
11450
+ week: {
11451
+ dow: 0, // Sunday is the first day of the week.
11452
+ doy: 6, // The week that contains Jan 6th is the first week of the year.
11453
+ },
11454
+ });
11455
+
11456
+ return id;
11457
+
11458
+ })));
11459
+ });
11460
+
11461
+ var it = createCommonjsModule(function (module, exports) {
11462
+ (function (global, factory) {
11463
+ typeof commonjsRequire === 'function' ? factory(moment) :
11464
+
11465
+ factory(global.moment);
11466
+ }(commonjsGlobal, (function (moment) {
11467
+ //! moment.js locale configuration
11468
+
11469
+ var it = moment.defineLocale('it', {
11470
+ months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
11471
+ '_'
11472
+ ),
11473
+ monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
11474
+ weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
11475
+ '_'
11476
+ ),
11477
+ weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
11478
+ weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
11479
+ longDateFormat: {
11480
+ LT: 'HH:mm',
11481
+ LTS: 'HH:mm:ss',
11482
+ L: 'DD/MM/YYYY',
11483
+ LL: 'D MMMM YYYY',
11484
+ LLL: 'D MMMM YYYY HH:mm',
11485
+ LLLL: 'dddd D MMMM YYYY HH:mm',
11486
+ },
11487
+ calendar: {
11488
+ sameDay: function () {
11489
+ return (
11490
+ '[Oggi a' +
11491
+ (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
11492
+ ']LT'
11493
+ );
11494
+ },
11495
+ nextDay: function () {
11496
+ return (
11497
+ '[Domani a' +
11498
+ (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
11499
+ ']LT'
11500
+ );
11501
+ },
11502
+ nextWeek: function () {
11503
+ return (
11504
+ 'dddd [a' +
11505
+ (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
11506
+ ']LT'
11507
+ );
11508
+ },
11509
+ lastDay: function () {
11510
+ return (
11511
+ '[Ieri a' +
11512
+ (this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
11513
+ ']LT'
11514
+ );
11515
+ },
11516
+ lastWeek: function () {
11517
+ switch (this.day()) {
11518
+ case 0:
11519
+ return (
11520
+ '[La scorsa] dddd [a' +
11521
+ (this.hours() > 1
11522
+ ? 'lle '
11523
+ : this.hours() === 0
11524
+ ? ' '
11525
+ : "ll'") +
11526
+ ']LT'
11527
+ );
11528
+ default:
11529
+ return (
11530
+ '[Lo scorso] dddd [a' +
11531
+ (this.hours() > 1
11532
+ ? 'lle '
11533
+ : this.hours() === 0
11534
+ ? ' '
11535
+ : "ll'") +
11536
+ ']LT'
11537
+ );
11538
+ }
11539
+ },
11540
+ sameElse: 'L',
11541
+ },
11542
+ relativeTime: {
11543
+ future: 'tra %s',
11544
+ past: '%s fa',
11545
+ s: 'alcuni secondi',
11546
+ ss: '%d secondi',
11547
+ m: 'un minuto',
11548
+ mm: '%d minuti',
11549
+ h: "un'ora",
11550
+ hh: '%d ore',
11551
+ d: 'un giorno',
11552
+ dd: '%d giorni',
11553
+ w: 'una settimana',
11554
+ ww: '%d settimane',
11555
+ M: 'un mese',
11556
+ MM: '%d mesi',
11557
+ y: 'un anno',
11558
+ yy: '%d anni',
11559
+ },
11560
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
11561
+ ordinal: '%dº',
11562
+ week: {
11563
+ dow: 1, // Monday is the first day of the week.
11564
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
11565
+ },
11566
+ });
11567
+
11568
+ return it;
11569
+
11570
+ })));
11571
+ });
11572
+
11573
+ var ko = createCommonjsModule(function (module, exports) {
11574
+ (function (global, factory) {
11575
+ typeof commonjsRequire === 'function' ? factory(moment) :
11576
+
11577
+ factory(global.moment);
11578
+ }(commonjsGlobal, (function (moment) {
11579
+ //! moment.js locale configuration
11580
+
11581
+ var ko = moment.defineLocale('ko', {
11582
+ months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
11583
+ monthsShort: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split(
11584
+ '_'
11585
+ ),
11586
+ weekdays: '일요일_월요일_화요일_수요일_목요일_금요일_토요일'.split('_'),
11587
+ weekdaysShort: '일_월_화_수_목_금_토'.split('_'),
11588
+ weekdaysMin: '일_월_화_수_목_금_토'.split('_'),
11589
+ longDateFormat: {
11590
+ LT: 'A h:mm',
11591
+ LTS: 'A h:mm:ss',
11592
+ L: 'YYYY.MM.DD.',
11593
+ LL: 'YYYY년 MMMM D일',
11594
+ LLL: 'YYYY년 MMMM D일 A h:mm',
11595
+ LLLL: 'YYYY년 MMMM D일 dddd A h:mm',
11596
+ l: 'YYYY.MM.DD.',
11597
+ ll: 'YYYY년 MMMM D일',
11598
+ lll: 'YYYY년 MMMM D일 A h:mm',
11599
+ llll: 'YYYY년 MMMM D일 dddd A h:mm',
11600
+ },
11601
+ calendar: {
11602
+ sameDay: '오늘 LT',
11603
+ nextDay: '내일 LT',
11604
+ nextWeek: 'dddd LT',
11605
+ lastDay: '어제 LT',
11606
+ lastWeek: '지난주 dddd LT',
11607
+ sameElse: 'L',
11608
+ },
11609
+ relativeTime: {
11610
+ future: '%s 후',
11611
+ past: '%s 전',
11612
+ s: '몇 초',
11613
+ ss: '%d초',
11614
+ m: '1분',
11615
+ mm: '%d분',
11616
+ h: '한 시간',
11617
+ hh: '%d시간',
11618
+ d: '하루',
11619
+ dd: '%d일',
11620
+ M: '한 달',
11621
+ MM: '%d달',
11622
+ y: '일 년',
11623
+ yy: '%d년',
11624
+ },
11625
+ dayOfMonthOrdinalParse: /\d{1,2}(일|월|주)/,
11626
+ ordinal: function (number, period) {
11627
+ switch (period) {
11628
+ case 'd':
11629
+ case 'D':
11630
+ case 'DDD':
11631
+ return number + '일';
11632
+ case 'M':
11633
+ return number + '월';
11634
+ case 'w':
11635
+ case 'W':
11636
+ return number + '주';
11637
+ default:
11638
+ return number;
11639
+ }
11640
+ },
11641
+ meridiemParse: /오전|오후/,
11642
+ isPM: function (token) {
11643
+ return token === '오후';
11644
+ },
11645
+ meridiem: function (hour, minute, isUpper) {
11646
+ return hour < 12 ? '오전' : '오후';
11647
+ },
11648
+ });
11649
+
11650
+ return ko;
11651
+
11652
+ })));
11653
+ });
11654
+
11655
+ var pl = createCommonjsModule(function (module, exports) {
11656
+ (function (global, factory) {
11657
+ typeof commonjsRequire === 'function' ? factory(moment) :
11658
+
11659
+ factory(global.moment);
11660
+ }(commonjsGlobal, (function (moment) {
11661
+ //! moment.js locale configuration
11662
+
11663
+ var monthsNominative =
11664
+ 'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split(
11665
+ '_'
11666
+ ),
11667
+ monthsSubjective =
11668
+ 'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split(
11669
+ '_'
11670
+ ),
11671
+ monthsParse = [
11672
+ /^sty/i,
11673
+ /^lut/i,
11674
+ /^mar/i,
11675
+ /^kwi/i,
11676
+ /^maj/i,
11677
+ /^cze/i,
11678
+ /^lip/i,
11679
+ /^sie/i,
11680
+ /^wrz/i,
11681
+ /^paź/i,
11682
+ /^lis/i,
11683
+ /^gru/i,
11684
+ ];
11685
+ function plural(n) {
11686
+ return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1;
11687
+ }
11688
+ function translate(number, withoutSuffix, key) {
11689
+ var result = number + ' ';
11690
+ switch (key) {
11691
+ case 'ss':
11692
+ return result + (plural(number) ? 'sekundy' : 'sekund');
11693
+ case 'm':
11694
+ return withoutSuffix ? 'minuta' : 'minutę';
11695
+ case 'mm':
11696
+ return result + (plural(number) ? 'minuty' : 'minut');
11697
+ case 'h':
11698
+ return withoutSuffix ? 'godzina' : 'godzinę';
11699
+ case 'hh':
11700
+ return result + (plural(number) ? 'godziny' : 'godzin');
11701
+ case 'ww':
11702
+ return result + (plural(number) ? 'tygodnie' : 'tygodni');
11703
+ case 'MM':
11704
+ return result + (plural(number) ? 'miesiące' : 'miesięcy');
11705
+ case 'yy':
11706
+ return result + (plural(number) ? 'lata' : 'lat');
11707
+ }
11708
+ }
11709
+
11710
+ var pl = moment.defineLocale('pl', {
11711
+ months: function (momentToFormat, format) {
11712
+ if (!momentToFormat) {
11713
+ return monthsNominative;
11714
+ } else if (/D MMMM/.test(format)) {
11715
+ return monthsSubjective[momentToFormat.month()];
11716
+ } else {
11717
+ return monthsNominative[momentToFormat.month()];
11718
+ }
11719
+ },
11720
+ monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),
11721
+ monthsParse: monthsParse,
11722
+ longMonthsParse: monthsParse,
11723
+ shortMonthsParse: monthsParse,
11724
+ weekdays:
11725
+ 'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),
11726
+ weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),
11727
+ weekdaysMin: 'Nd_Pn_Wt_Śr_Cz_Pt_So'.split('_'),
11728
+ longDateFormat: {
11729
+ LT: 'HH:mm',
11730
+ LTS: 'HH:mm:ss',
11731
+ L: 'DD.MM.YYYY',
11732
+ LL: 'D MMMM YYYY',
11733
+ LLL: 'D MMMM YYYY HH:mm',
11734
+ LLLL: 'dddd, D MMMM YYYY HH:mm',
11735
+ },
11736
+ calendar: {
11737
+ sameDay: '[Dziś o] LT',
11738
+ nextDay: '[Jutro o] LT',
11739
+ nextWeek: function () {
11740
+ switch (this.day()) {
11741
+ case 0:
11742
+ return '[W niedzielę o] LT';
11743
+
11744
+ case 2:
11745
+ return '[We wtorek o] LT';
11746
+
11747
+ case 3:
11748
+ return '[W środę o] LT';
11749
+
11750
+ case 6:
11751
+ return '[W sobotę o] LT';
11752
+
11753
+ default:
11754
+ return '[W] dddd [o] LT';
11755
+ }
11756
+ },
11757
+ lastDay: '[Wczoraj o] LT',
11758
+ lastWeek: function () {
11759
+ switch (this.day()) {
11760
+ case 0:
11761
+ return '[W zeszłą niedzielę o] LT';
11762
+ case 3:
11763
+ return '[W zeszłą środę o] LT';
11764
+ case 6:
11765
+ return '[W zeszłą sobotę o] LT';
11766
+ default:
11767
+ return '[W zeszły] dddd [o] LT';
11768
+ }
11769
+ },
11770
+ sameElse: 'L',
11771
+ },
11772
+ relativeTime: {
11773
+ future: 'za %s',
11774
+ past: '%s temu',
11775
+ s: 'kilka sekund',
11776
+ ss: translate,
11777
+ m: translate,
11778
+ mm: translate,
11779
+ h: translate,
11780
+ hh: translate,
11781
+ d: '1 dzień',
11782
+ dd: '%d dni',
11783
+ w: 'tydzień',
11784
+ ww: translate,
11785
+ M: 'miesiąc',
11786
+ MM: translate,
11787
+ y: 'rok',
11788
+ yy: translate,
11789
+ },
11790
+ dayOfMonthOrdinalParse: /\d{1,2}\./,
11791
+ ordinal: '%d.',
11792
+ week: {
11793
+ dow: 1, // Monday is the first day of the week.
11794
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
11795
+ },
11796
+ });
11797
+
11798
+ return pl;
11799
+
11800
+ })));
11801
+ });
11802
+
11803
+ var pt = createCommonjsModule(function (module, exports) {
11804
+ (function (global, factory) {
11805
+ typeof commonjsRequire === 'function' ? factory(moment) :
11806
+
11807
+ factory(global.moment);
11808
+ }(commonjsGlobal, (function (moment) {
11809
+ //! moment.js locale configuration
11810
+
11811
+ var pt = moment.defineLocale('pt', {
11812
+ months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
11813
+ '_'
11814
+ ),
11815
+ monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
11816
+ weekdays:
11817
+ 'Domingo_Segunda-feira_Terça-feira_Quarta-feira_Quinta-feira_Sexta-feira_Sábado'.split(
11818
+ '_'
11819
+ ),
11820
+ weekdaysShort: 'Dom_Seg_Ter_Qua_Qui_Sex_Sáb'.split('_'),
11821
+ weekdaysMin: 'Do_2ª_3ª_4ª_5ª_6ª_Sá'.split('_'),
11822
+ weekdaysParseExact: true,
11823
+ longDateFormat: {
11824
+ LT: 'HH:mm',
11825
+ LTS: 'HH:mm:ss',
11826
+ L: 'DD/MM/YYYY',
11827
+ LL: 'D [de] MMMM [de] YYYY',
11828
+ LLL: 'D [de] MMMM [de] YYYY HH:mm',
11829
+ LLLL: 'dddd, D [de] MMMM [de] YYYY HH:mm',
11830
+ },
11831
+ calendar: {
11832
+ sameDay: '[Hoje às] LT',
11833
+ nextDay: '[Amanhã às] LT',
11834
+ nextWeek: 'dddd [às] LT',
11835
+ lastDay: '[Ontem às] LT',
11836
+ lastWeek: function () {
11837
+ return this.day() === 0 || this.day() === 6
11838
+ ? '[Último] dddd [às] LT' // Saturday + Sunday
11839
+ : '[Última] dddd [às] LT'; // Monday - Friday
11840
+ },
11841
+ sameElse: 'L',
11842
+ },
11843
+ relativeTime: {
11844
+ future: 'em %s',
11845
+ past: 'há %s',
11846
+ s: 'segundos',
11847
+ ss: '%d segundos',
11848
+ m: 'um minuto',
11849
+ mm: '%d minutos',
11850
+ h: 'uma hora',
11851
+ hh: '%d horas',
11852
+ d: 'um dia',
11853
+ dd: '%d dias',
11854
+ w: 'uma semana',
11855
+ ww: '%d semanas',
11856
+ M: 'um mês',
11857
+ MM: '%d meses',
11858
+ y: 'um ano',
11859
+ yy: '%d anos',
11860
+ },
11861
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
11862
+ ordinal: '%dº',
11863
+ week: {
11864
+ dow: 1, // Monday is the first day of the week.
11865
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
11866
+ },
11867
+ });
11868
+
11869
+ return pt;
11870
+
11871
+ })));
11872
+ });
11873
+
11874
+ var ptBr = createCommonjsModule(function (module, exports) {
11875
+ (function (global, factory) {
11876
+ typeof commonjsRequire === 'function' ? factory(moment) :
11877
+
11878
+ factory(global.moment);
11879
+ }(commonjsGlobal, (function (moment) {
11880
+ //! moment.js locale configuration
11881
+
11882
+ var ptBr = moment.defineLocale('pt-br', {
11883
+ months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
11884
+ '_'
11885
+ ),
11886
+ monthsShort: 'jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez'.split('_'),
11887
+ weekdays:
11888
+ 'domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado'.split(
11889
+ '_'
11890
+ ),
11891
+ weekdaysShort: 'dom_seg_ter_qua_qui_sex_sáb'.split('_'),
11892
+ weekdaysMin: 'do_2ª_3ª_4ª_5ª_6ª_sá'.split('_'),
11893
+ weekdaysParseExact: true,
11894
+ longDateFormat: {
11895
+ LT: 'HH:mm',
11896
+ LTS: 'HH:mm:ss',
11897
+ L: 'DD/MM/YYYY',
11898
+ LL: 'D [de] MMMM [de] YYYY',
11899
+ LLL: 'D [de] MMMM [de] YYYY [às] HH:mm',
11900
+ LLLL: 'dddd, D [de] MMMM [de] YYYY [às] HH:mm',
11901
+ },
11902
+ calendar: {
11903
+ sameDay: '[Hoje às] LT',
11904
+ nextDay: '[Amanhã às] LT',
11905
+ nextWeek: 'dddd [às] LT',
11906
+ lastDay: '[Ontem às] LT',
11907
+ lastWeek: function () {
11908
+ return this.day() === 0 || this.day() === 6
11909
+ ? '[Último] dddd [às] LT' // Saturday + Sunday
11910
+ : '[Última] dddd [às] LT'; // Monday - Friday
11911
+ },
11912
+ sameElse: 'L',
11913
+ },
11914
+ relativeTime: {
11915
+ future: 'em %s',
11916
+ past: 'há %s',
11917
+ s: 'poucos segundos',
11918
+ ss: '%d segundos',
11919
+ m: 'um minuto',
11920
+ mm: '%d minutos',
11921
+ h: 'uma hora',
11922
+ hh: '%d horas',
11923
+ d: 'um dia',
11924
+ dd: '%d dias',
11925
+ M: 'um mês',
11926
+ MM: '%d meses',
11927
+ y: 'um ano',
11928
+ yy: '%d anos',
11929
+ },
11930
+ dayOfMonthOrdinalParse: /\d{1,2}º/,
11931
+ ordinal: '%dº',
11932
+ invalidDate: 'Data inválida',
11933
+ });
11934
+
11935
+ return ptBr;
11936
+
11937
+ })));
11938
+ });
11939
+
11940
+ var zhCn = createCommonjsModule(function (module, exports) {
11941
+ (function (global, factory) {
11942
+ typeof commonjsRequire === 'function' ? factory(moment) :
11943
+
11944
+ factory(global.moment);
11945
+ }(commonjsGlobal, (function (moment) {
11946
+ //! moment.js locale configuration
11947
+
11948
+ var zhCn = moment.defineLocale('zh-cn', {
11949
+ months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
11950
+ '_'
11951
+ ),
11952
+ monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
11953
+ '_'
11954
+ ),
11955
+ weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
11956
+ weekdaysShort: '周日_周一_周二_周三_周四_周五_周六'.split('_'),
11957
+ weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
11958
+ longDateFormat: {
11959
+ LT: 'HH:mm',
11960
+ LTS: 'HH:mm:ss',
11961
+ L: 'YYYY/MM/DD',
11962
+ LL: 'YYYY年M月D日',
11963
+ LLL: 'YYYY年M月D日Ah点mm分',
11964
+ LLLL: 'YYYY年M月D日ddddAh点mm分',
11965
+ l: 'YYYY/M/D',
11966
+ ll: 'YYYY年M月D日',
11967
+ lll: 'YYYY年M月D日 HH:mm',
11968
+ llll: 'YYYY年M月D日dddd HH:mm',
11969
+ },
11970
+ meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
11971
+ meridiemHour: function (hour, meridiem) {
11972
+ if (hour === 12) {
11973
+ hour = 0;
11974
+ }
11975
+ if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
11976
+ return hour;
11977
+ } else if (meridiem === '下午' || meridiem === '晚上') {
11978
+ return hour + 12;
11979
+ } else {
11980
+ // '中午'
11981
+ return hour >= 11 ? hour : hour + 12;
11982
+ }
11983
+ },
11984
+ meridiem: function (hour, minute, isLower) {
11985
+ var hm = hour * 100 + minute;
11986
+ if (hm < 600) {
11987
+ return '凌晨';
11988
+ } else if (hm < 900) {
11989
+ return '早上';
11990
+ } else if (hm < 1130) {
11991
+ return '上午';
11992
+ } else if (hm < 1230) {
11993
+ return '中午';
11994
+ } else if (hm < 1800) {
11995
+ return '下午';
11996
+ } else {
11997
+ return '晚上';
11998
+ }
11999
+ },
12000
+ calendar: {
12001
+ sameDay: '[今天]LT',
12002
+ nextDay: '[明天]LT',
12003
+ nextWeek: function (now) {
12004
+ if (now.week() !== this.week()) {
12005
+ return '[下]dddLT';
12006
+ } else {
12007
+ return '[本]dddLT';
12008
+ }
12009
+ },
12010
+ lastDay: '[昨天]LT',
12011
+ lastWeek: function (now) {
12012
+ if (this.week() !== now.week()) {
12013
+ return '[上]dddLT';
12014
+ } else {
12015
+ return '[本]dddLT';
12016
+ }
12017
+ },
12018
+ sameElse: 'L',
12019
+ },
12020
+ dayOfMonthOrdinalParse: /\d{1,2}(日|月|周)/,
12021
+ ordinal: function (number, period) {
12022
+ switch (period) {
12023
+ case 'd':
12024
+ case 'D':
12025
+ case 'DDD':
12026
+ return number + '日';
12027
+ case 'M':
12028
+ return number + '月';
12029
+ case 'w':
12030
+ case 'W':
12031
+ return number + '周';
12032
+ default:
12033
+ return number;
12034
+ }
12035
+ },
12036
+ relativeTime: {
12037
+ future: '%s后',
12038
+ past: '%s前',
12039
+ s: '几秒',
12040
+ ss: '%d 秒',
12041
+ m: '1 分钟',
12042
+ mm: '%d 分钟',
12043
+ h: '1 小时',
12044
+ hh: '%d 小时',
12045
+ d: '1 天',
12046
+ dd: '%d 天',
12047
+ w: '1 周',
12048
+ ww: '%d 周',
12049
+ M: '1 个月',
12050
+ MM: '%d 个月',
12051
+ y: '1 年',
12052
+ yy: '%d 年',
12053
+ },
12054
+ week: {
12055
+ // GB/T 7408-1994《数据元和交换格式·信息交换·日期和时间表示法》与ISO 8601:1988等效
12056
+ dow: 1, // Monday is the first day of the week.
12057
+ doy: 4, // The week that contains Jan 4th is the first week of the year.
12058
+ },
12059
+ });
12060
+
12061
+ return zhCn;
12062
+
12063
+ })));
12064
+ });
12065
+
12066
+ var zhTw = createCommonjsModule(function (module, exports) {
12067
+ (function (global, factory) {
12068
+ typeof commonjsRequire === 'function' ? factory(moment) :
12069
+
12070
+ factory(global.moment);
12071
+ }(commonjsGlobal, (function (moment) {
12072
+ //! moment.js locale configuration
12073
+
12074
+ var zhTw = moment.defineLocale('zh-tw', {
12075
+ months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
12076
+ '_'
12077
+ ),
12078
+ monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
12079
+ '_'
12080
+ ),
12081
+ weekdays: '星期日_星期一_星期二_星期三_星期四_星期五_星期六'.split('_'),
12082
+ weekdaysShort: '週日_週一_週二_週三_週四_週五_週六'.split('_'),
12083
+ weekdaysMin: '日_一_二_三_四_五_六'.split('_'),
12084
+ longDateFormat: {
12085
+ LT: 'HH:mm',
12086
+ LTS: 'HH:mm:ss',
12087
+ L: 'YYYY/MM/DD',
12088
+ LL: 'YYYY年M月D日',
12089
+ LLL: 'YYYY年M月D日 HH:mm',
12090
+ LLLL: 'YYYY年M月D日dddd HH:mm',
12091
+ l: 'YYYY/M/D',
12092
+ ll: 'YYYY年M月D日',
12093
+ lll: 'YYYY年M月D日 HH:mm',
12094
+ llll: 'YYYY年M月D日dddd HH:mm',
12095
+ },
12096
+ meridiemParse: /凌晨|早上|上午|中午|下午|晚上/,
12097
+ meridiemHour: function (hour, meridiem) {
12098
+ if (hour === 12) {
12099
+ hour = 0;
12100
+ }
12101
+ if (meridiem === '凌晨' || meridiem === '早上' || meridiem === '上午') {
12102
+ return hour;
12103
+ } else if (meridiem === '中午') {
12104
+ return hour >= 11 ? hour : hour + 12;
12105
+ } else if (meridiem === '下午' || meridiem === '晚上') {
12106
+ return hour + 12;
12107
+ }
12108
+ },
12109
+ meridiem: function (hour, minute, isLower) {
12110
+ var hm = hour * 100 + minute;
12111
+ if (hm < 600) {
12112
+ return '凌晨';
12113
+ } else if (hm < 900) {
12114
+ return '早上';
12115
+ } else if (hm < 1130) {
12116
+ return '上午';
12117
+ } else if (hm < 1230) {
12118
+ return '中午';
12119
+ } else if (hm < 1800) {
12120
+ return '下午';
12121
+ } else {
12122
+ return '晚上';
12123
+ }
12124
+ },
12125
+ calendar: {
12126
+ sameDay: '[今天] LT',
12127
+ nextDay: '[明天] LT',
12128
+ nextWeek: '[下]dddd LT',
12129
+ lastDay: '[昨天] LT',
12130
+ lastWeek: '[上]dddd LT',
12131
+ sameElse: 'L',
12132
+ },
12133
+ dayOfMonthOrdinalParse: /\d{1,2}(日|月|週)/,
12134
+ ordinal: function (number, period) {
12135
+ switch (period) {
12136
+ case 'd':
12137
+ case 'D':
12138
+ case 'DDD':
12139
+ return number + '日';
12140
+ case 'M':
12141
+ return number + '月';
12142
+ case 'w':
12143
+ case 'W':
12144
+ return number + '週';
12145
+ default:
12146
+ return number;
12147
+ }
12148
+ },
12149
+ relativeTime: {
12150
+ future: '%s後',
12151
+ past: '%s前',
12152
+ s: '幾秒',
12153
+ ss: '%d 秒',
12154
+ m: '1 分鐘',
12155
+ mm: '%d 分鐘',
12156
+ h: '1 小時',
12157
+ hh: '%d 小時',
12158
+ d: '1 天',
12159
+ dd: '%d 天',
12160
+ M: '1 個月',
12161
+ MM: '%d 個月',
12162
+ y: '1 年',
12163
+ yy: '%d 年',
12164
+ },
12165
+ });
12166
+
12167
+ return zhTw;
12168
+
12169
+ })));
12170
+ });
12171
+
11056
12172
  var dateFormatSettings = ["DD MMM yyyy", "DD/MM/yyyy", "MMM DD yyyy", "MM/DD/yyyy", "yyyy/MM/DD"];
11057
12173
  var generateDateFormat = function generateDateFormat(settingValue) {
11058
12174
  switch (settingValue) {
@@ -11066,7 +12182,7 @@ var generateDateFormat = function generateDateFormat(settingValue) {
11066
12182
  return dateFormatSettings[0];
11067
12183
  }
11068
12184
  };
11069
- var formatDate = function formatDate(date, _ref, formatMore) {
12185
+ var formatDate = function formatDate(date, _ref, formatMore, locale) {
11070
12186
  var _ref2;
11071
12187
  var timeZone = _ref.timeZone,
11072
12188
  _ref$dateFormat = _ref.dateFormat,
@@ -11074,7 +12190,12 @@ var formatDate = function formatDate(date, _ref, formatMore) {
11074
12190
  if (formatMore === void 0) {
11075
12191
  formatMore = "";
11076
12192
  }
12193
+ if (locale === void 0) {
12194
+ locale = "en";
12195
+ }
12196
+ momentTimezone$1.locale(locale);
11077
12197
  var d = momentTimezone$1(date);
12198
+ d.locale(locale);
11078
12199
  if (timeZone) {
11079
12200
  d = d.tz(timeZone);
11080
12201
  }
@@ -11215,8 +12336,10 @@ var contractHtml = (function (props) {
11215
12336
  var proposal = props.proposal,
11216
12337
  realTimeCompany = props.company,
11217
12338
  contractor = props.contractor,
11218
- t = props.t;
12339
+ t = props.t,
12340
+ momentLocaleProps = props.momentLocale;
11219
12341
  var lang = language[(props === null || props === void 0 ? void 0 : props.lang) || "en"];
12342
+ var momentLocale = momentLocaleProps || "en";
11220
12343
  var customer = (proposal === null || proposal === void 0 ? void 0 : proposal.customer) || {};
11221
12344
  var frozenCompany = proposal === null || proposal === void 0 ? void 0 : proposal.company;
11222
12345
  var items = ((proposal === null || proposal === void 0 ? void 0 : proposal.serviceItems) || []).filter(function (item) {
@@ -11242,7 +12365,7 @@ var contractHtml = (function (props) {
11242
12365
  sectionUserInfo += "<h5 class=\"section-title proposal-title\" style=\"word-break: break-all\">" + ((proposal === null || proposal === void 0 ? void 0 : proposal.title) || "") + "</h5>";
11243
12366
  sectionUserInfo += "<span>" + ((t ? t(lang === null || lang === void 0 ? void 0 : lang.details_line_1) : lang === null || lang === void 0 ? void 0 : lang.details_line_1) || "") + "</span>";
11244
12367
  sectionUserInfo += "<br />";
11245
- sectionUserInfo += "<span>" + (lang === null || lang === void 0 ? void 0 : lang.details_line_3(t ? t(lang === null || lang === void 0 ? void 0 : lang.details_line_3_1) : lang === null || lang === void 0 ? void 0 : lang.details_line_3_1, proposal !== null && proposal !== void 0 && proposal.expirationDate ? formatDate(proposal.expirationDate, company || {}) : formatDate(new Date(), company || {}), t ? t(lang === null || lang === void 0 ? void 0 : lang.details_line_3_2) : lang === null || lang === void 0 ? void 0 : lang.details_line_3_2)) + "</span>";
12368
+ sectionUserInfo += "<span>" + (lang === null || lang === void 0 ? void 0 : lang.details_line_3(t ? t(lang === null || lang === void 0 ? void 0 : lang.details_line_3_1) : lang === null || lang === void 0 ? void 0 : lang.details_line_3_1, proposal !== null && proposal !== void 0 && proposal.expirationDate ? formatDate(proposal.expirationDate, company || {}, "", momentLocale) : formatDate(new Date(), company || {}, "", momentLocale), t ? t(lang === null || lang === void 0 ? void 0 : lang.details_line_3_2) : lang === null || lang === void 0 ? void 0 : lang.details_line_3_2)) + "</span>";
11246
12369
  sectionUserInfo += '<table class="table-details"><tbody><tr><td>';
11247
12370
  sectionUserInfo += "<b>" + ((t ? t(lang === null || lang === void 0 ? void 0 : lang.supplier_details) : lang === null || lang === void 0 ? void 0 : lang.supplier_details) || "") + "</b>";
11248
12371
  if (Object.keys(company || {}).length > 0) {
@@ -11282,13 +12405,13 @@ var contractHtml = (function (props) {
11282
12405
  sectionUserInfo += "<span>" + ((t ? t(lang === null || lang === void 0 ? void 0 : lang.customer_empty) : lang === null || lang === void 0 ? void 0 : lang.customer_empty) || "") + "</span>";
11283
12406
  }
11284
12407
  sectionUserInfo += "</td></tr></tbody></table>";
11285
- sectionUserInfo += "<p class=\"agreement-date\"><b>" + ((t ? t(lang === null || lang === void 0 ? void 0 : lang.effective_date) : lang === null || lang === void 0 ? void 0 : lang.effective_date) || "") + "</b> " + (proposal !== null && proposal !== void 0 && proposal.effectiveDate ? formatDate(proposal.effectiveDate, company || {}) : "") + "</p>";
11286
- sectionUserInfo += "<p class=\"agreement-date\"><b>" + ((t ? t(lang === null || lang === void 0 ? void 0 : lang.start_date) : lang === null || lang === void 0 ? void 0 : lang.start_date) || "") + "</b> " + (proposal !== null && proposal !== void 0 && proposal.startDate ? formatDate(proposal.startDate, company || {}) : "") + "</p>";
11287
- sectionUserInfo += "<p class=\"agreement-date\"><b>" + ((lang === null || lang === void 0 ? void 0 : lang.end_date) || "") + "</b> " + endDate(proposal, company || {}) + "</p>";
12408
+ sectionUserInfo += "<p class=\"agreement-date\"><b>" + ((t ? t(lang === null || lang === void 0 ? void 0 : lang.effective_date) : lang === null || lang === void 0 ? void 0 : lang.effective_date) || "") + ":</b> " + (proposal !== null && proposal !== void 0 && proposal.effectiveDate ? formatDate(proposal.effectiveDate, company || {}, "", momentLocale) : "") + "</p>";
12409
+ sectionUserInfo += "<p class=\"agreement-date\"><b>" + ((t ? t(lang === null || lang === void 0 ? void 0 : lang.start_date) : lang === null || lang === void 0 ? void 0 : lang.start_date) || "") + ":</b> " + (proposal !== null && proposal !== void 0 && proposal.startDate ? formatDate(proposal.startDate, company || {}, "", momentLocale) : "") + "</p>";
12410
+ sectionUserInfo += "<p class=\"agreement-date\"><b>" + ((t ? t(lang === null || lang === void 0 ? void 0 : lang.end_date) : lang === null || lang === void 0 ? void 0 : lang.end_date) || "") + ":</b> " + endDate(proposal, company || {}) + "</p>";
11288
12411
  sectionUserInfo += "<div style=\"margin: 6px 0\">";
11289
12412
  sectionUserInfo += "<span>" + ((t ? t(lang === null || lang === void 0 ? void 0 : lang.details_line_4) : lang === null || lang === void 0 ? void 0 : lang.details_line_4) || "") + "</span><br />";
11290
12413
  sectionUserInfo += "</div>";
11291
- sectionUserInfo += "<p style=\"margin: 6px 0\">" + ((t ? t(lang === null || lang === void 0 ? void 0 : lang.kind_regards) : lang === null || lang === void 0 ? void 0 : lang.kind_regards) || "") + "</p>";
12414
+ sectionUserInfo += "<p style=\"margin: 6px 0\">" + ((t ? t(lang === null || lang === void 0 ? void 0 : lang.kind_regards) : lang === null || lang === void 0 ? void 0 : lang.kind_regards) || "") + ",</p>";
11292
12415
  sectionUserInfo += "<b>" + ((contractor === null || contractor === void 0 ? void 0 : contractor.firstName) || "") + " " + ((contractor === null || contractor === void 0 ? void 0 : contractor.lastName) || "") + "</b><br />";
11293
12416
  sectionUserInfo += "</section>";
11294
12417
  var sectionServices = "<section>";
@@ -11372,7 +12495,7 @@ var contractHtml = (function (props) {
11372
12495
  if (!!(customer !== null && customer !== void 0 && customer.companyName)) signatureAgreement += "<div><b>" + lang.client + "</b> " + customer.companyName + "</div>";
11373
12496
  if (!!(customer !== null && customer !== void 0 && customer.email)) signatureAgreement += "<div><b>" + lang.email_addresses + "</b> " + customer.email + "</div>";
11374
12497
  if (!!(proposal !== null && proposal !== void 0 && proposal.clientSignedIpAddr)) signatureAgreement += "<div><b>" + lang.ip + "</b> " + proposal.clientSignedIpAddr + "</div>";
11375
- if (!!(proposal !== null && proposal !== void 0 && proposal.clientSignedDate)) signatureAgreement += "<div><b>" + lang.time + "</b> " + formatDate(proposal.clientSignedDate, company || {}, "hh:mm:ss A") + "</div>";
12498
+ if (!!(proposal !== null && proposal !== void 0 && proposal.clientSignedDate)) signatureAgreement += "<div><b>" + lang.time + "</b> " + formatDate(proposal.clientSignedDate, company || {}, "hh:mm:ss A", momentLocale) + "</div>";
11376
12499
  }
11377
12500
  signatureAgreement += "</section>";
11378
12501
  var html = styles;