@pocketprep/ui-kit 3.5.14 → 3.5.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,8 @@
1
1
  var _1 = Object.defineProperty;
2
2
  var $1 = (e, t, s) => t in e ? _1(e, t, { enumerable: !0, configurable: !0, writable: !0, value: s }) : e[t] = s;
3
3
  var q = (e, t, s) => $1(e, typeof t != "symbol" ? t + "" : t, s);
4
- import { Prop as ie, Component as ke, Vue as De, Emit as Fe, Watch as mt } from "vue-facing-decorator";
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";
4
+ import { Prop as ie, Component as ke, Vue as De, Emit as Ne, Watch as mt } from "vue-facing-decorator";
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 ri, onBeforeUnmount as Ws, provide as Ve, nextTick as ea } from "vue";
6
6
  import ta from "litepicker";
7
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,
@@ -307,7 +307,7 @@ const pi = (e, t, s) => {
307
307
  F.forEach((I) => {
308
308
  I && (Z.push(...o.map((A) => `${I}--${A}`)), Z.push(...r.map((A) => `${I}--${A}`)));
309
309
  }), G.sort(), Z.sort(), (G.length !== Z.length || G.some((I, A) => I !== Z[A])) && e.setAttribute("class", Z.join(" "));
310
- }, ri = (e) => {
310
+ }, ni = (e) => {
311
311
  var s;
312
312
  return ((s = e.value) == null ? void 0 : s.containerEl) || null;
313
313
  }, Si = {}, Hs = {}, Ao = {}, zl = {
@@ -333,26 +333,26 @@ const pi = (e, t, s) => {
333
333
  const o = e.dataset.breakpointId || Math.floor(Math.random() * 1e8);
334
334
  e.dataset.breakpointId = String(o);
335
335
  const i = () => {
336
- pi(e, t.value, ri(t));
336
+ pi(e, t.value, ni(t));
337
337
  };
338
338
  Si[o] = i, window.addEventListener("resize", i);
339
339
  const n = new MutationObserver(() => {
340
- pi(e, t.value, ri(t));
340
+ pi(e, t.value, ni(t));
341
341
  });
342
342
  Hs[o] = n, n.observe(e, { attributes: !0 });
343
- const r = ri(t);
343
+ const r = ni(t);
344
344
  if (r) {
345
345
  const O = window.ResizeObserver ? new ResizeObserver(() => {
346
- pi(e, t.value, ri(t));
346
+ pi(e, t.value, ni(t));
347
347
  }) : new Fs.ResizeObserver(() => {
348
- pi(e, t.value, ri(t));
348
+ pi(e, t.value, ni(t));
349
349
  });
350
350
  Ao[o] = O, O.observe(r);
351
351
  } else {
352
352
  const O = window.ResizeObserver ? new ResizeObserver(() => {
353
- pi(e, t.value, ri(t));
353
+ pi(e, t.value, ni(t));
354
354
  }) : new Fs.ResizeObserver(() => {
355
- pi(e, t.value, ri(t));
355
+ pi(e, t.value, ni(t));
356
356
  });
357
357
  Ao[o] = O, O.observe(e);
358
358
  }
@@ -361,13 +361,13 @@ const pi = (e, t, s) => {
361
361
  mounted: (e, t) => {
362
362
  var s;
363
363
  (s = t.instance) == null || s.$nextTick(() => {
364
- pi(e, t.value, ri(t));
364
+ pi(e, t.value, ni(t));
365
365
  });
366
366
  },
367
367
  updated: (e, t) => {
368
368
  var s;
369
369
  (s = t.instance) == null || s.$nextTick(() => {
370
- pi(e, t.value, ri(t));
370
+ pi(e, t.value, ni(t));
371
371
  });
372
372
  },
373
373
  unmounted: (e) => {
@@ -8971,10 +8971,10 @@ Ni([
8971
8971
  ie({ default: 1 })
8972
8972
  ], gi.prototype, "defaultOption", 2);
8973
8973
  Ni([
8974
- Fe("change")
8974
+ Ne("change")
8975
8975
  ], gi.prototype, "toggleOption", 1);
8976
8976
  Ni([
8977
- Fe("change")
8977
+ Ne("change")
8978
8978
  ], gi.prototype, "optionClicked", 1);
8979
8979
  gi = Ni([
8980
8980
  ke
@@ -9029,7 +9029,7 @@ Zi([
9029
9029
  ie({ default: "small" })
9030
9030
  ], fi.prototype, "size", 2);
9031
9031
  Zi([
9032
- Fe("update:modelValue")
9032
+ Ne("update:modelValue")
9033
9033
  ], fi.prototype, "toggleOption", 1);
9034
9034
  fi = Zi([
9035
9035
  ke({
@@ -9137,7 +9137,7 @@ Ft([
9137
9137
  mt("sliderValue")
9138
9138
  ], It.prototype, "sliderValueChanged", 1);
9139
9139
  Ft([
9140
- Fe("update:modelValue")
9140
+ Ne("update:modelValue")
9141
9141
  ], It.prototype, "emitUpdateModelValue", 1);
9142
9142
  It = Ft([
9143
9143
  ke({
@@ -12374,7 +12374,7 @@ bi([
12374
12374
  ie({ default: !1 })
12375
12375
  ], _t.prototype, "isLoading", 2);
12376
12376
  bi([
12377
- Fe("click")
12377
+ Ne("click")
12378
12378
  ], _t.prototype, "emitClick", 1);
12379
12379
  _t = bi([
12380
12380
  ke({
@@ -12472,7 +12472,7 @@ Bi([
12472
12472
  ie()
12473
12473
  ], $t.prototype, "checkboxCheckStyles", 2);
12474
12474
  Bi([
12475
- Fe("update:modelValue")
12475
+ Ne("update:modelValue")
12476
12476
  ], $t.prototype, "toggleCheckbox", 1);
12477
12477
  $t = Bi([
12478
12478
  ke({
@@ -12563,7 +12563,7 @@ Wi([
12563
12563
  ie({ default: !1 })
12564
12564
  ], Ci.prototype, "disabled", 2);
12565
12565
  Wi([
12566
- Fe("update:modelValue")
12566
+ Ne("update:modelValue")
12567
12567
  ], Ci.prototype, "emitUpdateModelValue", 1);
12568
12568
  Ci = Wi([
12569
12569
  ke({
@@ -12616,12 +12616,12 @@ function a7(e, t, s, o, i, n) {
12616
12616
  ]) : Me("", !0);
12617
12617
  }
12618
12618
  const Tr = /* @__PURE__ */ be(Ci, [["render", a7]]);
12619
- var l7 = Object.defineProperty, h7 = Object.getOwnPropertyDescriptor, Ei = (e, t, s, o) => {
12619
+ var l7 = Object.defineProperty, h7 = Object.getOwnPropertyDescriptor, Yi = (e, t, s, o) => {
12620
12620
  for (var i = o > 1 ? void 0 : o ? h7(t, s) : t, n = e.length - 1, r; n >= 0; n--)
12621
12621
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
12622
12622
  return o && i && l7(t, s, i), i;
12623
12623
  };
12624
- let ei = class extends De {
12624
+ let ai = class extends De {
12625
12625
  constructor() {
12626
12626
  super(...arguments);
12627
12627
  q(this, "type");
@@ -12632,37 +12632,39 @@ let ei = class extends De {
12632
12632
  q(this, "isDarkMode");
12633
12633
  }
12634
12634
  clicked(s) {
12635
- return this.href === "#" && s.preventDefault(), s;
12635
+ if (this.disabled) {
12636
+ s.preventDefault(), s.stopImmediatePropagation();
12637
+ return;
12638
+ }
12639
+ this.href === "#" && s.preventDefault(), this.$emit("click", s);
12636
12640
  }
12637
12641
  };
12638
- Ei([
12642
+ Yi([
12639
12643
  ie({ default: "tertiary" })
12640
- ], ei.prototype, "type", 2);
12641
- Ei([
12644
+ ], ai.prototype, "type", 2);
12645
+ Yi([
12642
12646
  ie({ default: "#" })
12643
- ], ei.prototype, "href", 2);
12644
- Ei([
12647
+ ], ai.prototype, "href", 2);
12648
+ Yi([
12645
12649
  ie({ default: "_self" })
12646
- ], ei.prototype, "target", 2);
12647
- Ei([
12650
+ ], ai.prototype, "target", 2);
12651
+ Yi([
12648
12652
  ie({ default: !1 })
12649
- ], ei.prototype, "disabled", 2);
12650
- Ei([
12653
+ ], ai.prototype, "disabled", 2);
12654
+ Yi([
12651
12655
  ie({ default: !1 })
12652
- ], ei.prototype, "hasIcon", 2);
12653
- Ei([
12656
+ ], ai.prototype, "hasIcon", 2);
12657
+ Yi([
12654
12658
  ie({ default: !1 })
12655
- ], ei.prototype, "isDarkMode", 2);
12656
- Ei([
12657
- Fe("click")
12658
- ], ei.prototype, "clicked", 1);
12659
- ei = Ei([
12659
+ ], ai.prototype, "isDarkMode", 2);
12660
+ ai = Yi([
12660
12661
  ke({
12661
12662
  directives: {
12662
12663
  dark: Be
12663
- }
12664
+ },
12665
+ emits: ["click"]
12664
12666
  })
12665
- ], ei);
12667
+ ], ai);
12666
12668
  const d7 = ["href", "target"];
12667
12669
  function u7(e, t, s, o, i, n) {
12668
12670
  const r = it("dark");
@@ -12683,7 +12685,7 @@ function u7(e, t, s, o, i, n) {
12683
12685
  [r, e.isDarkMode]
12684
12686
  ]);
12685
12687
  }
12686
- const Ps = /* @__PURE__ */ be(ei, [["render", u7]]), c7 = /* @__PURE__ */ pt({
12688
+ const Ps = /* @__PURE__ */ be(ai, [["render", u7]]), c7 = /* @__PURE__ */ pt({
12687
12689
  __name: "RadioButton",
12688
12690
  props: {
12689
12691
  selected: { type: Boolean },
@@ -12890,7 +12892,7 @@ Ot([
12890
12892
  mt("radioEntries", { deep: !0 })
12891
12893
  ], Et.prototype, "radioOptionChanged", 1);
12892
12894
  Ot([
12893
- Fe("update:modelValue")
12895
+ Ne("update:modelValue")
12894
12896
  ], Et.prototype, "emitUpdateModelValue", 1);
12895
12897
  Et = Ot([
12896
12898
  ke({
@@ -13099,7 +13101,7 @@ Pt([
13099
13101
  mt("radioEntries", { deep: !0 })
13100
13102
  ], Lt.prototype, "radioOptionChanged", 1);
13101
13103
  Pt([
13102
- Fe("update:modelValue")
13104
+ Ne("update:modelValue")
13103
13105
  ], Lt.prototype, "emitUpdateModelValue", 1);
13104
13106
  Lt = Pt([
13105
13107
  ke({
@@ -13176,7 +13178,7 @@ var P7 = Object.defineProperty, G7 = Object.getOwnPropertyDescriptor, ro = (e, t
13176
13178
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
13177
13179
  return o && i && P7(t, s, i), i;
13178
13180
  };
13179
- let Gi = class extends De {
13181
+ let Pi = class extends De {
13180
13182
  constructor() {
13181
13183
  super(...arguments);
13182
13184
  q(this, "disabled");
@@ -13189,23 +13191,23 @@ let Gi = class extends De {
13189
13191
  };
13190
13192
  ro([
13191
13193
  ie({ default: !1 })
13192
- ], Gi.prototype, "disabled", 2);
13194
+ ], Pi.prototype, "disabled", 2);
13193
13195
  ro([
13194
13196
  ie({ default: !1 })
13195
- ], Gi.prototype, "active", 2);
13197
+ ], Pi.prototype, "active", 2);
13196
13198
  ro([
13197
13199
  ie({ default: !1 })
13198
- ], Gi.prototype, "isDarkMode", 2);
13200
+ ], Pi.prototype, "isDarkMode", 2);
13199
13201
  ro([
13200
- Fe("click")
13201
- ], Gi.prototype, "emitClick", 1);
13202
- Gi = ro([
13202
+ Ne("click")
13203
+ ], Pi.prototype, "emitClick", 1);
13204
+ Pi = ro([
13203
13205
  ke({
13204
13206
  directives: {
13205
13207
  dark: Be
13206
13208
  }
13207
13209
  })
13208
- ], Gi);
13210
+ ], Pi);
13209
13211
  const Q7 = ["tabindex"];
13210
13212
  function Y7(e, t, s, o, i, n) {
13211
13213
  const r = it("dark");
@@ -13222,7 +13224,7 @@ function Y7(e, t, s, o, i, n) {
13222
13224
  [r, e.isDarkMode]
13223
13225
  ]);
13224
13226
  }
13225
- const O7 = /* @__PURE__ */ be(Gi, [["render", Y7]]);
13227
+ const O7 = /* @__PURE__ */ be(Pi, [["render", Y7]]);
13226
13228
  var R7 = Object.defineProperty, S7 = Object.getOwnPropertyDescriptor, gt = (e, t, s, o) => {
13227
13229
  for (var i = o > 1 ? void 0 : o ? S7(t, s) : t, n = e.length - 1, r; n >= 0; n--)
13228
13230
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
@@ -13411,16 +13413,16 @@ gt([
13411
13413
  mt("searchText")
13412
13414
  ], dt.prototype, "searchTextChanged", 1);
13413
13415
  gt([
13414
- Fe("update:modelValue")
13416
+ Ne("update:modelValue")
13415
13417
  ], dt.prototype, "emitUpdateModelValue", 1);
13416
13418
  gt([
13417
- Fe("linkClick")
13419
+ Ne("linkClick")
13418
13420
  ], dt.prototype, "emitLinkClick", 1);
13419
13421
  gt([
13420
- Fe("openDropdown")
13422
+ Ne("openDropdown")
13421
13423
  ], dt.prototype, "emitOpenDropdown", 1);
13422
13424
  gt([
13423
- Fe("close")
13425
+ Ne("close")
13424
13426
  ], dt.prototype, "emitClose", 1);
13425
13427
  dt = gt([
13426
13428
  ke({
@@ -13682,7 +13684,7 @@ wt([
13682
13684
  ie({ default: !1 })
13683
13685
  ], Ct.prototype, "hideInputCaret", 2);
13684
13686
  wt([
13685
- Fe("update:modelValue")
13687
+ Ne("update:modelValue")
13686
13688
  ], Ct.prototype, "valueChange", 1);
13687
13689
  Ct = wt([
13688
13690
  ke({
@@ -13882,7 +13884,7 @@ function o6(e, t, s, o, i, n) {
13882
13884
  ])
13883
13885
  ], 8, t6);
13884
13886
  }
13885
- const ki = /* @__PURE__ */ be(ji, [["render", o6]]);
13887
+ const Ei = /* @__PURE__ */ be(ji, [["render", o6]]);
13886
13888
  var s6 = Object.defineProperty, n6 = Object.getOwnPropertyDescriptor, Rt = (e, t, s, o) => {
13887
13889
  for (var i = o > 1 ? void 0 : o ? n6(t, s) : t, n = e.length - 1, r; n >= 0; n--)
13888
13890
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
@@ -13944,13 +13946,13 @@ Rt([
13944
13946
  ie({ default: "" })
13945
13947
  ], kt.prototype, "tooltipText", 2);
13946
13948
  Rt([
13947
- Fe("update:modelValue")
13949
+ Ne("update:modelValue")
13948
13950
  ], kt.prototype, "valueChange", 1);
13949
13951
  kt = Rt([
13950
13952
  ke({
13951
13953
  components: {
13952
13954
  Icon: We,
13953
- Tooltip: ki
13955
+ Tooltip: Ei
13954
13956
  },
13955
13957
  directives: {
13956
13958
  dark: Be
@@ -14207,7 +14209,7 @@ let Ns = class extends De {
14207
14209
  Ns = Y6([
14208
14210
  ke({
14209
14211
  components: {
14210
- Tooltip: ki
14212
+ Tooltip: Ei
14211
14213
  }
14212
14214
  })
14213
14215
  ], Ns);
@@ -14400,19 +14402,19 @@ rt([
14400
14402
  mt("defaultSort")
14401
14403
  ], nt.prototype, "defaultSortChanged", 1);
14402
14404
  rt([
14403
- Fe("sort")
14405
+ Ne("sort")
14404
14406
  ], nt.prototype, "emitSort", 1);
14405
14407
  rt([
14406
- Fe("rowClicked")
14408
+ Ne("rowClicked")
14407
14409
  ], nt.prototype, "emitRowClicked", 1);
14408
14410
  rt([
14409
- Fe("rowEnter")
14411
+ Ne("rowEnter")
14410
14412
  ], nt.prototype, "emitRowEnter", 1);
14411
14413
  rt([
14412
- Fe("rowLeave")
14414
+ Ne("rowLeave")
14413
14415
  ], nt.prototype, "emitRowLeave", 1);
14414
14416
  rt([
14415
- Fe("cellClicked")
14417
+ Ne("cellClicked")
14416
14418
  ], nt.prototype, "emitCellClicked", 1);
14417
14419
  nt = rt([
14418
14420
  ke({
@@ -14704,13 +14706,13 @@ Ys([
14704
14706
  ie({ default: () => [] })
14705
14707
  ], zi.prototype, "actions", 2);
14706
14708
  Ys([
14707
- Fe("actionClicked")
14709
+ Ne("actionClicked")
14708
14710
  ], zi.prototype, "emitActionClicked", 1);
14709
14711
  zi = Ys([
14710
14712
  ke({
14711
14713
  components: {
14712
14714
  Icon: We,
14713
- Tooltip: ki
14715
+ Tooltip: Ei
14714
14716
  }
14715
14717
  })
14716
14718
  ], zi);
@@ -14767,12 +14769,12 @@ function ed(e, t, s, o, i, n) {
14767
14769
  ]);
14768
14770
  }
14769
14771
  const td = /* @__PURE__ */ be(zi, [["render", ed]]);
14770
- var id = Object.defineProperty, od = Object.getOwnPropertyDescriptor, Di = (e, t, s, o) => {
14772
+ var id = Object.defineProperty, od = Object.getOwnPropertyDescriptor, ki = (e, t, s, o) => {
14771
14773
  for (var i = o > 1 ? void 0 : o ? od(t, s) : t, n = e.length - 1, r; n >= 0; n--)
14772
14774
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
14773
14775
  return o && i && id(t, s, i), i;
14774
14776
  };
14775
- let ti = class extends De {
14777
+ let ei = class extends De {
14776
14778
  constructor() {
14777
14779
  super(...arguments);
14778
14780
  q(this, "perPage");
@@ -14792,28 +14794,28 @@ let ti = class extends De {
14792
14794
  return this.$refs.pagination_info.focus(), s === "next" ? this.nextPageDisabled ? this.currentPage : this.currentPage + 1 : s === "first" ? 0 : s === "last" ? Math.floor((this.total - 1) / this.perPage) : Math.max(0, this.currentPage - 1);
14793
14795
  }
14794
14796
  };
14795
- Di([
14797
+ ki([
14796
14798
  ie({ default: 10 })
14797
- ], ti.prototype, "perPage", 2);
14798
- Di([
14799
+ ], ei.prototype, "perPage", 2);
14800
+ ki([
14799
14801
  ie({ default: 0 })
14800
- ], ti.prototype, "currentPage", 2);
14801
- Di([
14802
+ ], ei.prototype, "currentPage", 2);
14803
+ ki([
14802
14804
  ie()
14803
- ], ti.prototype, "total", 2);
14804
- Di([
14805
+ ], ei.prototype, "total", 2);
14806
+ ki([
14805
14807
  ie()
14806
- ], ti.prototype, "unit", 2);
14807
- Di([
14808
+ ], ei.prototype, "unit", 2);
14809
+ ki([
14808
14810
  ie({ default: !1 })
14809
- ], ti.prototype, "isDarkMode", 2);
14810
- Di([
14811
+ ], ei.prototype, "isDarkMode", 2);
14812
+ ki([
14811
14813
  ie({ default: !1 })
14812
- ], ti.prototype, "showFirstAndLastBtn", 2);
14813
- Di([
14814
- Fe("changePage")
14815
- ], ti.prototype, "changePage", 1);
14816
- ti = Di([
14814
+ ], ei.prototype, "showFirstAndLastBtn", 2);
14815
+ ki([
14816
+ Ne("changePage")
14817
+ ], ei.prototype, "changePage", 1);
14818
+ ei = ki([
14817
14819
  ke({
14818
14820
  components: {
14819
14821
  Icon: We
@@ -14822,7 +14824,7 @@ ti = Di([
14822
14824
  dark: Be
14823
14825
  }
14824
14826
  })
14825
- ], ti);
14827
+ ], ei);
14826
14828
  const sd = { class: "uikit-table-pagination" }, nd = {
14827
14829
  ref: "pagination_info",
14828
14830
  class: "uikit-table-pagination__info",
@@ -14899,7 +14901,7 @@ function dd(e, t, s, o, i, n) {
14899
14901
  [O, e.isDarkMode]
14900
14902
  ]);
14901
14903
  }
14902
- const ud = /* @__PURE__ */ be(ti, [["render", dd], ["__scopeId", "data-v-d7030fbe"]]), cd = { class: "uikit-question-review-pagination" }, pd = ["tabindex", "aria-disabled"], gd = { class: "uikit-question-review-pagination__info" }, fd = ["tabindex", "aria-disabled"], Ad = /* @__PURE__ */ pt({
14904
+ const ud = /* @__PURE__ */ be(ei, [["render", dd], ["__scopeId", "data-v-d7030fbe"]]), cd = { class: "uikit-question-review-pagination" }, pd = ["tabindex", "aria-disabled"], gd = { class: "uikit-question-review-pagination__info" }, fd = ["tabindex", "aria-disabled"], Ad = /* @__PURE__ */ pt({
14903
14905
  __name: "QuestionReviewPagination",
14904
14906
  props: {
14905
14907
  currentPage: { default: 0 },
@@ -15030,10 +15032,10 @@ Ut([
15030
15032
  ie({ default: !1 })
15031
15033
  ], Qt.prototype, "disabled", 2);
15032
15034
  Ut([
15033
- Fe("update:modelValue")
15035
+ Ne("update:modelValue")
15034
15036
  ], Qt.prototype, "valueChange", 1);
15035
15037
  Ut([
15036
- Fe("update:modelValue")
15038
+ Ne("update:modelValue")
15037
15039
  ], Qt.prototype, "clearSearch", 1);
15038
15040
  Qt = Ut([
15039
15041
  ke({
@@ -15142,7 +15144,7 @@ Os([
15142
15144
  ie({ default: !1 })
15143
15145
  ], Fi.prototype, "isDarkMode", 2);
15144
15146
  Os([
15145
- Fe("click")
15147
+ Ne("click")
15146
15148
  ], Fi.prototype, "emitClick", 1);
15147
15149
  Fi = Os([
15148
15150
  ke({
@@ -15250,7 +15252,7 @@ var r9 = Object.defineProperty, a9 = Object.getOwnPropertyDescriptor, lo = (e, t
15250
15252
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
15251
15253
  return o && i && r9(t, s, i), i;
15252
15254
  };
15253
- let Qi = class extends De {
15255
+ let Gi = class extends De {
15254
15256
  constructor() {
15255
15257
  super(...arguments);
15256
15258
  q(this, "showCloseButton");
@@ -15267,17 +15269,17 @@ let Qi = class extends De {
15267
15269
  };
15268
15270
  lo([
15269
15271
  ie({ default: !1 })
15270
- ], Qi.prototype, "showCloseButton", 2);
15272
+ ], Gi.prototype, "showCloseButton", 2);
15271
15273
  lo([
15272
15274
  ie({ default: () => ({}) })
15273
- ], Qi.prototype, "customCloseStyles", 2);
15275
+ ], Gi.prototype, "customCloseStyles", 2);
15274
15276
  lo([
15275
15277
  ie({ default: !1 })
15276
- ], Qi.prototype, "isDarkMode", 2);
15278
+ ], Gi.prototype, "isDarkMode", 2);
15277
15279
  lo([
15278
- Fe("close")
15279
- ], Qi.prototype, "emitClose", 1);
15280
- Qi = lo([
15280
+ Ne("close")
15281
+ ], Gi.prototype, "emitClose", 1);
15282
+ Gi = lo([
15281
15283
  ke({
15282
15284
  components: {
15283
15285
  IconClose: Gn
@@ -15286,7 +15288,7 @@ Qi = lo([
15286
15288
  dark: Be
15287
15289
  }
15288
15290
  })
15289
- ], Qi);
15291
+ ], Gi);
15290
15292
  const l9 = { class: "uikit-modal" }, h9 = {
15291
15293
  key: 1,
15292
15294
  class: "uikit-modal__head"
@@ -15317,7 +15319,7 @@ function d9(e, t, s, o, i, n) {
15317
15319
  [O, e.isDarkMode]
15318
15320
  ]);
15319
15321
  }
15320
- const Jr = /* @__PURE__ */ be(Qi, [["render", d9]]);
15322
+ const Jr = /* @__PURE__ */ be(Gi, [["render", d9]]);
15321
15323
  var u9 = Object.defineProperty, c9 = Object.getOwnPropertyDescriptor, di = (e, t, s, o) => {
15322
15324
  for (var i = o > 1 ? void 0 : o ? c9(t, s) : t, n = e.length - 1, r; n >= 0; n--)
15323
15325
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
@@ -15399,13 +15401,13 @@ di([
15399
15401
  ie({ default: !0 })
15400
15402
  ], Jt.prototype, "trapFocus", 2);
15401
15403
  di([
15402
- Fe("close")
15404
+ Ne("close")
15403
15405
  ], Jt.prototype, "emitClose", 1);
15404
15406
  di([
15405
- Fe("mounted")
15407
+ Ne("mounted")
15406
15408
  ], Jt.prototype, "emitMounted", 1);
15407
15409
  di([
15408
- Fe("unmounted")
15410
+ Ne("unmounted")
15409
15411
  ], Jt.prototype, "emitUnmounted", 1);
15410
15412
  di([
15411
15413
  mt("trapFocus")
@@ -15526,13 +15528,13 @@ Ui([
15526
15528
  ie({ default: "" })
15527
15529
  ], mi.prototype, "modelValue", 2);
15528
15530
  Ui([
15529
- Fe("submit")
15531
+ Ne("submit")
15530
15532
  ], mi.prototype, "emitSubmit", 1);
15531
15533
  Ui([
15532
- Fe("error")
15534
+ Ne("error")
15533
15535
  ], mi.prototype, "emitError", 1);
15534
15536
  Ui([
15535
- Fe("update:modelValue")
15537
+ Ne("update:modelValue")
15536
15538
  ], mi.prototype, "emitUpdateModelValue", 1);
15537
15539
  mi = Ui([
15538
15540
  ke
@@ -15566,7 +15568,7 @@ function C9(e, t, s, o, i, n) {
15566
15568
  ], 32);
15567
15569
  }
15568
15570
  const Ur = /* @__PURE__ */ be(mi, [["render", C9]]);
15569
- var m9 = Object.defineProperty, v9 = Object.getOwnPropertyDescriptor, oi = (e, t, s, o) => {
15571
+ var m9 = Object.defineProperty, v9 = Object.getOwnPropertyDescriptor, ii = (e, t, s, o) => {
15570
15572
  for (var i = o > 1 ? void 0 : o ? v9(t, s) : t, n = e.length - 1, r; n >= 0; n--)
15571
15573
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
15572
15574
  return o && i && m9(t, s, i), i;
@@ -15605,34 +15607,34 @@ let Tt = class extends De {
15605
15607
  return s;
15606
15608
  }
15607
15609
  };
15608
- oi([
15610
+ ii([
15609
15611
  ie({ default: "" })
15610
15612
  ], Tt.prototype, "parentError", 2);
15611
- oi([
15613
+ ii([
15612
15614
  ie({ default: !1 })
15613
15615
  ], Tt.prototype, "parentIsLoading", 2);
15614
- oi([
15616
+ ii([
15615
15617
  ie()
15616
15618
  ], Tt.prototype, "email", 2);
15617
- oi([
15619
+ ii([
15618
15620
  ie({ default: "" })
15619
15621
  ], Tt.prototype, "modelValue", 2);
15620
- oi([
15622
+ ii([
15621
15623
  mt("parentError")
15622
15624
  ], Tt.prototype, "parentErrorChanged", 1);
15623
- oi([
15625
+ ii([
15624
15626
  mt("parentIsLoading")
15625
15627
  ], Tt.prototype, "parentIsLoadingChanged", 1);
15626
- oi([
15627
- Fe("submit")
15628
+ ii([
15629
+ Ne("submit")
15628
15630
  ], Tt.prototype, "emitSubmit", 1);
15629
- oi([
15630
- Fe("resend")
15631
+ ii([
15632
+ Ne("resend")
15631
15633
  ], Tt.prototype, "emitResend", 1);
15632
- oi([
15633
- Fe("update:modelValue")
15634
+ ii([
15635
+ Ne("update:modelValue")
15634
15636
  ], Tt.prototype, "emitUpdateModelValue", 1);
15635
- Tt = oi([
15637
+ Tt = ii([
15636
15638
  ke({
15637
15639
  components: {
15638
15640
  Button: vt,
@@ -15730,7 +15732,7 @@ function D9(e, t, s, o, i, n) {
15730
15732
  ]);
15731
15733
  }
15732
15734
  const Rs = /* @__PURE__ */ be(Is, [["render", D9]]);
15733
- var x9 = Object.defineProperty, I9 = Object.getOwnPropertyDescriptor, si = (e, t, s, o) => {
15735
+ var x9 = Object.defineProperty, I9 = Object.getOwnPropertyDescriptor, oi = (e, t, s, o) => {
15734
15736
  for (var i = o > 1 ? void 0 : o ? I9(t, s) : t, n = e.length - 1, r; n >= 0; n--)
15735
15737
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
15736
15738
  return o && i && x9(t, s, i), i;
@@ -15762,34 +15764,34 @@ let jt = class extends De {
15762
15764
  return !0;
15763
15765
  }
15764
15766
  };
15765
- si([
15767
+ oi([
15766
15768
  ie()
15767
15769
  ], jt.prototype, "exam", 2);
15768
- si([
15770
+ oi([
15769
15771
  ie()
15770
15772
  ], jt.prototype, "bundle", 2);
15771
- si([
15773
+ oi([
15772
15774
  ie({ default: !1 })
15773
15775
  ], jt.prototype, "showCancelButton", 2);
15774
- si([
15776
+ oi([
15775
15777
  ie({ default: !1 })
15776
15778
  ], jt.prototype, "disableInteraction", 2);
15777
- si([
15779
+ oi([
15778
15780
  ie({ default: !1 })
15779
15781
  ], jt.prototype, "isPremium", 2);
15780
- si([
15782
+ oi([
15781
15783
  ie({ default: !1 })
15782
15784
  ], jt.prototype, "isSelected", 2);
15783
- si([
15785
+ oi([
15784
15786
  ie({ default: !1 })
15785
15787
  ], jt.prototype, "isDarkMode", 2);
15786
- si([
15787
- Fe("select")
15788
+ oi([
15789
+ Ne("select")
15788
15790
  ], jt.prototype, "emitSelect", 1);
15789
- si([
15790
- Fe("cancel")
15791
+ oi([
15792
+ Ne("cancel")
15791
15793
  ], jt.prototype, "emitCancel", 1);
15792
- jt = si([
15794
+ jt = oi([
15793
15795
  ke({
15794
15796
  directives: {
15795
15797
  dark: Be
@@ -15921,7 +15923,7 @@ Oi([
15921
15923
  ie({ default: () => [] })
15922
15924
  ], li.prototype, "premiumBundleIds", 2);
15923
15925
  Oi([
15924
- Fe("update:modelValue")
15926
+ Ne("update:modelValue")
15925
15927
  ], li.prototype, "emitUpdateModelValue", 1);
15926
15928
  Oi([
15927
15929
  mt("hoverBundleId")
@@ -16065,13 +16067,13 @@ Kt([
16065
16067
  mt("selectedBundle")
16066
16068
  ], Yt.prototype, "selectedBundleChanged", 1);
16067
16069
  Kt([
16068
- Fe("search")
16070
+ Ne("search")
16069
16071
  ], Yt.prototype, "emitSearch", 1);
16070
16072
  Kt([
16071
- Fe("selectBundle")
16073
+ Ne("selectBundle")
16072
16074
  ], Yt.prototype, "emitSelectBundle", 1);
16073
16075
  Kt([
16074
- Fe("select")
16076
+ Ne("select")
16075
16077
  ], Yt.prototype, "emitSelect", 1);
16076
16078
  Yt = Kt([
16077
16079
  ke({
@@ -16265,7 +16267,7 @@ function iu(e, t, s, o, i, n) {
16265
16267
  ]);
16266
16268
  }
16267
16269
  const ou = /* @__PURE__ */ be(Yt, [["render", iu]]);
16268
- var su = Object.defineProperty, nu = Object.getOwnPropertyDescriptor, ni = (e, t, s, o) => {
16270
+ var su = Object.defineProperty, nu = Object.getOwnPropertyDescriptor, si = (e, t, s, o) => {
16269
16271
  for (var i = o > 1 ? void 0 : o ? nu(t, s) : t, n = e.length - 1, r; n >= 0; n--)
16270
16272
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
16271
16273
  return o && i && su(t, s, i), i;
@@ -16288,34 +16290,34 @@ let Ht = class extends De {
16288
16290
  return s;
16289
16291
  }
16290
16292
  };
16291
- ni([
16293
+ si([
16292
16294
  ie()
16293
16295
  ], Ht.prototype, "exam", 2);
16294
- ni([
16296
+ si([
16295
16297
  ie()
16296
16298
  ], Ht.prototype, "bundleId", 2);
16297
- ni([
16299
+ si([
16298
16300
  ie({ default: "color" })
16299
16301
  ], Ht.prototype, "theme", 2);
16300
- ni([
16302
+ si([
16301
16303
  ie({ default: !1 })
16302
16304
  ], Ht.prototype, "isPremium", 2);
16303
- ni([
16305
+ si([
16304
16306
  ie({ default: !1 })
16305
16307
  ], Ht.prototype, "showMenuArrow", 2);
16306
- ni([
16308
+ si([
16307
16309
  ie({ default: "down" })
16308
16310
  ], Ht.prototype, "menuArrowDirection", 2);
16309
- ni([
16311
+ si([
16310
16312
  ie({ default: !0 })
16311
16313
  ], Ht.prototype, "isClickable", 2);
16312
- ni([
16313
- Fe("click")
16314
+ si([
16315
+ Ne("click")
16314
16316
  ], Ht.prototype, "emitClick", 1);
16315
- ni([
16316
- Fe("keydown")
16317
+ si([
16318
+ Ne("keydown")
16317
16319
  ], Ht.prototype, "emitKeydown", 1);
16318
- Ht = ni([
16320
+ Ht = si([
16319
16321
  ke({
16320
16322
  components: {
16321
16323
  BundleIcon: ao,
@@ -16641,19 +16643,19 @@ yt([
16641
16643
  ie({ default: !0 })
16642
16644
  ], At.prototype, "trapFocus", 2);
16643
16645
  yt([
16644
- Fe("close")
16646
+ Ne("close")
16645
16647
  ], At.prototype, "emitClose", 1);
16646
16648
  yt([
16647
- Fe("close-button")
16649
+ Ne("close-button")
16648
16650
  ], At.prototype, "emitCloseButton", 1);
16649
16651
  yt([
16650
- Fe("selectTab")
16652
+ Ne("selectTab")
16651
16653
  ], At.prototype, "emitSelectTab", 1);
16652
16654
  yt([
16653
- Fe("mounted")
16655
+ Ne("mounted")
16654
16656
  ], At.prototype, "emitMounted", 1);
16655
16657
  yt([
16656
- Fe("unmounted")
16658
+ Ne("unmounted")
16657
16659
  ], At.prototype, "emitUnmounted", 1);
16658
16660
  yt([
16659
16661
  mt("trapFocus")
@@ -17227,7 +17229,7 @@ ui([
17227
17229
  ie({ default: !1 })
17228
17230
  ], Wt.prototype, "error", 2);
17229
17231
  ui([
17230
- Fe("update:modelValue")
17232
+ Ne("update:modelValue")
17231
17233
  ], Wt.prototype, "emitUpdateModelValue", 1);
17232
17234
  Wt = ui([
17233
17235
  ke({
@@ -17237,7 +17239,7 @@ Wt = ui([
17237
17239
  components: {
17238
17240
  PocketInput: zr,
17239
17241
  Icon: We,
17240
- Tooltip: ki
17242
+ Tooltip: Ei
17241
17243
  }
17242
17244
  })
17243
17245
  ], Wt);
@@ -19294,7 +19296,7 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19294
19296
  },
19295
19297
  emits: ["keyword-click", "selectedChoices", "close", "upgrade", "submitQuiz", "nextQuestion", "previousQuestion", "checkAnswer", "update:showExplanation"],
19296
19298
  setup(e, { emit: t }) {
19297
- const s = e, o = t, i = Te(() => s.question), n = Te(() => s.quizLength), r = Te(() => s.isDarkMode), O = Te(() => s.quizMode), G = Te(() => s.questionNumber), F = Te(() => s.imageUrlPrefix), Z = Te(() => s.globalMetrics), x = Te(() => s.reviewMode), Q = Te(() => s.hideReferences), I = Te(() => s.keywordDefinitions), A = Te(() => s.showPaywall), g = Te(() => s.isTeachGroupReview), c = He(null), d = He(null), u = He([]), C = He([]), b = He([]), D = He(!1), H = He(!1), W = He(!1), Y = He(!1), M = He(!1), L = He({ x: null, y: null }), h = He(null), m = ai("uikit-question"), p = ai("uikit-question__context"), v = ai("promptRef"), l = ai("uikit-question__passage-and-image"), a = ai("uikit-question__choices-container"), w = ai("uikit-question__passage-and-image-dropdown"), y = ai("uikit-question__summary"), k = ai("uikit-question__explanation"), P = Te(() => s.containerEl ? {
19299
+ const s = e, o = t, i = Te(() => s.question), n = Te(() => s.quizLength), r = Te(() => s.isDarkMode), O = Te(() => s.quizMode), G = Te(() => s.questionNumber), F = Te(() => s.imageUrlPrefix), Z = Te(() => s.globalMetrics), x = Te(() => s.reviewMode), Q = Te(() => s.hideReferences), I = Te(() => s.keywordDefinitions), A = Te(() => s.showPaywall), g = Te(() => s.isTeachGroupReview), c = He(null), d = He(null), u = He([]), C = He([]), b = He([]), D = He(!1), H = He(!1), W = He(!1), Y = He(!1), M = He(!1), L = He({ x: null, y: null }), h = He(null), m = ri("uikit-question"), p = ri("uikit-question__context"), v = ri("promptRef"), l = ri("uikit-question__passage-and-image"), a = ri("uikit-question__choices-container"), w = ri("uikit-question__passage-and-image-dropdown"), y = ri("uikit-question__summary"), k = ri("uikit-question__explanation"), P = Te(() => s.containerEl ? {
19298
19300
  breakpoints: {
19299
19301
  mobile: 767,
19300
19302
  "tablet-portrait": 1023,
@@ -19369,9 +19371,9 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19369
19371
  if (!pe)
19370
19372
  return Ie;
19371
19373
  Ie.totalAnswered += (pe.answeredCorrectlyCount || 0) + (pe.answeredIncorrectlyCount || 0), Ie.answeredCorrectly += pe.answeredCorrectlyCount || 0;
19372
- const Ne = (D.value && !s.reviewMode && C.value.length || 0) + Object.values(pe.choiceStats).reduce((Je, ot) => (ot || 0) + (Je || 0), 0);
19374
+ const Fe = (D.value && !s.reviewMode && C.value.length || 0) + Object.values(pe.choiceStats).reduce((Je, ot) => (ot || 0) + (Je || 0), 0);
19373
19375
  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);
19376
+ const ot = pe.choiceStats[Je] || 0, xi = D.value && C.value.includes(Je) && !s.reviewMode ? 1 : 0, Ii = ot + xi, ci = Math.round(Ii / Fe * 100);
19375
19377
  Ie[Je] = ci || 0;
19376
19378
  }), Ie;
19377
19379
  }), le = Te(() => {
@@ -19382,12 +19384,12 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19382
19384
  return pe && (Ie.totalAnswered += (pe.answeredCorrectlyCount || 0) + (pe.answeredIncorrectlyCount || 0), Ie.answeredCorrectly += pe.answeredCorrectlyCount || 0), Ie;
19383
19385
  }), de = Te(() => {
19384
19386
  if (f.value) {
19385
- const pe = b.value.map((Ne) => {
19387
+ const pe = b.value.map((Fe) => {
19386
19388
  var Je;
19387
- if (Ne)
19388
- return Number((Je = Ne.split("_")[0]) == null ? void 0 : Je.slice(1));
19389
+ if (Fe)
19390
+ return Number((Je = Fe.split("_")[0]) == null ? void 0 : Je.slice(1));
19389
19391
  });
19390
- return (s.question.matrixChoiceLayout || []).every((Ne, Je) => {
19392
+ return (s.question.matrixChoiceLayout || []).every((Fe, Je) => {
19391
19393
  const ot = Je + 1;
19392
19394
  return pe.includes(ot);
19393
19395
  });
@@ -19456,10 +19458,10 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19456
19458
  }, Pe = (pe) => {
19457
19459
  const Ie = pe.target;
19458
19460
  if (Ie.classList.contains("keyword-highlight")) {
19459
- const Se = Ie.innerText.trim(), Ne = Ie.getAttribute("data-location"), Je = { x: pe.clientX, y: pe.clientY };
19461
+ const Se = Ie.innerText.trim(), Fe = Ie.getAttribute("data-location"), Je = { x: pe.clientX, y: pe.clientY };
19460
19462
  o("keyword-click", {
19461
19463
  keyword: Se,
19462
- location: Ne,
19464
+ location: Fe,
19463
19465
  clickLocation: Je,
19464
19466
  target: Ie
19465
19467
  });
@@ -19473,13 +19475,13 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19473
19475
  }, $e = (pe) => {
19474
19476
  b.value = [...pe];
19475
19477
  }, ze = (pe) => {
19476
- const Ie = pe.sort((Se, Ne) => {
19477
- var Pi, ci;
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);
19479
- return (ot || 0) - (Ii || 0);
19478
+ const Ie = pe.sort((Se, Fe) => {
19479
+ var Ii, ci;
19480
+ const Je = (Zt, qt) => (qt << 5) - qt + Zt.charCodeAt(0), ot = (Ii = Se.text) == null ? void 0 : Ii.split("").reduce((Zt, qt) => Je(qt, Zt) & Je(qt, Zt), 0), xi = (ci = Fe.text) == null ? void 0 : ci.split("").reduce((Zt, qt) => Je(qt, Zt) & Je(qt, Zt), 0);
19481
+ return (ot || 0) - (xi || 0);
19480
19482
  });
19481
- return s.answerSeed ? s.answerSeed.reduce((Se, Ne) => {
19482
- const Je = Ie[Ne];
19483
+ return s.answerSeed ? s.answerSeed.reduce((Se, Fe) => {
19484
+ const Je = Ie[Fe];
19483
19485
  return Je && Se.push(Je), Se;
19484
19486
  }, []) : Ie;
19485
19487
  }, ct = (pe) => {
@@ -19500,17 +19502,17 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19500
19502
  }, bt = (pe) => {
19501
19503
  var Ie, Se;
19502
19504
  if (pe.cancelable) {
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());
19505
+ const Fe = ((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;
19506
+ Fe !== null && Je !== null && L.value.y !== null && L.value.x !== null && Math.abs(Je - L.value.x) > 26 && (pe.stopPropagation(), pe.preventDefault());
19505
19507
  }
19506
19508
  }, Bt = (pe) => {
19507
- var ot, Ii, Pi;
19508
- const Ie = pe.choiceKey, Se = pe.event, Ne = Se.target, Je = {
19509
+ var ot, xi, Ii;
19510
+ const Ie = pe.choiceKey, Se = pe.event, Fe = Se.target, Je = {
19509
19511
  x: ((ot = Se == null ? void 0 : Se.changedTouches[0]) == null ? void 0 : ot.clientX) || null,
19510
- y: ((Ii = Se == null ? void 0 : Se.changedTouches[0]) == null ? void 0 : Ii.clientY) || null
19512
+ y: ((xi = Se == null ? void 0 : Se.changedTouches[0]) == null ? void 0 : xi.clientY) || null
19511
19513
  };
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);
19514
+ if (Fe instanceof HTMLElement && Je.x !== null && Je.y !== null && L.value.x !== null && Math.abs(Je.x - L.value.x) > 80) {
19515
+ const ci = (Ii = a == null ? void 0 : a.value) == null ? void 0 : Ii.choiceEls, Zt = ci == null ? void 0 : ci.find((V1) => V1.contains(Fe)), qt = document.elementFromPoint(Je.x, Je.y);
19514
19516
  Zt != null && Zt.contains(qt) && tn(Ie);
19515
19517
  } else D.value || (Se.cancelable && Se.preventDefault(), Je.y !== null && L.value.y !== null && Math.abs(Je.y - L.value.y) < 20 && St(Ie));
19516
19518
  L.value = { x: null, y: null };
@@ -19526,7 +19528,7 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19526
19528
  Se !== -1 && C.value.splice(Se, 1);
19527
19529
  }
19528
19530
  }, St = (pe, Ie) => {
19529
- var Ne, Je;
19531
+ var Fe, Je;
19530
19532
  if (D.value)
19531
19533
  return;
19532
19534
  const Se = C.value.indexOf(pe);
@@ -19538,7 +19540,7 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19538
19540
  ot !== -1 && u.value.splice(ot, 1);
19539
19541
  }
19540
19542
  if (Ie) {
19541
- const ot = (Ne = a == null ? void 0 : a.value) == null ? void 0 : Ne.choiceEls;
19543
+ const ot = (Fe = a == null ? void 0 : a.value) == null ? void 0 : Fe.choiceEls;
19542
19544
  ot && "length" in ot && ((Je = ot[0]) == null || Je.focus());
19543
19545
  }
19544
19546
  }, on = (pe) => {
@@ -19546,26 +19548,26 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19546
19548
  }, sn = () => {
19547
19549
  var pe, Ie;
19548
19550
  if (Y.value = !Y.value, Y.value) {
19549
- const Se = (pe = w == null ? void 0 : w.value) == null ? void 0 : pe.mobileImgDropdownImgDescriptionEl, Ne = (Ie = l == null ? void 0 : l.value) == null ? void 0 : Ie.longAltEl;
19550
- Se != null && Se.offsetParent ? Se.focus() : Ne != null && Ne.offsetParent && Ne.focus();
19551
+ const Se = (pe = w == null ? void 0 : w.value) == null ? void 0 : pe.mobileImgDropdownImgDescriptionEl, Fe = (Ie = l == null ? void 0 : l.value) == null ? void 0 : Ie.longAltEl;
19552
+ Se != null && Se.offsetParent ? Se.focus() : Fe != null && Fe.offsetParent && Fe.focus();
19551
19553
  }
19552
19554
  }, Ss = () => {
19553
19555
  var pe, Ie, Se;
19554
19556
  if (M.value = !M.value, M.value) {
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;
19557
+ const Fe = (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
19558
  Je != null && Je.offsetParent && Je.focus();
19557
19559
  const ot = (Se = k == null ? void 0 : k.value) == null ? void 0 : Se.longAltEl;
19558
- Ne != null && Ne.offsetParent ? Ne.focus() : ot != null && ot.offsetParent && ot.focus();
19560
+ Fe != null && Fe.offsetParent ? Fe.focus() : ot != null && ot.offsetParent && ot.focus();
19559
19561
  }
19560
19562
  }, co = () => {
19561
19563
  var pe, Ie, Se;
19562
19564
  if (W.value = !W.value, W.value) {
19563
- const Ne = (Se = k == null ? void 0 : k.value) == null ? void 0 : Se.explanationTitleEl;
19564
- Ne && (Ne == null || Ne.focus());
19565
+ const Fe = (Se = k == null ? void 0 : k.value) == null ? void 0 : Se.explanationTitleEl;
19566
+ Fe && (Fe == null || Fe.focus());
19565
19567
  } else {
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;
19567
- if (Ne)
19568
- Ne == null || Ne.focus();
19568
+ const Fe = (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;
19569
+ if (Fe)
19570
+ Fe == null || Fe.focus();
19569
19571
  else if (Je) {
19570
19572
  const ot = Je instanceof Array ? Je[0] : Je;
19571
19573
  ot == null || ot.focus();
@@ -19579,11 +19581,11 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19579
19581
  selectedChoices: C.value,
19580
19582
  questionSerial: s.question.serial
19581
19583
  });
19582
- const Se = (pe = y == null ? void 0 : y.value) == null ? void 0 : pe.summaryMCRExplanationEl, Ne = (Ie = a == null ? void 0 : a.value) == null ? void 0 : Ie.showExplanationEls;
19584
+ const Se = (pe = y == null ? void 0 : y.value) == null ? void 0 : pe.summaryMCRExplanationEl, Fe = (Ie = a == null ? void 0 : a.value) == null ? void 0 : Ie.showExplanationEls;
19583
19585
  if (Se)
19584
19586
  Se == null || Se.focus();
19585
- else if (Ne) {
19586
- const Je = Ne instanceof Array ? Ne[0] : Ne;
19587
+ else if (Fe) {
19588
+ const Je = Fe instanceof Array ? Fe[0] : Fe;
19587
19589
  Je == null || Je.focus();
19588
19590
  }
19589
19591
  }
@@ -19641,11 +19643,11 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19641
19643
  var Ie, Se;
19642
19644
  h.value = s.containerEl || m.value, s.initialShowAnswers && (D.value = s.initialShowAnswers, H.value = s.initialShowAnswers), s.allowKeyboardShortcuts && window.addEventListener("keydown", xe);
19643
19645
  const pe = (Ie = v == null ? void 0 : v.value) == null ? void 0 : Ie.querySelectorAll("p");
19644
- if (pe != null && pe.length && pe.forEach((Ne) => Ne.setAttribute("tabindex", "0")), s.autoFocusPrompt)
19646
+ if (pe != null && pe.length && pe.forEach((Fe) => Fe.setAttribute("tabindex", "0")), s.autoFocusPrompt)
19645
19647
  Ke();
19646
19648
  else if (s.autoFocusPrompt === !1) {
19647
- const Ne = (Se = p == null ? void 0 : p.value) == null ? void 0 : Se.contextEl;
19648
- Ne == null || Ne.focus();
19649
+ const Fe = (Se = p == null ? void 0 : p.value) == null ? void 0 : Se.contextEl;
19650
+ Fe == null || Fe.focus();
19649
19651
  }
19650
19652
  }), Ws(() => {
19651
19653
  window.removeEventListener("keydown", xe);
@@ -19798,14 +19800,14 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19798
19800
  ]),
19799
19801
  motivationalMoment: Ue(({
19800
19802
  isCorrect: Se,
19801
- choiceKey: Ne,
19803
+ choiceKey: Fe,
19802
19804
  showAnswers: Je,
19803
19805
  answerKeys: ot
19804
19806
  }) => [
19805
19807
  Ee(pe.$slots, "motivationalMoment", {
19806
19808
  showAnswers: Je,
19807
19809
  answerKeys: ot,
19808
- choiceKey: Ne,
19810
+ choiceKey: Fe,
19809
19811
  isCorrect: Se
19810
19812
  })
19811
19813
  ]),
@@ -19827,14 +19829,14 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19827
19829
  }, {
19828
19830
  motivationalMoment: Ue(({
19829
19831
  isCorrect: Se,
19830
- choiceKey: Ne,
19832
+ choiceKey: Fe,
19831
19833
  showAnswers: Je,
19832
19834
  answerKeys: ot
19833
19835
  }) => [
19834
19836
  Ee(pe.$slots, "motivationalMoment", {
19835
19837
  showAnswers: Je,
19836
19838
  answerKeys: ot,
19837
- choiceKey: Ne,
19839
+ choiceKey: Fe,
19838
19840
  isCorrect: Se
19839
19841
  })
19840
19842
  ]),
@@ -19852,14 +19854,14 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
19852
19854
  }, {
19853
19855
  motivationalMoment: Ue(({
19854
19856
  isCorrect: Se,
19855
- choiceKey: Ne,
19857
+ choiceKey: Fe,
19856
19858
  showAnswers: Je,
19857
19859
  answerKeys: ot
19858
19860
  }) => [
19859
19861
  Ee(pe.$slots, "motivationalMoment", {
19860
19862
  showAnswers: Je,
19861
19863
  answerKeys: ot,
19862
- choiceKey: Ne,
19864
+ choiceKey: Fe,
19863
19865
  isCorrect: Se
19864
19866
  })
19865
19867
  ]),
@@ -20027,7 +20029,7 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
20027
20029
  customFooterStyles: { default: () => ({}) }
20028
20030
  },
20029
20031
  setup(e) {
20030
- const t = ai("quiz-container-ref");
20032
+ const t = ri("quiz-container-ref");
20031
20033
  return Ws(() => {
20032
20034
  const s = document.getElementsByTagName("body")[0];
20033
20035
  s && (s.style.overflow = "");
@@ -20110,10 +20112,10 @@ Ki([
20110
20112
  ie({ default: !0 })
20111
20113
  ], vi.prototype, "isFocusable", 2);
20112
20114
  Ki([
20113
- Fe("click")
20115
+ Ne("click")
20114
20116
  ], vi.prototype, "emitClick", 1);
20115
20117
  Ki([
20116
- Fe("keydown")
20118
+ Ne("keydown")
20117
20119
  ], vi.prototype, "emitKeydown", 1);
20118
20120
  vi = Ki([
20119
20121
  ke({
@@ -20251,10 +20253,10 @@ Xi([
20251
20253
  ie({ default: "quiz" })
20252
20254
  ], yi.prototype, "keyboardMode", 2);
20253
20255
  Xi([
20254
- Fe("close")
20256
+ Ne("close")
20255
20257
  ], yi.prototype, "emitClose", 1);
20256
20258
  Xi([
20257
- Fe("toggleKeyboardShortcuts")
20259
+ Ne("toggleKeyboardShortcuts")
20258
20260
  ], yi.prototype, "emitToggleKeyboardShortcuts", 1);
20259
20261
  yi = Xi([
20260
20262
  ke({
@@ -20447,7 +20449,7 @@ oo = $s([
20447
20449
  ke({
20448
20450
  components: {
20449
20451
  KeyboardShortcutsModal: J1,
20450
- Tooltip: ki,
20452
+ Tooltip: Ei,
20451
20453
  Icon: We
20452
20454
  }
20453
20455
  })
@@ -20537,12 +20539,12 @@ qi([
20537
20539
  ie({ default: !1 })
20538
20540
  ], wi.prototype, "disabled", 2);
20539
20541
  qi([
20540
- Fe("toggleFlag")
20542
+ Ne("toggleFlag")
20541
20543
  ], wi.prototype, "emitToggleFlag", 1);
20542
20544
  wi = qi([
20543
20545
  ke({
20544
20546
  components: {
20545
- Tooltip: ki,
20547
+ Tooltip: Ei,
20546
20548
  Icon: We
20547
20549
  }
20548
20550
  })
@@ -20627,13 +20629,13 @@ Ri([
20627
20629
  ie({ default: !1 })
20628
20630
  ], hi.prototype, "isDarkMode", 2);
20629
20631
  Ri([
20630
- Fe("toggleGlobalMetrics")
20632
+ Ne("toggleGlobalMetrics")
20631
20633
  ], hi.prototype, "emitToggleGlobalMetrics", 1);
20632
20634
  hi = Ri([
20633
20635
  ke({
20634
20636
  name: "GlobalMetricsToggle",
20635
20637
  components: {
20636
- Tooltip: ki,
20638
+ Tooltip: Ei,
20637
20639
  Icon: We
20638
20640
  }
20639
20641
  })
@@ -20689,7 +20691,7 @@ var Sg = Object.defineProperty, Tg = Object.getOwnPropertyDescriptor, uo = (e, t
20689
20691
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
20690
20692
  return o && i && Sg(t, s, i), i;
20691
20693
  };
20692
- let Yi = class extends De {
20694
+ let Qi = class extends De {
20693
20695
  constructor() {
20694
20696
  super(...arguments);
20695
20697
  q(this, "showCloseButton");
@@ -20721,17 +20723,17 @@ let Yi = class extends De {
20721
20723
  };
20722
20724
  uo([
20723
20725
  ie({ default: !0 })
20724
- ], Yi.prototype, "showCloseButton", 2);
20726
+ ], Qi.prototype, "showCloseButton", 2);
20725
20727
  uo([
20726
20728
  ie({ default: !1 })
20727
- ], Yi.prototype, "isDarkMode", 2);
20729
+ ], Qi.prototype, "isDarkMode", 2);
20728
20730
  uo([
20729
20731
  ie({ default: !1 })
20730
- ], Yi.prototype, "right", 2);
20732
+ ], Qi.prototype, "right", 2);
20731
20733
  uo([
20732
- Fe("close")
20733
- ], Yi.prototype, "emitClose", 1);
20734
- Yi = uo([
20734
+ Ne("close")
20735
+ ], Qi.prototype, "emitClose", 1);
20736
+ Qi = uo([
20735
20737
  ke({
20736
20738
  directives: {
20737
20739
  dark: Be
@@ -20740,7 +20742,7 @@ Yi = uo([
20740
20742
  Icon: We
20741
20743
  }
20742
20744
  })
20743
- ], Yi);
20745
+ ], Qi);
20744
20746
  const jg = { class: "toast__icon" }, Hg = { class: "toast__content" }, zg = { class: "toast__content-title" }, Fg = {
20745
20747
  key: 0,
20746
20748
  class: "toast__content-subtext"
@@ -20789,7 +20791,7 @@ function Ng(e, t, s, o, i, n) {
20789
20791
  [O, e.isDarkMode]
20790
20792
  ]);
20791
20793
  }
20792
- const Zg = /* @__PURE__ */ be(Yi, [["render", Ng], ["__scopeId", "data-v-39f2e0c6"]]);
20794
+ const Zg = /* @__PURE__ */ be(Qi, [["render", Ng], ["__scopeId", "data-v-39f2e0c6"]]);
20793
20795
  var Jg = Object.defineProperty, Wg = Object.getOwnPropertyDescriptor, en = (e, t, s, o) => {
20794
20796
  for (var i = o > 1 ? void 0 : o ? Wg(t, s) : t, n = e.length - 1, r; n >= 0; n--)
20795
20797
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
@@ -20884,12 +20886,12 @@ function ef(e, t, s, o, i, n) {
20884
20886
  }, null, 8, ["title", "primary-color"])) : Me("", !0);
20885
20887
  }
20886
20888
  const tf = /* @__PURE__ */ be(Mi, [["render", ef]]);
20887
- var of = Object.defineProperty, sf = Object.getOwnPropertyDescriptor, xi = (e, t, s, o) => {
20889
+ var of = Object.defineProperty, sf = Object.getOwnPropertyDescriptor, Di = (e, t, s, o) => {
20888
20890
  for (var i = o > 1 ? void 0 : o ? sf(t, s) : t, n = e.length - 1, r; n >= 0; n--)
20889
20891
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
20890
20892
  return o && i && of(t, s, i), i;
20891
20893
  };
20892
- let ii = class extends De {
20894
+ let ti = class extends De {
20893
20895
  constructor() {
20894
20896
  super(...arguments);
20895
20897
  q(this, "message");
@@ -20911,28 +20913,28 @@ let ii = class extends De {
20911
20913
  return this.state === "incorrect" ? this.isDarkMode ? this.brandColors.rosa : this.brandColors.pepper : this.state === "correct" ? this.isDarkMode ? this.brandColors.jungleGreen : this.brandColors.cadaverous : this.customIconColor ? this.customIconColor : this.isDarkMode ? this.brandColors.butterscotch : this.brandColors.caramel;
20912
20914
  }
20913
20915
  };
20914
- xi([
20916
+ Di([
20915
20917
  ie()
20916
- ], ii.prototype, "message", 2);
20917
- xi([
20918
+ ], ti.prototype, "message", 2);
20919
+ Di([
20918
20920
  ie()
20919
- ], ii.prototype, "title", 2);
20920
- xi([
20921
+ ], ti.prototype, "title", 2);
20922
+ Di([
20921
20923
  ie()
20922
- ], ii.prototype, "backgroundColor", 2);
20923
- xi([
20924
+ ], ti.prototype, "backgroundColor", 2);
20925
+ Di([
20924
20926
  ie()
20925
- ], ii.prototype, "state", 2);
20926
- xi([
20927
+ ], ti.prototype, "state", 2);
20928
+ Di([
20927
20929
  ie({ default: !1 })
20928
- ], ii.prototype, "isDarkMode", 2);
20929
- xi([
20930
+ ], ti.prototype, "isDarkMode", 2);
20931
+ Di([
20930
20932
  ie()
20931
- ], ii.prototype, "customBlobColor", 2);
20932
- xi([
20933
+ ], ti.prototype, "customBlobColor", 2);
20934
+ Di([
20933
20935
  ie()
20934
- ], ii.prototype, "customIconColor", 2);
20935
- ii = xi([
20936
+ ], ti.prototype, "customIconColor", 2);
20937
+ ti = Di([
20936
20938
  ke({
20937
20939
  name: "EmptyState",
20938
20940
  components: {
@@ -20943,7 +20945,7 @@ ii = xi([
20943
20945
  dark: Be
20944
20946
  }
20945
20947
  })
20946
- ], ii);
20948
+ ], ti);
20947
20949
  const nf = { class: "uikit-empty-state" }, rf = { class: "uikit-empty-state__row" }, af = { class: "uikit-empty-state__title" }, lf = { class: "uikit-empty-state__message" };
20948
20950
  function hf(e, t, s, o, i, n) {
20949
20951
  const r = Le("Blob"), O = Le("Icon"), G = it("dark");
@@ -20989,7 +20991,7 @@ function hf(e, t, s, o, i, n) {
20989
20991
  [G, e.isDarkMode]
20990
20992
  ]);
20991
20993
  }
20992
- const df = /* @__PURE__ */ be(ii, [["render", hf]]);
20994
+ const df = /* @__PURE__ */ be(ti, [["render", hf]]);
20993
20995
  var uf = Object.defineProperty, cf = Object.getOwnPropertyDescriptor, Dt = (e, t, s, o) => {
20994
20996
  for (var i = o > 1 ? void 0 : o ? cf(t, s) : t, n = e.length - 1, r; n >= 0; n--)
20995
20997
  (r = e[n]) && (i = (o ? r(t, s, i) : r(i)) || i);
@@ -21134,7 +21136,7 @@ const gf = /* @__PURE__ */ be(Mt, [["render", pf]]), ff = { class: "info-message
21134
21136
  Search: Nr,
21135
21137
  Pill: Qd,
21136
21138
  PhonePerson: n9,
21137
- Tooltip: ki,
21139
+ Tooltip: Ei,
21138
21140
  OverflowTooltip: Fr,
21139
21141
  Modal: Jr,
21140
21142
  ModalContainer: Wr,