@tracktor/shared-module 0.12.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.js CHANGED
@@ -1,5 +1,5 @@
1
- import Ie, { createContext as pr, useMemo as ie, useContext as ue, useState as gr, useLayoutEffect as J, Suspense as mr, useEffect as hr, useCallback as Le } from "react";
2
- var oe = { exports: {} }, W = {};
1
+ import Le, { createContext as pr, useMemo as ue, useContext as se, useState as gr, useLayoutEffect as X, Suspense as mr, useEffect as hr, useCallback as J } from "react";
2
+ var ie = { exports: {} }, W = {};
3
3
  /**
4
4
  * @license React
5
5
  * react-jsx-runtime.production.min.js
@@ -9,23 +9,23 @@ var oe = { exports: {} }, W = {};
9
9
  * This source code is licensed under the MIT license found in the
10
10
  * LICENSE file in the root directory of this source tree.
11
11
  */
12
- var Fe;
12
+ var $e;
13
13
  function Er() {
14
- if (Fe)
14
+ if ($e)
15
15
  return W;
16
- Fe = 1;
17
- var n = Ie, o = Symbol.for("react.element"), i = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, u = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
16
+ $e = 1;
17
+ var n = Le, a = Symbol.for("react.element"), u = Symbol.for("react.fragment"), f = Object.prototype.hasOwnProperty, i = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
18
18
  function s(m, c, R) {
19
- var E, w = {}, O = null, C = null;
20
- R !== void 0 && (O = "" + R), c.key !== void 0 && (O = "" + c.key), c.ref !== void 0 && (C = c.ref);
19
+ var E, w = {}, T = null, C = null;
20
+ R !== void 0 && (T = "" + R), c.key !== void 0 && (T = "" + c.key), c.ref !== void 0 && (C = c.ref);
21
21
  for (E in c)
22
- d.call(c, E) && !g.hasOwnProperty(E) && (w[E] = c[E]);
22
+ f.call(c, E) && !g.hasOwnProperty(E) && (w[E] = c[E]);
23
23
  if (m && m.defaultProps)
24
24
  for (E in c = m.defaultProps, c)
25
25
  w[E] === void 0 && (w[E] = c[E]);
26
- return { $$typeof: o, type: m, key: O, ref: C, props: w, _owner: u.current };
26
+ return { $$typeof: a, type: m, key: T, ref: C, props: w, _owner: i.current };
27
27
  }
28
- return W.Fragment = i, W.jsx = s, W.jsxs = s, W;
28
+ return W.Fragment = u, W.jsx = s, W.jsxs = s, W;
29
29
  }
30
30
  var M = {};
31
31
  /**
@@ -37,51 +37,51 @@ var M = {};
37
37
  * This source code is licensed under the MIT license found in the
38
38
  * LICENSE file in the root directory of this source tree.
39
39
  */
40
- var $e;
40
+ var Ie;
41
41
  function br() {
42
- return $e || ($e = 1, process.env.NODE_ENV !== "production" && function() {
43
- var n = Ie, o = Symbol.for("react.element"), i = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), m = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), k = Symbol.iterator, A = "@@iterator";
42
+ return Ie || (Ie = 1, process.env.NODE_ENV !== "production" && function() {
43
+ var n = Le, a = Symbol.for("react.element"), u = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), s = Symbol.for("react.provider"), m = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), w = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), C = Symbol.for("react.offscreen"), A = Symbol.iterator, k = "@@iterator";
44
44
  function N(e) {
45
45
  if (e === null || typeof e != "object")
46
46
  return null;
47
- var r = k && e[k] || e[A];
47
+ var r = A && e[A] || e[k];
48
48
  return typeof r == "function" ? r : null;
49
49
  }
50
50
  var S = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
51
  function v(e) {
52
52
  {
53
- for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), a = 1; a < r; a++)
54
- t[a - 1] = arguments[a];
55
- se("error", e, t);
53
+ for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
54
+ t[o - 1] = arguments[o];
55
+ le("error", e, t);
56
56
  }
57
57
  }
58
- function se(e, r, t) {
58
+ function le(e, r, t) {
59
59
  {
60
- var a = S.ReactDebugCurrentFrame, p = a.getStackAddendum();
60
+ var o = S.ReactDebugCurrentFrame, p = o.getStackAddendum();
61
61
  p !== "" && (r += "%s", t = t.concat([p]));
62
- var h = t.map(function(f) {
63
- return String(f);
62
+ var h = t.map(function(d) {
63
+ return String(d);
64
64
  });
65
65
  h.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, h);
66
66
  }
67
67
  }
68
- var le = !1, Y = !1, We = !1, Me = !1, Ne = !1, ce;
69
- ce = Symbol.for("react.module.reference");
68
+ var ce = !1, Y = !1, We = !1, Me = !1, Ne = !1, fe;
69
+ fe = Symbol.for("react.module.reference");
70
70
  function Ye(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === d || e === g || Ne || e === u || e === R || e === E || Me || e === C || le || Y || We || typeof e == "object" && e !== null && (e.$$typeof === O || e.$$typeof === w || e.$$typeof === s || e.$$typeof === m || e.$$typeof === c || // This needs to include all possible module reference object
71
+ return !!(typeof e == "string" || typeof e == "function" || e === f || e === g || Ne || e === i || e === R || e === E || Me || e === C || ce || Y || We || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === w || e.$$typeof === s || e.$$typeof === m || e.$$typeof === c || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
75
- e.$$typeof === ce || e.getModuleId !== void 0));
75
+ e.$$typeof === fe || e.getModuleId !== void 0));
76
76
  }
77
77
  function Ve(e, r, t) {
78
- var a = e.displayName;
79
- if (a)
80
- return a;
78
+ var o = e.displayName;
79
+ if (o)
80
+ return o;
81
81
  var p = r.displayName || r.name || "";
82
82
  return p !== "" ? t + "(" + p + ")" : t;
83
83
  }
