@pocketprep/ui-kit 3.5.13 → 3.5.14

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.
@@ -4,7 +4,7 @@ var q = (e, t, s) => $1(e, typeof t != "symbol" ? t + "" : t, s);
4
4
  import { Prop as ie, Component as ke, Vue as De, Emit as Fe, Watch as mt } from "vue-facing-decorator";
5
5
  import { resolveDirective as it, withDirectives as ae, createElementBlock as _, openBlock as J, renderSlot as Ee, createElementVNode as se, createTextVNode as Qe, toDisplayString as ye, withModifiers as Ge, withKeys as _e, normalizeClass as ve, normalizeStyle as st, vModelText as mn, createStaticVNode as ut, defineComponent as pt, resolveComponent as Le, createBlock as we, createCommentVNode as Me, createVNode as Ye, unref as j, ref as He, Fragment as tt, renderList as at, withCtx as Ue, vShow as vn, computed as Te, inject as qe, mergeModels as yn, useModel as wn, onMounted as no, watch as Gt, useTemplateRef as ai, onBeforeUnmount as Ws, provide as Ve, nextTick as ea } from "vue";
6
6
  import ta from "litepicker";
7
- const ia = "1439", oa = "1279", sa = "1023", na = "767", ra = "374", aa = "319", la = "#fff", ha = "#30485a", da = "#fff9ef", ua = "#fbfbfd", ca = "#f4f5f9", pa = "#edeef3", ga = "#dfe3e7", fa = "#bce6dc", Aa = "#88a3b6", Ca = "#708a9d", ma = "#587183", va = "#475967", ya = "#1f3545", wa = "#0064ff", Ma = "#0059E5", La = "#cfe1ff", ba = "#056c50", Ba = "#14ca9e", Ea = "#00b584", ka = "#c7f2e8", Da = "#e7f9f5", xa = "#e52525", Ia = "#ff6363", Pa = "#ff6e87", Ga = "#ffcdcd", Qa = "#ffefef", Ya = "#a67214", Oa = "#ffbd47", Ra = "#c78e27", Sa = "#ffe4b6", Ta = "#fff2d9", ja = "#fff6e5", Ha = "#9906a8", za = "#d819eb", Fa = "#ef51ff", Na = "#fef1ff", Za = "#a7c7ff", Ja = "#6e4700", Wa = "#049875", Ua = "#008263", Ka = "#ff4747", Xa = "#d00", qa = "#ad00eb", Va = "#ad00eb", _a = "#c238f3", $a = "#ffce74", el = "#293e4e", tl = "#1c2f3c", il = "#0f1d28", ol = "#2e80ff", sl = "#064fc1", nl = "#00664a", rl = "#ff889d", al = "#edeef3", ll = "#dfe3e7", hl = "#587183", dl = "#475967", ul = "#1c2f3c", cl = "#182a36", pl = "#0f1d28", gl = "#03101b", fl = "#eef5ff", Al = "#2e80ff", Cl = "#043580", ml = "#005AE5", vl = "#ffedcb", yl = "#ffa400", wl = "#fef1ff", Ml = "#d96dff", Ll = "#d10fe5", bl = "#ad00eb", Bl = "#9906a8", El = "#ffefef", kl = "#ffcdcd", Dl = "#ff4747", xl = "#d00", Il = "#edfbf8", Pl = "#14ca9e", Gl = "#00b584", Ql = "#00a87a", Yl = "#00654a", Ol = "#ff5e3e", Rl = "#ff7d63", Sl = "#ce8500", Je = {
7
+ const ia = "1439", oa = "1279", sa = "1023", na = "767", ra = "374", aa = "319", la = "#fff", ha = "#30485a", da = "#fff9ef", ua = "#fbfbfd", ca = "#f4f5f9", pa = "#edeef3", ga = "#dfe3e7", fa = "#bce6dc", Aa = "#88a3b6", Ca = "#708a9d", ma = "#587183", va = "#475967", ya = "#1f3545", wa = "#0064ff", Ma = "#0059E5", La = "#cfe1ff", ba = "#056c50", Ba = "#14ca9e", Ea = "#00b584", ka = "#c7f2e8", Da = "#e7f9f5", xa = "#e52525", Ia = "#ff6363", Pa = "#ff6e87", Ga = "#ffcdcd", Qa = "#ffefef", Ya = "#a67214", Oa = "#ffbd47", Ra = "#c78e27", Sa = "#ffe4b6", Ta = "#fff2d9", ja = "#fff6e5", Ha = "#9906a8", za = "#d819eb", Fa = "#ef51ff", Na = "#fef1ff", Za = "#a7c7ff", Ja = "#6e4700", Wa = "#049875", Ua = "#008263", Ka = "#ff4747", Xa = "#d00", qa = "#ad00eb", Va = "#ad00eb", _a = "#c238f3", $a = "#ffce74", el = "#293e4e", tl = "#1c2f3c", il = "#0f1d28", ol = "#2e80ff", sl = "#064fc1", nl = "#00664a", rl = "#ff889d", al = "#edeef3", ll = "#dfe3e7", hl = "#587183", dl = "#475967", ul = "#1c2f3c", cl = "#182a36", pl = "#0f1d28", gl = "#03101b", fl = "#eef5ff", Al = "#2e80ff", Cl = "#043580", ml = "#005AE5", vl = "#ffedcb", yl = "#ffa400", wl = "#fef1ff", Ml = "#d96dff", Ll = "#d10fe5", bl = "#ad00eb", Bl = "#9906a8", El = "#ffefef", kl = "#ffcdcd", Dl = "#ff4747", xl = "#d00", Il = "#edfbf8", Pl = "#14ca9e", Gl = "#00b584", Ql = "#00a87a", Yl = "#00654a", Ol = "#ff5e3e", Rl = "#ff7d63", Sl = "#ce8500", Ze = {
8
8
  polarBear: ia,
9
9
  grizzlyBear: oa,
10
10
  brownBear: sa,
@@ -290,12 +290,12 @@ var Fs = Hl();
290
290
  const pi = (e, t, s) => {
291
291
  var Q;
292
292
  const o = [];
293
- window.matchMedia(`(max-width: ${Je.blackBear}px)`).matches && o.push("black-bear"), window.matchMedia(`(max-width: ${Je.brownBear}px)`).matches && o.push("brown-bear");
293
+ window.matchMedia(`(max-width: ${Ze.blackBear}px)`).matches && o.push("black-bear"), window.matchMedia(`(max-width: ${Ze.brownBear}px)`).matches && o.push("brown-bear");
294
294
  const i = ["black-bear", "brown-bear"], n = s ? s.getBoundingClientRect().width : e.getBoundingClientRect().width, r = [], O = (t == null ? void 0 : t.breakpoints) || {
295
- mobile: Number(Je.blackBear),
296
- "tablet-portrait": Number(Je.brownBear),
297
- "tablet-landscape": Number(Je.grizzlyBear),
298
- desktop: Number(Je.polarBear)
295
+ mobile: Number(Ze.blackBear),
296
+ "tablet-portrait": Number(Ze.brownBear),
297
+ "tablet-landscape": Number(Ze.grizzlyBear),
298
+ desktop: Number(Ze.polarBear)
299
299
  };
300
300
  Object.entries(O).forEach(([I, A]) => {
301
301
  i.push(I), n <= A && r.push(I);
@@ -8660,7 +8660,7 @@ let xt = class extends De {
8660
8660
  text: this.title,
8661
8661
  align: "left",
8662
8662
  style: {
8663
- color: this.isDarkMode ? Je.fog : Je.brandBlack
8663
+ color: this.isDarkMode ? Ze.fog : Ze.brandBlack
8664
8664
  }
8665
8665
  },
8666
8666
  xAxis: {
@@ -8681,7 +8681,7 @@ let xt = class extends De {
8681
8681
  }
8682
8682
  },
8683
8683
  colors: [
8684
- this.barColor ? this.barColor || "" : this.isDarkMode ? Je.grayBackground || "" : Je.brandBlack || ""
8684
+ this.barColor ? this.barColor || "" : this.isDarkMode ? Ze.grayBackground || "" : Ze.brandBlack || ""
8685
8685
  ],
8686
8686
  plotOptions: {
8687
8687
  series: {
@@ -8700,11 +8700,11 @@ let xt = class extends De {
8700
8700
  {
8701
8701
  type: "column",
8702
8702
  data: this.data,
8703
- borderColor: this.barColor ? this.barColor : this.isDarkMode ? Je.grayBackground : Je.brandBlack,
8703
+ borderColor: this.barColor ? this.barColor : this.isDarkMode ? Ze.grayBackground : Ze.brandBlack,
8704
8704
  states: {
8705
8705
  hover: {
8706
- borderColor: Je.bananaBread,
8707
- color: Je.bananaBread
8706
+ borderColor: Ze.bananaBread,
8707
+ color: Ze.bananaBread
8708
8708
  }
8709
8709
  }
8710
8710
  }
@@ -8731,7 +8731,7 @@ let xt = class extends De {
8731
8731
  }
8732
8732
  }, o.xAxis = {
8733
8733
  tickLength: 0,
8734
- lineColor: this.isDarkMode ? Je.ash : Je.fog,
8734
+ lineColor: this.isDarkMode ? Ze.ash : Ze.fog,
8735
8735
  labels: {
8736
8736
  enabled: !1
8737
8737
  }
@@ -8739,7 +8739,7 @@ let xt = class extends De {
8739
8739
  min: 0,
8740
8740
  max: 100,
8741
8741
  opposite: !0,
8742
- gridLineColor: this.isDarkMode ? Je.ash : Je.fog,
8742
+ gridLineColor: this.isDarkMode ? Ze.ash : Ze.fog,
8743
8743
  plotLines: this.data.length > 1 && !this.hideAverageLine ? [
8744
8744
  {
8745
8745
  dashStyle: "Dash",
@@ -8748,7 +8748,7 @@ let xt = class extends De {
8748
8748
  ),
8749
8749
  width: 2,
8750
8750
  zIndex: 5,
8751
- color: Je.electricViolet
8751
+ color: Ze.electricViolet
8752
8752
  }
8753
8753
  ] : [],
8754
8754
  labels: {
@@ -8756,7 +8756,7 @@ let xt = class extends De {
8756
8756
  y: 4,
8757
8757
  style: {
8758
8758
  textAlign: "right",
8759
- color: this.isDarkMode ? "rgba(255, 255, 255, 0.85)" : Je.ash
8759
+ color: this.isDarkMode ? "rgba(255, 255, 255, 0.85)" : Ze.ash
8760
8760
  },
8761
8761
  formatter: this.formatterFunc || function() {
8762
8762
  return this.value === 0 ? `${String(this.value)}%` : `
@@ -8886,16 +8886,16 @@ let Vt = class extends De {
8886
8886
  }
8887
8887
  },
8888
8888
  series: {
8889
- color: Je.brandBlue,
8889
+ color: Ze.brandBlue,
8890
8890
  borderWidth: 3
8891
8891
  }
8892
8892
  },
8893
8893
  series: [{
8894
8894
  colors: [
8895
- Je.green || "",
8896
- Je.butterscotch || "",
8897
- Je.electricViolet || "",
8898
- Je.brandBlue || ""
8895
+ Ze.green || "",
8896
+ Ze.butterscotch || "",
8897
+ Ze.electricViolet || "",
8898
+ Ze.brandBlue || ""
8899
8899
  ],
8900
8900
  type: "pie",
8901
8901
  data: this.data
@@ -16444,27 +16444,27 @@ let Js = class extends De {
16444
16444
  q(this, "colors", {
16445
16445
  grayscale: {
16446
16446
  color1: "#647D8F",
16447
- color2: Je.brandBlack
16447
+ color2: Ze.brandBlack
16448
16448
  },
16449
16449
  silver: {
16450
- color1: Je.white,
16451
- color2: Je.grayDivider
16450
+ color1: Ze.white,
16451
+ color2: Ze.grayDivider
16452
16452
  },
16453
16453
  red: {
16454
16454
  color1: "#FF4747",
16455
- color2: Je.redPegasus
16455
+ color2: Ze.redPegasus
16456
16456
  },
16457
16457
  purple: {
16458
16458
  color1: "#CE45FF",
16459
- color2: Je.vibrantPurple
16459
+ color2: Ze.vibrantPurple
16460
16460
  },
16461
16461
  green: {
16462
16462
  color1: "#05A881",
16463
- color2: Je.spectralGreen
16463
+ color2: Ze.spectralGreen
16464
16464
  },
16465
16465
  blue: {
16466
16466
  color1: "#448EFF",
16467
- color2: Je.brandBlue
16467
+ color2: Ze.brandBlue
16468
16468
  },
16469
16469
  pocketprep: {
16470
16470
  color1: "#0064FF",
@@ -17618,64 +17618,71 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
17618
17618
  name: "Question of the Day",
17619
17619
  shortName: "qotd",
17620
17620
  icon: "calendar",
17621
- iconColor: Je.cadaverous,
17622
- iconColorDM: Je.jungleGreen
17621
+ iconColor: Ze.cadaverous,
17622
+ iconColorDM: Ze.jungleGreen
17623
17623
  },
17624
17624
  0: {
17625
17625
  name: "Quick 10",
17626
17626
  shortName: "quick10",
17627
17627
  icon: "quick10",
17628
- iconColor: Je.cosmos,
17629
- iconColorDM: Je.orchid
17628
+ iconColor: Ze.cosmos,
17629
+ iconColorDM: Ze.orchid
17630
17630
  },
17631
17631
  2: {
17632
17632
  name: "Missed Questions",
17633
17633
  shortName: "missed",
17634
17634
  icon: "missedQuestions",
17635
17635
  iconColor: "#EC0000",
17636
- iconColorDM: Je.rosa
17636
+ iconColorDM: Ze.rosa
17637
17637
  },
17638
17638
  3: {
17639
17639
  name: "Weakest Subject",
17640
17640
  shortName: "weakest",
17641
17641
  icon: "subject",
17642
17642
  iconColor: "#EC0000",
17643
- iconColorDM: Je.rosa
17643
+ iconColorDM: Ze.rosa
17644
17644
  },
17645
17645
  4: {
17646
17646
  name: "Timed Quiz",
17647
17647
  shortName: "timed",
17648
17648
  icon: "stopwatch",
17649
- iconColor: Je.brandBlue,
17649
+ iconColor: Ze.brandBlue,
17650
17650
  iconColorDM: "#4C92FF"
17651
17651
  },
17652
17652
  5: {
17653
17653
  name: "Mock Exam",
17654
17654
  shortName: "mockExam",
17655
17655
  icon: "exam",
17656
- iconColor: Je.cadaverous,
17657
- iconColorDM: Je.jungleGreen
17656
+ iconColor: Ze.cadaverous,
17657
+ iconColorDM: Ze.jungleGreen
17658
17658
  },
17659
17659
  6: {
17660
17660
  name: "Level Up",
17661
17661
  shortName: "levelUp",
17662
17662
  icon: "levelup",
17663
- iconColor: Je.cosmos,
17664
- iconColorDM: Je.orchid
17663
+ iconColor: Ze.cosmos,
17664
+ iconColorDM: Ze.orchid
17665
17665
  },
17666
17666
  10: {
17667
17667
  name: "Build Your Own",
17668
17668
  shortName: "custom",
17669
17669
  icon: "pencil",
17670
- iconColor: Je.slate,
17671
- iconColorDM: Je.pewter
17670
+ iconColor: Ze.slate,
17671
+ iconColorDM: Ze.pewter
17672
17672
  },
17673
17673
  11: {
17674
17674
  name: "Assignment",
17675
17675
  shortName: "assignment",
17676
17676
  icon: "assignment",
17677
- iconColor: Je.caramel,
17678
- iconColorDM: Je.cheddar
17677
+ iconColor: Ze.caramel,
17678
+ iconColorDM: Ze.cheddar
17679
+ },
17680
+ 12: {
17681
+ name: "Concept Quiz",
17682
+ shortName: "concept",
17683
+ icon: "pencil",
17684
+ iconColor: Ze.slate,
17685
+ iconColorDM: Ze.pewter
17679
17686
  }
17680
17687
  }, N1 = (e) => e.replace(/[/\-\\^$*+?.()|[\]{}]/g, "\\$&"), ho = (e) => e.keywordDefinitions.length ? e.keywordDefinitions.map((s) => s.keyword).reduce((s, o) => {
17681
17688
  const i = new RegExp(`(\\W)(${N1(o)})(\\W)`, "i");
@@ -18557,7 +18564,7 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
18557
18564
  matrixAnswerKeys: Z,
18558
18565
  selectedMatrixChoices: x,
18559
18566
  isTeachGroupReview: Q
18560
- } = Xt(), I = He(void 0), A = He(void 0), g = Je, c = Te(() => {
18567
+ } = Xt(), I = He(void 0), A = He(void 0), g = Ze, c = Te(() => {
18561
18568
  var P;
18562
18569
  return (P = u.value) == null ? void 0 : P.map((S) => S.map(() => !1));
18563
18570
  }), d = Te(() => {
@@ -18928,7 +18935,7 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
18928
18935
  showMatrixAnswers: F,
18929
18936
  matrixAnswerKeys: Z,
18930
18937
  selectedMatrixChoices: x
18931
- } = Xt(), Q = He(void 0), I = He(void 0), A = He([]), g = He([]), c = Je, d = (E) => {
18938
+ } = Xt(), Q = He(void 0), I = He(void 0), A = He([]), g = He([]), c = Ze, d = (E) => {
18932
18939
  if (E) {
18933
18940
  const z = document.createElement("div");
18934
18941
  return z.innerHTML = E, z.textContent || "";
@@ -19362,10 +19369,10 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19362
19369
  if (!pe)
19363
19370
  return Ie;
19364
19371
  Ie.totalAnswered += (pe.answeredCorrectlyCount || 0) + (pe.answeredIncorrectlyCount || 0), Ie.answeredCorrectly += pe.answeredCorrectlyCount || 0;
19365
- const Ne = (D.value && !s.reviewMode && C.value.length || 0) + Object.values(pe.choiceStats).reduce((Ze, ot) => (ot || 0) + (Ze || 0), 0);
19366
- return Ce.value.forEach(({ key: Ze }) => {
19367
- const ot = pe.choiceStats[Ze] || 0, Ii = D.value && C.value.includes(Ze) && !s.reviewMode ? 1 : 0, Pi = ot + Ii, ci = Math.round(Pi / Ne * 100);
19368
- Ie[Ze] = ci || 0;
19372
+ const Ne = (D.value && !s.reviewMode && C.value.length || 0) + Object.values(pe.choiceStats).reduce((Je, ot) => (ot || 0) + (Je || 0), 0);
19373
+ return Ce.value.forEach(({ key: Je }) => {
19374
+ const ot = pe.choiceStats[Je] || 0, Ii = D.value && C.value.includes(Je) && !s.reviewMode ? 1 : 0, Pi = ot + Ii, ci = Math.round(Pi / Ne * 100);
19375
+ Ie[Je] = ci || 0;
19369
19376
  }), Ie;
19370
19377
  }), le = Te(() => {
19371
19378
  const pe = s.globalMetrics, Ie = {
@@ -19376,12 +19383,12 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19376
19383
  }), de = Te(() => {
19377
19384
  if (f.value) {
19378
19385
  const pe = b.value.map((Ne) => {
19379
- var Ze;
19386
+ var Je;
19380
19387
  if (Ne)
19381
- return Number((Ze = Ne.split("_")[0]) == null ? void 0 : Ze.slice(1));
19388
+ return Number((Je = Ne.split("_")[0]) == null ? void 0 : Je.slice(1));
19382
19389
  });
19383
- return (s.question.matrixChoiceLayout || []).every((Ne, Ze) => {
19384
- const ot = Ze + 1;
19390
+ return (s.question.matrixChoiceLayout || []).every((Ne, Je) => {
19391
+ const ot = Je + 1;
19385
19392
  return pe.includes(ot);
19386
19393
  });
19387
19394
  }
@@ -19449,11 +19456,11 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19449
19456
  }, Pe = (pe) => {
19450
19457
  const Ie = pe.target;
19451
19458
  if (Ie.classList.contains("keyword-highlight")) {
19452
- const Se = Ie.innerText.trim(), Ne = Ie.getAttribute("data-location"), Ze = { x: pe.clientX, y: pe.clientY };
19459
+ const Se = Ie.innerText.trim(), Ne = Ie.getAttribute("data-location"), Je = { x: pe.clientX, y: pe.clientY };
19453
19460
  o("keyword-click", {
19454
19461
  keyword: Se,
19455
19462
  location: Ne,
19456
- clickLocation: Ze,
19463
+ clickLocation: Je,
19457
19464
  target: Ie
19458
19465
  });
19459
19466
  }
@@ -19468,12 +19475,12 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19468
19475
  }, ze = (pe) => {
19469
19476
  const Ie = pe.sort((Se, Ne) => {
19470
19477
  var Pi, ci;
19471
- const Ze = (Zt, qt) => (qt << 5) - qt + Zt.charCodeAt(0), ot = (Pi = Se.text) == null ? void 0 : Pi.split("").reduce((Zt, qt) => Ze(qt, Zt) & Ze(qt, Zt), 0), Ii = (ci = Ne.text) == null ? void 0 : ci.split("").reduce((Zt, qt) => Ze(qt, Zt) & Ze(qt, Zt), 0);
19478
+ const Je = (Zt, qt) => (qt << 5) - qt + Zt.charCodeAt(0), ot = (Pi = Se.text) == null ? void 0 : Pi.split("").reduce((Zt, qt) => Je(qt, Zt) & Je(qt, Zt), 0), Ii = (ci = Ne.text) == null ? void 0 : ci.split("").reduce((Zt, qt) => Je(qt, Zt) & Je(qt, Zt), 0);
19472
19479
  return (ot || 0) - (Ii || 0);
19473
19480
  });
19474
19481
  return s.answerSeed ? s.answerSeed.reduce((Se, Ne) => {
19475
- const Ze = Ie[Ne];
19476
- return Ze && Se.push(Ze), Se;
19482
+ const Je = Ie[Ne];
19483
+ return Je && Se.push(Je), Se;
19477
19484
  }, []) : Ie;
19478
19485
  }, ct = (pe) => {
19479
19486
  const Ie = pe.relatedTarget;
@@ -19493,19 +19500,19 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19493
19500
  }, bt = (pe) => {
19494
19501
  var Ie, Se;
19495
19502
  if (pe.cancelable) {
19496
- const Ne = ((Ie = pe == null ? void 0 : pe.changedTouches[0]) == null ? void 0 : Ie.clientY) || null, Ze = ((Se = pe == null ? void 0 : pe.changedTouches[0]) == null ? void 0 : Se.clientX) || null;
19497
- Ne !== null && Ze !== null && L.value.y !== null && L.value.x !== null && Math.abs(Ze - L.value.x) > 26 && (pe.stopPropagation(), pe.preventDefault());
19503
+ const Ne = ((Ie = pe == null ? void 0 : pe.changedTouches[0]) == null ? void 0 : Ie.clientY) || null, Je = ((Se = pe == null ? void 0 : pe.changedTouches[0]) == null ? void 0 : Se.clientX) || null;
19504
+ Ne !== null && Je !== null && L.value.y !== null && L.value.x !== null && Math.abs(Je - L.value.x) > 26 && (pe.stopPropagation(), pe.preventDefault());
19498
19505
  }
19499
19506
  }, Bt = (pe) => {
19500
19507
  var ot, Ii, Pi;
19501
- const Ie = pe.choiceKey, Se = pe.event, Ne = Se.target, Ze = {
19508
+ const Ie = pe.choiceKey, Se = pe.event, Ne = Se.target, Je = {
19502
19509
  x: ((ot = Se == null ? void 0 : Se.changedTouches[0]) == null ? void 0 : ot.clientX) || null,
19503
19510
  y: ((Ii = Se == null ? void 0 : Se.changedTouches[0]) == null ? void 0 : Ii.clientY) || null
19504
19511
  };
19505
- if (Ne instanceof HTMLElement && Ze.x !== null && Ze.y !== null && L.value.x !== null && Math.abs(Ze.x - L.value.x) > 80) {
19506
- const ci = (Pi = a == null ? void 0 : a.value) == null ? void 0 : Pi.choiceEls, Zt = ci == null ? void 0 : ci.find((V1) => V1.contains(Ne)), qt = document.elementFromPoint(Ze.x, Ze.y);
19512
+ if (Ne instanceof HTMLElement && Je.x !== null && Je.y !== null && L.value.x !== null && Math.abs(Je.x - L.value.x) > 80) {
19513
+ const ci = (Pi = a == null ? void 0 : a.value) == null ? void 0 : Pi.choiceEls, Zt = ci == null ? void 0 : ci.find((V1) => V1.contains(Ne)), qt = document.elementFromPoint(Je.x, Je.y);
19507
19514
  Zt != null && Zt.contains(qt) && tn(Ie);
19508
- } else D.value || (Se.cancelable && Se.preventDefault(), Ze.y !== null && L.value.y !== null && Math.abs(Ze.y - L.value.y) < 20 && St(Ie));
19515
+ } else D.value || (Se.cancelable && Se.preventDefault(), Je.y !== null && L.value.y !== null && Math.abs(Je.y - L.value.y) < 20 && St(Ie));
19509
19516
  L.value = { x: null, y: null };
19510
19517
  }, tn = (pe) => {
19511
19518
  if (D.value)
@@ -19519,7 +19526,7 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19519
19526
  Se !== -1 && C.value.splice(Se, 1);
19520
19527
  }
19521
19528
  }, St = (pe, Ie) => {
19522
- var Ne, Ze;
19529
+ var Ne, Je;
19523
19530
  if (D.value)
19524
19531
  return;
19525
19532
  const Se = C.value.indexOf(pe);
@@ -19532,7 +19539,7 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19532
19539
  }
19533
19540
  if (Ie) {
19534
19541
  const ot = (Ne = a == null ? void 0 : a.value) == null ? void 0 : Ne.choiceEls;
19535
- ot && "length" in ot && ((Ze = ot[0]) == null || Ze.focus());
19542
+ ot && "length" in ot && ((Je = ot[0]) == null || Je.focus());
19536
19543
  }
19537
19544
  }, on = (pe) => {
19538
19545
  H.value || (b.value = pe);
@@ -19545,8 +19552,8 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19545
19552
  }, Ss = () => {
19546
19553
  var pe, Ie, Se;
19547
19554
  if (M.value = !M.value, M.value) {
19548
- const Ne = (pe = y == null ? void 0 : y.value) == null ? void 0 : pe.mcrLongAltEl, Ze = (Ie = a == null ? void 0 : a.value) == null ? void 0 : Ie.mobileImgDropdownImgDescriptionEl;
19549
- Ze != null && Ze.offsetParent && Ze.focus();
19555
+ const Ne = (pe = y == null ? void 0 : y.value) == null ? void 0 : pe.mcrLongAltEl, Je = (Ie = a == null ? void 0 : a.value) == null ? void 0 : Ie.mobileImgDropdownImgDescriptionEl;
19556
+ Je != null && Je.offsetParent && Je.focus();
19550
19557
  const ot = (Se = k == null ? void 0 : k.value) == null ? void 0 : Se.longAltEl;
19551
19558
  Ne != null && Ne.offsetParent ? Ne.focus() : ot != null && ot.offsetParent && ot.focus();
19552
19559
  }
@@ -19556,11 +19563,11 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19556
19563
  const Ne = (Se = k == null ? void 0 : k.value) == null ? void 0 : Se.explanationTitleEl;
19557
19564
  Ne && (Ne == null || Ne.focus());
19558
19565
  } else {
19559
- const Ne = (pe = y == null ? void 0 : y.value) == null ? void 0 : pe.summaryMCRExplanationEl, Ze = (Ie = a == null ? void 0 : a.value) == null ? void 0 : Ie.showExplanationEls;
19566
+ const Ne = (pe = y == null ? void 0 : y.value) == null ? void 0 : pe.summaryMCRExplanationEl, Je = (Ie = a == null ? void 0 : a.value) == null ? void 0 : Ie.showExplanationEls;
19560
19567
  if (Ne)
19561
19568
  Ne == null || Ne.focus();
19562
- else if (Ze) {
19563
- const ot = Ze instanceof Array ? Ze[0] : Ze;
19569
+ else if (Je) {
19570
+ const ot = Je instanceof Array ? Je[0] : Je;
19564
19571
  ot == null || ot.focus();
19565
19572
  }
19566
19573
  }
@@ -19576,8 +19583,8 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19576
19583
  if (Se)
19577
19584
  Se == null || Se.focus();
19578
19585
  else if (Ne) {
19579
- const Ze = Ne instanceof Array ? Ne[0] : Ne;
19580
- Ze == null || Ze.focus();
19586
+ const Je = Ne instanceof Array ? Ne[0] : Ne;
19587
+ Je == null || Je.focus();
19581
19588
  }
19582
19589
  }
19583
19590
  }, W1 = () => {
@@ -19792,11 +19799,11 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19792
19799
  motivationalMoment: Ue(({
19793
19800
  isCorrect: Se,
19794
19801
  choiceKey: Ne,
19795
- showAnswers: Ze,
19802
+ showAnswers: Je,
19796
19803
  answerKeys: ot
19797
19804
  }) => [
19798
19805
  Ee(pe.$slots, "motivationalMoment", {
19799
- showAnswers: Ze,
19806
+ showAnswers: Je,
19800
19807
  answerKeys: ot,
19801
19808
  choiceKey: Ne,
19802
19809
  isCorrect: Se
@@ -19821,11 +19828,11 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19821
19828
  motivationalMoment: Ue(({
19822
19829
  isCorrect: Se,
19823
19830
  choiceKey: Ne,
19824
- showAnswers: Ze,
19831
+ showAnswers: Je,
19825
19832
  answerKeys: ot
19826
19833
  }) => [
19827
19834
  Ee(pe.$slots, "motivationalMoment", {
19828
- showAnswers: Ze,
19835
+ showAnswers: Je,
19829
19836
  answerKeys: ot,
19830
19837
  choiceKey: Ne,
19831
19838
  isCorrect: Se
@@ -19846,11 +19853,11 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19846
19853
  motivationalMoment: Ue(({
19847
19854
  isCorrect: Se,
19848
19855
  choiceKey: Ne,
19849
- showAnswers: Ze,
19856
+ showAnswers: Je,
19850
19857
  answerKeys: ot
19851
19858
  }) => [
19852
19859
  Ee(pe.$slots, "motivationalMoment", {
19853
- showAnswers: Ze,
19860
+ showAnswers: Je,
19854
19861
  answerKeys: ot,
19855
19862
  choiceKey: Ne,
19856
19863
  isCorrect: Se
@@ -20425,7 +20432,7 @@ let oo = class extends De {
20425
20432
  super(...arguments);
20426
20433
  q(this, "tooltipTheme");
20427
20434
  q(this, "isDarkMode");
20428
- q(this, "brandColors", Je);
20435
+ q(this, "brandColors", Ze);
20429
20436
  q(this, "showKeyboardTooltip", !1);
20430
20437
  q(this, "showKeyboardShortcutsModal", !1);
20431
20438
  }
@@ -20498,7 +20505,7 @@ let wi = class extends De {
20498
20505
  q(this, "enableFlagKeyboardShortcut");
20499
20506
  q(this, "enableFlagTooltip");
20500
20507
  q(this, "disabled");
20501
- q(this, "brandColors", Je);
20508
+ q(this, "brandColors", Ze);
20502
20509
  q(this, "showFlagTooltip", !1);
20503
20510
  }
20504
20511
  mounted() {
@@ -20594,7 +20601,7 @@ let hi = class extends De {
20594
20601
  q(this, "customTooltipStyles");
20595
20602
  q(this, "tooltipTheme");
20596
20603
  q(this, "isDarkMode");
20597
- q(this, "brandColors", Je);
20604
+ q(this, "brandColors", Ze);
20598
20605
  q(this, "showGlobalMetricsToolTip", !1);
20599
20606
  }
20600
20607
  toggleGlobalMetrics() {
@@ -20799,7 +20806,7 @@ en([
20799
20806
  ie()
20800
20807
  ], so.prototype, "title", 2);
20801
20808
  en([
20802
- ie({ default: Je.fog })
20809
+ ie({ default: Ze.fog })
20803
20810
  ], so.prototype, "primaryColor", 2);
20804
20811
  so = en([
20805
20812
  ke
@@ -20892,7 +20899,7 @@ let ii = class extends De {
20892
20899
  q(this, "isDarkMode");
20893
20900
  q(this, "customBlobColor");
20894
20901
  q(this, "customIconColor");
20895
- q(this, "brandColors", Je);
20902
+ q(this, "brandColors", Ze);
20896
20903
  }
20897
20904
  get iconType() {
20898
20905
  return this.state === "incorrect" ? "incorrect" : this.state === "correct" ? "correct" : this.state === "flagged" ? "flagFeedback" : this.state === "assignment" ? "assignment" : "activity";