@attraccess/plugins-frontend-ui 1.11.0-beta.0 → 1.11.0-beta.2
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/index.js +982 -1172
- package/lib/components/AlertStatusIcon.d.ts +1 -1
- package/lib/components/EmptyState.d.ts +1 -1
- package/lib/components/LabeledSwitch.d.ts +1 -1
- package/lib/components/ResourceSelector/ResourceSelector.d.ts +2 -2
- package/lib/components/StandardDrawer.d.ts +1 -1
- package/lib/components/StandardModal.d.ts +1 -1
- package/lib/components/StatusAlert.d.ts +1 -1
- package/lib/components/attraccess-user/AttraccessUser.d.ts +1 -1
- package/lib/components/attraccess-user/AttraccessUserActionsContext.d.ts +1 -1
- package/lib/components/button/index.d.ts +1 -1
- package/lib/components/datetime-display/DateTimeDisplay.d.ts +1 -1
- package/lib/components/delete-confirmation-modal/index.d.ts +1 -1
- package/lib/components/loading-indicator/index.d.ts +1 -1
- package/lib/components/page-header/accessory.d.ts +15 -0
- package/lib/components/page-header/actions.d.ts +1 -1
- package/lib/components/page-header/index.d.ts +2 -1
- package/lib/components/status-dialog/index.d.ts +1 -1
- package/lib/components/user-search/UserSearch.d.ts +1 -1
- package/lib/hooks/index.d.ts +4 -2
- package/lib/hooks/useDateTimeFormatter.d.ts +8 -0
- package/lib/hooks/useDateTimeLocale.d.ts +1 -0
- package/lib/hooks/{dateTimePreferences.d.ts → useDateTimePreferences.d.ts} +0 -1
- package/lib/hooks/useFormatDateTime.d.ts +1 -7
- package/lib/i18n.d.ts +1 -0
- package/package.json +1 -1
- /package/lib/hooks/{useFormatDuration.d.ts → useFormatedDuration.d.ts} +0 -0
package/index.js
CHANGED
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import e, { createContext as t, useCallback as n, useContext as r, useEffect as i, useId as a,
|
|
2
|
-
import { Alert as
|
|
3
|
-
import { AlertCircleIcon as
|
|
4
|
-
import { Fragment as
|
|
5
|
-
import { useLocation as
|
|
6
|
-
import { useResourcesServiceGetAllResources as
|
|
7
|
-
import { buttonVariants as
|
|
8
|
-
|
|
9
|
-
var
|
|
10
|
-
if (t && typeof t == "object" || typeof t == "function") for (var i =
|
|
1
|
+
import e, { createContext as t, useCallback as n, useContext as r, useEffect as i, useId as a, useLayoutEffect as o, useMemo as s, useRef as c, useState as l } from "react";
|
|
2
|
+
import { Alert as u, AlertContent as d, AlertDescription as f, AlertDialog as p, AlertIndicator as m, AlertTitle as h, Avatar as g, AvatarFallback as _, AvatarImage as v, Button as y, Checkbox as b, Description as x, DrawerBackdrop as S, DrawerContent as C, DrawerDialog as w, Dropdown as T, DropdownItem as E, DropdownMenu as D, DropdownPopover as O, DropdownTrigger as k, FieldError as A, Header as j, Input as M, InputGroup as N, Label as ee, ListBox as P, ListBoxItem as F, ListBoxSection as I, Modal as L, ModalBackdrop as R, ModalBody as te, ModalContainer as z, ModalDialog as ne, ModalHeader as B, ModalHeading as V, Popover as H, ProgressCircle as U, ProgressCircleFillCircle as W, ProgressCircleTrack as G, ProgressCircleTrackCircle as K, Spinner as re, Switch as ie, TableBody as ae, TableCell as oe, TableColumn as se, TableContent as ce, TableHeader as le, TableRoot as ue, TableRow as de, TableScrollContainer as fe, Tag as pe, TagGroup as me, TextField as he, Tooltip as ge, cn as _e, useOverlayState as ve } from "@heroui/react";
|
|
3
|
+
import { AlertCircleIcon as ye, AlertTriangleIcon as be, ArrowLeft as xe, CheckCircle2Icon as Se, ChevronDownIcon as Ce, Eye as we, EyeOff as Te, InfoIcon as Ee, MehIcon as De, MessageCircleIcon as Oe, MoreVerticalIcon as ke, SearchIcon as Ae, UserPlusIcon as je, XIcon as Me } from "lucide-react";
|
|
4
|
+
import { Fragment as Ne, jsx as q, jsxs as J } from "react/jsx-runtime";
|
|
5
|
+
import { useLocation as Pe, useNavigate as Fe } from "react-router-dom";
|
|
6
|
+
import { useResourcesServiceGetAllResources as Ie, useUsersServiceFindManyInfinite as Le } from "@attraccess/react-query-client";
|
|
7
|
+
import { buttonVariants as Re } from "@heroui/styles";
|
|
8
|
+
// \0rolldown/runtime.js
|
|
9
|
+
var ze = Object.create, Be = Object.defineProperty, Ve = Object.getOwnPropertyDescriptor, He = Object.getOwnPropertyNames, Ue = Object.getPrototypeOf, We = Object.prototype.hasOwnProperty, Y = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), Ge = (e, t, n, r) => {
|
|
10
|
+
if (t && typeof t == "object" || typeof t == "function") for (var i = He(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !We.call(e, s) && s !== n && Be(e, s, {
|
|
11
11
|
get: ((e) => t[e]).bind(null, s),
|
|
12
|
-
enumerable: !(r =
|
|
12
|
+
enumerable: !(r = Ve(t, s)) || r.enumerable
|
|
13
13
|
});
|
|
14
14
|
return e;
|
|
15
|
-
},
|
|
15
|
+
}, Ke = (e, t, n) => (n = e == null ? {} : ze(Ue(e)), Ge(t || !e || !e.__esModule || !We.call(e, "default") ? Be(n, "default", {
|
|
16
16
|
value: e,
|
|
17
17
|
enumerable: !0
|
|
18
|
-
}) : n, e)),
|
|
18
|
+
}) : n, e)), qe = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(e) {
|
|
19
19
|
if (typeof require < "u") return require.apply(this, arguments);
|
|
20
20
|
throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
|
|
21
|
-
}),
|
|
22
|
-
var t =
|
|
21
|
+
}), Je = /* @__PURE__ */ Y(((e) => {
|
|
22
|
+
var t = qe("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
23
23
|
e.c = function(e) {
|
|
24
24
|
return t.H.useMemoCache(e);
|
|
25
25
|
};
|
|
26
|
-
})),
|
|
26
|
+
})), Ye = /* @__PURE__ */ Y(((e) => {
|
|
27
27
|
process.env.NODE_ENV !== "production" && (function() {
|
|
28
|
-
var t =
|
|
28
|
+
var t = qe("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
|
29
29
|
e.c = function(e) {
|
|
30
30
|
var n = t.H;
|
|
31
31
|
return n === null && console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."), n.useMemoCache(e);
|
|
32
32
|
};
|
|
33
33
|
})();
|
|
34
|
-
})),
|
|
35
|
-
t.exports = process.env.NODE_ENV === "production" ?
|
|
34
|
+
})), X = (/* @__PURE__ */ Y(((e, t) => {
|
|
35
|
+
t.exports = process.env.NODE_ENV === "production" ? Je() : Ye();
|
|
36
36
|
})))();
|
|
37
|
-
function
|
|
37
|
+
function Xe(e) {
|
|
38
38
|
if (typeof e != "string" || !e.trim() || e.length > 255) return { error: "invalid" };
|
|
39
39
|
try {
|
|
40
40
|
let [t] = Intl.getCanonicalLocales(e.trim());
|
|
@@ -43,12 +43,11 @@ function qe(e) {
|
|
|
43
43
|
return { error: "invalid" };
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
return { dateTimeLocale:
|
|
46
|
+
function Ze(e) {
|
|
47
|
+
return { dateTimeLocale: Xe(e).locale ?? null };
|
|
48
48
|
}
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
function Ye(e) {
|
|
49
|
+
// ../shared/src/lib/device-language.ts
|
|
50
|
+
function Qe(e) {
|
|
52
51
|
try {
|
|
53
52
|
let t = e ?? "", n = 0, r = t.length;
|
|
54
53
|
for (; n < r && " \r\n\v\f".includes(t[n]);) n++;
|
|
@@ -62,9 +61,8 @@ function Ye(e) {
|
|
|
62
61
|
}
|
|
63
62
|
}
|
|
64
63
|
new TextEncoder();
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
var $ = /* @__PURE__ */ Z(((e) => {
|
|
64
|
+
// ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/utils.js
|
|
65
|
+
var Z = /* @__PURE__ */ Y(((e) => {
|
|
68
66
|
e.__esModule = !0, e.extend = a, e.indexOf = l, e.escapeExpression = u, e.isEmpty = d, e.createFrame = f, e.blockParams = p, e.appendContextPath = m;
|
|
69
67
|
var t = {
|
|
70
68
|
"&": "&",
|
|
@@ -109,7 +107,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
109
107
|
return r.test(e) ? e.replace(n, i) : e;
|
|
110
108
|
}
|
|
111
109
|
function d(e) {
|
|
112
|
-
return !e && e !== 0 ||
|
|
110
|
+
return !!(!e && e !== 0 || c(e) && e.length === 0);
|
|
113
111
|
}
|
|
114
112
|
function f(e) {
|
|
115
113
|
var t = a({}, e);
|
|
@@ -121,7 +119,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
121
119
|
function m(e, t) {
|
|
122
120
|
return (e ? e + "." : "") + t;
|
|
123
121
|
}
|
|
124
|
-
})),
|
|
122
|
+
})), Q = /* @__PURE__ */ Y(((e, t) => {
|
|
125
123
|
e.__esModule = !0;
|
|
126
124
|
var n = [
|
|
127
125
|
"description",
|
|
@@ -150,9 +148,9 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
150
148
|
} catch {}
|
|
151
149
|
}
|
|
152
150
|
r.prototype = /* @__PURE__ */ Error(), e.default = r, t.exports = e.default;
|
|
153
|
-
})),
|
|
151
|
+
})), $e = /* @__PURE__ */ Y(((e, t) => {
|
|
154
152
|
e.__esModule = !0;
|
|
155
|
-
var n =
|
|
153
|
+
var n = Z();
|
|
156
154
|
e.default = function(e) {
|
|
157
155
|
e.registerHelper("blockHelperMissing", function(t, r) {
|
|
158
156
|
var i = r.inverse, a = r.fn;
|
|
@@ -166,13 +164,13 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
166
164
|
return a(t, r);
|
|
167
165
|
});
|
|
168
166
|
}, t.exports = e.default;
|
|
169
|
-
})),
|
|
167
|
+
})), et = /* @__PURE__ */ Y(((e, t) => {
|
|
170
168
|
e.__esModule = !0;
|
|
171
169
|
// istanbul ignore next
|
|
172
170
|
function n(e) {
|
|
173
171
|
return e && e.__esModule ? e : { default: e };
|
|
174
172
|
}
|
|
175
|
-
var r =
|
|
173
|
+
var r = Z(), i = n(Q());
|
|
176
174
|
e.default = function(e) {
|
|
177
175
|
e.registerHelper("each", function(e, t) {
|
|
178
176
|
if (!t) throw new i.default("Must pass iterator to #each");
|
|
@@ -200,25 +198,25 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
200
198
|
return o === 0 && (s = a(this)), s;
|
|
201
199
|
});
|
|
202
200
|
}, t.exports = e.default;
|
|
203
|
-
})),
|
|
201
|
+
})), tt = /* @__PURE__ */ Y(((e, t) => {
|
|
204
202
|
e.__esModule = !0;
|
|
205
203
|
// istanbul ignore next
|
|
206
204
|
function n(e) {
|
|
207
205
|
return e && e.__esModule ? e : { default: e };
|
|
208
206
|
}
|
|
209
|
-
var r = n(
|
|
207
|
+
var r = n(Q());
|
|
210
208
|
e.default = function(e) {
|
|
211
209
|
e.registerHelper("helperMissing", function() {
|
|
212
210
|
if (arguments.length !== 1) throw new r.default("Missing helper: \"" + arguments[arguments.length - 1].name + "\"");
|
|
213
211
|
});
|
|
214
212
|
}, t.exports = e.default;
|
|
215
|
-
})),
|
|
213
|
+
})), nt = /* @__PURE__ */ Y(((e, t) => {
|
|
216
214
|
e.__esModule = !0;
|
|
217
215
|
// istanbul ignore next
|
|
218
216
|
function n(e) {
|
|
219
217
|
return e && e.__esModule ? e : { default: e };
|
|
220
218
|
}
|
|
221
|
-
var r =
|
|
219
|
+
var r = Z(), i = n(Q());
|
|
222
220
|
e.default = function(e) {
|
|
223
221
|
e.registerHelper("if", function(e, t) {
|
|
224
222
|
if (arguments.length != 2) throw new i.default("#if requires exactly one argument");
|
|
@@ -232,7 +230,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
232
230
|
});
|
|
233
231
|
});
|
|
234
232
|
}, t.exports = e.default;
|
|
235
|
-
})),
|
|
233
|
+
})), rt = /* @__PURE__ */ Y(((e, t) => {
|
|
236
234
|
e.__esModule = !0, e.default = function(e) {
|
|
237
235
|
e.registerHelper("log", function() {
|
|
238
236
|
for (var t = [void 0], n = arguments[arguments.length - 1], r = 0; r < arguments.length - 1; r++) t.push(arguments[r]);
|
|
@@ -240,19 +238,19 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
240
238
|
n.hash.level == null ? n.data && n.data.level != null && (i = n.data.level) : i = n.hash.level, t[0] = i, e.log.apply(e, t);
|
|
241
239
|
});
|
|
242
240
|
}, t.exports = e.default;
|
|
243
|
-
})),
|
|
241
|
+
})), it = /* @__PURE__ */ Y(((e, t) => {
|
|
244
242
|
e.__esModule = !0, e.default = function(e) {
|
|
245
243
|
e.registerHelper("lookup", function(e, t, n) {
|
|
246
244
|
return e && n.lookupProperty(e, t);
|
|
247
245
|
});
|
|
248
246
|
}, t.exports = e.default;
|
|
249
|
-
})),
|
|
247
|
+
})), at = /* @__PURE__ */ Y(((e, t) => {
|
|
250
248
|
e.__esModule = !0;
|
|
251
249
|
// istanbul ignore next
|
|
252
250
|
function n(e) {
|
|
253
251
|
return e && e.__esModule ? e : { default: e };
|
|
254
252
|
}
|
|
255
|
-
var r =
|
|
253
|
+
var r = Z(), i = n(Q());
|
|
256
254
|
e.default = function(e) {
|
|
257
255
|
e.registerHelper("with", function(e, t) {
|
|
258
256
|
if (arguments.length != 2) throw new i.default("#with requires exactly one argument");
|
|
@@ -266,22 +264,22 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
266
264
|
});
|
|
267
265
|
});
|
|
268
266
|
}, t.exports = e.default;
|
|
269
|
-
})),
|
|
267
|
+
})), ot = /* @__PURE__ */ Y(((e) => {
|
|
270
268
|
e.__esModule = !0, e.registerDefaultHelpers = l, e.moveHelperToHooks = u;
|
|
271
269
|
// istanbul ignore next
|
|
272
270
|
function t(e) {
|
|
273
271
|
return e && e.__esModule ? e : { default: e };
|
|
274
272
|
}
|
|
275
|
-
var n = t(
|
|
273
|
+
var n = t($e()), r = t(et()), i = t(tt()), a = t(nt()), o = t(rt()), s = t(it()), c = t(at());
|
|
276
274
|
function l(e) {
|
|
277
275
|
n.default(e), r.default(e), i.default(e), a.default(e), o.default(e), s.default(e), c.default(e);
|
|
278
276
|
}
|
|
279
277
|
function u(e, t, n) {
|
|
280
278
|
e.helpers[t] && (e.hooks[t] = e.helpers[t], n || (e.helpers[t] = void 0));
|
|
281
279
|
}
|
|
282
|
-
})),
|
|
280
|
+
})), st = /* @__PURE__ */ Y(((e, t) => {
|
|
283
281
|
e.__esModule = !0;
|
|
284
|
-
var n =
|
|
282
|
+
var n = Z();
|
|
285
283
|
e.default = function(e) {
|
|
286
284
|
e.registerDecorator("inline", function(e, t, r, i) {
|
|
287
285
|
var a = e;
|
|
@@ -293,19 +291,19 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
293
291
|
}), t.partials[i.args[0]] = i.fn, a;
|
|
294
292
|
});
|
|
295
293
|
}, t.exports = e.default;
|
|
296
|
-
})),
|
|
294
|
+
})), ct = /* @__PURE__ */ Y(((e) => {
|
|
297
295
|
e.__esModule = !0, e.registerDefaultDecorators = r;
|
|
298
296
|
// istanbul ignore next
|
|
299
297
|
function t(e) {
|
|
300
298
|
return e && e.__esModule ? e : { default: e };
|
|
301
299
|
}
|
|
302
|
-
var n = t(
|
|
300
|
+
var n = t(st());
|
|
303
301
|
function r(e) {
|
|
304
302
|
n.default(e);
|
|
305
303
|
}
|
|
306
|
-
})),
|
|
304
|
+
})), lt = /* @__PURE__ */ Y(((e, t) => {
|
|
307
305
|
e.__esModule = !0;
|
|
308
|
-
var n =
|
|
306
|
+
var n = Z(), r = {
|
|
309
307
|
methodMap: [
|
|
310
308
|
"debug",
|
|
311
309
|
"info",
|
|
@@ -330,13 +328,13 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
330
328
|
}
|
|
331
329
|
};
|
|
332
330
|
e.default = r, t.exports = e.default;
|
|
333
|
-
})),
|
|
331
|
+
})), ut = /* @__PURE__ */ Y(((e) => {
|
|
334
332
|
e.__esModule = !0, e.createProtoAccessControl = a, e.resultIsAllowed = o, e.resetLoggedProperties = l;
|
|
335
333
|
// istanbul ignore next
|
|
336
334
|
function t(e) {
|
|
337
335
|
return e && e.__esModule ? e : { default: e };
|
|
338
336
|
}
|
|
339
|
-
var n =
|
|
337
|
+
var n = Z(), r = t(lt()), i = Object.create(null);
|
|
340
338
|
function a(e) {
|
|
341
339
|
var t = Object.create(null);
|
|
342
340
|
t.__proto__ = !1, n.extend(t, e.allowedProtoProperties);
|
|
@@ -366,13 +364,13 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
366
364
|
delete i[e];
|
|
367
365
|
});
|
|
368
366
|
}
|
|
369
|
-
})),
|
|
367
|
+
})), dt = /* @__PURE__ */ Y(((e) => {
|
|
370
368
|
e.__esModule = !0, e.HandlebarsEnvironment = l;
|
|
371
369
|
// istanbul ignore next
|
|
372
370
|
function t(e) {
|
|
373
371
|
return e && e.__esModule ? e : { default: e };
|
|
374
372
|
}
|
|
375
|
-
var n =
|
|
373
|
+
var n = Z(), r = t(Q()), i = ot(), a = ct(), o = t(lt()), s = ut();
|
|
376
374
|
e.VERSION = "4.7.9", e.COMPILER_REVISION = 8, e.LAST_COMPATIBLE_COMPILER_REVISION = 7, e.REVISION_CHANGES = {
|
|
377
375
|
1: "<= 1.0.rc.2",
|
|
378
376
|
2: "== 1.0.0-rc.3",
|
|
@@ -423,7 +421,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
423
421
|
s.resetLoggedProperties();
|
|
424
422
|
}
|
|
425
423
|
}, e.log = o.default.log, e.createFrame = n.createFrame, e.logger = o.default;
|
|
426
|
-
})),
|
|
424
|
+
})), ft = /* @__PURE__ */ Y(((e, t) => {
|
|
427
425
|
e.__esModule = !0;
|
|
428
426
|
function n(e) {
|
|
429
427
|
this.string = e;
|
|
@@ -431,7 +429,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
431
429
|
n.prototype.toString = n.prototype.toHTML = function() {
|
|
432
430
|
return "" + this.string;
|
|
433
431
|
}, e.default = n, t.exports = e.default;
|
|
434
|
-
})),
|
|
432
|
+
})), pt = /* @__PURE__ */ Y(((e) => {
|
|
435
433
|
e.__esModule = !0, e.wrapHelper = t;
|
|
436
434
|
function t(e, t) {
|
|
437
435
|
return typeof e == "function" ? function() {
|
|
@@ -439,7 +437,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
439
437
|
return arguments[arguments.length - 1] = t(n), e.apply(this, arguments);
|
|
440
438
|
} : e;
|
|
441
439
|
}
|
|
442
|
-
})),
|
|
440
|
+
})), mt = /* @__PURE__ */ Y(((e) => {
|
|
443
441
|
e.__esModule = !0, e.checkRevision = l, e.template = u, e.wrapProgram = d, e.resolvePartial = f, e.invokePartial = p, e.noop = m;
|
|
444
442
|
// istanbul ignore next
|
|
445
443
|
function t(e) {
|
|
@@ -452,7 +450,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
452
450
|
if (e != null) for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
|
|
453
451
|
return t.default = e, t;
|
|
454
452
|
}
|
|
455
|
-
var r = n(
|
|
453
|
+
var r = n(Z()), i = t(Q()), a = dt(), o = ot(), s = pt(), c = ut();
|
|
456
454
|
function l(e) {
|
|
457
455
|
var t = e && e[0] || 1, n = a.COMPILER_REVISION;
|
|
458
456
|
if (!(t >= a.LAST_COMPATIBLE_COMPILER_REVISION && t <= a.COMPILER_REVISION)) {
|
|
@@ -474,7 +472,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
474
472
|
var s = t.VM.invokePartial.call(this, n, a, o);
|
|
475
473
|
if (s == null && t.compile && (o.partials[o.name] = t.compile(n, e.compilerOptions, t), s = o.partials[o.name](a, o)), s != null) {
|
|
476
474
|
if (o.indent) {
|
|
477
|
-
for (var c = s.split("\n"), l = 0, u = c.length; l < u &&
|
|
475
|
+
for (var c = s.split("\n"), l = 0, u = c.length; l < u && (c[l] || l + 1 !== u); l++) c[l] = o.indent + c[l];
|
|
478
476
|
s = c.join("\n");
|
|
479
477
|
}
|
|
480
478
|
return s;
|
|
@@ -577,7 +575,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
577
575
|
if (e && Object.prototype.hasOwnProperty.call(e, t)) return e[t];
|
|
578
576
|
}
|
|
579
577
|
function g(e, t) {
|
|
580
|
-
return
|
|
578
|
+
return t && "root" in t || (t = t ? a.createFrame(t) : {}, t.root = e), t;
|
|
581
579
|
}
|
|
582
580
|
function _(e, t, n, i, a, o) {
|
|
583
581
|
if (e.decorator) {
|
|
@@ -598,7 +596,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
598
596
|
return e.lookupProperty = n, e;
|
|
599
597
|
});
|
|
600
598
|
}
|
|
601
|
-
})),
|
|
599
|
+
})), ht = /* @__PURE__ */ Y(((e, t) => {
|
|
602
600
|
e.__esModule = !0, e.default = function(e) {
|
|
603
601
|
/* istanbul ignore next */
|
|
604
602
|
(function() {
|
|
@@ -612,7 +610,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
612
610
|
return globalThis.Handlebars === e && (globalThis.Handlebars = t), e;
|
|
613
611
|
};
|
|
614
612
|
}, t.exports = e.default;
|
|
615
|
-
})),
|
|
613
|
+
})), gt = /* @__PURE__ */ Y(((e, t) => {
|
|
616
614
|
e.__esModule = !0;
|
|
617
615
|
// istanbul ignore next
|
|
618
616
|
function n(e) {
|
|
@@ -625,7 +623,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
625
623
|
if (e != null) for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
|
|
626
624
|
return t.default = e, t;
|
|
627
625
|
}
|
|
628
|
-
var i = r(
|
|
626
|
+
var i = r(dt()), a = n(ft()), o = n(Q()), s = r(Z()), c = r(mt()), l = n(ht());
|
|
629
627
|
function u() {
|
|
630
628
|
var e = new i.HandlebarsEnvironment();
|
|
631
629
|
return s.extend(e, i), e.SafeString = a.default, e.Exception = o.default, e.Utils = s, e.escapeExpression = s.escapeExpression, e.VM = c, e.template = function(t) {
|
|
@@ -634,7 +632,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
634
632
|
}
|
|
635
633
|
var d = u();
|
|
636
634
|
d.create = u, l.default(d), d.default = d, e.default = d, t.exports = e.default;
|
|
637
|
-
})),
|
|
635
|
+
})), _t = /* @__PURE__ */ Y(((e, t) => {
|
|
638
636
|
e.__esModule = !0;
|
|
639
637
|
var n = { helpers: {
|
|
640
638
|
helperExpression: function(e) {
|
|
@@ -648,7 +646,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
648
646
|
}
|
|
649
647
|
} };
|
|
650
648
|
e.default = n, t.exports = e.default;
|
|
651
|
-
})),
|
|
649
|
+
})), vt = /* @__PURE__ */ Y(((e, t) => {
|
|
652
650
|
e.__esModule = !0, e.default = (function() {
|
|
653
651
|
var e = {
|
|
654
652
|
trace: function() {},
|
|
@@ -2933,13 +2931,13 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
2933
2931
|
}
|
|
2934
2932
|
return t.prototype = e, e.Parser = t, new t();
|
|
2935
2933
|
})(), t.exports = e.default;
|
|
2936
|
-
})),
|
|
2934
|
+
})), yt = /* @__PURE__ */ Y(((e, t) => {
|
|
2937
2935
|
e.__esModule = !0;
|
|
2938
2936
|
// istanbul ignore next
|
|
2939
2937
|
function n(e) {
|
|
2940
2938
|
return e && e.__esModule ? e : { default: e };
|
|
2941
2939
|
}
|
|
2942
|
-
var r = n(
|
|
2940
|
+
var r = n(Q());
|
|
2943
2941
|
function i() {
|
|
2944
2942
|
this.parents = [];
|
|
2945
2943
|
}
|
|
@@ -3006,13 +3004,13 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
3006
3004
|
this.acceptRequired(e, "name"), this.acceptArray(e.params), this.acceptKey(e, "hash");
|
|
3007
3005
|
}
|
|
3008
3006
|
e.default = i, t.exports = e.default;
|
|
3009
|
-
})),
|
|
3007
|
+
})), bt = /* @__PURE__ */ Y(((e, t) => {
|
|
3010
3008
|
e.__esModule = !0;
|
|
3011
3009
|
// istanbul ignore next
|
|
3012
3010
|
function n(e) {
|
|
3013
3011
|
return e && e.__esModule ? e : { default: e };
|
|
3014
3012
|
}
|
|
3015
|
-
var r = n(
|
|
3013
|
+
var r = n(yt());
|
|
3016
3014
|
function i() {
|
|
3017
3015
|
var e = arguments.length <= 0 || arguments[0] === void 0 ? {} : arguments[0];
|
|
3018
3016
|
this.options = e;
|
|
@@ -3081,13 +3079,13 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
3081
3079
|
}
|
|
3082
3080
|
}
|
|
3083
3081
|
e.default = i, t.exports = e.default;
|
|
3084
|
-
})),
|
|
3082
|
+
})), xt = /* @__PURE__ */ Y(((e) => {
|
|
3085
3083
|
e.__esModule = !0, e.SourceLocation = i, e.id = a, e.stripFlags = o, e.stripComment = s, e.preparePath = c, e.prepareMustache = l, e.prepareRawBlock = u, e.prepareBlock = d, e.prepareProgram = f, e.preparePartialBlock = p;
|
|
3086
3084
|
// istanbul ignore next
|
|
3087
3085
|
function t(e) {
|
|
3088
3086
|
return e && e.__esModule ? e : { default: e };
|
|
3089
3087
|
}
|
|
3090
|
-
var n = t(
|
|
3088
|
+
var n = t(Q());
|
|
3091
3089
|
function r(e, t) {
|
|
3092
3090
|
if (t = t.path ? t.path.original : t, e.path.original !== t) {
|
|
3093
3091
|
var r = { loc: e.path.loc };
|
|
@@ -3222,7 +3220,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
3222
3220
|
loc: this.locInfo(i)
|
|
3223
3221
|
};
|
|
3224
3222
|
}
|
|
3225
|
-
})),
|
|
3223
|
+
})), St = /* @__PURE__ */ Y(((e) => {
|
|
3226
3224
|
e.__esModule = !0, e.parseWithoutProcessing = l, e.parse = u;
|
|
3227
3225
|
// istanbul ignore next
|
|
3228
3226
|
function t(e) {
|
|
@@ -3235,7 +3233,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
3235
3233
|
function n(e) {
|
|
3236
3234
|
return e && e.__esModule ? e : { default: e };
|
|
3237
3235
|
}
|
|
3238
|
-
var r = n(
|
|
3236
|
+
var r = n(vt()), i = n(bt()), a = t(xt()), o = n(Q()), s = Z();
|
|
3239
3237
|
e.parser = r.default;
|
|
3240
3238
|
var c = {};
|
|
3241
3239
|
s.extend(c, a);
|
|
@@ -3253,11 +3251,8 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
3253
3251
|
}
|
|
3254
3252
|
function f(e) {
|
|
3255
3253
|
if (e != null) {
|
|
3256
|
-
if (Array.isArray(e))
|
|
3257
|
-
|
|
3258
|
-
return;
|
|
3259
|
-
}
|
|
3260
|
-
if (typeof e == "object") {
|
|
3254
|
+
if (Array.isArray(e)) e.forEach(f);
|
|
3255
|
+
else if (typeof e == "object") {
|
|
3261
3256
|
if (e.type === "PathExpression") {
|
|
3262
3257
|
if (!p(e.depth)) throw new o.default("Invalid AST: PathExpression.depth must be an integer");
|
|
3263
3258
|
if (!Array.isArray(e.parts)) throw new o.default("Invalid AST: PathExpression.parts must be an array");
|
|
@@ -3274,13 +3269,13 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
3274
3269
|
function p(e) {
|
|
3275
3270
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && e >= 0;
|
|
3276
3271
|
}
|
|
3277
|
-
})),
|
|
3272
|
+
})), Ct = /* @__PURE__ */ Y(((e) => {
|
|
3278
3273
|
e.__esModule = !0, e.Compiler = o, e.precompile = s, e.compile = c;
|
|
3279
3274
|
// istanbul ignore next
|
|
3280
3275
|
function t(e) {
|
|
3281
3276
|
return e && e.__esModule ? e : { default: e };
|
|
3282
3277
|
}
|
|
3283
|
-
var n = t(
|
|
3278
|
+
var n = t(Q()), r = Z(), i = t(_t()), a = [].slice;
|
|
3284
3279
|
function o() {}
|
|
3285
3280
|
o.prototype = {
|
|
3286
3281
|
compiler: o,
|
|
@@ -3498,7 +3493,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
3498
3493
|
};
|
|
3499
3494
|
}
|
|
3500
3495
|
}
|
|
3501
|
-
})),
|
|
3496
|
+
})), wt = /* @__PURE__ */ Y(((e) => {
|
|
3502
3497
|
var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
|
|
3503
3498
|
e.encode = function(e) {
|
|
3504
3499
|
if (0 <= e && e < t.length) return t[e];
|
|
@@ -3507,8 +3502,8 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
3507
3502
|
var t = 65, n = 90, r = 97, i = 122, a = 48;
|
|
3508
3503
|
return t <= e && e <= n ? e - t : r <= e && e <= i ? e - r + 26 : a <= e && e <= 57 ? e - a + 52 : e == 43 ? 62 : e == 47 ? 63 : -1;
|
|
3509
3504
|
};
|
|
3510
|
-
})),
|
|
3511
|
-
var t =
|
|
3505
|
+
})), Tt = /* @__PURE__ */ Y(((e) => {
|
|
3506
|
+
var t = wt(), n = 5, r = 1 << n, i = r - 1, a = r;
|
|
3512
3507
|
function o(e) {
|
|
3513
3508
|
return e < 0 ? (-e << 1) + 1 : (e << 1) + 0;
|
|
3514
3509
|
}
|
|
@@ -3531,7 +3526,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
3531
3526
|
} while (d);
|
|
3532
3527
|
o.value = s(l), o.rest = r;
|
|
3533
3528
|
};
|
|
3534
|
-
})),
|
|
3529
|
+
})), Et = /* @__PURE__ */ Y(((e) => {
|
|
3535
3530
|
function t(e, t, n) {
|
|
3536
3531
|
if (t in e) return e[t];
|
|
3537
3532
|
if (arguments.length === 3) return n;
|
|
@@ -3643,8 +3638,8 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
3643
3638
|
return o(t);
|
|
3644
3639
|
}
|
|
3645
3640
|
e.computeSourceURL = y;
|
|
3646
|
-
})),
|
|
3647
|
-
var t =
|
|
3641
|
+
})), Dt = /* @__PURE__ */ Y(((e) => {
|
|
3642
|
+
var t = Et(), n = Object.prototype.hasOwnProperty, r = typeof Map < "u";
|
|
3648
3643
|
function i() {
|
|
3649
3644
|
this._array = [], this._set = r ? /* @__PURE__ */ new Map() : Object.create(null);
|
|
3650
3645
|
}
|
|
@@ -3675,8 +3670,8 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
3675
3670
|
}, i.prototype.toArray = function() {
|
|
3676
3671
|
return this._array.slice();
|
|
3677
3672
|
}, e.ArraySet = i;
|
|
3678
|
-
})),
|
|
3679
|
-
var t =
|
|
3673
|
+
})), Ot = /* @__PURE__ */ Y(((e) => {
|
|
3674
|
+
var t = Et();
|
|
3680
3675
|
function n(e, n) {
|
|
3681
3676
|
var r = e.generatedLine, i = n.generatedLine, a = e.generatedColumn, o = n.generatedColumn;
|
|
3682
3677
|
return i > r || i == r && o >= a || t.compareByGeneratedPositionsInflated(e, n) <= 0;
|
|
@@ -3694,8 +3689,8 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
3694
3689
|
}, r.prototype.toArray = function() {
|
|
3695
3690
|
return this._sorted ||= (this._array.sort(t.compareByGeneratedPositionsInflated), !0), this._array;
|
|
3696
3691
|
}, e.MappingList = r;
|
|
3697
|
-
})),
|
|
3698
|
-
var t =
|
|
3692
|
+
})), kt = /* @__PURE__ */ Y(((e) => {
|
|
3693
|
+
var t = Tt(), n = Et(), r = Dt().ArraySet, i = Ot().MappingList;
|
|
3699
3694
|
function a(e) {
|
|
3700
3695
|
e ||= {}, this._file = n.getArg(e, "file", null), this._sourceRoot = n.getArg(e, "sourceRoot", null), this._skipValidation = n.getArg(e, "skipValidation", !1), this._sources = new r(), this._names = new r(), this._mappings = new i(), this._sourcesContents = null;
|
|
3701
3696
|
}
|
|
@@ -3793,7 +3788,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
3793
3788
|
}, a.prototype.toString = function() {
|
|
3794
3789
|
return JSON.stringify(this.toJSON());
|
|
3795
3790
|
}, e.SourceMapGenerator = a;
|
|
3796
|
-
})),
|
|
3791
|
+
})), At = /* @__PURE__ */ Y(((e) => {
|
|
3797
3792
|
e.GREATEST_LOWER_BOUND = 1, e.LEAST_UPPER_BOUND = 2;
|
|
3798
3793
|
function t(n, r, i, a, o, s) {
|
|
3799
3794
|
var c = Math.floor((r - n) / 2) + n, l = o(i, a[c], !0);
|
|
@@ -3806,7 +3801,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
3806
3801
|
for (; o - 1 >= 0 && i(r[o], r[o - 1], !0) === 0;) --o;
|
|
3807
3802
|
return o;
|
|
3808
3803
|
};
|
|
3809
|
-
})),
|
|
3804
|
+
})), jt = /* @__PURE__ */ Y(((e) => {
|
|
3810
3805
|
function t(e, t, n) {
|
|
3811
3806
|
var r = e[t];
|
|
3812
3807
|
e[t] = e[n], e[n] = r;
|
|
@@ -3827,8 +3822,8 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
3827
3822
|
e.quickSort = function(e, t) {
|
|
3828
3823
|
r(e, t, 0, e.length - 1);
|
|
3829
3824
|
};
|
|
3830
|
-
})),
|
|
3831
|
-
var t =
|
|
3825
|
+
})), Mt = /* @__PURE__ */ Y(((e) => {
|
|
3826
|
+
var t = Et(), n = At(), r = Dt().ArraySet, i = Tt(), a = jt().quickSort;
|
|
3832
3827
|
function o(e, n) {
|
|
3833
3828
|
var r = e;
|
|
3834
3829
|
return typeof e == "string" && (r = t.parseSourceMapInput(e)), r.sections == null ? new s(r, n) : new l(r, n);
|
|
@@ -3912,8 +3907,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
3912
3907
|
s.prototype = Object.create(o.prototype), s.prototype.consumer = o, s.prototype._findSourceIndex = function(e) {
|
|
3913
3908
|
var n = e;
|
|
3914
3909
|
if (this.sourceRoot != null && (n = t.relative(this.sourceRoot, n)), this._sources.has(n)) return this._sources.indexOf(n);
|
|
3915
|
-
var r;
|
|
3916
|
-
for (r = 0; r < this._absoluteSources.length; ++r) if (this._absoluteSources[r] == e) return r;
|
|
3910
|
+
for (var r = 0; r < this._absoluteSources.length; ++r) if (this._absoluteSources[r] == e) return r;
|
|
3917
3911
|
return -1;
|
|
3918
3912
|
}, s.fromSourceMap = function(e, n) {
|
|
3919
3913
|
var i = Object.create(s.prototype), o = i._names = r.fromArray(e._names.toArray(), !0), l = i._sources = r.fromArray(e._sources.toArray(), !0);
|
|
@@ -4119,8 +4113,8 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
4119
4113
|
}
|
|
4120
4114
|
a(this.__generatedMappings, t.compareByGeneratedPositionsDeflated), a(this.__originalMappings, t.compareByOriginalPositions);
|
|
4121
4115
|
}, e.IndexedSourceMapConsumer = l;
|
|
4122
|
-
})),
|
|
4123
|
-
var t =
|
|
4116
|
+
})), Nt = /* @__PURE__ */ Y(((e) => {
|
|
4117
|
+
var t = kt().SourceMapGenerator, n = Et(), r = /(\r?\n)/, i = 10, a = "$$$isSourceNode$$$";
|
|
4124
4118
|
function o(e, t, n, r, i) {
|
|
4125
4119
|
this.children = [], this.sourceContents = {}, this.line = e ?? null, this.column = t ?? null, this.source = n ?? null, this.name = i ?? null, this[a] = !0, r != null && this.add(r);
|
|
4126
4120
|
}
|
|
@@ -4237,14 +4231,14 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
4237
4231
|
map: r
|
|
4238
4232
|
};
|
|
4239
4233
|
}, e.SourceNode = o;
|
|
4240
|
-
})),
|
|
4241
|
-
e.SourceMapGenerator =
|
|
4242
|
-
})),
|
|
4234
|
+
})), Pt = /* @__PURE__ */ Y(((e) => {
|
|
4235
|
+
e.SourceMapGenerator = kt().SourceMapGenerator, e.SourceMapConsumer = Mt().SourceMapConsumer, e.SourceNode = Nt().SourceNode;
|
|
4236
|
+
})), Ft = /* @__PURE__ */ Y(((e, t) => {
|
|
4243
4237
|
e.__esModule = !0;
|
|
4244
|
-
var n =
|
|
4238
|
+
var n = Z(), r = void 0;
|
|
4245
4239
|
try {
|
|
4246
4240
|
/* istanbul ignore next */
|
|
4247
|
-
|
|
4241
|
+
typeof define == "function" && define.amd || (r = Pt().SourceNode);
|
|
4248
4242
|
} catch {}
|
|
4249
4243
|
/* istanbul ignore if: tested but not covered in istanbul due to dist build */
|
|
4250
4244
|
r || (r = function(e, t, n, r) {
|
|
@@ -4338,13 +4332,13 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
4338
4332
|
return t.prepend("["), t.add("]"), t;
|
|
4339
4333
|
}
|
|
4340
4334
|
}, e.default = a, t.exports = e.default;
|
|
4341
|
-
})),
|
|
4335
|
+
})), It = /* @__PURE__ */ Y(((e, t) => {
|
|
4342
4336
|
e.__esModule = !0;
|
|
4343
4337
|
// istanbul ignore next
|
|
4344
4338
|
function n(e) {
|
|
4345
4339
|
return e && e.__esModule ? e : { default: e };
|
|
4346
4340
|
}
|
|
4347
|
-
var r =
|
|
4341
|
+
var r = dt(), i = n(Q()), a = Z(), o = n(Ft());
|
|
4348
4342
|
function s(e) {
|
|
4349
4343
|
this.value = e;
|
|
4350
4344
|
}
|
|
@@ -4544,11 +4538,8 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
4544
4538
|
resolvePath: function(e, t, n, r, i) {
|
|
4545
4539
|
// istanbul ignore next
|
|
4546
4540
|
var a = this;
|
|
4547
|
-
if (this.options.strict || this.options.assumeObjects)
|
|
4548
|
-
|
|
4549
|
-
return;
|
|
4550
|
-
}
|
|
4551
|
-
for (var o = t.length, s = function(n) {
|
|
4541
|
+
if (this.options.strict || this.options.assumeObjects) this.push(l(this.options.strict && i, this, t, n, e));
|
|
4542
|
+
else for (var o = t.length, s = function(n) {
|
|
4552
4543
|
a.replaceStack(function(i) {
|
|
4553
4544
|
var o = a.nameLookup(i, t[n], e);
|
|
4554
4545
|
return r ? [" && ", o] : [
|
|
@@ -4828,13 +4819,13 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
4828
4819
|
] : a;
|
|
4829
4820
|
}
|
|
4830
4821
|
e.default = c, t.exports = e.default;
|
|
4831
|
-
})),
|
|
4822
|
+
})), Lt = /* @__PURE__ */ Y(((e, t) => {
|
|
4832
4823
|
e.__esModule = !0;
|
|
4833
4824
|
// istanbul ignore next
|
|
4834
4825
|
function n(e) {
|
|
4835
4826
|
return e && e.__esModule ? e : { default: e };
|
|
4836
4827
|
}
|
|
4837
|
-
var r = n(
|
|
4828
|
+
var r = n(gt()), i = n(_t()), a = St(), o = Ct(), s = n(It()), c = n(yt()), l = n(ht()), u = r.default.create;
|
|
4838
4829
|
function d() {
|
|
4839
4830
|
var e = u();
|
|
4840
4831
|
return e.compile = function(t, n) {
|
|
@@ -4845,85 +4836,75 @@ var $ = /* @__PURE__ */ Z(((e) => {
|
|
|
4845
4836
|
}
|
|
4846
4837
|
var f = d();
|
|
4847
4838
|
f.create = d, l.default(f), f.Visitor = c.default, f.default = f, e.default = f, t.exports = e.default;
|
|
4848
|
-
})),
|
|
4849
|
-
function
|
|
4850
|
-
var t =
|
|
4839
|
+
})), Rt = typeof global == "object" && global && global.Object === Object && global, zt = typeof self == "object" && self && self.Object === Object && self, Bt = Rt || zt || Function("return this")(), Vt = Bt.Symbol, Ht = Object.prototype, Ut = Ht.hasOwnProperty, Wt = Ht.toString, Gt = Vt ? Vt.toStringTag : void 0;
|
|
4840
|
+
function Kt(e) {
|
|
4841
|
+
var t = Ut.call(e, Gt), n = e[Gt];
|
|
4851
4842
|
try {
|
|
4852
|
-
e[
|
|
4843
|
+
e[Gt] = void 0;
|
|
4853
4844
|
var r = !0;
|
|
4854
4845
|
} catch {}
|
|
4855
|
-
var i =
|
|
4856
|
-
return r && (t ? e[
|
|
4846
|
+
var i = Wt.call(e);
|
|
4847
|
+
return r && (t ? e[Gt] = n : delete e[Gt]), i;
|
|
4857
4848
|
}
|
|
4858
|
-
|
|
4859
|
-
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
return Gt.call(e);
|
|
4849
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
|
|
4850
|
+
var qt = Object.prototype.toString;
|
|
4851
|
+
function Jt(e) {
|
|
4852
|
+
return qt.call(e);
|
|
4863
4853
|
}
|
|
4864
|
-
|
|
4865
|
-
|
|
4866
|
-
|
|
4867
|
-
|
|
4868
|
-
return e == null ? e === void 0 ? Jt : qt : Yt && Yt in Object(e) ? Wt(e) : Kt(e);
|
|
4854
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
|
|
4855
|
+
var Yt = "[object Null]", Xt = "[object Undefined]", Zt = Vt ? Vt.toStringTag : void 0;
|
|
4856
|
+
function Qt(e) {
|
|
4857
|
+
return e == null ? e === void 0 ? Xt : Yt : Zt && Zt in Object(e) ? Kt(e) : Jt(e);
|
|
4869
4858
|
}
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
function Zt(e) {
|
|
4859
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
|
|
4860
|
+
function $t(e) {
|
|
4873
4861
|
return typeof e == "object" && !!e;
|
|
4874
4862
|
}
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
return typeof e == "symbol" || Zt(e) && Xt(e) == Qt;
|
|
4863
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
|
|
4864
|
+
var en = "[object Symbol]";
|
|
4865
|
+
function tn(e) {
|
|
4866
|
+
return typeof e == "symbol" || $t(e) && Qt(e) == en;
|
|
4880
4867
|
}
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
function en(e, t) {
|
|
4868
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js
|
|
4869
|
+
function nn(e, t) {
|
|
4884
4870
|
for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
|
|
4885
4871
|
return i;
|
|
4886
4872
|
}
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4890
|
-
function on(e) {
|
|
4873
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
|
|
4874
|
+
var rn = Array.isArray, an = 1 / 0, on = Vt ? Vt.prototype : void 0, sn = on ? on.toString : void 0;
|
|
4875
|
+
function cn(e) {
|
|
4891
4876
|
if (typeof e == "string") return e;
|
|
4892
|
-
if (
|
|
4893
|
-
if (
|
|
4877
|
+
if (rn(e)) return nn(e, cn) + "";
|
|
4878
|
+
if (tn(e)) return sn ? sn.call(e) : "";
|
|
4894
4879
|
var t = e + "";
|
|
4895
|
-
return t == "0" && 1 / e == -
|
|
4880
|
+
return t == "0" && 1 / e == -an ? "-0" : t;
|
|
4896
4881
|
}
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
function sn(e) {
|
|
4882
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
|
|
4883
|
+
function ln(e) {
|
|
4900
4884
|
var t = typeof e;
|
|
4901
4885
|
return e != null && (t == "object" || t == "function");
|
|
4902
4886
|
}
|
|
4903
|
-
|
|
4904
|
-
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
return t == ln || t == un || t == cn || t == dn;
|
|
4887
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
|
|
4888
|
+
var un = "[object AsyncFunction]", dn = "[object Function]", fn = "[object GeneratorFunction]", pn = "[object Proxy]";
|
|
4889
|
+
function mn(e) {
|
|
4890
|
+
if (!ln(e)) return !1;
|
|
4891
|
+
var t = Qt(e);
|
|
4892
|
+
return t == dn || t == fn || t == un || t == pn;
|
|
4910
4893
|
}
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
var
|
|
4914
|
-
var e = /[^.]+$/.exec(pn && pn.keys && pn.keys.IE_PROTO || "");
|
|
4894
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
|
|
4895
|
+
var hn = Bt["__core-js_shared__"], gn = function() {
|
|
4896
|
+
var e = /[^.]+$/.exec(hn && hn.keys && hn.keys.IE_PROTO || "");
|
|
4915
4897
|
return e ? "Symbol(src)_1." + e : "";
|
|
4916
4898
|
}();
|
|
4917
|
-
function hn(e) {
|
|
4918
|
-
return !!mn && mn in e;
|
|
4919
|
-
}
|
|
4920
|
-
//#endregion
|
|
4921
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
|
|
4922
|
-
var gn = Function.prototype.toString;
|
|
4923
4899
|
function _n(e) {
|
|
4900
|
+
return !!gn && gn in e;
|
|
4901
|
+
}
|
|
4902
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
|
|
4903
|
+
var vn = Function.prototype.toString;
|
|
4904
|
+
function yn(e) {
|
|
4924
4905
|
if (e != null) {
|
|
4925
4906
|
try {
|
|
4926
|
-
return
|
|
4907
|
+
return vn.call(e);
|
|
4927
4908
|
} catch {}
|
|
4928
4909
|
try {
|
|
4929
4910
|
return e + "";
|
|
@@ -4931,251 +4912,214 @@ function _n(e) {
|
|
|
4931
4912
|
}
|
|
4932
4913
|
return "";
|
|
4933
4914
|
}
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
return !sn(e) || hn(e) ? !1 : (fn(e) ? wn : yn).test(_n(e));
|
|
4915
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
|
|
4916
|
+
var bn = /[\\^$.*+?()[\]{}|]/g, xn = /^\[object .+?Constructor\]$/, Sn = Function.prototype, Cn = Object.prototype, wn = Sn.toString, Tn = Cn.hasOwnProperty, En = RegExp("^" + wn.call(Tn).replace(bn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
4917
|
+
function Dn(e) {
|
|
4918
|
+
return !ln(e) || _n(e) ? !1 : (mn(e) ? En : xn).test(yn(e));
|
|
4939
4919
|
}
|
|
4940
|
-
|
|
4941
|
-
|
|
4942
|
-
function En(e, t) {
|
|
4920
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
|
|
4921
|
+
function On(e, t) {
|
|
4943
4922
|
return e?.[t];
|
|
4944
4923
|
}
|
|
4945
|
-
|
|
4946
|
-
|
|
4947
|
-
|
|
4948
|
-
|
|
4949
|
-
return Tn(n) ? n : void 0;
|
|
4924
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
|
|
4925
|
+
function kn(e, t) {
|
|
4926
|
+
var n = On(e, t);
|
|
4927
|
+
return Dn(n) ? n : void 0;
|
|
4950
4928
|
}
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
function On(e, t) {
|
|
4929
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
|
|
4930
|
+
function An(e, t) {
|
|
4954
4931
|
return e === t || e !== e && t !== t;
|
|
4955
4932
|
}
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
if (tn(e)) return !1;
|
|
4933
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js
|
|
4934
|
+
var jn = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Mn = /^\w*$/;
|
|
4935
|
+
function Nn(e, t) {
|
|
4936
|
+
if (rn(e)) return !1;
|
|
4961
4937
|
var n = typeof e;
|
|
4962
|
-
return n == "number" || n == "symbol" || n == "boolean" || e == null ||
|
|
4938
|
+
return n == "number" || n == "symbol" || n == "boolean" || e == null || tn(e) ? !0 : Mn.test(e) || !jn.test(e) || t != null && e in Object(t);
|
|
4963
4939
|
}
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
function Nn() {
|
|
4970
|
-
this.__data__ = Mn ? Mn(null) : {}, this.size = 0;
|
|
4940
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
|
|
4941
|
+
var Pn = kn(Object, "create");
|
|
4942
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
|
|
4943
|
+
function Fn() {
|
|
4944
|
+
this.__data__ = Pn ? Pn(null) : {}, this.size = 0;
|
|
4971
4945
|
}
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
function Pn(e) {
|
|
4946
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
|
|
4947
|
+
function In(e) {
|
|
4975
4948
|
var t = this.has(e) && delete this.__data__[e];
|
|
4976
4949
|
return this.size -= +!!t, t;
|
|
4977
4950
|
}
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
function Ln(e) {
|
|
4951
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
|
|
4952
|
+
var Ln = "__lodash_hash_undefined__", Rn = Object.prototype.hasOwnProperty;
|
|
4953
|
+
function zn(e) {
|
|
4982
4954
|
var t = this.__data__;
|
|
4983
|
-
if (
|
|
4955
|
+
if (Pn) {
|
|
4984
4956
|
var n = t[e];
|
|
4985
|
-
return n ===
|
|
4957
|
+
return n === Ln ? void 0 : n;
|
|
4986
4958
|
}
|
|
4987
|
-
return
|
|
4959
|
+
return Rn.call(t, e) ? t[e] : void 0;
|
|
4988
4960
|
}
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
function zn(e) {
|
|
4961
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
|
|
4962
|
+
var Bn = Object.prototype.hasOwnProperty;
|
|
4963
|
+
function Vn(e) {
|
|
4993
4964
|
var t = this.__data__;
|
|
4994
|
-
return
|
|
4965
|
+
return Pn ? t[e] !== void 0 : Bn.call(t, e);
|
|
4995
4966
|
}
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
function Vn(e, t) {
|
|
4967
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
|
|
4968
|
+
var Hn = "__lodash_hash_undefined__";
|
|
4969
|
+
function Un(e, t) {
|
|
5000
4970
|
var n = this.__data__;
|
|
5001
|
-
return this.size += +!this.has(e), n[e] =
|
|
4971
|
+
return this.size += +!this.has(e), n[e] = Pn && t === void 0 ? Hn : t, this;
|
|
5002
4972
|
}
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
function Hn(e) {
|
|
4973
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
|
|
4974
|
+
function Wn(e) {
|
|
5006
4975
|
var t = -1, n = e == null ? 0 : e.length;
|
|
5007
4976
|
for (this.clear(); ++t < n;) {
|
|
5008
4977
|
var r = e[t];
|
|
5009
4978
|
this.set(r[0], r[1]);
|
|
5010
4979
|
}
|
|
5011
4980
|
}
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
function Un() {
|
|
4981
|
+
Wn.prototype.clear = Fn, Wn.prototype.delete = In, Wn.prototype.get = zn, Wn.prototype.has = Vn, Wn.prototype.set = Un;
|
|
4982
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
|
|
4983
|
+
function Gn() {
|
|
5016
4984
|
this.__data__ = [], this.size = 0;
|
|
5017
4985
|
}
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
for (var n = e.length; n--;) if (On(e[n][0], t)) return n;
|
|
4986
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
|
|
4987
|
+
function Kn(e, t) {
|
|
4988
|
+
for (var n = e.length; n--;) if (An(e[n][0], t)) return n;
|
|
5022
4989
|
return -1;
|
|
5023
4990
|
}
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : Gn.call(t, n, 1), --this.size, !0);
|
|
4991
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
|
|
4992
|
+
var qn = Array.prototype.splice;
|
|
4993
|
+
function Jn(e) {
|
|
4994
|
+
var t = this.__data__, n = Kn(t, e);
|
|
4995
|
+
return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : qn.call(t, n, 1), --this.size, !0);
|
|
5030
4996
|
}
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
var t = this.__data__, n = Wn(t, e);
|
|
4997
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
|
|
4998
|
+
function Yn(e) {
|
|
4999
|
+
var t = this.__data__, n = Kn(t, e);
|
|
5035
5000
|
return n < 0 ? void 0 : t[n][1];
|
|
5036
5001
|
}
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
return Wn(this.__data__, e) > -1;
|
|
5002
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
|
|
5003
|
+
function Xn(e) {
|
|
5004
|
+
return Kn(this.__data__, e) > -1;
|
|
5041
5005
|
}
|
|
5042
|
-
|
|
5043
|
-
|
|
5044
|
-
|
|
5045
|
-
var n = this.__data__, r = Wn(n, e);
|
|
5006
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
|
|
5007
|
+
function Zn(e, t) {
|
|
5008
|
+
var n = this.__data__, r = Kn(n, e);
|
|
5046
5009
|
return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
|
|
5047
5010
|
}
|
|
5048
|
-
|
|
5049
|
-
|
|
5050
|
-
function Xn(e) {
|
|
5011
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
|
|
5012
|
+
function Qn(e) {
|
|
5051
5013
|
var t = -1, n = e == null ? 0 : e.length;
|
|
5052
5014
|
for (this.clear(); ++t < n;) {
|
|
5053
5015
|
var r = e[t];
|
|
5054
5016
|
this.set(r[0], r[1]);
|
|
5055
5017
|
}
|
|
5056
5018
|
}
|
|
5057
|
-
|
|
5058
|
-
|
|
5059
|
-
|
|
5060
|
-
|
|
5061
|
-
|
|
5062
|
-
//#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
|
|
5063
|
-
function Qn() {
|
|
5019
|
+
Qn.prototype.clear = Gn, Qn.prototype.delete = Jn, Qn.prototype.get = Yn, Qn.prototype.has = Xn, Qn.prototype.set = Zn;
|
|
5020
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
|
|
5021
|
+
var $n = kn(Bt, "Map");
|
|
5022
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
|
|
5023
|
+
function er() {
|
|
5064
5024
|
this.size = 0, this.__data__ = {
|
|
5065
|
-
hash: new
|
|
5066
|
-
map: new (
|
|
5067
|
-
string: new
|
|
5025
|
+
hash: new Wn(),
|
|
5026
|
+
map: new ($n || Qn)(),
|
|
5027
|
+
string: new Wn()
|
|
5068
5028
|
};
|
|
5069
5029
|
}
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
function $n(e) {
|
|
5030
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
|
|
5031
|
+
function tr(e) {
|
|
5073
5032
|
var t = typeof e;
|
|
5074
5033
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
5075
5034
|
}
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
function er(e, t) {
|
|
5035
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
|
|
5036
|
+
function nr(e, t) {
|
|
5079
5037
|
var n = e.__data__;
|
|
5080
|
-
return
|
|
5038
|
+
return tr(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
5081
5039
|
}
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
var t = er(this, e).delete(e);
|
|
5040
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
|
|
5041
|
+
function rr(e) {
|
|
5042
|
+
var t = nr(this, e).delete(e);
|
|
5086
5043
|
return this.size -= +!!t, t;
|
|
5087
5044
|
}
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
return er(this, e).get(e);
|
|
5045
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
|
|
5046
|
+
function ir(e) {
|
|
5047
|
+
return nr(this, e).get(e);
|
|
5092
5048
|
}
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
return er(this, e).has(e);
|
|
5049
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
|
|
5050
|
+
function ar(e) {
|
|
5051
|
+
return nr(this, e).has(e);
|
|
5097
5052
|
}
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
var n = er(this, e), r = n.size;
|
|
5053
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
|
|
5054
|
+
function or(e, t) {
|
|
5055
|
+
var n = nr(this, e), r = n.size;
|
|
5102
5056
|
return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
|
|
5103
5057
|
}
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
function ar(e) {
|
|
5058
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
|
|
5059
|
+
function sr(e) {
|
|
5107
5060
|
var t = -1, n = e == null ? 0 : e.length;
|
|
5108
5061
|
for (this.clear(); ++t < n;) {
|
|
5109
5062
|
var r = e[t];
|
|
5110
5063
|
this.set(r[0], r[1]);
|
|
5111
5064
|
}
|
|
5112
5065
|
}
|
|
5113
|
-
|
|
5114
|
-
|
|
5115
|
-
|
|
5116
|
-
|
|
5117
|
-
|
|
5118
|
-
if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(or);
|
|
5066
|
+
sr.prototype.clear = er, sr.prototype.delete = rr, sr.prototype.get = ir, sr.prototype.has = ar, sr.prototype.set = or;
|
|
5067
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.js
|
|
5068
|
+
var cr = "Expected a function";
|
|
5069
|
+
function lr(e, t) {
|
|
5070
|
+
if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(cr);
|
|
5119
5071
|
var n = function() {
|
|
5120
5072
|
var r = arguments, i = t ? t.apply(this, r) : r[0], a = n.cache;
|
|
5121
5073
|
if (a.has(i)) return a.get(i);
|
|
5122
5074
|
var o = e.apply(this, r);
|
|
5123
5075
|
return n.cache = a.set(i, o) || a, o;
|
|
5124
5076
|
};
|
|
5125
|
-
return n.cache = new (
|
|
5077
|
+
return n.cache = new (lr.Cache || sr)(), n;
|
|
5126
5078
|
}
|
|
5127
|
-
|
|
5128
|
-
|
|
5129
|
-
|
|
5130
|
-
|
|
5131
|
-
|
|
5132
|
-
|
|
5133
|
-
return n.size === cr && n.clear(), e;
|
|
5079
|
+
lr.Cache = sr;
|
|
5080
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js
|
|
5081
|
+
var ur = 500;
|
|
5082
|
+
function dr(e) {
|
|
5083
|
+
var t = lr(e, function(e) {
|
|
5084
|
+
return n.size === ur && n.clear(), e;
|
|
5134
5085
|
}), n = t.cache;
|
|
5135
5086
|
return t;
|
|
5136
5087
|
}
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
var ur = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, dr = /\\(\\)?/g, fr = lr(function(e) {
|
|
5088
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js
|
|
5089
|
+
var fr = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, pr = /\\(\\)?/g, mr = dr(function(e) {
|
|
5140
5090
|
var t = [];
|
|
5141
|
-
return e.charCodeAt(0) === 46 && t.push(""), e.replace(
|
|
5142
|
-
t.push(r ? i.replace(
|
|
5091
|
+
return e.charCodeAt(0) === 46 && t.push(""), e.replace(fr, function(e, n, r, i) {
|
|
5092
|
+
t.push(r ? i.replace(pr, "$1") : n || e);
|
|
5143
5093
|
}), t;
|
|
5144
5094
|
});
|
|
5145
|
-
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
return e == null ? "" : on(e);
|
|
5095
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js
|
|
5096
|
+
function hr(e) {
|
|
5097
|
+
return e == null ? "" : cn(e);
|
|
5149
5098
|
}
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
return tn(e) ? e : jn(e, t) ? [e] : fr(pr(e));
|
|
5099
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js
|
|
5100
|
+
function gr(e, t) {
|
|
5101
|
+
return rn(e) ? e : Nn(e, t) ? [e] : mr(hr(e));
|
|
5154
5102
|
}
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
if (typeof e == "string" || $t(e)) return e;
|
|
5103
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js
|
|
5104
|
+
var _r = 1 / 0;
|
|
5105
|
+
function vr(e) {
|
|
5106
|
+
if (typeof e == "string" || tn(e)) return e;
|
|
5160
5107
|
var t = e + "";
|
|
5161
|
-
return t == "0" && 1 / e == -
|
|
5108
|
+
return t == "0" && 1 / e == -_r ? "-0" : t;
|
|
5162
5109
|
}
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
for (var n = 0, r = t.length; e != null && n < r;) e = e[gr(t[n++])];
|
|
5110
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js
|
|
5111
|
+
function yr(e, t) {
|
|
5112
|
+
t = gr(t, e);
|
|
5113
|
+
for (var n = 0, r = t.length; e != null && n < r;) e = e[vr(t[n++])];
|
|
5168
5114
|
return n && n == r ? e : void 0;
|
|
5169
5115
|
}
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
var r = e == null ? void 0 : _r(e, t);
|
|
5116
|
+
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js
|
|
5117
|
+
function br(e, t, n) {
|
|
5118
|
+
var r = e == null ? void 0 : yr(e, t);
|
|
5174
5119
|
return r === void 0 ? n : r;
|
|
5175
5120
|
}
|
|
5176
|
-
|
|
5177
|
-
|
|
5178
|
-
var yr = (e) => {
|
|
5121
|
+
// ../../node_modules/.pnpm/zustand@5.0.15_@types+react@19.3.0_immer@11.1.15_react@19.3.1_use-sync-external-store@1.7.0_react@19.3.1_/node_modules/zustand/esm/vanilla.mjs
|
|
5122
|
+
var xr = (e) => {
|
|
5179
5123
|
let t, n = /* @__PURE__ */ new Set(), r = (e, r) => {
|
|
5180
5124
|
let i = typeof e == "function" ? e(t) : e;
|
|
5181
5125
|
if (!Object.is(i, t)) {
|
|
@@ -5189,17 +5133,17 @@ var yr = (e) => {
|
|
|
5189
5133
|
subscribe: (e) => (n.add(e), () => n.delete(e))
|
|
5190
5134
|
}, o = t = e(r, i, a);
|
|
5191
5135
|
return a;
|
|
5192
|
-
},
|
|
5193
|
-
function
|
|
5136
|
+
}, Sr = ((e) => e ? xr(e) : xr), Cr = (e) => e;
|
|
5137
|
+
function wr(t, n = Cr) {
|
|
5194
5138
|
let r = e.useSyncExternalStore(t.subscribe, e.useCallback(() => n(t.getState()), [t, n]), e.useCallback(() => n(t.getInitialState()), [t, n]));
|
|
5195
5139
|
return e.useDebugValue(r), r;
|
|
5196
5140
|
}
|
|
5197
|
-
var
|
|
5198
|
-
let t =
|
|
5141
|
+
var Tr = (e) => {
|
|
5142
|
+
let t = Sr(e), n = (e) => wr(t, e);
|
|
5199
5143
|
return Object.assign(n, t), n;
|
|
5200
|
-
},
|
|
5201
|
-
function
|
|
5202
|
-
let t = (0,
|
|
5144
|
+
}, Er = ((e) => e ? Tr(e) : Tr), Dr = /* @__PURE__ */ Ke(Lt(), 1), Or = (e) => typeof e == "object" && !!e && "one" in e && "many" in e && typeof e.one == "string" && typeof e.many == "string", kr = (e, t) => t === 1 ? e.one : e.many;
|
|
5145
|
+
function Ar(e) {
|
|
5146
|
+
let t = (0, X.c)(3), n = jr, r, a;
|
|
5203
5147
|
t[0] === e ? (r = t[1], a = t[2]) : (r = () => {
|
|
5204
5148
|
if (process.env.NODE_ENV !== "development") return;
|
|
5205
5149
|
let t = /* @__PURE__ */ new Map();
|
|
@@ -5218,17 +5162,17 @@ function Or(e) {
|
|
|
5218
5162
|
});
|
|
5219
5163
|
}, a = [e], t[0] = e, t[1] = r, t[2] = a), i(r, a);
|
|
5220
5164
|
}
|
|
5221
|
-
function
|
|
5165
|
+
function jr(e) {
|
|
5222
5166
|
let t = [], n = (e, r) => {
|
|
5223
5167
|
Object.entries(e).forEach((e) => {
|
|
5224
5168
|
let [i, a] = e, o = r ? `${r}.${i}` : i;
|
|
5225
|
-
typeof a == "object" && a && !Array.isArray(a) && !
|
|
5169
|
+
typeof a == "object" && a && !Array.isArray(a) && !Or(a) ? n(a, o) : t.push(o);
|
|
5226
5170
|
});
|
|
5227
5171
|
};
|
|
5228
5172
|
return n(e, ""), t;
|
|
5229
5173
|
}
|
|
5230
|
-
|
|
5231
|
-
var
|
|
5174
|
+
Dr.Utils.escapeExpression = (e) => String(e ?? "").replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">");
|
|
5175
|
+
var Mr = "language", Nr = Er((e) => ({
|
|
5232
5176
|
language: "en",
|
|
5233
5177
|
explicitLanguage: void 0,
|
|
5234
5178
|
setLanguage: (t) => {
|
|
@@ -5238,32 +5182,32 @@ var Ar = "language", jr = wr((e) => ({
|
|
|
5238
5182
|
explicitLanguage: n
|
|
5239
5183
|
});
|
|
5240
5184
|
try {
|
|
5241
|
-
globalThis.localStorage?.setItem(
|
|
5185
|
+
globalThis.localStorage?.setItem(Mr, n);
|
|
5242
5186
|
} catch {}
|
|
5243
5187
|
}
|
|
5244
5188
|
}));
|
|
5245
|
-
function
|
|
5246
|
-
let n = (0,
|
|
5189
|
+
function $(e, t) {
|
|
5190
|
+
let n = (0, X.c)(18), r;
|
|
5247
5191
|
n[0] === t ? r = n[1] : (r = t === void 0 ? {} : t, n[0] = t, n[1] = r);
|
|
5248
|
-
let i = r, { language: a, setLanguage: o } =
|
|
5249
|
-
n[2] !==
|
|
5250
|
-
let t =
|
|
5251
|
-
return
|
|
5252
|
-
}, n[2] =
|
|
5192
|
+
let i = r, { language: a, setLanguage: o } = Nr(), [s] = l(e), c = s[a], u = s.en, d;
|
|
5193
|
+
n[2] !== c || n[3] !== u ? (d = (e) => {
|
|
5194
|
+
let t = br(u, e);
|
|
5195
|
+
return br(c, e, t);
|
|
5196
|
+
}, n[2] = c, n[3] = u, n[4] = d) : d = n[4];
|
|
5253
5197
|
let f = d, p;
|
|
5254
5198
|
n[5] !== f || n[6] !== i.escapeValues ? (p = (e, t) => {
|
|
5255
5199
|
let n = `!!! ${e} !!!`, r = f(e);
|
|
5256
|
-
return
|
|
5200
|
+
return Or(r) && t && typeof t.count == "number" && (r = kr(r, t.count)), r === void 0 || typeof r != "string" ? (console.error(`Missing translation for key: ${e}`), n) : Dr.compile(r, { noEscape: i.escapeValues === !1 })(t);
|
|
5257
5201
|
}, n[5] = f, n[6] = i.escapeValues, n[7] = p) : p = n[7];
|
|
5258
5202
|
let m = p, h;
|
|
5259
5203
|
n[8] === m ? h = n[9] : (h = (e) => typeof e == "string" ? e : m(e.key, e.data), n[8] = m, n[9] = h);
|
|
5260
5204
|
let g = h, _;
|
|
5261
5205
|
n[10] === f ? _ = n[11] : (_ = (e, t) => {
|
|
5262
5206
|
let n = f(e);
|
|
5263
|
-
return n !== void 0 && (typeof n == "string" ||
|
|
5207
|
+
return n !== void 0 && (typeof n == "string" || Or(n) || t?.succeedIfKeyIsObject && typeof n == "object");
|
|
5264
5208
|
}, n[10] = f, n[11] = _);
|
|
5265
5209
|
let v = _;
|
|
5266
|
-
|
|
5210
|
+
Ar(s);
|
|
5267
5211
|
let y;
|
|
5268
5212
|
return n[12] !== a || n[13] !== o || n[14] !== m || n[15] !== v || n[16] !== g ? (y = {
|
|
5269
5213
|
t: m,
|
|
@@ -5273,36 +5217,35 @@ function Mr(e, t) {
|
|
|
5273
5217
|
setLanguage: o
|
|
5274
5218
|
}, n[12] = a, n[13] = o, n[14] = m, n[15] = v, n[16] = g, n[17] = y) : y = n[17], y;
|
|
5275
5219
|
}
|
|
5276
|
-
function
|
|
5277
|
-
let e =
|
|
5220
|
+
function Pr() {
|
|
5221
|
+
let e = Nr.getState().explicitLanguage;
|
|
5278
5222
|
if (e) return e;
|
|
5279
5223
|
for (let e of ["localStorage", "sessionStorage"]) try {
|
|
5280
|
-
let t =
|
|
5224
|
+
let t = Qe(globalThis[e]?.getItem(Mr));
|
|
5281
5225
|
if (t) return t;
|
|
5282
5226
|
} catch {}
|
|
5283
5227
|
for (let e of navigator.languages ?? [navigator.language]) {
|
|
5284
|
-
let t =
|
|
5228
|
+
let t = Qe(e);
|
|
5285
5229
|
if (t) return t;
|
|
5286
5230
|
}
|
|
5287
5231
|
}
|
|
5288
|
-
function
|
|
5289
|
-
return
|
|
5232
|
+
function Fr(e = "en") {
|
|
5233
|
+
return Pr() ?? e;
|
|
5290
5234
|
}
|
|
5291
|
-
function
|
|
5292
|
-
|
|
5235
|
+
function Ir() {
|
|
5236
|
+
Nr.setState({ language: Fr() });
|
|
5293
5237
|
}
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
function Ir(e, t, n) {
|
|
5238
|
+
// ../../node_modules/.pnpm/jdenticon@3.3.0/node_modules/jdenticon/dist/jdenticon-module.mjs
|
|
5239
|
+
function Lr(e, t, n) {
|
|
5297
5240
|
return parseInt(e.substr(t, n), 16);
|
|
5298
5241
|
}
|
|
5299
|
-
function
|
|
5242
|
+
function Rr(e) {
|
|
5300
5243
|
return e |= 0, e < 0 ? "00" : e < 16 ? "0" + e.toString(16) : e < 256 ? e.toString(16) : "ff";
|
|
5301
5244
|
}
|
|
5302
|
-
function
|
|
5303
|
-
return n = n < 0 ? n + 6 : n > 6 ? n - 6 : n,
|
|
5245
|
+
function zr(e, t, n) {
|
|
5246
|
+
return n = n < 0 ? n + 6 : n > 6 ? n - 6 : n, Rr(255 * (n < 1 ? e + (t - e) * n : n < 3 ? t : n < 4 ? e + (t - e) * (4 - n) : e));
|
|
5304
5247
|
}
|
|
5305
|
-
function
|
|
5248
|
+
function Br(e) {
|
|
5306
5249
|
if (/^#[0-9a-f]{3,8}$/i.test(e)) {
|
|
5307
5250
|
let t, n = e.length;
|
|
5308
5251
|
if (n < 6) {
|
|
@@ -5312,18 +5255,18 @@ function zr(e) {
|
|
|
5312
5255
|
return (n == 7 || n > 8) && (t = e), t;
|
|
5313
5256
|
}
|
|
5314
5257
|
}
|
|
5315
|
-
function
|
|
5258
|
+
function Vr(e, t, n) {
|
|
5316
5259
|
let r;
|
|
5317
5260
|
if (t == 0) {
|
|
5318
|
-
let e =
|
|
5261
|
+
let e = Rr(n * 255);
|
|
5319
5262
|
r = e + e + e;
|
|
5320
5263
|
} else {
|
|
5321
5264
|
let i = n <= .5 ? n * (t + 1) : n + t - n * t, a = n * 2 - i;
|
|
5322
|
-
r =
|
|
5265
|
+
r = zr(a, i, e * 6 + 2) + zr(a, i, e * 6) + zr(a, i, e * 6 - 2);
|
|
5323
5266
|
}
|
|
5324
5267
|
return "#" + r;
|
|
5325
5268
|
}
|
|
5326
|
-
function
|
|
5269
|
+
function Hr(e, t, n) {
|
|
5327
5270
|
let r = [
|
|
5328
5271
|
.55,
|
|
5329
5272
|
.5,
|
|
@@ -5333,14 +5276,14 @@ function Vr(e, t, n) {
|
|
|
5333
5276
|
.55,
|
|
5334
5277
|
.55
|
|
5335
5278
|
][e * 6 + .5 | 0];
|
|
5336
|
-
return n = n < .5 ? n * r * 2 : r + (n - .5) * (1 - r) * 2,
|
|
5279
|
+
return n = n < .5 ? n * r * 2 : r + (n - .5) * (1 - r) * 2, Vr(e, t, n);
|
|
5337
5280
|
}
|
|
5338
|
-
var
|
|
5281
|
+
var Ur = typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {}, Wr = {
|
|
5339
5282
|
V: "jdenticon_config",
|
|
5340
5283
|
n: "config"
|
|
5341
|
-
},
|
|
5342
|
-
function
|
|
5343
|
-
let n = typeof e == "object" && e || Wr
|
|
5284
|
+
}, Gr = {};
|
|
5285
|
+
function Kr(e, t) {
|
|
5286
|
+
let n = typeof e == "object" && e || Gr[Wr.n] || Ur[Wr.V] || {}, r = n.lightness || {}, i = n.saturation || {}, a = "color" in i ? i.color : i, o = i.grayscale, s = n.backColor, c = n.padding;
|
|
5344
5287
|
function l(e, t) {
|
|
5345
5288
|
let n = r[e];
|
|
5346
5289
|
return n && n.length > 1 || (n = t), function(e) {
|
|
@@ -5357,25 +5300,25 @@ function Gr(e, t) {
|
|
|
5357
5300
|
D: typeof o == "number" ? o : 0,
|
|
5358
5301
|
p: l("color", [.4, .8]),
|
|
5359
5302
|
F: l("grayscale", [.3, .9]),
|
|
5360
|
-
G:
|
|
5303
|
+
G: Br(s),
|
|
5361
5304
|
X: typeof e == "number" ? e : typeof c == "number" ? c : t
|
|
5362
5305
|
};
|
|
5363
5306
|
}
|
|
5364
|
-
var
|
|
5307
|
+
var qr = class {
|
|
5365
5308
|
constructor(e, t) {
|
|
5366
5309
|
this.x = e, this.y = t;
|
|
5367
5310
|
}
|
|
5368
|
-
},
|
|
5311
|
+
}, Jr = class {
|
|
5369
5312
|
constructor(e, t, n, r) {
|
|
5370
5313
|
this.q = e, this.t = t, this.H = n, this.Y = r;
|
|
5371
5314
|
}
|
|
5372
5315
|
I(e, t, n, r) {
|
|
5373
5316
|
let i = this.q + this.H, a = this.t + this.H, o = this.Y;
|
|
5374
|
-
return o === 1 ? new
|
|
5317
|
+
return o === 1 ? new qr(i - t - (r || 0), this.t + e) : o === 2 ? new qr(i - e - (n || 0), a - t - (r || 0)) : o === 3 ? new qr(this.q + t, a - e - (n || 0)) : new qr(this.q + e, this.t + t);
|
|
5375
5318
|
}
|
|
5376
|
-
},
|
|
5319
|
+
}, Yr = new Jr(0, 0, 0, 0), Xr = class {
|
|
5377
5320
|
constructor(e) {
|
|
5378
|
-
this.J = e, this.u =
|
|
5321
|
+
this.J = e, this.u = Yr;
|
|
5379
5322
|
}
|
|
5380
5323
|
g(e, t) {
|
|
5381
5324
|
let n = t ? -2 : 2, r = [];
|
|
@@ -5424,7 +5367,7 @@ var Kr = class {
|
|
|
5424
5367
|
], i);
|
|
5425
5368
|
}
|
|
5426
5369
|
};
|
|
5427
|
-
function
|
|
5370
|
+
function Zr(e, t, n, r) {
|
|
5428
5371
|
e %= 14;
|
|
5429
5372
|
let i, a, o, s, c, l;
|
|
5430
5373
|
e ? e == 1 ? (o = 0 | n * .5, s = 0 | n * .8, t.j(n - o, 0, o, s, 2)) : e == 2 ? (o = 0 | n / 3, t.i(o, o, n - o, n - o)) : e == 3 ? (c = n * .1, l = n < 6 ? 1 : n < 8 ? 2 : 0 | n * .25, c = c > 1 ? 0 | c : c > .5 ? 1 : c, t.i(l, l, n - c - l, n - c - l)) : e == 4 ? (a = 0 | n * .15, o = 0 | n * .5, t.h(n - o - a, n - o - a, o)) : e == 5 ? (c = n * .1, l = c * 4, l > 3 && (l = 0 | l), t.i(0, 0, n, n), t.g([
|
|
@@ -5460,40 +5403,40 @@ function Xr(e, t, n, r) {
|
|
|
5460
5403
|
n
|
|
5461
5404
|
]));
|
|
5462
5405
|
}
|
|
5463
|
-
function
|
|
5406
|
+
function Qr(e, t, n) {
|
|
5464
5407
|
e %= 4;
|
|
5465
5408
|
let r;
|
|
5466
5409
|
e ? e == 1 ? t.j(0, n / 2, n, n / 2, 0) : e == 2 ? t.K(0, 0, n, n) : (r = n / 6, t.h(r, r, n - 2 * r)) : t.j(0, 0, n, n, 0);
|
|
5467
5410
|
}
|
|
5468
|
-
function
|
|
5411
|
+
function $r(e, t) {
|
|
5469
5412
|
return e = t.W(e), [
|
|
5470
|
-
|
|
5471
|
-
|
|
5472
|
-
|
|
5473
|
-
|
|
5474
|
-
|
|
5413
|
+
Hr(e, t.D, t.F(0)),
|
|
5414
|
+
Hr(e, t.o, t.p(.5)),
|
|
5415
|
+
Hr(e, t.D, t.F(1)),
|
|
5416
|
+
Hr(e, t.o, t.p(1)),
|
|
5417
|
+
Hr(e, t.o, t.p(0))
|
|
5475
5418
|
];
|
|
5476
5419
|
}
|
|
5477
|
-
function
|
|
5478
|
-
let r =
|
|
5420
|
+
function ei(e, t, n) {
|
|
5421
|
+
let r = Kr(n, .08);
|
|
5479
5422
|
r.G && e.m(r.G);
|
|
5480
5423
|
let i = e.k, a = .5 + i * r.X | 0;
|
|
5481
5424
|
i -= a * 2;
|
|
5482
|
-
let o = new
|
|
5425
|
+
let o = new Xr(e), s = 0 | i / 4, c = 0 | a + i / 2 - s * 2, l = 0 | a + i / 2 - s * 2;
|
|
5483
5426
|
function u(n, r, i, a, u) {
|
|
5484
|
-
let p =
|
|
5427
|
+
let p = Lr(t, i, 1), m = a ? Lr(t, a, 1) : 0;
|
|
5485
5428
|
e.L(d[f[n]]);
|
|
5486
|
-
for (let e = 0; e < u.length; e++) o.u = new
|
|
5429
|
+
for (let e = 0; e < u.length; e++) o.u = new Jr(c + u[e][0] * s, l + u[e][1] * s, s, m++ % 4), r(p, o, s, e);
|
|
5487
5430
|
e.M();
|
|
5488
5431
|
}
|
|
5489
|
-
let d =
|
|
5432
|
+
let d = $r(Lr(t, -7) / 268435455, r), f = [], p;
|
|
5490
5433
|
function m(e) {
|
|
5491
5434
|
if (e.indexOf(p) >= 0) {
|
|
5492
5435
|
for (let t = 0; t < e.length; t++) if (f.indexOf(e[t]) >= 0) return !0;
|
|
5493
5436
|
}
|
|
5494
5437
|
}
|
|
5495
|
-
for (let e = 0; e < 3; e++) p =
|
|
5496
|
-
u(0,
|
|
5438
|
+
for (let e = 0; e < 3; e++) p = Lr(t, 8 + e, 1) % d.length, (m([0, 4]) || m([2, 3])) && (p = 1), f.push(p);
|
|
5439
|
+
u(0, Qr, 2, 3, [
|
|
5497
5440
|
[1, 0],
|
|
5498
5441
|
[2, 0],
|
|
5499
5442
|
[2, 3],
|
|
@@ -5502,19 +5445,19 @@ function $r(e, t, n) {
|
|
|
5502
5445
|
[3, 1],
|
|
5503
5446
|
[3, 2],
|
|
5504
5447
|
[0, 2]
|
|
5505
|
-
]), u(1,
|
|
5448
|
+
]), u(1, Qr, 4, 5, [
|
|
5506
5449
|
[0, 0],
|
|
5507
5450
|
[3, 0],
|
|
5508
5451
|
[3, 3],
|
|
5509
5452
|
[0, 3]
|
|
5510
|
-
]), u(2,
|
|
5453
|
+
]), u(2, Zr, 1, null, [
|
|
5511
5454
|
[1, 1],
|
|
5512
5455
|
[2, 1],
|
|
5513
5456
|
[2, 2],
|
|
5514
5457
|
[1, 2]
|
|
5515
5458
|
]), e.finish();
|
|
5516
5459
|
}
|
|
5517
|
-
function
|
|
5460
|
+
function ti(e) {
|
|
5518
5461
|
var t = 0, n = 0, r = encodeURI(e) + "%80", i = [], a, o = [], s = 1732584193, c = 4023233417, l = ~s, u = ~c, d = 3285377520, f = [
|
|
5519
5462
|
s,
|
|
5520
5463
|
c,
|
|
@@ -5533,39 +5476,39 @@ function ei(e) {
|
|
|
5533
5476
|
for (t = 0; t < 40; t++) m += (f[t >> 3] >>> (7 - (t & 7)) * 4 & 15).toString(16);
|
|
5534
5477
|
return m;
|
|
5535
5478
|
}
|
|
5536
|
-
function
|
|
5479
|
+
function ni(e) {
|
|
5537
5480
|
return /^[0-9a-f]{11,}$/i.test(e) && e;
|
|
5538
5481
|
}
|
|
5539
|
-
function
|
|
5540
|
-
return
|
|
5482
|
+
function ri(e) {
|
|
5483
|
+
return ti(e == null ? "" : "" + e);
|
|
5541
5484
|
}
|
|
5542
5485
|
typeof document < "u" && document.querySelectorAll.bind(document);
|
|
5543
|
-
function
|
|
5486
|
+
function ii(e) {
|
|
5544
5487
|
return (e * 10 + .5 | 0) / 10;
|
|
5545
5488
|
}
|
|
5546
|
-
var
|
|
5489
|
+
var ai = class {
|
|
5547
5490
|
constructor() {
|
|
5548
5491
|
this.v = "";
|
|
5549
5492
|
}
|
|
5550
5493
|
g(e) {
|
|
5551
5494
|
let t = "";
|
|
5552
|
-
for (let n = 0; n < e.length; n++) t += (n ? "L" : "M") +
|
|
5495
|
+
for (let n = 0; n < e.length; n++) t += (n ? "L" : "M") + ii(e[n].x) + " " + ii(e[n].y);
|
|
5553
5496
|
this.v += t + "Z";
|
|
5554
5497
|
}
|
|
5555
5498
|
h(e, t, n) {
|
|
5556
|
-
let r = +!n, i =
|
|
5557
|
-
this.v += "M" +
|
|
5499
|
+
let r = +!n, i = ii(t / 2), a = ii(t), o = "a" + i + "," + i + " 0 1," + r + " ";
|
|
5500
|
+
this.v += "M" + ii(e.x) + " " + ii(e.y + t / 2) + o + a + ",0" + o + -a + ",0";
|
|
5558
5501
|
}
|
|
5559
|
-
},
|
|
5502
|
+
}, oi = class {
|
|
5560
5503
|
constructor(e) {
|
|
5561
5504
|
this.A, this.B = {}, this.O = e, this.k = e.k;
|
|
5562
5505
|
}
|
|
5563
5506
|
m(e) {
|
|
5564
|
-
let t = /^(#......)(..)?/.exec(e), n = t[2] ?
|
|
5507
|
+
let t = /^(#......)(..)?/.exec(e), n = t[2] ? Lr(t[2], 0) / 255 : 1;
|
|
5565
5508
|
this.O.m(t[1], n);
|
|
5566
5509
|
}
|
|
5567
5510
|
L(e) {
|
|
5568
|
-
this.A = this.B[e] || (this.B[e] = new
|
|
5511
|
+
this.A = this.B[e] || (this.B[e] = new ai());
|
|
5569
5512
|
}
|
|
5570
5513
|
M() {}
|
|
5571
5514
|
g(e) {
|
|
@@ -5578,13 +5521,13 @@ var ii = class {
|
|
|
5578
5521
|
let e = this.B;
|
|
5579
5522
|
for (let t in e) e.hasOwnProperty(t) && this.O.P(t, e[t].v);
|
|
5580
5523
|
}
|
|
5581
|
-
},
|
|
5524
|
+
}, si = {
|
|
5582
5525
|
R: "http://www.w3.org/2000/svg",
|
|
5583
5526
|
S: "width",
|
|
5584
5527
|
T: "height"
|
|
5585
|
-
},
|
|
5528
|
+
}, ci = class {
|
|
5586
5529
|
constructor(e) {
|
|
5587
|
-
this.k = e, this.C = "<svg xmlns=\"" +
|
|
5530
|
+
this.k = e, this.C = "<svg xmlns=\"" + si.R + "\" width=\"" + e + "\" height=\"" + e + "\" viewBox=\"0 0 " + e + " " + e + "\">";
|
|
5588
5531
|
}
|
|
5589
5532
|
m(e, t) {
|
|
5590
5533
|
t && (this.C += "<rect width=\"100%\" height=\"100%\" fill=\"" + e + "\" opacity=\"" + t.toFixed(2) + "\"/>");
|
|
@@ -5596,136 +5539,94 @@ var ii = class {
|
|
|
5596
5539
|
return this.C + "</svg>";
|
|
5597
5540
|
}
|
|
5598
5541
|
};
|
|
5599
|
-
function
|
|
5600
|
-
let r = new
|
|
5601
|
-
return
|
|
5542
|
+
function li(e, t, n) {
|
|
5543
|
+
let r = new ci(t);
|
|
5544
|
+
return ei(new oi(r), ni(e) || ri(e), n), r.toString();
|
|
5602
5545
|
}
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
let t = (0, Q.c)(5), { children: n, onStartDirectMessage: r } = e, i;
|
|
5546
|
+
// src/lib/components/attraccess-user/AttraccessUserActionsContext.tsx
|
|
5547
|
+
var ui = t({});
|
|
5548
|
+
function di(e) {
|
|
5549
|
+
let t = (0, X.c)(5), { children: n, onStartDirectMessage: r } = e, i;
|
|
5608
5550
|
t[0] === r ? i = t[1] : (i = { onStartDirectMessage: r }, t[0] = r, t[1] = i);
|
|
5609
5551
|
let a;
|
|
5610
|
-
return t[2] !== n || t[3] !== i ? (a = /* @__PURE__ */
|
|
5552
|
+
return t[2] !== n || t[3] !== i ? (a = /* @__PURE__ */ q(ui.Provider, {
|
|
5611
5553
|
value: i,
|
|
5612
5554
|
children: n
|
|
5613
5555
|
}), t[2] = n, t[3] = i, t[4] = a) : a = t[4], a;
|
|
5614
5556
|
}
|
|
5615
|
-
function
|
|
5616
|
-
return r(
|
|
5557
|
+
function fi() {
|
|
5558
|
+
return r(ui);
|
|
5617
5559
|
}
|
|
5618
|
-
var
|
|
5560
|
+
var pi = {
|
|
5619
5561
|
unknown: "Unknown",
|
|
5620
5562
|
startDirectMessage: "Start direct message",
|
|
5621
5563
|
emailVerified: "Email verified",
|
|
5622
5564
|
emailUnverified: "Email not verified"
|
|
5623
|
-
},
|
|
5565
|
+
}, mi = {
|
|
5624
5566
|
unknown: "Gelöscht",
|
|
5625
5567
|
startDirectMessage: "Direktnachricht starten",
|
|
5626
5568
|
emailVerified: "E-Mail bestätigt",
|
|
5627
5569
|
emailUnverified: "E-Mail nicht bestätigt"
|
|
5628
5570
|
};
|
|
5629
|
-
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5641
|
-
|
|
5642
|
-
|
|
5643
|
-
|
|
5644
|
-
|
|
5645
|
-
|
|
5646
|
-
|
|
5647
|
-
|
|
5648
|
-
|
|
5649
|
-
|
|
5650
|
-
|
|
5651
|
-
|
|
5652
|
-
|
|
5653
|
-
|
|
5654
|
-
|
|
5655
|
-
|
|
5656
|
-
|
|
5657
|
-
|
|
5658
|
-
|
|
5659
|
-
|
|
5660
|
-
|
|
5661
|
-
|
|
5662
|
-
|
|
5663
|
-
|
|
5664
|
-
|
|
5665
|
-
|
|
5666
|
-
|
|
5667
|
-
|
|
5668
|
-
|
|
5669
|
-
|
|
5670
|
-
|
|
5671
|
-
t[33] === M ? N = t[34] : (N = /* @__PURE__ */ Y("span", {
|
|
5672
|
-
className: "text-sm font-medium group-hover:underline",
|
|
5673
|
-
children: M
|
|
5674
|
-
}), t[33] = M, t[34] = N);
|
|
5675
|
-
let P;
|
|
5676
|
-
t[35] === S ? P = t[36] : (P = S && /* @__PURE__ */ Y(be, {
|
|
5677
|
-
className: "h-3 w-3 text-muted-foreground shrink-0",
|
|
5678
|
-
"aria-hidden": "true",
|
|
5679
|
-
focusable: "false"
|
|
5680
|
-
}), t[35] = S, t[36] = P);
|
|
5681
|
-
let F;
|
|
5682
|
-
t[37] !== N || t[38] !== P ? (F = /* @__PURE__ */ X("div", {
|
|
5683
|
-
className: "flex flex-row items-center gap-1",
|
|
5684
|
-
children: [N, P]
|
|
5685
|
-
}), t[37] = N, t[38] = P, t[39] = F) : F = t[39];
|
|
5686
|
-
let I;
|
|
5687
|
-
t[40] !== r || t[41] !== p ? (I = r && /* @__PURE__ */ Y("span", {
|
|
5688
|
-
className: "text-xs text-muted-foreground",
|
|
5689
|
-
children: p ? /* @__PURE__ */ Y("del", { children: r }) : r
|
|
5690
|
-
}), t[40] = r, t[41] = p, t[42] = I) : I = t[42];
|
|
5691
|
-
let L;
|
|
5692
|
-
t[43] !== F || t[44] !== I ? (L = /* @__PURE__ */ X("div", {
|
|
5693
|
-
className: "flex flex-col",
|
|
5694
|
-
children: [F, I]
|
|
5695
|
-
}), t[43] = F, t[44] = I, t[45] = L) : L = t[45];
|
|
5696
|
-
let R;
|
|
5697
|
-
t[46] !== A || t[47] !== j || t[48] !== L ? (R = /* @__PURE__ */ X("div", {
|
|
5698
|
-
className: j,
|
|
5699
|
-
children: [A, L]
|
|
5700
|
-
}), t[46] = A, t[47] = j, t[48] = L, t[49] = R) : R = t[49];
|
|
5701
|
-
let z = R, B = c === "mini" ? A : z;
|
|
5702
|
-
if (!S) return B;
|
|
5703
|
-
let V;
|
|
5704
|
-
t[50] === B ? V = t[51] : (V = /* @__PURE__ */ Y(U.Trigger, {
|
|
5571
|
+
// src/lib/components/attraccess-user/AttraccessUser.tsx
|
|
5572
|
+
function hi({ user: e, description: t, className: r, onStartDirectMessage: i, variant: a = "full", interactive: o = !0 }) {
|
|
5573
|
+
let { t: c } = $({
|
|
5574
|
+
en: pi,
|
|
5575
|
+
de: mi
|
|
5576
|
+
}), l = fi(), u = !e || !!e?.deletedAt, d = s(() => {
|
|
5577
|
+
if (u) return;
|
|
5578
|
+
let t = li(e?.id || "unknown", 100);
|
|
5579
|
+
return `data:image/svg+xml;base64,${btoa(t)}`;
|
|
5580
|
+
}, [u, e]), f = e?.username || c("unknown"), p = n(() => {
|
|
5581
|
+
i ? i(e) : l.onStartDirectMessage(e);
|
|
5582
|
+
}, [
|
|
5583
|
+
e,
|
|
5584
|
+
i,
|
|
5585
|
+
l
|
|
5586
|
+
]), m = o && !!e && !!p, h = /* @__PURE__ */ J(g, { children: [d ? /* @__PURE__ */ q(v, {
|
|
5587
|
+
src: d,
|
|
5588
|
+
alt: f
|
|
5589
|
+
}) : null, /* @__PURE__ */ q(_, {
|
|
5590
|
+
color: u ? "warning" : void 0,
|
|
5591
|
+
children: u ? /* @__PURE__ */ q(be, { className: "w-4 h-4" }) : f.slice(0, 2).toUpperCase()
|
|
5592
|
+
})] }), b = /* @__PURE__ */ J("div", {
|
|
5593
|
+
className: `flex items-center gap-2 ${r ?? ""}`,
|
|
5594
|
+
children: [h, /* @__PURE__ */ J("div", {
|
|
5595
|
+
className: "flex flex-col",
|
|
5596
|
+
children: [/* @__PURE__ */ J("div", {
|
|
5597
|
+
className: "flex flex-row items-center gap-1",
|
|
5598
|
+
children: [/* @__PURE__ */ q("span", {
|
|
5599
|
+
className: "text-sm font-medium group-hover:underline",
|
|
5600
|
+
children: u ? /* @__PURE__ */ q("del", { children: f }) : f
|
|
5601
|
+
}), m && /* @__PURE__ */ q(Ce, {
|
|
5602
|
+
className: "h-3 w-3 text-muted-foreground shrink-0",
|
|
5603
|
+
"aria-hidden": "true",
|
|
5604
|
+
focusable: "false"
|
|
5605
|
+
})]
|
|
5606
|
+
}), t && /* @__PURE__ */ q("span", {
|
|
5607
|
+
className: "text-xs text-muted-foreground",
|
|
5608
|
+
children: u ? /* @__PURE__ */ q("del", { children: t }) : t
|
|
5609
|
+
})]
|
|
5610
|
+
})]
|
|
5611
|
+
}), x = a === "mini" ? h : b;
|
|
5612
|
+
return m ? /* @__PURE__ */ J(H, { children: [/* @__PURE__ */ q(H.Trigger, {
|
|
5705
5613
|
className: "group inline-flex w-fit cursor-pointer rounded-md outline-none focus-visible:ring-2",
|
|
5706
|
-
children:
|
|
5707
|
-
}),
|
|
5708
|
-
|
|
5709
|
-
t[52] !== p || t[53] !== w || t[54] !== d ? (ee = !p && /* @__PURE__ */ X(v, {
|
|
5710
|
-
variant: "primary",
|
|
5711
|
-
size: "sm",
|
|
5712
|
-
className: "w-full",
|
|
5713
|
-
onPress: w,
|
|
5714
|
-
children: [/* @__PURE__ */ Y(Te, { className: "h-4 w-4" }), d("startDirectMessage")]
|
|
5715
|
-
}), t[52] = p, t[53] = w, t[54] = d, t[55] = ee) : ee = t[55];
|
|
5716
|
-
let H;
|
|
5717
|
-
t[56] !== C || t[57] !== ee || t[58] !== z ? (H = /* @__PURE__ */ Y(U.Content, { children: /* @__PURE__ */ X(U.Dialog, {
|
|
5718
|
-
"aria-label": C,
|
|
5614
|
+
children: x
|
|
5615
|
+
}), /* @__PURE__ */ q(H.Content, { children: /* @__PURE__ */ J(H.Dialog, {
|
|
5616
|
+
"aria-label": f,
|
|
5719
5617
|
className: "flex w-64 flex-col gap-3 p-4",
|
|
5720
|
-
children: [
|
|
5721
|
-
|
|
5722
|
-
|
|
5723
|
-
|
|
5618
|
+
children: [b, !u && /* @__PURE__ */ J(y, {
|
|
5619
|
+
variant: "primary",
|
|
5620
|
+
size: "sm",
|
|
5621
|
+
className: "w-full",
|
|
5622
|
+
onPress: p,
|
|
5623
|
+
children: [/* @__PURE__ */ q(Oe, { className: "h-4 w-4" }), c("startDirectMessage")]
|
|
5624
|
+
})]
|
|
5625
|
+
}) })] }) : x;
|
|
5724
5626
|
}
|
|
5725
|
-
|
|
5726
|
-
|
|
5727
|
-
|
|
5728
|
-
let n = (0, Q.c)(4), [r, a] = c(e), o, s;
|
|
5627
|
+
// src/lib/hooks/useDebounce.ts
|
|
5628
|
+
function gi(e, t) {
|
|
5629
|
+
let n = (0, X.c)(4), [r, a] = l(e), o, s;
|
|
5729
5630
|
return n[0] !== t || n[1] !== e ? (o = () => {
|
|
5730
5631
|
let n = setTimeout(() => {
|
|
5731
5632
|
a(e);
|
|
@@ -5735,46 +5636,46 @@ function hi(e, t) {
|
|
|
5735
5636
|
};
|
|
5736
5637
|
}, s = [e, t], n[0] = t, n[1] = e, n[2] = o, n[3] = s) : (o = n[2], s = n[3]), i(o, s), r;
|
|
5737
5638
|
}
|
|
5738
|
-
|
|
5739
|
-
|
|
5740
|
-
var gi = wr(() => ({
|
|
5639
|
+
// src/lib/hooks/useDateTimePreferences.ts
|
|
5640
|
+
var _i = Er(() => ({
|
|
5741
5641
|
dateTimeLocale: null,
|
|
5742
5642
|
userId: null
|
|
5743
5643
|
}));
|
|
5744
|
-
|
|
5745
|
-
let t = (0, Q.c)(4), { language: n } = jr(), r = gi(vi), i;
|
|
5746
|
-
return t[0] !== n || t[1] !== e || t[2] !== r ? (i = Je(e === void 0 ? r : e).dateTimeLocale ?? n, t[0] = n, t[1] = e, t[2] = r, t[3] = i) : i = t[3], i;
|
|
5747
|
-
}
|
|
5644
|
+
// src/lib/hooks/useDateTimeLocale.ts
|
|
5748
5645
|
function vi(e) {
|
|
5749
|
-
|
|
5646
|
+
let t = (0, X.c)(4), { language: n } = Nr(), r = _i(yi), i;
|
|
5647
|
+
return t[0] !== n || t[1] !== e || t[2] !== r ? (i = Ze(e === void 0 ? r : e).dateTimeLocale ?? n, t[0] = n, t[1] = e, t[2] = r, t[3] = i) : i = t[3], i;
|
|
5750
5648
|
}
|
|
5751
|
-
//#endregion
|
|
5752
|
-
//#region src/lib/hooks/useFormatDateTime.tsx
|
|
5753
5649
|
function yi(e) {
|
|
5754
|
-
|
|
5755
|
-
|
|
5756
|
-
|
|
5757
|
-
|
|
5650
|
+
return e.dateTimeLocale;
|
|
5651
|
+
}
|
|
5652
|
+
// src/lib/hooks/useDateTimeFormatter.ts
|
|
5653
|
+
function bi(e) {
|
|
5654
|
+
let { showTime: t = !0, showDate: r = !0, showSeconds: i = !1 } = e ?? {}, a = vi(e?.dateTimeLocale), o = s(() => {
|
|
5758
5655
|
let e = {};
|
|
5759
|
-
|
|
5760
|
-
|
|
5761
|
-
|
|
5762
|
-
|
|
5763
|
-
|
|
5764
|
-
|
|
5656
|
+
t && (e.hour = "2-digit", e.minute = "2-digit", i && (e.second = "2-digit")), r && (e.day = "2-digit", e.month = "2-digit", e.year = "numeric");
|
|
5657
|
+
let n = new Intl.DateTimeFormat(a, e);
|
|
5658
|
+
return (e) => !r && !t ? "" : n.format(e);
|
|
5659
|
+
}, [
|
|
5660
|
+
r,
|
|
5661
|
+
t,
|
|
5662
|
+
i,
|
|
5663
|
+
a
|
|
5664
|
+
]);
|
|
5665
|
+
return n((e, t) => {
|
|
5765
5666
|
if (e == null) return t ?? "-";
|
|
5766
5667
|
let n = new Date(e);
|
|
5767
|
-
return isNaN(n.getTime()) ? t ?? "-" :
|
|
5768
|
-
},
|
|
5668
|
+
return isNaN(n.getTime()) ? t ?? "-" : o(n);
|
|
5669
|
+
}, [o]);
|
|
5769
5670
|
}
|
|
5770
|
-
|
|
5771
|
-
|
|
5671
|
+
// src/lib/hooks/useFormatDateTime.ts
|
|
5672
|
+
function xi(e, t) {
|
|
5673
|
+
let n = (0, X.c)(3), r = bi(t), i;
|
|
5772
5674
|
return n[0] !== e || n[1] !== r ? (i = r(e), n[0] = e, n[1] = r, n[2] = i) : i = n[2], i;
|
|
5773
5675
|
}
|
|
5774
|
-
|
|
5775
|
-
|
|
5776
|
-
|
|
5777
|
-
let { language: t } = jr(), r = n((e) => {
|
|
5676
|
+
// src/lib/hooks/useFormatedDuration.ts
|
|
5677
|
+
function Si(e) {
|
|
5678
|
+
let { language: t } = Nr(), r = n((e) => {
|
|
5778
5679
|
let n = Math.round(e * 60), r = Math.floor(n / 86400), i = Math.floor(n % 86400 / 3600), a = Math.floor(n % 3600 / 60), o = n % 60;
|
|
5779
5680
|
try {
|
|
5780
5681
|
if (typeof Intl.DurationFormat == "function") return new Intl.DurationFormat(t, {
|
|
@@ -5816,18 +5717,16 @@ function xi(e) {
|
|
|
5816
5717
|
}).format(e);
|
|
5817
5718
|
}
|
|
5818
5719
|
}, [t]);
|
|
5819
|
-
return
|
|
5720
|
+
return s(() => r(e), [e, r]);
|
|
5820
5721
|
}
|
|
5821
|
-
|
|
5822
|
-
|
|
5823
|
-
|
|
5824
|
-
let e = (0, Q.c)(2), { search: t } = je(), n;
|
|
5722
|
+
// src/lib/hooks/useUrlQuery.ts
|
|
5723
|
+
function Ci() {
|
|
5724
|
+
let e = (0, X.c)(2), { search: t } = Pe(), n;
|
|
5825
5725
|
return e[0] === t ? n = e[1] : (n = new URLSearchParams(t), e[0] = t, e[1] = n), n;
|
|
5826
5726
|
}
|
|
5827
|
-
|
|
5828
|
-
|
|
5829
|
-
|
|
5830
|
-
let t = (0, Q.c)(5), { language: n } = jr(), r;
|
|
5727
|
+
// src/lib/hooks/useFormatNumber.ts
|
|
5728
|
+
function wi(e) {
|
|
5729
|
+
let t = (0, X.c)(5), { language: n } = Nr(), r;
|
|
5831
5730
|
t[0] !== n || t[1] !== e ? (r = new Intl.NumberFormat(n, e), t[0] = n, t[1] = e, t[2] = r) : r = t[2];
|
|
5832
5731
|
let i = r, a;
|
|
5833
5732
|
return t[3] === i ? a = t[4] : (a = (e) => {
|
|
@@ -5836,70 +5735,60 @@ function Ci(e) {
|
|
|
5836
5735
|
return isNaN(t) ? "-" : i.format(t);
|
|
5837
5736
|
}, t[3] = i, t[4] = a), a;
|
|
5838
5737
|
}
|
|
5839
|
-
function
|
|
5840
|
-
let t = (0,
|
|
5738
|
+
function Ti(e) {
|
|
5739
|
+
let t = (0, X.c)(3), n = wi(), r;
|
|
5841
5740
|
return t[0] !== n || t[1] !== e ? (r = n(e), t[0] = n, t[1] = e, t[2] = r) : r = t[2], r;
|
|
5842
5741
|
}
|
|
5843
|
-
|
|
5844
|
-
|
|
5845
|
-
|
|
5846
|
-
let t = (0, Q.c)(7), n, r, i;
|
|
5742
|
+
// src/lib/components/datetime-display/DateTimeDisplay.tsx
|
|
5743
|
+
function Ei(e) {
|
|
5744
|
+
let t = (0, X.c)(7), n, r, i;
|
|
5847
5745
|
t[0] === e ? (n = t[1], r = t[2], i = t[3]) : ({date: n, options: r, ...i} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = i);
|
|
5848
|
-
let a =
|
|
5849
|
-
return t[4] !== a || t[5] !== i ? (o = /* @__PURE__ */
|
|
5746
|
+
let a = xi(n, r), o;
|
|
5747
|
+
return t[4] !== a || t[5] !== i ? (o = /* @__PURE__ */ q("span", {
|
|
5850
5748
|
...i,
|
|
5851
5749
|
children: a
|
|
5852
5750
|
}), t[4] = a, t[5] = i, t[6] = o) : o = t[6], o;
|
|
5853
5751
|
}
|
|
5854
|
-
|
|
5855
|
-
|
|
5856
|
-
|
|
5857
|
-
|
|
5858
|
-
|
|
5859
|
-
|
|
5860
|
-
|
|
5861
|
-
|
|
5862
|
-
|
|
5863
|
-
|
|
5864
|
-
children: a
|
|
5865
|
-
}), t[4] = a, t[5] = r, t[6] = e) : e = t[6], e;
|
|
5866
|
-
}
|
|
5867
|
-
let s;
|
|
5868
|
-
return t[7] !== o || t[8] !== r ? (s = /* @__PURE__ */ Y("span", {
|
|
5869
|
-
...r,
|
|
5870
|
-
children: o
|
|
5871
|
-
}), t[7] = o, t[8] = r, t[9] = s) : s = t[9], s;
|
|
5752
|
+
// src/lib/components/duration-display/DurationDisplay.tsx
|
|
5753
|
+
function Di({ minutes: e, alternativeText: t = "", ...n }) {
|
|
5754
|
+
let r = Si(e ?? 0);
|
|
5755
|
+
return e == null ? /* @__PURE__ */ q("span", {
|
|
5756
|
+
...n,
|
|
5757
|
+
children: t
|
|
5758
|
+
}) : /* @__PURE__ */ q("span", {
|
|
5759
|
+
...n,
|
|
5760
|
+
children: r
|
|
5761
|
+
});
|
|
5872
5762
|
}
|
|
5873
|
-
|
|
5874
|
-
|
|
5875
|
-
|
|
5876
|
-
|
|
5877
|
-
let t = (0, Q.c)(21), n, r, i, a, o, s;
|
|
5763
|
+
// src/lib/components/StandardModal.tsx
|
|
5764
|
+
var Oi = "bg-overlay";
|
|
5765
|
+
function ki(e) {
|
|
5766
|
+
let t = (0, X.c)(21), n, r, i, a, o, s;
|
|
5878
5767
|
t[0] === e ? (n = t[1], r = t[2], i = t[3], a = t[4], o = t[5], s = t[6]) : ({children: r, size: s, backdropProps: n, containerProps: i, dialogProps: a, ...o} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = i, t[4] = a, t[5] = o, t[6] = s);
|
|
5879
|
-
let c = a?.className ? `${
|
|
5880
|
-
t[7] !== r || t[8] !== a || t[9] !== c ? (l = /* @__PURE__ */
|
|
5768
|
+
let c = a?.className ? `${Oi} ${a.className}` : Oi, l;
|
|
5769
|
+
t[7] !== r || t[8] !== a || t[9] !== c ? (l = /* @__PURE__ */ q(ne, {
|
|
5881
5770
|
...a,
|
|
5882
5771
|
className: c,
|
|
5883
5772
|
children: r
|
|
5884
5773
|
}), t[7] = r, t[8] = a, t[9] = c, t[10] = l) : l = t[10];
|
|
5885
5774
|
let u;
|
|
5886
|
-
t[11] !== i || t[12] !== s || t[13] !== l ? (u = /* @__PURE__ */
|
|
5775
|
+
t[11] !== i || t[12] !== s || t[13] !== l ? (u = /* @__PURE__ */ q(z, {
|
|
5887
5776
|
size: s,
|
|
5888
5777
|
...i,
|
|
5889
5778
|
children: l
|
|
5890
5779
|
}), t[11] = i, t[12] = s, t[13] = l, t[14] = u) : u = t[14];
|
|
5891
5780
|
let d;
|
|
5892
|
-
t[15] !== n || t[16] !== u ? (d = /* @__PURE__ */
|
|
5781
|
+
t[15] !== n || t[16] !== u ? (d = /* @__PURE__ */ q(R, {
|
|
5893
5782
|
...n,
|
|
5894
5783
|
children: u
|
|
5895
5784
|
}), t[15] = n, t[16] = u, t[17] = d) : d = t[17];
|
|
5896
5785
|
let f;
|
|
5897
|
-
return t[18] !== o || t[19] !== d ? (f = /* @__PURE__ */
|
|
5786
|
+
return t[18] !== o || t[19] !== d ? (f = /* @__PURE__ */ q(L, {
|
|
5898
5787
|
...o,
|
|
5899
5788
|
children: d
|
|
5900
5789
|
}), t[18] = o, t[19] = d, t[20] = f) : f = t[20], f;
|
|
5901
5790
|
}
|
|
5902
|
-
var
|
|
5791
|
+
var Ai = {
|
|
5903
5792
|
label: "Benutzer",
|
|
5904
5793
|
chooseUser: "Benutzer auswählen",
|
|
5905
5794
|
modalTitle: "Benutzer auswählen",
|
|
@@ -5913,7 +5802,7 @@ var ki = {
|
|
|
5913
5802
|
empty: "Keine Benutzer gefunden",
|
|
5914
5803
|
loadError: "Benutzer konnten nicht geladen werden.",
|
|
5915
5804
|
retry: "Erneut versuchen"
|
|
5916
|
-
},
|
|
5805
|
+
}, ji = {
|
|
5917
5806
|
label: "User",
|
|
5918
5807
|
chooseUser: "Choose user",
|
|
5919
5808
|
modalTitle: "Choose a user",
|
|
@@ -5928,9 +5817,8 @@ var ki = {
|
|
|
5928
5817
|
loadError: "Users could not be loaded.",
|
|
5929
5818
|
retry: "Try again"
|
|
5930
5819
|
};
|
|
5931
|
-
|
|
5932
|
-
|
|
5933
|
-
function ji(e) {
|
|
5820
|
+
// src/lib/components/user-search/UserSearch.utils.ts
|
|
5821
|
+
function Mi(e) {
|
|
5934
5822
|
let t = /* @__PURE__ */ new Map();
|
|
5935
5823
|
for (let n of e) {
|
|
5936
5824
|
let e = (n.username?.[0] ?? "#").toUpperCase(), r = t.get(e);
|
|
@@ -5941,17 +5829,12 @@ function ji(e) {
|
|
|
5941
5829
|
users: t
|
|
5942
5830
|
}));
|
|
5943
5831
|
}
|
|
5944
|
-
|
|
5945
|
-
|
|
5946
|
-
|
|
5947
|
-
|
|
5948
|
-
let t = (0, Q.c)(50), { isOpen: n, open: r, close: a, resetSignal: o, onSelectionChange: l } = e, [u, d] = c(null), [f, p] = c(""), m = hi(f, Ni), h = s(!0), g;
|
|
5832
|
+
// src/lib/components/user-search/UserSearch.tsx
|
|
5833
|
+
var Ni = 50, Pi = 300;
|
|
5834
|
+
function Fi(e) {
|
|
5835
|
+
let t = (0, X.c)(50), { isOpen: n, open: r, close: a, resetSignal: o, onSelectionChange: s } = e, [u, d] = l(null), [f, p] = l(""), m = gi(f, Pi), h = c(!0), g;
|
|
5949
5836
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (g = () => {
|
|
5950
|
-
|
|
5951
|
-
h.current = !1;
|
|
5952
|
-
return;
|
|
5953
|
-
}
|
|
5954
|
-
d(null), p("");
|
|
5837
|
+
h.current ? h.current = !1 : (d(null), p(""));
|
|
5955
5838
|
}, t[0] = g) : g = t[0];
|
|
5956
5839
|
let _;
|
|
5957
5840
|
t[1] === o ? _ = t[2] : (_ = [o], t[1] = o, t[2] = _), i(g, _);
|
|
@@ -5959,90 +5842,90 @@ function Pi(e) {
|
|
|
5959
5842
|
t[3] !== m || t[4] !== n || t[5] !== f ? (v = n && f.trim() && m.trim() || void 0, t[3] = m, t[4] = n, t[5] = f, t[6] = v) : v = t[6];
|
|
5960
5843
|
let y;
|
|
5961
5844
|
t[7] === v ? y = t[8] : (y = {
|
|
5962
|
-
limit:
|
|
5845
|
+
limit: Ni,
|
|
5963
5846
|
search: v
|
|
5964
5847
|
}, t[7] = v, t[8] = y);
|
|
5965
5848
|
let b;
|
|
5966
5849
|
t[9] === n ? b = t[10] : (b = {
|
|
5967
5850
|
enabled: n,
|
|
5968
5851
|
initialPageParam: 1,
|
|
5969
|
-
getNextPageParam:
|
|
5852
|
+
getNextPageParam: Ii
|
|
5970
5853
|
}, t[9] = n, t[10] = b);
|
|
5971
|
-
let { data: x, fetchNextPage: S, hasNextPage: C, isFetchingNextPage: w, isFetching: T, isLoading: E, isError: D, refetch: O } =
|
|
5854
|
+
let { data: x, fetchNextPage: S, hasNextPage: C, isFetchingNextPage: w, isFetching: T, isLoading: E, isError: D, refetch: O } = Le(y, void 0, b), k;
|
|
5972
5855
|
if (t[11] !== x?.pages) {
|
|
5973
5856
|
let e = /* @__PURE__ */ new Map();
|
|
5974
5857
|
for (let t of x?.pages ?? []) for (let n of t.data) e.set(n.id, n);
|
|
5975
5858
|
k = [...e.values()], t[11] = x?.pages, t[12] = k;
|
|
5976
5859
|
} else k = t[12];
|
|
5977
5860
|
let A = k, j;
|
|
5978
|
-
t[13] === A ? j = t[14] : (j =
|
|
5979
|
-
let M = j, N,
|
|
5980
|
-
t[15] !==
|
|
5981
|
-
|
|
5982
|
-
},
|
|
5983
|
-
let
|
|
5984
|
-
t[19] === a ?
|
|
5861
|
+
t[13] === A ? j = t[14] : (j = Mi(A), t[13] = A, t[14] = j);
|
|
5862
|
+
let M = j, N, ee;
|
|
5863
|
+
t[15] !== s || t[16] !== u ? (N = () => {
|
|
5864
|
+
s?.(u);
|
|
5865
|
+
}, ee = [u, s], t[15] = s, t[16] = u, t[17] = N, t[18] = ee) : (N = t[17], ee = t[18]), i(N, ee);
|
|
5866
|
+
let P;
|
|
5867
|
+
t[19] === a ? P = t[20] : (P = (e) => {
|
|
5985
5868
|
d(e), p(""), a();
|
|
5986
|
-
}, t[19] = a, t[20] =
|
|
5987
|
-
let
|
|
5988
|
-
t[21] !== a || t[22] !== r ? (
|
|
5869
|
+
}, t[19] = a, t[20] = P);
|
|
5870
|
+
let F = P, I;
|
|
5871
|
+
t[21] !== a || t[22] !== r ? (I = (e) => {
|
|
5989
5872
|
e ? r() : (p(""), a());
|
|
5990
|
-
}, t[21] = a, t[22] = r, t[23] =
|
|
5991
|
-
let
|
|
5992
|
-
t[24] !== S || t[25] !== C || t[26] !== w ? (
|
|
5873
|
+
}, t[21] = a, t[22] = r, t[23] = I) : I = t[23];
|
|
5874
|
+
let L = I, R = c(null), te = c(null), z;
|
|
5875
|
+
t[24] !== S || t[25] !== C || t[26] !== w ? (z = {
|
|
5993
5876
|
hasNextPage: C,
|
|
5994
5877
|
isFetchingNextPage: w,
|
|
5995
5878
|
fetchNextPage: S
|
|
5996
|
-
}, t[24] = S, t[25] = C, t[26] = w, t[27] =
|
|
5997
|
-
let
|
|
5998
|
-
t[28] !== S || t[29] !== C || t[30] !== w ? (
|
|
5999
|
-
|
|
5879
|
+
}, t[24] = S, t[25] = C, t[26] = w, t[27] = z) : z = t[27];
|
|
5880
|
+
let ne = c(z), B;
|
|
5881
|
+
t[28] !== S || t[29] !== C || t[30] !== w ? (B = () => {
|
|
5882
|
+
ne.current = {
|
|
6000
5883
|
hasNextPage: C,
|
|
6001
5884
|
isFetchingNextPage: w,
|
|
6002
5885
|
fetchNextPage: S
|
|
6003
5886
|
};
|
|
6004
|
-
}, t[28] = S, t[29] = C, t[30] = w, t[31] =
|
|
6005
|
-
let
|
|
6006
|
-
t[32] === n ?
|
|
6007
|
-
let e =
|
|
5887
|
+
}, t[28] = S, t[29] = C, t[30] = w, t[31] = B) : B = t[31], i(B);
|
|
5888
|
+
let V;
|
|
5889
|
+
t[32] === n ? V = t[33] : (V = () => {
|
|
5890
|
+
let e = te.current, t = R.current;
|
|
6008
5891
|
if (!e || !t || !n) return;
|
|
6009
5892
|
let r = new IntersectionObserver((e) => {
|
|
6010
|
-
let t =
|
|
5893
|
+
let t = ne.current;
|
|
6011
5894
|
e[0]?.isIntersecting && t.hasNextPage && !t.isFetchingNextPage && t.fetchNextPage();
|
|
6012
5895
|
}, {
|
|
6013
5896
|
root: t,
|
|
6014
5897
|
rootMargin: "200px"
|
|
6015
5898
|
});
|
|
6016
5899
|
return r.observe(e), () => r.disconnect();
|
|
6017
|
-
}, t[32] = n, t[33] =
|
|
6018
|
-
let
|
|
6019
|
-
t[34] !== D || t[35] !== n ? (
|
|
6020
|
-
let
|
|
6021
|
-
return t[37] !== S || t[38] !== M || t[39] !==
|
|
5900
|
+
}, t[32] = n, t[33] = V);
|
|
5901
|
+
let H;
|
|
5902
|
+
t[34] !== D || t[35] !== n ? (H = [n, D], t[34] = D, t[35] = n, t[36] = H) : H = t[36], i(V, H);
|
|
5903
|
+
let U;
|
|
5904
|
+
return t[37] !== S || t[38] !== M || t[39] !== L || t[40] !== F || t[41] !== D || t[42] !== T || t[43] !== w || t[44] !== E || t[45] !== O || t[46] !== f || t[47] !== u || t[48] !== A ? (U = {
|
|
6022
5905
|
selectedUser: u,
|
|
6023
5906
|
setSelectedUser: d,
|
|
6024
5907
|
search: f,
|
|
6025
5908
|
setSearch: p,
|
|
6026
5909
|
users: A,
|
|
6027
5910
|
groups: M,
|
|
6028
|
-
handleSelect:
|
|
6029
|
-
handleOpenChange:
|
|
6030
|
-
listRef:
|
|
6031
|
-
sentinelRef:
|
|
5911
|
+
handleSelect: F,
|
|
5912
|
+
handleOpenChange: L,
|
|
5913
|
+
listRef: R,
|
|
5914
|
+
sentinelRef: te,
|
|
6032
5915
|
isError: D,
|
|
6033
5916
|
isLoading: E,
|
|
6034
5917
|
isFetching: T,
|
|
6035
5918
|
refetch: O,
|
|
6036
5919
|
isFetchingNextPage: w,
|
|
6037
5920
|
fetchNextPage: S
|
|
6038
|
-
}, t[37] = S, t[38] = M, t[39] =
|
|
5921
|
+
}, t[37] = S, t[38] = M, t[39] = L, t[40] = F, t[41] = D, t[42] = T, t[43] = w, t[44] = E, t[45] = O, t[46] = f, t[47] = u, t[48] = A, t[49] = U) : U = t[49], U;
|
|
6039
5922
|
}
|
|
6040
|
-
function
|
|
5923
|
+
function Ii(e) {
|
|
6041
5924
|
return e.nextPage;
|
|
6042
5925
|
}
|
|
6043
|
-
function
|
|
6044
|
-
let t = (0,
|
|
6045
|
-
t[0] !== o || t[1] !== i || t[2] !== n || t[3] !== a || t[4] !== r || t[5] !== c || t[6] !== s ? (d = n ? /* @__PURE__ */
|
|
5926
|
+
function Li(e) {
|
|
5927
|
+
let t = (0, X.c)(12), { selectedUser: n, size: r, open: i, setSelectedUser: a, labelId: o, triggerId: s, t: c, afterAutocomplete: l, afterSelection: u } = e, d;
|
|
5928
|
+
t[0] !== o || t[1] !== i || t[2] !== n || t[3] !== a || t[4] !== r || t[5] !== c || t[6] !== s ? (d = n ? /* @__PURE__ */ J(Ne, { children: [/* @__PURE__ */ q(y, {
|
|
6046
5929
|
variant: "ghost",
|
|
6047
5930
|
size: r,
|
|
6048
5931
|
onPress: i,
|
|
@@ -6050,19 +5933,19 @@ function Ii(e) {
|
|
|
6050
5933
|
id: s,
|
|
6051
5934
|
"aria-labelledby": `${o} ${s}`,
|
|
6052
5935
|
"data-cy": "user-picker-selected",
|
|
6053
|
-
children: /* @__PURE__ */
|
|
5936
|
+
children: /* @__PURE__ */ q(hi, {
|
|
6054
5937
|
user: n,
|
|
6055
5938
|
interactive: !1
|
|
6056
5939
|
})
|
|
6057
|
-
}), /* @__PURE__ */
|
|
5940
|
+
}), /* @__PURE__ */ q(y, {
|
|
6058
5941
|
variant: "ghost",
|
|
6059
5942
|
size: r ?? "sm",
|
|
6060
5943
|
isIconOnly: !0,
|
|
6061
5944
|
onPress: () => a(null),
|
|
6062
5945
|
"aria-label": c("clear"),
|
|
6063
5946
|
"data-cy": "user-picker-clear",
|
|
6064
|
-
children: /* @__PURE__ */
|
|
6065
|
-
})] }) : /* @__PURE__ */
|
|
5947
|
+
children: /* @__PURE__ */ q(Me, { className: "w-4 h-4" })
|
|
5948
|
+
})] }) : /* @__PURE__ */ J(y, {
|
|
6066
5949
|
variant: "secondary",
|
|
6067
5950
|
size: r,
|
|
6068
5951
|
onPress: i,
|
|
@@ -6070,10 +5953,10 @@ function Ii(e) {
|
|
|
6070
5953
|
id: s,
|
|
6071
5954
|
"aria-labelledby": `${o} ${s}`,
|
|
6072
5955
|
"data-cy": "user-picker-open",
|
|
6073
|
-
children: [/* @__PURE__ */
|
|
5956
|
+
children: [/* @__PURE__ */ q(je, { className: "w-4 h-4" }), c("chooseUser")]
|
|
6074
5957
|
}), t[0] = o, t[1] = i, t[2] = n, t[3] = a, t[4] = r, t[5] = c, t[6] = s, t[7] = d) : d = t[7];
|
|
6075
5958
|
let f;
|
|
6076
|
-
return t[8] !== l || t[9] !== u || t[10] !== d ? (f = /* @__PURE__ */
|
|
5959
|
+
return t[8] !== l || t[9] !== u || t[10] !== d ? (f = /* @__PURE__ */ J("div", {
|
|
6077
5960
|
className: "flex gap-2 items-center",
|
|
6078
5961
|
children: [
|
|
6079
5962
|
d,
|
|
@@ -6082,34 +5965,34 @@ function Ii(e) {
|
|
|
6082
5965
|
]
|
|
6083
5966
|
}), t[8] = l, t[9] = u, t[10] = d, t[11] = f) : f = t[11], f;
|
|
6084
5967
|
}
|
|
6085
|
-
var
|
|
5968
|
+
var Ri = {
|
|
6086
5969
|
"--field-border": "var(--border-secondary)",
|
|
6087
5970
|
"--border-width-field": "1px"
|
|
6088
5971
|
};
|
|
6089
|
-
function
|
|
6090
|
-
let t = (0,
|
|
5972
|
+
function zi(e) {
|
|
5973
|
+
let t = (0, X.c)(53), { label: n, placeholder: r, size: i, resetSignal: o, onSelectionChange: s, afterAutocomplete: c, wrapperProps: l, afterSelection: u } = e, d;
|
|
6091
5974
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (d = {
|
|
6092
|
-
en:
|
|
6093
|
-
de:
|
|
5975
|
+
en: ji,
|
|
5976
|
+
de: Ai
|
|
6094
5977
|
}, t[0] = d) : d = t[0];
|
|
6095
|
-
let { t: f } =
|
|
6096
|
-
t[1] !== _ || t[2] !== h || t[3] !== s || t[4] !== g || t[5] !== o ? (
|
|
5978
|
+
let { t: f } = $(d), p = a(), m = a(), { isOpen: h, open: g, close: _ } = ve(), v;
|
|
5979
|
+
t[1] !== _ || t[2] !== h || t[3] !== s || t[4] !== g || t[5] !== o ? (v = {
|
|
6097
5980
|
isOpen: h,
|
|
6098
5981
|
open: g,
|
|
6099
5982
|
close: _,
|
|
6100
5983
|
resetSignal: o,
|
|
6101
5984
|
onSelectionChange: s
|
|
6102
|
-
}, t[1] = _, t[2] = h, t[3] = s, t[4] = g, t[5] = o, t[6] =
|
|
6103
|
-
let { selectedUser: b, setSelectedUser: x, search: S, setSearch: C, users: w, groups: T, handleSelect: E, handleOpenChange: D, listRef: O, sentinelRef: k, isError:
|
|
6104
|
-
t[7] !== n || t[8] !== f ? (
|
|
6105
|
-
let
|
|
6106
|
-
t[10] !== p || t[11] !==
|
|
5985
|
+
}, t[1] = _, t[2] = h, t[3] = s, t[4] = g, t[5] = o, t[6] = v) : v = t[6];
|
|
5986
|
+
let { selectedUser: b, setSelectedUser: x, search: S, setSearch: C, users: w, groups: T, handleSelect: E, handleOpenChange: D, listRef: O, sentinelRef: k, isError: A, isLoading: M, isFetching: L, refetch: R, isFetchingNextPage: z, fetchNextPage: ne } = Fi(v), H;
|
|
5987
|
+
t[7] !== n || t[8] !== f ? (H = n ?? f("label"), t[7] = n, t[8] = f, t[9] = H) : H = t[9];
|
|
5988
|
+
let U;
|
|
5989
|
+
t[10] !== p || t[11] !== H ? (U = /* @__PURE__ */ q(ee, {
|
|
6107
5990
|
id: p,
|
|
6108
5991
|
className: "mb-1 block",
|
|
6109
|
-
children:
|
|
6110
|
-
}), t[10] = p, t[11] =
|
|
6111
|
-
let
|
|
6112
|
-
t[13] !== c || t[14] !== u || t[15] !== p || t[16] !== g || t[17] !== b || t[18] !== x || t[19] !== i || t[20] !== f || t[21] !== m ? (
|
|
5992
|
+
children: H
|
|
5993
|
+
}), t[10] = p, t[11] = H, t[12] = U) : U = t[12];
|
|
5994
|
+
let W;
|
|
5995
|
+
t[13] !== c || t[14] !== u || t[15] !== p || t[16] !== g || t[17] !== b || t[18] !== x || t[19] !== i || t[20] !== f || t[21] !== m ? (W = /* @__PURE__ */ q(Li, {
|
|
6113
5996
|
selectedUser: b,
|
|
6114
5997
|
size: i,
|
|
6115
5998
|
open: g,
|
|
@@ -6119,41 +6002,41 @@ function Ri(e) {
|
|
|
6119
6002
|
t: f,
|
|
6120
6003
|
afterAutocomplete: c,
|
|
6121
6004
|
afterSelection: u
|
|
6122
|
-
}), t[13] = c, t[14] = u, t[15] = p, t[16] = g, t[17] = b, t[18] = x, t[19] = i, t[20] = f, t[21] = m, t[22] =
|
|
6123
|
-
let
|
|
6124
|
-
t[23] === f ?
|
|
6125
|
-
let
|
|
6126
|
-
t[25] ===
|
|
6127
|
-
style:
|
|
6128
|
-
"aria-label":
|
|
6129
|
-
}, t[25] =
|
|
6130
|
-
let
|
|
6131
|
-
t[27] !==
|
|
6005
|
+
}), t[13] = c, t[14] = u, t[15] = p, t[16] = g, t[17] = b, t[18] = x, t[19] = i, t[20] = f, t[21] = m, t[22] = W) : W = t[22];
|
|
6006
|
+
let G;
|
|
6007
|
+
t[23] === f ? G = t[24] : (G = f("modalTitle"), t[23] = f, t[24] = G);
|
|
6008
|
+
let K;
|
|
6009
|
+
t[25] === G ? K = t[26] : (K = {
|
|
6010
|
+
style: Ri,
|
|
6011
|
+
"aria-label": G
|
|
6012
|
+
}, t[25] = G, t[26] = K);
|
|
6013
|
+
let ie;
|
|
6014
|
+
t[27] !== ne || t[28] !== T || t[29] !== E || t[30] !== A || t[31] !== L || t[32] !== z || t[33] !== M || t[34] !== O || t[35] !== r || t[36] !== R || t[37] !== S || t[38] !== k || t[39] !== C || t[40] !== f || t[41] !== w.length ? (ie = () => /* @__PURE__ */ J(Ne, { children: [/* @__PURE__ */ q(B, { children: /* @__PURE__ */ q(V, { children: f("modalTitle") }) }), /* @__PURE__ */ J(te, {
|
|
6132
6015
|
className: "px-0 pb-0",
|
|
6133
6016
|
children: [
|
|
6134
|
-
/* @__PURE__ */
|
|
6017
|
+
/* @__PURE__ */ q("div", {
|
|
6135
6018
|
className: "px-4",
|
|
6136
|
-
children: /* @__PURE__ */
|
|
6019
|
+
children: /* @__PURE__ */ q(he, {
|
|
6137
6020
|
value: S,
|
|
6138
6021
|
onChange: C,
|
|
6139
6022
|
className: "w-full",
|
|
6140
6023
|
"aria-label": f("searchPlaceholder"),
|
|
6141
|
-
children: /* @__PURE__ */
|
|
6142
|
-
/* @__PURE__ */
|
|
6143
|
-
/* @__PURE__ */
|
|
6024
|
+
children: /* @__PURE__ */ J(N, { children: [
|
|
6025
|
+
/* @__PURE__ */ q(N.Prefix, { children: /* @__PURE__ */ q(Ae, { className: "size-4 text-muted" }) }),
|
|
6026
|
+
/* @__PURE__ */ q(N.Input, {
|
|
6144
6027
|
placeholder: r ?? f("searchPlaceholder"),
|
|
6145
6028
|
autoComplete: "off"
|
|
6146
6029
|
}),
|
|
6147
|
-
|
|
6030
|
+
M ? /* @__PURE__ */ q(N.Suffix, { children: /* @__PURE__ */ q(re, { size: "sm" }) }) : null
|
|
6148
6031
|
] })
|
|
6149
6032
|
})
|
|
6150
6033
|
}),
|
|
6151
|
-
/* @__PURE__ */
|
|
6034
|
+
/* @__PURE__ */ q("div", {
|
|
6152
6035
|
"aria-live": "polite",
|
|
6153
6036
|
className: "sr-only",
|
|
6154
6037
|
children: f("resultCount", { count: w.length })
|
|
6155
6038
|
}),
|
|
6156
|
-
/* @__PURE__ */
|
|
6039
|
+
/* @__PURE__ */ J("div", {
|
|
6157
6040
|
ref: O,
|
|
6158
6041
|
className: "mt-2",
|
|
6159
6042
|
style: {
|
|
@@ -6162,84 +6045,84 @@ function Ri(e) {
|
|
|
6162
6045
|
},
|
|
6163
6046
|
"data-cy": "user-picker-list",
|
|
6164
6047
|
children: [
|
|
6165
|
-
|
|
6048
|
+
A && w.length === 0 ? /* @__PURE__ */ J("div", {
|
|
6166
6049
|
className: "flex flex-col items-center gap-3 py-10",
|
|
6167
6050
|
"data-cy": "user-picker-error",
|
|
6168
|
-
children: [/* @__PURE__ */
|
|
6051
|
+
children: [/* @__PURE__ */ q("p", {
|
|
6169
6052
|
className: "text-sm text-muted",
|
|
6170
6053
|
children: f("loadError")
|
|
6171
|
-
}), /* @__PURE__ */
|
|
6054
|
+
}), /* @__PURE__ */ q(y, {
|
|
6172
6055
|
variant: "secondary",
|
|
6173
6056
|
size: "sm",
|
|
6174
|
-
isPending:
|
|
6175
|
-
onPress: () =>
|
|
6057
|
+
isPending: L,
|
|
6058
|
+
onPress: () => R(),
|
|
6176
6059
|
children: f("retry")
|
|
6177
6060
|
})]
|
|
6178
|
-
}) : T.length === 0 && !
|
|
6061
|
+
}) : T.length === 0 && !M ? /* @__PURE__ */ q("div", {
|
|
6179
6062
|
className: "py-10 text-center text-sm text-muted",
|
|
6180
6063
|
children: f("empty")
|
|
6181
|
-
}) : /* @__PURE__ */
|
|
6064
|
+
}) : /* @__PURE__ */ q(P, {
|
|
6182
6065
|
"aria-label": f("usersListLabel"),
|
|
6183
6066
|
selectionMode: "none",
|
|
6184
|
-
children: T.map((e) => /* @__PURE__ */
|
|
6067
|
+
children: T.map((e) => /* @__PURE__ */ J(I, {
|
|
6185
6068
|
id: e.letter,
|
|
6186
|
-
children: [/* @__PURE__ */
|
|
6069
|
+
children: [/* @__PURE__ */ q(j, {
|
|
6187
6070
|
className: "sticky top-0 z-10 bg-surface-secondary px-2 py-1 text-xs font-semibold text-muted",
|
|
6188
6071
|
children: e.letter
|
|
6189
|
-
}), e.users.map((e) => /* @__PURE__ */
|
|
6072
|
+
}), e.users.map((e) => /* @__PURE__ */ q(F, {
|
|
6190
6073
|
id: String(e.id),
|
|
6191
6074
|
textValue: e.username,
|
|
6192
6075
|
onAction: () => E(e),
|
|
6193
6076
|
"data-cy": `user-picker-item-${e.id}`,
|
|
6194
|
-
children: /* @__PURE__ */
|
|
6077
|
+
children: /* @__PURE__ */ q(hi, {
|
|
6195
6078
|
user: e,
|
|
6196
6079
|
interactive: !1
|
|
6197
6080
|
})
|
|
6198
6081
|
}, e.id))]
|
|
6199
6082
|
}, e.letter))
|
|
6200
6083
|
}),
|
|
6201
|
-
|
|
6202
|
-
|
|
6084
|
+
A ? null : /* @__PURE__ */ q("div", { ref: k }),
|
|
6085
|
+
A && w.length > 0 ? /* @__PURE__ */ J("div", {
|
|
6203
6086
|
className: "flex items-center justify-center gap-3 py-3",
|
|
6204
6087
|
"data-cy": "user-picker-load-more-error",
|
|
6205
|
-
children: [/* @__PURE__ */
|
|
6088
|
+
children: [/* @__PURE__ */ q("p", {
|
|
6206
6089
|
className: "text-sm text-muted",
|
|
6207
6090
|
children: f("loadError")
|
|
6208
|
-
}), /* @__PURE__ */
|
|
6091
|
+
}), /* @__PURE__ */ q(y, {
|
|
6209
6092
|
variant: "secondary",
|
|
6210
6093
|
size: "sm",
|
|
6211
|
-
isPending:
|
|
6212
|
-
onPress: () =>
|
|
6094
|
+
isPending: z,
|
|
6095
|
+
onPress: () => ne(),
|
|
6213
6096
|
children: f("retry")
|
|
6214
6097
|
})]
|
|
6215
6098
|
}) : null,
|
|
6216
|
-
|
|
6099
|
+
z ? /* @__PURE__ */ q("div", {
|
|
6217
6100
|
className: "flex justify-center py-3",
|
|
6218
|
-
children: /* @__PURE__ */
|
|
6101
|
+
children: /* @__PURE__ */ q(re, { size: "sm" })
|
|
6219
6102
|
}) : null
|
|
6220
6103
|
]
|
|
6221
6104
|
})
|
|
6222
6105
|
]
|
|
6223
|
-
})] }), t[27] =
|
|
6224
|
-
let
|
|
6225
|
-
t[43] !== D || t[44] !== h || t[45] !==
|
|
6106
|
+
})] }), t[27] = ne, t[28] = T, t[29] = E, t[30] = A, t[31] = L, t[32] = z, t[33] = M, t[34] = O, t[35] = r, t[36] = R, t[37] = S, t[38] = k, t[39] = C, t[40] = f, t[41] = w.length, t[42] = ie) : ie = t[42];
|
|
6107
|
+
let ae;
|
|
6108
|
+
t[43] !== D || t[44] !== h || t[45] !== K || t[46] !== ie ? (ae = /* @__PURE__ */ q(ki, {
|
|
6226
6109
|
isOpen: h,
|
|
6227
6110
|
onOpenChange: D,
|
|
6228
6111
|
size: "md",
|
|
6229
|
-
dialogProps:
|
|
6230
|
-
children:
|
|
6231
|
-
}), t[43] = D, t[44] = h, t[45] =
|
|
6232
|
-
let
|
|
6233
|
-
return t[48] !==
|
|
6112
|
+
dialogProps: K,
|
|
6113
|
+
children: ie
|
|
6114
|
+
}), t[43] = D, t[44] = h, t[45] = K, t[46] = ie, t[47] = ae) : ae = t[47];
|
|
6115
|
+
let oe;
|
|
6116
|
+
return t[48] !== U || t[49] !== W || t[50] !== ae || t[51] !== l ? (oe = /* @__PURE__ */ J("div", {
|
|
6234
6117
|
...l,
|
|
6235
6118
|
children: [
|
|
6236
|
-
|
|
6237
|
-
|
|
6238
|
-
|
|
6119
|
+
U,
|
|
6120
|
+
W,
|
|
6121
|
+
ae
|
|
6239
6122
|
]
|
|
6240
|
-
}), t[48] =
|
|
6123
|
+
}), t[48] = U, t[49] = W, t[50] = ae, t[51] = l, t[52] = oe) : oe = t[52], oe;
|
|
6241
6124
|
}
|
|
6242
|
-
var
|
|
6125
|
+
var Bi = {
|
|
6243
6126
|
search: {
|
|
6244
6127
|
label: "Ressourcen suchen",
|
|
6245
6128
|
placeholder: "Tippe um zu suchen"
|
|
@@ -6249,7 +6132,7 @@ var zi = {
|
|
|
6249
6132
|
columns: { name: { header: "Name" } }
|
|
6250
6133
|
},
|
|
6251
6134
|
list: { label: "Zugewiesen an" }
|
|
6252
|
-
},
|
|
6135
|
+
}, Vi = {
|
|
6253
6136
|
search: {
|
|
6254
6137
|
label: "Search resources",
|
|
6255
6138
|
placeholder: "Type to search"
|
|
@@ -6259,143 +6142,84 @@ var zi = {
|
|
|
6259
6142
|
columns: { name: { header: "Name" } }
|
|
6260
6143
|
},
|
|
6261
6144
|
list: { label: "Assigned to" }
|
|
6262
|
-
},
|
|
6263
|
-
let t = (0,
|
|
6264
|
-
return t[0] === n ? r = t[1] : (r = /* @__PURE__ */
|
|
6145
|
+
}, Hi = (e) => {
|
|
6146
|
+
let t = (0, X.c)(2), { children: n } = e, r;
|
|
6147
|
+
return t[0] === n ? r = t[1] : (r = /* @__PURE__ */ q("div", {
|
|
6265
6148
|
className: "border border-border px-1 py-2 rounded-lg",
|
|
6266
6149
|
children: n
|
|
6267
6150
|
}), t[0] = n, t[1] = r), r;
|
|
6268
6151
|
};
|
|
6269
|
-
function
|
|
6270
|
-
let
|
|
6271
|
-
|
|
6272
|
-
|
|
6273
|
-
|
|
6274
|
-
}, t[0] = d) : d = t[0];
|
|
6275
|
-
let { t: f } = Mr(d), p;
|
|
6276
|
-
t[1] === l ? p = t[2] : (p = {
|
|
6152
|
+
function Ui(e) {
|
|
6153
|
+
let { selection: t, onSelectionChange: n, multiple: r = !0, listClassName: i = "" } = e, [a, o] = l(""), { t: s } = $({
|
|
6154
|
+
de: Bi,
|
|
6155
|
+
en: Vi
|
|
6156
|
+
}), { data: c, isLoading: u } = Ie({
|
|
6277
6157
|
limit: 15,
|
|
6278
6158
|
page: 1,
|
|
6279
|
-
search:
|
|
6280
|
-
}
|
|
6281
|
-
|
|
6282
|
-
t[3] === f ? g = t[4] : (g = f("search.label"), t[3] = f, t[4] = g);
|
|
6283
|
-
let _;
|
|
6284
|
-
t[5] === g ? _ = t[6] : (_ = /* @__PURE__ */ Y(N, { children: g }), t[5] = g, t[6] = _);
|
|
6285
|
-
let v;
|
|
6286
|
-
t[7] === Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ Y(M.Prefix, { children: /* @__PURE__ */ Y(De, { className: "size-4 text-muted" }) }), t[7] = v) : v = t[7];
|
|
6287
|
-
let b;
|
|
6288
|
-
t[8] === f ? b = t[9] : (b = f("search.placeholder"), t[8] = f, t[9] = b);
|
|
6289
|
-
let x;
|
|
6290
|
-
t[10] === b ? x = t[11] : (x = /* @__PURE__ */ Y(M.Input, { placeholder: b }), t[10] = b, t[11] = x);
|
|
6291
|
-
let S;
|
|
6292
|
-
t[12] === h ? S = t[13] : (S = h ? /* @__PURE__ */ Y(M.Suffix, { children: /* @__PURE__ */ Y(te, { size: "sm" }) }) : null, t[12] = h, t[13] = S);
|
|
6293
|
-
let C;
|
|
6294
|
-
t[14] !== x || t[15] !== S ? (C = /* @__PURE__ */ X(M, { children: [
|
|
6295
|
-
v,
|
|
6296
|
-
x,
|
|
6297
|
-
S
|
|
6298
|
-
] }), t[14] = x, t[15] = S, t[16] = C) : C = t[16];
|
|
6299
|
-
let w;
|
|
6300
|
-
t[17] !== l || t[18] !== C || t[19] !== _ ? (w = /* @__PURE__ */ X(fe, {
|
|
6301
|
-
value: l,
|
|
6302
|
-
onChange: u,
|
|
6303
|
-
className: "w-full",
|
|
6304
|
-
children: [_, C]
|
|
6305
|
-
}), t[17] = l, t[18] = C, t[19] = _, t[20] = w) : w = t[20];
|
|
6306
|
-
let T;
|
|
6307
|
-
t[21] === f ? T = t[22] : (T = f("table.ariaLabel"), t[21] = f, t[22] = T);
|
|
6308
|
-
let E;
|
|
6309
|
-
t[23] === Symbol.for("react.memo_cache_sentinel") ? (E = {
|
|
6310
|
-
maxHeight: 387,
|
|
6311
|
-
overflowY: "auto"
|
|
6312
|
-
}, t[23] = E) : E = t[23];
|
|
6313
|
-
let D = o ? "multiple" : "single", O;
|
|
6314
|
-
t[24] === n ? O = t[25] : (O = new Set(n.map(String)), t[24] = n, t[25] = O);
|
|
6315
|
-
let k;
|
|
6316
|
-
t[26] !== o || t[27] !== r || t[28] !== m?.data || t[29] !== n ? (k = (e) => {
|
|
6317
|
-
let t = (m?.data ?? []).map(Ki);
|
|
6318
|
-
if (!o) {
|
|
6319
|
-
r(e === "all" ? t : Array.from(e).map(Gi));
|
|
6320
|
-
return;
|
|
6321
|
-
}
|
|
6322
|
-
let i = new Set(t), a = n.filter((e) => !i.has(e)), s = e === "all" ? t : Array.from(e).map(Wi);
|
|
6323
|
-
r([.../* @__PURE__ */ new Set([...a, ...s])]);
|
|
6324
|
-
}, t[26] = o, t[27] = r, t[28] = m?.data, t[29] = n, t[30] = k) : k = t[30];
|
|
6325
|
-
let A;
|
|
6326
|
-
t[31] !== o || t[32] !== f ? (A = o ? /* @__PURE__ */ Y(y, {
|
|
6327
|
-
"aria-label": f("table.ariaLabel"),
|
|
6328
|
-
slot: "selection",
|
|
6329
|
-
children: /* @__PURE__ */ Y(y.Content, { children: /* @__PURE__ */ Y(y.Control, { children: /* @__PURE__ */ Y(y.Indicator, {}) }) })
|
|
6330
|
-
}) : null, t[31] = o, t[32] = f, t[33] = A) : A = t[33];
|
|
6331
|
-
let j;
|
|
6332
|
-
t[34] === A ? j = t[35] : (j = /* @__PURE__ */ Y(ie, {
|
|
6333
|
-
className: "pr-0 w-0",
|
|
6334
|
-
children: A
|
|
6335
|
-
}), t[34] = A, t[35] = j);
|
|
6336
|
-
let P;
|
|
6337
|
-
t[36] === f ? P = t[37] : (P = f("table.columns.name.header"), t[36] = f, t[37] = P);
|
|
6338
|
-
let F;
|
|
6339
|
-
t[38] === P ? F = t[39] : (F = /* @__PURE__ */ Y(ie, {
|
|
6340
|
-
className: "w-full",
|
|
6341
|
-
isRowHeader: !0,
|
|
6342
|
-
children: P
|
|
6343
|
-
}), t[38] = P, t[39] = F);
|
|
6344
|
-
let I;
|
|
6345
|
-
t[40] !== j || t[41] !== F ? (I = /* @__PURE__ */ X(oe, { children: [j, F] }), t[40] = j, t[41] = F, t[42] = I) : I = t[42];
|
|
6346
|
-
let L;
|
|
6347
|
-
t[43] === m?.data ? L = t[44] : (L = m?.data ?? [], t[43] = m?.data, t[44] = L);
|
|
6348
|
-
let R;
|
|
6349
|
-
t[45] === L ? R = t[46] : (R = /* @__PURE__ */ Y(ne, {
|
|
6350
|
-
items: L,
|
|
6351
|
-
children: Ui
|
|
6352
|
-
}), t[45] = L, t[46] = R);
|
|
6353
|
-
let z;
|
|
6354
|
-
t[47] !== D || t[48] !== O || t[49] !== k || t[50] !== I || t[51] !== R ? (z = /* @__PURE__ */ Y(le, { children: /* @__PURE__ */ X(ae, {
|
|
6355
|
-
selectionMode: D,
|
|
6356
|
-
selectedKeys: O,
|
|
6357
|
-
onSelectionChange: k,
|
|
6358
|
-
children: [I, R]
|
|
6359
|
-
}) }), t[47] = D, t[48] = O, t[49] = k, t[50] = I, t[51] = R, t[52] = z) : z = t[52];
|
|
6360
|
-
let B;
|
|
6361
|
-
t[53] !== s || t[54] !== T || t[55] !== z ? (B = /* @__PURE__ */ Y(se, {
|
|
6362
|
-
"aria-label": T,
|
|
6363
|
-
className: s,
|
|
6364
|
-
style: E,
|
|
6365
|
-
children: z
|
|
6366
|
-
}), t[53] = s, t[54] = T, t[55] = z, t[56] = B) : B = t[56];
|
|
6367
|
-
let V;
|
|
6368
|
-
return t[57] !== w || t[58] !== B ? (V = /* @__PURE__ */ X("div", {
|
|
6159
|
+
search: a
|
|
6160
|
+
});
|
|
6161
|
+
return /* @__PURE__ */ J("div", {
|
|
6369
6162
|
className: "flex flex-col gap-2",
|
|
6370
|
-
children: [
|
|
6371
|
-
|
|
6372
|
-
|
|
6373
|
-
|
|
6374
|
-
|
|
6375
|
-
|
|
6376
|
-
|
|
6377
|
-
|
|
6378
|
-
|
|
6379
|
-
|
|
6380
|
-
|
|
6381
|
-
|
|
6382
|
-
|
|
6383
|
-
|
|
6384
|
-
|
|
6385
|
-
|
|
6163
|
+
children: [/* @__PURE__ */ J(he, {
|
|
6164
|
+
value: a,
|
|
6165
|
+
onChange: o,
|
|
6166
|
+
className: "w-full",
|
|
6167
|
+
children: [/* @__PURE__ */ q(ee, { children: s("search.label") }), /* @__PURE__ */ J(N, { children: [
|
|
6168
|
+
/* @__PURE__ */ q(N.Prefix, { children: /* @__PURE__ */ q(Ae, { className: "size-4 text-muted" }) }),
|
|
6169
|
+
/* @__PURE__ */ q(N.Input, { placeholder: s("search.placeholder") }),
|
|
6170
|
+
u ? /* @__PURE__ */ q(N.Suffix, { children: /* @__PURE__ */ q(re, { size: "sm" }) }) : null
|
|
6171
|
+
] })]
|
|
6172
|
+
}), /* @__PURE__ */ q(ue, {
|
|
6173
|
+
"aria-label": s("table.ariaLabel"),
|
|
6174
|
+
className: i,
|
|
6175
|
+
style: {
|
|
6176
|
+
maxHeight: 387,
|
|
6177
|
+
overflowY: "auto"
|
|
6178
|
+
},
|
|
6179
|
+
children: /* @__PURE__ */ q(fe, { children: /* @__PURE__ */ J(ce, {
|
|
6180
|
+
selectionMode: r ? "multiple" : "single",
|
|
6181
|
+
selectedKeys: new Set(t.map(String)),
|
|
6182
|
+
onSelectionChange: (e) => {
|
|
6183
|
+
let i = (c?.data ?? []).map((e) => e.id);
|
|
6184
|
+
if (!r) {
|
|
6185
|
+
n(e === "all" ? i : Array.from(e).map((e) => Number(e)));
|
|
6186
|
+
return;
|
|
6187
|
+
}
|
|
6188
|
+
let a = new Set(i), o = t.filter((e) => !a.has(e)), s = e === "all" ? i : Array.from(e).map((e) => Number(e));
|
|
6189
|
+
n([.../* @__PURE__ */ new Set([...o, ...s])]);
|
|
6190
|
+
},
|
|
6191
|
+
children: [/* @__PURE__ */ J(le, { children: [/* @__PURE__ */ q(se, {
|
|
6192
|
+
className: "pr-0 w-0",
|
|
6193
|
+
children: r ? /* @__PURE__ */ q(b, {
|
|
6194
|
+
"aria-label": s("table.ariaLabel"),
|
|
6195
|
+
slot: "selection",
|
|
6196
|
+
children: /* @__PURE__ */ q(b.Content, { children: /* @__PURE__ */ q(b.Control, { children: /* @__PURE__ */ q(b.Indicator, {}) }) })
|
|
6197
|
+
}) : null
|
|
6198
|
+
}), /* @__PURE__ */ q(se, {
|
|
6199
|
+
className: "w-full",
|
|
6200
|
+
isRowHeader: !0,
|
|
6201
|
+
children: s("table.columns.name.header")
|
|
6202
|
+
})] }), /* @__PURE__ */ q(ae, {
|
|
6203
|
+
items: c?.data ?? [],
|
|
6204
|
+
children: (e) => /* @__PURE__ */ J(de, {
|
|
6205
|
+
id: String(e.id),
|
|
6206
|
+
children: [/* @__PURE__ */ q(oe, {
|
|
6207
|
+
className: "pr-0",
|
|
6208
|
+
children: /* @__PURE__ */ q(b, {
|
|
6209
|
+
"aria-label": e.name,
|
|
6210
|
+
slot: "selection",
|
|
6211
|
+
variant: "secondary",
|
|
6212
|
+
children: /* @__PURE__ */ q(b.Content, { children: /* @__PURE__ */ q(b.Control, { children: /* @__PURE__ */ q(b.Indicator, {}) }) })
|
|
6213
|
+
})
|
|
6214
|
+
}), /* @__PURE__ */ q(oe, { children: e.name })]
|
|
6215
|
+
}, e.id)
|
|
6216
|
+
})]
|
|
6217
|
+
}) })
|
|
6218
|
+
})]
|
|
6219
|
+
});
|
|
6386
6220
|
}
|
|
6221
|
+
// src/lib/components/Trans/index.tsx
|
|
6387
6222
|
function Wi(e) {
|
|
6388
|
-
return Number(e);
|
|
6389
|
-
}
|
|
6390
|
-
function Gi(e) {
|
|
6391
|
-
return Number(e);
|
|
6392
|
-
}
|
|
6393
|
-
function Ki(e) {
|
|
6394
|
-
return e.id;
|
|
6395
|
-
}
|
|
6396
|
-
//#endregion
|
|
6397
|
-
//#region src/lib/components/Trans/index.tsx
|
|
6398
|
-
function qi(e) {
|
|
6399
6223
|
let t = { children: [] }, n = [], r = /<\/?([a-zA-Z0-9_]+)\s*\/?\s*>/g, i = 0, a = () => n.length === 0 ? t.children : n[n.length - 1].children, o;
|
|
6400
6224
|
for (; (o = r.exec(e)) !== null;) {
|
|
6401
6225
|
let s = o[0], c = o[1], l = s.startsWith("</"), u = /\/>\s*$/.test(s) || !l && s.endsWith("/>");
|
|
@@ -6453,7 +6277,7 @@ function qi(e) {
|
|
|
6453
6277
|
}
|
|
6454
6278
|
return t.children;
|
|
6455
6279
|
}
|
|
6456
|
-
function
|
|
6280
|
+
function Gi(t, n, r = "k") {
|
|
6457
6281
|
let i = [];
|
|
6458
6282
|
return t.forEach((t, a) => {
|
|
6459
6283
|
let o = `${r}-${a}`;
|
|
@@ -6465,200 +6289,193 @@ function Ji(t, n, r = "k") {
|
|
|
6465
6289
|
if (e.isValidElement(s)) {
|
|
6466
6290
|
if (t.selfClosing) i.push(e.cloneElement(s, { key: o }));
|
|
6467
6291
|
else {
|
|
6468
|
-
let r =
|
|
6292
|
+
let r = Gi(t.children, n, o);
|
|
6469
6293
|
i.push(e.cloneElement(s, { key: o }, r));
|
|
6470
6294
|
}
|
|
6471
|
-
|
|
6472
|
-
}
|
|
6473
|
-
t.selfClosing || i.push(...Ji(t.children, n, o));
|
|
6295
|
+
} else t.selfClosing || i.push(...Gi(t.children, n, o));
|
|
6474
6296
|
}), i;
|
|
6475
6297
|
}
|
|
6476
|
-
function
|
|
6477
|
-
let t = (0,
|
|
6298
|
+
function Ki(e) {
|
|
6299
|
+
let t = (0, X.c)(9), { i18nKey: n, values: r, components: i, t: a } = e, o;
|
|
6478
6300
|
t[0] !== n || t[1] !== a || t[2] !== r ? (o = a(n, r), t[0] = n, t[1] = a, t[2] = r, t[3] = o) : o = t[3];
|
|
6479
6301
|
let s = o, c;
|
|
6480
|
-
t[4] === s ? c = t[5] : (c =
|
|
6302
|
+
t[4] === s ? c = t[5] : (c = Wi(s), t[4] = s, t[5] = c);
|
|
6481
6303
|
let l = c, u;
|
|
6482
|
-
return t[6] !== i || t[7] !== l ? (u =
|
|
6304
|
+
return t[6] !== i || t[7] !== l ? (u = Gi(l, i), t[6] = i, t[7] = l, t[8] = u) : u = t[8], u;
|
|
6483
6305
|
}
|
|
6484
|
-
|
|
6485
|
-
|
|
6486
|
-
|
|
6487
|
-
|
|
6488
|
-
|
|
6489
|
-
|
|
6490
|
-
|
|
6491
|
-
danger: ge
|
|
6306
|
+
// src/lib/components/AlertStatusIcon.tsx
|
|
6307
|
+
var qi = {
|
|
6308
|
+
default: Ee,
|
|
6309
|
+
accent: Ee,
|
|
6310
|
+
success: Se,
|
|
6311
|
+
warning: be,
|
|
6312
|
+
danger: ye
|
|
6492
6313
|
};
|
|
6493
|
-
function
|
|
6494
|
-
let t = (0,
|
|
6495
|
-
return t[0] === r ? i = t[1] : (i = /* @__PURE__ */
|
|
6314
|
+
function Ji(e) {
|
|
6315
|
+
let t = (0, X.c)(2), { status: n } = e, r = qi[n], i;
|
|
6316
|
+
return t[0] === r ? i = t[1] : (i = /* @__PURE__ */ q(m, { children: /* @__PURE__ */ q(r, {}) }), t[0] = r, t[1] = i), i;
|
|
6496
6317
|
}
|
|
6497
|
-
|
|
6498
|
-
|
|
6499
|
-
|
|
6500
|
-
let t = (0, Q.c)(7), { message: n } = e, r;
|
|
6318
|
+
// src/lib/components/EmptyState.tsx
|
|
6319
|
+
function Yi(e) {
|
|
6320
|
+
let t = (0, X.c)(7), { message: n } = e, r;
|
|
6501
6321
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (r = {
|
|
6502
6322
|
en: { message: "No entries found" },
|
|
6503
6323
|
de: { message: "Keine Einträge gefunden" }
|
|
6504
6324
|
}, t[0] = r) : r = t[0];
|
|
6505
|
-
let { t: i } =
|
|
6506
|
-
t[1] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */
|
|
6325
|
+
let { t: i } = $(r), a;
|
|
6326
|
+
t[1] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ q(De, {
|
|
6507
6327
|
size: 36,
|
|
6508
6328
|
className: "text-default-300"
|
|
6509
6329
|
}), t[1] = a) : a = t[1];
|
|
6510
6330
|
let o;
|
|
6511
6331
|
t[2] !== n || t[3] !== i ? (o = n ?? i("message"), t[2] = n, t[3] = i, t[4] = o) : o = t[4];
|
|
6512
6332
|
let s;
|
|
6513
|
-
return t[5] === o ? s = t[6] : (s = /* @__PURE__ */
|
|
6333
|
+
return t[5] === o ? s = t[6] : (s = /* @__PURE__ */ J("div", {
|
|
6514
6334
|
className: "flex flex-col justify-center items-center py-6 px-4 gap-2",
|
|
6515
|
-
children: [a, /* @__PURE__ */
|
|
6335
|
+
children: [a, /* @__PURE__ */ q("p", {
|
|
6516
6336
|
className: "text-sm text-default-500",
|
|
6517
6337
|
children: o
|
|
6518
6338
|
})]
|
|
6519
6339
|
}), t[5] = o, t[6] = s), s;
|
|
6520
6340
|
}
|
|
6521
|
-
|
|
6522
|
-
|
|
6523
|
-
|
|
6524
|
-
let t = (0, Q.c)(11), n, r, i;
|
|
6341
|
+
// src/lib/components/LabeledSwitch.tsx
|
|
6342
|
+
function Xi(e) {
|
|
6343
|
+
let t = (0, X.c)(11), n, r, i;
|
|
6525
6344
|
t[0] === e ? (n = t[1], r = t[2], i = t[3]) : ({children: n, contentClassName: r, ...i} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = i);
|
|
6526
6345
|
let a;
|
|
6527
|
-
t[4] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */
|
|
6346
|
+
t[4] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ q(ie.Control, { children: /* @__PURE__ */ q(ie.Thumb, {}) }), t[4] = a) : a = t[4];
|
|
6528
6347
|
let o;
|
|
6529
|
-
t[5] !== n || t[6] !== r ? (o = /* @__PURE__ */
|
|
6348
|
+
t[5] !== n || t[6] !== r ? (o = /* @__PURE__ */ J(ie.Content, {
|
|
6530
6349
|
className: r,
|
|
6531
6350
|
children: [a, n]
|
|
6532
6351
|
}), t[5] = n, t[6] = r, t[7] = o) : o = t[7];
|
|
6533
6352
|
let s;
|
|
6534
|
-
return t[8] !== i || t[9] !== o ? (s = /* @__PURE__ */
|
|
6353
|
+
return t[8] !== i || t[9] !== o ? (s = /* @__PURE__ */ q(ie, {
|
|
6535
6354
|
...i,
|
|
6536
6355
|
children: o
|
|
6537
6356
|
}), t[8] = i, t[9] = o, t[10] = s) : s = t[10], s;
|
|
6538
6357
|
}
|
|
6539
|
-
var
|
|
6540
|
-
let t = (0,
|
|
6358
|
+
var Zi = { loading: "Loading" }, Qi = { loading: "Wird geladen" }, $i = (e) => {
|
|
6359
|
+
let t = (0, X.c)(7), { label: n } = e, r;
|
|
6541
6360
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (r = {
|
|
6542
|
-
en:
|
|
6543
|
-
de:
|
|
6361
|
+
en: Zi,
|
|
6362
|
+
de: Qi
|
|
6544
6363
|
}, t[0] = r) : r = t[0];
|
|
6545
|
-
let { t: i } =
|
|
6364
|
+
let { t: i } = $(r), a;
|
|
6546
6365
|
t[1] !== n || t[2] !== i ? (a = n ?? i("loading"), t[1] = n, t[2] = i, t[3] = a) : a = t[3];
|
|
6547
6366
|
let o;
|
|
6548
|
-
t[4] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */
|
|
6367
|
+
t[4] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ J(G, { children: [/* @__PURE__ */ q(K, {}), /* @__PURE__ */ q(W, {})] }), t[4] = o) : o = t[4];
|
|
6549
6368
|
let s;
|
|
6550
|
-
return t[5] === a ? s = t[6] : (s = /* @__PURE__ */
|
|
6369
|
+
return t[5] === a ? s = t[6] : (s = /* @__PURE__ */ q("div", {
|
|
6551
6370
|
className: "flex justify-center items-center p-4",
|
|
6552
|
-
children: /* @__PURE__ */
|
|
6371
|
+
children: /* @__PURE__ */ q(U, {
|
|
6553
6372
|
isIndeterminate: !0,
|
|
6554
6373
|
"aria-label": a,
|
|
6555
6374
|
children: o
|
|
6556
6375
|
})
|
|
6557
6376
|
}), t[5] = a, t[6] = s), s;
|
|
6558
|
-
},
|
|
6559
|
-
function
|
|
6560
|
-
let t = (0,
|
|
6561
|
-
t[0] !== i || t[1] !== s || t[2] !== l ? (u = /* @__PURE__ */
|
|
6377
|
+
}, ea = "md:max-w-2xl bg-overlay", ta = `${ea} md:mx-auto`;
|
|
6378
|
+
function na(e) {
|
|
6379
|
+
let t = (0, X.c)(12), { isOpen: n, onOpenChange: r, children: i, backdropProps: a, contentProps: o, dialogProps: s } = e, c = o?.placement === "left" || o?.placement === "right" ? ea : ta, l = s?.className ? `${c} ${s.className}` : c, u;
|
|
6380
|
+
t[0] !== i || t[1] !== s || t[2] !== l ? (u = /* @__PURE__ */ q(w, {
|
|
6562
6381
|
...s,
|
|
6563
6382
|
className: l,
|
|
6564
6383
|
children: i
|
|
6565
6384
|
}), t[0] = i, t[1] = s, t[2] = l, t[3] = u) : u = t[3];
|
|
6566
6385
|
let d;
|
|
6567
|
-
t[4] !== o || t[5] !== u ? (d = /* @__PURE__ */
|
|
6386
|
+
t[4] !== o || t[5] !== u ? (d = /* @__PURE__ */ q(C, {
|
|
6568
6387
|
...o,
|
|
6569
6388
|
children: u
|
|
6570
6389
|
}), t[4] = o, t[5] = u, t[6] = d) : d = t[6];
|
|
6571
6390
|
let f;
|
|
6572
|
-
return t[7] !== a || t[8] !== n || t[9] !== r || t[10] !== d ? (f = /* @__PURE__ */
|
|
6391
|
+
return t[7] !== a || t[8] !== n || t[9] !== r || t[10] !== d ? (f = /* @__PURE__ */ q(S, {
|
|
6573
6392
|
...a,
|
|
6574
6393
|
isOpen: n,
|
|
6575
6394
|
onOpenChange: r,
|
|
6576
6395
|
children: d
|
|
6577
6396
|
}), t[7] = a, t[8] = n, t[9] = r, t[10] = d, t[11] = f) : f = t[11], f;
|
|
6578
6397
|
}
|
|
6579
|
-
|
|
6580
|
-
|
|
6581
|
-
|
|
6582
|
-
|
|
6583
|
-
t[0] === n ? o = t[1] : (o = /* @__PURE__ */ Y(Zi, { status: n }), t[0] = n, t[1] = o);
|
|
6398
|
+
// src/lib/components/StatusAlert.tsx
|
|
6399
|
+
function ra(e) {
|
|
6400
|
+
let t = (0, X.c)(14), { status: n, title: r, children: i, "data-cy": a } = e, o;
|
|
6401
|
+
t[0] === n ? o = t[1] : (o = /* @__PURE__ */ q(Ji, { status: n }), t[0] = n, t[1] = o);
|
|
6584
6402
|
let s;
|
|
6585
|
-
t[2] === r ? s = t[3] : (s = r !== void 0 && /* @__PURE__ */
|
|
6403
|
+
t[2] === r ? s = t[3] : (s = r !== void 0 && /* @__PURE__ */ q(h, { children: r }), t[2] = r, t[3] = s);
|
|
6586
6404
|
let c;
|
|
6587
|
-
t[4] !== i || t[5] !== a ? (c = i !== void 0 && /* @__PURE__ */
|
|
6405
|
+
t[4] !== i || t[5] !== a ? (c = i !== void 0 && /* @__PURE__ */ q(f, {
|
|
6588
6406
|
"data-cy": a,
|
|
6589
6407
|
children: i
|
|
6590
6408
|
}), t[4] = i, t[5] = a, t[6] = c) : c = t[6];
|
|
6591
|
-
let
|
|
6592
|
-
t[7] !== s || t[8] !== c ? (
|
|
6409
|
+
let l;
|
|
6410
|
+
t[7] !== s || t[8] !== c ? (l = /* @__PURE__ */ J(d, { children: [s, c] }), t[7] = s, t[8] = c, t[9] = l) : l = t[9];
|
|
6593
6411
|
let p;
|
|
6594
|
-
return t[10] !== n || t[11] !== o || t[12] !==
|
|
6412
|
+
return t[10] !== n || t[11] !== o || t[12] !== l ? (p = /* @__PURE__ */ J(u, {
|
|
6595
6413
|
status: n,
|
|
6596
|
-
children: [o,
|
|
6597
|
-
}), t[10] = n, t[11] = o, t[12] =
|
|
6414
|
+
children: [o, l]
|
|
6415
|
+
}), t[10] = n, t[11] = o, t[12] = l, t[13] = p) : p = t[13], p;
|
|
6598
6416
|
}
|
|
6599
|
-
|
|
6600
|
-
|
|
6601
|
-
|
|
6602
|
-
let t = (0, Q.c)(15), n, r, i, a;
|
|
6417
|
+
// src/lib/components/button/index.tsx
|
|
6418
|
+
function ia(e) {
|
|
6419
|
+
let t = (0, X.c)(15), n, r, i, a;
|
|
6603
6420
|
t[0] === e ? (n = t[1], r = t[2], i = t[3], a = t[4]) : ({children: n, isPending: i, isIconOnly: r, ...a} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = i, t[4] = a);
|
|
6604
6421
|
let o = i ? r ? "opacity-0" : "pr-5" : "", s;
|
|
6605
|
-
t[5] !== n || t[6] !== r || t[7] !== i || t[8] !== o ? (s = (e) => /* @__PURE__ */
|
|
6422
|
+
t[5] !== n || t[6] !== r || t[7] !== i || t[8] !== o ? (s = (e) => /* @__PURE__ */ J(Ne, { children: [/* @__PURE__ */ q("span", {
|
|
6606
6423
|
className: `inline-flex items-center gap-2 ${o}`,
|
|
6607
6424
|
children: typeof n == "function" ? n(e) : n
|
|
6608
|
-
}), i && /* @__PURE__ */
|
|
6425
|
+
}), i && /* @__PURE__ */ q("span", {
|
|
6609
6426
|
className: `absolute flex items-center ${r ? "inset-0 justify-center" : "right-3 inset-y-0"}`,
|
|
6610
6427
|
"aria-hidden": "true",
|
|
6611
|
-
children: /* @__PURE__ */
|
|
6428
|
+
children: /* @__PURE__ */ q(re, {
|
|
6612
6429
|
color: "current",
|
|
6613
6430
|
size: "sm"
|
|
6614
6431
|
})
|
|
6615
6432
|
})] }), t[5] = n, t[6] = r, t[7] = i, t[8] = o, t[9] = s) : s = t[9];
|
|
6616
6433
|
let c;
|
|
6617
|
-
return t[10] !== r || t[11] !== i || t[12] !== a || t[13] !== s ? (c = /* @__PURE__ */
|
|
6434
|
+
return t[10] !== r || t[11] !== i || t[12] !== a || t[13] !== s ? (c = /* @__PURE__ */ q(y, {
|
|
6618
6435
|
...a,
|
|
6619
6436
|
isPending: i,
|
|
6620
6437
|
isIconOnly: r,
|
|
6621
6438
|
children: s
|
|
6622
6439
|
}), t[10] = r, t[11] = i, t[12] = a, t[13] = s, t[14] = c) : c = t[14], c;
|
|
6623
6440
|
}
|
|
6624
|
-
var
|
|
6441
|
+
var aa = {
|
|
6625
6442
|
close: "Close",
|
|
6626
6443
|
cancel: "Cancel"
|
|
6627
|
-
},
|
|
6444
|
+
}, oa = {
|
|
6628
6445
|
close: "Schließen",
|
|
6629
6446
|
cancel: "Abbrechen"
|
|
6630
|
-
},
|
|
6447
|
+
}, sa = {
|
|
6631
6448
|
default: "default",
|
|
6632
6449
|
info: "accent",
|
|
6633
6450
|
success: "success",
|
|
6634
6451
|
warning: "warning",
|
|
6635
6452
|
error: "danger"
|
|
6636
|
-
},
|
|
6453
|
+
}, ca = (e) => {
|
|
6637
6454
|
e.target === e.currentTarget && e.preventDefault();
|
|
6638
6455
|
};
|
|
6639
|
-
function
|
|
6640
|
-
let t = (0,
|
|
6456
|
+
function la(e) {
|
|
6457
|
+
let t = (0, X.c)(38), { isOpen: n, onClose: r, status: i, title: a, children: o, action: s, closeLabel: c, closeDataCy: l, "data-cy": u } = e, d;
|
|
6641
6458
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (d = {
|
|
6642
|
-
en:
|
|
6643
|
-
de:
|
|
6459
|
+
en: aa,
|
|
6460
|
+
de: oa
|
|
6644
6461
|
}, t[0] = d) : d = t[0];
|
|
6645
|
-
let { t:
|
|
6462
|
+
let { t: f } = $(d), m = i === "error", h;
|
|
6646
6463
|
t[1] !== s?.isPending || t[2] !== r ? (h = (e) => !e && !s?.isPending && r(), t[1] = s?.isPending, t[2] = r, t[3] = h) : h = t[3];
|
|
6647
|
-
let g =
|
|
6648
|
-
t[4] === g ? _ = t[5] : (_ = /* @__PURE__ */
|
|
6464
|
+
let g = sa[i], _;
|
|
6465
|
+
t[4] === g ? _ = t[5] : (_ = /* @__PURE__ */ q(p.Icon, { status: g }), t[4] = g, t[5] = _);
|
|
6649
6466
|
let v;
|
|
6650
|
-
t[6] === a ? v = t[7] : (v = /* @__PURE__ */
|
|
6467
|
+
t[6] === a ? v = t[7] : (v = /* @__PURE__ */ q(p.Heading, { children: a }), t[6] = a, t[7] = v);
|
|
6651
6468
|
let y;
|
|
6652
|
-
t[8] !== _ || t[9] !== v ? (y = /* @__PURE__ */
|
|
6469
|
+
t[8] !== _ || t[9] !== v ? (y = /* @__PURE__ */ J(p.Header, { children: [_, v] }), t[8] = _, t[9] = v, t[10] = y) : y = t[10];
|
|
6653
6470
|
let b;
|
|
6654
|
-
t[11] === o ? b = t[12] : (b = o !== void 0 && /* @__PURE__ */
|
|
6471
|
+
t[11] === o ? b = t[12] : (b = o !== void 0 && /* @__PURE__ */ q(p.Body, { children: typeof o == "string" ? /* @__PURE__ */ q("p", {
|
|
6655
6472
|
className: "break-words",
|
|
6656
6473
|
children: o
|
|
6657
6474
|
}) : o }), t[11] = o, t[12] = b);
|
|
6658
6475
|
let x = s ? "tertiary" : "primary", S = s?.isPending, C = l ?? (u ? `${u}-close` : void 0), w;
|
|
6659
|
-
t[13] !== s || t[14] !== c || t[15] !==
|
|
6476
|
+
t[13] !== s || t[14] !== c || t[15] !== f ? (w = c ?? f(s ? "cancel" : "close"), t[13] = s, t[14] = c, t[15] = f, t[16] = w) : w = t[16];
|
|
6660
6477
|
let T;
|
|
6661
|
-
t[17] !== r || t[18] !== w || t[19] !== x || t[20] !== S || t[21] !== C ? (T = /* @__PURE__ */
|
|
6478
|
+
t[17] !== r || t[18] !== w || t[19] !== x || t[20] !== S || t[21] !== C ? (T = /* @__PURE__ */ q(ia, {
|
|
6662
6479
|
variant: x,
|
|
6663
6480
|
onPress: r,
|
|
6664
6481
|
isDisabled: S,
|
|
@@ -6666,7 +6483,7 @@ function fa(e) {
|
|
|
6666
6483
|
children: w
|
|
6667
6484
|
}), t[17] = r, t[18] = w, t[19] = x, t[20] = S, t[21] = C, t[22] = T) : T = t[22];
|
|
6668
6485
|
let E;
|
|
6669
|
-
t[23] !== s || t[24] !== m ? (E = s && /* @__PURE__ */
|
|
6486
|
+
t[23] !== s || t[24] !== m ? (E = s && /* @__PURE__ */ q(ia, {
|
|
6670
6487
|
variant: m ? "danger" : "primary",
|
|
6671
6488
|
onPress: () => void s.onPress(),
|
|
6672
6489
|
isPending: s.isPending,
|
|
@@ -6675,9 +6492,9 @@ function fa(e) {
|
|
|
6675
6492
|
children: s.label
|
|
6676
6493
|
}), t[23] = s, t[24] = m, t[25] = E) : E = t[25];
|
|
6677
6494
|
let D;
|
|
6678
|
-
t[26] !== T || t[27] !== E ? (D = /* @__PURE__ */
|
|
6495
|
+
t[26] !== T || t[27] !== E ? (D = /* @__PURE__ */ J(p.Footer, { children: [T, E] }), t[26] = T, t[27] = E, t[28] = D) : D = t[28];
|
|
6679
6496
|
let O;
|
|
6680
|
-
t[29] !== u || t[30] !== D || t[31] !== y || t[32] !== b ? (O = /* @__PURE__ */
|
|
6497
|
+
t[29] !== u || t[30] !== D || t[31] !== y || t[32] !== b ? (O = /* @__PURE__ */ q(p.Container, { children: /* @__PURE__ */ J(p.Dialog, {
|
|
6681
6498
|
className: "sm:max-w-[440px]",
|
|
6682
6499
|
"data-cy": u,
|
|
6683
6500
|
children: [
|
|
@@ -6687,35 +6504,34 @@ function fa(e) {
|
|
|
6687
6504
|
]
|
|
6688
6505
|
}) }), t[29] = u, t[30] = D, t[31] = y, t[32] = b, t[33] = O) : O = t[33];
|
|
6689
6506
|
let k;
|
|
6690
|
-
return t[34] !== n || t[35] !== h || t[36] !== O ? (k = /* @__PURE__ */
|
|
6507
|
+
return t[34] !== n || t[35] !== h || t[36] !== O ? (k = /* @__PURE__ */ q(p.Backdrop, {
|
|
6691
6508
|
isOpen: n,
|
|
6692
6509
|
onOpenChange: h,
|
|
6693
6510
|
isDismissable: !1,
|
|
6694
6511
|
isKeyboardDismissDisabled: !1,
|
|
6695
|
-
onMouseDown:
|
|
6512
|
+
onMouseDown: ca,
|
|
6696
6513
|
children: O
|
|
6697
6514
|
}), t[34] = n, t[35] = h, t[36] = O, t[37] = k) : k = t[37], k;
|
|
6698
6515
|
}
|
|
6699
|
-
var
|
|
6516
|
+
var ua = {
|
|
6700
6517
|
title: "Confirm Deletion",
|
|
6701
6518
|
message: "Are you sure you want to delete <bold>{{itemName}}</bold>?<alert>This action cannot be undone.</alert>",
|
|
6702
6519
|
cancelButton: "Cancel",
|
|
6703
6520
|
deleteButton: "Delete"
|
|
6704
|
-
},
|
|
6521
|
+
}, da = {
|
|
6705
6522
|
title: "Löschen bestätigen",
|
|
6706
6523
|
message: "Sind Sie sicher, dass Sie <bold>{{itemName}}</bold> löschen möchten?<alert>Diese Aktion kann nicht rückgängig gemacht werden.</alert>",
|
|
6707
6524
|
cancelButton: "Abbrechen",
|
|
6708
6525
|
deleteButton: "Löschen"
|
|
6709
6526
|
};
|
|
6710
|
-
|
|
6711
|
-
|
|
6712
|
-
|
|
6713
|
-
let t = (0, Q.c)(25), { isOpen: n, onClose: r, onConfirm: i, itemName: a, isDeleting: o, "data-cy": s } = e, c;
|
|
6527
|
+
// src/lib/components/delete-confirmation-modal/index.tsx
|
|
6528
|
+
function fa(e) {
|
|
6529
|
+
let t = (0, X.c)(25), { isOpen: n, onClose: r, onConfirm: i, itemName: a, isDeleting: o, "data-cy": s } = e, c;
|
|
6714
6530
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (c = {
|
|
6715
|
-
en:
|
|
6716
|
-
de:
|
|
6531
|
+
en: ua,
|
|
6532
|
+
de: da
|
|
6717
6533
|
}, t[0] = c) : c = t[0];
|
|
6718
|
-
let { t: l } =
|
|
6534
|
+
let { t: l } = $(c), u;
|
|
6719
6535
|
t[1] === l ? u = t[2] : (u = l("title"), t[1] = l, t[2] = u);
|
|
6720
6536
|
let d;
|
|
6721
6537
|
t[3] === l ? d = t[4] : (d = l("cancelButton"), t[3] = l, t[4] = d);
|
|
@@ -6732,11 +6548,11 @@ function ha(e) {
|
|
|
6732
6548
|
t[11] === a ? m = t[12] : (m = { itemName: a }, t[11] = a, t[12] = m);
|
|
6733
6549
|
let h;
|
|
6734
6550
|
t[13] === Symbol.for("react.memo_cache_sentinel") ? (h = {
|
|
6735
|
-
bold: /* @__PURE__ */
|
|
6736
|
-
alert: /* @__PURE__ */
|
|
6551
|
+
bold: /* @__PURE__ */ q("strong", {}),
|
|
6552
|
+
alert: /* @__PURE__ */ q("span", { className: "block mt-2 text-danger" })
|
|
6737
6553
|
}, t[13] = h) : h = t[13];
|
|
6738
6554
|
let g;
|
|
6739
|
-
t[14] !== l || t[15] !== m ? (g = /* @__PURE__ */
|
|
6555
|
+
t[14] !== l || t[15] !== m ? (g = /* @__PURE__ */ q("p", { children: /* @__PURE__ */ q(Ki, {
|
|
6740
6556
|
t: l,
|
|
6741
6557
|
count: 1,
|
|
6742
6558
|
i18nKey: "message",
|
|
@@ -6744,7 +6560,7 @@ function ha(e) {
|
|
|
6744
6560
|
components: h
|
|
6745
6561
|
}) }), t[14] = l, t[15] = m, t[16] = g) : g = t[16];
|
|
6746
6562
|
let _;
|
|
6747
|
-
return t[17] !== s || t[18] !== n || t[19] !== r || t[20] !== u || t[21] !== d || t[22] !== p || t[23] !== g ? (_ = /* @__PURE__ */
|
|
6563
|
+
return t[17] !== s || t[18] !== n || t[19] !== r || t[20] !== u || t[21] !== d || t[22] !== p || t[23] !== g ? (_ = /* @__PURE__ */ q(la, {
|
|
6748
6564
|
isOpen: n,
|
|
6749
6565
|
onClose: r,
|
|
6750
6566
|
status: "error",
|
|
@@ -6756,10 +6572,9 @@ function ha(e) {
|
|
|
6756
6572
|
children: g
|
|
6757
6573
|
}), t[17] = s, t[18] = n, t[19] = r, t[20] = u, t[21] = d, t[22] = p, t[23] = g, t[24] = _) : _ = t[24], _;
|
|
6758
6574
|
}
|
|
6759
|
-
|
|
6760
|
-
|
|
6761
|
-
|
|
6762
|
-
function _a(e) {
|
|
6575
|
+
// src/lib/components/page-header/actions.tsx
|
|
6576
|
+
var pa = 6;
|
|
6577
|
+
function ma(e) {
|
|
6763
6578
|
return {
|
|
6764
6579
|
variant: e.variant === "primary" ? "primary" : "outline",
|
|
6765
6580
|
size: "sm",
|
|
@@ -6768,179 +6583,179 @@ function _a(e) {
|
|
|
6768
6583
|
isIconOnly: e.isIconOnly,
|
|
6769
6584
|
"aria-label": e.label,
|
|
6770
6585
|
"data-cy": e.dataCy,
|
|
6771
|
-
children: e.isIconOnly ? e.icon : /* @__PURE__ */
|
|
6586
|
+
children: e.isIconOnly ? e.icon : /* @__PURE__ */ J(Ne, { children: [e.icon, e.label] })
|
|
6772
6587
|
};
|
|
6773
6588
|
}
|
|
6774
|
-
function
|
|
6775
|
-
let t =
|
|
6776
|
-
return "renderTrigger" in e && e.renderTrigger ? /* @__PURE__ */
|
|
6589
|
+
function ha(e) {
|
|
6590
|
+
let t = ma(e);
|
|
6591
|
+
return "renderTrigger" in e && e.renderTrigger ? /* @__PURE__ */ q("span", { children: e.renderTrigger(t) }, e.key) : /* @__PURE__ */ q(ia, {
|
|
6777
6592
|
...t,
|
|
6778
6593
|
onPress: e.onPress
|
|
6779
6594
|
}, e.key);
|
|
6780
6595
|
}
|
|
6781
|
-
function
|
|
6782
|
-
return /* @__PURE__ */
|
|
6596
|
+
function ga(e) {
|
|
6597
|
+
return /* @__PURE__ */ J(E, {
|
|
6783
6598
|
id: e.key,
|
|
6784
6599
|
onPress: e.onPress,
|
|
6785
6600
|
isDisabled: e.isDisabled || e.isPending,
|
|
6786
6601
|
"data-cy": e.dataCy,
|
|
6787
6602
|
className: e.variant === "destructive" ? "text-danger" : void 0,
|
|
6788
|
-
children: [e.icon && /* @__PURE__ */
|
|
6603
|
+
children: [e.icon && /* @__PURE__ */ q("span", {
|
|
6789
6604
|
className: "inline-flex mr-2",
|
|
6790
6605
|
children: e.icon
|
|
6791
6606
|
}), e.label]
|
|
6792
6607
|
}, e.key);
|
|
6793
6608
|
}
|
|
6794
|
-
function
|
|
6795
|
-
let
|
|
6796
|
-
t[0] === Symbol.for("react.memo_cache_sentinel") ? (o = {
|
|
6609
|
+
function _a({ actions: e, maxVisible: t = pa, moreLabel: n }) {
|
|
6610
|
+
let { t: r } = $({
|
|
6797
6611
|
en: { more: "More actions" },
|
|
6798
6612
|
de: { more: "Weitere Aktionen" }
|
|
6799
|
-
},
|
|
6800
|
-
|
|
6801
|
-
|
|
6802
|
-
|
|
6803
|
-
|
|
6804
|
-
|
|
6805
|
-
|
|
6806
|
-
|
|
6807
|
-
|
|
6808
|
-
|
|
6809
|
-
|
|
6810
|
-
|
|
6811
|
-
|
|
6812
|
-
|
|
6813
|
-
|
|
6814
|
-
|
|
6815
|
-
|
|
6816
|
-
|
|
6817
|
-
|
|
6818
|
-
|
|
6819
|
-
|
|
6820
|
-
|
|
6821
|
-
|
|
6822
|
-
|
|
6823
|
-
|
|
6824
|
-
|
|
6825
|
-
|
|
6826
|
-
|
|
6827
|
-
|
|
6828
|
-
|
|
6829
|
-
|
|
6830
|
-
|
|
6613
|
+
}), i = e.filter((e) => !e.isHidden);
|
|
6614
|
+
if (i.length === 0) return null;
|
|
6615
|
+
let a = i.filter((e) => e.variant === "destructive" && "onPress" in e), o = i.filter((e) => e.variant !== "destructive"), s = o.filter((e) => "renderTrigger" in e && e.renderTrigger).length, c = a.length > 0 ? t === 0 ? 0 : Math.max(1, t - 1) : t, l = Math.max(0, c - s), u = [], d = [], f = 0;
|
|
6616
|
+
for (let e of o) "renderTrigger" in e && e.renderTrigger ? u.push(e) : f < l ? (u.push(e), f += 1) : d.push(e);
|
|
6617
|
+
let p = [...d, ...a], m = p.length > 0, h = n ?? r("more");
|
|
6618
|
+
return /* @__PURE__ */ J(Ne, { children: [u.map(ha), m && /* @__PURE__ */ J(T, { children: [/* @__PURE__ */ q(k, {
|
|
6619
|
+
className: _e(Re({
|
|
6620
|
+
variant: "outline",
|
|
6621
|
+
size: "sm",
|
|
6622
|
+
isIconOnly: !0
|
|
6623
|
+
}), "inline-flex items-center justify-center"),
|
|
6624
|
+
"aria-label": h,
|
|
6625
|
+
"data-cy": "page-header-overflow-trigger",
|
|
6626
|
+
children: /* @__PURE__ */ q(ke, { className: "w-4 h-4" })
|
|
6627
|
+
}), /* @__PURE__ */ q(O, { children: /* @__PURE__ */ q(D, {
|
|
6628
|
+
"aria-label": h,
|
|
6629
|
+
children: p.map(ga)
|
|
6630
|
+
}) })] })] });
|
|
6631
|
+
}
|
|
6632
|
+
// src/lib/components/page-header/accessory.tsx
|
|
6633
|
+
var va = t(null), ya = (e) => e.reduce((e, t) => !e || e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_PRECEDING ? t : e, null);
|
|
6634
|
+
function ba(e) {
|
|
6635
|
+
let t = (0, X.c)(10), { accessory: n, children: r } = e, i;
|
|
6636
|
+
t[0] === Symbol.for("react.memo_cache_sentinel") ? (i = [], t[0] = i) : i = t[0];
|
|
6637
|
+
let [a, o] = l(i), s;
|
|
6638
|
+
t[1] === Symbol.for("react.memo_cache_sentinel") ? (s = (e) => (o((t) => [...t, e]), () => o((t) => t.filter((t) => t !== e))), t[1] = s) : s = t[1];
|
|
6639
|
+
let c = s, u;
|
|
6640
|
+
t[2] === a ? u = t[3] : (u = ya(a), t[2] = a, t[3] = u);
|
|
6641
|
+
let d = u, f;
|
|
6642
|
+
t[4] !== n || t[5] !== d ? (f = {
|
|
6643
|
+
accessory: n,
|
|
6644
|
+
register: c,
|
|
6645
|
+
owner: d
|
|
6646
|
+
}, t[4] = n, t[5] = d, t[6] = f) : f = t[6];
|
|
6647
|
+
let p = f, m;
|
|
6648
|
+
return t[7] !== r || t[8] !== p ? (m = /* @__PURE__ */ q(va.Provider, {
|
|
6649
|
+
value: p,
|
|
6650
|
+
children: r
|
|
6651
|
+
}), t[7] = r, t[8] = p, t[9] = m) : m = t[9], m;
|
|
6831
6652
|
}
|
|
6832
6653
|
function xa(e) {
|
|
6833
|
-
|
|
6654
|
+
let t = (0, X.c)(4), n = r(va), i = n?.register, a, s;
|
|
6655
|
+
return t[0] !== e || t[1] !== i ? (a = () => {
|
|
6656
|
+
if (i && e.current) return i(e.current);
|
|
6657
|
+
}, s = [i, e], t[0] = e, t[1] = i, t[2] = a, t[3] = s) : (a = t[2], s = t[3]), o(a, s), n && n.owner !== null && n.owner === e.current ? n.accessory : null;
|
|
6834
6658
|
}
|
|
6659
|
+
// src/lib/components/page-header/index.tsx
|
|
6835
6660
|
function Sa(e) {
|
|
6836
|
-
|
|
6837
|
-
|
|
6838
|
-
|
|
6839
|
-
|
|
6840
|
-
|
|
6841
|
-
|
|
6842
|
-
return !e.isHidden;
|
|
6843
|
-
}
|
|
6844
|
-
//#endregion
|
|
6845
|
-
//#region src/lib/components/page-header/index.tsx
|
|
6846
|
-
function Ta(e) {
|
|
6847
|
-
let t = (0, Q.c)(34), { title: n, subtitle: r, backTo: i, onBack: a, actions: o, maxVisibleActions: s, moreActionsLabel: c, icon: l, noMargin: u, thumbnailSrc: d, thumbnailAlt: f } = e, p = Me(), m;
|
|
6848
|
-
t[0] === o ? m = t[1] : (m = !!o && o.some(Ea), t[0] = o, t[1] = m);
|
|
6849
|
-
let h = m, g = u && "mb-0", _;
|
|
6850
|
-
t[2] === g ? _ = t[3] : (_ = me("flex items-center w-full justify-between mb-8 flex-wrap gap-4", g), t[2] = g, t[3] = _);
|
|
6851
|
-
let y;
|
|
6852
|
-
t[4] !== i || t[5] !== p || t[6] !== a ? (y = (i || a) && /* @__PURE__ */ Y(v, {
|
|
6661
|
+
let t = (0, X.c)(35), { title: n, subtitle: r, backTo: i, onBack: a, actions: o, maxVisibleActions: s, moreActionsLabel: l, icon: u, noMargin: d, thumbnailSrc: f, thumbnailAlt: p } = e, m = Fe(), h = c(null), g = xa(h), _;
|
|
6662
|
+
t[0] === o ? _ = t[1] : (_ = !!o && o.some(Ca), t[0] = o, t[1] = _);
|
|
6663
|
+
let v = _, b = d && "mb-0", x;
|
|
6664
|
+
t[2] === b ? x = t[3] : (x = _e("flex items-center w-full justify-between mb-8 flex-wrap gap-4", b), t[2] = b, t[3] = x);
|
|
6665
|
+
let S;
|
|
6666
|
+
t[4] !== i || t[5] !== m || t[6] !== a ? (S = (i || a) && /* @__PURE__ */ q(y, {
|
|
6853
6667
|
variant: "ghost",
|
|
6854
|
-
onPress: () => i ?
|
|
6668
|
+
onPress: () => i ? m(i) : a?.(),
|
|
6855
6669
|
isIconOnly: !0,
|
|
6856
6670
|
"aria-label": "Go back",
|
|
6857
6671
|
className: "mr-4",
|
|
6858
6672
|
"data-cy": "back-button",
|
|
6859
|
-
children: /* @__PURE__ */
|
|
6860
|
-
}), t[4] = i, t[5] =
|
|
6861
|
-
let
|
|
6862
|
-
t[8] !==
|
|
6673
|
+
children: /* @__PURE__ */ q(xe, { className: "w-6 h-6" })
|
|
6674
|
+
}), t[4] = i, t[5] = m, t[6] = a, t[7] = S) : S = t[7];
|
|
6675
|
+
let C;
|
|
6676
|
+
t[8] !== u || t[9] !== p || t[10] !== f ? (C = (u || f) && /* @__PURE__ */ J("div", {
|
|
6863
6677
|
className: "mr-2",
|
|
6864
|
-
children: [
|
|
6678
|
+
children: [u, f && /* @__PURE__ */ q("img", {
|
|
6865
6679
|
className: "object-contain rounded-lg",
|
|
6866
6680
|
height: 48,
|
|
6867
6681
|
width: 48,
|
|
6868
|
-
src:
|
|
6869
|
-
alt:
|
|
6682
|
+
src: f,
|
|
6683
|
+
alt: p
|
|
6870
6684
|
})]
|
|
6871
|
-
}), t[8] =
|
|
6872
|
-
let
|
|
6873
|
-
t[12] ===
|
|
6685
|
+
}), t[8] = u, t[9] = p, t[10] = f, t[11] = C) : C = t[11];
|
|
6686
|
+
let w;
|
|
6687
|
+
t[12] === C ? w = t[13] : (w = /* @__PURE__ */ q("div", {
|
|
6874
6688
|
className: "flex-shrink flex flex-col",
|
|
6875
|
-
children:
|
|
6876
|
-
}), t[12] =
|
|
6877
|
-
let
|
|
6878
|
-
t[14] === n ?
|
|
6689
|
+
children: C
|
|
6690
|
+
}), t[12] = C, t[13] = w);
|
|
6691
|
+
let T;
|
|
6692
|
+
t[14] === n ? T = t[15] : (T = /* @__PURE__ */ q("div", {
|
|
6879
6693
|
className: "flex items-start gap-2 ",
|
|
6880
|
-
children: /* @__PURE__ */
|
|
6694
|
+
children: /* @__PURE__ */ q("h1", {
|
|
6881
6695
|
className: "text-2xl font-semibold tracking-tight break-words",
|
|
6882
6696
|
children: n
|
|
6883
6697
|
})
|
|
6884
|
-
}), t[14] = n, t[15] =
|
|
6885
|
-
let
|
|
6886
|
-
t[16] === r ?
|
|
6698
|
+
}), t[14] = n, t[15] = T);
|
|
6699
|
+
let E;
|
|
6700
|
+
t[16] === r ? E = t[17] : (E = r && q(typeof r == "string" ? "p" : "div", {
|
|
6887
6701
|
className: "mt-1 text-sm text-muted",
|
|
6888
6702
|
children: r
|
|
6889
|
-
}), t[16] = r, t[17] =
|
|
6890
|
-
let
|
|
6891
|
-
t[18] !==
|
|
6703
|
+
}), t[16] = r, t[17] = E);
|
|
6704
|
+
let D;
|
|
6705
|
+
t[18] !== T || t[19] !== E ? (D = /* @__PURE__ */ J("div", {
|
|
6892
6706
|
className: "min-w-0",
|
|
6893
|
-
children: [
|
|
6894
|
-
}), t[18] =
|
|
6895
|
-
let
|
|
6896
|
-
t[21] !==
|
|
6707
|
+
children: [T, E]
|
|
6708
|
+
}), t[18] = T, t[19] = E, t[20] = D) : D = t[20];
|
|
6709
|
+
let O;
|
|
6710
|
+
t[21] !== S || t[22] !== w || t[23] !== D ? (O = /* @__PURE__ */ J("div", {
|
|
6897
6711
|
className: "flex items-center min-w-0",
|
|
6898
6712
|
children: [
|
|
6899
|
-
|
|
6900
|
-
|
|
6901
|
-
|
|
6713
|
+
S,
|
|
6714
|
+
w,
|
|
6715
|
+
D
|
|
6902
6716
|
]
|
|
6903
|
-
}), t[21] =
|
|
6904
|
-
let
|
|
6905
|
-
t[25] !==
|
|
6906
|
-
className: "flex items-center gap-2 flex-wrap",
|
|
6907
|
-
children: /* @__PURE__ */
|
|
6717
|
+
}), t[21] = S, t[22] = w, t[23] = D, t[24] = O) : O = t[24];
|
|
6718
|
+
let k;
|
|
6719
|
+
t[25] !== g || t[26] !== o || t[27] !== v || t[28] !== s || t[29] !== l ? (k = (v || g) && /* @__PURE__ */ J("div", {
|
|
6720
|
+
className: "flex items-center gap-2 flex-wrap empty:hidden",
|
|
6721
|
+
children: [g && /* @__PURE__ */ q(g, {}), v && /* @__PURE__ */ q(_a, {
|
|
6908
6722
|
actions: o,
|
|
6909
6723
|
maxVisible: s,
|
|
6910
|
-
moreLabel:
|
|
6911
|
-
})
|
|
6912
|
-
}), t[25] =
|
|
6913
|
-
let
|
|
6914
|
-
return t[
|
|
6915
|
-
|
|
6916
|
-
|
|
6917
|
-
|
|
6724
|
+
moreLabel: l
|
|
6725
|
+
})]
|
|
6726
|
+
}), t[25] = g, t[26] = o, t[27] = v, t[28] = s, t[29] = l, t[30] = k) : k = t[30];
|
|
6727
|
+
let A;
|
|
6728
|
+
return t[31] !== O || t[32] !== k || t[33] !== x ? (A = /* @__PURE__ */ J("div", {
|
|
6729
|
+
ref: h,
|
|
6730
|
+
className: x,
|
|
6731
|
+
children: [O, k]
|
|
6732
|
+
}), t[31] = O, t[32] = k, t[33] = x, t[34] = A) : A = t[34], A;
|
|
6918
6733
|
}
|
|
6919
|
-
function
|
|
6734
|
+
function Ca(e) {
|
|
6920
6735
|
return !e.isHidden;
|
|
6921
6736
|
}
|
|
6922
|
-
var
|
|
6737
|
+
var wa = {
|
|
6923
6738
|
showPassword: "Show password",
|
|
6924
6739
|
hidePassword: "Hide password"
|
|
6925
|
-
},
|
|
6740
|
+
}, Ta = {
|
|
6926
6741
|
showPassword: "Passwort anzeigen",
|
|
6927
6742
|
hidePassword: "Passwort verbergen"
|
|
6928
|
-
},
|
|
6929
|
-
let t = (0,
|
|
6930
|
-
t[0] === e ? (n = t[1], r = t[2], i = t[3], a = t[4], o = t[5], s = t[6],
|
|
6931
|
-
let [h, g] =
|
|
6743
|
+
}, Ea = (e) => {
|
|
6744
|
+
let t = (0, X.c)(58), n, r, i, a, o, s, c, u, d, f, p, m;
|
|
6745
|
+
t[0] === e ? (n = t[1], r = t[2], i = t[3], a = t[4], o = t[5], s = t[6], c = t[7], u = t[8], d = t[9], f = t[10], p = t[11], m = t[12]) : ({label: c, description: i, errorMessage: a, onValueChange: f, onChange: d, id: s, name: u, required: m, placeholder: p, autoComplete: n, "data-cy": r, ...o} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = i, t[4] = a, t[5] = o, t[6] = s, t[7] = c, t[8] = u, t[9] = d, t[10] = f, t[11] = p, t[12] = m);
|
|
6746
|
+
let [h, g] = l(!1), _;
|
|
6932
6747
|
t[13] === Symbol.for("react.memo_cache_sentinel") ? (_ = {
|
|
6933
|
-
en:
|
|
6934
|
-
de:
|
|
6748
|
+
en: wa,
|
|
6749
|
+
de: Ta
|
|
6935
6750
|
}, t[13] = _) : _ = t[13];
|
|
6936
|
-
let { t:
|
|
6937
|
-
t[14] !== d || t[15] !== f ? (
|
|
6751
|
+
let { t: v } = $(_), b;
|
|
6752
|
+
t[14] !== d || t[15] !== f ? (b = (e) => {
|
|
6938
6753
|
d?.(e), f?.(e);
|
|
6939
|
-
}, t[14] = d, t[15] = f, t[16] =
|
|
6940
|
-
let S =
|
|
6941
|
-
t[17] ===
|
|
6754
|
+
}, t[14] = d, t[15] = f, t[16] = b) : b = t[16];
|
|
6755
|
+
let S = b, C;
|
|
6756
|
+
t[17] === c ? C = t[18] : (C = c && /* @__PURE__ */ q(ee, { children: c }), t[17] = c, t[18] = C);
|
|
6942
6757
|
let w = h ? "text" : "password", T;
|
|
6943
|
-
t[19] !== n || t[20] !== r || t[21] !== s || t[22] !== u || t[23] !== p || t[24] !== m || t[25] !== w ? (T = /* @__PURE__ */
|
|
6758
|
+
t[19] !== n || t[20] !== r || t[21] !== s || t[22] !== u || t[23] !== p || t[24] !== m || t[25] !== w ? (T = /* @__PURE__ */ q(N.Input, {
|
|
6944
6759
|
type: w,
|
|
6945
6760
|
id: s,
|
|
6946
6761
|
name: u,
|
|
@@ -6950,48 +6765,48 @@ var Da = {
|
|
|
6950
6765
|
"data-cy": r
|
|
6951
6766
|
}), t[19] = n, t[20] = r, t[21] = s, t[22] = u, t[23] = p, t[24] = m, t[25] = w, t[26] = T) : T = t[26];
|
|
6952
6767
|
let E;
|
|
6953
|
-
t[27] === Symbol.for("react.memo_cache_sentinel") ? (E = () => g(
|
|
6768
|
+
t[27] === Symbol.for("react.memo_cache_sentinel") ? (E = () => g(Da), t[27] = E) : E = t[27];
|
|
6954
6769
|
let D;
|
|
6955
|
-
t[28] !== h || t[29] !==
|
|
6770
|
+
t[28] !== h || t[29] !== v ? (D = v(h ? "hidePassword" : "showPassword"), t[28] = h, t[29] = v, t[30] = D) : D = t[30];
|
|
6956
6771
|
let O;
|
|
6957
|
-
t[31] === h ? O = t[32] : (O =
|
|
6958
|
-
let
|
|
6959
|
-
t[33] !== D || t[34] !== O ? (
|
|
6772
|
+
t[31] === h ? O = t[32] : (O = q(h ? Te : we, { size: 16 }), t[31] = h, t[32] = O);
|
|
6773
|
+
let k;
|
|
6774
|
+
t[33] !== D || t[34] !== O ? (k = /* @__PURE__ */ q(ge.Trigger, { children: /* @__PURE__ */ q(y, {
|
|
6960
6775
|
variant: "ghost",
|
|
6961
6776
|
isIconOnly: !0,
|
|
6962
6777
|
onPress: E,
|
|
6963
6778
|
"aria-label": D,
|
|
6964
6779
|
"data-cy": "password-input-toggle-button",
|
|
6965
6780
|
children: O
|
|
6966
|
-
}) }), t[33] = D, t[34] = O, t[35] =
|
|
6781
|
+
}) }), t[33] = D, t[34] = O, t[35] = k) : k = t[35];
|
|
6967
6782
|
let j;
|
|
6968
|
-
t[36] !== h || t[37] !==
|
|
6783
|
+
t[36] !== h || t[37] !== v ? (j = v(h ? "hidePassword" : "showPassword"), t[36] = h, t[37] = v, t[38] = j) : j = t[38];
|
|
6784
|
+
let M;
|
|
6785
|
+
t[39] === j ? M = t[40] : (M = /* @__PURE__ */ q(ge.Content, { children: j }), t[39] = j, t[40] = M);
|
|
6969
6786
|
let P;
|
|
6970
|
-
t[
|
|
6787
|
+
t[41] !== M || t[42] !== k ? (P = /* @__PURE__ */ q(N.Suffix, { children: /* @__PURE__ */ J(ge, { children: [k, M] }) }), t[41] = M, t[42] = k, t[43] = P) : P = t[43];
|
|
6971
6788
|
let F;
|
|
6972
|
-
t[
|
|
6789
|
+
t[44] !== P || t[45] !== T ? (F = /* @__PURE__ */ J(N, { children: [T, P] }), t[44] = P, t[45] = T, t[46] = F) : F = t[46];
|
|
6973
6790
|
let I;
|
|
6974
|
-
t[
|
|
6791
|
+
t[47] === i ? I = t[48] : (I = i && /* @__PURE__ */ q(x, { children: i }), t[47] = i, t[48] = I);
|
|
6975
6792
|
let L;
|
|
6976
|
-
t[
|
|
6793
|
+
t[49] === a ? L = t[50] : (L = a && /* @__PURE__ */ q(A, { children: a }), t[49] = a, t[50] = L);
|
|
6977
6794
|
let R;
|
|
6978
|
-
t[
|
|
6979
|
-
let z;
|
|
6980
|
-
return t[51] !== o || t[52] !== S || t[53] !== I || t[54] !== L || t[55] !== R || t[56] !== C ? (z = /* @__PURE__ */ X(fe, {
|
|
6795
|
+
return t[51] !== o || t[52] !== S || t[53] !== F || t[54] !== I || t[55] !== L || t[56] !== C ? (R = /* @__PURE__ */ J(he, {
|
|
6981
6796
|
...o,
|
|
6982
6797
|
onChange: S,
|
|
6983
6798
|
children: [
|
|
6984
6799
|
C,
|
|
6800
|
+
F,
|
|
6985
6801
|
I,
|
|
6986
|
-
L
|
|
6987
|
-
R
|
|
6802
|
+
L
|
|
6988
6803
|
]
|
|
6989
|
-
}), t[51] = o, t[52] = S, t[53] =
|
|
6804
|
+
}), t[51] = o, t[52] = S, t[53] = F, t[54] = I, t[55] = L, t[56] = C, t[57] = R) : R = t[57], R;
|
|
6990
6805
|
};
|
|
6991
|
-
function
|
|
6806
|
+
function Da(e) {
|
|
6992
6807
|
return !e;
|
|
6993
6808
|
}
|
|
6994
|
-
var
|
|
6809
|
+
var Oa = {
|
|
6995
6810
|
add: "Add",
|
|
6996
6811
|
remove: "Remove",
|
|
6997
6812
|
empty: "Enter a value.",
|
|
@@ -7000,7 +6815,7 @@ var ja = {
|
|
|
7000
6815
|
control: "Values cannot contain control characters.",
|
|
7001
6816
|
tooLong: "Values can be at most {{max}} characters long.",
|
|
7002
6817
|
limitReached: "The list can have at most {{max}} entries."
|
|
7003
|
-
},
|
|
6818
|
+
}, ka = {
|
|
7004
6819
|
add: "Hinzufügen",
|
|
7005
6820
|
remove: "Entfernen",
|
|
7006
6821
|
empty: "Bitte einen Wert eingeben.",
|
|
@@ -7009,119 +6824,114 @@ var ja = {
|
|
|
7009
6824
|
control: "Werte dürfen keine Steuerzeichen enthalten.",
|
|
7010
6825
|
tooLong: "Werte dürfen höchstens {{max}} Zeichen lang sein.",
|
|
7011
6826
|
limitReached: "Die Liste darf höchstens {{max}} Einträge haben."
|
|
7012
|
-
},
|
|
7013
|
-
function
|
|
7014
|
-
return n !== void 0 && t.length >= n ? "limitReached" : e.length === 0 ? "empty" : e.includes(",") ? "comma" :
|
|
6827
|
+
}, Aa = /[\u0000-\u001f\u007f]/;
|
|
6828
|
+
function ja(e, t, { maxEntries: n, maxLength: r } = {}) {
|
|
6829
|
+
return n !== void 0 && t.length >= n ? "limitReached" : e.length === 0 ? "empty" : e.includes(",") ? "comma" : Aa.test(e) ? "control" : r !== void 0 && e.length > r ? "tooLong" : t.includes(e) ? "duplicate" : null;
|
|
7015
6830
|
}
|
|
7016
|
-
var
|
|
7017
|
-
let t = (0,
|
|
6831
|
+
var Ma = (e) => {
|
|
6832
|
+
let t = (0, X.c)(66), { label: n, description: r, values: i, onChange: a, placeholder: o, emptyHint: s, maxEntries: u, maxLength: d, isDisabled: f, "data-cy": p } = e, m;
|
|
7018
6833
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (m = {
|
|
7019
|
-
en:
|
|
7020
|
-
de:
|
|
6834
|
+
en: Oa,
|
|
6835
|
+
de: ka
|
|
7021
6836
|
}, t[0] = m) : m = t[0];
|
|
7022
|
-
let { t: h } =
|
|
7023
|
-
t[1] !==
|
|
6837
|
+
let { t: h } = $(m), [g, _] = l(""), [v, b] = l(null), S = c(null), C = c(null), w = u !== void 0 && i.length >= u, T;
|
|
6838
|
+
t[1] !== s || t[2] !== v || t[3] !== w || t[4] !== u || t[5] !== h || t[6] !== i.length ? (T = w ? v ? null : h("limitReached", { max: u }) : i.length === 0 ? s : null, t[1] = s, t[2] = v, t[3] = w, t[4] = u, t[5] = h, t[6] = i.length, t[7] = T) : T = t[7];
|
|
7024
6839
|
let E = T, D;
|
|
7025
6840
|
t[8] !== g || t[9] !== u || t[10] !== d || t[11] !== a || t[12] !== i ? (D = () => {
|
|
7026
|
-
let e = g.trim(), t =
|
|
6841
|
+
let e = g.trim(), t = ja(e, i, {
|
|
7027
6842
|
maxEntries: u,
|
|
7028
6843
|
maxLength: d
|
|
7029
6844
|
});
|
|
7030
|
-
|
|
7031
|
-
x(t);
|
|
7032
|
-
return;
|
|
7033
|
-
}
|
|
7034
|
-
a([...i, e]), _(""), x(null);
|
|
6845
|
+
t ? b(t) : (a([...i, e]), _(""), b(null));
|
|
7035
6846
|
}, t[8] = g, t[9] = u, t[10] = d, t[11] = a, t[12] = i, t[13] = D) : D = t[13];
|
|
7036
|
-
let O = D,
|
|
7037
|
-
t[14] !== a || t[15] !== i ? (
|
|
6847
|
+
let O = D, k;
|
|
6848
|
+
t[14] !== a || t[15] !== i ? (k = (e) => {
|
|
7038
6849
|
let t = i.filter((t, n) => !e.has(String(n)));
|
|
7039
|
-
a(t),
|
|
7040
|
-
}, t[14] = a, t[15] = i, t[16] =
|
|
7041
|
-
let
|
|
7042
|
-
t[17] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
7043
|
-
_(e),
|
|
7044
|
-
}, t[17] =
|
|
7045
|
-
let
|
|
7046
|
-
t[18] === n ?
|
|
6850
|
+
a(t), b(null), t.length === 0 && S.current?.focus();
|
|
6851
|
+
}, t[14] = a, t[15] = i, t[16] = k) : k = t[16];
|
|
6852
|
+
let j = k, N = p ? `${p}-list` : void 0, P;
|
|
6853
|
+
t[17] === Symbol.for("react.memo_cache_sentinel") ? (P = (e) => {
|
|
6854
|
+
_(e), b(null);
|
|
6855
|
+
}, t[17] = P) : P = t[17];
|
|
6856
|
+
let F = v !== null, I;
|
|
6857
|
+
t[18] === n ? I = t[19] : (I = /* @__PURE__ */ q(ee, { children: n }), t[18] = n, t[19] = I);
|
|
6858
|
+
let L;
|
|
6859
|
+
t[20] !== O || t[21] !== g ? (L = (e) => {
|
|
6860
|
+
g.trim() && document.hasFocus() && !C.current?.contains(e.relatedTarget) && O();
|
|
6861
|
+
}, t[20] = O, t[21] = g, t[22] = L) : L = t[22];
|
|
7047
6862
|
let R;
|
|
7048
|
-
t[
|
|
7049
|
-
!g.trim() || !document.hasFocus() || C.current?.contains(e.relatedTarget) || O();
|
|
7050
|
-
}, t[20] = O, t[21] = g, t[22] = R) : R = t[22];
|
|
7051
|
-
let z;
|
|
7052
|
-
t[23] === O ? z = t[24] : (z = (e) => {
|
|
6863
|
+
t[23] === O ? R = t[24] : (R = (e) => {
|
|
7053
6864
|
e.key !== "Enter" || e.nativeEvent.isComposing || (e.preventDefault(), O());
|
|
7054
|
-
}, t[23] = O, t[24] =
|
|
7055
|
-
let
|
|
7056
|
-
t[25] !== p || t[26] !== o || t[27] !==
|
|
6865
|
+
}, t[23] = O, t[24] = R);
|
|
6866
|
+
let te;
|
|
6867
|
+
t[25] !== p || t[26] !== o || t[27] !== R ? (te = /* @__PURE__ */ q(M, {
|
|
7057
6868
|
ref: S,
|
|
7058
6869
|
className: "flex-1",
|
|
7059
6870
|
placeholder: o,
|
|
7060
6871
|
"data-cy": p,
|
|
7061
|
-
onKeyDown:
|
|
7062
|
-
}), t[25] = p, t[26] = o, t[27] =
|
|
7063
|
-
let
|
|
7064
|
-
t[29] === h ?
|
|
7065
|
-
let
|
|
7066
|
-
t[31] !== O || t[32] !==
|
|
6872
|
+
onKeyDown: R
|
|
6873
|
+
}), t[25] = p, t[26] = o, t[27] = R, t[28] = te) : te = t[28];
|
|
6874
|
+
let z = f || w, ne = p && `${p}-add`, B;
|
|
6875
|
+
t[29] === h ? B = t[30] : (B = h("add"), t[29] = h, t[30] = B);
|
|
6876
|
+
let V;
|
|
6877
|
+
t[31] !== O || t[32] !== z || t[33] !== ne || t[34] !== B ? (V = /* @__PURE__ */ q(y, {
|
|
7067
6878
|
variant: "secondary",
|
|
7068
6879
|
onPress: O,
|
|
7069
|
-
isDisabled:
|
|
7070
|
-
"data-cy":
|
|
7071
|
-
children:
|
|
7072
|
-
}), t[31] = O, t[32] =
|
|
7073
|
-
let
|
|
7074
|
-
t[36] !==
|
|
6880
|
+
isDisabled: z,
|
|
6881
|
+
"data-cy": ne,
|
|
6882
|
+
children: B
|
|
6883
|
+
}), t[31] = O, t[32] = z, t[33] = ne, t[34] = B, t[35] = V) : V = t[35];
|
|
6884
|
+
let H;
|
|
6885
|
+
t[36] !== te || t[37] !== V || t[38] !== L ? (H = /* @__PURE__ */ J("div", {
|
|
7075
6886
|
ref: C,
|
|
7076
6887
|
className: "flex gap-2",
|
|
7077
|
-
onBlur:
|
|
7078
|
-
children: [
|
|
7079
|
-
}), t[36] =
|
|
7080
|
-
let
|
|
7081
|
-
t[40] !== r || t[41] !== E ? (
|
|
6888
|
+
onBlur: L,
|
|
6889
|
+
children: [te, V]
|
|
6890
|
+
}), t[36] = te, t[37] = V, t[38] = L, t[39] = H) : H = t[39];
|
|
6891
|
+
let U;
|
|
6892
|
+
t[40] !== r || t[41] !== E ? (U = (r || E) && /* @__PURE__ */ J(x, { children: [r, E && /* @__PURE__ */ q("span", {
|
|
7082
6893
|
className: "block",
|
|
7083
6894
|
children: E
|
|
7084
|
-
})] }), t[40] = r, t[41] = E, t[42] =
|
|
7085
|
-
let
|
|
7086
|
-
t[43] !==
|
|
7087
|
-
let
|
|
7088
|
-
t[48] !== g || t[49] !== f || t[50] !==
|
|
6895
|
+
})] }), t[40] = r, t[41] = E, t[42] = U) : U = t[42];
|
|
6896
|
+
let W;
|
|
6897
|
+
t[43] !== v || t[44] !== u || t[45] !== d || t[46] !== h ? (W = v && /* @__PURE__ */ q(A, { children: h(v, { max: v === "tooLong" ? d : u }) }), t[43] = v, t[44] = u, t[45] = d, t[46] = h, t[47] = W) : W = t[47];
|
|
6898
|
+
let G;
|
|
6899
|
+
t[48] !== g || t[49] !== f || t[50] !== H || t[51] !== U || t[52] !== W || t[53] !== F || t[54] !== I ? (G = /* @__PURE__ */ J(he, {
|
|
7089
6900
|
value: g,
|
|
7090
|
-
onChange:
|
|
6901
|
+
onChange: P,
|
|
7091
6902
|
isDisabled: f,
|
|
7092
|
-
isInvalid:
|
|
6903
|
+
isInvalid: F,
|
|
7093
6904
|
validationBehavior: "aria",
|
|
7094
6905
|
children: [
|
|
7095
|
-
|
|
7096
|
-
|
|
7097
|
-
|
|
7098
|
-
|
|
6906
|
+
I,
|
|
6907
|
+
H,
|
|
6908
|
+
U,
|
|
6909
|
+
W
|
|
7099
6910
|
]
|
|
7100
|
-
}), t[48] = g, t[49] = f, t[50] =
|
|
7101
|
-
let
|
|
7102
|
-
t[56] !== f || t[57] !== n || t[58] !==
|
|
6911
|
+
}), t[48] = g, t[49] = f, t[50] = H, t[51] = U, t[52] = W, t[53] = F, t[54] = I, t[55] = G) : G = t[55];
|
|
6912
|
+
let K;
|
|
6913
|
+
t[56] !== f || t[57] !== n || t[58] !== j || t[59] !== h || t[60] !== i ? (K = i.length > 0 && /* @__PURE__ */ q(me, {
|
|
7103
6914
|
size: "sm",
|
|
7104
6915
|
"aria-label": n,
|
|
7105
|
-
onRemove: f ? void 0 :
|
|
7106
|
-
children: /* @__PURE__ */
|
|
6916
|
+
onRemove: f ? void 0 : j,
|
|
6917
|
+
children: /* @__PURE__ */ q(me.List, { children: i.map((e, t) => /* @__PURE__ */ q(pe, {
|
|
7107
6918
|
id: String(t),
|
|
7108
6919
|
textValue: e,
|
|
7109
6920
|
className: "max-w-full",
|
|
7110
|
-
children: (t) => /* @__PURE__ */
|
|
6921
|
+
children: (t) => /* @__PURE__ */ J(Ne, { children: [/* @__PURE__ */ q("span", {
|
|
7111
6922
|
className: "min-w-0 break-all",
|
|
7112
6923
|
children: e
|
|
7113
|
-
}), t.allowsRemoving ? /* @__PURE__ */
|
|
6924
|
+
}), t.allowsRemoving ? /* @__PURE__ */ q(pe.RemoveButton, {
|
|
7114
6925
|
"aria-label": h("remove"),
|
|
7115
6926
|
className: "shrink-0"
|
|
7116
6927
|
}) : null] })
|
|
7117
6928
|
}, t)) })
|
|
7118
|
-
}), t[56] = f, t[57] = n, t[58] =
|
|
7119
|
-
let
|
|
7120
|
-
return t[62] !==
|
|
6929
|
+
}), t[56] = f, t[57] = n, t[58] = j, t[59] = h, t[60] = i, t[61] = K) : K = t[61];
|
|
6930
|
+
let re;
|
|
6931
|
+
return t[62] !== G || t[63] !== K || t[64] !== N ? (re = /* @__PURE__ */ J("div", {
|
|
7121
6932
|
className: "flex flex-col gap-2",
|
|
7122
|
-
"data-cy":
|
|
7123
|
-
children: [
|
|
7124
|
-
}), t[62] =
|
|
6933
|
+
"data-cy": N,
|
|
6934
|
+
children: [G, K]
|
|
6935
|
+
}), t[62] = G, t[63] = K, t[64] = N, t[65] = re) : re = t[65], re;
|
|
7125
6936
|
};
|
|
7126
|
-
|
|
7127
|
-
export { Zi as AlertStatusIcon, mi as AttraccessUser, ui as AttraccessUserActionsProvider, sa as Button, Ti as DateTimeDisplay, ha as DeleteConfirmationModal, Ei as DurationDisplay, Qi as EmptyState, Ar as I18N_LANGUAGE_STORAGE_KEY, Yi as I18nTransComponent, $i as LabeledSwitch, Vi as ListboxWrapper, Ta as PageHeader, ba as PageHeaderActions, ka as PasswordInput, Hi as ResourceSelector, aa as StandardDrawer, Oi as StandardModal, oa as StatusAlert, fa as StatusDialog, Fa as StringListField, na as TableDataLoadingIndicator, Ri as UserSearch, Fr as detectAndSetLanguage, Pr as detectLanguage, Nr as detectPreferredLanguage, di as useAttraccessUserActions, yi as useDateTimeFormatter, _i as useDateTimeLocale, gi as useDateTimePreferences, hi as useDebounce, bi as useFormatDateTime, wi as useFormatNumber, xi as useFormatedDuration, Ci as useNumberFormatter, jr as useTranslationState, Mr as useTranslations, Si as useUrlQuery, Pa as validateStringListEntry };
|
|
6937
|
+
export { Ji as AlertStatusIcon, hi as AttraccessUser, di as AttraccessUserActionsProvider, ia as Button, Ei as DateTimeDisplay, fa as DeleteConfirmationModal, Di as DurationDisplay, Yi as EmptyState, Mr as I18N_LANGUAGE_STORAGE_KEY, Ki as I18nTransComponent, Xi as LabeledSwitch, Hi as ListboxWrapper, Sa as PageHeader, ba as PageHeaderAccessoryProvider, _a as PageHeaderActions, Ea as PasswordInput, Ui as ResourceSelector, na as StandardDrawer, ki as StandardModal, ra as StatusAlert, la as StatusDialog, Ma as StringListField, $i as TableDataLoadingIndicator, zi as UserSearch, Ir as detectAndSetLanguage, Fr as detectLanguage, Pr as detectPreferredLanguage, fi as useAttraccessUserActions, bi as useDateTimeFormatter, vi as useDateTimeLocale, _i as useDateTimePreferences, gi as useDebounce, xi as useFormatDateTime, Ti as useFormatNumber, Si as useFormatedDuration, wi as useNumberFormatter, Nr as useTranslationState, $ as useTranslations, Ci as useUrlQuery, ja as validateStringListEntry };
|