84
- function fe(e) {
84
+ function de(e) {
85
85
  return e.displayName || "Context";
86
86
  }
87
87
  function j(e) {
@@ -92,13 +92,13 @@ function br() {
92
92
  if (typeof e == "string")
93
93
  return e;
94
94
  switch (e) {
95
- case d:
95
+ case f:
96
96
  return "Fragment";
97
- case i:
97
+ case u:
98
98
  return "Portal";
99
99
  case g:
100
100
  return "Profiler";
101
- case u:
101
+ case i:
102
102
  return "StrictMode";
103
103
  case R:
104
104
  return "Suspense";
@@ -109,19 +109,19 @@ function br() {
109
109
  switch (e.$$typeof) {
110
110
  case m:
111
111
  var r = e;
112
- return fe(r) + ".Consumer";
112
+ return de(r) + ".Consumer";
113
113
  case s:
114
114
  var t = e;
115
- return fe(t._context) + ".Provider";
115
+ return de(t._context) + ".Provider";
116
116
  case c:
117
117
  return Ve(e, e.render, "ForwardRef");
118
118
  case w:
119
- var a = e.displayName || null;
120
- return a !== null ? a : j(e.type) || "Memo";
121
- case O: {
122
- var p = e, h = p._payload, f = p._init;
119
+ var o = e.displayName || null;
120
+ return o !== null ? o : j(e.type) || "Memo";
121
+ case T: {
122
+ var p = e, h = p._payload, d = p._init;
123
123
  try {
124
- return j(f(h));
124
+ return j(d(h));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -129,18 +129,18 @@ function br() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var D = Object.assign, I = 0, de, ve, pe, ge, me, he, Ee;
133
- function be() {
132
+ var D = Object.assign, I = 0, ve, pe, ge, me, he, Ee, be;
133
+ function ye() {
134
134
  }
135
- be.__reactDisabledLog = !0;
135
+ ye.__reactDisabledLog = !0;
136
136
  function qe() {
137
137
  {
138
138
  if (I === 0) {
139
- de = console.log, ve = console.info, pe = console.warn, ge = console.error, me = console.group, he = console.groupCollapsed, Ee = console.groupEnd;
139
+ ve = console.log, pe = console.info, ge = console.warn, me = console.error, he = console.group, Ee = console.groupCollapsed, be = console.groupEnd;
140
140
  var e = {
141
141
  configurable: !0,
142
142
  enumerable: !0,
143
- value: be,
143
+ value: ye,
144
144
  writable: !0
145
145
  };
146
146
  Object.defineProperties(console, {
@@ -156,7 +156,7 @@ function br() {
156
156
  I++;
157
157
  }
158
158
  }
159
- function Ue() {
159
+ function ze() {
160
160
  {
161
161
  if (I--, I === 0) {
162
162
  var e = {
@@ -166,100 +166,100 @@ function br() {
166
166
  };
167
167
  Object.defineProperties(console, {
168
168
  log: D({}, e, {
169
- value: de
169
+ value: ve
170
170
  }),
171
171
  info: D({}, e, {
172
- value: ve
172
+ value: pe
173
173
  }),
174
174
  warn: D({}, e, {
175
- value: pe
175
+ value: ge
176
176
  }),
177
177
  error: D({}, e, {
178
- value: ge
178
+ value: me
179
179
  }),
180
180
  group: D({}, e, {
181
- value: me
181
+ value: he
182
182
  }),
183
183
  groupCollapsed: D({}, e, {
184
- value: he
184
+ value: Ee
185
185
  }),
186
186
  groupEnd: D({}, e, {
187
- value: Ee
187
+ value: be
188
188
  })
189
189
  });
190
190
  }
191
191
  I < 0 && v("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
- var H = S.ReactCurrentDispatcher, Z;
194
+ var Z = S.ReactCurrentDispatcher, K;
195
195
  function V(e, r, t) {
196
196
  {
197
- if (Z === void 0)
197
+ if (K === void 0)
198
198
  try {
199
199
  throw Error();
200
200
  } catch (p) {
201
- var a = p.stack.trim().match(/\n( *(at )?)/);
202
- Z = a && a[1] || "";
201
+ var o = p.stack.trim().match(/\n( *(at )?)/);
202
+ K = o && o[1] || "";
203
203
  }
204
204
  return `
205
- ` + Z + e;
205
+ ` + K + e;
206
206
  }
207
207
  }
208
- var K = !1, q;
208
+ var Q = !1, q;
209
209
  {
210
- var Be = typeof WeakMap == "function" ? WeakMap : Map;
211
- q = new Be();
210
+ var Ue = typeof WeakMap == "function" ? WeakMap : Map;
211
+ q = new Ue();
212
212
  }
213
- function ye(e, r) {
214
- if (!e || K)
213
+ function Re(e, r) {
214
+ if (!e || Q)
215
215
  return "";
216
216
  {
217
217
  var t = q.get(e);
218
218
  if (t !== void 0)
219
219
  return t;
220
220
  }
221
- var a;
222
- K = !0;
221
+ var o;
222
+ Q = !0;
223
223
  var p = Error.prepareStackTrace;
224
224
  Error.prepareStackTrace = void 0;
225
225
  var h;
226
- h = H.current, H.current = null, qe();
226
+ h = Z.current, Z.current = null, qe();
227
227
  try {
228
228
  if (r) {
229
- var f = function() {
229
+ var d = function() {
230
230
  throw Error();
231
231
  };
232
- if (Object.defineProperty(f.prototype, "props", {
232
+ if (Object.defineProperty(d.prototype, "props", {
233
233
  set: function() {
234
234
  throw Error();
235
235
  }
236
236
  }), typeof Reflect == "object" && Reflect.construct) {
237
237
  try {
238
- Reflect.construct(f, []);
238
+ Reflect.construct(d, []);
239
239
  } catch (P) {
240
- a = P;
240
+ o = P;
241
241
  }
242
- Reflect.construct(e, [], f);
242
+ Reflect.construct(e, [], d);
243
243
  } else {
244
244
  try {
245
- f.call();
245
+ d.call();
246
246
  } catch (P) {
247
- a = P;
247
+ o = P;
248
248
  }
249
- e.call(f.prototype);
249
+ e.call(d.prototype);
250
250
  }
251
251
  } else {
252
252
  try {
253
253
  throw Error();
254
254
  } catch (P) {
255
- a = P;
255
+ o = P;
256
256
  }
257
257
  e();
258
258
  }
259
259
  } catch (P) {
260
- if (P && a && typeof P.stack == "string") {
260
+ if (P && o && typeof P.stack == "string") {
261
261
  for (var l = P.stack.split(`
262
- `), _ = a.stack.split(`
262
+ `), _ = o.stack.split(`
263
263
  `), b = l.length - 1, y = _.length - 1; b >= 1 && y >= 0 && l[b] !== _[y]; )
264
264
  y--;
265
265
  for (; b >= 1 && y >= 0; b--, y--)
@@ -267,32 +267,32 @@ function br() {
267
267
  if (b !== 1 || y !== 1)
268
268
  do
269
269
  if (b--, y--, y < 0 || l[b] !== _[y]) {
270
- var T = `
270
+ var O = `
271
271
  ` + l[b].replace(" at new ", " at ");
272
- return e.displayName && T.includes("<anonymous>") && (T = T.replace("<anonymous>", e.displayName)), typeof e == "function" && q.set(e, T), T;
272
+ return e.displayName && O.includes("<anonymous>") && (O = O.replace("<anonymous>", e.displayName)), typeof e == "function" && q.set(e, O), O;
273
273
  }
274
274
  while (b >= 1 && y >= 0);
275
275
  break;
276
276
  }
277
277
  }
278
278
  } finally {
279
- K = !1, H.current = h, Ue(), Error.prepareStackTrace = p;
279
+ Q = !1, Z.current = h, ze(), Error.prepareStackTrace = p;
280
280
  }
281
- var $ = e ? e.displayName || e.name : "", De = $ ? V($) : "";
282
- return typeof e == "function" && q.set(e, De), De;
281
+ var $ = e ? e.displayName || e.name : "", Fe = $ ? V($) : "";
282
+ return typeof e == "function" && q.set(e, Fe), Fe;
283
283
  }
284
- function ze(e, r, t) {
285
- return ye(e, !1);
284
+ function Be(e, r, t) {
285
+ return Re(e, !1);
286
286
  }
287
287
  function Ge(e) {
288
288
  var r = e.prototype;
289
289
  return !!(r && r.isReactComponent);
290
290
  }
291
- function U(e, r, t) {
291
+ function z(e, r, t) {
292
292
  if (e == null)
293
293
  return "";
294
294
  if (typeof e == "function")
295
- return ye(e, Ge(e));
295
+ return Re(e, Ge(e));
296
296
  if (typeof e == "string")
297
297
  return V(e);
298
298
  switch (e) {
@@ -304,48 +304,48 @@ function br() {
304
304
  if (typeof e == "object")
305
305
  switch (e.$$typeof) {
306
306
  case c:
307
- return ze(e.render);
307
+ return Be(e.render);
308
308
  case w:
309
- return U(e.type, r, t);
310
- case O: {
311
- var a = e, p = a._payload, h = a._init;
309
+ return z(e.type, r, t);
310
+ case T: {
311
+ var o = e, p = o._payload, h = o._init;
312
312
  try {
313
- return U(h(p), r, t);
313
+ return z(h(p), r, t);
314
314
  } catch {
315
315
  }
316
316
  }
317
317
  }
318
318
  return "";
319
319
  }
320
- var B = Object.prototype.hasOwnProperty, Re = {}, _e = S.ReactDebugCurrentFrame;
321
- function z(e) {
320
+ var U = Object.prototype.hasOwnProperty, _e = {}, we = S.ReactDebugCurrentFrame;
321
+ function B(e) {
322
322
  if (e) {
323
- var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
324
- _e.setExtraStackFrame(t);
323
+ var r = e._owner, t = z(e.type, e._source, r ? r.type : null);
324
+ we.setExtraStackFrame(t);
325
325
  } else
326
- _e.setExtraStackFrame(null);
326
+ we.setExtraStackFrame(null);
327
327
  }
328
- function Je(e, r, t, a, p) {
328
+ function Je(e, r, t, o, p) {
329
329
  {
330
- var h = Function.call.bind(B);
331
- for (var f in e)
332
- if (h(e, f)) {
330
+ var h = Function.call.bind(U);
331
+ for (var d in e)
332
+ if (h(e, d)) {
333
333
  var l = void 0;
334
334
  try {
335
- if (typeof e[f] != "function") {
336
- var _ = Error((a || "React class") + ": " + t + " type `" + f + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[f] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
335
+ if (typeof e[d] != "function") {
336
+ var _ = Error((o || "React class") + ": " + t + " type `" + d + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[d] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
337
  throw _.name = "Invariant Violation", _;
338
338
  }
339
- l = e[f](r, f, a, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
339
+ l = e[d](r, d, o, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
340
  } catch (b) {
341
341
  l = b;
342
342
  }
343
- l && !(l instanceof Error) && (z(p), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", a || "React class", t, f, typeof l), z(null)), l instanceof Error && !(l.message in Re) && (Re[l.message] = !0, z(p), v("Failed %s type: %s", t, l.message), z(null));
343
+ l && !(l instanceof Error) && (B(p), v("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", t, d, typeof l), B(null)), l instanceof Error && !(l.message in _e) && (_e[l.message] = !0, B(p), v("Failed %s type: %s", t, l.message), B(null));
344
344
  }
345
345
  }
346
346
  }
347
347
  var Xe = Array.isArray;
348
- function Q(e) {
348
+ function ee(e) {
349
349
  return Xe(e);
350
350
  }
351
351
  function He(e) {
@@ -356,27 +356,27 @@ function br() {
356
356
  }
357
357
  function Ze(e) {
358
358
  try {
359
- return we(e), !1;
359
+ return Ce(e), !1;
360
360
  } catch {
361
361
  return !0;
362
362
  }
363
363
  }
364
- function we(e) {
364
+ function Ce(e) {
365
365
  return "" + e;
366
366
  }
367
- function Ce(e) {
367
+ function Te(e) {
368
368
  if (Ze(e))
369
- return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), we(e);
369
+ return v("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(e)), Ce(e);
370
370
  }
371
371
  var L = S.ReactCurrentOwner, Ke = {
372
372
  key: !0,
373
373
  ref: !0,
374
374
  __self: !0,
375
375
  __source: !0
376
- }, Oe, Te, ee;
377
- ee = {};
376
+ }, Oe, Se, re;
377
+ re = {};
378
378
  function Qe(e) {
379
- if (B.call(e, "ref")) {
379
+ if (U.call(e, "ref")) {
380
380
  var r = Object.getOwnPropertyDescriptor(e, "ref").get;
381
381
  if (r && r.isReactWarning)
382
382
  return !1;
@@ -384,7 +384,7 @@ function br() {
384
384
  return e.ref !== void 0;
385
385
  }
386
386
  function er(e) {
387
- if (B.call(e, "key")) {
387
+ if (U.call(e, "key")) {
388
388
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
389
389
  if (r && r.isReactWarning)
390
390
  return !1;
@@ -394,7 +394,7 @@ function br() {
394
394
  function rr(e, r) {
395
395
  if (typeof e.ref == "string" && L.current && r && L.current.stateNode !== r) {
396
396
  var t = j(L.current.type);
397
- ee[t] || (v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', j(L.current.type), e.ref), ee[t] = !0);
397
+ re[t] || (v('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', j(L.current.type), e.ref), re[t] = !0);
398
398
  }
399
399
  }
400
400
  function tr(e, r) {
@@ -411,7 +411,7 @@ function br() {
411
411
  function nr(e, r) {
412
412
  {
413
413
  var t = function() {
414
- Te || (Te = !0, v("%s: `ref` 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://reactjs.org/link/special-props)", r));
414
+ Se || (Se = !0, v("%s: `ref` 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://reactjs.org/link/special-props)", r));
415
415
  };
416
416
  t.isReactWarning = !0, Object.defineProperty(e, "ref", {
417
417
  get: t,
@@ -419,15 +419,15 @@ function br() {
419
419
  });
420
420
  }
421
421
  }
422
- var ar = function(e, r, t, a, p, h, f) {
422
+ var ar = function(e, r, t, o, p, h, d) {
423
423
  var l = {
424
424
  // This tag allows us to uniquely identify this as a React Element
425
- $$typeof: o,
425
+ $$typeof: a,
426
426
  // Built-in properties that belong on the element
427
427
  type: e,
428
428
  key: r,
429
429
  ref: t,
430
- props: f,
430
+ props: d,
431
431
  // Record the component responsible for creating this element.
432
432
  _owner: h
433
433
  };
@@ -440,7 +440,7 @@ function br() {
440
440
  configurable: !1,
441
441
  enumerable: !1,
442
442
  writable: !1,
443
- value: a
443
+ value: o
444
444
  }), Object.defineProperty(l, "_source", {
445
445
  configurable: !1,
446
446
  enumerable: !1,
@@ -448,41 +448,41 @@ function br() {
448
448
  value: p
449
449
  }), Object.freeze && (Object.freeze(l.props), Object.freeze(l)), l;
450
450
  };
451
- function or(e, r, t, a, p) {
451
+ function or(e, r, t, o, p) {
452
452
  {
453
- var h, f = {}, l = null, _ = null;
454
- t !== void 0 && (Ce(t), l = "" + t), er(r) && (Ce(r.key), l = "" + r.key), Qe(r) && (_ = r.ref, rr(r, p));
453
+ var h, d = {}, l = null, _ = null;
454
+ t !== void 0 && (Te(t), l = "" + t), er(r) && (Te(r.key), l = "" + r.key), Qe(r) && (_ = r.ref, rr(r, p));
455
455
  for (h in r)
456
- B.call(r, h) && !Ke.hasOwnProperty(h) && (f[h] = r[h]);
456
+ U.call(r, h) && !Ke.hasOwnProperty(h) && (d[h] = r[h]);
457
457
  if (e && e.defaultProps) {
458
458
  var b = e.defaultProps;
459
459
  for (h in b)
460
- f[h] === void 0 && (f[h] = b[h]);
460
+ d[h] === void 0 && (d[h] = b[h]);
461
461
  }
462
462
  if (l || _) {
463
463
  var y = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
464
- l && tr(f, y), _ && nr(f, y);
464
+ l && tr(d, y), _ && nr(d, y);
465
465
  }
466
- return ar(e, l, _, p, a, L.current, f);
466
+ return ar(e, l, _, p, o, L.current, d);
467
467
  }
468
468
  }
469
- var re = S.ReactCurrentOwner, Se = S.ReactDebugCurrentFrame;
469
+ var te = S.ReactCurrentOwner, je = S.ReactDebugCurrentFrame;
470
470
  function F(e) {
471
471
  if (e) {
472
- var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
473
- Se.setExtraStackFrame(t);
472
+ var r = e._owner, t = z(e.type, e._source, r ? r.type : null);
473
+ je.setExtraStackFrame(t);
474
474
  } else
475
- Se.setExtraStackFrame(null);
475
+ je.setExtraStackFrame(null);
476
476
  }
477
- var te;
478
- te = !1;
479
- function ne(e) {
480
- return typeof e == "object" && e !== null && e.$$typeof === o;
477
+ var ne;
478
+ ne = !1;
479
+ function ae(e) {
480
+ return typeof e == "object" && e !== null && e.$$typeof === a;
481
481
  }
482
- function je() {
482
+ function Pe() {
483
483
  {
484
- if (re.current) {
485
- var e = j(re.current.type);
484
+ if (te.current) {
485
+ var e = j(te.current.type);
486
486
  if (e)
487
487
  return `
488
488
 
@@ -502,10 +502,10 @@ Check your code at ` + r + ":" + t + ".";
502
502
  return "";
503
503
  }
504
504
  }
505
- var Pe = {};
505
+ var xe = {};
506
506
  function ur(e) {
507
507
  {
508
- var r = je();
508
+ var r = Pe();
509
509
  if (!r) {
510
510
  var t = typeof e == "string" ? e : e.displayName || e.name;
511
511
  t && (r = `
@@ -515,35 +515,35 @@ Check the top-level render call using <` + t + ">.");
515
515
  return r;
516
516
  }
517
517
  }
518
- function xe(e, r) {
518
+ function Ae(e, r) {
519
519
  {
520
520
  if (!e._store || e._store.validated || e.key != null)
521
521
  return;
522
522
  e._store.validated = !0;
523
523
  var t = ur(r);
524
- if (Pe[t])
524
+ if (xe[t])
525
525
  return;
526
- Pe[t] = !0;
527
- var a = "";
528
- e && e._owner && e._owner !== re.current && (a = " It was passed a child from " + j(e._owner.type) + "."), F(e), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, a), F(null);
526
+ xe[t] = !0;
527
+ var o = "";
528
+ e && e._owner && e._owner !== te.current && (o = " It was passed a child from " + j(e._owner.type) + "."), F(e), v('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, o), F(null);
529
529
  }
530
530
  }
531
531
  function ke(e, r) {
532
532
  {
533
533
  if (typeof e != "object")
534
534
  return;
535
- if (Q(e))
535
+ if (ee(e))
536
536
  for (var t = 0; t < e.length; t++) {
537
- var a = e[t];
538
- ne(a) && xe(a, r);
537
+ var o = e[t];
538
+ ae(o) && Ae(o, r);
539
539
  }
540
- else if (ne(e))
540
+ else if (ae(e))
541
541
  e._store && (e._store.validated = !0);
542
542
  else if (e) {
543
543
  var p = N(e);
544
544
  if (typeof p == "function" && p !== e.entries)
545
- for (var h = p.call(e), f; !(f = h.next()).done; )
546
- ne(f.value) && xe(f.value, r);
545
+ for (var h = p.call(e), d; !(d = h.next()).done; )
546
+ ae(d.value) && Ae(d.value, r);
547
547
  }
548
548
  }
549
549
  }
@@ -562,10 +562,10 @@ Check the top-level render call using <` + t + ">.");
562
562
  else
563
563
  return;
564
564
  if (t) {
565
- var a = j(r);
566
- Je(t, e.props, "prop", a, e);
567
- } else if (r.PropTypes !== void 0 && !te) {
568
- te = !0;
565
+ var o = j(r);
566
+ Je(t, e.props, "prop", o, e);
567
+ } else if (r.PropTypes !== void 0 && !ne) {
568
+ ne = !0;
569
569
  var p = j(r);
570
570
  v("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", p || "Unknown");
571
571
  }
@@ -575,58 +575,58 @@ Check the top-level render call using <` + t + ">.");
575
575
  function lr(e) {
576
576
  {
577
577
  for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
578
- var a = r[t];
579
- if (a !== "children" && a !== "key") {
580
- F(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", a), F(null);
578
+ var o = r[t];
579
+ if (o !== "children" && o !== "key") {
580
+ F(e), v("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), F(null);
581
581
  break;
582
582
  }
583
583
  }
584
584
  e.ref !== null && (F(e), v("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
585
585
  }
586
586
  }
587
- function Ae(e, r, t, a, p, h) {
587
+ function De(e, r, t, o, p, h) {
588
588
  {
589
- var f = Ye(e);
590
- if (!f) {
589
+ var d = Ye(e);
590
+ if (!d) {
591
591
  var l = "";
592
592
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (l += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
593
593
  var _ = ir(p);
594
- _ ? l += _ : l += je();
594
+ _ ? l += _ : l += Pe();
595
595
  var b;
596
- e === null ? b = "null" : Q(e) ? b = "array" : e !== void 0 && e.$$typeof === o ? (b = "<" + (j(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : b = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", b, l);
596
+ e === null ? b = "null" : ee(e) ? b = "array" : e !== void 0 && e.$$typeof === a ? (b = "<" + (j(e.type) || "Unknown") + " />", l = " Did you accidentally export a JSX literal instead of a component?") : b = typeof e, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", b, l);
597
597
  }
598
598
  var y = or(e, r, t, p, h);
599
599
  if (y == null)
600
600
  return y;
601
- if (f) {
602
- var T = r.children;
603
- if (T !== void 0)
604
- if (a)
605
- if (Q(T)) {
606
- for (var $ = 0; $ < T.length; $++)
607
- ke(T[$], e);
608
- Object.freeze && Object.freeze(T);
601
+ if (d) {
602
+ var O = r.children;
603
+ if (O !== void 0)
604
+ if (o)
605
+ if (ee(O)) {
606
+ for (var $ = 0; $ < O.length; $++)
607
+ ke(O[$], e);
608
+ Object.freeze && Object.freeze(O);
609
609
  } else
610
610
  v("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
611
611
  else
612
- ke(T, e);
612
+ ke(O, e);
613
613
  }
614
- return e === d ? lr(y) : sr(y), y;
614
+ return e === f ? lr(y) : sr(y), y;
615
615
  }
616
616
  }
617
617
  function cr(e, r, t) {
618
- return Ae(e, r, t, !0);
618
+ return De(e, r, t, !0);
619
619
  }
620
620
  function fr(e, r, t) {
621
- return Ae(e, r, t, !1);
621
+ return De(e, r, t, !1);
622
622
  }
623
623
  var dr = fr, vr = cr;
624
- M.Fragment = d, M.jsx = dr, M.jsxs = vr;
624
+ M.Fragment = f, M.jsx = dr, M.jsxs = vr;
625
625
  }()), M;
626
626
  }
627
- process.env.NODE_ENV === "production" ? oe.exports = Er() : oe.exports = br();
628
- var x = oe.exports;
629
- const X = pr({
627
+ process.env.NODE_ENV === "production" ? ie.exports = Er() : ie.exports = br();
628
+ var x = ie.exports;
629
+ const H = pr({
630
630
  axios: void 0,
631
631
  children: void 0,
632
632
  Navigate: void 0,
@@ -634,44 +634,44 @@ const X = pr({
634
634
  translate: void 0,
635
635
  useAuth: void 0,
636
636
  useLocation: void 0
637
- }), Or = ({
637
+ }), Tr = ({
638
638
  axios: n,
639
- children: o,
640
- translate: i,
641
- useAuth: d,
642
- Outlet: u,
639
+ children: a,
640
+ translate: u,
641
+ useAuth: f,
642
+ Outlet: i,
643
643
  Navigate: g,
644
644
  useLocation: s,
645
645
  useGoogleTagManager: m
646
646
  }) => {
647
- const c = ie(
647
+ const c = ue(
648
648
  () => ({
649
649
  axios: n,
650
650
  Navigate: g,
651
- Outlet: u,
652
- translate: i,
653
- useAuth: d,
651
+ Outlet: i,
652
+ translate: u,
653
+ useAuth: f,
654
654
  useGoogleTagManager: m,
655
655
  useLocation: s
656
656
  }),
657
- [g, u, n, i, d, m, s]
657
+ [g, i, n, u, f, m, s]
658
658
  );
659
- return /* @__PURE__ */ x.jsx(X.Provider, { value: c, children: o });
660
- }, G = (n) => `RequireAuth require « ${n} » dependency. You can provide with InjectDependenciesProvider or directly in props.`, Tr = ({
659
+ return /* @__PURE__ */ x.jsx(H.Provider, { value: c, children: a });
660
+ }, G = (n) => `RequireAuth require « ${n} » dependency. You can provide with InjectDependenciesProvider or directly in props.`, Or = ({
661
661
  Fallback: n,
662
- loginPath: o = "/login",
663
- localStorageKey: i = "user",
664
- redirect401Path: d = "/login",
665
- ...u
662
+ loginPath: a = "/login",
663
+ localStorageKey: u = "user",
664
+ redirect401Path: f = "/login",
665
+ ...i
666
666
  }) => {
667
- var k, A, N, S;
667
+ var A, k, N, S;
668
668
  const {
669
- axios: g = u.axios,
670
- useLocation: s = u.useLocation,
671
- useAuth: m = u.useAuth,
672
- Outlet: c = u.Outlet,
673
- Navigate: R = u.Navigate
674
- } = ue(X);
669
+ axios: g = i.axios,
670
+ useLocation: s = i.useLocation,
671
+ useAuth: m = i.useAuth,
672
+ Outlet: c = i.Outlet,
673
+ Navigate: R = i.Navigate
674
+ } = se(H);
675
675
  if (m === void 0)
676
676
  throw new Error(G("useAuth"));
677
677
  if (s === void 0)
@@ -680,50 +680,50 @@ const X = pr({
680
680
  throw new Error(G("Outlet"));
681
681
  if (R === void 0)
682
682
  throw new Error(G("Navigate"));
683
- const [E, w] = gr(null), { isLogged: O } = m(), C = s();
684
- return J(() => {
683
+ const [E, w] = gr(null), { isLogged: T } = m(), C = s();
684
+ return X(() => {
685
685
  g == null || g.interceptors.response.use(
686
686
  (v) => v,
687
687
  async (v) => {
688
688
  var Y;
689
- return typeof v == "object" && v && "response" in v && v.response && typeof v.response == "object" && "status" in v.response && v.response && typeof v.response == "object" && "status" in v.response && ((Y = v == null ? void 0 : v.response) == null ? void 0 : Y.status) === 401 && (g.defaults.headers.common.Authorization = null, localStorage.removeItem(i), w(d)), Promise.reject(v);
689
+ return typeof v == "object" && v && "response" in v && v.response && typeof v.response == "object" && "status" in v.response && v.response && typeof v.response == "object" && "status" in v.response && ((Y = v == null ? void 0 : v.response) == null ? void 0 : Y.status) === 401 && (g.defaults.headers.common.Authorization = null, localStorage.removeItem(u), w(f)), Promise.reject(v);
690
690
  }
691
691
  );
692
- }, [g == null ? void 0 : g.defaults, g == null ? void 0 : g.interceptors.response, i, d]), O && !E ? /* @__PURE__ */ x.jsx(mr, { fallback: n, children: (A = (k = C.state) == null ? void 0 : k.from) != null && A.state && ((S = (N = C.state) == null ? void 0 : N.from) == null ? void 0 : S.pathname) === o ? /* @__PURE__ */ x.jsx(R, { to: C.state.from.state.from.pathname + C.state.from.state.from.search, replace: !0 }) : /* @__PURE__ */ x.jsx(c, {}) }) : /* @__PURE__ */ x.jsx(R, { to: o, state: { from: C }, replace: !0 });
693
- }, ae = (n) => `GTMSendPageView require « ${n} » dependency. You can provide with InjectDependenciesProvider or directly in props.`, Sr = ({ ...n }) => {
692
+ }, [g == null ? void 0 : g.defaults, g == null ? void 0 : g.interceptors.response, u, f]), T && !E ? /* @__PURE__ */ x.jsx(mr, { fallback: n, children: (k = (A = C.state) == null ? void 0 : A.from) != null && k.state && ((S = (N = C.state) == null ? void 0 : N.from) == null ? void 0 : S.pathname) === a ? /* @__PURE__ */ x.jsx(R, { to: C.state.from.state.from.pathname + C.state.from.state.from.search, replace: !0 }) : /* @__PURE__ */ x.jsx(c, {}) }) : /* @__PURE__ */ x.jsx(R, { to: a, state: { from: C }, replace: !0 });
693
+ }, oe = (n) => `GTMSendPageView require « ${n} » dependency. You can provide with InjectDependenciesProvider or directly in props.`, Sr = ({ ...n }) => {
694
694
  const {
695
- useLocation: o = n.useLocation,
696
- Outlet: i = n.Outlet,
697
- useGoogleTagManager: d = n.useGoogleTagManager
698
- } = ue(X);
699
- if (o === void 0)
700
- throw new Error(ae("useLocation"));
701
- if (i === void 0)
702
- throw new Error(ae("Outlet"));
703
- if (d === void 0)
704
- throw new Error(ae("useGoogleTagManager"));
705
- const { pathname: u } = o(), { sendEvent: g } = d();
695
+ useLocation: a = n.useLocation,
696
+ Outlet: u = n.Outlet,
697
+ useGoogleTagManager: f = n.useGoogleTagManager
698
+ } = se(H);
699
+ if (a === void 0)
700
+ throw new Error(oe("useLocation"));
701
+ if (u === void 0)
702
+ throw new Error(oe("Outlet"));
703
+ if (f === void 0)
704
+ throw new Error(oe("useGoogleTagManager"));
705
+ const { pathname: i } = a(), { sendEvent: g } = f();
706
706
  return hr(() => {
707
- g({ event: "pageView", pathname: u });
708
- }, [u, g]), /* @__PURE__ */ x.jsx(i, {});
707
+ g({ event: "pageView", pathname: i });
708
+ }, [i, g]), /* @__PURE__ */ x.jsx(u, {});
709
709
  }, jr = ({
710
710
  axios: n,
711
- baseURL: o,
712
- tokenTypeKey: i = "tokenType",
713
- userLocalStorageKey: d = "user",
714
- tokenKey: u = "accessToken",
711
+ baseURL: a,
712
+ tokenTypeKey: u = "tokenType",
713
+ userLocalStorageKey: f = "user",
714
+ tokenKey: i = "accessToken",
715
715
  postContentType: g = "application/json"
716
- }) => (J(() => {
716
+ }) => (X(() => {
717
717
  if (!n.defaults)
718
718
  return;
719
- const s = localStorage.getItem(d), m = s ? JSON.parse(s) : null, c = m != null && m[i] ? m[i] : null, R = m != null && m[u] ? m[u] : null, E = s ? `${c} ${R}` : null;
720
- n.defaults.baseURL = o, n.defaults.headers.post["Content-Type"] = g, E && (n.defaults.headers.common.Authorization = E);
721
- }, [n.defaults, o, g, u, i, d]), null), Pr = ({
719
+ const s = localStorage.getItem(f), m = s ? JSON.parse(s) : null, c = m != null && m[u] ? m[u] : null, R = m != null && m[i] ? m[i] : null, E = s ? `${c} ${R}` : null;
720
+ n.defaults.baseURL = a, n.defaults.headers.post["Content-Type"] = g, E && (n.defaults.headers.common.Authorization = E);
721
+ }, [n.defaults, a, g, i, u, f]), null), Pr = ({
722
722
  i18n: n,
723
- initReactI18next: o,
724
- resources: i,
725
- LanguageDetector: d
726
- }) => (n.use(d).use(o).init({
723
+ initReactI18next: a,
724
+ resources: u,
725
+ LanguageDetector: f
726
+ }) => (n.use(f).use(a).init({
727
727
  debug: !1,
728
728
  fallbackLng: "en",
729
729
  interpolation: {
@@ -733,95 +733,108 @@ const X = pr({
733
733
  react: {
734
734
  useSuspense: !0
735
735
  },
736
- resources: i,
736
+ resources: u,
737
737
  returnNull: !1
738
738
  }).then(() => {
739
739
  document.documentElement.lang !== n.resolvedLanguage && n.resolvedLanguage && document.documentElement.setAttribute("lang", n.resolvedLanguage);
740
- }), n.on("languageChanged", (u) => {
741
- document.documentElement.setAttribute("lang", u);
742
- }), null), xr = ({ dsn: n, sentry: o }) => (J(() => {
743
- process.env.NODE_ENV === "production" && o.init({
740
+ }), n.on("languageChanged", (i) => {
741
+ document.documentElement.setAttribute("lang", i);
742
+ }), null), xr = ({ dsn: n, sentry: a }) => (X(() => {
743
+ process.env.NODE_ENV === "production" && a.init({
744
744
  dsn: n,
745
- integrations: [new o.BrowserTracing()],
745
+ integrations: [new a.BrowserTracing()],
746
746
  tracesSampleRate: 1
747
747
  });
748
- }, [n, o]), null), kr = ({ IMaskMixin: n, ...o }) => {
749
- const i = ie(
748
+ }, [n, a]), null), Ar = ({ IMaskMixin: n, ...a }) => {
749
+ const u = ue(
750
750
  // eslint-disable-next-line react/jsx-props-no-spreading
751
- () => n(({ TextField: d, ...u }) => /* @__PURE__ */ x.jsx(d, { ...u })),
751
+ () => n(({ TextField: f, ...i }) => /* @__PURE__ */ x.jsx(f, { ...i })),
752
752
  [n]
753
753
  );
754
- return /* @__PURE__ */ x.jsx(i, { ...o });
755
- }, Ar = ({ mapbox: n, accessToken: o }) => (J(() => {
756
- n && o && (n.accessToken = o);
757
- }, [o, n]), null), Dr = ({
754
+ return /* @__PURE__ */ x.jsx(u, { ...a });
755
+ }, kr = ({ mapbox: n, accessToken: a }) => (X(() => {
756
+ n && a && (n.accessToken = a);
757
+ }, [a, n]), null), Dr = ({
758
758
  children: n,
759
- defaultOptions: o,
760
- QueryClient: i,
761
- QueryClientProvider: d
759
+ defaultOptions: a,
760
+ QueryClient: u,
761
+ QueryClientProvider: f
762
762
  }) => {
763
- const u = new i({
763
+ const i = new u({
764
764
  defaultOptions: {
765
765
  queries: {
766
766
  refetchOnWindowFocus: !1,
767
767
  retry: 3,
768
- ...o
768
+ ...a
769
769
  }
770
770
  }
771
771
  });
772
- return /* @__PURE__ */ x.jsx(d, { client: u, children: n });
772
+ return /* @__PURE__ */ x.jsx(f, { client: i, children: n });
773
773
  }, Fr = (n) => {
774
- const { unknownErrorTranslationKey: o = "error.unknownError" } = n || {}, { translate: i = n == null ? void 0 : n.translate } = ue(X);
775
- return { printError: Le(
776
- (u) => {
777
- var m, c, R, E, w, O, C, k, A;
778
- const g = i ? i(o) : "Unknown error", { response: s } = u || {};
779
- return u != null && u.reason ? String(u.reason) : (m = s == null ? void 0 : s.data) != null && m.reason ? String(s.data.reason) : (c = s == null ? void 0 : s.data) != null && c.message ? String(s.data.message) : (E = (R = s == null ? void 0 : s.data) == null ? void 0 : R.detail) != null && E.length && Array.isArray((w = s == null ? void 0 : s.data) == null ? void 0 : w.detail) && ((C = (O = s == null ? void 0 : s.data) == null ? void 0 : O.detail[0]) != null && C.msg) && typeof ((A = (k = s == null ? void 0 : s.data) == null ? void 0 : k.detail[0]) == null ? void 0 : A.msg) == "string" ? String(s.data.detail[0].msg) : g;
774
+ const { unknownErrorTranslationKey: a = "error.unknownError" } = n || {}, { translate: u = n == null ? void 0 : n.translate } = se(H);
775
+ return { printError: J(
776
+ (i) => {
777
+ var m, c, R, E, w, T, C, A, k;
778
+ const g = u ? u(a) : "Unknown error", { response: s } = i || {};
779
+ return i != null && i.reason ? String(i.reason) : (m = s == null ? void 0 : s.data) != null && m.reason ? String(s.data.reason) : (c = s == null ? void 0 : s.data) != null && c.message ? String(s.data.message) : (E = (R = s == null ? void 0 : s.data) == null ? void 0 : R.detail) != null && E.length && Array.isArray((w = s == null ? void 0 : s.data) == null ? void 0 : w.detail) && ((C = (T = s == null ? void 0 : s.data) == null ? void 0 : T.detail[0]) != null && C.msg) && typeof ((k = (A = s == null ? void 0 : s.data) == null ? void 0 : A.detail[0]) == null ? void 0 : k.msg) == "string" ? String(s.data.detail[0].msg) : g;
780
780
  },
781
- [i, o]
781
+ [u, a]
782
782
  ) };
783
783
  }, $r = ({
784
784
  data: n,
785
- fetchNextPage: o,
786
- isFetchingNextPage: i,
787
- isInitialLoading: d,
788
- isLoading: u,
785
+ fetchNextPage: a,
786
+ isFetchingNextPage: u,
787
+ isInitialLoading: f,
788
+ isLoading: i,
789
789
  enabled: g = !0
790
790
  }) => {
791
- const s = Le(
791
+ const s = J(
792
792
  async (c) => {
793
- i || !g || await o({ pageParam: (c == null ? void 0 : c.pageParam) || c.visibleRowsCount });
793
+ u || !g || await a({ pageParam: (c == null ? void 0 : c.pageParam) || c.visibleRowsCount });
794
794
  },
795
- [g, o, i]
796
- ), m = ie(() => {
797
- if (n)
798
- return n.pages.reduce((c, R) => [...c, ...R], []);
799
- }, [n]);
795
+ [g, a, u]
796
+ ), m = ue(() => n ? n.pages.reduce((c, R) => [...c, ...R], []) : [], [n]);
800
797
  return {
801
798
  fetchNextPageOnRowsScrollEnd: s,
802
- isLoading: i || u,
803
- loadingVariant: d ? "skeleton" : "linear",
799
+ isLoading: u || i,
800
+ loadingVariant: f ? "skeleton" : "linear",
804
801
  rows: m
805
802
  };
803
+ }, Ir = (n) => {
804
+ const a = J(
805
+ ({ tokenType: f, accessToken: i }) => {
806
+ n.defaults.headers.common.Authorization = `${f} ${i}`;
807
+ },
808
+ [n.defaults.headers.common]
809
+ );
810
+ return {
811
+ clearAuthenticationToken: J(() => {
812
+ n.defaults.headers.common.Authorization = null;
813
+ }, [n.defaults.headers.common]),
814
+ setAuthenticationToken: a
815
+ };
806
816
  }, yr = (n) => n.charAt(0).toUpperCase() + n.slice(1).toLowerCase(), Rr = (n) => {
807
- const d = n.split("/").filter((u) => u.length > 0).map((u) => u.replace(/\${([^}]*)}/g, "$1").split(/[_-]/).map((c) => c.charAt(0).toUpperCase() + c.slice(1)).join("")).join("");
808
- return d.charAt(0).toLowerCase() + d.slice(1);
809
- }, _r = (n, o, i) => {
810
- const d = Rr(o), u = yr(i);
811
- return `${d}${u}`;
817
+ const f = n.split("/").filter((i) => i.length > 0).map((i) => i.replace(/\${([^}]*)}/g, "$1").split(/[_-]/).map((c) => c.charAt(0).toUpperCase() + c.slice(1)).join("")).join("");
818
+ return f.charAt(0).toLowerCase() + f.slice(1);
819
+ }, _r = (n, a, u) => {
820
+ const f = Rr(a), i = yr(u);
821
+ return `${f}${i}`;
812
822
  }, wr = (n) => {
813
823
  if (n)
814
- return (n == null ? void 0 : n.reduce((o, i) => (o[i] = {
824
+ return (n == null ? void 0 : n.reduce((a, u) => (a[u] = {
815
825
  query: {
816
826
  useInfinite: !0,
817
827
  useInfiniteQueryParam: "offset"
818
828
  }
819
- }, o), {})) || {};
820
- }, Ir = (n) => {
821
- const { input: o = "./openapi.json", operationsToGenerateInfiniteQueryHook: i = void 0 } = n || {};
829
+ }, a), {})) || {};
830
+ }, Lr = (n) => {
831
+ const { input: a = "./openapi.json", operationsToGenerateInfiniteQueryHook: u = void 0 } = n || {};
822
832
  return {
823
833
  api: {
824
- input: o,
834
+ hooks: {
835
+ afterAllFilesWrite: "prettier src/api/ --write"
836
+ },
837
+ input: a,
825
838
  output: {
826
839
  client: "react-query",
827
840
  mode: "tags-split",
@@ -831,7 +844,7 @@ const X = pr({
831
844
  path: `${__dirname}/config/orval/mutator/axiosCustomInstance.ts`
832
845
  },
833
846
  operationName: _r,
834
- ...(i == null ? void 0 : i.length) && { operations: wr(i) },
847
+ ...(u == null ? void 0 : u.length) && { operations: wr(u) },
835
848
  query: {
836
849
  useQuery: !0
837
850
  }
@@ -846,14 +859,15 @@ export {
846
859
  jr as AxiosConfig,
847
860
  Sr as GTMSendPageView,
848
861
  Pr as I18nConfig,
849
- X as InjectDependenciesContext,
850
- Or as InjectDependenciesProvider,
851
- Ar as MapBoxConfig,
852
- kr as MaskTextField,
862
+ H as InjectDependenciesContext,
863
+ Tr as InjectDependenciesProvider,
864
+ kr as MapBoxConfig,
865
+ Ar as MaskTextField,
853
866
  Dr as QueryClientConfigProvider,
854
- Tr as RequireAuth,
867
+ Or as RequireAuth,
855
868
  xr as SentryConfig,
856
- Ir as getOrvalConfig,
869
+ Lr as getOrvalConfig,
870
+ Ir as useAuth,
857
871
  $r as useInfiniteDataGrid,
858
872
  Fr as useResponseError
859
873
  };