@warkypublic/zustandsyncstore 0.0.2 → 0.0.4
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/SyncStore.d.ts +1 -1
- package/dist/lib.cjs.js +8 -8
- package/dist/lib.cjs.js.map +1 -1
- package/dist/lib.es.js +328 -333
- package/dist/lib.es.js.map +1 -1
- package/package.json +1 -1
package/dist/lib.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import P, { createContext as Re, useContext as re, useRef as te, useLayoutEffect as ne } from "react";
|
|
1
|
+
import P, { createContext as Re, useContext as re, useRef as te, useMemo as Te, useLayoutEffect as ne } from "react";
|
|
2
2
|
import { createStore as oe } from "zustand";
|
|
3
|
-
function
|
|
3
|
+
function ge(r) {
|
|
4
4
|
return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
|
|
5
5
|
}
|
|
6
6
|
var D = { exports: {} }, C = {};
|
|
@@ -14,26 +14,26 @@ var D = { exports: {} }, C = {};
|
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
16
|
var ue;
|
|
17
|
-
function
|
|
17
|
+
function we() {
|
|
18
18
|
if (ue) return C;
|
|
19
19
|
ue = 1;
|
|
20
|
-
var r = Symbol.for("react.transitional.element"),
|
|
21
|
-
function
|
|
22
|
-
var
|
|
23
|
-
if (
|
|
24
|
-
|
|
25
|
-
for (var
|
|
26
|
-
|
|
27
|
-
} else
|
|
28
|
-
return
|
|
20
|
+
var r = Symbol.for("react.transitional.element"), s = Symbol.for("react.fragment");
|
|
21
|
+
function l(i, a, u) {
|
|
22
|
+
var E = null;
|
|
23
|
+
if (u !== void 0 && (E = "" + u), a.key !== void 0 && (E = "" + a.key), "key" in a) {
|
|
24
|
+
u = {};
|
|
25
|
+
for (var v in a)
|
|
26
|
+
v !== "key" && (u[v] = a[v]);
|
|
27
|
+
} else u = a;
|
|
28
|
+
return a = u.ref, {
|
|
29
29
|
$$typeof: r,
|
|
30
|
-
type:
|
|
31
|
-
key:
|
|
32
|
-
ref:
|
|
33
|
-
props:
|
|
30
|
+
type: i,
|
|
31
|
+
key: E,
|
|
32
|
+
ref: a !== void 0 ? a : null,
|
|
33
|
+
props: u
|
|
34
34
|
};
|
|
35
35
|
}
|
|
36
|
-
return C.Fragment =
|
|
36
|
+
return C.Fragment = s, C.jsx = l, C.jsxs = l, C;
|
|
37
37
|
}
|
|
38
38
|
var N = {};
|
|
39
39
|
/**
|
|
@@ -46,7 +46,7 @@ var N = {};
|
|
|
46
46
|
* LICENSE file in the root directory of this source tree.
|
|
47
47
|
*/
|
|
48
48
|
var ae;
|
|
49
|
-
function
|
|
49
|
+
function je() {
|
|
50
50
|
return ae || (ae = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
51
51
|
function r(e) {
|
|
52
52
|
if (e == null) return null;
|
|
@@ -54,7 +54,7 @@ function we() {
|
|
|
54
54
|
return e.$$typeof === ye ? null : e.displayName || e.name || null;
|
|
55
55
|
if (typeof e == "string") return e;
|
|
56
56
|
switch (e) {
|
|
57
|
-
case
|
|
57
|
+
case t:
|
|
58
58
|
return "Fragment";
|
|
59
59
|
case b:
|
|
60
60
|
return "Profiler";
|
|
@@ -71,76 +71,76 @@ function we() {
|
|
|
71
71
|
switch (typeof e.tag == "number" && console.error(
|
|
72
72
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
73
73
|
), e.$$typeof) {
|
|
74
|
-
case
|
|
74
|
+
case c:
|
|
75
75
|
return "Portal";
|
|
76
76
|
case h:
|
|
77
77
|
return (e.displayName || "Context") + ".Provider";
|
|
78
78
|
case O:
|
|
79
79
|
return (e._context.displayName || "Context") + ".Consumer";
|
|
80
80
|
case w:
|
|
81
|
-
var
|
|
82
|
-
return e = e.displayName, e || (e =
|
|
81
|
+
var d = e.render;
|
|
82
|
+
return e = e.displayName, e || (e = d.displayName || d.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
83
83
|
case j:
|
|
84
|
-
return
|
|
84
|
+
return d = e.displayName || null, d !== null ? d : r(e.type) || "Memo";
|
|
85
85
|
case L:
|
|
86
|
-
|
|
86
|
+
d = e._payload, e = e._init;
|
|
87
87
|
try {
|
|
88
|
-
return r(e(
|
|
88
|
+
return r(e(d));
|
|
89
89
|
} catch {
|
|
90
90
|
}
|
|
91
91
|
}
|
|
92
92
|
return null;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function s(e) {
|
|
95
95
|
return "" + e;
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function l(e) {
|
|
98
98
|
try {
|
|
99
|
-
|
|
100
|
-
var
|
|
99
|
+
s(e);
|
|
100
|
+
var d = !1;
|
|
101
101
|
} catch {
|
|
102
|
-
|
|
102
|
+
d = !0;
|
|
103
103
|
}
|
|
104
|
-
if (
|
|
105
|
-
|
|
106
|
-
var y =
|
|
104
|
+
if (d) {
|
|
105
|
+
d = console;
|
|
106
|
+
var y = d.error, T = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
107
107
|
return y.call(
|
|
108
|
-
|
|
108
|
+
d,
|
|
109
109
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
110
110
|
T
|
|
111
|
-
),
|
|
111
|
+
), s(e);
|
|
112
112
|
}
|
|
113
113
|
}
|
|
114
|
-
function
|
|
115
|
-
if (e ===
|
|
114
|
+
function i(e) {
|
|
115
|
+
if (e === t) return "<>";
|
|
116
116
|
if (typeof e == "object" && e !== null && e.$$typeof === L)
|
|
117
117
|
return "<...>";
|
|
118
118
|
try {
|
|
119
|
-
var
|
|
120
|
-
return
|
|
119
|
+
var d = r(e);
|
|
120
|
+
return d ? "<" + d + ">" : "<...>";
|
|
121
121
|
} catch {
|
|
122
122
|
return "<...>";
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
function
|
|
125
|
+
function a() {
|
|
126
126
|
var e = $.A;
|
|
127
127
|
return e === null ? null : e.getOwner();
|
|
128
128
|
}
|
|
129
|
-
function
|
|
129
|
+
function u() {
|
|
130
130
|
return Error("react-stack-top-frame");
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function E(e) {
|
|
133
133
|
if (K.call(e, "key")) {
|
|
134
|
-
var
|
|
135
|
-
if (
|
|
134
|
+
var d = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
135
|
+
if (d && d.isReactWarning) return !1;
|
|
136
136
|
}
|
|
137
137
|
return e.key !== void 0;
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function v(e, d) {
|
|
140
140
|
function y() {
|
|
141
141
|
B || (B = !0, console.error(
|
|
142
142
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
143
|
-
|
|
143
|
+
d
|
|
144
144
|
));
|
|
145
145
|
}
|
|
146
146
|
y.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
@@ -154,11 +154,11 @@ function we() {
|
|
|
154
154
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
155
155
|
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
156
156
|
}
|
|
157
|
-
function
|
|
157
|
+
function f(e, d, y, T, x, A, G, H) {
|
|
158
158
|
return y = A.ref, e = {
|
|
159
|
-
$$typeof:
|
|
159
|
+
$$typeof: n,
|
|
160
160
|
type: e,
|
|
161
|
-
key:
|
|
161
|
+
key: d,
|
|
162
162
|
props: A,
|
|
163
163
|
_owner: x
|
|
164
164
|
}, (y !== void 0 ? y : null) !== null ? Object.defineProperty(e, "ref", {
|
|
@@ -186,22 +186,22 @@ function we() {
|
|
|
186
186
|
value: H
|
|
187
187
|
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
188
188
|
}
|
|
189
|
-
function
|
|
190
|
-
var g =
|
|
189
|
+
function m(e, d, y, T, x, A, G, H) {
|
|
190
|
+
var g = d.children;
|
|
191
191
|
if (g !== void 0)
|
|
192
192
|
if (T)
|
|
193
193
|
if (be(g)) {
|
|
194
194
|
for (T = 0; T < g.length; T++)
|
|
195
|
-
|
|
195
|
+
_(g[T]);
|
|
196
196
|
Object.freeze && Object.freeze(g);
|
|
197
197
|
} else
|
|
198
198
|
console.error(
|
|
199
199
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
200
200
|
);
|
|
201
|
-
else
|
|
202
|
-
if (K.call(
|
|
201
|
+
else _(g);
|
|
202
|
+
if (K.call(d, "key")) {
|
|
203
203
|
g = r(e);
|
|
204
|
-
var I = Object.keys(
|
|
204
|
+
var I = Object.keys(d).filter(function(he) {
|
|
205
205
|
return he !== "key";
|
|
206
206
|
});
|
|
207
207
|
T = 0 < I.length ? "{key: someKey, " + I.join(": ..., ") + ": ...}" : "{key: someKey}", ee[g + T] || (I = 0 < I.length ? "{" + I.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
@@ -217,175 +217,161 @@ React keys must be passed directly to JSX without using spread:
|
|
|
217
217
|
g
|
|
218
218
|
), ee[g + T] = !0);
|
|
219
219
|
}
|
|
220
|
-
if (g = null, y !== void 0 && (
|
|
220
|
+
if (g = null, y !== void 0 && (l(y), g = "" + y), E(d) && (l(d.key), g = "" + d.key), "key" in d) {
|
|
221
221
|
y = {};
|
|
222
|
-
for (var Y in
|
|
223
|
-
Y !== "key" && (y[Y] =
|
|
224
|
-
} else y =
|
|
225
|
-
return g &&
|
|
222
|
+
for (var Y in d)
|
|
223
|
+
Y !== "key" && (y[Y] = d[Y]);
|
|
224
|
+
} else y = d;
|
|
225
|
+
return g && v(
|
|
226
226
|
y,
|
|
227
227
|
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
228
|
-
),
|
|
228
|
+
), f(
|
|
229
229
|
e,
|
|
230
230
|
g,
|
|
231
231
|
A,
|
|
232
232
|
x,
|
|
233
|
-
|
|
233
|
+
a(),
|
|
234
234
|
y,
|
|
235
235
|
G,
|
|
236
236
|
H
|
|
237
237
|
);
|
|
238
238
|
}
|
|
239
|
-
function
|
|
240
|
-
typeof e == "object" && e !== null && e.$$typeof ===
|
|
239
|
+
function _(e) {
|
|
240
|
+
typeof e == "object" && e !== null && e.$$typeof === n && e._store && (e._store.validated = 1);
|
|
241
241
|
}
|
|
242
|
-
var
|
|
242
|
+
var o = P, n = Symbol.for("react.transitional.element"), c = Symbol.for("react.portal"), t = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), O = Symbol.for("react.consumer"), h = Symbol.for("react.context"), w = Symbol.for("react.forward_ref"), k = Symbol.for("react.suspense"), R = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), L = Symbol.for("react.lazy"), Oe = Symbol.for("react.activity"), ye = Symbol.for("react.client.reference"), $ = o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, K = Object.prototype.hasOwnProperty, be = Array.isArray, W = console.createTask ? console.createTask : function() {
|
|
243
243
|
return null;
|
|
244
244
|
};
|
|
245
|
-
|
|
245
|
+
o = {
|
|
246
246
|
react_stack_bottom_frame: function(e) {
|
|
247
247
|
return e();
|
|
248
248
|
}
|
|
249
249
|
};
|
|
250
|
-
var B, X = {}, Z =
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
)(), Q = W(
|
|
254
|
-
N.Fragment =
|
|
250
|
+
var B, X = {}, Z = o.react_stack_bottom_frame.bind(
|
|
251
|
+
o,
|
|
252
|
+
u
|
|
253
|
+
)(), Q = W(i(u)), ee = {};
|
|
254
|
+
N.Fragment = t, N.jsx = function(e, d, y, T, x) {
|
|
255
255
|
var A = 1e4 > $.recentlyCreatedOwnerStacks++;
|
|
256
|
-
return
|
|
256
|
+
return m(
|
|
257
257
|
e,
|
|
258
|
-
|
|
258
|
+
d,
|
|
259
259
|
y,
|
|
260
260
|
!1,
|
|
261
261
|
T,
|
|
262
262
|
x,
|
|
263
263
|
A ? Error("react-stack-top-frame") : Z,
|
|
264
|
-
A ? W(
|
|
264
|
+
A ? W(i(e)) : Q
|
|
265
265
|
);
|
|
266
|
-
}, N.jsxs = function(e,
|
|
266
|
+
}, N.jsxs = function(e, d, y, T, x) {
|
|
267
267
|
var A = 1e4 > $.recentlyCreatedOwnerStacks++;
|
|
268
|
-
return
|
|
268
|
+
return m(
|
|
269
269
|
e,
|
|
270
|
-
|
|
270
|
+
d,
|
|
271
271
|
y,
|
|
272
272
|
!0,
|
|
273
273
|
T,
|
|
274
274
|
x,
|
|
275
275
|
A ? Error("react-stack-top-frame") : Z,
|
|
276
|
-
A ? W(
|
|
276
|
+
A ? W(i(e)) : Q
|
|
277
277
|
);
|
|
278
278
|
};
|
|
279
279
|
})()), N;
|
|
280
280
|
}
|
|
281
281
|
var se;
|
|
282
|
-
function
|
|
283
|
-
return se || (se = 1, process.env.NODE_ENV === "production" ? D.exports =
|
|
284
|
-
}
|
|
285
|
-
var ie = je();
|
|
286
|
-
function Ae(r, i) {
|
|
287
|
-
const s = /* @__PURE__ */ new WeakMap();
|
|
288
|
-
return (function a(t, o) {
|
|
289
|
-
let v, d;
|
|
290
|
-
return typeof t == "object" && t !== null && !(t instanceof Boolean) && !(t instanceof Date) && !(t instanceof Number) && !(t instanceof RegExp) && !(t instanceof String) ? (v = s.get(t), v !== void 0 ? { $ref: v } : (s.set(t, o), Array.isArray(t) ? (d = [], t.forEach(function(S, l) {
|
|
291
|
-
d[l] = a(S, o + "[" + l + "]");
|
|
292
|
-
})) : (d = {}, Object.keys(t).forEach(function(S) {
|
|
293
|
-
d[S] = a(
|
|
294
|
-
t[S],
|
|
295
|
-
o + "[" + JSON.stringify(S) + "]"
|
|
296
|
-
);
|
|
297
|
-
})), d)) : t;
|
|
298
|
-
})(r, "$");
|
|
282
|
+
function Ae() {
|
|
283
|
+
return se || (se = 1, process.env.NODE_ENV === "production" ? D.exports = we() : D.exports = je()), D.exports;
|
|
299
284
|
}
|
|
300
|
-
|
|
301
|
-
|
|
285
|
+
var ie = Ae();
|
|
286
|
+
function ke(r, s) {
|
|
287
|
+
let l;
|
|
302
288
|
try {
|
|
303
|
-
|
|
289
|
+
l = r();
|
|
304
290
|
} catch {
|
|
305
291
|
return;
|
|
306
292
|
}
|
|
307
293
|
return {
|
|
308
|
-
getItem: (
|
|
309
|
-
var
|
|
310
|
-
const
|
|
311
|
-
return
|
|
294
|
+
getItem: (a) => {
|
|
295
|
+
var u;
|
|
296
|
+
const E = (S) => S === null ? null : JSON.parse(S, void 0), v = (u = l.getItem(a)) != null ? u : null;
|
|
297
|
+
return v instanceof Promise ? v.then(E) : E(v);
|
|
312
298
|
},
|
|
313
|
-
setItem: (
|
|
314
|
-
removeItem: (
|
|
299
|
+
setItem: (a, u) => l.setItem(a, JSON.stringify(u, void 0)),
|
|
300
|
+
removeItem: (a) => l.removeItem(a)
|
|
315
301
|
};
|
|
316
302
|
}
|
|
317
|
-
const J = (r) => (
|
|
303
|
+
const J = (r) => (s) => {
|
|
318
304
|
try {
|
|
319
|
-
const
|
|
320
|
-
return
|
|
321
|
-
then(
|
|
322
|
-
return J(
|
|
305
|
+
const l = r(s);
|
|
306
|
+
return l instanceof Promise ? l : {
|
|
307
|
+
then(i) {
|
|
308
|
+
return J(i)(l);
|
|
323
309
|
},
|
|
324
|
-
catch(
|
|
310
|
+
catch(i) {
|
|
325
311
|
return this;
|
|
326
312
|
}
|
|
327
313
|
};
|
|
328
|
-
} catch (
|
|
314
|
+
} catch (l) {
|
|
329
315
|
return {
|
|
330
|
-
then(
|
|
316
|
+
then(i) {
|
|
331
317
|
return this;
|
|
332
318
|
},
|
|
333
|
-
catch(
|
|
334
|
-
return J(
|
|
319
|
+
catch(i) {
|
|
320
|
+
return J(i)(l);
|
|
335
321
|
}
|
|
336
322
|
};
|
|
337
323
|
}
|
|
338
|
-
}, Le = (r,
|
|
339
|
-
let
|
|
324
|
+
}, Le = (r, s) => (l, i, a) => {
|
|
325
|
+
let u = {
|
|
340
326
|
storage: ke(() => localStorage),
|
|
341
|
-
partialize: (
|
|
327
|
+
partialize: (t) => t,
|
|
342
328
|
version: 0,
|
|
343
|
-
merge: (
|
|
329
|
+
merge: (t, p) => ({
|
|
344
330
|
...p,
|
|
345
|
-
...
|
|
331
|
+
...t
|
|
346
332
|
}),
|
|
347
|
-
...
|
|
348
|
-
},
|
|
349
|
-
const
|
|
350
|
-
let
|
|
351
|
-
if (!
|
|
333
|
+
...s
|
|
334
|
+
}, E = !1;
|
|
335
|
+
const v = /* @__PURE__ */ new Set(), S = /* @__PURE__ */ new Set();
|
|
336
|
+
let f = u.storage;
|
|
337
|
+
if (!f)
|
|
352
338
|
return r(
|
|
353
|
-
(...
|
|
339
|
+
(...t) => {
|
|
354
340
|
console.warn(
|
|
355
|
-
`[zustand persist middleware] Unable to update item '${
|
|
356
|
-
),
|
|
341
|
+
`[zustand persist middleware] Unable to update item '${u.name}', the given storage is currently unavailable.`
|
|
342
|
+
), l(...t);
|
|
357
343
|
},
|
|
358
|
-
|
|
359
|
-
|
|
344
|
+
i,
|
|
345
|
+
a
|
|
360
346
|
);
|
|
361
|
-
const
|
|
362
|
-
const
|
|
363
|
-
return
|
|
364
|
-
state:
|
|
365
|
-
version:
|
|
347
|
+
const m = () => {
|
|
348
|
+
const t = u.partialize({ ...i() });
|
|
349
|
+
return f.setItem(u.name, {
|
|
350
|
+
state: t,
|
|
351
|
+
version: u.version
|
|
366
352
|
});
|
|
367
|
-
},
|
|
368
|
-
|
|
369
|
-
const
|
|
370
|
-
(...
|
|
371
|
-
|
|
372
|
-
|
|
353
|
+
}, _ = a.setState;
|
|
354
|
+
a.setState = (t, p) => (_(t, p), m());
|
|
355
|
+
const o = r(
|
|
356
|
+
(...t) => (l(...t), m()),
|
|
357
|
+
i,
|
|
358
|
+
a
|
|
373
359
|
);
|
|
374
|
-
|
|
375
|
-
let
|
|
376
|
-
const
|
|
377
|
-
var
|
|
378
|
-
if (!
|
|
379
|
-
|
|
360
|
+
a.getInitialState = () => o;
|
|
361
|
+
let n;
|
|
362
|
+
const c = () => {
|
|
363
|
+
var t, p;
|
|
364
|
+
if (!f) return;
|
|
365
|
+
E = !1, v.forEach((O) => {
|
|
380
366
|
var h;
|
|
381
|
-
return O((h =
|
|
367
|
+
return O((h = i()) != null ? h : o);
|
|
382
368
|
});
|
|
383
|
-
const b = ((p =
|
|
384
|
-
return J(
|
|
369
|
+
const b = ((p = u.onRehydrateStorage) == null ? void 0 : p.call(u, (t = i()) != null ? t : o)) || void 0;
|
|
370
|
+
return J(f.getItem.bind(f))(u.name).then((O) => {
|
|
385
371
|
if (O)
|
|
386
|
-
if (typeof O.version == "number" && O.version !==
|
|
387
|
-
if (
|
|
388
|
-
const h =
|
|
372
|
+
if (typeof O.version == "number" && O.version !== u.version) {
|
|
373
|
+
if (u.migrate) {
|
|
374
|
+
const h = u.migrate(
|
|
389
375
|
O.state,
|
|
390
376
|
O.version
|
|
391
377
|
);
|
|
@@ -400,69 +386,69 @@ const J = (r) => (i) => {
|
|
|
400
386
|
}).then((O) => {
|
|
401
387
|
var h;
|
|
402
388
|
const [w, k] = O;
|
|
403
|
-
if (
|
|
389
|
+
if (n = u.merge(
|
|
404
390
|
k,
|
|
405
|
-
(h =
|
|
406
|
-
),
|
|
407
|
-
return
|
|
391
|
+
(h = i()) != null ? h : o
|
|
392
|
+
), l(n, !0), w)
|
|
393
|
+
return m();
|
|
408
394
|
}).then(() => {
|
|
409
|
-
b?.(
|
|
395
|
+
b?.(n, void 0), n = i(), E = !0, S.forEach((O) => O(n));
|
|
410
396
|
}).catch((O) => {
|
|
411
397
|
b?.(void 0, O);
|
|
412
398
|
});
|
|
413
399
|
};
|
|
414
|
-
return
|
|
415
|
-
setOptions: (
|
|
416
|
-
|
|
417
|
-
...
|
|
418
|
-
...
|
|
419
|
-
},
|
|
400
|
+
return a.persist = {
|
|
401
|
+
setOptions: (t) => {
|
|
402
|
+
u = {
|
|
403
|
+
...u,
|
|
404
|
+
...t
|
|
405
|
+
}, t.storage && (f = t.storage);
|
|
420
406
|
},
|
|
421
407
|
clearStorage: () => {
|
|
422
|
-
|
|
408
|
+
f?.removeItem(u.name);
|
|
423
409
|
},
|
|
424
|
-
getOptions: () =>
|
|
425
|
-
rehydrate: () =>
|
|
426
|
-
hasHydrated: () =>
|
|
427
|
-
onHydrate: (
|
|
428
|
-
|
|
410
|
+
getOptions: () => u,
|
|
411
|
+
rehydrate: () => c(),
|
|
412
|
+
hasHydrated: () => E,
|
|
413
|
+
onHydrate: (t) => (v.add(t), () => {
|
|
414
|
+
v.delete(t);
|
|
429
415
|
}),
|
|
430
|
-
onFinishHydration: (
|
|
431
|
-
S.delete(
|
|
416
|
+
onFinishHydration: (t) => (S.add(t), () => {
|
|
417
|
+
S.delete(t);
|
|
432
418
|
})
|
|
433
|
-
},
|
|
419
|
+
}, u.skipHydration || c(), n || o;
|
|
434
420
|
}, xe = Le, ce = (r) => Symbol.iterator in r, le = (r) => (
|
|
435
421
|
// HACK: avoid checking entries type
|
|
436
422
|
"entries" in r
|
|
437
|
-
), fe = (r,
|
|
438
|
-
const
|
|
439
|
-
if (
|
|
423
|
+
), fe = (r, s) => {
|
|
424
|
+
const l = r instanceof Map ? r : new Map(r.entries()), i = s instanceof Map ? s : new Map(s.entries());
|
|
425
|
+
if (l.size !== i.size)
|
|
440
426
|
return !1;
|
|
441
|
-
for (const [
|
|
442
|
-
if (!
|
|
427
|
+
for (const [a, u] of l)
|
|
428
|
+
if (!i.has(a) || !Object.is(u, i.get(a)))
|
|
443
429
|
return !1;
|
|
444
430
|
return !0;
|
|
445
|
-
}, Pe = (r,
|
|
446
|
-
const
|
|
447
|
-
let
|
|
448
|
-
for (; !
|
|
449
|
-
if (!Object.is(
|
|
431
|
+
}, Pe = (r, s) => {
|
|
432
|
+
const l = r[Symbol.iterator](), i = s[Symbol.iterator]();
|
|
433
|
+
let a = l.next(), u = i.next();
|
|
434
|
+
for (; !a.done && !u.done; ) {
|
|
435
|
+
if (!Object.is(a.value, u.value))
|
|
450
436
|
return !1;
|
|
451
|
-
|
|
437
|
+
a = l.next(), u = i.next();
|
|
452
438
|
}
|
|
453
|
-
return !!
|
|
439
|
+
return !!a.done && !!u.done;
|
|
454
440
|
};
|
|
455
|
-
function Ie(r,
|
|
456
|
-
return Object.is(r,
|
|
441
|
+
function Ie(r, s) {
|
|
442
|
+
return Object.is(r, s) ? !0 : typeof r != "object" || r === null || typeof s != "object" || s === null || Object.getPrototypeOf(r) !== Object.getPrototypeOf(s) ? !1 : ce(r) && ce(s) ? le(r) && le(s) ? fe(r, s) : Pe(r, s) : fe(
|
|
457
443
|
{ entries: () => Object.entries(r) },
|
|
458
|
-
{ entries: () => Object.entries(
|
|
444
|
+
{ entries: () => Object.entries(s) }
|
|
459
445
|
);
|
|
460
446
|
}
|
|
461
447
|
function Ce(r) {
|
|
462
|
-
const
|
|
463
|
-
return (
|
|
464
|
-
const
|
|
465
|
-
return Ie(
|
|
448
|
+
const s = P.useRef(void 0);
|
|
449
|
+
return (l) => {
|
|
450
|
+
const i = r(l);
|
|
451
|
+
return Ie(s.current, i) ? s.current : s.current = i;
|
|
466
452
|
};
|
|
467
453
|
}
|
|
468
454
|
var M = { exports: {} }, F = {}, V = { exports: {} }, U = {};
|
|
@@ -480,41 +466,41 @@ function Ne() {
|
|
|
480
466
|
if (de) return U;
|
|
481
467
|
de = 1;
|
|
482
468
|
var r = P;
|
|
483
|
-
function
|
|
484
|
-
return
|
|
469
|
+
function s(_, o) {
|
|
470
|
+
return _ === o && (_ !== 0 || 1 / _ === 1 / o) || _ !== _ && o !== o;
|
|
485
471
|
}
|
|
486
|
-
var
|
|
487
|
-
function
|
|
488
|
-
var
|
|
489
|
-
return
|
|
472
|
+
var l = typeof Object.is == "function" ? Object.is : s, i = r.useState, a = r.useEffect, u = r.useLayoutEffect, E = r.useDebugValue;
|
|
473
|
+
function v(_, o) {
|
|
474
|
+
var n = o(), c = i({ inst: { value: n, getSnapshot: o } }), t = c[0].inst, p = c[1];
|
|
475
|
+
return u(
|
|
490
476
|
function() {
|
|
491
|
-
|
|
477
|
+
t.value = n, t.getSnapshot = o, S(t) && p({ inst: t });
|
|
492
478
|
},
|
|
493
|
-
[
|
|
494
|
-
),
|
|
479
|
+
[_, n, o]
|
|
480
|
+
), a(
|
|
495
481
|
function() {
|
|
496
|
-
return S(
|
|
497
|
-
S(
|
|
482
|
+
return S(t) && p({ inst: t }), _(function() {
|
|
483
|
+
S(t) && p({ inst: t });
|
|
498
484
|
});
|
|
499
485
|
},
|
|
500
|
-
[
|
|
501
|
-
),
|
|
486
|
+
[_]
|
|
487
|
+
), E(n), n;
|
|
502
488
|
}
|
|
503
|
-
function S(
|
|
504
|
-
var
|
|
505
|
-
|
|
489
|
+
function S(_) {
|
|
490
|
+
var o = _.getSnapshot;
|
|
491
|
+
_ = _.value;
|
|
506
492
|
try {
|
|
507
|
-
var
|
|
508
|
-
return !
|
|
493
|
+
var n = o();
|
|
494
|
+
return !l(_, n);
|
|
509
495
|
} catch {
|
|
510
496
|
return !0;
|
|
511
497
|
}
|
|
512
498
|
}
|
|
513
|
-
function
|
|
514
|
-
return
|
|
499
|
+
function f(_, o) {
|
|
500
|
+
return o();
|
|
515
501
|
}
|
|
516
|
-
var
|
|
517
|
-
return U.useSyncExternalStore = r.useSyncExternalStore !== void 0 ? r.useSyncExternalStore :
|
|
502
|
+
var m = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? f : v;
|
|
503
|
+
return U.useSyncExternalStore = r.useSyncExternalStore !== void 0 ? r.useSyncExternalStore : m, U;
|
|
518
504
|
}
|
|
519
505
|
var q = {};
|
|
520
506
|
/**
|
|
@@ -529,58 +515,58 @@ var q = {};
|
|
|
529
515
|
var _e;
|
|
530
516
|
function De() {
|
|
531
517
|
return _e || (_e = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
532
|
-
function r(
|
|
533
|
-
return
|
|
518
|
+
function r(n, c) {
|
|
519
|
+
return n === c && (n !== 0 || 1 / n === 1 / c) || n !== n && c !== c;
|
|
534
520
|
}
|
|
535
|
-
function
|
|
536
|
-
|
|
521
|
+
function s(n, c) {
|
|
522
|
+
m || a.startTransition === void 0 || (m = !0, console.error(
|
|
537
523
|
"You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
|
|
538
524
|
));
|
|
539
|
-
var
|
|
540
|
-
if (!
|
|
541
|
-
var p =
|
|
542
|
-
|
|
525
|
+
var t = c();
|
|
526
|
+
if (!_) {
|
|
527
|
+
var p = c();
|
|
528
|
+
u(t, p) || (console.error(
|
|
543
529
|
"The result of getSnapshot should be cached to avoid an infinite loop"
|
|
544
|
-
),
|
|
530
|
+
), _ = !0);
|
|
545
531
|
}
|
|
546
|
-
p =
|
|
547
|
-
inst: { value:
|
|
532
|
+
p = E({
|
|
533
|
+
inst: { value: t, getSnapshot: c }
|
|
548
534
|
});
|
|
549
535
|
var b = p[0].inst, O = p[1];
|
|
550
536
|
return S(
|
|
551
537
|
function() {
|
|
552
|
-
b.value =
|
|
538
|
+
b.value = t, b.getSnapshot = c, l(b) && O({ inst: b });
|
|
553
539
|
},
|
|
554
|
-
[
|
|
555
|
-
),
|
|
540
|
+
[n, t, c]
|
|
541
|
+
), v(
|
|
556
542
|
function() {
|
|
557
|
-
return
|
|
558
|
-
|
|
543
|
+
return l(b) && O({ inst: b }), n(function() {
|
|
544
|
+
l(b) && O({ inst: b });
|
|
559
545
|
});
|
|
560
546
|
},
|
|
561
|
-
[
|
|
562
|
-
),
|
|
547
|
+
[n]
|
|
548
|
+
), f(t), t;
|
|
563
549
|
}
|
|
564
|
-
function
|
|
565
|
-
var
|
|
566
|
-
|
|
550
|
+
function l(n) {
|
|
551
|
+
var c = n.getSnapshot;
|
|
552
|
+
n = n.value;
|
|
567
553
|
try {
|
|
568
|
-
var
|
|
569
|
-
return !
|
|
554
|
+
var t = c();
|
|
555
|
+
return !u(n, t);
|
|
570
556
|
} catch {
|
|
571
557
|
return !0;
|
|
572
558
|
}
|
|
573
559
|
}
|
|
574
|
-
function
|
|
575
|
-
return
|
|
560
|
+
function i(n, c) {
|
|
561
|
+
return c();
|
|
576
562
|
}
|
|
577
563
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
578
|
-
var
|
|
579
|
-
q.useSyncExternalStore =
|
|
564
|
+
var a = P, u = typeof Object.is == "function" ? Object.is : r, E = a.useState, v = a.useEffect, S = a.useLayoutEffect, f = a.useDebugValue, m = !1, _ = !1, o = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? i : s;
|
|
565
|
+
q.useSyncExternalStore = a.useSyncExternalStore !== void 0 ? a.useSyncExternalStore : o, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
580
566
|
})()), q;
|
|
581
567
|
}
|
|
582
568
|
var me;
|
|
583
|
-
function
|
|
569
|
+
function Se() {
|
|
584
570
|
return me || (me = 1, process.env.NODE_ENV === "production" ? V.exports = Ne() : V.exports = De()), V.exports;
|
|
585
571
|
}
|
|
586
572
|
/**
|
|
@@ -596,48 +582,48 @@ var ve;
|
|
|
596
582
|
function Me() {
|
|
597
583
|
if (ve) return F;
|
|
598
584
|
ve = 1;
|
|
599
|
-
var r = P,
|
|
600
|
-
function
|
|
601
|
-
return
|
|
585
|
+
var r = P, s = Se();
|
|
586
|
+
function l(f, m) {
|
|
587
|
+
return f === m && (f !== 0 || 1 / f === 1 / m) || f !== f && m !== m;
|
|
602
588
|
}
|
|
603
|
-
var
|
|
604
|
-
return F.useSyncExternalStoreWithSelector = function(
|
|
605
|
-
var
|
|
606
|
-
if (
|
|
607
|
-
var
|
|
608
|
-
|
|
609
|
-
} else
|
|
610
|
-
|
|
589
|
+
var i = typeof Object.is == "function" ? Object.is : l, a = s.useSyncExternalStore, u = r.useRef, E = r.useEffect, v = r.useMemo, S = r.useDebugValue;
|
|
590
|
+
return F.useSyncExternalStoreWithSelector = function(f, m, _, o, n) {
|
|
591
|
+
var c = u(null);
|
|
592
|
+
if (c.current === null) {
|
|
593
|
+
var t = { hasValue: !1, value: null };
|
|
594
|
+
c.current = t;
|
|
595
|
+
} else t = c.current;
|
|
596
|
+
c = v(
|
|
611
597
|
function() {
|
|
612
598
|
function b(R) {
|
|
613
599
|
if (!O) {
|
|
614
|
-
if (O = !0, h = R, R =
|
|
615
|
-
var j =
|
|
616
|
-
if (
|
|
600
|
+
if (O = !0, h = R, R = o(R), n !== void 0 && t.hasValue) {
|
|
601
|
+
var j = t.value;
|
|
602
|
+
if (n(j, R))
|
|
617
603
|
return w = j;
|
|
618
604
|
}
|
|
619
605
|
return w = R;
|
|
620
606
|
}
|
|
621
|
-
if (j = w,
|
|
622
|
-
var L =
|
|
623
|
-
return
|
|
607
|
+
if (j = w, i(h, R)) return j;
|
|
608
|
+
var L = o(R);
|
|
609
|
+
return n !== void 0 && n(j, L) ? (h = R, j) : (h = R, w = L);
|
|
624
610
|
}
|
|
625
|
-
var O = !1, h, w, k =
|
|
611
|
+
var O = !1, h, w, k = _ === void 0 ? null : _;
|
|
626
612
|
return [
|
|
627
613
|
function() {
|
|
628
|
-
return b(
|
|
614
|
+
return b(m());
|
|
629
615
|
},
|
|
630
616
|
k === null ? void 0 : function() {
|
|
631
617
|
return b(k());
|
|
632
618
|
}
|
|
633
619
|
];
|
|
634
620
|
},
|
|
635
|
-
[
|
|
621
|
+
[m, _, o, n]
|
|
636
622
|
);
|
|
637
|
-
var p =
|
|
638
|
-
return
|
|
623
|
+
var p = a(f, c[0], c[1]);
|
|
624
|
+
return E(
|
|
639
625
|
function() {
|
|
640
|
-
|
|
626
|
+
t.hasValue = !0, t.value = p;
|
|
641
627
|
},
|
|
642
628
|
[p]
|
|
643
629
|
), S(p), p;
|
|
@@ -656,134 +642,143 @@ var z = {};
|
|
|
656
642
|
var Ee;
|
|
657
643
|
function Ve() {
|
|
658
644
|
return Ee || (Ee = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
659
|
-
function r(
|
|
660
|
-
return
|
|
645
|
+
function r(f, m) {
|
|
646
|
+
return f === m && (f !== 0 || 1 / f === 1 / m) || f !== f && m !== m;
|
|
661
647
|
}
|
|
662
648
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
|
|
663
|
-
var
|
|
664
|
-
z.useSyncExternalStoreWithSelector = function(
|
|
665
|
-
var
|
|
666
|
-
if (
|
|
667
|
-
var
|
|
668
|
-
|
|
669
|
-
} else
|
|
670
|
-
|
|
649
|
+
var s = P, l = Se(), i = typeof Object.is == "function" ? Object.is : r, a = l.useSyncExternalStore, u = s.useRef, E = s.useEffect, v = s.useMemo, S = s.useDebugValue;
|
|
650
|
+
z.useSyncExternalStoreWithSelector = function(f, m, _, o, n) {
|
|
651
|
+
var c = u(null);
|
|
652
|
+
if (c.current === null) {
|
|
653
|
+
var t = { hasValue: !1, value: null };
|
|
654
|
+
c.current = t;
|
|
655
|
+
} else t = c.current;
|
|
656
|
+
c = v(
|
|
671
657
|
function() {
|
|
672
658
|
function b(R) {
|
|
673
659
|
if (!O) {
|
|
674
|
-
if (O = !0, h = R, R =
|
|
675
|
-
var j =
|
|
676
|
-
if (
|
|
660
|
+
if (O = !0, h = R, R = o(R), n !== void 0 && t.hasValue) {
|
|
661
|
+
var j = t.value;
|
|
662
|
+
if (n(j, R))
|
|
677
663
|
return w = j;
|
|
678
664
|
}
|
|
679
665
|
return w = R;
|
|
680
666
|
}
|
|
681
|
-
if (j = w,
|
|
667
|
+
if (j = w, i(h, R))
|
|
682
668
|
return j;
|
|
683
|
-
var L =
|
|
684
|
-
return
|
|
669
|
+
var L = o(R);
|
|
670
|
+
return n !== void 0 && n(j, L) ? (h = R, j) : (h = R, w = L);
|
|
685
671
|
}
|
|
686
|
-
var O = !1, h, w, k =
|
|
672
|
+
var O = !1, h, w, k = _ === void 0 ? null : _;
|
|
687
673
|
return [
|
|
688
674
|
function() {
|
|
689
|
-
return b(
|
|
675
|
+
return b(m());
|
|
690
676
|
},
|
|
691
677
|
k === null ? void 0 : function() {
|
|
692
678
|
return b(k());
|
|
693
679
|
}
|
|
694
680
|
];
|
|
695
681
|
},
|
|
696
|
-
[
|
|
682
|
+
[m, _, o, n]
|
|
697
683
|
);
|
|
698
|
-
var p =
|
|
699
|
-
return
|
|
684
|
+
var p = a(f, c[0], c[1]);
|
|
685
|
+
return E(
|
|
700
686
|
function() {
|
|
701
|
-
|
|
687
|
+
t.hasValue = !0, t.value = p;
|
|
702
688
|
},
|
|
703
689
|
[p]
|
|
704
690
|
), S(p), p;
|
|
705
691
|
}, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
|
|
706
692
|
})()), z;
|
|
707
693
|
}
|
|
708
|
-
var
|
|
694
|
+
var pe;
|
|
709
695
|
function $e() {
|
|
710
|
-
return
|
|
696
|
+
return pe || (pe = 1, process.env.NODE_ENV === "production" ? M.exports = Me() : M.exports = Ve()), M.exports;
|
|
711
697
|
}
|
|
712
698
|
var We = $e();
|
|
713
|
-
const Ge = /* @__PURE__ */
|
|
714
|
-
function Fe(r,
|
|
715
|
-
const
|
|
699
|
+
const Ge = /* @__PURE__ */ ge(We), { useSyncExternalStoreWithSelector: He } = Ge, Ye = (r) => r;
|
|
700
|
+
function Fe(r, s = Ye, l) {
|
|
701
|
+
const i = He(
|
|
716
702
|
r.subscribe,
|
|
717
703
|
r.getState,
|
|
718
704
|
r.getInitialState,
|
|
719
|
-
|
|
720
|
-
|
|
705
|
+
s,
|
|
706
|
+
l
|
|
721
707
|
);
|
|
722
|
-
return P.useDebugValue(
|
|
708
|
+
return P.useDebugValue(i), i;
|
|
723
709
|
}
|
|
724
|
-
function ze(r,
|
|
725
|
-
const
|
|
726
|
-
function
|
|
727
|
-
const S = re(
|
|
710
|
+
function ze(r, s) {
|
|
711
|
+
const l = Re(null);
|
|
712
|
+
function i(E, v) {
|
|
713
|
+
const S = re(l);
|
|
728
714
|
if (!S)
|
|
729
715
|
throw new Error("Missing StoreProvider");
|
|
730
716
|
return Fe(
|
|
731
717
|
S,
|
|
732
|
-
|
|
733
|
-
|
|
718
|
+
E ? Ce(E) : (f) => f,
|
|
719
|
+
v
|
|
734
720
|
);
|
|
735
721
|
}
|
|
736
|
-
const
|
|
737
|
-
firstSyncProps:
|
|
738
|
-
...
|
|
722
|
+
const a = ({
|
|
723
|
+
firstSyncProps: E,
|
|
724
|
+
...v
|
|
739
725
|
}) => {
|
|
740
|
-
const S = te(!1), { $sync:
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
[
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
726
|
+
const S = te(!1), { $sync: f } = i((o) => ({ $sync: o.$sync })), m = re(
|
|
727
|
+
l
|
|
728
|
+
);
|
|
729
|
+
if (E)
|
|
730
|
+
for (const o of E)
|
|
731
|
+
S.current && delete v[o];
|
|
732
|
+
const _ = Te(() => {
|
|
733
|
+
const o = [];
|
|
734
|
+
for (const [n] of Object.entries(v ?? {}))
|
|
735
|
+
if (P.isValidElement(n)) {
|
|
736
|
+
let c = "unknown";
|
|
737
|
+
typeof n.type == "function" && "name" in n.type ? c = n.type.name || "unknown" : typeof n.type == "string" && (c = n.type), o.push(`${c}-${n.key || "no-key"}`);
|
|
738
|
+
} else
|
|
739
|
+
o.push(n);
|
|
740
|
+
return o;
|
|
741
|
+
}, [v]);
|
|
742
|
+
if (ne(() => {
|
|
743
|
+
f?.(v), f && (S.current = !0);
|
|
744
|
+
}, [_]), s) {
|
|
745
|
+
const o = s({
|
|
746
|
+
...v,
|
|
747
|
+
useStore: i,
|
|
748
|
+
useStoreApi: m
|
|
754
749
|
});
|
|
755
750
|
ne(() => {
|
|
756
|
-
|
|
757
|
-
}, [
|
|
751
|
+
o && typeof o == "object" && f?.(o);
|
|
752
|
+
}, [o]);
|
|
758
753
|
}
|
|
759
754
|
return null;
|
|
760
755
|
};
|
|
761
756
|
return r = r || (() => ({})), {
|
|
762
|
-
Provider: (
|
|
763
|
-
const
|
|
764
|
-
return
|
|
757
|
+
Provider: (E) => {
|
|
758
|
+
const v = te(null), { children: S, ...f } = E;
|
|
759
|
+
return v.current || (E?.persist ? v.current = oe(
|
|
765
760
|
//@ts-ignore
|
|
766
761
|
xe(
|
|
767
762
|
//@ts-ignore
|
|
768
|
-
(
|
|
763
|
+
(m, _, o) => ({
|
|
769
764
|
//@ts-ignore
|
|
770
|
-
...r?.(
|
|
771
|
-
$sync: (
|
|
765
|
+
...r?.(m, _, o),
|
|
766
|
+
$sync: (n) => m((c) => ({ ...c, ...n }))
|
|
772
767
|
}),
|
|
773
|
-
{ ...
|
|
768
|
+
{ ...E?.persist }
|
|
774
769
|
)
|
|
775
|
-
) :
|
|
770
|
+
) : v.current = oe(
|
|
776
771
|
// @ts-ignore
|
|
777
|
-
(
|
|
778
|
-
...r?.(
|
|
779
|
-
$sync: (
|
|
772
|
+
(m, _, o) => ({
|
|
773
|
+
...r?.(m, _, o),
|
|
774
|
+
$sync: (n) => m((c) => ({ ...c, ...n }))
|
|
780
775
|
})
|
|
781
|
-
)), /* @__PURE__ */ ie.jsxs(
|
|
782
|
-
/* @__PURE__ */ ie.jsx(
|
|
776
|
+
)), /* @__PURE__ */ ie.jsxs(l.Provider, { value: v.current, children: [
|
|
777
|
+
/* @__PURE__ */ ie.jsx(a, { ...f, firstSyncProps: E.firstSyncProps }),
|
|
783
778
|
S
|
|
784
779
|
] });
|
|
785
780
|
},
|
|
786
|
-
useStore:
|
|
781
|
+
useStore: i
|
|
787
782
|
};
|
|
788
783
|
}
|
|
789
784
|
export {
|