@pocketprep/ui-kit 3.4.73 → 3.4.75
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.
- package/dist/@pocketprep/ui-kit.js +210 -208
- package/dist/@pocketprep/ui-kit.js.map +1 -1
- package/dist/@pocketprep/ui-kit.umd.cjs +7 -7
- package/dist/@pocketprep/ui-kit.umd.cjs.map +1 -1
- package/dist/style.css +1 -1
- package/lib/components/Quiz/Question/MatrixChoicesContainer.vue +33 -17
- package/package.json +1 -1
|
@@ -377,7 +377,7 @@ const pi = (e, i, s) => {
|
|
|
377
377
|
o.forEach((t) => {
|
|
378
378
|
t.includes("--dark") && e.classList.remove(t);
|
|
379
379
|
});
|
|
380
|
-
},
|
|
380
|
+
}, xC = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
381
381
|
__proto__: null,
|
|
382
382
|
breakpoint: Mt,
|
|
383
383
|
dark: Se,
|
|
@@ -17911,7 +17911,7 @@ const gp = /* @__PURE__ */ me(It, [["render", pp]]), _r = {
|
|
|
17911
17911
|
`$1<span class="keyword-highlight${e.isDarkMode ? " keyword-highlight--dark" : ""}" data-location="${e.location}" role="button" tabindex="0" aria-label="${o}, Instruction. Click for definition" aria-haspopup="dialog" aria-expanded="false">
|
|
17912
17912
|
<span style="pointer-events: none;">$2</span></span>$3`
|
|
17913
17913
|
);
|
|
17914
|
-
}, e.text) : e.text,
|
|
17914
|
+
}, e.text) : e.text, Qv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
17915
17915
|
__proto__: null,
|
|
17916
17916
|
highlightKeywordsInText: wo,
|
|
17917
17917
|
studyModes: _r
|
|
@@ -19616,8 +19616,8 @@ lt = At([
|
|
|
19616
19616
|
const Ng = {
|
|
19617
19617
|
class: "uikit-question-matrix-choices-container",
|
|
19618
19618
|
ref: "uikit-question-matrix-choices-container"
|
|
19619
|
-
}, Zg = { class: "uikit-question-matrix-choices-container__columns" }, Jg = ["innerHTML"], Wg = ["innerHTML"],
|
|
19620
|
-
function
|
|
19619
|
+
}, Zg = { class: "uikit-question-matrix-choices-container__columns" }, Jg = ["innerHTML"], Wg = { class: "uikit-question-matrix-choices-container__column-headers" }, Ug = ["innerHTML"], qg = ["innerHTML"], Kg = ["onClick", "onKeypress"];
|
|
19620
|
+
function Xg(e, i, s, o, t, n) {
|
|
19621
19621
|
const r = ge("Checkbox"), R = ge("Icon"), D = ge("MatrixRadioGroup"), Y = Re("dark"), F = Re("breakpoint");
|
|
19622
19622
|
return ne((N(), V("div", Ng, [
|
|
19623
19623
|
ne((N(), V("div", Zg, [
|
|
@@ -19631,18 +19631,20 @@ function Kg(e, i, s, o, t, n) {
|
|
|
19631
19631
|
[Y, e.isDarkMode],
|
|
19632
19632
|
[F, e.breakpoints, "questionEl"]
|
|
19633
19633
|
]),
|
|
19634
|
-
(
|
|
19635
|
-
|
|
19636
|
-
"uikit-question-matrix-choices-container__column-header
|
|
19637
|
-
|
|
19638
|
-
|
|
19639
|
-
|
|
19640
|
-
|
|
19641
|
-
|
|
19642
|
-
|
|
19643
|
-
|
|
19644
|
-
|
|
19645
|
-
|
|
19634
|
+
oe("div", Wg, [
|
|
19635
|
+
(N(!0), V(Ke, null, et(e.matrixColumnLabels, (E, I) => ne((N(), V("div", {
|
|
19636
|
+
class: Ce(["uikit-question-matrix-choices-container__column-header", {
|
|
19637
|
+
"uikit-question-matrix-choices-container__column-header--two-columns": e.numberOfMatrixColumnLabels === 2,
|
|
19638
|
+
"uikit-question-matrix-choices-container__column-header--radio-btn-three-columns": e.question.type === "Matrix Radio Button" && e.numberOfMatrixColumnLabels === 3
|
|
19639
|
+
}]),
|
|
19640
|
+
lang: "de",
|
|
19641
|
+
key: I,
|
|
19642
|
+
innerHTML: E
|
|
19643
|
+
}, null, 10, Ug)), [
|
|
19644
|
+
[Y, e.isDarkMode],
|
|
19645
|
+
[F, e.breakpoints, "questionEl"]
|
|
19646
|
+
])), 128))
|
|
19647
|
+
])
|
|
19646
19648
|
])), [
|
|
19647
19649
|
[Y, e.isDarkMode],
|
|
19648
19650
|
[F, e.breakpoints, "questionEl"]
|
|
@@ -19668,7 +19670,7 @@ function Kg(e, i, s, o, t, n) {
|
|
|
19668
19670
|
"uikit-question-matrix-choices-container__choice-text--radio-btn-two-columns": e.question.type === "Matrix Radio Button" && e.numberOfMatrixColumnLabels === 2
|
|
19669
19671
|
}]),
|
|
19670
19672
|
innerHTML: E
|
|
19671
|
-
}, null, 10,
|
|
19673
|
+
}, null, 10, qg), [
|
|
19672
19674
|
[Y, e.isDarkMode],
|
|
19673
19675
|
[F, e.breakpoints, "questionEl"]
|
|
19674
19676
|
]),
|
|
@@ -19706,7 +19708,7 @@ function Kg(e, i, s, o, t, n) {
|
|
|
19706
19708
|
disabled: e.showMatrixAnswers || e.reviewMode,
|
|
19707
19709
|
"checkbox-styles": e.checkboxContainerStyling(I, A)
|
|
19708
19710
|
}, null, 8, ["model-value", "is-dark-mode", "disabled", "checkbox-styles"])
|
|
19709
|
-
], 42,
|
|
19711
|
+
], 42, Kg)),
|
|
19710
19712
|
(e.showMatrixAnswers || e.reviewMode) && (e.incorrectlySelectedChoice(I, A) || e.correctAnswerButNotSelected(I, A)) ? ne((N(), ye(R, {
|
|
19711
19713
|
key: 2,
|
|
19712
19714
|
class: "uikit-question-matrix-choices-container__incorrect-answer-icon",
|
|
@@ -19765,11 +19767,11 @@ function Kg(e, i, s, o, t, n) {
|
|
|
19765
19767
|
[Y, e.isDarkMode]
|
|
19766
19768
|
]);
|
|
19767
19769
|
}
|
|
19768
|
-
const
|
|
19770
|
+
const Vg = /* @__PURE__ */ me(lt, [["render", Xg]]), _g = {
|
|
19769
19771
|
key: 0,
|
|
19770
19772
|
class: "uikit-mobile-matrix-radio-group",
|
|
19771
19773
|
role: "radiogroup"
|
|
19772
|
-
},
|
|
19774
|
+
}, $g = ["onClick"], ef = ["onClick"], tf = /* @__PURE__ */ Ys({
|
|
19773
19775
|
__name: "MobileMatrixRadioGroup",
|
|
19774
19776
|
props: /* @__PURE__ */ Cn({
|
|
19775
19777
|
isDarkMode: { type: Boolean, default: !1 },
|
|
@@ -19797,7 +19799,7 @@ const Xg = /* @__PURE__ */ me(lt, [["render", Kg]]), Vg = {
|
|
|
19797
19799
|
}
|
|
19798
19800
|
return "blue";
|
|
19799
19801
|
}, n = (r) => r == null ? void 0 : r.replace(/<[^\s>]+[^>]*>/gi, " ").trim();
|
|
19800
|
-
return (r, R) => r.choices.length ? ne((N(), V("ul",
|
|
19802
|
+
return (r, R) => r.choices.length ? ne((N(), V("ul", _g, [
|
|
19801
19803
|
(N(!0), V(Ke, null, et(r.choices, (D, Y) => ne((N(), V("li", {
|
|
19802
19804
|
class: "uikit-mobile-matrix-radio-group__option",
|
|
19803
19805
|
role: "radio",
|
|
@@ -19820,10 +19822,10 @@ const Xg = /* @__PURE__ */ me(lt, [["render", Kg]]), Vg = {
|
|
|
19820
19822
|
onClick: (F) => !r.disabled && !r.showAnswers && o(D)
|
|
19821
19823
|
}, [
|
|
19822
19824
|
xe(ve(n(r.labels[Y])), 1)
|
|
19823
|
-
], 10,
|
|
19825
|
+
], 10, ef)), [
|
|
19824
19826
|
[gi(Se), i.isDarkMode]
|
|
19825
19827
|
]) : Le("", !0)
|
|
19826
|
-
], 8,
|
|
19828
|
+
], 8, $g)), [
|
|
19827
19829
|
[gi(Se), r.isDarkMode]
|
|
19828
19830
|
])), 128))
|
|
19829
19831
|
])), [
|
|
@@ -19831,11 +19833,11 @@ const Xg = /* @__PURE__ */ me(lt, [["render", Kg]]), Vg = {
|
|
|
19831
19833
|
]) : Le("", !0);
|
|
19832
19834
|
}
|
|
19833
19835
|
});
|
|
19834
|
-
const
|
|
19835
|
-
var
|
|
19836
|
-
for (var t = o > 1 ? void 0 : o ?
|
|
19836
|
+
const of = /* @__PURE__ */ me(tf, [["__scopeId", "data-v-c4796ace"]]);
|
|
19837
|
+
var sf = Object.defineProperty, nf = Object.getOwnPropertyDescriptor, gt = (e, i, s, o) => {
|
|
19838
|
+
for (var t = o > 1 ? void 0 : o ? nf(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
19837
19839
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
19838
|
-
return o && t &&
|
|
19840
|
+
return o && t && sf(i, s, t), t;
|
|
19839
19841
|
};
|
|
19840
19842
|
let nt = class extends be {
|
|
19841
19843
|
constructor() {
|
|
@@ -20128,7 +20130,7 @@ nt = gt([
|
|
|
20128
20130
|
Icon: We,
|
|
20129
20131
|
Checkbox: Ts,
|
|
20130
20132
|
PocketButton: bt,
|
|
20131
|
-
MobileMatrixRadioGroup:
|
|
20133
|
+
MobileMatrixRadioGroup: of
|
|
20132
20134
|
},
|
|
20133
20135
|
directives: {
|
|
20134
20136
|
dark: Se,
|
|
@@ -20136,13 +20138,13 @@ nt = gt([
|
|
|
20136
20138
|
}
|
|
20137
20139
|
})
|
|
20138
20140
|
], nt);
|
|
20139
|
-
const
|
|
20141
|
+
const rf = { class: "uikit-question-mobile-matrix-choices-container" }, af = ["onClick"], lf = { class: "uikit-question-mobile-matrix-choices-container__row-label" }, hf = { class: "uikit-question-mobile-matrix-choices-container__selected-choice-labels-container" }, df = {
|
|
20140
20142
|
key: 0,
|
|
20141
20143
|
class: "uikit-question-mobile-matrix-choices-container__selected-choice-labels"
|
|
20142
|
-
},
|
|
20143
|
-
function
|
|
20144
|
+
}, cf = { key: 0 }, uf = ["onClick", "onKeypress"], pf = { key: 1 };
|
|
20145
|
+
function gf(e, i, s, o, t, n) {
|
|
20144
20146
|
const r = ge("Icon"), R = ge("Checkbox"), D = ge("MobileMatrixRadioGroup"), Y = Re("dark"), F = Re("breakpoint");
|
|
20145
|
-
return ne((N(), V("div",
|
|
20147
|
+
return ne((N(), V("div", rf, [
|
|
20146
20148
|
ne((N(), V("div", {
|
|
20147
20149
|
class: Ce(["uikit-question-mobile-matrix-choices-container__choices-container", {
|
|
20148
20150
|
"uikit-question-mobile-matrix-choices-container__choices-container--correct": (e.showMatrixAnswers || e.reviewMode) && e.isMatrixQuestionCorrect,
|
|
@@ -20173,7 +20175,7 @@ function pf(e, i, s, o, t, n) {
|
|
|
20173
20175
|
}, null, 512)), [
|
|
20174
20176
|
[Y, e.isDarkMode]
|
|
20175
20177
|
]) : Le("", !0),
|
|
20176
|
-
ne((N(), V("div",
|
|
20178
|
+
ne((N(), V("div", lf, [
|
|
20177
20179
|
xe(ve(e.stripText(E)) + " ", 1),
|
|
20178
20180
|
ne(Pe(r, {
|
|
20179
20181
|
class: Ce(["uikit-question-mobile-matrix-choices-container__toggle-row-icon", {
|
|
@@ -20186,9 +20188,9 @@ function pf(e, i, s, o, t, n) {
|
|
|
20186
20188
|
])), [
|
|
20187
20189
|
[Y, e.isDarkMode]
|
|
20188
20190
|
]),
|
|
20189
|
-
oe("div",
|
|
20191
|
+
oe("div", hf, [
|
|
20190
20192
|
(N(!0), V(Ke, null, et(e.selectedColumnHeaders, (G, A) => ne((N(), V("div", { key: A }, [
|
|
20191
|
-
e.selectedColumnHeaders && e.selectedColumnHeaders[I] && e.selectedColumnHeaders[I][A] ? ne((N(), V("div",
|
|
20193
|
+
e.selectedColumnHeaders && e.selectedColumnHeaders[I] && e.selectedColumnHeaders[I][A] ? ne((N(), V("div", df, [
|
|
20192
20194
|
xe(ve(e.selectedColumnHeaders[I][A] === e.selectedColumnHeaders[I][e.selectedColumnHeaders[I].length - 1] ? e.stripText(e.selectedColumnHeaders[I][A]) : `${e.stripText(e.selectedColumnHeaders[I][A])},`), 1)
|
|
20193
20195
|
])), [
|
|
20194
20196
|
[Y, e.isDarkMode],
|
|
@@ -20198,11 +20200,11 @@ function pf(e, i, s, o, t, n) {
|
|
|
20198
20200
|
[Y, e.isDarkMode]
|
|
20199
20201
|
])), 128))
|
|
20200
20202
|
])
|
|
20201
|
-
], 10,
|
|
20203
|
+
], 10, af)), [
|
|
20202
20204
|
[Y, e.isDarkMode],
|
|
20203
20205
|
[F, e.breakpoints, "questionEl"]
|
|
20204
20206
|
]),
|
|
20205
|
-
e.expandedRowNumbers.includes(I) && e.question.type === "Matrix Checkbox" && e.matrixCheckboxGrid && e.matrixCheckboxGrid[I] ? (N(), V("div",
|
|
20207
|
+
e.expandedRowNumbers.includes(I) && e.question.type === "Matrix Checkbox" && e.matrixCheckboxGrid && e.matrixCheckboxGrid[I] ? (N(), V("div", cf, [
|
|
20206
20208
|
(N(!0), V(Ke, null, et(e.matrixColumnLabels, (G, A) => {
|
|
20207
20209
|
var g;
|
|
20208
20210
|
return ne((N(), V("div", {
|
|
@@ -20230,12 +20232,12 @@ function pf(e, i, s, o, t, n) {
|
|
|
20230
20232
|
"uikit-question-mobile-matrix-choices-container__checkbox-label--distractor": (e.showMatrixAnswers || e.reviewMode) && e.matrixChoiceLayout[I] && ((g = e.matrixChoiceLayout[I][A]) == null ? void 0 : g.startsWith("d"))
|
|
20231
20233
|
}])
|
|
20232
20234
|
}, ve(e.stripText(G)), 3)
|
|
20233
|
-
], 40,
|
|
20235
|
+
], 40, uf)), [
|
|
20234
20236
|
[Y, e.isDarkMode]
|
|
20235
20237
|
]);
|
|
20236
20238
|
}), 128))
|
|
20237
20239
|
])) : Le("", !0),
|
|
20238
|
-
e.expandedRowNumbers.includes(I) && e.question.type === "Matrix Radio Button" && e.matrixRadioGrid && e.matrixRadioGrid[I] ? (N(), V("div",
|
|
20240
|
+
e.expandedRowNumbers.includes(I) && e.question.type === "Matrix Radio Button" && e.matrixRadioGrid && e.matrixRadioGrid[I] ? (N(), V("div", pf, [
|
|
20239
20241
|
Pe(D, {
|
|
20240
20242
|
modelValue: e.getRadioRowSelection(I),
|
|
20241
20243
|
"review-mode": e.reviewMode,
|
|
@@ -20263,11 +20265,11 @@ function pf(e, i, s, o, t, n) {
|
|
|
20263
20265
|
[Y, e.isDarkMode]
|
|
20264
20266
|
]);
|
|
20265
20267
|
}
|
|
20266
|
-
const
|
|
20267
|
-
var
|
|
20268
|
-
for (var t = o > 1 ? void 0 : o ?
|
|
20268
|
+
const ff = /* @__PURE__ */ me(nt, [["render", gf]]);
|
|
20269
|
+
var Af = Object.defineProperty, Cf = Object.getOwnPropertyDescriptor, Ze = (e, i, s, o) => {
|
|
20270
|
+
for (var t = o > 1 ? void 0 : o ? Cf(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
20269
20271
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
20270
|
-
return o && t &&
|
|
20272
|
+
return o && t && Af(i, s, t), t;
|
|
20271
20273
|
};
|
|
20272
20274
|
let ze = class extends be {
|
|
20273
20275
|
constructor() {
|
|
@@ -20951,8 +20953,8 @@ ze = Ze([
|
|
|
20951
20953
|
StatsSummary: pg,
|
|
20952
20954
|
Explanation: Eg,
|
|
20953
20955
|
PassageAndImage: Yg,
|
|
20954
|
-
MatrixChoicesContainer:
|
|
20955
|
-
MobileMatrixChoicesContainer:
|
|
20956
|
+
MatrixChoicesContainer: Vg,
|
|
20957
|
+
MobileMatrixChoicesContainer: ff
|
|
20956
20958
|
},
|
|
20957
20959
|
directives: {
|
|
20958
20960
|
breakpoint: Mt,
|
|
@@ -20960,16 +20962,16 @@ ze = Ze([
|
|
|
20960
20962
|
}
|
|
20961
20963
|
})
|
|
20962
20964
|
], ze);
|
|
20963
|
-
const
|
|
20965
|
+
const mf = { class: "uikit-question__tag-mobile" }, vf = ["aria-label"], wf = ["innerHTML"], yf = {
|
|
20964
20966
|
key: 4,
|
|
20965
20967
|
class: "uikit-question__unanswered-teach-review-label"
|
|
20966
|
-
},
|
|
20967
|
-
|
|
20968
|
-
],
|
|
20968
|
+
}, Mf = /* @__PURE__ */ oe("span", null, " Unanswered ", -1), bf = [
|
|
20969
|
+
Mf
|
|
20970
|
+
], Lf = ["role"], kf = {
|
|
20969
20971
|
key: 0,
|
|
20970
20972
|
class: "uikit-question__unanswered-label"
|
|
20971
|
-
},
|
|
20972
|
-
function
|
|
20973
|
+
}, Ef = /* @__PURE__ */ oe("span", null, "Unanswered", -1);
|
|
20974
|
+
function Df(e, i, s, o, t, n) {
|
|
20973
20975
|
const r = ge("Icon"), R = ge("QuestionContext"), D = ge("PocketButton"), Y = ge("PassageAndImageDropdown"), F = ge("Paywall"), E = ge("ChoicesContainer"), I = ge("MatrixChoicesContainer"), G = ge("MobileMatrixChoicesContainer"), A = ge("Summary"), g = ge("StatsSummary"), p = ge("PassageAndImage"), d = ge("Explanation"), c = Re("breakpoint"), C = Re("dark");
|
|
20974
20976
|
return ne((N(), V("div", {
|
|
20975
20977
|
ref: "question",
|
|
@@ -20989,7 +20991,7 @@ function Ef(e, i, s, o, t, n) {
|
|
|
20989
20991
|
[C, e.isDarkMode]
|
|
20990
20992
|
])
|
|
20991
20993
|
]),
|
|
20992
|
-
ne((N(), V("div",
|
|
20994
|
+
ne((N(), V("div", mf, [
|
|
20993
20995
|
ke(e.$slots, "tag")
|
|
20994
20996
|
])), [
|
|
20995
20997
|
[c, e.breakpoints, "questionEl"]
|
|
@@ -21037,7 +21039,7 @@ function Ef(e, i, s, o, t, n) {
|
|
|
21037
21039
|
"aria-live": "assertive"
|
|
21038
21040
|
}, [
|
|
21039
21041
|
xe(" Part " + ve(e.currentScenarioQuestionNumber) + " of " + ve(e.numberOfScenarioQuestions), 1)
|
|
21040
|
-
], 8,
|
|
21042
|
+
], 8, vf)), [
|
|
21041
21043
|
[C, e.isDarkMode],
|
|
21042
21044
|
[c, e.breakpoints, "questionEl"]
|
|
21043
21045
|
]) : Le("", !0),
|
|
@@ -21051,7 +21053,7 @@ function Ef(e, i, s, o, t, n) {
|
|
|
21051
21053
|
}]),
|
|
21052
21054
|
onClick: i[0] || (i[0] = (...L) => e.keywordClick && e.keywordClick(...L)),
|
|
21053
21055
|
innerHTML: e.prompt
|
|
21054
|
-
}, null, 10,
|
|
21056
|
+
}, null, 10, wf), [
|
|
21055
21057
|
[c, e.breakpoints, "questionEl"]
|
|
21056
21058
|
]),
|
|
21057
21059
|
e.question.passage || e.passageImageUrl ? ne((N(), ye(D, {
|
|
@@ -21092,7 +21094,7 @@ function Ef(e, i, s, o, t, n) {
|
|
|
21092
21094
|
breakpoints: e.breakpoints,
|
|
21093
21095
|
onUpgradeClicked: e.emitUpgrade
|
|
21094
21096
|
}, null, 8, ["review-Mode", "is-dark-mode", "question-el", "breakpoints", "onUpgradeClicked"])) : Le("", !0),
|
|
21095
|
-
(e.showAnswers || e.showMatrixAnswers) && e.isTeachReview && e.isUnanswered ? ne((N(), V("div",
|
|
21097
|
+
(e.showAnswers || e.showMatrixAnswers) && e.isTeachReview && e.isUnanswered ? ne((N(), V("div", yf, bf)), [
|
|
21096
21098
|
[C, e.isDarkMode]
|
|
21097
21099
|
]) : Le("", !0),
|
|
21098
21100
|
e.showPaywall ? Le("", !0) : ne((N(), V("div", {
|
|
@@ -21107,8 +21109,8 @@ function Ef(e, i, s, o, t, n) {
|
|
|
21107
21109
|
}]),
|
|
21108
21110
|
role: e.isMCR ? "group" : "radiogroup"
|
|
21109
21111
|
}, [
|
|
21110
|
-
e.showAnswers && !e.isMCR && !e.isMatrixQuestion && e.isUnanswered && !e.isCorrect && !e.isTeachReview ? ne((N(), V("div",
|
|
21111
|
-
|
|
21112
|
+
e.showAnswers && !e.isMCR && !e.isMatrixQuestion && e.isUnanswered && !e.isCorrect && !e.isTeachReview ? ne((N(), V("div", kf, [
|
|
21113
|
+
Ef,
|
|
21112
21114
|
ne(Pe(r, {
|
|
21113
21115
|
class: "uikit-question__unanswered-label-icon",
|
|
21114
21116
|
type: "incorrect"
|
|
@@ -21266,7 +21268,7 @@ function Ef(e, i, s, o, t, n) {
|
|
|
21266
21268
|
}, 8, ["question", "matrix-choice-layout", "is-matrix-question-correct", "matrix-answer-keys", "matrix-distractor-keys", "selected-matrix-choices", "show-matrix-answers", "review-mode", "global-metrics", "is-dark-mode", "question-el", "breakpoints", "onEmitSelectedMatrixChoice", "onEmitAnsweredMatrixRowIndex"])), [
|
|
21267
21269
|
[c, e.breakpoints, "questionEl"]
|
|
21268
21270
|
]) : Le("", !0)
|
|
21269
|
-
], 10,
|
|
21271
|
+
], 10, Lf)), [
|
|
21270
21272
|
[C, e.isDarkMode]
|
|
21271
21273
|
]),
|
|
21272
21274
|
(e.isMCR && e.showAnswers || e.isMatrixQuestion && e.showMatrixAnswers) && !e.showPaywall ? (N(), ye(A, {
|
|
@@ -21453,11 +21455,11 @@ function Ef(e, i, s, o, t, n) {
|
|
|
21453
21455
|
[c, e.breakpoints]
|
|
21454
21456
|
]);
|
|
21455
21457
|
}
|
|
21456
|
-
const
|
|
21457
|
-
var
|
|
21458
|
-
for (var t = o > 1 ? void 0 : o ?
|
|
21458
|
+
const Bf = /* @__PURE__ */ me(ze, [["render", Df]]);
|
|
21459
|
+
var If = Object.defineProperty, xf = Object.getOwnPropertyDescriptor, oo = (e, i, s, o) => {
|
|
21460
|
+
for (var t = o > 1 ? void 0 : o ? xf(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
21459
21461
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
21460
|
-
return o && t &&
|
|
21462
|
+
return o && t && If(i, s, t), t;
|
|
21461
21463
|
};
|
|
21462
21464
|
let bi = class extends be {
|
|
21463
21465
|
constructor() {
|
|
@@ -21506,16 +21508,16 @@ bi = oo([
|
|
|
21506
21508
|
}
|
|
21507
21509
|
})
|
|
21508
21510
|
], bi);
|
|
21509
|
-
const
|
|
21511
|
+
const Pf = {
|
|
21510
21512
|
ref: "quiz-container",
|
|
21511
21513
|
class: "uikit-quiz-container"
|
|
21512
|
-
},
|
|
21514
|
+
}, Gf = {
|
|
21513
21515
|
key: 0,
|
|
21514
21516
|
class: "uikit-quiz-container__side"
|
|
21515
21517
|
};
|
|
21516
|
-
function
|
|
21518
|
+
function Qf(e, i, s, o, t, n) {
|
|
21517
21519
|
const r = Re("breakpoint"), R = Re("dark");
|
|
21518
|
-
return ne((N(), V("div",
|
|
21520
|
+
return ne((N(), V("div", Pf, [
|
|
21519
21521
|
ne((N(), V("div", {
|
|
21520
21522
|
class: Ce(["uikit-quiz-container__header", { "uikit-quiz-container__header--dark": e.isDarkMode }]),
|
|
21521
21523
|
style: Ve(e.customHeaderStyles)
|
|
@@ -21528,7 +21530,7 @@ function Gf(e, i, s, o, t, n) {
|
|
|
21528
21530
|
class: "uikit-quiz-container__main",
|
|
21529
21531
|
style: Ve(e.customMainStyles)
|
|
21530
21532
|
}, [
|
|
21531
|
-
e.showSide ? ne((N(), V("div",
|
|
21533
|
+
e.showSide ? ne((N(), V("div", Gf, [
|
|
21532
21534
|
ke(e.$slots, "definition"),
|
|
21533
21535
|
ke(e.$slots, "side")
|
|
21534
21536
|
])), [
|
|
@@ -21559,11 +21561,11 @@ function Gf(e, i, s, o, t, n) {
|
|
|
21559
21561
|
[R, e.isDarkMode]
|
|
21560
21562
|
]);
|
|
21561
21563
|
}
|
|
21562
|
-
const
|
|
21563
|
-
var
|
|
21564
|
-
for (var t = o > 1 ? void 0 : o ?
|
|
21564
|
+
const Rf = /* @__PURE__ */ me(bi, [["render", Qf]]);
|
|
21565
|
+
var Of = Object.defineProperty, Yf = Object.getOwnPropertyDescriptor, so = (e, i, s, o) => {
|
|
21566
|
+
for (var t = o > 1 ? void 0 : o ? Yf(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
21565
21567
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
21566
|
-
return o && t &&
|
|
21568
|
+
return o && t && Of(i, s, t), t;
|
|
21567
21569
|
};
|
|
21568
21570
|
let Li = class extends be {
|
|
21569
21571
|
constructor() {
|
|
@@ -21601,8 +21603,8 @@ Li = so([
|
|
|
21601
21603
|
}
|
|
21602
21604
|
})
|
|
21603
21605
|
], Li);
|
|
21604
|
-
const
|
|
21605
|
-
function
|
|
21606
|
+
const Sf = ["tabindex"];
|
|
21607
|
+
function Tf(e, i, s, o, t, n) {
|
|
21606
21608
|
const r = Re("breakpoint");
|
|
21607
21609
|
return ne((N(), V("div", {
|
|
21608
21610
|
class: Ce(["uikit-quiz-progress-bar", {
|
|
@@ -21614,15 +21616,15 @@ function Sf(e, i, s, o, t, n) {
|
|
|
21614
21616
|
onKeydown: i[1] || (i[1] = (R) => e.emitKeydown(R)),
|
|
21615
21617
|
onMousedown: i[2] || (i[2] = Ie(() => {
|
|
21616
21618
|
}, ["prevent"]))
|
|
21617
|
-
}, null, 42,
|
|
21619
|
+
}, null, 42, Sf)), [
|
|
21618
21620
|
[r, { small: 2 }]
|
|
21619
21621
|
]);
|
|
21620
21622
|
}
|
|
21621
|
-
const e1 = /* @__PURE__ */ me(Li, [["render",
|
|
21622
|
-
var
|
|
21623
|
-
for (var t = o > 1 ? void 0 : o ?
|
|
21623
|
+
const e1 = /* @__PURE__ */ me(Li, [["render", Tf]]);
|
|
21624
|
+
var jf = Object.defineProperty, Hf = Object.getOwnPropertyDescriptor, no = (e, i, s, o) => {
|
|
21625
|
+
for (var t = o > 1 ? void 0 : o ? Hf(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
21624
21626
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
21625
|
-
return o && t &&
|
|
21627
|
+
return o && t && jf(i, s, t), t;
|
|
21626
21628
|
};
|
|
21627
21629
|
let ki = class extends be {
|
|
21628
21630
|
constructor() {
|
|
@@ -21707,10 +21709,10 @@ ki = no([
|
|
|
21707
21709
|
}
|
|
21708
21710
|
})
|
|
21709
21711
|
], ki);
|
|
21710
|
-
const
|
|
21711
|
-
function
|
|
21712
|
+
const Ff = { class: "uikit-quiz-progress" };
|
|
21713
|
+
function zf(e, i, s, o, t, n) {
|
|
21712
21714
|
const r = ge("QuizProgressBar");
|
|
21713
|
-
return N(), V("div",
|
|
21715
|
+
return N(), V("div", Ff, [
|
|
21714
21716
|
(N(!0), V(Ke, null, et(e.numQuestions, (R) => (N(), ye(r, {
|
|
21715
21717
|
key: `${R}_${e.barWidthString}`,
|
|
21716
21718
|
"is-answered": e.answeredIndexList.includes(R),
|
|
@@ -21737,11 +21739,11 @@ function Ff(e, i, s, o, t, n) {
|
|
|
21737
21739
|
}, null, 8, ["is-answered", "is-selected", "is-focusable", "style", "class", "aria-label", "onClick", "onKeydown"]))), 128))
|
|
21738
21740
|
]);
|
|
21739
21741
|
}
|
|
21740
|
-
const
|
|
21741
|
-
var
|
|
21742
|
-
for (var t = o > 1 ? void 0 : o ?
|
|
21742
|
+
const Nf = /* @__PURE__ */ me(ki, [["render", zf]]);
|
|
21743
|
+
var Zf = Object.defineProperty, Jf = Object.getOwnPropertyDescriptor, ro = (e, i, s, o) => {
|
|
21744
|
+
for (var t = o > 1 ? void 0 : o ? Jf(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
21743
21745
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
21744
|
-
return o && t &&
|
|
21746
|
+
return o && t && Zf(i, s, t), t;
|
|
21745
21747
|
};
|
|
21746
21748
|
let Ei = class extends be {
|
|
21747
21749
|
constructor() {
|
|
@@ -21792,24 +21794,24 @@ Ei = ro([
|
|
|
21792
21794
|
}
|
|
21793
21795
|
})
|
|
21794
21796
|
], Ei);
|
|
21795
|
-
const
|
|
21797
|
+
const Wf = { class: "uikit-keyboard-modal" }, Uf = {
|
|
21796
21798
|
ref: "uikit-keyboard-modal__title",
|
|
21797
21799
|
class: "uikit-keyboard-modal__title",
|
|
21798
21800
|
tabindex: "-1"
|
|
21799
|
-
},
|
|
21801
|
+
}, qf = { class: "uikit-keyboard-modal__item" }, Kf = { key: 0 }, Xf = { key: 1 }, Vf = { key: 2 }, _f = { class: "uikit-keyboard-modal__key" }, $f = { class: "uikit-keyboard-modal__item" }, eA = /* @__PURE__ */ oe("div", null, " Navigate through clickable items ", -1), tA = { class: "uikit-keyboard-modal__key" }, iA = {
|
|
21800
21802
|
key: 0,
|
|
21801
21803
|
class: "uikit-keyboard-modal__item"
|
|
21802
|
-
},
|
|
21804
|
+
}, oA = /* @__PURE__ */ oe("div", null, " Open/Close Explanation ", -1), sA = { class: "uikit-keyboard-modal__key" }, nA = {
|
|
21803
21805
|
key: 1,
|
|
21804
21806
|
class: "uikit-keyboard-modal__item"
|
|
21805
|
-
},
|
|
21807
|
+
}, rA = /* @__PURE__ */ oe("div", null, " Select Answer Choice ", -1), aA = { class: "uikit-keyboard-modal__key" }, lA = {
|
|
21806
21808
|
key: 2,
|
|
21807
21809
|
class: "uikit-keyboard-modal__item"
|
|
21808
|
-
},
|
|
21810
|
+
}, hA = /* @__PURE__ */ oe("div", null, " Submit Selected Element ", -1), dA = { class: "uikit-keyboard-modal__key" }, cA = { class: "uikit-keyboard-modal__item" }, uA = /* @__PURE__ */ oe("div", null, " Previous Question ", -1), pA = { class: "uikit-keyboard-modal__key" }, gA = { class: "uikit-keyboard-modal__item" }, fA = /* @__PURE__ */ oe("div", null, " Next Question ", -1), AA = { class: "uikit-keyboard-modal__key" }, CA = { class: "uikit-keyboard-modal__item" }, mA = /* @__PURE__ */ oe("div", null, " Scroll View Up ", -1), vA = { class: "uikit-keyboard-modal__key" }, wA = { class: "uikit-keyboard-modal__item" }, yA = /* @__PURE__ */ oe("div", null, " Scroll View Down ", -1), MA = { class: "uikit-keyboard-modal__key" }, bA = {
|
|
21809
21811
|
key: 3,
|
|
21810
21812
|
class: "uikit-keyboard-modal__item"
|
|
21811
|
-
},
|
|
21812
|
-
function
|
|
21813
|
+
}, LA = /* @__PURE__ */ oe("div", null, " Flag ", -1), kA = { class: "uikit-keyboard-modal__key" }, EA = { class: "uikit-keyboard-modal__toggle" }, DA = { class: "uikit-keyboard-modal__toggle-label" };
|
|
21814
|
+
function BA(e, i, s, o, t, n) {
|
|
21813
21815
|
const r = ge("ToggleSwitch"), R = ge("ModalContainer"), D = Re("dark");
|
|
21814
21816
|
return N(), ye(R, {
|
|
21815
21817
|
"show-close-button": !0,
|
|
@@ -21818,17 +21820,17 @@ function DA(e, i, s, o, t, n) {
|
|
|
21818
21820
|
onClose: e.emitClose
|
|
21819
21821
|
}, {
|
|
21820
21822
|
default: Te(() => [
|
|
21821
|
-
ne((N(), V("div",
|
|
21822
|
-
ne((N(), V("h1",
|
|
21823
|
+
ne((N(), V("div", Wf, [
|
|
21824
|
+
ne((N(), V("h1", Uf, [
|
|
21823
21825
|
xe(" Keyboard Shortcuts ")
|
|
21824
21826
|
])), [
|
|
21825
21827
|
[D, e.isDarkMode]
|
|
21826
21828
|
]),
|
|
21827
|
-
ne((N(), V("div",
|
|
21828
|
-
e.keyboardMode === "quiz" ? (N(), V("div",
|
|
21829
|
-
e.keyboardMode === "review" ? (N(), V("div",
|
|
21830
|
-
e.keyboardMode === "teach" ? (N(), V("div",
|
|
21831
|
-
ne((N(), V("div",
|
|
21829
|
+
ne((N(), V("div", qf, [
|
|
21830
|
+
e.keyboardMode === "quiz" ? (N(), V("div", Kf, " Quit Quiz ")) : Le("", !0),
|
|
21831
|
+
e.keyboardMode === "review" ? (N(), V("div", Xf, " Back to Review ")) : Le("", !0),
|
|
21832
|
+
e.keyboardMode === "teach" ? (N(), V("div", Vf, " Back ")) : Le("", !0),
|
|
21833
|
+
ne((N(), V("div", _f, [
|
|
21832
21834
|
xe(" Esc ")
|
|
21833
21835
|
])), [
|
|
21834
21836
|
[D, e.isDarkMode]
|
|
@@ -21836,9 +21838,9 @@ function DA(e, i, s, o, t, n) {
|
|
|
21836
21838
|
])), [
|
|
21837
21839
|
[D, e.isDarkMode]
|
|
21838
21840
|
]),
|
|
21839
|
-
ne((N(), V("div",
|
|
21840
|
-
|
|
21841
|
-
ne((N(), V("div",
|
|
21841
|
+
ne((N(), V("div", $f, [
|
|
21842
|
+
eA,
|
|
21843
|
+
ne((N(), V("div", tA, [
|
|
21842
21844
|
xe(" Tab ")
|
|
21843
21845
|
])), [
|
|
21844
21846
|
[D, e.isDarkMode]
|
|
@@ -21846,9 +21848,9 @@ function DA(e, i, s, o, t, n) {
|
|
|
21846
21848
|
])), [
|
|
21847
21849
|
[D, e.isDarkMode]
|
|
21848
21850
|
]),
|
|
21849
|
-
e.keyboardMode === "quiz" ? ne((N(), V("div",
|
|
21850
|
-
|
|
21851
|
-
ne((N(), V("div",
|
|
21851
|
+
e.keyboardMode === "quiz" ? ne((N(), V("div", iA, [
|
|
21852
|
+
oA,
|
|
21853
|
+
ne((N(), V("div", sA, [
|
|
21852
21854
|
xe(" X ")
|
|
21853
21855
|
])), [
|
|
21854
21856
|
[D, e.isDarkMode]
|
|
@@ -21856,9 +21858,9 @@ function DA(e, i, s, o, t, n) {
|
|
|
21856
21858
|
])), [
|
|
21857
21859
|
[D, e.isDarkMode]
|
|
21858
21860
|
]) : Le("", !0),
|
|
21859
|
-
e.keyboardMode === "quiz" ? ne((N(), V("div",
|
|
21860
|
-
|
|
21861
|
-
ne((N(), V("div",
|
|
21861
|
+
e.keyboardMode === "quiz" ? ne((N(), V("div", nA, [
|
|
21862
|
+
rA,
|
|
21863
|
+
ne((N(), V("div", aA, [
|
|
21862
21864
|
xe(" A - J ")
|
|
21863
21865
|
])), [
|
|
21864
21866
|
[D, e.isDarkMode]
|
|
@@ -21866,9 +21868,9 @@ function DA(e, i, s, o, t, n) {
|
|
|
21866
21868
|
])), [
|
|
21867
21869
|
[D, e.isDarkMode]
|
|
21868
21870
|
]) : Le("", !0),
|
|
21869
|
-
e.keyboardMode === "quiz" ? ne((N(), V("div",
|
|
21870
|
-
|
|
21871
|
-
ne((N(), V("div",
|
|
21871
|
+
e.keyboardMode === "quiz" ? ne((N(), V("div", lA, [
|
|
21872
|
+
hA,
|
|
21873
|
+
ne((N(), V("div", dA, [
|
|
21872
21874
|
xe(" Return/Enter ")
|
|
21873
21875
|
])), [
|
|
21874
21876
|
[D, e.isDarkMode]
|
|
@@ -21876,9 +21878,9 @@ function DA(e, i, s, o, t, n) {
|
|
|
21876
21878
|
])), [
|
|
21877
21879
|
[D, e.isDarkMode]
|
|
21878
21880
|
]) : Le("", !0),
|
|
21879
|
-
ne((N(), V("div",
|
|
21880
|
-
|
|
21881
|
-
ne((N(), V("div",
|
|
21881
|
+
ne((N(), V("div", cA, [
|
|
21882
|
+
uA,
|
|
21883
|
+
ne((N(), V("div", pA, [
|
|
21882
21884
|
xe(" ← ")
|
|
21883
21885
|
])), [
|
|
21884
21886
|
[D, e.isDarkMode]
|
|
@@ -21886,9 +21888,9 @@ function DA(e, i, s, o, t, n) {
|
|
|
21886
21888
|
])), [
|
|
21887
21889
|
[D, e.isDarkMode]
|
|
21888
21890
|
]),
|
|
21889
|
-
ne((N(), V("div",
|
|
21890
|
-
|
|
21891
|
-
ne((N(), V("div",
|
|
21891
|
+
ne((N(), V("div", gA, [
|
|
21892
|
+
fA,
|
|
21893
|
+
ne((N(), V("div", AA, [
|
|
21892
21894
|
xe(" → ")
|
|
21893
21895
|
])), [
|
|
21894
21896
|
[D, e.isDarkMode]
|
|
@@ -21896,9 +21898,9 @@ function DA(e, i, s, o, t, n) {
|
|
|
21896
21898
|
])), [
|
|
21897
21899
|
[D, e.isDarkMode]
|
|
21898
21900
|
]),
|
|
21899
|
-
ne((N(), V("div",
|
|
21900
|
-
|
|
21901
|
-
ne((N(), V("div",
|
|
21901
|
+
ne((N(), V("div", CA, [
|
|
21902
|
+
mA,
|
|
21903
|
+
ne((N(), V("div", vA, [
|
|
21902
21904
|
xe(" ↑ ")
|
|
21903
21905
|
])), [
|
|
21904
21906
|
[D, e.isDarkMode]
|
|
@@ -21906,9 +21908,9 @@ function DA(e, i, s, o, t, n) {
|
|
|
21906
21908
|
])), [
|
|
21907
21909
|
[D, e.isDarkMode]
|
|
21908
21910
|
]),
|
|
21909
|
-
ne((N(), V("div",
|
|
21910
|
-
|
|
21911
|
-
ne((N(), V("div",
|
|
21911
|
+
ne((N(), V("div", wA, [
|
|
21912
|
+
yA,
|
|
21913
|
+
ne((N(), V("div", MA, [
|
|
21912
21914
|
xe(" ↓ ")
|
|
21913
21915
|
])), [
|
|
21914
21916
|
[D, e.isDarkMode]
|
|
@@ -21916,9 +21918,9 @@ function DA(e, i, s, o, t, n) {
|
|
|
21916
21918
|
])), [
|
|
21917
21919
|
[D, e.isDarkMode]
|
|
21918
21920
|
]),
|
|
21919
|
-
e.keyboardMode !== "teach" ? ne((N(), V("div",
|
|
21920
|
-
|
|
21921
|
-
ne((N(), V("div",
|
|
21921
|
+
e.keyboardMode !== "teach" ? ne((N(), V("div", bA, [
|
|
21922
|
+
LA,
|
|
21923
|
+
ne((N(), V("div", kA, [
|
|
21922
21924
|
xe(" P ")
|
|
21923
21925
|
])), [
|
|
21924
21926
|
[D, e.isDarkMode]
|
|
@@ -21926,14 +21928,14 @@ function DA(e, i, s, o, t, n) {
|
|
|
21926
21928
|
])), [
|
|
21927
21929
|
[D, e.isDarkMode]
|
|
21928
21930
|
]) : Le("", !0),
|
|
21929
|
-
oe("div",
|
|
21931
|
+
oe("div", EA, [
|
|
21930
21932
|
Pe(r, {
|
|
21931
21933
|
modelValue: e.allowKeyboardShortcuts,
|
|
21932
21934
|
"is-dark-mode": e.isDarkMode,
|
|
21933
21935
|
"aria-label": "Keyboard shortcuts",
|
|
21934
21936
|
"onUpdate:modelValue": e.toggleKeyboardShortcuts
|
|
21935
21937
|
}, null, 8, ["modelValue", "is-dark-mode", "onUpdate:modelValue"]),
|
|
21936
|
-
ne((N(), V("div",
|
|
21938
|
+
ne((N(), V("div", DA, [
|
|
21937
21939
|
xe(" Keyboard shortcuts ")
|
|
21938
21940
|
])), [
|
|
21939
21941
|
[D, e.isDarkMode]
|
|
@@ -21946,11 +21948,11 @@ function DA(e, i, s, o, t, n) {
|
|
|
21946
21948
|
_: 1
|
|
21947
21949
|
}, 8, ["is-dark-mode", "onClose"]);
|
|
21948
21950
|
}
|
|
21949
|
-
const t1 = /* @__PURE__ */ me(Ei, [["render",
|
|
21950
|
-
var
|
|
21951
|
-
for (var t = o > 1 ? void 0 : o ?
|
|
21951
|
+
const t1 = /* @__PURE__ */ me(Ei, [["render", BA]]);
|
|
21952
|
+
var IA = Object.defineProperty, xA = Object.getOwnPropertyDescriptor, ln = (e, i, s, o) => {
|
|
21953
|
+
for (var t = o > 1 ? void 0 : o ? xA(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
21952
21954
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
21953
|
-
return o && t &&
|
|
21955
|
+
return o && t && IA(i, s, t), t;
|
|
21954
21956
|
};
|
|
21955
21957
|
let fo = class extends be {
|
|
21956
21958
|
constructor() {
|
|
@@ -21977,7 +21979,7 @@ fo = ln([
|
|
|
21977
21979
|
}
|
|
21978
21980
|
})
|
|
21979
21981
|
], fo);
|
|
21980
|
-
function
|
|
21982
|
+
function PA(e, i, s, o, t, n) {
|
|
21981
21983
|
const r = ge("Tooltip"), R = ge("Icon");
|
|
21982
21984
|
return N(), V("div", null, [
|
|
21983
21985
|
ke(e.$slots, "keyboardShortcutsModal", {
|
|
@@ -22017,11 +22019,11 @@ function xA(e, i, s, o, t, n) {
|
|
|
22017
22019
|
], 32)
|
|
22018
22020
|
]);
|
|
22019
22021
|
}
|
|
22020
|
-
const
|
|
22021
|
-
var
|
|
22022
|
-
for (var t = o > 1 ? void 0 : o ?
|
|
22022
|
+
const GA = /* @__PURE__ */ me(fo, [["render", PA]]);
|
|
22023
|
+
var QA = Object.defineProperty, RA = Object.getOwnPropertyDescriptor, ao = (e, i, s, o) => {
|
|
22024
|
+
for (var t = o > 1 ? void 0 : o ? RA(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
22023
22025
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
22024
|
-
return o && t &&
|
|
22026
|
+
return o && t && QA(i, s, t), t;
|
|
22025
22027
|
};
|
|
22026
22028
|
let Di = class extends be {
|
|
22027
22029
|
constructor() {
|
|
@@ -22072,8 +22074,8 @@ Di = ao([
|
|
|
22072
22074
|
}
|
|
22073
22075
|
})
|
|
22074
22076
|
], Di);
|
|
22075
|
-
const
|
|
22076
|
-
function
|
|
22077
|
+
const OA = ["tabindex", "aria-checked"];
|
|
22078
|
+
function YA(e, i, s, o, t, n) {
|
|
22077
22079
|
const r = ge("Tooltip"), R = ge("Icon");
|
|
22078
22080
|
return N(), V("div", {
|
|
22079
22081
|
class: Ce(["uikit-flag-toggle", { "uikit-flag-toggle--disabled": e.disabled }]),
|
|
@@ -22110,13 +22112,13 @@ function OA(e, i, s, o, t, n) {
|
|
|
22110
22112
|
}]),
|
|
22111
22113
|
type: e.isFlagged ? "flag-filled" : "flag"
|
|
22112
22114
|
}, null, 8, ["class", "type"])
|
|
22113
|
-
], 42,
|
|
22115
|
+
], 42, OA);
|
|
22114
22116
|
}
|
|
22115
|
-
const
|
|
22116
|
-
var
|
|
22117
|
-
for (var t = o > 1 ? void 0 : o ?
|
|
22117
|
+
const SA = /* @__PURE__ */ me(Di, [["render", YA]]);
|
|
22118
|
+
var TA = Object.defineProperty, jA = Object.getOwnPropertyDescriptor, Fi = (e, i, s, o) => {
|
|
22119
|
+
for (var t = o > 1 ? void 0 : o ? jA(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
22118
22120
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
22119
|
-
return o && t &&
|
|
22121
|
+
return o && t && TA(i, s, t), t;
|
|
22120
22122
|
};
|
|
22121
22123
|
let di = class extends be {
|
|
22122
22124
|
constructor() {
|
|
@@ -22162,8 +22164,8 @@ di = Fi([
|
|
|
22162
22164
|
}
|
|
22163
22165
|
})
|
|
22164
22166
|
], di);
|
|
22165
|
-
const
|
|
22166
|
-
function
|
|
22167
|
+
const HA = ["tabindex", "aria-disabled", "aria-checked"];
|
|
22168
|
+
function FA(e, i, s, o, t, n) {
|
|
22167
22169
|
const r = ge("Tooltip"), R = ge("Icon");
|
|
22168
22170
|
return N(), V("div", {
|
|
22169
22171
|
class: "uikit-global-metrics-toggle",
|
|
@@ -22205,13 +22207,13 @@ function HA(e, i, s, o, t, n) {
|
|
|
22205
22207
|
}]),
|
|
22206
22208
|
type: "people"
|
|
22207
22209
|
}, null, 8, ["class"])
|
|
22208
|
-
], 40,
|
|
22210
|
+
], 40, HA);
|
|
22209
22211
|
}
|
|
22210
|
-
const
|
|
22211
|
-
var
|
|
22212
|
-
for (var t = o > 1 ? void 0 : o ?
|
|
22212
|
+
const zA = /* @__PURE__ */ me(di, [["render", FA]]);
|
|
22213
|
+
var NA = Object.defineProperty, ZA = Object.getOwnPropertyDescriptor, yo = (e, i, s, o) => {
|
|
22214
|
+
for (var t = o > 1 ? void 0 : o ? ZA(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
22213
22215
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
22214
|
-
return o && t &&
|
|
22216
|
+
return o && t && NA(i, s, t), t;
|
|
22215
22217
|
};
|
|
22216
22218
|
let Ti = class extends be {
|
|
22217
22219
|
constructor() {
|
|
@@ -22265,11 +22267,11 @@ Ti = yo([
|
|
|
22265
22267
|
}
|
|
22266
22268
|
})
|
|
22267
22269
|
], Ti);
|
|
22268
|
-
const
|
|
22270
|
+
const JA = { class: "toast__icon" }, WA = { class: "toast__content" }, UA = { class: "toast__content-title" }, qA = {
|
|
22269
22271
|
key: 0,
|
|
22270
22272
|
class: "toast__content-subtext"
|
|
22271
22273
|
};
|
|
22272
|
-
function
|
|
22274
|
+
function KA(e, i, s, o, t, n) {
|
|
22273
22275
|
var D, Y;
|
|
22274
22276
|
const r = ge("Icon"), R = Re("dark");
|
|
22275
22277
|
return ne((N(), V("div", {
|
|
@@ -22292,18 +22294,18 @@ function qA(e, i, s, o, t, n) {
|
|
|
22292
22294
|
], 32)), [
|
|
22293
22295
|
[R, e.isDarkMode]
|
|
22294
22296
|
]) : Le("", !0),
|
|
22295
|
-
oe("div",
|
|
22297
|
+
oe("div", JA, [
|
|
22296
22298
|
ke(e.$slots, "icon", {}, () => [
|
|
22297
22299
|
Pe(r, { type: "check" })
|
|
22298
22300
|
], !0)
|
|
22299
22301
|
]),
|
|
22300
|
-
oe("div",
|
|
22301
|
-
ne((N(), V("div",
|
|
22302
|
+
oe("div", WA, [
|
|
22303
|
+
ne((N(), V("div", UA, [
|
|
22302
22304
|
ke(e.$slots, "default", {}, void 0, !0)
|
|
22303
22305
|
])), [
|
|
22304
22306
|
[R, e.isDarkMode]
|
|
22305
22307
|
]),
|
|
22306
|
-
(Y = (D = e.$slots).subtext) != null && Y.call(D) ? ne((N(), V("div",
|
|
22308
|
+
(Y = (D = e.$slots).subtext) != null && Y.call(D) ? ne((N(), V("div", qA, [
|
|
22307
22309
|
ke(e.$slots, "subtext", {}, void 0, !0)
|
|
22308
22310
|
])), [
|
|
22309
22311
|
[R, e.isDarkMode]
|
|
@@ -22313,11 +22315,11 @@ function qA(e, i, s, o, t, n) {
|
|
|
22313
22315
|
[R, e.isDarkMode]
|
|
22314
22316
|
]);
|
|
22315
22317
|
}
|
|
22316
|
-
const
|
|
22317
|
-
var
|
|
22318
|
-
for (var t = o > 1 ? void 0 : o ?
|
|
22318
|
+
const XA = /* @__PURE__ */ me(Ti, [["render", KA], ["__scopeId", "data-v-f790add1"]]);
|
|
22319
|
+
var VA = Object.defineProperty, _A = Object.getOwnPropertyDescriptor, hn = (e, i, s, o) => {
|
|
22320
|
+
for (var t = o > 1 ? void 0 : o ? _A(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
22319
22321
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
22320
|
-
return o && t &&
|
|
22322
|
+
return o && t && VA(i, s, t), t;
|
|
22321
22323
|
};
|
|
22322
22324
|
let Ao = class extends be {
|
|
22323
22325
|
constructor() {
|
|
@@ -22335,37 +22337,37 @@ hn([
|
|
|
22335
22337
|
Ao = hn([
|
|
22336
22338
|
Me
|
|
22337
22339
|
], Ao);
|
|
22338
|
-
const
|
|
22340
|
+
const $A = {
|
|
22339
22341
|
width: "38",
|
|
22340
22342
|
height: "33",
|
|
22341
22343
|
viewBox: "0 0 38 33",
|
|
22342
22344
|
version: "1.1",
|
|
22343
22345
|
xmlns: "http://www.w3.org/2000/svg",
|
|
22344
22346
|
"xmlns:xlink": "http://www.w3.org/1999/xlink"
|
|
22345
|
-
},
|
|
22347
|
+
}, eC = {
|
|
22346
22348
|
stroke: "none",
|
|
22347
22349
|
"stroke-width": "1",
|
|
22348
22350
|
fill: "none",
|
|
22349
22351
|
"fill-rule": "evenodd"
|
|
22350
|
-
},
|
|
22351
|
-
|
|
22352
|
+
}, tC = ["fill"], iC = /* @__PURE__ */ oe("path", { d: "M0.5 17.7589C0.5 24.3405 8.55289 33.6455 16.3374 32.9647C24.1218 32.2838 33.0805 28.6526 36.0389 23.2058C38.9973 17.7589 37.5179 10.7234 31.101 4.59576C24.6841 -1.53192 14.9952 -1.53192 9.08975 4.59576C3.1843 10.7234 0.5 11.1773 0.5 17.7589Z" }, null, -1), oC = [
|
|
22353
|
+
iC
|
|
22352
22354
|
];
|
|
22353
|
-
function
|
|
22354
|
-
return N(), V("svg",
|
|
22355
|
+
function sC(e, i, s, o, t, n) {
|
|
22356
|
+
return N(), V("svg", $A, [
|
|
22355
22357
|
oe("title", null, ve(e.title), 1),
|
|
22356
|
-
oe("g",
|
|
22358
|
+
oe("g", eC, [
|
|
22357
22359
|
oe("g", {
|
|
22358
22360
|
fill: e.primaryColor,
|
|
22359
22361
|
"fill-rule": "nonzero"
|
|
22360
|
-
},
|
|
22362
|
+
}, oC, 8, tC)
|
|
22361
22363
|
])
|
|
22362
22364
|
]);
|
|
22363
22365
|
}
|
|
22364
|
-
const
|
|
22365
|
-
var
|
|
22366
|
-
for (var t = o > 1 ? void 0 : o ?
|
|
22366
|
+
const nC = /* @__PURE__ */ me(Ao, [["render", sC]]);
|
|
22367
|
+
var rC = Object.defineProperty, aC = Object.getOwnPropertyDescriptor, lo = (e, i, s, o) => {
|
|
22368
|
+
for (var t = o > 1 ? void 0 : o ? aC(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
22367
22369
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
22368
|
-
return o && t &&
|
|
22370
|
+
return o && t && rC(i, s, t), t;
|
|
22369
22371
|
};
|
|
22370
22372
|
let Bi = class extends be {
|
|
22371
22373
|
constructor() {
|
|
@@ -22395,11 +22397,11 @@ lo([
|
|
|
22395
22397
|
Bi = lo([
|
|
22396
22398
|
Me({
|
|
22397
22399
|
components: {
|
|
22398
|
-
BlobEmptyState:
|
|
22400
|
+
BlobEmptyState: nC
|
|
22399
22401
|
}
|
|
22400
22402
|
})
|
|
22401
22403
|
], Bi);
|
|
22402
|
-
function
|
|
22404
|
+
function lC(e, i, s, o, t, n) {
|
|
22403
22405
|
const r = ge("BlobEmptyState");
|
|
22404
22406
|
return e.type === "empty" ? (N(), ye(r, {
|
|
22405
22407
|
key: 0,
|
|
@@ -22407,11 +22409,11 @@ function aC(e, i, s, o, t, n) {
|
|
|
22407
22409
|
"primary-color": e.primaryColor
|
|
22408
22410
|
}, null, 8, ["title", "primary-color"])) : Le("", !0);
|
|
22409
22411
|
}
|
|
22410
|
-
const
|
|
22411
|
-
var
|
|
22412
|
-
for (var t = o > 1 ? void 0 : o ?
|
|
22412
|
+
const hC = /* @__PURE__ */ me(Bi, [["render", lC]]);
|
|
22413
|
+
var dC = Object.defineProperty, cC = Object.getOwnPropertyDescriptor, zi = (e, i, s, o) => {
|
|
22414
|
+
for (var t = o > 1 ? void 0 : o ? cC(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
22413
22415
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
22414
|
-
return o && t &&
|
|
22416
|
+
return o && t && dC(i, s, t), t;
|
|
22415
22417
|
};
|
|
22416
22418
|
let ci = class extends be {
|
|
22417
22419
|
constructor() {
|
|
@@ -22456,19 +22458,19 @@ ci = zi([
|
|
|
22456
22458
|
Me({
|
|
22457
22459
|
components: {
|
|
22458
22460
|
Icon: We,
|
|
22459
|
-
Blob:
|
|
22461
|
+
Blob: hC
|
|
22460
22462
|
},
|
|
22461
22463
|
directives: {
|
|
22462
22464
|
dark: Se
|
|
22463
22465
|
}
|
|
22464
22466
|
})
|
|
22465
22467
|
], ci);
|
|
22466
|
-
const
|
|
22467
|
-
function
|
|
22468
|
+
const uC = { class: "uikit-empty-state" }, pC = { class: "uikit-empty-state__row" }, gC = { class: "uikit-empty-state__title" }, fC = { class: "uikit-empty-state__message" };
|
|
22469
|
+
function AC(e, i, s, o, t, n) {
|
|
22468
22470
|
const r = ge("Blob"), R = ge("Icon"), D = Re("dark");
|
|
22469
|
-
return ne((N(), V("div",
|
|
22471
|
+
return ne((N(), V("div", uC, [
|
|
22470
22472
|
ke(e.$slots, "imageRow", {}, () => [
|
|
22471
|
-
ne((N(), V("div",
|
|
22473
|
+
ne((N(), V("div", pC, [
|
|
22472
22474
|
ke(e.$slots, "image", {}, () => [
|
|
22473
22475
|
ke(e.$slots, "blob", {}, () => [
|
|
22474
22476
|
Pe(r, {
|
|
@@ -22490,14 +22492,14 @@ function fC(e, i, s, o, t, n) {
|
|
|
22490
22492
|
[D, e.isDarkMode]
|
|
22491
22493
|
])
|
|
22492
22494
|
]),
|
|
22493
|
-
ne((N(), V("div",
|
|
22495
|
+
ne((N(), V("div", gC, [
|
|
22494
22496
|
ke(e.$slots, "emptyStateTitle", {}, () => [
|
|
22495
22497
|
xe(ve(e.title), 1)
|
|
22496
22498
|
])
|
|
22497
22499
|
])), [
|
|
22498
22500
|
[D, e.isDarkMode]
|
|
22499
22501
|
]),
|
|
22500
|
-
ne((N(), V("div",
|
|
22502
|
+
ne((N(), V("div", fC, [
|
|
22501
22503
|
ke(e.$slots, "emptyStateMessage", {}, () => [
|
|
22502
22504
|
xe(ve(e.message), 1)
|
|
22503
22505
|
])
|
|
@@ -22508,11 +22510,11 @@ function fC(e, i, s, o, t, n) {
|
|
|
22508
22510
|
[D, e.isDarkMode]
|
|
22509
22511
|
]);
|
|
22510
22512
|
}
|
|
22511
|
-
const
|
|
22512
|
-
var
|
|
22513
|
-
for (var t = o > 1 ? void 0 : o ?
|
|
22513
|
+
const CC = /* @__PURE__ */ me(ci, [["render", AC]]);
|
|
22514
|
+
var mC = Object.defineProperty, vC = Object.getOwnPropertyDescriptor, Oi = (e, i, s, o) => {
|
|
22515
|
+
for (var t = o > 1 ? void 0 : o ? vC(i, s) : i, n = e.length - 1, r; n >= 0; n--)
|
|
22514
22516
|
(r = e[n]) && (t = (o ? r(i, s, t) : r(t)) || t);
|
|
22515
|
-
return o && t &&
|
|
22517
|
+
return o && t && mC(i, s, t), t;
|
|
22516
22518
|
};
|
|
22517
22519
|
let ti = class extends be {
|
|
22518
22520
|
constructor() {
|
|
@@ -22554,7 +22556,7 @@ ti = Oi([
|
|
|
22554
22556
|
}
|
|
22555
22557
|
})
|
|
22556
22558
|
], ti);
|
|
22557
|
-
function
|
|
22559
|
+
function wC(e, i, s, o, t, n) {
|
|
22558
22560
|
const r = Re("dark");
|
|
22559
22561
|
return ne((N(), V("div", {
|
|
22560
22562
|
class: Ce(["uikit-tag", {
|
|
@@ -22572,14 +22574,14 @@ function vC(e, i, s, o, t, n) {
|
|
|
22572
22574
|
[r, e.isDarkMode]
|
|
22573
22575
|
]);
|
|
22574
22576
|
}
|
|
22575
|
-
const
|
|
22577
|
+
const yC = /* @__PURE__ */ me(ti, [["render", wC]]), MC = { class: "info-message" }, bC = { class: "info-message__content" }, LC = /* @__PURE__ */ Ys({
|
|
22576
22578
|
__name: "InfoMessage",
|
|
22577
22579
|
props: {
|
|
22578
22580
|
isDarkMode: { type: Boolean }
|
|
22579
22581
|
},
|
|
22580
22582
|
setup(e) {
|
|
22581
|
-
return (i, s) => ne((N(), V("div",
|
|
22582
|
-
ne((N(), V("div",
|
|
22583
|
+
return (i, s) => ne((N(), V("div", MC, [
|
|
22584
|
+
ne((N(), V("div", bC, [
|
|
22583
22585
|
ke(i.$slots, "default", {}, void 0, !0)
|
|
22584
22586
|
])), [
|
|
22585
22587
|
[gi(Se), i.isDarkMode]
|
|
@@ -22589,7 +22591,7 @@ const wC = /* @__PURE__ */ me(ti, [["render", vC]]), yC = { class: "info-message
|
|
|
22589
22591
|
]);
|
|
22590
22592
|
}
|
|
22591
22593
|
});
|
|
22592
|
-
const
|
|
22594
|
+
const kC = /* @__PURE__ */ me(LC, [["__scopeId", "data-v-9941921a"]]), iw = {
|
|
22593
22595
|
Banner: Al,
|
|
22594
22596
|
Bar: bl,
|
|
22595
22597
|
Pie: Bl,
|
|
@@ -22630,24 +22632,24 @@ const LC = /* @__PURE__ */ me(bC, [["__scopeId", "data-v-9941921a"]]), tw = {
|
|
|
22630
22632
|
SVGDefinitions: xu,
|
|
22631
22633
|
SidePanel: Hu,
|
|
22632
22634
|
Calendar: Wu,
|
|
22633
|
-
Question:
|
|
22634
|
-
QuizContainer:
|
|
22635
|
-
QuizProgress:
|
|
22635
|
+
Question: Bf,
|
|
22636
|
+
QuizContainer: Rf,
|
|
22637
|
+
QuizProgress: Nf,
|
|
22636
22638
|
QuizProgressBar: e1,
|
|
22637
|
-
KeyboardShortcutsButton:
|
|
22639
|
+
KeyboardShortcutsButton: GA,
|
|
22638
22640
|
KeyboardShortcutsModal: t1,
|
|
22639
|
-
FlagToggle:
|
|
22640
|
-
GlobalMetricsToggle:
|
|
22641
|
+
FlagToggle: SA,
|
|
22642
|
+
GlobalMetricsToggle: zA,
|
|
22641
22643
|
Tab: k7,
|
|
22642
22644
|
PremiumPill: Js,
|
|
22643
|
-
Toast:
|
|
22644
|
-
EmptyState:
|
|
22645
|
-
Tag:
|
|
22646
|
-
InfoMessage:
|
|
22645
|
+
Toast: XA,
|
|
22646
|
+
EmptyState: CC,
|
|
22647
|
+
Tag: yC,
|
|
22648
|
+
InfoMessage: kC
|
|
22647
22649
|
};
|
|
22648
22650
|
export {
|
|
22649
|
-
|
|
22650
|
-
|
|
22651
|
-
|
|
22651
|
+
iw as default,
|
|
22652
|
+
xC as directives,
|
|
22653
|
+
Qv as utils
|
|
22652
22654
|
};
|
|
22653
22655
|
//# sourceMappingURL=ui-kit.js.map
|