@abyss-project/commons-front-core 21.2.1 → 21.3.0
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/CHANGELOG.md +0 -8
- package/README.md +0 -1
- package/dist/{CookieConsentSettings-DLAXlhzq.js → CookieConsentSettings-rmoz4sQf.js} +1 -1
- package/dist/{Surface-DfI6kpfH.js → Surface-BoKFqhDG.js} +276 -244
- package/dist/{Tabs-OUGR85y6.js → Tabs-CUFjiDdL.js} +1 -1
- package/dist/cookie-consent.js +2 -2
- package/dist/{editors-sKJOUvJI.js → editors-DEypbS_c.js} +27 -27
- package/dist/editors.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +18 -2
- package/dist/{index-BrRSvgLG.js → index-B7gl9077.js} +1 -1
- package/dist/{index-CPECEPVh.js → index-BSK4UNPj.js} +2 -2
- package/dist/{index-DZUL6ADv.js → index-BU62QWmy.js} +2 -2
- package/dist/{index-YLy4c31j.js → index-Ba-evnPg.js} +2 -2
- package/dist/{index-BRT9GDE7.js → index-BjnVYx9y.js} +2 -2
- package/dist/{index-DGHWbqGP.js → index-C2eyG2zc.js} +4 -4
- package/dist/{index-BbwDDHgK.js → index-C4-dKC1K.js} +3 -3
- package/dist/{index-BB71uFcN.js → index-C4Hdi4KN.js} +2 -2
- package/dist/{index-DF6OyOut.js → index-C8SM8FBW.js} +2 -2
- package/dist/{index-DsuYRWEt.js → index-CZQc_NR1.js} +2 -2
- package/dist/{index-Dee9IbNt.js → index-Cdj6lMW6.js} +2 -2
- package/dist/{index-BXc27aDR.js → index-CmF10tpL.js} +4 -4
- package/dist/{index-C0ZRmePf.js → index-CqBecrIe.js} +2 -2
- package/dist/{index-CUhujX7j.js → index-D8OnPevv.js} +3 -3
- package/dist/{index-Cr_TW_MQ.js → index-DUsTNFzx.js} +3 -3
- package/dist/{index-JVmF9TsZ.js → index-DoOcqm85.js} +3 -3
- package/dist/{index-Du2k2BGy.js → index-Dx7mAh4J.js} +2 -2
- package/dist/{index-DRoTcsqY.js → index-VG4mOSdB.js} +2 -2
- package/dist/{index-DShOFEmg.js → index-k53pg49Z.js} +2 -2
- package/dist/{index-Bw5-eBnW.js → index-sOt1dLW4.js} +4 -4
- package/dist/{index-CMTLY4d1.js → index-tCCiHSR-.js} +2 -2
- package/dist/index.js +4282 -4275
- package/dist/rum/rum-provider-config.d.ts +0 -6
- package/dist/translations/en.d.ts +9 -1
- package/dist/translations/fr.d.ts +9 -1
- package/dist/utils/billing.utils.d.ts +7 -4
- package/dist/utils/project-link-wording.utils.d.ts +2 -4
- package/package.json +5 -5
- package/vite.config.ts +6 -0
- package/dist/utils/project-link-wording.utils.spec.d.ts +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as d, jsxs as N } from "react/jsx-runtime";
|
|
2
|
-
import { createContext as
|
|
3
|
-
import { useIntl as
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { alpha as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { enTranslation as
|
|
12
|
-
import { l as
|
|
13
|
-
var
|
|
14
|
-
const
|
|
2
|
+
import { createContext as le, useContext as ce, useId as B, useRef as j, useState as q, useCallback as $, useMemo as de, forwardRef as ue } from "react";
|
|
3
|
+
import { useIntl as G } from "react-intl";
|
|
4
|
+
import pe from "@mui/material/Dialog";
|
|
5
|
+
import Q from "@mui/material/IconButton";
|
|
6
|
+
import { alpha as me, styled as p, useTheme as he } from "@mui/material/styles";
|
|
7
|
+
import Z from "@mui/icons-material/Close";
|
|
8
|
+
import V from "@mui/material/useMediaQuery";
|
|
9
|
+
import ge from "@mui/material/Modal";
|
|
10
|
+
import fe from "@mui/material/Slide";
|
|
11
|
+
import { enTranslation as ye, frTranslation as ve } from "@abyss-project/main";
|
|
12
|
+
import { l as ee } from "./lazy-value-Co76vxsM.js";
|
|
13
|
+
var Ae = /* @__PURE__ */ ((e) => (e.Dark = "dark", e.Light = "light", e))(Ae || {});
|
|
14
|
+
const be = 266, c = (e, t) => ({ l: e, c: t, h: be }), St = {
|
|
15
15
|
dark: {
|
|
16
16
|
1: c(0.155, 0.034),
|
|
17
17
|
2: c(0.17, 0.036),
|
|
@@ -40,10 +40,10 @@ const ye = 266, c = (e, t) => ({ l: e, c: t, h: ye }), bt = {
|
|
|
40
40
|
11: c(0.42, 0.045),
|
|
41
41
|
12: c(0.22, 0.045)
|
|
42
42
|
}
|
|
43
|
-
},
|
|
43
|
+
}, Rt = {
|
|
44
44
|
sans: '"Geist Variable", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif',
|
|
45
45
|
mono: '"Geist Mono Variable", ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace'
|
|
46
|
-
},
|
|
46
|
+
}, Ct = {
|
|
47
47
|
caption: 11,
|
|
48
48
|
small: 12,
|
|
49
49
|
body: 13,
|
|
@@ -53,89 +53,89 @@ const ye = 266, c = (e, t) => ({ l: e, c: t, h: ye }), bt = {
|
|
|
53
53
|
pageTitle: 22,
|
|
54
54
|
figure: 26,
|
|
55
55
|
mobileLargeTitle: 30
|
|
56
|
-
},
|
|
56
|
+
}, te = {
|
|
57
57
|
regular: 400,
|
|
58
58
|
medium: 500,
|
|
59
59
|
semibold: 600,
|
|
60
60
|
bold: 700
|
|
61
|
-
},
|
|
61
|
+
}, Nt = [0, 4, 8, 12, 16, 20, 24, 32, 40, 48, 64], Ot = {
|
|
62
62
|
sm: 4,
|
|
63
63
|
md: 6,
|
|
64
64
|
lg: 12
|
|
65
|
-
},
|
|
65
|
+
}, _t = {
|
|
66
66
|
fast: 120,
|
|
67
67
|
base: 180,
|
|
68
68
|
slow: 260
|
|
69
|
-
},
|
|
69
|
+
}, It = {
|
|
70
70
|
standard: "cubic-bezier(0.2, 0, 0, 1)",
|
|
71
71
|
sheet: "cubic-bezier(0.32, 0.72, 0, 1)"
|
|
72
|
-
},
|
|
72
|
+
}, H = {
|
|
73
73
|
xs: 0,
|
|
74
74
|
sm: 480,
|
|
75
75
|
md: 768,
|
|
76
76
|
lg: 1200,
|
|
77
77
|
xl: 1600
|
|
78
|
-
},
|
|
78
|
+
}, wt = {
|
|
79
79
|
comfortable: { row: 40, control: 32 },
|
|
80
80
|
compact: { row: 30, control: 28 },
|
|
81
81
|
touchTarget: 44
|
|
82
82
|
};
|
|
83
83
|
var R = /* @__PURE__ */ ((e) => (e.Mobile = "mobile", e.Tablet = "tablet", e.Desktop = "desktop", e))(R || {});
|
|
84
|
-
const
|
|
85
|
-
tablet:
|
|
86
|
-
desktop:
|
|
87
|
-
},
|
|
84
|
+
const oe = {
|
|
85
|
+
tablet: H.md,
|
|
86
|
+
desktop: H.lg
|
|
87
|
+
}, Ee = 0.05, x = (e) => `(min-width:${oe[e]}px)`, M = (e) => `(max-width:${oe[e] - Ee}px)`, k = {
|
|
88
88
|
/** From the start of `tier` up. */
|
|
89
|
-
up: (e) => `@media ${
|
|
89
|
+
up: (e) => `@media ${x(e)}`,
|
|
90
90
|
/** Below the start of `tier`. */
|
|
91
|
-
down: (e) => `@media ${
|
|
91
|
+
down: (e) => `@media ${M(e)}`,
|
|
92
92
|
/** The widths of `tier` only. */
|
|
93
93
|
only: (e) => {
|
|
94
94
|
switch (e) {
|
|
95
95
|
case "mobile":
|
|
96
|
-
return `@media ${
|
|
96
|
+
return `@media ${M(
|
|
97
97
|
"tablet"
|
|
98
98
|
/* Tablet */
|
|
99
99
|
)}`;
|
|
100
100
|
case "tablet":
|
|
101
|
-
return `@media ${
|
|
101
|
+
return `@media ${x(
|
|
102
102
|
"tablet"
|
|
103
103
|
/* Tablet */
|
|
104
|
-
)} and ${
|
|
104
|
+
)} and ${M(
|
|
105
105
|
"desktop"
|
|
106
106
|
/* Desktop */
|
|
107
107
|
)}`;
|
|
108
108
|
case "desktop":
|
|
109
|
-
return `@media ${
|
|
109
|
+
return `@media ${x(
|
|
110
110
|
"desktop"
|
|
111
111
|
/* Desktop */
|
|
112
112
|
)}`;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
},
|
|
115
|
+
}, Te = 0.14, a = (e) => `${e}px`, L = (e) => `1px solid ${e}`, Dt = (e) => me(e, Te), Se = (e) => ({
|
|
116
116
|
outline: `2px solid ${e.design.tokens["focus.ring"]}`,
|
|
117
117
|
outlineOffset: "2px"
|
|
118
|
-
}),
|
|
118
|
+
}), Lt = (e, t) => t === "small" ? e.design.densityValues.compact.control : e.design.densityValues[e.design.density].control, kt = (e) => e.design.densityValues[e.design.density].row, Pt = (e) => ({
|
|
119
119
|
[k.down(R.Tablet)]: {
|
|
120
120
|
minHeight: a(e.design.densityValues.touchTarget)
|
|
121
121
|
}
|
|
122
|
-
}),
|
|
122
|
+
}), Re = (e) => ({
|
|
123
123
|
[k.down(R.Tablet)]: {
|
|
124
124
|
minWidth: a(e.design.densityValues.touchTarget),
|
|
125
125
|
minHeight: a(e.design.densityValues.touchTarget)
|
|
126
126
|
}
|
|
127
|
-
}),
|
|
127
|
+
}), Ce = (e, t, o = "fast") => t.map(
|
|
128
128
|
(r) => `${r} ${e.design.durations[o]}ms ${e.design.easings.standard}`
|
|
129
|
-
).join(", "),
|
|
130
|
-
const e =
|
|
129
|
+
).join(", "), Ne = () => {
|
|
130
|
+
const e = V(k.up(R.Desktop), {
|
|
131
131
|
noSsr: !0
|
|
132
|
-
}), t =
|
|
132
|
+
}), t = V(k.down(R.Tablet), {
|
|
133
133
|
noSsr: !0
|
|
134
134
|
});
|
|
135
135
|
return e ? R.Desktop : t ? R.Mobile : R.Tablet;
|
|
136
136
|
};
|
|
137
137
|
var I = /* @__PURE__ */ ((e) => (e.Top = "top", e.Bottom = "bottom", e.Left = "left", e.Right = "right", e))(I || {});
|
|
138
|
-
const D = (e, t) => `calc(${a(t)} + env(safe-area-inset-${e}))`,
|
|
138
|
+
const D = (e, t) => `calc(${a(t)} + env(safe-area-inset-${e}))`, Oe = 0.3, _e = le(!1), xt = () => ce(_e), Ie = p("div")({
|
|
139
139
|
position: "absolute",
|
|
140
140
|
left: 0,
|
|
141
141
|
right: 0,
|
|
@@ -143,7 +143,7 @@ const D = (e, t) => `calc(${a(t)} + env(safe-area-inset-${e}))`, Re = 0.3, Ce =
|
|
|
143
143
|
maxHeight: "100%",
|
|
144
144
|
display: "flex",
|
|
145
145
|
outline: "none"
|
|
146
|
-
}),
|
|
146
|
+
}), we = p("div")(({ theme: e }) => {
|
|
147
147
|
const { tokens: t, radii: o, space: r, elevations: i, fonts: n } = e.design;
|
|
148
148
|
return {
|
|
149
149
|
flex: "1 1 auto",
|
|
@@ -166,12 +166,12 @@ const D = (e, t) => `calc(${a(t)} + env(safe-area-inset-${e}))`, Re = 0.3, Ce =
|
|
|
166
166
|
outline: "none",
|
|
167
167
|
position: "relative"
|
|
168
168
|
};
|
|
169
|
-
}),
|
|
169
|
+
}), De = p(Q)(({ theme: e }) => ({
|
|
170
170
|
position: "absolute",
|
|
171
171
|
top: a(e.design.space[1]),
|
|
172
172
|
right: D(I.Right, e.design.space[2]),
|
|
173
|
-
...
|
|
174
|
-
})),
|
|
173
|
+
...Re(e)
|
|
174
|
+
})), Le = p("div")(({ theme: e }) => {
|
|
175
175
|
const { space: t, densityValues: o } = e.design;
|
|
176
176
|
return {
|
|
177
177
|
flex: "none",
|
|
@@ -183,7 +183,7 @@ const D = (e, t) => `calc(${a(t)} + env(safe-area-inset-${e}))`, Re = 0.3, Ce =
|
|
|
183
183
|
touchAction: "none",
|
|
184
184
|
cursor: "grab"
|
|
185
185
|
};
|
|
186
|
-
}),
|
|
186
|
+
}), ke = p("span")(({ theme: e }) => {
|
|
187
187
|
const { tokens: t, radii: o, space: r } = e.design;
|
|
188
188
|
return {
|
|
189
189
|
width: a(r[8]),
|
|
@@ -191,7 +191,7 @@ const D = (e, t) => `calc(${a(t)} + env(safe-area-inset-${e}))`, Re = 0.3, Ce =
|
|
|
191
191
|
borderRadius: a(o.sm),
|
|
192
192
|
backgroundColor: t["border.strong"]
|
|
193
193
|
};
|
|
194
|
-
}),
|
|
194
|
+
}), Pe = p("h2", {
|
|
195
195
|
shouldForwardProp: (e) => e !== "besideClose"
|
|
196
196
|
})(({ theme: e, besideClose: t }) => {
|
|
197
197
|
const { typeScale: o, densityValues: r, space: i } = e.design;
|
|
@@ -201,24 +201,24 @@ const D = (e, t) => `calc(${a(t)} + env(safe-area-inset-${e}))`, Re = 0.3, Ce =
|
|
|
201
201
|
// Clear of the close button in the corner.
|
|
202
202
|
paddingRight: t ? a(r.touchTarget + i[2]) : void 0,
|
|
203
203
|
fontSize: a(o.sectionTitle),
|
|
204
|
-
fontWeight:
|
|
204
|
+
fontWeight: te.semibold,
|
|
205
205
|
overflowWrap: "anywhere"
|
|
206
206
|
};
|
|
207
|
-
}),
|
|
207
|
+
}), xe = p("span")(({ theme: e }) => ({
|
|
208
208
|
display: "inline-flex",
|
|
209
209
|
verticalAlign: "middle",
|
|
210
210
|
marginRight: a(e.design.space[2])
|
|
211
|
-
})),
|
|
211
|
+
})), Me = p("div")({
|
|
212
212
|
flex: "1 1 auto",
|
|
213
213
|
minHeight: 0,
|
|
214
214
|
overflowY: "auto",
|
|
215
215
|
overscrollBehavior: "contain"
|
|
216
|
-
}),
|
|
216
|
+
}), Ue = p("div")(({ theme: e }) => ({
|
|
217
217
|
flex: "none",
|
|
218
218
|
paddingTop: a(e.design.space[3]),
|
|
219
219
|
borderTop: L(e.design.tokens["border.subtle"])
|
|
220
220
|
}));
|
|
221
|
-
function
|
|
221
|
+
function Fe({
|
|
222
222
|
open: e,
|
|
223
223
|
onClose: t,
|
|
224
224
|
title: o,
|
|
@@ -227,34 +227,34 @@ function xe({
|
|
|
227
227
|
footer: n,
|
|
228
228
|
children: v
|
|
229
229
|
}) {
|
|
230
|
-
const y =
|
|
230
|
+
const y = he(), A = G(), f = B(), T = j(null), m = j(null), [C, u] = q(0), [l, s] = q(!1), h = (S) => {
|
|
231
231
|
S.currentTarget.setPointerCapture(S.pointerId), m.current = S.clientY, s(!0);
|
|
232
|
-
},
|
|
232
|
+
}, b = (S) => {
|
|
233
233
|
m.current !== null && u(Math.max(0, S.clientY - m.current));
|
|
234
234
|
}, E = (S) => {
|
|
235
|
-
var
|
|
235
|
+
var Y;
|
|
236
236
|
if (m.current === null)
|
|
237
237
|
return;
|
|
238
|
-
const
|
|
239
|
-
m.current = null, s(!1), u(0), z > 0 &&
|
|
238
|
+
const se = Math.max(0, S.clientY - m.current), z = ((Y = T.current) == null ? void 0 : Y.getBoundingClientRect().height) ?? 0;
|
|
239
|
+
m.current = null, s(!1), u(0), z > 0 && se >= z * Oe && t();
|
|
240
240
|
}, _ = () => {
|
|
241
241
|
m.current = null, s(!1), u(0);
|
|
242
242
|
};
|
|
243
|
-
return /* @__PURE__ */ d(
|
|
244
|
-
|
|
243
|
+
return /* @__PURE__ */ d(ge, { open: e, onClose: () => t(), children: /* @__PURE__ */ d(
|
|
244
|
+
fe,
|
|
245
245
|
{
|
|
246
246
|
in: e,
|
|
247
247
|
direction: "up",
|
|
248
248
|
timeout: y.design.durations.slow,
|
|
249
249
|
easing: y.design.easings.sheet,
|
|
250
|
-
children: /* @__PURE__ */ d(
|
|
251
|
-
|
|
250
|
+
children: /* @__PURE__ */ d(Ie, { children: /* @__PURE__ */ N(
|
|
251
|
+
we,
|
|
252
252
|
{
|
|
253
253
|
ref: T,
|
|
254
254
|
role: "dialog",
|
|
255
255
|
"aria-modal": "true",
|
|
256
256
|
"aria-labelledby": o ? f : void 0,
|
|
257
|
-
"aria-label": o ? void 0 :
|
|
257
|
+
"aria-label": o ? void 0 : A.formatMessage({ id: "ds.mobile.bottom-sheet.label" }),
|
|
258
258
|
tabIndex: -1,
|
|
259
259
|
style: {
|
|
260
260
|
// No transform at rest: a transformed panel is the containing block of whatever is
|
|
@@ -265,34 +265,34 @@ function xe({
|
|
|
265
265
|
},
|
|
266
266
|
children: [
|
|
267
267
|
/* @__PURE__ */ N(
|
|
268
|
-
|
|
268
|
+
Le,
|
|
269
269
|
{
|
|
270
270
|
"data-testid": "bottom-sheet-drag-zone",
|
|
271
271
|
onPointerDown: h,
|
|
272
|
-
onPointerMove:
|
|
272
|
+
onPointerMove: b,
|
|
273
273
|
onPointerUp: E,
|
|
274
274
|
onPointerCancel: _,
|
|
275
275
|
children: [
|
|
276
|
-
/* @__PURE__ */ d(
|
|
277
|
-
o ? /* @__PURE__ */ N(
|
|
278
|
-
r !== void 0 && /* @__PURE__ */ d(
|
|
276
|
+
/* @__PURE__ */ d(ke, { "aria-hidden": "true" }),
|
|
277
|
+
o ? /* @__PURE__ */ N(Pe, { id: f, besideClose: i !== void 0, children: [
|
|
278
|
+
r !== void 0 && /* @__PURE__ */ d(xe, { "aria-hidden": "true", children: r }),
|
|
279
279
|
o
|
|
280
280
|
] }) : null
|
|
281
281
|
]
|
|
282
282
|
}
|
|
283
283
|
),
|
|
284
|
-
i !== void 0 && /* @__PURE__ */ d(
|
|
285
|
-
/* @__PURE__ */ d(
|
|
286
|
-
n !== void 0 && /* @__PURE__ */ d(
|
|
284
|
+
i !== void 0 && /* @__PURE__ */ d(De, { "aria-label": i, onClick: () => t(), children: /* @__PURE__ */ d(Z, { "aria-hidden": !0 }) }),
|
|
285
|
+
/* @__PURE__ */ d(Me, { children: v }),
|
|
286
|
+
n !== void 0 && /* @__PURE__ */ d(Ue, { children: n })
|
|
287
287
|
]
|
|
288
288
|
}
|
|
289
289
|
) })
|
|
290
290
|
}
|
|
291
291
|
) });
|
|
292
292
|
}
|
|
293
|
-
const
|
|
294
|
-
var
|
|
295
|
-
const
|
|
293
|
+
const Mt = "--abyss-toast-clearance", Ut = "--abyss-cookie-banner-modal-clearance", Ft = "--abyss-toast-dialog-foot-clearance", Be = "data-abyss-dialog-foot";
|
|
294
|
+
var Ge = /* @__PURE__ */ ((e) => (e.Small = "sm", e.Medium = "md", e.Large = "lg", e))(Ge || {});
|
|
295
|
+
const ze = p(pe)(({ theme: e }) => {
|
|
296
296
|
const { tokens: t, fonts: o, space: r } = e.design;
|
|
297
297
|
return {
|
|
298
298
|
"& .MuiDialog-paper": {
|
|
@@ -307,7 +307,7 @@ const Fe = p(ce)(({ theme: e }) => {
|
|
|
307
307
|
width: `calc(100% - ${a(r[7])})`
|
|
308
308
|
}
|
|
309
309
|
};
|
|
310
|
-
}),
|
|
310
|
+
}), Ye = p("div")(({ theme: e }) => {
|
|
311
311
|
const { tokens: t, space: o } = e.design;
|
|
312
312
|
return {
|
|
313
313
|
flex: "none",
|
|
@@ -318,20 +318,20 @@ const Fe = p(ce)(({ theme: e }) => {
|
|
|
318
318
|
padding: `${a(o[4])} ${a(o[5])}`,
|
|
319
319
|
borderBottom: L(t["border.subtle"])
|
|
320
320
|
};
|
|
321
|
-
}),
|
|
321
|
+
}), je = p("div")({ minWidth: 0 }), qe = p("div")(({ theme: e }) => ({
|
|
322
322
|
minWidth: 0,
|
|
323
323
|
display: "flex",
|
|
324
324
|
alignItems: "flex-start",
|
|
325
325
|
gap: a(e.design.space[3])
|
|
326
|
-
})),
|
|
326
|
+
})), Ve = p("span")({
|
|
327
327
|
flex: "none",
|
|
328
328
|
display: "inline-flex"
|
|
329
|
-
}),
|
|
329
|
+
}), He = p("h2")(({ theme: e }) => ({
|
|
330
330
|
margin: 0,
|
|
331
331
|
fontSize: a(e.design.typeScale.sectionTitle),
|
|
332
|
-
fontWeight:
|
|
332
|
+
fontWeight: te.semibold,
|
|
333
333
|
overflowWrap: "anywhere"
|
|
334
|
-
})),
|
|
334
|
+
})), We = p("p")(({ theme: e }) => {
|
|
335
335
|
const { tokens: t, space: o, typeScale: r } = e.design;
|
|
336
336
|
return {
|
|
337
337
|
margin: `${a(o[1])} 0 0`,
|
|
@@ -339,13 +339,13 @@ const Fe = p(ce)(({ theme: e }) => {
|
|
|
339
339
|
fontSize: a(r.body),
|
|
340
340
|
overflowWrap: "anywhere"
|
|
341
341
|
};
|
|
342
|
-
}),
|
|
342
|
+
}), Ke = p("div")(({ theme: e }) => ({
|
|
343
343
|
flex: "1 1 auto",
|
|
344
344
|
minHeight: 0,
|
|
345
345
|
overflowY: "auto",
|
|
346
346
|
padding: a(e.design.space[5]),
|
|
347
347
|
fontSize: a(e.design.typeScale.body)
|
|
348
|
-
})),
|
|
348
|
+
})), Xe = p("div")(({ theme: e }) => {
|
|
349
349
|
const { tokens: t, space: o } = e.design;
|
|
350
350
|
return {
|
|
351
351
|
flex: "none",
|
|
@@ -357,18 +357,18 @@ const Fe = p(ce)(({ theme: e }) => {
|
|
|
357
357
|
padding: `${a(o[3])} ${a(o[5])}`,
|
|
358
358
|
borderTop: L(t["border.subtle"])
|
|
359
359
|
};
|
|
360
|
-
}),
|
|
360
|
+
}), Je = p("p")(({ theme: e }) => ({
|
|
361
361
|
margin: `0 0 ${a(e.design.space[3])}`,
|
|
362
362
|
color: e.design.tokens["text.muted"],
|
|
363
363
|
fontSize: a(e.design.typeScale.bodyMobile),
|
|
364
364
|
overflowWrap: "anywhere"
|
|
365
|
-
})),
|
|
365
|
+
})), $e = p("div")(({ theme: e }) => ({
|
|
366
366
|
display: "flex",
|
|
367
367
|
flexWrap: "wrap",
|
|
368
368
|
gap: a(e.design.space[2]),
|
|
369
369
|
"& > *": { flex: "1 1 0" }
|
|
370
370
|
}));
|
|
371
|
-
function
|
|
371
|
+
function Bt({
|
|
372
372
|
open: e,
|
|
373
373
|
onClose: t,
|
|
374
374
|
title: o,
|
|
@@ -378,23 +378,23 @@ function xt({
|
|
|
378
378
|
actions: v,
|
|
379
379
|
children: y
|
|
380
380
|
}) {
|
|
381
|
-
const
|
|
381
|
+
const A = G(), f = Ne() === R.Mobile, T = B(), m = B();
|
|
382
382
|
return f ? /* @__PURE__ */ N(
|
|
383
|
-
|
|
383
|
+
Fe,
|
|
384
384
|
{
|
|
385
385
|
open: e,
|
|
386
386
|
onClose: t,
|
|
387
387
|
title: o,
|
|
388
388
|
titleIcon: r,
|
|
389
|
-
closeLabel:
|
|
390
|
-
footer: v !== void 0 ? /* @__PURE__ */ d(
|
|
389
|
+
closeLabel: A.formatMessage({ id: "ds.layers.modal.close" }),
|
|
390
|
+
footer: v !== void 0 ? /* @__PURE__ */ d($e, { [Be]: "", children: v }) : void 0,
|
|
391
391
|
children: [
|
|
392
|
-
i !== void 0 && /* @__PURE__ */ d(
|
|
392
|
+
i !== void 0 && /* @__PURE__ */ d(Je, { children: i }),
|
|
393
393
|
y
|
|
394
394
|
]
|
|
395
395
|
}
|
|
396
396
|
) : /* @__PURE__ */ N(
|
|
397
|
-
|
|
397
|
+
ze,
|
|
398
398
|
{
|
|
399
399
|
open: e,
|
|
400
400
|
onClose: () => t(),
|
|
@@ -403,31 +403,31 @@ function xt({
|
|
|
403
403
|
"aria-labelledby": T,
|
|
404
404
|
"aria-describedby": i !== void 0 ? m : void 0,
|
|
405
405
|
children: [
|
|
406
|
-
/* @__PURE__ */ N(
|
|
407
|
-
/* @__PURE__ */ N(
|
|
408
|
-
r !== void 0 && /* @__PURE__ */ d(
|
|
409
|
-
/* @__PURE__ */ N(
|
|
410
|
-
/* @__PURE__ */ d(
|
|
411
|
-
i !== void 0 && /* @__PURE__ */ d(
|
|
406
|
+
/* @__PURE__ */ N(Ye, { children: [
|
|
407
|
+
/* @__PURE__ */ N(qe, { children: [
|
|
408
|
+
r !== void 0 && /* @__PURE__ */ d(Ve, { "aria-hidden": "true", children: r }),
|
|
409
|
+
/* @__PURE__ */ N(je, { children: [
|
|
410
|
+
/* @__PURE__ */ d(He, { id: T, children: o }),
|
|
411
|
+
i !== void 0 && /* @__PURE__ */ d(We, { id: m, children: i })
|
|
412
412
|
] })
|
|
413
413
|
] }),
|
|
414
414
|
/* @__PURE__ */ d(
|
|
415
|
-
|
|
415
|
+
Q,
|
|
416
416
|
{
|
|
417
|
-
"aria-label":
|
|
417
|
+
"aria-label": A.formatMessage({ id: "ds.layers.modal.close" }),
|
|
418
418
|
onClick: t,
|
|
419
|
-
children: /* @__PURE__ */ d(
|
|
419
|
+
children: /* @__PURE__ */ d(Z, { "aria-hidden": !0 })
|
|
420
420
|
}
|
|
421
421
|
)
|
|
422
422
|
] }),
|
|
423
|
-
/* @__PURE__ */ d(
|
|
424
|
-
v !== void 0 && /* @__PURE__ */ d(
|
|
423
|
+
/* @__PURE__ */ d(Ke, { children: y }),
|
|
424
|
+
v !== void 0 && /* @__PURE__ */ d(Xe, { children: v })
|
|
425
425
|
]
|
|
426
426
|
}
|
|
427
427
|
);
|
|
428
428
|
}
|
|
429
|
-
const
|
|
430
|
-
fr:
|
|
429
|
+
const W = (e) => e, re = {
|
|
430
|
+
fr: W({
|
|
431
431
|
PROJECTS_COUNT: "Projets",
|
|
432
432
|
MEMBERS_COUNT: "Membres",
|
|
433
433
|
TEAM_COUNT: "Équipes",
|
|
@@ -438,6 +438,7 @@ const H = (e) => e, te = {
|
|
|
438
438
|
LOG_EVENTS: "Événements logs",
|
|
439
439
|
RETENTION_DAYS: "Rétention (jours)",
|
|
440
440
|
APPLICATIONS: "Applications",
|
|
441
|
+
STATUS_PAGES_COUNT: "Pages de statut",
|
|
441
442
|
ENVIRONMENTS_PER_PROJECT: "Environnements par projet",
|
|
442
443
|
CLOUD_FILES_COUNT: "Fichiers cloud",
|
|
443
444
|
CRYPT_MAX_FILE_SIZE_MB: "Taille max fichier (Mo)",
|
|
@@ -493,7 +494,7 @@ const H = (e) => e, te = {
|
|
|
493
494
|
BANKING_PSD2_REFRESHES_MONTH: "Rafraîchissements PSD2 / mois",
|
|
494
495
|
BANKING_SYSTEM_RESNAPSHOTS_MONTH: "Recalculs système / mois"
|
|
495
496
|
}),
|
|
496
|
-
en:
|
|
497
|
+
en: W({
|
|
497
498
|
PROJECTS_COUNT: "Projects",
|
|
498
499
|
MEMBERS_COUNT: "Members",
|
|
499
500
|
TEAM_COUNT: "Teams",
|
|
@@ -504,6 +505,7 @@ const H = (e) => e, te = {
|
|
|
504
505
|
LOG_EVENTS: "Log events",
|
|
505
506
|
RETENTION_DAYS: "Retention (days)",
|
|
506
507
|
APPLICATIONS: "Applications",
|
|
508
|
+
STATUS_PAGES_COUNT: "Status pages",
|
|
507
509
|
ENVIRONMENTS_PER_PROJECT: "Environments per project",
|
|
508
510
|
CLOUD_FILES_COUNT: "Cloud files",
|
|
509
511
|
CRYPT_MAX_FILE_SIZE_MB: "Max file size (MB)",
|
|
@@ -560,26 +562,91 @@ const H = (e) => e, te = {
|
|
|
560
562
|
BANKING_SYSTEM_RESNAPSHOTS_MONTH: "System resnapshots / month"
|
|
561
563
|
})
|
|
562
564
|
};
|
|
565
|
+
var ie = /* @__PURE__ */ ((e) => (e.DRAW = "draw", e.BOARD = "board", e.ATLAS = "atlas", e.RETROSPECTIVE = "retrospective", e.SHORT_LINK = "short_link", e.SPACE = "SPACE", e.FOLDER = "FOLDER", e.FILE = "FILE", e.CLOUD_FOLDER = "cloud_folder", e.CLOUD_GALLERY = "cloud_gallery", e.FORM = "form", e.SPOTLIGHT_PROJECT = "spotlight_project", e.EVENT = "event", e.REPORT = "report", e.BANKING_ORG = "banking_org", e.ASSET = "asset", e.WRAPPED_REPORT = "wrapped_report", e.DAILY_DIGEST = "daily_digest", e.ANALYTICS_SNAPSHOT = "analytics_snapshot", e.BANKING_VIEW_ACCOUNT = "banking_view_account", e.EXTRACTION_FILE = "extraction_file", e.EXTRACTION_TEMPLATE = "extraction_template", e.EXTRACTION_RESULT = "extraction_result", e.BEAM = "beam", e.BANKING_SCORE_SHARE_SET = "banking_score_share_set", e))(ie || {});
|
|
566
|
+
const Qe = (e) => e.toLowerCase().replace(/_/g, "-"), Gt = Object.values(ie).map(Qe), K = (e) => e, P = {
|
|
567
|
+
fr: K({
|
|
568
|
+
labels: {
|
|
569
|
+
draw: "un dessin",
|
|
570
|
+
board: "un tableau",
|
|
571
|
+
atlas: "un atlas",
|
|
572
|
+
retrospective: "une rétrospective",
|
|
573
|
+
"short-link": "un lien court",
|
|
574
|
+
space: "un espace",
|
|
575
|
+
folder: "un dossier",
|
|
576
|
+
file: "un fichier",
|
|
577
|
+
"cloud-folder": "un dossier Cloud",
|
|
578
|
+
"cloud-gallery": "une galerie",
|
|
579
|
+
form: "un formulaire",
|
|
580
|
+
"spotlight-project": "un projet Spotlight",
|
|
581
|
+
event: "un événement",
|
|
582
|
+
report: "un rapport",
|
|
583
|
+
"banking-org": "des données bancaires",
|
|
584
|
+
asset: "une ressource",
|
|
585
|
+
"wrapped-report": "une rétrospective de projet",
|
|
586
|
+
"daily-digest": "une synthèse quotidienne",
|
|
587
|
+
"analytics-snapshot": "un instantané d'analyse",
|
|
588
|
+
"banking-view-account": "un compte bancaire",
|
|
589
|
+
"extraction-file": "un fichier d'extraction",
|
|
590
|
+
"extraction-template": "un modèle d'extraction",
|
|
591
|
+
"extraction-result": "un résultat d'extraction",
|
|
592
|
+
beam: "un transfert Beam",
|
|
593
|
+
"banking-score-share-set": "un partage de score bancaire",
|
|
594
|
+
content: "du contenu"
|
|
595
|
+
},
|
|
596
|
+
withName: "{label} « {name} »"
|
|
597
|
+
}),
|
|
598
|
+
en: K({
|
|
599
|
+
labels: {
|
|
600
|
+
draw: "a drawing",
|
|
601
|
+
board: "a board",
|
|
602
|
+
atlas: "an atlas",
|
|
603
|
+
retrospective: "a retrospective",
|
|
604
|
+
"short-link": "a short link",
|
|
605
|
+
space: "a space",
|
|
606
|
+
folder: "a folder",
|
|
607
|
+
file: "a file",
|
|
608
|
+
"cloud-folder": "a Cloud folder",
|
|
609
|
+
"cloud-gallery": "a gallery",
|
|
610
|
+
form: "a form",
|
|
611
|
+
"spotlight-project": "a Spotlight project",
|
|
612
|
+
event: "an event",
|
|
613
|
+
report: "a report",
|
|
614
|
+
"banking-org": "banking data",
|
|
615
|
+
asset: "a resource",
|
|
616
|
+
"wrapped-report": "a project retrospective",
|
|
617
|
+
"daily-digest": "a daily digest",
|
|
618
|
+
"analytics-snapshot": "an analytics snapshot",
|
|
619
|
+
"banking-view-account": "a bank account",
|
|
620
|
+
"extraction-file": "an extraction file",
|
|
621
|
+
"extraction-template": "an extraction template",
|
|
622
|
+
"extraction-result": "an extraction result",
|
|
623
|
+
beam: "a Beam transfer",
|
|
624
|
+
"banking-score-share-set": "a bank score share",
|
|
625
|
+
content: "some content"
|
|
626
|
+
},
|
|
627
|
+
withName: '{label} "{name}"'
|
|
628
|
+
})
|
|
629
|
+
};
|
|
563
630
|
var w = /* @__PURE__ */ ((e) => (e.FREEMIUM = "FREEMIUM", e.DEFAULT = "DEFAULT", e.CUSTOM = "CUSTOM", e.SYSTEM = "SYSTEM", e))(w || {}), O = /* @__PURE__ */ ((e) => (e.FREEMIUM = "freemium", e.STARTER = "starter", e.PRO = "pro", e.ENTERPRISE = "enterprise", e.CUSTOM = "custom", e.INTERNAL = "internal", e.FAMILY_FREE = "family-free", e.FAMILY_PAID = "family-paid", e.DEMO = "demo", e))(O || {});
|
|
564
|
-
const
|
|
631
|
+
const Ze = {
|
|
565
632
|
[w.FREEMIUM]: O.FREEMIUM,
|
|
566
633
|
[w.DEFAULT]: "paid",
|
|
567
634
|
[w.SYSTEM]: O.INTERNAL,
|
|
568
635
|
[w.CUSTOM]: O.CUSTOM
|
|
569
|
-
},
|
|
636
|
+
}, et = new Set(Object.values(O)), U = (e) => e ? e.tier === w.CUSTOM ? O.CUSTOM : e.catalogKey && et.has(e.catalogKey) ? e.catalogKey : Ze[e.tier] ?? "paid" : O.FREEMIUM, zt = (e, t) => {
|
|
570
637
|
const o = (y) => {
|
|
571
|
-
const
|
|
572
|
-
if (typeof
|
|
638
|
+
const A = e[`${y}Tier`];
|
|
639
|
+
if (typeof A != "string")
|
|
573
640
|
return null;
|
|
574
641
|
const f = e[`${y}CatalogKey`];
|
|
575
642
|
return {
|
|
576
|
-
tier:
|
|
643
|
+
tier: A,
|
|
577
644
|
catalogKey: typeof f == "string" ? f : null
|
|
578
645
|
};
|
|
579
646
|
}, r = {}, i = o("plan"), n = o("oldPlan"), v = o("newPlan");
|
|
580
|
-
return i && (r.planName = t(
|
|
581
|
-
},
|
|
582
|
-
fr:
|
|
647
|
+
return i && (r.planName = t(U(i))), n && (r.oldPlanName = t(U(n))), v && (r.newPlanName = t(U(v))), r;
|
|
648
|
+
}, X = (e) => e, g = {
|
|
649
|
+
fr: X({
|
|
583
650
|
freemium: "Gratuit",
|
|
584
651
|
starter: "Starter",
|
|
585
652
|
pro: "Pro",
|
|
@@ -591,7 +658,7 @@ const Xe = {
|
|
|
591
658
|
custom: "Plan personnalisé",
|
|
592
659
|
paid: "Plan payant"
|
|
593
660
|
}),
|
|
594
|
-
en:
|
|
661
|
+
en: X({
|
|
595
662
|
freemium: "Free",
|
|
596
663
|
starter: "Starter",
|
|
597
664
|
pro: "Pro",
|
|
@@ -603,7 +670,7 @@ const Xe = {
|
|
|
603
670
|
custom: "Custom plan",
|
|
604
671
|
paid: "Paid plan"
|
|
605
672
|
})
|
|
606
|
-
},
|
|
673
|
+
}, tt = {
|
|
607
674
|
banner: {
|
|
608
675
|
title: "Compte de démonstration",
|
|
609
676
|
summary: "{label} · expire le {date}",
|
|
@@ -618,8 +685,8 @@ const Xe = {
|
|
|
618
685
|
}
|
|
619
686
|
},
|
|
620
687
|
blocked: "Indisponible en démo"
|
|
621
|
-
},
|
|
622
|
-
demo:
|
|
688
|
+
}, ot = {
|
|
689
|
+
demo: tt,
|
|
623
690
|
"space-display-name": {
|
|
624
691
|
personal: "Mon Cloud",
|
|
625
692
|
"perso-in-org": "Mon Cloud (dans org)",
|
|
@@ -698,7 +765,7 @@ const Xe = {
|
|
|
698
765
|
},
|
|
699
766
|
// Metric names come from @abyss-project/main's `billing-metric-label` table, their single
|
|
700
767
|
// source (the invoices, their PDF and the overage e-mail read it too).
|
|
701
|
-
metric:
|
|
768
|
+
metric: re.fr
|
|
702
769
|
},
|
|
703
770
|
"error-page": {
|
|
704
771
|
title: "Une erreur est survenue",
|
|
@@ -1006,28 +1073,10 @@ const Xe = {
|
|
|
1006
1073
|
}
|
|
1007
1074
|
},
|
|
1008
1075
|
"content-share": {
|
|
1009
|
-
label
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
retrospective: "une rétro",
|
|
1014
|
-
"short-link": "un short link",
|
|
1015
|
-
space: "un espace",
|
|
1016
|
-
folder: "un dossier",
|
|
1017
|
-
file: "un fichier",
|
|
1018
|
-
"cloud-folder": "un dossier cloud",
|
|
1019
|
-
"cloud-gallery": "une galerie cloud",
|
|
1020
|
-
form: "un formulaire",
|
|
1021
|
-
"spotlight-project": "un projet",
|
|
1022
|
-
event: "un souvenir",
|
|
1023
|
-
report: "un rapport",
|
|
1024
|
-
banking: "des données bancaires",
|
|
1025
|
-
asset: "un asset",
|
|
1026
|
-
"wrapped-report": "un rapport",
|
|
1027
|
-
"daily-digest": "un résumé",
|
|
1028
|
-
"analytics-snapshot": "un snapshot analytics",
|
|
1029
|
-
content: "du contenu"
|
|
1030
|
-
}
|
|
1076
|
+
// The labels of a shared content come from @abyss-project/main's `content-share-label` table,
|
|
1077
|
+
// their single source (#833), read by the API e-mails too.
|
|
1078
|
+
label: P.fr.labels,
|
|
1079
|
+
"label-with-name": P.fr.withName
|
|
1031
1080
|
},
|
|
1032
1081
|
"pending-invitations": {
|
|
1033
1082
|
label: "Invitations en attente",
|
|
@@ -3023,7 +3072,7 @@ const Xe = {
|
|
|
3023
3072
|
show: "Afficher le mot de passe",
|
|
3024
3073
|
hide: "Masquer le mot de passe"
|
|
3025
3074
|
}
|
|
3026
|
-
},
|
|
3075
|
+
}, rt = {
|
|
3027
3076
|
banner: {
|
|
3028
3077
|
title: "Demo account",
|
|
3029
3078
|
summary: "{label} · expires on {date}",
|
|
@@ -3038,8 +3087,8 @@ const Xe = {
|
|
|
3038
3087
|
}
|
|
3039
3088
|
},
|
|
3040
3089
|
blocked: "Unavailable in demo"
|
|
3041
|
-
},
|
|
3042
|
-
demo:
|
|
3090
|
+
}, it = {
|
|
3091
|
+
demo: rt,
|
|
3043
3092
|
"space-display-name": {
|
|
3044
3093
|
personal: "My Cloud",
|
|
3045
3094
|
"perso-in-org": "My Cloud (in org)",
|
|
@@ -3118,7 +3167,7 @@ const Xe = {
|
|
|
3118
3167
|
},
|
|
3119
3168
|
// Metric names come from @abyss-project/main's `billing-metric-label` table, their single
|
|
3120
3169
|
// source (the invoices, their PDF and the overage e-mail read it too).
|
|
3121
|
-
metric:
|
|
3170
|
+
metric: re.en
|
|
3122
3171
|
},
|
|
3123
3172
|
"error-page": {
|
|
3124
3173
|
title: "Something went wrong",
|
|
@@ -3426,28 +3475,10 @@ const Xe = {
|
|
|
3426
3475
|
}
|
|
3427
3476
|
},
|
|
3428
3477
|
"content-share": {
|
|
3429
|
-
label
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
retrospective: "a retro",
|
|
3434
|
-
"short-link": "a short link",
|
|
3435
|
-
space: "a space",
|
|
3436
|
-
folder: "a folder",
|
|
3437
|
-
file: "a file",
|
|
3438
|
-
"cloud-folder": "a cloud folder",
|
|
3439
|
-
"cloud-gallery": "a cloud gallery",
|
|
3440
|
-
form: "a form",
|
|
3441
|
-
"spotlight-project": "a project",
|
|
3442
|
-
event: "a memory",
|
|
3443
|
-
report: "a report",
|
|
3444
|
-
banking: "banking data",
|
|
3445
|
-
asset: "an asset",
|
|
3446
|
-
"wrapped-report": "a report",
|
|
3447
|
-
"daily-digest": "a digest",
|
|
3448
|
-
"analytics-snapshot": "an analytics snapshot",
|
|
3449
|
-
content: "content"
|
|
3450
|
-
}
|
|
3478
|
+
// The labels of a shared content come from @abyss-project/main's `content-share-label` table,
|
|
3479
|
+
// their single source (#833), read by the API e-mails too.
|
|
3480
|
+
label: P.en.labels,
|
|
3481
|
+
"label-with-name": P.en.withName
|
|
3451
3482
|
},
|
|
3452
3483
|
"pending-invitations": {
|
|
3453
3484
|
label: "Pending invitations",
|
|
@@ -5444,10 +5475,10 @@ const Xe = {
|
|
|
5444
5475
|
hide: "Hide password"
|
|
5445
5476
|
}
|
|
5446
5477
|
};
|
|
5447
|
-
var
|
|
5448
|
-
function
|
|
5449
|
-
if (
|
|
5450
|
-
|
|
5478
|
+
var F, J;
|
|
5479
|
+
function at() {
|
|
5480
|
+
if (J) return F;
|
|
5481
|
+
J = 1, F = o, o.flatten = o, o.unflatten = r;
|
|
5451
5482
|
function e(i) {
|
|
5452
5483
|
return i && i.constructor && typeof i.constructor.isBuffer == "function" && i.constructor.isBuffer(i);
|
|
5453
5484
|
}
|
|
@@ -5456,10 +5487,10 @@ function tt() {
|
|
|
5456
5487
|
}
|
|
5457
5488
|
function o(i, n) {
|
|
5458
5489
|
n = n || {};
|
|
5459
|
-
const v = n.delimiter || ".", y = n.maxDepth,
|
|
5490
|
+
const v = n.delimiter || ".", y = n.maxDepth, A = n.transformKey || t, f = {};
|
|
5460
5491
|
function T(m, C, u) {
|
|
5461
5492
|
u = u || 1, Object.keys(m).forEach(function(l) {
|
|
5462
|
-
const s = m[l], h = n.safe && Array.isArray(s),
|
|
5493
|
+
const s = m[l], h = n.safe && Array.isArray(s), b = Object.prototype.toString.call(s), E = e(s), _ = b === "[object Object]" || b === "[object Array]", S = C ? C + v + A(l) : A(l);
|
|
5463
5494
|
if (!h && !E && _ && Object.keys(s).length && (!n.maxDepth || u < y))
|
|
5464
5495
|
return T(s, S, u + 1);
|
|
5465
5496
|
f[S] = s;
|
|
@@ -5469,7 +5500,7 @@ function tt() {
|
|
|
5469
5500
|
}
|
|
5470
5501
|
function r(i, n) {
|
|
5471
5502
|
n = n || {};
|
|
5472
|
-
const v = n.delimiter || ".", y = n.overwrite || !1,
|
|
5503
|
+
const v = n.delimiter || ".", y = n.overwrite || !1, A = n.transformKey || t, f = {};
|
|
5473
5504
|
if (e(i) || Object.prototype.toString.call(i) !== "[object Object]")
|
|
5474
5505
|
return i;
|
|
5475
5506
|
function m(l) {
|
|
@@ -5477,16 +5508,16 @@ function tt() {
|
|
|
5477
5508
|
return isNaN(s) || l.indexOf(".") !== -1 || n.object ? l : s;
|
|
5478
5509
|
}
|
|
5479
5510
|
function C(l, s, h) {
|
|
5480
|
-
return Object.keys(h).reduce(function(
|
|
5481
|
-
return
|
|
5511
|
+
return Object.keys(h).reduce(function(b, E) {
|
|
5512
|
+
return b[l + v + E] = h[E], b;
|
|
5482
5513
|
}, s);
|
|
5483
5514
|
}
|
|
5484
5515
|
function u(l) {
|
|
5485
|
-
const s = Object.prototype.toString.call(l), h = s === "[object Array]",
|
|
5516
|
+
const s = Object.prototype.toString.call(l), h = s === "[object Array]", b = s === "[object Object]";
|
|
5486
5517
|
if (l) {
|
|
5487
5518
|
if (h)
|
|
5488
5519
|
return !l.length;
|
|
5489
|
-
if (
|
|
5520
|
+
if (b)
|
|
5490
5521
|
return !Object.keys(l).length;
|
|
5491
5522
|
} else return !0;
|
|
5492
5523
|
}
|
|
@@ -5498,55 +5529,55 @@ function tt() {
|
|
|
5498
5529
|
o(i[s], n)
|
|
5499
5530
|
);
|
|
5500
5531
|
}, {}), Object.keys(i).forEach(function(l) {
|
|
5501
|
-
const s = l.split(v).map(
|
|
5502
|
-
let h = m(s.shift()),
|
|
5503
|
-
for (;
|
|
5532
|
+
const s = l.split(v).map(A);
|
|
5533
|
+
let h = m(s.shift()), b = m(s[0]), E = f;
|
|
5534
|
+
for (; b !== void 0; ) {
|
|
5504
5535
|
if (h === "__proto__")
|
|
5505
5536
|
return;
|
|
5506
5537
|
const _ = Object.prototype.toString.call(E[h]), S = _ === "[object Object]" || _ === "[object Array]";
|
|
5507
5538
|
if (!y && !S && typeof E[h] < "u")
|
|
5508
5539
|
return;
|
|
5509
|
-
(y && !S || !y && E[h] == null) && (E[h] = typeof
|
|
5540
|
+
(y && !S || !y && E[h] == null) && (E[h] = typeof b == "number" && !n.object ? [] : {}), E = E[h], s.length > 0 && (h = m(s.shift()), b = m(s[0]));
|
|
5510
5541
|
}
|
|
5511
5542
|
E[h] = r(i[l], n);
|
|
5512
5543
|
}), f;
|
|
5513
5544
|
}
|
|
5514
|
-
return
|
|
5545
|
+
return F;
|
|
5515
5546
|
}
|
|
5516
|
-
var
|
|
5517
|
-
const
|
|
5518
|
-
fr: {
|
|
5519
|
-
en: { ...
|
|
5520
|
-
},
|
|
5521
|
-
() =>
|
|
5522
|
-
),
|
|
5523
|
-
() =>
|
|
5524
|
-
),
|
|
5547
|
+
var ae = at();
|
|
5548
|
+
const ne = {
|
|
5549
|
+
fr: { ...ot, common: ve },
|
|
5550
|
+
en: { ...it, common: ye }
|
|
5551
|
+
}, nt = ee(
|
|
5552
|
+
() => ae.flatten(ne.fr)
|
|
5553
|
+
), st = ee(
|
|
5554
|
+
() => ae.flatten(ne.en)
|
|
5555
|
+
), Yt = {
|
|
5525
5556
|
get fr() {
|
|
5526
|
-
return
|
|
5557
|
+
return nt();
|
|
5527
5558
|
},
|
|
5528
5559
|
get en() {
|
|
5529
|
-
return
|
|
5560
|
+
return st();
|
|
5530
5561
|
}
|
|
5531
|
-
},
|
|
5562
|
+
}, lt = {
|
|
5532
5563
|
break: /* @__PURE__ */ d("br", {}),
|
|
5533
5564
|
bold: (...e) => /* @__PURE__ */ d("strong", { children: e }),
|
|
5534
5565
|
italic: (...e) => /* @__PURE__ */ d("i", { children: e }),
|
|
5535
5566
|
primary: (...e) => /* @__PURE__ */ d("span", { style: { color: "var(--abyss-accent-text)" }, children: e }),
|
|
5536
5567
|
focus: (...e) => /* @__PURE__ */ d("span", { style: { color: "var(--abyss-status-warning)" }, children: e })
|
|
5537
|
-
},
|
|
5538
|
-
const e =
|
|
5568
|
+
}, jt = () => {
|
|
5569
|
+
const e = G(), t = $(
|
|
5539
5570
|
(o, r) => e.formatMessage(o, {
|
|
5540
|
-
...
|
|
5571
|
+
...lt,
|
|
5541
5572
|
...r
|
|
5542
5573
|
}),
|
|
5543
5574
|
[e]
|
|
5544
5575
|
);
|
|
5545
|
-
return
|
|
5576
|
+
return de(() => {
|
|
5546
5577
|
const { formatMessage: o, ...r } = e;
|
|
5547
5578
|
return { ...r, formatRichMessage: t };
|
|
5548
5579
|
}, [e, t]);
|
|
5549
|
-
},
|
|
5580
|
+
}, ct = /* @__PURE__ */ new Set(["a", "button"]), dt = p("div", {
|
|
5550
5581
|
shouldForwardProp: (e) => e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as"
|
|
5551
5582
|
})(({ theme: e, ownerState: t }) => {
|
|
5552
5583
|
const { tokens: o, radii: r, space: i } = e.design;
|
|
@@ -5565,12 +5596,12 @@ const re = {
|
|
|
5565
5596
|
font: "inherit",
|
|
5566
5597
|
textAlign: "inherit",
|
|
5567
5598
|
textDecoration: "none",
|
|
5568
|
-
transition:
|
|
5599
|
+
transition: Ce(e, ["border-color"]),
|
|
5569
5600
|
"&:hover": { borderColor: o["border.strong"] },
|
|
5570
|
-
"&:focus-visible":
|
|
5601
|
+
"&:focus-visible": Se(e)
|
|
5571
5602
|
}
|
|
5572
5603
|
};
|
|
5573
|
-
}),
|
|
5604
|
+
}), qt = ue(function({
|
|
5574
5605
|
interactive: t = !1,
|
|
5575
5606
|
padding: o = 4,
|
|
5576
5607
|
component: r = "div",
|
|
@@ -5578,16 +5609,16 @@ const re = {
|
|
|
5578
5609
|
onKeyDown: n,
|
|
5579
5610
|
role: v,
|
|
5580
5611
|
tabIndex: y,
|
|
5581
|
-
...
|
|
5612
|
+
...A
|
|
5582
5613
|
}, f) {
|
|
5583
|
-
const T = t && typeof r == "string" && !
|
|
5614
|
+
const T = t && typeof r == "string" && !ct.has(r), m = $(
|
|
5584
5615
|
(u) => {
|
|
5585
5616
|
typeof f == "function" ? f(u) : f !== null && (f.current = u);
|
|
5586
5617
|
},
|
|
5587
5618
|
[f]
|
|
5588
5619
|
);
|
|
5589
5620
|
return /* @__PURE__ */ d(
|
|
5590
|
-
|
|
5621
|
+
dt,
|
|
5591
5622
|
{
|
|
5592
5623
|
ref: m,
|
|
5593
5624
|
as: r,
|
|
@@ -5597,57 +5628,58 @@ const re = {
|
|
|
5597
5628
|
onKeyDown: (u) => {
|
|
5598
5629
|
n == null || n(u), T && !u.defaultPrevented && u.target === u.currentTarget && (u.key === "Enter" || u.key === " ") && (u.preventDefault(), u.currentTarget.click());
|
|
5599
5630
|
},
|
|
5600
|
-
...
|
|
5631
|
+
...A,
|
|
5601
5632
|
children: i
|
|
5602
5633
|
}
|
|
5603
5634
|
);
|
|
5604
5635
|
});
|
|
5605
5636
|
export {
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5637
|
+
_t as A,
|
|
5638
|
+
Fe as B,
|
|
5639
|
+
It as C,
|
|
5609
5640
|
R as D,
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5641
|
+
H as E,
|
|
5642
|
+
Ct as F,
|
|
5643
|
+
kt as G,
|
|
5644
|
+
Ft as H,
|
|
5645
|
+
Be as I,
|
|
5646
|
+
U as J,
|
|
5647
|
+
zt as K,
|
|
5648
|
+
Gt as L,
|
|
5649
|
+
Ut as M,
|
|
5650
|
+
rt as N,
|
|
5651
|
+
tt as O,
|
|
5652
|
+
wt as P,
|
|
5653
|
+
ne as Q,
|
|
5654
|
+
lt as R,
|
|
5624
5655
|
I as S,
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5656
|
+
Mt as T,
|
|
5657
|
+
it as U,
|
|
5658
|
+
ot as V,
|
|
5659
|
+
te as a,
|
|
5660
|
+
qt as b,
|
|
5661
|
+
Bt as c,
|
|
5630
5662
|
k as d,
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5663
|
+
Ge as e,
|
|
5664
|
+
Yt as f,
|
|
5665
|
+
Ce as g,
|
|
5634
5666
|
L as h,
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5667
|
+
Se as i,
|
|
5668
|
+
Ne as j,
|
|
5669
|
+
Lt as k,
|
|
5670
|
+
Re as l,
|
|
5671
|
+
_e as m,
|
|
5672
|
+
xt as n,
|
|
5673
|
+
Oe as o,
|
|
5642
5674
|
a as p,
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5675
|
+
Nt as q,
|
|
5676
|
+
Ae as r,
|
|
5677
|
+
Dt as s,
|
|
5678
|
+
Pt as t,
|
|
5679
|
+
jt as u,
|
|
5680
|
+
Te as v,
|
|
5649
5681
|
D as w,
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5682
|
+
St as x,
|
|
5683
|
+
Ot as y,
|
|
5684
|
+
Rt as z
|
|
5653
5685
|
};
|