@oardi/ts-utils 0.0.53 → 0.0.55

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.
Files changed (84) hide show
  1. package/LICENSE +21 -0
  2. package/extensions/array-extensions.d.ts +0 -1
  3. package/extensions/date-extensions.d.ts +0 -1
  4. package/extensions/index.d.ts +0 -1
  5. package/extensions/string-extensions.d.ts +0 -1
  6. package/helpers/break-point/break-point.consts.d.ts +0 -1
  7. package/helpers/break-point/break-point.helper.d.ts +0 -1
  8. package/helpers/break-point/break-point.interfaces.d.ts +0 -1
  9. package/helpers/break-point/index.d.ts +0 -1
  10. package/helpers/browser/browser-type.enum.d.ts +0 -1
  11. package/helpers/browser/browser.helper.d.ts +0 -1
  12. package/helpers/browser/index.d.ts +0 -1
  13. package/helpers/canvas.helper.d.ts +0 -1
  14. package/helpers/clipboard.helper.d.ts +0 -1
  15. package/helpers/csv.helper.d.ts +0 -1
  16. package/helpers/download.helper.d.ts +0 -1
  17. package/helpers/enum.helper.d.ts +0 -1
  18. package/helpers/file.helper.d.ts +0 -1
  19. package/helpers/image.helper.d.ts +0 -1
  20. package/helpers/index.d.ts +0 -1
  21. package/helpers/local-storage.helper.d.ts +0 -1
  22. package/helpers/logger/index.d.ts +0 -1
  23. package/helpers/logger/logger-type.enum.d.ts +0 -1
  24. package/helpers/logger/logger.helper.d.ts +0 -1
  25. package/helpers/logger/logger.types.d.ts +0 -1
  26. package/helpers/screen.helper.d.ts +0 -1
  27. package/helpers/sort.helper.d.ts +0 -1
  28. package/helpers/token/index.d.ts +0 -1
  29. package/helpers/token/token-type.enum.d.ts +0 -1
  30. package/helpers/token/token.helper.d.ts +0 -1
  31. package/helpers/window-resize.helper.d.ts +0 -1
  32. package/{index.cjs.js → index.cjs} +3 -3
  33. package/index.d.ts +0 -1
  34. package/{index.es.js → index.mjs} +223 -223
  35. package/index.umd.js +4 -4
  36. package/interfaces/index.d.ts +0 -1
  37. package/interfaces/keyvalue.interface.d.ts +0 -1
  38. package/package.json +26 -7
  39. package/services/browser/browser.service.d.ts +0 -1
  40. package/services/browser/browser.types.d.ts +0 -1
  41. package/services/browser/index.d.ts +0 -1
  42. package/services/index.d.ts +0 -1
  43. package/types/index.d.ts +0 -1
  44. package/extensions/array-extensions.d.ts.map +0 -1
  45. package/extensions/date-extensions.d.ts.map +0 -1
  46. package/extensions/index.d.ts.map +0 -1
  47. package/extensions/string-extensions.d.ts.map +0 -1
  48. package/helpers/break-point/break-point.consts.d.ts.map +0 -1
  49. package/helpers/break-point/break-point.helper.d.ts.map +0 -1
  50. package/helpers/break-point/break-point.interfaces.d.ts.map +0 -1
  51. package/helpers/break-point/index.d.ts.map +0 -1
  52. package/helpers/browser/browser-type.enum.d.ts.map +0 -1
  53. package/helpers/browser/browser.helper.d.ts.map +0 -1
  54. package/helpers/browser/index.d.ts.map +0 -1
  55. package/helpers/canvas.helper.d.ts.map +0 -1
  56. package/helpers/clipboard.helper.d.ts.map +0 -1
  57. package/helpers/csv.helper.d.ts.map +0 -1
  58. package/helpers/download.helper.d.ts.map +0 -1
  59. package/helpers/enum.helper.d.ts.map +0 -1
  60. package/helpers/file.helper.d.ts.map +0 -1
  61. package/helpers/image.helper.d.ts.map +0 -1
  62. package/helpers/index.d.ts.map +0 -1
  63. package/helpers/local-storage.helper.d.ts.map +0 -1
  64. package/helpers/logger/index.d.ts.map +0 -1
  65. package/helpers/logger/logger-type.enum.d.ts.map +0 -1
  66. package/helpers/logger/logger.helper.d.ts.map +0 -1
  67. package/helpers/logger/logger.types.d.ts.map +0 -1
  68. package/helpers/screen.helper.d.ts.map +0 -1
  69. package/helpers/sort.helper.d.ts.map +0 -1
  70. package/helpers/token/index.d.ts.map +0 -1
  71. package/helpers/token/token-type.enum.d.ts.map +0 -1
  72. package/helpers/token/token.helper.d.ts.map +0 -1
  73. package/helpers/window-resize.helper.d.ts.map +0 -1
  74. package/index.d.ts.map +0 -1
  75. package/interfaces/index.d.ts.map +0 -1
  76. package/interfaces/keyvalue.interface.d.ts.map +0 -1
  77. package/services/browser/browser.service.d.ts.map +0 -1
  78. package/services/browser/browser.types.d.ts.map +0 -1
  79. package/services/browser/index.d.ts.map +0 -1
  80. package/services/index.d.ts.map +0 -1
  81. package/types/index.d.ts.map +0 -1
  82. package/vite.config.d.ts +0 -3
  83. package/vite.config.d.ts.map +0 -1
  84. /package/{readme.md → README.md} +0 -0
@@ -7,7 +7,7 @@ const zt = {
7
7
  xxl: 1400,
8
8
  xxxl: 1600
9
9
  };
