@cgi-learning-hub/ui 1.7.0-dev.1751966924 → 1.7.0-dev.1752143362
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/{DatePicker-BkVahRdI.js → DatePicker-D44GKWcI.js} +2877 -3185
- package/dist/DatePicker-DrsvEAlG.cjs +16 -0
- package/dist/Google-BBUwLIT4.cjs +27 -0
- package/dist/Google-BWsoztHe.js +7916 -0
- package/dist/{ToggleButtonGroup-E45I7k42.cjs → ToggleButtonGroup-C4FEdU03.cjs} +1 -1
- package/dist/{ToggleButtonGroup-C6djK2Bj.js → ToggleButtonGroup-DZ7yEL0e.js} +1 -1
- package/dist/components/ActionBar/ActionBar.cjs.js +1 -0
- package/dist/components/ActionBar/ActionBar.d.ts +3 -0
- package/dist/components/ActionBar/ActionBar.es.js +68 -0
- package/dist/components/ActionBar/index.cjs.js +1 -0
- package/dist/components/ActionBar/index.d.ts +2 -0
- package/dist/components/ActionBar/index.es.js +4 -0
- package/dist/components/ActionBar/style.cjs.js +1 -0
- package/dist/components/ActionBar/style.d.ts +38 -0
- package/dist/components/ActionBar/style.es.js +41 -0
- package/dist/components/ActionBar/types.cjs.js +1 -0
- package/dist/components/ActionBar/types.d.ts +13 -0
- package/dist/components/ActionBar/types.es.js +1 -0
- package/dist/components/ColorPicker/ColorPicker.cjs.js +1 -27
- package/dist/components/ColorPicker/ColorPicker.es.js +31 -7942
- package/dist/components/DatePicker/DatePicker.cjs.js +1 -1
- package/dist/components/DatePicker/DatePicker.es.js +3 -2
- package/dist/components/DatePicker/index.cjs.js +1 -1
- package/dist/components/DatePicker/index.es.js +1 -1
- package/dist/components/EmptyState/EmptyState.cjs.js +1 -1
- package/dist/components/EmptyState/EmptyState.d.ts +1 -0
- package/dist/components/EmptyState/EmptyState.es.js +22 -20
- package/dist/components/Loader/Loader.cjs.js +1 -1
- package/dist/components/Loader/Loader.es.js +9 -8
- package/dist/components/LoaderBackdrop/LoaderBackdrop.cjs.js +1 -1
- package/dist/components/LoaderBackdrop/LoaderBackdrop.es.js +5 -4
- package/dist/components/index.cjs.js +1 -1
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.es.js +302 -300
- package/dist/components/stories/ActionBar.stories.cjs.js +1 -0
- package/dist/components/stories/ActionBar.stories.d.ts +11 -0
- package/dist/components/stories/ActionBar.stories.es.js +223 -0
- package/dist/components/stories/DatePicker.stories.cjs.js +1 -1
- package/dist/components/stories/DatePicker.stories.es.js +1 -1
- package/dist/fr-B3qrCNcK.js +312 -0
- package/dist/fr-JE-1WKP6.cjs +1 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +302 -300
- package/package.json +1 -1
- package/dist/DatePicker-DLM5OOz_.cjs +0 -16
- /package/dist/assets/{Loader.css → styles.css} +0 -0
- /package/dist/assets/{LoaderBackdrop.css → styles2.css} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("react/jsx-runtime"),n=require("../ActionBar/ActionBar.cjs.js"),i=require("@mui/material"),b={title:"Components/ActionBar",component:n,tags:["autodocs"],argTypes:{leftButtons:{description:"Liste de boutons à afficher à gauche de la barre",control:"object"},rightButtons:{description:"Liste de boutons à afficher à droite de la barre",control:"object"},boxLeftWrapperProps:{description:"Props supplémentaires pour le conteneur de gauche (Box)",control:"object"},boxRightWrapperProps:{description:"Props supplémentaires pour le conteneur de droite (Box)",control:"object"},buttonLeftProps:{description:"Props supplémentaires pour les boutons à gauche",control:"object"},buttonRightProps:{description:"Props supplémentaires pour les boutons à droite",control:"object"},sx:{description:"Styles supplémentaires à appliquer au wrapper principal",control:"object"}}},o=t=>()=>alert(t),c={args:{leftButtons:[{label:"Retour",action:o("Retour")}],rightButtons:[{label:"Valider",action:o("Valider")},{label:"Annuler",action:o("Annuler")}]},render:()=>{var t,e;return r.jsx(i.Box,{sx:{p:4},children:r.jsx(n,{leftButtons:((t=c.args)==null?void 0:t.leftButtons)??[],rightButtons:((e=c.args)==null?void 0:e.rightButtons)??[]})})},parameters:{docs:{description:{story:"Affiche une `ActionBar` classique avec des boutons à gauche et à droite."}}}},d={args:{leftButtons:[{label:"Précédent",action:o("Précédent")},{label:"Fermer",action:o("Fermer")}],rightButtons:[]},render:()=>{var t,e;return r.jsx(i.Box,{sx:{p:4},children:r.jsx(n,{leftButtons:((t=d.args)==null?void 0:t.leftButtons)??[],rightButtons:((e=d.args)==null?void 0:e.rightButtons)??[]})})},parameters:{docs:{description:{story:"Affiche uniquement les boutons à gauche. Utile pour les étapes intermédiaires ou navigation simple."}}}},g={args:{leftButtons:[],rightButtons:[{label:"Sauvegarder",action:o("Sauvegarder")}]},render:()=>{var t,e;return r.jsx(i.Box,{sx:{p:4},children:r.jsx(n,{leftButtons:((t=g.args)==null?void 0:t.leftButtons)??[],rightButtons:((e=g.args)==null?void 0:e.rightButtons)??[]})})},parameters:{docs:{description:{story:"Affiche uniquement des boutons à droite. Fréquent pour les actions finales."}}}},u={args:{leftButtons:[{label:"Aide",action:o("Aide")}],rightButtons:[{label:"Envoyer",action:o("Envoyer")}],buttonLeftProps:{color:"secondary",variant:"outlined"},buttonRightProps:{color:"success",variant:"contained"}},render:()=>{var t,e,s,a;return r.jsx(i.Box,{sx:{p:4},children:r.jsx(n,{leftButtons:((t=u.args)==null?void 0:t.leftButtons)??[],rightButtons:((e=u.args)==null?void 0:e.rightButtons)??[],buttonLeftProps:((s=u.args)==null?void 0:s.buttonLeftProps)??{},buttonRightProps:((a=u.args)==null?void 0:a.buttonRightProps)??{}})})},parameters:{docs:{description:{story:"Personnalisation des boutons via `buttonLeftProps` et `buttonRightProps`."}}}},p={args:{leftButtons:[{label:"Infos",action:o("Infos")}],rightButtons:[{label:"Suivant",action:o("Suivant")}],boxLeftWrapperProps:{sx:{backgroundColor:"lightgray",p:1}},boxRightWrapperProps:{sx:{backgroundColor:"whitesmoke",p:1}}},render:()=>{var t,e,s,a;return r.jsx(i.Box,{sx:{p:4},children:r.jsx(n,{leftButtons:((t=p.args)==null?void 0:t.leftButtons)??[],rightButtons:((e=p.args)==null?void 0:e.rightButtons)??[],boxLeftWrapperProps:((s=p.args)==null?void 0:s.boxLeftWrapperProps)??{},boxRightWrapperProps:((a=p.args)==null?void 0:a.boxRightWrapperProps)??{}})})},parameters:{docs:{description:{story:"Ajoute du style aux conteneurs de gauche et de droite via `boxLeftWrapperProps` et `boxRightWrapperProps`."}}}},l={args:{leftButtons:[{label:"Mobile",action:o("Mobile")}],rightButtons:[{label:"Continue",action:o("Continue")}],sx:[{flexDirection:"column",gap:1,"@media (min-width: 600px)":{flexDirection:"row",justifyContent:"space-between"}}]},render:()=>{var t,e,s;return r.jsx(i.Box,{sx:{p:4},children:r.jsx(n,{leftButtons:((t=l.args)==null?void 0:t.leftButtons)??[],rightButtons:((e=l.args)==null?void 0:e.rightButtons)??[],sx:((s=l.args)==null?void 0:s.sx)??{}})})},parameters:{docs:{description:{story:"Démontre l’adaptabilité de la barre via une prop `sx` responsive."}}}};exports.Default=c;exports.OnlyLeftButtons=d;exports.OnlyRightButtons=g;exports.ResponsiveExample=l;exports.WithBoxCustomProps=p;exports.WithCustomButtonProps=u;exports.default=b;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Meta, StoryObj } from '@storybook/react-vite';
|
|
2
|
+
import { ActionBar } from '../ActionBar';
|
|
3
|
+
declare const meta: Meta<typeof ActionBar>;
|
|
4
|
+
export default meta;
|
|
5
|
+
type Story = StoryObj<typeof ActionBar>;
|
|
6
|
+
export declare const Default: Story;
|
|
7
|
+
export declare const OnlyLeftButtons: Story;
|
|
8
|
+
export declare const OnlyRightButtons: Story;
|
|
9
|
+
export declare const WithCustomButtonProps: Story;
|
|
10
|
+
export declare const WithBoxCustomProps: Story;
|
|
11
|
+
export declare const ResponsiveExample: Story;
|
|
@@ -0,0 +1,223 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import n from "../ActionBar/ActionBar.es.js";
|
|
3
|
+
import { Box as i } from "@mui/material";
|
|
4
|
+
const B = {
|
|
5
|
+
title: "Components/ActionBar",
|
|
6
|
+
component: n,
|
|
7
|
+
tags: ["autodocs"],
|
|
8
|
+
argTypes: {
|
|
9
|
+
leftButtons: {
|
|
10
|
+
description: "Liste de boutons à afficher à gauche de la barre",
|
|
11
|
+
control: "object"
|
|
12
|
+
},
|
|
13
|
+
rightButtons: {
|
|
14
|
+
description: "Liste de boutons à afficher à droite de la barre",
|
|
15
|
+
control: "object"
|
|
16
|
+
},
|
|
17
|
+
boxLeftWrapperProps: {
|
|
18
|
+
description: "Props supplémentaires pour le conteneur de gauche (Box)",
|
|
19
|
+
control: "object"
|
|
20
|
+
},
|
|
21
|
+
boxRightWrapperProps: {
|
|
22
|
+
description: "Props supplémentaires pour le conteneur de droite (Box)",
|
|
23
|
+
control: "object"
|
|
24
|
+
},
|
|
25
|
+
buttonLeftProps: {
|
|
26
|
+
description: "Props supplémentaires pour les boutons à gauche",
|
|
27
|
+
control: "object"
|
|
28
|
+
},
|
|
29
|
+
buttonRightProps: {
|
|
30
|
+
description: "Props supplémentaires pour les boutons à droite",
|
|
31
|
+
control: "object"
|
|
32
|
+
},
|
|
33
|
+
sx: {
|
|
34
|
+
description: "Styles supplémentaires à appliquer au wrapper principal",
|
|
35
|
+
control: "object"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}, o = (t) => () => alert(t), c = {
|
|
39
|
+
args: {
|
|
40
|
+
leftButtons: [
|
|
41
|
+
{ label: "Retour", action: o("Retour") }
|
|
42
|
+
],
|
|
43
|
+
rightButtons: [
|
|
44
|
+
{ label: "Valider", action: o("Valider") },
|
|
45
|
+
{ label: "Annuler", action: o("Annuler") }
|
|
46
|
+
]
|
|
47
|
+
},
|
|
48
|
+
render: () => {
|
|
49
|
+
var t, e;
|
|
50
|
+
return /* @__PURE__ */ r(i, { sx: { p: 4 }, children: /* @__PURE__ */ r(
|
|
51
|
+
n,
|
|
52
|
+
{
|
|
53
|
+
leftButtons: ((t = c.args) == null ? void 0 : t.leftButtons) ?? [],
|
|
54
|
+
rightButtons: ((e = c.args) == null ? void 0 : e.rightButtons) ?? []
|
|
55
|
+
}
|
|
56
|
+
) });
|
|
57
|
+
},
|
|
58
|
+
parameters: {
|
|
59
|
+
docs: {
|
|
60
|
+
description: {
|
|
61
|
+
story: "Affiche une `ActionBar` classique avec des boutons à gauche et à droite."
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}, d = {
|
|
66
|
+
args: {
|
|
67
|
+
leftButtons: [
|
|
68
|
+
{ label: "Précédent", action: o("Précédent") },
|
|
69
|
+
{ label: "Fermer", action: o("Fermer") }
|
|
70
|
+
],
|
|
71
|
+
rightButtons: []
|
|
72
|
+
},
|
|
73
|
+
render: () => {
|
|
74
|
+
var t, e;
|
|
75
|
+
return /* @__PURE__ */ r(i, { sx: { p: 4 }, children: /* @__PURE__ */ r(
|
|
76
|
+
n,
|
|
77
|
+
{
|
|
78
|
+
leftButtons: ((t = d.args) == null ? void 0 : t.leftButtons) ?? [],
|
|
79
|
+
rightButtons: ((e = d.args) == null ? void 0 : e.rightButtons) ?? []
|
|
80
|
+
}
|
|
81
|
+
) });
|
|
82
|
+
},
|
|
83
|
+
parameters: {
|
|
84
|
+
docs: {
|
|
85
|
+
description: {
|
|
86
|
+
story: "Affiche uniquement les boutons à gauche. Utile pour les étapes intermédiaires ou navigation simple."
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}, g = {
|
|
91
|
+
args: {
|
|
92
|
+
leftButtons: [],
|
|
93
|
+
rightButtons: [
|
|
94
|
+
{ label: "Sauvegarder", action: o("Sauvegarder") }
|
|
95
|
+
]
|
|
96
|
+
},
|
|
97
|
+
render: () => {
|
|
98
|
+
var t, e;
|
|
99
|
+
return /* @__PURE__ */ r(i, { sx: { p: 4 }, children: /* @__PURE__ */ r(
|
|
100
|
+
n,
|
|
101
|
+
{
|
|
102
|
+
leftButtons: ((t = g.args) == null ? void 0 : t.leftButtons) ?? [],
|
|
103
|
+
rightButtons: ((e = g.args) == null ? void 0 : e.rightButtons) ?? []
|
|
104
|
+
}
|
|
105
|
+
) });
|
|
106
|
+
},
|
|
107
|
+
parameters: {
|
|
108
|
+
docs: {
|
|
109
|
+
description: {
|
|
110
|
+
story: "Affiche uniquement des boutons à droite. Fréquent pour les actions finales."
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}, u = {
|
|
115
|
+
args: {
|
|
116
|
+
leftButtons: [
|
|
117
|
+
{ label: "Aide", action: o("Aide") }
|
|
118
|
+
],
|
|
119
|
+
rightButtons: [
|
|
120
|
+
{ label: "Envoyer", action: o("Envoyer") }
|
|
121
|
+
],
|
|
122
|
+
buttonLeftProps: {
|
|
123
|
+
color: "secondary",
|
|
124
|
+
variant: "outlined"
|
|
125
|
+
},
|
|
126
|
+
buttonRightProps: {
|
|
127
|
+
color: "success",
|
|
128
|
+
variant: "contained"
|
|
129
|
+
}
|
|
130
|
+
},
|
|
131
|
+
render: () => {
|
|
132
|
+
var t, e, s, a;
|
|
133
|
+
return /* @__PURE__ */ r(i, { sx: { p: 4 }, children: /* @__PURE__ */ r(
|
|
134
|
+
n,
|
|
135
|
+
{
|
|
136
|
+
leftButtons: ((t = u.args) == null ? void 0 : t.leftButtons) ?? [],
|
|
137
|
+
rightButtons: ((e = u.args) == null ? void 0 : e.rightButtons) ?? [],
|
|
138
|
+
buttonLeftProps: ((s = u.args) == null ? void 0 : s.buttonLeftProps) ?? {},
|
|
139
|
+
buttonRightProps: ((a = u.args) == null ? void 0 : a.buttonRightProps) ?? {}
|
|
140
|
+
}
|
|
141
|
+
) });
|
|
142
|
+
},
|
|
143
|
+
parameters: {
|
|
144
|
+
docs: {
|
|
145
|
+
description: {
|
|
146
|
+
story: "Personnalisation des boutons via `buttonLeftProps` et `buttonRightProps`."
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
}, p = {
|
|
151
|
+
args: {
|
|
152
|
+
leftButtons: [
|
|
153
|
+
{ label: "Infos", action: o("Infos") }
|
|
154
|
+
],
|
|
155
|
+
rightButtons: [
|
|
156
|
+
{ label: "Suivant", action: o("Suivant") }
|
|
157
|
+
],
|
|
158
|
+
boxLeftWrapperProps: {
|
|
159
|
+
sx: { backgroundColor: "lightgray", p: 1 }
|
|
160
|
+
},
|
|
161
|
+
boxRightWrapperProps: {
|
|
162
|
+
sx: { backgroundColor: "whitesmoke", p: 1 }
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
render: () => {
|
|
166
|
+
var t, e, s, a;
|
|
167
|
+
return /* @__PURE__ */ r(i, { sx: { p: 4 }, children: /* @__PURE__ */ r(
|
|
168
|
+
n,
|
|
169
|
+
{
|
|
170
|
+
leftButtons: ((t = p.args) == null ? void 0 : t.leftButtons) ?? [],
|
|
171
|
+
rightButtons: ((e = p.args) == null ? void 0 : e.rightButtons) ?? [],
|
|
172
|
+
boxLeftWrapperProps: ((s = p.args) == null ? void 0 : s.boxLeftWrapperProps) ?? {},
|
|
173
|
+
boxRightWrapperProps: ((a = p.args) == null ? void 0 : a.boxRightWrapperProps) ?? {}
|
|
174
|
+
}
|
|
175
|
+
) });
|
|
176
|
+
},
|
|
177
|
+
parameters: {
|
|
178
|
+
docs: {
|
|
179
|
+
description: {
|
|
180
|
+
story: "Ajoute du style aux conteneurs de gauche et de droite via `boxLeftWrapperProps` et `boxRightWrapperProps`."
|
|
181
|
+
}
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
}, l = {
|
|
185
|
+
args: {
|
|
186
|
+
leftButtons: [
|
|
187
|
+
{ label: "Mobile", action: o("Mobile") }
|
|
188
|
+
],
|
|
189
|
+
rightButtons: [
|
|
190
|
+
{ label: "Continue", action: o("Continue") }
|
|
191
|
+
],
|
|
192
|
+
sx: [
|
|
193
|
+
{ flexDirection: "column", gap: 1, "@media (min-width: 600px)": { flexDirection: "row", justifyContent: "space-between" } }
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
render: () => {
|
|
197
|
+
var t, e, s;
|
|
198
|
+
return /* @__PURE__ */ r(i, { sx: { p: 4 }, children: /* @__PURE__ */ r(
|
|
199
|
+
n,
|
|
200
|
+
{
|
|
201
|
+
leftButtons: ((t = l.args) == null ? void 0 : t.leftButtons) ?? [],
|
|
202
|
+
rightButtons: ((e = l.args) == null ? void 0 : e.rightButtons) ?? [],
|
|
203
|
+
sx: ((s = l.args) == null ? void 0 : s.sx) ?? {}
|
|
204
|
+
}
|
|
205
|
+
) });
|
|
206
|
+
},
|
|
207
|
+
parameters: {
|
|
208
|
+
docs: {
|
|
209
|
+
description: {
|
|
210
|
+
story: "Démontre l’adaptabilité de la barre via une prop `sx` responsive."
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
};
|
|
215
|
+
export {
|
|
216
|
+
c as Default,
|
|
217
|
+
d as OnlyLeftButtons,
|
|
218
|
+
g as OnlyRightButtons,
|
|
219
|
+
l as ResponsiveExample,
|
|
220
|
+
p as WithBoxCustomProps,
|
|
221
|
+
u as WithCustomButtonProps,
|
|
222
|
+
B as default
|
|
223
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../DatePicker-
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("../../DatePicker-DrsvEAlG.cjs"),t={title:"Components/DatePicker",component:e.DatePicker},a={args:{adapterLocale:"fr"}};exports.Default=a;exports.default=t;
|
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
var J = { exports: {} }, rt = J.exports, P;
|
|
2
|
+
function nt() {
|
|
3
|
+
return P || (P = 1, function(k, z) {
|
|
4
|
+
(function(v, l) {
|
|
5
|
+
k.exports = l();
|
|
6
|
+
})(rt, function() {
|
|
7
|
+
var v = 1e3, l = 6e4, S = 36e5, Y = "millisecond", m = "second", x = "minute", O = "hour", y = "day", q = "week", M = "month", E = "quarter", p = "year", j = "date", R = "Invalid Date", K = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, X = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, tt = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(s) {
|
|
8
|
+
var r = ["th", "st", "nd", "rd"], t = s % 100;
|
|
9
|
+
return "[" + s + (r[(t - 20) % 10] || r[t] || r[0]) + "]";
|
|
10
|
+
} }, U = function(s, r, t) {
|
|
11
|
+
var n = String(s);
|
|
12
|
+
return !n || n.length >= r ? s : "" + Array(r + 1 - n.length).join(t) + s;
|
|
13
|
+
}, et = { s: U, z: function(s) {
|
|
14
|
+
var r = -s.utcOffset(), t = Math.abs(r), n = Math.floor(t / 60), e = t % 60;
|
|
15
|
+
return (r <= 0 ? "+" : "-") + U(n, 2, "0") + ":" + U(e, 2, "0");
|
|
16
|
+
}, m: function s(r, t) {
|
|
17
|
+
if (r.date() < t.date()) return -s(t, r);
|
|
18
|
+
var n = 12 * (t.year() - r.year()) + (t.month() - r.month()), e = r.clone().add(n, M), i = t - e < 0, u = r.clone().add(n + (i ? -1 : 1), M);
|
|
19
|
+
return +(-(n + (t - e) / (i ? e - u : u - e)) || 0);
|
|
20
|
+
}, a: function(s) {
|
|
21
|
+
return s < 0 ? Math.ceil(s) || 0 : Math.floor(s);
|
|
22
|
+
}, p: function(s) {
|
|
23
|
+
return { M, y: p, w: q, d: y, D: j, h: O, m: x, s: m, ms: Y, Q: E }[s] || String(s || "").toLowerCase().replace(/s$/, "");
|
|
24
|
+
}, u: function(s) {
|
|
25
|
+
return s === void 0;
|
|
26
|
+
} }, H = "en", g = {};
|
|
27
|
+
g[H] = tt;
|
|
28
|
+
var V = "$isDayjsObject", Z = function(s) {
|
|
29
|
+
return s instanceof C || !(!s || !s[V]);
|
|
30
|
+
}, A = function s(r, t, n) {
|
|
31
|
+
var e;
|
|
32
|
+
if (!r) return H;
|
|
33
|
+
if (typeof r == "string") {
|
|
34
|
+
var i = r.toLowerCase();
|
|
35
|
+
g[i] && (e = i), t && (g[i] = t, e = i);
|
|
36
|
+
var u = r.split("-");
|
|
37
|
+
if (!e && u.length > 1) return s(u[0]);
|
|
38
|
+
} else {
|
|
39
|
+
var o = r.name;
|
|
40
|
+
g[o] = r, e = o;
|
|
41
|
+
}
|
|
42
|
+
return !n && e && (H = e), e || !n && H;
|
|
43
|
+
}, f = function(s, r) {
|
|
44
|
+
if (Z(s)) return s.clone();
|
|
45
|
+
var t = typeof r == "object" ? r : {};
|
|
46
|
+
return t.date = s, t.args = arguments, new C(t);
|
|
47
|
+
}, a = et;
|
|
48
|
+
a.l = A, a.i = Z, a.w = function(s, r) {
|
|
49
|
+
return f(s, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
|
|
50
|
+
};
|
|
51
|
+
var C = function() {
|
|
52
|
+
function s(t) {
|
|
53
|
+
this.$L = A(t.locale, null, !0), this.parse(t), this.$x = this.$x || t.x || {}, this[V] = !0;
|
|
54
|
+
}
|
|
55
|
+
var r = s.prototype;
|
|
56
|
+
return r.parse = function(t) {
|
|
57
|
+
this.$d = function(n) {
|
|
58
|
+
var e = n.date, i = n.utc;
|
|
59
|
+
if (e === null) return /* @__PURE__ */ new Date(NaN);
|
|
60
|
+
if (a.u(e)) return /* @__PURE__ */ new Date();
|
|
61
|
+
if (e instanceof Date) return new Date(e);
|
|
62
|
+
if (typeof e == "string" && !/Z$/i.test(e)) {
|
|
63
|
+
var u = e.match(K);
|
|
64
|
+
if (u) {
|
|
65
|
+
var o = u[2] - 1 || 0, c = (u[7] || "0").substring(0, 3);
|
|
66
|
+
return i ? new Date(Date.UTC(u[1], o, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, c)) : new Date(u[1], o, u[3] || 1, u[4] || 0, u[5] || 0, u[6] || 0, c);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
return new Date(e);
|
|
70
|
+
}(t), this.init();
|
|
71
|
+
}, r.init = function() {
|
|
72
|
+
var t = this.$d;
|
|
73
|
+
this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
|
|
74
|
+
}, r.$utils = function() {
|
|
75
|
+
return a;
|
|
76
|
+
}, r.isValid = function() {
|
|
77
|
+
return this.$d.toString() !== R;
|
|
78
|
+
}, r.isSame = function(t, n) {
|
|
79
|
+
var e = f(t);
|
|
80
|
+
return this.startOf(n) <= e && e <= this.endOf(n);
|
|
81
|
+
}, r.isAfter = function(t, n) {
|
|
82
|
+
return f(t) < this.startOf(n);
|
|
83
|
+
}, r.isBefore = function(t, n) {
|
|
84
|
+
return this.endOf(n) < f(t);
|
|
85
|
+
}, r.$g = function(t, n, e) {
|
|
86
|
+
return a.u(t) ? this[n] : this.set(e, t);
|
|
87
|
+
}, r.unix = function() {
|
|
88
|
+
return Math.floor(this.valueOf() / 1e3);
|
|
89
|
+
}, r.valueOf = function() {
|
|
90
|
+
return this.$d.getTime();
|
|
91
|
+
}, r.startOf = function(t, n) {
|
|
92
|
+
var e = this, i = !!a.u(n) || n, u = a.p(t), o = function(b, $) {
|
|
93
|
+
var D = a.w(e.$u ? Date.UTC(e.$y, $, b) : new Date(e.$y, $, b), e);
|
|
94
|
+
return i ? D : D.endOf(y);
|
|
95
|
+
}, c = function(b, $) {
|
|
96
|
+
return a.w(e.toDate()[b].apply(e.toDate("s"), (i ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice($)), e);
|
|
97
|
+
}, d = this.$W, h = this.$M, _ = this.$D, L = "set" + (this.$u ? "UTC" : "");
|
|
98
|
+
switch (u) {
|
|
99
|
+
case p:
|
|
100
|
+
return i ? o(1, 0) : o(31, 11);
|
|
101
|
+
case M:
|
|
102
|
+
return i ? o(1, h) : o(0, h + 1);
|
|
103
|
+
case q:
|
|
104
|
+
var w = this.$locale().weekStart || 0, T = (d < w ? d + 7 : d) - w;
|
|
105
|
+
return o(i ? _ - T : _ + (6 - T), h);
|
|
106
|
+
case y:
|
|
107
|
+
case j:
|
|
108
|
+
return c(L + "Hours", 0);
|
|
109
|
+
case O:
|
|
110
|
+
return c(L + "Minutes", 1);
|
|
111
|
+
case x:
|
|
112
|
+
return c(L + "Seconds", 2);
|
|
113
|
+
case m:
|
|
114
|
+
return c(L + "Milliseconds", 3);
|
|
115
|
+
default:
|
|
116
|
+
return this.clone();
|
|
117
|
+
}
|
|
118
|
+
}, r.endOf = function(t) {
|
|
119
|
+
return this.startOf(t, !1);
|
|
120
|
+
}, r.$set = function(t, n) {
|
|
121
|
+
var e, i = a.p(t), u = "set" + (this.$u ? "UTC" : ""), o = (e = {}, e[y] = u + "Date", e[j] = u + "Date", e[M] = u + "Month", e[p] = u + "FullYear", e[O] = u + "Hours", e[x] = u + "Minutes", e[m] = u + "Seconds", e[Y] = u + "Milliseconds", e)[i], c = i === y ? this.$D + (n - this.$W) : n;
|
|
122
|
+
if (i === M || i === p) {
|
|
123
|
+
var d = this.clone().set(j, 1);
|
|
124
|
+
d.$d[o](c), d.init(), this.$d = d.set(j, Math.min(this.$D, d.daysInMonth())).$d;
|
|
125
|
+
} else o && this.$d[o](c);
|
|
126
|
+
return this.init(), this;
|
|
127
|
+
}, r.set = function(t, n) {
|
|
128
|
+
return this.clone().$set(t, n);
|
|
129
|
+
}, r.get = function(t) {
|
|
130
|
+
return this[a.p(t)]();
|
|
131
|
+
}, r.add = function(t, n) {
|
|
132
|
+
var e, i = this;
|
|
133
|
+
t = Number(t);
|
|
134
|
+
var u = a.p(n), o = function(h) {
|
|
135
|
+
var _ = f(i);
|
|
136
|
+
return a.w(_.date(_.date() + Math.round(h * t)), i);
|
|
137
|
+
};
|
|
138
|
+
if (u === M) return this.set(M, this.$M + t);
|
|
139
|
+
if (u === p) return this.set(p, this.$y + t);
|
|
140
|
+
if (u === y) return o(1);
|
|
141
|
+
if (u === q) return o(7);
|
|
142
|
+
var c = (e = {}, e[x] = l, e[O] = S, e[m] = v, e)[u] || 1, d = this.$d.getTime() + t * c;
|
|
143
|
+
return a.w(d, this);
|
|
144
|
+
}, r.subtract = function(t, n) {
|
|
145
|
+
return this.add(-1 * t, n);
|
|
146
|
+
}, r.format = function(t) {
|
|
147
|
+
var n = this, e = this.$locale();
|
|
148
|
+
if (!this.isValid()) return e.invalidDate || R;
|
|
149
|
+
var i = t || "YYYY-MM-DDTHH:mm:ssZ", u = a.z(this), o = this.$H, c = this.$m, d = this.$M, h = e.weekdays, _ = e.months, L = e.meridiem, w = function($, D, W, F) {
|
|
150
|
+
return $ && ($[D] || $(n, i)) || W[D].slice(0, F);
|
|
151
|
+
}, T = function($) {
|
|
152
|
+
return a.s(o % 12 || 12, $, "0");
|
|
153
|
+
}, b = L || function($, D, W) {
|
|
154
|
+
var F = $ < 12 ? "AM" : "PM";
|
|
155
|
+
return W ? F.toLowerCase() : F;
|
|
156
|
+
};
|
|
157
|
+
return i.replace(X, function($, D) {
|
|
158
|
+
return D || function(W) {
|
|
159
|
+
switch (W) {
|
|
160
|
+
case "YY":
|
|
161
|
+
return String(n.$y).slice(-2);
|
|
162
|
+
case "YYYY":
|
|
163
|
+
return a.s(n.$y, 4, "0");
|
|
164
|
+
case "M":
|
|
165
|
+
return d + 1;
|
|
166
|
+
case "MM":
|
|
167
|
+
return a.s(d + 1, 2, "0");
|
|
168
|
+
case "MMM":
|
|
169
|
+
return w(e.monthsShort, d, _, 3);
|
|
170
|
+
case "MMMM":
|
|
171
|
+
return w(_, d);
|
|
172
|
+
case "D":
|
|
173
|
+
return n.$D;
|
|
174
|
+
case "DD":
|
|
175
|
+
return a.s(n.$D, 2, "0");
|
|
176
|
+
case "d":
|
|
177
|
+
return String(n.$W);
|
|
178
|
+
case "dd":
|
|
179
|
+
return w(e.weekdaysMin, n.$W, h, 2);
|
|
180
|
+
case "ddd":
|
|
181
|
+
return w(e.weekdaysShort, n.$W, h, 3);
|
|
182
|
+
case "dddd":
|
|
183
|
+
return h[n.$W];
|
|
184
|
+
case "H":
|
|
185
|
+
return String(o);
|
|
186
|
+
case "HH":
|
|
187
|
+
return a.s(o, 2, "0");
|
|
188
|
+
case "h":
|
|
189
|
+
return T(1);
|
|
190
|
+
case "hh":
|
|
191
|
+
return T(2);
|
|
192
|
+
case "a":
|
|
193
|
+
return b(o, c, !0);
|
|
194
|
+
case "A":
|
|
195
|
+
return b(o, c, !1);
|
|
196
|
+
case "m":
|
|
197
|
+
return String(c);
|
|
198
|
+
case "mm":
|
|
199
|
+
return a.s(c, 2, "0");
|
|
200
|
+
case "s":
|
|
201
|
+
return String(n.$s);
|
|
202
|
+
case "ss":
|
|
203
|
+
return a.s(n.$s, 2, "0");
|
|
204
|
+
case "SSS":
|
|
205
|
+
return a.s(n.$ms, 3, "0");
|
|
206
|
+
case "Z":
|
|
207
|
+
return u;
|
|
208
|
+
}
|
|
209
|
+
return null;
|
|
210
|
+
}($) || u.replace(":", "");
|
|
211
|
+
});
|
|
212
|
+
}, r.utcOffset = function() {
|
|
213
|
+
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
214
|
+
}, r.diff = function(t, n, e) {
|
|
215
|
+
var i, u = this, o = a.p(n), c = f(t), d = (c.utcOffset() - this.utcOffset()) * l, h = this - c, _ = function() {
|
|
216
|
+
return a.m(u, c);
|
|
217
|
+
};
|
|
218
|
+
switch (o) {
|
|
219
|
+
case p:
|
|
220
|
+
i = _() / 12;
|
|
221
|
+
break;
|
|
222
|
+
case M:
|
|
223
|
+
i = _();
|
|
224
|
+
break;
|
|
225
|
+
case E:
|
|
226
|
+
i = _() / 3;
|
|
227
|
+
break;
|
|
228
|
+
case q:
|
|
229
|
+
i = (h - d) / 6048e5;
|
|
230
|
+
break;
|
|
231
|
+
case y:
|
|
232
|
+
i = (h - d) / 864e5;
|
|
233
|
+
break;
|
|
234
|
+
case O:
|
|
235
|
+
i = h / S;
|
|
236
|
+
break;
|
|
237
|
+
case x:
|
|
238
|
+
i = h / l;
|
|
239
|
+
break;
|
|
240
|
+
case m:
|
|
241
|
+
i = h / v;
|
|
242
|
+
break;
|
|
243
|
+
default:
|
|
244
|
+
i = h;
|
|
245
|
+
}
|
|
246
|
+
return e ? i : a.a(i);
|
|
247
|
+
}, r.daysInMonth = function() {
|
|
248
|
+
return this.endOf(M).$D;
|
|
249
|
+
}, r.$locale = function() {
|
|
250
|
+
return g[this.$L];
|
|
251
|
+
}, r.locale = function(t, n) {
|
|
252
|
+
if (!t) return this.$L;
|
|
253
|
+
var e = this.clone(), i = A(t, n, !0);
|
|
254
|
+
return i && (e.$L = i), e;
|
|
255
|
+
}, r.clone = function() {
|
|
256
|
+
return a.w(this.$d, this);
|
|
257
|
+
}, r.toDate = function() {
|
|
258
|
+
return new Date(this.valueOf());
|
|
259
|
+
}, r.toJSON = function() {
|
|
260
|
+
return this.isValid() ? this.toISOString() : null;
|
|
261
|
+
}, r.toISOString = function() {
|
|
262
|
+
return this.$d.toISOString();
|
|
263
|
+
}, r.toString = function() {
|
|
264
|
+
return this.$d.toUTCString();
|
|
265
|
+
}, s;
|
|
266
|
+
}(), B = C.prototype;
|
|
267
|
+
return f.prototype = B, [["$ms", Y], ["$s", m], ["$m", x], ["$H", O], ["$W", y], ["$M", M], ["$y", p], ["$D", j]].forEach(function(s) {
|
|
268
|
+
B[s[1]] = function(r) {
|
|
269
|
+
return this.$g(r, s[0], s[1]);
|
|
270
|
+
};
|
|
271
|
+
}), f.extend = function(s, r) {
|
|
272
|
+
return s.$i || (s(r, C, f), s.$i = !0), f;
|
|
273
|
+
}, f.locale = A, f.isDayjs = Z, f.unix = function(s) {
|
|
274
|
+
return f(1e3 * s);
|
|
275
|
+
}, f.en = g[H], f.Ls = g, f.p = {}, f;
|
|
276
|
+
});
|
|
277
|
+
}(J)), J.exports;
|
|
278
|
+
}
|
|
279
|
+
var I = { exports: {} }, st = I.exports, Q;
|
|
280
|
+
function it() {
|
|
281
|
+
return Q || (Q = 1, function(k, z) {
|
|
282
|
+
(function(v, l) {
|
|
283
|
+
k.exports = l();
|
|
284
|
+
})(st, function() {
|
|
285
|
+
return { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(v) {
|
|
286
|
+
var l = ["th", "st", "nd", "rd"], S = v % 100;
|
|
287
|
+
return "[" + v + (l[(S - 20) % 10] || l[S] || l[0]) + "]";
|
|
288
|
+
} };
|
|
289
|
+
});
|
|
290
|
+
}(I)), I.exports;
|
|
291
|
+
}
|
|
292
|
+
it();
|
|
293
|
+
var N = { exports: {} }, ut = N.exports, G;
|
|
294
|
+
function at() {
|
|
295
|
+
return G || (G = 1, function(k, z) {
|
|
296
|
+
(function(v, l) {
|
|
297
|
+
k.exports = l(nt());
|
|
298
|
+
})(ut, function(v) {
|
|
299
|
+
function l(m) {
|
|
300
|
+
return m && typeof m == "object" && "default" in m ? m : { default: m };
|
|
301
|
+
}
|
|
302
|
+
var S = l(v), Y = { name: "fr", weekdays: "dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"), weekdaysShort: "dim._lun._mar._mer._jeu._ven._sam.".split("_"), weekdaysMin: "di_lu_ma_me_je_ve_sa".split("_"), months: "janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"), monthsShort: "janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"), weekStart: 1, yearStart: 4, formats: { LT: "HH:mm", LTS: "HH:mm:ss", L: "DD/MM/YYYY", LL: "D MMMM YYYY", LLL: "D MMMM YYYY HH:mm", LLLL: "dddd D MMMM YYYY HH:mm" }, relativeTime: { future: "dans %s", past: "il y a %s", s: "quelques secondes", m: "une minute", mm: "%d minutes", h: "une heure", hh: "%d heures", d: "un jour", dd: "%d jours", M: "un mois", MM: "%d mois", y: "un an", yy: "%d ans" }, ordinal: function(m) {
|
|
303
|
+
return "" + m + (m === 1 ? "er" : "");
|
|
304
|
+
} };
|
|
305
|
+
return S.default.locale(Y, null, !0), Y;
|
|
306
|
+
});
|
|
307
|
+
}(N)), N.exports;
|
|
308
|
+
}
|
|
309
|
+
at();
|
|
310
|
+
export {
|
|
311
|
+
nt as r
|
|
312
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var J={exports:{}},nt=J.exports,P;function K(){return P||(P=1,function(k,z){(function(y,l){k.exports=l()})(nt,function(){var y=1e3,l=6e4,S=36e5,Y="millisecond",m="second",x="minute",O="hour",v="day",W="week",M="month",E="quarter",p="year",j="date",R="Invalid Date",X=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,tt=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,et={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(s){var r=["th","st","nd","rd"],t=s%100;return"["+s+(r[(t-20)%10]||r[t]||r[0])+"]"}},U=function(s,r,t){var n=String(s);return!n||n.length>=r?s:""+Array(r+1-n.length).join(t)+s},rt={s:U,z:function(s){var r=-s.utcOffset(),t=Math.abs(r),n=Math.floor(t/60),e=t%60;return(r<=0?"+":"-")+U(n,2,"0")+":"+U(e,2,"0")},m:function s(r,t){if(r.date()<t.date())return-s(t,r);var n=12*(t.year()-r.year())+(t.month()-r.month()),e=r.clone().add(n,M),i=t-e<0,u=r.clone().add(n+(i?-1:1),M);return+(-(n+(t-e)/(i?e-u:u-e))||0)},a:function(s){return s<0?Math.ceil(s)||0:Math.floor(s)},p:function(s){return{M,y:p,w:W,d:v,D:j,h:O,m:x,s:m,ms:Y,Q:E}[s]||String(s||"").toLowerCase().replace(/s$/,"")},u:function(s){return s===void 0}},H="en",g={};g[H]=et;var V="$isDayjsObject",Z=function(s){return s instanceof C||!(!s||!s[V])},A=function s(r,t,n){var e;if(!r)return H;if(typeof r=="string"){var i=r.toLowerCase();g[i]&&(e=i),t&&(g[i]=t,e=i);var u=r.split("-");if(!e&&u.length>1)return s(u[0])}else{var o=r.name;g[o]=r,e=o}return!n&&e&&(H=e),e||!n&&H},f=function(s,r){if(Z(s))return s.clone();var t=typeof r=="object"?r:{};return t.date=s,t.args=arguments,new C(t)},a=rt;a.l=A,a.i=Z,a.w=function(s,r){return f(s,{locale:r.$L,utc:r.$u,x:r.$x,$offset:r.$offset})};var C=function(){function s(t){this.$L=A(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[V]=!0}var r=s.prototype;return r.parse=function(t){this.$d=function(n){var e=n.date,i=n.utc;if(e===null)return new Date(NaN);if(a.u(e))return new Date;if(e instanceof Date)return new Date(e);if(typeof e=="string"&&!/Z$/i.test(e)){var u=e.match(X);if(u){var o=u[2]-1||0,c=(u[7]||"0").substring(0,3);return i?new Date(Date.UTC(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)):new Date(u[1],o,u[3]||1,u[4]||0,u[5]||0,u[6]||0,c)}}return new Date(e)}(t),this.init()},r.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},r.$utils=function(){return a},r.isValid=function(){return this.$d.toString()!==R},r.isSame=function(t,n){var e=f(t);return this.startOf(n)<=e&&e<=this.endOf(n)},r.isAfter=function(t,n){return f(t)<this.startOf(n)},r.isBefore=function(t,n){return this.endOf(n)<f(t)},r.$g=function(t,n,e){return a.u(t)?this[n]:this.set(e,t)},r.unix=function(){return Math.floor(this.valueOf()/1e3)},r.valueOf=function(){return this.$d.getTime()},r.startOf=function(t,n){var e=this,i=!!a.u(n)||n,u=a.p(t),o=function(b,$){var D=a.w(e.$u?Date.UTC(e.$y,$,b):new Date(e.$y,$,b),e);return i?D:D.endOf(v)},c=function(b,$){return a.w(e.toDate()[b].apply(e.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice($)),e)},d=this.$W,h=this.$M,_=this.$D,L="set"+(this.$u?"UTC":"");switch(u){case p:return i?o(1,0):o(31,11);case M:return i?o(1,h):o(0,h+1);case W:var w=this.$locale().weekStart||0,T=(d<w?d+7:d)-w;return o(i?_-T:_+(6-T),h);case v:case j:return c(L+"Hours",0);case O:return c(L+"Minutes",1);case x:return c(L+"Seconds",2);case m:return c(L+"Milliseconds",3);default:return this.clone()}},r.endOf=function(t){return this.startOf(t,!1)},r.$set=function(t,n){var e,i=a.p(t),u="set"+(this.$u?"UTC":""),o=(e={},e[v]=u+"Date",e[j]=u+"Date",e[M]=u+"Month",e[p]=u+"FullYear",e[O]=u+"Hours",e[x]=u+"Minutes",e[m]=u+"Seconds",e[Y]=u+"Milliseconds",e)[i],c=i===v?this.$D+(n-this.$W):n;if(i===M||i===p){var d=this.clone().set(j,1);d.$d[o](c),d.init(),this.$d=d.set(j,Math.min(this.$D,d.daysInMonth())).$d}else o&&this.$d[o](c);return this.init(),this},r.set=function(t,n){return this.clone().$set(t,n)},r.get=function(t){return this[a.p(t)]()},r.add=function(t,n){var e,i=this;t=Number(t);var u=a.p(n),o=function(h){var _=f(i);return a.w(_.date(_.date()+Math.round(h*t)),i)};if(u===M)return this.set(M,this.$M+t);if(u===p)return this.set(p,this.$y+t);if(u===v)return o(1);if(u===W)return o(7);var c=(e={},e[x]=l,e[O]=S,e[m]=y,e)[u]||1,d=this.$d.getTime()+t*c;return a.w(d,this)},r.subtract=function(t,n){return this.add(-1*t,n)},r.format=function(t){var n=this,e=this.$locale();if(!this.isValid())return e.invalidDate||R;var i=t||"YYYY-MM-DDTHH:mm:ssZ",u=a.z(this),o=this.$H,c=this.$m,d=this.$M,h=e.weekdays,_=e.months,L=e.meridiem,w=function($,D,q,F){return $&&($[D]||$(n,i))||q[D].slice(0,F)},T=function($){return a.s(o%12||12,$,"0")},b=L||function($,D,q){var F=$<12?"AM":"PM";return q?F.toLowerCase():F};return i.replace(tt,function($,D){return D||function(q){switch(q){case"YY":return String(n.$y).slice(-2);case"YYYY":return a.s(n.$y,4,"0");case"M":return d+1;case"MM":return a.s(d+1,2,"0");case"MMM":return w(e.monthsShort,d,_,3);case"MMMM":return w(_,d);case"D":return n.$D;case"DD":return a.s(n.$D,2,"0");case"d":return String(n.$W);case"dd":return w(e.weekdaysMin,n.$W,h,2);case"ddd":return w(e.weekdaysShort,n.$W,h,3);case"dddd":return h[n.$W];case"H":return String(o);case"HH":return a.s(o,2,"0");case"h":return T(1);case"hh":return T(2);case"a":return b(o,c,!0);case"A":return b(o,c,!1);case"m":return String(c);case"mm":return a.s(c,2,"0");case"s":return String(n.$s);case"ss":return a.s(n.$s,2,"0");case"SSS":return a.s(n.$ms,3,"0");case"Z":return u}return null}($)||u.replace(":","")})},r.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},r.diff=function(t,n,e){var i,u=this,o=a.p(n),c=f(t),d=(c.utcOffset()-this.utcOffset())*l,h=this-c,_=function(){return a.m(u,c)};switch(o){case p:i=_()/12;break;case M:i=_();break;case E:i=_()/3;break;case W:i=(h-d)/6048e5;break;case v:i=(h-d)/864e5;break;case O:i=h/S;break;case x:i=h/l;break;case m:i=h/y;break;default:i=h}return e?i:a.a(i)},r.daysInMonth=function(){return this.endOf(M).$D},r.$locale=function(){return g[this.$L]},r.locale=function(t,n){if(!t)return this.$L;var e=this.clone(),i=A(t,n,!0);return i&&(e.$L=i),e},r.clone=function(){return a.w(this.$d,this)},r.toDate=function(){return new Date(this.valueOf())},r.toJSON=function(){return this.isValid()?this.toISOString():null},r.toISOString=function(){return this.$d.toISOString()},r.toString=function(){return this.$d.toUTCString()},s}(),B=C.prototype;return f.prototype=B,[["$ms",Y],["$s",m],["$m",x],["$H",O],["$W",v],["$M",M],["$y",p],["$D",j]].forEach(function(s){B[s[1]]=function(r){return this.$g(r,s[0],s[1])}}),f.extend=function(s,r){return s.$i||(s(r,C,f),s.$i=!0),f},f.locale=A,f.isDayjs=Z,f.unix=function(s){return f(1e3*s)},f.en=g[H],f.Ls=g,f.p={},f})}(J)),J.exports}var I={exports:{}},st=I.exports,Q;function it(){return Q||(Q=1,function(k,z){(function(y,l){k.exports=l()})(st,function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(y){var l=["th","st","nd","rd"],S=y%100;return"["+y+(l[(S-20)%10]||l[S]||l[0])+"]"}}})}(I)),I.exports}it();var N={exports:{}},ut=N.exports,G;function at(){return G||(G=1,function(k,z){(function(y,l){k.exports=l(K())})(ut,function(y){function l(m){return m&&typeof m=="object"&&"default"in m?m:{default:m}}var S=l(y),Y={name:"fr",weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},ordinal:function(m){return""+m+(m===1?"er":"")}};return S.default.locale(Y,null,!0),Y})}(N)),N.exports}at();exports.requireDayjs_min=K;
|