@ea-lab/reactive-json 0.5.1 → 0.6.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.
Files changed (84) hide show
  1. package/dist/HashChangeListener-CZjn9YZy.js +8550 -0
  2. package/dist/ParsingDebugDisplay-8f4yL4Jw.js +696 -0
  3. package/dist/VariablesDebug-DgS3E2aX.js +9305 -0
  4. package/dist/assets/DebugJson.css +1 -0
  5. package/dist/assets/DebugList.css +1 -0
  6. package/dist/assets/ParsingDebugDisplay.css +1 -0
  7. package/dist/assets/VariablesDebug.css +4 -0
  8. package/dist/component/action/HashChangeListener.js +1 -1
  9. package/dist/component/action/MessageListener.js +2 -2
  10. package/dist/component/action/Popover.js +1 -1
  11. package/dist/component/action/ReactOnEvent.js +1 -1
  12. package/dist/component/action/Redirect.js +1 -1
  13. package/dist/component/action/SetAttributeValue.js +1 -1
  14. package/dist/component/action/ToggleAttributeValue.js +1 -1
  15. package/dist/component/action/Tooltip.js +1 -1
  16. package/dist/component/action/UnsetAttribute.js +1 -1
  17. package/dist/component/action/UnsetAttributeValue.js +1 -1
  18. package/dist/component/action/index.js +1 -1
  19. package/dist/component/dataMapping/index.js +1 -1
  20. package/dist/component/dataMapping/simpleMapping.js +1 -1
  21. package/dist/component/element/debug/VariablesDebug/DebugMode.enum.js +4 -0
  22. package/dist/component/element/debug/VariablesDebug/ModeDisplay/DebugJson/DebugJson.js +7 -0
  23. package/dist/component/element/debug/VariablesDebug/ModeDisplay/DebugList/DebugList.js +14 -0
  24. package/dist/component/element/debug/VariablesDebug/VariablesDebug.js +18 -0
  25. package/dist/component/element/debug/VariablesDebug/utils.js +19 -0
  26. package/dist/component/element/debug/index.js +4 -0
  27. package/dist/component/element/form/CheckBoxField.js +1 -1
  28. package/dist/component/element/form/DateField.js +1 -1
  29. package/dist/component/element/form/NumberField.js +1 -1
  30. package/dist/component/element/form/SelectField.js +1 -1
  31. package/dist/component/element/form/TextAreaField.js +1 -1
  32. package/dist/component/element/form/TextField.js +1 -1
  33. package/dist/component/element/form/formElementsCommon.js +1 -1
  34. package/dist/component/element/form/index.js +1 -1
  35. package/dist/component/element/html/AccordionItem.js +1 -1
  36. package/dist/component/element/html/FolderSortableTree.js +4 -3
  37. package/dist/component/element/html/FormatNumeral.js +1 -1
  38. package/dist/component/element/html/Html.js +1 -1
  39. package/dist/component/element/html/LabelFromValue.js +1 -1
  40. package/dist/component/element/html/Modal.js +1 -1
  41. package/dist/component/element/html/PreformattedMarkup.js +3 -2
  42. package/dist/component/element/html/SortableTreeItemCollapseButton.js +1 -1
  43. package/dist/component/element/html/Tabs.js +1 -1
  44. package/dist/component/element/html/index.js +1 -1
  45. package/dist/component/element/index.js +28 -26
  46. package/dist/component/element/special/BootstrapElement.js +1 -1
  47. package/dist/component/element/special/Count.js +7 -5
  48. package/dist/component/element/special/DataFilter.js +1 -1
  49. package/dist/component/element/special/DelayedActions.js +1 -1
  50. package/dist/component/element/special/Phantom.js +1 -1
  51. package/dist/component/element/special/ReactiveJsonSubroot.js +5 -4
  52. package/dist/component/element/special/Switch.js +1 -1
  53. package/dist/component/element/special/index.js +1 -1
  54. package/dist/component/index.js +20 -18
  55. package/dist/component/reaction/addData.js +2 -2
  56. package/dist/component/reaction/fetchData.js +1 -1
  57. package/dist/component/reaction/index.js +1 -1
  58. package/dist/component/reaction/moveData.js +1 -1
  59. package/dist/component/reaction/postMessage.js +1 -1
  60. package/dist/component/reaction/redirectNow.js +1 -1
  61. package/dist/component/reaction/removeData.js +1 -1
  62. package/dist/component/reaction/setClipboardData.js +1 -1
  63. package/dist/component/reaction/setData.js +2 -2
  64. package/dist/component/reaction/submitData.js +1 -1
  65. package/dist/component/reaction/utility/httpRequestCommon.js +3 -3
  66. package/dist/component/reaction/utility/index.js +1 -1
  67. package/dist/coreComponentsPlugin.js +1 -1
  68. package/dist/engine/Actions.js +5 -4
  69. package/dist/engine/ParsingDebugDisplay/ParsingDebugDisplay.js +6 -0
  70. package/dist/engine/ReactiveJsonRoot.js +6 -3
  71. package/dist/engine/TemplateSystem.js +1 -1
  72. package/dist/engine/View.js +7 -3
  73. package/dist/engine/index.js +2 -2
  74. package/dist/engine/utility/alterData.js +21 -2
  75. package/dist/engine/utility/analyzeDataOverrideReferences.js +1 -1
  76. package/dist/engine/utility/formatString.js +1 -1
  77. package/dist/engine/utility/index.js +4 -4
  78. package/dist/engine/utility/parseRjBuild.js +39 -991
  79. package/dist/js-yaml-Bw0KO4XO.js +983 -0
  80. package/dist/{alterData-CjaFWyAA.js → lodash-CYNxjS-I.js} +1348 -1368
  81. package/dist/main.js +46 -44
  82. package/dist/utils.d.ts +5 -0
  83. package/package.json +4 -2
  84. package/dist/HashChangeListener-BqIIvMlx.js +0 -18247
