@gamelearn/arcade-components 3.37.71 → 3.37.72

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.
@@ -44412,7 +44412,7 @@ Error generating stack: ` + P.message + `
44412
44412
  function ma(h, p) {
44413
44413
  p === null ? S(Cc, Cc.current) : S(Cc, p.pool);
44414
44414
  }
44415
- function Ut() {
44415
+ function kt() {
44416
44416
  var h = kn();
44417
44417
  return h === null ? null : {
44418
44418
  parent: zs ? Ci._currentValue : Ci._currentValue2,
@@ -46325,7 +46325,7 @@ Error generating stack: ` + P.message + `
46325
46325
  return _t(), p.flags |= 256, Ca(h, p, w, P), p.child;
46326
46326
  }
46327
46327
  function am(h) {
46328
- return { baseLanes: h, cachePool: Ut() };
46328
+ return { baseLanes: h, cachePool: kt() };
46329
46329
  }
46330
46330
  function yl(h, p, w) {
46331
46331
  return h = h !== null ? h.childLanes & ~w : 0, p && (h |= gs), h;
@@ -46428,7 +46428,7 @@ Error generating stack: ` + P.message + `
46428
46428
  H,
46429
46429
  w,
46430
46430
  null
46431
- ), pt.flags |= 2), pt.return = p, P.return = p, P.sibling = pt, p.child = P, Ns(null, P), P = p.child, pt = h.child.memoizedState, pt === null ? pt = am(w) : (H = pt.cachePool, H !== null ? (Lt = zs ? Ci._currentValue : Ci._currentValue2, H = H.parent !== Lt ? { parent: Lt, pool: Lt } : H) : H = Ut(), pt = {
46431
+ ), pt.flags |= 2), pt.return = p, P.return = p, P.sibling = pt, p.child = P, Ns(null, P), P = p.child, pt = h.child.memoizedState, pt === null ? pt = am(w) : (H = pt.cachePool, H !== null ? (Lt = zs ? Ci._currentValue : Ci._currentValue2, H = H.parent !== Lt ? { parent: Lt, pool: Lt } : H) : H = kt(), pt = {
46432
46432
  baseLanes: pt.baseLanes | w,
46433
46433
  cachePool: H
46434
46434
  }), P.memoizedState = pt, P.childLanes = yl(
@@ -50874,10 +50874,10 @@ function MZ() {
50874
50874
  for (g = V & ~g; 0 < g; ) {
50875
50875
  var Mt = 31 - ya(g), Pt = 1 << Mt;
50876
50876
  Z[Mt] = 0, ct[Mt] = -1;
50877
- var kt = yt[Mt];
50878
- if (kt !== null)
50879
- for (yt[Mt] = null, Mt = 0; Mt < kt.length; Mt++) {
50880
- var Te = kt[Mt];
50877
+ var Ut = yt[Mt];
50878
+ if (Ut !== null)
50879
+ for (yt[Mt] = null, Mt = 0; Mt < Ut.length; Mt++) {
50880
+ var Te = Ut[Mt];
50881
50881
  Te !== null && (Te.lane &= -536870913);
50882
50882
  }
50883
50883
  g &= ~Pt;
@@ -51576,27 +51576,27 @@ function MZ() {
51576
51576
  DetermineComponentFrameRoot: function() {
51577
51577
  try {
51578
51578
  if (s) {
51579
- var kt = function() {
51579
+ var Ut = function() {
51580
51580
  throw Error();
51581
51581
  };
51582
- if (Object.defineProperty(kt.prototype, "props", {
51582
+ if (Object.defineProperty(Ut.prototype, "props", {
51583
51583
  set: function() {
51584
51584
  throw Error();
51585
51585
  }
51586
51586
  }), typeof Reflect == "object" && Reflect.construct) {
51587
51587
  try {
51588
- Reflect.construct(kt, []);
51588
+ Reflect.construct(Ut, []);
51589
51589
  } catch (Ie) {
51590
51590
  var Te = Ie;
51591
51591
  }
51592
- Reflect.construct(a, [], kt);
51592
+ Reflect.construct(a, [], Ut);
51593
51593
  } else {
51594
51594
  try {
51595
- kt.call();
51595
+ Ut.call();
51596
51596
  } catch (Ie) {
51597
51597
  Te = Ie;
51598
51598
  }
51599
- a.call(kt.prototype);
51599
+ a.call(Ut.prototype);
51600
51600
  }
51601
51601
  } else {
51602
51602
  try {
@@ -51604,7 +51604,7 @@ function MZ() {
51604
51604
  } catch (Ie) {
51605
51605
  Te = Ie;
51606
51606
  }
51607
- (kt = a()) && typeof kt.catch == "function" && kt.catch(function() {
51607
+ (Ut = a()) && typeof Ut.catch == "function" && Ut.catch(function() {
51608
51608
  });
51609
51609
  }
51610
51610
  } catch (Ie) {
@@ -51701,10 +51701,10 @@ function MZ() {
51701
51701
  var Z = F.name, ct = F.env, yt = F.debugLocation;
51702
51702
  if (yt != null) {
51703
51703
  var Mt = Ze(yt), Pt = Mt.lastIndexOf(`
51704
- `), kt = Pt === -1 ? Mt : Mt.slice(Pt + 1);
51705
- if (kt.indexOf(Z) !== -1) {
51704
+ `), Ut = Pt === -1 ? Mt : Mt.slice(Pt + 1);
51705
+ if (Ut.indexOf(Z) !== -1) {
51706
51706
  var Te = `
51707
- ` + kt;
51707
+ ` + Ut;
51708
51708
  break t;
51709
51709
  }
51710
51710
  }
@@ -51761,7 +51761,7 @@ Error generating stack: ` + Ie.message + `
51761
51761
  function ma(a) {
51762
51762
  Ee(), a.return !== null && (In(a, 1), kn(a, 1, 0));
51763
51763
  }
51764
- function Ut(a) {
51764
+ function kt(a) {
51765
51765
  for (; a === f4; )
51766
51766
  f4 = J1[--$1], J1[$1] = null, NE = J1[--$1], J1[$1] = null;
51767
51767
  for (; a === Vm; )
@@ -51978,8 +51978,8 @@ Error generating stack: ` + Ie.message + `
51978
51978
  }
51979
51979
  F.forEach(function(Pt) {
51980
51980
  if (Pt !== "children") {
51981
- var kt = 120 - 2 * (D + 1) - Pt.length - 1;
51982
- z += $a(D + 1) + Pt + "=" + tr(g[Pt], kt) + `
51981
+ var Ut = 120 - 2 * (D + 1) - Pt.length - 1;
51982
+ z += $a(D + 1) + Pt + "=" + tr(g[Pt], Ut) + `
51983
51983
  `;
51984
51984
  }
51985
51985
  }), z = z === "" ? Oe(D) + "<" + a + `>
@@ -53027,7 +53027,7 @@ It can also happen if the client has a browser extension installed which messes
53027
53027
  }
53028
53028
  return typeof vt == "function" && J0(gt, vt), typeof vt == "symbol" && vl(gt, vt), null;
53029
53029
  }
53030
- function kt(gt, vt, Tt, Bt) {
53030
+ function Ut(gt, vt, Tt, Bt) {
53031
53031
  var le = vt !== null ? vt.key : null;
53032
53032
  if (typeof Tt == "string" && Tt !== "" || typeof Tt == "number" || typeof Tt == "bigint")
53033
53033
  return le !== null ? null : Z(gt, vt, "" + Tt, Bt);
@@ -53043,7 +53043,7 @@ It can also happen if the client has a browser extension installed which messes
53043
53043
  case Mu:
53044
53044
  return Tt.key === le ? yt(gt, vt, Tt, Bt) : null;
53045
53045
  case Kr:
53046
- return le = ka(Tt._debugInfo), Tt = bu(Tt), gt = kt(
53046
+ return le = ka(Tt._debugInfo), Tt = bu(Tt), gt = Ut(
53047
53047
  gt,
53048
53048
  vt,
53049
53049
  Tt,
@@ -53059,14 +53059,14 @@ It can also happen if the client has a browser extension installed which messes
53059
53059
  null
53060
53060
  ), $e = le, gt);
53061
53061
  if (typeof Tt.then == "function")
53062
- return le = ka(Tt._debugInfo), gt = kt(
53062
+ return le = ka(Tt._debugInfo), gt = Ut(
53063
53063
  gt,
53064
53064
  vt,
53065
53065
  Sf(Tt),
53066
53066
  Bt
53067
53067
  ), $e = le, gt;
53068
53068
  if (Tt.$$typeof === Gi)
53069
- return kt(
53069
+ return Ut(
53070
53070
  gt,
53071
53071
  vt,
53072
53072
  vf(gt, Tt),
@@ -53165,7 +53165,7 @@ It can also happen if the client has a browser extension installed which messes
53165
53165
  function Jn(gt, vt, Tt, Bt) {
53166
53166
  for (var le = null, xn = null, Fe = null, Ye = vt, qe = vt = 0, Si = null; Ye !== null && qe < Tt.length; qe++) {
53167
53167
  Ye.index > qe ? (Si = Ye, Ye = null) : Si = Ye.sibling;
53168
- var ba = kt(
53168
+ var ba = Ut(
53169
53169
  gt,
53170
53170
  Ye,
53171
53171
  Tt[qe],
@@ -53226,7 +53226,7 @@ It can also happen if the client has a browser extension installed which messes
53226
53226
  throw Error("An iterable object provided no iterator.");
53227
53227
  for (var le = null, xn = null, Fe = vt, Ye = vt = 0, qe = null, Si = null, ba = Tt.next(); Fe !== null && !ba.done; Ye++, ba = Tt.next()) {
53228
53228
  Fe.index > Ye ? (qe = Fe, Fe = null) : qe = Fe.sibling;
53229
- var uh = kt(gt, Fe, ba.value, Bt);
53229
+ var uh = Ut(gt, Fe, ba.value, Bt);
53230
53230
  if (uh === null) {
53231
53231
  Fe === null && (Fe = qe);
53232
53232
  break;
@@ -53594,9 +53594,9 @@ Please update the following component: %s`,
53594
53594
  var Pt = z.baseState;
53595
53595
  V = 0, Mt = yt = ct = null, Z = F;
53596
53596
  do {
53597
- var kt = Z.lane & -536870913, Te = kt !== Z.lane;
53598
- if (Te ? (tn & kt) === kt : (D & kt) === kt) {
53599
- kt !== 0 && kt === Wm && (z8 = !0), Mt !== null && (Mt = Mt.next = {
53597
+ var Ut = Z.lane & -536870913, Te = Ut !== Z.lane;
53598
+ if (Te ? (tn & Ut) === Ut : (D & Ut) === Ut) {
53599
+ Ut !== 0 && Ut === Wm && (z8 = !0), Mt !== null && (Mt = Mt.next = {
53600
53600
  lane: 0,
53601
53601
  tag: Z.tag,
53602
53602
  payload: Z.payload,
@@ -53604,7 +53604,7 @@ Please update the following component: %s`,
53604
53604
  next: null
53605
53605
  });
53606
53606
  t: {
53607
- kt = a;
53607
+ Ut = a;
53608
53608
  var Ie = Z, Jn = s, S_ = g;
53609
53609
  switch (Ie.tag) {
53610
53610
  case rL:
@@ -53615,7 +53615,7 @@ Please update the following component: %s`,
53615
53615
  Pt,
53616
53616
  Jn
53617
53617
  );
53618
- if (kt.mode & 8) {
53618
+ if (Ut.mode & 8) {
53619
53619
  bt(!0);
53620
53620
  try {
53621
53621
  Ie.call(S_, Pt, Jn);
@@ -53629,14 +53629,14 @@ Please update the following component: %s`,
53629
53629
  Pt = Ie;
53630
53630
  break t;
53631
53631
  case L8:
53632
- kt.flags = kt.flags & -65537 | 128;
53632
+ Ut.flags = Ut.flags & -65537 | 128;
53633
53633
  case aL:
53634
53634
  if (Vu = Ie.payload, typeof Vu == "function") {
53635
53635
  if (e_ = !0, Ie = Vu.call(
53636
53636
  S_,
53637
53637
  Pt,
53638
53638
  Jn
53639
- ), kt.mode & 8) {
53639
+ ), Ut.mode & 8) {
53640
53640
  bt(!0);
53641
53641
  try {
53642
53642
  Vu.call(S_, Pt, Jn);
@@ -53655,15 +53655,15 @@ Please update the following component: %s`,
53655
53655
  lp = !0;
53656
53656
  }
53657
53657
  }
53658
- kt = Z.callback, kt !== null && (a.flags |= 64, Te && (a.flags |= 8192), Te = z.callbacks, Te === null ? z.callbacks = [kt] : Te.push(kt));
53658
+ Ut = Z.callback, Ut !== null && (a.flags |= 64, Te && (a.flags |= 8192), Te = z.callbacks, Te === null ? z.callbacks = [Ut] : Te.push(Ut));
53659
53659
  } else
53660
53660
  Te = {
53661
- lane: kt,
53661
+ lane: Ut,
53662
53662
  tag: Z.tag,
53663
53663
  payload: Z.payload,
53664
53664
  callback: Z.callback,
53665
53665
  next: null
53666
- }, Mt === null ? (yt = Mt = Te, ct = Pt) : Mt = Mt.next = Te, V |= kt;
53666
+ }, Mt === null ? (yt = Mt = Te, ct = Pt) : Mt = Mt.next = Te, V |= Ut;
53667
53667
  if (Z = Z.next, Z === null) {
53668
53668
  if (Z = z.shared.pending, Z === null)
53669
53669
  break;
@@ -54039,8 +54039,8 @@ Incoming: %s`,
54039
54039
  do {
54040
54040
  var Pt = yt.lane & -536870913;
54041
54041
  if (Pt !== yt.lane ? (tn & Pt) === Pt : (ah & Pt) === Pt) {
54042
- var kt = yt.revertLane;
54043
- if (kt === 0)
54042
+ var Ut = yt.revertLane;
54043
+ if (Ut === 0)
54044
54044
  ct !== null && (ct = ct.next = {
54045
54045
  lane: 0,
54046
54046
  revertLane: 0,
@@ -54050,8 +54050,8 @@ Incoming: %s`,
54050
54050
  eagerState: yt.eagerState,
54051
54051
  next: null
54052
54052
  }), Pt === Wm && (Mt = !0);
54053
- else if ((ah & kt) === kt) {
54054
- yt = yt.next, kt === Wm && (Mt = !0);
54053
+ else if ((ah & Ut) === Ut) {
54054
+ yt = yt.next, Ut === Wm && (Mt = !0);
54055
54055
  continue;
54056
54056
  } else
54057
54057
  Pt = {
@@ -54062,10 +54062,10 @@ Incoming: %s`,
54062
54062
  hasEagerState: yt.hasEagerState,
54063
54063
  eagerState: yt.eagerState,
54064
54064
  next: null
54065
- }, ct === null ? (Z = ct = Pt, V = F) : ct = ct.next = Pt, Be.lanes |= kt, dp |= kt;
54065
+ }, ct === null ? (Z = ct = Pt, V = F) : ct = ct.next = Pt, Be.lanes |= Ut, dp |= Ut;
54066
54066
  Pt = yt.action, eg && g(F, Pt), F = yt.hasEagerState ? yt.eagerState : g(F, Pt);
54067
54067
  } else
54068
- kt = {
54068
+ Ut = {
54069
54069
  lane: Pt,
54070
54070
  revertLane: yt.revertLane,
54071
54071
  gesture: yt.gesture,
@@ -54073,7 +54073,7 @@ Incoming: %s`,
54073
54073
  hasEagerState: yt.hasEagerState,
54074
54074
  eagerState: yt.eagerState,
54075
54075
  next: null
54076
- }, ct === null ? (Z = ct = kt, V = F) : ct = ct.next = kt, Be.lanes |= Pt, dp |= Pt;
54076
+ }, ct === null ? (Z = ct = Ut, V = F) : ct = ct.next = Ut, Be.lanes |= Pt, dp |= Pt;
54077
54077
  yt = yt.next;
54078
54078
  } while (yt !== null && yt !== s);
54079
54079
  if (ct === null ? V = F : ct.next = Z, !vs(F, a.memoizedState) && (Oa = !0, Mt && (g = a_, g !== null)))
@@ -55458,8 +55458,8 @@ https://react.dev/link/unsafe-component-lifecycles`,
55458
55458
  D,
55459
55459
  V
55460
55460
  ), lp = !1;
55461
- var kt = s.memoizedState;
55462
- F.state = kt, nm(s, D, F, z), Af(), Pt = s.memoizedState, Mt || kt !== Pt || lp ? (typeof yt == "function" && (Jy(
55461
+ var Ut = s.memoizedState;
55462
+ F.state = Ut, nm(s, D, F, z), Af(), Pt = s.memoizedState, Mt || Ut !== Pt || lp ? (typeof yt == "function" && (Jy(
55463
55463
  s,
55464
55464
  g,
55465
55465
  yt,
@@ -55469,19 +55469,19 @@ https://react.dev/link/unsafe-component-lifecycles`,
55469
55469
  g,
55470
55470
  Z,
55471
55471
  D,
55472
- kt,
55472
+ Ut,
55473
55473
  Pt,
55474
55474
  V
55475
55475
  )) ? (ct || typeof F.UNSAFE_componentWillMount != "function" && typeof F.componentWillMount != "function" || (typeof F.componentWillMount == "function" && F.componentWillMount(), typeof F.UNSAFE_componentWillMount == "function" && F.UNSAFE_componentWillMount()), typeof F.componentDidMount == "function" && (s.flags |= 4194308), (s.mode & 16) !== Pe && (s.flags |= 134217728)) : (typeof F.componentDidMount == "function" && (s.flags |= 4194308), (s.mode & 16) !== Pe && (s.flags |= 134217728), s.memoizedProps = D, s.memoizedState = Pt), F.props = D, F.state = Pt, F.context = V, F = Z) : (typeof F.componentDidMount == "function" && (s.flags |= 4194308), (s.mode & 16) !== Pe && (s.flags |= 134217728), F = !1);
55476
55476
  } else {
55477
- F = s.stateNode, My(a, s), V = s.memoizedProps, ct = Sl(g, V), F.props = ct, yt = s.pendingProps, kt = F.context, Pt = g.contextType, Z = _i, typeof Pt == "object" && Pt !== null && (Z = Yn(Pt)), Mt = g.getDerivedStateFromProps, (Pt = typeof Mt == "function" || typeof F.getSnapshotBeforeUpdate == "function") || typeof F.UNSAFE_componentWillReceiveProps != "function" && typeof F.componentWillReceiveProps != "function" || (V !== yt || kt !== Z) && Nd(
55477
+ F = s.stateNode, My(a, s), V = s.memoizedProps, ct = Sl(g, V), F.props = ct, yt = s.pendingProps, Ut = F.context, Pt = g.contextType, Z = _i, typeof Pt == "object" && Pt !== null && (Z = Yn(Pt)), Mt = g.getDerivedStateFromProps, (Pt = typeof Mt == "function" || typeof F.getSnapshotBeforeUpdate == "function") || typeof F.UNSAFE_componentWillReceiveProps != "function" && typeof F.componentWillReceiveProps != "function" || (V !== yt || Ut !== Z) && Nd(
55478
55478
  s,
55479
55479
  F,
55480
55480
  D,
55481
55481
  Z
55482
- ), lp = !1, kt = s.memoizedState, F.state = kt, nm(s, D, F, z), Af();
55482
+ ), lp = !1, Ut = s.memoizedState, F.state = Ut, nm(s, D, F, z), Af();
55483
55483
  var Te = s.memoizedState;
55484
- V !== yt || kt !== Te || lp || a !== null && a.dependencies !== null && Ad(a.dependencies) ? (typeof Mt == "function" && (Jy(
55484
+ V !== yt || Ut !== Te || lp || a !== null && a.dependencies !== null && Ad(a.dependencies) ? (typeof Mt == "function" && (Jy(
55485
55485
  s,
55486
55486
  g,
55487
55487
  Mt,
@@ -55491,14 +55491,14 @@ https://react.dev/link/unsafe-component-lifecycles`,
55491
55491
  g,
55492
55492
  ct,
55493
55493
  D,
55494
- kt,
55494
+ Ut,
55495
55495
  Te,
55496
55496
  Z
55497
55497
  ) || a !== null && a.dependencies !== null && Ad(a.dependencies)) ? (Pt || typeof F.UNSAFE_componentWillUpdate != "function" && typeof F.componentWillUpdate != "function" || (typeof F.componentWillUpdate == "function" && F.componentWillUpdate(D, Te, Z), typeof F.UNSAFE_componentWillUpdate == "function" && F.UNSAFE_componentWillUpdate(
55498
55498
  D,
55499
55499
  Te,
55500
55500
  Z
55501
- )), typeof F.componentDidUpdate == "function" && (s.flags |= 4), typeof F.getSnapshotBeforeUpdate == "function" && (s.flags |= 1024)) : (typeof F.componentDidUpdate != "function" || V === a.memoizedProps && kt === a.memoizedState || (s.flags |= 4), typeof F.getSnapshotBeforeUpdate != "function" || V === a.memoizedProps && kt === a.memoizedState || (s.flags |= 1024), s.memoizedProps = D, s.memoizedState = Te), F.props = D, F.state = Te, F.context = Z, F = ct) : (typeof F.componentDidUpdate != "function" || V === a.memoizedProps && kt === a.memoizedState || (s.flags |= 4), typeof F.getSnapshotBeforeUpdate != "function" || V === a.memoizedProps && kt === a.memoizedState || (s.flags |= 1024), F = !1);
55501
+ )), typeof F.componentDidUpdate == "function" && (s.flags |= 4), typeof F.getSnapshotBeforeUpdate == "function" && (s.flags |= 1024)) : (typeof F.componentDidUpdate != "function" || V === a.memoizedProps && Ut === a.memoizedState || (s.flags |= 4), typeof F.getSnapshotBeforeUpdate != "function" || V === a.memoizedProps && Ut === a.memoizedState || (s.flags |= 1024), s.memoizedProps = D, s.memoizedState = Te), F.props = D, F.state = Te, F.context = Z, F = ct) : (typeof F.componentDidUpdate != "function" || V === a.memoizedProps && Ut === a.memoizedState || (s.flags |= 4), typeof F.getSnapshotBeforeUpdate != "function" || V === a.memoizedProps && Ut === a.memoizedState || (s.flags |= 1024), F = !1);
55502
55502
  }
55503
55503
  if (Z = F, a1(a, s), V = (s.flags & 128) !== 0, Z || V) {
55504
55504
  if (Z = s.stateNode, U0(s), V && typeof g.getDerivedStateFromError != "function")
@@ -56538,7 +56538,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
56538
56538
  }
56539
56539
  function eE(a, s, g) {
56540
56540
  var D = s.pendingProps;
56541
- switch (Ut(s), s.tag) {
56541
+ switch (kt(s), s.tag) {
56542
56542
  case 16:
56543
56543
  case 15:
56544
56544
  case 0:
@@ -56808,7 +56808,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
56808
56808
  );
56809
56809
  }
56810
56810
  function Sc(a, s) {
56811
- switch (Ut(s), s.tag) {
56811
+ switch (kt(s), s.tag) {
56812
56812
  case 1:
56813
56813
  return a = s.flags, a & 65536 ? (s.flags = a & -65537 | 128, (s.mode & 2) !== Pe && K0(s), s) : null;
56814
56814
  case 3:
@@ -56853,7 +56853,7 @@ https://react.dev/link/unsafe-component-lifecycles`,
56853
56853
  }
56854
56854
  }
56855
56855
  function d1(a, s) {
56856
- switch (Ut(s), s.tag) {
56856
+ switch (kt(s), s.tag) {
56857
56857
  case 3:
56858
56858
  co(Ki, s), Ft(s);
56859
56859
  break;
@@ -57956,8 +57956,8 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
57956
57956
  break;
57957
57957
  case 22:
57958
57958
  ct = a.memoizedState !== null;
57959
- var Mt = V !== null && V.memoizedState !== null, Pt = oh, kt = Na;
57960
- if (oh = Pt || ct, Na = kt || Mt, Ga(s, a), Na = kt, oh = Pt, Mt && !ct && !Pt && !kt && (a.mode & 2) !== Pe && 0 <= Re && 0 <= Ne && 0.05 < Ne - Re && ne(
57959
+ var Mt = V !== null && V.memoizedState !== null, Pt = oh, Ut = Na;
57960
+ if (oh = Pt || ct, Na = Ut || Mt, Ga(s, a), Na = Ut, oh = Pt, Mt && !ct && !Pt && !Ut && (a.mode & 2) !== Pe && 0 <= Re && 0 <= Ne && 0.05 < Ne - Re && ne(
57961
57961
  a,
57962
57962
  Re,
57963
57963
  Ne
@@ -58337,14 +58337,14 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
58337
58337
  );
58338
58338
  break;
58339
58339
  case 3:
58340
- var Pt = ml(), kt = Ya;
58340
+ var Pt = ml(), Ut = Ya;
58341
58341
  Ya = s.alternate !== null && s.alternate.memoizedState.isDehydrated && (s.flags & 256) === 0, Co(
58342
58342
  a,
58343
58343
  s,
58344
58344
  g,
58345
58345
  D,
58346
58346
  z
58347
- ), Ya = kt, Mt & 2048 && (g = null, s.alternate !== null && (g = s.alternate.memoizedState.cache), D = s.memoizedState.cache, D !== g && (_u(D), g != null && xd(g))), a.passiveEffectDuration += j0(
58347
+ ), Ya = Ut, Mt & 2048 && (g = null, s.alternate !== null && (g = s.alternate.memoizedState.cache), D = s.memoizedState.cache, D !== g && (_u(D), g != null && xd(g))), a.passiveEffectDuration += j0(
58348
58348
  Pt
58349
58349
  );
58350
58350
  break;
@@ -58379,7 +58379,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
58379
58379
  );
58380
58380
  break;
58381
58381
  case 31:
58382
- Mt = Ya, Pt = s.alternate !== null ? s.alternate.memoizedState : null, kt = s.memoizedState, Pt !== null && kt === null ? (kt = s.deletions, kt !== null && 0 < kt.length && kt[0].tag === 18 ? (Ya = !1, Pt = Pt.hydrationErrors, Pt !== null && He(
58382
+ Mt = Ya, Pt = s.alternate !== null ? s.alternate.memoizedState : null, Ut = s.memoizedState, Pt !== null && Ut === null ? (Ut = s.deletions, Ut !== null && 0 < Ut.length && Ut[0].tag === 18 ? (Ya = !1, Pt = Pt.hydrationErrors, Pt !== null && He(
58383
58383
  s,
58384
58384
  s.actualStartTime,
58385
58385
  z,
@@ -58393,7 +58393,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
58393
58393
  ), Ya = Mt;
58394
58394
  break;
58395
58395
  case 13:
58396
- Mt = Ya, Pt = s.alternate !== null ? s.alternate.memoizedState : null, kt = s.memoizedState, Pt === null || Pt.dehydrated === null || kt !== null && kt.dehydrated !== null ? Ya = !1 : (kt = s.deletions, kt !== null && 0 < kt.length && kt[0].tag === 18 ? (Ya = !1, Pt = Pt.hydrationErrors, Pt !== null && He(
58396
+ Mt = Ya, Pt = s.alternate !== null ? s.alternate.memoizedState : null, Ut = s.memoizedState, Pt === null || Pt.dehydrated === null || Ut !== null && Ut.dehydrated !== null ? Ya = !1 : (Ut = s.deletions, Ut !== null && 0 < Ut.length && Ut[0].tag === 18 ? (Ya = !1, Pt = Pt.hydrationErrors, Pt !== null && He(
58397
58397
  s,
58398
58398
  s.actualStartTime,
58399
58399
  z,
@@ -58409,7 +58409,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
58409
58409
  case 23:
58410
58410
  break;
58411
58411
  case 22:
58412
- kt = s.stateNode, Pt = s.alternate, s.memoizedState !== null ? kt._visibility & ih ? Co(
58412
+ Ut = s.stateNode, Pt = s.alternate, s.memoizedState !== null ? Ut._visibility & ih ? Co(
58413
58413
  a,
58414
58414
  s,
58415
58415
  g,
@@ -58421,13 +58421,13 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
58421
58421
  g,
58422
58422
  D,
58423
58423
  z
58424
- ) : kt._visibility & ih ? Co(
58424
+ ) : Ut._visibility & ih ? Co(
58425
58425
  a,
58426
58426
  s,
58427
58427
  g,
58428
58428
  D,
58429
58429
  z
58430
- ) : (kt._visibility |= ih, Rl(
58430
+ ) : (Ut._visibility |= ih, Rl(
58431
58431
  a,
58432
58432
  s,
58433
58433
  g,
@@ -58518,8 +58518,8 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
58518
58518
  case 23:
58519
58519
  break;
58520
58520
  case 22:
58521
- var kt = s.stateNode;
58522
- s.memoizedState !== null ? kt._visibility & ih ? Rl(
58521
+ var Ut = s.stateNode;
58522
+ s.memoizedState !== null ? Ut._visibility & ih ? Rl(
58523
58523
  a,
58524
58524
  s,
58525
58525
  g,
@@ -58532,7 +58532,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
58532
58532
  g,
58533
58533
  D,
58534
58534
  F
58535
- ) : (kt._visibility |= ih, Rl(
58535
+ ) : (Ut._visibility |= ih, Rl(
58536
58536
  a,
58537
58537
  s,
58538
58538
  g,
@@ -59240,7 +59240,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
59240
59240
  } while (!0);
59241
59241
  Er(a);
59242
59242
  }
59243
- function I3(a, s, g, D, z, F, V, Z, ct, yt, Mt, Pt, kt, Te) {
59243
+ function I3(a, s, g, D, z, F, V, Z, ct, yt, Mt, Pt, Ut, Te) {
59244
59244
  a.timeoutHandle = Dl;
59245
59245
  var Ie = s.subtreeFlags, Jn = null;
59246
59246
  if ((Ie & 8192 || (Ie & 16785408) === 16785408) && (Jn = Kf(), O3(s, F, Jn), Ie = (F & 62914560) === F ? Y4 - fn() : (F & 4194048) === F ? PL - fn() : 0, Ie = M1(Jn, Ie), Ie !== null)) {
@@ -59259,7 +59259,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
59259
59259
  Mt,
59260
59260
  Jn,
59261
59261
  L1(Jn, a.containerInfo),
59262
- kt,
59262
+ Ut,
59263
59263
  Te
59264
59264
  )
59265
59265
  ), Du(
@@ -59283,7 +59283,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
59283
59283
  Mt,
59284
59284
  Jn,
59285
59285
  Pt,
59286
- kt,
59286
+ Ut,
59287
59287
  Te
59288
59288
  );
59289
59289
  }
@@ -59419,7 +59419,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
59419
59419
  var Z = D, ct = PE, yt = 0 < n_, Mt = rp === 1, Pt = rp === 2;
59420
59420
  if (z = Zr, D = LE, F = b8, V = S8, bi) {
59421
59421
  if (vn = "Blocking", 0 < g ? g > z && (g = z) : g = z, 0 < Z ? Z > g && (Z = g) : Z = g, ct !== null && g > Z) {
59422
- var kt = yt ? "secondary-light" : "warning";
59422
+ var Ut = yt ? "secondary-light" : "warning";
59423
59423
  D ? D.run(
59424
59424
  console.timeStamp.bind(
59425
59425
  console,
@@ -59428,7 +59428,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
59428
59428
  g,
59429
59429
  vn,
59430
59430
  "Scheduler ⚛",
59431
- kt
59431
+ Ut
59432
59432
  )
59433
59433
  ) : console.timeStamp(
59434
59434
  yt ? "Consecutive" : "Event: " + ct,
@@ -59436,7 +59436,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
59436
59436
  g,
59437
59437
  vn,
59438
59438
  "Scheduler ⚛",
59439
- kt
59439
+ Ut
59440
59440
  );
59441
59441
  }
59442
59442
  z > g && (Z = Mt ? "error" : (s & 738197653) === s ? "tertiary-light" : "primary-light", Mt = Pt ? "Promise Resolved" : Mt ? "Cascading Update" : 5 < z - g ? "Update Blocked" : "Update", Pt = [], V != null && Pt.push(["Component name", V]), F != null && Pt.push(["Method name", F]), g = {
@@ -59465,7 +59465,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
59465
59465
  F,
59466
59466
  s,
59467
59467
  oa
59468
- )), Pt = D, Z = qm, ct = 0 < op, yt = E8 === 2, F = Zr, D = zE, V = z7, Mt = B7, bi && (vn = "Transition", 0 < g ? g > F && (g = F) : g = F, 0 < z ? z > g && (z = g) : z = g, 0 < Pt ? Pt > z && (Pt = z) : Pt = z, z > Pt && Z !== null && (kt = ct ? "secondary-light" : "warning", D ? D.run(
59468
+ )), Pt = D, Z = qm, ct = 0 < op, yt = E8 === 2, F = Zr, D = zE, V = z7, Mt = B7, bi && (vn = "Transition", 0 < g ? g > F && (g = F) : g = F, 0 < z ? z > g && (z = g) : z = g, 0 < Pt ? Pt > z && (Pt = z) : Pt = z, z > Pt && Z !== null && (Ut = ct ? "secondary-light" : "warning", D ? D.run(
59469
59469
  console.timeStamp.bind(
59470
59470
  console,
59471
59471
  ct ? "Consecutive" : "Event: " + Z,
@@ -59473,7 +59473,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
59473
59473
  z,
59474
59474
  vn,
59475
59475
  "Scheduler ⚛",
59476
- kt
59476
+ Ut
59477
59477
  )
59478
59478
  ) : console.timeStamp(
59479
59479
  ct ? "Consecutive" : "Event: " + Z,
@@ -59481,7 +59481,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
59481
59481
  z,
59482
59482
  vn,
59483
59483
  "Scheduler ⚛",
59484
- kt
59484
+ Ut
59485
59485
  )), g > z && (D ? D.run(
59486
59486
  console.timeStamp.bind(
59487
59487
  console,
@@ -59706,8 +59706,8 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
59706
59706
  }
59707
59707
  Rt.actQueue !== null ? j3() : e8();
59708
59708
  break;
59709
- } catch (kt) {
59710
- U3(a, kt);
59709
+ } catch (Ut) {
59710
+ U3(a, Ut);
59711
59711
  }
59712
59712
  while (!0);
59713
59713
  return by(), Rt.H = D, Rt.A = z, mn = g, rn !== null ? lh : (ii = null, tn = 0, Ef(), Li);
@@ -59845,7 +59845,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
59845
59845
  } while (a !== null);
59846
59846
  Li = H4, rn = null;
59847
59847
  }
59848
- function pE(a, s, g, D, z, F, V, Z, ct, yt, Mt, Pt, kt, Te) {
59848
+ function pE(a, s, g, D, z, F, V, Z, ct, yt, Mt, Pt, Ut, Te) {
59849
59849
  a.cancelPendingCommit = null;
59850
59850
  do
59851
59851
  Bf();
@@ -59853,19 +59853,19 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
59853
59853
  if (ku.flushLegacyContextWarning(), ku.flushPendingUnsafeLifecycleWarnings(), (mn & (ur | Gl)) !== lr)
59854
59854
  throw Error("Should not already be working.");
59855
59855
  if (Ht(g), yt === ng ? ae(
59856
- kt,
59856
+ Ut,
59857
59857
  Te,
59858
59858
  g,
59859
59859
  oa
59860
59860
  ) : D !== null ? It(
59861
- kt,
59861
+ Ut,
59862
59862
  Te,
59863
59863
  g,
59864
59864
  D,
59865
59865
  s !== null && s.alternate !== null && s.alternate.memoizedState.isDehydrated && (s.flags & 256) !== 0,
59866
59866
  oa
59867
59867
  ) : we(
59868
- kt,
59868
+ Ut,
59869
59869
  Te,
59870
59870
  g,
59871
59871
  oa
@@ -60132,26 +60132,26 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
60132
60132
  ct = mn, mn |= Gl;
60133
60133
  var Pt = D.current;
60134
60134
  V0(), M3(Pt);
60135
- var kt = D.current;
60135
+ var Ut = D.current;
60136
60136
  Pt = J8, V0(), w3(
60137
60137
  D,
60138
- kt,
60138
+ Ut,
60139
60139
  V,
60140
60140
  F,
60141
60141
  Pt
60142
60142
  ), vE(D), mn = ct;
60143
60143
  var Te = fn();
60144
- if (kt = Z, Pt = oa, th !== null ? zt(
60145
- kt,
60144
+ if (Ut = Z, Pt = oa, th !== null ? zt(
60145
+ Ut,
60146
60146
  Te,
60147
60147
  th,
60148
60148
  !0,
60149
60149
  Pt
60150
- ) : !bi || Te <= kt || (Pt ? Pt.run(
60150
+ ) : !bi || Te <= Ut || (Pt ? Pt.run(
60151
60151
  console.timeStamp.bind(
60152
60152
  console,
60153
60153
  "Remaining Effects",
60154
- kt,
60154
+ Ut,
60155
60155
  Te,
60156
60156
  vn,
60157
60157
  "Scheduler ⚛",
@@ -60159,7 +60159,7 @@ Learn more about data fetching with Hooks: https://react.dev/link/hooks-data-fet
60159
60159
  )
60160
60160
  ) : console.timeStamp(
60161
60161
  "Remaining Effects",
60162
- kt,
60162
+ Ut,
60163
60163
  Te,
60164
60164
  vn,
60165
60165
  "Scheduler ⚛",
@@ -61797,7 +61797,7 @@ Check the top-level render call using <` + D + ">.");
61797
61797
  );
61798
61798
  }, an.createHasPseudoClassSelector = function(a) {
61799
61799
  return { $$typeof: z4, value: a };
61800
- }, an.createHydrationContainer = function(a, s, g, D, z, F, V, Z, ct, yt, Mt, Pt, kt, Te) {
61800
+ }, an.createHydrationContainer = function(a, s, g, D, z, F, V, Z, ct, yt, Mt, Pt, Ut, Te) {
61801
61801
  return a = Ud(
61802
61802
  g,
61803
61803
  D,
@@ -61894,17 +61894,17 @@ Visit https://react.dev/link/error-boundaries to learn more about error boundari
61894
61894
  g = a[s];
61895
61895
  for (var D = g.x, z = D + g.width, F = g.y, V = F + g.height, Z = s - 1; 0 <= Z; Z--)
61896
61896
  if (s !== Z) {
61897
- var ct = a[Z], yt = ct.x, Mt = yt + ct.width, Pt = ct.y, kt = Pt + ct.height;
61898
- if (D >= yt && F >= Pt && z <= Mt && V <= kt) {
61897
+ var ct = a[Z], yt = ct.x, Mt = yt + ct.width, Pt = ct.y, Ut = Pt + ct.height;
61898
+ if (D >= yt && F >= Pt && z <= Mt && V <= Ut) {
61899
61899
  a.splice(s, 1);
61900
61900
  break;
61901
- } else if (D !== yt || g.width !== ct.width || kt < F || Pt > V) {
61901
+ } else if (D !== yt || g.width !== ct.width || Ut < F || Pt > V) {
61902
61902
  if (!(F !== Pt || g.height !== ct.height || Mt < D || yt > z)) {
61903
61903
  yt > D && (ct.width += yt - D, ct.x = D), Mt < z && (ct.width = z - yt), a.splice(s, 1);
61904
61904
  break;
61905
61905
  }
61906
61906
  } else {
61907
- Pt > F && (ct.height += Pt - F, ct.y = F), kt < V && (ct.height = V - Pt), a.splice(s, 1);
61907
+ Pt > F && (ct.height += Pt - F, ct.y = F), Ut < V && (ct.height = V - Pt), a.splice(s, 1);
61908
61908
  break;
61909
61909
  }
61910
61910
  }
@@ -62918,8 +62918,8 @@ function J9({
62918
62918
  const re = (ce, _e = !1) => {
62919
62919
  var In, kn;
62920
62920
  if (!K) {
62921
- const { rewards: ma, desc: Ut } = Me.wrong;
62922
- let $t = Ut, me = ma;
62921
+ const { rewards: ma, desc: kt } = Me.wrong;
62922
+ let $t = kt, me = ma;
62923
62923
  const Ee = (In = C == null ? void 0 : C.wrongFeedbacks) == null ? void 0 : In.find((Je) => Je.id === ce.id);
62924
62924
  Ee && ($t = Ee.desc, me = Ee.rewards), f && (W([]), _e && (kn = o == null ? void 0 : o.orderFeedback) != null && kn.desc && ($t = o.orderFeedback.desc, me = o.orderFeedback.rewards)), m && (ae(), ye()), rt((Je) => ({
62925
62925
  ...Je,
@@ -62958,11 +62958,11 @@ function J9({
62958
62958
  if (!Q.some((kn) => kn.index === ce.index) && !$.show && !K) {
62959
62959
  ne("click-ui");
62960
62960
  let kn = Me.right.desc, { rewards: ma } = Me.right;
62961
- const Ut = [...Q, ce];
62961
+ const kt = [...Q, ce];
62962
62962
  if (f && ce.index === Q.length || !f) {
62963
62963
  if (m && ye(jt), n(), (_e = C == null ? void 0 : C.correctFeedbacks) != null && _e.length) {
62964
62964
  const $t = (In = C.correctFeedbacks) == null ? void 0 : In.find((me) => me.id === ce.id);
62965
- $t && (kn = $t.desc, ma = $t.rewards), !kn && c.length > Ut.length && !_ ? Fn(ma, !0) : kn && !_ && (rt((me) => ({
62965
+ $t && (kn = $t.desc, ma = $t.rewards), !kn && c.length > kt.length && !_ ? Fn(ma, !0) : kn && !_ && (rt((me) => ({
62966
62966
  ...me,
62967
62967
  show: !0,
62968
62968
  success: !0,
@@ -62970,7 +62970,7 @@ function J9({
62970
62970
  rewards: ma
62971
62971
  })), m && ae());
62972
62972
  }
62973
- W(Ut);
62973
+ W(kt);
62974
62974
  } else
62975
62975
  re(ce, !0);
62976
62976
  }
@@ -69504,7 +69504,7 @@ function $nt({
69504
69504
  ht,
69505
69505
  Ot
69506
69506
  ]);
69507
- const ma = qw(_t == null ? void 0 : _t.text), [Ut, $t] = uy({
69507
+ const ma = qw(_t == null ? void 0 : _t.text), [kt, $t] = uy({
69508
69508
  audioType: I == null ? void 0 : I.audioType,
69509
69509
  volume: I == null ? void 0 : I.audioVolume,
69510
69510
  voice: I == null ? void 0 : I.voice,
@@ -70309,12 +70309,12 @@ function ait({
70309
70309
  keyboardControl: S
70310
70310
  }) {
70311
70311
  var kn, ma;
70312
- const y = (Ut) => e({ type: "translate", payload: Ut }), E = `sort-puzzle_${o}`, [A, x] = ft(!1), [T, C] = ft(!1), [R, M] = ft(""), [O, N] = ft(!1), [B, L] = ft([]), [k] = t;
70312
+ const y = (kt) => e({ type: "translate", payload: kt }), E = `sort-puzzle_${o}`, [A, x] = ft(!1), [T, C] = ft(!1), [R, M] = ft(""), [O, N] = ft(!1), [B, L] = ft([]), [k] = t;
70313
70313
  uy({
70314
70314
  soundActions: t
70315
70315
  });
70316
70316
  const I = Jt({}), G = Jt({}), [Q, W] = ft(!0), [K, J] = ft("storylines.misc.start"), [et, q] = ft(!1), [$, rt] = ft(!1), [lt, at] = ft(!1), [st, dt] = ft(!1), mt = () => {
70317
- const Ut = i.specificCorrectFeedbacks ? [] : B, $t = Me(Ut, n.timerFeedback.rewards);
70317
+ const kt = i.specificCorrectFeedbacks ? [] : B, $t = Me(kt, n.timerFeedback.rewards);
70318
70318
  v === "matchMode" && xt.current.forEach((me) => {
70319
70319
  me.acceptedItems = [];
70320
70320
  }), L($t), q(!0), we(n.timerFeedback.desc, !1);
@@ -70326,49 +70326,49 @@ function ait({
70326
70326
  rt(!1), at(!1), dt(!0);
70327
70327
  }, Et = () => {
70328
70328
  J("storylines.misc.retry"), W(!1), q(!1), ot();
70329
- }, bt = (Ut, $t) => {
70329
+ }, bt = (kt, $t) => {
70330
70330
  const me = (Vn) => Vn.current.flatMap((Zt) => {
70331
70331
  const ue = Zt.acceptedItems;
70332
70332
  return ue || [];
70333
- }).sort(), Ee = me(Ut), Je = me($t);
70333
+ }).sort(), Ee = me(kt), Je = me($t);
70334
70334
  return Ee.length !== Je.length ? !1 : Ee.join(",") === Je.join(",");
70335
70335
  }, St = Jt(0), _t = Jt([]), xt = Jt([]);
70336
70336
  Dt(() => {
70337
- v === "matchMode" && !St.current && l.forEach((Ut) => {
70337
+ v === "matchMode" && !St.current && l.forEach((kt) => {
70338
70338
  St.current += 1, _t.current.push({
70339
- id: Ut.id,
70340
- acceptedItems: Ut.acceptedItems
70339
+ id: kt.id,
70340
+ acceptedItems: kt.acceptedItems
70341
70341
  }), xt.current.push({
70342
- id: Ut.id,
70342
+ id: kt.id,
70343
70343
  acceptedItems: []
70344
70344
  });
70345
70345
  });
70346
70346
  }, [l, v]);
70347
70347
  const Ot = Jt(null), jt = Jt(null), Ht = Gt(() => {
70348
- const Ut = Ot.current.clientHeight, $t = jt.current.clientHeight;
70349
- jt.current.style.transform = `scale(${Ut / $t})`;
70348
+ const kt = Ot.current.clientHeight, $t = jt.current.clientHeight;
70349
+ jt.current.style.transform = `scale(${kt / $t})`;
70350
70350
  }, []);
70351
70351
  Dt(() => (Ht(), window.addEventListener("resize", Ht), () => {
70352
70352
  window.removeEventListener("resize", Ht);
70353
70353
  }), [Ht]);
70354
70354
  const ie = Jt([]), ne = Gt(() => {
70355
- ie.current = Object.values(G.current).filter(Boolean).map((Ut) => {
70356
- const $t = Ut.getBoundingClientRect();
70357
- return { id: Ut.id, top: $t.top, left: $t.left, right: $t.right, bottom: $t.bottom };
70355
+ ie.current = Object.values(G.current).filter(Boolean).map((kt) => {
70356
+ const $t = kt.getBoundingClientRect();
70357
+ return { id: kt.id, top: $t.top, left: $t.left, right: $t.right, bottom: $t.bottom };
70358
70358
  });
70359
70359
  }, []);
70360
70360
  Dt(() => (ne(), window.addEventListener("resize", ne), () => {
70361
70361
  window.removeEventListener("resize", ne);
70362
70362
  }), [ne]);
70363
- const Me = (Ut, $t) => {
70364
- const me = new Map(Ut.map((Ee) => [Ee.id, { ...Ee }]));
70363
+ const Me = (kt, $t) => {
70364
+ const me = new Map(kt.map((Ee) => [Ee.id, { ...Ee }]));
70365
70365
  return $t.forEach((Ee) => {
70366
70366
  me.has(Ee.id) ? me.get(Ee.id).points += Ee.points : me.set(Ee.id, { ...Ee });
70367
70367
  }), Array.from(me.values());
70368
70368
  }, He = Gt(
70369
- (Ut) => {
70369
+ (kt) => {
70370
70370
  k("score");
70371
- const $t = Ut ? [...Ut] : [...B];
70371
+ const $t = kt ? [...kt] : [...B];
70372
70372
  u({
70373
70373
  type: "addPoints",
70374
70374
  complex: !0,
@@ -70380,15 +70380,15 @@ function ait({
70380
70380
  ), xe = Gt(() => {
70381
70381
  M(""), C(!1), x(!1), u({ type: "hidePuzzleButtons", payload: !1 });
70382
70382
  }, [u]), we = Gt(
70383
- (Ut, $t = !1) => {
70384
- Ut && M(Ut), $t && C(!0), x(!0), u({ type: "hidePuzzleButtons", payload: !0 }), nt();
70383
+ (kt, $t = !1) => {
70384
+ kt && M(kt), $t && C(!0), x(!0), u({ type: "hidePuzzleButtons", payload: !0 }), nt();
70385
70385
  },
70386
70386
  [u, nt]
70387
70387
  ), _n = Gt(() => {
70388
70388
  n.solution.right.desc && (nt(), M(n.solution.right.desc));
70389
- const Ut = Me(B, n.solution.right.rewards);
70390
- L([...Ut]), we(null, !0), n.solution.right.desc === "" && setTimeout(() => {
70391
- xe(), He(Ut);
70389
+ const kt = Me(B, n.solution.right.rewards);
70390
+ L([...kt]), we(null, !0), n.solution.right.desc === "" && setTimeout(() => {
70391
+ xe(), He(kt);
70392
70392
  }, 3e3);
70393
70393
  }, [
70394
70394
  B,
@@ -70399,9 +70399,9 @@ function ait({
70399
70399
  we,
70400
70400
  He
70401
70401
  ]), Fn = Gt(
70402
- (Ut, $t) => {
70402
+ (kt, $t) => {
70403
70403
  const me = i == null ? void 0 : i.correctFeedbacks.find(
70404
- (Je) => Je.id === Ut.id
70404
+ (Je) => Je.id === kt.id
70405
70405
  ), Ee = Me(B, me.rewards);
70406
70406
  L([...Ee]), me.desc && we(me.desc, !0), !me.desc && $t && (we(null, !0), setTimeout(() => {
70407
70407
  xe(), He(Ee);
@@ -70416,16 +70416,16 @@ function ait({
70416
70416
  ]
70417
70417
  ), It = Gt(() => {
70418
70418
  var $t;
70419
- const Ut = Me(B, n.solution.wrong.rewards);
70420
- L([...Ut]), n.solution.wrong.desc && we(($t = n.solution.wrong) == null ? void 0 : $t.desc, !1);
70421
- }, [B, n.solution.wrong.desc, n.solution.wrong.rewards, we]), ae = (Ut, $t) => {
70419
+ const kt = Me(B, n.solution.wrong.rewards);
70420
+ L([...kt]), n.solution.wrong.desc && we(($t = n.solution.wrong) == null ? void 0 : $t.desc, !1);
70421
+ }, [B, n.solution.wrong.desc, n.solution.wrong.rewards, we]), ae = (kt, $t) => {
70422
70422
  setTimeout(() => {
70423
- $t.classList.remove("sort-draggable-item--error"), $t.classList.add("sort-draggable-item--resetting"), $t.style.setProperty("transform", Ut.transform), setTimeout(() => $t.classList.remove("sort-draggable-item--resetting"), 1e3);
70423
+ $t.classList.remove("sort-draggable-item--error"), $t.classList.add("sort-draggable-item--resetting"), $t.style.setProperty("transform", kt.transform), setTimeout(() => $t.classList.remove("sort-draggable-item--resetting"), 1e3);
70424
70424
  }, 1e3);
70425
- }, ye = (Ut) => {
70426
- if (Ut === "none")
70425
+ }, ye = (kt) => {
70426
+ if (kt === "none")
70427
70427
  return { x: 0, y: 0 };
70428
- const me = Ut.replace("matrix(", "").replace("matrix3d(", "").replace(")", "").split(", ");
70428
+ const me = kt.replace("matrix(", "").replace("matrix3d(", "").replace(")", "").split(", ");
70429
70429
  return me.length === 6 ? {
70430
70430
  x: parseFloat(me[4]),
70431
70431
  // translateX
@@ -70438,29 +70438,29 @@ function ait({
70438
70438
  // translateY
70439
70439
  // The 'z' value (tz) would be values[14], but it is omitted for 2D translation.
70440
70440
  } : { x: 0, y: 0 };
70441
- }, zt = Jt(), qt = Jt(), re = Jt(), Ge = Jt(), Ze = (Ut, $t) => {
70441
+ }, zt = Jt(), qt = Jt(), re = Jt(), Ge = Jt(), Ze = (kt, $t) => {
70442
70442
  zt.current = $t;
70443
- const me = Ut.currentTarget;
70443
+ const me = kt.currentTarget;
70444
70444
  me.classList.add("sort-draggable-item--dragging");
70445
- const Ee = Ut.touches ? Ut.touches[0].clientX : Ut.clientX, Je = Ut.touches ? Ut.touches[0].clientY : Ut.clientY;
70445
+ const Ee = kt.touches ? kt.touches[0].clientX : kt.clientX, Je = kt.touches ? kt.touches[0].clientY : kt.clientY;
70446
70446
  qt.current = Ee, re.current = Je;
70447
70447
  const Vn = window.getComputedStyle(me).getPropertyValue("transform");
70448
70448
  Ge.current = ye(Vn);
70449
- }, Kt = Gt((Ut, $t) => {
70449
+ }, Kt = Gt((kt, $t) => {
70450
70450
  if (zt.current && zt.current === $t) {
70451
- const me = Ot.current.clientHeight / jt.current.clientHeight, Ee = I.current[$t], Je = Ee.getBoundingClientRect(), Ft = Ee.parentElement.getBoundingClientRect(), Zt = (Ut.touches ? Ut.touches[0].clientX : Ut.clientX) - qt.current, ue = (Ut.touches ? Ut.touches[0].clientY : Ut.clientY) - re.current, ze = (Ft.width - Je.width) / me, ve = (Ft.height - Je.height) / me, Oe = Math.min(Math.max(Ge.current.x + Zt / me, 0), ze), Wn = Math.min(Math.max(Ge.current.y + ue / me, 0), ve);
70451
+ const me = Ot.current.clientHeight / jt.current.clientHeight, Ee = I.current[$t], Je = Ee.getBoundingClientRect(), Ft = Ee.parentElement.getBoundingClientRect(), Zt = (kt.touches ? kt.touches[0].clientX : kt.clientX) - qt.current, ue = (kt.touches ? kt.touches[0].clientY : kt.clientY) - re.current, ze = (Ft.width - Je.width) / me, ve = (Ft.height - Je.height) / me, Oe = Math.min(Math.max(Ge.current.x + Zt / me, 0), ze), Wn = Math.min(Math.max(Ge.current.y + ue / me, 0), ve);
70452
70452
  Ee.style.transform = `translate(${Oe}px, ${Wn}px)`;
70453
70453
  }
70454
- }, []), oe = (Ut, $t) => {
70455
- const Ee = I.current[Ut].getBoundingClientRect(), Je = ie.current.find((Ft) => Ft.id === $t && !(Ee.left >= Ft.right || Ee.right <= Ft.left || Ee.top >= Ft.bottom || Ee.bottom <= Ft.top)), Vn = ie.current.find((Ft) => Ft.id !== $t && !(Ee.left >= Ft.right || Ee.right <= Ft.left || Ee.top >= Ft.bottom || Ee.bottom <= Ft.top));
70454
+ }, []), oe = (kt, $t) => {
70455
+ const Ee = I.current[kt].getBoundingClientRect(), Je = ie.current.find((Ft) => Ft.id === $t && !(Ee.left >= Ft.right || Ee.right <= Ft.left || Ee.top >= Ft.bottom || Ee.bottom <= Ft.top)), Vn = ie.current.find((Ft) => Ft.id !== $t && !(Ee.left >= Ft.right || Ee.right <= Ft.left || Ee.top >= Ft.bottom || Ee.bottom <= Ft.top));
70456
70456
  return Je ? "correctArea" : Vn ? "incorrectArea" : "neutral";
70457
70457
  }, fe = Gt(
70458
- (Ut) => {
70459
- if (zt.current && zt.current === Ut) {
70458
+ (kt) => {
70459
+ if (zt.current && zt.current === kt) {
70460
70460
  k("click-ui");
70461
- const $t = I.current[Ut], me = c.find((Ee) => Ut === Ee.id);
70461
+ const $t = I.current[kt], me = c.find((Ee) => kt === Ee.id);
70462
70462
  if (qt.current = null, re.current = null, $t.classList.remove("sort-draggable-item--dragging"), zt.current = null, v !== "resolveMode") {
70463
- const Ee = oe(Ut, me.destination.id);
70463
+ const Ee = oe(kt, me.destination.id);
70464
70464
  if (Ee === "correctArea") {
70465
70465
  if (v === "anyItemResolver" && (k("score"), nt(), $t.classList.add("sort-draggable-item--success"), i.specificCorrectFeedbacks ? (N(!0), Fn(me, !0)) : _n()), v === "matchMode")
70466
70466
  if (k("score"), $t.classList.add("sort-draggable-item--success"), xt.current.find(
@@ -70498,20 +70498,20 @@ function ait({
70498
70498
  v
70499
70499
  ]
70500
70500
  ), zn = () => {
70501
- let Ut = !1;
70501
+ let kt = !1;
70502
70502
  nt(), c.forEach(($t) => {
70503
70503
  const me = I.current[$t.id];
70504
70504
  if ($t.destination.id)
70505
- oe($t.id, $t.destination.id) !== "correctArea" ? (Ut = !0, me.classList.add("sort-draggable-item--error"), ae($t, me)) : me.classList.add("sort-draggable-item--success");
70505
+ oe($t.id, $t.destination.id) !== "correctArea" ? (kt = !0, me.classList.add("sort-draggable-item--error"), ae($t, me)) : me.classList.add("sort-draggable-item--success");
70506
70506
  else {
70507
70507
  const Ee = me.getBoundingClientRect();
70508
- ie.current.find((Vn) => !(Ee.left >= Vn.right || Ee.right <= Vn.left || Ee.top >= Vn.bottom || Ee.bottom <= Vn.top)) && (Ut = !0, me.classList.add("sort-draggable-item--error"), ae($t, me));
70508
+ ie.current.find((Vn) => !(Ee.left >= Vn.right || Ee.right <= Vn.left || Ee.top >= Vn.bottom || Ee.bottom <= Vn.top)) && (kt = !0, me.classList.add("sort-draggable-item--error"), ae($t, me));
70509
70509
  }
70510
- }), Ut ? (k("fail"), It()) : (k("score"), N(!0), _n());
70510
+ }), kt ? (k("fail"), It()) : (k("score"), N(!0), _n());
70511
70511
  }, ce = () => {
70512
- c.forEach((Ut) => {
70513
- const $t = I.current[Ut.id];
70514
- $t.classList.remove("sort-draggable-item--error"), $t.classList.remove("sort-draggable-item--success"), $t.classList.add("sort-draggable-item--resetting"), $t.style.setProperty("transform", Ut.transform), setTimeout(() => $t.classList.remove("sort-draggable-item--resetting"), 1e3);
70512
+ c.forEach((kt) => {
70513
+ const $t = I.current[kt.id];
70514
+ $t.classList.remove("sort-draggable-item--error"), $t.classList.remove("sort-draggable-item--success"), $t.classList.add("sort-draggable-item--resetting"), $t.style.setProperty("transform", kt.transform), setTimeout(() => $t.classList.remove("sort-draggable-item--resetting"), 1e3);
70515
70515
  });
70516
70516
  }, _e = () => {
70517
70517
  xe(), et && (ht(), ce(), W(!0)), !et && !O && ot(), O && He();
@@ -70519,11 +70519,11 @@ function ait({
70519
70519
  Dt(() => {
70520
70520
  r(() => {
70521
70521
  k("score"), nt(), C(!0), M(n.solution.right.desc);
70522
- const Ut = [...B, ...n.resolve.rewards];
70522
+ const kt = [...B, ...n.resolve.rewards];
70523
70523
  xe(), u({
70524
70524
  type: "puzzleAction",
70525
70525
  action: "resolve",
70526
- payload: { element: E, rewards: Ut, finish: !0 }
70526
+ payload: { element: E, rewards: kt, finish: !0 }
70527
70527
  });
70528
70528
  });
70529
70529
  }, [
@@ -70539,9 +70539,9 @@ function ait({
70539
70539
  ]), Dt(() => {
70540
70540
  if (!Ot.current || !jt.current)
70541
70541
  return;
70542
- const Ut = (me) => Kt(me, zt.current), $t = () => fe(zt.current);
70543
- return document.addEventListener("mousemove", Ut), document.addEventListener("mouseup", $t), document.addEventListener("touchmove", Ut, { passive: !1 }), document.addEventListener("touchend", $t), () => {
70544
- document.removeEventListener("mousemove", Ut), document.removeEventListener("mouseup", $t), document.removeEventListener("touchmove", Ut), document.removeEventListener("touchend", $t);
70542
+ const kt = (me) => Kt(me, zt.current), $t = () => fe(zt.current);
70543
+ return document.addEventListener("mousemove", kt), document.addEventListener("mouseup", $t), document.addEventListener("touchmove", kt, { passive: !1 }), document.addEventListener("touchend", $t), () => {
70544
+ document.removeEventListener("mousemove", kt), document.removeEventListener("mouseup", $t), document.removeEventListener("touchmove", kt), document.removeEventListener("touchend", $t);
70545
70545
  };
70546
70546
  }, [fe, Kt]);
70547
70547
  const In = {
@@ -70549,62 +70549,64 @@ function ait({
70549
70549
  };
70550
70550
  return /* @__PURE__ */ ut("div", { ref: Ot, className: "sort-wrapper", children: [
70551
70551
  /* @__PURE__ */ ut("div", { ref: jt, className: "sort-puzzle", style: In, children: [
70552
- d.map((Ut) => /* @__PURE__ */ ut(
70552
+ d.map((kt) => /* @__PURE__ */ ut(
70553
70553
  "div",
70554
70554
  {
70555
- id: `${Ut.id}`,
70555
+ id: `${kt.id}`,
70556
70556
  className: "sort-no-draggable-item",
70557
70557
  style: {
70558
- "--height": `${Ut.heightInPercentage}%`,
70559
- "--width": `${Ut.widthInPercentage}%`,
70560
- "--transform": `${Ut.transform}`,
70561
- "--backgroundColor": `${Ut.backgroundColor}`
70558
+ "--height": `${kt.heightInPercentage}%`,
70559
+ "--width": `${kt.widthInPercentage}%`,
70560
+ "--transform": `${kt.transform}`,
70561
+ "--backgroundColor": `${kt.backgroundColor}`,
70562
+ borderRadius: `${kt.borderRadius}`
70562
70563
  },
70563
70564
  children: [
70564
- Ut.imgId && /* @__PURE__ */ U("img", { src: Ut.img.url, alt: Ut.img.name }),
70565
- Ut.text && Ii(Ut.text)
70565
+ kt.imgId && /* @__PURE__ */ U("img", { src: kt.img.url, alt: kt.img.name }),
70566
+ kt.text && Ii(kt.text)
70566
70567
  ]
70567
70568
  },
70568
- Ut.id
70569
+ kt.id
70569
70570
  )),
70570
- l.map((Ut) => /* @__PURE__ */ U(
70571
+ l.map((kt) => /* @__PURE__ */ U(
70571
70572
  "div",
70572
70573
  {
70573
70574
  ref: ($t) => {
70574
- G.current[Ut.id] = $t;
70575
+ G.current[kt.id] = $t;
70575
70576
  },
70576
- id: Ut.id,
70577
+ id: kt.id,
70577
70578
  className: `sort-destination-area ${m ? "sort-destination-area--revelable" : ""}`,
70578
70579
  style: {
70579
- "--height": `${Ut.heightInPercentage}%`,
70580
- "--width": `${Ut.widthInPercentage}%`,
70581
- "--transform": `${Ut.transform}`
70580
+ "--height": `${kt.heightInPercentage}%`,
70581
+ "--width": `${kt.widthInPercentage}%`,
70582
+ "--transform": `${kt.transform}`
70582
70583
  }
70583
70584
  },
70584
- Ut.id
70585
+ kt.id
70585
70586
  )),
70586
- c.map((Ut) => /* @__PURE__ */ ut(
70587
+ c.map((kt) => /* @__PURE__ */ ut(
70587
70588
  "div",
70588
70589
  {
70589
70590
  ref: ($t) => {
70590
- I.current[Ut.id] = $t;
70591
+ I.current[kt.id] = $t;
70591
70592
  },
70592
- id: `${Ut.id}`,
70593
+ id: `${kt.id}`,
70593
70594
  className: "sort-draggable-item",
70594
- onMouseDown: ($t) => Ze($t, Ut.id),
70595
- onTouchStart: ($t) => Ze($t, Ut.id),
70595
+ onMouseDown: ($t) => Ze($t, kt.id),
70596
+ onTouchStart: ($t) => Ze($t, kt.id),
70596
70597
  style: {
70597
- "--height": `${Ut.heightInPercentage}%`,
70598
- "--width": `${Ut.widthInPercentage}%`,
70599
- "--transform": `${Ut.transform}`,
70600
- "--backgroundColor": `${Ut.backgroundColor}`
70598
+ "--height": `${kt.heightInPercentage}%`,
70599
+ "--width": `${kt.widthInPercentage}%`,
70600
+ "--transform": `${kt.transform}`,
70601
+ "--backgroundColor": `${kt.backgroundColor}`,
70602
+ borderRadius: `${kt.borderRadius}`
70601
70603
  },
70602
70604
  children: [
70603
- Ut.imgId && /* @__PURE__ */ U("img", { src: Ut.img.url, alt: Ut.img.name }),
70604
- Ut.text && Ii(Ut.text)
70605
+ kt.imgId && /* @__PURE__ */ U("img", { src: kt.img.url, alt: kt.img.name }),
70606
+ kt.text && Ii(kt.text)
70605
70607
  ]
70606
70608
  },
70607
- Ut.id
70609
+ kt.id
70608
70610
  ))
70609
70611
  ] }),
70610
70612
  v === "resolveMode" && /* @__PURE__ */ U(