@abyss-project/commons-front-core 21.2.2 → 21.3.1
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 +259 -7
- package/README.md +19 -236
- package/dist/{CookieConsentSettings-DxqYHcSe.js → CookieConsentSettings-B_XrspE_.js} +1 -1
- package/dist/{Surface-B7oNqheh.js → Surface-CDVyoNxU.js} +274 -244
- package/dist/{Tabs-CIcTPstN.js → Tabs-De4uBUrI.js} +1 -1
- package/dist/cookie-consent.js +2 -2
- package/dist/{editors-EtVPiT89.js → editors-DNBP4gs1.js} +27 -27
- package/dist/editors.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +16 -2
- package/dist/{index-DosPP813.js → index--86h-2PZ.js} +2 -2
- package/dist/{index-DQG84GBb.js → index-B3Dmwmm5.js} +4 -4
- package/dist/{index-CLA1QmBI.js → index-BCvFVW35.js} +2 -2
- package/dist/{index-BqHfnhAI.js → index-BETj39iS.js} +3 -3
- package/dist/{index-_8pbbRHo.js → index-BEiq9dc4.js} +4 -4
- package/dist/{index-L0FC1-7F.js → index-BJ8vRTI1.js} +3 -3
- package/dist/{index-BputOa4Q.js → index-BN3BClqp.js} +2 -2
- package/dist/{index-FbMAdrxh.js → index-BO3ZYOV7.js} +2 -2
- package/dist/{index-CD2cyvpc.js → index-BhVg_a05.js} +4 -4
- package/dist/{index-DudKHPj1.js → index-Bi-LgwxF.js} +2 -2
- package/dist/{index-CRmDTcUj.js → index-BrIJFHn6.js} +2 -2
- package/dist/{index-DRbuPt3v.js → index-BvqJvLzc.js} +2 -2
- package/dist/{index-Ce9ZLOs8.js → index-CCk-aXzg.js} +3 -3
- package/dist/{index-DTvs0L8-.js → index-CJBeVuxk.js} +1 -1
- package/dist/{index-DefYw2MM.js → index-CKuo6Mki.js} +2 -2
- package/dist/{index-By98mnwt.js → index-Cr361nhQ.js} +3 -3
- package/dist/{index-MBYU8oDh.js → index-D-LJS01M.js} +2 -2
- package/dist/{index-CopXI_1P.js → index-DPLLqacI.js} +2 -2
- package/dist/{index-CML2Qvga.js → index-DyaDxg41.js} +2 -2
- package/dist/{index-BOlnAuSU.js → index-KMimc3Je.js} +2 -2
- package/dist/{index-CqVUubtw.js → index-xXZu-aO2.js} +2 -2
- package/dist/index.js +4281 -4274
- package/dist/rum/rum-provider-config.d.ts +0 -6
- package/dist/translations/en.d.ts +8 -1
- package/dist/translations/fr.d.ts +8 -1
- package/dist/utils/billing.utils.d.ts +7 -4
- package/package.json +5 -5
- package/vite.config.ts +6 -0
|
@@ -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),
|
|
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",
|
|
@@ -494,7 +494,7 @@ const H = (e) => e, te = {
|
|
|
494
494
|
BANKING_PSD2_REFRESHES_MONTH: "Rafraîchissements PSD2 / mois",
|
|
495
495
|
BANKING_SYSTEM_RESNAPSHOTS_MONTH: "Recalculs système / mois"
|
|
496
496
|
}),
|
|
497
|
-
en:
|
|
497
|
+
en: W({
|
|
498
498
|
PROJECTS_COUNT: "Projects",
|
|
499
499
|
MEMBERS_COUNT: "Members",
|
|
500
500
|
TEAM_COUNT: "Teams",
|
|
@@ -562,26 +562,91 @@ const H = (e) => e, te = {
|
|
|
562
562
|
BANKING_SYSTEM_RESNAPSHOTS_MONTH: "System resnapshots / month"
|
|
563
563
|
})
|
|
564
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
|
+
};
|
|
565
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 || {});
|
|
566
|
-
const
|
|
631
|
+
const Ze = {
|
|
567
632
|
[w.FREEMIUM]: O.FREEMIUM,
|
|
568
633
|
[w.DEFAULT]: "paid",
|
|
569
634
|
[w.SYSTEM]: O.INTERNAL,
|
|
570
635
|
[w.CUSTOM]: O.CUSTOM
|
|
571
|
-
},
|
|
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) => {
|
|
572
637
|
const o = (y) => {
|
|
573
|
-
const
|
|
574
|
-
if (typeof
|
|
638
|
+
const A = e[`${y}Tier`];
|
|
639
|
+
if (typeof A != "string")
|
|
575
640
|
return null;
|
|
576
641
|
const f = e[`${y}CatalogKey`];
|
|
577
642
|
return {
|
|
578
|
-
tier:
|
|
643
|
+
tier: A,
|
|
579
644
|
catalogKey: typeof f == "string" ? f : null
|
|
580
645
|
};
|
|
581
646
|
}, r = {}, i = o("plan"), n = o("oldPlan"), v = o("newPlan");
|
|
582
|
-
return i && (r.planName = t(
|
|
583
|
-
},
|
|
584
|
-
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({
|
|
585
650
|
freemium: "Gratuit",
|
|
586
651
|
starter: "Starter",
|
|
587
652
|
pro: "Pro",
|
|
@@ -593,7 +658,7 @@ const Xe = {
|
|
|
593
658
|
custom: "Plan personnalisé",
|
|
594
659
|
paid: "Plan payant"
|
|
595
660
|
}),
|
|
596
|
-
en:
|
|
661
|
+
en: X({
|
|
597
662
|
freemium: "Free",
|
|
598
663
|
starter: "Starter",
|
|
599
664
|
pro: "Pro",
|
|
@@ -605,7 +670,7 @@ const Xe = {
|
|
|
605
670
|
custom: "Custom plan",
|
|
606
671
|
paid: "Paid plan"
|
|
607
672
|
})
|
|
608
|
-
},
|
|
673
|
+
}, tt = {
|
|
609
674
|
banner: {
|
|
610
675
|
title: "Compte de démonstration",
|
|
611
676
|
summary: "{label} · expire le {date}",
|
|
@@ -620,8 +685,8 @@ const Xe = {
|
|
|
620
685
|
}
|
|
621
686
|
},
|
|
622
687
|
blocked: "Indisponible en démo"
|
|
623
|
-
},
|
|
624
|
-
demo:
|
|
688
|
+
}, ot = {
|
|
689
|
+
demo: tt,
|
|
625
690
|
"space-display-name": {
|
|
626
691
|
personal: "Mon Cloud",
|
|
627
692
|
"perso-in-org": "Mon Cloud (dans org)",
|
|
@@ -700,7 +765,7 @@ const Xe = {
|
|
|
700
765
|
},
|
|
701
766
|
// Metric names come from @abyss-project/main's `billing-metric-label` table, their single
|
|
702
767
|
// source (the invoices, their PDF and the overage e-mail read it too).
|
|
703
|
-
metric:
|
|
768
|
+
metric: re.fr
|
|
704
769
|
},
|
|
705
770
|
"error-page": {
|
|
706
771
|
title: "Une erreur est survenue",
|
|
@@ -1008,28 +1073,10 @@ const Xe = {
|
|
|
1008
1073
|
}
|
|
1009
1074
|
},
|
|
1010
1075
|
"content-share": {
|
|
1011
|
-
label
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
retrospective: "une rétro",
|
|
1016
|
-
"short-link": "un short link",
|
|
1017
|
-
space: "un espace",
|
|
1018
|
-
folder: "un dossier",
|
|
1019
|
-
file: "un fichier",
|
|
1020
|
-
"cloud-folder": "un dossier cloud",
|
|
1021
|
-
"cloud-gallery": "une galerie cloud",
|
|
1022
|
-
form: "un formulaire",
|
|
1023
|
-
"spotlight-project": "un projet",
|
|
1024
|
-
event: "un souvenir",
|
|
1025
|
-
report: "un rapport",
|
|
1026
|
-
banking: "des données bancaires",
|
|
1027
|
-
asset: "un asset",
|
|
1028
|
-
"wrapped-report": "un rapport",
|
|
1029
|
-
"daily-digest": "un résumé",
|
|
1030
|
-
"analytics-snapshot": "un snapshot analytics",
|
|
1031
|
-
content: "du contenu"
|
|
1032
|
-
}
|
|
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
|
|
1033
1080
|
},
|
|
1034
1081
|
"pending-invitations": {
|
|
1035
1082
|
label: "Invitations en attente",
|
|
@@ -3025,7 +3072,7 @@ const Xe = {
|
|
|
3025
3072
|
show: "Afficher le mot de passe",
|
|
3026
3073
|
hide: "Masquer le mot de passe"
|
|
3027
3074
|
}
|
|
3028
|
-
},
|
|
3075
|
+
}, rt = {
|
|
3029
3076
|
banner: {
|
|
3030
3077
|
title: "Demo account",
|
|
3031
3078
|
summary: "{label} · expires on {date}",
|
|
@@ -3040,8 +3087,8 @@ const Xe = {
|
|
|
3040
3087
|
}
|
|
3041
3088
|
},
|
|
3042
3089
|
blocked: "Unavailable in demo"
|
|
3043
|
-
},
|
|
3044
|
-
demo:
|
|
3090
|
+
}, it = {
|
|
3091
|
+
demo: rt,
|
|
3045
3092
|
"space-display-name": {
|
|
3046
3093
|
personal: "My Cloud",
|
|
3047
3094
|
"perso-in-org": "My Cloud (in org)",
|
|
@@ -3120,7 +3167,7 @@ const Xe = {
|
|
|
3120
3167
|
},
|
|
3121
3168
|
// Metric names come from @abyss-project/main's `billing-metric-label` table, their single
|
|
3122
3169
|
// source (the invoices, their PDF and the overage e-mail read it too).
|
|
3123
|
-
metric:
|
|
3170
|
+
metric: re.en
|
|
3124
3171
|
},
|
|
3125
3172
|
"error-page": {
|
|
3126
3173
|
title: "Something went wrong",
|
|
@@ -3428,28 +3475,10 @@ const Xe = {
|
|
|
3428
3475
|
}
|
|
3429
3476
|
},
|
|
3430
3477
|
"content-share": {
|
|
3431
|
-
label
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
retrospective: "a retro",
|
|
3436
|
-
"short-link": "a short link",
|
|
3437
|
-
space: "a space",
|
|
3438
|
-
folder: "a folder",
|
|
3439
|
-
file: "a file",
|
|
3440
|
-
"cloud-folder": "a cloud folder",
|
|
3441
|
-
"cloud-gallery": "a cloud gallery",
|
|
3442
|
-
form: "a form",
|
|
3443
|
-
"spotlight-project": "a project",
|
|
3444
|
-
event: "a memory",
|
|
3445
|
-
report: "a report",
|
|
3446
|
-
banking: "banking data",
|
|
3447
|
-
asset: "an asset",
|
|
3448
|
-
"wrapped-report": "a report",
|
|
3449
|
-
"daily-digest": "a digest",
|
|
3450
|
-
"analytics-snapshot": "an analytics snapshot",
|
|
3451
|
-
content: "content"
|
|
3452
|
-
}
|
|
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
|
|
3453
3482
|
},
|
|
3454
3483
|
"pending-invitations": {
|
|
3455
3484
|
label: "Pending invitations",
|
|
@@ -5446,10 +5475,10 @@ const Xe = {
|
|
|
5446
5475
|
hide: "Hide password"
|
|
5447
5476
|
}
|
|
5448
5477
|
};
|
|
5449
|
-
var
|
|
5450
|
-
function
|
|
5451
|
-
if (
|
|
5452
|
-
|
|
5478
|
+
var F, J;
|
|
5479
|
+
function at() {
|
|
5480
|
+
if (J) return F;
|
|
5481
|
+
J = 1, F = o, o.flatten = o, o.unflatten = r;
|
|
5453
5482
|
function e(i) {
|
|
5454
5483
|
return i && i.constructor && typeof i.constructor.isBuffer == "function" && i.constructor.isBuffer(i);
|
|
5455
5484
|
}
|
|
@@ -5458,10 +5487,10 @@ function tt() {
|
|
|
5458
5487
|
}
|
|
5459
5488
|
function o(i, n) {
|
|
5460
5489
|
n = n || {};
|
|
5461
|
-
const v = n.delimiter || ".", y = n.maxDepth,
|
|
5490
|
+
const v = n.delimiter || ".", y = n.maxDepth, A = n.transformKey || t, f = {};
|
|
5462
5491
|
function T(m, C, u) {
|
|
5463
5492
|
u = u || 1, Object.keys(m).forEach(function(l) {
|
|
5464
|
-
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);
|
|
5465
5494
|
if (!h && !E && _ && Object.keys(s).length && (!n.maxDepth || u < y))
|
|
5466
5495
|
return T(s, S, u + 1);
|
|
5467
5496
|
f[S] = s;
|
|
@@ -5471,7 +5500,7 @@ function tt() {
|
|
|
5471
5500
|
}
|
|
5472
5501
|
function r(i, n) {
|
|
5473
5502
|
n = n || {};
|
|
5474
|
-
const v = n.delimiter || ".", y = n.overwrite || !1,
|
|
5503
|
+
const v = n.delimiter || ".", y = n.overwrite || !1, A = n.transformKey || t, f = {};
|
|
5475
5504
|
if (e(i) || Object.prototype.toString.call(i) !== "[object Object]")
|
|
5476
5505
|
return i;
|
|
5477
5506
|
function m(l) {
|
|
@@ -5479,16 +5508,16 @@ function tt() {
|
|
|
5479
5508
|
return isNaN(s) || l.indexOf(".") !== -1 || n.object ? l : s;
|
|
5480
5509
|
}
|
|
5481
5510
|
function C(l, s, h) {
|
|
5482
|
-
return Object.keys(h).reduce(function(
|
|
5483
|
-
return
|
|
5511
|
+
return Object.keys(h).reduce(function(b, E) {
|
|
5512
|
+
return b[l + v + E] = h[E], b;
|
|
5484
5513
|
}, s);
|
|
5485
5514
|
}
|
|
5486
5515
|
function u(l) {
|
|
5487
|
-
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]";
|
|
5488
5517
|
if (l) {
|
|
5489
5518
|
if (h)
|
|
5490
5519
|
return !l.length;
|
|
5491
|
-
if (
|
|
5520
|
+
if (b)
|
|
5492
5521
|
return !Object.keys(l).length;
|
|
5493
5522
|
} else return !0;
|
|
5494
5523
|
}
|
|
@@ -5500,55 +5529,55 @@ function tt() {
|
|
|
5500
5529
|
o(i[s], n)
|
|
5501
5530
|
);
|
|
5502
5531
|
}, {}), Object.keys(i).forEach(function(l) {
|
|
5503
|
-
const s = l.split(v).map(
|
|
5504
|
-
let h = m(s.shift()),
|
|
5505
|
-
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; ) {
|
|
5506
5535
|
if (h === "__proto__")
|
|
5507
5536
|
return;
|
|
5508
5537
|
const _ = Object.prototype.toString.call(E[h]), S = _ === "[object Object]" || _ === "[object Array]";
|
|
5509
5538
|
if (!y && !S && typeof E[h] < "u")
|
|
5510
5539
|
return;
|
|
5511
|
-
(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]));
|
|
5512
5541
|
}
|
|
5513
5542
|
E[h] = r(i[l], n);
|
|
5514
5543
|
}), f;
|
|
5515
5544
|
}
|
|
5516
|
-
return
|
|
5545
|
+
return F;
|
|
5517
5546
|
}
|
|
5518
|
-
var
|
|
5519
|
-
const
|
|
5520
|
-
fr: {
|
|
5521
|
-
en: { ...
|
|
5522
|
-
},
|
|
5523
|
-
() =>
|
|
5524
|
-
),
|
|
5525
|
-
() =>
|
|
5526
|
-
),
|
|
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 = {
|
|
5527
5556
|
get fr() {
|
|
5528
|
-
return
|
|
5557
|
+
return nt();
|
|
5529
5558
|
},
|
|
5530
5559
|
get en() {
|
|
5531
|
-
return
|
|
5560
|
+
return st();
|
|
5532
5561
|
}
|
|
5533
|
-
},
|
|
5562
|
+
}, lt = {
|
|
5534
5563
|
break: /* @__PURE__ */ d("br", {}),
|
|
5535
5564
|
bold: (...e) => /* @__PURE__ */ d("strong", { children: e }),
|
|
5536
5565
|
italic: (...e) => /* @__PURE__ */ d("i", { children: e }),
|
|
5537
5566
|
primary: (...e) => /* @__PURE__ */ d("span", { style: { color: "var(--abyss-accent-text)" }, children: e }),
|
|
5538
5567
|
focus: (...e) => /* @__PURE__ */ d("span", { style: { color: "var(--abyss-status-warning)" }, children: e })
|
|
5539
|
-
},
|
|
5540
|
-
const e =
|
|
5568
|
+
}, jt = () => {
|
|
5569
|
+
const e = G(), t = $(
|
|
5541
5570
|
(o, r) => e.formatMessage(o, {
|
|
5542
|
-
...
|
|
5571
|
+
...lt,
|
|
5543
5572
|
...r
|
|
5544
5573
|
}),
|
|
5545
5574
|
[e]
|
|
5546
5575
|
);
|
|
5547
|
-
return
|
|
5576
|
+
return de(() => {
|
|
5548
5577
|
const { formatMessage: o, ...r } = e;
|
|
5549
5578
|
return { ...r, formatRichMessage: t };
|
|
5550
5579
|
}, [e, t]);
|
|
5551
|
-
},
|
|
5580
|
+
}, ct = /* @__PURE__ */ new Set(["a", "button"]), dt = p("div", {
|
|
5552
5581
|
shouldForwardProp: (e) => e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as"
|
|
5553
5582
|
})(({ theme: e, ownerState: t }) => {
|
|
5554
5583
|
const { tokens: o, radii: r, space: i } = e.design;
|
|
@@ -5567,12 +5596,12 @@ const re = {
|
|
|
5567
5596
|
font: "inherit",
|
|
5568
5597
|
textAlign: "inherit",
|
|
5569
5598
|
textDecoration: "none",
|
|
5570
|
-
transition:
|
|
5599
|
+
transition: Ce(e, ["border-color"]),
|
|
5571
5600
|
"&:hover": { borderColor: o["border.strong"] },
|
|
5572
|
-
"&:focus-visible":
|
|
5601
|
+
"&:focus-visible": Se(e)
|
|
5573
5602
|
}
|
|
5574
5603
|
};
|
|
5575
|
-
}),
|
|
5604
|
+
}), qt = ue(function({
|
|
5576
5605
|
interactive: t = !1,
|
|
5577
5606
|
padding: o = 4,
|
|
5578
5607
|
component: r = "div",
|
|
@@ -5580,16 +5609,16 @@ const re = {
|
|
|
5580
5609
|
onKeyDown: n,
|
|
5581
5610
|
role: v,
|
|
5582
5611
|
tabIndex: y,
|
|
5583
|
-
...
|
|
5612
|
+
...A
|
|
5584
5613
|
}, f) {
|
|
5585
|
-
const T = t && typeof r == "string" && !
|
|
5614
|
+
const T = t && typeof r == "string" && !ct.has(r), m = $(
|
|
5586
5615
|
(u) => {
|
|
5587
5616
|
typeof f == "function" ? f(u) : f !== null && (f.current = u);
|
|
5588
5617
|
},
|
|
5589
5618
|
[f]
|
|
5590
5619
|
);
|
|
5591
5620
|
return /* @__PURE__ */ d(
|
|
5592
|
-
|
|
5621
|
+
dt,
|
|
5593
5622
|
{
|
|
5594
5623
|
ref: m,
|
|
5595
5624
|
as: r,
|
|
@@ -5599,57 +5628,58 @@ const re = {
|
|
|
5599
5628
|
onKeyDown: (u) => {
|
|
5600
5629
|
n == null || n(u), T && !u.defaultPrevented && u.target === u.currentTarget && (u.key === "Enter" || u.key === " ") && (u.preventDefault(), u.currentTarget.click());
|
|
5601
5630
|
},
|
|
5602
|
-
...
|
|
5631
|
+
...A,
|
|
5603
5632
|
children: i
|
|
5604
5633
|
}
|
|
5605
5634
|
);
|
|
5606
5635
|
});
|
|
5607
5636
|
export {
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5637
|
+
_t as A,
|
|
5638
|
+
Fe as B,
|
|
5639
|
+
It as C,
|
|
5611
5640
|
R as D,
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
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,
|
|
5626
5655
|
I as S,
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5656
|
+
Mt as T,
|
|
5657
|
+
it as U,
|
|
5658
|
+
ot as V,
|
|
5659
|
+
te as a,
|
|
5660
|
+
qt as b,
|
|
5661
|
+
Bt as c,
|
|
5632
5662
|
k as d,
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5663
|
+
Ge as e,
|
|
5664
|
+
Yt as f,
|
|
5665
|
+
Ce as g,
|
|
5636
5666
|
L as h,
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
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,
|
|
5644
5674
|
a as p,
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5675
|
+
Nt as q,
|
|
5676
|
+
Ae as r,
|
|
5677
|
+
Dt as s,
|
|
5678
|
+
Pt as t,
|
|
5679
|
+
jt as u,
|
|
5680
|
+
Te as v,
|
|
5651
5681
|
D as w,
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5682
|
+
St as x,
|
|
5683
|
+
Ot as y,
|
|
5684
|
+
Rt as z
|
|
5655
5685
|
};
|