qti3-item-player-vue3 0.2.8 → 0.2.9
Sign up to get free protection for your applications and to get access to all the features.
@@ -7441,7 +7441,7 @@ const HC = (e, t, i, { allOwnKeys: s } = {}) => (Eo(t, (n, r) => {
|
|
7441
7441
|
let a;
|
7442
7442
|
(a = t(n, r, e)) !== !1 && (s[r] = a || n);
|
7443
7443
|
}), Object.defineProperties(e, s);
|
7444
|
-
},
|
7444
|
+
}, ex = (e) => {
|
7445
7445
|
Dy(e, (t, i) => {
|
7446
7446
|
if (Zt(e) && ["arguments", "caller", "callee"].indexOf(i) !== -1)
|
7447
7447
|
return !1;
|
@@ -7456,29 +7456,29 @@ const HC = (e, t, i, { allOwnKeys: s } = {}) => (Eo(t, (n, r) => {
|
|
7456
7456
|
});
|
7457
7457
|
}
|
7458
7458
|
});
|
7459
|
-
},
|
7459
|
+
}, tx = (e, t) => {
|
7460
7460
|
const i = {}, s = (n) => {
|
7461
7461
|
n.forEach((r) => {
|
7462
7462
|
i[r] = !0;
|
7463
7463
|
});
|
7464
7464
|
};
|
7465
7465
|
return Ur(e) ? s(e) : s(String(e).split(t)), i;
|
7466
|
-
},
|
7467
|
-
},
|
7466
|
+
}, ix = () => {
|
7467
|
+
}, sx = (e, t) => e != null && Number.isFinite(e = +e) ? e : t, Sc = "abcdefghijklmnopqrstuvwxyz", Wf = "0123456789", By = {
|
7468
7468
|
DIGIT: Wf,
|
7469
7469
|
ALPHA: Sc,
|
7470
7470
|
ALPHA_DIGIT: Sc + Sc.toUpperCase() + Wf
|
7471
|
-
},
|
7471
|
+
}, nx = (e = 16, t = By.ALPHA_DIGIT) => {
|
7472
7472
|
let i = "";
|
7473
7473
|
const { length: s } = t;
|
7474
7474
|
for (; e--; )
|
7475
7475
|
i += t[Math.random() * s | 0];
|
7476
7476
|
return i;
|
7477
7477
|
};
|
7478
|
-
function
|
7478
|
+
function rx(e) {
|
7479
7479
|
return !!(e && Zt(e.append) && e[Symbol.toStringTag] === "FormData" && e[Symbol.iterator]);
|
7480
7480
|
}
|
7481
|
-
const
|
7481
|
+
const ax = (e) => {
|
7482
7482
|
const t = new Array(10), i = (s, n) => {
|
7483
7483
|
if (wu(s)) {
|
7484
7484
|
if (t.indexOf(s) >= 0)
|
@@ -7495,14 +7495,14 @@ const a1 = (e) => {
|
|
7495
7495
|
return s;
|
7496
7496
|
};
|
7497
7497
|
return i(e, 0);
|
7498
|
-
},
|
7498
|
+
}, ox = Pi("AsyncFunction"), lx = (e) => e && (wu(e) || Zt(e)) && Zt(e.then) && Zt(e.catch), Qy = ((e, t) => e ? setImmediate : t ? ((i, s) => (wn.addEventListener("message", ({ source: n, data: r }) => {
|
7499
7499
|
n === wn && r === i && s.length && s.shift()();
|
7500
7500
|
}, !1), (n) => {
|
7501
7501
|
s.push(n), wn.postMessage(i, "*");
|
7502
7502
|
}))(`axios@${Math.random()}`, []) : (i) => setTimeout(i))(
|
7503
7503
|
typeof setImmediate == "function",
|
7504
7504
|
Zt(wn.postMessage)
|
7505
|
-
),
|
7505
|
+
), ux = typeof queueMicrotask < "u" ? queueMicrotask.bind(wn) : typeof process < "u" && process.nextTick || Qy, U = {
|
7506
7506
|
isArray: Ur,
|
7507
7507
|
isArrayBuffer: qy,
|
7508
7508
|
isBuffer: IC,
|
@@ -7545,22 +7545,22 @@ const a1 = (e) => {
|
|
7545
7545
|
hasOwnProp: jf,
|
7546
7546
|
// an alias to avoid ESLint no-prototype-builtins detection
|
7547
7547
|
reduceDescriptors: Dy,
|
7548
|
-
freezeMethods:
|
7549
|
-
toObjectSet:
|
7548
|
+
freezeMethods: ex,
|
7549
|
+
toObjectSet: tx,
|
7550
7550
|
toCamelCase: ZC,
|
7551
|
-
noop:
|
7552
|
-
toFiniteNumber:
|
7551
|
+
noop: ix,
|
7552
|
+
toFiniteNumber: sx,
|
7553
7553
|
findKey: ky,
|
7554
7554
|
global: wn,
|
7555
7555
|
isContextDefined: Py,
|
7556
7556
|
ALPHABET: By,
|
7557
|
-
generateString:
|
7558
|
-
isSpecCompliantForm:
|
7559
|
-
toJSONObject:
|
7560
|
-
isAsyncFn:
|
7561
|
-
isThenable:
|
7557
|
+
generateString: nx,
|
7558
|
+
isSpecCompliantForm: rx,
|
7559
|
+
toJSONObject: ax,
|
7560
|
+
isAsyncFn: ox,
|
7561
|
+
isThenable: lx,
|
7562
7562
|
setImmediate: Qy,
|
7563
|
-
asap:
|
7563
|
+
asap: ux
|
7564
7564
|
};
|
7565
7565
|
function Te(e, t, i, s, n) {
|
7566
7566
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), i && (this.config = i), s && (this.request = s), n && (this.response = n, this.status = n.status ? n.status : null);
|
@@ -7612,7 +7612,7 @@ Te.from = (e, t, i, s, n, r) => {
|
|
7612
7612
|
return u !== Error.prototype;
|
7613
7613
|
}, (o) => o !== "isAxiosError"), Te.call(a, e.message, t, i, s, n), a.cause = e, a.name = e.name, r && Object.assign(a, r), a;
|
7614
7614
|
};
|
7615
|
-
const
|
7615
|
+
const cx = null;
|
7616
7616
|
function Dh(e) {
|
7617
7617
|
return U.isPlainObject(e) || U.isArray(e);
|
7618
7618
|
}
|
@@ -7624,10 +7624,10 @@ function zf(e, t, i) {
|
|
7624
7624
|
return n = Uy(n), !i && r ? "[" + n + "]" : n;
|
7625
7625
|
}).join(i ? "." : "") : t;
|
7626
7626
|
}
|
7627
|
-
function
|
7627
|
+
function hx(e) {
|
7628
7628
|
return U.isArray(e) && !e.some(Dh);
|
7629
7629
|
}
|
7630
|
-
const
|
7630
|
+
const dx = U.toFlatObject(U, {}, null, function(t) {
|
7631
7631
|
return /^is[A-Z]/.test(t);
|
7632
7632
|
});
|
7633
7633
|
function bu(e, t, i) {
|
@@ -7656,7 +7656,7 @@ function bu(e, t, i) {
|
|
7656
7656
|
if (w && !T && typeof w == "object") {
|
7657
7657
|
if (U.endsWith(C, "{}"))
|
7658
7658
|
C = s ? C : C.slice(0, -2), w = JSON.stringify(w);
|
7659
|
-
else if (U.isArray(w) &&
|
7659
|
+
else if (U.isArray(w) && hx(w) || (U.isFileList(w) || U.endsWith(C, "[]")) && ($ = U.toArray(w)))
|
7660
7660
|
return C = Uy(C), $.forEach(function(Q, v) {
|
7661
7661
|
!(U.isUndefined(Q) || Q === null) && t.append(
|
7662
7662
|
// eslint-disable-next-line no-nested-ternary
|
@@ -7667,7 +7667,7 @@ function bu(e, t, i) {
|
|
7667
7667
|
}
|
7668
7668
|
return Dh(w) ? !0 : (t.append(zf(T, C, r), c(w)), !1);
|
7669
7669
|
}
|
7670
|
-
const p = [], y = Object.assign(
|
7670
|
+
const p = [], y = Object.assign(dx, {
|
7671
7671
|
defaultVisitor: d,
|
7672
7672
|
convertValue: c,
|
7673
7673
|
isVisitable: Dh
|
@@ -7720,13 +7720,13 @@ Gy.toString = function(t) {
|
|
7720
7720
|
return i(n[0]) + "=" + i(n[1]);
|
7721
7721
|
}, "").join("&");
|
7722
7722
|
};
|
7723
|
-
function
|
7723
|
+
function fx(e) {
|
7724
7724
|
return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
|
7725
7725
|
}
|
7726
7726
|
function jy(e, t, i) {
|
7727
7727
|
if (!t)
|
7728
7728
|
return e;
|
7729
|
-
const s = i && i.encode ||
|
7729
|
+
const s = i && i.encode || fx, n = i && i.serialize;
|
7730
7730
|
let r;
|
7731
7731
|
if (n ? r = n(t, i) : r = U.isURLSearchParams(t) ? t.toString() : new Qd(t, i).toString(s), r) {
|
7732
7732
|
const a = e.indexOf("#");
|
@@ -7792,37 +7792,37 @@ const Wy = {
|
|
7792
7792
|
silentJSONParsing: !0,
|
7793
7793
|
forcedJSONParsing: !0,
|
7794
7794
|
clarifyTimeoutError: !1
|
7795
|
-
},
|
7795
|
+
}, px = typeof URLSearchParams < "u" ? URLSearchParams : Qd, mx = typeof FormData < "u" ? FormData : null, gx = typeof Blob < "u" ? Blob : null, yx = {
|
7796
7796
|
isBrowser: !0,
|
7797
7797
|
classes: {
|
7798
|
-
URLSearchParams:
|
7799
|
-
FormData:
|
7800
|
-
Blob:
|
7798
|
+
URLSearchParams: px,
|
7799
|
+
FormData: mx,
|
7800
|
+
Blob: gx
|
7801
7801
|
},
|
7802
7802
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
7803
|
-
}, Hd = typeof window < "u" && typeof document < "u", Bh = typeof navigator == "object" && navigator || void 0,
|
7804
|
-
self instanceof WorkerGlobalScope && typeof self.importScripts == "function",
|
7803
|
+
}, Hd = typeof window < "u" && typeof document < "u", Bh = typeof navigator == "object" && navigator || void 0, wx = Hd && (!Bh || ["ReactNative", "NativeScript", "NS"].indexOf(Bh.product) < 0), bx = typeof WorkerGlobalScope < "u" && // eslint-disable-next-line no-undef
|
7804
|
+
self instanceof WorkerGlobalScope && typeof self.importScripts == "function", vx = Hd && window.location.href || "http://localhost", Ex = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
7805
7805
|
__proto__: null,
|
7806
7806
|
hasBrowserEnv: Hd,
|
7807
|
-
hasStandardBrowserEnv:
|
7808
|
-
hasStandardBrowserWebWorkerEnv:
|
7807
|
+
hasStandardBrowserEnv: wx,
|
7808
|
+
hasStandardBrowserWebWorkerEnv: bx,
|
7809
7809
|
navigator: Bh,
|
7810
|
-
origin:
|
7810
|
+
origin: vx
|
7811
7811
|
}, Symbol.toStringTag, { value: "Module" })), kt = {
|
7812
|
-
...
|
7813
|
-
...
|
7812
|
+
...Ex,
|
7813
|
+
...yx
|
7814
7814
|
};
|
7815
|
-
function
|
7815
|
+
function Tx(e, t) {
|
7816
7816
|
return bu(e, new kt.classes.URLSearchParams(), Object.assign({
|
7817
7817
|
visitor: function(i, s, n, r) {
|
7818
7818
|
return kt.isNode && U.isBuffer(i) ? (this.append(s, i.toString("base64")), !1) : r.defaultVisitor.apply(this, arguments);
|
7819
7819
|
}
|
7820
7820
|
}, t));
|
7821
7821
|
}
|
7822
|
-
function
|
7822
|
+
function Cx(e) {
|
7823
7823
|
return U.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
|
7824
7824
|
}
|
7825
|
-
function
|
7825
|
+
function xx(e) {
|
7826
7826
|
const t = {}, i = Object.keys(e);
|
7827
7827
|
let s;
|
7828
7828
|
const n = i.length;
|
@@ -7836,17 +7836,17 @@ function zy(e) {
|
|
7836
7836
|
let a = i[r++];
|
7837
7837
|
if (a === "__proto__") return !0;
|
7838
7838
|
const o = Number.isFinite(+a), u = r >= i.length;
|
7839
|
-
return a = !a && U.isArray(n) ? n.length : a, u ? (U.hasOwnProp(n, a) ? n[a] = [n[a], s] : n[a] = s, !o) : ((!n[a] || !U.isObject(n[a])) && (n[a] = []), t(i, s, n[a], r) && U.isArray(n[a]) && (n[a] =
|
7839
|
+
return a = !a && U.isArray(n) ? n.length : a, u ? (U.hasOwnProp(n, a) ? n[a] = [n[a], s] : n[a] = s, !o) : ((!n[a] || !U.isObject(n[a])) && (n[a] = []), t(i, s, n[a], r) && U.isArray(n[a]) && (n[a] = xx(n[a])), !o);
|
7840
7840
|
}
|
7841
7841
|
if (U.isFormData(e) && U.isFunction(e.entries)) {
|
7842
7842
|
const i = {};
|
7843
7843
|
return U.forEachEntry(e, (s, n) => {
|
7844
|
-
t(
|
7844
|
+
t(Cx(s), n, i, 0);
|
7845
7845
|
}), i;
|
7846
7846
|
}
|
7847
7847
|
return null;
|
7848
7848
|
}
|
7849
|
-
function
|
7849
|
+
function Sx(e, t, i) {
|
7850
7850
|
if (U.isString(e))
|
7851
7851
|
try {
|
7852
7852
|
return (t || JSON.parse)(e), U.trim(e);
|
@@ -7872,7 +7872,7 @@ const To = {
|
|
7872
7872
|
let o;
|
7873
7873
|
if (r) {
|
7874
7874
|
if (s.indexOf("application/x-www-form-urlencoded") > -1)
|
7875
|
-
return
|
7875
|
+
return Tx(t, this.formSerializer).toString();
|
7876
7876
|
if ((o = U.isFileList(t)) || s.indexOf("multipart/form-data") > -1) {
|
7877
7877
|
const u = this.env && this.env.FormData;
|
7878
7878
|
return bu(
|
@@ -7882,7 +7882,7 @@ const To = {
|
|
7882
7882
|
);
|
7883
7883
|
}
|
7884
7884
|
}
|
7885
|
-
return r || n ? (i.setContentType("application/json", !1),
|
7885
|
+
return r || n ? (i.setContentType("application/json", !1), Sx(t)) : t;
|
7886
7886
|
}],
|
7887
7887
|
transformResponse: [function(t) {
|
7888
7888
|
const i = this.transitional || To.transitional, s = i && i.forcedJSONParsing, n = this.responseType === "json";
|
@@ -7925,7 +7925,7 @@ const To = {
|
|
7925
7925
|
U.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
7926
7926
|
To.headers[e] = {};
|
7927
7927
|
});
|
7928
|
-
const
|
7928
|
+
const Ix = U.toObjectSet([
|
7929
7929
|
"age",
|
7930
7930
|
"authorization",
|
7931
7931
|
"content-length",
|
@@ -7943,12 +7943,12 @@ const I1 = U.toObjectSet([
|
|
7943
7943
|
"referer",
|
7944
7944
|
"retry-after",
|
7945
7945
|
"user-agent"
|
7946
|
-
]),
|
7946
|
+
]), _x = (e) => {
|
7947
7947
|
const t = {};
|
7948
7948
|
let i, s, n;
|
7949
7949
|
return e && e.split(`
|
7950
7950
|
`).forEach(function(a) {
|
7951
|
-
n = a.indexOf(":"), i = a.substring(0, n).trim().toLowerCase(), s = a.substring(n + 1).trim(), !(!i || t[i] &&
|
7951
|
+
n = a.indexOf(":"), i = a.substring(0, n).trim().toLowerCase(), s = a.substring(n + 1).trim(), !(!i || t[i] && Ix[i]) && (i === "set-cookie" ? t[i] ? t[i].push(s) : t[i] = [s] : t[i] = t[i] ? t[i] + ", " + s : s);
|
7952
7952
|
}), t;
|
7953
7953
|
}, Xf = Symbol("internals");
|
7954
7954
|
function ta(e) {
|
@@ -7957,14 +7957,14 @@ function ta(e) {
|
|
7957
7957
|
function Rl(e) {
|
7958
7958
|
return e === !1 || e == null ? e : U.isArray(e) ? e.map(Rl) : String(e);
|
7959
7959
|
}
|
7960
|
-
function
|
7960
|
+
function Vx(e) {
|
7961
7961
|
const t = /* @__PURE__ */ Object.create(null), i = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
|
7962
7962
|
let s;
|
7963
7963
|
for (; s = i.exec(e); )
|
7964
7964
|
t[s[1]] = s[2];
|
7965
7965
|
return t;
|
7966
7966
|
}
|
7967
|
-
const
|
7967
|
+
const Ax = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
7968
7968
|
function Ic(e, t, i, s, n) {
|
7969
7969
|
if (U.isFunction(s))
|
7970
7970
|
return s.call(this, t, i);
|
@@ -7975,10 +7975,10 @@ function Ic(e, t, i, s, n) {
|
|
7975
7975
|
return s.test(t);
|
7976
7976
|
}
|
7977
7977
|
}
|
7978
|
-
function $
|
7978
|
+
function $x(e) {
|
7979
7979
|
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, i, s) => i.toUpperCase() + s);
|
7980
7980
|
}
|
7981
|
-
function
|
7981
|
+
function Lx(e, t) {
|
7982
7982
|
const i = U.toCamelCase(" " + t);
|
7983
7983
|
["get", "set", "has"].forEach((s) => {
|
7984
7984
|
Object.defineProperty(e, s + i, {
|
@@ -8005,8 +8005,8 @@ class Pt {
|
|
8005
8005
|
const a = (o, u) => U.forEach(o, (c, d) => r(c, d, u));
|
8006
8006
|
if (U.isPlainObject(t) || t instanceof this.constructor)
|
8007
8007
|
a(t, i);
|
8008
|
-
else if (U.isString(t) && (t = t.trim()) && !
|
8009
|
-
a(
|
8008
|
+
else if (U.isString(t) && (t = t.trim()) && !Ax(t))
|
8009
|
+
a(_x(t), i);
|
8010
8010
|
else if (U.isHeaders(t))
|
8011
8011
|
for (const [o, u] of t.entries())
|
8012
8012
|
r(u, o, s);
|
@@ -8022,7 +8022,7 @@ class Pt {
|
|
8022
8022
|
if (!i)
|
8023
8023
|
return n;
|
8024
8024
|
if (i === !0)
|
8025
|
-
return
|
8025
|
+
return Vx(n);
|
8026
8026
|
if (U.isFunction(i))
|
8027
8027
|
return i.call(this, n, s);
|
8028
8028
|
if (U.isRegExp(i))
|
@@ -8066,7 +8066,7 @@ class Pt {
|
|
8066
8066
|
i[a] = Rl(n), delete i[r];
|
8067
8067
|
return;
|
8068
8068
|
}
|
8069
|
-
const o = t ? $
|
8069
|
+
const o = t ? $x(r) : String(r).trim();
|
8070
8070
|
o !== r && delete i[r], i[o] = Rl(n), s[o] = !0;
|
8071
8071
|
}), this;
|
8072
8072
|
}
|
@@ -8102,7 +8102,7 @@ class Pt {
|
|
8102
8102
|
}).accessors, n = this.prototype;
|
8103
8103
|
function r(a) {
|
8104
8104
|
const o = ta(a);
|
8105
|
-
s[o] || (
|
8105
|
+
s[o] || (Lx(n, a), s[o] = !0);
|
8106
8106
|
}
|
8107
8107
|
return U.isArray(t) ? t.forEach(r) : r(t), this;
|
8108
8108
|
}
|
@@ -8144,11 +8144,11 @@ function Yy(e, t, i) {
|
|
8144
8144
|
i
|
8145
8145
|
));
|
8146
8146
|
}
|
8147
|
-
function
|
8147
|
+
function Mx(e) {
|
8148
8148
|
const t = /^([-+\w]{1,25})(:?\/\/|:)/.exec(e);
|
8149
8149
|
return t && t[1] || "";
|
8150
8150
|
}
|
8151
|
-
function
|
8151
|
+
function Rx(e, t) {
|
8152
8152
|
e = e || 10;
|
8153
8153
|
const i = new Array(e), s = new Array(e);
|
8154
8154
|
let n = 0, r = 0, a;
|
@@ -8164,7 +8164,7 @@ function R1(e, t) {
|
|
8164
8164
|
return g ? Math.round(y * 1e3 / g) : void 0;
|
8165
8165
|
};
|
8166
8166
|
}
|
8167
|
-
function
|
8167
|
+
function Nx(e, t) {
|
8168
8168
|
let i = 0, s = 1e3 / t, n, r;
|
8169
8169
|
const a = (c, d = Date.now()) => {
|
8170
8170
|
i = d, n = null, r && (clearTimeout(r), r = null), e.apply(null, c);
|
@@ -8178,8 +8178,8 @@ function N1(e, t) {
|
|
8178
8178
|
}
|
8179
8179
|
const Kl = (e, t, i = 3) => {
|
8180
8180
|
let s = 0;
|
8181
|
-
const n =
|
8182
|
-
return
|
8181
|
+
const n = Rx(50, 250);
|
8182
|
+
return Nx((r) => {
|
8183
8183
|
const a = r.loaded, o = r.lengthComputable ? r.total : void 0, u = a - s, c = n(u), d = a <= o;
|
8184
8184
|
s = a;
|
8185
8185
|
const p = {
|
@@ -8202,7 +8202,7 @@ const Kl = (e, t, i = 3) => {
|
|
8202
8202
|
total: e,
|
8203
8203
|
loaded: s
|
8204
8204
|
}), t[1]];
|
8205
|
-
}, Jf = (e) => (...t) => U.asap(() => e(...t)),
|
8205
|
+
}, Jf = (e) => (...t) => U.asap(() => e(...t)), qx = kt.hasStandardBrowserEnv ? (
|
8206
8206
|
// Standard browser envs have full support of the APIs needed to test
|
8207
8207
|
// whether the request URL is of the same origin as current location.
|
8208
8208
|
function() {
|
@@ -8233,7 +8233,7 @@ const Kl = (e, t, i = 3) => {
|
|
8233
8233
|
return !0;
|
8234
8234
|
};
|
8235
8235
|
}()
|
8236
|
-
),
|
8236
|
+
), Ox = kt.hasStandardBrowserEnv ? (
|
8237
8237
|
// Standard browser envs support document.cookie
|
8238
8238
|
{
|
8239
8239
|
write(e, t, i, s, n, r) {
|
@@ -8260,14 +8260,14 @@ const Kl = (e, t, i = 3) => {
|
|
8260
8260
|
}
|
8261
8261
|
}
|
8262
8262
|
);
|
8263
|
-
function
|
8263
|
+
function kx(e) {
|
8264
8264
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
|
8265
8265
|
}
|
8266
|
-
function
|
8266
|
+
function Px(e, t) {
|
8267
8267
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
8268
8268
|
}
|
8269
8269
|
function Xy(e, t) {
|
8270
|
-
return e && !
|
8270
|
+
return e && !kx(t) ? Px(e, t) : t;
|
8271
8271
|
}
|
8272
8272
|
const ep = (e) => e instanceof Pt ? { ...e } : e;
|
8273
8273
|
function In(e, t) {
|
@@ -8350,12 +8350,12 @@ const Zy = (e) => {
|
|
8350
8350
|
a.setContentType([c || "multipart/form-data", ...d].join("; "));
|
8351
8351
|
}
|
8352
8352
|
}
|
8353
|
-
if (kt.hasStandardBrowserEnv && (s && U.isFunction(s) && (s = s(t)), s || s !== !1 &&
|
8354
|
-
const c = n && r &&
|
8353
|
+
if (kt.hasStandardBrowserEnv && (s && U.isFunction(s) && (s = s(t)), s || s !== !1 && qx(t.url))) {
|
8354
|
+
const c = n && r && Ox.read(r);
|
8355
8355
|
c && a.set(n, c);
|
8356
8356
|
}
|
8357
8357
|
return t;
|
8358
|
-
},
|
8358
|
+
}, Dx = typeof XMLHttpRequest < "u", Bx = Dx && function(e) {
|
8359
8359
|
return new Promise(function(i, s) {
|
8360
8360
|
const n = Zy(e);
|
8361
8361
|
let r = n.data;
|
@@ -8405,14 +8405,14 @@ const Zy = (e) => {
|
|
8405
8405
|
}), U.isUndefined(n.withCredentials) || (T.withCredentials = !!n.withCredentials), o && o !== "json" && (T.responseType = n.responseType), c && ([y, w] = Kl(c, !0), T.addEventListener("progress", y)), u && T.upload && ([p, g] = Kl(u), T.upload.addEventListener("progress", p), T.upload.addEventListener("loadend", g)), (n.cancelToken || n.signal) && (d = (Q) => {
|
8406
8406
|
T && (s(!Q || Q.type ? new Gr(null, e, T) : Q), T.abort(), T = null);
|
8407
8407
|
}, n.cancelToken && n.cancelToken.subscribe(d), n.signal && (n.signal.aborted ? d() : n.signal.addEventListener("abort", d)));
|
8408
|
-
const x =
|
8408
|
+
const x = Mx(n.url);
|
8409
8409
|
if (x && kt.protocols.indexOf(x) === -1) {
|
8410
8410
|
s(new Te("Unsupported protocol " + x + ":", Te.ERR_BAD_REQUEST, e));
|
8411
8411
|
return;
|
8412
8412
|
}
|
8413
8413
|
T.send(r || null);
|
8414
8414
|
});
|
8415
|
-
},
|
8415
|
+
}, Qx = (e, t) => {
|
8416
8416
|
const { length: i } = e = e ? e.filter(Boolean) : [];
|
8417
8417
|
if (t || i) {
|
8418
8418
|
let s = new AbortController(), n;
|
@@ -8435,7 +8435,7 @@ const Zy = (e) => {
|
|
8435
8435
|
const { signal: u } = s;
|
8436
8436
|
return u.unsubscribe = () => U.asap(o), u;
|
8437
8437
|
}
|
8438
|
-
},
|
8438
|
+
}, Hx = function* (e, t) {
|
8439
8439
|
let i = e.byteLength;
|
8440
8440
|
if (i < t) {
|
8441
8441
|
yield e;
|
@@ -8444,10 +8444,10 @@ const Zy = (e) => {
|
|
8444
8444
|
let s = 0, n;
|
8445
8445
|
for (; s < i; )
|
8446
8446
|
n = s + t, yield e.slice(s, n), s = n;
|
8447
|
-
},
|
8448
|
-
for await (const i of
|
8449
|
-
yield*
|
8450
|
-
},
|
8447
|
+
}, Fx = async function* (e, t) {
|
8448
|
+
for await (const i of Ux(e))
|
8449
|
+
yield* Hx(i, t);
|
8450
|
+
}, Ux = async function* (e) {
|
8451
8451
|
if (e[Symbol.asyncIterator]) {
|
8452
8452
|
yield* e;
|
8453
8453
|
return;
|
@@ -8464,7 +8464,7 @@ const Zy = (e) => {
|
|
8464
8464
|
await t.cancel();
|
8465
8465
|
}
|
8466
8466
|
}, tp = (e, t, i, s) => {
|
8467
|
-
const n =
|
8467
|
+
const n = Fx(e, t);
|
8468
8468
|
let r = 0, a, o = (u) => {
|
8469
8469
|
a || (a = !0, s && s(u));
|
8470
8470
|
};
|
@@ -8492,13 +8492,13 @@ const Zy = (e) => {
|
|
8492
8492
|
}, {
|
8493
8493
|
highWaterMark: 2
|
8494
8494
|
});
|
8495
|
-
}, vu = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Jy = vu && typeof ReadableStream == "function",
|
8495
|
+
}, vu = typeof fetch == "function" && typeof Request == "function" && typeof Response == "function", Jy = vu && typeof ReadableStream == "function", Gx = vu && (typeof TextEncoder == "function" ? /* @__PURE__ */ ((e) => (t) => e.encode(t))(new TextEncoder()) : async (e) => new Uint8Array(await new Response(e).arrayBuffer())), ew = (e, ...t) => {
|
8496
8496
|
try {
|
8497
8497
|
return !!e(...t);
|
8498
8498
|
} catch {
|
8499
8499
|
return !1;
|
8500
8500
|
}
|
8501
|
-
},
|
8501
|
+
}, jx = Jy && ew(() => {
|
8502
8502
|
let e = !1;
|
8503
8503
|
const t = new Request(kt.origin, {
|
8504
8504
|
body: new ReadableStream(),
|
@@ -8518,7 +8518,7 @@ vu && ((e) => {
|
|
8518
8518
|
});
|
8519
8519
|
});
|
8520
8520
|
})(new Response());
|
8521
|
-
const
|
8521
|
+
const Wx = async (e) => {
|
8522
8522
|
if (e == null)
|
8523
8523
|
return 0;
|
8524
8524
|
if (U.isBlob(e))
|
@@ -8531,11 +8531,11 @@ const W1 = async (e) => {
|
|
8531
8531
|
if (U.isArrayBufferView(e) || U.isArrayBuffer(e))
|
8532
8532
|
return e.byteLength;
|
8533
8533
|
if (U.isURLSearchParams(e) && (e = e + ""), U.isString(e))
|
8534
|
-
return (await
|
8535
|
-
},
|
8534
|
+
return (await Gx(e)).byteLength;
|
8535
|
+
}, zx = async (e, t) => {
|
8536
8536
|
const i = U.toFiniteNumber(e.getContentLength());
|
8537
|
-
return i ??
|
8538
|
-
},
|
8537
|
+
return i ?? Wx(t);
|
8538
|
+
}, Kx = vu && (async (e) => {
|
8539
8539
|
let {
|
8540
8540
|
url: t,
|
8541
8541
|
method: i,
|
@@ -8551,13 +8551,13 @@ const W1 = async (e) => {
|
|
8551
8551
|
fetchOptions: y
|
8552
8552
|
} = Zy(e);
|
8553
8553
|
c = c ? (c + "").toLowerCase() : "text";
|
8554
|
-
let g =
|
8554
|
+
let g = Qx([n, r && r.toAbortSignal()], a), w;
|
8555
8555
|
const C = g && g.unsubscribe && (() => {
|
8556
8556
|
g.unsubscribe();
|
8557
8557
|
});
|
8558
8558
|
let T;
|
8559
8559
|
try {
|
8560
|
-
if (u &&
|
8560
|
+
if (u && jx && i !== "get" && i !== "head" && (T = await zx(d, s)) !== 0) {
|
8561
8561
|
let G = new Request(t, {
|
8562
8562
|
method: "POST",
|
8563
8563
|
body: s,
|
@@ -8621,9 +8621,9 @@ const W1 = async (e) => {
|
|
8621
8621
|
) : Te.from($, $ && $.code, e, w);
|
8622
8622
|
}
|
8623
8623
|
}), Hh = {
|
8624
|
-
http:
|
8625
|
-
xhr:
|
8626
|
-
fetch:
|
8624
|
+
http: cx,
|
8625
|
+
xhr: Bx,
|
8626
|
+
fetch: Kx
|
8627
8627
|
};
|
8628
8628
|
U.forEach(Hh, (e, t) => {
|
8629
8629
|
if (e) {
|
@@ -8634,7 +8634,7 @@ U.forEach(Hh, (e, t) => {
|
|
8634
8634
|
Object.defineProperty(e, "adapterName", { value: t });
|
8635
8635
|
}
|
8636
8636
|
});
|
8637
|
-
const sp = (e) => `- ${e}`,
|
8637
|
+
const sp = (e) => `- ${e}`, Yx = (e) => U.isFunction(e) || e === null || e === !1, tw = {
|
8638
8638
|
getAdapter: (e) => {
|
8639
8639
|
e = U.isArray(e) ? e : [e];
|
8640
8640
|
const { length: t } = e;
|
@@ -8643,7 +8643,7 @@ const sp = (e) => `- ${e}`, Y1 = (e) => U.isFunction(e) || e === null || e === !
|
|
8643
8643
|
for (let r = 0; r < t; r++) {
|
8644
8644
|
i = e[r];
|
8645
8645
|
let a;
|
8646
|
-
if (s = i, !
|
8646
|
+
if (s = i, !Yx(i) && (s = Hh[(a = String(i)).toLowerCase()], s === void 0))
|
8647
8647
|
throw new Te(`Unknown adapter '${a}'`);
|
8648
8648
|
if (s)
|
8649
8649
|
break;
|
@@ -8712,7 +8712,7 @@ Fd.transitional = function(t, i, s) {
|
|
8712
8712
|
)), t ? t(r, a, o) : !0;
|
8713
8713
|
};
|
8714
8714
|
};
|
8715
|
-
function
|
8715
|
+
function Xx(e, t, i) {
|
8716
8716
|
if (typeof e != "object")
|
8717
8717
|
throw new Te("options must be an object", Te.ERR_BAD_OPTION_VALUE);
|
8718
8718
|
const s = Object.keys(e);
|
@@ -8730,7 +8730,7 @@ function X1(e, t, i) {
|
|
8730
8730
|
}
|
8731
8731
|
}
|
8732
8732
|
const Fh = {
|
8733
|
-
assertOptions:
|
8733
|
+
assertOptions: Xx,
|
8734
8734
|
validators: Fd
|
8735
8735
|
}, Ns = Fh.validators;
|
8736
8736
|
class En {
|
@@ -8927,12 +8927,12 @@ class Ud {
|
|
8927
8927
|
};
|
8928
8928
|
}
|
8929
8929
|
}
|
8930
|
-
function
|
8930
|
+
function Zx(e) {
|
8931
8931
|
return function(i) {
|
8932
8932
|
return e.apply(null, i);
|
8933
8933
|
};
|
8934
8934
|
}
|
8935
|
-
function
|
8935
|
+
function Jx(e) {
|
8936
8936
|
return U.isObject(e) && e.isAxiosError === !0;
|
8937
8937
|
}
|
8938
8938
|
const Uh = {
|
@@ -9021,15 +9021,15 @@ it.Cancel = it.CanceledError;
|
|
9021
9021
|
it.all = function(t) {
|
9022
9022
|
return Promise.all(t);
|
9023
9023
|
};
|
9024
|
-
it.spread =
|
9025
|
-
it.isAxiosError =
|
9024
|
+
it.spread = Zx;
|
9025
|
+
it.isAxiosError = Jx;
|
9026
9026
|
it.mergeConfig = In;
|
9027
9027
|
it.AxiosHeaders = Pt;
|
9028
9028
|
it.formToJSON = (e) => zy(U.isHTMLForm(e) ? new FormData(e) : e);
|
9029
9029
|
it.getAdapter = tw.getAdapter;
|
9030
9030
|
it.HttpStatusCode = Uh;
|
9031
9031
|
it.default = it;
|
9032
|
-
const
|
9032
|
+
const e1 = {
|
9033
9033
|
name: "QtiStylesheet",
|
9034
9034
|
props: {
|
9035
9035
|
/*
|
@@ -9090,15 +9090,15 @@ const ex = {
|
|
9090
9090
|
throw this.isQtiValid = !1, new l(e.message);
|
9091
9091
|
}
|
9092
9092
|
}
|
9093
|
-
},
|
9094
|
-
function
|
9093
|
+
}, t1 = ["innerHTML"];
|
9094
|
+
function i1(e, t, i, s, n, r) {
|
9095
9095
|
return M(), q("div", {
|
9096
9096
|
ref: "root",
|
9097
9097
|
class: "qti-stylesheet",
|
9098
9098
|
innerHTML: n.css
|
9099
|
-
}, null, 8,
|
9099
|
+
}, null, 8, t1);
|
9100
9100
|
}
|
9101
|
-
const
|
9101
|
+
const s1 = /* @__PURE__ */ D(e1, [["render", i1]]), n1 = {
|
9102
9102
|
name: "QtiCompanionMaterialsInfo",
|
9103
9103
|
data() {
|
9104
9104
|
return {
|
@@ -9117,11 +9117,11 @@ const sx = /* @__PURE__ */ D(ex, [["render", ix]]), nx = {
|
|
9117
9117
|
throw this.isQtiValid = !1, new l(e.message);
|
9118
9118
|
}
|
9119
9119
|
}
|
9120
|
-
},
|
9121
|
-
function
|
9122
|
-
return M(), q("div",
|
9120
|
+
}, r1 = { class: "qti-companion-materials-info" };
|
9121
|
+
function a1(e, t, i, s, n, r) {
|
9122
|
+
return M(), q("div", r1);
|
9123
9123
|
}
|
9124
|
-
const
|
9124
|
+
const o1 = /* @__PURE__ */ D(n1, [["render", a1]]), ia = new j(), l1 = {
|
9125
9125
|
name: "QtiMapping",
|
9126
9126
|
props: {
|
9127
9127
|
/*
|
@@ -9256,13 +9256,13 @@ const ox = /* @__PURE__ */ D(nx, [["render", ax]]), ia = new j(), lx = {
|
|
9256
9256
|
throw this.isQtiValid = !1, new l(e.message);
|
9257
9257
|
}
|
9258
9258
|
}
|
9259
|
-
},
|
9260
|
-
function
|
9261
|
-
return M(), q("div",
|
9259
|
+
}, u1 = { class: "qti-mapping" };
|
9260
|
+
function c1(e, t, i, s, n, r) {
|
9261
|
+
return M(), q("div", u1, [
|
9262
9262
|
X(e.$slots, "default")
|
9263
9263
|
]);
|
9264
9264
|
}
|
9265
|
-
const
|
9265
|
+
const h1 = /* @__PURE__ */ D(l1, [["render", c1]]), Ac = new j(), d1 = {
|
9266
9266
|
name: "QtiMapEntry",
|
9267
9267
|
props: {
|
9268
9268
|
/*
|
@@ -9362,15 +9362,15 @@ const hx = /* @__PURE__ */ D(lx, [["render", cx]]), Ac = new j(), dx = {
|
|
9362
9362
|
caseSensitive: this.getCaseSensitive()
|
9363
9363
|
}), console.log("[" + this.$options.name + "][Value]", this.getValue())), e.remove();
|
9364
9364
|
}
|
9365
|
-
},
|
9366
|
-
function
|
9367
|
-
return M(), q("div",
|
9368
|
-
J("div",
|
9365
|
+
}, f1 = { class: "qti-map-entry" }, p1 = { class: "amp-mapentry__container" };
|
9366
|
+
function m1(e, t, i, s, n, r) {
|
9367
|
+
return M(), q("div", f1, [
|
9368
|
+
J("div", p1, [
|
9369
9369
|
X(e.$slots, "default")
|
9370
9370
|
])
|
9371
9371
|
]);
|
9372
9372
|
}
|
9373
|
-
const
|
9373
|
+
const g1 = /* @__PURE__ */ D(d1, [["render", m1]]), y1 = {
|
9374
9374
|
name: "QtiAreaMapping",
|
9375
9375
|
methods: {},
|
9376
9376
|
created: function() {
|
@@ -9378,11 +9378,11 @@ const gx = /* @__PURE__ */ D(dx, [["render", mx]]), yx = {
|
|
9378
9378
|
mounted: function() {
|
9379
9379
|
console.log("[AreaMapping][Mounted]");
|
9380
9380
|
}
|
9381
|
-
},
|
9382
|
-
function
|
9383
|
-
return M(), q("div",
|
9381
|
+
}, w1 = { class: "qti-area-mapping" };
|
9382
|
+
function b1(e, t, i, s, n, r) {
|
9383
|
+
return M(), q("div", w1);
|
9384
9384
|
}
|
9385
|
-
const
|
9385
|
+
const v1 = /* @__PURE__ */ D(y1, [["render", b1]]), $c = new j(), E1 = {
|
9386
9386
|
name: "QtiInterpolationTable",
|
9387
9387
|
props: {
|
9388
9388
|
/*
|
@@ -9477,13 +9477,13 @@ const vx = /* @__PURE__ */ D(yx, [["render", bx]]), $c = new j(), Ex = {
|
|
9477
9477
|
throw this.isQtiValid = !1, new l(e.message);
|
9478
9478
|
}
|
9479
9479
|
}
|
9480
|
-
},
|
9481
|
-
function
|
9482
|
-
return M(), q("div",
|
9480
|
+
}, T1 = { class: "qti-interpolation-table" };
|
9481
|
+
function C1(e, t, i, s, n, r) {
|
9482
|
+
return M(), q("div", T1, [
|
9483
9483
|
X(e.$slots, "default")
|
9484
9484
|
]);
|
9485
9485
|
}
|
9486
|
-
const
|
9486
|
+
const x1 = /* @__PURE__ */ D(E1, [["render", C1]]), el = new j(), S1 = {
|
9487
9487
|
name: "QtiInterpolationTableEntry",
|
9488
9488
|
props: {
|
9489
9489
|
/*
|
@@ -9597,15 +9597,15 @@ const xx = /* @__PURE__ */ D(Ex, [["render", Cx]]), el = new j(), Sx = {
|
|
9597
9597
|
includeBoundary: this.getIncludeBoundary()
|
9598
9598
|
}), console.log("[" + this.$options.name + "][Value]", this.getValue())), e.remove();
|
9599
9599
|
}
|
9600
|
-
},
|
9601
|
-
function
|
9602
|
-
return M(), q("div",
|
9603
|
-
J("div",
|
9600
|
+
}, I1 = { class: "qti-interpolation-table-entry" }, _1 = { class: "amp-interpolationentry__container" };
|
9601
|
+
function V1(e, t, i, s, n, r) {
|
9602
|
+
return M(), q("div", I1, [
|
9603
|
+
J("div", _1, [
|
9604
9604
|
X(e.$slots, "default")
|
9605
9605
|
])
|
9606
9606
|
]);
|
9607
9607
|
}
|
9608
|
-
const
|
9608
|
+
const A1 = /* @__PURE__ */ D(S1, [["render", V1]]), Lc = new j(), $1 = {
|
9609
9609
|
name: "QtiMatchTable",
|
9610
9610
|
props: {
|
9611
9611
|
/*
|
@@ -9700,13 +9700,13 @@ const Ax = /* @__PURE__ */ D(Sx, [["render", Vx]]), Lc = new j(), $x = {
|
|
9700
9700
|
throw this.isQtiValid = !1, new l(e.message);
|
9701
9701
|
}
|
9702
9702
|
}
|
9703
|
-
},
|
9704
|
-
function
|
9705
|
-
return M(), q("div",
|
9703
|
+
}, L1 = { class: "qti-match-table" };
|
9704
|
+
function M1(e, t, i, s, n, r) {
|
9705
|
+
return M(), q("div", L1, [
|
9706
9706
|
X(e.$slots, "default")
|
9707
9707
|
]);
|
9708
9708
|
}
|
9709
|
-
const
|
9709
|
+
const R1 = /* @__PURE__ */ D($1, [["render", M1]]), Mc = new j(), N1 = {
|
9710
9710
|
name: "QtiMatchTableEntry",
|
9711
9711
|
props: {
|
9712
9712
|
/*
|
@@ -9800,15 +9800,15 @@ const Rx = /* @__PURE__ */ D($x, [["render", Mx]]), Mc = new j(), Nx = {
|
|
9800
9800
|
targetValue: this.getTargetValue()
|
9801
9801
|
}), console.log("[" + this.$options.name + "][Value]", this.getValue())), e.remove();
|
9802
9802
|
}
|
9803
|
-
},
|
9804
|
-
function
|
9805
|
-
return M(), q("div",
|
9806
|
-
J("div",
|
9803
|
+
}, q1 = { class: "qti-match-table-entry" }, O1 = { class: "amp-matchtableentry__container" };
|
9804
|
+
function k1(e, t, i, s, n, r) {
|
9805
|
+
return M(), q("div", q1, [
|
9806
|
+
J("div", O1, [
|
9807
9807
|
X(e.$slots, "default")
|
9808
9808
|
])
|
9809
9809
|
]);
|
9810
9810
|
}
|
9811
|
-
const
|
9811
|
+
const P1 = /* @__PURE__ */ D(N1, [["render", k1]]), D1 = {
|
9812
9812
|
name: "QtiDefaultValue",
|
9813
9813
|
props: {
|
9814
9814
|
/* A human readable interpretation of the default value. */
|
@@ -9894,16 +9894,16 @@ const Px = /* @__PURE__ */ D(Nx, [["render", kx]]), Dx = {
|
|
9894
9894
|
throw this.isQtiValid = !1, new l(e.message);
|
9895
9895
|
}
|
9896
9896
|
}
|
9897
|
-
},
|
9897
|
+
}, B1 = {
|
9898
9898
|
ref: "root",
|
9899
9899
|
class: "qti-default-value"
|
9900
9900
|
};
|
9901
|
-
function
|
9902
|
-
return M(), q("div",
|
9901
|
+
function Q1(e, t, i, s, n, r) {
|
9902
|
+
return M(), q("div", B1, [
|
9903
9903
|
X(e.$slots, "default")
|
9904
9904
|
], 512);
|
9905
9905
|
}
|
9906
|
-
const
|
9906
|
+
const H1 = /* @__PURE__ */ D(D1, [["render", Q1]]), F1 = {
|
9907
9907
|
name: "QtiCorrectResponse",
|
9908
9908
|
props: {
|
9909
9909
|
/* A human readable interpretation of the correct value. */
|
@@ -9989,13 +9989,13 @@ const Hx = /* @__PURE__ */ D(Dx, [["render", Qx]]), Fx = {
|
|
9989
9989
|
throw this.isQtiValid = !1, new l(e.message);
|
9990
9990
|
}
|
9991
9991
|
}
|
9992
|
-
},
|
9993
|
-
function
|
9994
|
-
return M(), q("div",
|
9992
|
+
}, U1 = { class: "qti-correct-response" };
|
9993
|
+
function G1(e, t, i, s, n, r) {
|
9994
|
+
return M(), q("div", U1, [
|
9995
9995
|
X(e.$slots, "default")
|
9996
9996
|
]);
|
9997
9997
|
}
|
9998
|
-
const
|
9998
|
+
const j1 = /* @__PURE__ */ D(F1, [["render", G1]]);
|
9999
9999
|
class nw {
|
10000
10000
|
/**
|
10001
10001
|
* @constructor QtiValueValidation
|
@@ -10066,7 +10066,7 @@ class nw {
|
|
10066
10066
|
return this.isCharacterALetter(t) || this.isCharacterADigit(t);
|
10067
10067
|
}
|
10068
10068
|
}
|
10069
|
-
const Rc = new j(), jn = new nw(),
|
10069
|
+
const Rc = new j(), jn = new nw(), W1 = {
|
10070
10070
|
name: "QtiValue",
|
10071
10071
|
props: {
|
10072
10072
|
// This characteristic is only used for specifying the base-type of a value that forms part of a record.
|
@@ -10206,19 +10206,19 @@ const Rc = new j(), jn = new nw(), Wx = {
|
|
10206
10206
|
}
|
10207
10207
|
e.remove();
|
10208
10208
|
}
|
10209
|
-
},
|
10210
|
-
function
|
10209
|
+
}, z1 = ["variable-basetype", "variable-cardinality"], K1 = { class: "amp-value__container" };
|
10210
|
+
function Y1(e, t, i, s, n, r) {
|
10211
10211
|
return M(), q("div", {
|
10212
10212
|
class: "qti-value",
|
10213
10213
|
"variable-basetype": n.variableBaseType,
|
10214
10214
|
"variable-cardinality": n.variableCardinality
|
10215
10215
|
}, [
|
10216
|
-
J("div",
|
10216
|
+
J("div", K1, [
|
10217
10217
|
X(e.$slots, "default")
|
10218
10218
|
])
|
10219
|
-
], 8,
|
10219
|
+
], 8, z1);
|
10220
10220
|
}
|
10221
|
-
const
|
10221
|
+
const X1 = /* @__PURE__ */ D(W1, [["render", Y1]]), Z1 = new j(), J1 = {
|
10222
10222
|
name: "QtiItemBody",
|
10223
10223
|
emits: [
|
10224
10224
|
"itemBodyReady"
|
@@ -10266,7 +10266,7 @@ const Xx = /* @__PURE__ */ D(Wx, [["render", Yx]]), Zx = new j(), Jx = {
|
|
10266
10266
|
return this.$el.querySelectorAll('script[type="math/mml"]');
|
10267
10267
|
},
|
10268
10268
|
archiveMathElement(e) {
|
10269
|
-
e.hasAttribute("id") || (e.id =
|
10269
|
+
e.hasAttribute("id") || (e.id = Z1.randomString(5, "a")), this.mathElementMap.set(e.id, e.outerHTML);
|
10270
10270
|
},
|
10271
10271
|
applyTemplateValuesToMathml(e, t) {
|
10272
10272
|
let i = e;
|
@@ -10297,7 +10297,7 @@ function tS(e, t, i, s, n, r) {
|
|
10297
10297
|
X(e.$slots, "default")
|
10298
10298
|
], 512);
|
10299
10299
|
}
|
10300
|
-
const iS = /* @__PURE__ */ D(
|
10300
|
+
const iS = /* @__PURE__ */ D(J1, [["render", tS]]), sS = {
|
10301
10301
|
name: "ModalDialog",
|
10302
10302
|
data() {
|
10303
10303
|
return {
|
@@ -28464,7 +28464,7 @@ const qm = new j(), VO = {
|
|
28464
28464
|
validateChildren() {
|
28465
28465
|
},
|
28466
28466
|
processChildren() {
|
28467
|
-
this.processBackgroundImage(), this.$.subTree.children[1].children[0].
|
28467
|
+
this.processBackgroundImage(), this.$.subTree.children[1].children[0].children.forEach((t) => {
|
28468
28468
|
if (t.component !== null && t.type.name === "QtiHotspotChoice") {
|
28469
28469
|
const i = t.component.proxy;
|
28470
28470
|
this.choices.push(i);
|
@@ -29346,7 +29346,7 @@ const QO = /* @__PURE__ */ D(qO, [["render", BO]]), oh = new j(), HO = {
|
|
29346
29346
|
maxChoices: {
|
29347
29347
|
required: !1,
|
29348
29348
|
type: String,
|
29349
|
-
default: "
|
29349
|
+
default: "0"
|
29350
29350
|
},
|
29351
29351
|
dataMaxSelectionsMessage: {
|
29352
29352
|
required: !1,
|
@@ -29556,7 +29556,7 @@ const QO = /* @__PURE__ */ D(qO, [["render", BO]]), oh = new j(), HO = {
|
|
29556
29556
|
* @return {Boolean} (true if exceeding max-choices, false if not)
|
29557
29557
|
*/
|
29558
29558
|
checkMaxChoicesLimit() {
|
29559
|
-
return this.isSingle && this.pointElements.size == 0 || !this.isSingle
|
29559
|
+
return this.isSingle && this.pointElements.size == 0 || !this.isSingle && this.maxChoices == 0 || !this.isSingle && this.pointElements.size < this.maxChoices ? !1 : (S.NotifyInteractionSelectionsLimit(this.maxSelectionsMessage), !0);
|
29560
29560
|
},
|
29561
29561
|
computeMaxSelectionsMessage() {
|
29562
29562
|
if (typeof this.dataMaxSelectionsMessage < "u") {
|
@@ -29682,7 +29682,7 @@ const QO = /* @__PURE__ */ D(qO, [["render", BO]]), oh = new j(), HO = {
|
|
29682
29682
|
this.setResponse(null), this.setState(this.computeState()), this.setIsValid(this.computeIsValid());
|
29683
29683
|
},
|
29684
29684
|
processBackgroundImage() {
|
29685
|
-
if (this.bgImageProperties = this.computeBackgroundImageProperties(),
|
29685
|
+
if (this.bgImageProperties = this.computeBackgroundImageProperties(), this.bgImageProperties === null)
|
29686
29686
|
throw new l("Select Point interaction must have exactly one <img>, <object>, or <picture> node");
|
29687
29687
|
this.isResponsive ? (this.backgroundImageWidth = `${this.bgImageProperties.element.offsetWidth}`, this.backgroundImageHeight = `${this.bgImageProperties.element.offsetHeight}`) : (this.backgroundImageWidth = `${this.bgImageProperties.w}`, this.backgroundImageHeight = `${this.bgImageProperties.h}`, this.$refs.selectpointgroup.setAttribute("style", `width:${this.backgroundImageWidth};height:${this.backgroundImageHeight}`)), this.overlayId = this.createId("spi_"), this.$refs.overlay.setAttribute("id", this.overlayId), this.$refs.overlay.setAttribute("width", `${this.backgroundImageWidth}`), this.$refs.overlay.setAttribute("height", `${this.backgroundImageHeight}`), this.$refs.overlay.setAttribute("viewBox", `0 0 ${this.backgroundImageWidth} ${this.backgroundImageHeight}`), this.$refs.overlay.setAttribute("tabindex", "-1"), this.$refs.overlay.setAttribute("role", "application"), this.$refs.overlay.setAttribute("focusable", "false"), this.createSvgImage(this.bgImageProperties, this.backgroundImageWidth, this.backgroundImageHeight), this.addOverlayListeners();
|
29688
29688
|
},
|
@@ -29809,7 +29809,9 @@ const QO = /* @__PURE__ */ D(qO, [["render", BO]]), oh = new j(), HO = {
|
|
29809
29809
|
},
|
29810
29810
|
created() {
|
29811
29811
|
try {
|
29812
|
-
this.responseDeclaration = oh.validateResponseIdentifierAttribute(S, this.responseIdentifier), this.processClassAttribute(this.$.vnode.props.class), this.priorState = this.getPriorState(this.responseIdentifier), oh.validateMaxMinChoices(this.maxChoices, this.minChoices), this.isSingle = this.getCardinality() !== "multiple", this.
|
29812
|
+
if (this.responseDeclaration = oh.validateResponseIdentifierAttribute(S, this.responseIdentifier), this.processClassAttribute(this.$.vnode.props.class), this.priorState = this.getPriorState(this.responseIdentifier), oh.validateMaxMinChoices(this.maxChoices, this.minChoices), this.isSingle = this.getCardinality() !== "multiple", this.isSingle && this.maxChoices != 1)
|
29813
|
+
throw new l('Invalid qti-select-point-interaction. cardinality: "single", max-choices attribute: "' + this.maxChoices + '"');
|
29814
|
+
this.hasPrompts = this.getPrompts(this.$slots).length > 0, this.computeMinSelectionsMessage(), this.computeMaxSelectionsMessage();
|
29813
29815
|
} catch (e) {
|
29814
29816
|
throw this.isQtiValid = !1, e.name === "QtiValidationException" ? new l(e.message) : e.name === "QtiParseException" ? new ae(e.message) : new Error(e.message);
|
29815
29817
|
}
|
@@ -44226,7 +44228,7 @@ const fH = /* @__PURE__ */ D(cH, [["render", dH]]), pH = new j(), Ll = new bv(),
|
|
44226
44228
|
function we(B) {
|
44227
44229
|
if (typeof B.components["qti-assessment-item"] < "u") return;
|
44228
44230
|
const Y = B.app;
|
44229
|
-
Y.component("qti-assessment-item", rC).component("qti-context-declaration", cC).component("qti-response-declaration", mC).component("qti-outcome-declaration", bC).component("qti-template-declaration", xC).component("qti-template-processing", ND).component("qti-companion-materials-info",
|
44231
|
+
Y.component("qti-assessment-item", rC).component("qti-context-declaration", cC).component("qti-response-declaration", mC).component("qti-outcome-declaration", bC).component("qti-template-declaration", xC).component("qti-template-processing", ND).component("qti-companion-materials-info", o1).component("qti-stylesheet", s1).component("qti-item-body", iS).component("qti-catalog-info", PD).component("qti-response-processing", AD).component("qti-modal-feedback", mS), Y.component("qti-default-value", H1).component("qti-value", X1).component("qti-correct-response", j1).component("qti-mapping", h1).component("qti-map-entry", g1).component("qti-interpolation-table", x1).component("qti-interpolation-table-entry", A1).component("qti-match-table", R1).component("qti-match-table-entry", P1).component("qti-area-mapping", v1), Y.component("qti-content-body", bS).component("qti-template-inline", CS).component("qti-template-block", _S).component("qti-feedback-inline", LS).component("qti-feedback-block", qS).component("qti-rubric-block", QS).component("qti-printed-variable", XS).component("amp-style", yT).component("amp-audio", qT).component("amp-video", ZT).component("qti-choice-interaction", lI).component("qti-end-attempt-interaction", OI).component("qti-extended-text-interaction", Eq).component("qti-text-entry-interaction", Qq).component("qti-inline-choice-interaction", yI).component("qti-match-interaction", Wq).component("qti-gap-match-interaction", Jq).component("qti-graphic-gap-match-interaction", rO).component("qti-order-interaction", wO).component("qti-hottext-interaction", IO).component("qti-hotspot-interaction", RO).component("qti-media-interaction", fO).component("qti-portable-custom-interaction", QO).component("qti-select-point-interaction", zO).component("qti-prompt", ZO).component("qti-simple-choice", ck).component("ChoiceGroup", lw).component("qti-inline-choice", sk).component("MatchGroup", Xk).component("qti-simple-match-set", _k).component("qti-simple-associable-choice", gk).component("qti-associable-hotspot", Ek).component("GapMatchGroup", qk).component("GraphicGapMatchGroup", Fk).component("MediaGroup", Fb).component("OrderGroup", LP).component("qti-gap-text", OP).component("qti-gap-img", QP).component("qti-gap", GP).component("qti-hottext", YP).component("qti-hotspot-choice", tD).component("qti-interaction-modules", aD).component("qti-interaction-module", cD).component("qti-interaction-markup", pD).component("qti-template-variable", wD).component("qti-context-variable", TD), Y.component("qti-catalog", HD).component("qti-card", jD).component("qti-card-entry", YD).component("qti-html-content", eB).component("qti-file-href", nB), Y.component("qti-response-condition", uB), Y.component("qti-response-processing-fragment", fB), Y.component("qti-set-outcome-value", yB), Y.component("qti-exit-response", EB), Y.component("qti-lookup-outcome-value", SB), Y.component("qti-response-if", AB), Y.component("qti-response-else", RB), Y.component("qti-response-else-if", kB), Y.component("qti-set-template-value", HB), Y.component("qti-template-condition", WB), Y.component("qti-template-if", XB), Y.component("qti-template-else", tQ), Y.component("qti-template-else-if", rQ), Y.component("qti-template-constraint", uQ), Y.component("qti-exit-template", fQ), Y.component("qti-set-correct-response", wQ), Y.component("qti-set-default-value", CQ), Y.component("qti-base-value", $Q), Y.component("qti-correct", NQ), Y.component("qti-default", PQ), Y.component("qti-variable", HQ), Y.component("qti-match", jQ), Y.component("qti-map-response", YQ), Y.component("qti-is-null", e5), Y.component("qti-and", n5), Y.component("qti-or", l5), Y.component("qti-not", d5), Y.component("qti-subtract", g5), Y.component("qti-sum", v5), Y.component("qti-random", x5), Y.component("qti-multiple", V5), Y.component("qti-ordered", M5), Y.component("qti-equal", O5), Y.component("qti-equal-rounded", B5), Y.component("qti-field-value", U5), Y.component("qti-random-float", z5), Y.component("qti-random-integer", Z5), Y.component("qti-integer-divide", i3), Y.component("qti-integer-modulus", a3), Y.component("qti-integer-to-float", c3), Y.component("qti-product", p3), Y.component("qti-index", w3), Y.component("qti-member", T3), Y.component("qti-delete", I3), Y.component("qti-substring", $3), Y.component("qti-string-match", N3), Y.component("qti-pattern-match", P3), Y.component("qti-round", H3), Y.component("qti-round-to", j3), Y.component("qti-truncate", Y3), Y.component("qti-divide", e4), Y.component("qti-gt", n4), Y.component("qti-gte", l4), Y.component("qti-lt", d4), Y.component("qti-lte", g4), Y.component("qti-max", v4), Y.component("qti-min", x4), Y.component("qti-custom-operator", R4), Y.component("qti-math-operator", k4), Y.component("qti-math-constant", F4), Y.component("qti-repeat", W4), Y.component("qti-stats-operator", X4), Y.component("qti-gcd", tH), Y.component("qti-lcm", rH), Y.component("qti-power", uH), Y.component("qti-any-n", fH);
|
44230
44232
|
}
|
44231
44233
|
function xe() {
|
44232
44234
|
pv(() => {
|