10
- class St {
10
+ class bt {
11
11
  static getScreenWidth() {
12
12
  return document.documentElement.clientWidth;
13
13
  }
@@ -18,19 +18,19 @@ class St {
18
18
  class ht {
19
19
  static breakPoints = zt;
20
20
  static getCurrentBreakpoint() {
21
- return ht.getBreakpointByScreenWidth(St.getScreenWidth());
21
+ return ht.getBreakpointByScreenWidth(bt.getScreenWidth());
22
22
  }
23
- static getBreakpointByScreenWidth(t = St.getScreenWidth()) {
23
+ static getBreakpointByScreenWidth(t = bt.getScreenWidth()) {
24
24
  let n = "xs";
25
25
  for (const a of Object.keys(ht.breakPoints))
26
26
  ht.breakPoints[a] <= t && (n = a);
27
27
  return { breakpoint: n, screenWidth: t };
28
28
  }
29
29
  static isScreenGreaterThan(t) {
30
- return St.getScreenWidth() > ht.breakPoints[t];
30
+ return bt.getScreenWidth() > ht.breakPoints[t];
31
31
  }
32
32
  static isScreenSmallerThan(t) {
33
- return St.getScreenWidth() < ht.breakPoints[t];
33
+ return bt.getScreenWidth() < ht.breakPoints[t];
34
34
  }
35
35
  }
36
36
  var tt = /* @__PURE__ */ ((s) => (s.opera = "opera", s.firefox = "firefox", s.safari = "safari", s.ie = "ie", s.edgeLegacy = "edgeLegacy", s.edg = "edg", s.chrome = "chrome", s.iOS = "iOS", s.headlessChrome = "headlessChrome", s.nodeRuntime = "nodeRuntime", s.electron = "electron", s))(tt || {});
@@ -48,8 +48,8 @@ class et {
48
48
  }
49
49
  static isSafari(t = ft) {
50
50
  if (!this.isBrowserEnv()) return !1;
51
- const n = navigator.vendor && navigator.vendor.includes("Apple"), a = t.includes("safari"), _ = !(t.includes("crios") || t.includes("chrome") || t.includes("android") || t.includes("opr/") || t.includes("edg"));
52
- return n && a && _;
51
+ const n = navigator.vendor && navigator.vendor.includes("Apple"), a = t.includes("safari"), k = !(t.includes("crios") || t.includes("chrome") || t.includes("android") || t.includes("opr/") || t.includes("edg"));
52
+ return n && a && k;
53
53
  }
54
54
  static isIOS(t = ft) {
55
55
  if (!this.isBrowserEnv()) return !1;
@@ -67,8 +67,8 @@ class et {
67
67
  }
68
68
  static isChrome(t = ft) {
69
69
  if (!this.isBrowserEnv()) return !1;
70
- const n = navigator.vendor && navigator.vendor.includes("Google"), a = t.includes("chrome") || t.includes("crios"), _ = !this.isEdg(t) && !this.isOpera(t);
71
- return n && a && _;
70
+ const n = navigator.vendor && navigator.vendor.includes("Google"), a = t.includes("chrome") || t.includes("crios"), k = !this.isEdg(t) && !this.isOpera(t);
71
+ return n && a && k;
72
72
  }
73
73
  static isElectron(t = ft) {
74
74
  return typeof process < "u" && process.versions?.electron ? !0 : t.includes("electron");
@@ -100,20 +100,20 @@ class et {
100
100
  throw new Error("Browser could not be detected: " + t);
101
101
  }
102
102
  }
103
- function le(s) {
103
+ function de(s) {
104
104
  return navigator.clipboard.writeText(s);
105
105
  }
106
- function Mt(s) {
106
+ function Dt(s) {
107
107
  return s && s.__esModule && Object.prototype.hasOwnProperty.call(s, "default") ? s.default : s;
108
108
  }
109
- var Et = { exports: {} };
110
- var Yt = Et.exports, Tt;
109
+ var St = { exports: {} };
110
+ var Yt = St.exports, Tt;
111
111
  function Pt() {
112
112
  return Tt || (Tt = 1, (function(s, t) {
113
113
  ((n, a) => {
114
114
  s.exports = a();
115
115
  })(Yt, function n() {
116
- var a = typeof self < "u" ? self : typeof window < "u" ? window : a !== void 0 ? a : {}, _, D = !a.document && !!a.postMessage, T = a.IS_PAPA_WORKER || !1, P = {}, q = 0, p = {};
116
+ var a = typeof self < "u" ? self : typeof window < "u" ? window : a !== void 0 ? a : {}, k, D = !a.document && !!a.postMessage, T = a.IS_PAPA_WORKER || !1, P = {}, q = 0, p = {};
117
117
  function U(e) {
118
118
  this._handle = null, this._finished = !1, this._completed = !1, this._halted = !1, this._input = null, this._baseIndex = 0, this._partialLine = "", this._rowCount = 0, this._start = 0, this._nextChunk = null, this.isFirstChunk = !0, this._completeResults = { data: [], errors: [], meta: {} }, (function(r) {
119
119
  var i = ut(r);
@@ -222,28 +222,28 @@ function Pt() {
222
222
  }, this);
223
223
  }
224
224
  function rt(e) {
225
- var r, i, u, m, S = Math.pow(2, 53), y = -S, l = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, d = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, o = this, c = 0, f = 0, v = !1, g = !1, w = [], h = { data: [], errors: [], meta: {} };
225
+ var r, i, u, m, S = Math.pow(2, 53), y = -S, d = /^\s*-?(\d+\.?|\.\d+|\d+\.\d+)([eE][-+]?\d+)?\s*$/, l = /^((\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d\.\d+([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z))|(\d{4}-[01]\d-[0-3]\dT[0-2]\d:[0-5]\d([+-][0-2]\d:[0-5]\d|Z)))$/, o = this, c = 0, f = 0, v = !1, g = !1, w = [], h = { data: [], errors: [], meta: {} };
226
226
  function M(b) {
227
227
  return e.skipEmptyLines === "greedy" ? b.join("").trim() === "" : b.length === 1 && b[0].length === 0;
228
228
  }
229
229
  function C() {
230
- if (h && u && (N("Delimiter", "UndetectableDelimiter", "Unable to auto-detect delimiting character; defaulted to '" + p.DefaultDelimiter + "'"), u = !1), e.skipEmptyLines && (h.data = h.data.filter(function(k) {
231
- return !M(k);
230
+ if (h && u && (N("Delimiter", "UndetectableDelimiter", "Unable to auto-detect delimiting character; defaulted to '" + p.DefaultDelimiter + "'"), u = !1), e.skipEmptyLines && (h.data = h.data.filter(function(_) {
231
+ return !M(_);
232
232
  })), j()) {
233
- let k = function(I, Y) {
233
+ let _ = function(I, Y) {
234
234
  R(e.transformHeader) && (I = e.transformHeader(I, Y)), w.push(I);
235
235
  };
236
236
  if (h) if (Array.isArray(h.data[0])) {
237
- for (var b = 0; j() && b < h.data.length; b++) h.data[b].forEach(k);
237
+ for (var b = 0; j() && b < h.data.length; b++) h.data[b].forEach(_);
238
238
  h.data.splice(0, 1);
239
- } else h.data.forEach(k);
239
+ } else h.data.forEach(_);
240
240
  }
241
- function x(k, I) {
242
- for (var Y = e.header ? {} : [], A = 0; A < k.length; A++) {
243
- var L = A, $ = k[A], $ = ((nt, E) => ((W) => (e.dynamicTypingFunction && e.dynamicTyping[W] === void 0 && (e.dynamicTyping[W] = e.dynamicTypingFunction(W)), (e.dynamicTyping[W] || e.dynamicTyping) === !0))(nt) ? E === "true" || E === "TRUE" || E !== "false" && E !== "FALSE" && (((W) => {
244
- if (l.test(W) && (W = parseFloat(W), y < W && W < S))
241
+ function x(_, I) {
242
+ for (var Y = e.header ? {} : [], A = 0; A < _.length; A++) {
243
+ var L = A, $ = _[A], $ = ((nt, E) => ((W) => (e.dynamicTypingFunction && e.dynamicTyping[W] === void 0 && (e.dynamicTyping[W] = e.dynamicTypingFunction(W)), (e.dynamicTyping[W] || e.dynamicTyping) === !0))(nt) ? E === "true" || E === "TRUE" || E !== "false" && E !== "FALSE" && (((W) => {
244
+ if (d.test(W) && (W = parseFloat(W), y < W && W < S))
245
245
  return 1;
246
- })(E) ? parseFloat(E) : d.test(E) ? new Date(E) : E === "" ? null : E) : E)(L = e.header ? A >= w.length ? "__parsed_extra" : w[A] : L, $ = e.transform ? e.transform($, L) : $);
246
+ })(E) ? parseFloat(E) : l.test(E) ? new Date(E) : E === "" ? null : E) : E)(L = e.header ? A >= w.length ? "__parsed_extra" : w[A] : L, $ = e.transform ? e.transform($, L) : $);
247
247
  L === "__parsed_extra" ? (Y[L] = Y[L] || [], Y[L].push($)) : Y[L] = $;
248
248
  }
249
249
  return e.header && (A > w.length ? N("FieldMismatch", "TooManyFields", "Too many fields: expected " + w.length + " fields but parsed " + A, f + I) : A < w.length && N("FieldMismatch", "TooFewFields", "Too few fields: expected " + w.length + " fields but parsed " + A, f + I)), Y;
@@ -254,22 +254,22 @@ function Pt() {
254
254
  function j() {
255
255
  return e.header && w.length === 0;
256
256
  }
257
- function N(b, x, O, k) {
258
- b = { type: b, code: x, message: O }, k !== void 0 && (b.row = k), h.errors.push(b);
257
+ function N(b, x, O, _) {
258
+ b = { type: b, code: x, message: O }, _ !== void 0 && (b.row = _), h.errors.push(b);
259
259
  }
260
260
  R(e.step) && (m = e.step, e.step = function(b) {
261
261
  h = b, j() ? C() : (C(), h.data.length !== 0 && (c += b.data.length, e.preview && c > e.preview ? i.abort() : (h.data = h.data[0], m(h, o))));
262
262
  }), this.parse = function(b, x, O) {
263
- var k = e.quoteChar || '"', k = (e.newline || (e.newline = this.guessLineEndings(b, k)), u = !1, e.delimiter ? R(e.delimiter) && (e.delimiter = e.delimiter(b), h.meta.delimiter = e.delimiter) : ((k = ((I, Y, A, L, $) => {
264
- var nt, E, W, lt;
263
+ var _ = e.quoteChar || '"', _ = (e.newline || (e.newline = this.guessLineEndings(b, _)), u = !1, e.delimiter ? R(e.delimiter) && (e.delimiter = e.delimiter(b), h.meta.delimiter = e.delimiter) : ((_ = ((I, Y, A, L, $) => {
264
+ var nt, E, W, dt;
265
265
  $ = $ || [",", " ", "|", ";", p.RECORD_SEP, p.UNIT_SEP];
266
266
  for (var gt = 0; gt < $.length; gt++) {
267
267
  for (var it, wt = $[gt], V = 0, st = 0, K = 0, H = (W = void 0, new pt({ comments: L, delimiter: wt, newline: Y, preview: 10 }).parse(I)), ct = 0; ct < H.data.length; ct++) A && M(H.data[ct]) ? K++ : (it = H.data[ct].length, st += it, W === void 0 ? W = it : 0 < it && (V += Math.abs(it - W), W = it));
268
- 0 < H.data.length && (st /= H.data.length - K), (E === void 0 || V <= E) && (lt === void 0 || lt < st) && 1.99 < st && (E = V, nt = wt, lt = st);
268
+ 0 < H.data.length && (st /= H.data.length - K), (E === void 0 || V <= E) && (dt === void 0 || dt < st) && 1.99 < st && (E = V, nt = wt, dt = st);
269
269
  }
270
270
  return { successful: !!(e.delimiter = nt), bestDelimiter: nt };
271
- })(b, e.newline, e.skipEmptyLines, e.comments, e.delimitersToGuess)).successful ? e.delimiter = k.bestDelimiter : (u = !0, e.delimiter = p.DefaultDelimiter), h.meta.delimiter = e.delimiter), ut(e));
272
- return e.preview && e.header && k.preview++, r = b, i = new pt(k), h = i.parse(r, x, O), C(), v ? { meta: { paused: !0 } } : h || { meta: { paused: !1 } };
271
+ })(b, e.newline, e.skipEmptyLines, e.comments, e.delimitersToGuess)).successful ? e.delimiter = _.bestDelimiter : (u = !0, e.delimiter = p.DefaultDelimiter), h.meta.delimiter = e.delimiter), ut(e));
272
+ return e.preview && e.header && _.preview++, r = b, i = new pt(_), h = i.parse(r, x, O), C(), v ? { meta: { paused: !0 } } : h || { meta: { paused: !1 } };
273
273
  }, this.paused = function() {
274
274
  return v;
275
275
  }, this.pause = function() {
@@ -280,10 +280,10 @@ function Pt() {
280
280
  return g;
281
281
  }, this.abort = function() {
282
282
  g = !0, i.abort(), h.meta.aborted = !0, R(e.complete) && e.complete(h), r = "";
283
- }, this.guessLineEndings = function(I, k) {
283
+ }, this.guessLineEndings = function(I, _) {
284
284
  I = I.substring(0, 1048576);
285
- var k = new RegExp(ot(k) + "([^]*?)" + ot(k), "gm"), O = (I = I.replace(k, "")).split("\r"), k = I.split(`
286
- `), I = 1 < k.length && k[0].length < O[0].length;
285
+ var _ = new RegExp(ot(_) + "([^]*?)" + ot(_), "gm"), O = (I = I.replace(_, "")).split("\r"), _ = I.split(`
286
+ `), I = 1 < _.length && _[0].length < O[0].length;
287
287
  if (O.length === 1 || I) return `
288
288
  `;
289
289
  for (var Y = 0, A = 0; A < O.length; A++) O[A][0] === `
@@ -296,7 +296,7 @@ function Pt() {
296
296
  return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
297
297
  }
298
298
  function pt(e) {
299
- var r = (e = e || {}).delimiter, i = e.newline, u = e.comments, m = e.step, S = e.preview, y = e.fastMode, l = null, d = !1, o = e.quoteChar == null ? '"' : e.quoteChar, c = o;
299
+ var r = (e = e || {}).delimiter, i = e.newline, u = e.comments, m = e.step, S = e.preview, y = e.fastMode, d = null, l = !1, o = e.quoteChar == null ? '"' : e.quoteChar, c = o;
300
300
  if (e.escapeChar !== void 0 && (c = e.escapeChar), (typeof r != "string" || -1 < p.BAD_DELIMITERS.indexOf(r)) && (r = ","), u === r) throw new Error("Comment character same as delimiter");
301
301
  u === !0 ? u = "#" : (typeof u != "string" || -1 < p.BAD_DELIMITERS.indexOf(u)) && (u = !1), i !== `
302
302
  ` && i !== "\r" && i !== `\r
@@ -305,16 +305,16 @@ function Pt() {
305
305
  var f = 0, v = !1;
306
306
  this.parse = function(g, w, h) {
307
307
  if (typeof g != "string") throw new Error("Input must be a string");
308
- var M = g.length, C = r.length, j = i.length, N = u.length, b = R(m), x = [], O = [], k = [], I = f = 0;
308
+ var M = g.length, C = r.length, j = i.length, N = u.length, b = R(m), x = [], O = [], _ = [], I = f = 0;
309
309
  if (!g) return V();
310
310
  if (y || y !== !1 && g.indexOf(o) === -1) {
311
311
  for (var Y = g.split(i), A = 0; A < Y.length; A++) {
312
- if (k = Y[A], f += k.length, A !== Y.length - 1) f += i.length;
312
+ if (_ = Y[A], f += _.length, A !== Y.length - 1) f += i.length;
313
313
  else if (h) return V();
314
- if (!u || k.substring(0, N) !== u) {
314
+ if (!u || _.substring(0, N) !== u) {
315
315
  if (b) {
316
- if (x = [], lt(k.split(r)), st(), v) return V();
317
- } else lt(k.split(r));
316
+ if (x = [], dt(_.split(r)), st(), v) return V();
317
+ } else dt(_.split(r));
318
318
  if (S && S <= A) return x = x.slice(0, S), V(!0);
319
319
  }
320
320
  }
@@ -328,28 +328,28 @@ function Pt() {
328
328
  L !== -1 && L < E + 1 && (L = g.indexOf(r, E + 1));
329
329
  var W = gt(($ = $ !== -1 && $ < E + 1 ? g.indexOf(i, E + 1) : $) === -1 ? L : Math.min(L, $));
330
330
  if (g.substr(E + 1 + W, C) === r) {
331
- k.push(g.substring(f, E).replace(nt, o)), g[f = E + 1 + W + C] !== o && (E = g.indexOf(o, f)), L = g.indexOf(r, f), $ = g.indexOf(i, f);
331
+ _.push(g.substring(f, E).replace(nt, o)), g[f = E + 1 + W + C] !== o && (E = g.indexOf(o, f)), L = g.indexOf(r, f), $ = g.indexOf(i, f);
332
332
  break;
333
333
  }
334
334
  if (W = gt($), g.substring(E + 1 + W, E + 1 + W + j) === i) {
335
- if (k.push(g.substring(f, E).replace(nt, o)), wt(E + 1 + W + j), L = g.indexOf(r, f), E = g.indexOf(o, f), b && (st(), v)) return V();
335
+ if (_.push(g.substring(f, E).replace(nt, o)), wt(E + 1 + W + j), L = g.indexOf(r, f), E = g.indexOf(o, f), b && (st(), v)) return V();
336
336
  if (S && x.length >= S) return V(!0);
337
337
  break;
338
338
  }
339
339
  O.push({ type: "Quotes", code: "InvalidQuotes", message: "Trailing quote on quoted field is malformed", row: x.length, index: f }), E++;
340
340
  }
341
341
  }
342
- else if (u && k.length === 0 && g.substring(f, f + N) === u) {
342
+ else if (u && _.length === 0 && g.substring(f, f + N) === u) {
343
343
  if ($ === -1) return V();
344
344
  f = $ + j, $ = g.indexOf(i, f), L = g.indexOf(r, f);
345
- } else if (L !== -1 && (L < $ || $ === -1)) k.push(g.substring(f, L)), f = L + C, L = g.indexOf(r, f);
345
+ } else if (L !== -1 && (L < $ || $ === -1)) _.push(g.substring(f, L)), f = L + C, L = g.indexOf(r, f);
346
346
  else {
347
347
  if ($ === -1) break;
348
- if (k.push(g.substring(f, $)), wt($ + j), b && (st(), v)) return V();
348
+ if (_.push(g.substring(f, $)), wt($ + j), b && (st(), v)) return V();
349
349
  if (S && x.length >= S) return V(!0);
350
350
  }
351
351
  return it();
352
- function lt(K) {
352
+ function dt(K) {
353
353
  x.push(K), I = f;
354
354
  }
355
355
  function gt(K) {
@@ -357,27 +357,27 @@ function Pt() {
357
357
  return H = K !== -1 && (K = g.substring(E + 1, K)) && K.trim() === "" ? K.length : H;
358
358
  }
359
359
  function it(K) {
360
- return h || (K === void 0 && (K = g.substring(f)), k.push(K), f = M, lt(k), b && st()), V();
360
+ return h || (K === void 0 && (K = g.substring(f)), _.push(K), f = M, dt(_), b && st()), V();
361
361
  }
362
362
  function wt(K) {
363
- f = K, lt(k), k = [], $ = g.indexOf(i, f);
363
+ f = K, dt(_), _ = [], $ = g.indexOf(i, f);
364
364
  }
365
365
  function V(K) {
366
- if (e.header && !w && x.length && !d) {
367
- var H = x[0], ct = /* @__PURE__ */ Object.create(null), $t = new Set(H);
366
+ if (e.header && !w && x.length && !l) {
367
+ var H = x[0], ct = /* @__PURE__ */ Object.create(null), Mt = new Set(H);
368
368
  let Ct = !1;
369
369
  for (let mt = 0; mt < H.length; mt++) {
370
370
  let at = H[mt];
371
371
  if (ct[at = R(e.transformHeader) ? e.transformHeader(at, mt) : at]) {
372
- let kt, Rt = ct[at];
373
- for (; kt = at + "_" + Rt, Rt++, $t.has(kt); ) ;
374
- $t.add(kt), H[mt] = kt, ct[at]++, Ct = !0, (l = l === null ? {} : l)[kt] = at;
372
+ let _t, Rt = ct[at];
373
+ for (; _t = at + "_" + Rt, Rt++, Mt.has(_t); ) ;
374
+ Mt.add(_t), H[mt] = _t, ct[at]++, Ct = !0, (d = d === null ? {} : d)[_t] = at;
375
375
  } else ct[at] = 1, H[mt] = at;
376
- $t.add(at);
376
+ Mt.add(at);
377
377
  }
378
- Ct && console.warn("Duplicate headers found and renamed."), d = !0;
378
+ Ct && console.warn("Duplicate headers found and renamed."), l = !0;
379
379
  }
380
- return { data: x, errors: O, meta: { delimiter: r, linebreak: i, aborted: v, truncated: !!K, cursor: I + (w || 0), renamedHeaders: l } };
380
+ return { data: x, errors: O, meta: { delimiter: r, linebreak: i, aborted: v, truncated: !!K, cursor: I + (w || 0), renamedHeaders: d } };
381
381
  }
382
382
  function st() {
383
383
  m(V()), x = [], O = [];
@@ -393,20 +393,20 @@ function Pt() {
393
393
  if (r.error) i.userError(r.error, r.file);
394
394
  else if (r.results && r.results.data) {
395
395
  var m = { abort: function() {
396
- u = !0, dt(r.workerId, { data: [], errors: [], meta: { aborted: !0 } });
397
- }, pause: bt, resume: bt };
396
+ u = !0, lt(r.workerId, { data: [], errors: [], meta: { aborted: !0 } });
397
+ }, pause: kt, resume: kt };
398
398
  if (R(i.userStep)) {
399
399
  for (var S = 0; S < r.results.data.length && (i.userStep({ data: r.results.data[S], errors: r.results.errors, meta: r.results.meta }, m), !u); S++) ;
400
400
  delete r.results;
401
401
  } else R(i.userChunk) && (i.userChunk(r.results, m, r.file), delete r.results);
402
402
  }
403
- r.finished && !u && dt(r.workerId, r.results);
403
+ r.finished && !u && lt(r.workerId, r.results);
404
404
  }
405
- function dt(e, r) {
405
+ function lt(e, r) {
406
406
  var i = P[e];
407
407
  R(i.userComplete) && i.userComplete(r), i.terminate(), delete P[e];
408
408
  }
409
- function bt() {
409
+ function kt() {
410
410
  throw new Error("Not implemented.");
411
411
  }
412
412
  function ut(e) {
@@ -435,21 +435,21 @@ function Pt() {
435
435
  })()).userStep = r.step, i.userChunk = r.chunk, i.userComplete = r.complete, i.userError = r.error, r.step = R(r.step), r.chunk = R(r.chunk), r.complete = R(r.complete), r.error = R(r.error), delete r.worker, i.postMessage({ input: e, config: r, workerId: i.id });
436
436
  }, p.unparse = function(e, r) {
437
437
  var i = !1, u = !0, m = ",", S = `\r
438
- `, y = '"', l = y + y, d = !1, o = null, c = !1, f = ((() => {
438
+ `, y = '"', d = y + y, l = !1, o = null, c = !1, f = ((() => {
439
439
  if (typeof r == "object") {
440
440
  if (typeof r.delimiter != "string" || p.BAD_DELIMITERS.filter(function(w) {
441
441
  return r.delimiter.indexOf(w) !== -1;
442
- }).length || (m = r.delimiter), typeof r.quotes != "boolean" && typeof r.quotes != "function" && !Array.isArray(r.quotes) || (i = r.quotes), typeof r.skipEmptyLines != "boolean" && typeof r.skipEmptyLines != "string" || (d = r.skipEmptyLines), typeof r.newline == "string" && (S = r.newline), typeof r.quoteChar == "string" && (y = r.quoteChar), typeof r.header == "boolean" && (u = r.header), Array.isArray(r.columns)) {
442
+ }).length || (m = r.delimiter), typeof r.quotes != "boolean" && typeof r.quotes != "function" && !Array.isArray(r.quotes) || (i = r.quotes), typeof r.skipEmptyLines != "boolean" && typeof r.skipEmptyLines != "string" || (l = r.skipEmptyLines), typeof r.newline == "string" && (S = r.newline), typeof r.quoteChar == "string" && (y = r.quoteChar), typeof r.header == "boolean" && (u = r.header), Array.isArray(r.columns)) {
443
443
  if (r.columns.length === 0) throw new Error("Option columns is empty");
444
444
  o = r.columns;
445
445
  }
446
- r.escapeChar !== void 0 && (l = r.escapeChar + y), r.escapeFormulae instanceof RegExp ? c = r.escapeFormulae : typeof r.escapeFormulae == "boolean" && r.escapeFormulae && (c = /^[=+\-@\t\r].*$/);
446
+ r.escapeChar !== void 0 && (d = r.escapeChar + y), r.escapeFormulae instanceof RegExp ? c = r.escapeFormulae : typeof r.escapeFormulae == "boolean" && r.escapeFormulae && (c = /^[=+\-@\t\r].*$/);
447
447
  }
448
448
  })(), new RegExp(ot(y), "g"));
449
449
  if (typeof e == "string" && (e = JSON.parse(e)), Array.isArray(e)) {
450
- if (!e.length || Array.isArray(e[0])) return v(null, e, d);
451
- if (typeof e[0] == "object") return v(o || Object.keys(e[0]), e, d);
452
- } else if (typeof e == "object") return typeof e.data == "string" && (e.data = JSON.parse(e.data)), Array.isArray(e.data) && (e.fields || (e.fields = e.meta && e.meta.fields || o), e.fields || (e.fields = Array.isArray(e.data[0]) ? e.fields : typeof e.data[0] == "object" ? Object.keys(e.data[0]) : []), Array.isArray(e.data[0]) || typeof e.data[0] == "object" || (e.data = [e.data])), v(e.fields || [], e.data || [], d);
450
+ if (!e.length || Array.isArray(e[0])) return v(null, e, l);
451
+ if (typeof e[0] == "object") return v(o || Object.keys(e[0]), e, l);
452
+ } else if (typeof e == "object") return typeof e.data == "string" && (e.data = JSON.parse(e.data)), Array.isArray(e.data) && (e.fields || (e.fields = e.meta && e.meta.fields || o), e.fields || (e.fields = Array.isArray(e.data[0]) ? e.fields : typeof e.data[0] == "object" ? Object.keys(e.data[0]) : []), Array.isArray(e.data[0]) || typeof e.data[0] == "object" || (e.data = [e.data])), v(e.fields || [], e.data || [], l);
453
453
  throw new Error("Unable to serialize unrecognized input");
454
454
  function v(w, h, M) {
455
455
  var C = "", j = (typeof w == "string" && (w = JSON.parse(w)), typeof h == "string" && (h = JSON.parse(h)), Array.isArray(w) && 0 < w.length), N = !Array.isArray(h[0]);
@@ -458,15 +458,15 @@ function Pt() {
458
458
  0 < h.length && (C += S);
459
459
  }
460
460
  for (var x = 0; x < h.length; x++) {
461
- var O = (j ? w : h[x]).length, k = !1, I = j ? Object.keys(h[x]).length === 0 : h[x].length === 0;
462
- if (M && !j && (k = M === "greedy" ? h[x].join("").trim() === "" : h[x].length === 1 && h[x][0].length === 0), M === "greedy" && j) {
461
+ var O = (j ? w : h[x]).length, _ = !1, I = j ? Object.keys(h[x]).length === 0 : h[x].length === 0;
462
+ if (M && !j && (_ = M === "greedy" ? h[x].join("").trim() === "" : h[x].length === 1 && h[x][0].length === 0), M === "greedy" && j) {
463
463
  for (var Y = [], A = 0; A < O; A++) {
464
464
  var L = N ? w[A] : A;
465
465
  Y.push(h[x][L]);
466
466
  }
467
- k = Y.join("").trim() === "";
467
+ _ = Y.join("").trim() === "";
468
468
  }
469
- if (!k) {
469
+ if (!_) {
470
470
  for (var $ = 0; $ < O; $++) {
471
471
  0 < $ && !I && (C += m);
472
472
  var nt = j && N ? w[$] : $;
@@ -479,28 +479,28 @@ function Pt() {
479
479
  }
480
480
  function g(w, h) {
481
481
  var M, C;
482
- return w == null ? "" : w.constructor === Date ? JSON.stringify(w).slice(1, 25) : (C = !1, c && typeof w == "string" && c.test(w) && (w = "'" + w, C = !0), M = w.toString().replace(f, l), (C = C || i === !0 || typeof i == "function" && i(w, h) || Array.isArray(i) && i[h] || ((j, N) => {
482
+ return w == null ? "" : w.constructor === Date ? JSON.stringify(w).slice(1, 25) : (C = !1, c && typeof w == "string" && c.test(w) && (w = "'" + w, C = !0), M = w.toString().replace(f, d), (C = C || i === !0 || typeof i == "function" && i(w, h) || Array.isArray(i) && i[h] || ((j, N) => {
483
483
  for (var b = 0; b < N.length; b++) if (-1 < j.indexOf(N[b])) return !0;
484
484
  return !1;
485
485
  })(M, p.BAD_DELIMITERS) || -1 < M.indexOf(m) || M.charAt(0) === " " || M.charAt(M.length - 1) === " ") ? y + M + y : M);
486
486
  }
487
487
  }, p.RECORD_SEP = "", p.UNIT_SEP = "", p.BYTE_ORDER_MARK = "\uFEFF", p.BAD_DELIMITERS = ["\r", `
488
- `, '"', p.BYTE_ORDER_MARK], p.WORKERS_SUPPORTED = !D && !!a.Worker, p.NODE_STREAM_INPUT = 1, p.LocalChunkSize = 10485760, p.RemoteChunkSize = 5242880, p.DefaultDelimiter = ",", p.Parser = pt, p.ParserHandle = rt, p.NetworkStreamer = z, p.FileStreamer = J, p.StringStreamer = B, p.ReadableStreamStreamer = Z, a.jQuery && ((_ = a.jQuery).fn.parse = function(e) {
488
+ `, '"', p.BYTE_ORDER_MARK], p.WORKERS_SUPPORTED = !D && !!a.Worker, p.NODE_STREAM_INPUT = 1, p.LocalChunkSize = 10485760, p.RemoteChunkSize = 5242880, p.DefaultDelimiter = ",", p.Parser = pt, p.ParserHandle = rt, p.NetworkStreamer = z, p.FileStreamer = J, p.StringStreamer = B, p.ReadableStreamStreamer = Z, a.jQuery && ((k = a.jQuery).fn.parse = function(e) {
489
489
  var r = e.config || {}, i = [];
490
490
  return this.each(function(S) {
491
- if (!(_(this).prop("tagName").toUpperCase() === "INPUT" && _(this).attr("type").toLowerCase() === "file" && a.FileReader) || !this.files || this.files.length === 0) return !0;
492
- for (var y = 0; y < this.files.length; y++) i.push({ file: this.files[y], inputElem: this, instanceConfig: _.extend({}, r) });
491
+ if (!(k(this).prop("tagName").toUpperCase() === "INPUT" && k(this).attr("type").toLowerCase() === "file" && a.FileReader) || !this.files || this.files.length === 0) return !0;
492
+ for (var y = 0; y < this.files.length; y++) i.push({ file: this.files[y], inputElem: this, instanceConfig: k.extend({}, r) });
493
493
  }), u(), this;
494
494
  function u() {
495
495
  if (i.length === 0) R(e.complete) && e.complete();
496
496
  else {
497
- var S, y, l, d, o = i[0];
497
+ var S, y, d, l, o = i[0];
498
498
  if (R(e.before)) {
499
499
  var c = e.before(o.file, o.inputElem);
500
500
  if (typeof c == "object") {
501
- if (c.action === "abort") return S = "AbortError", y = o.file, l = o.inputElem, d = c.reason, void (R(e.error) && e.error({ name: S }, y, l, d));
501
+ if (c.action === "abort") return S = "AbortError", y = o.file, d = o.inputElem, l = c.reason, void (R(e.error) && e.error({ name: S }, y, d, l));
502
502
  if (c.action === "skip") return void m();
503
- typeof c.config == "object" && (o.instanceConfig = _.extend(o.instanceConfig, c.config));
503
+ typeof c.config == "object" && (o.instanceConfig = k.extend(o.instanceConfig, c.config));
504
504
  } else if (c === "skip") return void m();
505
505
  }
506
506
  var f = o.instanceConfig.complete;
@@ -516,10 +516,10 @@ function Pt() {
516
516
  e = e.data, p.WORKER_ID === void 0 && e && (p.WORKER_ID = e.workerId), typeof e.input == "string" ? a.postMessage({ workerId: p.WORKER_ID, results: p.parse(e.input, e.config), finished: !0 }) : (a.File && e.input instanceof File || e.input instanceof Object) && (e = p.parse(e.input, e.config)) && a.postMessage({ workerId: p.WORKER_ID, results: e, finished: !0 });
517
517
  }), (z.prototype = Object.create(U.prototype)).constructor = z, (J.prototype = Object.create(U.prototype)).constructor = J, (B.prototype = Object.create(B.prototype)).constructor = B, (Z.prototype = Object.create(U.prototype)).constructor = Z, p;
518
518
  });
519
- })(Et)), Et.exports;
519
+ })(St)), St.exports;
520
520
  }
521
521
  var Ut = Pt();
522
- const Wt = /* @__PURE__ */ Mt(Ut), { parse: Nt, unparse: Bt } = Wt;
522
+ const Wt = /* @__PURE__ */ Dt(Ut), { parse: Nt, unparse: Bt } = Wt;
523
523
  class he {
524
524
  static unparse(t, n) {
525
525
  return Bt(t, n);
@@ -528,25 +528,25 @@ class he {
528
528
  return new Promise((n, a) => {
529
529
  Nt(t, {
530
530
  header: !0,
531
- complete: (_) => n(_),
532
- error: (_) => a(_)
531
+ complete: (k) => n(k),
532
+ error: (k) => a(k)
533
533
  });
534
534
  });
535
535
  }
536
536
  }
537
537
  async function qt(s, t, n) {
538
- const a = n?.mimeType ?? Jt(t), _ = Kt(s, a);
538
+ const a = n?.mimeType ?? Jt(t), k = Kt(s, a);
539
539
  if ("showSaveFilePicker" in window && n?.showSaveFilePicker)
540
540
  try {
541
541
  const q = await (await window.showSaveFilePicker({
542
542
  suggestedName: t,
543
543
  types: [{ description: "Datei", accept: { [a]: [`.${Ft(t)}`] } }]
544
544
  })).createWritable();
545
- await q.write(_), await q.close();
545
+ await q.write(k), await q.close();
546
546
  return;
547
547
  } catch {
548
548
  }
549
- const D = URL.createObjectURL(_), T = document.createElement("a");
549
+ const D = URL.createObjectURL(k), T = document.createElement("a");
550
550
  T.href = D, T.download = t, T.rel = "noopener", T.style.display = "none", document.body.appendChild(T), Qt(T), window.setTimeout(() => {
551
551
  document.body.removeChild(T), URL.revokeObjectURL(D);
552
552
  }, 0), Vt() && window.open(D, "_blank", "noopener,noreferrer");
@@ -635,32 +635,32 @@ class ge {
635
635
  */
636
636
  static readAsText(t) {
637
637
  const n = new FileReader();
638
- return new Promise((a, _) => {
638
+ return new Promise((a, k) => {
639
639
  n.onload = () => {
640
- n.onload = null, n.onerror = null, typeof n.result == "string" ? a(n.result) : _(new Error("Unexpected result type"));
640
+ n.onload = null, n.onerror = null, typeof n.result == "string" ? a(n.result) : k(new Error("Unexpected result type"));
641
641
  }, n.onerror = () => {
642
642
  const D = n.error ?? new Error("FileReader error");
643
- n.onload = null, n.onerror = null, _(D);
643
+ n.onload = null, n.onerror = null, k(D);
644
644
  }, n.readAsText(t);
645
645
  });
646
646
  }
647
647
  static readAsArrayBuffer(t) {
648
648
  const n = new FileReader();
649
- return new Promise((a, _) => {
649
+ return new Promise((a, k) => {
650
650
  n.onload = () => {
651
- n.onload = null, n.onerror = null, n.result instanceof ArrayBuffer ? a(n.result) : _(new Error("Unexpected result type"));
651
+ n.onload = null, n.onerror = null, n.result instanceof ArrayBuffer ? a(n.result) : k(new Error("Unexpected result type"));
652
652
  }, n.onerror = () => {
653
653
  const D = n.error ?? new Error("FileReader error");
654
- n.onload = null, n.onerror = null, _(D);
654
+ n.onload = null, n.onerror = null, k(D);
655
655
  }, n.readAsArrayBuffer(t);
656
656
  });
657
657
  }
658
658
  static readAsDataUrl(t) {
659
659
  const n = new FileReader();
660
- return new Promise((a, _) => {
660
+ return new Promise((a, k) => {
661
661
  n.onload = (D) => {
662
662
  a(D);
663
- }, n.onerror = (D) => _(D), n.readAsDataURL(t);
663
+ }, n.onerror = (D) => k(D), n.readAsDataURL(t);
664
664
  });
665
665
  }
666
666
  /** usage:
@@ -670,18 +670,18 @@ class ge {
670
670
  static formatFileSize(t, n = 2, a) {
671
671
  if (t === 0)
672
672
  return "0 Bytes";
673
- const _ = 1024, D = ["Bytes", "KB", "MB", "GB", "TB"];
674
- let T = Math.floor(Math.log(t) / Math.log(_));
673
+ const k = 1024, D = ["Bytes", "KB", "MB", "GB", "TB"];
674
+ let T = Math.floor(Math.log(t) / Math.log(k));
675
675
  a && D.includes(a) && (T = D.indexOf(a));
676
- const P = t / Math.pow(_, T);
676
+ const P = t / Math.pow(k, T);
677
677
  return `${parseFloat(P.toFixed(n))} ${D[T]}`;
678
678
  }
679
679
  static save(t, n, a) {
680
- const _ = new Blob([t], { type: a });
681
- qt(_, n);
680
+ const k = new Blob([t], { type: a });
681
+ qt(k, n);
682
682
  }
683
683
  }
684
- class _t {
684
+ class $t {
685
685
  static set(t, n) {
686
686
  localStorage.setItem(t, JSON.stringify(n));
687
687
  }
@@ -691,7 +691,7 @@ class _t {
691
691
  return a && (n = JSON.parse(a)), n;
692
692
  }
693
693
  static remove(t) {
694
- let n = !!_t.get(t);
694
+ const n = localStorage.getItem(t) !== null;
695
695
  return n && localStorage.removeItem(t), n;
696
696
  }
697
697
  static removeAll() {
@@ -733,9 +733,9 @@ class G {
733
733
  args: n,
734
734
  timestamp: (/* @__PURE__ */ new Date()).toISOString()
735
735
  };
736
- for (const _ of G.listeners)
736
+ for (const k of G.listeners)
737
737
  try {
738
- if (_(a) === !1)
738
+ if (k(a) === !1)
739
739
  return;
740
740
  } catch {
741
741
  }
@@ -743,9 +743,9 @@ class G {
743
743
  }
744
744
  static onLog(t, n = !1) {
745
745
  if (n) {
746
- const a = (_) => {
746
+ const a = (k) => {
747
747
  try {
748
- return t(_);
748
+ return t(k);
749
749
  } finally {
750
750
  G.listeners.delete(a);
751
751
  }
@@ -759,18 +759,18 @@ const Zt = (s, t, n) => s.localeCompare(t) * (n ? 1 : -1), Gt = (s, t) => s < t
759
759
  let a = 0;
760
760
  return typeof s == "string" && typeof t == "string" ? a = Zt(s, t, n) : a = Xt(s, t, n), a;
761
761
  }, te = (s, t, n, a) => {
762
- const _ = n(s), D = n(t);
763
- return Ht(_, D, a);
762
+ const k = n(s), D = n(t);
763
+ return Ht(k, D, a);
764
764
  };
765
765
  class me {
766
766
  static get(t) {
767
- return _t.get(t);
767
+ return $t.get(t);
768
768
  }
769
769
  static set(t, n) {
770
- _t.set(t, n);
770
+ $t.set(t, n);
771
771
  }
772
772
  static remove(t) {
773
- _t.remove(t);
773
+ $t.remove(t);
774
774
  }
775
775
  }
776
776
  class F {
@@ -805,8 +805,8 @@ class F {
805
805
  function ye() {
806
806
  Array.prototype.distinct = function(s) {
807
807
  return s ? this.filter(
808
- (n, a, _) => _.findIndex((D) => s(D, n)) === a
809
- ) : this.filter((n, a, _) => _.indexOf(n) === a);
808
+ (n, a, k) => k.findIndex((D) => s(D, n)) === a
809
+ ) : this.filter((n, a, k) => k.indexOf(n) === a);
810
810
  }, Array.prototype.filterBy = function(s) {
811
811
  return this.filter((t) => s(t));
812
812
  }, Array.prototype.first = function() {
@@ -822,25 +822,25 @@ function ye() {
822
822
  return this.filter((n) => s(n) !== t);
823
823
  };
824
824
  }
825
- var xt = { exports: {} }, ee = xt.exports, It;
825
+ var Et = { exports: {} }, ee = Et.exports, It;
826
826
  function re() {
827
827
  return It || (It = 1, (function(s, t) {
828
828
  (function(n, a) {
829
829
  s.exports = a();
830
830
  })(ee, (function() {
831
- var n = 1e3, a = 6e4, _ = 36e5, D = "millisecond", T = "second", P = "minute", q = "hour", p = "day", U = "week", z = "month", J = "quarter", B = "year", Z = "date", rt = "Invalid Date", ot = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, pt = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, vt = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(y) {
832
- var l = ["th", "st", "nd", "rd"], d = y % 100;
833
- return "[" + y + (l[(d - 20) % 10] || l[d] || l[0]) + "]";
834
- } }, dt = function(y, l, d) {
831
+ var n = 1e3, a = 6e4, k = 36e5, D = "millisecond", T = "second", P = "minute", q = "hour", p = "day", U = "week", z = "month", J = "quarter", B = "year", Z = "date", rt = "Invalid Date", ot = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, pt = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, vt = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(y) {
832
+ var d = ["th", "st", "nd", "rd"], l = y % 100;
833
+ return "[" + y + (d[(l - 20) % 10] || d[l] || d[0]) + "]";
834
+ } }, lt = function(y, d, l) {
835
835
  var o = String(y);
836
- return !o || o.length >= l ? y : "" + Array(l + 1 - o.length).join(d) + y;
837
- }, bt = { s: dt, z: function(y) {
838
- var l = -y.utcOffset(), d = Math.abs(l), o = Math.floor(d / 60), c = d % 60;
839
- return (l <= 0 ? "+" : "-") + dt(o, 2, "0") + ":" + dt(c, 2, "0");
840
- }, m: function y(l, d) {
841
- if (l.date() < d.date()) return -y(d, l);
842
- var o = 12 * (d.year() - l.year()) + (d.month() - l.month()), c = l.clone().add(o, z), f = d - c < 0, v = l.clone().add(o + (f ? -1 : 1), z);
843
- return +(-(o + (d - c) / (f ? c - v : v - c)) || 0);
836
+ return !o || o.length >= d ? y : "" + Array(d + 1 - o.length).join(l) + y;
837
+ }, kt = { s: lt, z: function(y) {
838
+ var d = -y.utcOffset(), l = Math.abs(d), o = Math.floor(l / 60), c = l % 60;
839
+ return (d <= 0 ? "+" : "-") + lt(o, 2, "0") + ":" + lt(c, 2, "0");
840
+ }, m: function y(d, l) {
841
+ if (d.date() < l.date()) return -y(l, d);
842
+ var o = 12 * (l.year() - d.year()) + (l.month() - d.month()), c = d.clone().add(o, z), f = l - c < 0, v = d.clone().add(o + (f ? -1 : 1), z);
843
+ return +(-(o + (l - c) / (f ? c - v : v - c)) || 0);
844
844
  }, a: function(y) {
845
845
  return y < 0 ? Math.ceil(y) || 0 : Math.floor(y);
846
846
  }, p: function(y) {
@@ -851,33 +851,33 @@ function re() {
851
851
  Q[ut] = vt;
852
852
  var R = "$isDayjsObject", e = function(y) {
853
853
  return y instanceof m || !(!y || !y[R]);
854
- }, r = function y(l, d, o) {
854
+ }, r = function y(d, l, o) {
855
855
  var c;
856
- if (!l) return ut;
857
- if (typeof l == "string") {
858
- var f = l.toLowerCase();
859
- Q[f] && (c = f), d && (Q[f] = d, c = f);
860
- var v = l.split("-");
856
+ if (!d) return ut;
857
+ if (typeof d == "string") {
858
+ var f = d.toLowerCase();
859
+ Q[f] && (c = f), l && (Q[f] = l, c = f);
860
+ var v = d.split("-");
861
861
  if (!c && v.length > 1) return y(v[0]);
862
862
  } else {
863
- var g = l.name;
864
- Q[g] = l, c = g;
863
+ var g = d.name;
864
+ Q[g] = d, c = g;
865
865
  }
866
866
  return !o && c && (ut = c), c || !o && ut;
867
- }, i = function(y, l) {
867
+ }, i = function(y, d) {
868
868
  if (e(y)) return y.clone();
869
- var d = typeof l == "object" ? l : {};
870
- return d.date = y, d.args = arguments, new m(d);
871
- }, u = bt;
872
- u.l = r, u.i = e, u.w = function(y, l) {
873
- return i(y, { locale: l.$L, utc: l.$u, x: l.$x, $offset: l.$offset });
869
+ var l = typeof d == "object" ? d : {};
870
+ return l.date = y, l.args = arguments, new m(l);
871
+ }, u = kt;
872
+ u.l = r, u.i = e, u.w = function(y, d) {
873
+ return i(y, { locale: d.$L, utc: d.$u, x: d.$x, $offset: d.$offset });
874
874
  };
875
875
  var m = (function() {
876
- function y(d) {
877
- this.$L = r(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[R] = !0;
876
+ function y(l) {
877
+ this.$L = r(l.locale, null, !0), this.parse(l), this.$x = this.$x || l.x || {}, this[R] = !0;
878
878
  }
879
- var l = y.prototype;
880
- return l.parse = function(d) {
879
+ var d = y.prototype;
880
+ return d.parse = function(l) {
881
881
  this.$d = (function(o) {
882
882
  var c = o.date, f = o.utc;
883
883
  if (c === null) return /* @__PURE__ */ new Date(NaN);
@@ -891,31 +891,31 @@ function re() {
891
891
  }
892
892
  }
893
893
  return new Date(c);
894
- })(d), this.init();
895
- }, l.init = function() {
896
- var d = this.$d;
897
- this.$y = d.getFullYear(), this.$M = d.getMonth(), this.$D = d.getDate(), this.$W = d.getDay(), this.$H = d.getHours(), this.$m = d.getMinutes(), this.$s = d.getSeconds(), this.$ms = d.getMilliseconds();
898
- }, l.$utils = function() {
894
+ })(l), this.init();
895
+ }, d.init = function() {
896
+ var l = this.$d;
897
+ this.$y = l.getFullYear(), this.$M = l.getMonth(), this.$D = l.getDate(), this.$W = l.getDay(), this.$H = l.getHours(), this.$m = l.getMinutes(), this.$s = l.getSeconds(), this.$ms = l.getMilliseconds();
898
+ }, d.$utils = function() {
899
899
  return u;
900
- }, l.isValid = function() {
900
+ }, d.isValid = function() {
901
901
  return this.$d.toString() !== rt;
902
- }, l.isSame = function(d, o) {
903
- var c = i(d);
902
+ }, d.isSame = function(l, o) {
903
+ var c = i(l);
904
904
  return this.startOf(o) <= c && c <= this.endOf(o);
905
- }, l.isAfter = function(d, o) {
906
- return i(d) < this.startOf(o);
907
- }, l.isBefore = function(d, o) {
908
- return this.endOf(o) < i(d);
909
- }, l.$g = function(d, o, c) {
910
- return u.u(d) ? this[o] : this.set(c, d);
911
- }, l.unix = function() {
905
+ }, d.isAfter = function(l, o) {
906
+ return i(l) < this.startOf(o);
907
+ }, d.isBefore = function(l, o) {
908
+ return this.endOf(o) < i(l);
909
+ }, d.$g = function(l, o, c) {
910
+ return u.u(l) ? this[o] : this.set(c, l);
911
+ }, d.unix = function() {
912
912
  return Math.floor(this.valueOf() / 1e3);
913
- }, l.valueOf = function() {
913
+ }, d.valueOf = function() {
914
914
  return this.$d.getTime();
915
- }, l.startOf = function(d, o) {
916
- var c = this, f = !!u.u(o) || o, v = u.p(d), g = function(x, O) {
917
- var k = u.w(c.$u ? Date.UTC(c.$y, O, x) : new Date(c.$y, O, x), c);
918
- return f ? k : k.endOf(p);
915
+ }, d.startOf = function(l, o) {
916
+ var c = this, f = !!u.u(o) || o, v = u.p(l), g = function(x, O) {
917
+ var _ = u.w(c.$u ? Date.UTC(c.$y, O, x) : new Date(c.$y, O, x), c);
918
+ return f ? _ : _.endOf(p);
919
919
  }, w = function(x, O) {
920
920
  return u.w(c.toDate()[x].apply(c.toDate("s"), (f ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(O)), c);
921
921
  }, h = this.$W, M = this.$M, C = this.$D, j = "set" + (this.$u ? "UTC" : "");
@@ -939,47 +939,47 @@ function re() {
939
939
  default:
940
940
  return this.clone();
941
941
  }
942
- }, l.endOf = function(d) {
943
- return this.startOf(d, !1);
944
- }, l.$set = function(d, o) {
945
- var c, f = u.p(d), v = "set" + (this.$u ? "UTC" : ""), g = (c = {}, c[p] = v + "Date", c[Z] = v + "Date", c[z] = v + "Month", c[B] = v + "FullYear", c[q] = v + "Hours", c[P] = v + "Minutes", c[T] = v + "Seconds", c[D] = v + "Milliseconds", c)[f], w = f === p ? this.$D + (o - this.$W) : o;
942
+ }, d.endOf = function(l) {
943
+ return this.startOf(l, !1);
944
+ }, d.$set = function(l, o) {
945
+ var c, f = u.p(l), v = "set" + (this.$u ? "UTC" : ""), g = (c = {}, c[p] = v + "Date", c[Z] = v + "Date", c[z] = v + "Month", c[B] = v + "FullYear", c[q] = v + "Hours", c[P] = v + "Minutes", c[T] = v + "Seconds", c[D] = v + "Milliseconds", c)[f], w = f === p ? this.$D + (o - this.$W) : o;
946
946
  if (f === z || f === B) {
947
947
  var h = this.clone().set(Z, 1);
948
948
  h.$d[g](w), h.init(), this.$d = h.set(Z, Math.min(this.$D, h.daysInMonth())).$d;
949
949
  } else g && this.$d[g](w);
950
950
  return this.init(), this;
951
- }, l.set = function(d, o) {
952
- return this.clone().$set(d, o);
953
- }, l.get = function(d) {
954
- return this[u.p(d)]();
955
- }, l.add = function(d, o) {
951
+ }, d.set = function(l, o) {
952
+ return this.clone().$set(l, o);
953
+ }, d.get = function(l) {
954
+ return this[u.p(l)]();
955
+ }, d.add = function(l, o) {
956
956
  var c, f = this;
957
- d = Number(d);
957
+ l = Number(l);
958
958
  var v = u.p(o), g = function(M) {
959
959
  var C = i(f);
960
- return u.w(C.date(C.date() + Math.round(M * d)), f);
960
+ return u.w(C.date(C.date() + Math.round(M * l)), f);
961
961
  };
962
- if (v === z) return this.set(z, this.$M + d);
963
- if (v === B) return this.set(B, this.$y + d);
962
+ if (v === z) return this.set(z, this.$M + l);
963
+ if (v === B) return this.set(B, this.$y + l);
964
964
  if (v === p) return g(1);
965
965
  if (v === U) return g(7);
966
- var w = (c = {}, c[P] = a, c[q] = _, c[T] = n, c)[v] || 1, h = this.$d.getTime() + d * w;
966
+ var w = (c = {}, c[P] = a, c[q] = k, c[T] = n, c)[v] || 1, h = this.$d.getTime() + l * w;
967
967
  return u.w(h, this);
968
- }, l.subtract = function(d, o) {
969
- return this.add(-1 * d, o);
970
- }, l.format = function(d) {
968
+ }, d.subtract = function(l, o) {
969
+ return this.add(-1 * l, o);
970
+ }, d.format = function(l) {
971
971
  var o = this, c = this.$locale();
972
972
  if (!this.isValid()) return c.invalidDate || rt;
973
- var f = d || "YYYY-MM-DDTHH:mm:ssZ", v = u.z(this), g = this.$H, w = this.$m, h = this.$M, M = c.weekdays, C = c.months, j = c.meridiem, N = function(O, k, I, Y) {
974
- return O && (O[k] || O(o, f)) || I[k].slice(0, Y);
973
+ var f = l || "YYYY-MM-DDTHH:mm:ssZ", v = u.z(this), g = this.$H, w = this.$m, h = this.$M, M = c.weekdays, C = c.months, j = c.meridiem, N = function(O, _, I, Y) {
974
+ return O && (O[_] || O(o, f)) || I[_].slice(0, Y);
975
975
  }, b = function(O) {
976
976
  return u.s(g % 12 || 12, O, "0");
977
- }, x = j || function(O, k, I) {
977
+ }, x = j || function(O, _, I) {
978
978
  var Y = O < 12 ? "AM" : "PM";
979
979
  return I ? Y.toLowerCase() : Y;
980
980
  };
981
- return f.replace(pt, (function(O, k) {
982
- return k || (function(I) {
981
+ return f.replace(pt, (function(O, _) {
982
+ return _ || (function(I) {
983
983
  switch (I) {
984
984
  case "YY":
985
985
  return String(o.$y).slice(-2);
@@ -1033,10 +1033,10 @@ function re() {
1033
1033
  return null;
1034
1034
  })(O) || v.replace(":", "");
1035
1035
  }));
1036
- }, l.utcOffset = function() {
1036
+ }, d.utcOffset = function() {
1037
1037
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
1038
- }, l.diff = function(d, o, c) {
1039
- var f, v = this, g = u.p(o), w = i(d), h = (w.utcOffset() - this.utcOffset()) * a, M = this - w, C = function() {
1038
+ }, d.diff = function(l, o, c) {
1039
+ var f, v = this, g = u.p(o), w = i(l), h = (w.utcOffset() - this.utcOffset()) * a, M = this - w, C = function() {
1040
1040
  return u.m(v, w);
1041
1041
  };
1042
1042
  switch (g) {
@@ -1056,7 +1056,7 @@ function re() {
1056
1056
  f = (M - h) / 864e5;
1057
1057
  break;
1058
1058
  case q:
1059
- f = M / _;
1059
+ f = M / k;
1060
1060
  break;
1061
1061
  case P:
1062
1062
  f = M / a;
@@ -1068,51 +1068,51 @@ function re() {
1068
1068
  f = M;
1069
1069
  }
1070
1070
  return c ? f : u.a(f);
1071
- }, l.daysInMonth = function() {
1071
+ }, d.daysInMonth = function() {
1072
1072
  return this.endOf(z).$D;
1073
- }, l.$locale = function() {
1073
+ }, d.$locale = function() {
1074
1074
  return Q[this.$L];
1075
- }, l.locale = function(d, o) {
1076
- if (!d) return this.$L;
1077
- var c = this.clone(), f = r(d, o, !0);
1075
+ }, d.locale = function(l, o) {
1076
+ if (!l) return this.$L;
1077
+ var c = this.clone(), f = r(l, o, !0);
1078
1078
  return f && (c.$L = f), c;
1079
- }, l.clone = function() {
1079
+ }, d.clone = function() {
1080
1080
  return u.w(this.$d, this);
1081
- }, l.toDate = function() {
1081
+ }, d.toDate = function() {
1082
1082
  return new Date(this.valueOf());
1083
- }, l.toJSON = function() {
1083
+ }, d.toJSON = function() {
1084
1084
  return this.isValid() ? this.toISOString() : null;
1085
- }, l.toISOString = function() {
1085
+ }, d.toISOString = function() {
1086
1086
  return this.$d.toISOString();
1087
- }, l.toString = function() {
1087
+ }, d.toString = function() {
1088
1088
  return this.$d.toUTCString();
1089
1089
  }, y;
1090
1090
  })(), S = m.prototype;
1091
1091
  return i.prototype = S, [["$ms", D], ["$s", T], ["$m", P], ["$H", q], ["$W", p], ["$M", z], ["$y", B], ["$D", Z]].forEach((function(y) {
1092
- S[y[1]] = function(l) {
1093
- return this.$g(l, y[0], y[1]);
1092
+ S[y[1]] = function(d) {
1093
+ return this.$g(d, y[0], y[1]);
1094
1094
  };
1095
- })), i.extend = function(y, l) {
1096
- return y.$i || (y(l, m, i), y.$i = !0), i;
1095
+ })), i.extend = function(y, d) {
1096
+ return y.$i || (y(d, m, i), y.$i = !0), i;
1097
1097
  }, i.locale = r, i.isDayjs = e, i.unix = function(y) {
1098
1098
  return i(1e3 * y);
1099
1099
  }, i.en = Q[ut], i.Ls = Q, i.p = {}, i;
1100
1100
  }));
1101
- })(xt)), xt.exports;
1101
+ })(Et)), Et.exports;
1102
1102
  }
1103
1103
  var ne = re();
1104
- const X = /* @__PURE__ */ Mt(ne);
1105
- var Ot = { exports: {} }, ie = Ot.exports, At;
1104
+ const X = /* @__PURE__ */ Dt(ne);
1105
+ var xt = { exports: {} }, ie = xt.exports, At;
1106
1106
  function se() {
1107
1107
  return At || (At = 1, (function(s, t) {
1108
1108
  (function(n, a) {
1109
1109
  s.exports = a();
1110
1110
  })(ie, (function() {
1111
1111
  var n = "day";
1112
- return function(a, _, D) {
1112
+ return function(a, k, D) {
1113
1113
  var T = function(p) {
1114
1114
  return p.add(4 - p.isoWeekday(), n);
1115
- }, P = _.prototype;
1115
+ }, P = k.prototype;
1116
1116
  P.isoWeekYear = function() {
1117
1117
  return T(this).year();
1118
1118
  }, P.isoWeek = function(p) {
@@ -1129,26 +1129,26 @@ function se() {
1129
1129
  };
1130
1130
  };
1131
1131
  }));
1132
- })(Ot)), Ot.exports;
1132
+ })(xt)), xt.exports;
1133
1133
  }
1134
1134
  var ae = se();
1135
- const oe = /* @__PURE__ */ Mt(ae);
1136
- var Dt = { exports: {} }, ue = Dt.exports, Lt;
1135
+ const oe = /* @__PURE__ */ Dt(ae);
1136
+ var Ot = { exports: {} }, ue = Ot.exports, Lt;
1137
1137
  function ce() {
1138
1138
  return Lt || (Lt = 1, (function(s, t) {
1139
1139
  (function(n, a) {
1140
1140
  s.exports = a();
1141
1141
  })(ue, (function() {
1142
1142
  var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" };
1143
- return function(a, _, D) {
1144
- var T = _.prototype, P = T.format;
1143
+ return function(a, k, D) {
1144
+ var T = k.prototype, P = T.format;
1145
1145
  D.en.formats = n, T.format = function(q) {
1146
1146
  q === void 0 && (q = "YYYY-MM-DDTHH:mm:ssZ");
1147
1147
  var p = this.$locale().formats, U = (function(z, J) {
1148
1148
  return z.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function(B, Z, rt) {
1149
1149
  var ot = rt && rt.toUpperCase();
1150
- return Z || J[rt] || n[rt] || J[ot].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(pt, vt, dt) {
1151
- return vt || dt.slice(1);
1150
+ return Z || J[rt] || n[rt] || J[ot].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(pt, vt, lt) {
1151
+ return vt || lt.slice(1);
1152
1152
  }));
1153
1153
  }));
1154
1154
  })(q, p === void 0 ? {} : p);
@@ -1156,11 +1156,11 @@ function ce() {
1156
1156
  };
1157
1157
  };
1158
1158
  }));
1159
- })(Dt)), Dt.exports;
1159
+ })(Ot)), Ot.exports;
1160
1160
  }
1161
1161
  var fe = ce();
1162
- const de = /* @__PURE__ */ Mt(fe);
1163
- X.extend(de);
1162
+ const le = /* @__PURE__ */ Dt(fe);
1163
+ X.extend(le);
1164
1164
  X.extend(oe);
1165
1165
  function ve() {
1166
1166
  Date.prototype.add = function(s, t) {
@@ -1202,7 +1202,7 @@ function we() {
1202
1202
  return new DOMParser().parseFromString(this.toString(), "text/html").body.textContent || "";
1203
1203
  };
1204
1204
  }
1205
- class ke {
1205
+ class _e {
1206
1206
  resizeListener = null;
1207
1207
  onResizeCallbacks = /* @__PURE__ */ new Set();
1208
1208
  // feuert bei jedem throttled Resize
@@ -1236,18 +1236,18 @@ export {
1236
1236
  ht as BreakPointHelper,
1237
1237
  zt as BreakPoints,
1238
1238
  et as BrowserHelper,
1239
- ke as BrowserService,
1239
+ _e as BrowserService,
1240
1240
  tt as BrowserType,
1241
1241
  he as CsvHelper,
1242
1242
  pe as EnumHelper,
1243
1243
  ge as FileHelper,
1244
- _t as LocalStorageHelper,
1244
+ $t as LocalStorageHelper,
1245
1245
  G as LoggerHelper,
1246
1246
  yt as LoggerType,
1247
- St as ScreenHelper,
1247
+ bt as ScreenHelper,
1248
1248
  me as TokenHelper,
1249
1249
  F as WindowResizeHelper,
1250
- le as copyToClipboard,
1250
+ de as copyToClipboard,
1251
1251
  ye as initArrayExtensions,
1252
1252
  ve as initDateExtensions,
1253
1253
  we as initStringExtensions,