@ea-lab/reactive-json 0.3.1 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{HashChangeListener-Dl80ClRX.js → HashChangeListener-kneRVdsH.js} +830 -815
- package/dist/component/action/HashChangeListener.js +1 -1
- package/dist/component/action/MessageListener.js +1 -1
- package/dist/component/action/Popover.js +1 -1
- package/dist/component/action/ReactOnEvent.js +1 -1
- package/dist/component/action/Redirect.js +1 -1
- package/dist/component/action/Tooltip.js +1 -1
- package/dist/component/action/index.js +1 -1
- package/dist/component/dataMapping/index.js +1 -1
- package/dist/component/dataMapping/simpleMapping.js +1 -1
- package/dist/component/element/form/CheckBoxField.js +1 -1
- package/dist/component/element/form/DateField.js +1 -1
- package/dist/component/element/form/NumberField.js +1 -1
- package/dist/component/element/form/SelectField.js +1 -1
- package/dist/component/element/form/TextAreaField.js +1 -1
- package/dist/component/element/form/TextField.js +1 -1
- package/dist/component/element/form/formElementsCommon.js +1 -1
- package/dist/component/element/form/index.js +1 -1
- package/dist/component/element/html/AccordionItem.js +1 -1
- package/dist/component/element/html/FolderSortableTree.js +1 -1
- package/dist/component/element/html/FormatNumeral.js +1 -1
- package/dist/component/element/html/Html.js +1 -1
- package/dist/component/element/html/LabelFromValue.js +1 -1
- package/dist/component/element/html/Modal.js +1 -1
- package/dist/component/element/html/PreformattedMarkup.js +1 -1
- package/dist/component/element/html/SortableTreeItemCollapseButton.js +1 -1
- package/dist/component/element/html/Tabs.js +1 -1
- package/dist/component/element/html/index.js +1 -1
- package/dist/component/element/index.js +1 -1
- package/dist/component/element/special/BootstrapElement.js +1 -1
- package/dist/component/element/special/Count.js +1 -1
- package/dist/component/element/special/DataFilter.js +1 -1
- package/dist/component/element/special/DelayedActions.js +1 -1
- package/dist/component/element/special/Phantom.js +1 -1
- package/dist/component/element/special/ReactiveJsonSubroot.js +1 -1
- package/dist/component/element/special/Switch.js +1 -1
- package/dist/component/element/special/index.js +1 -1
- package/dist/component/index.js +1 -1
- package/dist/component/reaction/addData.js +1 -1
- package/dist/component/reaction/fetchData.js +1 -1
- package/dist/component/reaction/index.js +1 -1
- package/dist/component/reaction/moveData.js +1 -1
- package/dist/component/reaction/postMessage.js +1 -1
- package/dist/component/reaction/redirectNow.js +1 -1
- package/dist/component/reaction/removeData.js +1 -1
- package/dist/component/reaction/setClipboardData.js +1 -1
- package/dist/component/reaction/setData.js +1 -1
- package/dist/component/reaction/submitData.js +1 -1
- package/dist/component/reaction/utility/httpRequestCommon.js +1 -1
- package/dist/component/reaction/utility/index.js +1 -1
- package/dist/coreComponentsPlugin.js +1 -1
- package/dist/engine/Actions.js +1 -1
- package/dist/engine/ReactiveJsonRoot.js +1 -1
- package/dist/engine/TemplateSystem.js +1 -1
- package/dist/engine/View.js +1 -1
- package/dist/engine/index.js +1 -1
- package/dist/engine/utility/analyzeDataOverrideReferences.js +1 -1
- package/dist/engine/utility/formatString.js +1 -1
- package/dist/engine/utility/index.js +1 -1
- package/dist/main.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { jsx as R, jsxs as
|
|
1
|
+
import { jsx as R, jsxs as ze, Fragment as Ot } from "react/jsx-runtime";
|
|
2
2
|
import * as ne from "react";
|
|
3
3
|
import ue, { useContext as Z, useMemo as he, useEffect as me, useRef as ae, useState as Oe, useCallback as pe, useLayoutEffect as $a, useReducer as Ua, createContext as In, cloneElement as kn, forwardRef as di, useImperativeHandle as Cf, createElement as pi, memo as Af, Children as _o, Fragment as Sf, isValidElement as xf } from "react";
|
|
4
|
-
import { GlobalDataContext as
|
|
4
|
+
import { GlobalDataContext as Be } from "./engine/GlobalDataContext.js";
|
|
5
5
|
import { TemplateContext as Te } from "./engine/TemplateContext.js";
|
|
6
6
|
import { c as ge, a as Se, b as Of, d as Df, A as hu, e as Tf, f as _t, B as Rf, g as Ha, u as _f } from "./usePagination-Bb6lefHG.js";
|
|
7
7
|
import { g as yr, c as Po } from "./_commonjsHelpers-DaMA6jEr.js";
|
|
@@ -32,7 +32,7 @@ var Io;
|
|
|
32
32
|
function Hf() {
|
|
33
33
|
if (Io) return Pe;
|
|
34
34
|
Io = 1;
|
|
35
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, s = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116,
|
|
35
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, s = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
|
|
36
36
|
function S(m) {
|
|
37
37
|
if (typeof m == "object" && m !== null) {
|
|
38
38
|
var E = m.$$typeof;
|
|
@@ -63,12 +63,12 @@ function Hf() {
|
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function y(m) {
|
|
67
67
|
return S(m) === u;
|
|
68
68
|
}
|
|
69
69
|
return Pe.AsyncMode = s, Pe.ConcurrentMode = u, Pe.ContextConsumer = l, Pe.ContextProvider = o, Pe.Element = t, Pe.ForwardRef = f, Pe.Fragment = r, Pe.Lazy = g, Pe.Memo = v, Pe.Portal = n, Pe.Profiler = a, Pe.StrictMode = i, Pe.Suspense = c, Pe.isAsyncMode = function(m) {
|
|
70
|
-
return
|
|
71
|
-
}, Pe.isConcurrentMode =
|
|
70
|
+
return y(m) || S(m) === s;
|
|
71
|
+
}, Pe.isConcurrentMode = y, Pe.isContextConsumer = function(m) {
|
|
72
72
|
return S(m) === l;
|
|
73
73
|
}, Pe.isContextProvider = function(m) {
|
|
74
74
|
return S(m) === o;
|
|
@@ -91,7 +91,7 @@ function Hf() {
|
|
|
91
91
|
}, Pe.isSuspense = function(m) {
|
|
92
92
|
return S(m) === c;
|
|
93
93
|
}, Pe.isValidElementType = function(m) {
|
|
94
|
-
return typeof m == "string" || typeof m == "function" || m === r || m === u || m === a || m === i || m === c || m === d || typeof m == "object" && m !== null && (m.$$typeof === g || m.$$typeof === v || m.$$typeof === o || m.$$typeof === l || m.$$typeof === f || m.$$typeof === h || m.$$typeof === A || m.$$typeof === x || m.$$typeof ===
|
|
94
|
+
return typeof m == "string" || typeof m == "function" || m === r || m === u || m === a || m === i || m === c || m === d || typeof m == "object" && m !== null && (m.$$typeof === g || m.$$typeof === v || m.$$typeof === o || m.$$typeof === l || m.$$typeof === f || m.$$typeof === h || m.$$typeof === A || m.$$typeof === x || m.$$typeof === b);
|
|
95
95
|
}, Pe.typeOf = S, Pe;
|
|
96
96
|
}
|
|
97
97
|
var Ie = {};
|
|
@@ -106,12 +106,12 @@ var Ie = {};
|
|
|
106
106
|
var ko;
|
|
107
107
|
function zf() {
|
|
108
108
|
return ko || (ko = 1, process.env.NODE_ENV !== "production" && function() {
|
|
109
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, s = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116,
|
|
109
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, i = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, o = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, s = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, f = e ? Symbol.for("react.forward_ref") : 60112, c = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, g = e ? Symbol.for("react.lazy") : 60116, b = e ? Symbol.for("react.block") : 60121, h = e ? Symbol.for("react.fundamental") : 60117, A = e ? Symbol.for("react.responder") : 60118, x = e ? Symbol.for("react.scope") : 60119;
|
|
110
110
|
function S($) {
|
|
111
111
|
return typeof $ == "string" || typeof $ == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
112
|
-
$ === r || $ === u || $ === a || $ === i || $ === c || $ === d || typeof $ == "object" && $ !== null && ($.$$typeof === g || $.$$typeof === v || $.$$typeof === o || $.$$typeof === l || $.$$typeof === f || $.$$typeof === h || $.$$typeof === A || $.$$typeof === x || $.$$typeof ===
|
|
112
|
+
$ === r || $ === u || $ === a || $ === i || $ === c || $ === d || typeof $ == "object" && $ !== null && ($.$$typeof === g || $.$$typeof === v || $.$$typeof === o || $.$$typeof === l || $.$$typeof === f || $.$$typeof === h || $.$$typeof === A || $.$$typeof === x || $.$$typeof === b);
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function y($) {
|
|
115
115
|
if (typeof $ == "object" && $ !== null) {
|
|
116
116
|
var ve = $.$$typeof;
|
|
117
117
|
switch (ve) {
|
|
@@ -145,45 +145,45 @@ function zf() {
|
|
|
145
145
|
}
|
|
146
146
|
var m = s, E = u, C = l, T = o, I = t, L = f, k = r, W = g, H = v, z = n, Q = a, re = i, Y = c, j = !1;
|
|
147
147
|
function ie($) {
|
|
148
|
-
return j || (j = !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.")), F($) ||
|
|
148
|
+
return j || (j = !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.")), F($) || y($) === s;
|
|
149
149
|
}
|
|
150
150
|
function F($) {
|
|
151
|
-
return
|
|
151
|
+
return y($) === u;
|
|
152
152
|
}
|
|
153
153
|
function V($) {
|
|
154
|
-
return
|
|
154
|
+
return y($) === l;
|
|
155
155
|
}
|
|
156
156
|
function ee($) {
|
|
157
|
-
return
|
|
157
|
+
return y($) === o;
|
|
158
158
|
}
|
|
159
159
|
function D($) {
|
|
160
160
|
return typeof $ == "object" && $ !== null && $.$$typeof === t;
|
|
161
161
|
}
|
|
162
162
|
function P($) {
|
|
163
|
-
return
|
|
163
|
+
return y($) === f;
|
|
164
164
|
}
|
|
165
165
|
function U($) {
|
|
166
|
-
return
|
|
166
|
+
return y($) === r;
|
|
167
167
|
}
|
|
168
168
|
function G($) {
|
|
169
|
-
return
|
|
169
|
+
return y($) === g;
|
|
170
170
|
}
|
|
171
171
|
function K($) {
|
|
172
|
-
return
|
|
172
|
+
return y($) === v;
|
|
173
173
|
}
|
|
174
174
|
function X($) {
|
|
175
|
-
return
|
|
175
|
+
return y($) === n;
|
|
176
176
|
}
|
|
177
177
|
function M($) {
|
|
178
|
-
return
|
|
178
|
+
return y($) === a;
|
|
179
179
|
}
|
|
180
180
|
function N($) {
|
|
181
|
-
return
|
|
181
|
+
return y($) === i;
|
|
182
182
|
}
|
|
183
183
|
function J($) {
|
|
184
|
-
return
|
|
184
|
+
return y($) === c;
|
|
185
185
|
}
|
|
186
|
-
Ie.AsyncMode = m, Ie.ConcurrentMode = E, Ie.ContextConsumer = C, Ie.ContextProvider = T, Ie.Element = I, Ie.ForwardRef = L, Ie.Fragment = k, Ie.Lazy = W, Ie.Memo = H, Ie.Portal = z, Ie.Profiler = Q, Ie.StrictMode = re, Ie.Suspense = Y, Ie.isAsyncMode = ie, Ie.isConcurrentMode = F, Ie.isContextConsumer = V, Ie.isContextProvider = ee, Ie.isElement = D, Ie.isForwardRef = P, Ie.isFragment = U, Ie.isLazy = G, Ie.isMemo = K, Ie.isPortal = X, Ie.isProfiler = M, Ie.isStrictMode = N, Ie.isSuspense = J, Ie.isValidElementType = S, Ie.typeOf =
|
|
186
|
+
Ie.AsyncMode = m, Ie.ConcurrentMode = E, Ie.ContextConsumer = C, Ie.ContextProvider = T, Ie.Element = I, Ie.ForwardRef = L, Ie.Fragment = k, Ie.Lazy = W, Ie.Memo = H, Ie.Portal = z, Ie.Profiler = Q, Ie.StrictMode = re, Ie.Suspense = Y, Ie.isAsyncMode = ie, Ie.isConcurrentMode = F, Ie.isContextConsumer = V, Ie.isContextProvider = ee, Ie.isElement = D, Ie.isForwardRef = P, Ie.isFragment = U, Ie.isLazy = G, Ie.isMemo = K, Ie.isPortal = X, Ie.isProfiler = M, Ie.isStrictMode = N, Ie.isSuspense = J, Ie.isValidElementType = S, Ie.typeOf = y;
|
|
187
187
|
}()), Ie;
|
|
188
188
|
}
|
|
189
189
|
var No;
|
|
@@ -336,7 +336,7 @@ function Wf() {
|
|
|
336
336
|
symbol: A("symbol"),
|
|
337
337
|
any: x(),
|
|
338
338
|
arrayOf: S,
|
|
339
|
-
element:
|
|
339
|
+
element: y(),
|
|
340
340
|
elementType: m(),
|
|
341
341
|
instanceOf: E,
|
|
342
342
|
node: L(),
|
|
@@ -349,10 +349,10 @@ function Wf() {
|
|
|
349
349
|
function g(F, V) {
|
|
350
350
|
return F === V ? F !== 0 || 1 / F === 1 / V : F !== F && V !== V;
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function b(F, V) {
|
|
353
353
|
this.message = F, this.data = V && typeof V == "object" ? V : {}, this.stack = "";
|
|
354
354
|
}
|
|
355
|
-
|
|
355
|
+
b.prototype = Error.prototype;
|
|
356
356
|
function h(F) {
|
|
357
357
|
if (process.env.NODE_ENV !== "production")
|
|
358
358
|
var V = {}, ee = 0;
|
|
@@ -371,7 +371,7 @@ function Wf() {
|
|
|
371
371
|
), V[ve] = !0, ee++);
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
|
-
return G[K] == null ? U ? G[K] === null ? new
|
|
374
|
+
return G[K] == null ? U ? G[K] === null ? new b("The " + M + " `" + N + "` is marked as required " + ("in `" + X + "`, but its value is `null`.")) : new b("The " + M + " `" + N + "` is marked as required in " + ("`" + X + "`, but its value is `undefined`.")) : null : F(G, K, X, M, N);
|
|
375
375
|
}
|
|
376
376
|
var P = D.bind(null, !1);
|
|
377
377
|
return P.isRequired = D.bind(null, !0), P;
|
|
@@ -381,7 +381,7 @@ function Wf() {
|
|
|
381
381
|
var X = ee[D], M = re(X);
|
|
382
382
|
if (M !== F) {
|
|
383
383
|
var N = Y(X);
|
|
384
|
-
return new
|
|
384
|
+
return new b(
|
|
385
385
|
"Invalid " + U + " `" + G + "` of type " + ("`" + N + "` supplied to `" + P + "`, expected ") + ("`" + F + "`."),
|
|
386
386
|
{ expectedType: F }
|
|
387
387
|
);
|
|
@@ -396,11 +396,11 @@ function Wf() {
|
|
|
396
396
|
function S(F) {
|
|
397
397
|
function V(ee, D, P, U, G) {
|
|
398
398
|
if (typeof F != "function")
|
|
399
|
-
return new
|
|
399
|
+
return new b("Property `" + G + "` of component `" + P + "` has invalid PropType notation inside arrayOf.");
|
|
400
400
|
var K = ee[D];
|
|
401
401
|
if (!Array.isArray(K)) {
|
|
402
402
|
var X = re(K);
|
|
403
|
-
return new
|
|
403
|
+
return new b("Invalid " + U + " `" + G + "` of type " + ("`" + X + "` supplied to `" + P + "`, expected an array."));
|
|
404
404
|
}
|
|
405
405
|
for (var M = 0; M < K.length; M++) {
|
|
406
406
|
var N = F(K, M, P, U, G + "[" + M + "]", n);
|
|
@@ -411,12 +411,12 @@ function Wf() {
|
|
|
411
411
|
}
|
|
412
412
|
return h(V);
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function y() {
|
|
415
415
|
function F(V, ee, D, P, U) {
|
|
416
416
|
var G = V[ee];
|
|
417
417
|
if (!l(G)) {
|
|
418
418
|
var K = re(G);
|
|
419
|
-
return new
|
|
419
|
+
return new b("Invalid " + P + " `" + U + "` of type " + ("`" + K + "` supplied to `" + D + "`, expected a single ReactElement."));
|
|
420
420
|
}
|
|
421
421
|
return null;
|
|
422
422
|
}
|
|
@@ -427,7 +427,7 @@ function Wf() {
|
|
|
427
427
|
var G = V[ee];
|
|
428
428
|
if (!e.isValidElementType(G)) {
|
|
429
429
|
var K = re(G);
|
|
430
|
-
return new
|
|
430
|
+
return new b("Invalid " + P + " `" + U + "` of type " + ("`" + K + "` supplied to `" + D + "`, expected a single ReactElement type."));
|
|
431
431
|
}
|
|
432
432
|
return null;
|
|
433
433
|
}
|
|
@@ -437,7 +437,7 @@ function Wf() {
|
|
|
437
437
|
function V(ee, D, P, U, G) {
|
|
438
438
|
if (!(ee[D] instanceof F)) {
|
|
439
439
|
var K = F.name || d, X = ie(ee[D]);
|
|
440
|
-
return new
|
|
440
|
+
return new b("Invalid " + U + " `" + G + "` of type " + ("`" + X + "` supplied to `" + P + "`, expected ") + ("instance of `" + K + "`."));
|
|
441
441
|
}
|
|
442
442
|
return null;
|
|
443
443
|
}
|
|
@@ -456,17 +456,17 @@ function Wf() {
|
|
|
456
456
|
var ve = Y($);
|
|
457
457
|
return ve === "symbol" ? String($) : $;
|
|
458
458
|
});
|
|
459
|
-
return new
|
|
459
|
+
return new b("Invalid " + U + " `" + G + "` of value `" + String(K) + "` " + ("supplied to `" + P + "`, expected one of " + M + "."));
|
|
460
460
|
}
|
|
461
461
|
return h(V);
|
|
462
462
|
}
|
|
463
463
|
function T(F) {
|
|
464
464
|
function V(ee, D, P, U, G) {
|
|
465
465
|
if (typeof F != "function")
|
|
466
|
-
return new
|
|
466
|
+
return new b("Property `" + G + "` of component `" + P + "` has invalid PropType notation inside objectOf.");
|
|
467
467
|
var K = ee[D], X = re(K);
|
|
468
468
|
if (X !== "object")
|
|
469
|
-
return new
|
|
469
|
+
return new b("Invalid " + U + " `" + G + "` of type " + ("`" + X + "` supplied to `" + P + "`, expected an object."));
|
|
470
470
|
for (var M in K)
|
|
471
471
|
if (r(K, M)) {
|
|
472
472
|
var N = F(K, M, P, U, G + "." + M, n);
|
|
@@ -495,18 +495,18 @@ function Wf() {
|
|
|
495
495
|
$.data && r($.data, "expectedType") && M.push($.data.expectedType);
|
|
496
496
|
}
|
|
497
497
|
var ve = M.length > 0 ? ", expected one of type [" + M.join(", ") + "]" : "";
|
|
498
|
-
return new
|
|
498
|
+
return new b("Invalid " + K + " `" + X + "` supplied to " + ("`" + G + "`" + ve + "."));
|
|
499
499
|
}
|
|
500
500
|
return h(D);
|
|
501
501
|
}
|
|
502
502
|
function L() {
|
|
503
503
|
function F(V, ee, D, P, U) {
|
|
504
|
-
return z(V[ee]) ? null : new
|
|
504
|
+
return z(V[ee]) ? null : new b("Invalid " + P + " `" + U + "` supplied to " + ("`" + D + "`, expected a ReactNode."));
|
|
505
505
|
}
|
|
506
506
|
return h(F);
|
|
507
507
|
}
|
|
508
508
|
function k(F, V, ee, D, P) {
|
|
509
|
-
return new
|
|
509
|
+
return new b(
|
|
510
510
|
(F || "React class") + ": " + V + " type `" + ee + "." + D + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + P + "`."
|
|
511
511
|
);
|
|
512
512
|
}
|
|
@@ -514,7 +514,7 @@ function Wf() {
|
|
|
514
514
|
function V(ee, D, P, U, G) {
|
|
515
515
|
var K = ee[D], X = re(K);
|
|
516
516
|
if (X !== "object")
|
|
517
|
-
return new
|
|
517
|
+
return new b("Invalid " + U + " `" + G + "` of type `" + X + "` " + ("supplied to `" + P + "`, expected `object`."));
|
|
518
518
|
for (var M in F) {
|
|
519
519
|
var N = F[M];
|
|
520
520
|
if (typeof N != "function")
|
|
@@ -531,14 +531,14 @@ function Wf() {
|
|
|
531
531
|
function V(ee, D, P, U, G) {
|
|
532
532
|
var K = ee[D], X = re(K);
|
|
533
533
|
if (X !== "object")
|
|
534
|
-
return new
|
|
534
|
+
return new b("Invalid " + U + " `" + G + "` of type `" + X + "` " + ("supplied to `" + P + "`, expected `object`."));
|
|
535
535
|
var M = t({}, ee[D], F);
|
|
536
536
|
for (var N in M) {
|
|
537
537
|
var J = F[N];
|
|
538
538
|
if (r(F, N) && typeof J != "function")
|
|
539
539
|
return k(P, U, G, N, Y(J));
|
|
540
540
|
if (!J)
|
|
541
|
-
return new
|
|
541
|
+
return new b(
|
|
542
542
|
"Invalid " + U + " `" + G + "` key `" + N + "` supplied to `" + P + "`.\nBad object: " + JSON.stringify(ee[D], null, " ") + `
|
|
543
543
|
Valid keys: ` + JSON.stringify(Object.keys(F), null, " ")
|
|
544
544
|
);
|
|
@@ -776,7 +776,7 @@ const Eu = /* @__PURE__ */ ne.forwardRef(({
|
|
|
776
776
|
style: d,
|
|
777
777
|
title: v = "",
|
|
778
778
|
type: g = "checkbox",
|
|
779
|
-
label:
|
|
779
|
+
label: b,
|
|
780
780
|
children: h,
|
|
781
781
|
// Need to define the default "as" during prop destructuring to be compatible with styled-components github.com/react-bootstrap/react-bootstrap/issues/3595
|
|
782
782
|
as: A = "input",
|
|
@@ -784,10 +784,10 @@ const Eu = /* @__PURE__ */ ne.forwardRef(({
|
|
|
784
784
|
}, S) => {
|
|
785
785
|
t = Se(t, "form-check"), n = Se(n, "form-switch");
|
|
786
786
|
const {
|
|
787
|
-
controlId:
|
|
787
|
+
controlId: y
|
|
788
788
|
} = Z(qt), m = he(() => ({
|
|
789
|
-
controlId: e ||
|
|
790
|
-
}), [
|
|
789
|
+
controlId: e || y
|
|
790
|
+
}), [y, e]), E = !h && b != null && b !== !1 || Zf(h, Yr), C = /* @__PURE__ */ R(qa, {
|
|
791
791
|
...x,
|
|
792
792
|
type: g === "switch" ? "checkbox" : g,
|
|
793
793
|
ref: S,
|
|
@@ -801,10 +801,10 @@ const Eu = /* @__PURE__ */ ne.forwardRef(({
|
|
|
801
801
|
children: /* @__PURE__ */ R("div", {
|
|
802
802
|
style: d,
|
|
803
803
|
className: ge(c, E && t, r && `${t}-inline`, i && `${t}-reverse`, g === "switch" && n),
|
|
804
|
-
children: h || /* @__PURE__ */
|
|
804
|
+
children: h || /* @__PURE__ */ ze(Ot, {
|
|
805
805
|
children: [C, E && /* @__PURE__ */ R(Yr, {
|
|
806
806
|
title: v,
|
|
807
|
-
children:
|
|
807
|
+
children: b
|
|
808
808
|
}), u && /* @__PURE__ */ R(hi, {
|
|
809
809
|
type: f,
|
|
810
810
|
tooltip: s,
|
|
@@ -1064,7 +1064,7 @@ const rd = Object.assign(Tu, {
|
|
|
1064
1064
|
controlId: r,
|
|
1065
1065
|
label: i,
|
|
1066
1066
|
...a
|
|
1067
|
-
}, o) => (e = Se(e, "form-floating"), /* @__PURE__ */
|
|
1067
|
+
}, o) => (e = Se(e, "form-floating"), /* @__PURE__ */ ze(Va, {
|
|
1068
1068
|
ref: o,
|
|
1069
1069
|
className: ge(t, e),
|
|
1070
1070
|
controlId: r,
|
|
@@ -1104,7 +1104,7 @@ const id = {
|
|
|
1104
1104
|
}));
|
|
1105
1105
|
Wa.displayName = "Form";
|
|
1106
1106
|
Wa.propTypes = id;
|
|
1107
|
-
const
|
|
1107
|
+
const Ze = Object.assign(Wa, {
|
|
1108
1108
|
Group: Va,
|
|
1109
1109
|
Control: td,
|
|
1110
1110
|
Floating: Cu,
|
|
@@ -1129,7 +1129,7 @@ const et = Object.assign(Wa, {
|
|
|
1129
1129
|
// This is the path that leads to the data.
|
|
1130
1130
|
formDataPath: void 0
|
|
1131
1131
|
};
|
|
1132
|
-
return n && typeof n == "string" ? (o.formData =
|
|
1132
|
+
return n && typeof n == "string" ? (o.formData = Fe({
|
|
1133
1133
|
globalDataContext: i,
|
|
1134
1134
|
templateContext: a,
|
|
1135
1135
|
valueToEvaluate: n
|
|
@@ -1140,7 +1140,7 @@ const et = Object.assign(Wa, {
|
|
|
1140
1140
|
templateContext: a
|
|
1141
1141
|
})), o;
|
|
1142
1142
|
}, ad = (e) => {
|
|
1143
|
-
const t = Z(mu), n = Z(
|
|
1143
|
+
const t = Z(mu), n = Z(Be), r = Z(Te), i = (e == null ? void 0 : e.actionProps) ?? void 0;
|
|
1144
1144
|
return me(() => {
|
|
1145
1145
|
const a = i ?? void 0, o = (i == null ? void 0 : i.what) ?? void 0, l = (i == null ? void 0 : i.whenMessageIs) ?? void 0, s = wt({
|
|
1146
1146
|
globalDataContext: n,
|
|
@@ -1410,11 +1410,11 @@ function gd() {
|
|
|
1410
1410
|
var g = 3 < arguments.length && arguments[3] !== void 0 ? arguments[3] : null;
|
|
1411
1411
|
try {
|
|
1412
1412
|
t(g);
|
|
1413
|
-
var
|
|
1413
|
+
var b = !1;
|
|
1414
1414
|
} catch {
|
|
1415
|
-
|
|
1415
|
+
b = !0;
|
|
1416
1416
|
}
|
|
1417
|
-
return
|
|
1417
|
+
return b && (console.error(
|
|
1418
1418
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
1419
1419
|
typeof Symbol == "function" && Symbol.toStringTag && g[Symbol.toStringTag] || g.constructor.name || "Object"
|
|
1420
1420
|
), t(g)), {
|
|
@@ -1522,18 +1522,18 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
1522
1522
|
"ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",
|
|
1523
1523
|
i(c)
|
|
1524
1524
|
), typeof c == "string" && d && typeof d.as == "string") {
|
|
1525
|
-
var v = d.as, g = r(v, d.crossOrigin),
|
|
1525
|
+
var v = d.as, g = r(v, d.crossOrigin), b = typeof d.integrity == "string" ? d.integrity : void 0, h = typeof d.fetchPriority == "string" ? d.fetchPriority : void 0;
|
|
1526
1526
|
v === "style" ? s.d.S(
|
|
1527
1527
|
c,
|
|
1528
1528
|
typeof d.precedence == "string" ? d.precedence : void 0,
|
|
1529
1529
|
{
|
|
1530
1530
|
crossOrigin: g,
|
|
1531
|
-
integrity:
|
|
1531
|
+
integrity: b,
|
|
1532
1532
|
fetchPriority: h
|
|
1533
1533
|
}
|
|
1534
1534
|
) : v === "script" && s.d.X(c, {
|
|
1535
1535
|
crossOrigin: g,
|
|
1536
|
-
integrity:
|
|
1536
|
+
integrity: b,
|
|
1537
1537
|
fetchPriority: h,
|
|
1538
1538
|
nonce: typeof d.nonce == "string" ? d.nonce : void 0
|
|
1539
1539
|
});
|
|
@@ -2104,15 +2104,15 @@ const Ga = /* @__PURE__ */ ue.forwardRef(({
|
|
|
2104
2104
|
d(Qr(E));
|
|
2105
2105
|
}, g = (E) => (C) => {
|
|
2106
2106
|
E && c.current && E(c.current, C);
|
|
2107
|
-
},
|
|
2107
|
+
}, b = pe(g(e), [e]), h = pe(g(t), [t]), A = pe(g(n), [n]), x = pe(g(r), [r]), S = pe(g(i), [i]), y = pe(g(a), [a]), m = pe(g(o), [o]);
|
|
2108
2108
|
return /* @__PURE__ */ R(Xt, {
|
|
2109
2109
|
ref: f,
|
|
2110
2110
|
...u,
|
|
2111
|
-
onEnter:
|
|
2111
|
+
onEnter: b,
|
|
2112
2112
|
onEntered: A,
|
|
2113
2113
|
onEntering: h,
|
|
2114
2114
|
onExit: x,
|
|
2115
|
-
onExited:
|
|
2115
|
+
onExited: y,
|
|
2116
2116
|
onExiting: S,
|
|
2117
2117
|
addEndListener: m,
|
|
2118
2118
|
nodeRef: c,
|
|
@@ -2159,7 +2159,7 @@ const Td = {
|
|
|
2159
2159
|
appear: d = !1,
|
|
2160
2160
|
getDimensionValue: v = Dd,
|
|
2161
2161
|
...g
|
|
2162
|
-
},
|
|
2162
|
+
}, b) => {
|
|
2163
2163
|
const h = typeof l == "function" ? l() : l, A = he(() => Gn((E) => {
|
|
2164
2164
|
E.style[h] = "0";
|
|
2165
2165
|
}, e), [h, e]), x = he(() => Gn((E) => {
|
|
@@ -2167,20 +2167,20 @@ const Td = {
|
|
|
2167
2167
|
E.style[h] = `${E[C]}px`;
|
|
2168
2168
|
}, t), [h, t]), S = he(() => Gn((E) => {
|
|
2169
2169
|
E.style[h] = null;
|
|
2170
|
-
}, n), [h, n]),
|
|
2170
|
+
}, n), [h, n]), y = he(() => Gn((E) => {
|
|
2171
2171
|
E.style[h] = `${v(h, E)}px`, Lu(E);
|
|
2172
2172
|
}, r), [r, v, h]), m = he(() => Gn((E) => {
|
|
2173
2173
|
E.style[h] = null;
|
|
2174
2174
|
}, i), [h, i]);
|
|
2175
2175
|
return /* @__PURE__ */ R(Ga, {
|
|
2176
|
-
ref:
|
|
2176
|
+
ref: b,
|
|
2177
2177
|
addEndListener: Bu,
|
|
2178
2178
|
...g,
|
|
2179
2179
|
"aria-expanded": g.role ? s : null,
|
|
2180
2180
|
onEnter: A,
|
|
2181
2181
|
onEntering: x,
|
|
2182
2182
|
onEntered: S,
|
|
2183
|
-
onExit:
|
|
2183
|
+
onExit: y,
|
|
2184
2184
|
onExiting: m,
|
|
2185
2185
|
childRef: Bn(o),
|
|
2186
2186
|
in: s,
|
|
@@ -2505,9 +2505,9 @@ const Ku = /* @__PURE__ */ ne.forwardRef((e, t) => {
|
|
|
2505
2505
|
show: "onClose"
|
|
2506
2506
|
}), v = Se(n, "alert"), g = ur((A) => {
|
|
2507
2507
|
u && u(!1, A);
|
|
2508
|
-
}),
|
|
2508
|
+
}), b = c === !0 ? Vt : c, h = /* @__PURE__ */ ze("div", {
|
|
2509
2509
|
role: "alert",
|
|
2510
|
-
...
|
|
2510
|
+
...b ? void 0 : d,
|
|
2511
2511
|
ref: t,
|
|
2512
2512
|
className: ge(o, v, s && `${v}-${s}`, f && `${v}-dismissible`),
|
|
2513
2513
|
children: [f && /* @__PURE__ */ R(bi, {
|
|
@@ -2516,7 +2516,7 @@ const Ku = /* @__PURE__ */ ne.forwardRef((e, t) => {
|
|
|
2516
2516
|
variant: a
|
|
2517
2517
|
}), l]
|
|
2518
2518
|
});
|
|
2519
|
-
return
|
|
2519
|
+
return b ? /* @__PURE__ */ R(b, {
|
|
2520
2520
|
unmountOnExit: !0,
|
|
2521
2521
|
...d,
|
|
2522
2522
|
ref: void 0,
|
|
@@ -2847,7 +2847,7 @@ var ap = function(t, n) {
|
|
|
2847
2847
|
function op(e) {
|
|
2848
2848
|
var t, n = e.state, r = e.name, i = e.options, a = n.elements.arrow, o = n.modifiersData.popperOffsets, l = Mt(n.placement), s = Qa(l), u = [mt, Tt].indexOf(l) >= 0, f = u ? "height" : "width";
|
|
2849
2849
|
if (!(!a || !o)) {
|
|
2850
|
-
var c = ap(i.padding, n), d = Za(a), v = s === "y" ? ht : mt, g = s === "y" ? Dt : Tt,
|
|
2850
|
+
var c = ap(i.padding, n), d = Za(a), v = s === "y" ? ht : mt, g = s === "y" ? Dt : Tt, b = n.rects.reference[f] + n.rects.reference[s] - o[s] - n.rects.popper[f], h = o[s] - n.rects.reference[s], A = wr(a), x = A ? s === "y" ? A.clientHeight || 0 : A.clientWidth || 0 : 0, S = b / 2 - h / 2, y = c[v], m = x - d[f] - c[g], E = x / 2 - d[f] / 2 + S, C = rr(y, E, m), T = s;
|
|
2851
2851
|
n.modifiersData[r] = (t = {}, t[T] = C, t.centerOffset = C - E, t);
|
|
2852
2852
|
}
|
|
2853
2853
|
}
|
|
@@ -2881,24 +2881,24 @@ function cp(e, t) {
|
|
|
2881
2881
|
};
|
|
2882
2882
|
}
|
|
2883
2883
|
function rs(e) {
|
|
2884
|
-
var t, n = e.popper, r = e.popperRect, i = e.placement, a = e.variation, o = e.offsets, l = e.position, s = e.gpuAcceleration, u = e.adaptive, f = e.roundOffsets, c = e.isFixed, d = o.x, v = d === void 0 ? 0 : d, g = o.y,
|
|
2884
|
+
var t, n = e.popper, r = e.popperRect, i = e.placement, a = e.variation, o = e.offsets, l = e.position, s = e.gpuAcceleration, u = e.adaptive, f = e.roundOffsets, c = e.isFixed, d = o.x, v = d === void 0 ? 0 : d, g = o.y, b = g === void 0 ? 0 : g, h = typeof f == "function" ? f({
|
|
2885
2885
|
x: v,
|
|
2886
|
-
y
|
|
2886
|
+
y: b
|
|
2887
2887
|
}) : {
|
|
2888
2888
|
x: v,
|
|
2889
|
-
y
|
|
2889
|
+
y: b
|
|
2890
2890
|
};
|
|
2891
|
-
v = h.x,
|
|
2892
|
-
var A = o.hasOwnProperty("x"), x = o.hasOwnProperty("y"), S = mt,
|
|
2891
|
+
v = h.x, b = h.y;
|
|
2892
|
+
var A = o.hasOwnProperty("x"), x = o.hasOwnProperty("y"), S = mt, y = ht, m = window;
|
|
2893
2893
|
if (u) {
|
|
2894
2894
|
var E = wr(n), C = "clientHeight", T = "clientWidth";
|
|
2895
2895
|
if (E === Et(n) && (E = rn(n), Wt(E).position !== "static" && l === "absolute" && (C = "scrollHeight", T = "scrollWidth")), E = E, i === ht || (i === mt || i === Tt) && a === lr) {
|
|
2896
|
-
|
|
2896
|
+
y = Dt;
|
|
2897
2897
|
var I = c && E === m && m.visualViewport ? m.visualViewport.height : (
|
|
2898
2898
|
// $FlowFixMe[prop-missing]
|
|
2899
2899
|
E[C]
|
|
2900
2900
|
);
|
|
2901
|
-
|
|
2901
|
+
b -= I - r.height, b *= s ? 1 : -1;
|
|
2902
2902
|
}
|
|
2903
2903
|
if (i === mt || (i === ht || i === Dt) && a === lr) {
|
|
2904
2904
|
S = Tt;
|
|
@@ -2913,16 +2913,16 @@ function rs(e) {
|
|
|
2913
2913
|
position: l
|
|
2914
2914
|
}, u && lp), W = f === !0 ? cp({
|
|
2915
2915
|
x: v,
|
|
2916
|
-
y
|
|
2916
|
+
y: b
|
|
2917
2917
|
}, Et(n)) : {
|
|
2918
2918
|
x: v,
|
|
2919
|
-
y
|
|
2919
|
+
y: b
|
|
2920
2920
|
};
|
|
2921
|
-
if (v = W.x,
|
|
2921
|
+
if (v = W.x, b = W.y, s) {
|
|
2922
2922
|
var H;
|
|
2923
|
-
return Object.assign({}, k, (H = {}, H[
|
|
2923
|
+
return Object.assign({}, k, (H = {}, H[y] = x ? "0" : "", H[S] = A ? "0" : "", H.transform = (m.devicePixelRatio || 1) <= 1 ? "translate(" + v + "px, " + b + "px)" : "translate3d(" + v + "px, " + b + "px, 0)", H));
|
|
2924
2924
|
}
|
|
2925
|
-
return Object.assign({}, k, (t = {}, t[
|
|
2925
|
+
return Object.assign({}, k, (t = {}, t[y] = x ? b + "px" : "", t[S] = A ? v + "px" : "", t.transform = "", t));
|
|
2926
2926
|
}
|
|
2927
2927
|
function fp(e) {
|
|
2928
2928
|
var t = e.state, n = e.options, r = n.gpuAcceleration, i = r === void 0 ? !0 : r, a = n.adaptive, o = a === void 0 ? !0 : a, l = n.roundOffsets, s = l === void 0 ? !0 : l, u = {
|
|
@@ -3122,7 +3122,7 @@ function ll(e) {
|
|
|
3122
3122
|
}
|
|
3123
3123
|
function cr(e, t) {
|
|
3124
3124
|
t === void 0 && (t = {});
|
|
3125
|
-
var n = t, r = n.placement, i = r === void 0 ? e.placement : r, a = n.strategy, o = a === void 0 ? e.strategy : a, l = n.boundary, s = l === void 0 ? qd : l, u = n.rootBoundary, f = u === void 0 ? tl : u, c = n.elementContext, d = c === void 0 ? Xn : c, v = n.altBoundary, g = v === void 0 ? !1 : v,
|
|
3125
|
+
var n = t, r = n.placement, i = r === void 0 ? e.placement : r, a = n.strategy, o = a === void 0 ? e.strategy : a, l = n.boundary, s = l === void 0 ? qd : l, u = n.rootBoundary, f = u === void 0 ? tl : u, c = n.elementContext, d = c === void 0 ? Xn : c, v = n.altBoundary, g = v === void 0 ? !1 : v, b = n.padding, h = b === void 0 ? 0 : b, A = ol(typeof h != "number" ? h : sl(h, Er)), x = d === Xn ? Vd : Xn, S = e.rects.popper, y = e.elements[g ? x : d], m = wp(vn(y) ? y : y.contextElement || rn(e.elements.popper), s, f, o), E = Tn(e.elements.reference), C = ll({
|
|
3126
3126
|
reference: E,
|
|
3127
3127
|
element: S,
|
|
3128
3128
|
placement: i
|
|
@@ -3149,16 +3149,16 @@ function Cp(e, t) {
|
|
|
3149
3149
|
return u.indexOf(g) >= 0;
|
|
3150
3150
|
});
|
|
3151
3151
|
d.length === 0 && (d = c);
|
|
3152
|
-
var v = d.reduce(function(g,
|
|
3153
|
-
return g[
|
|
3154
|
-
placement:
|
|
3152
|
+
var v = d.reduce(function(g, b) {
|
|
3153
|
+
return g[b] = cr(e, {
|
|
3154
|
+
placement: b,
|
|
3155
3155
|
boundary: i,
|
|
3156
3156
|
rootBoundary: a,
|
|
3157
3157
|
padding: o
|
|
3158
|
-
})[Mt(
|
|
3158
|
+
})[Mt(b)], g;
|
|
3159
3159
|
}, {});
|
|
3160
|
-
return Object.keys(v).sort(function(g,
|
|
3161
|
-
return v[g] - v[
|
|
3160
|
+
return Object.keys(v).sort(function(g, b) {
|
|
3161
|
+
return v[g] - v[b];
|
|
3162
3162
|
});
|
|
3163
3163
|
}
|
|
3164
3164
|
function Ap(e) {
|
|
@@ -3170,17 +3170,17 @@ function Ap(e) {
|
|
|
3170
3170
|
function Sp(e) {
|
|
3171
3171
|
var t = e.state, n = e.options, r = e.name;
|
|
3172
3172
|
if (!t.modifiersData[r]._skip) {
|
|
3173
|
-
for (var i = n.mainAxis, a = i === void 0 ? !0 : i, o = n.altAxis, l = o === void 0 ? !0 : o, s = n.fallbackPlacements, u = n.padding, f = n.boundary, c = n.rootBoundary, d = n.altBoundary, v = n.flipVariations, g = v === void 0 ? !0 : v,
|
|
3173
|
+
for (var i = n.mainAxis, a = i === void 0 ? !0 : i, o = n.altAxis, l = o === void 0 ? !0 : o, s = n.fallbackPlacements, u = n.padding, f = n.boundary, c = n.rootBoundary, d = n.altBoundary, v = n.flipVariations, g = v === void 0 ? !0 : v, b = n.allowedAutoPlacements, h = t.options.placement, A = Mt(h), x = A === h, S = s || (x || !g ? [zr(h)] : Ap(h)), y = [h].concat(S).reduce(function(P, U) {
|
|
3174
3174
|
return P.concat(Mt(U) === Ya ? Cp(t, {
|
|
3175
3175
|
placement: U,
|
|
3176
3176
|
boundary: f,
|
|
3177
3177
|
rootBoundary: c,
|
|
3178
3178
|
padding: u,
|
|
3179
3179
|
flipVariations: g,
|
|
3180
|
-
allowedAutoPlacements:
|
|
3180
|
+
allowedAutoPlacements: b
|
|
3181
3181
|
}) : U);
|
|
3182
|
-
}, []), m = t.rects.reference, E = t.rects.popper, C = /* @__PURE__ */ new Map(), T = !0, I =
|
|
3183
|
-
var k =
|
|
3182
|
+
}, []), m = t.rects.reference, E = t.rects.popper, C = /* @__PURE__ */ new Map(), T = !0, I = y[0], L = 0; L < y.length; L++) {
|
|
3183
|
+
var k = y[L], W = Mt(k), H = Rn(k) === On, z = [ht, Dt].indexOf(W) >= 0, Q = z ? "width" : "height", re = cr(t, {
|
|
3184
3184
|
placement: k,
|
|
3185
3185
|
boundary: f,
|
|
3186
3186
|
rootBoundary: c,
|
|
@@ -3199,7 +3199,7 @@ function Sp(e) {
|
|
|
3199
3199
|
}
|
|
3200
3200
|
if (T)
|
|
3201
3201
|
for (var F = g ? 3 : 1, V = function(U) {
|
|
3202
|
-
var G =
|
|
3202
|
+
var G = y.find(function(K) {
|
|
3203
3203
|
var X = C.get(K);
|
|
3204
3204
|
if (X)
|
|
3205
3205
|
return X.slice(0, U).every(function(M) {
|
|
@@ -3308,14 +3308,14 @@ function kp(e) {
|
|
|
3308
3308
|
return e === "x" ? "y" : "x";
|
|
3309
3309
|
}
|
|
3310
3310
|
function Np(e) {
|
|
3311
|
-
var t = e.state, n = e.options, r = e.name, i = n.mainAxis, a = i === void 0 ? !0 : i, o = n.altAxis, l = o === void 0 ? !1 : o, s = n.boundary, u = n.rootBoundary, f = n.altBoundary, c = n.padding, d = n.tether, v = d === void 0 ? !0 : d, g = n.tetherOffset,
|
|
3311
|
+
var t = e.state, n = e.options, r = e.name, i = n.mainAxis, a = i === void 0 ? !0 : i, o = n.altAxis, l = o === void 0 ? !1 : o, s = n.boundary, u = n.rootBoundary, f = n.altBoundary, c = n.padding, d = n.tether, v = d === void 0 ? !0 : d, g = n.tetherOffset, b = g === void 0 ? 0 : g, h = cr(t, {
|
|
3312
3312
|
boundary: s,
|
|
3313
3313
|
rootBoundary: u,
|
|
3314
3314
|
padding: c,
|
|
3315
3315
|
altBoundary: f
|
|
3316
|
-
}), A = Mt(t.placement), x = Rn(t.placement), S = !x,
|
|
3316
|
+
}), A = Mt(t.placement), x = Rn(t.placement), S = !x, y = Qa(A), m = kp(y), E = t.modifiersData.popperOffsets, C = t.rects.reference, T = t.rects.popper, I = typeof b == "function" ? b(Object.assign({}, t.rects, {
|
|
3317
3317
|
placement: t.placement
|
|
3318
|
-
})) :
|
|
3318
|
+
})) : b, L = typeof I == "number" ? {
|
|
3319
3319
|
mainAxis: I,
|
|
3320
3320
|
altAxis: I
|
|
3321
3321
|
} : Object.assign({
|
|
@@ -3327,14 +3327,14 @@ function Np(e) {
|
|
|
3327
3327
|
};
|
|
3328
3328
|
if (E) {
|
|
3329
3329
|
if (a) {
|
|
3330
|
-
var H, z =
|
|
3330
|
+
var H, z = y === "y" ? ht : mt, Q = y === "y" ? Dt : Tt, re = y === "y" ? "height" : "width", Y = E[y], j = Y + h[z], ie = Y - h[Q], F = v ? -T[re] / 2 : 0, V = x === On ? C[re] : T[re], ee = x === On ? -T[re] : -C[re], D = t.elements.arrow, P = v && D ? Za(D) : {
|
|
3331
3331
|
width: 0,
|
|
3332
3332
|
height: 0
|
|
3333
|
-
}, U = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : al(), G = U[z], K = U[Q], X = rr(0, C[re], P[re]), M = S ? C[re] / 2 - F - X - G - L.mainAxis : V - X - G - L.mainAxis, N = S ? -C[re] / 2 + F + X + K + L.mainAxis : ee + X + K + L.mainAxis, J = t.elements.arrow && wr(t.elements.arrow), $ = J ?
|
|
3334
|
-
E[
|
|
3333
|
+
}, U = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : al(), G = U[z], K = U[Q], X = rr(0, C[re], P[re]), M = S ? C[re] / 2 - F - X - G - L.mainAxis : V - X - G - L.mainAxis, N = S ? -C[re] / 2 + F + X + K + L.mainAxis : ee + X + K + L.mainAxis, J = t.elements.arrow && wr(t.elements.arrow), $ = J ? y === "y" ? J.clientTop || 0 : J.clientLeft || 0 : 0, ve = (H = k == null ? void 0 : k[y]) != null ? H : 0, Ce = Y + M - ve - $, oe = Y + N - ve, Ae = rr(v ? ei(j, Ce) : j, Y, v ? hn(ie, oe) : ie);
|
|
3334
|
+
E[y] = Ae, W[y] = Ae - Y;
|
|
3335
3335
|
}
|
|
3336
3336
|
if (l) {
|
|
3337
|
-
var Re, yt =
|
|
3337
|
+
var Re, yt = y === "x" ? ht : mt, ct = y === "x" ? Dt : Tt, Le = E[m], Me = m === "y" ? "height" : "width", fe = Le + h[yt], je = Le - h[ct], He = [ht, mt].indexOf(A) !== -1, Nt = (Re = k == null ? void 0 : k[m]) != null ? Re : 0, ye = He ? fe : Le - C[Me] - T[Me] - Nt + L.altAxis, se = He ? Le + C[Me] + T[Me] - Nt - L.altAxis : je, be = v && He ? ip(ye, Le, se) : rr(v ? ye : fe, Le, v ? se : je);
|
|
3338
3338
|
E[m] = be, W[m] = be - Le;
|
|
3339
3339
|
}
|
|
3340
3340
|
t.modifiersData[r] = W;
|
|
@@ -3458,13 +3458,13 @@ function qp(e) {
|
|
|
3458
3458
|
state: f,
|
|
3459
3459
|
setOptions: function(A) {
|
|
3460
3460
|
var x = typeof A == "function" ? A(f.options) : A;
|
|
3461
|
-
|
|
3461
|
+
b(), f.options = Object.assign({}, a, f.options, x), f.scrollParents = {
|
|
3462
3462
|
reference: vn(l) ? ir(l) : l.contextElement ? ir(l.contextElement) : [],
|
|
3463
3463
|
popper: ir(s)
|
|
3464
3464
|
};
|
|
3465
3465
|
var S = Up(zp([].concat(r, f.options.modifiers)));
|
|
3466
|
-
return f.orderedModifiers = S.filter(function(
|
|
3467
|
-
return
|
|
3466
|
+
return f.orderedModifiers = S.filter(function(y) {
|
|
3467
|
+
return y.enabled;
|
|
3468
3468
|
}), g(), v.update();
|
|
3469
3469
|
},
|
|
3470
3470
|
// Sync update – it will always be executed, even if not necessary. This
|
|
@@ -3482,12 +3482,12 @@ function qp(e) {
|
|
|
3482
3482
|
}, f.reset = !1, f.placement = f.options.placement, f.orderedModifiers.forEach(function(L) {
|
|
3483
3483
|
return f.modifiersData[L.name] = Object.assign({}, L.data);
|
|
3484
3484
|
});
|
|
3485
|
-
for (var
|
|
3485
|
+
for (var y = 0; y < f.orderedModifiers.length; y++) {
|
|
3486
3486
|
if (f.reset === !0) {
|
|
3487
|
-
f.reset = !1,
|
|
3487
|
+
f.reset = !1, y = -1;
|
|
3488
3488
|
continue;
|
|
3489
3489
|
}
|
|
3490
|
-
var m = f.orderedModifiers[
|
|
3490
|
+
var m = f.orderedModifiers[y], E = m.fn, C = m.options, T = C === void 0 ? {} : C, I = m.name;
|
|
3491
3491
|
typeof E == "function" && (f = E({
|
|
3492
3492
|
state: f,
|
|
3493
3493
|
options: T,
|
|
@@ -3506,7 +3506,7 @@ function qp(e) {
|
|
|
3506
3506
|
});
|
|
3507
3507
|
}),
|
|
3508
3508
|
destroy: function() {
|
|
3509
|
-
|
|
3509
|
+
b(), d = !0;
|
|
3510
3510
|
}
|
|
3511
3511
|
};
|
|
3512
3512
|
if (!ls(l, s))
|
|
@@ -3516,9 +3516,9 @@ function qp(e) {
|
|
|
3516
3516
|
});
|
|
3517
3517
|
function g() {
|
|
3518
3518
|
f.orderedModifiers.forEach(function(h) {
|
|
3519
|
-
var A = h.name, x = h.options, S = x === void 0 ? {} : x,
|
|
3520
|
-
if (typeof
|
|
3521
|
-
var m =
|
|
3519
|
+
var A = h.name, x = h.options, S = x === void 0 ? {} : x, y = h.effect;
|
|
3520
|
+
if (typeof y == "function") {
|
|
3521
|
+
var m = y({
|
|
3522
3522
|
state: f,
|
|
3523
3523
|
name: A,
|
|
3524
3524
|
instance: v,
|
|
@@ -3529,7 +3529,7 @@ function qp(e) {
|
|
|
3529
3529
|
}
|
|
3530
3530
|
});
|
|
3531
3531
|
}
|
|
3532
|
-
function
|
|
3532
|
+
function b() {
|
|
3533
3533
|
c.forEach(function(h) {
|
|
3534
3534
|
return h();
|
|
3535
3535
|
}), c = [];
|
|
@@ -3629,19 +3629,19 @@ function Jp(e, t, n = {}) {
|
|
|
3629
3629
|
placement: h.placement
|
|
3630
3630
|
});
|
|
3631
3631
|
}
|
|
3632
|
-
}), [f, c, v]),
|
|
3632
|
+
}), [f, c, v]), b = he(() => (nr(s.current, o) || (s.current = o), s.current), [o]);
|
|
3633
3633
|
return me(() => {
|
|
3634
3634
|
!u.current || !r || u.current.setOptions({
|
|
3635
3635
|
placement: i,
|
|
3636
3636
|
strategy: a,
|
|
3637
|
-
modifiers: [...
|
|
3637
|
+
modifiers: [...b, g, Xp]
|
|
3638
3638
|
});
|
|
3639
|
-
}, [a, i, g, r,
|
|
3639
|
+
}, [a, i, g, r, b]), me(() => {
|
|
3640
3640
|
if (!(!r || e == null || t == null))
|
|
3641
3641
|
return u.current = Vp(e, t, Object.assign({}, l, {
|
|
3642
3642
|
placement: i,
|
|
3643
3643
|
strategy: a,
|
|
3644
|
-
modifiers: [...
|
|
3644
|
+
modifiers: [...b, Kp, g]
|
|
3645
3645
|
})), () => {
|
|
3646
3646
|
u.current != null && (u.current.destroy(), u.current = void 0, v((h) => Object.assign({}, h, {
|
|
3647
3647
|
attributes: {},
|
|
@@ -3688,7 +3688,7 @@ function eh(e, t = cs, {
|
|
|
3688
3688
|
const c = Fn(qr(e)), d = c.defaultView || window;
|
|
3689
3689
|
let v = (u = d.event) != null ? u : (f = d.parent) == null ? void 0 : f.event, g = null;
|
|
3690
3690
|
fs[r] && (g = Ht(c, fs[r], l, !0));
|
|
3691
|
-
const
|
|
3691
|
+
const b = Ht(c, r, o, !0), h = Ht(c, r, (x) => {
|
|
3692
3692
|
if (x === v) {
|
|
3693
3693
|
v = void 0;
|
|
3694
3694
|
return;
|
|
@@ -3697,7 +3697,7 @@ function eh(e, t = cs, {
|
|
|
3697
3697
|
});
|
|
3698
3698
|
let A = [];
|
|
3699
3699
|
return "ontouchstart" in c.documentElement && (A = [].slice.call(c.body.children).map((x) => Ht(x, "mousemove", cs))), () => {
|
|
3700
|
-
g == null || g(),
|
|
3700
|
+
g == null || g(), b(), h(), A.forEach((x) => x());
|
|
3701
3701
|
};
|
|
3702
3702
|
}, [e, n, r, o, l, s]);
|
|
3703
3703
|
}
|
|
@@ -3901,34 +3901,34 @@ const ps = () => {
|
|
|
3901
3901
|
const s = Hd(), u = ae(!1), f = Z(_n), c = Z(Mn);
|
|
3902
3902
|
let d, v;
|
|
3903
3903
|
c && (a = a || "tablist", i = c.activeKey, d = c.getControlledId, v = c.getControllerId);
|
|
3904
|
-
const g = ae(null),
|
|
3905
|
-
const
|
|
3906
|
-
if (!
|
|
3907
|
-
const m = cn(
|
|
3904
|
+
const g = ae(null), b = (S) => {
|
|
3905
|
+
const y = g.current;
|
|
3906
|
+
if (!y) return null;
|
|
3907
|
+
const m = cn(y, `[${hs}]:not([aria-disabled=true])`), E = y.querySelector("[aria-selected=true]");
|
|
3908
3908
|
if (!E || E !== document.activeElement) return null;
|
|
3909
3909
|
const C = m.indexOf(E);
|
|
3910
3910
|
if (C === -1) return null;
|
|
3911
3911
|
let T = C + S;
|
|
3912
3912
|
return T >= m.length && (T = 0), T < 0 && (T = m.length - 1), m[T];
|
|
3913
|
-
}, h = (S,
|
|
3914
|
-
S != null && (r == null || r(S,
|
|
3913
|
+
}, h = (S, y) => {
|
|
3914
|
+
S != null && (r == null || r(S, y), f == null || f(S, y));
|
|
3915
3915
|
}, A = (S) => {
|
|
3916
3916
|
if (o == null || o(S), !c)
|
|
3917
3917
|
return;
|
|
3918
|
-
let
|
|
3918
|
+
let y;
|
|
3919
3919
|
switch (S.key) {
|
|
3920
3920
|
case "ArrowLeft":
|
|
3921
3921
|
case "ArrowUp":
|
|
3922
|
-
|
|
3922
|
+
y = b(-1);
|
|
3923
3923
|
break;
|
|
3924
3924
|
case "ArrowRight":
|
|
3925
3925
|
case "ArrowDown":
|
|
3926
|
-
|
|
3926
|
+
y = b(1);
|
|
3927
3927
|
break;
|
|
3928
3928
|
default:
|
|
3929
3929
|
return;
|
|
3930
3930
|
}
|
|
3931
|
-
|
|
3931
|
+
y && (S.preventDefault(), h(y.dataset[vh("EventKey")] || null, S), u.current = !0, s());
|
|
3932
3932
|
};
|
|
3933
3933
|
me(() => {
|
|
3934
3934
|
if (g.current && u.current) {
|
|
@@ -4092,9 +4092,9 @@ function Ih(e) {
|
|
|
4092
4092
|
addEndListener: l,
|
|
4093
4093
|
children: s
|
|
4094
4094
|
} = e, u = Ph(e, _h);
|
|
4095
|
-
const f = ae(null), c = Cr(f, Bn(s)), d = (
|
|
4096
|
-
|
|
4097
|
-
}, v = pe(d(t), [t]), g = pe(d(n), [n]),
|
|
4095
|
+
const f = ae(null), c = Cr(f, Bn(s)), d = (y) => (m) => {
|
|
4096
|
+
y && f.current && y(f.current, m);
|
|
4097
|
+
}, v = pe(d(t), [t]), g = pe(d(n), [n]), b = pe(d(r), [r]), h = pe(d(i), [i]), A = pe(d(a), [a]), x = pe(d(o), [o]), S = pe(d(l), [l]);
|
|
4098
4098
|
return Object.assign({}, u, {
|
|
4099
4099
|
nodeRef: f
|
|
4100
4100
|
}, t && {
|
|
@@ -4102,7 +4102,7 @@ function Ih(e) {
|
|
|
4102
4102
|
}, n && {
|
|
4103
4103
|
onEntering: g
|
|
4104
4104
|
}, r && {
|
|
4105
|
-
onEntered:
|
|
4105
|
+
onEntered: b
|
|
4106
4106
|
}, i && {
|
|
4107
4107
|
onExit: h
|
|
4108
4108
|
}, a && {
|
|
@@ -4112,9 +4112,9 @@ function Ih(e) {
|
|
|
4112
4112
|
}, l && {
|
|
4113
4113
|
addEndListener: S
|
|
4114
4114
|
}, {
|
|
4115
|
-
children: typeof s == "function" ? (
|
|
4115
|
+
children: typeof s == "function" ? (y, m) => (
|
|
4116
4116
|
// TODO: Types for RTG missing innerProps, so need to cast.
|
|
4117
|
-
s(
|
|
4117
|
+
s(y, Object.assign({}, m, {
|
|
4118
4118
|
ref: c
|
|
4119
4119
|
}))
|
|
4120
4120
|
) : /* @__PURE__ */ kn(s, {
|
|
@@ -4241,12 +4241,12 @@ const vl = /* @__PURE__ */ di((e, t) => {
|
|
|
4241
4241
|
runTransition: d,
|
|
4242
4242
|
backdropTransition: v,
|
|
4243
4243
|
runBackdropTransition: g,
|
|
4244
|
-
autoFocus:
|
|
4244
|
+
autoFocus: b = !0,
|
|
4245
4245
|
enforceFocus: h = !0,
|
|
4246
4246
|
restoreFocus: A = !0,
|
|
4247
4247
|
restoreFocusOptions: x,
|
|
4248
4248
|
renderDialog: S,
|
|
4249
|
-
renderBackdrop:
|
|
4249
|
+
renderBackdrop: y = (oe) => /* @__PURE__ */ R("div", Object.assign({}, oe)),
|
|
4250
4250
|
manager: m,
|
|
4251
4251
|
container: E,
|
|
4252
4252
|
onShow: C,
|
|
@@ -4269,7 +4269,7 @@ const vl = /* @__PURE__ */ di((e, t) => {
|
|
|
4269
4269
|
// and so steals focus from it
|
|
4270
4270
|
() => setTimeout(G),
|
|
4271
4271
|
!0
|
|
4272
|
-
), C && C(),
|
|
4272
|
+
), C && C(), b) {
|
|
4273
4273
|
var oe, Ae;
|
|
4274
4274
|
const Re = Yi((oe = (Ae = j.dialog) == null ? void 0 : Ae.ownerDocument) != null ? oe : re == null ? void 0 : re.document);
|
|
4275
4275
|
j.dialog && Re && !fr(j.dialog, Re) && (D.current = Re, j.dialog.focus());
|
|
@@ -4335,7 +4335,7 @@ const vl = /* @__PURE__ */ di((e, t) => {
|
|
|
4335
4335
|
children: ve
|
|
4336
4336
|
});
|
|
4337
4337
|
let Ce = null;
|
|
4338
|
-
return l && (Ce =
|
|
4338
|
+
return l && (Ce = y({
|
|
4339
4339
|
ref: j.setBackdropRef,
|
|
4340
4340
|
onClick: K
|
|
4341
4341
|
}), Ce = Sa(v, g, {
|
|
@@ -4345,7 +4345,7 @@ const vl = /* @__PURE__ */ di((e, t) => {
|
|
|
4345
4345
|
unmountOnExit: !0,
|
|
4346
4346
|
children: Ce
|
|
4347
4347
|
})), /* @__PURE__ */ R(Ot, {
|
|
4348
|
-
children: /* @__PURE__ */ dn.createPortal(/* @__PURE__ */
|
|
4348
|
+
children: /* @__PURE__ */ dn.createPortal(/* @__PURE__ */ ze(Ot, {
|
|
4349
4349
|
children: [Ce, ve]
|
|
4350
4350
|
}), Y)
|
|
4351
4351
|
});
|
|
@@ -4463,7 +4463,7 @@ const El = /* @__PURE__ */ ne.forwardRef(({
|
|
|
4463
4463
|
const l = Z(yl), s = ur(() => {
|
|
4464
4464
|
l == null || l.onHide(), r == null || r();
|
|
4465
4465
|
});
|
|
4466
|
-
return /* @__PURE__ */
|
|
4466
|
+
return /* @__PURE__ */ ze("div", {
|
|
4467
4467
|
ref: o,
|
|
4468
4468
|
...a,
|
|
4469
4469
|
children: [i, n && /* @__PURE__ */ R(bi, {
|
|
@@ -4528,12 +4528,12 @@ const Al = /* @__PURE__ */ ne.forwardRef(({
|
|
|
4528
4528
|
animation: d = !0,
|
|
4529
4529
|
backdrop: v = !0,
|
|
4530
4530
|
keyboard: g = !0,
|
|
4531
|
-
onEscapeKeyDown:
|
|
4531
|
+
onEscapeKeyDown: b,
|
|
4532
4532
|
onShow: h,
|
|
4533
4533
|
onHide: A,
|
|
4534
4534
|
container: x,
|
|
4535
4535
|
autoFocus: S = !0,
|
|
4536
|
-
enforceFocus:
|
|
4536
|
+
enforceFocus: y = !0,
|
|
4537
4537
|
restoreFocus: m = !0,
|
|
4538
4538
|
restoreFocusOptions: E,
|
|
4539
4539
|
onEntered: C,
|
|
@@ -4591,7 +4591,7 @@ const Al = /* @__PURE__ */ ne.forwardRef(({
|
|
|
4591
4591
|
}
|
|
4592
4592
|
A == null || A();
|
|
4593
4593
|
}, yt = (ye) => {
|
|
4594
|
-
g ?
|
|
4594
|
+
g ? b == null || b(ye) : (ye.preventDefault(), v === "static" && oe());
|
|
4595
4595
|
}, ct = (ye, se) => {
|
|
4596
4596
|
ye && J(ye), L == null || L(ye, se);
|
|
4597
4597
|
}, Le = (ye) => {
|
|
@@ -4636,7 +4636,7 @@ const Al = /* @__PURE__ */ ne.forwardRef(({
|
|
|
4636
4636
|
container: x,
|
|
4637
4637
|
keyboard: !0,
|
|
4638
4638
|
autoFocus: S,
|
|
4639
|
-
enforceFocus:
|
|
4639
|
+
enforceFocus: y,
|
|
4640
4640
|
restoreFocus: m,
|
|
4641
4641
|
restoreFocusOptions: E,
|
|
4642
4642
|
onEscapeKeyDown: yt,
|
|
@@ -4716,18 +4716,18 @@ const Sl = /* @__PURE__ */ ne.forwardRef((e, t) => {
|
|
|
4716
4716
|
} = vi(e, {
|
|
4717
4717
|
activeKey: "onSelect"
|
|
4718
4718
|
}), d = Se(r, "nav");
|
|
4719
|
-
let v, g,
|
|
4719
|
+
let v, g, b = !1;
|
|
4720
4720
|
const h = Z(dl), A = Z(Zu);
|
|
4721
|
-
return h ? (v = h.bsPrefix,
|
|
4721
|
+
return h ? (v = h.bsPrefix, b = l ?? !0) : A && ({
|
|
4722
4722
|
cardHeaderBsPrefix: g
|
|
4723
4723
|
} = A), /* @__PURE__ */ R(xh, {
|
|
4724
4724
|
as: n,
|
|
4725
4725
|
ref: t,
|
|
4726
4726
|
activeKey: f,
|
|
4727
4727
|
className: ge(u, {
|
|
4728
|
-
[d]: !
|
|
4729
|
-
[`${v}-nav`]:
|
|
4730
|
-
[`${v}-nav-scroll`]:
|
|
4728
|
+
[d]: !b,
|
|
4729
|
+
[`${v}-nav`]: b,
|
|
4730
|
+
[`${v}-nav-scroll`]: b && s,
|
|
4731
4731
|
[`${g}-${i}`]: !!g,
|
|
4732
4732
|
[`${d}-${i}`]: !!i,
|
|
4733
4733
|
[`${d}-fill`]: a,
|
|
@@ -4779,7 +4779,7 @@ const xl = /* @__PURE__ */ ne.forwardRef((e, t) => {
|
|
|
4779
4779
|
popperConfig: o = {},
|
|
4780
4780
|
transition: l,
|
|
4781
4781
|
runTransition: s
|
|
4782
|
-
} = e, [u, f] = Jo(), [c, d] = Jo(), v = Cr(f, t), g = Aa(e.container),
|
|
4782
|
+
} = e, [u, f] = Jo(), [c, d] = Jo(), v = Cr(f, t), g = Aa(e.container), b = Aa(e.target), [h, A] = Oe(!e.show), x = Jp(b, u, rh({
|
|
4783
4783
|
placement: i,
|
|
4784
4784
|
enableEvents: !!e.show,
|
|
4785
4785
|
containerPadding: a || 5,
|
|
@@ -4791,11 +4791,11 @@ const xl = /* @__PURE__ */ ne.forwardRef((e, t) => {
|
|
|
4791
4791
|
e.show && h && A(!1);
|
|
4792
4792
|
const S = (...k) => {
|
|
4793
4793
|
A(!0), e.onExited && e.onExited(...k);
|
|
4794
|
-
},
|
|
4794
|
+
}, y = e.show || !h;
|
|
4795
4795
|
if (Zh(u, e.onHide, {
|
|
4796
4796
|
disabled: !e.rootClose || e.rootCloseDisabled,
|
|
4797
4797
|
clickTrigger: e.rootCloseEvent
|
|
4798
|
-
}), !
|
|
4798
|
+
}), !y)
|
|
4799
4799
|
return null;
|
|
4800
4800
|
const {
|
|
4801
4801
|
onExit: m,
|
|
@@ -4879,17 +4879,17 @@ const Rl = /* @__PURE__ */ ne.forwardRef(({
|
|
|
4879
4879
|
show: u,
|
|
4880
4880
|
...f
|
|
4881
4881
|
}, c) => {
|
|
4882
|
-
const d = Se(e, "popover"), v = Ha(), [g] = (t == null ? void 0 : t.split("-")) || [],
|
|
4882
|
+
const d = Se(e, "popover"), v = Ha(), [g] = (t == null ? void 0 : t.split("-")) || [], b = Dl(g, v);
|
|
4883
4883
|
let h = r;
|
|
4884
4884
|
return u && !l && (h = {
|
|
4885
4885
|
...r,
|
|
4886
4886
|
...Tl(s == null ? void 0 : s.strategy)
|
|
4887
|
-
}), /* @__PURE__ */
|
|
4887
|
+
}), /* @__PURE__ */ ze("div", {
|
|
4888
4888
|
ref: c,
|
|
4889
4889
|
role: "tooltip",
|
|
4890
4890
|
style: h,
|
|
4891
4891
|
"x-placement": g,
|
|
4892
|
-
className: ge(n, d, g && `bs-popover-${
|
|
4892
|
+
className: ge(n, d, g && `bs-popover-${b}`),
|
|
4893
4893
|
...f,
|
|
4894
4894
|
children: [/* @__PURE__ */ R("div", {
|
|
4895
4895
|
className: "popover-arrow",
|
|
@@ -4924,7 +4924,7 @@ const Vr = Object.assign(Rl, {
|
|
|
4924
4924
|
return s && !o && (g = {
|
|
4925
4925
|
...r,
|
|
4926
4926
|
...Tl(l == null ? void 0 : l.strategy)
|
|
4927
|
-
}), /* @__PURE__ */
|
|
4927
|
+
}), /* @__PURE__ */ ze("div", {
|
|
4928
4928
|
ref: f,
|
|
4929
4929
|
style: g,
|
|
4930
4930
|
role: "tooltip",
|
|
@@ -4982,7 +4982,7 @@ const Il = /* @__PURE__ */ ne.forwardRef(({
|
|
|
4982
4982
|
show: a = !1,
|
|
4983
4983
|
...o
|
|
4984
4984
|
}, l) => {
|
|
4985
|
-
const s = ae({}), [u, f] = Oe(null), [c, d] = Qh(o.offset), v = gi(l, c), g = t === !0 ? Vt : t || void 0,
|
|
4985
|
+
const s = ae({}), [u, f] = Oe(null), [c, d] = Qh(o.offset), v = gi(l, c), g = t === !0 ? Vt : t || void 0, b = ur((h) => {
|
|
4986
4986
|
f(h), n == null || n.onFirstUpdate == null || n.onFirstUpdate(h);
|
|
4987
4987
|
});
|
|
4988
4988
|
return bh(() => {
|
|
@@ -4995,7 +4995,7 @@ const Il = /* @__PURE__ */ ne.forwardRef(({
|
|
|
4995
4995
|
popperConfig: {
|
|
4996
4996
|
...n,
|
|
4997
4997
|
modifiers: d.concat(n.modifiers || []),
|
|
4998
|
-
onFirstUpdate:
|
|
4998
|
+
onFirstUpdate: b
|
|
4999
4999
|
},
|
|
5000
5000
|
transition: g,
|
|
5001
5001
|
rootClose: r,
|
|
@@ -5006,13 +5006,13 @@ const Il = /* @__PURE__ */ ne.forwardRef(({
|
|
|
5006
5006
|
popper: x,
|
|
5007
5007
|
show: S
|
|
5008
5008
|
}) => {
|
|
5009
|
-
var
|
|
5009
|
+
var y;
|
|
5010
5010
|
em(h, A);
|
|
5011
5011
|
const m = x == null ? void 0 : x.placement, E = Object.assign(s.current, {
|
|
5012
5012
|
state: x == null ? void 0 : x.state,
|
|
5013
5013
|
scheduleUpdate: x == null ? void 0 : x.update,
|
|
5014
5014
|
placement: m,
|
|
5015
|
-
outOfBoundaries: (x == null || (
|
|
5015
|
+
outOfBoundaries: (x == null || (y = x.state) == null || (y = y.modifiersData.hide) == null ? void 0 : y.isReferenceHidden) || !1,
|
|
5016
5016
|
strategy: n.strategy
|
|
5017
5017
|
}), C = !!u;
|
|
5018
5018
|
return typeof e == "function" ? e({
|
|
@@ -5065,10 +5065,10 @@ const kl = ({
|
|
|
5065
5065
|
flip: u = s && s.indexOf("auto") !== -1,
|
|
5066
5066
|
...f
|
|
5067
5067
|
}) => {
|
|
5068
|
-
const c = ae(null), d = gi(c, Bn(n)), v = jd(), g = ae(""), [
|
|
5068
|
+
const c = ae(null), d = gi(c, Bn(n)), v = jd(), g = ae(""), [b, h] = Pu(i, a, o), A = tm(l), {
|
|
5069
5069
|
onFocus: x,
|
|
5070
5070
|
onBlur: S,
|
|
5071
|
-
onClick:
|
|
5071
|
+
onClick: y
|
|
5072
5072
|
} = typeof n != "function" ? ne.Children.only(n).props : {}, m = (Q) => {
|
|
5073
5073
|
d(Qr(Q));
|
|
5074
5074
|
}, E = pe(() => {
|
|
@@ -5092,18 +5092,18 @@ const kl = ({
|
|
|
5092
5092
|
}, [E, x]), I = pe((...Q) => {
|
|
5093
5093
|
C(), S == null || S(...Q);
|
|
5094
5094
|
}, [C, S]), L = pe((...Q) => {
|
|
5095
|
-
h(!
|
|
5096
|
-
}, [
|
|
5095
|
+
h(!b), y == null || y(...Q);
|
|
5096
|
+
}, [y, h, b]), k = pe((...Q) => {
|
|
5097
5097
|
ys(E, Q, "fromElement");
|
|
5098
5098
|
}, [E]), W = pe((...Q) => {
|
|
5099
5099
|
ys(C, Q, "toElement");
|
|
5100
5100
|
}, [C]), H = e == null ? [] : [].concat(e), z = {
|
|
5101
5101
|
ref: m
|
|
5102
5102
|
};
|
|
5103
|
-
return H.indexOf("click") !== -1 && (z.onClick = L), H.indexOf("focus") !== -1 && (z.onFocus = T, z.onBlur = I), H.indexOf("hover") !== -1 && (process.env.NODE_ENV !== "production" && mi(H.length > 1, '[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'), z.onMouseOver = k, z.onMouseOut = W), /* @__PURE__ */
|
|
5103
|
+
return H.indexOf("click") !== -1 && (z.onClick = L), H.indexOf("focus") !== -1 && (z.onFocus = T, z.onBlur = I), H.indexOf("hover") !== -1 && (process.env.NODE_ENV !== "production" && mi(H.length > 1, '[react-bootstrap] Specifying only the `"hover"` trigger limits the visibility of the overlay to just mouse users. Consider also including the `"focus"` trigger so that touch and keyboard only users can see the overlay as well.'), z.onMouseOver = k, z.onMouseOut = W), /* @__PURE__ */ ze(Ot, {
|
|
5104
5104
|
children: [typeof n == "function" ? n(z) : /* @__PURE__ */ kn(n, z), /* @__PURE__ */ R(Il, {
|
|
5105
5105
|
...f,
|
|
5106
|
-
show:
|
|
5106
|
+
show: b,
|
|
5107
5107
|
onHide: C,
|
|
5108
5108
|
flip: u,
|
|
5109
5109
|
placement: s,
|
|
@@ -5154,7 +5154,7 @@ function Nl(e) {
|
|
|
5154
5154
|
onExited: d
|
|
5155
5155
|
}];
|
|
5156
5156
|
const {
|
|
5157
|
-
activeKey:
|
|
5157
|
+
activeKey: b,
|
|
5158
5158
|
getControlledId: h,
|
|
5159
5159
|
getControllerId: A
|
|
5160
5160
|
} = g, x = Oa(g, rm), S = dr(n);
|
|
@@ -5164,7 +5164,7 @@ function Nl(e) {
|
|
|
5164
5164
|
"aria-labelledby": A(n)
|
|
5165
5165
|
}), {
|
|
5166
5166
|
eventKey: n,
|
|
5167
|
-
isActive: t == null && S != null ? dr(
|
|
5167
|
+
isActive: t == null && S != null ? dr(b) === S : t,
|
|
5168
5168
|
transition: i || x.transition,
|
|
5169
5169
|
mountOnEnter: r ?? x.mountOnEnter,
|
|
5170
5170
|
unmountOnExit: a ?? x.unmountOnExit,
|
|
@@ -5230,14 +5230,14 @@ const fo = (e) => {
|
|
|
5230
5230
|
mountOnEnter: l,
|
|
5231
5231
|
unmountOnExit: s,
|
|
5232
5232
|
children: u
|
|
5233
|
-
} = e, [f, c] = Ud(i, a, r), d = lh(t), v = he(() => n || ((
|
|
5233
|
+
} = e, [f, c] = Ud(i, a, r), d = lh(t), v = he(() => n || ((b, h) => d ? `${d}-${h}-${b}` : null), [d, n]), g = he(() => ({
|
|
5234
5234
|
onSelect: c,
|
|
5235
5235
|
activeKey: f,
|
|
5236
5236
|
transition: o,
|
|
5237
5237
|
mountOnEnter: l || !1,
|
|
5238
5238
|
unmountOnExit: s || !1,
|
|
5239
|
-
getControlledId: (
|
|
5240
|
-
getControllerId: (
|
|
5239
|
+
getControlledId: (b) => v(b, "tabpane"),
|
|
5240
|
+
getControllerId: (b) => v(b, "tab")
|
|
5241
5241
|
}), [c, f, o, l, s, v]);
|
|
5242
5242
|
return /* @__PURE__ */ R(Mn.Provider, {
|
|
5243
5243
|
value: g,
|
|
@@ -5289,7 +5289,7 @@ const mo = /* @__PURE__ */ ne.forwardRef(({
|
|
|
5289
5289
|
onExiting: d,
|
|
5290
5290
|
onExited: v,
|
|
5291
5291
|
mountOnEnter: g,
|
|
5292
|
-
unmountOnExit:
|
|
5292
|
+
unmountOnExit: b,
|
|
5293
5293
|
transition: h = Vt
|
|
5294
5294
|
}] = Nl({
|
|
5295
5295
|
...n,
|
|
@@ -5308,7 +5308,7 @@ const mo = /* @__PURE__ */ ne.forwardRef(({
|
|
|
5308
5308
|
onExiting: d,
|
|
5309
5309
|
onExited: v,
|
|
5310
5310
|
mountOnEnter: g,
|
|
5311
|
-
unmountOnExit:
|
|
5311
|
+
unmountOnExit: b,
|
|
5312
5312
|
children: /* @__PURE__ */ R(a, {
|
|
5313
5313
|
...o,
|
|
5314
5314
|
ref: r,
|
|
@@ -5390,7 +5390,7 @@ const Ml = (e) => {
|
|
|
5390
5390
|
} = vi(e, {
|
|
5391
5391
|
activeKey: "onSelect"
|
|
5392
5392
|
});
|
|
5393
|
-
return /* @__PURE__ */
|
|
5393
|
+
return /* @__PURE__ */ ze(fo, {
|
|
5394
5394
|
id: t,
|
|
5395
5395
|
activeKey: s,
|
|
5396
5396
|
onSelect: n,
|
|
@@ -5426,7 +5426,7 @@ const lm = (e) => {
|
|
|
5426
5426
|
container: r,
|
|
5427
5427
|
placement: e.actionProps.placement ?? "top",
|
|
5428
5428
|
trigger: e.actionProps.trigger ?? "click",
|
|
5429
|
-
overlay: /* @__PURE__ */
|
|
5429
|
+
overlay: /* @__PURE__ */ ze(Vr, { children: [
|
|
5430
5430
|
e.actionProps.header && /* @__PURE__ */ R(Vr.Header, { ...n, children: /* @__PURE__ */ R(
|
|
5431
5431
|
De,
|
|
5432
5432
|
{
|
|
@@ -5450,8 +5450,8 @@ const lm = (e) => {
|
|
|
5450
5450
|
}
|
|
5451
5451
|
) });
|
|
5452
5452
|
}, cm = (e) => {
|
|
5453
|
-
const t = Z(
|
|
5454
|
-
!r || typeof r != "string" || (window.location.href =
|
|
5453
|
+
const t = Z(Be), n = Z(Te), { to: r } = e.actionProps;
|
|
5454
|
+
!r || typeof r != "string" || (window.location.href = Fe({ valueToEvaluate: r, globalDataContext: t, templateContext: n }));
|
|
5455
5455
|
}, fm = (e) => {
|
|
5456
5456
|
var t, n, r;
|
|
5457
5457
|
return /* @__PURE__ */ R(
|
|
@@ -5494,8 +5494,8 @@ function dm() {
|
|
|
5494
5494
|
}
|
|
5495
5495
|
var v = i[u] = { exports: {} };
|
|
5496
5496
|
r[u][0].call(v.exports, function(g) {
|
|
5497
|
-
var
|
|
5498
|
-
return o(
|
|
5497
|
+
var b = r[u][1][g];
|
|
5498
|
+
return o(b || g);
|
|
5499
5499
|
}, v, v.exports, n, r, i, a);
|
|
5500
5500
|
}
|
|
5501
5501
|
return i[u].exports;
|
|
@@ -5506,7 +5506,7 @@ function dm() {
|
|
|
5506
5506
|
(function(a, o) {
|
|
5507
5507
|
o(typeof i < "u" ? i : a.esprima = {});
|
|
5508
5508
|
})(this, function(a) {
|
|
5509
|
-
var o, l, s, u, f, c, d, v, g,
|
|
5509
|
+
var o, l, s, u, f, c, d, v, g, b, h, A, x, S, y, m, E, C;
|
|
5510
5510
|
o = {
|
|
5511
5511
|
BooleanLiteral: 1,
|
|
5512
5512
|
EOF: 2,
|
|
@@ -5722,7 +5722,7 @@ function dm() {
|
|
|
5722
5722
|
return p === "eval" || p === "arguments";
|
|
5723
5723
|
}
|
|
5724
5724
|
function ie(p) {
|
|
5725
|
-
if (
|
|
5725
|
+
if (b && Y(p))
|
|
5726
5726
|
return !0;
|
|
5727
5727
|
switch (p.length) {
|
|
5728
5728
|
case 2:
|
|
@@ -6039,8 +6039,8 @@ function dm() {
|
|
|
6039
6039
|
};
|
|
6040
6040
|
}
|
|
6041
6041
|
function $() {
|
|
6042
|
-
var p = "", w, O, _, q, te, xe, Ne = !1,
|
|
6043
|
-
for (
|
|
6042
|
+
var p = "", w, O, _, q, te, xe, Ne = !1, et, Ye;
|
|
6043
|
+
for (et = A, Ye = x, w = g[h], T(
|
|
6044
6044
|
w === "'" || w === '"',
|
|
6045
6045
|
"String literal must starts with a quote"
|
|
6046
6046
|
), O = h, ++h; h < S; )
|
|
@@ -6089,7 +6089,7 @@ function dm() {
|
|
|
6089
6089
|
type: o.StringLiteral,
|
|
6090
6090
|
value: p,
|
|
6091
6091
|
octal: Ne,
|
|
6092
|
-
startLineNumber:
|
|
6092
|
+
startLineNumber: et,
|
|
6093
6093
|
startLineStart: Ye,
|
|
6094
6094
|
lineNumber: A,
|
|
6095
6095
|
lineStart: x,
|
|
@@ -6580,7 +6580,7 @@ function dm() {
|
|
|
6580
6580
|
if (p.type === o.EOF && se(p, c.UnexpectedEOS), p.type === o.NumericLiteral && se(p, c.UnexpectedNumber), p.type === o.StringLiteral && se(p, c.UnexpectedString), p.type === o.Identifier && se(p, c.UnexpectedIdentifier), p.type === o.Keyword) {
|
|
6581
6581
|
if (re(p.value))
|
|
6582
6582
|
se(p, c.UnexpectedReserved);
|
|
6583
|
-
else if (
|
|
6583
|
+
else if (b && Y(p.value)) {
|
|
6584
6584
|
be(p, c.StrictReservedWord);
|
|
6585
6585
|
return;
|
|
6586
6586
|
}
|
|
@@ -6620,31 +6620,31 @@ function dm() {
|
|
|
6620
6620
|
function Bi() {
|
|
6621
6621
|
var p = [], w;
|
|
6622
6622
|
for (w = m, de("["); !le("]"); )
|
|
6623
|
-
le(",") ? (fe(), p.push(null)) : (p.push(
|
|
6624
|
-
return fe(),
|
|
6623
|
+
le(",") ? (fe(), p.push(null)) : (p.push(qe()), le("]") || de(","));
|
|
6624
|
+
return fe(), y.markEnd(y.createArrayExpression(p), w);
|
|
6625
6625
|
}
|
|
6626
6626
|
function yn(p, w) {
|
|
6627
6627
|
var O, _, q;
|
|
6628
|
-
return O =
|
|
6628
|
+
return O = b, q = m, _ = $i(), w && b && j(p[0].name) && be(w, c.StrictParamName), b = O, y.markEnd(y.createFunctionExpression(null, p, [], _), q);
|
|
6629
6629
|
}
|
|
6630
6630
|
function bn() {
|
|
6631
6631
|
var p, w;
|
|
6632
|
-
return w = m, p = fe(), p.type === o.StringLiteral || p.type === o.NumericLiteral ? (
|
|
6632
|
+
return w = m, p = fe(), p.type === o.StringLiteral || p.type === o.NumericLiteral ? (b && p.octal && be(p, c.StrictOctalLiteral), y.markEnd(y.createLiteral(p), w)) : y.markEnd(y.createIdentifier(p.value), w);
|
|
6633
6633
|
}
|
|
6634
6634
|
function Li() {
|
|
6635
6635
|
var p, w, O, _, q, te;
|
|
6636
6636
|
if (p = m, te = m, p.type === o.Identifier)
|
|
6637
|
-
return O = bn(), p.value === "get" && !le(":") ? (w = bn(), de("("), de(")"), _ = yn([]),
|
|
6637
|
+
return O = bn(), p.value === "get" && !le(":") ? (w = bn(), de("("), de(")"), _ = yn([]), y.markEnd(y.createProperty("get", w, _), te)) : p.value === "set" && !le(":") ? (w = bn(), de("("), p = m, p.type !== o.Identifier ? (de(")"), be(p, c.UnexpectedToken, p.value), _ = yn([])) : (q = [Yt()], de(")"), _ = yn(q, p)), y.markEnd(y.createProperty("set", w, _), te)) : (de(":"), _ = qe(), y.markEnd(y.createProperty("init", O, _), te));
|
|
6638
6638
|
if (p.type === o.EOF || p.type === o.Punctuator)
|
|
6639
6639
|
tt(p);
|
|
6640
6640
|
else
|
|
6641
|
-
return w = bn(), de(":"), _ =
|
|
6641
|
+
return w = bn(), de(":"), _ = qe(), y.markEnd(y.createProperty("init", w, _), te);
|
|
6642
6642
|
}
|
|
6643
6643
|
function Mi() {
|
|
6644
6644
|
var p = [], w, O, _, q, te = {}, xe = String, Ne;
|
|
6645
6645
|
for (Ne = m, de("{"); !le("}"); )
|
|
6646
|
-
w = Li(), w.key.type === u.Identifier ? O = w.key.name : O = xe(w.key.value), q = w.kind === "init" ? f.Data : w.kind === "get" ? f.Get : f.Set, _ = "$" + O, Object.prototype.hasOwnProperty.call(te, _) ? (te[_] === f.Data ?
|
|
6647
|
-
return de("}"),
|
|
6646
|
+
w = Li(), w.key.type === u.Identifier ? O = w.key.name : O = xe(w.key.value), q = w.kind === "init" ? f.Data : w.kind === "get" ? f.Get : f.Set, _ = "$" + O, Object.prototype.hasOwnProperty.call(te, _) ? (te[_] === f.Data ? b && q === f.Data ? be({}, c.StrictDuplicateProperty) : q !== f.Data && be({}, c.AccessorDataProperty) : q === f.Data ? be({}, c.AccessorDataProperty) : te[_] & q && be({}, c.AccessorGetSet), te[_] |= q) : te[_] = q, p.push(w), le("}") || de(",");
|
|
6647
|
+
return de("}"), y.markEnd(y.createObjectExpression(p), Ne);
|
|
6648
6648
|
}
|
|
6649
6649
|
function Ke() {
|
|
6650
6650
|
var p;
|
|
@@ -6659,26 +6659,26 @@ function dm() {
|
|
|
6659
6659
|
if (le("{"))
|
|
6660
6660
|
return Mi();
|
|
6661
6661
|
if (p = m.type, _ = m, p === o.Identifier)
|
|
6662
|
-
O =
|
|
6662
|
+
O = y.createIdentifier(fe().value);
|
|
6663
6663
|
else if (p === o.StringLiteral || p === o.NumericLiteral)
|
|
6664
|
-
|
|
6664
|
+
b && m.octal && be(m, c.StrictOctalLiteral), O = y.createLiteral(fe());
|
|
6665
6665
|
else if (p === o.Keyword) {
|
|
6666
6666
|
if (We("function"))
|
|
6667
6667
|
return gf();
|
|
6668
|
-
We("this") ? (fe(), O =
|
|
6669
|
-
} else p === o.BooleanLiteral ? (w = fe(), w.value = w.value === "true", O =
|
|
6670
|
-
return
|
|
6668
|
+
We("this") ? (fe(), O = y.createThisExpression()) : tt(fe());
|
|
6669
|
+
} else p === o.BooleanLiteral ? (w = fe(), w.value = w.value === "true", O = y.createLiteral(w)) : p === o.NullLiteral ? (w = fe(), w.value = null, O = y.createLiteral(w)) : le("/") || le("/=") ? (typeof C.tokens < "u" ? O = y.createLiteral(Re()) : O = y.createLiteral(Ae()), je()) : tt(fe());
|
|
6670
|
+
return y.markEnd(O, _);
|
|
6671
6671
|
}
|
|
6672
6672
|
function rt() {
|
|
6673
6673
|
var p = [];
|
|
6674
6674
|
if (de("("), !le(")"))
|
|
6675
|
-
for (; h < S && (p.push(
|
|
6675
|
+
for (; h < S && (p.push(qe()), !le(")")); )
|
|
6676
6676
|
de(",");
|
|
6677
6677
|
return de(")"), p;
|
|
6678
6678
|
}
|
|
6679
6679
|
function Ft() {
|
|
6680
6680
|
var p, w;
|
|
6681
|
-
return w = m, p = fe(), yt(p) || tt(p),
|
|
6681
|
+
return w = m, p = fe(), yt(p) || tt(p), y.markEnd(y.createIdentifier(p.value), w);
|
|
6682
6682
|
}
|
|
6683
6683
|
function ft() {
|
|
6684
6684
|
return de("."), Ft();
|
|
@@ -6689,36 +6689,36 @@ function dm() {
|
|
|
6689
6689
|
}
|
|
6690
6690
|
function bt() {
|
|
6691
6691
|
var p, w, O;
|
|
6692
|
-
return O = m, ke("new"), p = Ge(), w = le("(") ? rt() : [],
|
|
6692
|
+
return O = m, ke("new"), p = Ge(), w = le("(") ? rt() : [], y.markEnd(y.createNewExpression(p, w), O);
|
|
6693
6693
|
}
|
|
6694
6694
|
function Kt() {
|
|
6695
6695
|
var p, w, O, _, q;
|
|
6696
6696
|
for (q = m, p = E.allowIn, E.allowIn = !0, w = We("new") ? bt() : nt(), E.allowIn = p; ; ) {
|
|
6697
6697
|
if (le("."))
|
|
6698
|
-
_ = ft(), w =
|
|
6698
|
+
_ = ft(), w = y.createMemberExpression(".", w, _);
|
|
6699
6699
|
else if (le("("))
|
|
6700
|
-
O = rt(), w =
|
|
6700
|
+
O = rt(), w = y.createCallExpression(w, O);
|
|
6701
6701
|
else if (le("["))
|
|
6702
|
-
_ = it(), w =
|
|
6702
|
+
_ = it(), w = y.createMemberExpression("[", w, _);
|
|
6703
6703
|
else
|
|
6704
6704
|
break;
|
|
6705
|
-
|
|
6705
|
+
y.markEnd(w, q);
|
|
6706
6706
|
}
|
|
6707
6707
|
return w;
|
|
6708
6708
|
}
|
|
6709
6709
|
function Ge() {
|
|
6710
6710
|
var p, w, O, _;
|
|
6711
6711
|
for (_ = m, p = E.allowIn, w = We("new") ? bt() : nt(), E.allowIn = p; le(".") || le("["); )
|
|
6712
|
-
le("[") ? (O = it(), w =
|
|
6712
|
+
le("[") ? (O = it(), w = y.createMemberExpression("[", w, O)) : (O = ft(), w = y.createMemberExpression(".", w, O)), y.markEnd(w, _);
|
|
6713
6713
|
return w;
|
|
6714
6714
|
}
|
|
6715
6715
|
function Rt() {
|
|
6716
6716
|
var p, w, O = m;
|
|
6717
|
-
return p = Kt(), m.type === o.Punctuator && (le("++") || le("--")) && !ye() && (
|
|
6717
|
+
return p = Kt(), m.type === o.Punctuator && (le("++") || le("--")) && !ye() && (b && p.type === u.Identifier && j(p.name) && be({}, c.StrictLHSPostfix), an(p) || be({}, c.InvalidLHSInAssignment), w = fe(), p = y.markEnd(y.createPostfixExpression(w.value, p), O)), p;
|
|
6718
6718
|
}
|
|
6719
|
-
function
|
|
6719
|
+
function Qe() {
|
|
6720
6720
|
var p, w, O;
|
|
6721
|
-
return m.type !== o.Punctuator && m.type !== o.Keyword ? w = Rt() : le("++") || le("--") ? (O = m, p = fe(), w =
|
|
6721
|
+
return m.type !== o.Punctuator && m.type !== o.Keyword ? w = Rt() : le("++") || le("--") ? (O = m, p = fe(), w = Qe(), b && w.type === u.Identifier && j(w.name) && be({}, c.StrictLHSPrefix), an(w) || be({}, c.InvalidLHSInAssignment), w = y.createUnaryExpression(p.value, w), w = y.markEnd(w, O)) : le("+") || le("-") || le("~") || le("!") ? (O = m, p = fe(), w = Qe(), w = y.createUnaryExpression(p.value, w), w = y.markEnd(w, O)) : We("delete") || We("void") || We("typeof") ? (O = m, p = fe(), w = Qe(), w = y.createUnaryExpression(p.value, w), w = y.markEnd(w, O), b && w.operator === "delete" && w.argument.type === u.Identifier && be({}, c.StrictDelete)) : w = Rt(), w;
|
|
6722
6722
|
}
|
|
6723
6723
|
function At(p, w) {
|
|
6724
6724
|
var O = 0;
|
|
@@ -6774,32 +6774,32 @@ function dm() {
|
|
|
6774
6774
|
return O;
|
|
6775
6775
|
}
|
|
6776
6776
|
function on() {
|
|
6777
|
-
var p, w, O, _, q, te, xe, Ne,
|
|
6778
|
-
if (p = m,
|
|
6779
|
-
return
|
|
6780
|
-
for (_.prec = q, fe(), w = [p, m], xe =
|
|
6777
|
+
var p, w, O, _, q, te, xe, Ne, et, Ye;
|
|
6778
|
+
if (p = m, et = Qe(), _ = m, q = At(_, E.allowIn), q === 0)
|
|
6779
|
+
return et;
|
|
6780
|
+
for (_.prec = q, fe(), w = [p, m], xe = Qe(), te = [et, _, xe]; (q = At(m, E.allowIn)) > 0; ) {
|
|
6781
6781
|
for (; te.length > 2 && q <= te[te.length - 2].prec; )
|
|
6782
|
-
xe = te.pop(), Ne = te.pop().value,
|
|
6783
|
-
_ = fe(), _.prec = q, te.push(_), w.push(m), O =
|
|
6782
|
+
xe = te.pop(), Ne = te.pop().value, et = te.pop(), O = y.createBinaryExpression(Ne, et, xe), w.pop(), p = w[w.length - 1], y.markEnd(O, p), te.push(O);
|
|
6783
|
+
_ = fe(), _.prec = q, te.push(_), w.push(m), O = Qe(), te.push(O);
|
|
6784
6784
|
}
|
|
6785
6785
|
for (Ye = te.length - 1, O = te[Ye], w.pop(); Ye > 1; )
|
|
6786
|
-
O =
|
|
6786
|
+
O = y.createBinaryExpression(te[Ye - 1].value, te[Ye - 2], O), Ye -= 2, p = w.pop(), y.markEnd(O, p);
|
|
6787
6787
|
return O;
|
|
6788
6788
|
}
|
|
6789
6789
|
function sn() {
|
|
6790
6790
|
var p, w, O, _, q;
|
|
6791
|
-
return q = m, p = on(), le("?") && (fe(), w = E.allowIn, E.allowIn = !0, O =
|
|
6791
|
+
return q = m, p = on(), le("?") && (fe(), w = E.allowIn, E.allowIn = !0, O = qe(), E.allowIn = w, de(":"), _ = qe(), p = y.createConditionalExpression(p, O, _), y.markEnd(p, q)), p;
|
|
6792
6792
|
}
|
|
6793
|
-
function
|
|
6793
|
+
function qe() {
|
|
6794
6794
|
var p, w, O, _, q;
|
|
6795
|
-
return p = m, q = m, _ = w = sn(), Fi() && (an(w) || be({}, c.InvalidLHSInAssignment),
|
|
6795
|
+
return p = m, q = m, _ = w = sn(), Fi() && (an(w) || be({}, c.InvalidLHSInAssignment), b && w.type === u.Identifier && j(w.name) && be(p, c.StrictLHSAssignment), p = fe(), O = qe(), _ = y.markEnd(y.createAssignmentExpression(p.value, w, O), q)), _;
|
|
6796
6796
|
}
|
|
6797
6797
|
function $e() {
|
|
6798
6798
|
var p, w = m;
|
|
6799
|
-
if (p =
|
|
6800
|
-
for (p =
|
|
6801
|
-
fe(), p.expressions.push(
|
|
6802
|
-
|
|
6799
|
+
if (p = qe(), le(",")) {
|
|
6800
|
+
for (p = y.createSequenceExpression([p]); h < S && le(","); )
|
|
6801
|
+
fe(), p.expressions.push(qe());
|
|
6802
|
+
y.markEnd(p, w);
|
|
6803
6803
|
}
|
|
6804
6804
|
return p;
|
|
6805
6805
|
}
|
|
@@ -6810,15 +6810,15 @@ function dm() {
|
|
|
6810
6810
|
}
|
|
6811
6811
|
function Rr() {
|
|
6812
6812
|
var p, w;
|
|
6813
|
-
return w = m, de("{"), p = Vn(), de("}"),
|
|
6813
|
+
return w = m, de("{"), p = Vn(), de("}"), y.markEnd(y.createBlockStatement(p), w);
|
|
6814
6814
|
}
|
|
6815
6815
|
function Yt() {
|
|
6816
6816
|
var p, w;
|
|
6817
|
-
return w = m, p = fe(), p.type !== o.Identifier && tt(p),
|
|
6817
|
+
return w = m, p = fe(), p.type !== o.Identifier && tt(p), y.markEnd(y.createIdentifier(p.value), w);
|
|
6818
6818
|
}
|
|
6819
6819
|
function Yc(p) {
|
|
6820
6820
|
var w = null, O, _;
|
|
6821
|
-
return _ = m, O = Yt(),
|
|
6821
|
+
return _ = m, O = Yt(), b && j(O.name) && be({}, c.StrictVarName), p === "const" ? (de("="), w = qe()) : le("=") && (fe(), w = qe()), y.markEnd(y.createVariableDeclarator(O, w), _);
|
|
6822
6822
|
}
|
|
6823
6823
|
function ji(p) {
|
|
6824
6824
|
var w = [];
|
|
@@ -6831,83 +6831,83 @@ function dm() {
|
|
|
6831
6831
|
}
|
|
6832
6832
|
function Jc() {
|
|
6833
6833
|
var p;
|
|
6834
|
-
return ke("var"), p = ji(), pt(),
|
|
6834
|
+
return ke("var"), p = ji(), pt(), y.createVariableDeclaration(p, "var");
|
|
6835
6835
|
}
|
|
6836
6836
|
function Zc(p) {
|
|
6837
6837
|
var w, O;
|
|
6838
|
-
return O = m, ke(p), w = ji(p), pt(),
|
|
6838
|
+
return O = m, ke(p), w = ji(p), pt(), y.markEnd(y.createVariableDeclaration(w, p), O);
|
|
6839
6839
|
}
|
|
6840
6840
|
function Qc() {
|
|
6841
|
-
return de(";"),
|
|
6841
|
+
return de(";"), y.createEmptyStatement();
|
|
6842
6842
|
}
|
|
6843
6843
|
function ef() {
|
|
6844
6844
|
var p = $e();
|
|
6845
|
-
return pt(),
|
|
6845
|
+
return pt(), y.createExpressionStatement(p);
|
|
6846
6846
|
}
|
|
6847
6847
|
function tf() {
|
|
6848
6848
|
var p, w, O;
|
|
6849
|
-
return ke("if"), de("("), p = $e(), de(")"), w = Bt(), We("else") ? (fe(), O = Bt()) : O = null,
|
|
6849
|
+
return ke("if"), de("("), p = $e(), de(")"), w = Bt(), We("else") ? (fe(), O = Bt()) : O = null, y.createIfStatement(p, w, O);
|
|
6850
6850
|
}
|
|
6851
6851
|
function nf() {
|
|
6852
6852
|
var p, w, O;
|
|
6853
|
-
return ke("do"), O = E.inIteration, E.inIteration = !0, p = Bt(), E.inIteration = O, ke("while"), de("("), w = $e(), de(")"), le(";") && fe(),
|
|
6853
|
+
return ke("do"), O = E.inIteration, E.inIteration = !0, p = Bt(), E.inIteration = O, ke("while"), de("("), w = $e(), de(")"), le(";") && fe(), y.createDoWhileStatement(p, w);
|
|
6854
6854
|
}
|
|
6855
6855
|
function rf() {
|
|
6856
6856
|
var p, w, O;
|
|
6857
|
-
return ke("while"), de("("), p = $e(), de(")"), O = E.inIteration, E.inIteration = !0, w = Bt(), E.inIteration = O,
|
|
6857
|
+
return ke("while"), de("("), p = $e(), de(")"), O = E.inIteration, E.inIteration = !0, w = Bt(), E.inIteration = O, y.createWhileStatement(p, w);
|
|
6858
6858
|
}
|
|
6859
6859
|
function af() {
|
|
6860
6860
|
var p, w, O;
|
|
6861
|
-
return O = m, p = fe(), w = ji(),
|
|
6861
|
+
return O = m, p = fe(), w = ji(), y.markEnd(y.createVariableDeclaration(w, p.value), O);
|
|
6862
6862
|
}
|
|
6863
6863
|
function of() {
|
|
6864
6864
|
var p, w, O, _, q, te, xe;
|
|
6865
|
-
return p = w = O = null, ke("for"), de("("), le(";") ? fe() : (We("var") || We("let") ? (E.allowIn = !1, p = af(), E.allowIn = !0, p.declarations.length === 1 && We("in") && (fe(), _ = p, q = $e(), p = null)) : (E.allowIn = !1, p = $e(), E.allowIn = !0, We("in") && (an(p) || be({}, c.InvalidLHSInForIn), fe(), _ = p, q = $e(), p = null)), typeof _ > "u" && de(";")), typeof _ > "u" && (le(";") || (w = $e()), de(";"), le(")") || (O = $e())), de(")"), xe = E.inIteration, E.inIteration = !0, te = Bt(), E.inIteration = xe, typeof _ > "u" ?
|
|
6865
|
+
return p = w = O = null, ke("for"), de("("), le(";") ? fe() : (We("var") || We("let") ? (E.allowIn = !1, p = af(), E.allowIn = !0, p.declarations.length === 1 && We("in") && (fe(), _ = p, q = $e(), p = null)) : (E.allowIn = !1, p = $e(), E.allowIn = !0, We("in") && (an(p) || be({}, c.InvalidLHSInForIn), fe(), _ = p, q = $e(), p = null)), typeof _ > "u" && de(";")), typeof _ > "u" && (le(";") || (w = $e()), de(";"), le(")") || (O = $e())), de(")"), xe = E.inIteration, E.inIteration = !0, te = Bt(), E.inIteration = xe, typeof _ > "u" ? y.createForStatement(p, w, O, te) : y.createForInStatement(_, q, te);
|
|
6866
6866
|
}
|
|
6867
6867
|
function sf() {
|
|
6868
6868
|
var p = null, w;
|
|
6869
|
-
return ke("continue"), g.charCodeAt(h) === 59 ? (fe(), E.inIteration || se({}, c.IllegalContinue),
|
|
6869
|
+
return ke("continue"), g.charCodeAt(h) === 59 ? (fe(), E.inIteration || se({}, c.IllegalContinue), y.createContinueStatement(null)) : ye() ? (E.inIteration || se({}, c.IllegalContinue), y.createContinueStatement(null)) : (m.type === o.Identifier && (p = Yt(), w = "$" + p.name, Object.prototype.hasOwnProperty.call(E.labelSet, w) || se({}, c.UnknownLabel, p.name)), pt(), p === null && !E.inIteration && se({}, c.IllegalContinue), y.createContinueStatement(p));
|
|
6870
6870
|
}
|
|
6871
6871
|
function uf() {
|
|
6872
6872
|
var p = null, w;
|
|
6873
|
-
return ke("break"), g.charCodeAt(h) === 59 ? (fe(), E.inIteration || E.inSwitch || se({}, c.IllegalBreak),
|
|
6873
|
+
return ke("break"), g.charCodeAt(h) === 59 ? (fe(), E.inIteration || E.inSwitch || se({}, c.IllegalBreak), y.createBreakStatement(null)) : ye() ? (E.inIteration || E.inSwitch || se({}, c.IllegalBreak), y.createBreakStatement(null)) : (m.type === o.Identifier && (p = Yt(), w = "$" + p.name, Object.prototype.hasOwnProperty.call(E.labelSet, w) || se({}, c.UnknownLabel, p.name)), pt(), p === null && !(E.inIteration || E.inSwitch) && se({}, c.IllegalBreak), y.createBreakStatement(p));
|
|
6874
6874
|
}
|
|
6875
6875
|
function lf() {
|
|
6876
6876
|
var p = null;
|
|
6877
|
-
return ke("return"), E.inFunctionBody || be({}, c.IllegalReturn), g.charCodeAt(h) === 32 && z(g.charCodeAt(h + 1)) ? (p = $e(), pt(),
|
|
6877
|
+
return ke("return"), E.inFunctionBody || be({}, c.IllegalReturn), g.charCodeAt(h) === 32 && z(g.charCodeAt(h + 1)) ? (p = $e(), pt(), y.createReturnStatement(p)) : ye() ? y.createReturnStatement(null) : (le(";") || !le("}") && m.type !== o.EOF && (p = $e()), pt(), y.createReturnStatement(p));
|
|
6878
6878
|
}
|
|
6879
6879
|
function cf() {
|
|
6880
6880
|
var p, w;
|
|
6881
|
-
return
|
|
6881
|
+
return b && (D(), be({}, c.StrictModeWith)), ke("with"), de("("), p = $e(), de(")"), w = Bt(), y.createWithStatement(p, w);
|
|
6882
6882
|
}
|
|
6883
6883
|
function ff() {
|
|
6884
6884
|
var p, w = [], O, _;
|
|
6885
6885
|
for (_ = m, We("default") ? (fe(), p = null) : (ke("case"), p = $e()), de(":"); h < S && !(le("}") || We("default") || We("case")); )
|
|
6886
6886
|
O = Bt(), w.push(O);
|
|
6887
|
-
return
|
|
6887
|
+
return y.markEnd(y.createSwitchCase(p, w), _);
|
|
6888
6888
|
}
|
|
6889
6889
|
function df() {
|
|
6890
6890
|
var p, w, O, _, q;
|
|
6891
6891
|
if (ke("switch"), de("("), p = $e(), de(")"), de("{"), w = [], le("}"))
|
|
6892
|
-
return fe(),
|
|
6892
|
+
return fe(), y.createSwitchStatement(p, w);
|
|
6893
6893
|
for (_ = E.inSwitch, E.inSwitch = !0, q = !1; h < S && !le("}"); )
|
|
6894
6894
|
O = ff(), O.test === null && (q && se({}, c.MultipleDefaultsInSwitch), q = !0), w.push(O);
|
|
6895
|
-
return E.inSwitch = _, de("}"),
|
|
6895
|
+
return E.inSwitch = _, de("}"), y.createSwitchStatement(p, w);
|
|
6896
6896
|
}
|
|
6897
6897
|
function pf() {
|
|
6898
6898
|
var p;
|
|
6899
|
-
return ke("throw"), ye() && se({}, c.NewlineAfterThrow), p = $e(), pt(),
|
|
6899
|
+
return ke("throw"), ye() && se({}, c.NewlineAfterThrow), p = $e(), pt(), y.createThrowStatement(p);
|
|
6900
6900
|
}
|
|
6901
6901
|
function hf() {
|
|
6902
6902
|
var p, w, O;
|
|
6903
|
-
return O = m, ke("catch"), de("("), le(")") && tt(m), p = Yt(),
|
|
6903
|
+
return O = m, ke("catch"), de("("), le(")") && tt(m), p = Yt(), b && j(p.name) && be({}, c.StrictCatchVariable), de(")"), w = Rr(), y.markEnd(y.createCatchClause(p, w), O);
|
|
6904
6904
|
}
|
|
6905
6905
|
function mf() {
|
|
6906
6906
|
var p, w = [], O = null;
|
|
6907
|
-
return ke("try"), p = Rr(), We("catch") && w.push(hf()), We("finally") && (fe(), O = Rr()), w.length === 0 && !O && se({}, c.NoCatchOrFinally),
|
|
6907
|
+
return ke("try"), p = Rr(), We("catch") && w.push(hf()), We("finally") && (fe(), O = Rr()), w.length === 0 && !O && se({}, c.NoCatchOrFinally), y.createTryStatement(p, [], w, O);
|
|
6908
6908
|
}
|
|
6909
6909
|
function vf() {
|
|
6910
|
-
return ke("debugger"), pt(),
|
|
6910
|
+
return ke("debugger"), pt(), y.createDebuggerStatement();
|
|
6911
6911
|
}
|
|
6912
6912
|
function Bt() {
|
|
6913
6913
|
var p = m.type, w, O, _, q;
|
|
@@ -6916,55 +6916,55 @@ function dm() {
|
|
|
6916
6916
|
if (q = m, p === o.Punctuator)
|
|
6917
6917
|
switch (m.value) {
|
|
6918
6918
|
case ";":
|
|
6919
|
-
return
|
|
6919
|
+
return y.markEnd(Qc(), q);
|
|
6920
6920
|
case "(":
|
|
6921
|
-
return
|
|
6921
|
+
return y.markEnd(ef(), q);
|
|
6922
6922
|
}
|
|
6923
6923
|
if (p === o.Keyword)
|
|
6924
6924
|
switch (m.value) {
|
|
6925
6925
|
case "break":
|
|
6926
|
-
return
|
|
6926
|
+
return y.markEnd(uf(), q);
|
|
6927
6927
|
case "continue":
|
|
6928
|
-
return
|
|
6928
|
+
return y.markEnd(sf(), q);
|
|
6929
6929
|
case "debugger":
|
|
6930
|
-
return
|
|
6930
|
+
return y.markEnd(vf(), q);
|
|
6931
6931
|
case "do":
|
|
6932
|
-
return
|
|
6932
|
+
return y.markEnd(nf(), q);
|
|
6933
6933
|
case "for":
|
|
6934
|
-
return
|
|
6934
|
+
return y.markEnd(of(), q);
|
|
6935
6935
|
case "function":
|
|
6936
|
-
return
|
|
6936
|
+
return y.markEnd(To(), q);
|
|
6937
6937
|
case "if":
|
|
6938
|
-
return
|
|
6938
|
+
return y.markEnd(tf(), q);
|
|
6939
6939
|
case "return":
|
|
6940
|
-
return
|
|
6940
|
+
return y.markEnd(lf(), q);
|
|
6941
6941
|
case "switch":
|
|
6942
|
-
return
|
|
6942
|
+
return y.markEnd(df(), q);
|
|
6943
6943
|
case "throw":
|
|
6944
|
-
return
|
|
6944
|
+
return y.markEnd(pf(), q);
|
|
6945
6945
|
case "try":
|
|
6946
|
-
return
|
|
6946
|
+
return y.markEnd(mf(), q);
|
|
6947
6947
|
case "var":
|
|
6948
|
-
return
|
|
6948
|
+
return y.markEnd(Jc(), q);
|
|
6949
6949
|
case "while":
|
|
6950
|
-
return
|
|
6950
|
+
return y.markEnd(rf(), q);
|
|
6951
6951
|
case "with":
|
|
6952
|
-
return
|
|
6952
|
+
return y.markEnd(cf(), q);
|
|
6953
6953
|
}
|
|
6954
|
-
return w = $e(), w.type === u.Identifier && le(":") ? (fe(), _ = "$" + w.name, Object.prototype.hasOwnProperty.call(E.labelSet, _) && se({}, c.Redeclaration, "Label", w.name), E.labelSet[_] = !0, O = Bt(), delete E.labelSet[_],
|
|
6954
|
+
return w = $e(), w.type === u.Identifier && le(":") ? (fe(), _ = "$" + w.name, Object.prototype.hasOwnProperty.call(E.labelSet, _) && se({}, c.Redeclaration, "Label", w.name), E.labelSet[_] = !0, O = Bt(), delete E.labelSet[_], y.markEnd(y.createLabeledStatement(w, O), q)) : (pt(), y.markEnd(y.createExpressionStatement(w), q));
|
|
6955
6955
|
}
|
|
6956
6956
|
function $i() {
|
|
6957
|
-
var p, w = [], O, _, q, te, xe, Ne,
|
|
6957
|
+
var p, w = [], O, _, q, te, xe, Ne, et, Ye;
|
|
6958
6958
|
for (Ye = m, de("{"); h < S && !(m.type !== o.StringLiteral || (O = m, p = Wn(), w.push(p), p.expression.type !== u.Literal)); )
|
|
6959
|
-
_ = g.slice(O.start + 1, O.end - 1), _ === "use strict" ? (
|
|
6960
|
-
for (te = E.labelSet, xe = E.inIteration, Ne = E.inSwitch,
|
|
6959
|
+
_ = g.slice(O.start + 1, O.end - 1), _ === "use strict" ? (b = !0, q && be(q, c.StrictOctalLiteral)) : !q && O.octal && (q = O);
|
|
6960
|
+
for (te = E.labelSet, xe = E.inIteration, Ne = E.inSwitch, et = E.inFunctionBody, E.labelSet = {}, E.inIteration = !1, E.inSwitch = !1, E.inFunctionBody = !0; h < S && !(le("}") || (p = Wn(), typeof p > "u")); )
|
|
6961
6961
|
w.push(p);
|
|
6962
|
-
return de("}"), E.labelSet = te, E.inIteration = xe, E.inSwitch = Ne, E.inFunctionBody =
|
|
6962
|
+
return de("}"), E.labelSet = te, E.inIteration = xe, E.inSwitch = Ne, E.inFunctionBody = et, y.markEnd(y.createBlockStatement(w), Ye);
|
|
6963
6963
|
}
|
|
6964
6964
|
function Do(p) {
|
|
6965
6965
|
var w, O = [], _, q, te, xe, Ne;
|
|
6966
6966
|
if (de("("), !le(")"))
|
|
6967
|
-
for (te = {}; h < S && (_ = m, w = Yt(), xe = "$" + _.value,
|
|
6967
|
+
for (te = {}; h < S && (_ = m, w = Yt(), xe = "$" + _.value, b ? (j(_.value) && (q = _, Ne = c.StrictParamName), Object.prototype.hasOwnProperty.call(te, xe) && (q = _, Ne = c.StrictParamDupe)) : p || (j(_.value) ? (p = _, Ne = c.StrictParamName) : Y(_.value) ? (p = _, Ne = c.StrictReservedWord) : Object.prototype.hasOwnProperty.call(te, xe) && (p = _, Ne = c.StrictParamDupe)), O.push(w), te[xe] = !0, !le(")")); )
|
|
6968
6968
|
de(",");
|
|
6969
6969
|
return de(")"), {
|
|
6970
6970
|
params: O,
|
|
@@ -6974,12 +6974,12 @@ function dm() {
|
|
|
6974
6974
|
};
|
|
6975
6975
|
}
|
|
6976
6976
|
function To() {
|
|
6977
|
-
var p, w = [], O, _, q, te, xe, Ne,
|
|
6978
|
-
return Ye = m, ke("function"), _ = m, p = Yt(),
|
|
6977
|
+
var p, w = [], O, _, q, te, xe, Ne, et, Ye;
|
|
6978
|
+
return Ye = m, ke("function"), _ = m, p = Yt(), b ? j(_.value) && be(_, c.StrictFunctionName) : j(_.value) ? (xe = _, Ne = c.StrictFunctionName) : Y(_.value) && (xe = _, Ne = c.StrictReservedWord), te = Do(xe), w = te.params, q = te.stricted, xe = te.firstRestricted, te.message && (Ne = te.message), et = b, O = $i(), b && xe && se(xe, Ne), b && q && be(q, Ne), b = et, y.markEnd(y.createFunctionDeclaration(p, w, [], O), Ye);
|
|
6979
6979
|
}
|
|
6980
6980
|
function gf() {
|
|
6981
|
-
var p, w = null, O, _, q, te, xe = [], Ne,
|
|
6982
|
-
return Ye = m, ke("function"), le("(") || (p = m, w = Yt(),
|
|
6981
|
+
var p, w = null, O, _, q, te, xe = [], Ne, et, Ye;
|
|
6982
|
+
return Ye = m, ke("function"), le("(") || (p = m, w = Yt(), b ? j(p.value) && be(p, c.StrictFunctionName) : j(p.value) ? (_ = p, q = c.StrictFunctionName) : Y(p.value) && (_ = p, q = c.StrictReservedWord)), te = Do(_), xe = te.params, O = te.stricted, _ = te.firstRestricted, te.message && (q = te.message), et = b, Ne = $i(), b && _ && se(_, q), b && O && be(O, q), b = et, y.markEnd(y.createFunctionExpression(w, xe, [], Ne), Ye);
|
|
6983
6983
|
}
|
|
6984
6984
|
function Wn() {
|
|
6985
6985
|
if (m.type === o.Keyword)
|
|
@@ -6997,14 +6997,14 @@ function dm() {
|
|
|
6997
6997
|
}
|
|
6998
6998
|
function yf() {
|
|
6999
6999
|
for (var p, w = [], O, _, q; h < S && (O = m, !(O.type !== o.StringLiteral || (p = Wn(), w.push(p), p.expression.type !== u.Literal))); )
|
|
7000
|
-
_ = g.slice(O.start + 1, O.end - 1), _ === "use strict" ? (
|
|
7000
|
+
_ = g.slice(O.start + 1, O.end - 1), _ === "use strict" ? (b = !0, q && be(q, c.StrictOctalLiteral)) : !q && O.octal && (q = O);
|
|
7001
7001
|
for (; h < S && (p = Wn(), !(typeof p > "u")); )
|
|
7002
7002
|
w.push(p);
|
|
7003
7003
|
return w;
|
|
7004
7004
|
}
|
|
7005
7005
|
function bf() {
|
|
7006
7006
|
var p, w;
|
|
7007
|
-
return D(), je(), w = m,
|
|
7007
|
+
return D(), je(), w = m, b = !1, p = yf(), y.markEnd(y.createProgram(p), w);
|
|
7008
7008
|
}
|
|
7009
7009
|
function Ro() {
|
|
7010
7010
|
var p, w, O, _ = [];
|
|
@@ -7017,7 +7017,7 @@ function dm() {
|
|
|
7017
7017
|
}
|
|
7018
7018
|
function Ef(p, w) {
|
|
7019
7019
|
var O, _, q;
|
|
7020
|
-
O = String, typeof p != "string" && !(p instanceof String) && (p = O(p)),
|
|
7020
|
+
O = String, typeof p != "string" && !(p instanceof String) && (p = O(p)), y = v, g = p, h = 0, A = g.length > 0 ? 1 : 0, x = 0, S = g.length, m = null, E = {
|
|
7021
7021
|
allowIn: !0,
|
|
7022
7022
|
labelSet: {},
|
|
7023
7023
|
inFunctionBody: !1,
|
|
@@ -7048,7 +7048,7 @@ function dm() {
|
|
|
7048
7048
|
}
|
|
7049
7049
|
function wf(p, w) {
|
|
7050
7050
|
var O, _;
|
|
7051
|
-
_ = String, typeof p != "string" && !(p instanceof String) && (p = _(p)),
|
|
7051
|
+
_ = String, typeof p != "string" && !(p instanceof String) && (p = _(p)), y = v, g = p, h = 0, A = g.length > 0 ? 1 : 0, x = 0, S = g.length, m = null, E = {
|
|
7052
7052
|
allowIn: !0,
|
|
7053
7053
|
labelSet: {},
|
|
7054
7054
|
inFunctionBody: !1,
|
|
@@ -7083,60 +7083,60 @@ function dm() {
|
|
|
7083
7083
|
symbols_: { error: 2, JSON_PATH: 3, DOLLAR: 4, PATH_COMPONENTS: 5, LEADING_CHILD_MEMBER_EXPRESSION: 6, PATH_COMPONENT: 7, MEMBER_COMPONENT: 8, SUBSCRIPT_COMPONENT: 9, CHILD_MEMBER_COMPONENT: 10, DESCENDANT_MEMBER_COMPONENT: 11, DOT: 12, MEMBER_EXPRESSION: 13, DOT_DOT: 14, STAR: 15, IDENTIFIER: 16, SCRIPT_EXPRESSION: 17, INTEGER: 18, END: 19, CHILD_SUBSCRIPT_COMPONENT: 20, DESCENDANT_SUBSCRIPT_COMPONENT: 21, "[": 22, SUBSCRIPT: 23, "]": 24, SUBSCRIPT_EXPRESSION: 25, SUBSCRIPT_EXPRESSION_LIST: 26, SUBSCRIPT_EXPRESSION_LISTABLE: 27, ",": 28, STRING_LITERAL: 29, ARRAY_SLICE: 30, FILTER_EXPRESSION: 31, QQ_STRING: 32, Q_STRING: 33, $accept: 0, $end: 1 },
|
|
7084
7084
|
terminals_: { 2: "error", 4: "DOLLAR", 12: "DOT", 14: "DOT_DOT", 15: "STAR", 16: "IDENTIFIER", 17: "SCRIPT_EXPRESSION", 18: "INTEGER", 19: "END", 22: "[", 24: "]", 28: ",", 30: "ARRAY_SLICE", 31: "FILTER_EXPRESSION", 32: "QQ_STRING", 33: "Q_STRING" },
|
|
7085
7085
|
productions_: [0, [3, 1], [3, 2], [3, 1], [3, 2], [5, 1], [5, 2], [7, 1], [7, 1], [8, 1], [8, 1], [10, 2], [6, 1], [11, 2], [13, 1], [13, 1], [13, 1], [13, 1], [13, 1], [9, 1], [9, 1], [20, 3], [21, 4], [23, 1], [23, 1], [26, 1], [26, 3], [27, 1], [27, 1], [27, 1], [25, 1], [25, 1], [25, 1], [29, 1], [29, 1]],
|
|
7086
|
-
performAction: function(d, v, g,
|
|
7087
|
-
|
|
7086
|
+
performAction: function(d, v, g, b, h, A, x) {
|
|
7087
|
+
b.ast || (b.ast = s, s.initialize());
|
|
7088
7088
|
var S = A.length - 1;
|
|
7089
7089
|
switch (h) {
|
|
7090
7090
|
case 1:
|
|
7091
|
-
return
|
|
7091
|
+
return b.ast.set({ expression: { type: "root", value: A[S] } }), b.ast.unshift(), b.ast.yield();
|
|
7092
7092
|
case 2:
|
|
7093
|
-
return
|
|
7093
|
+
return b.ast.set({ expression: { type: "root", value: A[S - 1] } }), b.ast.unshift(), b.ast.yield();
|
|
7094
7094
|
case 3:
|
|
7095
|
-
return
|
|
7095
|
+
return b.ast.unshift(), b.ast.yield();
|
|
7096
7096
|
case 4:
|
|
7097
|
-
return
|
|
7097
|
+
return b.ast.set({ operation: "member", scope: "child", expression: { type: "identifier", value: A[S - 1] } }), b.ast.unshift(), b.ast.yield();
|
|
7098
7098
|
case 5:
|
|
7099
7099
|
break;
|
|
7100
7100
|
case 6:
|
|
7101
7101
|
break;
|
|
7102
7102
|
case 7:
|
|
7103
|
-
|
|
7103
|
+
b.ast.set({ operation: "member" }), b.ast.push();
|
|
7104
7104
|
break;
|
|
7105
7105
|
case 8:
|
|
7106
|
-
|
|
7106
|
+
b.ast.set({ operation: "subscript" }), b.ast.push();
|
|
7107
7107
|
break;
|
|
7108
7108
|
case 9:
|
|
7109
|
-
|
|
7109
|
+
b.ast.set({ scope: "child" });
|
|
7110
7110
|
break;
|
|
7111
7111
|
case 10:
|
|
7112
|
-
|
|
7112
|
+
b.ast.set({ scope: "descendant" });
|
|
7113
7113
|
break;
|
|
7114
7114
|
case 11:
|
|
7115
7115
|
break;
|
|
7116
7116
|
case 12:
|
|
7117
|
-
|
|
7117
|
+
b.ast.set({ scope: "child", operation: "member" });
|
|
7118
7118
|
break;
|
|
7119
7119
|
case 13:
|
|
7120
7120
|
break;
|
|
7121
7121
|
case 14:
|
|
7122
|
-
|
|
7122
|
+
b.ast.set({ expression: { type: "wildcard", value: A[S] } });
|
|
7123
7123
|
break;
|
|
7124
7124
|
case 15:
|
|
7125
|
-
|
|
7125
|
+
b.ast.set({ expression: { type: "identifier", value: A[S] } });
|
|
7126
7126
|
break;
|
|
7127
7127
|
case 16:
|
|
7128
|
-
|
|
7128
|
+
b.ast.set({ expression: { type: "script_expression", value: A[S] } });
|
|
7129
7129
|
break;
|
|
7130
7130
|
case 17:
|
|
7131
|
-
|
|
7131
|
+
b.ast.set({ expression: { type: "numeric_literal", value: parseInt(A[S]) } });
|
|
7132
7132
|
break;
|
|
7133
7133
|
case 18:
|
|
7134
7134
|
break;
|
|
7135
7135
|
case 19:
|
|
7136
|
-
|
|
7136
|
+
b.ast.set({ scope: "child" });
|
|
7137
7137
|
break;
|
|
7138
7138
|
case 20:
|
|
7139
|
-
|
|
7139
|
+
b.ast.set({ scope: "descendant" });
|
|
7140
7140
|
break;
|
|
7141
7141
|
case 21:
|
|
7142
7142
|
break;
|
|
@@ -7145,7 +7145,7 @@ function dm() {
|
|
|
7145
7145
|
case 23:
|
|
7146
7146
|
break;
|
|
7147
7147
|
case 24:
|
|
7148
|
-
A[S].length > 1 ?
|
|
7148
|
+
A[S].length > 1 ? b.ast.set({ expression: { type: "union", value: A[S] } }) : this.$ = A[S];
|
|
7149
7149
|
break;
|
|
7150
7150
|
case 25:
|
|
7151
7151
|
this.$ = [A[S]];
|
|
@@ -7154,22 +7154,22 @@ function dm() {
|
|
|
7154
7154
|
this.$ = A[S - 2].concat(A[S]);
|
|
7155
7155
|
break;
|
|
7156
7156
|
case 27:
|
|
7157
|
-
this.$ = { expression: { type: "numeric_literal", value: parseInt(A[S]) } },
|
|
7157
|
+
this.$ = { expression: { type: "numeric_literal", value: parseInt(A[S]) } }, b.ast.set(this.$);
|
|
7158
7158
|
break;
|
|
7159
7159
|
case 28:
|
|
7160
|
-
this.$ = { expression: { type: "string_literal", value: A[S] } },
|
|
7160
|
+
this.$ = { expression: { type: "string_literal", value: A[S] } }, b.ast.set(this.$);
|
|
7161
7161
|
break;
|
|
7162
7162
|
case 29:
|
|
7163
|
-
this.$ = { expression: { type: "slice", value: A[S] } },
|
|
7163
|
+
this.$ = { expression: { type: "slice", value: A[S] } }, b.ast.set(this.$);
|
|
7164
7164
|
break;
|
|
7165
7165
|
case 30:
|
|
7166
|
-
this.$ = { expression: { type: "wildcard", value: A[S] } },
|
|
7166
|
+
this.$ = { expression: { type: "wildcard", value: A[S] } }, b.ast.set(this.$);
|
|
7167
7167
|
break;
|
|
7168
7168
|
case 31:
|
|
7169
|
-
this.$ = { expression: { type: "script_expression", value: A[S] } },
|
|
7169
|
+
this.$ = { expression: { type: "script_expression", value: A[S] } }, b.ast.set(this.$);
|
|
7170
7170
|
break;
|
|
7171
7171
|
case 32:
|
|
7172
|
-
this.$ = { expression: { type: "filter_expression", value: A[S] } },
|
|
7172
|
+
this.$ = { expression: { type: "filter_expression", value: A[S] } }, b.ast.set(this.$);
|
|
7173
7173
|
break;
|
|
7174
7174
|
case 33:
|
|
7175
7175
|
this.$ = A[S];
|
|
@@ -7188,7 +7188,7 @@ function dm() {
|
|
|
7188
7188
|
throw new Error(d);
|
|
7189
7189
|
},
|
|
7190
7190
|
parse: function(d) {
|
|
7191
|
-
var v = this, g = [0],
|
|
7191
|
+
var v = this, g = [0], b = [null], h = [], A = this.table, x = "", S = 0, y = 0, m = 2, E = 1, C = h.slice.call(arguments, 1);
|
|
7192
7192
|
this.lexer.setInput(d), this.lexer.yy = this.yy, this.yy.lexer = this.lexer, this.yy.parser = this, typeof this.lexer.yylloc > "u" && (this.lexer.yylloc = {});
|
|
7193
7193
|
var T = this.lexer.yylloc;
|
|
7194
7194
|
h.push(T);
|
|
@@ -7218,10 +7218,10 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7218
7218
|
throw new Error("Parse Error: multiple actions possible at state: " + W + ", token: " + k);
|
|
7219
7219
|
switch (H[0]) {
|
|
7220
7220
|
case 1:
|
|
7221
|
-
g.push(k),
|
|
7221
|
+
g.push(k), b.push(this.lexer.yytext), h.push(this.lexer.yylloc), g.push(H[1]), k = null, y = this.lexer.yyleng, x = this.lexer.yytext, S = this.lexer.yylineno, T = this.lexer.yylloc;
|
|
7222
7222
|
break;
|
|
7223
7223
|
case 2:
|
|
7224
|
-
if (Y = this.productions_[H[1]][1], Q.$ =
|
|
7224
|
+
if (Y = this.productions_[H[1]][1], Q.$ = b[b.length - Y], Q._$ = {
|
|
7225
7225
|
first_line: h[h.length - (Y || 1)].first_line,
|
|
7226
7226
|
last_line: h[h.length - 1].last_line,
|
|
7227
7227
|
first_column: h[h.length - (Y || 1)].first_column,
|
|
@@ -7231,15 +7231,15 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7231
7231
|
h[h.length - 1].range[1]
|
|
7232
7232
|
]), z = this.performAction.apply(Q, [
|
|
7233
7233
|
x,
|
|
7234
|
-
|
|
7234
|
+
y,
|
|
7235
7235
|
S,
|
|
7236
7236
|
this.yy,
|
|
7237
7237
|
H[1],
|
|
7238
|
-
|
|
7238
|
+
b,
|
|
7239
7239
|
h
|
|
7240
7240
|
].concat(C)), typeof z < "u")
|
|
7241
7241
|
return z;
|
|
7242
|
-
Y && (g = g.slice(0, -1 * Y * 2),
|
|
7242
|
+
Y && (g = g.slice(0, -1 * Y * 2), b = b.slice(0, -1 * Y), h = h.slice(0, -1 * Y)), g.push(this.productions_[H[1]][0]), b.push(Q.$), h.push(Q._$), j = A[g[g.length - 2]][g[g.length - 1]], g.push(j);
|
|
7243
7243
|
break;
|
|
7244
7244
|
case 3:
|
|
7245
7245
|
return !0;
|
|
@@ -7297,14 +7297,14 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7297
7297
|
unput: function(d) {
|
|
7298
7298
|
var v = d.length, g = d.split(/(?:\r\n?|\n)/g);
|
|
7299
7299
|
this._input = d + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - v - 1), this.offset -= v;
|
|
7300
|
-
var
|
|
7300
|
+
var b = this.match.split(/(?:\r\n?|\n)/g);
|
|
7301
7301
|
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), g.length - 1 && (this.yylineno -= g.length - 1);
|
|
7302
7302
|
var h = this.yylloc.range;
|
|
7303
7303
|
return this.yylloc = {
|
|
7304
7304
|
first_line: this.yylloc.first_line,
|
|
7305
7305
|
last_line: this.yylineno + 1,
|
|
7306
7306
|
first_column: this.yylloc.first_column,
|
|
7307
|
-
last_column: g ? (g.length ===
|
|
7307
|
+
last_column: g ? (g.length === b.length ? this.yylloc.first_column : 0) + b[b.length - g.length].length - g[0].length : this.yylloc.first_column - v
|
|
7308
7308
|
}, this.options.ranges && (this.yylloc.range = [h[0], h[0] + this.yyleng - v]), this.yyleng = this.yytext.length, this;
|
|
7309
7309
|
},
|
|
7310
7310
|
// When called from action, caches matched text and appends it on next action
|
|
@@ -7346,7 +7346,7 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7346
7346
|
},
|
|
7347
7347
|
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
7348
7348
|
test_match: function(d, v) {
|
|
7349
|
-
var g,
|
|
7349
|
+
var g, b, h;
|
|
7350
7350
|
if (this.options.backtrack_lexer && (h = {
|
|
7351
7351
|
yylineno: this.yylineno,
|
|
7352
7352
|
yylloc: {
|
|
@@ -7366,11 +7366,11 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7366
7366
|
yy: this.yy,
|
|
7367
7367
|
conditionStack: this.conditionStack.slice(0),
|
|
7368
7368
|
done: this.done
|
|
7369
|
-
}, this.options.ranges && (h.yylloc.range = this.yylloc.range.slice(0))),
|
|
7369
|
+
}, this.options.ranges && (h.yylloc.range = this.yylloc.range.slice(0))), b = d[0].match(/(?:\r\n?|\n).*/g), b && (this.yylineno += b.length), this.yylloc = {
|
|
7370
7370
|
first_line: this.yylloc.last_line,
|
|
7371
7371
|
last_line: this.yylineno + 1,
|
|
7372
7372
|
first_column: this.yylloc.last_column,
|
|
7373
|
-
last_column:
|
|
7373
|
+
last_column: b ? b[b.length - 1].length - b[b.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + d[0].length
|
|
7374
7374
|
}, this.yytext += d[0], this.match += d[0], this.matches = d, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(d[0].length), this.matched += d[0], g = this.performAction.call(this, this.yy, this, v, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), g)
|
|
7375
7375
|
return g;
|
|
7376
7376
|
if (this._backtrack) {
|
|
@@ -7385,11 +7385,11 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7385
7385
|
if (this.done)
|
|
7386
7386
|
return this.EOF;
|
|
7387
7387
|
this._input || (this.done = !0);
|
|
7388
|
-
var d, v, g,
|
|
7388
|
+
var d, v, g, b;
|
|
7389
7389
|
this._more || (this.yytext = "", this.match = "");
|
|
7390
7390
|
for (var h = this._currentRules(), A = 0; A < h.length; A++)
|
|
7391
7391
|
if (g = this._input.match(this.rules[h[A]]), g && (!v || g[0].length > v[0].length)) {
|
|
7392
|
-
if (v = g,
|
|
7392
|
+
if (v = g, b = A, this.options.backtrack_lexer) {
|
|
7393
7393
|
if (d = this.test_match(g, h[A]), d !== !1)
|
|
7394
7394
|
return d;
|
|
7395
7395
|
if (this._backtrack) {
|
|
@@ -7400,7 +7400,7 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7400
7400
|
} else if (!this.options.flex)
|
|
7401
7401
|
break;
|
|
7402
7402
|
}
|
|
7403
|
-
return v ? (d = this.test_match(v, h[
|
|
7403
|
+
return v ? (d = this.test_match(v, h[b]), d !== !1 ? d : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
7404
7404
|
` + this.showPosition(), {
|
|
7405
7405
|
text: "",
|
|
7406
7406
|
token: null,
|
|
@@ -7438,8 +7438,8 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7438
7438
|
return this.conditionStack.length;
|
|
7439
7439
|
},
|
|
7440
7440
|
options: {},
|
|
7441
|
-
performAction: function(v, g,
|
|
7442
|
-
switch (
|
|
7441
|
+
performAction: function(v, g, b, h) {
|
|
7442
|
+
switch (b) {
|
|
7443
7443
|
case 0:
|
|
7444
7444
|
return 4;
|
|
7445
7445
|
case 1:
|
|
@@ -7598,60 +7598,60 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7598
7598
|
u.prototype.initialize = function() {
|
|
7599
7599
|
this.traverse = v(!0), this.descend = v();
|
|
7600
7600
|
}, u.prototype.keys = Object.keys, u.prototype.resolve = function(S) {
|
|
7601
|
-
var
|
|
7602
|
-
if (!m) throw new Error("couldn't resolve key: " +
|
|
7601
|
+
var y = [S.operation, S.scope, S.expression.type].join("-"), m = this._fns[y];
|
|
7602
|
+
if (!m) throw new Error("couldn't resolve key: " + y);
|
|
7603
7603
|
return m.bind(this);
|
|
7604
|
-
}, u.prototype.register = function(S,
|
|
7605
|
-
if (!
|
|
7604
|
+
}, u.prototype.register = function(S, y) {
|
|
7605
|
+
if (!y instanceof Function)
|
|
7606
7606
|
throw new Error("handler must be a function");
|
|
7607
|
-
this._fns[S] =
|
|
7607
|
+
this._fns[S] = y;
|
|
7608
7608
|
}, u.prototype._fns = {
|
|
7609
|
-
"member-child-identifier": function(S,
|
|
7610
|
-
var m = S.expression.value, E =
|
|
7609
|
+
"member-child-identifier": function(S, y) {
|
|
7610
|
+
var m = S.expression.value, E = y.value;
|
|
7611
7611
|
if (E instanceof Object && m in E)
|
|
7612
|
-
return [{ value: E[m], path:
|
|
7612
|
+
return [{ value: E[m], path: y.path.concat(m) }];
|
|
7613
7613
|
},
|
|
7614
|
-
"member-descendant-identifier":
|
|
7614
|
+
"member-descendant-identifier": b(function(S, y, m) {
|
|
7615
7615
|
return S == m;
|
|
7616
7616
|
}),
|
|
7617
|
-
"subscript-child-numeric_literal": g(function(S,
|
|
7617
|
+
"subscript-child-numeric_literal": g(function(S, y, m) {
|
|
7618
7618
|
return S === m;
|
|
7619
7619
|
}),
|
|
7620
|
-
"member-child-numeric_literal": g(function(S,
|
|
7620
|
+
"member-child-numeric_literal": g(function(S, y, m) {
|
|
7621
7621
|
return String(S) === String(m);
|
|
7622
7622
|
}),
|
|
7623
|
-
"subscript-descendant-numeric_literal":
|
|
7623
|
+
"subscript-descendant-numeric_literal": b(function(S, y, m) {
|
|
7624
7624
|
return S === m;
|
|
7625
7625
|
}),
|
|
7626
7626
|
"member-child-wildcard": g(function() {
|
|
7627
7627
|
return !0;
|
|
7628
7628
|
}),
|
|
7629
|
-
"member-descendant-wildcard":
|
|
7629
|
+
"member-descendant-wildcard": b(function() {
|
|
7630
7630
|
return !0;
|
|
7631
7631
|
}),
|
|
7632
|
-
"subscript-descendant-wildcard":
|
|
7632
|
+
"subscript-descendant-wildcard": b(function() {
|
|
7633
7633
|
return !0;
|
|
7634
7634
|
}),
|
|
7635
7635
|
"subscript-child-wildcard": g(function() {
|
|
7636
7636
|
return !0;
|
|
7637
7637
|
}),
|
|
7638
|
-
"subscript-child-slice": function(S,
|
|
7639
|
-
if (c(
|
|
7640
|
-
var m = S.expression.value.split(":").map(x), E =
|
|
7641
|
-
return { value: C, path:
|
|
7638
|
+
"subscript-child-slice": function(S, y) {
|
|
7639
|
+
if (c(y.value)) {
|
|
7640
|
+
var m = S.expression.value.split(":").map(x), E = y.value.map(function(C, T) {
|
|
7641
|
+
return { value: C, path: y.path.concat(T) };
|
|
7642
7642
|
});
|
|
7643
7643
|
return o.apply(null, [E].concat(m));
|
|
7644
7644
|
}
|
|
7645
7645
|
},
|
|
7646
|
-
"subscript-child-union": function(S,
|
|
7646
|
+
"subscript-child-union": function(S, y) {
|
|
7647
7647
|
var m = [];
|
|
7648
7648
|
return S.expression.value.forEach(function(E) {
|
|
7649
|
-
var C = { operation: "subscript", scope: "child", expression: E.expression }, T = this.resolve(C), I = T(C,
|
|
7649
|
+
var C = { operation: "subscript", scope: "child", expression: E.expression }, T = this.resolve(C), I = T(C, y);
|
|
7650
7650
|
I && (m = m.concat(I));
|
|
7651
7651
|
}, this), A(m);
|
|
7652
7652
|
},
|
|
7653
|
-
"subscript-descendant-union": function(S,
|
|
7654
|
-
var E = n(".."), C = this, T = [], I = E.nodes(
|
|
7653
|
+
"subscript-descendant-union": function(S, y, m) {
|
|
7654
|
+
var E = n(".."), C = this, T = [], I = E.nodes(y, "$..*").slice(1);
|
|
7655
7655
|
return I.forEach(function(L) {
|
|
7656
7656
|
T.length >= m || S.expression.value.forEach(function(k) {
|
|
7657
7657
|
var W = { operation: "subscript", scope: "child", expression: k.expression }, H = C.resolve(W), z = H(W, L);
|
|
@@ -7659,33 +7659,33 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7659
7659
|
});
|
|
7660
7660
|
}), A(T);
|
|
7661
7661
|
},
|
|
7662
|
-
"subscript-child-filter_expression": function(S,
|
|
7662
|
+
"subscript-child-filter_expression": function(S, y, m) {
|
|
7663
7663
|
var E = S.expression.value.slice(2, -1), C = a.parse(E).body[0].expression, T = function(I, L) {
|
|
7664
7664
|
return h(C, { "@": L });
|
|
7665
7665
|
};
|
|
7666
|
-
return this.descend(
|
|
7666
|
+
return this.descend(y, null, T, m);
|
|
7667
7667
|
},
|
|
7668
|
-
"subscript-descendant-filter_expression": function(S,
|
|
7668
|
+
"subscript-descendant-filter_expression": function(S, y, m) {
|
|
7669
7669
|
var E = S.expression.value.slice(2, -1), C = a.parse(E).body[0].expression, T = function(I, L) {
|
|
7670
7670
|
return h(C, { "@": L });
|
|
7671
7671
|
};
|
|
7672
|
-
return this.traverse(
|
|
7672
|
+
return this.traverse(y, null, T, m);
|
|
7673
7673
|
},
|
|
7674
|
-
"subscript-child-script_expression": function(S,
|
|
7674
|
+
"subscript-child-script_expression": function(S, y) {
|
|
7675
7675
|
var m = S.expression.value.slice(1, -1);
|
|
7676
|
-
return f(
|
|
7676
|
+
return f(y, m, "$[{{value}}]");
|
|
7677
7677
|
},
|
|
7678
|
-
"member-child-script_expression": function(S,
|
|
7678
|
+
"member-child-script_expression": function(S, y) {
|
|
7679
7679
|
var m = S.expression.value.slice(1, -1);
|
|
7680
|
-
return f(
|
|
7680
|
+
return f(y, m, "$.{{value}}");
|
|
7681
7681
|
},
|
|
7682
|
-
"member-descendant-script_expression": function(S,
|
|
7682
|
+
"member-descendant-script_expression": function(S, y) {
|
|
7683
7683
|
var m = S.expression.value.slice(1, -1);
|
|
7684
|
-
return f(
|
|
7684
|
+
return f(y, m, "$..value");
|
|
7685
7685
|
}
|
|
7686
7686
|
}, u.prototype._fns["subscript-child-string_literal"] = u.prototype._fns["member-child-identifier"], u.prototype._fns["member-descendant-numeric_literal"] = u.prototype._fns["subscript-descendant-string_literal"] = u.prototype._fns["member-descendant-identifier"];
|
|
7687
|
-
function f(S,
|
|
7688
|
-
var E = n("./index"), C = a.parse(
|
|
7687
|
+
function f(S, y, m) {
|
|
7688
|
+
var E = n("./index"), C = a.parse(y).body[0].expression, T = h(C, { "@": S.value }), I = m.replace(/\{\{\s*value\s*\}\}/g, T), L = E.nodes(S.value, I);
|
|
7689
7689
|
return L.forEach(function(k) {
|
|
7690
7690
|
k.path = S.path.concat(k.path.slice(1));
|
|
7691
7691
|
}), L;
|
|
@@ -7697,8 +7697,8 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7697
7697
|
return S && !(S instanceof Array) && S instanceof Object;
|
|
7698
7698
|
}
|
|
7699
7699
|
function v(S) {
|
|
7700
|
-
return function(
|
|
7701
|
-
var T =
|
|
7700
|
+
return function(y, m, E, C) {
|
|
7701
|
+
var T = y.value, I = y.path, L = [], k = (function(W, H) {
|
|
7702
7702
|
c(W) ? (W.forEach(function(z, Q) {
|
|
7703
7703
|
L.length >= C || E(Q, z, m) && L.push({ path: H.concat(Q), value: z });
|
|
7704
7704
|
}), W.forEach(function(z, Q) {
|
|
@@ -7713,13 +7713,13 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7713
7713
|
};
|
|
7714
7714
|
}
|
|
7715
7715
|
function g(S) {
|
|
7716
|
-
return function(
|
|
7717
|
-
return this.descend(m,
|
|
7716
|
+
return function(y, m, E) {
|
|
7717
|
+
return this.descend(m, y.expression.value, S, E);
|
|
7718
7718
|
};
|
|
7719
7719
|
}
|
|
7720
|
-
function
|
|
7721
|
-
return function(
|
|
7722
|
-
return this.traverse(m,
|
|
7720
|
+
function b(S) {
|
|
7721
|
+
return function(y, m, E) {
|
|
7722
|
+
return this.traverse(m, y.expression.value, S, E);
|
|
7723
7723
|
};
|
|
7724
7724
|
}
|
|
7725
7725
|
function h() {
|
|
@@ -7729,20 +7729,20 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7729
7729
|
}
|
|
7730
7730
|
}
|
|
7731
7731
|
function A(S) {
|
|
7732
|
-
return S = S.filter(function(
|
|
7733
|
-
return
|
|
7732
|
+
return S = S.filter(function(y) {
|
|
7733
|
+
return y;
|
|
7734
7734
|
}), s(
|
|
7735
7735
|
S,
|
|
7736
|
-
function(
|
|
7737
|
-
return
|
|
7736
|
+
function(y) {
|
|
7737
|
+
return y.path.map(function(m) {
|
|
7738
7738
|
return String(m).replace("-", "--");
|
|
7739
7739
|
}).join("-");
|
|
7740
7740
|
}
|
|
7741
7741
|
);
|
|
7742
7742
|
}
|
|
7743
7743
|
function x(S) {
|
|
7744
|
-
var
|
|
7745
|
-
return
|
|
7744
|
+
var y = String(S);
|
|
7745
|
+
return y.match(/^-?[0-9]+$/) ? parseInt(y) : null;
|
|
7746
7746
|
}
|
|
7747
7747
|
r.exports = u;
|
|
7748
7748
|
}, { "..": "jsonpath", "./aesprim": "./aesprim", "./index": 5, "./slice": 7, "static-eval": 15, underscore: 12 }], 5: [function(n, r, i) {
|
|
@@ -7759,53 +7759,53 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7759
7759
|
return g.path.pop(), this.value(d, g.path);
|
|
7760
7760
|
}, u.prototype.apply = function(d, v, g) {
|
|
7761
7761
|
a.ok(d instanceof Object, "obj needs to be an object"), a.ok(v, "we need a path"), a.equal(typeof g, "function", "fn needs to be function");
|
|
7762
|
-
var
|
|
7762
|
+
var b = this.nodes(d, v).sort(function(h, A) {
|
|
7763
7763
|
return A.path.length - h.path.length;
|
|
7764
7764
|
});
|
|
7765
|
-
return
|
|
7765
|
+
return b.forEach(function(h) {
|
|
7766
7766
|
var A = h.path.pop(), x = this.value(d, this.stringify(h.path)), S = h.value = g.call(d, x[A]);
|
|
7767
7767
|
x[A] = S;
|
|
7768
|
-
}, this),
|
|
7768
|
+
}, this), b;
|
|
7769
7769
|
}, u.prototype.value = function(d, v, g) {
|
|
7770
7770
|
if (a.ok(d instanceof Object, "obj needs to be an object"), a.ok(v, "we need a path"), arguments.length >= 3) {
|
|
7771
|
-
var
|
|
7772
|
-
if (!
|
|
7773
|
-
var h =
|
|
7771
|
+
var b = this.nodes(d, v).shift();
|
|
7772
|
+
if (!b) return this._vivify(d, v, g);
|
|
7773
|
+
var h = b.path.slice(-1).shift(), A = this.parent(d, this.stringify(b.path));
|
|
7774
7774
|
A[h] = g;
|
|
7775
7775
|
}
|
|
7776
7776
|
return this.query(d, this.stringify(v), 1).shift();
|
|
7777
7777
|
}, u.prototype._vivify = function(d, v, g) {
|
|
7778
|
-
var
|
|
7778
|
+
var b = this;
|
|
7779
7779
|
a.ok(d instanceof Object, "obj needs to be an object"), a.ok(v, "we need a path");
|
|
7780
7780
|
var h = this.parser.parse(v).map(function(x) {
|
|
7781
7781
|
return x.expression.value;
|
|
7782
7782
|
}), A = function(x, S) {
|
|
7783
|
-
var
|
|
7784
|
-
m || (A(x.concat(), typeof
|
|
7783
|
+
var y = x.pop(), m = b.value(d, x);
|
|
7784
|
+
m || (A(x.concat(), typeof y == "string" ? {} : []), m = b.value(d, x)), m[y] = S;
|
|
7785
7785
|
};
|
|
7786
7786
|
return A(h, g), this.query(d, v)[0];
|
|
7787
7787
|
}, u.prototype.query = function(d, v, g) {
|
|
7788
7788
|
a.ok(d instanceof Object, "obj needs to be an object"), a.ok(f(v), "we need a path");
|
|
7789
|
-
var
|
|
7789
|
+
var b = this.nodes(d, v, g).map(function(h) {
|
|
7790
7790
|
return h.value;
|
|
7791
7791
|
});
|
|
7792
|
-
return
|
|
7792
|
+
return b;
|
|
7793
7793
|
}, u.prototype.paths = function(d, v, g) {
|
|
7794
7794
|
a.ok(d instanceof Object, "obj needs to be an object"), a.ok(v, "we need a path");
|
|
7795
|
-
var
|
|
7795
|
+
var b = this.nodes(d, v, g).map(function(h) {
|
|
7796
7796
|
return h.path;
|
|
7797
7797
|
});
|
|
7798
|
-
return
|
|
7798
|
+
return b;
|
|
7799
7799
|
}, u.prototype.nodes = function(d, v, g) {
|
|
7800
7800
|
if (a.ok(d instanceof Object, "obj needs to be an object"), a.ok(v, "we need a path"), g === 0) return [];
|
|
7801
|
-
var
|
|
7802
|
-
return
|
|
7801
|
+
var b = this.parser.parse(v), h = this.handlers, A = [{ path: ["$"], value: d }], x = [];
|
|
7802
|
+
return b.length && b[0].expression.type == "root" && b.shift(), b.length ? (b.forEach(function(S, y) {
|
|
7803
7803
|
if (!(x.length >= g)) {
|
|
7804
7804
|
var m = h.resolve(S), E = [];
|
|
7805
7805
|
A.forEach(function(C) {
|
|
7806
7806
|
if (!(x.length >= g)) {
|
|
7807
7807
|
var T = m(S, C, g);
|
|
7808
|
-
|
|
7808
|
+
y == b.length - 1 ? x = x.concat(T || []) : E = E.concat(T || []);
|
|
7809
7809
|
}
|
|
7810
7810
|
}), A = E;
|
|
7811
7811
|
}
|
|
@@ -7818,10 +7818,10 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7818
7818
|
"descendant-subscript": "..[{{value}}]",
|
|
7819
7819
|
"child-subscript": "[{{value}}]"
|
|
7820
7820
|
};
|
|
7821
|
-
return d = this._normalize(d), d.forEach(function(
|
|
7822
|
-
if (
|
|
7823
|
-
var h = [
|
|
7824
|
-
if (
|
|
7821
|
+
return d = this._normalize(d), d.forEach(function(b) {
|
|
7822
|
+
if (b.expression.type != "root") {
|
|
7823
|
+
var h = [b.scope, b.operation].join("-"), A = g[h], x;
|
|
7824
|
+
if (b.expression.type == "string_literal" ? x = JSON.stringify(b.expression.value) : x = b.expression.value, !A) throw new Error("couldn't find template " + h);
|
|
7825
7825
|
v += A.replace(/{{value}}/, x);
|
|
7826
7826
|
}
|
|
7827
7827
|
}), v;
|
|
@@ -7830,8 +7830,8 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7830
7830
|
return this.parser.parse(d);
|
|
7831
7831
|
if (Array.isArray(d) && typeof d[0] == "string") {
|
|
7832
7832
|
var v = [{ expression: { type: "root", value: "$" } }];
|
|
7833
|
-
return d.forEach(function(g,
|
|
7834
|
-
if (!(g == "$" &&
|
|
7833
|
+
return d.forEach(function(g, b) {
|
|
7834
|
+
if (!(g == "$" && b === 0))
|
|
7835
7835
|
if (typeof g == "string" && g.match("^" + o.identifier + "$"))
|
|
7836
7836
|
v.push({
|
|
7837
7837
|
operation: "member",
|
|
@@ -7902,27 +7902,27 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7902
7902
|
}
|
|
7903
7903
|
}
|
|
7904
7904
|
}, a.inherits(s.AssertionError, Error);
|
|
7905
|
-
function u(
|
|
7905
|
+
function u(y, m) {
|
|
7906
7906
|
return a.isUndefined(m) ? "" + m : a.isNumber(m) && !isFinite(m) || a.isFunction(m) || a.isRegExp(m) ? m.toString() : m;
|
|
7907
7907
|
}
|
|
7908
|
-
function f(
|
|
7909
|
-
return a.isString(
|
|
7908
|
+
function f(y, m) {
|
|
7909
|
+
return a.isString(y) ? y.length < m ? y : y.slice(0, m) : y;
|
|
7910
7910
|
}
|
|
7911
|
-
function c(
|
|
7912
|
-
return f(JSON.stringify(
|
|
7911
|
+
function c(y) {
|
|
7912
|
+
return f(JSON.stringify(y.actual, u), 128) + " " + y.operator + " " + f(JSON.stringify(y.expected, u), 128);
|
|
7913
7913
|
}
|
|
7914
|
-
function d(
|
|
7914
|
+
function d(y, m, E, C, T) {
|
|
7915
7915
|
throw new s.AssertionError({
|
|
7916
7916
|
message: E,
|
|
7917
|
-
actual:
|
|
7917
|
+
actual: y,
|
|
7918
7918
|
expected: m,
|
|
7919
7919
|
operator: C,
|
|
7920
7920
|
stackStartFunction: T
|
|
7921
7921
|
});
|
|
7922
7922
|
}
|
|
7923
7923
|
s.fail = d;
|
|
7924
|
-
function v(
|
|
7925
|
-
|
|
7924
|
+
function v(y, m) {
|
|
7925
|
+
y || d(y, !0, m, "==", s.ok);
|
|
7926
7926
|
}
|
|
7927
7927
|
s.ok = v, s.equal = function(m, E, C) {
|
|
7928
7928
|
m != E && d(m, E, C, "==", s.equal);
|
|
@@ -7931,36 +7931,36 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7931
7931
|
}, s.deepEqual = function(m, E, C) {
|
|
7932
7932
|
g(m, E) || d(m, E, C, "deepEqual", s.deepEqual);
|
|
7933
7933
|
};
|
|
7934
|
-
function g(
|
|
7935
|
-
if (
|
|
7934
|
+
function g(y, m) {
|
|
7935
|
+
if (y === m)
|
|
7936
7936
|
return !0;
|
|
7937
|
-
if (a.isBuffer(
|
|
7938
|
-
if (
|
|
7939
|
-
for (var E = 0; E <
|
|
7940
|
-
if (
|
|
7937
|
+
if (a.isBuffer(y) && a.isBuffer(m)) {
|
|
7938
|
+
if (y.length != m.length) return !1;
|
|
7939
|
+
for (var E = 0; E < y.length; E++)
|
|
7940
|
+
if (y[E] !== m[E]) return !1;
|
|
7941
7941
|
return !0;
|
|
7942
|
-
} else return a.isDate(
|
|
7942
|
+
} else return a.isDate(y) && a.isDate(m) ? y.getTime() === m.getTime() : a.isRegExp(y) && a.isRegExp(m) ? y.source === m.source && y.global === m.global && y.multiline === m.multiline && y.lastIndex === m.lastIndex && y.ignoreCase === m.ignoreCase : !a.isObject(y) && !a.isObject(m) ? y == m : h(y, m);
|
|
7943
7943
|
}
|
|
7944
|
-
function y
|
|
7945
|
-
return Object.prototype.toString.call(
|
|
7944
|
+
function b(y) {
|
|
7945
|
+
return Object.prototype.toString.call(y) == "[object Arguments]";
|
|
7946
7946
|
}
|
|
7947
|
-
function h(
|
|
7948
|
-
if (a.isNullOrUndefined(
|
|
7949
|
-
if (a.isPrimitive(
|
|
7950
|
-
return
|
|
7951
|
-
var E = y
|
|
7947
|
+
function h(y, m) {
|
|
7948
|
+
if (a.isNullOrUndefined(y) || a.isNullOrUndefined(m) || y.prototype !== m.prototype) return !1;
|
|
7949
|
+
if (a.isPrimitive(y) || a.isPrimitive(m))
|
|
7950
|
+
return y === m;
|
|
7951
|
+
var E = b(y), C = b(m);
|
|
7952
7952
|
if (E && !C || !E && C)
|
|
7953
7953
|
return !1;
|
|
7954
7954
|
if (E)
|
|
7955
|
-
return
|
|
7956
|
-
var T = S(
|
|
7955
|
+
return y = o.call(y), m = o.call(m), g(y, m);
|
|
7956
|
+
var T = S(y), I = S(m), L, k;
|
|
7957
7957
|
if (T.length != I.length)
|
|
7958
7958
|
return !1;
|
|
7959
7959
|
for (T.sort(), I.sort(), k = T.length - 1; k >= 0; k--)
|
|
7960
7960
|
if (T[k] != I[k])
|
|
7961
7961
|
return !1;
|
|
7962
7962
|
for (k = T.length - 1; k >= 0; k--)
|
|
7963
|
-
if (L = T[k], !g(
|
|
7963
|
+
if (L = T[k], !g(y[L], m[L])) return !1;
|
|
7964
7964
|
return !0;
|
|
7965
7965
|
}
|
|
7966
7966
|
s.notDeepEqual = function(m, E, C) {
|
|
@@ -7970,10 +7970,10 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7970
7970
|
}, s.notStrictEqual = function(m, E, C) {
|
|
7971
7971
|
m === E && d(m, E, C, "!==", s.notStrictEqual);
|
|
7972
7972
|
};
|
|
7973
|
-
function A(
|
|
7974
|
-
return !
|
|
7973
|
+
function A(y, m) {
|
|
7974
|
+
return !y || !m ? !1 : Object.prototype.toString.call(m) == "[object RegExp]" ? m.test(y) : y instanceof m ? !0 : m.call({}, y) === !0;
|
|
7975
7975
|
}
|
|
7976
|
-
function x(
|
|
7976
|
+
function x(y, m, E, C) {
|
|
7977
7977
|
var T;
|
|
7978
7978
|
a.isString(E) && (C = E, E = null);
|
|
7979
7979
|
try {
|
|
@@ -7981,21 +7981,21 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
7981
7981
|
} catch (I) {
|
|
7982
7982
|
T = I;
|
|
7983
7983
|
}
|
|
7984
|
-
if (C = (E && E.name ? " (" + E.name + ")." : ".") + (C ? " " + C : "."),
|
|
7984
|
+
if (C = (E && E.name ? " (" + E.name + ")." : ".") + (C ? " " + C : "."), y && !T && d(T, E, "Missing expected exception" + C), !y && A(T, E) && d(T, E, "Got unwanted exception" + C), y && T && E && !A(T, E) || !y && T)
|
|
7985
7985
|
throw T;
|
|
7986
7986
|
}
|
|
7987
|
-
s.throws = function(
|
|
7987
|
+
s.throws = function(y, m, E) {
|
|
7988
7988
|
x.apply(this, [!0].concat(o.call(arguments)));
|
|
7989
|
-
}, s.doesNotThrow = function(
|
|
7989
|
+
}, s.doesNotThrow = function(y, m) {
|
|
7990
7990
|
x.apply(this, [!1].concat(o.call(arguments)));
|
|
7991
|
-
}, s.ifError = function(
|
|
7992
|
-
if (
|
|
7993
|
-
throw
|
|
7991
|
+
}, s.ifError = function(y) {
|
|
7992
|
+
if (y)
|
|
7993
|
+
throw y;
|
|
7994
7994
|
};
|
|
7995
|
-
var S = Object.keys || function(
|
|
7995
|
+
var S = Object.keys || function(y) {
|
|
7996
7996
|
var m = [];
|
|
7997
|
-
for (var E in
|
|
7998
|
-
l.call(
|
|
7997
|
+
for (var E in y)
|
|
7998
|
+
l.call(y, E) && m.push(E);
|
|
7999
7999
|
return m;
|
|
8000
8000
|
};
|
|
8001
8001
|
}, { "util/": 11 }], 9: [function(n, r, i) {
|
|
@@ -8131,7 +8131,7 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
8131
8131
|
var G = P.inspect(U, D);
|
|
8132
8132
|
return I(G) || (G = g(D, G, U)), G;
|
|
8133
8133
|
}
|
|
8134
|
-
var K =
|
|
8134
|
+
var K = b(D, P);
|
|
8135
8135
|
if (K)
|
|
8136
8136
|
return K;
|
|
8137
8137
|
var X = Object.keys(P), M = v(X);
|
|
@@ -8150,7 +8150,7 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
8150
8150
|
return h(P);
|
|
8151
8151
|
}
|
|
8152
8152
|
var J = "", $ = !1, ve = ["{", "}"];
|
|
8153
|
-
if (
|
|
8153
|
+
if (y(P) && ($ = !0, ve = ["[", "]"]), re(P)) {
|
|
8154
8154
|
var Ce = P.name ? ": " + P.name : "";
|
|
8155
8155
|
J = " [Function" + Ce + "]";
|
|
8156
8156
|
}
|
|
@@ -8164,7 +8164,7 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
8164
8164
|
return x(D, P, U, M, Ae, $);
|
|
8165
8165
|
}), D.seen.pop(), S(oe, J, ve);
|
|
8166
8166
|
}
|
|
8167
|
-
function
|
|
8167
|
+
function b(D, P) {
|
|
8168
8168
|
if (k(P))
|
|
8169
8169
|
return D.stylize("undefined", "undefined");
|
|
8170
8170
|
if (I(P)) {
|
|
@@ -8230,10 +8230,10 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
8230
8230
|
`) + " " + D.join(`,
|
|
8231
8231
|
`) + " " + U[1] : U[0] + P + " " + D.join(", ") + " " + U[1];
|
|
8232
8232
|
}
|
|
8233
|
-
function
|
|
8233
|
+
function y(D) {
|
|
8234
8234
|
return Array.isArray(D);
|
|
8235
8235
|
}
|
|
8236
|
-
i.isArray =
|
|
8236
|
+
i.isArray = y;
|
|
8237
8237
|
function m(D) {
|
|
8238
8238
|
return typeof D == "boolean";
|
|
8239
8239
|
}
|
|
@@ -8369,13 +8369,13 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
8369
8369
|
}, i.relative = function(f, c) {
|
|
8370
8370
|
f = i.resolve(f).substr(1), c = i.resolve(c).substr(1);
|
|
8371
8371
|
function d(S) {
|
|
8372
|
-
for (var
|
|
8372
|
+
for (var y = 0; y < S.length && S[y] === ""; y++)
|
|
8373
8373
|
;
|
|
8374
8374
|
for (var m = S.length - 1; m >= 0 && S[m] === ""; m--)
|
|
8375
8375
|
;
|
|
8376
|
-
return
|
|
8376
|
+
return y > m ? [] : S.slice(y, m - y + 1);
|
|
8377
8377
|
}
|
|
8378
|
-
for (var v = d(f.split("/")), g = d(c.split("/")),
|
|
8378
|
+
for (var v = d(f.split("/")), g = d(c.split("/")), b = Math.min(v.length, g.length), h = b, A = 0; A < b; A++)
|
|
8379
8379
|
if (v[A] !== g[A]) {
|
|
8380
8380
|
h = A;
|
|
8381
8381
|
break;
|
|
@@ -8385,10 +8385,10 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
8385
8385
|
return x = x.concat(g.slice(h)), x.join("/");
|
|
8386
8386
|
}, i.sep = "/", i.delimiter = ":", i.dirname = function(f) {
|
|
8387
8387
|
if (typeof f != "string" && (f = f + ""), f.length === 0) return ".";
|
|
8388
|
-
for (var c = f.charCodeAt(0), d = c === 47, v = -1, g = !0,
|
|
8389
|
-
if (c = f.charCodeAt(
|
|
8388
|
+
for (var c = f.charCodeAt(0), d = c === 47, v = -1, g = !0, b = f.length - 1; b >= 1; --b)
|
|
8389
|
+
if (c = f.charCodeAt(b), c === 47) {
|
|
8390
8390
|
if (!g) {
|
|
8391
|
-
v =
|
|
8391
|
+
v = b;
|
|
8392
8392
|
break;
|
|
8393
8393
|
}
|
|
8394
8394
|
} else
|
|
@@ -8412,7 +8412,7 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
8412
8412
|
return c && d.substr(-1 * c.length) === c && (d = d.substr(0, d.length - c.length)), d;
|
|
8413
8413
|
}, i.extname = function(f) {
|
|
8414
8414
|
typeof f != "string" && (f = f + "");
|
|
8415
|
-
for (var c = -1, d = 0, v = -1, g = !0,
|
|
8415
|
+
for (var c = -1, d = 0, v = -1, g = !0, b = 0, h = f.length - 1; h >= 0; --h) {
|
|
8416
8416
|
var A = f.charCodeAt(h);
|
|
8417
8417
|
if (A === 47) {
|
|
8418
8418
|
if (!g) {
|
|
@@ -8421,11 +8421,11 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
8421
8421
|
}
|
|
8422
8422
|
continue;
|
|
8423
8423
|
}
|
|
8424
|
-
v === -1 && (g = !1, v = h + 1), A === 46 ? c === -1 ? c = h :
|
|
8424
|
+
v === -1 && (g = !1, v = h + 1), A === 46 ? c === -1 ? c = h : b !== 1 && (b = 1) : c !== -1 && (b = -1);
|
|
8425
8425
|
}
|
|
8426
8426
|
return c === -1 || v === -1 || // We saw a non-dot character immediately before the dot
|
|
8427
|
-
|
|
8428
|
-
|
|
8427
|
+
b === 0 || // The (right-most) trimmed path component is exactly '..'
|
|
8428
|
+
b === 1 && c === v - 1 && c === d + 1 ? "" : f.slice(c, v);
|
|
8429
8429
|
};
|
|
8430
8430
|
function s(f, c) {
|
|
8431
8431
|
if (f.filter) return f.filter(c);
|
|
@@ -8459,74 +8459,74 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
8459
8459
|
l = u;
|
|
8460
8460
|
}
|
|
8461
8461
|
})();
|
|
8462
|
-
function f(
|
|
8462
|
+
function f(y) {
|
|
8463
8463
|
if (o === setTimeout)
|
|
8464
|
-
return setTimeout(
|
|
8464
|
+
return setTimeout(y, 0);
|
|
8465
8465
|
if ((o === s || !o) && setTimeout)
|
|
8466
|
-
return o = setTimeout, setTimeout(
|
|
8466
|
+
return o = setTimeout, setTimeout(y, 0);
|
|
8467
8467
|
try {
|
|
8468
|
-
return o(
|
|
8468
|
+
return o(y, 0);
|
|
8469
8469
|
} catch {
|
|
8470
8470
|
try {
|
|
8471
|
-
return o.call(null,
|
|
8471
|
+
return o.call(null, y, 0);
|
|
8472
8472
|
} catch {
|
|
8473
|
-
return o.call(this,
|
|
8473
|
+
return o.call(this, y, 0);
|
|
8474
8474
|
}
|
|
8475
8475
|
}
|
|
8476
8476
|
}
|
|
8477
|
-
function c(
|
|
8477
|
+
function c(y) {
|
|
8478
8478
|
if (l === clearTimeout)
|
|
8479
|
-
return clearTimeout(
|
|
8479
|
+
return clearTimeout(y);
|
|
8480
8480
|
if ((l === u || !l) && clearTimeout)
|
|
8481
|
-
return l = clearTimeout, clearTimeout(
|
|
8481
|
+
return l = clearTimeout, clearTimeout(y);
|
|
8482
8482
|
try {
|
|
8483
|
-
return l(
|
|
8483
|
+
return l(y);
|
|
8484
8484
|
} catch {
|
|
8485
8485
|
try {
|
|
8486
|
-
return l.call(null,
|
|
8486
|
+
return l.call(null, y);
|
|
8487
8487
|
} catch {
|
|
8488
|
-
return l.call(this,
|
|
8488
|
+
return l.call(this, y);
|
|
8489
8489
|
}
|
|
8490
8490
|
}
|
|
8491
8491
|
}
|
|
8492
|
-
var d = [], v = !1, g,
|
|
8492
|
+
var d = [], v = !1, g, b = -1;
|
|
8493
8493
|
function h() {
|
|
8494
|
-
!v || !g || (v = !1, g.length ? d = g.concat(d) :
|
|
8494
|
+
!v || !g || (v = !1, g.length ? d = g.concat(d) : b = -1, d.length && A());
|
|
8495
8495
|
}
|
|
8496
8496
|
function A() {
|
|
8497
8497
|
if (!v) {
|
|
8498
|
-
var
|
|
8498
|
+
var y = f(h);
|
|
8499
8499
|
v = !0;
|
|
8500
8500
|
for (var m = d.length; m; ) {
|
|
8501
|
-
for (g = d, d = []; ++
|
|
8502
|
-
g && g[
|
|
8503
|
-
|
|
8501
|
+
for (g = d, d = []; ++b < m; )
|
|
8502
|
+
g && g[b].run();
|
|
8503
|
+
b = -1, m = d.length;
|
|
8504
8504
|
}
|
|
8505
|
-
g = null, v = !1, c(
|
|
8505
|
+
g = null, v = !1, c(y);
|
|
8506
8506
|
}
|
|
8507
8507
|
}
|
|
8508
|
-
a.nextTick = function(
|
|
8508
|
+
a.nextTick = function(y) {
|
|
8509
8509
|
var m = new Array(arguments.length - 1);
|
|
8510
8510
|
if (arguments.length > 1)
|
|
8511
8511
|
for (var E = 1; E < arguments.length; E++)
|
|
8512
8512
|
m[E - 1] = arguments[E];
|
|
8513
|
-
d.push(new x(
|
|
8513
|
+
d.push(new x(y, m)), d.length === 1 && !v && f(A);
|
|
8514
8514
|
};
|
|
8515
|
-
function x(
|
|
8516
|
-
this.fun =
|
|
8515
|
+
function x(y, m) {
|
|
8516
|
+
this.fun = y, this.array = m;
|
|
8517
8517
|
}
|
|
8518
8518
|
x.prototype.run = function() {
|
|
8519
8519
|
this.fun.apply(null, this.array);
|
|
8520
8520
|
}, a.title = "browser", a.browser = !0, a.env = {}, a.argv = [], a.version = "", a.versions = {};
|
|
8521
8521
|
function S() {
|
|
8522
8522
|
}
|
|
8523
|
-
a.on = S, a.addListener = S, a.once = S, a.off = S, a.removeListener = S, a.removeAllListeners = S, a.emit = S, a.prependListener = S, a.prependOnceListener = S, a.listeners = function(
|
|
8523
|
+
a.on = S, a.addListener = S, a.once = S, a.off = S, a.removeListener = S, a.removeAllListeners = S, a.emit = S, a.prependListener = S, a.prependOnceListener = S, a.listeners = function(y) {
|
|
8524
8524
|
return [];
|
|
8525
|
-
}, a.binding = function(
|
|
8525
|
+
}, a.binding = function(y) {
|
|
8526
8526
|
throw new Error("process.binding is not supported");
|
|
8527
8527
|
}, a.cwd = function() {
|
|
8528
8528
|
return "/";
|
|
8529
|
-
}, a.chdir = function(
|
|
8529
|
+
}, a.chdir = function(y) {
|
|
8530
8530
|
throw new Error("process.chdir is not supported");
|
|
8531
8531
|
}, a.umask = function() {
|
|
8532
8532
|
return 0;
|
|
@@ -8542,17 +8542,17 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
8542
8542
|
var v = f(c.argument);
|
|
8543
8543
|
return c.operator === "+" ? +v : c.operator === "-" ? -v : c.operator === "~" ? ~v : c.operator === "!" ? !v : s;
|
|
8544
8544
|
} else if (c.type === "ArrayExpression") {
|
|
8545
|
-
for (var g = [],
|
|
8546
|
-
var A = f(c.elements[
|
|
8545
|
+
for (var g = [], b = 0, h = c.elements.length; b < h; b++) {
|
|
8546
|
+
var A = f(c.elements[b]);
|
|
8547
8547
|
if (A === s) return s;
|
|
8548
8548
|
g.push(A);
|
|
8549
8549
|
}
|
|
8550
8550
|
return g;
|
|
8551
8551
|
} else if (c.type === "ObjectExpression") {
|
|
8552
|
-
for (var x = {},
|
|
8553
|
-
var S = c.properties[
|
|
8554
|
-
if (
|
|
8555
|
-
x[S.key.value || S.key.name] =
|
|
8552
|
+
for (var x = {}, b = 0; b < c.properties.length; b++) {
|
|
8553
|
+
var S = c.properties[b], y = S.value === null ? S.value : f(S.value);
|
|
8554
|
+
if (y === s) return s;
|
|
8555
|
+
x[S.key.value || S.key.name] = y;
|
|
8556
8556
|
}
|
|
8557
8557
|
return x;
|
|
8558
8558
|
} else if (c.type === "BinaryExpression" || c.type === "LogicalExpression") {
|
|
@@ -8572,8 +8572,8 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
8572
8572
|
if (C === s || typeof C != "function") return s;
|
|
8573
8573
|
var T = c.callee.object ? f(c.callee.object) : s;
|
|
8574
8574
|
T === s && (T = null);
|
|
8575
|
-
for (var I = [],
|
|
8576
|
-
var A = f(c.arguments[
|
|
8575
|
+
for (var I = [], b = 0, h = c.arguments.length; b < h; b++) {
|
|
8576
|
+
var A = f(c.arguments[b]);
|
|
8577
8577
|
if (A === s) return s;
|
|
8578
8578
|
I.push(A);
|
|
8579
8579
|
}
|
|
@@ -8600,14 +8600,14 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
8600
8600
|
Object.keys(l).forEach(function(F) {
|
|
8601
8601
|
k[F] = l[F];
|
|
8602
8602
|
});
|
|
8603
|
-
for (var
|
|
8604
|
-
var W = c.params[
|
|
8603
|
+
for (var b = 0; b < c.params.length; b++) {
|
|
8604
|
+
var W = c.params[b];
|
|
8605
8605
|
if (W.type == "Identifier")
|
|
8606
8606
|
l[W.name] = null;
|
|
8607
8607
|
else return s;
|
|
8608
8608
|
}
|
|
8609
|
-
for (var
|
|
8610
|
-
if (f(L[
|
|
8609
|
+
for (var b in L)
|
|
8610
|
+
if (f(L[b]) === s)
|
|
8611
8611
|
return s;
|
|
8612
8612
|
l = k;
|
|
8613
8613
|
var H = Object.keys(l), z = H.map(function(F) {
|
|
@@ -8615,9 +8615,9 @@ Expecting ` + ie.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : F =
|
|
|
8615
8615
|
});
|
|
8616
8616
|
return Function(H.join(", "), "return " + a(c)).apply(null, z);
|
|
8617
8617
|
} else if (c.type === "TemplateLiteral") {
|
|
8618
|
-
for (var Q = "",
|
|
8619
|
-
Q += f(c.quasis[
|
|
8620
|
-
return Q += f(c.quasis[
|
|
8618
|
+
for (var Q = "", b = 0; b < c.expressions.length; b++)
|
|
8619
|
+
Q += f(c.quasis[b]), Q += f(c.expressions[b]);
|
|
8620
|
+
return Q += f(c.quasis[b]), Q;
|
|
8621
8621
|
} else if (c.type === "TaggedTemplateExpression") {
|
|
8622
8622
|
var re = f(c.tag), Y = c.quasi, j = Y.quasis.map(f), ie = Y.expressions.map(f);
|
|
8623
8623
|
return re.apply(null, [j].concat(ie));
|
|
@@ -8656,7 +8656,7 @@ const jl = /* @__PURE__ */ yr(pm), hm = {
|
|
|
8656
8656
|
}
|
|
8657
8657
|
if (e.when !== void 0 && !gr(e.when))
|
|
8658
8658
|
return !1;
|
|
8659
|
-
const a = (s) =>
|
|
8659
|
+
const a = (s) => Fe({
|
|
8660
8660
|
globalDataContext: r,
|
|
8661
8661
|
templateContext: i,
|
|
8662
8662
|
valueToEvaluate: s
|
|
@@ -8689,8 +8689,8 @@ const jl = /* @__PURE__ */ yr(pm), hm = {
|
|
|
8689
8689
|
}
|
|
8690
8690
|
return a(e.when);
|
|
8691
8691
|
})();
|
|
8692
|
-
if (e.hasOwnProperty("isEmpty")) {
|
|
8693
|
-
const s = (u) => e.isEmpty === "not" ? !u : u;
|
|
8692
|
+
if (e.hasOwnProperty("isEmpty") || e.hasOwnProperty("isNotEmpty")) {
|
|
8693
|
+
const s = (u) => e.hasOwnProperty("isEmpty") ? e.isEmpty === "not" ? !u : u : !u;
|
|
8694
8694
|
if (o === null)
|
|
8695
8695
|
return s(!0);
|
|
8696
8696
|
switch (typeof o) {
|
|
@@ -8768,7 +8768,7 @@ const jl = /* @__PURE__ */ yr(pm), hm = {
|
|
|
8768
8768
|
}
|
|
8769
8769
|
return r && n.push({ ActionComponent: pb, actionProps: i, actionIndex: "_reactOnEvent" }), n;
|
|
8770
8770
|
}, st = (e, t) => e ? new Date(t) : t, Ve = (e) => {
|
|
8771
|
-
const t = Z(
|
|
8771
|
+
const t = Z(Be), n = Z(Te);
|
|
8772
8772
|
return e ? vm((e == null ? void 0 : e.actions) ?? [], { globalDataContext: t, templateContext: n }).reverse().reduce((i, { ActionComponent: a, actionProps: o, actionIndex: l }) => /* @__PURE__ */ R(
|
|
8773
8773
|
a,
|
|
8774
8774
|
{
|
|
@@ -8779,7 +8779,7 @@ const jl = /* @__PURE__ */ yr(pm), hm = {
|
|
|
8779
8779
|
}
|
|
8780
8780
|
), (e == null ? void 0 : e.children) ?? null) : null;
|
|
8781
8781
|
}, gm = ({ props: e, currentData: t, datafield: n, path: r }) => {
|
|
8782
|
-
const i = Z(
|
|
8782
|
+
const i = Z(Be), a = Z(Te), { updateData: o } = i, l = nn(
|
|
8783
8783
|
{
|
|
8784
8784
|
attrs: e.attributes,
|
|
8785
8785
|
globalDataContext: i,
|
|
@@ -8791,13 +8791,13 @@ const jl = /* @__PURE__ */ yr(pm), hm = {
|
|
|
8791
8791
|
);
|
|
8792
8792
|
let s;
|
|
8793
8793
|
const u = e.dynamicOptions ?? void 0;
|
|
8794
|
-
u ? s =
|
|
8794
|
+
u ? s = Fe({ valueToEvaluate: u, globalDataContext: i, templateContext: a }) ?? [] : s = e.options ?? [];
|
|
8795
8795
|
const f = e.controlType ?? void 0, d = (() => {
|
|
8796
|
-
var
|
|
8797
|
-
return e.controlType === "radio" ? !0 : e.multiple !== void 0 && e.multiple !== !1 ? e.multiple : ((
|
|
8796
|
+
var x;
|
|
8797
|
+
return e.controlType === "radio" ? !0 : e.multiple !== void 0 && e.multiple !== !1 ? e.multiple : ((x = e.options) == null ? void 0 : x.length) === 1;
|
|
8798
8798
|
})(), v = e.defaultFieldValue ?? (d ? void 0 : []), {
|
|
8799
8799
|
formData: g,
|
|
8800
|
-
formDataPath:
|
|
8800
|
+
formDataPath: b
|
|
8801
8801
|
} = Nn({
|
|
8802
8802
|
currentPath: r,
|
|
8803
8803
|
datafield: n,
|
|
@@ -8805,66 +8805,81 @@ const jl = /* @__PURE__ */ yr(pm), hm = {
|
|
|
8805
8805
|
defaultValue: v,
|
|
8806
8806
|
globalDataContext: i,
|
|
8807
8807
|
templateContext: a
|
|
8808
|
-
}), h = (
|
|
8808
|
+
}), h = (x) => {
|
|
8809
8809
|
if (f === "radio") {
|
|
8810
|
-
let
|
|
8811
|
-
switch (
|
|
8810
|
+
let y;
|
|
8811
|
+
switch (x.currentTarget.value) {
|
|
8812
8812
|
case "":
|
|
8813
|
-
|
|
8813
|
+
y = void 0;
|
|
8814
8814
|
break;
|
|
8815
8815
|
case "true":
|
|
8816
|
-
|
|
8816
|
+
y = !0;
|
|
8817
8817
|
break;
|
|
8818
8818
|
case "false":
|
|
8819
|
-
|
|
8819
|
+
y = !1;
|
|
8820
8820
|
break;
|
|
8821
8821
|
case "null":
|
|
8822
|
-
|
|
8822
|
+
y = null;
|
|
8823
8823
|
break;
|
|
8824
8824
|
default:
|
|
8825
|
-
|
|
8825
|
+
y = x.currentTarget.value;
|
|
8826
8826
|
break;
|
|
8827
8827
|
}
|
|
8828
|
-
o(
|
|
8828
|
+
o(y, b);
|
|
8829
8829
|
return;
|
|
8830
8830
|
}
|
|
8831
8831
|
if (d) {
|
|
8832
|
-
o(
|
|
8832
|
+
o(x.currentTarget.checked, b);
|
|
8833
8833
|
return;
|
|
8834
8834
|
}
|
|
8835
|
-
let
|
|
8836
|
-
typeof
|
|
8837
|
-
}
|
|
8838
|
-
|
|
8839
|
-
|
|
8840
|
-
|
|
8841
|
-
|
|
8842
|
-
|
|
8843
|
-
|
|
8844
|
-
|
|
8845
|
-
return /* @__PURE__ */ pi(
|
|
8846
|
-
et.Check,
|
|
8835
|
+
let S = JSON.parse(JSON.stringify(g));
|
|
8836
|
+
typeof S != "object" && (S = [S]), x.currentTarget.checked ? S = bm(S, x.currentTarget.value) : S = Em(S, x.currentTarget.value), o(S, b);
|
|
8837
|
+
}, A = Fe({
|
|
8838
|
+
valueToEvaluate: e.label,
|
|
8839
|
+
globalDataContext: i,
|
|
8840
|
+
templateContext: a
|
|
8841
|
+
});
|
|
8842
|
+
return /* @__PURE__ */ R(Ve, { ...e, children: /* @__PURE__ */ ze(Ze.Group, { ...l, controlId: Math.random().toString(), children: [
|
|
8843
|
+
A && /* @__PURE__ */ R(Ze.Label, { children: /* @__PURE__ */ R(
|
|
8844
|
+
De,
|
|
8847
8845
|
{
|
|
8848
|
-
|
|
8849
|
-
|
|
8850
|
-
|
|
8851
|
-
|
|
8852
|
-
De,
|
|
8853
|
-
{
|
|
8854
|
-
currentData: ((E = (m = t == null ? void 0 : t.options) == null ? void 0 : m[x]) == null ? void 0 : E.label) ?? void 0,
|
|
8855
|
-
datafield: "label",
|
|
8856
|
-
path: r + ".options." + x + ".label",
|
|
8857
|
-
props: A.label
|
|
8858
|
-
}
|
|
8859
|
-
),
|
|
8860
|
-
id: `${Math.random()}`,
|
|
8861
|
-
name: r,
|
|
8862
|
-
onChange: h,
|
|
8863
|
-
type: f,
|
|
8864
|
-
value: S
|
|
8846
|
+
currentData: (t == null ? void 0 : t.label) ?? void 0,
|
|
8847
|
+
datafield: "label",
|
|
8848
|
+
path: r + ".label",
|
|
8849
|
+
props: e.label
|
|
8865
8850
|
}
|
|
8866
|
-
)
|
|
8867
|
-
|
|
8851
|
+
) }),
|
|
8852
|
+
s.map((x, S) => {
|
|
8853
|
+
var E, C;
|
|
8854
|
+
const y = typeof x.value == "string" ? Fe({
|
|
8855
|
+
globalDataContext: i,
|
|
8856
|
+
templateContext: a,
|
|
8857
|
+
valueToEvaluate: x.value
|
|
8858
|
+
}) : x.value, m = nn({ attrs: x.attributes ?? [], templateContext: a, globalDataContext: i, options: { normalizeBeforeEvaluation: !0 } });
|
|
8859
|
+
return /* @__PURE__ */ pi(
|
|
8860
|
+
Ze.Check,
|
|
8861
|
+
{
|
|
8862
|
+
...m,
|
|
8863
|
+
checked: ym(g, y),
|
|
8864
|
+
key: S,
|
|
8865
|
+
label: /* @__PURE__ */ R(
|
|
8866
|
+
De,
|
|
8867
|
+
{
|
|
8868
|
+
currentData: ((C = (E = t == null ? void 0 : t.options) == null ? void 0 : E[S]) == null ? void 0 : C.label) ?? void 0,
|
|
8869
|
+
datafield: "label",
|
|
8870
|
+
path: r + ".options." + S + ".label",
|
|
8871
|
+
props: x.label
|
|
8872
|
+
}
|
|
8873
|
+
),
|
|
8874
|
+
id: `${Math.random()}`,
|
|
8875
|
+
name: r,
|
|
8876
|
+
onChange: h,
|
|
8877
|
+
type: f,
|
|
8878
|
+
value: y
|
|
8879
|
+
}
|
|
8880
|
+
);
|
|
8881
|
+
})
|
|
8882
|
+
] }) });
|
|
8868
8883
|
};
|
|
8869
8884
|
function ym(e, t) {
|
|
8870
8885
|
return Array.isArray(e) ? e.includes(t) : typeof e == "object" ? Object.values(e).includes(t) : e === t;
|
|
@@ -8892,7 +8907,7 @@ function Em(e, t) {
|
|
|
8892
8907
|
}
|
|
8893
8908
|
const wm = (e) => {
|
|
8894
8909
|
var s;
|
|
8895
|
-
const t = Z(
|
|
8910
|
+
const t = Z(Be), n = Z(Te), r = e.props, i = Ct(r.attributes), {
|
|
8896
8911
|
formData: a,
|
|
8897
8912
|
formDataPath: o
|
|
8898
8913
|
} = Nn({
|
|
@@ -8905,8 +8920,8 @@ const wm = (e) => {
|
|
|
8905
8920
|
}), l = (u) => {
|
|
8906
8921
|
t.updateData(u.target.value, o);
|
|
8907
8922
|
};
|
|
8908
|
-
return /* @__PURE__ */ R(Ve, { ...r, children: /* @__PURE__ */
|
|
8909
|
-
r.label && /* @__PURE__ */ R(
|
|
8923
|
+
return /* @__PURE__ */ R(Ve, { ...r, children: /* @__PURE__ */ ze(Ze.Group, { ...i, controlId: Math.random().toString(), children: [
|
|
8924
|
+
r.label && /* @__PURE__ */ R(Ze.Label, { children: /* @__PURE__ */ R(
|
|
8910
8925
|
De,
|
|
8911
8926
|
{
|
|
8912
8927
|
currentData: ((s = e.currentData) == null ? void 0 : s.label) ?? void 0,
|
|
@@ -8915,10 +8930,10 @@ const wm = (e) => {
|
|
|
8915
8930
|
props: r.label
|
|
8916
8931
|
}
|
|
8917
8932
|
) }),
|
|
8918
|
-
/* @__PURE__ */ R(
|
|
8933
|
+
/* @__PURE__ */ R(Ze.Control, { onChange: l, type: "datetime-local", value: a ?? "" })
|
|
8919
8934
|
] }) });
|
|
8920
8935
|
}, Cm = ({ props: e, datafield: t, path: n, currentData: r }) => {
|
|
8921
|
-
const i = Z(
|
|
8936
|
+
const i = Z(Be), a = Z(Te), o = Ct(e.attributes), l = Ct(e.inputAttributes ?? []), {
|
|
8922
8937
|
formData: s,
|
|
8923
8938
|
formDataPath: u
|
|
8924
8939
|
} = Nn({
|
|
@@ -8928,15 +8943,15 @@ const wm = (e) => {
|
|
|
8928
8943
|
defaultValue: e.defaultFieldValue,
|
|
8929
8944
|
globalDataContext: i,
|
|
8930
8945
|
templateContext: a
|
|
8931
|
-
}), f =
|
|
8946
|
+
}), f = Fe({
|
|
8932
8947
|
valueToEvaluate: e.placeholder,
|
|
8933
8948
|
globalDataContext: i,
|
|
8934
8949
|
templateContext: a
|
|
8935
8950
|
}), c = (d) => {
|
|
8936
8951
|
i.updateData(d.currentTarget.value, u);
|
|
8937
8952
|
};
|
|
8938
|
-
return /* @__PURE__ */ R(Ve, { ...e, children: /* @__PURE__ */
|
|
8939
|
-
e.label && /* @__PURE__ */ R(
|
|
8953
|
+
return /* @__PURE__ */ R(Ve, { ...e, children: /* @__PURE__ */ ze(Ze.Group, { ...o, controlId: Math.random().toString(), children: [
|
|
8954
|
+
e.label && /* @__PURE__ */ R(Ze.Label, { children: /* @__PURE__ */ R(
|
|
8940
8955
|
De,
|
|
8941
8956
|
{
|
|
8942
8957
|
currentData: (r == null ? void 0 : r.label) ?? void 0,
|
|
@@ -8946,7 +8961,7 @@ const wm = (e) => {
|
|
|
8946
8961
|
}
|
|
8947
8962
|
) }),
|
|
8948
8963
|
/* @__PURE__ */ R(
|
|
8949
|
-
|
|
8964
|
+
Ze.Control,
|
|
8950
8965
|
{
|
|
8951
8966
|
onChange: c,
|
|
8952
8967
|
type: "number",
|
|
@@ -8957,9 +8972,9 @@ const wm = (e) => {
|
|
|
8957
8972
|
)
|
|
8958
8973
|
] }) });
|
|
8959
8974
|
}, Am = ({ props: e, currentData: t, path: n, datafield: r }) => {
|
|
8960
|
-
const i = Z(
|
|
8975
|
+
const i = Z(Be), a = Z(Te), { updateData: o } = i, l = e.dynamicOptions ?? void 0;
|
|
8961
8976
|
let s;
|
|
8962
|
-
l ? s =
|
|
8977
|
+
l ? s = Fe({ valueToEvaluate: l, globalDataContext: i, templateContext: a }) ?? [] : s = e.options ?? [];
|
|
8963
8978
|
let u = nn({
|
|
8964
8979
|
attrs: e.attributes ?? {},
|
|
8965
8980
|
globalDataContext: i,
|
|
@@ -8974,7 +8989,7 @@ const wm = (e) => {
|
|
|
8974
8989
|
});
|
|
8975
8990
|
let c, d;
|
|
8976
8991
|
const v = e.defaultFieldValue ?? void 0, g = e.dataLocation ?? void 0;
|
|
8977
|
-
g ? (c =
|
|
8992
|
+
g ? (c = Fe({
|
|
8978
8993
|
globalDataContext: i,
|
|
8979
8994
|
templateContext: a,
|
|
8980
8995
|
valueToEvaluate: g
|
|
@@ -8989,7 +9004,7 @@ const wm = (e) => {
|
|
|
8989
9004
|
globalDataContext: i,
|
|
8990
9005
|
templateContext: a
|
|
8991
9006
|
}));
|
|
8992
|
-
const
|
|
9007
|
+
const b = (h) => {
|
|
8993
9008
|
let A;
|
|
8994
9009
|
switch (h.currentTarget.value) {
|
|
8995
9010
|
case "":
|
|
@@ -9011,8 +9026,8 @@ const wm = (e) => {
|
|
|
9011
9026
|
}
|
|
9012
9027
|
o(A, d);
|
|
9013
9028
|
};
|
|
9014
|
-
return /* @__PURE__ */ R(Ve, { ...e, children: /* @__PURE__ */
|
|
9015
|
-
e.label && /* @__PURE__ */ R(
|
|
9029
|
+
return /* @__PURE__ */ R(Ve, { ...e, children: /* @__PURE__ */ ze(Ze.Group, { ...u, controlId: Math.random().toString(), children: [
|
|
9030
|
+
e.label && /* @__PURE__ */ R(Ze.Label, { children: /* @__PURE__ */ R(
|
|
9016
9031
|
De,
|
|
9017
9032
|
{
|
|
9018
9033
|
currentData: (t == null ? void 0 : t.label) ?? void 0,
|
|
@@ -9022,10 +9037,10 @@ const wm = (e) => {
|
|
|
9022
9037
|
}
|
|
9023
9038
|
) }),
|
|
9024
9039
|
/* @__PURE__ */ R(
|
|
9025
|
-
|
|
9040
|
+
Ze.Select,
|
|
9026
9041
|
{
|
|
9027
9042
|
"aria-label": e.label,
|
|
9028
|
-
onChange:
|
|
9043
|
+
onChange: b,
|
|
9029
9044
|
value: c,
|
|
9030
9045
|
...f,
|
|
9031
9046
|
children: s.map((h, A) => /* @__PURE__ */ R("option", { value: h.value, children: h.label }, "opt" + A))
|
|
@@ -9033,7 +9048,7 @@ const wm = (e) => {
|
|
|
9033
9048
|
)
|
|
9034
9049
|
] }) });
|
|
9035
9050
|
}, Sm = ({ props: e, datafield: t, path: n, currentData: r }) => {
|
|
9036
|
-
const i = Z(
|
|
9051
|
+
const i = Z(Be), a = Z(Te), o = Ct(e.attributes), l = Ct(e.inputAttributes ?? []), {
|
|
9037
9052
|
formData: s,
|
|
9038
9053
|
formDataPath: u
|
|
9039
9054
|
} = Nn({
|
|
@@ -9046,8 +9061,8 @@ const wm = (e) => {
|
|
|
9046
9061
|
}), f = (c) => {
|
|
9047
9062
|
i.updateData(c.currentTarget.value, u);
|
|
9048
9063
|
};
|
|
9049
|
-
return /* @__PURE__ */ R(Ve, { ...e, children: /* @__PURE__ */
|
|
9050
|
-
e.label && /* @__PURE__ */ R(
|
|
9064
|
+
return /* @__PURE__ */ R(Ve, { ...e, children: /* @__PURE__ */ ze(Ze.Group, { ...o, controlId: Math.random().toString(), children: [
|
|
9065
|
+
e.label && /* @__PURE__ */ R(Ze.Label, { children: /* @__PURE__ */ R(
|
|
9051
9066
|
De,
|
|
9052
9067
|
{
|
|
9053
9068
|
currentData: (r == null ? void 0 : r.label) ?? void 0,
|
|
@@ -9057,7 +9072,7 @@ const wm = (e) => {
|
|
|
9057
9072
|
}
|
|
9058
9073
|
) }),
|
|
9059
9074
|
/* @__PURE__ */ R(
|
|
9060
|
-
|
|
9075
|
+
Ze.Control,
|
|
9061
9076
|
{
|
|
9062
9077
|
as: "textarea",
|
|
9063
9078
|
onChange: f,
|
|
@@ -9069,7 +9084,7 @@ const wm = (e) => {
|
|
|
9069
9084
|
)
|
|
9070
9085
|
] }) });
|
|
9071
9086
|
}, xm = ({ props: e, datafield: t, path: n, currentData: r }) => {
|
|
9072
|
-
const i = Z(
|
|
9087
|
+
const i = Z(Be), a = Z(Te), o = Ct(e.attributes), l = Ct(e.inputAttributes ?? []), {
|
|
9073
9088
|
formData: s,
|
|
9074
9089
|
formDataPath: u
|
|
9075
9090
|
} = Nn({
|
|
@@ -9081,17 +9096,17 @@ const wm = (e) => {
|
|
|
9081
9096
|
templateContext: a
|
|
9082
9097
|
}), f = (v) => {
|
|
9083
9098
|
i.updateData(v.currentTarget.value, u);
|
|
9084
|
-
}, c =
|
|
9099
|
+
}, c = Fe({
|
|
9085
9100
|
valueToEvaluate: e.placeholder,
|
|
9086
9101
|
globalDataContext: i,
|
|
9087
9102
|
templateContext: a
|
|
9088
|
-
}), d =
|
|
9103
|
+
}), d = Fe({
|
|
9089
9104
|
valueToEvaluate: e.inputType,
|
|
9090
9105
|
globalDataContext: i,
|
|
9091
9106
|
templateContext: a
|
|
9092
9107
|
});
|
|
9093
|
-
return /* @__PURE__ */ R(Ve, { ...e, children: /* @__PURE__ */
|
|
9094
|
-
e.label && /* @__PURE__ */ R(
|
|
9108
|
+
return /* @__PURE__ */ R(Ve, { ...e, children: /* @__PURE__ */ ze(Ze.Group, { ...o, controlId: Math.random().toString(), children: [
|
|
9109
|
+
e.label && /* @__PURE__ */ R(Ze.Label, { children: /* @__PURE__ */ R(
|
|
9095
9110
|
De,
|
|
9096
9111
|
{
|
|
9097
9112
|
currentData: (r == null ? void 0 : r.label) ?? void 0,
|
|
@@ -9101,7 +9116,7 @@ const wm = (e) => {
|
|
|
9101
9116
|
}
|
|
9102
9117
|
) }),
|
|
9103
9118
|
/* @__PURE__ */ R(
|
|
9104
|
-
|
|
9119
|
+
Ze.Control,
|
|
9105
9120
|
{
|
|
9106
9121
|
onChange: f,
|
|
9107
9122
|
placeholder: c,
|
|
@@ -9886,11 +9901,11 @@ function sv(e, t, n, r, i) {
|
|
|
9886
9901
|
}, g = {
|
|
9887
9902
|
x: 0,
|
|
9888
9903
|
y: 0
|
|
9889
|
-
},
|
|
9904
|
+
}, b = {
|
|
9890
9905
|
height: t.height * i.y,
|
|
9891
9906
|
width: t.width * i.x
|
|
9892
9907
|
};
|
|
9893
|
-
return !u && a <= t.top +
|
|
9908
|
+
return !u && a <= t.top + b.height ? (v.y = Je.Backward, g.y = r * Math.abs((t.top + b.height - a) / b.height)) : !f && s >= t.bottom - b.height && (v.y = Je.Forward, g.y = r * Math.abs((t.bottom - b.height - s) / b.height)), !d && l >= t.right - b.width ? (v.x = Je.Forward, g.x = r * Math.abs((t.right - b.width - l) / b.width)) : !c && o <= t.left + b.width && (v.x = Je.Backward, g.x = r * Math.abs((t.left + b.width - o) / b.width)), {
|
|
9894
9909
|
direction: v,
|
|
9895
9910
|
speed: g
|
|
9896
9911
|
};
|
|
@@ -10099,42 +10114,42 @@ class tc {
|
|
|
10099
10114
|
}, {
|
|
10100
10115
|
scrollableAncestors: g
|
|
10101
10116
|
} = r.current;
|
|
10102
|
-
for (const
|
|
10117
|
+
for (const b of g) {
|
|
10103
10118
|
const h = t.code, {
|
|
10104
10119
|
isTop: A,
|
|
10105
10120
|
isRight: x,
|
|
10106
10121
|
isLeft: S,
|
|
10107
|
-
isBottom:
|
|
10122
|
+
isBottom: y,
|
|
10108
10123
|
maxScroll: m,
|
|
10109
10124
|
minScroll: E
|
|
10110
|
-
} = Jl(
|
|
10125
|
+
} = Jl(b), C = uv(b), T = {
|
|
10111
10126
|
x: Math.min(h === _e.Right ? C.right - C.width / 2 : C.right, Math.max(h === _e.Right ? C.left : C.left + C.width / 2, c.x)),
|
|
10112
10127
|
y: Math.min(h === _e.Down ? C.bottom - C.height / 2 : C.bottom, Math.max(h === _e.Down ? C.top : C.top + C.height / 2, c.y))
|
|
10113
|
-
}, I = h === _e.Right && !x || h === _e.Left && !S, L = h === _e.Down && !
|
|
10128
|
+
}, I = h === _e.Right && !x || h === _e.Left && !S, L = h === _e.Down && !y || h === _e.Up && !A;
|
|
10114
10129
|
if (I && T.x !== c.x) {
|
|
10115
|
-
const k =
|
|
10130
|
+
const k = b.scrollLeft + d.x, W = h === _e.Right && k <= m.x || h === _e.Left && k >= E.x;
|
|
10116
10131
|
if (W && !d.y) {
|
|
10117
|
-
|
|
10132
|
+
b.scrollTo({
|
|
10118
10133
|
left: k,
|
|
10119
10134
|
behavior: l
|
|
10120
10135
|
});
|
|
10121
10136
|
return;
|
|
10122
10137
|
}
|
|
10123
|
-
W ? v.x =
|
|
10138
|
+
W ? v.x = b.scrollLeft - k : v.x = h === _e.Right ? b.scrollLeft - m.x : b.scrollLeft - E.x, v.x && b.scrollBy({
|
|
10124
10139
|
left: -v.x,
|
|
10125
10140
|
behavior: l
|
|
10126
10141
|
});
|
|
10127
10142
|
break;
|
|
10128
10143
|
} else if (L && T.y !== c.y) {
|
|
10129
|
-
const k =
|
|
10144
|
+
const k = b.scrollTop + d.y, W = h === _e.Down && k <= m.y || h === _e.Up && k >= E.y;
|
|
10130
10145
|
if (W && !d.x) {
|
|
10131
|
-
|
|
10146
|
+
b.scrollTo({
|
|
10132
10147
|
top: k,
|
|
10133
10148
|
behavior: l
|
|
10134
10149
|
});
|
|
10135
10150
|
return;
|
|
10136
10151
|
}
|
|
10137
|
-
W ? v.y =
|
|
10152
|
+
W ? v.y = b.scrollTop - k : v.y = h === _e.Down ? b.scrollTop - m.y : b.scrollTop - E.y, v.y && b.scrollBy({
|
|
10138
10153
|
top: -v.y,
|
|
10139
10154
|
behavior: l
|
|
10140
10155
|
});
|
|
@@ -10436,7 +10451,7 @@ function bv(e) {
|
|
|
10436
10451
|
const v = wv({
|
|
10437
10452
|
delta: c,
|
|
10438
10453
|
disabled: !a
|
|
10439
|
-
}), [g,
|
|
10454
|
+
}), [g, b] = Rm(), h = ae({
|
|
10440
10455
|
x: 0,
|
|
10441
10456
|
y: 0
|
|
10442
10457
|
}), A = ae({
|
|
@@ -10454,7 +10469,7 @@ function bv(e) {
|
|
|
10454
10469
|
case or.DraggableRect:
|
|
10455
10470
|
return i;
|
|
10456
10471
|
}
|
|
10457
|
-
}, [n, i, s]), S = ae(null),
|
|
10472
|
+
}, [n, i, s]), S = ae(null), y = pe(() => {
|
|
10458
10473
|
const E = S.current;
|
|
10459
10474
|
if (!E)
|
|
10460
10475
|
return;
|
|
@@ -10464,7 +10479,7 @@ function bv(e) {
|
|
|
10464
10479
|
me(
|
|
10465
10480
|
() => {
|
|
10466
10481
|
if (!a || !u.length || !x) {
|
|
10467
|
-
|
|
10482
|
+
b();
|
|
10468
10483
|
return;
|
|
10469
10484
|
}
|
|
10470
10485
|
for (const E of m) {
|
|
@@ -10480,7 +10495,7 @@ function bv(e) {
|
|
|
10480
10495
|
for (const k of ["x", "y"])
|
|
10481
10496
|
v[k][I[k]] || (L[k] = 0, I[k] = 0);
|
|
10482
10497
|
if (L.x > 0 || L.y > 0) {
|
|
10483
|
-
|
|
10498
|
+
b(), S.current = E, g(y, o), h.current = L, A.current = I;
|
|
10484
10499
|
return;
|
|
10485
10500
|
}
|
|
10486
10501
|
}
|
|
@@ -10490,14 +10505,14 @@ function bv(e) {
|
|
|
10490
10505
|
}, A.current = {
|
|
10491
10506
|
x: 0,
|
|
10492
10507
|
y: 0
|
|
10493
|
-
},
|
|
10508
|
+
}, b();
|
|
10494
10509
|
},
|
|
10495
10510
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
10496
10511
|
[
|
|
10497
10512
|
t,
|
|
10498
|
-
b,
|
|
10499
|
-
r,
|
|
10500
10513
|
y,
|
|
10514
|
+
r,
|
|
10515
|
+
b,
|
|
10501
10516
|
a,
|
|
10502
10517
|
o,
|
|
10503
10518
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
@@ -10587,7 +10602,7 @@ function Sv(e, t) {
|
|
|
10587
10602
|
strategy: u
|
|
10588
10603
|
} = i, f = ae(e), c = h(), d = pr(c), v = pe(function(A) {
|
|
10589
10604
|
A === void 0 && (A = []), !d.current && o((x) => x === null ? A : x.concat(A.filter((S) => !x.includes(S))));
|
|
10590
|
-
}, [d]), g = ae(null),
|
|
10605
|
+
}, [d]), g = ae(null), b = Sr((A) => {
|
|
10591
10606
|
if (c && !n)
|
|
10592
10607
|
return Os;
|
|
10593
10608
|
if (!A || A === Os || f.current !== e || a != null) {
|
|
@@ -10599,7 +10614,7 @@ function Sv(e, t) {
|
|
|
10599
10614
|
x.set(S.id, S.rect.current);
|
|
10600
10615
|
continue;
|
|
10601
10616
|
}
|
|
10602
|
-
const
|
|
10617
|
+
const y = S.node.current, m = y ? new bo(s(y), y) : null;
|
|
10603
10618
|
S.rect.current = m, m && x.set(S.id, m);
|
|
10604
10619
|
}
|
|
10605
10620
|
return x;
|
|
@@ -10629,7 +10644,7 @@ function Sv(e, t) {
|
|
|
10629
10644
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
10630
10645
|
[l, c, v, ...r]
|
|
10631
10646
|
), {
|
|
10632
|
-
droppableRects:
|
|
10647
|
+
droppableRects: b,
|
|
10633
10648
|
measureDroppableContainers: v,
|
|
10634
10649
|
measuringScheduled: a != null
|
|
10635
10650
|
};
|
|
@@ -11185,7 +11200,7 @@ const zv = /* @__PURE__ */ Af(function(t) {
|
|
|
11185
11200
|
modifiers: v,
|
|
11186
11201
|
...g
|
|
11187
11202
|
} = t;
|
|
11188
|
-
const
|
|
11203
|
+
const b = Ua(jv, void 0, Mv), [h, A] = b, [x, S] = Mm(), [y, m] = Oe(Zt.Uninitialized), E = y === Zt.Initialized, {
|
|
11189
11204
|
draggable: {
|
|
11190
11205
|
active: C,
|
|
11191
11206
|
nodes: T,
|
|
@@ -11282,37 +11297,37 @@ const zv = /* @__PURE__ */ Af(function(t) {
|
|
|
11282
11297
|
if (!T.get(Ge))
|
|
11283
11298
|
return;
|
|
11284
11299
|
const {
|
|
11285
|
-
onDragAbort:
|
|
11300
|
+
onDragAbort: Qe
|
|
11286
11301
|
} = ie.current, At = {
|
|
11287
11302
|
id: Ge
|
|
11288
11303
|
};
|
|
11289
|
-
|
|
11304
|
+
Qe == null || Qe(At), x({
|
|
11290
11305
|
type: "onDragAbort",
|
|
11291
11306
|
event: At
|
|
11292
11307
|
});
|
|
11293
11308
|
},
|
|
11294
|
-
onPending(Ge, Rt,
|
|
11309
|
+
onPending(Ge, Rt, Qe, At) {
|
|
11295
11310
|
if (!T.get(Ge))
|
|
11296
11311
|
return;
|
|
11297
11312
|
const {
|
|
11298
11313
|
onDragPending: sn
|
|
11299
|
-
} = ie.current,
|
|
11314
|
+
} = ie.current, qe = {
|
|
11300
11315
|
id: Ge,
|
|
11301
11316
|
constraint: Rt,
|
|
11302
|
-
initialCoordinates:
|
|
11317
|
+
initialCoordinates: Qe,
|
|
11303
11318
|
offset: At
|
|
11304
11319
|
};
|
|
11305
|
-
sn == null || sn(
|
|
11320
|
+
sn == null || sn(qe), x({
|
|
11306
11321
|
type: "onDragPending",
|
|
11307
|
-
event:
|
|
11322
|
+
event: qe
|
|
11308
11323
|
});
|
|
11309
11324
|
},
|
|
11310
11325
|
onStart(Ge) {
|
|
11311
11326
|
const Rt = z.current;
|
|
11312
11327
|
if (Rt == null)
|
|
11313
11328
|
return;
|
|
11314
|
-
const
|
|
11315
|
-
if (!
|
|
11329
|
+
const Qe = T.get(Rt);
|
|
11330
|
+
if (!Qe)
|
|
11316
11331
|
return;
|
|
11317
11332
|
const {
|
|
11318
11333
|
onDragStart: At
|
|
@@ -11320,7 +11335,7 @@ const zv = /* @__PURE__ */ Af(function(t) {
|
|
|
11320
11335
|
activatorEvent: it,
|
|
11321
11336
|
active: {
|
|
11322
11337
|
id: Rt,
|
|
11323
|
-
data:
|
|
11338
|
+
data: Qe.data,
|
|
11324
11339
|
rect: W
|
|
11325
11340
|
}
|
|
11326
11341
|
};
|
|
@@ -11348,34 +11363,34 @@ const zv = /* @__PURE__ */ Af(function(t) {
|
|
|
11348
11363
|
function Kt(Ge) {
|
|
11349
11364
|
return async function() {
|
|
11350
11365
|
const {
|
|
11351
|
-
active:
|
|
11366
|
+
active: Qe,
|
|
11352
11367
|
collisions: At,
|
|
11353
11368
|
over: on,
|
|
11354
11369
|
scrollAdjustedTranslate: sn
|
|
11355
11370
|
} = $.current;
|
|
11356
|
-
let
|
|
11357
|
-
if (
|
|
11371
|
+
let qe = null;
|
|
11372
|
+
if (Qe && sn) {
|
|
11358
11373
|
const {
|
|
11359
11374
|
cancelDrop: $e
|
|
11360
11375
|
} = ie.current;
|
|
11361
|
-
|
|
11376
|
+
qe = {
|
|
11362
11377
|
activatorEvent: it,
|
|
11363
|
-
active:
|
|
11378
|
+
active: Qe,
|
|
11364
11379
|
collisions: At,
|
|
11365
11380
|
delta: sn,
|
|
11366
11381
|
over: on
|
|
11367
|
-
}, Ge === Xe.DragEnd && typeof $e == "function" && await Promise.resolve($e(
|
|
11382
|
+
}, Ge === Xe.DragEnd && typeof $e == "function" && await Promise.resolve($e(qe)) && (Ge = Xe.DragCancel);
|
|
11368
11383
|
}
|
|
11369
11384
|
z.current = null, fn.unstable_batchedUpdates(() => {
|
|
11370
11385
|
A({
|
|
11371
11386
|
type: Ge
|
|
11372
11387
|
}), m(Zt.Uninitialized), le(null), re(null), j(null), pt.current = null;
|
|
11373
11388
|
const $e = Ge === Xe.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
11374
|
-
if (
|
|
11389
|
+
if (qe) {
|
|
11375
11390
|
const Vn = ie.current[$e];
|
|
11376
|
-
Vn == null || Vn(
|
|
11391
|
+
Vn == null || Vn(qe), x({
|
|
11377
11392
|
type: $e,
|
|
11378
|
-
event:
|
|
11393
|
+
event: qe
|
|
11379
11394
|
});
|
|
11380
11395
|
}
|
|
11381
11396
|
});
|
|
@@ -11401,8 +11416,8 @@ const zv = /* @__PURE__ */ Af(function(t) {
|
|
|
11401
11416
|
}, z.current = Ft, an(rt, nt));
|
|
11402
11417
|
}, [T, an]), yn = Av(f, Bi);
|
|
11403
11418
|
Pv(f), Pt(() => {
|
|
11404
|
-
N &&
|
|
11405
|
-
}, [N,
|
|
11419
|
+
N && y === Zt.Initializing && m(Zt.Initialized);
|
|
11420
|
+
}, [N, y]), me(
|
|
11406
11421
|
() => {
|
|
11407
11422
|
const {
|
|
11408
11423
|
onDragMove: Ke
|
|
@@ -11570,14 +11585,14 @@ function Wv(e) {
|
|
|
11570
11585
|
} = Z(Or), {
|
|
11571
11586
|
role: v = Ps,
|
|
11572
11587
|
roleDescription: g = "draggable",
|
|
11573
|
-
tabIndex:
|
|
11574
|
-
} = i ?? {}, h = (s == null ? void 0 : s.id) === t, A = Z(h ? Oi : qv), [x, S] = ni(), [
|
|
11588
|
+
tabIndex: b = 0
|
|
11589
|
+
} = i ?? {}, h = (s == null ? void 0 : s.id) === t, A = Z(h ? Oi : qv), [x, S] = ni(), [y, m] = ni(), E = Iv(o, t), C = pr(n);
|
|
11575
11590
|
Pt(
|
|
11576
11591
|
() => (c.set(t, {
|
|
11577
11592
|
id: t,
|
|
11578
11593
|
key: a,
|
|
11579
11594
|
node: x,
|
|
11580
|
-
activatorNode:
|
|
11595
|
+
activatorNode: y,
|
|
11581
11596
|
data: C
|
|
11582
11597
|
}), () => {
|
|
11583
11598
|
const I = c.get(t);
|
|
@@ -11588,12 +11603,12 @@ function Wv(e) {
|
|
|
11588
11603
|
);
|
|
11589
11604
|
const T = he(() => ({
|
|
11590
11605
|
role: v,
|
|
11591
|
-
tabIndex:
|
|
11606
|
+
tabIndex: b,
|
|
11592
11607
|
"aria-disabled": r,
|
|
11593
11608
|
"aria-pressed": h && v === Ps ? !0 : void 0,
|
|
11594
11609
|
"aria-roledescription": g,
|
|
11595
11610
|
"aria-describedby": f.draggable
|
|
11596
|
-
}), [r, v,
|
|
11611
|
+
}), [r, v, b, h, g, f.draggable]);
|
|
11597
11612
|
return {
|
|
11598
11613
|
active: s,
|
|
11599
11614
|
activatorEvent: l,
|
|
@@ -11630,12 +11645,12 @@ function Kv(e) {
|
|
|
11630
11645
|
disabled: n
|
|
11631
11646
|
}), c = ae(!1), d = ae(null), v = ae(null), {
|
|
11632
11647
|
disabled: g,
|
|
11633
|
-
updateMeasurementsFor:
|
|
11648
|
+
updateMeasurementsFor: b,
|
|
11634
11649
|
timeout: h
|
|
11635
11650
|
} = {
|
|
11636
11651
|
...Xv,
|
|
11637
11652
|
...i
|
|
11638
|
-
}, A = pr(
|
|
11653
|
+
}, A = pr(b ?? r), x = pe(
|
|
11639
11654
|
() => {
|
|
11640
11655
|
if (!c.current) {
|
|
11641
11656
|
c.current = !0;
|
|
@@ -11650,9 +11665,9 @@ function Kv(e) {
|
|
|
11650
11665
|
), S = xi({
|
|
11651
11666
|
callback: x,
|
|
11652
11667
|
disabled: g || !o
|
|
11653
|
-
}),
|
|
11668
|
+
}), y = pe((T, I) => {
|
|
11654
11669
|
S && (I && (S.unobserve(I), c.current = !1), T && S.observe(T));
|
|
11655
|
-
}, [S]), [m, E] = ni(
|
|
11670
|
+
}, [S]), [m, E] = ni(y), C = pr(t);
|
|
11656
11671
|
return me(() => {
|
|
11657
11672
|
!S || !m.current || (S.disconnect(), c.current = !1, S.observe(m.current));
|
|
11658
11673
|
}, [m, S]), me(
|
|
@@ -11887,8 +11902,8 @@ function ag(e) {
|
|
|
11887
11902
|
initial: s,
|
|
11888
11903
|
final: d
|
|
11889
11904
|
}
|
|
11890
|
-
}), [g] = v,
|
|
11891
|
-
if (JSON.stringify(g) === JSON.stringify(
|
|
11905
|
+
}), [g] = v, b = v[v.length - 1];
|
|
11906
|
+
if (JSON.stringify(g) === JSON.stringify(b))
|
|
11892
11907
|
return;
|
|
11893
11908
|
const h = r == null ? void 0 : r({
|
|
11894
11909
|
active: o,
|
|
@@ -11931,12 +11946,12 @@ const sg = /* @__PURE__ */ ue.memo((e) => {
|
|
|
11931
11946
|
activeNodeRect: d,
|
|
11932
11947
|
containerNodeRect: v,
|
|
11933
11948
|
draggableNodes: g,
|
|
11934
|
-
droppableContainers:
|
|
11949
|
+
droppableContainers: b,
|
|
11935
11950
|
dragOverlay: h,
|
|
11936
11951
|
over: A,
|
|
11937
11952
|
measuringConfiguration: x,
|
|
11938
11953
|
scrollableAncestors: S,
|
|
11939
|
-
scrollableAncestorRects:
|
|
11954
|
+
scrollableAncestorRects: y,
|
|
11940
11955
|
windowRect: m
|
|
11941
11956
|
} = sc(), E = Z(Oi), C = og(c == null ? void 0 : c.id), T = oc(o, {
|
|
11942
11957
|
activatorEvent: f,
|
|
@@ -11947,13 +11962,13 @@ const sg = /* @__PURE__ */ ue.memo((e) => {
|
|
|
11947
11962
|
over: A,
|
|
11948
11963
|
overlayNodeRect: h.rect,
|
|
11949
11964
|
scrollableAncestors: S,
|
|
11950
|
-
scrollableAncestorRects:
|
|
11965
|
+
scrollableAncestorRects: y,
|
|
11951
11966
|
transform: E,
|
|
11952
11967
|
windowRect: m
|
|
11953
11968
|
}), I = Co(d), L = ig({
|
|
11954
11969
|
config: r,
|
|
11955
11970
|
draggableNodes: g,
|
|
11956
|
-
droppableContainers:
|
|
11971
|
+
droppableContainers: b,
|
|
11957
11972
|
measuringConfiguration: x
|
|
11958
11973
|
}), k = I ? h.setRef : void 0;
|
|
11959
11974
|
return ue.createElement(Zv, null, ue.createElement(Yv, {
|
|
@@ -12088,7 +12103,7 @@ function pg(e) {
|
|
|
12088
12103
|
droppableRects: s,
|
|
12089
12104
|
over: u,
|
|
12090
12105
|
measureDroppableContainers: f
|
|
12091
|
-
} = sc(), c = xr(lc, n), d = l.rect !== null, v = he(() => r.map((E) => typeof E == "object" && "id" in E ? E.id : E), [r]), g = o != null,
|
|
12106
|
+
} = sc(), c = xr(lc, n), d = l.rect !== null, v = he(() => r.map((E) => typeof E == "object" && "id" in E ? E.id : E), [r]), g = o != null, b = o ? v.indexOf(o.id) : -1, h = u ? v.indexOf(u.id) : -1, A = ae(v), x = !lg(v, A.current), S = h !== -1 && b === -1 || x, y = cg(a);
|
|
12092
12107
|
Pt(() => {
|
|
12093
12108
|
x && g && f(v);
|
|
12094
12109
|
}, [x, v, g, f]), me(() => {
|
|
@@ -12096,9 +12111,9 @@ function pg(e) {
|
|
|
12096
12111
|
}, [v]);
|
|
12097
12112
|
const m = he(
|
|
12098
12113
|
() => ({
|
|
12099
|
-
activeIndex:
|
|
12114
|
+
activeIndex: b,
|
|
12100
12115
|
containerId: c,
|
|
12101
|
-
disabled:
|
|
12116
|
+
disabled: y,
|
|
12102
12117
|
disableTransforms: S,
|
|
12103
12118
|
items: v,
|
|
12104
12119
|
overIndex: h,
|
|
@@ -12107,7 +12122,7 @@ function pg(e) {
|
|
|
12107
12122
|
strategy: i
|
|
12108
12123
|
}),
|
|
12109
12124
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
12110
|
-
[
|
|
12125
|
+
[b, c, y.draggable, y.droppable, S, v, h, s, d, i]
|
|
12111
12126
|
);
|
|
12112
12127
|
return ue.createElement(cc.Provider, {
|
|
12113
12128
|
value: m
|
|
@@ -12190,18 +12205,18 @@ function Eg(e) {
|
|
|
12190
12205
|
activeIndex: d,
|
|
12191
12206
|
disabled: v,
|
|
12192
12207
|
disableTransforms: g,
|
|
12193
|
-
sortedRects:
|
|
12208
|
+
sortedRects: b,
|
|
12194
12209
|
overIndex: h,
|
|
12195
12210
|
useDragOverlay: A,
|
|
12196
12211
|
strategy: x
|
|
12197
|
-
} = Z(cc), S = wg(r, v),
|
|
12212
|
+
} = Z(cc), S = wg(r, v), y = f.indexOf(o), m = he(() => ({
|
|
12198
12213
|
sortable: {
|
|
12199
12214
|
containerId: c,
|
|
12200
|
-
index:
|
|
12215
|
+
index: y,
|
|
12201
12216
|
items: f
|
|
12202
12217
|
},
|
|
12203
12218
|
...i
|
|
12204
|
-
}), [c, i,
|
|
12219
|
+
}), [c, i, y, f]), E = he(() => f.slice(f.indexOf(o)), [f, o]), {
|
|
12205
12220
|
rect: C,
|
|
12206
12221
|
node: T,
|
|
12207
12222
|
isOver: I,
|
|
@@ -12234,17 +12249,17 @@ function Eg(e) {
|
|
|
12234
12249
|
},
|
|
12235
12250
|
disabled: S.draggable
|
|
12236
12251
|
}), V = Tm(L, Q), ee = !!k, D = ee && !g && Mr(d) && Mr(h), P = !A && Y, U = P && D ? F : null, K = D ? U ?? (l ?? x)({
|
|
12237
|
-
rects:
|
|
12252
|
+
rects: b,
|
|
12238
12253
|
activeNodeRect: H,
|
|
12239
12254
|
activeIndex: d,
|
|
12240
12255
|
overIndex: h,
|
|
12241
|
-
index:
|
|
12256
|
+
index: y
|
|
12242
12257
|
}) : null, X = Mr(d) && Mr(h) ? a({
|
|
12243
12258
|
id: o,
|
|
12244
12259
|
items: f,
|
|
12245
12260
|
activeIndex: d,
|
|
12246
12261
|
overIndex: h
|
|
12247
|
-
}) :
|
|
12262
|
+
}) : y, M = k == null ? void 0 : k.id, N = ae({
|
|
12248
12263
|
activeId: M,
|
|
12249
12264
|
items: f,
|
|
12250
12265
|
newIndex: X,
|
|
@@ -12255,7 +12270,7 @@ function Eg(e) {
|
|
|
12255
12270
|
isDragging: Y,
|
|
12256
12271
|
isSorting: ee,
|
|
12257
12272
|
id: o,
|
|
12258
|
-
index:
|
|
12273
|
+
index: y,
|
|
12259
12274
|
items: f,
|
|
12260
12275
|
newIndex: N.current.newIndex,
|
|
12261
12276
|
previousItems: N.current.items,
|
|
@@ -12264,7 +12279,7 @@ function Eg(e) {
|
|
|
12264
12279
|
wasDragging: N.current.activeId != null
|
|
12265
12280
|
}), ve = bg({
|
|
12266
12281
|
disabled: !$,
|
|
12267
|
-
index:
|
|
12282
|
+
index: y,
|
|
12268
12283
|
node: T,
|
|
12269
12284
|
rect: C
|
|
12270
12285
|
});
|
|
@@ -12287,7 +12302,7 @@ function Eg(e) {
|
|
|
12287
12302
|
attributes: z,
|
|
12288
12303
|
data: m,
|
|
12289
12304
|
rect: C,
|
|
12290
|
-
index:
|
|
12305
|
+
index: y,
|
|
12291
12306
|
newIndex: X,
|
|
12292
12307
|
items: f,
|
|
12293
12308
|
isOver: I,
|
|
@@ -12308,7 +12323,7 @@ function Eg(e) {
|
|
|
12308
12323
|
if (
|
|
12309
12324
|
// Temporarily disable transitions for a single frame to set up derived transforms
|
|
12310
12325
|
ve || // Or to prevent items jumping to back to their "new" position when items change
|
|
12311
|
-
J && N.current.newIndex ===
|
|
12326
|
+
J && N.current.newIndex === y
|
|
12312
12327
|
)
|
|
12313
12328
|
return gg;
|
|
12314
12329
|
if (!(P && !Si(W) || !u) && (ee || $))
|
|
@@ -12395,7 +12410,7 @@ function pc(e) {
|
|
|
12395
12410
|
return e ? [].concat(pc(e.parent), [e]) : [];
|
|
12396
12411
|
}
|
|
12397
12412
|
var Og = /* @__PURE__ */ di(function(e, t) {
|
|
12398
|
-
var n = e.clone, r = e.disableSelection, i = e.disableInteraction, a = e.disableSorting, o = e.ghost, l = e.handleProps, s = e.collapsed, u = e.onCollapse, f = e.wrapperRef, c = e.style, d = e.isLast, v = e.parent, g = e.hideCollapseButton,
|
|
12413
|
+
var n = e.clone, r = e.disableSelection, i = e.disableInteraction, a = e.disableSorting, o = e.ghost, l = e.handleProps, s = e.collapsed, u = e.onCollapse, f = e.wrapperRef, c = e.style, d = e.isLast, v = e.parent, g = e.hideCollapseButton, b = e.childCount, h = e.manualDrag, A = e.showDragHandle, x = e.disableCollapseOnItemClick, S = e.className, y = e.contentClassName, m = Ao(e, xg), E = pc(v);
|
|
12399
12414
|
return ue.createElement("li", Object.assign({}, m, {
|
|
12400
12415
|
className: ta("dnd-sortable-tree_folder_wrapper", n && "dnd-sortable-tree_folder_clone", o && "dnd-sortable-tree_folder_ghost", r && "dnd-sortable-tree_folder_disable-selection", i && "dnd-sortable-tree_folder_disable-interaction", S),
|
|
12401
12416
|
ref: f,
|
|
@@ -12409,13 +12424,13 @@ var Og = /* @__PURE__ */ di(function(e, t) {
|
|
|
12409
12424
|
className: d ? "dnd-sortable-tree_folder_line-to_self-last" : "dnd-sortable-tree_folder_line-to_self"
|
|
12410
12425
|
}), h && A && !a && ue.createElement("div", Object.assign({
|
|
12411
12426
|
className: "dnd-sortable-tree_folder_handle"
|
|
12412
|
-
}, l)), !h && !g && !!u && !!
|
|
12427
|
+
}, l)), !h && !g && !!u && !!b && ue.createElement("button", {
|
|
12413
12428
|
onClick: function(T) {
|
|
12414
12429
|
T.preventDefault(), u == null || u();
|
|
12415
12430
|
},
|
|
12416
12431
|
className: ta("dnd-sortable-tree_folder_tree-item-collapse_button", s && "dnd-sortable-tree_folder_tree-item-collapse_button-collapsed")
|
|
12417
12432
|
}), ue.createElement("div", Object.assign({
|
|
12418
|
-
className: ta("dnd-sortable-tree_folder_tree-item",
|
|
12433
|
+
className: ta("dnd-sortable-tree_folder_tree-item", y),
|
|
12419
12434
|
ref: t
|
|
12420
12435
|
}, h ? void 0 : l, {
|
|
12421
12436
|
onClick: x ? void 0 : u
|
|
@@ -12438,15 +12453,15 @@ function Rg(e, t, n, r, i, a, o) {
|
|
|
12438
12453
|
return j === t;
|
|
12439
12454
|
}), d = e[c];
|
|
12440
12455
|
if (a) {
|
|
12441
|
-
var v, g,
|
|
12456
|
+
var v, g, b, h, A, x = e[f];
|
|
12442
12457
|
return x = Q(x, d, o), x === void 0 ? null : {
|
|
12443
12458
|
depth: (v = (g = x) == null ? void 0 : g.depth) != null ? v : 1,
|
|
12444
|
-
parentId: (
|
|
12459
|
+
parentId: (b = (h = x) == null ? void 0 : h.id) != null ? b : null,
|
|
12445
12460
|
parent: x,
|
|
12446
12461
|
isLast: !!((A = x) != null && A.isLast)
|
|
12447
12462
|
};
|
|
12448
12463
|
}
|
|
12449
|
-
var S = mr(e, c, f),
|
|
12464
|
+
var S = mr(e, c, f), y = S[f - 1], m = S[f + 1], E = Tg(r, i), C = d.depth + E, T = C, I = z(T - 1, y), L = Q(I, d, o);
|
|
12450
12465
|
if (L === void 0) return null;
|
|
12451
12466
|
var k = ((l = L == null ? void 0 : L.depth) != null ? l : -1) + 1, W = (s = m == null ? void 0 : m.depth) != null ? s : 0;
|
|
12452
12467
|
if (W > k) return null;
|
|
@@ -12478,12 +12493,12 @@ function Rg(e, t, n, r, i, a, o) {
|
|
|
12478
12493
|
}
|
|
12479
12494
|
function re() {
|
|
12480
12495
|
var Y;
|
|
12481
|
-
if (T === 0 || !
|
|
12496
|
+
if (T === 0 || !y)
|
|
12482
12497
|
return null;
|
|
12483
|
-
if (T ===
|
|
12484
|
-
return
|
|
12485
|
-
if (T >
|
|
12486
|
-
return
|
|
12498
|
+
if (T === y.depth)
|
|
12499
|
+
return y.parentId;
|
|
12500
|
+
if (T > y.depth)
|
|
12501
|
+
return y.id;
|
|
12487
12502
|
var j = (Y = S.slice(0, f).reverse().find(function(ie) {
|
|
12488
12503
|
return ie.depth === T;
|
|
12489
12504
|
})) == null ? void 0 : Y.parentId;
|
|
@@ -12509,8 +12524,8 @@ function _g(e) {
|
|
|
12509
12524
|
for (var t, n, r = {
|
|
12510
12525
|
id: "root",
|
|
12511
12526
|
children: []
|
|
12512
|
-
}, i = (t = {}, t[r.id] = r, t), a = e.map(function(
|
|
12513
|
-
return Gt({},
|
|
12527
|
+
}, i = (t = {}, t[r.id] = r, t), a = e.map(function(b) {
|
|
12528
|
+
return Gt({}, b, {
|
|
12514
12529
|
children: []
|
|
12515
12530
|
});
|
|
12516
12531
|
}), o = Di(a), l; !(l = o()).done; ) {
|
|
@@ -12589,7 +12604,7 @@ var Ng = ["id", "depth", "isLast", "TreeItemComponent", "parent", "disableSortin
|
|
|
12589
12604
|
id: n,
|
|
12590
12605
|
animateLayoutChanges: Fg,
|
|
12591
12606
|
disabled: l
|
|
12592
|
-
}, s)), d = c.attributes, v = c.isDragging, g = c.isSorting,
|
|
12607
|
+
}, s)), d = c.attributes, v = c.isDragging, g = c.isSorting, b = c.listeners, h = c.setDraggableNodeRef, A = c.setDroppableNodeRef, x = c.transform, S = c.transition, y = c.isOver, m = c.over, E = he(function() {
|
|
12593
12608
|
return !!(m != null && m.id) && yc(o, m.id);
|
|
12594
12609
|
}, [m == null ? void 0 : m.id]), C = {
|
|
12595
12610
|
transform: $t.Translate.toString(x),
|
|
@@ -12615,11 +12630,11 @@ var Ng = ["id", "depth", "isLast", "TreeItemComponent", "parent", "disableSortin
|
|
|
12615
12630
|
disableInteraction: g,
|
|
12616
12631
|
isLast: i,
|
|
12617
12632
|
parent: o,
|
|
12618
|
-
handleProps: Gt({}, d,
|
|
12633
|
+
handleProps: Gt({}, d, b),
|
|
12619
12634
|
onCollapse: T,
|
|
12620
12635
|
onRemove: I,
|
|
12621
12636
|
disableSorting: l,
|
|
12622
|
-
isOver:
|
|
12637
|
+
isOver: y,
|
|
12623
12638
|
isOverParent: E
|
|
12624
12639
|
}));
|
|
12625
12640
|
}, Lg = /* @__PURE__ */ ue.memo(Bg), Mg = function(t) {
|
|
@@ -12666,7 +12681,7 @@ var Ng = ["id", "depth", "isLast", "TreeItemComponent", "parent", "disableSortin
|
|
|
12666
12681
|
}
|
|
12667
12682
|
};
|
|
12668
12683
|
function Hg(e) {
|
|
12669
|
-
var t = e.items, n = e.indicator, r = e.indentationWidth, i = r === void 0 ? 20 : r, a = e.onItemsChanged, o = e.TreeItemComponent, l = e.pointerSensorOptions, s = e.disableSorting, u = e.dropAnimation, f = e.dndContextProps, c = e.sortableProps, d = e.keepGhostInPlace, v = e.canRootHaveChildren, g = Ao(e, jg),
|
|
12684
|
+
var t = e.items, n = e.indicator, r = e.indentationWidth, i = r === void 0 ? 20 : r, a = e.onItemsChanged, o = e.TreeItemComponent, l = e.pointerSensorOptions, s = e.disableSorting, u = e.dropAnimation, f = e.dndContextProps, c = e.sortableProps, d = e.keepGhostInPlace, v = e.canRootHaveChildren, g = Ao(e, jg), b = Oe(null), h = b[0], A = b[1], x = Oe(null), S = x[0], y = x[1], m = Oe(0), E = m[0], C = m[1], T = Oe(null), I = T[0], L = T[1], k = he(function() {
|
|
12670
12685
|
var M = sa(t), N = M.reduce(function($, ve) {
|
|
12671
12686
|
var Ce = ve.children, oe = ve.collapsed, Ae = ve.id;
|
|
12672
12687
|
return oe && Ce != null && Ce.length ? [].concat($, [Ae]) : $;
|
|
@@ -12789,7 +12804,7 @@ function Hg(e) {
|
|
|
12789
12804
|
})) : null), document.body)));
|
|
12790
12805
|
function ee(M) {
|
|
12791
12806
|
var N = M.active.id;
|
|
12792
|
-
A(N),
|
|
12807
|
+
A(N), y(N);
|
|
12793
12808
|
var J = k.find(function($) {
|
|
12794
12809
|
var ve = $.id;
|
|
12795
12810
|
return ve === N;
|
|
@@ -12805,7 +12820,7 @@ function Hg(e) {
|
|
|
12805
12820
|
}
|
|
12806
12821
|
function P(M) {
|
|
12807
12822
|
var N, J = M.over;
|
|
12808
|
-
|
|
12823
|
+
y((N = J == null ? void 0 : J.id) != null ? N : null);
|
|
12809
12824
|
}
|
|
12810
12825
|
function U(M) {
|
|
12811
12826
|
var N = M.active, J = M.over;
|
|
@@ -12842,7 +12857,7 @@ function Hg(e) {
|
|
|
12842
12857
|
K();
|
|
12843
12858
|
}
|
|
12844
12859
|
function K() {
|
|
12845
|
-
|
|
12860
|
+
y(null), A(null), C(0), L(null), document.body.style.setProperty("cursor", "");
|
|
12846
12861
|
}
|
|
12847
12862
|
function X(M, N, J) {
|
|
12848
12863
|
if (J && W) {
|
|
@@ -12890,8 +12905,8 @@ var zg = function(t) {
|
|
|
12890
12905
|
});
|
|
12891
12906
|
}, qg = [zg];
|
|
12892
12907
|
const Vg = ({ props: e, path: t, datafield: n }) => {
|
|
12893
|
-
var S,
|
|
12894
|
-
const r = Z(
|
|
12908
|
+
var S, y;
|
|
12909
|
+
const r = Z(Be), i = Z(Te);
|
|
12895
12910
|
let {
|
|
12896
12911
|
formData: a,
|
|
12897
12912
|
formDataPath: o
|
|
@@ -12905,7 +12920,7 @@ const Vg = ({ props: e, path: t, datafield: n }) => {
|
|
|
12905
12920
|
});
|
|
12906
12921
|
if (a === void 0)
|
|
12907
12922
|
return null;
|
|
12908
|
-
const l = e.itemTemplate ?? null, s =
|
|
12923
|
+
const l = e.itemTemplate ?? null, s = Fe({
|
|
12909
12924
|
valueToEvaluate: e.treeRootPath ?? void 0,
|
|
12910
12925
|
globalDataContext: r,
|
|
12911
12926
|
templateContext: i
|
|
@@ -12916,13 +12931,13 @@ const Vg = ({ props: e, path: t, datafield: n }) => {
|
|
|
12916
12931
|
let E = v, C = a, T = o;
|
|
12917
12932
|
for (; m.length > 0; ) {
|
|
12918
12933
|
const I = Number.parseInt(m.shift());
|
|
12919
|
-
if (Number.isNaN(I) || (E = (a == null ? void 0 : a.id) ?? null, C = a, T = o, g = I, v = (S = a[I]) == null ? void 0 : S.id, a = ((
|
|
12934
|
+
if (Number.isNaN(I) || (E = (a == null ? void 0 : a.id) ?? null, C = a, T = o, g = I, v = (S = a[I]) == null ? void 0 : S.id, a = ((y = a[I]) == null ? void 0 : y.children) ?? void 0, o = o + "." + I + ".children", a === void 0))
|
|
12920
12935
|
return null;
|
|
12921
12936
|
++d;
|
|
12922
12937
|
}
|
|
12923
12938
|
c && (v = E, a = C, o = T, a = [a[g]]);
|
|
12924
12939
|
}
|
|
12925
|
-
const
|
|
12940
|
+
const b = (m) => {
|
|
12926
12941
|
let E = m, C = o;
|
|
12927
12942
|
if (d > 0) {
|
|
12928
12943
|
E = en.cloneDeep(E);
|
|
@@ -12989,7 +13004,7 @@ const Vg = ({ props: e, path: t, datafield: n }) => {
|
|
|
12989
13004
|
{
|
|
12990
13005
|
...x,
|
|
12991
13006
|
items: A,
|
|
12992
|
-
onItemsChanged:
|
|
13007
|
+
onItemsChanged: b,
|
|
12993
13008
|
TreeItemComponent: h
|
|
12994
13009
|
}
|
|
12995
13010
|
) });
|
|
@@ -13002,11 +13017,11 @@ function Wg(e) {
|
|
|
13002
13017
|
return t.reverse().join(" ");
|
|
13003
13018
|
}
|
|
13004
13019
|
const Gg = ({ props: e }) => {
|
|
13005
|
-
const t = Z(
|
|
13020
|
+
const t = Z(Be), n = Z(Te);
|
|
13006
13021
|
let r = !1, i, a;
|
|
13007
|
-
if (e.content !== void 0 && (i =
|
|
13022
|
+
if (e.content !== void 0 && (i = Fe({ valueToEvaluate: e.content, globalDataContext: t, templateContext: n })), i == null || i === "")
|
|
13008
13023
|
return null;
|
|
13009
|
-
switch (e.format !== void 0 && (a =
|
|
13024
|
+
switch (e.format !== void 0 && (a = Fe({ valueToEvaluate: e.format, globalDataContext: t, templateContext: n })), a) {
|
|
13010
13025
|
case "roman-upper":
|
|
13011
13026
|
r = Ns(i);
|
|
13012
13027
|
break;
|
|
@@ -13056,12 +13071,12 @@ function Ns(e, t = !1) {
|
|
|
13056
13071
|
return t ? r.toLowerCase() : r;
|
|
13057
13072
|
}
|
|
13058
13073
|
const Xg = ({ currentData: e, datafield: t, path: n, props: r }) => {
|
|
13059
|
-
const i = Z(
|
|
13074
|
+
const i = Z(Be), a = Z(Te), o = r.dynamicOptions ?? void 0;
|
|
13060
13075
|
let l;
|
|
13061
|
-
o ? l =
|
|
13076
|
+
o ? l = Fe({ valueToEvaluate: o, globalDataContext: i, templateContext: a }) ?? [] : l = r.options ?? [];
|
|
13062
13077
|
let s;
|
|
13063
13078
|
const u = r.defaultFieldValue ?? void 0, f = r.dataLocation ?? void 0;
|
|
13064
|
-
f ? s =
|
|
13079
|
+
f ? s = Fe({
|
|
13065
13080
|
globalDataContext: i,
|
|
13066
13081
|
templateContext: a,
|
|
13067
13082
|
valueToEvaluate: f
|
|
@@ -13082,8 +13097,8 @@ const Xg = ({ currentData: e, datafield: t, path: n, props: r }) => {
|
|
|
13082
13097
|
}
|
|
13083
13098
|
) });
|
|
13084
13099
|
}, Kg = ({ currentData: e, path: t, props: n }) => {
|
|
13085
|
-
const r = Z(
|
|
13086
|
-
l.show = u ? a :
|
|
13100
|
+
const r = Z(Be), i = Z(Te), [a, o] = Oe(!0), l = Ct(n.attributes), { showBoolPath: s } = n, u = typeof s != "string";
|
|
13101
|
+
l.show = u ? a : Fe({
|
|
13087
13102
|
valueToEvaluate: (n == null ? void 0 : n.showBoolPath) ?? !1,
|
|
13088
13103
|
globalDataContext: r,
|
|
13089
13104
|
templateContext: i
|
|
@@ -13101,7 +13116,7 @@ const Xg = ({ currentData: e, datafield: t, path: n, props: r }) => {
|
|
|
13101
13116
|
});
|
|
13102
13117
|
r.updateData(void 0, d);
|
|
13103
13118
|
}, c = l.className ? l.className.split(" ") : [];
|
|
13104
|
-
return c.push("reactive-json"), l.className = c.join(" "), /* @__PURE__ */ R(Ve, { ...n, children: /* @__PURE__ */
|
|
13119
|
+
return c.push("reactive-json"), l.className = c.join(" "), /* @__PURE__ */ R(Ve, { ...n, children: /* @__PURE__ */ ze(Br, { ...l, onHide: f, children: [
|
|
13105
13120
|
(n.headerTitle || n.closeButton) && /* @__PURE__ */ R(Br.Header, { closeButton: n.closeButton, children: /* @__PURE__ */ R(Br.Title, { children: /* @__PURE__ */ R(
|
|
13106
13121
|
De,
|
|
13107
13122
|
{
|
|
@@ -13435,10 +13450,10 @@ function Ls() {
|
|
|
13435
13450
|
return m.type === n.ElementType.Text;
|
|
13436
13451
|
}
|
|
13437
13452
|
we.isText = g;
|
|
13438
|
-
function
|
|
13453
|
+
function b(m) {
|
|
13439
13454
|
return m.type === n.ElementType.Comment;
|
|
13440
13455
|
}
|
|
13441
|
-
we.isComment =
|
|
13456
|
+
we.isComment = b;
|
|
13442
13457
|
function h(m) {
|
|
13443
13458
|
return m.type === n.ElementType.Directive;
|
|
13444
13459
|
}
|
|
@@ -13456,20 +13471,20 @@ function Ls() {
|
|
|
13456
13471
|
var C;
|
|
13457
13472
|
if (g(m))
|
|
13458
13473
|
C = new a(m.data);
|
|
13459
|
-
else if (
|
|
13474
|
+
else if (b(m))
|
|
13460
13475
|
C = new o(m.data);
|
|
13461
13476
|
else if (d(m)) {
|
|
13462
|
-
var T = E ?
|
|
13477
|
+
var T = E ? y(m.children) : [], I = new c(m.name, t({}, m.attribs), T);
|
|
13463
13478
|
T.forEach(function(H) {
|
|
13464
13479
|
return H.parent = I;
|
|
13465
13480
|
}), m.namespace != null && (I.namespace = m.namespace), m["x-attribsNamespace"] && (I["x-attribsNamespace"] = t({}, m["x-attribsNamespace"])), m["x-attribsPrefix"] && (I["x-attribsPrefix"] = t({}, m["x-attribsPrefix"])), C = I;
|
|
13466
13481
|
} else if (v(m)) {
|
|
13467
|
-
var T = E ?
|
|
13482
|
+
var T = E ? y(m.children) : [], L = new u(T);
|
|
13468
13483
|
T.forEach(function(z) {
|
|
13469
13484
|
return z.parent = L;
|
|
13470
13485
|
}), C = L;
|
|
13471
13486
|
} else if (A(m)) {
|
|
13472
|
-
var T = E ?
|
|
13487
|
+
var T = E ? y(m.children) : [], k = new f(T);
|
|
13473
13488
|
T.forEach(function(z) {
|
|
13474
13489
|
return z.parent = k;
|
|
13475
13490
|
}), m["x-mode"] && (k["x-mode"] = m["x-mode"]), C = k;
|
|
@@ -13481,7 +13496,7 @@ function Ls() {
|
|
|
13481
13496
|
return C.startIndex = m.startIndex, C.endIndex = m.endIndex, m.sourceCodeLocation != null && (C.sourceCodeLocation = m.sourceCodeLocation), C;
|
|
13482
13497
|
}
|
|
13483
13498
|
we.cloneNode = S;
|
|
13484
|
-
function
|
|
13499
|
+
function y(m) {
|
|
13485
13500
|
for (var E = m.map(function(T) {
|
|
13486
13501
|
return S(T, !0);
|
|
13487
13502
|
}), C = 1; C < E.length; C++)
|
|
@@ -13640,22 +13655,22 @@ function wc() {
|
|
|
13640
13655
|
function l(s, u, f) {
|
|
13641
13656
|
u === void 0 && (u = null);
|
|
13642
13657
|
for (var c = [], d, v = 0, g = s.length; v < g; v++) {
|
|
13643
|
-
var
|
|
13644
|
-
switch (
|
|
13658
|
+
var b = s[v];
|
|
13659
|
+
switch (b.nodeType) {
|
|
13645
13660
|
case 1: {
|
|
13646
|
-
var h = i(
|
|
13647
|
-
d = new e.Element(h, r(
|
|
13661
|
+
var h = i(b.nodeName);
|
|
13662
|
+
d = new e.Element(h, r(b.attributes)), d.children = l(
|
|
13648
13663
|
// template children are on content
|
|
13649
|
-
h === "template" ?
|
|
13664
|
+
h === "template" ? b.content.childNodes : b.childNodes,
|
|
13650
13665
|
d
|
|
13651
13666
|
);
|
|
13652
13667
|
break;
|
|
13653
13668
|
}
|
|
13654
13669
|
case 3:
|
|
13655
|
-
d = new e.Text(o(
|
|
13670
|
+
d = new e.Text(o(b.nodeValue));
|
|
13656
13671
|
break;
|
|
13657
13672
|
case 8:
|
|
13658
|
-
d = new e.Comment(
|
|
13673
|
+
d = new e.Comment(b.nodeValue);
|
|
13659
13674
|
break;
|
|
13660
13675
|
default:
|
|
13661
13676
|
continue;
|
|
@@ -13670,7 +13685,7 @@ function wc() {
|
|
|
13670
13685
|
var Us;
|
|
13671
13686
|
function Jg() {
|
|
13672
13687
|
if (Us) return $r;
|
|
13673
|
-
Us = 1, Object.defineProperty($r, "__esModule", { value: !0 }), $r.default =
|
|
13688
|
+
Us = 1, Object.defineProperty($r, "__esModule", { value: !0 }), $r.default = b;
|
|
13674
13689
|
var e = wc(), t = "html", n = "head", r = "body", i = /<([a-zA-Z]+[0-9]?)/, a = /<head[^]*>/i, o = /<body[^]*>/i, l = function(h, A) {
|
|
13675
13690
|
throw new Error("This browser does not support `document.implementation.createHTMLDocument`");
|
|
13676
13691
|
}, s = function(h, A) {
|
|
@@ -13696,11 +13711,11 @@ function Jg() {
|
|
|
13696
13711
|
v && v.content && (g = function(h) {
|
|
13697
13712
|
return v.innerHTML = h, v.content.childNodes;
|
|
13698
13713
|
});
|
|
13699
|
-
function
|
|
13714
|
+
function b(h) {
|
|
13700
13715
|
var A, x;
|
|
13701
13716
|
h = (0, e.escapeSpecialCharacters)(h);
|
|
13702
|
-
var S = h.match(i),
|
|
13703
|
-
switch (
|
|
13717
|
+
var S = h.match(i), y = S && S[1] ? S[1].toLowerCase() : "";
|
|
13718
|
+
switch (y) {
|
|
13704
13719
|
case t: {
|
|
13705
13720
|
var m = s(h);
|
|
13706
13721
|
if (!a.test(h)) {
|
|
@@ -13715,7 +13730,7 @@ function Jg() {
|
|
|
13715
13730
|
}
|
|
13716
13731
|
case n:
|
|
13717
13732
|
case r: {
|
|
13718
|
-
var C = l(h).querySelectorAll(
|
|
13733
|
+
var C = l(h).querySelectorAll(y);
|
|
13719
13734
|
return o.test(h) && a.test(h) ? C[0].parentNode.childNodes : C;
|
|
13720
13735
|
}
|
|
13721
13736
|
// low-level tag or text
|
|
@@ -14646,18 +14661,18 @@ function e0() {
|
|
|
14646
14661
|
});
|
|
14647
14662
|
const {
|
|
14648
14663
|
CAMELCASE: g,
|
|
14649
|
-
SAME:
|
|
14664
|
+
SAME: b,
|
|
14650
14665
|
possibleStandardNames: h
|
|
14651
14666
|
} = Qg(), x = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD" + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", S = RegExp.prototype.test.bind(
|
|
14652
14667
|
// eslint-disable-next-line no-misleading-character-class
|
|
14653
14668
|
new RegExp("^(data|aria)-[" + x + "]*$")
|
|
14654
|
-
),
|
|
14669
|
+
), y = Object.keys(
|
|
14655
14670
|
h
|
|
14656
14671
|
).reduce((m, E) => {
|
|
14657
14672
|
const C = h[E];
|
|
14658
|
-
return C ===
|
|
14673
|
+
return C === b ? m[E] = E : C === g ? m[E.toLowerCase()] = E : m[E] = C, m;
|
|
14659
14674
|
}, {});
|
|
14660
|
-
return St.BOOLEAN = r, St.BOOLEANISH_STRING = n, St.NUMERIC = a, St.OVERLOADED_BOOLEAN = i, St.POSITIVE_NUMERIC = o, St.RESERVED = e, St.STRING = t, St.getPropertyInfo = l, St.isCustomAttribute = S, St.possibleStandardNames =
|
|
14675
|
+
return St.BOOLEAN = r, St.BOOLEANISH_STRING = n, St.NUMERIC = a, St.OVERLOADED_BOOLEAN = i, St.POSITIVE_NUMERIC = o, St.RESERVED = e, St.STRING = t, St.getPropertyInfo = l, St.isCustomAttribute = S, St.possibleStandardNames = y, St;
|
|
14661
14676
|
}
|
|
14662
14677
|
var Jn = {}, An = {}, ca, Vs;
|
|
14663
14678
|
function t0() {
|
|
@@ -14665,10 +14680,10 @@ function t0() {
|
|
|
14665
14680
|
Vs = 1;
|
|
14666
14681
|
var e = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, t = /\n/g, n = /^\s*/, r = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, i = /^:\s*/, a = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, o = /^[;\s]*/, l = /^\s+|\s+$/g, s = `
|
|
14667
14682
|
`, u = "/", f = "*", c = "", d = "comment", v = "declaration";
|
|
14668
|
-
ca = function(
|
|
14669
|
-
if (typeof
|
|
14683
|
+
ca = function(b, h) {
|
|
14684
|
+
if (typeof b != "string")
|
|
14670
14685
|
throw new TypeError("First argument must be a string");
|
|
14671
|
-
if (!
|
|
14686
|
+
if (!b) return [];
|
|
14672
14687
|
h = h || {};
|
|
14673
14688
|
var A = 1, x = 1;
|
|
14674
14689
|
function S(H) {
|
|
@@ -14677,7 +14692,7 @@ function t0() {
|
|
|
14677
14692
|
var Q = H.lastIndexOf(s);
|
|
14678
14693
|
x = ~Q ? H.length - Q : x + H.length;
|
|
14679
14694
|
}
|
|
14680
|
-
function
|
|
14695
|
+
function y() {
|
|
14681
14696
|
var H = { line: A, column: x };
|
|
14682
14697
|
return function(z) {
|
|
14683
14698
|
return z.position = new m(H), T(), z;
|
|
@@ -14686,18 +14701,18 @@ function t0() {
|
|
|
14686
14701
|
function m(H) {
|
|
14687
14702
|
this.start = H, this.end = { line: A, column: x }, this.source = h.source;
|
|
14688
14703
|
}
|
|
14689
|
-
m.prototype.content =
|
|
14704
|
+
m.prototype.content = b;
|
|
14690
14705
|
function E(H) {
|
|
14691
14706
|
var z = new Error(
|
|
14692
14707
|
h.source + ":" + A + ":" + x + ": " + H
|
|
14693
14708
|
);
|
|
14694
|
-
if (z.reason = H, z.filename = h.source, z.line = A, z.column = x, z.source =
|
|
14709
|
+
if (z.reason = H, z.filename = h.source, z.line = A, z.column = x, z.source = b, !h.silent) throw z;
|
|
14695
14710
|
}
|
|
14696
14711
|
function C(H) {
|
|
14697
|
-
var z = H.exec(
|
|
14712
|
+
var z = H.exec(b);
|
|
14698
14713
|
if (z) {
|
|
14699
14714
|
var Q = z[0];
|
|
14700
|
-
return S(Q),
|
|
14715
|
+
return S(Q), b = b.slice(Q.length), z;
|
|
14701
14716
|
}
|
|
14702
14717
|
}
|
|
14703
14718
|
function T() {
|
|
@@ -14710,21 +14725,21 @@ function t0() {
|
|
|
14710
14725
|
return H;
|
|
14711
14726
|
}
|
|
14712
14727
|
function L() {
|
|
14713
|
-
var H =
|
|
14714
|
-
if (!(u !=
|
|
14715
|
-
for (var z = 2; c !=
|
|
14728
|
+
var H = y();
|
|
14729
|
+
if (!(u != b.charAt(0) || f != b.charAt(1))) {
|
|
14730
|
+
for (var z = 2; c != b.charAt(z) && (f != b.charAt(z) || u != b.charAt(z + 1)); )
|
|
14716
14731
|
++z;
|
|
14717
|
-
if (z += 2, c ===
|
|
14732
|
+
if (z += 2, c === b.charAt(z - 1))
|
|
14718
14733
|
return E("End of comment missing");
|
|
14719
|
-
var Q =
|
|
14720
|
-
return x += 2, S(Q),
|
|
14734
|
+
var Q = b.slice(2, z - 2);
|
|
14735
|
+
return x += 2, S(Q), b = b.slice(z), x += 2, H({
|
|
14721
14736
|
type: d,
|
|
14722
14737
|
comment: Q
|
|
14723
14738
|
});
|
|
14724
14739
|
}
|
|
14725
14740
|
}
|
|
14726
14741
|
function k() {
|
|
14727
|
-
var H =
|
|
14742
|
+
var H = y(), z = C(r);
|
|
14728
14743
|
if (z) {
|
|
14729
14744
|
if (L(), !C(i)) return E("property missing ':'");
|
|
14730
14745
|
var Q = C(a), re = H({
|
|
@@ -14744,8 +14759,8 @@ function t0() {
|
|
|
14744
14759
|
}
|
|
14745
14760
|
return T(), W();
|
|
14746
14761
|
};
|
|
14747
|
-
function g(
|
|
14748
|
-
return
|
|
14762
|
+
function g(b) {
|
|
14763
|
+
return b ? b.replace(l, c) : c;
|
|
14749
14764
|
}
|
|
14750
14765
|
return ca;
|
|
14751
14766
|
}
|
|
@@ -14878,8 +14893,8 @@ function Ac() {
|
|
|
14878
14893
|
}
|
|
14879
14894
|
var v = c.toLowerCase(), g = o(v);
|
|
14880
14895
|
if (g) {
|
|
14881
|
-
var
|
|
14882
|
-
switch (n.includes(g) && r.includes(s) && !f && (g = o("default" + v)), u[g] = d,
|
|
14896
|
+
var b = (0, e.getPropertyInfo)(g);
|
|
14897
|
+
switch (n.includes(g) && r.includes(s) && !f && (g = o("default" + v)), u[g] = d, b && b.type) {
|
|
14883
14898
|
case e.BOOLEAN:
|
|
14884
14899
|
u[g] = !0;
|
|
14885
14900
|
break;
|
|
@@ -14913,11 +14928,11 @@ function a0() {
|
|
|
14913
14928
|
};
|
|
14914
14929
|
function a(l, s) {
|
|
14915
14930
|
s === void 0 && (s = {});
|
|
14916
|
-
for (var u = [], f = typeof s.replace == "function", c = s.transform || r.returnFirstArg, d = s.library || i, v = d.cloneElement, g = d.createElement,
|
|
14931
|
+
for (var u = [], f = typeof s.replace == "function", c = s.transform || r.returnFirstArg, d = s.library || i, v = d.cloneElement, g = d.createElement, b = d.isValidElement, h = l.length, A = 0; A < h; A++) {
|
|
14917
14932
|
var x = l[A];
|
|
14918
14933
|
if (f) {
|
|
14919
14934
|
var S = s.replace(x, A);
|
|
14920
|
-
if (
|
|
14935
|
+
if (b(S)) {
|
|
14921
14936
|
h > 1 && (S = v(S, {
|
|
14922
14937
|
key: S.key || A
|
|
14923
14938
|
})), u.push(c(S, x, A));
|
|
@@ -14925,8 +14940,8 @@ function a0() {
|
|
|
14925
14940
|
}
|
|
14926
14941
|
}
|
|
14927
14942
|
if (x.type === "text") {
|
|
14928
|
-
var
|
|
14929
|
-
if (
|
|
14943
|
+
var y = !x.data.trim().length;
|
|
14944
|
+
if (y && x.parent && !(0, r.canTextBeChildOfNode)(x.parent) || s.trim && y)
|
|
14930
14945
|
continue;
|
|
14931
14946
|
u.push(c(x.data, x, A));
|
|
14932
14947
|
continue;
|
|
@@ -15021,7 +15036,7 @@ const Qs = /* @__PURE__ */ yr(s0), u0 = Qs.default || Qs, l0 = [
|
|
|
15021
15036
|
"tr",
|
|
15022
15037
|
"ul"
|
|
15023
15038
|
], c0 = ({ props: e }) => {
|
|
15024
|
-
const t = Z(Te), n = Z(
|
|
15039
|
+
const t = Z(Te), n = Z(Be), r = Fe({ valueToEvaluate: e.content, templateContext: t, globalDataContext: n });
|
|
15025
15040
|
if (typeof r != "string")
|
|
15026
15041
|
return console.error("PreformattedMarkup: the given content is not a string."), null;
|
|
15027
15042
|
const a = [...Array.isArray(e.htmlTagAllowList) ? e.htmlTagAllowList : l0, ...e.additionalAllowedTags ?? []];
|
|
@@ -15036,7 +15051,7 @@ const Qs = /* @__PURE__ */ yr(s0), u0 = Qs.default || Qs, l0 = [
|
|
|
15036
15051
|
const t = Z(Te);
|
|
15037
15052
|
return /* @__PURE__ */ R(Ve, { ...e, children: (r = (n = t.sortableTreeData)._treeAddCollapseButton) == null ? void 0 : r.call(n) });
|
|
15038
15053
|
}, d0 = ({ currentData: e, path: t, props: n }) => {
|
|
15039
|
-
const r = Z(
|
|
15054
|
+
const r = Z(Be), i = Z(Te), a = Ct(n.attributes);
|
|
15040
15055
|
return /* @__PURE__ */ R(Ve, { ...n, children: /* @__PURE__ */ R(Ml, { ...a, children: Array.isArray(n.tabs) && n.tabs.map((o, l) => {
|
|
15041
15056
|
var u;
|
|
15042
15057
|
const s = nn({
|
|
@@ -15107,7 +15122,7 @@ const h0 = (e, t = "", n = {}) => {
|
|
|
15107
15122
|
return a(e, t), r;
|
|
15108
15123
|
}, Ia = (e, ...t) => t.length ? Ia(e = e.replace(Ia.token || "$token", t.shift()), ...t) : e, m0 = ({ templateContexts: e }, t, ...n) => {
|
|
15109
15124
|
const r = n.map(
|
|
15110
|
-
(i) =>
|
|
15125
|
+
(i) => Fe({
|
|
15111
15126
|
globalDataContext: e.globalDataContext,
|
|
15112
15127
|
templateContext: e.templateContext,
|
|
15113
15128
|
valueToEvaluate: i
|
|
@@ -15123,10 +15138,10 @@ const h0 = (e, t = "", n = {}) => {
|
|
|
15123
15138
|
}
|
|
15124
15139
|
return "";
|
|
15125
15140
|
}, g0 = ({ props: e }) => {
|
|
15126
|
-
const t = Z(
|
|
15141
|
+
const t = Z(Be), n = Z(Te), {
|
|
15127
15142
|
context: r = "global",
|
|
15128
15143
|
jsonPathPattern: i
|
|
15129
|
-
} = e, o = Z(r === "template" ? Te :
|
|
15144
|
+
} = e, o = Z(r === "template" ? Te : Be);
|
|
15130
15145
|
if (!i)
|
|
15131
15146
|
return null;
|
|
15132
15147
|
const l = v0({
|
|
@@ -15138,7 +15153,7 @@ const h0 = (e, t = "", n = {}) => {
|
|
|
15138
15153
|
return jl.query(s, l).length;
|
|
15139
15154
|
}, y0 = (e) => {
|
|
15140
15155
|
var l, s;
|
|
15141
|
-
const t = Z(
|
|
15156
|
+
const t = Z(Be), n = Z(Te), r = { globalDataContext: t, templateContext: n }, {
|
|
15142
15157
|
contextToFilter: i = "global",
|
|
15143
15158
|
filters: a = []
|
|
15144
15159
|
} = e.props, o = (u) => {
|
|
@@ -15153,9 +15168,9 @@ const h0 = (e, t = "", n = {}) => {
|
|
|
15153
15168
|
[
|
|
15154
15169
|
"whenFilterableData",
|
|
15155
15170
|
({ condition: v }) => {
|
|
15156
|
-
const
|
|
15171
|
+
const b = v.whenFilterableData.split(".");
|
|
15157
15172
|
let h = u;
|
|
15158
|
-
for (const A of
|
|
15173
|
+
for (const A of b) {
|
|
15159
15174
|
const x = parseInt(A);
|
|
15160
15175
|
if (h = h[isNaN(x) ? A : x], h === void 0)
|
|
15161
15176
|
return;
|
|
@@ -15182,7 +15197,7 @@ const h0 = (e, t = "", n = {}) => {
|
|
|
15182
15197
|
) });
|
|
15183
15198
|
case "global":
|
|
15184
15199
|
default:
|
|
15185
|
-
return t.templateData = li(t.templateData, o), /* @__PURE__ */ R(
|
|
15200
|
+
return t.templateData = li(t.templateData, o), /* @__PURE__ */ R(Be.Provider, { value: t, children: /* @__PURE__ */ R(
|
|
15186
15201
|
De,
|
|
15187
15202
|
{
|
|
15188
15203
|
props: e.props.content,
|
|
@@ -15210,7 +15225,7 @@ const h0 = (e, t = "", n = {}) => {
|
|
|
15210
15225
|
} else
|
|
15211
15226
|
return e;
|
|
15212
15227
|
}, b0 = ({ props: e, currentData: t, path: n }) => {
|
|
15213
|
-
const r = Z(
|
|
15228
|
+
const r = Z(Be), i = Z(Te), a = Array.isArray(e.delayedActions) ? e.delayedActions : [], o = { globalDataContext: r, templateContext: i };
|
|
15214
15229
|
return me(() => {
|
|
15215
15230
|
if (!e.interval)
|
|
15216
15231
|
return;
|
|
@@ -15299,7 +15314,7 @@ function C0({ config: e, globalDataContext: t, templateContext: n, responseData:
|
|
|
15299
15314
|
function f({ destinationDataLocation: c, mappingConfig: d, sourceDataRetriever: v }) {
|
|
15300
15315
|
const {
|
|
15301
15316
|
value: g,
|
|
15302
|
-
required:
|
|
15317
|
+
required: b = !0,
|
|
15303
15318
|
defaultValue: h
|
|
15304
15319
|
} = d;
|
|
15305
15320
|
let A = "";
|
|
@@ -15326,10 +15341,10 @@ function C0({ config: e, globalDataContext: t, templateContext: n, responseData:
|
|
|
15326
15341
|
updateMode: A
|
|
15327
15342
|
};
|
|
15328
15343
|
} catch {
|
|
15329
|
-
if (
|
|
15344
|
+
if (b)
|
|
15330
15345
|
throw new Error("simpleMapping: Required value not found in response data: " + g + ".");
|
|
15331
15346
|
if (h !== void 0) {
|
|
15332
|
-
const
|
|
15347
|
+
const y = wt({
|
|
15333
15348
|
valueToEvaluate: h,
|
|
15334
15349
|
globalDataContext: t,
|
|
15335
15350
|
templateContext: n,
|
|
@@ -15337,7 +15352,7 @@ function C0({ config: e, globalDataContext: t, templateContext: n, responseData:
|
|
|
15337
15352
|
});
|
|
15338
15353
|
return {
|
|
15339
15354
|
destinationPath: x,
|
|
15340
|
-
value:
|
|
15355
|
+
value: y,
|
|
15341
15356
|
updateMode: A
|
|
15342
15357
|
};
|
|
15343
15358
|
}
|
|
@@ -15648,8 +15663,8 @@ function Ii(e, t, n) {
|
|
|
15648
15663
|
metaTokens: !0,
|
|
15649
15664
|
dots: !1,
|
|
15650
15665
|
indexes: !1
|
|
15651
|
-
}, !1, function(
|
|
15652
|
-
return !B.isUndefined(h[
|
|
15666
|
+
}, !1, function(b, h) {
|
|
15667
|
+
return !B.isUndefined(h[b]);
|
|
15653
15668
|
});
|
|
15654
15669
|
const r = n.metaTokens, i = n.visitor || f, a = n.dots, o = n.indexes, s = (n.Blob || typeof Blob < "u" && Blob) && B.isSpecCompliantForm(t);
|
|
15655
15670
|
if (!B.isFunction(i))
|
|
@@ -15662,39 +15677,39 @@ function Ii(e, t, n) {
|
|
|
15662
15677
|
throw new Ee("Blob is not supported. Use a Buffer instead.");
|
|
15663
15678
|
return B.isArrayBuffer(g) || B.isTypedArray(g) ? s && typeof Blob == "function" ? new Blob([g]) : Buffer.from(g) : g;
|
|
15664
15679
|
}
|
|
15665
|
-
function f(g,
|
|
15680
|
+
function f(g, b, h) {
|
|
15666
15681
|
let A = g;
|
|
15667
15682
|
if (g && !h && typeof g == "object") {
|
|
15668
|
-
if (B.endsWith(
|
|
15669
|
-
|
|
15670
|
-
else if (B.isArray(g) && cy(g) || (B.isFileList(g) || B.endsWith(
|
|
15671
|
-
return
|
|
15683
|
+
if (B.endsWith(b, "{}"))
|
|
15684
|
+
b = r ? b : b.slice(0, -2), g = JSON.stringify(g);
|
|
15685
|
+
else if (B.isArray(g) && cy(g) || (B.isFileList(g) || B.endsWith(b, "[]")) && (A = B.toArray(g)))
|
|
15686
|
+
return b = Nc(b), A.forEach(function(S, y) {
|
|
15672
15687
|
!(B.isUndefined(S) || S === null) && t.append(
|
|
15673
15688
|
// eslint-disable-next-line no-nested-ternary
|
|
15674
|
-
o === !0 ? nu([
|
|
15689
|
+
o === !0 ? nu([b], y, a) : o === null ? b : b + "[]",
|
|
15675
15690
|
u(S)
|
|
15676
15691
|
);
|
|
15677
15692
|
}), !1;
|
|
15678
15693
|
}
|
|
15679
|
-
return Na(g) ? !0 : (t.append(nu(h,
|
|
15694
|
+
return Na(g) ? !0 : (t.append(nu(h, b, a), u(g)), !1);
|
|
15680
15695
|
}
|
|
15681
15696
|
const c = [], d = Object.assign(fy, {
|
|
15682
15697
|
defaultVisitor: f,
|
|
15683
15698
|
convertValue: u,
|
|
15684
15699
|
isVisitable: Na
|
|
15685
15700
|
});
|
|
15686
|
-
function v(g,
|
|
15701
|
+
function v(g, b) {
|
|
15687
15702
|
if (!B.isUndefined(g)) {
|
|
15688
15703
|
if (c.indexOf(g) !== -1)
|
|
15689
|
-
throw Error("Circular reference detected in " +
|
|
15704
|
+
throw Error("Circular reference detected in " + b.join("."));
|
|
15690
15705
|
c.push(g), B.forEach(g, function(A, x) {
|
|
15691
15706
|
(!(B.isUndefined(A) || A === null) && i.call(
|
|
15692
15707
|
t,
|
|
15693
15708
|
A,
|
|
15694
15709
|
B.isString(x) ? x.trim() : x,
|
|
15695
|
-
|
|
15710
|
+
b,
|
|
15696
15711
|
d
|
|
15697
|
-
)) === !0 && v(A,
|
|
15712
|
+
)) === !0 && v(A, b ? b.concat(x) : [x]);
|
|
15698
15713
|
}), c.pop();
|
|
15699
15714
|
}
|
|
15700
15715
|
}
|
|
@@ -16357,7 +16372,7 @@ const Hc = (e) => {
|
|
|
16357
16372
|
let a = i.data;
|
|
16358
16373
|
const o = gt.from(i.headers).normalize();
|
|
16359
16374
|
let { responseType: l, onUploadProgress: s, onDownloadProgress: u } = i, f, c, d, v, g;
|
|
16360
|
-
function
|
|
16375
|
+
function b() {
|
|
16361
16376
|
v && v(), g && g(), i.cancelToken && i.cancelToken.unsubscribe(f), i.signal && i.signal.removeEventListener("abort", f);
|
|
16362
16377
|
}
|
|
16363
16378
|
let h = new XMLHttpRequest();
|
|
@@ -16376,9 +16391,9 @@ const Hc = (e) => {
|
|
|
16376
16391
|
request: h
|
|
16377
16392
|
};
|
|
16378
16393
|
$c(function(C) {
|
|
16379
|
-
n(C),
|
|
16394
|
+
n(C), b();
|
|
16380
16395
|
}, function(C) {
|
|
16381
|
-
r(C),
|
|
16396
|
+
r(C), b();
|
|
16382
16397
|
}, m), h = null;
|
|
16383
16398
|
}
|
|
16384
16399
|
"onloadend" in h ? h.onloadend = A : h.onreadystatechange = function() {
|
|
@@ -16388,16 +16403,16 @@ const Hc = (e) => {
|
|
|
16388
16403
|
}, h.onerror = function() {
|
|
16389
16404
|
r(new Ee("Network Error", Ee.ERR_NETWORK, e, h)), h = null;
|
|
16390
16405
|
}, h.ontimeout = function() {
|
|
16391
|
-
let
|
|
16406
|
+
let y = i.timeout ? "timeout of " + i.timeout + "ms exceeded" : "timeout exceeded";
|
|
16392
16407
|
const m = i.transitional || Lc;
|
|
16393
|
-
i.timeoutErrorMessage && (
|
|
16394
|
-
|
|
16408
|
+
i.timeoutErrorMessage && (y = i.timeoutErrorMessage), r(new Ee(
|
|
16409
|
+
y,
|
|
16395
16410
|
m.clarifyTimeoutError ? Ee.ETIMEDOUT : Ee.ECONNABORTED,
|
|
16396
16411
|
e,
|
|
16397
16412
|
h
|
|
16398
16413
|
)), h = null;
|
|
16399
|
-
}, a === void 0 && o.setContentType(null), "setRequestHeader" in h && B.forEach(o.toJSON(), function(
|
|
16400
|
-
h.setRequestHeader(m,
|
|
16414
|
+
}, a === void 0 && o.setContentType(null), "setRequestHeader" in h && B.forEach(o.toJSON(), function(y, m) {
|
|
16415
|
+
h.setRequestHeader(m, y);
|
|
16401
16416
|
}), B.isUndefined(i.withCredentials) || (h.withCredentials = !!i.withCredentials), l && l !== "json" && (h.responseType = i.responseType), u && ([d, g] = ci(u, !0), h.addEventListener("progress", d)), s && h.upload && ([c, v] = ci(s), h.upload.addEventListener("progress", c), h.upload.addEventListener("loadend", v)), (i.cancelToken || i.signal) && (f = (S) => {
|
|
16402
16417
|
h && (r(!S || S.type ? new zn(null, e, h) : S), h.abort(), h = null);
|
|
16403
16418
|
}, i.cancelToken && i.cancelToken.subscribe(f), i.signal && (i.signal.aborted ? f() : i.signal.addEventListener("abort", f)));
|
|
@@ -16548,7 +16563,7 @@ const Wy = async (e) => {
|
|
|
16548
16563
|
} = Hc(e);
|
|
16549
16564
|
u = u ? (u + "").toLowerCase() : "text";
|
|
16550
16565
|
let v = $y([i, a && a.toAbortSignal()], o), g;
|
|
16551
|
-
const
|
|
16566
|
+
const b = v && v.unsubscribe && (() => {
|
|
16552
16567
|
v.unsubscribe();
|
|
16553
16568
|
});
|
|
16554
16569
|
let h;
|
|
@@ -16580,7 +16595,7 @@ const Wy = async (e) => {
|
|
|
16580
16595
|
});
|
|
16581
16596
|
let x = await fetch(g);
|
|
16582
16597
|
const S = Ba && (u === "stream" || u === "response");
|
|
16583
|
-
if (Ba && (l || S &&
|
|
16598
|
+
if (Ba && (l || S && b)) {
|
|
16584
16599
|
const m = {};
|
|
16585
16600
|
["status", "statusText", "headers"].forEach((I) => {
|
|
16586
16601
|
m[I] = x[I];
|
|
@@ -16591,16 +16606,16 @@ const Wy = async (e) => {
|
|
|
16591
16606
|
) || [];
|
|
16592
16607
|
x = new Response(
|
|
16593
16608
|
lu(x.body, cu, C, () => {
|
|
16594
|
-
T && T(),
|
|
16609
|
+
T && T(), b && b();
|
|
16595
16610
|
}),
|
|
16596
16611
|
m
|
|
16597
16612
|
);
|
|
16598
16613
|
}
|
|
16599
16614
|
u = u || "text";
|
|
16600
|
-
let
|
|
16601
|
-
return !S &&
|
|
16615
|
+
let y = await fi[B.findKey(fi, u) || "text"](x, e);
|
|
16616
|
+
return !S && b && b(), await new Promise((m, E) => {
|
|
16602
16617
|
$c(m, E, {
|
|
16603
|
-
data:
|
|
16618
|
+
data: y,
|
|
16604
16619
|
headers: gt.from(x.headers),
|
|
16605
16620
|
status: x.status,
|
|
16606
16621
|
statusText: x.statusText,
|
|
@@ -16609,7 +16624,7 @@ const Wy = async (e) => {
|
|
|
16609
16624
|
});
|
|
16610
16625
|
});
|
|
16611
16626
|
} catch (A) {
|
|
16612
|
-
throw
|
|
16627
|
+
throw b && b(), A && A.name === "TypeError" && /Load failed|fetch/i.test(A.message) ? Object.assign(
|
|
16613
16628
|
new Ee("Network Error", Ee.ERR_NETWORK, e, g),
|
|
16614
16629
|
{
|
|
16615
16630
|
cause: A.cause || A
|
|
@@ -16792,12 +16807,12 @@ let mn = class {
|
|
|
16792
16807
|
), n.headers = gt.concat(o, a);
|
|
16793
16808
|
const l = [];
|
|
16794
16809
|
let s = !0;
|
|
16795
|
-
this.interceptors.request.forEach(function(
|
|
16796
|
-
typeof
|
|
16810
|
+
this.interceptors.request.forEach(function(b) {
|
|
16811
|
+
typeof b.runWhen == "function" && b.runWhen(n) === !1 || (s = s && b.synchronous, l.unshift(b.fulfilled, b.rejected));
|
|
16797
16812
|
});
|
|
16798
16813
|
const u = [];
|
|
16799
|
-
this.interceptors.response.forEach(function(
|
|
16800
|
-
u.push(
|
|
16814
|
+
this.interceptors.response.forEach(function(b) {
|
|
16815
|
+
u.push(b.fulfilled, b.rejected);
|
|
16801
16816
|
});
|
|
16802
16817
|
let f, c = 0, d;
|
|
16803
16818
|
if (!s) {
|
|
@@ -16809,11 +16824,11 @@ let mn = class {
|
|
|
16809
16824
|
d = l.length;
|
|
16810
16825
|
let v = n;
|
|
16811
16826
|
for (c = 0; c < d; ) {
|
|
16812
|
-
const g = l[c++],
|
|
16827
|
+
const g = l[c++], b = l[c++];
|
|
16813
16828
|
try {
|
|
16814
16829
|
v = g(v);
|
|
16815
16830
|
} catch (h) {
|
|
16816
|
-
|
|
16831
|
+
b.call(this, h);
|
|
16817
16832
|
break;
|
|
16818
16833
|
}
|
|
16819
16834
|
}
|
|
@@ -17065,8 +17080,8 @@ const {
|
|
|
17065
17080
|
rjBuildUrl: v,
|
|
17066
17081
|
upstreamUpdateCallbacks: g
|
|
17067
17082
|
}) => {
|
|
17068
|
-
const
|
|
17069
|
-
t && (
|
|
17083
|
+
const b = [];
|
|
17084
|
+
t && (b.push({ deprecatedProperty: "dataFetchMethod", newProperty: "rjBuildFetchMethod" }), d = t), n && (b.push({ deprecatedProperty: "dataUrl", newProperty: "rjBuildUrl" }), v = n), l && (b.push({ deprecatedProperty: "headersForData", newProperty: "headersForRjBuild" }), s = l), u && (b.push({ deprecatedProperty: "maybeRawAppData", newProperty: "maybeRawAppRjBuild" }), f = u), b.length > 0 && console.warn("A ReactiveJsonRoot component got the following deprecated properties that must be replaced: " + b.map((j) => j.deprecatedProperty + " -> " + j.newProperty).join(", "));
|
|
17070
17085
|
const [h, A] = Ua((j, ie) => {
|
|
17071
17086
|
switch (ie.type) {
|
|
17072
17087
|
case "setData":
|
|
@@ -17076,7 +17091,7 @@ const {
|
|
|
17076
17091
|
default:
|
|
17077
17092
|
return j;
|
|
17078
17093
|
}
|
|
17079
|
-
}, { updateId: 0, realCurrentData: {} }), [x, S] = Oe({}), [
|
|
17094
|
+
}, { updateId: 0, realCurrentData: {} }), [x, S] = Oe({}), [y, m] = Oe({}), [E, C] = Oe([]), [T, I] = Oe(() => {
|
|
17080
17095
|
if (f)
|
|
17081
17096
|
return typeof f == "string" ? f : JSON.stringify(f);
|
|
17082
17097
|
}), L = c ? Mf([eu, c]) : eu;
|
|
@@ -17295,13 +17310,13 @@ const {
|
|
|
17295
17310
|
De,
|
|
17296
17311
|
{
|
|
17297
17312
|
datafield: j,
|
|
17298
|
-
props:
|
|
17313
|
+
props: y[j],
|
|
17299
17314
|
path: "data." + j,
|
|
17300
17315
|
currentData: (ie = h.realCurrentData) == null ? void 0 : ie[j]
|
|
17301
17316
|
},
|
|
17302
17317
|
j
|
|
17303
17318
|
);
|
|
17304
|
-
}), re = $f(r), Y = /* @__PURE__ */ R(Nf, { children: /* @__PURE__ */
|
|
17319
|
+
}), re = $f(r), Y = /* @__PURE__ */ R(Nf, { children: /* @__PURE__ */ ze(
|
|
17305
17320
|
jf,
|
|
17306
17321
|
{
|
|
17307
17322
|
value: {
|
|
@@ -17323,7 +17338,7 @@ const {
|
|
|
17323
17338
|
return re && i ? /* @__PURE__ */ R(o, { children: Y }) : Y;
|
|
17324
17339
|
}, tb = ({ props: e }) => {
|
|
17325
17340
|
var l;
|
|
17326
|
-
const t = Z(
|
|
17341
|
+
const t = Z(Be), n = Z(Te), r = wt({
|
|
17327
17342
|
valueToEvaluate: e == null ? void 0 : e.rjOptions,
|
|
17328
17343
|
globalDataContext: t,
|
|
17329
17344
|
templateContext: n
|
|
@@ -17338,15 +17353,15 @@ const {
|
|
|
17338
17353
|
for (const [u, f] of s) {
|
|
17339
17354
|
const c = (d, v, g) => {
|
|
17340
17355
|
try {
|
|
17341
|
-
const
|
|
17356
|
+
const b = lt({
|
|
17342
17357
|
dataLocation: f,
|
|
17343
17358
|
currentPath: n.templatePath,
|
|
17344
17359
|
globalDataContext: t,
|
|
17345
17360
|
templateContext: n
|
|
17346
|
-
}), h = v ? `${
|
|
17361
|
+
}), h = v ? `${b}.${v}` : b;
|
|
17347
17362
|
t.updateData(d, h, g);
|
|
17348
|
-
} catch (
|
|
17349
|
-
console.warn(`Error during upstream propagation for ${f}:`,
|
|
17363
|
+
} catch (b) {
|
|
17364
|
+
console.warn(`Error during upstream propagation for ${f}:`, b);
|
|
17350
17365
|
}
|
|
17351
17366
|
};
|
|
17352
17367
|
i.set(u, c);
|
|
@@ -17370,7 +17385,7 @@ const {
|
|
|
17370
17385
|
}
|
|
17371
17386
|
) });
|
|
17372
17387
|
}, nb = ({ props: e, currentData: t, path: n }) => {
|
|
17373
|
-
const r = Z(
|
|
17388
|
+
const r = Z(Be), i = Z(Te), a = (e == null ? void 0 : e.cardinality) ?? -1, o = (e == null ? void 0 : e.options) ?? [], l = (e == null ? void 0 : e.singleOption) ?? void 0, s = !!l, u = (e == null ? void 0 : e.content) ?? null, f = u && Fe({
|
|
17374
17389
|
globalDataContext: r,
|
|
17375
17390
|
templateContext: i,
|
|
17376
17391
|
valueToEvaluate: u
|
|
@@ -17378,13 +17393,13 @@ const {
|
|
|
17378
17393
|
const S = A;
|
|
17379
17394
|
if (a >= 1 && S >= a || !x || typeof x != "object")
|
|
17380
17395
|
return null;
|
|
17381
|
-
let
|
|
17396
|
+
let y, m, E;
|
|
17382
17397
|
if (s)
|
|
17383
17398
|
m = x, E = l;
|
|
17384
17399
|
else {
|
|
17385
|
-
if (
|
|
17400
|
+
if (y = Object.keys(x)[0] ?? void 0, y === void 0)
|
|
17386
17401
|
return null;
|
|
17387
|
-
m = Object.values(x)[0] ?? void 0, E = o[
|
|
17402
|
+
m = Object.values(x)[0] ?? void 0, E = o[y] ?? void 0;
|
|
17388
17403
|
}
|
|
17389
17404
|
if (E === void 0)
|
|
17390
17405
|
return null;
|
|
@@ -17394,7 +17409,7 @@ const {
|
|
|
17394
17409
|
globalDataContext: r,
|
|
17395
17410
|
templateContext: i
|
|
17396
17411
|
}) || n) + "." + S;
|
|
17397
|
-
return s || (C += "." +
|
|
17412
|
+
return s || (C += "." + y), /* @__PURE__ */ R(
|
|
17398
17413
|
De,
|
|
17399
17414
|
{
|
|
17400
17415
|
currentData: m,
|
|
@@ -17409,7 +17424,7 @@ const {
|
|
|
17409
17424
|
dataToPaginate: d,
|
|
17410
17425
|
...(e == null ? void 0 : e.paginationProps) ?? {}
|
|
17411
17426
|
}
|
|
17412
|
-
), g = e != null && e.paginated ? d.slice(v.firstShownItemIndex, v.maxShownItemIndexExcluded) : d,
|
|
17427
|
+
), g = e != null && e.paginated ? d.slice(v.firstShownItemIndex, v.maxShownItemIndexExcluded) : d, b = e != null && e.contentWrapper ? pi(
|
|
17413
17428
|
e.contentWrapper.tag ?? "div",
|
|
17414
17429
|
nn({
|
|
17415
17430
|
attrs: e.contentWrapper.attributes ?? {},
|
|
@@ -17418,7 +17433,7 @@ const {
|
|
|
17418
17433
|
templateContext: i
|
|
17419
17434
|
}),
|
|
17420
17435
|
g
|
|
17421
|
-
) : g, h = /* @__PURE__ */
|
|
17436
|
+
) : g, h = /* @__PURE__ */ ze(Ot, { children: [
|
|
17422
17437
|
(e == null ? void 0 : e.before) && /* @__PURE__ */ R(
|
|
17423
17438
|
De,
|
|
17424
17439
|
{
|
|
@@ -17428,7 +17443,7 @@ const {
|
|
|
17428
17443
|
props: e == null ? void 0 : e.before
|
|
17429
17444
|
}
|
|
17430
17445
|
),
|
|
17431
|
-
|
|
17446
|
+
b,
|
|
17432
17447
|
(e == null ? void 0 : e.after) && /* @__PURE__ */ R(
|
|
17433
17448
|
De,
|
|
17434
17449
|
{
|
|
@@ -17442,7 +17457,7 @@ const {
|
|
|
17442
17457
|
return /* @__PURE__ */ R(Ve, { ...e, children: e != null && e.paginated ? /* @__PURE__ */ R(kf.Provider, { value: { pagination: v }, children: h }) : h });
|
|
17443
17458
|
};
|
|
17444
17459
|
function De({ props: e, currentData: t, datafield: n, path: r }) {
|
|
17445
|
-
const i = Z(
|
|
17460
|
+
const i = Z(Be), a = Z(Te), o = i.plugins ?? {}, l = {
|
|
17446
17461
|
AccordionItem: Om,
|
|
17447
17462
|
CheckBoxField: gm,
|
|
17448
17463
|
Count: g0,
|
|
@@ -17508,13 +17523,13 @@ function De({ props: e, currentData: t, datafield: n, path: r }) {
|
|
|
17508
17523
|
let f;
|
|
17509
17524
|
const c = (e == null ? void 0 : e.customDataLocation) ?? void 0;
|
|
17510
17525
|
if (c) debugger;
|
|
17511
|
-
const d = c ?
|
|
17526
|
+
const d = c ? Fe({
|
|
17512
17527
|
globalDataContext: i,
|
|
17513
17528
|
templateContext: a,
|
|
17514
17529
|
valueToEvaluate: c
|
|
17515
17530
|
}) : t, v = c ? lt({ dataLocation: c, currentPath: r, globalDataContext: i, templateContext: a }) : r;
|
|
17516
17531
|
typeof e.load == "function" ? f = e.load(d) : f = u[e.load];
|
|
17517
|
-
const { load: g, customDataLocation:
|
|
17532
|
+
const { load: g, customDataLocation: b, ...h } = e;
|
|
17518
17533
|
return f = { ...f, ...h }, e.keepTemplateContext ? /* @__PURE__ */ R(
|
|
17519
17534
|
De,
|
|
17520
17535
|
{
|
|
@@ -17571,7 +17586,7 @@ const ja = (e) => {
|
|
|
17571
17586
|
}
|
|
17572
17587
|
return n;
|
|
17573
17588
|
}, ha = ({ props: e, currentData: t, datafield: n, path: r }) => {
|
|
17574
|
-
const i = Z(
|
|
17589
|
+
const i = Z(Be), a = Z(Te), o = `${e.tag}`, l = e.extra ?? {}, s = ja(e.attributes), u = ja(t.attributes);
|
|
17575
17590
|
for (const d of Object.keys(u)) {
|
|
17576
17591
|
if (d.charAt(0) === "+") {
|
|
17577
17592
|
const v = d.substring(1);
|
|
@@ -17581,7 +17596,7 @@ const ja = (e) => {
|
|
|
17581
17596
|
s[d] = u[d];
|
|
17582
17597
|
}
|
|
17583
17598
|
const f = nn({ attrs: s, globalDataContext: i, templateContext: a });
|
|
17584
|
-
return /* @__PURE__ */ R(Ve, { ...e, children: ((d) => d && ["area", "base", "br", "col", "embed", "hr", "img", "input", "link", "meta", "param", "source", "track", "wbr"].indexOf(d) !== -1)(e.tag) ? /* @__PURE__ */
|
|
17599
|
+
return /* @__PURE__ */ R(Ve, { ...e, children: ((d) => d && ["area", "base", "br", "col", "embed", "hr", "img", "input", "link", "meta", "param", "source", "track", "wbr"].indexOf(d) !== -1)(e.tag) ? /* @__PURE__ */ ze(Ot, { children: [
|
|
17585
17600
|
/* @__PURE__ */ R(o, { ...f }),
|
|
17586
17601
|
Object.keys(l).length ? /* @__PURE__ */ R(
|
|
17587
17602
|
De,
|
|
@@ -17589,7 +17604,7 @@ const ja = (e) => {
|
|
|
17589
17604
|
props: l
|
|
17590
17605
|
}
|
|
17591
17606
|
) : ""
|
|
17592
|
-
] }) : /* @__PURE__ */
|
|
17607
|
+
] }) : /* @__PURE__ */ ze(Ot, { children: [
|
|
17593
17608
|
/* @__PURE__ */ R(o, { ...f, children: e.content && /* @__PURE__ */ R(
|
|
17594
17609
|
De,
|
|
17595
17610
|
{
|
|
@@ -17638,7 +17653,7 @@ const ja = (e) => {
|
|
|
17638
17653
|
l && (i[o] = l);
|
|
17639
17654
|
}
|
|
17640
17655
|
return i;
|
|
17641
|
-
},
|
|
17656
|
+
}, Fe = ({ valueToEvaluate: e, globalDataContext: t, templateContext: n }) => {
|
|
17642
17657
|
if (!gr(e))
|
|
17643
17658
|
return e;
|
|
17644
17659
|
if (e === "~")
|
|
@@ -17665,7 +17680,7 @@ const ja = (e) => {
|
|
|
17665
17680
|
if (typeof e == "object") {
|
|
17666
17681
|
a = Array.isArray(e) ? [] : {};
|
|
17667
17682
|
for (const [o, l] of Object.entries(e)) {
|
|
17668
|
-
const s =
|
|
17683
|
+
const s = Fe({
|
|
17669
17684
|
globalDataContext: t,
|
|
17670
17685
|
templateContext: n,
|
|
17671
17686
|
valueToEvaluate: l
|
|
@@ -17678,7 +17693,7 @@ const ja = (e) => {
|
|
|
17678
17693
|
}) : a[o] = s;
|
|
17679
17694
|
}
|
|
17680
17695
|
} else
|
|
17681
|
-
a =
|
|
17696
|
+
a = Fe({
|
|
17682
17697
|
globalDataContext: t,
|
|
17683
17698
|
templateContext: n,
|
|
17684
17699
|
valueToEvaluate: e
|
|
@@ -17690,14 +17705,14 @@ const ja = (e) => {
|
|
|
17690
17705
|
}));
|
|
17691
17706
|
return a;
|
|
17692
17707
|
}, gr = (e) => typeof e != "string" || !(e.startsWith("~.") || e.startsWith("~~.") || e.startsWith("~>") || e.startsWith("~~>") || e === "~" || e === "~~") ? !1 : e, rb = ({ valueToEvaluate: e }) => {
|
|
17693
|
-
const t = Z(
|
|
17694
|
-
return
|
|
17708
|
+
const t = Z(Be), n = Z(Te);
|
|
17709
|
+
return Fe({
|
|
17695
17710
|
globalDataContext: t,
|
|
17696
17711
|
templateContext: n,
|
|
17697
17712
|
valueToEvaluate: e
|
|
17698
17713
|
});
|
|
17699
17714
|
}, Ct = (e, t = {}) => {
|
|
17700
|
-
const n = Z(
|
|
17715
|
+
const n = Z(Be), r = Z(Te);
|
|
17701
17716
|
return nn(
|
|
17702
17717
|
{
|
|
17703
17718
|
attrs: e,
|
|
@@ -17724,29 +17739,29 @@ const ja = (e) => {
|
|
|
17724
17739
|
delete W.dataset.htmlBuilderIsSubmitting, a && delete W.dataset.htmlBuilderIsSubmittingSilently, H != null && H.dataset && delete H.dataset.isSubmitting;
|
|
17725
17740
|
}, l = r == null ? void 0 : r.currentTarget;
|
|
17726
17741
|
l != null && l.dataset && (l.dataset.isSubmitting = "true");
|
|
17727
|
-
const { globalDataContext: s, templateContext: u } = e, f = s.getRootContext ? s.getRootContext() : s, c = (E = e == null ? void 0 : e.args) == null ? void 0 : E.dataMapping, d = ((C = e == null ? void 0 : e.args) == null ? void 0 : C.refreshAppOnResponse) ?? !0, v = ((T = e == null ? void 0 : e.args) == null ? void 0 : T.updateOnlyData) ?? !1, g = (I = e == null ? void 0 : e.args) == null ? void 0 : I.updateDataAtLocation,
|
|
17742
|
+
const { globalDataContext: s, templateContext: u } = e, f = s.getRootContext ? s.getRootContext() : s, c = (E = e == null ? void 0 : e.args) == null ? void 0 : E.dataMapping, d = ((C = e == null ? void 0 : e.args) == null ? void 0 : C.refreshAppOnResponse) ?? !0, v = ((T = e == null ? void 0 : e.args) == null ? void 0 : T.updateOnlyData) ?? !1, g = (I = e == null ? void 0 : e.args) == null ? void 0 : I.updateDataAtLocation, b = Fe({
|
|
17728
17743
|
valueToEvaluate: (L = e == null ? void 0 : e.args) == null ? void 0 : L.url,
|
|
17729
17744
|
globalDataContext: f,
|
|
17730
17745
|
templateContext: u
|
|
17731
17746
|
});
|
|
17732
|
-
if (!
|
|
17747
|
+
if (!b) {
|
|
17733
17748
|
o(i, l);
|
|
17734
17749
|
return;
|
|
17735
17750
|
}
|
|
17736
|
-
const h = f.headersForRjBuild ?? {}, { setData: A, setRawAppRjBuild: x, updateData: S } = f,
|
|
17751
|
+
const h = f.headersForRjBuild ?? {}, { setData: A, setRawAppRjBuild: x, updateData: S } = f, y = {
|
|
17737
17752
|
method: t.method,
|
|
17738
|
-
url:
|
|
17753
|
+
url: b,
|
|
17739
17754
|
...t.data ? { data: t.data } : {}
|
|
17740
17755
|
};
|
|
17741
|
-
Object.keys(h).length > 0 && (
|
|
17756
|
+
Object.keys(h).length > 0 && (y.headers = h);
|
|
17742
17757
|
const m = ((k = f.plugins) == null ? void 0 : k.dataProcessor) || {};
|
|
17743
|
-
Ue(
|
|
17758
|
+
Ue(y).then((W) => {
|
|
17744
17759
|
if (d) {
|
|
17745
17760
|
const H = {
|
|
17746
|
-
url:
|
|
17747
|
-
method:
|
|
17748
|
-
headers:
|
|
17749
|
-
body:
|
|
17761
|
+
url: y.url,
|
|
17762
|
+
method: y.method,
|
|
17763
|
+
headers: y.headers || {},
|
|
17764
|
+
body: y.data
|
|
17750
17765
|
}, z = {
|
|
17751
17766
|
headers: W.headers || {},
|
|
17752
17767
|
status: W.status,
|
|
@@ -17836,7 +17851,7 @@ const ja = (e) => {
|
|
|
17836
17851
|
increment: o
|
|
17837
17852
|
}, a, "move");
|
|
17838
17853
|
}, sb = (e) => {
|
|
17839
|
-
var a, o, l, s, u, f, c, d, v, g,
|
|
17854
|
+
var a, o, l, s, u, f, c, d, v, g, b;
|
|
17840
17855
|
const n = {
|
|
17841
17856
|
parent: window.parent,
|
|
17842
17857
|
self: window
|
|
@@ -17849,7 +17864,7 @@ const ja = (e) => {
|
|
|
17849
17864
|
let h;
|
|
17850
17865
|
switch ((v = (d = e == null ? void 0 : e.event) == null ? void 0 : d.target) == null ? void 0 : v.type) {
|
|
17851
17866
|
case "checkbox":
|
|
17852
|
-
h = (
|
|
17867
|
+
h = (b = (g = e == null ? void 0 : e.event) == null ? void 0 : g.target) == null ? void 0 : b.checked;
|
|
17853
17868
|
break;
|
|
17854
17869
|
}
|
|
17855
17870
|
i.changedValue = h;
|
|
@@ -17857,7 +17872,7 @@ const ja = (e) => {
|
|
|
17857
17872
|
n && r && n.postMessage(i, r);
|
|
17858
17873
|
}, ub = (e) => {
|
|
17859
17874
|
const { globalDataContext: t, templateContext: n } = e, { to: r } = e.args;
|
|
17860
|
-
!r || typeof r != "string" || (window.location.href =
|
|
17875
|
+
!r || typeof r != "string" || (window.location.href = Fe({ valueToEvaluate: r, globalDataContext: t, templateContext: n }));
|
|
17861
17876
|
}, lb = (e) => {
|
|
17862
17877
|
const { globalDataContext: t, templateContext: n } = e, { path: r, target: i } = e.args;
|
|
17863
17878
|
if (r === void 0 && i !== "currentTemplateData")
|
|
@@ -17902,7 +17917,7 @@ const ja = (e) => {
|
|
|
17902
17917
|
);
|
|
17903
17918
|
} else
|
|
17904
17919
|
return f(u);
|
|
17905
|
-
})(i, (u) =>
|
|
17920
|
+
})(i, (u) => Fe({ valueToEvaluate: u, globalDataContext: r, templateContext: n })), r.templateData.__state !== void 0 && (i.__state = r.templateData.__state)) : (i.data = r.templateData, r.templateData.__state !== void 0 && (i.data.__state = r.templateData.__state)), Kc(
|
|
17906
17921
|
e,
|
|
17907
17922
|
{
|
|
17908
17923
|
method: ((o = e == null ? void 0 : e.args) == null ? void 0 : o.httpMethod) ?? "post",
|
|
@@ -17913,7 +17928,7 @@ const ja = (e) => {
|
|
|
17913
17928
|
);
|
|
17914
17929
|
}, db = async (e) => {
|
|
17915
17930
|
var i;
|
|
17916
|
-
const { globalDataContext: t, templateContext: n } = e, r =
|
|
17931
|
+
const { globalDataContext: t, templateContext: n } = e, r = Fe({ valueToEvaluate: (i = e == null ? void 0 : e.args) == null ? void 0 : i.value, globalDataContext: t, templateContext: n });
|
|
17917
17932
|
if (typeof r == "string")
|
|
17918
17933
|
try {
|
|
17919
17934
|
await navigator.clipboard.writeText(r.toString());
|
|
@@ -17932,7 +17947,7 @@ const ja = (e) => {
|
|
|
17932
17947
|
submitData: fb,
|
|
17933
17948
|
triggerEvent: Uf
|
|
17934
17949
|
}, pb = (e) => {
|
|
17935
|
-
const t = Z(
|
|
17950
|
+
const t = Z(Be), n = Z(Te), { actionProps: r } = e, i = {}, a = "<reactive-json:event>", o = "<reactive-json:event-new-value>", l = (d) => {
|
|
17936
17951
|
if (d && d.target) {
|
|
17937
17952
|
const v = d.target;
|
|
17938
17953
|
if (v.type === "checkbox")
|
|
@@ -17951,21 +17966,21 @@ const ja = (e) => {
|
|
|
17951
17966
|
return d;
|
|
17952
17967
|
let g = d.slice(a.length);
|
|
17953
17968
|
if (g.startsWith(".") && (g = g.slice(1)), !!g)
|
|
17954
|
-
return g.split(".").reduce((
|
|
17969
|
+
return g.split(".").reduce((b, h) => b ? b[h] : void 0, v);
|
|
17955
17970
|
}, u = (d, v) => {
|
|
17956
17971
|
if (Array.isArray(d))
|
|
17957
17972
|
return d.map((g) => u(g, v));
|
|
17958
17973
|
if (d && typeof d == "object") {
|
|
17959
17974
|
const g = {};
|
|
17960
|
-
for (const [
|
|
17961
|
-
g[
|
|
17975
|
+
for (const [b, h] of Object.entries(d))
|
|
17976
|
+
g[b] = u(h, v);
|
|
17962
17977
|
return g;
|
|
17963
17978
|
}
|
|
17964
17979
|
return s(d, v);
|
|
17965
17980
|
};
|
|
17966
17981
|
for (const [d, v] of Object.entries(r))
|
|
17967
17982
|
i[d] = (g) => {
|
|
17968
|
-
let
|
|
17983
|
+
let b = !0;
|
|
17969
17984
|
for (const h of v) {
|
|
17970
17985
|
if (!h)
|
|
17971
17986
|
continue;
|
|
@@ -17975,22 +17990,22 @@ const ja = (e) => {
|
|
|
17975
17990
|
const x = u(h, g);
|
|
17976
17991
|
if (A({ args: x, event: g, globalDataContext: t, templateContext: n }), x.stopPropagation === !0)
|
|
17977
17992
|
break;
|
|
17978
|
-
|
|
17993
|
+
b = x.stopPropagation ?? !0;
|
|
17979
17994
|
}
|
|
17980
|
-
|
|
17995
|
+
b !== !1 && g.stopPropagation();
|
|
17981
17996
|
};
|
|
17982
17997
|
const f = (d) => {
|
|
17983
17998
|
if (!d)
|
|
17984
17999
|
return d;
|
|
17985
18000
|
const v = _o.toArray(d);
|
|
17986
18001
|
return _o.map(v, (g) => {
|
|
17987
|
-
var
|
|
17988
|
-
return g.type === Sf ? f((
|
|
18002
|
+
var b;
|
|
18003
|
+
return g.type === Sf ? f((b = g == null ? void 0 : g.props) == null ? void 0 : b.children) : typeof g != "object" || !xf(g) ? g : kn(g, i);
|
|
17989
18004
|
});
|
|
17990
18005
|
}, c = f(e.children);
|
|
17991
18006
|
return /* @__PURE__ */ R(Ot, { children: c });
|
|
17992
18007
|
}, hb = (e) => {
|
|
17993
|
-
const t = Z(mu), n = Z(
|
|
18008
|
+
const t = Z(mu), n = Z(Be), r = Z(Te), i = (e == null ? void 0 : e.actionProps) ?? void 0;
|
|
17994
18009
|
return me(() => {
|
|
17995
18010
|
const a = i ?? void 0, o = (i == null ? void 0 : i.what) ?? void 0, l = (i == null ? void 0 : i.whenHashIs) ?? void 0, s = (i == null ? void 0 : i.whenHashWas) ?? void 0, u = wt({
|
|
17996
18011
|
globalDataContext: n,
|
|
@@ -18036,7 +18051,7 @@ export {
|
|
|
18036
18051
|
eb as U,
|
|
18037
18052
|
lt as V,
|
|
18038
18053
|
nn as W,
|
|
18039
|
-
|
|
18054
|
+
Fe as X,
|
|
18040
18055
|
wt as Y,
|
|
18041
18056
|
gr as Z,
|
|
18042
18057
|
Ct as _,
|