@chaibuilder/sdk 1.2.114 → 1.2.116

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