@attraccess/plugins-frontend-ui 1.11.0-beta.0 → 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/index.js CHANGED
@@ -1,40 +1,40 @@
1
- import e, { createContext as t, useCallback as n, useContext as r, useEffect as i, useId as a, useMemo as o, useRef as s, useState as c } from "react";
2
- import { Alert as l, AlertContent as u, AlertDescription as d, AlertDialog as f, AlertIndicator as p, AlertTitle as m, Avatar as h, AvatarFallback as g, AvatarImage as _, Button as v, Checkbox as y, Description as b, DrawerBackdrop as x, DrawerContent as S, DrawerDialog as C, Dropdown as w, DropdownItem as T, DropdownMenu as E, DropdownPopover as D, DropdownTrigger as O, FieldError as k, Header as A, Input as j, InputGroup as M, Label as N, ListBox as P, ListBoxItem as F, ListBoxSection as I, Modal as L, ModalBackdrop as R, ModalBody as z, ModalContainer as B, ModalDialog as V, ModalHeader as ee, ModalHeading as H, Popover as U, ProgressCircle as W, ProgressCircleFillCircle as G, ProgressCircleTrack as K, ProgressCircleTrackCircle as q, Spinner as te, Switch as J, TableBody as ne, TableCell as re, TableColumn as ie, TableContent as ae, TableHeader as oe, TableRoot as se, TableRow as ce, TableScrollContainer as le, Tag as ue, TagGroup as de, TextField as fe, Tooltip as pe, cn as me, useOverlayState as he } from "@heroui/react";
3
- import { AlertCircleIcon as ge, AlertTriangleIcon as _e, ArrowLeft as ve, CheckCircle2Icon as ye, ChevronDownIcon as be, Eye as xe, EyeOff as Se, InfoIcon as Ce, MehIcon as we, MessageCircleIcon as Te, MoreVerticalIcon as Ee, SearchIcon as De, UserPlusIcon as Oe, XIcon as ke } from "lucide-react";
4
- import { Fragment as Ae, jsx as Y, jsxs as X } from "react/jsx-runtime";
5
- import { useLocation as je, useNavigate as Me } from "react-router-dom";
6
- import { useResourcesServiceGetAllResources as Ne, useUsersServiceFindManyInfinite as Pe } from "@attraccess/react-query-client";
7
- import { buttonVariants as Fe } from "@heroui/styles";
8
- //#region \0rolldown/runtime.js
9
- var Ie = Object.create, Le = Object.defineProperty, Re = Object.getOwnPropertyDescriptor, ze = Object.getOwnPropertyNames, Be = Object.getPrototypeOf, Ve = Object.prototype.hasOwnProperty, Z = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), He = (e, t, n, r) => {
10
- if (t && typeof t == "object" || typeof t == "function") for (var i = ze(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !Ve.call(e, s) && s !== n && Le(e, s, {
1
+ import e, { createContext as t, useCallback as n, useContext as r, useEffect as i, useId as a, useLayoutEffect as o, useMemo as s, useRef as c, useState as l } from "react";
2
+ import { Alert as u, AlertContent as d, AlertDescription as f, AlertDialog as p, AlertIndicator as m, AlertTitle as h, Avatar as g, AvatarFallback as _, AvatarImage as v, Button as y, Checkbox as b, Description as x, DrawerBackdrop as S, DrawerContent as C, DrawerDialog as w, Dropdown as T, DropdownItem as E, DropdownMenu as D, DropdownPopover as O, DropdownTrigger as k, FieldError as A, Header as j, Input as M, InputGroup as N, Label as ee, ListBox as P, ListBoxItem as F, ListBoxSection as I, Modal as L, ModalBackdrop as R, ModalBody as te, ModalContainer as z, ModalDialog as ne, ModalHeader as B, ModalHeading as V, Popover as H, ProgressCircle as U, ProgressCircleFillCircle as W, ProgressCircleTrack as G, ProgressCircleTrackCircle as K, Spinner as re, Switch as ie, TableBody as ae, TableCell as oe, TableColumn as se, TableContent as ce, TableHeader as le, TableRoot as ue, TableRow as de, TableScrollContainer as fe, Tag as pe, TagGroup as me, TextField as he, Tooltip as ge, cn as _e, useOverlayState as ve } from "@heroui/react";
3
+ import { AlertCircleIcon as ye, AlertTriangleIcon as be, ArrowLeft as xe, CheckCircle2Icon as Se, ChevronDownIcon as Ce, Eye as we, EyeOff as Te, InfoIcon as Ee, MehIcon as De, MessageCircleIcon as Oe, MoreVerticalIcon as ke, SearchIcon as Ae, UserPlusIcon as je, XIcon as Me } from "lucide-react";
4
+ import { Fragment as Ne, jsx as q, jsxs as J } from "react/jsx-runtime";
5
+ import { useLocation as Pe, useNavigate as Fe } from "react-router-dom";
6
+ import { useFindManyInfinite as Ie, useGetAllResources as Le } from "@attraccess/react-query-client";
7
+ import { buttonVariants as Re } from "@heroui/styles";
8
+ // \0rolldown/runtime.js
9
+ var ze = Object.create, Be = Object.defineProperty, Ve = Object.getOwnPropertyDescriptor, He = Object.getOwnPropertyNames, Ue = Object.getPrototypeOf, We = Object.prototype.hasOwnProperty, Y = (e, t) => () => (t || (e((t = { exports: {} }).exports, t, t.exports), e = null), t.exports), Ge = (e, t, n, r) => {
10
+ if (t && typeof t == "object" || typeof t == "function") for (var i = He(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !We.call(e, s) && s !== n && Be(e, s, {
11
11
  get: ((e) => t[e]).bind(null, s),
12
- enumerable: !(r = Re(t, s)) || r.enumerable
12
+ enumerable: !(r = Ve(t, s)) || r.enumerable
13
13
  });
14
14
  return e;
15
- }, Ue = (e, t, n) => (n = e == null ? {} : Ie(Be(e)), He(t || !e || !e.__esModule || !Ve.call(e, "default") ? Le(n, "default", {
15
+ }, Ke = (e, t, n) => (n = e == null ? {} : ze(Ue(e)), Ge(t || !e || !e.__esModule || !We.call(e, "default") ? Be(n, "default", {
16
16
  value: e,
17
17
  enumerable: !0
18
- }) : n, e)), We = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(e) {
18
+ }) : n, e)), qe = /* @__PURE__ */ ((e) => typeof require < "u" ? require : typeof Proxy < "u" ? new Proxy(e, { get: (e, t) => (typeof require < "u" ? require : e)[t] }) : e)(function(e) {
19
19
  if (typeof require < "u") return require.apply(this, arguments);
20
20
  throw Error("Calling `require` for \"" + e + "\" in an environment that doesn't expose the `require` function. See https://rolldown.rs/in-depth/bundling-cjs#require-external-modules for more details.");
21
- }), Ge = /* @__PURE__ */ Z(((e) => {
22
- var t = We("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
21
+ }), Je = /* @__PURE__ */ Y(((e) => {
22
+ var t = qe("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
23
23
  e.c = function(e) {
24
24
  return t.H.useMemoCache(e);
25
25
  };
26
- })), Ke = /* @__PURE__ */ Z(((e) => {
26
+ })), Ye = /* @__PURE__ */ Y(((e) => {
27
27
  process.env.NODE_ENV !== "production" && (function() {
28
- var t = We("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
28
+ var t = qe("react").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
29
29
  e.c = function(e) {
30
30
  var n = t.H;
31
31
  return n === null && console.error("Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:\n1. You might have mismatching versions of React and the renderer (such as React DOM)\n2. You might be breaking the Rules of Hooks\n3. You might have more than one copy of React in the same app\nSee https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem."), n.useMemoCache(e);
32
32
  };
33
33
  })();
34
- })), Q = (/* @__PURE__ */ Z(((e, t) => {
35
- t.exports = process.env.NODE_ENV === "production" ? Ge() : Ke();
34
+ })), X = (/* @__PURE__ */ Y(((e, t) => {
35
+ t.exports = process.env.NODE_ENV === "production" ? Je() : Ye();
36
36
  })))();
37
- function qe(e) {
37
+ function Xe(e) {
38
38
  if (typeof e != "string" || !e.trim() || e.length > 255) return { error: "invalid" };
39
39
  try {
40
40
  let [t] = Intl.getCanonicalLocales(e.trim());
@@ -43,12 +43,11 @@ function qe(e) {
43
43
  return { error: "invalid" };
44
44
  }
45
45
  }
46
- function Je(e) {
47
- return { dateTimeLocale: qe(e).locale ?? null };
46
+ function Ze(e) {
47
+ return { dateTimeLocale: Xe(e).locale ?? null };
48
48
  }
49
- //#endregion
50
- //#region ../shared/src/lib/device-language.ts
51
- function Ye(e) {
49
+ // ../shared/src/lib/device-language.ts
50
+ function Qe(e) {
52
51
  try {
53
52
  let t = e ?? "", n = 0, r = t.length;
54
53
  for (; n < r && " \r\n\v\f".includes(t[n]);) n++;
@@ -62,9 +61,8 @@ function Ye(e) {
62
61
  }
63
62
  }
64
63
  new TextEncoder();
65
- //#endregion
66
- //#region ../../node_modules/.pnpm/handlebars@4.7.9/node_modules/handlebars/dist/cjs/handlebars/utils.js
67
- var $ = /* @__PURE__ */ Z(((e) => {
64
+ // ../../node_modules/.pnpm/handlebars@4.7.10/node_modules/handlebars/dist/cjs/handlebars/utils.js
65
+ var Z = /* @__PURE__ */ Y(((e) => {
68
66
  e.__esModule = !0, e.extend = a, e.indexOf = l, e.escapeExpression = u, e.isEmpty = d, e.createFrame = f, e.blockParams = p, e.appendContextPath = m;
69
67
  var t = {
70
68
  "&": "&amp;",
@@ -101,7 +99,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
101
99
  }
102
100
  function u(e) {
103
101
  if (typeof e != "string") {
104
- if (e && e.toHTML) return e.toHTML();
102
+ if (e && typeof e.toHTML == "function") return e.toHTML();
105
103
  if (e == null) return "";
106
104
  if (!e) return e + "";
107
105
  e = "" + e;
@@ -109,7 +107,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
109
107
  return r.test(e) ? e.replace(n, i) : e;
110
108
  }
111
109
  function d(e) {
112
- return !e && e !== 0 || !!(c(e) && e.length === 0);
110
+ return !!(!e && e !== 0 || c(e) && e.length === 0);
113
111
  }
114
112
  function f(e) {
115
113
  var t = a({}, e);
@@ -121,7 +119,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
121
119
  function m(e, t) {
122
120
  return (e ? e + "." : "") + t;
123
121
  }
124
- })), Xe = /* @__PURE__ */ Z(((e, t) => {
122
+ })), Q = /* @__PURE__ */ Y(((e, t) => {
125
123
  e.__esModule = !0;
126
124
  var n = [
127
125
  "description",
@@ -135,7 +133,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
135
133
  ];
136
134
  function r(e, t) {
137
135
  var i = t && t.loc, a = void 0, o = void 0, s = void 0, c = void 0;
138
- i && (a = i.start.line, o = i.end.line, s = i.start.column, c = i.end.column, e += " - " + a + ":" + s);
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);
139
137
  for (var l = Error.prototype.constructor.call(this, e), u = 0; u < n.length; u++) this[n[u]] = l[n[u]];
140
138
  /* istanbul ignore else */
141
139
  Error.captureStackTrace && Error.captureStackTrace(this, r);
@@ -150,9 +148,9 @@ var $ = /* @__PURE__ */ Z(((e) => {
150
148
  } catch {}
151
149
  }
152
150
  r.prototype = /* @__PURE__ */ Error(), e.default = r, t.exports = e.default;
153
- })), Ze = /* @__PURE__ */ Z(((e, t) => {
151
+ })), $e = /* @__PURE__ */ Y(((e, t) => {
154
152
  e.__esModule = !0;
155
- var n = $();
153
+ var n = Z();
156
154
  e.default = function(e) {
157
155
  e.registerHelper("blockHelperMissing", function(t, r) {
158
156
  var i = r.inverse, a = r.fn;
@@ -166,59 +164,70 @@ var $ = /* @__PURE__ */ Z(((e) => {
166
164
  return a(t, r);
167
165
  });
168
166
  }, t.exports = e.default;
169
- })), Qe = /* @__PURE__ */ Z(((e, t) => {
167
+ })), et = /* @__PURE__ */ Y(((e, t) => {
170
168
  e.__esModule = !0;
171
169
  // istanbul ignore next
172
170
  function n(e) {
173
171
  return e && e.__esModule ? e : { default: e };
174
172
  }
175
- var r = $(), i = n(Xe());
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
+ }
176
180
  e.default = function(e) {
177
181
  e.registerHelper("each", function(e, t) {
178
182
  if (!t) throw new i.default("Must pass iterator to #each");
179
- var n = t.fn, a = t.inverse, o = 0, s = "", c = void 0, l = void 0;
180
- t.data && t.ids && (l = r.appendContextPath(t.data.contextPath, t.ids[0]) + "."), r.isFunction(e) && (e = e.call(this)), t.data && (c = r.createFrame(t.data));
181
- function u(t, i, a) {
182
- c && (c.key = t, c.index = i, c.first = i === 0, c.last = !!a, l && (c.contextPath = l + t)), s += n(e[t], {
183
- data: c,
184
- blockParams: r.blockParams([e[t], t], [l + t, null])
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])
185
189
  });
186
190
  }
187
191
  if (e && typeof e == "object") {
188
- if (r.isArray(e)) for (var d = e.length; o < d; o++) o in e && u(o, o, o === e.length - 1);
189
- else if (typeof Symbol == "function" && e[Symbol.iterator]) {
190
- for (var f = [], p = e[Symbol.iterator](), m = p.next(); !m.done; m = p.next()) f.push(m.value);
191
- e = f;
192
- for (var d = e.length; o < d; o++) u(o, o, o === e.length - 1);
193
- } else (function() {
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() {
194
203
  var t = void 0;
195
- Object.keys(e).forEach(function(e) {
196
- t !== void 0 && u(t, o - 1), t = e, o++;
197
- }), t !== void 0 && u(t, o - 1, !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]);
198
207
  })();
199
208
  }
200
- return o === 0 && (s = a(this)), s;
209
+ return s === 0 && (c = o(this)), c;
201
210
  });
202
211
  }, t.exports = e.default;
203
- })), $e = /* @__PURE__ */ Z(((e, t) => {
212
+ })), tt = /* @__PURE__ */ Y(((e, t) => {
204
213
  e.__esModule = !0;
205
214
  // istanbul ignore next
206
215
  function n(e) {
207
216
  return e && e.__esModule ? e : { default: e };
208
217
  }
209
- var r = n(Xe());
218
+ var r = n(Q());
210
219
  e.default = function(e) {
211
220
  e.registerHelper("helperMissing", function() {
212
221
  if (arguments.length !== 1) throw new r.default("Missing helper: \"" + arguments[arguments.length - 1].name + "\"");
213
222
  });
214
223
  }, t.exports = e.default;
215
- })), et = /* @__PURE__ */ Z(((e, t) => {
224
+ })), nt = /* @__PURE__ */ Y(((e, t) => {
216
225
  e.__esModule = !0;
217
226
  // istanbul ignore next
218
227
  function n(e) {
219
228
  return e && e.__esModule ? e : { default: e };
220
229
  }
221
- var r = $(), i = n(Xe());
230
+ var r = Z(), i = n(Q());
222
231
  e.default = function(e) {
223
232
  e.registerHelper("if", function(e, t) {
224
233
  if (arguments.length != 2) throw new i.default("#if requires exactly one argument");
@@ -232,7 +241,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
232
241
  });
233
242
  });
234
243
  }, t.exports = e.default;
235
- })), tt = /* @__PURE__ */ Z(((e, t) => {
244
+ })), rt = /* @__PURE__ */ Y(((e, t) => {
236
245
  e.__esModule = !0, e.default = function(e) {
237
246
  e.registerHelper("log", function() {
238
247
  for (var t = [void 0], n = arguments[arguments.length - 1], r = 0; r < arguments.length - 1; r++) t.push(arguments[r]);
@@ -240,19 +249,19 @@ var $ = /* @__PURE__ */ Z(((e) => {
240
249
  n.hash.level == null ? n.data && n.data.level != null && (i = n.data.level) : i = n.hash.level, t[0] = i, e.log.apply(e, t);
241
250
  });
242
251
  }, t.exports = e.default;
243
- })), nt = /* @__PURE__ */ Z(((e, t) => {
252
+ })), it = /* @__PURE__ */ Y(((e, t) => {
244
253
  e.__esModule = !0, e.default = function(e) {
245
254
  e.registerHelper("lookup", function(e, t, n) {
246
255
  return e && n.lookupProperty(e, t);
247
256
  });
248
257
  }, t.exports = e.default;
249
- })), rt = /* @__PURE__ */ Z(((e, t) => {
258
+ })), at = /* @__PURE__ */ Y(((e, t) => {
250
259
  e.__esModule = !0;
251
260
  // istanbul ignore next
252
261
  function n(e) {
253
262
  return e && e.__esModule ? e : { default: e };
254
263
  }
255
- var r = $(), i = n(Xe());
264
+ var r = Z(), i = n(Q());
256
265
  e.default = function(e) {
257
266
  e.registerHelper("with", function(e, t) {
258
267
  if (arguments.length != 2) throw new i.default("#with requires exactly one argument");
@@ -266,22 +275,22 @@ var $ = /* @__PURE__ */ Z(((e) => {
266
275
  });
267
276
  });
268
277
  }, t.exports = e.default;
269
- })), it = /* @__PURE__ */ Z(((e) => {
278
+ })), ot = /* @__PURE__ */ Y(((e) => {
270
279
  e.__esModule = !0, e.registerDefaultHelpers = l, e.moveHelperToHooks = u;
271
280
  // istanbul ignore next
272
281
  function t(e) {
273
282
  return e && e.__esModule ? e : { default: e };
274
283
  }
275
- var n = t(Ze()), r = t(Qe()), i = t($e()), a = t(et()), o = t(tt()), s = t(nt()), c = t(rt());
284
+ var n = t($e()), r = t(et()), i = t(tt()), a = t(nt()), o = t(rt()), s = t(it()), c = t(at());
276
285
  function l(e) {
277
286
  n.default(e), r.default(e), i.default(e), a.default(e), o.default(e), s.default(e), c.default(e);
278
287
  }
279
288
  function u(e, t, n) {
280
289
  e.helpers[t] && (e.hooks[t] = e.helpers[t], n || (e.helpers[t] = void 0));
281
290
  }
282
- })), at = /* @__PURE__ */ Z(((e, t) => {
291
+ })), st = /* @__PURE__ */ Y(((e, t) => {
283
292
  e.__esModule = !0;
284
- var n = $();
293
+ var n = Z();
285
294
  e.default = function(e) {
286
295
  e.registerDecorator("inline", function(e, t, r, i) {
287
296
  var a = e;
@@ -293,19 +302,19 @@ var $ = /* @__PURE__ */ Z(((e) => {
293
302
  }), t.partials[i.args[0]] = i.fn, a;
294
303
  });
295
304
  }, t.exports = e.default;
296
- })), ot = /* @__PURE__ */ Z(((e) => {
305
+ })), ct = /* @__PURE__ */ Y(((e) => {
297
306
  e.__esModule = !0, e.registerDefaultDecorators = r;
298
307
  // istanbul ignore next
299
308
  function t(e) {
300
309
  return e && e.__esModule ? e : { default: e };
301
310
  }
302
- var n = t(at());
311
+ var n = t(st());
303
312
  function r(e) {
304
313
  n.default(e);
305
314
  }
306
- })), st = /* @__PURE__ */ Z(((e, t) => {
315
+ })), lt = /* @__PURE__ */ Y(((e, t) => {
307
316
  e.__esModule = !0;
308
- var n = $(), r = {
317
+ var n = Z(), r = {
309
318
  methodMap: [
310
319
  "debug",
311
320
  "info",
@@ -330,13 +339,13 @@ var $ = /* @__PURE__ */ Z(((e) => {
330
339
  }
331
340
  };
332
341
  e.default = r, t.exports = e.default;
333
- })), ct = /* @__PURE__ */ Z(((e) => {
334
- e.__esModule = !0, e.createProtoAccessControl = a, e.resultIsAllowed = o, e.resetLoggedProperties = l;
342
+ })), ut = /* @__PURE__ */ Y(((e) => {
343
+ e.__esModule = !0, e.createProtoAccessControl = a, e.resultIsAllowed = o, e.isPrototypeConstructor = s, e.resetLoggedProperties = u;
335
344
  // istanbul ignore next
336
345
  function t(e) {
337
346
  return e && e.__esModule ? e : { default: e };
338
347
  }
339
- var n = $(), r = t(st()), i = Object.create(null);
348
+ var n = Z(), r = t(lt()), i = Object.create(null);
340
349
  function a(e) {
341
350
  var t = Object.create(null);
342
351
  t.__proto__ = !1, n.extend(t, e.allowedProtoProperties);
@@ -353,27 +362,30 @@ var $ = /* @__PURE__ */ Z(((e) => {
353
362
  };
354
363
  }
355
364
  function o(e, t, n) {
356
- return s(typeof e == "function" ? t.methods : t.properties, n);
365
+ return c(typeof e == "function" ? t.methods : t.properties, n);
357
366
  }
358
- function s(e, t) {
359
- return e.whitelist[t] === void 0 ? e.defaultValue === void 0 ? (c(t), !1) : e.defaultValue : e.whitelist[t] === !0;
367
+ function s(e, t, n) {
368
+ return t === "constructor" && typeof n == "function" && e === n.prototype;
360
369
  }
361
- 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) {
362
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"));
363
375
  }
364
- function l() {
376
+ function u() {
365
377
  Object.keys(i).forEach(function(e) {
366
378
  delete i[e];
367
379
  });
368
380
  }
369
- })), lt = /* @__PURE__ */ Z(((e) => {
381
+ })), dt = /* @__PURE__ */ Y(((e) => {
370
382
  e.__esModule = !0, e.HandlebarsEnvironment = l;
371
383
  // istanbul ignore next
372
384
  function t(e) {
373
385
  return e && e.__esModule ? e : { default: e };
374
386
  }
375
- var n = $(), r = t(Xe()), i = it(), a = ot(), o = t(st()), s = ct();
376
- e.VERSION = "4.7.9", e.COMPILER_REVISION = 8, e.LAST_COMPATIBLE_COMPILER_REVISION = 7, e.REVISION_CHANGES = {
387
+ var n = Z(), r = t(Q()), i = ot(), a = ct(), o = t(lt()), s = ut();
388
+ e.VERSION = "4.7.10", e.COMPILER_REVISION = 8, e.LAST_COMPATIBLE_COMPILER_REVISION = 7, e.REVISION_CHANGES = {
377
389
  1: "<= 1.0.rc.2",
378
390
  2: "== 1.0.0-rc.3",
379
391
  3: "== 1.0.0-rc.4",
@@ -423,7 +435,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
423
435
  s.resetLoggedProperties();
424
436
  }
425
437
  }, e.log = o.default.log, e.createFrame = n.createFrame, e.logger = o.default;
426
- })), ut = /* @__PURE__ */ Z(((e, t) => {
438
+ })), ft = /* @__PURE__ */ Y(((e, t) => {
427
439
  e.__esModule = !0;
428
440
  function n(e) {
429
441
  this.string = e;
@@ -431,7 +443,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
431
443
  n.prototype.toString = n.prototype.toHTML = function() {
432
444
  return "" + this.string;
433
445
  }, e.default = n, t.exports = e.default;
434
- })), dt = /* @__PURE__ */ Z(((e) => {
446
+ })), pt = /* @__PURE__ */ Y(((e) => {
435
447
  e.__esModule = !0, e.wrapHelper = t;
436
448
  function t(e, t) {
437
449
  return typeof e == "function" ? function() {
@@ -439,7 +451,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
439
451
  return arguments[arguments.length - 1] = t(n), e.apply(this, arguments);
440
452
  } : e;
441
453
  }
442
- })), ft = /* @__PURE__ */ Z(((e) => {
454
+ })), mt = /* @__PURE__ */ Y(((e) => {
443
455
  e.__esModule = !0, e.checkRevision = l, e.template = u, e.wrapProgram = d, e.resolvePartial = f, e.invokePartial = p, e.noop = m;
444
456
  // istanbul ignore next
445
457
  function t(e) {
@@ -452,7 +464,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
452
464
  if (e != null) for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
453
465
  return t.default = e, t;
454
466
  }
455
- var r = n($()), i = t(Xe()), a = lt(), o = it(), s = dt(), c = ct();
467
+ var r = n(Z()), i = t(Q()), a = dt(), o = ot(), s = pt(), c = ut();
456
468
  function l(e) {
457
469
  var t = e && e[0] || 1, n = a.COMPILER_REVISION;
458
470
  if (!(t >= a.LAST_COMPATIBLE_COMPILER_REVISION && t <= a.COMPILER_REVISION)) {
@@ -472,9 +484,14 @@ var $ = /* @__PURE__ */ Z(((e) => {
472
484
  function a(n, a, o) {
473
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;
474
486
  var s = t.VM.invokePartial.call(this, n, a, o);
475
- if (s == null && t.compile && (o.partials[o.name] = t.compile(n, e.compilerOptions, t), s = o.partials[o.name](a, o)), 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) {
476
493
  if (o.indent) {
477
- 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];
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];
478
495
  s = c.join("\n");
479
496
  }
480
497
  return s;
@@ -488,7 +505,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
488
505
  },
489
506
  lookupProperty: function(e, t) {
490
507
  var n = e[t];
491
- 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;
492
509
  },
493
510
  lookup: function(e, t) {
494
511
  for (var n = e.length, r = 0; r < n; r++) {
@@ -554,7 +571,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
554
571
  return s = _(n, s, e, o, r, a), s.program = t, s.depth = o ? o.length : 0, s.blockParams = i || 0, s;
555
572
  }
556
573
  function f(e, t, n) {
557
- return e ? !e.call && !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;
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;
558
575
  }
559
576
  function p(e, t, n) {
560
577
  var o = h(n.data, "partial-block");
@@ -577,7 +594,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
577
594
  if (e && Object.prototype.hasOwnProperty.call(e, t)) return e[t];
578
595
  }
579
596
  function g(e, t) {
580
- return (!t || !("root" in t)) && (t = t ? a.createFrame(t) : {}, t.root = e), t;
597
+ return t && "root" in t || (t = t ? a.createFrame(t) : {}, t.root = e), t;
581
598
  }
582
599
  function _(e, t, n, i, a, o) {
583
600
  if (e.decorator) {
@@ -598,7 +615,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
598
615
  return e.lookupProperty = n, e;
599
616
  });
600
617
  }
601
- })), pt = /* @__PURE__ */ Z(((e, t) => {
618
+ })), ht = /* @__PURE__ */ Y(((e, t) => {
602
619
  e.__esModule = !0, e.default = function(e) {
603
620
  /* istanbul ignore next */
604
621
  (function() {
@@ -612,7 +629,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
612
629
  return globalThis.Handlebars === e && (globalThis.Handlebars = t), e;
613
630
  };
614
631
  }, t.exports = e.default;
615
- })), mt = /* @__PURE__ */ Z(((e, t) => {
632
+ })), gt = /* @__PURE__ */ Y(((e, t) => {
616
633
  e.__esModule = !0;
617
634
  // istanbul ignore next
618
635
  function n(e) {
@@ -625,7 +642,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
625
642
  if (e != null) for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
626
643
  return t.default = e, t;
627
644
  }
628
- var i = r(lt()), a = n(ut()), o = n(Xe()), s = r($()), c = r(ft()), l = n(pt());
645
+ var i = r(dt()), a = n(ft()), o = n(Q()), s = r(Z()), c = r(mt()), l = n(ht());
629
646
  function u() {
630
647
  var e = new i.HandlebarsEnvironment();
631
648
  return s.extend(e, i), e.SafeString = a.default, e.Exception = o.default, e.Utils = s, e.escapeExpression = s.escapeExpression, e.VM = c, e.template = function(t) {
@@ -634,7 +651,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
634
651
  }
635
652
  var d = u();
636
653
  d.create = u, l.default(d), d.default = d, e.default = d, t.exports = e.default;
637
- })), ht = /* @__PURE__ */ Z(((e, t) => {
654
+ })), _t = /* @__PURE__ */ Y(((e, t) => {
638
655
  e.__esModule = !0;
639
656
  var n = { helpers: {
640
657
  helperExpression: function(e) {
@@ -648,7 +665,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
648
665
  }
649
666
  } };
650
667
  e.default = n, t.exports = e.default;
651
- })), gt = /* @__PURE__ */ Z(((e, t) => {
668
+ })), vt = /* @__PURE__ */ Y(((e, t) => {
652
669
  e.__esModule = !0, e.default = (function() {
653
670
  var e = {
654
671
  trace: function() {},
@@ -2933,23 +2950,47 @@ var $ = /* @__PURE__ */ Z(((e) => {
2933
2950
  }
2934
2951
  return t.prototype = e, e.Parser = t, new t();
2935
2952
  })(), t.exports = e.default;
2936
- })), _t = /* @__PURE__ */ Z(((e, t) => {
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) => {
2937
2975
  e.__esModule = !0;
2938
2976
  // istanbul ignore next
2939
2977
  function n(e) {
2940
2978
  return e && e.__esModule ? e : { default: e };
2941
2979
  }
2942
- var r = n(Xe());
2943
- function i() {
2980
+ var r = n(Q()), i = Z(), a = yt();
2981
+ function o() {
2944
2982
  this.parents = [];
2945
2983
  }
2946
- i.prototype = {
2947
- constructor: i,
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,
2948
2989
  mutating: !1,
2949
2990
  acceptKey: function(e, t) {
2950
2991
  var n = this.accept(e[t]);
2951
2992
  if (this.mutating) {
2952
- if (n && !i.prototype[n.type]) throw new r.default("Unexpected node type \"" + n.type + "\" found when accepting " + t + " on " + e.type);
2993
+ if (n && !s(this, n.type)) throw new r.default("Unexpected node type \"" + n.type + "\" found when accepting " + t + " on " + e.type);
2953
2994
  e[t] = n;
2954
2995
  }
2955
2996
  },
@@ -2961,8 +3002,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
2961
3002
  },
2962
3003
  accept: function(e) {
2963
3004
  if (e) {
2964
- /* istanbul ignore next: Sanity code */
2965
- 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);
2966
3006
  this.current && this.parents.unshift(this.current), this.current = e;
2967
3007
  var t = this[e.type](e);
2968
3008
  if (this.current = this.parents.shift(), !this.mutating || t) return t;
@@ -2972,17 +3012,17 @@ var $ = /* @__PURE__ */ Z(((e) => {
2972
3012
  Program: function(e) {
2973
3013
  this.acceptArray(e.body);
2974
3014
  },
2975
- MustacheStatement: a,
2976
- Decorator: a,
2977
- BlockStatement: o,
2978
- DecoratorBlock: o,
2979
- PartialStatement: s,
3015
+ MustacheStatement: c,
3016
+ Decorator: c,
3017
+ BlockStatement: l,
3018
+ DecoratorBlock: l,
3019
+ PartialStatement: u,
2980
3020
  PartialBlockStatement: function(e) {
2981
- s.call(this, e), this.acceptKey(e, "program");
3021
+ u.call(this, e), this.acceptKey(e, "program");
2982
3022
  },
2983
3023
  ContentStatement: function() {},
2984
3024
  CommentStatement: function() {},
2985
- SubExpression: a,
3025
+ SubExpression: c,
2986
3026
  PathExpression: function() {},
2987
3027
  StringLiteral: function() {},
2988
3028
  NumberLiteral: function() {},
@@ -2996,23 +3036,23 @@ var $ = /* @__PURE__ */ Z(((e) => {
2996
3036
  this.acceptRequired(e, "value");
2997
3037
  }
2998
3038
  };
2999
- function a(e) {
3039
+ function c(e) {
3000
3040
  this.acceptRequired(e, "path"), this.acceptArray(e.params), this.acceptKey(e, "hash");
3001
3041
  }
3002
- function o(e) {
3003
- a.call(this, e), this.acceptKey(e, "program"), this.acceptKey(e, "inverse");
3042
+ function l(e) {
3043
+ c.call(this, e), this.acceptKey(e, "program"), this.acceptKey(e, "inverse");
3004
3044
  }
3005
- function s(e) {
3045
+ function u(e) {
3006
3046
  this.acceptRequired(e, "name"), this.acceptArray(e.params), this.acceptKey(e, "hash");
3007
3047
  }
3008
- e.default = i, t.exports = e.default;
3009
- })), vt = /* @__PURE__ */ Z(((e, t) => {
3048
+ e.default = o, t.exports = e.default;
3049
+ })), xt = /* @__PURE__ */ Y(((e, t) => {
3010
3050
  e.__esModule = !0;
3011
3051
  // istanbul ignore next
3012
3052
  function n(e) {
3013
3053
  return e && e.__esModule ? e : { default: e };
3014
3054
  }
3015
- var r = n(_t());
3055
+ var r = n(bt());
3016
3056
  function i() {
3017
3057
  var e = arguments.length <= 0 || arguments[0] === void 0 ? {} : arguments[0];
3018
3058
  this.options = e;
@@ -3024,7 +3064,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
3024
3064
  var u = r[i], d = this.accept(u);
3025
3065
  if (d) {
3026
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;
3027
- 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]+$)/.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));
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));
3028
3068
  }
3029
3069
  }
3030
3070
  return e;
@@ -3058,7 +3098,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
3058
3098
  t === void 0 && (t = e.length);
3059
3099
  var r = e[t - 1], i = e[t - 2];
3060
3100
  if (!r) return n;
3061
- if (r.type === "ContentStatement") return (i || !n ? /\r?\n\s*?$/ : /(^|\r?\n)\s*?$/).test(r.original);
3101
+ if (r.type === "ContentStatement") return (i || !n ? /(?:^|\S)[^\S\n]*\n\s*$/ : /^\s*$|(?:^|\S)[^\S\n]*\n\s*$/).test(r.original);
3062
3102
  }
3063
3103
  function o(e, t, n) {
3064
3104
  t === void 0 && (t = -1);
@@ -3077,17 +3117,17 @@ var $ = /* @__PURE__ */ Z(((e) => {
3077
3117
  var r = e[t == null ? e.length - 1 : t - 1];
3078
3118
  if (!(!r || r.type !== "ContentStatement" || !n && r.leftStripped)) {
3079
3119
  var i = r.value;
3080
- return r.value = r.value.replace(n ? /\s+$/ : /[ \t]+$/, ""), r.leftStripped = r.value !== i, r.leftStripped;
3120
+ return r.value = r.value.replace(n ? /(^|\S)\s+$/ : /(^|[^ \t])[ \t]+$/, "$1"), r.leftStripped = r.value !== i, r.leftStripped;
3081
3121
  }
3082
3122
  }
3083
3123
  e.default = i, t.exports = e.default;
3084
- })), yt = /* @__PURE__ */ Z(((e) => {
3124
+ })), St = /* @__PURE__ */ Y(((e) => {
3085
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;
3086
3126
  // istanbul ignore next
3087
3127
  function t(e) {
3088
3128
  return e && e.__esModule ? e : { default: e };
3089
3129
  }
3090
- var n = t(Xe());
3130
+ var n = t(Q());
3091
3131
  function r(e, t) {
3092
3132
  if (t = t.path ? t.path.original : t, e.path.original !== t) {
3093
3133
  var r = { loc: e.path.loc };
@@ -3222,8 +3262,8 @@ var $ = /* @__PURE__ */ Z(((e) => {
3222
3262
  loc: this.locInfo(i)
3223
3263
  };
3224
3264
  }
3225
- })), bt = /* @__PURE__ */ Z(((e) => {
3226
- e.__esModule = !0, e.parseWithoutProcessing = l, e.parse = u;
3265
+ })), Ct = /* @__PURE__ */ Y(((e) => {
3266
+ e.__esModule = !0, e.parseWithoutProcessing = c, e.parse = l;
3227
3267
  // istanbul ignore next
3228
3268
  function t(e) {
3229
3269
  if (e && e.__esModule) return e;
@@ -3235,61 +3275,35 @@ var $ = /* @__PURE__ */ Z(((e) => {
3235
3275
  function n(e) {
3236
3276
  return e && e.__esModule ? e : { default: e };
3237
3277
  }
3238
- var r = n(gt()), i = n(vt()), a = t(yt()), o = n(Xe()), s = $();
3278
+ var r = n(vt()), i = n(xt()), a = t(St()), o = Z();
3239
3279
  e.parser = r.default;
3240
- var c = {};
3241
- s.extend(c, a);
3242
- function l(e, t) {
3243
- return e.type === "Program" ? (d(e), e) : (r.default.yy = c, c.locInfo = function(e) {
3244
- return new c.SourceLocation(t && t.srcName, e);
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);
3245
3285
  }, r.default.parse(e));
3246
3286
  }
3247
- function u(e, t) {
3248
- var n = l(e, t);
3287
+ function l(e, t) {
3288
+ var n = c(e, t);
3249
3289
  return new i.default(t).accept(n);
3250
3290
  }
3251
- function d(e) {
3252
- f(e);
3253
- }
3254
- function f(e) {
3255
- if (e != null) {
3256
- if (Array.isArray(e)) {
3257
- e.forEach(f);
3258
- return;
3259
- }
3260
- if (typeof e == "object") {
3261
- if (e.type === "PathExpression") {
3262
- if (!p(e.depth)) throw new o.default("Invalid AST: PathExpression.depth must be an integer");
3263
- if (!Array.isArray(e.parts)) throw new o.default("Invalid AST: PathExpression.parts must be an array");
3264
- 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");
3265
- } else if (e.type === "NumberLiteral") {
3266
- if (typeof e.value != "number" || !isFinite(e.value)) throw new o.default("Invalid AST: NumberLiteral.value must be a number");
3267
- } else if (e.type === "BooleanLiteral" && typeof e.value != "boolean") throw new o.default("Invalid AST: BooleanLiteral.value must be a boolean");
3268
- Object.keys(e).forEach(function(t) {
3269
- t !== "loc" && f(e[t]);
3270
- });
3271
- }
3272
- }
3273
- }
3274
- function p(e) {
3275
- return typeof e == "number" && isFinite(e) && Math.floor(e) === e && e >= 0;
3276
- }
3277
- })), xt = /* @__PURE__ */ Z(((e) => {
3278
- 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;
3279
3293
  // istanbul ignore next
3280
3294
  function t(e) {
3281
3295
  return e && e.__esModule ? e : { default: e };
3282
3296
  }
3283
- var n = t(Xe()), r = $(), i = t(ht()), a = [].slice;
3284
- function o() {}
3285
- o.prototype = {
3286
- compiler: o,
3297
+ var n = t(Q()), r = Z(), i = t(_t()), a = yt(), o = [].slice;
3298
+ function s() {}
3299
+ s.prototype = {
3300
+ compiler: s,
3287
3301
  equals: function(e) {
3288
3302
  var t = this.opcodes.length;
3289
3303
  if (e.opcodes.length !== t) return !1;
3290
3304
  for (var n = 0; n < t; n++) {
3291
3305
  var r = this.opcodes[n], i = e.opcodes[n];
3292
- if (r.opcode !== i.opcode || !l(r.args, i.args)) return !1;
3306
+ if (r.opcode !== i.opcode || !g(r.args, i.args)) return !1;
3293
3307
  }
3294
3308
  t = this.children.length;
3295
3309
  for (var n = 0; n < t; n++) if (!this.children[n].equals(e.children[n])) return !1;
@@ -3313,19 +3327,18 @@ var $ = /* @__PURE__ */ Z(((e) => {
3313
3327
  return this.usePartial = this.usePartial || t.usePartial, this.children[n] = t, this.useDepths = this.useDepths || t.useDepths, n;
3314
3328
  },
3315
3329
  accept: function(e) {
3316
- /* istanbul ignore next: Sanity code */
3317
- 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);
3318
3331
  this.sourceNode.unshift(e);
3319
3332
  var t = this[e.type](e);
3320
3333
  return this.sourceNode.shift(), t;
3321
3334
  },
3322
3335
  Program: function(e) {
3323
- this.options.blockParams.unshift(e.blockParams);
3336
+ h(e), this.options.blockParams.unshift(e.blockParams);
3324
3337
  for (var t = e.body, n = t.length, r = 0; r < n; r++) this.accept(t[r]);
3325
3338
  return this.options.blockParams.shift(), this.isSimple = n === 1, this.blockParams = e.blockParams ? e.blockParams.length : 0, this;
3326
3339
  },
3327
3340
  BlockStatement: function(e) {
3328
- u(e);
3341
+ _(e);
3329
3342
  var t = e.program, n = e.inverse;
3330
3343
  t &&= this.compileProgram(t), n &&= this.compileProgram(n);
3331
3344
  var r = this.classifySexpr(e);
@@ -3361,17 +3374,18 @@ var $ = /* @__PURE__ */ Z(((e) => {
3361
3374
  this.DecoratorBlock(e);
3362
3375
  },
3363
3376
  ContentStatement: function(e) {
3377
+ if (e.value != null && typeof e.value != "string") throw u(e, "value must be a string");
3364
3378
  e.value && this.opcode("appendContent", e.value);
3365
3379
  },
3366
3380
  CommentStatement: function() {},
3367
3381
  SubExpression: function(e) {
3368
- u(e);
3382
+ _(e);
3369
3383
  var t = this.classifySexpr(e);
3370
3384
  t === "simple" ? this.simpleSexpr(e) : t === "helper" ? this.helperSexpr(e) : this.ambiguousSexpr(e);
3371
3385
  },
3372
3386
  ambiguousSexpr: function(e, t, n) {
3373
3387
  var r = e.path, i = r.parts[0], a = t != null || n != null;
3374
- this.opcode("getContext", r.depth), this.opcode("pushProgram", t), this.opcode("pushProgram", n), r.strict = !0, this.accept(r), this.opcode("invokeAmbiguous", i, a);
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);
3375
3389
  },
3376
3390
  simpleSexpr: function(e) {
3377
3391
  var t = e.path;
@@ -3384,18 +3398,19 @@ var $ = /* @__PURE__ */ Z(((e) => {
3384
3398
  else o.strict = !0, o.falsy = !0, this.accept(o), this.opcode("invokeHelper", a.length, o.original, i.default.helpers.simpleId(o));
3385
3399
  },
3386
3400
  PathExpression: function(e) {
3387
- this.addDepth(e.depth), this.opcode("getContext", e.depth);
3388
- var t = e.parts[0], n = i.default.helpers.scopedId(e), r = !e.depth && !n && this.blockParamIndex(t);
3389
- r ? this.opcode("lookupBlockParam", r, e.parts) : t ? e.data ? (this.options.data = !0, this.opcode("lookupData", e.depth, e.parts, e.strict)) : this.opcode("lookupOnContext", e.parts, e.falsy, e.strict, n) : this.opcode("pushContext");
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");
3390
3405
  },
3391
3406
  StringLiteral: function(e) {
3392
- this.opcode("pushString", e.value);
3407
+ f(e), this.opcode("pushString", e.value);
3393
3408
  },
3394
3409
  NumberLiteral: function(e) {
3395
- this.opcode("pushLiteral", e.value);
3410
+ f(e), this.opcode("pushLiteral", e.value);
3396
3411
  },
3397
3412
  BooleanLiteral: function(e) {
3398
- this.opcode("pushLiteral", e.value);
3413
+ f(e), this.opcode("pushLiteral", e.value);
3399
3414
  },
3400
3415
  UndefinedLiteral: function() {
3401
3416
  this.opcode("pushLiteral", "undefined");
@@ -3404,15 +3419,18 @@ var $ = /* @__PURE__ */ Z(((e) => {
3404
3419
  this.opcode("pushLiteral", "null");
3405
3420
  },
3406
3421
  Hash: function(e) {
3407
- var t = e.pairs, n = 0, r = t.length;
3408
- for (this.opcode("pushHash"); n < r; n++) this.pushParam(t[n].value);
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);
3409
3427
  for (; n--;) this.opcode("assignToHash", t[n].key);
3410
3428
  this.opcode("popHash");
3411
3429
  },
3412
3430
  opcode: function(e) {
3413
3431
  this.opcodes.push({
3414
3432
  opcode: e,
3415
- args: a.call(arguments, 1),
3433
+ args: o.call(arguments, 1),
3416
3434
  loc: this.sourceNode[0].loc
3417
3435
  });
3418
3436
  },
@@ -3420,6 +3438,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
3420
3438
  e && (this.useDepths = !0);
3421
3439
  },
3422
3440
  classifySexpr: function(e) {
3441
+ m(e.path);
3423
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);
3424
3443
  if (a && !r) {
3425
3444
  var o = e.path.parts[0], s = this.options;
@@ -3431,14 +3450,15 @@ var $ = /* @__PURE__ */ Z(((e) => {
3431
3450
  for (var t = 0, n = e.length; t < n; t++) this.pushParam(e[t]);
3432
3451
  },
3433
3452
  pushParam: function(e) {
3434
- var t = e.value == null ? e.original || "" : e.value;
3435
- if (this.stringParams) t.replace && (t = t.replace(/^(\.?\.\/)*/g, "").replace(/\//g, ".")), e.depth && this.addDepth(e.depth), this.opcode("getContext", e.depth || 0), this.opcode("pushStringParam", t, e.type), e.type === "SubExpression" && this.accept(e);
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);
3436
3456
  else {
3437
3457
  if (this.trackIds) {
3438
- var n = void 0;
3439
- if (e.parts && !i.default.helpers.scopedId(e) && !e.depth && (n = this.blockParamIndex(e.parts[0])), n) {
3440
- var r = e.parts.slice(1).join(".");
3441
- this.opcode("pushId", "BlockParam", n, r);
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);
3442
3462
  } else t = e.original || t, t.replace && (t = t.replace(/^this(?:\.|$)/, "").replace(/^\.\//, "").replace(/^\.$/, "")), this.opcode("pushId", e.type, t);
3443
3463
  }
3444
3464
  this.accept(e);
@@ -3455,13 +3475,13 @@ var $ = /* @__PURE__ */ Z(((e) => {
3455
3475
  }
3456
3476
  }
3457
3477
  };
3458
- function s(e, t, r) {
3478
+ function c(e, t, r) {
3459
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);
3460
3480
  t ||= {}, "data" in t || (t.data = !0), t.compat && (t.useDepths = !0);
3461
3481
  var i = r.parse(e, t), a = new r.Compiler().compile(i, t);
3462
3482
  return new r.JavaScriptCompiler().compile(a, t);
3463
3483
  }
3464
- function c(e, t, i) {
3484
+ function l(e, t, i) {
3465
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);
3466
3486
  t = r.extend({}, t), "data" in t || (t.data = !0), t.compat && (t.useDepths = !0);
3467
3487
  var a = void 0;
@@ -3478,14 +3498,40 @@ var $ = /* @__PURE__ */ Z(((e) => {
3478
3498
  return a ||= o(), a._child(e, t, n, r);
3479
3499
  }, s;
3480
3500
  }
3481
- function l(e, t) {
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) {
3482
3528
  if (e === t) return !0;
3483
3529
  if (r.isArray(e) && r.isArray(t) && e.length === t.length) {
3484
- for (var n = 0; n < e.length; n++) if (!l(e[n], t[n])) return !1;
3530
+ for (var n = 0; n < e.length; n++) if (!g(e[n], t[n])) return !1;
3485
3531
  return !0;
3486
3532
  }
3487
3533
  }
3488
- function u(e) {
3534
+ function _(e) {
3489
3535
  if (!e.path.parts) {
3490
3536
  var t = e.path;
3491
3537
  e.path = {
@@ -3498,7 +3544,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
3498
3544
  };
3499
3545
  }
3500
3546
  }
3501
- })), St = /* @__PURE__ */ Z(((e) => {
3547
+ })), Tt = /* @__PURE__ */ Y(((e) => {
3502
3548
  var t = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");
3503
3549
  e.encode = function(e) {
3504
3550
  if (0 <= e && e < t.length) return t[e];
@@ -3507,8 +3553,8 @@ var $ = /* @__PURE__ */ Z(((e) => {
3507
3553
  var t = 65, n = 90, r = 97, i = 122, a = 48;
3508
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;
3509
3555
  };
3510
- })), Ct = /* @__PURE__ */ Z(((e) => {
3511
- var t = St(), n = 5, r = 1 << n, i = r - 1, a = r;
3556
+ })), Et = /* @__PURE__ */ Y(((e) => {
3557
+ var t = Tt(), n = 5, r = 1 << n, i = r - 1, a = r;
3512
3558
  function o(e) {
3513
3559
  return e < 0 ? (-e << 1) + 1 : (e << 1) + 0;
3514
3560
  }
@@ -3531,7 +3577,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
3531
3577
  } while (d);
3532
3578
  o.value = s(l), o.rest = r;
3533
3579
  };
3534
- })), wt = /* @__PURE__ */ Z(((e) => {
3580
+ })), Dt = /* @__PURE__ */ Y(((e) => {
3535
3581
  function t(e, t, n) {
3536
3582
  if (t in e) return e[t];
3537
3583
  if (arguments.length === 3) return n;
@@ -3643,8 +3689,8 @@ var $ = /* @__PURE__ */ Z(((e) => {
3643
3689
  return o(t);
3644
3690
  }
3645
3691
  e.computeSourceURL = y;
3646
- })), Tt = /* @__PURE__ */ Z(((e) => {
3647
- var t = wt(), n = Object.prototype.hasOwnProperty, r = typeof Map < "u";
3692
+ })), Ot = /* @__PURE__ */ Y(((e) => {
3693
+ var t = Dt(), n = Object.prototype.hasOwnProperty, r = typeof Map < "u";
3648
3694
  function i() {
3649
3695
  this._array = [], this._set = r ? /* @__PURE__ */ new Map() : Object.create(null);
3650
3696
  }
@@ -3675,8 +3721,8 @@ var $ = /* @__PURE__ */ Z(((e) => {
3675
3721
  }, i.prototype.toArray = function() {
3676
3722
  return this._array.slice();
3677
3723
  }, e.ArraySet = i;
3678
- })), Et = /* @__PURE__ */ Z(((e) => {
3679
- var t = wt();
3724
+ })), kt = /* @__PURE__ */ Y(((e) => {
3725
+ var t = Dt();
3680
3726
  function n(e, n) {
3681
3727
  var r = e.generatedLine, i = n.generatedLine, a = e.generatedColumn, o = n.generatedColumn;
3682
3728
  return i > r || i == r && o >= a || t.compareByGeneratedPositionsInflated(e, n) <= 0;
@@ -3694,8 +3740,8 @@ var $ = /* @__PURE__ */ Z(((e) => {
3694
3740
  }, r.prototype.toArray = function() {
3695
3741
  return this._sorted ||= (this._array.sort(t.compareByGeneratedPositionsInflated), !0), this._array;
3696
3742
  }, e.MappingList = r;
3697
- })), Dt = /* @__PURE__ */ Z(((e) => {
3698
- var t = Ct(), n = wt(), r = Tt().ArraySet, i = Et().MappingList;
3743
+ })), At = /* @__PURE__ */ Y(((e) => {
3744
+ var t = Et(), n = Dt(), r = Ot().ArraySet, i = kt().MappingList;
3699
3745
  function a(e) {
3700
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;
3701
3747
  }
@@ -3793,7 +3839,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
3793
3839
  }, a.prototype.toString = function() {
3794
3840
  return JSON.stringify(this.toJSON());
3795
3841
  }, e.SourceMapGenerator = a;
3796
- })), Ot = /* @__PURE__ */ Z(((e) => {
3842
+ })), jt = /* @__PURE__ */ Y(((e) => {
3797
3843
  e.GREATEST_LOWER_BOUND = 1, e.LEAST_UPPER_BOUND = 2;
3798
3844
  function t(n, r, i, a, o, s) {
3799
3845
  var c = Math.floor((r - n) / 2) + n, l = o(i, a[c], !0);
@@ -3806,7 +3852,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
3806
3852
  for (; o - 1 >= 0 && i(r[o], r[o - 1], !0) === 0;) --o;
3807
3853
  return o;
3808
3854
  };
3809
- })), kt = /* @__PURE__ */ Z(((e) => {
3855
+ })), Mt = /* @__PURE__ */ Y(((e) => {
3810
3856
  function t(e, t, n) {
3811
3857
  var r = e[t];
3812
3858
  e[t] = e[n], e[n] = r;
@@ -3827,8 +3873,8 @@ var $ = /* @__PURE__ */ Z(((e) => {
3827
3873
  e.quickSort = function(e, t) {
3828
3874
  r(e, t, 0, e.length - 1);
3829
3875
  };
3830
- })), At = /* @__PURE__ */ Z(((e) => {
3831
- var t = wt(), n = Ot(), r = Tt().ArraySet, i = Ct(), a = kt().quickSort;
3876
+ })), Nt = /* @__PURE__ */ Y(((e) => {
3877
+ var t = Dt(), n = jt(), r = Ot().ArraySet, i = Et(), a = Mt().quickSort;
3832
3878
  function o(e, n) {
3833
3879
  var r = e;
3834
3880
  return typeof e == "string" && (r = t.parseSourceMapInput(e)), r.sections == null ? new s(r, n) : new l(r, n);
@@ -3912,8 +3958,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
3912
3958
  s.prototype = Object.create(o.prototype), s.prototype.consumer = o, s.prototype._findSourceIndex = function(e) {
3913
3959
  var n = e;
3914
3960
  if (this.sourceRoot != null && (n = t.relative(this.sourceRoot, n)), this._sources.has(n)) return this._sources.indexOf(n);
3915
- var r;
3916
- for (r = 0; r < this._absoluteSources.length; ++r) if (this._absoluteSources[r] == e) return r;
3961
+ for (var r = 0; r < this._absoluteSources.length; ++r) if (this._absoluteSources[r] == e) return r;
3917
3962
  return -1;
3918
3963
  }, s.fromSourceMap = function(e, n) {
3919
3964
  var i = Object.create(s.prototype), o = i._names = r.fromArray(e._names.toArray(), !0), l = i._sources = r.fromArray(e._sources.toArray(), !0);
@@ -4119,8 +4164,8 @@ var $ = /* @__PURE__ */ Z(((e) => {
4119
4164
  }
4120
4165
  a(this.__generatedMappings, t.compareByGeneratedPositionsDeflated), a(this.__originalMappings, t.compareByOriginalPositions);
4121
4166
  }, e.IndexedSourceMapConsumer = l;
4122
- })), jt = /* @__PURE__ */ Z(((e) => {
4123
- var t = Dt().SourceMapGenerator, n = wt(), r = /(\r?\n)/, i = 10, a = "$$$isSourceNode$$$";
4167
+ })), Pt = /* @__PURE__ */ Y(((e) => {
4168
+ var t = At().SourceMapGenerator, n = Dt(), r = /(\r?\n)/, i = 10, a = "$$$isSourceNode$$$";
4124
4169
  function o(e, t, n, r, i) {
4125
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);
4126
4171
  }
@@ -4237,24 +4282,34 @@ var $ = /* @__PURE__ */ Z(((e) => {
4237
4282
  map: r
4238
4283
  };
4239
4284
  }, e.SourceNode = o;
4240
- })), Mt = /* @__PURE__ */ Z(((e) => {
4241
- e.SourceMapGenerator = Dt().SourceMapGenerator, e.SourceMapConsumer = At().SourceMapConsumer, e.SourceNode = jt().SourceNode;
4242
- })), Nt = /* @__PURE__ */ Z(((e, t) => {
4243
- e.__esModule = !0;
4244
- var n = $(), r = void 0;
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;
4245
4300
  try {
4246
4301
  /* istanbul ignore next */
4247
- (typeof define != "function" || !define.amd) && (r = Mt().SourceNode);
4302
+ typeof define == "function" && define.amd || (s = Ft().SourceNode);
4248
4303
  } catch {}
4249
4304
  /* istanbul ignore if: tested but not covered in istanbul due to dist build */
4250
- r || (r = function(e, t, n, r) {
4305
+ s || (s = function(e, t, n, r) {
4251
4306
  this.src = "", r && this.add(r);
4252
- }, r.prototype = {
4307
+ }, s.prototype = {
4253
4308
  add: function(e) {
4254
- n.isArray(e) && (e = e.join("")), this.src += e;
4309
+ t.isArray(e) && (e = e.join("")), this.src += e;
4255
4310
  },
4256
4311
  prepend: function(e) {
4257
- n.isArray(e) && (e = e.join("")), this.src = e + this.src;
4312
+ t.isArray(e) && (e = e.join("")), this.src = e + this.src;
4258
4313
  },
4259
4314
  toStringWithSourceMap: function() {
4260
4315
  return { code: this.toString() };
@@ -4263,17 +4318,17 @@ var $ = /* @__PURE__ */ Z(((e) => {
4263
4318
  return this.src;
4264
4319
  }
4265
4320
  });
4266
- function i(e, t, r) {
4267
- if (n.isArray(e)) {
4268
- for (var i = [], a = 0, o = e.length; a < o; a++) i.push(t.wrap(e[a], r));
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));
4269
4324
  return i;
4270
4325
  }
4271
4326
  return typeof e == "boolean" || typeof e == "number" ? e + "" : e;
4272
4327
  }
4273
- function a(e) {
4328
+ function l(e) {
4274
4329
  this.srcFile = e, this.source = [];
4275
4330
  }
4276
- a.prototype = {
4331
+ l.prototype = {
4277
4332
  isEmpty: function() {
4278
4333
  return !this.source.length;
4279
4334
  },
@@ -4298,11 +4353,11 @@ var $ = /* @__PURE__ */ Z(((e) => {
4298
4353
  },
4299
4354
  empty: function() {
4300
4355
  var e = this.currentLocation || { start: {} };
4301
- return new r(e.start.line, e.start.column, this.srcFile);
4356
+ return new s(e.start.line, e.start.column, this.srcFile);
4302
4357
  },
4303
4358
  wrap: function(e) {
4304
4359
  var t = arguments.length <= 1 || arguments[1] === void 0 ? this.currentLocation || { start: {} } : arguments[1];
4305
- return e instanceof r ? e : (e = i(e, this, t), new r(t.start.line, t.start.column, this.srcFile, e));
4360
+ return e instanceof s ? e : (e = c(e, this, t), new s(t.start.line, t.start.column, this.srcFile, e));
4306
4361
  },
4307
4362
  functionCall: function(e, t, n) {
4308
4363
  return n = this.generateList(n), this.wrap([
@@ -4313,43 +4368,43 @@ var $ = /* @__PURE__ */ Z(((e) => {
4313
4368
  ]);
4314
4369
  },
4315
4370
  quotedString: function(e) {
4316
- return "\"" + (e + "").replace(/\\/g, "\\\\").replace(/"/g, "\\\"").replace(/\n/g, "\\n").replace(/\r/g, "\\r").replace(/\u2028/g, "\\u2028").replace(/\u2029/g, "\\u2029") + "\"";
4371
+ return e += "", n.test(e) ? o(e) : "\"" + e + "\"";
4317
4372
  },
4318
4373
  objectLiteral: function(e) {
4319
4374
  // istanbul ignore next
4320
4375
  var t = this, n = [];
4321
4376
  Object.keys(e).forEach(function(r) {
4322
- var a = i(e[r], t);
4323
- a !== "undefined" && n.push([
4377
+ var i = c(e[r], t);
4378
+ i !== "undefined" && n.push([
4324
4379
  t.quotedString(r),
4325
4380
  ":",
4326
- a
4381
+ i
4327
4382
  ]);
4328
4383
  });
4329
4384
  var r = this.generateList(n);
4330
4385
  return r.prepend("{"), r.add("}"), r;
4331
4386
  },
4332
4387
  generateList: function(e) {
4333
- for (var t = this.empty(), n = 0, r = e.length; n < r; n++) n && t.add(","), t.add(i(e[n], this));
4388
+ for (var t = this.empty(), n = 0, r = e.length; n < r; n++) n && t.add(","), t.add(c(e[n], this));
4334
4389
  return t;
4335
4390
  },
4336
4391
  generateArray: function(e) {
4337
4392
  var t = this.generateList(e);
4338
4393
  return t.prepend("["), t.add("]"), t;
4339
4394
  }
4340
- }, e.default = a, t.exports = e.default;
4341
- })), Pt = /* @__PURE__ */ Z(((e, t) => {
4395
+ }, e.default = l;
4396
+ })), Lt = /* @__PURE__ */ Y(((e, t) => {
4342
4397
  e.__esModule = !0;
4343
4398
  // istanbul ignore next
4344
4399
  function n(e) {
4345
4400
  return e && e.__esModule ? e : { default: e };
4346
4401
  }
4347
- var r = lt(), i = n(Xe()), a = $(), o = n(Nt());
4348
- function s(e) {
4402
+ var r = dt(), i = n(Q()), a = Z(), o = It(), s = n(o);
4403
+ function c(e) {
4349
4404
  this.value = e;
4350
4405
  }
4351
- function c() {}
4352
- c.prototype = {
4406
+ function l() {}
4407
+ l.prototype = {
4353
4408
  nameLookup: function(e, t) {
4354
4409
  return this.internalNameLookup(e, t);
4355
4410
  },
@@ -4357,7 +4412,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
4357
4412
  return [
4358
4413
  this.aliasable("container.lookup"),
4359
4414
  "(depths, ",
4360
- JSON.stringify(e),
4415
+ this.quotedString(e),
4361
4416
  ")"
4362
4417
  ];
4363
4418
  },
@@ -4384,7 +4439,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
4384
4439
  "lookupProperty(",
4385
4440
  e,
4386
4441
  ",",
4387
- JSON.stringify(t),
4442
+ this.quotedString(t),
4388
4443
  ")"
4389
4444
  ];
4390
4445
  },
@@ -4428,7 +4483,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
4428
4483
  } }, d = this.objectLiteral(d), t.srcName ? (d = d.toStringWithSourceMap({ file: t.destName }), d.map = d.map && d.map.toString()) : d = d.toString()), d;
4429
4484
  },
4430
4485
  preamble: function() {
4431
- this.lastContext = 0, this.source = new o.default(this.options.srcName), this.decorators = new o.default(this.options.srcName);
4486
+ this.lastContext = 0, this.source = new s.default(this.options.srcName), this.decorators = new s.default(this.options.srcName);
4432
4487
  },
4433
4488
  createFunctionContext: function(e) {
4434
4489
  // istanbul ignore next
@@ -4544,11 +4599,8 @@ var $ = /* @__PURE__ */ Z(((e) => {
4544
4599
  resolvePath: function(e, t, n, r, i) {
4545
4600
  // istanbul ignore next
4546
4601
  var a = this;
4547
- if (this.options.strict || this.options.assumeObjects) {
4548
- this.push(l(this.options.strict && i, this, t, n, e));
4549
- return;
4550
- }
4551
- for (var o = t.length, s = function(n) {
4602
+ if (this.options.strict || this.options.assumeObjects) this.push(d(this.options.strict && i, this, t, n, e));
4603
+ else for (var o = t.length, s = function(n) {
4552
4604
  a.replaceStack(function(i) {
4553
4605
  var o = a.nameLookup(i, t[n], e);
4554
4606
  return r ? [" && ", o] : [
@@ -4664,7 +4716,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
4664
4716
  },
4665
4717
  invokePartial: function(e, t, n) {
4666
4718
  var r = [], i = this.setupParams(t, 1, r);
4667
- e && (t = this.popStack(), delete i.name), n && (i.indent = JSON.stringify(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));
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));
4668
4720
  },
4669
4721
  assignToHash: function(e) {
4670
4722
  var t = this.popStack(), n = void 0, r = void 0, i = void 0;
@@ -4673,9 +4725,9 @@ var $ = /* @__PURE__ */ Z(((e) => {
4673
4725
  n && (a.contexts[e] = n), r && (a.types[e] = r), i && (a.ids[e] = i), a.values[e] = t;
4674
4726
  },
4675
4727
  pushId: function(e, t, n) {
4676
- e === "BlockParam" ? this.pushStackLiteral("blockParams[" + t[0] + "].path[" + t[1] + "]" + (n ? " + " + JSON.stringify("." + n) : "")) : e === "PathExpression" ? this.pushString(t) : e === "SubExpression" ? this.pushStackLiteral("true") : this.pushStackLiteral("null");
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");
4677
4729
  },
4678
- compiler: c,
4730
+ compiler: l,
4679
4731
  compileChildren: function(e, t) {
4680
4732
  for (var n = e.children, r = void 0, i = void 0, a = 0, o = n.length; a < o; a++) {
4681
4733
  r = n[a], i = new this.compiler();
@@ -4704,10 +4756,10 @@ var $ = /* @__PURE__ */ Z(((e) => {
4704
4756
  this.registers[e] || (this.registers[e] = !0, this.registers.list.push(e));
4705
4757
  },
4706
4758
  push: function(e) {
4707
- return e instanceof s || (e = this.source.wrap(e)), this.inlineStack.push(e), e;
4759
+ return e instanceof c || (e = this.source.wrap(e)), this.inlineStack.push(e), e;
4708
4760
  },
4709
4761
  pushStackLiteral: function(e) {
4710
- this.push(new s(e));
4762
+ this.push(new c(e));
4711
4763
  },
4712
4764
  pushSource: function(e) {
4713
4765
  this.pendingContent &&= (this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent), this.pendingLocation)), void 0), e && this.source.push(e);
@@ -4717,13 +4769,13 @@ var $ = /* @__PURE__ */ Z(((e) => {
4717
4769
  /* istanbul ignore next */
4718
4770
  if (!this.isInline()) throw new i.default("replaceStack on non-inline");
4719
4771
  var o = this.popStack(!0);
4720
- if (o instanceof s) n = [o.value], t = ["(", n], a = !0;
4772
+ if (o instanceof c) n = [o.value], t = ["(", n], a = !0;
4721
4773
  else {
4722
4774
  r = !0;
4723
- var c = this.incrStack();
4775
+ var s = this.incrStack();
4724
4776
  t = [
4725
4777
  "((",
4726
- this.push(c),
4778
+ this.push(s),
4727
4779
  " = ",
4728
4780
  o,
4729
4781
  ")"
@@ -4744,7 +4796,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
4744
4796
  for (var t = 0, n = e.length; t < n; t++) {
4745
4797
  var r = e[t];
4746
4798
  /* istanbul ignore if */
4747
- if (r instanceof s) this.compileStack.push(r);
4799
+ if (r instanceof c) this.compileStack.push(r);
4748
4800
  else {
4749
4801
  var i = this.incrStack();
4750
4802
  this.pushSource([
@@ -4761,7 +4813,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
4761
4813
  },
4762
4814
  popStack: function(e) {
4763
4815
  var t = this.isInline(), n = (t ? this.inlineStack : this.compileStack).pop();
4764
- if (!e && n instanceof s) return n.value;
4816
+ if (!e && n instanceof c) return n.value;
4765
4817
  if (!t) {
4766
4818
  /* istanbul ignore next */
4767
4819
  if (!this.stackSlot) throw new i.default("Invalid stack pop");
@@ -4771,7 +4823,7 @@ var $ = /* @__PURE__ */ Z(((e) => {
4771
4823
  },
4772
4824
  topStack: function() {
4773
4825
  var e = this.isInline() ? this.inlineStack : this.compileStack, t = e[e.length - 1];
4774
- return t instanceof s ? t.value : t;
4826
+ return t instanceof c ? t.value : t;
4775
4827
  },
4776
4828
  contextName: function(e) {
4777
4829
  return this.useDepths && e ? "depths[" + e + "]" : "depth" + e;
@@ -4805,14 +4857,18 @@ var $ = /* @__PURE__ */ Z(((e) => {
4805
4857
  },
4806
4858
  setupHelperArgs: function(e, t, n, r) {
4807
4859
  var i = this.setupParams(e, t, n);
4808
- return i.loc = JSON.stringify(this.source.currentLocation), i = this.objectLiteral(i), r ? (this.useRegister("options"), n.push("options"), ["options=", i]) : n ? (n.push(i), "") : i;
4860
+ return i.loc = u(this), i = this.objectLiteral(i), r ? (this.useRegister("options"), n.push("options"), ["options=", i]) : n ? (n.push(i), "") : i;
4809
4861
  }
4810
4862
  }, (function() {
4811
- 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 = c.RESERVED_WORDS = {}, n = 0, r = e.length; n < r; n++) t[e[n]] = !0;
4812
- })(), c.isValidJavaScriptVariableName = function(e) {
4813
- return !c.RESERVED_WORDS[e] && /^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(e);
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);
4814
4866
  };
4815
- function l(e, t, n, r, i) {
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) {
4816
4872
  var a = t.popStack(), o = n.length;
4817
4873
  e && o--;
4818
4874
  for (var s = r; s < o; s++) a = t.nameLookup(a, n[s], i);
@@ -4823,18 +4879,18 @@ var $ = /* @__PURE__ */ Z(((e) => {
4823
4879
  ", ",
4824
4880
  t.quotedString(n[o]),
4825
4881
  ", ",
4826
- JSON.stringify(t.source.currentLocation),
4882
+ u(t),
4827
4883
  " )"
4828
4884
  ] : a;
4829
4885
  }
4830
- e.default = c, t.exports = e.default;
4831
- })), Ft = /* @__PURE__ */ Z(((e, t) => {
4886
+ e.default = l, t.exports = e.default;
4887
+ })), Rt = /* @__PURE__ */ Y(((e, t) => {
4832
4888
  e.__esModule = !0;
4833
4889
  // istanbul ignore next
4834
4890
  function n(e) {
4835
4891
  return e && e.__esModule ? e : { default: e };
4836
4892
  }
4837
- var r = n(mt()), i = n(ht()), a = bt(), o = xt(), s = n(Pt()), c = n(_t()), l = n(pt()), u = r.default.create;
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;
4838
4894
  function d() {
4839
4895
  var e = u();
4840
4896
  return e.compile = function(t, n) {
@@ -4845,85 +4901,75 @@ var $ = /* @__PURE__ */ Z(((e) => {
4845
4901
  }
4846
4902
  var f = d();
4847
4903
  f.create = d, l.default(f), f.Visitor = c.default, f.default = f, e.default = f, t.exports = e.default;
4848
- })), It = typeof global == "object" && global && global.Object === Object && global, Lt = typeof self == "object" && self && self.Object === Object && self, Rt = It || Lt || Function("return this")(), zt = Rt.Symbol, Bt = Object.prototype, Vt = Bt.hasOwnProperty, Ht = Bt.toString, Ut = zt ? zt.toStringTag : void 0;
4849
- function Wt(e) {
4850
- var t = Vt.call(e, Ut), n = e[Ut];
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];
4851
4907
  try {
4852
- e[Ut] = void 0;
4908
+ e[Kt] = void 0;
4853
4909
  var r = !0;
4854
4910
  } catch {}
4855
- var i = Ht.call(e);
4856
- return r && (t ? e[Ut] = n : delete e[Ut]), i;
4911
+ var i = Gt.call(e);
4912
+ return r && (t ? e[Kt] = n : delete e[Kt]), i;
4857
4913
  }
4858
- //#endregion
4859
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
4860
- var Gt = Object.prototype.toString;
4861
- function Kt(e) {
4862
- return Gt.call(e);
4914
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_objectToString.js
4915
+ var Jt = Object.prototype.toString;
4916
+ function Yt(e) {
4917
+ return Jt.call(e);
4863
4918
  }
4864
- //#endregion
4865
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
4866
- var qt = "[object Null]", Jt = "[object Undefined]", Yt = zt ? zt.toStringTag : void 0;
4867
- function Xt(e) {
4868
- return e == null ? e === void 0 ? Jt : qt : Yt && Yt in Object(e) ? Wt(e) : Kt(e);
4919
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGetTag.js
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);
4869
4923
  }
4870
- //#endregion
4871
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
4872
- function Zt(e) {
4924
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObjectLike.js
4925
+ function en(e) {
4873
4926
  return typeof e == "object" && !!e;
4874
4927
  }
4875
- //#endregion
4876
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
4877
- var Qt = "[object Symbol]";
4878
- function $t(e) {
4879
- return typeof e == "symbol" || Zt(e) && Xt(e) == Qt;
4928
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isSymbol.js
4929
+ var tn = "[object Symbol]";
4930
+ function nn(e) {
4931
+ return typeof e == "symbol" || en(e) && $t(e) == tn;
4880
4932
  }
4881
- //#endregion
4882
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js
4883
- function en(e, t) {
4933
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_arrayMap.js
4934
+ function rn(e, t) {
4884
4935
  for (var n = -1, r = e == null ? 0 : e.length, i = Array(r); ++n < r;) i[n] = t(e[n], n, e);
4885
4936
  return i;
4886
4937
  }
4887
- //#endregion
4888
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
4889
- var tn = Array.isArray, nn = 1 / 0, rn = zt ? zt.prototype : void 0, an = rn ? rn.toString : void 0;
4890
- function on(e) {
4938
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isArray.js
4939
+ var an = Array.isArray, on = 1 / 0, sn = Ht ? Ht.prototype : void 0, cn = sn ? sn.toString : void 0;
4940
+ function ln(e) {
4891
4941
  if (typeof e == "string") return e;
4892
- if (tn(e)) return en(e, on) + "";
4893
- if ($t(e)) return an ? an.call(e) : "";
4942
+ if (an(e)) return rn(e, ln) + "";
4943
+ if (nn(e)) return cn ? cn.call(e) : "";
4894
4944
  var t = e + "";
4895
- return t == "0" && 1 / e == -nn ? "-0" : t;
4945
+ return t == "0" && 1 / e == -on ? "-0" : t;
4896
4946
  }
4897
- //#endregion
4898
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
4899
- function sn(e) {
4947
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isObject.js
4948
+ function un(e) {
4900
4949
  var t = typeof e;
4901
4950
  return e != null && (t == "object" || t == "function");
4902
4951
  }
4903
- //#endregion
4904
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
4905
- var cn = "[object AsyncFunction]", ln = "[object Function]", un = "[object GeneratorFunction]", dn = "[object Proxy]";
4906
- function fn(e) {
4907
- if (!sn(e)) return !1;
4908
- var t = Xt(e);
4909
- return t == ln || t == un || t == cn || t == dn;
4952
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/isFunction.js
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;
4910
4958
  }
4911
- //#endregion
4912
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
4913
- var pn = Rt["__core-js_shared__"], mn = function() {
4914
- var e = /[^.]+$/.exec(pn && pn.keys && pn.keys.IE_PROTO || "");
4959
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_coreJsData.js
4960
+ var gn = Vt["__core-js_shared__"], _n = function() {
4961
+ var e = /[^.]+$/.exec(gn && gn.keys && gn.keys.IE_PROTO || "");
4915
4962
  return e ? "Symbol(src)_1." + e : "";
4916
4963
  }();
4917
- function hn(e) {
4918
- return !!mn && mn in e;
4964
+ function vn(e) {
4965
+ return !!_n && _n in e;
4919
4966
  }
4920
- //#endregion
4921
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
4922
- var gn = Function.prototype.toString;
4923
- function _n(e) {
4967
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toSource.js
4968
+ var yn = Function.prototype.toString;
4969
+ function bn(e) {
4924
4970
  if (e != null) {
4925
4971
  try {
4926
- return gn.call(e);
4972
+ return yn.call(e);
4927
4973
  } catch {}
4928
4974
  try {
4929
4975
  return e + "";
@@ -4931,251 +4977,214 @@ function _n(e) {
4931
4977
  }
4932
4978
  return "";
4933
4979
  }
4934
- //#endregion
4935
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
4936
- var vn = /[\\^$.*+?()[\]{}|]/g, yn = /^\[object .+?Constructor\]$/, bn = Function.prototype, xn = Object.prototype, Sn = bn.toString, Cn = xn.hasOwnProperty, wn = RegExp("^" + Sn.call(Cn).replace(vn, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
4937
- function Tn(e) {
4938
- return !sn(e) || hn(e) ? !1 : (fn(e) ? wn : yn).test(_n(e));
4980
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseIsNative.js
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));
4939
4984
  }
4940
- //#endregion
4941
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
4942
- function En(e, t) {
4985
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getValue.js
4986
+ function kn(e, t) {
4943
4987
  return e?.[t];
4944
4988
  }
4945
- //#endregion
4946
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
4947
- function Dn(e, t) {
4948
- var n = En(e, t);
4949
- return Tn(n) ? n : void 0;
4989
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getNative.js
4990
+ function An(e, t) {
4991
+ var n = kn(e, t);
4992
+ return On(n) ? n : void 0;
4950
4993
  }
4951
- //#endregion
4952
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
4953
- function On(e, t) {
4994
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/eq.js
4995
+ function jn(e, t) {
4954
4996
  return e === t || e !== e && t !== t;
4955
4997
  }
4956
- //#endregion
4957
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js
4958
- var kn = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, An = /^\w*$/;
4959
- function jn(e, t) {
4960
- if (tn(e)) return !1;
4998
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKey.js
4999
+ var Mn = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Nn = /^\w*$/;
5000
+ function Pn(e, t) {
5001
+ if (an(e)) return !1;
4961
5002
  var n = typeof e;
4962
- return n == "number" || n == "symbol" || n == "boolean" || e == null || $t(e) ? !0 : An.test(e) || !kn.test(e) || t != null && e in Object(t);
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);
4963
5004
  }
4964
- //#endregion
4965
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
4966
- var Mn = Dn(Object, "create");
4967
- //#endregion
4968
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
4969
- function Nn() {
4970
- this.__data__ = Mn ? Mn(null) : {}, this.size = 0;
5005
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_nativeCreate.js
5006
+ var Fn = An(Object, "create");
5007
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashClear.js
5008
+ function In() {
5009
+ this.__data__ = Fn ? Fn(null) : {}, this.size = 0;
4971
5010
  }
4972
- //#endregion
4973
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
4974
- function Pn(e) {
5011
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashDelete.js
5012
+ function Ln(e) {
4975
5013
  var t = this.has(e) && delete this.__data__[e];
4976
5014
  return this.size -= +!!t, t;
4977
5015
  }
4978
- //#endregion
4979
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
4980
- var Fn = "__lodash_hash_undefined__", In = Object.prototype.hasOwnProperty;
4981
- function Ln(e) {
5016
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashGet.js
5017
+ var Rn = "__lodash_hash_undefined__", zn = Object.prototype.hasOwnProperty;
5018
+ function Bn(e) {
4982
5019
  var t = this.__data__;
4983
- if (Mn) {
5020
+ if (Fn) {
4984
5021
  var n = t[e];
4985
- return n === Fn ? void 0 : n;
5022
+ return n === Rn ? void 0 : n;
4986
5023
  }
4987
- return In.call(t, e) ? t[e] : void 0;
5024
+ return zn.call(t, e) ? t[e] : void 0;
4988
5025
  }
4989
- //#endregion
4990
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
4991
- var Rn = Object.prototype.hasOwnProperty;
4992
- function zn(e) {
5026
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashHas.js
5027
+ var Vn = Object.prototype.hasOwnProperty;
5028
+ function Hn(e) {
4993
5029
  var t = this.__data__;
4994
- return Mn ? t[e] !== void 0 : Rn.call(t, e);
5030
+ return Fn ? t[e] !== void 0 : Vn.call(t, e);
4995
5031
  }
4996
- //#endregion
4997
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
4998
- var Bn = "__lodash_hash_undefined__";
4999
- function Vn(e, t) {
5032
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_hashSet.js
5033
+ var Un = "__lodash_hash_undefined__";
5034
+ function Wn(e, t) {
5000
5035
  var n = this.__data__;
5001
- return this.size += +!this.has(e), n[e] = Mn && t === void 0 ? Bn : t, this;
5036
+ return this.size += +!this.has(e), n[e] = Fn && t === void 0 ? Un : t, this;
5002
5037
  }
5003
- //#endregion
5004
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
5005
- function Hn(e) {
5038
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Hash.js
5039
+ function Gn(e) {
5006
5040
  var t = -1, n = e == null ? 0 : e.length;
5007
5041
  for (this.clear(); ++t < n;) {
5008
5042
  var r = e[t];
5009
5043
  this.set(r[0], r[1]);
5010
5044
  }
5011
5045
  }
5012
- Hn.prototype.clear = Nn, Hn.prototype.delete = Pn, Hn.prototype.get = Ln, Hn.prototype.has = zn, Hn.prototype.set = Vn;
5013
- //#endregion
5014
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
5015
- function Un() {
5046
+ Gn.prototype.clear = In, Gn.prototype.delete = Ln, Gn.prototype.get = Bn, Gn.prototype.has = Hn, Gn.prototype.set = Wn;
5047
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheClear.js
5048
+ function Kn() {
5016
5049
  this.__data__ = [], this.size = 0;
5017
5050
  }
5018
- //#endregion
5019
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
5020
- function Wn(e, t) {
5021
- for (var n = e.length; n--;) if (On(e[n][0], t)) return n;
5051
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_assocIndexOf.js
5052
+ function qn(e, t) {
5053
+ for (var n = e.length; n--;) if (jn(e[n][0], t)) return n;
5022
5054
  return -1;
5023
5055
  }
5024
- //#endregion
5025
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
5026
- var Gn = Array.prototype.splice;
5027
- function Kn(e) {
5028
- var t = this.__data__, n = Wn(t, e);
5029
- return n < 0 ? !1 : (n == t.length - 1 ? t.pop() : Gn.call(t, n, 1), --this.size, !0);
5056
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheDelete.js
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);
5030
5061
  }
5031
- //#endregion
5032
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
5033
- function qn(e) {
5034
- var t = this.__data__, n = Wn(t, e);
5062
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheGet.js
5063
+ function Xn(e) {
5064
+ var t = this.__data__, n = qn(t, e);
5035
5065
  return n < 0 ? void 0 : t[n][1];
5036
5066
  }
5037
- //#endregion
5038
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
5039
- function Jn(e) {
5040
- return Wn(this.__data__, e) > -1;
5067
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheHas.js
5068
+ function Zn(e) {
5069
+ return qn(this.__data__, e) > -1;
5041
5070
  }
5042
- //#endregion
5043
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
5044
- function Yn(e, t) {
5045
- var n = this.__data__, r = Wn(n, e);
5071
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_listCacheSet.js
5072
+ function Qn(e, t) {
5073
+ var n = this.__data__, r = qn(n, e);
5046
5074
  return r < 0 ? (++this.size, n.push([e, t])) : n[r][1] = t, this;
5047
5075
  }
5048
- //#endregion
5049
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
5050
- function Xn(e) {
5076
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_ListCache.js
5077
+ function $n(e) {
5051
5078
  var t = -1, n = e == null ? 0 : e.length;
5052
5079
  for (this.clear(); ++t < n;) {
5053
5080
  var r = e[t];
5054
5081
  this.set(r[0], r[1]);
5055
5082
  }
5056
5083
  }
5057
- Xn.prototype.clear = Un, Xn.prototype.delete = Kn, Xn.prototype.get = qn, Xn.prototype.has = Jn, Xn.prototype.set = Yn;
5058
- //#endregion
5059
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
5060
- var Zn = Dn(Rt, "Map");
5061
- //#endregion
5062
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
5063
- function Qn() {
5084
+ $n.prototype.clear = Kn, $n.prototype.delete = Yn, $n.prototype.get = Xn, $n.prototype.has = Zn, $n.prototype.set = Qn;
5085
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_Map.js
5086
+ var er = An(Vt, "Map");
5087
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheClear.js
5088
+ function tr() {
5064
5089
  this.size = 0, this.__data__ = {
5065
- hash: new Hn(),
5066
- map: new (Zn || Xn)(),
5067
- string: new Hn()
5090
+ hash: new Gn(),
5091
+ map: new (er || $n)(),
5092
+ string: new Gn()
5068
5093
  };
5069
5094
  }
5070
- //#endregion
5071
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
5072
- function $n(e) {
5095
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_isKeyable.js
5096
+ function nr(e) {
5073
5097
  var t = typeof e;
5074
5098
  return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
5075
5099
  }
5076
- //#endregion
5077
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
5078
- function er(e, t) {
5100
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_getMapData.js
5101
+ function rr(e, t) {
5079
5102
  var n = e.__data__;
5080
- return $n(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
5103
+ return nr(t) ? n[typeof t == "string" ? "string" : "hash"] : n.map;
5081
5104
  }
5082
- //#endregion
5083
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
5084
- function tr(e) {
5085
- var t = er(this, e).delete(e);
5105
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheDelete.js
5106
+ function ir(e) {
5107
+ var t = rr(this, e).delete(e);
5086
5108
  return this.size -= +!!t, t;
5087
5109
  }
5088
- //#endregion
5089
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
5090
- function nr(e) {
5091
- return er(this, e).get(e);
5110
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheGet.js
5111
+ function ar(e) {
5112
+ return rr(this, e).get(e);
5092
5113
  }
5093
- //#endregion
5094
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
5095
- function rr(e) {
5096
- return er(this, e).has(e);
5114
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheHas.js
5115
+ function or(e) {
5116
+ return rr(this, e).has(e);
5097
5117
  }
5098
- //#endregion
5099
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
5100
- function ir(e, t) {
5101
- var n = er(this, e), r = n.size;
5118
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_mapCacheSet.js
5119
+ function sr(e, t) {
5120
+ var n = rr(this, e), r = n.size;
5102
5121
  return n.set(e, t), this.size += n.size == r ? 0 : 1, this;
5103
5122
  }
5104
- //#endregion
5105
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
5106
- function ar(e) {
5123
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_MapCache.js
5124
+ function cr(e) {
5107
5125
  var t = -1, n = e == null ? 0 : e.length;
5108
5126
  for (this.clear(); ++t < n;) {
5109
5127
  var r = e[t];
5110
5128
  this.set(r[0], r[1]);
5111
5129
  }
5112
5130
  }
5113
- ar.prototype.clear = Qn, ar.prototype.delete = tr, ar.prototype.get = nr, ar.prototype.has = rr, ar.prototype.set = ir;
5114
- //#endregion
5115
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.js
5116
- var or = "Expected a function";
5117
- function sr(e, t) {
5118
- if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(or);
5131
+ cr.prototype.clear = tr, cr.prototype.delete = ir, cr.prototype.get = ar, cr.prototype.has = or, cr.prototype.set = sr;
5132
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/memoize.js
5133
+ var lr = "Expected a function";
5134
+ function ur(e, t) {
5135
+ if (typeof e != "function" || t != null && typeof t != "function") throw TypeError(lr);
5119
5136
  var n = function() {
5120
5137
  var r = arguments, i = t ? t.apply(this, r) : r[0], a = n.cache;
5121
5138
  if (a.has(i)) return a.get(i);
5122
5139
  var o = e.apply(this, r);
5123
5140
  return n.cache = a.set(i, o) || a, o;
5124
5141
  };
5125
- return n.cache = new (sr.Cache || ar)(), n;
5142
+ return n.cache = new (ur.Cache || cr)(), n;
5126
5143
  }
5127
- sr.Cache = ar;
5128
- //#endregion
5129
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js
5130
- var cr = 500;
5131
- function lr(e) {
5132
- var t = sr(e, function(e) {
5133
- return n.size === cr && n.clear(), e;
5144
+ ur.Cache = cr;
5145
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_memoizeCapped.js
5146
+ var dr = 500;
5147
+ function fr(e) {
5148
+ var t = ur(e, function(e) {
5149
+ return n.size === dr && n.clear(), e;
5134
5150
  }), n = t.cache;
5135
5151
  return t;
5136
5152
  }
5137
- //#endregion
5138
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js
5139
- var ur = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, dr = /\\(\\)?/g, fr = lr(function(e) {
5153
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_stringToPath.js
5154
+ var pr = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, mr = /\\(\\)?/g, hr = fr(function(e) {
5140
5155
  var t = [];
5141
- return e.charCodeAt(0) === 46 && t.push(""), e.replace(ur, function(e, n, r, i) {
5142
- t.push(r ? i.replace(dr, "$1") : n || e);
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);
5143
5158
  }), t;
5144
5159
  });
5145
- //#endregion
5146
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js
5147
- function pr(e) {
5148
- return e == null ? "" : on(e);
5160
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/toString.js
5161
+ function gr(e) {
5162
+ return e == null ? "" : ln(e);
5149
5163
  }
5150
- //#endregion
5151
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js
5152
- function mr(e, t) {
5153
- return tn(e) ? e : jn(e, t) ? [e] : fr(pr(e));
5164
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_castPath.js
5165
+ function _r(e, t) {
5166
+ return an(e) ? e : Pn(e, t) ? [e] : hr(gr(e));
5154
5167
  }
5155
- //#endregion
5156
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js
5157
- var hr = 1 / 0;
5158
- function gr(e) {
5159
- if (typeof e == "string" || $t(e)) return e;
5168
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_toKey.js
5169
+ var vr = 1 / 0;
5170
+ function yr(e) {
5171
+ if (typeof e == "string" || nn(e)) return e;
5160
5172
  var t = e + "";
5161
- return t == "0" && 1 / e == -hr ? "-0" : t;
5173
+ return t == "0" && 1 / e == -vr ? "-0" : t;
5162
5174
  }
5163
- //#endregion
5164
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js
5165
- function _r(e, t) {
5166
- t = mr(t, e);
5167
- for (var n = 0, r = t.length; e != null && n < r;) e = e[gr(t[n++])];
5175
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/_baseGet.js
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++])];
5168
5179
  return n && n == r ? e : void 0;
5169
5180
  }
5170
- //#endregion
5171
- //#region ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js
5172
- function vr(e, t, n) {
5173
- var r = e == null ? void 0 : _r(e, t);
5181
+ // ../../node_modules/.pnpm/lodash-es@4.18.1/node_modules/lodash-es/get.js
5182
+ function xr(e, t, n) {
5183
+ var r = e == null ? void 0 : br(e, t);
5174
5184
  return r === void 0 ? n : r;
5175
5185
  }
5176
- //#endregion
5177
- //#region ../../node_modules/.pnpm/zustand@5.0.15_@types+react@19.2.18_immer@11.1.15_react@19.2.8_use-sync-external-store@1.7.0_react@19.2.8_/node_modules/zustand/esm/vanilla.mjs
5178
- var yr = (e) => {
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) => {
5179
5188
  let t, n = /* @__PURE__ */ new Set(), r = (e, r) => {
5180
5189
  let i = typeof e == "function" ? e(t) : e;
5181
5190
  if (!Object.is(i, t)) {
@@ -5189,17 +5198,17 @@ var yr = (e) => {
5189
5198
  subscribe: (e) => (n.add(e), () => n.delete(e))
5190
5199
  }, o = t = e(r, i, a);
5191
5200
  return a;
5192
- }, br = ((e) => e ? yr(e) : yr), xr = (e) => e;
5193
- function Sr(t, n = xr) {
5194
- let r = e.useSyncExternalStore(t.subscribe, e.useCallback(() => n(t.getState()), [t, n]), e.useCallback(() => n(t.getInitialState()), [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()));
5195
5204
  return e.useDebugValue(r), r;
5196
5205
  }
5197
- var Cr = (e) => {
5198
- let t = br(e), n = (e) => Sr(t, e);
5206
+ var Er = (e) => {
5207
+ let t = Cr(e), n = (e) => Tr(t, e);
5199
5208
  return Object.assign(n, t), n;
5200
- }, wr = ((e) => e ? Cr(e) : Cr), Tr = /* @__PURE__ */ Ue(Ft(), 1), Er = (e) => typeof e == "object" && !!e && "one" in e && "many" in e && typeof e.one == "string" && typeof e.many == "string", Dr = (e, t) => t === 1 ? e.one : e.many;
5201
- function Or(e) {
5202
- let t = (0, Q.c)(3), n = kr, r, a;
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;
5203
5212
  t[0] === e ? (r = t[1], a = t[2]) : (r = () => {
5204
5213
  if (process.env.NODE_ENV !== "development") return;
5205
5214
  let t = /* @__PURE__ */ new Map();
@@ -5218,17 +5227,17 @@ function Or(e) {
5218
5227
  });
5219
5228
  }, a = [e], t[0] = e, t[1] = r, t[2] = a), i(r, a);
5220
5229
  }
5221
- function kr(e) {
5230
+ function Mr(e) {
5222
5231
  let t = [], n = (e, r) => {
5223
5232
  Object.entries(e).forEach((e) => {
5224
5233
  let [i, a] = e, o = r ? `${r}.${i}` : i;
5225
- typeof a == "object" && a && !Array.isArray(a) && !Er(a) ? n(a, o) : t.push(o);
5234
+ typeof a == "object" && a && !Array.isArray(a) && !kr(a) ? n(a, o) : t.push(o);
5226
5235
  });
5227
5236
  };
5228
5237
  return n(e, ""), t;
5229
5238
  }
5230
- Tr.Utils.escapeExpression = (e) => String(e ?? "").replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
5231
- var Ar = "language", jr = wr((e) => ({
5239
+ Or.Utils.escapeExpression = (e) => String(e ?? "").replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;");
5240
+ var Nr = "language", Pr = Dr((e) => ({
5232
5241
  language: "en",
5233
5242
  explicitLanguage: void 0,
5234
5243
  setLanguage: (t) => {
@@ -5238,32 +5247,32 @@ var Ar = "language", jr = wr((e) => ({
5238
5247
  explicitLanguage: n
5239
5248
  });
5240
5249
  try {
5241
- globalThis.localStorage?.setItem(Ar, n);
5250
+ globalThis.localStorage?.setItem(Nr, n);
5242
5251
  } catch {}
5243
5252
  }
5244
5253
  }));
5245
- function Mr(e, t) {
5246
- let n = (0, Q.c)(18), r;
5254
+ function $(e, t) {
5255
+ let n = (0, X.c)(18), r;
5247
5256
  n[0] === t ? r = n[1] : (r = t === void 0 ? {} : t, n[0] = t, n[1] = r);
5248
- let i = r, { language: a, setLanguage: o } = jr(), [s] = c(e), l = s[a], u = s.en, d;
5249
- n[2] !== l || n[3] !== u ? (d = (e) => {
5250
- let t = vr(u, e);
5251
- return vr(l, e, t);
5252
- }, n[2] = l, n[3] = u, n[4] = d) : d = n[4];
5257
+ let i = r, { language: a, setLanguage: o } = Pr(), [s] = l(e), c = s[a], u = s.en, d;
5258
+ n[2] !== c || n[3] !== u ? (d = (e) => {
5259
+ let t = xr(u, e);
5260
+ return xr(c, e, t);
5261
+ }, n[2] = c, n[3] = u, n[4] = d) : d = n[4];
5253
5262
  let f = d, p;
5254
5263
  n[5] !== f || n[6] !== i.escapeValues ? (p = (e, t) => {
5255
5264
  let n = `!!! ${e} !!!`, r = f(e);
5256
- return Er(r) && t && typeof t.count == "number" && (r = Dr(r, t.count)), r === void 0 || typeof r != "string" ? (console.error(`Missing translation for key: ${e}`), n) : Tr.compile(r, { noEscape: i.escapeValues === !1 })(t);
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);
5257
5266
  }, n[5] = f, n[6] = i.escapeValues, n[7] = p) : p = n[7];
5258
5267
  let m = p, h;
5259
5268
  n[8] === m ? h = n[9] : (h = (e) => typeof e == "string" ? e : m(e.key, e.data), n[8] = m, n[9] = h);
5260
5269
  let g = h, _;
5261
5270
  n[10] === f ? _ = n[11] : (_ = (e, t) => {
5262
5271
  let n = f(e);
5263
- return n !== void 0 && (typeof n == "string" || Er(n) || t?.succeedIfKeyIsObject && typeof n == "object");
5272
+ return n !== void 0 && (typeof n == "string" || kr(n) || t?.succeedIfKeyIsObject && typeof n == "object");
5264
5273
  }, n[10] = f, n[11] = _);
5265
5274
  let v = _;
5266
- Or(s);
5275
+ jr(s);
5267
5276
  let y;
5268
5277
  return n[12] !== a || n[13] !== o || n[14] !== m || n[15] !== v || n[16] !== g ? (y = {
5269
5278
  t: m,
@@ -5273,36 +5282,35 @@ function Mr(e, t) {
5273
5282
  setLanguage: o
5274
5283
  }, n[12] = a, n[13] = o, n[14] = m, n[15] = v, n[16] = g, n[17] = y) : y = n[17], y;
5275
5284
  }
5276
- function Nr() {
5277
- let e = jr.getState().explicitLanguage;
5285
+ function Fr() {
5286
+ let e = Pr.getState().explicitLanguage;
5278
5287
  if (e) return e;
5279
5288
  for (let e of ["localStorage", "sessionStorage"]) try {
5280
- let t = Ye(globalThis[e]?.getItem(Ar));
5289
+ let t = Qe(globalThis[e]?.getItem(Nr));
5281
5290
  if (t) return t;
5282
5291
  } catch {}
5283
5292
  for (let e of navigator.languages ?? [navigator.language]) {
5284
- let t = Ye(e);
5293
+ let t = Qe(e);
5285
5294
  if (t) return t;
5286
5295
  }
5287
5296
  }
5288
- function Pr(e = "en") {
5289
- return Nr() ?? e;
5297
+ function Ir(e = "en") {
5298
+ return Fr() ?? e;
5290
5299
  }
5291
- function Fr() {
5292
- jr.setState({ language: Pr() });
5300
+ function Lr() {
5301
+ Pr.setState({ language: Ir() });
5293
5302
  }
5294
- //#endregion
5295
- //#region ../../node_modules/.pnpm/jdenticon@3.3.0/node_modules/jdenticon/dist/jdenticon-module.mjs
5296
- function Ir(e, t, n) {
5303
+ // ../../node_modules/.pnpm/jdenticon@3.3.0/node_modules/jdenticon/dist/jdenticon-module.mjs
5304
+ function Rr(e, t, n) {
5297
5305
  return parseInt(e.substr(t, n), 16);
5298
5306
  }
5299
- function Lr(e) {
5307
+ function zr(e) {
5300
5308
  return e |= 0, e < 0 ? "00" : e < 16 ? "0" + e.toString(16) : e < 256 ? e.toString(16) : "ff";
5301
5309
  }
5302
- function Rr(e, t, n) {
5303
- return n = n < 0 ? n + 6 : n > 6 ? n - 6 : n, Lr(255 * (n < 1 ? e + (t - e) * n : n < 3 ? t : n < 4 ? e + (t - e) * (4 - n) : e));
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));
5304
5312
  }
5305
- function zr(e) {
5313
+ function Vr(e) {
5306
5314
  if (/^#[0-9a-f]{3,8}$/i.test(e)) {
5307
5315
  let t, n = e.length;
5308
5316
  if (n < 6) {
@@ -5312,18 +5320,18 @@ function zr(e) {
5312
5320
  return (n == 7 || n > 8) && (t = e), t;
5313
5321
  }
5314
5322
  }
5315
- function Br(e, t, n) {
5323
+ function Hr(e, t, n) {
5316
5324
  let r;
5317
5325
  if (t == 0) {
5318
- let e = Lr(n * 255);
5326
+ let e = zr(n * 255);
5319
5327
  r = e + e + e;
5320
5328
  } else {
5321
5329
  let i = n <= .5 ? n * (t + 1) : n + t - n * t, a = n * 2 - i;
5322
- r = Rr(a, i, e * 6 + 2) + Rr(a, i, e * 6) + Rr(a, i, e * 6 - 2);
5330
+ r = Br(a, i, e * 6 + 2) + Br(a, i, e * 6) + Br(a, i, e * 6 - 2);
5323
5331
  }
5324
5332
  return "#" + r;
5325
5333
  }
5326
- function Vr(e, t, n) {
5334
+ function Ur(e, t, n) {
5327
5335
  let r = [
5328
5336
  .55,
5329
5337
  .5,
@@ -5333,14 +5341,14 @@ function Vr(e, t, n) {
5333
5341
  .55,
5334
5342
  .55
5335
5343
  ][e * 6 + .5 | 0];
5336
- return n = n < .5 ? n * r * 2 : r + (n - .5) * (1 - r) * 2, Br(e, t, n);
5344
+ return n = n < .5 ? n * r * 2 : r + (n - .5) * (1 - r) * 2, Hr(e, t, n);
5337
5345
  }
5338
- var Hr = typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {}, Ur = {
5346
+ var Wr = typeof window < "u" ? window : typeof self < "u" ? self : typeof global < "u" ? global : {}, Gr = {
5339
5347
  V: "jdenticon_config",
5340
5348
  n: "config"
5341
- }, Wr = {};
5342
- function Gr(e, t) {
5343
- let n = typeof e == "object" && e || Wr[Ur.n] || Hr[Ur.V] || {}, r = n.lightness || {}, i = n.saturation || {}, a = "color" in i ? i.color : i, o = i.grayscale, s = n.backColor, c = n.padding;
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;
5344
5352
  function l(e, t) {
5345
5353
  let n = r[e];
5346
5354
  return n && n.length > 1 || (n = t), function(e) {
@@ -5357,25 +5365,25 @@ function Gr(e, t) {
5357
5365
  D: typeof o == "number" ? o : 0,
5358
5366
  p: l("color", [.4, .8]),
5359
5367
  F: l("grayscale", [.3, .9]),
5360
- G: zr(s),
5368
+ G: Vr(s),
5361
5369
  X: typeof e == "number" ? e : typeof c == "number" ? c : t
5362
5370
  };
5363
5371
  }
5364
- var Kr = class {
5372
+ var Jr = class {
5365
5373
  constructor(e, t) {
5366
5374
  this.x = e, this.y = t;
5367
5375
  }
5368
- }, qr = class {
5376
+ }, Yr = class {
5369
5377
  constructor(e, t, n, r) {
5370
5378
  this.q = e, this.t = t, this.H = n, this.Y = r;
5371
5379
  }
5372
5380
  I(e, t, n, r) {
5373
5381
  let i = this.q + this.H, a = this.t + this.H, o = this.Y;
5374
- return o === 1 ? new Kr(i - t - (r || 0), this.t + e) : o === 2 ? new Kr(i - e - (n || 0), a - t - (r || 0)) : o === 3 ? new Kr(this.q + t, a - e - (n || 0)) : new Kr(this.q + e, this.t + t);
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);
5375
5383
  }
5376
- }, Jr = new qr(0, 0, 0, 0), Yr = class {
5384
+ }, Xr = new Yr(0, 0, 0, 0), Zr = class {
5377
5385
  constructor(e) {
5378
- this.J = e, this.u = Jr;
5386
+ this.J = e, this.u = Xr;
5379
5387
  }
5380
5388
  g(e, t) {
5381
5389
  let n = t ? -2 : 2, r = [];
@@ -5424,7 +5432,7 @@ var Kr = class {
5424
5432
  ], i);
5425
5433
  }
5426
5434
  };
5427
- function Xr(e, t, n, r) {
5435
+ function Qr(e, t, n, r) {
5428
5436
  e %= 14;
5429
5437
  let i, a, o, s, c, l;
5430
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([
@@ -5460,40 +5468,40 @@ function Xr(e, t, n, r) {
5460
5468
  n
5461
5469
  ]));
5462
5470
  }
5463
- function Zr(e, t, n) {
5471
+ function $r(e, t, n) {
5464
5472
  e %= 4;
5465
5473
  let r;
5466
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);
5467
5475
  }
5468
- function Qr(e, t) {
5476
+ function ei(e, t) {
5469
5477
  return e = t.W(e), [
5470
- Vr(e, t.D, t.F(0)),
5471
- Vr(e, t.o, t.p(.5)),
5472
- Vr(e, t.D, t.F(1)),
5473
- Vr(e, t.o, t.p(1)),
5474
- Vr(e, t.o, t.p(0))
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))
5475
5483
  ];
5476
5484
  }
5477
- function $r(e, t, n) {
5478
- let r = Gr(n, .08);
5485
+ function ti(e, t, n) {
5486
+ let r = qr(n, .08);
5479
5487
  r.G && e.m(r.G);
5480
5488
  let i = e.k, a = .5 + i * r.X | 0;
5481
5489
  i -= a * 2;
5482
- let o = new Yr(e), s = 0 | i / 4, c = 0 | a + i / 2 - s * 2, l = 0 | a + i / 2 - s * 2;
5490
+ let o = new Zr(e), s = 0 | i / 4, c = 0 | a + i / 2 - s * 2, l = 0 | a + i / 2 - s * 2;
5483
5491
  function u(n, r, i, a, u) {
5484
- let p = Ir(t, i, 1), m = a ? Ir(t, a, 1) : 0;
5492
+ let p = Rr(t, i, 1), m = a ? Rr(t, a, 1) : 0;
5485
5493
  e.L(d[f[n]]);
5486
- for (let e = 0; e < u.length; e++) o.u = new qr(c + u[e][0] * s, l + u[e][1] * s, s, m++ % 4), r(p, o, s, e);
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);
5487
5495
  e.M();
5488
5496
  }
5489
- let d = Qr(Ir(t, -7) / 268435455, r), f = [], p;
5497
+ let d = ei(Rr(t, -7) / 268435455, r), f = [], p;
5490
5498
  function m(e) {
5491
5499
  if (e.indexOf(p) >= 0) {
5492
5500
  for (let t = 0; t < e.length; t++) if (f.indexOf(e[t]) >= 0) return !0;
5493
5501
  }
5494
5502
  }
5495
- for (let e = 0; e < 3; e++) p = Ir(t, 8 + e, 1) % d.length, (m([0, 4]) || m([2, 3])) && (p = 1), f.push(p);
5496
- u(0, Zr, 2, 3, [
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, [
5497
5505
  [1, 0],
5498
5506
  [2, 0],
5499
5507
  [2, 3],
@@ -5502,19 +5510,19 @@ function $r(e, t, n) {
5502
5510
  [3, 1],
5503
5511
  [3, 2],
5504
5512
  [0, 2]
5505
- ]), u(1, Zr, 4, 5, [
5513
+ ]), u(1, $r, 4, 5, [
5506
5514
  [0, 0],
5507
5515
  [3, 0],
5508
5516
  [3, 3],
5509
5517
  [0, 3]
5510
- ]), u(2, Xr, 1, null, [
5518
+ ]), u(2, Qr, 1, null, [
5511
5519
  [1, 1],
5512
5520
  [2, 1],
5513
5521
  [2, 2],
5514
5522
  [1, 2]
5515
5523
  ]), e.finish();
5516
5524
  }
5517
- function ei(e) {
5525
+ function ni(e) {
5518
5526
  var t = 0, n = 0, r = encodeURI(e) + "%80", i = [], a, o = [], s = 1732584193, c = 4023233417, l = ~s, u = ~c, d = 3285377520, f = [
5519
5527
  s,
5520
5528
  c,
@@ -5533,39 +5541,39 @@ function ei(e) {
5533
5541
  for (t = 0; t < 40; t++) m += (f[t >> 3] >>> (7 - (t & 7)) * 4 & 15).toString(16);
5534
5542
  return m;
5535
5543
  }
5536
- function ti(e) {
5544
+ function ri(e) {
5537
5545
  return /^[0-9a-f]{11,}$/i.test(e) && e;
5538
5546
  }
5539
- function ni(e) {
5540
- return ei(e == null ? "" : "" + e);
5547
+ function ii(e) {
5548
+ return ni(e == null ? "" : "" + e);
5541
5549
  }
5542
5550
  typeof document < "u" && document.querySelectorAll.bind(document);
5543
- function ri(e) {
5551
+ function ai(e) {
5544
5552
  return (e * 10 + .5 | 0) / 10;
5545
5553
  }
5546
- var ii = class {
5554
+ var oi = class {
5547
5555
  constructor() {
5548
5556
  this.v = "";
5549
5557
  }
5550
5558
  g(e) {
5551
5559
  let t = "";
5552
- for (let n = 0; n < e.length; n++) t += (n ? "L" : "M") + ri(e[n].x) + " " + ri(e[n].y);
5560
+ for (let n = 0; n < e.length; n++) t += (n ? "L" : "M") + ai(e[n].x) + " " + ai(e[n].y);
5553
5561
  this.v += t + "Z";
5554
5562
  }
5555
5563
  h(e, t, n) {
5556
- let r = +!n, i = ri(t / 2), a = ri(t), o = "a" + i + "," + i + " 0 1," + r + " ";
5557
- this.v += "M" + ri(e.x) + " " + ri(e.y + t / 2) + o + a + ",0" + o + -a + ",0";
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";
5558
5566
  }
5559
- }, ai = class {
5567
+ }, si = class {
5560
5568
  constructor(e) {
5561
5569
  this.A, this.B = {}, this.O = e, this.k = e.k;
5562
5570
  }
5563
5571
  m(e) {
5564
- let t = /^(#......)(..)?/.exec(e), n = t[2] ? Ir(t[2], 0) / 255 : 1;
5572
+ let t = /^(#......)(..)?/.exec(e), n = t[2] ? Rr(t[2], 0) / 255 : 1;
5565
5573
  this.O.m(t[1], n);
5566
5574
  }
5567
5575
  L(e) {
5568
- this.A = this.B[e] || (this.B[e] = new ii());
5576
+ this.A = this.B[e] || (this.B[e] = new oi());
5569
5577
  }
5570
5578
  M() {}
5571
5579
  g(e) {
@@ -5578,13 +5586,13 @@ var ii = class {
5578
5586
  let e = this.B;
5579
5587
  for (let t in e) e.hasOwnProperty(t) && this.O.P(t, e[t].v);
5580
5588
  }
5581
- }, oi = {
5589
+ }, ci = {
5582
5590
  R: "http://www.w3.org/2000/svg",
5583
5591
  S: "width",
5584
5592
  T: "height"
5585
- }, si = class {
5593
+ }, li = class {
5586
5594
  constructor(e) {
5587
- this.k = e, this.C = "<svg xmlns=\"" + oi.R + "\" width=\"" + e + "\" height=\"" + e + "\" viewBox=\"0 0 " + e + " " + e + "\">";
5595
+ this.k = e, this.C = "<svg xmlns=\"" + ci.R + "\" width=\"" + e + "\" height=\"" + e + "\" viewBox=\"0 0 " + e + " " + e + "\">";
5588
5596
  }
5589
5597
  m(e, t) {
5590
5598
  t && (this.C += "<rect width=\"100%\" height=\"100%\" fill=\"" + e + "\" opacity=\"" + t.toFixed(2) + "\"/>");
@@ -5596,136 +5604,94 @@ var ii = class {
5596
5604
  return this.C + "</svg>";
5597
5605
  }
5598
5606
  };
5599
- function ci(e, t, n) {
5600
- let r = new si(t);
5601
- return $r(new ai(r), ti(e) || ni(e), n), r.toString();
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();
5602
5610
  }
5603
- //#endregion
5604
- //#region src/lib/components/attraccess-user/AttraccessUserActionsContext.tsx
5605
- var li = t({});
5606
- function ui(e) {
5607
- let t = (0, Q.c)(5), { children: n, onStartDirectMessage: r } = e, i;
5611
+ // src/lib/components/attraccess-user/AttraccessUserActionsContext.tsx
5612
+ var di = t({});
5613
+ function fi(e) {
5614
+ let t = (0, X.c)(5), { children: n, onStartDirectMessage: r } = e, i;
5608
5615
  t[0] === r ? i = t[1] : (i = { onStartDirectMessage: r }, t[0] = r, t[1] = i);
5609
5616
  let a;
5610
- return t[2] !== n || t[3] !== i ? (a = /* @__PURE__ */ Y(li.Provider, {
5617
+ return t[2] !== n || t[3] !== i ? (a = /* @__PURE__ */ q(di.Provider, {
5611
5618
  value: i,
5612
5619
  children: n
5613
5620
  }), t[2] = n, t[3] = i, t[4] = a) : a = t[4], a;
5614
5621
  }
5615
- function di() {
5616
- return r(li);
5622
+ function pi() {
5623
+ return r(di);
5617
5624
  }
5618
- var fi = {
5625
+ var mi = {
5619
5626
  unknown: "Unknown",
5620
5627
  startDirectMessage: "Start direct message",
5621
5628
  emailVerified: "Email verified",
5622
5629
  emailUnverified: "Email not verified"
5623
- }, pi = {
5630
+ }, hi = {
5624
5631
  unknown: "Gelöscht",
5625
5632
  startDirectMessage: "Direktnachricht starten",
5626
5633
  emailVerified: "E-Mail bestätigt",
5627
5634
  emailUnverified: "E-Mail nicht bestätigt"
5628
5635
  };
5629
- //#endregion
5630
- //#region src/lib/components/attraccess-user/AttraccessUser.tsx
5631
- function mi(e) {
5632
- let t = (0, Q.c)(63), { user: n, description: r, className: i, onStartDirectMessage: a, variant: o, interactive: s } = e, c = o === void 0 ? "full" : o, l = s === void 0 || s, u;
5633
- t[0] === Symbol.for("react.memo_cache_sentinel") ? (u = {
5634
- en: fi,
5635
- de: pi
5636
- }, t[0] = u) : u = t[0];
5637
- let { t: d } = Mr(u), f = di(), p = !n || !!n?.deletedAt, m;
5638
- bb0: {
5639
- if (p) {
5640
- m = void 0;
5641
- break bb0;
5642
- }
5643
- let e;
5644
- if (t[1] !== n?.id) {
5645
- let r = ci(n?.id || "unknown", 100);
5646
- e = btoa(r), t[1] = n?.id, t[2] = e;
5647
- } else e = t[2];
5648
- m = `data:image/svg+xml;base64,${e}`;
5649
- }
5650
- let y = m, b, x, S, C, w, T, E, D;
5651
- if (t[3] !== f || t[4] !== y || t[5] !== l || t[6] !== p || t[7] !== a || t[8] !== d || t[9] !== n) {
5652
- C = n?.username || d("unknown");
5653
- let e;
5654
- t[18] !== f || t[19] !== a || t[20] !== n ? (e = () => {
5655
- a ? a(n) : f.onStartDirectMessage(n);
5656
- }, t[18] = f, t[19] = a, t[20] = n, t[21] = e) : e = t[21], w = e, S = l && !!n && !!w, x = h, D = y ? /* @__PURE__ */ Y(_, {
5657
- src: y,
5658
- alt: C
5659
- }) : null, b = g, T = p ? "warning" : void 0, E = p ? /* @__PURE__ */ Y(_e, { className: "w-4 h-4" }) : C.slice(0, 2).toUpperCase(), t[3] = f, t[4] = y, t[5] = l, t[6] = p, t[7] = a, t[8] = d, t[9] = n, t[10] = b, t[11] = x, t[12] = S, t[13] = C, t[14] = w, t[15] = T, t[16] = E, t[17] = D;
5660
- } else b = t[10], x = t[11], S = t[12], C = t[13], w = t[14], T = t[15], E = t[16], D = t[17];
5661
- let O;
5662
- t[22] !== b || t[23] !== T || t[24] !== E ? (O = /* @__PURE__ */ Y(b, {
5663
- color: T,
5664
- children: E
5665
- }), t[22] = b, t[23] = T, t[24] = E, t[25] = O) : O = t[25];
5666
- let k;
5667
- t[26] !== x || t[27] !== D || t[28] !== O ? (k = /* @__PURE__ */ X(x, { children: [D, O] }), t[26] = x, t[27] = D, t[28] = O, t[29] = k) : k = t[29];
5668
- let A = k, j = `flex items-center gap-2 ${i ?? ""}`, M;
5669
- t[30] !== p || t[31] !== C ? (M = p ? /* @__PURE__ */ Y("del", { children: C }) : C, t[30] = p, t[31] = C, t[32] = M) : M = t[32];
5670
- let N;
5671
- t[33] === M ? N = t[34] : (N = /* @__PURE__ */ Y("span", {
5672
- className: "text-sm font-medium group-hover:underline",
5673
- children: M
5674
- }), t[33] = M, t[34] = N);
5675
- let P;
5676
- t[35] === S ? P = t[36] : (P = S && /* @__PURE__ */ Y(be, {
5677
- className: "h-3 w-3 text-muted-foreground shrink-0",
5678
- "aria-hidden": "true",
5679
- focusable: "false"
5680
- }), t[35] = S, t[36] = P);
5681
- let F;
5682
- t[37] !== N || t[38] !== P ? (F = /* @__PURE__ */ X("div", {
5683
- className: "flex flex-row items-center gap-1",
5684
- children: [N, P]
5685
- }), t[37] = N, t[38] = P, t[39] = F) : F = t[39];
5686
- let I;
5687
- t[40] !== r || t[41] !== p ? (I = r && /* @__PURE__ */ Y("span", {
5688
- className: "text-xs text-muted-foreground",
5689
- children: p ? /* @__PURE__ */ Y("del", { children: r }) : r
5690
- }), t[40] = r, t[41] = p, t[42] = I) : I = t[42];
5691
- let L;
5692
- t[43] !== F || t[44] !== I ? (L = /* @__PURE__ */ X("div", {
5693
- className: "flex flex-col",
5694
- children: [F, I]
5695
- }), t[43] = F, t[44] = I, t[45] = L) : L = t[45];
5696
- let R;
5697
- t[46] !== A || t[47] !== j || t[48] !== L ? (R = /* @__PURE__ */ X("div", {
5698
- className: j,
5699
- children: [A, L]
5700
- }), t[46] = A, t[47] = j, t[48] = L, t[49] = R) : R = t[49];
5701
- let z = R, B = c === "mini" ? A : z;
5702
- if (!S) return B;
5703
- let V;
5704
- t[50] === B ? V = t[51] : (V = /* @__PURE__ */ Y(U.Trigger, {
5636
+ // src/lib/components/attraccess-user/AttraccessUser.tsx
5637
+ function gi({ user: e, description: t, className: r, onStartDirectMessage: i, variant: a = "full", interactive: o = !0 }) {
5638
+ let { t: c } = $({
5639
+ en: mi,
5640
+ de: hi
5641
+ }), l = pi(), u = !e || !!e?.deletedAt, d = s(() => {
5642
+ if (u) return;
5643
+ let t = ui(e?.id || "unknown", 100);
5644
+ return `data:image/svg+xml;base64,${btoa(t)}`;
5645
+ }, [u, e]), f = e?.username || c("unknown"), p = n(() => {
5646
+ i ? i(e) : l.onStartDirectMessage(e);
5647
+ }, [
5648
+ e,
5649
+ i,
5650
+ l
5651
+ ]), m = o && !!e && !!p, h = /* @__PURE__ */ J(g, { children: [d ? /* @__PURE__ */ q(v, {
5652
+ src: d,
5653
+ alt: f
5654
+ }) : null, /* @__PURE__ */ q(_, {
5655
+ color: u ? "warning" : void 0,
5656
+ children: u ? /* @__PURE__ */ q(be, { className: "w-4 h-4" }) : f.slice(0, 2).toUpperCase()
5657
+ })] }), b = /* @__PURE__ */ J("div", {
5658
+ className: `flex items-center gap-2 ${r ?? ""}`,
5659
+ children: [h, /* @__PURE__ */ J("div", {
5660
+ className: "flex flex-col",
5661
+ children: [/* @__PURE__ */ J("div", {
5662
+ className: "flex flex-row items-center gap-1",
5663
+ children: [/* @__PURE__ */ q("span", {
5664
+ className: "text-sm font-medium group-hover:underline",
5665
+ children: u ? /* @__PURE__ */ q("del", { children: f }) : f
5666
+ }), m && /* @__PURE__ */ q(Ce, {
5667
+ className: "h-3 w-3 text-muted-foreground shrink-0",
5668
+ "aria-hidden": "true",
5669
+ focusable: "false"
5670
+ })]
5671
+ }), t && /* @__PURE__ */ q("span", {
5672
+ className: "text-xs text-muted-foreground",
5673
+ children: u ? /* @__PURE__ */ q("del", { children: t }) : t
5674
+ })]
5675
+ })]
5676
+ }), x = a === "mini" ? h : b;
5677
+ return m ? /* @__PURE__ */ J(H, { children: [/* @__PURE__ */ q(H.Trigger, {
5705
5678
  className: "group inline-flex w-fit cursor-pointer rounded-md outline-none focus-visible:ring-2",
5706
- children: B
5707
- }), t[50] = B, t[51] = V);
5708
- let ee;
5709
- t[52] !== p || t[53] !== w || t[54] !== d ? (ee = !p && /* @__PURE__ */ X(v, {
5710
- variant: "primary",
5711
- size: "sm",
5712
- className: "w-full",
5713
- onPress: w,
5714
- children: [/* @__PURE__ */ Y(Te, { className: "h-4 w-4" }), d("startDirectMessage")]
5715
- }), t[52] = p, t[53] = w, t[54] = d, t[55] = ee) : ee = t[55];
5716
- let H;
5717
- t[56] !== C || t[57] !== ee || t[58] !== z ? (H = /* @__PURE__ */ Y(U.Content, { children: /* @__PURE__ */ X(U.Dialog, {
5718
- "aria-label": C,
5679
+ children: x
5680
+ }), /* @__PURE__ */ q(H.Content, { children: /* @__PURE__ */ J(H.Dialog, {
5681
+ "aria-label": f,
5719
5682
  className: "flex w-64 flex-col gap-3 p-4",
5720
- children: [z, ee]
5721
- }) }), t[56] = C, t[57] = ee, t[58] = z, t[59] = H) : H = t[59];
5722
- let W;
5723
- return t[60] !== V || t[61] !== H ? (W = /* @__PURE__ */ X(U, { children: [V, H] }), t[60] = V, t[61] = H, t[62] = W) : W = t[62], W;
5683
+ children: [b, !u && /* @__PURE__ */ J(y, {
5684
+ variant: "primary",
5685
+ size: "sm",
5686
+ className: "w-full",
5687
+ onPress: p,
5688
+ children: [/* @__PURE__ */ q(Oe, { className: "h-4 w-4" }), c("startDirectMessage")]
5689
+ })]
5690
+ }) })] }) : x;
5724
5691
  }
5725
- //#endregion
5726
- //#region src/lib/hooks/useDebounce.ts
5727
- function hi(e, t) {
5728
- let n = (0, Q.c)(4), [r, a] = c(e), o, s;
5692
+ // src/lib/hooks/useDebounce.ts
5693
+ function _i(e, t) {
5694
+ let n = (0, X.c)(4), [r, a] = l(e), o, s;
5729
5695
  return n[0] !== t || n[1] !== e ? (o = () => {
5730
5696
  let n = setTimeout(() => {
5731
5697
  a(e);
@@ -5735,46 +5701,46 @@ function hi(e, t) {
5735
5701
  };
5736
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;
5737
5703
  }
5738
- //#endregion
5739
- //#region src/lib/hooks/dateTimePreferences.ts
5740
- var gi = wr(() => ({
5704
+ // src/lib/hooks/useDateTimePreferences.ts
5705
+ var vi = Dr(() => ({
5741
5706
  dateTimeLocale: null,
5742
5707
  userId: null
5743
5708
  }));
5744
- function _i(e) {
5745
- let t = (0, Q.c)(4), { language: n } = jr(), r = gi(vi), i;
5746
- return t[0] !== n || t[1] !== e || t[2] !== r ? (i = Je(e === void 0 ? r : e).dateTimeLocale ?? n, t[0] = n, t[1] = e, t[2] = r, t[3] = i) : i = t[3], i;
5709
+ // src/lib/hooks/useDateTimeLocale.ts
5710
+ function yi(e) {
5711
+ let t = (0, X.c)(4), { language: n } = Pr(), r = vi(bi), i;
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;
5747
5713
  }
5748
- function vi(e) {
5714
+ function bi(e) {
5749
5715
  return e.dateTimeLocale;
5750
5716
  }
5751
- //#endregion
5752
- //#region src/lib/hooks/useFormatDateTime.tsx
5753
- function yi(e) {
5754
- let t = (0, Q.c)(13), n;
5755
- t[0] === e ? n = t[1] : (n = e ?? {}, t[0] = e, t[1] = n);
5756
- let { showTime: r, showDate: i, showSeconds: a } = n, o = r === void 0 || r, s = i === void 0 || i, c = a !== void 0 && a, l = _i(e?.dateTimeLocale), u;
5757
- if (t[2] !== l || t[3] !== s || t[4] !== c || t[5] !== o) {
5717
+ // src/lib/hooks/useDateTimeFormatter.ts
5718
+ function xi(e) {
5719
+ let { showTime: t = !0, showDate: r = !0, showSeconds: i = !1 } = e ?? {}, a = yi(e?.dateTimeLocale), o = s(() => {
5758
5720
  let e = {};
5759
- o && (e.hour = "2-digit", e.minute = "2-digit", c && (e.second = "2-digit")), s && (e.day = "2-digit", e.month = "2-digit", e.year = "numeric"), u = new Intl.DateTimeFormat(l, e), t[2] = l, t[3] = s, t[4] = c, t[5] = o, t[6] = u;
5760
- } else u = t[6];
5761
- let d = u, f;
5762
- t[7] !== d || t[8] !== s || t[9] !== o ? (f = (e) => !s && !o ? "" : d.format(e), t[7] = d, t[8] = s, t[9] = o, t[10] = f) : f = t[10];
5763
- let p = f, m;
5764
- return t[11] === p ? m = t[12] : (m = (e, t) => {
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");
5722
+ let n = new Intl.DateTimeFormat(a, e);
5723
+ return (e) => !r && !t ? "" : n.format(e);
5724
+ }, [
5725
+ r,
5726
+ t,
5727
+ i,
5728
+ a
5729
+ ]);
5730
+ return n((e, t) => {
5765
5731
  if (e == null) return t ?? "-";
5766
5732
  let n = new Date(e);
5767
- return isNaN(n.getTime()) ? t ?? "-" : p(n);
5768
- }, t[11] = p, t[12] = m), m;
5733
+ return isNaN(n.getTime()) ? t ?? "-" : o(n);
5734
+ }, [o]);
5769
5735
  }
5770
- function bi(e, t) {
5771
- let n = (0, Q.c)(3), r = yi(t), i;
5736
+ // src/lib/hooks/useFormatDateTime.ts
5737
+ function Si(e, t) {
5738
+ let n = (0, X.c)(3), r = xi(t), i;
5772
5739
  return n[0] !== e || n[1] !== r ? (i = r(e), n[0] = e, n[1] = r, n[2] = i) : i = n[2], i;
5773
5740
  }
5774
- //#endregion
5775
- //#region src/lib/hooks/useFormatDuration.ts
5776
- function xi(e) {
5777
- let { language: t } = jr(), r = n((e) => {
5741
+ // src/lib/hooks/useFormatedDuration.ts
5742
+ function Ci(e) {
5743
+ let { language: t } = Pr(), r = n((e) => {
5778
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;
5779
5745
  try {
5780
5746
  if (typeof Intl.DurationFormat == "function") return new Intl.DurationFormat(t, {
@@ -5816,18 +5782,16 @@ function xi(e) {
5816
5782
  }).format(e);
5817
5783
  }
5818
5784
  }, [t]);
5819
- return o(() => r(e), [e, r]);
5785
+ return s(() => r(e), [e, r]);
5820
5786
  }
5821
- //#endregion
5822
- //#region src/lib/hooks/useUrlQuery.ts
5823
- function Si() {
5824
- let e = (0, Q.c)(2), { search: t } = je(), n;
5787
+ // src/lib/hooks/useUrlQuery.ts
5788
+ function wi() {
5789
+ let e = (0, X.c)(2), { search: t } = Pe(), n;
5825
5790
  return e[0] === t ? n = e[1] : (n = new URLSearchParams(t), e[0] = t, e[1] = n), n;
5826
5791
  }
5827
- //#endregion
5828
- //#region src/lib/hooks/useFormatNumber.ts
5829
- function Ci(e) {
5830
- let t = (0, Q.c)(5), { language: n } = jr(), r;
5792
+ // src/lib/hooks/useFormatNumber.ts
5793
+ function Ti(e) {
5794
+ let t = (0, X.c)(5), { language: n } = Pr(), r;
5831
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];
5832
5796
  let i = r, a;
5833
5797
  return t[3] === i ? a = t[4] : (a = (e) => {
@@ -5836,70 +5800,60 @@ function Ci(e) {
5836
5800
  return isNaN(t) ? "-" : i.format(t);
5837
5801
  }, t[3] = i, t[4] = a), a;
5838
5802
  }
5839
- function wi(e) {
5840
- let t = (0, Q.c)(3), n = Ci(), r;
5803
+ function Ei(e) {
5804
+ let t = (0, X.c)(3), n = Ti(), r;
5841
5805
  return t[0] !== n || t[1] !== e ? (r = n(e), t[0] = n, t[1] = e, t[2] = r) : r = t[2], r;
5842
5806
  }
5843
- //#endregion
5844
- //#region src/lib/components/datetime-display/DateTimeDisplay.tsx
5845
- function Ti(e) {
5846
- let t = (0, Q.c)(7), n, r, i;
5807
+ // src/lib/components/datetime-display/DateTimeDisplay.tsx
5808
+ function Di(e) {
5809
+ let t = (0, X.c)(7), n, r, i;
5847
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);
5848
- let a = bi(n, r), o;
5849
- return t[4] !== a || t[5] !== i ? (o = /* @__PURE__ */ Y("span", {
5811
+ let a = Si(n, r), o;
5812
+ return t[4] !== a || t[5] !== i ? (o = /* @__PURE__ */ q("span", {
5850
5813
  ...i,
5851
5814
  children: a
5852
5815
  }), t[4] = a, t[5] = i, t[6] = o) : o = t[6], o;
5853
5816
  }
5854
- //#endregion
5855
- //#region src/lib/components/duration-display/DurationDisplay.tsx
5856
- function Ei(e) {
5857
- let t = (0, Q.c)(10), n, r, i;
5858
- t[0] === e ? (n = t[1], r = t[2], i = t[3]) : ({minutes: n, alternativeText: i, ...r} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = i);
5859
- let a = i === void 0 ? "" : i, o = xi(n ?? 0);
5860
- if (n == null) {
5861
- let e;
5862
- return t[4] !== a || t[5] !== r ? (e = /* @__PURE__ */ Y("span", {
5863
- ...r,
5864
- children: a
5865
- }), t[4] = a, t[5] = r, t[6] = e) : e = t[6], e;
5866
- }
5867
- let s;
5868
- return t[7] !== o || t[8] !== r ? (s = /* @__PURE__ */ Y("span", {
5869
- ...r,
5870
- children: o
5871
- }), t[7] = o, t[8] = r, t[9] = s) : s = t[9], s;
5817
+ // src/lib/components/duration-display/DurationDisplay.tsx
5818
+ function Oi({ minutes: e, alternativeText: t = "", ...n }) {
5819
+ let r = Ci(e ?? 0);
5820
+ return e == null ? /* @__PURE__ */ q("span", {
5821
+ ...n,
5822
+ children: t
5823
+ }) : /* @__PURE__ */ q("span", {
5824
+ ...n,
5825
+ children: r
5826
+ });
5872
5827
  }
5873
- //#endregion
5874
- //#region src/lib/components/StandardModal.tsx
5875
- var Di = "bg-overlay";
5876
- function Oi(e) {
5877
- let t = (0, Q.c)(21), n, r, i, a, o, s;
5828
+ // src/lib/components/StandardModal.tsx
5829
+ var ki = "bg-overlay";
5830
+ function Ai(e) {
5831
+ let t = (0, X.c)(21), n, r, i, a, o, s;
5878
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);
5879
- let c = a?.className ? `${Di} ${a.className}` : Di, l;
5880
- t[7] !== r || t[8] !== a || t[9] !== c ? (l = /* @__PURE__ */ Y(V, {
5833
+ let c = a?.className ? `${ki} ${a.className}` : ki, l;
5834
+ t[7] !== r || t[8] !== a || t[9] !== c ? (l = /* @__PURE__ */ q(ne, {
5881
5835
  ...a,
5882
5836
  className: c,
5883
5837
  children: r
5884
5838
  }), t[7] = r, t[8] = a, t[9] = c, t[10] = l) : l = t[10];
5885
5839
  let u;
5886
- t[11] !== i || t[12] !== s || t[13] !== l ? (u = /* @__PURE__ */ Y(B, {
5840
+ t[11] !== i || t[12] !== s || t[13] !== l ? (u = /* @__PURE__ */ q(z, {
5887
5841
  size: s,
5888
5842
  ...i,
5889
5843
  children: l
5890
5844
  }), t[11] = i, t[12] = s, t[13] = l, t[14] = u) : u = t[14];
5891
5845
  let d;
5892
- t[15] !== n || t[16] !== u ? (d = /* @__PURE__ */ Y(R, {
5846
+ t[15] !== n || t[16] !== u ? (d = /* @__PURE__ */ q(R, {
5893
5847
  ...n,
5894
5848
  children: u
5895
5849
  }), t[15] = n, t[16] = u, t[17] = d) : d = t[17];
5896
5850
  let f;
5897
- return t[18] !== o || t[19] !== d ? (f = /* @__PURE__ */ Y(L, {
5851
+ return t[18] !== o || t[19] !== d ? (f = /* @__PURE__ */ q(L, {
5898
5852
  ...o,
5899
5853
  children: d
5900
5854
  }), t[18] = o, t[19] = d, t[20] = f) : f = t[20], f;
5901
5855
  }
5902
- var ki = {
5856
+ var ji = {
5903
5857
  label: "Benutzer",
5904
5858
  chooseUser: "Benutzer auswählen",
5905
5859
  modalTitle: "Benutzer auswählen",
@@ -5913,7 +5867,7 @@ var ki = {
5913
5867
  empty: "Keine Benutzer gefunden",
5914
5868
  loadError: "Benutzer konnten nicht geladen werden.",
5915
5869
  retry: "Erneut versuchen"
5916
- }, Ai = {
5870
+ }, Mi = {
5917
5871
  label: "User",
5918
5872
  chooseUser: "Choose user",
5919
5873
  modalTitle: "Choose a user",
@@ -5928,9 +5882,8 @@ var ki = {
5928
5882
  loadError: "Users could not be loaded.",
5929
5883
  retry: "Try again"
5930
5884
  };
5931
- //#endregion
5932
- //#region src/lib/components/user-search/UserSearch.utils.ts
5933
- function ji(e) {
5885
+ // src/lib/components/user-search/UserSearch.utils.ts
5886
+ function Ni(e) {
5934
5887
  let t = /* @__PURE__ */ new Map();
5935
5888
  for (let n of e) {
5936
5889
  let e = (n.username?.[0] ?? "#").toUpperCase(), r = t.get(e);
@@ -5941,108 +5894,103 @@ function ji(e) {
5941
5894
  users: t
5942
5895
  }));
5943
5896
  }
5944
- //#endregion
5945
- //#region src/lib/components/user-search/UserSearch.tsx
5946
- var Mi = 50, Ni = 300;
5947
- function Pi(e) {
5948
- let t = (0, Q.c)(50), { isOpen: n, open: r, close: a, resetSignal: o, onSelectionChange: l } = e, [u, d] = c(null), [f, p] = c(""), m = hi(f, Ni), h = s(!0), g;
5897
+ // src/lib/components/user-search/UserSearch.tsx
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;
5949
5901
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (g = () => {
5950
- if (h.current) {
5951
- h.current = !1;
5952
- return;
5953
- }
5954
- d(null), p("");
5902
+ h.current ? h.current = !1 : (d(null), p(""));
5955
5903
  }, t[0] = g) : g = t[0];
5956
5904
  let _;
5957
5905
  t[1] === o ? _ = t[2] : (_ = [o], t[1] = o, t[2] = _), i(g, _);
5958
5906
  let v;
5959
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];
5960
5908
  let y;
5961
- t[7] === v ? y = t[8] : (y = {
5962
- limit: Mi,
5909
+ t[7] === v ? y = t[8] : (y = { query: {
5910
+ limit: Pi,
5963
5911
  search: v
5964
- }, t[7] = v, t[8] = y);
5912
+ } }, t[7] = v, t[8] = y);
5965
5913
  let b;
5966
5914
  t[9] === n ? b = t[10] : (b = {
5967
5915
  enabled: n,
5968
5916
  initialPageParam: 1,
5969
- getNextPageParam: Fi
5917
+ getNextPageParam: Li
5970
5918
  }, t[9] = n, t[10] = b);
5971
- let { data: x, fetchNextPage: S, hasNextPage: C, isFetchingNextPage: w, isFetching: T, isLoading: E, isError: D, refetch: O } = Pe(y, void 0, b), k;
5919
+ let { data: x, fetchNextPage: S, hasNextPage: C, isFetchingNextPage: w, isFetching: T, isLoading: E, isError: D, refetch: O } = Ie(y, void 0, b), k;
5972
5920
  if (t[11] !== x?.pages) {
5973
5921
  let e = /* @__PURE__ */ new Map();
5974
5922
  for (let t of x?.pages ?? []) for (let n of t.data) e.set(n.id, n);
5975
5923
  k = [...e.values()], t[11] = x?.pages, t[12] = k;
5976
5924
  } else k = t[12];
5977
5925
  let A = k, j;
5978
- t[13] === A ? j = t[14] : (j = ji(A), t[13] = A, t[14] = j);
5979
- let M = j, N, P;
5980
- t[15] !== l || t[16] !== u ? (N = () => {
5981
- l?.(u);
5982
- }, P = [u, l], t[15] = l, t[16] = u, t[17] = N, t[18] = P) : (N = t[17], P = t[18]), i(N, P);
5983
- let F;
5984
- t[19] === a ? F = t[20] : (F = (e) => {
5926
+ t[13] === A ? j = t[14] : (j = Ni(A), t[13] = A, t[14] = j);
5927
+ let M = j, N, ee;
5928
+ t[15] !== s || t[16] !== u ? (N = () => {
5929
+ s?.(u);
5930
+ }, ee = [u, s], t[15] = s, t[16] = u, t[17] = N, t[18] = ee) : (N = t[17], ee = t[18]), i(N, ee);
5931
+ let P;
5932
+ t[19] === a ? P = t[20] : (P = (e) => {
5985
5933
  d(e), p(""), a();
5986
- }, t[19] = a, t[20] = F);
5987
- let I = F, L;
5988
- t[21] !== a || t[22] !== r ? (L = (e) => {
5934
+ }, t[19] = a, t[20] = P);
5935
+ let F = P, I;
5936
+ t[21] !== a || t[22] !== r ? (I = (e) => {
5989
5937
  e ? r() : (p(""), a());
5990
- }, t[21] = a, t[22] = r, t[23] = L) : L = t[23];
5991
- let R = L, z = s(null), B = s(null), V;
5992
- t[24] !== S || t[25] !== C || t[26] !== w ? (V = {
5938
+ }, t[21] = a, t[22] = r, t[23] = I) : I = t[23];
5939
+ let L = I, R = c(null), te = c(null), z;
5940
+ t[24] !== S || t[25] !== C || t[26] !== w ? (z = {
5993
5941
  hasNextPage: C,
5994
5942
  isFetchingNextPage: w,
5995
5943
  fetchNextPage: S
5996
- }, t[24] = S, t[25] = C, t[26] = w, t[27] = V) : V = t[27];
5997
- let ee = s(V), H;
5998
- t[28] !== S || t[29] !== C || t[30] !== w ? (H = () => {
5999
- ee.current = {
5944
+ }, t[24] = S, t[25] = C, t[26] = w, t[27] = z) : z = t[27];
5945
+ let ne = c(z), B;
5946
+ t[28] !== S || t[29] !== C || t[30] !== w ? (B = () => {
5947
+ ne.current = {
6000
5948
  hasNextPage: C,
6001
5949
  isFetchingNextPage: w,
6002
5950
  fetchNextPage: S
6003
5951
  };
6004
- }, t[28] = S, t[29] = C, t[30] = w, t[31] = H) : H = t[31], i(H);
6005
- let U;
6006
- t[32] === n ? U = t[33] : (U = () => {
6007
- let e = B.current, t = z.current;
5952
+ }, t[28] = S, t[29] = C, t[30] = w, t[31] = B) : B = t[31], i(B);
5953
+ let V;
5954
+ t[32] === n ? V = t[33] : (V = () => {
5955
+ let e = te.current, t = R.current;
6008
5956
  if (!e || !t || !n) return;
6009
5957
  let r = new IntersectionObserver((e) => {
6010
- let t = ee.current;
5958
+ let t = ne.current;
6011
5959
  e[0]?.isIntersecting && t.hasNextPage && !t.isFetchingNextPage && t.fetchNextPage();
6012
5960
  }, {
6013
5961
  root: t,
6014
5962
  rootMargin: "200px"
6015
5963
  });
6016
5964
  return r.observe(e), () => r.disconnect();
6017
- }, t[32] = n, t[33] = U);
6018
- let W;
6019
- t[34] !== D || t[35] !== n ? (W = [n, D], t[34] = D, t[35] = n, t[36] = W) : W = t[36], i(U, W);
6020
- let G;
6021
- return t[37] !== S || t[38] !== M || t[39] !== R || t[40] !== I || t[41] !== D || t[42] !== T || t[43] !== w || t[44] !== E || t[45] !== O || t[46] !== f || t[47] !== u || t[48] !== A ? (G = {
5965
+ }, t[32] = n, t[33] = V);
5966
+ let H;
5967
+ t[34] !== D || t[35] !== n ? (H = [n, D], t[34] = D, t[35] = n, t[36] = H) : H = t[36], i(V, H);
5968
+ let U;
5969
+ return t[37] !== S || t[38] !== M || t[39] !== L || t[40] !== F || t[41] !== D || t[42] !== T || t[43] !== w || t[44] !== E || t[45] !== O || t[46] !== f || t[47] !== u || t[48] !== A ? (U = {
6022
5970
  selectedUser: u,
6023
5971
  setSelectedUser: d,
6024
5972
  search: f,
6025
5973
  setSearch: p,
6026
5974
  users: A,
6027
5975
  groups: M,
6028
- handleSelect: I,
6029
- handleOpenChange: R,
6030
- listRef: z,
6031
- sentinelRef: B,
5976
+ handleSelect: F,
5977
+ handleOpenChange: L,
5978
+ listRef: R,
5979
+ sentinelRef: te,
6032
5980
  isError: D,
6033
5981
  isLoading: E,
6034
5982
  isFetching: T,
6035
5983
  refetch: O,
6036
5984
  isFetchingNextPage: w,
6037
5985
  fetchNextPage: S
6038
- }, t[37] = S, t[38] = M, t[39] = R, t[40] = I, 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] = G) : G = t[49], G;
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;
6039
5987
  }
6040
- function Fi(e) {
5988
+ function Li(e) {
6041
5989
  return e.nextPage;
6042
5990
  }
6043
- function Ii(e) {
6044
- let t = (0, Q.c)(12), { selectedUser: n, size: r, open: i, setSelectedUser: a, labelId: o, triggerId: s, t: c, afterAutocomplete: l, afterSelection: u } = e, d;
6045
- t[0] !== o || t[1] !== i || t[2] !== n || t[3] !== a || t[4] !== r || t[5] !== c || t[6] !== s ? (d = n ? /* @__PURE__ */ X(Ae, { children: [/* @__PURE__ */ Y(v, {
5991
+ function Ri(e) {
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;
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, {
6046
5994
  variant: "ghost",
6047
5995
  size: r,
6048
5996
  onPress: i,
@@ -6050,19 +5998,19 @@ function Ii(e) {
6050
5998
  id: s,
6051
5999
  "aria-labelledby": `${o} ${s}`,
6052
6000
  "data-cy": "user-picker-selected",
6053
- children: /* @__PURE__ */ Y(mi, {
6001
+ children: /* @__PURE__ */ q(gi, {
6054
6002
  user: n,
6055
6003
  interactive: !1
6056
6004
  })
6057
- }), /* @__PURE__ */ Y(v, {
6005
+ }), /* @__PURE__ */ q(y, {
6058
6006
  variant: "ghost",
6059
6007
  size: r ?? "sm",
6060
6008
  isIconOnly: !0,
6061
6009
  onPress: () => a(null),
6062
6010
  "aria-label": c("clear"),
6063
6011
  "data-cy": "user-picker-clear",
6064
- children: /* @__PURE__ */ Y(ke, { className: "w-4 h-4" })
6065
- })] }) : /* @__PURE__ */ X(v, {
6012
+ children: /* @__PURE__ */ q(Me, { className: "w-4 h-4" })
6013
+ })] }) : /* @__PURE__ */ J(y, {
6066
6014
  variant: "secondary",
6067
6015
  size: r,
6068
6016
  onPress: i,
@@ -6070,10 +6018,10 @@ function Ii(e) {
6070
6018
  id: s,
6071
6019
  "aria-labelledby": `${o} ${s}`,
6072
6020
  "data-cy": "user-picker-open",
6073
- children: [/* @__PURE__ */ Y(Oe, { className: "w-4 h-4" }), c("chooseUser")]
6021
+ children: [/* @__PURE__ */ q(je, { className: "w-4 h-4" }), c("chooseUser")]
6074
6022
  }), t[0] = o, t[1] = i, t[2] = n, t[3] = a, t[4] = r, t[5] = c, t[6] = s, t[7] = d) : d = t[7];
6075
6023
  let f;
6076
- return t[8] !== l || t[9] !== u || t[10] !== d ? (f = /* @__PURE__ */ X("div", {
6024
+ return t[8] !== l || t[9] !== u || t[10] !== d ? (f = /* @__PURE__ */ J("div", {
6077
6025
  className: "flex gap-2 items-center",
6078
6026
  children: [
6079
6027
  d,
@@ -6082,34 +6030,34 @@ function Ii(e) {
6082
6030
  ]
6083
6031
  }), t[8] = l, t[9] = u, t[10] = d, t[11] = f) : f = t[11], f;
6084
6032
  }
6085
- var Li = {
6033
+ var zi = {
6086
6034
  "--field-border": "var(--border-secondary)",
6087
6035
  "--border-width-field": "1px"
6088
6036
  };
6089
- function Ri(e) {
6090
- let t = (0, Q.c)(53), { label: n, placeholder: r, size: i, resetSignal: o, onSelectionChange: s, afterAutocomplete: c, wrapperProps: l, afterSelection: u } = e, d;
6037
+ function Bi(e) {
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;
6091
6039
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (d = {
6092
- en: Ai,
6093
- de: ki
6040
+ en: Mi,
6041
+ de: ji
6094
6042
  }, t[0] = d) : d = t[0];
6095
- let { t: f } = Mr(d), p = a(), m = a(), { isOpen: h, open: g, close: _ } = he(), y;
6096
- t[1] !== _ || t[2] !== h || t[3] !== s || t[4] !== g || t[5] !== o ? (y = {
6043
+ let { t: f } = $(d), p = a(), m = a(), { isOpen: h, open: g, close: _ } = ve(), v;
6044
+ t[1] !== _ || t[2] !== h || t[3] !== s || t[4] !== g || t[5] !== o ? (v = {
6097
6045
  isOpen: h,
6098
6046
  open: g,
6099
6047
  close: _,
6100
6048
  resetSignal: o,
6101
6049
  onSelectionChange: s
6102
- }, t[1] = _, t[2] = h, t[3] = s, t[4] = g, t[5] = o, t[6] = y) : y = t[6];
6103
- let { selectedUser: b, setSelectedUser: x, search: S, setSearch: C, users: w, groups: T, handleSelect: E, handleOpenChange: D, listRef: O, sentinelRef: k, isError: j, isLoading: L, isFetching: R, refetch: B, isFetchingNextPage: V, fetchNextPage: U } = Pi(y), W;
6104
- t[7] !== n || t[8] !== f ? (W = n ?? f("label"), t[7] = n, t[8] = f, t[9] = W) : W = t[9];
6105
- let G;
6106
- t[10] !== p || t[11] !== W ? (G = /* @__PURE__ */ Y(N, {
6050
+ }, t[1] = _, t[2] = h, t[3] = s, t[4] = g, t[5] = o, t[6] = v) : v = t[6];
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;
6052
+ t[7] !== n || t[8] !== f ? (H = n ?? f("label"), t[7] = n, t[8] = f, t[9] = H) : H = t[9];
6053
+ let U;
6054
+ t[10] !== p || t[11] !== H ? (U = /* @__PURE__ */ q(ee, {
6107
6055
  id: p,
6108
6056
  className: "mb-1 block",
6109
- children: W
6110
- }), t[10] = p, t[11] = W, t[12] = G) : G = t[12];
6111
- let K;
6112
- t[13] !== c || t[14] !== u || t[15] !== p || t[16] !== g || t[17] !== b || t[18] !== x || t[19] !== i || t[20] !== f || t[21] !== m ? (K = /* @__PURE__ */ Y(Ii, {
6057
+ children: H
6058
+ }), t[10] = p, t[11] = H, t[12] = U) : U = t[12];
6059
+ let W;
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, {
6113
6061
  selectedUser: b,
6114
6062
  size: i,
6115
6063
  open: g,
@@ -6119,41 +6067,41 @@ function Ri(e) {
6119
6067
  t: f,
6120
6068
  afterAutocomplete: c,
6121
6069
  afterSelection: u
6122
- }), t[13] = c, t[14] = u, t[15] = p, t[16] = g, t[17] = b, t[18] = x, t[19] = i, t[20] = f, t[21] = m, t[22] = K) : K = t[22];
6123
- let q;
6124
- t[23] === f ? q = t[24] : (q = f("modalTitle"), t[23] = f, t[24] = q);
6125
- let J;
6126
- t[25] === q ? J = t[26] : (J = {
6127
- style: Li,
6128
- "aria-label": q
6129
- }, t[25] = q, t[26] = J);
6130
- let ne;
6131
- t[27] !== U || t[28] !== T || t[29] !== E || t[30] !== j || t[31] !== R || t[32] !== V || t[33] !== L || t[34] !== O || t[35] !== r || t[36] !== B || t[37] !== S || t[38] !== k || t[39] !== C || t[40] !== f || t[41] !== w.length ? (ne = () => /* @__PURE__ */ X(Ae, { children: [/* @__PURE__ */ Y(ee, { children: /* @__PURE__ */ Y(H, { children: f("modalTitle") }) }), /* @__PURE__ */ X(z, {
6070
+ }), t[13] = c, t[14] = u, t[15] = p, t[16] = g, t[17] = b, t[18] = x, t[19] = i, t[20] = f, t[21] = m, t[22] = W) : W = t[22];
6071
+ let G;
6072
+ t[23] === f ? G = t[24] : (G = f("modalTitle"), t[23] = f, t[24] = G);
6073
+ let K;
6074
+ t[25] === G ? K = t[26] : (K = {
6075
+ style: zi,
6076
+ "aria-label": G
6077
+ }, t[25] = G, t[26] = K);
6078
+ let ie;
6079
+ t[27] !== ne || t[28] !== T || t[29] !== E || t[30] !== A || t[31] !== L || t[32] !== z || t[33] !== M || t[34] !== O || t[35] !== r || t[36] !== R || t[37] !== S || t[38] !== k || t[39] !== C || t[40] !== f || t[41] !== w.length ? (ie = () => /* @__PURE__ */ J(Ne, { children: [/* @__PURE__ */ q(B, { children: /* @__PURE__ */ q(V, { children: f("modalTitle") }) }), /* @__PURE__ */ J(te, {
6132
6080
  className: "px-0 pb-0",
6133
6081
  children: [
6134
- /* @__PURE__ */ Y("div", {
6082
+ /* @__PURE__ */ q("div", {
6135
6083
  className: "px-4",
6136
- children: /* @__PURE__ */ Y(fe, {
6084
+ children: /* @__PURE__ */ q(he, {
6137
6085
  value: S,
6138
6086
  onChange: C,
6139
6087
  className: "w-full",
6140
6088
  "aria-label": f("searchPlaceholder"),
6141
- children: /* @__PURE__ */ X(M, { children: [
6142
- /* @__PURE__ */ Y(M.Prefix, { children: /* @__PURE__ */ Y(De, { className: "size-4 text-muted" }) }),
6143
- /* @__PURE__ */ Y(M.Input, {
6089
+ children: /* @__PURE__ */ J(N, { children: [
6090
+ /* @__PURE__ */ q(N.Prefix, { children: /* @__PURE__ */ q(Ae, { className: "size-4 text-muted" }) }),
6091
+ /* @__PURE__ */ q(N.Input, {
6144
6092
  placeholder: r ?? f("searchPlaceholder"),
6145
6093
  autoComplete: "off"
6146
6094
  }),
6147
- L ? /* @__PURE__ */ Y(M.Suffix, { children: /* @__PURE__ */ Y(te, { size: "sm" }) }) : null
6095
+ M ? /* @__PURE__ */ q(N.Suffix, { children: /* @__PURE__ */ q(re, { size: "sm" }) }) : null
6148
6096
  ] })
6149
6097
  })
6150
6098
  }),
6151
- /* @__PURE__ */ Y("div", {
6099
+ /* @__PURE__ */ q("div", {
6152
6100
  "aria-live": "polite",
6153
6101
  className: "sr-only",
6154
6102
  children: f("resultCount", { count: w.length })
6155
6103
  }),
6156
- /* @__PURE__ */ X("div", {
6104
+ /* @__PURE__ */ J("div", {
6157
6105
  ref: O,
6158
6106
  className: "mt-2",
6159
6107
  style: {
@@ -6162,84 +6110,84 @@ function Ri(e) {
6162
6110
  },
6163
6111
  "data-cy": "user-picker-list",
6164
6112
  children: [
6165
- j && w.length === 0 ? /* @__PURE__ */ X("div", {
6113
+ A && w.length === 0 ? /* @__PURE__ */ J("div", {
6166
6114
  className: "flex flex-col items-center gap-3 py-10",
6167
6115
  "data-cy": "user-picker-error",
6168
- children: [/* @__PURE__ */ Y("p", {
6116
+ children: [/* @__PURE__ */ q("p", {
6169
6117
  className: "text-sm text-muted",
6170
6118
  children: f("loadError")
6171
- }), /* @__PURE__ */ Y(v, {
6119
+ }), /* @__PURE__ */ q(y, {
6172
6120
  variant: "secondary",
6173
6121
  size: "sm",
6174
- isPending: R,
6175
- onPress: () => B(),
6122
+ isPending: L,
6123
+ onPress: () => R(),
6176
6124
  children: f("retry")
6177
6125
  })]
6178
- }) : T.length === 0 && !L ? /* @__PURE__ */ Y("div", {
6126
+ }) : T.length === 0 && !M ? /* @__PURE__ */ q("div", {
6179
6127
  className: "py-10 text-center text-sm text-muted",
6180
6128
  children: f("empty")
6181
- }) : /* @__PURE__ */ Y(P, {
6129
+ }) : /* @__PURE__ */ q(P, {
6182
6130
  "aria-label": f("usersListLabel"),
6183
6131
  selectionMode: "none",
6184
- children: T.map((e) => /* @__PURE__ */ X(I, {
6132
+ children: T.map((e) => /* @__PURE__ */ J(I, {
6185
6133
  id: e.letter,
6186
- children: [/* @__PURE__ */ Y(A, {
6134
+ children: [/* @__PURE__ */ q(j, {
6187
6135
  className: "sticky top-0 z-10 bg-surface-secondary px-2 py-1 text-xs font-semibold text-muted",
6188
6136
  children: e.letter
6189
- }), e.users.map((e) => /* @__PURE__ */ Y(F, {
6137
+ }), e.users.map((e) => /* @__PURE__ */ q(F, {
6190
6138
  id: String(e.id),
6191
6139
  textValue: e.username,
6192
6140
  onAction: () => E(e),
6193
6141
  "data-cy": `user-picker-item-${e.id}`,
6194
- children: /* @__PURE__ */ Y(mi, {
6142
+ children: /* @__PURE__ */ q(gi, {
6195
6143
  user: e,
6196
6144
  interactive: !1
6197
6145
  })
6198
6146
  }, e.id))]
6199
6147
  }, e.letter))
6200
6148
  }),
6201
- j ? null : /* @__PURE__ */ Y("div", { ref: k }),
6202
- j && w.length > 0 ? /* @__PURE__ */ X("div", {
6149
+ A ? null : /* @__PURE__ */ q("div", { ref: k }),
6150
+ A && w.length > 0 ? /* @__PURE__ */ J("div", {
6203
6151
  className: "flex items-center justify-center gap-3 py-3",
6204
6152
  "data-cy": "user-picker-load-more-error",
6205
- children: [/* @__PURE__ */ Y("p", {
6153
+ children: [/* @__PURE__ */ q("p", {
6206
6154
  className: "text-sm text-muted",
6207
6155
  children: f("loadError")
6208
- }), /* @__PURE__ */ Y(v, {
6156
+ }), /* @__PURE__ */ q(y, {
6209
6157
  variant: "secondary",
6210
6158
  size: "sm",
6211
- isPending: V,
6212
- onPress: () => U(),
6159
+ isPending: z,
6160
+ onPress: () => ne(),
6213
6161
  children: f("retry")
6214
6162
  })]
6215
6163
  }) : null,
6216
- V ? /* @__PURE__ */ Y("div", {
6164
+ z ? /* @__PURE__ */ q("div", {
6217
6165
  className: "flex justify-center py-3",
6218
- children: /* @__PURE__ */ Y(te, { size: "sm" })
6166
+ children: /* @__PURE__ */ q(re, { size: "sm" })
6219
6167
  }) : null
6220
6168
  ]
6221
6169
  })
6222
6170
  ]
6223
- })] }), t[27] = U, t[28] = T, t[29] = E, t[30] = j, t[31] = R, t[32] = V, t[33] = L, t[34] = O, t[35] = r, t[36] = B, t[37] = S, t[38] = k, t[39] = C, t[40] = f, t[41] = w.length, t[42] = ne) : ne = t[42];
6224
- let re;
6225
- t[43] !== D || t[44] !== h || t[45] !== J || t[46] !== ne ? (re = /* @__PURE__ */ Y(Oi, {
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];
6172
+ let ae;
6173
+ t[43] !== D || t[44] !== h || t[45] !== K || t[46] !== ie ? (ae = /* @__PURE__ */ q(Ai, {
6226
6174
  isOpen: h,
6227
6175
  onOpenChange: D,
6228
6176
  size: "md",
6229
- dialogProps: J,
6230
- children: ne
6231
- }), t[43] = D, t[44] = h, t[45] = J, t[46] = ne, t[47] = re) : re = t[47];
6232
- let ie;
6233
- return t[48] !== G || t[49] !== K || t[50] !== re || t[51] !== l ? (ie = /* @__PURE__ */ X("div", {
6177
+ dialogProps: K,
6178
+ children: ie
6179
+ }), t[43] = D, t[44] = h, t[45] = K, t[46] = ie, t[47] = ae) : ae = t[47];
6180
+ let oe;
6181
+ return t[48] !== U || t[49] !== W || t[50] !== ae || t[51] !== l ? (oe = /* @__PURE__ */ J("div", {
6234
6182
  ...l,
6235
6183
  children: [
6236
- G,
6237
- K,
6238
- re
6184
+ U,
6185
+ W,
6186
+ ae
6239
6187
  ]
6240
- }), t[48] = G, t[49] = K, t[50] = re, t[51] = l, t[52] = ie) : ie = t[52], ie;
6188
+ }), t[48] = U, t[49] = W, t[50] = ae, t[51] = l, t[52] = oe) : oe = t[52], oe;
6241
6189
  }
6242
- var zi = {
6190
+ var Vi = {
6243
6191
  search: {
6244
6192
  label: "Ressourcen suchen",
6245
6193
  placeholder: "Tippe um zu suchen"
@@ -6249,7 +6197,7 @@ var zi = {
6249
6197
  columns: { name: { header: "Name" } }
6250
6198
  },
6251
6199
  list: { label: "Zugewiesen an" }
6252
- }, Bi = {
6200
+ }, Hi = {
6253
6201
  search: {
6254
6202
  label: "Search resources",
6255
6203
  placeholder: "Type to search"
@@ -6259,143 +6207,84 @@ var zi = {
6259
6207
  columns: { name: { header: "Name" } }
6260
6208
  },
6261
6209
  list: { label: "Assigned to" }
6262
- }, Vi = (e) => {
6263
- let t = (0, Q.c)(2), { children: n } = e, r;
6264
- return t[0] === n ? r = t[1] : (r = /* @__PURE__ */ Y("div", {
6210
+ }, Ui = (e) => {
6211
+ let t = (0, X.c)(2), { children: n } = e, r;
6212
+ return t[0] === n ? r = t[1] : (r = /* @__PURE__ */ q("div", {
6265
6213
  className: "border border-border px-1 py-2 rounded-lg",
6266
6214
  children: n
6267
6215
  }), t[0] = n, t[1] = r), r;
6268
6216
  };
6269
- function Hi(e) {
6270
- let t = (0, Q.c)(60), { selection: n, onSelectionChange: r, multiple: i, listClassName: a } = e, o = i === void 0 || i, s = a === void 0 ? "" : a, [l, u] = c(""), d;
6271
- t[0] === Symbol.for("react.memo_cache_sentinel") ? (d = {
6272
- de: zi,
6273
- en: Bi
6274
- }, t[0] = d) : d = t[0];
6275
- let { t: f } = Mr(d), p;
6276
- t[1] === l ? p = t[2] : (p = {
6217
+ function Wi(e) {
6218
+ let { selection: t, onSelectionChange: n, multiple: r = !0, listClassName: i = "" } = e, [a, o] = l(""), { t: s } = $({
6219
+ de: Vi,
6220
+ en: Hi
6221
+ }), { data: c, isLoading: u } = Le({ query: {
6277
6222
  limit: 15,
6278
6223
  page: 1,
6279
- search: l
6280
- }, t[1] = l, t[2] = p);
6281
- let { data: m, isLoading: h } = Ne(p), g;
6282
- t[3] === f ? g = t[4] : (g = f("search.label"), t[3] = f, t[4] = g);
6283
- let _;
6284
- t[5] === g ? _ = t[6] : (_ = /* @__PURE__ */ Y(N, { children: g }), t[5] = g, t[6] = _);
6285
- let v;
6286
- t[7] === Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ Y(M.Prefix, { children: /* @__PURE__ */ Y(De, { className: "size-4 text-muted" }) }), t[7] = v) : v = t[7];
6287
- let b;
6288
- t[8] === f ? b = t[9] : (b = f("search.placeholder"), t[8] = f, t[9] = b);
6289
- let x;
6290
- t[10] === b ? x = t[11] : (x = /* @__PURE__ */ Y(M.Input, { placeholder: b }), t[10] = b, t[11] = x);
6291
- let S;
6292
- t[12] === h ? S = t[13] : (S = h ? /* @__PURE__ */ Y(M.Suffix, { children: /* @__PURE__ */ Y(te, { size: "sm" }) }) : null, t[12] = h, t[13] = S);
6293
- let C;
6294
- t[14] !== x || t[15] !== S ? (C = /* @__PURE__ */ X(M, { children: [
6295
- v,
6296
- x,
6297
- S
6298
- ] }), t[14] = x, t[15] = S, t[16] = C) : C = t[16];
6299
- let w;
6300
- t[17] !== l || t[18] !== C || t[19] !== _ ? (w = /* @__PURE__ */ X(fe, {
6301
- value: l,
6302
- onChange: u,
6303
- className: "w-full",
6304
- children: [_, C]
6305
- }), t[17] = l, t[18] = C, t[19] = _, t[20] = w) : w = t[20];
6306
- let T;
6307
- t[21] === f ? T = t[22] : (T = f("table.ariaLabel"), t[21] = f, t[22] = T);
6308
- let E;
6309
- t[23] === Symbol.for("react.memo_cache_sentinel") ? (E = {
6310
- maxHeight: 387,
6311
- overflowY: "auto"
6312
- }, t[23] = E) : E = t[23];
6313
- let D = o ? "multiple" : "single", O;
6314
- t[24] === n ? O = t[25] : (O = new Set(n.map(String)), t[24] = n, t[25] = O);
6315
- let k;
6316
- t[26] !== o || t[27] !== r || t[28] !== m?.data || t[29] !== n ? (k = (e) => {
6317
- let t = (m?.data ?? []).map(Ki);
6318
- if (!o) {
6319
- r(e === "all" ? t : Array.from(e).map(Gi));
6320
- return;
6321
- }
6322
- let i = new Set(t), a = n.filter((e) => !i.has(e)), s = e === "all" ? t : Array.from(e).map(Wi);
6323
- r([.../* @__PURE__ */ new Set([...a, ...s])]);
6324
- }, t[26] = o, t[27] = r, t[28] = m?.data, t[29] = n, t[30] = k) : k = t[30];
6325
- let A;
6326
- t[31] !== o || t[32] !== f ? (A = o ? /* @__PURE__ */ Y(y, {
6327
- "aria-label": f("table.ariaLabel"),
6328
- slot: "selection",
6329
- children: /* @__PURE__ */ Y(y.Content, { children: /* @__PURE__ */ Y(y.Control, { children: /* @__PURE__ */ Y(y.Indicator, {}) }) })
6330
- }) : null, t[31] = o, t[32] = f, t[33] = A) : A = t[33];
6331
- let j;
6332
- t[34] === A ? j = t[35] : (j = /* @__PURE__ */ Y(ie, {
6333
- className: "pr-0 w-0",
6334
- children: A
6335
- }), t[34] = A, t[35] = j);
6336
- let P;
6337
- t[36] === f ? P = t[37] : (P = f("table.columns.name.header"), t[36] = f, t[37] = P);
6338
- let F;
6339
- t[38] === P ? F = t[39] : (F = /* @__PURE__ */ Y(ie, {
6340
- className: "w-full",
6341
- isRowHeader: !0,
6342
- children: P
6343
- }), t[38] = P, t[39] = F);
6344
- let I;
6345
- t[40] !== j || t[41] !== F ? (I = /* @__PURE__ */ X(oe, { children: [j, F] }), t[40] = j, t[41] = F, t[42] = I) : I = t[42];
6346
- let L;
6347
- t[43] === m?.data ? L = t[44] : (L = m?.data ?? [], t[43] = m?.data, t[44] = L);
6348
- let R;
6349
- t[45] === L ? R = t[46] : (R = /* @__PURE__ */ Y(ne, {
6350
- items: L,
6351
- children: Ui
6352
- }), t[45] = L, t[46] = R);
6353
- let z;
6354
- t[47] !== D || t[48] !== O || t[49] !== k || t[50] !== I || t[51] !== R ? (z = /* @__PURE__ */ Y(le, { children: /* @__PURE__ */ X(ae, {
6355
- selectionMode: D,
6356
- selectedKeys: O,
6357
- onSelectionChange: k,
6358
- children: [I, R]
6359
- }) }), t[47] = D, t[48] = O, t[49] = k, t[50] = I, t[51] = R, t[52] = z) : z = t[52];
6360
- let B;
6361
- t[53] !== s || t[54] !== T || t[55] !== z ? (B = /* @__PURE__ */ Y(se, {
6362
- "aria-label": T,
6363
- className: s,
6364
- style: E,
6365
- children: z
6366
- }), t[53] = s, t[54] = T, t[55] = z, t[56] = B) : B = t[56];
6367
- let V;
6368
- return t[57] !== w || t[58] !== B ? (V = /* @__PURE__ */ X("div", {
6224
+ search: a
6225
+ } });
6226
+ return /* @__PURE__ */ J("div", {
6369
6227
  className: "flex flex-col gap-2",
6370
- children: [w, B]
6371
- }), t[57] = w, t[58] = B, t[59] = V) : V = t[59], V;
6372
- }
6373
- function Ui(e) {
6374
- return /* @__PURE__ */ X(ce, {
6375
- id: String(e.id),
6376
- children: [/* @__PURE__ */ Y(re, {
6377
- className: "pr-0",
6378
- children: /* @__PURE__ */ Y(y, {
6379
- "aria-label": e.name,
6380
- slot: "selection",
6381
- variant: "secondary",
6382
- children: /* @__PURE__ */ Y(y.Content, { children: /* @__PURE__ */ Y(y.Control, { children: /* @__PURE__ */ Y(y.Indicator, {}) }) })
6383
- })
6384
- }), /* @__PURE__ */ Y(re, { children: e.name })]
6385
- }, e.id);
6386
- }
6387
- function Wi(e) {
6388
- return Number(e);
6228
+ children: [/* @__PURE__ */ J(he, {
6229
+ value: a,
6230
+ onChange: o,
6231
+ className: "w-full",
6232
+ children: [/* @__PURE__ */ q(ee, { children: s("search.label") }), /* @__PURE__ */ J(N, { children: [
6233
+ /* @__PURE__ */ q(N.Prefix, { children: /* @__PURE__ */ q(Ae, { className: "size-4 text-muted" }) }),
6234
+ /* @__PURE__ */ q(N.Input, { placeholder: s("search.placeholder") }),
6235
+ u ? /* @__PURE__ */ q(N.Suffix, { children: /* @__PURE__ */ q(re, { size: "sm" }) }) : null
6236
+ ] })]
6237
+ }), /* @__PURE__ */ q(ue, {
6238
+ "aria-label": s("table.ariaLabel"),
6239
+ className: i,
6240
+ style: {
6241
+ maxHeight: 387,
6242
+ overflowY: "auto"
6243
+ },
6244
+ children: /* @__PURE__ */ q(fe, { children: /* @__PURE__ */ J(ce, {
6245
+ selectionMode: r ? "multiple" : "single",
6246
+ selectedKeys: new Set(t.map(String)),
6247
+ onSelectionChange: (e) => {
6248
+ let i = (c?.data ?? []).map((e) => e.id);
6249
+ if (!r) {
6250
+ n(e === "all" ? i : Array.from(e).map((e) => Number(e)));
6251
+ return;
6252
+ }
6253
+ let a = new Set(i), o = t.filter((e) => !a.has(e)), s = e === "all" ? i : Array.from(e).map((e) => Number(e));
6254
+ n([.../* @__PURE__ */ new Set([...o, ...s])]);
6255
+ },
6256
+ children: [/* @__PURE__ */ J(le, { children: [/* @__PURE__ */ q(se, {
6257
+ className: "pr-0 w-0",
6258
+ children: r ? /* @__PURE__ */ q(b, {
6259
+ "aria-label": s("table.ariaLabel"),
6260
+ slot: "selection",
6261
+ children: /* @__PURE__ */ q(b.Content, { children: /* @__PURE__ */ q(b.Control, { children: /* @__PURE__ */ q(b.Indicator, {}) }) })
6262
+ }) : null
6263
+ }), /* @__PURE__ */ q(se, {
6264
+ className: "w-full",
6265
+ isRowHeader: !0,
6266
+ children: s("table.columns.name.header")
6267
+ })] }), /* @__PURE__ */ q(ae, {
6268
+ items: c?.data ?? [],
6269
+ children: (e) => /* @__PURE__ */ J(de, {
6270
+ id: String(e.id),
6271
+ children: [/* @__PURE__ */ q(oe, {
6272
+ className: "pr-0",
6273
+ children: /* @__PURE__ */ q(b, {
6274
+ "aria-label": e.name,
6275
+ slot: "selection",
6276
+ variant: "secondary",
6277
+ children: /* @__PURE__ */ q(b.Content, { children: /* @__PURE__ */ q(b.Control, { children: /* @__PURE__ */ q(b.Indicator, {}) }) })
6278
+ })
6279
+ }), /* @__PURE__ */ q(oe, { children: e.name })]
6280
+ }, e.id)
6281
+ })]
6282
+ }) })
6283
+ })]
6284
+ });
6389
6285
  }
6286
+ // src/lib/components/Trans/index.tsx
6390
6287
  function Gi(e) {
6391
- return Number(e);
6392
- }
6393
- function Ki(e) {
6394
- return e.id;
6395
- }
6396
- //#endregion
6397
- //#region src/lib/components/Trans/index.tsx
6398
- function qi(e) {
6399
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;
6400
6289
  for (; (o = r.exec(e)) !== null;) {
6401
6290
  let s = o[0], c = o[1], l = s.startsWith("</"), u = /\/>\s*$/.test(s) || !l && s.endsWith("/>");
@@ -6453,7 +6342,7 @@ function qi(e) {
6453
6342
  }
6454
6343
  return t.children;
6455
6344
  }
6456
- function Ji(t, n, r = "k") {
6345
+ function Ki(t, n, r = "k") {
6457
6346
  let i = [];
6458
6347
  return t.forEach((t, a) => {
6459
6348
  let o = `${r}-${a}`;
@@ -6465,200 +6354,193 @@ function Ji(t, n, r = "k") {
6465
6354
  if (e.isValidElement(s)) {
6466
6355
  if (t.selfClosing) i.push(e.cloneElement(s, { key: o }));
6467
6356
  else {
6468
- let r = Ji(t.children, n, o);
6357
+ let r = Ki(t.children, n, o);
6469
6358
  i.push(e.cloneElement(s, { key: o }, r));
6470
6359
  }
6471
- return;
6472
- }
6473
- t.selfClosing || i.push(...Ji(t.children, n, o));
6360
+ } else t.selfClosing || i.push(...Ki(t.children, n, o));
6474
6361
  }), i;
6475
6362
  }
6476
- function Yi(e) {
6477
- let t = (0, Q.c)(9), { i18nKey: n, values: r, components: i, t: a } = e, o;
6363
+ function qi(e) {
6364
+ let t = (0, X.c)(9), { i18nKey: n, values: r, components: i, t: a } = e, o;
6478
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];
6479
6366
  let s = o, c;
6480
- t[4] === s ? c = t[5] : (c = qi(s), t[4] = s, t[5] = c);
6367
+ t[4] === s ? c = t[5] : (c = Gi(s), t[4] = s, t[5] = c);
6481
6368
  let l = c, u;
6482
- return t[6] !== i || t[7] !== l ? (u = Ji(l, i), t[6] = i, t[7] = l, t[8] = u) : u = t[8], 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;
6483
6370
  }
6484
- //#endregion
6485
- //#region src/lib/components/AlertStatusIcon.tsx
6486
- var Xi = {
6487
- default: Ce,
6488
- accent: Ce,
6489
- success: ye,
6490
- warning: _e,
6491
- danger: ge
6371
+ // src/lib/components/AlertStatusIcon.tsx
6372
+ var Ji = {
6373
+ default: Ee,
6374
+ accent: Ee,
6375
+ success: Se,
6376
+ warning: be,
6377
+ danger: ye
6492
6378
  };
6493
- function Zi(e) {
6494
- let t = (0, Q.c)(2), { status: n } = e, r = Xi[n], i;
6495
- return t[0] === r ? i = t[1] : (i = /* @__PURE__ */ Y(p, { children: /* @__PURE__ */ Y(r, {}) }), t[0] = r, t[1] = i), i;
6379
+ function Yi(e) {
6380
+ let t = (0, X.c)(2), { status: n } = e, r = Ji[n], i;
6381
+ return t[0] === r ? i = t[1] : (i = /* @__PURE__ */ q(m, { children: /* @__PURE__ */ q(r, {}) }), t[0] = r, t[1] = i), i;
6496
6382
  }
6497
- //#endregion
6498
- //#region src/lib/components/EmptyState.tsx
6499
- function Qi(e) {
6500
- let t = (0, Q.c)(7), { message: n } = e, r;
6383
+ // src/lib/components/EmptyState.tsx
6384
+ function Xi(e) {
6385
+ let t = (0, X.c)(7), { message: n } = e, r;
6501
6386
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (r = {
6502
6387
  en: { message: "No entries found" },
6503
6388
  de: { message: "Keine Einträge gefunden" }
6504
6389
  }, t[0] = r) : r = t[0];
6505
- let { t: i } = Mr(r), a;
6506
- t[1] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ Y(we, {
6390
+ let { t: i } = $(r), a;
6391
+ t[1] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ q(De, {
6507
6392
  size: 36,
6508
6393
  className: "text-default-300"
6509
6394
  }), t[1] = a) : a = t[1];
6510
6395
  let o;
6511
6396
  t[2] !== n || t[3] !== i ? (o = n ?? i("message"), t[2] = n, t[3] = i, t[4] = o) : o = t[4];
6512
6397
  let s;
6513
- return t[5] === o ? s = t[6] : (s = /* @__PURE__ */ X("div", {
6398
+ return t[5] === o ? s = t[6] : (s = /* @__PURE__ */ J("div", {
6514
6399
  className: "flex flex-col justify-center items-center py-6 px-4 gap-2",
6515
- children: [a, /* @__PURE__ */ Y("p", {
6400
+ children: [a, /* @__PURE__ */ q("p", {
6516
6401
  className: "text-sm text-default-500",
6517
6402
  children: o
6518
6403
  })]
6519
6404
  }), t[5] = o, t[6] = s), s;
6520
6405
  }
6521
- //#endregion
6522
- //#region src/lib/components/LabeledSwitch.tsx
6523
- function $i(e) {
6524
- let t = (0, Q.c)(11), n, r, i;
6406
+ // src/lib/components/LabeledSwitch.tsx
6407
+ function Zi(e) {
6408
+ let t = (0, X.c)(11), n, r, i;
6525
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);
6526
6410
  let a;
6527
- t[4] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ Y(J.Control, { children: /* @__PURE__ */ Y(J.Thumb, {}) }), t[4] = a) : a = t[4];
6411
+ t[4] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ q(ie.Control, { children: /* @__PURE__ */ q(ie.Thumb, {}) }), t[4] = a) : a = t[4];
6528
6412
  let o;
6529
- t[5] !== n || t[6] !== r ? (o = /* @__PURE__ */ X(J.Content, {
6413
+ t[5] !== n || t[6] !== r ? (o = /* @__PURE__ */ J(ie.Content, {
6530
6414
  className: r,
6531
6415
  children: [a, n]
6532
6416
  }), t[5] = n, t[6] = r, t[7] = o) : o = t[7];
6533
6417
  let s;
6534
- return t[8] !== i || t[9] !== o ? (s = /* @__PURE__ */ Y(J, {
6418
+ return t[8] !== i || t[9] !== o ? (s = /* @__PURE__ */ q(ie, {
6535
6419
  ...i,
6536
6420
  children: o
6537
6421
  }), t[8] = i, t[9] = o, t[10] = s) : s = t[10], s;
6538
6422
  }
6539
- var ea = { loading: "Loading" }, ta = { loading: "Wird geladen" }, na = (e) => {
6540
- let t = (0, Q.c)(7), { label: n } = e, r;
6423
+ var Qi = { loading: "Loading" }, $i = { loading: "Wird geladen" }, ea = (e) => {
6424
+ let t = (0, X.c)(7), { label: n } = e, r;
6541
6425
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (r = {
6542
- en: ea,
6543
- de: ta
6426
+ en: Qi,
6427
+ de: $i
6544
6428
  }, t[0] = r) : r = t[0];
6545
- let { t: i } = Mr(r), a;
6429
+ let { t: i } = $(r), a;
6546
6430
  t[1] !== n || t[2] !== i ? (a = n ?? i("loading"), t[1] = n, t[2] = i, t[3] = a) : a = t[3];
6547
6431
  let o;
6548
- t[4] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ X(K, { children: [/* @__PURE__ */ Y(q, {}), /* @__PURE__ */ Y(G, {})] }), t[4] = o) : o = t[4];
6432
+ t[4] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ J(G, { children: [/* @__PURE__ */ q(K, {}), /* @__PURE__ */ q(W, {})] }), t[4] = o) : o = t[4];
6549
6433
  let s;
6550
- return t[5] === a ? s = t[6] : (s = /* @__PURE__ */ Y("div", {
6434
+ return t[5] === a ? s = t[6] : (s = /* @__PURE__ */ q("div", {
6551
6435
  className: "flex justify-center items-center p-4",
6552
- children: /* @__PURE__ */ Y(W, {
6436
+ children: /* @__PURE__ */ q(U, {
6553
6437
  isIndeterminate: !0,
6554
6438
  "aria-label": a,
6555
6439
  children: o
6556
6440
  })
6557
6441
  }), t[5] = a, t[6] = s), s;
6558
- }, ra = "md:max-w-2xl bg-overlay", ia = `${ra} md:mx-auto`;
6559
- function aa(e) {
6560
- let t = (0, Q.c)(12), { isOpen: n, onOpenChange: r, children: i, backdropProps: a, contentProps: o, dialogProps: s } = e, c = o?.placement === "left" || o?.placement === "right" ? ra : ia, l = s?.className ? `${c} ${s.className}` : c, u;
6561
- t[0] !== i || t[1] !== s || t[2] !== l ? (u = /* @__PURE__ */ Y(C, {
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;
6445
+ t[0] !== i || t[1] !== s || t[2] !== l ? (u = /* @__PURE__ */ q(w, {
6562
6446
  ...s,
6563
6447
  className: l,
6564
6448
  children: i
6565
6449
  }), t[0] = i, t[1] = s, t[2] = l, t[3] = u) : u = t[3];
6566
6450
  let d;
6567
- t[4] !== o || t[5] !== u ? (d = /* @__PURE__ */ Y(S, {
6451
+ t[4] !== o || t[5] !== u ? (d = /* @__PURE__ */ q(C, {
6568
6452
  ...o,
6569
6453
  children: u
6570
6454
  }), t[4] = o, t[5] = u, t[6] = d) : d = t[6];
6571
6455
  let f;
6572
- return t[7] !== a || t[8] !== n || t[9] !== r || t[10] !== d ? (f = /* @__PURE__ */ Y(x, {
6456
+ return t[7] !== a || t[8] !== n || t[9] !== r || t[10] !== d ? (f = /* @__PURE__ */ q(S, {
6573
6457
  ...a,
6574
6458
  isOpen: n,
6575
6459
  onOpenChange: r,
6576
6460
  children: d
6577
6461
  }), t[7] = a, t[8] = n, t[9] = r, t[10] = d, t[11] = f) : f = t[11], f;
6578
6462
  }
6579
- //#endregion
6580
- //#region src/lib/components/StatusAlert.tsx
6581
- function oa(e) {
6582
- let t = (0, Q.c)(14), { status: n, title: r, children: i, "data-cy": a } = e, o;
6583
- t[0] === n ? o = t[1] : (o = /* @__PURE__ */ Y(Zi, { status: n }), t[0] = n, t[1] = o);
6463
+ // src/lib/components/StatusAlert.tsx
6464
+ function ia(e) {
6465
+ let t = (0, X.c)(14), { status: n, title: r, children: i, "data-cy": a } = e, o;
6466
+ t[0] === n ? o = t[1] : (o = /* @__PURE__ */ q(Yi, { status: n }), t[0] = n, t[1] = o);
6584
6467
  let s;
6585
- t[2] === r ? s = t[3] : (s = r !== void 0 && /* @__PURE__ */ Y(m, { children: r }), t[2] = r, t[3] = s);
6468
+ t[2] === r ? s = t[3] : (s = r !== void 0 && /* @__PURE__ */ q(h, { children: r }), t[2] = r, t[3] = s);
6586
6469
  let c;
6587
- t[4] !== i || t[5] !== a ? (c = i !== void 0 && /* @__PURE__ */ Y(d, {
6470
+ t[4] !== i || t[5] !== a ? (c = i !== void 0 && /* @__PURE__ */ q(f, {
6588
6471
  "data-cy": a,
6589
6472
  children: i
6590
6473
  }), t[4] = i, t[5] = a, t[6] = c) : c = t[6];
6591
- let f;
6592
- t[7] !== s || t[8] !== c ? (f = /* @__PURE__ */ X(u, { children: [s, c] }), t[7] = s, t[8] = c, t[9] = f) : f = t[9];
6474
+ let l;
6475
+ t[7] !== s || t[8] !== c ? (l = /* @__PURE__ */ J(d, { children: [s, c] }), t[7] = s, t[8] = c, t[9] = l) : l = t[9];
6593
6476
  let p;
6594
- return t[10] !== n || t[11] !== o || t[12] !== f ? (p = /* @__PURE__ */ X(l, {
6477
+ return t[10] !== n || t[11] !== o || t[12] !== l ? (p = /* @__PURE__ */ J(u, {
6595
6478
  status: n,
6596
- children: [o, f]
6597
- }), t[10] = n, t[11] = o, t[12] = f, t[13] = p) : p = t[13], p;
6479
+ children: [o, l]
6480
+ }), t[10] = n, t[11] = o, t[12] = l, t[13] = p) : p = t[13], p;
6598
6481
  }
6599
- //#endregion
6600
- //#region src/lib/components/button/index.tsx
6601
- function sa(e) {
6602
- let t = (0, Q.c)(15), n, r, i, a;
6482
+ // src/lib/components/button/index.tsx
6483
+ function aa(e) {
6484
+ let t = (0, X.c)(15), n, r, i, a;
6603
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);
6604
6486
  let o = i ? r ? "opacity-0" : "pr-5" : "", s;
6605
- t[5] !== n || t[6] !== r || t[7] !== i || t[8] !== o ? (s = (e) => /* @__PURE__ */ X(Ae, { children: [/* @__PURE__ */ Y("span", {
6487
+ t[5] !== n || t[6] !== r || t[7] !== i || t[8] !== o ? (s = (e) => /* @__PURE__ */ J(Ne, { children: [/* @__PURE__ */ q("span", {
6606
6488
  className: `inline-flex items-center gap-2 ${o}`,
6607
6489
  children: typeof n == "function" ? n(e) : n
6608
- }), i && /* @__PURE__ */ Y("span", {
6490
+ }), i && /* @__PURE__ */ q("span", {
6609
6491
  className: `absolute flex items-center ${r ? "inset-0 justify-center" : "right-3 inset-y-0"}`,
6610
6492
  "aria-hidden": "true",
6611
- children: /* @__PURE__ */ Y(te, {
6493
+ children: /* @__PURE__ */ q(re, {
6612
6494
  color: "current",
6613
6495
  size: "sm"
6614
6496
  })
6615
6497
  })] }), t[5] = n, t[6] = r, t[7] = i, t[8] = o, t[9] = s) : s = t[9];
6616
6498
  let c;
6617
- return t[10] !== r || t[11] !== i || t[12] !== a || t[13] !== s ? (c = /* @__PURE__ */ Y(v, {
6499
+ return t[10] !== r || t[11] !== i || t[12] !== a || t[13] !== s ? (c = /* @__PURE__ */ q(y, {
6618
6500
  ...a,
6619
6501
  isPending: i,
6620
6502
  isIconOnly: r,
6621
6503
  children: s
6622
6504
  }), t[10] = r, t[11] = i, t[12] = a, t[13] = s, t[14] = c) : c = t[14], c;
6623
6505
  }
6624
- var ca = {
6506
+ var oa = {
6625
6507
  close: "Close",
6626
6508
  cancel: "Cancel"
6627
- }, la = {
6509
+ }, sa = {
6628
6510
  close: "Schließen",
6629
6511
  cancel: "Abbrechen"
6630
- }, ua = {
6512
+ }, ca = {
6631
6513
  default: "default",
6632
6514
  info: "accent",
6633
6515
  success: "success",
6634
6516
  warning: "warning",
6635
6517
  error: "danger"
6636
- }, da = (e) => {
6518
+ }, la = (e) => {
6637
6519
  e.target === e.currentTarget && e.preventDefault();
6638
6520
  };
6639
- function fa(e) {
6640
- let t = (0, Q.c)(38), { isOpen: n, onClose: r, status: i, title: a, children: o, action: s, closeLabel: c, closeDataCy: l, "data-cy": u } = e, d;
6521
+ function ua(e) {
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;
6641
6523
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (d = {
6642
- en: ca,
6643
- de: la
6524
+ en: oa,
6525
+ de: sa
6644
6526
  }, t[0] = d) : d = t[0];
6645
- let { t: p } = Mr(d), m = i === "error", h;
6527
+ let { t: f } = $(d), m = i === "error", h;
6646
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];
6647
- let g = ua[i], _;
6648
- t[4] === g ? _ = t[5] : (_ = /* @__PURE__ */ Y(f.Icon, { status: g }), t[4] = g, t[5] = _);
6529
+ let g = ca[i], _;
6530
+ t[4] === g ? _ = t[5] : (_ = /* @__PURE__ */ q(p.Icon, { status: g }), t[4] = g, t[5] = _);
6649
6531
  let v;
6650
- t[6] === a ? v = t[7] : (v = /* @__PURE__ */ Y(f.Heading, { children: a }), t[6] = a, t[7] = v);
6532
+ t[6] === a ? v = t[7] : (v = /* @__PURE__ */ q(p.Heading, { children: a }), t[6] = a, t[7] = v);
6651
6533
  let y;
6652
- t[8] !== _ || t[9] !== v ? (y = /* @__PURE__ */ X(f.Header, { children: [_, v] }), t[8] = _, t[9] = v, t[10] = y) : y = t[10];
6534
+ t[8] !== _ || t[9] !== v ? (y = /* @__PURE__ */ J(p.Header, { children: [_, v] }), t[8] = _, t[9] = v, t[10] = y) : y = t[10];
6653
6535
  let b;
6654
- t[11] === o ? b = t[12] : (b = o !== void 0 && /* @__PURE__ */ Y(f.Body, { children: typeof o == "string" ? /* @__PURE__ */ Y("p", {
6536
+ t[11] === o ? b = t[12] : (b = o !== void 0 && /* @__PURE__ */ q(p.Body, { children: typeof o == "string" ? /* @__PURE__ */ q("p", {
6655
6537
  className: "break-words",
6656
6538
  children: o
6657
6539
  }) : o }), t[11] = o, t[12] = b);
6658
6540
  let x = s ? "tertiary" : "primary", S = s?.isPending, C = l ?? (u ? `${u}-close` : void 0), w;
6659
- t[13] !== s || t[14] !== c || t[15] !== p ? (w = c ?? p(s ? "cancel" : "close"), t[13] = s, t[14] = c, t[15] = p, t[16] = w) : w = t[16];
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];
6660
6542
  let T;
6661
- t[17] !== r || t[18] !== w || t[19] !== x || t[20] !== S || t[21] !== C ? (T = /* @__PURE__ */ Y(sa, {
6543
+ t[17] !== r || t[18] !== w || t[19] !== x || t[20] !== S || t[21] !== C ? (T = /* @__PURE__ */ q(aa, {
6662
6544
  variant: x,
6663
6545
  onPress: r,
6664
6546
  isDisabled: S,
@@ -6666,7 +6548,7 @@ function fa(e) {
6666
6548
  children: w
6667
6549
  }), t[17] = r, t[18] = w, t[19] = x, t[20] = S, t[21] = C, t[22] = T) : T = t[22];
6668
6550
  let E;
6669
- t[23] !== s || t[24] !== m ? (E = s && /* @__PURE__ */ Y(sa, {
6551
+ t[23] !== s || t[24] !== m ? (E = s && /* @__PURE__ */ q(aa, {
6670
6552
  variant: m ? "danger" : "primary",
6671
6553
  onPress: () => void s.onPress(),
6672
6554
  isPending: s.isPending,
@@ -6675,9 +6557,9 @@ function fa(e) {
6675
6557
  children: s.label
6676
6558
  }), t[23] = s, t[24] = m, t[25] = E) : E = t[25];
6677
6559
  let D;
6678
- t[26] !== T || t[27] !== E ? (D = /* @__PURE__ */ X(f.Footer, { children: [T, E] }), t[26] = T, t[27] = E, t[28] = D) : D = t[28];
6560
+ t[26] !== T || t[27] !== E ? (D = /* @__PURE__ */ J(p.Footer, { children: [T, E] }), t[26] = T, t[27] = E, t[28] = D) : D = t[28];
6679
6561
  let O;
6680
- t[29] !== u || t[30] !== D || t[31] !== y || t[32] !== b ? (O = /* @__PURE__ */ Y(f.Container, { children: /* @__PURE__ */ X(f.Dialog, {
6562
+ t[29] !== u || t[30] !== D || t[31] !== y || t[32] !== b ? (O = /* @__PURE__ */ q(p.Container, { children: /* @__PURE__ */ J(p.Dialog, {
6681
6563
  className: "sm:max-w-[440px]",
6682
6564
  "data-cy": u,
6683
6565
  children: [
@@ -6687,35 +6569,34 @@ function fa(e) {
6687
6569
  ]
6688
6570
  }) }), t[29] = u, t[30] = D, t[31] = y, t[32] = b, t[33] = O) : O = t[33];
6689
6571
  let k;
6690
- return t[34] !== n || t[35] !== h || t[36] !== O ? (k = /* @__PURE__ */ Y(f.Backdrop, {
6572
+ return t[34] !== n || t[35] !== h || t[36] !== O ? (k = /* @__PURE__ */ q(p.Backdrop, {
6691
6573
  isOpen: n,
6692
6574
  onOpenChange: h,
6693
6575
  isDismissable: !1,
6694
6576
  isKeyboardDismissDisabled: !1,
6695
- onMouseDown: da,
6577
+ onMouseDown: la,
6696
6578
  children: O
6697
6579
  }), t[34] = n, t[35] = h, t[36] = O, t[37] = k) : k = t[37], k;
6698
6580
  }
6699
- var pa = {
6581
+ var da = {
6700
6582
  title: "Confirm Deletion",
6701
6583
  message: "Are you sure you want to delete <bold>{{itemName}}</bold>?<alert>This action cannot be undone.</alert>",
6702
6584
  cancelButton: "Cancel",
6703
6585
  deleteButton: "Delete"
6704
- }, ma = {
6586
+ }, fa = {
6705
6587
  title: "Löschen bestätigen",
6706
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>",
6707
6589
  cancelButton: "Abbrechen",
6708
6590
  deleteButton: "Löschen"
6709
6591
  };
6710
- //#endregion
6711
- //#region src/lib/components/delete-confirmation-modal/index.tsx
6712
- function ha(e) {
6713
- let t = (0, Q.c)(25), { isOpen: n, onClose: r, onConfirm: i, itemName: a, isDeleting: o, "data-cy": s } = e, c;
6592
+ // src/lib/components/delete-confirmation-modal/index.tsx
6593
+ function pa(e) {
6594
+ let t = (0, X.c)(25), { isOpen: n, onClose: r, onConfirm: i, itemName: a, isDeleting: o, "data-cy": s } = e, c;
6714
6595
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (c = {
6715
- en: pa,
6716
- de: ma
6596
+ en: da,
6597
+ de: fa
6717
6598
  }, t[0] = c) : c = t[0];
6718
- let { t: l } = Mr(c), u;
6599
+ let { t: l } = $(c), u;
6719
6600
  t[1] === l ? u = t[2] : (u = l("title"), t[1] = l, t[2] = u);
6720
6601
  let d;
6721
6602
  t[3] === l ? d = t[4] : (d = l("cancelButton"), t[3] = l, t[4] = d);
@@ -6732,11 +6613,11 @@ function ha(e) {
6732
6613
  t[11] === a ? m = t[12] : (m = { itemName: a }, t[11] = a, t[12] = m);
6733
6614
  let h;
6734
6615
  t[13] === Symbol.for("react.memo_cache_sentinel") ? (h = {
6735
- bold: /* @__PURE__ */ Y("strong", {}),
6736
- alert: /* @__PURE__ */ Y("span", { className: "block mt-2 text-danger" })
6616
+ bold: /* @__PURE__ */ q("strong", {}),
6617
+ alert: /* @__PURE__ */ q("span", { className: "block mt-2 text-danger" })
6737
6618
  }, t[13] = h) : h = t[13];
6738
6619
  let g;
6739
- t[14] !== l || t[15] !== m ? (g = /* @__PURE__ */ Y("p", { children: /* @__PURE__ */ Y(Yi, {
6620
+ t[14] !== l || t[15] !== m ? (g = /* @__PURE__ */ q("p", { children: /* @__PURE__ */ q(qi, {
6740
6621
  t: l,
6741
6622
  count: 1,
6742
6623
  i18nKey: "message",
@@ -6744,7 +6625,7 @@ function ha(e) {
6744
6625
  components: h
6745
6626
  }) }), t[14] = l, t[15] = m, t[16] = g) : g = t[16];
6746
6627
  let _;
6747
- return t[17] !== s || t[18] !== n || t[19] !== r || t[20] !== u || t[21] !== d || t[22] !== p || t[23] !== g ? (_ = /* @__PURE__ */ Y(fa, {
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, {
6748
6629
  isOpen: n,
6749
6630
  onClose: r,
6750
6631
  status: "error",
@@ -6756,10 +6637,9 @@ function ha(e) {
6756
6637
  children: g
6757
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], _;
6758
6639
  }
6759
- //#endregion
6760
- //#region src/lib/components/page-header/actions.tsx
6761
- var ga = 6;
6762
- function _a(e) {
6640
+ // src/lib/components/page-header/actions.tsx
6641
+ var ma = 6;
6642
+ function ha(e) {
6763
6643
  return {
6764
6644
  variant: e.variant === "primary" ? "primary" : "outline",
6765
6645
  size: "sm",
@@ -6768,179 +6648,179 @@ function _a(e) {
6768
6648
  isIconOnly: e.isIconOnly,
6769
6649
  "aria-label": e.label,
6770
6650
  "data-cy": e.dataCy,
6771
- children: e.isIconOnly ? e.icon : /* @__PURE__ */ X(Ae, { children: [e.icon, e.label] })
6651
+ children: e.isIconOnly ? e.icon : /* @__PURE__ */ J(Ne, { children: [e.icon, e.label] })
6772
6652
  };
6773
6653
  }
6774
- function va(e) {
6775
- let t = _a(e);
6776
- return "renderTrigger" in e && e.renderTrigger ? /* @__PURE__ */ Y("span", { children: e.renderTrigger(t) }, e.key) : /* @__PURE__ */ Y(sa, {
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, {
6777
6657
  ...t,
6778
6658
  onPress: e.onPress
6779
6659
  }, e.key);
6780
6660
  }
6781
- function ya(e) {
6782
- return /* @__PURE__ */ X(T, {
6661
+ function _a(e) {
6662
+ return /* @__PURE__ */ J(E, {
6783
6663
  id: e.key,
6784
6664
  onPress: e.onPress,
6785
6665
  isDisabled: e.isDisabled || e.isPending,
6786
6666
  "data-cy": e.dataCy,
6787
6667
  className: e.variant === "destructive" ? "text-danger" : void 0,
6788
- children: [e.icon && /* @__PURE__ */ Y("span", {
6668
+ children: [e.icon && /* @__PURE__ */ q("span", {
6789
6669
  className: "inline-flex mr-2",
6790
6670
  children: e.icon
6791
6671
  }), e.label]
6792
6672
  }, e.key);
6793
6673
  }
6794
- function ba(e) {
6795
- let t = (0, Q.c)(10), { actions: n, maxVisible: r, moreLabel: i } = e, a = r === void 0 ? ga : r, o;
6796
- t[0] === Symbol.for("react.memo_cache_sentinel") ? (o = {
6674
+ function va({ actions: e, maxVisible: t = ma, moreLabel: n }) {
6675
+ let { t: r } = $({
6797
6676
  en: { more: "More actions" },
6798
6677
  de: { more: "Weitere Aktionen" }
6799
- }, t[0] = o) : o = t[0];
6800
- let { t: s } = Mr(o), c, l;
6801
- if (t[1] !== n || t[2] !== a || t[3] !== i || t[4] !== s) {
6802
- l = Symbol.for("react.early_return_sentinel");
6803
- bb0: {
6804
- let e = n.filter(wa);
6805
- if (e.length === 0) {
6806
- l = null;
6807
- break bb0;
6808
- }
6809
- let r = e.filter(Ca), o = e.filter(Sa), u = o.filter(xa).length, d = r.length > 0 ? a === 0 ? 0 : Math.max(1, a - 1) : a, f = Math.max(0, d - u), p = [], m = [], h = 0;
6810
- for (let e of o) "renderTrigger" in e && e.renderTrigger ? p.push(e) : h < f ? (p.push(e), h += 1) : m.push(e);
6811
- let g = [...m, ...r], _ = g.length > 0, v;
6812
- t[7] !== i || t[8] !== s ? (v = i ?? s("more"), t[7] = i, t[8] = s, t[9] = v) : v = t[9];
6813
- let y = v;
6814
- c = /* @__PURE__ */ X(Ae, { children: [p.map(va), _ && /* @__PURE__ */ X(w, { children: [/* @__PURE__ */ Y(O, {
6815
- className: me(Fe({
6816
- variant: "outline",
6817
- size: "sm",
6818
- isIconOnly: !0
6819
- }), "inline-flex items-center justify-center"),
6820
- "aria-label": y,
6821
- "data-cy": "page-header-overflow-trigger",
6822
- children: /* @__PURE__ */ Y(Ee, { className: "w-4 h-4" })
6823
- }), /* @__PURE__ */ Y(D, { children: /* @__PURE__ */ Y(E, {
6824
- "aria-label": y,
6825
- children: g.map(ya)
6826
- }) })] })] });
6827
- }
6828
- t[1] = n, t[2] = a, t[3] = i, t[4] = s, t[5] = c, t[6] = l;
6829
- } else c = t[5], l = t[6];
6830
- return l === Symbol.for("react.early_return_sentinel") ? c : l;
6678
+ }), i = e.filter((e) => !e.isHidden);
6679
+ if (i.length === 0) return null;
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;
6681
+ for (let e of o) "renderTrigger" in e && e.renderTrigger ? u.push(e) : f < l ? (u.push(e), f += 1) : d.push(e);
6682
+ let p = [...d, ...a], m = p.length > 0, h = n ?? r("more");
6683
+ return /* @__PURE__ */ J(Ne, { children: [u.map(ga), m && /* @__PURE__ */ J(T, { children: [/* @__PURE__ */ q(k, {
6684
+ className: _e(Re({
6685
+ variant: "outline",
6686
+ size: "sm",
6687
+ isIconOnly: !0
6688
+ }), "inline-flex items-center justify-center"),
6689
+ "aria-label": h,
6690
+ "data-cy": "page-header-overflow-trigger",
6691
+ children: /* @__PURE__ */ q(ke, { className: "w-4 h-4" })
6692
+ }), /* @__PURE__ */ q(O, { children: /* @__PURE__ */ q(D, {
6693
+ "aria-label": h,
6694
+ children: p.map(_a)
6695
+ }) })] })] });
6831
6696
  }
6697
+ // src/lib/components/page-header/accessory.tsx
6698
+ var ya = t(null), ba = (e) => e.reduce((e, t) => !e || e.compareDocumentPosition(t) & Node.DOCUMENT_POSITION_PRECEDING ? t : e, null);
6832
6699
  function xa(e) {
6833
- return "renderTrigger" in e && e.renderTrigger;
6700
+ let t = (0, X.c)(10), { accessory: n, children: r } = e, i;
6701
+ t[0] === Symbol.for("react.memo_cache_sentinel") ? (i = [], t[0] = i) : i = t[0];
6702
+ let [a, o] = l(i), s;
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];
6704
+ let c = s, u;
6705
+ t[2] === a ? u = t[3] : (u = ba(a), t[2] = a, t[3] = u);
6706
+ let d = u, f;
6707
+ t[4] !== n || t[5] !== d ? (f = {
6708
+ accessory: n,
6709
+ register: c,
6710
+ owner: d
6711
+ }, t[4] = n, t[5] = d, t[6] = f) : f = t[6];
6712
+ let p = f, m;
6713
+ return t[7] !== r || t[8] !== p ? (m = /* @__PURE__ */ q(ya.Provider, {
6714
+ value: p,
6715
+ children: r
6716
+ }), t[7] = r, t[8] = p, t[9] = m) : m = t[9], m;
6834
6717
  }
6835
6718
  function Sa(e) {
6836
- return e.variant !== "destructive";
6719
+ let t = (0, X.c)(4), n = r(ya), i = n?.register, a, s;
6720
+ return t[0] !== e || t[1] !== i ? (a = () => {
6721
+ if (i && e.current) return i(e.current);
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;
6837
6723
  }
6724
+ // src/lib/components/page-header/index.tsx
6838
6725
  function Ca(e) {
6839
- return e.variant === "destructive" && "onPress" in e;
6840
- }
6841
- function wa(e) {
6842
- return !e.isHidden;
6843
- }
6844
- //#endregion
6845
- //#region src/lib/components/page-header/index.tsx
6846
- function Ta(e) {
6847
- let t = (0, Q.c)(34), { title: n, subtitle: r, backTo: i, onBack: a, actions: o, maxVisibleActions: s, moreActionsLabel: c, icon: l, noMargin: u, thumbnailSrc: d, thumbnailAlt: f } = e, p = Me(), m;
6848
- t[0] === o ? m = t[1] : (m = !!o && o.some(Ea), t[0] = o, t[1] = m);
6849
- let h = m, g = u && "mb-0", _;
6850
- t[2] === g ? _ = t[3] : (_ = me("flex items-center w-full justify-between mb-8 flex-wrap gap-4", g), t[2] = g, t[3] = _);
6851
- let y;
6852
- t[4] !== i || t[5] !== p || t[6] !== a ? (y = (i || a) && /* @__PURE__ */ Y(v, {
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] = _);
6728
+ let v = _, b = d && "mb-0", x;
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);
6730
+ let S;
6731
+ t[4] !== i || t[5] !== m || t[6] !== a ? (S = (i || a) && /* @__PURE__ */ q(y, {
6853
6732
  variant: "ghost",
6854
- onPress: () => i ? p(i) : a?.(),
6733
+ onPress: () => i ? m(i) : a?.(),
6855
6734
  isIconOnly: !0,
6856
6735
  "aria-label": "Go back",
6857
6736
  className: "mr-4",
6858
6737
  "data-cy": "back-button",
6859
- children: /* @__PURE__ */ Y(ve, { className: "w-6 h-6" })
6860
- }), t[4] = i, t[5] = p, t[6] = a, t[7] = y) : y = t[7];
6861
- let b;
6862
- t[8] !== l || t[9] !== f || t[10] !== d ? (b = (l || d) && /* @__PURE__ */ X("div", {
6738
+ children: /* @__PURE__ */ q(xe, { className: "w-6 h-6" })
6739
+ }), t[4] = i, t[5] = m, t[6] = a, t[7] = S) : S = t[7];
6740
+ let C;
6741
+ t[8] !== u || t[9] !== p || t[10] !== f ? (C = (u || f) && /* @__PURE__ */ J("div", {
6863
6742
  className: "mr-2",
6864
- children: [l, d && /* @__PURE__ */ Y("img", {
6743
+ children: [u, f && /* @__PURE__ */ q("img", {
6865
6744
  className: "object-contain rounded-lg",
6866
6745
  height: 48,
6867
6746
  width: 48,
6868
- src: d,
6869
- alt: f
6747
+ src: f,
6748
+ alt: p
6870
6749
  })]
6871
- }), t[8] = l, t[9] = f, t[10] = d, t[11] = b) : b = t[11];
6872
- let x;
6873
- t[12] === b ? x = t[13] : (x = /* @__PURE__ */ Y("div", {
6750
+ }), t[8] = u, t[9] = p, t[10] = f, t[11] = C) : C = t[11];
6751
+ let w;
6752
+ t[12] === C ? w = t[13] : (w = /* @__PURE__ */ q("div", {
6874
6753
  className: "flex-shrink flex flex-col",
6875
- children: b
6876
- }), t[12] = b, t[13] = x);
6877
- let S;
6878
- t[14] === n ? S = t[15] : (S = /* @__PURE__ */ Y("div", {
6754
+ children: C
6755
+ }), t[12] = C, t[13] = w);
6756
+ let T;
6757
+ t[14] === n ? T = t[15] : (T = /* @__PURE__ */ q("div", {
6879
6758
  className: "flex items-start gap-2 ",
6880
- children: /* @__PURE__ */ Y("h1", {
6759
+ children: /* @__PURE__ */ q("h1", {
6881
6760
  className: "text-2xl font-semibold tracking-tight break-words",
6882
6761
  children: n
6883
6762
  })
6884
- }), t[14] = n, t[15] = S);
6885
- let C;
6886
- t[16] === r ? C = t[17] : (C = r && Y(typeof r == "string" ? "p" : "div", {
6763
+ }), t[14] = n, t[15] = T);
6764
+ let E;
6765
+ t[16] === r ? E = t[17] : (E = r && q(typeof r == "string" ? "p" : "div", {
6887
6766
  className: "mt-1 text-sm text-muted",
6888
6767
  children: r
6889
- }), t[16] = r, t[17] = C);
6890
- let w;
6891
- t[18] !== S || t[19] !== C ? (w = /* @__PURE__ */ X("div", {
6768
+ }), t[16] = r, t[17] = E);
6769
+ let D;
6770
+ t[18] !== T || t[19] !== E ? (D = /* @__PURE__ */ J("div", {
6892
6771
  className: "min-w-0",
6893
- children: [S, C]
6894
- }), t[18] = S, t[19] = C, t[20] = w) : w = t[20];
6895
- let T;
6896
- t[21] !== y || t[22] !== x || t[23] !== w ? (T = /* @__PURE__ */ X("div", {
6772
+ children: [T, E]
6773
+ }), t[18] = T, t[19] = E, t[20] = D) : D = t[20];
6774
+ let O;
6775
+ t[21] !== S || t[22] !== w || t[23] !== D ? (O = /* @__PURE__ */ J("div", {
6897
6776
  className: "flex items-center min-w-0",
6898
6777
  children: [
6899
- y,
6900
- x,
6901
- w
6778
+ S,
6779
+ w,
6780
+ D
6902
6781
  ]
6903
- }), t[21] = y, t[22] = x, t[23] = w, t[24] = T) : T = t[24];
6904
- let E;
6905
- t[25] !== o || t[26] !== h || t[27] !== s || t[28] !== c ? (E = h && /* @__PURE__ */ Y("div", {
6906
- className: "flex items-center gap-2 flex-wrap",
6907
- children: /* @__PURE__ */ Y(ba, {
6782
+ }), t[21] = S, t[22] = w, t[23] = D, t[24] = O) : O = t[24];
6783
+ let k;
6784
+ t[25] !== g || t[26] !== o || t[27] !== v || t[28] !== s || t[29] !== l ? (k = (v || g) && /* @__PURE__ */ J("div", {
6785
+ className: "flex items-center gap-2 flex-wrap empty:hidden",
6786
+ children: [g && /* @__PURE__ */ q(g, {}), v && /* @__PURE__ */ q(va, {
6908
6787
  actions: o,
6909
6788
  maxVisible: s,
6910
- moreLabel: c
6911
- })
6912
- }), t[25] = o, t[26] = h, t[27] = s, t[28] = c, t[29] = E) : E = t[29];
6913
- let D;
6914
- return t[30] !== T || t[31] !== E || t[32] !== _ ? (D = /* @__PURE__ */ X("div", {
6915
- className: _,
6916
- children: [T, E]
6917
- }), t[30] = T, t[31] = E, t[32] = _, t[33] = D) : D = t[33], D;
6789
+ moreLabel: l
6790
+ })]
6791
+ }), t[25] = g, t[26] = o, t[27] = v, t[28] = s, t[29] = l, t[30] = k) : k = t[30];
6792
+ let A;
6793
+ return t[31] !== O || t[32] !== k || t[33] !== x ? (A = /* @__PURE__ */ J("div", {
6794
+ ref: h,
6795
+ className: x,
6796
+ children: [O, k]
6797
+ }), t[31] = O, t[32] = k, t[33] = x, t[34] = A) : A = t[34], A;
6918
6798
  }
6919
- function Ea(e) {
6799
+ function wa(e) {
6920
6800
  return !e.isHidden;
6921
6801
  }
6922
- var Da = {
6802
+ var Ta = {
6923
6803
  showPassword: "Show password",
6924
6804
  hidePassword: "Hide password"
6925
- }, Oa = {
6805
+ }, Ea = {
6926
6806
  showPassword: "Passwort anzeigen",
6927
6807
  hidePassword: "Passwort verbergen"
6928
- }, ka = (e) => {
6929
- let t = (0, Q.c)(58), n, r, i, a, o, s, l, u, d, f, p, m;
6930
- t[0] === e ? (n = t[1], r = t[2], i = t[3], a = t[4], o = t[5], s = t[6], l = t[7], u = t[8], d = t[9], f = t[10], p = t[11], m = t[12]) : ({label: l, 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] = l, t[8] = u, t[9] = d, t[10] = f, t[11] = p, t[12] = m);
6931
- let [h, g] = c(!1), _;
6808
+ }, Da = (e) => {
6809
+ let t = (0, X.c)(58), n, r, i, a, o, s, c, u, d, f, p, m;
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);
6811
+ let [h, g] = l(!1), _;
6932
6812
  t[13] === Symbol.for("react.memo_cache_sentinel") ? (_ = {
6933
- en: Da,
6934
- de: Oa
6813
+ en: Ta,
6814
+ de: Ea
6935
6815
  }, t[13] = _) : _ = t[13];
6936
- let { t: y } = Mr(_), x;
6937
- t[14] !== d || t[15] !== f ? (x = (e) => {
6816
+ let { t: v } = $(_), b;
6817
+ t[14] !== d || t[15] !== f ? (b = (e) => {
6938
6818
  d?.(e), f?.(e);
6939
- }, t[14] = d, t[15] = f, t[16] = x) : x = t[16];
6940
- let S = x, C;
6941
- t[17] === l ? C = t[18] : (C = l && /* @__PURE__ */ Y(N, { children: l }), t[17] = l, t[18] = C);
6819
+ }, t[14] = d, t[15] = f, t[16] = b) : b = t[16];
6820
+ let S = b, C;
6821
+ t[17] === c ? C = t[18] : (C = c && /* @__PURE__ */ q(ee, { children: c }), t[17] = c, t[18] = C);
6942
6822
  let w = h ? "text" : "password", T;
6943
- t[19] !== n || t[20] !== r || t[21] !== s || t[22] !== u || t[23] !== p || t[24] !== m || t[25] !== w ? (T = /* @__PURE__ */ Y(M.Input, {
6823
+ t[19] !== n || t[20] !== r || t[21] !== s || t[22] !== u || t[23] !== p || t[24] !== m || t[25] !== w ? (T = /* @__PURE__ */ q(N.Input, {
6944
6824
  type: w,
6945
6825
  id: s,
6946
6826
  name: u,
@@ -6950,48 +6830,48 @@ var Da = {
6950
6830
  "data-cy": r
6951
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];
6952
6832
  let E;
6953
- t[27] === Symbol.for("react.memo_cache_sentinel") ? (E = () => g(Aa), t[27] = E) : E = t[27];
6833
+ t[27] === Symbol.for("react.memo_cache_sentinel") ? (E = () => g(Oa), t[27] = E) : E = t[27];
6954
6834
  let D;
6955
- t[28] !== h || t[29] !== y ? (D = y(h ? "hidePassword" : "showPassword"), t[28] = h, t[29] = y, t[30] = D) : D = t[30];
6835
+ t[28] !== h || t[29] !== v ? (D = v(h ? "hidePassword" : "showPassword"), t[28] = h, t[29] = v, t[30] = D) : D = t[30];
6956
6836
  let O;
6957
- t[31] === h ? O = t[32] : (O = Y(h ? Se : xe, { size: 16 }), t[31] = h, t[32] = O);
6958
- let A;
6959
- t[33] !== D || t[34] !== O ? (A = /* @__PURE__ */ Y(pe.Trigger, { children: /* @__PURE__ */ Y(v, {
6837
+ t[31] === h ? O = t[32] : (O = q(h ? Te : we, { size: 16 }), t[31] = h, t[32] = O);
6838
+ let k;
6839
+ t[33] !== D || t[34] !== O ? (k = /* @__PURE__ */ q(ge.Trigger, { children: /* @__PURE__ */ q(y, {
6960
6840
  variant: "ghost",
6961
6841
  isIconOnly: !0,
6962
6842
  onPress: E,
6963
6843
  "aria-label": D,
6964
6844
  "data-cy": "password-input-toggle-button",
6965
6845
  children: O
6966
- }) }), t[33] = D, t[34] = O, t[35] = A) : A = t[35];
6846
+ }) }), t[33] = D, t[34] = O, t[35] = k) : k = t[35];
6967
6847
  let j;
6968
- t[36] !== h || t[37] !== y ? (j = y(h ? "hidePassword" : "showPassword"), t[36] = h, t[37] = y, t[38] = j) : j = t[38];
6848
+ t[36] !== h || t[37] !== v ? (j = v(h ? "hidePassword" : "showPassword"), t[36] = h, t[37] = v, t[38] = j) : j = t[38];
6849
+ let M;
6850
+ t[39] === j ? M = t[40] : (M = /* @__PURE__ */ q(ge.Content, { children: j }), t[39] = j, t[40] = M);
6969
6851
  let P;
6970
- t[39] === j ? P = t[40] : (P = /* @__PURE__ */ Y(pe.Content, { children: j }), t[39] = j, t[40] = P);
6852
+ t[41] !== M || t[42] !== k ? (P = /* @__PURE__ */ q(N.Suffix, { children: /* @__PURE__ */ J(ge, { children: [k, M] }) }), t[41] = M, t[42] = k, t[43] = P) : P = t[43];
6971
6853
  let F;
6972
- t[41] !== P || t[42] !== A ? (F = /* @__PURE__ */ Y(M.Suffix, { children: /* @__PURE__ */ X(pe, { children: [A, P] }) }), t[41] = P, t[42] = A, t[43] = F) : F = t[43];
6854
+ t[44] !== P || t[45] !== T ? (F = /* @__PURE__ */ J(N, { children: [T, P] }), t[44] = P, t[45] = T, t[46] = F) : F = t[46];
6973
6855
  let I;
6974
- t[44] !== F || t[45] !== T ? (I = /* @__PURE__ */ X(M, { children: [T, F] }), t[44] = F, t[45] = T, t[46] = I) : I = t[46];
6856
+ t[47] === i ? I = t[48] : (I = i && /* @__PURE__ */ q(x, { children: i }), t[47] = i, t[48] = I);
6975
6857
  let L;
6976
- t[47] === i ? L = t[48] : (L = i && /* @__PURE__ */ Y(b, { children: i }), t[47] = i, t[48] = L);
6858
+ t[49] === a ? L = t[50] : (L = a && /* @__PURE__ */ q(A, { children: a }), t[49] = a, t[50] = L);
6977
6859
  let R;
6978
- t[49] === a ? R = t[50] : (R = a && /* @__PURE__ */ Y(k, { children: a }), t[49] = a, t[50] = R);
6979
- let z;
6980
- return t[51] !== o || t[52] !== S || t[53] !== I || t[54] !== L || t[55] !== R || t[56] !== C ? (z = /* @__PURE__ */ X(fe, {
6860
+ return t[51] !== o || t[52] !== S || t[53] !== F || t[54] !== I || t[55] !== L || t[56] !== C ? (R = /* @__PURE__ */ J(he, {
6981
6861
  ...o,
6982
6862
  onChange: S,
6983
6863
  children: [
6984
6864
  C,
6865
+ F,
6985
6866
  I,
6986
- L,
6987
- R
6867
+ L
6988
6868
  ]
6989
- }), t[51] = o, t[52] = S, t[53] = I, t[54] = L, t[55] = R, t[56] = C, t[57] = z) : z = t[57], z;
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;
6990
6870
  };
6991
- function Aa(e) {
6871
+ function Oa(e) {
6992
6872
  return !e;
6993
6873
  }
6994
- var ja = {
6874
+ var ka = {
6995
6875
  add: "Add",
6996
6876
  remove: "Remove",
6997
6877
  empty: "Enter a value.",
@@ -7000,7 +6880,7 @@ var ja = {
7000
6880
  control: "Values cannot contain control characters.",
7001
6881
  tooLong: "Values can be at most {{max}} characters long.",
7002
6882
  limitReached: "The list can have at most {{max}} entries."
7003
- }, Ma = {
6883
+ }, Aa = {
7004
6884
  add: "Hinzufügen",
7005
6885
  remove: "Entfernen",
7006
6886
  empty: "Bitte einen Wert eingeben.",
@@ -7009,119 +6889,114 @@ var ja = {
7009
6889
  control: "Werte dürfen keine Steuerzeichen enthalten.",
7010
6890
  tooLong: "Werte dürfen höchstens {{max}} Zeichen lang sein.",
7011
6891
  limitReached: "Die Liste darf höchstens {{max}} Einträge haben."
7012
- }, Na = /[\u0000-\u001f\u007f]/;
7013
- function Pa(e, t, { maxEntries: n, maxLength: r } = {}) {
7014
- return n !== void 0 && t.length >= n ? "limitReached" : e.length === 0 ? "empty" : e.includes(",") ? "comma" : Na.test(e) ? "control" : r !== void 0 && e.length > r ? "tooLong" : t.includes(e) ? "duplicate" : null;
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;
7015
6895
  }
7016
- var Fa = (e) => {
7017
- let t = (0, Q.c)(66), { label: n, description: r, values: i, onChange: a, placeholder: o, emptyHint: l, maxEntries: u, maxLength: d, isDisabled: f, "data-cy": p } = e, m;
6896
+ var Na = (e) => {
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;
7018
6898
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (m = {
7019
- en: ja,
7020
- de: Ma
6899
+ en: ka,
6900
+ de: Aa
7021
6901
  }, t[0] = m) : m = t[0];
7022
- let { t: h } = Mr(m), [g, _] = c(""), [y, x] = c(null), S = s(null), C = s(null), w = u !== void 0 && i.length >= u, T;
7023
- t[1] !== l || t[2] !== y || t[3] !== w || t[4] !== u || t[5] !== h || t[6] !== i.length ? (T = w ? y ? null : h("limitReached", { max: u }) : i.length === 0 ? l : null, t[1] = l, t[2] = y, t[3] = w, t[4] = u, t[5] = h, t[6] = i.length, t[7] = T) : T = t[7];
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;
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];
7024
6904
  let E = T, D;
7025
6905
  t[8] !== g || t[9] !== u || t[10] !== d || t[11] !== a || t[12] !== i ? (D = () => {
7026
- let e = g.trim(), t = Pa(e, i, {
6906
+ let e = g.trim(), t = Ma(e, i, {
7027
6907
  maxEntries: u,
7028
6908
  maxLength: d
7029
6909
  });
7030
- if (t) {
7031
- x(t);
7032
- return;
7033
- }
7034
- a([...i, e]), _(""), x(null);
6910
+ t ? b(t) : (a([...i, e]), _(""), b(null));
7035
6911
  }, t[8] = g, t[9] = u, t[10] = d, t[11] = a, t[12] = i, t[13] = D) : D = t[13];
7036
- let O = D, A;
7037
- t[14] !== a || t[15] !== i ? (A = (e) => {
6912
+ let O = D, k;
6913
+ t[14] !== a || t[15] !== i ? (k = (e) => {
7038
6914
  let t = i.filter((t, n) => !e.has(String(n)));
7039
- a(t), x(null), t.length === 0 && S.current?.focus();
7040
- }, t[14] = a, t[15] = i, t[16] = A) : A = t[16];
7041
- let M = A, P = p ? `${p}-list` : void 0, F;
7042
- t[17] === Symbol.for("react.memo_cache_sentinel") ? (F = (e) => {
7043
- _(e), x(null);
7044
- }, t[17] = F) : F = t[17];
7045
- let I = y !== null, L;
7046
- t[18] === n ? L = t[19] : (L = /* @__PURE__ */ Y(N, { children: n }), t[18] = n, t[19] = L);
6915
+ a(t), b(null), t.length === 0 && S.current?.focus();
6916
+ }, t[14] = a, t[15] = i, t[16] = k) : k = t[16];
6917
+ let j = k, N = p ? `${p}-list` : void 0, P;
6918
+ t[17] === Symbol.for("react.memo_cache_sentinel") ? (P = (e) => {
6919
+ _(e), b(null);
6920
+ }, t[17] = P) : P = t[17];
6921
+ let F = v !== null, I;
6922
+ t[18] === n ? I = t[19] : (I = /* @__PURE__ */ q(ee, { children: n }), t[18] = n, t[19] = I);
6923
+ let L;
6924
+ t[20] !== O || t[21] !== g ? (L = (e) => {
6925
+ g.trim() && document.hasFocus() && !C.current?.contains(e.relatedTarget) && O();
6926
+ }, t[20] = O, t[21] = g, t[22] = L) : L = t[22];
7047
6927
  let R;
7048
- t[20] !== O || t[21] !== g ? (R = (e) => {
7049
- !g.trim() || !document.hasFocus() || C.current?.contains(e.relatedTarget) || O();
7050
- }, t[20] = O, t[21] = g, t[22] = R) : R = t[22];
7051
- let z;
7052
- t[23] === O ? z = t[24] : (z = (e) => {
6928
+ t[23] === O ? R = t[24] : (R = (e) => {
7053
6929
  e.key !== "Enter" || e.nativeEvent.isComposing || (e.preventDefault(), O());
7054
- }, t[23] = O, t[24] = z);
7055
- let B;
7056
- t[25] !== p || t[26] !== o || t[27] !== z ? (B = /* @__PURE__ */ Y(j, {
6930
+ }, t[23] = O, t[24] = R);
6931
+ let te;
6932
+ t[25] !== p || t[26] !== o || t[27] !== R ? (te = /* @__PURE__ */ q(M, {
7057
6933
  ref: S,
7058
6934
  className: "flex-1",
7059
6935
  placeholder: o,
7060
6936
  "data-cy": p,
7061
- onKeyDown: z
7062
- }), t[25] = p, t[26] = o, t[27] = z, t[28] = B) : B = t[28];
7063
- let V = f || w, ee = p && `${p}-add`, H;
7064
- t[29] === h ? H = t[30] : (H = h("add"), t[29] = h, t[30] = H);
7065
- let U;
7066
- t[31] !== O || t[32] !== V || t[33] !== ee || t[34] !== H ? (U = /* @__PURE__ */ Y(v, {
6937
+ onKeyDown: R
6938
+ }), t[25] = p, t[26] = o, t[27] = R, t[28] = te) : te = t[28];
6939
+ let z = f || w, ne = p && `${p}-add`, B;
6940
+ t[29] === h ? B = t[30] : (B = h("add"), t[29] = h, t[30] = B);
6941
+ let V;
6942
+ t[31] !== O || t[32] !== z || t[33] !== ne || t[34] !== B ? (V = /* @__PURE__ */ q(y, {
7067
6943
  variant: "secondary",
7068
6944
  onPress: O,
7069
- isDisabled: V,
7070
- "data-cy": ee,
7071
- children: H
7072
- }), t[31] = O, t[32] = V, t[33] = ee, t[34] = H, t[35] = U) : U = t[35];
7073
- let W;
7074
- t[36] !== B || t[37] !== U || t[38] !== R ? (W = /* @__PURE__ */ X("div", {
6945
+ isDisabled: z,
6946
+ "data-cy": ne,
6947
+ children: B
6948
+ }), t[31] = O, t[32] = z, t[33] = ne, t[34] = B, t[35] = V) : V = t[35];
6949
+ let H;
6950
+ t[36] !== te || t[37] !== V || t[38] !== L ? (H = /* @__PURE__ */ J("div", {
7075
6951
  ref: C,
7076
6952
  className: "flex gap-2",
7077
- onBlur: R,
7078
- children: [B, U]
7079
- }), t[36] = B, t[37] = U, t[38] = R, t[39] = W) : W = t[39];
7080
- let G;
7081
- t[40] !== r || t[41] !== E ? (G = (r || E) && /* @__PURE__ */ X(b, { children: [r, E && /* @__PURE__ */ Y("span", {
6953
+ onBlur: L,
6954
+ children: [te, V]
6955
+ }), t[36] = te, t[37] = V, t[38] = L, t[39] = H) : H = t[39];
6956
+ let U;
6957
+ t[40] !== r || t[41] !== E ? (U = (r || E) && /* @__PURE__ */ J(x, { children: [r, E && /* @__PURE__ */ q("span", {
7082
6958
  className: "block",
7083
6959
  children: E
7084
- })] }), t[40] = r, t[41] = E, t[42] = G) : G = t[42];
7085
- let K;
7086
- t[43] !== y || t[44] !== u || t[45] !== d || t[46] !== h ? (K = y && /* @__PURE__ */ Y(k, { children: h(y, { max: y === "tooLong" ? d : u }) }), t[43] = y, t[44] = u, t[45] = d, t[46] = h, t[47] = K) : K = t[47];
7087
- let q;
7088
- t[48] !== g || t[49] !== f || t[50] !== W || t[51] !== G || t[52] !== K || t[53] !== I || t[54] !== L ? (q = /* @__PURE__ */ X(fe, {
6960
+ })] }), t[40] = r, t[41] = E, t[42] = U) : U = t[42];
6961
+ let W;
6962
+ t[43] !== v || t[44] !== u || t[45] !== d || t[46] !== h ? (W = v && /* @__PURE__ */ q(A, { children: h(v, { max: v === "tooLong" ? d : u }) }), t[43] = v, t[44] = u, t[45] = d, t[46] = h, t[47] = W) : W = t[47];
6963
+ let G;
6964
+ t[48] !== g || t[49] !== f || t[50] !== H || t[51] !== U || t[52] !== W || t[53] !== F || t[54] !== I ? (G = /* @__PURE__ */ J(he, {
7089
6965
  value: g,
7090
- onChange: F,
6966
+ onChange: P,
7091
6967
  isDisabled: f,
7092
- isInvalid: I,
6968
+ isInvalid: F,
7093
6969
  validationBehavior: "aria",
7094
6970
  children: [
7095
- L,
7096
- W,
7097
- G,
7098
- K
6971
+ I,
6972
+ H,
6973
+ U,
6974
+ W
7099
6975
  ]
7100
- }), t[48] = g, t[49] = f, t[50] = W, t[51] = G, t[52] = K, t[53] = I, t[54] = L, t[55] = q) : q = t[55];
7101
- let te;
7102
- t[56] !== f || t[57] !== n || t[58] !== M || t[59] !== h || t[60] !== i ? (te = i.length > 0 && /* @__PURE__ */ Y(de, {
6976
+ }), t[48] = g, t[49] = f, t[50] = H, t[51] = U, t[52] = W, t[53] = F, t[54] = I, t[55] = G) : G = t[55];
6977
+ let K;
6978
+ t[56] !== f || t[57] !== n || t[58] !== j || t[59] !== h || t[60] !== i ? (K = i.length > 0 && /* @__PURE__ */ q(me, {
7103
6979
  size: "sm",
7104
6980
  "aria-label": n,
7105
- onRemove: f ? void 0 : M,
7106
- children: /* @__PURE__ */ Y(de.List, { children: i.map((e, t) => /* @__PURE__ */ Y(ue, {
6981
+ onRemove: f ? void 0 : j,
6982
+ children: /* @__PURE__ */ q(me.List, { children: i.map((e, t) => /* @__PURE__ */ q(pe, {
7107
6983
  id: String(t),
7108
6984
  textValue: e,
7109
6985
  className: "max-w-full",
7110
- children: (t) => /* @__PURE__ */ X(Ae, { children: [/* @__PURE__ */ Y("span", {
6986
+ children: (t) => /* @__PURE__ */ J(Ne, { children: [/* @__PURE__ */ q("span", {
7111
6987
  className: "min-w-0 break-all",
7112
6988
  children: e
7113
- }), t.allowsRemoving ? /* @__PURE__ */ Y(ue.RemoveButton, {
6989
+ }), t.allowsRemoving ? /* @__PURE__ */ q(pe.RemoveButton, {
7114
6990
  "aria-label": h("remove"),
7115
6991
  className: "shrink-0"
7116
6992
  }) : null] })
7117
6993
  }, t)) })
7118
- }), t[56] = f, t[57] = n, t[58] = M, t[59] = h, t[60] = i, t[61] = te) : te = t[61];
7119
- let J;
7120
- return t[62] !== q || t[63] !== te || t[64] !== P ? (J = /* @__PURE__ */ X("div", {
6994
+ }), t[56] = f, t[57] = n, t[58] = j, t[59] = h, t[60] = i, t[61] = K) : K = t[61];
6995
+ let re;
6996
+ return t[62] !== G || t[63] !== K || t[64] !== N ? (re = /* @__PURE__ */ J("div", {
7121
6997
  className: "flex flex-col gap-2",
7122
- "data-cy": P,
7123
- children: [q, te]
7124
- }), t[62] = q, t[63] = te, t[64] = P, t[65] = J) : J = t[65], J;
6998
+ "data-cy": N,
6999
+ children: [G, K]
7000
+ }), t[62] = G, t[63] = K, t[64] = N, t[65] = re) : re = t[65], re;
7125
7001
  };
7126
- //#endregion
7127
- export { Zi as AlertStatusIcon, mi as AttraccessUser, ui as AttraccessUserActionsProvider, sa as Button, Ti as DateTimeDisplay, ha as DeleteConfirmationModal, Ei as DurationDisplay, Qi as EmptyState, Ar as I18N_LANGUAGE_STORAGE_KEY, Yi as I18nTransComponent, $i as LabeledSwitch, Vi as ListboxWrapper, Ta as PageHeader, ba as PageHeaderActions, ka as PasswordInput, Hi as ResourceSelector, aa as StandardDrawer, Oi as StandardModal, oa as StatusAlert, fa as StatusDialog, Fa as StringListField, na as TableDataLoadingIndicator, Ri as UserSearch, Fr as detectAndSetLanguage, Pr as detectLanguage, Nr as detectPreferredLanguage, di as useAttraccessUserActions, yi as useDateTimeFormatter, _i as useDateTimeLocale, gi as useDateTimePreferences, hi as useDebounce, bi as useFormatDateTime, wi as useFormatNumber, xi as useFormatedDuration, Ci as useNumberFormatter, jr as useTranslationState, Mr as useTranslations, Si as useUrlQuery, Pa as validateStringListEntry };
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 };