@arthurzakharov/ui-kit 1.8.0 → 1.8.1
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.
|
@@ -40,14 +40,14 @@ var Te;
|
|
|
40
40
|
function Ve() {
|
|
41
41
|
if (Te) return I;
|
|
42
42
|
Te = 1;
|
|
43
|
-
var e = typeof Symbol == "function" && Symbol.for, n = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, t = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, a = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, l = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110,
|
|
43
|
+
var e = typeof Symbol == "function" && Symbol.for, n = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, t = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, a = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, l = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, i = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, u = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, v = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, y = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, b = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, x = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, g = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, T = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, _ = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, z = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
44
44
|
function R(f) {
|
|
45
45
|
if (typeof f == "object" && f !== null) {
|
|
46
46
|
var Z = f.$$typeof;
|
|
47
47
|
switch (Z) {
|
|
48
48
|
case n:
|
|
49
49
|
switch (f = f.type, f) {
|
|
50
|
-
case
|
|
50
|
+
case d:
|
|
51
51
|
case i:
|
|
52
52
|
case t:
|
|
53
53
|
case o:
|
|
@@ -74,8 +74,8 @@ function Ve() {
|
|
|
74
74
|
function j(f) {
|
|
75
75
|
return R(f) === i;
|
|
76
76
|
}
|
|
77
|
-
return I.AsyncMode =
|
|
78
|
-
return j(f) || R(f) ===
|
|
77
|
+
return I.AsyncMode = d, I.ConcurrentMode = i, I.ContextConsumer = c, I.ContextProvider = l, I.Element = n, I.ForwardRef = u, I.Fragment = t, I.Lazy = x, I.Memo = b, I.Portal = r, I.Profiler = o, I.StrictMode = a, I.Suspense = v, I.isAsyncMode = function(f) {
|
|
78
|
+
return j(f) || R(f) === d;
|
|
79
79
|
}, I.isConcurrentMode = j, I.isContextConsumer = function(f) {
|
|
80
80
|
return R(f) === c;
|
|
81
81
|
}, I.isContextProvider = function(f) {
|
|
@@ -106,19 +106,19 @@ var L = {};
|
|
|
106
106
|
var Se;
|
|
107
107
|
function Xe() {
|
|
108
108
|
return Se || (Se = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
109
|
-
var e = typeof Symbol == "function" && Symbol.for, n = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, t = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, a = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, l = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110,
|
|
110
|
-
function R(
|
|
111
|
-
return typeof
|
|
112
|
-
|
|
109
|
+
var e = typeof Symbol == "function" && Symbol.for, n = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, t = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, a = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, o = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, l = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, c = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, d = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, i = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, u = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, v = e ? /* @__PURE__ */ Symbol.for("react.suspense") : 60113, y = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, b = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, x = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, g = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, T = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, _ = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, z = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
|
|
110
|
+
function R(p) {
|
|
111
|
+
return typeof p == "string" || typeof p == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
112
|
+
p === t || p === i || p === o || p === a || p === v || p === y || typeof p == "object" && p !== null && (p.$$typeof === x || p.$$typeof === b || p.$$typeof === l || p.$$typeof === c || p.$$typeof === u || p.$$typeof === T || p.$$typeof === _ || p.$$typeof === z || p.$$typeof === g);
|
|
113
113
|
}
|
|
114
|
-
function j(
|
|
115
|
-
if (typeof
|
|
116
|
-
var G =
|
|
114
|
+
function j(p) {
|
|
115
|
+
if (typeof p == "object" && p !== null) {
|
|
116
|
+
var G = p.$$typeof;
|
|
117
117
|
switch (G) {
|
|
118
118
|
case n:
|
|
119
|
-
var ae =
|
|
119
|
+
var ae = p.type;
|
|
120
120
|
switch (ae) {
|
|
121
|
-
case
|
|
121
|
+
case d:
|
|
122
122
|
case i:
|
|
123
123
|
case t:
|
|
124
124
|
case o:
|
|
@@ -143,47 +143,47 @@ function Xe() {
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
}
|
|
146
|
-
var f =
|
|
147
|
-
function J(
|
|
148
|
-
return B || (B = !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.")), s(
|
|
146
|
+
var f = d, Z = i, Q = c, K = l, A = n, P = u, q = t, F = x, m = b, H = r, ee = o, $ = a, Y = v, B = !1;
|
|
147
|
+
function J(p) {
|
|
148
|
+
return B || (B = !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.")), s(p) || j(p) === d;
|
|
149
149
|
}
|
|
150
|
-
function s(
|
|
151
|
-
return j(
|
|
150
|
+
function s(p) {
|
|
151
|
+
return j(p) === i;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
return j(
|
|
153
|
+
function h(p) {
|
|
154
|
+
return j(p) === c;
|
|
155
155
|
}
|
|
156
|
-
function w(
|
|
157
|
-
return j(
|
|
156
|
+
function w(p) {
|
|
157
|
+
return j(p) === l;
|
|
158
158
|
}
|
|
159
|
-
function O(
|
|
160
|
-
return typeof
|
|
159
|
+
function O(p) {
|
|
160
|
+
return typeof p == "object" && p !== null && p.$$typeof === n;
|
|
161
161
|
}
|
|
162
|
-
function E(
|
|
163
|
-
return j(
|
|
162
|
+
function E(p) {
|
|
163
|
+
return j(p) === u;
|
|
164
164
|
}
|
|
165
|
-
function M(
|
|
166
|
-
return j(
|
|
165
|
+
function M(p) {
|
|
166
|
+
return j(p) === t;
|
|
167
167
|
}
|
|
168
|
-
function S(
|
|
169
|
-
return j(
|
|
168
|
+
function S(p) {
|
|
169
|
+
return j(p) === x;
|
|
170
170
|
}
|
|
171
|
-
function C(
|
|
172
|
-
return j(
|
|
171
|
+
function C(p) {
|
|
172
|
+
return j(p) === b;
|
|
173
173
|
}
|
|
174
|
-
function D(
|
|
175
|
-
return j(
|
|
174
|
+
function D(p) {
|
|
175
|
+
return j(p) === r;
|
|
176
176
|
}
|
|
177
|
-
function W(
|
|
178
|
-
return j(
|
|
177
|
+
function W(p) {
|
|
178
|
+
return j(p) === o;
|
|
179
179
|
}
|
|
180
|
-
function k(
|
|
181
|
-
return j(
|
|
180
|
+
function k(p) {
|
|
181
|
+
return j(p) === a;
|
|
182
182
|
}
|
|
183
|
-
function X(
|
|
184
|
-
return j(
|
|
183
|
+
function X(p) {
|
|
184
|
+
return j(p) === v;
|
|
185
185
|
}
|
|
186
|
-
L.AsyncMode = f, L.ConcurrentMode = Z, L.ContextConsumer = Q, L.ContextProvider = K, L.Element = A, L.ForwardRef = P, L.Fragment = q, L.Lazy = F, L.Memo = m, L.Portal = H, L.Profiler = ee, L.StrictMode = $, L.Suspense = Y, L.isAsyncMode = J, L.isConcurrentMode = s, L.isContextConsumer =
|
|
186
|
+
L.AsyncMode = f, L.ConcurrentMode = Z, L.ContextConsumer = Q, L.ContextProvider = K, L.Element = A, L.ForwardRef = P, L.Fragment = q, L.Lazy = F, L.Memo = m, L.Portal = H, L.Profiler = ee, L.StrictMode = $, L.Suspense = Y, L.isAsyncMode = J, L.isConcurrentMode = s, L.isContextConsumer = h, L.isContextProvider = w, L.isElement = O, L.isForwardRef = E, L.isFragment = M, L.isLazy = S, L.isMemo = C, L.isPortal = D, L.isProfiler = W, L.isStrictMode = k, L.isSuspense = X, L.isValidElementType = R, L.typeOf = j;
|
|
187
187
|
})()), L;
|
|
188
188
|
}
|
|
189
189
|
var Oe;
|
|
@@ -209,10 +209,10 @@ function Je() {
|
|
|
209
209
|
return !1;
|
|
210
210
|
for (var l = {}, c = 0; c < 10; c++)
|
|
211
211
|
l["_" + String.fromCharCode(c)] = c;
|
|
212
|
-
var
|
|
212
|
+
var d = Object.getOwnPropertyNames(l).map(function(u) {
|
|
213
213
|
return l[u];
|
|
214
214
|
});
|
|
215
|
-
if (
|
|
215
|
+
if (d.join("") !== "0123456789")
|
|
216
216
|
return !1;
|
|
217
217
|
var i = {};
|
|
218
218
|
return "abcdefghijklmnopqrst".split("").forEach(function(u) {
|
|
@@ -223,17 +223,17 @@ function Je() {
|
|
|
223
223
|
}
|
|
224
224
|
}
|
|
225
225
|
return pe = a() ? Object.assign : function(o, l) {
|
|
226
|
-
for (var c,
|
|
226
|
+
for (var c, d = t(o), i, u = 1; u < arguments.length; u++) {
|
|
227
227
|
c = Object(arguments[u]);
|
|
228
228
|
for (var v in c)
|
|
229
|
-
n.call(c, v) && (
|
|
229
|
+
n.call(c, v) && (d[v] = c[v]);
|
|
230
230
|
if (e) {
|
|
231
231
|
i = e(c);
|
|
232
232
|
for (var y = 0; y < i.length; y++)
|
|
233
|
-
r.call(c, i[y]) && (
|
|
233
|
+
r.call(c, i[y]) && (d[i[y]] = c[i[y]]);
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
|
-
return
|
|
236
|
+
return d;
|
|
237
237
|
}, pe;
|
|
238
238
|
}
|
|
239
239
|
var ve, Re;
|
|
@@ -264,7 +264,7 @@ function Ze() {
|
|
|
264
264
|
}
|
|
265
265
|
};
|
|
266
266
|
}
|
|
267
|
-
function a(o, l, c,
|
|
267
|
+
function a(o, l, c, d, i) {
|
|
268
268
|
if (process.env.NODE_ENV !== "production") {
|
|
269
269
|
for (var u in o)
|
|
270
270
|
if (t(o, u)) {
|
|
@@ -272,16 +272,16 @@ function Ze() {
|
|
|
272
272
|
try {
|
|
273
273
|
if (typeof o[u] != "function") {
|
|
274
274
|
var y = Error(
|
|
275
|
-
(
|
|
275
|
+
(d || "React class") + ": " + c + " type `" + u + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof o[u] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`."
|
|
276
276
|
);
|
|
277
277
|
throw y.name = "Invariant Violation", y;
|
|
278
278
|
}
|
|
279
|
-
v = o[u](l, u,
|
|
279
|
+
v = o[u](l, u, d, c, null, n);
|
|
280
280
|
} catch (x) {
|
|
281
281
|
v = x;
|
|
282
282
|
}
|
|
283
283
|
if (v && !(v instanceof Error) && e(
|
|
284
|
-
(
|
|
284
|
+
(d || "React class") + ": type specification of " + c + " `" + u + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof v + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
285
285
|
), v instanceof Error && !(v.message in r)) {
|
|
286
286
|
r[v.message] = !0;
|
|
287
287
|
var b = i ? i() : "";
|
|
@@ -303,22 +303,22 @@ function Ge() {
|
|
|
303
303
|
var e = $e(), n = Je(), r = /* @__PURE__ */ be(), t = /* @__PURE__ */ We(), a = /* @__PURE__ */ Ze(), o = function() {
|
|
304
304
|
};
|
|
305
305
|
process.env.NODE_ENV !== "production" && (o = function(c) {
|
|
306
|
-
var
|
|
307
|
-
typeof console < "u" && console.error(
|
|
306
|
+
var d = "Warning: " + c;
|
|
307
|
+
typeof console < "u" && console.error(d);
|
|
308
308
|
try {
|
|
309
|
-
throw new Error(
|
|
309
|
+
throw new Error(d);
|
|
310
310
|
} catch {
|
|
311
311
|
}
|
|
312
312
|
});
|
|
313
313
|
function l() {
|
|
314
314
|
return null;
|
|
315
315
|
}
|
|
316
|
-
return _e = function(c,
|
|
316
|
+
return _e = function(c, d) {
|
|
317
317
|
var i = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
|
|
318
318
|
function v(s) {
|
|
319
|
-
var
|
|
320
|
-
if (typeof
|
|
321
|
-
return
|
|
319
|
+
var h = s && (i && s[i] || s[u]);
|
|
320
|
+
if (typeof h == "function")
|
|
321
|
+
return h;
|
|
322
322
|
}
|
|
323
323
|
var y = "<<anonymous>>", b = {
|
|
324
324
|
array: _("array"),
|
|
@@ -341,29 +341,29 @@ function Ge() {
|
|
|
341
341
|
shape: F,
|
|
342
342
|
exact: m
|
|
343
343
|
};
|
|
344
|
-
function x(s,
|
|
345
|
-
return s ===
|
|
344
|
+
function x(s, h) {
|
|
345
|
+
return s === h ? s !== 0 || 1 / s === 1 / h : s !== s && h !== h;
|
|
346
346
|
}
|
|
347
|
-
function g(s,
|
|
348
|
-
this.message = s, this.data =
|
|
347
|
+
function g(s, h) {
|
|
348
|
+
this.message = s, this.data = h && typeof h == "object" ? h : {}, this.stack = "";
|
|
349
349
|
}
|
|
350
350
|
g.prototype = Error.prototype;
|
|
351
351
|
function T(s) {
|
|
352
352
|
if (process.env.NODE_ENV !== "production")
|
|
353
|
-
var
|
|
353
|
+
var h = {}, w = 0;
|
|
354
354
|
function O(M, S, C, D, W, k, X) {
|
|
355
355
|
if (D = D || y, k = k || C, X !== r) {
|
|
356
|
-
if (
|
|
357
|
-
var
|
|
356
|
+
if (d) {
|
|
357
|
+
var p = new Error(
|
|
358
358
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
359
359
|
);
|
|
360
|
-
throw
|
|
360
|
+
throw p.name = "Invariant Violation", p;
|
|
361
361
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
362
362
|
var G = D + ":" + C;
|
|
363
|
-
!
|
|
363
|
+
!h[G] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
364
364
|
w < 3 && (o(
|
|
365
365
|
"You are manually calling a React.PropTypes validation function for the `" + k + "` prop on `" + D + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
366
|
-
),
|
|
366
|
+
), h[G] = !0, w++);
|
|
367
367
|
}
|
|
368
368
|
}
|
|
369
369
|
return S[C] == null ? M ? S[C] === null ? new g("The " + W + " `" + k + "` is marked as required " + ("in `" + D + "`, but its value is `null`.")) : new g("The " + W + " `" + k + "` is marked as required in " + ("`" + D + "`, but its value is `undefined`.")) : null : s(S, C, D, W, k);
|
|
@@ -372,7 +372,7 @@ function Ge() {
|
|
|
372
372
|
return E.isRequired = O.bind(null, !0), E;
|
|
373
373
|
}
|
|
374
374
|
function _(s) {
|
|
375
|
-
function
|
|
375
|
+
function h(w, O, E, M, S, C) {
|
|
376
376
|
var D = w[O], W = $(D);
|
|
377
377
|
if (W !== s) {
|
|
378
378
|
var k = Y(D);
|
|
@@ -383,13 +383,13 @@ function Ge() {
|
|
|
383
383
|
}
|
|
384
384
|
return null;
|
|
385
385
|
}
|
|
386
|
-
return T(
|
|
386
|
+
return T(h);
|
|
387
387
|
}
|
|
388
388
|
function z() {
|
|
389
389
|
return T(l);
|
|
390
390
|
}
|
|
391
391
|
function R(s) {
|
|
392
|
-
function
|
|
392
|
+
function h(w, O, E, M, S) {
|
|
393
393
|
if (typeof s != "function")
|
|
394
394
|
return new g("Property `" + S + "` of component `" + E + "` has invalid PropType notation inside arrayOf.");
|
|
395
395
|
var C = w[O];
|
|
@@ -404,11 +404,11 @@ function Ge() {
|
|
|
404
404
|
}
|
|
405
405
|
return null;
|
|
406
406
|
}
|
|
407
|
-
return T(
|
|
407
|
+
return T(h);
|
|
408
408
|
}
|
|
409
409
|
function j() {
|
|
410
|
-
function s(
|
|
411
|
-
var S =
|
|
410
|
+
function s(h, w, O, E, M) {
|
|
411
|
+
var S = h[w];
|
|
412
412
|
if (!c(S)) {
|
|
413
413
|
var C = $(S);
|
|
414
414
|
return new g("Invalid " + E + " `" + M + "` of type " + ("`" + C + "` supplied to `" + O + "`, expected a single ReactElement."));
|
|
@@ -418,8 +418,8 @@ function Ge() {
|
|
|
418
418
|
return T(s);
|
|
419
419
|
}
|
|
420
420
|
function f() {
|
|
421
|
-
function s(
|
|
422
|
-
var S =
|
|
421
|
+
function s(h, w, O, E, M) {
|
|
422
|
+
var S = h[w];
|
|
423
423
|
if (!e.isValidElementType(S)) {
|
|
424
424
|
var C = $(S);
|
|
425
425
|
return new g("Invalid " + E + " `" + M + "` of type " + ("`" + C + "` supplied to `" + O + "`, expected a single ReactElement type."));
|
|
@@ -429,34 +429,34 @@ function Ge() {
|
|
|
429
429
|
return T(s);
|
|
430
430
|
}
|
|
431
431
|
function Z(s) {
|
|
432
|
-
function
|
|
432
|
+
function h(w, O, E, M, S) {
|
|
433
433
|
if (!(w[O] instanceof s)) {
|
|
434
434
|
var C = s.name || y, D = J(w[O]);
|
|
435
435
|
return new g("Invalid " + M + " `" + S + "` of type " + ("`" + D + "` supplied to `" + E + "`, expected ") + ("instance of `" + C + "`."));
|
|
436
436
|
}
|
|
437
437
|
return null;
|
|
438
438
|
}
|
|
439
|
-
return T(
|
|
439
|
+
return T(h);
|
|
440
440
|
}
|
|
441
441
|
function Q(s) {
|
|
442
442
|
if (!Array.isArray(s))
|
|
443
443
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
|
|
444
444
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
445
445
|
) : o("Invalid argument supplied to oneOf, expected an array.")), l;
|
|
446
|
-
function
|
|
446
|
+
function h(w, O, E, M, S) {
|
|
447
447
|
for (var C = w[O], D = 0; D < s.length; D++)
|
|
448
448
|
if (x(C, s[D]))
|
|
449
449
|
return null;
|
|
450
|
-
var W = JSON.stringify(s, function(X,
|
|
451
|
-
var G = Y(
|
|
452
|
-
return G === "symbol" ? String(
|
|
450
|
+
var W = JSON.stringify(s, function(X, p) {
|
|
451
|
+
var G = Y(p);
|
|
452
|
+
return G === "symbol" ? String(p) : p;
|
|
453
453
|
});
|
|
454
454
|
return new g("Invalid " + M + " `" + S + "` of value `" + String(C) + "` " + ("supplied to `" + E + "`, expected one of " + W + "."));
|
|
455
455
|
}
|
|
456
|
-
return T(
|
|
456
|
+
return T(h);
|
|
457
457
|
}
|
|
458
458
|
function K(s) {
|
|
459
|
-
function
|
|
459
|
+
function h(w, O, E, M, S) {
|
|
460
460
|
if (typeof s != "function")
|
|
461
461
|
return new g("Property `" + S + "` of component `" + E + "` has invalid PropType notation inside objectOf.");
|
|
462
462
|
var C = w[O], D = $(C);
|
|
@@ -470,24 +470,24 @@ function Ge() {
|
|
|
470
470
|
}
|
|
471
471
|
return null;
|
|
472
472
|
}
|
|
473
|
-
return T(
|
|
473
|
+
return T(h);
|
|
474
474
|
}
|
|
475
475
|
function A(s) {
|
|
476
476
|
if (!Array.isArray(s))
|
|
477
477
|
return process.env.NODE_ENV !== "production" && o("Invalid argument supplied to oneOfType, expected an instance of array."), l;
|
|
478
|
-
for (var
|
|
479
|
-
var w = s[
|
|
478
|
+
for (var h = 0; h < s.length; h++) {
|
|
479
|
+
var w = s[h];
|
|
480
480
|
if (typeof w != "function")
|
|
481
481
|
return o(
|
|
482
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + B(w) + " at index " +
|
|
482
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + B(w) + " at index " + h + "."
|
|
483
483
|
), l;
|
|
484
484
|
}
|
|
485
485
|
function O(E, M, S, C, D) {
|
|
486
486
|
for (var W = [], k = 0; k < s.length; k++) {
|
|
487
|
-
var X = s[k],
|
|
488
|
-
if (
|
|
487
|
+
var X = s[k], p = X(E, M, S, C, D, r);
|
|
488
|
+
if (p == null)
|
|
489
489
|
return null;
|
|
490
|
-
|
|
490
|
+
p.data && t(p.data, "expectedType") && W.push(p.data.expectedType);
|
|
491
491
|
}
|
|
492
492
|
var G = W.length > 0 ? ", expected one of type [" + W.join(", ") + "]" : "";
|
|
493
493
|
return new g("Invalid " + C + " `" + D + "` supplied to " + ("`" + S + "`" + G + "."));
|
|
@@ -495,18 +495,18 @@ function Ge() {
|
|
|
495
495
|
return T(O);
|
|
496
496
|
}
|
|
497
497
|
function P() {
|
|
498
|
-
function s(
|
|
499
|
-
return H(
|
|
498
|
+
function s(h, w, O, E, M) {
|
|
499
|
+
return H(h[w]) ? null : new g("Invalid " + E + " `" + M + "` supplied to " + ("`" + O + "`, expected a ReactNode."));
|
|
500
500
|
}
|
|
501
501
|
return T(s);
|
|
502
502
|
}
|
|
503
|
-
function q(s,
|
|
503
|
+
function q(s, h, w, O, E) {
|
|
504
504
|
return new g(
|
|
505
|
-
(s || "React class") + ": " +
|
|
505
|
+
(s || "React class") + ": " + h + " type `" + w + "." + O + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + E + "`."
|
|
506
506
|
);
|
|
507
507
|
}
|
|
508
508
|
function F(s) {
|
|
509
|
-
function
|
|
509
|
+
function h(w, O, E, M, S) {
|
|
510
510
|
var C = w[O], D = $(C);
|
|
511
511
|
if (D !== "object")
|
|
512
512
|
return new g("Invalid " + M + " `" + S + "` of type `" + D + "` " + ("supplied to `" + E + "`, expected `object`."));
|
|
@@ -520,10 +520,10 @@ function Ge() {
|
|
|
520
520
|
}
|
|
521
521
|
return null;
|
|
522
522
|
}
|
|
523
|
-
return T(
|
|
523
|
+
return T(h);
|
|
524
524
|
}
|
|
525
525
|
function m(s) {
|
|
526
|
-
function
|
|
526
|
+
function h(w, O, E, M, S) {
|
|
527
527
|
var C = w[O], D = $(C);
|
|
528
528
|
if (D !== "object")
|
|
529
529
|
return new g("Invalid " + M + " `" + S + "` of type `" + D + "` " + ("supplied to `" + E + "`, expected `object`."));
|
|
@@ -537,13 +537,13 @@ function Ge() {
|
|
|
537
537
|
"Invalid " + M + " `" + S + "` key `" + k + "` supplied to `" + E + "`.\nBad object: " + JSON.stringify(w[O], null, " ") + `
|
|
538
538
|
Valid keys: ` + JSON.stringify(Object.keys(s), null, " ")
|
|
539
539
|
);
|
|
540
|
-
var
|
|
541
|
-
if (
|
|
542
|
-
return
|
|
540
|
+
var p = X(C, k, E, M, S + "." + k, r);
|
|
541
|
+
if (p)
|
|
542
|
+
return p;
|
|
543
543
|
}
|
|
544
544
|
return null;
|
|
545
545
|
}
|
|
546
|
-
return T(
|
|
546
|
+
return T(h);
|
|
547
547
|
}
|
|
548
548
|
function H(s) {
|
|
549
549
|
switch (typeof s) {
|
|
@@ -558,10 +558,10 @@ Valid keys: ` + JSON.stringify(Object.keys(s), null, " ")
|
|
|
558
558
|
return s.every(H);
|
|
559
559
|
if (s === null || c(s))
|
|
560
560
|
return !0;
|
|
561
|
-
var
|
|
562
|
-
if (
|
|
563
|
-
var w =
|
|
564
|
-
if (
|
|
561
|
+
var h = v(s);
|
|
562
|
+
if (h) {
|
|
563
|
+
var w = h.call(s), O;
|
|
564
|
+
if (h !== s.entries) {
|
|
565
565
|
for (; !(O = w.next()).done; )
|
|
566
566
|
if (!H(O.value))
|
|
567
567
|
return !1;
|
|
@@ -578,37 +578,37 @@ Valid keys: ` + JSON.stringify(Object.keys(s), null, " ")
|
|
|
578
578
|
return !1;
|
|
579
579
|
}
|
|
580
580
|
}
|
|
581
|
-
function ee(s,
|
|
582
|
-
return s === "symbol" ? !0 :
|
|
581
|
+
function ee(s, h) {
|
|
582
|
+
return s === "symbol" ? !0 : h ? h["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && h instanceof Symbol : !1;
|
|
583
583
|
}
|
|
584
584
|
function $(s) {
|
|
585
|
-
var
|
|
586
|
-
return Array.isArray(s) ? "array" : s instanceof RegExp ? "object" : ee(
|
|
585
|
+
var h = typeof s;
|
|
586
|
+
return Array.isArray(s) ? "array" : s instanceof RegExp ? "object" : ee(h, s) ? "symbol" : h;
|
|
587
587
|
}
|
|
588
588
|
function Y(s) {
|
|
589
589
|
if (typeof s > "u" || s === null)
|
|
590
590
|
return "" + s;
|
|
591
|
-
var
|
|
592
|
-
if (
|
|
591
|
+
var h = $(s);
|
|
592
|
+
if (h === "object") {
|
|
593
593
|
if (s instanceof Date)
|
|
594
594
|
return "date";
|
|
595
595
|
if (s instanceof RegExp)
|
|
596
596
|
return "regexp";
|
|
597
597
|
}
|
|
598
|
-
return
|
|
598
|
+
return h;
|
|
599
599
|
}
|
|
600
600
|
function B(s) {
|
|
601
|
-
var
|
|
602
|
-
switch (
|
|
601
|
+
var h = Y(s);
|
|
602
|
+
switch (h) {
|
|
603
603
|
case "array":
|
|
604
604
|
case "object":
|
|
605
|
-
return "an " +
|
|
605
|
+
return "an " + h;
|
|
606
606
|
case "boolean":
|
|
607
607
|
case "date":
|
|
608
608
|
case "regexp":
|
|
609
|
-
return "a " +
|
|
609
|
+
return "a " + h;
|
|
610
610
|
default:
|
|
611
|
-
return
|
|
611
|
+
return h;
|
|
612
612
|
}
|
|
613
613
|
}
|
|
614
614
|
function J(s) {
|
|
@@ -627,7 +627,7 @@ function Ke() {
|
|
|
627
627
|
function r() {
|
|
628
628
|
}
|
|
629
629
|
return r.resetWarningCache = n, ge = function() {
|
|
630
|
-
function t(l, c,
|
|
630
|
+
function t(l, c, d, i, u, v) {
|
|
631
631
|
if (v !== e) {
|
|
632
632
|
var y = new Error(
|
|
633
633
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
|
|
@@ -694,8 +694,8 @@ xe.prototype.length = function() {
|
|
|
694
694
|
for (var e = 10, n = 0, r = void 0, t = void 0, a = 0; a <= e; a += 1) {
|
|
695
695
|
var o = a / e, l = this._point(o, this.startPoint.x, this.control1.x, this.control2.x, this.endPoint.x), c = this._point(o, this.startPoint.y, this.control1.y, this.control2.y, this.endPoint.y);
|
|
696
696
|
if (a > 0) {
|
|
697
|
-
var
|
|
698
|
-
n += Math.sqrt(
|
|
697
|
+
var d = l - r, i = c - t;
|
|
698
|
+
n += Math.sqrt(d * d + i * i);
|
|
699
699
|
}
|
|
700
700
|
r = l, t = c;
|
|
701
701
|
}
|
|
@@ -707,14 +707,14 @@ xe.prototype._point = function(e, n, r, t, a) {
|
|
|
707
707
|
function et(e, n, r) {
|
|
708
708
|
var t, a, o, l = null, c = 0;
|
|
709
709
|
r || (r = {});
|
|
710
|
-
var
|
|
710
|
+
var d = function() {
|
|
711
711
|
c = r.leading === !1 ? 0 : Date.now(), l = null, o = e.apply(t, a), l || (t = a = null);
|
|
712
712
|
};
|
|
713
713
|
return function() {
|
|
714
714
|
var i = Date.now();
|
|
715
715
|
!c && r.leading === !1 && (c = i);
|
|
716
716
|
var u = n - (i - c);
|
|
717
|
-
return t = this, a = arguments, u <= 0 || u > n ? (l && (clearTimeout(l), l = null), c = i, o = e.apply(t, a), l || (t = a = null)) : !l && r.trailing !== !1 && (l = setTimeout(
|
|
717
|
+
return t = this, a = arguments, u <= 0 || u > n ? (l && (clearTimeout(l), l = null), c = i, o = e.apply(t, a), l || (t = a = null)) : !l && r.trailing !== !1 && (l = setTimeout(d, u)), o;
|
|
718
718
|
};
|
|
719
719
|
}
|
|
720
720
|
function N(e, n) {
|
|
@@ -777,8 +777,8 @@ N.prototype._strokeBegin = function(e) {
|
|
|
777
777
|
N.prototype._strokeUpdate = function(e) {
|
|
778
778
|
var n = e.clientX, r = e.clientY, t = this._createPoint(n, r), a = this._data[this._data.length - 1], o = a && a[a.length - 1], l = o && t.distanceTo(o) < this.minDistance;
|
|
779
779
|
if (!(o && l)) {
|
|
780
|
-
var c = this._addPoint(t),
|
|
781
|
-
|
|
780
|
+
var c = this._addPoint(t), d = c.curve, i = c.widths;
|
|
781
|
+
d && i && this._drawCurve(d, i.start, i.end), this._data[this._data.length - 1].push({
|
|
782
782
|
x: t.x,
|
|
783
783
|
y: t.y,
|
|
784
784
|
time: t.time,
|
|
@@ -824,10 +824,10 @@ N.prototype._addPoint = function(e) {
|
|
|
824
824
|
return {};
|
|
825
825
|
};
|
|
826
826
|
N.prototype._calculateCurveControlPoints = function(e, n, r) {
|
|
827
|
-
var t = e.x - n.x, a = e.y - n.y, o = n.x - r.x, l = n.y - r.y, c = { x: (e.x + n.x) / 2, y: (e.y + n.y) / 2 },
|
|
827
|
+
var t = e.x - n.x, a = e.y - n.y, o = n.x - r.x, l = n.y - r.y, c = { x: (e.x + n.x) / 2, y: (e.y + n.y) / 2 }, d = { x: (n.x + r.x) / 2, y: (n.y + r.y) / 2 }, i = Math.sqrt(t * t + a * a), u = Math.sqrt(o * o + l * l), v = c.x - d.x, y = c.y - d.y, b = u / (i + u), x = { x: d.x + v * b, y: d.y + y * b }, g = n.x - x.x, T = n.y - x.y;
|
|
828
828
|
return {
|
|
829
829
|
c1: new ne(c.x + g, c.y + T),
|
|
830
|
-
c2: new ne(
|
|
830
|
+
c2: new ne(d.x + g, d.y + T)
|
|
831
831
|
};
|
|
832
832
|
};
|
|
833
833
|
N.prototype._calculateCurveWidths = function(e) {
|
|
@@ -845,10 +845,10 @@ N.prototype._drawCurve = function(e, n, r) {
|
|
|
845
845
|
var t = this._ctx, a = r - n, o = Math.floor(e.length());
|
|
846
846
|
t.beginPath();
|
|
847
847
|
for (var l = 0; l < o; l += 1) {
|
|
848
|
-
var c = l / o,
|
|
849
|
-
b += 3 * v * c * e.control1.x, b += 3 * u *
|
|
848
|
+
var c = l / o, d = c * c, i = d * c, u = 1 - c, v = u * u, y = v * u, b = y * e.startPoint.x;
|
|
849
|
+
b += 3 * v * c * e.control1.x, b += 3 * u * d * e.control2.x, b += i * e.endPoint.x;
|
|
850
850
|
var x = y * e.startPoint.y;
|
|
851
|
-
x += 3 * v * c * e.control1.y, x += 3 * u *
|
|
851
|
+
x += 3 * v * c * e.control1.y, x += 3 * u * d * e.control2.y, x += i * e.endPoint.y;
|
|
852
852
|
var g = n + i * a;
|
|
853
853
|
this._drawPoint(b, x, g);
|
|
854
854
|
}
|
|
@@ -863,12 +863,12 @@ N.prototype._fromData = function(e, n, r) {
|
|
|
863
863
|
var a = e[t];
|
|
864
864
|
if (a.length > 1)
|
|
865
865
|
for (var o = 0; o < a.length; o += 1) {
|
|
866
|
-
var l = a[o], c = new ne(l.x, l.y, l.time),
|
|
866
|
+
var l = a[o], c = new ne(l.x, l.y, l.time), d = l.color;
|
|
867
867
|
if (o === 0)
|
|
868
|
-
this.penColor =
|
|
868
|
+
this.penColor = d, this._reset(), this._addPoint(c);
|
|
869
869
|
else if (o !== a.length - 1) {
|
|
870
870
|
var i = this._addPoint(c), u = i.curve, v = i.widths;
|
|
871
|
-
u && v && n(u, v,
|
|
871
|
+
u && v && n(u, v, d);
|
|
872
872
|
}
|
|
873
873
|
}
|
|
874
874
|
else {
|
|
@@ -879,20 +879,20 @@ N.prototype._fromData = function(e, n, r) {
|
|
|
879
879
|
}
|
|
880
880
|
};
|
|
881
881
|
N.prototype._toSVG = function() {
|
|
882
|
-
var e = this, n = this._data, r = this._canvas, t = Math.max(window.devicePixelRatio || 1, 1), a = 0, o = 0, l = r.width / t, c = r.height / t,
|
|
883
|
-
|
|
882
|
+
var e = this, n = this._data, r = this._canvas, t = Math.max(window.devicePixelRatio || 1, 1), a = 0, o = 0, l = r.width / t, c = r.height / t, d = document.createElementNS("http://www.w3.org/2000/svg", "svg");
|
|
883
|
+
d.setAttributeNS(null, "width", r.width), d.setAttributeNS(null, "height", r.height), this._fromData(n, function(_, z, R) {
|
|
884
884
|
var j = document.createElement("path");
|
|
885
885
|
if (!isNaN(_.control1.x) && !isNaN(_.control1.y) && !isNaN(_.control2.x) && !isNaN(_.control2.y)) {
|
|
886
886
|
var f = "M " + _.startPoint.x.toFixed(3) + "," + _.startPoint.y.toFixed(3) + " " + ("C " + _.control1.x.toFixed(3) + "," + _.control1.y.toFixed(3) + " ") + (_.control2.x.toFixed(3) + "," + _.control2.y.toFixed(3) + " ") + (_.endPoint.x.toFixed(3) + "," + _.endPoint.y.toFixed(3));
|
|
887
|
-
j.setAttribute("d", f), j.setAttribute("stroke-width", (z.end * 2.25).toFixed(3)), j.setAttribute("stroke", R), j.setAttribute("fill", "none"), j.setAttribute("stroke-linecap", "round"),
|
|
887
|
+
j.setAttribute("d", f), j.setAttribute("stroke-width", (z.end * 2.25).toFixed(3)), j.setAttribute("stroke", R), j.setAttribute("fill", "none"), j.setAttribute("stroke-linecap", "round"), d.appendChild(j);
|
|
888
888
|
}
|
|
889
889
|
}, function(_) {
|
|
890
890
|
var z = document.createElement("circle"), R = typeof e.dotSize == "function" ? e.dotSize() : e.dotSize;
|
|
891
|
-
z.setAttribute("r", R), z.setAttribute("cx", _.x), z.setAttribute("cy", _.y), z.setAttribute("fill", _.color),
|
|
891
|
+
z.setAttribute("r", R), z.setAttribute("cx", _.x), z.setAttribute("cy", _.y), z.setAttribute("fill", _.color), d.appendChild(z);
|
|
892
892
|
});
|
|
893
|
-
var i = "data:image/svg+xml;base64,", u = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"' + (' viewBox="' + a + " " + o + " " + l + " " + c + '"') + (' width="' + l + '"') + (' height="' + c + '"') + ">", v =
|
|
893
|
+
var i = "data:image/svg+xml;base64,", u = '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"' + (' viewBox="' + a + " " + o + " " + l + " " + c + '"') + (' width="' + l + '"') + (' height="' + c + '"') + ">", v = d.innerHTML;
|
|
894
894
|
if (v === void 0) {
|
|
895
|
-
var y = document.createElement("dummy"), b =
|
|
895
|
+
var y = document.createElement("dummy"), b = d.childNodes;
|
|
896
896
|
y.innerHTML = "";
|
|
897
897
|
for (var x = 0; x < b.length; x += 1)
|
|
898
898
|
y.appendChild(b[x].cloneNode(!0));
|
|
@@ -932,7 +932,7 @@ function at() {
|
|
|
932
932
|
return t.m = r, t.c = a, t.p = "", t(0);
|
|
933
933
|
})([function(r, t) {
|
|
934
934
|
function a(i) {
|
|
935
|
-
var u = i.getContext("2d"), v = i.width, y = i.height, b = u.getImageData(0, 0, v, y).data, x = c(!0, v, y, b), g = c(!1, v, y, b), T =
|
|
935
|
+
var u = i.getContext("2d"), v = i.width, y = i.height, b = u.getImageData(0, 0, v, y).data, x = c(!0, v, y, b), g = c(!1, v, y, b), T = d(!0, v, y, b), _ = d(!1, v, y, b), z = _ - T + 1, R = g - x + 1, j = u.getImageData(T, x, z, R);
|
|
936
936
|
return i.width = z, i.height = R, u.clearRect(0, 0, z, R), u.putImageData(j, 0, 0), i;
|
|
937
937
|
}
|
|
938
938
|
function o(i, u, v, y) {
|
|
@@ -945,7 +945,7 @@ function at() {
|
|
|
945
945
|
for (var b = i ? 1 : -1, x = i ? 0 : v - 1, g = x; i ? g < v : g > -1; g += b) for (var T = 0; T < u; T++) if (l(T, g, u, y)) return g;
|
|
946
946
|
return null;
|
|
947
947
|
}
|
|
948
|
-
function
|
|
948
|
+
function d(i, u, v, y) {
|
|
949
949
|
for (var b = i ? 1 : -1, x = i ? 0 : u - 1, g = x; i ? g < u : g > -1; g += b) for (var T = 0; T < v; T++) if (l(g, T, u, y)) return g;
|
|
950
950
|
return null;
|
|
951
951
|
}
|
|
@@ -962,13 +962,13 @@ function it() {
|
|
|
962
962
|
})(ot, function(r, t, a, o) {
|
|
963
963
|
return (function(l) {
|
|
964
964
|
function c(i) {
|
|
965
|
-
if (
|
|
966
|
-
var u =
|
|
965
|
+
if (d[i]) return d[i].exports;
|
|
966
|
+
var u = d[i] = { exports: {}, id: i, loaded: !1 };
|
|
967
967
|
return l[i].call(u.exports, u, u.exports, c), u.loaded = !0, u.exports;
|
|
968
968
|
}
|
|
969
|
-
var
|
|
970
|
-
return c.m = l, c.c =
|
|
971
|
-
})([function(l, c,
|
|
969
|
+
var d = {};
|
|
970
|
+
return c.m = l, c.c = d, c.p = "", c(0);
|
|
971
|
+
})([function(l, c, d) {
|
|
972
972
|
function i(A) {
|
|
973
973
|
return A && A.__esModule ? A : { default: A };
|
|
974
974
|
}
|
|
@@ -1005,7 +1005,7 @@ function it() {
|
|
|
1005
1005
|
return function(P, q, F) {
|
|
1006
1006
|
return q && A(P.prototype, q), F && A(P, F), P;
|
|
1007
1007
|
};
|
|
1008
|
-
})(), T =
|
|
1008
|
+
})(), T = d(1), _ = i(T), z = d(2), R = i(z), j = d(3), f = i(j), Z = d(4), Q = i(Z), K = (function(A) {
|
|
1009
1009
|
function P() {
|
|
1010
1010
|
var q, F, m, H;
|
|
1011
1011
|
v(this, P);
|
|
@@ -1025,8 +1025,8 @@ function it() {
|
|
|
1025
1025
|
}, m._resizeCanvas = function() {
|
|
1026
1026
|
var B = m.props.canvasProps || {}, J = B.width, s = B.height;
|
|
1027
1027
|
if (!J || !s) {
|
|
1028
|
-
var
|
|
1029
|
-
J || (
|
|
1028
|
+
var h = m._canvas, w = Math.max(window.devicePixelRatio || 1, 1);
|
|
1029
|
+
J || (h.width = h.offsetWidth * w), s || (h.height = h.offsetHeight * w), h.getContext("2d").scale(w, w), m.clear();
|
|
1030
1030
|
}
|
|
1031
1031
|
}, m.on = function() {
|
|
1032
1032
|
return window.addEventListener("resize", m._checkClearOnResize), m._sigPad.on();
|
|
@@ -1106,7 +1106,7 @@ const ut = /* @__PURE__ */ He(st), ct = "_Signature_1sp4s_1", lt = "_Main_1sp4s_
|
|
|
1106
1106
|
// Base props
|
|
1107
1107
|
...l
|
|
1108
1108
|
}) => {
|
|
1109
|
-
const c = fe(null),
|
|
1109
|
+
const c = fe(null), d = fe(e), i = fe(!1), [u, v] = oe(null), [y, b] = oe(r ? "manual" : "auto"), [x, g] = oe(""), [T, _] = oe(!1), { width: z = 0, height: R = 0 } = Ne({ ref: c, box: "border-box" }), j = y === "auto" ? n ? "auto-generated" : "auto-loading" : x ? "manual-drawn" : r ? "manual-stored" : "manual-blank", f = n !== "" || T, Z = r || x, Q = re(
|
|
1110
1110
|
($) => {
|
|
1111
1111
|
!u || !z || !R || !$ || u.fromDataURL($, {
|
|
1112
1112
|
width: +z.toFixed(),
|
|
@@ -1132,12 +1132,12 @@ const ut = /* @__PURE__ */ He(st), ct = "_Signature_1sp4s_1", lt = "_Main_1sp4s_
|
|
|
1132
1132
|
de(() => {
|
|
1133
1133
|
y === "manual" && x && z && R && Q(x);
|
|
1134
1134
|
}, [y, x, z, R, Q]), de(() => {
|
|
1135
|
-
if (
|
|
1135
|
+
if (d.current !== e) {
|
|
1136
1136
|
if (n) {
|
|
1137
1137
|
i.current = !1;
|
|
1138
1138
|
return;
|
|
1139
1139
|
}
|
|
1140
|
-
i.current = !0, t().then(($) => {
|
|
1140
|
+
console.log(d.current, e), d.current = e, i.current = !0, t().then(($) => {
|
|
1141
1141
|
const Y = `data:image/png;base64,${$.signature}`;
|
|
1142
1142
|
_(!1), o(Y);
|
|
1143
1143
|
}).catch(() => {
|