@attraccess/plugins-frontend-ui 1.11.0-beta.2 → 1.11.0-beta.3
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/LICENSE.md +8 -2
- package/index.js +604 -539
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { Alert as u, AlertContent as d, AlertDescription as f, AlertDialog as p,
|
|
|
3
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
4
|
import { Fragment as Ne, jsx as q, jsxs as J } from "react/jsx-runtime";
|
|
5
5
|
import { useLocation as Pe, useNavigate as Fe } from "react-router-dom";
|
|
6
|
-
import {
|
|
6
|
+
import { useFindManyInfinite as Ie, useGetAllResources as Le } from "@attraccess/react-query-client";
|
|
7
7
|
import { buttonVariants as Re } from "@heroui/styles";
|
|
8
8
|
// \0rolldown/runtime.js
|
|
9
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) => {
|
|
@@ -61,7 +61,7 @@ function Qe(e) {
|
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
new TextEncoder();
|
|
64
|
-
// ../../node_modules/.pnpm/handlebars@4.7.
|
|
64
|
+
// ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/utils.js
|
|
65
65
|
var Z = /* @__PURE__ */ Y(((e) => {
|
|
66
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;
|
|
67
67
|
var t = {
|
|
@@ -99,7 +99,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
99
99
|
}
|
|
100
100
|
function u(e) {
|
|
101
101
|
if (typeof e != "string") {
|
|
102
|
-
if (e && e.toHTML) return e.toHTML();
|
|
102
|
+
if (e && typeof e.toHTML == "function") return e.toHTML();
|
|
103
103
|
if (e == null) return "";
|
|
104
104
|
if (!e) return e + "";
|
|
105
105
|
e = "" + e;
|
|
@@ -133,7 +133,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
133
133
|
];
|
|
134
134
|
function r(e, t) {
|
|
135
135
|
var i = t && t.loc, a = void 0, o = void 0, s = void 0, c = void 0;
|
|
136
|
-
i && (a = i.start.line,
|
|
136
|
+
i && i.start && (a = i.start.line, s = i.start.column, i.end && (o = i.end.line, c = i.end.column), e += " - " + a + ":" + s);
|
|
137
137
|
for (var l = Error.prototype.constructor.call(this, e), u = 0; u < n.length; u++) this[n[u]] = l[n[u]];
|
|
138
138
|
/* istanbul ignore else */
|
|
139
139
|
Error.captureStackTrace && Error.captureStackTrace(this, r);
|
|
@@ -171,31 +171,42 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
171
171
|
return e && e.__esModule ? e : { default: e };
|
|
172
172
|
}
|
|
173
173
|
var r = Z(), i = n(Q());
|
|
174
|
+
function a(e) {
|
|
175
|
+
try {
|
|
176
|
+
var t = e.return;
|
|
177
|
+
r.isFunction(t) && t.call(e);
|
|
178
|
+
} catch {}
|
|
179
|
+
}
|
|
174
180
|
e.default = function(e) {
|
|
175
181
|
e.registerHelper("each", function(e, t) {
|
|
176
182
|
if (!t) throw new i.default("Must pass iterator to #each");
|
|
177
|
-
var n = t.fn,
|
|
178
|
-
t.data && t.ids && (
|
|
179
|
-
function
|
|
180
|
-
|
|
181
|
-
data:
|
|
182
|
-
blockParams: r.blockParams([
|
|
183
|
+
var n = t.fn, o = t.inverse, s = 0, c = "", l = void 0, u = void 0;
|
|
184
|
+
t.data && t.ids && (u = r.appendContextPath(t.data.contextPath, t.ids[0]) + "."), r.isFunction(e) && (e = e.call(this)), t.data && (l = r.createFrame(t.data));
|
|
185
|
+
function d(e, t, i, a) {
|
|
186
|
+
l && (l.key = e, l.index = t, l.first = t === 0, l.last = !!i, u && (l.contextPath = u + e)), c += n(a, {
|
|
187
|
+
data: l,
|
|
188
|
+
blockParams: r.blockParams([a, e], [u + e, null])
|
|
183
189
|
});
|
|
184
190
|
}
|
|
185
191
|
if (e && typeof e == "object") {
|
|
186
|
-
if (r.isArray(e)) for (var
|
|
187
|
-
else if (typeof Symbol == "function" && e[Symbol.iterator]) {
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
+
if (r.isArray(e)) for (var f = e.length; s < f; s++) s in e && d(s, s, s === e.length - 1, e[s]);
|
|
193
|
+
else if (typeof Symbol == "function" && e[Symbol.iterator]) for (var p = e[Symbol.iterator](), m = p.next(); !m.done;) {
|
|
194
|
+
var h = p.next();
|
|
195
|
+
try {
|
|
196
|
+
d(s, s, h.done, m.value);
|
|
197
|
+
} catch (e) {
|
|
198
|
+
throw h.done || a(p), e;
|
|
199
|
+
}
|
|
200
|
+
m = h, s++;
|
|
201
|
+
}
|
|
202
|
+
else (function() {
|
|
192
203
|
var t = void 0;
|
|
193
|
-
Object.keys(e).forEach(function(
|
|
194
|
-
t !== void 0 &&
|
|
195
|
-
}), t !== void 0 &&
|
|
204
|
+
Object.keys(e).forEach(function(n) {
|
|
205
|
+
t !== void 0 && d(t, s - 1, !1, e[t]), t = n, s++;
|
|
206
|
+
}), t !== void 0 && d(t, s - 1, !0, e[t]);
|
|
196
207
|
})();
|
|
197
208
|
}
|
|
198
|
-
return
|
|
209
|
+
return s === 0 && (c = o(this)), c;
|
|
199
210
|
});
|
|
200
211
|
}, t.exports = e.default;
|
|
201
212
|
})), tt = /* @__PURE__ */ Y(((e, t) => {
|
|
@@ -329,7 +340,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
329
340
|
};
|
|
330
341
|
e.default = r, t.exports = e.default;
|
|
331
342
|
})), ut = /* @__PURE__ */ Y(((e) => {
|
|
332
|
-
e.__esModule = !0, e.createProtoAccessControl = a, e.resultIsAllowed = o, e.resetLoggedProperties =
|
|
343
|
+
e.__esModule = !0, e.createProtoAccessControl = a, e.resultIsAllowed = o, e.isPrototypeConstructor = s, e.resetLoggedProperties = u;
|
|
333
344
|
// istanbul ignore next
|
|
334
345
|
function t(e) {
|
|
335
346
|
return e && e.__esModule ? e : { default: e };
|
|
@@ -351,15 +362,18 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
351
362
|
};
|
|
352
363
|
}
|
|
353
364
|
function o(e, t, n) {
|
|
354
|
-
return
|
|
365
|
+
return c(typeof e == "function" ? t.methods : t.properties, n);
|
|
355
366
|
}
|
|
356
|
-
function s(e, t) {
|
|
357
|
-
return
|
|
367
|
+
function s(e, t, n) {
|
|
368
|
+
return t === "constructor" && typeof n == "function" && e === n.prototype;
|
|
358
369
|
}
|
|
359
|
-
function c(e) {
|
|
370
|
+
function c(e, t) {
|
|
371
|
+
return e.whitelist[t] === void 0 ? e.defaultValue === void 0 ? (l(t), !1) : e.defaultValue : e.whitelist[t] === !0;
|
|
372
|
+
}
|
|
373
|
+
function l(e) {
|
|
360
374
|
i[e] !== !0 && (i[e] = !0, r.default.log("error", "Handlebars: Access has been denied to resolve the property \"" + e + "\" because it is not an \"own property\" of its parent.\nYou can add a runtime option to disable the check or this warning:\nSee https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details"));
|
|
361
375
|
}
|
|
362
|
-
function
|
|
376
|
+
function u() {
|
|
363
377
|
Object.keys(i).forEach(function(e) {
|
|
364
378
|
delete i[e];
|
|
365
379
|
});
|
|
@@ -371,7 +385,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
371
385
|
return e && e.__esModule ? e : { default: e };
|
|
372
386
|
}
|
|
373
387
|
var n = Z(), r = t(Q()), i = ot(), a = ct(), o = t(lt()), s = ut();
|
|
374
|
-
e.VERSION = "4.7.
|
|
388
|
+
e.VERSION = "4.7.10", e.COMPILER_REVISION = 8, e.LAST_COMPATIBLE_COMPILER_REVISION = 7, e.REVISION_CHANGES = {
|
|
375
389
|
1: "<= 1.0.rc.2",
|
|
376
390
|
2: "== 1.0.0-rc.3",
|
|
377
391
|
3: "== 1.0.0-rc.4",
|
|
@@ -470,7 +484,12 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
470
484
|
function a(n, a, o) {
|
|
471
485
|
o.hash && (a = r.extend({}, a, o.hash), o.ids && (o.ids[0] = !0)), n = t.VM.resolvePartial.call(this, n, a, o), o.hooks = this.hooks, o.protoAccessControl = this.protoAccessControl;
|
|
472
486
|
var s = t.VM.invokePartial.call(this, n, a, o);
|
|
473
|
-
if (s == null &&
|
|
487
|
+
if (s == null && r.isFunction(n)) throw new i.default("The partial " + o.name + " returned no output: partials must return a string");
|
|
488
|
+
if (s == null && t.compile) {
|
|
489
|
+
if (typeof n != "string") throw new i.default("The partial " + o.name + " could not be compiled: partials must be strings or functions returning strings");
|
|
490
|
+
o.partials[o.name] = t.compile(n, e.compilerOptions, t), s = o.partials[o.name](a, o);
|
|
491
|
+
}
|
|
492
|
+
if (s != null) {
|
|
474
493
|
if (o.indent) {
|
|
475
494
|
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];
|
|
476
495
|
s = c.join("\n");
|
|
@@ -486,7 +505,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
486
505
|
},
|
|
487
506
|
lookupProperty: function(e, t) {
|
|
488
507
|
var n = e[t];
|
|
489
|
-
if (n == null || Object.prototype.hasOwnProperty.call(e, t) || c.resultIsAllowed(n, s.protoAccessControl, t)) return n;
|
|
508
|
+
if (n == null || Object.prototype.hasOwnProperty.call(e, t) && !c.isPrototypeConstructor(e, t, n) || c.resultIsAllowed(n, s.protoAccessControl, t)) return n;
|
|
490
509
|
},
|
|
491
510
|
lookup: function(e, t) {
|
|
492
511
|
for (var n = e.length, r = 0; r < n; r++) {
|
|
@@ -552,7 +571,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
552
571
|
return s = _(n, s, e, o, r, a), s.program = t, s.depth = o ? o.length : 0, s.blockParams = i || 0, s;
|
|
553
572
|
}
|
|
554
573
|
function f(e, t, n) {
|
|
555
|
-
return e ?
|
|
574
|
+
return e ? typeof e != "function" && !n.name && (n.name = e, e = h(n.partials, e)) : e = n.name === "@partial-block" ? h(n.data, "partial-block") : h(n.partials, n.name), e;
|
|
556
575
|
}
|
|
557
576
|
function p(e, t, n) {
|
|
558
577
|
var o = h(n.data, "partial-block");
|
|
@@ -2931,23 +2950,47 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
2931
2950
|
}
|
|
2932
2951
|
return t.prototype = e, e.Parser = t, new t();
|
|
2933
2952
|
})(), t.exports = e.default;
|
|
2934
|
-
})), yt = /* @__PURE__ */ Y(((e
|
|
2953
|
+
})), yt = /* @__PURE__ */ Y(((e) => {
|
|
2954
|
+
e.__esModule = !0, e.NODE_TYPES = [
|
|
2955
|
+
"Program",
|
|
2956
|
+
"BlockStatement",
|
|
2957
|
+
"DecoratorBlock",
|
|
2958
|
+
"PartialStatement",
|
|
2959
|
+
"PartialBlockStatement",
|
|
2960
|
+
"Decorator",
|
|
2961
|
+
"MustacheStatement",
|
|
2962
|
+
"ContentStatement",
|
|
2963
|
+
"CommentStatement",
|
|
2964
|
+
"SubExpression",
|
|
2965
|
+
"PathExpression",
|
|
2966
|
+
"StringLiteral",
|
|
2967
|
+
"NumberLiteral",
|
|
2968
|
+
"BooleanLiteral",
|
|
2969
|
+
"UndefinedLiteral",
|
|
2970
|
+
"NullLiteral",
|
|
2971
|
+
"Hash",
|
|
2972
|
+
"HashPair"
|
|
2973
|
+
];
|
|
2974
|
+
})), bt = /* @__PURE__ */ Y(((e, t) => {
|
|
2935
2975
|
e.__esModule = !0;
|
|
2936
2976
|
// istanbul ignore next
|
|
2937
2977
|
function n(e) {
|
|
2938
2978
|
return e && e.__esModule ? e : { default: e };
|
|
2939
2979
|
}
|
|
2940
|
-
var r = n(Q());
|
|
2941
|
-
function
|
|
2980
|
+
var r = n(Q()), i = Z(), a = yt();
|
|
2981
|
+
function o() {
|
|
2942
2982
|
this.parents = [];
|
|
2943
2983
|
}
|
|
2944
|
-
|
|
2945
|
-
|
|
2984
|
+
function s(e, t) {
|
|
2985
|
+
return i.indexOf(a.NODE_TYPES, t) !== -1 || !(t in o.prototype) && typeof e[t] == "function";
|
|
2986
|
+
}
|
|
2987
|
+
o.prototype = {
|
|
2988
|
+
constructor: o,
|
|
2946
2989
|
mutating: !1,
|
|
2947
2990
|
acceptKey: function(e, t) {
|
|
2948
2991
|
var n = this.accept(e[t]);
|
|
2949
2992
|
if (this.mutating) {
|
|
2950
|
-
if (n && !
|
|
2993
|
+
if (n && !s(this, n.type)) throw new r.default("Unexpected node type \"" + n.type + "\" found when accepting " + t + " on " + e.type);
|
|
2951
2994
|
e[t] = n;
|
|
2952
2995
|
}
|
|
2953
2996
|
},
|
|
@@ -2959,8 +3002,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
2959
3002
|
},
|
|
2960
3003
|
accept: function(e) {
|
|
2961
3004
|
if (e) {
|
|
2962
|
-
|
|
2963
|
-
if (!this[e.type]) throw new r.default("Unknown type: " + e.type, e);
|
|
3005
|
+
if (!s(this, e.type) || !this[e.type]) throw new r.default("Unknown type: " + e.type, e);
|
|
2964
3006
|
this.current && this.parents.unshift(this.current), this.current = e;
|
|
2965
3007
|
var t = this[e.type](e);
|
|
2966
3008
|
if (this.current = this.parents.shift(), !this.mutating || t) return t;
|
|
@@ -2970,17 +3012,17 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
2970
3012
|
Program: function(e) {
|
|
2971
3013
|
this.acceptArray(e.body);
|
|
2972
3014
|
},
|
|
2973
|
-
MustacheStatement:
|
|
2974
|
-
Decorator:
|
|
2975
|
-
BlockStatement:
|
|
2976
|
-
DecoratorBlock:
|
|
2977
|
-
PartialStatement:
|
|
3015
|
+
MustacheStatement: c,
|
|
3016
|
+
Decorator: c,
|
|
3017
|
+
BlockStatement: l,
|
|
3018
|
+
DecoratorBlock: l,
|
|
3019
|
+
PartialStatement: u,
|
|
2978
3020
|
PartialBlockStatement: function(e) {
|
|
2979
|
-
|
|
3021
|
+
u.call(this, e), this.acceptKey(e, "program");
|
|
2980
3022
|
},
|
|
2981
3023
|
ContentStatement: function() {},
|
|
2982
3024
|
CommentStatement: function() {},
|
|
2983
|
-
SubExpression:
|
|
3025
|
+
SubExpression: c,
|
|
2984
3026
|
PathExpression: function() {},
|
|
2985
3027
|
StringLiteral: function() {},
|
|
2986
3028
|
NumberLiteral: function() {},
|
|
@@ -2994,23 +3036,23 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
2994
3036
|
this.acceptRequired(e, "value");
|
|
2995
3037
|
}
|
|
2996
3038
|
};
|
|
2997
|
-
function
|
|
3039
|
+
function c(e) {
|
|
2998
3040
|
this.acceptRequired(e, "path"), this.acceptArray(e.params), this.acceptKey(e, "hash");
|
|
2999
3041
|
}
|
|
3000
|
-
function
|
|
3001
|
-
|
|
3042
|
+
function l(e) {
|
|
3043
|
+
c.call(this, e), this.acceptKey(e, "program"), this.acceptKey(e, "inverse");
|
|
3002
3044
|
}
|
|
3003
|
-
function
|
|
3045
|
+
function u(e) {
|
|
3004
3046
|
this.acceptRequired(e, "name"), this.acceptArray(e.params), this.acceptKey(e, "hash");
|
|
3005
3047
|
}
|
|
3006
|
-
e.default =
|
|
3007
|
-
})),
|
|
3048
|
+
e.default = o, t.exports = e.default;
|
|
3049
|
+
})), xt = /* @__PURE__ */ Y(((e, t) => {
|
|
3008
3050
|
e.__esModule = !0;
|
|
3009
3051
|
// istanbul ignore next
|
|
3010
3052
|
function n(e) {
|
|
3011
3053
|
return e && e.__esModule ? e : { default: e };
|
|
3012
3054
|
}
|
|
3013
|
-
var r = n(
|
|
3055
|
+
var r = n(bt());
|
|
3014
3056
|
function i() {
|
|
3015
3057
|
var e = arguments.length <= 0 || arguments[0] === void 0 ? {} : arguments[0];
|
|
3016
3058
|
this.options = e;
|
|
@@ -3022,7 +3064,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3022
3064
|
var u = r[i], d = this.accept(u);
|
|
3023
3065
|
if (d) {
|
|
3024
3066
|
var f = a(r, i, n), p = o(r, i, n), m = d.openStandalone && f, h = d.closeStandalone && p, g = d.inlineStandalone && f && p;
|
|
3025
|
-
d.close && s(r, i, !0), d.open && c(r, i, !0), t && g && (s(r, i), c(r, i) && u.type === "PartialStatement" && (u.indent = /([ \t]
|
|
3067
|
+
d.close && s(r, i, !0), d.open && c(r, i, !0), t && g && (s(r, i), c(r, i) && u.type === "PartialStatement" && (u.indent = /(?:^|[^ \t])([ \t]+)$/.exec(r[i - 1].original)[1])), t && m && (s((u.program || u.inverse).body), c(r, i)), t && h && (s(r, i), c((u.inverse || u.program).body));
|
|
3026
3068
|
}
|
|
3027
3069
|
}
|
|
3028
3070
|
return e;
|
|
@@ -3056,7 +3098,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3056
3098
|
t === void 0 && (t = e.length);
|
|
3057
3099
|
var r = e[t - 1], i = e[t - 2];
|
|
3058
3100
|
if (!r) return n;
|
|
3059
|
-
if (r.type === "ContentStatement") return (i || !n ?
|
|
3101
|
+
if (r.type === "ContentStatement") return (i || !n ? /(?:^|\S)[^\S\n]*\n\s*$/ : /^\s*$|(?:^|\S)[^\S\n]*\n\s*$/).test(r.original);
|
|
3060
3102
|
}
|
|
3061
3103
|
function o(e, t, n) {
|
|
3062
3104
|
t === void 0 && (t = -1);
|
|
@@ -3075,11 +3117,11 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3075
3117
|
var r = e[t == null ? e.length - 1 : t - 1];
|
|
3076
3118
|
if (!(!r || r.type !== "ContentStatement" || !n && r.leftStripped)) {
|
|
3077
3119
|
var i = r.value;
|
|
3078
|
-
return r.value = r.value.replace(n ?
|
|
3120
|
+
return r.value = r.value.replace(n ? /(^|\S)\s+$/ : /(^|[^ \t])[ \t]+$/, "$1"), r.leftStripped = r.value !== i, r.leftStripped;
|
|
3079
3121
|
}
|
|
3080
3122
|
}
|
|
3081
3123
|
e.default = i, t.exports = e.default;
|
|
3082
|
-
})),
|
|
3124
|
+
})), St = /* @__PURE__ */ Y(((e) => {
|
|
3083
3125
|
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;
|
|
3084
3126
|
// istanbul ignore next
|
|
3085
3127
|
function t(e) {
|
|
@@ -3220,8 +3262,8 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3220
3262
|
loc: this.locInfo(i)
|
|
3221
3263
|
};
|
|
3222
3264
|
}
|
|
3223
|
-
})),
|
|
3224
|
-
e.__esModule = !0, e.parseWithoutProcessing =
|
|
3265
|
+
})), Ct = /* @__PURE__ */ Y(((e) => {
|
|
3266
|
+
e.__esModule = !0, e.parseWithoutProcessing = c, e.parse = l;
|
|
3225
3267
|
// istanbul ignore next
|
|
3226
3268
|
function t(e) {
|
|
3227
3269
|
if (e && e.__esModule) return e;
|
|
@@ -3233,58 +3275,35 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3233
3275
|
function n(e) {
|
|
3234
3276
|
return e && e.__esModule ? e : { default: e };
|
|
3235
3277
|
}
|
|
3236
|
-
var r = n(vt()), i = n(
|
|
3278
|
+
var r = n(vt()), i = n(xt()), a = t(St()), o = Z();
|
|
3237
3279
|
e.parser = r.default;
|
|
3238
|
-
var
|
|
3239
|
-
|
|
3240
|
-
function
|
|
3241
|
-
return e.type === "Program" ?
|
|
3242
|
-
return new
|
|
3280
|
+
var s = {};
|
|
3281
|
+
o.extend(s, a);
|
|
3282
|
+
function c(e, t) {
|
|
3283
|
+
return e.type === "Program" ? e : (r.default.yy = s, s.locInfo = function(e) {
|
|
3284
|
+
return new s.SourceLocation(t && t.srcName, e);
|
|
3243
3285
|
}, r.default.parse(e));
|
|
3244
3286
|
}
|
|
3245
|
-
function
|
|
3246
|
-
var n =
|
|
3287
|
+
function l(e, t) {
|
|
3288
|
+
var n = c(e, t);
|
|
3247
3289
|
return new i.default(t).accept(n);
|
|
3248
3290
|
}
|
|
3249
|
-
|
|
3250
|
-
|
|
3251
|
-
}
|
|
3252
|
-
function f(e) {
|
|
3253
|
-
if (e != null) {
|
|
3254
|
-
if (Array.isArray(e)) e.forEach(f);
|
|
3255
|
-
else if (typeof e == "object") {
|
|
3256
|
-
if (e.type === "PathExpression") {
|
|
3257
|
-
if (!p(e.depth)) throw new o.default("Invalid AST: PathExpression.depth must be an integer");
|
|
3258
|
-
if (!Array.isArray(e.parts)) throw new o.default("Invalid AST: PathExpression.parts must be an array");
|
|
3259
|
-
for (var t = 0; t < e.parts.length; t++) if (typeof e.parts[t] != "string") throw new o.default("Invalid AST: PathExpression.parts must only contain strings");
|
|
3260
|
-
} else if (e.type === "NumberLiteral") {
|
|
3261
|
-
if (typeof e.value != "number" || !isFinite(e.value)) throw new o.default("Invalid AST: NumberLiteral.value must be a number");
|
|
3262
|
-
} else if (e.type === "BooleanLiteral" && typeof e.value != "boolean") throw new o.default("Invalid AST: BooleanLiteral.value must be a boolean");
|
|
3263
|
-
Object.keys(e).forEach(function(t) {
|
|
3264
|
-
t !== "loc" && f(e[t]);
|
|
3265
|
-
});
|
|
3266
|
-
}
|
|
3267
|
-
}
|
|
3268
|
-
}
|
|
3269
|
-
function p(e) {
|
|
3270
|
-
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && e >= 0;
|
|
3271
|
-
}
|
|
3272
|
-
})), Ct = /* @__PURE__ */ Y(((e) => {
|
|
3273
|
-
e.__esModule = !0, e.Compiler = o, e.precompile = s, e.compile = c;
|
|
3291
|
+
})), wt = /* @__PURE__ */ Y(((e) => {
|
|
3292
|
+
e.__esModule = !0, e.Compiler = s, e.precompile = c, e.compile = l;
|
|
3274
3293
|
// istanbul ignore next
|
|
3275
3294
|
function t(e) {
|
|
3276
3295
|
return e && e.__esModule ? e : { default: e };
|
|
3277
3296
|
}
|
|
3278
|
-
var n = t(Q()), r = Z(), i = t(_t()), a = [].slice;
|
|
3279
|
-
function
|
|
3280
|
-
|
|
3281
|
-
compiler:
|
|
3297
|
+
var n = t(Q()), r = Z(), i = t(_t()), a = yt(), o = [].slice;
|
|
3298
|
+
function s() {}
|
|
3299
|
+
s.prototype = {
|
|
3300
|
+
compiler: s,
|
|
3282
3301
|
equals: function(e) {
|
|
3283
3302
|
var t = this.opcodes.length;
|
|
3284
3303
|
if (e.opcodes.length !== t) return !1;
|
|
3285
3304
|
for (var n = 0; n < t; n++) {
|
|
3286
3305
|
var r = this.opcodes[n], i = e.opcodes[n];
|
|
3287
|
-
if (r.opcode !== i.opcode || !
|
|
3306
|
+
if (r.opcode !== i.opcode || !g(r.args, i.args)) return !1;
|
|
3288
3307
|
}
|
|
3289
3308
|
t = this.children.length;
|
|
3290
3309
|
for (var n = 0; n < t; n++) if (!this.children[n].equals(e.children[n])) return !1;
|
|
@@ -3308,19 +3327,18 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3308
3327
|
return this.usePartial = this.usePartial || t.usePartial, this.children[n] = t, this.useDepths = this.useDepths || t.useDepths, n;
|
|
3309
3328
|
},
|
|
3310
3329
|
accept: function(e) {
|
|
3311
|
-
|
|
3312
|
-
if (!this[e.type]) throw new n.default("Unknown type: " + e.type, e);
|
|
3330
|
+
if (r.indexOf(a.NODE_TYPES, e.type) === -1 || !this[e.type]) throw new n.default("Unknown type: " + e.type, e);
|
|
3313
3331
|
this.sourceNode.unshift(e);
|
|
3314
3332
|
var t = this[e.type](e);
|
|
3315
3333
|
return this.sourceNode.shift(), t;
|
|
3316
3334
|
},
|
|
3317
3335
|
Program: function(e) {
|
|
3318
|
-
this.options.blockParams.unshift(e.blockParams);
|
|
3336
|
+
h(e), this.options.blockParams.unshift(e.blockParams);
|
|
3319
3337
|
for (var t = e.body, n = t.length, r = 0; r < n; r++) this.accept(t[r]);
|
|
3320
3338
|
return this.options.blockParams.shift(), this.isSimple = n === 1, this.blockParams = e.blockParams ? e.blockParams.length : 0, this;
|
|
3321
3339
|
},
|
|
3322
3340
|
BlockStatement: function(e) {
|
|
3323
|
-
|
|
3341
|
+
_(e);
|
|
3324
3342
|
var t = e.program, n = e.inverse;
|
|
3325
3343
|
t &&= this.compileProgram(t), n &&= this.compileProgram(n);
|
|
3326
3344
|
var r = this.classifySexpr(e);
|
|
@@ -3356,17 +3374,18 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3356
3374
|
this.DecoratorBlock(e);
|
|
3357
3375
|
},
|
|
3358
3376
|
ContentStatement: function(e) {
|
|
3377
|
+
if (e.value != null && typeof e.value != "string") throw u(e, "value must be a string");
|
|
3359
3378
|
e.value && this.opcode("appendContent", e.value);
|
|
3360
3379
|
},
|
|
3361
3380
|
CommentStatement: function() {},
|
|
3362
3381
|
SubExpression: function(e) {
|
|
3363
|
-
|
|
3382
|
+
_(e);
|
|
3364
3383
|
var t = this.classifySexpr(e);
|
|
3365
3384
|
t === "simple" ? this.simpleSexpr(e) : t === "helper" ? this.helperSexpr(e) : this.ambiguousSexpr(e);
|
|
3366
3385
|
},
|
|
3367
3386
|
ambiguousSexpr: function(e, t, n) {
|
|
3368
3387
|
var r = e.path, i = r.parts[0], a = t != null || n != null;
|
|
3369
|
-
this.opcode("getContext", r
|
|
3388
|
+
this.opcode("getContext", d(r)), this.opcode("pushProgram", t), this.opcode("pushProgram", n), r.strict = !0, this.accept(r), this.opcode("invokeAmbiguous", i, a);
|
|
3370
3389
|
},
|
|
3371
3390
|
simpleSexpr: function(e) {
|
|
3372
3391
|
var t = e.path;
|
|
@@ -3379,18 +3398,19 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3379
3398
|
else o.strict = !0, o.falsy = !0, this.accept(o), this.opcode("invokeHelper", a.length, o.original, i.default.helpers.simpleId(o));
|
|
3380
3399
|
},
|
|
3381
3400
|
PathExpression: function(e) {
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3401
|
+
var t = d(e), n = m(e);
|
|
3402
|
+
this.addDepth(t), this.opcode("getContext", t);
|
|
3403
|
+
var r = n[0], a = i.default.helpers.scopedId(e), o = !t && !a && this.blockParamIndex(r);
|
|
3404
|
+
o ? this.opcode("lookupBlockParam", o, n) : r ? e.data ? (this.options.data = !0, this.opcode("lookupData", t, n, e.strict)) : this.opcode("lookupOnContext", n, e.falsy, e.strict, a) : this.opcode("pushContext");
|
|
3385
3405
|
},
|
|
3386
3406
|
StringLiteral: function(e) {
|
|
3387
|
-
this.opcode("pushString", e.value);
|
|
3407
|
+
f(e), this.opcode("pushString", e.value);
|
|
3388
3408
|
},
|
|
3389
3409
|
NumberLiteral: function(e) {
|
|
3390
|
-
this.opcode("pushLiteral", e.value);
|
|
3410
|
+
f(e), this.opcode("pushLiteral", e.value);
|
|
3391
3411
|
},
|
|
3392
3412
|
BooleanLiteral: function(e) {
|
|
3393
|
-
this.opcode("pushLiteral", e.value);
|
|
3413
|
+
f(e), this.opcode("pushLiteral", e.value);
|
|
3394
3414
|
},
|
|
3395
3415
|
UndefinedLiteral: function() {
|
|
3396
3416
|
this.opcode("pushLiteral", "undefined");
|
|
@@ -3399,15 +3419,18 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3399
3419
|
this.opcode("pushLiteral", "null");
|
|
3400
3420
|
},
|
|
3401
3421
|
Hash: function(e) {
|
|
3402
|
-
var t = e.pairs, n = 0,
|
|
3403
|
-
|
|
3422
|
+
var t = e.pairs, n = 0, i = void 0;
|
|
3423
|
+
if (!r.isArray(t)) throw u(e, "pairs must be an array");
|
|
3424
|
+
i = t.length;
|
|
3425
|
+
for (var a = 0; a < i; a++) if (!t[a] || typeof t[a].key != "string") throw u(e, "pair keys must be strings");
|
|
3426
|
+
for (this.opcode("pushHash"); n < i; n++) this.pushParam(t[n].value);
|
|
3404
3427
|
for (; n--;) this.opcode("assignToHash", t[n].key);
|
|
3405
3428
|
this.opcode("popHash");
|
|
3406
3429
|
},
|
|
3407
3430
|
opcode: function(e) {
|
|
3408
3431
|
this.opcodes.push({
|
|
3409
3432
|
opcode: e,
|
|
3410
|
-
args:
|
|
3433
|
+
args: o.call(arguments, 1),
|
|
3411
3434
|
loc: this.sourceNode[0].loc
|
|
3412
3435
|
});
|
|
3413
3436
|
},
|
|
@@ -3415,6 +3438,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3415
3438
|
e && (this.useDepths = !0);
|
|
3416
3439
|
},
|
|
3417
3440
|
classifySexpr: function(e) {
|
|
3441
|
+
m(e.path);
|
|
3418
3442
|
var t = i.default.helpers.simpleId(e.path), n = t && !!this.blockParamIndex(e.path.parts[0]), r = !n && i.default.helpers.helperExpression(e), a = !n && (r || t);
|
|
3419
3443
|
if (a && !r) {
|
|
3420
3444
|
var o = e.path.parts[0], s = this.options;
|
|
@@ -3426,14 +3450,15 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3426
3450
|
for (var t = 0, n = e.length; t < n; t++) this.pushParam(e[t]);
|
|
3427
3451
|
},
|
|
3428
3452
|
pushParam: function(e) {
|
|
3429
|
-
|
|
3430
|
-
|
|
3453
|
+
f(e);
|
|
3454
|
+
var t = e.value == null ? e.original || "" : e.value, n = d(e);
|
|
3455
|
+
if (this.stringParams) typeof t != "number" && typeof t != "boolean" && (t = String(t)), t.replace && (t = t.replace(/^(\.?\.\/)*/g, "").replace(/\//g, ".")), n && this.addDepth(n), this.opcode("getContext", n), this.opcode("pushStringParam", t, e.type), e.type === "SubExpression" && this.accept(e);
|
|
3431
3456
|
else {
|
|
3432
3457
|
if (this.trackIds) {
|
|
3433
|
-
var
|
|
3434
|
-
if (e.parts && !i.default.helpers.scopedId(e) && !
|
|
3435
|
-
var
|
|
3436
|
-
this.opcode("pushId", "BlockParam",
|
|
3458
|
+
var r = void 0;
|
|
3459
|
+
if (e.parts && !i.default.helpers.scopedId(e) && !n && (r = this.blockParamIndex(m(e)[0])), r) {
|
|
3460
|
+
var a = e.parts.slice(1).join(".");
|
|
3461
|
+
this.opcode("pushId", "BlockParam", r, a);
|
|
3437
3462
|
} else t = e.original || t, t.replace && (t = t.replace(/^this(?:\.|$)/, "").replace(/^\.\//, "").replace(/^\.$/, "")), this.opcode("pushId", e.type, t);
|
|
3438
3463
|
}
|
|
3439
3464
|
this.accept(e);
|
|
@@ -3450,13 +3475,13 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3450
3475
|
}
|
|
3451
3476
|
}
|
|
3452
3477
|
};
|
|
3453
|
-
function
|
|
3478
|
+
function c(e, t, r) {
|
|
3454
3479
|
if (e == null || typeof e != "string" && e.type !== "Program") throw new n.default("You must pass a string or Handlebars AST to Handlebars.precompile. You passed " + e);
|
|
3455
3480
|
t ||= {}, "data" in t || (t.data = !0), t.compat && (t.useDepths = !0);
|
|
3456
3481
|
var i = r.parse(e, t), a = new r.Compiler().compile(i, t);
|
|
3457
3482
|
return new r.JavaScriptCompiler().compile(a, t);
|
|
3458
3483
|
}
|
|
3459
|
-
function
|
|
3484
|
+
function l(e, t, i) {
|
|
3460
3485
|
if (t === void 0 && (t = {}), e == null || typeof e != "string" && e.type !== "Program") throw new n.default("You must pass a string or Handlebars AST to Handlebars.compile. You passed " + e);
|
|
3461
3486
|
t = r.extend({}, t), "data" in t || (t.data = !0), t.compat && (t.useDepths = !0);
|
|
3462
3487
|
var a = void 0;
|
|
@@ -3473,14 +3498,40 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3473
3498
|
return a ||= o(), a._child(e, t, n, r);
|
|
3474
3499
|
}, s;
|
|
3475
3500
|
}
|
|
3476
|
-
function
|
|
3501
|
+
function u(e, t) {
|
|
3502
|
+
return new n.default("Invalid AST: " + e.type + " " + t, e);
|
|
3503
|
+
}
|
|
3504
|
+
function d(e) {
|
|
3505
|
+
var t = e.depth;
|
|
3506
|
+
if (t == null) return 0;
|
|
3507
|
+
if (typeof t != "number" || !isFinite(t) || Math.floor(t) !== t || t < 0) throw u(e, "depth must be a non-negative integer");
|
|
3508
|
+
return t;
|
|
3509
|
+
}
|
|
3510
|
+
function f(e) {
|
|
3511
|
+
var t = e.value;
|
|
3512
|
+
if (e.type === "StringLiteral" && typeof t != "string") throw u(e, "value must be a string");
|
|
3513
|
+
if (e.type === "NumberLiteral" && typeof t != "number") throw u(e, "value must be a number");
|
|
3514
|
+
if (e.type === "BooleanLiteral" && typeof t != "boolean") throw u(e, "value must be a boolean");
|
|
3515
|
+
}
|
|
3516
|
+
function p(e, t, n) {
|
|
3517
|
+
if (!r.isArray(t)) throw u(e, n + " must be an array");
|
|
3518
|
+
for (var i = 0; i < t.length; i++) if (typeof t[i] != "string") throw u(e, n + " must only contain strings");
|
|
3519
|
+
return t;
|
|
3520
|
+
}
|
|
3521
|
+
function m(e) {
|
|
3522
|
+
return p(e, e.parts, "parts");
|
|
3523
|
+
}
|
|
3524
|
+
function h(e) {
|
|
3525
|
+
e.blockParams != null && p(e, e.blockParams, "blockParams");
|
|
3526
|
+
}
|
|
3527
|
+
function g(e, t) {
|
|
3477
3528
|
if (e === t) return !0;
|
|
3478
3529
|
if (r.isArray(e) && r.isArray(t) && e.length === t.length) {
|
|
3479
|
-
for (var n = 0; n < e.length; n++) if (!
|
|
3530
|
+
for (var n = 0; n < e.length; n++) if (!g(e[n], t[n])) return !1;
|
|
3480
3531
|
return !0;
|
|
3481
3532
|
}
|
|
3482
3533
|
}
|
|
3483
|
-
function
|
|
3534
|
+
function _(e) {
|
|
3484
3535
|
if (!e.path.parts) {
|
|
3485
3536
|
var t = e.path;
|
|
3486
3537
|
e.path = {
|
|
@@ -3493,7 +3544,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3493
3544
|
};
|
|
3494
3545
|
}
|
|
3495
3546
|
}
|
|
3496
|
-
})),
|
|
3547
|
+
})), Tt = /* @__PURE__ */ Y(((e) => {
|
|
3497
3548
|
var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
|
|
3498
3549
|
e.encode = function(e) {
|
|
3499
3550
|
if (0 <= e && e < t.length) return t[e];
|
|
@@ -3502,8 +3553,8 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3502
3553
|
var t = 65, n = 90, r = 97, i = 122, a = 48;
|
|
3503
3554
|
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;
|
|
3504
3555
|
};
|
|
3505
|
-
})),
|
|
3506
|
-
var t =
|
|
3556
|
+
})), Et = /* @__PURE__ */ Y(((e) => {
|
|
3557
|
+
var t = Tt(), n = 5, r = 1 << n, i = r - 1, a = r;
|
|
3507
3558
|
function o(e) {
|
|
3508
3559
|
return e < 0 ? (-e << 1) + 1 : (e << 1) + 0;
|
|
3509
3560
|
}
|
|
@@ -3526,7 +3577,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3526
3577
|
} while (d);
|
|
3527
3578
|
o.value = s(l), o.rest = r;
|
|
3528
3579
|
};
|
|
3529
|
-
})),
|
|
3580
|
+
})), Dt = /* @__PURE__ */ Y(((e) => {
|
|
3530
3581
|
function t(e, t, n) {
|
|
3531
3582
|
if (t in e) return e[t];
|
|
3532
3583
|
if (arguments.length === 3) return n;
|
|
@@ -3638,8 +3689,8 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3638
3689
|
return o(t);
|
|
3639
3690
|
}
|
|
3640
3691
|
e.computeSourceURL = y;
|
|
3641
|
-
})),
|
|
3642
|
-
var t =
|
|
3692
|
+
})), Ot = /* @__PURE__ */ Y(((e) => {
|
|
3693
|
+
var t = Dt(), n = Object.prototype.hasOwnProperty, r = typeof Map < "u";
|
|
3643
3694
|
function i() {
|
|
3644
3695
|
this._array = [], this._set = r ? /* @__PURE__ */ new Map() : Object.create(null);
|
|
3645
3696
|
}
|
|
@@ -3670,8 +3721,8 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3670
3721
|
}, i.prototype.toArray = function() {
|
|
3671
3722
|
return this._array.slice();
|
|
3672
3723
|
}, e.ArraySet = i;
|
|
3673
|
-
})),
|
|
3674
|
-
var t =
|
|
3724
|
+
})), kt = /* @__PURE__ */ Y(((e) => {
|
|
3725
|
+
var t = Dt();
|
|
3675
3726
|
function n(e, n) {
|
|
3676
3727
|
var r = e.generatedLine, i = n.generatedLine, a = e.generatedColumn, o = n.generatedColumn;
|
|
3677
3728
|
return i > r || i == r && o >= a || t.compareByGeneratedPositionsInflated(e, n) <= 0;
|
|
@@ -3689,8 +3740,8 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3689
3740
|
}, r.prototype.toArray = function() {
|
|
3690
3741
|
return this._sorted ||= (this._array.sort(t.compareByGeneratedPositionsInflated), !0), this._array;
|
|
3691
3742
|
}, e.MappingList = r;
|
|
3692
|
-
})),
|
|
3693
|
-
var t =
|
|
3743
|
+
})), At = /* @__PURE__ */ Y(((e) => {
|
|
3744
|
+
var t = Et(), n = Dt(), r = Ot().ArraySet, i = kt().MappingList;
|
|
3694
3745
|
function a(e) {
|
|
3695
3746
|
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;
|
|
3696
3747
|
}
|
|
@@ -3788,7 +3839,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3788
3839
|
}, a.prototype.toString = function() {
|
|
3789
3840
|
return JSON.stringify(this.toJSON());
|
|
3790
3841
|
}, e.SourceMapGenerator = a;
|
|
3791
|
-
})),
|
|
3842
|
+
})), jt = /* @__PURE__ */ Y(((e) => {
|
|
3792
3843
|
e.GREATEST_LOWER_BOUND = 1, e.LEAST_UPPER_BOUND = 2;
|
|
3793
3844
|
function t(n, r, i, a, o, s) {
|
|
3794
3845
|
var c = Math.floor((r - n) / 2) + n, l = o(i, a[c], !0);
|
|
@@ -3801,7 +3852,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3801
3852
|
for (; o - 1 >= 0 && i(r[o], r[o - 1], !0) === 0;) --o;
|
|
3802
3853
|
return o;
|
|
3803
3854
|
};
|
|
3804
|
-
})),
|
|
3855
|
+
})), Mt = /* @__PURE__ */ Y(((e) => {
|
|
3805
3856
|
function t(e, t, n) {
|
|
3806
3857
|
var r = e[t];
|
|
3807
3858
|
e[t] = e[n], e[n] = r;
|
|
@@ -3822,8 +3873,8 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
3822
3873
|
e.quickSort = function(e, t) {
|
|
3823
3874
|
r(e, t, 0, e.length - 1);
|
|
3824
3875
|
};
|
|
3825
|
-
})),
|
|
3826
|
-
var t =
|
|
3876
|
+
})), Nt = /* @__PURE__ */ Y(((e) => {
|
|
3877
|
+
var t = Dt(), n = jt(), r = Ot().ArraySet, i = Et(), a = Mt().quickSort;
|
|
3827
3878
|
function o(e, n) {
|
|
3828
3879
|
var r = e;
|
|
3829
3880
|
return typeof e == "string" && (r = t.parseSourceMapInput(e)), r.sections == null ? new s(r, n) : new l(r, n);
|
|
@@ -4113,8 +4164,8 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4113
4164
|
}
|
|
4114
4165
|
a(this.__generatedMappings, t.compareByGeneratedPositionsDeflated), a(this.__originalMappings, t.compareByOriginalPositions);
|
|
4115
4166
|
}, e.IndexedSourceMapConsumer = l;
|
|
4116
|
-
})),
|
|
4117
|
-
var t =
|
|
4167
|
+
})), Pt = /* @__PURE__ */ Y(((e) => {
|
|
4168
|
+
var t = At().SourceMapGenerator, n = Dt(), r = /(\r?\n)/, i = 10, a = "$$$isSourceNode$$$";
|
|
4118
4169
|
function o(e, t, n, r, i) {
|
|
4119
4170
|
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);
|
|
4120
4171
|
}
|
|
@@ -4231,24 +4282,34 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4231
4282
|
map: r
|
|
4232
4283
|
};
|
|
4233
4284
|
}, e.SourceNode = o;
|
|
4234
|
-
})),
|
|
4235
|
-
e.SourceMapGenerator =
|
|
4236
|
-
})),
|
|
4237
|
-
e.__esModule = !0;
|
|
4238
|
-
var
|
|
4285
|
+
})), Ft = /* @__PURE__ */ Y(((e) => {
|
|
4286
|
+
e.SourceMapGenerator = At().SourceMapGenerator, e.SourceMapConsumer = Nt().SourceMapConsumer, e.SourceNode = Pt().SourceNode;
|
|
4287
|
+
})), It = /* @__PURE__ */ Y(((e) => {
|
|
4288
|
+
e.__esModule = !0, e.safeJsonLiteral = o;
|
|
4289
|
+
var t = Z(), n = /[\x00-\x1f\\"\u2028\u2029<\ud800-\udfff]/, r = /<(?=!--|\/?script)/gi;
|
|
4290
|
+
function i(e) {
|
|
4291
|
+
return e.replace(r, "\\u003C");
|
|
4292
|
+
}
|
|
4293
|
+
function a(e) {
|
|
4294
|
+
return "\\u" + e.charCodeAt(0).toString(16);
|
|
4295
|
+
}
|
|
4296
|
+
function o(e) {
|
|
4297
|
+
return i(JSON.stringify(e).replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029").replace(/[\ud800-\udfff]/g, a));
|
|
4298
|
+
}
|
|
4299
|
+
var s = void 0;
|
|
4239
4300
|
try {
|
|
4240
4301
|
/* istanbul ignore next */
|
|
4241
|
-
typeof define == "function" && define.amd || (
|
|
4302
|
+
typeof define == "function" && define.amd || (s = Ft().SourceNode);
|
|
4242
4303
|
} catch {}
|
|
4243
4304
|
/* istanbul ignore if: tested but not covered in istanbul due to dist build */
|
|
4244
|
-
|
|
4305
|
+
s || (s = function(e, t, n, r) {
|
|
4245
4306
|
this.src = "", r && this.add(r);
|
|
4246
|
-
},
|
|
4307
|
+
}, s.prototype = {
|
|
4247
4308
|
add: function(e) {
|
|
4248
|
-
|
|
4309
|
+
t.isArray(e) && (e = e.join("")), this.src += e;
|
|
4249
4310
|
},
|
|
4250
4311
|
prepend: function(e) {
|
|
4251
|
-
|
|
4312
|
+
t.isArray(e) && (e = e.join("")), this.src = e + this.src;
|
|
4252
4313
|
},
|
|
4253
4314
|
toStringWithSourceMap: function() {
|
|
4254
4315
|
return { code: this.toString() };
|
|
@@ -4257,17 +4318,17 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4257
4318
|
return this.src;
|
|
4258
4319
|
}
|
|
4259
4320
|
});
|
|
4260
|
-
function
|
|
4261
|
-
if (
|
|
4262
|
-
for (var i = [], a = 0, o = e.length; a < o; a++) i.push(
|
|
4321
|
+
function c(e, n, r) {
|
|
4322
|
+
if (t.isArray(e)) {
|
|
4323
|
+
for (var i = [], a = 0, o = e.length; a < o; a++) i.push(n.wrap(e[a], r));
|
|
4263
4324
|
return i;
|
|
4264
4325
|
}
|
|
4265
4326
|
return typeof e == "boolean" || typeof e == "number" ? e + "" : e;
|
|
4266
4327
|
}
|
|
4267
|
-
function
|
|
4328
|
+
function l(e) {
|
|
4268
4329
|
this.srcFile = e, this.source = [];
|
|
4269
4330
|
}
|
|
4270
|
-
|
|
4331
|
+
l.prototype = {
|
|
4271
4332
|
isEmpty: function() {
|
|
4272
4333
|
return !this.source.length;
|
|
4273
4334
|
},
|
|
@@ -4292,11 +4353,11 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4292
4353
|
},
|
|
4293
4354
|
empty: function() {
|
|
4294
4355
|
var e = this.currentLocation || { start: {} };
|
|
4295
|
-
return new
|
|
4356
|
+
return new s(e.start.line, e.start.column, this.srcFile);
|
|
4296
4357
|
},
|
|
4297
4358
|
wrap: function(e) {
|
|
4298
4359
|
var t = arguments.length <= 1 || arguments[1] === void 0 ? this.currentLocation || { start: {} } : arguments[1];
|
|
4299
|
-
return e instanceof
|
|
4360
|
+
return e instanceof s ? e : (e = c(e, this, t), new s(t.start.line, t.start.column, this.srcFile, e));
|
|
4300
4361
|
},
|
|
4301
4362
|
functionCall: function(e, t, n) {
|
|
4302
4363
|
return n = this.generateList(n), this.wrap([
|
|
@@ -4307,43 +4368,43 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4307
4368
|
]);
|
|
4308
4369
|
},
|
|
4309
4370
|
quotedString: function(e) {
|
|
4310
|
-
return
|
|
4371
|
+
return e += "", n.test(e) ? o(e) : "\"" + e + "\"";
|
|
4311
4372
|
},
|
|
4312
4373
|
objectLiteral: function(e) {
|
|
4313
4374
|
// istanbul ignore next
|
|
4314
4375
|
var t = this, n = [];
|
|
4315
4376
|
Object.keys(e).forEach(function(r) {
|
|
4316
|
-
var
|
|
4317
|
-
|
|
4377
|
+
var i = c(e[r], t);
|
|
4378
|
+
i !== "undefined" && n.push([
|
|
4318
4379
|
t.quotedString(r),
|
|
4319
4380
|
":",
|
|
4320
|
-
|
|
4381
|
+
i
|
|
4321
4382
|
]);
|
|
4322
4383
|
});
|
|
4323
4384
|
var r = this.generateList(n);
|
|
4324
4385
|
return r.prepend("{"), r.add("}"), r;
|
|
4325
4386
|
},
|
|
4326
4387
|
generateList: function(e) {
|
|
4327
|
-
for (var t = this.empty(), n = 0, r = e.length; n < r; n++) n && t.add(","), t.add(
|
|
4388
|
+
for (var t = this.empty(), n = 0, r = e.length; n < r; n++) n && t.add(","), t.add(c(e[n], this));
|
|
4328
4389
|
return t;
|
|
4329
4390
|
},
|
|
4330
4391
|
generateArray: function(e) {
|
|
4331
4392
|
var t = this.generateList(e);
|
|
4332
4393
|
return t.prepend("["), t.add("]"), t;
|
|
4333
4394
|
}
|
|
4334
|
-
}, e.default =
|
|
4335
|
-
})),
|
|
4395
|
+
}, e.default = l;
|
|
4396
|
+
})), Lt = /* @__PURE__ */ Y(((e, t) => {
|
|
4336
4397
|
e.__esModule = !0;
|
|
4337
4398
|
// istanbul ignore next
|
|
4338
4399
|
function n(e) {
|
|
4339
4400
|
return e && e.__esModule ? e : { default: e };
|
|
4340
4401
|
}
|
|
4341
|
-
var r = dt(), i = n(Q()), a = Z(), o = n(
|
|
4342
|
-
function
|
|
4402
|
+
var r = dt(), i = n(Q()), a = Z(), o = It(), s = n(o);
|
|
4403
|
+
function c(e) {
|
|
4343
4404
|
this.value = e;
|
|
4344
4405
|
}
|
|
4345
|
-
function
|
|
4346
|
-
|
|
4406
|
+
function l() {}
|
|
4407
|
+
l.prototype = {
|
|
4347
4408
|
nameLookup: function(e, t) {
|
|
4348
4409
|
return this.internalNameLookup(e, t);
|
|
4349
4410
|
},
|
|
@@ -4351,7 +4412,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4351
4412
|
return [
|
|
4352
4413
|
this.aliasable("container.lookup"),
|
|
4353
4414
|
"(depths, ",
|
|
4354
|
-
|
|
4415
|
+
this.quotedString(e),
|
|
4355
4416
|
")"
|
|
4356
4417
|
];
|
|
4357
4418
|
},
|
|
@@ -4378,7 +4439,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4378
4439
|
"lookupProperty(",
|
|
4379
4440
|
e,
|
|
4380
4441
|
",",
|
|
4381
|
-
|
|
4442
|
+
this.quotedString(t),
|
|
4382
4443
|
")"
|
|
4383
4444
|
];
|
|
4384
4445
|
},
|
|
@@ -4422,7 +4483,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4422
4483
|
} }, d = this.objectLiteral(d), t.srcName ? (d = d.toStringWithSourceMap({ file: t.destName }), d.map = d.map && d.map.toString()) : d = d.toString()), d;
|
|
4423
4484
|
},
|
|
4424
4485
|
preamble: function() {
|
|
4425
|
-
this.lastContext = 0, this.source = new
|
|
4486
|
+
this.lastContext = 0, this.source = new s.default(this.options.srcName), this.decorators = new s.default(this.options.srcName);
|
|
4426
4487
|
},
|
|
4427
4488
|
createFunctionContext: function(e) {
|
|
4428
4489
|
// istanbul ignore next
|
|
@@ -4538,7 +4599,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4538
4599
|
resolvePath: function(e, t, n, r, i) {
|
|
4539
4600
|
// istanbul ignore next
|
|
4540
4601
|
var a = this;
|
|
4541
|
-
if (this.options.strict || this.options.assumeObjects) this.push(
|
|
4602
|
+
if (this.options.strict || this.options.assumeObjects) this.push(d(this.options.strict && i, this, t, n, e));
|
|
4542
4603
|
else for (var o = t.length, s = function(n) {
|
|
4543
4604
|
a.replaceStack(function(i) {
|
|
4544
4605
|
var o = a.nameLookup(i, t[n], e);
|
|
@@ -4655,7 +4716,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4655
4716
|
},
|
|
4656
4717
|
invokePartial: function(e, t, n) {
|
|
4657
4718
|
var r = [], i = this.setupParams(t, 1, r);
|
|
4658
|
-
e && (t = this.popStack(), delete i.name), n && (i.indent =
|
|
4719
|
+
e && (t = this.popStack(), delete i.name), n && (i.indent = this.quotedString(n)), i.helpers = "helpers", i.partials = "partials", i.decorators = "container.decorators", e ? r.unshift(t) : r.unshift(this.nameLookup("partials", t, "partial")), this.options.compat && (i.depths = "depths"), i = this.objectLiteral(i), r.push(i), this.push(this.source.functionCall("container.invokePartial", "", r));
|
|
4659
4720
|
},
|
|
4660
4721
|
assignToHash: function(e) {
|
|
4661
4722
|
var t = this.popStack(), n = void 0, r = void 0, i = void 0;
|
|
@@ -4664,9 +4725,9 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4664
4725
|
n && (a.contexts[e] = n), r && (a.types[e] = r), i && (a.ids[e] = i), a.values[e] = t;
|
|
4665
4726
|
},
|
|
4666
4727
|
pushId: function(e, t, n) {
|
|
4667
|
-
e === "BlockParam" ? this.pushStackLiteral("blockParams[" + t[0] + "].path[" + t[1] + "]" + (n ? " + " +
|
|
4728
|
+
e === "BlockParam" ? this.pushStackLiteral("blockParams[" + t[0] + "].path[" + t[1] + "]" + (n ? " + " + this.quotedString("." + n) : "")) : e === "PathExpression" ? this.pushString(t) : e === "SubExpression" ? this.pushStackLiteral("true") : this.pushStackLiteral("null");
|
|
4668
4729
|
},
|
|
4669
|
-
compiler:
|
|
4730
|
+
compiler: l,
|
|
4670
4731
|
compileChildren: function(e, t) {
|
|
4671
4732
|
for (var n = e.children, r = void 0, i = void 0, a = 0, o = n.length; a < o; a++) {
|
|
4672
4733
|
r = n[a], i = new this.compiler();
|
|
@@ -4695,10 +4756,10 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4695
4756
|
this.registers[e] || (this.registers[e] = !0, this.registers.list.push(e));
|
|
4696
4757
|
},
|
|
4697
4758
|
push: function(e) {
|
|
4698
|
-
return e instanceof
|
|
4759
|
+
return e instanceof c || (e = this.source.wrap(e)), this.inlineStack.push(e), e;
|
|
4699
4760
|
},
|
|
4700
4761
|
pushStackLiteral: function(e) {
|
|
4701
|
-
this.push(new
|
|
4762
|
+
this.push(new c(e));
|
|
4702
4763
|
},
|
|
4703
4764
|
pushSource: function(e) {
|
|
4704
4765
|
this.pendingContent &&= (this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent), this.pendingLocation)), void 0), e && this.source.push(e);
|
|
@@ -4708,13 +4769,13 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4708
4769
|
/* istanbul ignore next */
|
|
4709
4770
|
if (!this.isInline()) throw new i.default("replaceStack on non-inline");
|
|
4710
4771
|
var o = this.popStack(!0);
|
|
4711
|
-
if (o instanceof
|
|
4772
|
+
if (o instanceof c) n = [o.value], t = ["(", n], a = !0;
|
|
4712
4773
|
else {
|
|
4713
4774
|
r = !0;
|
|
4714
|
-
var
|
|
4775
|
+
var s = this.incrStack();
|
|
4715
4776
|
t = [
|
|
4716
4777
|
"((",
|
|
4717
|
-
this.push(
|
|
4778
|
+
this.push(s),
|
|
4718
4779
|
" = ",
|
|
4719
4780
|
o,
|
|
4720
4781
|
")"
|
|
@@ -4735,7 +4796,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4735
4796
|
for (var t = 0, n = e.length; t < n; t++) {
|
|
4736
4797
|
var r = e[t];
|
|
4737
4798
|
/* istanbul ignore if */
|
|
4738
|
-
if (r instanceof
|
|
4799
|
+
if (r instanceof c) this.compileStack.push(r);
|
|
4739
4800
|
else {
|
|
4740
4801
|
var i = this.incrStack();
|
|
4741
4802
|
this.pushSource([
|
|
@@ -4752,7 +4813,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4752
4813
|
},
|
|
4753
4814
|
popStack: function(e) {
|
|
4754
4815
|
var t = this.isInline(), n = (t ? this.inlineStack : this.compileStack).pop();
|
|
4755
|
-
if (!e && n instanceof
|
|
4816
|
+
if (!e && n instanceof c) return n.value;
|
|
4756
4817
|
if (!t) {
|
|
4757
4818
|
/* istanbul ignore next */
|
|
4758
4819
|
if (!this.stackSlot) throw new i.default("Invalid stack pop");
|
|
@@ -4762,7 +4823,7 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4762
4823
|
},
|
|
4763
4824
|
topStack: function() {
|
|
4764
4825
|
var e = this.isInline() ? this.inlineStack : this.compileStack, t = e[e.length - 1];
|
|
4765
|
-
return t instanceof
|
|
4826
|
+
return t instanceof c ? t.value : t;
|
|
4766
4827
|
},
|
|
4767
4828
|
contextName: function(e) {
|
|
4768
4829
|
return this.useDepths && e ? "depths[" + e + "]" : "depth" + e;
|
|
@@ -4796,14 +4857,18 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4796
4857
|
},
|
|
4797
4858
|
setupHelperArgs: function(e, t, n, r) {
|
|
4798
4859
|
var i = this.setupParams(e, t, n);
|
|
4799
|
-
return i.loc =
|
|
4860
|
+
return i.loc = u(this), i = this.objectLiteral(i), r ? (this.useRegister("options"), n.push("options"), ["options=", i]) : n ? (n.push(i), "") : i;
|
|
4800
4861
|
}
|
|
4801
4862
|
}, (function() {
|
|
4802
|
-
for (var e = "break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "), t =
|
|
4803
|
-
})(),
|
|
4804
|
-
return !
|
|
4863
|
+
for (var e = "break else new var case finally return void catch for switch while continue function this with default if throw delete in try do instanceof typeof abstract enum int short boolean export interface static byte extends long super char final native synchronized class float package throws const goto private transient debugger implements protected volatile double import public let yield await null true false".split(" "), t = l.RESERVED_WORDS = {}, n = 0, r = e.length; n < r; n++) t[e[n]] = !0;
|
|
4864
|
+
})(), l.isValidJavaScriptVariableName = function(e) {
|
|
4865
|
+
return !l.RESERVED_WORDS[e] && /^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e);
|
|
4805
4866
|
};
|
|
4806
|
-
function
|
|
4867
|
+
function u(e) {
|
|
4868
|
+
var t = e.source.currentLocation;
|
|
4869
|
+
return t ? o.safeJsonLiteral(t) : "undefined";
|
|
4870
|
+
}
|
|
4871
|
+
function d(e, t, n, r, i) {
|
|
4807
4872
|
var a = t.popStack(), o = n.length;
|
|
4808
4873
|
e && o--;
|
|
4809
4874
|
for (var s = r; s < o; s++) a = t.nameLookup(a, n[s], i);
|
|
@@ -4814,18 +4879,18 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4814
4879
|
", ",
|
|
4815
4880
|
t.quotedString(n[o]),
|
|
4816
4881
|
", ",
|
|
4817
|
-
|
|
4882
|
+
u(t),
|
|
4818
4883
|
" )"
|
|
4819
4884
|
] : a;
|
|
4820
4885
|
}
|
|
4821
|
-
e.default =
|
|
4822
|
-
})),
|
|
4886
|
+
e.default = l, t.exports = e.default;
|
|
4887
|
+
})), Rt = /* @__PURE__ */ Y(((e, t) => {
|
|
4823
4888
|
e.__esModule = !0;
|
|
4824
4889
|
// istanbul ignore next
|
|
4825
4890
|
function n(e) {
|
|
4826
4891
|
return e && e.__esModule ? e : { default: e };
|
|
4827
4892
|
}
|
|
4828
|
-
var r = n(gt()), i = n(_t()), a =
|
|
4893
|
+
var r = n(gt()), i = n(_t()), a = Ct(), o = wt(), s = n(Lt()), c = n(bt()), l = n(ht()), u = r.default.create;
|
|
4829
4894
|
function d() {
|
|
4830
4895
|
var e = u();
|
|
4831
4896
|
return e.compile = function(t, n) {
|
|
@@ -4836,75 +4901,75 @@ var Z = /* @__PURE__ */ Y(((e) => {
|
|
|
4836
4901
|
}
|
|
4837
4902
|
var f = d();
|
|
4838
4903
|
f.create = d, l.default(f), f.Visitor = c.default, f.default = f, e.default = f, t.exports = e.default;
|
|
4839
|
-
})),
|
|
4840
|
-
function
|
|
4841
|
-
var t =
|
|
4904
|
+
})), zt = typeof global == "object" && global && global.Object === Object && global, Bt = typeof self == "object" && self && self.Object === Object && self, Vt = zt || Bt || Function("return this")(), Ht = Vt.Symbol, Ut = Object.prototype, Wt = Ut.hasOwnProperty, Gt = Ut.toString, Kt = Ht ? Ht.toStringTag : void 0;
|
|
4905
|
+
function qt(e) {
|
|
4906
|
+
var t = Wt.call(e, Kt), n = e[Kt];
|
|
4842
4907
|
try {
|
|
4843
|
-
e[
|
|
4908
|
+
e[Kt] = void 0;
|
|
4844
4909
|
var r = !0;
|
|
4845
4910
|
} catch {}
|
|
4846
|
-
var i =
|
|
4847
|
-
return r && (t ? e[
|
|
4911
|
+
var i = Gt.call(e);
|
|
4912
|
+
return r && (t ? e[Kt] = n : delete e[Kt]), i;
|
|
4848
4913
|
}
|
|
4849
4914
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
|
|
4850
|
-
var
|
|
4851
|
-
function
|
|
4852
|
-
return
|
|
4915
|
+
var Jt = Object.prototype.toString;
|
|
4916
|
+
function Yt(e) {
|
|
4917
|
+
return Jt.call(e);
|
|
4853
4918
|
}
|
|
4854
4919
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
|
|
4855
|
-
var
|
|
4856
|
-
function
|
|
4857
|
-
return e == null ? e === void 0 ?
|
|
4920
|
+
var Xt = "[object Null]", Zt = "[object Undefined]", Qt = Ht ? Ht.toStringTag : void 0;
|
|
4921
|
+
function $t(e) {
|
|
4922
|
+
return e == null ? e === void 0 ? Zt : Xt : Qt && Qt in Object(e) ? qt(e) : Yt(e);
|
|
4858
4923
|
}
|
|
4859
4924
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
|
|
4860
|
-
function
|
|
4925
|
+
function en(e) {
|
|
4861
4926
|
return typeof e == "object" && !!e;
|
|
4862
4927
|
}
|
|
4863
4928
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
|
|
4864
|
-
var
|
|
4865
|
-
function
|
|
4866
|
-
return typeof e == "symbol" ||
|
|
4929
|
+
var tn = "[object Symbol]";
|
|
4930
|
+
function nn(e) {
|
|
4931
|
+
return typeof e == "symbol" || en(e) && $t(e) == tn;
|
|
4867
4932
|
}
|
|
4868
4933
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js
|
|
4869
|
-
function
|
|
4934
|
+
function rn(e, t) {
|
|
4870
4935
|
for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
|
|
4871
4936
|
return i;
|
|
4872
4937
|
}
|
|
4873
4938
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
|
|
4874
|
-
var
|
|
4875
|
-
function
|
|
4939
|
+
var an = Array.isArray, on = 1 / 0, sn = Ht ? Ht.prototype : void 0, cn = sn ? sn.toString : void 0;
|
|
4940
|
+
function ln(e) {
|
|
4876
4941
|
if (typeof e == "string") return e;
|
|
4877
|
-
if (
|
|
4878
|
-
if (
|
|
4942
|
+
if (an(e)) return rn(e, ln) + "";
|
|
4943
|
+
if (nn(e)) return cn ? cn.call(e) : "";
|
|
4879
4944
|
var t = e + "";
|
|
4880
|
-
return t == "0" && 1 / e == -
|
|
4945
|
+
return t == "0" && 1 / e == -on ? "-0" : t;
|
|
4881
4946
|
}
|
|
4882
4947
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
|
|
4883
|
-
function
|
|
4948
|
+
function un(e) {
|
|
4884
4949
|
var t = typeof e;
|
|
4885
4950
|
return e != null && (t == "object" || t == "function");
|
|
4886
4951
|
}
|
|
4887
4952
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
|
|
4888
|
-
var
|
|
4889
|
-
function
|
|
4890
|
-
if (!
|
|
4891
|
-
var t =
|
|
4892
|
-
return t ==
|
|
4953
|
+
var dn = "[object AsyncFunction]", fn = "[object Function]", pn = "[object GeneratorFunction]", mn = "[object Proxy]";
|
|
4954
|
+
function hn(e) {
|
|
4955
|
+
if (!un(e)) return !1;
|
|
4956
|
+
var t = $t(e);
|
|
4957
|
+
return t == fn || t == pn || t == dn || t == mn;
|
|
4893
4958
|
}
|
|
4894
4959
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
|
|
4895
|
-
var
|
|
4896
|
-
var e = /[^.]+$/.exec(
|
|
4960
|
+
var gn = Vt["__core-js_shared__"], _n = function() {
|
|
4961
|
+
var e = /[^.]+$/.exec(gn && gn.keys && gn.keys.IE_PROTO || "");
|
|
4897
4962
|
return e ? "Symbol(src)_1." + e : "";
|
|
4898
4963
|
}();
|
|
4899
|
-
function
|
|
4900
|
-
return !!
|
|
4964
|
+
function vn(e) {
|
|
4965
|
+
return !!_n && _n in e;
|
|
4901
4966
|
}
|
|
4902
4967
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
|
|
4903
|
-
var
|
|
4904
|
-
function
|
|
4968
|
+
var yn = Function.prototype.toString;
|
|
4969
|
+
function bn(e) {
|
|
4905
4970
|
if (e != null) {
|
|
4906
4971
|
try {
|
|
4907
|
-
return
|
|
4972
|
+
return yn.call(e);
|
|
4908
4973
|
} catch {}
|
|
4909
4974
|
try {
|
|
4910
4975
|
return e + "";
|
|
@@ -4913,213 +4978,213 @@ function yn(e) {
|
|
|
4913
4978
|
return "";
|
|
4914
4979
|
}
|
|
4915
4980
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
|
|
4916
|
-
var
|
|
4917
|
-
function
|
|
4918
|
-
return !
|
|
4981
|
+
var xn = /[\\^$.*+?()[\]{}|]/g, Sn = /^\[object .+?Constructor\]$/, Cn = Function.prototype, wn = Object.prototype, Tn = Cn.toString, En = wn.hasOwnProperty, Dn = RegExp("^" + Tn.call(En).replace(xn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
4982
|
+
function On(e) {
|
|
4983
|
+
return !un(e) || vn(e) ? !1 : (hn(e) ? Dn : Sn).test(bn(e));
|
|
4919
4984
|
}
|
|
4920
4985
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
|
|
4921
|
-
function
|
|
4986
|
+
function kn(e, t) {
|
|
4922
4987
|
return e?.[t];
|
|
4923
4988
|
}
|
|
4924
4989
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
|
|
4925
|
-
function
|
|
4926
|
-
var n =
|
|
4927
|
-
return
|
|
4990
|
+
function An(e, t) {
|
|
4991
|
+
var n = kn(e, t);
|
|
4992
|
+
return On(n) ? n : void 0;
|
|
4928
4993
|
}
|
|
4929
4994
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
|
|
4930
|
-
function
|
|
4995
|
+
function jn(e, t) {
|
|
4931
4996
|
return e === t || e !== e && t !== t;
|
|
4932
4997
|
}
|
|
4933
4998
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js
|
|
4934
|
-
var
|
|
4935
|
-
function
|
|
4936
|
-
if (
|
|
4999
|
+
var Mn = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Nn = /^\w*$/;
|
|
5000
|
+
function Pn(e, t) {
|
|
5001
|
+
if (an(e)) return !1;
|
|
4937
5002
|
var n = typeof e;
|
|
4938
|
-
return n == "number" || n == "symbol" || n == "boolean" || e == null ||
|
|
5003
|
+
return n == "number" || n == "symbol" || n == "boolean" || e == null || nn(e) ? !0 : Nn.test(e) || !Mn.test(e) || t != null && e in Object(t);
|
|
4939
5004
|
}
|
|
4940
5005
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
|
|
4941
|
-
var
|
|
5006
|
+
var Fn = An(Object, "create");
|
|
4942
5007
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
|
|
4943
|
-
function
|
|
4944
|
-
this.__data__ =
|
|
5008
|
+
function In() {
|
|
5009
|
+
this.__data__ = Fn ? Fn(null) : {}, this.size = 0;
|
|
4945
5010
|
}
|
|
4946
5011
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
|
|
4947
|
-
function
|
|
5012
|
+
function Ln(e) {
|
|
4948
5013
|
var t = this.has(e) && delete this.__data__[e];
|
|
4949
5014
|
return this.size -= +!!t, t;
|
|
4950
5015
|
}
|
|
4951
5016
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
|
|
4952
|
-
var
|
|
4953
|
-
function
|
|
5017
|
+
var Rn = "__lodash_hash_undefined__", zn = Object.prototype.hasOwnProperty;
|
|
5018
|
+
function Bn(e) {
|
|
4954
5019
|
var t = this.__data__;
|
|
4955
|
-
if (
|
|
5020
|
+
if (Fn) {
|
|
4956
5021
|
var n = t[e];
|
|
4957
|
-
return n ===
|
|
5022
|
+
return n === Rn ? void 0 : n;
|
|
4958
5023
|
}
|
|
4959
|
-
return
|
|
5024
|
+
return zn.call(t, e) ? t[e] : void 0;
|
|
4960
5025
|
}
|
|
4961
5026
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
|
|
4962
|
-
var
|
|
4963
|
-
function
|
|
5027
|
+
var Vn = Object.prototype.hasOwnProperty;
|
|
5028
|
+
function Hn(e) {
|
|
4964
5029
|
var t = this.__data__;
|
|
4965
|
-
return
|
|
5030
|
+
return Fn ? t[e] !== void 0 : Vn.call(t, e);
|
|
4966
5031
|
}
|
|
4967
5032
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
|
|
4968
|
-
var
|
|
4969
|
-
function
|
|
5033
|
+
var Un = "__lodash_hash_undefined__";
|
|
5034
|
+
function Wn(e, t) {
|
|
4970
5035
|
var n = this.__data__;
|
|
4971
|
-
return this.size += +!this.has(e), n[e] =
|
|
5036
|
+
return this.size += +!this.has(e), n[e] = Fn && t === void 0 ? Un : t, this;
|
|
4972
5037
|
}
|
|
4973
5038
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
|
|
4974
|
-
function
|
|
5039
|
+
function Gn(e) {
|
|
4975
5040
|
var t = -1, n = e == null ? 0 : e.length;
|
|
4976
5041
|
for (this.clear(); ++t < n;) {
|
|
4977
5042
|
var r = e[t];
|
|
4978
5043
|
this.set(r[0], r[1]);
|
|
4979
5044
|
}
|
|
4980
5045
|
}
|
|
4981
|
-
|
|
5046
|
+
Gn.prototype.clear = In, Gn.prototype.delete = Ln, Gn.prototype.get = Bn, Gn.prototype.has = Hn, Gn.prototype.set = Wn;
|
|
4982
5047
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
|
|
4983
|
-
function
|
|
5048
|
+
function Kn() {
|
|
4984
5049
|
this.__data__ = [], this.size = 0;
|
|
4985
5050
|
}
|
|
4986
5051
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
|
|
4987
|
-
function
|
|
4988
|
-
for (var n = e.length; n--;) if (
|
|
5052
|
+
function qn(e, t) {
|
|
5053
|
+
for (var n = e.length; n--;) if (jn(e[n][0], t)) return n;
|
|
4989
5054
|
return -1;
|
|
4990
5055
|
}
|
|
4991
5056
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
|
|
4992
|
-
var
|
|
4993
|
-
function
|
|
4994
|
-
var t = this.__data__, n =
|
|
4995
|
-
return n < 0 ? !1 : (n == t.length - 1 ? t.pop() :
|
|
5057
|
+
var Jn = Array.prototype.splice;
|
|
5058
|
+
function Yn(e) {
|
|
5059
|
+
var t = this.__data__, n = qn(t, e);
|
|
5060
|
+
return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : Jn.call(t, n, 1), --this.size, !0);
|
|
4996
5061
|
}
|
|
4997
5062
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
|
|
4998
|
-
function
|
|
4999
|
-
var t = this.__data__, n =
|
|
5063
|
+
function Xn(e) {
|
|
5064
|
+
var t = this.__data__, n = qn(t, e);
|
|
5000
5065
|
return n < 0 ? void 0 : t[n][1];
|
|
5001
5066
|
}
|
|
5002
5067
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
|
|
5003
|
-
function
|
|
5004
|
-
return
|
|
5068
|
+
function Zn(e) {
|
|
5069
|
+
return qn(this.__data__, e) > -1;
|
|
5005
5070
|
}
|
|
5006
5071
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
|
|
5007
|
-
function
|
|
5008
|
-
var n = this.__data__, r =
|
|
5072
|
+
function Qn(e, t) {
|
|
5073
|
+
var n = this.__data__, r = qn(n, e);
|
|
5009
5074
|
return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
|
|
5010
5075
|
}
|
|
5011
5076
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
|
|
5012
|
-
function
|
|
5077
|
+
function $n(e) {
|
|
5013
5078
|
var t = -1, n = e == null ? 0 : e.length;
|
|
5014
5079
|
for (this.clear(); ++t < n;) {
|
|
5015
5080
|
var r = e[t];
|
|
5016
5081
|
this.set(r[0], r[1]);
|
|
5017
5082
|
}
|
|
5018
5083
|
}
|
|
5019
|
-
|
|
5084
|
+
$n.prototype.clear = Kn, $n.prototype.delete = Yn, $n.prototype.get = Xn, $n.prototype.has = Zn, $n.prototype.set = Qn;
|
|
5020
5085
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
|
|
5021
|
-
var
|
|
5086
|
+
var er = An(Vt, "Map");
|
|
5022
5087
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
|
|
5023
|
-
function
|
|
5088
|
+
function tr() {
|
|
5024
5089
|
this.size = 0, this.__data__ = {
|
|
5025
|
-
hash: new
|
|
5026
|
-
map: new (
|
|
5027
|
-
string: new
|
|
5090
|
+
hash: new Gn(),
|
|
5091
|
+
map: new (er || $n)(),
|
|
5092
|
+
string: new Gn()
|
|
5028
5093
|
};
|
|
5029
5094
|
}
|
|
5030
5095
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
|
|
5031
|
-
function
|
|
5096
|
+
function nr(e) {
|
|
5032
5097
|
var t = typeof e;
|
|
5033
5098
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
5034
5099
|
}
|
|
5035
5100
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
|
|
5036
|
-
function
|
|
5101
|
+
function rr(e, t) {
|
|
5037
5102
|
var n = e.__data__;
|
|
5038
|
-
return
|
|
5103
|
+
return nr(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
|
|
5039
5104
|
}
|
|
5040
5105
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
|
|
5041
|
-
function
|
|
5042
|
-
var t =
|
|
5106
|
+
function ir(e) {
|
|
5107
|
+
var t = rr(this, e).delete(e);
|
|
5043
5108
|
return this.size -= +!!t, t;
|
|
5044
5109
|
}
|
|
5045
5110
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
|
|
5046
|
-
function
|
|
5047
|
-
return
|
|
5111
|
+
function ar(e) {
|
|
5112
|
+
return rr(this, e).get(e);
|
|
5048
5113
|
}
|
|
5049
5114
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
|
|
5050
|
-
function
|
|
5051
|
-
return
|
|
5115
|
+
function or(e) {
|
|
5116
|
+
return rr(this, e).has(e);
|
|
5052
5117
|
}
|
|
5053
5118
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
|
|
5054
|
-
function
|
|
5055
|
-
var n =
|
|
5119
|
+
function sr(e, t) {
|
|
5120
|
+
var n = rr(this, e), r = n.size;
|
|
5056
5121
|
return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
|
|
5057
5122
|
}
|
|
5058
5123
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
|
|
5059
|
-
function
|
|
5124
|
+
function cr(e) {
|
|
5060
5125
|
var t = -1, n = e == null ? 0 : e.length;
|
|
5061
5126
|
for (this.clear(); ++t < n;) {
|
|
5062
5127
|
var r = e[t];
|
|
5063
5128
|
this.set(r[0], r[1]);
|
|
5064
5129
|
}
|
|
5065
5130
|
}
|
|
5066
|
-
|
|
5131
|
+
cr.prototype.clear = tr, cr.prototype.delete = ir, cr.prototype.get = ar, cr.prototype.has = or, cr.prototype.set = sr;
|
|
5067
5132
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.js
|
|
5068
|
-
var
|
|
5069
|
-
function
|
|
5070
|
-
if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(
|
|
5133
|
+
var lr = "Expected a function";
|
|
5134
|
+
function ur(e, t) {
|
|
5135
|
+
if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(lr);
|
|
5071
5136
|
var n = function() {
|
|
5072
5137
|
var r = arguments, i = t ? t.apply(this, r) : r[0], a = n.cache;
|
|
5073
5138
|
if (a.has(i)) return a.get(i);
|
|
5074
5139
|
var o = e.apply(this, r);
|
|
5075
5140
|
return n.cache = a.set(i, o) || a, o;
|
|
5076
5141
|
};
|
|
5077
|
-
return n.cache = new (
|
|
5142
|
+
return n.cache = new (ur.Cache || cr)(), n;
|
|
5078
5143
|
}
|
|
5079
|
-
|
|
5144
|
+
ur.Cache = cr;
|
|
5080
5145
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js
|
|
5081
|
-
var
|
|
5082
|
-
function
|
|
5083
|
-
var t =
|
|
5084
|
-
return n.size ===
|
|
5146
|
+
var dr = 500;
|
|
5147
|
+
function fr(e) {
|
|
5148
|
+
var t = ur(e, function(e) {
|
|
5149
|
+
return n.size === dr && n.clear(), e;
|
|
5085
5150
|
}), n = t.cache;
|
|
5086
5151
|
return t;
|
|
5087
5152
|
}
|
|
5088
5153
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js
|
|
5089
|
-
var
|
|
5154
|
+
var pr = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, mr = /\\(\\)?/g, hr = fr(function(e) {
|
|
5090
5155
|
var t = [];
|
|
5091
|
-
return e.charCodeAt(0) === 46 && t.push(""), e.replace(
|
|
5092
|
-
t.push(r ? i.replace(
|
|
5156
|
+
return e.charCodeAt(0) === 46 && t.push(""), e.replace(pr, function(e, n, r, i) {
|
|
5157
|
+
t.push(r ? i.replace(mr, "$1") : n || e);
|
|
5093
5158
|
}), t;
|
|
5094
5159
|
});
|
|
5095
5160
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js
|
|
5096
|
-
function
|
|
5097
|
-
return e == null ? "" :
|
|
5161
|
+
function gr(e) {
|
|
5162
|
+
return e == null ? "" : ln(e);
|
|
5098
5163
|
}
|
|
5099
5164
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js
|
|
5100
|
-
function
|
|
5101
|
-
return
|
|
5165
|
+
function _r(e, t) {
|
|
5166
|
+
return an(e) ? e : Pn(e, t) ? [e] : hr(gr(e));
|
|
5102
5167
|
}
|
|
5103
5168
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js
|
|
5104
|
-
var
|
|
5105
|
-
function
|
|
5106
|
-
if (typeof e == "string" ||
|
|
5169
|
+
var vr = 1 / 0;
|
|
5170
|
+
function yr(e) {
|
|
5171
|
+
if (typeof e == "string" || nn(e)) return e;
|
|
5107
5172
|
var t = e + "";
|
|
5108
|
-
return t == "0" && 1 / e == -
|
|
5173
|
+
return t == "0" && 1 / e == -vr ? "-0" : t;
|
|
5109
5174
|
}
|
|
5110
5175
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js
|
|
5111
|
-
function
|
|
5112
|
-
t =
|
|
5113
|
-
for (var n = 0, r = t.length; e != null && n < r;) e = e[
|
|
5176
|
+
function br(e, t) {
|
|
5177
|
+
t = _r(t, e);
|
|
5178
|
+
for (var n = 0, r = t.length; e != null && n < r;) e = e[yr(t[n++])];
|
|
5114
5179
|
return n && n == r ? e : void 0;
|
|
5115
5180
|
}
|
|
5116
5181
|
// ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js
|
|
5117
|
-
function
|
|
5118
|
-
var r = e == null ? void 0 :
|
|
5182
|
+
function xr(e, t, n) {
|
|
5183
|
+
var r = e == null ? void 0 : br(e, t);
|
|
5119
5184
|
return r === void 0 ? n : r;
|
|
5120
5185
|
}
|
|
5121
|
-
// ../../node_modules/.pnpm/zustand@5.
|
|
5122
|
-
var
|
|
5186
|
+
// ../../node_modules/.pnpm/zustand@5.1.0_@types+react@19.3.0_immer@11.2.10_react@19.3.1_use-sync-external-store@1.7.0_react@19.3.1_/node_modules/zustand/esm/vanilla.mjs
|
|
5187
|
+
var Sr = (e) => {
|
|
5123
5188
|
let t, n = /* @__PURE__ */ new Set(), r = (e, r) => {
|
|
5124
5189
|
let i = typeof e == "function" ? e(t) : e;
|
|
5125
5190
|
if (!Object.is(i, t)) {
|
|
@@ -5133,17 +5198,17 @@ var xr = (e) => {
|
|
|
5133
5198
|
subscribe: (e) => (n.add(e), () => n.delete(e))
|
|
5134
5199
|
}, o = t = e(r, i, a);
|
|
5135
5200
|
return a;
|
|
5136
|
-
},
|
|
5137
|
-
function
|
|
5138
|
-
let r = e.useSyncExternalStore(t.subscribe, e.useCallback(() => n(t.getState()), [t, n]),
|
|
5201
|
+
}, Cr = ((e) => e ? Sr(e) : Sr), wr = (e) => e;
|
|
5202
|
+
function Tr(t, n = wr) {
|
|
5203
|
+
let r = e.useSyncExternalStore(t.subscribe, e.useCallback(() => n(t.getState()), [t, n]), () => n(t.getInitialState()));
|
|
5139
5204
|
return e.useDebugValue(r), r;
|
|
5140
5205
|
}
|
|
5141
|
-
var
|
|
5142
|
-
let t =
|
|
5206
|
+
var Er = (e) => {
|
|
5207
|
+
let t = Cr(e), n = (e) => Tr(t, e);
|
|
5143
5208
|
return Object.assign(n, t), n;
|
|
5144
|
-
},
|
|
5145
|
-
function
|
|
5146
|
-
let t = (0, X.c)(3), n =
|
|
5209
|
+
}, Dr = ((e) => e ? Er(e) : Er), Or = /* @__PURE__ */ Ke(Rt(), 1), kr = (e) => typeof e == "object" && !!e && "one" in e && "many" in e && typeof e.one == "string" && typeof e.many == "string", Ar = (e, t) => t === 1 ? e.one : e.many;
|
|
5210
|
+
function jr(e) {
|
|
5211
|
+
let t = (0, X.c)(3), n = Mr, r, a;
|
|
5147
5212
|
t[0] === e ? (r = t[1], a = t[2]) : (r = () => {
|
|
5148
5213
|
if (process.env.NODE_ENV !== "development") return;
|
|
5149
5214
|
let t = /* @__PURE__ */ new Map();
|
|
@@ -5162,17 +5227,17 @@ function Ar(e) {
|
|
|
5162
5227
|
});
|
|
5163
5228
|
}, a = [e], t[0] = e, t[1] = r, t[2] = a), i(r, a);
|
|
5164
5229
|
}
|
|
5165
|
-
function
|
|
5230
|
+
function Mr(e) {
|
|
5166
5231
|
let t = [], n = (e, r) => {
|
|
5167
5232
|
Object.entries(e).forEach((e) => {
|
|
5168
5233
|
let [i, a] = e, o = r ? `${r}.${i}` : i;
|
|
5169
|
-
typeof a == "object" && a && !Array.isArray(a) && !
|
|
5234
|
+
typeof a == "object" && a && !Array.isArray(a) && !kr(a) ? n(a, o) : t.push(o);
|
|
5170
5235
|
});
|
|
5171
5236
|
};
|
|
5172
5237
|
return n(e, ""), t;
|
|
5173
5238
|
}
|
|
5174
|
-
|
|
5175
|
-
var
|
|
5239
|
+
Or.Utils.escapeExpression = (e) => String(e ?? "").replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">");
|
|
5240
|
+
var Nr = "language", Pr = Dr((e) => ({
|
|
5176
5241
|
language: "en",
|
|
5177
5242
|
explicitLanguage: void 0,
|
|
5178
5243
|
setLanguage: (t) => {
|
|
@@ -5182,32 +5247,32 @@ var Mr = "language", Nr = Er((e) => ({
|
|
|
5182
5247
|
explicitLanguage: n
|
|
5183
5248
|
});
|
|
5184
5249
|
try {
|
|
5185
|
-
globalThis.localStorage?.setItem(
|
|
5250
|
+
globalThis.localStorage?.setItem(Nr, n);
|
|
5186
5251
|
} catch {}
|
|
5187
5252
|
}
|
|
5188
5253
|
}));
|
|
5189
5254
|
function $(e, t) {
|
|
5190
5255
|
let n = (0, X.c)(18), r;
|
|
5191
5256
|
n[0] === t ? r = n[1] : (r = t === void 0 ? {} : t, n[0] = t, n[1] = r);
|
|
5192
|
-
let i = r, { language: a, setLanguage: o } =
|
|
5257
|
+
let i = r, { language: a, setLanguage: o } = Pr(), [s] = l(e), c = s[a], u = s.en, d;
|
|
5193
5258
|
n[2] !== c || n[3] !== u ? (d = (e) => {
|
|
5194
|
-
let t =
|
|
5195
|
-
return
|
|
5259
|
+
let t = xr(u, e);
|
|
5260
|
+
return xr(c, e, t);
|
|
5196
5261
|
}, n[2] = c, n[3] = u, n[4] = d) : d = n[4];
|
|
5197
5262
|
let f = d, p;
|
|
5198
5263
|
n[5] !== f || n[6] !== i.escapeValues ? (p = (e, t) => {
|
|
5199
5264
|
let n = `!!! ${e} !!!`, r = f(e);
|
|
5200
|
-
return
|
|
5265
|
+
return kr(r) && t && typeof t.count == "number" && (r = Ar(r, t.count)), r === void 0 || typeof r != "string" ? (console.error(`Missing translation for key: ${e}`), n) : Or.compile(r, { noEscape: i.escapeValues === !1 })(t);
|
|
5201
5266
|
}, n[5] = f, n[6] = i.escapeValues, n[7] = p) : p = n[7];
|
|
5202
5267
|
let m = p, h;
|
|
5203
5268
|
n[8] === m ? h = n[9] : (h = (e) => typeof e == "string" ? e : m(e.key, e.data), n[8] = m, n[9] = h);
|
|
5204
5269
|
let g = h, _;
|
|
5205
5270
|
n[10] === f ? _ = n[11] : (_ = (e, t) => {
|
|
5206
5271
|
let n = f(e);
|
|
5207
|
-
return n !== void 0 && (typeof n == "string" ||
|
|
5272
|
+
return n !== void 0 && (typeof n == "string" || kr(n) || t?.succeedIfKeyIsObject && typeof n == "object");
|
|
5208
5273
|
}, n[10] = f, n[11] = _);
|
|
5209
5274
|
let v = _;
|
|
5210
|
-
|
|
5275
|
+
jr(s);
|
|
5211
5276
|
let y;
|
|
5212
5277
|
return n[12] !== a || n[13] !== o || n[14] !== m || n[15] !== v || n[16] !== g ? (y = {
|
|
5213
5278
|
t: m,
|
|
@@ -5217,11 +5282,11 @@ function $(e, t) {
|
|
|
5217
5282
|
setLanguage: o
|
|
5218
5283
|
}, n[12] = a, n[13] = o, n[14] = m, n[15] = v, n[16] = g, n[17] = y) : y = n[17], y;
|
|
5219
5284
|
}
|
|
5220
|
-
function
|
|
5221
|
-
let e =
|
|
5285
|
+
function Fr() {
|
|
5286
|
+
let e = Pr.getState().explicitLanguage;
|
|
5222
5287
|
if (e) return e;
|
|
5223
5288
|
for (let e of ["localStorage", "sessionStorage"]) try {
|
|
5224
|
-
let t = Qe(globalThis[e]?.getItem(
|
|
5289
|
+
let t = Qe(globalThis[e]?.getItem(Nr));
|
|
5225
5290
|
if (t) return t;
|
|
5226
5291
|
} catch {}
|
|
5227
5292
|
for (let e of navigator.languages ?? [navigator.language]) {
|
|
@@ -5229,23 +5294,23 @@ function Pr() {
|
|
|
5229
5294
|
if (t) return t;
|
|
5230
5295
|
}
|
|
5231
5296
|
}
|
|
5232
|
-
function
|
|
5233
|
-
return
|
|
5297
|
+
function Ir(e = "en") {
|
|
5298
|
+
return Fr() ?? e;
|
|
5234
5299
|
}
|
|
5235
|
-
function
|
|
5236
|
-
|
|
5300
|
+
function Lr() {
|
|
5301
|
+
Pr.setState({ language: Ir() });
|
|
5237
5302
|
}
|
|
5238
5303
|
// ../../node_modules/.pnpm/jdenticon@3.3.0/node_modules/jdenticon/dist/jdenticon-module.mjs
|
|
5239
|
-
function
|
|
5304
|
+
function Rr(e, t, n) {
|
|
5240
5305
|
return parseInt(e.substr(t, n), 16);
|
|
5241
5306
|
}
|
|
5242
|
-
function
|
|
5307
|
+
function zr(e) {
|
|
5243
5308
|
return e |= 0, e < 0 ? "00" : e < 16 ? "0" + e.toString(16) : e < 256 ? e.toString(16) : "ff";
|
|
5244
5309
|
}
|
|
5245
|
-
function
|
|
5246
|
-
return n = n < 0 ? n + 6 : n > 6 ? n - 6 : n,
|
|
5310
|
+
function Br(e, t, n) {
|
|
5311
|
+
return n = n < 0 ? n + 6 : n > 6 ? n - 6 : n, zr(255 * (n < 1 ? e + (t - e) * n : n < 3 ? t : n < 4 ? e + (t - e) * (4 - n) : e));
|
|
5247
5312
|
}
|
|
5248
|
-
function
|
|
5313
|
+
function Vr(e) {
|
|
5249
5314
|
if (/^#[0-9a-f]{3,8}$/i.test(e)) {
|
|
5250
5315
|
let t, n = e.length;
|
|
5251
5316
|
if (n < 6) {
|
|
@@ -5255,18 +5320,18 @@ function Br(e) {
|
|
|
5255
5320
|
return (n == 7 || n > 8) && (t = e), t;
|
|
5256
5321
|
}
|
|
5257
5322
|
}
|
|
5258
|
-
function
|
|
5323
|
+
function Hr(e, t, n) {
|
|
5259
5324
|
let r;
|
|
5260
5325
|
if (t == 0) {
|
|
5261
|
-
let e =
|
|
5326
|
+
let e = zr(n * 255);
|
|
5262
5327
|
r = e + e + e;
|
|
5263
5328
|
} else {
|
|
5264
5329
|
let i = n <= .5 ? n * (t + 1) : n + t - n * t, a = n * 2 - i;
|
|
5265
|
-
r =
|
|
5330
|
+
r = Br(a, i, e * 6 + 2) + Br(a, i, e * 6) + Br(a, i, e * 6 - 2);
|
|
5266
5331
|
}
|
|
5267
5332
|
return "#" + r;
|
|
5268
5333
|
}
|
|
5269
|
-
function
|
|
5334
|
+
function Ur(e, t, n) {
|
|
5270
5335
|
let r = [
|
|
5271
5336
|
.55,
|
|
5272
5337
|
.5,
|
|
@@ -5276,14 +5341,14 @@ function Hr(e, t, n) {
|
|
|
5276
5341
|
.55,
|
|
5277
5342
|
.55
|
|
5278
5343
|
][e * 6 + .5 | 0];
|
|
5279
|
-
return n = n < .5 ? n * r * 2 : r + (n - .5) * (1 - r) * 2,
|
|
5344
|
+
return n = n < .5 ? n * r * 2 : r + (n - .5) * (1 - r) * 2, Hr(e, t, n);
|
|
5280
5345
|
}
|
|
5281
|
-
var
|
|
5346
|
+
var Wr = typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {}, Gr = {
|
|
5282
5347
|
V: "jdenticon_config",
|
|
5283
5348
|
n: "config"
|
|
5284
|
-
},
|
|
5285
|
-
function
|
|
5286
|
-
let n = typeof e == "object" && e || Gr
|
|
5349
|
+
}, Kr = {};
|
|
5350
|
+
function qr(e, t) {
|
|
5351
|
+
let n = typeof e == "object" && e || Kr[Gr.n] || Wr[Gr.V] || {}, r = n.lightness || {}, i = n.saturation || {}, a = "color" in i ? i.color : i, o = i.grayscale, s = n.backColor, c = n.padding;
|
|
5287
5352
|
function l(e, t) {
|
|
5288
5353
|
let n = r[e];
|
|
5289
5354
|
return n && n.length > 1 || (n = t), function(e) {
|
|
@@ -5300,25 +5365,25 @@ function Kr(e, t) {
|
|
|
5300
5365
|
D: typeof o == "number" ? o : 0,
|
|
5301
5366
|
p: l("color", [.4, .8]),
|
|
5302
5367
|
F: l("grayscale", [.3, .9]),
|
|
5303
|
-
G:
|
|
5368
|
+
G: Vr(s),
|
|
5304
5369
|
X: typeof e == "number" ? e : typeof c == "number" ? c : t
|
|
5305
5370
|
};
|
|
5306
5371
|
}
|
|
5307
|
-
var
|
|
5372
|
+
var Jr = class {
|
|
5308
5373
|
constructor(e, t) {
|
|
5309
5374
|
this.x = e, this.y = t;
|
|
5310
5375
|
}
|
|
5311
|
-
},
|
|
5376
|
+
}, Yr = class {
|
|
5312
5377
|
constructor(e, t, n, r) {
|
|
5313
5378
|
this.q = e, this.t = t, this.H = n, this.Y = r;
|
|
5314
5379
|
}
|
|
5315
5380
|
I(e, t, n, r) {
|
|
5316
5381
|
let i = this.q + this.H, a = this.t + this.H, o = this.Y;
|
|
5317
|
-
return o === 1 ? new
|
|
5382
|
+
return o === 1 ? new Jr(i - t - (r || 0), this.t + e) : o === 2 ? new Jr(i - e - (n || 0), a - t - (r || 0)) : o === 3 ? new Jr(this.q + t, a - e - (n || 0)) : new Jr(this.q + e, this.t + t);
|
|
5318
5383
|
}
|
|
5319
|
-
},
|
|
5384
|
+
}, Xr = new Yr(0, 0, 0, 0), Zr = class {
|
|
5320
5385
|
constructor(e) {
|
|
5321
|
-
this.J = e, this.u =
|
|
5386
|
+
this.J = e, this.u = Xr;
|
|
5322
5387
|
}
|
|
5323
5388
|
g(e, t) {
|
|
5324
5389
|
let n = t ? -2 : 2, r = [];
|
|
@@ -5367,7 +5432,7 @@ var qr = class {
|
|
|
5367
5432
|
], i);
|
|
5368
5433
|
}
|
|
5369
5434
|
};
|
|
5370
|
-
function
|
|
5435
|
+
function Qr(e, t, n, r) {
|
|
5371
5436
|
e %= 14;
|
|
5372
5437
|
let i, a, o, s, c, l;
|
|
5373
5438
|
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([
|
|
@@ -5403,40 +5468,40 @@ function Zr(e, t, n, r) {
|
|
|
5403
5468
|
n
|
|
5404
5469
|
]));
|
|
5405
5470
|
}
|
|
5406
|
-
function
|
|
5471
|
+
function $r(e, t, n) {
|
|
5407
5472
|
e %= 4;
|
|
5408
5473
|
let r;
|
|
5409
5474
|
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);
|
|
5410
5475
|
}
|
|
5411
|
-
function
|
|
5476
|
+
function ei(e, t) {
|
|
5412
5477
|
return e = t.W(e), [
|
|
5413
|
-
|
|
5414
|
-
|
|
5415
|
-
|
|
5416
|
-
|
|
5417
|
-
|
|
5478
|
+
Ur(e, t.D, t.F(0)),
|
|
5479
|
+
Ur(e, t.o, t.p(.5)),
|
|
5480
|
+
Ur(e, t.D, t.F(1)),
|
|
5481
|
+
Ur(e, t.o, t.p(1)),
|
|
5482
|
+
Ur(e, t.o, t.p(0))
|
|
5418
5483
|
];
|
|
5419
5484
|
}
|
|
5420
|
-
function
|
|
5421
|
-
let r =
|
|
5485
|
+
function ti(e, t, n) {
|
|
5486
|
+
let r = qr(n, .08);
|
|
5422
5487
|
r.G && e.m(r.G);
|
|
5423
5488
|
let i = e.k, a = .5 + i * r.X | 0;
|
|
5424
5489
|
i -= a * 2;
|
|
5425
|
-
let o = new
|
|
5490
|
+
let o = new Zr(e), s = 0 | i / 4, c = 0 | a + i / 2 - s * 2, l = 0 | a + i / 2 - s * 2;
|
|
5426
5491
|
function u(n, r, i, a, u) {
|
|
5427
|
-
let p =
|
|
5492
|
+
let p = Rr(t, i, 1), m = a ? Rr(t, a, 1) : 0;
|
|
5428
5493
|
e.L(d[f[n]]);
|
|
5429
|
-
for (let e = 0; e < u.length; e++) o.u = new
|
|
5494
|
+
for (let e = 0; e < u.length; e++) o.u = new Yr(c + u[e][0] * s, l + u[e][1] * s, s, m++ % 4), r(p, o, s, e);
|
|
5430
5495
|
e.M();
|
|
5431
5496
|
}
|
|
5432
|
-
let d =
|
|
5497
|
+
let d = ei(Rr(t, -7) / 268435455, r), f = [], p;
|
|
5433
5498
|
function m(e) {
|
|
5434
5499
|
if (e.indexOf(p) >= 0) {
|
|
5435
5500
|
for (let t = 0; t < e.length; t++) if (f.indexOf(e[t]) >= 0) return !0;
|
|
5436
5501
|
}
|
|
5437
5502
|
}
|
|
5438
|
-
for (let e = 0; e < 3; e++) p =
|
|
5439
|
-
u(0,
|
|
5503
|
+
for (let e = 0; e < 3; e++) p = Rr(t, 8 + e, 1) % d.length, (m([0, 4]) || m([2, 3])) && (p = 1), f.push(p);
|
|
5504
|
+
u(0, $r, 2, 3, [
|
|
5440
5505
|
[1, 0],
|
|
5441
5506
|
[2, 0],
|
|
5442
5507
|
[2, 3],
|
|
@@ -5445,19 +5510,19 @@ function ei(e, t, n) {
|
|
|
5445
5510
|
[3, 1],
|
|
5446
5511
|
[3, 2],
|
|
5447
5512
|
[0, 2]
|
|
5448
|
-
]), u(1,
|
|
5513
|
+
]), u(1, $r, 4, 5, [
|
|
5449
5514
|
[0, 0],
|
|
5450
5515
|
[3, 0],
|
|
5451
5516
|
[3, 3],
|
|
5452
5517
|
[0, 3]
|
|
5453
|
-
]), u(2,
|
|
5518
|
+
]), u(2, Qr, 1, null, [
|
|
5454
5519
|
[1, 1],
|
|
5455
5520
|
[2, 1],
|
|
5456
5521
|
[2, 2],
|
|
5457
5522
|
[1, 2]
|
|
5458
5523
|
]), e.finish();
|
|
5459
5524
|
}
|
|
5460
|
-
function
|
|
5525
|
+
function ni(e) {
|
|
5461
5526
|
var t = 0, n = 0, r = encodeURI(e) + "%80", i = [], a, o = [], s = 1732584193, c = 4023233417, l = ~s, u = ~c, d = 3285377520, f = [
|
|
5462
5527
|
s,
|
|
5463
5528
|
c,
|
|
@@ -5476,39 +5541,39 @@ function ti(e) {
|
|
|
5476
5541
|
for (t = 0; t < 40; t++) m += (f[t >> 3] >>> (7 - (t & 7)) * 4 & 15).toString(16);
|
|
5477
5542
|
return m;
|
|
5478
5543
|
}
|
|
5479
|
-
function
|
|
5544
|
+
function ri(e) {
|
|
5480
5545
|
return /^[0-9a-f]{11,}$/i.test(e) && e;
|
|
5481
5546
|
}
|
|
5482
|
-
function
|
|
5483
|
-
return
|
|
5547
|
+
function ii(e) {
|
|
5548
|
+
return ni(e == null ? "" : "" + e);
|
|
5484
5549
|
}
|
|
5485
5550
|
typeof document < "u" && document.querySelectorAll.bind(document);
|
|
5486
|
-
function
|
|
5551
|
+
function ai(e) {
|
|
5487
5552
|
return (e * 10 + .5 | 0) / 10;
|
|
5488
5553
|
}
|
|
5489
|
-
var
|
|
5554
|
+
var oi = class {
|
|
5490
5555
|
constructor() {
|
|
5491
5556
|
this.v = "";
|
|
5492
5557
|
}
|
|
5493
5558
|
g(e) {
|
|
5494
5559
|
let t = "";
|
|
5495
|
-
for (let n = 0; n < e.length; n++) t += (n ? "L" : "M") +
|
|
5560
|
+
for (let n = 0; n < e.length; n++) t += (n ? "L" : "M") + ai(e[n].x) + " " + ai(e[n].y);
|
|
5496
5561
|
this.v += t + "Z";
|
|
5497
5562
|
}
|
|
5498
5563
|
h(e, t, n) {
|
|
5499
|
-
let r = +!n, i =
|
|
5500
|
-
this.v += "M" +
|
|
5564
|
+
let r = +!n, i = ai(t / 2), a = ai(t), o = "a" + i + "," + i + " 0 1," + r + " ";
|
|
5565
|
+
this.v += "M" + ai(e.x) + " " + ai(e.y + t / 2) + o + a + ",0" + o + -a + ",0";
|
|
5501
5566
|
}
|
|
5502
|
-
},
|
|
5567
|
+
}, si = class {
|
|
5503
5568
|
constructor(e) {
|
|
5504
5569
|
this.A, this.B = {}, this.O = e, this.k = e.k;
|
|
5505
5570
|
}
|
|
5506
5571
|
m(e) {
|
|
5507
|
-
let t = /^(#......)(..)?/.exec(e), n = t[2] ?
|
|
5572
|
+
let t = /^(#......)(..)?/.exec(e), n = t[2] ? Rr(t[2], 0) / 255 : 1;
|
|
5508
5573
|
this.O.m(t[1], n);
|
|
5509
5574
|
}
|
|
5510
5575
|
L(e) {
|
|
5511
|
-
this.A = this.B[e] || (this.B[e] = new
|
|
5576
|
+
this.A = this.B[e] || (this.B[e] = new oi());
|
|
5512
5577
|
}
|
|
5513
5578
|
M() {}
|
|
5514
5579
|
g(e) {
|
|
@@ -5521,13 +5586,13 @@ var ai = class {
|
|
|
5521
5586
|
let e = this.B;
|
|
5522
5587
|
for (let t in e) e.hasOwnProperty(t) && this.O.P(t, e[t].v);
|
|
5523
5588
|
}
|
|
5524
|
-
},
|
|
5589
|
+
}, ci = {
|
|
5525
5590
|
R: "http://www.w3.org/2000/svg",
|
|
5526
5591
|
S: "width",
|
|
5527
5592
|
T: "height"
|
|
5528
|
-
},
|
|
5593
|
+
}, li = class {
|
|
5529
5594
|
constructor(e) {
|
|
5530
|
-
this.k = e, this.C = "<svg xmlns=\"" +
|
|
5595
|
+
this.k = e, this.C = "<svg xmlns=\"" + ci.R + "\" width=\"" + e + "\" height=\"" + e + "\" viewBox=\"0 0 " + e + " " + e + "\">";
|
|
5531
5596
|
}
|
|
5532
5597
|
m(e, t) {
|
|
5533
5598
|
t && (this.C += "<rect width=\"100%\" height=\"100%\" fill=\"" + e + "\" opacity=\"" + t.toFixed(2) + "\"/>");
|
|
@@ -5539,43 +5604,43 @@ var ai = class {
|
|
|
5539
5604
|
return this.C + "</svg>";
|
|
5540
5605
|
}
|
|
5541
5606
|
};
|
|
5542
|
-
function
|
|
5543
|
-
let r = new
|
|
5544
|
-
return
|
|
5607
|
+
function ui(e, t, n) {
|
|
5608
|
+
let r = new li(t);
|
|
5609
|
+
return ti(new si(r), ri(e) || ii(e), n), r.toString();
|
|
5545
5610
|
}
|
|
5546
5611
|
// src/lib/components/attraccess-user/AttraccessUserActionsContext.tsx
|
|
5547
|
-
var
|
|
5548
|
-
function
|
|
5612
|
+
var di = t({});
|
|
5613
|
+
function fi(e) {
|
|
5549
5614
|
let t = (0, X.c)(5), { children: n, onStartDirectMessage: r } = e, i;
|
|
5550
5615
|
t[0] === r ? i = t[1] : (i = { onStartDirectMessage: r }, t[0] = r, t[1] = i);
|
|
5551
5616
|
let a;
|
|
5552
|
-
return t[2] !== n || t[3] !== i ? (a = /* @__PURE__ */ q(
|
|
5617
|
+
return t[2] !== n || t[3] !== i ? (a = /* @__PURE__ */ q(di.Provider, {
|
|
5553
5618
|
value: i,
|
|
5554
5619
|
children: n
|
|
5555
5620
|
}), t[2] = n, t[3] = i, t[4] = a) : a = t[4], a;
|
|
5556
5621
|
}
|
|
5557
|
-
function
|
|
5558
|
-
return r(
|
|
5622
|
+
function pi() {
|
|
5623
|
+
return r(di);
|
|
5559
5624
|
}
|
|
5560
|
-
var
|
|
5625
|
+
var mi = {
|
|
5561
5626
|
unknown: "Unknown",
|
|
5562
5627
|
startDirectMessage: "Start direct message",
|
|
5563
5628
|
emailVerified: "Email verified",
|
|
5564
5629
|
emailUnverified: "Email not verified"
|
|
5565
|
-
},
|
|
5630
|
+
}, hi = {
|
|
5566
5631
|
unknown: "Gelöscht",
|
|
5567
5632
|
startDirectMessage: "Direktnachricht starten",
|
|
5568
5633
|
emailVerified: "E-Mail bestätigt",
|
|
5569
5634
|
emailUnverified: "E-Mail nicht bestätigt"
|
|
5570
5635
|
};
|
|
5571
5636
|
// src/lib/components/attraccess-user/AttraccessUser.tsx
|
|
5572
|
-
function
|
|
5637
|
+
function gi({ user: e, description: t, className: r, onStartDirectMessage: i, variant: a = "full", interactive: o = !0 }) {
|
|
5573
5638
|
let { t: c } = $({
|
|
5574
|
-
en:
|
|
5575
|
-
de:
|
|
5576
|
-
}), l =
|
|
5639
|
+
en: mi,
|
|
5640
|
+
de: hi
|
|
5641
|
+
}), l = pi(), u = !e || !!e?.deletedAt, d = s(() => {
|
|
5577
5642
|
if (u) return;
|
|
5578
|
-
let t =
|
|
5643
|
+
let t = ui(e?.id || "unknown", 100);
|
|
5579
5644
|
return `data:image/svg+xml;base64,${btoa(t)}`;
|
|
5580
5645
|
}, [u, e]), f = e?.username || c("unknown"), p = n(() => {
|
|
5581
5646
|
i ? i(e) : l.onStartDirectMessage(e);
|
|
@@ -5625,7 +5690,7 @@ function hi({ user: e, description: t, className: r, onStartDirectMessage: i, va
|
|
|
5625
5690
|
}) })] }) : x;
|
|
5626
5691
|
}
|
|
5627
5692
|
// src/lib/hooks/useDebounce.ts
|
|
5628
|
-
function
|
|
5693
|
+
function _i(e, t) {
|
|
5629
5694
|
let n = (0, X.c)(4), [r, a] = l(e), o, s;
|
|
5630
5695
|
return n[0] !== t || n[1] !== e ? (o = () => {
|
|
5631
5696
|
let n = setTimeout(() => {
|
|
@@ -5637,21 +5702,21 @@ function gi(e, t) {
|
|
|
5637
5702
|
}, 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;
|
|
5638
5703
|
}
|
|
5639
5704
|
// src/lib/hooks/useDateTimePreferences.ts
|
|
5640
|
-
var
|
|
5705
|
+
var vi = Dr(() => ({
|
|
5641
5706
|
dateTimeLocale: null,
|
|
5642
5707
|
userId: null
|
|
5643
5708
|
}));
|
|
5644
5709
|
// src/lib/hooks/useDateTimeLocale.ts
|
|
5645
|
-
function
|
|
5646
|
-
let t = (0, X.c)(4), { language: n } =
|
|
5710
|
+
function yi(e) {
|
|
5711
|
+
let t = (0, X.c)(4), { language: n } = Pr(), r = vi(bi), i;
|
|
5647
5712
|
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;
|
|
5648
5713
|
}
|
|
5649
|
-
function
|
|
5714
|
+
function bi(e) {
|
|
5650
5715
|
return e.dateTimeLocale;
|
|
5651
5716
|
}
|
|
5652
5717
|
// src/lib/hooks/useDateTimeFormatter.ts
|
|
5653
|
-
function
|
|
5654
|
-
let { showTime: t = !0, showDate: r = !0, showSeconds: i = !1 } = e ?? {}, a =
|
|
5718
|
+
function xi(e) {
|
|
5719
|
+
let { showTime: t = !0, showDate: r = !0, showSeconds: i = !1 } = e ?? {}, a = yi(e?.dateTimeLocale), o = s(() => {
|
|
5655
5720
|
let e = {};
|
|
5656
5721
|
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
5722
|
let n = new Intl.DateTimeFormat(a, e);
|
|
@@ -5669,13 +5734,13 @@ function bi(e) {
|
|
|
5669
5734
|
}, [o]);
|
|
5670
5735
|
}
|
|
5671
5736
|
// src/lib/hooks/useFormatDateTime.ts
|
|
5672
|
-
function
|
|
5673
|
-
let n = (0, X.c)(3), r =
|
|
5737
|
+
function Si(e, t) {
|
|
5738
|
+
let n = (0, X.c)(3), r = xi(t), i;
|
|
5674
5739
|
return n[0] !== e || n[1] !== r ? (i = r(e), n[0] = e, n[1] = r, n[2] = i) : i = n[2], i;
|
|
5675
5740
|
}
|
|
5676
5741
|
// src/lib/hooks/useFormatedDuration.ts
|
|
5677
|
-
function
|
|
5678
|
-
let { language: t } =
|
|
5742
|
+
function Ci(e) {
|
|
5743
|
+
let { language: t } = Pr(), r = n((e) => {
|
|
5679
5744
|
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;
|
|
5680
5745
|
try {
|
|
5681
5746
|
if (typeof Intl.DurationFormat == "function") return new Intl.DurationFormat(t, {
|
|
@@ -5720,13 +5785,13 @@ function Si(e) {
|
|
|
5720
5785
|
return s(() => r(e), [e, r]);
|
|
5721
5786
|
}
|
|
5722
5787
|
// src/lib/hooks/useUrlQuery.ts
|
|
5723
|
-
function
|
|
5788
|
+
function wi() {
|
|
5724
5789
|
let e = (0, X.c)(2), { search: t } = Pe(), n;
|
|
5725
5790
|
return e[0] === t ? n = e[1] : (n = new URLSearchParams(t), e[0] = t, e[1] = n), n;
|
|
5726
5791
|
}
|
|
5727
5792
|
// src/lib/hooks/useFormatNumber.ts
|
|
5728
|
-
function
|
|
5729
|
-
let t = (0, X.c)(5), { language: n } =
|
|
5793
|
+
function Ti(e) {
|
|
5794
|
+
let t = (0, X.c)(5), { language: n } = Pr(), r;
|
|
5730
5795
|
t[0] !== n || t[1] !== e ? (r = new Intl.NumberFormat(n, e), t[0] = n, t[1] = e, t[2] = r) : r = t[2];
|
|
5731
5796
|
let i = r, a;
|
|
5732
5797
|
return t[3] === i ? a = t[4] : (a = (e) => {
|
|
@@ -5735,23 +5800,23 @@ function wi(e) {
|
|
|
5735
5800
|
return isNaN(t) ? "-" : i.format(t);
|
|
5736
5801
|
}, t[3] = i, t[4] = a), a;
|
|
5737
5802
|
}
|
|
5738
|
-
function
|
|
5739
|
-
let t = (0, X.c)(3), n =
|
|
5803
|
+
function Ei(e) {
|
|
5804
|
+
let t = (0, X.c)(3), n = Ti(), r;
|
|
5740
5805
|
return t[0] !== n || t[1] !== e ? (r = n(e), t[0] = n, t[1] = e, t[2] = r) : r = t[2], r;
|
|
5741
5806
|
}
|
|
5742
5807
|
// src/lib/components/datetime-display/DateTimeDisplay.tsx
|
|
5743
|
-
function
|
|
5808
|
+
function Di(e) {
|
|
5744
5809
|
let t = (0, X.c)(7), n, r, i;
|
|
5745
5810
|
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);
|
|
5746
|
-
let a =
|
|
5811
|
+
let a = Si(n, r), o;
|
|
5747
5812
|
return t[4] !== a || t[5] !== i ? (o = /* @__PURE__ */ q("span", {
|
|
5748
5813
|
...i,
|
|
5749
5814
|
children: a
|
|
5750
5815
|
}), t[4] = a, t[5] = i, t[6] = o) : o = t[6], o;
|
|
5751
5816
|
}
|
|
5752
5817
|
// src/lib/components/duration-display/DurationDisplay.tsx
|
|
5753
|
-
function
|
|
5754
|
-
let r =
|
|
5818
|
+
function Oi({ minutes: e, alternativeText: t = "", ...n }) {
|
|
5819
|
+
let r = Ci(e ?? 0);
|
|
5755
5820
|
return e == null ? /* @__PURE__ */ q("span", {
|
|
5756
5821
|
...n,
|
|
5757
5822
|
children: t
|
|
@@ -5761,11 +5826,11 @@ function Di({ minutes: e, alternativeText: t = "", ...n }) {
|
|
|
5761
5826
|
});
|
|
5762
5827
|
}
|
|
5763
5828
|
// src/lib/components/StandardModal.tsx
|
|
5764
|
-
var
|
|
5765
|
-
function
|
|
5829
|
+
var ki = "bg-overlay";
|
|
5830
|
+
function Ai(e) {
|
|
5766
5831
|
let t = (0, X.c)(21), n, r, i, a, o, s;
|
|
5767
5832
|
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);
|
|
5768
|
-
let c = a?.className ? `${
|
|
5833
|
+
let c = a?.className ? `${ki} ${a.className}` : ki, l;
|
|
5769
5834
|
t[7] !== r || t[8] !== a || t[9] !== c ? (l = /* @__PURE__ */ q(ne, {
|
|
5770
5835
|
...a,
|
|
5771
5836
|
className: c,
|
|
@@ -5788,7 +5853,7 @@ function ki(e) {
|
|
|
5788
5853
|
children: d
|
|
5789
5854
|
}), t[18] = o, t[19] = d, t[20] = f) : f = t[20], f;
|
|
5790
5855
|
}
|
|
5791
|
-
var
|
|
5856
|
+
var ji = {
|
|
5792
5857
|
label: "Benutzer",
|
|
5793
5858
|
chooseUser: "Benutzer auswählen",
|
|
5794
5859
|
modalTitle: "Benutzer auswählen",
|
|
@@ -5802,7 +5867,7 @@ var Ai = {
|
|
|
5802
5867
|
empty: "Keine Benutzer gefunden",
|
|
5803
5868
|
loadError: "Benutzer konnten nicht geladen werden.",
|
|
5804
5869
|
retry: "Erneut versuchen"
|
|
5805
|
-
},
|
|
5870
|
+
}, Mi = {
|
|
5806
5871
|
label: "User",
|
|
5807
5872
|
chooseUser: "Choose user",
|
|
5808
5873
|
modalTitle: "Choose a user",
|
|
@@ -5818,7 +5883,7 @@ var Ai = {
|
|
|
5818
5883
|
retry: "Try again"
|
|
5819
5884
|
};
|
|
5820
5885
|
// src/lib/components/user-search/UserSearch.utils.ts
|
|
5821
|
-
function
|
|
5886
|
+
function Ni(e) {
|
|
5822
5887
|
let t = /* @__PURE__ */ new Map();
|
|
5823
5888
|
for (let n of e) {
|
|
5824
5889
|
let e = (n.username?.[0] ?? "#").toUpperCase(), r = t.get(e);
|
|
@@ -5830,9 +5895,9 @@ function Mi(e) {
|
|
|
5830
5895
|
}));
|
|
5831
5896
|
}
|
|
5832
5897
|
// src/lib/components/user-search/UserSearch.tsx
|
|
5833
|
-
var
|
|
5834
|
-
function
|
|
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 =
|
|
5898
|
+
var Pi = 50, Fi = 300;
|
|
5899
|
+
function Ii(e) {
|
|
5900
|
+
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 = _i(f, Fi), h = c(!0), g;
|
|
5836
5901
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (g = () => {
|
|
5837
5902
|
h.current ? h.current = !1 : (d(null), p(""));
|
|
5838
5903
|
}, t[0] = g) : g = t[0];
|
|
@@ -5841,24 +5906,24 @@ function Fi(e) {
|
|
|
5841
5906
|
let v;
|
|
5842
5907
|
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];
|
|
5843
5908
|
let y;
|
|
5844
|
-
t[7] === v ? y = t[8] : (y = {
|
|
5845
|
-
limit:
|
|
5909
|
+
t[7] === v ? y = t[8] : (y = { query: {
|
|
5910
|
+
limit: Pi,
|
|
5846
5911
|
search: v
|
|
5847
|
-
}, t[7] = v, t[8] = y);
|
|
5912
|
+
} }, t[7] = v, t[8] = y);
|
|
5848
5913
|
let b;
|
|
5849
5914
|
t[9] === n ? b = t[10] : (b = {
|
|
5850
5915
|
enabled: n,
|
|
5851
5916
|
initialPageParam: 1,
|
|
5852
|
-
getNextPageParam:
|
|
5917
|
+
getNextPageParam: Li
|
|
5853
5918
|
}, t[9] = n, t[10] = b);
|
|
5854
|
-
let { data: x, fetchNextPage: S, hasNextPage: C, isFetchingNextPage: w, isFetching: T, isLoading: E, isError: D, refetch: O } =
|
|
5919
|
+
let { data: x, fetchNextPage: S, hasNextPage: C, isFetchingNextPage: w, isFetching: T, isLoading: E, isError: D, refetch: O } = Ie(y, void 0, b), k;
|
|
5855
5920
|
if (t[11] !== x?.pages) {
|
|
5856
5921
|
let e = /* @__PURE__ */ new Map();
|
|
5857
5922
|
for (let t of x?.pages ?? []) for (let n of t.data) e.set(n.id, n);
|
|
5858
5923
|
k = [...e.values()], t[11] = x?.pages, t[12] = k;
|
|
5859
5924
|
} else k = t[12];
|
|
5860
5925
|
let A = k, j;
|
|
5861
|
-
t[13] === A ? j = t[14] : (j =
|
|
5926
|
+
t[13] === A ? j = t[14] : (j = Ni(A), t[13] = A, t[14] = j);
|
|
5862
5927
|
let M = j, N, ee;
|
|
5863
5928
|
t[15] !== s || t[16] !== u ? (N = () => {
|
|
5864
5929
|
s?.(u);
|
|
@@ -5920,10 +5985,10 @@ function Fi(e) {
|
|
|
5920
5985
|
fetchNextPage: S
|
|
5921
5986
|
}, 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;
|
|
5922
5987
|
}
|
|
5923
|
-
function
|
|
5988
|
+
function Li(e) {
|
|
5924
5989
|
return e.nextPage;
|
|
5925
5990
|
}
|
|
5926
|
-
function
|
|
5991
|
+
function Ri(e) {
|
|
5927
5992
|
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
5993
|
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, {
|
|
5929
5994
|
variant: "ghost",
|
|
@@ -5933,7 +5998,7 @@ function Li(e) {
|
|
|
5933
5998
|
id: s,
|
|
5934
5999
|
"aria-labelledby": `${o} ${s}`,
|
|
5935
6000
|
"data-cy": "user-picker-selected",
|
|
5936
|
-
children: /* @__PURE__ */ q(
|
|
6001
|
+
children: /* @__PURE__ */ q(gi, {
|
|
5937
6002
|
user: n,
|
|
5938
6003
|
interactive: !1
|
|
5939
6004
|
})
|
|
@@ -5965,15 +6030,15 @@ function Li(e) {
|
|
|
5965
6030
|
]
|
|
5966
6031
|
}), t[8] = l, t[9] = u, t[10] = d, t[11] = f) : f = t[11], f;
|
|
5967
6032
|
}
|
|
5968
|
-
var
|
|
6033
|
+
var zi = {
|
|
5969
6034
|
"--field-border": "var(--border-secondary)",
|
|
5970
6035
|
"--border-width-field": "1px"
|
|
5971
6036
|
};
|
|
5972
|
-
function
|
|
6037
|
+
function Bi(e) {
|
|
5973
6038
|
let t = (0, X.c)(53), { label: n, placeholder: r, size: i, resetSignal: o, onSelectionChange: s, afterAutocomplete: c, wrapperProps: l, afterSelection: u } = e, d;
|
|
5974
6039
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (d = {
|
|
5975
|
-
en:
|
|
5976
|
-
de:
|
|
6040
|
+
en: Mi,
|
|
6041
|
+
de: ji
|
|
5977
6042
|
}, t[0] = d) : d = t[0];
|
|
5978
6043
|
let { t: f } = $(d), p = a(), m = a(), { isOpen: h, open: g, close: _ } = ve(), v;
|
|
5979
6044
|
t[1] !== _ || t[2] !== h || t[3] !== s || t[4] !== g || t[5] !== o ? (v = {
|
|
@@ -5983,7 +6048,7 @@ function zi(e) {
|
|
|
5983
6048
|
resetSignal: o,
|
|
5984
6049
|
onSelectionChange: s
|
|
5985
6050
|
}, 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 } =
|
|
6051
|
+
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 } = Ii(v), H;
|
|
5987
6052
|
t[7] !== n || t[8] !== f ? (H = n ?? f("label"), t[7] = n, t[8] = f, t[9] = H) : H = t[9];
|
|
5988
6053
|
let U;
|
|
5989
6054
|
t[10] !== p || t[11] !== H ? (U = /* @__PURE__ */ q(ee, {
|
|
@@ -5992,7 +6057,7 @@ function zi(e) {
|
|
|
5992
6057
|
children: H
|
|
5993
6058
|
}), t[10] = p, t[11] = H, t[12] = U) : U = t[12];
|
|
5994
6059
|
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(
|
|
6060
|
+
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(Ri, {
|
|
5996
6061
|
selectedUser: b,
|
|
5997
6062
|
size: i,
|
|
5998
6063
|
open: g,
|
|
@@ -6007,7 +6072,7 @@ function zi(e) {
|
|
|
6007
6072
|
t[23] === f ? G = t[24] : (G = f("modalTitle"), t[23] = f, t[24] = G);
|
|
6008
6073
|
let K;
|
|
6009
6074
|
t[25] === G ? K = t[26] : (K = {
|
|
6010
|
-
style:
|
|
6075
|
+
style: zi,
|
|
6011
6076
|
"aria-label": G
|
|
6012
6077
|
}, t[25] = G, t[26] = K);
|
|
6013
6078
|
let ie;
|
|
@@ -6074,7 +6139,7 @@ function zi(e) {
|
|
|
6074
6139
|
textValue: e.username,
|
|
6075
6140
|
onAction: () => E(e),
|
|
6076
6141
|
"data-cy": `user-picker-item-${e.id}`,
|
|
6077
|
-
children: /* @__PURE__ */ q(
|
|
6142
|
+
children: /* @__PURE__ */ q(gi, {
|
|
6078
6143
|
user: e,
|
|
6079
6144
|
interactive: !1
|
|
6080
6145
|
})
|
|
@@ -6105,7 +6170,7 @@ function zi(e) {
|
|
|
6105
6170
|
]
|
|
6106
6171
|
})] }), 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
6172
|
let ae;
|
|
6108
|
-
t[43] !== D || t[44] !== h || t[45] !== K || t[46] !== ie ? (ae = /* @__PURE__ */ q(
|
|
6173
|
+
t[43] !== D || t[44] !== h || t[45] !== K || t[46] !== ie ? (ae = /* @__PURE__ */ q(Ai, {
|
|
6109
6174
|
isOpen: h,
|
|
6110
6175
|
onOpenChange: D,
|
|
6111
6176
|
size: "md",
|
|
@@ -6122,7 +6187,7 @@ function zi(e) {
|
|
|
6122
6187
|
]
|
|
6123
6188
|
}), t[48] = U, t[49] = W, t[50] = ae, t[51] = l, t[52] = oe) : oe = t[52], oe;
|
|
6124
6189
|
}
|
|
6125
|
-
var
|
|
6190
|
+
var Vi = {
|
|
6126
6191
|
search: {
|
|
6127
6192
|
label: "Ressourcen suchen",
|
|
6128
6193
|
placeholder: "Tippe um zu suchen"
|
|
@@ -6132,7 +6197,7 @@ var Bi = {
|
|
|
6132
6197
|
columns: { name: { header: "Name" } }
|
|
6133
6198
|
},
|
|
6134
6199
|
list: { label: "Zugewiesen an" }
|
|
6135
|
-
},
|
|
6200
|
+
}, Hi = {
|
|
6136
6201
|
search: {
|
|
6137
6202
|
label: "Search resources",
|
|
6138
6203
|
placeholder: "Type to search"
|
|
@@ -6142,22 +6207,22 @@ var Bi = {
|
|
|
6142
6207
|
columns: { name: { header: "Name" } }
|
|
6143
6208
|
},
|
|
6144
6209
|
list: { label: "Assigned to" }
|
|
6145
|
-
},
|
|
6210
|
+
}, Ui = (e) => {
|
|
6146
6211
|
let t = (0, X.c)(2), { children: n } = e, r;
|
|
6147
6212
|
return t[0] === n ? r = t[1] : (r = /* @__PURE__ */ q("div", {
|
|
6148
6213
|
className: "border border-border px-1 py-2 rounded-lg",
|
|
6149
6214
|
children: n
|
|
6150
6215
|
}), t[0] = n, t[1] = r), r;
|
|
6151
6216
|
};
|
|
6152
|
-
function
|
|
6217
|
+
function Wi(e) {
|
|
6153
6218
|
let { selection: t, onSelectionChange: n, multiple: r = !0, listClassName: i = "" } = e, [a, o] = l(""), { t: s } = $({
|
|
6154
|
-
de:
|
|
6155
|
-
en:
|
|
6156
|
-
}), { data: c, isLoading: u } =
|
|
6219
|
+
de: Vi,
|
|
6220
|
+
en: Hi
|
|
6221
|
+
}), { data: c, isLoading: u } = Le({ query: {
|
|
6157
6222
|
limit: 15,
|
|
6158
6223
|
page: 1,
|
|
6159
6224
|
search: a
|
|
6160
|
-
});
|
|
6225
|
+
} });
|
|
6161
6226
|
return /* @__PURE__ */ J("div", {
|
|
6162
6227
|
className: "flex flex-col gap-2",
|
|
6163
6228
|
children: [/* @__PURE__ */ J(he, {
|
|
@@ -6219,7 +6284,7 @@ function Ui(e) {
|
|
|
6219
6284
|
});
|
|
6220
6285
|
}
|
|
6221
6286
|
// src/lib/components/Trans/index.tsx
|
|
6222
|
-
function
|
|
6287
|
+
function Gi(e) {
|
|
6223
6288
|
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;
|
|
6224
6289
|
for (; (o = r.exec(e)) !== null;) {
|
|
6225
6290
|
let s = o[0], c = o[1], l = s.startsWith("</"), u = /\/>\s*$/.test(s) || !l && s.endsWith("/>");
|
|
@@ -6277,7 +6342,7 @@ function Wi(e) {
|
|
|
6277
6342
|
}
|
|
6278
6343
|
return t.children;
|
|
6279
6344
|
}
|
|
6280
|
-
function
|
|
6345
|
+
function Ki(t, n, r = "k") {
|
|
6281
6346
|
let i = [];
|
|
6282
6347
|
return t.forEach((t, a) => {
|
|
6283
6348
|
let o = `${r}-${a}`;
|
|
@@ -6289,34 +6354,34 @@ function Gi(t, n, r = "k") {
|
|
|
6289
6354
|
if (e.isValidElement(s)) {
|
|
6290
6355
|
if (t.selfClosing) i.push(e.cloneElement(s, { key: o }));
|
|
6291
6356
|
else {
|
|
6292
|
-
let r =
|
|
6357
|
+
let r = Ki(t.children, n, o);
|
|
6293
6358
|
i.push(e.cloneElement(s, { key: o }, r));
|
|
6294
6359
|
}
|
|
6295
|
-
} else t.selfClosing || i.push(...
|
|
6360
|
+
} else t.selfClosing || i.push(...Ki(t.children, n, o));
|
|
6296
6361
|
}), i;
|
|
6297
6362
|
}
|
|
6298
|
-
function
|
|
6363
|
+
function qi(e) {
|
|
6299
6364
|
let t = (0, X.c)(9), { i18nKey: n, values: r, components: i, t: a } = e, o;
|
|
6300
6365
|
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];
|
|
6301
6366
|
let s = o, c;
|
|
6302
|
-
t[4] === s ? c = t[5] : (c =
|
|
6367
|
+
t[4] === s ? c = t[5] : (c = Gi(s), t[4] = s, t[5] = c);
|
|
6303
6368
|
let l = c, u;
|
|
6304
|
-
return t[6] !== i || t[7] !== l ? (u =
|
|
6369
|
+
return t[6] !== i || t[7] !== l ? (u = Ki(l, i), t[6] = i, t[7] = l, t[8] = u) : u = t[8], u;
|
|
6305
6370
|
}
|
|
6306
6371
|
// src/lib/components/AlertStatusIcon.tsx
|
|
6307
|
-
var
|
|
6372
|
+
var Ji = {
|
|
6308
6373
|
default: Ee,
|
|
6309
6374
|
accent: Ee,
|
|
6310
6375
|
success: Se,
|
|
6311
6376
|
warning: be,
|
|
6312
6377
|
danger: ye
|
|
6313
6378
|
};
|
|
6314
|
-
function
|
|
6315
|
-
let t = (0, X.c)(2), { status: n } = e, r =
|
|
6379
|
+
function Yi(e) {
|
|
6380
|
+
let t = (0, X.c)(2), { status: n } = e, r = Ji[n], i;
|
|
6316
6381
|
return t[0] === r ? i = t[1] : (i = /* @__PURE__ */ q(m, { children: /* @__PURE__ */ q(r, {}) }), t[0] = r, t[1] = i), i;
|
|
6317
6382
|
}
|
|
6318
6383
|
// src/lib/components/EmptyState.tsx
|
|
6319
|
-
function
|
|
6384
|
+
function Xi(e) {
|
|
6320
6385
|
let t = (0, X.c)(7), { message: n } = e, r;
|
|
6321
6386
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (r = {
|
|
6322
6387
|
en: { message: "No entries found" },
|
|
@@ -6339,7 +6404,7 @@ function Yi(e) {
|
|
|
6339
6404
|
}), t[5] = o, t[6] = s), s;
|
|
6340
6405
|
}
|
|
6341
6406
|
// src/lib/components/LabeledSwitch.tsx
|
|
6342
|
-
function
|
|
6407
|
+
function Zi(e) {
|
|
6343
6408
|
let t = (0, X.c)(11), n, r, i;
|
|
6344
6409
|
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);
|
|
6345
6410
|
let a;
|
|
@@ -6355,11 +6420,11 @@ function Xi(e) {
|
|
|
6355
6420
|
children: o
|
|
6356
6421
|
}), t[8] = i, t[9] = o, t[10] = s) : s = t[10], s;
|
|
6357
6422
|
}
|
|
6358
|
-
var
|
|
6423
|
+
var Qi = { loading: "Loading" }, $i = { loading: "Wird geladen" }, ea = (e) => {
|
|
6359
6424
|
let t = (0, X.c)(7), { label: n } = e, r;
|
|
6360
6425
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (r = {
|
|
6361
|
-
en:
|
|
6362
|
-
de:
|
|
6426
|
+
en: Qi,
|
|
6427
|
+
de: $i
|
|
6363
6428
|
}, t[0] = r) : r = t[0];
|
|
6364
6429
|
let { t: i } = $(r), a;
|
|
6365
6430
|
t[1] !== n || t[2] !== i ? (a = n ?? i("loading"), t[1] = n, t[2] = i, t[3] = a) : a = t[3];
|
|
@@ -6374,9 +6439,9 @@ var Zi = { loading: "Loading" }, Qi = { loading: "Wird geladen" }, $i = (e) => {
|
|
|
6374
6439
|
children: o
|
|
6375
6440
|
})
|
|
6376
6441
|
}), t[5] = a, t[6] = s), s;
|
|
6377
|
-
},
|
|
6378
|
-
function
|
|
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" ?
|
|
6442
|
+
}, ta = "md:max-w-2xl bg-overlay", na = `${ta} md:mx-auto`;
|
|
6443
|
+
function ra(e) {
|
|
6444
|
+
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" ? ta : na, l = s?.className ? `${c} ${s.className}` : c, u;
|
|
6380
6445
|
t[0] !== i || t[1] !== s || t[2] !== l ? (u = /* @__PURE__ */ q(w, {
|
|
6381
6446
|
...s,
|
|
6382
6447
|
className: l,
|
|
@@ -6396,9 +6461,9 @@ function na(e) {
|
|
|
6396
6461
|
}), t[7] = a, t[8] = n, t[9] = r, t[10] = d, t[11] = f) : f = t[11], f;
|
|
6397
6462
|
}
|
|
6398
6463
|
// src/lib/components/StatusAlert.tsx
|
|
6399
|
-
function
|
|
6464
|
+
function ia(e) {
|
|
6400
6465
|
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(
|
|
6466
|
+
t[0] === n ? o = t[1] : (o = /* @__PURE__ */ q(Yi, { status: n }), t[0] = n, t[1] = o);
|
|
6402
6467
|
let s;
|
|
6403
6468
|
t[2] === r ? s = t[3] : (s = r !== void 0 && /* @__PURE__ */ q(h, { children: r }), t[2] = r, t[3] = s);
|
|
6404
6469
|
let c;
|
|
@@ -6415,7 +6480,7 @@ function ra(e) {
|
|
|
6415
6480
|
}), t[10] = n, t[11] = o, t[12] = l, t[13] = p) : p = t[13], p;
|
|
6416
6481
|
}
|
|
6417
6482
|
// src/lib/components/button/index.tsx
|
|
6418
|
-
function
|
|
6483
|
+
function aa(e) {
|
|
6419
6484
|
let t = (0, X.c)(15), n, r, i, a;
|
|
6420
6485
|
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);
|
|
6421
6486
|
let o = i ? r ? "opacity-0" : "pr-5" : "", s;
|
|
@@ -6438,30 +6503,30 @@ function ia(e) {
|
|
|
6438
6503
|
children: s
|
|
6439
6504
|
}), t[10] = r, t[11] = i, t[12] = a, t[13] = s, t[14] = c) : c = t[14], c;
|
|
6440
6505
|
}
|
|
6441
|
-
var
|
|
6506
|
+
var oa = {
|
|
6442
6507
|
close: "Close",
|
|
6443
6508
|
cancel: "Cancel"
|
|
6444
|
-
},
|
|
6509
|
+
}, sa = {
|
|
6445
6510
|
close: "Schließen",
|
|
6446
6511
|
cancel: "Abbrechen"
|
|
6447
|
-
},
|
|
6512
|
+
}, ca = {
|
|
6448
6513
|
default: "default",
|
|
6449
6514
|
info: "accent",
|
|
6450
6515
|
success: "success",
|
|
6451
6516
|
warning: "warning",
|
|
6452
6517
|
error: "danger"
|
|
6453
|
-
},
|
|
6518
|
+
}, la = (e) => {
|
|
6454
6519
|
e.target === e.currentTarget && e.preventDefault();
|
|
6455
6520
|
};
|
|
6456
|
-
function
|
|
6521
|
+
function ua(e) {
|
|
6457
6522
|
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;
|
|
6458
6523
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (d = {
|
|
6459
|
-
en:
|
|
6460
|
-
de:
|
|
6524
|
+
en: oa,
|
|
6525
|
+
de: sa
|
|
6461
6526
|
}, t[0] = d) : d = t[0];
|
|
6462
6527
|
let { t: f } = $(d), m = i === "error", h;
|
|
6463
6528
|
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];
|
|
6464
|
-
let g =
|
|
6529
|
+
let g = ca[i], _;
|
|
6465
6530
|
t[4] === g ? _ = t[5] : (_ = /* @__PURE__ */ q(p.Icon, { status: g }), t[4] = g, t[5] = _);
|
|
6466
6531
|
let v;
|
|
6467
6532
|
t[6] === a ? v = t[7] : (v = /* @__PURE__ */ q(p.Heading, { children: a }), t[6] = a, t[7] = v);
|
|
@@ -6475,7 +6540,7 @@ function la(e) {
|
|
|
6475
6540
|
let x = s ? "tertiary" : "primary", S = s?.isPending, C = l ?? (u ? `${u}-close` : void 0), w;
|
|
6476
6541
|
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];
|
|
6477
6542
|
let T;
|
|
6478
|
-
t[17] !== r || t[18] !== w || t[19] !== x || t[20] !== S || t[21] !== C ? (T = /* @__PURE__ */ q(
|
|
6543
|
+
t[17] !== r || t[18] !== w || t[19] !== x || t[20] !== S || t[21] !== C ? (T = /* @__PURE__ */ q(aa, {
|
|
6479
6544
|
variant: x,
|
|
6480
6545
|
onPress: r,
|
|
6481
6546
|
isDisabled: S,
|
|
@@ -6483,7 +6548,7 @@ function la(e) {
|
|
|
6483
6548
|
children: w
|
|
6484
6549
|
}), t[17] = r, t[18] = w, t[19] = x, t[20] = S, t[21] = C, t[22] = T) : T = t[22];
|
|
6485
6550
|
let E;
|
|
6486
|
-
t[23] !== s || t[24] !== m ? (E = s && /* @__PURE__ */ q(
|
|
6551
|
+
t[23] !== s || t[24] !== m ? (E = s && /* @__PURE__ */ q(aa, {
|
|
6487
6552
|
variant: m ? "danger" : "primary",
|
|
6488
6553
|
onPress: () => void s.onPress(),
|
|
6489
6554
|
isPending: s.isPending,
|
|
@@ -6509,27 +6574,27 @@ function la(e) {
|
|
|
6509
6574
|
onOpenChange: h,
|
|
6510
6575
|
isDismissable: !1,
|
|
6511
6576
|
isKeyboardDismissDisabled: !1,
|
|
6512
|
-
onMouseDown:
|
|
6577
|
+
onMouseDown: la,
|
|
6513
6578
|
children: O
|
|
6514
6579
|
}), t[34] = n, t[35] = h, t[36] = O, t[37] = k) : k = t[37], k;
|
|
6515
6580
|
}
|
|
6516
|
-
var
|
|
6581
|
+
var da = {
|
|
6517
6582
|
title: "Confirm Deletion",
|
|
6518
6583
|
message: "Are you sure you want to delete <bold>{{itemName}}</bold>?<alert>This action cannot be undone.</alert>",
|
|
6519
6584
|
cancelButton: "Cancel",
|
|
6520
6585
|
deleteButton: "Delete"
|
|
6521
|
-
},
|
|
6586
|
+
}, fa = {
|
|
6522
6587
|
title: "Löschen bestätigen",
|
|
6523
6588
|
message: "Sind Sie sicher, dass Sie <bold>{{itemName}}</bold> löschen möchten?<alert>Diese Aktion kann nicht rückgängig gemacht werden.</alert>",
|
|
6524
6589
|
cancelButton: "Abbrechen",
|
|
6525
6590
|
deleteButton: "Löschen"
|
|
6526
6591
|
};
|
|
6527
6592
|
// src/lib/components/delete-confirmation-modal/index.tsx
|
|
6528
|
-
function
|
|
6593
|
+
function pa(e) {
|
|
6529
6594
|
let t = (0, X.c)(25), { isOpen: n, onClose: r, onConfirm: i, itemName: a, isDeleting: o, "data-cy": s } = e, c;
|
|
6530
6595
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (c = {
|
|
6531
|
-
en:
|
|
6532
|
-
de:
|
|
6596
|
+
en: da,
|
|
6597
|
+
de: fa
|
|
6533
6598
|
}, t[0] = c) : c = t[0];
|
|
6534
6599
|
let { t: l } = $(c), u;
|
|
6535
6600
|
t[1] === l ? u = t[2] : (u = l("title"), t[1] = l, t[2] = u);
|
|
@@ -6552,7 +6617,7 @@ function fa(e) {
|
|
|
6552
6617
|
alert: /* @__PURE__ */ q("span", { className: "block mt-2 text-danger" })
|
|
6553
6618
|
}, t[13] = h) : h = t[13];
|
|
6554
6619
|
let g;
|
|
6555
|
-
t[14] !== l || t[15] !== m ? (g = /* @__PURE__ */ q("p", { children: /* @__PURE__ */ q(
|
|
6620
|
+
t[14] !== l || t[15] !== m ? (g = /* @__PURE__ */ q("p", { children: /* @__PURE__ */ q(qi, {
|
|
6556
6621
|
t: l,
|
|
6557
6622
|
count: 1,
|
|
6558
6623
|
i18nKey: "message",
|
|
@@ -6560,7 +6625,7 @@ function fa(e) {
|
|
|
6560
6625
|
components: h
|
|
6561
6626
|
}) }), t[14] = l, t[15] = m, t[16] = g) : g = t[16];
|
|
6562
6627
|
let _;
|
|
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(
|
|
6628
|
+
return t[17] !== s || t[18] !== n || t[19] !== r || t[20] !== u || t[21] !== d || t[22] !== p || t[23] !== g ? (_ = /* @__PURE__ */ q(ua, {
|
|
6564
6629
|
isOpen: n,
|
|
6565
6630
|
onClose: r,
|
|
6566
6631
|
status: "error",
|
|
@@ -6573,8 +6638,8 @@ function fa(e) {
|
|
|
6573
6638
|
}), 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], _;
|
|
6574
6639
|
}
|
|
6575
6640
|
// src/lib/components/page-header/actions.tsx
|
|
6576
|
-
var
|
|
6577
|
-
function
|
|
6641
|
+
var ma = 6;
|
|
6642
|
+
function ha(e) {
|
|
6578
6643
|
return {
|
|
6579
6644
|
variant: e.variant === "primary" ? "primary" : "outline",
|
|
6580
6645
|
size: "sm",
|
|
@@ -6586,14 +6651,14 @@ function ma(e) {
|
|
|
6586
6651
|
children: e.isIconOnly ? e.icon : /* @__PURE__ */ J(Ne, { children: [e.icon, e.label] })
|
|
6587
6652
|
};
|
|
6588
6653
|
}
|
|
6589
|
-
function
|
|
6590
|
-
let t =
|
|
6591
|
-
return "renderTrigger" in e && e.renderTrigger ? /* @__PURE__ */ q("span", { children: e.renderTrigger(t) }, e.key) : /* @__PURE__ */ q(
|
|
6654
|
+
function ga(e) {
|
|
6655
|
+
let t = ha(e);
|
|
6656
|
+
return "renderTrigger" in e && e.renderTrigger ? /* @__PURE__ */ q("span", { children: e.renderTrigger(t) }, e.key) : /* @__PURE__ */ q(aa, {
|
|
6592
6657
|
...t,
|
|
6593
6658
|
onPress: e.onPress
|
|
6594
6659
|
}, e.key);
|
|
6595
6660
|
}
|
|
6596
|
-
function
|
|
6661
|
+
function _a(e) {
|
|
6597
6662
|
return /* @__PURE__ */ J(E, {
|
|
6598
6663
|
id: e.key,
|
|
6599
6664
|
onPress: e.onPress,
|
|
@@ -6606,7 +6671,7 @@ function ga(e) {
|
|
|
6606
6671
|
}), e.label]
|
|
6607
6672
|
}, e.key);
|
|
6608
6673
|
}
|
|
6609
|
-
function
|
|
6674
|
+
function va({ actions: e, maxVisible: t = ma, moreLabel: n }) {
|
|
6610
6675
|
let { t: r } = $({
|
|
6611
6676
|
en: { more: "More actions" },
|
|
6612
6677
|
de: { more: "Weitere Aktionen" }
|
|
@@ -6615,7 +6680,7 @@ function _a({ actions: e, maxVisible: t = pa, moreLabel: n }) {
|
|
|
6615
6680
|
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
6681
|
for (let e of o) "renderTrigger" in e && e.renderTrigger ? u.push(e) : f < l ? (u.push(e), f += 1) : d.push(e);
|
|
6617
6682
|
let p = [...d, ...a], m = p.length > 0, h = n ?? r("more");
|
|
6618
|
-
return /* @__PURE__ */ J(Ne, { children: [u.map(
|
|
6683
|
+
return /* @__PURE__ */ J(Ne, { children: [u.map(ga), m && /* @__PURE__ */ J(T, { children: [/* @__PURE__ */ q(k, {
|
|
6619
6684
|
className: _e(Re({
|
|
6620
6685
|
variant: "outline",
|
|
6621
6686
|
size: "sm",
|
|
@@ -6626,18 +6691,18 @@ function _a({ actions: e, maxVisible: t = pa, moreLabel: n }) {
|
|
|
6626
6691
|
children: /* @__PURE__ */ q(ke, { className: "w-4 h-4" })
|
|
6627
6692
|
}), /* @__PURE__ */ q(O, { children: /* @__PURE__ */ q(D, {
|
|
6628
6693
|
"aria-label": h,
|
|
6629
|
-
children: p.map(
|
|
6694
|
+
children: p.map(_a)
|
|
6630
6695
|
}) })] })] });
|
|
6631
6696
|
}
|
|
6632
6697
|
// src/lib/components/page-header/accessory.tsx
|
|
6633
|
-
var
|
|
6634
|
-
function
|
|
6698
|
+
var ya = t(null), ba = (e) => e.reduce((e, t) => !e || e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_PRECEDING ? t : e, null);
|
|
6699
|
+
function xa(e) {
|
|
6635
6700
|
let t = (0, X.c)(10), { accessory: n, children: r } = e, i;
|
|
6636
6701
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (i = [], t[0] = i) : i = t[0];
|
|
6637
6702
|
let [a, o] = l(i), s;
|
|
6638
6703
|
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
6704
|
let c = s, u;
|
|
6640
|
-
t[2] === a ? u = t[3] : (u =
|
|
6705
|
+
t[2] === a ? u = t[3] : (u = ba(a), t[2] = a, t[3] = u);
|
|
6641
6706
|
let d = u, f;
|
|
6642
6707
|
t[4] !== n || t[5] !== d ? (f = {
|
|
6643
6708
|
accessory: n,
|
|
@@ -6645,21 +6710,21 @@ function ba(e) {
|
|
|
6645
6710
|
owner: d
|
|
6646
6711
|
}, t[4] = n, t[5] = d, t[6] = f) : f = t[6];
|
|
6647
6712
|
let p = f, m;
|
|
6648
|
-
return t[7] !== r || t[8] !== p ? (m = /* @__PURE__ */ q(
|
|
6713
|
+
return t[7] !== r || t[8] !== p ? (m = /* @__PURE__ */ q(ya.Provider, {
|
|
6649
6714
|
value: p,
|
|
6650
6715
|
children: r
|
|
6651
6716
|
}), t[7] = r, t[8] = p, t[9] = m) : m = t[9], m;
|
|
6652
6717
|
}
|
|
6653
|
-
function
|
|
6654
|
-
let t = (0, X.c)(4), n = r(
|
|
6718
|
+
function Sa(e) {
|
|
6719
|
+
let t = (0, X.c)(4), n = r(ya), i = n?.register, a, s;
|
|
6655
6720
|
return t[0] !== e || t[1] !== i ? (a = () => {
|
|
6656
6721
|
if (i && e.current) return i(e.current);
|
|
6657
6722
|
}, 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;
|
|
6658
6723
|
}
|
|
6659
6724
|
// src/lib/components/page-header/index.tsx
|
|
6660
|
-
function
|
|
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 =
|
|
6662
|
-
t[0] === o ? _ = t[1] : (_ = !!o && o.some(
|
|
6725
|
+
function Ca(e) {
|
|
6726
|
+
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 = Sa(h), _;
|
|
6727
|
+
t[0] === o ? _ = t[1] : (_ = !!o && o.some(wa), t[0] = o, t[1] = _);
|
|
6663
6728
|
let v = _, b = d && "mb-0", x;
|
|
6664
6729
|
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
6730
|
let S;
|
|
@@ -6718,7 +6783,7 @@ function Sa(e) {
|
|
|
6718
6783
|
let k;
|
|
6719
6784
|
t[25] !== g || t[26] !== o || t[27] !== v || t[28] !== s || t[29] !== l ? (k = (v || g) && /* @__PURE__ */ J("div", {
|
|
6720
6785
|
className: "flex items-center gap-2 flex-wrap empty:hidden",
|
|
6721
|
-
children: [g && /* @__PURE__ */ q(g, {}), v && /* @__PURE__ */ q(
|
|
6786
|
+
children: [g && /* @__PURE__ */ q(g, {}), v && /* @__PURE__ */ q(va, {
|
|
6722
6787
|
actions: o,
|
|
6723
6788
|
maxVisible: s,
|
|
6724
6789
|
moreLabel: l
|
|
@@ -6731,22 +6796,22 @@ function Sa(e) {
|
|
|
6731
6796
|
children: [O, k]
|
|
6732
6797
|
}), t[31] = O, t[32] = k, t[33] = x, t[34] = A) : A = t[34], A;
|
|
6733
6798
|
}
|
|
6734
|
-
function
|
|
6799
|
+
function wa(e) {
|
|
6735
6800
|
return !e.isHidden;
|
|
6736
6801
|
}
|
|
6737
|
-
var
|
|
6802
|
+
var Ta = {
|
|
6738
6803
|
showPassword: "Show password",
|
|
6739
6804
|
hidePassword: "Hide password"
|
|
6740
|
-
},
|
|
6805
|
+
}, Ea = {
|
|
6741
6806
|
showPassword: "Passwort anzeigen",
|
|
6742
6807
|
hidePassword: "Passwort verbergen"
|
|
6743
|
-
},
|
|
6808
|
+
}, Da = (e) => {
|
|
6744
6809
|
let t = (0, X.c)(58), n, r, i, a, o, s, c, u, d, f, p, m;
|
|
6745
6810
|
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
6811
|
let [h, g] = l(!1), _;
|
|
6747
6812
|
t[13] === Symbol.for("react.memo_cache_sentinel") ? (_ = {
|
|
6748
|
-
en:
|
|
6749
|
-
de:
|
|
6813
|
+
en: Ta,
|
|
6814
|
+
de: Ea
|
|
6750
6815
|
}, t[13] = _) : _ = t[13];
|
|
6751
6816
|
let { t: v } = $(_), b;
|
|
6752
6817
|
t[14] !== d || t[15] !== f ? (b = (e) => {
|
|
@@ -6765,7 +6830,7 @@ var wa = {
|
|
|
6765
6830
|
"data-cy": r
|
|
6766
6831
|
}), 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];
|
|
6767
6832
|
let E;
|
|
6768
|
-
t[27] === Symbol.for("react.memo_cache_sentinel") ? (E = () => g(
|
|
6833
|
+
t[27] === Symbol.for("react.memo_cache_sentinel") ? (E = () => g(Oa), t[27] = E) : E = t[27];
|
|
6769
6834
|
let D;
|
|
6770
6835
|
t[28] !== h || t[29] !== v ? (D = v(h ? "hidePassword" : "showPassword"), t[28] = h, t[29] = v, t[30] = D) : D = t[30];
|
|
6771
6836
|
let O;
|
|
@@ -6803,10 +6868,10 @@ var wa = {
|
|
|
6803
6868
|
]
|
|
6804
6869
|
}), 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;
|
|
6805
6870
|
};
|
|
6806
|
-
function
|
|
6871
|
+
function Oa(e) {
|
|
6807
6872
|
return !e;
|
|
6808
6873
|
}
|
|
6809
|
-
var
|
|
6874
|
+
var ka = {
|
|
6810
6875
|
add: "Add",
|
|
6811
6876
|
remove: "Remove",
|
|
6812
6877
|
empty: "Enter a value.",
|
|
@@ -6815,7 +6880,7 @@ var Oa = {
|
|
|
6815
6880
|
control: "Values cannot contain control characters.",
|
|
6816
6881
|
tooLong: "Values can be at most {{max}} characters long.",
|
|
6817
6882
|
limitReached: "The list can have at most {{max}} entries."
|
|
6818
|
-
},
|
|
6883
|
+
}, Aa = {
|
|
6819
6884
|
add: "Hinzufügen",
|
|
6820
6885
|
remove: "Entfernen",
|
|
6821
6886
|
empty: "Bitte einen Wert eingeben.",
|
|
@@ -6824,21 +6889,21 @@ var Oa = {
|
|
|
6824
6889
|
control: "Werte dürfen keine Steuerzeichen enthalten.",
|
|
6825
6890
|
tooLong: "Werte dürfen höchstens {{max}} Zeichen lang sein.",
|
|
6826
6891
|
limitReached: "Die Liste darf höchstens {{max}} Einträge haben."
|
|
6827
|
-
},
|
|
6828
|
-
function
|
|
6829
|
-
return n !== void 0 && t.length >= n ? "limitReached" : e.length === 0 ? "empty" : e.includes(",") ? "comma" :
|
|
6892
|
+
}, ja = /[\u0000-\u001f\u007f]/;
|
|
6893
|
+
function Ma(e, t, { maxEntries: n, maxLength: r } = {}) {
|
|
6894
|
+
return n !== void 0 && t.length >= n ? "limitReached" : e.length === 0 ? "empty" : e.includes(",") ? "comma" : ja.test(e) ? "control" : r !== void 0 && e.length > r ? "tooLong" : t.includes(e) ? "duplicate" : null;
|
|
6830
6895
|
}
|
|
6831
|
-
var
|
|
6896
|
+
var Na = (e) => {
|
|
6832
6897
|
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;
|
|
6833
6898
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (m = {
|
|
6834
|
-
en:
|
|
6835
|
-
de:
|
|
6899
|
+
en: ka,
|
|
6900
|
+
de: Aa
|
|
6836
6901
|
}, t[0] = m) : m = t[0];
|
|
6837
6902
|
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
6903
|
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];
|
|
6839
6904
|
let E = T, D;
|
|
6840
6905
|
t[8] !== g || t[9] !== u || t[10] !== d || t[11] !== a || t[12] !== i ? (D = () => {
|
|
6841
|
-
let e = g.trim(), t =
|
|
6906
|
+
let e = g.trim(), t = Ma(e, i, {
|
|
6842
6907
|
maxEntries: u,
|
|
6843
6908
|
maxLength: d
|
|
6844
6909
|
});
|
|
@@ -6934,4 +6999,4 @@ var Ma = (e) => {
|
|
|
6934
6999
|
children: [G, K]
|
|
6935
7000
|
}), t[62] = G, t[63] = K, t[64] = N, t[65] = re) : re = t[65], re;
|
|
6936
7001
|
};
|
|
6937
|
-
export {
|
|
7002
|
+
export { Yi as AlertStatusIcon, gi as AttraccessUser, fi as AttraccessUserActionsProvider, aa as Button, Di as DateTimeDisplay, pa as DeleteConfirmationModal, Oi as DurationDisplay, Xi as EmptyState, Nr as I18N_LANGUAGE_STORAGE_KEY, qi as I18nTransComponent, Zi as LabeledSwitch, Ui as ListboxWrapper, Ca as PageHeader, xa as PageHeaderAccessoryProvider, va as PageHeaderActions, Da as PasswordInput, Wi as ResourceSelector, ra as StandardDrawer, Ai as StandardModal, ia as StatusAlert, ua as StatusDialog, Na as StringListField, ea as TableDataLoadingIndicator, Bi as UserSearch, Lr as detectAndSetLanguage, Ir as detectLanguage, Fr as detectPreferredLanguage, pi as useAttraccessUserActions, xi as useDateTimeFormatter, yi as useDateTimeLocale, vi as useDateTimePreferences, _i as useDebounce, Si as useFormatDateTime, Ei as useFormatNumber, Ci as useFormatedDuration, Ti as useNumberFormatter, Pr as useTranslationState, $ as useTranslations, wi as useUrlQuery, Ma as validateStringListEntry };
|