quantum-component-library 1.4.48-dev.3 → 1.4.48-dev.5

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.
@@ -1,21 +1,210 @@
1
1
  import { useLayoutEffect as _ } from "react";
2
2
  import { g as L } from "./other-C4VnLmM6.js";
3
- var re = _, S = Number.isNaN || function(t) {
3
+ var V = () => {
4
+ }, m = V;
5
+ function E(r) {
6
+ return {
7
+ tag: 0,
8
+ 0: r
9
+ };
10
+ }
11
+ function w(r) {
12
+ return {
13
+ tag: 1,
14
+ 0: r
15
+ };
16
+ }
17
+ var S = () => typeof Symbol == "function" && Symbol.asyncIterator || "@@asyncIterator", T = (r) => r;
18
+ function re(r) {
19
+ return (t) => (e) => {
20
+ var n = m;
21
+ t(((o) => {
22
+ o === 0 ? e(0) : o.tag === 0 ? (n = o[0], e(o)) : r(o[0]) ? e(o) : n(0);
23
+ }));
24
+ };
25
+ }
26
+ function ne(r) {
27
+ return (t) => (e) => t(((n) => {
28
+ n === 0 || n.tag === 0 ? e(n) : e(w(r(n[0])));
29
+ }));
30
+ }
31
+ function q(r) {
32
+ return (t) => (e) => {
33
+ var n = [], o = m, s = !1, i = !1;
34
+ t(((u) => {
35
+ i || (u === 0 ? (i = !0, n.length || e(0)) : u.tag === 0 ? o = u[0] : (s = !1, (function(d) {
36
+ var p = m;
37
+ d(((c) => {
38
+ if (c === 0) {
39
+ if (n.length) {
40
+ var v = n.indexOf(p);
41
+ v > -1 && (n = n.slice()).splice(v, 1), n.length || (i ? e(0) : s || (s = !0, o(0)));
42
+ }
43
+ } else c.tag === 0 ? (n.push(p = c[0]), p(0)) : n.length && (e(c), p(0));
44
+ }));
45
+ })(r(u[0])), s || (s = !0, o(0))));
46
+ })), e(E(((u) => {
47
+ if (u === 1) {
48
+ i || (i = !0, o(1));
49
+ for (var a = 0, d = n, p = n.length; a < p; a++)
50
+ d[a](1);
51
+ n.length = 0;
52
+ } else {
53
+ !i && !s ? (s = !0, o(0)) : s = !1;
54
+ for (var c = 0, v = n, x = n.length; c < x; c++)
55
+ v[c](0);
56
+ }
57
+ })));
58
+ };
59
+ }
60
+ function M(r) {
61
+ return q(T)(r);
62
+ }
63
+ function oe(r) {
64
+ return M(z(r));
65
+ }
66
+ function se(r) {
67
+ return (t) => (e) => t(((n) => {
68
+ n === 0 ? e(0) : n.tag === 0 ? (e(n), r()) : e(n);
69
+ }));
70
+ }
71
+ function C(r) {
72
+ var t = [], e = m, n = !1;
73
+ return (o) => {
74
+ t.push(o), t.length === 1 && r(((s) => {
75
+ if (s === 0) {
76
+ for (var i = 0, u = t, a = t.length; i < a; i++)
77
+ u[i](0);
78
+ t.length = 0;
79
+ } else if (s.tag === 0)
80
+ e = s[0];
81
+ else {
82
+ n = !1;
83
+ for (var d = 0, p = t, c = t.length; d < c; d++)
84
+ p[d](s);
85
+ }
86
+ })), o(E(((s) => {
87
+ if (s === 1) {
88
+ var i = t.indexOf(o);
89
+ i > -1 && (t = t.slice()).splice(i, 1), t.length || e(1);
90
+ } else n || (n = !0, e(0));
91
+ })));
92
+ };
93
+ }
94
+ function ie(r) {
95
+ return (t) => (e) => {
96
+ var n = m, o = !1, s = 0;
97
+ t(((i) => {
98
+ o || (i === 0 ? (o = !0, e(0)) : i.tag === 0 ? n = i[0] : s++ < r ? (e(i), !o && s >= r && (o = !0, e(0), n(1))) : e(i));
99
+ })), e(E(((i) => {
100
+ i === 1 && !o ? (o = !0, n(1)) : i === 0 && !o && s < r && n(0);
101
+ })));
102
+ };
103
+ }
104
+ function Y(r) {
105
+ return (t) => {
106
+ var e = r[S()] && r[S()]() || r, n = !1, o = !1, s = !1, i;
107
+ t(E((async (u) => {
108
+ if (u === 1)
109
+ n = !0, e.return && e.return();
110
+ else if (o)
111
+ s = !0;
112
+ else {
113
+ for (s = o = !0; s && !n; )
114
+ if ((i = await e.next()).done)
115
+ n = !0, e.return && await e.return(), t(0);
116
+ else
117
+ try {
118
+ s = !1, t(w(i.value));
119
+ } catch (a) {
120
+ if (e.throw)
121
+ (n = !!(await e.throw(a)).done) && t(0);
122
+ else
123
+ throw a;
124
+ }
125
+ o = !1;
126
+ }
127
+ })));
128
+ };
129
+ }
130
+ function F(r) {
131
+ return r[Symbol.asyncIterator] ? Y(r) : (t) => {
132
+ var e = r[Symbol.iterator](), n = !1, o = !1, s = !1, i;
133
+ t(E(((u) => {
134
+ if (u === 1)
135
+ n = !0, e.return && e.return();
136
+ else if (o)
137
+ s = !0;
138
+ else {
139
+ for (s = o = !0; s && !n; )
140
+ if ((i = e.next()).done)
141
+ n = !0, e.return && e.return(), t(0);
142
+ else
143
+ try {
144
+ s = !1, t(w(i.value));
145
+ } catch (a) {
146
+ if (e.throw)
147
+ (n = !!e.throw(a).done) && t(0);
148
+ else
149
+ throw a;
150
+ }
151
+ o = !1;
152
+ }
153
+ })));
154
+ };
155
+ }
156
+ var z = F;
157
+ function W(r) {
158
+ return (t) => {
159
+ var e = !1, n = r({
160
+ next(o) {
161
+ e || t(w(o));
162
+ },
163
+ complete() {
164
+ e || (e = !0, t(0));
165
+ }
166
+ });
167
+ t(E(((o) => {
168
+ o === 1 && !e && (e = !0, n());
169
+ })));
170
+ };
171
+ }
172
+ function ue() {
173
+ var r, t;
174
+ return {
175
+ source: C(W(((e) => (r = e.next, t = e.complete, V)))),
176
+ next(e) {
177
+ r && r(e);
178
+ },
179
+ complete() {
180
+ t && t();
181
+ }
182
+ };
183
+ }
184
+ function ae(r) {
185
+ return new Promise(((t) => {
186
+ var e = m, n;
187
+ r(((o) => {
188
+ o === 0 ? Promise.resolve(n).then(t) : o.tag === 0 ? (e = o[0])(0) : (n = o[0], e(0));
189
+ }));
190
+ }));
191
+ }
192
+ var fe = _, D = Number.isNaN || function(t) {
4
193
  return typeof t == "number" && t !== t;
5
194
  };
6
- function T(r, t) {
7
- return !!(r === t || S(r) && S(t));
195
+ function $(r, t) {
196
+ return !!(r === t || D(r) && D(t));
8
197
  }
9
- function q(r, t) {
198
+ function K(r, t) {
10
199
  if (r.length !== t.length)
11
200
  return !1;
12
201
  for (var e = 0; e < r.length; e++)
13
- if (!T(r[e], t[e]))
202
+ if (!$(r[e], t[e]))
14
203
  return !1;
15
204
  return !0;
16
205
  }
17
- function ne(r, t) {
18
- t === void 0 && (t = q);
206
+ function ce(r, t) {
207
+ t === void 0 && (t = K);
19
208
  var e = null;
20
209
  function n() {
21
210
  for (var o = [], s = 0; s < arguments.length; s++)
@@ -36,21 +225,21 @@ function ne(r, t) {
36
225
  function l(r) {
37
226
  return "Minified Redux error #" + r + "; visit https://redux.js.org/Errors?code=" + r + " for the full message or use the non-minified dev environment for full errors. ";
38
227
  }
39
- var D = (function() {
228
+ var j = (function() {
40
229
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
41
- })(), j = function() {
230
+ })(), I = function() {
42
231
  return Math.random().toString(36).substring(7).split("").join(".");
43
- }, I = {
44
- INIT: "@@redux/INIT" + j(),
45
- REPLACE: "@@redux/REPLACE" + j()
232
+ }, A = {
233
+ INIT: "@@redux/INIT" + I(),
234
+ REPLACE: "@@redux/REPLACE" + I()
46
235
  };
47
- function M(r) {
236
+ function B(r) {
48
237
  if (typeof r != "object" || r === null) return !1;
49
238
  for (var t = r; Object.getPrototypeOf(t) !== null; )
50
239
  t = Object.getPrototypeOf(t);
51
240
  return Object.getPrototypeOf(r) === t;
52
241
  }
53
- function C(r) {
242
+ function G(r) {
54
243
  if (r === void 0) return "undefined";
55
244
  if (r === null) return "null";
56
245
  var t = typeof r;
@@ -63,9 +252,9 @@ function C(r) {
63
252
  return t;
64
253
  }
65
254
  if (Array.isArray(r)) return "array";
66
- if (z(r)) return "date";
67
- if (F(r)) return "error";
68
- var e = Y(r);
255
+ if (Q(r)) return "date";
256
+ if (J(r)) return "error";
257
+ var e = H(r);
69
258
  switch (e) {
70
259
  case "Symbol":
71
260
  case "Promise":
@@ -77,27 +266,27 @@ function C(r) {
77
266
  }
78
267
  return t.slice(8, -1).toLowerCase().replace(/\s/g, "");
79
268
  }
80
- function Y(r) {
269
+ function H(r) {
81
270
  return typeof r.constructor == "function" ? r.constructor.name : null;
82
271
  }
83
- function F(r) {
272
+ function J(r) {
84
273
  return r instanceof Error || typeof r.message == "string" && r.constructor && typeof r.constructor.stackTraceLimit == "number";
85
274
  }
86
- function z(r) {
275
+ function Q(r) {
87
276
  return r instanceof Date ? !0 : typeof r.toDateString == "function" && typeof r.getDate == "function" && typeof r.setDate == "function";
88
277
  }
89
278
  function y(r) {
90
279
  var t = typeof r;
91
- return process.env.NODE_ENV !== "production" && (t = C(r)), t;
280
+ return process.env.NODE_ENV !== "production" && (t = G(r)), t;
92
281
  }
93
- function W(r, t, e) {
282
+ function U(r, t, e) {
94
283
  var n;
95
284
  if (typeof t == "function" && typeof e == "function" || typeof e == "function" && typeof arguments[3] == "function")
96
285
  throw new Error(process.env.NODE_ENV === "production" ? l(0) : "It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");
97
286
  if (typeof t == "function" && typeof e > "u" && (e = t, t = void 0), typeof e < "u") {
98
287
  if (typeof e != "function")
99
288
  throw new Error(process.env.NODE_ENV === "production" ? l(1) : "Expected the enhancer to be a function. Instead, received: '" + y(e) + "'");
100
- return e(W)(r, t);
289
+ return e(U)(r, t);
101
290
  }
102
291
  if (typeof r != "function")
103
292
  throw new Error(process.env.NODE_ENV === "production" ? l(2) : "Expected the root reducer to be a function. Instead, received: '" + y(r) + "'");
@@ -127,7 +316,7 @@ function W(r, t, e) {
127
316
  };
128
317
  }
129
318
  function v(f) {
130
- if (!M(f))
319
+ if (!B(f))
131
320
  throw new Error(process.env.NODE_ENV === "production" ? l(7) : "Actions must be plain objects. Instead, the actual type was: '" + y(f) + "'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");
132
321
  if (typeof f.type > "u")
133
322
  throw new Error(process.env.NODE_ENV === "production" ? l(8) : 'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');
@@ -148,7 +337,7 @@ function W(r, t, e) {
148
337
  if (typeof f != "function")
149
338
  throw new Error(process.env.NODE_ENV === "production" ? l(10) : "Expected the nextReducer to be a function. Instead, received: '" + y(f));
150
339
  o = f, v({
151
- type: I.REPLACE
340
+ type: A.REPLACE
152
341
  });
153
342
  }
154
343
  function k() {
@@ -174,22 +363,22 @@ function W(r, t, e) {
174
363
  unsubscribe: R
175
364
  };
176
365
  }
177
- }, f[D] = function() {
366
+ }, f[j] = function() {
178
367
  return this;
179
368
  }, f;
180
369
  }
181
370
  return v({
182
- type: I.INIT
371
+ type: A.INIT
183
372
  }), n = {
184
373
  dispatch: v,
185
374
  subscribe: c,
186
375
  getState: p,
187
376
  replaceReducer: x
188
- }, n[D] = k, n;
377
+ }, n[j] = k, n;
189
378
  }
190
- var N, A;
191
- function $() {
192
- return A || (A = 1, N = function r(t, e) {
379
+ var N, P;
380
+ function X() {
381
+ return P || (P = 1, N = function r(t, e) {
193
382
  if (t === e) return !0;
194
383
  if (t && e && typeof t == "object" && typeof e == "object") {
195
384
  if (t.constructor !== e.constructor) return !1;
@@ -215,207 +404,18 @@ function $() {
215
404
  return t !== t && e !== e;
216
405
  }), N;
217
406
  }
218
- var K = $();
219
- const oe = /* @__PURE__ */ L(K);
220
- var V = () => {
221
- }, m = V;
222
- function E(r) {
223
- return {
224
- tag: 0,
225
- 0: r
226
- };
227
- }
228
- function w(r) {
229
- return {
230
- tag: 1,
231
- 0: r
232
- };
233
- }
234
- var P = () => typeof Symbol == "function" && Symbol.asyncIterator || "@@asyncIterator", B = (r) => r;
235
- function se(r) {
236
- return (t) => (e) => {
237
- var n = m;
238
- t(((o) => {
239
- o === 0 ? e(0) : o.tag === 0 ? (n = o[0], e(o)) : r(o[0]) ? e(o) : n(0);
240
- }));
241
- };
242
- }
243
- function ie(r) {
244
- return (t) => (e) => t(((n) => {
245
- n === 0 || n.tag === 0 ? e(n) : e(w(r(n[0])));
246
- }));
247
- }
248
- function G(r) {
249
- return (t) => (e) => {
250
- var n = [], o = m, s = !1, i = !1;
251
- t(((u) => {
252
- i || (u === 0 ? (i = !0, n.length || e(0)) : u.tag === 0 ? o = u[0] : (s = !1, (function(d) {
253
- var p = m;
254
- d(((c) => {
255
- if (c === 0) {
256
- if (n.length) {
257
- var v = n.indexOf(p);
258
- v > -1 && (n = n.slice()).splice(v, 1), n.length || (i ? e(0) : s || (s = !0, o(0)));
259
- }
260
- } else c.tag === 0 ? (n.push(p = c[0]), p(0)) : n.length && (e(c), p(0));
261
- }));
262
- })(r(u[0])), s || (s = !0, o(0))));
263
- })), e(E(((u) => {
264
- if (u === 1) {
265
- i || (i = !0, o(1));
266
- for (var a = 0, d = n, p = n.length; a < p; a++)
267
- d[a](1);
268
- n.length = 0;
269
- } else {
270
- !i && !s ? (s = !0, o(0)) : s = !1;
271
- for (var c = 0, v = n, x = n.length; c < x; c++)
272
- v[c](0);
273
- }
274
- })));
275
- };
276
- }
277
- function H(r) {
278
- return G(B)(r);
279
- }
280
- function ue(r) {
281
- return H(X(r));
282
- }
283
- function ae(r) {
284
- return (t) => (e) => t(((n) => {
285
- n === 0 ? e(0) : n.tag === 0 ? (e(n), r()) : e(n);
286
- }));
287
- }
288
- function J(r) {
289
- var t = [], e = m, n = !1;
290
- return (o) => {
291
- t.push(o), t.length === 1 && r(((s) => {
292
- if (s === 0) {
293
- for (var i = 0, u = t, a = t.length; i < a; i++)
294
- u[i](0);
295
- t.length = 0;
296
- } else if (s.tag === 0)
297
- e = s[0];
298
- else {
299
- n = !1;
300
- for (var d = 0, p = t, c = t.length; d < c; d++)
301
- p[d](s);
302
- }
303
- })), o(E(((s) => {
304
- if (s === 1) {
305
- var i = t.indexOf(o);
306
- i > -1 && (t = t.slice()).splice(i, 1), t.length || e(1);
307
- } else n || (n = !0, e(0));
308
- })));
309
- };
310
- }
311
- function fe(r) {
312
- return (t) => (e) => {
313
- var n = m, o = !1, s = 0;
314
- t(((i) => {
315
- o || (i === 0 ? (o = !0, e(0)) : i.tag === 0 ? n = i[0] : s++ < r ? (e(i), !o && s >= r && (o = !0, e(0), n(1))) : e(i));
316
- })), e(E(((i) => {
317
- i === 1 && !o ? (o = !0, n(1)) : i === 0 && !o && s < r && n(0);
318
- })));
319
- };
320
- }
321
- function Q(r) {
322
- return (t) => {
323
- var e = r[P()] && r[P()]() || r, n = !1, o = !1, s = !1, i;
324
- t(E((async (u) => {
325
- if (u === 1)
326
- n = !0, e.return && e.return();
327
- else if (o)
328
- s = !0;
329
- else {
330
- for (s = o = !0; s && !n; )
331
- if ((i = await e.next()).done)
332
- n = !0, e.return && await e.return(), t(0);
333
- else
334
- try {
335
- s = !1, t(w(i.value));
336
- } catch (a) {
337
- if (e.throw)
338
- (n = !!(await e.throw(a)).done) && t(0);
339
- else
340
- throw a;
341
- }
342
- o = !1;
343
- }
344
- })));
345
- };
346
- }
347
- function U(r) {
348
- return r[Symbol.asyncIterator] ? Q(r) : (t) => {
349
- var e = r[Symbol.iterator](), n = !1, o = !1, s = !1, i;
350
- t(E(((u) => {
351
- if (u === 1)
352
- n = !0, e.return && e.return();
353
- else if (o)
354
- s = !0;
355
- else {
356
- for (s = o = !0; s && !n; )
357
- if ((i = e.next()).done)
358
- n = !0, e.return && e.return(), t(0);
359
- else
360
- try {
361
- s = !1, t(w(i.value));
362
- } catch (a) {
363
- if (e.throw)
364
- (n = !!e.throw(a).done) && t(0);
365
- else
366
- throw a;
367
- }
368
- o = !1;
369
- }
370
- })));
371
- };
372
- }
373
- var X = U;
374
- function Z(r) {
375
- return (t) => {
376
- var e = !1, n = r({
377
- next(o) {
378
- e || t(w(o));
379
- },
380
- complete() {
381
- e || (e = !0, t(0));
382
- }
383
- });
384
- t(E(((o) => {
385
- o === 1 && !e && (e = !0, n());
386
- })));
387
- };
388
- }
389
- function ce() {
390
- var r, t;
391
- return {
392
- source: J(Z(((e) => (r = e.next, t = e.complete, V)))),
393
- next(e) {
394
- r && r(e);
395
- },
396
- complete() {
397
- t && t();
398
- }
399
- };
400
- }
401
- function le(r) {
402
- return new Promise(((t) => {
403
- var e = m, n;
404
- r(((o) => {
405
- o === 0 ? Promise.resolve(n).then(t) : o.tag === 0 ? (e = o[0])(0) : (n = o[0], e(0));
406
- }));
407
- }));
408
- }
407
+ var Z = X();
408
+ const le = /* @__PURE__ */ L(Z);
409
409
  export {
410
- ie as a,
411
- ce as b,
412
- W as c,
413
- fe as d,
414
- oe as e,
415
- se as f,
416
- ne as g,
417
- re as i,
418
- ue as m,
419
- ae as o,
420
- le as t
410
+ ne as a,
411
+ ue as b,
412
+ U as c,
413
+ ie as d,
414
+ le as e,
415
+ re as f,
416
+ ce as g,
417
+ fe as i,
418
+ oe as m,
419
+ se as o,
420
+ ae as t
421
421
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quantum-component-library",
3
- "version": "1.4.48-dev.3",
3
+ "version": "1.4.48-dev.5",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "main": "./dist/index.cjs",
@@ -104,7 +104,7 @@
104
104
  "react-icons": "^5.5.0",
105
105
  "tailwind-merge": "^3.3.1",
106
106
  "tailwindcss": "^4.1.12",
107
- "urql": "4.2.1"
107
+ "urql": "4.2.2"
108
108
  },
109
109
  "devDependencies": {
110
110
  "@eslint/js": "^9.33.0",
@@ -1 +0,0 @@
1
- "use strict";const q=require("react"),L=require("./other-Dp3RPYfF.cjs");var T=q.useLayoutEffect,S=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function M(r,t){return!!(r===t||S(r)&&S(t))}function C(r,t){if(r.length!==t.length)return!1;for(var e=0;e<r.length;e++)if(!M(r[e],t[e]))return!1;return!0}function Y(r,t){t===void 0&&(t=C);var e=null;function n(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];if(e&&e.lastThis===this&&t(o,e.lastArgs))return e.lastResult;var i=r.apply(this,o);return e={lastResult:i,lastArgs:o,lastThis:this},i}return n.clear=function(){e=null},n}function l(r){return"Minified Redux error #"+r+"; visit https://redux.js.org/Errors?code="+r+" for the full message or use the non-minified dev environment for full errors. "}var D=(function(){return typeof Symbol=="function"&&Symbol.observable||"@@observable"})(),j=function(){return Math.random().toString(36).substring(7).split("").join(".")},I={INIT:"@@redux/INIT"+j(),REPLACE:"@@redux/REPLACE"+j()};function z(r){if(typeof r!="object"||r===null)return!1;for(var t=r;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(r)===t}function F(r){if(r===void 0)return"undefined";if(r===null)return"null";var t=typeof r;switch(t){case"boolean":case"string":case"number":case"symbol":case"function":return t}if(Array.isArray(r))return"array";if(K(r))return"date";if($(r))return"error";var e=W(r);switch(e){case"Symbol":case"Promise":case"WeakMap":case"WeakSet":case"Map":case"Set":return e}return t.slice(8,-1).toLowerCase().replace(/\s/g,"")}function W(r){return typeof r.constructor=="function"?r.constructor.name:null}function $(r){return r instanceof Error||typeof r.message=="string"&&r.constructor&&typeof r.constructor.stackTraceLimit=="number"}function K(r){return r instanceof Date?!0:typeof r.toDateString=="function"&&typeof r.getDate=="function"&&typeof r.setDate=="function"}function y(r){var t=typeof r;return process.env.NODE_ENV!=="production"&&(t=F(r)),t}function k(r,t,e){var n;if(typeof t=="function"&&typeof e=="function"||typeof e=="function"&&typeof arguments[3]=="function")throw new Error(process.env.NODE_ENV==="production"?l(0):"It looks like you are passing several store enhancers to createStore(). This is not supported. Instead, compose them together to a single function. See https://redux.js.org/tutorials/fundamentals/part-4-store#creating-a-store-with-enhancers for an example.");if(typeof t=="function"&&typeof e>"u"&&(e=t,t=void 0),typeof e<"u"){if(typeof e!="function")throw new Error(process.env.NODE_ENV==="production"?l(1):"Expected the enhancer to be a function. Instead, received: '"+y(e)+"'");return e(k)(r,t)}if(typeof r!="function")throw new Error(process.env.NODE_ENV==="production"?l(2):"Expected the root reducer to be a function. Instead, received: '"+y(r)+"'");var o=r,s=t,i=[],u=i,a=!1;function d(){u===i&&(u=i.slice())}function p(){if(a)throw new Error(process.env.NODE_ENV==="production"?l(3):"You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return s}function c(f){if(typeof f!="function")throw new Error(process.env.NODE_ENV==="production"?l(4):"Expected the listener to be a function. Instead, received: '"+y(f)+"'");if(a)throw new Error(process.env.NODE_ENV==="production"?l(5):"You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api/store#subscribelistener for more details.");var g=!0;return d(),u.push(f),function(){if(g){if(a)throw new Error(process.env.NODE_ENV==="production"?l(6):"You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api/store#subscribelistener for more details.");g=!1,d();var h=u.indexOf(f);u.splice(h,1),i=null}}}function v(f){if(!z(f))throw new Error(process.env.NODE_ENV==="production"?l(7):"Actions must be plain objects. Instead, the actual type was: '"+y(f)+"'. You may need to add middleware to your store setup to handle dispatching other values, such as 'redux-thunk' to handle dispatching functions. See https://redux.js.org/tutorials/fundamentals/part-4-store#middleware and https://redux.js.org/tutorials/fundamentals/part-6-async-logic#using-the-redux-thunk-middleware for examples.");if(typeof f.type>"u")throw new Error(process.env.NODE_ENV==="production"?l(8):'Actions may not have an undefined "type" property. You may have misspelled an action type string constant.');if(a)throw new Error(process.env.NODE_ENV==="production"?l(9):"Reducers may not dispatch actions.");try{a=!0,s=o(s,f)}finally{a=!1}for(var g=i=u,b=0;b<g.length;b++){var h=g[b];h()}return f}function x(f){if(typeof f!="function")throw new Error(process.env.NODE_ENV==="production"?l(10):"Expected the nextReducer to be a function. Instead, received: '"+y(f));o=f,v({type:I.REPLACE})}function R(){var f,g=c;return f={subscribe:function(h){if(typeof h!="object"||h===null)throw new Error(process.env.NODE_ENV==="production"?l(11):"Expected the observer to be an object. Instead, received: '"+y(h)+"'");function N(){h.next&&h.next(p())}N();var _=g(N);return{unsubscribe:_}}},f[D]=function(){return this},f}return v({type:I.INIT}),n={dispatch:v,subscribe:c,getState:p,replaceReducer:x},n[D]=R,n}var O,P;function B(){return P||(P=1,O=function r(t,e){if(t===e)return!0;if(t&&e&&typeof t=="object"&&typeof e=="object"){if(t.constructor!==e.constructor)return!1;var n,o,s;if(Array.isArray(t)){if(n=t.length,n!=e.length)return!1;for(o=n;o--!==0;)if(!r(t[o],e[o]))return!1;return!0}if(t.constructor===RegExp)return t.source===e.source&&t.flags===e.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===e.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===e.toString();if(s=Object.keys(t),n=s.length,n!==Object.keys(e).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(e,s[o]))return!1;for(o=n;o--!==0;){var i=s[o];if(!r(t[i],e[i]))return!1}return!0}return t!==t&&e!==e}),O}var G=B();const H=L.getDefaultExportFromCjs(G);var V=()=>{},m=V;function E(r){return{tag:0,0:r}}function w(r){return{tag:1,0:r}}var A=()=>typeof Symbol=="function"&&Symbol.asyncIterator||"@@asyncIterator",J=r=>r;function Q(r){return t=>e=>{var n=m;t((o=>{o===0?e(0):o.tag===0?(n=o[0],e(o)):r(o[0])?e(o):n(0)}))}}function U(r){return t=>e=>t((n=>{n===0||n.tag===0?e(n):e(w(r(n[0])))}))}function X(r){return t=>e=>{var n=[],o=m,s=!1,i=!1;t((u=>{i||(u===0?(i=!0,n.length||e(0)):u.tag===0?o=u[0]:(s=!1,(function(d){var p=m;d((c=>{if(c===0){if(n.length){var v=n.indexOf(p);v>-1&&(n=n.slice()).splice(v,1),n.length||(i?e(0):s||(s=!0,o(0)))}}else c.tag===0?(n.push(p=c[0]),p(0)):n.length&&(e(c),p(0))}))})(r(u[0])),s||(s=!0,o(0))))})),e(E((u=>{if(u===1){i||(i=!0,o(1));for(var a=0,d=n,p=n.length;a<p;a++)d[a](1);n.length=0}else{!i&&!s?(s=!0,o(0)):s=!1;for(var c=0,v=n,x=n.length;c<x;c++)v[c](0)}})))}}function Z(r){return X(J)(r)}function ee(r){return Z(ie(r))}function te(r){return t=>e=>t((n=>{n===0?e(0):n.tag===0?(e(n),r()):e(n)}))}function re(r){var t=[],e=m,n=!1;return o=>{t.push(o),t.length===1&&r((s=>{if(s===0){for(var i=0,u=t,a=t.length;i<a;i++)u[i](0);t.length=0}else if(s.tag===0)e=s[0];else{n=!1;for(var d=0,p=t,c=t.length;d<c;d++)p[d](s)}})),o(E((s=>{if(s===1){var i=t.indexOf(o);i>-1&&(t=t.slice()).splice(i,1),t.length||e(1)}else n||(n=!0,e(0))})))}}function ne(r){return t=>e=>{var n=m,o=!1,s=0;t((i=>{o||(i===0?(o=!0,e(0)):i.tag===0?n=i[0]:s++<r?(e(i),!o&&s>=r&&(o=!0,e(0),n(1))):e(i))})),e(E((i=>{i===1&&!o?(o=!0,n(1)):i===0&&!o&&s<r&&n(0)})))}}function oe(r){return t=>{var e=r[A()]&&r[A()]()||r,n=!1,o=!1,s=!1,i;t(E((async u=>{if(u===1)n=!0,e.return&&e.return();else if(o)s=!0;else{for(s=o=!0;s&&!n;)if((i=await e.next()).done)n=!0,e.return&&await e.return(),t(0);else try{s=!1,t(w(i.value))}catch(a){if(e.throw)(n=!!(await e.throw(a)).done)&&t(0);else throw a}o=!1}})))}}function se(r){return r[Symbol.asyncIterator]?oe(r):t=>{var e=r[Symbol.iterator](),n=!1,o=!1,s=!1,i;t(E((u=>{if(u===1)n=!0,e.return&&e.return();else if(o)s=!0;else{for(s=o=!0;s&&!n;)if((i=e.next()).done)n=!0,e.return&&e.return(),t(0);else try{s=!1,t(w(i.value))}catch(a){if(e.throw)(n=!!e.throw(a).done)&&t(0);else throw a}o=!1}})))}}var ie=se;function ue(r){return t=>{var e=!1,n=r({next(o){e||t(w(o))},complete(){e||(e=!0,t(0))}});t(E((o=>{o===1&&!e&&(e=!0,n())})))}}function ae(){var r,t;return{source:re(ue((e=>(r=e.next,t=e.complete,V)))),next(e){r&&r(e)},complete(){t&&t()}}}function fe(r){return new Promise((t=>{var e=m,n;r((o=>{o===0?Promise.resolve(n).then(t):o.tag===0?(e=o[0])(0):(n=o[0],e(0))}))}))}exports.createStore=k;exports.equal=H;exports.filter=Q;exports.index=T;exports.makeSubject=ae;exports.map=U;exports.memoizeOne=Y;exports.merge=ee;exports.onStart=te;exports.take=ne;exports.toPromise=fe;