@@ -0,0 +1,696 @@
1
+ import { jsxs as oe, jsx as z, Fragment as Re } from "react/jsx-runtime";
2
+ import { g as Oe } from "./_commonjsHelpers-DaMA6jEr.js";
3
+ import "react";
4
+ import './assets/ParsingDebugDisplay.css';var H = { exports: {} }, X = { exports: {} }, m = {};
5
+ /** @license React v16.13.1
6
+ * react-is.production.min.js
7
+ *
8
+ * Copyright (c) Facebook, Inc. and its affiliates.
9
+ *
10
+ * This source code is licensed under the MIT license found in the
11
+ * LICENSE file in the root directory of this source tree.
12
+ */
13
+ var de;
14
+ function xe() {
15
+ if (de) return m;
16
+ de = 1;
17
+ var o = typeof Symbol == "function" && Symbol.for, x = o ? Symbol.for("react.element") : 60103, S = o ? Symbol.for("react.portal") : 60106, p = o ? Symbol.for("react.fragment") : 60107, _ = o ? Symbol.for("react.strict_mode") : 60108, a = o ? Symbol.for("react.profiler") : 60114, P = o ? Symbol.for("react.provider") : 60109, l = o ? Symbol.for("react.context") : 60110, R = o ? Symbol.for("react.async_mode") : 60111, g = o ? Symbol.for("react.concurrent_mode") : 60111, b = o ? Symbol.for("react.forward_ref") : 60112, E = o ? Symbol.for("react.suspense") : 60113, C = o ? Symbol.for("react.suspense_list") : 60120, w = o ? Symbol.for("react.memo") : 60115, M = o ? Symbol.for("react.lazy") : 60116, O = o ? Symbol.for("react.block") : 60121, I = o ? Symbol.for("react.fundamental") : 60117, q = o ? Symbol.for("react.responder") : 60118, U = o ? Symbol.for("react.scope") : 60119;
18
+ function j(t) {
19
+ if (typeof t == "object" && t !== null) {
20
+ var k = t.$$typeof;
21
+ switch (k) {
22
+ case x:
23
+ switch (t = t.type, t) {
24
+ case R:
25
+ case g:
26
+ case p:
27
+ case a:
28
+ case _:
29
+ case E:
30
+ return t;
31
+ default:
32
+ switch (t = t && t.$$typeof, t) {
33
+ case l:
34
+ case b:
35
+ case M:
36
+ case w:
37
+ case P:
38
+ return t;
39
+ default:
40
+ return k;
41
+ }
42
+ }
43
+ case S:
44
+ return k;
45
+ }
46
+ }
47
+ }
48
+ function A(t) {
49
+ return j(t) === g;
50
+ }
51
+ return m.AsyncMode = R, m.ConcurrentMode = g, m.ContextConsumer = l, m.ContextProvider = P, m.Element = x, m.ForwardRef = b, m.Fragment = p, m.Lazy = M, m.Memo = w, m.Portal = S, m.Profiler = a, m.StrictMode = _, m.Suspense = E, m.isAsyncMode = function(t) {
52
+ return A(t) || j(t) === R;
53
+ }, m.isConcurrentMode = A, m.isContextConsumer = function(t) {
54
+ return j(t) === l;
55
+ }, m.isContextProvider = function(t) {
56
+ return j(t) === P;
57
+ }, m.isElement = function(t) {
58
+ return typeof t == "object" && t !== null && t.$$typeof === x;
59
+ }, m.isForwardRef = function(t) {
60
+ return j(t) === b;
61
+ }, m.isFragment = function(t) {
62
+ return j(t) === p;
63
+ }, m.isLazy = function(t) {
64
+ return j(t) === M;
65
+ }, m.isMemo = function(t) {
66
+ return j(t) === w;
67
+ }, m.isPortal = function(t) {
68
+ return j(t) === S;
69
+ }, m.isProfiler = function(t) {
70
+ return j(t) === a;
71
+ }, m.isStrictMode = function(t) {
72
+ return j(t) === _;
73
+ }, m.isSuspense = function(t) {
74
+ return j(t) === E;
75
+ }, m.isValidElementType = function(t) {
76
+ return typeof t == "string" || typeof t == "function" || t === p || t === g || t === a || t === _ || t === E || t === C || typeof t == "object" && t !== null && (t.$$typeof === M || t.$$typeof === w || t.$$typeof === P || t.$$typeof === l || t.$$typeof === b || t.$$typeof === I || t.$$typeof === q || t.$$typeof === U || t.$$typeof === O);
77
+ }, m.typeOf = j, m;
78
+ }
79
+ var h = {};
80
+ /** @license React v16.13.1
81
+ * react-is.development.js
82
+ *
83
+ * Copyright (c) Facebook, Inc. and its affiliates.
84
+ *
85
+ * This source code is licensed under the MIT license found in the
86
+ * LICENSE file in the root directory of this source tree.
87
+ */
88
+ var ye;
89
+ function Ce() {
90
+ return ye || (ye = 1, process.env.NODE_ENV !== "production" && function() {
91
+ var o = typeof Symbol == "function" && Symbol.for, x = o ? Symbol.for("react.element") : 60103, S = o ? Symbol.for("react.portal") : 60106, p = o ? Symbol.for("react.fragment") : 60107, _ = o ? Symbol.for("react.strict_mode") : 60108, a = o ? Symbol.for("react.profiler") : 60114, P = o ? Symbol.for("react.provider") : 60109, l = o ? Symbol.for("react.context") : 60110, R = o ? Symbol.for("react.async_mode") : 60111, g = o ? Symbol.for("react.concurrent_mode") : 60111, b = o ? Symbol.for("react.forward_ref") : 60112, E = o ? Symbol.for("react.suspense") : 60113, C = o ? Symbol.for("react.suspense_list") : 60120, w = o ? Symbol.for("react.memo") : 60115, M = o ? Symbol.for("react.lazy") : 60116, O = o ? Symbol.for("react.block") : 60121, I = o ? Symbol.for("react.fundamental") : 60117, q = o ? Symbol.for("react.responder") : 60118, U = o ? Symbol.for("react.scope") : 60119;
92
+ function j(r) {
93
+ return typeof r == "string" || typeof r == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
94
+ r === p || r === g || r === a || r === _ || r === E || r === C || typeof r == "object" && r !== null && (r.$$typeof === M || r.$$typeof === w || r.$$typeof === P || r.$$typeof === l || r.$$typeof === b || r.$$typeof === I || r.$$typeof === q || r.$$typeof === U || r.$$typeof === O);
95
+ }
96
+ function A(r) {
97
+ if (typeof r == "object" && r !== null) {
98
+ var Y = r.$$typeof;
99
+ switch (Y) {
100
+ case x:
101
+ var J = r.type;
102
+ switch (J) {
103
+ case R:
104
+ case g:
105
+ case p:
106
+ case a:
107
+ case _:
108
+ case E:
109
+ return J;
110
+ default:
111
+ var pe = J && J.$$typeof;
112
+ switch (pe) {
113
+ case l:
114
+ case b:
115
+ case M:
116
+ case w:
117
+ case P:
118
+ return pe;
119
+ default:
120
+ return Y;
121
+ }
122
+ }
123
+ case S:
124
+ return Y;
125
+ }
126
+ }
127
+ }
128
+ var t = R, k = g, G = l, K = P, Z = x, Q = b, B = p, ee = M, re = w, L = S, te = a, D = _, W = E, V = !1;
129
+ function ne(r) {
130
+ return V || (V = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), e(r) || A(r) === R;
131
+ }
132
+ function e(r) {
133
+ return A(r) === g;
134
+ }
135
+ function n(r) {
136
+ return A(r) === l;
137
+ }
138
+ function f(r) {
139
+ return A(r) === P;
140
+ }
141
+ function c(r) {
142
+ return typeof r == "object" && r !== null && r.$$typeof === x;
143
+ }
144
+ function i(r) {
145
+ return A(r) === b;
146
+ }
147
+ function d(r) {
148
+ return A(r) === p;
149
+ }
150
+ function s(r) {
151
+ return A(r) === M;
152
+ }
153
+ function u(r) {
154
+ return A(r) === w;
155
+ }
156
+ function y(r) {
157
+ return A(r) === S;
158
+ }
159
+ function T(r) {
160
+ return A(r) === a;
161
+ }
162
+ function v(r) {
163
+ return A(r) === _;
164
+ }
165
+ function $(r) {
166
+ return A(r) === E;
167
+ }
168
+ h.AsyncMode = t, h.ConcurrentMode = k, h.ContextConsumer = G, h.ContextProvider = K, h.Element = Z, h.ForwardRef = Q, h.Fragment = B, h.Lazy = ee, h.Memo = re, h.Portal = L, h.Profiler = te, h.StrictMode = D, h.Suspense = W, h.isAsyncMode = ne, h.isConcurrentMode = e, h.isContextConsumer = n, h.isContextProvider = f, h.isElement = c, h.isForwardRef = i, h.isFragment = d, h.isLazy = s, h.isMemo = u, h.isPortal = y, h.isProfiler = T, h.isStrictMode = v, h.isSuspense = $, h.isValidElementType = j, h.typeOf = A;
169
+ }()), h;
170
+ }
171
+ var ve;
172
+ function Pe() {
173
+ return ve || (ve = 1, process.env.NODE_ENV === "production" ? X.exports = xe() : X.exports = Ce()), X.exports;
174
+ }
175
+ /*
176
+ object-assign
177
+ (c) Sindre Sorhus
178
+ @license MIT
179
+ */
180
+ var ie, be;
181
+ function we() {
182
+ if (be) return ie;
183
+ be = 1;
184
+ var o = Object.getOwnPropertySymbols, x = Object.prototype.hasOwnProperty, S = Object.prototype.propertyIsEnumerable;
185
+ function p(a) {
186
+ if (a == null)
187
+ throw new TypeError("Object.assign cannot be called with null or undefined");
188
+ return Object(a);
189
+ }
190
+ function _() {
191
+ try {
192
+ if (!Object.assign)
193
+ return !1;
194
+ var a = new String("abc");
195
+ if (a[5] = "de", Object.getOwnPropertyNames(a)[0] === "5")
196
+ return !1;
197
+ for (var P = {}, l = 0; l < 10; l++)
198
+ P["_" + String.fromCharCode(l)] = l;
199
+ var R = Object.getOwnPropertyNames(P).map(function(b) {
200
+ return P[b];
201
+ });
202
+ if (R.join("") !== "0123456789")
203
+ return !1;
204
+ var g = {};
205
+ return "abcdefghijklmnopqrst".split("").forEach(function(b) {
206
+ g[b] = b;
207
+ }), Object.keys(Object.assign({}, g)).join("") === "abcdefghijklmnopqrst";
208
+ } catch {
209
+ return !1;
210
+ }
211
+ }
212
+ return ie = _() ? Object.assign : function(a, P) {
213
+ for (var l, R = p(a), g, b = 1; b < arguments.length; b++) {
214
+ l = Object(arguments[b]);
215
+ for (var E in l)
216
+ x.call(l, E) && (R[E] = l[E]);
217
+ if (o) {
218
+ g = o(l);
219
+ for (var C = 0; C < g.length; C++)
220
+ S.call(l, g[C]) && (R[g[C]] = l[g[C]]);
221
+ }
222
+ }
223
+ return R;
224
+ }, ie;
225
+ }
226
+ var ae, me;
227
+ function le() {
228
+ if (me) return ae;
229
+ me = 1;
230
+ var o = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
231
+ return ae = o, ae;
232
+ }
233
+ var se, he;
234
+ function Se() {
235
+ return he || (he = 1, se = Function.call.bind(Object.prototype.hasOwnProperty)), se;
236
+ }
237
+ var ce, Te;
238
+ function Ae() {
239
+ if (Te) return ce;
240
+ Te = 1;
241
+ var o = function() {
242
+ };
243
+ if (process.env.NODE_ENV !== "production") {
244
+ var x = /* @__PURE__ */ le(), S = {}, p = /* @__PURE__ */ Se();
245
+ o = function(a) {
246
+ var P = "Warning: " + a;
247
+ typeof console < "u" && console.error(P);
248
+ try {
249
+ throw new Error(P);
250
+ } catch {
251
+ }
252
+ };
253
+ }
254
+ function _(a, P, l, R, g) {
255
+ if (process.env.NODE_ENV !== "production") {
256
+ for (var b in a)
257
+ if (p(a, b)) {
258
+ var E;
259
+ try {
260
+ if (typeof a[b] != "function") {
261
+ var C = Error(
262
+ (R || "React class") + ": " + l + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof a[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
263
+ );
264
+ throw C.name = "Invariant Violation", C;
265
+ }
266
+ E = a[b](P, b, R, l, null, x);
267
+ } catch (M) {
268
+ E = M;
269
+ }
270
+ if (E && !(E instanceof Error) && o(
271
+ (R || "React class") + ": type specification of " + l + " `" + b + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof E + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
272
+ ), E instanceof Error && !(E.message in S)) {
273
+ S[E.message] = !0;
274
+ var w = g ? g() : "";
275
+ o(
276
+ "Failed " + l + " type: " + E.message + (w ?? "")
277
+ );
278
+ }
279
+ }
280
+ }
281
+ }
282
+ return _.resetWarningCache = function() {
283
+ process.env.NODE_ENV !== "production" && (S = {});
284
+ }, ce = _, ce;
285
+ }
286
+ var ue, Ee;
287
+ function je() {
288
+ if (Ee) return ue;
289
+ Ee = 1;
290
+ var o = Pe(), x = we(), S = /* @__PURE__ */ le(), p = /* @__PURE__ */ Se(), _ = /* @__PURE__ */ Ae(), a = function() {
291
+ };
292
+ process.env.NODE_ENV !== "production" && (a = function(l) {
293
+ var R = "Warning: " + l;
294
+ typeof console < "u" && console.error(R);
295
+ try {
296
+ throw new Error(R);
297
+ } catch {
298
+ }
299
+ });
300
+ function P() {
301
+ return null;
302
+ }
303
+ return ue = function(l, R) {
304
+ var g = typeof Symbol == "function" && Symbol.iterator, b = "@@iterator";
305
+ function E(e) {
306
+ var n = e && (g && e[g] || e[b]);
307
+ if (typeof n == "function")
308
+ return n;
309
+ }
310
+ var C = "<<anonymous>>", w = {
311
+ array: q("array"),
312
+ bigint: q("bigint"),
313
+ bool: q("boolean"),
314
+ func: q("function"),
315
+ number: q("number"),
316
+ object: q("object"),
317
+ string: q("string"),
318
+ symbol: q("symbol"),
319
+ any: U(),
320
+ arrayOf: j,
321
+ element: A(),
322
+ elementType: t(),
323
+ instanceOf: k,
324
+ node: Q(),
325
+ objectOf: K,
326
+ oneOf: G,
327
+ oneOfType: Z,
328
+ shape: ee,
329
+ exact: re
330
+ };
331
+ function M(e, n) {
332
+ return e === n ? e !== 0 || 1 / e === 1 / n : e !== e && n !== n;
333
+ }
334
+ function O(e, n) {
335
+ this.message = e, this.data = n && typeof n == "object" ? n : {}, this.stack = "";
336
+ }
337
+ O.prototype = Error.prototype;
338
+ function I(e) {
339
+ if (process.env.NODE_ENV !== "production")
340
+ var n = {}, f = 0;
341
+ function c(d, s, u, y, T, v, $) {
342
+ if (y = y || C, v = v || u, $ !== S) {
343
+ if (R) {
344
+ var r = new Error(
345
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
346
+ );
347
+ throw r.name = "Invariant Violation", r;
348
+ } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
349
+ var Y = y + ":" + u;
350
+ !n[Y] && // Avoid spamming the console because they are often not actionable except for lib authors
351
+ f < 3 && (a(
352
+ "You are manually calling a React.PropTypes validation function for the `" + v + "` prop on `" + y + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
353
+ ), n[Y] = !0, f++);
354
+ }
355
+ }
356
+ return s[u] == null ? d ? s[u] === null ? new O("The " + T + " `" + v + "` is marked as required " + ("in `" + y + "`, but its value is `null`.")) : new O("The " + T + " `" + v + "` is marked as required in " + ("`" + y + "`, but its value is `undefined`.")) : null : e(s, u, y, T, v);
357
+ }
358
+ var i = c.bind(null, !1);
359
+ return i.isRequired = c.bind(null, !0), i;
360
+ }
361
+ function q(e) {
362
+ function n(f, c, i, d, s, u) {
363
+ var y = f[c], T = D(y);
364
+ if (T !== e) {
365
+ var v = W(y);
366
+ return new O(
367
+ "Invalid " + d + " `" + s + "` of type " + ("`" + v + "` supplied to `" + i + "`, expected ") + ("`" + e + "`."),
368
+ { expectedType: e }
369
+ );
370
+ }
371
+ return null;
372
+ }
373
+ return I(n);
374
+ }
375
+ function U() {
376
+ return I(P);
377
+ }
378
+ function j(e) {
379
+ function n(f, c, i, d, s) {
380
+ if (typeof e != "function")
381
+ return new O("Property `" + s + "` of component `" + i + "` has invalid PropType notation inside arrayOf.");
382
+ var u = f[c];
383
+ if (!Array.isArray(u)) {
384
+ var y = D(u);
385
+ return new O("Invalid " + d + " `" + s + "` of type " + ("`" + y + "` supplied to `" + i + "`, expected an array."));
386
+ }
387
+ for (var T = 0; T < u.length; T++) {
388
+ var v = e(u, T, i, d, s + "[" + T + "]", S);
389
+ if (v instanceof Error)
390
+ return v;
391
+ }
392
+ return null;
393
+ }
394
+ return I(n);
395
+ }
396
+ function A() {
397
+ function e(n, f, c, i, d) {
398
+ var s = n[f];
399
+ if (!l(s)) {
400
+ var u = D(s);
401
+ return new O("Invalid " + i + " `" + d + "` of type " + ("`" + u + "` supplied to `" + c + "`, expected a single ReactElement."));
402
+ }
403
+ return null;
404
+ }
405
+ return I(e);
406
+ }
407
+ function t() {
408
+ function e(n, f, c, i, d) {
409
+ var s = n[f];
410
+ if (!o.isValidElementType(s)) {
411
+ var u = D(s);
412
+ return new O("Invalid " + i + " `" + d + "` of type " + ("`" + u + "` supplied to `" + c + "`, expected a single ReactElement type."));
413
+ }
414
+ return null;
415
+ }
416
+ return I(e);
417
+ }
418
+ function k(e) {
419
+ function n(f, c, i, d, s) {
420
+ if (!(f[c] instanceof e)) {
421
+ var u = e.name || C, y = ne(f[c]);
422
+ return new O("Invalid " + d + " `" + s + "` of type " + ("`" + y + "` supplied to `" + i + "`, expected ") + ("instance of `" + u + "`."));
423
+ }
424
+ return null;
425
+ }
426
+ return I(n);
427
+ }
428
+ function G(e) {
429
+ if (!Array.isArray(e))
430
+ return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
431
+ "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
432
+ ) : a("Invalid argument supplied to oneOf, expected an array.")), P;
433
+ function n(f, c, i, d, s) {
434
+ for (var u = f[c], y = 0; y < e.length; y++)
435
+ if (M(u, e[y]))
436
+ return null;
437
+ var T = JSON.stringify(e, function($, r) {
438
+ var Y = W(r);
439
+ return Y === "symbol" ? String(r) : r;
440
+ });
441
+ return new O("Invalid " + d + " `" + s + "` of value `" + String(u) + "` " + ("supplied to `" + i + "`, expected one of " + T + "."));
442
+ }
443
+ return I(n);
444
+ }
445
+ function K(e) {
446
+ function n(f, c, i, d, s) {
447
+ if (typeof e != "function")
448
+ return new O("Property `" + s + "` of component `" + i + "` has invalid PropType notation inside objectOf.");
449
+ var u = f[c], y = D(u);
450
+ if (y !== "object")
451
+ return new O("Invalid " + d + " `" + s + "` of type " + ("`" + y + "` supplied to `" + i + "`, expected an object."));
452
+ for (var T in u)
453
+ if (p(u, T)) {
454
+ var v = e(u, T, i, d, s + "." + T, S);
455
+ if (v instanceof Error)
456
+ return v;
457
+ }
458
+ return null;
459
+ }
460
+ return I(n);
461
+ }
462
+ function Z(e) {
463
+ if (!Array.isArray(e))
464
+ return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), P;
465
+ for (var n = 0; n < e.length; n++) {
466
+ var f = e[n];
467
+ if (typeof f != "function")
468
+ return a(
469
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + V(f) + " at index " + n + "."
470
+ ), P;
471
+ }
472
+ function c(i, d, s, u, y) {
473
+ for (var T = [], v = 0; v < e.length; v++) {
474
+ var $ = e[v], r = $(i, d, s, u, y, S);
475
+ if (r == null)
476
+ return null;
477
+ r.data && p(r.data, "expectedType") && T.push(r.data.expectedType);
478
+ }
479
+ var Y = T.length > 0 ? ", expected one of type [" + T.join(", ") + "]" : "";
480
+ return new O("Invalid " + u + " `" + y + "` supplied to " + ("`" + s + "`" + Y + "."));
481
+ }
482
+ return I(c);
483
+ }
484
+ function Q() {
485
+ function e(n, f, c, i, d) {
486
+ return L(n[f]) ? null : new O("Invalid " + i + " `" + d + "` supplied to " + ("`" + c + "`, expected a ReactNode."));
487
+ }
488
+ return I(e);
489
+ }
490
+ function B(e, n, f, c, i) {
491
+ return new O(
492
+ (e || "React class") + ": " + n + " type `" + f + "." + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + i + "`."
493
+ );
494
+ }
495
+ function ee(e) {
496
+ function n(f, c, i, d, s) {
497
+ var u = f[c], y = D(u);
498
+ if (y !== "object")
499
+ return new O("Invalid " + d + " `" + s + "` of type `" + y + "` " + ("supplied to `" + i + "`, expected `object`."));
500
+ for (var T in e) {
501
+ var v = e[T];
502
+ if (typeof v != "function")
503
+ return B(i, d, s, T, W(v));
504
+ var $ = v(u, T, i, d, s + "." + T, S);
505
+ if ($)
506
+ return $;
507
+ }
508
+ return null;
509
+ }
510
+ return I(n);
511
+ }
512
+ function re(e) {
513
+ function n(f, c, i, d, s) {
514
+ var u = f[c], y = D(u);
515
+ if (y !== "object")
516
+ return new O("Invalid " + d + " `" + s + "` of type `" + y + "` " + ("supplied to `" + i + "`, expected `object`."));
517
+ var T = x({}, f[c], e);
518
+ for (var v in T) {
519
+ var $ = e[v];
520
+ if (p(e, v) && typeof $ != "function")
521
+ return B(i, d, s, v, W($));
522
+ if (!$)
523
+ return new O(
524
+ "Invalid " + d + " `" + s + "` key `" + v + "` supplied to `" + i + "`.\nBad object: " + JSON.stringify(f[c], null, " ") + `
525
+ Valid keys: ` + JSON.stringify(Object.keys(e), null, " ")
526
+ );
527
+ var r = $(u, v, i, d, s + "." + v, S);
528
+ if (r)
529
+ return r;
530
+ }
531
+ return null;
532
+ }
533
+ return I(n);
534
+ }
535
+ function L(e) {
536
+ switch (typeof e) {
537
+ case "number":
538
+ case "string":
539
+ case "undefined":
540
+ return !0;
541
+ case "boolean":
542
+ return !e;
543
+ case "object":
544
+ if (Array.isArray(e))
545
+ return e.every(L);
546
+ if (e === null || l(e))
547
+ return !0;
548
+ var n = E(e);
549
+ if (n) {
550
+ var f = n.call(e), c;
551
+ if (n !== e.entries) {
552
+ for (; !(c = f.next()).done; )
553
+ if (!L(c.value))
554
+ return !1;
555
+ } else
556
+ for (; !(c = f.next()).done; ) {
557
+ var i = c.value;
558
+ if (i && !L(i[1]))
559
+ return !1;
560
+ }
561
+ } else
562
+ return !1;
563
+ return !0;
564
+ default:
565
+ return !1;
566
+ }
567
+ }
568
+ function te(e, n) {
569
+ return e === "symbol" ? !0 : n ? n["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && n instanceof Symbol : !1;
570
+ }
571
+ function D(e) {
572
+ var n = typeof e;
573
+ return Array.isArray(e) ? "array" : e instanceof RegExp ? "object" : te(n, e) ? "symbol" : n;
574
+ }
575
+ function W(e) {
576
+ if (typeof e > "u" || e === null)
577
+ return "" + e;
578
+ var n = D(e);
579
+ if (n === "object") {
580
+ if (e instanceof Date)
581
+ return "date";
582
+ if (e instanceof RegExp)
583
+ return "regexp";
584
+ }
585
+ return n;
586
+ }
587
+ function V(e) {
588
+ var n = W(e);
589
+ switch (n) {
590
+ case "array":
591
+ case "object":
592
+ return "an " + n;
593
+ case "boolean":
594
+ case "date":
595
+ case "regexp":
596
+ return "a " + n;
597
+ default:
598
+ return n;
599
+ }
600
+ }
601
+ function ne(e) {
602
+ return !e.constructor || !e.constructor.name ? C : e.constructor.name;
603
+ }
604
+ return w.checkPropTypes = _, w.resetWarningCache = _.resetWarningCache, w.PropTypes = w, w;
605
+ }, ue;
606
+ }
607
+ var fe, ge;
608
+ function Ie() {
609
+ if (ge) return fe;
610
+ ge = 1;
611
+ var o = /* @__PURE__ */ le();
612
+ function x() {
613
+ }
614
+ function S() {
615
+ }
616
+ return S.resetWarningCache = x, fe = function() {
617
+ function p(P, l, R, g, b, E) {
618
+ if (E !== o) {
619
+ var C = new Error(
620
+ "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
621
+ );
622
+ throw C.name = "Invariant Violation", C;
623
+ }
624
+ }
625
+ p.isRequired = p;
626
+ function _() {
627
+ return p;
628
+ }
629
+ var a = {
630
+ array: p,
631
+ bigint: p,
632
+ bool: p,
633
+ func: p,
634
+ number: p,
635
+ object: p,
636
+ string: p,
637
+ symbol: p,
638
+ any: p,
639
+ arrayOf: _,
640
+ element: p,
641
+ elementType: p,
642
+ instanceOf: _,
643
+ node: p,
644
+ objectOf: _,
645
+ oneOf: _,
646
+ oneOfType: _,
647
+ shape: _,
648
+ exact: _,
649
+ checkPropTypes: S,
650
+ resetWarningCache: x
651
+ };
652
+ return a.PropTypes = a, a;
653
+ }, fe;
654
+ }
655
+ var _e;
656
+ function $e() {
657
+ if (_e) return H.exports;
658
+ if (_e = 1, process.env.NODE_ENV !== "production") {
659
+ var o = Pe(), x = !0;
660
+ H.exports = /* @__PURE__ */ je()(o.isElement, x);
661
+ } else
662
+ H.exports = /* @__PURE__ */ Ie()();
663
+ return H.exports;
664
+ }
665
+ var Me = /* @__PURE__ */ $e();
666
+ const N = /* @__PURE__ */ Oe(Me), qe = "_container_16v39_1", De = "_subtitle_16v39_8", Ye = "_errorDetailsTitle_16v39_13", F = {
667
+ container: qe,
668
+ subtitle: De,
669
+ errorDetailsTitle: Ye
670
+ }, ke = ({ processedRjBuild: o, errorContext: x }) => /* @__PURE__ */ oe("div", { className: F.container, children: [
671
+ /* @__PURE__ */ z("h1", { children: "Parsing error" }),
672
+ /* @__PURE__ */ oe("p", { className: F.subtitle, children: [
673
+ "The ",
674
+ o.format,
675
+ " content could not be parsed."
676
+ ] }),
677
+ /* @__PURE__ */ z("p", { className: F.errorDetailsTitle, children: "Error details:" }),
678
+ /* @__PURE__ */ z("pre", { className: F.errorDetails, children: o.error.message }),
679
+ x && /* @__PURE__ */ oe(Re, { children: [
680
+ /* @__PURE__ */ z("p", { className: F.errorDetailsTitle, children: "Error context:" }),
681
+ /* @__PURE__ */ z("pre", { className: F.errorDetails, children: JSON.stringify(x, null, 2) })
682
+ ] })
683
+ ] });
684
+ ke.propTypes = {
685
+ processedRjBuild: N.shape({
686
+ format: N.string.isRequired,
687
+ error: N.shape({
688
+ message: N.string.isRequired
689
+ }).isRequired
690
+ }).isRequired,
691
+ errorContext: N.object
692
+ };
693
+ export {
694
+ N as P,
695
+ ke as a
696
+ };