thecore-auth 0.0.85 → 0.0.89

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.
@@ -1,11 +1,11 @@
1
- import * as r from "react";
2
- import Y, { createContext as ne, useState as C, useContext as ae, useEffect as z } from "react";
3
- import st from "jwt-decode";
4
- import { useNavigate as Ue, useLocation as qe, matchPath as ze, Outlet as Ce, Navigate as He, Routes as it, Route as K } from "react-router-dom";
5
- import { BrowserRouter as Jt, Link as Vt, NavLink as Xt, Outlet as Kt, Route as Qt, Routes as er, useLocation as tr, useMatch as rr, useNavigate as or } from "react-router-dom";
6
- import lt from "axios";
7
- import { default as ar } from "axios";
8
- var me = { exports: {} }, ue = {};
1
+ import * as t from "react";
2
+ import H, { createContext as ie, useState as C, useContext as se, useEffect as M } from "react";
3
+ import at from "jwt-decode";
4
+ import { useNavigate as ke, useLocation as Le, matchPath as $e, Outlet as je, Navigate as Je, Routes as lt, Route as Q, useMatch as ct } from "react-router-dom";
5
+ import { BrowserRouter as i0, Link as s0, NavLink as a0, Outlet as l0, Route as c0, Routes as f0, useLocation as u0, useMatch as d0, useNavigate as m0 } from "react-router-dom";
6
+ import ft from "axios";
7
+ import { default as h0 } from "axios";
8
+ var he = { exports: {} }, ue = {};
9
9
  /**
10
10
  * @license React
11
11
  * react-jsx-runtime.production.js
@@ -15,29 +15,29 @@ var me = { exports: {} }, ue = {};
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
17
  */
