itrm-components 1.0.13 → 1.0.14

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/index.es.js CHANGED
@@ -1,645 +1,453 @@
1
- import Pe, { useState as dr } from "react";
2
- var N = { exports: {} }, W = {};
1
+ import ye, { useState as je } from "react";
2
+ var C = { exports: {} }, y = {};
3
3
  /**
4
4
  * @license React
5
- * react-jsx-runtime.production.min.js
5
+ * react-jsx-runtime.production.js
6
6
  *
7
- * Copyright (c) Facebook, Inc. and its affiliates.
7
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
8
8
  *
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 Oe;
13
- function vr() {
14
- if (Oe) return W;
15
- Oe = 1;
16
- var x = Pe, R = Symbol.for("react.element"), k = Symbol.for("react.fragment"), y = Object.prototype.hasOwnProperty, O = x.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, S = { key: !0, ref: !0, __self: !0, __source: !0 };
17
- function D(E, c, w) {
18
- var p, b = {}, _ = null, Y = null;
19
- w !== void 0 && (_ = "" + w), c.key !== void 0 && (_ = "" + c.key), c.ref !== void 0 && (Y = c.ref);
20
- for (p in c) y.call(c, p) && !S.hasOwnProperty(p) && (b[p] = c[p]);
21
- if (E && E.defaultProps) for (p in c = E.defaultProps, c) b[p] === void 0 && (b[p] = c[p]);
22
- return { $$typeof: R, type: E, key: _, ref: Y, props: b, _owner: O.current };
12
+ var ie;
13
+ function Oe() {
14
+ if (ie) return y;
15
+ ie = 1;
16
+ var f = Symbol.for("react.transitional.element"), x = Symbol.for("react.fragment");
17
+ function b(m, s, i) {
18
+ var E = null;
19
+ if (i !== void 0 && (E = "" + i), s.key !== void 0 && (E = "" + s.key), "key" in s) {
20
+ i = {};
21
+ for (var w in s)
22
+ w !== "key" && (i[w] = s[w]);
23
+ } else i = s;
24
+ return s = i.ref, {
25
+ $$typeof: f,
26
+ type: m,
27
+ key: E,
28
+ ref: s !== void 0 ? s : null,
29
+ props: i
30
+ };
23
31
  }
24
- return W.Fragment = k, W.jsx = D, W.jsxs = D, W;
32
+ return y.Fragment = x, y.jsx = b, y.jsxs = b, y;
25
33
  }
26
- var $ = {};
34
+ var j = {};
27
35
  /**
28
36
  * @license React
29
37
  * react-jsx-runtime.development.js
30
38
  *
31
- * Copyright (c) Facebook, Inc. and its affiliates.
39
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
32
40
  *
33
41
  * This source code is licensed under the MIT license found in the
34
42
  * LICENSE file in the root directory of this source tree.
35
43
  */
