@opfr/utils-type 0.18.3 → 0.18.7

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.
package/dist/index.es.js CHANGED
@@ -1,55 +1,56 @@
1
- import { tns as V } from "@opfr/translate";
2
- var T = /* @__PURE__ */ ((e) => (e.BASIC = "BASIC", e.COMMON = "COMMON", e.RARE = "RARE", e.EPIC = "EPIC", e.LEGENDARY = "LEGENDARY", e.MYTHIC = "MYTHIC", e))(T || {});
3
- const Ui = {
1
+ import { tns as r } from "@opfr/translate";
2
+ import { formatNumber as e } from "@opfr/utils-lang";
3
+ var n = /* @__PURE__ */ ((o) => (o.BASIC = "BASIC", o.COMMON = "COMMON", o.RARE = "RARE", o.EPIC = "EPIC", o.LEGENDARY = "LEGENDARY", o.MYTHIC = "MYTHIC", o))(n || {});
4
+ const R = {
4
5
  BASIC: {
5
6
  color: "#fff",
6
7
  strength: 0,
7
- id: T.BASIC,
8
- name: (e, t = 1) => V("common", `ranks.${T.BASIC}.text`, { count: t, context: e })
8
+ id: n.BASIC,
9
+ name: (o, t = 1) => r("common", `ranks.${n.BASIC}.text`, { count: t, context: o })
9
10
  },
10
11
  COMMON: {
11
12
  color: "#813D31",
12
13
  strength: 1,
13
- id: T.COMMON,
14
- name: (e, t = 1) => V("common", `ranks.${T.COMMON}.text`, { count: t, context: e })
14
+ id: n.COMMON,
15
+ name: (o, t = 1) => r("common", `ranks.${n.COMMON}.text`, { count: t, context: o })
15
16
  },
16
17
  RARE: {
17
18
  color: "#5B6870",
18
19
  strength: 2,
19
- id: T.RARE,
20
- name: (e, t = 1) => V("common", `ranks.${T.RARE}.text`, { count: t, context: e })
20
+ id: n.RARE,
21
+ name: (o, t = 1) => r("common", `ranks.${n.RARE}.text`, { count: t, context: o })
21
22
  },
22
23
  EPIC: {
23
24
  color: "#C46619",
24
25
  strength: 3,
25
- id: T.EPIC,
26
- name: (e, t = 1) => V("common", `ranks.${T.EPIC}.text`, { count: t, context: e })
26
+ id: n.EPIC,
27
+ name: (o, t = 1) => r("common", `ranks.${n.EPIC}.text`, { count: t, context: o })
27
28
  },
28
29
  LEGENDARY: {
29
30
  color: "#88A3CB",
30
31
  strength: 4,
31
- id: T.LEGENDARY,
32
- name: (e, t = 1) => V("common", `ranks.${T.LEGENDARY}.text`, { count: t, context: e })
32
+ id: n.LEGENDARY,
33
+ name: (o, t = 1) => r("common", `ranks.${n.LEGENDARY}.text`, { count: t, context: o })
33
34
  },
34
35
  MYTHIC: {
35
36
  color: "#F6bF62",
36
37
  strength: 5,
37
- id: T.MYTHIC,
38
- name: (e, t = 1) => V("common", `ranks.${T.MYTHIC}.text`, { count: t, context: e })
38
+ id: n.MYTHIC,
39
+ name: (o, t = 1) => r("common", `ranks.${n.MYTHIC}.text`, { count: t, context: o })
39
40
  }
40
- }, ji = [
41
+ }, p = [
41
42
  "vitality",
42
43
  "strength",
43
44
  "agility",
44
45
  "intelligence",
45
46
  "chance",
46
47
  "wisdom"
47
- ], Gi = 10, xr = 1, Vi = [
48
+ ], M = 10, s = 1, L = [
48
49
  [200, 4],
49
50
  [100, 3],
50
51
  [50, 2],
51
- [0, xr]
52
- ], zi = 100, $i = 10, qi = {
52
+ [0, s]
53
+ ], N = 100, O = 10, S = {
53
54
  pirate: {
54
55
  name: "pirate",
55
56
  color: "#8A1623",
@@ -70,2968 +71,30 @@ const Ui = {
70
71
  color: "#fff",
71
72
  role: "1147953458507423874"
72
73
  }
73
- }, Zi = "citizen", Bi = ["category", "alpha", "quantity"], Ji = (e, t) => t === null ? null : e === t ? `-${e}` : t, Rr = {
74
- adventurer_strap: "<:adventurer_strap:1253041086147068035>",
75
- adventurer_collar: "<:adventurer_collar:1253041084611690567>",
76
- adventurer_boots: "<:adventurer_boots:1253041083252867123>",
77
- adventurer_helmet: "<:Casque_cuir:1256965718432550953>",
78
- adventurer_weapon: "<:Dague_cuir:1256965714141515837>",
79
- adventurer_belt: "<:Ceinture_cuir:1256965593333108838>",
80
- herbalist_boots: "<:Sandales_de_lHerboriste:1307627799879749652>",
81
- herbalist_helmet: "<:Chapeau_de_lHerboriste:1307627803596034058>",
82
- herbalist_weapon: "<:Gant_de_lHerboriste:1307627802073239642>",
83
- herbalist_belt: "<:Ceinture_de_lHerboriste:1307627798260744212>",
84
- marine_collar: "<:marine_collar:1309899971662712892>",
85
- marine_helmet: "<:marine_helmet:1308766843736948756>",
86
- marine_ring: "<:marine_ring:1308766839823663184>",
87
- marine_strap: "<:marine_strap:1308766838032957520>",
88
- pirate_weapon: "<:pirate_weapon:1308766750497705984>",
89
- pirate_helmet: "<:pirate_helmet:1308766752171102252>",
90
- pirate_ring: "<:pirate_ring:1308766574081212506>",
91
- pirate_belt: "<:pirate_belt:1308766575259553792>",
92
- revolutionary_belt: "<:revolutionary_belt:1308766578967576576>",
93
- revolutionary_boots: "<:revolutionary_boots:1308766571535011861>",
94
- revolutionary_helmet: "<:revolutionary_helmet:1308766576736075867>",
95
- revolutionary_ring: "<:revolutionary_ring:1308766581089767424>",
96
- little_blacksmith_collar: "<:little_blacksmith_collar:1308814708714770593>",
97
- little_blacksmith_weapon: "<:little_blacksmith_weapon:1308814712397627483>",
98
- little_blacksmith_ring: "<:little_blacksmith_ring:1308814710803529739>",
99
- little_blacksmith_strap: "<:little_blacksmith_strap:1308814713752391700>",
100
- christmas_strap: "<:Bracelet_de_Noel:1302993337015341149>",
101
- christmas_collar: "<:Collier_de_Noel:1302993344720404601>",
102
- christmas_boots: "<:BottesdeNoel:1303006913130401802>",
103
- christmas_helmet: "<:Chapeau_de_Noel:1302993343051202701>",
104
- christmas_weapon: "<:Canne_de_Noel:1302993339666272266>",
105
- christmas_belt: "<:Ceinture_de_Noel:1302993340849066045>"
106
- }, Nr = {
107
- background: "<:background:1178465681809887334>",
108
- title: "<:title:1178465688915038208>",
109
- chest_1: "<:lootbox1:1186689926167810088>",
110
- chest_2: "<:lootbox2:1186258728882811051>",
111
- chest_3: "<:lootbox3:1243963722259501216>",
112
- chest_4: "<:lootbox3:1186259958216523786>",
113
- chest_blacksmith_1: "<:chest_blacksmith_1:1310090050146664498>",
114
- chest_blacksmith_2: "<:chest_blacksmith_2:1310090051371139092>",
115
- chest_blacksmith_3: "<:chest_blacksmith_3:1310090052839276554>",
116
- chest_christmas: "<:CoffredeNoel:1309501480621051934>",
117
- bottle_xp_1: "<:bottle_xp:1186204593667969035>",
118
- bottle_xp_2: "<:bottle_xp_2:1243980696083632208>",
119
- bottle_xp_3: "<:bottle_xp_3:1243980697773936740>",
120
- bottle_xp_4: "<:bottle_xp_4:1243980698927366256>",
121
- boost_week: "<:boost_week:1186258728073297971>",
122
- boost_day: "<:boost_day:1186258726030680145>",
123
- wood_plank: "<:Planchesdebois:1233782418478071930>",
124
- nail: "<:Clous:1233782384613261382>",
125
- glue: "<:Colle:1233782388497186846>",
126
- rope: "<:Corde:1233782392225927168>",
127
- repair_kit: "<:Kitderparation:1233782876223570011>",
128
- tissue: "<:Tissus:1233784184099573852>",
129
- lock: "<:Serrureclef:1233782436068982814>",
130
- iron: "<:Ferbrut:1233782399125426207>",
131
- clover: "<:Treflesixfeuilles:1233782439503990915> ",
132
- glass_bottle: "<:Fioleenverre:1233782402233532496>",
133
- pure_water: "<:Eaupure:1233782393572298802>",
134
- sea_salt: "<:SelMarin:1233784181696233602>",
135
- ebony_poppy: "<:Pavotebene:1233782416879915060>",
136
- rose: "<:Roseimmaculee:1233784180215644180>",
137
- poppy: "<:Coquelicotecarlate:1233782390099280023>",
138
- manganese: "<:Manganesescintillante:1233784177221042196>",
139
- cursed_hawthorn: "<:AubpineMaudite:1233782382872629329>",
140
- mugwort: "<:Armoiseblanche:1233782381400424519>",
141
- mandrake: "<:MandragoreAdulte:1233782409070247946>",
142
- obsidian: "<:Obsidiennesombre:1233784178307371110>",
143
- saffron: "<:Safranvermeille:1233782430385836124>",
144
- edelweiss: "<:Edelweiss:1233782395019329546>",
145
- emerald: "<:emeraude:1233782873165791273>",
146
- ruby: "<:Rubis:1233782426174619679>",
147
- sapphire: "<:Saphir:1233782432004837407>",
148
- siren_tear: "<:Larmedesirene:1233782405538517095>",
149
- compass: "<:Rosedesvents:1233782421892239360>",
150
- dragon_heart: "<:CoeurdeDragon:1233782386580258848>",
151
- fairy_wing: "<:Ailedefees:1233782379269722293>",
152
- phoenix_feather: "<:PlumedePhoenix:1233784783822127167>",
153
- mithril: "<:Mithril:1233782412434214974>",
154
- cereal: "<:craft_cereal:1243963641204703405>",
155
- cotton: "<:craft_cotton:1243963642567721080>",
156
- empty_box: "<:craft_empty_box:1243963643834535966>",
157
- enchanted_emerald: "<:craft_enchanted_emerald:1243963645092696105>",
158
- enchanted_ruby: "<:craft_enchanted_ruby:1243963647097569330>",
159
- enchanted_sapphire: "<:craft_enchanted_sapphire:1243963648486019082>",
160
- enchanted_stone: "<:craft_enchanted_stone:1243963650893545637>",
161
- flour: "<:craft_flour:1243963651719823451>",
162
- hemp: "<:craft_hemp:1243963653238030387>",
163
- scrap: "<:craft_scrap:1243963718895669268>",
164
- strange_gem: "<:craft_strange_gem:1243963656539078686>",
165
- strange_stone: "<:craft_strange_stone:1243963658766123192>",
166
- tools: "<:craft_tools:1243963720179122217>",
167
- wood: "<:craft_wood:1243963662763298897>",
168
- wine: "<:craft_wine:1249242713442746501>",
169
- toy: "<:craft_toy:1249242711907893278>",
170
- rhum: "<:craft_rhum:1249242707961057361>",
171
- milk: "<:craft_milk:1249242706501308488>",
172
- fruit: "<:craft_fruit:1249242705612115968>",
173
- sugar: "<:craft_sugar:1249242709684785184>",
174
- egg: "<:craft_egg:1249242703972007986>",
175
- omelet: "<:omelette:1288942044328493179>",
176
- cheese: "<:Fromage_Affine:1289695711398596761>",
177
- bread: "<:Pain_de_campagne:1289703440163016855>",
178
- strawberry_cake: "<:Fraisier:1289707903649058858>",
179
- bowl_cereal: "<:craft_bowl_cereal:1249242702462193686>",
180
- beer: "<:craft_beer:1249242701300240434>",
181
- bowl: "<:craft_bowl:1250116629275082873>",
182
- rudder: "<:craft_rudder:1250435943253540895>",
183
- rescue_boat: "<:craft_rescue_boat:1250435931635322950>",
184
- sailing_boat: "<:craft_sailing_boat:1250435942162894849>",
185
- salt_water: "<:craft_salt_water:1250435945216475317>",
186
- anchor: "<:craft_anchor:1250435934843834409>",
187
- hammock: "<:craft_hammock:1250435933300588687>",
188
- leather: "<:craft_leather:1253034980133834752>",
189
- ancient_key: "<:craft_ancient_key:1257447843355033742>",
190
- iron_ore: "<:craft_iron_ore:1257475847271612497>",
191
- map_fragment: "<:map_fragment:1281949667227205663>",
192
- scroll_agility: "<:scroll_agility:1254081331365810289>",
193
- scroll_chance: "<:scroll_chance:1254081332422639657>",
194
- scroll_intelligence: "<:scroll_intelligence:1254081334264070174>",
195
- scroll_strength: "<:scroll_strength:1254081335862099980>",
196
- scroll_vitality: "<:scroll_vitality:1254081337711919185>",
197
- scroll_wisdom: "<:scroll_wisdom:1254081340115259454>",
198
- elemental_concentrate_earth: "<:elemental_concentrate_earth:1269073512782499860>",
199
- elemental_concentrate_fire: "<:elemental_concentrate_fire:1269073513919156349>",
200
- elemental_concentrate_life: "<:elemental_concentrate_life:1269073515315728425>",
201
- elemental_concentrate_moon: "<:elemental_concentrate_moon:1269073517044039760>",
202
- elemental_concentrate_water: "<:elemental_concentrate_water:1269073518205599776>",
203
- elemental_concentrate_wind: "<:elemental_concentrate_wind:1269073510815367189>",
204
- essence_earth: "<:essence_earth:1269073149300052034>",
205
- essence_fire: "<:essence_fire:1269073150784700416>",
206
- essence_life: "<:essence_life:1269073151728287787>",
207
- essence_moon: "<:essence_moon:1269073153510998056>",
208
- essence_water: "<:essence_water:1269073154333081701>",
209
- essence_wind: "<:essence_wind:1269073156241625088>",
210
- empty_scroll: "<:empty_scroll:1269074077327298653>",
211
- enchant: {
212
- wood: "<:Bois_enchante:1302698738107682986>",
213
- cereal: "<:Cereale_enchantee:1302698739307253862>",
214
- hemp: "<:Chanvre_enchante:1302698741098086411>",
215
- poppy: "<:Coquelicot_ecarlate_enchante:1302698743597891744>",
216
- rope: "<:Corde_Enchantee:1302698745875661001>",
217
- cotton: "<:Coton_enchante:1302698771804721295>",
218
- leather: "<:Cuir_enchante:1302698774510174360>",
219
- pure_water: "<:Eau_pure_enchantee:1302698775965466654>",
220
- iron: "<:Fer_brut_enchante:1302698777899040789>",
221
- manganese: "<:Manganese_scintillante_enchantee:1302698799273214073>",
222
- ebony_poppy: "<:Pavot_debene_enchante:1302698801559109672>",
223
- rose: "<:Rose_immaculee_enchantee:1302698803886948452>",
224
- sea_salt: "<:Sel_Marin_enchante:1302698806541815869>",
225
- tissue: "<:Tissu_enchante:1302698807917805633>",
226
- clover: "<:Trefle_a_6_feuilles_enchante:1302698809670762556>"
227
- },
228
- sugar_cane_christmas: "<:sucredorge:1302993371450572801> ",
229
- mysterious_egg_christmas: "<:Oeuf_Mystere_de_Noel:1302993349061378139>",
230
- little_cookie_christmas: "<:Petit_Biscuit_de_Noel:1303022418951934002>",
231
- christmas_present: "<:CadeaudeNoel:1309501482252501094>",
232
- aeronef: "<:Aeronef:1312419591812812861>"
233
- }, qe = {
234
- d1: "<:d1:1159542168738873455>",
235
- d2: "<:d2:1159542071049334814>",
236
- d3: "<:d3:1159542073914032191>",
237
- d4: "<:d4:1159542075512082543>",
238
- d5: "<:d5:1159542078179651614>",
239
- d6: "<:d6:1159542079458910229>",
240
- revolutionary: "<:revolutionnaire:648245785133056020>",
241
- pirate: "<:pirate:648245785053626368>",
242
- marine: "<:marine:648245784407441429>",
243
- berry: "<:berry:1153734056035504158>",
244
- xp: "<:xp:1084914564379975772>",
245
- success: "<:success:1186707379534954506>",
246
- hp: "<:hp:1257776163955277824>",
247
- paper: "📄",
248
- rock: "🪨",
249
- scissor: "✂️",
250
- pray: "<:Ryokugyu_pray:1147542990844334280>",
251
- gun: "<:fujigun:1050120413243506688>",
252
- promise: "<:Luffy_Promise:1027626431565529099>",
253
- love: "<:Lawve:1050916817801072730>",
254
- note: "<:imsusnote:1136952496456224778>",
255
- watching: "<:Carrot_Watching:1024736915922104360>",
256
- card: "<:carteDos:1168580012258103387>",
257
- cards: {
258
- spades: {
259
- 1: "<:asdepique:1168560615170768967>",
260
- 2: "<:2depique:1168559430955184259>",
261
- 3: "<:3depique:1168559437548638248>",
262
- 4: "<:4depique:1168559679354445934>",
263
- 5: "<:5depique:1168559725504372796>",
264
- 6: "<:6depique:1168559764528185394>",
265
- 7: "<:7depique:1168559459392553061>",
266
- 8: "<:8depique:1168559887870083162>",
267
- 9: "<:9depique:1168559471392464988>",
268
- 10: "<:10depique:1168559958435053598>",
269
- J: "<:valetdepique:1168560676202086523>",
270
- Q: "<:reinedepique:1168560621722284083>",
271
- K: "<:roidepique:1168560628189888634>"
272
- },
273
- diamonds: {
274
- 1: "<:asdecarreau:1168560612742279308>",
275
- 2: "<:2decarreau:1168559427788472330>",
276
- 3: "<:3decarreau:1168559434138669236>",
277
- 4: "<:4decarreau:1168559440774041621>",
278
- 5: "<:5decarreau:1168559445308084256>",
279
- 6: "<:6decarreau:1168559763462819940>",
280
- 7: "<:7decarreau:1168559845872517172>",
281
- 8: "<:8decarreau:1168559888989949994>",
282
- 9: "<:9decarreau:1168559942215667804>",
283
- 10: "<:10decarreau:1168559475481907230>",
284
- J: "<:valetdecarreau:1168560633634095234>",
285
- Q: "<:reinedecarreau:1168560618182291577>",
286
- K: "<:roidecarreau:1168560626185011281>"
287
- },
288
- hearts: {
289
- 1: "<:asdecoeur:1168560613971214368>",
290
- 2: "<:2decoeur:1168559428681859073>",
291
- 3: "<:3decoeur:1168559435950592060>",
292
- 4: "<:4decoeur:1168559442074284073>",
293
- 5: "<:5decoeur:1168559723226865725>",
294
- 6: "<:6decoeur:1168559452509708298>",
295
- 7: "<:7decoeur:1168559457769365684>",
296
- 8: "<:8decoeur:1168559463368757339>",
297
- 9: "<:9decoeur:1168559938897989672>",
298
- 10: "<:10decoeur:1168559477658751006>",
299
- J: "<:valetdecoeur:1168560635991298160>",
300
- Q: "<:reinedecoeur:1168560619855822940>",
301
- K: "<:roidecoeur:1168560678378950716>"
302
- },
303
- clubs: {
304
- 1: "<:asdetrfle:1168560617444081834>",
305
- 2: "<:2detrfle:1168559432242831512>",
306
- 3: "<:3detrfle:1168559439440269403>",
307
- 4: "<:4detrfle:1168559677936762982>",
308
- 5: "<:5detrfle:1168559449540145153>",
309
- 6: "<:6detrfle:1168559761260818594>",
310
- 7: "<:7detrfle:1168559844748435549>",
311
- 8: "<:8detrfle:1168559466334142575>",
312
- 9: "<:9detrfle:1168559940953194576>",
313
- 10: "<:10detrfle:1168559959802380288>",
314
- J: "<:valetdetrfle:1168560610531885137>",
315
- Q: "<:reinedetrfle:1168560623228026972>",
316
- K: "<:roidetrfle:1168560675543580712>"
317
- }
318
- },
319
- factions: {
320
- b_citizen_COMMON: "<:BasiqueOPFRbois:1175507882188484761>",
321
- b_citizen_RARE: "<:BasiqueOPFRargent:1175507880724668488>",
322
- b_citizen_EPIC: "<:BasiqueOPFRor:1175507883501289512>",
323
- b_citizen_LEGENDARY: "<:BasiqueOPFRplatine:1175507886714134548>",
324
- b_citizen_MYTHIC: "<:BasiqueOPFRultime:1175507889553670264>",
325
- b_marine_COMMON: "<:Marinebois:1175507936953512036>",
326
- b_marine_RARE: "<:Marineargent:1175508322351321178>",
327
- b_marine_EPIC: "<:Marineor:1175508300603863132>",
328
- b_marine_LEGENDARY: "<:Marineplatine:1175507940803879012>",
329
- b_marine_MYTHIC: "<:Marineultime:1175508279590395977>",
330
- b_revolutionary_COMMON: "<:RvoBois:1175507954779295810>",
331
- b_revolutionary_RARE: "<:RvoArgent:1175508199118483457>",
332
- b_revolutionary_EPIC: "<:RvoOr:1175508111885344819>",
333
- b_revolutionary_LEGENDARY: "<:RvoPlatine:1175507958378008756>",
334
- b_revolutionary_MYTHIC: "<:RvoUltime:1175508127815319612>",
335
- b_pirate_COMMON: "<:Piratebois:1175508259768115272>",
336
- b_pirate_RARE: "<:Pirateargent:1175507943987363941>",
337
- b_pirate_EPIC: "<:Pirateor:1175508240243621928>",
338
- b_pirate_LEGENDARY: "<:Pirateplatine:1175507949578358804>",
339
- b_pirate_MYTHIC: "<:Pirateultime:1175507951709061150>"
340
- },
341
- characteristics: {
342
- vitality: "<:vitality:1251861015277338675>",
343
- strength: "<:strength:1251860738595618838>",
344
- agility: "<:agility:1251860734145728596>",
345
- intelligence: "<:intelligence:1251860736943194144>",
346
- chance: "<:chance:1251860735827513425>",
347
- wisdom: "<:wisdom:1251861017231884378>"
348
- },
349
- bag: "<:sacdosbleu:1320873412121460837>",
350
- items: Nr,
351
- equipments: Rr
352
- };
353
- //! moment.js
354
- //! version : 2.30.1
355
- //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
356
- //! license : MIT
357
- //! momentjs.com
358
- var Lt;
359
- function l() {
360
- return Lt.apply(null, arguments);
361
- }
362
- function Pr(e) {
363
- Lt = e;
364
- }
365
- function W(e) {
366
- return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
367
- }
368
- function ae(e) {
369
- return e != null && Object.prototype.toString.call(e) === "[object Object]";
370
- }
371
- function w(e, t) {
372
- return Object.prototype.hasOwnProperty.call(e, t);
373
- }
374
- function ot(e) {
375
- if (Object.getOwnPropertyNames)
376
- return Object.getOwnPropertyNames(e).length === 0;
377
- var t;
378
- for (t in e)
379
- if (w(e, t))
380
- return !1;
381
- return !0;
382
- }
383
- function O(e) {
384
- return e === void 0;
385
- }
386
- function B(e) {
387
- return typeof e == "number" || Object.prototype.toString.call(e) === "[object Number]";
388
- }
389
- function ve(e) {
390
- return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
391
- }
392
- function Et(e, t) {
393
- var r = [], s, a = e.length;
394
- for (s = 0; s < a; ++s)
395
- r.push(t(e[s], s));
396
- return r;
397
- }
398
- function X(e, t) {
399
- for (var r in t)
400
- w(t, r) && (e[r] = t[r]);
401
- return w(t, "toString") && (e.toString = t.toString), w(t, "valueOf") && (e.valueOf = t.valueOf), e;
402
- }
403
- function I(e, t, r, s) {
404
- return ir(e, t, r, s, !0).utc();
405
- }
406
- function Cr() {
407
- return {
408
- empty: !1,
409
- unusedTokens: [],
410
- unusedInput: [],
411
- overflow: -2,
412
- charsLeftOver: 0,
413
- nullInput: !1,
414
- invalidEra: null,
415
- invalidMonth: null,
416
- invalidFormat: !1,
417
- userInvalidated: !1,
418
- iso: !1,
419
- parsedDateParts: [],
420
- era: null,
421
- meridiem: null,
422
- rfc2822: !1,
423
- weekdayMismatch: !1
424
- };
425
- }
426
- function f(e) {
427
- return e._pf == null && (e._pf = Cr()), e._pf;
428
- }
429
- var et;
430
- Array.prototype.some ? et = Array.prototype.some : et = function(e) {
431
- var t = Object(this), r = t.length >>> 0, s;
432
- for (s = 0; s < r; s++)
433
- if (s in t && e.call(this, t[s], s, t))
434
- return !0;
435
- return !1;
436
- };
437
- function lt(e) {
438
- var t = null, r = !1, s = e._d && !isNaN(e._d.getTime());
439
- if (s && (t = f(e), r = et.call(t.parsedDateParts, function(a) {
440
- return a != null;
441
- }), s = t.overflow < 0 && !t.empty && !t.invalidEra && !t.invalidMonth && !t.invalidWeekday && !t.weekdayMismatch && !t.nullInput && !t.invalidFormat && !t.userInvalidated && (!t.meridiem || t.meridiem && r), e._strict && (s = s && t.charsLeftOver === 0 && t.unusedTokens.length === 0 && t.bigHour === void 0)), Object.isFrozen == null || !Object.isFrozen(e))
442
- e._isValid = s;
443
- else
444
- return s;
445
- return e._isValid;
446
- }
447
- function Le(e) {
448
- var t = I(NaN);
449
- return e != null ? X(f(t), e) : f(t).userInvalidated = !0, t;
450
- }
451
- var xt = l.momentProperties = [], Ze = !1;
452
- function ut(e, t) {
453
- var r, s, a, n = xt.length;
454
- if (O(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), O(t._i) || (e._i = t._i), O(t._f) || (e._f = t._f), O(t._l) || (e._l = t._l), O(t._strict) || (e._strict = t._strict), O(t._tzm) || (e._tzm = t._tzm), O(t._isUTC) || (e._isUTC = t._isUTC), O(t._offset) || (e._offset = t._offset), O(t._pf) || (e._pf = f(t)), O(t._locale) || (e._locale = t._locale), n > 0)
455
- for (r = 0; r < n; r++)
456
- s = xt[r], a = t[s], O(a) || (e[s] = a);
457
- return e;
458
- }
459
- function Se(e) {
460
- ut(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), Ze === !1 && (Ze = !0, l.updateOffset(this), Ze = !1);
461
- }
462
- function F(e) {
463
- return e instanceof Se || e != null && e._isAMomentObject != null;
464
- }
465
- function At(e) {
466
- l.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
467
- }
468
- function N(e, t) {
469
- var r = !0;
470
- return X(function() {
471
- if (l.deprecationHandler != null && l.deprecationHandler(null, e), r) {
472
- var s = [], a, n, i, u = arguments.length;
473
- for (n = 0; n < u; n++) {
474
- if (a = "", typeof arguments[n] == "object") {
475
- a += `
476
- [` + n + "] ";
477
- for (i in arguments[0])
478
- w(arguments[0], i) && (a += i + ": " + arguments[0][i] + ", ");
479
- a = a.slice(0, -2);
480
- } else
481
- a = arguments[n];
482
- s.push(a);
483
- }
484
- At(
485
- e + `
486
- Arguments: ` + Array.prototype.slice.call(s).join("") + `
487
- ` + new Error().stack
488
- ), r = !1;
489
- }
490
- return t.apply(this, arguments);
491
- }, t);
492
- }
493
- var Rt = {};
494
- function It(e, t) {
495
- l.deprecationHandler != null && l.deprecationHandler(e, t), Rt[e] || (At(t), Rt[e] = !0);
496
- }
497
- l.suppressDeprecationWarnings = !1;
498
- l.deprecationHandler = null;
499
- function H(e) {
500
- return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
501
- }
502
- function Wr(e) {
503
- var t, r;
504
- for (r in e)
505
- w(e, r) && (t = e[r], H(t) ? this[r] = t : this["_" + r] = t);
506
- this._config = e, this._dayOfMonthOrdinalParseLenient = new RegExp(
507
- (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) + "|" + /\d{1,2}/.source
508
- );
509
- }
510
- function tt(e, t) {
511
- var r = X({}, e), s;
512
- for (s in t)
513
- w(t, s) && (ae(e[s]) && ae(t[s]) ? (r[s] = {}, X(r[s], e[s]), X(r[s], t[s])) : t[s] != null ? r[s] = t[s] : delete r[s]);
514
- for (s in e)
515
- w(e, s) && !w(t, s) && ae(e[s]) && (r[s] = X({}, r[s]));
516
- return r;
517
- }
518
- function dt(e) {
519
- e != null && this.set(e);
520
- }
521
- var rt;
522
- Object.keys ? rt = Object.keys : rt = function(e) {
523
- var t, r = [];
524
- for (t in e)
525
- w(e, t) && r.push(t);
526
- return r;
527
- };
528
- var Fr = {
529
- sameDay: "[Today at] LT",
530
- nextDay: "[Tomorrow at] LT",
531
- nextWeek: "dddd [at] LT",
532
- lastDay: "[Yesterday at] LT",
533
- lastWeek: "[Last] dddd [at] LT",
534
- sameElse: "L"
535
- };
536
- function Lr(e, t, r) {
537
- var s = this._calendar[e] || this._calendar.sameElse;
538
- return H(s) ? s.call(t, r) : s;
539
- }
540
- function A(e, t, r) {
541
- var s = "" + Math.abs(e), a = t - s.length, n = e >= 0;
542
- return (n ? r ? "+" : "" : "-") + Math.pow(10, Math.max(0, a)).toString().substr(1) + s;
543
- }
544
- var ct = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, be = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, Be = {}, ue = {};
545
- function c(e, t, r, s) {
546
- var a = s;
547
- typeof s == "string" && (a = function() {
548
- return this[s]();
549
- }), e && (ue[e] = a), t && (ue[t[0]] = function() {
550
- return A(a.apply(this, arguments), t[1], t[2]);
551
- }), r && (ue[r] = function() {
552
- return this.localeData().ordinal(
553
- a.apply(this, arguments),
554
- e
555
- );
556
- });
557
- }
558
- function Er(e) {
559
- return e.match(/\[[\s\S]/) ? e.replace(/^\[|\]$/g, "") : e.replace(/\\/g, "");
560
- }
561
- function Ar(e) {
562
- var t = e.match(ct), r, s;
563
- for (r = 0, s = t.length; r < s; r++)
564
- ue[t[r]] ? t[r] = ue[t[r]] : t[r] = Er(t[r]);
565
- return function(a) {
566
- var n = "", i;
567
- for (i = 0; i < s; i++)
568
- n += H(t[i]) ? t[i].call(a, e) : t[i];
569
- return n;
570
- };
571
- }
572
- function Te(e, t) {
573
- return e.isValid() ? (t = Ht(t, e.localeData()), Be[t] = Be[t] || Ar(t), Be[t](e)) : e.localeData().invalidDate();
574
- }
575
- function Ht(e, t) {
576
- var r = 5;
577
- function s(a) {
578
- return t.longDateFormat(a) || a;
579
- }
580
- for (be.lastIndex = 0; r >= 0 && be.test(e); )
581
- e = e.replace(
582
- be,
583
- s
584
- ), be.lastIndex = 0, r -= 1;
585
- return e;
586
- }
587
- var Ir = {
588
- LTS: "h:mm:ss A",
589
- LT: "h:mm A",
590
- L: "MM/DD/YYYY",
591
- LL: "MMMM D, YYYY",
592
- LLL: "MMMM D, YYYY h:mm A",
593
- LLLL: "dddd, MMMM D, YYYY h:mm A"
594
- };
595
- function Hr(e) {
596
- var t = this._longDateFormat[e], r = this._longDateFormat[e.toUpperCase()];
597
- return t || !r ? t : (this._longDateFormat[e] = r.match(ct).map(function(s) {
598
- return s === "MMMM" || s === "MM" || s === "DD" || s === "dddd" ? s.slice(1) : s;
599
- }).join(""), this._longDateFormat[e]);
600
- }
601
- var Ur = "Invalid date";
602
- function jr() {
603
- return this._invalidDate;
604
- }
605
- var Gr = "%d", Vr = /\d{1,2}/;
606
- function zr(e) {
607
- return this._ordinal.replace("%d", e);
608
- }
609
- var $r = {
610
- future: "in %s",
611
- past: "%s ago",
612
- s: "a few seconds",
613
- ss: "%d seconds",
614
- m: "a minute",
615
- mm: "%d minutes",
616
- h: "an hour",
617
- hh: "%d hours",
618
- d: "a day",
619
- dd: "%d days",
620
- w: "a week",
621
- ww: "%d weeks",
622
- M: "a month",
623
- MM: "%d months",
624
- y: "a year",
625
- yy: "%d years"
626
- };
627
- function qr(e, t, r, s) {
628
- var a = this._relativeTime[r];
629
- return H(a) ? a(e, t, r, s) : a.replace(/%d/i, e);
630
- }
631
- function Zr(e, t) {
632
- var r = this._relativeTime[e > 0 ? "future" : "past"];
633
- return H(r) ? r(t) : r.replace(/%s/i, t);
634
- }
635
- var Nt = {
636
- D: "date",
637
- dates: "date",
638
- date: "date",
639
- d: "day",
640
- days: "day",
641
- day: "day",
642
- e: "weekday",
643
- weekdays: "weekday",
644
- weekday: "weekday",
645
- E: "isoWeekday",
646
- isoweekdays: "isoWeekday",
647
- isoweekday: "isoWeekday",
648
- DDD: "dayOfYear",
649
- dayofyears: "dayOfYear",
650
- dayofyear: "dayOfYear",
651
- h: "hour",
652
- hours: "hour",
653
- hour: "hour",
654
- ms: "millisecond",
655
- milliseconds: "millisecond",
656
- millisecond: "millisecond",
657
- m: "minute",
658
- minutes: "minute",
659
- minute: "minute",
660
- M: "month",
661
- months: "month",
662
- month: "month",
663
- Q: "quarter",
664
- quarters: "quarter",
665
- quarter: "quarter",
666
- s: "second",
667
- seconds: "second",
668
- second: "second",
669
- gg: "weekYear",
670
- weekyears: "weekYear",
671
- weekyear: "weekYear",
672
- GG: "isoWeekYear",
673
- isoweekyears: "isoWeekYear",
674
- isoweekyear: "isoWeekYear",
675
- w: "week",
676
- weeks: "week",
677
- week: "week",
678
- W: "isoWeek",
679
- isoweeks: "isoWeek",
680
- isoweek: "isoWeek",
681
- y: "year",
682
- years: "year",
683
- year: "year"
684
- };
685
- function P(e) {
686
- return typeof e == "string" ? Nt[e] || Nt[e.toLowerCase()] : void 0;
687
- }
688
- function ht(e) {
689
- var t = {}, r, s;
690
- for (s in e)
691
- w(e, s) && (r = P(s), r && (t[r] = e[s]));
692
- return t;
693
- }
694
- var Br = {
695
- date: 9,
696
- day: 11,
697
- weekday: 11,
698
- isoWeekday: 11,
699
- dayOfYear: 4,
700
- hour: 13,
701
- millisecond: 16,
702
- minute: 14,
703
- month: 8,
704
- quarter: 7,
705
- second: 15,
706
- weekYear: 1,
707
- isoWeekYear: 1,
708
- week: 5,
709
- isoWeek: 5,
710
- year: 1
711
- };
712
- function Jr(e) {
713
- var t = [], r;
714
- for (r in e)
715
- w(e, r) && t.push({ unit: r, priority: Br[r] });
716
- return t.sort(function(s, a) {
717
- return s.priority - a.priority;
718
- }), t;
719
- }
720
- var Ut = /\d/, x = /\d\d/, jt = /\d{3}/, ft = /\d{4}/, Ee = /[+-]?\d{6}/, k = /\d\d?/, Gt = /\d\d\d\d?/, Vt = /\d\d\d\d\d\d?/, Ae = /\d{1,3}/, _t = /\d{1,4}/, Ie = /[+-]?\d{1,6}/, he = /\d+/, He = /[+-]?\d+/, Qr = /Z|[+-]\d\d:?\d\d/gi, Ue = /Z|[+-]\d\d(?::?\d\d)?/gi, Kr = /[+-]?\d+(\.\d{1,3})?/, De = /[0-9]{0,256}['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFF07\uFF10-\uFFEF]{1,256}|[\u0600-\u06FF\/]{1,256}(\s*?[\u0600-\u06FF]{1,256}){1,2}/i, fe = /^[1-9]\d?/, mt = /^([1-9]\d|\d)/, Ne;
721
- Ne = {};
722
- function d(e, t, r) {
723
- Ne[e] = H(t) ? t : function(s, a) {
724
- return s && r ? r : t;
725
- };
726
- }
727
- function Xr(e, t) {
728
- return w(Ne, e) ? Ne[e](t._strict, t._locale) : new RegExp(es(e));
729
- }
730
- function es(e) {
731
- return q(
732
- e.replace("\\", "").replace(
733
- /\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,
734
- function(t, r, s, a, n) {
735
- return r || s || a || n;
736
- }
737
- )
738
- );
739
- }
740
- function q(e) {
741
- return e.replace(/[-\/\\^$*+?.()|[\]{}]/g, "\\$&");
742
- }
743
- function R(e) {
744
- return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
745
- }
746
- function _(e) {
747
- var t = +e, r = 0;
748
- return t !== 0 && isFinite(t) && (r = R(t)), r;
749
- }
750
- var st = {};
751
- function g(e, t) {
752
- var r, s = t, a;
753
- for (typeof e == "string" && (e = [e]), B(t) && (s = function(n, i) {
754
- i[t] = _(n);
755
- }), a = e.length, r = 0; r < a; r++)
756
- st[e[r]] = s;
757
- }
758
- function Ye(e, t) {
759
- g(e, function(r, s, a, n) {
760
- a._w = a._w || {}, t(r, a._w, a, n);
761
- });
762
- }
763
- function ts(e, t, r) {
764
- t != null && w(st, e) && st[e](t, r._a, r, e);
765
- }
766
- function je(e) {
767
- return e % 4 === 0 && e % 100 !== 0 || e % 400 === 0;
768
- }
769
- var Y = 0, z = 1, E = 2, D = 3, C = 4, $ = 5, se = 6, rs = 7, ss = 8;
770
- c("Y", 0, 0, function() {
771
- var e = this.year();
772
- return e <= 9999 ? A(e, 4) : "+" + e;
773
- });
774
- c(0, ["YY", 2], 0, function() {
775
- return this.year() % 100;
776
- });
777
- c(0, ["YYYY", 4], 0, "year");
778
- c(0, ["YYYYY", 5], 0, "year");
779
- c(0, ["YYYYYY", 6, !0], 0, "year");
780
- d("Y", He);
781
- d("YY", k, x);
782
- d("YYYY", _t, ft);
783
- d("YYYYY", Ie, Ee);
784
- d("YYYYYY", Ie, Ee);
785
- g(["YYYYY", "YYYYYY"], Y);
786
- g("YYYY", function(e, t) {
787
- t[Y] = e.length === 2 ? l.parseTwoDigitYear(e) : _(e);
788
- });
789
- g("YY", function(e, t) {
790
- t[Y] = l.parseTwoDigitYear(e);
791
- });
792
- g("Y", function(e, t) {
793
- t[Y] = parseInt(e, 10);
794
- });
795
- function we(e) {
796
- return je(e) ? 366 : 365;
797
- }
798
- l.parseTwoDigitYear = function(e) {
799
- return _(e) + (_(e) > 68 ? 1900 : 2e3);
800
- };
801
- var zt = _e("FullYear", !0);
802
- function as() {
803
- return je(this.year());
804
- }
805
- function _e(e, t) {
806
- return function(r) {
807
- return r != null ? ($t(this, e, r), l.updateOffset(this, t), this) : pe(this, e);
808
- };
809
- }
810
- function pe(e, t) {
811
- if (!e.isValid())
812
- return NaN;
813
- var r = e._d, s = e._isUTC;
814
- switch (t) {
815
- case "Milliseconds":
816
- return s ? r.getUTCMilliseconds() : r.getMilliseconds();
817
- case "Seconds":
818
- return s ? r.getUTCSeconds() : r.getSeconds();
819
- case "Minutes":
820
- return s ? r.getUTCMinutes() : r.getMinutes();
821
- case "Hours":
822
- return s ? r.getUTCHours() : r.getHours();
823
- case "Date":
824
- return s ? r.getUTCDate() : r.getDate();
825
- case "Day":
826
- return s ? r.getUTCDay() : r.getDay();
827
- case "Month":
828
- return s ? r.getUTCMonth() : r.getMonth();
829
- case "FullYear":
830
- return s ? r.getUTCFullYear() : r.getFullYear();
831
- default:
832
- return NaN;
833
- }
834
- }
835
- function $t(e, t, r) {
836
- var s, a, n, i, u;
837
- if (!(!e.isValid() || isNaN(r))) {
838
- switch (s = e._d, a = e._isUTC, t) {
839
- case "Milliseconds":
840
- return void (a ? s.setUTCMilliseconds(r) : s.setMilliseconds(r));
841
- case "Seconds":
842
- return void (a ? s.setUTCSeconds(r) : s.setSeconds(r));
843
- case "Minutes":
844
- return void (a ? s.setUTCMinutes(r) : s.setMinutes(r));
845
- case "Hours":
846
- return void (a ? s.setUTCHours(r) : s.setHours(r));
847
- case "Date":
848
- return void (a ? s.setUTCDate(r) : s.setDate(r));
849
- case "FullYear":
850
- break;
851
- default:
852
- return;
853
- }
854
- n = r, i = e.month(), u = e.date(), u = u === 29 && i === 1 && !je(n) ? 28 : u, a ? s.setUTCFullYear(n, i, u) : s.setFullYear(n, i, u);
855
- }
856
- }
857
- function ns(e) {
858
- return e = P(e), H(this[e]) ? this[e]() : this;
859
- }
860
- function is(e, t) {
861
- if (typeof e == "object") {
862
- e = ht(e);
863
- var r = Jr(e), s, a = r.length;
864
- for (s = 0; s < a; s++)
865
- this[r[s].unit](e[r[s].unit]);
866
- } else if (e = P(e), H(this[e]))
867
- return this[e](t);
868
- return this;
869
- }
870
- function os(e, t) {
871
- return (e % t + t) % t;
872
- }
873
- var S;
874
- Array.prototype.indexOf ? S = Array.prototype.indexOf : S = function(e) {
875
- var t;
876
- for (t = 0; t < this.length; ++t)
877
- if (this[t] === e)
878
- return t;
879
- return -1;
880
- };
881
- function yt(e, t) {
882
- if (isNaN(e) || isNaN(t))
883
- return NaN;
884
- var r = os(t, 12);
885
- return e += (t - r) / 12, r === 1 ? je(e) ? 29 : 28 : 31 - r % 7 % 2;
886
- }
887
- c("M", ["MM", 2], "Mo", function() {
888
- return this.month() + 1;
889
- });
890
- c("MMM", 0, 0, function(e) {
891
- return this.localeData().monthsShort(this, e);
892
- });
893
- c("MMMM", 0, 0, function(e) {
894
- return this.localeData().months(this, e);
895
- });
896
- d("M", k, fe);
897
- d("MM", k, x);
898
- d("MMM", function(e, t) {
899
- return t.monthsShortRegex(e);
900
- });
901
- d("MMMM", function(e, t) {
902
- return t.monthsRegex(e);
903
- });
904
- g(["M", "MM"], function(e, t) {
905
- t[z] = _(e) - 1;
906
- });
907
- g(["MMM", "MMMM"], function(e, t, r, s) {
908
- var a = r._locale.monthsParse(e, s, r._strict);
909
- a != null ? t[z] = a : f(r).invalidMonth = e;
910
- });
911
- var ls = "January_February_March_April_May_June_July_August_September_October_November_December".split(
912
- "_"
913
- ), qt = "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"), Zt = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/, us = De, ds = De;
914
- function cs(e, t) {
915
- return e ? W(this._months) ? this._months[e.month()] : this._months[(this._months.isFormat || Zt).test(t) ? "format" : "standalone"][e.month()] : W(this._months) ? this._months : this._months.standalone;
916
- }
917
- function hs(e, t) {
918
- return e ? W(this._monthsShort) ? this._monthsShort[e.month()] : this._monthsShort[Zt.test(t) ? "format" : "standalone"][e.month()] : W(this._monthsShort) ? this._monthsShort : this._monthsShort.standalone;
919
- }
920
- function fs(e, t, r) {
921
- var s, a, n, i = e.toLocaleLowerCase();
922
- if (!this._monthsParse)
923
- for (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = [], s = 0; s < 12; ++s)
924
- n = I([2e3, s]), this._shortMonthsParse[s] = this.monthsShort(
925
- n,
926
- ""
927
- ).toLocaleLowerCase(), this._longMonthsParse[s] = this.months(n, "").toLocaleLowerCase();
928
- return r ? t === "MMM" ? (a = S.call(this._shortMonthsParse, i), a !== -1 ? a : null) : (a = S.call(this._longMonthsParse, i), a !== -1 ? a : null) : t === "MMM" ? (a = S.call(this._shortMonthsParse, i), a !== -1 ? a : (a = S.call(this._longMonthsParse, i), a !== -1 ? a : null)) : (a = S.call(this._longMonthsParse, i), a !== -1 ? a : (a = S.call(this._shortMonthsParse, i), a !== -1 ? a : null));
929
- }
930
- function _s(e, t, r) {
931
- var s, a, n;
932
- if (this._monthsParseExact)
933
- return fs.call(this, e, t, r);
934
- for (this._monthsParse || (this._monthsParse = [], this._longMonthsParse = [], this._shortMonthsParse = []), s = 0; s < 12; s++) {
935
- if (a = I([2e3, s]), r && !this._longMonthsParse[s] && (this._longMonthsParse[s] = new RegExp(
936
- "^" + this.months(a, "").replace(".", "") + "$",
937
- "i"
938
- ), this._shortMonthsParse[s] = new RegExp(
939
- "^" + this.monthsShort(a, "").replace(".", "") + "$",
940
- "i"
941
- )), !r && !this._monthsParse[s] && (n = "^" + this.months(a, "") + "|^" + this.monthsShort(a, ""), this._monthsParse[s] = new RegExp(n.replace(".", ""), "i")), r && t === "MMMM" && this._longMonthsParse[s].test(e))
942
- return s;
943
- if (r && t === "MMM" && this._shortMonthsParse[s].test(e))
944
- return s;
945
- if (!r && this._monthsParse[s].test(e))
946
- return s;
947
- }
948
- }
949
- function Bt(e, t) {
950
- if (!e.isValid())
951
- return e;
952
- if (typeof t == "string") {
953
- if (/^\d+$/.test(t))
954
- t = _(t);
955
- else if (t = e.localeData().monthsParse(t), !B(t))
956
- return e;
957
- }
958
- var r = t, s = e.date();
959
- return s = s < 29 ? s : Math.min(s, yt(e.year(), r)), e._isUTC ? e._d.setUTCMonth(r, s) : e._d.setMonth(r, s), e;
960
- }
961
- function Jt(e) {
962
- return e != null ? (Bt(this, e), l.updateOffset(this, !0), this) : pe(this, "Month");
963
- }
964
- function ms() {
965
- return yt(this.year(), this.month());
966
- }
967
- function ys(e) {
968
- return this._monthsParseExact ? (w(this, "_monthsRegex") || Qt.call(this), e ? this._monthsShortStrictRegex : this._monthsShortRegex) : (w(this, "_monthsShortRegex") || (this._monthsShortRegex = us), this._monthsShortStrictRegex && e ? this._monthsShortStrictRegex : this._monthsShortRegex);
969
- }
970
- function ws(e) {
971
- return this._monthsParseExact ? (w(this, "_monthsRegex") || Qt.call(this), e ? this._monthsStrictRegex : this._monthsRegex) : (w(this, "_monthsRegex") || (this._monthsRegex = ds), this._monthsStrictRegex && e ? this._monthsStrictRegex : this._monthsRegex);
972
- }
973
- function Qt() {
974
- function e(h, m) {
975
- return m.length - h.length;
976
- }
977
- var t = [], r = [], s = [], a, n, i, u;
978
- for (a = 0; a < 12; a++)
979
- n = I([2e3, a]), i = q(this.monthsShort(n, "")), u = q(this.months(n, "")), t.push(i), r.push(u), s.push(u), s.push(i);
980
- t.sort(e), r.sort(e), s.sort(e), this._monthsRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._monthsShortRegex = this._monthsRegex, this._monthsStrictRegex = new RegExp(
981
- "^(" + r.join("|") + ")",
982
- "i"
983
- ), this._monthsShortStrictRegex = new RegExp(
984
- "^(" + t.join("|") + ")",
985
- "i"
986
- );
987
- }
988
- function ps(e, t, r, s, a, n, i) {
989
- var u;
990
- return e < 100 && e >= 0 ? (u = new Date(e + 400, t, r, s, a, n, i), isFinite(u.getFullYear()) && u.setFullYear(e)) : u = new Date(e, t, r, s, a, n, i), u;
991
- }
992
- function ge(e) {
993
- var t, r;
994
- return e < 100 && e >= 0 ? (r = Array.prototype.slice.call(arguments), r[0] = e + 400, t = new Date(Date.UTC.apply(null, r)), isFinite(t.getUTCFullYear()) && t.setUTCFullYear(e)) : t = new Date(Date.UTC.apply(null, arguments)), t;
995
- }
996
- function Pe(e, t, r) {
997
- var s = 7 + t - r, a = (7 + ge(e, 0, s).getUTCDay() - t) % 7;
998
- return -a + s - 1;
999
- }
1000
- function Kt(e, t, r, s, a) {
1001
- var n = (7 + r - s) % 7, i = Pe(e, s, a), u = 1 + 7 * (t - 1) + n + i, h, m;
1002
- return u <= 0 ? (h = e - 1, m = we(h) + u) : u > we(e) ? (h = e + 1, m = u - we(e)) : (h = e, m = u), {
1003
- year: h,
1004
- dayOfYear: m
1005
- };
1006
- }
1007
- function Me(e, t, r) {
1008
- var s = Pe(e.year(), t, r), a = Math.floor((e.dayOfYear() - s - 1) / 7) + 1, n, i;
1009
- return a < 1 ? (i = e.year() - 1, n = a + Z(i, t, r)) : a > Z(e.year(), t, r) ? (n = a - Z(e.year(), t, r), i = e.year() + 1) : (i = e.year(), n = a), {
1010
- week: n,
1011
- year: i
1012
- };
1013
- }
1014
- function Z(e, t, r) {
1015
- var s = Pe(e, t, r), a = Pe(e + 1, t, r);
1016
- return (we(e) - s + a) / 7;
1017
- }
1018
- c("w", ["ww", 2], "wo", "week");
1019
- c("W", ["WW", 2], "Wo", "isoWeek");
1020
- d("w", k, fe);
1021
- d("ww", k, x);
1022
- d("W", k, fe);
1023
- d("WW", k, x);
1024
- Ye(
1025
- ["w", "ww", "W", "WW"],
1026
- function(e, t, r, s) {
1027
- t[s.substr(0, 1)] = _(e);
1028
- }
1029
- );
1030
- function gs(e) {
1031
- return Me(e, this._week.dow, this._week.doy).week;
1032
- }
1033
- var Ms = {
1034
- dow: 0,
1035
- // Sunday is the first day of the week.
1036
- doy: 6
1037
- // The week that contains Jan 6th is the first week of the year.
1038
- };
1039
- function ks() {
1040
- return this._week.dow;
1041
- }
1042
- function vs() {
1043
- return this._week.doy;
1044
- }
1045
- function Ss(e) {
1046
- var t = this.localeData().week(this);
1047
- return e == null ? t : this.add((e - t) * 7, "d");
1048
- }
1049
- function Ds(e) {
1050
- var t = Me(this, 1, 4).week;
1051
- return e == null ? t : this.add((e - t) * 7, "d");
1052
- }
1053
- c("d", 0, "do", "day");
1054
- c("dd", 0, 0, function(e) {
1055
- return this.localeData().weekdaysMin(this, e);
1056
- });
1057
- c("ddd", 0, 0, function(e) {
1058
- return this.localeData().weekdaysShort(this, e);
1059
- });
1060
- c("dddd", 0, 0, function(e) {
1061
- return this.localeData().weekdays(this, e);
1062
- });
1063
- c("e", 0, 0, "weekday");
1064
- c("E", 0, 0, "isoWeekday");
1065
- d("d", k);
1066
- d("e", k);
1067
- d("E", k);
1068
- d("dd", function(e, t) {
1069
- return t.weekdaysMinRegex(e);
1070
- });
1071
- d("ddd", function(e, t) {
1072
- return t.weekdaysShortRegex(e);
1073
- });
1074
- d("dddd", function(e, t) {
1075
- return t.weekdaysRegex(e);
1076
- });
1077
- Ye(["dd", "ddd", "dddd"], function(e, t, r, s) {
1078
- var a = r._locale.weekdaysParse(e, s, r._strict);
1079
- a != null ? t.d = a : f(r).invalidWeekday = e;
1080
- });
1081
- Ye(["d", "e", "E"], function(e, t, r, s) {
1082
- t[s] = _(e);
1083
- });
1084
- function Ys(e, t) {
1085
- return typeof e != "string" ? e : isNaN(e) ? (e = t.weekdaysParse(e), typeof e == "number" ? e : null) : parseInt(e, 10);
1086
- }
1087
- function bs(e, t) {
1088
- return typeof e == "string" ? t.weekdaysParse(e) % 7 || 7 : isNaN(e) ? null : e;
1089
- }
1090
- function wt(e, t) {
1091
- return e.slice(t, 7).concat(e.slice(0, t));
1092
- }
1093
- var Os = "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), Xt = "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"), Ts = "Su_Mo_Tu_We_Th_Fr_Sa".split("_"), xs = De, Rs = De, Ns = De;
1094
- function Ps(e, t) {
1095
- var r = W(this._weekdays) ? this._weekdays : this._weekdays[e && e !== !0 && this._weekdays.isFormat.test(t) ? "format" : "standalone"];
1096
- return e === !0 ? wt(r, this._week.dow) : e ? r[e.day()] : r;
1097
- }
1098
- function Cs(e) {
1099
- return e === !0 ? wt(this._weekdaysShort, this._week.dow) : e ? this._weekdaysShort[e.day()] : this._weekdaysShort;
1100
- }
1101
- function Ws(e) {
1102
- return e === !0 ? wt(this._weekdaysMin, this._week.dow) : e ? this._weekdaysMin[e.day()] : this._weekdaysMin;
1103
- }
1104
- function Fs(e, t, r) {
1105
- var s, a, n, i = e.toLocaleLowerCase();
1106
- if (!this._weekdaysParse)
1107
- for (this._weekdaysParse = [], this._shortWeekdaysParse = [], this._minWeekdaysParse = [], s = 0; s < 7; ++s)
1108
- n = I([2e3, 1]).day(s), this._minWeekdaysParse[s] = this.weekdaysMin(
1109
- n,
1110
- ""
1111
- ).toLocaleLowerCase(), this._shortWeekdaysParse[s] = this.weekdaysShort(
1112
- n,
1113
- ""
1114
- ).toLocaleLowerCase(), this._weekdaysParse[s] = this.weekdays(n, "").toLocaleLowerCase();
1115
- return r ? t === "dddd" ? (a = S.call(this._weekdaysParse, i), a !== -1 ? a : null) : t === "ddd" ? (a = S.call(this._shortWeekdaysParse, i), a !== -1 ? a : null) : (a = S.call(this._minWeekdaysParse, i), a !== -1 ? a : null) : t === "dddd" ? (a = S.call(this._weekdaysParse, i), a !== -1 || (a = S.call(this._shortWeekdaysParse, i), a !== -1) ? a : (a = S.call(this._minWeekdaysParse, i), a !== -1 ? a : null)) : t === "ddd" ? (a = S.call(this._shortWeekdaysParse, i), a !== -1 || (a = S.call(this._weekdaysParse, i), a !== -1) ? a : (a = S.call(this._minWeekdaysParse, i), a !== -1 ? a : null)) : (a = S.call(this._minWeekdaysParse, i), a !== -1 || (a = S.call(this._weekdaysParse, i), a !== -1) ? a : (a = S.call(this._shortWeekdaysParse, i), a !== -1 ? a : null));
1116
- }
1117
- function Ls(e, t, r) {
1118
- var s, a, n;
1119
- if (this._weekdaysParseExact)
1120
- return Fs.call(this, e, t, r);
1121
- for (this._weekdaysParse || (this._weekdaysParse = [], this._minWeekdaysParse = [], this._shortWeekdaysParse = [], this._fullWeekdaysParse = []), s = 0; s < 7; s++) {
1122
- if (a = I([2e3, 1]).day(s), r && !this._fullWeekdaysParse[s] && (this._fullWeekdaysParse[s] = new RegExp(
1123
- "^" + this.weekdays(a, "").replace(".", "\\.?") + "$",
1124
- "i"
1125
- ), this._shortWeekdaysParse[s] = new RegExp(
1126
- "^" + this.weekdaysShort(a, "").replace(".", "\\.?") + "$",
1127
- "i"
1128
- ), this._minWeekdaysParse[s] = new RegExp(
1129
- "^" + this.weekdaysMin(a, "").replace(".", "\\.?") + "$",
1130
- "i"
1131
- )), this._weekdaysParse[s] || (n = "^" + this.weekdays(a, "") + "|^" + this.weekdaysShort(a, "") + "|^" + this.weekdaysMin(a, ""), this._weekdaysParse[s] = new RegExp(n.replace(".", ""), "i")), r && t === "dddd" && this._fullWeekdaysParse[s].test(e))
1132
- return s;
1133
- if (r && t === "ddd" && this._shortWeekdaysParse[s].test(e))
1134
- return s;
1135
- if (r && t === "dd" && this._minWeekdaysParse[s].test(e))
1136
- return s;
1137
- if (!r && this._weekdaysParse[s].test(e))
1138
- return s;
1139
- }
1140
- }
1141
- function Es(e) {
1142
- if (!this.isValid())
1143
- return e != null ? this : NaN;
1144
- var t = pe(this, "Day");
1145
- return e != null ? (e = Ys(e, this.localeData()), this.add(e - t, "d")) : t;
1146
- }
1147
- function As(e) {
1148
- if (!this.isValid())
1149
- return e != null ? this : NaN;
1150
- var t = (this.day() + 7 - this.localeData()._week.dow) % 7;
1151
- return e == null ? t : this.add(e - t, "d");
1152
- }
1153
- function Is(e) {
1154
- if (!this.isValid())
1155
- return e != null ? this : NaN;
1156
- if (e != null) {
1157
- var t = bs(e, this.localeData());
1158
- return this.day(this.day() % 7 ? t : t - 7);
1159
- } else
1160
- return this.day() || 7;
1161
- }
1162
- function Hs(e) {
1163
- return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || pt.call(this), e ? this._weekdaysStrictRegex : this._weekdaysRegex) : (w(this, "_weekdaysRegex") || (this._weekdaysRegex = xs), this._weekdaysStrictRegex && e ? this._weekdaysStrictRegex : this._weekdaysRegex);
1164
- }
1165
- function Us(e) {
1166
- return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || pt.call(this), e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex) : (w(this, "_weekdaysShortRegex") || (this._weekdaysShortRegex = Rs), this._weekdaysShortStrictRegex && e ? this._weekdaysShortStrictRegex : this._weekdaysShortRegex);
1167
- }
1168
- function js(e) {
1169
- return this._weekdaysParseExact ? (w(this, "_weekdaysRegex") || pt.call(this), e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex) : (w(this, "_weekdaysMinRegex") || (this._weekdaysMinRegex = Ns), this._weekdaysMinStrictRegex && e ? this._weekdaysMinStrictRegex : this._weekdaysMinRegex);
1170
- }
1171
- function pt() {
1172
- function e(b, U) {
1173
- return U.length - b.length;
1174
- }
1175
- var t = [], r = [], s = [], a = [], n, i, u, h, m;
1176
- for (n = 0; n < 7; n++)
1177
- i = I([2e3, 1]).day(n), u = q(this.weekdaysMin(i, "")), h = q(this.weekdaysShort(i, "")), m = q(this.weekdays(i, "")), t.push(u), r.push(h), s.push(m), a.push(u), a.push(h), a.push(m);
1178
- t.sort(e), r.sort(e), s.sort(e), a.sort(e), this._weekdaysRegex = new RegExp("^(" + a.join("|") + ")", "i"), this._weekdaysShortRegex = this._weekdaysRegex, this._weekdaysMinRegex = this._weekdaysRegex, this._weekdaysStrictRegex = new RegExp(
1179
- "^(" + s.join("|") + ")",
1180
- "i"
1181
- ), this._weekdaysShortStrictRegex = new RegExp(
1182
- "^(" + r.join("|") + ")",
1183
- "i"
1184
- ), this._weekdaysMinStrictRegex = new RegExp(
1185
- "^(" + t.join("|") + ")",
1186
- "i"
1187
- );
1188
- }
1189
- function gt() {
1190
- return this.hours() % 12 || 12;
1191
- }
1192
- function Gs() {
1193
- return this.hours() || 24;
1194
- }
1195
- c("H", ["HH", 2], 0, "hour");
1196
- c("h", ["hh", 2], 0, gt);
1197
- c("k", ["kk", 2], 0, Gs);
1198
- c("hmm", 0, 0, function() {
1199
- return "" + gt.apply(this) + A(this.minutes(), 2);
1200
- });
1201
- c("hmmss", 0, 0, function() {
1202
- return "" + gt.apply(this) + A(this.minutes(), 2) + A(this.seconds(), 2);
1203
- });
1204
- c("Hmm", 0, 0, function() {
1205
- return "" + this.hours() + A(this.minutes(), 2);
1206
- });
1207
- c("Hmmss", 0, 0, function() {
1208
- return "" + this.hours() + A(this.minutes(), 2) + A(this.seconds(), 2);
1209
- });
1210
- function er(e, t) {
1211
- c(e, 0, 0, function() {
1212
- return this.localeData().meridiem(
1213
- this.hours(),
1214
- this.minutes(),
1215
- t
1216
- );
1217
- });
1218
- }
1219
- er("a", !0);
1220
- er("A", !1);
1221
- function tr(e, t) {
1222
- return t._meridiemParse;
1223
- }
1224
- d("a", tr);
1225
- d("A", tr);
1226
- d("H", k, mt);
1227
- d("h", k, fe);
1228
- d("k", k, fe);
1229
- d("HH", k, x);
1230
- d("hh", k, x);
1231
- d("kk", k, x);
1232
- d("hmm", Gt);
1233
- d("hmmss", Vt);
1234
- d("Hmm", Gt);
1235
- d("Hmmss", Vt);
1236
- g(["H", "HH"], D);
1237
- g(["k", "kk"], function(e, t, r) {
1238
- var s = _(e);
1239
- t[D] = s === 24 ? 0 : s;
1240
- });
1241
- g(["a", "A"], function(e, t, r) {
1242
- r._isPm = r._locale.isPM(e), r._meridiem = e;
1243
- });
1244
- g(["h", "hh"], function(e, t, r) {
1245
- t[D] = _(e), f(r).bigHour = !0;
1246
- });
1247
- g("hmm", function(e, t, r) {
1248
- var s = e.length - 2;
1249
- t[D] = _(e.substr(0, s)), t[C] = _(e.substr(s)), f(r).bigHour = !0;
1250
- });
1251
- g("hmmss", function(e, t, r) {
1252
- var s = e.length - 4, a = e.length - 2;
1253
- t[D] = _(e.substr(0, s)), t[C] = _(e.substr(s, 2)), t[$] = _(e.substr(a)), f(r).bigHour = !0;
1254
- });
1255
- g("Hmm", function(e, t, r) {
1256
- var s = e.length - 2;
1257
- t[D] = _(e.substr(0, s)), t[C] = _(e.substr(s));
1258
- });
1259
- g("Hmmss", function(e, t, r) {
1260
- var s = e.length - 4, a = e.length - 2;
1261
- t[D] = _(e.substr(0, s)), t[C] = _(e.substr(s, 2)), t[$] = _(e.substr(a));
1262
- });
1263
- function Vs(e) {
1264
- return (e + "").toLowerCase().charAt(0) === "p";
1265
- }
1266
- var zs = /[ap]\.?m?\.?/i, $s = _e("Hours", !0);
1267
- function qs(e, t, r) {
1268
- return e > 11 ? r ? "pm" : "PM" : r ? "am" : "AM";
1269
- }
1270
- var rr = {
1271
- calendar: Fr,
1272
- longDateFormat: Ir,
1273
- invalidDate: Ur,
1274
- ordinal: Gr,
1275
- dayOfMonthOrdinalParse: Vr,
1276
- relativeTime: $r,
1277
- months: ls,
1278
- monthsShort: qt,
1279
- week: Ms,
1280
- weekdays: Os,
1281
- weekdaysMin: Ts,
1282
- weekdaysShort: Xt,
1283
- meridiemParse: zs
1284
- }, v = {}, me = {}, ke;
1285
- function Zs(e, t) {
1286
- var r, s = Math.min(e.length, t.length);
1287
- for (r = 0; r < s; r += 1)
1288
- if (e[r] !== t[r])
1289
- return r;
1290
- return s;
1291
- }
1292
- function Pt(e) {
1293
- return e && e.toLowerCase().replace("_", "-");
1294
- }
1295
- function Bs(e) {
1296
- for (var t = 0, r, s, a, n; t < e.length; ) {
1297
- for (n = Pt(e[t]).split("-"), r = n.length, s = Pt(e[t + 1]), s = s ? s.split("-") : null; r > 0; ) {
1298
- if (a = Ge(n.slice(0, r).join("-")), a)
1299
- return a;
1300
- if (s && s.length >= r && Zs(n, s) >= r - 1)
1301
- break;
1302
- r--;
1303
- }
1304
- t++;
1305
- }
1306
- return ke;
1307
- }
1308
- function Js(e) {
1309
- return !!(e && e.match("^[^/\\\\]*$"));
1310
- }
1311
- function Ge(e) {
1312
- var t = null, r;
1313
- if (v[e] === void 0 && typeof module < "u" && module && module.exports && Js(e))
1314
- try {
1315
- t = ke._abbr, r = require, r("./locale/" + e), te(t);
1316
- } catch {
1317
- v[e] = null;
1318
- }
1319
- return v[e];
1320
- }
1321
- function te(e, t) {
1322
- var r;
1323
- return e && (O(t) ? r = J(e) : r = Mt(e, t), r ? ke = r : typeof console < "u" && console.warn && console.warn(
1324
- "Locale " + e + " not found. Did you forget to load it?"
1325
- )), ke._abbr;
1326
- }
1327
- function Mt(e, t) {
1328
- if (t !== null) {
1329
- var r, s = rr;
1330
- if (t.abbr = e, v[e] != null)
1331
- It(
1332
- "defineLocaleOverride",
1333
- "use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."
1334
- ), s = v[e]._config;
1335
- else if (t.parentLocale != null)
1336
- if (v[t.parentLocale] != null)
1337
- s = v[t.parentLocale]._config;
1338
- else if (r = Ge(t.parentLocale), r != null)
1339
- s = r._config;
1340
- else
1341
- return me[t.parentLocale] || (me[t.parentLocale] = []), me[t.parentLocale].push({
1342
- name: e,
1343
- config: t
1344
- }), null;
1345
- return v[e] = new dt(tt(s, t)), me[e] && me[e].forEach(function(a) {
1346
- Mt(a.name, a.config);
1347
- }), te(e), v[e];
1348
- } else
1349
- return delete v[e], null;
1350
- }
1351
- function Qs(e, t) {
1352
- if (t != null) {
1353
- var r, s, a = rr;
1354
- v[e] != null && v[e].parentLocale != null ? v[e].set(tt(v[e]._config, t)) : (s = Ge(e), s != null && (a = s._config), t = tt(a, t), s == null && (t.abbr = e), r = new dt(t), r.parentLocale = v[e], v[e] = r), te(e);
1355
- } else
1356
- v[e] != null && (v[e].parentLocale != null ? (v[e] = v[e].parentLocale, e === te() && te(e)) : v[e] != null && delete v[e]);
1357
- return v[e];
1358
- }
1359
- function J(e) {
1360
- var t;
1361
- if (e && e._locale && e._locale._abbr && (e = e._locale._abbr), !e)
1362
- return ke;
1363
- if (!W(e)) {
1364
- if (t = Ge(e), t)
1365
- return t;
1366
- e = [e];
1367
- }
1368
- return Bs(e);
1369
- }
1370
- function Ks() {
1371
- return rt(v);
1372
- }
1373
- function kt(e) {
1374
- var t, r = e._a;
1375
- return r && f(e).overflow === -2 && (t = r[z] < 0 || r[z] > 11 ? z : r[E] < 1 || r[E] > yt(r[Y], r[z]) ? E : r[D] < 0 || r[D] > 24 || r[D] === 24 && (r[C] !== 0 || r[$] !== 0 || r[se] !== 0) ? D : r[C] < 0 || r[C] > 59 ? C : r[$] < 0 || r[$] > 59 ? $ : r[se] < 0 || r[se] > 999 ? se : -1, f(e)._overflowDayOfYear && (t < Y || t > E) && (t = E), f(e)._overflowWeeks && t === -1 && (t = rs), f(e)._overflowWeekday && t === -1 && (t = ss), f(e).overflow = t), e;
1376
- }
1377
- var Xs = /^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, ea = /^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/, ta = /Z|[+-]\d\d(?::?\d\d)?/, Oe = [
1378
- ["YYYYYY-MM-DD", /[+-]\d{6}-\d\d-\d\d/],
1379
- ["YYYY-MM-DD", /\d{4}-\d\d-\d\d/],
1380
- ["GGGG-[W]WW-E", /\d{4}-W\d\d-\d/],
1381
- ["GGGG-[W]WW", /\d{4}-W\d\d/, !1],
1382
- ["YYYY-DDD", /\d{4}-\d{3}/],
1383
- ["YYYY-MM", /\d{4}-\d\d/, !1],
1384
- ["YYYYYYMMDD", /[+-]\d{10}/],
1385
- ["YYYYMMDD", /\d{8}/],
1386
- ["GGGG[W]WWE", /\d{4}W\d{3}/],
1387
- ["GGGG[W]WW", /\d{4}W\d{2}/, !1],
1388
- ["YYYYDDD", /\d{7}/],
1389
- ["YYYYMM", /\d{6}/, !1],
1390
- ["YYYY", /\d{4}/, !1]
1391
- ], Je = [
1392
- ["HH:mm:ss.SSSS", /\d\d:\d\d:\d\d\.\d+/],
1393
- ["HH:mm:ss,SSSS", /\d\d:\d\d:\d\d,\d+/],
1394
- ["HH:mm:ss", /\d\d:\d\d:\d\d/],
1395
- ["HH:mm", /\d\d:\d\d/],
1396
- ["HHmmss.SSSS", /\d\d\d\d\d\d\.\d+/],
1397
- ["HHmmss,SSSS", /\d\d\d\d\d\d,\d+/],
1398
- ["HHmmss", /\d\d\d\d\d\d/],
1399
- ["HHmm", /\d\d\d\d/],
1400
- ["HH", /\d\d/]
1401
- ], ra = /^\/?Date\((-?\d+)/i, sa = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/, aa = {
1402
- UT: 0,
1403
- GMT: 0,
1404
- EDT: -4 * 60,
1405
- EST: -5 * 60,
1406
- CDT: -5 * 60,
1407
- CST: -6 * 60,
1408
- MDT: -6 * 60,
1409
- MST: -7 * 60,
1410
- PDT: -7 * 60,
1411
- PST: -8 * 60
1412
- };
1413
- function sr(e) {
1414
- var t, r, s = e._i, a = Xs.exec(s) || ea.exec(s), n, i, u, h, m = Oe.length, b = Je.length;
1415
- if (a) {
1416
- for (f(e).iso = !0, t = 0, r = m; t < r; t++)
1417
- if (Oe[t][1].exec(a[1])) {
1418
- i = Oe[t][0], n = Oe[t][2] !== !1;
1419
- break;
1420
- }
1421
- if (i == null) {
1422
- e._isValid = !1;
1423
- return;
1424
- }
1425
- if (a[3]) {
1426
- for (t = 0, r = b; t < r; t++)
1427
- if (Je[t][1].exec(a[3])) {
1428
- u = (a[2] || " ") + Je[t][0];
1429
- break;
1430
- }
1431
- if (u == null) {
1432
- e._isValid = !1;
1433
- return;
1434
- }
1435
- }
1436
- if (!n && u != null) {
1437
- e._isValid = !1;
1438
- return;
1439
- }
1440
- if (a[4])
1441
- if (ta.exec(a[4]))
1442
- h = "Z";
1443
- else {
1444
- e._isValid = !1;
1445
- return;
1446
- }
1447
- e._f = i + (u || "") + (h || ""), St(e);
1448
- } else
1449
- e._isValid = !1;
1450
- }
1451
- function na(e, t, r, s, a, n) {
1452
- var i = [
1453
- ia(e),
1454
- qt.indexOf(t),
1455
- parseInt(r, 10),
1456
- parseInt(s, 10),
1457
- parseInt(a, 10)
1458
- ];
1459
- return n && i.push(parseInt(n, 10)), i;
1460
- }
1461
- function ia(e) {
1462
- var t = parseInt(e, 10);
1463
- return t <= 49 ? 2e3 + t : t <= 999 ? 1900 + t : t;
1464
- }
1465
- function oa(e) {
1466
- return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").replace(/^\s\s*/, "").replace(/\s\s*$/, "");
1467
- }
1468
- function la(e, t, r) {
1469
- if (e) {
1470
- var s = Xt.indexOf(e), a = new Date(
1471
- t[0],
1472
- t[1],
1473
- t[2]
1474
- ).getDay();
1475
- if (s !== a)
1476
- return f(r).weekdayMismatch = !0, r._isValid = !1, !1;
1477
- }
1478
- return !0;
1479
- }
1480
- function ua(e, t, r) {
1481
- if (e)
1482
- return aa[e];
1483
- if (t)
1484
- return 0;
1485
- var s = parseInt(r, 10), a = s % 100, n = (s - a) / 100;
1486
- return n * 60 + a;
1487
- }
1488
- function ar(e) {
1489
- var t = sa.exec(oa(e._i)), r;
1490
- if (t) {
1491
- if (r = na(
1492
- t[4],
1493
- t[3],
1494
- t[2],
1495
- t[5],
1496
- t[6],
1497
- t[7]
1498
- ), !la(t[1], r, e))
1499
- return;
1500
- e._a = r, e._tzm = ua(t[8], t[9], t[10]), e._d = ge.apply(null, e._a), e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), f(e).rfc2822 = !0;
1501
- } else
1502
- e._isValid = !1;
1503
- }
1504
- function da(e) {
1505
- var t = ra.exec(e._i);
1506
- if (t !== null) {
1507
- e._d = /* @__PURE__ */ new Date(+t[1]);
1508
- return;
1509
- }
1510
- if (sr(e), e._isValid === !1)
1511
- delete e._isValid;
1512
- else
1513
- return;
1514
- if (ar(e), e._isValid === !1)
1515
- delete e._isValid;
1516
- else
1517
- return;
1518
- e._strict ? e._isValid = !1 : l.createFromInputFallback(e);
1519
- }
1520
- l.createFromInputFallback = N(
1521
- "value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",
1522
- function(e) {
1523
- e._d = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
1524
- }
1525
- );
1526
- function oe(e, t, r) {
1527
- return e ?? t ?? r;
1528
- }
1529
- function ca(e) {
1530
- var t = new Date(l.now());
1531
- return e._useUTC ? [
1532
- t.getUTCFullYear(),
1533
- t.getUTCMonth(),
1534
- t.getUTCDate()
1535
- ] : [t.getFullYear(), t.getMonth(), t.getDate()];
1536
- }
1537
- function vt(e) {
1538
- var t, r, s = [], a, n, i;
1539
- if (!e._d) {
1540
- for (a = ca(e), e._w && e._a[E] == null && e._a[z] == null && ha(e), e._dayOfYear != null && (i = oe(e._a[Y], a[Y]), (e._dayOfYear > we(i) || e._dayOfYear === 0) && (f(e)._overflowDayOfYear = !0), r = ge(i, 0, e._dayOfYear), e._a[z] = r.getUTCMonth(), e._a[E] = r.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
1541
- e._a[t] = s[t] = a[t];
1542
- for (; t < 7; t++)
1543
- e._a[t] = s[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
1544
- e._a[D] === 24 && e._a[C] === 0 && e._a[$] === 0 && e._a[se] === 0 && (e._nextDay = !0, e._a[D] = 0), e._d = (e._useUTC ? ge : ps).apply(
1545
- null,
1546
- s
1547
- ), n = e._useUTC ? e._d.getUTCDay() : e._d.getDay(), e._tzm != null && e._d.setUTCMinutes(e._d.getUTCMinutes() - e._tzm), e._nextDay && (e._a[D] = 24), e._w && typeof e._w.d < "u" && e._w.d !== n && (f(e).weekdayMismatch = !0);
1548
- }
1549
- }
1550
- function ha(e) {
1551
- var t, r, s, a, n, i, u, h, m;
1552
- t = e._w, t.GG != null || t.W != null || t.E != null ? (n = 1, i = 4, r = oe(
1553
- t.GG,
1554
- e._a[Y],
1555
- Me(M(), 1, 4).year
1556
- ), s = oe(t.W, 1), a = oe(t.E, 1), (a < 1 || a > 7) && (h = !0)) : (n = e._locale._week.dow, i = e._locale._week.doy, m = Me(M(), n, i), r = oe(t.gg, e._a[Y], m.year), s = oe(t.w, m.week), t.d != null ? (a = t.d, (a < 0 || a > 6) && (h = !0)) : t.e != null ? (a = t.e + n, (t.e < 0 || t.e > 6) && (h = !0)) : a = n), s < 1 || s > Z(r, n, i) ? f(e)._overflowWeeks = !0 : h != null ? f(e)._overflowWeekday = !0 : (u = Kt(r, s, a, n, i), e._a[Y] = u.year, e._dayOfYear = u.dayOfYear);
1557
- }
1558
- l.ISO_8601 = function() {
1559
- };
1560
- l.RFC_2822 = function() {
1561
- };
1562
- function St(e) {
1563
- if (e._f === l.ISO_8601) {
1564
- sr(e);
1565
- return;
1566
- }
1567
- if (e._f === l.RFC_2822) {
1568
- ar(e);
1569
- return;
1570
- }
1571
- e._a = [], f(e).empty = !0;
1572
- var t = "" + e._i, r, s, a, n, i, u = t.length, h = 0, m, b;
1573
- for (a = Ht(e._f, e._locale).match(ct) || [], b = a.length, r = 0; r < b; r++)
1574
- n = a[r], s = (t.match(Xr(n, e)) || [])[0], s && (i = t.substr(0, t.indexOf(s)), i.length > 0 && f(e).unusedInput.push(i), t = t.slice(
1575
- t.indexOf(s) + s.length
1576
- ), h += s.length), ue[n] ? (s ? f(e).empty = !1 : f(e).unusedTokens.push(n), ts(n, s, e)) : e._strict && !s && f(e).unusedTokens.push(n);
1577
- f(e).charsLeftOver = u - h, t.length > 0 && f(e).unusedInput.push(t), e._a[D] <= 12 && f(e).bigHour === !0 && e._a[D] > 0 && (f(e).bigHour = void 0), f(e).parsedDateParts = e._a.slice(0), f(e).meridiem = e._meridiem, e._a[D] = fa(
1578
- e._locale,
1579
- e._a[D],
1580
- e._meridiem
1581
- ), m = f(e).era, m !== null && (e._a[Y] = e._locale.erasConvertYear(m, e._a[Y])), vt(e), kt(e);
1582
- }
1583
- function fa(e, t, r) {
1584
- var s;
1585
- return r == null ? t : e.meridiemHour != null ? e.meridiemHour(t, r) : (e.isPM != null && (s = e.isPM(r), s && t < 12 && (t += 12), !s && t === 12 && (t = 0)), t);
1586
- }
1587
- function _a(e) {
1588
- var t, r, s, a, n, i, u = !1, h = e._f.length;
1589
- if (h === 0) {
1590
- f(e).invalidFormat = !0, e._d = /* @__PURE__ */ new Date(NaN);
1591
- return;
1592
- }
1593
- for (a = 0; a < h; a++)
1594
- n = 0, i = !1, t = ut({}, e), e._useUTC != null && (t._useUTC = e._useUTC), t._f = e._f[a], St(t), lt(t) && (i = !0), n += f(t).charsLeftOver, n += f(t).unusedTokens.length * 10, f(t).score = n, u ? n < s && (s = n, r = t) : (s == null || n < s || i) && (s = n, r = t, i && (u = !0));
1595
- X(e, r || t);
1596
- }
1597
- function ma(e) {
1598
- if (!e._d) {
1599
- var t = ht(e._i), r = t.day === void 0 ? t.date : t.day;
1600
- e._a = Et(
1601
- [t.year, t.month, r, t.hour, t.minute, t.second, t.millisecond],
1602
- function(s) {
1603
- return s && parseInt(s, 10);
1604
- }
1605
- ), vt(e);
1606
- }
1607
- }
1608
- function ya(e) {
1609
- var t = new Se(kt(nr(e)));
1610
- return t._nextDay && (t.add(1, "d"), t._nextDay = void 0), t;
1611
- }
1612
- function nr(e) {
1613
- var t = e._i, r = e._f;
1614
- return e._locale = e._locale || J(e._l), t === null || r === void 0 && t === "" ? Le({ nullInput: !0 }) : (typeof t == "string" && (e._i = t = e._locale.preparse(t)), F(t) ? new Se(kt(t)) : (ve(t) ? e._d = t : W(r) ? _a(e) : r ? St(e) : wa(e), lt(e) || (e._d = null), e));
1615
- }
1616
- function wa(e) {
1617
- var t = e._i;
1618
- O(t) ? e._d = new Date(l.now()) : ve(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? da(e) : W(t) ? (e._a = Et(t.slice(0), function(r) {
1619
- return parseInt(r, 10);
1620
- }), vt(e)) : ae(t) ? ma(e) : B(t) ? e._d = new Date(t) : l.createFromInputFallback(e);
1621
- }
1622
- function ir(e, t, r, s, a) {
1623
- var n = {};
1624
- return (t === !0 || t === !1) && (s = t, t = void 0), (r === !0 || r === !1) && (s = r, r = void 0), (ae(e) && ot(e) || W(e) && e.length === 0) && (e = void 0), n._isAMomentObject = !0, n._useUTC = n._isUTC = a, n._l = r, n._i = e, n._f = t, n._strict = s, ya(n);
1625
- }
1626
- function M(e, t, r, s) {
1627
- return ir(e, t, r, s, !1);
1628
- }
1629
- var pa = N(
1630
- "moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",
1631
- function() {
1632
- var e = M.apply(null, arguments);
1633
- return this.isValid() && e.isValid() ? e < this ? this : e : Le();
1634
- }
1635
- ), ga = N(
1636
- "moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",
1637
- function() {
1638
- var e = M.apply(null, arguments);
1639
- return this.isValid() && e.isValid() ? e > this ? this : e : Le();
1640
- }
1641
- );
1642
- function or(e, t) {
1643
- var r, s;
1644
- if (t.length === 1 && W(t[0]) && (t = t[0]), !t.length)
1645
- return M();
1646
- for (r = t[0], s = 1; s < t.length; ++s)
1647
- (!t[s].isValid() || t[s][e](r)) && (r = t[s]);
1648
- return r;
1649
- }
1650
- function Ma() {
1651
- var e = [].slice.call(arguments, 0);
1652
- return or("isBefore", e);
1653
- }
1654
- function ka() {
1655
- var e = [].slice.call(arguments, 0);
1656
- return or("isAfter", e);
1657
- }
1658
- var va = function() {
1659
- return Date.now ? Date.now() : +/* @__PURE__ */ new Date();
1660
- }, ye = [
1661
- "year",
1662
- "quarter",
1663
- "month",
1664
- "week",
1665
- "day",
1666
- "hour",
1667
- "minute",
1668
- "second",
1669
- "millisecond"
1670
- ];
1671
- function Sa(e) {
1672
- var t, r = !1, s, a = ye.length;
1673
- for (t in e)
1674
- if (w(e, t) && !(S.call(ye, t) !== -1 && (e[t] == null || !isNaN(e[t]))))
1675
- return !1;
1676
- for (s = 0; s < a; ++s)
1677
- if (e[ye[s]]) {
1678
- if (r)
1679
- return !1;
1680
- parseFloat(e[ye[s]]) !== _(e[ye[s]]) && (r = !0);
1681
- }
1682
- return !0;
1683
- }
1684
- function Da() {
1685
- return this._isValid;
1686
- }
1687
- function Ya() {
1688
- return L(NaN);
1689
- }
1690
- function Ve(e) {
1691
- var t = ht(e), r = t.year || 0, s = t.quarter || 0, a = t.month || 0, n = t.week || t.isoWeek || 0, i = t.day || 0, u = t.hour || 0, h = t.minute || 0, m = t.second || 0, b = t.millisecond || 0;
1692
- this._isValid = Sa(t), this._milliseconds = +b + m * 1e3 + // 1000
1693
- h * 6e4 + // 1000 * 60
1694
- u * 1e3 * 60 * 60, this._days = +i + n * 7, this._months = +a + s * 3 + r * 12, this._data = {}, this._locale = J(), this._bubble();
1695
- }
1696
- function xe(e) {
1697
- return e instanceof Ve;
1698
- }
1699
- function at(e) {
1700
- return e < 0 ? Math.round(-1 * e) * -1 : Math.round(e);
1701
- }
1702
- function ba(e, t, r) {
1703
- var s = Math.min(e.length, t.length), a = Math.abs(e.length - t.length), n = 0, i;
1704
- for (i = 0; i < s; i++)
1705
- _(e[i]) !== _(t[i]) && n++;
1706
- return n + a;
1707
- }
1708
- function lr(e, t) {
1709
- c(e, 0, 0, function() {
1710
- var r = this.utcOffset(), s = "+";
1711
- return r < 0 && (r = -r, s = "-"), s + A(~~(r / 60), 2) + t + A(~~r % 60, 2);
1712
- });
1713
- }
1714
- lr("Z", ":");
1715
- lr("ZZ", "");
1716
- d("Z", Ue);
1717
- d("ZZ", Ue);
1718
- g(["Z", "ZZ"], function(e, t, r) {
1719
- r._useUTC = !0, r._tzm = Dt(Ue, e);
1720
- });
1721
- var Oa = /([\+\-]|\d\d)/gi;
1722
- function Dt(e, t) {
1723
- var r = (t || "").match(e), s, a, n;
1724
- return r === null ? null : (s = r[r.length - 1] || [], a = (s + "").match(Oa) || ["-", 0, 0], n = +(a[1] * 60) + _(a[2]), n === 0 ? 0 : a[0] === "+" ? n : -n);
1725
- }
1726
- function Yt(e, t) {
1727
- var r, s;
1728
- return t._isUTC ? (r = t.clone(), s = (F(e) || ve(e) ? e.valueOf() : M(e).valueOf()) - r.valueOf(), r._d.setTime(r._d.valueOf() + s), l.updateOffset(r, !1), r) : M(e).local();
1729
- }
1730
- function nt(e) {
1731
- return -Math.round(e._d.getTimezoneOffset());
1732
- }
1733
- l.updateOffset = function() {
1734
- };
1735
- function Ta(e, t, r) {
1736
- var s = this._offset || 0, a;
1737
- if (!this.isValid())
1738
- return e != null ? this : NaN;
1739
- if (e != null) {
1740
- if (typeof e == "string") {
1741
- if (e = Dt(Ue, e), e === null)
1742
- return this;
1743
- } else Math.abs(e) < 16 && !r && (e = e * 60);
1744
- return !this._isUTC && t && (a = nt(this)), this._offset = e, this._isUTC = !0, a != null && this.add(a, "m"), s !== e && (!t || this._changeInProgress ? cr(
1745
- this,
1746
- L(e - s, "m"),
1747
- 1,
1748
- !1
1749
- ) : this._changeInProgress || (this._changeInProgress = !0, l.updateOffset(this, !0), this._changeInProgress = null)), this;
1750
- } else
1751
- return this._isUTC ? s : nt(this);
1752
- }
1753
- function xa(e, t) {
1754
- return e != null ? (typeof e != "string" && (e = -e), this.utcOffset(e, t), this) : -this.utcOffset();
1755
- }
1756
- function Ra(e) {
1757
- return this.utcOffset(0, e);
1758
- }
1759
- function Na(e) {
1760
- return this._isUTC && (this.utcOffset(0, e), this._isUTC = !1, e && this.subtract(nt(this), "m")), this;
1761
- }
1762
- function Pa() {
1763
- if (this._tzm != null)
1764
- this.utcOffset(this._tzm, !1, !0);
1765
- else if (typeof this._i == "string") {
1766
- var e = Dt(Qr, this._i);
1767
- e != null ? this.utcOffset(e) : this.utcOffset(0, !0);
1768
- }
1769
- return this;
1770
- }
1771
- function Ca(e) {
1772
- return this.isValid() ? (e = e ? M(e).utcOffset() : 0, (this.utcOffset() - e) % 60 === 0) : !1;
1773
- }
1774
- function Wa() {
1775
- return this.utcOffset() > this.clone().month(0).utcOffset() || this.utcOffset() > this.clone().month(5).utcOffset();
1776
- }
1777
- function Fa() {
1778
- if (!O(this._isDSTShifted))
1779
- return this._isDSTShifted;
1780
- var e = {}, t;
1781
- return ut(e, this), e = nr(e), e._a ? (t = e._isUTC ? I(e._a) : M(e._a), this._isDSTShifted = this.isValid() && ba(e._a, t.toArray()) > 0) : this._isDSTShifted = !1, this._isDSTShifted;
1782
- }
1783
- function La() {
1784
- return this.isValid() ? !this._isUTC : !1;
1785
- }
1786
- function Ea() {
1787
- return this.isValid() ? this._isUTC : !1;
1788
- }
1789
- function ur() {
1790
- return this.isValid() ? this._isUTC && this._offset === 0 : !1;
1791
- }
1792
- var Aa = /^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/, Ia = /^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;
1793
- function L(e, t) {
1794
- var r = e, s = null, a, n, i;
1795
- return xe(e) ? r = {
1796
- ms: e._milliseconds,
1797
- d: e._days,
1798
- M: e._months
1799
- } : B(e) || !isNaN(+e) ? (r = {}, t ? r[t] = +e : r.milliseconds = +e) : (s = Aa.exec(e)) ? (a = s[1] === "-" ? -1 : 1, r = {
1800
- y: 0,
1801
- d: _(s[E]) * a,
1802
- h: _(s[D]) * a,
1803
- m: _(s[C]) * a,
1804
- s: _(s[$]) * a,
1805
- ms: _(at(s[se] * 1e3)) * a
1806
- // the millisecond decimal point is included in the match
1807
- }) : (s = Ia.exec(e)) ? (a = s[1] === "-" ? -1 : 1, r = {
1808
- y: re(s[2], a),
1809
- M: re(s[3], a),
1810
- w: re(s[4], a),
1811
- d: re(s[5], a),
1812
- h: re(s[6], a),
1813
- m: re(s[7], a),
1814
- s: re(s[8], a)
1815
- }) : r == null ? r = {} : typeof r == "object" && ("from" in r || "to" in r) && (i = Ha(
1816
- M(r.from),
1817
- M(r.to)
1818
- ), r = {}, r.ms = i.milliseconds, r.M = i.months), n = new Ve(r), xe(e) && w(e, "_locale") && (n._locale = e._locale), xe(e) && w(e, "_isValid") && (n._isValid = e._isValid), n;
1819
- }
1820
- L.fn = Ve.prototype;
1821
- L.invalid = Ya;
1822
- function re(e, t) {
1823
- var r = e && parseFloat(e.replace(",", "."));
1824
- return (isNaN(r) ? 0 : r) * t;
1825
- }
1826
- function Ct(e, t) {
1827
- var r = {};
1828
- return r.months = t.month() - e.month() + (t.year() - e.year()) * 12, e.clone().add(r.months, "M").isAfter(t) && --r.months, r.milliseconds = +t - +e.clone().add(r.months, "M"), r;
1829
- }
1830
- function Ha(e, t) {
1831
- var r;
1832
- return e.isValid() && t.isValid() ? (t = Yt(t, e), e.isBefore(t) ? r = Ct(e, t) : (r = Ct(t, e), r.milliseconds = -r.milliseconds, r.months = -r.months), r) : { milliseconds: 0, months: 0 };
1833
- }
1834
- function dr(e, t) {
1835
- return function(r, s) {
1836
- var a, n;
1837
- return s !== null && !isNaN(+s) && (It(
1838
- t,
1839
- "moment()." + t + "(period, number) is deprecated. Please use moment()." + t + "(number, period). See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info."
1840
- ), n = r, r = s, s = n), a = L(r, s), cr(this, a, e), this;
1841
- };
1842
- }
1843
- function cr(e, t, r, s) {
1844
- var a = t._milliseconds, n = at(t._days), i = at(t._months);
1845
- e.isValid() && (s = s ?? !0, i && Bt(e, pe(e, "Month") + i * r), n && $t(e, "Date", pe(e, "Date") + n * r), a && e._d.setTime(e._d.valueOf() + a * r), s && l.updateOffset(e, n || i));
1846
- }
1847
- var Ua = dr(1, "add"), ja = dr(-1, "subtract");
1848
- function hr(e) {
1849
- return typeof e == "string" || e instanceof String;
1850
- }
1851
- function Ga(e) {
1852
- return F(e) || ve(e) || hr(e) || B(e) || za(e) || Va(e) || e === null || e === void 0;
1853
- }
1854
- function Va(e) {
1855
- var t = ae(e) && !ot(e), r = !1, s = [
1856
- "years",
1857
- "year",
1858
- "y",
1859
- "months",
1860
- "month",
1861
- "M",
1862
- "days",
1863
- "day",
1864
- "d",
1865
- "dates",
1866
- "date",
1867
- "D",
1868
- "hours",
1869
- "hour",
1870
- "h",
1871
- "minutes",
1872
- "minute",
1873
- "m",
1874
- "seconds",
1875
- "second",
1876
- "s",
1877
- "milliseconds",
1878
- "millisecond",
1879
- "ms"
1880
- ], a, n, i = s.length;
1881
- for (a = 0; a < i; a += 1)
1882
- n = s[a], r = r || w(e, n);
1883
- return t && r;
1884
- }
1885
- function za(e) {
1886
- var t = W(e), r = !1;
1887
- return t && (r = e.filter(function(s) {
1888
- return !B(s) && hr(e);
1889
- }).length === 0), t && r;
1890
- }
1891
- function $a(e) {
1892
- var t = ae(e) && !ot(e), r = !1, s = [
1893
- "sameDay",
1894
- "nextDay",
1895
- "lastDay",
1896
- "nextWeek",
1897
- "lastWeek",
1898
- "sameElse"
1899
- ], a, n;
1900
- for (a = 0; a < s.length; a += 1)
1901
- n = s[a], r = r || w(e, n);
1902
- return t && r;
1903
- }
1904
- function qa(e, t) {
1905
- var r = e.diff(t, "days", !0);
1906
- return r < -6 ? "sameElse" : r < -1 ? "lastWeek" : r < 0 ? "lastDay" : r < 1 ? "sameDay" : r < 2 ? "nextDay" : r < 7 ? "nextWeek" : "sameElse";
1907
- }
1908
- function Za(e, t) {
1909
- arguments.length === 1 && (arguments[0] ? Ga(arguments[0]) ? (e = arguments[0], t = void 0) : $a(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
1910
- var r = e || M(), s = Yt(r, this).startOf("day"), a = l.calendarFormat(this, s) || "sameElse", n = t && (H(t[a]) ? t[a].call(this, r) : t[a]);
1911
- return this.format(
1912
- n || this.localeData().calendar(a, this, M(r))
1913
- );
1914
- }
1915
- function Ba() {
1916
- return new Se(this);
1917
- }
1918
- function Ja(e, t) {
1919
- var r = F(e) ? e : M(e);
1920
- return this.isValid() && r.isValid() ? (t = P(t) || "millisecond", t === "millisecond" ? this.valueOf() > r.valueOf() : r.valueOf() < this.clone().startOf(t).valueOf()) : !1;
1921
- }
1922
- function Qa(e, t) {
1923
- var r = F(e) ? e : M(e);
1924
- return this.isValid() && r.isValid() ? (t = P(t) || "millisecond", t === "millisecond" ? this.valueOf() < r.valueOf() : this.clone().endOf(t).valueOf() < r.valueOf()) : !1;
1925
- }
1926
- function Ka(e, t, r, s) {
1927
- var a = F(e) ? e : M(e), n = F(t) ? t : M(t);
1928
- return this.isValid() && a.isValid() && n.isValid() ? (s = s || "()", (s[0] === "(" ? this.isAfter(a, r) : !this.isBefore(a, r)) && (s[1] === ")" ? this.isBefore(n, r) : !this.isAfter(n, r))) : !1;
1929
- }
1930
- function Xa(e, t) {
1931
- var r = F(e) ? e : M(e), s;
1932
- return this.isValid() && r.isValid() ? (t = P(t) || "millisecond", t === "millisecond" ? this.valueOf() === r.valueOf() : (s = r.valueOf(), this.clone().startOf(t).valueOf() <= s && s <= this.clone().endOf(t).valueOf())) : !1;
1933
- }
1934
- function en(e, t) {
1935
- return this.isSame(e, t) || this.isAfter(e, t);
1936
- }
1937
- function tn(e, t) {
1938
- return this.isSame(e, t) || this.isBefore(e, t);
1939
- }
1940
- function rn(e, t, r) {
1941
- var s, a, n;
1942
- if (!this.isValid())
1943
- return NaN;
1944
- if (s = Yt(e, this), !s.isValid())
1945
- return NaN;
1946
- switch (a = (s.utcOffset() - this.utcOffset()) * 6e4, t = P(t), t) {
1947
- case "year":
1948
- n = Re(this, s) / 12;
1949
- break;
1950
- case "month":
1951
- n = Re(this, s);
1952
- break;
1953
- case "quarter":
1954
- n = Re(this, s) / 3;
1955
- break;
1956
- case "second":
1957
- n = (this - s) / 1e3;
1958
- break;
1959
- case "minute":
1960
- n = (this - s) / 6e4;
1961
- break;
1962
- case "hour":
1963
- n = (this - s) / 36e5;
1964
- break;
1965
- case "day":
1966
- n = (this - s - a) / 864e5;
1967
- break;
1968
- case "week":
1969
- n = (this - s - a) / 6048e5;
1970
- break;
1971
- default:
1972
- n = this - s;
1973
- }
1974
- return r ? n : R(n);
1975
- }
1976
- function Re(e, t) {
1977
- if (e.date() < t.date())
1978
- return -Re(t, e);
1979
- var r = (t.year() - e.year()) * 12 + (t.month() - e.month()), s = e.clone().add(r, "months"), a, n;
1980
- return t - s < 0 ? (a = e.clone().add(r - 1, "months"), n = (t - s) / (s - a)) : (a = e.clone().add(r + 1, "months"), n = (t - s) / (a - s)), -(r + n) || 0;
1981
- }
1982
- l.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
1983
- l.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
1984
- function sn() {
1985
- return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
1986
- }
1987
- function an(e) {
1988
- if (!this.isValid())
1989
- return null;
1990
- var t = e !== !0, r = t ? this.clone().utc() : this;
1991
- return r.year() < 0 || r.year() > 9999 ? Te(
1992
- r,
1993
- t ? "YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"
1994
- ) : H(Date.prototype.toISOString) ? t ? this.toDate().toISOString() : new Date(this.valueOf() + this.utcOffset() * 60 * 1e3).toISOString().replace("Z", Te(r, "Z")) : Te(
1995
- r,
1996
- t ? "YYYY-MM-DD[T]HH:mm:ss.SSS[Z]" : "YYYY-MM-DD[T]HH:mm:ss.SSSZ"
1997
- );
1998
- }
1999
- function nn() {
2000
- if (!this.isValid())
2001
- return "moment.invalid(/* " + this._i + " */)";
2002
- var e = "moment", t = "", r, s, a, n;
2003
- return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"), r = "[" + e + '("]', s = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", a = "-MM-DD[T]HH:mm:ss.SSS", n = t + '[")]', this.format(r + s + a + n);
2004
- }
2005
- function on(e) {
2006
- e || (e = this.isUtc() ? l.defaultFormatUtc : l.defaultFormat);
2007
- var t = Te(this, e);
2008
- return this.localeData().postformat(t);
2009
- }
2010
- function ln(e, t) {
2011
- return this.isValid() && (F(e) && e.isValid() || M(e).isValid()) ? L({ to: this, from: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
2012
- }
2013
- function un(e) {
2014
- return this.from(M(), e);
2015
- }
2016
- function dn(e, t) {
2017
- return this.isValid() && (F(e) && e.isValid() || M(e).isValid()) ? L({ from: this, to: e }).locale(this.locale()).humanize(!t) : this.localeData().invalidDate();
2018
- }
2019
- function cn(e) {
2020
- return this.to(M(), e);
2021
- }
2022
- function fr(e) {
2023
- var t;
2024
- return e === void 0 ? this._locale._abbr : (t = J(e), t != null && (this._locale = t), this);
2025
- }
2026
- var _r = N(
2027
- "moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",
2028
- function(e) {
2029
- return e === void 0 ? this.localeData() : this.locale(e);
2030
- }
2031
- );
2032
- function mr() {
2033
- return this._locale;
2034
- }
2035
- var Ce = 1e3, de = 60 * Ce, We = 60 * de, yr = (365 * 400 + 97) * 24 * We;
2036
- function ce(e, t) {
2037
- return (e % t + t) % t;
2038
- }
2039
- function wr(e, t, r) {
2040
- return e < 100 && e >= 0 ? new Date(e + 400, t, r) - yr : new Date(e, t, r).valueOf();
2041
- }
2042
- function pr(e, t, r) {
2043
- return e < 100 && e >= 0 ? Date.UTC(e + 400, t, r) - yr : Date.UTC(e, t, r);
2044
- }
2045
- function hn(e) {
2046
- var t, r;
2047
- if (e = P(e), e === void 0 || e === "millisecond" || !this.isValid())
2048
- return this;
2049
- switch (r = this._isUTC ? pr : wr, e) {
2050
- case "year":
2051
- t = r(this.year(), 0, 1);
2052
- break;
2053
- case "quarter":
2054
- t = r(
2055
- this.year(),
2056
- this.month() - this.month() % 3,
2057
- 1
2058
- );
2059
- break;
2060
- case "month":
2061
- t = r(this.year(), this.month(), 1);
2062
- break;
2063
- case "week":
2064
- t = r(
2065
- this.year(),
2066
- this.month(),
2067
- this.date() - this.weekday()
2068
- );
2069
- break;
2070
- case "isoWeek":
2071
- t = r(
2072
- this.year(),
2073
- this.month(),
2074
- this.date() - (this.isoWeekday() - 1)
2075
- );
2076
- break;
2077
- case "day":
2078
- case "date":
2079
- t = r(this.year(), this.month(), this.date());
2080
- break;
2081
- case "hour":
2082
- t = this._d.valueOf(), t -= ce(
2083
- t + (this._isUTC ? 0 : this.utcOffset() * de),
2084
- We
2085
- );
2086
- break;
2087
- case "minute":
2088
- t = this._d.valueOf(), t -= ce(t, de);
2089
- break;
2090
- case "second":
2091
- t = this._d.valueOf(), t -= ce(t, Ce);
2092
- break;
2093
- }
2094
- return this._d.setTime(t), l.updateOffset(this, !0), this;
2095
- }
2096
- function fn(e) {
2097
- var t, r;
2098
- if (e = P(e), e === void 0 || e === "millisecond" || !this.isValid())
2099
- return this;
2100
- switch (r = this._isUTC ? pr : wr, e) {
2101
- case "year":
2102
- t = r(this.year() + 1, 0, 1) - 1;
2103
- break;
2104
- case "quarter":
2105
- t = r(
2106
- this.year(),
2107
- this.month() - this.month() % 3 + 3,
2108
- 1
2109
- ) - 1;
2110
- break;
2111
- case "month":
2112
- t = r(this.year(), this.month() + 1, 1) - 1;
2113
- break;
2114
- case "week":
2115
- t = r(
2116
- this.year(),
2117
- this.month(),
2118
- this.date() - this.weekday() + 7
2119
- ) - 1;
2120
- break;
2121
- case "isoWeek":
2122
- t = r(
2123
- this.year(),
2124
- this.month(),
2125
- this.date() - (this.isoWeekday() - 1) + 7
2126
- ) - 1;
2127
- break;
2128
- case "day":
2129
- case "date":
2130
- t = r(this.year(), this.month(), this.date() + 1) - 1;
2131
- break;
2132
- case "hour":
2133
- t = this._d.valueOf(), t += We - ce(
2134
- t + (this._isUTC ? 0 : this.utcOffset() * de),
2135
- We
2136
- ) - 1;
2137
- break;
2138
- case "minute":
2139
- t = this._d.valueOf(), t += de - ce(t, de) - 1;
2140
- break;
2141
- case "second":
2142
- t = this._d.valueOf(), t += Ce - ce(t, Ce) - 1;
2143
- break;
2144
- }
2145
- return this._d.setTime(t), l.updateOffset(this, !0), this;
2146
- }
2147
- function _n() {
2148
- return this._d.valueOf() - (this._offset || 0) * 6e4;
2149
- }
2150
- function mn() {
2151
- return Math.floor(this.valueOf() / 1e3);
2152
- }
2153
- function yn() {
2154
- return new Date(this.valueOf());
2155
- }
2156
- function wn() {
2157
- var e = this;
2158
- return [
2159
- e.year(),
2160
- e.month(),
2161
- e.date(),
2162
- e.hour(),
2163
- e.minute(),
2164
- e.second(),
2165
- e.millisecond()
2166
- ];
2167
- }
2168
- function pn() {
2169
- var e = this;
2170
- return {
2171
- years: e.year(),
2172
- months: e.month(),
2173
- date: e.date(),
2174
- hours: e.hours(),
2175
- minutes: e.minutes(),
2176
- seconds: e.seconds(),
2177
- milliseconds: e.milliseconds()
2178
- };
2179
- }
2180
- function gn() {
2181
- return this.isValid() ? this.toISOString() : null;
2182
- }
2183
- function Mn() {
2184
- return lt(this);
2185
- }
2186
- function kn() {
2187
- return X({}, f(this));
2188
- }
2189
- function vn() {
2190
- return f(this).overflow;
2191
- }
2192
- function Sn() {
2193
- return {
2194
- input: this._i,
2195
- format: this._f,
2196
- locale: this._locale,
2197
- isUTC: this._isUTC,
2198
- strict: this._strict
2199
- };
2200
- }
2201
- c("N", 0, 0, "eraAbbr");
2202
- c("NN", 0, 0, "eraAbbr");
2203
- c("NNN", 0, 0, "eraAbbr");
2204
- c("NNNN", 0, 0, "eraName");
2205
- c("NNNNN", 0, 0, "eraNarrow");
2206
- c("y", ["y", 1], "yo", "eraYear");
2207
- c("y", ["yy", 2], 0, "eraYear");
2208
- c("y", ["yyy", 3], 0, "eraYear");
2209
- c("y", ["yyyy", 4], 0, "eraYear");
2210
- d("N", bt);
2211
- d("NN", bt);
2212
- d("NNN", bt);
2213
- d("NNNN", Wn);
2214
- d("NNNNN", Fn);
2215
- g(
2216
- ["N", "NN", "NNN", "NNNN", "NNNNN"],
2217
- function(e, t, r, s) {
2218
- var a = r._locale.erasParse(e, s, r._strict);
2219
- a ? f(r).era = a : f(r).invalidEra = e;
2220
- }
2221
- );
2222
- d("y", he);
2223
- d("yy", he);
2224
- d("yyy", he);
2225
- d("yyyy", he);
2226
- d("yo", Ln);
2227
- g(["y", "yy", "yyy", "yyyy"], Y);
2228
- g(["yo"], function(e, t, r, s) {
2229
- var a;
2230
- r._locale._eraYearOrdinalRegex && (a = e.match(r._locale._eraYearOrdinalRegex)), r._locale.eraYearOrdinalParse ? t[Y] = r._locale.eraYearOrdinalParse(e, a) : t[Y] = parseInt(e, 10);
2231
- });
2232
- function Dn(e, t) {
2233
- var r, s, a, n = this._eras || J("en")._eras;
2234
- for (r = 0, s = n.length; r < s; ++r) {
2235
- switch (typeof n[r].since) {
2236
- case "string":
2237
- a = l(n[r].since).startOf("day"), n[r].since = a.valueOf();
2238
- break;
2239
- }
2240
- switch (typeof n[r].until) {
2241
- case "undefined":
2242
- n[r].until = 1 / 0;
2243
- break;
2244
- case "string":
2245
- a = l(n[r].until).startOf("day").valueOf(), n[r].until = a.valueOf();
2246
- break;
2247
- }
2248
- }
2249
- return n;
2250
- }
2251
- function Yn(e, t, r) {
2252
- var s, a, n = this.eras(), i, u, h;
2253
- for (e = e.toUpperCase(), s = 0, a = n.length; s < a; ++s)
2254
- if (i = n[s].name.toUpperCase(), u = n[s].abbr.toUpperCase(), h = n[s].narrow.toUpperCase(), r)
2255
- switch (t) {
2256
- case "N":
2257
- case "NN":
2258
- case "NNN":
2259
- if (u === e)
2260
- return n[s];
2261
- break;
2262
- case "NNNN":
2263
- if (i === e)
2264
- return n[s];
2265
- break;
2266
- case "NNNNN":
2267
- if (h === e)
2268
- return n[s];
2269
- break;
2270
- }
2271
- else if ([i, u, h].indexOf(e) >= 0)
2272
- return n[s];
2273
- }
2274
- function bn(e, t) {
2275
- var r = e.since <= e.until ? 1 : -1;
2276
- return t === void 0 ? l(e.since).year() : l(e.since).year() + (t - e.offset) * r;
2277
- }
2278
- function On() {
2279
- var e, t, r, s = this.localeData().eras();
2280
- for (e = 0, t = s.length; e < t; ++e)
2281
- if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
2282
- return s[e].name;
2283
- return "";
2284
- }
2285
- function Tn() {
2286
- var e, t, r, s = this.localeData().eras();
2287
- for (e = 0, t = s.length; e < t; ++e)
2288
- if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
2289
- return s[e].narrow;
2290
- return "";
2291
- }
2292
- function xn() {
2293
- var e, t, r, s = this.localeData().eras();
2294
- for (e = 0, t = s.length; e < t; ++e)
2295
- if (r = this.clone().startOf("day").valueOf(), s[e].since <= r && r <= s[e].until || s[e].until <= r && r <= s[e].since)
2296
- return s[e].abbr;
2297
- return "";
2298
- }
2299
- function Rn() {
2300
- var e, t, r, s, a = this.localeData().eras();
2301
- for (e = 0, t = a.length; e < t; ++e)
2302
- if (r = a[e].since <= a[e].until ? 1 : -1, s = this.clone().startOf("day").valueOf(), a[e].since <= s && s <= a[e].until || a[e].until <= s && s <= a[e].since)
2303
- return (this.year() - l(a[e].since).year()) * r + a[e].offset;
2304
- return this.year();
2305
- }
2306
- function Nn(e) {
2307
- return w(this, "_erasNameRegex") || Ot.call(this), e ? this._erasNameRegex : this._erasRegex;
2308
- }
2309
- function Pn(e) {
2310
- return w(this, "_erasAbbrRegex") || Ot.call(this), e ? this._erasAbbrRegex : this._erasRegex;
2311
- }
2312
- function Cn(e) {
2313
- return w(this, "_erasNarrowRegex") || Ot.call(this), e ? this._erasNarrowRegex : this._erasRegex;
2314
- }
2315
- function bt(e, t) {
2316
- return t.erasAbbrRegex(e);
2317
- }
2318
- function Wn(e, t) {
2319
- return t.erasNameRegex(e);
2320
- }
2321
- function Fn(e, t) {
2322
- return t.erasNarrowRegex(e);
2323
- }
2324
- function Ln(e, t) {
2325
- return t._eraYearOrdinalRegex || he;
2326
- }
2327
- function Ot() {
2328
- var e = [], t = [], r = [], s = [], a, n, i, u, h, m = this.eras();
2329
- for (a = 0, n = m.length; a < n; ++a)
2330
- i = q(m[a].name), u = q(m[a].abbr), h = q(m[a].narrow), t.push(i), e.push(u), r.push(h), s.push(i), s.push(u), s.push(h);
2331
- this._erasRegex = new RegExp("^(" + s.join("|") + ")", "i"), this._erasNameRegex = new RegExp("^(" + t.join("|") + ")", "i"), this._erasAbbrRegex = new RegExp("^(" + e.join("|") + ")", "i"), this._erasNarrowRegex = new RegExp(
2332
- "^(" + r.join("|") + ")",
2333
- "i"
2334
- );
2335
- }
2336
- c(0, ["gg", 2], 0, function() {
2337
- return this.weekYear() % 100;
2338
- });
2339
- c(0, ["GG", 2], 0, function() {
2340
- return this.isoWeekYear() % 100;
2341
- });
2342
- function ze(e, t) {
2343
- c(0, [e, e.length], 0, t);
2344
- }
2345
- ze("gggg", "weekYear");
2346
- ze("ggggg", "weekYear");
2347
- ze("GGGG", "isoWeekYear");
2348
- ze("GGGGG", "isoWeekYear");
2349
- d("G", He);
2350
- d("g", He);
2351
- d("GG", k, x);
2352
- d("gg", k, x);
2353
- d("GGGG", _t, ft);
2354
- d("gggg", _t, ft);
2355
- d("GGGGG", Ie, Ee);
2356
- d("ggggg", Ie, Ee);
2357
- Ye(
2358
- ["gggg", "ggggg", "GGGG", "GGGGG"],
2359
- function(e, t, r, s) {
2360
- t[s.substr(0, 2)] = _(e);
2361
- }
2362
- );
2363
- Ye(["gg", "GG"], function(e, t, r, s) {
2364
- t[s] = l.parseTwoDigitYear(e);
2365
- });
2366
- function En(e) {
2367
- return gr.call(
2368
- this,
2369
- e,
2370
- this.week(),
2371
- this.weekday() + this.localeData()._week.dow,
2372
- this.localeData()._week.dow,
2373
- this.localeData()._week.doy
2374
- );
2375
- }
2376
- function An(e) {
2377
- return gr.call(
2378
- this,
2379
- e,
2380
- this.isoWeek(),
2381
- this.isoWeekday(),
2382
- 1,
2383
- 4
2384
- );
2385
- }
2386
- function In() {
2387
- return Z(this.year(), 1, 4);
2388
- }
2389
- function Hn() {
2390
- return Z(this.isoWeekYear(), 1, 4);
2391
- }
2392
- function Un() {
2393
- var e = this.localeData()._week;
2394
- return Z(this.year(), e.dow, e.doy);
2395
- }
2396
- function jn() {
2397
- var e = this.localeData()._week;
2398
- return Z(this.weekYear(), e.dow, e.doy);
2399
- }
2400
- function gr(e, t, r, s, a) {
2401
- var n;
2402
- return e == null ? Me(this, s, a).year : (n = Z(e, s, a), t > n && (t = n), Gn.call(this, e, t, r, s, a));
2403
- }
2404
- function Gn(e, t, r, s, a) {
2405
- var n = Kt(e, t, r, s, a), i = ge(n.year, 0, n.dayOfYear);
2406
- return this.year(i.getUTCFullYear()), this.month(i.getUTCMonth()), this.date(i.getUTCDate()), this;
2407
- }
2408
- c("Q", 0, "Qo", "quarter");
2409
- d("Q", Ut);
2410
- g("Q", function(e, t) {
2411
- t[z] = (_(e) - 1) * 3;
2412
- });
2413
- function Vn(e) {
2414
- return e == null ? Math.ceil((this.month() + 1) / 3) : this.month((e - 1) * 3 + this.month() % 3);
2415
- }
2416
- c("D", ["DD", 2], "Do", "date");
2417
- d("D", k, fe);
2418
- d("DD", k, x);
2419
- d("Do", function(e, t) {
2420
- return e ? t._dayOfMonthOrdinalParse || t._ordinalParse : t._dayOfMonthOrdinalParseLenient;
2421
- });
2422
- g(["D", "DD"], E);
2423
- g("Do", function(e, t) {
2424
- t[E] = _(e.match(k)[0]);
2425
- });
2426
- var Mr = _e("Date", !0);
2427
- c("DDD", ["DDDD", 3], "DDDo", "dayOfYear");
2428
- d("DDD", Ae);
2429
- d("DDDD", jt);
2430
- g(["DDD", "DDDD"], function(e, t, r) {
2431
- r._dayOfYear = _(e);
2432
- });
2433
- function zn(e) {
2434
- var t = Math.round(
2435
- (this.clone().startOf("day") - this.clone().startOf("year")) / 864e5
2436
- ) + 1;
2437
- return e == null ? t : this.add(e - t, "d");
2438
- }
2439
- c("m", ["mm", 2], 0, "minute");
2440
- d("m", k, mt);
2441
- d("mm", k, x);
2442
- g(["m", "mm"], C);
2443
- var $n = _e("Minutes", !1);
2444
- c("s", ["ss", 2], 0, "second");
2445
- d("s", k, mt);
2446
- d("ss", k, x);
2447
- g(["s", "ss"], $);
2448
- var qn = _e("Seconds", !1);
2449
- c("S", 0, 0, function() {
2450
- return ~~(this.millisecond() / 100);
2451
- });
2452
- c(0, ["SS", 2], 0, function() {
2453
- return ~~(this.millisecond() / 10);
2454
- });
2455
- c(0, ["SSS", 3], 0, "millisecond");
2456
- c(0, ["SSSS", 4], 0, function() {
2457
- return this.millisecond() * 10;
2458
- });
2459
- c(0, ["SSSSS", 5], 0, function() {
2460
- return this.millisecond() * 100;
2461
- });
2462
- c(0, ["SSSSSS", 6], 0, function() {
2463
- return this.millisecond() * 1e3;
2464
- });
2465
- c(0, ["SSSSSSS", 7], 0, function() {
2466
- return this.millisecond() * 1e4;
2467
- });
2468
- c(0, ["SSSSSSSS", 8], 0, function() {
2469
- return this.millisecond() * 1e5;
2470
- });
2471
- c(0, ["SSSSSSSSS", 9], 0, function() {
2472
- return this.millisecond() * 1e6;
2473
- });
2474
- d("S", Ae, Ut);
2475
- d("SS", Ae, x);
2476
- d("SSS", Ae, jt);
2477
- var ee, kr;
2478
- for (ee = "SSSS"; ee.length <= 9; ee += "S")
2479
- d(ee, he);
2480
- function Zn(e, t) {
2481
- t[se] = _(("0." + e) * 1e3);
2482
- }
2483
- for (ee = "S"; ee.length <= 9; ee += "S")
2484
- g(ee, Zn);
2485
- kr = _e("Milliseconds", !1);
2486
- c("z", 0, 0, "zoneAbbr");
2487
- c("zz", 0, 0, "zoneName");
2488
- function Bn() {
2489
- return this._isUTC ? "UTC" : "";
2490
- }
2491
- function Jn() {
2492
- return this._isUTC ? "Coordinated Universal Time" : "";
2493
- }
2494
- var o = Se.prototype;
2495
- o.add = Ua;
2496
- o.calendar = Za;
2497
- o.clone = Ba;
2498
- o.diff = rn;
2499
- o.endOf = fn;
2500
- o.format = on;
2501
- o.from = ln;
2502
- o.fromNow = un;
2503
- o.to = dn;
2504
- o.toNow = cn;
2505
- o.get = ns;
2506
- o.invalidAt = vn;
2507
- o.isAfter = Ja;
2508
- o.isBefore = Qa;
2509
- o.isBetween = Ka;
2510
- o.isSame = Xa;
2511
- o.isSameOrAfter = en;
2512
- o.isSameOrBefore = tn;
2513
- o.isValid = Mn;
2514
- o.lang = _r;
2515
- o.locale = fr;
2516
- o.localeData = mr;
2517
- o.max = ga;
2518
- o.min = pa;
2519
- o.parsingFlags = kn;
2520
- o.set = is;
2521
- o.startOf = hn;
2522
- o.subtract = ja;
2523
- o.toArray = wn;
2524
- o.toObject = pn;
2525
- o.toDate = yn;
2526
- o.toISOString = an;
2527
- o.inspect = nn;
2528
- typeof Symbol < "u" && Symbol.for != null && (o[Symbol.for("nodejs.util.inspect.custom")] = function() {
2529
- return "Moment<" + this.format() + ">";
2530
- });
2531
- o.toJSON = gn;
2532
- o.toString = sn;
2533
- o.unix = mn;
2534
- o.valueOf = _n;
2535
- o.creationData = Sn;
2536
- o.eraName = On;
2537
- o.eraNarrow = Tn;
2538
- o.eraAbbr = xn;
2539
- o.eraYear = Rn;
2540
- o.year = zt;
2541
- o.isLeapYear = as;
2542
- o.weekYear = En;
2543
- o.isoWeekYear = An;
2544
- o.quarter = o.quarters = Vn;
2545
- o.month = Jt;
2546
- o.daysInMonth = ms;
2547
- o.week = o.weeks = Ss;
2548
- o.isoWeek = o.isoWeeks = Ds;
2549
- o.weeksInYear = Un;
2550
- o.weeksInWeekYear = jn;
2551
- o.isoWeeksInYear = In;
2552
- o.isoWeeksInISOWeekYear = Hn;
2553
- o.date = Mr;
2554
- o.day = o.days = Es;
2555
- o.weekday = As;
2556
- o.isoWeekday = Is;
2557
- o.dayOfYear = zn;
2558
- o.hour = o.hours = $s;
2559
- o.minute = o.minutes = $n;
2560
- o.second = o.seconds = qn;
2561
- o.millisecond = o.milliseconds = kr;
2562
- o.utcOffset = Ta;
2563
- o.utc = Ra;
2564
- o.local = Na;
2565
- o.parseZone = Pa;
2566
- o.hasAlignedHourOffset = Ca;
2567
- o.isDST = Wa;
2568
- o.isLocal = La;
2569
- o.isUtcOffset = Ea;
2570
- o.isUtc = ur;
2571
- o.isUTC = ur;
2572
- o.zoneAbbr = Bn;
2573
- o.zoneName = Jn;
2574
- o.dates = N(
2575
- "dates accessor is deprecated. Use date instead.",
2576
- Mr
2577
- );
2578
- o.months = N(
2579
- "months accessor is deprecated. Use month instead",
2580
- Jt
2581
- );
2582
- o.years = N(
2583
- "years accessor is deprecated. Use year instead",
2584
- zt
2585
- );
2586
- o.zone = N(
2587
- "moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",
2588
- xa
2589
- );
2590
- o.isDSTShifted = N(
2591
- "isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",
2592
- Fa
2593
- );
2594
- function Qn(e) {
2595
- return M(e * 1e3);
2596
- }
2597
- function Kn() {
2598
- return M.apply(null, arguments).parseZone();
2599
- }
2600
- function vr(e) {
2601
- return e;
2602
- }
2603
- var p = dt.prototype;
2604
- p.calendar = Lr;
2605
- p.longDateFormat = Hr;
2606
- p.invalidDate = jr;
2607
- p.ordinal = zr;
2608
- p.preparse = vr;
2609
- p.postformat = vr;
2610
- p.relativeTime = qr;
2611
- p.pastFuture = Zr;
2612
- p.set = Wr;
2613
- p.eras = Dn;
2614
- p.erasParse = Yn;
2615
- p.erasConvertYear = bn;
2616
- p.erasAbbrRegex = Pn;
2617
- p.erasNameRegex = Nn;
2618
- p.erasNarrowRegex = Cn;
2619
- p.months = cs;
2620
- p.monthsShort = hs;
2621
- p.monthsParse = _s;
2622
- p.monthsRegex = ws;
2623
- p.monthsShortRegex = ys;
2624
- p.week = gs;
2625
- p.firstDayOfYear = vs;
2626
- p.firstDayOfWeek = ks;
2627
- p.weekdays = Ps;
2628
- p.weekdaysMin = Ws;
2629
- p.weekdaysShort = Cs;
2630
- p.weekdaysParse = Ls;
2631
- p.weekdaysRegex = Hs;
2632
- p.weekdaysShortRegex = Us;
2633
- p.weekdaysMinRegex = js;
2634
- p.isPM = Vs;
2635
- p.meridiem = qs;
2636
- function Fe(e, t, r, s) {
2637
- var a = J(), n = I().set(s, t);
2638
- return a[r](n, e);
2639
- }
2640
- function Sr(e, t, r) {
2641
- if (B(e) && (t = e, e = void 0), e = e || "", t != null)
2642
- return Fe(e, t, r, "month");
2643
- var s, a = [];
2644
- for (s = 0; s < 12; s++)
2645
- a[s] = Fe(e, s, r, "month");
2646
- return a;
2647
- }
2648
- function Tt(e, t, r, s) {
2649
- typeof e == "boolean" ? (B(t) && (r = t, t = void 0), t = t || "") : (t = e, r = t, e = !1, B(t) && (r = t, t = void 0), t = t || "");
2650
- var a = J(), n = e ? a._week.dow : 0, i, u = [];
2651
- if (r != null)
2652
- return Fe(t, (r + n) % 7, s, "day");
2653
- for (i = 0; i < 7; i++)
2654
- u[i] = Fe(t, (i + n) % 7, s, "day");
2655
- return u;
2656
- }
2657
- function Xn(e, t) {
2658
- return Sr(e, t, "months");
2659
- }
2660
- function ei(e, t) {
2661
- return Sr(e, t, "monthsShort");
2662
- }
2663
- function ti(e, t, r) {
2664
- return Tt(e, t, r, "weekdays");
2665
- }
2666
- function ri(e, t, r) {
2667
- return Tt(e, t, r, "weekdaysShort");
2668
- }
2669
- function si(e, t, r) {
2670
- return Tt(e, t, r, "weekdaysMin");
2671
- }
2672
- te("en", {
2673
- eras: [
2674
- {
2675
- since: "0001-01-01",
2676
- until: 1 / 0,
2677
- offset: 1,
2678
- name: "Anno Domini",
2679
- narrow: "AD",
2680
- abbr: "AD"
2681
- },
2682
- {
2683
- since: "0000-12-31",
2684
- until: -1 / 0,
2685
- offset: 1,
2686
- name: "Before Christ",
2687
- narrow: "BC",
2688
- abbr: "BC"
2689
- }
2690
- ],
2691
- dayOfMonthOrdinalParse: /\d{1,2}(th|st|nd|rd)/,
2692
- ordinal: function(e) {
2693
- var t = e % 10, r = _(e % 100 / 10) === 1 ? "th" : t === 1 ? "st" : t === 2 ? "nd" : t === 3 ? "rd" : "th";
2694
- return e + r;
2695
- }
2696
- });
2697
- l.lang = N(
2698
- "moment.lang is deprecated. Use moment.locale instead.",
2699
- te
2700
- );
2701
- l.langData = N(
2702
- "moment.langData is deprecated. Use moment.localeData instead.",
2703
- J
2704
- );
2705
- var j = Math.abs;
2706
- function ai() {
2707
- var e = this._data;
2708
- return this._milliseconds = j(this._milliseconds), this._days = j(this._days), this._months = j(this._months), e.milliseconds = j(e.milliseconds), e.seconds = j(e.seconds), e.minutes = j(e.minutes), e.hours = j(e.hours), e.months = j(e.months), e.years = j(e.years), this;
2709
- }
2710
- function Dr(e, t, r, s) {
2711
- var a = L(t, r);
2712
- return e._milliseconds += s * a._milliseconds, e._days += s * a._days, e._months += s * a._months, e._bubble();
2713
- }
2714
- function ni(e, t) {
2715
- return Dr(this, e, t, 1);
2716
- }
2717
- function ii(e, t) {
2718
- return Dr(this, e, t, -1);
2719
- }
2720
- function Wt(e) {
2721
- return e < 0 ? Math.floor(e) : Math.ceil(e);
2722
- }
2723
- function oi() {
2724
- var e = this._milliseconds, t = this._days, r = this._months, s = this._data, a, n, i, u, h;
2725
- return e >= 0 && t >= 0 && r >= 0 || e <= 0 && t <= 0 && r <= 0 || (e += Wt(it(r) + t) * 864e5, t = 0, r = 0), s.milliseconds = e % 1e3, a = R(e / 1e3), s.seconds = a % 60, n = R(a / 60), s.minutes = n % 60, i = R(n / 60), s.hours = i % 24, t += R(i / 24), h = R(Yr(t)), r += h, t -= Wt(it(h)), u = R(r / 12), r %= 12, s.days = t, s.months = r, s.years = u, this;
2726
- }
2727
- function Yr(e) {
2728
- return e * 4800 / 146097;
2729
- }
2730
- function it(e) {
2731
- return e * 146097 / 4800;
2732
- }
2733
- function li(e) {
2734
- if (!this.isValid())
2735
- return NaN;
2736
- var t, r, s = this._milliseconds;
2737
- if (e = P(e), e === "month" || e === "quarter" || e === "year")
2738
- switch (t = this._days + s / 864e5, r = this._months + Yr(t), e) {
2739
- case "month":
2740
- return r;
2741
- case "quarter":
2742
- return r / 3;
2743
- case "year":
2744
- return r / 12;
2745
- }
2746
- else
2747
- switch (t = this._days + Math.round(it(this._months)), e) {
2748
- case "week":
2749
- return t / 7 + s / 6048e5;
2750
- case "day":
2751
- return t + s / 864e5;
2752
- case "hour":
2753
- return t * 24 + s / 36e5;
2754
- case "minute":
2755
- return t * 1440 + s / 6e4;
2756
- case "second":
2757
- return t * 86400 + s / 1e3;
2758
- case "millisecond":
2759
- return Math.floor(t * 864e5) + s;
2760
- default:
2761
- throw new Error("Unknown unit " + e);
2762
- }
2763
- }
2764
- function Q(e) {
2765
- return function() {
2766
- return this.as(e);
2767
- };
2768
- }
2769
- var br = Q("ms"), ui = Q("s"), di = Q("m"), ci = Q("h"), hi = Q("d"), fi = Q("w"), _i = Q("M"), mi = Q("Q"), yi = Q("y"), wi = br;
2770
- function pi() {
2771
- return L(this);
2772
- }
2773
- function gi(e) {
2774
- return e = P(e), this.isValid() ? this[e + "s"]() : NaN;
2775
- }
2776
- function ne(e) {
2777
- return function() {
2778
- return this.isValid() ? this._data[e] : NaN;
2779
- };
2780
- }
2781
- var Mi = ne("milliseconds"), ki = ne("seconds"), vi = ne("minutes"), Si = ne("hours"), Di = ne("days"), Yi = ne("months"), bi = ne("years");
2782
- function Oi() {
2783
- return R(this.days() / 7);
2784
- }
2785
- var G = Math.round, le = {
2786
- ss: 44,
2787
- // a few seconds to seconds
2788
- s: 45,
2789
- // seconds to minute
2790
- m: 45,
2791
- // minutes to hour
2792
- h: 22,
2793
- // hours to day
2794
- d: 26,
2795
- // days to month/week
2796
- w: null,
2797
- // weeks to month
2798
- M: 11
2799
- // months to year
2800
- };
2801
- function Ti(e, t, r, s, a) {
2802
- return a.relativeTime(t || 1, !!r, e, s);
2803
- }
2804
- function xi(e, t, r, s) {
2805
- var a = L(e).abs(), n = G(a.as("s")), i = G(a.as("m")), u = G(a.as("h")), h = G(a.as("d")), m = G(a.as("M")), b = G(a.as("w")), U = G(a.as("y")), K = n <= r.ss && ["s", n] || n < r.s && ["ss", n] || i <= 1 && ["m"] || i < r.m && ["mm", i] || u <= 1 && ["h"] || u < r.h && ["hh", u] || h <= 1 && ["d"] || h < r.d && ["dd", h];
2806
- return r.w != null && (K = K || b <= 1 && ["w"] || b < r.w && ["ww", b]), K = K || m <= 1 && ["M"] || m < r.M && ["MM", m] || U <= 1 && ["y"] || ["yy", U], K[2] = t, K[3] = +e > 0, K[4] = s, Ti.apply(null, K);
2807
- }
2808
- function Ri(e) {
2809
- return e === void 0 ? G : typeof e == "function" ? (G = e, !0) : !1;
2810
- }
2811
- function Ni(e, t) {
2812
- return le[e] === void 0 ? !1 : t === void 0 ? le[e] : (le[e] = t, e === "s" && (le.ss = t - 1), !0);
2813
- }
2814
- function Pi(e, t) {
2815
- if (!this.isValid())
2816
- return this.localeData().invalidDate();
2817
- var r = !1, s = le, a, n;
2818
- return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (r = e), typeof t == "object" && (s = Object.assign({}, le, t), t.s != null && t.ss == null && (s.ss = t.s - 1)), a = this.localeData(), n = xi(this, !r, s, a), r && (n = a.pastFuture(+this, n)), a.postformat(n);
2819
- }
2820
- var Qe = Math.abs;
2821
- function ie(e) {
2822
- return (e > 0) - (e < 0) || +e;
2823
- }
2824
- function $e() {
2825
- if (!this.isValid())
2826
- return this.localeData().invalidDate();
2827
- var e = Qe(this._milliseconds) / 1e3, t = Qe(this._days), r = Qe(this._months), s, a, n, i, u = this.asSeconds(), h, m, b, U;
2828
- return u ? (s = R(e / 60), a = R(s / 60), e %= 60, s %= 60, n = R(r / 12), r %= 12, i = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", h = u < 0 ? "-" : "", m = ie(this._months) !== ie(u) ? "-" : "", b = ie(this._days) !== ie(u) ? "-" : "", U = ie(this._milliseconds) !== ie(u) ? "-" : "", h + "P" + (n ? m + n + "Y" : "") + (r ? m + r + "M" : "") + (t ? b + t + "D" : "") + (a || s || e ? "T" : "") + (a ? U + a + "H" : "") + (s ? U + s + "M" : "") + (e ? U + i + "S" : "")) : "P0D";
2829
- }
2830
- var y = Ve.prototype;
2831
- y.isValid = Da;
2832
- y.abs = ai;
2833
- y.add = ni;
2834
- y.subtract = ii;
2835
- y.as = li;
2836
- y.asMilliseconds = br;
2837
- y.asSeconds = ui;
2838
- y.asMinutes = di;
2839
- y.asHours = ci;
2840
- y.asDays = hi;
2841
- y.asWeeks = fi;
2842
- y.asMonths = _i;
2843
- y.asQuarters = mi;
2844
- y.asYears = yi;
2845
- y.valueOf = wi;
2846
- y._bubble = oi;
2847
- y.clone = pi;
2848
- y.get = gi;
2849
- y.milliseconds = Mi;
2850
- y.seconds = ki;
2851
- y.minutes = vi;
2852
- y.hours = Si;
2853
- y.days = Di;
2854
- y.weeks = Oi;
2855
- y.months = Yi;
2856
- y.years = bi;
2857
- y.humanize = Pi;
2858
- y.toISOString = $e;
2859
- y.toString = $e;
2860
- y.toJSON = $e;
2861
- y.locale = fr;
2862
- y.localeData = mr;
2863
- y.toIsoString = N(
2864
- "toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",
2865
- $e
2866
- );
2867
- y.lang = _r;
2868
- c("X", 0, 0, "unix");
2869
- c("x", 0, 0, "valueOf");
2870
- d("x", He);
2871
- d("X", Kr);
2872
- g("X", function(e, t, r) {
2873
- r._d = new Date(parseFloat(e) * 1e3);
2874
- });
2875
- g("x", function(e, t, r) {
2876
- r._d = new Date(_(e));
2877
- });
2878
- //! moment.js
2879
- l.version = "2.30.1";
2880
- Pr(M);
2881
- l.fn = o;
2882
- l.min = Ma;
2883
- l.max = ka;
2884
- l.now = va;
2885
- l.utc = I;
2886
- l.unix = Qn;
2887
- l.months = Xn;
2888
- l.isDate = ve;
2889
- l.locale = te;
2890
- l.invalid = Le;
2891
- l.duration = L;
2892
- l.isMoment = F;
2893
- l.weekdays = ti;
2894
- l.parseZone = Kn;
2895
- l.localeData = J;
2896
- l.isDuration = xe;
2897
- l.monthsShort = ei;
2898
- l.weekdaysMin = si;
2899
- l.defineLocale = Mt;
2900
- l.updateLocale = Qs;
2901
- l.locales = Ks;
2902
- l.weekdaysShort = ri;
2903
- l.normalizeUnits = P;
2904
- l.relativeTimeRounding = Ri;
2905
- l.relativeTimeThreshold = Ni;
2906
- l.calendarFormat = qa;
2907
- l.prototype = o;
2908
- l.HTML5_FMT = {
2909
- DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
2910
- // <input type="datetime-local" />
2911
- DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
2912
- // <input type="datetime-local" step="1" />
2913
- DATETIME_LOCAL_MS: "YYYY-MM-DDTHH:mm:ss.SSS",
2914
- // <input type="datetime-local" step="0.001" />
2915
- DATE: "YYYY-MM-DD",
2916
- // <input type="date" />
2917
- TIME: "HH:mm",
2918
- // <input type="time" />
2919
- TIME_SECONDS: "HH:mm:ss",
2920
- // <input type="time" step="1" />
2921
- TIME_MS: "HH:mm:ss.SSS",
2922
- // <input type="time" step="0.001" />
2923
- WEEK: "GGGG-[W]WW",
2924
- // <input type="week" />
2925
- MONTH: "YYYY-MM"
2926
- // <input type="month" />
2927
- };
2928
- const Ke = (e) => new Intl.NumberFormat("de-DE").format(e), Ci = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, Wi = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i, Ft = /(janv\.?|févr\.?|avr\.?|juil\.?|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i, Xe = [
2929
- /^janv/i,
2930
- /^févr/i,
2931
- /^mars/i,
2932
- /^avr/i,
2933
- /^mai/i,
2934
- /^juin/i,
2935
- /^juil/i,
2936
- /^août/i,
2937
- /^sept/i,
2938
- /^oct/i,
2939
- /^nov/i,
2940
- /^déc/i
2941
- ], Fi = {
2942
- months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split(
2943
- "_"
2944
- ),
2945
- monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),
2946
- monthsRegex: Ft,
2947
- monthsShortRegex: Ft,
2948
- monthsStrictRegex: Ci,
2949
- monthsShortStrictRegex: Wi,
2950
- monthsParse: Xe,
2951
- longMonthsParse: Xe,
2952
- shortMonthsParse: Xe,
2953
- weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),
2954
- weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"),
2955
- weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"),
2956
- weekdaysParseExact: !0,
2957
- longDateFormat: {
2958
- LT: "HH:mm",
2959
- LTS: "HH:mm:ss",
2960
- L: "DD/MM/YYYY",
2961
- LL: "D MMMM YYYY",
2962
- LLL: "D MMMM YYYY HH:mm",
2963
- LLLL: "dddd D MMMM YYYY HH:mm"
2964
- },
2965
- calendar: {
2966
- sameDay: "[Aujourd’hui à] LT",
2967
- nextDay: "[Demain à] LT",
2968
- nextWeek: "dddd [à] LT",
2969
- lastDay: "[Hier à] LT",
2970
- lastWeek: "dddd [dernier à] LT",
2971
- sameElse: "L"
2972
- },
2973
- relativeTime: {
2974
- future: "dans %s",
2975
- past: "il y a %s",
2976
- s: "quelques secondes",
2977
- ss: "%d secondes",
2978
- m: "une minute",
2979
- mm: "%d minutes",
2980
- h: "une heure",
2981
- hh: "%d heures",
2982
- d: "un jour",
2983
- dd: "%d jours",
2984
- w: "une semaine",
2985
- ww: "%d semaines",
2986
- M: "un mois",
2987
- MM: "%d mois",
2988
- y: "un an",
2989
- yy: "%d ans"
2990
- },
2991
- dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
2992
- ordinal: (e, t) => {
2993
- switch (t) {
2994
- case "D":
2995
- return e + (e === 1 ? "er" : "");
2996
- default:
2997
- case "M":
2998
- case "Q":
2999
- case "DDD":
3000
- case "d":
3001
- return e + (e === 1 ? "er" : "e");
3002
- case "w":
3003
- case "W":
3004
- return e + (e === 1 ? "re" : "e");
3005
- }
3006
- },
3007
- week: {
3008
- dow: 1,
3009
- doy: 4
3010
- }
3011
- };
3012
- l.locale("fr", Fi);
3013
- const Li = (e) => Math.round(5e3 * Math.pow(200, 0.01 * e) / 10) * 10, Or = (e) => e >= 1 ? Or(e - 1) + Li(e) : 0, Ei = (e, t = 0) => e < Or(t + 1) ? t : Ei(e, t + 1), Ai = (e) => Math.round(1e5 * Math.pow(50, 0.01 * e) / 10) * 10, Tr = (e) => e >= 1 ? Tr(e - 1) + Ai(e) : 0, Ii = (e, t = 0) => e < Tr(t + 1) ? t : Ii(e, t + 1), Qi = ([e, t]) => t ? `${V("common", "xp.user", { amount: Ke(e), emoji: qe.xp })} ${V("common", "xp.crew", { amount: Ke(t), emoji: qe.xp })}` : V("common", "xp.user", {
3014
- amount: Ke(e),
3015
- emoji: qe.xp
74
+ }, u = "citizen", l = ["category", "alpha", "quantity"], x = (o, t) => t === null ? null : o === t ? `-${o}` : t, c = {
75
+ xp: "<:xp:1084914564379975772>"
76
+ }, a = (o) => Math.round(5e3 * Math.pow(200, 0.01 * o) / 10) * 10, m = (o) => o >= 1 ? m(o - 1) + a(o) : 0, i = (o, t = 0) => o < m(t + 1) ? t : i(o, t + 1), A = (o) => Math.round(1e5 * Math.pow(50, 0.01 * o) / 10) * 10, C = (o) => o >= 1 ? C(o - 1) + A(o) : 0, E = (o, t = 0) => o < C(t + 1) ? t : E(o, t + 1), _ = ([o, t]) => t ? `${r("common", "xp.user", { amount: e(o), emoji: c.xp })} ${r("common", "xp.crew", { amount: e(t), emoji: c.xp })}` : r("common", "xp.user", {
77
+ amount: e(o),
78
+ emoji: c.xp
3016
79
  });
3017
80
  export {
3018
- ji as CHARACTERISTICS,
3019
- xr as CHARACTERISTIC_DEFAULT_POINT_COST,
3020
- Vi as CHARACTERISTIC_POINT_COSTS,
3021
- Gi as CHARACTERISTIC_POINT_PER_LEVEL,
3022
- Zi as DEFAULT_FACTION,
3023
- zi as DEFAULT_MAX_HP,
3024
- qi as FACTIONS,
3025
- $i as HP_PER_VITALITY,
3026
- Ui as RANKS,
3027
- T as RankId,
3028
- Bi as SORT_VALUES,
3029
- Ai as crewXpToLevel,
3030
- Qi as displayXp,
3031
- Ii as getCurrentCrewLevel,
3032
- Ei as getCurrentLevel,
3033
- Ji as getNewSortValue,
3034
- Tr as totalCrewXpToLevel,
3035
- Or as totalXpToLevel,
3036
- Li as xpToLevel
81
+ p as CHARACTERISTICS,
82
+ s as CHARACTERISTIC_DEFAULT_POINT_COST,
83
+ L as CHARACTERISTIC_POINT_COSTS,
84
+ M as CHARACTERISTIC_POINT_PER_LEVEL,
85
+ u as DEFAULT_FACTION,
86
+ N as DEFAULT_MAX_HP,
87
+ S as FACTIONS,
88
+ O as HP_PER_VITALITY,
89
+ R as RANKS,
90
+ n as RankId,
91
+ l as SORT_VALUES,
92
+ A as crewXpToLevel,
93
+ _ as displayXp,
94
+ E as getCurrentCrewLevel,
95
+ i as getCurrentLevel,
96
+ x as getNewSortValue,
97
+ C as totalCrewXpToLevel,
98
+ m as totalXpToLevel,
99
+ a as xpToLevel
3037
100
  };