18
- var Ge;
19
- function ct() {
20
- if (Ge) return ue;
21
- Ge = 1;
22
- var t = Symbol.for("react.transitional.element"), o = Symbol.for("react.fragment");
23
- function n(a, i, u) {
24
- var d = null;
25
- if (u !== void 0 && (d = "" + u), i.key !== void 0 && (d = "" + i.key), "key" in i) {
26
- u = {};
27
- for (var m in i)
28
- m !== "key" && (u[m] = i[m]);
29
- } else u = i;
30
- return i = u.ref, {
31
- $$typeof: t,
32
- type: a,
33
- key: d,
34
- ref: i !== void 0 ? i : null,
35
- props: u
18
+ var De;
19
+ function ut() {
20
+ if (De) return ue;
21
+ De = 1;
22
+ var r = Symbol.for("react.transitional.element"), i = Symbol.for("react.fragment");
23
+ function n(s, a, l) {
24
+ var u = null;
25
+ if (l !== void 0 && (u = "" + l), a.key !== void 0 && (u = "" + a.key), "key" in a) {
26
+ l = {};
27
+ for (var m in a)
28
+ m !== "key" && (l[m] = a[m]);
29
+ } else l = a;
30
+ return a = l.ref, {
31
+ $$typeof: r,
32
+ type: s,
33
+ key: u,
34
+ ref: a !== void 0 ? a : null,
35
+ props: l
36
36
  };
37
37
  }
38
- return ue.Fragment = o, ue.jsx = n, ue.jsxs = n, ue;
38
+ return ue.Fragment = i, ue.jsx = n, ue.jsxs = n, ue;
39
39
  }
40
- var fe = {};
40
+ var de = {};
41
41
  /**
42
42
  * @license React
43
43
  * react-jsx-runtime.development.js
@@ -47,79 +47,79 @@ var fe = {};
47
47
  * This source code is licensed under the MIT license found in the
48
48
  * LICENSE file in the root directory of this source tree.
49
49
  */
50
- var Be;
51
- function ut() {
52
- return Be || (Be = 1, process.env.NODE_ENV !== "production" && function() {
53
- function t(e) {
50
+ var We;
51
+ function dt() {
52
+ return We || (We = 1, process.env.NODE_ENV !== "production" && function() {
53
+ function r(e) {
54
54
  if (e == null) return null;
55
55
  if (typeof e == "function")
56
- return e.$$typeof === ve ? null : e.displayName || e.name || null;
56
+ return e.$$typeof === ye ? null : e.displayName || e.name || null;
57
57
  if (typeof e == "string") return e;
58
58
  switch (e) {
59
59
  case B:
60
60
  return "Fragment";
61
- case T:
61
+ case N:
62
62
  return "Portal";
63
63
  case q:
64
64
  return "Profiler";
65
- case ee:
65
+ case te:
66
66
  return "StrictMode";
67
- case G:
67
+ case z:
68
68
  return "Suspense";
69
- case $:
69
+ case F:
70
70
  return "SuspenseList";
71
71
  }
72
72
  if (typeof e == "object")
73
73
  switch (typeof e.tag == "number" && console.error(
74
74
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
75
75
  ), e.$$typeof) {
76
- case ie:
76
+ case le:
77
77
  return (e.displayName || "Context") + ".Provider";
78
- case te:
78
+ case re:
79
79
  return (e._context.displayName || "Context") + ".Consumer";
80
- case H:
81
- var l = e.render;
82
- return e = e.displayName, e || (e = l.displayName || l.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
83
- case F:
84
- return l = e.displayName || null, l !== null ? l : t(e.type) || "Memo";
85
80
  case J:
86
- l = e._payload, e = e._init;
81
+ var c = e.render;
82
+ return e = e.displayName, e || (e = c.displayName || c.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
83
+ case $:
84
+ return c = e.displayName || null, c !== null ? c : r(e.type) || "Memo";
85
+ case V:
86
+ c = e._payload, e = e._init;
87
87
  try {
88
- return t(e(l));
88
+ return r(e(c));
89
89
  } catch {
90
90
  }
91
91
  }
92
92
  return null;
93
93
  }
94
- function o(e) {
94
+ function i(e) {
95
95
  return "" + e;
96
96
  }
97
97
  function n(e) {
98
98
  try {
99
- o(e);
100
- var l = !1;
99
+ i(e);
100
+ var c = !1;
101
101
  } catch {
102
- l = !0;
102
+ c = !0;
103
103
  }
104
- if (l) {
105
- l = console;
106
- var c = l.error, v = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
107
- return c.call(
108
- l,
104
+ if (c) {
105
+ c = console;
106
+ var f = c.error, b = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
107
+ return f.call(
108
+ c,
109
109
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
110
- v
111
- ), o(e);
110
+ b
111
+ ), i(e);
112
112
  }
113
113
  }
114
- function a() {
114
+ function s() {
115
115
  }
116
- function i() {
117
- if (Z === 0) {
118
- Le = console.log, Se = console.info, Oe = console.warn, ke = console.error, Pe = console.group, Re = console.groupCollapsed, Te = console.groupEnd;
116
+ function a() {
117
+ if (Y === 0) {
118
+ Pe = console.log, Re = console.info, Ne = console.warn, Ge = console.error, Te = console.group, _e = console.groupCollapsed, Ie = console.groupEnd;
119
119
  var e = {
120
120
  configurable: !0,
121
121
  enumerable: !0,
122
- value: a,
122
+ value: s,
123
123
  writable: !0
124
124
  };
125
125
  Object.defineProperties(console, {
@@ -132,204 +132,204 @@ function ut() {
132
132
  groupEnd: e
133
133
  });
134
134
  }
135
- Z++;
135
+ Y++;
136
136
  }
137
- function u() {
138
- if (Z--, Z === 0) {
137
+ function l() {
138
+ if (Y--, Y === 0) {
139
139
  var e = { configurable: !0, enumerable: !0, writable: !0 };
140
140
  Object.defineProperties(console, {
141
- log: I({}, e, { value: Le }),
142
- info: I({}, e, { value: Se }),
143
- warn: I({}, e, { value: Oe }),
144
- error: I({}, e, { value: ke }),
145
- group: I({}, e, { value: Pe }),
146
- groupCollapsed: I({}, e, { value: Re }),
147
- groupEnd: I({}, e, { value: Te })
141
+ log: A({}, e, { value: Pe }),
142
+ info: A({}, e, { value: Re }),
143
+ warn: A({}, e, { value: Ne }),
144
+ error: A({}, e, { value: Ge }),
145
+ group: A({}, e, { value: Te }),
146
+ groupCollapsed: A({}, e, { value: _e }),
147
+ groupEnd: A({}, e, { value: Ie })
148
148
  });
149
149
  }
150
- 0 > Z && console.error(
150
+ 0 > Y && console.error(
151
151
  "disabledDepth fell below zero. This is a bug in React. Please file an issue."
152
152
  );
153
153
  }
154
- function d(e) {
155
- if (be === void 0)
154
+ function u(e) {
155
+ if (Ee === void 0)
156
156
  try {
157
157
  throw Error();
158
- } catch (c) {
159
- var l = c.stack.trim().match(/\n( *(at )?)/);
160
- be = l && l[1] || "", Ne = -1 < c.stack.indexOf(`
161
- at`) ? " (<anonymous>)" : -1 < c.stack.indexOf("@") ? "@unknown:0:0" : "";
158
+ } catch (f) {
159
+ var c = f.stack.trim().match(/\n( *(at )?)/);
160
+ Ee = c && c[1] || "", Ae = -1 < f.stack.indexOf(`
161
+ at`) ? " (<anonymous>)" : -1 < f.stack.indexOf("@") ? "@unknown:0:0" : "";
162
162
  }
163
163
  return `
164
- ` + be + e + Ne;
164
+ ` + Ee + e + Ae;
165
165
  }
166
- function m(e, l) {
167
- if (!e || Ee) return "";
168
- var c = ye.get(e);
169
- if (c !== void 0) return c;
170
- Ee = !0, c = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
171
- var v = null;
172
- v = O.H, O.H = null, i();
166
+ function m(e, c) {
167
+ if (!e || Ce) return "";
168
+ var f = we.get(e);
169
+ if (f !== void 0) return f;
170
+ Ce = !0, f = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
171
+ var b = null;
172
+ b = k.H, k.H = null, a();
173
173
  try {
174
- var N = {
174
+ var G = {
175
175
  DetermineComponentFrameRoot: function() {
176
176
  try {
177
- if (l) {
178
- var U = function() {
177
+ if (c) {
178
+ var Z = function() {
179
179
  throw Error();
180
180
  };
181
- if (Object.defineProperty(U.prototype, "props", {
181
+ if (Object.defineProperty(Z.prototype, "props", {
182
182
  set: function() {
183
183
  throw Error();
184
184
  }
185
185
  }), typeof Reflect == "object" && Reflect.construct) {
186
186
  try {
187
- Reflect.construct(U, []);
187
+ Reflect.construct(Z, []);
188
188
  } catch (W) {
189
- var de = W;
189
+ var pe = W;
190
190
  }
191
- Reflect.construct(e, [], U);
191
+ Reflect.construct(e, [], Z);
192
192
  } else {
193
193
  try {
194
- U.call();
194
+ Z.call();
195
195
  } catch (W) {
196
- de = W;
196
+ pe = W;
197
197
  }
198
- e.call(U.prototype);
198
+ e.call(Z.prototype);
199
199
  }
200
200
  } else {
201
201
  try {
202
202
  throw Error();
203
203
  } catch (W) {
204
- de = W;
204
+ pe = W;
205
205
  }
206
- (U = e()) && typeof U.catch == "function" && U.catch(function() {
206
+ (Z = e()) && typeof Z.catch == "function" && Z.catch(function() {
207
207
  });
208
208
  }
209
209
  } catch (W) {
210
- if (W && de && typeof W.stack == "string")
211
- return [W.stack, de.stack];
210
+ if (W && pe && typeof W.stack == "string")
211
+ return [W.stack, pe.stack];
212
212
  }
213
213
  return [null, null];
214
214
  }
215
215
  };
216
- N.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
217
- var k = Object.getOwnPropertyDescriptor(
218
- N.DetermineComponentFrameRoot,
216
+ G.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
217
+ var L = Object.getOwnPropertyDescriptor(
218
+ G.DetermineComponentFrameRoot,
219
219
  "name"
220
220
  );
221
- k && k.configurable && Object.defineProperty(
222
- N.DetermineComponentFrameRoot,
221
+ L && L.configurable && Object.defineProperty(
222
+ G.DetermineComponentFrameRoot,
223
223
  "name",
224
224
  { value: "DetermineComponentFrameRoot" }
225
225
  );
226
- var p = N.DetermineComponentFrameRoot(), D = p[0], re = p[1];
227
- if (D && re) {
228
- var A = D.split(`
229
- `), X = re.split(`
226
+ var h = G.DetermineComponentFrameRoot(), D = h[0], oe = h[1];
227
+ if (D && oe) {
228
+ var _ = D.split(`
229
+ `), K = oe.split(`
230
230
  `);
231
- for (p = k = 0; k < A.length && !A[k].includes(
231
+ for (h = L = 0; L < _.length && !_[L].includes(
232
232
  "DetermineComponentFrameRoot"
233
233
  ); )
234
- k++;
235
- for (; p < X.length && !X[p].includes(
234
+ L++;
235
+ for (; h < K.length && !K[h].includes(
236
236
  "DetermineComponentFrameRoot"
237
237
  ); )
238
- p++;
239
- if (k === A.length || p === X.length)
240
- for (k = A.length - 1, p = X.length - 1; 1 <= k && 0 <= p && A[k] !== X[p]; )
241
- p--;
242
- for (; 1 <= k && 0 <= p; k--, p--)
243
- if (A[k] !== X[p]) {
244
- if (k !== 1 || p !== 1)
238
+ h++;
239
+ if (L === _.length || h === K.length)
240
+ for (L = _.length - 1, h = K.length - 1; 1 <= L && 0 <= h && _[L] !== K[h]; )
241
+ h--;
242
+ for (; 1 <= L && 0 <= h; L--, h--)
243
+ if (_[L] !== K[h]) {
244
+ if (L !== 1 || h !== 1)
245
245
  do
246
- if (k--, p--, 0 > p || A[k] !== X[p]) {
247
- var ce = `
248
- ` + A[k].replace(
246
+ if (L--, h--, 0 > h || _[L] !== K[h]) {
247
+ var fe = `
248
+ ` + _[L].replace(
249
249
  " at new ",
250
250
  " at "
251
251
  );
252
- return e.displayName && ce.includes("<anonymous>") && (ce = ce.replace("<anonymous>", e.displayName)), typeof e == "function" && ye.set(e, ce), ce;
252
+ return e.displayName && fe.includes("<anonymous>") && (fe = fe.replace("<anonymous>", e.displayName)), typeof e == "function" && we.set(e, fe), fe;
253
253
  }
254
- while (1 <= k && 0 <= p);
254
+ while (1 <= L && 0 <= h);
255
255
  break;
256
256
  }
257
257
  }
258
258
  } finally {
259
- Ee = !1, O.H = v, u(), Error.prepareStackTrace = c;
259
+ Ce = !1, k.H = b, l(), Error.prepareStackTrace = f;
260
260
  }
261
- return A = (A = e ? e.displayName || e.name : "") ? d(A) : "", typeof e == "function" && ye.set(e, A), A;
261
+ return _ = (_ = e ? e.displayName || e.name : "") ? u(_) : "", typeof e == "function" && we.set(e, _), _;
262
262
  }
263
- function g(e) {
263
+ function p(e) {
264
264
  if (e == null) return "";
265
265
  if (typeof e == "function") {
266
- var l = e.prototype;
266
+ var c = e.prototype;
267
267
  return m(
268
268
  e,
269
- !(!l || !l.isReactComponent)
269
+ !(!c || !c.isReactComponent)
270
270
  );
271
271
  }
272
- if (typeof e == "string") return d(e);
272
+ if (typeof e == "string") return u(e);
273
273
  switch (e) {
274
- case G:
275
- return d("Suspense");
276
- case $:
277
- return d("SuspenseList");
274
+ case z:
275
+ return u("Suspense");
276
+ case F:
277
+ return u("SuspenseList");
278
278
  }
279
279
  if (typeof e == "object")
280
280
  switch (e.$$typeof) {
281
- case H:
282
- return e = m(e.render, !1), e;
283
- case F:
284
- return g(e.type);
285
281
  case J:
286
- l = e._payload, e = e._init;
282
+ return e = m(e.render, !1), e;
283
+ case $:
284
+ return p(e.type);
285
+ case V:
286
+ c = e._payload, e = e._init;
287
287
  try {
288
- return g(e(l));
288
+ return p(e(c));
289
289
  } catch {
290
290
  }
291
291
  }
292
292
  return "";
293
293
  }
294
- function E() {
295
- var e = O.A;
294
+ function y() {
295
+ var e = k.A;
296
296
  return e === null ? null : e.getOwner();
297
297
  }
298
- function b(e) {
299
- if (M.call(e, "key")) {
300
- var l = Object.getOwnPropertyDescriptor(e, "key").get;
301
- if (l && l.isReactWarning) return !1;
298
+ function v(e) {
299
+ if (I.call(e, "key")) {
300
+ var c = Object.getOwnPropertyDescriptor(e, "key").get;
301
+ if (c && c.isReactWarning) return !1;
302
302
  }
303
303
  return e.key !== void 0;
304
304
  }
305
- function R(e, l) {
306
- function c() {
307
- _e || (_e = !0, console.error(
305
+ function P(e, c) {
306
+ function f() {
307
+ Me || (Me = !0, console.error(
308
308
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
309
- l
309
+ c
310
310
  ));
311
311
  }
312
- c.isReactWarning = !0, Object.defineProperty(e, "key", {
313
- get: c,
312
+ f.isReactWarning = !0, Object.defineProperty(e, "key", {
313
+ get: f,
314
314
  configurable: !0
315
315
  });
316
316
  }
317
- function L() {
318
- var e = t(this.type);
319
- return Ae[e] || (Ae[e] = !0, console.error(
317
+ function w() {
318
+ var e = r(this.type);
319
+ return ze[e] || (ze[e] = !0, console.error(
320
320
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
321
321
  )), e = this.props.ref, e !== void 0 ? e : null;
322
322
  }
323
- function f(e, l, c, v, N, k) {
324
- return c = k.ref, e = {
325
- $$typeof: y,
323
+ function d(e, c, f, b, G, L) {
324
+ return f = L.ref, e = {
325
+ $$typeof: E,
326
326
  type: e,
327
- key: l,
328
- props: k,
329
- _owner: N
330
- }, (c !== void 0 ? c : null) !== null ? Object.defineProperty(e, "ref", {
327
+ key: c,
328
+ props: L,
329
+ _owner: G
330
+ }, (f !== void 0 ? f : null) !== null ? Object.defineProperty(e, "ref", {
331
331
  enumerable: !1,
332
- get: L
332
+ get: w
333
333
  }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
334
334
  configurable: !1,
335
335
  enumerable: !1,
@@ -342,122 +342,122 @@ function ut() {
342
342
  value: null
343
343
  }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
344
344
  }
345
- function x(e, l, c, v, N, k) {
346
- if (typeof e == "string" || typeof e == "function" || e === B || e === q || e === ee || e === G || e === $ || e === xe || typeof e == "object" && e !== null && (e.$$typeof === J || e.$$typeof === F || e.$$typeof === ie || e.$$typeof === te || e.$$typeof === H || e.$$typeof === _ || e.getModuleId !== void 0)) {
347
- var p = l.children;
348
- if (p !== void 0)
349
- if (v)
350
- if (V(p)) {
351
- for (v = 0; v < p.length; v++)
352
- h(p[v], e);
353
- Object.freeze && Object.freeze(p);
345
+ function x(e, c, f, b, G, L) {
346
+ if (typeof e == "string" || typeof e == "function" || e === B || e === q || e === te || e === z || e === F || e === be || typeof e == "object" && e !== null && (e.$$typeof === V || e.$$typeof === $ || e.$$typeof === le || e.$$typeof === re || e.$$typeof === J || e.$$typeof === T || e.getModuleId !== void 0)) {
347
+ var h = c.children;
348
+ if (h !== void 0)
349
+ if (b)
350
+ if (X(h)) {
351
+ for (b = 0; b < h.length; b++)
352
+ g(h[b], e);
353
+ Object.freeze && Object.freeze(h);
354
354
  } else
355
355
  console.error(
356
356
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
357
357
  );
358
- else h(p, e);
358
+ else g(h, e);
359
359
  } else
360
- p = "", (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (p += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), e === null ? v = "null" : V(e) ? v = "array" : e !== void 0 && e.$$typeof === y ? (v = "<" + (t(e.type) || "Unknown") + " />", p = " Did you accidentally export a JSX literal instead of a component?") : v = typeof e, console.error(
360
+ h = "", (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (h += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports."), e === null ? b = "null" : X(e) ? b = "array" : e !== void 0 && e.$$typeof === E ? (b = "<" + (r(e.type) || "Unknown") + " />", h = " Did you accidentally export a JSX literal instead of a component?") : b = typeof e, console.error(
361
361
  "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
362
- v,
363
- p
362
+ b,
363
+ h
364
364
  );
365
- if (M.call(l, "key")) {
366
- p = t(e);
367
- var D = Object.keys(l).filter(function(A) {
368
- return A !== "key";
365
+ if (I.call(c, "key")) {
366
+ h = r(e);
367
+ var D = Object.keys(c).filter(function(_) {
368
+ return _ !== "key";
369
369
  });
370
- v = 0 < D.length ? "{key: someKey, " + D.join(": ..., ") + ": ...}" : "{key: someKey}", Me[p + v] || (D = 0 < D.length ? "{" + D.join(": ..., ") + ": ...}" : "{}", console.error(
370
+ b = 0 < D.length ? "{key: someKey, " + D.join(": ..., ") + ": ...}" : "{key: someKey}", Be[h + b] || (D = 0 < D.length ? "{" + D.join(": ..., ") + ": ...}" : "{}", console.error(
371
371
  `A props object containing a "key" prop is being spread into JSX:
372
372
  let props = %s;
373
373
  <%s {...props} />
374
374
  React keys must be passed directly to JSX without using spread:
375
375
  let props = %s;
376
376
  <%s key={someKey} {...props} />`,
377
- v,
378
- p,
377
+ b,
378
+ h,
379
379
  D,
380
- p
381
- ), Me[p + v] = !0);
380
+ h
381
+ ), Be[h + b] = !0);
382
382
  }
383
- if (p = null, c !== void 0 && (n(c), p = "" + c), b(l) && (n(l.key), p = "" + l.key), "key" in l) {
384
- c = {};
385
- for (var re in l)
386
- re !== "key" && (c[re] = l[re]);
387
- } else c = l;
388
- return p && R(
389
- c,
383
+ if (h = null, f !== void 0 && (n(f), h = "" + f), v(c) && (n(c.key), h = "" + c.key), "key" in c) {
384
+ f = {};
385
+ for (var oe in c)
386
+ oe !== "key" && (f[oe] = c[oe]);
387
+ } else f = c;
388
+ return h && P(
389
+ f,
390
390
  typeof e == "function" ? e.displayName || e.name || "Unknown" : e
391
- ), f(e, p, k, N, E(), c);
391
+ ), d(e, h, L, G, y(), f);
392
392
  }
393
- function h(e, l) {
394
- if (typeof e == "object" && e && e.$$typeof !== at) {
395
- if (V(e))
396
- for (var c = 0; c < e.length; c++) {
397
- var v = e[c];
398
- S(v) && w(v, l);
393
+ function g(e, c) {
394
+ if (typeof e == "object" && e && e.$$typeof !== st) {
395
+ if (X(e))
396
+ for (var f = 0; f < e.length; f++) {
397
+ var b = e[f];
398
+ O(b) && j(b, c);
399
399
  }
400
- else if (S(e))
400
+ else if (O(e))
401
401
  e._store && (e._store.validated = 1);
402
- else if (e === null || typeof e != "object" ? c = null : (c = le && e[le] || e["@@iterator"], c = typeof c == "function" ? c : null), typeof c == "function" && c !== e.entries && (c = c.call(e), c !== e))
403
- for (; !(e = c.next()).done; )
404
- S(e.value) && w(e.value, l);
402
+ else if (e === null || typeof e != "object" ? f = null : (f = ce && e[ce] || e["@@iterator"], f = typeof f == "function" ? f : null), typeof f == "function" && f !== e.entries && (f = f.call(e), f !== e))
403
+ for (; !(e = f.next()).done; )
404
+ O(e.value) && j(e.value, c);
405
405
  }
406
406
  }
407
- function S(e) {
408
- return typeof e == "object" && e !== null && e.$$typeof === y;
407
+ function O(e) {
408
+ return typeof e == "object" && e !== null && e.$$typeof === E;
409
409
  }
410
- function w(e, l) {
411
- if (e._store && !e._store.validated && e.key == null && (e._store.validated = 1, l = j(l), !Ie[l])) {
412
- Ie[l] = !0;
413
- var c = "";
414
- e && e._owner != null && e._owner !== E() && (c = null, typeof e._owner.tag == "number" ? c = t(e._owner.type) : typeof e._owner.name == "string" && (c = e._owner.name), c = " It was passed a child from " + c + ".");
415
- var v = O.getCurrentStack;
416
- O.getCurrentStack = function() {
417
- var N = g(e.type);
418
- return v && (N += v() || ""), N;
410
+ function j(e, c) {
411
+ if (e._store && !e._store.validated && e.key == null && (e._store.validated = 1, c = S(c), !Fe[c])) {
412
+ Fe[c] = !0;
413
+ var f = "";
414
+ e && e._owner != null && e._owner !== y() && (f = null, typeof e._owner.tag == "number" ? f = r(e._owner.type) : typeof e._owner.name == "string" && (f = e._owner.name), f = " It was passed a child from " + f + ".");
415
+ var b = k.getCurrentStack;
416
+ k.getCurrentStack = function() {
417
+ var G = p(e.type);
418
+ return b && (G += b() || ""), G;
419
419
  }, console.error(
420
420
  'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
421
- l,
422
- c
423
- ), O.getCurrentStack = v;
421
+ c,
422
+ f
423
+ ), k.getCurrentStack = b;
424
424
  }
425
425
  }
426
- function j(e) {
427
- var l = "", c = E();
428
- return c && (c = t(c.type)) && (l = `
426
+ function S(e) {
427
+ var c = "", f = y();
428
+ return f && (f = r(f.type)) && (c = `
429
429
 
430
- Check the render method of \`` + c + "`."), l || (e = t(e)) && (l = `
430
+ Check the render method of \`` + f + "`."), c || (e = r(e)) && (c = `
431
431
 
432
- Check the top-level render call using <` + e + ">."), l;
432
+ Check the top-level render call using <` + e + ">."), c;
433
433
  }
434
- var P = Y, y = Symbol.for("react.transitional.element"), T = Symbol.for("react.portal"), B = Symbol.for("react.fragment"), ee = Symbol.for("react.strict_mode"), q = Symbol.for("react.profiler"), te = Symbol.for("react.consumer"), ie = Symbol.for("react.context"), H = Symbol.for("react.forward_ref"), G = Symbol.for("react.suspense"), $ = Symbol.for("react.suspense_list"), F = Symbol.for("react.memo"), J = Symbol.for("react.lazy"), xe = Symbol.for("react.offscreen"), le = Symbol.iterator, ve = Symbol.for("react.client.reference"), O = P.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, M = Object.prototype.hasOwnProperty, I = Object.assign, _ = Symbol.for("react.client.reference"), V = Array.isArray, Z = 0, Le, Se, Oe, ke, Pe, Re, Te;
435
- a.__reactDisabledLog = !0;
436
- var be, Ne, Ee = !1, ye = new (typeof WeakMap == "function" ? WeakMap : Map)(), at = Symbol.for("react.client.reference"), _e, Ae = {}, Me = {}, Ie = {};
437
- fe.Fragment = B, fe.jsx = function(e, l, c, v, N) {
438
- return x(e, l, c, !1, v, N);
439
- }, fe.jsxs = function(e, l, c, v, N) {
440
- return x(e, l, c, !0, v, N);
434
+ var R = H, E = Symbol.for("react.transitional.element"), N = Symbol.for("react.portal"), B = Symbol.for("react.fragment"), te = Symbol.for("react.strict_mode"), q = Symbol.for("react.profiler"), re = Symbol.for("react.consumer"), le = Symbol.for("react.context"), J = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), F = Symbol.for("react.suspense_list"), $ = Symbol.for("react.memo"), V = Symbol.for("react.lazy"), be = Symbol.for("react.offscreen"), ce = Symbol.iterator, ye = Symbol.for("react.client.reference"), k = R.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, I = Object.prototype.hasOwnProperty, A = Object.assign, T = Symbol.for("react.client.reference"), X = Array.isArray, Y = 0, Pe, Re, Ne, Ge, Te, _e, Ie;
435
+ s.__reactDisabledLog = !0;
436
+ var Ee, Ae, Ce = !1, we = new (typeof WeakMap == "function" ? WeakMap : Map)(), st = Symbol.for("react.client.reference"), Me, ze = {}, Be = {}, Fe = {};
437
+ de.Fragment = B, de.jsx = function(e, c, f, b, G) {
438
+ return x(e, c, f, !1, b, G);
439
+ }, de.jsxs = function(e, c, f, b, G) {
440
+ return x(e, c, f, !0, b, G);
441
441
  };
442
- }()), fe;
442
+ }()), de;
443
443
  }
444
- var $e;
445
- function ft() {
446
- return $e || ($e = 1, process.env.NODE_ENV === "production" ? me.exports = ct() : me.exports = ut()), me.exports;
444
+ var He;
445
+ function mt() {
446
+ return He || (He = 1, process.env.NODE_ENV === "production" ? he.exports = ut() : he.exports = dt()), he.exports;
447
447
  }
448
- var s = ft();
449
- const Je = ne(), Gt = ({ children: t }) => {
450
- const [o, n] = C(!1), [a, i] = C(!1), [u, d] = C({});
451
- return /* @__PURE__ */ s.jsx(Je.Provider, { value: { isLoading: o, setIsLoading: n, isLoadingComponent: a, setIsLoadingComponent: i, loadingProps: u, setLoadingProps: d }, children: t });
452
- }, he = () => {
453
- const t = ae(Je);
454
- if (t === void 0) throw new Error("Non puoi settare il loading");
455
- return t;
456
- }, dt = ({ errorMessage: t, errorShow: o }) => /* @__PURE__ */ s.jsx("section", { className: o ? "" : "hidden", children: /* @__PURE__ */ s.jsxs("div", { className: "container mx-auto", children: [
457
- /* @__PURE__ */ s.jsx("h1", { className: "text-center text-8xl my-12", children: "Errore" }),
458
- /* @__PURE__ */ s.jsx("pre", { className: "text-xl", children: t })
459
- ] }) }), Ve = ne(), Bt = ({ children: t }) => {
460
- const [o, n] = C({}), [a, i] = C(!1), u = `Creare un file config.json in public per il corretto funzionamento
448
+ var o = mt();
449
+ const Ve = ie(), Ht = ({ children: r }) => {
450
+ const [i, n] = C(!1), [s, a] = C(!1), [l, u] = C({});
451
+ return /* @__PURE__ */ o.jsx(Ve.Provider, { value: { isLoading: i, setIsLoading: n, isLoadingComponent: s, setIsLoadingComponent: a, loadingProps: l, setLoadingProps: u }, children: r });
452
+ }, me = () => {
453
+ const r = se(Ve);
454
+ if (r === void 0) throw new Error("Non puoi settare il loading");
455
+ return r;
456
+ }, pt = ({ errorMessage: r, errorShow: i }) => /* @__PURE__ */ o.jsx("section", { className: i ? "" : "hidden", children: /* @__PURE__ */ o.jsxs("div", { className: "container mx-auto", children: [
457
+ /* @__PURE__ */ o.jsx("h1", { className: "text-center text-8xl my-12", children: "Errore" }),
458
+ /* @__PURE__ */ o.jsx("pre", { className: "text-xl", children: r })
459
+ ] }) }), Xe = ie(), Yt = ({ children: r }) => {
460
+ const [i, n] = C({}), [s, a] = C(!1), l = `Creare un file config.json in public per il corretto funzionamento
461
461
  Esempio di config.json:
462
462
 
463
463
  {
@@ -483,186 +483,186 @@ Esempio di config.json:
483
483
  "autoLogin": " ,
484
484
  "backendToken": "",
485
485
  "isDebug": ""
486
- }`, d = () => {
487
- const f = /* @__PURE__ */ new Date(), x = String(f.getDate()).padStart(2, "0"), h = String(f.getMonth() + 1).padStart(2, "0"), S = f.getFullYear(), w = String(f.getHours()).padStart(2, "0"), j = String(f.getMinutes()).padStart(2, "0"), P = String(f.getSeconds()).padStart(2, "0");
488
- return `${x}/${h}/${S} ${w}:${j}:${P}`;
489
- }, m = (f) => new Promise((x, h) => {
490
- const S = indexedDB.open("configDatabase", 1);
491
- S.onupgradeneeded = (w) => {
492
- const j = w.target.result;
493
- j.objectStoreNames.contains(f) || j.createObjectStore(f, { keyPath: "id" });
494
- }, S.onsuccess = (w) => x(w.target.result), S.onerror = (w) => h(w.target.error);
495
- }), g = async (f, x) => {
496
- let h = await m(f);
497
- return new Promise((S, w) => {
498
- if (!h) {
499
- w("Errore: DB non disponibile");
486
+ }`, u = () => {
487
+ const d = /* @__PURE__ */ new Date(), x = String(d.getDate()).padStart(2, "0"), g = String(d.getMonth() + 1).padStart(2, "0"), O = d.getFullYear(), j = String(d.getHours()).padStart(2, "0"), S = String(d.getMinutes()).padStart(2, "0"), R = String(d.getSeconds()).padStart(2, "0");
488
+ return `${x}/${g}/${O} ${j}:${S}:${R}`;
489
+ }, m = (d) => new Promise((x, g) => {
490
+ const O = indexedDB.open("configDatabase", 1);
491
+ O.onupgradeneeded = (j) => {
492
+ const S = j.target.result;
493
+ S.objectStoreNames.contains(d) || S.createObjectStore(d, { keyPath: "id" });
494
+ }, O.onsuccess = (j) => x(j.target.result), O.onerror = (j) => g(j.target.error);
495
+ }), p = async (d, x) => {
496
+ let g = await m(d);
497
+ return new Promise((O, j) => {
498
+ if (!g) {
499
+ j("Errore: DB non disponibile");
500
500
  return;
501
501
  }
502
- const j = h == null ? void 0 : h.transaction(f, "readonly"), P = j == null ? void 0 : j.objectStore(f), y = P == null ? void 0 : P.get(x);
503
- y.onsuccess = () => S(y.result), y.onerror = (T) => w(T.target.error);
502
+ const S = g == null ? void 0 : g.transaction(d, "readonly"), R = S == null ? void 0 : S.objectStore(d), E = R == null ? void 0 : R.get(x);
503
+ E.onsuccess = () => O(E.result), E.onerror = (N) => j(N.target.error);
504
504
  });
505
- }, E = async (f, x) => {
506
- let h = await m(f);
507
- return new Promise((S, w) => {
508
- if (!h) {
509
- w("Errore: DB non disponibile");
505
+ }, y = async (d, x) => {
506
+ let g = await m(d);
507
+ return new Promise((O, j) => {
508
+ if (!g) {
509
+ j("Errore: DB non disponibile");
510
510
  return;
511
511
  }
512
- const j = h == null ? void 0 : h.transaction(f, "readwrite"), P = j == null ? void 0 : j.objectStore(f), y = P == null ? void 0 : P.put(x);
513
- y.onsuccess = () => S(y.result), y.onerror = (T) => w(T.target.error);
512
+ const S = g == null ? void 0 : g.transaction(d, "readwrite"), R = S == null ? void 0 : S.objectStore(d), E = R == null ? void 0 : R.put(x);
513
+ E.onsuccess = () => O(E.result), E.onerror = (N) => j(N.target.error);
514
514
  });
515
- }, b = async (f) => {
516
- let x = Date.now(), h;
515
+ }, v = async (d) => {
516
+ let x = Date.now(), g;
517
517
  do
518
- h = await g(f, x), h && x++;
519
- while (h);
518
+ g = await p(d, x), g && x++;
519
+ while (g);
520
520
  return x;
521
- }, R = async (f, x) => {
522
- x.id || (x.id = await b(f)), await E(f, x);
523
- }, L = async () => {
521
+ }, P = async (d, x) => {
522
+ x.id || (x.id = await v(d)), await y(d, x);
523
+ }, w = async () => {
524
524
  try {
525
- const h = {
525
+ const g = {
526
526
  ...await (await fetch("/config.json")).json(),
527
527
  openIndexedDB: m,
528
- getDataIndexedDB: g,
529
- setDataIndexedDB: E,
530
- generateUniqueId: b,
531
- setDataWithAutoId: R,
532
- setCurrentDate: d
528
+ getDataIndexedDB: p,
529
+ setDataIndexedDB: y,
530
+ generateUniqueId: v,
531
+ setDataWithAutoId: P,
532
+ setCurrentDate: u
533
533
  };
534
- n(h);
535
- } catch (f) {
536
- console.error(f), i(!0);
534
+ n(g);
535
+ } catch (d) {
536
+ console.error(d), a(!0);
537
537
  }
538
538
  };
539
- return z(() => {
540
- L();
541
- }, []), Object.keys(o).length === 0 ? /* @__PURE__ */ s.jsx(dt, { errorShow: a, errorMessage: u }) : /* @__PURE__ */ s.jsx(Ve.Provider, { value: o, children: t });
542
- }, Q = () => {
543
- const t = ae(Ve);
544
- if (t === void 0) throw new Error("Non puoi leggere i config");
545
- return t;
546
- }, mt = (t) => /* @__PURE__ */ r.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: 500, zoomAndPan: "magnify", viewBox: "0 0 375 374.999991", height: 500, preserveAspectRatio: "xMidYMid meet", ...t }, /* @__PURE__ */ r.createElement("defs", null, /* @__PURE__ */ r.createElement("g", null), /* @__PURE__ */ r.createElement("clipPath", { id: "6ca7e2bf04" }, /* @__PURE__ */ r.createElement("path", { d: "M 265.136719 0 L 375 109.863281 L 375 265.136719 L 265.136719 375 L 109.863281 375 L 0 265.136719 L 0 109.863281 L 109.863281 0 Z M 265.136719 0 ", clipRule: "nonzero" })), /* @__PURE__ */ r.createElement("clipPath", { id: "2c77c820c6" }, /* @__PURE__ */ r.createElement("path", { d: "M 12.878906 12.878906 L 362.121094 12.878906 L 362.121094 362.121094 L 12.878906 362.121094 Z M 12.878906 12.878906 ", clipRule: "nonzero" })), /* @__PURE__ */ r.createElement("clipPath", { id: "3d94df7d66" }, /* @__PURE__ */ r.createElement("path", { d: "M 259.804688 12.878906 L 362.121094 115.195312 L 362.121094 259.804688 L 259.804688 362.121094 L 115.195312 362.121094 L 12.878906 259.804688 L 12.878906 115.195312 L 115.195312 12.878906 Z M 259.804688 12.878906 ", clipRule: "nonzero" })), /* @__PURE__ */ r.createElement("clipPath", { id: "8793709a64" }, /* @__PURE__ */ r.createElement("path", { d: "M 12.878906 12.878906 L 362.109375 12.878906 L 362.109375 362.109375 L 12.878906 362.109375 Z M 12.878906 12.878906 ", clipRule: "nonzero" })), /* @__PURE__ */ r.createElement("clipPath", { id: "fdb3fe29d8" }, /* @__PURE__ */ r.createElement("path", { d: "M 259.796875 12.878906 L 362.109375 115.191406 L 362.109375 259.796875 L 259.796875 362.109375 L 115.191406 362.109375 L 12.878906 259.796875 L 12.878906 115.191406 L 115.191406 12.878906 Z M 259.796875 12.878906 ", clipRule: "nonzero" }))), /* @__PURE__ */ r.createElement("g", { clipPath: "url(#6ca7e2bf04)" }, /* @__PURE__ */ r.createElement("rect", { x: -37.5, width: 450, fill: "#b91c1c", y: -37.499999, height: 449.999989, fillOpacity: 1 })), /* @__PURE__ */ r.createElement("g", { clipPath: "url(#2c77c820c6)" }, /* @__PURE__ */ r.createElement("g", { clipPath: "url(#3d94df7d66)" }, /* @__PURE__ */ r.createElement("path", { fill: "#b91c1c", d: "M 12.878906 12.878906 L 362.121094 12.878906 L 362.121094 362.121094 L 12.878906 362.121094 Z M 12.878906 12.878906 ", fillOpacity: 1, fillRule: "nonzero" }))), /* @__PURE__ */ r.createElement("g", { clipPath: "url(#8793709a64)" }, /* @__PURE__ */ r.createElement("g", { clipPath: "url(#fdb3fe29d8)" }, /* @__PURE__ */ r.createElement("path", { strokeLinecap: "butt", transform: "matrix(0.75, 0, 0, 0.75, 12.879396, 12.879392)", fill: "none", strokeLinejoin: "miter", d: "M 329.223327 -0.000647072 L 465.640003 136.416029 L 465.640003 329.223333 L 329.223327 465.640009 L 136.416023 465.640009 L -0.000653072 329.223333 L -0.000653072 136.416029 L 136.416023 -0.000647072 Z M 329.223327 -0.000647072 ", stroke: "#ffffff", strokeWidth: 34, strokeOpacity: 1, strokeMiterlimit: 4 }))), /* @__PURE__ */ r.createElement("g", { fill: "#ffffff", fillOpacity: 1 }, /* @__PURE__ */ r.createElement("g", { transform: "translate(111.648432, 267.442446)" }, /* @__PURE__ */ r.createElement("g", null, /* @__PURE__ */ r.createElement("path", { d: "M 2.828125 0 L 56.25 -79.859375 L 3.046875 -159.609375 L 37.28125 -159.609375 L 75.90625 -98.046875 L 114.53125 -159.609375 L 148.765625 -159.609375 L 95.5625 -79.859375 L 148.984375 0 L 114.765625 0 L 75.671875 -60.65625 L 37.046875 0 Z M 2.828125 0 " }))))), pt = (t) => /* @__PURE__ */ r.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: 500, zoomAndPan: "magnify", viewBox: "0 0 375 374.999991", height: 500, preserveAspectRatio: "xMidYMid meet", ...t }, /* @__PURE__ */ r.createElement("defs", null, /* @__PURE__ */ r.createElement("g", null), /* @__PURE__ */ r.createElement("clipPath", { id: "30562604dd" }, /* @__PURE__ */ r.createElement("path", { d: "M 187.5 0 C 83.945312 0 0 83.945312 0 187.5 C 0 291.054688 83.945312 375 187.5 375 C 291.054688 375 375 291.054688 375 187.5 C 375 83.945312 291.054688 0 187.5 0 Z M 187.5 0 ", clipRule: "nonzero" })), /* @__PURE__ */ r.createElement("clipPath", { id: "971fcd5f72" }, /* @__PURE__ */ r.createElement("path", { d: "M 18.570312 18.570312 L 356.429688 18.570312 L 356.429688 356.429688 L 18.570312 356.429688 Z M 18.570312 18.570312 ", clipRule: "nonzero" })), /* @__PURE__ */ r.createElement("clipPath", { id: "e891a7f57e" }, /* @__PURE__ */ r.createElement("path", { d: "M 187.5 18.570312 C 94.203125 18.570312 18.570312 94.203125 18.570312 187.5 C 18.570312 280.796875 94.203125 356.429688 187.5 356.429688 C 280.796875 356.429688 356.429688 280.796875 356.429688 187.5 C 356.429688 94.203125 280.796875 18.570312 187.5 18.570312 Z M 187.5 18.570312 ", clipRule: "nonzero" })), /* @__PURE__ */ r.createElement("clipPath", { id: "19a9ddc130" }, /* @__PURE__ */ r.createElement("path", { d: "M 18.570312 18.570312 L 356.070312 18.570312 L 356.070312 356.070312 L 18.570312 356.070312 Z M 18.570312 18.570312 ", clipRule: "nonzero" })), /* @__PURE__ */ r.createElement("clipPath", { id: "5e650d5bd0" }, /* @__PURE__ */ r.createElement("path", { d: "M 187.496094 18.570312 C 94.199219 18.570312 18.570312 94.199219 18.570312 187.496094 C 18.570312 280.792969 94.199219 356.421875 187.496094 356.421875 C 280.792969 356.421875 356.421875 280.792969 356.421875 187.496094 C 356.421875 94.199219 280.792969 18.570312 187.496094 18.570312 Z M 187.496094 18.570312 ", clipRule: "nonzero" }))), /* @__PURE__ */ r.createElement("g", { clipPath: "url(#30562604dd)" }, /* @__PURE__ */ r.createElement("rect", { x: -37.5, width: 450, fill: "#1d4ed8", y: -37.499999, height: 449.999989, fillOpacity: 1 })), /* @__PURE__ */ r.createElement("g", { clipPath: "url(#971fcd5f72)" }, /* @__PURE__ */ r.createElement("g", { clipPath: "url(#e891a7f57e)" }, /* @__PURE__ */ r.createElement("path", { fill: "#1d4ed8", d: "M 18.570312 18.570312 L 356.429688 18.570312 L 356.429688 356.429688 L 18.570312 356.429688 Z M 18.570312 18.570312 ", fillOpacity: 1, fillRule: "nonzero" }))), /* @__PURE__ */ r.createElement("g", { clipPath: "url(#19a9ddc130)" }, /* @__PURE__ */ r.createElement("g", { clipPath: "url(#5e650d5bd0)" }, /* @__PURE__ */ r.createElement("path", { strokeLinecap: "butt", transform: "matrix(0.75, 0, 0, 0.75, 18.570291, 18.570286)", fill: "none", strokeLinejoin: "miter", d: "M 225.234419 0.0000349326 C 100.838577 0.0000349326 0.0000289326 100.838583 0.0000289326 225.234425 C 0.0000289326 349.630266 100.838577 450.468815 225.234419 450.468815 C 349.63026 450.468815 450.468809 349.630266 450.468809 225.234425 C 450.468809 100.838583 349.63026 0.0000349326 225.234419 0.0000349326 Z M 225.234419 0.0000349326 ", stroke: "#ffffff", strokeWidth: 34, strokeOpacity: 1, strokeMiterlimit: 4 }))), /* @__PURE__ */ r.createElement("g", { fill: "#ffffff", fillOpacity: 1 }, /* @__PURE__ */ r.createElement("g", { transform: "translate(136.121787, 300.837436)" }, /* @__PURE__ */ r.createElement("g", null, /* @__PURE__ */ r.createElement("path", { d: "M 60 -193.78125 C 54.707031 -193.78125 50.109375 -195.734375 46.203125 -199.640625 C 42.296875 -203.554688 40.34375 -208.15625 40.34375 -213.4375 C 40.34375 -218.726562 42.296875 -223.328125 46.203125 -227.234375 C 50.109375 -231.140625 54.707031 -233.09375 60 -233.09375 C 65.28125 -233.09375 69.875 -231.140625 73.78125 -227.234375 C 77.695312 -223.328125 79.65625 -218.726562 79.65625 -213.4375 C 79.65625 -208.15625 77.695312 -203.554688 73.78125 -199.640625 C 69.875 -195.734375 65.28125 -193.78125 60 -193.78125 Z M 45.171875 4.828125 C 39.191406 4.828125 35.28125 2.414062 33.4375 -2.40625 C 31.601562 -7.238281 30.6875 -13.675781 30.6875 -21.71875 C 30.6875 -34.59375 31.773438 -47.234375 33.953125 -59.640625 C 36.140625 -72.054688 38.328125 -83.894531 40.515625 -95.15625 C 42.703125 -106.425781 43.796875 -116.890625 43.796875 -126.546875 C 43.796875 -129.078125 43.675781 -131.832031 43.4375 -134.8125 C 43.207031 -137.800781 42.632812 -140.101562 41.71875 -141.71875 C 38.039062 -139.414062 33.269531 -135.617188 27.40625 -130.328125 C 21.550781 -125.046875 16.898438 -119.1875 13.453125 -112.75 C 11.835938 -114.363281 11.03125 -116.550781 11.03125 -119.3125 C 11.03125 -123.21875 12.582031 -127.46875 15.6875 -132.0625 C 18.789062 -136.65625 22.925781 -141.078125 28.09375 -145.328125 C 33.269531 -149.585938 38.847656 -153.097656 44.828125 -155.859375 C 50.804688 -158.617188 56.664062 -160 62.40625 -160 C 67.695312 -160 71.085938 -158.734375 72.578125 -156.203125 C 74.078125 -153.671875 74.828125 -150.453125 74.828125 -146.546875 C 74.828125 -140.796875 74.078125 -133.378906 72.578125 -124.296875 C 71.085938 -115.222656 69.363281 -105.515625 67.40625 -95.171875 C 65.457031 -84.828125 63.734375 -74.484375 62.234375 -64.140625 C 60.742188 -53.796875 60 -44.367188 60 -35.859375 C 60 -31.492188 60.226562 -27.414062 60.6875 -23.625 C 61.144531 -19.832031 61.71875 -16.671875 62.40625 -14.140625 C 68.15625 -16.671875 73.613281 -20.40625 78.78125 -25.34375 C 83.957031 -30.28125 87.8125 -34.9375 90.34375 -39.3125 C 91.71875 -37.238281 92.40625 -35.050781 92.40625 -32.75 C 92.40625 -29.070312 90.796875 -25.050781 87.578125 -20.6875 C 84.359375 -16.320312 80.332031 -12.179688 75.5 -8.265625 C 70.675781 -4.359375 65.5625 -1.203125 60.15625 1.203125 C 54.757812 3.617188 49.765625 4.828125 45.171875 4.828125 Z M 45.171875 4.828125 " }))))), gt = (t) => /* @__PURE__ */ r.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: 500, zoomAndPan: "magnify", viewBox: "0 0 375 374.999991", height: 500, preserveAspectRatio: "xMidYMid meet", ...t }, /* @__PURE__ */ r.createElement("defs", null, /* @__PURE__ */ r.createElement("g", null), /* @__PURE__ */ r.createElement("clipPath", { id: "59a10ac27a" }, /* @__PURE__ */ r.createElement("path", { d: "M 17.179688 32.695312 L 360 32.695312 L 360 337.5 L 17.179688 337.5 Z M 17.179688 32.695312 ", clipRule: "nonzero" })), /* @__PURE__ */ r.createElement("clipPath", { id: "664b27481e" }, /* @__PURE__ */ r.createElement("path", { d: "M 207.042969 43.574219 L 356.394531 304.941406 C 360.242188 311.675781 360.214844 319.953125 356.324219 326.660156 C 352.429688 333.371094 345.257812 337.5 337.5 337.5 L 39.375 337.5 C 31.617188 337.5 24.445312 333.371094 20.554688 326.660156 C 16.660156 319.953125 16.632812 311.675781 20.480469 304.941406 L 169.832031 43.574219 C 173.648438 36.898438 180.746094 32.777344 188.4375 32.777344 C 196.128906 32.777344 203.226562 36.898438 207.042969 43.574219 Z M 207.042969 43.574219 ", clipRule: "nonzero" }))), /* @__PURE__ */ r.createElement("g", { clipPath: "url(#59a10ac27a)" }, /* @__PURE__ */ r.createElement("g", { clipPath: "url(#664b27481e)" }, /* @__PURE__ */ r.createElement("path", { fill: "#d97706", d: "M 1.875 11.015625 L 375.546875 11.015625 L 375.546875 337.5 L 1.875 337.5 Z M 1.875 11.015625 ", fillOpacity: 1, fillRule: "nonzero" }))), /* @__PURE__ */ r.createElement("g", { fill: "#ffffff", fillOpacity: 1 }, /* @__PURE__ */ r.createElement("g", { transform: "translate(158.410439, 295.655517)" }, /* @__PURE__ */ r.createElement("g", null, /* @__PURE__ */ r.createElement("path", { d: "M 46.890625 -63.21875 C 46.890625 -63.21875 46.890625 -64.445312 46.890625 -66.90625 L 46.890625 -176.46875 C 46.890625 -178.925781 46.1875 -180.859375 44.78125 -182.265625 C 43.375 -183.671875 41.441406 -184.375 38.984375 -184.375 L 21.078125 -184.375 C 18.617188 -184.375 16.6875 -183.671875 15.28125 -182.265625 C 13.875 -180.859375 13.171875 -178.925781 13.171875 -176.46875 L 13.171875 -66.90625 C 13.171875 -64.445312 13.875 -62.515625 15.28125 -61.109375 C 16.6875 -59.703125 18.617188 -59 21.078125 -59 L 38.984375 -59 C 41.441406 -59 43.375 -59.703125 44.78125 -61.109375 C 46.1875 -62.515625 46.890625 -63.21875 46.890625 -63.21875 Z M 46.890625 -4.21875 C 46.890625 -4.21875 46.890625 -5.445312 46.890625 -7.90625 L 46.890625 -25.546875 C 46.890625 -28.003906 46.1875 -29.9375 44.78125 -31.34375 C 43.375 -32.75 41.441406 -33.453125 38.984375 -33.453125 L 21.078125 -33.453125 C 18.617188 -33.453125 16.6875 -32.75 15.28125 -31.34375 C 13.875 -29.9375 13.171875 -28.003906 13.171875 -25.546875 L 13.171875 -7.90625 C 13.171875 -5.445312 13.875 -3.515625 15.28125 -2.109375 C 16.6875 -0.703125 18.617188 0 21.078125 0 L 38.984375 0 C 41.441406 0 43.375 -0.703125 44.78125 -2.109375 C 46.1875 -3.515625 46.890625 -4.21875 46.890625 -4.21875 Z M 46.890625 -4.21875 " })))));
547
- var Xe = {
539
+ return M(() => {
540
+ w();
541
+ }, []), Object.keys(i).length === 0 ? /* @__PURE__ */ o.jsx(pt, { errorShow: s, errorMessage: l }) : /* @__PURE__ */ o.jsx(Xe.Provider, { value: i, children: r });
542
+ }, U = () => {
543
+ const r = se(Xe);
544
+ if (r === void 0) throw new Error("Non puoi leggere i config");
545
+ return r;
546
+ }, ht = (r) => /* @__PURE__ */ t.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: 500, zoomAndPan: "magnify", viewBox: "0 0 375 374.999991", height: 500, preserveAspectRatio: "xMidYMid meet", ...r }, /* @__PURE__ */ t.createElement("defs", null, /* @__PURE__ */ t.createElement("g", null), /* @__PURE__ */ t.createElement("clipPath", { id: "6ca7e2bf04" }, /* @__PURE__ */ t.createElement("path", { d: "M 265.136719 0 L 375 109.863281 L 375 265.136719 L 265.136719 375 L 109.863281 375 L 0 265.136719 L 0 109.863281 L 109.863281 0 Z M 265.136719 0 ", clipRule: "nonzero" })), /* @__PURE__ */ t.createElement("clipPath", { id: "2c77c820c6" }, /* @__PURE__ */ t.createElement("path", { d: "M 12.878906 12.878906 L 362.121094 12.878906 L 362.121094 362.121094 L 12.878906 362.121094 Z M 12.878906 12.878906 ", clipRule: "nonzero" })), /* @__PURE__ */ t.createElement("clipPath", { id: "3d94df7d66" }, /* @__PURE__ */ t.createElement("path", { d: "M 259.804688 12.878906 L 362.121094 115.195312 L 362.121094 259.804688 L 259.804688 362.121094 L 115.195312 362.121094 L 12.878906 259.804688 L 12.878906 115.195312 L 115.195312 12.878906 Z M 259.804688 12.878906 ", clipRule: "nonzero" })), /* @__PURE__ */ t.createElement("clipPath", { id: "8793709a64" }, /* @__PURE__ */ t.createElement("path", { d: "M 12.878906 12.878906 L 362.109375 12.878906 L 362.109375 362.109375 L 12.878906 362.109375 Z M 12.878906 12.878906 ", clipRule: "nonzero" })), /* @__PURE__ */ t.createElement("clipPath", { id: "fdb3fe29d8" }, /* @__PURE__ */ t.createElement("path", { d: "M 259.796875 12.878906 L 362.109375 115.191406 L 362.109375 259.796875 L 259.796875 362.109375 L 115.191406 362.109375 L 12.878906 259.796875 L 12.878906 115.191406 L 115.191406 12.878906 Z M 259.796875 12.878906 ", clipRule: "nonzero" }))), /* @__PURE__ */ t.createElement("g", { clipPath: "url(#6ca7e2bf04)" }, /* @__PURE__ */ t.createElement("rect", { x: -37.5, width: 450, fill: "#b91c1c", y: -37.499999, height: 449.999989, fillOpacity: 1 })), /* @__PURE__ */ t.createElement("g", { clipPath: "url(#2c77c820c6)" }, /* @__PURE__ */ t.createElement("g", { clipPath: "url(#3d94df7d66)" }, /* @__PURE__ */ t.createElement("path", { fill: "#b91c1c", d: "M 12.878906 12.878906 L 362.121094 12.878906 L 362.121094 362.121094 L 12.878906 362.121094 Z M 12.878906 12.878906 ", fillOpacity: 1, fillRule: "nonzero" }))), /* @__PURE__ */ t.createElement("g", { clipPath: "url(#8793709a64)" }, /* @__PURE__ */ t.createElement("g", { clipPath: "url(#fdb3fe29d8)" }, /* @__PURE__ */ t.createElement("path", { strokeLinecap: "butt", transform: "matrix(0.75, 0, 0, 0.75, 12.879396, 12.879392)", fill: "none", strokeLinejoin: "miter", d: "M 329.223327 -0.000647072 L 465.640003 136.416029 L 465.640003 329.223333 L 329.223327 465.640009 L 136.416023 465.640009 L -0.000653072 329.223333 L -0.000653072 136.416029 L 136.416023 -0.000647072 Z M 329.223327 -0.000647072 ", stroke: "#ffffff", strokeWidth: 34, strokeOpacity: 1, strokeMiterlimit: 4 }))), /* @__PURE__ */ t.createElement("g", { fill: "#ffffff", fillOpacity: 1 }, /* @__PURE__ */ t.createElement("g", { transform: "translate(111.648432, 267.442446)" }, /* @__PURE__ */ t.createElement("g", null, /* @__PURE__ */ t.createElement("path", { d: "M 2.828125 0 L 56.25 -79.859375 L 3.046875 -159.609375 L 37.28125 -159.609375 L 75.90625 -98.046875 L 114.53125 -159.609375 L 148.765625 -159.609375 L 95.5625 -79.859375 L 148.984375 0 L 114.765625 0 L 75.671875 -60.65625 L 37.046875 0 Z M 2.828125 0 " }))))), gt = (r) => /* @__PURE__ */ t.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: 500, zoomAndPan: "magnify", viewBox: "0 0 375 374.999991", height: 500, preserveAspectRatio: "xMidYMid meet", ...r }, /* @__PURE__ */ t.createElement("defs", null, /* @__PURE__ */ t.createElement("g", null), /* @__PURE__ */ t.createElement("clipPath", { id: "30562604dd" }, /* @__PURE__ */ t.createElement("path", { d: "M 187.5 0 C 83.945312 0 0 83.945312 0 187.5 C 0 291.054688 83.945312 375 187.5 375 C 291.054688 375 375 291.054688 375 187.5 C 375 83.945312 291.054688 0 187.5 0 Z M 187.5 0 ", clipRule: "nonzero" })), /* @__PURE__ */ t.createElement("clipPath", { id: "971fcd5f72" }, /* @__PURE__ */ t.createElement("path", { d: "M 18.570312 18.570312 L 356.429688 18.570312 L 356.429688 356.429688 L 18.570312 356.429688 Z M 18.570312 18.570312 ", clipRule: "nonzero" })), /* @__PURE__ */ t.createElement("clipPath", { id: "e891a7f57e" }, /* @__PURE__ */ t.createElement("path", { d: "M 187.5 18.570312 C 94.203125 18.570312 18.570312 94.203125 18.570312 187.5 C 18.570312 280.796875 94.203125 356.429688 187.5 356.429688 C 280.796875 356.429688 356.429688 280.796875 356.429688 187.5 C 356.429688 94.203125 280.796875 18.570312 187.5 18.570312 Z M 187.5 18.570312 ", clipRule: "nonzero" })), /* @__PURE__ */ t.createElement("clipPath", { id: "19a9ddc130" }, /* @__PURE__ */ t.createElement("path", { d: "M 18.570312 18.570312 L 356.070312 18.570312 L 356.070312 356.070312 L 18.570312 356.070312 Z M 18.570312 18.570312 ", clipRule: "nonzero" })), /* @__PURE__ */ t.createElement("clipPath", { id: "5e650d5bd0" }, /* @__PURE__ */ t.createElement("path", { d: "M 187.496094 18.570312 C 94.199219 18.570312 18.570312 94.199219 18.570312 187.496094 C 18.570312 280.792969 94.199219 356.421875 187.496094 356.421875 C 280.792969 356.421875 356.421875 280.792969 356.421875 187.496094 C 356.421875 94.199219 280.792969 18.570312 187.496094 18.570312 Z M 187.496094 18.570312 ", clipRule: "nonzero" }))), /* @__PURE__ */ t.createElement("g", { clipPath: "url(#30562604dd)" }, /* @__PURE__ */ t.createElement("rect", { x: -37.5, width: 450, fill: "#1d4ed8", y: -37.499999, height: 449.999989, fillOpacity: 1 })), /* @__PURE__ */ t.createElement("g", { clipPath: "url(#971fcd5f72)" }, /* @__PURE__ */ t.createElement("g", { clipPath: "url(#e891a7f57e)" }, /* @__PURE__ */ t.createElement("path", { fill: "#1d4ed8", d: "M 18.570312 18.570312 L 356.429688 18.570312 L 356.429688 356.429688 L 18.570312 356.429688 Z M 18.570312 18.570312 ", fillOpacity: 1, fillRule: "nonzero" }))), /* @__PURE__ */ t.createElement("g", { clipPath: "url(#19a9ddc130)" }, /* @__PURE__ */ t.createElement("g", { clipPath: "url(#5e650d5bd0)" }, /* @__PURE__ */ t.createElement("path", { strokeLinecap: "butt", transform: "matrix(0.75, 0, 0, 0.75, 18.570291, 18.570286)", fill: "none", strokeLinejoin: "miter", d: "M 225.234419 0.0000349326 C 100.838577 0.0000349326 0.0000289326 100.838583 0.0000289326 225.234425 C 0.0000289326 349.630266 100.838577 450.468815 225.234419 450.468815 C 349.63026 450.468815 450.468809 349.630266 450.468809 225.234425 C 450.468809 100.838583 349.63026 0.0000349326 225.234419 0.0000349326 Z M 225.234419 0.0000349326 ", stroke: "#ffffff", strokeWidth: 34, strokeOpacity: 1, strokeMiterlimit: 4 }))), /* @__PURE__ */ t.createElement("g", { fill: "#ffffff", fillOpacity: 1 }, /* @__PURE__ */ t.createElement("g", { transform: "translate(136.121787, 300.837436)" }, /* @__PURE__ */ t.createElement("g", null, /* @__PURE__ */ t.createElement("path", { d: "M 60 -193.78125 C 54.707031 -193.78125 50.109375 -195.734375 46.203125 -199.640625 C 42.296875 -203.554688 40.34375 -208.15625 40.34375 -213.4375 C 40.34375 -218.726562 42.296875 -223.328125 46.203125 -227.234375 C 50.109375 -231.140625 54.707031 -233.09375 60 -233.09375 C 65.28125 -233.09375 69.875 -231.140625 73.78125 -227.234375 C 77.695312 -223.328125 79.65625 -218.726562 79.65625 -213.4375 C 79.65625 -208.15625 77.695312 -203.554688 73.78125 -199.640625 C 69.875 -195.734375 65.28125 -193.78125 60 -193.78125 Z M 45.171875 4.828125 C 39.191406 4.828125 35.28125 2.414062 33.4375 -2.40625 C 31.601562 -7.238281 30.6875 -13.675781 30.6875 -21.71875 C 30.6875 -34.59375 31.773438 -47.234375 33.953125 -59.640625 C 36.140625 -72.054688 38.328125 -83.894531 40.515625 -95.15625 C 42.703125 -106.425781 43.796875 -116.890625 43.796875 -126.546875 C 43.796875 -129.078125 43.675781 -131.832031 43.4375 -134.8125 C 43.207031 -137.800781 42.632812 -140.101562 41.71875 -141.71875 C 38.039062 -139.414062 33.269531 -135.617188 27.40625 -130.328125 C 21.550781 -125.046875 16.898438 -119.1875 13.453125 -112.75 C 11.835938 -114.363281 11.03125 -116.550781 11.03125 -119.3125 C 11.03125 -123.21875 12.582031 -127.46875 15.6875 -132.0625 C 18.789062 -136.65625 22.925781 -141.078125 28.09375 -145.328125 C 33.269531 -149.585938 38.847656 -153.097656 44.828125 -155.859375 C 50.804688 -158.617188 56.664062 -160 62.40625 -160 C 67.695312 -160 71.085938 -158.734375 72.578125 -156.203125 C 74.078125 -153.671875 74.828125 -150.453125 74.828125 -146.546875 C 74.828125 -140.796875 74.078125 -133.378906 72.578125 -124.296875 C 71.085938 -115.222656 69.363281 -105.515625 67.40625 -95.171875 C 65.457031 -84.828125 63.734375 -74.484375 62.234375 -64.140625 C 60.742188 -53.796875 60 -44.367188 60 -35.859375 C 60 -31.492188 60.226562 -27.414062 60.6875 -23.625 C 61.144531 -19.832031 61.71875 -16.671875 62.40625 -14.140625 C 68.15625 -16.671875 73.613281 -20.40625 78.78125 -25.34375 C 83.957031 -30.28125 87.8125 -34.9375 90.34375 -39.3125 C 91.71875 -37.238281 92.40625 -35.050781 92.40625 -32.75 C 92.40625 -29.070312 90.796875 -25.050781 87.578125 -20.6875 C 84.359375 -16.320312 80.332031 -12.179688 75.5 -8.265625 C 70.675781 -4.359375 65.5625 -1.203125 60.15625 1.203125 C 54.757812 3.617188 49.765625 4.828125 45.171875 4.828125 Z M 45.171875 4.828125 " }))))), xt = (r) => /* @__PURE__ */ t.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", width: 500, zoomAndPan: "magnify", viewBox: "0 0 375 374.999991", height: 500, preserveAspectRatio: "xMidYMid meet", ...r }, /* @__PURE__ */ t.createElement("defs", null, /* @__PURE__ */ t.createElement("g", null), /* @__PURE__ */ t.createElement("clipPath", { id: "59a10ac27a" }, /* @__PURE__ */ t.createElement("path", { d: "M 17.179688 32.695312 L 360 32.695312 L 360 337.5 L 17.179688 337.5 Z M 17.179688 32.695312 ", clipRule: "nonzero" })), /* @__PURE__ */ t.createElement("clipPath", { id: "664b27481e" }, /* @__PURE__ */ t.createElement("path", { d: "M 207.042969 43.574219 L 356.394531 304.941406 C 360.242188 311.675781 360.214844 319.953125 356.324219 326.660156 C 352.429688 333.371094 345.257812 337.5 337.5 337.5 L 39.375 337.5 C 31.617188 337.5 24.445312 333.371094 20.554688 326.660156 C 16.660156 319.953125 16.632812 311.675781 20.480469 304.941406 L 169.832031 43.574219 C 173.648438 36.898438 180.746094 32.777344 188.4375 32.777344 C 196.128906 32.777344 203.226562 36.898438 207.042969 43.574219 Z M 207.042969 43.574219 ", clipRule: "nonzero" }))), /* @__PURE__ */ t.createElement("g", { clipPath: "url(#59a10ac27a)" }, /* @__PURE__ */ t.createElement("g", { clipPath: "url(#664b27481e)" }, /* @__PURE__ */ t.createElement("path", { fill: "#d97706", d: "M 1.875 11.015625 L 375.546875 11.015625 L 375.546875 337.5 L 1.875 337.5 Z M 1.875 11.015625 ", fillOpacity: 1, fillRule: "nonzero" }))), /* @__PURE__ */ t.createElement("g", { fill: "#ffffff", fillOpacity: 1 }, /* @__PURE__ */ t.createElement("g", { transform: "translate(158.410439, 295.655517)" }, /* @__PURE__ */ t.createElement("g", null, /* @__PURE__ */ t.createElement("path", { d: "M 46.890625 -63.21875 C 46.890625 -63.21875 46.890625 -64.445312 46.890625 -66.90625 L 46.890625 -176.46875 C 46.890625 -178.925781 46.1875 -180.859375 44.78125 -182.265625 C 43.375 -183.671875 41.441406 -184.375 38.984375 -184.375 L 21.078125 -184.375 C 18.617188 -184.375 16.6875 -183.671875 15.28125 -182.265625 C 13.875 -180.859375 13.171875 -178.925781 13.171875 -176.46875 L 13.171875 -66.90625 C 13.171875 -64.445312 13.875 -62.515625 15.28125 -61.109375 C 16.6875 -59.703125 18.617188 -59 21.078125 -59 L 38.984375 -59 C 41.441406 -59 43.375 -59.703125 44.78125 -61.109375 C 46.1875 -62.515625 46.890625 -63.21875 46.890625 -63.21875 Z M 46.890625 -4.21875 C 46.890625 -4.21875 46.890625 -5.445312 46.890625 -7.90625 L 46.890625 -25.546875 C 46.890625 -28.003906 46.1875 -29.9375 44.78125 -31.34375 C 43.375 -32.75 41.441406 -33.453125 38.984375 -33.453125 L 21.078125 -33.453125 C 18.617188 -33.453125 16.6875 -32.75 15.28125 -31.34375 C 13.875 -29.9375 13.171875 -28.003906 13.171875 -25.546875 L 13.171875 -7.90625 C 13.171875 -5.445312 13.875 -3.515625 15.28125 -2.109375 C 16.6875 -0.703125 18.617188 0 21.078125 0 L 38.984375 0 C 41.441406 0 43.375 -0.703125 44.78125 -2.109375 C 46.1875 -3.515625 46.890625 -4.21875 46.890625 -4.21875 Z M 46.890625 -4.21875 " })))));
547
+ var Ke = {
548
548
  color: void 0,
549
549
  size: void 0,
550
550
  className: void 0,
551
551
  style: void 0,
552
552
  attr: void 0
553
- }, Fe = Y.createContext && /* @__PURE__ */ Y.createContext(Xe), ht = ["attr", "size", "title"];
554
- function xt(t, o) {
555
- if (t == null) return {};
556
- var n = vt(t, o), a, i;
553
+ }, Ye = H.createContext && /* @__PURE__ */ H.createContext(Ke), vt = ["attr", "size", "title"];
554
+ function bt(r, i) {
555
+ if (r == null) return {};
556
+ var n = yt(r, i), s, a;
557
557
  if (Object.getOwnPropertySymbols) {
558
- var u = Object.getOwnPropertySymbols(t);
559
- for (i = 0; i < u.length; i++)
560
- a = u[i], !(o.indexOf(a) >= 0) && Object.prototype.propertyIsEnumerable.call(t, a) && (n[a] = t[a]);
558
+ var l = Object.getOwnPropertySymbols(r);
559
+ for (a = 0; a < l.length; a++)
560
+ s = l[a], !(i.indexOf(s) >= 0) && Object.prototype.propertyIsEnumerable.call(r, s) && (n[s] = r[s]);
561
561
  }
562
562
  return n;
563
563
  }
564
- function vt(t, o) {
565
- if (t == null) return {};
564
+ function yt(r, i) {
565
+ if (r == null) return {};
566
566
  var n = {};
567
- for (var a in t)
568
- if (Object.prototype.hasOwnProperty.call(t, a)) {
569
- if (o.indexOf(a) >= 0) continue;
570
- n[a] = t[a];
567
+ for (var s in r)
568
+ if (Object.prototype.hasOwnProperty.call(r, s)) {
569
+ if (i.indexOf(s) >= 0) continue;
570
+ n[s] = r[s];
571
571
  }
572
572
  return n;
573
573
  }
574
- function pe() {
575
- return pe = Object.assign ? Object.assign.bind() : function(t) {
576
- for (var o = 1; o < arguments.length; o++) {
577
- var n = arguments[o];
578
- for (var a in n)
579
- Object.prototype.hasOwnProperty.call(n, a) && (t[a] = n[a]);
574
+ function ge() {
575
+ return ge = Object.assign ? Object.assign.bind() : function(r) {
576
+ for (var i = 1; i < arguments.length; i++) {
577
+ var n = arguments[i];
578
+ for (var s in n)
579
+ Object.prototype.hasOwnProperty.call(n, s) && (r[s] = n[s]);
580
580
  }
581
- return t;
582
- }, pe.apply(this, arguments);
581
+ return r;
582
+ }, ge.apply(this, arguments);
583
583
  }
584
- function De(t, o) {
585
- var n = Object.keys(t);
584
+ function Ze(r, i) {
585
+ var n = Object.keys(r);
586
586
  if (Object.getOwnPropertySymbols) {
587
- var a = Object.getOwnPropertySymbols(t);
588
- o && (a = a.filter(function(i) {
589
- return Object.getOwnPropertyDescriptor(t, i).enumerable;
590
- })), n.push.apply(n, a);
587
+ var s = Object.getOwnPropertySymbols(r);
588
+ i && (s = s.filter(function(a) {
589
+ return Object.getOwnPropertyDescriptor(r, a).enumerable;
590
+ })), n.push.apply(n, s);
591
591
  }
592
592
  return n;
593
593
  }
594
- function ge(t) {
595
- for (var o = 1; o < arguments.length; o++) {
596
- var n = arguments[o] != null ? arguments[o] : {};
597
- o % 2 ? De(Object(n), !0).forEach(function(a) {
598
- bt(t, a, n[a]);
599
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : De(Object(n)).forEach(function(a) {
600
- Object.defineProperty(t, a, Object.getOwnPropertyDescriptor(n, a));
594
+ function xe(r) {
595
+ for (var i = 1; i < arguments.length; i++) {
596
+ var n = arguments[i] != null ? arguments[i] : {};
597
+ i % 2 ? Ze(Object(n), !0).forEach(function(s) {
598
+ Et(r, s, n[s]);
599
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(r, Object.getOwnPropertyDescriptors(n)) : Ze(Object(n)).forEach(function(s) {
600
+ Object.defineProperty(r, s, Object.getOwnPropertyDescriptor(n, s));
601
601
  });
602
602
  }
603
- return t;
603
+ return r;
604
604
  }
605
- function bt(t, o, n) {
606
- return o = Et(o), o in t ? Object.defineProperty(t, o, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[o] = n, t;
605
+ function Et(r, i, n) {
606
+ return i = Ct(i), i in r ? Object.defineProperty(r, i, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : r[i] = n, r;
607
607
  }
608
- function Et(t) {
609
- var o = yt(t, "string");
610
- return typeof o == "symbol" ? o : o + "";
608
+ function Ct(r) {
609
+ var i = wt(r, "string");
610
+ return typeof i == "symbol" ? i : i + "";
611
611
  }
612
- function yt(t, o) {
613
- if (typeof t != "object" || !t) return t;
614
- var n = t[Symbol.toPrimitive];
612
+ function wt(r, i) {
613
+ if (typeof r != "object" || !r) return r;
614
+ var n = r[Symbol.toPrimitive];
615
615
  if (n !== void 0) {
616
- var a = n.call(t, o || "default");
617
- if (typeof a != "object") return a;
616
+ var s = n.call(r, i || "default");
617
+ if (typeof s != "object") return s;
618
618
  throw new TypeError("@@toPrimitive must return a primitive value.");
619
619
  }
620
- return (o === "string" ? String : Number)(t);
620
+ return (i === "string" ? String : Number)(r);
621
621
  }
622
- function Ke(t) {
623
- return t && t.map((o, n) => /* @__PURE__ */ Y.createElement(o.tag, ge({
622
+ function Qe(r) {
623
+ return r && r.map((i, n) => /* @__PURE__ */ H.createElement(i.tag, xe({
624
624
  key: n
625
- }, o.attr), Ke(o.child)));
625
+ }, i.attr), Qe(i.child)));
626
626
  }
627
- function we(t) {
628
- return (o) => /* @__PURE__ */ Y.createElement(Ct, pe({
629
- attr: ge({}, t.attr)
630
- }, o), Ke(t.child));
627
+ function ae(r) {
628
+ return (i) => /* @__PURE__ */ H.createElement(jt, ge({
629
+ attr: xe({}, r.attr)
630
+ }, i), Qe(r.child));
631
631
  }
632
- function Ct(t) {
633
- var o = (n) => {
632
+ function jt(r) {
633
+ var i = (n) => {
634
634
  var {
635
- attr: a,
636
- size: i,
637
- title: u
638
- } = t, d = xt(t, ht), m = i || n.size || "1em", g;
639
- return n.className && (g = n.className), t.className && (g = (g ? g + " " : "") + t.className), /* @__PURE__ */ Y.createElement("svg", pe({
635
+ attr: s,
636
+ size: a,
637
+ title: l
638
+ } = r, u = bt(r, vt), m = a || n.size || "1em", p;
639
+ return n.className && (p = n.className), r.className && (p = (p ? p + " " : "") + r.className), /* @__PURE__ */ H.createElement("svg", ge({
640
640
  stroke: "currentColor",
641
641
  fill: "currentColor",
642
642
  strokeWidth: "0"
643
- }, n.attr, a, d, {
644
- className: g,
645
- style: ge(ge({
646
- color: t.color || n.color
647
- }, n.style), t.style),
643
+ }, n.attr, s, u, {
644
+ className: p,
645
+ style: xe(xe({
646
+ color: r.color || n.color
647
+ }, n.style), r.style),
648
648
  height: m,
649
649
  width: m,
650
650
  xmlns: "http://www.w3.org/2000/svg"
651
- }), u && /* @__PURE__ */ Y.createElement("title", null, u), t.children);
651
+ }), l && /* @__PURE__ */ H.createElement("title", null, l), r.children);
652
652
  };
653
- return Fe !== void 0 ? /* @__PURE__ */ Y.createElement(Fe.Consumer, null, (n) => o(n)) : o(Xe);
653
+ return Ye !== void 0 ? /* @__PURE__ */ H.createElement(Ye.Consumer, null, (n) => i(n)) : i(Ke);
654
654
  }
655
- function wt(t) {
656
- return we({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M17.47 250.9C88.82 328.1 158 397.6 224.5 485.5c72.3-143.8 146.3-288.1 268.4-444.37L460 26.06C356.9 135.4 276.8 238.9 207.2 361.9c-48.4-43.6-126.62-105.3-174.38-137z" }, child: [] }] })(t);
655
+ function St(r) {
656
+ return ae({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M17.47 250.9C88.82 328.1 158 397.6 224.5 485.5c72.3-143.8 146.3-288.1 268.4-444.37L460 26.06C356.9 135.4 276.8 238.9 207.2 361.9c-48.4-43.6-126.62-105.3-174.38-137z" }, child: [] }] })(r);
657
657
  }
658
- const Qe = ne(), $t = ({ children: t }) => {
659
- const [o, n] = C(!1), [a, i] = C(), [u, d] = C(), R = {
660
- showAlert: o,
658
+ const et = ie(), Zt = ({ children: r }) => {
659
+ const [i, n] = C(!1), [s, a] = C(), [l, u] = C(), P = {
660
+ showAlert: i,
661
661
  setShowAlert: n,
662
- typeAlert: a,
663
- setTypeAlert: i,
664
- messageAlert: u,
665
- setMessageAlert: d,
662
+ typeAlert: s,
663
+ setTypeAlert: a,
664
+ messageAlert: l,
665
+ setMessageAlert: u,
666
666
  alertConfig: {
667
667
  danger: {
668
668
  bgColor: "bg-danger",
@@ -697,154 +697,154 @@ const Qe = ne(), $t = ({ children: t }) => {
697
697
  progressColor: "bg-warning-progress"
698
698
  }
699
699
  },
700
- getIcon: (L) => {
701
- switch (L) {
700
+ getIcon: (w) => {
701
+ switch (w) {
702
702
  case "danger":
703
- return /* @__PURE__ */ s.jsx(mt, { className: "w-[20px] h-[20px]" });
703
+ return /* @__PURE__ */ o.jsx(ht, { className: "w-[20px] h-[20px]" });
704
704
  case "info":
705
- return /* @__PURE__ */ s.jsx(pt, { className: "w-[20px] h-[20px]" });
705
+ return /* @__PURE__ */ o.jsx(gt, { className: "w-[20px] h-[20px]" });
706
706
  case "success":
707
- return /* @__PURE__ */ s.jsx(wt, { className: "text-xl" });
707
+ return /* @__PURE__ */ o.jsx(St, { className: "text-xl" });
708
708
  case "warning":
709
- return /* @__PURE__ */ s.jsx(gt, { className: "w-[20px] h-[20px]" });
709
+ return /* @__PURE__ */ o.jsx(xt, { className: "w-[20px] h-[20px]" });
710
710
  }
711
711
  },
712
712
  closeAlert: () => {
713
- n(!o);
713
+ n(!i);
714
714
  },
715
- activeAlert: (L, f) => {
715
+ activeAlert: (w, d) => {
716
716
  n(!1), setTimeout(() => {
717
- i(L), d(f), n(!0);
717
+ a(w), u(d), n(!0);
718
718
  }, 50);
719
719
  }
720
720
  };
721
- return /* @__PURE__ */ s.jsx(Qe.Provider, { value: R, children: t });
722
- }, se = () => {
723
- const t = ae(Qe);
724
- if (t === void 0) throw new Error("Non puoi modificare l'alert");
725
- return t;
721
+ return /* @__PURE__ */ o.jsx(et.Provider, { value: P, children: r });
722
+ }, ee = () => {
723
+ const r = se(et);
724
+ if (r === void 0) throw new Error("Non puoi modificare l'alert");
725
+ return r;
726
726
  };
727
- let oe;
728
- const jt = async (t, o, n) => {
729
- if (oe) return oe;
727
+ let ne;
728
+ const Ot = async (r, i, n) => {
729
+ if (ne) return ne;
730
730
  try {
731
- const i = await (await fetch("/config.json")).json(), u = i.baseUri, { unauthorized: d, notFound: m, defaultMessage: g } = i.axiosErrors, E = i.axiosTimeout;
732
- return oe = lt.create({
733
- baseURL: u,
734
- timeout: E
735
- }), oe.interceptors.request.use(
736
- (b) => b
737
- ), oe.interceptors.response.use(
738
- (b) => b,
739
- (b) => {
740
- if (b.response)
741
- switch (t(!0), o("danger"), b.response.status) {
731
+ const a = await (await fetch("/config.json")).json(), l = a.baseUri, { unauthorized: u, notFound: m, defaultMessage: p } = a.axiosErrors, y = a.axiosTimeout;
732
+ return ne = ft.create({
733
+ baseURL: l,
734
+ timeout: y
735
+ }), ne.interceptors.request.use(
736
+ (v) => v
737
+ ), ne.interceptors.response.use(
738
+ (v) => v,
739
+ (v) => {
740
+ if (v.response)
741
+ switch (r(!0), i("danger"), v.response.status) {
742
742
  case 401:
743
- localStorage.removeItem("accessToken"), n(d);
743
+ localStorage.removeItem("accessToken"), n(u);
744
744
  break;
745
745
  case 404:
746
746
  n(m);
747
747
  break;
748
748
  default:
749
- n(`${g} ${b.response.status || ""} ${b.response.data.error || ""}`);
749
+ n(`${p} ${v.response.status || ""} ${v.response.data.error || ""}`);
750
750
  }
751
- return Promise.reject(b);
751
+ return Promise.reject(v);
752
752
  }
753
- ), oe;
754
- } catch (a) {
755
- console.error(a);
753
+ ), ne;
754
+ } catch (s) {
755
+ console.error(s);
756
756
  }
757
- }, et = ne(), Ft = ({ children: t }) => {
758
- const { heartbeatEndpoint: o, firstPrivatePath: n, infiniteSession: a, timeDeducted: i, authenticatedEndpoint: u, autoLogin: d, autoLoginEmail: m, autoLoginPassword: g, setCurrentDate: E, isDebug: b, backendToken: R } = Q(), { setIsLoading: L } = he(), { setShowAlert: f, setMessageAlert: x, setTypeAlert: h, activeAlert: S } = se(), w = Ue(), [j, P] = C(null), [y, T] = C(), [B, ee] = C(), [q, te] = C(), [ie, H] = C(!1), G = async () => await jt(f, h, x), $ = async (O = null, M) => {
759
- O && O.preventDefault(), H(!0);
757
+ }, tt = ie(), Ut = ({ children: r }) => {
758
+ const { heartbeatEndpoint: i, firstPrivatePath: n, infiniteSession: s, timeDeducted: a, authenticatedEndpoint: l, autoLogin: u, autoLoginEmail: m, autoLoginPassword: p, setCurrentDate: y, isDebug: v, backendToken: P } = U(), { setIsLoading: w } = me(), { setShowAlert: d, setMessageAlert: x, setTypeAlert: g, activeAlert: O } = ee(), j = ke(), [S, R] = C(null), [E, N] = C(), [B, te] = C(), [q, re] = C(), [le, J] = C(!1), z = async () => await Ot(d, g, x), F = async (k = null, I) => {
759
+ k && k.preventDefault(), J(!0);
760
760
  try {
761
- L(!0), f(!1);
762
- const _ = await (await G()).post(u, {
763
- auth: M
764
- }), V = _.headers.token, Z = _.data;
765
- V && (localStorage.setItem("accessToken", V), localStorage.setItem("user", JSON.stringify(Z)), P(!0), T(V), w(`${n}${Z.id}`));
766
- } catch (I) {
767
- console.error(I);
761
+ w(!0), d(!1);
762
+ const T = await (await z()).post(l, {
763
+ auth: I
764
+ }), X = T.headers.token, Y = T.data;
765
+ X && (localStorage.setItem("accessToken", X), localStorage.setItem("user", JSON.stringify(Y)), R(!0), N(X), j(`${n}${Y.id}`));
766
+ } catch (A) {
767
+ console.error(A);
768
768
  } finally {
769
- H(!1), L(!1);
769
+ J(!1), w(!1);
770
770
  }
771
- }, F = () => {
772
- localStorage.removeItem("accessToken"), localStorage.removeItem("id"), localStorage.removeItem("user"), P(!1), T(null);
773
- }, J = async () => {
771
+ }, $ = () => {
772
+ localStorage.removeItem("accessToken"), localStorage.removeItem("id"), localStorage.removeItem("user"), R(!1), N(null);
773
+ }, V = async () => {
774
774
  try {
775
- const O = localStorage.getItem("accessToken"), _ = (await (await G()).get(
776
- `${o}`,
775
+ const k = localStorage.getItem("accessToken"), T = (await (await z()).get(
776
+ `${i}`,
777
777
  {
778
778
  headers: {
779
- Authorization: O
779
+ Authorization: k
780
780
  }
781
781
  }
782
782
  )).headers.token;
783
- localStorage.setItem("accessToken", _), T(_), b && console.log("nuovo token: ", _, "Data:", E());
784
- } catch (O) {
785
- console.error(O), F();
783
+ localStorage.setItem("accessToken", T), N(T), v && console.log("nuovo token: ", T, "Data:", y());
784
+ } catch (k) {
785
+ console.error(k), $();
786
786
  }
787
- }, xe = () => {
788
- if (!y)
787
+ }, be = () => {
788
+ if (!E)
789
789
  return;
790
- const M = st(y).exp, I = Math.floor(Date.now() / 1e3), _ = (M - I) * 1e3;
791
- te(_), ee(_ - i);
792
- }, le = async (O) => {
790
+ const I = at(E).exp, A = Math.floor(Date.now() / 1e3), T = (I - A) * 1e3;
791
+ re(T), te(T - a);
792
+ }, ce = async (k) => {
793
793
  try {
794
- const _ = (await (await G()).get(
795
- o,
794
+ const T = (await (await z()).get(
795
+ i,
796
796
  {
797
797
  headers: {
798
- Authorization: O
798
+ Authorization: k
799
799
  }
800
800
  }
801
801
  )).data;
802
- _ && (localStorage.setItem("user", JSON.stringify(_)), localStorage.setItem("accessToken", O), P(!0), w(`${n}${_.id}`));
803
- } catch (M) {
804
- console.error(M);
802
+ T && (localStorage.setItem("user", JSON.stringify(T)), localStorage.setItem("accessToken", k), R(!0), j(`${n}${T.id}`));
803
+ } catch (I) {
804
+ console.error(I);
805
805
  }
806
806
  };
807
- z(() => {
807
+ M(() => {
808
808
  if (localStorage.getItem("accessToken"))
809
- P(!0);
809
+ R(!0);
810
810
  else {
811
- P(!1);
811
+ R(!1);
812
812
  return;
813
813
  }
814
- }, []), z(() => {
815
- d && le(R);
816
- }, [d]), z(() => {
817
- j || d && !ie && le(R);
818
- }, [j]), z(() => {
819
- if (d) return;
820
- xe();
821
- let O;
822
- a && y && B && (O = setInterval(() => {
823
- J();
814
+ }, []), M(() => {
815
+ u && ce(P);
816
+ }, [u]), M(() => {
817
+ S || u && !le && ce(P);
818
+ }, [S]), M(() => {
819
+ if (u) return;
820
+ be();
821
+ let k;
822
+ s && E && B && (k = setInterval(() => {
823
+ V();
824
824
  }, B));
825
- let M;
826
- return !a && y && q && (M = setTimeout(() => {
827
- F(), S("danger", "Sessione scaduta");
825
+ let I;
826
+ return !s && E && q && (I = setTimeout(() => {
827
+ $(), O("danger", "Sessione scaduta");
828
828
  }, q)), () => {
829
- O && clearInterval(O), M && clearTimeout(M);
829
+ k && clearInterval(k), I && clearTimeout(I);
830
830
  };
831
- }, [y, B]);
832
- const ve = {
833
- isAuthenticated: j,
834
- setIsAuthenticated: P,
835
- login: $,
836
- logout: F,
837
- setCurrentToken: T,
838
- createAxiosInstances: G
831
+ }, [E, B]);
832
+ const ye = {
833
+ isAuthenticated: S,
834
+ setIsAuthenticated: R,
835
+ login: F,
836
+ logout: $,
837
+ setCurrentToken: N,
838
+ createAxiosInstances: z
839
839
  };
840
- return /* @__PURE__ */ s.jsx(et.Provider, { value: ve, children: t });
841
- }, je = () => {
842
- const t = ae(et);
843
- if (t === void 0) throw new Error("Non sei dentro al Auth Provider");
844
- return t;
845
- }, tt = ne(), Dt = ({ children: t, publicRoutes: o = [], privateRoutes: n = [] }) => /* @__PURE__ */ s.jsx(tt.Provider, { value: { publicRoutes: o, privateRoutes: n }, children: t }), Lt = () => {
846
- const t = ae(tt);
847
- if (t === void 0)
840
+ return /* @__PURE__ */ o.jsx(tt.Provider, { value: ye, children: r });
841
+ }, ve = () => {
842
+ const r = se(tt);
843
+ if (r === void 0) throw new Error("Non sei dentro al Auth Provider");
844
+ return r;
845
+ }, rt = ie(), qt = ({ children: r, publicRoutes: i = [], privateRoutes: n = [] }) => /* @__PURE__ */ o.jsx(rt.Provider, { value: { publicRoutes: i, privateRoutes: n }, children: r }), kt = () => {
846
+ const r = se(rt);
847
+ if (r === void 0)
848
848
  throw new Error(
849
849
  `Errore: Le rotte non sono state inizializzate correttamente.
850
850
 
@@ -856,274 +856,274 @@ Esempio:
856
856
  <MyPackageRoutes />
857
857
  </RouteProvider>`
858
858
  );
859
- return t;
860
- }, rt = ne(), Wt = ({ children: t }) => {
861
- const { login: o } = je(), { clearLoginFormOnError: n } = Q(), a = {
859
+ return r;
860
+ }, ot = ie(), Jt = ({ children: r }) => {
861
+ const { login: i } = ve(), { clearLoginFormOnError: n } = U(), s = {
862
862
  email: "",
863
863
  password: ""
864
- }, [i, u] = C("Accedi"), [d, m] = C("Email"), [g, E] = C("email"), [b, R] = C("example@example.it"), [L, f] = C("Accedi"), [x, h] = C(a), [S, w] = C(), [j, P] = C(), [y, T] = C(), [B, ee] = C(), [q, te] = C({}), G = {
864
+ }, [a, l] = C("Accedi"), [u, m] = C("Email"), [p, y] = C("email"), [v, P] = C("example@example.it"), [w, d] = C("Accedi"), [x, g] = C(s), [O, j] = C(), [S, R] = C(), [E, N] = C(), [B, te] = C(), [q, re] = C({}), z = {
865
865
  overrideStyle: q,
866
- setOverrideStyle: te,
867
- title: i,
868
- setTitle: u,
869
- label: d,
866
+ setOverrideStyle: re,
867
+ title: a,
868
+ setTitle: l,
869
+ label: u,
870
870
  setLabel: m,
871
- type: g,
872
- setType: E,
873
- placeholder: b,
874
- setPlaceholder: R,
875
- buttonText: L,
876
- setButtonText: f,
871
+ type: p,
872
+ setType: y,
873
+ placeholder: v,
874
+ setPlaceholder: P,
875
+ buttonText: w,
876
+ setButtonText: d,
877
877
  formData: x,
878
- setFormData: h,
879
- LogoImg: S,
880
- setLogoImg: w,
881
- styleCardForm: j,
882
- setStyleCardForm: P,
883
- styleContainerLogo: y,
884
- setStyleContainerLogo: T,
878
+ setFormData: g,
879
+ LogoImg: O,
880
+ setLogoImg: j,
881
+ styleCardForm: S,
882
+ setStyleCardForm: R,
883
+ styleContainerLogo: E,
884
+ setStyleContainerLogo: N,
885
885
  styleLogo: B,
886
- setStyleLogo: ee,
887
- changeData: ($, F) => {
888
- h((J) => ({ ...J, [$]: F }));
886
+ setStyleLogo: te,
887
+ changeData: (F, $) => {
888
+ g((V) => ({ ...V, [F]: $ }));
889
889
  },
890
- handleLogin: ($) => {
891
- o($, x), n && h(a);
890
+ handleLogin: (F) => {
891
+ i(F, x), n && g(s);
892
892
  }
893
893
  };
894
- return /* @__PURE__ */ s.jsx(rt.Provider, { value: G, children: t });
895
- }, ot = () => {
896
- const t = ae(rt);
897
- if (t === void 0) throw new Error("Non puoi modificare La login");
898
- return t;
894
+ return /* @__PURE__ */ o.jsx(ot.Provider, { value: z, children: r });
895
+ }, nt = () => {
896
+ const r = se(ot);
897
+ if (r === void 0) throw new Error("Non puoi modificare La login");
898
+ return r;
899
899
  };
900
- function nt(t) {
901
- return we({ tag: "svg", attr: { version: "1.1", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M8 0c-4.355 0-7.898 3.481-7.998 7.812 0.092-3.779 2.966-6.812 6.498-6.812 3.59 0 6.5 3.134 6.5 7 0 0.828 0.672 1.5 1.5 1.5s1.5-0.672 1.5-1.5c0-4.418-3.582-8-8-8zM8 16c4.355 0 7.898-3.481 7.998-7.812-0.092 3.779-2.966 6.812-6.498 6.812-3.59 0-6.5-3.134-6.5-7 0-0.828-0.672-1.5-1.5-1.5s-1.5 0.672-1.5 1.5c0 4.418 3.582 8 8 8z" }, child: [] }] })(t);
900
+ function it(r) {
901
+ return ae({ tag: "svg", attr: { version: "1.1", viewBox: "0 0 16 16" }, child: [{ tag: "path", attr: { d: "M8 0c-4.355 0-7.898 3.481-7.998 7.812 0.092-3.779 2.966-6.812 6.498-6.812 3.59 0 6.5 3.134 6.5 7 0 0.828 0.672 1.5 1.5 1.5s1.5-0.672 1.5-1.5c0-4.418-3.582-8-8-8zM8 16c4.355 0 7.898-3.481 7.998-7.812-0.092 3.779-2.966 6.812-6.498 6.812-3.59 0-6.5-3.134-6.5-7 0-0.828-0.672-1.5-1.5-1.5s-1.5 0.672-1.5 1.5c0 4.418 3.582 8 8 8z" }, child: [] }] })(r);
902
902
  }
903
- const St = () => {
904
- const { loadingProps: t } = he(), { spinner: o = !0, spinnerStyle: n, text: a, textStyle: i, children: u, containerStyle: d, overrideStyle: m = {} } = t;
905
- return /* @__PURE__ */ s.jsxs("div", { className: m.container || `fixed top-0 bottom-0 left-0 right-0 flex items-center justify-center bg-loading-bg z-[999] ${d}`, children: [
906
- o && /* @__PURE__ */ s.jsx(nt, { className: m.spinner || `text-[20rem] relative animate-spin text-spinner ${n}` }),
907
- u || /* @__PURE__ */ s.jsx("p", { className: m.text || `text-white text-2xl select-none absolute ${i}`, children: a || "Loading..." })
903
+ const Lt = () => {
904
+ const { loadingProps: r } = me(), { spinner: i = !0, spinnerStyle: n, text: s, textStyle: a, children: l, containerStyle: u, overrideStyle: m = {} } = r;
905
+ return /* @__PURE__ */ o.jsxs("div", { className: m.container || `fixed top-0 bottom-0 left-0 right-0 flex items-center justify-center bg-loading-bg z-[999] ${u}`, children: [
906
+ i && /* @__PURE__ */ o.jsx(it, { className: m.spinner || `text-[20rem] relative animate-spin text-spinner ${n}` }),
907
+ l || /* @__PURE__ */ o.jsx("p", { className: m.text || `text-white text-2xl select-none absolute ${a}`, children: s || "Loading..." })
908
908
  ] });
909
909
  };
910
- function Ot(t) {
911
- return we({ tag: "svg", attr: { viewBox: "0 0 15 15", fill: "none" }, child: [{ tag: "path", attr: { fillRule: "evenodd", clipRule: "evenodd", d: "M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z", fill: "currentColor" }, child: [] }] })(t);
910
+ function Pt(r) {
911
+ return ae({ tag: "svg", attr: { viewBox: "0 0 15 15", fill: "none" }, child: [{ tag: "path", attr: { fillRule: "evenodd", clipRule: "evenodd", d: "M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z", fill: "currentColor" }, child: [] }] })(r);
912
912
  }
913
- const We = () => {
914
- const { messageAlert: t, typeAlert: o, alertConfig: n, getIcon: a, closeAlert: i } = se(), { alertTimeout: u } = Q(), [d, m] = C(0), { bgColor: g, textColor: E, buttonBg: b, hoverBg: R, focusRing: L, progressColor: f } = n[o];
915
- return z(() => {
913
+ const Ue = () => {
914
+ const { messageAlert: r, typeAlert: i, alertConfig: n, getIcon: s, closeAlert: a } = ee(), { alertTimeout: l } = U(), [u, m] = C(0), { bgColor: p, textColor: y, buttonBg: v, hoverBg: P, focusRing: w, progressColor: d } = n[i];
915
+ return M(() => {
916
916
  let x;
917
- const S = 100 / (u / 100);
917
+ const O = 100 / (l / 100);
918
918
  x = setInterval(() => {
919
- m((j) => j >= 100 ? (clearInterval(x), 100) : j + S);
919
+ m((S) => S >= 100 ? (clearInterval(x), 100) : S + O);
920
920
  }, 100);
921
- const w = setTimeout(() => {
922
- i();
923
- }, u);
921
+ const j = setTimeout(() => {
922
+ a();
923
+ }, l);
924
924
  return () => {
925
- clearTimeout(w), clearInterval(x);
925
+ clearTimeout(j), clearInterval(x);
926
926
  };
927
- }, []), /* @__PURE__ */ s.jsxs("div", { className: `flex items-center p-4 pt-6 ${E} rounded-lg ${g} mx-auto max-sm:min-w-[280px] sm:max-w-1/3 fixed top-[calc(100vh-100px)] sm:right-10 right-1/2 translate-x-1/2 sm:translate-0 z-100`, role: "alert", children: [
928
- /* @__PURE__ */ s.jsx("div", { className: "w-full bg-gray-200 rounded-t-lg overflow-hidden h-2.5 absolute top-0 left-0 right-0", children: /* @__PURE__ */ s.jsx("div", { className: `${f} h-2.5 rounded-t-lg`, style: { width: `${d}%` } }) }),
929
- a(o),
930
- /* @__PURE__ */ s.jsx("div", { className: "px-4 text-sm font-medium", children: t }),
931
- /* @__PURE__ */ s.jsx(
927
+ }, []), /* @__PURE__ */ o.jsxs("div", { className: `flex items-center p-4 pt-6 ${y} rounded-lg ${p} mx-auto max-sm:min-w-[280px] sm:max-w-1/3 fixed top-[calc(100vh-100px)] sm:right-10 right-1/2 translate-x-1/2 sm:translate-0 z-100`, role: "alert", children: [
928
+ /* @__PURE__ */ o.jsx("div", { className: "w-full bg-gray-200 rounded-t-lg overflow-hidden h-2.5 absolute top-0 left-0 right-0", children: /* @__PURE__ */ o.jsx("div", { className: `${d} h-2.5 rounded-t-lg`, style: { width: `${u}%` } }) }),
929
+ s(i),
930
+ /* @__PURE__ */ o.jsx("div", { className: "px-4 text-sm font-medium", children: r }),
931
+ /* @__PURE__ */ o.jsx(
932
932
  "button",
933
933
  {
934
934
  type: "button",
935
- className: `ms-auto ${b} rounded-lg focus:ring-2 ${L} p-1.5 ${R} inline-flex items-center justify-center h-8 w-8 cursor-pointer`,
935
+ className: `ms-auto ${v} rounded-lg focus:ring-2 ${w} p-1.5 ${P} inline-flex items-center justify-center h-8 w-8 cursor-pointer`,
936
936
  title: "Close",
937
- onClick: i,
938
- children: /* @__PURE__ */ s.jsx(Ot, { className: "text-xl" })
937
+ onClick: a,
938
+ children: /* @__PURE__ */ o.jsx(Pt, { className: "text-xl" })
939
939
  }
940
940
  )
941
941
  ] });
942
- }, kt = (t) => {
943
- const { isLoading: o } = he(), { showAlert: n } = se(), a = qe(), {
944
- isMain: i = !0,
945
- headerComponent: u = null,
946
- showHeaderOnLogin: d = !1,
942
+ }, Rt = (r) => {
943
+ const { isLoading: i } = me(), { showAlert: n } = ee(), s = Le(), {
944
+ isMain: a = !0,
945
+ headerComponent: l = null,
946
+ showHeaderOnLogin: u = !1,
947
947
  headerExcludedRoutes: m = [],
948
- footerComponent: g = null,
949
- showFooterOnLogin: E = !1,
950
- footerExcludedRoutes: b = []
951
- } = t, R = m.some((h) => ze(h, a.pathname));
952
- let L;
953
- a.pathname === "/" ? L = u && d : L = u && !R;
954
- const f = b.some((h) => ze(h, a.pathname));
948
+ footerComponent: p = null,
949
+ showFooterOnLogin: y = !1,
950
+ footerExcludedRoutes: v = []
951
+ } = r, P = m.some((g) => $e(g, s.pathname));
952
+ let w;
953
+ s.pathname === "/" ? w = l && u : w = l && !P;
954
+ const d = v.some((g) => $e(g, s.pathname));
955
955
  let x;
956
- return a.pathname === "/" ? x = g && E : x = g && !f, /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
957
- o && /* @__PURE__ */ s.jsx(St, {}),
958
- n && /* @__PURE__ */ s.jsx(We, {}),
959
- L && u,
960
- i ? /* @__PURE__ */ s.jsxs("main", { className: o ? "hidden" : "", children: [
961
- n && /* @__PURE__ */ s.jsx(We, {}),
962
- /* @__PURE__ */ s.jsx(Ce, {})
963
- ] }) : /* @__PURE__ */ s.jsx(Ce, {}),
964
- x && g
956
+ return s.pathname === "/" ? x = p && y : x = p && !d, /* @__PURE__ */ o.jsxs(o.Fragment, { children: [
957
+ i && /* @__PURE__ */ o.jsx(Lt, {}),
958
+ n && /* @__PURE__ */ o.jsx(Ue, {}),
959
+ w && l,
960
+ a ? /* @__PURE__ */ o.jsxs("main", { className: i ? "hidden" : "", children: [
961
+ n && /* @__PURE__ */ o.jsx(Ue, {}),
962
+ /* @__PURE__ */ o.jsx(je, {})
963
+ ] }) : /* @__PURE__ */ o.jsx(je, {}),
964
+ x && p
965
965
  ] });
966
- }, Ye = (t) => {
966
+ }, Se = (r) => {
967
967
  const {
968
- inputType: o,
968
+ inputType: i,
969
969
  inputId: n,
970
- inputPlaceholder: a,
971
- inputRequired: i,
972
- inputValue: u,
973
- inputChange: d,
970
+ inputPlaceholder: s,
971
+ inputRequired: a,
972
+ inputValue: l,
973
+ inputChange: u,
974
974
  autoFocus: m,
975
- inputStyle: g,
976
- overrideStyle: E,
977
- disabled: b
978
- } = t, L = ["text", "email", "password", "search", "tel", "url"].includes(o) ? o : "text";
979
- return /* @__PURE__ */ s.jsx(
975
+ inputStyle: p,
976
+ overrideStyle: y,
977
+ disabled: v
978
+ } = r, w = ["text", "email", "password", "search", "tel", "url"].includes(i) ? i : "text";
979
+ return /* @__PURE__ */ o.jsx(
980
980
  "input",
981
981
  {
982
- type: L,
982
+ type: w,
983
983
  autoFocus: m,
984
984
  id: n,
985
- className: E || `bg-input-bg border border-input-border text-input-text text-input-placeholder input-rounded focus:ring focus:ring-primary focus:border-primary focus:outline-none focus:shadow-(--shadow-primary-input) block w-full p-input ${g}`,
986
- placeholder: a,
987
- required: i ?? !0,
988
- value: u,
989
- onChange: d,
990
- disabled: b
985
+ className: y || `bg-input-bg border border-input-border text-input-text text-input-placeholder input-rounded focus:ring focus:ring-primary focus:border-primary focus:outline-none focus:shadow-(--shadow-primary-input) block w-full p-input ${p}`,
986
+ placeholder: s,
987
+ required: a ?? !0,
988
+ value: l,
989
+ onChange: u,
990
+ disabled: v
991
991
  }
992
992
  );
993
- }, Ze = ({ label: t, labelId: o, labelStyle: n, overrideStyle: a }) => /* @__PURE__ */ s.jsx("label", { htmlFor: o, className: a || `show-label mb-2 text-input-label font-medium text-color-label ${n}`, children: t }), Pt = () => {
994
- const { title: t, label: o, type: n, placeholder: a, buttonText: i, formData: u, changeData: d, handleLogin: m, overrideStyle: g } = ot();
995
- return /* @__PURE__ */ s.jsxs("form", { onSubmit: m, className: g.form || "form-size", children: [
996
- /* @__PURE__ */ s.jsx("h1", { className: g.title || "text-form-title-size show-title title-position m-form-title", children: t }),
997
- /* @__PURE__ */ s.jsxs("div", { className: g.containerEmail || "flex justify-center flex-col gap-1 m-input-form input-size mx-auto", children: [
998
- /* @__PURE__ */ s.jsx(Ze, { labelId: "user-email", label: o }),
999
- /* @__PURE__ */ s.jsx(
1000
- Ye,
993
+ }, Oe = ({ label: r, labelId: i, labelStyle: n, overrideStyle: s }) => /* @__PURE__ */ o.jsx("label", { htmlFor: i, className: s || `show-label mb-2 text-input-label font-medium text-color-label ${n}`, children: r }), Nt = () => {
994
+ const { title: r, label: i, type: n, placeholder: s, buttonText: a, formData: l, changeData: u, handleLogin: m, overrideStyle: p } = nt();
995
+ return /* @__PURE__ */ o.jsxs("form", { onSubmit: m, className: p.form || "form-size", children: [
996
+ /* @__PURE__ */ o.jsx("h1", { className: p.title || "text-form-title-size show-title title-position m-form-title", children: r }),
997
+ /* @__PURE__ */ o.jsxs("div", { className: p.containerEmail || "flex justify-center flex-col gap-1 m-input-form input-size mx-auto", children: [
998
+ /* @__PURE__ */ o.jsx(Oe, { labelId: "user-email", label: i }),
999
+ /* @__PURE__ */ o.jsx(
1000
+ Se,
1001
1001
  {
1002
1002
  inputType: n,
1003
1003
  inputId: "user-email",
1004
- inputPlaceholder: a,
1005
- inputValue: u.email,
1006
- inputChange: (E) => {
1007
- d("email", E.target.value);
1004
+ inputPlaceholder: s,
1005
+ inputValue: l.email,
1006
+ inputChange: (y) => {
1007
+ u("email", y.target.value);
1008
1008
  },
1009
1009
  autoFocus: !0
1010
1010
  }
1011
1011
  )
1012
1012
  ] }),
1013
- /* @__PURE__ */ s.jsxs("div", { className: g.containerPassword || "flex justify-center flex-col gap-1 my-4 input-size mx-auto", children: [
1014
- /* @__PURE__ */ s.jsx(Ze, { labelId: "password", label: "Password" }),
1015
- /* @__PURE__ */ s.jsx(
1016
- Ye,
1013
+ /* @__PURE__ */ o.jsxs("div", { className: p.containerPassword || "flex justify-center flex-col gap-1 my-4 input-size mx-auto", children: [
1014
+ /* @__PURE__ */ o.jsx(Oe, { labelId: "password", label: "Password" }),
1015
+ /* @__PURE__ */ o.jsx(
1016
+ Se,
1017
1017
  {
1018
1018
  inputType: "password",
1019
1019
  inputId: "password",
1020
1020
  inputPlaceholder: "Password",
1021
- inputValue: u.password,
1022
- inputChange: (E) => {
1023
- d("password", E.target.value);
1021
+ inputValue: l.password,
1022
+ inputChange: (y) => {
1023
+ u("password", y.target.value);
1024
1024
  }
1025
1025
  }
1026
1026
  )
1027
1027
  ] }),
1028
- /* @__PURE__ */ s.jsx("div", { className: g.containerButton || "flex button-position items-center m-primary-button", children: /* @__PURE__ */ s.jsx("button", { className: g.button || "font-bold cursor-pointer shadow-(--shadow-primary) transition-all duration-200 hover:shadow-(--shadow-primary-hover) active:shadow-(--shadow-primary-active) active:translate-y-[2px] p-primary-button rounded-primary-button bg-primary hover:bg-primary-hover text-primary-text", children: i }) })
1028
+ /* @__PURE__ */ o.jsx("div", { className: p.containerButton || "flex button-position items-center m-primary-button", children: /* @__PURE__ */ o.jsx("button", { className: p.button || "font-bold cursor-pointer shadow-(--shadow-primary) transition-all duration-200 hover:shadow-(--shadow-primary-hover) active:shadow-(--shadow-primary-active) active:translate-y-[2px] p-primary-button rounded-primary-button bg-primary hover:bg-primary-hover text-primary-text", children: a }) })
1029
1029
  ] });
1030
- }, Rt = ({ Logo: t }) => {
1031
- const { styleCardForm: o, styleContainerLogo: n, styleLogo: a, overrideStyle: i } = ot(), { firstPrivatePath: u } = Q(), d = Ue();
1032
- return z(() => {
1030
+ }, Gt = ({ Logo: r }) => {
1031
+ const { styleCardForm: i, styleContainerLogo: n, styleLogo: s, overrideStyle: a } = nt(), { firstPrivatePath: l } = U(), u = ke();
1032
+ return M(() => {
1033
1033
  const m = JSON.parse(localStorage.getItem("user"));
1034
- localStorage.getItem("accessToken") && m.id && d(`${u}${m.id}`);
1035
- }, []), /* @__PURE__ */ s.jsx("section", { id: "login-page", children: /* @__PURE__ */ s.jsx("div", { className: i.container || "container mx-auto flex items-center justify-center h-screen", children: /* @__PURE__ */ s.jsxs("div", { className: i.cardForm || `bg-form card-style card-size flex flex-col sm:flex-row sm:items-center justify-center ${o}`, children: [
1036
- /* @__PURE__ */ s.jsx("div", { className: i.containerLogo || `basis-1/2 flex items-center justify-center ${n}`, children: t && /* @__PURE__ */ s.jsx(t, { className: i.logo || `login-logo h-full sm:h-auto ${a}` }) }),
1037
- /* @__PURE__ */ s.jsx(Pt, {})
1034
+ localStorage.getItem("accessToken") && m.id && u(`${l}${m.id}`);
1035
+ }, []), /* @__PURE__ */ o.jsx("section", { id: "login-page", children: /* @__PURE__ */ o.jsx("div", { className: a.container || "container mx-auto flex items-center justify-center h-screen", children: /* @__PURE__ */ o.jsxs("div", { className: a.cardForm || `bg-form card-style card-size flex flex-col sm:flex-row sm:items-center justify-center ${i}`, children: [
1036
+ /* @__PURE__ */ o.jsx("div", { className: a.containerLogo || `basis-1/2 flex items-center justify-center ${n}`, children: r && /* @__PURE__ */ o.jsx(r, { className: a.logo || `login-logo h-full sm:h-auto ${s}` }) }),
1037
+ /* @__PURE__ */ o.jsx(Nt, {})
1038
1038
  ] }) }) });
1039
1039
  }, Tt = () => {
1040
- const { isAuthenticated: t } = je(), { activeAlert: o } = se(), { autoLogin: n } = Q();
1041
- return z(() => {
1042
- const a = localStorage.getItem("accessToken");
1043
- !t && !a && !n && o("danger", "Non sei autorizzato");
1044
- }, []), t === null ? null : t ? /* @__PURE__ */ s.jsx(Ce, {}) : /* @__PURE__ */ s.jsx(He, { to: "/", replace: !0 });
1045
- }, Nt = () => {
1046
- const { logout: t, setCurrentToken: o, createAxiosInstances: n } = je(), { usersEndpoint: a } = Q(), { setIsLoading: i } = he(), { activeAlert: u } = se(), [d, m] = C(null), [g, E] = C(!1), b = JSON.parse(localStorage.getItem("user")), R = async () => {
1040
+ const { isAuthenticated: r } = ve(), { activeAlert: i } = ee(), { autoLogin: n } = U();
1041
+ return M(() => {
1042
+ const s = localStorage.getItem("accessToken");
1043
+ !r && !s && !n && i("danger", "Non sei autorizzato");
1044
+ }, []), r === null ? null : r ? /* @__PURE__ */ o.jsx(je, {}) : /* @__PURE__ */ o.jsx(Je, { to: "/", replace: !0 });
1045
+ }, _t = () => {
1046
+ const { logout: r, setCurrentToken: i, createAxiosInstances: n } = ve(), { usersEndpoint: s } = U(), { setIsLoading: a } = me(), { activeAlert: l } = ee(), [u, m] = C(null), [p, y] = C(!1), v = JSON.parse(localStorage.getItem("user")), P = async () => {
1047
1047
  try {
1048
- E(!0);
1049
- const f = localStorage.getItem("accessToken");
1050
- if (!f) {
1051
- t(), u("danger", "Sessione Scaduta");
1048
+ y(!0);
1049
+ const d = localStorage.getItem("accessToken");
1050
+ if (!d) {
1051
+ r(), l("danger", "Sessione Scaduta");
1052
1052
  return;
1053
1053
  }
1054
- const S = (await (await n()).get(
1055
- `${a}`,
1054
+ const O = (await (await n()).get(
1055
+ `${s}`,
1056
1056
  {
1057
1057
  headers: {
1058
- Authorization: `Bearer ${f}`
1058
+ Authorization: `Bearer ${d}`
1059
1059
  }
1060
1060
  }
1061
1061
  )).data;
1062
- m(S);
1063
- } catch (f) {
1064
- console.error(f), i(!1);
1062
+ m(O);
1063
+ } catch (d) {
1064
+ console.error(d), a(!1);
1065
1065
  } finally {
1066
- E(!1);
1066
+ y(!1);
1067
1067
  }
1068
- }, L = () => {
1069
- t(), u("info", "Hai effettuato il logout");
1068
+ }, w = () => {
1069
+ r(), l("info", "Hai effettuato il logout");
1070
1070
  };
1071
- return z(() => {
1072
- const f = localStorage.getItem("accessToken");
1073
- f && o(f);
1074
- }, []), /* @__PURE__ */ s.jsx("section", { children: /* @__PURE__ */ s.jsxs("div", { className: "container mx-auto py-8", children: [
1075
- /* @__PURE__ */ s.jsxs("div", { className: "flex items-center justify-center gap-8 h-20", children: [
1076
- /* @__PURE__ */ s.jsxs("h1", { className: "text-4xl text-center text-slate-800", children: [
1071
+ return M(() => {
1072
+ const d = localStorage.getItem("accessToken");
1073
+ d && i(d);
1074
+ }, []), /* @__PURE__ */ o.jsx("section", { children: /* @__PURE__ */ o.jsxs("div", { className: "container mx-auto py-8", children: [
1075
+ /* @__PURE__ */ o.jsxs("div", { className: "flex items-center justify-center gap-8 h-20", children: [
1076
+ /* @__PURE__ */ o.jsxs("h1", { className: "text-4xl text-center text-slate-800", children: [
1077
1077
  "Email: ",
1078
- b.email
1078
+ v.email
1079
1079
  ] }),
1080
- /* @__PURE__ */ s.jsx(
1080
+ /* @__PURE__ */ o.jsx(
1081
1081
  "button",
1082
1082
  {
1083
- onClick: L,
1083
+ onClick: w,
1084
1084
  className: "bg-red-500 hover:bg-red-700 text-white font-bold py-2 px-4 rounded-full cursor-pointer shadow-[0_4px_10px_rgba(239,68,68,0.3),0_2px_4px_rgba(239,68,68,0.2)] hover:shadow-[0_6px_14px_rgba(185,28,28,0.4),0_3px_6px_rgba(185,28,28,0.3)] active:shadow-[0_2px_5px_rgba(239,68,68,0.3)] transition-all duration-200 active:translate-y-[2px]",
1085
1085
  children: "Logout"
1086
1086
  }
1087
1087
  )
1088
1088
  ] }),
1089
- /* @__PURE__ */ s.jsx("div", { className: "flex justify-center items-center my-12 gap-8", children: /* @__PURE__ */ s.jsx(
1089
+ /* @__PURE__ */ o.jsx("div", { className: "flex justify-center items-center my-12 gap-8", children: /* @__PURE__ */ o.jsx(
1090
1090
  "button",
1091
1091
  {
1092
- onClick: R,
1092
+ onClick: P,
1093
1093
  className: "bg-blue-500 hover:bg-blue-700 text-white font-bold py-2 px-4 rounded-full disabled:bg-blue-300 disabled:text-gray-500 disabled:cursor-not-allowed cursor-pointer transition-all duration-200 active:translate-y-[2px] shadow-[0_4px_10px_rgba(59,130,246,0.3),0_2px_4px_rgba(59,130,246,0.2)] hover:shadow-[0_6px_14px_rgba(29,78,216,0.4),0_3px_6px_rgba(29,78,216,0.3)] active:shadow-[0_2px_5px_rgba(59,130,246,0.3)]",
1094
- disabled: g,
1094
+ disabled: p,
1095
1095
  children: "Lista degli utenti"
1096
1096
  }
1097
1097
  ) }),
1098
- /* @__PURE__ */ s.jsx("div", { className: "flex justify-center items-center", children: d && /* @__PURE__ */ s.jsx("ul", { children: d.map((f) => /* @__PURE__ */ s.jsxs("li", { className: "text-xl my-4", children: [
1099
- f.id,
1098
+ /* @__PURE__ */ o.jsx("div", { className: "flex justify-center items-center", children: u && /* @__PURE__ */ o.jsx("ul", { children: u.map((d) => /* @__PURE__ */ o.jsxs("li", { className: "text-xl my-4", children: [
1099
+ d.id,
1100
1100
  " - ",
1101
- f.email
1102
- ] }, `user-${f.id}`)) }) })
1101
+ d.email
1102
+ ] }, `user-${d.id}`)) }) })
1103
1103
  ] }) });
1104
- }, _t = (t) => /* @__PURE__ */ r.createElement("svg", { width: "108.41262mm", height: "108.41262mm", viewBox: "0 0 108.41262 108.41262", id: "svg1", xmlSpace: "preserve", xmlnsXlink: "http://www.w3.org/1999/xlink", xmlns: "http://www.w3.org/2000/svg", "xmlns:svg": "http://www.w3.org/2000/svg", ...t }, /* @__PURE__ */ r.createElement("defs", { id: "defs1" }, /* @__PURE__ */ r.createElement("linearGradient", { id: "linearGradient27" }, /* @__PURE__ */ r.createElement("stop", { style: {
1104
+ }, It = (r) => /* @__PURE__ */ t.createElement("svg", { width: "108.41262mm", height: "108.41262mm", viewBox: "0 0 108.41262 108.41262", id: "svg1", xmlSpace: "preserve", xmlnsXlink: "http://www.w3.org/1999/xlink", xmlns: "http://www.w3.org/2000/svg", "xmlns:svg": "http://www.w3.org/2000/svg", ...r }, /* @__PURE__ */ t.createElement("defs", { id: "defs1" }, /* @__PURE__ */ t.createElement("linearGradient", { id: "linearGradient27" }, /* @__PURE__ */ t.createElement("stop", { style: {
1105
1105
  stopColor: "#ff0000",
1106
1106
  stopOpacity: 1
1107
- }, offset: 0, id: "stop27" }), /* @__PURE__ */ r.createElement("stop", { style: {
1107
+ }, offset: 0, id: "stop27" }), /* @__PURE__ */ t.createElement("stop", { style: {
1108
1108
  stopColor: "#ffca00",
1109
1109
  stopOpacity: 0.96862745
1110
- }, offset: 1, id: "stop28" })), /* @__PURE__ */ r.createElement("linearGradient", { xlinkHref: "#linearGradient27", id: "linearGradient28", x1: 35.001785, y1: 192.35495, x2: 143.4144, y2: 83.942337, gradientUnits: "userSpaceOnUse" }), /* @__PURE__ */ r.createElement("filter", { style: {
1110
+ }, offset: 1, id: "stop28" })), /* @__PURE__ */ t.createElement("linearGradient", { xlinkHref: "#linearGradient27", id: "linearGradient28", x1: 35.001785, y1: 192.35495, x2: 143.4144, y2: 83.942337, gradientUnits: "userSpaceOnUse" }), /* @__PURE__ */ t.createElement("filter", { style: {
1111
1111
  colorInterpolationFilters: "sRGB"
1112
- }, id: "filter90", x: -0.059506074, y: -0.12477839, width: 1.1465613, height: 1.3073246 }, /* @__PURE__ */ r.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 1, floodColor: "rgb(0,0,0)", id: "feFlood89" }), /* @__PURE__ */ r.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0.9, id: "feGaussianBlur89" }), /* @__PURE__ */ r.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset89" }), /* @__PURE__ */ r.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite89" }), /* @__PURE__ */ r.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite90" })), /* @__PURE__ */ r.createElement("filter", { style: {
1112
+ }, id: "filter90", x: -0.059506074, y: -0.12477839, width: 1.1465613, height: 1.3073246 }, /* @__PURE__ */ t.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 1, floodColor: "rgb(0,0,0)", id: "feFlood89" }), /* @__PURE__ */ t.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0.9, id: "feGaussianBlur89" }), /* @__PURE__ */ t.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset89" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite89" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite90" })), /* @__PURE__ */ t.createElement("filter", { style: {
1113
1113
  colorInterpolationFilters: "sRGB"
1114
- }, id: "filter147", x: -0.31473854, y: -0.27257434, width: 1.6432813, height: 1.5822092 }, /* @__PURE__ */ r.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(255,255,255)", id: "feFlood146" }), /* @__PURE__ */ r.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 9.5, id: "feGaussianBlur146" }), /* @__PURE__ */ r.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 3.1, id: "feOffset146" }), /* @__PURE__ */ r.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite146" }), /* @__PURE__ */ r.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite147" })), /* @__PURE__ */ r.createElement("filter", { style: {
1114
+ }, id: "filter147", x: -0.31473854, y: -0.27257434, width: 1.6432813, height: 1.5822092 }, /* @__PURE__ */ t.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(255,255,255)", id: "feFlood146" }), /* @__PURE__ */ t.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 9.5, id: "feGaussianBlur146" }), /* @__PURE__ */ t.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 3.1, id: "feOffset146" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite146" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite147" })), /* @__PURE__ */ t.createElement("filter", { style: {
1115
1115
  colorInterpolationFilters: "sRGB"
1116
- }, id: "filter385", x: 0, y: 0, width: 1.0518825, height: 1.0518825 }, /* @__PURE__ */ r.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(105,0,0)", id: "feFlood384" }), /* @__PURE__ */ r.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0, id: "feGaussianBlur384" }), /* @__PURE__ */ r.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset384" }), /* @__PURE__ */ r.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite384" }), /* @__PURE__ */ r.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite385" })), /* @__PURE__ */ r.createElement("filter", { style: {
1116
+ }, id: "filter385", x: 0, y: 0, width: 1.0518825, height: 1.0518825 }, /* @__PURE__ */ t.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(105,0,0)", id: "feFlood384" }), /* @__PURE__ */ t.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0, id: "feGaussianBlur384" }), /* @__PURE__ */ t.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset384" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite384" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite385" })), /* @__PURE__ */ t.createElement("filter", { style: {
1117
1117
  colorInterpolationFilters: "sRGB"
1118
- }, id: "filter387", x: 0, y: 0, width: 1.0518825, height: 1.0518825 }, /* @__PURE__ */ r.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(105,0,0)", id: "feFlood385" }), /* @__PURE__ */ r.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0, id: "feGaussianBlur385" }), /* @__PURE__ */ r.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset385" }), /* @__PURE__ */ r.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite386" }), /* @__PURE__ */ r.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite387" })), /* @__PURE__ */ r.createElement("filter", { style: {
1118
+ }, id: "filter387", x: 0, y: 0, width: 1.0518825, height: 1.0518825 }, /* @__PURE__ */ t.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(105,0,0)", id: "feFlood385" }), /* @__PURE__ */ t.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0, id: "feGaussianBlur385" }), /* @__PURE__ */ t.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset385" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite386" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite387" })), /* @__PURE__ */ t.createElement("filter", { style: {
1119
1119
  colorInterpolationFilters: "sRGB"
1120
- }, id: "filter389", x: 0, y: 0, width: 1.0518825, height: 1.0518825 }, /* @__PURE__ */ r.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(105,0,0)", id: "feFlood387" }), /* @__PURE__ */ r.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0, id: "feGaussianBlur387" }), /* @__PURE__ */ r.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset387" }), /* @__PURE__ */ r.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite388" }), /* @__PURE__ */ r.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite389" })), /* @__PURE__ */ r.createElement("filter", { style: {
1120
+ }, id: "filter389", x: 0, y: 0, width: 1.0518825, height: 1.0518825 }, /* @__PURE__ */ t.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(105,0,0)", id: "feFlood387" }), /* @__PURE__ */ t.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0, id: "feGaussianBlur387" }), /* @__PURE__ */ t.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset387" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite388" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite389" })), /* @__PURE__ */ t.createElement("filter", { style: {
1121
1121
  colorInterpolationFilters: "sRGB"
1122
- }, id: "filter391", x: 0, y: 0, width: 1.0518825, height: 1.0518825 }, /* @__PURE__ */ r.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(105,0,0)", id: "feFlood389" }), /* @__PURE__ */ r.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0, id: "feGaussianBlur389" }), /* @__PURE__ */ r.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset389" }), /* @__PURE__ */ r.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite390" }), /* @__PURE__ */ r.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite391" })), /* @__PURE__ */ r.createElement("filter", { style: {
1122
+ }, id: "filter391", x: 0, y: 0, width: 1.0518825, height: 1.0518825 }, /* @__PURE__ */ t.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(105,0,0)", id: "feFlood389" }), /* @__PURE__ */ t.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0, id: "feGaussianBlur389" }), /* @__PURE__ */ t.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset389" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite390" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite391" })), /* @__PURE__ */ t.createElement("filter", { style: {
1123
1123
  colorInterpolationFilters: "sRGB"
1124
- }, id: "filter393", x: 0, y: 0, width: 1.0518825, height: 1.0518825 }, /* @__PURE__ */ r.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(105,0,0)", id: "feFlood391" }), /* @__PURE__ */ r.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0, id: "feGaussianBlur391" }), /* @__PURE__ */ r.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset391" }), /* @__PURE__ */ r.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite392" }), /* @__PURE__ */ r.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite393" })), /* @__PURE__ */ r.createElement("filter", { style: {
1124
+ }, id: "filter393", x: 0, y: 0, width: 1.0518825, height: 1.0518825 }, /* @__PURE__ */ t.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(105,0,0)", id: "feFlood391" }), /* @__PURE__ */ t.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0, id: "feGaussianBlur391" }), /* @__PURE__ */ t.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset391" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite392" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite393" })), /* @__PURE__ */ t.createElement("filter", { style: {
1125
1125
  colorInterpolationFilters: "sRGB"
1126
- }, id: "filter395", x: 0, y: 0, width: 1.0112203, height: 1.010137 }, /* @__PURE__ */ r.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(105,0,0)", id: "feFlood393" }), /* @__PURE__ */ r.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0, id: "feGaussianBlur393" }), /* @__PURE__ */ r.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset393" }), /* @__PURE__ */ r.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite394" }), /* @__PURE__ */ r.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite395" }))), /* @__PURE__ */ r.createElement("g", { id: "layer1", transform: "translate(-35.001785,-83.942337)" }, /* @__PURE__ */ r.createElement("rect", { style: {
1126
+ }, id: "filter395", x: 0, y: 0, width: 1.0112203, height: 1.010137 }, /* @__PURE__ */ t.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(105,0,0)", id: "feFlood393" }), /* @__PURE__ */ t.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0, id: "feGaussianBlur393" }), /* @__PURE__ */ t.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset393" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite394" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite395" }))), /* @__PURE__ */ t.createElement("g", { id: "layer1", transform: "translate(-35.001785,-83.942337)" }, /* @__PURE__ */ t.createElement("rect", { style: {
1127
1127
  fill: "url(#linearGradient28)",
1128
1128
  fillOpacity: 1,
1129
1129
  fillRule: "evenodd",
@@ -1131,15 +1131,15 @@ const We = () => {
1131
1131
  strokeWidth: 0,
1132
1132
  strokeOpacity: 1,
1133
1133
  paintOrder: "stroke markers fill"
1134
- }, id: "rect26", width: 108.41262, height: 108.41262, x: 35.001785, y: 83.942337, rx: 30, ry: 30 }), /* @__PURE__ */ r.createElement("g", { id: "g1", transform: "matrix(0.90701349,0,0,0.90701349,9.3696997,14.003172)", style: {
1134
+ }, id: "rect26", width: 108.41262, height: 108.41262, x: 35.001785, y: 83.942337, rx: 30, ry: 30 }), /* @__PURE__ */ t.createElement("g", { id: "g1", transform: "matrix(0.90701349,0,0,0.90701349,9.3696997,14.003172)", style: {
1135
1135
  strokeWidth: 1.10252
1136
- } }, /* @__PURE__ */ r.createElement("path", { id: "path272", style: {
1136
+ } }, /* @__PURE__ */ t.createElement("path", { id: "path272", style: {
1137
1137
  fill: "#000000",
1138
1138
  strokeWidth: 1.10252
1139
- }, d: "m 103.62373,105.0137 c -0.2695,0.002 -0.78905,0.20889 -1.00345,0.40037 -0.0723,0.0646 -0.21317,0.24236 -0.313,0.39478 l -0.18141,0.27703 -0.0181,18.06409 -0.0178,18.06382 h -1.52343 -1.523699 l -2.7e-4,-9.75061 c -5.1e-4,-10.41143 -0.004,-10.51883 -0.34443,-11.94691 -1.39786,-5.8616 -6.2432,-10.12876 -12.21276,-10.75566 -1.515814,-0.1589 -19.83671,-0.16023 -20.462316,-0.003 l -0.0017,-0.004 -19.984159,3.5751 18.852043,2.16035 v 6.07801 l -17.36031,3.10307 17.360304,1.98933 v 6.52314 l -17.360304,3.10307 14.274817,1.63584 -0.01572,4.90514 -0.01864,5.72665 -0.63026,0.1252 c -1.586894,0.3153 -3.197032,1.06826 -4.528475,2.1172 -2.205268,1.73733 -3.741586,4.44584 -4.052716,7.1446 -0.370335,3.21237 0.552005,6.19841 2.657413,8.60144 1.687848,1.92642 4.173186,3.25989 6.695215,3.59241 v -5.2e-4 c 0.823968,0.10864 2.933749,0.0318 3.671522,-0.13399 0.932239,-0.20951 1.790163,-0.51486 2.636639,-0.93819 2.065707,-1.03314 3.823794,-2.77572 4.827084,-4.78447 0.504382,-1.00984 0.910162,-2.2066 1.026636,-3.02875 l 0.04632,-0.32925 h 9.414169 9.413628 v 0.21364 c 0,0.11749 0.0641,0.46829 0.14251,0.77944 0.90405,3.58952 3.50881,6.4605 6.974649,7.68694 1.34306,0.47527 1.94661,0.56832 3.65554,0.56367 1.31935,-0.003 1.6122,-0.0248 2.18192,-0.1577 3.36735,-0.785 6.02631,-2.86016 7.51461,-5.86464 0.44078,-0.88981 0.88236,-2.20383 0.97202,-2.8921 l 0.0429,-0.32925 7.18349,-0.002 c 7.08058,-0.002 7.18734,-0.003 7.49462,-0.14278 0.6474,-0.29351 0.90064,-0.70316 0.90064,-1.45738 0,-0.56862 -0.16856,-0.94445 -0.54982,-1.22508 -0.50606,-0.37245 -0.22593,-0.35988 -7.89979,-0.35988 h -7.11582 l -0.11721,-0.59669 c -0.2611,-1.32878 -0.84786,-2.70966 -1.68167,-3.95762 -0.57002,-0.85316 -2.01938,-2.29531 -2.86466,-2.85108 -1.21392,-0.79816 -2.80463,-1.46394 -3.99997,-1.6734 l -0.5016,-0.0876 -0.0181,-21.17061 -0.0178,-21.17036 -0.15424,-0.31167 c -0.25804,-0.52106 -0.8796,-0.9025 -1.46482,-0.8993 z m 9.34091,0.76079 c -1.96193,0 -3.68713,1.06774 -4.53247,2.80552 -0.53635,1.10262 -0.53017,1.02648 -0.50719,6.44296 l 0.0203,4.7802 0.18834,0.55566 c 0.62086,1.83041 2.22554,3.17608 4.08307,3.42406 0.24153,0.0323 2.71506,0.0532 5.4965,0.0458 5.70515,-0.0145 5.3423,0.0172 6.54658,-0.57378 0.54778,-0.26881 0.75708,-0.42234 1.25039,-0.91741 0.48917,-0.4909 0.64889,-0.70949 0.91635,-1.25279 0.53896,-1.09564 0.53516,-1.04438 0.53516,-6.26129 0,-4.84593 -0.0122,-5.0614 -0.32764,-5.86224 -0.76424,-1.94014 -2.6134,-3.18671 -4.72693,-3.18671 h -0.55701 l -0.003,4.13929 -0.003,4.13902 -1.87799,1.48961 c -1.03267,0.8192 -1.9166,1.51251 -1.96429,1.54074 -0.0554,0.0327 -0.79171,-0.51293 -2.03382,-1.50745 l -1.94697,-1.55885 v -4.12119 -4.12117 z m 2.28928,0.5522 v 3.46322 3.46375 l 1.08417,0.86973 c 0.59637,0.47836 1.10581,0.86085 1.13185,0.85003 0.0261,-0.0108 0.53535,-0.40918 1.13212,-0.88546 l 1.08497,-0.866 -0.0171,-3.42912 -0.0168,-3.42939 -2.19977,-0.0184 z m -47.246903,6.50849 9.196533,0.0248 c 9.138394,0.0246 9.200727,0.0256 9.88912,0.17528 2.276157,0.49507 4.008841,1.42496 5.576421,2.99252 1.56294,1.56292 2.49402,3.26009 3.00157,5.47254 0.15094,0.65777 0.15069,0.6637 0.16943,10.68613 l 0.0189,10.02763 -1.19632,-2.6e-4 -1.19658,-2.6e-4 -2.909674,-2.90889 c -2.148162,-2.14765 -2.999001,-2.95439 -3.251981,-3.08256 l -0.342815,-0.17367 h -9.477299 -9.477299 v -11.60676 z m 44.869453,16.35471 c -0.8458,0 -1.3552,0.0997 -1.97601,0.38599 -1.35181,0.62342 -2.29671,1.66611 -2.77169,3.05885 l -0.18354,0.53889 -0.0203,4.74531 c -0.0228,5.40031 -0.0234,5.39175 0.50346,6.47758 0.5061,1.04314 1.24312,1.77945 2.29621,2.29407 0.34744,0.1698 0.83013,0.35177 1.07325,0.40464 h 5.1e-4 c 0.35322,0.0766 1.47942,0.0968 5.60252,0.10015 5.81748,0.004 5.68307,0.0148 6.74876,-0.50692 1.37728,-0.67421 2.29905,-1.80091 2.67474,-3.26982 0.12915,-0.50539 0.13665,-0.78389 0.13665,-5.22267 0,-4.44771 -0.007,-4.7167 -0.13746,-5.23651 -0.23263,-0.92645 -0.63571,-1.63668 -1.31912,-2.32417 -0.51589,-0.519 -0.69084,-0.64491 -1.31831,-0.94858 -0.81757,-0.39568 -1.26328,-0.49681 -2.19099,-0.49681 h -0.64544 v 4.11159 4.11159 l -1.90888,1.51757 c -1.04987,0.83448 -1.93862,1.52747 -1.97495,1.54022 -0.0363,0.0129 -0.93815,-0.6732 -2.00425,-1.52423 l -1.93845,-1.54714 -2.7e-4,-4.10467 -5.1e-4,-4.10493 z m 2.37718,0.55434 0.004,3.44644 0.004,3.4467 1.05221,0.84416 h 5.1e-4 c 0.57884,0.46404 1.07893,0.84576 1.1116,0.84843 0.0327,0.003 0.55455,-0.39065 1.1601,-0.87373 l 1.10122,-0.87826 v -3.41687 -3.41687 h -2.21709 z m -50.294829,9.49115 h 10.511122 10.511121 l 3.015165,3.00185 c 2.567942,2.55652 3.057622,3.01393 3.300462,3.08282 0.2049,0.0582 1.62307,0.0807 5.03966,0.0807 h 4.754629 v 1.5799 1.57938 l -0.53676,0.0938 c -1.12048,0.19566 -2.647899,0.80928 -3.728799,1.49786 -1.68955,1.07633 -3.11899,2.69978 -3.99411,4.53647 -0.44366,0.93112 -0.88466,2.34132 -0.88466,2.82896 v 0.21524 H 83.533023 74.11886 l -0.04632,-0.32925 c -0.173141,-1.22207 -0.843416,-2.86149 -1.706703,-4.17392 -0.532033,-0.80881 -1.995609,-2.29178 -2.799129,-2.83643 -1.322594,-0.89646 -2.959014,-1.5737 -4.282866,-1.77223 l -0.324987,-0.0488 v -4.66833 z" }), /* @__PURE__ */ r.createElement("path", { id: "path268", style: {
1139
+ }, d: "m 103.62373,105.0137 c -0.2695,0.002 -0.78905,0.20889 -1.00345,0.40037 -0.0723,0.0646 -0.21317,0.24236 -0.313,0.39478 l -0.18141,0.27703 -0.0181,18.06409 -0.0178,18.06382 h -1.52343 -1.523699 l -2.7e-4,-9.75061 c -5.1e-4,-10.41143 -0.004,-10.51883 -0.34443,-11.94691 -1.39786,-5.8616 -6.2432,-10.12876 -12.21276,-10.75566 -1.515814,-0.1589 -19.83671,-0.16023 -20.462316,-0.003 l -0.0017,-0.004 -19.984159,3.5751 18.852043,2.16035 v 6.07801 l -17.36031,3.10307 17.360304,1.98933 v 6.52314 l -17.360304,3.10307 14.274817,1.63584 -0.01572,4.90514 -0.01864,5.72665 -0.63026,0.1252 c -1.586894,0.3153 -3.197032,1.06826 -4.528475,2.1172 -2.205268,1.73733 -3.741586,4.44584 -4.052716,7.1446 -0.370335,3.21237 0.552005,6.19841 2.657413,8.60144 1.687848,1.92642 4.173186,3.25989 6.695215,3.59241 v -5.2e-4 c 0.823968,0.10864 2.933749,0.0318 3.671522,-0.13399 0.932239,-0.20951 1.790163,-0.51486 2.636639,-0.93819 2.065707,-1.03314 3.823794,-2.77572 4.827084,-4.78447 0.504382,-1.00984 0.910162,-2.2066 1.026636,-3.02875 l 0.04632,-0.32925 h 9.414169 9.413628 v 0.21364 c 0,0.11749 0.0641,0.46829 0.14251,0.77944 0.90405,3.58952 3.50881,6.4605 6.974649,7.68694 1.34306,0.47527 1.94661,0.56832 3.65554,0.56367 1.31935,-0.003 1.6122,-0.0248 2.18192,-0.1577 3.36735,-0.785 6.02631,-2.86016 7.51461,-5.86464 0.44078,-0.88981 0.88236,-2.20383 0.97202,-2.8921 l 0.0429,-0.32925 7.18349,-0.002 c 7.08058,-0.002 7.18734,-0.003 7.49462,-0.14278 0.6474,-0.29351 0.90064,-0.70316 0.90064,-1.45738 0,-0.56862 -0.16856,-0.94445 -0.54982,-1.22508 -0.50606,-0.37245 -0.22593,-0.35988 -7.89979,-0.35988 h -7.11582 l -0.11721,-0.59669 c -0.2611,-1.32878 -0.84786,-2.70966 -1.68167,-3.95762 -0.57002,-0.85316 -2.01938,-2.29531 -2.86466,-2.85108 -1.21392,-0.79816 -2.80463,-1.46394 -3.99997,-1.6734 l -0.5016,-0.0876 -0.0181,-21.17061 -0.0178,-21.17036 -0.15424,-0.31167 c -0.25804,-0.52106 -0.8796,-0.9025 -1.46482,-0.8993 z m 9.34091,0.76079 c -1.96193,0 -3.68713,1.06774 -4.53247,2.80552 -0.53635,1.10262 -0.53017,1.02648 -0.50719,6.44296 l 0.0203,4.7802 0.18834,0.55566 c 0.62086,1.83041 2.22554,3.17608 4.08307,3.42406 0.24153,0.0323 2.71506,0.0532 5.4965,0.0458 5.70515,-0.0145 5.3423,0.0172 6.54658,-0.57378 0.54778,-0.26881 0.75708,-0.42234 1.25039,-0.91741 0.48917,-0.4909 0.64889,-0.70949 0.91635,-1.25279 0.53896,-1.09564 0.53516,-1.04438 0.53516,-6.26129 0,-4.84593 -0.0122,-5.0614 -0.32764,-5.86224 -0.76424,-1.94014 -2.6134,-3.18671 -4.72693,-3.18671 h -0.55701 l -0.003,4.13929 -0.003,4.13902 -1.87799,1.48961 c -1.03267,0.8192 -1.9166,1.51251 -1.96429,1.54074 -0.0554,0.0327 -0.79171,-0.51293 -2.03382,-1.50745 l -1.94697,-1.55885 v -4.12119 -4.12117 z m 2.28928,0.5522 v 3.46322 3.46375 l 1.08417,0.86973 c 0.59637,0.47836 1.10581,0.86085 1.13185,0.85003 0.0261,-0.0108 0.53535,-0.40918 1.13212,-0.88546 l 1.08497,-0.866 -0.0171,-3.42912 -0.0168,-3.42939 -2.19977,-0.0184 z m -47.246903,6.50849 9.196533,0.0248 c 9.138394,0.0246 9.200727,0.0256 9.88912,0.17528 2.276157,0.49507 4.008841,1.42496 5.576421,2.99252 1.56294,1.56292 2.49402,3.26009 3.00157,5.47254 0.15094,0.65777 0.15069,0.6637 0.16943,10.68613 l 0.0189,10.02763 -1.19632,-2.6e-4 -1.19658,-2.6e-4 -2.909674,-2.90889 c -2.148162,-2.14765 -2.999001,-2.95439 -3.251981,-3.08256 l -0.342815,-0.17367 h -9.477299 -9.477299 v -11.60676 z m 44.869453,16.35471 c -0.8458,0 -1.3552,0.0997 -1.97601,0.38599 -1.35181,0.62342 -2.29671,1.66611 -2.77169,3.05885 l -0.18354,0.53889 -0.0203,4.74531 c -0.0228,5.40031 -0.0234,5.39175 0.50346,6.47758 0.5061,1.04314 1.24312,1.77945 2.29621,2.29407 0.34744,0.1698 0.83013,0.35177 1.07325,0.40464 h 5.1e-4 c 0.35322,0.0766 1.47942,0.0968 5.60252,0.10015 5.81748,0.004 5.68307,0.0148 6.74876,-0.50692 1.37728,-0.67421 2.29905,-1.80091 2.67474,-3.26982 0.12915,-0.50539 0.13665,-0.78389 0.13665,-5.22267 0,-4.44771 -0.007,-4.7167 -0.13746,-5.23651 -0.23263,-0.92645 -0.63571,-1.63668 -1.31912,-2.32417 -0.51589,-0.519 -0.69084,-0.64491 -1.31831,-0.94858 -0.81757,-0.39568 -1.26328,-0.49681 -2.19099,-0.49681 h -0.64544 v 4.11159 4.11159 l -1.90888,1.51757 c -1.04987,0.83448 -1.93862,1.52747 -1.97495,1.54022 -0.0363,0.0129 -0.93815,-0.6732 -2.00425,-1.52423 l -1.93845,-1.54714 -2.7e-4,-4.10467 -5.1e-4,-4.10493 z m 2.37718,0.55434 0.004,3.44644 0.004,3.4467 1.05221,0.84416 h 5.1e-4 c 0.57884,0.46404 1.07893,0.84576 1.1116,0.84843 0.0327,0.003 0.55455,-0.39065 1.1601,-0.87373 l 1.10122,-0.87826 v -3.41687 -3.41687 h -2.21709 z m -50.294829,9.49115 h 10.511122 10.511121 l 3.015165,3.00185 c 2.567942,2.55652 3.057622,3.01393 3.300462,3.08282 0.2049,0.0582 1.62307,0.0807 5.03966,0.0807 h 4.754629 v 1.5799 1.57938 l -0.53676,0.0938 c -1.12048,0.19566 -2.647899,0.80928 -3.728799,1.49786 -1.68955,1.07633 -3.11899,2.69978 -3.99411,4.53647 -0.44366,0.93112 -0.88466,2.34132 -0.88466,2.82896 v 0.21524 H 83.533023 74.11886 l -0.04632,-0.32925 c -0.173141,-1.22207 -0.843416,-2.86149 -1.706703,-4.17392 -0.532033,-0.80881 -1.995609,-2.29178 -2.799129,-2.83643 -1.322594,-0.89646 -2.959014,-1.5737 -4.282866,-1.77223 l -0.324987,-0.0488 v -4.66833 z" }), /* @__PURE__ */ t.createElement("path", { id: "path268", style: {
1140
1140
  fill: "#ffffff",
1141
1141
  strokeWidth: 1.10252
1142
- }, d: "m 103.6238,103.56164 c -0.26951,0.002 -0.78905,0.20888 -1.00346,0.40036 -0.0723,0.0646 -0.21316,0.24236 -0.313,0.39478 l -0.1814,0.27703 -0.0181,18.06409 -0.0178,18.06382 h -1.52344 -1.523699 l -2.6e-4,-9.7506 c -5.1e-4,-10.41144 -0.004,-10.51884 -0.34443,-11.94692 -1.39786,-5.86159 -6.2432,-10.12876 -12.212765,-10.75566 -1.515813,-0.1589 -19.836715,-0.16022 -20.46231,-0.003 l -0.0017,-0.004 -19.984159,3.5751 18.852043,2.16035 v 6.07801 l -17.36031,3.10307 17.36031,1.98934 v 6.52313 l -17.36031,3.10307 14.274823,1.63584 -0.01572,4.90514 -0.01864,5.72666 -0.630261,0.12519 c -1.586888,0.3153 -3.19702,1.06826 -4.528463,2.1172 -2.205268,1.73733 -3.741592,4.44584 -4.052721,7.1446 -0.370335,3.21237 0.55201,6.19842 2.657412,8.60144 1.687849,1.92642 4.173187,3.25989 6.695216,3.59241 v -5.2e-4 c 0.823962,0.10864 2.933749,0.0318 3.671527,-0.13398 0.932233,-0.20952 1.790157,-0.51486 2.636639,-0.9382 2.065707,-1.03313 3.823794,-2.77572 4.82709,-4.78447 0.504371,-1.00983 0.910151,-2.2066 1.026624,-3.02874 l 0.04632,-0.32925 h 9.414164 9.413621 v 0.21363 c 0,0.11749 0.0641,0.46829 0.14252,0.77944 0.90405,3.58952 3.50882,6.4605 6.974649,7.68695 1.34307,0.47527 1.94662,0.56831 3.65555,0.56366 1.31934,-0.003 1.6122,-0.0248 2.18192,-0.1577 3.36734,-0.785 6.0263,-2.86016 7.51461,-5.86464 0.44078,-0.88981 0.88236,-2.20383 0.97202,-2.89209 l 0.0429,-0.32925 7.18349,-0.002 c 7.08058,-0.002 7.18734,-0.003 7.49463,-0.14278 0.6474,-0.29351 0.90063,-0.70316 0.90063,-1.45737 0,-0.56863 -0.16856,-0.94446 -0.54981,-1.22508 -0.50607,-0.37246 -0.22593,-0.35988 -7.89979,-0.35988 h -7.11583 l -0.11721,-0.5967 c -0.2611,-1.32878 -0.84786,-2.70966 -1.68166,-3.95762 -0.57003,-0.85315 -2.01939,-2.29531 -2.86466,-2.85107 -1.21393,-0.79817 -2.80464,-1.46395 -3.99997,-1.6734 l -0.50159,-0.0876 -0.0181,-21.17061 -0.0179,-21.17036 -0.15424,-0.31166 c -0.25804,-0.52107 -0.8796,-0.90251 -1.46482,-0.8993 z m 9.34091,0.76078 c -1.96194,0 -3.68714,1.06774 -4.53248,2.80552 -0.53635,1.10263 -0.53017,1.02648 -0.50719,6.44296 l 0.0203,4.7802 0.18834,0.55567 c 0.62086,1.8304 2.22555,3.17607 4.08308,3.42406 0.24152,0.0323 2.71505,0.0532 5.4965,0.0458 5.70514,-0.0145 5.34229,0.0172 6.54658,-0.57378 0.54778,-0.2688 0.75707,-0.42233 1.25039,-0.91741 0.48917,-0.4909 0.64889,-0.70948 0.91635,-1.25279 0.53896,-1.09564 0.53516,-1.04438 0.53516,-6.26128 0,-4.84594 -0.0122,-5.06141 -0.32765,-5.86225 -0.76423,-1.94014 -2.6134,-3.18671 -4.72692,-3.18671 h -0.55701 l -0.003,4.13929 -0.003,4.13902 -1.87798,1.48961 c -1.03268,0.8192 -1.9166,1.51252 -1.96429,1.54074 -0.0554,0.0327 -0.79171,-0.51293 -2.03382,-1.50745 l -1.94698,-1.55886 v -4.12117 -4.12118 z m 2.28927,0.55221 v 3.46321 3.46375 l 1.08417,0.86974 c 0.59637,0.47835 1.10582,0.86085 1.13185,0.85002 0.0261,-0.0108 0.53535,-0.40918 1.13213,-0.88545 l 1.08496,-0.86601 -0.0171,-3.42912 -0.0168,-3.42939 -2.19978,-0.0184 z m -47.246901,6.50848 9.196533,0.0248 c 9.138394,0.0247 9.200727,0.0256 9.889125,0.17528 2.276152,0.49507 4.008834,1.42496 5.576414,2.99253 1.56294,1.56292 2.49402,3.26009 3.00158,5.47253 0.15094,0.65777 0.15069,0.6637 0.16942,10.68613 l 0.0189,10.02764 -1.19632,-2.7e-4 -1.19658,-2.6e-4 -2.909672,-2.90888 c -2.148163,-2.14765 -2.999001,-2.9544 -3.251981,-3.08256 l -0.342835,-0.17368 H 77.484375 68.00707 v -11.60675 z m 44.869461,16.35472 c -0.84581,0 -1.35521,0.0997 -1.97602,0.38599 -1.35181,0.62342 -2.29671,1.6661 -2.77169,3.05885 l -0.18354,0.53888 -0.0203,4.74531 c -0.0229,5.40032 -0.0234,5.39175 0.50346,6.47758 0.50611,1.04314 1.24312,1.77945 2.29621,2.29408 0.34744,0.1698 0.83013,0.35177 1.07325,0.40463 h 5.1e-4 c 0.35322,0.0766 1.47942,0.0968 5.60252,0.10015 5.81748,0.005 5.68308,0.0148 6.74876,-0.50692 1.37729,-0.67421 2.29905,-1.8009 2.67474,-3.26982 0.12916,-0.50539 0.13665,-0.78389 0.13665,-5.22266 0,-4.44771 -0.007,-4.7167 -0.13745,-5.23652 -0.23264,-0.92645 -0.63572,-1.63668 -1.31912,-2.32417 -0.5159,-0.519 -0.69084,-0.64491 -1.31832,-0.94858 -0.81757,-0.39568 -1.26328,-0.4968 -2.19098,-0.4968 h -0.64545 v 4.11159 4.11159 l -1.90888,1.51756 c -1.04987,0.83448 -1.93862,1.52747 -1.97495,1.54022 -0.0363,0.0129 -0.93815,-0.6732 -2.00425,-1.52423 l -1.93845,-1.54714 -2.6e-4,-4.10466 -5.2e-4,-4.10493 z m 2.37718,0.55434 0.004,3.44643 0.004,3.4467 1.0522,0.84416 h 5.2e-4 c 0.57883,0.46405 1.07893,0.84577 1.1116,0.84843 0.0327,0.003 0.55454,-0.39065 1.16009,-0.87374 l 1.10122,-0.87825 v -3.41686 -3.41687 h -2.21709 z m -50.294837,9.49114 H 75.47001 85.981126 l 3.015165,3.00185 c 2.56794,2.55652 3.05762,3.01393 3.30046,3.08283 0.20491,0.0582 1.62308,0.0807 5.03966,0.0807 h 4.754639 v 1.5799 1.57938 l -0.53676,0.0938 c -1.12049,0.19566 -2.647909,0.80928 -3.728809,1.49786 -1.68955,1.07634 -3.11898,2.69979 -3.99411,4.53647 -0.44366,0.93112 -0.88465,2.34132 -0.88465,2.82897 v 0.21523 h -9.413636 -9.414164 l -0.04632,-0.32925 c -0.173136,-1.22207 -0.843417,-2.86149 -1.706697,-4.17392 -0.53204,-0.80881 -1.995616,-2.29178 -2.799129,-2.83642 -1.322601,-0.89647 -2.959015,-1.57371 -4.282873,-1.77224 l -0.324986,-0.0487 v -4.66833 z" })), /* @__PURE__ */ r.createElement("path", { style: {
1142
+ }, d: "m 103.6238,103.56164 c -0.26951,0.002 -0.78905,0.20888 -1.00346,0.40036 -0.0723,0.0646 -0.21316,0.24236 -0.313,0.39478 l -0.1814,0.27703 -0.0181,18.06409 -0.0178,18.06382 h -1.52344 -1.523699 l -2.6e-4,-9.7506 c -5.1e-4,-10.41144 -0.004,-10.51884 -0.34443,-11.94692 -1.39786,-5.86159 -6.2432,-10.12876 -12.212765,-10.75566 -1.515813,-0.1589 -19.836715,-0.16022 -20.46231,-0.003 l -0.0017,-0.004 -19.984159,3.5751 18.852043,2.16035 v 6.07801 l -17.36031,3.10307 17.36031,1.98934 v 6.52313 l -17.36031,3.10307 14.274823,1.63584 -0.01572,4.90514 -0.01864,5.72666 -0.630261,0.12519 c -1.586888,0.3153 -3.19702,1.06826 -4.528463,2.1172 -2.205268,1.73733 -3.741592,4.44584 -4.052721,7.1446 -0.370335,3.21237 0.55201,6.19842 2.657412,8.60144 1.687849,1.92642 4.173187,3.25989 6.695216,3.59241 v -5.2e-4 c 0.823962,0.10864 2.933749,0.0318 3.671527,-0.13398 0.932233,-0.20952 1.790157,-0.51486 2.636639,-0.9382 2.065707,-1.03313 3.823794,-2.77572 4.82709,-4.78447 0.504371,-1.00983 0.910151,-2.2066 1.026624,-3.02874 l 0.04632,-0.32925 h 9.414164 9.413621 v 0.21363 c 0,0.11749 0.0641,0.46829 0.14252,0.77944 0.90405,3.58952 3.50882,6.4605 6.974649,7.68695 1.34307,0.47527 1.94662,0.56831 3.65555,0.56366 1.31934,-0.003 1.6122,-0.0248 2.18192,-0.1577 3.36734,-0.785 6.0263,-2.86016 7.51461,-5.86464 0.44078,-0.88981 0.88236,-2.20383 0.97202,-2.89209 l 0.0429,-0.32925 7.18349,-0.002 c 7.08058,-0.002 7.18734,-0.003 7.49463,-0.14278 0.6474,-0.29351 0.90063,-0.70316 0.90063,-1.45737 0,-0.56863 -0.16856,-0.94446 -0.54981,-1.22508 -0.50607,-0.37246 -0.22593,-0.35988 -7.89979,-0.35988 h -7.11583 l -0.11721,-0.5967 c -0.2611,-1.32878 -0.84786,-2.70966 -1.68166,-3.95762 -0.57003,-0.85315 -2.01939,-2.29531 -2.86466,-2.85107 -1.21393,-0.79817 -2.80464,-1.46395 -3.99997,-1.6734 l -0.50159,-0.0876 -0.0181,-21.17061 -0.0179,-21.17036 -0.15424,-0.31166 c -0.25804,-0.52107 -0.8796,-0.90251 -1.46482,-0.8993 z m 9.34091,0.76078 c -1.96194,0 -3.68714,1.06774 -4.53248,2.80552 -0.53635,1.10263 -0.53017,1.02648 -0.50719,6.44296 l 0.0203,4.7802 0.18834,0.55567 c 0.62086,1.8304 2.22555,3.17607 4.08308,3.42406 0.24152,0.0323 2.71505,0.0532 5.4965,0.0458 5.70514,-0.0145 5.34229,0.0172 6.54658,-0.57378 0.54778,-0.2688 0.75707,-0.42233 1.25039,-0.91741 0.48917,-0.4909 0.64889,-0.70948 0.91635,-1.25279 0.53896,-1.09564 0.53516,-1.04438 0.53516,-6.26128 0,-4.84594 -0.0122,-5.06141 -0.32765,-5.86225 -0.76423,-1.94014 -2.6134,-3.18671 -4.72692,-3.18671 h -0.55701 l -0.003,4.13929 -0.003,4.13902 -1.87798,1.48961 c -1.03268,0.8192 -1.9166,1.51252 -1.96429,1.54074 -0.0554,0.0327 -0.79171,-0.51293 -2.03382,-1.50745 l -1.94698,-1.55886 v -4.12117 -4.12118 z m 2.28927,0.55221 v 3.46321 3.46375 l 1.08417,0.86974 c 0.59637,0.47835 1.10582,0.86085 1.13185,0.85002 0.0261,-0.0108 0.53535,-0.40918 1.13213,-0.88545 l 1.08496,-0.86601 -0.0171,-3.42912 -0.0168,-3.42939 -2.19978,-0.0184 z m -47.246901,6.50848 9.196533,0.0248 c 9.138394,0.0247 9.200727,0.0256 9.889125,0.17528 2.276152,0.49507 4.008834,1.42496 5.576414,2.99253 1.56294,1.56292 2.49402,3.26009 3.00158,5.47253 0.15094,0.65777 0.15069,0.6637 0.16942,10.68613 l 0.0189,10.02764 -1.19632,-2.7e-4 -1.19658,-2.6e-4 -2.909672,-2.90888 c -2.148163,-2.14765 -2.999001,-2.9544 -3.251981,-3.08256 l -0.342835,-0.17368 H 77.484375 68.00707 v -11.60675 z m 44.869461,16.35472 c -0.84581,0 -1.35521,0.0997 -1.97602,0.38599 -1.35181,0.62342 -2.29671,1.6661 -2.77169,3.05885 l -0.18354,0.53888 -0.0203,4.74531 c -0.0229,5.40032 -0.0234,5.39175 0.50346,6.47758 0.50611,1.04314 1.24312,1.77945 2.29621,2.29408 0.34744,0.1698 0.83013,0.35177 1.07325,0.40463 h 5.1e-4 c 0.35322,0.0766 1.47942,0.0968 5.60252,0.10015 5.81748,0.005 5.68308,0.0148 6.74876,-0.50692 1.37729,-0.67421 2.29905,-1.8009 2.67474,-3.26982 0.12916,-0.50539 0.13665,-0.78389 0.13665,-5.22266 0,-4.44771 -0.007,-4.7167 -0.13745,-5.23652 -0.23264,-0.92645 -0.63572,-1.63668 -1.31912,-2.32417 -0.5159,-0.519 -0.69084,-0.64491 -1.31832,-0.94858 -0.81757,-0.39568 -1.26328,-0.4968 -2.19098,-0.4968 h -0.64545 v 4.11159 4.11159 l -1.90888,1.51756 c -1.04987,0.83448 -1.93862,1.52747 -1.97495,1.54022 -0.0363,0.0129 -0.93815,-0.6732 -2.00425,-1.52423 l -1.93845,-1.54714 -2.6e-4,-4.10466 -5.2e-4,-4.10493 z m 2.37718,0.55434 0.004,3.44643 0.004,3.4467 1.0522,0.84416 h 5.2e-4 c 0.57883,0.46405 1.07893,0.84577 1.1116,0.84843 0.0327,0.003 0.55454,-0.39065 1.16009,-0.87374 l 1.10122,-0.87825 v -3.41686 -3.41687 h -2.21709 z m -50.294837,9.49114 H 75.47001 85.981126 l 3.015165,3.00185 c 2.56794,2.55652 3.05762,3.01393 3.30046,3.08283 0.20491,0.0582 1.62308,0.0807 5.03966,0.0807 h 4.754639 v 1.5799 1.57938 l -0.53676,0.0938 c -1.12049,0.19566 -2.647909,0.80928 -3.728809,1.49786 -1.68955,1.07634 -3.11898,2.69979 -3.99411,4.53647 -0.44366,0.93112 -0.88465,2.34132 -0.88465,2.82897 v 0.21523 h -9.413636 -9.414164 l -0.04632,-0.32925 c -0.173136,-1.22207 -0.843417,-2.86149 -1.706697,-4.17392 -0.53204,-0.80881 -1.995616,-2.29178 -2.799129,-2.83642 -1.322601,-0.89647 -2.959015,-1.57371 -4.282873,-1.77224 l -0.324986,-0.0487 v -4.66833 z" })), /* @__PURE__ */ t.createElement("path", { style: {
1143
1143
  fill: "#ffffff",
1144
1144
  fillOpacity: 1,
1145
1145
  fillRule: "evenodd",
@@ -1147,93 +1147,294 @@ const We = () => {
1147
1147
  strokeWidth: 0,
1148
1148
  strokeOpacity: 1,
1149
1149
  paintOrder: "stroke markers fill"
1150
- }, d: "", id: "path40", transform: "scale(0.26458333)" }))), Yt = (t) => {
1151
- const { publicRoutes: o, privateRoutes: n } = Lt(), { firstPrivatePath: a } = Q(), {
1152
- logoImg: i = _t,
1153
- pathImg: u = "./src/assets/MyWarehouse.svg",
1154
- firstPrivateElement: d = /* @__PURE__ */ s.jsx(Nt, {}),
1150
+ }, d: "", id: "path40", transform: "scale(0.26458333)" }))), Vt = (r) => {
1151
+ const { publicRoutes: i, privateRoutes: n } = kt(), { firstPrivatePath: s } = U(), {
1152
+ logoImg: a = It,
1153
+ pathImg: l = "./src/assets/MyWarehouse.svg",
1154
+ firstPrivateElement: u = /* @__PURE__ */ o.jsx(_t, {}),
1155
1155
  globalLayout: m,
1156
- isMain: g,
1157
- headerComponent: E,
1158
- showHeaderOnLogin: b,
1159
- headerExcludedRoutes: R,
1160
- footerComponent: L,
1161
- showFooterOnLogin: f,
1156
+ isMain: p,
1157
+ headerComponent: y,
1158
+ showHeaderOnLogin: v,
1159
+ headerExcludedRoutes: P,
1160
+ footerComponent: w,
1161
+ showFooterOnLogin: d,
1162
1162
  footerExcludedRoutes: x,
1163
- privateProvider: h,
1164
- customProvider: S
1165
- } = t, w = m || /* @__PURE__ */ s.jsx(
1166
- kt,
1163
+ privateProvider: g,
1164
+ customProvider: O
1165
+ } = r, j = m || /* @__PURE__ */ o.jsx(
1166
+ Rt,
1167
1167
  {
1168
- isMain: g,
1169
- headerComponent: E,
1170
- showHeaderOnLogin: b,
1171
- headerExcludedRoutes: R,
1172
- footerComponent: L,
1173
- showFooterOnLogin: f,
1168
+ isMain: p,
1169
+ headerComponent: y,
1170
+ showHeaderOnLogin: v,
1171
+ headerExcludedRoutes: P,
1172
+ footerComponent: w,
1173
+ showFooterOnLogin: d,
1174
1174
  footerExcludedRoutes: x
1175
1175
  }
1176
- ), j = h ? Y.cloneElement(h, {}, S) : /* @__PURE__ */ s.jsx(Tt, { children: S }), P = () => {
1177
- const y = document.querySelector("link[rel='icon']");
1178
- u && (y.href = u);
1176
+ ), S = g ? H.cloneElement(g, {}, O) : /* @__PURE__ */ o.jsx(Tt, { children: O }), R = () => {
1177
+ const E = document.querySelector("link[rel='icon']");
1178
+ l && (E.href = l);
1179
1179
  };
1180
- return z(() => {
1181
- P();
1182
- }, []), /* @__PURE__ */ s.jsx(it, { children: /* @__PURE__ */ s.jsxs(K, { element: m === "none" ? null : w, children: [
1183
- /* @__PURE__ */ s.jsxs(K, { path: "/", children: [
1184
- /* @__PURE__ */ s.jsx(K, { index: !0, element: /* @__PURE__ */ s.jsx(Rt, { Logo: i }) }),
1185
- o.map((y, T) => /* @__PURE__ */ s.jsx(K, { path: y.path, element: y.element }, `public-${T}`))
1180
+ return M(() => {
1181
+ R();
1182
+ }, []), /* @__PURE__ */ o.jsx(lt, { children: /* @__PURE__ */ o.jsxs(Q, { element: m === "none" ? null : j, children: [
1183
+ /* @__PURE__ */ o.jsxs(Q, { path: "/", children: [
1184
+ /* @__PURE__ */ o.jsx(Q, { index: !0, element: /* @__PURE__ */ o.jsx(Gt, { Logo: a }) }),
1185
+ i.map((E, N) => /* @__PURE__ */ o.jsx(Q, { path: E.path, element: E.element }, `public-${N}`))
1186
1186
  ] }),
1187
- /* @__PURE__ */ s.jsxs(K, { element: j, children: [
1188
- /* @__PURE__ */ s.jsx(K, { path: `${a ?? "/dashboard/"}:id`, element: d }),
1189
- n.map((y, T) => /* @__PURE__ */ s.jsx(K, { path: y.path, element: y.element }, `private-${T}`))
1187
+ /* @__PURE__ */ o.jsxs(Q, { element: S, children: [
1188
+ /* @__PURE__ */ o.jsx(Q, { path: `${s ?? "/dashboard/"}:id`, element: u }),
1189
+ n.map((E, N) => /* @__PURE__ */ o.jsx(Q, { path: E.path, element: E.element }, `private-${N}`))
1190
1190
  ] })
1191
1191
  ] }) });
1192
- }, Zt = ({ children: t }) => {
1193
- var i;
1194
- const o = qe(), { activeAlert: n } = se(), a = JSON.parse(localStorage.getItem("user"));
1195
- return z(() => {
1196
- (!a || !a.admin) && n("warning", "Non puoi accedere a questa pagina");
1197
- }, [a]), !a || !a.admin ? /* @__PURE__ */ s.jsx(He, { to: ((i = o.state) == null ? void 0 : i.from) || "/", replace: !0 }) : t;
1198
- }, Ut = ({ spinner: t = !0, spinnerStyle: o, text: n, textStyle: a, children: i, containerStyle: u, overrideStyle: d = {} }) => /* @__PURE__ */ s.jsxs("div", { className: d.container || `w-full h-full relative flex items-center justify-center ${u}`, children: [
1199
- t && /* @__PURE__ */ s.jsx(nt, { className: d.spinner || `text-[20rem] animate-spin text-black ${o}` }),
1200
- i || /* @__PURE__ */ s.jsx("p", { className: d.text || `text-black text-2xl select-none absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 ${a}`, children: n || "Loading..." })
1192
+ }, Xt = ({ children: r }) => {
1193
+ var a;
1194
+ const i = Le(), { activeAlert: n } = ee(), s = JSON.parse(localStorage.getItem("user"));
1195
+ return M(() => {
1196
+ (!s || !s.admin) && n("warning", "Non puoi accedere a questa pagina");
1197
+ }, [s]), !s || !s.admin ? /* @__PURE__ */ o.jsx(Je, { to: ((a = i.state) == null ? void 0 : a.from) || "/", replace: !0 }) : r;
1198
+ }, Kt = ({ spinner: r = !0, spinnerStyle: i, text: n, textStyle: s, children: a, containerStyle: l, overrideStyle: u = {} }) => /* @__PURE__ */ o.jsxs("div", { className: u.container || `w-full h-full relative flex items-center justify-center ${l}`, children: [
1199
+ r && /* @__PURE__ */ o.jsx(it, { className: u.spinner || `text-[20rem] animate-spin text-black ${i}` }),
1200
+ a || /* @__PURE__ */ o.jsx("p", { className: u.text || `text-black text-2xl select-none absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 ${s}`, children: n || "Loading..." })
1201
+ ] }), qe = ({ isTag: r = !1, value: i, label: n, placeholder: s, id: a, onChange: l, error: u = null }) => /* @__PURE__ */ o.jsxs("div", { className: `flex items-center justify-center relative ${r ? "gap-4 mb-2" : "gap-1 m-4"}`, children: [
1202
+ /* @__PURE__ */ o.jsx(Oe, { labelId: a, label: n, overrideStyle: `text-xl font-bold text-color-label ${r ? "" : "basis-1/3"}` }),
1203
+ /* @__PURE__ */ o.jsx(
1204
+ Se,
1205
+ {
1206
+ type: "text",
1207
+ inputId: a,
1208
+ inputPlaceholder: s,
1209
+ inputValue: i || "",
1210
+ disabled: r,
1211
+ inputChange: l,
1212
+ overrideStyle: `${r ? "w-full" : "basis-2/3"} ${u ? "border-red-600 focus:ring focus:ring-red-600 focus:border-red-600 focus:shadow-[0_0_0_4px_rgba(255,0,0,0.5)]" : ""} bg-input-bg border border-input-border text-input-text text-input-placeholder input-rounded focus:ring focus:ring-[#16693880] focus:border-[#166938] focus:outline-none focus:shadow-[0_0_0_4px_#16693880] block w-full p-input`
1213
+ }
1214
+ ),
1215
+ u && /* @__PURE__ */ o.jsx("p", { className: "text-red-600 text-[13px] absolute bottom-0 left-26 translate-y-[20px]", children: u })
1216
+ ] }), Qt = ({ title: r, showTag: i, value: n, tag: s, showButton: a, handleClick: l }) => /* @__PURE__ */ o.jsxs("div", { className: `border border-slate-300 rounded-xl p-2 m-2 shadow-xl transition-all duration-700 transform ${r === "TAG B" ? "delay-200" : "mb-4"} ${i ? "opacity-100 translate-y-0" : "opacity-0 translate-y-10"}`, children: [
1217
+ /* @__PURE__ */ o.jsx("h2", { className: "text-center mb-2 text-2xl", children: r }),
1218
+ /* @__PURE__ */ o.jsx(
1219
+ qe,
1220
+ {
1221
+ label: "TID",
1222
+ placeholder: `Leggi ${r}`,
1223
+ id: s ? `tid-${s}` : "tid",
1224
+ isTag: !0,
1225
+ value: (n == null ? void 0 : n.valueTID) || ""
1226
+ }
1227
+ ),
1228
+ /* @__PURE__ */ o.jsx(
1229
+ qe,
1230
+ {
1231
+ label: "EPC",
1232
+ placeholder: `Leggi ${r}`,
1233
+ id: s ? `epc-${s}` : "epc",
1234
+ isTag: !0,
1235
+ value: (n == null ? void 0 : n.valueEPC) || ""
1236
+ }
1237
+ ),
1238
+ !a && /* @__PURE__ */ o.jsx("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ o.jsx(
1239
+ "button",
1240
+ {
1241
+ onClick: l,
1242
+ disabled: !(n != null && n.valueTID) && !(n != null && n.valueEPC),
1243
+ className: "my-1 bg-sky-600 disabled:bg-sky-600/40 text-white px-4 py-2 rounded-lg shadow-md disabled:transition-none disabled:active:translate-y-0 transition-all duration-200 ease-in-out transform active:translate-y-[2px] cursor-pointer uppercase",
1244
+ children: "Scrivi tag"
1245
+ }
1246
+ ) })
1201
1247
  ] });
1248
+ function At(r) {
1249
+ return ae({ tag: "svg", attr: { viewBox: "0 0 16 16", fill: "currentColor" }, child: [{ tag: "path", attr: { fillRule: "evenodd", clipRule: "evenodd", d: "M11.04 1.33L12.71 3l.29.71v.33h-.5l-.5.5v-.83l-1.67-1.67H10v4H4v-4H2v10h3l-.5 1H2l-1-1v-10l1-1h8.33l.71.29zM7 5h2V2H7v3zm6.5 0L15 6.5l-.02.69-5.5 5.5-.13.12-.37.37-.1.09-3 1.5-.67-.67 1.5-3 .09-.1.37-.37.12-.13 5.5-5.5h.71zm-6.22 7.24l-.52 1 1.04-.48-.52-.52zm.69-1.03l.79.79 5.15-5.15-.79-.79-5.15 5.15z" }, child: [] }] })(r);
1250
+ }
1251
+ const e0 = ({ minReadingPower: r, maxReadingPower: i, stepRangePower: n, rangeValue: s, setRangeValue: a, show: l, handleClick: u }) => {
1252
+ const m = (s - r) / (i - r) * 100;
1253
+ return /* @__PURE__ */ o.jsxs("div", { className: `border border-slate-300 rounded-xl p-2 m-2 shadow-xl transition-all duration-700 transform ${l ? "opacity-100 translate-y-0" : "opacity-0 translate-y-10"}`, children: [
1254
+ /* @__PURE__ */ o.jsx("h2", { className: "text-center my-4 text-2xl", children: "Configurazione Potenza" }),
1255
+ /* @__PURE__ */ o.jsxs("div", { className: "relative my-12 w-[90%] mx-auto", children: [
1256
+ /* @__PURE__ */ o.jsx(
1257
+ "input",
1258
+ {
1259
+ id: "power",
1260
+ type: "range",
1261
+ min: r,
1262
+ max: i,
1263
+ step: n,
1264
+ value: s,
1265
+ onChange: (p) => a(Number(p.target.value)),
1266
+ className: "w-full h-2 bg-gray-200 rounded-lg appearance-none cursor-pointer accent-[#16693880]"
1267
+ }
1268
+ ),
1269
+ /* @__PURE__ */ o.jsx(
1270
+ "div",
1271
+ {
1272
+ className: "absolute bottom-8 transform -translate-x-1/2 bg-white border border-gray-200 text-sm text-gray-800 py-1 px-2 rounded-lg shadow-md transition-opacity",
1273
+ style: { left: `${m}%` },
1274
+ children: s
1275
+ }
1276
+ )
1277
+ ] }),
1278
+ /* @__PURE__ */ o.jsx("div", { className: "flex items-center justify-center my-4", children: /* @__PURE__ */ o.jsxs(
1279
+ "button",
1280
+ {
1281
+ onClick: () => u(s),
1282
+ className: "py-2 px-4 flex items-center justify-center gap-1 bg-green-600 text-white rounded-lg shadow-md transition duration-200 ease-in-out transform active:translate-y-[2px] cursor-pointer",
1283
+ children: [
1284
+ "Salva",
1285
+ /* @__PURE__ */ o.jsx(At, {})
1286
+ ]
1287
+ }
1288
+ ) })
1289
+ ] });
1290
+ }, t0 = ({ show: r, isConfigPage: i, handleSelectFile: n }) => /* @__PURE__ */ o.jsxs("div", { className: `${i ? `${r ? "opacity-100 translate-y-0 delay-200" : "opacity-0 translate-y-10"}` : ""} p-4 text-center transition-all duration-700 transform`, children: [
1291
+ /* @__PURE__ */ o.jsxs("h2", { className: "text-xl my-4", children: [
1292
+ "Seleziona il file ",
1293
+ /* @__PURE__ */ o.jsx("strong", { children: "config.json" }),
1294
+ " per recuperare le chiavi univoche del dispositivo"
1295
+ ] }),
1296
+ /* @__PURE__ */ o.jsx("button", { onClick: n, className: "my-4 bg-blue-500 text-white px-4 py-2 rounded-lg", children: "Seleziona file" })
1297
+ ] });
1298
+ function Mt(r) {
1299
+ return ae({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M312 372c-7.7 0-14 6.3-14 14 0 9.9-8.1 18-18 18H94c-9.9 0-18-8.1-18-18V126c0-9.9 8.1-18 18-18h186c9.9 0 18 8.1 18 18 0 7.7 6.3 14 14 14s14-6.3 14-14c0-25.4-20.6-46-46-46H94c-25.4 0-46 20.6-46 46v260c0 25.4 20.6 46 46 46h186c25.4 0 46-20.6 46-46 0-7.7-6.3-14-14-14z" }, child: [] }, { tag: "path", attr: { d: "M372.9 158.1c-2.6-2.6-6.1-4.1-9.9-4.1-3.7 0-7.3 1.4-9.9 4.1-5.5 5.5-5.5 14.3 0 19.8l65.2 64.2H162c-7.7 0-14 6.3-14 14s6.3 14 14 14h256.6L355 334.2c-5.4 5.4-5.4 14.3 0 19.8l.1.1c2.7 2.5 6.2 3.9 9.8 3.9 3.8 0 7.3-1.4 9.9-4.1l82.6-82.4c4.3-4.3 6.5-9.3 6.5-14.7 0-5.3-2.3-10.3-6.5-14.5l-84.5-84.2z" }, child: [] }] })(r);
1300
+ }
1301
+ function zt(r) {
1302
+ return ae({ tag: "svg", attr: { version: "1.2", baseProfile: "tiny", viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M12 9.059v-2.559c0-.256-.098-.512-.293-.708-.195-.195-.451-.292-.707-.292s-.512.097-.707.292l-6.293 6.208 6.293 6.207c.195.195.451.293.707.293s.512-.098.707-.293.293-.452.293-.707v-2.489c2.75.068 5.755.566 8 3.989v-1c0-4.633-3.5-8.443-8-8.941z" }, child: [] }] })(r);
1303
+ }
1304
+ const Bt = (r) => /* @__PURE__ */ t.createElement("svg", { width: "108.41262mm", height: "108.41262mm", viewBox: "0 0 108.41262 108.41262", id: "svg1", xmlSpace: "preserve", xmlnsXlink: "http://www.w3.org/1999/xlink", xmlns: "http://www.w3.org/2000/svg", "xmlns:svg": "http://www.w3.org/2000/svg", ...r }, /* @__PURE__ */ t.createElement("defs", { id: "defs1" }, /* @__PURE__ */ t.createElement("linearGradient", { id: "linearGradient27" }, /* @__PURE__ */ t.createElement("stop", { style: {
1305
+ stopColor: "#ff0000",
1306
+ stopOpacity: 1
1307
+ }, offset: 0, id: "stop27" }), /* @__PURE__ */ t.createElement("stop", { style: {
1308
+ stopColor: "#ffca00",
1309
+ stopOpacity: 0.96862745
1310
+ }, offset: 1, id: "stop28" })), /* @__PURE__ */ t.createElement("linearGradient", { xlinkHref: "#linearGradient27", id: "linearGradient28", x1: 35.001785, y1: 192.35495, x2: 143.4144, y2: 83.942337, gradientUnits: "userSpaceOnUse" }), /* @__PURE__ */ t.createElement("filter", { style: {
1311
+ colorInterpolationFilters: "sRGB"
1312
+ }, id: "filter90", x: -0.059506074, y: -0.12477839, width: 1.1465613, height: 1.3073246 }, /* @__PURE__ */ t.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 1, floodColor: "rgb(0,0,0)", id: "feFlood89" }), /* @__PURE__ */ t.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0.9, id: "feGaussianBlur89" }), /* @__PURE__ */ t.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset89" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite89" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite90" })), /* @__PURE__ */ t.createElement("filter", { style: {
1313
+ colorInterpolationFilters: "sRGB"
1314
+ }, id: "filter147", x: -0.31473854, y: -0.27257434, width: 1.6432813, height: 1.5822092 }, /* @__PURE__ */ t.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(255,255,255)", id: "feFlood146" }), /* @__PURE__ */ t.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 9.5, id: "feGaussianBlur146" }), /* @__PURE__ */ t.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 3.1, id: "feOffset146" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite146" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite147" })), /* @__PURE__ */ t.createElement("filter", { style: {
1315
+ colorInterpolationFilters: "sRGB"
1316
+ }, id: "filter385", x: 0, y: 0, width: 1.0518825, height: 1.0518825 }, /* @__PURE__ */ t.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(105,0,0)", id: "feFlood384" }), /* @__PURE__ */ t.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0, id: "feGaussianBlur384" }), /* @__PURE__ */ t.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset384" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite384" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite385" })), /* @__PURE__ */ t.createElement("filter", { style: {
1317
+ colorInterpolationFilters: "sRGB"
1318
+ }, id: "filter387", x: 0, y: 0, width: 1.0518825, height: 1.0518825 }, /* @__PURE__ */ t.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(105,0,0)", id: "feFlood385" }), /* @__PURE__ */ t.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0, id: "feGaussianBlur385" }), /* @__PURE__ */ t.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset385" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite386" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite387" })), /* @__PURE__ */ t.createElement("filter", { style: {
1319
+ colorInterpolationFilters: "sRGB"
1320
+ }, id: "filter389", x: 0, y: 0, width: 1.0518825, height: 1.0518825 }, /* @__PURE__ */ t.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(105,0,0)", id: "feFlood387" }), /* @__PURE__ */ t.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0, id: "feGaussianBlur387" }), /* @__PURE__ */ t.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset387" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite388" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite389" })), /* @__PURE__ */ t.createElement("filter", { style: {
1321
+ colorInterpolationFilters: "sRGB"
1322
+ }, id: "filter391", x: 0, y: 0, width: 1.0518825, height: 1.0518825 }, /* @__PURE__ */ t.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(105,0,0)", id: "feFlood389" }), /* @__PURE__ */ t.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0, id: "feGaussianBlur389" }), /* @__PURE__ */ t.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset389" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite390" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite391" })), /* @__PURE__ */ t.createElement("filter", { style: {
1323
+ colorInterpolationFilters: "sRGB"
1324
+ }, id: "filter393", x: 0, y: 0, width: 1.0518825, height: 1.0518825 }, /* @__PURE__ */ t.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(105,0,0)", id: "feFlood391" }), /* @__PURE__ */ t.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0, id: "feGaussianBlur391" }), /* @__PURE__ */ t.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset391" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite392" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite393" })), /* @__PURE__ */ t.createElement("filter", { style: {
1325
+ colorInterpolationFilters: "sRGB"
1326
+ }, id: "filter395", x: 0, y: 0, width: 1.0112203, height: 1.010137 }, /* @__PURE__ */ t.createElement("feFlood", { result: "flood", in: "SourceGraphic", floodOpacity: 0.815686, floodColor: "rgb(105,0,0)", id: "feFlood393" }), /* @__PURE__ */ t.createElement("feGaussianBlur", { result: "blur", in: "SourceGraphic", stdDeviation: 0, id: "feGaussianBlur393" }), /* @__PURE__ */ t.createElement("feOffset", { result: "offset", in: "blur", dx: 1, dy: 1, id: "feOffset393" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp1", operator: "in", in: "flood", in2: "offset", id: "feComposite394" }), /* @__PURE__ */ t.createElement("feComposite", { result: "comp2", operator: "over", in: "SourceGraphic", in2: "comp1", id: "feComposite395" }))), /* @__PURE__ */ t.createElement("g", { id: "layer1", transform: "translate(-35.001785,-83.942337)" }, /* @__PURE__ */ t.createElement("rect", { style: {
1327
+ fill: "url(#linearGradient28)",
1328
+ fillOpacity: 1,
1329
+ fillRule: "evenodd",
1330
+ stroke: "#ff9b01",
1331
+ strokeWidth: 0,
1332
+ strokeOpacity: 1,
1333
+ paintOrder: "stroke markers fill"
1334
+ }, id: "rect26", width: 108.41262, height: 108.41262, x: 35.001785, y: 83.942337, rx: 30, ry: 30 }), /* @__PURE__ */ t.createElement("g", { id: "g1", transform: "matrix(1.0833532,0,0,1.1590115,-13.020803,-26.50933)", style: {
1335
+ strokeWidth: 0.892424
1336
+ } }, /* @__PURE__ */ t.createElement("path", { style: {
1337
+ fill: "#ffffff",
1338
+ fillOpacity: 1,
1339
+ strokeWidth: 0,
1340
+ strokeDasharray: "none"
1341
+ }, d: "m 93.82567,176.60265 c -0.16819,-0.0337 -1.83675,-0.44258 -3.70792,-0.90862 -1.87115,-0.46603 -6.89404,-1.70738 -11.16196,-2.75855 -4.26793,-1.05118 -7.88422,-1.94532 -8.03621,-1.98697 -0.38441,-0.10533 -0.67366,-0.35309 -0.84014,-0.71961 -0.13464,-0.29646 -0.14169,-0.67022 -0.14329,-7.58613 l -0.002,-7.27432 -1.58638,-0.3886 c -0.8725,-0.21372 -2.73139,-0.66288 -4.13086,-0.99814 -1.66387,-0.39859 -2.62074,-0.66385 -2.76482,-0.76643 -0.45114,-0.32125 -0.67287,-1.17785 -0.44025,-1.70084 0.0507,-0.11391 1.34784,-1.54136 2.88261,-3.17212 1.53477,-1.63075 3.54737,-3.76898 4.47243,-4.75162 0.92507,-0.98264 1.68195,-1.81314 1.68195,-1.84557 0,-0.0324 -2.0126,-2.19745 -4.47244,-4.81117 -2.45984,-2.61372 -4.51389,-4.8454 -4.56455,-4.95928 -0.12411,-0.27898 -0.12207,-0.80663 0.005,-1.10902 0.1372,-0.32836 0.59041,-0.71699 0.94692,-0.81198 0.15823,-0.0422 1.52621,-0.37262 3.03996,-0.73436 4.23151,-1.01121 12.80468,-3.07938 16.20779,-3.90995 3.11435,-0.76008 3.63105,-0.84103 4.02851,-0.63116 0.11325,0.0598 1.10839,1.07202 2.21144,2.24939 1.10304,1.17736 3.10699,3.30654 4.45322,4.73153 l 2.44769,2.59088 0.578,-0.60313 c 0.73001,-0.76177 7.41013,-7.89063 7.89815,-8.42872 0.53305,-0.58777 1.16446,-0.82568 1.67671,-0.6318 0.0974,0.0368 1.94877,0.48807 4.11427,1.00273 2.1655,0.51466 5.55423,1.32534 7.53051,1.80149 1.97627,0.47615 5.17578,1.24703 7.11002,1.71306 1.93424,0.46603 3.61155,0.88516 3.72738,0.93144 0.43966,0.17561 0.81987,0.81095 0.82108,1.37204 2.3e-4,0.10902 -0.077,0.33848 -0.17159,0.50991 -0.14542,0.26349 -2.63982,2.95379 -7.91983,8.54181 -0.59557,0.63032 -1.07365,1.1737 -1.06238,1.20751 0.0113,0.0338 2.01538,2.1792 4.45357,4.76756 2.43818,2.58836 4.49238,4.83165 4.56486,4.9851 0.23209,0.49134 0.12362,1.1068 -0.26923,1.52754 -0.24489,0.26229 -0.46525,0.35629 -1.27692,0.54472 -0.39945,0.0927 -2.13682,0.50971 -3.86082,0.92658 -1.72399,0.41689 -3.21193,0.77599 -3.30654,0.79802 l -0.17202,0.0401 v 7.21184 c 0,5.18025 -0.0245,7.28504 -0.0869,7.4717 -0.0478,0.14293 -0.17678,0.35764 -0.2867,0.47713 -0.21143,0.22984 -0.69257,0.50905 -0.87722,0.50905 -0.0605,0 -4.19891,1.01172 -9.19638,2.24827 -12.94173,3.20224 -13.80448,3.41153 -14.01743,3.4002 -0.10512,-0.005 -0.32874,-0.0378 -0.49695,-0.0714 z m -0.11468,-14.06316 c 0,-6.93801 -0.0266,-12.61456 -0.059,-12.61456 -0.0324,0 -1.13014,1.1439 -2.43938,2.54202 -5.28868,5.6477 -5.75841,6.13463 -6.04581,6.26705 -0.47758,0.22003 0.50027,0.42347 -8.92509,-1.85672 -2.27062,-0.5493 -4.32623,-1.04513 -4.568,-1.10183 l -0.43961,-0.10308 v 6.97711 6.97712 l 0.97477,0.24011 c 6.05221,1.49085 19.20592,4.74159 20.12595,4.97382 0.65175,0.16452 1.22801,0.30235 1.28057,0.30631 0.0761,0.005 0.0956,-2.56285 0.0956,-12.60735 z m 12.57633,9.85252 c 5.92884,-1.46667 10.85676,-2.68431 10.95094,-2.70586 l 0.17122,-0.0392 0.02,-6.99318 c 0.0176,-6.18688 0.006,-6.98914 -0.0948,-6.95814 -0.0631,0.0192 -1.69723,0.41672 -3.63146,0.88324 -1.93423,0.46652 -4.7209,1.1404 -6.1926,1.49752 -3.65266,0.88632 -3.40635,0.8392 -3.78841,0.72474 -0.18605,-0.0557 -0.46352,-0.23294 -0.65085,-0.41565 -0.17959,-0.17516 -2.03807,-2.14184 -4.12994,-4.37042 -2.09186,-2.22857 -3.83203,-4.06342 -3.86703,-4.07743 -0.035,-0.014 -0.0637,5.65667 -0.0637,12.60152 v 12.627 l 0.24846,-0.0537 c 0.13666,-0.0296 5.09935,-1.25375 11.02819,-2.72042 z M 85.323,156.74825 c 0.88524,-0.91925 7.62622,-8.10235 8.03426,-8.56119 0.16287,-0.18314 0.28328,-0.34442 0.26759,-0.35841 -0.03,-0.0267 -1.29081,-0.3341 -7.0621,-1.72171 -1.93424,-0.46507 -6.15811,-1.48175 -9.38639,-2.25933 l -5.8696,-1.41376 -0.51316,0.55367 c -0.28223,0.30453 -0.80894,0.86331 -1.17046,1.24174 -0.52801,0.55274 -4.33277,4.60748 -6.87086,7.32232 -0.2664,0.28496 -0.46871,0.53377 -0.44956,0.55291 0.0191,0.0191 1.89033,0.48037 4.15819,1.02495 9.93967,2.38676 16.93345,4.07196 17.46425,4.20814 0.31536,0.0809 0.59738,0.14912 0.62671,0.15159 0.0293,0.003 0.37634,-0.33095 0.77113,-0.74092 z m 20.23487,0.40117 c 0.77963,-0.18934 3.86015,-0.93125 6.8456,-1.6487 12.24203,-2.94198 13.98307,-3.36382 14.01498,-3.39573 0.0184,-0.0184 -0.23762,-0.32105 -0.56885,-0.67267 -0.33122,-0.35161 -2.18125,-2.32256 -4.11118,-4.37989 -1.92994,-2.05733 -3.69458,-3.93741 -3.92146,-4.17796 l -0.41248,-0.43738 -6.82004,1.63769 c -3.75102,0.90074 -8.29937,1.99733 -10.10746,2.43686 -1.80808,0.43955 -3.76047,0.911 -4.33864,1.04768 -0.57817,0.13668 -1.05122,0.27733 -1.05122,0.31258 0,0.0599 1.97276,2.17716 6.91891,7.42581 1.1353,1.20474 2.07997,2.19169 2.09925,2.1932 0.0193,0.002 0.67295,-0.15217 1.45259,-0.34149 z m -9.33771,-11.00163 c 0.95365,-0.22729 3.67769,-0.88483 6.05344,-1.46119 4.87911,-1.18367 10.14405,-2.45535 11.25754,-2.7191 0.40997,-0.0971 0.7454,-0.19673 0.7454,-0.22138 0,-0.0412 -2.28027,-0.59973 -11.88826,-2.91197 -1.93424,-0.46549 -4.51448,-1.08925 -5.73389,-1.38617 -1.21941,-0.29689 -2.26871,-0.53817 -2.33178,-0.53618 -0.0631,0.002 -1.3876,0.31307 -2.9434,0.69126 -1.55579,0.37819 -4.05004,0.98158 -5.54275,1.34086 -1.49273,0.35928 -4.43422,1.06949 -6.53664,1.57826 -2.10243,0.50877 -4.07201,0.98326 -4.37687,1.05442 -0.30485,0.0712 -0.55427,0.14798 -0.55427,0.17071 0,0.0227 0.61066,0.18561 1.35702,0.36195 0.74636,0.17635 4.83175,1.16061 9.07865,2.18726 4.2469,1.02663 8.08287,1.95378 8.52439,2.06033 0.4415,0.10653 0.88256,0.19606 0.98013,0.19894 0.0976,0.003 0.95764,-0.18071 1.91129,-0.408 z m -23.17527,-5.5068 c 1.61572,-0.38489 15.1372,-3.64431 18.92683,-4.56241 0.91455,-0.22156 1.66283,-0.42236 1.66283,-0.44621 0,-0.0436 -2.17511,-2.37359 -6.49352,-6.95578 -1.28517,-1.36367 -2.37292,-2.52792 -2.41721,-2.58723 -0.0681,-0.0912 -0.25681,-0.0653 -1.22322,0.16776 -2.15241,0.51909 -10.69795,2.57488 -15.92927,3.83208 -2.87653,0.69131 -5.24697,1.27382 -5.26762,1.29447 -0.0458,0.0458 -0.20983,-0.13182 4.76121,5.15371 2.23,2.37108 4.08206,4.35788 4.11569,4.4151 0.0336,0.0572 0.0744,0.10403 0.0906,0.10403 0.0161,0 0.81435,-0.18698 1.7737,-0.41552 z m 44.72625,0.0168 c 0.66764,-0.72696 2.63332,-2.82289 4.6092,-4.91467 3.5914,-3.80204 4.07433,-4.32272 4.04059,-4.35646 -0.0185,-0.0184 -0.89212,-0.23938 -1.94146,-0.49094 -4.03823,-0.96807 -15.40558,-3.70468 -17.84516,-4.29611 l -2.55819,-0.62019 -0.2247,0.25651 c -0.12359,0.14108 -0.76319,0.82417 -1.42134,1.51797 -0.65816,0.6938 -2.25926,2.39677 -3.55803,3.78436 -1.29877,1.38761 -2.68169,2.85649 -3.07316,3.26419 -0.39148,0.40769 -0.71177,0.77302 -0.71177,0.81184 0,0.081 1.22124,0.38162 13.25883,3.26372 4.83252,1.15702 8.80323,2.1205 8.82382,2.14109 0.10179,0.1018 0.26744,0.003 0.60137,-0.36131 z", id: "path1" }), /* @__PURE__ */ t.createElement("path", { style: {
1342
+ fill: "#d30000",
1343
+ fillOpacity: 1,
1344
+ strokeWidth: 0.892424
1345
+ }, d: "m 94.23704,147.39738 c -0.18923,-0.0768 -0.53591,-0.44038 -0.83007,-0.87064 -0.13792,-0.20172 -0.97955,-1.55209 -1.87028,-3.00083 -6.42775,-10.45449 -9.51471,-15.54702 -9.94927,-16.41318 -0.45927,-0.91546 -0.98193,-2.46434 -1.17845,-3.49236 -0.47774,-2.49897 -0.33475,-4.87936 0.43464,-7.23535 1.18651,-3.63329 3.71304,-6.57746 7.14475,-8.32579 1.32203,-0.67352 2.76073,-1.13624 4.31579,-1.38807 1.01828,-0.16489 3.18289,-0.16489 4.20118,0 2.16477,0.35056 4.09681,1.1098 5.90163,2.31918 3.0314,2.03129 5.22702,5.32107 5.95891,8.92844 0.6233,3.07215 0.29346,6.03826 -0.98629,8.86914 -0.35811,0.79216 -3.66707,6.34467 -7.57053,12.70353 -1.14824,1.87052 -2.60138,4.23855 -3.2292,5.2623 -0.78819,1.28523 -1.26572,1.99215 -1.54284,2.28396 -0.39825,0.41935 -0.51902,0.47365 -0.79997,0.35967 z m 1.26593,-20.98125 c 2.28056,-0.3989 4.20147,-2.0406 4.94879,-4.22949 0.29427,-0.86192 0.38048,-1.47914 0.33067,-2.36733 -0.0986,-1.75805 -0.74937,-3.16136 -2.02879,-4.37485 -1.21602,-1.15336 -2.65543,-1.72396 -4.3489,-1.72396 -1.69143,0 -3.13312,0.57083 -4.34528,1.72052 -0.96303,0.91339 -1.53452,1.85482 -1.86842,3.07793 -0.13092,0.47957 -0.1542,0.7208 -0.15122,1.5671 0.003,0.87328 0.0263,1.08366 0.18354,1.65699 0.55902,2.03928 1.99215,3.61954 3.96302,4.36987 1.03786,0.39512 2.18932,0.5004 3.31659,0.30322 z", id: "path2" }), /* @__PURE__ */ t.createElement("rect", { style: {
1346
+ fill: "#ffffff",
1347
+ fillOpacity: 1,
1348
+ fillRule: "evenodd",
1349
+ stroke: "#ff9b01",
1350
+ strokeWidth: 0,
1351
+ strokeDasharray: "none",
1352
+ paintOrder: "stroke markers fill"
1353
+ }, id: "rect2", width: 3.538805, height: 1.3867109, x: 158.63237, y: 137.74451, transform: "matrix(0.98806246,0.1540538,-0.46962192,0.88286763,0,0)" }), /* @__PURE__ */ t.createElement("rect", { style: {
1354
+ fill: "#ffffff",
1355
+ fillOpacity: 1,
1356
+ fillRule: "evenodd",
1357
+ stroke: "#ff9b01",
1358
+ strokeWidth: 0,
1359
+ strokeDasharray: "none",
1360
+ paintOrder: "stroke markers fill"
1361
+ }, id: "rect3", width: 3.1665602, height: 1.2219434, x: 120.62843, y: 170.94601, transform: "matrix(0.98237657,-0.18691248,-0.14496758,0.98943641,0,0)" })), /* @__PURE__ */ t.createElement("path", { style: {
1362
+ fill: "#ffffff",
1363
+ fillOpacity: 1,
1364
+ fillRule: "evenodd",
1365
+ stroke: "#ff9b01",
1366
+ strokeWidth: 0,
1367
+ strokeOpacity: 1,
1368
+ paintOrder: "stroke markers fill"
1369
+ }, d: "", id: "path40", transform: "scale(0.26458333)" }))), r0 = ({ Logo: r }) => {
1370
+ const { logout: i } = ve(), { activeAlert: n } = ee(), { autoLogin: s, configRoutes: a, firstPrivateTitle: l } = U(), { isLoading: u } = me(), m = Le(), p = ke(), y = () => {
1371
+ i(), n("info", "Hai effettuato il logout");
1372
+ }, v = a.find((w) => w.path === m.pathname), P = ct("home/:id");
1373
+ return /* @__PURE__ */ o.jsx("header", { className: u ? "hidden" : "", children: /* @__PURE__ */ o.jsxs("nav", { className: "h-[60px] flex items-center justify-between px-2 shadow-lg border-b gap-2 border-b-gray-300", children: [
1374
+ /* @__PURE__ */ o.jsx("figure", { children: r ? /* @__PURE__ */ o.jsx(r, { className: "w-12" }) : /* @__PURE__ */ o.jsx(Bt, { className: "w-12" }) }),
1375
+ /* @__PURE__ */ o.jsx("div", { children: /* @__PURE__ */ o.jsx("p", { children: (v == null ? void 0 : v.title) || l }) }),
1376
+ /* @__PURE__ */ o.jsxs("div", { children: [
1377
+ !s && P && /* @__PURE__ */ o.jsx(
1378
+ "button",
1379
+ {
1380
+ className: "h-[48px] w-[48px] flex items-center justify-center bg-red-600 text-white rounded-lg shadow-md transition duration-200 ease-in-out transform active:translate-y-[2px] cursor-pointer",
1381
+ type: "button",
1382
+ onClick: y,
1383
+ children: /* @__PURE__ */ o.jsx(Mt, { className: "text-4xl w-full" })
1384
+ }
1385
+ ),
1386
+ !P && /* @__PURE__ */ o.jsx(
1387
+ "button",
1388
+ {
1389
+ className: "h-[48px] w-[48px] flex items-center justify-center bg-sky-600 text-white rounded-lg shadow-md transition duration-200 ease-in-out transform active:translate-y-[2px] cursor-pointer",
1390
+ type: "button",
1391
+ onClick: () => p(-1),
1392
+ children: /* @__PURE__ */ o.jsx(zt, { className: "text-4xl w-full" })
1393
+ }
1394
+ )
1395
+ ] })
1396
+ ] }) });
1397
+ };
1202
1398
  export {
1203
- We as Alert,
1204
- $t as AlertProvider,
1205
- Zt as AuthAdmin,
1399
+ Ue as Alert,
1400
+ Zt as AlertProvider,
1401
+ Xt as AuthAdmin,
1206
1402
  Tt as AuthPage,
1207
- Ft as AuthProvider,
1208
- Jt as BrowserRouter,
1209
- Bt as ConfigProvider,
1210
- Nt as Dashboard,
1211
- kt as DefaultLayout,
1212
- dt as ErrorPage,
1213
- Ye as Input,
1214
- Ze as InputLabel,
1215
- Vt as Link,
1216
- St as Loading,
1217
- Ut as LoadingComponent,
1218
- Gt as LoadingProvider,
1219
- Rt as Login,
1220
- Pt as LoginForm,
1221
- Wt as LoginFormProvider,
1222
- Xt as NavLink,
1223
- Kt as Outlet,
1224
- Yt as PackageRoutes,
1225
- Qt as Route,
1226
- Dt as RouteProvider,
1227
- er as Routes,
1228
- ar as axios,
1229
- jt as fetchAxiosConfig,
1230
- se as useAlert,
1231
- je as useAuth,
1232
- Q as useConfig,
1233
- he as useLoading,
1234
- tr as useLocation,
1235
- ot as useLoginForm,
1236
- rr as useMatch,
1237
- or as useNavigate,
1238
- Lt as useRoutesInjection
1403
+ Ut as AuthProvider,
1404
+ i0 as BrowserRouter,
1405
+ e0 as CardInputRange,
1406
+ Qt as CardInputTag,
1407
+ t0 as ConfigFileReader,
1408
+ Yt as ConfigProvider,
1409
+ _t as Dashboard,
1410
+ Rt as DefaultLayout,
1411
+ pt as ErrorPage,
1412
+ r0 as Header,
1413
+ Se as Input,
1414
+ qe as InputGroup,
1415
+ Oe as InputLabel,
1416
+ s0 as Link,
1417
+ Lt as Loading,
1418
+ Kt as LoadingComponent,
1419
+ Ht as LoadingProvider,
1420
+ Gt as Login,
1421
+ Nt as LoginForm,
1422
+ Jt as LoginFormProvider,
1423
+ a0 as NavLink,
1424
+ l0 as Outlet,
1425
+ Vt as PackageRoutes,
1426
+ c0 as Route,
1427
+ qt as RouteProvider,
1428
+ f0 as Routes,
1429
+ h0 as axios,
1430
+ Ot as fetchAxiosConfig,
1431
+ ee as useAlert,
1432
+ ve as useAuth,
1433
+ U as useConfig,
1434
+ me as useLoading,
1435
+ u0 as useLocation,
1436
+ nt as useLoginForm,
1437
+ d0 as useMatch,
1438
+ m0 as useNavigate,
1439
+ kt as useRoutesInjection
1239
1440
  };