@streamlayer/react 1.24.6 → 1.24.7

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.
Files changed (160) hide show
  1. package/lib/cjs/advertisement.js +19607 -203
  2. package/lib/cjs/auth.js +4459 -1
  3. package/lib/cjs/bet-pack.js +15691 -1
  4. package/lib/cjs/index.js +19411 -1
  5. package/lib/cjs/insight.js +13509 -1
  6. package/lib/cjs/masters.js +20696 -1
  7. package/lib/cjs/notification.js +13087 -1
  8. package/lib/cjs/package.json +1 -0
  9. package/lib/cjs/pause-ad.js +8390 -1
  10. package/lib/cjs/points.js +7189 -1
  11. package/lib/cjs/polyfills.js +69 -0
  12. package/lib/cjs/polymarket.js +16394 -14
  13. package/lib/cjs/style.css +1 -0
  14. package/lib/cjs/useStreamLayerApp.js +4711 -1
  15. package/lib/dist/cjs/index.js +20696 -1
  16. package/lib/dist/es/index.js +20669 -10
  17. package/lib/dist/es/polyfills.js +92 -0
  18. package/lib/es/advertisement.js +2821 -2746
  19. package/lib/es/analytics.js +1 -1
  20. package/lib/es/feature.js +60 -56
  21. package/lib/es/index.js +1 -1
  22. package/lib/es/index10.js +181 -7
  23. package/lib/es/index11.js +371 -181
  24. package/lib/es/index12.js +3 -3
  25. package/lib/es/index13.js +4 -4
  26. package/lib/es/index14.js +2 -2
  27. package/lib/es/index15.js +384 -414
  28. package/lib/es/index16.js +45 -46
  29. package/lib/es/index2.js +11 -13
  30. package/lib/es/index3.js +34 -4
  31. package/lib/es/index4.js +3 -3
  32. package/lib/es/index5.js +3 -19
  33. package/lib/es/index6.js +7 -4
  34. package/lib/es/index7.js +284 -5
  35. package/lib/es/index8.js +236 -281
  36. package/lib/es/index9.js +8 -179
  37. package/lib/es/insight.js +1 -1
  38. package/lib/es/masters2.js +9 -10
  39. package/lib/es/notification.js +5 -5
  40. package/lib/es/pause-ad.js +1 -1
  41. package/lib/es/points.js +3 -3
  42. package/lib/es/polymarket.js +2 -2
  43. package/lib/es/storage.js +3 -3
  44. package/lib/es/style.css +1 -0
  45. package/lib/es/useStreamLayerApp2.js +5654 -4604
  46. package/lib/source.css +1 -120
  47. package/package.json +99 -83
  48. package/lib/cjs/Question.js +0 -1
  49. package/lib/cjs/analytics.js +0 -1
  50. package/lib/cjs/feature.js +0 -1
  51. package/lib/cjs/gamification-feature.js +0 -1
  52. package/lib/cjs/gamification-feature2.js +0 -1
  53. package/lib/cjs/hooks-n9ax4LRT.js +0 -1
  54. package/lib/cjs/index-CfSdnrfA.js +0 -5
  55. package/lib/cjs/index10.js +0 -1
  56. package/lib/cjs/index11.js +0 -1
  57. package/lib/cjs/index12.js +0 -1
  58. package/lib/cjs/index13.js +0 -4
  59. package/lib/cjs/index14.js +0 -1
  60. package/lib/cjs/index15.js +0 -1
  61. package/lib/cjs/index16.js +0 -5
  62. package/lib/cjs/index2.js +0 -1
  63. package/lib/cjs/index3.js +0 -1
  64. package/lib/cjs/index4.js +0 -5
  65. package/lib/cjs/index5.js +0 -1
  66. package/lib/cjs/index6.js +0 -1
  67. package/lib/cjs/index7.js +0 -1
  68. package/lib/cjs/index8.js +0 -1
  69. package/lib/cjs/index9.js +0 -7
  70. package/lib/cjs/masters2.js +0 -8
  71. package/lib/cjs/storage.js +0 -1
  72. package/lib/cjs/theme.js +0 -1
  73. package/lib/cjs/useStreamLayerApp2.js +0 -17
  74. package/lib/cjs/utils.js +0 -47
  75. package/lib/classic/app/advertisement.d.ts +0 -19
  76. package/lib/classic/app/app.d.ts +0 -23
  77. package/lib/classic/app/auth.d.ts +0 -4
  78. package/lib/classic/app/bet-pack.d.ts +0 -10
  79. package/lib/classic/app/insight.d.ts +0 -13
  80. package/lib/classic/app/masters.d.ts +0 -19
  81. package/lib/classic/app/notification.d.ts +0 -5
  82. package/lib/classic/app/pause-ad.d.ts +0 -27
  83. package/lib/classic/app/points.d.ts +0 -3
  84. package/lib/classic/app/polymarket.d.ts +0 -7
  85. package/lib/classic/app/useStreamLayerApp.d.ts +0 -1
  86. package/lib/classic/cjs/Question.js +0 -1
  87. package/lib/classic/cjs/advertisement.js +0 -203
  88. package/lib/classic/cjs/analytics.js +0 -1
  89. package/lib/classic/cjs/auth.js +0 -1
  90. package/lib/classic/cjs/bet-pack.js +0 -5
  91. package/lib/classic/cjs/feature.js +0 -1
  92. package/lib/classic/cjs/gamification-feature.js +0 -1
  93. package/lib/classic/cjs/hooks-n9ax4LRT.js +0 -1
  94. package/lib/classic/cjs/index-CfSdnrfA.js +0 -5
  95. package/lib/classic/cjs/index.js +0 -1
  96. package/lib/classic/cjs/index10.js +0 -1
  97. package/lib/classic/cjs/index11.js +0 -1
  98. package/lib/classic/cjs/index12.js +0 -1
  99. package/lib/classic/cjs/index13.js +0 -4
  100. package/lib/classic/cjs/index2.js +0 -5
  101. package/lib/classic/cjs/index3.js +0 -1
  102. package/lib/classic/cjs/index4.js +0 -1
  103. package/lib/classic/cjs/index5.js +0 -1
  104. package/lib/classic/cjs/index6.js +0 -1
  105. package/lib/classic/cjs/index7.js +0 -7
  106. package/lib/classic/cjs/index8.js +0 -1
  107. package/lib/classic/cjs/index9.js +0 -1
  108. package/lib/classic/cjs/insight.js +0 -1
  109. package/lib/classic/cjs/notification.js +0 -1
  110. package/lib/classic/cjs/notification2.js +0 -1
  111. package/lib/classic/cjs/pause-ad.js +0 -1
  112. package/lib/classic/cjs/points.js +0 -1
  113. package/lib/classic/cjs/polymarket.js +0 -14
  114. package/lib/classic/cjs/useStreamLayerApp.js +0 -1
  115. package/lib/classic/cjs/useStreamLayerApp2.js +0 -17
  116. package/lib/classic/cjs/utils.js +0 -47
  117. package/lib/classic/es/Question.js +0 -503
  118. package/lib/classic/es/advertisement.js +0 -38792
  119. package/lib/classic/es/analytics.js +0 -84
  120. package/lib/classic/es/auth.js +0 -11
  121. package/lib/classic/es/bet-pack.js +0 -3418
  122. package/lib/classic/es/feature.js +0 -210
  123. package/lib/classic/es/gamification-feature.js +0 -4
  124. package/lib/classic/es/hooks-n9ax4LRT.js +0 -97
  125. package/lib/classic/es/index.js +0 -15
  126. package/lib/classic/es/index10.js +0 -321
  127. package/lib/classic/es/index11.js +0 -2592
  128. package/lib/classic/es/index12.js +0 -185
  129. package/lib/classic/es/index13.js +0 -820
  130. package/lib/classic/es/index2.js +0 -2605
  131. package/lib/classic/es/index3.js +0 -19
  132. package/lib/classic/es/index4.js +0 -6
  133. package/lib/classic/es/index5.js +0 -4
  134. package/lib/classic/es/index6.js +0 -285
  135. package/lib/classic/es/index7.js +0 -181
  136. package/lib/classic/es/index8.js +0 -7
  137. package/lib/classic/es/index9.js +0 -11
  138. package/lib/classic/es/insight.js +0 -79
  139. package/lib/classic/es/notification.js +0 -9
  140. package/lib/classic/es/notification2.js +0 -1126
  141. package/lib/classic/es/pause-ad.js +0 -232
  142. package/lib/classic/es/points.js +0 -76
  143. package/lib/classic/es/polymarket.js +0 -6617
  144. package/lib/classic/es/useStreamLayerApp.js +0 -4
  145. package/lib/classic/es/useStreamLayerApp2.js +0 -11627
  146. package/lib/classic/es/utils.js +0 -76
  147. package/lib/classic/index.d.ts +0 -6
  148. package/lib/classic/masters.d.ts +0 -8
  149. package/lib/classic/source.css +0 -110
  150. package/lib/dist/cjs/gamification-feature.js +0 -1
  151. package/lib/dist/cjs/index-CfSdnrfA.js +0 -5
  152. package/lib/dist/cjs/masters.js +0 -69
  153. package/lib/dist/es/gamification-feature.js +0 -4
  154. package/lib/dist/es/index-CfSdnrfA.js +0 -3775
  155. package/lib/dist/es/masters.js +0 -22387
  156. package/lib/dist/index.d.ts +0 -1357
  157. package/lib/dist/source.css +0 -64
  158. package/lib/es/index-CfSdnrfA.js +0 -3775
  159. package/lib/style.css +0 -1
  160. /package/lib/{classic/es/index-CfSdnrfA.js → es/index-D8wyDNJD.js} +0 -0
package/lib/es/index15.js CHANGED
@@ -1,32 +1,5 @@
1
- import wu from "react";
2
- var Se = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
3
- function Dc(r) {
4
- return r && r.__esModule && Object.prototype.hasOwnProperty.call(r, "default") ? r.default : r;
5
- }
6
- function Lc(r) {
7
- if (Object.prototype.hasOwnProperty.call(r, "__esModule")) return r;
8
- var e = r.default;
9
- if (typeof e == "function") {
10
- var t = function n() {
11
- var a = !1;
12
- try {
13
- a = this instanceof n;
14
- } catch {
15
- }
16
- return a ? Reflect.construct(e, arguments, this.constructor) : e.apply(this, arguments);
17
- };
18
- t.prototype = e.prototype;
19
- } else t = {};
20
- return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(r).forEach(function(n) {
21
- var a = Object.getOwnPropertyDescriptor(r, n);
22
- Object.defineProperty(t, n, a.get ? a : {
23
- enumerable: !0,
24
- get: function() {
25
- return r[n];
26
- }
27
- });
28
- }), t;
29
- }
1
+ import { c as Oe } from "./index3.js";
2
+ import Au from "react";
30
3
  var Ke = { exports: {} }, Ne, ra;