36
- var Se;
37
- function pr() {
38
- return Se || (Se = 1, process.env.NODE_ENV !== "production" && function() {
39
- var x = Pe, R = Symbol.for("react.element"), k = Symbol.for("react.portal"), y = Symbol.for("react.fragment"), O = Symbol.for("react.strict_mode"), S = Symbol.for("react.profiler"), D = Symbol.for("react.provider"), E = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), _ = Symbol.for("react.lazy"), Y = Symbol.for("react.offscreen"), Q = Symbol.iterator, je = "@@iterator";
40
- function xe(e) {
41
- if (e === null || typeof e != "object")
42
- return null;
43
- var r = Q && e[Q] || e[je];
44
- return typeof r == "function" ? r : null;
45
- }
46
- var C = x.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
44
+ var ce;
45
+ function Ce() {
46
+ return ce || (ce = 1, process.env.NODE_ENV !== "production" && function() {
47
47
  function f(e) {
48
- {
49
- for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), n = 1; n < r; n++)
50
- t[n - 1] = arguments[n];
51
- ke("error", e, t);
52
- }
53
- }
54
- function ke(e, r, t) {
55
- {
56
- var n = C.ReactDebugCurrentFrame, i = n.getStackAddendum();
57
- i !== "" && (r += "%s", t = t.concat([i]));
58
- var u = t.map(function(o) {
59
- return String(o);
60
- });
61
- u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
62
- }
63
- }
64
- var De = !1, Fe = !1, Ae = !1, Ie = !1, We = !1, ee;
65
- ee = Symbol.for("react.module.reference");
66
- function $e(e) {
67
- return !!(typeof e == "string" || typeof e == "function" || e === y || e === S || We || e === O || e === w || e === p || Ie || e === Y || De || Fe || Ae || typeof e == "object" && e !== null && (e.$$typeof === _ || e.$$typeof === b || e.$$typeof === D || e.$$typeof === E || e.$$typeof === c || // This needs to include all possible module reference object
68
- // types supported by any Flight configuration anywhere since
69
- // we don't know which Flight build this will end up being used
70
- // with.
71
- e.$$typeof === ee || e.getModuleId !== void 0));
72
- }
73
- function Ye(e, r, t) {
74
- var n = e.displayName;
75
- if (n)
76
- return n;
77
- var i = r.displayName || r.name || "";
78
- return i !== "" ? t + "(" + i + ")" : t;
79
- }
80
- function re(e) {
81
- return e.displayName || "Context";
82
- }
83
- function g(e) {
84
- if (e == null)
85
- return null;
86
- if (typeof e.tag == "number" && f("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
87
- return e.displayName || e.name || null;
88
- if (typeof e == "string")
89
- return e;
48
+ if (e == null) return null;
49
+ if (typeof e == "function")
50
+ return e.$$typeof === Re ? null : e.displayName || e.name || null;
51
+ if (typeof e == "string") return e;
90
52
  switch (e) {
91
- case y:
53
+ case P:
92
54
  return "Fragment";
93
- case k:
55
+ case xe:
94
56
  return "Portal";
95
- case S:
57
+ case F:
96
58
  return "Profiler";
97
- case O:
59
+ case B:
98
60
  return "StrictMode";
99
- case w:
61
+ case M:
100
62
  return "Suspense";
101
- case p:
63
+ case $:
102
64
  return "SuspenseList";
103
65
  }
104
66
  if (typeof e == "object")
105
- switch (e.$$typeof) {
106
- case E:
107
- var r = e;
108
- return re(r) + ".Consumer";
109
- case D:
110
- var t = e;
111
- return re(t._context) + ".Provider";
112
- case c:
113
- return Ye(e, e.render, "ForwardRef");
114
- case b:
115
- var n = e.displayName || null;
116
- return n !== null ? n : g(e.type) || "Memo";
117
- case _: {
118
- var i = e, u = i._payload, o = i._init;
67
+ switch (typeof e.tag == "number" && console.error(
68
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
69
+ ), e.$$typeof) {
70
+ case Z:
71
+ return (e.displayName || "Context") + ".Provider";
72
+ case L:
73
+ return (e._context.displayName || "Context") + ".Consumer";
74
+ case Y:
75
+ var r = e.render;
76
+ return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
77
+ case W:
78
+ return r = e.displayName || null, r !== null ? r : f(e.type) || "Memo";
79
+ case U:
80
+ r = e._payload, e = e._init;
119
81
  try {
120
- return g(o(u));
82
+ return f(e(r));
121
83
  } catch {
122
- return null;
123
84
  }
124
- }
125
85
  }
126
86
  return null;
127
87
  }
128
- var m = Object.assign, F = 0, te, ne, ae, oe, ie, ue, se;
129
- function le() {
130
- }
131
- le.__reactDisabledLog = !0;
132
- function Me() {
133
- {
134
- if (F === 0) {
135
- te = console.log, ne = console.info, ae = console.warn, oe = console.error, ie = console.group, ue = console.groupCollapsed, se = console.groupEnd;
136
- var e = {
137
- configurable: !0,
138
- enumerable: !0,
139
- value: le,
140
- writable: !0
141
- };
142
- Object.defineProperties(console, {
143
- info: e,
144
- log: e,
145
- warn: e,
146
- error: e,
147
- group: e,
148
- groupCollapsed: e,
149
- groupEnd: e
150
- });
151
- }
152
- F++;
153
- }
88
+ function x(e) {
89
+ return "" + e;
154
90
  }
155
- function Le() {
156
- {
157
- if (F--, F === 0) {
158
- var e = {
159
- configurable: !0,
160
- enumerable: !0,
161
- writable: !0
162
- };
163
- Object.defineProperties(console, {
164
- log: m({}, e, {
165
- value: te
166
- }),
167
- info: m({}, e, {
168
- value: ne
169
- }),
170
- warn: m({}, e, {
171
- value: ae
172
- }),
173
- error: m({}, e, {
174
- value: oe
175
- }),
176
- group: m({}, e, {
177
- value: ie
178
- }),
179
- groupCollapsed: m({}, e, {
180
- value: ue
181
- }),
182
- groupEnd: m({}, e, {
183
- value: se
184
- })
185
- });
186
- }
187
- F < 0 && f("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
91
+ function b(e) {
92
+ try {
93
+ x(e);
94
+ var r = !1;
95
+ } catch {
96
+ r = !0;
188
97
  }
189
- }
190
- var J = C.ReactCurrentDispatcher, q;
191
- function M(e, r, t) {
192
- {
193
- if (q === void 0)
194
- try {
195
- throw Error();
196
- } catch (i) {
197
- var n = i.stack.trim().match(/\n( *(at )?)/);
198
- q = n && n[1] || "";
199
- }
200
- return `
201
- ` + q + e;
98
+ if (r) {
99
+ r = console;
100
+ var t = r.error, n = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
101
+ return t.call(
102
+ r,
103
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
104
+ n
105
+ ), x(e);
202
106
  }
203
107
  }
204
- var B = !1, L;
205
- {
206
- var Ve = typeof WeakMap == "function" ? WeakMap : Map;
207
- L = new Ve();
108
+ function m() {
208
109
  }
209
- function fe(e, r) {
210
- if (!e || B)
211
- return "";
212
- {
213
- var t = L.get(e);
214
- if (t !== void 0)
215
- return t;
110
+ function s() {
111
+ if (p === 0) {
112
+ K = console.log, D = console.info, ee = console.warn, re = console.error, te = console.group, oe = console.groupCollapsed, ne = console.groupEnd;
113
+ var e = {
114
+ configurable: !0,
115
+ enumerable: !0,
116
+ value: m,
117
+ writable: !0
118
+ };
119
+ Object.defineProperties(console, {
120
+ info: e,
121
+ log: e,
122
+ warn: e,
123
+ error: e,
124
+ group: e,
125
+ groupCollapsed: e,
126
+ groupEnd: e
127
+ });
128
+ }
129
+ p++;
130
+ }
131
+ function i() {
132
+ if (p--, p === 0) {
133
+ var e = { configurable: !0, enumerable: !0, writable: !0 };
134
+ Object.defineProperties(console, {
135
+ log: T({}, e, { value: K }),
136
+ info: T({}, e, { value: D }),
137
+ warn: T({}, e, { value: ee }),
138
+ error: T({}, e, { value: re }),
139
+ group: T({}, e, { value: te }),
140
+ groupCollapsed: T({}, e, { value: oe }),
141
+ groupEnd: T({}, e, { value: ne })
142
+ });
216
143
  }
217
- var n;
218
- B = !0;
219
- var i = Error.prepareStackTrace;
220
- Error.prepareStackTrace = void 0;
221
- var u;
222
- u = J.current, J.current = null, Me();
144
+ 0 > p && console.error(
145
+ "disabledDepth fell below zero. This is a bug in React. Please file an issue."
146
+ );
147
+ }
148
+ function E(e) {
149
+ if (J === void 0)
150
+ try {
151
+ throw Error();
152
+ } catch (t) {
153
+ var r = t.stack.trim().match(/\n( *(at )?)/);
154
+ J = r && r[1] || "", ae = -1 < t.stack.indexOf(`
155
+ at`) ? " (<anonymous>)" : -1 < t.stack.indexOf("@") ? "@unknown:0:0" : "";
156
+ }
157
+ return `
158
+ ` + J + e + ae;
159
+ }
160
+ function w(e, r) {
161
+ if (!e || z) return "";
162
+ var t = V.get(e);
163
+ if (t !== void 0) return t;
164
+ z = !0, t = Error.prepareStackTrace, Error.prepareStackTrace = void 0;
165
+ var n = null;
166
+ n = g.H, g.H = null, s();
223
167
  try {
224
- if (r) {
225
- var o = function() {
226
- throw Error();
227
- };
228
- if (Object.defineProperty(o.prototype, "props", {
229
- set: function() {
230
- throw Error();
231
- }
232
- }), typeof Reflect == "object" && Reflect.construct) {
233
- try {
234
- Reflect.construct(o, []);
235
- } catch (v) {
236
- n = v;
237
- }
238
- Reflect.construct(e, [], o);
239
- } else {
168
+ var u = {
169
+ DetermineComponentFrameRoot: function() {
240
170
  try {
241
- o.call();
171
+ if (r) {
172
+ var d = function() {
173
+ throw Error();
174
+ };
175
+ if (Object.defineProperty(d.prototype, "props", {
176
+ set: function() {
177
+ throw Error();
178
+ }
179
+ }), typeof Reflect == "object" && Reflect.construct) {
180
+ try {
181
+ Reflect.construct(d, []);
182
+ } catch (v) {
183
+ var O = v;
184
+ }
185
+ Reflect.construct(e, [], d);
186
+ } else {
187
+ try {
188
+ d.call();
189
+ } catch (v) {
190
+ O = v;
191
+ }
192
+ e.call(d.prototype);
193
+ }
194
+ } else {
195
+ try {
196
+ throw Error();
197
+ } catch (v) {
198
+ O = v;
199
+ }
200
+ (d = e()) && typeof d.catch == "function" && d.catch(function() {
201
+ });
202
+ }
242
203
  } catch (v) {
243
- n = v;
204
+ if (v && O && typeof v.stack == "string")
205
+ return [v.stack, O.stack];
244
206
  }
245
- e.call(o.prototype);
246
- }
247
- } else {
248
- try {
249
- throw Error();
250
- } catch (v) {
251
- n = v;
207
+ return [null, null];
252
208
  }
253
- e();
254
- }
255
- } catch (v) {
256
- if (v && n && typeof v.stack == "string") {
257
- for (var a = v.stack.split(`
258
- `), d = n.stack.split(`
259
- `), s = a.length - 1, l = d.length - 1; s >= 1 && l >= 0 && a[s] !== d[l]; )
260
- l--;
261
- for (; s >= 1 && l >= 0; s--, l--)
262
- if (a[s] !== d[l]) {
263
- if (s !== 1 || l !== 1)
209
+ };
210
+ u.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
211
+ var a = Object.getOwnPropertyDescriptor(
212
+ u.DetermineComponentFrameRoot,
213
+ "name"
214
+ );
215
+ a && a.configurable && Object.defineProperty(
216
+ u.DetermineComponentFrameRoot,
217
+ "name",
218
+ { value: "DetermineComponentFrameRoot" }
219
+ );
220
+ var o = u.DetermineComponentFrameRoot(), c = o[0], R = o[1];
221
+ if (c && R) {
222
+ var l = c.split(`
223
+ `), _ = R.split(`
224
+ `);
225
+ for (o = a = 0; a < l.length && !l[a].includes(
226
+ "DetermineComponentFrameRoot"
227
+ ); )
228
+ a++;
229
+ for (; o < _.length && !_[o].includes(
230
+ "DetermineComponentFrameRoot"
231
+ ); )
232
+ o++;
233
+ if (a === l.length || o === _.length)
234
+ for (a = l.length - 1, o = _.length - 1; 1 <= a && 0 <= o && l[a] !== _[o]; )
235
+ o--;
236
+ for (; 1 <= a && 0 <= o; a--, o--)
237
+ if (l[a] !== _[o]) {
238
+ if (a !== 1 || o !== 1)
264
239
  do
265
- if (s--, l--, l < 0 || a[s] !== d[l]) {
240
+ if (a--, o--, 0 > o || l[a] !== _[o]) {
266
241
  var h = `
267
- ` + a[s].replace(" at new ", " at ");
268
- return e.displayName && h.includes("<anonymous>") && (h = h.replace("<anonymous>", e.displayName)), typeof e == "function" && L.set(e, h), h;
242
+ ` + l[a].replace(
243
+ " at new ",
244
+ " at "
245
+ );
246
+ return e.displayName && h.includes("<anonymous>") && (h = h.replace("<anonymous>", e.displayName)), typeof e == "function" && V.set(e, h), h;
269
247
  }
270
- while (s >= 1 && l >= 0);
248
+ while (1 <= a && 0 <= o);
271
249
  break;
272
250
  }
273
251
  }
274
252
  } finally {
275
- B = !1, J.current = u, Le(), Error.prepareStackTrace = i;
253
+ z = !1, g.H = n, i(), Error.prepareStackTrace = t;
276
254
  }
277
- var j = e ? e.displayName || e.name : "", T = j ? M(j) : "";
278
- return typeof e == "function" && L.set(e, T), T;
279
- }
280
- function Ue(e, r, t) {
281
- return fe(e, !1);
282
- }
283
- function Ne(e) {
284
- var r = e.prototype;
285
- return !!(r && r.isReactComponent);
286
- }
287
- function V(e, r, t) {
288
- if (e == null)
289
- return "";
290
- if (typeof e == "function")
291
- return fe(e, Ne(e));
292
- if (typeof e == "string")
293
- return M(e);
255
+ return l = (l = e ? e.displayName || e.name : "") ? E(l) : "", typeof e == "function" && V.set(e, l), l;
256
+ }
257
+ function S(e) {
258
+ if (e == null) return "";
259
+ if (typeof e == "function") {
260
+ var r = e.prototype;
261
+ return w(
262
+ e,
263
+ !(!r || !r.isReactComponent)
264
+ );
265
+ }
266
+ if (typeof e == "string") return E(e);
294
267
  switch (e) {
295
- case w:
296
- return M("Suspense");
297
- case p:
298
- return M("SuspenseList");
268
+ case M:
269
+ return E("Suspense");
270
+ case $:
271
+ return E("SuspenseList");
299
272
  }
300
273
  if (typeof e == "object")
301
274
  switch (e.$$typeof) {
302
- case c:
303
- return Ue(e.render);
304
- case b:
305
- return V(e.type, r, t);
306
- case _: {
307
- var n = e, i = n._payload, u = n._init;
275
+ case Y:
276
+ return e = w(e.render, !1), e;
277
+ case W:
278
+ return S(e.type);
279
+ case U:
280
+ r = e._payload, e = e._init;
308
281
  try {
309
- return V(u(i), r, t);
282
+ return S(e(r));
310
283
  } catch {
311
284
  }
312
- }
313
285
  }
314
286
  return "";
315
287
  }
316
- var A = Object.prototype.hasOwnProperty, ce = {}, de = C.ReactDebugCurrentFrame;
317
- function U(e) {
318
- if (e) {
319
- var r = e._owner, t = V(e.type, e._source, r ? r.type : null);
320
- de.setExtraStackFrame(t);
321
- } else
322
- de.setExtraStackFrame(null);
323
- }
324
- function Je(e, r, t, n, i) {
325
- {
326
- var u = Function.call.bind(A);
327
- for (var o in e)
328
- if (u(e, o)) {
329
- var a = void 0;
330
- try {
331
- if (typeof e[o] != "function") {
332
- var d = Error((n || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
333
- throw d.name = "Invariant Violation", d;
334
- }
335
- a = e[o](r, o, n, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
336
- } catch (s) {
337
- a = s;
338
- }
339
- a && !(a instanceof Error) && (U(i), f("%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).", n || "React class", t, o, typeof a), U(null)), a instanceof Error && !(a.message in ce) && (ce[a.message] = !0, U(i), f("Failed %s type: %s", t, a.message), U(null));
340
- }
341
- }
342
- }
343
- var qe = Array.isArray;
344
- function K(e) {
345
- return qe(e);
346
- }
347
- function Be(e) {
348
- {
349
- var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
350
- return t;
351
- }
352
- }
353
- function Ke(e) {
354
- try {
355
- return ve(e), !1;
356
- } catch {
357
- return !0;
358
- }
359
- }
360
- function ve(e) {
361
- return "" + e;
362
- }
363
- function pe(e) {
364
- if (Ke(e))
365
- return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Be(e)), ve(e);
366
- }
367
- var I = C.ReactCurrentOwner, Ge = {
368
- key: !0,
369
- ref: !0,
370
- __self: !0,
371
- __source: !0
372
- }, he, ge, G;
373
- G = {};
374
- function ze(e) {
375
- if (A.call(e, "ref")) {
376
- var r = Object.getOwnPropertyDescriptor(e, "ref").get;
377
- if (r && r.isReactWarning)
378
- return !1;
379
- }
380
- return e.ref !== void 0;
288
+ function k() {
289
+ var e = g.A;
290
+ return e === null ? null : e.getOwner();
381
291
  }
382
- function Xe(e) {
383
- if (A.call(e, "key")) {
292
+ function de(e) {
293
+ if (Q.call(e, "key")) {
384
294
  var r = Object.getOwnPropertyDescriptor(e, "key").get;
385
- if (r && r.isReactWarning)
386
- return !1;
295
+ if (r && r.isReactWarning) return !1;
387
296
  }
388
297
  return e.key !== void 0;
389
298
  }
390
- function He(e, r) {
391
- if (typeof e.ref == "string" && I.current && r && I.current.stateNode !== r) {
392
- var t = g(I.current.type);
393
- G[t] || (f('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', g(I.current.type), e.ref), G[t] = !0);
394
- }
395
- }
396
- function Ze(e, r) {
397
- {
398
- var t = function() {
399
- he || (he = !0, f("%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://reactjs.org/link/special-props)", r));
400
- };
401
- t.isReactWarning = !0, Object.defineProperty(e, "key", {
402
- get: t,
403
- configurable: !0
404
- });
299
+ function be(e, r) {
300
+ function t() {
301
+ ue || (ue = !0, console.error(
302
+ "%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)",
303
+ r
304
+ ));
405
305
  }
406
- }
407
- function Qe(e, r) {
408
- {
409
- var t = function() {
410
- ge || (ge = !0, f("%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));
411
- };
412
- t.isReactWarning = !0, Object.defineProperty(e, "ref", {
413
- get: t,
414
- configurable: !0
415
- });
416
- }
417
- }
418
- var er = function(e, r, t, n, i, u, o) {
419
- var a = {
420
- // This tag allows us to uniquely identify this as a React Element
421
- $$typeof: R,
422
- // Built-in properties that belong on the element
306
+ t.isReactWarning = !0, Object.defineProperty(e, "key", {
307
+ get: t,
308
+ configurable: !0
309
+ });
310
+ }
311
+ function me() {
312
+ var e = f(this.type);
313
+ return le[e] || (le[e] = !0, console.error(
314
+ "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."
315
+ )), e = this.props.ref, e !== void 0 ? e : null;
316
+ }
317
+ function ge(e, r, t, n, u, a) {
318
+ return t = a.ref, e = {
319
+ $$typeof: N,
423
320
  type: e,
424
321
  key: r,
425
- ref: t,
426
- props: o,
427
- // Record the component responsible for creating this element.
322
+ props: a,
428
323
  _owner: u
429
- };
430
- return a._store = {}, Object.defineProperty(a._store, "validated", {
431
- configurable: !1,
324
+ }, (t !== void 0 ? t : null) !== null ? Object.defineProperty(e, "ref", {
432
325
  enumerable: !1,
433
- writable: !0,
434
- value: !1
435
- }), Object.defineProperty(a, "_self", {
326
+ get: me
327
+ }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
436
328
  configurable: !1,
437
329
  enumerable: !1,
438
- writable: !1,
439
- value: n
440
- }), Object.defineProperty(a, "_source", {
330
+ writable: !0,
331
+ value: 0
332
+ }), Object.defineProperty(e, "_debugInfo", {
441
333
  configurable: !1,
442
334
  enumerable: !1,
443
- writable: !1,
444
- value: i
445
- }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
446
- };
447
- function rr(e, r, t, n, i) {
448
- {
449
- var u, o = {}, a = null, d = null;
450
- t !== void 0 && (pe(t), a = "" + t), Xe(r) && (pe(r.key), a = "" + r.key), ze(r) && (d = r.ref, He(r, i));
451
- for (u in r)
452
- A.call(r, u) && !Ge.hasOwnProperty(u) && (o[u] = r[u]);
453
- if (e && e.defaultProps) {
454
- var s = e.defaultProps;
455
- for (u in s)
456
- o[u] === void 0 && (o[u] = s[u]);
457
- }
458
- if (a || d) {
459
- var l = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
460
- a && Ze(o, l), d && Qe(o, l);
461
- }
462
- return er(e, a, d, i, n, I.current, o);
463
- }
464
- }
465
- var z = C.ReactCurrentOwner, ye = C.ReactDebugCurrentFrame;
466
- function P(e) {
467
- if (e) {
468
- var r = e._owner, t = V(e.type, e._source, r ? r.type : null);
469
- ye.setExtraStackFrame(t);
335
+ writable: !0,
336
+ value: null
337
+ }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
338
+ }
339
+ function G(e, r, t, n, u, a) {
340
+ if (typeof e == "string" || typeof e == "function" || e === P || e === F || e === B || e === M || e === $ || e === we || typeof e == "object" && e !== null && (e.$$typeof === U || e.$$typeof === W || e.$$typeof === Z || e.$$typeof === L || e.$$typeof === Y || e.$$typeof === pe || e.getModuleId !== void 0)) {
341
+ var o = r.children;
342
+ if (o !== void 0)
343
+ if (n)
344
+ if (q(o)) {
345
+ for (n = 0; n < o.length; n++)
346
+ H(o[n], e);
347
+ Object.freeze && Object.freeze(o);
348
+ } else
349
+ console.error(
350
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
351
+ );
352
+ else H(o, e);
470
353
  } else
471
- ye.setExtraStackFrame(null);
472
- }
473
- var X;
474
- X = !1;
475
- function H(e) {
476
- return typeof e == "object" && e !== null && e.$$typeof === R;
477
- }
478
- function be() {
479
- {
480
- if (z.current) {
481
- var e = g(z.current.type);
482
- if (e)
483
- return `
484
-
485
- Check the render method of \`` + e + "`.";
486
- }
487
- return "";
488
- }
489
- }
490
- function tr(e) {
491
- return "";
492
- }
493
- var Re = {};
494
- function nr(e) {
495
- {
496
- var r = be();
497
- if (!r) {
498
- var t = typeof e == "string" ? e : e.displayName || e.name;
499
- t && (r = `
500
-
501
- Check the top-level render call using <` + t + ">.");
502
- }
503
- return r;
504
- }
505
- }
506
- function Ee(e, r) {
507
- {
508
- if (!e._store || e._store.validated || e.key != null)
509
- return;
510
- e._store.validated = !0;
511
- var t = nr(r);
512
- if (Re[t])
513
- return;
514
- Re[t] = !0;
515
- var n = "";
516
- e && e._owner && e._owner !== z.current && (n = " It was passed a child from " + g(e._owner.type) + "."), P(e), f('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, n), P(null);
517
- }
518
- }
519
- function _e(e, r) {
520
- {
521
- if (typeof e != "object")
522
- return;
523
- if (K(e))
524
- for (var t = 0; t < e.length; t++) {
525
- var n = e[t];
526
- H(n) && Ee(n, r);
527
- }
528
- else if (H(e))
529
- e._store && (e._store.validated = !0);
530
- else if (e) {
531
- var i = xe(e);
532
- if (typeof i == "function" && i !== e.entries)
533
- for (var u = i.call(e), o; !(o = u.next()).done; )
534
- H(o.value) && Ee(o.value, r);
535
- }
536
- }
537
- }
538
- function ar(e) {
539
- {
540
- var r = e.type;
541
- if (r == null || typeof r == "string")
542
- return;
543
- var t;
544
- if (typeof r == "function")
545
- t = r.propTypes;
546
- else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
547
- // Inner props are checked in the reconciler.
548
- r.$$typeof === b))
549
- t = r.propTypes;
550
- else
551
- return;
552
- if (t) {
553
- var n = g(r);
554
- Je(t, e.props, "prop", n, e);
555
- } else if (r.PropTypes !== void 0 && !X) {
556
- X = !0;
557
- var i = g(r);
558
- f("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", i || "Unknown");
559
- }
560
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
561
- }
562
- }
563
- function or(e) {
564
- {
565
- for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
566
- var n = r[t];
567
- if (n !== "children" && n !== "key") {
568
- P(e), f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", n), P(null);
569
- break;
570
- }
571
- }
572
- e.ref !== null && (P(e), f("Invalid attribute `ref` supplied to `React.Fragment`."), P(null));
573
- }
574
- }
575
- var me = {};
576
- function Te(e, r, t, n, i, u) {
577
- {
578
- var o = $e(e);
579
- if (!o) {
580
- var a = "";
581
- (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
582
- var d = tr();
583
- d ? a += d : a += be();
584
- var s;
585
- e === null ? s = "null" : K(e) ? s = "array" : e !== void 0 && e.$$typeof === R ? (s = "<" + (g(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : s = typeof e, f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", s, a);
586
- }
587
- var l = rr(e, r, t, i, u);
588
- if (l == null)
589
- return l;
590
- if (o) {
591
- var h = r.children;
592
- if (h !== void 0)
593
- if (n)
594
- if (K(h)) {
595
- for (var j = 0; j < h.length; j++)
596
- _e(h[j], e);
597
- Object.freeze && Object.freeze(h);
598
- } else
599
- f("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
600
- else
601
- _e(h, e);
602
- }
603
- if (A.call(r, "key")) {
604
- var T = g(e), v = Object.keys(r).filter(function(cr) {
605
- return cr !== "key";
606
- }), Z = v.length > 0 ? "{key: someKey, " + v.join(": ..., ") + ": ...}" : "{key: someKey}";
607
- if (!me[T + Z]) {
608
- var fr = v.length > 0 ? "{" + v.join(": ..., ") + ": ...}" : "{}";
609
- f(`A props object containing a "key" prop is being spread into JSX:
354
+ o = "", (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (o += " 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 ? n = "null" : q(e) ? n = "array" : e !== void 0 && e.$$typeof === N ? (n = "<" + (f(e.type) || "Unknown") + " />", o = " Did you accidentally export a JSX literal instead of a component?") : n = typeof e, console.error(
355
+ "React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",
356
+ n,
357
+ o
358
+ );
359
+ if (Q.call(r, "key")) {
360
+ o = f(e);
361
+ var c = Object.keys(r).filter(function(l) {
362
+ return l !== "key";
363
+ });
364
+ n = 0 < c.length ? "{key: someKey, " + c.join(": ..., ") + ": ...}" : "{key: someKey}", se[o + n] || (c = 0 < c.length ? "{" + c.join(": ..., ") + ": ...}" : "{}", console.error(
365
+ `A props object containing a "key" prop is being spread into JSX:
610
366
  let props = %s;
611
367
  <%s {...props} />
612
368
  React keys must be passed directly to JSX without using spread:
613
369
  let props = %s;
614
- <%s key={someKey} {...props} />`, Z, T, fr, T), me[T + Z] = !0;
370
+ <%s key={someKey} {...props} />`,
371
+ n,
372
+ o,
373
+ c,
374
+ o
375
+ ), se[o + n] = !0);
376
+ }
377
+ if (o = null, t !== void 0 && (b(t), o = "" + t), de(r) && (b(r.key), o = "" + r.key), "key" in r) {
378
+ t = {};
379
+ for (var R in r)
380
+ R !== "key" && (t[R] = r[R]);
381
+ } else t = r;
382
+ return o && be(
383
+ t,
384
+ typeof e == "function" ? e.displayName || e.name || "Unknown" : e
385
+ ), ge(e, o, a, u, k(), t);
386
+ }
387
+ function H(e, r) {
388
+ if (typeof e == "object" && e && e.$$typeof !== he) {
389
+ if (q(e))
390
+ for (var t = 0; t < e.length; t++) {
391
+ var n = e[t];
392
+ A(n) && X(n, r);
615
393
  }
616
- }
617
- return e === y ? or(l) : ar(l), l;
394
+ else if (A(e))
395
+ e._store && (e._store.validated = 1);
396
+ else if (e === null || typeof e != "object" ? t = null : (t = I && e[I] || e["@@iterator"], t = typeof t == "function" ? t : null), typeof t == "function" && t !== e.entries && (t = t.call(e), t !== e))
397
+ for (; !(e = t.next()).done; )
398
+ A(e.value) && X(e.value, r);
618
399
  }
619
400
  }
620
- function ir(e, r, t) {
621
- return Te(e, r, t, !0);
622
- }
623
- function ur(e, r, t) {
624
- return Te(e, r, t, !1);
401
+ function A(e) {
402
+ return typeof e == "object" && e !== null && e.$$typeof === N;
403
+ }
404
+ function X(e, r) {
405
+ if (e._store && !e._store.validated && e.key == null && (e._store.validated = 1, r = Te(r), !fe[r])) {
406
+ fe[r] = !0;
407
+ var t = "";
408
+ e && e._owner != null && e._owner !== k() && (t = null, typeof e._owner.tag == "number" ? t = f(e._owner.type) : typeof e._owner.name == "string" && (t = e._owner.name), t = " It was passed a child from " + t + ".");
409
+ var n = g.getCurrentStack;
410
+ g.getCurrentStack = function() {
411
+ var u = S(e.type);
412
+ return n && (u += n() || ""), u;
413
+ }, console.error(
414
+ 'Each child in a list should have a unique "key" prop.%s%s See https://react.dev/link/warning-keys for more information.',
415
+ r,
416
+ t
417
+ ), g.getCurrentStack = n;
418
+ }
625
419
  }
626
- var sr = ur, lr = ir;
627
- $.Fragment = y, $.jsx = sr, $.jsxs = lr;
628
- }()), $;
420
+ function Te(e) {
421
+ var r = "", t = k();
422
+ return t && (t = f(t.type)) && (r = `
423
+
424
+ Check the render method of \`` + t + "`."), r || (e = f(e)) && (r = `
425
+
426
+ Check the top-level render call using <` + e + ">."), r;
427
+ }
428
+ var _e = ye, N = Symbol.for("react.transitional.element"), xe = Symbol.for("react.portal"), P = Symbol.for("react.fragment"), B = Symbol.for("react.strict_mode"), F = Symbol.for("react.profiler"), L = Symbol.for("react.consumer"), Z = Symbol.for("react.context"), Y = Symbol.for("react.forward_ref"), M = Symbol.for("react.suspense"), $ = Symbol.for("react.suspense_list"), W = Symbol.for("react.memo"), U = Symbol.for("react.lazy"), we = Symbol.for("react.offscreen"), I = Symbol.iterator, Re = Symbol.for("react.client.reference"), g = _e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Q = Object.prototype.hasOwnProperty, T = Object.assign, pe = Symbol.for("react.client.reference"), q = Array.isArray, p = 0, K, D, ee, re, te, oe, ne;
429
+ m.__reactDisabledLog = !0;
430
+ var J, ae, z = !1, V = new (typeof WeakMap == "function" ? WeakMap : Map)(), he = Symbol.for("react.client.reference"), ue, le = {}, se = {}, fe = {};
431
+ j.Fragment = P, j.jsx = function(e, r, t, n, u) {
432
+ return G(e, r, t, !1, n, u);
433
+ }, j.jsxs = function(e, r, t, n, u) {
434
+ return G(e, r, t, !0, n, u);
435
+ };
436
+ }()), j;
629
437
  }
630
- var we;
631
- function hr() {
632
- return we || (we = 1, process.env.NODE_ENV === "production" ? N.exports = vr() : N.exports = pr()), N.exports;
438
+ var ve;
439
+ function Se() {
440
+ return ve || (ve = 1, process.env.NODE_ENV === "production" ? C.exports = Oe() : C.exports = Ce()), C.exports;
633
441
  }
634
- var Ce = hr();
635
- const yr = ({ children: x, content: R }) => {
636
- const [k, y] = dr(!1), O = () => y(!0), S = () => y(!1);
637
- return /* @__PURE__ */ Ce.jsxs("div", { onMouseOver: O, onMouseOut: S, children: [
638
- x,
639
- k && /* @__PURE__ */ Ce.jsx("div", { className: "tooltip-content", children: R })
442
+ var Ee = Se();
443
+ const Ae = ({ children: f, content: x }) => {
444
+ const [b, m] = je(!1), s = () => m(!0), i = () => m(!1);
445
+ return /* @__PURE__ */ Ee.jsxs("div", { onMouseOver: s, onMouseOut: i, children: [
446
+ f,
447
+ b && /* @__PURE__ */ Ee.jsx("div", { className: "tooltip-content", children: x })
640
448
  ] });
641
449
  };
642
450
  export {
643
- yr as Tooltip
451
+ Ae as Tooltip
644
452
  };
645
453
  //# sourceMappingURL=index.es.js.map