@abyss-project/commons-front-core 21.4.4 → 21.5.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 +12 -0
- package/dist/{CookieConsentSettings-C0ykq4wO.js → CookieConsentSettings-JnVg_LK2.js} +1 -1
- package/dist/{Surface-CGXispdx.js → Surface-BSaVNCQB.js} +294 -224
- package/dist/{Tabs-ClzW7E5h.js → Tabs-DlztwHTB.js} +1 -1
- package/dist/components/LinkStatsPanel/LinkStatsPanel.spec.d.ts +1 -0
- package/dist/components/LinkStatsPanel/index.d.ts +3 -0
- package/dist/components/LinkStatsPanel/link-stats-range.d.ts +10 -0
- package/dist/components/LinkStatsPanel/link-stats-range.spec.d.ts +1 -0
- package/dist/components/LinkStatsPanel/use-link-stats-by-origin.d.ts +13 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/cookie-consent.js +2 -2
- package/dist/{editors-CnlNL7Oo.js → editors-DtSWARzF.js} +27 -27
- package/dist/editors.js +1 -1
- package/dist/hooks/use-rich-intl.hook.d.ts +64 -0
- package/dist/{index-BI6iFcQ4.js → index-3QNmXVou.js} +2 -2
- package/dist/{index-l_DrWlvO.js → index-B27TqeVc.js} +2 -2
- package/dist/{index-CQLqh-gk.js → index-B_brfyuS.js} +2 -2
- package/dist/{index-CzuHZ4xK.js → index-BeM8FRDV.js} +2 -2
- package/dist/{index-XOO630d1.js → index-BhIJ2JLT.js} +3 -3
- package/dist/{index-BU7TazlY.js → index-BypVAuSd.js} +2 -2
- package/dist/{index-BjgmH6Hy.js → index-CWpn58Dl.js} +2 -2
- package/dist/{index-6mbLA8S0.js → index-CoHmgDgN.js} +2 -2
- package/dist/{index-CvMJZ-GZ.js → index-CrCFfSgX.js} +2 -2
- package/dist/{index-BsVeEo8p.js → index-D1hPS3Ao.js} +4 -4
- package/dist/{index-BtDjHQ_-.js → index-DDykQjHr.js} +2 -2
- package/dist/{index-CqU1NLxf.js → index-DJwDjPvp.js} +2 -2
- package/dist/{index-BXFYoODV.js → index-DWM_TDWv.js} +4 -4
- package/dist/{index-BurrDopX.js → index-DYr8EuPL.js} +3 -3
- package/dist/{index-DgWE_ele.js → index-DuQKxzT3.js} +2 -2
- package/dist/{index-4W6C4eVQ.js → index-H8Fs3-Nw.js} +1 -1
- package/dist/{index-DzxQgpVI.js → index-NadodU95.js} +3 -3
- package/dist/{index-COfIU9Ha.js → index-PV6fILN2.js} +2 -2
- package/dist/{index-BIklPoHY.js → index-cHcfvTo0.js} +3 -3
- package/dist/{index-BVOFK3Qe.js → index-ezygrHM0.js} +2 -2
- package/dist/{index-DH_QoE8c.js → index-vSNwWEdM.js} +4 -4
- package/dist/index.js +21126 -19216
- package/dist/translations/en.d.ts +32 -0
- package/dist/translations/fr.d.ts +32 -0
- package/dist/utils/billing.utils.d.ts +2 -1
- package/package.json +5 -3
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx as d, jsxs as
|
|
2
|
-
import { createContext as
|
|
1
|
+
import { jsx as d, jsxs as C } from "react/jsx-runtime";
|
|
2
|
+
import { createContext as ue, useContext as pe, useId as B, useRef as Y, useState as q, useCallback as Q, useMemo as me, forwardRef as he } from "react";
|
|
3
3
|
import { useIntl as G } from "react-intl";
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import { alpha as
|
|
7
|
-
import
|
|
4
|
+
import ge from "@mui/material/Dialog";
|
|
5
|
+
import Z from "@mui/material/IconButton";
|
|
6
|
+
import { alpha as fe, styled as p, useTheme as ve } from "@mui/material/styles";
|
|
7
|
+
import ee from "@mui/icons-material/Close";
|
|
8
8
|
import V from "@mui/material/useMediaQuery";
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import { enTranslation as
|
|
12
|
-
import { l as
|
|
13
|
-
var
|
|
14
|
-
const
|
|
9
|
+
import ye from "@mui/material/Modal";
|
|
10
|
+
import Ae from "@mui/material/Slide";
|
|
11
|
+
import { enTranslation as be, frTranslation as Ee } from "@abyss-project/main";
|
|
12
|
+
import { l as te } from "./lazy-value-Co76vxsM.js";
|
|
13
|
+
var Te = /* @__PURE__ */ ((e) => (e.Dark = "dark", e.Light = "light", e))(Te || {});
|
|
14
|
+
const Se = 266, c = (e, t) => ({ l: e, c: t, h: Se }), Ct = {
|
|
15
15
|
dark: {
|
|
16
16
|
1: c(0.155, 0.034),
|
|
17
17
|
2: c(0.17, 0.036),
|
|
@@ -40,10 +40,10 @@ const be = 266, c = (e, t) => ({ l: e, c: t, h: be }), St = {
|
|
|
40
40
|
11: c(0.42, 0.045),
|
|
41
41
|
12: c(0.22, 0.045)
|
|
42
42
|
}
|
|
43
|
-
},
|
|
43
|
+
}, Ot = {
|
|
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
|
+
}, _t = {
|
|
47
47
|
caption: 11,
|
|
48
48
|
small: 12,
|
|
49
49
|
body: 13,
|
|
@@ -53,20 +53,20 @@ const be = 266, c = (e, t) => ({ l: e, c: t, h: be }), St = {
|
|
|
53
53
|
pageTitle: 22,
|
|
54
54
|
figure: 26,
|
|
55
55
|
mobileLargeTitle: 30
|
|
56
|
-
},
|
|
56
|
+
}, oe = {
|
|
57
57
|
regular: 400,
|
|
58
58
|
medium: 500,
|
|
59
59
|
semibold: 600,
|
|
60
60
|
bold: 700
|
|
61
|
-
},
|
|
61
|
+
}, It = [0, 4, 8, 12, 16, 20, 24, 32, 40, 48, 64], wt = {
|
|
62
62
|
sm: 4,
|
|
63
63
|
md: 6,
|
|
64
64
|
lg: 12
|
|
65
|
-
},
|
|
65
|
+
}, Dt = {
|
|
66
66
|
fast: 120,
|
|
67
67
|
base: 180,
|
|
68
68
|
slow: 260
|
|
69
|
-
},
|
|
69
|
+
}, Lt = {
|
|
70
70
|
standard: "cubic-bezier(0.2, 0, 0, 1)",
|
|
71
71
|
sheet: "cubic-bezier(0.32, 0.72, 0, 1)"
|
|
72
72
|
}, H = {
|
|
@@ -75,16 +75,16 @@ const be = 266, c = (e, t) => ({ l: e, c: t, h: be }), St = {
|
|
|
75
75
|
md: 768,
|
|
76
76
|
lg: 1200,
|
|
77
77
|
xl: 1600
|
|
78
|
-
},
|
|
78
|
+
}, kt = {
|
|
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
|
|
84
|
+
const re = {
|
|
85
85
|
tablet: H.md,
|
|
86
86
|
desktop: H.lg
|
|
87
|
-
},
|
|
87
|
+
}, Re = 0.05, x = (e) => `(min-width:${re[e]}px)`, M = (e) => `(max-width:${re[e] - Re}px)`, k = {
|
|
88
88
|
/** From the start of `tier` up. */
|
|
89
89
|
up: (e) => `@media ${x(e)}`,
|
|
90
90
|
/** Below the start of `tier`. */
|
|
@@ -112,21 +112,21 @@ const oe = {
|
|
|
112
112
|
)}`;
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
},
|
|
115
|
+
}, Ne = 0.14, a = (e) => `${e}px`, L = (e) => `1px solid ${e}`, Pt = (e) => fe(e, Ne), Ce = (e) => ({
|
|
116
116
|
outline: `2px solid ${e.design.tokens["focus.ring"]}`,
|
|
117
117
|
outlineOffset: "2px"
|
|
118
|
-
}),
|
|
118
|
+
}), xt = (e, t) => t === "small" ? e.design.densityValues.compact.control : e.design.densityValues[e.design.density].control, Mt = (e) => e.design.densityValues[e.design.density].row, Ut = (e) => ({
|
|
119
119
|
[k.down(R.Tablet)]: {
|
|
120
120
|
minHeight: a(e.design.densityValues.touchTarget)
|
|
121
121
|
}
|
|
122
|
-
}),
|
|
122
|
+
}), Oe = (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
|
+
}), _e = (e, t, o = "fast") => t.map(
|
|
128
128
|
(r) => `${r} ${e.design.durations[o]}ms ${e.design.easings.standard}`
|
|
129
|
-
).join(", "),
|
|
129
|
+
).join(", "), Ie = () => {
|
|
130
130
|
const e = V(k.up(R.Desktop), {
|
|
131
131
|
noSsr: !0
|
|
132
132
|
}), t = V(k.down(R.Tablet), {
|
|
@@ -135,7 +135,7 @@ const oe = {
|
|
|
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}))`, we = 0.3, De = ue(!1), Ft = () => pe(De), Le = p("div")({
|
|
139
139
|
position: "absolute",
|
|
140
140
|
left: 0,
|
|
141
141
|
right: 0,
|
|
@@ -143,8 +143,8 @@ const D = (e, t) => `calc(${a(t)} + env(safe-area-inset-${e}))`, Oe = 0.3, _e =
|
|
|
143
143
|
maxHeight: "100%",
|
|
144
144
|
display: "flex",
|
|
145
145
|
outline: "none"
|
|
146
|
-
}),
|
|
147
|
-
const { tokens: t, radii: o, space: r, elevations: i, fonts:
|
|
146
|
+
}), ke = p("div")(({ theme: e }) => {
|
|
147
|
+
const { tokens: t, radii: o, space: r, elevations: i, fonts: s } = e.design;
|
|
148
148
|
return {
|
|
149
149
|
flex: "1 1 auto",
|
|
150
150
|
minWidth: 0,
|
|
@@ -158,7 +158,7 @@ const D = (e, t) => `calc(${a(t)} + env(safe-area-inset-${e}))`, Oe = 0.3, _e =
|
|
|
158
158
|
paddingRight: D(I.Right, r[4]),
|
|
159
159
|
backgroundColor: t["bg.surface"],
|
|
160
160
|
color: t["text.primary"],
|
|
161
|
-
fontFamily:
|
|
161
|
+
fontFamily: s.sans,
|
|
162
162
|
borderTop: L(t["border.strong"]),
|
|
163
163
|
borderTopLeftRadius: a(o.lg),
|
|
164
164
|
borderTopRightRadius: a(o.lg),
|
|
@@ -166,12 +166,12 @@ const D = (e, t) => `calc(${a(t)} + env(safe-area-inset-${e}))`, Oe = 0.3, _e =
|
|
|
166
166
|
outline: "none",
|
|
167
167
|
position: "relative"
|
|
168
168
|
};
|
|
169
|
-
}),
|
|
169
|
+
}), Pe = p(Z)(({ 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
|
+
...Oe(e)
|
|
174
|
+
})), xe = 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}))`, Oe = 0.3, _e =
|
|
|
183
183
|
touchAction: "none",
|
|
184
184
|
cursor: "grab"
|
|
185
185
|
};
|
|
186
|
-
}),
|
|
186
|
+
}), Me = 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}))`, Oe = 0.3, _e =
|
|
|
191
191
|
borderRadius: a(o.sm),
|
|
192
192
|
backgroundColor: t["border.strong"]
|
|
193
193
|
};
|
|
194
|
-
}),
|
|
194
|
+
}), Ue = 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,54 +201,54 @@ const D = (e, t) => `calc(${a(t)} + env(safe-area-inset-${e}))`, Oe = 0.3, _e =
|
|
|
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: oe.semibold,
|
|
205
205
|
overflowWrap: "anywhere"
|
|
206
206
|
};
|
|
207
|
-
}),
|
|
207
|
+
}), Fe = p("span")(({ theme: e }) => ({
|
|
208
208
|
display: "inline-flex",
|
|
209
209
|
verticalAlign: "middle",
|
|
210
210
|
marginRight: a(e.design.space[2])
|
|
211
|
-
})),
|
|
211
|
+
})), Be = p("div")({
|
|
212
212
|
flex: "1 1 auto",
|
|
213
213
|
minHeight: 0,
|
|
214
214
|
overflowY: "auto",
|
|
215
215
|
overscrollBehavior: "contain"
|
|
216
|
-
}),
|
|
216
|
+
}), Ge = 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 ze({
|
|
222
222
|
open: e,
|
|
223
223
|
onClose: t,
|
|
224
224
|
title: o,
|
|
225
225
|
titleIcon: r,
|
|
226
226
|
closeLabel: i,
|
|
227
|
-
footer:
|
|
228
|
-
children:
|
|
227
|
+
footer: s,
|
|
228
|
+
children: y
|
|
229
229
|
}) {
|
|
230
|
-
const
|
|
231
|
-
S.currentTarget.setPointerCapture(S.pointerId), m.current = S.clientY,
|
|
230
|
+
const v = ve(), A = G(), f = B(), T = Y(null), m = Y(null), [N, u] = q(0), [l, n] = q(!1), h = (S) => {
|
|
231
|
+
S.currentTarget.setPointerCapture(S.pointerId), m.current = S.clientY, n(!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 j;
|
|
236
236
|
if (m.current === null)
|
|
237
237
|
return;
|
|
238
|
-
const
|
|
239
|
-
m.current = null,
|
|
238
|
+
const de = Math.max(0, S.clientY - m.current), z = ((j = T.current) == null ? void 0 : j.getBoundingClientRect().height) ?? 0;
|
|
239
|
+
m.current = null, n(!1), u(0), z > 0 && de >= z * we && t();
|
|
240
240
|
}, _ = () => {
|
|
241
|
-
m.current = null,
|
|
241
|
+
m.current = null, n(!1), u(0);
|
|
242
242
|
};
|
|
243
|
-
return /* @__PURE__ */ d(
|
|
244
|
-
|
|
243
|
+
return /* @__PURE__ */ d(ye, { open: e, onClose: () => t(), children: /* @__PURE__ */ d(
|
|
244
|
+
Ae,
|
|
245
245
|
{
|
|
246
246
|
in: e,
|
|
247
247
|
direction: "up",
|
|
248
|
-
timeout:
|
|
249
|
-
easing:
|
|
250
|
-
children: /* @__PURE__ */ d(
|
|
251
|
-
|
|
248
|
+
timeout: v.design.durations.slow,
|
|
249
|
+
easing: v.design.easings.sheet,
|
|
250
|
+
children: /* @__PURE__ */ d(Le, { children: /* @__PURE__ */ C(
|
|
251
|
+
ke,
|
|
252
252
|
{
|
|
253
253
|
ref: T,
|
|
254
254
|
role: "dialog",
|
|
@@ -260,12 +260,12 @@ function Fe({
|
|
|
260
260
|
// No transform at rest: a transformed panel is the containing block of whatever is
|
|
261
261
|
// `position: fixed` inside it (the cookie banner hosted by the sheet), and would anchor it to
|
|
262
262
|
// the panel instead of the viewport.
|
|
263
|
-
transform:
|
|
264
|
-
transition: l ? "none" : `transform ${
|
|
263
|
+
transform: N === 0 && !l ? "none" : `translateY(${a(N)})`,
|
|
264
|
+
transition: l ? "none" : `transform ${v.design.durations.base}ms ${v.design.easings.sheet}`
|
|
265
265
|
},
|
|
266
266
|
children: [
|
|
267
|
-
/* @__PURE__ */
|
|
268
|
-
|
|
267
|
+
/* @__PURE__ */ C(
|
|
268
|
+
xe,
|
|
269
269
|
{
|
|
270
270
|
"data-testid": "bottom-sheet-drag-zone",
|
|
271
271
|
onPointerDown: h,
|
|
@@ -273,26 +273,26 @@ function Fe({
|
|
|
273
273
|
onPointerUp: E,
|
|
274
274
|
onPointerCancel: _,
|
|
275
275
|
children: [
|
|
276
|
-
/* @__PURE__ */ d(
|
|
277
|
-
o ? /* @__PURE__ */
|
|
278
|
-
r !== void 0 && /* @__PURE__ */ d(
|
|
276
|
+
/* @__PURE__ */ d(Me, { "aria-hidden": "true" }),
|
|
277
|
+
o ? /* @__PURE__ */ C(Ue, { id: f, besideClose: i !== void 0, children: [
|
|
278
|
+
r !== void 0 && /* @__PURE__ */ d(Fe, { "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
|
-
|
|
284
|
+
i !== void 0 && /* @__PURE__ */ d(Pe, { "aria-label": i, onClick: () => t(), children: /* @__PURE__ */ d(ee, { "aria-hidden": !0 }) }),
|
|
285
|
+
/* @__PURE__ */ d(Be, { children: y }),
|
|
286
|
+
s !== void 0 && /* @__PURE__ */ d(Ge, { children: s })
|
|
287
287
|
]
|
|
288
288
|
}
|
|
289
289
|
) })
|
|
290
290
|
}
|
|
291
291
|
) });
|
|
292
292
|
}
|
|
293
|
-
const
|
|
294
|
-
var
|
|
295
|
-
const
|
|
293
|
+
const Bt = "--abyss-toast-clearance", Gt = "--abyss-cookie-banner-modal-clearance", zt = "--abyss-toast-dialog-foot-clearance", je = "data-abyss-dialog-foot";
|
|
294
|
+
var Ye = /* @__PURE__ */ ((e) => (e.Small = "sm", e.Medium = "md", e.Large = "lg", e))(Ye || {});
|
|
295
|
+
const qe = p(ge)(({ 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 ze = p(pe)(({ theme: e }) => {
|
|
|
307
307
|
width: `calc(100% - ${a(r[7])})`
|
|
308
308
|
}
|
|
309
309
|
};
|
|
310
|
-
}),
|
|
310
|
+
}), Ve = 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 ze = p(pe)(({ theme: e }) => {
|
|
|
318
318
|
padding: `${a(o[4])} ${a(o[5])}`,
|
|
319
319
|
borderBottom: L(t["border.subtle"])
|
|
320
320
|
};
|
|
321
|
-
}),
|
|
321
|
+
}), He = p("div")({ minWidth: 0 }), We = 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
|
+
})), Ke = p("span")({
|
|
327
327
|
flex: "none",
|
|
328
328
|
display: "inline-flex"
|
|
329
|
-
}),
|
|
329
|
+
}), Xe = p("h2")(({ theme: e }) => ({
|
|
330
330
|
margin: 0,
|
|
331
331
|
fontSize: a(e.design.typeScale.sectionTitle),
|
|
332
|
-
fontWeight:
|
|
332
|
+
fontWeight: oe.semibold,
|
|
333
333
|
overflowWrap: "anywhere"
|
|
334
|
-
})),
|
|
334
|
+
})), Je = 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 ze = p(pe)(({ theme: e }) => {
|
|
|
339
339
|
fontSize: a(r.body),
|
|
340
340
|
overflowWrap: "anywhere"
|
|
341
341
|
};
|
|
342
|
-
}),
|
|
342
|
+
}), $e = 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
|
+
})), Qe = p("div")(({ theme: e }) => {
|
|
349
349
|
const { tokens: t, space: o } = e.design;
|
|
350
350
|
return {
|
|
351
351
|
flex: "none",
|
|
@@ -357,12 +357,12 @@ const ze = p(pe)(({ theme: e }) => {
|
|
|
357
357
|
padding: `${a(o[3])} ${a(o[5])}`,
|
|
358
358
|
borderTop: L(t["border.subtle"])
|
|
359
359
|
};
|
|
360
|
-
}),
|
|
360
|
+
}), Ze = 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
|
+
})), et = p("div")(({ theme: e }) => ({
|
|
366
366
|
display: "flex",
|
|
367
367
|
flexWrap: "wrap",
|
|
368
368
|
gap: a(e.design.space[2]),
|
|
@@ -370,65 +370,65 @@ const ze = p(pe)(({ theme: e }) => {
|
|
|
370
370
|
// stacks them, each growing to the full width.
|
|
371
371
|
"& > *": { flex: "1 1 auto", minWidth: "fit-content" }
|
|
372
372
|
}));
|
|
373
|
-
function
|
|
373
|
+
function jt({
|
|
374
374
|
open: e,
|
|
375
375
|
onClose: t,
|
|
376
376
|
title: o,
|
|
377
377
|
titleIcon: r,
|
|
378
378
|
description: i,
|
|
379
|
-
size:
|
|
380
|
-
actions:
|
|
381
|
-
children:
|
|
379
|
+
size: s = "md",
|
|
380
|
+
actions: y,
|
|
381
|
+
children: v
|
|
382
382
|
}) {
|
|
383
|
-
const A = G(), f =
|
|
384
|
-
return f ? /* @__PURE__ */
|
|
385
|
-
|
|
383
|
+
const A = G(), f = Ie() === R.Mobile, T = B(), m = B();
|
|
384
|
+
return f ? /* @__PURE__ */ C(
|
|
385
|
+
ze,
|
|
386
386
|
{
|
|
387
387
|
open: e,
|
|
388
388
|
onClose: t,
|
|
389
389
|
title: o,
|
|
390
390
|
titleIcon: r,
|
|
391
391
|
closeLabel: A.formatMessage({ id: "ds.layers.modal.close" }),
|
|
392
|
-
footer:
|
|
392
|
+
footer: y !== void 0 ? /* @__PURE__ */ d(et, { [je]: "", children: y }) : void 0,
|
|
393
393
|
children: [
|
|
394
|
-
i !== void 0 && /* @__PURE__ */ d(
|
|
395
|
-
|
|
394
|
+
i !== void 0 && /* @__PURE__ */ d(Ze, { children: i }),
|
|
395
|
+
v
|
|
396
396
|
]
|
|
397
397
|
}
|
|
398
|
-
) : /* @__PURE__ */
|
|
399
|
-
|
|
398
|
+
) : /* @__PURE__ */ C(
|
|
399
|
+
qe,
|
|
400
400
|
{
|
|
401
401
|
open: e,
|
|
402
402
|
onClose: () => t(),
|
|
403
|
-
maxWidth:
|
|
403
|
+
maxWidth: s,
|
|
404
404
|
fullWidth: !0,
|
|
405
405
|
"aria-labelledby": T,
|
|
406
406
|
"aria-describedby": i !== void 0 ? m : void 0,
|
|
407
407
|
children: [
|
|
408
|
-
/* @__PURE__ */
|
|
409
|
-
/* @__PURE__ */
|
|
410
|
-
r !== void 0 && /* @__PURE__ */ d(
|
|
411
|
-
/* @__PURE__ */
|
|
412
|
-
/* @__PURE__ */ d(
|
|
413
|
-
i !== void 0 && /* @__PURE__ */ d(
|
|
408
|
+
/* @__PURE__ */ C(Ve, { children: [
|
|
409
|
+
/* @__PURE__ */ C(We, { children: [
|
|
410
|
+
r !== void 0 && /* @__PURE__ */ d(Ke, { "aria-hidden": "true", children: r }),
|
|
411
|
+
/* @__PURE__ */ C(He, { children: [
|
|
412
|
+
/* @__PURE__ */ d(Xe, { id: T, children: o }),
|
|
413
|
+
i !== void 0 && /* @__PURE__ */ d(Je, { id: m, children: i })
|
|
414
414
|
] })
|
|
415
415
|
] }),
|
|
416
416
|
/* @__PURE__ */ d(
|
|
417
|
-
|
|
417
|
+
Z,
|
|
418
418
|
{
|
|
419
419
|
"aria-label": A.formatMessage({ id: "ds.layers.modal.close" }),
|
|
420
420
|
onClick: t,
|
|
421
|
-
children: /* @__PURE__ */ d(
|
|
421
|
+
children: /* @__PURE__ */ d(ee, { "aria-hidden": !0 })
|
|
422
422
|
}
|
|
423
423
|
)
|
|
424
424
|
] }),
|
|
425
|
-
/* @__PURE__ */ d(
|
|
426
|
-
|
|
425
|
+
/* @__PURE__ */ d($e, { children: v }),
|
|
426
|
+
y !== void 0 && /* @__PURE__ */ d(Qe, { children: y })
|
|
427
427
|
]
|
|
428
428
|
}
|
|
429
429
|
);
|
|
430
430
|
}
|
|
431
|
-
const W = (e) => e,
|
|
431
|
+
const W = (e) => e, ie = {
|
|
432
432
|
fr: W({
|
|
433
433
|
PROJECTS_COUNT: "Projets",
|
|
434
434
|
MEMBERS_COUNT: "Membres",
|
|
@@ -564,8 +564,8 @@ const W = (e) => e, re = {
|
|
|
564
564
|
BANKING_SYSTEM_RESNAPSHOTS_MONTH: "System resnapshots / month"
|
|
565
565
|
})
|
|
566
566
|
};
|
|
567
|
-
var
|
|
568
|
-
const
|
|
567
|
+
var ae = /* @__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))(ae || {}), se = /* @__PURE__ */ ((e) => (e.VIEW = "VIEW", e.EDIT = "EDIT", e.MANAGE = "MANAGE", e))(se || {});
|
|
568
|
+
const tt = (e) => e.toLowerCase().replace(/_/g, "-"), Yt = Object.values(ae).map(tt), qt = (e) => typeof e == "string" && Object.values(se).includes(e) ? e : "unknown", K = (e) => e, P = {
|
|
569
569
|
fr: K({
|
|
570
570
|
labels: {
|
|
571
571
|
draw: "un dessin",
|
|
@@ -628,27 +628,40 @@ const Qe = (e) => e.toLowerCase().replace(/_/g, "-"), Gt = Object.values(ie).map
|
|
|
628
628
|
},
|
|
629
629
|
withName: '{label} "{name}"'
|
|
630
630
|
})
|
|
631
|
+
}, X = (e) => e, ne = {
|
|
632
|
+
fr: X({
|
|
633
|
+
VIEW: "accès en lecture",
|
|
634
|
+
EDIT: "accès en édition",
|
|
635
|
+
MANAGE: "accès en gestion",
|
|
636
|
+
unknown: "accès partagé"
|
|
637
|
+
}),
|
|
638
|
+
en: X({
|
|
639
|
+
VIEW: "view access",
|
|
640
|
+
EDIT: "edit access",
|
|
641
|
+
MANAGE: "manage access",
|
|
642
|
+
unknown: "shared access"
|
|
643
|
+
})
|
|
631
644
|
};
|
|
632
645
|
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 || {});
|
|
633
|
-
const
|
|
646
|
+
const ot = {
|
|
634
647
|
[w.FREEMIUM]: O.FREEMIUM,
|
|
635
648
|
[w.DEFAULT]: "paid",
|
|
636
649
|
[w.SYSTEM]: O.INTERNAL,
|
|
637
650
|
[w.CUSTOM]: O.CUSTOM
|
|
638
|
-
},
|
|
639
|
-
const o = (
|
|
640
|
-
const A = e[`${
|
|
651
|
+
}, rt = new Set(Object.values(O)), U = (e) => e ? e.tier === w.CUSTOM ? O.CUSTOM : e.catalogKey && rt.has(e.catalogKey) ? e.catalogKey : ot[e.tier] ?? "paid" : O.FREEMIUM, Vt = (e, t) => {
|
|
652
|
+
const o = (v) => {
|
|
653
|
+
const A = e[`${v}Tier`];
|
|
641
654
|
if (typeof A != "string")
|
|
642
655
|
return null;
|
|
643
|
-
const f = e[`${
|
|
656
|
+
const f = e[`${v}CatalogKey`];
|
|
644
657
|
return {
|
|
645
658
|
tier: A,
|
|
646
659
|
catalogKey: typeof f == "string" ? f : null
|
|
647
660
|
};
|
|
648
|
-
}, r = {}, i = o("plan"),
|
|
649
|
-
return i && (r.planName = t(U(i))),
|
|
650
|
-
},
|
|
651
|
-
fr:
|
|
661
|
+
}, r = {}, i = o("plan"), s = o("oldPlan"), y = o("newPlan");
|
|
662
|
+
return i && (r.planName = t(U(i))), s && (r.oldPlanName = t(U(s))), y && (r.newPlanName = t(U(y))), r;
|
|
663
|
+
}, J = (e) => e, g = {
|
|
664
|
+
fr: J({
|
|
652
665
|
freemium: "Gratuit",
|
|
653
666
|
starter: "Starter",
|
|
654
667
|
pro: "Pro",
|
|
@@ -660,7 +673,7 @@ const Ze = {
|
|
|
660
673
|
custom: "Plan personnalisé",
|
|
661
674
|
paid: "Plan payant"
|
|
662
675
|
}),
|
|
663
|
-
en:
|
|
676
|
+
en: J({
|
|
664
677
|
freemium: "Free",
|
|
665
678
|
starter: "Starter",
|
|
666
679
|
pro: "Pro",
|
|
@@ -672,7 +685,7 @@ const Ze = {
|
|
|
672
685
|
custom: "Custom plan",
|
|
673
686
|
paid: "Paid plan"
|
|
674
687
|
})
|
|
675
|
-
},
|
|
688
|
+
}, it = {
|
|
676
689
|
banner: {
|
|
677
690
|
title: "Compte de démonstration",
|
|
678
691
|
summary: "{label} · expire le {date}",
|
|
@@ -687,8 +700,8 @@ const Ze = {
|
|
|
687
700
|
}
|
|
688
701
|
},
|
|
689
702
|
blocked: "Indisponible en démo"
|
|
690
|
-
},
|
|
691
|
-
demo:
|
|
703
|
+
}, at = {
|
|
704
|
+
demo: it,
|
|
692
705
|
"space-display-name": {
|
|
693
706
|
personal: "Mon Cloud",
|
|
694
707
|
"perso-in-org": "Mon Cloud (dans org)",
|
|
@@ -767,7 +780,7 @@ const Ze = {
|
|
|
767
780
|
},
|
|
768
781
|
// Metric names come from @abyss-project/main's `billing-metric-label` table, their single
|
|
769
782
|
// source (the invoices, their PDF and the overage e-mail read it too).
|
|
770
|
-
metric:
|
|
783
|
+
metric: ie.fr
|
|
771
784
|
},
|
|
772
785
|
"error-page": {
|
|
773
786
|
title: "Une erreur est survenue",
|
|
@@ -1059,7 +1072,7 @@ const Ze = {
|
|
|
1059
1072
|
},
|
|
1060
1073
|
"content-shared": {
|
|
1061
1074
|
title: "{sharedByUserName} a partagé {contentLabel} avec vous",
|
|
1062
|
-
body:
|
|
1075
|
+
body: "« {contentTitle} » — {permission}"
|
|
1063
1076
|
},
|
|
1064
1077
|
"invitation-org-member": {
|
|
1065
1078
|
title: "{inviterAlias} vous invite à rejoindre {organizationName}",
|
|
@@ -1078,7 +1091,9 @@ const Ze = {
|
|
|
1078
1091
|
// The labels of a shared content come from @abyss-project/main's `content-share-label` table,
|
|
1079
1092
|
// their single source (#833), read by the API e-mails too.
|
|
1080
1093
|
label: P.fr.labels,
|
|
1081
|
-
"label-with-name": P.fr.withName
|
|
1094
|
+
"label-with-name": P.fr.withName,
|
|
1095
|
+
// Same entry, same shape: `content-share.permission.<value>`, `unknown` for any other (#834).
|
|
1096
|
+
permission: ne.fr
|
|
1082
1097
|
},
|
|
1083
1098
|
"pending-invitations": {
|
|
1084
1099
|
label: "Invitations en attente",
|
|
@@ -1094,6 +1109,32 @@ const Ze = {
|
|
|
1094
1109
|
"group-own": "Projets de l'organisation",
|
|
1095
1110
|
"group-shared": "Projets partagés avec vous"
|
|
1096
1111
|
},
|
|
1112
|
+
"link-stats": {
|
|
1113
|
+
title: "Ouvertures de l’adresse courte",
|
|
1114
|
+
"period-default": "Sur les 30 derniers jours",
|
|
1115
|
+
"period-since": "Depuis le {date}",
|
|
1116
|
+
visits: {
|
|
1117
|
+
label: "Ouvertures"
|
|
1118
|
+
},
|
|
1119
|
+
"unique-visitors": {
|
|
1120
|
+
label: "Visiteurs uniques par jour",
|
|
1121
|
+
subtext: "Somme des visiteurs distincts de chaque jour"
|
|
1122
|
+
},
|
|
1123
|
+
"last-visit": {
|
|
1124
|
+
subtext: "Dernière ouverture : {elapsed}",
|
|
1125
|
+
never: "Dernière ouverture : jamais"
|
|
1126
|
+
},
|
|
1127
|
+
"no-address": {
|
|
1128
|
+
title: "Pas encore d’adresse courte",
|
|
1129
|
+
description: "L’adresse courte de cette ressource n’a pas encore été créée. Ses ouvertures apparaîtront ici."
|
|
1130
|
+
},
|
|
1131
|
+
"no-visits": {
|
|
1132
|
+
title: "Aucune ouverture sur la période",
|
|
1133
|
+
description: "Personne n’a encore ouvert l’adresse courte. Partagez-la pour voir ses ouvertures ici."
|
|
1134
|
+
},
|
|
1135
|
+
forbidden: "Les statistiques s’ouvrent à partir du droit de modification sur cette ressource.",
|
|
1136
|
+
error: "Les statistiques de l’adresse courte n’ont pas pu être chargées."
|
|
1137
|
+
},
|
|
1097
1138
|
"no-subscription": "Aucun abonnement",
|
|
1098
1139
|
"user-settings": {
|
|
1099
1140
|
profile: {
|
|
@@ -3074,7 +3115,7 @@ const Ze = {
|
|
|
3074
3115
|
show: "Afficher le mot de passe",
|
|
3075
3116
|
hide: "Masquer le mot de passe"
|
|
3076
3117
|
}
|
|
3077
|
-
},
|
|
3118
|
+
}, st = {
|
|
3078
3119
|
banner: {
|
|
3079
3120
|
title: "Demo account",
|
|
3080
3121
|
summary: "{label} · expires on {date}",
|
|
@@ -3089,8 +3130,8 @@ const Ze = {
|
|
|
3089
3130
|
}
|
|
3090
3131
|
},
|
|
3091
3132
|
blocked: "Unavailable in demo"
|
|
3092
|
-
},
|
|
3093
|
-
demo:
|
|
3133
|
+
}, nt = {
|
|
3134
|
+
demo: st,
|
|
3094
3135
|
"space-display-name": {
|
|
3095
3136
|
personal: "My Cloud",
|
|
3096
3137
|
"perso-in-org": "My Cloud (in org)",
|
|
@@ -3169,7 +3210,7 @@ const Ze = {
|
|
|
3169
3210
|
},
|
|
3170
3211
|
// Metric names come from @abyss-project/main's `billing-metric-label` table, their single
|
|
3171
3212
|
// source (the invoices, their PDF and the overage e-mail read it too).
|
|
3172
|
-
metric:
|
|
3213
|
+
metric: ie.en
|
|
3173
3214
|
},
|
|
3174
3215
|
"error-page": {
|
|
3175
3216
|
title: "Something went wrong",
|
|
@@ -3461,7 +3502,7 @@ const Ze = {
|
|
|
3461
3502
|
},
|
|
3462
3503
|
"content-shared": {
|
|
3463
3504
|
title: "{sharedByUserName} shared {contentLabel} with you",
|
|
3464
|
-
body: '"{contentTitle}" — {permission}
|
|
3505
|
+
body: '"{contentTitle}" — {permission}'
|
|
3465
3506
|
},
|
|
3466
3507
|
"invitation-org-member": {
|
|
3467
3508
|
title: "{inviterAlias} invited you to join {organizationName}",
|
|
@@ -3480,7 +3521,9 @@ const Ze = {
|
|
|
3480
3521
|
// The labels of a shared content come from @abyss-project/main's `content-share-label` table,
|
|
3481
3522
|
// their single source (#833), read by the API e-mails too.
|
|
3482
3523
|
label: P.en.labels,
|
|
3483
|
-
"label-with-name": P.en.withName
|
|
3524
|
+
"label-with-name": P.en.withName,
|
|
3525
|
+
// Same entry, same shape: `content-share.permission.<value>`, `unknown` for any other (#834).
|
|
3526
|
+
permission: ne.en
|
|
3484
3527
|
},
|
|
3485
3528
|
"pending-invitations": {
|
|
3486
3529
|
label: "Pending invitations",
|
|
@@ -3496,6 +3539,32 @@ const Ze = {
|
|
|
3496
3539
|
"group-own": "Organization projects",
|
|
3497
3540
|
"group-shared": "Projects shared with you"
|
|
3498
3541
|
},
|
|
3542
|
+
"link-stats": {
|
|
3543
|
+
title: "Short address openings",
|
|
3544
|
+
"period-default": "Over the last 30 days",
|
|
3545
|
+
"period-since": "Since {date}",
|
|
3546
|
+
visits: {
|
|
3547
|
+
label: "Openings"
|
|
3548
|
+
},
|
|
3549
|
+
"unique-visitors": {
|
|
3550
|
+
label: "Unique visitors per day",
|
|
3551
|
+
subtext: "Sum of each day’s distinct visitors"
|
|
3552
|
+
},
|
|
3553
|
+
"last-visit": {
|
|
3554
|
+
subtext: "Last opening: {elapsed}",
|
|
3555
|
+
never: "Last opening: never"
|
|
3556
|
+
},
|
|
3557
|
+
"no-address": {
|
|
3558
|
+
title: "No short address yet",
|
|
3559
|
+
description: "The short address of this resource has not been created yet. Its openings will show here."
|
|
3560
|
+
},
|
|
3561
|
+
"no-visits": {
|
|
3562
|
+
title: "No openings over the period",
|
|
3563
|
+
description: "Nobody has opened the short address yet. Share it to see its openings here."
|
|
3564
|
+
},
|
|
3565
|
+
forbidden: "Statistics are available from the edit permission on this resource.",
|
|
3566
|
+
error: "The short address statistics could not be loaded."
|
|
3567
|
+
},
|
|
3499
3568
|
"no-subscription": "No subscription",
|
|
3500
3569
|
"user-settings": {
|
|
3501
3570
|
profile: {
|
|
@@ -5477,45 +5546,45 @@ const Ze = {
|
|
|
5477
5546
|
hide: "Hide password"
|
|
5478
5547
|
}
|
|
5479
5548
|
};
|
|
5480
|
-
var F,
|
|
5481
|
-
function
|
|
5482
|
-
if (
|
|
5483
|
-
|
|
5549
|
+
var F, $;
|
|
5550
|
+
function lt() {
|
|
5551
|
+
if ($) return F;
|
|
5552
|
+
$ = 1, F = o, o.flatten = o, o.unflatten = r;
|
|
5484
5553
|
function e(i) {
|
|
5485
5554
|
return i && i.constructor && typeof i.constructor.isBuffer == "function" && i.constructor.isBuffer(i);
|
|
5486
5555
|
}
|
|
5487
5556
|
function t(i) {
|
|
5488
5557
|
return i;
|
|
5489
5558
|
}
|
|
5490
|
-
function o(i,
|
|
5491
|
-
|
|
5492
|
-
const
|
|
5493
|
-
function T(m,
|
|
5559
|
+
function o(i, s) {
|
|
5560
|
+
s = s || {};
|
|
5561
|
+
const y = s.delimiter || ".", v = s.maxDepth, A = s.transformKey || t, f = {};
|
|
5562
|
+
function T(m, N, u) {
|
|
5494
5563
|
u = u || 1, Object.keys(m).forEach(function(l) {
|
|
5495
|
-
const
|
|
5496
|
-
if (!h && !E && _ && Object.keys(
|
|
5497
|
-
return T(
|
|
5498
|
-
f[S] =
|
|
5564
|
+
const n = m[l], h = s.safe && Array.isArray(n), b = Object.prototype.toString.call(n), E = e(n), _ = b === "[object Object]" || b === "[object Array]", S = N ? N + y + A(l) : A(l);
|
|
5565
|
+
if (!h && !E && _ && Object.keys(n).length && (!s.maxDepth || u < v))
|
|
5566
|
+
return T(n, S, u + 1);
|
|
5567
|
+
f[S] = n;
|
|
5499
5568
|
});
|
|
5500
5569
|
}
|
|
5501
5570
|
return T(i), f;
|
|
5502
5571
|
}
|
|
5503
|
-
function r(i,
|
|
5504
|
-
|
|
5505
|
-
const
|
|
5572
|
+
function r(i, s) {
|
|
5573
|
+
s = s || {};
|
|
5574
|
+
const y = s.delimiter || ".", v = s.overwrite || !1, A = s.transformKey || t, f = {};
|
|
5506
5575
|
if (e(i) || Object.prototype.toString.call(i) !== "[object Object]")
|
|
5507
5576
|
return i;
|
|
5508
5577
|
function m(l) {
|
|
5509
|
-
const
|
|
5510
|
-
return isNaN(
|
|
5578
|
+
const n = Number(l);
|
|
5579
|
+
return isNaN(n) || l.indexOf(".") !== -1 || s.object ? l : n;
|
|
5511
5580
|
}
|
|
5512
|
-
function
|
|
5581
|
+
function N(l, n, h) {
|
|
5513
5582
|
return Object.keys(h).reduce(function(b, E) {
|
|
5514
|
-
return b[l +
|
|
5515
|
-
},
|
|
5583
|
+
return b[l + y + E] = h[E], b;
|
|
5584
|
+
}, n);
|
|
5516
5585
|
}
|
|
5517
5586
|
function u(l) {
|
|
5518
|
-
const
|
|
5587
|
+
const n = Object.prototype.toString.call(l), h = n === "[object Array]", b = n === "[object Object]";
|
|
5519
5588
|
if (l) {
|
|
5520
5589
|
if (h)
|
|
5521
5590
|
return !l.length;
|
|
@@ -5523,63 +5592,63 @@ function at() {
|
|
|
5523
5592
|
return !Object.keys(l).length;
|
|
5524
5593
|
} else return !0;
|
|
5525
5594
|
}
|
|
5526
|
-
return i = Object.keys(i).reduce(function(l,
|
|
5527
|
-
const h = Object.prototype.toString.call(i[
|
|
5528
|
-
return !(h === "[object Object]" || h === "[object Array]") || u(i[
|
|
5529
|
-
|
|
5595
|
+
return i = Object.keys(i).reduce(function(l, n) {
|
|
5596
|
+
const h = Object.prototype.toString.call(i[n]);
|
|
5597
|
+
return !(h === "[object Object]" || h === "[object Array]") || u(i[n]) ? (l[n] = i[n], l) : N(
|
|
5598
|
+
n,
|
|
5530
5599
|
l,
|
|
5531
|
-
o(i[
|
|
5600
|
+
o(i[n], s)
|
|
5532
5601
|
);
|
|
5533
5602
|
}, {}), Object.keys(i).forEach(function(l) {
|
|
5534
|
-
const
|
|
5535
|
-
let h = m(
|
|
5603
|
+
const n = l.split(y).map(A);
|
|
5604
|
+
let h = m(n.shift()), b = m(n[0]), E = f;
|
|
5536
5605
|
for (; b !== void 0; ) {
|
|
5537
5606
|
if (h === "__proto__")
|
|
5538
5607
|
return;
|
|
5539
5608
|
const _ = Object.prototype.toString.call(E[h]), S = _ === "[object Object]" || _ === "[object Array]";
|
|
5540
|
-
if (!
|
|
5609
|
+
if (!v && !S && typeof E[h] < "u")
|
|
5541
5610
|
return;
|
|
5542
|
-
(
|
|
5611
|
+
(v && !S || !v && E[h] == null) && (E[h] = typeof b == "number" && !s.object ? [] : {}), E = E[h], n.length > 0 && (h = m(n.shift()), b = m(n[0]));
|
|
5543
5612
|
}
|
|
5544
|
-
E[h] = r(i[l],
|
|
5613
|
+
E[h] = r(i[l], s);
|
|
5545
5614
|
}), f;
|
|
5546
5615
|
}
|
|
5547
5616
|
return F;
|
|
5548
5617
|
}
|
|
5549
|
-
var
|
|
5550
|
-
const
|
|
5551
|
-
fr: { ...
|
|
5552
|
-
en: { ...
|
|
5553
|
-
},
|
|
5554
|
-
() =>
|
|
5555
|
-
),
|
|
5556
|
-
() =>
|
|
5557
|
-
),
|
|
5618
|
+
var le = lt();
|
|
5619
|
+
const ce = {
|
|
5620
|
+
fr: { ...at, common: Ee },
|
|
5621
|
+
en: { ...nt, common: be }
|
|
5622
|
+
}, ct = te(
|
|
5623
|
+
() => le.flatten(ce.fr)
|
|
5624
|
+
), dt = te(
|
|
5625
|
+
() => le.flatten(ce.en)
|
|
5626
|
+
), Ht = {
|
|
5558
5627
|
get fr() {
|
|
5559
|
-
return
|
|
5628
|
+
return ct();
|
|
5560
5629
|
},
|
|
5561
5630
|
get en() {
|
|
5562
|
-
return
|
|
5631
|
+
return dt();
|
|
5563
5632
|
}
|
|
5564
|
-
},
|
|
5633
|
+
}, ut = {
|
|
5565
5634
|
break: /* @__PURE__ */ d("br", {}),
|
|
5566
5635
|
bold: (...e) => /* @__PURE__ */ d("strong", { children: e }),
|
|
5567
5636
|
italic: (...e) => /* @__PURE__ */ d("i", { children: e }),
|
|
5568
5637
|
primary: (...e) => /* @__PURE__ */ d("span", { style: { color: "var(--abyss-accent-text)" }, children: e }),
|
|
5569
5638
|
focus: (...e) => /* @__PURE__ */ d("span", { style: { color: "var(--abyss-status-warning)" }, children: e })
|
|
5570
|
-
},
|
|
5571
|
-
const e = G(), t =
|
|
5639
|
+
}, Wt = () => {
|
|
5640
|
+
const e = G(), t = Q(
|
|
5572
5641
|
(o, r) => e.formatMessage(o, {
|
|
5573
|
-
...
|
|
5642
|
+
...ut,
|
|
5574
5643
|
...r
|
|
5575
5644
|
}),
|
|
5576
5645
|
[e]
|
|
5577
5646
|
);
|
|
5578
|
-
return
|
|
5647
|
+
return me(() => {
|
|
5579
5648
|
const { formatMessage: o, ...r } = e;
|
|
5580
5649
|
return { ...r, formatRichMessage: t };
|
|
5581
5650
|
}, [e, t]);
|
|
5582
|
-
},
|
|
5651
|
+
}, pt = /* @__PURE__ */ new Set(["a", "button"]), mt = p("div", {
|
|
5583
5652
|
shouldForwardProp: (e) => e !== "ownerState" && e !== "theme" && e !== "sx" && e !== "as"
|
|
5584
5653
|
})(({ theme: e, ownerState: t }) => {
|
|
5585
5654
|
const { tokens: o, radii: r, space: i } = e.design;
|
|
@@ -5598,37 +5667,37 @@ const ne = {
|
|
|
5598
5667
|
font: "inherit",
|
|
5599
5668
|
textAlign: "inherit",
|
|
5600
5669
|
textDecoration: "none",
|
|
5601
|
-
transition:
|
|
5670
|
+
transition: _e(e, ["border-color"]),
|
|
5602
5671
|
"&:hover": { borderColor: o["border.strong"] },
|
|
5603
|
-
"&:focus-visible":
|
|
5672
|
+
"&:focus-visible": Ce(e)
|
|
5604
5673
|
}
|
|
5605
5674
|
};
|
|
5606
|
-
}),
|
|
5675
|
+
}), Kt = he(function({
|
|
5607
5676
|
interactive: t = !1,
|
|
5608
5677
|
padding: o = 4,
|
|
5609
5678
|
component: r = "div",
|
|
5610
5679
|
children: i,
|
|
5611
|
-
onKeyDown:
|
|
5612
|
-
role:
|
|
5613
|
-
tabIndex:
|
|
5680
|
+
onKeyDown: s,
|
|
5681
|
+
role: y,
|
|
5682
|
+
tabIndex: v,
|
|
5614
5683
|
...A
|
|
5615
5684
|
}, f) {
|
|
5616
|
-
const T = t && typeof r == "string" && !
|
|
5685
|
+
const T = t && typeof r == "string" && !pt.has(r), m = Q(
|
|
5617
5686
|
(u) => {
|
|
5618
5687
|
typeof f == "function" ? f(u) : f !== null && (f.current = u);
|
|
5619
5688
|
},
|
|
5620
5689
|
[f]
|
|
5621
5690
|
);
|
|
5622
5691
|
return /* @__PURE__ */ d(
|
|
5623
|
-
|
|
5692
|
+
mt,
|
|
5624
5693
|
{
|
|
5625
5694
|
ref: m,
|
|
5626
5695
|
as: r,
|
|
5627
5696
|
ownerState: { interactive: t, padding: o },
|
|
5628
|
-
role:
|
|
5629
|
-
tabIndex:
|
|
5697
|
+
role: y ?? (T ? "button" : void 0),
|
|
5698
|
+
tabIndex: v ?? (T ? 0 : void 0),
|
|
5630
5699
|
onKeyDown: (u) => {
|
|
5631
|
-
|
|
5700
|
+
s == null || s(u), T && !u.defaultPrevented && u.target === u.currentTarget && (u.key === "Enter" || u.key === " ") && (u.preventDefault(), u.currentTarget.click());
|
|
5632
5701
|
},
|
|
5633
5702
|
...A,
|
|
5634
5703
|
children: i
|
|
@@ -5636,52 +5705,53 @@ const ne = {
|
|
|
5636
5705
|
);
|
|
5637
5706
|
});
|
|
5638
5707
|
export {
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5708
|
+
Dt as A,
|
|
5709
|
+
ze as B,
|
|
5710
|
+
Lt as C,
|
|
5642
5711
|
R as D,
|
|
5643
5712
|
H as E,
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5713
|
+
_t as F,
|
|
5714
|
+
Mt as G,
|
|
5715
|
+
zt as H,
|
|
5716
|
+
je as I,
|
|
5648
5717
|
U as J,
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5718
|
+
Vt as K,
|
|
5719
|
+
qt as L,
|
|
5720
|
+
Gt as M,
|
|
5721
|
+
Yt as N,
|
|
5722
|
+
st as O,
|
|
5723
|
+
it as P,
|
|
5724
|
+
kt as Q,
|
|
5725
|
+
ce as R,
|
|
5657
5726
|
I as S,
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5727
|
+
Bt as T,
|
|
5728
|
+
ut as U,
|
|
5729
|
+
nt as V,
|
|
5730
|
+
at as W,
|
|
5731
|
+
oe as a,
|
|
5732
|
+
Kt as b,
|
|
5733
|
+
jt as c,
|
|
5664
5734
|
k as d,
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5735
|
+
Ye as e,
|
|
5736
|
+
Ht as f,
|
|
5737
|
+
_e as g,
|
|
5668
5738
|
L as h,
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
|
|
5672
|
-
|
|
5673
|
-
|
|
5674
|
-
|
|
5675
|
-
|
|
5739
|
+
Ce as i,
|
|
5740
|
+
Ie as j,
|
|
5741
|
+
xt as k,
|
|
5742
|
+
Oe as l,
|
|
5743
|
+
De as m,
|
|
5744
|
+
Ft as n,
|
|
5745
|
+
we as o,
|
|
5676
5746
|
a as p,
|
|
5677
|
-
|
|
5678
|
-
|
|
5679
|
-
|
|
5680
|
-
|
|
5681
|
-
|
|
5682
|
-
|
|
5747
|
+
It as q,
|
|
5748
|
+
Te as r,
|
|
5749
|
+
Pt as s,
|
|
5750
|
+
Ut as t,
|
|
5751
|
+
Wt as u,
|
|
5752
|
+
Ne as v,
|
|
5683
5753
|
D as w,
|
|
5684
|
-
|
|
5685
|
-
|
|
5686
|
-
|
|
5754
|
+
Ct as x,
|
|
5755
|
+
wt as y,
|
|
5756
|
+
Ot as z
|
|
5687
5757
|
};
|