eat-js-sdk 2.0.18 → 2.0.19

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.
@@ -142,7 +142,7 @@ let ss = !1, Ze = null;
142
142
  function zr(e) {
143
143
  Ze = e;
144
144
  }
145
- function ve(e, t = !1, r) {
145
+ function ge(e, t = !1, r) {
146
146
  Ze = {
147
147
  p: Ze,
148
148
  c: null,
@@ -152,7 +152,7 @@ function ve(e, t = !1, r) {
152
152
  l: null
153
153
  };
154
154
  }
155
- function we(e) {
155
+ function ve(e) {
156
156
  var t = (
157
157
  /** @type {ComponentContext} */
158
158
  Ze
@@ -190,7 +190,7 @@ const cs = /* @__PURE__ */ new WeakMap();
190
190
  function ga(e) {
191
191
  var t = ie;
192
192
  if (t === null)
193
- return oe.f |= mr, e;
193
+ return ae.f |= mr, e;
194
194
  if ((t.f & Rn) === 0) {
195
195
  if ((t.f & bi) === 0)
196
196
  throw !t.parent && e instanceof Error && va(e), e;
@@ -220,7 +220,7 @@ function va(e) {
220
220
  }));
221
221
  }
222
222
  const hn = /* @__PURE__ */ new Set();
223
- let ye = null, wn = null, gt = null, Zn = /* @__PURE__ */ new Set(), It = [], On = null, Gn = !1, Kr = !1;
223
+ let xe = null, wn = null, gt = null, Zn = /* @__PURE__ */ new Set(), At = [], On = null, Gn = !1, Kr = !1;
224
224
  var Dr, Fr, cr, an, $r, ur, Pr, on, sn, ft, Qn, bn, Kn;
225
225
  const Mn = class Mn {
226
226
  constructor() {
@@ -292,14 +292,14 @@ const Mn = class Mn {
292
292
  * @param {Effect[]} root_effects
293
293
  */
294
294
  process(t) {
295
- It = [], wn = null, this.apply();
295
+ At = [], wn = null, this.apply();
296
296
  for (const a of t)
297
297
  Le(this, ft, Qn).call(this, a);
298
298
  if (T(this, cr) === 0) {
299
299
  var r = gt;
300
300
  Le(this, ft, Kn).call(this);
301
301
  var n = T(this, $r), i = T(this, ur);
302
- J(this, $r, []), J(this, ur, []), J(this, Pr, []), wn = this, ye = null, gt = r, zi(n), zi(i), wn = null, T(this, an)?.resolve();
302
+ J(this, $r, []), J(this, ur, []), J(this, Pr, []), wn = this, xe = null, gt = r, zi(n), zi(i), wn = null, T(this, an)?.resolve();
303
303
  } else
304
304
  Le(this, ft, bn).call(this, T(this, $r)), Le(this, ft, bn).call(this, T(this, ur)), Le(this, ft, bn).call(this, T(this, Pr));
305
305
  gt = null;
@@ -314,19 +314,19 @@ const Mn = class Mn {
314
314
  T(this, Dr).has(t) || T(this, Dr).set(t, r), this.current.set(t, t.v), gt?.set(t, t.v);
315
315
  }
316
316
  activate() {
317
- ye = this;
317
+ xe = this;
318
318
  }
319
319
  deactivate() {
320
- ye = null, gt = null;
320
+ xe = null, gt = null;
321
321
  }
322
322
  flush() {
323
- if (It.length > 0) {
324
- if (this.activate(), wa(), ye !== null && ye !== this)
323
+ if (At.length > 0) {
324
+ if (this.activate(), wa(), xe !== null && xe !== this)
325
325
  return;
326
326
  } else T(this, cr) === 0 && Le(this, ft, Kn).call(this);
327
327
  this.deactivate();
328
328
  for (const t of Zn)
329
- if (Zn.delete(t), t(), ye !== null)
329
+ if (Zn.delete(t), t(), xe !== null)
330
330
  break;
331
331
  }
332
332
  increment() {
@@ -348,13 +348,13 @@ const Mn = class Mn {
348
348
  return (T(this, an) ?? J(this, an, oa())).promise;
349
349
  }
350
350
  static ensure() {
351
- if (ye === null) {
352
- const t = ye = new Mn();
353
- hn.add(ye), Kr || Mn.enqueue(() => {
354
- ye === t && t.flush();
351
+ if (xe === null) {
352
+ const t = xe = new Mn();
353
+ hn.add(xe), Kr || Mn.enqueue(() => {
354
+ xe === t && t.flush();
355
355
  });
356
356
  }
357
- return ye;
357
+ return xe;
358
358
  }
359
359
  /** @param {() => void} task */
360
360
  static enqueue(t) {
@@ -373,7 +373,7 @@ Qn = function(t) {
373
373
  for (var r = t.first; r !== null; ) {
374
374
  var n = r.f, i = (n & (Yt | nr)) !== 0, a = i && (n & ze) !== 0, o = a || (n & bt) !== 0 || this.skipped_effects.has(r);
375
375
  if (!o && r.fn !== null) {
376
- i ? r.f ^= ze : (n & vi) !== 0 ? T(this, ur).push(r) : Pn(r) && ((r.f & rr) !== 0 && T(this, Pr).push(r), An(r));
376
+ i ? r.f ^= ze : (n & vi) !== 0 ? T(this, ur).push(r) : Pn(r) && ((r.f & rr) !== 0 && T(this, Pr).push(r), In(r));
377
377
  var l = r.first;
378
378
  if (l !== null) {
379
379
  r = l;
@@ -421,15 +421,15 @@ Kn = function() {
421
421
  if (a.length > 0) {
422
422
  for (const o of i)
423
423
  ba(o, a);
424
- if (It.length > 0) {
425
- ye = n, n.apply();
426
- for (const o of It)
424
+ if (At.length > 0) {
425
+ xe = n, n.apply();
426
+ for (const o of At)
427
427
  Le(t = n, ft, Qn).call(t, o);
428
- It = [], n.deactivate();
428
+ At = [], n.deactivate();
429
429
  }
430
430
  }
431
431
  }
432
- ye = null;
432
+ xe = null;
433
433
  }
434
434
  hn.delete(this);
435
435
  };
@@ -439,7 +439,7 @@ function x(e) {
439
439
  Kr = !0;
440
440
  try {
441
441
  for (var r; ; ) {
442
- if (ls(), It.length === 0 && (ye?.flush(), It.length === 0))
442
+ if (ls(), At.length === 0 && (xe?.flush(), At.length === 0))
443
443
  return On = null, /** @type {T} */
444
444
  r;
445
445
  wa();
@@ -453,13 +453,13 @@ function wa() {
453
453
  Gn = !0;
454
454
  try {
455
455
  var t = 0;
456
- for (Wi(!0); It.length > 0; ) {
456
+ for (Wi(!0); At.length > 0; ) {
457
457
  var r = Et.ensure();
458
458
  if (t++ > 1e3) {
459
459
  var n, i;
460
460
  us();
461
461
  }
462
- r.process(It), er.clear();
462
+ r.process(At), er.clear();
463
463
  }
464
464
  } finally {
465
465
  Gn = !1, Wi(e), On = null;
@@ -478,10 +478,10 @@ function zi(e) {
478
478
  if (t !== 0) {
479
479
  for (var r = 0; r < t; ) {
480
480
  var n = e[r++];
481
- if ((n.f & (Cr | bt)) === 0 && Pn(n) && (sr = [], An(n), n.deps === null && n.first === null && n.nodes_start === null && (n.teardown === null && n.ac === null ? Ha(n) : n.fn = null), sr?.length > 0)) {
481
+ if ((n.f & (Cr | bt)) === 0 && Pn(n) && (sr = [], In(n), n.deps === null && n.first === null && n.nodes_start === null && (n.teardown === null && n.ac === null ? Ha(n) : n.fn = null), sr?.length > 0)) {
482
482
  er.clear();
483
483
  for (const i of sr)
484
- An(i);
484
+ In(i);
485
485
  sr = [];
486
486
  }
487
487
  }
@@ -525,7 +525,7 @@ function br(e) {
525
525
  t.f ^= ze;
526
526
  }
527
527
  }
528
- It.push(t);
528
+ At.push(t);
529
529
  }
530
530
  function ds(e) {
531
531
  let t = 0, r = xr(0), n;
@@ -650,7 +650,7 @@ class hs {
650
650
  J(this, kt, null);
651
651
  }), J(this, ht, this.has_pending_snippet()), J(this, at, Le(this, Oe, xn).call(this, () => (J(this, pr, !1), st(() => T(this, dr).call(this, T(this, Ke)))))), T(this, Kt) > 0 ? Le(this, Oe, yn).call(this) : J(this, ht, !1);
652
652
  };
653
- var l = oe;
653
+ var l = ae;
654
654
  try {
655
655
  Ye(null), a = !0, r?.(t, o), a = !1;
656
656
  } catch (u) {
@@ -704,7 +704,7 @@ ht = new WeakMap(), Ke = new WeakMap(), ln = new WeakMap(), _t = new WeakMap(),
704
704
  * @param {() => Effect | null} fn
705
705
  */
706
706
  xn = function(t) {
707
- var r = ie, n = oe, i = Ze;
707
+ var r = ie, n = ae, i = Ze;
708
708
  Nt(T(this, Ct)), Ye(T(this, Ct)), zr(T(this, Ct).ctx);
709
709
  try {
710
710
  return t();
@@ -742,7 +742,7 @@ function ms(e, t, r) {
742
742
  r(e.map(n));
743
743
  return;
744
744
  }
745
- var i = ye, a = (
745
+ var i = xe, a = (
746
746
  /** @type {Effect} */
747
747
  ie
748
748
  ), o = gs(), l = ee;
@@ -759,7 +759,7 @@ function ms(e, t, r) {
759
759
  });
760
760
  }
761
761
  function gs() {
762
- var e = ie, t = oe, r = Ze, n = ye, i = ee;
762
+ var e = ie, t = ae, r = Ze, n = xe, i = ee;
763
763
  if (i)
764
764
  var a = le;
765
765
  return function() {
@@ -771,9 +771,9 @@ function Jn() {
771
771
  }
772
772
  // @__NO_SIDE_EFFECTS__
773
773
  function Dn(e) {
774
- var t = je | et, r = oe !== null && (oe.f & je) !== 0 ? (
774
+ var t = je | et, r = ae !== null && (ae.f & je) !== 0 ? (
775
775
  /** @type {Derived} */
776
- oe
776
+ ae
777
777
  ) : null;
778
778
  return ie === null || r !== null && (r.f & ut) !== 0 ? t |= ut : ie.f |= Sr, {
779
779
  ctx: Ze,
@@ -810,7 +810,7 @@ function vs(e, t) {
810
810
  ), a = xr(
811
811
  /** @type {V} */
812
812
  De
813
- ), o = !oe, l = /* @__PURE__ */ new Map();
813
+ ), o = !ae, l = /* @__PURE__ */ new Map();
814
814
  return Ss(() => {
815
815
  var u = oa();
816
816
  i = u.promise;
@@ -821,7 +821,7 @@ function vs(e, t) {
821
821
  }
822
822
  var c = (
823
823
  /** @type {Batch} */
824
- ye
824
+ xe
825
825
  ), p = n.is_pending();
826
826
  o && (n.update_pending_count(1), p || (c.increment(), l.get(c)?.reject(Lr), l.delete(c), l.set(c, u)));
827
827
  const h = (d, f = void 0) => {
@@ -916,7 +916,7 @@ function xr(e, t) {
916
916
  return r;
917
917
  }
918
918
  // @__NO_SIDE_EFFECTS__
919
- function q(e, t) {
919
+ function j(e, t) {
920
920
  const r = xr(e);
921
921
  return Wa(r), r;
922
922
  }
@@ -925,10 +925,10 @@ function Ta(e, t = !1, r = !0) {
925
925
  const n = xr(e);
926
926
  return t || (n.equals = pa), n;
927
927
  }
928
- function I(e, t, r = !1) {
929
- oe !== null && // since we are untracking the function inside `$inspect.with` we need to add this check
928
+ function E(e, t, r = !1) {
929
+ ae !== null && // since we are untracking the function inside `$inspect.with` we need to add this check
930
930
  // to ensure we error if state is set inside an inspect effect
931
- (!vt || (oe.f & Hi) !== 0) && ha() && (oe.f & (je | rr | xi | Hi)) !== 0 && !jt?.includes(e) && is();
931
+ (!vt || (ae.f & Hi) !== 0) && ha() && (ae.f & (je | rr | xi | Hi)) !== 0 && !jt?.includes(e) && is();
932
932
  let n = r ? lt(t) : t;
933
933
  return Vr(e, n);
934
934
  }
@@ -940,19 +940,19 @@ function Vr(e, t) {
940
940
  n.capture(e, r), (e.f & je) !== 0 && ((e.f & et) !== 0 && Ci(
941
941
  /** @type {Derived} */
942
942
  e
943
- ), We(e, (e.f & ut) === 0 ? ze : ir)), e.wv = qa(), Aa(e, et), ie !== null && (ie.f & ze) !== 0 && (ie.f & (Yt | nr)) === 0 && (it === null ? As([e]) : it.push(e));
943
+ ), We(e, (e.f & ut) === 0 ? ze : ir)), e.wv = qa(), Ia(e, et), ie !== null && (ie.f & ze) !== 0 && (ie.f & (Yt | nr)) === 0 && (it === null ? Is([e]) : it.push(e));
944
944
  }
945
945
  return t;
946
946
  }
947
947
  function Xr(e) {
948
- I(e, e.v + 1);
948
+ E(e, e.v + 1);
949
949
  }
950
- function Aa(e, t) {
950
+ function Ia(e, t) {
951
951
  var r = e.reactions;
952
952
  if (r !== null)
953
953
  for (var n = r.length, i = 0; i < n; i++) {
954
954
  var a = r[i], o = a.f, l = (o & et) === 0;
955
- l && We(a, t), (o & je) !== 0 ? Aa(
955
+ l && We(a, t), (o & je) !== 0 ? Ia(
956
956
  /** @type {Derived} */
957
957
  a,
958
958
  ir
@@ -971,15 +971,15 @@ function lt(e) {
971
971
  const t = aa(e);
972
972
  if (t !== Wo && t !== jo)
973
973
  return e;
974
- var r = /* @__PURE__ */ new Map(), n = mi(e), i = /* @__PURE__ */ q(0), a = gr, o = (l) => {
974
+ var r = /* @__PURE__ */ new Map(), n = mi(e), i = /* @__PURE__ */ j(0), a = gr, o = (l) => {
975
975
  if (gr === a)
976
976
  return l();
977
- var u = oe, c = gr;
977
+ var u = ae, c = gr;
978
978
  Ye(null), qi(a);
979
979
  var p = l();
980
980
  return Ye(u), qi(c), p;
981
981
  };
982
- return n && r.set("length", /* @__PURE__ */ q(
982
+ return n && r.set("length", /* @__PURE__ */ j(
983
983
  /** @type {any[]} */
984
984
  e.length
985
985
  )), new Proxy(
@@ -990,19 +990,19 @@ function lt(e) {
990
990
  (!("value" in c) || c.configurable === !1 || c.enumerable === !1 || c.writable === !1) && rs();
991
991
  var p = r.get(u);
992
992
  return p === void 0 ? p = o(() => {
993
- var h = /* @__PURE__ */ q(c.value);
993
+ var h = /* @__PURE__ */ j(c.value);
994
994
  return r.set(u, h), h;
995
- }) : I(p, c.value, !0), !0;
995
+ }) : E(p, c.value, !0), !0;
996
996
  },
997
997
  deleteProperty(l, u) {
998
998
  var c = r.get(u);
999
999
  if (c === void 0) {
1000
1000
  if (u in l) {
1001
- const p = o(() => /* @__PURE__ */ q(De));
1001
+ const p = o(() => /* @__PURE__ */ j(De));
1002
1002
  r.set(u, p), Xr(i);
1003
1003
  }
1004
1004
  } else
1005
- I(c, De), Xr(i);
1005
+ E(c, De), Xr(i);
1006
1006
  return !0;
1007
1007
  },
1008
1008
  get(l, u, c) {
@@ -1010,7 +1010,7 @@ function lt(e) {
1010
1010
  return e;
1011
1011
  var p = r.get(u), h = u in l;
1012
1012
  if (p === void 0 && (!h || hr(l, u)?.writable) && (p = o(() => {
1013
- var f = lt(h ? l[u] : De), m = /* @__PURE__ */ q(f);
1013
+ var f = lt(h ? l[u] : De), m = /* @__PURE__ */ j(f);
1014
1014
  return m;
1015
1015
  }), r.set(u, p)), p !== void 0) {
1016
1016
  var d = s(p);
@@ -1041,7 +1041,7 @@ function lt(e) {
1041
1041
  var c = r.get(u), p = c !== void 0 && c.v !== De || Reflect.has(l, u);
1042
1042
  if (c !== void 0 || ie !== null && (!p || hr(l, u)?.writable)) {
1043
1043
  c === void 0 && (c = o(() => {
1044
- var d = p ? lt(l[u]) : De, f = /* @__PURE__ */ q(d);
1044
+ var d = p ? lt(l[u]) : De, f = /* @__PURE__ */ j(d);
1045
1045
  return f;
1046
1046
  }), r.set(u, c));
1047
1047
  var h = s(c);
@@ -1056,14 +1056,14 @@ function lt(e) {
1056
1056
  for (var f = c; f < /** @type {Source<number>} */
1057
1057
  h.v; f += 1) {
1058
1058
  var m = r.get(f + "");
1059
- m !== void 0 ? I(m, De) : f in l && (m = o(() => /* @__PURE__ */ q(De)), r.set(f + "", m));
1059
+ m !== void 0 ? E(m, De) : f in l && (m = o(() => /* @__PURE__ */ j(De)), r.set(f + "", m));
1060
1060
  }
1061
1061
  if (h === void 0)
1062
- (!d || hr(l, u)?.writable) && (h = o(() => /* @__PURE__ */ q(void 0)), I(h, lt(c)), r.set(u, h));
1062
+ (!d || hr(l, u)?.writable) && (h = o(() => /* @__PURE__ */ j(void 0)), E(h, lt(c)), r.set(u, h));
1063
1063
  else {
1064
1064
  d = h.v !== De;
1065
1065
  var g = o(() => lt(c));
1066
- I(h, g);
1066
+ E(h, g);
1067
1067
  }
1068
1068
  var w = Reflect.getOwnPropertyDescriptor(l, u);
1069
1069
  if (w?.set && w.set.call(p, c), !d) {
@@ -1072,7 +1072,7 @@ function lt(e) {
1072
1072
  /** @type {Source<number>} */
1073
1073
  r.get("length")
1074
1074
  ), k = Number(u);
1075
- Number.isInteger(k) && k >= C.v && I(C, k + 1);
1075
+ Number.isInteger(k) && k >= C.v && E(C, k + 1);
1076
1076
  }
1077
1077
  Xr(i);
1078
1078
  }
@@ -1094,10 +1094,10 @@ function lt(e) {
1094
1094
  }
1095
1095
  );
1096
1096
  }
1097
- var Bi, Ia, Ea, Ma;
1097
+ var Bi, Aa, Ea, Ma;
1098
1098
  function ei() {
1099
1099
  if (Bi === void 0) {
1100
- Bi = window, Ia = /Firefox/.test(navigator.userAgent);
1100
+ Bi = window, Aa = /Firefox/.test(navigator.userAgent);
1101
1101
  var e = Element.prototype, t = Node.prototype, r = Text.prototype;
1102
1102
  Ea = hr(t, "firstChild").get, Ma = hr(t, "nextSibling").get, Pi(e) && (e.__click = void 0, e.__className = void 0, e.__attributes = null, e.__style = void 0, e.__e = void 0), Pi(r) && (r.__t = void 0);
1103
1103
  }
@@ -1188,7 +1188,7 @@ function Ra() {
1188
1188
  ));
1189
1189
  }
1190
1190
  function Wr(e) {
1191
- var t = oe, r = ie;
1191
+ var t = ae, r = ie;
1192
1192
  Ye(null), Nt(null);
1193
1193
  try {
1194
1194
  return e();
@@ -1204,7 +1204,7 @@ function bs(e, t, r, n = r) {
1204
1204
  } : e.__on_r = () => n(!0), Ra();
1205
1205
  }
1206
1206
  function xs(e) {
1207
- ie === null && oe === null && Xo(), oe !== null && (oe.f & ut) !== 0 && ie === null && Ko(), Tr && Qo();
1207
+ ie === null && ae === null && Xo(), ae !== null && (ae.f & ut) !== 0 && ie === null && Ko(), Tr && Qo();
1208
1208
  }
1209
1209
  function ys(e, t) {
1210
1210
  var r = t.last;
@@ -1233,7 +1233,7 @@ function Rt(e, t, r, n = !0) {
1233
1233
  };
1234
1234
  if (r)
1235
1235
  try {
1236
- An(a), a.f |= Rn;
1236
+ In(a), a.f |= Rn;
1237
1237
  } catch (u) {
1238
1238
  throw Ve(a), u;
1239
1239
  }
@@ -1241,10 +1241,10 @@ function Rt(e, t, r, n = !0) {
1241
1241
  if (n) {
1242
1242
  var o = a;
1243
1243
  if (r && o.deps === null && o.teardown === null && o.nodes_start === null && o.first === o.last && // either `null`, or a singular child
1244
- (o.f & Sr) === 0 && (o = o.first), o !== null && (o.parent = i, i !== null && ys(o, i), oe !== null && (oe.f & je) !== 0 && (e & nr) === 0)) {
1244
+ (o.f & Sr) === 0 && (o = o.first), o !== null && (o.parent = i, i !== null && ys(o, i), ae !== null && (ae.f & je) !== 0 && (e & nr) === 0)) {
1245
1245
  var l = (
1246
1246
  /** @type {Derived} */
1247
- oe
1247
+ ae
1248
1248
  );
1249
1249
  (l.effects ?? (l.effects = [])).push(o);
1250
1250
  }
@@ -1252,7 +1252,7 @@ function Rt(e, t, r, n = !0) {
1252
1252
  return a;
1253
1253
  }
1254
1254
  function _s() {
1255
- return oe !== null && !vt;
1255
+ return ae !== null && !vt;
1256
1256
  }
1257
1257
  function Oa(e) {
1258
1258
  const t = Rt(wi, null, !1);
@@ -1263,7 +1263,7 @@ function Te(e) {
1263
1263
  var t = (
1264
1264
  /** @type {Effect} */
1265
1265
  ie.f
1266
- ), r = !oe && (t & Yt) !== 0 && (t & Rn) === 0;
1266
+ ), r = !ae && (t & Yt) !== 0 && (t & Rn) === 0;
1267
1267
  if (r) {
1268
1268
  var n = (
1269
1269
  /** @type {ComponentContext} */
@@ -1316,7 +1316,7 @@ function st(e, t = !0) {
1316
1316
  function Fa(e) {
1317
1317
  var t = e.teardown;
1318
1318
  if (t !== null) {
1319
- const r = Tr, n = oe;
1319
+ const r = Tr, n = ae;
1320
1320
  ji(!0), Ye(null);
1321
1321
  try {
1322
1322
  t.call(null);
@@ -1428,9 +1428,9 @@ let Tr = !1;
1428
1428
  function ji(e) {
1429
1429
  Tr = e;
1430
1430
  }
1431
- let oe = null, vt = !1;
1431
+ let ae = null, vt = !1;
1432
1432
  function Ye(e) {
1433
- oe = e;
1433
+ ae = e;
1434
1434
  }
1435
1435
  let ie = null;
1436
1436
  function Nt(e) {
@@ -1438,10 +1438,10 @@ function Nt(e) {
1438
1438
  }
1439
1439
  let jt = null;
1440
1440
  function Wa(e) {
1441
- oe !== null && (jt === null ? jt = [e] : jt.push(e));
1441
+ ae !== null && (jt === null ? jt = [e] : jt.push(e));
1442
1442
  }
1443
1443
  let He = null, Qe = 0, it = null;
1444
- function As(e) {
1444
+ function Is(e) {
1445
1445
  it = e;
1446
1446
  }
1447
1447
  let ja = 1, tn = 0, gr = tn;
@@ -1501,9 +1501,9 @@ function Ua(e, t, r = !0) {
1501
1501
  }
1502
1502
  function Ya(e) {
1503
1503
  var g;
1504
- var t = He, r = Qe, n = it, i = oe, a = Jt, o = jt, l = Ze, u = vt, c = gr, p = e.f;
1504
+ var t = He, r = Qe, n = it, i = ae, a = Jt, o = jt, l = Ze, u = vt, c = gr, p = e.f;
1505
1505
  He = /** @type {null | Value[]} */
1506
- null, Qe = 0, it = null, Jt = (p & ut) !== 0 && (vt || !Rr || oe === null), oe = (p & (Yt | nr)) === 0 ? e : null, jt = null, zr(e.ctx), vt = !1, gr = ++tn, e.ac !== null && (Wr(() => {
1506
+ null, Qe = 0, it = null, Jt = (p & ut) !== 0 && (vt || !Rr || ae === null), ae = (p & (Yt | nr)) === 0 ? e : null, jt = null, zr(e.ctx), vt = !1, gr = ++tn, e.ac !== null && (Wr(() => {
1507
1507
  e.ac.abort(Lr);
1508
1508
  }), e.ac = null);
1509
1509
  try {
@@ -1538,10 +1538,10 @@ function Ya(e) {
1538
1538
  } catch (w) {
1539
1539
  return ga(w);
1540
1540
  } finally {
1541
- e.f ^= Yn, He = t, Qe = r, it = n, oe = i, Jt = a, jt = o, zr(l), vt = u, gr = c;
1541
+ e.f ^= Yn, He = t, Qe = r, it = n, ae = i, Jt = a, jt = o, zr(l), vt = u, gr = c;
1542
1542
  }
1543
1543
  }
1544
- function Is(e, t) {
1544
+ function As(e, t) {
1545
1545
  let r = t.reactions;
1546
1546
  if (r !== null) {
1547
1547
  var n = Bo.call(r, e);
@@ -1566,9 +1566,9 @@ function Tn(e, t) {
1566
1566
  var r = e.deps;
1567
1567
  if (r !== null)
1568
1568
  for (var n = t; n < r.length; n++)
1569
- Is(e, r[n]);
1569
+ As(e, r[n]);
1570
1570
  }
1571
- function An(e) {
1571
+ function In(e) {
1572
1572
  var t = e.f;
1573
1573
  if ((t & Cr) === 0) {
1574
1574
  We(e, ze);
@@ -1590,16 +1590,16 @@ async function tr() {
1590
1590
  }
1591
1591
  function s(e) {
1592
1592
  var t = e.f, r = (t & je) !== 0;
1593
- if (oe !== null && !vt) {
1593
+ if (ae !== null && !vt) {
1594
1594
  var n = ie !== null && (ie.f & Cr) !== 0;
1595
1595
  if (!n && !jt?.includes(e)) {
1596
- var i = oe.deps;
1597
- if ((oe.f & Yn) !== 0)
1596
+ var i = ae.deps;
1597
+ if ((ae.f & Yn) !== 0)
1598
1598
  e.rv < tn && (e.rv = tn, He === null && i !== null && i[Qe] === e ? Qe++ : He === null ? He = [e] : (!Jt || !He.includes(e)) && He.push(e));
1599
1599
  else {
1600
- (oe.deps ?? (oe.deps = [])).push(e);
1600
+ (ae.deps ?? (ae.deps = [])).push(e);
1601
1601
  var a = e.reactions;
1602
- a === null ? e.reactions = [oe] : a.includes(oe) || a.push(oe);
1602
+ a === null ? e.reactions = [ae] : a.includes(ae) || a.push(ae);
1603
1603
  }
1604
1604
  }
1605
1605
  } else if (r && /** @type {Derived} */
@@ -1656,7 +1656,7 @@ function We(e, t) {
1656
1656
  e.f = e.f & Es | t;
1657
1657
  }
1658
1658
  const Ga = /* @__PURE__ */ new Set(), ti = /* @__PURE__ */ new Set();
1659
- function Ai(e) {
1659
+ function Ii(e) {
1660
1660
  if (!ee) return;
1661
1661
  e.removeAttribute("onload"), e.removeAttribute("onerror");
1662
1662
  const t = e.__e;
@@ -1682,7 +1682,7 @@ function ct(e, t, r, n, i) {
1682
1682
  t.removeEventListener(e, o, a);
1683
1683
  });
1684
1684
  }
1685
- function Ar(e) {
1685
+ function Ir(e) {
1686
1686
  for (var t = 0; t < e.length; t++)
1687
1687
  Ga.add(e[t]);
1688
1688
  for (var r of ti)
@@ -1719,7 +1719,7 @@ function Zr(e) {
1719
1719
  return a || r;
1720
1720
  }
1721
1721
  });
1722
- var p = oe, h = ie;
1722
+ var p = ae, h = ie;
1723
1723
  Ye(null), Nt(null);
1724
1724
  try {
1725
1725
  for (var d, f = []; a !== null; ) {
@@ -1783,7 +1783,7 @@ function Ns(e) {
1783
1783
  ));
1784
1784
  }
1785
1785
  }
1786
- function Ii(e) {
1786
+ function Ai(e) {
1787
1787
  var t = document.createElement("template");
1788
1788
  return t.innerHTML = e.replaceAll("<!>", "<!---->"), t.content;
1789
1789
  }
@@ -1800,11 +1800,11 @@ function z(e, t) {
1800
1800
  return () => {
1801
1801
  if (ee)
1802
1802
  return Lt(le, null), le;
1803
- i === void 0 && (i = Ii(a ? e : "<!>" + e), r || (i = /** @type {Node} */
1803
+ i === void 0 && (i = Ai(a ? e : "<!>" + e), r || (i = /** @type {Node} */
1804
1804
  /* @__PURE__ */ Be(i)));
1805
1805
  var o = (
1806
1806
  /** @type {TemplateNode} */
1807
- n || Ia ? document.importNode(i, !0) : i.cloneNode(!0)
1807
+ n || Aa ? document.importNode(i, !0) : i.cloneNode(!0)
1808
1808
  );
1809
1809
  if (r) {
1810
1810
  var l = (
@@ -1829,7 +1829,7 @@ function Rs(e, t, r = "svg") {
1829
1829
  if (!a) {
1830
1830
  var o = (
1831
1831
  /** @type {DocumentFragment} */
1832
- Ii(i)
1832
+ Ai(i)
1833
1833
  ), l = (
1834
1834
  /** @type {Element} */
1835
1835
  /* @__PURE__ */ Be(o)
@@ -1848,7 +1848,7 @@ function Rs(e, t, r = "svg") {
1848
1848
  function Qa(e, t) {
1849
1849
  return /* @__PURE__ */ Rs(e, t, "svg");
1850
1850
  }
1851
- function xe() {
1851
+ function be() {
1852
1852
  if (ee)
1853
1853
  return Lt(le, null), le;
1854
1854
  var e = document.createDocumentFragment(), t = document.createComment(""), r = xt();
@@ -1932,7 +1932,7 @@ function Xa(e, { target: t, anchor: r, props: n = {}, events: i, context: a, int
1932
1932
  },
1933
1933
  (d) => {
1934
1934
  if (a) {
1935
- ve({});
1935
+ ge({});
1936
1936
  var f = (
1937
1937
  /** @type {ComponentContext} */
1938
1938
  Ze
@@ -1946,7 +1946,7 @@ function Xa(e, { target: t, anchor: r, props: n = {}, events: i, context: a, int
1946
1946
  ), ri = o, c = e(d, n) || {}, ri = !0, ee && (ie.nodes_end = le, le === null || le.nodeType !== ar || /** @type {Comment} */
1947
1947
  le.data !== "]"))
1948
1948
  throw dn(), vr;
1949
- a && we();
1949
+ a && ve();
1950
1950
  }
1951
1951
  ), () => {
1952
1952
  for (var d of l) {
@@ -1990,7 +1990,7 @@ class Ei {
1990
1990
  de(this, un, () => {
1991
1991
  var t = (
1992
1992
  /** @type {Batch} */
1993
- ye
1993
+ xe
1994
1994
  );
1995
1995
  if (T(this, Bt).has(t)) {
1996
1996
  var r = (
@@ -2033,7 +2033,7 @@ class Ei {
2033
2033
  ensure(t, r) {
2034
2034
  var n = (
2035
2035
  /** @type {Batch} */
2036
- ye
2036
+ xe
2037
2037
  ), i = La();
2038
2038
  if (r && !T(this, St).has(t) && !T(this, mt).has(t))
2039
2039
  if (i) {
@@ -2077,7 +2077,7 @@ function Ps(e) {
2077
2077
  function Hs(e) {
2078
2078
  Ze === null && ca(), Ps(() => () => Zt(e));
2079
2079
  }
2080
- function U(e, t, r = !1) {
2080
+ function q(e, t, r = !1) {
2081
2081
  ee && wr();
2082
2082
  var n = new Ei(e), i = r ? kr : 0;
2083
2083
  function a(o, l) {
@@ -2169,26 +2169,26 @@ function nn(e, t, r, n, i, a = null) {
2169
2169
  M !== (C === 0) && (o = Sn(), Ne(o), Je(!1), k = !0);
2170
2170
  }
2171
2171
  if (ee) {
2172
- for (var v = null, A, _ = 0; _ < C; _++) {
2172
+ for (var v = null, I, _ = 0; _ < C; _++) {
2173
2173
  if (le.nodeType === ar && /** @type {Comment} */
2174
2174
  le.data === "]") {
2175
2175
  o = /** @type {Comment} */
2176
2176
  le, k = !0, Je(!1);
2177
2177
  break;
2178
2178
  }
2179
- var b = m[_], E = n(b, _);
2180
- A = ii(
2179
+ var b = m[_], A = n(b, _);
2180
+ I = ii(
2181
2181
  le,
2182
2182
  l,
2183
2183
  v,
2184
2184
  null,
2185
2185
  b,
2186
- E,
2186
+ A,
2187
2187
  _,
2188
2188
  i,
2189
2189
  t,
2190
2190
  r
2191
- ), l.items.set(E, A), v = A;
2191
+ ), l.items.set(A, I), v = I;
2192
2192
  }
2193
2193
  C > 0 && Ne(Sn());
2194
2194
  }
@@ -2197,24 +2197,24 @@ function nn(e, t, r, n, i, a = null) {
2197
2197
  else if (La()) {
2198
2198
  var L = /* @__PURE__ */ new Set(), V = (
2199
2199
  /** @type {Batch} */
2200
- ye
2200
+ xe
2201
2201
  );
2202
2202
  for (_ = 0; _ < C; _ += 1) {
2203
- b = m[_], E = n(b, _);
2204
- var $ = l.items.get(E) ?? d.get(E);
2205
- $ ? (t & 3) !== 0 && Ja($, b, _, t) : (A = ii(
2203
+ b = m[_], A = n(b, _);
2204
+ var $ = l.items.get(A) ?? d.get(A);
2205
+ $ ? (t & 3) !== 0 && Ja($, b, _, t) : (I = ii(
2206
2206
  null,
2207
2207
  l,
2208
2208
  null,
2209
2209
  null,
2210
2210
  b,
2211
- E,
2211
+ A,
2212
2212
  _,
2213
2213
  i,
2214
2214
  t,
2215
2215
  r,
2216
2216
  !0
2217
- ), d.set(E, A)), L.add(E);
2217
+ ), d.set(A, I)), L.add(A);
2218
2218
  }
2219
2219
  for (const [P, W] of l.items)
2220
2220
  L.has(P) || V.skipped_effects.add(W.e);
@@ -2225,17 +2225,17 @@ function nn(e, t, r, n, i, a = null) {
2225
2225
  }), ee && (o = le);
2226
2226
  }
2227
2227
  function Bs(e, t, r, n, i, a, o, l, u) {
2228
- var c = (o & 8) !== 0, p = (o & 3) !== 0, h = t.length, d = r.items, f = r.first, m = f, g, w = null, C, k = [], M = [], v, A, _, b;
2228
+ var c = (o & 8) !== 0, p = (o & 3) !== 0, h = t.length, d = r.items, f = r.first, m = f, g, w = null, C, k = [], M = [], v, I, _, b;
2229
2229
  if (c)
2230
2230
  for (b = 0; b < h; b += 1)
2231
- v = t[b], A = l(v, b), _ = d.get(A), _ !== void 0 && (_.a?.measure(), (C ?? (C = /* @__PURE__ */ new Set())).add(_));
2231
+ v = t[b], I = l(v, b), _ = d.get(I), _ !== void 0 && (_.a?.measure(), (C ?? (C = /* @__PURE__ */ new Set())).add(_));
2232
2232
  for (b = 0; b < h; b += 1) {
2233
- if (v = t[b], A = l(v, b), _ = d.get(A), _ === void 0) {
2234
- var E = n.get(A);
2235
- if (E !== void 0) {
2236
- n.delete(A), d.set(A, E);
2233
+ if (v = t[b], I = l(v, b), _ = d.get(I), _ === void 0) {
2234
+ var A = n.get(I);
2235
+ if (A !== void 0) {
2236
+ n.delete(I), d.set(I, A);
2237
2237
  var L = w ? w.next : m;
2238
- yt(r, w, E), yt(r, E, L), Bn(E, L, i), w = E;
2238
+ yt(r, w, A), yt(r, A, L), Bn(A, L, i), w = A;
2239
2239
  } else {
2240
2240
  var V = m ? (
2241
2241
  /** @type {TemplateNode} */
@@ -2247,14 +2247,14 @@ function Bs(e, t, r, n, i, a, o, l, u) {
2247
2247
  w,
2248
2248
  w === null ? r.first : w.next,
2249
2249
  v,
2250
- A,
2250
+ I,
2251
2251
  b,
2252
2252
  a,
2253
2253
  o,
2254
2254
  u
2255
2255
  );
2256
2256
  }
2257
- d.set(A, w), k = [], M = [], m = w.next;
2257
+ d.set(I, w), k = [], M = [], m = w.next;
2258
2258
  continue;
2259
2259
  }
2260
2260
  if (p && Ja(_, v, b, o), (_.e.f & bt) !== 0 && (Ti(_.e), c && (_.a?.unfix(), (C ?? (C = /* @__PURE__ */ new Set())).delete(_))), _ !== m) {
@@ -2272,7 +2272,7 @@ function Bs(e, t, r, n, i, a, o, l, u) {
2272
2272
  g.delete(_), Bn(_, m, i), yt(r, _.prev, _.next), yt(r, _, w === null ? r.first : w.next), yt(r, w, _), w = _;
2273
2273
  continue;
2274
2274
  }
2275
- for (k = [], M = []; m !== null && m.k !== A; )
2275
+ for (k = [], M = []; m !== null && m.k !== I; )
2276
2276
  (m.e.f & bt) === 0 && (g ?? (g = /* @__PURE__ */ new Set())).add(m), M.push(m), m = m.next;
2277
2277
  if (m === null)
2278
2278
  continue;
@@ -2300,8 +2300,8 @@ function Bs(e, t, r, n, i, a, o, l, u) {
2300
2300
  for (_ of C)
2301
2301
  _.a?.apply();
2302
2302
  }), e.first = r.first && r.first.e, e.last = w && w.e;
2303
- for (var Z of n.values())
2304
- Ve(Z.e);
2303
+ for (var Y of n.values())
2304
+ Ve(Y.e);
2305
2305
  n.clear();
2306
2306
  }
2307
2307
  function Ja(e, t, r, n) {
@@ -2386,7 +2386,7 @@ function eo(e, t, r = !1, n = !1, i = !1) {
2386
2386
  }
2387
2387
  var p = o + "";
2388
2388
  r ? p = `<svg>${p}</svg>` : n && (p = `<math>${p}</math>`);
2389
- var h = Ii(p);
2389
+ var h = Ai(p);
2390
2390
  if ((r || n) && (h = /** @type {Element} */
2391
2391
  /* @__PURE__ */ Be(h)), Lt(
2392
2392
  /** @type {TemplateNode} */
@@ -2454,7 +2454,7 @@ function qs() {
2454
2454
  for (var e, t, r = 0, n = "", i = arguments.length; r < i; r++) (e = arguments[r]) && (t = to(e)) && (n && (n += " "), n += t);
2455
2455
  return n;
2456
2456
  }
2457
- function Ae(e) {
2457
+ function Ie(e) {
2458
2458
  return typeof e == "object" ? qs(e) : e ?? "";
2459
2459
  }
2460
2460
  const Yi = [...`
@@ -2476,7 +2476,7 @@ function Us(e, t, r) {
2476
2476
  function Ys(e, t) {
2477
2477
  return e == null ? null : String(e);
2478
2478
  }
2479
- function se(e, t, r, n, i, a) {
2479
+ function oe(e, t, r, n, i, a) {
2480
2480
  var o = e.__className;
2481
2481
  if (ee || o !== r || o === void 0) {
2482
2482
  var l = Us(r, n, a);
@@ -2688,9 +2688,9 @@ function ai(e, t, r, n, i) {
2688
2688
  if (k > 0) {
2689
2689
  var v = !1;
2690
2690
  if (c)
2691
- for (var A = Math.ceil(k / 16.666666666666668), _ = 0; _ <= A; _ += 1) {
2692
- var b = w + C * h(_ / A), E = Gi(c(b, 1 - b));
2693
- M.push(E), v || (v = E.overflow === "hidden");
2691
+ for (var I = Math.ceil(k / 16.666666666666668), _ = 0; _ <= I; _ += 1) {
2692
+ var b = w + C * h(_ / I), A = Gi(c(b, 1 - b));
2693
+ M.push(A), v || (v = A.overflow === "hidden");
2694
2694
  }
2695
2695
  v && (e.style.overflow = "hidden"), m = () => {
2696
2696
  var L = (
@@ -2725,7 +2725,7 @@ function oi(e, t, r = t) {
2725
2725
  var n = /* @__PURE__ */ new WeakSet();
2726
2726
  bs(e, "input", async (i) => {
2727
2727
  var a = i ? e.defaultValue : e.value;
2728
- if (a = Vn(e) ? Wn(a) : a, r(a), ye !== null && n.add(ye), await tr(), a !== (a = t())) {
2728
+ if (a = Vn(e) ? Wn(a) : a, r(a), xe !== null && n.add(xe), await tr(), a !== (a = t())) {
2729
2729
  var o = e.selectionStart, l = e.selectionEnd, u = e.value.length;
2730
2730
  if (e.value = a ?? "", l !== null) {
2731
2731
  var c = e.value.length;
@@ -2736,12 +2736,12 @@ function oi(e, t, r = t) {
2736
2736
  // then use the updated value from the input instead.
2737
2737
  (ee && e.defaultValue !== e.value || // If defaultValue is set, then value == defaultValue
2738
2738
  // TODO Svelte 6: remove input.value check and set to empty string?
2739
- Zt(t) == null && e.value) && (r(Vn(e) ? Wn(e.value) : e.value), ye !== null && n.add(ye)), $n(() => {
2739
+ Zt(t) == null && e.value) && (r(Vn(e) ? Wn(e.value) : e.value), xe !== null && n.add(xe)), $n(() => {
2740
2740
  var i = t();
2741
2741
  if (e === document.activeElement) {
2742
2742
  var a = (
2743
2743
  /** @type {Batch} */
2744
- wn ?? ye
2744
+ wn ?? xe
2745
2745
  );
2746
2746
  if (n.has(a))
2747
2747
  return;
@@ -2881,7 +2881,7 @@ function y(e, t, r, n) {
2881
2881
  (function(k, M) {
2882
2882
  if (arguments.length > 0) {
2883
2883
  const v = M ? s(w) : i ? lt(k) : k;
2884
- return I(w, v), g = !0, o !== void 0 && (o = v), k;
2884
+ return E(w, v), g = !0, o !== void 0 && (o = v), k;
2885
2885
  }
2886
2886
  return Tr && g || (C.f & Cr) !== 0 ? w.v : s(w);
2887
2887
  })
@@ -2916,7 +2916,7 @@ class ol {
2916
2916
  return o === la ? !0 : (s(r.get(o) ?? n(o, Reflect.get(a, o))), Reflect.has(a, o));
2917
2917
  },
2918
2918
  set(a, o, l) {
2919
- return I(r.get(o) ?? n(o, l), l), Reflect.set(a, o, l);
2919
+ return E(r.get(o) ?? n(o, l), l), Reflect.set(a, o, l);
2920
2920
  }
2921
2921
  }
2922
2922
  );
@@ -3139,7 +3139,7 @@ function sl(e) {
3139
3139
  ] = !0;
3140
3140
  }), t;
3141
3141
  }
3142
- function be(e, t, r, n, i, a) {
3142
+ function we(e, t, r, n, i, a) {
3143
3143
  let o = class extends ao {
3144
3144
  constructor() {
3145
3145
  super(e, r, i), this.$$p_d = t;
@@ -3311,10 +3311,10 @@ function go(e) {
3311
3311
  var t = wl();
3312
3312
  N(e, t);
3313
3313
  }
3314
- be(go, {}, [], [], !0);
3314
+ we(go, {}, [], [], !0);
3315
3315
  var bl = /* @__PURE__ */ z('<p class="p-2 border-2 border-red-600 bg-red-200 rounded"> </p>');
3316
3316
  function ci(e, t) {
3317
- ve(t, !0);
3317
+ ge(t, !0);
3318
3318
  let r = y(t, "bannerLabel", 7, "Invalid.");
3319
3319
  var n = {
3320
3320
  get bannerLabel() {
@@ -3324,9 +3324,9 @@ function ci(e, t) {
3324
3324
  r(o), x();
3325
3325
  }
3326
3326
  }, i = bl(), a = F(i, !0);
3327
- return O(i), re(() => dt(a, r())), N(e, i), we(n);
3327
+ return O(i), re(() => dt(a, r())), N(e, i), ve(n);
3328
3328
  }
3329
- be(ci, { bannerLabel: {} }, [], [], !0);
3329
+ we(ci, { bannerLabel: {} }, [], [], !0);
3330
3330
  const Fe = {
3331
3331
  // Text processing utilities
3332
3332
  normalizeText: (e) => e.trim().toLowerCase().replace(/\s+/g, " "),
@@ -3354,7 +3354,7 @@ const Fe = {
3354
3354
  };
3355
3355
  var xl = /* @__PURE__ */ z("<div><!></div>");
3356
3356
  function Ut(e, t) {
3357
- ve(t, !0);
3357
+ ge(t, !0);
3358
3358
  let r = y(t, "htmlString", 7, ""), n = y(t, "otherClass", 7, ""), i = y(t, "ariaHidden", 7, !1), a = y(t, "htmlHeading", 7, ""), o = /* @__PURE__ */ S(() => l(r(), a()));
3359
3359
  function l(d, f) {
3360
3360
  if (d == null) return "";
@@ -3393,21 +3393,21 @@ function Ut(e, t) {
3393
3393
  set htmlHeading(d = "") {
3394
3394
  a(d), x();
3395
3395
  }
3396
- }, c = xe(), p = ue(c);
3396
+ }, c = be(), p = ue(c);
3397
3397
  {
3398
3398
  var h = (d) => {
3399
3399
  var f = xl(), m = F(f);
3400
3400
  eo(m, () => s(o)), O(f), re(() => {
3401
- se(f, 1, Ae(n())), X(f, "aria-hidden", i());
3401
+ oe(f, 1, Ie(n())), X(f, "aria-hidden", i());
3402
3402
  }), N(d, f);
3403
3403
  };
3404
- U(p, (d) => {
3404
+ q(p, (d) => {
3405
3405
  s(o) && d(h);
3406
3406
  });
3407
3407
  }
3408
- return N(e, c), we(u);
3408
+ return N(e, c), ve(u);
3409
3409
  }
3410
- be(
3410
+ we(
3411
3411
  Ut,
3412
3412
  {
3413
3413
  htmlString: {},
@@ -3569,7 +3569,7 @@ const yl = {
3569
3569
  };
3570
3570
  var _l = /* @__PURE__ */ Qa("<path></path>"), Cl = /* @__PURE__ */ Qa('<svg xmlns="http://www.w3.org/2000/svg"><!></svg>');
3571
3571
  function $e(e, t) {
3572
- ve(t, !0);
3572
+ ge(t, !0);
3573
3573
  let r = y(t, "width", 7, void 0), n = y(t, "height", 7, void 0), i = y(t, "svgName", 7), a = y(t, "className", 7, void 0), o = /* @__PURE__ */ S(() => {
3574
3574
  const h = yl[i()] ?? {};
3575
3575
  return {
@@ -3616,18 +3616,18 @@ function $e(e, t) {
3616
3616
  X(d, "fill-rule", s(o).fillRule), X(d, "clip-rule", s(o).clipRule), X(d, "d", s(o).path), X(d, "fill", s(o).pathFill);
3617
3617
  }), N(h, d);
3618
3618
  };
3619
- U(c, (h) => {
3619
+ q(c, (h) => {
3620
3620
  s(o).path && h(p);
3621
3621
  });
3622
3622
  }
3623
3623
  return O(u), re(() => {
3624
- X(u, "width", s(o).width), X(u, "height", s(o).height), X(u, "viewBox", s(o).viewBox), X(u, "fill", s(o).fill), se(u, 0, Ae(a() ?? i()));
3625
- }), N(e, u), we(l);
3624
+ X(u, "width", s(o).width), X(u, "height", s(o).height), X(u, "viewBox", s(o).viewBox), X(u, "fill", s(o).fill), oe(u, 0, Ie(a() ?? i()));
3625
+ }), N(e, u), ve(l);
3626
3626
  }
3627
- be($e, { width: {}, height: {}, svgName: {}, className: {} }, [], [], !0);
3627
+ we($e, { width: {}, height: {}, svgName: {}, className: {} }, [], [], !0);
3628
3628
  var kl = /* @__PURE__ */ z("<span><!></span>");
3629
3629
  function pn(e, t) {
3630
- ve(t, !0);
3630
+ ge(t, !0);
3631
3631
  let r = y(t, "isCorrect", 7), n = y(t, "iconType", 7, "result"), i = y(t, "parentProps", 7), a = /* @__PURE__ */ S(() => n() === "info" ? "infoSolid" : r() ? "successSolid" : "errorSolid"), o = /* @__PURE__ */ S(() => n() === "info" ? "info-icon" : r() ? "correct-icon" : "incorrect-icon");
3632
3632
  var l = {
3633
3633
  get isCorrect() {
@@ -3656,12 +3656,12 @@ function pn(e, t) {
3656
3656
  get className() {
3657
3657
  return s(o);
3658
3658
  }
3659
- }), O(u), re(() => se(u, 1, Ae(i()))), N(e, u), we(l);
3659
+ }), O(u), re(() => oe(u, 1, Ie(i()))), N(e, u), ve(l);
3660
3660
  }
3661
- be(pn, { isCorrect: {}, iconType: {}, parentProps: {} }, [], [], !0);
3661
+ we(pn, { isCorrect: {}, iconType: {}, parentProps: {} }, [], [], !0);
3662
3662
  var Sl = /* @__PURE__ */ z('<span class="sr-only">Alert. &nbsp;</span>'), Tl = /* @__PURE__ */ z("<div><!> <div><!> <span><!></span></div></div>");
3663
3663
  function Li(e, t) {
3664
- ve(t, !0);
3664
+ ge(t, !0);
3665
3665
  let r = y(t, "type", 7, "incorrect"), n = y(t, "message", 7, ""), i = y(t, "showIcon", 7, !1), a = y(t, "iconType", 7, "result"), o = y(t, "isAlert", 7, !0), l = y(t, "iconProps", 7, ""), u = /* @__PURE__ */ S(c);
3666
3666
  function c() {
3667
3667
  const m = "my-6 p-4 border-l-4 flex text-charcoal text-base";
@@ -3711,17 +3711,17 @@ function Li(e, t) {
3711
3711
  set iconProps(m = "") {
3712
3712
  l(m), x();
3713
3713
  }
3714
- }, h = xe(), d = ue(h);
3714
+ }, h = be(), d = ue(h);
3715
3715
  {
3716
3716
  var f = (m) => {
3717
3717
  var g = Tl(), w = F(g);
3718
3718
  {
3719
3719
  var C = (b) => {
3720
3720
  {
3721
- let E = /* @__PURE__ */ S(() => r() === "correct"), L = /* @__PURE__ */ S(() => `${l()} ${r() === "correct" ? "text-green-900" : "text-red-900"}`);
3721
+ let A = /* @__PURE__ */ S(() => r() === "correct"), L = /* @__PURE__ */ S(() => `${l()} ${r() === "correct" ? "text-green-900" : "text-red-900"}`);
3722
3722
  pn(b, {
3723
3723
  get isCorrect() {
3724
- return s(E);
3724
+ return s(A);
3725
3725
  },
3726
3726
  get iconType() {
3727
3727
  return a();
@@ -3732,36 +3732,36 @@ function Li(e, t) {
3732
3732
  });
3733
3733
  }
3734
3734
  };
3735
- U(w, (b) => {
3735
+ q(w, (b) => {
3736
3736
  i() && r() !== "skipped" && b(C);
3737
3737
  });
3738
3738
  }
3739
3739
  var k = Q(w, 2), M = F(k);
3740
3740
  {
3741
3741
  var v = (b) => {
3742
- var E = Sl();
3743
- N(b, E);
3742
+ var A = Sl();
3743
+ N(b, A);
3744
3744
  };
3745
- U(M, (b) => {
3745
+ q(M, (b) => {
3746
3746
  o() || b(v);
3747
3747
  });
3748
3748
  }
3749
- var A = Q(M, 2), _ = F(A);
3749
+ var I = Q(M, 2), _ = F(I);
3750
3750
  Ut(_, {
3751
3751
  get htmlString() {
3752
3752
  return n();
3753
3753
  }
3754
- }), O(A), O(k), O(g), re(() => {
3755
- se(g, 1, Ae(s(u))), X(g, "role", o() ? "alert" : null);
3754
+ }), O(I), O(k), O(g), re(() => {
3755
+ oe(g, 1, Ie(s(u))), X(g, "role", o() ? "alert" : null);
3756
3756
  }), N(m, g);
3757
3757
  };
3758
- U(d, (m) => {
3758
+ q(d, (m) => {
3759
3759
  n() && m(f);
3760
3760
  });
3761
3761
  }
3762
- return N(e, h), we(p);
3762
+ return N(e, h), ve(p);
3763
3763
  }
3764
- be(
3764
+ we(
3765
3765
  Li,
3766
3766
  {
3767
3767
  type: {},
@@ -3803,7 +3803,7 @@ const vn = (e) => [
3803
3803
  "Y",
3804
3804
  "Z"
3805
3805
  ][e];
3806
- function Al(e, t, r) {
3806
+ function Il(e, t, r) {
3807
3807
  return t ? {
3808
3808
  type: "skipped",
3809
3809
  message: r || "No answer provided",
@@ -3830,7 +3830,7 @@ function Ni(e, t, r) {
3830
3830
  hasMedia: p
3831
3831
  };
3832
3832
  }
3833
- function Il(e, t, r, n) {
3833
+ function Al(e, t, r, n) {
3834
3834
  const i = Ni(e, t), a = i.selectedOptions, o = i.totalCorrectAnswers, l = i.isFinished, u = i.mode, c = u === fe.PREVIEW, p = u === fe.INTERACTIVE, h = u === fe.SESSION, d = a.length === o && r(a), f = h && !a.length || p && e.data.interactiveHasAnswered && !a.length, m = !c && (h && l && !f && (!r(a) || !a.length) || p && !f && (a.length === o || !a.length && e.data.interactiveHasAnswered)), g = n(a);
3835
3835
  return {
3836
3836
  isFeedbackShown: m,
@@ -3840,7 +3840,7 @@ function Il(e, t, r, n) {
3840
3840
  };
3841
3841
  }
3842
3842
  function El(e, t, r, n, i) {
3843
- const a = n.data.selectedOptions ?? [], o = r.correctAnswerIds ?? [], l = !!r.isFinished, u = r.mode, c = r.maxSelections ?? o.length ?? 1, p = u === fe.PREVIEW, h = u === fe.INTERACTIVE, d = u === fe.SESSION, f = a.includes(e.id), m = o.includes(e.id), g = p || h && a.length === c || d && l, w = p && m || h && f && a.length === c || d && l && f, C = c > 1 && (!l && d || (d || p || h) && l && !f && !m || h), k = !p && m && !f && (d && l || h && a.length === c), M = f && c === 1 && !i && !p && (d && l || h && a.length === c), v = f && c === 1 && i && !p && (d && l || h && a.length === c), A = (() => {
3843
+ const a = n.data.selectedOptions ?? [], o = r.correctAnswerIds ?? [], l = !!r.isFinished, u = r.mode, c = r.maxSelections ?? o.length ?? 1, p = u === fe.PREVIEW, h = u === fe.INTERACTIVE, d = u === fe.SESSION, f = a.includes(e.id), m = o.includes(e.id), g = p || h && a.length === c || d && l, w = p && m || h && f && a.length === c || d && l && f, C = c > 1 && (!l && d || (d || p || h) && l && !f && !m || h), k = !p && m && !f && (d && l || h && a.length === c), M = f && c === 1 && !i && !p && (d && l || h && a.length === c), v = f && c === 1 && i && !p && (d && l || h && a.length === c), I = (() => {
3844
3844
  const b = ["group", "btn-mcq-option"];
3845
3845
  return i && b.push("min-w-[288px]", "max-w-[304px]", "min-h-[210px]", "block"), !l || h ? b.push("active:raw-focus-ring-by") : b.push("finished"), f && b.push("selected"), k && b.push("missing"), g && m ? b.push("correct") : g && f && b.push("incorrect"), h && b.push("interactive"), b.join(" ");
3846
3846
  })(), _ = (() => {
@@ -3858,13 +3858,13 @@ function El(e, t, r, n, i) {
3858
3858
  showMediaStudentLabel: v,
3859
3859
  showMissingAnswerLabel: k,
3860
3860
  shouldShowCorrectness: g,
3861
- buttonClasses: A,
3861
+ buttonClasses: I,
3862
3862
  checkboxClasses: _
3863
3863
  };
3864
3864
  }
3865
3865
  function ui(e, t) {
3866
- ve(t, !0);
3867
- let r = y(t, "feedbackState", 7), n = y(t, "isInteractiveMode", 7, !1), i = /* @__PURE__ */ S(() => Al(r().isResultCorrect, r().isSkipped, r().resultFeedback));
3866
+ ge(t, !0);
3867
+ let r = y(t, "feedbackState", 7), n = y(t, "isInteractiveMode", 7, !1), i = /* @__PURE__ */ S(() => Il(r().isResultCorrect, r().isSkipped, r().resultFeedback));
3868
3868
  var a = {
3869
3869
  get feedbackState() {
3870
3870
  return r();
@@ -3878,7 +3878,7 @@ function ui(e, t) {
3878
3878
  set isInteractiveMode(c = !1) {
3879
3879
  n(c), x();
3880
3880
  }
3881
- }, o = xe(), l = ue(o);
3881
+ }, o = be(), l = ue(o);
3882
3882
  {
3883
3883
  var u = (c) => {
3884
3884
  {
@@ -3900,13 +3900,13 @@ function ui(e, t) {
3900
3900
  });
3901
3901
  }
3902
3902
  };
3903
- U(l, (c) => {
3903
+ q(l, (c) => {
3904
3904
  r().isFeedbackShown && s(i).message && c(u);
3905
3905
  });
3906
3906
  }
3907
- return N(e, o), we(a);
3907
+ return N(e, o), ve(a);
3908
3908
  }
3909
- be(ui, { feedbackState: {}, isInteractiveMode: {} }, [], [], !0);
3909
+ we(ui, { feedbackState: {}, isInteractiveMode: {} }, [], [], !0);
3910
3910
  const Ml = () => {
3911
3911
  const e = () => {
3912
3912
  let i = document.activeElement;
@@ -3961,8 +3961,8 @@ const Ml = () => {
3961
3961
  };
3962
3962
  var Nl = /* @__PURE__ */ z('<dialog aria-modal="true" class="bg-transparent max-w-none max-h-none w-screen h-screen"><div role="button" aria-hidden="true"></div> <!></dialog>');
3963
3963
  function Ri(e, t) {
3964
- ve(t, !0);
3965
- let r = y(t, "modalData", 23, () => ({ modalAriaLabel: "", isModalOpen: !1 })), n = y(t, "modalClass", 7, ""), i = y(t, "onupdateModalSettings", 7), a = y(t, "onclose", 7), o = y(t, "children", 7), l = /* @__PURE__ */ S(() => r()?.modalAriaLabel ?? ""), u = /* @__PURE__ */ S(() => r()?.isModalOpen ?? !1), c = /* @__PURE__ */ q(null);
3964
+ ge(t, !0);
3965
+ let r = y(t, "modalData", 23, () => ({ modalAriaLabel: "", isModalOpen: !1 })), n = y(t, "modalClass", 7, ""), i = y(t, "onupdateModalSettings", 7), a = y(t, "onclose", 7), o = y(t, "children", 7), l = /* @__PURE__ */ S(() => r()?.modalAriaLabel ?? ""), u = /* @__PURE__ */ S(() => r()?.isModalOpen ?? !1), c = /* @__PURE__ */ j(null);
3966
3966
  const { handleTabKey: p } = Ml(), h = () => {
3967
3967
  const w = { isModalOpen: !1, modalAriaLabel: "" };
3968
3968
  r(w), s(c)?.close(), i()?.(new CustomEvent("updateModalSettings", { detail: w })), a()?.();
@@ -4008,14 +4008,14 @@ function Ri(e, t) {
4008
4008
  var m = F(f);
4009
4009
  m.__click = h;
4010
4010
  var g = Q(m, 2);
4011
- return yr(g, () => o() ?? Pe), O(f), Mt(f, (w) => I(c, w), () => s(c)), re(() => {
4012
- X(f, "aria-label", s(l)), se(m, 1, `blanket-overlay ${n() ?? ""}`);
4011
+ return yr(g, () => o() ?? Pe), O(f), Mt(f, (w) => E(c, w), () => s(c)), re(() => {
4012
+ X(f, "aria-label", s(l)), oe(m, 1, `blanket-overlay ${n() ?? ""}`);
4013
4013
  }), ct("close", f, () => {
4014
4014
  s(u) && h();
4015
- }), ct("keypress", m, () => !1), N(e, f), we(d);
4015
+ }), ct("keypress", m, () => !1), N(e, f), ve(d);
4016
4016
  }
4017
- Ar(["keydown", "click"]);
4018
- be(
4017
+ Ir(["keydown", "click"]);
4018
+ we(
4019
4019
  Ri,
4020
4020
  {
4021
4021
  modalData: {},
@@ -4039,29 +4039,29 @@ function Ol(e, { delay: t = 0, duration: r = 400, easing: n = Rl } = {}) {
4039
4039
  };
4040
4040
  }
4041
4041
  const Dl = (e, t, r, n, i, a, o, l) => {
4042
- t() !== "hover" || r || n() || (i(), I(
4042
+ t() !== "hover" || r || n() || (i(), E(
4043
4043
  a,
4044
4044
  setTimeout(
4045
4045
  () => {
4046
- I(o, !0), I(l, !0);
4046
+ E(o, !0), E(l, !0);
4047
4047
  },
4048
4048
  500
4049
4049
  ),
4050
4050
  !0
4051
4051
  ));
4052
4052
  }, Fl = (e, t, r, n, i, a, o) => {
4053
- t() !== "hover" || r || (n(), s(i) && I(
4053
+ t() !== "hover" || r || (n(), s(i) && E(
4054
4054
  a,
4055
4055
  setTimeout(
4056
4056
  () => {
4057
- I(i, !1), I(o, !1);
4057
+ E(i, !1), E(o, !1);
4058
4058
  },
4059
4059
  1e3
4060
4060
  ),
4061
4061
  !0
4062
4062
  ));
4063
4063
  }, $l = (e, t, r, n, i, a) => {
4064
- t() !== "hover" || r || (n(), s(i) && (I(i, !1), I(a, !1)));
4064
+ t() !== "hover" || r || (n(), s(i) && (E(i, !1), E(a, !1)));
4065
4065
  };
4066
4066
  var Pl = (
4067
4067
  // Cleanup effect
@@ -4070,23 +4070,23 @@ var Pl = (
4070
4070
  }
4071
4071
  ), Hl = /* @__PURE__ */ z('<div><div role="tooltip"> <span aria-hidden="true"></span></div></div>'), zl = /* @__PURE__ */ z('<div class="relative inline-block"><!> <!></div>');
4072
4072
  function vo(e, t) {
4073
- ve(t, !0);
4074
- let r = y(t, "text", 7), n = y(t, "placement", 7, "bottom"), i = y(t, "open", 7, void 0), a = y(t, "disabled", 7, !1), o = y(t, "trigger", 7, "hover"), l = y(t, "tooltipClass", 7, ""), u = y(t, "showDelay", 7, 80), c = y(t, "hideDelay", 7, 120), p = y(t, "children", 7), h = /* @__PURE__ */ q(!1), d = /* @__PURE__ */ q(null), f = /* @__PURE__ */ q(null), m = /* @__PURE__ */ q(null), g = /* @__PURE__ */ q(!1), w = /* @__PURE__ */ q(null);
4073
+ ge(t, !0);
4074
+ let r = y(t, "text", 7), n = y(t, "placement", 7, "bottom"), i = y(t, "open", 7, void 0), a = y(t, "disabled", 7, !1), o = y(t, "trigger", 7, "hover"), l = y(t, "tooltipClass", 7, ""), u = y(t, "showDelay", 7, 80), c = y(t, "hideDelay", 7, 120), p = y(t, "children", 7), h = /* @__PURE__ */ j(!1), d = /* @__PURE__ */ j(null), f = /* @__PURE__ */ j(null), m = /* @__PURE__ */ j(null), g = /* @__PURE__ */ j(!1), w = /* @__PURE__ */ j(null);
4075
4075
  const C = i() !== void 0;
4076
4076
  let k = /* @__PURE__ */ S(() => !a() && (C ? i() : s(h)));
4077
4077
  const M = () => {
4078
- s(d) && (clearTimeout(s(d)), I(d, null)), s(f) && (clearTimeout(s(f)), I(f, null)), s(m) && (clearTimeout(s(m)), I(m, null));
4078
+ s(d) && (clearTimeout(s(d)), E(d, null)), s(f) && (clearTimeout(s(f)), E(f, null)), s(m) && (clearTimeout(s(m)), E(m, null));
4079
4079
  }, v = () => {
4080
- o() !== "hover" || C || (M(), I(d, setTimeout(() => I(h, !0), u()), !0));
4081
- }, A = () => {
4082
- o() !== "hover" || C || (M(), I(f, setTimeout(() => I(h, !1), c()), !0));
4080
+ o() !== "hover" || C || (M(), E(d, setTimeout(() => E(h, !0), u()), !0));
4081
+ }, I = () => {
4082
+ o() !== "hover" || C || (M(), E(f, setTimeout(() => E(h, !1), c()), !0));
4083
4083
  }, _ = () => {
4084
- C || (M(), I(h, !1));
4084
+ C || (M(), E(h, !1));
4085
4085
  };
4086
4086
  function b() {
4087
- C || (M(), I(h, !0));
4087
+ C || (M(), E(h, !0));
4088
4088
  }
4089
- function E() {
4089
+ function A() {
4090
4090
  C || _();
4091
4091
  }
4092
4092
  const L = {
@@ -4107,7 +4107,7 @@ function vo(e, t) {
4107
4107
  Te(() => () => M());
4108
4108
  var P = {
4109
4109
  show: b,
4110
- hide: E,
4110
+ hide: A,
4111
4111
  get text() {
4112
4112
  return r();
4113
4113
  },
@@ -4163,7 +4163,7 @@ function vo(e, t) {
4163
4163
  p(R), x();
4164
4164
  }
4165
4165
  }, W = zl();
4166
- W.__focusin = v, W.__focusout = A, W.__touchstart = [
4166
+ W.__focusin = v, W.__focusout = I, W.__touchstart = [
4167
4167
  Dl,
4168
4168
  o,
4169
4169
  C,
@@ -4193,18 +4193,18 @@ function vo(e, t) {
4193
4193
  var B = Q(ce, 2);
4194
4194
  {
4195
4195
  var D = (R) => {
4196
- var Z = Hl(), K = F(Z), ne = F(K), ae = Q(ne);
4197
- O(K), Mt(K, (he) => I(w, he), () => s(w)), O(Z), re(() => {
4198
- se(Z, 1, `absolute z-50 pointer-events-none select-none ${s(V) ?? ""}`), X(K, "aria-hidden", !s(k)), se(K, 1, `rounded-md bg-gray-900 text-white p-3 font-normal text-sm leading-[150%] max-w-[300px] break-words ${l() ?? ""}`), dt(ne, `${r() ?? ""} `), se(ae, 1, `tooltip-arrow absolute w-2 h-2 bg-gray-900 ${s($) ?? ""}`);
4199
- }), rl(3, Z, () => Ol, () => ({ duration: 40 })), N(R, Z);
4196
+ var Y = Hl(), K = F(Y), te = F(K), ne = Q(te);
4197
+ O(K), Mt(K, (_e) => E(w, _e), () => s(w)), O(Y), re(() => {
4198
+ oe(Y, 1, `absolute z-50 pointer-events-none select-none ${s(V) ?? ""}`), X(K, "aria-hidden", !s(k)), oe(K, 1, `rounded-md bg-gray-900 text-white p-3 font-normal text-sm leading-[150%] max-w-[300px] break-words ${l() ?? ""}`), dt(te, `${r() ?? ""} `), oe(ne, 1, `tooltip-arrow absolute w-2 h-2 bg-gray-900 ${s($) ?? ""}`);
4199
+ }), rl(3, Y, () => Ol, () => ({ duration: 40 })), N(R, Y);
4200
4200
  };
4201
- U(B, (R) => {
4201
+ q(B, (R) => {
4202
4202
  s(k) && R(D);
4203
4203
  });
4204
4204
  }
4205
- return O(W), ct("mouseenter", W, v), ct("mouseleave", W, A), N(e, W), we(P);
4205
+ return O(W), ct("mouseenter", W, v), ct("mouseleave", W, I), N(e, W), ve(P);
4206
4206
  }
4207
- Ar([
4207
+ Ir([
4208
4208
  "focusin",
4209
4209
  "focusout",
4210
4210
  "touchstart",
@@ -4212,7 +4212,7 @@ Ar([
4212
4212
  "touchmove",
4213
4213
  "keydown"
4214
4214
  ]);
4215
- be(
4215
+ we(
4216
4216
  vo,
4217
4217
  {
4218
4218
  text: {},
@@ -4230,8 +4230,8 @@ be(
4230
4230
  !0
4231
4231
  );
4232
4232
  var Bl = /* @__PURE__ */ z("<span><!></span>"), Vl = /* @__PURE__ */ z("<button><!></button>");
4233
- function At(e, t) {
4234
- ve(t, !0);
4233
+ function It(e, t) {
4234
+ ge(t, !0);
4235
4235
  let r = y(t, "ariaLabel", 7, ""), n = y(t, "ariaHaspopup", 7), i = y(t, "className", 7, ""), a = y(t, "disabled", 7, !1), o = y(t, "pressed", 7, !1), l = y(t, "transparent", 7, !1), u = y(t, "variant", 7, "standard"), c = y(t, "type", 7, "button"), p = y(t, "tabindex", 7, 0), h = y(t, "onclick", 7), d = y(t, "children", 7), f = /* @__PURE__ */ S(() => () => {
4236
4236
  switch (u()) {
4237
4237
  case "touch-target":
@@ -4316,29 +4316,29 @@ function At(e, t) {
4316
4316
  var C = F(g);
4317
4317
  {
4318
4318
  var k = (v) => {
4319
- var A = Bl(), _ = F(A);
4320
- yr(_, () => d() ?? Pe), O(A), re(() => se(A, 1, `btn-icon-sm ${l() ? "bg-white/80" : ""}`)), N(v, A);
4319
+ var I = Bl(), _ = F(I);
4320
+ yr(_, () => d() ?? Pe), O(I), re(() => oe(I, 1, `btn-icon-sm ${l() ? "bg-white/80" : ""}`)), N(v, I);
4321
4321
  }, M = (v) => {
4322
- var A = xe(), _ = ue(A);
4323
- yr(_, () => d() ?? Pe), N(v, A);
4322
+ var I = be(), _ = ue(I);
4323
+ yr(_, () => d() ?? Pe), N(v, I);
4324
4324
  };
4325
- U(C, (v) => {
4325
+ q(C, (v) => {
4326
4326
  u() === "touch-target" ? v(k) : v(M, !1);
4327
4327
  });
4328
4328
  }
4329
4329
  return O(g), re(
4330
- (v, A) => {
4331
- X(g, "type", c()), X(g, "tabindex", p()), w = se(g, 1, v, null, w, A), X(g, "aria-label", r()), X(g, "aria-haspopup", n()), g.disabled = a();
4330
+ (v, I) => {
4331
+ X(g, "type", c()), X(g, "tabindex", p()), w = oe(g, 1, v, null, w, I), X(g, "aria-label", r()), X(g, "aria-haspopup", n()), g.disabled = a();
4332
4332
  },
4333
4333
  [
4334
- () => Ae(s(f)()),
4334
+ () => Ie(s(f)()),
4335
4335
  () => ({ "btn-pressed": u() === "standard" && o() })
4336
4336
  ]
4337
- ), N(e, g), we(m);
4337
+ ), N(e, g), ve(m);
4338
4338
  }
4339
- Ar(["click"]);
4340
- be(
4341
- At,
4339
+ Ir(["click"]);
4340
+ we(
4341
+ It,
4342
4342
  {
4343
4343
  ariaLabel: {},
4344
4344
  ariaHaspopup: {},
@@ -4404,28 +4404,28 @@ function wo() {
4404
4404
  const c = () => o >= Ki ? { horiz: 128, top: 96, bottom: 96, maxCap: 54 } : o >= jn ? { horiz: 48, top: 56, bottom: 72, maxCap: 54 } : { horiz: 0, top: 56, bottom: 72, maxCap: 42 }, { horiz: p, top: h, bottom: d } = c(), f = l - h - d, m = Math.max(0, o - p);
4405
4405
  let w = (() => {
4406
4406
  if (u <= 0) return 0;
4407
- const R = o >= jn ? 24 : 20, Z = R * 1.5, K = 2 * R;
4408
- return u <= Z ? R + di : K + di;
4407
+ const R = o >= jn ? 24 : 20, Y = R * 1.5, K = 2 * R;
4408
+ return u <= Y ? R + di : K + di;
4409
4409
  })();
4410
4410
  const C = w > 0, k = f - 2 * w, M = f - w;
4411
4411
  let v = k;
4412
4412
  v < 0 && (v = Math.max(0, f * 0.4), w = Math.max(0, (f - v) / 2));
4413
- let A = i, _ = a;
4414
- if (A > m) {
4415
- const R = m / A;
4416
- A = m, _ = _ * R;
4413
+ let I = i, _ = a;
4414
+ if (I > m) {
4415
+ const R = m / I;
4416
+ I = m, _ = _ * R;
4417
4417
  }
4418
- const b = f, E = C ? Math.min(b, v) : b;
4418
+ const b = f, A = C ? Math.min(b, v) : b;
4419
4419
  let L = !1;
4420
- if (_ > E)
4421
- if (C && M > E) {
4422
- const R = Math.min(M, b), Z = R / _;
4423
- _ = R, A = A * Z, L = !0;
4420
+ if (_ > A)
4421
+ if (C && M > A) {
4422
+ const R = Math.min(M, b), Y = R / _;
4423
+ _ = R, I = I * Y, L = !0;
4424
4424
  } else {
4425
- const R = E / _;
4426
- _ = E, A = A * R, L = C;
4425
+ const R = A / _;
4426
+ _ = A, I = I * R, L = C;
4427
4427
  }
4428
- const V = `${Math.min(A, m)}px`, $ = Math.round(_), P = L && _ > k, W = f - _, ce = P ? 0 : W > 0 ? Math.round(W / 2) : 0;
4428
+ const V = `${Math.min(I, m)}px`, $ = Math.round(_), P = L && _ > k, W = f - _, ce = P ? 0 : W > 0 ? Math.round(W / 2) : 0;
4429
4429
  let B = 0;
4430
4430
  C ? P ? B = 0 : B = Math.max(0, ce - w) : B = ce;
4431
4431
  const D = `${f}px`;
@@ -4443,12 +4443,12 @@ function wo() {
4443
4443
  }
4444
4444
  var Wl = /* @__PURE__ */ z('<span class="w-6 h-6 flex items-center justify-center"><!></span>'), jl = /* @__PURE__ */ z('<span class="w-6 h-6 flex items-center justify-center"><!></span>'), ql = /* @__PURE__ */ z('<div><span aria-hidden="true"><!></span></div>'), Ul = /* @__PURE__ */ z('<span class="w-4 h-4 flex items-center justify-center"><!></span>'), Yl = /* @__PURE__ */ z('<span class="w-4 h-4 flex items-center justify-center"><!></span>'), Zl = /* @__PURE__ */ z('<div class="absolute inset-0 m-0"><div class="w-full h-full px-0 md:px-[82px] lg:px-[128px] pt-14 pb-[72px] relative lg:py-24 flex flex-col items-center justify-center"><div aria-live="polite" aria-atomic="true" class="sr-only"> </div> <div class="w-full h-full flex flex-col md:flex-row md:justify-center items-center justify-between"><div class="md:hidden"></div> <!> <!> <div><div class="flex-shrink-0 flex items-center justify-between py-1 px-2 md:px-4 border-border-minimal border rounded-t-md lg:rounded-t-lg md:gap-4 h-8.5 md:h-fit"><!> <!> <!></div> <div class="rounded-b-md"><img class="mx-auto block rounded-b-md lg:rounded-b-lg object-contain max-w-full max-h-[calc(100vh-168px-34px)] md:max-h-[calc(100vh-128px-54px)] lg:max-h-[calc(100vh-192px-54px)] pointer-events-none"/></div></div> <div class="md:hidden flex justify-center items-center gap-1 flex-shrink-0 h-6 mt-4"><!> <!></div></div></div></div>');
4445
4445
  function bo(e, t) {
4446
- ve(t, !0);
4447
- let r = y(t, "isOpen", 7, !1), n = y(t, "options", 23, () => []), i = y(t, "currentIndex", 7, 0), a = y(t, "modalAriaLabel", 7, ""), o = y(t, "onnavigate", 7), l = y(t, "onclose", 7), u = /* @__PURE__ */ S(() => n()[i()]), c = /* @__PURE__ */ S(() => s(u)?.media?.file?.url || ""), p = /* @__PURE__ */ S(() => s(u)?.media?.alternative_text ? `${s(u).media.alternative_text}` : ""), h = /* @__PURE__ */ S(() => s(u)?.answer ? Jr(s(u).answer) : ""), d = /* @__PURE__ */ q(null), f = /* @__PURE__ */ q(0), m = /* @__PURE__ */ q(0), g = /* @__PURE__ */ q("100%"), w = /* @__PURE__ */ q(null), C = /* @__PURE__ */ q(!1), k = /* @__PURE__ */ q(""), M = /* @__PURE__ */ q(null), v = /* @__PURE__ */ q(null), A = /* @__PURE__ */ q(!1), _ = /* @__PURE__ */ q(!1), b = /* @__PURE__ */ q(!1), E = /* @__PURE__ */ q(!1);
4446
+ ge(t, !0);
4447
+ let r = y(t, "isOpen", 7, !1), n = y(t, "options", 23, () => []), i = y(t, "currentIndex", 7, 0), a = y(t, "modalAriaLabel", 7, ""), o = y(t, "onnavigate", 7), l = y(t, "onclose", 7), u = /* @__PURE__ */ S(() => n()[i()]), c = /* @__PURE__ */ S(() => s(u)?.media?.file?.url || ""), p = /* @__PURE__ */ S(() => s(u)?.media?.alternative_text ? `${s(u).media.alternative_text}` : ""), h = /* @__PURE__ */ S(() => s(u)?.answer ? Jr(s(u).answer) : ""), d = /* @__PURE__ */ j(null), f = /* @__PURE__ */ j(0), m = /* @__PURE__ */ j(0), g = /* @__PURE__ */ j("100%"), w = /* @__PURE__ */ j(null), C = /* @__PURE__ */ j(!1), k = /* @__PURE__ */ j(""), M = /* @__PURE__ */ j(null), v = /* @__PURE__ */ j(null), I = /* @__PURE__ */ j(!1), _ = /* @__PURE__ */ j(!1), b = /* @__PURE__ */ j(!1), A = /* @__PURE__ */ j(!1);
4448
4448
  const { calculateContainerWidth: L } = wo();
4449
4449
  let V = /* @__PURE__ */ S(() => ({ isModalOpen: r(), modalAriaLabel: a() }));
4450
4450
  const $ = () => {
4451
- I(
4451
+ E(
4452
4452
  g,
4453
4453
  L({
4454
4454
  naturalWidth: s(f),
@@ -4457,124 +4457,124 @@ function bo(e, t) {
4457
4457
  !0
4458
4458
  );
4459
4459
  }, P = () => {
4460
- s(d) && (I(f, s(d).naturalWidth, !0), I(m, s(d).naturalHeight, !0), $()), I(b, !0), ce();
4460
+ s(d) && (E(f, s(d).naturalWidth, !0), E(m, s(d).naturalHeight, !0), $()), E(b, !0), ce();
4461
4461
  }, W = () => {
4462
4462
  r() && s(b) && s(d) && ($(), ce());
4463
4463
  };
4464
4464
  Te(() => {
4465
- s(c) && (I(g, "100%"), I(f, 0), I(m, 0), I(b, !1));
4465
+ s(c) && (E(g, "100%"), E(f, 0), E(m, 0), E(b, !1));
4466
4466
  });
4467
4467
  const ce = () => {
4468
- s(w) && I(C, s(w).scrollHeight > s(w).clientHeight);
4468
+ s(w) && E(C, s(w).scrollHeight > s(w).clientHeight);
4469
4469
  };
4470
4470
  Te(() => {
4471
4471
  s(h) && s(w) && tr().then(ce);
4472
4472
  }), Te(() => {
4473
4473
  i() !== void 0 && s(b) && tr().then(ce);
4474
4474
  });
4475
- const B = (Y) => {
4476
- const _e = Y?.answer ? Jr(Y.answer) : "", Ie = Y?.media?.alternative_text || "";
4477
- return `${_e} , ${Ie}`;
4475
+ const B = (U) => {
4476
+ const ye = U?.answer ? Jr(U.answer) : "", Ae = U?.media?.alternative_text || "";
4477
+ return `${ye} , ${Ae}`;
4478
4478
  }, D = () => {
4479
4479
  if (!n() || n().length === 0) return;
4480
- const Y = (i() - 1 + n().length) % n().length;
4481
- I(k, B(n()[Y]), !0), o()?.({ index: Y });
4480
+ const U = (i() - 1 + n().length) % n().length;
4481
+ E(k, B(n()[U]), !0), o()?.({ index: U });
4482
4482
  }, R = () => {
4483
4483
  if (!n() || n().length === 0) return;
4484
- const Y = (i() + 1) % n().length;
4485
- I(k, B(n()[Y]), !0), o()?.({ index: Y });
4486
- }, Z = () => {
4484
+ const U = (i() + 1) % n().length;
4485
+ E(k, B(n()[U]), !0), o()?.({ index: U });
4486
+ }, Y = () => {
4487
4487
  l()?.();
4488
- }, K = ({ detail: Y }) => {
4489
- Y.isModalOpen || Z();
4490
- }, ne = (Y, _e = 150) => {
4491
- Y(!0), setTimeout(() => Y(!1), _e);
4492
- }, ae = {
4488
+ }, K = ({ detail: U }) => {
4489
+ U.isModalOpen || Y();
4490
+ }, te = (U, ye = 150) => {
4491
+ U(!0), setTimeout(() => U(!1), ye);
4492
+ }, ne = {
4493
4493
  ArrowLeft: () => {
4494
- ne((Y) => I(A, Y, !0)), D();
4494
+ te((U) => E(I, U, !0)), D();
4495
4495
  },
4496
4496
  ArrowRight: () => {
4497
- ne((Y) => I(_, Y, !0)), R();
4497
+ te((U) => E(_, U, !0)), R();
4498
4498
  }
4499
- }, he = (Y) => {
4499
+ }, _e = (U) => {
4500
4500
  if (!r() || !n()?.length) return;
4501
- const _e = ae[Y.key];
4502
- _e && (_e(), Y.preventDefault());
4501
+ const ye = ne[U.key];
4502
+ ye && (ye(), U.preventDefault());
4503
4503
  };
4504
4504
  Te(() => {
4505
- r() && s(u) && I(k, B(s(u)), !0);
4505
+ r() && s(u) && E(k, B(s(u)), !0);
4506
4506
  }), Te(() => {
4507
- r() && !s(E) && tr().then(() => {
4508
- const _e = window.innerWidth < Xe.MD;
4509
- s(_e ? v : M)?.focus(), I(E, !0);
4507
+ r() && !s(A) && tr().then(() => {
4508
+ const ye = window.innerWidth < Xe.MD;
4509
+ s(ye ? v : M)?.focus(), E(A, !0);
4510
4510
  });
4511
4511
  }), Te(() => {
4512
- r() || I(E, !1);
4512
+ r() || E(A, !1);
4513
4513
  }), Te(() => {
4514
4514
  if (typeof window < "u")
4515
- return window.addEventListener("keydown", he), window.addEventListener("resize", W), () => {
4516
- window.removeEventListener("keydown", he), window.removeEventListener("resize", W);
4515
+ return window.addEventListener("keydown", _e), window.addEventListener("resize", W), () => {
4516
+ window.removeEventListener("keydown", _e), window.removeEventListener("resize", W);
4517
4517
  };
4518
4518
  });
4519
- var j = {
4519
+ var G = {
4520
4520
  get isOpen() {
4521
4521
  return r();
4522
4522
  },
4523
- set isOpen(Y = !1) {
4524
- r(Y), x();
4523
+ set isOpen(U = !1) {
4524
+ r(U), x();
4525
4525
  },
4526
4526
  get options() {
4527
4527
  return n();
4528
4528
  },
4529
- set options(Y = []) {
4530
- n(Y), x();
4529
+ set options(U = []) {
4530
+ n(U), x();
4531
4531
  },
4532
4532
  get currentIndex() {
4533
4533
  return i();
4534
4534
  },
4535
- set currentIndex(Y = 0) {
4536
- i(Y), x();
4535
+ set currentIndex(U = 0) {
4536
+ i(U), x();
4537
4537
  },
4538
4538
  get modalAriaLabel() {
4539
4539
  return a();
4540
4540
  },
4541
- set modalAriaLabel(Y = "") {
4542
- a(Y), x();
4541
+ set modalAriaLabel(U = "") {
4542
+ a(U), x();
4543
4543
  },
4544
4544
  get onnavigate() {
4545
4545
  return o();
4546
4546
  },
4547
- set onnavigate(Y) {
4548
- o(Y), x();
4547
+ set onnavigate(U) {
4548
+ o(U), x();
4549
4549
  },
4550
4550
  get onclose() {
4551
4551
  return l();
4552
4552
  },
4553
- set onclose(Y) {
4554
- l(Y), x();
4553
+ set onclose(U) {
4554
+ l(U), x();
4555
4555
  }
4556
- }, te = xe(), me = ue(te);
4556
+ }, se = be(), me = ue(se);
4557
4557
  {
4558
- var pe = (Y) => {
4559
- Ri(Y, {
4558
+ var pe = (U) => {
4559
+ Ri(U, {
4560
4560
  get modalData() {
4561
4561
  return s(V);
4562
4562
  },
4563
4563
  onupdateModalSettings: K,
4564
- onclose: Z,
4564
+ onclose: Y,
4565
4565
  modalClass: "bg-charcoal/80 backdrop-blur-md pointer-events-none",
4566
- children: (_e, Ie) => {
4567
- var H = Zl(), G = F(H), ge = F(G), rt = F(ge, !0);
4568
- O(ge);
4569
- var Ce = Q(ge, 2), Ee = Q(F(Ce), 2);
4566
+ children: (ye, Ae) => {
4567
+ var H = Zl(), Z = F(H), he = F(Z), rt = F(he, !0);
4568
+ O(he);
4569
+ var Ce = Q(he, 2), Ee = Q(F(Ce), 2);
4570
4570
  Mt(
4571
- At(Ee, {
4571
+ It(Ee, {
4572
4572
  variant: "standard",
4573
4573
  transparent: !0,
4574
4574
  ariaLabel: "Previous",
4575
4575
  className: "hidden md:flex absolute left-6 lg:left-16 top-1/2 -translate-y-1/2",
4576
4576
  get pressed() {
4577
- return s(A);
4577
+ return s(I);
4578
4578
  },
4579
4579
  onclick: D,
4580
4580
  children: (ke, Ht) => {
@@ -4588,11 +4588,11 @@ function bo(e, t) {
4588
4588
  },
4589
4589
  $$slots: { default: !0 }
4590
4590
  }),
4591
- (ke) => I(M, ke, !0),
4591
+ (ke) => E(M, ke, !0),
4592
4592
  () => s(M)
4593
4593
  );
4594
4594
  var Ot = Q(Ee, 2);
4595
- At(Ot, {
4595
+ It(Ot, {
4596
4596
  variant: "standard",
4597
4597
  transparent: !0,
4598
4598
  ariaLabel: "Next",
@@ -4625,28 +4625,28 @@ function bo(e, t) {
4625
4625
  return s(h);
4626
4626
  },
4627
4627
  children: (Ht, Se) => {
4628
- var Me = ql(), Yr = F(Me), Ir = F(Yr);
4628
+ var Me = ql(), Yr = F(Me), Ar = F(Yr);
4629
4629
  {
4630
4630
  let zt = /* @__PURE__ */ S(() => s(u)?.answer);
4631
- Ut(Ir, {
4631
+ Ut(Ar, {
4632
4632
  get htmlString() {
4633
4633
  return s(zt);
4634
4634
  }
4635
4635
  });
4636
4636
  }
4637
- O(Yr), O(Me), Mt(Me, (zt) => I(w, zt), () => s(w)), re(() => {
4638
- X(Me, "tabindex", s(C) ? 0 : void 0), X(Me, "aria-label", s(C) ? s(h) : void 0), se(Me, 1, `break-all text-sm md:text-lg font-semibold text-primary-emphasis ${s(C) ? "hover:text-charcoal hover:underline hover:decoration-2 hover:underline-offset-[25%] focus-visible:bg-yellow-900 focus-visible:outline-none focus-visible:underline focus-visible:decoration-2 focus-visible:underline-offset-[25%] focus-visible:text-charcoal coarse:active:bg-yellow-900" : ""} select-none line-clamp-1`);
4637
+ O(Yr), O(Me), Mt(Me, (zt) => E(w, zt), () => s(w)), re(() => {
4638
+ X(Me, "tabindex", s(C) ? 0 : void 0), X(Me, "aria-label", s(C) ? s(h) : void 0), oe(Me, 1, `break-all text-sm md:text-lg font-semibold text-primary-emphasis ${s(C) ? "hover:text-charcoal hover:underline hover:decoration-2 hover:underline-offset-[25%] focus-visible:bg-yellow-900 focus-visible:outline-none focus-visible:underline focus-visible:decoration-2 focus-visible:underline-offset-[25%] focus-visible:text-charcoal coarse:active:bg-yellow-900" : ""} select-none line-clamp-1`);
4639
4639
  }), N(Ht, Me);
4640
4640
  },
4641
4641
  $$slots: { default: !0 }
4642
4642
  });
4643
4643
  }
4644
4644
  var qe = Q(pt, 2);
4645
- At(qe, {
4645
+ It(qe, {
4646
4646
  variant: "standard",
4647
4647
  ariaLabel: "Close",
4648
4648
  className: "flex-shrink-0 hidden md:flex",
4649
- onclick: Z,
4649
+ onclick: Y,
4650
4650
  children: (ke, Ht) => {
4651
4651
  $e(ke, {
4652
4652
  svgName: "crossIcon",
@@ -4656,11 +4656,11 @@ function bo(e, t) {
4656
4656
  $$slots: { default: !0 }
4657
4657
  });
4658
4658
  var Ft = Q(qe, 2);
4659
- At(Ft, {
4659
+ It(Ft, {
4660
4660
  variant: "touch-target",
4661
4661
  ariaLabel: "Close",
4662
4662
  className: "flex-shrink-0 md:hidden -mr-2.5",
4663
- onclick: Z,
4663
+ onclick: Y,
4664
4664
  children: (ke, Ht) => {
4665
4665
  $e(ke, {
4666
4666
  svgName: "crossIcon",
@@ -4670,15 +4670,15 @@ function bo(e, t) {
4670
4670
  $$slots: { default: !0 }
4671
4671
  }), O(or);
4672
4672
  var Gt = Q(or, 2), $t = F(Gt);
4673
- Mt($t, (ke) => I(d, ke), () => s(d)), O(Gt), O(Dt);
4673
+ Mt($t, (ke) => E(d, ke), () => s(d)), O(Gt), O(Dt);
4674
4674
  var Ge = Q(Dt, 2), Pt = F(Ge);
4675
4675
  Mt(
4676
- At(Pt, {
4676
+ It(Pt, {
4677
4677
  variant: "touch-target",
4678
4678
  transparent: !0,
4679
4679
  ariaLabel: "Previous",
4680
4680
  get pressed() {
4681
- return s(A);
4681
+ return s(I);
4682
4682
  },
4683
4683
  onclick: D,
4684
4684
  children: (ke, Ht) => {
@@ -4691,11 +4691,11 @@ function bo(e, t) {
4691
4691
  },
4692
4692
  $$slots: { default: !0 }
4693
4693
  }),
4694
- (ke) => I(v, ke, !0),
4694
+ (ke) => E(v, ke, !0),
4695
4695
  () => s(v)
4696
4696
  );
4697
4697
  var Ur = Q(Pt, 2);
4698
- At(Ur, {
4698
+ It(Ur, {
4699
4699
  variant: "touch-target",
4700
4700
  transparent: !0,
4701
4701
  ariaLabel: "Next",
@@ -4712,20 +4712,20 @@ function bo(e, t) {
4712
4712
  }), O(Se), N(ke, Se);
4713
4713
  },
4714
4714
  $$slots: { default: !0 }
4715
- }), O(Ge), O(Ce), O(G), O(H), re(() => {
4716
- dt(rt, s(k)), se(Dt, 1, `bg-white rounded-lg flex flex-col max-w-full md:max-w-[calc(100vw-164px)] lg:max-w-[calc(100vw-248px)] max-h-[calc(100vh-168px)] md:max-h-[calc(100vh-128px)] lg:max-h-[calc(100vh-192px)] ${s(b) ? "" : "opacity-0"}`), Tt(Dt, `max-width: ${s(g) ?? ""};`), X($t, "src", s(c)), X($t, "alt", s(p));
4717
- }), ct("load", $t, P), Ai($t), N(_e, H);
4715
+ }), O(Ge), O(Ce), O(Z), O(H), re(() => {
4716
+ dt(rt, s(k)), oe(Dt, 1, `bg-white rounded-lg flex flex-col max-w-full md:max-w-[calc(100vw-164px)] lg:max-w-[calc(100vw-248px)] max-h-[calc(100vh-168px)] md:max-h-[calc(100vh-128px)] lg:max-h-[calc(100vh-192px)] ${s(b) ? "" : "opacity-0"}`), Tt(Dt, `max-width: ${s(g) ?? ""};`), X($t, "src", s(c)), X($t, "alt", s(p));
4717
+ }), ct("load", $t, P), Ii($t), N(ye, H);
4718
4718
  },
4719
4719
  $$slots: { default: !0 }
4720
4720
  });
4721
4721
  };
4722
- U(me, (Y) => {
4723
- r() && Y(pe);
4722
+ q(me, (U) => {
4723
+ r() && U(pe);
4724
4724
  });
4725
4725
  }
4726
- return N(e, te), we(j);
4726
+ return N(e, se), ve(G);
4727
4727
  }
4728
- be(
4728
+ we(
4729
4729
  bo,
4730
4730
  {
4731
4731
  isOpen: {},
@@ -4740,7 +4740,7 @@ be(
4740
4740
  !0
4741
4741
  );
4742
4742
  function xo(e, t) {
4743
- ve(t, !0);
4743
+ ge(t, !0);
4744
4744
  let r = y(t, "rubric", 7), n = /* @__PURE__ */ S(() => qr(ho));
4745
4745
  var i = {
4746
4746
  get rubric() {
@@ -4749,7 +4749,7 @@ function xo(e, t) {
4749
4749
  set rubric(u) {
4750
4750
  r(u), x();
4751
4751
  }
4752
- }, a = xe(), o = ue(a);
4752
+ }, a = be(), o = ue(a);
4753
4753
  {
4754
4754
  var l = (u) => {
4755
4755
  Ut(u, {
@@ -4762,13 +4762,13 @@ function xo(e, t) {
4762
4762
  }
4763
4763
  });
4764
4764
  };
4765
- U(o, (u) => {
4765
+ q(o, (u) => {
4766
4766
  r() && u(l);
4767
4767
  });
4768
4768
  }
4769
- return N(e, a), we(i);
4769
+ return N(e, a), ve(i);
4770
4770
  }
4771
- be(xo, { rubric: {} }, [], [], !0);
4771
+ we(xo, { rubric: {} }, [], [], !0);
4772
4772
  function Gl(e) {
4773
4773
  if (!e)
4774
4774
  return {
@@ -4824,7 +4824,7 @@ function yo(e, t = "") {
4824
4824
  }
4825
4825
  var Xl = /* @__PURE__ */ z("<h1><!></h1>");
4826
4826
  function _o(e, t) {
4827
- ve(t, !0);
4827
+ ge(t, !0);
4828
4828
  let r = y(t, "prompt", 7), n = /* @__PURE__ */ S(() => yo(r()));
4829
4829
  var i = {
4830
4830
  get prompt() {
@@ -4833,7 +4833,7 @@ function _o(e, t) {
4833
4833
  set prompt(u) {
4834
4834
  r(u), x();
4835
4835
  }
4836
- }, a = xe(), o = ue(a);
4836
+ }, a = be(), o = ue(a);
4837
4837
  {
4838
4838
  var l = (u) => {
4839
4839
  var c = Xl(), p = F(c);
@@ -4844,16 +4844,16 @@ function _o(e, t) {
4844
4844
  otherClass: "item-heading prompt"
4845
4845
  }), O(c), N(u, c);
4846
4846
  };
4847
- U(o, (u) => {
4847
+ q(o, (u) => {
4848
4848
  r() && u(l);
4849
4849
  });
4850
4850
  }
4851
- return N(e, a), we(i);
4851
+ return N(e, a), ve(i);
4852
4852
  }
4853
- be(_o, { prompt: {} }, [], [], !0);
4853
+ we(_o, { prompt: {} }, [], [], !0);
4854
4854
  var Jl = /* @__PURE__ */ z('<div class="interaction-section"><!></div>');
4855
4855
  function Co(e, t) {
4856
- ve(t, !0);
4856
+ ge(t, !0);
4857
4857
  let r = y(t, "children", 7);
4858
4858
  var n = {
4859
4859
  get children() {
@@ -4863,15 +4863,15 @@ function Co(e, t) {
4863
4863
  r(o), x();
4864
4864
  }
4865
4865
  }, i = Jl(), a = F(i);
4866
- return yr(a, () => r() ?? Pe), O(i), N(e, i), we(n);
4866
+ return yr(a, () => r() ?? Pe), O(i), N(e, i), ve(n);
4867
4867
  }
4868
- be(Co, { children: {} }, [], [], !0);
4868
+ we(Co, { children: {} }, [], [], !0);
4869
4869
  var ec = /* @__PURE__ */ z("<div></div>"), tc = /* @__PURE__ */ z('<div class="px-4 w-full max-w-[1008px] mx-auto flex-shrink-0 text-center font-semibold text-sm md:text-lg leading-[150%] text-white" aria-hidden="true"> </div> <!>', 1), rc = /* @__PURE__ */ z("<div></div>"), nc = /* @__PURE__ */ z('<div class="absolute inset-0"><div class="w-full h-full flex items-center justify-center pt-14 pb-[72px] lg:py-24"><div aria-live="polite" aria-atomic="true" class="sr-only"> </div> <div class="flex flex-col items-center overflow-y-auto w-full px-0 md:px-6 lg:px-16"><div class="relative bg-white rounded-md md:rounded-lg shadow-sm overflow-hidden flex-shrink-0"><img class="block object-contain w-full h-auto max-w-full mx-auto"/> <!></div> <!></div></div></div>');
4870
4870
  function ko(e, t) {
4871
- ve(t, !0);
4871
+ ge(t, !0);
4872
4872
  let r = y(t, "isOpen", 7, !1), n = y(t, "imageUrl", 7, ""), i = y(t, "altText", 7, ""), a = y(t, "caption", 7, ""), o = y(t, "onclose", 7);
4873
4873
  const { calculateStimulusImageLayout: l } = wo();
4874
- let u = /* @__PURE__ */ q(null), c = /* @__PURE__ */ q(null), p = /* @__PURE__ */ q("100%"), h = /* @__PURE__ */ q(0), d = /* @__PURE__ */ q("100vh"), f = /* @__PURE__ */ q(0), m = /* @__PURE__ */ q(0), g = /* @__PURE__ */ q(!1), w = /* @__PURE__ */ q(""), C = /* @__PURE__ */ S(() => ({ isModalOpen: r(), modalAriaLabel: "Image viewer" })), k = /* @__PURE__ */ S(() => {
4874
+ let u = /* @__PURE__ */ j(null), c = /* @__PURE__ */ j(null), p = /* @__PURE__ */ j("100%"), h = /* @__PURE__ */ j(0), d = /* @__PURE__ */ j("100vh"), f = /* @__PURE__ */ j(0), m = /* @__PURE__ */ j(0), g = /* @__PURE__ */ j(!1), w = /* @__PURE__ */ j(""), C = /* @__PURE__ */ S(() => ({ isModalOpen: r(), modalAriaLabel: "Image viewer" })), k = /* @__PURE__ */ S(() => {
4875
4875
  let P = [`width:${s(p)}`];
4876
4876
  return s(g) || P.push(`margin-top:${s(f)}px`), a() || P.push(`margin-bottom:${s(m)}px`), P.join(";");
4877
4877
  });
@@ -4884,12 +4884,12 @@ function ko(e, t) {
4884
4884
  viewportHeight: window.innerHeight,
4885
4885
  captionHeight: P
4886
4886
  });
4887
- I(p, W.containerMaxWidth, !0), I(h, W.imageMaxHeight, !0), I(d, W.scrollMaxHeight, !0), I(f, W.imageOffsetTop, !0), I(m, W.bottomSpacerHeight, !0), I(g, W.wasCaptionConstrained, !0);
4887
+ E(p, W.containerMaxWidth, !0), E(h, W.imageMaxHeight, !0), E(d, W.scrollMaxHeight, !0), E(f, W.imageOffsetTop, !0), E(m, W.bottomSpacerHeight, !0), E(g, W.wasCaptionConstrained, !0);
4888
4888
  };
4889
- let A = null;
4889
+ let I = null;
4890
4890
  const _ = () => {
4891
- r() && (A && cancelAnimationFrame(A), A = requestAnimationFrame(() => {
4892
- A = null, v();
4891
+ r() && (I && cancelAnimationFrame(I), I = requestAnimationFrame(() => {
4892
+ I = null, v();
4893
4893
  }));
4894
4894
  }, b = (P) => {
4895
4895
  P.detail.isModalOpen || M();
@@ -4899,14 +4899,14 @@ function ko(e, t) {
4899
4899
  }), Te(() => {
4900
4900
  r() && a() !== void 0 && tr().then(() => v());
4901
4901
  }), Te(() => {
4902
- r() && i() && a() ? I(w, `Graphic, ${i()}. ${a()}`) : r() && i() ? I(w, `Graphic, ${i()}`) : r() && a() ? I(w, `Image viewer. ${a()}`) : r() && I(w, "Image viewer");
4902
+ r() && i() && a() ? E(w, `Graphic, ${i()}. ${a()}`) : r() && i() ? E(w, `Graphic, ${i()}`) : r() && a() ? E(w, `Image viewer. ${a()}`) : r() && E(w, "Image viewer");
4903
4903
  }), Te(() => {
4904
4904
  if (typeof window < "u")
4905
4905
  return window.addEventListener("resize", _), () => {
4906
- window.removeEventListener("resize", _), A && cancelAnimationFrame(A);
4906
+ window.removeEventListener("resize", _), I && cancelAnimationFrame(I);
4907
4907
  };
4908
4908
  });
4909
- var E = {
4909
+ var A = {
4910
4910
  get isOpen() {
4911
4911
  return r();
4912
4912
  },
@@ -4937,7 +4937,7 @@ function ko(e, t) {
4937
4937
  set onclose(P) {
4938
4938
  o(P), x();
4939
4939
  }
4940
- }, L = xe(), V = ue(L);
4940
+ }, L = be(), V = ue(L);
4941
4941
  {
4942
4942
  var $ = (P) => {
4943
4943
  Ri(P, {
@@ -4947,78 +4947,78 @@ function ko(e, t) {
4947
4947
  modalClass: "bg-charcoal/80 backdrop-blur-md",
4948
4948
  onupdateModalSettings: b,
4949
4949
  children: (W, ce) => {
4950
- var B = nc(), D = F(B), R = F(D), Z = F(R, !0);
4950
+ var B = nc(), D = F(B), R = F(D), Y = F(R, !0);
4951
4951
  O(R);
4952
- var K = Q(R, 2), ne = F(K), ae = F(ne);
4953
- Mt(ae, (pe) => I(u, pe), () => s(u));
4954
- var he = Q(ae, 2);
4955
- At(he, {
4952
+ var K = Q(R, 2), te = F(K), ne = F(te);
4953
+ Mt(ne, (pe) => E(u, pe), () => s(u));
4954
+ var _e = Q(ne, 2);
4955
+ It(_e, {
4956
4956
  variant: "standard",
4957
4957
  ariaLabel: "Close",
4958
4958
  transparent: !0,
4959
4959
  className: "absolute top-1.5 right-1.5",
4960
4960
  onclick: M,
4961
- children: (pe, Y) => {
4961
+ children: (pe, U) => {
4962
4962
  $e(pe, {
4963
4963
  svgName: "crossIcon",
4964
4964
  className: "w-[8.77px] h-[8.77px] md:w-[13.5px] md:h-[13.5px] text-primary-emphasis"
4965
4965
  });
4966
4966
  },
4967
4967
  $$slots: { default: !0 }
4968
- }), O(ne);
4969
- var j = Q(ne, 2);
4968
+ }), O(te);
4969
+ var G = Q(te, 2);
4970
4970
  {
4971
- var te = (pe) => {
4972
- var Y = tc(), _e = ue(Y), Ie = F(_e, !0);
4973
- O(_e), Mt(_e, (ge) => I(c, ge), () => s(c));
4974
- var H = Q(_e, 2);
4971
+ var se = (pe) => {
4972
+ var U = tc(), ye = ue(U), Ae = F(ye, !0);
4973
+ O(ye), Mt(ye, (he) => E(c, he), () => s(c));
4974
+ var H = Q(ye, 2);
4975
4975
  {
4976
- var G = (ge) => {
4976
+ var Z = (he) => {
4977
4977
  var rt = ec();
4978
- re(() => Tt(rt, `height:${s(m) ?? ""}px`)), N(ge, rt);
4978
+ re(() => Tt(rt, `height:${s(m) ?? ""}px`)), N(he, rt);
4979
4979
  };
4980
- U(H, (ge) => {
4981
- s(m) > 0 && ge(G);
4980
+ q(H, (he) => {
4981
+ s(m) > 0 && he(Z);
4982
4982
  });
4983
4983
  }
4984
4984
  re(() => {
4985
- Tt(_e, `margin-top:${di}px`), dt(Ie, a());
4986
- }), N(pe, Y);
4985
+ Tt(ye, `margin-top:${di}px`), dt(Ae, a());
4986
+ }), N(pe, U);
4987
4987
  }, me = (pe) => {
4988
- var Y = xe(), _e = ue(Y);
4988
+ var U = be(), ye = ue(U);
4989
4989
  {
4990
- var Ie = (H) => {
4991
- var G = rc();
4992
- re(() => Tt(G, `height:${s(m) ?? ""}px`)), N(H, G);
4990
+ var Ae = (H) => {
4991
+ var Z = rc();
4992
+ re(() => Tt(Z, `height:${s(m) ?? ""}px`)), N(H, Z);
4993
4993
  };
4994
- U(
4995
- _e,
4994
+ q(
4995
+ ye,
4996
4996
  (H) => {
4997
- s(m) > 0 && H(Ie);
4997
+ s(m) > 0 && H(Ae);
4998
4998
  },
4999
4999
  !0
5000
5000
  );
5001
5001
  }
5002
- N(pe, Y);
5002
+ N(pe, U);
5003
5003
  };
5004
- U(j, (pe) => {
5005
- a() ? pe(te) : pe(me, !1);
5004
+ q(G, (pe) => {
5005
+ a() ? pe(se) : pe(me, !1);
5006
5006
  });
5007
5007
  }
5008
5008
  O(K), O(D), O(B), re(() => {
5009
- dt(Z, s(w)), Tt(K, `max-height:${s(d) ?? ""}`), Tt(ne, s(k)), X(ae, "src", n()), X(ae, "alt", i()), Tt(ae, `max-height:${s(h) ?? ""}px`);
5010
- }), ct("load", ae, v), Ai(ae), N(W, B);
5009
+ dt(Y, s(w)), Tt(K, `max-height:${s(d) ?? ""}`), Tt(te, s(k)), X(ne, "src", n()), X(ne, "alt", i()), Tt(ne, `max-height:${s(h) ?? ""}px`);
5010
+ }), ct("load", ne, v), Ii(ne), N(W, B);
5011
5011
  },
5012
5012
  $$slots: { default: !0 }
5013
5013
  });
5014
5014
  };
5015
- U(V, (P) => {
5015
+ q(V, (P) => {
5016
5016
  r() && P($);
5017
5017
  });
5018
5018
  }
5019
- return N(e, L), we(E);
5019
+ return N(e, L), ve(A);
5020
5020
  }
5021
- be(
5021
+ we(
5022
5022
  ko,
5023
5023
  {
5024
5024
  isOpen: {},
@@ -5084,9 +5084,9 @@ function lc() {
5084
5084
  if (typeof window > "u")
5085
5085
  return { value: 0, cleanup: () => {
5086
5086
  } };
5087
- let e = /* @__PURE__ */ q(lt(window.innerHeight));
5087
+ let e = /* @__PURE__ */ j(lt(window.innerHeight));
5088
5088
  const t = () => {
5089
- I(e, window.innerHeight, !0);
5089
+ E(e, window.innerHeight, !0);
5090
5090
  };
5091
5091
  return window.addEventListener("resize", t), {
5092
5092
  get value() {
@@ -5099,9 +5099,9 @@ function lc() {
5099
5099
  }
5100
5100
  function So() {
5101
5101
  const e = ac();
5102
- let t = /* @__PURE__ */ q(lt(e.value)), r;
5102
+ let t = /* @__PURE__ */ j(lt(e.value)), r;
5103
5103
  return r = e.subscribe((n) => {
5104
- I(t, n, !0);
5104
+ E(t, n, !0);
5105
5105
  }), Hs(() => {
5106
5106
  r?.();
5107
5107
  }), {
@@ -5114,24 +5114,24 @@ function So() {
5114
5114
  };
5115
5115
  }
5116
5116
  function cc(e) {
5117
- let t = /* @__PURE__ */ q(!1), r = /* @__PURE__ */ q(void 0);
5117
+ let t = /* @__PURE__ */ j(!1), r = /* @__PURE__ */ j(void 0);
5118
5118
  const n = () => {
5119
5119
  if (!e || typeof window > "u") {
5120
- I(t, !1);
5120
+ E(t, !1);
5121
5121
  return;
5122
5122
  }
5123
5123
  if (e === s(r) && s(t))
5124
5124
  return;
5125
- I(r, e, !0), I(t, !1);
5125
+ E(r, e, !0), E(t, !1);
5126
5126
  const i = Array.from(e.querySelectorAll("img"));
5127
5127
  if (i.length === 0) {
5128
- I(t, !0);
5128
+ E(t, !0);
5129
5129
  return;
5130
5130
  }
5131
5131
  Promise.all(i.map((a) => a.complete ? Promise.resolve() : new Promise((o) => {
5132
5132
  a.addEventListener("load", () => o(), { once: !0 }), a.addEventListener("error", () => o(), { once: !0 });
5133
5133
  }))).then(() => {
5134
- I(t, !0);
5134
+ E(t, !0);
5135
5135
  });
5136
5136
  };
5137
5137
  return Te(() => {
@@ -5172,7 +5172,7 @@ const Xi = {
5172
5172
  "feedback",
5173
5173
  "desktop-column"
5174
5174
  ]
5175
- }, In = {
5175
+ }, An = {
5176
5176
  [_r.MCQ]: [
5177
5177
  "rubric",
5178
5178
  "stimulus-inline-text-first",
@@ -5284,7 +5284,7 @@ const uc = {
5284
5284
  { name: "divider", component: "divider", condition: e.hasDivider },
5285
5285
  { name: "interaction", component: "slot", slot: "interaction" },
5286
5286
  { name: "feedback", component: "slot", slot: "feedback" }
5287
- ], r = In[e.interactionType] || In.default;
5287
+ ], r = An[e.interactionType] || An.default;
5288
5288
  return {
5289
5289
  sections: Oi(t, r),
5290
5290
  containerClasses: ["container-class"],
@@ -5318,7 +5318,7 @@ const uc = {
5318
5318
  { name: "divider", component: "divider", condition: e.hasDivider, classes: ["lg:max-w-[50%]"] },
5319
5319
  { name: "interaction", component: "slot", slot: "interaction", classes: ["lg:max-w-[50%]"] },
5320
5320
  { name: "feedback", component: "slot", slot: "feedback", classes: ["lg:max-w-[50%]"] }
5321
- ], r = In[e.interactionType] || In.default;
5321
+ ], r = An[e.interactionType] || An.default;
5322
5322
  return {
5323
5323
  sections: Oi(t, r),
5324
5324
  containerClasses: ["container-class"],
@@ -5340,10 +5340,10 @@ function mc(e, t) {
5340
5340
  }
5341
5341
  var gc = /* @__PURE__ */ z('<p class="text-lg leading-[22px] text-blue-1000 font-semibold mt-4"> </p>'), vc = /* @__PURE__ */ z('<div class="mt-6 w-full"><button class="flex items-center font-semibold leading-[1.5] outline-none group w-fit h-11 text-charcoal" aria-controls="long-description-content" aria-labelledby="image-description-label" type="button"><div class="w-6 h-6 flex items-center justify-center mr-2"><!></div> <div id="image-description-label" class="image-description-accordion group-[.active]:border-b-2">Image Description</div></button> <div id="long-description-content"><!></div></div>'), wc = /* @__PURE__ */ z('<div class="flex flex-col justify-center items-center text-center"><div class="flex flex-col items-center"><div class="relative inline-block"><img loading="lazy"/> <!></div> <!></div></div> <!>', 1), bc = /* @__PURE__ */ z('<div class="w-full"><!></div>');
5342
5342
  function fi(e, t) {
5343
- ve(t, !0);
5344
- let r = y(t, "fileType", 7), n = y(t, "fileUrl", 7), i = y(t, "altText", 7, ""), a = y(t, "longDescription", 7, ""), o = y(t, "fileCaption", 7, ""), l = y(t, "handleImageLoad", 7, void 0), u = y(t, "onexpandImage", 7, void 0), c = /* @__PURE__ */ q(!1), p = /* @__PURE__ */ S(() => !!n()?.trim()), h = /* @__PURE__ */ S(() => r() === dl.IMAGE || r()?.startsWith("image/")), d = /* @__PURE__ */ S(() => !!o()?.trim()), f = /* @__PURE__ */ S(() => !!a()?.trim());
5343
+ ge(t, !0);
5344
+ let r = y(t, "fileType", 7), n = y(t, "fileUrl", 7), i = y(t, "altText", 7, ""), a = y(t, "longDescription", 7, ""), o = y(t, "fileCaption", 7, ""), l = y(t, "handleImageLoad", 7, void 0), u = y(t, "onexpandImage", 7, void 0), c = /* @__PURE__ */ j(!1), p = /* @__PURE__ */ S(() => !!n()?.trim()), h = /* @__PURE__ */ S(() => r() === dl.IMAGE || r()?.startsWith("image/")), d = /* @__PURE__ */ S(() => !!o()?.trim()), f = /* @__PURE__ */ S(() => !!a()?.trim());
5345
5345
  function m() {
5346
- I(c, !s(c));
5346
+ E(c, !s(c));
5347
5347
  }
5348
5348
  function g(v) {
5349
5349
  v.stopPropagation(), v.preventDefault(), u()?.(v);
@@ -5391,20 +5391,20 @@ function fi(e, t) {
5391
5391
  set onexpandImage(v = void 0) {
5392
5392
  u(v), x();
5393
5393
  }
5394
- }, C = xe(), k = ue(C);
5394
+ }, C = be(), k = ue(C);
5395
5395
  {
5396
5396
  var M = (v) => {
5397
- var A = bc(), _ = F(A);
5397
+ var I = bc(), _ = F(I);
5398
5398
  {
5399
- var b = (E) => {
5399
+ var b = (A) => {
5400
5400
  var L = wc(), V = ue(L), $ = F(V), P = F($), W = F(P), ce = Q(W, 2);
5401
- At(ce, {
5401
+ It(ce, {
5402
5402
  variant: "standard",
5403
5403
  ariaLabel: "Expand image",
5404
5404
  ariaHaspopup: "dialog",
5405
5405
  className: "absolute bottom-1.5 right-1.5 bg-white/80",
5406
5406
  onclick: g,
5407
- children: (K, ne) => {
5407
+ children: (K, te) => {
5408
5408
  $e(K, {
5409
5409
  svgName: "expandIcon",
5410
5410
  className: "w-[13.33px] h-[13.33px] md:w-5 md:h-5"
@@ -5415,68 +5415,68 @@ function fi(e, t) {
5415
5415
  var B = Q(P, 2);
5416
5416
  {
5417
5417
  var D = (K) => {
5418
- var ne = gc(), ae = F(ne, !0);
5419
- O(ne), re(() => dt(ae, o())), N(K, ne);
5418
+ var te = gc(), ne = F(te, !0);
5419
+ O(te), re(() => dt(ne, o())), N(K, te);
5420
5420
  };
5421
- U(B, (K) => {
5421
+ q(B, (K) => {
5422
5422
  s(d) && K(D);
5423
5423
  });
5424
5424
  }
5425
5425
  O($), O(V);
5426
5426
  var R = Q(V, 2);
5427
5427
  {
5428
- var Z = (K) => {
5429
- var ne = vc(), ae = F(ne);
5430
- ae.__click = m, ae.__keydown = [hc], ae.__keyup = [mc, m];
5431
- var he = F(ae), j = F(he);
5428
+ var Y = (K) => {
5429
+ var te = vc(), ne = F(te);
5430
+ ne.__click = m, ne.__keydown = [hc], ne.__keyup = [mc, m];
5431
+ var _e = F(ne), G = F(_e);
5432
5432
  {
5433
- let pe = /* @__PURE__ */ S(() => s(c) ? "smallChevronUp" : "smallChevronDown"), Y = /* @__PURE__ */ S(() => s(c) ? "collapse-icon" : "expand-icon");
5434
- $e(j, {
5433
+ let pe = /* @__PURE__ */ S(() => s(c) ? "smallChevronUp" : "smallChevronDown"), U = /* @__PURE__ */ S(() => s(c) ? "collapse-icon" : "expand-icon");
5434
+ $e(G, {
5435
5435
  get svgName() {
5436
5436
  return s(pe);
5437
5437
  },
5438
5438
  get className() {
5439
- return s(Y);
5439
+ return s(U);
5440
5440
  },
5441
5441
  width: 12,
5442
5442
  height: 7
5443
5443
  });
5444
5444
  }
5445
- O(he), _i(2), O(ae);
5446
- var te = Q(ae, 2), me = F(te);
5445
+ O(_e), _i(2), O(ne);
5446
+ var se = Q(ne, 2), me = F(se);
5447
5447
  Ut(me, {
5448
5448
  get htmlString() {
5449
5449
  return a();
5450
5450
  },
5451
5451
  otherClass: "image-description text-left leading-[1.5]"
5452
- }), O(te), O(ne), re(() => {
5453
- X(ae, "aria-expanded", s(c)), X(te, "hidden", !s(c));
5454
- }), N(K, ne);
5452
+ }), O(se), O(te), re(() => {
5453
+ X(ne, "aria-expanded", s(c)), X(se, "hidden", !s(c));
5454
+ }), N(K, te);
5455
5455
  };
5456
- U(R, (K) => {
5457
- s(f) && K(Z);
5456
+ q(R, (K) => {
5457
+ s(f) && K(Y);
5458
5458
  });
5459
5459
  }
5460
5460
  re(() => {
5461
5461
  X(W, "src", n()), X(W, "alt", i());
5462
5462
  }), ct("load", W, function(...K) {
5463
5463
  l()?.apply(this, K);
5464
- }), Ai(W), N(E, L);
5464
+ }), Ii(W), N(A, L);
5465
5465
  };
5466
- U(_, (E) => {
5467
- s(h) && E(b);
5466
+ q(_, (A) => {
5467
+ s(h) && A(b);
5468
5468
  });
5469
5469
  }
5470
- O(A), N(v, A);
5470
+ O(I), N(v, I);
5471
5471
  };
5472
- U(k, (v) => {
5472
+ q(k, (v) => {
5473
5473
  s(p) && v(M);
5474
5474
  });
5475
5475
  }
5476
- return N(e, C), we(w);
5476
+ return N(e, C), ve(w);
5477
5477
  }
5478
- Ar(["click", "keydown", "keyup"]);
5479
- be(
5478
+ Ir(["click", "keydown", "keyup"]);
5479
+ we(
5480
5480
  fi,
5481
5481
  {
5482
5482
  fileType: {},
@@ -5493,68 +5493,68 @@ be(
5493
5493
  );
5494
5494
  var xc = /* @__PURE__ */ z("<div><!></div>"), yc = /* @__PURE__ */ z("<div><!></div>"), _c = /* @__PURE__ */ z("<!> <!>", 1), Cc = /* @__PURE__ */ z("<div><!></div>"), kc = /* @__PURE__ */ z("<div><!></div>"), Sc = /* @__PURE__ */ z("<!> <!>", 1), Tc = /* @__PURE__ */ z('<div class="stimulus-section flex flex-col w-full"><!></div>');
5495
5495
  function pi(e, t) {
5496
- ve(t, !0);
5496
+ ge(t, !0);
5497
5497
  let r = y(t, "stimulusData", 7), n = y(t, "stimulusAlignment", 7), i = y(t, "stimulusType", 7), a = y(t, "onexpandImage", 7);
5498
5498
  const o = So();
5499
5499
  let l = /* @__PURE__ */ S(() => r().hasMedia || r().hasText), u = /* @__PURE__ */ S(() => r().fileAlignment === wt.INLINE), c = /* @__PURE__ */ S(() => r().stimulusTextAlignment === wt.INLINE), p = /* @__PURE__ */ S(() => r().stimulusLayoutOrder === li.TEXT_FIRST), h = /* @__PURE__ */ S(() => yo(r().stimulusText, Kl(r().fileAlignment, r().stimulusTextAlignment, r().hasMedia, r().hasText)));
5500
5500
  const d = /* @__PURE__ */ S(() => r().hasText && (r().stimulusTextAlignment === n() || r().stimulusTextAlignment !== n() && o.value < Xe.LG) && (!i() || i() === "stimulus-text")), f = /* @__PURE__ */ S(() => r().hasMedia && (r().fileAlignment === n() || r().fileAlignment !== n() && o.value < Xe.LG) && (!i() || i() === "stimulus-media"));
5501
5501
  let m = /* @__PURE__ */ S(() => `stimulus-text ${s(c) ? "inline-text" : "block-text"}`), g = /* @__PURE__ */ S(() => `text-stimulus ${s(c) ? "py-2" : s(p) || s(u) ? "pt-0" : ""}`.trim()), w = /* @__PURE__ */ S(() => {
5502
- const A = ["stimulus-media"];
5503
- return s(u) ? s(p) ? A.push(s(c) ? "pb-2" : "pb-10 pt-6") : A.push(s(c) ? "pb-2 pt-6" : "pb-10 pt-6") : A.push("block-media"), A.join(" ");
5502
+ const I = ["stimulus-media"];
5503
+ return s(u) ? s(p) ? I.push(s(c) ? "pb-2" : "pb-10 pt-6") : I.push(s(c) ? "pb-2 pt-6" : "pb-10 pt-6") : I.push("block-media"), I.join(" ");
5504
5504
  });
5505
5505
  var C = {
5506
5506
  get stimulusData() {
5507
5507
  return r();
5508
5508
  },
5509
- set stimulusData(A) {
5510
- r(A), x();
5509
+ set stimulusData(I) {
5510
+ r(I), x();
5511
5511
  },
5512
5512
  get stimulusAlignment() {
5513
5513
  return n();
5514
5514
  },
5515
- set stimulusAlignment(A) {
5516
- n(A), x();
5515
+ set stimulusAlignment(I) {
5516
+ n(I), x();
5517
5517
  },
5518
5518
  get stimulusType() {
5519
5519
  return i();
5520
5520
  },
5521
- set stimulusType(A) {
5522
- i(A), x();
5521
+ set stimulusType(I) {
5522
+ i(I), x();
5523
5523
  },
5524
5524
  get onexpandImage() {
5525
5525
  return a();
5526
5526
  },
5527
- set onexpandImage(A) {
5528
- a(A), x();
5527
+ set onexpandImage(I) {
5528
+ a(I), x();
5529
5529
  }
5530
- }, k = xe(), M = ue(k);
5530
+ }, k = be(), M = ue(k);
5531
5531
  {
5532
- var v = (A) => {
5532
+ var v = (I) => {
5533
5533
  var _ = Tc(), b = F(_);
5534
5534
  {
5535
- var E = (V) => {
5535
+ var A = (V) => {
5536
5536
  var $ = _c(), P = ue($);
5537
5537
  {
5538
5538
  var W = (D) => {
5539
- var R = xc(), Z = F(R);
5540
- Ut(Z, {
5539
+ var R = xc(), Y = F(R);
5540
+ Ut(Y, {
5541
5541
  get htmlString() {
5542
5542
  return s(h);
5543
5543
  },
5544
5544
  get otherClass() {
5545
5545
  return s(g);
5546
5546
  }
5547
- }), O(R), re(() => se(R, 1, Ae(s(m)))), N(D, R);
5547
+ }), O(R), re(() => oe(R, 1, Ie(s(m)))), N(D, R);
5548
5548
  };
5549
- U(P, (D) => {
5549
+ q(P, (D) => {
5550
5550
  s(d) && D(W);
5551
5551
  });
5552
5552
  }
5553
5553
  var ce = Q(P, 2);
5554
5554
  {
5555
5555
  var B = (D) => {
5556
- var R = yc(), Z = F(R);
5557
- fi(Z, {
5556
+ var R = yc(), Y = F(R);
5557
+ fi(Y, {
5558
5558
  get fileUrl() {
5559
5559
  return r().fileUrl;
5560
5560
  },
@@ -5573,9 +5573,9 @@ function pi(e, t) {
5573
5573
  get onexpandImage() {
5574
5574
  return a();
5575
5575
  }
5576
- }), O(R), re(() => se(R, 1, Ae(s(w)))), N(D, R);
5576
+ }), O(R), re(() => oe(R, 1, Ie(s(w)))), N(D, R);
5577
5577
  };
5578
- U(ce, (D) => {
5578
+ q(ce, (D) => {
5579
5579
  s(f) && D(B);
5580
5580
  });
5581
5581
  }
@@ -5584,8 +5584,8 @@ function pi(e, t) {
5584
5584
  var $ = Sc(), P = ue($);
5585
5585
  {
5586
5586
  var W = (D) => {
5587
- var R = Cc(), Z = F(R);
5588
- fi(Z, {
5587
+ var R = Cc(), Y = F(R);
5588
+ fi(Y, {
5589
5589
  get fileUrl() {
5590
5590
  return r().fileUrl;
5591
5591
  },
@@ -5604,44 +5604,44 @@ function pi(e, t) {
5604
5604
  get onexpandImage() {
5605
5605
  return a();
5606
5606
  }
5607
- }), O(R), re(() => se(R, 1, Ae(s(w)))), N(D, R);
5607
+ }), O(R), re(() => oe(R, 1, Ie(s(w)))), N(D, R);
5608
5608
  };
5609
- U(P, (D) => {
5609
+ q(P, (D) => {
5610
5610
  s(f) && D(W);
5611
5611
  });
5612
5612
  }
5613
5613
  var ce = Q(P, 2);
5614
5614
  {
5615
5615
  var B = (D) => {
5616
- var R = kc(), Z = F(R);
5617
- Ut(Z, {
5616
+ var R = kc(), Y = F(R);
5617
+ Ut(Y, {
5618
5618
  get htmlString() {
5619
5619
  return s(h);
5620
5620
  },
5621
5621
  get otherClass() {
5622
5622
  return s(g);
5623
5623
  }
5624
- }), O(R), re(() => se(R, 1, Ae(s(m)))), N(D, R);
5624
+ }), O(R), re(() => oe(R, 1, Ie(s(m)))), N(D, R);
5625
5625
  };
5626
- U(ce, (D) => {
5626
+ q(ce, (D) => {
5627
5627
  s(d) && D(B);
5628
5628
  });
5629
5629
  }
5630
5630
  N(V, $);
5631
5631
  };
5632
- U(b, (V) => {
5633
- s(p) ? V(E) : V(L, !1);
5632
+ q(b, (V) => {
5633
+ s(p) ? V(A) : V(L, !1);
5634
5634
  });
5635
5635
  }
5636
- O(_), N(A, _);
5636
+ O(_), N(I, _);
5637
5637
  };
5638
- U(M, (A) => {
5639
- s(l) && A(v);
5638
+ q(M, (I) => {
5639
+ s(l) && I(v);
5640
5640
  });
5641
5641
  }
5642
- return N(e, k), we(C);
5642
+ return N(e, k), ve(C);
5643
5643
  }
5644
- be(
5644
+ we(
5645
5645
  pi,
5646
5646
  {
5647
5647
  stimulusData: {},
@@ -5653,9 +5653,9 @@ be(
5653
5653
  [],
5654
5654
  !0
5655
5655
  );
5656
- var Ac = /* @__PURE__ */ z('<div class="divider my-6"></div>'), Ic = /* @__PURE__ */ z('<div aria-live="polite"><!></div>'), Ec = /* @__PURE__ */ z("<div><!></div>"), Mc = /* @__PURE__ */ z("<div><!></div>"), Lc = /* @__PURE__ */ z('<div class="prompt-container"><div><div></div> <!></div></div> <!>', 1);
5656
+ var Ic = /* @__PURE__ */ z('<div class="divider my-6"></div>'), Ac = /* @__PURE__ */ z('<div aria-live="polite"><!></div>'), Ec = /* @__PURE__ */ z("<div><!></div>"), Mc = /* @__PURE__ */ z("<div><!></div>"), Lc = /* @__PURE__ */ z('<div class="prompt-container"><div><div></div> <!></div></div> <!>', 1);
5657
5657
  function Di(e, t) {
5658
- ve(t, !0);
5658
+ ge(t, !0);
5659
5659
  let r = y(t, "rubric", 7, ""), n = y(t, "prompt", 7, ""), i = y(t, "interactionType", 7), a = y(t, "hasDivider", 7, !0), o = y(t, "stimulus", 7, null), l = y(t, "optionHasMedia", 7, !1), u = y(t, "interaction", 7), c = y(t, "feedback", 7), p = /* @__PURE__ */ S(() => Gl(o()));
5660
5660
  const h = So();
5661
5661
  let d = /* @__PURE__ */ S(() => oc(i(), s(p), h.value)), f = /* @__PURE__ */ S(() => ({
@@ -5670,89 +5670,89 @@ function Di(e, t) {
5670
5670
  })), m = /* @__PURE__ */ S(() => pc(s(f))), g = /* @__PURE__ */ S(() => s(m).build(s(f))), w = /* @__PURE__ */ S(() => ({
5671
5671
  ...s(g),
5672
5672
  containerStyles: { ...s(g).containerStyles }
5673
- })), C = /* @__PURE__ */ q(void 0), k = lc(), M = /* @__PURE__ */ S(() => cc(s(C))), v = /* @__PURE__ */ S(() => k.value > 0 && s(C) && s(M).isLoaded ? sc(s(C)) : "margin-top: 0px"), A = /* @__PURE__ */ q(!1), _ = /* @__PURE__ */ q(null);
5674
- const b = (j) => {
5675
- j.stopPropagation(), j.preventDefault(), I(_, j.currentTarget, !0), I(A, !0);
5676
- }, E = () => {
5677
- I(A, !1), tr().then(() => {
5678
- s(_) && (s(_).focus(), I(_, null));
5673
+ })), C = /* @__PURE__ */ j(void 0), k = lc(), M = /* @__PURE__ */ S(() => cc(s(C))), v = /* @__PURE__ */ S(() => k.value > 0 && s(C) && s(M).isLoaded ? sc(s(C)) : "margin-top: 0px"), I = /* @__PURE__ */ j(!1), _ = /* @__PURE__ */ j(null);
5674
+ const b = (G) => {
5675
+ G.stopPropagation(), G.preventDefault(), E(_, G.currentTarget, !0), E(I, !0);
5676
+ }, A = () => {
5677
+ E(I, !1), tr().then(() => {
5678
+ s(_) && (s(_).focus(), E(_, null));
5679
5679
  });
5680
5680
  };
5681
- let L = /* @__PURE__ */ S(() => o()?.file?.url || ""), V = /* @__PURE__ */ S(() => o()?.alternative_text || ""), $ = /* @__PURE__ */ S(() => o()?.description || ""), P = /* @__PURE__ */ S(() => s(w).sections.filter((j) => Ji(j) && j.component !== "desktop-column")), W = /* @__PURE__ */ S(() => s(w).sections.find((j) => Ji(j) && j.component === "desktop-column"));
5681
+ let L = /* @__PURE__ */ S(() => o()?.file?.url || ""), V = /* @__PURE__ */ S(() => o()?.alternative_text || ""), $ = /* @__PURE__ */ S(() => o()?.description || ""), P = /* @__PURE__ */ S(() => s(w).sections.filter((G) => Ji(G) && G.component !== "desktop-column")), W = /* @__PURE__ */ S(() => s(w).sections.find((G) => Ji(G) && G.component === "desktop-column"));
5682
5682
  var ce = {
5683
5683
  get rubric() {
5684
5684
  return r();
5685
5685
  },
5686
- set rubric(j = "") {
5687
- r(j), x();
5686
+ set rubric(G = "") {
5687
+ r(G), x();
5688
5688
  },
5689
5689
  get prompt() {
5690
5690
  return n();
5691
5691
  },
5692
- set prompt(j = "") {
5693
- n(j), x();
5692
+ set prompt(G = "") {
5693
+ n(G), x();
5694
5694
  },
5695
5695
  get interactionType() {
5696
5696
  return i();
5697
5697
  },
5698
- set interactionType(j) {
5699
- i(j), x();
5698
+ set interactionType(G) {
5699
+ i(G), x();
5700
5700
  },
5701
5701
  get hasDivider() {
5702
5702
  return a();
5703
5703
  },
5704
- set hasDivider(j = !0) {
5705
- a(j), x();
5704
+ set hasDivider(G = !0) {
5705
+ a(G), x();
5706
5706
  },
5707
5707
  get stimulus() {
5708
5708
  return o();
5709
5709
  },
5710
- set stimulus(j = null) {
5711
- o(j), x();
5710
+ set stimulus(G = null) {
5711
+ o(G), x();
5712
5712
  },
5713
5713
  get optionHasMedia() {
5714
5714
  return l();
5715
5715
  },
5716
- set optionHasMedia(j = !1) {
5717
- l(j), x();
5716
+ set optionHasMedia(G = !1) {
5717
+ l(G), x();
5718
5718
  },
5719
5719
  get interaction() {
5720
5720
  return u();
5721
5721
  },
5722
- set interaction(j) {
5723
- u(j), x();
5722
+ set interaction(G) {
5723
+ u(G), x();
5724
5724
  },
5725
5725
  get feedback() {
5726
5726
  return c();
5727
5727
  },
5728
- set feedback(j) {
5729
- c(j), x();
5728
+ set feedback(G) {
5729
+ c(G), x();
5730
5730
  }
5731
- }, B = Lc(), D = ue(B), R = F(D), Z = F(R);
5732
- nn(Z, 21, () => s(P), rn, (j, te) => {
5731
+ }, B = Lc(), D = ue(B), R = F(D), Y = F(R);
5732
+ nn(Y, 21, () => s(P), rn, (G, se) => {
5733
5733
  var me = Ec(), pe = F(me);
5734
5734
  {
5735
- var Y = (Ie) => {
5736
- xo(Ie, {
5735
+ var U = (Ae) => {
5736
+ xo(Ae, {
5737
5737
  get rubric() {
5738
5738
  return r();
5739
5739
  }
5740
5740
  });
5741
- }, _e = (Ie) => {
5742
- var H = xe(), G = ue(H);
5741
+ }, ye = (Ae) => {
5742
+ var H = be(), Z = ue(H);
5743
5743
  {
5744
- var ge = (Ce) => {
5744
+ var he = (Ce) => {
5745
5745
  _o(Ce, {
5746
5746
  get prompt() {
5747
5747
  return n();
5748
5748
  }
5749
5749
  });
5750
5750
  }, rt = (Ce) => {
5751
- var Ee = xe(), Ot = ue(Ee);
5751
+ var Ee = be(), Ot = ue(Ee);
5752
5752
  {
5753
5753
  var Dt = (pt) => {
5754
5754
  {
5755
- let qe = /* @__PURE__ */ S(() => s(te).name?.includes("mobile") ? wt.DEFAULT : wt.INLINE);
5755
+ let qe = /* @__PURE__ */ S(() => s(se).name?.includes("mobile") ? wt.DEFAULT : wt.INLINE);
5756
5756
  pi(pt, {
5757
5757
  get stimulusData() {
5758
5758
  return s(p);
@@ -5761,103 +5761,103 @@ function Di(e, t) {
5761
5761
  return s(qe);
5762
5762
  },
5763
5763
  get stimulusType() {
5764
- return s(te).component;
5764
+ return s(se).component;
5765
5765
  },
5766
5766
  onexpandImage: b
5767
5767
  });
5768
5768
  }
5769
5769
  }, or = (pt) => {
5770
- var qe = xe(), Ft = ue(qe);
5770
+ var qe = be(), Ft = ue(qe);
5771
5771
  {
5772
5772
  var Gt = (Ge) => {
5773
- var Pt = Ac();
5773
+ var Pt = Ic();
5774
5774
  N(Ge, Pt);
5775
5775
  }, $t = (Ge) => {
5776
- var Pt = xe(), Ur = ue(Pt);
5776
+ var Pt = be(), Ur = ue(Pt);
5777
5777
  {
5778
5778
  var ke = (Se) => {
5779
5779
  Co(Se, {
5780
5780
  children: (Me, Yr) => {
5781
- var Ir = xe(), zt = ue(Ir);
5782
- yr(zt, () => u() ?? Pe), N(Me, Ir);
5781
+ var Ar = be(), zt = ue(Ar);
5782
+ yr(zt, () => u() ?? Pe), N(Me, Ar);
5783
5783
  },
5784
5784
  $$slots: { default: !0 }
5785
5785
  });
5786
5786
  }, Ht = (Se) => {
5787
- var Me = xe(), Yr = ue(Me);
5787
+ var Me = be(), Yr = ue(Me);
5788
5788
  {
5789
- var Ir = (zt) => {
5790
- var Hn = Ic(), $o = F(Hn);
5789
+ var Ar = (zt) => {
5790
+ var Hn = Ac(), $o = F(Hn);
5791
5791
  yr($o, () => c() ?? Pe), O(Hn), N(zt, Hn);
5792
5792
  };
5793
- U(
5793
+ q(
5794
5794
  Yr,
5795
5795
  (zt) => {
5796
- s(te).component === "slot" && s(te).slot === "feedback" && zt(Ir);
5796
+ s(se).component === "slot" && s(se).slot === "feedback" && zt(Ar);
5797
5797
  },
5798
5798
  !0
5799
5799
  );
5800
5800
  }
5801
5801
  N(Se, Me);
5802
5802
  };
5803
- U(
5803
+ q(
5804
5804
  Ur,
5805
5805
  (Se) => {
5806
- s(te).component === "slot" && s(te).slot === "interaction" ? Se(ke) : Se(Ht, !1);
5806
+ s(se).component === "slot" && s(se).slot === "interaction" ? Se(ke) : Se(Ht, !1);
5807
5807
  },
5808
5808
  !0
5809
5809
  );
5810
5810
  }
5811
5811
  N(Ge, Pt);
5812
5812
  };
5813
- U(
5813
+ q(
5814
5814
  Ft,
5815
5815
  (Ge) => {
5816
- s(te).component === "divider" ? Ge(Gt) : Ge($t, !1);
5816
+ s(se).component === "divider" ? Ge(Gt) : Ge($t, !1);
5817
5817
  },
5818
5818
  !0
5819
5819
  );
5820
5820
  }
5821
5821
  N(pt, qe);
5822
5822
  };
5823
- U(
5823
+ q(
5824
5824
  Ot,
5825
5825
  (pt) => {
5826
- s(te).component === "stimulus-text" || s(te).component === "stimulus-media" ? pt(Dt) : pt(or, !1);
5826
+ s(se).component === "stimulus-text" || s(se).component === "stimulus-media" ? pt(Dt) : pt(or, !1);
5827
5827
  },
5828
5828
  !0
5829
5829
  );
5830
5830
  }
5831
5831
  N(Ce, Ee);
5832
5832
  };
5833
- U(
5834
- G,
5833
+ q(
5834
+ Z,
5835
5835
  (Ce) => {
5836
- s(te).component === "prompt" ? Ce(ge) : Ce(rt, !1);
5836
+ s(se).component === "prompt" ? Ce(he) : Ce(rt, !1);
5837
5837
  },
5838
5838
  !0
5839
5839
  );
5840
5840
  }
5841
- N(Ie, H);
5841
+ N(Ae, H);
5842
5842
  };
5843
- U(pe, (Ie) => {
5844
- s(te).component === "rubric" ? Ie(Y) : Ie(_e, !1);
5843
+ q(pe, (Ae) => {
5844
+ s(se).component === "rubric" ? Ae(U) : Ae(ye, !1);
5845
5845
  });
5846
5846
  }
5847
5847
  O(me), re(
5848
- (Ie, H) => {
5849
- se(me, 1, Ie), Tt(me, H);
5848
+ (Ae, H) => {
5849
+ oe(me, 1, Ae), Tt(me, H);
5850
5850
  },
5851
5851
  [
5852
- () => Ae(qn(s(te).classes)),
5853
- () => Un(s(te).styles)
5852
+ () => Ie(qn(s(se).classes)),
5853
+ () => Un(s(se).styles)
5854
5854
  ]
5855
- ), N(j, me);
5856
- }), O(Z);
5857
- var K = Q(Z, 2);
5855
+ ), N(G, me);
5856
+ }), O(Y);
5857
+ var K = Q(Y, 2);
5858
5858
  {
5859
- var ne = (j) => {
5860
- var te = Mc(), me = F(te);
5859
+ var te = (G) => {
5860
+ var se = Mc(), me = F(se);
5861
5861
  pi(me, {
5862
5862
  get stimulusData() {
5863
5863
  return s(p);
@@ -5866,27 +5866,27 @@ function Di(e, t) {
5866
5866
  return wt.DEFAULT;
5867
5867
  },
5868
5868
  onexpandImage: b
5869
- }), O(te), Mt(te, (pe) => I(C, pe), () => s(C)), re(
5870
- (pe, Y) => {
5871
- se(te, 1, pe), Tt(te, `${Y ?? ""}; ${s(v) ?? ""}`);
5869
+ }), O(se), Mt(se, (pe) => E(C, pe), () => s(C)), re(
5870
+ (pe, U) => {
5871
+ oe(se, 1, pe), Tt(se, `${U ?? ""}; ${s(v) ?? ""}`);
5872
5872
  },
5873
5873
  [
5874
- () => Ae(qn(s(W).classes)),
5874
+ () => Ie(qn(s(W).classes)),
5875
5875
  () => Un(s(W).styles)
5876
5876
  ]
5877
- ), N(j, te);
5877
+ ), N(G, se);
5878
5878
  };
5879
- U(K, (j) => {
5880
- s(W) && j(ne);
5879
+ q(K, (G) => {
5880
+ s(W) && G(te);
5881
5881
  });
5882
5882
  }
5883
5883
  O(R), O(D);
5884
- var ae = Q(D, 2);
5884
+ var ne = Q(D, 2);
5885
5885
  {
5886
- var he = (j) => {
5887
- ko(j, {
5886
+ var _e = (G) => {
5887
+ ko(G, {
5888
5888
  get isOpen() {
5889
- return s(A);
5889
+ return s(I);
5890
5890
  },
5891
5891
  get imageUrl() {
5892
5892
  return s(L);
@@ -5897,24 +5897,24 @@ function Di(e, t) {
5897
5897
  get caption() {
5898
5898
  return s($);
5899
5899
  },
5900
- onclose: E
5900
+ onclose: A
5901
5901
  });
5902
5902
  };
5903
- U(ae, (j) => {
5904
- s(A) && j(he);
5903
+ q(ne, (G) => {
5904
+ s(I) && G(_e);
5905
5905
  });
5906
5906
  }
5907
5907
  return re(
5908
- (j, te) => {
5909
- se(R, 1, j), Tt(R, te), se(Z, 1, `bg-transparent relative ${s(m).name === "two-column" ? "lg:basis-1/2 lg:max-w-[50%]" : ""}`);
5908
+ (G, se) => {
5909
+ oe(R, 1, G), Tt(R, se), oe(Y, 1, `bg-transparent relative ${s(m).name === "two-column" ? "lg:basis-1/2 lg:max-w-[50%]" : ""}`);
5910
5910
  },
5911
5911
  [
5912
- () => Ae(qn(s(w).containerClasses)),
5912
+ () => Ie(qn(s(w).containerClasses)),
5913
5913
  () => Un(s(w).containerStyles) + ";width: var(--interactionWidthValue)"
5914
5914
  ]
5915
- ), N(e, B), we(ce);
5915
+ ), N(e, B), ve(ce);
5916
5916
  }
5917
- be(
5917
+ we(
5918
5918
  Di,
5919
5919
  {
5920
5920
  rubric: {},
@@ -5931,15 +5931,15 @@ be(
5931
5931
  !0
5932
5932
  );
5933
5933
  var Nc = /* @__PURE__ */ z('<p class="text-charcoal text-sm leading-[19.2px] mb-2"> </p>'), Rc = (e, t, r) => t()(r().id, r().answer), Oc = /* @__PURE__ */ z('<span class="text-gray-860 text-sm mb-0.5"> </span>'), Dc = /* @__PURE__ */ z('<span class="text-gray-860 text-sm mb-0.5">Missing answer:</span>'), Fc = /* @__PURE__ */ z('<span aria-hidden="true" class="text-green-900 mr-1"><!></span>'), $c = /* @__PURE__ */ z('<span aria-hidden="true"><!></span>'), Pc = /* @__PURE__ */ z('<span class="w-3 h-2 flex items-center justify-center"><!></span>'), Hc = /* @__PURE__ */ z("<span><!></span>"), zc = /* @__PURE__ */ z('<div class="w-full overflow-hidden bg-white rounded-b-lg flex items-center justify-center relative"><img class="min-h-[154px] max-h-[184px] w-auto max-w-full object-contain pointer-events-none" loading="lazy"/></div>'), Bc = /* @__PURE__ */ z('<!> <div class="relative"><button><span><span class="flex items-center justify-between w-full"><span class="flex items-center"><span> </span> <span class="flex flex-col px-3 text-left"><!> <!> <!></span></span> <span class="flex items-center"><!> <!> <!></span></span></span> <!></button> <!></div>', 1);
5934
- function Ao(e, t) {
5935
- ve(t, !0);
5934
+ function Io(e, t) {
5935
+ ge(t, !0);
5936
5936
  let r = y(t, "option", 7), n = y(t, "index", 7), i = y(t, "config", 7), a = y(t, "state", 7), o = y(t, "optionHasMedia", 7, !1), l = y(t, "onOptionClick", 7), u = y(t, "onExpandImage", 7), c = /* @__PURE__ */ S(() => Ni(a(), i())), p = /* @__PURE__ */ S(() => El(r(), n(), i(), a(), o())), h = /* @__PURE__ */ S(() => s(c).totalCorrectAnswers), d = /* @__PURE__ */ S(() => s(c).correctAnswerIds), f = /* @__PURE__ */ S(() => s(c).mode), m = /* @__PURE__ */ S(() => s(f) === fe.PREVIEW), g = /* @__PURE__ */ S(() => s(f) === fe.INTERACTIVE);
5937
5937
  const w = () => {
5938
5938
  if (!s(p))
5939
5939
  return `Option ${vn(n())}: ${Jr(r().answer)}`;
5940
5940
  const H = a().data.selectedOptions ?? [];
5941
- let G = `${(!s(p).isFinished || s(g)) && s(p).isSelected ? "Selected " : ""}Option ${vn(n())}: ${Jr(r().answer)}`;
5942
- return s(p).isFinished && !s(m) && !s(g) ? s(p).isCorrect ? G += s(p).isSelected ? " (Correct answer)" : " (Missing Answer)" : s(p).isSelected && (G += " (Incorrect answer)") : s(m) && !s(g) ? s(p).isCorrect && (G += " (Correct answer)") : s(g) && H.length === s(h) && (s(p).isSelected ? G += s(p).isCorrect ? " (Correct answer)" : " (Incorrect answer)" : s(p).isCorrect && (G += " (Missing Answer)")), G;
5941
+ let Z = `${(!s(p).isFinished || s(g)) && s(p).isSelected ? "Selected " : ""}Option ${vn(n())}: ${Jr(r().answer)}`;
5942
+ return s(p).isFinished && !s(m) && !s(g) ? s(p).isCorrect ? Z += s(p).isSelected ? " (Correct answer)" : " (Missing Answer)" : s(p).isSelected && (Z += " (Incorrect answer)") : s(m) && !s(g) ? s(p).isCorrect && (Z += " (Correct answer)") : s(g) && H.length === s(h) && (s(p).isSelected ? Z += s(p).isCorrect ? " (Correct answer)" : " (Incorrect answer)" : s(p).isCorrect && (Z += " (Missing Answer)")), Z;
5943
5943
  };
5944
5944
  let C = /* @__PURE__ */ S(() => s(p) ? w() : `Option ${vn(n())}: ${Jr(r().answer)}`);
5945
5945
  var k = {
@@ -5987,141 +5987,141 @@ function Ao(e, t) {
5987
5987
  }
5988
5988
  }, M = Bc(), v = ue(M);
5989
5989
  {
5990
- var A = (H) => {
5991
- var G = Nc(), ge = F(G, !0);
5992
- O(G), re(() => dt(ge, s(g) ? "Your answer:" : s(m) ? "" : "Student's answer:")), N(H, G);
5990
+ var I = (H) => {
5991
+ var Z = Nc(), he = F(Z, !0);
5992
+ O(Z), re(() => dt(he, s(g) ? "Your answer:" : s(m) ? "" : "Student's answer:")), N(H, Z);
5993
5993
  };
5994
- U(v, (H) => {
5995
- s(p)?.showStudentLabel && H(A);
5994
+ q(v, (H) => {
5995
+ s(p)?.showStudentLabel && H(I);
5996
5996
  });
5997
5997
  }
5998
5998
  var _ = Q(v, 2), b = F(_);
5999
5999
  b.__click = [Rc, l, r];
6000
- var E = F(b), L = F(E), V = F(L), $ = F(V), P = F($, !0);
6000
+ var A = F(b), L = F(A), V = F(L), $ = F(V), P = F($, !0);
6001
6001
  O($);
6002
6002
  var W = Q($, 2), ce = F(W);
6003
6003
  {
6004
6004
  var B = (H) => {
6005
- var G = Oc(), ge = F(G, !0);
6006
- O(G), re(() => dt(ge, s(g) ? "Your answer:" : s(m) ? "" : "Student's answer:")), N(H, G);
6005
+ var Z = Oc(), he = F(Z, !0);
6006
+ O(Z), re(() => dt(he, s(g) ? "Your answer:" : s(m) ? "" : "Student's answer:")), N(H, Z);
6007
6007
  };
6008
- U(ce, (H) => {
6008
+ q(ce, (H) => {
6009
6009
  s(p)?.showMediaStudentLabel && H(B);
6010
6010
  });
6011
6011
  }
6012
6012
  var D = Q(ce, 2);
6013
6013
  {
6014
6014
  var R = (H) => {
6015
- var G = Dc();
6016
- N(H, G);
6015
+ var Z = Dc();
6016
+ N(H, Z);
6017
6017
  };
6018
- U(D, (H) => {
6018
+ q(D, (H) => {
6019
6019
  s(p)?.showMissingAnswerLabel && H(R);
6020
6020
  });
6021
6021
  }
6022
- var Z = Q(D, 2);
6023
- Ut(Z, {
6022
+ var Y = Q(D, 2);
6023
+ Ut(Y, {
6024
6024
  otherClass: "overflow-hidden text-ellipsis line-clamp-3",
6025
6025
  get htmlString() {
6026
6026
  return r().answer;
6027
6027
  }
6028
6028
  }), O(W), O(V);
6029
- var K = Q(V, 2), ne = F(K);
6029
+ var K = Q(V, 2), te = F(K);
6030
6030
  {
6031
- var ae = (H) => {
6032
- var G = Fc(), ge = F(G);
6033
- $e(ge, { svgName: "success", className: "missing-correct-icon" }), O(G), N(H, G);
6031
+ var ne = (H) => {
6032
+ var Z = Fc(), he = F(Z);
6033
+ $e(he, { svgName: "success", className: "missing-correct-icon" }), O(Z), N(H, Z);
6034
6034
  };
6035
- U(ne, (H) => {
6036
- s(p)?.showMissingIcon && H(ae);
6035
+ q(te, (H) => {
6036
+ s(p)?.showMissingIcon && H(ne);
6037
6037
  });
6038
6038
  }
6039
- var he = Q(ne, 2);
6039
+ var _e = Q(te, 2);
6040
6040
  {
6041
- var j = (H) => {
6042
- var G = $c(), ge = F(G);
6041
+ var G = (H) => {
6042
+ var Z = $c(), he = F(Z);
6043
6043
  {
6044
6044
  var rt = (Ee) => {
6045
6045
  $e(Ee, { svgName: "successSolid", className: "correct-icon" });
6046
6046
  }, Ce = (Ee) => {
6047
6047
  $e(Ee, { svgName: "errorSolid", className: "incorrect-icon" });
6048
6048
  };
6049
- U(ge, (Ee) => {
6049
+ q(he, (Ee) => {
6050
6050
  s(d).includes(r().id) || s(m) && !s(g) ? Ee(rt) : Ee(Ce, !1);
6051
6051
  });
6052
6052
  }
6053
- O(G), re((Ee) => se(G, 1, `${Ee ?? ""} p-0.5`), [
6053
+ O(Z), re((Ee) => oe(Z, 1, `${Ee ?? ""} p-0.5`), [
6054
6054
  () => s(d).includes(r().id) || s(m) && !s(g) ? "text-green-900" : "text-red-900"
6055
- ]), N(H, G);
6055
+ ]), N(H, Z);
6056
6056
  };
6057
- U(he, (H) => {
6058
- s(p)?.showResultIcon && H(j);
6057
+ q(_e, (H) => {
6058
+ s(p)?.showResultIcon && H(G);
6059
6059
  });
6060
6060
  }
6061
- var te = Q(he, 2);
6061
+ var se = Q(_e, 2);
6062
6062
  {
6063
6063
  var me = (H) => {
6064
- var G = Hc(), ge = F(G);
6064
+ var Z = Hc(), he = F(Z);
6065
6065
  {
6066
6066
  var rt = (Ce) => {
6067
6067
  var Ee = Pc(), Ot = F(Ee);
6068
6068
  $e(Ot, { svgName: "successRounded", className: "selected-icon" }), O(Ee), N(Ce, Ee);
6069
6069
  };
6070
- U(ge, (Ce) => {
6070
+ q(he, (Ce) => {
6071
6071
  s(p)?.isSelected && Ce(rt);
6072
6072
  });
6073
6073
  }
6074
- O(G), re(() => se(G, 1, Ae(s(p)?.checkboxClasses || "custom-checkbox border-gray-850"))), N(H, G);
6074
+ O(Z), re(() => oe(Z, 1, Ie(s(p)?.checkboxClasses || "custom-checkbox border-gray-850"))), N(H, Z);
6075
6075
  };
6076
- U(te, (H) => {
6076
+ q(se, (H) => {
6077
6077
  s(p)?.showCheckbox && H(me);
6078
6078
  });
6079
6079
  }
6080
- O(K), O(L), O(E);
6081
- var pe = Q(E, 2);
6080
+ O(K), O(L), O(A);
6081
+ var pe = Q(A, 2);
6082
6082
  {
6083
- var Y = (H) => {
6084
- var G = zc(), ge = F(G);
6085
- O(G), re(() => {
6086
- X(ge, "id", `img-${n() ?? ""}`), X(ge, "alt", `Graphic, ${(r().media?.alternative_text || "") ?? ""}`), X(ge, "src", r().media.file.url);
6087
- }), N(H, G);
6083
+ var U = (H) => {
6084
+ var Z = zc(), he = F(Z);
6085
+ O(Z), re(() => {
6086
+ X(he, "id", `img-${n() ?? ""}`), X(he, "alt", `Graphic, ${(r().media?.alternative_text || "") ?? ""}`), X(he, "src", r().media.file.url);
6087
+ }), N(H, Z);
6088
6088
  };
6089
- U(pe, (H) => {
6090
- o() && r().media && H(Y);
6089
+ q(pe, (H) => {
6090
+ o() && r().media && H(U);
6091
6091
  });
6092
6092
  }
6093
6093
  O(b);
6094
- var _e = Q(b, 2);
6094
+ var ye = Q(b, 2);
6095
6095
  {
6096
- var Ie = (H) => {
6097
- At(H, {
6096
+ var Ae = (H) => {
6097
+ It(H, {
6098
6098
  variant: "touch-target",
6099
6099
  ariaLabel: "Expand image",
6100
6100
  ariaHaspopup: "dialog",
6101
6101
  className: "absolute bottom-5 right-1",
6102
- onclick: (G) => {
6103
- G.stopPropagation(), u()?.(n(), G);
6102
+ onclick: (Z) => {
6103
+ Z.stopPropagation(), u()?.(n(), Z);
6104
6104
  },
6105
- children: (G, ge) => {
6106
- $e(G, { svgName: "expandIcon", className: "w-[13.33px] h-[13.33px]" });
6105
+ children: (Z, he) => {
6106
+ $e(Z, { svgName: "expandIcon", className: "w-[13.33px] h-[13.33px]" });
6107
6107
  },
6108
6108
  $$slots: { default: !0 }
6109
6109
  });
6110
6110
  };
6111
- U(_e, (H) => {
6112
- o() && H(Ie);
6111
+ q(ye, (H) => {
6112
+ o() && H(Ae);
6113
6113
  });
6114
6114
  }
6115
6115
  return O(_), re(
6116
6116
  (H) => {
6117
- X(b, "role", s(h) > 1 ? "checkbox" : null), X(b, "tabindex", s(h) > 1 ? 0 : null), X(b, "aria-describedby", `img-${n() ?? ""}`), X(b, "aria-checked", s(h) > 1 ? s(p)?.isSelected : null), X(b, "aria-disabled", s(p)?.isFinished && !s(g) ? "true" : null), X(b, "aria-label", s(C)), se(b, 1, Ae(s(p)?.buttonClasses || "group btn-mcq-option")), se(E, 1, `btn-mcq-text ${o() ? "min-h-[44px]" : ""}`), se($, 1, `choice ${o() ? "my-1.5" : ""}`), dt(P, H);
6117
+ X(b, "role", s(h) > 1 ? "checkbox" : null), X(b, "tabindex", s(h) > 1 ? 0 : null), X(b, "aria-describedby", `img-${n() ?? ""}`), X(b, "aria-checked", s(h) > 1 ? s(p)?.isSelected : null), X(b, "aria-disabled", s(p)?.isFinished && !s(g) ? "true" : null), X(b, "aria-label", s(C)), oe(b, 1, Ie(s(p)?.buttonClasses || "group btn-mcq-option")), oe(A, 1, `btn-mcq-text ${o() ? "min-h-[44px]" : ""}`), oe($, 1, `choice ${o() ? "my-1.5" : ""}`), dt(P, H);
6118
6118
  },
6119
6119
  [() => vn(n())]
6120
- ), N(e, M), we(k);
6120
+ ), N(e, M), ve(k);
6121
6121
  }
6122
- Ar(["click"]);
6123
- be(
6124
- Ao,
6122
+ Ir(["click"]);
6123
+ we(
6124
+ Io,
6125
6125
  {
6126
6126
  option: {},
6127
6127
  index: {},
@@ -6136,8 +6136,8 @@ be(
6136
6136
  !0
6137
6137
  );
6138
6138
  var Vc = /* @__PURE__ */ z('<div class="absolute inset-0 bg-transparent z-50"></div>'), Wc = /* @__PURE__ */ z("<div><!> <div></div></div>"), jc = /* @__PURE__ */ z('<div class="flex items-center justify-center p-4"><div class="text-gray-500">Loading...</div></div>');
6139
- function Io(e, t) {
6140
- ve(t, !0);
6139
+ function Ao(e, t) {
6140
+ ge(t, !0);
6141
6141
  let r = y(t, "config", 7), n = y(t, "state", 7), i = y(t, "isDataSaving", 7, !1), a = y(t, "onoptionClick", 7), o = y(t, "onExpandImage", 7);
6142
6142
  const l = (C, k) => {
6143
6143
  a()?.(new CustomEvent("optionClick", { detail: { optionId: C, answer: k } }));
@@ -6176,7 +6176,7 @@ function Io(e, t) {
6176
6176
  set onExpandImage(C) {
6177
6177
  o(C), x();
6178
6178
  }
6179
- }, f = xe(), m = ue(f);
6179
+ }, f = be(), m = ue(f);
6180
6180
  {
6181
6181
  var g = (C) => {
6182
6182
  var k = Wc(), M = F(k);
@@ -6185,17 +6185,17 @@ function Io(e, t) {
6185
6185
  var b = Vc();
6186
6186
  N(_, b);
6187
6187
  };
6188
- U(M, (_) => {
6188
+ q(M, (_) => {
6189
6189
  i() && _(v);
6190
6190
  });
6191
6191
  }
6192
- var A = Q(M, 2);
6193
- nn(A, 21, () => Object.values(s(c)), rn, (_, b, E) => {
6194
- Ao(_, {
6192
+ var I = Q(M, 2);
6193
+ nn(I, 21, () => Object.values(s(c)), rn, (_, b, A) => {
6194
+ Io(_, {
6195
6195
  get option() {
6196
6196
  return s(b);
6197
6197
  },
6198
- index: E,
6198
+ index: A,
6199
6199
  get config() {
6200
6200
  return r();
6201
6201
  },
@@ -6208,21 +6208,21 @@ function Io(e, t) {
6208
6208
  onOptionClick: l,
6209
6209
  onExpandImage: u
6210
6210
  });
6211
- }), O(A), O(k), re(() => {
6212
- se(k, 1, Ae(s(h) ? "w-full" : "relative")), se(A, 1, Ae(s(h) ? "flex flex-col justify-start items-center md:items-start md:flex-none md:grid md:[grid-template-columns:repeat(2,minmax(auto,304px))] md:gap-x-4 md:justify-center lg:justify-start" : ""));
6211
+ }), O(I), O(k), re(() => {
6212
+ oe(k, 1, Ie(s(h) ? "w-full" : "relative")), oe(I, 1, Ie(s(h) ? "flex flex-col justify-start items-center md:items-start md:flex-none md:grid md:[grid-template-columns:repeat(2,minmax(auto,304px))] md:gap-x-4 md:justify-center lg:justify-start" : ""));
6213
6213
  }), N(C, k);
6214
6214
  }, w = (C) => {
6215
6215
  var k = jc();
6216
6216
  N(C, k);
6217
6217
  };
6218
- U(m, (C) => {
6218
+ q(m, (C) => {
6219
6219
  s(c) ? C(g) : C(w, !1);
6220
6220
  });
6221
6221
  }
6222
- return N(e, f), we(d);
6222
+ return N(e, f), ve(d);
6223
6223
  }
6224
- be(
6225
- Io,
6224
+ we(
6225
+ Ao,
6226
6226
  {
6227
6227
  config: {},
6228
6228
  state: {},
@@ -6236,42 +6236,42 @@ be(
6236
6236
  );
6237
6237
  var qc = /* @__PURE__ */ z('<div aria-live="polite" class="mb-6"><!></div>'), Uc = /* @__PURE__ */ z("<!> <!>", 1);
6238
6238
  function Eo(e, t) {
6239
- ve(t, !0);
6239
+ ge(t, !0);
6240
6240
  let r = y(t, "api", 7), n = y(t, "config", 7), i = y(t, "isDataSaving", 7, !1), a = y(t, "onstateChange", 7);
6241
6241
  const o = r().hasExistingState?.() ? r().restoreState?.() : r().createInitialState?.();
6242
6242
  if (!o?.data)
6243
6243
  throw new Error("Failed to initialize MCQ state");
6244
- let l = /* @__PURE__ */ q(lt(o)), u = /* @__PURE__ */ S(() => Ni(s(l), n(), n().options)), c = /* @__PURE__ */ S(() => s(u).selectedOptions), p = /* @__PURE__ */ S(() => s(u).totalCorrectAnswers), h = /* @__PURE__ */ S(() => s(u).mode), d = /* @__PURE__ */ S(() => s(u).hasMedia), f = /* @__PURE__ */ S(() => s(h) === fe.INTERACTIVE), m = /* @__PURE__ */ q(!1), g = /* @__PURE__ */ q(0), w = null, C = /* @__PURE__ */ S(() => Object.values(n().options).filter((D) => D.media));
6244
+ let l = /* @__PURE__ */ j(lt(o)), u = /* @__PURE__ */ S(() => Ni(s(l), n(), n().options)), c = /* @__PURE__ */ S(() => s(u).selectedOptions), p = /* @__PURE__ */ S(() => s(u).totalCorrectAnswers), h = /* @__PURE__ */ S(() => s(u).mode), d = /* @__PURE__ */ S(() => s(u).hasMedia), f = /* @__PURE__ */ S(() => s(h) === fe.INTERACTIVE), m = /* @__PURE__ */ j(!1), g = /* @__PURE__ */ j(0), w = null, C = /* @__PURE__ */ S(() => Object.values(n().options).filter((D) => D.media));
6245
6245
  const k = (D) => ({
6246
6246
  answer_id: D,
6247
6247
  answer_choice: [],
6248
6248
  timestamp: Date.now()
6249
6249
  }), M = (D) => r().validate ? r().validate(k(D)).isValid : !1, v = (D) => r().validate && r().validate(k(D)).feedback || "";
6250
- let A = /* @__PURE__ */ S(() => Il(s(l), n(), M, v));
6250
+ let I = /* @__PURE__ */ S(() => Al(s(l), n(), M, v));
6251
6251
  const _ = (D, R) => {
6252
6252
  R.stopPropagation(), w = R.currentTarget;
6253
- const Z = Object.values(n().options), K = s(C).findIndex((ne, ae) => Z.findIndex((j) => j.id === s(C)[ae].id) === D);
6254
- I(g, K >= 0 ? K : 0, !0), I(m, !0);
6253
+ const Y = Object.values(n().options), K = s(C).findIndex((te, ne) => Y.findIndex((G) => G.id === s(C)[ne].id) === D);
6254
+ E(g, K >= 0 ? K : 0, !0), E(m, !0);
6255
6255
  }, b = () => {
6256
- I(m, !1), tr().then(() => {
6256
+ E(m, !1), tr().then(() => {
6257
6257
  w && (w.focus(), w = null);
6258
6258
  });
6259
- }, E = (D) => {
6260
- I(g, D.index, !0);
6259
+ }, A = (D) => {
6260
+ E(g, D.index, !0);
6261
6261
  }, L = (D) => {
6262
- const { optionId: R, answer: Z } = D.detail;
6262
+ const { optionId: R, answer: Y } = D.detail;
6263
6263
  if (r().isLocked?.(s(l))) return;
6264
- const K = r().selectOption?.(s(l), R, Z);
6265
- K && (I(l, K.newState, !0), r().onStateChange?.(s(l)), a()?.(new CustomEvent("stateChange", {
6264
+ const K = r().selectOption?.(s(l), R, Y);
6265
+ K && (E(l, K.newState, !0), r().onStateChange?.(s(l)), a()?.(new CustomEvent("stateChange", {
6266
6266
  detail: {
6267
6267
  state: s(l),
6268
6268
  serialized: r().serialize?.(s(l))
6269
6269
  }
6270
6270
  })), s(f) && V());
6271
6271
  }, V = () => {
6272
- I(l, Fe.updateState(s(l), { interactiveHasAnswered: !0 }), !0), s(p) === s(c).length && setTimeout(
6272
+ E(l, Fe.updateState(s(l), { interactiveHasAnswered: !0 }), !0), s(p) === s(c).length && setTimeout(
6273
6273
  () => {
6274
- I(l, Fe.updateState(s(l), { showFeedback: !0 }), !0);
6274
+ E(l, Fe.updateState(s(l), { showFeedback: !0 }), !0);
6275
6275
  },
6276
6276
  50
6277
6277
  );
@@ -6303,8 +6303,8 @@ function Eo(e, t) {
6303
6303
  }
6304
6304
  }, P = Uc(), W = ue(P);
6305
6305
  {
6306
- const D = (ne) => {
6307
- Io(ne, {
6306
+ const D = (te) => {
6307
+ Ao(te, {
6308
6308
  get config() {
6309
6309
  return n();
6310
6310
  },
@@ -6317,39 +6317,39 @@ function Eo(e, t) {
6317
6317
  onoptionClick: L,
6318
6318
  onExpandImage: _
6319
6319
  });
6320
- }, R = (ne) => {
6321
- var ae = xe(), he = ue(ae);
6320
+ }, R = (te) => {
6321
+ var ne = be(), _e = ue(ne);
6322
6322
  {
6323
- var j = (me) => {
6324
- var pe = qc(), Y = F(pe);
6325
- ui(Y, {
6323
+ var G = (me) => {
6324
+ var pe = qc(), U = F(pe);
6325
+ ui(U, {
6326
6326
  get feedbackState() {
6327
- return s(A);
6327
+ return s(I);
6328
6328
  },
6329
6329
  get isInteractiveMode() {
6330
6330
  return s(f);
6331
6331
  }
6332
6332
  }), O(pe), N(me, pe);
6333
- }, te = (me) => {
6333
+ }, se = (me) => {
6334
6334
  ui(me, {
6335
6335
  get feedbackState() {
6336
- return s(A);
6336
+ return s(I);
6337
6337
  },
6338
6338
  get isInteractiveMode() {
6339
6339
  return s(f);
6340
6340
  }
6341
6341
  });
6342
6342
  };
6343
- U(he, (me) => {
6344
- s(f) ? me(j) : me(te, !1);
6343
+ q(_e, (me) => {
6344
+ s(f) ? me(G) : me(se, !1);
6345
6345
  });
6346
6346
  }
6347
- N(ne, ae);
6347
+ N(te, ne);
6348
6348
  };
6349
- let Z = /* @__PURE__ */ S(() => n().rubric?.text || ""), K = /* @__PURE__ */ S(() => n().prompt || "");
6349
+ let Y = /* @__PURE__ */ S(() => n().rubric?.text || ""), K = /* @__PURE__ */ S(() => n().prompt || "");
6350
6350
  Di(W, {
6351
6351
  get rubric() {
6352
- return s(Z);
6352
+ return s(Y);
6353
6353
  },
6354
6354
  get prompt() {
6355
6355
  return s(K);
@@ -6384,16 +6384,16 @@ function Eo(e, t) {
6384
6384
  },
6385
6385
  modalAriaLabel: "Image viewer",
6386
6386
  onclose: b,
6387
- onnavigate: E
6387
+ onnavigate: A
6388
6388
  });
6389
6389
  };
6390
- U(ce, (D) => {
6390
+ q(ce, (D) => {
6391
6391
  s(d) && D(B);
6392
6392
  });
6393
6393
  }
6394
- return N(e, P), we($);
6394
+ return N(e, P), ve($);
6395
6395
  }
6396
- be(Eo, { api: {}, config: {}, isDataSaving: {}, onstateChange: {} }, [], [], !0);
6396
+ we(Eo, { api: {}, config: {}, isDataSaving: {}, onstateChange: {} }, [], [], !0);
6397
6397
  const Yc = (e, t) => {
6398
6398
  const r = () => e.correctAnswerIds || Object.values(e.options).filter((c) => c.correct_choice).map((c) => c.id), n = () => e.maxSelections || r().length, i = () => e.mode === fe.PREVIEW, a = () => e.mode === fe.INTERACTIVE, o = () => e.mode === fe.SESSION, l = (c, p) => {
6399
6399
  const h = c.filter((f) => p.includes(f)).length, d = c.filter((f) => !p.includes(f)).length;
@@ -6599,16 +6599,16 @@ function Xc(e, t, r) {
6599
6599
  }
6600
6600
  var Jc = /* @__PURE__ */ z('<label class="absolute left-0 top-0 bottom-0" aria-hidden="true"><span class="absolute inset-0 bg-black opacity-5 rounded-l-lg w-8.5 h-10.5 top-1"></span> <span class="absolute font-semibold text-base leading-[19px] text-charcoal px-3 inline-block pt-[15px]"> </span></label>'), eu = /* @__PURE__ */ z('<span class="w-6 h-6 absolute right-4 top-3.5 flex items-center justify-center" aria-hidden="true"><!></span>'), tu = /* @__PURE__ */ z('<span><!> <input placeholder="Type your answer here" autocomplete="off"/> <!></span>');
6601
6601
  function Lo(e, t) {
6602
- ve(t, !0);
6602
+ ge(t, !0);
6603
6603
  let r = y(t, "index", 7), n = y(t, "value", 15), i = y(t, "readonly", 7, !1), a = y(t, "showStatus", 7, !1), o = y(t, "isCorrect", 7, null), l = y(t, "isMultiple", 7, !1), u = y(t, "marginClass", 7, ""), c = y(t, "onBlur", 7);
6604
6604
  const p = /* @__PURE__ */ S(l), h = /* @__PURE__ */ S(() => r() + 1);
6605
- let d = /* @__PURE__ */ q(lt(n()));
6605
+ let d = /* @__PURE__ */ j(lt(n()));
6606
6606
  Te(() => {
6607
- i() && I(d, n(), !0);
6607
+ i() && E(d, n(), !0);
6608
6608
  });
6609
6609
  let f = /* @__PURE__ */ S(() => a() ? o() === !0 ? `Student's answer (Correct), Item number ${s(h)}: ${s(d) ?? ""}` : `Student's answer (Incorrect), Item number ${s(h)}: ${s(d) ?? ""}` : `Item number ${s(h)}`), m;
6610
6610
  const g = () => {
6611
- I(d, n(), !0), c()?.(r());
6611
+ E(d, n(), !0), c()?.(r());
6612
6612
  }, w = (L) => {
6613
6613
  L.key === "Enter" && (L.preventDefault(), m?.blur(), m?.focus());
6614
6614
  }, C = /* @__PURE__ */ S(() => (() => {
@@ -6668,21 +6668,21 @@ function Lo(e, t) {
6668
6668
  }
6669
6669
  }, M = tu(), v = F(M);
6670
6670
  {
6671
- var A = (L) => {
6671
+ var I = (L) => {
6672
6672
  var V = Jc(), $ = Q(F(V), 2), P = F($, !0);
6673
6673
  O($), O(V), re(() => {
6674
6674
  X(V, "for", `inline-${r() ?? ""}`), dt(P, s(h));
6675
6675
  }), N(L, V);
6676
6676
  };
6677
- U(v, (L) => {
6678
- s(p) && L(A);
6677
+ q(v, (L) => {
6678
+ s(p) && L(I);
6679
6679
  });
6680
6680
  }
6681
6681
  var _ = Q(v, 2);
6682
6682
  ro(_), _.__keydown = w, Mt(_, (L) => m = L, () => m);
6683
6683
  var b = Q(_, 2);
6684
6684
  {
6685
- var E = (L) => {
6685
+ var A = (L) => {
6686
6686
  var V = eu(), $ = F(V);
6687
6687
  {
6688
6688
  let P = /* @__PURE__ */ S(() => !!o()), W = /* @__PURE__ */ S(() => o() ? "text-green-900" : "text-red-900");
@@ -6697,16 +6697,16 @@ function Lo(e, t) {
6697
6697
  }
6698
6698
  O(V), N(L, V);
6699
6699
  };
6700
- U(b, (L) => {
6701
- a() && n() && n().trim() && o() !== null && L(E);
6700
+ q(b, (L) => {
6701
+ a() && n() && n().trim() && o() !== null && L(A);
6702
6702
  });
6703
6703
  }
6704
6704
  return O(M), re(() => {
6705
- se(M, 1, `relative inline-block h-fit my-2 ${u() ?? ""}`), X(_, "id", `inline-${r() ?? ""}`), se(_, 1, Ae(s(C))), X(_, "aria-label", s(f)), _.readOnly = i();
6706
- }), ct("blur", _, g), oi(_, n), N(e, M), we(k);
6705
+ oe(M, 1, `relative inline-block h-fit my-2 ${u() ?? ""}`), X(_, "id", `inline-${r() ?? ""}`), oe(_, 1, Ie(s(C))), X(_, "aria-label", s(f)), _.readOnly = i();
6706
+ }), ct("blur", _, g), oi(_, n), N(e, M), ve(k);
6707
6707
  }
6708
- Ar(["keydown"]);
6709
- be(
6708
+ Ir(["keydown"]);
6709
+ we(
6710
6710
  Lo,
6711
6711
  {
6712
6712
  index: {},
@@ -6733,7 +6733,7 @@ const ea = (e, t) => {
6733
6733
  };
6734
6734
  var ru = /* @__PURE__ */ z('<textarea id="answerText" placeholder="Type your answer here" autocomplete="off" rows="3"></textarea>'), nu = /* @__PURE__ */ z('<input autocomplete="off" placeholder="Type your answer here"/>'), iu = /* @__PURE__ */ z('<div class="relative"><!></div>');
6735
6735
  function No(e, t) {
6736
- ve(t, !0);
6736
+ ge(t, !0);
6737
6737
  let r = y(t, "value", 15), n = y(t, "variant", 7), i = y(t, "readonly", 7, !1), a = y(t, "disabled", 7, !1), o = y(t, "showStatus", 7, !1), l = y(t, "isCorrect", 7, null), u = y(t, "isSkipped", 7, !1), c = y(t, "onBlur", 7), p = /* @__PURE__ */ S(() => o() && l() !== null ? `Submitted response is ${l() ? "correct" : "incorrect"}` : r() ? "Your response is" : "Answer input: Please type your response");
6738
6738
  const h = Qc(), d = (M) => {
6739
6739
  h.handleFocus(M);
@@ -6794,22 +6794,22 @@ function No(e, t) {
6794
6794
  var C = (M) => {
6795
6795
  var v = ru();
6796
6796
  Na(v), v.__mousedown = [ea, h], v.__touchstart = [ta, h], v.__keydown = [ra, h, c], re(() => {
6797
- se(v, 1, `typein-textbox resize-none ${o() && !u() && l() === !0 ? "border-2 border-green-800" : ""} ${o() && !u() && l() === !1 ? "border-2 border-red-800 bg-red-50" : ""}`), X(v, "aria-label", s(p)), v.readOnly = i(), v.disabled = a();
6797
+ oe(v, 1, `typein-textbox resize-none ${o() && !u() && l() === !0 ? "border-2 border-green-800" : ""} ${o() && !u() && l() === !1 ? "border-2 border-red-800 bg-red-50" : ""}`), X(v, "aria-label", s(p)), v.readOnly = i(), v.disabled = a();
6798
6798
  }), ct("focus", v, d), ct("blur", v, f), oi(v, r), N(M, v);
6799
6799
  }, k = (M) => {
6800
6800
  var v = nu();
6801
6801
  ro(v), v.__mousedown = [ea, h], v.__touchstart = [ta, h], v.__keydown = [ra, h, c], re(() => {
6802
- se(v, 1, `typein-textbox typein-input ${o() && !u() && l() === !0 ? "border-2 border-green-800" : ""} ${o() && !u() && l() === !1 ? "border-2 border-red-800 bg-red-50" : ""}`), X(v, "aria-label", s(p)), v.readOnly = i(), v.disabled = a();
6802
+ oe(v, 1, `typein-textbox typein-input ${o() && !u() && l() === !0 ? "border-2 border-green-800" : ""} ${o() && !u() && l() === !1 ? "border-2 border-red-800 bg-red-50" : ""}`), X(v, "aria-label", s(p)), v.readOnly = i(), v.disabled = a();
6803
6803
  }), ct("focus", v, d), ct("blur", v, f), oi(v, r), N(M, v);
6804
6804
  };
6805
- U(w, (M) => {
6805
+ q(w, (M) => {
6806
6806
  n() === "long" ? M(C) : M(k, !1);
6807
6807
  });
6808
6808
  }
6809
- return O(g), N(e, g), we(m);
6809
+ return O(g), N(e, g), ve(m);
6810
6810
  }
6811
- Ar(["mousedown", "touchstart", "keydown"]);
6812
- be(
6811
+ Ir(["mousedown", "touchstart", "keydown"]);
6812
+ we(
6813
6813
  No,
6814
6814
  {
6815
6815
  value: {},
@@ -6857,11 +6857,11 @@ typeof window > "u" ? ((Gr = function(e) {
6857
6857
  function c(h) {
6858
6858
  var d, f, m = h.restoreTextAlign, g = m === void 0 ? null : m, w = h.testForHeightReduction, C = w === void 0 || w, k = o.overflowY;
6859
6859
  if (n.scrollHeight !== 0 && (o.resize === "vertical" ? n.style.resize = "none" : o.resize === "both" && (n.style.resize = "horizontal"), C && (d = (function(v) {
6860
- for (var A = []; v && v.parentNode && v.parentNode instanceof Element; ) v.parentNode.scrollTop && A.push([v.parentNode, v.parentNode.scrollTop]), v = v.parentNode;
6860
+ for (var I = []; v && v.parentNode && v.parentNode instanceof Element; ) v.parentNode.scrollTop && I.push([v.parentNode, v.parentNode.scrollTop]), v = v.parentNode;
6861
6861
  return function() {
6862
- return A.forEach(function(_) {
6863
- var b = _[0], E = _[1];
6864
- b.style.scrollBehavior = "auto", b.scrollTop = E, b.style.scrollBehavior = null;
6862
+ return I.forEach(function(_) {
6863
+ var b = _[0], A = _[1];
6864
+ b.style.scrollBehavior = "auto", b.scrollTop = A, b.style.scrollBehavior = null;
6865
6865
  });
6866
6866
  };
6867
6867
  })(n), n.style.height = ""), f = o.boxSizing === "content-box" ? n.scrollHeight - (parseFloat(o.paddingTop) + parseFloat(o.paddingBottom)) : n.scrollHeight + parseFloat(o.borderTopWidth) + parseFloat(o.borderBottomWidth), o.maxHeight !== "none" && f > parseFloat(o.maxHeight) ? (o.overflowY === "hidden" && (n.style.overflow = "scroll"), f = parseFloat(o.maxHeight)) : o.overflowY !== "hidden" && (n.style.overflow = "hidden"), n.style.height = f + "px", g && (n.style.textAlign = g), d && d(), a !== f && (n.dispatchEvent(new Event("autosize:resized", { bubbles: !0 })), a = f), k !== o.overflow && !g)) {
@@ -6889,7 +6889,7 @@ Fi.update = En.update;
6889
6889
  Fi.destroy = En.destroy;
6890
6890
  var su = /* @__PURE__ */ z('<span class="w-6 h-6 absolute right-4 top-[calc(50%+0.375rem)] -translate-y-1/2 flex items-center justify-center"><!></span>'), lu = /* @__PURE__ */ z('<div><label aria-hidden="true"><span class="absolute inset-0 bottom-[7px] bg-black opacity-5 rounded-l-lg w-8.5 top-1"></span> <span class="absolute font-semibold text-base leading-[19px] text-charcoal px-3 inline-block top-1/2 -translate-y-1/2 -mt-0.5"> </span></label> <textarea rows="1" readonly=""></textarea> <!></div>');
6891
6891
  function hi(e, t) {
6892
- ve(t, !0);
6892
+ ge(t, !0);
6893
6893
  let r = y(t, "answer", 7), n = y(t, "isCorrect", 7), i = y(t, "questionNumber", 7), a = y(t, "type", 7), o = y(t, "showQuestionNumber", 7), l = y(t, "showResultIcon", 7), u = y(t, "comparison", 7), c = /* @__PURE__ */ S(m), p = /* @__PURE__ */ S(g), h = /* @__PURE__ */ S(w), d = /* @__PURE__ */ S(C), f = /* @__PURE__ */ S(k);
6894
6894
  function m() {
6895
6895
  return a() === "student" ? r() || "No answer provided" : u().correctAnswer;
@@ -6952,11 +6952,11 @@ function hi(e, t) {
6952
6952
  set comparison($) {
6953
6953
  u($), x();
6954
6954
  }
6955
- }, v = lu(), A = F(v), _ = Q(F(A), 2), b = F(_, !0);
6956
- O(_), O(A);
6957
- var E = Q(A, 2);
6958
- Na(E), js(E, ($) => Fi?.($));
6959
- var L = Q(E, 2);
6955
+ }, v = lu(), I = F(v), _ = Q(F(I), 2), b = F(_, !0);
6956
+ O(_), O(I);
6957
+ var A = Q(I, 2);
6958
+ Na(A), js(A, ($) => Fi?.($));
6959
+ var L = Q(A, 2);
6960
6960
  {
6961
6961
  var V = ($) => {
6962
6962
  var P = su(), W = F(P);
@@ -6973,15 +6973,15 @@ function hi(e, t) {
6973
6973
  }
6974
6974
  O(P), N($, P);
6975
6975
  };
6976
- U(L, ($) => {
6976
+ q(L, ($) => {
6977
6977
  l() && a() === "student" && $(V);
6978
6978
  });
6979
6979
  }
6980
6980
  return O(v), re(() => {
6981
- se(v, 1, `h-fit relative ${a() === "correct" && u().isCorrect ? "hidden md:block" : ""}`), X(A, "for", `${a() ?? ""}-${u().id ?? ""}-${i() - 1}`), se(A, 1, Ae(s(p))), dt(b, i()), X(E, "aria-label", s(f)), se(E, 1, Ae(s(h))), X(E, "id", `${a() ?? ""}-${u().id ?? ""}-${i() - 1}`), Qs(E, s(c)), X(E, "tabindex", s(d));
6982
- }), N(e, v), we(M);
6981
+ oe(v, 1, `h-fit relative ${a() === "correct" && u().isCorrect ? "hidden md:block" : ""}`), X(I, "for", `${a() ?? ""}-${u().id ?? ""}-${i() - 1}`), oe(I, 1, Ie(s(p))), dt(b, i()), X(A, "aria-label", s(f)), oe(A, 1, Ie(s(h))), X(A, "id", `${a() ?? ""}-${u().id ?? ""}-${i() - 1}`), Qs(A, s(c)), X(A, "tabindex", s(d));
6982
+ }), N(e, v), ve(M);
6983
6983
  }
6984
- be(
6984
+ we(
6985
6985
  hi,
6986
6986
  {
6987
6987
  answer: {},
@@ -6998,7 +6998,7 @@ be(
6998
6998
  );
6999
6999
  var cu = /* @__PURE__ */ z(`<div class="flex flex-col md:flex-row"><div class="flex flex-col md:w-1/2 md:pr-4"><p>Student's answers:</p> <!></div> <div><p>Correct answers:</p> <!></div></div>`);
7000
7000
  function Ro(e, t) {
7001
- ve(t, !0);
7001
+ ge(t, !0);
7002
7002
  let r = y(t, "comparison", 7), n = y(t, "showHeaders", 7, !1), i = y(t, "isMultipleAnswers", 7, !1), a = y(t, "isFirstRow", 7, !1), o = /* @__PURE__ */ S(u), l = /* @__PURE__ */ S(c);
7003
7003
  function u() {
7004
7004
  return !n() || !a() ? "hidden" : "text-base text-charcoal font-semibold";
@@ -7071,10 +7071,10 @@ function Ro(e, t) {
7071
7071
  return r();
7072
7072
  }
7073
7073
  }), O(g), O(h), re(() => {
7074
- se(f, 1, Ae(s(o))), se(g, 1, `flex flex-col md:w-1/2 ml-8.5 md:ml-0 md:pl-4 ${r().isCorrect ? "hidden md:block" : ""}`), se(w, 1, Ae(s(l)));
7075
- }), N(e, h), we(p);
7074
+ oe(f, 1, Ie(s(o))), oe(g, 1, `flex flex-col md:w-1/2 ml-8.5 md:ml-0 md:pl-4 ${r().isCorrect ? "hidden md:block" : ""}`), oe(w, 1, Ie(s(l)));
7075
+ }), N(e, h), ve(p);
7076
7076
  }
7077
- be(
7077
+ we(
7078
7078
  Ro,
7079
7079
  {
7080
7080
  comparison: {},
@@ -7105,7 +7105,7 @@ function uu(e, t, r, n) {
7105
7105
  }
7106
7106
  var du = /* @__PURE__ */ z('<div class="feedback-comparison-table" aria-live="off"></div>');
7107
7107
  function Oo(e, t) {
7108
- ve(t, !0);
7108
+ ge(t, !0);
7109
7109
  let r = y(t, "sessionId", 7), n = y(t, "answerResults", 23, () => []), i = y(t, "correctAnswers", 23, () => []), a = y(t, "sessionAnswer", 23, () => []), o = /* @__PURE__ */ S(() => uu(r(), n(), i(), a())), l = /* @__PURE__ */ S(() => s(o).comparisons.length > 1);
7110
7110
  var u = {
7111
7111
  get sessionId() {
@@ -7132,7 +7132,7 @@ function Oo(e, t) {
7132
7132
  set sessionAnswer(d = []) {
7133
7133
  a(d), x();
7134
7134
  }
7135
- }, c = xe(), p = ue(c);
7135
+ }, c = be(), p = ue(c);
7136
7136
  {
7137
7137
  var h = (d) => {
7138
7138
  var f = du();
@@ -7149,13 +7149,13 @@ function Oo(e, t) {
7149
7149
  });
7150
7150
  }), O(f), N(d, f);
7151
7151
  };
7152
- U(p, (d) => {
7152
+ q(p, (d) => {
7153
7153
  s(o).comparisons.length > 0 && d(h);
7154
7154
  });
7155
7155
  }
7156
- return N(e, c), we(u);
7156
+ return N(e, c), ve(u);
7157
7157
  }
7158
- be(
7158
+ we(
7159
7159
  Oo,
7160
7160
  {
7161
7161
  sessionId: {},
@@ -7169,22 +7169,22 @@ be(
7169
7169
  );
7170
7170
  var fu = /* @__PURE__ */ z('<div aria-hidden="true"><!> <span class="p2"> </span></div>'), pu = /* @__PURE__ */ z('<div class="mt-4"><!></div>'), hu = /* @__PURE__ */ z("<!> <!> <!>", 1);
7171
7171
  function Do(e, t) {
7172
- ve(t, !0);
7172
+ ge(t, !0);
7173
7173
  let r = y(t, "config", 7), n = y(t, "feedbackState", 7), i = y(t, "validationDetail", 7), a = y(t, "answers", 7), o = y(t, "isInteractiveMode", 7), l = y(t, "correctAnswersFlat", 7), u = y(t, "sessionAnswersFlat", 7), c = y(t, "answerResults", 7);
7174
7174
  const p = /* @__PURE__ */ S(() => n().showStatusLine && r().variant !== "inline"), h = /* @__PURE__ */ S(() => n().isFeedbackShown && !n().isSkipped), d = /* @__PURE__ */ S(() => n().showComparisonTable && r().variant === "inline"), f = /* @__PURE__ */ S(() => o() && r().variant === "inline" ? "info" : "result");
7175
- let m = /* @__PURE__ */ q(!1);
7175
+ let m = /* @__PURE__ */ j(!1);
7176
7176
  Te(() => {
7177
7177
  if (s(d)) {
7178
- I(m, !1);
7178
+ E(m, !1);
7179
7179
  const b = setTimeout(
7180
7180
  () => {
7181
- I(m, !0);
7181
+ E(m, !0);
7182
7182
  },
7183
7183
  100
7184
7184
  );
7185
7185
  return () => clearTimeout(b);
7186
7186
  } else
7187
- I(m, !1);
7187
+ E(m, !1);
7188
7188
  });
7189
7189
  var g = {
7190
7190
  get config() {
@@ -7238,7 +7238,7 @@ function Do(e, t) {
7238
7238
  }, w = hu(), C = ue(w);
7239
7239
  {
7240
7240
  var k = (b) => {
7241
- var E = fu(), L = F(E);
7241
+ var A = fu(), L = F(A);
7242
7242
  {
7243
7243
  let P = /* @__PURE__ */ S(() => n().isResultCorrect ? "text-green-800" : "text-red-800");
7244
7244
  pn(L, {
@@ -7251,18 +7251,18 @@ function Do(e, t) {
7251
7251
  });
7252
7252
  }
7253
7253
  var V = Q(L, 2), $ = F(V, !0);
7254
- O(V), O(E), re(() => {
7255
- se(E, 1, `flex items-center text-charcoal ${r().variant === "short" ? "mt-2" : "mt-0.5"}`), dt($, n().isResultCorrect ? "Correct" : "Incorrect");
7256
- }), N(b, E);
7254
+ O(V), O(A), re(() => {
7255
+ oe(A, 1, `flex items-center text-charcoal ${r().variant === "short" ? "mt-2" : "mt-0.5"}`), dt($, n().isResultCorrect ? "Correct" : "Incorrect");
7256
+ }), N(b, A);
7257
7257
  };
7258
- U(C, (b) => {
7258
+ q(C, (b) => {
7259
7259
  s(p) && b(k);
7260
7260
  });
7261
7261
  }
7262
7262
  var M = Q(C, 2);
7263
7263
  {
7264
7264
  var v = (b) => {
7265
- var E = pu(), L = F(E);
7265
+ var A = pu(), L = F(A);
7266
7266
  {
7267
7267
  let V = /* @__PURE__ */ S(() => n().isResultCorrect ? "correct" : n().isSkipped ? "skipped" : "incorrect"), $ = /* @__PURE__ */ S(() => r().variant === "inline"), P = /* @__PURE__ */ S(() => !o());
7268
7268
  Li(L, {
@@ -7284,20 +7284,20 @@ function Do(e, t) {
7284
7284
  iconProps: "h-6 w-6 flex items-center pt-0.5 mr-2"
7285
7285
  });
7286
7286
  }
7287
- O(E), N(b, E);
7287
+ O(A), N(b, A);
7288
7288
  };
7289
- U(M, (b) => {
7289
+ q(M, (b) => {
7290
7290
  s(h) && b(v);
7291
7291
  });
7292
7292
  }
7293
- var A = Q(M, 2);
7293
+ var I = Q(M, 2);
7294
7294
  {
7295
7295
  var _ = (b) => {
7296
7296
  {
7297
- let E = /* @__PURE__ */ S(() => r().rubric?.text || "typein");
7297
+ let A = /* @__PURE__ */ S(() => r().rubric?.text || "typein");
7298
7298
  Oo(b, {
7299
7299
  get sessionId() {
7300
- return s(E);
7300
+ return s(A);
7301
7301
  },
7302
7302
  get answerResults() {
7303
7303
  return c();
@@ -7311,13 +7311,13 @@ function Do(e, t) {
7311
7311
  });
7312
7312
  }
7313
7313
  };
7314
- U(A, (b) => {
7314
+ q(I, (b) => {
7315
7315
  s(m) && b(_);
7316
7316
  });
7317
7317
  }
7318
- return N(e, w), we(g);
7318
+ return N(e, w), ve(g);
7319
7319
  }
7320
- be(
7320
+ we(
7321
7321
  Do,
7322
7322
  {
7323
7323
  config: {},
@@ -7335,26 +7335,26 @@ be(
7335
7335
  );
7336
7336
  var mu = /* @__PURE__ */ z("<p></p>"), gu = /* @__PURE__ */ z('<div class="absolute inset-0 bg-transparent z-50"></div>'), vu = /* @__PURE__ */ z('<div class="inline-typein-container mt-6 relative"><!> <div class="divider my-6"></div> <!></div>');
7337
7337
  function Fo(e, t) {
7338
- ve(t, !0);
7338
+ ge(t, !0);
7339
7339
  let r = y(t, "api", 7), n = y(t, "config", 7), i = y(t, "isDataSaving", 7, !1), a = y(t, "onstateChange", 7);
7340
7340
  const o = r().hasExistingState?.() ? r().restoreState?.() : r().createInitialState?.();
7341
7341
  if (!o?.data) throw new Error("Failed to initialize TypeIn state");
7342
- let l = /* @__PURE__ */ q(lt(o)), u = /* @__PURE__ */ S(() => Mo(s(l), n())), c = /* @__PURE__ */ S(() => s(u).answers), p = /* @__PURE__ */ S(() => s(u).mode), h = /* @__PURE__ */ S(() => s(p) === fe.INTERACTIVE), d = /* @__PURE__ */ q("");
7342
+ let l = /* @__PURE__ */ j(lt(o)), u = /* @__PURE__ */ S(() => Mo(s(l), n())), c = /* @__PURE__ */ S(() => s(u).answers), p = /* @__PURE__ */ S(() => s(u).mode), h = /* @__PURE__ */ S(() => s(p) === fe.INTERACTIVE), d = /* @__PURE__ */ j("");
7343
7343
  Te(() => {
7344
- s(d) === "" && I(
7344
+ s(d) === "" && E(
7345
7345
  d,
7346
7346
  n().variant === "inline" ? JSON.stringify(s(l).data.inlineInputs) : s(l).data.userInput,
7347
7347
  !0
7348
7348
  );
7349
7349
  });
7350
7350
  const m = (n().variant === "inline" ? xu(n().inlinePrompt) : { segments: [] }).segments, g = (B, D) => {
7351
- const R = B > 0 ? D[B - 1] : null, Z = B < D.length - 1 ? D[B + 1] : null, K = R?.type === "text" && R.content.replace(/<[^>]*>/g, "").trim().length > 0, ne = Z?.type === "text" && Z.content.replace(/<[^>]*>/g, "").trim().length > 0;
7352
- return `${K ? "ml-2" : ""} ${ne ? "mr-2" : ""}`.trim();
7351
+ const R = B > 0 ? D[B - 1] : null, Y = B < D.length - 1 ? D[B + 1] : null, K = R?.type === "text" && R.content.replace(/<[^>]*>/g, "").trim().length > 0, te = Y?.type === "text" && Y.content.replace(/<[^>]*>/g, "").trim().length > 0;
7352
+ return `${K ? "ml-2" : ""} ${te ? "mr-2" : ""}`.trim();
7353
7353
  }, w = (B) => {
7354
7354
  let D = 0;
7355
7355
  for (const R of B)
7356
- for (const Z of R.parts)
7357
- if (Z.type === "blank" && (D++, D > 1))
7356
+ for (const Y of R.parts)
7357
+ if (Y.type === "blank" && (D++, D > 1))
7358
7358
  return !0;
7359
7359
  return !1;
7360
7360
  }, C = n().variant === "inline" ? w(m) : !1, k = (B) => {
@@ -7365,19 +7365,19 @@ function Fo(e, t) {
7365
7365
  detail: Array.isArray(D.detail) ? D.detail : s(c).map(() => !1)
7366
7366
  };
7367
7367
  };
7368
- let M = /* @__PURE__ */ S(() => Gc(s(l), n(), k)), v = /* @__PURE__ */ q(""), A = /* @__PURE__ */ q(lt([])), _ = /* @__PURE__ */ q(!1);
7368
+ let M = /* @__PURE__ */ S(() => Gc(s(l), n(), k)), v = /* @__PURE__ */ j(""), I = /* @__PURE__ */ j(lt([])), _ = /* @__PURE__ */ j(!1);
7369
7369
  Te(() => {
7370
- s(_) || I(v, s(l).data.userInput || "", !0);
7370
+ s(_) || E(v, s(l).data.userInput || "", !0);
7371
7371
  }), Te(() => {
7372
- s(_) || I(A, [...s(l).data.inlineInputs], !0);
7372
+ s(_) || E(I, [...s(l).data.inlineInputs], !0);
7373
7373
  });
7374
7374
  const b = () => {
7375
7375
  const B = s(v);
7376
- if (I(_, !0), I(l, r().updateUserInput?.(s(l), B) || s(l), !0), !Kc(B, s(d), i())) {
7377
- I(_, !1);
7376
+ if (E(_, !0), E(l, r().updateUserInput?.(s(l), B) || s(l), !0), !Kc(B, s(d), i())) {
7377
+ E(_, !1);
7378
7378
  return;
7379
7379
  }
7380
- I(d, B, !0), s(h) && I(
7380
+ E(d, B, !0), s(h) && E(
7381
7381
  l,
7382
7382
  {
7383
7383
  ...s(l),
@@ -7388,50 +7388,30 @@ function Fo(e, t) {
7388
7388
  }
7389
7389
  },
7390
7390
  !0
7391
- ), L(), I(_, !1);
7392
- }, E = (B) => {
7391
+ ), L(), E(_, !1);
7392
+ }, A = (B) => {
7393
7393
  if (n().isFinished)
7394
7394
  return;
7395
- I(_, !0);
7396
- const D = s(A)[B] || "";
7397
- I(l, r().updateInlineInput?.(s(l), B, D) || s(l), !0);
7398
- const R = s(d) ? JSON.parse(s(d)) : [], Z = JSON.stringify(s(l).data.inlineInputs);
7399
- if (!(Z !== s(d))) {
7400
- I(_, !1);
7401
- return;
7402
- }
7403
- const ne = (() => {
7404
- for (let he = 0; he < n().correctAnswers.length; he++) {
7405
- const j = s(l).data.inlineInputs[he];
7406
- if (j != null && typeof j == "string" && j.trim().length > 0)
7407
- return !1;
7408
- }
7409
- return !0;
7410
- })(), ae = (() => {
7411
- if (R.length === 0) return !0;
7412
- for (let he = 0; he < n().correctAnswers.length; he++) {
7413
- const j = R[he];
7414
- if (j != null && typeof j == "string" && j.trim().length > 0)
7415
- return !1;
7416
- }
7417
- return !0;
7418
- })();
7419
- if (ne && ae) {
7420
- I(_, !1);
7395
+ E(_, !0);
7396
+ const D = s(I)[B] || "";
7397
+ E(l, r().updateInlineInput?.(s(l), B, D) || s(l), !0), s(d) && JSON.parse(s(d));
7398
+ const R = JSON.stringify(s(l).data.inlineInputs);
7399
+ if (!(R !== s(d))) {
7400
+ E(_, !1);
7421
7401
  return;
7422
7402
  }
7423
7403
  if (!Xc(s(l).data.inlineInputs, s(d), i())) {
7424
- I(_, !1);
7404
+ E(_, !1);
7425
7405
  return;
7426
7406
  }
7427
- I(d, Z, !0), s(h) && (() => {
7428
- for (let j = 0; j < n().correctAnswers.length; j++) {
7429
- const te = s(l).data.inlineInputs[j];
7430
- if (!(te != null && typeof te == "string" && te.trim().length > 0))
7407
+ E(d, R, !0), s(h) && (() => {
7408
+ for (let te = 0; te < n().correctAnswers.length; te++) {
7409
+ const ne = s(l).data.inlineInputs[te];
7410
+ if (!(ne != null && typeof ne == "string" && ne.trim().length > 0))
7431
7411
  return !1;
7432
7412
  }
7433
7413
  return !0;
7434
- })() && I(
7414
+ })() && E(
7435
7415
  l,
7436
7416
  {
7437
7417
  ...s(l),
@@ -7442,7 +7422,7 @@ function Fo(e, t) {
7442
7422
  }
7443
7423
  },
7444
7424
  !0
7445
- ), L(), I(_, !1);
7425
+ ), L(), E(_, !1);
7446
7426
  };
7447
7427
  function L() {
7448
7428
  r().onStateChange?.(s(l)), a()?.(new CustomEvent("stateChange", {
@@ -7490,31 +7470,31 @@ function Fo(e, t) {
7490
7470
  }
7491
7471
  };
7492
7472
  {
7493
- const B = (ne) => {
7494
- var ae = xe(), he = ue(ae);
7473
+ const B = (te) => {
7474
+ var ne = be(), _e = ue(ne);
7495
7475
  {
7496
- var j = (me) => {
7497
- var pe = vu(), Y = F(pe);
7498
- nn(Y, 17, () => m, rn, (H, G) => {
7499
- var ge = mu();
7500
- nn(ge, 21, () => s(G).parts, rn, (rt, Ce, Ee) => {
7501
- var Ot = xe(), Dt = ue(Ot);
7476
+ var G = (me) => {
7477
+ var pe = vu(), U = F(pe);
7478
+ nn(U, 17, () => m, rn, (H, Z) => {
7479
+ var he = mu();
7480
+ nn(he, 21, () => s(Z).parts, rn, (rt, Ce, Ee) => {
7481
+ var Ot = be(), Dt = ue(Ot);
7502
7482
  {
7503
7483
  var or = (qe) => {
7504
- var Ft = xe(), Gt = ue(Ft);
7484
+ var Ft = be(), Gt = ue(Ft);
7505
7485
  eo(Gt, () => s(Ce).content), N(qe, Ft);
7506
7486
  }, pt = (qe) => {
7507
- var Ft = xe(), Gt = ue(Ft);
7487
+ var Ft = be(), Gt = ue(Ft);
7508
7488
  {
7509
7489
  var $t = (Ge) => {
7510
- const Pt = /* @__PURE__ */ S(() => g(Ee, s(G).parts));
7490
+ const Pt = /* @__PURE__ */ S(() => g(Ee, s(Z).parts));
7511
7491
  {
7512
7492
  let Ur = /* @__PURE__ */ S(() => s(M).showStatusLine ? s(V).detail[s(Ce).index] : null);
7513
7493
  Lo(Ge, {
7514
7494
  get index() {
7515
7495
  return s(Ce).index;
7516
7496
  },
7517
- onBlur: E,
7497
+ onBlur: A,
7518
7498
  get readonly() {
7519
7499
  return n().isFinished;
7520
7500
  },
@@ -7531,15 +7511,15 @@ function Fo(e, t) {
7531
7511
  return s(Pt);
7532
7512
  },
7533
7513
  get value() {
7534
- return s(A)[s(Ce).index];
7514
+ return s(I)[s(Ce).index];
7535
7515
  },
7536
7516
  set value(ke) {
7537
- s(A)[s(Ce).index] = ke;
7517
+ s(I)[s(Ce).index] = ke;
7538
7518
  }
7539
7519
  });
7540
7520
  }
7541
7521
  };
7542
- U(
7522
+ q(
7543
7523
  Gt,
7544
7524
  (Ge) => {
7545
7525
  s(Ce).index !== void 0 && Ge($t);
@@ -7549,25 +7529,25 @@ function Fo(e, t) {
7549
7529
  }
7550
7530
  N(qe, Ft);
7551
7531
  };
7552
- U(Dt, (qe) => {
7532
+ q(Dt, (qe) => {
7553
7533
  s(Ce).type === "text" ? qe(or) : qe(pt, !1);
7554
7534
  });
7555
7535
  }
7556
7536
  N(rt, Ot);
7557
- }), O(ge), N(H, ge);
7537
+ }), O(he), N(H, he);
7558
7538
  });
7559
- var _e = Q(Y, 4);
7539
+ var ye = Q(U, 4);
7560
7540
  {
7561
- var Ie = (H) => {
7562
- var G = gu();
7563
- N(H, G);
7541
+ var Ae = (H) => {
7542
+ var Z = gu();
7543
+ N(H, Z);
7564
7544
  };
7565
- U(_e, (H) => {
7566
- i() && H(Ie);
7545
+ q(ye, (H) => {
7546
+ i() && H(Ae);
7567
7547
  });
7568
7548
  }
7569
7549
  O(pe), N(me, pe);
7570
- }, te = (me) => {
7550
+ }, se = (me) => {
7571
7551
  {
7572
7552
  let pe = /* @__PURE__ */ S(() => s(M).showStatusLine ? s(V).detail[0] : null);
7573
7553
  No(me, {
@@ -7593,19 +7573,19 @@ function Fo(e, t) {
7593
7573
  get value() {
7594
7574
  return s(v);
7595
7575
  },
7596
- set value(Y) {
7597
- I(v, Y, !0);
7576
+ set value(U) {
7577
+ E(v, U, !0);
7598
7578
  }
7599
7579
  });
7600
7580
  }
7601
7581
  };
7602
- U(he, (me) => {
7603
- n().variant === "inline" ? me(j) : me(te, !1);
7582
+ q(_e, (me) => {
7583
+ n().variant === "inline" ? me(G) : me(se, !1);
7604
7584
  });
7605
7585
  }
7606
- N(ne, ae);
7607
- }, D = (ne) => {
7608
- Do(ne, {
7586
+ N(te, ne);
7587
+ }, D = (te) => {
7588
+ Do(te, {
7609
7589
  get config() {
7610
7590
  return n();
7611
7591
  },
@@ -7632,13 +7612,13 @@ function Fo(e, t) {
7632
7612
  }
7633
7613
  });
7634
7614
  };
7635
- let R = /* @__PURE__ */ S(() => n().rubric?.text || ""), Z = /* @__PURE__ */ S(() => n().prompt || ""), K = /* @__PURE__ */ S(() => n().variant !== "inline");
7615
+ let R = /* @__PURE__ */ S(() => n().rubric?.text || ""), Y = /* @__PURE__ */ S(() => n().prompt || ""), K = /* @__PURE__ */ S(() => n().variant !== "inline");
7636
7616
  Di(e, {
7637
7617
  get rubric() {
7638
7618
  return s(R);
7639
7619
  },
7640
7620
  get prompt() {
7641
- return s(Z);
7621
+ return s(Y);
7642
7622
  },
7643
7623
  get interactionType() {
7644
7624
  return _r.TYPEIN;
@@ -7654,9 +7634,9 @@ function Fo(e, t) {
7654
7634
  $$slots: { interaction: !0, feedback: !0 }
7655
7635
  });
7656
7636
  }
7657
- return we(ce);
7637
+ return ve(ce);
7658
7638
  }
7659
- be(Fo, { api: {}, config: {}, isDataSaving: {}, onstateChange: {} }, [], [], !0);
7639
+ we(Fo, { api: {}, config: {}, isDataSaving: {}, onstateChange: {} }, [], [], !0);
7660
7640
  const wu = (e, t) => {
7661
7641
  const r = e.variant, n = () => e.mode === fe.PREVIEW, i = () => !e.mode || e.mode === fe.SESSION, a = /[\p{P}\p{S}]/gu, o = (d) => {
7662
7642
  if (d == null) return "";
@@ -7683,9 +7663,9 @@ const wu = (e, t) => {
7683
7663
  for (const w of g)
7684
7664
  if (typeof w == "string") {
7685
7665
  if (/[\[\]\(\)]/.test(w)) {
7686
- let C = w.replace(/(\[|\()([^\]\)]+)(\]|\))/g, (k, M, v, A) => {
7666
+ let C = w.replace(/(\[|\()([^\]\)]+)(\]|\))/g, (k, M, v, I) => {
7687
7667
  const _ = v.split("|").map((b) => o(b));
7688
- return `${M}${_.join("|")}${A}`;
7668
+ return `${M}${_.join("|")}${I}`;
7689
7669
  });
7690
7670
  if (C = C.replace(/([^\[\]\(\)]+)/g, (k) => k.includes("|") ? k : u(k)), l(m, C)) return !0;
7691
7671
  } else if (o(w) === m) return !0;
@@ -7707,7 +7687,7 @@ const wu = (e, t) => {
7707
7687
  let w = 0;
7708
7688
  const C = e.variant === "inline" ? f.length : m.length;
7709
7689
  for (let _ = 0; _ < C; _++) {
7710
- const b = m[_] ?? "", E = o(b), L = (f[_] || []).map(($) => o($)).filter(Boolean), V = E.length > 0 && L.includes(E);
7690
+ const b = m[_] ?? "", A = o(b), L = (f[_] || []).map(($) => o($)).filter(Boolean), V = A.length > 0 && L.includes(A);
7711
7691
  g[_] = V, V && w++;
7712
7692
  }
7713
7693
  const k = m.some((_) => o(_).length > 0), M = g.length > 0 ? g.every(Boolean) && k : k && w > 0, v = f.length > 0 ? f.length : g.length || 1;
@@ -7869,17 +7849,17 @@ const _u = {
7869
7849
  code: ' *, :after, :before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style:} ::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style:} *, :after, :before{border:0 solid #e5e7eb;box-sizing:border-box} :after, :before{--tw-content:""} :host, html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:Mulish,sans-serif;font-feature-settings:normal;font-variation-settings:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent} body{line-height:inherit;margin:0} hr{border-top-width:1px;color:inherit;height:0} abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted} h1, h2, h3, h4, h5, h6{font-size:inherit;font-weight:inherit} a{color:inherit;text-decoration:inherit} b, strong{font-weight:bolder} code, kbd, pre, samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-size:1em;font-variation-settings:normal} small{font-size:80%} sub, sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline} sub{bottom:-.25em} sup{top:-.5em} table{border-collapse:collapse;border-color:inherit;text-indent:0} button, input, optgroup, select, textarea{color:inherit;font-family:inherit;font-feature-settings:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0} button, select{text-transform:none} button, input:where([type=button]), input:where([type=reset]), input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none} :-moz-focusring{outline:auto} :-moz-ui-invalid{box-shadow:none} progress{vertical-align:baseline} ::-webkit-inner-spin-button, ::-webkit-outer-spin-button{height:auto} [type=search]{-webkit-appearance:textfield;outline-offset:-2px} ::-webkit-search-decoration{-webkit-appearance:none} ::-webkit-file-upload-button{-webkit-appearance:button;font:inherit} summary{display:list-item} blockquote, dd, dl, figure, h1, h2, h3, h4, h5, h6, hr, p, pre{margin:0} fieldset{margin:0} fieldset, legend{padding:0} menu, ol, ul{list-style:none;margin:0;padding:0} dialog{padding:0} textarea{resize:vertical} input::-moz-placeholder, textarea::-moz-placeholder{color:#9ca3af;opacity:1} input::placeholder, textarea::placeholder{color:#9ca3af;opacity:1} [role=button], button{cursor:pointer} :disabled{cursor:default} audio, canvas, embed, iframe, img, object, svg, video{display:block;vertical-align:middle} img, video{height:auto;max-width:100%} [hidden]:where(:not([hidden=until-found])){display:none} *{font-family:Mulish,sans-serif} input::-moz-selection, textarea::-moz-selection{background-color:hsla(0,0%,85%,.4)} input::selection, textarea::selection{background-color:hsla(0,0%,85%,.4)} .container{width:100%}@media (min-width:732px){ .container{max-width:732px}}@media (min-width:1196px){ .container{max-width:1196px}} .p2{font-size:.875rem;font-weight:600;line-height:1.25rem;line-height:1.5} .blanket-overlay{inset:0;position:absolute} .item-heading{font-size:1.25rem;letter-spacing:-.025em;line-height:1.5rem;--tw-text-opacity:1;color:rgb(40,44,135,var(--tw-text-opacity,1))} .divider{border-bottom-width:1px;--tw-border-opacity:1;border-color:rgb(218,224,224,var(--tw-border-opacity,1))}@keyframes svelte-1dpid58-pulse{50%{opacity:.5}} .animate-skeleton{animation:svelte-1dpid58-pulse 2s cubic-bezier(.4,0,.6,1) infinite;--tw-bg-opacity:1;background-color:rgb(226,232,240,var(--tw-bg-opacity,1))} .btn-mcq-option:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent);--tw-ring-opacity:1;--tw-ring-color:rgb(253 224 71/var(--tw-ring-opacity,1));--tw-ring-offset-width:2px;--tw-ring-offset-color:#212529;outline:2px solid transparent;outline-offset:2px;transition-duration:50ms} .btn-mcq-option{font-size:1rem;line-height:1.5rem;line-height:19.2px;margin-bottom:1rem;min-height:52px;width:100%;--tw-text-opacity:1;border-radius:.5rem;border-width:1px;box-sizing:border-box;color:rgb(33,37,41,var(--tw-text-opacity,1));--tw-border-opacity:1;border-color:rgb(75,85,99,var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(248,248,248,var(--tw-bg-opacity,1))} .btn-mcq-option:active{border-width:2px;--tw-border-opacity:1;border-color:rgb(59,64,240,var(--tw-border-opacity,1))}@media (hover:hover) and (pointer:fine){ .btn-mcq-option:hover{border-width:2px;--tw-border-opacity:1;border-color:rgb(59,64,240,var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(238,240,255,var(--tw-bg-opacity,1))}} .btn-mcq-text{align-items:center;display:flex;padding:.375rem .75rem;width:100%}@supports (overflow-wrap:anywhere){ .btn-mcq-text{overflow-wrap:anywhere}}@supports not (overflow-wrap:anywhere){ .btn-mcq-text{word-break:break-word}} .btn-mcq-option>span>span>span>.choice{align-items:center;border-radius:1rem;border-width:1px;display:flex;font-size:1rem;font-weight:700;height:2rem;justify-content:center;letter-spacing:.05em;line-height:1rem;width:2rem;--tw-border-opacity:1;border-color:rgb(156,163,175,var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(255,255,255,var(--tw-bg-opacity,1));padding:.5rem;--tw-text-opacity:1;color:rgb(33,37,41,var(--tw-text-opacity,1))} .btn-mcq-option.selected{border-width:2px;--tw-border-opacity:1;background-color:rgb(40,44,135,var(--tw-bg-opacity,1));border-color:rgb(40,44,135,var(--tw-border-opacity,1))} .btn-mcq-option.selected, .btn-mcq-option.selected:active{--tw-bg-opacity:1;--tw-text-opacity:1;color:rgb(255,255,255,var(--tw-text-opacity,1))} .btn-mcq-option.selected:active{background-color:rgb(84,101,251,var(--tw-bg-opacity,1))}@media (hover:hover) and (pointer:fine){ .btn-mcq-option.selected:hover{--tw-bg-opacity:1;background-color:rgb(84,101,251,var(--tw-bg-opacity,1))}} .btn-mcq-option.finished{cursor:default} .btn-mcq-option.finished:active, .btn-mcq-option.finished:hover{border-width:1px;--tw-border-opacity:1;border-color:rgb(75,85,99,var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(248,248,248,var(--tw-bg-opacity,1))} .btn-mcq-option.selected>span>span>.choice{--tw-bg-opacity:1;background-color:rgb(238,240,255,var(--tw-bg-opacity,1))} .btn-mcq-option>span>span>span>.custom-checkbox{align-items:center;border-radius:.25rem;border-width:1px;display:flex;height:1.75rem;justify-content:center;pointer-events:none;width:1.75rem;--tw-border-opacity:1;border-color:rgb(75,85,99,var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(255,255,255,var(--tw-bg-opacity,1))}@media (hover:hover) and (pointer:fine){ .btn-mcq-option:hover>span>span>span>.custom-checkbox{border-width:2px;--tw-border-opacity:1;border-color:rgb(59,64,240,var(--tw-border-opacity,1))} .btn-mcq-option:active>span>span>span>.custom-checkbox.preview-only, .btn-mcq-option:hover>span>span>span>.custom-checkbox.preview-only{border-width:1px;--tw-border-opacity:1;border-color:rgb(75,85,99,var(--tw-border-opacity,1))}} .btn-mcq-option:active>span>span>span>.custom-checkbox{border-width:2px;--tw-border-opacity:1;border-color:rgb(40,44,135,var(--tw-border-opacity,1))} .btn-mcq-option.selected>span>span>span>.custom-checkbox{border-width:0;pointer-events:none;--tw-bg-opacity:1;background-color:rgb(84,101,251,var(--tw-bg-opacity,1))}@media (hover:hover) and (pointer:fine){ .btn-mcq-option.selected:hover>span>span>span>.custom-checkbox{border-width:0;--tw-bg-opacity:1;background-color:rgb(76,91,226,var(--tw-bg-opacity,1))}} .btn-mcq-option.selected:active>span>span>span>.custom-checkbox{border-width:0;--tw-bg-opacity:1;background-color:rgb(40,44,135,var(--tw-bg-opacity,1))} .btn-mcq-option.finished:active>span>span>span>.custom-checkbox, .btn-mcq-option.finished:hover>span>span>span>.custom-checkbox{border-width:1px;--tw-border-opacity:1;border-color:rgb(75,85,99,var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(255,255,255,var(--tw-bg-opacity,1))} .btn-mcq-option.missing.\\!correct, .btn-mcq-option.missing.correct{border-width:1px;--tw-border-opacity:1;border-color:rgb(21,128,61,var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(248,248,248,var(--tw-bg-opacity,1))}@media (hover:hover) and (pointer:fine){ .btn-mcq-option.\\!correct.interactive:active, .btn-mcq-option.\\!correct.interactive:hover, .btn-mcq-option.correct.interactive:active, .btn-mcq-option.correct.interactive:hover, .btn-mcq-option.incorrect.interactive:active, .btn-mcq-option.incorrect.interactive:hover, .btn-mcq-option.missing.interactive:active, .btn-mcq-option.missing.interactive:hover{border-width:2px;--tw-border-opacity:1;border-color:rgb(59,64,240,var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(238,240,255,var(--tw-bg-opacity,1))}} .btn-mcq-option.selected.\\!correct, .btn-mcq-option.selected.correct{background-color:rgb(240,253,244,var(--tw-bg-opacity,1));border-color:rgb(21,128,61,var(--tw-border-opacity,1));border-width:1px} .btn-mcq-option.selected.\\!correct, .btn-mcq-option.selected.correct, .btn-mcq-option.selected.incorrect{--tw-border-opacity:1;--tw-bg-opacity:1;--tw-text-opacity:1;color:rgb(33,37,41,var(--tw-text-opacity,1))} .btn-mcq-option.selected.incorrect{background-color:rgb(253,242,248,var(--tw-bg-opacity,1));border-color:rgb(190,24,93,var(--tw-border-opacity,1));border-width:1px} .btn-mcq-option.selected.\\!correct>span>span>span>.choice, .btn-mcq-option.selected.correct>span>span>span>.choice, .btn-mcq-option.selected.incorrect>span>span>span>.choice{border-width:1px;--tw-border-opacity:1;border-color:rgb(113,115,119,var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(255,255,255,var(--tw-bg-opacity,1))} .btn-pressed{border-width:2px;--tw-border-opacity:1;border-color:rgb(51,69,223,var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(249,250,251,var(--tw-bg-opacity,1));--tw-shadow:inset 0 0 0 100vmax rgba(0,0,0,.05);--tw-shadow-colored:inset 0 0 0 100vmax var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)} .btn-base:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent);--tw-ring-opacity:1;--tw-ring-color:rgb(253 224 71/var(--tw-ring-opacity,1));--tw-ring-offset-width:2px;--tw-ring-offset-color:#212529;outline:2px solid transparent;outline-offset:2px;transition-duration:50ms} .btn-base{align-items:center;display:inline-flex;justify-content:center}@media (hover:hover) and (pointer:fine){ .btn-base:hover{border-width:2px;--tw-border-opacity:1;border-color:rgb(59,64,240,var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(249,250,251,var(--tw-bg-opacity,1))}} .btn-base:active{border-width:2px;--tw-border-opacity:1;border-color:rgb(51,69,223,var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(249,250,251,var(--tw-bg-opacity,1));--tw-shadow:inset 0 0 0 100vmax rgba(0,0,0,.05);--tw-shadow-colored:inset 0 0 0 100vmax var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)} .btn-touch-container{align-items:center;display:flex;height:2.75rem;justify-content:center;width:2.75rem} .btn-touch-container:focus{outline:2px solid transparent;outline-offset:2px} .btn-icon-sm{align-items:center;background-color:hsla(0,0%,100%,.8);border-radius:.25rem;display:flex;height:1.5rem;justify-content:center;width:1.5rem}@media (hover:hover) and (pointer:fine){ .btn-touch-container:hover>.btn-icon-sm{border-width:2px;--tw-border-opacity:1;border-color:rgb(59,64,240,var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(249,250,251,var(--tw-bg-opacity,1))}} .btn-touch-container:active>.btn-icon-sm{border-width:2px;--tw-border-opacity:1;border-color:rgb(51,69,223,var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(249,250,251,var(--tw-bg-opacity,1));--tw-shadow:inset 0 0 0 100vmax rgba(0,0,0,.05);--tw-shadow-colored:inset 0 0 0 100vmax var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)} .btn-touch-container:focus-visible>.btn-icon-sm{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent);--tw-ring-opacity:1;--tw-ring-color:rgb(253 224 71/var(--tw-ring-opacity,1));--tw-ring-offset-width:2px;--tw-ring-offset-color:#212529;outline:2px solid transparent;outline-offset:2px;transition-duration:50ms} .typein-textbox:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent);--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity,1));--tw-ring-offset-width:4px;transition-duration:50ms} .typein-textbox{border-radius:.5rem;border-width:1px;width:100%;--tw-border-opacity:1;border-color:rgb(75,85,99,var(--tw-border-opacity,1));--tw-bg-opacity:1;background-color:rgb(255,255,255,var(--tw-bg-opacity,1));font-size:1rem;line-height:1.5rem;padding:.75rem 1rem;--tw-text-opacity:1;color:rgb(33,37,41,var(--tw-text-opacity,1))} .typein-textbox::-moz-placeholder{--tw-placeholder-opacity:1;color:rgb(55,65,81,var(--tw-placeholder-opacity,1))} .typein-textbox::placeholder{--tw-placeholder-opacity:1;color:rgb(55,65,81,var(--tw-placeholder-opacity,1))} .typein-textbox:focus{border-width:2px;--tw-border-opacity:1;border-color:rgb(59,64,240,var(--tw-border-opacity,1))}@media (hover:hover) and (pointer:fine){ .typein-textbox:hover{border-width:2px;--tw-border-opacity:1;border-color:rgb(59,64,240,var(--tw-border-opacity,1))}} .typein-textbox:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)!important}@media (hover:hover) and (pointer:fine){ .typein-textbox:hover{transition-duration:50ms}} .typein-textbox:focus{outline-color:#212529;outline-width:2px}@media (hover:hover) and (pointer:fine){ .typein-textbox:hover{outline-color:#212529;outline-width:2px}} .typein-textbox:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(253 224 71/var(--tw-ring-opacity,1))} .inline-typein-container>p{font-size:1.25rem;font-weight:600;line-height:3rem;--tw-text-opacity:1;color:rgb(40,44,135,var(--tw-text-opacity,1))} #dnd-action-dragged-el{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity,1));--tw-ring-offset-width:2px;cursor:grabbing!important;transition-duration:50ms;--tw-border-opacity:1!important;border-color:rgb(93,99,107,var(--tw-border-opacity,1))!important;--tw-bg-opacity:1!important;background-color:rgb(205,208,254,var(--tw-bg-opacity,1))!important} .image-description, .text-stimulus{padding-bottom:1rem;padding-top:1rem} .text-stimulus p{font-size:1.25rem;line-height:1.75rem;padding-bottom:.5rem;--tw-text-opacity:1;color:rgb(40,44,135,var(--tw-text-opacity,1))} .image-description p{font-size:.875rem;line-height:1.25rem;padding-bottom:.5rem;--tw-text-opacity:1;color:rgb(33,37,41,var(--tw-text-opacity,1))} .text-stimulus ol, .text-stimulus ul{font-size:1rem;line-height:1.5rem;list-style-position:inside;padding-bottom:.5rem;padding-left:.5rem} .text-stimulus ol ::marker, .text-stimulus ul ::marker{color:#282c87} .text-stimulus ol::marker, .text-stimulus ul::marker{color:#282c87} .image-description ol, .image-description ul{font-size:.875rem;line-height:1.25rem;list-style-position:inside;padding-bottom:.5rem;padding-left:.5rem} .image-description ol ::marker, .image-description ul ::marker{color:#212529} .image-description ol::marker, .image-description ul::marker{color:#212529} .image-description ul, .text-stimulus ul{list-style-type:disc} .image-description ol, .text-stimulus ol{list-style-type:decimal} .image-description ul li>p, .text-stimulus ul li>p{margin-left:-.5rem} .text-stimulus ol>li>p, .text-stimulus ul>li>p{display:inline;font-size:1rem;line-height:1.5rem;padding-bottom:0;padding-top:0} .image-description ol>li>p, .image-description ul>li>p{display:inline;font-size:.875rem;line-height:1.25rem;padding-bottom:0;padding-top:0} .image-description div.table-container:focus, .text-stimulus div.table-container:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent);--tw-ring-opacity:1;--tw-ring-color:rgb(84 101 251/var(--tw-ring-opacity,1));--tw-ring-offset-width:4px;transition-duration:50ms} .image-description div.table-container, .text-stimulus div.table-container{border-radius:.5rem;overflow:auto;padding-left:.125rem;padding-right:.125rem} .image-description table, .text-stimulus table{margin-bottom:1rem;margin-top:.5rem;width:100%;--tw-border-spacing-x:0.75rem;--tw-border-spacing-y:0.75rem;border-radius:.5rem;border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);overflow-x:auto;--tw-shadow:0 0 0 1px #9ca3af;--tw-shadow-colored:0 0 0 1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)} .image-description table tr, .text-stimulus table tr{border-bottom-width:1px;--tw-border-opacity:1;border-color:rgb(156,163,175,var(--tw-border-opacity,1))} .image-description table tr:last-child, .text-stimulus table tr:last-child{border-color:transparent} .image-description table td, .image-description table th, .text-stimulus table td, .text-stimulus table th{border-left-width:1px;min-width:140px;--tw-border-opacity:1;border-color:rgb(156,163,175,var(--tw-border-opacity,1))} .image-description table td:first-child, .image-description table th:first-child, .text-stimulus table td:first-child, .text-stimulus table th:first-child{border-style:none} .text-stimulus table td>p, .text-stimulus table th>p{font-size:1rem;line-height:1.5rem;padding:.75rem;text-align:left;--tw-text-opacity:1;color:rgb(33,37,41,var(--tw-text-opacity,1))} .image-description table td>p, .image-description table th>p{font-size:.875rem;line-height:1.25rem;padding:.75rem;text-align:left;--tw-text-opacity:1;color:rgb(33,37,41,var(--tw-text-opacity,1))} .text-stimulus table th>p{font-weight:400} .image-description table th p, .prompt p, .text-stimulus table th p{font-weight:600} .prompt p b, .prompt p b i, .prompt p b i u, .prompt p b u, .prompt p b u i, .prompt p i b, .prompt p i b u, .prompt p i u b, .prompt p u b, .prompt p u b i, .prompt p u i b, .text-stimulus table th p b, .text-stimulus table th p b i, .text-stimulus table th p b i u, .text-stimulus table th p b u, .text-stimulus table th p b u i, .text-stimulus table th p i b, .text-stimulus table th p i b u, .text-stimulus table th p i u b, .text-stimulus table th p u b, .text-stimulus table th p u b i, .text-stimulus table th p u i b{font-weight:900} .dropdown-text:not(:last-child), .dropdown:not(:last-child){margin-right:1rem} .image-description-accordion{border-bottom-width:1px;border-color:transparent;font-weight:600;--tw-text-opacity:1;color:rgb(33,37,41,var(--tw-text-opacity,1))} .group:focus .image-description-accordion{--tw-bg-opacity:1;background-color:rgb(251,217,27,var(--tw-bg-opacity,1));--tw-text-opacity:1;border-bottom-width:1px;color:rgb(0,0,0,var(--tw-text-opacity,1));outline:2px solid transparent;outline-offset:2px} .group:focus .image-description-accordion, .group:hover .image-description-accordion{--tw-border-opacity:1;border-color:rgb(0,0,0,var(--tw-border-opacity,1))} .group:active .image-description-accordion{border-bottom-width:2px} .sr-only{height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;clip:rect(0,0,0,0);border-width:0;white-space:nowrap} .pointer-events-none{pointer-events:none} .visible{visibility:visible} .static{position:static} .fixed{position:fixed} .absolute{position:absolute} .relative{position:relative} .inset-0{inset:0} .bottom-0{bottom:0} .bottom-1\\.5{bottom:.375rem} .bottom-5{bottom:1.25rem} .bottom-\\[7px\\]{bottom:7px} .bottom-full{bottom:100%} .left-0{left:0} .left-1\\/2{left:50%} .left-6{left:1.5rem} .left-full{left:100%} .right-1{right:.25rem} .right-1\\.5{right:.375rem} .right-4{right:1rem} .right-6{right:1.5rem} .right-full{right:100%} .top-0{top:0} .top-1{top:.25rem} .top-1\\.5{top:.375rem} .top-1\\/2{top:50%} .top-3\\.5{top:.875rem} .top-\\[13px\\]{top:13px} .top-\\[calc\\(50\\%\\+0\\.375rem\\)\\]{top:calc(50% + .375rem)} .top-full{top:100%} .z-50{z-index:50} .m-0{margin:0} .mx-auto{margin-left:auto;margin-right:auto} .my-1\\.5{margin-bottom:.375rem;margin-top:.375rem} .my-2{margin-bottom:.5rem;margin-top:.5rem} .my-6{margin-bottom:1.5rem;margin-top:1.5rem} .-mb-1{margin-bottom:-.25rem} .-ml-1{margin-left:-.25rem} .-mr-1{margin-right:-.25rem} .-mr-2\\.5{margin-right:-.625rem} .-mt-0\\.5{margin-top:-.125rem} .-mt-1{margin-top:-.25rem} .mb-0\\.5{margin-bottom:.125rem} .mb-12{margin-bottom:3rem} .mb-2{margin-bottom:.5rem} .mb-4{margin-bottom:1rem} .mb-6{margin-bottom:1.5rem} .mb-\\[9\\.5px\\]{margin-bottom:9.5px} .ml-2{margin-left:.5rem} .ml-2\\.5{margin-left:.625rem} .ml-8\\.5{margin-left:2.125rem} .ml-\\[9\\.5px\\]{margin-left:9.5px} .mr-1{margin-right:.25rem} .mr-2{margin-right:.5rem} .mr-\\[9\\.5px\\]{margin-right:9.5px} .mt-0\\.5{margin-top:.125rem} .mt-2{margin-top:.5rem} .mt-4{margin-top:1rem} .mt-6{margin-top:1.5rem} .mt-\\[9\\.5px\\]{margin-top:9.5px} .line-clamp-1{-webkit-line-clamp:1} .line-clamp-1, .line-clamp-3{display:-webkit-box;overflow:hidden;-webkit-box-orient:vertical} .line-clamp-3{-webkit-line-clamp:3} .block{display:block} .inline-block{display:inline-block} .inline{display:inline} .flex{display:flex} .table{display:table} .contents{display:contents} .hidden{display:none} .h-10\\.5{height:2.625rem} .h-11{height:2.75rem} .h-2{height:.5rem} .h-4{height:1rem} .h-52{height:13rem} .h-6{height:1.5rem} .h-8\\.5{height:2.125rem} .h-\\[13\\.33px\\]{height:13.33px} .h-\\[8\\.77px\\]{height:8.77px} .h-auto{height:auto} .h-fit{height:-moz-fit-content;height:fit-content} .h-full{height:100%} .h-screen{height:100vh} .max-h-\\[184px\\]{max-height:184px} .max-h-\\[470px\\]{max-height:470px} .max-h-\\[660px\\]{max-height:660px} .max-h-\\[calc\\(100vh-168px\\)\\]{max-height:calc(100vh - 168px)} .max-h-\\[calc\\(100vh-168px-34px\\)\\]{max-height:calc(100vh - 202px)} .max-h-none{max-height:none} .min-h-\\[154px\\]{min-height:154px} .min-h-\\[210px\\]{min-height:210px} .min-h-\\[44px\\]{min-height:44px} .w-2{width:.5rem} .w-2\\/4{width:50%} .w-3{width:.75rem} .w-4{width:1rem} .w-6{width:1.5rem} .w-60{width:15rem} .w-8\\.5{width:2.125rem} .w-\\[13\\.33px\\]{width:13.33px} .w-\\[8\\.77px\\]{width:8.77px} .w-auto{width:auto} .w-fit{width:-moz-fit-content;width:fit-content} .w-full{width:100%} .w-screen{width:100vw} .min-w-\\[288px\\]{min-width:288px} .max-w-\\[1008px\\]{max-width:1008px} .max-w-\\[300px\\]{max-width:300px} .max-w-\\[304px\\]{max-width:304px} .max-w-full{max-width:100%} .max-w-none{max-width:none} .flex-shrink-0{flex-shrink:0} .-translate-x-1\\/2{--tw-translate-x:-50%} .-translate-x-1\\/2, .-translate-y-1\\/2{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))} .-translate-y-1\\/2{--tw-translate-y:-50%} .rotate-45{--tw-rotate:45deg;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))} .select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none} .resize-none{resize:none} .resize{resize:both} .flex-col{flex-direction:column} .items-center{align-items:center} .justify-start{justify-content:flex-start} .justify-center{justify-content:center} .justify-between{justify-content:space-between} .gap-1{gap:.25rem} .overflow-hidden{overflow:hidden} .overflow-y-auto{overflow-y:auto} .truncate{overflow:hidden;white-space:nowrap} .text-ellipsis, .truncate{text-overflow:ellipsis} .break-words{overflow-wrap:break-word} .break-all{word-break:break-all} .rounded{border-radius:.25rem} .rounded-lg{border-radius:.5rem} .rounded-md{border-radius:.375rem} .rounded-b-lg{border-bottom-left-radius:.5rem;border-bottom-right-radius:.5rem} .rounded-b-md{border-bottom-left-radius:.375rem;border-bottom-right-radius:.375rem} .rounded-l-lg{border-bottom-left-radius:.5rem;border-top-left-radius:.5rem} .rounded-t-md{border-top-left-radius:.375rem;border-top-right-radius:.375rem} .border{border-width:1px} .border-2{border-width:2px} .border-l-4{border-left-width:4px} .border-blue-950{--tw-border-opacity:1;border-color:rgb(29,78,216,var(--tw-border-opacity,1))} .border-border-minimal{--tw-border-opacity:1;border-color:rgb(229,231,235,var(--tw-border-opacity,1))} .border-gray-850{--tw-border-opacity:1;border-color:rgb(75,85,99,var(--tw-border-opacity,1))} .border-green-800{--tw-border-opacity:1;border-color:rgb(0,102,5,var(--tw-border-opacity,1))} .border-green-900{--tw-border-opacity:1;border-color:rgb(21,128,61,var(--tw-border-opacity,1))} .border-red-600{--tw-border-opacity:1;border-color:rgb(220,38,38,var(--tw-border-opacity,1))} .border-red-800{--tw-border-opacity:1;border-color:rgb(217,12,85,var(--tw-border-opacity,1))} .border-red-900{--tw-border-opacity:1;border-color:rgb(190,24,93,var(--tw-border-opacity,1))} .border-soft-blue{--tw-border-opacity:1;border-color:rgb(84,101,251,var(--tw-border-opacity,1))} .bg-black{--tw-bg-opacity:1;background-color:rgb(0,0,0,var(--tw-bg-opacity,1))} .bg-blue-50{--tw-bg-opacity:1;background-color:rgb(239,246,255,var(--tw-bg-opacity,1))} .bg-charcoal\\/80{background-color:rgba(33,37,41,.8)} .bg-gray-900{--tw-bg-opacity:1;background-color:rgb(57,62,69,var(--tw-bg-opacity,1))} .bg-green-300{--tw-bg-opacity:1;background-color:rgb(241,254,241,var(--tw-bg-opacity,1))} .bg-red-200{--tw-bg-opacity:1;background-color:rgb(254,202,202,var(--tw-bg-opacity,1))} .bg-red-50{--tw-bg-opacity:1;background-color:rgb(253,242,248,var(--tw-bg-opacity,1))} .bg-transparent{background-color:transparent} .bg-white{--tw-bg-opacity:1;background-color:rgb(255,255,255,var(--tw-bg-opacity,1))} .bg-white\\/80{background-color:hsla(0,0%,100%,.8)} .object-contain{-o-object-fit:contain;object-fit:contain} .p-0\\.5{padding:.125rem} .p-2{padding:.5rem} .p-3{padding:.75rem} .p-4{padding:1rem} .px-0{padding-left:0;padding-right:0} .px-2{padding-left:.5rem;padding-right:.5rem} .px-3{padding-left:.75rem;padding-right:.75rem} .px-4{padding-left:1rem;padding-right:1rem} .py-1{padding-bottom:.25rem;padding-top:.25rem} .py-2{padding-bottom:.5rem;padding-top:.5rem} .py-\\[9px\\]{padding-bottom:9px;padding-top:9px} .\\!pr-11{padding-right:2.75rem!important} .pb-0{padding-bottom:0} .pb-10{padding-bottom:2.5rem} .pb-2{padding-bottom:.5rem} .pb-\\[72px\\]{padding-bottom:72px} .pl-13\\.2{padding-left:3.125rem} .pl-24{padding-left:6rem} .pr-4{padding-right:1rem} .pt-0{padding-top:0} .pt-0\\.5{padding-top:.125rem} .pt-14{padding-top:3.5rem} .pt-4{padding-top:1rem} .pt-6{padding-top:1.5rem} .pt-\\[15px\\]{padding-top:15px} .text-left{text-align:left} .text-center{text-align:center} .text-base{font-size:1rem;line-height:1.5rem} .text-lg{font-size:1.125rem;line-height:1.75rem} .text-sm{font-size:.875rem;line-height:1.25rem} .font-normal{font-weight:400} .font-semibold{font-weight:600} .leading-\\[1\\.5\\]{line-height:1.5} .leading-\\[150\\%\\]{line-height:150%} .leading-\\[19\\.2px\\]{line-height:19.2px} .leading-\\[19px\\]{line-height:19px} .leading-\\[22px\\]{line-height:22px} .text-blue-1000{--tw-text-opacity:1;color:rgb(40,44,135,var(--tw-text-opacity,1))} .text-charcoal{--tw-text-opacity:1;color:rgb(33,37,41,var(--tw-text-opacity,1))} .text-gray-500{--tw-text-opacity:1;color:rgb(107,114,128,var(--tw-text-opacity,1))} .text-gray-860{--tw-text-opacity:1;color:rgb(55,65,81,var(--tw-text-opacity,1))} .text-green-800{--tw-text-opacity:1;color:rgb(0,102,5,var(--tw-text-opacity,1))} .text-green-900{--tw-text-opacity:1;color:rgb(21,128,61,var(--tw-text-opacity,1))} .text-primary-emphasis{--tw-text-opacity:1;color:rgb(8,38,99,var(--tw-text-opacity,1))} .text-red-800{--tw-text-opacity:1;color:rgb(217,12,85,var(--tw-text-opacity,1))} .text-red-900{--tw-text-opacity:1;color:rgb(190,24,93,var(--tw-text-opacity,1))} .text-white{--tw-text-opacity:1;color:rgb(255,255,255,var(--tw-text-opacity,1))} .opacity-0{opacity:0} .opacity-5{opacity:.05} .outline-none{outline:2px solid transparent;outline-offset:2px} .blur{--tw-blur:blur(8px)} .blur, .filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)} .backdrop-blur-md{--tw-backdrop-blur:blur(12px);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)} :host, html{-webkit-tap-highlight-color:inherit!important} .active\\:raw-focus-ring-by:active{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent);--tw-ring-opacity:1;--tw-ring-color:rgb(253 224 71/var(--tw-ring-opacity,1));--tw-ring-offset-width:2px;--tw-ring-offset-color:#212529;outline:2px solid transparent;outline-offset:2px;transition-duration:50ms} .hover\\:text-charcoal:hover{--tw-text-opacity:1;color:rgb(33,37,41,var(--tw-text-opacity,1))} .hover\\:underline:hover{text-decoration-line:underline} .hover\\:decoration-2:hover{text-decoration-thickness:2px} .hover\\:underline-offset-\\[25\\%\\]:hover{text-underline-offset:25%} .focus-visible\\:bg-yellow-900:focus-visible{--tw-bg-opacity:1;background-color:rgb(253,224,71,var(--tw-bg-opacity,1))} .focus-visible\\:text-charcoal:focus-visible{--tw-text-opacity:1;color:rgb(33,37,41,var(--tw-text-opacity,1))} .focus-visible\\:underline:focus-visible{text-decoration-line:underline} .focus-visible\\:decoration-2:focus-visible{text-decoration-thickness:2px} .focus-visible\\:underline-offset-\\[25\\%\\]:focus-visible{text-underline-offset:25%} .focus-visible\\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px} .group.active .group-\\[\\.active\\]\\:border-b-2{border-bottom-width:2px}@media (min-width:732px){ .md\\:mb-4{margin-bottom:1rem} .md\\:ml-0{margin-left:0} .md\\:mt-0{margin-top:0} .md\\:block{display:block} .md\\:inline-block{display:inline-block} .md\\:flex{display:flex} .md\\:grid{display:grid} .md\\:hidden{display:none} .md\\:h-11{height:2.75rem} .md\\:h-5{height:1.25rem} .md\\:h-\\[13\\.5px\\]{height:13.5px} .md\\:h-fit{height:-moz-fit-content;height:fit-content} .md\\:max-h-\\[calc\\(100vh-128px\\)\\]{max-height:calc(100vh - 128px)} .md\\:max-h-\\[calc\\(100vh-128px-54px\\)\\]{max-height:calc(100vh - 182px)} .md\\:w-1\\/2{width:50%} .md\\:w-11{width:2.75rem} .md\\:w-5{width:1.25rem} .md\\:w-\\[13\\.5px\\]{width:13.5px} .md\\:max-w-\\[calc\\(100vw-164px\\)\\]{max-width:calc(100vw - 164px)} .md\\:flex-none{flex:none} .md\\:flex-row{flex-direction:row} .md\\:items-start{align-items:flex-start} .md\\:justify-center{justify-content:center} .md\\:gap-4{gap:1rem} .md\\:gap-x-4{-moz-column-gap:1rem;column-gap:1rem} .md\\:rounded-lg{border-radius:.5rem} .md\\:rounded-md{border-radius:.375rem} .md\\:px-4{padding-left:1rem;padding-right:1rem} .md\\:px-6{padding-left:1.5rem;padding-right:1.5rem} .md\\:px-\\[82px\\]{padding-left:82px;padding-right:82px} .md\\:pl-13\\.2{padding-left:3.125rem} .md\\:pl-4{padding-left:1rem} .md\\:pr-4{padding-right:1rem} .md\\:text-lg{font-size:1.125rem;line-height:1.75rem} .md\\:\\[grid-template-columns\\:repeat\\(2\\,minmax\\(auto\\,304px\\)\\)\\]{grid-template-columns:repeat(2,minmax(auto,304px))}}@media (min-width:1196px){ .lg\\:left-16{left:4rem} .lg\\:right-16{right:4rem} .lg\\:flex{display:flex} .lg\\:hidden{display:none} .lg\\:max-h-\\[calc\\(100vh-192px\\)\\]{max-height:calc(100vh - 192px)} .lg\\:max-h-\\[calc\\(100vh-192px-54px\\)\\]{max-height:calc(100vh - 246px)} .lg\\:w-full{width:100%} .lg\\:max-w-\\[50\\%\\]{max-width:50%} .lg\\:max-w-\\[calc\\(100vw-248px\\)\\]{max-width:calc(100vw - 248px)} .lg\\:grow{flex-grow:1} .lg\\:basis-1\\/2{flex-basis:50%} .lg\\:justify-start{justify-content:flex-start} .lg\\:rounded-b-lg{border-bottom-left-radius:.5rem;border-bottom-right-radius:.5rem} .lg\\:rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem} .lg\\:px-16{padding-left:4rem;padding-right:4rem} .lg\\:px-\\[128px\\]{padding-left:128px;padding-right:128px} .lg\\:py-24{padding-bottom:6rem;padding-top:6rem} .lg\\:pt-6{padding-top:1.5rem}}@media (pointer:coarse){ .coarse\\:active\\:bg-yellow-900:active{--tw-bg-opacity:1;background-color:rgb(253,224,71,var(--tw-bg-opacity,1))}}'
7870
7850
  };
7871
7851
  function Cu(e, t) {
7872
- ve(t, !0), Ws(e, _u);
7873
- let r = y(t, "session-id", 7), n = y(t, "item-id", 7), i = y(t, "interactive-mode", 7), a = y(t, "preview-mode", 7), o = /* @__PURE__ */ q(null), l = /* @__PURE__ */ q(null), u = /* @__PURE__ */ q(!0), c = /* @__PURE__ */ q(null), p = /* @__PURE__ */ q(null), h = /* @__PURE__ */ q(null), d = /* @__PURE__ */ q(!1), f = /* @__PURE__ */ S(() => i() === !0 ? fe.INTERACTIVE : a() === !0 ? fe.PREVIEW : fe.SESSION);
7852
+ ge(t, !0), Ws(e, _u);
7853
+ let r = y(t, "session-id", 7), n = y(t, "item-id", 7), i = y(t, "interactive-mode", 7), a = y(t, "preview-mode", 7), o = /* @__PURE__ */ j(null), l = /* @__PURE__ */ j(null), u = /* @__PURE__ */ j(!0), c = /* @__PURE__ */ j(null), p = /* @__PURE__ */ j(null), h = /* @__PURE__ */ j(null), d = /* @__PURE__ */ j(!1), f = /* @__PURE__ */ S(() => i() === !0 ? fe.INTERACTIVE : a() === !0 ? fe.PREVIEW : fe.SESSION);
7874
7854
  vl();
7875
7855
  let m = /* @__PURE__ */ S(() => qr(Mi) ? "?skip_user_validation=true" : "");
7876
7856
  Te(() => {
7877
7857
  if (s(f) === fe.SESSION && !r()) {
7878
- I(c, "No session ID provided for session mode"), I(u, !1);
7858
+ E(c, "No session ID provided for session mode"), E(u, !1);
7879
7859
  return;
7880
7860
  }
7881
7861
  if ((s(f) === fe.PREVIEW || s(f) === fe.INTERACTIVE) && !n()) {
7882
- I(c, "No item ID provided for preview/interactive mode"), I(u, !1);
7862
+ E(c, "No item ID provided for preview/interactive mode"), E(u, !1);
7883
7863
  return;
7884
7864
  }
7885
7865
  return (async () => {
@@ -7891,79 +7871,79 @@ function Cu(e, t) {
7891
7871
  if (!V)
7892
7872
  throw new Error(`Unable to determine interaction type. Data structure: ${JSON.stringify(L)}`);
7893
7873
  const $ = w(V);
7894
- if (I(h, C(L, $), !0), I(o, ll($, s(h), L), !0), I(l, cl($), !0), !s(o) || !s(l))
7874
+ if (E(h, C(L, $), !0), E(o, ll($, s(h), L), !0), E(l, cl($), !0), !s(o) || !s(l))
7895
7875
  throw new Error(`Unknown interaction type: ${$}`);
7896
- I(p, L, !0), s(o).onMount?.(), I(u, !1);
7876
+ E(p, L, !0), s(o).onMount?.(), E(u, !1);
7897
7877
  } catch (L) {
7898
- I(c, L.message, !0), I(u, !1);
7878
+ E(c, L.message, !0), E(u, !1);
7899
7879
  }
7900
7880
  })(), () => {
7901
7881
  s(o)?.onUnmount?.();
7902
7882
  };
7903
7883
  });
7904
- const g = (E) => E?.interaction?.type ? E.interaction.type : E?.type ? E.type : E?.interactionType ? E.interactionType : "", w = (E) => ({
7884
+ const g = (A) => A?.interaction?.type ? A.interaction.type : A?.type ? A.type : A?.interactionType ? A.interactionType : "", w = (A) => ({
7905
7885
  [_r.MCQ]: "mcq",
7906
7886
  [_r.TYPEIN]: "typein"
7907
7887
  // TODO: Add other interaction type mappings as they're migrated
7908
- })[E] || E, C = (E, L) => {
7888
+ })[A] || A, C = (A, L) => {
7909
7889
  switch (L) {
7910
7890
  case "mcq":
7911
- return Zc(E);
7891
+ return Zc(A);
7912
7892
  case "typein":
7913
- return bu(E);
7893
+ return bu(A);
7914
7894
  default:
7915
- return E?.interaction ?? {};
7895
+ return A?.interaction ?? {};
7916
7896
  }
7917
- }, k = async (E) => {
7918
- const { state: L, serialized: V } = E.detail ?? {};
7897
+ }, k = async (A) => {
7898
+ const { state: L, serialized: V } = A.detail ?? {};
7919
7899
  if (!L || !V || s(f) !== fe.SESSION)
7920
7900
  return;
7921
7901
  const $ = s(o)?.isLocked?.(L) ?? !1, P = s(o)?.isCompleted?.(L) ?? !1;
7922
7902
  if (!($ || P))
7923
7903
  try {
7924
- I(d, !0);
7904
+ E(d, !0);
7925
7905
  const W = `sessions/${r()}${s(m)}`;
7926
7906
  await ul(W, V);
7927
7907
  } finally {
7928
- I(d, !1);
7908
+ E(d, !1);
7929
7909
  }
7930
7910
  };
7931
7911
  var M = {
7932
7912
  get "session-id"() {
7933
7913
  return r();
7934
7914
  },
7935
- set "session-id"(E) {
7936
- r(E), x();
7915
+ set "session-id"(A) {
7916
+ r(A), x();
7937
7917
  },
7938
7918
  get "item-id"() {
7939
7919
  return n();
7940
7920
  },
7941
- set "item-id"(E) {
7942
- n(E), x();
7921
+ set "item-id"(A) {
7922
+ n(A), x();
7943
7923
  },
7944
7924
  get "interactive-mode"() {
7945
7925
  return i();
7946
7926
  },
7947
- set "interactive-mode"(E) {
7948
- i(E), x();
7927
+ set "interactive-mode"(A) {
7928
+ i(A), x();
7949
7929
  },
7950
7930
  get "preview-mode"() {
7951
7931
  return a();
7952
7932
  },
7953
- set "preview-mode"(E) {
7954
- a(E), x();
7933
+ set "preview-mode"(A) {
7934
+ a(A), x();
7955
7935
  }
7956
- }, v = xe();
7957
- Ns((E) => {
7936
+ }, v = be();
7937
+ Ns((A) => {
7958
7938
  var L = yu();
7959
- _i(4), N(E, L);
7939
+ _i(4), N(A, L);
7960
7940
  });
7961
- var A = ue(v);
7941
+ var I = ue(v);
7962
7942
  {
7963
- var _ = (E) => {
7964
- go(E);
7965
- }, b = (E) => {
7966
- var L = xe(), V = ue(L);
7943
+ var _ = (A) => {
7944
+ go(A);
7945
+ }, b = (A) => {
7946
+ var L = be(), V = ue(L);
7967
7947
  {
7968
7948
  var $ = (W) => {
7969
7949
  ci(W, {
@@ -7972,12 +7952,12 @@ function Cu(e, t) {
7972
7952
  }
7973
7953
  });
7974
7954
  }, P = (W) => {
7975
- var ce = xe(), B = ue(ce);
7955
+ var ce = be(), B = ue(ce);
7976
7956
  {
7977
- var D = (Z) => {
7978
- var K = xe(), ne = ue(K);
7979
- Vs(ne, () => s(l), (ae, he) => {
7980
- he(ae, {
7957
+ var D = (Y) => {
7958
+ var K = be(), te = ue(K);
7959
+ Vs(te, () => s(l), (ne, _e) => {
7960
+ _e(ne, {
7981
7961
  get api() {
7982
7962
  return s(o);
7983
7963
  },
@@ -7989,21 +7969,21 @@ function Cu(e, t) {
7989
7969
  },
7990
7970
  onstateChange: k
7991
7971
  });
7992
- }), N(Z, K);
7993
- }, R = (Z) => {
7994
- ci(Z, { bannerLabel: "Unable to load interaction" });
7972
+ }), N(Y, K);
7973
+ }, R = (Y) => {
7974
+ ci(Y, { bannerLabel: "Unable to load interaction" });
7995
7975
  };
7996
- U(
7976
+ q(
7997
7977
  B,
7998
- (Z) => {
7999
- s(o) && s(l) && s(h) ? Z(D) : Z(R, !1);
7978
+ (Y) => {
7979
+ s(o) && s(l) && s(h) ? Y(D) : Y(R, !1);
8000
7980
  },
8001
7981
  !0
8002
7982
  );
8003
7983
  }
8004
7984
  N(W, ce);
8005
7985
  };
8006
- U(
7986
+ q(
8007
7987
  V,
8008
7988
  (W) => {
8009
7989
  s(c) ? W($) : W(P, !1);
@@ -8011,15 +7991,15 @@ function Cu(e, t) {
8011
7991
  !0
8012
7992
  );
8013
7993
  }
8014
- N(E, L);
7994
+ N(A, L);
8015
7995
  };
8016
- U(A, (E) => {
8017
- s(u) ? E(_) : E(b, !1);
7996
+ q(I, (A) => {
7997
+ s(u) ? A(_) : A(b, !1);
8018
7998
  });
8019
7999
  }
8020
- return N(e, v), we(M);
8000
+ return N(e, v), ve(M);
8021
8001
  }
8022
- customElements.define("interaction-builder", be(
8002
+ customElements.define("interaction-builder", we(
8023
8003
  Cu,
8024
8004
  {
8025
8005
  "session-id": {},