@pocketprep/ui-kit 3.5.17 → 3.5.18
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,10 +1,10 @@
|
|
|
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
|
|
4
|
+
import { Prop as ie, Component as ke, Vue as De, Emit as Ze, 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 ri, 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",
|
|
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", Fe = {
|
|
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: ${
|
|
293
|
+
window.matchMedia(`(max-width: ${Fe.blackBear}px)`).matches && o.push("black-bear"), window.matchMedia(`(max-width: ${Fe.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(
|
|
296
|
-
"tablet-portrait": Number(
|
|
297
|
-
"tablet-landscape": Number(
|
|
298
|
-
desktop: Number(
|
|
295
|
+
mobile: Number(Fe.blackBear),
|
|
296
|
+
"tablet-portrait": Number(Fe.brownBear),
|
|
297
|
+
"tablet-landscape": Number(Fe.grizzlyBear),
|
|
298
|
+
desktop: Number(Fe.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 ?
|
|
8663
|
+
color: this.isDarkMode ? Fe.fog : Fe.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 ?
|
|
8684
|
+
this.barColor ? this.barColor || "" : this.isDarkMode ? Fe.grayBackground || "" : Fe.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 ?
|
|
8703
|
+
borderColor: this.barColor ? this.barColor : this.isDarkMode ? Fe.grayBackground : Fe.brandBlack,
|
|
8704
8704
|
states: {
|
|
8705
8705
|
hover: {
|
|
8706
|
-
borderColor:
|
|
8707
|
-
color:
|
|
8706
|
+
borderColor: Fe.bananaBread,
|
|
8707
|
+
color: Fe.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 ?
|
|
8734
|
+
lineColor: this.isDarkMode ? Fe.ash : Fe.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 ?
|
|
8742
|
+
gridLineColor: this.isDarkMode ? Fe.ash : Fe.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:
|
|
8751
|
+
color: Fe.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)" :
|
|
8759
|
+
color: this.isDarkMode ? "rgba(255, 255, 255, 0.85)" : Fe.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:
|
|
8889
|
+
color: Fe.brandBlue,
|
|
8890
8890
|
borderWidth: 3
|
|
8891
8891
|
}
|
|
8892
8892
|
},
|
|
8893
8893
|
series: [{
|
|
8894
8894
|
colors: [
|
|
8895
|
-
|
|
8896
|
-
|
|
8897
|
-
|
|
8898
|
-
|
|
8895
|
+
Fe.green || "",
|
|
8896
|
+
Fe.butterscotch || "",
|
|
8897
|
+
Fe.electricViolet || "",
|
|
8898
|
+
Fe.brandBlue || ""
|
|
8899
8899
|
],
|
|
8900
8900
|
type: "pie",
|
|
8901
8901
|
data: this.data
|
|
@@ -8971,10 +8971,10 @@ Ni([
|
|
|
8971
8971
|
ie({ default: 1 })
|
|
8972
8972
|
], gi.prototype, "defaultOption", 2);
|
|
8973
8973
|
Ni([
|
|
8974
|
-
|
|
8974
|
+
Ze("change")
|
|
8975
8975
|
], gi.prototype, "toggleOption", 1);
|
|
8976
8976
|
Ni([
|
|
8977
|
-
|
|
8977
|
+
Ze("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
|
-
|
|
9032
|
+
Ze("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
|
-
|
|
9140
|
+
Ze("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
|
-
|
|
12377
|
+
Ze("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
|
-
|
|
12475
|
+
Ze("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
|
-
|
|
12566
|
+
Ze("update:modelValue")
|
|
12567
12567
|
], Ci.prototype, "emitUpdateModelValue", 1);
|
|
12568
12568
|
Ci = Wi([
|
|
12569
12569
|
ke({
|
|
@@ -12892,7 +12892,7 @@ Ot([
|
|
|
12892
12892
|
mt("radioEntries", { deep: !0 })
|
|
12893
12893
|
], Et.prototype, "radioOptionChanged", 1);
|
|
12894
12894
|
Ot([
|
|
12895
|
-
|
|
12895
|
+
Ze("update:modelValue")
|
|
12896
12896
|
], Et.prototype, "emitUpdateModelValue", 1);
|
|
12897
12897
|
Et = Ot([
|
|
12898
12898
|
ke({
|
|
@@ -13101,7 +13101,7 @@ Pt([
|
|
|
13101
13101
|
mt("radioEntries", { deep: !0 })
|
|
13102
13102
|
], Lt.prototype, "radioOptionChanged", 1);
|
|
13103
13103
|
Pt([
|
|
13104
|
-
|
|
13104
|
+
Ze("update:modelValue")
|
|
13105
13105
|
], Lt.prototype, "emitUpdateModelValue", 1);
|
|
13106
13106
|
Lt = Pt([
|
|
13107
13107
|
ke({
|
|
@@ -13199,7 +13199,7 @@ ro([
|
|
|
13199
13199
|
ie({ default: !1 })
|
|
13200
13200
|
], Pi.prototype, "isDarkMode", 2);
|
|
13201
13201
|
ro([
|
|
13202
|
-
|
|
13202
|
+
Ze("click")
|
|
13203
13203
|
], Pi.prototype, "emitClick", 1);
|
|
13204
13204
|
Pi = ro([
|
|
13205
13205
|
ke({
|
|
@@ -13413,16 +13413,16 @@ gt([
|
|
|
13413
13413
|
mt("searchText")
|
|
13414
13414
|
], dt.prototype, "searchTextChanged", 1);
|
|
13415
13415
|
gt([
|
|
13416
|
-
|
|
13416
|
+
Ze("update:modelValue")
|
|
13417
13417
|
], dt.prototype, "emitUpdateModelValue", 1);
|
|
13418
13418
|
gt([
|
|
13419
|
-
|
|
13419
|
+
Ze("linkClick")
|
|
13420
13420
|
], dt.prototype, "emitLinkClick", 1);
|
|
13421
13421
|
gt([
|
|
13422
|
-
|
|
13422
|
+
Ze("openDropdown")
|
|
13423
13423
|
], dt.prototype, "emitOpenDropdown", 1);
|
|
13424
13424
|
gt([
|
|
13425
|
-
|
|
13425
|
+
Ze("close")
|
|
13426
13426
|
], dt.prototype, "emitClose", 1);
|
|
13427
13427
|
dt = gt([
|
|
13428
13428
|
ke({
|
|
@@ -13684,7 +13684,7 @@ wt([
|
|
|
13684
13684
|
ie({ default: !1 })
|
|
13685
13685
|
], Ct.prototype, "hideInputCaret", 2);
|
|
13686
13686
|
wt([
|
|
13687
|
-
|
|
13687
|
+
Ze("update:modelValue")
|
|
13688
13688
|
], Ct.prototype, "valueChange", 1);
|
|
13689
13689
|
Ct = wt([
|
|
13690
13690
|
ke({
|
|
@@ -13946,7 +13946,7 @@ Rt([
|
|
|
13946
13946
|
ie({ default: "" })
|
|
13947
13947
|
], kt.prototype, "tooltipText", 2);
|
|
13948
13948
|
Rt([
|
|
13949
|
-
|
|
13949
|
+
Ze("update:modelValue")
|
|
13950
13950
|
], kt.prototype, "valueChange", 1);
|
|
13951
13951
|
kt = Rt([
|
|
13952
13952
|
ke({
|
|
@@ -14402,19 +14402,19 @@ rt([
|
|
|
14402
14402
|
mt("defaultSort")
|
|
14403
14403
|
], nt.prototype, "defaultSortChanged", 1);
|
|
14404
14404
|
rt([
|
|
14405
|
-
|
|
14405
|
+
Ze("sort")
|
|
14406
14406
|
], nt.prototype, "emitSort", 1);
|
|
14407
14407
|
rt([
|
|
14408
|
-
|
|
14408
|
+
Ze("rowClicked")
|
|
14409
14409
|
], nt.prototype, "emitRowClicked", 1);
|
|
14410
14410
|
rt([
|
|
14411
|
-
|
|
14411
|
+
Ze("rowEnter")
|
|
14412
14412
|
], nt.prototype, "emitRowEnter", 1);
|
|
14413
14413
|
rt([
|
|
14414
|
-
|
|
14414
|
+
Ze("rowLeave")
|
|
14415
14415
|
], nt.prototype, "emitRowLeave", 1);
|
|
14416
14416
|
rt([
|
|
14417
|
-
|
|
14417
|
+
Ze("cellClicked")
|
|
14418
14418
|
], nt.prototype, "emitCellClicked", 1);
|
|
14419
14419
|
nt = rt([
|
|
14420
14420
|
ke({
|
|
@@ -14706,7 +14706,7 @@ Ys([
|
|
|
14706
14706
|
ie({ default: () => [] })
|
|
14707
14707
|
], zi.prototype, "actions", 2);
|
|
14708
14708
|
Ys([
|
|
14709
|
-
|
|
14709
|
+
Ze("actionClicked")
|
|
14710
14710
|
], zi.prototype, "emitActionClicked", 1);
|
|
14711
14711
|
zi = Ys([
|
|
14712
14712
|
ke({
|
|
@@ -14813,7 +14813,7 @@ ki([
|
|
|
14813
14813
|
ie({ default: !1 })
|
|
14814
14814
|
], ei.prototype, "showFirstAndLastBtn", 2);
|
|
14815
14815
|
ki([
|
|
14816
|
-
|
|
14816
|
+
Ze("changePage")
|
|
14817
14817
|
], ei.prototype, "changePage", 1);
|
|
14818
14818
|
ei = ki([
|
|
14819
14819
|
ke({
|
|
@@ -15032,10 +15032,10 @@ Ut([
|
|
|
15032
15032
|
ie({ default: !1 })
|
|
15033
15033
|
], Qt.prototype, "disabled", 2);
|
|
15034
15034
|
Ut([
|
|
15035
|
-
|
|
15035
|
+
Ze("update:modelValue")
|
|
15036
15036
|
], Qt.prototype, "valueChange", 1);
|
|
15037
15037
|
Ut([
|
|
15038
|
-
|
|
15038
|
+
Ze("update:modelValue")
|
|
15039
15039
|
], Qt.prototype, "clearSearch", 1);
|
|
15040
15040
|
Qt = Ut([
|
|
15041
15041
|
ke({
|
|
@@ -15144,7 +15144,7 @@ Os([
|
|
|
15144
15144
|
ie({ default: !1 })
|
|
15145
15145
|
], Fi.prototype, "isDarkMode", 2);
|
|
15146
15146
|
Os([
|
|
15147
|
-
|
|
15147
|
+
Ze("click")
|
|
15148
15148
|
], Fi.prototype, "emitClick", 1);
|
|
15149
15149
|
Fi = Os([
|
|
15150
15150
|
ke({
|
|
@@ -15277,7 +15277,7 @@ lo([
|
|
|
15277
15277
|
ie({ default: !1 })
|
|
15278
15278
|
], Gi.prototype, "isDarkMode", 2);
|
|
15279
15279
|
lo([
|
|
15280
|
-
|
|
15280
|
+
Ze("close")
|
|
15281
15281
|
], Gi.prototype, "emitClose", 1);
|
|
15282
15282
|
Gi = lo([
|
|
15283
15283
|
ke({
|
|
@@ -15401,13 +15401,13 @@ di([
|
|
|
15401
15401
|
ie({ default: !0 })
|
|
15402
15402
|
], Jt.prototype, "trapFocus", 2);
|
|
15403
15403
|
di([
|
|
15404
|
-
|
|
15404
|
+
Ze("close")
|
|
15405
15405
|
], Jt.prototype, "emitClose", 1);
|
|
15406
15406
|
di([
|
|
15407
|
-
|
|
15407
|
+
Ze("mounted")
|
|
15408
15408
|
], Jt.prototype, "emitMounted", 1);
|
|
15409
15409
|
di([
|
|
15410
|
-
|
|
15410
|
+
Ze("unmounted")
|
|
15411
15411
|
], Jt.prototype, "emitUnmounted", 1);
|
|
15412
15412
|
di([
|
|
15413
15413
|
mt("trapFocus")
|
|
@@ -15528,13 +15528,13 @@ Ui([
|
|
|
15528
15528
|
ie({ default: "" })
|
|
15529
15529
|
], mi.prototype, "modelValue", 2);
|
|
15530
15530
|
Ui([
|
|
15531
|
-
|
|
15531
|
+
Ze("submit")
|
|
15532
15532
|
], mi.prototype, "emitSubmit", 1);
|
|
15533
15533
|
Ui([
|
|
15534
|
-
|
|
15534
|
+
Ze("error")
|
|
15535
15535
|
], mi.prototype, "emitError", 1);
|
|
15536
15536
|
Ui([
|
|
15537
|
-
|
|
15537
|
+
Ze("update:modelValue")
|
|
15538
15538
|
], mi.prototype, "emitUpdateModelValue", 1);
|
|
15539
15539
|
mi = Ui([
|
|
15540
15540
|
ke
|
|
@@ -15626,13 +15626,13 @@ ii([
|
|
|
15626
15626
|
mt("parentIsLoading")
|
|
15627
15627
|
], Tt.prototype, "parentIsLoadingChanged", 1);
|
|
15628
15628
|
ii([
|
|
15629
|
-
|
|
15629
|
+
Ze("submit")
|
|
15630
15630
|
], Tt.prototype, "emitSubmit", 1);
|
|
15631
15631
|
ii([
|
|
15632
|
-
|
|
15632
|
+
Ze("resend")
|
|
15633
15633
|
], Tt.prototype, "emitResend", 1);
|
|
15634
15634
|
ii([
|
|
15635
|
-
|
|
15635
|
+
Ze("update:modelValue")
|
|
15636
15636
|
], Tt.prototype, "emitUpdateModelValue", 1);
|
|
15637
15637
|
Tt = ii([
|
|
15638
15638
|
ke({
|
|
@@ -15786,10 +15786,10 @@ oi([
|
|
|
15786
15786
|
ie({ default: !1 })
|
|
15787
15787
|
], jt.prototype, "isDarkMode", 2);
|
|
15788
15788
|
oi([
|
|
15789
|
-
|
|
15789
|
+
Ze("select")
|
|
15790
15790
|
], jt.prototype, "emitSelect", 1);
|
|
15791
15791
|
oi([
|
|
15792
|
-
|
|
15792
|
+
Ze("cancel")
|
|
15793
15793
|
], jt.prototype, "emitCancel", 1);
|
|
15794
15794
|
jt = oi([
|
|
15795
15795
|
ke({
|
|
@@ -15923,7 +15923,7 @@ Oi([
|
|
|
15923
15923
|
ie({ default: () => [] })
|
|
15924
15924
|
], li.prototype, "premiumBundleIds", 2);
|
|
15925
15925
|
Oi([
|
|
15926
|
-
|
|
15926
|
+
Ze("update:modelValue")
|
|
15927
15927
|
], li.prototype, "emitUpdateModelValue", 1);
|
|
15928
15928
|
Oi([
|
|
15929
15929
|
mt("hoverBundleId")
|
|
@@ -16067,13 +16067,13 @@ Kt([
|
|
|
16067
16067
|
mt("selectedBundle")
|
|
16068
16068
|
], Yt.prototype, "selectedBundleChanged", 1);
|
|
16069
16069
|
Kt([
|
|
16070
|
-
|
|
16070
|
+
Ze("search")
|
|
16071
16071
|
], Yt.prototype, "emitSearch", 1);
|
|
16072
16072
|
Kt([
|
|
16073
|
-
|
|
16073
|
+
Ze("selectBundle")
|
|
16074
16074
|
], Yt.prototype, "emitSelectBundle", 1);
|
|
16075
16075
|
Kt([
|
|
16076
|
-
|
|
16076
|
+
Ze("select")
|
|
16077
16077
|
], Yt.prototype, "emitSelect", 1);
|
|
16078
16078
|
Yt = Kt([
|
|
16079
16079
|
ke({
|
|
@@ -16312,10 +16312,10 @@ si([
|
|
|
16312
16312
|
ie({ default: !0 })
|
|
16313
16313
|
], Ht.prototype, "isClickable", 2);
|
|
16314
16314
|
si([
|
|
16315
|
-
|
|
16315
|
+
Ze("click")
|
|
16316
16316
|
], Ht.prototype, "emitClick", 1);
|
|
16317
16317
|
si([
|
|
16318
|
-
|
|
16318
|
+
Ze("keydown")
|
|
16319
16319
|
], Ht.prototype, "emitKeydown", 1);
|
|
16320
16320
|
Ht = si([
|
|
16321
16321
|
ke({
|
|
@@ -16446,27 +16446,27 @@ let Js = class extends De {
|
|
|
16446
16446
|
q(this, "colors", {
|
|
16447
16447
|
grayscale: {
|
|
16448
16448
|
color1: "#647D8F",
|
|
16449
|
-
color2:
|
|
16449
|
+
color2: Fe.brandBlack
|
|
16450
16450
|
},
|
|
16451
16451
|
silver: {
|
|
16452
|
-
color1:
|
|
16453
|
-
color2:
|
|
16452
|
+
color1: Fe.white,
|
|
16453
|
+
color2: Fe.grayDivider
|
|
16454
16454
|
},
|
|
16455
16455
|
red: {
|
|
16456
16456
|
color1: "#FF4747",
|
|
16457
|
-
color2:
|
|
16457
|
+
color2: Fe.redPegasus
|
|
16458
16458
|
},
|
|
16459
16459
|
purple: {
|
|
16460
16460
|
color1: "#CE45FF",
|
|
16461
|
-
color2:
|
|
16461
|
+
color2: Fe.vibrantPurple
|
|
16462
16462
|
},
|
|
16463
16463
|
green: {
|
|
16464
16464
|
color1: "#05A881",
|
|
16465
|
-
color2:
|
|
16465
|
+
color2: Fe.spectralGreen
|
|
16466
16466
|
},
|
|
16467
16467
|
blue: {
|
|
16468
16468
|
color1: "#448EFF",
|
|
16469
|
-
color2:
|
|
16469
|
+
color2: Fe.brandBlue
|
|
16470
16470
|
},
|
|
16471
16471
|
pocketprep: {
|
|
16472
16472
|
color1: "#0064FF",
|
|
@@ -16643,19 +16643,19 @@ yt([
|
|
|
16643
16643
|
ie({ default: !0 })
|
|
16644
16644
|
], At.prototype, "trapFocus", 2);
|
|
16645
16645
|
yt([
|
|
16646
|
-
|
|
16646
|
+
Ze("close")
|
|
16647
16647
|
], At.prototype, "emitClose", 1);
|
|
16648
16648
|
yt([
|
|
16649
|
-
|
|
16649
|
+
Ze("close-button")
|
|
16650
16650
|
], At.prototype, "emitCloseButton", 1);
|
|
16651
16651
|
yt([
|
|
16652
|
-
|
|
16652
|
+
Ze("selectTab")
|
|
16653
16653
|
], At.prototype, "emitSelectTab", 1);
|
|
16654
16654
|
yt([
|
|
16655
|
-
|
|
16655
|
+
Ze("mounted")
|
|
16656
16656
|
], At.prototype, "emitMounted", 1);
|
|
16657
16657
|
yt([
|
|
16658
|
-
|
|
16658
|
+
Ze("unmounted")
|
|
16659
16659
|
], At.prototype, "emitUnmounted", 1);
|
|
16660
16660
|
yt([
|
|
16661
16661
|
mt("trapFocus")
|
|
@@ -17229,7 +17229,7 @@ ui([
|
|
|
17229
17229
|
ie({ default: !1 })
|
|
17230
17230
|
], Wt.prototype, "error", 2);
|
|
17231
17231
|
ui([
|
|
17232
|
-
|
|
17232
|
+
Ze("update:modelValue")
|
|
17233
17233
|
], Wt.prototype, "emitUpdateModelValue", 1);
|
|
17234
17234
|
Wt = ui([
|
|
17235
17235
|
ke({
|
|
@@ -17620,71 +17620,78 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
|
|
|
17620
17620
|
name: "Question of the Day",
|
|
17621
17621
|
shortName: "qotd",
|
|
17622
17622
|
icon: "calendar",
|
|
17623
|
-
iconColor:
|
|
17624
|
-
iconColorDM:
|
|
17623
|
+
iconColor: Fe.cadaverous,
|
|
17624
|
+
iconColorDM: Fe.jungleGreen
|
|
17625
17625
|
},
|
|
17626
17626
|
0: {
|
|
17627
17627
|
name: "Quick 10",
|
|
17628
17628
|
shortName: "quick10",
|
|
17629
17629
|
icon: "quick10",
|
|
17630
|
-
iconColor:
|
|
17631
|
-
iconColorDM:
|
|
17630
|
+
iconColor: Fe.cosmos,
|
|
17631
|
+
iconColorDM: Fe.orchid
|
|
17632
17632
|
},
|
|
17633
17633
|
2: {
|
|
17634
17634
|
name: "Missed Questions",
|
|
17635
17635
|
shortName: "missed",
|
|
17636
17636
|
icon: "missedQuestions",
|
|
17637
17637
|
iconColor: "#EC0000",
|
|
17638
|
-
iconColorDM:
|
|
17638
|
+
iconColorDM: Fe.rosa
|
|
17639
17639
|
},
|
|
17640
17640
|
3: {
|
|
17641
17641
|
name: "Weakest Subject",
|
|
17642
17642
|
shortName: "weakest",
|
|
17643
17643
|
icon: "subject",
|
|
17644
17644
|
iconColor: "#EC0000",
|
|
17645
|
-
iconColorDM:
|
|
17645
|
+
iconColorDM: Fe.rosa
|
|
17646
17646
|
},
|
|
17647
17647
|
4: {
|
|
17648
17648
|
name: "Timed Quiz",
|
|
17649
17649
|
shortName: "timed",
|
|
17650
17650
|
icon: "stopwatch",
|
|
17651
|
-
iconColor:
|
|
17651
|
+
iconColor: Fe.brandBlue,
|
|
17652
17652
|
iconColorDM: "#4C92FF"
|
|
17653
17653
|
},
|
|
17654
17654
|
5: {
|
|
17655
17655
|
name: "Mock Exam",
|
|
17656
17656
|
shortName: "mockExam",
|
|
17657
17657
|
icon: "exam",
|
|
17658
|
-
iconColor:
|
|
17659
|
-
iconColorDM:
|
|
17658
|
+
iconColor: Fe.cadaverous,
|
|
17659
|
+
iconColorDM: Fe.jungleGreen
|
|
17660
17660
|
},
|
|
17661
17661
|
6: {
|
|
17662
17662
|
name: "Level Up",
|
|
17663
17663
|
shortName: "levelUp",
|
|
17664
17664
|
icon: "levelup",
|
|
17665
|
-
iconColor:
|
|
17666
|
-
iconColorDM:
|
|
17665
|
+
iconColor: Fe.cosmos,
|
|
17666
|
+
iconColorDM: Fe.orchid
|
|
17667
|
+
},
|
|
17668
|
+
7: {
|
|
17669
|
+
name: "Capstone",
|
|
17670
|
+
shortName: "capstone",
|
|
17671
|
+
icon: "levelup",
|
|
17672
|
+
iconColor: Fe.cosmos,
|
|
17673
|
+
iconColorDM: Fe.orchid
|
|
17667
17674
|
},
|
|
17668
17675
|
10: {
|
|
17669
17676
|
name: "Build Your Own",
|
|
17670
17677
|
shortName: "custom",
|
|
17671
17678
|
icon: "pencil",
|
|
17672
|
-
iconColor:
|
|
17673
|
-
iconColorDM:
|
|
17679
|
+
iconColor: Fe.slate,
|
|
17680
|
+
iconColorDM: Fe.pewter
|
|
17674
17681
|
},
|
|
17675
17682
|
11: {
|
|
17676
17683
|
name: "Assignment",
|
|
17677
17684
|
shortName: "assignment",
|
|
17678
17685
|
icon: "assignment",
|
|
17679
|
-
iconColor:
|
|
17680
|
-
iconColorDM:
|
|
17686
|
+
iconColor: Fe.caramel,
|
|
17687
|
+
iconColorDM: Fe.cheddar
|
|
17681
17688
|
},
|
|
17682
17689
|
12: {
|
|
17683
17690
|
name: "Concept Quiz",
|
|
17684
17691
|
shortName: "concept",
|
|
17685
17692
|
icon: "pencil",
|
|
17686
|
-
iconColor:
|
|
17687
|
-
iconColorDM:
|
|
17693
|
+
iconColor: Fe.slate,
|
|
17694
|
+
iconColorDM: Fe.pewter
|
|
17688
17695
|
}
|
|
17689
17696
|
}, N1 = (e) => e.replace(/[/\-\\^$*+?.()|[\]{}]/g, "\\$&"), ho = (e) => e.keywordDefinitions.length ? e.keywordDefinitions.map((s) => s.keyword).reduce((s, o) => {
|
|
17690
17697
|
const i = new RegExp(`(\\W)(${N1(o)})(\\W)`, "i");
|
|
@@ -18566,7 +18573,7 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
|
|
|
18566
18573
|
matrixAnswerKeys: Z,
|
|
18567
18574
|
selectedMatrixChoices: x,
|
|
18568
18575
|
isTeachGroupReview: Q
|
|
18569
|
-
} = Xt(), I = He(void 0), A = He(void 0), g =
|
|
18576
|
+
} = Xt(), I = He(void 0), A = He(void 0), g = Fe, c = Te(() => {
|
|
18570
18577
|
var P;
|
|
18571
18578
|
return (P = u.value) == null ? void 0 : P.map((S) => S.map(() => !1));
|
|
18572
18579
|
}), d = Te(() => {
|
|
@@ -18937,7 +18944,7 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
|
|
|
18937
18944
|
showMatrixAnswers: F,
|
|
18938
18945
|
matrixAnswerKeys: Z,
|
|
18939
18946
|
selectedMatrixChoices: x
|
|
18940
|
-
} = Xt(), Q = He(void 0), I = He(void 0), A = He([]), g = He([]), c =
|
|
18947
|
+
} = Xt(), Q = He(void 0), I = He(void 0), A = He([]), g = He([]), c = Fe, d = (E) => {
|
|
18941
18948
|
if (E) {
|
|
18942
18949
|
const z = document.createElement("div");
|
|
18943
18950
|
return z.innerHTML = E, z.textContent || "";
|
|
@@ -19371,9 +19378,9 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
|
|
|
19371
19378
|
if (!pe)
|
|
19372
19379
|
return Ie;
|
|
19373
19380
|
Ie.totalAnswered += (pe.answeredCorrectlyCount || 0) + (pe.answeredIncorrectlyCount || 0), Ie.answeredCorrectly += pe.answeredCorrectlyCount || 0;
|
|
19374
|
-
const
|
|
19381
|
+
const Ne = (D.value && !s.reviewMode && C.value.length || 0) + Object.values(pe.choiceStats).reduce((Je, ot) => (ot || 0) + (Je || 0), 0);
|
|
19375
19382
|
return Ce.value.forEach(({ key: Je }) => {
|
|
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 /
|
|
19383
|
+
const ot = pe.choiceStats[Je] || 0, xi = D.value && C.value.includes(Je) && !s.reviewMode ? 1 : 0, Ii = ot + xi, ci = Math.round(Ii / Ne * 100);
|
|
19377
19384
|
Ie[Je] = ci || 0;
|
|
19378
19385
|
}), Ie;
|
|
19379
19386
|
}), le = Te(() => {
|
|
@@ -19384,12 +19391,12 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
|
|
|
19384
19391
|
return pe && (Ie.totalAnswered += (pe.answeredCorrectlyCount || 0) + (pe.answeredIncorrectlyCount || 0), Ie.answeredCorrectly += pe.answeredCorrectlyCount || 0), Ie;
|
|
19385
19392
|
}), de = Te(() => {
|
|
19386
19393
|
if (f.value) {
|
|
19387
|
-
const pe = b.value.map((
|
|
19394
|
+
const pe = b.value.map((Ne) => {
|
|
19388
19395
|
var Je;
|
|
19389
|
-
if (
|
|
19390
|
-
return Number((Je =
|
|
19396
|
+
if (Ne)
|
|
19397
|
+
return Number((Je = Ne.split("_")[0]) == null ? void 0 : Je.slice(1));
|
|
19391
19398
|
});
|
|
19392
|
-
return (s.question.matrixChoiceLayout || []).every((
|
|
19399
|
+
return (s.question.matrixChoiceLayout || []).every((Ne, Je) => {
|
|
19393
19400
|
const ot = Je + 1;
|
|
19394
19401
|
return pe.includes(ot);
|
|
19395
19402
|
});
|
|
@@ -19458,10 +19465,10 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
|
|
|
19458
19465
|
}, Pe = (pe) => {
|
|
19459
19466
|
const Ie = pe.target;
|
|
19460
19467
|
if (Ie.classList.contains("keyword-highlight")) {
|
|
19461
|
-
const Se = Ie.innerText.trim(),
|
|
19468
|
+
const Se = Ie.innerText.trim(), Ne = Ie.getAttribute("data-location"), Je = { x: pe.clientX, y: pe.clientY };
|
|
19462
19469
|
o("keyword-click", {
|
|
19463
19470
|
keyword: Se,
|
|
19464
|
-
location:
|
|
19471
|
+
location: Ne,
|
|
19465
19472
|
clickLocation: Je,
|
|
19466
19473
|
target: Ie
|
|
19467
19474
|
});
|
|
@@ -19475,13 +19482,13 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
|
|
|
19475
19482
|
}, $e = (pe) => {
|
|
19476
19483
|
b.value = [...pe];
|
|
19477
19484
|
}, ze = (pe) => {
|
|
19478
|
-
const Ie = pe.sort((Se,
|
|
19485
|
+
const Ie = pe.sort((Se, Ne) => {
|
|
19479
19486
|
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 =
|
|
19487
|
+
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 = Ne.text) == null ? void 0 : ci.split("").reduce((Zt, qt) => Je(qt, Zt) & Je(qt, Zt), 0);
|
|
19481
19488
|
return (ot || 0) - (xi || 0);
|
|
19482
19489
|
});
|
|
19483
|
-
return s.answerSeed ? s.answerSeed.reduce((Se,
|
|
19484
|
-
const Je = Ie[
|
|
19490
|
+
return s.answerSeed ? s.answerSeed.reduce((Se, Ne) => {
|
|
19491
|
+
const Je = Ie[Ne];
|
|
19485
19492
|
return Je && Se.push(Je), Se;
|
|
19486
19493
|
}, []) : Ie;
|
|
19487
19494
|
}, ct = (pe) => {
|
|
@@ -19502,17 +19509,17 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
|
|
|
19502
19509
|
}, bt = (pe) => {
|
|
19503
19510
|
var Ie, Se;
|
|
19504
19511
|
if (pe.cancelable) {
|
|
19505
|
-
const
|
|
19506
|
-
|
|
19512
|
+
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;
|
|
19513
|
+
Ne !== null && Je !== null && L.value.y !== null && L.value.x !== null && Math.abs(Je - L.value.x) > 26 && (pe.stopPropagation(), pe.preventDefault());
|
|
19507
19514
|
}
|
|
19508
19515
|
}, Bt = (pe) => {
|
|
19509
19516
|
var ot, xi, Ii;
|
|
19510
|
-
const Ie = pe.choiceKey, Se = pe.event,
|
|
19517
|
+
const Ie = pe.choiceKey, Se = pe.event, Ne = Se.target, Je = {
|
|
19511
19518
|
x: ((ot = Se == null ? void 0 : Se.changedTouches[0]) == null ? void 0 : ot.clientX) || null,
|
|
19512
19519
|
y: ((xi = Se == null ? void 0 : Se.changedTouches[0]) == null ? void 0 : xi.clientY) || null
|
|
19513
19520
|
};
|
|
19514
|
-
if (
|
|
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(
|
|
19521
|
+
if (Ne instanceof HTMLElement && Je.x !== null && Je.y !== null && L.value.x !== null && Math.abs(Je.x - L.value.x) > 80) {
|
|
19522
|
+
const ci = (Ii = a == null ? void 0 : a.value) == null ? void 0 : Ii.choiceEls, Zt = ci == null ? void 0 : ci.find((V1) => V1.contains(Ne)), qt = document.elementFromPoint(Je.x, Je.y);
|
|
19516
19523
|
Zt != null && Zt.contains(qt) && tn(Ie);
|
|
19517
19524
|
} else D.value || (Se.cancelable && Se.preventDefault(), Je.y !== null && L.value.y !== null && Math.abs(Je.y - L.value.y) < 20 && St(Ie));
|
|
19518
19525
|
L.value = { x: null, y: null };
|
|
@@ -19528,7 +19535,7 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
|
|
|
19528
19535
|
Se !== -1 && C.value.splice(Se, 1);
|
|
19529
19536
|
}
|
|
19530
19537
|
}, St = (pe, Ie) => {
|
|
19531
|
-
var
|
|
19538
|
+
var Ne, Je;
|
|
19532
19539
|
if (D.value)
|
|
19533
19540
|
return;
|
|
19534
19541
|
const Se = C.value.indexOf(pe);
|
|
@@ -19540,7 +19547,7 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
|
|
|
19540
19547
|
ot !== -1 && u.value.splice(ot, 1);
|
|
19541
19548
|
}
|
|
19542
19549
|
if (Ie) {
|
|
19543
|
-
const ot = (
|
|
19550
|
+
const ot = (Ne = a == null ? void 0 : a.value) == null ? void 0 : Ne.choiceEls;
|
|
19544
19551
|
ot && "length" in ot && ((Je = ot[0]) == null || Je.focus());
|
|
19545
19552
|
}
|
|
19546
19553
|
}, on = (pe) => {
|
|
@@ -19548,26 +19555,26 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
|
|
|
19548
19555
|
}, sn = () => {
|
|
19549
19556
|
var pe, Ie;
|
|
19550
19557
|
if (Y.value = !Y.value, Y.value) {
|
|
19551
|
-
const Se = (pe = w == null ? void 0 : w.value) == null ? void 0 : pe.mobileImgDropdownImgDescriptionEl,
|
|
19552
|
-
Se != null && Se.offsetParent ? Se.focus() :
|
|
19558
|
+
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;
|
|
19559
|
+
Se != null && Se.offsetParent ? Se.focus() : Ne != null && Ne.offsetParent && Ne.focus();
|
|
19553
19560
|
}
|
|
19554
19561
|
}, Ss = () => {
|
|
19555
19562
|
var pe, Ie, Se;
|
|
19556
19563
|
if (M.value = !M.value, M.value) {
|
|
19557
|
-
const
|
|
19564
|
+
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;
|
|
19558
19565
|
Je != null && Je.offsetParent && Je.focus();
|
|
19559
19566
|
const ot = (Se = k == null ? void 0 : k.value) == null ? void 0 : Se.longAltEl;
|
|
19560
|
-
|
|
19567
|
+
Ne != null && Ne.offsetParent ? Ne.focus() : ot != null && ot.offsetParent && ot.focus();
|
|
19561
19568
|
}
|
|
19562
19569
|
}, co = () => {
|
|
19563
19570
|
var pe, Ie, Se;
|
|
19564
19571
|
if (W.value = !W.value, W.value) {
|
|
19565
|
-
const
|
|
19566
|
-
|
|
19572
|
+
const Ne = (Se = k == null ? void 0 : k.value) == null ? void 0 : Se.explanationTitleEl;
|
|
19573
|
+
Ne && (Ne == null || Ne.focus());
|
|
19567
19574
|
} else {
|
|
19568
|
-
const
|
|
19569
|
-
if (
|
|
19570
|
-
|
|
19575
|
+
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;
|
|
19576
|
+
if (Ne)
|
|
19577
|
+
Ne == null || Ne.focus();
|
|
19571
19578
|
else if (Je) {
|
|
19572
19579
|
const ot = Je instanceof Array ? Je[0] : Je;
|
|
19573
19580
|
ot == null || ot.focus();
|
|
@@ -19581,11 +19588,11 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
|
|
|
19581
19588
|
selectedChoices: C.value,
|
|
19582
19589
|
questionSerial: s.question.serial
|
|
19583
19590
|
});
|
|
19584
|
-
const Se = (pe = y == null ? void 0 : y.value) == null ? void 0 : pe.summaryMCRExplanationEl,
|
|
19591
|
+
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;
|
|
19585
19592
|
if (Se)
|
|
19586
19593
|
Se == null || Se.focus();
|
|
19587
|
-
else if (
|
|
19588
|
-
const Je =
|
|
19594
|
+
else if (Ne) {
|
|
19595
|
+
const Je = Ne instanceof Array ? Ne[0] : Ne;
|
|
19589
19596
|
Je == null || Je.focus();
|
|
19590
19597
|
}
|
|
19591
19598
|
}
|
|
@@ -19643,11 +19650,11 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
|
|
|
19643
19650
|
var Ie, Se;
|
|
19644
19651
|
h.value = s.containerEl || m.value, s.initialShowAnswers && (D.value = s.initialShowAnswers, H.value = s.initialShowAnswers), s.allowKeyboardShortcuts && window.addEventListener("keydown", xe);
|
|
19645
19652
|
const pe = (Ie = v == null ? void 0 : v.value) == null ? void 0 : Ie.querySelectorAll("p");
|
|
19646
|
-
if (pe != null && pe.length && pe.forEach((
|
|
19653
|
+
if (pe != null && pe.length && pe.forEach((Ne) => Ne.setAttribute("tabindex", "0")), s.autoFocusPrompt)
|
|
19647
19654
|
Ke();
|
|
19648
19655
|
else if (s.autoFocusPrompt === !1) {
|
|
19649
|
-
const
|
|
19650
|
-
|
|
19656
|
+
const Ne = (Se = p == null ? void 0 : p.value) == null ? void 0 : Se.contextEl;
|
|
19657
|
+
Ne == null || Ne.focus();
|
|
19651
19658
|
}
|
|
19652
19659
|
}), Ws(() => {
|
|
19653
19660
|
window.removeEventListener("keydown", xe);
|
|
@@ -19800,14 +19807,14 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
|
|
|
19800
19807
|
]),
|
|
19801
19808
|
motivationalMoment: Ue(({
|
|
19802
19809
|
isCorrect: Se,
|
|
19803
|
-
choiceKey:
|
|
19810
|
+
choiceKey: Ne,
|
|
19804
19811
|
showAnswers: Je,
|
|
19805
19812
|
answerKeys: ot
|
|
19806
19813
|
}) => [
|
|
19807
19814
|
Ee(pe.$slots, "motivationalMoment", {
|
|
19808
19815
|
showAnswers: Je,
|
|
19809
19816
|
answerKeys: ot,
|
|
19810
|
-
choiceKey:
|
|
19817
|
+
choiceKey: Ne,
|
|
19811
19818
|
isCorrect: Se
|
|
19812
19819
|
})
|
|
19813
19820
|
]),
|
|
@@ -19829,14 +19836,14 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
|
|
|
19829
19836
|
}, {
|
|
19830
19837
|
motivationalMoment: Ue(({
|
|
19831
19838
|
isCorrect: Se,
|
|
19832
|
-
choiceKey:
|
|
19839
|
+
choiceKey: Ne,
|
|
19833
19840
|
showAnswers: Je,
|
|
19834
19841
|
answerKeys: ot
|
|
19835
19842
|
}) => [
|
|
19836
19843
|
Ee(pe.$slots, "motivationalMoment", {
|
|
19837
19844
|
showAnswers: Je,
|
|
19838
19845
|
answerKeys: ot,
|
|
19839
|
-
choiceKey:
|
|
19846
|
+
choiceKey: Ne,
|
|
19840
19847
|
isCorrect: Se
|
|
19841
19848
|
})
|
|
19842
19849
|
]),
|
|
@@ -19854,14 +19861,14 @@ const Uu = /* @__PURE__ */ be(Wt, [["render", Wu]]), Vr = Symbol("question"), _r
|
|
|
19854
19861
|
}, {
|
|
19855
19862
|
motivationalMoment: Ue(({
|
|
19856
19863
|
isCorrect: Se,
|
|
19857
|
-
choiceKey:
|
|
19864
|
+
choiceKey: Ne,
|
|
19858
19865
|
showAnswers: Je,
|
|
19859
19866
|
answerKeys: ot
|
|
19860
19867
|
}) => [
|
|
19861
19868
|
Ee(pe.$slots, "motivationalMoment", {
|
|
19862
19869
|
showAnswers: Je,
|
|
19863
19870
|
answerKeys: ot,
|
|
19864
|
-
choiceKey:
|
|
19871
|
+
choiceKey: Ne,
|
|
19865
19872
|
isCorrect: Se
|
|
19866
19873
|
})
|
|
19867
19874
|
]),
|
|
@@ -20112,10 +20119,10 @@ Ki([
|
|
|
20112
20119
|
ie({ default: !0 })
|
|
20113
20120
|
], vi.prototype, "isFocusable", 2);
|
|
20114
20121
|
Ki([
|
|
20115
|
-
|
|
20122
|
+
Ze("click")
|
|
20116
20123
|
], vi.prototype, "emitClick", 1);
|
|
20117
20124
|
Ki([
|
|
20118
|
-
|
|
20125
|
+
Ze("keydown")
|
|
20119
20126
|
], vi.prototype, "emitKeydown", 1);
|
|
20120
20127
|
vi = Ki([
|
|
20121
20128
|
ke({
|
|
@@ -20253,10 +20260,10 @@ Xi([
|
|
|
20253
20260
|
ie({ default: "quiz" })
|
|
20254
20261
|
], yi.prototype, "keyboardMode", 2);
|
|
20255
20262
|
Xi([
|
|
20256
|
-
|
|
20263
|
+
Ze("close")
|
|
20257
20264
|
], yi.prototype, "emitClose", 1);
|
|
20258
20265
|
Xi([
|
|
20259
|
-
|
|
20266
|
+
Ze("toggleKeyboardShortcuts")
|
|
20260
20267
|
], yi.prototype, "emitToggleKeyboardShortcuts", 1);
|
|
20261
20268
|
yi = Xi([
|
|
20262
20269
|
ke({
|
|
@@ -20434,7 +20441,7 @@ let oo = class extends De {
|
|
|
20434
20441
|
super(...arguments);
|
|
20435
20442
|
q(this, "tooltipTheme");
|
|
20436
20443
|
q(this, "isDarkMode");
|
|
20437
|
-
q(this, "brandColors",
|
|
20444
|
+
q(this, "brandColors", Fe);
|
|
20438
20445
|
q(this, "showKeyboardTooltip", !1);
|
|
20439
20446
|
q(this, "showKeyboardShortcutsModal", !1);
|
|
20440
20447
|
}
|
|
@@ -20507,7 +20514,7 @@ let wi = class extends De {
|
|
|
20507
20514
|
q(this, "enableFlagKeyboardShortcut");
|
|
20508
20515
|
q(this, "enableFlagTooltip");
|
|
20509
20516
|
q(this, "disabled");
|
|
20510
|
-
q(this, "brandColors",
|
|
20517
|
+
q(this, "brandColors", Fe);
|
|
20511
20518
|
q(this, "showFlagTooltip", !1);
|
|
20512
20519
|
}
|
|
20513
20520
|
mounted() {
|
|
@@ -20539,7 +20546,7 @@ qi([
|
|
|
20539
20546
|
ie({ default: !1 })
|
|
20540
20547
|
], wi.prototype, "disabled", 2);
|
|
20541
20548
|
qi([
|
|
20542
|
-
|
|
20549
|
+
Ze("toggleFlag")
|
|
20543
20550
|
], wi.prototype, "emitToggleFlag", 1);
|
|
20544
20551
|
wi = qi([
|
|
20545
20552
|
ke({
|
|
@@ -20603,7 +20610,7 @@ let hi = class extends De {
|
|
|
20603
20610
|
q(this, "customTooltipStyles");
|
|
20604
20611
|
q(this, "tooltipTheme");
|
|
20605
20612
|
q(this, "isDarkMode");
|
|
20606
|
-
q(this, "brandColors",
|
|
20613
|
+
q(this, "brandColors", Fe);
|
|
20607
20614
|
q(this, "showGlobalMetricsToolTip", !1);
|
|
20608
20615
|
}
|
|
20609
20616
|
toggleGlobalMetrics() {
|
|
@@ -20629,7 +20636,7 @@ Ri([
|
|
|
20629
20636
|
ie({ default: !1 })
|
|
20630
20637
|
], hi.prototype, "isDarkMode", 2);
|
|
20631
20638
|
Ri([
|
|
20632
|
-
|
|
20639
|
+
Ze("toggleGlobalMetrics")
|
|
20633
20640
|
], hi.prototype, "emitToggleGlobalMetrics", 1);
|
|
20634
20641
|
hi = Ri([
|
|
20635
20642
|
ke({
|
|
@@ -20731,7 +20738,7 @@ uo([
|
|
|
20731
20738
|
ie({ default: !1 })
|
|
20732
20739
|
], Qi.prototype, "right", 2);
|
|
20733
20740
|
uo([
|
|
20734
|
-
|
|
20741
|
+
Ze("close")
|
|
20735
20742
|
], Qi.prototype, "emitClose", 1);
|
|
20736
20743
|
Qi = uo([
|
|
20737
20744
|
ke({
|
|
@@ -20808,7 +20815,7 @@ en([
|
|
|
20808
20815
|
ie()
|
|
20809
20816
|
], so.prototype, "title", 2);
|
|
20810
20817
|
en([
|
|
20811
|
-
ie({ default:
|
|
20818
|
+
ie({ default: Fe.fog })
|
|
20812
20819
|
], so.prototype, "primaryColor", 2);
|
|
20813
20820
|
so = en([
|
|
20814
20821
|
ke
|
|
@@ -20901,7 +20908,7 @@ let ti = class extends De {
|
|
|
20901
20908
|
q(this, "isDarkMode");
|
|
20902
20909
|
q(this, "customBlobColor");
|
|
20903
20910
|
q(this, "customIconColor");
|
|
20904
|
-
q(this, "brandColors",
|
|
20911
|
+
q(this, "brandColors", Fe);
|
|
20905
20912
|
}
|
|
20906
20913
|
get iconType() {
|
|
20907
20914
|
return this.state === "incorrect" ? "incorrect" : this.state === "correct" ? "correct" : this.state === "flagged" ? "flagFeedback" : this.state === "assignment" ? "assignment" : "activity";
|