@instructure/platform-widget-dashboard 10.12.0 → 10.13.0
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/contexts/TranslationsContext.d.ts +4 -0
- package/dist/contexts/TranslationsContext.d.ts.map +1 -1
- package/dist/hooks/useDashboardExperiencePreference.d.ts +7 -0
- package/dist/hooks/useDashboardExperiencePreference.d.ts.map +1 -0
- package/dist/hooks/useEducatorTodoItemCount.d.ts.map +1 -1
- package/dist/index.js +191 -192
- package/locales/en.json +4 -0
- package/package.json +5 -5
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@ import { Alert as q2 } from "@instructure/ui-alerts";
|
|
|
5
5
|
import { Button as G0, IconButton as he, CloseButton as Ro } from "@instructure/ui-buttons";
|
|
6
6
|
import { Flex as L } from "@instructure/ui-flex";
|
|
7
7
|
import { Heading as k1 } from "@instructure/ui-heading";
|
|
8
|
-
import { IconInfoLine as Is, IconCalendarMonthLine as Ds, IconQuestionLine as ks, IconWarningLine as On, IconCheckMarkLine as fr, IconMoveUpLine as oM, IconMoveDownLine as nM, IconMoveUpTopLine as Ps, IconMoveDownBottomLine as Us, IconArrowStartLine as cM, IconArrowEndLine as qr, IconDragHandleLine as Fs, IconTrashLine as js, IconEmailLine as Hs, IconAnnouncementLine as Gs, IconCheckMarkSolid as
|
|
8
|
+
import { IconInfoLine as Is, IconCalendarMonthLine as Ds, IconQuestionLine as ks, IconWarningLine as On, IconCheckMarkLine as fr, IconMoveUpLine as oM, IconMoveDownLine as nM, IconMoveUpTopLine as Ps, IconMoveDownBottomLine as Us, IconArrowStartLine as cM, IconArrowEndLine as qr, IconDragHandleLine as Fs, IconTrashLine as js, IconEmailLine as Hs, IconAnnouncementLine as Gs, IconCheckMarkSolid as Tt, IconEmptyLine as Ys, IconMoreLine as $s, IconWarningSolid as Vs, IconEyeLine as Ks, IconOffLine as Qs, IconDocumentLine as Zs, IconDiscussionLine as Js, IconQuizLine as e3, IconAssignmentLine as t3, IconCalendarClockLine as Yi, IconMessageLine as $i, IconStarSolid as Vi, IconCheckLine as Yr, IconRefreshLine as o3, IconArrowOpenEndSolid as n3, IconA11yLine as c3, IconSearchLine as r3, IconArrowOpenStartLine as b3, IconArrowOpenEndLine as M3, IconSpeedGraderLine as p3, IconCompleteSolid as i3, IconArrowOpenUpLine as z3, IconArrowOpenDownLine as a3, IconEditLine as s3, IconCheckPlusLine as u3, IconInstructure3DotLine as O3, IconExternalLinkLine as d3, IconAddLine as $r, IconConfigureLine as l3, IconSettingsLine as A3 } from "@instructure/ui-icons";
|
|
9
9
|
import { View as D } from "@instructure/ui-view";
|
|
10
10
|
import E1, { createContext as ge, useContext as Ee, useMemo as t0, useState as G, useCallback as Y, useEffect as R0, createElement as f3, useRef as h0, useId as xn, useLayoutEffect as Vr, memo as q3, useReducer as W3, lazy as h3, Suspense as m3, Component as g3 } from "react";
|
|
11
11
|
import { Responsive as Ki } from "@instructure/ui-responsive";
|
|
@@ -270,7 +270,7 @@ const Z1 = {
|
|
|
270
270
|
widgetDashboardOverridable: !1,
|
|
271
271
|
availableDashboardExperiences: [],
|
|
272
272
|
addOakMountPoint: !1
|
|
273
|
-
},
|
|
273
|
+
}, ft = {
|
|
274
274
|
DASHBOARD: "dashboard",
|
|
275
275
|
COURSES: "courses"
|
|
276
276
|
}, E0 = {
|
|
@@ -920,23 +920,23 @@ function uz(e) {
|
|
|
920
920
|
});
|
|
921
921
|
}), o;
|
|
922
922
|
}
|
|
923
|
-
var
|
|
923
|
+
var at = {}, uM;
|
|
924
924
|
function Lu() {
|
|
925
|
-
if (uM) return
|
|
925
|
+
if (uM) return at;
|
|
926
926
|
uM = 1;
|
|
927
927
|
var e = v3;
|
|
928
928
|
if (process.env.NODE_ENV === "production")
|
|
929
|
-
|
|
929
|
+
at.createRoot = e.createRoot, at.hydrateRoot = e.hydrateRoot;
|
|
930
930
|
else {
|
|
931
931
|
var t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
932
|
-
|
|
932
|
+
at.createRoot = function(o, n) {
|
|
933
933
|
t.usingClientEntryPoint = !0;
|
|
934
934
|
try {
|
|
935
935
|
return e.createRoot(o, n);
|
|
936
936
|
} finally {
|
|
937
937
|
t.usingClientEntryPoint = !1;
|
|
938
938
|
}
|
|
939
|
-
},
|
|
939
|
+
}, at.hydrateRoot = function(o, n, c) {
|
|
940
940
|
t.usingClientEntryPoint = !0;
|
|
941
941
|
try {
|
|
942
942
|
return e.hydrateRoot(o, n, c);
|
|
@@ -945,7 +945,7 @@ function Lu() {
|
|
|
945
945
|
}
|
|
946
946
|
};
|
|
947
947
|
}
|
|
948
|
-
return
|
|
948
|
+
return at;
|
|
949
949
|
}
|
|
950
950
|
var yu = Lu();
|
|
951
951
|
const Nu = 5e3, vu = {
|
|
@@ -1409,7 +1409,7 @@ class pe extends Error {
|
|
|
1409
1409
|
}
|
|
1410
1410
|
}
|
|
1411
1411
|
pe.create = (e) => new pe(e);
|
|
1412
|
-
const
|
|
1412
|
+
const Bt = (e, t) => {
|
|
1413
1413
|
let o;
|
|
1414
1414
|
switch (e.code) {
|
|
1415
1415
|
case Q.invalid_type:
|
|
@@ -1465,7 +1465,7 @@ const _t = (e, t) => {
|
|
|
1465
1465
|
}
|
|
1466
1466
|
return { message: o };
|
|
1467
1467
|
};
|
|
1468
|
-
let Az =
|
|
1468
|
+
let Az = Bt;
|
|
1469
1469
|
function Gu(e) {
|
|
1470
1470
|
Az = e;
|
|
1471
1471
|
}
|
|
@@ -1505,7 +1505,7 @@ function b0(e, t) {
|
|
|
1505
1505
|
// then schema-bound map if available
|
|
1506
1506
|
o,
|
|
1507
1507
|
// then global override map
|
|
1508
|
-
o ===
|
|
1508
|
+
o === Bt ? void 0 : Bt
|
|
1509
1509
|
// then global default map
|
|
1510
1510
|
].filter((c) => !!c)
|
|
1511
1511
|
});
|
|
@@ -1554,7 +1554,7 @@ class P1 {
|
|
|
1554
1554
|
}
|
|
1555
1555
|
const L0 = Object.freeze({
|
|
1556
1556
|
status: "aborted"
|
|
1557
|
-
}),
|
|
1557
|
+
}), mt = (e) => ({ status: "dirty", value: e }), $1 = (e) => ({ status: "valid", value: e }), gr = (e) => e.status === "aborted", Rr = (e) => e.status === "dirty", Z2 = (e) => e.status === "valid", oo = (e) => typeof Promise < "u" && e instanceof Promise;
|
|
1558
1558
|
var d0;
|
|
1559
1559
|
(function(e) {
|
|
1560
1560
|
e.errToObj = (t) => typeof t == "string" ? { message: t } : t || {}, e.toString = (t) => typeof t == "string" ? t : t == null ? void 0 : t.message;
|
|
@@ -1751,7 +1751,7 @@ class X0 {
|
|
|
1751
1751
|
return Ce.create(this);
|
|
1752
1752
|
}
|
|
1753
1753
|
promise() {
|
|
1754
|
-
return
|
|
1754
|
+
return wt.create(this, this._def);
|
|
1755
1755
|
}
|
|
1756
1756
|
or(t) {
|
|
1757
1757
|
return bo.create([this, t], this._def);
|
|
@@ -2687,7 +2687,7 @@ ro.create = (e) => new ro({
|
|
|
2687
2687
|
typeName: y0.ZodNull,
|
|
2688
2688
|
..._0(e)
|
|
2689
2689
|
});
|
|
2690
|
-
class
|
|
2690
|
+
class _t extends X0 {
|
|
2691
2691
|
constructor() {
|
|
2692
2692
|
super(...arguments), this._any = !0;
|
|
2693
2693
|
}
|
|
@@ -2695,7 +2695,7 @@ class wt extends X0 {
|
|
|
2695
2695
|
return $1(t.data);
|
|
2696
2696
|
}
|
|
2697
2697
|
}
|
|
2698
|
-
|
|
2698
|
+
_t.create = (e) => new _t({
|
|
2699
2699
|
typeName: y0.ZodAny,
|
|
2700
2700
|
..._0(e)
|
|
2701
2701
|
});
|
|
@@ -2815,12 +2815,12 @@ Ce.create = (e, t) => new Ce({
|
|
|
2815
2815
|
typeName: y0.ZodArray,
|
|
2816
2816
|
..._0(t)
|
|
2817
2817
|
});
|
|
2818
|
-
function
|
|
2818
|
+
function qt(e) {
|
|
2819
2819
|
if (e instanceof i1) {
|
|
2820
2820
|
const t = {};
|
|
2821
2821
|
for (const o in e.shape) {
|
|
2822
2822
|
const n = e.shape[o];
|
|
2823
|
-
t[o] = $e.create(
|
|
2823
|
+
t[o] = $e.create(qt(n));
|
|
2824
2824
|
}
|
|
2825
2825
|
return new i1({
|
|
2826
2826
|
...e._def,
|
|
@@ -2828,8 +2828,8 @@ function Wt(e) {
|
|
|
2828
2828
|
});
|
|
2829
2829
|
} else return e instanceof Ce ? new Ce({
|
|
2830
2830
|
...e._def,
|
|
2831
|
-
type:
|
|
2832
|
-
}) : e instanceof $e ? $e.create(
|
|
2831
|
+
type: qt(e.element)
|
|
2832
|
+
}) : e instanceof $e ? $e.create(qt(e.unwrap())) : e instanceof E2 ? E2.create(qt(e.unwrap())) : e instanceof Qe ? Qe.create(e.items.map((t) => qt(t))) : e;
|
|
2833
2833
|
}
|
|
2834
2834
|
class i1 extends X0 {
|
|
2835
2835
|
constructor() {
|
|
@@ -3065,7 +3065,7 @@ class i1 extends X0 {
|
|
|
3065
3065
|
* @deprecated
|
|
3066
3066
|
*/
|
|
3067
3067
|
deepPartial() {
|
|
3068
|
-
return
|
|
3068
|
+
return qt(this);
|
|
3069
3069
|
}
|
|
3070
3070
|
partial(t) {
|
|
3071
3071
|
const o = {};
|
|
@@ -3522,7 +3522,7 @@ et.create = (e, t) => new et({
|
|
|
3522
3522
|
typeName: y0.ZodSet,
|
|
3523
3523
|
..._0(t)
|
|
3524
3524
|
});
|
|
3525
|
-
class
|
|
3525
|
+
class Rt extends X0 {
|
|
3526
3526
|
constructor() {
|
|
3527
3527
|
super(...arguments), this.validate = this.implement;
|
|
3528
3528
|
}
|
|
@@ -3538,7 +3538,7 @@ class Lt extends X0 {
|
|
|
3538
3538
|
return An({
|
|
3539
3539
|
data: M,
|
|
3540
3540
|
path: o.path,
|
|
3541
|
-
errorMaps: [o.common.contextualErrorMap, o.schemaErrorMap, ln(),
|
|
3541
|
+
errorMaps: [o.common.contextualErrorMap, o.schemaErrorMap, ln(), Bt].filter((p) => !!p),
|
|
3542
3542
|
issueData: {
|
|
3543
3543
|
code: Q.invalid_arguments,
|
|
3544
3544
|
argumentsError: i
|
|
@@ -3549,7 +3549,7 @@ class Lt extends X0 {
|
|
|
3549
3549
|
return An({
|
|
3550
3550
|
data: M,
|
|
3551
3551
|
path: o.path,
|
|
3552
|
-
errorMaps: [o.common.contextualErrorMap, o.schemaErrorMap, ln(),
|
|
3552
|
+
errorMaps: [o.common.contextualErrorMap, o.schemaErrorMap, ln(), Bt].filter((p) => !!p),
|
|
3553
3553
|
issueData: {
|
|
3554
3554
|
code: Q.invalid_return_type,
|
|
3555
3555
|
returnTypeError: i
|
|
@@ -3557,7 +3557,7 @@ class Lt extends X0 {
|
|
|
3557
3557
|
});
|
|
3558
3558
|
}
|
|
3559
3559
|
const r = { errorMap: o.common.contextualErrorMap }, b = o.data;
|
|
3560
|
-
if (this._def.returns instanceof
|
|
3560
|
+
if (this._def.returns instanceof wt) {
|
|
3561
3561
|
const M = this;
|
|
3562
3562
|
return $1(async function(...i) {
|
|
3563
3563
|
const p = new pe([]), s = await M._def.args.parseAsync(i, r).catch((u) => {
|
|
@@ -3587,13 +3587,13 @@ class Lt extends X0 {
|
|
|
3587
3587
|
return this._def.returns;
|
|
3588
3588
|
}
|
|
3589
3589
|
args(...t) {
|
|
3590
|
-
return new
|
|
3590
|
+
return new Rt({
|
|
3591
3591
|
...this._def,
|
|
3592
3592
|
args: Qe.create(t).rest(K2.create())
|
|
3593
3593
|
});
|
|
3594
3594
|
}
|
|
3595
3595
|
returns(t) {
|
|
3596
|
-
return new
|
|
3596
|
+
return new Rt({
|
|
3597
3597
|
...this._def,
|
|
3598
3598
|
returns: t
|
|
3599
3599
|
});
|
|
@@ -3605,7 +3605,7 @@ class Lt extends X0 {
|
|
|
3605
3605
|
return this.parse(t);
|
|
3606
3606
|
}
|
|
3607
3607
|
static create(t, o, n) {
|
|
3608
|
-
return new
|
|
3608
|
+
return new Rt({
|
|
3609
3609
|
args: t || Qe.create([]).rest(K2.create()),
|
|
3610
3610
|
returns: o || K2.create(),
|
|
3611
3611
|
typeName: y0.ZodFunction,
|
|
@@ -3740,7 +3740,7 @@ ao.create = (e, t) => new ao({
|
|
|
3740
3740
|
typeName: y0.ZodNativeEnum,
|
|
3741
3741
|
..._0(t)
|
|
3742
3742
|
});
|
|
3743
|
-
class
|
|
3743
|
+
class wt extends X0 {
|
|
3744
3744
|
unwrap() {
|
|
3745
3745
|
return this._def.type;
|
|
3746
3746
|
}
|
|
@@ -3759,7 +3759,7 @@ class St extends X0 {
|
|
|
3759
3759
|
})));
|
|
3760
3760
|
}
|
|
3761
3761
|
}
|
|
3762
|
-
|
|
3762
|
+
wt.create = (e, t) => new wt({
|
|
3763
3763
|
type: e,
|
|
3764
3764
|
typeName: y0.ZodPromise,
|
|
3765
3765
|
..._0(t)
|
|
@@ -3791,7 +3791,7 @@ class Ie extends X0 {
|
|
|
3791
3791
|
path: n.path,
|
|
3792
3792
|
parent: n
|
|
3793
3793
|
});
|
|
3794
|
-
return i.status === "aborted" ? L0 : i.status === "dirty" || o.value === "dirty" ?
|
|
3794
|
+
return i.status === "aborted" ? L0 : i.status === "dirty" || o.value === "dirty" ? mt(i.value) : i;
|
|
3795
3795
|
});
|
|
3796
3796
|
{
|
|
3797
3797
|
if (o.value === "aborted")
|
|
@@ -3801,7 +3801,7 @@ class Ie extends X0 {
|
|
|
3801
3801
|
path: n.path,
|
|
3802
3802
|
parent: n
|
|
3803
3803
|
});
|
|
3804
|
-
return M.status === "aborted" ? L0 : M.status === "dirty" || o.value === "dirty" ?
|
|
3804
|
+
return M.status === "aborted" ? L0 : M.status === "dirty" || o.value === "dirty" ? mt(M.value) : M;
|
|
3805
3805
|
}
|
|
3806
3806
|
}
|
|
3807
3807
|
if (c.type === "refinement") {
|
|
@@ -3986,7 +3986,7 @@ class To extends X0 {
|
|
|
3986
3986
|
path: n.path,
|
|
3987
3987
|
parent: n
|
|
3988
3988
|
});
|
|
3989
|
-
return r.status === "aborted" ? L0 : r.status === "dirty" ? (o.dirty(),
|
|
3989
|
+
return r.status === "aborted" ? L0 : r.status === "dirty" ? (o.dirty(), mt(r.value)) : this._def.out._parseAsync({
|
|
3990
3990
|
data: r.value,
|
|
3991
3991
|
path: n.path,
|
|
3992
3992
|
parent: n
|
|
@@ -4035,7 +4035,7 @@ function qM(e, t) {
|
|
|
4035
4035
|
return typeof o == "string" ? { message: o } : o;
|
|
4036
4036
|
}
|
|
4037
4037
|
function mz(e, t = {}, o) {
|
|
4038
|
-
return e ?
|
|
4038
|
+
return e ? _t.create().superRefine((n, c) => {
|
|
4039
4039
|
const r = e(n);
|
|
4040
4040
|
if (r instanceof Promise)
|
|
4041
4041
|
return r.then((b) => {
|
|
@@ -4048,7 +4048,7 @@ function mz(e, t = {}, o) {
|
|
|
4048
4048
|
const b = qM(t, n), M = b.fatal ?? o ?? !0;
|
|
4049
4049
|
c.addIssue({ code: "custom", ...b, fatal: M });
|
|
4050
4050
|
}
|
|
4051
|
-
}) :
|
|
4051
|
+
}) : _t.create();
|
|
4052
4052
|
}
|
|
4053
4053
|
const lO = {
|
|
4054
4054
|
object: i1.lazycreate
|
|
@@ -4059,7 +4059,7 @@ var y0;
|
|
|
4059
4059
|
})(y0 || (y0 = {}));
|
|
4060
4060
|
const AO = (e, t = {
|
|
4061
4061
|
message: `Input not instance of ${e.name}`
|
|
4062
|
-
}) => mz((o) => o instanceof e, t), g0 = we.create, X1 = S2.create, fO = hn.create, qO = x2.create, o1 = no.create, WO = J2.create, hO = fn.create, mO = co.create, gO = ro.create, RO =
|
|
4062
|
+
}) => mz((o) => o instanceof e, t), g0 = we.create, X1 = S2.create, fO = hn.create, qO = x2.create, o1 = no.create, WO = J2.create, hO = fn.create, mO = co.create, gO = ro.create, RO = _t.create, LO = K2.create, yO = d2.create, NO = qn.create, l2 = Ce.create, e1 = i1.create, vO = i1.strictCreate, Zr = bo.create, TO = Xn.create, BO = Mo.create, _O = Qe.create, wO = po.create, SO = Wn.create, xO = et.create, CO = Rt.create, EO = io.create, gz = zo.create, Jr = C2.create, XO = ao.create, IO = wt.create, WM = Ie.create, DO = $e.create, kO = E2.create, PO = Ie.createWithPreprocess, UO = To.create, FO = () => g0().optional(), jO = () => X1().optional(), HO = () => o1().optional(), Rz = {
|
|
4063
4063
|
string: (e) => we.create({ ...e, coerce: !0 }),
|
|
4064
4064
|
number: (e) => S2.create({ ...e, coerce: !0 }),
|
|
4065
4065
|
boolean: (e) => no.create({
|
|
@@ -4071,14 +4071,14 @@ const AO = (e, t = {
|
|
|
4071
4071
|
}, GO = L0, z1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4072
4072
|
__proto__: null,
|
|
4073
4073
|
BRAND: dO,
|
|
4074
|
-
DIRTY:
|
|
4074
|
+
DIRTY: mt,
|
|
4075
4075
|
EMPTY_PATH: Yu,
|
|
4076
4076
|
INVALID: L0,
|
|
4077
4077
|
NEVER: GO,
|
|
4078
4078
|
OK: $1,
|
|
4079
4079
|
ParseStatus: P1,
|
|
4080
4080
|
Schema: X0,
|
|
4081
|
-
ZodAny:
|
|
4081
|
+
ZodAny: _t,
|
|
4082
4082
|
ZodArray: Ce,
|
|
4083
4083
|
ZodBigInt: x2,
|
|
4084
4084
|
ZodBoolean: no,
|
|
@@ -4093,7 +4093,7 @@ const AO = (e, t = {
|
|
|
4093
4093
|
get ZodFirstPartyTypeKind() {
|
|
4094
4094
|
return y0;
|
|
4095
4095
|
},
|
|
4096
|
-
ZodFunction:
|
|
4096
|
+
ZodFunction: Rt,
|
|
4097
4097
|
ZodIntersection: Mo,
|
|
4098
4098
|
ZodIssueCode: Q,
|
|
4099
4099
|
ZodLazy: io,
|
|
@@ -4109,7 +4109,7 @@ const AO = (e, t = {
|
|
|
4109
4109
|
ZodOptional: $e,
|
|
4110
4110
|
ZodParsedType: i0,
|
|
4111
4111
|
ZodPipeline: To,
|
|
4112
|
-
ZodPromise:
|
|
4112
|
+
ZodPromise: wt,
|
|
4113
4113
|
ZodReadonly: Oo,
|
|
4114
4114
|
ZodRecord: po,
|
|
4115
4115
|
ZodSchema: X0,
|
|
@@ -4132,7 +4132,7 @@ const AO = (e, t = {
|
|
|
4132
4132
|
custom: mz,
|
|
4133
4133
|
date: WO,
|
|
4134
4134
|
datetimeRegex: Wz,
|
|
4135
|
-
defaultErrorMap:
|
|
4135
|
+
defaultErrorMap: Bt,
|
|
4136
4136
|
discriminatedUnion: TO,
|
|
4137
4137
|
effect: WM,
|
|
4138
4138
|
enum: Jr,
|
|
@@ -7579,7 +7579,7 @@ function Pn() {
|
|
|
7579
7579
|
return Nc = t, t.default = t, Nc;
|
|
7580
7580
|
}
|
|
7581
7581
|
var vc, ap;
|
|
7582
|
-
function
|
|
7582
|
+
function nt() {
|
|
7583
7583
|
if (ap) return vc;
|
|
7584
7584
|
ap = 1;
|
|
7585
7585
|
let e = kn(), t = Pn(), o = Dn(), { isClean: n, my: c } = ob(), r, b, M, i;
|
|
@@ -7798,7 +7798,7 @@ var Tc, sp;
|
|
|
7798
7798
|
function nb() {
|
|
7799
7799
|
if (sp) return Tc;
|
|
7800
7800
|
sp = 1;
|
|
7801
|
-
let e =
|
|
7801
|
+
let e = nt();
|
|
7802
7802
|
class t extends e {
|
|
7803
7803
|
constructor(n) {
|
|
7804
7804
|
super(n), this.type = "atrule";
|
|
@@ -7816,7 +7816,7 @@ var Bc, up;
|
|
|
7816
7816
|
function cb() {
|
|
7817
7817
|
if (up) return Bc;
|
|
7818
7818
|
up = 1;
|
|
7819
|
-
let e =
|
|
7819
|
+
let e = nt(), t, o;
|
|
7820
7820
|
class n extends e {
|
|
7821
7821
|
constructor(r) {
|
|
7822
7822
|
super({ type: "document", ...r }), this.nodes || (this.nodes = []);
|
|
@@ -8088,7 +8088,7 @@ var xc, Ap;
|
|
|
8088
8088
|
function _o() {
|
|
8089
8089
|
if (Ap) return xc;
|
|
8090
8090
|
Ap = 1;
|
|
8091
|
-
let e =
|
|
8091
|
+
let e = nt(), t, o;
|
|
8092
8092
|
class n extends e {
|
|
8093
8093
|
constructor(r) {
|
|
8094
8094
|
super(r), this.type = "root", this.nodes || (this.nodes = []);
|
|
@@ -8144,7 +8144,7 @@ var Ec, qp;
|
|
|
8144
8144
|
function rb() {
|
|
8145
8145
|
if (qp) return Ec;
|
|
8146
8146
|
qp = 1;
|
|
8147
|
-
let e =
|
|
8147
|
+
let e = nt(), t = Sz();
|
|
8148
8148
|
class o extends e {
|
|
8149
8149
|
get selectors() {
|
|
8150
8150
|
return t.comma(this.selector);
|
|
@@ -8799,7 +8799,7 @@ var Pc, Rp;
|
|
|
8799
8799
|
function bb() {
|
|
8800
8800
|
if (Rp) return Pc;
|
|
8801
8801
|
Rp = 1;
|
|
8802
|
-
let e =
|
|
8802
|
+
let e = nt(), t = Un(), o = Bd();
|
|
8803
8803
|
function n(c, r) {
|
|
8804
8804
|
let b = new t(c, r), M = new o(b);
|
|
8805
8805
|
try {
|
|
@@ -8875,7 +8875,7 @@ var Hc, vp;
|
|
|
8875
8875
|
function Xz() {
|
|
8876
8876
|
if (vp) return Hc;
|
|
8877
8877
|
vp = 1;
|
|
8878
|
-
let e =
|
|
8878
|
+
let e = nt(), t = cb(), o = xz(), n = bb(), c = Mb(), r = _o(), b = In(), { isClean: M, my: i } = ob(), p = Ez();
|
|
8879
8879
|
const s = {
|
|
8880
8880
|
atrule: "AtRule",
|
|
8881
8881
|
comment: "Comment",
|
|
@@ -9336,7 +9336,7 @@ var $c, _p;
|
|
|
9336
9336
|
function Sd() {
|
|
9337
9337
|
if (_p) return $c;
|
|
9338
9338
|
_p = 1;
|
|
9339
|
-
let e = nb(), t = kn(), o =
|
|
9339
|
+
let e = nb(), t = kn(), o = nt(), n = tb(), c = Pn(), r = cb(), b = vd(), M = Un(), i = Xz(), p = Sz(), s = Dn(), O = bb(), a = wd(), u = Mb(), d = _o(), A = rb(), f = In(), l = Cz();
|
|
9340
9340
|
function q(...h) {
|
|
9341
9341
|
return h.length === 1 && Array.isArray(h[0]) && (h = h[0]), new a(h);
|
|
9342
9342
|
}
|
|
@@ -10198,7 +10198,7 @@ const Ed = /* @__PURE__ */ sz(Cd), Xd = (e) => {
|
|
|
10198
10198
|
))
|
|
10199
10199
|
] });
|
|
10200
10200
|
};
|
|
10201
|
-
function Ud(e =
|
|
10201
|
+
function Ud(e = ft.DASHBOARD) {
|
|
10202
10202
|
const [t, o] = G(e), { executeQuery: n } = T0(), c = Xe({
|
|
10203
10203
|
mutationFn: async (b) => await n(bu, {
|
|
10204
10204
|
tab: b
|
|
@@ -10323,7 +10323,7 @@ function kz(e) {
|
|
|
10323
10323
|
});
|
|
10324
10324
|
};
|
|
10325
10325
|
}
|
|
10326
|
-
const
|
|
10326
|
+
const Lt = /* @__PURE__ */ kz(1), Rn = /* @__PURE__ */ kz(-1);
|
|
10327
10327
|
function Hd(e) {
|
|
10328
10328
|
return "clientX" in e && "clientY" in e;
|
|
10329
10329
|
}
|
|
@@ -10993,7 +10993,7 @@ function Ll(e) {
|
|
|
10993
10993
|
};
|
|
10994
10994
|
}
|
|
10995
10995
|
function Vz(e) {
|
|
10996
|
-
return e.reduce((t, o) =>
|
|
10996
|
+
return e.reduce((t, o) => Lt(t, Br(o)), De);
|
|
10997
10997
|
}
|
|
10998
10998
|
function yl(e) {
|
|
10999
10999
|
return e.reduce((t, o) => t + Hz(o), 0);
|
|
@@ -11208,7 +11208,7 @@ class Qz {
|
|
|
11208
11208
|
break;
|
|
11209
11209
|
}
|
|
11210
11210
|
}
|
|
11211
|
-
this.handleMove(t,
|
|
11211
|
+
this.handleMove(t, Lt(Rn(O, this.referenceCoordinates), u));
|
|
11212
11212
|
}
|
|
11213
11213
|
}
|
|
11214
11214
|
}
|
|
@@ -11830,7 +11830,7 @@ function $l(e) {
|
|
|
11830
11830
|
p == null || p.removeEventListener("scroll", c);
|
|
11831
11831
|
});
|
|
11832
11832
|
}
|
|
11833
|
-
}, [c, e]), t0(() => e.length ? t ? Array.from(t.values()).reduce((r, b) =>
|
|
11833
|
+
}, [c, e]), t0(() => e.length ? t ? Array.from(t.values()).reduce((r, b) => Lt(r, b), De) : Vz(e) : De, [e, t]);
|
|
11834
11834
|
}
|
|
11835
11835
|
function Pp(e, t) {
|
|
11836
11836
|
t === void 0 && (t = []);
|
|
@@ -12320,13 +12320,13 @@ const aA = /* @__PURE__ */ q3(function(t) {
|
|
|
12320
12320
|
scrollableAncestors: r0,
|
|
12321
12321
|
scrollableAncestorRects: w0,
|
|
12322
12322
|
windowRect: l0
|
|
12323
|
-
}), D0 = $ ?
|
|
12323
|
+
}), D0 = $ ? Lt($, B) : null, u0 = $l(r0), q0 = Pp(u0), Z0 = Pp(u0, [v0]), q1 = Lt(B0, q0), L1 = H ? ll(H, B0) : null, K1 = S && L1 ? O({
|
|
12324
12324
|
active: S,
|
|
12325
12325
|
collisionRect: L1,
|
|
12326
12326
|
droppableRects: o0,
|
|
12327
12327
|
droppableContainers: z0,
|
|
12328
12328
|
pointerCoordinates: D0
|
|
12329
|
-
}) : null, ne = il(K1, "id"), [ue, kt] = G(null), ko = f0 ? B0 :
|
|
12329
|
+
}) : null, ne = il(K1, "id"), [ue, kt] = G(null), ko = f0 ? B0 : Lt(B0, Z0), Pt = Ol(ko, (r = ue == null ? void 0 : ue.rect) != null ? r : null, v0), it = h0(null), U2 = Y(
|
|
12330
12330
|
(y1, w1) => {
|
|
12331
12331
|
let {
|
|
12332
12332
|
sensor: S1,
|
|
@@ -12399,7 +12399,7 @@ const aA = /* @__PURE__ */ q3(function(t) {
|
|
|
12399
12399
|
}), q({
|
|
12400
12400
|
type: "onDragStart",
|
|
12401
12401
|
event: g2
|
|
12402
|
-
}), E(
|
|
12402
|
+
}), E(it.current), Z(U1);
|
|
12403
12403
|
});
|
|
12404
12404
|
},
|
|
12405
12405
|
onMove(b1) {
|
|
@@ -12411,7 +12411,7 @@ const aA = /* @__PURE__ */ q3(function(t) {
|
|
|
12411
12411
|
onEnd: t1(W1.DragEnd),
|
|
12412
12412
|
onCancel: t1(W1.DragCancel)
|
|
12413
12413
|
});
|
|
12414
|
-
|
|
12414
|
+
it.current = Oe;
|
|
12415
12415
|
function t1(b1) {
|
|
12416
12416
|
return async function() {
|
|
12417
12417
|
const {
|
|
@@ -12436,7 +12436,7 @@ const aA = /* @__PURE__ */ q3(function(t) {
|
|
|
12436
12436
|
X.current = null, Fo(() => {
|
|
12437
12437
|
l({
|
|
12438
12438
|
type: b1
|
|
12439
|
-
}), W(v2.Uninitialized), kt(null), E(null), Z(null),
|
|
12439
|
+
}), W(v2.Uninitialized), kt(null), E(null), Z(null), it.current = null;
|
|
12440
12440
|
const x1 = b1 === W1.DragEnd ? "onDragEnd" : "onDragCancel";
|
|
12441
12441
|
if (He) {
|
|
12442
12442
|
const Ne = c0.current[x1];
|
|
@@ -12451,7 +12451,7 @@ const aA = /* @__PURE__ */ q3(function(t) {
|
|
|
12451
12451
|
},
|
|
12452
12452
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
12453
12453
|
[y]
|
|
12454
|
-
),
|
|
12454
|
+
), zt = Y((y1, w1) => (S1, Fe) => {
|
|
12455
12455
|
const N1 = S1.nativeEvent, U1 = y.get(Fe);
|
|
12456
12456
|
if (
|
|
12457
12457
|
// Another sensor is already instantiating
|
|
@@ -12466,7 +12466,7 @@ const aA = /* @__PURE__ */ q3(function(t) {
|
|
|
12466
12466
|
y1(S1, w1.options, Oe) === !0 && (N1.dndKit = {
|
|
12467
12467
|
capturedBy: w1.sensor
|
|
12468
12468
|
}, X.current = Fe, U2(S1, w1));
|
|
12469
|
-
}, [y, U2]), ce = Pl(s,
|
|
12469
|
+
}, [y, U2]), ce = Pl(s, zt);
|
|
12470
12470
|
Vl(s), I2(() => {
|
|
12471
12471
|
v0 && g === v2.Initializing && W(v2.Initialized);
|
|
12472
12472
|
}, [v0, g]), R0(
|
|
@@ -12753,7 +12753,7 @@ function db(e) {
|
|
|
12753
12753
|
setNodeRef: m
|
|
12754
12754
|
};
|
|
12755
12755
|
}
|
|
12756
|
-
const
|
|
12756
|
+
const St = (e, t = 5, o) => ({
|
|
12757
12757
|
staleTime: t * 60 * 1e3,
|
|
12758
12758
|
refetchOnWindowFocus: !1,
|
|
12759
12759
|
enabled: !!o,
|
|
@@ -12778,7 +12778,7 @@ const tt = (e, t = 5, o) => ({
|
|
|
12778
12778
|
`;
|
|
12779
12779
|
function qA() {
|
|
12780
12780
|
const { executeQuery: e, currentUserId: t } = T0(), { data: o, isLoading: n, error: c } = Y1({
|
|
12781
|
-
...
|
|
12781
|
+
...St(
|
|
12782
12782
|
[AA],
|
|
12783
12783
|
H1.STALE_TIME.STATISTICS,
|
|
12784
12784
|
t
|
|
@@ -13148,7 +13148,7 @@ function oa() {
|
|
|
13148
13148
|
error: O,
|
|
13149
13149
|
refetch: a
|
|
13150
13150
|
} = Y1({
|
|
13151
|
-
...
|
|
13151
|
+
...St(
|
|
13152
13152
|
[aM, o ?? void 0, b.join(",")],
|
|
13153
13153
|
H1.STALE_TIME.STATISTICS,
|
|
13154
13154
|
r
|
|
@@ -13164,7 +13164,7 @@ function oa() {
|
|
|
13164
13164
|
error: A,
|
|
13165
13165
|
refetch: f
|
|
13166
13166
|
} = Y1({
|
|
13167
|
-
...
|
|
13167
|
+
...St(
|
|
13168
13168
|
[aM, "enrollments", o ?? void 0],
|
|
13169
13169
|
H1.STALE_TIME.STATISTICS,
|
|
13170
13170
|
r
|
|
@@ -14140,7 +14140,7 @@ function e4(e, t) {
|
|
|
14140
14140
|
}
|
|
14141
14141
|
}
|
|
14142
14142
|
const ca = Object.entries, Jp = Object.setPrototypeOf, t4 = Object.isFrozen, o4 = Object.getPrototypeOf, n4 = Object.getOwnPropertyDescriptor;
|
|
14143
|
-
let V1 = Object.freeze, me = Object.seal,
|
|
14143
|
+
let V1 = Object.freeze, me = Object.seal, Wt = Object.create, ra = typeof Reflect < "u" && Reflect, xr = ra.apply, Cr = ra.construct;
|
|
14144
14144
|
V1 || (V1 = function(t) {
|
|
14145
14145
|
return t;
|
|
14146
14146
|
});
|
|
@@ -14157,7 +14157,7 @@ Cr || (Cr = function(t) {
|
|
|
14157
14157
|
n[c - 1] = arguments[c];
|
|
14158
14158
|
return new t(...n);
|
|
14159
14159
|
});
|
|
14160
|
-
const
|
|
14160
|
+
const st = f1(Array.prototype.forEach), c4 = f1(Array.prototype.lastIndexOf), ei = f1(Array.prototype.pop), ut = f1(Array.prototype.push), r4 = f1(Array.prototype.splice), j1 = Array.isArray, Vt = f1(String.prototype.toLowerCase), er = f1(String.prototype.toString), ti = f1(String.prototype.match), Ot = f1(String.prototype.replace), oi = f1(String.prototype.indexOf), b4 = f1(String.prototype.trim), M4 = f1(Number.prototype.toString), p4 = f1(Boolean.prototype.toString), ni = typeof BigInt > "u" ? null : f1(BigInt.prototype.toString), ci = typeof Symbol > "u" ? null : f1(Symbol.prototype.toString), a1 = f1(Object.prototype.hasOwnProperty), jt = f1(Object.prototype.toString), C1 = f1(RegExp.prototype.test), Zo = i4(TypeError);
|
|
14161
14161
|
function f1(e) {
|
|
14162
14162
|
return function(t) {
|
|
14163
14163
|
t instanceof RegExp && (t.lastIndex = 0);
|
|
@@ -14194,7 +14194,7 @@ function z4(e) {
|
|
|
14194
14194
|
return e;
|
|
14195
14195
|
}
|
|
14196
14196
|
function ee(e) {
|
|
14197
|
-
const t =
|
|
14197
|
+
const t = Wt(null);
|
|
14198
14198
|
for (const n of ca(e)) {
|
|
14199
14199
|
var o = JA(n, 2);
|
|
14200
14200
|
const c = o[0], r = o[1];
|
|
@@ -14260,7 +14260,7 @@ const ri = V1(["a", "abbr", "acronym", "address", "area", "article", "aside", "a
|
|
|
14260
14260
|
), W4 = me(/^(?:\w+script|data):/i), h4 = me(
|
|
14261
14261
|
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
14262
14262
|
// eslint-disable-line no-control-regex
|
|
14263
|
-
), m4 = me(/^html$/i), g4 = me(/^[a-z][.\w]*(-[.\w]+)+$/i),
|
|
14263
|
+
), m4 = me(/^html$/i), g4 = me(/^[a-z][.\w]*(-[.\w]+)+$/i), dt = {
|
|
14264
14264
|
element: 1,
|
|
14265
14265
|
text: 3,
|
|
14266
14266
|
// Deprecated
|
|
@@ -14304,7 +14304,7 @@ const ri = V1(["a", "abbr", "acronym", "address", "area", "article", "aside", "a
|
|
|
14304
14304
|
function ba() {
|
|
14305
14305
|
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : R4();
|
|
14306
14306
|
const t = (W0) => ba(W0);
|
|
14307
|
-
if (t.version = "3.4.5", t.removed = [], !e || !e.document || e.document.nodeType !==
|
|
14307
|
+
if (t.version = "3.4.5", t.removed = [], !e || !e.document || e.document.nodeType !== dt.document || !e.Element)
|
|
14308
14308
|
return t.isSupported = !1, t;
|
|
14309
14309
|
let o = e.document;
|
|
14310
14310
|
const n = o, c = n.currentScript, r = e.DocumentFragment, b = e.HTMLTemplateElement, M = e.Node, i = e.Element, p = e.NodeFilter, s = e.NamedNodeMap, O = s === void 0 ? e.NamedNodeMap || e.MozNamedAttrMap : s, a = e.HTMLFormElement, u = e.DOMParser, d = e.trustedTypes, A = i.prototype, f = Y2(A, "cloneNode"), l = Y2(A, "remove"), q = Y2(A, "nextSibling"), h = Y2(A, "childNodes"), g = Y2(A, "parentNode"), W = M && M.prototype ? Y2(M.prototype, "nodeType") : null;
|
|
@@ -14321,7 +14321,7 @@ function ba() {
|
|
|
14321
14321
|
const Y0 = x0({}, [...ri, ...tr, ...or, ...nr, ...bi]);
|
|
14322
14322
|
let O0 = null;
|
|
14323
14323
|
const $ = x0({}, [...Mi, ...cr, ...pi, ...Jo]);
|
|
14324
|
-
let J = Object.seal(
|
|
14324
|
+
let J = Object.seal(Wt(null, {
|
|
14325
14325
|
tagNameCheck: {
|
|
14326
14326
|
writable: !0,
|
|
14327
14327
|
configurable: !1,
|
|
@@ -14341,7 +14341,7 @@ function ba() {
|
|
|
14341
14341
|
value: !1
|
|
14342
14342
|
}
|
|
14343
14343
|
})), I0 = null, v0 = null;
|
|
14344
|
-
const F = Object.seal(
|
|
14344
|
+
const F = Object.seal(Wt(null, {
|
|
14345
14345
|
tagCheck: {
|
|
14346
14346
|
writable: !0,
|
|
14347
14347
|
configurable: !1,
|
|
@@ -14362,9 +14362,9 @@ function ba() {
|
|
|
14362
14362
|
let kt = null;
|
|
14363
14363
|
const ko = x0({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
14364
14364
|
let Pt = null;
|
|
14365
|
-
const
|
|
14365
|
+
const it = x0({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), U2 = "http://www.w3.org/1998/Math/MathML", zt = "http://www.w3.org/2000/svg", ce = "http://www.w3.org/1999/xhtml";
|
|
14366
14366
|
let m2 = ce, Ut = !1, Ft = null;
|
|
14367
|
-
const y1 = x0({}, [U2,
|
|
14367
|
+
const y1 = x0({}, [U2, zt, ce], er);
|
|
14368
14368
|
let w1 = x0({}, ["mi", "mo", "mn", "ms", "mtext"]), S1 = x0({}, ["annotation-xml"]);
|
|
14369
14369
|
const Fe = x0({}, ["title", "style", "font", "a", "script"]);
|
|
14370
14370
|
let N1 = null;
|
|
@@ -14377,9 +14377,9 @@ function ba() {
|
|
|
14377
14377
|
if (b1 && b1 === w)
|
|
14378
14378
|
return;
|
|
14379
14379
|
(!w || typeof w != "object") && (w = {}), w = ee(w), N1 = // eslint-disable-next-line unicorn/prefer-includes
|
|
14380
|
-
U1.indexOf(w.PARSER_MEDIA_TYPE) === -1 ? Oe : w.PARSER_MEDIA_TYPE, t1 = N1 === "application/xhtml+xml" ? er : Vt, A0 = a1(w, "ALLOWED_TAGS") && j1(w.ALLOWED_TAGS) ? x0({}, w.ALLOWED_TAGS, t1) : Y0, O0 = a1(w, "ALLOWED_ATTR") && j1(w.ALLOWED_ATTR) ? x0({}, w.ALLOWED_ATTR, t1) : $, Ft = a1(w, "ALLOWED_NAMESPACES") && j1(w.ALLOWED_NAMESPACES) ? x0({}, w.ALLOWED_NAMESPACES, er) : y1, Pt = a1(w, "ADD_URI_SAFE_ATTR") && j1(w.ADD_URI_SAFE_ATTR) ? x0(ee(
|
|
14381
|
-
const V = a1(w, "CUSTOM_ELEMENT_HANDLING") && w.CUSTOM_ELEMENT_HANDLING && typeof w.CUSTOM_ELEMENT_HANDLING == "object" ? ee(w.CUSTOM_ELEMENT_HANDLING) :
|
|
14382
|
-
if (J =
|
|
14380
|
+
U1.indexOf(w.PARSER_MEDIA_TYPE) === -1 ? Oe : w.PARSER_MEDIA_TYPE, t1 = N1 === "application/xhtml+xml" ? er : Vt, A0 = a1(w, "ALLOWED_TAGS") && j1(w.ALLOWED_TAGS) ? x0({}, w.ALLOWED_TAGS, t1) : Y0, O0 = a1(w, "ALLOWED_ATTR") && j1(w.ALLOWED_ATTR) ? x0({}, w.ALLOWED_ATTR, t1) : $, Ft = a1(w, "ALLOWED_NAMESPACES") && j1(w.ALLOWED_NAMESPACES) ? x0({}, w.ALLOWED_NAMESPACES, er) : y1, Pt = a1(w, "ADD_URI_SAFE_ATTR") && j1(w.ADD_URI_SAFE_ATTR) ? x0(ee(it), w.ADD_URI_SAFE_ATTR, t1) : it, kt = a1(w, "ADD_DATA_URI_TAGS") && j1(w.ADD_DATA_URI_TAGS) ? x0(ee(ko), w.ADD_DATA_URI_TAGS, t1) : ko, ne = a1(w, "FORBID_CONTENTS") && j1(w.FORBID_CONTENTS) ? x0({}, w.FORBID_CONTENTS, t1) : ue, I0 = a1(w, "FORBID_TAGS") && j1(w.FORBID_TAGS) ? x0({}, w.FORBID_TAGS, t1) : ee({}), v0 = a1(w, "FORBID_ATTR") && j1(w.FORBID_ATTR) ? x0({}, w.FORBID_ATTR, t1) : ee({}), K1 = a1(w, "USE_PROFILES") ? w.USE_PROFILES && typeof w.USE_PROFILES == "object" ? ee(w.USE_PROFILES) : w.USE_PROFILES : !1, U = w.ALLOW_ARIA_ATTR !== !1, N = w.ALLOW_DATA_ATTR !== !1, I = w.ALLOW_UNKNOWN_PROTOCOLS || !1, P = w.ALLOW_SELF_CLOSE_IN_ATTR !== !1, H = w.SAFE_FOR_TEMPLATES || !1, f0 = w.SAFE_FOR_XML !== !1, N0 = w.WHOLE_DOCUMENT || !1, w0 = w.RETURN_DOM || !1, B0 = w.RETURN_DOM_FRAGMENT || !1, D0 = w.RETURN_TRUSTED_TYPE || !1, r0 = w.FORCE_BODY || !1, u0 = w.SANITIZE_DOM !== !1, q0 = w.SANITIZE_NAMED_PROPS || !1, q1 = w.KEEP_CONTENT !== !1, L1 = w.IN_PLACE || !1, o0 = s4(w.ALLOWED_URI_REGEXP) ? w.ALLOWED_URI_REGEXP : ii, m2 = typeof w.NAMESPACE == "string" ? w.NAMESPACE : ce, w1 = a1(w, "MATHML_TEXT_INTEGRATION_POINTS") && w.MATHML_TEXT_INTEGRATION_POINTS && typeof w.MATHML_TEXT_INTEGRATION_POINTS == "object" ? ee(w.MATHML_TEXT_INTEGRATION_POINTS) : x0({}, ["mi", "mo", "mn", "ms", "mtext"]), S1 = a1(w, "HTML_INTEGRATION_POINTS") && w.HTML_INTEGRATION_POINTS && typeof w.HTML_INTEGRATION_POINTS == "object" ? ee(w.HTML_INTEGRATION_POINTS) : x0({}, ["annotation-xml"]);
|
|
14381
|
+
const V = a1(w, "CUSTOM_ELEMENT_HANDLING") && w.CUSTOM_ELEMENT_HANDLING && typeof w.CUSTOM_ELEMENT_HANDLING == "object" ? ee(w.CUSTOM_ELEMENT_HANDLING) : Wt(null);
|
|
14382
|
+
if (J = Wt(null), a1(V, "tagNameCheck") && re(V.tagNameCheck) && (J.tagNameCheck = V.tagNameCheck), a1(V, "attributeNameCheck") && re(V.attributeNameCheck) && (J.attributeNameCheck = V.attributeNameCheck), a1(V, "allowCustomizedBuiltInElements") && typeof V.allowCustomizedBuiltInElements == "boolean" && (J.allowCustomizedBuiltInElements = V.allowCustomizedBuiltInElements), H && (N = !1), B0 && (w0 = !0), K1 && (A0 = x0({}, bi), O0 = Wt(null), K1.html === !0 && (x0(A0, ri), x0(O0, Mi)), K1.svg === !0 && (x0(A0, tr), x0(O0, cr), x0(O0, Jo)), K1.svgFilters === !0 && (x0(A0, or), x0(O0, cr), x0(O0, Jo)), K1.mathMl === !0 && (x0(A0, nr), x0(O0, pi), x0(O0, Jo))), F.tagCheck = null, F.attributeCheck = null, a1(w, "ADD_TAGS") && (typeof w.ADD_TAGS == "function" ? F.tagCheck = w.ADD_TAGS : j1(w.ADD_TAGS) && (A0 === Y0 && (A0 = ee(A0)), x0(A0, w.ADD_TAGS, t1))), a1(w, "ADD_ATTR") && (typeof w.ADD_ATTR == "function" ? F.attributeCheck = w.ADD_ATTR : j1(w.ADD_ATTR) && (O0 === $ && (O0 = ee(O0)), x0(O0, w.ADD_ATTR, t1))), a1(w, "ADD_URI_SAFE_ATTR") && j1(w.ADD_URI_SAFE_ATTR) && x0(Pt, w.ADD_URI_SAFE_ATTR, t1), a1(w, "FORBID_CONTENTS") && j1(w.FORBID_CONTENTS) && (ne === ue && (ne = ee(ne)), x0(ne, w.FORBID_CONTENTS, t1)), a1(w, "ADD_FORBID_CONTENTS") && j1(w.ADD_FORBID_CONTENTS) && (ne === ue && (ne = ee(ne)), x0(ne, w.ADD_FORBID_CONTENTS, t1)), q1 && (A0["#text"] = !0), N0 && x0(A0, ["html", "head", "body"]), A0.table && (x0(A0, ["tbody"]), delete I0.tbody), w.TRUSTED_TYPES_POLICY) {
|
|
14383
14383
|
if (typeof w.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
14384
14384
|
throw Zo('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
14385
14385
|
if (typeof w.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -14395,9 +14395,9 @@ function ba() {
|
|
|
14395
14395
|
tagName: "template"
|
|
14396
14396
|
});
|
|
14397
14397
|
const p0 = Vt(w.tagName), k0 = Vt(V.tagName);
|
|
14398
|
-
return Ft[w.namespaceURI] ? w.namespaceURI ===
|
|
14398
|
+
return Ft[w.namespaceURI] ? w.namespaceURI === zt ? V.namespaceURI === ce ? p0 === "svg" : V.namespaceURI === U2 ? p0 === "svg" && (k0 === "annotation-xml" || w1[k0]) : !!g2[p0] : w.namespaceURI === U2 ? V.namespaceURI === ce ? p0 === "math" : V.namespaceURI === zt ? p0 === "math" && S1[k0] : !!R2[p0] : w.namespaceURI === ce ? V.namespaceURI === zt && !S1[k0] || V.namespaceURI === U2 && !w1[k0] ? !1 : !R2[p0] && (Fe[p0] || !g2[p0]) : !!(N1 === "application/xhtml+xml" && Ft[w.namespaceURI]) : !1;
|
|
14399
14399
|
}, x1 = function(w) {
|
|
14400
|
-
|
|
14400
|
+
ut(t.removed, {
|
|
14401
14401
|
element: w
|
|
14402
14402
|
});
|
|
14403
14403
|
try {
|
|
@@ -14407,12 +14407,12 @@ function ba() {
|
|
|
14407
14407
|
}
|
|
14408
14408
|
}, Ne = function(w, V) {
|
|
14409
14409
|
try {
|
|
14410
|
-
|
|
14410
|
+
ut(t.removed, {
|
|
14411
14411
|
attribute: V.getAttributeNode(w),
|
|
14412
14412
|
from: V
|
|
14413
14413
|
});
|
|
14414
14414
|
} catch {
|
|
14415
|
-
|
|
14415
|
+
ut(t.removed, {
|
|
14416
14416
|
attribute: null,
|
|
14417
14417
|
from: V
|
|
14418
14418
|
});
|
|
@@ -14472,8 +14472,8 @@ function ba() {
|
|
|
14472
14472
|
let p0 = V.nextNode();
|
|
14473
14473
|
for (; p0; ) {
|
|
14474
14474
|
let k0 = p0.data;
|
|
14475
|
-
|
|
14476
|
-
k0 =
|
|
14475
|
+
st([_, E, k], (d1) => {
|
|
14476
|
+
k0 = Ot(k0, d1, " ");
|
|
14477
14477
|
}), p0.data = k0, p0 = V.nextNode();
|
|
14478
14478
|
}
|
|
14479
14479
|
}, bc = function(w) {
|
|
@@ -14488,7 +14488,7 @@ function ba() {
|
|
|
14488
14488
|
}
|
|
14489
14489
|
};
|
|
14490
14490
|
function t2(W0, w, V) {
|
|
14491
|
-
|
|
14491
|
+
st(W0, (p0) => {
|
|
14492
14492
|
p0.call(t, w, V, b1);
|
|
14493
14493
|
});
|
|
14494
14494
|
}
|
|
@@ -14500,7 +14500,7 @@ function ba() {
|
|
|
14500
14500
|
if (t2(X.uponSanitizeElement, w, {
|
|
14501
14501
|
tagName: p0,
|
|
14502
14502
|
allowedTags: A0
|
|
14503
|
-
}), f0 && w.hasChildNodes() && !Po(w.firstElementChild) && C1(/<[/\w!]/g, w.innerHTML) && C1(/<[/\w!]/g, w.textContent) || f0 && w.namespaceURI === ce && p0 === "style" && Po(w.firstElementChild) || w.nodeType ===
|
|
14503
|
+
}), f0 && w.hasChildNodes() && !Po(w.firstElementChild) && C1(/<[/\w!]/g, w.innerHTML) && C1(/<[/\w!]/g, w.textContent) || f0 && w.namespaceURI === ce && p0 === "style" && Po(w.firstElementChild) || w.nodeType === dt.progressingInstruction || f0 && w.nodeType === dt.comment && C1(/<[/\w]/g, w.data))
|
|
14504
14504
|
return x1(w), !0;
|
|
14505
14505
|
if (I0[p0] || !(F.tagCheck instanceof Function && F.tagCheck(p0)) && !A0[p0]) {
|
|
14506
14506
|
if (!I0[p0] && Zb(p0) && (J.tagNameCheck instanceof RegExp && C1(J.tagNameCheck, p0) || J.tagNameCheck instanceof Function && J.tagNameCheck(p0)))
|
|
@@ -14517,9 +14517,9 @@ function ba() {
|
|
|
14517
14517
|
}
|
|
14518
14518
|
return x1(w), !0;
|
|
14519
14519
|
}
|
|
14520
|
-
return w instanceof i && !He(w) || (p0 === "noscript" || p0 === "noembed" || p0 === "noframes") && C1(/<\/no(script|embed|frames)/i, w.innerHTML) ? (x1(w), !0) : (H && w.nodeType ===
|
|
14521
|
-
V =
|
|
14522
|
-
}), w.textContent !== V && (
|
|
14520
|
+
return w instanceof i && !He(w) || (p0 === "noscript" || p0 === "noembed" || p0 === "noframes") && C1(/<\/no(script|embed|frames)/i, w.innerHTML) ? (x1(w), !0) : (H && w.nodeType === dt.text && (V = w.textContent, st([_, E, k], (k0) => {
|
|
14521
|
+
V = Ot(V, k0, " ");
|
|
14522
|
+
}), w.textContent !== V && (ut(t.removed, {
|
|
14523
14523
|
element: w.cloneNode()
|
|
14524
14524
|
}), w.textContent = V)), t2(X.afterSanitizeElements, w, null), !1);
|
|
14525
14525
|
}, Qb = function(w, V, p0) {
|
|
@@ -14538,9 +14538,9 @@ function ba() {
|
|
|
14538
14538
|
V === "is" && J.allowCustomizedBuiltInElements && (J.tagNameCheck instanceof RegExp && C1(J.tagNameCheck, p0) || J.tagNameCheck instanceof Function && J.tagNameCheck(p0)))
|
|
14539
14539
|
) return !1;
|
|
14540
14540
|
} else if (!Pt[V]) {
|
|
14541
|
-
if (!C1(o0,
|
|
14541
|
+
if (!C1(o0, Ot(p0, z0, ""))) {
|
|
14542
14542
|
if (!((V === "src" || V === "xlink:href" || V === "href") && w !== "script" && oi(p0, "data:") === 0 && kt[w])) {
|
|
14543
|
-
if (!(I && !C1(K,
|
|
14543
|
+
if (!(I && !C1(K, Ot(p0, z0, "")))) {
|
|
14544
14544
|
if (p0)
|
|
14545
14545
|
return !1;
|
|
14546
14546
|
}
|
|
@@ -14586,8 +14586,8 @@ function ba() {
|
|
|
14586
14586
|
Ne(l1, w);
|
|
14587
14587
|
continue;
|
|
14588
14588
|
}
|
|
14589
|
-
H &&
|
|
14590
|
-
v1 =
|
|
14589
|
+
H && st([_, E, k], (tM) => {
|
|
14590
|
+
v1 = Ot(v1, tM, " ");
|
|
14591
14591
|
});
|
|
14592
14592
|
const eM = t1(w.nodeName);
|
|
14593
14593
|
if (!Qb(eM, o2, v1)) {
|
|
@@ -14620,7 +14620,7 @@ function ba() {
|
|
|
14620
14620
|
t2(X.uponSanitizeShadowNode, V, null), Kb(V), Jb(V), V.content instanceof r && Mc(V.content);
|
|
14621
14621
|
t2(X.afterSanitizeShadowDOM, w, null);
|
|
14622
14622
|
}, Uo = function(w) {
|
|
14623
|
-
if (w.nodeType ===
|
|
14623
|
+
if (w.nodeType === dt.element && w.shadowRoot instanceof r) {
|
|
14624
14624
|
const k0 = w.shadowRoot;
|
|
14625
14625
|
Uo(k0), Mc(k0);
|
|
14626
14626
|
}
|
|
@@ -14628,8 +14628,8 @@ function ba() {
|
|
|
14628
14628
|
if (!V)
|
|
14629
14629
|
return;
|
|
14630
14630
|
const p0 = [];
|
|
14631
|
-
|
|
14632
|
-
|
|
14631
|
+
st(V, (k0) => {
|
|
14632
|
+
ut(p0, k0);
|
|
14633
14633
|
});
|
|
14634
14634
|
for (const k0 of p0)
|
|
14635
14635
|
Uo(k0);
|
|
@@ -14649,7 +14649,7 @@ function ba() {
|
|
|
14649
14649
|
}
|
|
14650
14650
|
Uo(W0);
|
|
14651
14651
|
} else if (Po(W0))
|
|
14652
|
-
V = Yb("<!---->"), p0 = V.ownerDocument.importNode(W0, !0), p0.nodeType ===
|
|
14652
|
+
V = Yb("<!---->"), p0 = V.ownerDocument.importNode(W0, !0), p0.nodeType === dt.element && p0.nodeName === "BODY" || p0.nodeName === "HTML" ? V = p0 : V.appendChild(p0), Uo(p0);
|
|
14653
14653
|
else {
|
|
14654
14654
|
if (!w0 && !H && !N0 && // eslint-disable-next-line unicorn/prefer-includes
|
|
14655
14655
|
W0.indexOf("<") === -1)
|
|
@@ -14673,8 +14673,8 @@ function ba() {
|
|
|
14673
14673
|
}
|
|
14674
14674
|
let Q1 = N0 ? V.outerHTML : V.innerHTML;
|
|
14675
14675
|
return N0 && A0["!doctype"] && V.ownerDocument && V.ownerDocument.doctype && V.ownerDocument.doctype.name && C1(m4, V.ownerDocument.doctype.name) && (Q1 = "<!DOCTYPE " + V.ownerDocument.doctype.name + `>
|
|
14676
|
-
` + Q1), H &&
|
|
14677
|
-
Q1 =
|
|
14676
|
+
` + Q1), H && st([_, E, k], (L2) => {
|
|
14677
|
+
Q1 = Ot(Q1, L2, " ");
|
|
14678
14678
|
}), m && D0 ? m.createHTML(Q1) : Q1;
|
|
14679
14679
|
}, t.setConfig = function() {
|
|
14680
14680
|
let W0 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
@@ -14686,7 +14686,7 @@ function ba() {
|
|
|
14686
14686
|
const p0 = t1(W0), k0 = t1(w);
|
|
14687
14687
|
return Qb(p0, k0, V);
|
|
14688
14688
|
}, t.addHook = function(W0, w) {
|
|
14689
|
-
typeof w == "function" &&
|
|
14689
|
+
typeof w == "function" && ut(X[W0], w);
|
|
14690
14690
|
}, t.removeHook = function(W0, w) {
|
|
14691
14691
|
if (w !== void 0) {
|
|
14692
14692
|
const V = c4(X[W0], w);
|
|
@@ -14758,7 +14758,7 @@ function D2(e) {
|
|
|
14758
14758
|
return "about:blank";
|
|
14759
14759
|
}
|
|
14760
14760
|
}
|
|
14761
|
-
const
|
|
14761
|
+
const ct = {
|
|
14762
14762
|
// semantics and annotation are re-allowed because DOMPurify blocks all of
|
|
14763
14763
|
// mathMlDisallowed by default. semantics is a structural wrapper — kept, unless an
|
|
14764
14764
|
// afterSanitizeElements hook below finds it left holding nothing but doomed annotations
|
|
@@ -14942,12 +14942,12 @@ const rt = {
|
|
|
14942
14942
|
// looks like markup. Pinned rather than relying on the (already-true) library default.
|
|
14943
14943
|
SAFE_FOR_XML: !0
|
|
14944
14944
|
};
|
|
14945
|
-
Object.freeze(
|
|
14946
|
-
Object.freeze(
|
|
14947
|
-
Object.freeze(
|
|
14948
|
-
Object.freeze(
|
|
14949
|
-
Object.freeze({ ...
|
|
14950
|
-
const { RETURN_TRUSTED_TYPE: uL, FORCE_BODY: OL, ...v4 } =
|
|
14945
|
+
Object.freeze(ct.ADD_TAGS);
|
|
14946
|
+
Object.freeze(ct.ADD_ATTR);
|
|
14947
|
+
Object.freeze(ct.ADD_URI_SAFE_ATTR);
|
|
14948
|
+
Object.freeze(ct);
|
|
14949
|
+
Object.freeze({ ...ct, SANITIZE_DOM: !1 });
|
|
14950
|
+
const { RETURN_TRUSTED_TYPE: uL, FORCE_BODY: OL, ...v4 } = ct, Ma = [...ct.ADD_TAGS, "#document-fragment"], pa = { ...v4, ADD_TAGS: Ma, IN_PLACE: !0 };
|
|
14951
14951
|
({ ...pa });
|
|
14952
14952
|
Object.freeze(Ma);
|
|
14953
14953
|
Object.freeze(pa);
|
|
@@ -15035,7 +15035,7 @@ const Oi = ({ children: e, maxLength: t = 80 }) => /* @__PURE__ */ z(j, { title:
|
|
|
15035
15035
|
}
|
|
15036
15036
|
R.forEach((y) => sessionStorage.removeItem(y));
|
|
15037
15037
|
}, q = () => {
|
|
15038
|
-
const R = s.isRead, y = a ? n.updating : R ? c("markAnnouncementAsUnread", { title: s.title }) : c("markAnnouncementAsRead", { title: s.title }), B = a ? `updating-${s.id}` : `${R ? "mark-unread" : "mark-read"}-${s.id}`, C = a ? /* @__PURE__ */ z(G1, { size: "x-small", renderTitle: n.updatingReadStatus }) : R ? /* @__PURE__ */ z(
|
|
15038
|
+
const R = s.isRead, y = a ? n.updating : R ? c("markAnnouncementAsUnread", { title: s.title }) : c("markAnnouncementAsRead", { title: s.title }), B = a ? `updating-${s.id}` : `${R ? "mark-unread" : "mark-read"}-${s.id}`, C = a ? /* @__PURE__ */ z(G1, { size: "x-small", renderTitle: n.updatingReadStatus }) : R ? /* @__PURE__ */ z(Tt, { color: "success", size: "x-small" }) : /* @__PURE__ */ z(Ys, { color: "secondary", size: "x-small" });
|
|
15039
15039
|
return /* @__PURE__ */ z(
|
|
15040
15040
|
he,
|
|
15041
15041
|
{
|
|
@@ -15764,7 +15764,7 @@ e1({
|
|
|
15764
15764
|
hide_final_grade: o1().nullable()
|
|
15765
15765
|
})
|
|
15766
15766
|
});
|
|
15767
|
-
var Df = 20, kf = 1,
|
|
15767
|
+
var Df = 20, kf = 1, tt = 1e6, fi = 1e6, Pf = -7, Uf = 21, Ff = !1, Co = "[big.js] ", rt = Co + "Invalid ", Yn = rt + "decimal places", jf = rt + "rounding mode", aa = Co + "Division by zero", K0 = {}, Ve = void 0, Hf = /^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;
|
|
15768
15768
|
function sa() {
|
|
15769
15769
|
function e(t) {
|
|
15770
15770
|
var o = this;
|
|
@@ -15774,7 +15774,7 @@ function sa() {
|
|
|
15774
15774
|
else {
|
|
15775
15775
|
if (typeof t != "string") {
|
|
15776
15776
|
if (e.strict === !0 && typeof t != "bigint")
|
|
15777
|
-
throw TypeError(
|
|
15777
|
+
throw TypeError(rt + "value");
|
|
15778
15778
|
t = t === 0 && 1 / t < 0 ? "-0" : String(t);
|
|
15779
15779
|
}
|
|
15780
15780
|
Gf(o, t);
|
|
@@ -15786,7 +15786,7 @@ function sa() {
|
|
|
15786
15786
|
function Gf(e, t) {
|
|
15787
15787
|
var o, n, c;
|
|
15788
15788
|
if (!Hf.test(t))
|
|
15789
|
-
throw Error(
|
|
15789
|
+
throw Error(rt + "number");
|
|
15790
15790
|
for (e.s = t.charAt(0) == "-" ? (t = t.slice(1), -1) : 1, (o = t.indexOf(".")) > -1 && (t = t.replace(".", "")), (n = t.search(/e/i)) > 0 ? (o < 0 && (o = n), o += +t.slice(n + 1), t = t.substring(0, n)) : o < 0 && (o = t.length), c = t.length, n = 0; n < c && t.charAt(n) == "0"; ) ++n;
|
|
15791
15791
|
if (n == c)
|
|
15792
15792
|
e.c = [e.e = 0];
|
|
@@ -15796,7 +15796,7 @@ function Gf(e, t) {
|
|
|
15796
15796
|
}
|
|
15797
15797
|
return e;
|
|
15798
15798
|
}
|
|
15799
|
-
function
|
|
15799
|
+
function bt(e, t, o, n) {
|
|
15800
15800
|
var c = e.c;
|
|
15801
15801
|
if (o === Ve && (o = e.constructor.RM), o !== 0 && o !== 1 && o !== 2 && o !== 3)
|
|
15802
15802
|
throw Error(jf);
|
|
@@ -15814,7 +15814,7 @@ function Mt(e, t, o, n) {
|
|
|
15814
15814
|
}
|
|
15815
15815
|
return e;
|
|
15816
15816
|
}
|
|
15817
|
-
function
|
|
15817
|
+
function Mt(e, t, o) {
|
|
15818
15818
|
var n = e.e, c = e.c.join(""), r = c.length;
|
|
15819
15819
|
if (t)
|
|
15820
15820
|
c = c.charAt(0) + (r > 1 ? "." + c.slice(1) : "") + (n < 0 ? "e" : "e+") + n;
|
|
@@ -15843,7 +15843,7 @@ K0.cmp = function(e) {
|
|
|
15843
15843
|
};
|
|
15844
15844
|
K0.div = function(e) {
|
|
15845
15845
|
var t = this, o = t.constructor, n = t.c, c = (e = new o(e)).c, r = t.s == e.s ? 1 : -1, b = o.DP;
|
|
15846
|
-
if (b !== ~~b || b < 0 || b >
|
|
15846
|
+
if (b !== ~~b || b < 0 || b > tt)
|
|
15847
15847
|
throw Error(Yn);
|
|
15848
15848
|
if (!c[0])
|
|
15849
15849
|
throw Error(aa);
|
|
@@ -15875,7 +15875,7 @@ K0.div = function(e) {
|
|
|
15875
15875
|
}
|
|
15876
15876
|
q[h++] = s ? p : ++p, A[0] && s ? A[f] = n[u] || 0 : A = [n[u]];
|
|
15877
15877
|
} while ((u++ < d || A[0] !== Ve) && r--);
|
|
15878
|
-
return !q[0] && h != 1 && (q.shift(), l.e--, g--), h > g &&
|
|
15878
|
+
return !q[0] && h != 1 && (q.shift(), l.e--, g--), h > g && bt(l, g, o.RM, A[0] !== Ve), l;
|
|
15879
15879
|
};
|
|
15880
15880
|
K0.eq = function(e) {
|
|
15881
15881
|
return this.cmp(e) === 0;
|
|
@@ -15949,32 +15949,32 @@ K0.plus = K0.add = function(e) {
|
|
|
15949
15949
|
K0.pow = function(e) {
|
|
15950
15950
|
var t = this, o = new t.constructor("1"), n = o, c = e < 0;
|
|
15951
15951
|
if (e !== ~~e || e < -fi || e > fi)
|
|
15952
|
-
throw Error(
|
|
15952
|
+
throw Error(rt + "exponent");
|
|
15953
15953
|
for (c && (e = -e); e & 1 && (n = n.times(t)), e >>= 1, !!e; )
|
|
15954
15954
|
t = t.times(t);
|
|
15955
15955
|
return c ? o.div(n) : n;
|
|
15956
15956
|
};
|
|
15957
15957
|
K0.prec = function(e, t) {
|
|
15958
|
-
if (e !== ~~e || e < 1 || e >
|
|
15959
|
-
throw Error(
|
|
15960
|
-
return
|
|
15958
|
+
if (e !== ~~e || e < 1 || e > tt)
|
|
15959
|
+
throw Error(rt + "precision");
|
|
15960
|
+
return bt(new this.constructor(this), e, t);
|
|
15961
15961
|
};
|
|
15962
15962
|
K0.round = function(e, t) {
|
|
15963
15963
|
if (e === Ve) e = 0;
|
|
15964
|
-
else if (e !== ~~e || e < -
|
|
15964
|
+
else if (e !== ~~e || e < -tt || e > tt)
|
|
15965
15965
|
throw Error(Yn);
|
|
15966
|
-
return
|
|
15966
|
+
return bt(new this.constructor(this), e + this.e + 1, t);
|
|
15967
15967
|
};
|
|
15968
15968
|
K0.sqrt = function() {
|
|
15969
15969
|
var e, t, o, n = this, c = n.constructor, r = n.s, b = n.e, M = new c("0.5");
|
|
15970
15970
|
if (!n.c[0]) return new c(n);
|
|
15971
15971
|
if (r < 0)
|
|
15972
15972
|
throw Error(Co + "No square root");
|
|
15973
|
-
r = Math.sqrt(+
|
|
15973
|
+
r = Math.sqrt(+Mt(n, !0, !0)), r === 0 || r === 1 / 0 ? (t = n.c.join(""), t.length + b & 1 || (t += "0"), r = Math.sqrt(t), b = ((b + 1) / 2 | 0) - (b < 0 || b & 1), e = new c((r == 1 / 0 ? "5e" : (r = r.toExponential()).slice(0, r.indexOf("e") + 1)) + b)) : e = new c(r + ""), b = e.e + (c.DP += 4);
|
|
15974
15974
|
do
|
|
15975
15975
|
o = e, e = M.times(o.plus(n.div(o)));
|
|
15976
15976
|
while (o.c.slice(0, b).join("") !== e.c.slice(0, b).join(""));
|
|
15977
|
-
return
|
|
15977
|
+
return bt(e, (c.DP -= 4) + e.e + 1, c.RM);
|
|
15978
15978
|
};
|
|
15979
15979
|
K0.times = K0.mul = function(e) {
|
|
15980
15980
|
var t, o = this, n = o.constructor, c = o.c, r = (e = new n(e)).c, b = c.length, M = r.length, i = o.e, p = e.e;
|
|
@@ -15992,27 +15992,27 @@ K0.times = K0.mul = function(e) {
|
|
|
15992
15992
|
K0.toExponential = function(e, t) {
|
|
15993
15993
|
var o = this, n = o.c[0];
|
|
15994
15994
|
if (e !== Ve) {
|
|
15995
|
-
if (e !== ~~e || e < 0 || e >
|
|
15995
|
+
if (e !== ~~e || e < 0 || e > tt)
|
|
15996
15996
|
throw Error(Yn);
|
|
15997
|
-
for (o =
|
|
15997
|
+
for (o = bt(new o.constructor(o), ++e, t); o.c.length < e; ) o.c.push(0);
|
|
15998
15998
|
}
|
|
15999
|
-
return
|
|
15999
|
+
return Mt(o, !0, !!n);
|
|
16000
16000
|
};
|
|
16001
16001
|
K0.toFixed = function(e, t) {
|
|
16002
16002
|
var o = this, n = o.c[0];
|
|
16003
16003
|
if (e !== Ve) {
|
|
16004
|
-
if (e !== ~~e || e < 0 || e >
|
|
16004
|
+
if (e !== ~~e || e < 0 || e > tt)
|
|
16005
16005
|
throw Error(Yn);
|
|
16006
|
-
for (o =
|
|
16006
|
+
for (o = bt(new o.constructor(o), e + o.e + 1, t), e = e + o.e + 1; o.c.length < e; ) o.c.push(0);
|
|
16007
16007
|
}
|
|
16008
|
-
return
|
|
16008
|
+
return Mt(o, !1, !!n);
|
|
16009
16009
|
};
|
|
16010
16010
|
K0[Symbol.for("nodejs.util.inspect.custom")] = K0.toJSON = K0.toString = function() {
|
|
16011
16011
|
var e = this, t = e.constructor;
|
|
16012
|
-
return
|
|
16012
|
+
return Mt(e, e.e <= t.NE || e.e >= t.PE, !!e.c[0]);
|
|
16013
16013
|
};
|
|
16014
16014
|
K0.toNumber = function() {
|
|
16015
|
-
var e = +
|
|
16015
|
+
var e = +Mt(this, !0, !0);
|
|
16016
16016
|
if (this.constructor.strict === !0 && !this.eq(e.toString()))
|
|
16017
16017
|
throw Error(Co + "Imprecise conversion");
|
|
16018
16018
|
return e;
|
|
@@ -16020,21 +16020,21 @@ K0.toNumber = function() {
|
|
|
16020
16020
|
K0.toPrecision = function(e, t) {
|
|
16021
16021
|
var o = this, n = o.constructor, c = o.c[0];
|
|
16022
16022
|
if (e !== Ve) {
|
|
16023
|
-
if (e !== ~~e || e < 1 || e >
|
|
16024
|
-
throw Error(
|
|
16025
|
-
for (o =
|
|
16023
|
+
if (e !== ~~e || e < 1 || e > tt)
|
|
16024
|
+
throw Error(rt + "precision");
|
|
16025
|
+
for (o = bt(new n(o), e, t); o.c.length < e; ) o.c.push(0);
|
|
16026
16026
|
}
|
|
16027
|
-
return
|
|
16027
|
+
return Mt(o, e <= o.e || o.e <= n.NE || o.e >= n.PE, !!c);
|
|
16028
16028
|
};
|
|
16029
16029
|
K0.valueOf = function() {
|
|
16030
16030
|
var e = this, t = e.constructor;
|
|
16031
16031
|
if (t.strict === !0)
|
|
16032
16032
|
throw Error(Co + "valueOf disallowed");
|
|
16033
|
-
return
|
|
16033
|
+
return Mt(e, e.e <= t.NE || e.e >= t.PE, !0);
|
|
16034
16034
|
};
|
|
16035
|
-
var
|
|
16035
|
+
var ot = sa();
|
|
16036
16036
|
function Yf(e, t) {
|
|
16037
|
-
return new
|
|
16037
|
+
return new ot(e || 0).div(t || 0);
|
|
16038
16038
|
}
|
|
16039
16039
|
function $f(e) {
|
|
16040
16040
|
return Number.parseFloat(e.toString());
|
|
@@ -16043,7 +16043,7 @@ function Vf(e, t) {
|
|
|
16043
16043
|
const o = Number(e) / Number(t) * 100;
|
|
16044
16044
|
if (!Number.isFinite(o))
|
|
16045
16045
|
return o;
|
|
16046
|
-
const n = Yf(e, t), c = new
|
|
16046
|
+
const n = Yf(e, t), c = new ot(n).times(100);
|
|
16047
16047
|
return $f(c);
|
|
16048
16048
|
}
|
|
16049
16049
|
function pn(e, t, o = !1, n = 1) {
|
|
@@ -16055,7 +16055,7 @@ function pn(e, t, o = !1, n = 1) {
|
|
|
16055
16055
|
function Kf(e, t, o = !1, n = null) {
|
|
16056
16056
|
if (typeof e != "number" || Number.isNaN(e) || t == null)
|
|
16057
16057
|
return null;
|
|
16058
|
-
const c = o && typeof n == "number" ? Qf(e, n) : e, r = parseFloat(o ?
|
|
16058
|
+
const c = o && typeof n == "number" ? Qf(e, n) : e, r = parseFloat(o ? ot(c).round(2) : ot(c).round(4)), b = Math.max(r, 0), M = t.find((i, p) => {
|
|
16059
16059
|
const s = (i.value * 100).toPrecision(4);
|
|
16060
16060
|
return b >= parseFloat(s) || p === t.length - 1;
|
|
16061
16061
|
});
|
|
@@ -16064,7 +16064,7 @@ function Kf(e, t, o = !1, n = null) {
|
|
|
16064
16064
|
return M.name;
|
|
16065
16065
|
}
|
|
16066
16066
|
function Qf(e, t) {
|
|
16067
|
-
return t === 100 || t <= 0 ? e :
|
|
16067
|
+
return t === 100 || t <= 0 ? e : ot(e).div(ot(100).div(t)).round(2).div(t).times(100);
|
|
16068
16068
|
}
|
|
16069
16069
|
function Zf(e, t = {}) {
|
|
16070
16070
|
const o = t.precision ?? (t.strip_insignificant_zeros !== !1 ? void 0 : 5), n = o !== void 0 ? e.toFixed(o) : String(e), c = t.strip_insignificant_zeros !== !1 && n.includes(".") ? n.replace(/\.?0+$/, "") : n;
|
|
@@ -16094,7 +16094,7 @@ const nq = Object.assign(
|
|
|
16094
16094
|
if (e === null)
|
|
16095
16095
|
return NaN;
|
|
16096
16096
|
try {
|
|
16097
|
-
return parseFloat(
|
|
16097
|
+
return parseFloat(ot(e).round(t).toString());
|
|
16098
16098
|
} catch {
|
|
16099
16099
|
return NaN;
|
|
16100
16100
|
}
|
|
@@ -17761,7 +17761,7 @@ function Ba(e = "", { enabled: t = !0 } = {}) {
|
|
|
17761
17761
|
const { executeQuery: o, currentUserId: n } = T0(), c = e.trim(), r = c.length >= Hq ? c : void 0, { data: b, isLoading: M, isFetchingNextPage: i, error: p, hasNextPage: s, fetchNextPage: O, refetch: a } = Qi({
|
|
17762
17762
|
// Keyed on the effective term so switching searches restarts pagination
|
|
17763
17763
|
// and an empty term shares a cache entry with a below-minimum one.
|
|
17764
|
-
...
|
|
17764
|
+
...St(
|
|
17765
17765
|
[J3, r],
|
|
17766
17766
|
H1.STALE_TIME.COURSES,
|
|
17767
17767
|
n
|
|
@@ -18901,7 +18901,7 @@ async function q5(e) {
|
|
|
18901
18901
|
}
|
|
18902
18902
|
function W5() {
|
|
18903
18903
|
const { currentUserId: e } = T0(), { data: t, isLoading: o, error: n, refetch: c } = Y1({
|
|
18904
|
-
...
|
|
18904
|
+
...St(
|
|
18905
18905
|
[eu],
|
|
18906
18906
|
H1.STALE_TIME.COURSES,
|
|
18907
18907
|
e
|
|
@@ -18951,7 +18951,7 @@ const gb = ({ icon: e, iconTestId: t, title: o, description: n }) => /* @__PURE_
|
|
|
18951
18951
|
), g5 = {
|
|
18952
18952
|
background: qe.grey12,
|
|
18953
18953
|
primaryColor: qe.grey100
|
|
18954
|
-
}, R5 = "20rem", Ri = ({ isSelected: e }) => e ? /* @__PURE__ */ z(
|
|
18954
|
+
}, R5 = "20rem", Ri = ({ isSelected: e }) => e ? /* @__PURE__ */ z(Tt, { color: "primary-inverse", size: "x-small" }) : null, pr = 15, F1 = {
|
|
18955
18955
|
all: "all",
|
|
18956
18956
|
loading: "loading",
|
|
18957
18957
|
noResults: "no-results",
|
|
@@ -19297,7 +19297,7 @@ const ir = "term-no-results", T5 = ({
|
|
|
19297
19297
|
id: Me,
|
|
19298
19298
|
isHighlighted: s === Me,
|
|
19299
19299
|
isSelected: t.includes(Me),
|
|
19300
|
-
renderAfterLabel: ({ isSelected: _ }) => _ ? /* @__PURE__ */ z(
|
|
19300
|
+
renderAfterLabel: ({ isSelected: _ }) => _ ? /* @__PURE__ */ z(Tt, { color: "primary-inverse", size: "x-small" }) : null,
|
|
19301
19301
|
children: r.educatorA11yFilterTermsAll
|
|
19302
19302
|
},
|
|
19303
19303
|
Me
|
|
@@ -19312,7 +19312,7 @@ const ir = "term-no-results", T5 = ({
|
|
|
19312
19312
|
id: _.id,
|
|
19313
19313
|
isHighlighted: s === _.id,
|
|
19314
19314
|
isSelected: t.includes(_.id),
|
|
19315
|
-
renderAfterLabel: ({ isSelected: E }) => E ? /* @__PURE__ */ z(
|
|
19315
|
+
renderAfterLabel: ({ isSelected: E }) => E ? /* @__PURE__ */ z(Tt, { color: "primary-inverse", size: "x-small" }) : null,
|
|
19316
19316
|
children: _.name
|
|
19317
19317
|
},
|
|
19318
19318
|
_.id
|
|
@@ -19408,7 +19408,7 @@ const ir = "term-no-results", T5 = ({
|
|
|
19408
19408
|
{
|
|
19409
19409
|
id: `content-quality-filter-status-${d.value}`,
|
|
19410
19410
|
value: d.value,
|
|
19411
|
-
renderAfterLabel: ({ isSelected: A }) => A ? /* @__PURE__ */ z(
|
|
19411
|
+
renderAfterLabel: ({ isSelected: A }) => A ? /* @__PURE__ */ z(Tt, { color: "primary-inverse", size: "x-small" }) : null,
|
|
19412
19412
|
children: r[d.translationKey]
|
|
19413
19413
|
},
|
|
19414
19414
|
d.value
|
|
@@ -19760,12 +19760,11 @@ async function G5(e) {
|
|
|
19760
19760
|
}
|
|
19761
19761
|
function Y5() {
|
|
19762
19762
|
const { currentUserId: e } = T0(), { data: t, isLoading: o, error: n } = Y1({
|
|
19763
|
-
...tt(
|
|
19764
|
-
[ou],
|
|
19765
|
-
H1.STALE_TIME.TO_GRADE_ITEMS,
|
|
19766
|
-
e
|
|
19767
|
-
),
|
|
19768
19763
|
retry: !1,
|
|
19764
|
+
refetchOnWindowFocus: !1,
|
|
19765
|
+
staleTime: H1.STALE_TIME.TO_GRADE_ITEMS * 60 * 1e3,
|
|
19766
|
+
enabled: !!e,
|
|
19767
|
+
queryKey: [ou, e],
|
|
19769
19768
|
queryFn: ({ signal: c }) => G5(c)
|
|
19770
19769
|
});
|
|
19771
19770
|
return {
|
|
@@ -20141,7 +20140,7 @@ function Ia({
|
|
|
20141
20140
|
id: T,
|
|
20142
20141
|
isHighlighted: u === T,
|
|
20143
20142
|
isSelected: X,
|
|
20144
|
-
renderAfterLabel: ({ isSelected: _ }) => _ ? /* @__PURE__ */ z(
|
|
20143
|
+
renderAfterLabel: ({ isSelected: _ }) => _ ? /* @__PURE__ */ z(Tt, { color: "primary-inverse", size: "x-small" }) : null,
|
|
20145
20144
|
children: S
|
|
20146
20145
|
},
|
|
20147
20146
|
T
|
|
@@ -20434,7 +20433,7 @@ function W6(e = {}) {
|
|
|
20434
20433
|
r,
|
|
20435
20434
|
n.noSubject
|
|
20436
20435
|
), { data: i, isLoading: p, isRefetching: s, error: O, refetch: a } = Y1({
|
|
20437
|
-
...
|
|
20436
|
+
...St(b, H1.STALE_TIME.STATISTICS, r),
|
|
20438
20437
|
queryFn: () => M(t, o),
|
|
20439
20438
|
retry: H1.RETRY.DISABLED,
|
|
20440
20439
|
persister: A2,
|
|
@@ -22033,14 +22032,14 @@ function Ze(e, t, o) {
|
|
|
22033
22032
|
var n = "" + Math.abs(e), c = t - n.length, r = e >= 0;
|
|
22034
22033
|
return (r ? o ? "+" : "" : "-") + Math.pow(10, Math.max(0, c)).toString().substr(1) + n;
|
|
22035
22034
|
}
|
|
22036
|
-
var vb = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, nn = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, sr = {},
|
|
22035
|
+
var vb = /(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g, nn = /(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g, sr = {}, yt = {};
|
|
22037
22036
|
function m0(e, t, o, n) {
|
|
22038
22037
|
var c = n;
|
|
22039
22038
|
typeof n == "string" && (c = function() {
|
|
22040
22039
|
return this[n]();
|
|
22041
|
-
}), e && (
|
|
22040
|
+
}), e && (yt[e] = c), t && (yt[t[0]] = function() {
|
|
22042
22041
|
return Ze(c.apply(this, arguments), t[1], t[2]);
|
|
22043
|
-
}), o && (
|
|
22042
|
+
}), o && (yt[o] = function() {
|
|
22044
22043
|
return this.localeData().ordinal(
|
|
22045
22044
|
c.apply(this, arguments),
|
|
22046
22045
|
e
|
|
@@ -22053,7 +22052,7 @@ function tW(e) {
|
|
|
22053
22052
|
function oW(e) {
|
|
22054
22053
|
var t = e.match(vb), o, n;
|
|
22055
22054
|
for (o = 0, n = t.length; o < n; o++)
|
|
22056
|
-
|
|
22055
|
+
yt[t[o]] ? t[o] = yt[t[o]] : t[o] = tW(t[o]);
|
|
22057
22056
|
return function(c) {
|
|
22058
22057
|
var r = "", b;
|
|
22059
22058
|
for (b = 0; b < n; b++)
|
|
@@ -23015,7 +23014,7 @@ M0.createFromInputFallback = Le(
|
|
|
23015
23014
|
e._d = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
|
|
23016
23015
|
}
|
|
23017
23016
|
);
|
|
23018
|
-
function
|
|
23017
|
+
function ht(e, t, o) {
|
|
23019
23018
|
return e ?? t ?? o;
|
|
23020
23019
|
}
|
|
23021
23020
|
function Th(e) {
|
|
@@ -23029,7 +23028,7 @@ function Th(e) {
|
|
|
23029
23028
|
function Db(e) {
|
|
23030
23029
|
var t, o, n = [], c, r, b;
|
|
23031
23030
|
if (!e._d) {
|
|
23032
|
-
for (c = Th(e), e._w && e._a[Ye] == null && e._a[a2] == null && Bh(e), e._dayOfYear != null && (b =
|
|
23031
|
+
for (c = Th(e), e._w && e._a[Ye] == null && e._a[a2] == null && Bh(e), e._dayOfYear != null && (b = ht(e._a[D1], c[D1]), (e._dayOfYear > eo(b) || e._dayOfYear === 0) && (C0(e)._overflowDayOfYear = !0), o = Wo(b, 0, e._dayOfYear), e._a[a2] = o.getUTCMonth(), e._a[Ye] = o.getUTCDate()), t = 0; t < 3 && e._a[t] == null; ++t)
|
|
23033
23032
|
e._a[t] = n[t] = c[t];
|
|
23034
23033
|
for (; t < 7; t++)
|
|
23035
23034
|
e._a[t] = n[t] = e._a[t] == null ? t === 2 ? 1 : 0 : e._a[t];
|
|
@@ -23041,11 +23040,11 @@ function Db(e) {
|
|
|
23041
23040
|
}
|
|
23042
23041
|
function Bh(e) {
|
|
23043
23042
|
var t, o, n, c, r, b, M, i, p;
|
|
23044
|
-
t = e._w, t.GG != null || t.W != null || t.E != null ? (r = 1, b = 4, o =
|
|
23043
|
+
t = e._w, t.GG != null || t.W != null || t.E != null ? (r = 1, b = 4, o = ht(
|
|
23045
23044
|
t.GG,
|
|
23046
23045
|
e._a[D1],
|
|
23047
23046
|
ho(c1(), 1, 4).year
|
|
23048
|
-
), n =
|
|
23047
|
+
), n = ht(t.W, 1), c = ht(t.E, 1), (c < 1 || c > 7) && (i = !0)) : (r = e._locale._week.dow, b = e._locale._week.doy, p = ho(c1(), r, b), o = ht(t.gg, e._a[D1], p.year), n = ht(t.w, p.week), t.d != null ? (c = t.d, (c < 0 || c > 6) && (i = !0)) : t.e != null ? (c = t.e + r, (t.e < 0 || t.e > 6) && (i = !0)) : c = r), n < 1 || n > O2(o, r, b) ? C0(e)._overflowWeeks = !0 : i != null ? C0(e)._overflowWeekday = !0 : (M = ns(o, n, c, r, b), e._a[D1] = M.year, e._dayOfYear = M.dayOfYear);
|
|
23049
23048
|
}
|
|
23050
23049
|
M0.ISO_8601 = function() {
|
|
23051
23050
|
};
|
|
@@ -23065,7 +23064,7 @@ function kb(e) {
|
|
|
23065
23064
|
for (c = Ha(e._f, e._locale).match(vb) || [], s = c.length, o = 0; o < s; o++)
|
|
23066
23065
|
r = c[o], n = (t.match(AW(r, e)) || [])[0], n && (b = t.substr(0, t.indexOf(n)), b.length > 0 && C0(e).unusedInput.push(b), t = t.slice(
|
|
23067
23066
|
t.indexOf(n) + n.length
|
|
23068
|
-
), i += n.length),
|
|
23067
|
+
), i += n.length), yt[r] ? (n ? C0(e).empty = !1 : C0(e).unusedTokens.push(r), qW(r, n, e)) : e._strict && !n && C0(e).unusedTokens.push(r);
|
|
23069
23068
|
C0(e).charsLeftOver = M - i, t.length > 0 && C0(e).unusedInput.push(t), e._a[g1] <= 12 && C0(e).bigHour === !0 && e._a[g1] > 0 && (C0(e).bigHour = void 0), C0(e).parsedDateParts = e._a.slice(0), C0(e).meridiem = e._meridiem, e._a[g1] = _h(
|
|
23070
23069
|
e._locale,
|
|
23071
23070
|
e._a[g1],
|
|
@@ -23524,8 +23523,8 @@ var qs = Le(
|
|
|
23524
23523
|
function Ws() {
|
|
23525
23524
|
return this._locale;
|
|
23526
23525
|
}
|
|
23527
|
-
var Bn = 1e3,
|
|
23528
|
-
function
|
|
23526
|
+
var Bn = 1e3, Nt = 60 * Bn, _n = 60 * Nt, hs = (365 * 400 + 97) * 24 * _n;
|
|
23527
|
+
function vt(e, t) {
|
|
23529
23528
|
return (e % t + t) % t;
|
|
23530
23529
|
}
|
|
23531
23530
|
function ms(e, t, o) {
|
|
@@ -23571,16 +23570,16 @@ function Tm(e) {
|
|
|
23571
23570
|
t = o(this.year(), this.month(), this.date());
|
|
23572
23571
|
break;
|
|
23573
23572
|
case "hour":
|
|
23574
|
-
t = this._d.valueOf(), t -=
|
|
23575
|
-
t + (this._isUTC ? 0 : this.utcOffset() *
|
|
23573
|
+
t = this._d.valueOf(), t -= vt(
|
|
23574
|
+
t + (this._isUTC ? 0 : this.utcOffset() * Nt),
|
|
23576
23575
|
_n
|
|
23577
23576
|
);
|
|
23578
23577
|
break;
|
|
23579
23578
|
case "minute":
|
|
23580
|
-
t = this._d.valueOf(), t -=
|
|
23579
|
+
t = this._d.valueOf(), t -= vt(t, Nt);
|
|
23581
23580
|
break;
|
|
23582
23581
|
case "second":
|
|
23583
|
-
t = this._d.valueOf(), t -=
|
|
23582
|
+
t = this._d.valueOf(), t -= vt(t, Bn);
|
|
23584
23583
|
break;
|
|
23585
23584
|
}
|
|
23586
23585
|
return this._d.setTime(t), M0.updateOffset(this, !0), this;
|
|
@@ -23622,16 +23621,16 @@ function Bm(e) {
|
|
|
23622
23621
|
t = o(this.year(), this.month(), this.date() + 1) - 1;
|
|
23623
23622
|
break;
|
|
23624
23623
|
case "hour":
|
|
23625
|
-
t = this._d.valueOf(), t += _n -
|
|
23626
|
-
t + (this._isUTC ? 0 : this.utcOffset() *
|
|
23624
|
+
t = this._d.valueOf(), t += _n - vt(
|
|
23625
|
+
t + (this._isUTC ? 0 : this.utcOffset() * Nt),
|
|
23627
23626
|
_n
|
|
23628
23627
|
) - 1;
|
|
23629
23628
|
break;
|
|
23630
23629
|
case "minute":
|
|
23631
|
-
t = this._d.valueOf(), t +=
|
|
23630
|
+
t = this._d.valueOf(), t += Nt - vt(t, Nt) - 1;
|
|
23632
23631
|
break;
|
|
23633
23632
|
case "second":
|
|
23634
|
-
t = this._d.valueOf(), t += Bn -
|
|
23633
|
+
t = this._d.valueOf(), t += Bn - vt(t, Bn) - 1;
|
|
23635
23634
|
break;
|
|
23636
23635
|
}
|
|
23637
23636
|
return this._d.setTime(t), M0.updateOffset(this, !0), this;
|
|
@@ -24265,16 +24264,16 @@ function Cg() {
|
|
|
24265
24264
|
function Eg(e) {
|
|
24266
24265
|
return e = ye(e), this.isValid() ? this[e + "s"]() : NaN;
|
|
24267
24266
|
}
|
|
24268
|
-
function
|
|
24267
|
+
function pt(e) {
|
|
24269
24268
|
return function() {
|
|
24270
24269
|
return this.isValid() ? this._data[e] : NaN;
|
|
24271
24270
|
};
|
|
24272
24271
|
}
|
|
24273
|
-
var Xg =
|
|
24272
|
+
var Xg = pt("milliseconds"), Ig = pt("seconds"), Dg = pt("minutes"), kg = pt("hours"), Pg = pt("days"), Ug = pt("months"), Fg = pt("years");
|
|
24274
24273
|
function jg() {
|
|
24275
24274
|
return fe(this.days() / 7);
|
|
24276
24275
|
}
|
|
24277
|
-
var i2 = Math.round,
|
|
24276
|
+
var i2 = Math.round, gt = {
|
|
24278
24277
|
ss: 44,
|
|
24279
24278
|
// a few seconds to seconds
|
|
24280
24279
|
s: 45,
|
|
@@ -24301,23 +24300,23 @@ function Yg(e) {
|
|
|
24301
24300
|
return e === void 0 ? i2 : typeof e == "function" ? (i2 = e, !0) : !1;
|
|
24302
24301
|
}
|
|
24303
24302
|
function $g(e, t) {
|
|
24304
|
-
return
|
|
24303
|
+
return gt[e] === void 0 ? !1 : t === void 0 ? gt[e] : (gt[e] = t, e === "s" && (gt.ss = t - 1), !0);
|
|
24305
24304
|
}
|
|
24306
24305
|
function Vg(e, t) {
|
|
24307
24306
|
if (!this.isValid())
|
|
24308
24307
|
return this.localeData().invalidDate();
|
|
24309
|
-
var o = !1, n =
|
|
24310
|
-
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (o = e), typeof t == "object" && (n = Object.assign({},
|
|
24308
|
+
var o = !1, n = gt, c, r;
|
|
24309
|
+
return typeof e == "object" && (t = e, e = !1), typeof e == "boolean" && (o = e), typeof t == "object" && (n = Object.assign({}, gt, t), t.s != null && t.ss == null && (n.ss = t.s - 1)), c = this.localeData(), r = Gg(this, !o, n, c), o && (r = c.pastFuture(+this, r)), c.postformat(r);
|
|
24311
24310
|
}
|
|
24312
24311
|
var Or = Math.abs;
|
|
24313
|
-
function
|
|
24312
|
+
function lt(e) {
|
|
24314
24313
|
return (e > 0) - (e < 0) || +e;
|
|
24315
24314
|
}
|
|
24316
24315
|
function cc() {
|
|
24317
24316
|
if (!this.isValid())
|
|
24318
24317
|
return this.localeData().invalidDate();
|
|
24319
24318
|
var e = Or(this._milliseconds) / 1e3, t = Or(this._days), o = Or(this._months), n, c, r, b, M = this.asSeconds(), i, p, s, O;
|
|
24320
|
-
return M ? (n = fe(e / 60), c = fe(n / 60), e %= 60, n %= 60, r = fe(o / 12), o %= 12, b = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", i = M < 0 ? "-" : "", p =
|
|
24319
|
+
return M ? (n = fe(e / 60), c = fe(n / 60), e %= 60, n %= 60, r = fe(o / 12), o %= 12, b = e ? e.toFixed(3).replace(/\.?0+$/, "") : "", i = M < 0 ? "-" : "", p = lt(this._months) !== lt(M) ? "-" : "", s = lt(this._days) !== lt(M) ? "-" : "", O = lt(this._milliseconds) !== lt(M) ? "-" : "", i + "P" + (r ? p + r + "Y" : "") + (o ? p + o + "M" : "") + (t ? s + t + "D" : "") + (c || n || e ? "T" : "") + (c ? O + c + "H" : "") + (n ? O + n + "M" : "") + (e ? O + b + "S" : "")) : "P0D";
|
|
24321
24320
|
}
|
|
24322
24321
|
var H0 = oc.prototype;
|
|
24323
24322
|
H0.isValid = Uh;
|
|
@@ -24712,7 +24711,7 @@ function rR() {
|
|
|
24712
24711
|
return e.tz.load(cR), zr.exports;
|
|
24713
24712
|
}
|
|
24714
24713
|
var bR = rR();
|
|
24715
|
-
const
|
|
24714
|
+
const At = /* @__PURE__ */ sz(bR), MR = (e) => ({
|
|
24716
24715
|
componentOverrides: {
|
|
24717
24716
|
Modal: {
|
|
24718
24717
|
background: e.cardBackground,
|
|
@@ -24793,7 +24792,7 @@ const ft = /* @__PURE__ */ sz(bR), MR = (e) => ({
|
|
|
24793
24792
|
const { translations: p, translate: s } = n0(), { isDark: O } = U0(), a = t0(
|
|
24794
24793
|
() => O ? MR(En(O)) : {},
|
|
24795
24794
|
[O]
|
|
24796
|
-
), u = M === "edit", [d, A] = G(""), [f, l] = G(
|
|
24795
|
+
), u = M === "edit", [d, A] = G(""), [f, l] = G(At.tz(b).endOf("day")), [q, h] = G(""), [g, W] = G(void 0), [m, R] = G(""), [y, B] = G(""), [C, v] = G(""), T = () => {
|
|
24797
24796
|
let s0 = !1;
|
|
24798
24797
|
d.trim() ? d.length > rn ? (R(s("Title must be %{max} characters or less", { max: rn })), s0 = !0) : R("") : (R(p.titleIsRequired), s0 = !0), !f || !f.isValid() ? (B(p.dateIsRequired), s0 = !0) : B(""), q.length > dr ? (v(
|
|
24799
24798
|
s("Details must be %{max} characters or less", { max: dr })
|
|
@@ -24804,7 +24803,7 @@ const ft = /* @__PURE__ */ sz(bR), MR = (e) => ({
|
|
|
24804
24803
|
course_id: g
|
|
24805
24804
|
}), u || S());
|
|
24806
24805
|
}, S = () => {
|
|
24807
|
-
A(""), l(
|
|
24806
|
+
A(""), l(At.tz(b).endOf("day")), h(""), W(void 0), R(""), B(""), v("");
|
|
24808
24807
|
}, X = () => {
|
|
24809
24808
|
S(), t();
|
|
24810
24809
|
};
|
|
@@ -24812,18 +24811,18 @@ const ft = /* @__PURE__ */ sz(bR), MR = (e) => ({
|
|
|
24812
24811
|
if (e) {
|
|
24813
24812
|
if (u && i) {
|
|
24814
24813
|
A(i.title);
|
|
24815
|
-
const s0 = i.todo_date ?
|
|
24814
|
+
const s0 = i.todo_date ? At.tz(i.todo_date, b) : null;
|
|
24816
24815
|
l(
|
|
24817
|
-
s0 && s0.isValid() ? s0 :
|
|
24816
|
+
s0 && s0.isValid() ? s0 : At.tz(b).endOf("day")
|
|
24818
24817
|
), h(i.details || ""), W(i.course_id);
|
|
24819
24818
|
} else
|
|
24820
|
-
A(""), l(
|
|
24819
|
+
A(""), l(At.tz(b).endOf("day")), h(""), W(void 0);
|
|
24821
24820
|
R(""), B(""), v("");
|
|
24822
24821
|
}
|
|
24823
24822
|
}, [e, u, i, b]);
|
|
24824
24823
|
const _ = (s0, o0) => {
|
|
24825
24824
|
const A0 = o0 || "";
|
|
24826
|
-
l(
|
|
24825
|
+
l(At.tz(A0, b)), y && A0 && B("");
|
|
24827
24826
|
}, E = (s0, o0) => {
|
|
24828
24827
|
const A0 = typeof o0.value == "string" ? o0.value : void 0;
|
|
24829
24828
|
A0 && W(A0 === "none" ? void 0 : A0);
|
|
@@ -26242,15 +26241,15 @@ const XR = () => /* @__PURE__ */ z(
|
|
|
26242
26241
|
return /* @__PURE__ */ z(D, { as: "div", "data-testid": "dashboard-tab-content", padding: "medium 0 0 0", children: /* @__PURE__ */ z(QR, { config: t, isEditMode: e }) });
|
|
26243
26242
|
}, xs = () => {
|
|
26244
26243
|
const { preferences: e, renderCoursesTab: t } = U0(), { translations: o } = n0(), { currentTab: n, handleTabChange: c } = Ud(
|
|
26245
|
-
(e == null ? void 0 : e.learner_dashboard_tab_selection) ||
|
|
26244
|
+
(e == null ? void 0 : e.learner_dashboard_tab_selection) || ft.DASHBOARD
|
|
26246
26245
|
), r = [
|
|
26247
26246
|
{
|
|
26248
|
-
id:
|
|
26247
|
+
id: ft.DASHBOARD,
|
|
26249
26248
|
label: o.dashboard
|
|
26250
26249
|
},
|
|
26251
26250
|
...t ? [
|
|
26252
26251
|
{
|
|
26253
|
-
id:
|
|
26252
|
+
id: ft.COURSES,
|
|
26254
26253
|
label: o.courses
|
|
26255
26254
|
}
|
|
26256
26255
|
] : []
|
|
@@ -26258,9 +26257,9 @@ const XR = () => /* @__PURE__ */ z(
|
|
|
26258
26257
|
s.id && c(s.id);
|
|
26259
26258
|
}, M = (p) => {
|
|
26260
26259
|
switch (p) {
|
|
26261
|
-
case
|
|
26260
|
+
case ft.DASHBOARD:
|
|
26262
26261
|
return /* @__PURE__ */ z(ZR, {});
|
|
26263
|
-
case
|
|
26262
|
+
case ft.COURSES:
|
|
26264
26263
|
return t ? t() : /* @__PURE__ */ z(Fd, {});
|
|
26265
26264
|
default:
|
|
26266
26265
|
return null;
|