react-sync-board 1.2.8 → 1.2.9
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/react-sync-board.js
CHANGED
|
@@ -63,14 +63,14 @@ function Wr() {
|
|
|
63
63
|
var y = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
64
64
|
function x(i) {
|
|
65
65
|
{
|
|
66
|
-
for (var b = arguments.length, I = new Array(b > 1 ? b - 1 : 0),
|
|
67
|
-
I[
|
|
66
|
+
for (var b = arguments.length, I = new Array(b > 1 ? b - 1 : 0), $ = 1; $ < b; $++)
|
|
67
|
+
I[$ - 1] = arguments[$];
|
|
68
68
|
C("error", i, I);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
function C(i, b, I) {
|
|
72
72
|
{
|
|
73
|
-
var
|
|
73
|
+
var $ = y.ReactDebugCurrentFrame, X = $.getStackAddendum();
|
|
74
74
|
X !== "" && (b += "%s", I = I.concat([X]));
|
|
75
75
|
var W = I.map(function(N) {
|
|
76
76
|
return String(N);
|
|
@@ -88,9 +88,9 @@ function Wr() {
|
|
|
88
88
|
i.$$typeof === T || i.getModuleId !== void 0));
|
|
89
89
|
}
|
|
90
90
|
function M(i, b, I) {
|
|
91
|
-
var
|
|
92
|
-
if (
|
|
93
|
-
return
|
|
91
|
+
var $ = i.displayName;
|
|
92
|
+
if ($)
|
|
93
|
+
return $;
|
|
94
94
|
var X = b.displayName || b.name || "";
|
|
95
95
|
return X !== "" ? I + "(" + X + ")" : I;
|
|
96
96
|
}
|
|
@@ -129,8 +129,8 @@ function Wr() {
|
|
|
129
129
|
case l:
|
|
130
130
|
return M(i, i.render, "ForwardRef");
|
|
131
131
|
case c:
|
|
132
|
-
var
|
|
133
|
-
return
|
|
132
|
+
var $ = i.displayName || null;
|
|
133
|
+
return $ !== null ? $ : Y(i.type) || "Memo";
|
|
134
134
|
case h: {
|
|
135
135
|
var X = i, W = X._payload, N = X._init;
|
|
136
136
|
try {
|
|
@@ -142,14 +142,14 @@ function Wr() {
|
|
|
142
142
|
}
|
|
143
143
|
return null;
|
|
144
144
|
}
|
|
145
|
-
var U = Object.assign,
|
|
145
|
+
var U = Object.assign, K = 0, k, j, L, V, z, F, q;
|
|
146
146
|
function te() {
|
|
147
147
|
}
|
|
148
148
|
te.__reactDisabledLog = !0;
|
|
149
149
|
function Q() {
|
|
150
150
|
{
|
|
151
|
-
if (
|
|
152
|
-
|
|
151
|
+
if (K === 0) {
|
|
152
|
+
k = console.log, j = console.info, L = console.warn, V = console.error, z = console.group, F = console.groupCollapsed, q = console.groupEnd;
|
|
153
153
|
var i = {
|
|
154
154
|
configurable: !0,
|
|
155
155
|
enumerable: !0,
|
|
@@ -166,12 +166,12 @@ function Wr() {
|
|
|
166
166
|
groupEnd: i
|
|
167
167
|
});
|
|
168
168
|
}
|
|
169
|
-
|
|
169
|
+
K++;
|
|
170
170
|
}
|
|
171
171
|
}
|
|
172
172
|
function ne() {
|
|
173
173
|
{
|
|
174
|
-
if (
|
|
174
|
+
if (K--, K === 0) {
|
|
175
175
|
var i = {
|
|
176
176
|
configurable: !0,
|
|
177
177
|
enumerable: !0,
|
|
@@ -179,29 +179,29 @@ function Wr() {
|
|
|
179
179
|
};
|
|
180
180
|
Object.defineProperties(console, {
|
|
181
181
|
log: U({}, i, {
|
|
182
|
-
value:
|
|
182
|
+
value: k
|
|
183
183
|
}),
|
|
184
184
|
info: U({}, i, {
|
|
185
|
-
value:
|
|
185
|
+
value: j
|
|
186
186
|
}),
|
|
187
187
|
warn: U({}, i, {
|
|
188
|
-
value:
|
|
188
|
+
value: L
|
|
189
189
|
}),
|
|
190
190
|
error: U({}, i, {
|
|
191
191
|
value: V
|
|
192
192
|
}),
|
|
193
193
|
group: U({}, i, {
|
|
194
|
-
value:
|
|
194
|
+
value: z
|
|
195
195
|
}),
|
|
196
196
|
groupCollapsed: U({}, i, {
|
|
197
197
|
value: F
|
|
198
198
|
}),
|
|
199
199
|
groupEnd: U({}, i, {
|
|
200
|
-
value:
|
|
200
|
+
value: q
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
}
|
|
204
|
-
|
|
204
|
+
K < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
var ie = y.ReactCurrentDispatcher, me;
|
|
@@ -211,8 +211,8 @@ function Wr() {
|
|
|
211
211
|
try {
|
|
212
212
|
throw Error();
|
|
213
213
|
} catch (X) {
|
|
214
|
-
var
|
|
215
|
-
me =
|
|
214
|
+
var $ = X.stack.trim().match(/\n( *(at )?)/);
|
|
215
|
+
me = $ && $[1] || "";
|
|
216
216
|
}
|
|
217
217
|
return `
|
|
218
218
|
` + me + i;
|
|
@@ -231,7 +231,7 @@ function Wr() {
|
|
|
231
231
|
if (I !== void 0)
|
|
232
232
|
return I;
|
|
233
233
|
}
|
|
234
|
-
var
|
|
234
|
+
var $;
|
|
235
235
|
Ke = !0;
|
|
236
236
|
var X = Error.prepareStackTrace;
|
|
237
237
|
Error.prepareStackTrace = void 0;
|
|
@@ -250,14 +250,14 @@ function Wr() {
|
|
|
250
250
|
try {
|
|
251
251
|
Reflect.construct(N, []);
|
|
252
252
|
} catch (ae) {
|
|
253
|
-
|
|
253
|
+
$ = ae;
|
|
254
254
|
}
|
|
255
255
|
Reflect.construct(i, [], N);
|
|
256
256
|
} else {
|
|
257
257
|
try {
|
|
258
258
|
N.call();
|
|
259
259
|
} catch (ae) {
|
|
260
|
-
|
|
260
|
+
$ = ae;
|
|
261
261
|
}
|
|
262
262
|
i.call(N.prototype);
|
|
263
263
|
}
|
|
@@ -265,26 +265,26 @@ function Wr() {
|
|
|
265
265
|
try {
|
|
266
266
|
throw Error();
|
|
267
267
|
} catch (ae) {
|
|
268
|
-
|
|
268
|
+
$ = ae;
|
|
269
269
|
}
|
|
270
270
|
i();
|
|
271
271
|
}
|
|
272
272
|
} catch (ae) {
|
|
273
|
-
if (ae &&
|
|
274
|
-
for (var
|
|
275
|
-
`), ee =
|
|
276
|
-
`),
|
|
273
|
+
if (ae && $ && typeof ae.stack == "string") {
|
|
274
|
+
for (var B = ae.stack.split(`
|
|
275
|
+
`), ee = $.stack.split(`
|
|
276
|
+
`), G = B.length - 1, J = ee.length - 1; G >= 1 && J >= 0 && B[G] !== ee[J]; )
|
|
277
277
|
J--;
|
|
278
|
-
for (;
|
|
279
|
-
if (
|
|
280
|
-
if (
|
|
278
|
+
for (; G >= 1 && J >= 0; G--, J--)
|
|
279
|
+
if (B[G] !== ee[J]) {
|
|
280
|
+
if (G !== 1 || J !== 1)
|
|
281
281
|
do
|
|
282
|
-
if (
|
|
282
|
+
if (G--, J--, J < 0 || B[G] !== ee[J]) {
|
|
283
283
|
var re = `
|
|
284
|
-
` +
|
|
284
|
+
` + B[G].replace(" at new ", " at ");
|
|
285
285
|
return i.displayName && re.includes("<anonymous>") && (re = re.replace("<anonymous>", i.displayName)), typeof i == "function" && De.set(i, re), re;
|
|
286
286
|
}
|
|
287
|
-
while (
|
|
287
|
+
while (G >= 1 && J >= 0);
|
|
288
288
|
break;
|
|
289
289
|
}
|
|
290
290
|
}
|
|
@@ -321,7 +321,7 @@ function Wr() {
|
|
|
321
321
|
case c:
|
|
322
322
|
return je(i.type, b, I);
|
|
323
323
|
case h: {
|
|
324
|
-
var
|
|
324
|
+
var $ = i, X = $._payload, W = $._init;
|
|
325
325
|
try {
|
|
326
326
|
return je(W(X), b, I);
|
|
327
327
|
} catch {
|
|
@@ -338,22 +338,22 @@ function Wr() {
|
|
|
338
338
|
} else
|
|
339
339
|
St.setExtraStackFrame(null);
|
|
340
340
|
}
|
|
341
|
-
function yr(i, b, I,
|
|
341
|
+
function yr(i, b, I, $, X) {
|
|
342
342
|
{
|
|
343
343
|
var W = Function.call.bind($e);
|
|
344
344
|
for (var N in i)
|
|
345
345
|
if (W(i, N)) {
|
|
346
|
-
var
|
|
346
|
+
var B = void 0;
|
|
347
347
|
try {
|
|
348
348
|
if (typeof i[N] != "function") {
|
|
349
|
-
var ee = Error((
|
|
349
|
+
var ee = Error(($ || "React class") + ": " + I + " type `" + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof i[N] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
350
350
|
throw ee.name = "Invariant Violation", ee;
|
|
351
351
|
}
|
|
352
|
-
|
|
353
|
-
} catch (
|
|
354
|
-
|
|
352
|
+
B = i[N](b, N, $, I, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
353
|
+
} catch (G) {
|
|
354
|
+
B = G;
|
|
355
355
|
}
|
|
356
|
-
|
|
356
|
+
B && !(B instanceof Error) && (Ae(X), x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", $ || "React class", I, N, typeof B), Ae(null)), B instanceof Error && !(B.message in yt) && (yt[B.message] = !0, Ae(X), x("Failed %s type: %s", I, B.message), Ae(null));
|
|
357
357
|
}
|
|
358
358
|
}
|
|
359
359
|
}
|
|
@@ -432,8 +432,8 @@ function Wr() {
|
|
|
432
432
|
});
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
|
-
var Or = function(i, b, I,
|
|
436
|
-
var
|
|
435
|
+
var Or = function(i, b, I, $, X, W, N) {
|
|
436
|
+
var B = {
|
|
437
437
|
// This tag allows us to uniquely identify this as a React Element
|
|
438
438
|
$$typeof: t,
|
|
439
439
|
// Built-in properties that belong on the element
|
|
@@ -444,39 +444,39 @@ function Wr() {
|
|
|
444
444
|
// Record the component responsible for creating this element.
|
|
445
445
|
_owner: W
|
|
446
446
|
};
|
|
447
|
-
return
|
|
447
|
+
return B._store = {}, Object.defineProperty(B._store, "validated", {
|
|
448
448
|
configurable: !1,
|
|
449
449
|
enumerable: !1,
|
|
450
450
|
writable: !0,
|
|
451
451
|
value: !1
|
|
452
|
-
}), Object.defineProperty(
|
|
452
|
+
}), Object.defineProperty(B, "_self", {
|
|
453
453
|
configurable: !1,
|
|
454
454
|
enumerable: !1,
|
|
455
455
|
writable: !1,
|
|
456
|
-
value:
|
|
457
|
-
}), Object.defineProperty(
|
|
456
|
+
value: $
|
|
457
|
+
}), Object.defineProperty(B, "_source", {
|
|
458
458
|
configurable: !1,
|
|
459
459
|
enumerable: !1,
|
|
460
460
|
writable: !1,
|
|
461
461
|
value: X
|
|
462
|
-
}), Object.freeze && (Object.freeze(
|
|
462
|
+
}), Object.freeze && (Object.freeze(B.props), Object.freeze(B)), B;
|
|
463
463
|
};
|
|
464
|
-
function Tr(i, b, I,
|
|
464
|
+
function Tr(i, b, I, $, X) {
|
|
465
465
|
{
|
|
466
|
-
var W, N = {},
|
|
467
|
-
I !== void 0 && (bt(I),
|
|
466
|
+
var W, N = {}, B = null, ee = null;
|
|
467
|
+
I !== void 0 && (bt(I), B = "" + I), xr(b) && (bt(b.key), B = "" + b.key), wr(b) && (ee = b.ref, Cr(b, X));
|
|
468
468
|
for (W in b)
|
|
469
469
|
$e.call(b, W) && !Er.hasOwnProperty(W) && (N[W] = b[W]);
|
|
470
470
|
if (i && i.defaultProps) {
|
|
471
|
-
var
|
|
472
|
-
for (W in
|
|
473
|
-
N[W] === void 0 && (N[W] =
|
|
471
|
+
var G = i.defaultProps;
|
|
472
|
+
for (W in G)
|
|
473
|
+
N[W] === void 0 && (N[W] = G[W]);
|
|
474
474
|
}
|
|
475
|
-
if (
|
|
475
|
+
if (B || ee) {
|
|
476
476
|
var J = typeof i == "function" ? i.displayName || i.name || "Unknown" : i;
|
|
477
|
-
|
|
477
|
+
B && Rr(N, J), ee && Ir(N, J);
|
|
478
478
|
}
|
|
479
|
-
return Or(i,
|
|
479
|
+
return Or(i, B, ee, X, $, be.current, N);
|
|
480
480
|
}
|
|
481
481
|
}
|
|
482
482
|
var Ge = y.ReactCurrentOwner, xt = y.ReactDebugCurrentFrame;
|
|
@@ -537,8 +537,8 @@ Check the top-level render call using <` + I + ">.");
|
|
|
537
537
|
if (Rt[I])
|
|
538
538
|
return;
|
|
539
539
|
Rt[I] = !0;
|
|
540
|
-
var
|
|
541
|
-
i && i._owner && i._owner !== Ge.current && (
|
|
540
|
+
var $ = "";
|
|
541
|
+
i && i._owner && i._owner !== Ge.current && ($ = " It was passed a child from " + Y(i._owner.type) + "."), he(i), x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', I, $), he(null);
|
|
542
542
|
}
|
|
543
543
|
}
|
|
544
544
|
function Ot(i, b) {
|
|
@@ -547,8 +547,8 @@ Check the top-level render call using <` + I + ">.");
|
|
|
547
547
|
return;
|
|
548
548
|
if (He(i))
|
|
549
549
|
for (var I = 0; I < i.length; I++) {
|
|
550
|
-
var
|
|
551
|
-
Ze(
|
|
550
|
+
var $ = i[I];
|
|
551
|
+
Ze($) && It($, b);
|
|
552
552
|
}
|
|
553
553
|
else if (Ze(i))
|
|
554
554
|
i._store && (i._store.validated = !0);
|
|
@@ -575,8 +575,8 @@ Check the top-level render call using <` + I + ">.");
|
|
|
575
575
|
else
|
|
576
576
|
return;
|
|
577
577
|
if (I) {
|
|
578
|
-
var
|
|
579
|
-
yr(I, i.props, "prop",
|
|
578
|
+
var $ = Y(b);
|
|
579
|
+
yr(I, i.props, "prop", $, i);
|
|
580
580
|
} else if (b.PropTypes !== void 0 && !Je) {
|
|
581
581
|
Je = !0;
|
|
582
582
|
var X = Y(b);
|
|
@@ -588,25 +588,25 @@ Check the top-level render call using <` + I + ">.");
|
|
|
588
588
|
function Dr(i) {
|
|
589
589
|
{
|
|
590
590
|
for (var b = Object.keys(i.props), I = 0; I < b.length; I++) {
|
|
591
|
-
var
|
|
592
|
-
if (
|
|
593
|
-
he(i), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
591
|
+
var $ = b[I];
|
|
592
|
+
if ($ !== "children" && $ !== "key") {
|
|
593
|
+
he(i), x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", $), he(null);
|
|
594
594
|
break;
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
i.ref !== null && (he(i), x("Invalid attribute `ref` supplied to `React.Fragment`."), he(null));
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
function Tt(i, b, I,
|
|
600
|
+
function Tt(i, b, I, $, X, W) {
|
|
601
601
|
{
|
|
602
602
|
var N = D(i);
|
|
603
603
|
if (!N) {
|
|
604
|
-
var
|
|
605
|
-
(i === void 0 || typeof i == "object" && i !== null && Object.keys(i).length === 0) && (
|
|
604
|
+
var B = "";
|
|
605
|
+
(i === void 0 || typeof i == "object" && i !== null && Object.keys(i).length === 0) && (B += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
606
606
|
var ee = kr(X);
|
|
607
|
-
ee ?
|
|
608
|
-
var
|
|
609
|
-
i === null ?
|
|
607
|
+
ee ? B += ee : B += Ct();
|
|
608
|
+
var G;
|
|
609
|
+
i === null ? G = "null" : He(i) ? G = "array" : i !== void 0 && i.$$typeof === t ? (G = "<" + (Y(i.type) || "Unknown") + " />", B = " Did you accidentally export a JSX literal instead of a component?") : G = typeof i, x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", G, B);
|
|
610
610
|
}
|
|
611
611
|
var J = Tr(i, b, I, X, W);
|
|
612
612
|
if (J == null)
|
|
@@ -614,7 +614,7 @@ Check the top-level render call using <` + I + ">.");
|
|
|
614
614
|
if (N) {
|
|
615
615
|
var re = b.children;
|
|
616
616
|
if (re !== void 0)
|
|
617
|
-
if (
|
|
617
|
+
if ($)
|
|
618
618
|
if (He(re)) {
|
|
619
619
|
for (var ve = 0; ve < re.length; ve++)
|
|
620
620
|
Ot(re[ve], i);
|
|
@@ -640,7 +640,7 @@ Check the top-level render call using <` + I + ">.");
|
|
|
640
640
|
(function(e) {
|
|
641
641
|
process.env.NODE_ENV === "production" ? e.exports = Ur() : e.exports = Wr();
|
|
642
642
|
})(Xr);
|
|
643
|
-
const Vr = Ie.Fragment,
|
|
643
|
+
const Vr = Ie.Fragment, P = Ie.jsx, le = Ie.jsxs;
|
|
644
644
|
let Fr = (e = 21) => crypto.getRandomValues(new Uint8Array(e)).reduce((t, r) => (r &= 63, r < 36 ? t += r.toString(36) : r < 62 ? t += (r - 26).toString(36).toUpperCase() : r > 62 ? t += "-" : t += "_", t), "");
|
|
645
645
|
class Kr {
|
|
646
646
|
constructor(t, r, n = null) {
|
|
@@ -761,7 +761,7 @@ const Hr = ({
|
|
|
761
761
|
});
|
|
762
762
|
}), e.emit("joinSuperSocket", { room: t, userId: o });
|
|
763
763
|
});
|
|
764
|
-
}, at = g.createContext(), qr = () => /* @__PURE__ */
|
|
764
|
+
}, at = g.createContext(), qr = () => /* @__PURE__ */ P(
|
|
765
765
|
"div",
|
|
766
766
|
{
|
|
767
767
|
style: {
|
|
@@ -773,7 +773,7 @@ const Hr = ({
|
|
|
773
773
|
justifyContent: "center",
|
|
774
774
|
alignItems: "center"
|
|
775
775
|
},
|
|
776
|
-
children: /* @__PURE__ */
|
|
776
|
+
children: /* @__PURE__ */ P("h2", { children: "🌀 Loading..." })
|
|
777
777
|
}
|
|
778
778
|
), or = ({
|
|
779
779
|
socket: e,
|
|
@@ -806,7 +806,7 @@ const Hr = ({
|
|
|
806
806
|
})), () => {
|
|
807
807
|
var E;
|
|
808
808
|
(E = c.current) == null || E.leave();
|
|
809
|
-
}) : null, [r, t, e]), !s || !d ? /* @__PURE__ */
|
|
809
|
+
}) : null, [r, t, e]), !s || !d ? /* @__PURE__ */ P(n, {}) : /* @__PURE__ */ P(
|
|
810
810
|
at.Provider,
|
|
811
811
|
{
|
|
812
812
|
value: { ...S, [r]: { wire: d, joined: s, isMaster: u, room: t } },
|
|
@@ -1066,11 +1066,11 @@ function tn() {
|
|
|
1066
1066
|
}
|
|
1067
1067
|
return w = Y, Y;
|
|
1068
1068
|
}
|
|
1069
|
-
var
|
|
1070
|
-
if (n(
|
|
1071
|
-
return
|
|
1072
|
-
var
|
|
1073
|
-
return v !== void 0 && v(
|
|
1069
|
+
var K = m, k = w;
|
|
1070
|
+
if (n(K, A))
|
|
1071
|
+
return k;
|
|
1072
|
+
var j = S(A);
|
|
1073
|
+
return v !== void 0 && v(k, j) ? k : (m = A, w = j, j);
|
|
1074
1074
|
}, T = h === void 0 ? null : h, D = function() {
|
|
1075
1075
|
return R(c());
|
|
1076
1076
|
}, M = T === null ? void 0 : function() {
|
|
@@ -1386,7 +1386,7 @@ const cr = g.createContext(), ln = (e, t) => ({
|
|
|
1386
1386
|
const u = a.subscribe((l) => {
|
|
1387
1387
|
l.ready && (u(), s(!0));
|
|
1388
1388
|
});
|
|
1389
|
-
}, [a]), o ? /* @__PURE__ */
|
|
1389
|
+
}, [a]), o ? /* @__PURE__ */ P(cr.Provider, { value: a, children: t }) : null;
|
|
1390
1390
|
}, oe = (e, t) => {
|
|
1391
1391
|
const r = _e(cr);
|
|
1392
1392
|
return We(r, e, t || Ve);
|
|
@@ -1488,7 +1488,7 @@ const cr = g.createContext(), ln = (e, t) => ({
|
|
|
1488
1488
|
...yn(...r)
|
|
1489
1489
|
}))
|
|
1490
1490
|
);
|
|
1491
|
-
return /* @__PURE__ */
|
|
1491
|
+
return /* @__PURE__ */ P(lr.Provider, { value: t, children: e });
|
|
1492
1492
|
}, Z = (e, t) => {
|
|
1493
1493
|
const r = _e(lr);
|
|
1494
1494
|
return We(r, e, t || Ve);
|
|
@@ -1641,8 +1641,8 @@ const wn = ({
|
|
|
1641
1641
|
};
|
|
1642
1642
|
nt && console.log("New expected values: ", T, D, M, A);
|
|
1643
1643
|
const Y = c(M);
|
|
1644
|
-
let [U,
|
|
1645
|
-
(T !== R.translateX || D !== R.translateY) && ([U,
|
|
1644
|
+
let [U, K] = [T, D];
|
|
1645
|
+
(T !== R.translateX || D !== R.translateY) && ([U, K] = wn({
|
|
1646
1646
|
x: T,
|
|
1647
1647
|
y: D,
|
|
1648
1648
|
scale: Y,
|
|
@@ -1650,11 +1650,11 @@ const wn = ({
|
|
|
1650
1650
|
itemExtent: _,
|
|
1651
1651
|
boardWrapperRect: m,
|
|
1652
1652
|
boardSize: w
|
|
1653
|
-
})), nt && console.log("New fixed values: ", U,
|
|
1654
|
-
translateX: U,
|
|
1655
|
-
translateY:
|
|
1656
|
-
scale: Y,
|
|
1657
|
-
rotate: A
|
|
1653
|
+
})), nt && console.log("New fixed values: ", U, K, Y, A), t({
|
|
1654
|
+
translateX: isNaN(U) ? 0 : U,
|
|
1655
|
+
translateY: isNaN(K) ? 0 : K,
|
|
1656
|
+
scale: isNaN(Y) ? c(1) : Y,
|
|
1657
|
+
rotate: isNaN(A) ? 0 : A
|
|
1658
1658
|
});
|
|
1659
1659
|
},
|
|
1660
1660
|
[c, e, n, t]
|
|
@@ -1689,16 +1689,16 @@ const wn = ({
|
|
|
1689
1689
|
[c, e, n, h]
|
|
1690
1690
|
), E = g.useCallback(
|
|
1691
1691
|
({ x: p, y: _, radius: m }) => {
|
|
1692
|
-
const { rotate: w } = e(), { boardWrapperRect: R, boardSize: T } = n(), D = R.width / (
|
|
1693
|
-
[-T / 2 -
|
|
1692
|
+
const { rotate: w } = e(), { boardWrapperRect: R, boardSize: T } = n(), [D, M, A] = [p || 0, _ || 0, m || 2e3], Y = R.width / (A * 2), U = R.height / (A * 2), K = c(Math.min(Y, U) * En), [k, j] = Be(
|
|
1693
|
+
[-T / 2 - D, -T / 2 - M],
|
|
1694
1694
|
{
|
|
1695
1695
|
translateX: R.width / 2,
|
|
1696
1696
|
translateY: R.height / 2,
|
|
1697
|
-
scale:
|
|
1697
|
+
scale: K,
|
|
1698
1698
|
rotate: w
|
|
1699
1699
|
}
|
|
1700
1700
|
);
|
|
1701
|
-
h((
|
|
1701
|
+
h((L) => ({ ...L, translateX: k, translateY: j, scale: K }));
|
|
1702
1702
|
},
|
|
1703
1703
|
[c, e, n, h]
|
|
1704
1704
|
), O = g.useCallback(() => {
|
|
@@ -1785,11 +1785,11 @@ const wn = ({
|
|
|
1785
1785
|
);
|
|
1786
1786
|
return { register: o, call: s };
|
|
1787
1787
|
}, ht = () => {
|
|
1788
|
-
const { call: e } = Ft("place"), { call: t } = Ft("delete"), { getCenter: r, updateItemExtent: n } = Me(), [o, s, a, u] = Z((
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1788
|
+
const { call: e } = Ft("place"), { call: t } = Ft("delete"), { getCenter: r, updateItemExtent: n } = Me(), [o, s, a, u] = Z((k) => [
|
|
1789
|
+
k.clear,
|
|
1790
|
+
k.reverse,
|
|
1791
|
+
k.unselect,
|
|
1792
|
+
k.getConfiguration
|
|
1793
1793
|
]), {
|
|
1794
1794
|
getItems: l,
|
|
1795
1795
|
getItemIds: d,
|
|
@@ -1802,89 +1802,89 @@ const wn = ({
|
|
|
1802
1802
|
setItemList: O
|
|
1803
1803
|
} = oe(
|
|
1804
1804
|
({
|
|
1805
|
-
getItems:
|
|
1806
|
-
getItemIds:
|
|
1807
|
-
setItemIds:
|
|
1805
|
+
getItems: k,
|
|
1806
|
+
getItemIds: j,
|
|
1807
|
+
setItemIds: L,
|
|
1808
1808
|
updateItems: V,
|
|
1809
|
-
moveItems:
|
|
1809
|
+
moveItems: z,
|
|
1810
1810
|
removeItemsById: F,
|
|
1811
|
-
getItemList:
|
|
1811
|
+
getItemList: q,
|
|
1812
1812
|
insertItems: te,
|
|
1813
1813
|
setItemList: Q
|
|
1814
1814
|
}) => ({
|
|
1815
|
-
getItems:
|
|
1816
|
-
getItemIds:
|
|
1817
|
-
setItemIds:
|
|
1815
|
+
getItems: k,
|
|
1816
|
+
getItemIds: j,
|
|
1817
|
+
setItemIds: L,
|
|
1818
1818
|
updateItems: V,
|
|
1819
|
-
moveItems:
|
|
1819
|
+
moveItems: z,
|
|
1820
1820
|
removeItemsById: F,
|
|
1821
|
-
getItemList:
|
|
1821
|
+
getItemList: q,
|
|
1822
1822
|
insertItems: te,
|
|
1823
1823
|
setItemList: Q
|
|
1824
1824
|
})
|
|
1825
1825
|
), y = g.useCallback(
|
|
1826
|
-
(
|
|
1827
|
-
let V =
|
|
1828
|
-
typeof
|
|
1829
|
-
const
|
|
1826
|
+
(k, j, L = !1) => {
|
|
1827
|
+
let V = j;
|
|
1828
|
+
typeof j == "object" && (V = () => j);
|
|
1829
|
+
const z = d().filter((Q) => k.includes(Q)), F = l(), q = z.map((Q) => {
|
|
1830
1830
|
const ne = F[Q];
|
|
1831
|
-
return
|
|
1831
|
+
return L ? [Q, V(ne)] : [Q, V({ ...ne })];
|
|
1832
1832
|
}).filter(([, Q]) => Q);
|
|
1833
|
-
if (
|
|
1833
|
+
if (q.length === 0)
|
|
1834
1834
|
return;
|
|
1835
|
-
const te = Object.fromEntries(
|
|
1836
|
-
c(te,
|
|
1835
|
+
const te = Object.fromEntries(q);
|
|
1836
|
+
c(te, L), n();
|
|
1837
1837
|
},
|
|
1838
1838
|
[d, l, n, c]
|
|
1839
1839
|
), x = g.useCallback(
|
|
1840
|
-
(
|
|
1841
|
-
O(
|
|
1840
|
+
(k) => {
|
|
1841
|
+
O(k), o(), n();
|
|
1842
1842
|
},
|
|
1843
1843
|
[o, O, n]
|
|
1844
1844
|
), C = g.useCallback(
|
|
1845
|
-
(
|
|
1846
|
-
y([
|
|
1845
|
+
(k, j, L = !1) => {
|
|
1846
|
+
y([k], j, L);
|
|
1847
1847
|
},
|
|
1848
1848
|
[y]
|
|
1849
1849
|
), p = g.useCallback(
|
|
1850
|
-
(
|
|
1850
|
+
(k, j) => {
|
|
1851
1851
|
h(
|
|
1852
|
-
Nt(l(), d(),
|
|
1853
|
-
|
|
1852
|
+
Nt(l(), d(), k),
|
|
1853
|
+
j
|
|
1854
1854
|
);
|
|
1855
1855
|
},
|
|
1856
1856
|
[d, l, h]
|
|
1857
1857
|
), _ = g.useCallback(
|
|
1858
|
-
(
|
|
1859
|
-
const
|
|
1860
|
-
(
|
|
1858
|
+
(k) => {
|
|
1859
|
+
const j = d(), L = j.filter((z) => !k.includes(z)), V = j.filter(
|
|
1860
|
+
(z) => k.includes(z)
|
|
1861
1861
|
);
|
|
1862
|
-
f([...
|
|
1862
|
+
f([...L, ...V]);
|
|
1863
1863
|
},
|
|
1864
1864
|
[d, f]
|
|
1865
1865
|
), m = g.useCallback(
|
|
1866
|
-
(
|
|
1866
|
+
(k, { type: j, size: L } = {}) => {
|
|
1867
1867
|
const { uid: V } = u();
|
|
1868
1868
|
y(
|
|
1869
|
-
|
|
1870
|
-
(
|
|
1871
|
-
const F = Ne(V,
|
|
1869
|
+
k,
|
|
1870
|
+
(z) => {
|
|
1871
|
+
const F = Ne(V, z.id);
|
|
1872
1872
|
if (!F)
|
|
1873
1873
|
return;
|
|
1874
|
-
const
|
|
1875
|
-
type:
|
|
1876
|
-
size:
|
|
1874
|
+
const q = {
|
|
1875
|
+
type: j || "grid",
|
|
1876
|
+
size: L || 1,
|
|
1877
1877
|
offset: { x: 0, y: 0 },
|
|
1878
|
-
...
|
|
1878
|
+
...z.grid
|
|
1879
1879
|
};
|
|
1880
1880
|
return cn(
|
|
1881
1881
|
{
|
|
1882
|
-
x:
|
|
1883
|
-
y:
|
|
1882
|
+
x: z.x,
|
|
1883
|
+
y: z.y,
|
|
1884
1884
|
width: F.clientWidth,
|
|
1885
1885
|
height: F.clientHeight
|
|
1886
1886
|
},
|
|
1887
|
-
|
|
1887
|
+
q
|
|
1888
1888
|
);
|
|
1889
1889
|
},
|
|
1890
1890
|
!0
|
|
@@ -1892,13 +1892,13 @@ const wn = ({
|
|
|
1892
1892
|
},
|
|
1893
1893
|
[u, y]
|
|
1894
1894
|
), w = g.useCallback(
|
|
1895
|
-
(
|
|
1896
|
-
const
|
|
1895
|
+
(k, j) => {
|
|
1896
|
+
const L = Nt(
|
|
1897
1897
|
l(),
|
|
1898
1898
|
d(),
|
|
1899
|
-
|
|
1899
|
+
k
|
|
1900
1900
|
);
|
|
1901
|
-
_(
|
|
1901
|
+
_(L), y(L, { moving: !1 }, !0), m(L, j), e(k), n();
|
|
1902
1902
|
},
|
|
1903
1903
|
[
|
|
1904
1904
|
y,
|
|
@@ -1910,25 +1910,25 @@ const wn = ({
|
|
|
1910
1910
|
n
|
|
1911
1911
|
]
|
|
1912
1912
|
), R = g.useCallback(
|
|
1913
|
-
(
|
|
1914
|
-
f(
|
|
1913
|
+
(k) => {
|
|
1914
|
+
f(k);
|
|
1915
1915
|
},
|
|
1916
1916
|
[f]
|
|
1917
1917
|
), T = g.useCallback(
|
|
1918
|
-
(
|
|
1919
|
-
const
|
|
1920
|
-
(
|
|
1921
|
-
), V =
|
|
1918
|
+
(k) => {
|
|
1919
|
+
const j = d(), L = j.filter(
|
|
1920
|
+
(z) => k.includes(z)
|
|
1921
|
+
), V = j.map((z) => k.includes(z) ? L.pop() : z);
|
|
1922
1922
|
f(V), s();
|
|
1923
1923
|
},
|
|
1924
1924
|
[d, s, f]
|
|
1925
1925
|
), D = g.useCallback(
|
|
1926
|
-
(
|
|
1927
|
-
const
|
|
1928
|
-
|
|
1929
|
-
const Q =
|
|
1926
|
+
(k, j) => {
|
|
1927
|
+
const L = l(), V = Object.fromEntries(
|
|
1928
|
+
j.map((q, te) => {
|
|
1929
|
+
const Q = L[k[te]];
|
|
1930
1930
|
return [
|
|
1931
|
-
|
|
1931
|
+
q,
|
|
1932
1932
|
{
|
|
1933
1933
|
x: Q.x,
|
|
1934
1934
|
y: Q.y
|
|
@@ -1937,56 +1937,56 @@ const wn = ({
|
|
|
1937
1937
|
})
|
|
1938
1938
|
);
|
|
1939
1939
|
y(
|
|
1940
|
-
|
|
1941
|
-
(
|
|
1940
|
+
k,
|
|
1941
|
+
(q) => V[q.id],
|
|
1942
1942
|
!0
|
|
1943
1943
|
);
|
|
1944
|
-
const
|
|
1945
|
-
|
|
1946
|
-
), F = d().map((
|
|
1944
|
+
const z = Object.fromEntries(
|
|
1945
|
+
k.map((q, te) => [q, j[te]])
|
|
1946
|
+
), F = d().map((q) => k.includes(q) ? z[q] : q);
|
|
1947
1947
|
f(F);
|
|
1948
1948
|
},
|
|
1949
1949
|
[l, y, d, f]
|
|
1950
1950
|
), M = g.useCallback(
|
|
1951
|
-
(
|
|
1952
|
-
const
|
|
1953
|
-
E(V,
|
|
1951
|
+
(k, j) => {
|
|
1952
|
+
const L = r(), V = k.map((z, F) => !z.x || !z.y ? { ...z, x: L.x + 2 * F, y: L.y + 2 * F } : z);
|
|
1953
|
+
E(V, j), w(k.map(({ id: z }) => z));
|
|
1954
1954
|
},
|
|
1955
1955
|
[r, E, w]
|
|
1956
1956
|
), A = g.useCallback(
|
|
1957
|
-
(
|
|
1958
|
-
M([
|
|
1957
|
+
(k, j) => {
|
|
1958
|
+
M([k], j);
|
|
1959
1959
|
},
|
|
1960
1960
|
[M]
|
|
1961
1961
|
), Y = g.useCallback(
|
|
1962
|
-
(
|
|
1963
|
-
a(
|
|
1962
|
+
(k) => {
|
|
1963
|
+
a(k), S(k), t(k);
|
|
1964
1964
|
},
|
|
1965
1965
|
[a, S, t]
|
|
1966
1966
|
), U = g.useCallback(
|
|
1967
|
-
(
|
|
1968
|
-
const
|
|
1969
|
-
return
|
|
1967
|
+
(k) => {
|
|
1968
|
+
const j = l();
|
|
1969
|
+
return k.map((L) => j[L]);
|
|
1970
1970
|
},
|
|
1971
1971
|
[l]
|
|
1972
|
-
),
|
|
1973
|
-
({ target:
|
|
1974
|
-
if (["INPUT", "TEXTAREA"].includes(
|
|
1972
|
+
), K = g.useCallback(
|
|
1973
|
+
({ target: k, clientX: j, clientY: L }, { returnLocked: V = !1, passLocked: z = !1 } = {}) => {
|
|
1974
|
+
if (["INPUT", "TEXTAREA"].includes(k.tagName))
|
|
1975
1975
|
return null;
|
|
1976
|
-
const F = Oe(
|
|
1976
|
+
const F = Oe(k, "item");
|
|
1977
1977
|
if (F) {
|
|
1978
1978
|
if (ye(F, "selected"))
|
|
1979
1979
|
return F;
|
|
1980
|
-
if (!
|
|
1980
|
+
if (!z && ye(F, "locked") && !ye(k, "passthrough"))
|
|
1981
1981
|
return V ? F : null;
|
|
1982
|
-
if (ye(
|
|
1983
|
-
const
|
|
1982
|
+
if (ye(k, "passthrough")) {
|
|
1983
|
+
const q = d(), { uid: te } = u(), Q = q.reduce((ne, ie) => {
|
|
1984
1984
|
const me = Ne(te, ie), ge = me.getBoundingClientRect();
|
|
1985
|
-
return dt({ x:
|
|
1985
|
+
return dt({ x: j, y: L }, ge) && ne.unshift(me), ne;
|
|
1986
1986
|
}, []);
|
|
1987
1987
|
for (let ne = 0; ne < Q.length; ne += 1) {
|
|
1988
1988
|
const ie = Q[ne];
|
|
1989
|
-
if (ie !== F && (
|
|
1989
|
+
if (ie !== F && (z || !ye(ie, "locked")))
|
|
1990
1990
|
return ie;
|
|
1991
1991
|
}
|
|
1992
1992
|
return null;
|
|
@@ -2010,7 +2010,7 @@ const wn = ({
|
|
|
2010
2010
|
pushItems: M,
|
|
2011
2011
|
removeItems: Y,
|
|
2012
2012
|
getItemList: v,
|
|
2013
|
-
findElementUnderPointer:
|
|
2013
|
+
findElementUnderPointer: K,
|
|
2014
2014
|
getItems: U
|
|
2015
2015
|
};
|
|
2016
2016
|
};
|
|
@@ -2259,7 +2259,7 @@ const fr = g.createContext(), lt = (e) => {
|
|
|
2259
2259
|
}
|
|
2260
2260
|
}, [n, o, r]), g.useEffect(() => {
|
|
2261
2261
|
n && o && o.getState().updateCurrentUser({ isMaster: n });
|
|
2262
|
-
}, [n, o, r]), a ? /* @__PURE__ */
|
|
2262
|
+
}, [n, o, r]), a ? /* @__PURE__ */ P(fr.Provider, { value: o, children: t }) : null;
|
|
2263
2263
|
}, Se = (e, t) => {
|
|
2264
2264
|
const r = _e(fr);
|
|
2265
2265
|
return We(r, e, t || Ve);
|
|
@@ -2348,7 +2348,7 @@ const fr = g.createContext(), lt = (e) => {
|
|
|
2348
2348
|
)
|
|
2349
2349
|
)
|
|
2350
2350
|
);
|
|
2351
|
-
return /* @__PURE__ */
|
|
2351
|
+
return /* @__PURE__ */ P(pr.Provider, { value: o, children: t });
|
|
2352
2352
|
}, Mn = (e, t) => {
|
|
2353
2353
|
const r = _e(pr);
|
|
2354
2354
|
return We(r, e, t || Ve);
|
|
@@ -2387,38 +2387,38 @@ const fr = g.createContext(), lt = (e) => {
|
|
|
2387
2387
|
itemIds: n.map(({ id: c }) => c),
|
|
2388
2388
|
items: Object.fromEntries(n.map((c) => [c.id, c]))
|
|
2389
2389
|
}));
|
|
2390
|
-
return Xe("room") ? /* @__PURE__ */
|
|
2390
|
+
return Xe("room") ? /* @__PURE__ */ P(
|
|
2391
2391
|
Ht,
|
|
2392
2392
|
{
|
|
2393
2393
|
storeName: `${l}_messages`,
|
|
2394
2394
|
defaultValue: o,
|
|
2395
|
-
children: /* @__PURE__ */
|
|
2395
|
+
children: /* @__PURE__ */ P(Vt, { children: /* @__PURE__ */ P(
|
|
2396
2396
|
Wt,
|
|
2397
2397
|
{
|
|
2398
2398
|
storeName: `${l}_item`,
|
|
2399
2399
|
defaultValue: d,
|
|
2400
|
-
children: /* @__PURE__ */
|
|
2400
|
+
children: /* @__PURE__ */ P(qt, { ...a, session: l })
|
|
2401
2401
|
}
|
|
2402
2402
|
) })
|
|
2403
2403
|
}
|
|
2404
|
-
) : /* @__PURE__ */
|
|
2404
|
+
) : /* @__PURE__ */ P(
|
|
2405
2405
|
or,
|
|
2406
2406
|
{
|
|
2407
2407
|
room: u,
|
|
2408
2408
|
channel: "room",
|
|
2409
2409
|
socket: e,
|
|
2410
2410
|
LoadingComponent: s,
|
|
2411
|
-
children: /* @__PURE__ */
|
|
2411
|
+
children: /* @__PURE__ */ P(dr, { storeName: `${u}_users`, children: /* @__PURE__ */ P(
|
|
2412
2412
|
Ht,
|
|
2413
2413
|
{
|
|
2414
2414
|
storeName: `${l}_messages`,
|
|
2415
2415
|
defaultValue: o,
|
|
2416
|
-
children: /* @__PURE__ */
|
|
2416
|
+
children: /* @__PURE__ */ P(Vt, { children: /* @__PURE__ */ P(
|
|
2417
2417
|
Wt,
|
|
2418
2418
|
{
|
|
2419
2419
|
storeName: `${l}_item`,
|
|
2420
2420
|
defaultValue: d,
|
|
2421
|
-
children: /* @__PURE__ */
|
|
2421
|
+
children: /* @__PURE__ */ P(qt, { ...a, session: l })
|
|
2422
2422
|
}
|
|
2423
2423
|
) })
|
|
2424
2424
|
}
|
|
@@ -2427,14 +2427,14 @@ const fr = g.createContext(), lt = (e) => {
|
|
|
2427
2427
|
);
|
|
2428
2428
|
}, hs = ({ socket: e, room: t, children: r, LoadingComponent: n }) => {
|
|
2429
2429
|
const [o] = g.useState(t || pe());
|
|
2430
|
-
return /* @__PURE__ */
|
|
2430
|
+
return /* @__PURE__ */ P(
|
|
2431
2431
|
or,
|
|
2432
2432
|
{
|
|
2433
2433
|
room: o,
|
|
2434
2434
|
channel: "room",
|
|
2435
2435
|
socket: e,
|
|
2436
2436
|
LoadingComponent: n,
|
|
2437
|
-
children: /* @__PURE__ */
|
|
2437
|
+
children: /* @__PURE__ */ P(dr, { storeName: `${o}_users`, children: r })
|
|
2438
2438
|
}
|
|
2439
2439
|
);
|
|
2440
2440
|
};
|
|
@@ -2481,12 +2481,12 @@ let jn = { data: "" }, $n = (e) => typeof window == "object" ? ((e ? e.querySele
|
|
|
2481
2481
|
}
|
|
2482
2482
|
return n + o + (a ?? "");
|
|
2483
2483
|
}, "");
|
|
2484
|
-
function
|
|
2484
|
+
function H(e) {
|
|
2485
2485
|
let t = this || {}, r = e.call ? e(t.p) : e;
|
|
2486
2486
|
return zn(r.unshift ? r.raw ? Yn(r, [].slice.call(arguments, 1), t.p) : r.reduce((n, o) => Object.assign(n, o && o.call ? o(t.p) : o), {}) : r, $n(t.target), t.g, t.o, t.k);
|
|
2487
2487
|
}
|
|
2488
|
-
|
|
2489
|
-
|
|
2488
|
+
H.bind({ g: 1 });
|
|
2489
|
+
H.bind({ k: 1 });
|
|
2490
2490
|
function Bn(e, t, r, n) {
|
|
2491
2491
|
fe.p = t;
|
|
2492
2492
|
}
|
|
@@ -2635,7 +2635,7 @@ const se = new Kn(), Fe = ({
|
|
|
2635
2635
|
const { clientX: M, clientY: A } = Jt(
|
|
2636
2636
|
c.current.pointers,
|
|
2637
2637
|
m
|
|
2638
|
-
), Y = (M + p) / 2, U = (A + _) / 2,
|
|
2638
|
+
), Y = (M + p) / 2, U = (A + _) / 2, K = Zt(
|
|
2639
2639
|
[M, A],
|
|
2640
2640
|
[p, _]
|
|
2641
2641
|
);
|
|
@@ -2647,8 +2647,8 @@ const se = new Kn(), Fe = ({
|
|
|
2647
2647
|
startY: _,
|
|
2648
2648
|
prevX: Y,
|
|
2649
2649
|
prevY: U,
|
|
2650
|
-
startDistance:
|
|
2651
|
-
prevDistance:
|
|
2650
|
+
startDistance: K,
|
|
2651
|
+
prevDistance: K
|
|
2652
2652
|
});
|
|
2653
2653
|
} catch (M) {
|
|
2654
2654
|
console.log("Error while getting other pointer. Ignoring", M), c.current.mainPointer;
|
|
@@ -2705,20 +2705,20 @@ const se = new Kn(), Fe = ({
|
|
|
2705
2705
|
const D = Object.keys(c.current.pointers).length === 2;
|
|
2706
2706
|
let M, A, Y = 0;
|
|
2707
2707
|
if (D) {
|
|
2708
|
-
const { clientX:
|
|
2708
|
+
const { clientX: j, clientY: L } = Jt(
|
|
2709
2709
|
c.current.pointers,
|
|
2710
2710
|
x
|
|
2711
2711
|
);
|
|
2712
|
-
M = (
|
|
2713
|
-
[
|
|
2712
|
+
M = (j + C) / 2, A = (L + p) / 2, Y = Zt(
|
|
2713
|
+
[j, L],
|
|
2714
2714
|
[C, p]
|
|
2715
2715
|
);
|
|
2716
2716
|
} else
|
|
2717
2717
|
M = C, A = p;
|
|
2718
2718
|
let U = m || _ || w || R || T !== 1;
|
|
2719
2719
|
d !== "drag" && (U = !U);
|
|
2720
|
-
const
|
|
2721
|
-
if (
|
|
2720
|
+
const K = !U, k = U;
|
|
2721
|
+
if (K) {
|
|
2722
2722
|
c.current.gestureStart || (f.current.style.cursor = "move", c.current.gestureStart = !0, clearTimeout(c.current.longTapTimeout), se.add(r, {
|
|
2723
2723
|
deltaX: 0,
|
|
2724
2724
|
deltaY: 0,
|
|
@@ -2736,16 +2736,16 @@ const se = new Kn(), Fe = ({
|
|
|
2736
2736
|
target: c.current.target,
|
|
2737
2737
|
event: c.current.pointerDownEvent
|
|
2738
2738
|
}));
|
|
2739
|
-
const
|
|
2739
|
+
const j = M - c.current.prevX, L = A - c.current.prevY, V = M - c.current.startX, z = A - c.current.startY;
|
|
2740
2740
|
se.add(t, {
|
|
2741
|
-
deltaX:
|
|
2742
|
-
deltaY:
|
|
2741
|
+
deltaX: j,
|
|
2742
|
+
deltaY: L,
|
|
2743
2743
|
startX: c.current.startX,
|
|
2744
2744
|
startY: c.current.startY,
|
|
2745
2745
|
clientX: M,
|
|
2746
2746
|
clientY: A,
|
|
2747
2747
|
distanceX: V,
|
|
2748
|
-
distanceY:
|
|
2748
|
+
distanceY: z,
|
|
2749
2749
|
button: c.current.currentButton,
|
|
2750
2750
|
altKey: _,
|
|
2751
2751
|
shiftKey: m,
|
|
@@ -2755,12 +2755,12 @@ const se = new Kn(), Fe = ({
|
|
|
2755
2755
|
event: y
|
|
2756
2756
|
});
|
|
2757
2757
|
}
|
|
2758
|
-
if (
|
|
2758
|
+
if (k) {
|
|
2759
2759
|
c.current.gestureStart || (f.current.style.cursor = "move", c.current.gestureStart = !0, clearTimeout(c.current.longTapTimeout));
|
|
2760
|
-
const
|
|
2760
|
+
const j = M - c.current.prevX, L = A - c.current.prevY, { target: V } = c.current;
|
|
2761
2761
|
if (se.add(o, {
|
|
2762
|
-
deltaX:
|
|
2763
|
-
deltaY:
|
|
2762
|
+
deltaX: j,
|
|
2763
|
+
deltaY: L,
|
|
2764
2764
|
button: c.current.currentButton,
|
|
2765
2765
|
altKey: _,
|
|
2766
2766
|
shiftKey: m,
|
|
@@ -2769,9 +2769,9 @@ const se = new Kn(), Fe = ({
|
|
|
2769
2769
|
target: V,
|
|
2770
2770
|
event: y
|
|
2771
2771
|
}), Y !== c.current.prevDistance && l) {
|
|
2772
|
-
const
|
|
2773
|
-
Math.abs(
|
|
2774
|
-
scale:
|
|
2772
|
+
const z = c.current.prevDistance - Y;
|
|
2773
|
+
Math.abs(z) > 0 && (se.add(l, {
|
|
2774
|
+
scale: z * 3,
|
|
2775
2775
|
clientX: M,
|
|
2776
2776
|
clientY: A,
|
|
2777
2777
|
event: y
|
|
@@ -2852,7 +2852,7 @@ const se = new Kn(), Fe = ({
|
|
|
2852
2852
|
}
|
|
2853
2853
|
}
|
|
2854
2854
|
};
|
|
2855
|
-
return /* @__PURE__ */
|
|
2855
|
+
return /* @__PURE__ */ P(
|
|
2856
2856
|
"div",
|
|
2857
2857
|
{
|
|
2858
2858
|
onWheel: h,
|
|
@@ -2882,44 +2882,44 @@ const se = new Kn(), Fe = ({
|
|
|
2882
2882
|
);
|
|
2883
2883
|
}, st = ({ onResize: e, ...t }) => {
|
|
2884
2884
|
const [r] = Z((o) => [o.getBoardState]);
|
|
2885
|
-
return /* @__PURE__ */
|
|
2885
|
+
return /* @__PURE__ */ P(Fe, { onDrag: ({ deltaX: o, deltaY: s, event: a }) => {
|
|
2886
2886
|
a.stopPropagation();
|
|
2887
2887
|
const { scale: u } = r();
|
|
2888
2888
|
e({
|
|
2889
2889
|
width: o / u,
|
|
2890
2890
|
height: s / u
|
|
2891
2891
|
});
|
|
2892
|
-
}, children: /* @__PURE__ */
|
|
2893
|
-
}, Hn =
|
|
2892
|
+
}, children: /* @__PURE__ */ P("div", { ...t }) });
|
|
2893
|
+
}, Hn = H`
|
|
2894
2894
|
display: inline-block;
|
|
2895
2895
|
transition: transform 150ms;
|
|
2896
2896
|
user-select: none;
|
|
2897
2897
|
padding: 2px;
|
|
2898
2898
|
box-sizing: border-box;
|
|
2899
|
-
`, qn =
|
|
2899
|
+
`, qn = H`
|
|
2900
2900
|
border: 2px dashed #db5034;
|
|
2901
2901
|
padding: 0px;
|
|
2902
2902
|
cursor: pointer;
|
|
2903
|
-
`, xe =
|
|
2903
|
+
`, xe = H`
|
|
2904
2904
|
position: absolute;
|
|
2905
2905
|
width: 0px;
|
|
2906
2906
|
height: 0px;
|
|
2907
|
-
`, Gn =
|
|
2907
|
+
`, Gn = H`
|
|
2908
2908
|
top: 0;
|
|
2909
2909
|
left: 0;
|
|
2910
|
-
`, Jn =
|
|
2910
|
+
`, Jn = H`
|
|
2911
2911
|
top: 0;
|
|
2912
2912
|
right: 0;
|
|
2913
|
-
`, Zn =
|
|
2913
|
+
`, Zn = H`
|
|
2914
2914
|
bottom: 0;
|
|
2915
2915
|
left: 0;
|
|
2916
|
-
`, Qn =
|
|
2916
|
+
`, Qn = H`
|
|
2917
2917
|
bottom: 0;
|
|
2918
2918
|
right: 0;
|
|
2919
|
-
`, eo =
|
|
2919
|
+
`, eo = H`
|
|
2920
2920
|
top: 50%;
|
|
2921
2921
|
left: 50%;
|
|
2922
|
-
`, it =
|
|
2922
|
+
`, it = H`
|
|
2923
2923
|
position: absolute;
|
|
2924
2924
|
|
|
2925
2925
|
width: 10px;
|
|
@@ -2927,22 +2927,22 @@ const se = new Kn(), Fe = ({
|
|
|
2927
2927
|
border: 2px solid #db5034;
|
|
2928
2928
|
background-color: #db5034;
|
|
2929
2929
|
cursor: move;
|
|
2930
|
-
`, to =
|
|
2930
|
+
`, to = H`
|
|
2931
2931
|
cursor: ew-resize;
|
|
2932
2932
|
right: -6px;
|
|
2933
2933
|
top: calc(50% - 5px);
|
|
2934
|
-
`, ro =
|
|
2934
|
+
`, ro = H`
|
|
2935
2935
|
cursor: ns-resize;
|
|
2936
2936
|
bottom: -6px;
|
|
2937
2937
|
left: calc(50% - 5px);
|
|
2938
|
-
`, no =
|
|
2938
|
+
`, no = H`
|
|
2939
2939
|
cursor: nwse-resize;
|
|
2940
2940
|
bottom: -6px;
|
|
2941
2941
|
right: -6px;
|
|
2942
2942
|
`, oo = ({ onReload: e }) => /* @__PURE__ */ le(
|
|
2943
2943
|
"div",
|
|
2944
2944
|
{
|
|
2945
|
-
className: `syncboard-error-item ${
|
|
2945
|
+
className: `syncboard-error-item ${H({
|
|
2946
2946
|
width: "100px",
|
|
2947
2947
|
display: "flex",
|
|
2948
2948
|
flexDirection: "column",
|
|
@@ -2952,7 +2952,7 @@ const se = new Kn(), Fe = ({
|
|
|
2952
2952
|
})}`,
|
|
2953
2953
|
children: [
|
|
2954
2954
|
"Sorry, this item seems broken.",
|
|
2955
|
-
/* @__PURE__ */
|
|
2955
|
+
/* @__PURE__ */ P("button", { onClick: e, children: "Reload it" })
|
|
2956
2956
|
]
|
|
2957
2957
|
}
|
|
2958
2958
|
);
|
|
@@ -2975,7 +2975,7 @@ class so extends g.Component {
|
|
|
2975
2975
|
}
|
|
2976
2976
|
render() {
|
|
2977
2977
|
const { ErrorComponent: t } = this.props;
|
|
2978
|
-
return this.state.hasError ? /* @__PURE__ */
|
|
2978
|
+
return this.state.hasError ? /* @__PURE__ */ P(t, { onReload: this.onReload }) : this.props.children;
|
|
2979
2979
|
}
|
|
2980
2980
|
}
|
|
2981
2981
|
const io = (e) => {
|
|
@@ -3050,7 +3050,7 @@ const io = (e) => {
|
|
|
3050
3050
|
}, m = ({ width: R }) => {
|
|
3051
3051
|
C({ height: R, width: R, keepRatio: !0 });
|
|
3052
3052
|
};
|
|
3053
|
-
return /* @__PURE__ */
|
|
3053
|
+
return /* @__PURE__ */ P(
|
|
3054
3054
|
"div",
|
|
3055
3055
|
{
|
|
3056
3056
|
style: { transform: `rotate(${r}deg` },
|
|
@@ -3066,36 +3066,36 @@ const io = (e) => {
|
|
|
3066
3066
|
onKeyDown: (R) => R.stopPropagation(),
|
|
3067
3067
|
onKeyUp: (R) => R.stopPropagation(),
|
|
3068
3068
|
children: [
|
|
3069
|
-
/* @__PURE__ */
|
|
3069
|
+
/* @__PURE__ */ P(
|
|
3070
3070
|
so,
|
|
3071
3071
|
{
|
|
3072
3072
|
itemId: n,
|
|
3073
3073
|
state: a,
|
|
3074
3074
|
ErrorComponent: ((w = d == null ? void 0 : d.error) == null ? void 0 : w.component) || oo,
|
|
3075
|
-
children: /* @__PURE__ */
|
|
3075
|
+
children: /* @__PURE__ */ P(S, { ...a, id: n, setState: O })
|
|
3076
3076
|
}
|
|
3077
3077
|
),
|
|
3078
|
-
/* @__PURE__ */
|
|
3079
|
-
/* @__PURE__ */
|
|
3080
|
-
/* @__PURE__ */
|
|
3081
|
-
/* @__PURE__ */
|
|
3082
|
-
/* @__PURE__ */
|
|
3078
|
+
/* @__PURE__ */ P("div", { className: `corner ${xe} ${Gn}` }),
|
|
3079
|
+
/* @__PURE__ */ P("div", { className: `corner ${xe} ${Jn}` }),
|
|
3080
|
+
/* @__PURE__ */ P("div", { className: `corner ${xe} ${Qn}` }),
|
|
3081
|
+
/* @__PURE__ */ P("div", { className: `corner ${xe} ${Zn}` }),
|
|
3082
|
+
/* @__PURE__ */ P("div", { className: `center ${xe} ${eo}` }),
|
|
3083
3083
|
f && /* @__PURE__ */ le(Vr, { children: [
|
|
3084
|
-
v.b && /* @__PURE__ */
|
|
3084
|
+
v.b && /* @__PURE__ */ P(
|
|
3085
3085
|
st,
|
|
3086
3086
|
{
|
|
3087
3087
|
className: `${it} ${no}`,
|
|
3088
3088
|
onResize: m
|
|
3089
3089
|
}
|
|
3090
3090
|
),
|
|
3091
|
-
v.h && /* @__PURE__ */
|
|
3091
|
+
v.h && /* @__PURE__ */ P(
|
|
3092
3092
|
st,
|
|
3093
3093
|
{
|
|
3094
3094
|
className: `${it} ${ro}`,
|
|
3095
3095
|
onResize: _
|
|
3096
3096
|
}
|
|
3097
3097
|
),
|
|
3098
|
-
v.w && /* @__PURE__ */
|
|
3098
|
+
v.w && /* @__PURE__ */ P(
|
|
3099
3099
|
st,
|
|
3100
3100
|
{
|
|
3101
3101
|
className: `${it} ${to}`,
|
|
@@ -3131,7 +3131,7 @@ const io = (e) => {
|
|
|
3131
3131
|
moving: l,
|
|
3132
3132
|
...d
|
|
3133
3133
|
} = o(e, { getCurrentUser: t }), f = (u + 4) * 10 + 100 + (l ? 5 : 0);
|
|
3134
|
-
return /* @__PURE__ */
|
|
3134
|
+
return /* @__PURE__ */ P(
|
|
3135
3135
|
"div",
|
|
3136
3136
|
{
|
|
3137
3137
|
className: r,
|
|
@@ -3139,7 +3139,7 @@ const io = (e) => {
|
|
|
3139
3139
|
transform: `translate(${s}px, ${a}px)`,
|
|
3140
3140
|
zIndex: f
|
|
3141
3141
|
},
|
|
3142
|
-
children: /* @__PURE__ */
|
|
3142
|
+
children: /* @__PURE__ */ P(
|
|
3143
3143
|
lo,
|
|
3144
3144
|
{
|
|
3145
3145
|
...n,
|
|
@@ -3160,14 +3160,14 @@ const io = (e) => {
|
|
|
3160
3160
|
d.config.itemTemplates,
|
|
3161
3161
|
d.selection
|
|
3162
3162
|
]
|
|
3163
|
-
), [u] = Se((d) => [d.getUser]), l =
|
|
3163
|
+
), [u] = Se((d) => [d.getUser]), l = H({
|
|
3164
3164
|
position: "absolute",
|
|
3165
3165
|
top: `${n / 2}px`,
|
|
3166
3166
|
left: `${n / 2}px`,
|
|
3167
3167
|
display: "inline-block",
|
|
3168
3168
|
lineHeight: 0
|
|
3169
3169
|
});
|
|
3170
|
-
return t.map((d) => /* @__PURE__ */
|
|
3170
|
+
return t.map((d) => /* @__PURE__ */ P(
|
|
3171
3171
|
mo,
|
|
3172
3172
|
{
|
|
3173
3173
|
state: r[d],
|
|
@@ -3217,7 +3217,7 @@ function ue(e, ...t) {
|
|
|
3217
3217
|
return vo(s, t[0], o, ...a), () => yo(s, t[0], o, ...a);
|
|
3218
3218
|
}, [e, t[0]]);
|
|
3219
3219
|
}
|
|
3220
|
-
const _o =
|
|
3220
|
+
const _o = H({
|
|
3221
3221
|
zIndex: 210,
|
|
3222
3222
|
position: "absolute",
|
|
3223
3223
|
backgroundColor: "hsla(0, 40%, 50%, 10%)",
|
|
@@ -3263,7 +3263,7 @@ const _o = K({
|
|
|
3263
3263
|
o(R);
|
|
3264
3264
|
});
|
|
3265
3265
|
}
|
|
3266
|
-
}, [a, d, f, o, S]), /* @__PURE__ */
|
|
3266
|
+
}, [a, d, f, o, S]), /* @__PURE__ */ P(
|
|
3267
3267
|
Fe,
|
|
3268
3268
|
{
|
|
3269
3269
|
onDragStart: async (m) => {
|
|
@@ -3305,7 +3305,7 @@ const _o = K({
|
|
|
3305
3305
|
},
|
|
3306
3306
|
mainAction: t ? "pan" : "drag",
|
|
3307
3307
|
children: /* @__PURE__ */ le("div", { ref: E, children: [
|
|
3308
|
-
f.moving && /* @__PURE__ */
|
|
3308
|
+
f.moving && /* @__PURE__ */ P(
|
|
3309
3309
|
"div",
|
|
3310
3310
|
{
|
|
3311
3311
|
style: {
|
|
@@ -3399,7 +3399,7 @@ const _o = K({
|
|
|
3399
3399
|
}), y.preventDefault();
|
|
3400
3400
|
}
|
|
3401
3401
|
}
|
|
3402
|
-
}), /* @__PURE__ */
|
|
3402
|
+
}), /* @__PURE__ */ P(Fe, { onDragStart: S, onDrag: v, onDragEnd: E, children: e });
|
|
3403
3403
|
}, xo = (e) => {
|
|
3404
3404
|
const t = g.useRef({ hover: !1, x: 0, y: 0 });
|
|
3405
3405
|
return ue(e.current, "mousemove", (n) => {
|
|
@@ -3499,13 +3499,13 @@ const _o = K({
|
|
|
3499
3499
|
}, C = (p) => {
|
|
3500
3500
|
["INPUT", "TEXTAREA"].includes(p.target.tagName) || p.key === " " && v().hover && l({ factor: 1 / 3, to: v() });
|
|
3501
3501
|
};
|
|
3502
|
-
return ue(document, "keydown", x), ue(document, "keyup", C), /* @__PURE__ */
|
|
3502
|
+
return ue(document, "keydown", x), ue(document, "keyup", C), /* @__PURE__ */ P(
|
|
3503
3503
|
Fe,
|
|
3504
3504
|
{
|
|
3505
3505
|
onPan: y,
|
|
3506
3506
|
onZoom: O,
|
|
3507
3507
|
mainAction: t ? "pan" : "drag",
|
|
3508
|
-
children: /* @__PURE__ */
|
|
3508
|
+
children: /* @__PURE__ */ P(
|
|
3509
3509
|
"div",
|
|
3510
3510
|
{
|
|
3511
3511
|
style: {
|
|
@@ -3520,7 +3520,7 @@ const _o = K({
|
|
|
3520
3520
|
)
|
|
3521
3521
|
}
|
|
3522
3522
|
);
|
|
3523
|
-
}, Oo =
|
|
3523
|
+
}, Oo = H({
|
|
3524
3524
|
position: "absolute",
|
|
3525
3525
|
top: 0,
|
|
3526
3526
|
left: 0,
|
|
@@ -3576,7 +3576,7 @@ const _o = K({
|
|
|
3576
3576
|
u,
|
|
3577
3577
|
d,
|
|
3578
3578
|
f
|
|
3579
|
-
]), !r || e.length < 2 ? null : /* @__PURE__ */
|
|
3579
|
+
]), !r || e.length < 2 ? null : /* @__PURE__ */ P(
|
|
3580
3580
|
"div",
|
|
3581
3581
|
{
|
|
3582
3582
|
style: {
|
|
@@ -3589,7 +3589,7 @@ const _o = K({
|
|
|
3589
3589
|
);
|
|
3590
3590
|
}, ko = () => {
|
|
3591
3591
|
const [e] = Z((t) => [t.boardState.movingItems]);
|
|
3592
|
-
return e ? null : /* @__PURE__ */
|
|
3592
|
+
return e ? null : /* @__PURE__ */ P(To, {});
|
|
3593
3593
|
}, Po = typeof window < "u" && typeof navigator < "u" && typeof document < "u";
|
|
3594
3594
|
let Le;
|
|
3595
3595
|
function Mo() {
|
|
@@ -3714,13 +3714,13 @@ function Vo(e) {
|
|
|
3714
3714
|
function Fo(e) {
|
|
3715
3715
|
return Vo(e) > 0.179;
|
|
3716
3716
|
}
|
|
3717
|
-
const Ko =
|
|
3717
|
+
const Ko = H({
|
|
3718
3718
|
display: "flex",
|
|
3719
3719
|
flexDirection: "row",
|
|
3720
3720
|
alignItems: "center",
|
|
3721
3721
|
zIndex: 210,
|
|
3722
3722
|
pointerEvents: "none"
|
|
3723
|
-
}), Ho =
|
|
3723
|
+
}), Ho = H({
|
|
3724
3724
|
fontWeight: "bold",
|
|
3725
3725
|
padding: "0 0.5em",
|
|
3726
3726
|
borderRadius: "2px",
|
|
@@ -3743,7 +3743,7 @@ const Ko = K({
|
|
|
3743
3743
|
width: t,
|
|
3744
3744
|
height: t,
|
|
3745
3745
|
children: [
|
|
3746
|
-
/* @__PURE__ */
|
|
3746
|
+
/* @__PURE__ */ P(
|
|
3747
3747
|
"path",
|
|
3748
3748
|
{
|
|
3749
3749
|
d: "m 1197.1015,869.718 -62.2719,-154.49286 133.3276,-9.05842 -257.6915,-253.12748 1.2392,356.98609 88.2465,-79.47087 61.702,152.78366 z",
|
|
@@ -3752,7 +3752,7 @@ const Ko = K({
|
|
|
3752
3752
|
}
|
|
3753
3753
|
}
|
|
3754
3754
|
),
|
|
3755
|
-
/* @__PURE__ */
|
|
3755
|
+
/* @__PURE__ */ P(
|
|
3756
3756
|
"path",
|
|
3757
3757
|
{
|
|
3758
3758
|
d: "m 1193.0939,861.12419 -62.2719,-154.49286 133.3276,-9.05842 -257.6915,-253.12748 1.2392,356.98609 88.2465,-79.47087 61.702,152.78366 z",
|
|
@@ -3766,7 +3766,7 @@ const Ko = K({
|
|
|
3766
3766
|
]
|
|
3767
3767
|
}
|
|
3768
3768
|
),
|
|
3769
|
-
/* @__PURE__ */
|
|
3769
|
+
/* @__PURE__ */ P(
|
|
3770
3770
|
"div",
|
|
3771
3771
|
{
|
|
3772
3772
|
style: {
|
|
@@ -3778,20 +3778,20 @@ const Ko = K({
|
|
|
3778
3778
|
}
|
|
3779
3779
|
)
|
|
3780
3780
|
] });
|
|
3781
|
-
}, Go = g.memo(qo), Jo =
|
|
3781
|
+
}, Go = g.memo(qo), Jo = H({
|
|
3782
3782
|
top: 0,
|
|
3783
3783
|
left: 0,
|
|
3784
3784
|
zIndex: 210,
|
|
3785
3785
|
position: "fixed",
|
|
3786
3786
|
pointerEvents: "none"
|
|
3787
|
-
}), Zo = ({ pos: e, ...t }) => /* @__PURE__ */
|
|
3787
|
+
}), Zo = ({ pos: e, ...t }) => /* @__PURE__ */ P(
|
|
3788
3788
|
"div",
|
|
3789
3789
|
{
|
|
3790
3790
|
className: Jo,
|
|
3791
3791
|
style: {
|
|
3792
3792
|
transform: `translate(${e.x - 6}px, ${e.y - 15}px)`
|
|
3793
3793
|
},
|
|
3794
|
-
children: /* @__PURE__ */
|
|
3794
|
+
children: /* @__PURE__ */ P(Go, { ...t })
|
|
3795
3795
|
}
|
|
3796
3796
|
), Qo = ({ children: e }) => {
|
|
3797
3797
|
const [t] = Z((v) => [
|
|
@@ -3824,7 +3824,7 @@ const Ko = K({
|
|
|
3824
3824
|
x: O + f.left,
|
|
3825
3825
|
y: y + f.top
|
|
3826
3826
|
};
|
|
3827
|
-
return dt(x, f) ? /* @__PURE__ */
|
|
3827
|
+
return dt(x, f) ? /* @__PURE__ */ P(
|
|
3828
3828
|
Zo,
|
|
3829
3829
|
{
|
|
3830
3830
|
pos: x,
|
|
@@ -3889,7 +3889,7 @@ const Ko = K({
|
|
|
3889
3889
|
boardWrapperRect: l.current.getBoundingClientRect()
|
|
3890
3890
|
});
|
|
3891
3891
|
});
|
|
3892
|
-
const S =
|
|
3892
|
+
const S = H({ ...ts, ...r });
|
|
3893
3893
|
return /* @__PURE__ */ le(
|
|
3894
3894
|
"div",
|
|
3895
3895
|
{
|
|
@@ -3897,7 +3897,7 @@ const Ko = K({
|
|
|
3897
3897
|
id: d,
|
|
3898
3898
|
className: `sync-board ${S}`,
|
|
3899
3899
|
children: [
|
|
3900
|
-
/* @__PURE__ */
|
|
3900
|
+
/* @__PURE__ */ P(Qo, { children: /* @__PURE__ */ P(Eo, { moveFirst: e, children: /* @__PURE__ */ P(Io, { moveFirst: e, children: /* @__PURE__ */ P(wo, { moveFirst: e, children: /* @__PURE__ */ P(u, { children: /* @__PURE__ */ le(
|
|
3901
3901
|
"div",
|
|
3902
3902
|
{
|
|
3903
3903
|
onContextMenu: (v) => {
|
|
@@ -3906,12 +3906,12 @@ const Ko = K({
|
|
|
3906
3906
|
style: h,
|
|
3907
3907
|
className: "board",
|
|
3908
3908
|
children: [
|
|
3909
|
-
/* @__PURE__ */
|
|
3909
|
+
/* @__PURE__ */ P(go, {}),
|
|
3910
3910
|
s
|
|
3911
3911
|
]
|
|
3912
3912
|
}
|
|
3913
3913
|
) }) }) }) }) }),
|
|
3914
|
-
/* @__PURE__ */
|
|
3914
|
+
/* @__PURE__ */ P(ko, {})
|
|
3915
3915
|
]
|
|
3916
3916
|
}
|
|
3917
3917
|
);
|