31
4
  function le() {
32
5
  if (ra) return Ne;
@@ -41,7 +14,7 @@ var Be, ta;
41
14
  function nu() {
42
15
  if (ta) return Be;
43
16
  ta = 1;
44
- var r = typeof Se == "object" && Se && Se.Object === Object && Se;
17
+ var r = typeof Oe == "object" && Oe && Oe.Object === Object && Oe;
45
18
  return Be = r, Be;
46
19
  }
47
20
  var je, na;
@@ -52,7 +25,7 @@ function ie() {
52
25
  return je = t, je;
53
26
  }
54
27
  var ke, aa;
55
- function Au() {
28
+ function wu() {
56
29
  if (aa) return ke;
57
30
  aa = 1;
58
31
  var r = ie(), e = function() {
@@ -73,7 +46,7 @@ function Tu() {
73
46
  return He = e, He;
74
47
  }
75
48
  var Ge, sa;
76
- function Ou() {
49
+ function xu() {
77
50
  if (sa) return Ge;
78
51
  sa = 1;
79
52
  var r = Tu(), e = /^\s+/;
@@ -90,7 +63,7 @@ function Ce() {
90
63
  return Ue = e, Ue;
91
64
  }
92
65
  var ze, oa;
93
- function xu() {
66
+ function Su() {
94
67
  if (oa) return ze;
95
68
  oa = 1;
96
69
  var r = Ce(), e = Object.prototype, t = e.hasOwnProperty, n = e.toString, a = r ? r.toStringTag : void 0;
@@ -107,7 +80,7 @@ function xu() {
107
80
  return ze = i, ze;
108
81
  }
109
82
  var We, ca;
110
- function Su() {
83
+ function Ou() {
111
84
  if (ca) return We;
112
85
  ca = 1;
113
86
  var r = Object.prototype, e = r.toString;
@@ -120,7 +93,7 @@ var $e, fa;
120
93
  function Fe() {
121
94
  if (fa) return $e;
122
95
  fa = 1;
123
- var r = Ce(), e = xu(), t = Su(), n = "[object Null]", a = "[object Undefined]", i = r ? r.toStringTag : void 0;
96
+ var r = Ce(), e = Su(), t = Ou(), n = "[object Null]", a = "[object Undefined]", i = r ? r.toStringTag : void 0;
124
97
  function s(o) {
125
98
  return o == null ? o === void 0 ? a : n : i && i in Object(o) ? e(o) : t(o);
126
99
  }
@@ -149,7 +122,7 @@ var Xe, ha;
149
122
  function Ku() {
150
123
  if (ha) return Xe;
151
124
  ha = 1;
152
- var r = Ou(), e = le(), t = Re(), n = NaN, a = /^[-+]0x[0-9a-f]+$/i, i = /^0b[01]+$/i, s = /^0o[0-7]+$/i, o = parseInt;
125
+ var r = xu(), e = le(), t = Re(), n = NaN, a = /^[-+]0x[0-9a-f]+$/i, i = /^0b[01]+$/i, s = /^0o[0-7]+$/i, o = parseInt;
153
126
  function l(h) {
154
127
  if (typeof h == "number")
155
128
  return h;
@@ -171,53 +144,53 @@ var Ze, va;
171
144
  function au() {
172
145
  if (va) return Ze;
173
146
  va = 1;
174
- var r = le(), e = Au(), t = Ku(), n = "Expected a function", a = Math.max, i = Math.min;
147
+ var r = le(), e = wu(), t = Ku(), n = "Expected a function", a = Math.max, i = Math.min;
175
148
  function s(o, l, h) {
176
- var m, _, S, P, L, K, b = 0, d = !1, p = !1, q = !0;
149
+ var m, _, O, E, L, K, b = 0, d = !1, p = !1, q = !0;
177
150
  if (typeof o != "function")
178
151
  throw new TypeError(n);
179
- l = t(l) || 0, r(h) && (d = !!h.leading, p = "maxWait" in h, S = p ? a(t(h.maxWait) || 0, l) : S, q = "trailing" in h ? !!h.trailing : q);
180
- function g(A) {
152
+ l = t(l) || 0, r(h) && (d = !!h.leading, p = "maxWait" in h, O = p ? a(t(h.maxWait) || 0, l) : O, q = "trailing" in h ? !!h.trailing : q);
153
+ function g(w) {
181
154
  var U = m, J = _;
182
- return m = _ = void 0, b = A, P = o.apply(J, U), P;
155
+ return m = _ = void 0, b = w, E = o.apply(J, U), E;
183
156
  }
184
- function E(A) {
185
- return b = A, L = setTimeout(N, l), d ? g(A) : P;
157
+ function P(w) {
158
+ return b = w, L = setTimeout(N, l), d ? g(w) : E;
186
159
  }
187
- function O(A) {
188
- var U = A - K, J = A - b, te = l - U;
189
- return p ? i(te, S - J) : te;
160
+ function x(w) {
161
+ var U = w - K, J = w - b, te = l - U;
162
+ return p ? i(te, O - J) : te;
190
163
  }
191
- function F(A) {
192
- var U = A - K, J = A - b;
193
- return K === void 0 || U >= l || U < 0 || p && J >= S;
164
+ function F(w) {
165
+ var U = w - K, J = w - b;
166
+ return K === void 0 || U >= l || U < 0 || p && J >= O;
194
167
  }
195
168
  function N() {
196
- var A = e();
197
- if (F(A))
198
- return R(A);
199
- L = setTimeout(N, O(A));
169
+ var w = e();
170
+ if (F(w))
171
+ return R(w);
172
+ L = setTimeout(N, x(w));
200
173
  }
201
- function R(A) {
202
- return L = void 0, q && m ? g(A) : (m = _ = void 0, P);
174
+ function R(w) {
175
+ return L = void 0, q && m ? g(w) : (m = _ = void 0, E);
203
176
  }
204
- function x() {
177
+ function S() {
205
178
  L !== void 0 && clearTimeout(L), b = 0, m = K = _ = L = void 0;
206
179
  }
207
180
  function M() {
208
- return L === void 0 ? P : R(e());
181
+ return L === void 0 ? E : R(e());
209
182
  }
210
183
  function H() {
211
- var A = e(), U = F(A);
212
- if (m = arguments, _ = this, K = A, U) {
184
+ var w = e(), U = F(w);
185
+ if (m = arguments, _ = this, K = w, U) {
213
186
  if (L === void 0)
214
- return E(K);
187
+ return P(K);
215
188
  if (p)
216
189
  return clearTimeout(L), L = setTimeout(N, l), g(K);
217
190
  }
218
- return L === void 0 && (L = setTimeout(N, l)), P;
191
+ return L === void 0 && (L = setTimeout(N, l)), E;
219
192
  }
220
- return H.cancel = x, H.flush = M, H;
193
+ return H.cancel = S, H.flush = M, H;
221
194
  }
222
195
  return Ze = s, Ze;
223
196
  }
@@ -235,17 +208,17 @@ function iu() {
235
208
  return Qe = s, Qe;
236
209
  }
237
210
  var Ve, ya;
238
- function Pu() {
211
+ function Eu() {
239
212
  if (ya) return Ve;
240
213
  ya = 1;
241
214
  var r = ie(), e = r["__core-js_shared__"];
242
215
  return Ve = e, Ve;
243
216
  }
244
217
  var er, ga;
245
- function Eu() {
218
+ function Pu() {
246
219
  if (ga) return er;
247
220
  ga = 1;
248
- var r = Pu(), e = (function() {
221
+ var r = Eu(), e = (function() {
249
222
  var n = /[^.]+$/.exec(r && r.keys && r.keys.IE_PROTO || "");
250
223
  return n ? "Symbol(src)_1." + n : "";
251
224
  })();
@@ -278,14 +251,14 @@ var tr, ba;
278
251
  function Mu() {
279
252
  if (ba) return tr;
280
253
  ba = 1;
281
- var r = iu(), e = Eu(), t = le(), n = su(), a = /[\\^$.*+?()[\]{}|]/g, i = /^\[object .+?Constructor\]$/, s = Function.prototype, o = Object.prototype, l = s.toString, h = o.hasOwnProperty, m = RegExp(
254
+ var r = iu(), e = Pu(), t = le(), n = su(), a = /[\\^$.*+?()[\]{}|]/g, i = /^\[object .+?Constructor\]$/, s = Function.prototype, o = Object.prototype, l = s.toString, h = o.hasOwnProperty, m = RegExp(
282
255
  "^" + l.call(h).replace(a, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
283
256
  );
284
- function _(S) {
285
- if (!t(S) || e(S))
257
+ function _(O) {
258
+ if (!t(O) || e(O))
286
259
  return !1;
287
- var P = r(S) ? m : i;
288
- return P.test(n(S));
260
+ var E = r(O) ? m : i;
261
+ return E.test(n(O));
289
262
  }
290
263
  return tr = _, tr;
291
264
  }
@@ -310,7 +283,7 @@ function de() {
310
283
  return ar = t, ar;
311
284
  }
312
285
  var ir, Ca;
313
- function Pe() {
286
+ function Ee() {
314
287
  if (Ca) return ir;
315
288
  Ca = 1;
316
289
  var r = de(), e = r(Object, "create");
@@ -320,7 +293,7 @@ var sr, Fa;
320
293
  function Du() {
321
294
  if (Fa) return sr;
322
295
  Fa = 1;
323
- var r = Pe();
296
+ var r = Ee();
324
297
  function e() {
325
298
  this.__data__ = r ? r(null) : {}, this.size = 0;
326
299
  }
@@ -336,11 +309,11 @@ function Lu() {
336
309
  }
337
310
  return ur = r, ur;
338
311
  }
339
- var or, wa;
312
+ var or, Aa;
340
313
  function Nu() {
341
- if (wa) return or;
342
- wa = 1;
343
- var r = Pe(), e = "__lodash_hash_undefined__", t = Object.prototype, n = t.hasOwnProperty;
314
+ if (Aa) return or;
315
+ Aa = 1;
316
+ var r = Ee(), e = "__lodash_hash_undefined__", t = Object.prototype, n = t.hasOwnProperty;
344
317
  function a(i) {
345
318
  var s = this.__data__;
346
319
  if (r) {
@@ -351,11 +324,11 @@ function Nu() {
351
324
  }
352
325
  return or = a, or;
353
326
  }
354
- var cr, Aa;
327
+ var cr, wa;
355
328
  function Bu() {
356
- if (Aa) return cr;
357
- Aa = 1;
358
- var r = Pe(), e = Object.prototype, t = e.hasOwnProperty;
329
+ if (wa) return cr;
330
+ wa = 1;
331
+ var r = Ee(), e = Object.prototype, t = e.hasOwnProperty;
359
332
  function n(a) {
360
333
  var i = this.__data__;
361
334
  return r ? i[a] !== void 0 : t.call(i, a);
@@ -366,17 +339,17 @@ var fr, Ta;
366
339
  function ju() {
367
340
  if (Ta) return fr;
368
341
  Ta = 1;
369
- var r = Pe(), e = "__lodash_hash_undefined__";
342
+ var r = Ee(), e = "__lodash_hash_undefined__";
370
343
  function t(n, a) {
371
344
  var i = this.__data__;
372
345
  return this.size += this.has(n) ? 0 : 1, i[n] = r && a === void 0 ? e : a, this;
373
346
  }
374
347
  return fr = t, fr;
375
348
  }
376
- var lr, Oa;
349
+ var lr, xa;
377
350
  function ku() {
378
- if (Oa) return lr;
379
- Oa = 1;
351
+ if (xa) return lr;
352
+ xa = 1;
380
353
  var r = Du(), e = Lu(), t = Nu(), n = Bu(), a = ju();
381
354
  function i(s) {
382
355
  var o = -1, l = s == null ? 0 : s.length;
@@ -387,26 +360,26 @@ function ku() {
387
360
  }
388
361
  return i.prototype.clear = r, i.prototype.delete = e, i.prototype.get = t, i.prototype.has = n, i.prototype.set = a, lr = i, lr;
389
362
  }
390
- var dr, xa;
363
+ var dr, Sa;
391
364
  function Hu() {
392
- if (xa) return dr;
393
- xa = 1;
365
+ if (Sa) return dr;
366
+ Sa = 1;
394
367
  function r() {
395
368
  this.__data__ = [], this.size = 0;
396
369
  }
397
370
  return dr = r, dr;
398
371
  }
399
- var hr, Sa;
372
+ var hr, Oa;
400
373
  function Nn() {
401
- if (Sa) return hr;
402
- Sa = 1;
374
+ if (Oa) return hr;
375
+ Oa = 1;
403
376
  function r(e, t) {
404
377
  return e === t || e !== e && t !== t;
405
378
  }
406
379
  return hr = r, hr;
407
380
  }
408
381
  var vr, Ka;
409
- function Ee() {
382
+ function Pe() {
410
383
  if (Ka) return vr;
411
384
  Ka = 1;
412
385
  var r = Nn();
@@ -418,11 +391,11 @@ function Ee() {
418
391
  }
419
392
  return vr = e, vr;
420
393
  }
421
- var pr, Pa;
394
+ var pr, Ea;
422
395
  function Gu() {
423
- if (Pa) return pr;
424
- Pa = 1;
425
- var r = Ee(), e = Array.prototype, t = e.splice;
396
+ if (Ea) return pr;
397
+ Ea = 1;
398
+ var r = Pe(), e = Array.prototype, t = e.splice;
426
399
  function n(a) {
427
400
  var i = this.__data__, s = r(i, a);
428
401
  if (s < 0)
@@ -432,11 +405,11 @@ function Gu() {
432
405
  }
433
406
  return pr = n, pr;
434
407
  }
435
- var yr, Ea;
408
+ var yr, Pa;
436
409
  function Uu() {
437
- if (Ea) return yr;
438
- Ea = 1;
439
- var r = Ee();
410
+ if (Pa) return yr;
411
+ Pa = 1;
412
+ var r = Pe();
440
413
  function e(t) {
441
414
  var n = this.__data__, a = r(n, t);
442
415
  return a < 0 ? void 0 : n[a][1];
@@ -447,7 +420,7 @@ var gr, Ma;
447
420
  function zu() {
448
421
  if (Ma) return gr;
449
422
  Ma = 1;
450
- var r = Ee();
423
+ var r = Pe();
451
424
  function e(t) {
452
425
  return r(this.__data__, t) > -1;
453
426
  }
@@ -457,7 +430,7 @@ var _r, Ia;
457
430
  function Wu() {
458
431
  if (Ia) return _r;
459
432
  Ia = 1;
460
- var r = Ee();
433
+ var r = Pe();
461
434
  function e(t, n) {
462
435
  var a = this.__data__, i = r(a, t);
463
436
  return i < 0 ? (++this.size, a.push([t, n])) : a[i][1] = n, this;
@@ -531,25 +504,25 @@ function Ju() {
531
504
  }
532
505
  return Rr = e, Rr;
533
506
  }
534
- var wr, Ha;
507
+ var Ar, Ha;
535
508
  function Xu() {
536
- if (Ha) return wr;
509
+ if (Ha) return Ar;
537
510
  Ha = 1;
538
511
  var r = Ie();
539
512
  function e(t) {
540
513
  return r(this, t).get(t);
541
514
  }
542
- return wr = e, wr;
515
+ return Ar = e, Ar;
543
516
  }
544
- var Ar, Ga;
517
+ var wr, Ga;
545
518
  function Zu() {
546
- if (Ga) return Ar;
519
+ if (Ga) return wr;
547
520
  Ga = 1;
548
521
  var r = Ie();
549
522
  function e(t) {
550
523
  return r(this, t).has(t);
551
524
  }
552
- return Ar = e, Ar;
525
+ return wr = e, wr;
553
526
  }
554
527
  var Tr, Ua;
555
528
  function Qu() {
@@ -562,9 +535,9 @@ function Qu() {
562
535
  }
563
536
  return Tr = e, Tr;
564
537
  }
565
- var Or, za;
538
+ var xr, za;
566
539
  function jn() {
567
- if (za) return Or;
540
+ if (za) return xr;
568
541
  za = 1;
569
542
  var r = $u(), e = Ju(), t = Xu(), n = Zu(), a = Qu();
570
543
  function i(s) {
@@ -574,26 +547,26 @@ function jn() {
574
547
  this.set(h[0], h[1]);
575
548
  }
576
549
  }
577
- return i.prototype.clear = r, i.prototype.delete = e, i.prototype.get = t, i.prototype.has = n, i.prototype.set = a, Or = i, Or;
550
+ return i.prototype.clear = r, i.prototype.delete = e, i.prototype.get = t, i.prototype.has = n, i.prototype.set = a, xr = i, xr;
578
551
  }
579
- var xr, Wa;
552
+ var Sr, Wa;
580
553
  function Vu() {
581
- if (Wa) return xr;
554
+ if (Wa) return Sr;
582
555
  Wa = 1;
583
556
  var r = "__lodash_hash_undefined__";
584
557
  function e(t) {
585
558
  return this.__data__.set(t, r), this;
586
559
  }
587
- return xr = e, xr;
560
+ return Sr = e, Sr;
588
561
  }
589
- var Sr, $a;
562
+ var Or, $a;
590
563
  function eo() {
591
- if ($a) return Sr;
564
+ if ($a) return Or;
592
565
  $a = 1;
593
566
  function r(e) {
594
567
  return this.__data__.has(e);
595
568
  }
596
- return Sr = r, Sr;
569
+ return Or = r, Or;
597
570
  }
598
571
  var Kr, Ya;
599
572
  function uu() {
@@ -607,9 +580,9 @@ function uu() {
607
580
  }
608
581
  return n.prototype.add = n.prototype.push = e, n.prototype.has = t, Kr = n, Kr;
609
582
  }
610
- var Pr, Ja;
583
+ var Er, Ja;
611
584
  function ro() {
612
- if (Ja) return Pr;
585
+ if (Ja) return Er;
613
586
  Ja = 1;
614
587
  function r(e, t, n, a) {
615
588
  for (var i = e.length, s = n + (a ? 1 : -1); a ? s-- : ++s < i; )
@@ -617,16 +590,16 @@ function ro() {
617
590
  return s;
618
591
  return -1;
619
592
  }
620
- return Pr = r, Pr;
593
+ return Er = r, Er;
621
594
  }
622
- var Er, Xa;
595
+ var Pr, Xa;
623
596
  function to() {
624
- if (Xa) return Er;
597
+ if (Xa) return Pr;
625
598
  Xa = 1;
626
599
  function r(e) {
627
600
  return e !== e;
628
601
  }
629
- return Er = r, Er;
602
+ return Pr = r, Pr;
630
603
  }
631
604
  var Mr, Za;
632
605
  function no() {
@@ -710,19 +683,19 @@ function uo() {
710
683
  ai = 1;
711
684
  var r = uu(), e = io(), t = so(), n = kn(), a = Hn(), i = ou(), s = 200;
712
685
  function o(l, h, m, _) {
713
- var S = -1, P = e, L = !0, K = l.length, b = [], d = h.length;
686
+ var O = -1, E = e, L = !0, K = l.length, b = [], d = h.length;
714
687
  if (!K)
715
688
  return b;
716
- m && (h = n(h, a(m))), _ ? (P = t, L = !1) : h.length >= s && (P = i, L = !1, h = new r(h));
689
+ m && (h = n(h, a(m))), _ ? (E = t, L = !1) : h.length >= s && (E = i, L = !1, h = new r(h));
717
690
  e:
718
- for (; ++S < K; ) {
719
- var p = l[S], q = m == null ? p : m(p);
691
+ for (; ++O < K; ) {
692
+ var p = l[O], q = m == null ? p : m(p);
720
693
  if (p = _ || p !== 0 ? p : 0, L && q === q) {
721
694
  for (var g = d; g--; )
722
695
  if (h[g] === q)
723
696
  continue e;
724
697
  b.push(p);
725
- } else P(h, q, _) || b.push(p);
698
+ } else E(h, q, _) || b.push(p);
726
699
  }
727
700
  return b;
728
701
  }
@@ -793,7 +766,7 @@ function fu() {
793
766
  return $r = t, $r;
794
767
  }
795
768
  var Yr, li;
796
- function we() {
769
+ function Ae() {
797
770
  if (li) return Yr;
798
771
  li = 1;
799
772
  function r(e) {
@@ -865,7 +838,7 @@ var Vr, yi;
865
838
  function po() {
866
839
  if (yi) return Vr;
867
840
  yi = 1;
868
- var r = ho(), e = vo(), t = we(), n = e ? function(a, i) {
841
+ var r = ho(), e = vo(), t = Ae(), n = e ? function(a, i) {
869
842
  return e(a, "toString", {
870
843
  configurable: !0,
871
844
  enumerable: !1,
@@ -905,7 +878,7 @@ var tt, bi;
905
878
  function lu() {
906
879
  if (bi) return tt;
907
880
  bi = 1;
908
- var r = we(), e = lo(), t = go();
881
+ var r = Ae(), e = lo(), t = go();
909
882
  function n(a, i) {
910
883
  return t(e(a, i, r), a + "");
911
884
  }
@@ -922,7 +895,7 @@ function Un() {
922
895
  return nt = e, nt;
923
896
  }
924
897
  var at, qi;
925
- function Ae() {
898
+ function we() {
926
899
  if (qi) return at;
927
900
  qi = 1;
928
901
  var r = iu(), e = Un();
@@ -935,7 +908,7 @@ var it, Ci;
935
908
  function _o() {
936
909
  if (Ci) return it;
937
910
  Ci = 1;
938
- var r = Ae(), e = he();
911
+ var r = we(), e = he();
939
912
  function t(n) {
940
913
  return e(n) && r(n);
941
914
  }
@@ -963,10 +936,10 @@ function du() {
963
936
  }
964
937
  return ut = r, ut;
965
938
  }
966
- var ot, wi;
939
+ var ot, Ai;
967
940
  function mo() {
968
- if (wi) return ot;
969
- wi = 1;
941
+ if (Ai) return ot;
942
+ Ai = 1;
970
943
  function r(e) {
971
944
  return function(t, n, a) {
972
945
  for (var i = -1, s = Object(t), o = a(t), l = o.length; l--; ) {
@@ -979,10 +952,10 @@ function mo() {
979
952
  }
980
953
  return ot = r, ot;
981
954
  }
982
- var ct, Ai;
955
+ var ct, wi;
983
956
  function qo() {
984
- if (Ai) return ct;
985
- Ai = 1;
957
+ if (wi) return ct;
958
+ wi = 1;
986
959
  var r = mo(), e = r();
987
960
  return ct = e, ct;
988
961
  }
@@ -997,27 +970,27 @@ function Co() {
997
970
  }
998
971
  return ft = r, ft;
999
972
  }
1000
- var me = { exports: {} }, lt, Oi;
973
+ var me = { exports: {} }, lt, xi;
1001
974
  function Fo() {
1002
- if (Oi) return lt;
1003
- Oi = 1;
975
+ if (xi) return lt;
976
+ xi = 1;
1004
977
  function r() {
1005
978
  return !1;
1006
979
  }
1007
980
  return lt = r, lt;
1008
981
  }
1009
982
  me.exports;
1010
- var xi;
983
+ var Si;
1011
984
  function hu() {
1012
- return xi || (xi = 1, (function(r, e) {
985
+ return Si || (Si = 1, (function(r, e) {
1013
986
  var t = ie(), n = Fo(), a = e && !e.nodeType && e, i = a && !0 && r && !r.nodeType && r, s = i && i.exports === a, o = s ? t.Buffer : void 0, l = o ? o.isBuffer : void 0, h = l || n;
1014
987
  r.exports = h;
1015
988
  })(me, me.exports)), me.exports;
1016
989
  }
1017
- var dt, Si;
990
+ var dt, Oi;
1018
991
  function zn() {
1019
- if (Si) return dt;
1020
- Si = 1;
992
+ if (Oi) return dt;
993
+ Oi = 1;
1021
994
  var r = 9007199254740991, e = /^(?:0|[1-9]\d*)$/;
1022
995
  function t(n, a) {
1023
996
  var i = typeof n;
@@ -1029,18 +1002,18 @@ var ht, Ki;
1029
1002
  function Ro() {
1030
1003
  if (Ki) return ht;
1031
1004
  Ki = 1;
1032
- var r = Fe(), e = Un(), t = he(), n = "[object Arguments]", a = "[object Array]", i = "[object Boolean]", s = "[object Date]", o = "[object Error]", l = "[object Function]", h = "[object Map]", m = "[object Number]", _ = "[object Object]", S = "[object RegExp]", P = "[object Set]", L = "[object String]", K = "[object WeakMap]", b = "[object ArrayBuffer]", d = "[object DataView]", p = "[object Float32Array]", q = "[object Float64Array]", g = "[object Int8Array]", E = "[object Int16Array]", O = "[object Int32Array]", F = "[object Uint8Array]", N = "[object Uint8ClampedArray]", R = "[object Uint16Array]", x = "[object Uint32Array]", M = {};
1033
- M[p] = M[q] = M[g] = M[E] = M[O] = M[F] = M[N] = M[R] = M[x] = !0, M[n] = M[a] = M[b] = M[i] = M[d] = M[s] = M[o] = M[l] = M[h] = M[m] = M[_] = M[S] = M[P] = M[L] = M[K] = !1;
1034
- function H(A) {
1035
- return t(A) && e(A.length) && !!M[r(A)];
1005
+ var r = Fe(), e = Un(), t = he(), n = "[object Arguments]", a = "[object Array]", i = "[object Boolean]", s = "[object Date]", o = "[object Error]", l = "[object Function]", h = "[object Map]", m = "[object Number]", _ = "[object Object]", O = "[object RegExp]", E = "[object Set]", L = "[object String]", K = "[object WeakMap]", b = "[object ArrayBuffer]", d = "[object DataView]", p = "[object Float32Array]", q = "[object Float64Array]", g = "[object Int8Array]", P = "[object Int16Array]", x = "[object Int32Array]", F = "[object Uint8Array]", N = "[object Uint8ClampedArray]", R = "[object Uint16Array]", S = "[object Uint32Array]", M = {};
1006
+ M[p] = M[q] = M[g] = M[P] = M[x] = M[F] = M[N] = M[R] = M[S] = !0, M[n] = M[a] = M[b] = M[i] = M[d] = M[s] = M[o] = M[l] = M[h] = M[m] = M[_] = M[O] = M[E] = M[L] = M[K] = !1;
1007
+ function H(w) {
1008
+ return t(w) && e(w.length) && !!M[r(w)];
1036
1009
  }
1037
1010
  return ht = H, ht;
1038
1011
  }
1039
1012
  var qe = { exports: {} };
1040
1013
  qe.exports;
1041
- var Pi;
1042
- function wo() {
1043
- return Pi || (Pi = 1, (function(r, e) {
1014
+ var Ei;
1015
+ function Ao() {
1016
+ return Ei || (Ei = 1, (function(r, e) {
1044
1017
  var t = nu(), n = e && !e.nodeType && e, a = n && !0 && r && !r.nodeType && r, i = a && a.exports === n, s = i && t.process, o = (function() {
1045
1018
  try {
1046
1019
  var l = a && a.require && a.require("util").types;
@@ -1051,24 +1024,24 @@ function wo() {
1051
1024
  r.exports = o;
1052
1025
  })(qe, qe.exports)), qe.exports;
1053
1026
  }
1054
- var vt, Ei;
1027
+ var vt, Pi;
1055
1028
  function vu() {
1056
- if (Ei) return vt;
1057
- Ei = 1;
1058
- var r = Ro(), e = Hn(), t = wo(), n = t && t.isTypedArray, a = n ? e(n) : r;
1029
+ if (Pi) return vt;
1030
+ Pi = 1;
1031
+ var r = Ro(), e = Hn(), t = Ao(), n = t && t.isTypedArray, a = n ? e(n) : r;
1059
1032
  return vt = a, vt;
1060
1033
  }
1061
1034
  var pt, Mi;
1062
- function Ao() {
1035
+ function wo() {
1063
1036
  if (Mi) return pt;
1064
1037
  Mi = 1;
1065
1038
  var r = Co(), e = Gn(), t = re(), n = hu(), a = zn(), i = vu(), s = Object.prototype, o = s.hasOwnProperty;
1066
1039
  function l(h, m) {
1067
- var _ = t(h), S = !_ && e(h), P = !_ && !S && n(h), L = !_ && !S && !P && i(h), K = _ || S || P || L, b = K ? r(h.length, String) : [], d = b.length;
1040
+ var _ = t(h), O = !_ && e(h), E = !_ && !O && n(h), L = !_ && !O && !E && i(h), K = _ || O || E || L, b = K ? r(h.length, String) : [], d = b.length;
1068
1041
  for (var p in h)
1069
1042
  (m || o.call(h, p)) && !(K && // Safari 9 has enumerable `arguments.length` in strict mode.
1070
1043
  (p == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
1071
- P && (p == "offset" || p == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
1044
+ E && (p == "offset" || p == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
1072
1045
  L && (p == "buffer" || p == "byteLength" || p == "byteOffset") || // Skip index properties.
1073
1046
  a(p, d))) && b.push(p);
1074
1047
  return b;
@@ -1087,7 +1060,7 @@ function To() {
1087
1060
  return yt = e, yt;
1088
1061
  }
1089
1062
  var gt, Di;
1090
- function Oo() {
1063
+ function xo() {
1091
1064
  if (Di) return gt;
1092
1065
  Di = 1;
1093
1066
  function r(e, t) {
@@ -1098,17 +1071,17 @@ function Oo() {
1098
1071
  return gt = r, gt;
1099
1072
  }
1100
1073
  var _t, Li;
1101
- function xo() {
1074
+ function So() {
1102
1075
  if (Li) return _t;
1103
1076
  Li = 1;
1104
- var r = Oo(), e = r(Object.keys, Object);
1077
+ var r = xo(), e = r(Object.keys, Object);
1105
1078
  return _t = e, _t;
1106
1079
  }
1107
1080
  var bt, Ni;
1108
- function So() {
1081
+ function Oo() {
1109
1082
  if (Ni) return bt;
1110
1083
  Ni = 1;
1111
- var r = To(), e = xo(), t = Object.prototype, n = t.hasOwnProperty;
1084
+ var r = To(), e = So(), t = Object.prototype, n = t.hasOwnProperty;
1112
1085
  function a(i) {
1113
1086
  if (!r(i))
1114
1087
  return e(i);
@@ -1123,7 +1096,7 @@ var mt, Bi;
1123
1096
  function Wn() {
1124
1097
  if (Bi) return mt;
1125
1098
  Bi = 1;
1126
- var r = Ao(), e = So(), t = Ae();
1099
+ var r = wo(), e = Oo(), t = we();
1127
1100
  function n(a) {
1128
1101
  return t(a) ? r(a) : e(a);
1129
1102
  }
@@ -1143,7 +1116,7 @@ var Ct, ki;
1143
1116
  function Ko() {
1144
1117
  if (ki) return Ct;
1145
1118
  ki = 1;
1146
- var r = Ae();
1119
+ var r = we();
1147
1120
  function e(t, n) {
1148
1121
  return function(a, i) {
1149
1122
  if (a == null)
@@ -1165,7 +1138,7 @@ function Yn() {
1165
1138
  return Ft = t, Ft;
1166
1139
  }
1167
1140
  var Rt, Gi;
1168
- function Po() {
1141
+ function Eo() {
1169
1142
  if (Gi) return Rt;
1170
1143
  Gi = 1;
1171
1144
  var r = Yn();
@@ -1177,25 +1150,25 @@ function Po() {
1177
1150
  }
1178
1151
  return Rt = e, Rt;
1179
1152
  }
1180
- var wt, Ui;
1181
- function Eo() {
1182
- if (Ui) return wt;
1153
+ var At, Ui;
1154
+ function Po() {
1155
+ if (Ui) return At;
1183
1156
  Ui = 1;
1184
1157
  var r = Me();
1185
1158
  function e() {
1186
1159
  this.__data__ = new r(), this.size = 0;
1187
1160
  }
1188
- return wt = e, wt;
1161
+ return At = e, At;
1189
1162
  }
1190
- var At, zi;
1163
+ var wt, zi;
1191
1164
  function Mo() {
1192
- if (zi) return At;
1165
+ if (zi) return wt;
1193
1166
  zi = 1;
1194
1167
  function r(e) {
1195
1168
  var t = this.__data__, n = t.delete(e);
1196
1169
  return this.size = t.size, n;
1197
1170
  }
1198
- return At = r, At;
1171
+ return wt = r, wt;
1199
1172
  }
1200
1173
  var Tt, Wi;
1201
1174
  function Io() {
@@ -1206,18 +1179,18 @@ function Io() {
1206
1179
  }
1207
1180
  return Tt = r, Tt;
1208
1181
  }
1209
- var Ot, $i;
1182
+ var xt, $i;
1210
1183
  function Do() {
1211
- if ($i) return Ot;
1184
+ if ($i) return xt;
1212
1185
  $i = 1;
1213
1186
  function r(e) {
1214
1187
  return this.__data__.has(e);
1215
1188
  }
1216
- return Ot = r, Ot;
1189
+ return xt = r, xt;
1217
1190
  }
1218
- var xt, Yi;
1191
+ var St, Yi;
1219
1192
  function Lo() {
1220
- if (Yi) return xt;
1193
+ if (Yi) return St;
1221
1194
  Yi = 1;
1222
1195
  var r = Me(), e = Bn(), t = jn(), n = 200;
1223
1196
  function a(i, s) {
@@ -1230,18 +1203,18 @@ function Lo() {
1230
1203
  }
1231
1204
  return o.set(i, s), this.size = o.size, this;
1232
1205
  }
1233
- return xt = a, xt;
1206
+ return St = a, St;
1234
1207
  }
1235
- var St, Ji;
1208
+ var Ot, Ji;
1236
1209
  function pu() {
1237
- if (Ji) return St;
1210
+ if (Ji) return Ot;
1238
1211
  Ji = 1;
1239
- var r = Me(), e = Eo(), t = Mo(), n = Io(), a = Do(), i = Lo();
1212
+ var r = Me(), e = Po(), t = Mo(), n = Io(), a = Do(), i = Lo();
1240
1213
  function s(o) {
1241
1214
  var l = this.__data__ = new r(o);
1242
1215
  this.size = l.size;
1243
1216
  }
1244
- return s.prototype.clear = e, s.prototype.delete = t, s.prototype.get = n, s.prototype.has = a, s.prototype.set = i, St = s, St;
1217
+ return s.prototype.clear = e, s.prototype.delete = t, s.prototype.get = n, s.prototype.has = a, s.prototype.set = i, Ot = s, Ot;
1245
1218
  }
1246
1219
  var Kt, Xi;
1247
1220
  function No() {
@@ -1255,25 +1228,25 @@ function No() {
1255
1228
  }
1256
1229
  return Kt = r, Kt;
1257
1230
  }
1258
- var Pt, Zi;
1231
+ var Et, Zi;
1259
1232
  function yu() {
1260
- if (Zi) return Pt;
1233
+ if (Zi) return Et;
1261
1234
  Zi = 1;
1262
1235
  var r = uu(), e = No(), t = ou(), n = 1, a = 2;
1263
1236
  function i(s, o, l, h, m, _) {
1264
- var S = l & n, P = s.length, L = o.length;
1265
- if (P != L && !(S && L > P))
1237
+ var O = l & n, E = s.length, L = o.length;
1238
+ if (E != L && !(O && L > E))
1266
1239
  return !1;
1267
1240
  var K = _.get(s), b = _.get(o);
1268
1241
  if (K && b)
1269
1242
  return K == o && b == s;
1270
1243
  var d = -1, p = !0, q = l & a ? new r() : void 0;
1271
- for (_.set(s, o), _.set(o, s); ++d < P; ) {
1272
- var g = s[d], E = o[d];
1244
+ for (_.set(s, o), _.set(o, s); ++d < E; ) {
1245
+ var g = s[d], P = o[d];
1273
1246
  if (h)
1274
- var O = S ? h(E, g, d, o, s, _) : h(g, E, d, s, o, _);
1275
- if (O !== void 0) {
1276
- if (O)
1247
+ var x = O ? h(P, g, d, o, s, _) : h(g, P, d, s, o, _);
1248
+ if (x !== void 0) {
1249
+ if (x)
1277
1250
  continue;
1278
1251
  p = !1;
1279
1252
  break;
@@ -1286,21 +1259,21 @@ function yu() {
1286
1259
  p = !1;
1287
1260
  break;
1288
1261
  }
1289
- } else if (!(g === E || m(g, E, l, h, _))) {
1262
+ } else if (!(g === P || m(g, P, l, h, _))) {
1290
1263
  p = !1;
1291
1264
  break;
1292
1265
  }
1293
1266
  }
1294
1267
  return _.delete(s), _.delete(o), p;
1295
1268
  }
1296
- return Pt = i, Pt;
1269
+ return Et = i, Et;
1297
1270
  }
1298
- var Et, Qi;
1271
+ var Pt, Qi;
1299
1272
  function Bo() {
1300
- if (Qi) return Et;
1273
+ if (Qi) return Pt;
1301
1274
  Qi = 1;
1302
1275
  var r = ie(), e = r.Uint8Array;
1303
- return Et = e, Et;
1276
+ return Pt = e, Pt;
1304
1277
  }
1305
1278
  var Mt, Vi;
1306
1279
  function jo() {
@@ -1330,43 +1303,43 @@ var Dt, rs;
1330
1303
  function Ho() {
1331
1304
  if (rs) return Dt;
1332
1305
  rs = 1;
1333
- var r = Ce(), e = Bo(), t = Nn(), n = yu(), a = jo(), i = ko(), s = 1, o = 2, l = "[object Boolean]", h = "[object Date]", m = "[object Error]", _ = "[object Map]", S = "[object Number]", P = "[object RegExp]", L = "[object Set]", K = "[object String]", b = "[object Symbol]", d = "[object ArrayBuffer]", p = "[object DataView]", q = r ? r.prototype : void 0, g = q ? q.valueOf : void 0;
1334
- function E(O, F, N, R, x, M, H) {
1306
+ var r = Ce(), e = Bo(), t = Nn(), n = yu(), a = jo(), i = ko(), s = 1, o = 2, l = "[object Boolean]", h = "[object Date]", m = "[object Error]", _ = "[object Map]", O = "[object Number]", E = "[object RegExp]", L = "[object Set]", K = "[object String]", b = "[object Symbol]", d = "[object ArrayBuffer]", p = "[object DataView]", q = r ? r.prototype : void 0, g = q ? q.valueOf : void 0;
1307
+ function P(x, F, N, R, S, M, H) {
1335
1308
  switch (N) {
1336
1309
  case p:
1337
- if (O.byteLength != F.byteLength || O.byteOffset != F.byteOffset)
1310
+ if (x.byteLength != F.byteLength || x.byteOffset != F.byteOffset)
1338
1311
  return !1;
1339
- O = O.buffer, F = F.buffer;
1312
+ x = x.buffer, F = F.buffer;
1340
1313
  case d:
1341
- return !(O.byteLength != F.byteLength || !M(new e(O), new e(F)));
1314
+ return !(x.byteLength != F.byteLength || !M(new e(x), new e(F)));
1342
1315
  case l:
1343
1316
  case h:
1344
- case S:
1345
- return t(+O, +F);
1317
+ case O:
1318
+ return t(+x, +F);
1346
1319
  case m:
1347
- return O.name == F.name && O.message == F.message;
1348
- case P:
1320
+ return x.name == F.name && x.message == F.message;
1321
+ case E:
1349
1322
  case K:
1350
- return O == F + "";
1323
+ return x == F + "";
1351
1324
  case _:
1352
- var A = a;
1325
+ var w = a;
1353
1326
  case L:
1354
1327
  var U = R & s;
1355
- if (A || (A = i), O.size != F.size && !U)
1328
+ if (w || (w = i), x.size != F.size && !U)
1356
1329
  return !1;
1357
- var J = H.get(O);
1330
+ var J = H.get(x);
1358
1331
  if (J)
1359
1332
  return J == F;
1360
- R |= o, H.set(O, F);
1361
- var te = n(A(O), A(F), R, x, M, H);
1362
- return H.delete(O), te;
1333
+ R |= o, H.set(x, F);
1334
+ var te = n(w(x), w(F), R, S, M, H);
1335
+ return H.delete(x), te;
1363
1336
  case b:
1364
1337
  if (g)
1365
- return g.call(O) == g.call(F);
1338
+ return g.call(x) == g.call(F);
1366
1339
  }
1367
1340
  return !1;
1368
1341
  }
1369
- return Dt = E, Dt;
1342
+ return Dt = P, Dt;
1370
1343
  }
1371
1344
  var Lt, ts;
1372
1345
  function Go() {
@@ -1415,11 +1388,11 @@ function $o() {
1415
1388
  ss = 1;
1416
1389
  var r = Wo(), e = 1, t = Object.prototype, n = t.hasOwnProperty;
1417
1390
  function a(i, s, o, l, h, m) {
1418
- var _ = o & e, S = r(i), P = S.length, L = r(s), K = L.length;
1419
- if (P != K && !_)
1391
+ var _ = o & e, O = r(i), E = O.length, L = r(s), K = L.length;
1392
+ if (E != K && !_)
1420
1393
  return !1;
1421
- for (var b = P; b--; ) {
1422
- var d = S[b];
1394
+ for (var b = E; b--; ) {
1395
+ var d = O[b];
1423
1396
  if (!(_ ? d in s : n.call(s, d)))
1424
1397
  return !1;
1425
1398
  }
@@ -1428,20 +1401,20 @@ function $o() {
1428
1401
  return p == s && q == i;
1429
1402
  var g = !0;
1430
1403
  m.set(i, s), m.set(s, i);
1431
- for (var E = _; ++b < P; ) {
1432
- d = S[b];
1433
- var O = i[d], F = s[d];
1404
+ for (var P = _; ++b < E; ) {
1405
+ d = O[b];
1406
+ var x = i[d], F = s[d];
1434
1407
  if (l)
1435
- var N = _ ? l(F, O, d, s, i, m) : l(O, F, d, i, s, m);
1436
- if (!(N === void 0 ? O === F || h(O, F, o, l, m) : N)) {
1408
+ var N = _ ? l(F, x, d, s, i, m) : l(x, F, d, i, s, m);
1409
+ if (!(N === void 0 ? x === F || h(x, F, o, l, m) : N)) {
1437
1410
  g = !1;
1438
1411
  break;
1439
1412
  }
1440
- E || (E = d == "constructor");
1413
+ P || (P = d == "constructor");
1441
1414
  }
1442
- if (g && !E) {
1443
- var R = i.constructor, x = s.constructor;
1444
- R != x && "constructor" in i && "constructor" in s && !(typeof R == "function" && R instanceof R && typeof x == "function" && x instanceof x) && (g = !1);
1415
+ if (g && !P) {
1416
+ var R = i.constructor, S = s.constructor;
1417
+ R != S && "constructor" in i && "constructor" in s && !(typeof R == "function" && R instanceof R && typeof S == "function" && S instanceof S) && (g = !1);
1445
1418
  }
1446
1419
  return m.delete(i), m.delete(s), g;
1447
1420
  }
@@ -1479,13 +1452,13 @@ var Wt, ls;
1479
1452
  function Qo() {
1480
1453
  if (ls) return Wt;
1481
1454
  ls = 1;
1482
- var r = Yo(), e = Bn(), t = Jo(), n = Xo(), a = Zo(), i = Fe(), s = su(), o = "[object Map]", l = "[object Object]", h = "[object Promise]", m = "[object Set]", _ = "[object WeakMap]", S = "[object DataView]", P = s(r), L = s(e), K = s(t), b = s(n), d = s(a), p = i;
1483
- return (r && p(new r(new ArrayBuffer(1))) != S || e && p(new e()) != o || t && p(t.resolve()) != h || n && p(new n()) != m || a && p(new a()) != _) && (p = function(q) {
1484
- var g = i(q), E = g == l ? q.constructor : void 0, O = E ? s(E) : "";
1485
- if (O)
1486
- switch (O) {
1487
- case P:
1488
- return S;
1455
+ var r = Yo(), e = Bn(), t = Jo(), n = Xo(), a = Zo(), i = Fe(), s = su(), o = "[object Map]", l = "[object Object]", h = "[object Promise]", m = "[object Set]", _ = "[object WeakMap]", O = "[object DataView]", E = s(r), L = s(e), K = s(t), b = s(n), d = s(a), p = i;
1456
+ return (r && p(new r(new ArrayBuffer(1))) != O || e && p(new e()) != o || t && p(t.resolve()) != h || n && p(new n()) != m || a && p(new a()) != _) && (p = function(q) {
1457
+ var g = i(q), P = g == l ? q.constructor : void 0, x = P ? s(P) : "";
1458
+ if (x)
1459
+ switch (x) {
1460
+ case E:
1461
+ return O;
1489
1462
  case L:
1490
1463
  return o;
1491
1464
  case K:
@@ -1502,22 +1475,22 @@ var $t, ds;
1502
1475
  function Vo() {
1503
1476
  if (ds) return $t;
1504
1477
  ds = 1;
1505
- var r = pu(), e = yu(), t = Ho(), n = $o(), a = Qo(), i = re(), s = hu(), o = vu(), l = 1, h = "[object Arguments]", m = "[object Array]", _ = "[object Object]", S = Object.prototype, P = S.hasOwnProperty;
1478
+ var r = pu(), e = yu(), t = Ho(), n = $o(), a = Qo(), i = re(), s = hu(), o = vu(), l = 1, h = "[object Arguments]", m = "[object Array]", _ = "[object Object]", O = Object.prototype, E = O.hasOwnProperty;
1506
1479
  function L(K, b, d, p, q, g) {
1507
- var E = i(K), O = i(b), F = E ? m : a(K), N = O ? m : a(b);
1480
+ var P = i(K), x = i(b), F = P ? m : a(K), N = x ? m : a(b);
1508
1481
  F = F == h ? _ : F, N = N == h ? _ : N;
1509
- var R = F == _, x = N == _, M = F == N;
1482
+ var R = F == _, S = N == _, M = F == N;
1510
1483
  if (M && s(K)) {
1511
1484
  if (!s(b))
1512
1485
  return !1;
1513
- E = !0, R = !1;
1486
+ P = !0, R = !1;
1514
1487
  }
1515
1488
  if (M && !R)
1516
- return g || (g = new r()), E || o(K) ? e(K, b, d, p, q, g) : t(K, b, F, d, p, q, g);
1489
+ return g || (g = new r()), P || o(K) ? e(K, b, d, p, q, g) : t(K, b, F, d, p, q, g);
1517
1490
  if (!(d & l)) {
1518
- var H = R && P.call(K, "__wrapped__"), A = x && P.call(b, "__wrapped__");
1519
- if (H || A) {
1520
- var U = H ? K.value() : K, J = A ? b.value() : b;
1491
+ var H = R && E.call(K, "__wrapped__"), w = S && E.call(b, "__wrapped__");
1492
+ if (H || w) {
1493
+ var U = H ? K.value() : K, J = w ? b.value() : b;
1521
1494
  return g || (g = new r()), q(U, J, d, p, g);
1522
1495
  }
1523
1496
  }
@@ -1545,20 +1518,20 @@ function ec() {
1545
1518
  if (i == null)
1546
1519
  return !m;
1547
1520
  for (i = Object(i); h--; ) {
1548
- var S = o[h];
1549
- if (_ && S[2] ? S[1] !== i[S[0]] : !(S[0] in i))
1521
+ var O = o[h];
1522
+ if (_ && O[2] ? O[1] !== i[O[0]] : !(O[0] in i))
1550
1523
  return !1;
1551
1524
  }
1552
1525
  for (; ++h < m; ) {
1553
- S = o[h];
1554
- var P = S[0], L = i[P], K = S[1];
1555
- if (_ && S[2]) {
1556
- if (L === void 0 && !(P in i))
1526
+ O = o[h];
1527
+ var E = O[0], L = i[E], K = O[1];
1528
+ if (_ && O[2]) {
1529
+ if (L === void 0 && !(E in i))
1557
1530
  return !1;
1558
1531
  } else {
1559
1532
  var b = new r();
1560
1533
  if (l)
1561
- var d = l(L, K, P, i, s, b);
1534
+ var d = l(L, K, E, i, s, b);
1562
1535
  if (!(d === void 0 ? e(K, L, t | n, l, b) : d))
1563
1536
  return !1;
1564
1537
  }
@@ -1699,20 +1672,20 @@ function mu() {
1699
1672
  }
1700
1673
  return sn = e, sn;
1701
1674
  }
1702
- var un, ws;
1675
+ var un, As;
1703
1676
  function qu() {
1704
- if (ws) return un;
1705
- ws = 1;
1677
+ if (As) return un;
1678
+ As = 1;
1706
1679
  var r = re(), e = Jn(), t = ic(), n = mu();
1707
1680
  function a(i, s) {
1708
1681
  return r(i) ? i : e(i, s) ? [i] : t(n(i));
1709
1682
  }
1710
1683
  return un = a, un;
1711
1684
  }
1712
- var on, As;
1685
+ var on, ws;
1713
1686
  function De() {
1714
- if (As) return on;
1715
- As = 1;
1687
+ if (ws) return on;
1688
+ ws = 1;
1716
1689
  var r = Re();
1717
1690
  function e(t) {
1718
1691
  if (typeof t == "string" || r(t))
@@ -1735,10 +1708,10 @@ function Xn() {
1735
1708
  }
1736
1709
  return cn = t, cn;
1737
1710
  }
1738
- var fn, Os;
1711
+ var fn, xs;
1739
1712
  function uc() {
1740
- if (Os) return fn;
1741
- Os = 1;
1713
+ if (xs) return fn;
1714
+ xs = 1;
1742
1715
  var r = Xn();
1743
1716
  function e(t, n, a) {
1744
1717
  var i = t == null ? void 0 : r(t, n);
@@ -1746,29 +1719,29 @@ function uc() {
1746
1719
  }
1747
1720
  return fn = e, fn;
1748
1721
  }
1749
- var ln, xs;
1722
+ var ln, Ss;
1750
1723
  function oc() {
1751
- if (xs) return ln;
1752
- xs = 1;
1724
+ if (Ss) return ln;
1725
+ Ss = 1;
1753
1726
  function r(e, t) {
1754
1727
  return e != null && t in Object(e);
1755
1728
  }
1756
1729
  return ln = r, ln;
1757
1730
  }
1758
- var dn, Ss;
1731
+ var dn, Os;
1759
1732
  function cc() {
1760
- if (Ss) return dn;
1761
- Ss = 1;
1733
+ if (Os) return dn;
1734
+ Os = 1;
1762
1735
  var r = qu(), e = Gn(), t = re(), n = zn(), a = Un(), i = De();
1763
1736
  function s(o, l, h) {
1764
1737
  l = r(l, o);
1765
- for (var m = -1, _ = l.length, S = !1; ++m < _; ) {
1766
- var P = i(l[m]);
1767
- if (!(S = o != null && h(o, P)))
1738
+ for (var m = -1, _ = l.length, O = !1; ++m < _; ) {
1739
+ var E = i(l[m]);
1740
+ if (!(O = o != null && h(o, E)))
1768
1741
  break;
1769
- o = o[P];
1742
+ o = o[E];
1770
1743
  }
1771
- return S || ++m != _ ? S : (_ = o == null ? 0 : o.length, !!_ && a(_) && n(P, _) && (t(o) || e(o)));
1744
+ return O || ++m != _ ? O : (_ = o == null ? 0 : o.length, !!_ && a(_) && n(E, _) && (t(o) || e(o)));
1772
1745
  }
1773
1746
  return dn = s, dn;
1774
1747
  }
@@ -1782,23 +1755,23 @@ function fc() {
1782
1755
  }
1783
1756
  return hn = t, hn;
1784
1757
  }
1785
- var vn, Ps;
1758
+ var vn, Es;
1786
1759
  function lc() {
1787
- if (Ps) return vn;
1788
- Ps = 1;
1760
+ if (Es) return vn;
1761
+ Es = 1;
1789
1762
  var r = gu(), e = uc(), t = fc(), n = Jn(), a = _u(), i = bu(), s = De(), o = 1, l = 2;
1790
1763
  function h(m, _) {
1791
- return n(m) && a(_) ? i(s(m), _) : function(S) {
1792
- var P = e(S, m);
1793
- return P === void 0 && P === _ ? t(S, m) : r(_, P, o | l);
1764
+ return n(m) && a(_) ? i(s(m), _) : function(O) {
1765
+ var E = e(O, m);
1766
+ return E === void 0 && E === _ ? t(O, m) : r(_, E, o | l);
1794
1767
  };
1795
1768
  }
1796
1769
  return vn = h, vn;
1797
1770
  }
1798
- var pn, Es;
1771
+ var pn, Ps;
1799
1772
  function dc() {
1800
- if (Es) return pn;
1801
- Es = 1;
1773
+ if (Ps) return pn;
1774
+ Ps = 1;
1802
1775
  function r(e) {
1803
1776
  return function(t) {
1804
1777
  return t?.[e];
@@ -1832,7 +1805,7 @@ var _n, Ds;
1832
1805
  function Zn() {
1833
1806
  if (Ds) return _n;
1834
1807
  Ds = 1;
1835
- var r = tc(), e = lc(), t = we(), n = re(), a = vc();
1808
+ var r = tc(), e = lc(), t = Ae(), n = re(), a = vc();
1836
1809
  function i(s) {
1837
1810
  return typeof s == "function" ? s : s == null ? t : typeof s == "object" ? n(s) ? e(s[0], s[1]) : r(s) : a(s);
1838
1811
  }
@@ -1842,7 +1815,7 @@ var bn, Ls;
1842
1815
  function pc() {
1843
1816
  if (Ls) return bn;
1844
1817
  Ls = 1;
1845
- var r = du(), e = Po(), t = Zn(), n = re();
1818
+ var r = du(), e = Eo(), t = Zn(), n = re();
1846
1819
  function a(i, s) {
1847
1820
  var o = n(i) ? r : e;
1848
1821
  return o(i, t(s, 3));
@@ -1896,26 +1869,26 @@ function mc() {
1896
1869
  }
1897
1870
  return Rn = r, Rn;
1898
1871
  }
1899
- var wn, Gs;
1872
+ var An, Gs;
1900
1873
  function Cu() {
1901
- if (Gs) return wn;
1874
+ if (Gs) return An;
1902
1875
  Gs = 1;
1903
- var r = we();
1876
+ var r = Ae();
1904
1877
  function e(t) {
1905
1878
  return typeof t == "function" ? t : r;
1906
1879
  }
1907
- return wn = e, wn;
1880
+ return An = e, An;
1908
1881
  }
1909
- var An, Us;
1882
+ var wn, Us;
1910
1883
  function qc() {
1911
- if (Us) return An;
1884
+ if (Us) return wn;
1912
1885
  Us = 1;
1913
1886
  var r = mc(), e = Yn(), t = Cu(), n = re();
1914
1887
  function a(i, s) {
1915
1888
  var o = n(i) ? r : e;
1916
1889
  return o(i, t(s));
1917
1890
  }
1918
- return An = a, An;
1891
+ return wn = a, wn;
1919
1892
  }
1920
1893
  var Tn, zs;
1921
1894
  function Cc() {
@@ -1927,30 +1900,30 @@ function Cc() {
1927
1900
  }
1928
1901
  return Tn = t, Tn;
1929
1902
  }
1930
- var On, Ws;
1903
+ var xn, Ws;
1931
1904
  function Fc() {
1932
- if (Ws) return On;
1905
+ if (Ws) return xn;
1933
1906
  Ws = 1;
1934
1907
  function r() {
1935
1908
  }
1936
- return On = r, On;
1909
+ return xn = r, xn;
1937
1910
  }
1938
- var xn, $s;
1911
+ var Sn, $s;
1939
1912
  function Rc() {
1940
- if ($s) return xn;
1913
+ if ($s) return Sn;
1941
1914
  $s = 1;
1942
- var r = Yn(), e = Ae();
1915
+ var r = Yn(), e = we();
1943
1916
  function t(n, a) {
1944
1917
  var i = -1, s = e(n) ? Array(n.length) : [];
1945
1918
  return r(n, function(o, l, h) {
1946
1919
  s[++i] = a(o, l, h);
1947
1920
  }), s;
1948
1921
  }
1949
- return xn = t, xn;
1922
+ return Sn = t, Sn;
1950
1923
  }
1951
- var Sn, Ys;
1952
- function wc() {
1953
- if (Ys) return Sn;
1924
+ var On, Ys;
1925
+ function Ac() {
1926
+ if (Ys) return On;
1954
1927
  Ys = 1;
1955
1928
  function r(e, t) {
1956
1929
  var n = e.length;
@@ -1958,10 +1931,10 @@ function wc() {
1958
1931
  e[n] = e[n].value;
1959
1932
  return e;
1960
1933
  }
1961
- return Sn = r, Sn;
1934
+ return On = r, On;
1962
1935
  }
1963
1936
  var Kn, Js;
1964
- function Ac() {
1937
+ function wc() {
1965
1938
  if (Js) return Kn;
1966
1939
  Js = 1;
1967
1940
  var r = Re();
@@ -1977,11 +1950,11 @@ function Ac() {
1977
1950
  }
1978
1951
  return Kn = e, Kn;
1979
1952
  }
1980
- var Pn, Xs;
1953
+ var En, Xs;
1981
1954
  function Tc() {
1982
- if (Xs) return Pn;
1955
+ if (Xs) return En;
1983
1956
  Xs = 1;
1984
- var r = Ac();
1957
+ var r = wc();
1985
1958
  function e(t, n, a) {
1986
1959
  for (var i = -1, s = t.criteria, o = n.criteria, l = s.length, h = a.length; ++i < l; ) {
1987
1960
  var m = r(s[i], o[i]);
@@ -1994,38 +1967,38 @@ function Tc() {
1994
1967
  }
1995
1968
  return t.index - n.index;
1996
1969
  }
1997
- return Pn = e, Pn;
1970
+ return En = e, En;
1998
1971
  }
1999
- var En, Zs;
2000
- function Oc() {
2001
- if (Zs) return En;
1972
+ var Pn, Zs;
1973
+ function xc() {
1974
+ if (Zs) return Pn;
2002
1975
  Zs = 1;
2003
- var r = kn(), e = Xn(), t = Zn(), n = Rc(), a = wc(), i = Hn(), s = Tc(), o = we(), l = re();
2004
- function h(m, _, S) {
1976
+ var r = kn(), e = Xn(), t = Zn(), n = Rc(), a = Ac(), i = Hn(), s = Tc(), o = Ae(), l = re();
1977
+ function h(m, _, O) {
2005
1978
  _.length ? _ = r(_, function(K) {
2006
1979
  return l(K) ? function(b) {
2007
1980
  return e(b, K.length === 1 ? K[0] : K);
2008
1981
  } : K;
2009
1982
  }) : _ = [o];
2010
- var P = -1;
1983
+ var E = -1;
2011
1984
  _ = r(_, i(t));
2012
1985
  var L = n(m, function(K, b, d) {
2013
1986
  var p = r(_, function(q) {
2014
1987
  return q(K);
2015
1988
  });
2016
- return { criteria: p, index: ++P, value: K };
1989
+ return { criteria: p, index: ++E, value: K };
2017
1990
  });
2018
1991
  return a(L, function(K, b) {
2019
- return s(K, b, S);
1992
+ return s(K, b, O);
2020
1993
  });
2021
1994
  }
2022
- return En = h, En;
1995
+ return Pn = h, Pn;
2023
1996
  }
2024
1997
  var Mn, Qs;
2025
- function xc() {
1998
+ function Sc() {
2026
1999
  if (Qs) return Mn;
2027
2000
  Qs = 1;
2028
- var r = Nn(), e = Ae(), t = zn(), n = le();
2001
+ var r = Nn(), e = we(), t = zn(), n = le();
2029
2002
  function a(i, s, o) {
2030
2003
  if (!n(o))
2031
2004
  return !1;
@@ -2035,10 +2008,10 @@ function xc() {
2035
2008
  return Mn = a, Mn;
2036
2009
  }
2037
2010
  var In, Vs;
2038
- function Sc() {
2011
+ function Oc() {
2039
2012
  if (Vs) return In;
2040
2013
  Vs = 1;
2041
- var r = fu(), e = Oc(), t = lu(), n = xc(), a = t(function(i, s) {
2014
+ var r = fu(), e = xc(), t = lu(), n = Sc(), a = t(function(i, s) {
2042
2015
  if (i == null)
2043
2016
  return [];
2044
2017
  var o = s.length;
@@ -2064,7 +2037,7 @@ function Kc() {
2064
2037
  return Dn = n, Dn;
2065
2038
  }
2066
2039
  var Ln, ru;
2067
- function Pc() {
2040
+ function Ec() {
2068
2041
  if (ru) return Ln;
2069
2042
  ru = 1;
2070
2043
  var r = mu(), e = 0;
@@ -2074,12 +2047,12 @@ function Pc() {
2074
2047
  }
2075
2048
  return Ln = t, Ln;
2076
2049
  }
2077
- var Ec = Ke.exports, tu;
2050
+ var Pc = Ke.exports, tu;
2078
2051
  function Mc() {
2079
2052
  return tu || (tu = 1, (function(r, e) {
2080
2053
  (function(t, n) {
2081
- r.exports = n(au(), bo(), pc(), gc(), bc(), qc(), Cc(), Fc(), Sc(), Kc(), Pc(), wu);
2082
- })(Ec, (function(t, n, a, i, s, o, l, h, m, _, S, P) {
2054
+ r.exports = n(au(), bo(), pc(), gc(), bc(), qc(), Cc(), Fc(), Oc(), Kc(), Ec(), Au);
2055
+ })(Pc, (function(t, n, a, i, s, o, l, h, m, _, O, E) {
2083
2056
  return (function() {
2084
2057
  var L = { 654: function(b, d, p) {
2085
2058
  var q, g = this && this.__assign || function() {
@@ -2087,7 +2060,7 @@ function Mc() {
2087
2060
  for (var u, c = 1, f = arguments.length; c < f; c++) for (var v in u = arguments[c]) Object.prototype.hasOwnProperty.call(u, v) && (y[v] = u[v]);
2088
2061
  return y;
2089
2062
  }, g.apply(this, arguments);
2090
- }, E = this && this.__createBinding || (Object.create ? function(y, u, c, f) {
2063
+ }, P = this && this.__createBinding || (Object.create ? function(y, u, c, f) {
2091
2064
  f === void 0 && (f = c);
2092
2065
  var v = Object.getOwnPropertyDescriptor(u, c);
2093
2066
  v && !("get" in v ? !u.__esModule : v.writable || v.configurable) || (v = { enumerable: !0, get: function() {
@@ -2095,15 +2068,15 @@ function Mc() {
2095
2068
  } }), Object.defineProperty(y, f, v);
2096
2069
  } : function(y, u, c, f) {
2097
2070
  f === void 0 && (f = c), y[f] = u[c];
2098
- }), O = this && this.__setModuleDefault || (Object.create ? function(y, u) {
2071
+ }), x = this && this.__setModuleDefault || (Object.create ? function(y, u) {
2099
2072
  Object.defineProperty(y, "default", { enumerable: !0, value: u });
2100
2073
  } : function(y, u) {
2101
2074
  y.default = u;
2102
2075
  }), F = this && this.__importStar || function(y) {
2103
2076
  if (y && y.__esModule) return y;
2104
2077
  var u = {};
2105
- if (y != null) for (var c in y) c !== "default" && Object.prototype.hasOwnProperty.call(y, c) && E(u, y, c);
2106
- return O(u, y), u;
2078
+ if (y != null) for (var c in y) c !== "default" && Object.prototype.hasOwnProperty.call(y, c) && P(u, y, c);
2079
+ return x(u, y), u;
2107
2080
  }, N = this && this.__spreadArray || function(y, u, c) {
2108
2081
  if (c || arguments.length === 2) for (var f, v = 0, C = u.length; v < C; v++) !f && v in u || (f || (f = Array.prototype.slice.call(u, 0, v)), f[v] = u[v]);
2109
2082
  return y.concat(f || Array.prototype.slice.call(u));
@@ -2111,15 +2084,15 @@ function Mc() {
2111
2084
  return y && y.__esModule ? y : { default: y };
2112
2085
  };
2113
2086
  Object.defineProperty(d, "__esModule", { value: !0 }), d.updateRtl = d.doesFocusableExist = d.getCurrentFocusKey = d.updateAllLayouts = d.resume = d.pause = d.navigateByDirection = d.setFocus = d.setKeyMap = d.destroy = d.setThrottle = d.init = d.SpatialNavigation = d.ROOT_FOCUS_KEY = void 0;
2114
- var x = R(p(150)), M = R(p(117)), H = R(p(747)), A = R(p(23)), U = R(p(842)), J = R(p(682)), te = R(p(784)), ve = R(p(432)), Le = R(p(67)), Te = R(p(35)), Q = R(p(119)), pe = F(p(964)), ue = "left", oe = "right", ce = "up", ne = "down", ye = "enter", ge = ((q = {}).left = [37, "ArrowLeft"], q.up = [38, "ArrowUp"], q.right = [39, "ArrowRight"], q.down = [40, "ArrowDown"], q.enter = [13, "Enter"], q);
2087
+ var S = R(p(150)), M = R(p(117)), H = R(p(747)), w = R(p(23)), U = R(p(842)), J = R(p(682)), te = R(p(784)), ve = R(p(432)), Le = R(p(67)), Te = R(p(35)), Q = R(p(119)), pe = F(p(964)), ue = "left", oe = "right", ce = "up", ne = "down", ye = "enter", ge = ((q = {}).left = [37, "ArrowLeft"], q.up = [38, "ArrowUp"], q.right = [39, "ArrowRight"], q.down = [40, "ArrowDown"], q.enter = [13, "Enter"], q);
2115
2088
  d.ROOT_FOCUS_KEY = "SN:ROOT";
2116
- var _e = ["#0FF", "#FF0", "#F0F"], Oe = { leading: !0, trailing: !1 }, xe = (function() {
2089
+ var _e = ["#0FF", "#FF0", "#F0F"], xe = { leading: !0, trailing: !1 }, Se = (function() {
2117
2090
  function y() {
2118
- this.focusableComponents = {}, this.focusKey = null, this.parentsHavingFocusedChild = [], this.domNodeFocusOptions = {}, this.enabled = !1, this.nativeMode = !1, this.throttle = 0, this.throttleKeypresses = !1, this.useGetBoundingClientRect = !1, this.shouldFocusDOMNode = !1, this.shouldUseNativeEvents = !1, this.writingDirection = Q.default.LTR, this.pressedKeys = {}, this.paused = !1, this.keyDownEventListener = null, this.keyUpEventListener = null, this.keyMap = ge, this.pause = this.pause.bind(this), this.resume = this.resume.bind(this), this.setFocus = this.setFocus.bind(this), this.updateAllLayouts = this.updateAllLayouts.bind(this), this.navigateByDirection = this.navigateByDirection.bind(this), this.init = this.init.bind(this), this.setThrottle = this.setThrottle.bind(this), this.destroy = this.destroy.bind(this), this.setKeyMap = this.setKeyMap.bind(this), this.getCurrentFocusKey = this.getCurrentFocusKey.bind(this), this.doesFocusableExist = this.doesFocusableExist.bind(this), this.updateRtl = this.updateRtl.bind(this), this.setFocusDebounced = (0, x.default)(this.setFocus, 300, { leading: !1, trailing: !0 }), this.debug = !1, this.visualDebugger = null, this.logIndex = 0, this.distanceCalculationMethod = "corners";
2091
+ this.focusableComponents = {}, this.focusKey = null, this.parentsHavingFocusedChild = [], this.domNodeFocusOptions = {}, this.enabled = !1, this.nativeMode = !1, this.throttle = 0, this.throttleKeypresses = !1, this.useGetBoundingClientRect = !1, this.shouldFocusDOMNode = !1, this.shouldUseNativeEvents = !1, this.writingDirection = Q.default.LTR, this.pressedKeys = {}, this.paused = !1, this.keyDownEventListener = null, this.keyUpEventListener = null, this.keyMap = ge, this.pause = this.pause.bind(this), this.resume = this.resume.bind(this), this.setFocus = this.setFocus.bind(this), this.updateAllLayouts = this.updateAllLayouts.bind(this), this.navigateByDirection = this.navigateByDirection.bind(this), this.init = this.init.bind(this), this.setThrottle = this.setThrottle.bind(this), this.destroy = this.destroy.bind(this), this.setKeyMap = this.setKeyMap.bind(this), this.getCurrentFocusKey = this.getCurrentFocusKey.bind(this), this.doesFocusableExist = this.doesFocusableExist.bind(this), this.updateRtl = this.updateRtl.bind(this), this.setFocusDebounced = (0, S.default)(this.setFocus, 300, { leading: !1, trailing: !0 }), this.debug = !1, this.visualDebugger = null, this.logIndex = 0, this.distanceCalculationMethod = "corners";
2119
2092
  }
2120
2093
  return y.getCutoffCoordinate = function(u, c, f, v, C) {
2121
- var w = u ? v.top : C === Q.default.LTR ? v.left : v.right, T = u ? v.bottom : C === Q.default.LTR ? v.right : v.left;
2122
- return c ? f ? w : T : f ? T : w;
2094
+ var A = u ? v.top : C === Q.default.LTR ? v.left : v.right, T = u ? v.bottom : C === Q.default.LTR ? v.right : v.left;
2095
+ return c ? f ? A : T : f ? T : A;
2123
2096
  }, y.getRefCorners = function(u, c, f) {
2124
2097
  var v = { a: { x: 0, y: 0 }, b: { x: 0, y: 0 } };
2125
2098
  switch (u) {
@@ -2131,22 +2104,22 @@ function Mc() {
2131
2104
  C = c ? f.top : f.bottom, v.a = { x: f.left, y: C }, v.b = { x: f.right, y: C };
2132
2105
  break;
2133
2106
  case ue:
2134
- var w = c ? f.right : f.left;
2135
- v.a = { x: w, y: f.top }, v.b = { x: w, y: f.bottom };
2107
+ var A = c ? f.right : f.left;
2108
+ v.a = { x: A, y: f.top }, v.b = { x: A, y: f.bottom };
2136
2109
  break;
2137
2110
  case oe:
2138
- w = c ? f.left : f.right, v.a = { x: w, y: f.top }, v.b = { x: w, y: f.bottom };
2111
+ A = c ? f.left : f.right, v.a = { x: A, y: f.top }, v.b = { x: A, y: f.bottom };
2139
2112
  }
2140
2113
  return v;
2141
2114
  }, y.isAdjacentSlice = function(u, c, f) {
2142
- var v = u.a, C = u.b, w = c.a, T = c.b, I = f ? "x" : "y", G = v[I], k = C[I], j = w[I], B = T[I], D = 0.2 * (k - G);
2115
+ var v = u.a, C = u.b, A = c.a, T = c.b, I = f ? "x" : "y", G = v[I], k = C[I], j = A[I], B = T[I], D = 0.2 * (k - G);
2143
2116
  return Math.max(0, Math.min(k, B) - Math.max(G, j)) >= D;
2144
2117
  }, y.getPrimaryAxisDistance = function(u, c, f) {
2145
- var v = u.a, C = c.a, w = f ? "y" : "x";
2146
- return Math.abs(C[w] - v[w]);
2118
+ var v = u.a, C = c.a, A = f ? "y" : "x";
2119
+ return Math.abs(C[A] - v[A]);
2147
2120
  }, y.getSecondaryAxisDistance = function(u, c, f, v, C) {
2148
2121
  if (C) return C(u, c, f, v);
2149
- var w = u.a, T = u.b, I = c.a, G = c.b, k = f ? "x" : "y", j = w[k], B = T[k], D = I[k], Y = G[k];
2122
+ var A = u.a, T = u.b, I = c.a, G = c.b, k = f ? "x" : "y", j = A[k], B = T[k], D = I[k], Y = G[k];
2150
2123
  if (v === "center") {
2151
2124
  var W = (j + B) / 2, X = (D + Y) / 2;
2152
2125
  return Math.abs(W - X);
@@ -2158,13 +2131,13 @@ function Mc() {
2158
2131
  var be = [Math.abs(D - j), Math.abs(D - B), Math.abs(Y - j), Math.abs(Y - B)];
2159
2132
  return Math.min.apply(Math, be);
2160
2133
  }, y.prototype.sortSiblingsByPriority = function(u, c, f, v) {
2161
- var C = this, w = f === ne || f === ce, T = y.getRefCorners(f, !1, c);
2134
+ var C = this, A = f === ne || f === ce, T = y.getRefCorners(f, !1, c);
2162
2135
  return (0, ve.default)(u, (function(I) {
2163
- var G = y.getRefCorners(f, !0, I.layout), k = y.isAdjacentSlice(T, G, w), j = k ? y.getPrimaryAxisDistance : y.getSecondaryAxisDistance, B = k ? y.getSecondaryAxisDistance : y.getPrimaryAxisDistance, D = j(T, G, w, C.distanceCalculationMethod, C.customDistanceCalculationFunction), Y = B(T, G, w, C.distanceCalculationMethod, C.customDistanceCalculationFunction), W = 5 * D + Y, X = (W + 1) / (k ? 5 : 1);
2136
+ var G = y.getRefCorners(f, !0, I.layout), k = y.isAdjacentSlice(T, G, A), j = k ? y.getPrimaryAxisDistance : y.getSecondaryAxisDistance, B = k ? y.getSecondaryAxisDistance : y.getPrimaryAxisDistance, D = j(T, G, A, C.distanceCalculationMethod, C.customDistanceCalculationFunction), Y = B(T, G, A, C.distanceCalculationMethod, C.customDistanceCalculationFunction), W = 5 * D + Y, X = (W + 1) / (k ? 5 : 1);
2164
2137
  return C.log("smartNavigate", "distance (primary, secondary, total weighted) for ".concat(I.focusKey, " relative to ").concat(v, " is"), D, Y, W), C.log("smartNavigate", "priority for ".concat(I.focusKey, " relative to ").concat(v, " is"), X), C.visualDebugger && (C.visualDebugger.drawPoint(G.a.x, G.a.y, "yellow", 6), C.visualDebugger.drawPoint(G.b.x, G.b.y, "yellow", 6)), X;
2165
2138
  }));
2166
2139
  }, y.prototype.init = function(u) {
2167
- var c = this, f = u === void 0 ? {} : u, v = f.debug, C = v !== void 0 && v, w = f.visualDebug, T = w !== void 0 && w, I = f.nativeMode, G = I !== void 0 && I, k = f.throttle, j = k === void 0 ? 0 : k, B = f.throttleKeypresses, D = B !== void 0 && B, Y = f.useGetBoundingClientRect, W = Y !== void 0 && Y, X = f.shouldFocusDOMNode, se = X !== void 0 && X, z = f.domNodeFocusOptions, V = z === void 0 ? {} : z, fe = f.shouldUseNativeEvents, ae = fe !== void 0 && fe, ee = f.rtl, be = ee !== void 0 && ee, $ = f.distanceCalculationMethod, Z = $ === void 0 ? "corners" : $, Qn = f.customDistanceCalculationFunction, Fu = Qn === void 0 ? void 0 : Qn;
2140
+ var c = this, f = u === void 0 ? {} : u, v = f.debug, C = v !== void 0 && v, A = f.visualDebug, T = A !== void 0 && A, I = f.nativeMode, G = I !== void 0 && I, k = f.throttle, j = k === void 0 ? 0 : k, B = f.throttleKeypresses, D = B !== void 0 && B, Y = f.useGetBoundingClientRect, W = Y !== void 0 && Y, X = f.shouldFocusDOMNode, se = X !== void 0 && X, z = f.domNodeFocusOptions, V = z === void 0 ? {} : z, fe = f.shouldUseNativeEvents, ae = fe !== void 0 && fe, ee = f.rtl, be = ee !== void 0 && ee, $ = f.distanceCalculationMethod, Z = $ === void 0 ? "corners" : $, Qn = f.customDistanceCalculationFunction, Fu = Qn === void 0 ? void 0 : Qn;
2168
2141
  if (!this.enabled && (this.domNodeFocusOptions = V, this.enabled = !0, this.nativeMode = G, this.throttleKeypresses = D, this.useGetBoundingClientRect = W, this.shouldFocusDOMNode = se && !G, this.shouldUseNativeEvents = ae, this.writingDirection = be ? Q.default.RTL : Q.default.LTR, this.distanceCalculationMethod = Z, this.customDistanceCalculationFunction = Fu, this.debug = C, !this.nativeMode && (Number.isInteger(j) && j > 0 && (this.throttle = j), this.bindEventHandlers(), T))) {
2169
2142
  this.visualDebugger = new Te.default(this.writingDirection);
2170
2143
  var Vn = function() {
@@ -2177,12 +2150,12 @@ function Mc() {
2177
2150
  Vn();
2178
2151
  }
2179
2152
  }, y.prototype.setThrottle = function(u) {
2180
- var c = u === void 0 ? {} : u, f = c.throttle, v = f === void 0 ? 0 : f, C = c.throttleKeypresses, w = C !== void 0 && C;
2181
- this.throttleKeypresses = w, this.nativeMode || (this.unbindEventHandlers(), Number.isInteger(v) && (this.throttle = v), this.bindEventHandlers());
2153
+ var c = u === void 0 ? {} : u, f = c.throttle, v = f === void 0 ? 0 : f, C = c.throttleKeypresses, A = C !== void 0 && C;
2154
+ this.throttleKeypresses = A, this.nativeMode || (this.unbindEventHandlers(), Number.isInteger(v) && (this.throttle = v), this.bindEventHandlers());
2182
2155
  }, y.prototype.destroy = function() {
2183
2156
  this.enabled && (this.enabled = !1, this.nativeMode = !1, this.throttle = 0, this.throttleKeypresses = !1, this.focusKey = null, this.parentsHavingFocusedChild = [], this.focusableComponents = {}, this.paused = !1, this.keyMap = ge, this.unbindEventHandlers());
2184
2157
  }, y.prototype.getEventType = function(u) {
2185
- return (0, A.default)(this.getKeyMap(), (function(c) {
2158
+ return (0, w.default)(this.getKeyMap(), (function(c) {
2186
2159
  return c.includes(u);
2187
2160
  }));
2188
2161
  }, y.getKeyCode = function(u) {
@@ -2198,10 +2171,10 @@ function Mc() {
2198
2171
  var C = { pressedKeys: u.pressedKeys };
2199
2172
  if (v === ye && u.focusKey) u.onEnterPress(C);
2200
2173
  else {
2201
- var w = u.onArrowPress(v, C) === !1;
2202
- if (u.visualDebugger && u.visualDebugger.clear(), w) u.log("keyDownEventListener", "default navigation prevented");
2174
+ var A = u.onArrowPress(v, C) === !1;
2175
+ if (u.visualDebugger && u.visualDebugger.clear(), A) u.log("keyDownEventListener", "default navigation prevented");
2203
2176
  else {
2204
- var T = (0, A.default)(u.getKeyMap(), (function(I) {
2177
+ var T = (0, w.default)(u.getKeyMap(), (function(I) {
2205
2178
  return I.includes(f);
2206
2179
  }));
2207
2180
  u.smartNavigate(T, null, { event: c });
@@ -2209,7 +2182,7 @@ function Mc() {
2209
2182
  }
2210
2183
  }
2211
2184
  }
2212
- }, this.throttle && (this.keyDownEventListenerThrottled = (0, Le.default)(this.keyDownEventListener.bind(this), this.throttle, Oe)), this.keyUpEventListener = function(c) {
2185
+ }, this.throttle && (this.keyDownEventListenerThrottled = (0, Le.default)(this.keyDownEventListener.bind(this), this.throttle, xe)), this.keyUpEventListener = function(c) {
2213
2186
  var f = y.getKeyCode(c), v = u.getEventType(f);
2214
2187
  delete u.pressedKeys[v], u.throttle && !u.throttleKeypresses && u.keyDownEventListenerThrottled.cancel(), v === ye && u.focusKey && u.onEnterRelease(), !u.focusKey || v !== ue && v !== oe && v !== ce && v !== ne || u.onArrowRelease(v);
2215
2188
  }, window.addEventListener("keyup", this.keyUpEventListener), window.addEventListener("keydown", this.throttle ? this.keyDownEventListenerThrottled : this.keyDownEventListener));
@@ -2240,7 +2213,7 @@ function Mc() {
2240
2213
  }, y.prototype.smartNavigate = function(u, c, f) {
2241
2214
  var v = this;
2242
2215
  if (!this.nativeMode) {
2243
- var C = u === ne || u === ce, w = u === ne || (this.writingDirection === Q.default.LTR ? u === oe : u === ue);
2216
+ var C = u === ne || u === ce, A = u === ne || (this.writingDirection === Q.default.LTR ? u === oe : u === ue);
2244
2217
  this.log("smartNavigate", "direction", u), this.log("smartNavigate", "fromParentFocusKey", c), this.log("smartNavigate", "this.focusKey", this.focusKey), c || (0, te.default)(this.focusableComponents, (function(z) {
2245
2218
  z.layoutUpdated = !1;
2246
2219
  }));
@@ -2248,11 +2221,11 @@ function Mc() {
2248
2221
  if (c || T) {
2249
2222
  if (this.log("smartNavigate", "currentComponent", T ? T.focusKey : void 0, T ? T.node : void 0, T), T) {
2250
2223
  this.updateLayout(T.focusKey);
2251
- var I = T.parentFocusKey, G = T.focusKey, k = T.layout, j = y.getCutoffCoordinate(C, w, !1, k, this.writingDirection), B = (0, H.default)(this.focusableComponents, (function(z) {
2224
+ var I = T.parentFocusKey, G = T.focusKey, k = T.layout, j = y.getCutoffCoordinate(C, A, !1, k, this.writingDirection), B = (0, H.default)(this.focusableComponents, (function(z) {
2252
2225
  if (z.parentFocusKey === I && z.focusable) {
2253
2226
  v.updateLayout(z.focusKey);
2254
- var V = y.getCutoffCoordinate(C, w, !0, z.layout, v.writingDirection);
2255
- return C || v.writingDirection === Q.default.LTR ? w ? V >= j : V <= j : w ? V <= j : V >= j;
2227
+ var V = y.getCutoffCoordinate(C, A, !0, z.layout, v.writingDirection);
2228
+ return C || v.writingDirection === Q.default.LTR ? A ? V >= j : V <= j : A ? V <= j : V >= j;
2256
2229
  }
2257
2230
  return !1;
2258
2231
  }));
@@ -2294,9 +2267,9 @@ function Mc() {
2294
2267
  return I.parentFocusKey === u && I.focusable;
2295
2268
  }));
2296
2269
  if (v.length > 0) {
2297
- var C = f.lastFocusedChildKey, w = f.preferredChildFocusKey;
2298
- if (this.log("getNextFocusKey", "lastFocusedChildKey is", C), this.log("getNextFocusKey", "preferredChildFocusKey is", w), C && f.saveLastFocusedChild && this.isParticipatingFocusableComponent(C)) return this.log("getNextFocusKey", "lastFocusedChildKey will be focused", C), this.getNextFocusKey(C);
2299
- if (w && this.isParticipatingFocusableComponent(w)) return this.log("getNextFocusKey", "preferredChildFocusKey will be focused", w), this.getNextFocusKey(w);
2270
+ var C = f.lastFocusedChildKey, A = f.preferredChildFocusKey;
2271
+ if (this.log("getNextFocusKey", "lastFocusedChildKey is", C), this.log("getNextFocusKey", "preferredChildFocusKey is", A), C && f.saveLastFocusedChild && this.isParticipatingFocusableComponent(C)) return this.log("getNextFocusKey", "lastFocusedChildKey will be focused", C), this.getNextFocusKey(C);
2272
+ if (A && this.isParticipatingFocusableComponent(A)) return this.log("getNextFocusKey", "preferredChildFocusKey will be focused", A), this.getNextFocusKey(A);
2300
2273
  v.forEach((function(I) {
2301
2274
  return c.updateLayout(I.focusKey);
2302
2275
  }));
@@ -2314,8 +2287,8 @@ function Mc() {
2314
2287
  }
2315
2288
  return this.log("getNextFocusKey", "targetFocusKey", u), u;
2316
2289
  }, y.prototype.addFocusable = function(u) {
2317
- var c = u.focusKey, f = u.node, v = u.parentFocusKey, C = u.onEnterPress, w = u.onEnterRelease, T = u.onArrowPress, I = u.onArrowRelease, G = u.onFocus, k = u.onBlur, j = u.saveLastFocusedChild, B = u.trackChildren, D = u.onUpdateFocus, Y = u.onUpdateHasFocusedChild, W = u.preferredChildFocusKey, X = u.autoRestoreFocus, se = u.forceFocus, z = u.focusable, V = u.isFocusBoundary, fe = u.focusBoundaryDirections;
2318
- if (this.focusableComponents[c] = { focusKey: c, node: f, parentFocusKey: v, onEnterPress: C, onEnterRelease: w, onArrowPress: T, onArrowRelease: I, onFocus: G, onBlur: k, onUpdateFocus: D, onUpdateHasFocusedChild: Y, saveLastFocusedChild: j, trackChildren: B, preferredChildFocusKey: W, focusable: z, isFocusBoundary: V, focusBoundaryDirections: fe, autoRestoreFocus: X, forceFocus: se, lastFocusedChildKey: null, layout: { x: 0, y: 0, width: 0, height: 0, left: 0, top: 0, right: 0, bottom: 0, node: f }, layoutUpdated: !1 }, f || console.warn('Component added without a node reference. This will result in its coordinates being empty and may cause lost focus. Check the "ref" passed to "useFocusable": ', this.focusableComponents[c]), !this.nativeMode) {
2290
+ var c = u.focusKey, f = u.node, v = u.parentFocusKey, C = u.onEnterPress, A = u.onEnterRelease, T = u.onArrowPress, I = u.onArrowRelease, G = u.onFocus, k = u.onBlur, j = u.saveLastFocusedChild, B = u.trackChildren, D = u.onUpdateFocus, Y = u.onUpdateHasFocusedChild, W = u.preferredChildFocusKey, X = u.autoRestoreFocus, se = u.forceFocus, z = u.focusable, V = u.isFocusBoundary, fe = u.focusBoundaryDirections;
2291
+ if (this.focusableComponents[c] = { focusKey: c, node: f, parentFocusKey: v, onEnterPress: C, onEnterRelease: A, onArrowPress: T, onArrowRelease: I, onFocus: G, onBlur: k, onUpdateFocus: D, onUpdateHasFocusedChild: Y, saveLastFocusedChild: j, trackChildren: B, preferredChildFocusKey: W, focusable: z, isFocusBoundary: V, focusBoundaryDirections: fe, autoRestoreFocus: X, forceFocus: se, lastFocusedChildKey: null, layout: { x: 0, y: 0, width: 0, height: 0, left: 0, top: 0, right: 0, bottom: 0, node: f }, layoutUpdated: !1 }, f || console.warn('Component added without a node reference. This will result in its coordinates being empty and may cause lost focus. Check the "ref" passed to "useFocusable": ', this.focusableComponents[c]), !this.nativeMode) {
2319
2292
  this.updateLayout(c), this.log("addFocusable", "Component added: ", this.focusableComponents[c]), c === this.focusKey && this.setFocus(W || c);
2320
2293
  for (var ae = this.focusableComponents[this.focusKey]; ae; ) {
2321
2294
  if (ae.parentFocusKey === c) {
@@ -2334,26 +2307,26 @@ function Mc() {
2334
2307
  this.parentsHavingFocusedChild = this.parentsHavingFocusedChild.filter((function(I) {
2335
2308
  return I !== c;
2336
2309
  }));
2337
- var w = this.focusableComponents[v], T = c === this.focusKey;
2338
- if (w && w.lastFocusedChildKey === c && (w.lastFocusedChildKey = null), this.nativeMode) return;
2339
- (T || C) && w && w.autoRestoreFocus && (this.log("removeFocusable", "Component removed: ", T ? "Leaf component" : "Container component", "Auto restoring focus to: ", v), this.setFocusDebounced(v));
2310
+ var A = this.focusableComponents[v], T = c === this.focusKey;
2311
+ if (A && A.lastFocusedChildKey === c && (A.lastFocusedChildKey = null), this.nativeMode) return;
2312
+ (T || C) && A && A.autoRestoreFocus && (this.log("removeFocusable", "Component removed: ", T ? "Leaf component" : "Container component", "Auto restoring focus to: ", v), this.setFocusDebounced(v));
2340
2313
  }
2341
2314
  }, y.prototype.getNodeLayoutByFocusKey = function(u) {
2342
2315
  var c = this.focusableComponents[u];
2343
2316
  return c ? (this.updateLayout(c.focusKey), c.layout) : null;
2344
2317
  }, y.prototype.setCurrentFocusedKey = function(u, c) {
2345
- var f, v, C, w;
2318
+ var f, v, C, A;
2346
2319
  if (this.isFocusableComponent(this.focusKey) && u !== this.focusKey) {
2347
2320
  var T = this.focusableComponents[this.focusKey];
2348
2321
  T.onUpdateFocus(!1), T.onBlur(this.getNodeLayoutByFocusKey(this.focusKey), c), (v = (f = T.node) === null || f === void 0 ? void 0 : f.removeAttribute) === null || v === void 0 || v.call(f, "data-focused"), this.log("setCurrentFocusedKey", "onBlur", T);
2349
2322
  }
2350
2323
  if (this.focusKey = u, this.isFocusableComponent(this.focusKey)) {
2351
2324
  var I = this.focusableComponents[this.focusKey];
2352
- this.shouldFocusDOMNode && I.node && I.node.focus(this.domNodeFocusOptions), (w = (C = I.node) === null || C === void 0 ? void 0 : C.setAttribute) === null || w === void 0 || w.call(C, "data-focused", "true"), I.onUpdateFocus(!0), I.onFocus(this.getNodeLayoutByFocusKey(this.focusKey), c), this.log("setCurrentFocusedKey", "onFocus", I);
2325
+ this.shouldFocusDOMNode && I.node && I.node.focus(this.domNodeFocusOptions), (A = (C = I.node) === null || C === void 0 ? void 0 : C.setAttribute) === null || A === void 0 || A.call(C, "data-focused", "true"), I.onUpdateFocus(!0), I.onFocus(this.getNodeLayoutByFocusKey(this.focusKey), c), this.log("setCurrentFocusedKey", "onFocus", I);
2353
2326
  }
2354
2327
  }, y.prototype.updateParentsHasFocusedChild = function(u, c) {
2355
2328
  for (var f = this, v = [], C = this.focusableComponents[u]; C; ) {
2356
- var w = C.parentFocusKey, T = this.focusableComponents[w];
2329
+ var A = C.parentFocusKey, T = this.focusableComponents[A];
2357
2330
  if (T) {
2358
2331
  var I = T.focusKey;
2359
2332
  v.push(I);
@@ -2379,8 +2352,8 @@ function Mc() {
2379
2352
  this.keyMap = g(g({}, this.getKeyMap()), (function(c) {
2380
2353
  var f = {};
2381
2354
  return Object.entries(c).forEach((function(v) {
2382
- var C = v[0], w = v[1];
2383
- f[C] = Array.isArray(w) ? w : [w];
2355
+ var C = v[0], A = v[1];
2356
+ f[C] = Array.isArray(A) ? A : [A];
2384
2357
  })), f;
2385
2358
  })(u));
2386
2359
  }, y.prototype.isFocusableComponent = function(u) {
@@ -2413,10 +2386,10 @@ function Mc() {
2413
2386
  c.layout = g(g({}, v), { node: f });
2414
2387
  }
2415
2388
  }, y.prototype.updateFocusable = function(u, c) {
2416
- var f = c.node, v = c.preferredChildFocusKey, C = c.focusable, w = c.isFocusBoundary, T = c.focusBoundaryDirections, I = c.onEnterPress, G = c.onEnterRelease, k = c.onArrowPress, j = c.onFocus, B = c.onBlur;
2389
+ var f = c.node, v = c.preferredChildFocusKey, C = c.focusable, A = c.isFocusBoundary, T = c.focusBoundaryDirections, I = c.onEnterPress, G = c.onEnterRelease, k = c.onArrowPress, j = c.onFocus, B = c.onBlur;
2417
2390
  if (!this.nativeMode) {
2418
2391
  var D = this.focusableComponents[u];
2419
- D && (D.preferredChildFocusKey = v, D.focusable = C, D.isFocusBoundary = w, D.focusBoundaryDirections = T, D.onEnterPress = I, D.onEnterRelease = G, D.onArrowPress = k, D.onFocus = j, D.onBlur = B, f && (D.node = f));
2392
+ D && (D.preferredChildFocusKey = v, D.focusable = C, D.isFocusBoundary = A, D.focusBoundaryDirections = T, D.onEnterPress = I, D.onEnterRelease = G, D.onArrowPress = k, D.onFocus = j, D.onBlur = B, f && (D.node = f));
2420
2393
  }
2421
2394
  }, y.prototype.isNativeMode = function() {
2422
2395
  return this.nativeMode;
@@ -2426,33 +2399,33 @@ function Mc() {
2426
2399
  this.writingDirection = u ? Q.default.RTL : Q.default.LTR;
2427
2400
  }, y;
2428
2401
  })();
2429
- d.SpatialNavigation = new xe(), d.init = d.SpatialNavigation.init, d.setThrottle = d.SpatialNavigation.setThrottle, d.destroy = d.SpatialNavigation.destroy, d.setKeyMap = d.SpatialNavigation.setKeyMap, d.setFocus = d.SpatialNavigation.setFocus, d.navigateByDirection = d.SpatialNavigation.navigateByDirection, d.pause = d.SpatialNavigation.pause, d.resume = d.SpatialNavigation.resume, d.updateAllLayouts = d.SpatialNavigation.updateAllLayouts, d.getCurrentFocusKey = d.SpatialNavigation.getCurrentFocusKey, d.doesFocusableExist = d.SpatialNavigation.doesFocusableExist, d.updateRtl = d.SpatialNavigation.updateRtl;
2402
+ d.SpatialNavigation = new Se(), d.init = d.SpatialNavigation.init, d.setThrottle = d.SpatialNavigation.setThrottle, d.destroy = d.SpatialNavigation.destroy, d.setKeyMap = d.SpatialNavigation.setKeyMap, d.setFocus = d.SpatialNavigation.setFocus, d.navigateByDirection = d.SpatialNavigation.navigateByDirection, d.pause = d.SpatialNavigation.pause, d.resume = d.SpatialNavigation.resume, d.updateAllLayouts = d.SpatialNavigation.updateAllLayouts, d.getCurrentFocusKey = d.SpatialNavigation.getCurrentFocusKey, d.doesFocusableExist = d.SpatialNavigation.doesFocusableExist, d.updateRtl = d.SpatialNavigation.updateRtl;
2430
2403
  }, 35: function(b, d, p) {
2431
2404
  var q = this && this.__importDefault || function(R) {
2432
2405
  return R && R.__esModule ? R : { default: R };
2433
2406
  };
2434
2407
  Object.defineProperty(d, "__esModule", { value: !0 });
2435
- var g = q(p(119)), E = typeof window < "u" && window.document, O = E ? window.innerWidth : 0, F = E ? window.innerHeight : 0, N = (function() {
2436
- function R(x) {
2437
- E && (this.debugCtx = R.createCanvas("sn-debug", "1010", x), this.layoutsCtx = R.createCanvas("sn-layouts", "1000", x), this.writingDirection = x);
2408
+ var g = q(p(119)), P = typeof window < "u" && window.document, x = P ? window.innerWidth : 0, F = P ? window.innerHeight : 0, N = (function() {
2409
+ function R(S) {
2410
+ P && (this.debugCtx = R.createCanvas("sn-debug", "1010", S), this.layoutsCtx = R.createCanvas("sn-layouts", "1000", S), this.writingDirection = S);
2438
2411
  }
2439
- return R.createCanvas = function(x, M, H) {
2440
- var A = document.querySelector("#".concat(x)) || document.createElement("canvas");
2441
- A.setAttribute("id", x), A.setAttribute("dir", H === g.default.LTR ? "ltr" : "rtl");
2442
- var U = A.getContext("2d");
2443
- return A.style.zIndex = M, A.style.position = "fixed", A.style.top = "0", A.style.left = "0", document.body.appendChild(A), A.width = O, A.height = F, U;
2412
+ return R.createCanvas = function(S, M, H) {
2413
+ var w = document.querySelector("#".concat(S)) || document.createElement("canvas");
2414
+ w.setAttribute("id", S), w.setAttribute("dir", H === g.default.LTR ? "ltr" : "rtl");
2415
+ var U = w.getContext("2d");
2416
+ return w.style.zIndex = M, w.style.position = "fixed", w.style.top = "0", w.style.left = "0", document.body.appendChild(w), w.width = x, w.height = F, U;
2444
2417
  }, R.prototype.clear = function() {
2445
- E && this.debugCtx.clearRect(0, 0, O, F);
2418
+ P && this.debugCtx.clearRect(0, 0, x, F);
2446
2419
  }, R.prototype.clearLayouts = function() {
2447
- E && this.layoutsCtx.clearRect(0, 0, O, F);
2448
- }, R.prototype.drawLayout = function(x, M, H) {
2449
- if (E) {
2450
- this.layoutsCtx.strokeStyle = "green", this.layoutsCtx.strokeRect(x.left, x.top, x.width, x.height), this.layoutsCtx.font = "8px monospace", this.layoutsCtx.fillStyle = "red";
2451
- var A = this.writingDirection === g.default.LTR ? "left" : "right", U = x[A];
2452
- this.layoutsCtx.fillText(M, U, x.top + 10), this.layoutsCtx.fillText(H, U, x.top + 25), this.layoutsCtx.fillText("".concat(A, ": ").concat(U), U, x.top + 40), this.layoutsCtx.fillText("top: ".concat(x.top), U, x.top + 55);
2420
+ P && this.layoutsCtx.clearRect(0, 0, x, F);
2421
+ }, R.prototype.drawLayout = function(S, M, H) {
2422
+ if (P) {
2423
+ this.layoutsCtx.strokeStyle = "green", this.layoutsCtx.strokeRect(S.left, S.top, S.width, S.height), this.layoutsCtx.font = "8px monospace", this.layoutsCtx.fillStyle = "red";
2424
+ var w = this.writingDirection === g.default.LTR ? "left" : "right", U = S[w];
2425
+ this.layoutsCtx.fillText(M, U, S.top + 10), this.layoutsCtx.fillText(H, U, S.top + 25), this.layoutsCtx.fillText("".concat(w, ": ").concat(U), U, S.top + 40), this.layoutsCtx.fillText("top: ".concat(S.top), U, S.top + 55);
2453
2426
  }
2454
- }, R.prototype.drawPoint = function(x, M, H, A) {
2455
- H === void 0 && (H = "blue"), A === void 0 && (A = 10), E && (this.debugCtx.strokeStyle = H, this.debugCtx.lineWidth = 3, this.debugCtx.strokeRect(x - A / 2, M - A / 2, A, A));
2427
+ }, R.prototype.drawPoint = function(S, M, H, w) {
2428
+ H === void 0 && (H = "blue"), w === void 0 && (w = 10), P && (this.debugCtx.strokeStyle = H, this.debugCtx.lineWidth = 3, this.debugCtx.strokeRect(S - w / 2, M - w / 2, w, w));
2456
2429
  }, R;
2457
2430
  })();
2458
2431
  d.default = N;
@@ -2462,29 +2435,29 @@ function Mc() {
2462
2435
  q[q.LTR = 0] = "LTR", q[q.RTL = 1] = "RTL";
2463
2436
  })(p || (p = {})), d.default = p;
2464
2437
  }, 607: function(b, d, p) {
2465
- var q = this && this.__createBinding || (Object.create ? function(E, O, F, N) {
2438
+ var q = this && this.__createBinding || (Object.create ? function(P, x, F, N) {
2466
2439
  N === void 0 && (N = F);
2467
- var R = Object.getOwnPropertyDescriptor(O, F);
2468
- R && !("get" in R ? !O.__esModule : R.writable || R.configurable) || (R = { enumerable: !0, get: function() {
2469
- return O[F];
2470
- } }), Object.defineProperty(E, N, R);
2471
- } : function(E, O, F, N) {
2472
- N === void 0 && (N = F), E[N] = O[F];
2473
- }), g = this && this.__exportStar || function(E, O) {
2474
- for (var F in E) F === "default" || Object.prototype.hasOwnProperty.call(O, F) || q(O, E, F);
2440
+ var R = Object.getOwnPropertyDescriptor(x, F);
2441
+ R && !("get" in R ? !x.__esModule : R.writable || R.configurable) || (R = { enumerable: !0, get: function() {
2442
+ return x[F];
2443
+ } }), Object.defineProperty(P, N, R);
2444
+ } : function(P, x, F, N) {
2445
+ N === void 0 && (N = F), P[N] = x[F];
2446
+ }), g = this && this.__exportStar || function(P, x) {
2447
+ for (var F in P) F === "default" || Object.prototype.hasOwnProperty.call(x, F) || q(x, P, F);
2475
2448
  };
2476
2449
  Object.defineProperty(d, "__esModule", { value: !0 }), g(p(79), d), g(p(445), d), g(p(654), d);
2477
2450
  }, 964: function(b, d) {
2478
2451
  Object.defineProperty(d, "__esModule", { value: !0 }), d.getBoundingClientRect = void 0;
2479
2452
  var p = function(q) {
2480
- for (var g = q.offsetParent, E = q.offsetHeight, O = q.offsetWidth, F = q.offsetLeft, N = q.offsetTop; g && g.nodeType === 1; ) F += g.offsetLeft - g.scrollLeft, N += g.offsetTop - g.scrollTop, g = g.offsetParent;
2481
- return { height: E, left: F, top: N, width: O };
2453
+ for (var g = q.offsetParent, P = q.offsetHeight, x = q.offsetWidth, F = q.offsetLeft, N = q.offsetTop; g && g.nodeType === 1; ) F += g.offsetLeft - g.scrollLeft, N += g.offsetTop - g.scrollTop, g = g.offsetParent;
2454
+ return { height: P, left: F, top: N, width: x };
2482
2455
  };
2483
2456
  d.default = function(q) {
2484
2457
  var g = q && q.parentElement;
2485
2458
  if (q && g) {
2486
- var E = p(g), O = p(q), F = O.height, N = O.left, R = O.top, x = O.width;
2487
- return { x: N - E.left, y: R - E.top, width: x, height: F, left: N, top: R, get right() {
2459
+ var P = p(g), x = p(q), F = x.height, N = x.left, R = x.top, S = x.width;
2460
+ return { x: N - P.left, y: R - P.top, width: S, height: F, left: N, top: R, get right() {
2488
2461
  return this.left + this.width;
2489
2462
  }, get bottom() {
2490
2463
  return this.top + this.height;
@@ -2513,24 +2486,24 @@ function Mc() {
2513
2486
  return R && R.__esModule ? R : { default: R };
2514
2487
  };
2515
2488
  Object.defineProperty(d, "__esModule", { value: !0 }), d.useFocusable = void 0;
2516
- var g = p(156), E = q(p(604)), O = q(p(461)), F = p(654), N = p(445);
2489
+ var g = p(156), P = q(p(604)), x = q(p(461)), F = p(654), N = p(445);
2517
2490
  d.useFocusable = function(R) {
2518
- var x = R === void 0 ? {} : R, M = x.focusable, H = M === void 0 || M, A = x.saveLastFocusedChild, U = A === void 0 || A, J = x.trackChildren, te = J !== void 0 && J, ve = x.autoRestoreFocus, Le = ve === void 0 || ve, Te = x.forceFocus, Q = Te !== void 0 && Te, pe = x.isFocusBoundary, ue = pe !== void 0 && pe, oe = x.focusBoundaryDirections, ce = x.focusKey, ne = x.preferredChildFocusKey, ye = x.onEnterPress, ge = ye === void 0 ? E.default : ye, _e = x.onEnterRelease, Oe = _e === void 0 ? E.default : _e, xe = x.onArrowPress, y = xe === void 0 ? function() {
2491
+ var S = R === void 0 ? {} : R, M = S.focusable, H = M === void 0 || M, w = S.saveLastFocusedChild, U = w === void 0 || w, J = S.trackChildren, te = J !== void 0 && J, ve = S.autoRestoreFocus, Le = ve === void 0 || ve, Te = S.forceFocus, Q = Te !== void 0 && Te, pe = S.isFocusBoundary, ue = pe !== void 0 && pe, oe = S.focusBoundaryDirections, ce = S.focusKey, ne = S.preferredChildFocusKey, ye = S.onEnterPress, ge = ye === void 0 ? P.default : ye, _e = S.onEnterRelease, xe = _e === void 0 ? P.default : _e, Se = S.onArrowPress, y = Se === void 0 ? function() {
2519
2492
  return !0;
2520
- } : xe, u = x.onArrowRelease, c = u === void 0 ? E.default : u, f = x.onFocus, v = f === void 0 ? E.default : f, C = x.onBlur, w = C === void 0 ? E.default : C, T = x.extraProps, I = (0, g.useCallback)((function($) {
2493
+ } : Se, u = S.onArrowRelease, c = u === void 0 ? P.default : u, f = S.onFocus, v = f === void 0 ? P.default : f, C = S.onBlur, A = C === void 0 ? P.default : C, T = S.extraProps, I = (0, g.useCallback)((function($) {
2521
2494
  ge(T, $);
2522
2495
  }), [ge, T]), G = (0, g.useCallback)((function() {
2523
- Oe(T);
2524
- }), [Oe, T]), k = (0, g.useCallback)((function($, Z) {
2496
+ xe(T);
2497
+ }), [xe, T]), k = (0, g.useCallback)((function($, Z) {
2525
2498
  return y($, T, Z);
2526
2499
  }), [T, y]), j = (0, g.useCallback)((function($) {
2527
2500
  c($, T);
2528
2501
  }), [c, T]), B = (0, g.useCallback)((function($, Z) {
2529
2502
  v($, T, Z);
2530
2503
  }), [T, v]), D = (0, g.useCallback)((function($, Z) {
2531
- w($, T, Z);
2532
- }), [T, w]), Y = (0, g.useRef)(null), W = (0, g.useState)(!1), X = W[0], se = W[1], z = (0, g.useState)(!1), V = z[0], fe = z[1], ae = (0, N.useFocusContext)(), ee = (0, g.useMemo)((function() {
2533
- return ce || (0, O.default)("sn:focusable-item-");
2504
+ A($, T, Z);
2505
+ }), [T, A]), Y = (0, g.useRef)(null), W = (0, g.useState)(!1), X = W[0], se = W[1], z = (0, g.useState)(!1), V = z[0], fe = z[1], ae = (0, N.useFocusContext)(), ee = (0, g.useMemo)((function() {
2506
+ return ce || (0, x.default)("sn:focusable-item-");
2534
2507
  }), [ce]), be = (0, g.useCallback)((function($) {
2535
2508
  $ === void 0 && ($ = {}), F.SpatialNavigation.setFocus(ee, $);
2536
2509
  }), [ee]);
@@ -2569,9 +2542,9 @@ function Mc() {
2569
2542
  }, 67: function(b) {
2570
2543
  b.exports = _;
2571
2544
  }, 461: function(b) {
2572
- b.exports = S;
2545
+ b.exports = O;
2573
2546
  }, 156: function(b) {
2574
- b.exports = P;
2547
+ b.exports = E;
2575
2548
  } }, K = {};
2576
2549
  return (function b(d) {
2577
2550
  var p = K[d];
@@ -2583,10 +2556,7 @@ function Mc() {
2583
2556
  }));
2584
2557
  })(Ke)), Ke.exports;
2585
2558
  }
2586
- var Nc = Mc();
2559
+ var Lc = Mc();
2587
2560
  export {
2588
- Lc as a,
2589
- Se as c,
2590
- Nc as d,
2591
- Dc as g
2561
+ Lc as d
2592
2562
  };