@pie-players/pie-tool-answer-eliminator 0.2.0 → 0.2.1

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.
@@ -447,7 +447,6 @@ export class AnswerEliminatorCore {
447
447
  private emitStateChange(): void {
448
448
  const event = new CustomEvent("answer-eliminator-state-change", {
449
449
  detail: {
450
- questionId: this.currentQuestionId,
451
450
  eliminatedCount: this.getEliminatedCount(),
452
451
  },
453
452
  bubbles: true,
@@ -1 +1 @@
1
- {"version":3,"file":"answer-eliminator-core.d.ts","sourceRoot":"","sources":["../answer-eliminator-core.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAK/D;;;GAGG;AACH,qBAAa,oBAAoB;IAChC,OAAO,CAAC,QAAQ,CAAkB;IAClC,OAAO,CAAC,QAAQ,CAAsB;IACtC,OAAO,CAAC,iBAAiB,CAAqB;IAC9C,OAAO,CAAC,cAAc,CAAkC;IACxD,OAAO,CAAC,aAAa,CAAwC;IAC7D,OAAO,CAAC,eAAe,CAAwC;IAC/D,OAAO,CAAC,kBAAkB,CAAiB;IAG3C,OAAO,CAAC,gBAAgB,CAGR;gBAGf,YAAY,GAAE,eAAe,GAAG,MAAM,GAAG,MAAwB,EACjE,eAAe,GAAE,MAAM,GAAG,OAAO,GAAG,QAAkB;IAQvD,OAAO,CAAC,cAAc;IAUtB;;OAEG;IACH,qBAAqB,CAAC,YAAY,EAAE,WAAW,GAAG,IAAI;IAmBtD;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAqBxB;;OAEG;IACH,OAAO,CAAC,kBAAkB;IA4D1B;;OAEG;IACH,iBAAiB,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,aAAa,GAAG,IAAI;IA4BpE;;OAEG;IACH,OAAO,CAAC,eAAe;IA+BvB;;OAEG;IACH,OAAO,CAAC,aAAa;IAsBrB;;OAEG;IACH,QAAQ,IAAI,IAAI;IAchB;;OAEG;IACH,kBAAkB,IAAI,MAAM;IAI5B;;;;OAIG;IACH,mBAAmB,CAAC,KAAK,EAAE,GAAG,EAAE,eAAe,EAAE,MAAM,GAAG,IAAI;IAI9D;;OAEG;IACH,OAAO,CAAC,SAAS;IAcjB;;OAEG;IACH,OAAO,CAAC,YAAY;IAiDpB;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAa5B;;OAEG;IACH,OAAO,CAAC,cAAc;IAStB;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAmC5B;;OAEG;IACH,sBAAsB,IAAI,IAAI;IAI9B;;OAEG;IACH,uBAAuB,IAAI,IAAI;IAI/B;;;;OAIG;IACH,OAAO,IAAI,IAAI;IAYf;;OAEG;IACH,OAAO,CAAC,eAAe;IAWvB;;OAEG;IACH,OAAO,IAAI,IAAI;CAIf"}
1
+ {"version":3,"file":"answer-eliminator-core.d.ts","sourceRoot":"","sources":["../answer-eliminator-core.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAK/D;;;GAGG;AACH,qBAAa,oBAAoB;IAChC,OAAO,CAAC,QAAQ,CAAkB;IAClC,OAAO,CAAC,QAAQ,CAAsB;IACtC,OAAO,CAAC,iBAAiB,CAAqB;IAC9C,OAAO,CAAC,cAAc,CAAkC;IACxD,OAAO,CAAC,aAAa,CAAwC;IAC7D,OAAO,CAAC,eAAe,CAAwC;IAC/D,OAAO,CAAC,kBAAkB,CAAiB;IAG3C,OAAO,CAAC,gBAAgB,CAGR;gBAGf,YAAY,GAAE,eAAe,GAAG,MAAM,GAAG,MAAwB,EACjE,eAAe,GAAE,MAAM,GAAG,OAAO,GAAG,QAAkB;IAQvD,OAAO,CAAC,cAAc;IAUtB;;OAEG;IACH,qBAAqB,CAAC,YAAY,EAAE,WAAW,GAAG,IAAI;IAmBtD;;OAEG;IACH,OAAO,CAAC,gBAAgB;IAqBxB;;OAEG;IACH,OAAO,CAAC,kBAAkB;IA4D1B;;OAEG;IACH,iBAAiB,CAAC,MAAM,EAAE,WAAW,EAAE,OAAO,EAAE,aAAa,GAAG,IAAI;IA4BpE;;OAEG;IACH,OAAO,CAAC,eAAe;IA+BvB;;OAEG;IACH,OAAO,CAAC,aAAa;IAsBrB;;OAEG;IACH,QAAQ,IAAI,IAAI;IAchB;;OAEG;IACH,kBAAkB,IAAI,MAAM;IAI5B;;;;OAIG;IACH,mBAAmB,CAAC,KAAK,EAAE,GAAG,EAAE,eAAe,EAAE,MAAM,GAAG,IAAI;IAI9D;;OAEG;IACH,OAAO,CAAC,SAAS;IAcjB;;OAEG;IACH,OAAO,CAAC,YAAY;IAiDpB;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAa5B;;OAEG;IACH,OAAO,CAAC,cAAc;IAStB;;OAEG;IACH,OAAO,CAAC,oBAAoB;IAmC5B;;OAEG;IACH,sBAAsB,IAAI,IAAI;IAI9B;;OAEG;IACH,uBAAuB,IAAI,IAAI;IAI/B;;;;OAIG;IACH,OAAO,IAAI,IAAI;IAYf;;OAEG;IACH,OAAO,CAAC,eAAe;IAUvB;;OAEG;IACH,OAAO,IAAI,IAAI;CAIf"}
@@ -184,9 +184,9 @@ function yt(t, e) {
184
184
  }
185
185
  throw t;
186
186
  }
187
- const qr = -7169;
187
+ const Br = -7169;
188
188
  function T(t, e) {
189
- t.f = t.f & qr | e;
189
+ t.f = t.f & Br | e;
190
190
  }
191
191
  function Yt(t) {
192
192
  (t.f & z) !== 0 || t.deps === null ? T(t, O) : T(t, he);
@@ -204,7 +204,7 @@ function Sn(t, e, n) {
204
204
  }
205
205
  const lt = /* @__PURE__ */ new Set();
206
206
  let A = null, V = null, D = [], St = null, Nt = !1, Ke = !1;
207
- var Fe, qe, Se, Be, et, tt, Ce, De, ne, Lt, Ft, Cn;
207
+ var Fe, Be, Se, qe, et, tt, Ce, De, ne, Lt, Ft, Cn;
208
208
  const Ut = class Ut {
209
209
  constructor() {
210
210
  b(this, ne);
@@ -231,7 +231,7 @@ const Ut = class Ut {
231
231
  * If a fork is discarded, we need to destroy any effects that are no longer needed
232
232
  * @type {Set<(batch: Batch) => void>}
233
233
  */
234
- b(this, qe, /* @__PURE__ */ new Set());
234
+ b(this, Be, /* @__PURE__ */ new Set());
235
235
  /**
236
236
  * The number of async effects that are currently in flight
237
237
  */
@@ -239,7 +239,7 @@ const Ut = class Ut {
239
239
  /**
240
240
  * The number of async effects that are currently in flight, _not_ inside a pending boundary
241
241
  */
242
- b(this, Be, 0);
242
+ b(this, qe, 0);
243
243
  /**
244
244
  * A deferred that resolves when the batch is committed, used with `settled()`
245
245
  * TODO replace with Promise.withResolvers once supported widely enough
@@ -266,7 +266,7 @@ const Ut = class Ut {
266
266
  b(this, De, !1);
267
267
  }
268
268
  is_deferred() {
269
- return this.is_fork || o(this, Be) > 0;
269
+ return this.is_fork || o(this, qe) > 0;
270
270
  }
271
271
  /**
272
272
  *
@@ -310,22 +310,22 @@ const Ut = class Ut {
310
310
  this.deactivate();
311
311
  }
312
312
  discard() {
313
- for (const e of o(this, qe)) e(this);
314
- o(this, qe).clear();
313
+ for (const e of o(this, Be)) e(this);
314
+ o(this, Be).clear();
315
315
  }
316
316
  /**
317
317
  *
318
318
  * @param {boolean} blocking
319
319
  */
320
320
  increment(e) {
321
- _(this, Se, o(this, Se) + 1), e && _(this, Be, o(this, Be) + 1);
321
+ _(this, Se, o(this, Se) + 1), e && _(this, qe, o(this, qe) + 1);
322
322
  }
323
323
  /**
324
324
  *
325
325
  * @param {boolean} blocking
326
326
  */
327
327
  decrement(e) {
328
- _(this, Se, o(this, Se) - 1), e && _(this, Be, o(this, Be) - 1), !o(this, De) && (_(this, De, !0), Le(() => {
328
+ _(this, Se, o(this, Se) - 1), e && _(this, qe, o(this, qe) - 1), !o(this, De) && (_(this, De, !0), Le(() => {
329
329
  _(this, De, !1), this.is_deferred() ? D.length > 0 && this.flush() : this.revive();
330
330
  }));
331
331
  }
@@ -342,7 +342,7 @@ const Ut = class Ut {
342
342
  }
343
343
  /** @param {(batch: Batch) => void} fn */
344
344
  ondiscard(e) {
345
- o(this, qe).add(e);
345
+ o(this, Be).add(e);
346
346
  }
347
347
  settled() {
348
348
  return (o(this, et) ?? _(this, et, _r())).promise;
@@ -359,7 +359,7 @@ const Ut = class Ut {
359
359
  apply() {
360
360
  }
361
361
  };
362
- Fe = new WeakMap(), qe = new WeakMap(), Se = new WeakMap(), Be = new WeakMap(), et = new WeakMap(), tt = new WeakMap(), Ce = new WeakMap(), De = new WeakMap(), ne = new WeakSet(), /**
362
+ Fe = new WeakMap(), Be = new WeakMap(), Se = new WeakMap(), qe = new WeakMap(), et = new WeakMap(), tt = new WeakMap(), Ce = new WeakMap(), De = new WeakMap(), ne = new WeakSet(), /**
363
363
  * Traverse the effect tree, executing effects or stashing
364
364
  * them for later execution as appropriate
365
365
  * @param {Effect} root
@@ -452,7 +452,7 @@ function An() {
452
452
  var n = ue.ensure();
453
453
  if (e++ > 1e3) {
454
454
  var r, i;
455
- Br();
455
+ qr();
456
456
  }
457
457
  n.process(D), _e.clear();
458
458
  }
@@ -460,7 +460,7 @@ function An() {
460
460
  Nt = !1, St = null;
461
461
  }
462
462
  }
463
- function Br() {
463
+ function qr() {
464
464
  try {
465
465
  $r();
466
466
  } catch (t) {
@@ -563,7 +563,7 @@ var Mr = vt | Ye | Ht;
563
563
  function Pr(t, e, n) {
564
564
  new jr(t, e, n);
565
565
  }
566
- var B, nt, J, Ae, X, j, N, Z, se, de, ke, le, Me, xe, Pe, je, oe, wt, $, Rn, On, qt, at, ut, Bt;
566
+ var q, nt, J, Ae, X, j, N, Z, se, de, ke, le, Me, xe, Pe, je, oe, wt, $, Rn, On, Bt, at, ut, qt;
567
567
  class jr {
568
568
  /**
569
569
  * @param {TemplateNode} node
@@ -576,7 +576,7 @@ class jr {
576
576
  g(this, "parent");
577
577
  g(this, "is_pending", !1);
578
578
  /** @type {TemplateNode} */
579
- b(this, B);
579
+ b(this, q);
580
580
  /** @type {TemplateNode | null} */
581
581
  b(this, nt, ee ? M : null);
582
582
  /** @type {BoundaryProps} */
@@ -614,7 +614,7 @@ class jr {
614
614
  b(this, wt, Dr(() => (_(this, oe, Ct(o(this, ke))), () => {
615
615
  _(this, oe, null);
616
616
  })));
617
- _(this, B, e), _(this, J, n), _(this, Ae, r), this.parent = /** @type {Effect} */
617
+ _(this, q, e), _(this, J, n), _(this, Ae, r), this.parent = /** @type {Effect} */
618
618
  w.b, this.is_pending = !!o(this, J).pending, _(this, X, Xr(() => {
619
619
  if (w.b = this, ee) {
620
620
  const s = o(this, nt);
@@ -622,7 +622,7 @@ class jr {
622
622
  s.nodeType === $t && /** @type {Comment} */
623
623
  s.data === an ? C(this, $, On).call(this) : (C(this, $, Rn).call(this), o(this, le) === 0 && (this.is_pending = !1));
624
624
  } else {
625
- var i = C(this, $, qt).call(this);
625
+ var i = C(this, $, Bt).call(this);
626
626
  try {
627
627
  _(this, j, we(() => r(i)));
628
628
  } catch (s) {
@@ -633,7 +633,7 @@ class jr {
633
633
  return () => {
634
634
  o(this, de)?.remove();
635
635
  };
636
- }, Mr)), ee && _(this, B, M);
636
+ }, Mr)), ee && _(this, q, M);
637
637
  }
638
638
  /**
639
639
  * Defer an effect inside a pending boundary until the boundary resolves
@@ -659,8 +659,8 @@ class jr {
659
659
  * @param {1 | -1} d
660
660
  */
661
661
  update_pending_count(e) {
662
- C(this, $, Bt).call(this, e), _(this, ke, o(this, ke) + e), !(!o(this, oe) || o(this, Me)) && (_(this, Me, !0), Le(() => {
663
- _(this, Me, !1), o(this, oe) && qn(o(this, oe), o(this, ke));
662
+ C(this, $, qt).call(this, e), _(this, ke, o(this, ke) + e), !(!o(this, oe) || o(this, Me)) && (_(this, Me, !0), Le(() => {
663
+ _(this, Me, !1), o(this, oe) && Bn(o(this, oe), o(this, ke));
664
664
  }));
665
665
  }
666
666
  get_effect_pending() {
@@ -687,7 +687,7 @@ class jr {
687
687
  }
688
688
  i = !0, s && xr(), ue.ensure(), _(this, ke, 0), o(this, Z) !== null && ft(o(this, Z), () => {
689
689
  _(this, Z, null);
690
- }), this.is_pending = this.has_pending_snippet(), _(this, j, C(this, $, at).call(this, () => (_(this, xe, !1), we(() => o(this, Ae).call(this, o(this, B)))))), o(this, le) > 0 ? C(this, $, ut).call(this) : this.is_pending = !1;
690
+ }), this.is_pending = this.has_pending_snippet(), _(this, j, C(this, $, at).call(this, () => (_(this, xe, !1), we(() => o(this, Ae).call(this, o(this, q)))))), o(this, le) > 0 ? C(this, $, ut).call(this) : this.is_pending = !1;
691
691
  };
692
692
  Le(() => {
693
693
  try {
@@ -700,7 +700,7 @@ class jr {
700
700
  try {
701
701
  return we(() => {
702
702
  r(
703
- o(this, B),
703
+ o(this, q),
704
704
  () => e,
705
705
  () => l
706
706
  );
@@ -718,16 +718,16 @@ class jr {
718
718
  });
719
719
  }
720
720
  }
721
- B = new WeakMap(), nt = new WeakMap(), J = new WeakMap(), Ae = new WeakMap(), X = new WeakMap(), j = new WeakMap(), N = new WeakMap(), Z = new WeakMap(), se = new WeakMap(), de = new WeakMap(), ke = new WeakMap(), le = new WeakMap(), Me = new WeakMap(), xe = new WeakMap(), Pe = new WeakMap(), je = new WeakMap(), oe = new WeakMap(), wt = new WeakMap(), $ = new WeakSet(), Rn = function() {
721
+ q = new WeakMap(), nt = new WeakMap(), J = new WeakMap(), Ae = new WeakMap(), X = new WeakMap(), j = new WeakMap(), N = new WeakMap(), Z = new WeakMap(), se = new WeakMap(), de = new WeakMap(), ke = new WeakMap(), le = new WeakMap(), Me = new WeakMap(), xe = new WeakMap(), Pe = new WeakMap(), je = new WeakMap(), oe = new WeakMap(), wt = new WeakMap(), $ = new WeakSet(), Rn = function() {
722
722
  try {
723
- _(this, j, we(() => o(this, Ae).call(this, o(this, B))));
723
+ _(this, j, we(() => o(this, Ae).call(this, o(this, q))));
724
724
  } catch (e) {
725
725
  this.error(e);
726
726
  }
727
727
  }, On = function() {
728
728
  const e = o(this, J).pending;
729
- e && (_(this, N, we(() => e(o(this, B)))), Le(() => {
730
- var n = C(this, $, qt).call(this);
729
+ e && (_(this, N, we(() => e(o(this, q)))), Le(() => {
730
+ var n = C(this, $, Bt).call(this);
731
731
  _(this, j, C(this, $, at).call(this, () => (ue.ensure(), we(() => o(this, Ae).call(this, n))))), o(this, le) > 0 ? C(this, $, ut).call(this) : (ft(
732
732
  /** @type {Effect} */
733
733
  o(this, N),
@@ -736,9 +736,9 @@ B = new WeakMap(), nt = new WeakMap(), J = new WeakMap(), Ae = new WeakMap(), X
736
736
  }
737
737
  ), this.is_pending = !1);
738
738
  }));
739
- }, qt = function() {
740
- var e = o(this, B);
741
- return this.is_pending && (_(this, de, Pn()), o(this, B).before(o(this, de)), e = o(this, de)), e;
739
+ }, Bt = function() {
740
+ var e = o(this, q);
741
+ return this.is_pending && (_(this, de, Pn()), o(this, q).before(o(this, de)), e = o(this, de)), e;
742
742
  }, /**
743
743
  * @param {() => Effect | null} fn
744
744
  */
@@ -760,16 +760,16 @@ at = function(e) {
760
760
  o(this, j) !== null && (_(this, se, document.createDocumentFragment()), o(this, se).append(
761
761
  /** @type {TemplateNode} */
762
762
  o(this, de)
763
- ), ti(o(this, j), o(this, se))), o(this, N) === null && _(this, N, we(() => e(o(this, B))));
763
+ ), ti(o(this, j), o(this, se))), o(this, N) === null && _(this, N, we(() => e(o(this, q))));
764
764
  }, /**
765
765
  * Updates the pending count associated with the currently visible pending snippet,
766
766
  * if any, such that we can replace the snippet with content once work is done
767
767
  * @param {1 | -1} d
768
768
  */
769
- Bt = function(e) {
769
+ qt = function(e) {
770
770
  var n;
771
771
  if (!this.has_pending_snippet()) {
772
- this.parent && C(n = this.parent, $, Bt).call(n, e);
772
+ this.parent && C(n = this.parent, $, qt).call(n, e);
773
773
  return;
774
774
  }
775
775
  if (_(this, le, o(this, le) + e), o(this, le) === 0) {
@@ -780,7 +780,7 @@ Bt = function(e) {
780
780
  T(r, he), ve(r);
781
781
  o(this, Pe).clear(), o(this, je).clear(), o(this, N) && ft(o(this, N), () => {
782
782
  _(this, N, null);
783
- }), o(this, se) && (o(this, B).before(o(this, se)), _(this, se, null));
783
+ }), o(this, se) && (o(this, q).before(o(this, se)), _(this, se, null));
784
784
  }
785
785
  };
786
786
  // @__NO_SIDE_EFFECTS__
@@ -882,9 +882,9 @@ function k(t, e, n = !1) {
882
882
  // to ensure we error if state is set inside an inspect effect
883
883
  (!W || (v.f & Kt) !== 0) && bn() && (v.f & (x | ce | dn | Kt)) !== 0 && (G === null || !He.call(G, t)) && kr();
884
884
  let r = n ? We(e) : e;
885
- return qn(t, r);
885
+ return Bn(t, r);
886
886
  }
887
- function qn(t, e) {
887
+ function Bn(t, e) {
888
888
  if (!t.equals(e)) {
889
889
  var n = t.v;
890
890
  me ? _e.set(t, e) : _e.set(t, n), t.v = e;
@@ -896,7 +896,7 @@ function qn(t, e) {
896
896
  );
897
897
  (t.f & F) !== 0 && zt(i), Yt(i);
898
898
  }
899
- t.wv = Qn(), Bn(t, F), w !== null && (w.f & O) !== 0 && (w.f & (fe | be)) === 0 && (P === null ? ni([t]) : P.push(t)), !r.is_fork && Dt.size > 0 && !Fn && Gr();
899
+ t.wv = Qn(), qn(t, F), w !== null && (w.f & O) !== 0 && (w.f & (fe | be)) === 0 && (P === null ? ni([t]) : P.push(t)), !r.is_fork && Dt.size > 0 && !Fn && Gr();
900
900
  }
901
901
  return e;
902
902
  }
@@ -909,7 +909,7 @@ function Gr() {
909
909
  function Qe(t) {
910
910
  k(t, t.v + 1);
911
911
  }
912
- function Bn(t, e) {
912
+ function qn(t, e) {
913
913
  var n = t.reactions;
914
914
  if (n !== null)
915
915
  for (var r = n.length, i = 0; i < r; i++) {
@@ -919,7 +919,7 @@ function Bn(t, e) {
919
919
  /** @type {Derived} */
920
920
  s
921
921
  );
922
- V?.delete(u), (l & Re) === 0 && (l & z && (s.f |= Re), Bn(u, he));
922
+ V?.delete(u), (l & Re) === 0 && (l & z && (s.f |= Re), qn(u, he));
923
923
  } else a && ((l & ce) !== 0 && ie !== null && ie.add(
924
924
  /** @type {Effect} */
925
925
  s
@@ -1292,7 +1292,7 @@ let G = null;
1292
1292
  function Wn(t) {
1293
1293
  v !== null && (G === null ? G = [t] : G.push(t));
1294
1294
  }
1295
- let L = null, q = 0, P = null;
1295
+ let L = null, B = 0, P = null;
1296
1296
  function ni(t) {
1297
1297
  P = t;
1298
1298
  }
@@ -1346,9 +1346,9 @@ function Jn(t, e, n = !0) {
1346
1346
  }
1347
1347
  function Xn(t) {
1348
1348
  var I;
1349
- var e = L, n = q, r = P, i = v, s = G, l = U, a = W, u = Te, c = t.f;
1349
+ var e = L, n = B, r = P, i = v, s = G, l = U, a = W, u = Te, c = t.f;
1350
1350
  L = /** @type {null | Value[]} */
1351
- null, q = 0, P = null, v = (c & (fe | be)) === 0 ? t : null, G = null, mt(t.ctx), W = !1, Te = ++$e, t.ac !== null && (jn(() => {
1351
+ null, B = 0, P = null, v = (c & (fe | be)) === 0 ? t : null, G = null, mt(t.ctx), W = !1, Te = ++$e, t.ac !== null && (jn(() => {
1352
1352
  t.ac.abort(pn);
1353
1353
  }), t.ac = null);
1354
1354
  try {
@@ -1359,15 +1359,15 @@ function Xn(t) {
1359
1359
  ), f = h(), d = t.deps, p = A?.is_fork;
1360
1360
  if (L !== null) {
1361
1361
  var m;
1362
- if (p || bt(t, q), d !== null && q > 0)
1363
- for (d.length = q + L.length, m = 0; m < L.length; m++)
1364
- d[q + m] = L[m];
1362
+ if (p || bt(t, B), d !== null && B > 0)
1363
+ for (d.length = B + L.length, m = 0; m < L.length; m++)
1364
+ d[B + m] = L[m];
1365
1365
  else
1366
1366
  t.deps = d = L;
1367
1367
  if (Gt() && (t.f & z) !== 0)
1368
- for (m = q; m < d.length; m++)
1368
+ for (m = B; m < d.length; m++)
1369
1369
  ((I = d[m]).reactions ?? (I.reactions = [])).push(t);
1370
- } else !p && d !== null && q < d.length && (bt(t, q), d.length = q);
1370
+ } else !p && d !== null && B < d.length && (bt(t, B), d.length = B);
1371
1371
  if (bn() && P !== null && !W && d !== null && (t.f & (x | he | F)) === 0)
1372
1372
  for (m = 0; m < /** @type {Source[]} */
1373
1373
  P.length; m++)
@@ -1390,7 +1390,7 @@ function Xn(t) {
1390
1390
  } catch (S) {
1391
1391
  return En(S);
1392
1392
  } finally {
1393
- t.f ^= It, L = e, q = n, P = r, v = i, G = s, mt(l), W = a, Te = u;
1393
+ t.f ^= It, L = e, B = n, P = r, v = i, G = s, mt(l), W = a, Te = u;
1394
1394
  }
1395
1395
  }
1396
1396
  function ri(t, e) {
@@ -1443,7 +1443,7 @@ function y(t) {
1443
1443
  if (!r && (G === null || !He.call(G, t))) {
1444
1444
  var i = v.deps;
1445
1445
  if ((v.f & It) !== 0)
1446
- t.rv < $e && (t.rv = $e, L === null && i !== null && i[q] === t ? q++ : L === null ? L = [t] : L.push(t));
1446
+ t.rv < $e && (t.rv = $e, L === null && i !== null && i[B] === t ? B++ : L === null ? L = [t] : L.push(t));
1447
1447
  else {
1448
1448
  (v.deps ?? (v.deps = [])).push(t);
1449
1449
  var s = t.reactions;
@@ -2666,7 +2666,6 @@ class Ei {
2666
2666
  emitStateChange() {
2667
2667
  const e = new CustomEvent("answer-eliminator-state-change", {
2668
2668
  detail: {
2669
- questionId: this.currentQuestionId,
2670
2669
  eliminatedCount: this.getEliminatedCount()
2671
2670
  },
2672
2671
  bubbles: !0