@pie-players/pie-section-player 0.3.23 → 0.3.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { t as b } from "./defineProperty-CyepwRr5-eHUSgEtz.js";
1
+ import { t as b } from "./defineProperty-CyepwRr5-3800a70a.js";
2
2
  if (typeof window < "u") {
3
3
  var bn, yn;
4
4
  ((bn = (yn = window).__svelte ?? (yn.__svelte = {})).v ?? (bn.v = /* @__PURE__ */ new Set())).add("5");
@@ -2532,7 +2532,7 @@ var nl = class {
2532
2532
  backend: "desmos"
2533
2533
  }), this.desmosProvider = new (await (async () => {
2534
2534
  try {
2535
- const o = await import("./dist-DwP27yIs-gkxodgFn.js");
2535
+ const o = await import("./dist-DwP27yIs-cfd207a3.js");
2536
2536
  return await this.emitTelemetry("pie-tool-library-load-success", {
2537
2537
  toolId: "calculator",
2538
2538
  operation: "desmos-provider-module-import",
@@ -2813,7 +2813,7 @@ var nl = class {
2813
2813
  backend: t.serverProvider || t.backend
2814
2814
  }), this.ttsProvider = new (await (async () => {
2815
2815
  try {
2816
- const o = await import("./dist-Bud4G4lv-DvJKILlA.js");
2816
+ const o = await import("./dist-Bud4G4lv-b2620662.js");
2817
2817
  return await this.emitTelemetry("pie-tool-library-load-success", {
2818
2818
  toolId: "tts",
2819
2819
  operation: "server-provider-module-import",
@@ -1,12 +1,12 @@
1
- import { t as I } from "./defineProperty-CyepwRr5.js";
2
- import { a as wa, c as Bo, d as Li, f as Ni, g as Fo, h as Ho, i as Ta, l as wr, m as _a, n as Ca, p as Pa, s as ka, u as Ea } from "./player-preload-3o1j9PBc.js";
1
+ import { t as I } from "./chunks/defineProperty-318b8855.js";
2
+ import { a as wa, c as Bo, d as Li, f as Ni, g as Fo, h as Ho, i as Ta, l as wr, m as _a, n as Ca, p as Pa, s as ka, u as Ea } from "./chunks/player-preload-79b07366.js";
3
3
  import "@pie-players/pie-toolbars/components/item-toolbar-element";
4
4
  import "@pie-players/pie-toolbars/components/section-toolbar-element";
5
5
  if (typeof window < "u") {
6
6
  var no, io;
7
7
  ((no = (io = window).__svelte ?? (io.__svelte = {})).v ?? (no.v = /* @__PURE__ */ new Set())).add("5");
8
8
  }
9
- var Fn = {}, je = Symbol(), mf = Symbol("filename");
9
+ var Fn = {}, je = Symbol(), gf = Symbol("filename");
10
10
  var xa = "http://www.w3.org/2000/svg", Tr = Array.isArray, Aa = Array.prototype.indexOf, Hn = Array.prototype.includes, zi = Array.from, Ci = Object.keys, Pi = Object.defineProperty, vn = Object.getOwnPropertyDescriptor, jo = Object.getOwnPropertyDescriptors, Ra = Object.prototype, Ma = Array.prototype, _r = Object.getPrototypeOf, ro = Object.isExtensible, Oa = () => {
11
11
  };
12
12
  function La(e) {
@@ -22,7 +22,7 @@ function Vo() {
22
22
  reject: t
23
23
  };
24
24
  }
25
- var gf = 1 << 24, mt = 1024, Mt = 2048, xn = 4096, Cr = 8192, Na = 16384, Pr = 32768, oo = 1 << 25, Di = 65536, vf = 1 << 17, yf = 1 << 18, qn = 1 << 19, za = 1 << 20, ei = 1 << 25, li = 65536, so = 1 << 21, Da = 1 << 22, ki = 1 << 23, yn = Symbol("$state"), Wo = Symbol("legacy props"), Ba = Symbol(""), Fa = Symbol("proxy path"), jt = new class extends Error {
25
+ var vf = 1 << 24, mt = 1024, Mt = 2048, xn = 4096, Cr = 8192, Na = 16384, Pr = 32768, oo = 1 << 25, Di = 65536, yf = 1 << 17, bf = 1 << 18, qn = 1 << 19, za = 1 << 20, ei = 1 << 25, li = 65536, so = 1 << 21, Da = 1 << 22, ki = 1 << 23, yn = Symbol("$state"), Wo = Symbol("legacy props"), Ba = Symbol(""), Fa = Symbol("proxy path"), jt = new class extends Error {
26
26
  constructor(...t) {
27
27
  super(...t), I(this, "name", "StaleReactionError"), I(this, "message", "The reaction that called `getAbortSignal()` was re-run or destroyed");
28
28
  }
@@ -1651,7 +1651,7 @@ var jl = [
1651
1651
  "defer",
1652
1652
  "disablepictureinpicture",
1653
1653
  "disableremoteplayback"
1654
- ], If = [
1654
+ ], Sf = [
1655
1655
  ...jl,
1656
1656
  "formNoValidate",
1657
1657
  "isMap",
@@ -1676,7 +1676,7 @@ var Kl = [
1676
1676
  "$state.raw",
1677
1677
  "$derived",
1678
1678
  "$derived.by"
1679
- ], Sf = [
1679
+ ], wf = [
1680
1680
  ...Kl,
1681
1681
  "$state.eager",
1682
1682
  "$state.snapshot",
@@ -3275,7 +3275,7 @@ function Ys(e) {
3275
3275
  console.debug(`[${e}]`, ...t);
3276
3276
  };
3277
3277
  }
3278
- var wf = Ys("I18nService"), nr = {
3278
+ var Tf = Ys("I18nService"), nr = {
3279
3279
  assessment: [],
3280
3280
  section: [],
3281
3281
  item: [],
@@ -3839,7 +3839,7 @@ var jc = class {
3839
3839
  backend: "desmos"
3840
3840
  }), this.desmosProvider = new (await (async () => {
3841
3841
  try {
3842
- const n = await import("./dist-S3IAfazl.js");
3842
+ const n = await import("./chunks/dist-c4148994.js");
3843
3843
  return await this.emitTelemetry("pie-tool-library-load-success", {
3844
3844
  toolId: "calculator",
3845
3845
  operation: "desmos-provider-module-import",
@@ -4123,7 +4123,7 @@ var jc = class {
4123
4123
  backend: e.serverProvider || e.backend
4124
4124
  }), this.ttsProvider = new (await (async () => {
4125
4125
  try {
4126
- const n = await import("./dist-C2B1t0Ov.js");
4126
+ const n = await import("./chunks/dist-24a90544.js");
4127
4127
  return await this.emitTelemetry("pie-tool-library-load-success", {
4128
4128
  toolId: "tts",
4129
4129
  operation: "server-provider-module-import",
@@ -4883,7 +4883,7 @@ function ud() {
4883
4883
  for (const n of e.getAllTools()) for (const i of n.pnpSupportIds || []) t.add(i);
4884
4884
  return [...t].sort();
4885
4885
  }
4886
- var sa = ud(), Tf = {
4886
+ var sa = ud(), _f = {
4887
4887
  supports: [...sa],
4888
4888
  prohibitedSupports: [],
4889
4889
  activateAtInit: []
@@ -5008,7 +5008,7 @@ var hd = {
5008
5008
  itemGlossary: "itemGlossary",
5009
5009
  tutorialAvailable: "tutorialAvailable"
5010
5010
  }
5011
- }, _f = Object.values(hd).flatMap((e) => Object.values(e)), Et = Ys("ToolCoordinator"), Zt;
5011
+ }, Cf = Object.values(hd).flatMap((e) => Object.values(e)), Et = Ys("ToolCoordinator"), Zt;
5012
5012
  (function(e) {
5013
5013
  e[e.BASE = 0] = "BASE", e[e.TOOL = 1e3] = "TOOL", e[e.MODAL = 2e3] = "MODAL", e[e.CONTROL = 3e3] = "CONTROL", e[e.HIGHLIGHT = 4e3] = "HIGHLIGHT";
5014
5014
  })(Zt || (Zt = {}));
@@ -7878,12 +7878,19 @@ function _u(e) {
7878
7878
  return String(e.itemId || "");
7879
7879
  }
7880
7880
  }
7881
- var Cu = /* @__PURE__ */ Ie('<div class="pie-assessment-toolkit-anchor svelte-vpe4u2" aria-hidden="true"></div> <!>', 1), Pu = {
7881
+ var Cu = (e, t) => {
7882
+ if (!customElements.get(e))
7883
+ try {
7884
+ customElements.define(e, t);
7885
+ } catch (n) {
7886
+ if (!(n instanceof DOMException && n.name === "NotSupportedError" || n && typeof n == "object" && n.name === "NotSupportedError") || !customElements.get(e)) throw n;
7887
+ }
7888
+ }, Pu = /* @__PURE__ */ Ie('<div class="pie-assessment-toolkit-anchor svelte-vpe4u2" aria-hidden="true"></div> <!>', 1), ku = {
7882
7889
  hash: "svelte-vpe4u2",
7883
7890
  code: ".pie-assessment-toolkit-anchor.svelte-vpe4u2 {display:none;}"
7884
7891
  };
7885
- function ku(e, t) {
7886
- We(t, !0), Qe(e, Pu);
7892
+ function Eu(e, t) {
7893
+ We(t, !0), Qe(e, ku);
7887
7894
  const n = yu("toolkit"), i = new vu(), r = {
7888
7895
  mode: "gather",
7889
7896
  role: "student"
@@ -8392,12 +8399,12 @@ function ku(e, t) {
8392
8399
  set isolation(T) {
8393
8400
  x(T), p();
8394
8401
  }
8395
- }, hi = Cu(), O = Ue(hi);
8402
+ }, hi = Pu(), O = Ue(hi);
8396
8403
  Ge(O, (T) => H(L, T), () => a(L));
8397
8404
  var bt = xe(O, 2);
8398
8405
  return On(bt, t, "default", {}, null), ce(e, hi), Ke(Gi);
8399
8406
  }
8400
- customElements.define("pie-assessment-toolkit", Ye(ku, {
8407
+ Cu("pie-assessment-toolkit", Ye(Eu, {
8401
8408
  assessmentId: {
8402
8409
  attribute: "assessment-id",
8403
8410
  type: "String"
@@ -8458,7 +8465,7 @@ customElements.define("pie-assessment-toolkit", Ye(ku, {
8458
8465
  "persist",
8459
8466
  "hydrate"
8460
8467
  ], { mode: "open" }));
8461
- var Eu = class {
8468
+ var xu = class {
8462
8469
  createUniqueId(e, t, n) {
8463
8470
  const i = e.trim() || n;
8464
8471
  let r = i, o = 2;
@@ -8533,7 +8540,7 @@ var Eu = class {
8533
8540
  adapterItemRefs: c
8534
8541
  };
8535
8542
  }
8536
- }, xu = class {
8543
+ }, Au = class {
8537
8544
  navigate(e) {
8538
8545
  if (e.isPageMode || e.index < 0 || e.index >= e.items.length) return null;
8539
8546
  const t = e.items[e.currentItemIndex]?.id || "", n = e.items[e.index], i = n?.id || "", r = typeof n?.title == "string" && n.title.trim() || void 0, o = Td(_d(e.testAttemptSession, {
@@ -8553,7 +8560,7 @@ var Eu = class {
8553
8560
  }
8554
8561
  };
8555
8562
  }
8556
- }, Au = class {
8563
+ }, Ru = class {
8557
8564
  createEmptyCanonicalAttempt(e) {
8558
8565
  const t = e.adapterItemRefs.map((n) => n?.identifier || n?.item?.id).filter((n) => typeof n == "string" && !!n);
8559
8566
  return wd({
@@ -8609,9 +8616,9 @@ var Eu = class {
8609
8616
  }
8610
8617
  };
8611
8618
  }
8612
- }, Ru = Ho("section-controller", () => Fo()), Mu = class {
8619
+ }, Mu = Ho("section-controller", () => Fo()), Ou = class {
8613
8620
  constructor() {
8614
- this.contentService = new Eu(), this.sessionService = new Au(), this.itemNavigationService = new xu(), this.sessionPersistence = null, this.state = {
8621
+ this.contentService = new xu(), this.sessionService = new Ru(), this.itemNavigationService = new Au(), this.sessionPersistence = null, this.state = {
8615
8622
  input: null,
8616
8623
  viewModel: {
8617
8624
  passages: [],
@@ -8630,7 +8637,7 @@ var Eu = class {
8630
8637
  for (const t of this.listeners) try {
8631
8638
  t(e);
8632
8639
  } catch (n) {
8633
- Ru.warn("listener failed", n);
8640
+ Mu.warn("listener failed", n);
8634
8641
  }
8635
8642
  }
8636
8643
  subscribe(e) {
@@ -9084,12 +9091,12 @@ var Eu = class {
9084
9091
  }
9085
9092
  }
9086
9093
  }
9087
- }, Ou = /* @__PURE__ */ Ie("<pie-tool-annotation-toolbar></pie-tool-annotation-toolbar>", 2), Lu = /* @__PURE__ */ Ie("<pie-assessment-toolkit><!> <!></pie-assessment-toolkit>", 2), Nu = {
9094
+ }, Lu = /* @__PURE__ */ Ie("<pie-tool-annotation-toolbar></pie-tool-annotation-toolbar>", 2), Nu = /* @__PURE__ */ Ie("<pie-assessment-toolkit><!> <!></pie-assessment-toolkit>", 2), zu = {
9088
9095
  hash: "svelte-19m8zbn",
9089
9096
  code: ":host {display:block;width:100%;height:100%;min-height:0;}pie-assessment-toolkit.svelte-19m8zbn {display:flex;flex-direction:column;flex:1;width:100%;height:100%;min-height:0;overflow:hidden;}"
9090
9097
  };
9091
- function zu(e, t) {
9092
- We(t, !0), Qe(e, Nu);
9098
+ function Du(e, t) {
9099
+ We(t, !0), Qe(e, zu);
9093
9100
  let n = m(t, "assessmentId", 7, Mo), i = m(t, "runtime", 7, null), r = m(t, "section", 7, null), o = m(t, "sectionId", 7, ""), s = m(t, "attemptId", 7, ""), l = m(t, "playerType", 7, Oo), c = m(t, "player", 7, null), d = m(t, "lazyInit", 7, !0), f = m(t, "tools", 7, null), h = m(t, "accessibility", 7, null), u = m(t, "coordinator", 7, null), g = m(t, "createSectionController", 7, null), y = m(t, "isolation", 7, Lo), _ = m(t, "env", 7, null), S = /* @__PURE__ */ $(null), v = /* @__PURE__ */ $(null), z = /* @__PURE__ */ $(-1);
9094
9101
  const x = Mn(), L = /* @__PURE__ */ M(() => i()?.assessmentId ?? n()), A = /* @__PURE__ */ M(() => i()?.playerType ?? l()), V = /* @__PURE__ */ M(() => i()?.player ?? c()), R = /* @__PURE__ */ M(() => i()?.lazyInit ?? d()), P = /* @__PURE__ */ M(() => i()?.tools ?? f()), N = /* @__PURE__ */ M(() => i()?.accessibility ?? h()), W = /* @__PURE__ */ M(() => i()?.coordinator ?? u()), Y = /* @__PURE__ */ M(() => i()?.createSectionController ?? g()), U = /* @__PURE__ */ M(() => i()?.isolation ?? y()), q = /* @__PURE__ */ M(() => i()?.env ?? _() ?? ha), j = /* @__PURE__ */ M(() => o() || a(X)?.identifier || "");
9095
9102
  let X = /* @__PURE__ */ M(() => {
@@ -9120,7 +9127,7 @@ function zu(e, t) {
9120
9127
  ie(() => {
9121
9128
  if (!a(we) || a(Te)) return;
9122
9129
  let b = !1;
9123
- return import("./tool-annotation-toolbar-uBRVJLI4.js").then(() => {
9130
+ return import("./chunks/tool-annotation-toolbar-db5bfbec.js").then(() => {
9124
9131
  b || H(Te, !0);
9125
9132
  }).catch(() => {
9126
9133
  b || H(Te, !1);
@@ -9128,7 +9135,7 @@ function zu(e, t) {
9128
9135
  b = !0;
9129
9136
  };
9130
9137
  }), ie(() => {
9131
- a(S) && (a(S).createSectionController = a(Y) || (() => new Mu()));
9138
+ a(S) && (a(S).createSectionController = a(Y) || (() => new Ou()));
9132
9139
  });
9133
9140
  function ae(b) {
9134
9141
  return a(S)?.navigateToItem ? a(S).navigateToItem(b) : null;
@@ -9257,10 +9264,10 @@ function zu(e, t) {
9257
9264
  set env(b = null) {
9258
9265
  _(b), p();
9259
9266
  }
9260
- }, C = Lu();
9267
+ }, C = Nu();
9261
9268
  E(() => k(C, "assessment-id", a(L))), E(() => k(C, "section", a(X))), E(() => k(C, "section-id", o())), E(() => k(C, "attempt-id", s())), E(() => k(C, "player-type", a(A))), E(() => k(C, "player", a(V))), E(() => k(C, "env", a(q))), E(() => k(C, "lazy-init", a(R))), E(() => k(C, "tools", a(P))), E(() => k(C, "accessibility", a(N))), E(() => k(C, "coordinator", a(W))), E(() => k(C, "isolation", a(U))), wt(C, 1, "svelte-19m8zbn");
9262
9269
  var me = ke(C), ge = (b) => {
9263
- var Q = Ou();
9270
+ var Q = Lu();
9264
9271
  k(Q, "enabled", !0), E(() => k(Q, "ttsService", a(v).ttsService)), E(() => k(Q, "highlightCoordinator", a(v).highlightCoordinator)), ce(b, Q);
9265
9272
  };
9266
9273
  Pt(me, (b) => {
@@ -9269,7 +9276,7 @@ function zu(e, t) {
9269
9276
  var Xe = xe(me, 2);
9270
9277
  return On(Xe, t, "default", {}, null), Pe(C), Ge(C, (b) => H(S, b), () => a(S)), Ee("composition-changed", C, de), Ee("toolkit-ready", C, (b) => fe(b, "toolkit-ready")), Ee("section-ready", C, (b) => fe(b, "section-ready")), Ee("runtime-error", C, (b) => fe(b, "runtime-error")), Ee("session-changed", C, (b) => fe(b, "session-changed")), Ee("runtime-owned", C, (b) => fe(b, "runtime-owned")), Ee("runtime-inherited", C, (b) => fe(b, "runtime-inherited")), ce(e, C), Ke(D);
9271
9278
  }
9272
- customElements.define("pie-section-player-base", Ye(zu, {
9279
+ customElements.define("pie-section-player-base", Ye(Du, {
9273
9280
  assessmentId: {
9274
9281
  attribute: "assessment-id",
9275
9282
  type: "String"
@@ -9309,7 +9316,7 @@ customElements.define("pie-section-player-base", Ye(zu, {
9309
9316
  "getSectionController",
9310
9317
  "waitForSectionController"
9311
9318
  ], { mode: "open" }));
9312
- var Du = /* @__PURE__ */ Ie("<pie-section-toolbar></pie-section-toolbar>", 2), Bu = /* @__PURE__ */ Ie('<aside class="pie-section-player-toolbar-pane pie-section-player-toolbar-pane--left svelte-klnow4" aria-label="Section tools"><pie-section-toolbar></pie-section-toolbar></aside>', 2), Fu = /* @__PURE__ */ Ie('<aside class="pie-section-player-toolbar-pane pie-section-player-toolbar-pane--right svelte-klnow4" aria-label="Section tools"><pie-section-toolbar></pie-section-toolbar></aside>', 2), Hu = /* @__PURE__ */ Ie("<pie-section-toolbar></pie-section-toolbar>", 2), ju = /* @__PURE__ */ Ie("<div><!> <div><!> <!> <!></div> <!></div>"), Vu = {
9319
+ var Bu = /* @__PURE__ */ Ie("<pie-section-toolbar></pie-section-toolbar>", 2), Fu = /* @__PURE__ */ Ie('<aside class="pie-section-player-toolbar-pane pie-section-player-toolbar-pane--left svelte-klnow4" aria-label="Section tools"><pie-section-toolbar></pie-section-toolbar></aside>', 2), Hu = /* @__PURE__ */ Ie('<aside class="pie-section-player-toolbar-pane pie-section-player-toolbar-pane--right svelte-klnow4" aria-label="Section tools"><pie-section-toolbar></pie-section-toolbar></aside>', 2), ju = /* @__PURE__ */ Ie("<pie-section-toolbar></pie-section-toolbar>", 2), Vu = /* @__PURE__ */ Ie("<div><!> <div><!> <!> <!></div> <!></div>"), Wu = {
9313
9320
  hash: "svelte-klnow4",
9314
9321
  code: `:host {display:block;width:100%;height:100%;min-height:0;}.pie-section-player-shell.svelte-klnow4 {display:flex;flex-direction:column;height:100%;min-height:0;overflow:hidden;background:var(--pie-background-dark, #ecedf1);}.pie-section-player-layout-body.svelte-klnow4 {display:grid;grid-template-columns:minmax(0, 1fr);flex:1;min-height:0;overflow:hidden;background:var(--pie-background-dark, #ecedf1);}.pie-section-player-layout-body--inline.svelte-klnow4 {gap:0;}.pie-section-player-layout-body--inline-left.svelte-klnow4 {grid-template-columns:auto minmax(0, 1fr);}.pie-section-player-layout-body--inline-right.svelte-klnow4 {grid-template-columns:minmax(0, 1fr) auto;}.pie-section-player-toolbar-pane.svelte-klnow4 {min-height:0;overflow:auto;padding:0.25rem;box-sizing:border-box;background:var(--pie-background-dark, #ecedf1);}.pie-section-player-toolbar-pane--right.svelte-klnow4 {border-left:1px solid var(--pie-border-light, #e5e7eb);}.pie-section-player-toolbar-pane--left.svelte-klnow4 {border-right:1px solid var(--pie-border-light, #e5e7eb);}.pie-section-player-toolbar.svelte-klnow4 {margin:0.25rem;}.pie-section-player-toolbar-pane.svelte-klnow4 pie-section-toolbar:where(.svelte-klnow4) {margin:0.25rem;}
9315
9322
 
@@ -9317,8 +9324,8 @@ var Du = /* @__PURE__ */ Ie("<pie-section-toolbar></pie-section-toolbar>", 2), B
9317
9324
  .pie-section-player-toolbar-pane--right.svelte-klnow4 {border:none;padding:0;}
9318
9325
  }`
9319
9326
  };
9320
- function Wu(e, t) {
9321
- We(t, !0), Qe(e, Vu);
9327
+ function Ku(e, t) {
9328
+ We(t, !0), Qe(e, Wu);
9322
9329
  const n = 1100;
9323
9330
  let i = m(t, "showToolbar", 7, "false"), r = m(t, "toolbarPosition", 7, "right"), o = m(t, "enabledTools", 7, ""), s = /* @__PURE__ */ $(!1);
9324
9331
  ie(() => {
@@ -9348,15 +9355,15 @@ function Wu(e, t) {
9348
9355
  set enabledTools(P = "") {
9349
9356
  o(P), p();
9350
9357
  }
9351
- }, g = ju(), y = ke(g), _ = (P) => {
9352
- var N = Du();
9358
+ }, g = Vu(), y = ke(g), _ = (P) => {
9359
+ var N = Bu();
9353
9360
  E(() => k(N, "position", a(l))), E(() => k(N, "enabled-tools", o())), E(() => wt(N, 1, `pie-section-player-toolbar pie-section-player-toolbar--${a(l)}`, "svelte-klnow4")), ce(P, N);
9354
9361
  };
9355
9362
  Pt(y, (P) => {
9356
9363
  a(c) && a(d) && P(_);
9357
9364
  });
9358
9365
  var S = xe(y, 2), v = ke(S), z = (P) => {
9359
- var N = Bu(), W = ke(N);
9366
+ var N = Fu(), W = ke(N);
9360
9367
  k(W, "position", "left"), E(() => k(W, "enabled-tools", o())), wt(W, 1, "svelte-klnow4"), Pe(N), ce(P, N);
9361
9368
  };
9362
9369
  Pt(v, (P) => {
@@ -9365,14 +9372,14 @@ function Wu(e, t) {
9365
9372
  var x = xe(v, 2);
9366
9373
  On(x, t, "default", {}, null);
9367
9374
  var L = xe(x, 2), A = (P) => {
9368
- var N = Fu(), W = ke(N);
9375
+ var N = Hu(), W = ke(N);
9369
9376
  k(W, "position", "right"), E(() => k(W, "enabled-tools", o())), wt(W, 1, "svelte-klnow4"), Pe(N), ce(P, N);
9370
9377
  };
9371
9378
  Pt(L, (P) => {
9372
9379
  a(c) && a(h) && a(l) === "right" && P(A);
9373
9380
  }), Pe(S);
9374
9381
  var V = xe(S, 2), R = (P) => {
9375
- var N = Hu();
9382
+ var N = ju();
9376
9383
  E(() => k(N, "position", a(l))), E(() => k(N, "enabled-tools", o())), E(() => wt(N, 1, `pie-section-player-toolbar pie-section-player-toolbar--${a(l)}`, "svelte-klnow4")), ce(P, N);
9377
9384
  };
9378
9385
  return Pt(V, (P) => {
@@ -9381,7 +9388,7 @@ function Wu(e, t) {
9381
9388
  wt(g, 1, `pie-section-player-shell pie-section-player-shell--${a(l)}`, "svelte-klnow4"), wt(S, 1, `pie-section-player-layout-body ${a(c) && a(h) ? `pie-section-player-layout-body--inline pie-section-player-layout-body--inline-${a(l)}` : ""}`, "svelte-klnow4");
9382
9389
  }), ce(e, g), Ke(u);
9383
9390
  }
9384
- customElements.define("pie-section-player-shell", Ye(Wu, {
9391
+ customElements.define("pie-section-player-shell", Ye(Ku, {
9385
9392
  showToolbar: {
9386
9393
  attribute: "show-toolbar",
9387
9394
  type: "String"
@@ -9395,14 +9402,14 @@ customElements.define("pie-section-player-shell", Ye(Wu, {
9395
9402
  type: "String"
9396
9403
  }
9397
9404
  }, ["default"], [], { mode: "open" }));
9398
- var Ku = /* @__PURE__ */ Ie('<div class="pie-section-player-layout-scaffold-anchor svelte-9tgqlk" aria-hidden="true"></div> <div class="pie-section-player-nav-status svelte-9tgqlk" role="status" aria-live="polite" aria-atomic="true"> </div> <pie-section-player-base><pie-section-player-shell><!></pie-section-player-shell></pie-section-player-base>', 3), $u = {
9405
+ var $u = /* @__PURE__ */ Ie('<div class="pie-section-player-layout-scaffold-anchor svelte-9tgqlk" aria-hidden="true"></div> <div class="pie-section-player-nav-status svelte-9tgqlk" role="status" aria-live="polite" aria-atomic="true"> </div> <pie-section-player-base><pie-section-player-shell><!></pie-section-player-shell></pie-section-player-base>', 3), qu = {
9399
9406
  hash: "svelte-9tgqlk",
9400
9407
  code: `.pie-section-player-layout-scaffold-anchor.svelte-9tgqlk {display:none;}
9401
9408
 
9402
9409
  /* Visually hidden but available to screen readers (WCAG 4.1.3). */.pie-section-player-nav-status.svelte-9tgqlk {position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;}`
9403
9410
  };
9404
9411
  function ga(e, t) {
9405
- We(t, !0), Qe(e, $u);
9412
+ We(t, !0), Qe(e, qu);
9406
9413
  let n = m(t, "runtime", 7, null), i = m(t, "section", 7, null), r = m(t, "sectionId", 7, ""), o = m(t, "attemptId", 7, ""), s = m(t, "showToolbar", 7, "false"), l = m(t, "toolbarPosition", 7, "right"), c = m(t, "enabledTools", 7, ""), d = m(t, "focusPolicy", 23, () => ({ autoFocusFirstItem: !1 })), f = m(t, "cardRenderContext", 7, null), h = m(t, "onCompositionChanged", 7), u = m(t, "onSectionReady", 7), g = m(t, "onRuntimeError", 7), y = m(t, "onSessionChanged", 7), _ = m(t, "onRuntimeOwned", 7), S = m(t, "onRuntimeInherited", 7), v = m(t, "onToolkitReady", 7), z = /* @__PURE__ */ $(null), x = /* @__PURE__ */ $(""), L = null;
9407
9414
  function A(C) {
9408
9415
  const me = typeof C.itemIndex == "number" ? C.itemIndex + 1 : null, ge = typeof C.totalItems == "number" ? C.totalItems : null;
@@ -9579,7 +9586,7 @@ function ga(e, t) {
9579
9586
  set onToolkitReady(C) {
9580
9587
  v(C), p();
9581
9588
  }
9582
- }, ae = Ku(), Fe = Ue(ae);
9589
+ }, ae = $u(), Fe = Ue(ae);
9583
9590
  Ge(Fe, (C) => H(z, C), () => a(z));
9584
9591
  var Se = xe(Fe, 2), $e = ke(Se, !0);
9585
9592
  Pe(Se);
@@ -10066,7 +10073,7 @@ Ye(qi, {
10066
10073
  "getSectionController",
10067
10074
  "waitForSectionController"
10068
10075
  ], { mode: "open" });
10069
- var qu = /* @__PURE__ */ Ie('<section class="pie-section-player-passages-section svelte-1p2kjkn" aria-label="Passages"><pie-section-player-passages-pane></pie-section-player-passages-pane></section>', 2), Uu = /* @__PURE__ */ Ie('<div class="pie-section-player-vertical-content svelte-1p2kjkn"><!> <section class="pie-section-player-items-section svelte-1p2kjkn" aria-label="Items"><pie-section-player-items-pane></pie-section-player-items-pane></section></div>', 2), Gu = {
10076
+ var Uu = /* @__PURE__ */ Ie('<section class="pie-section-player-passages-section svelte-1p2kjkn" aria-label="Passages"><pie-section-player-passages-pane></pie-section-player-passages-pane></section>', 2), Gu = /* @__PURE__ */ Ie('<div class="pie-section-player-vertical-content svelte-1p2kjkn"><!> <section class="pie-section-player-items-section svelte-1p2kjkn" aria-label="Items"><pie-section-player-items-pane></pie-section-player-items-pane></section></div>', 2), Yu = {
10070
10077
  hash: "svelte-1p2kjkn",
10071
10078
  code: `.pie-section-player-vertical-content.svelte-1p2kjkn {height:100%;max-height:100%;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;display:flex;flex-direction:column;gap:1rem;padding:0.5rem;box-sizing:border-box;background:var(--pie-background-dark, #ecedf1);scrollbar-width:thin;scrollbar-color:var(--pie-scrollbar-thumb, #6b7280) var(--pie-scrollbar-track, #d1d5db);}.pie-section-player-vertical-content.svelte-1p2kjkn::-webkit-scrollbar {width:0.75rem;height:0.75rem;}.pie-section-player-vertical-content.svelte-1p2kjkn::-webkit-scrollbar-track {background:var(--pie-scrollbar-track, #d1d5db);border-radius:999px;}.pie-section-player-vertical-content.svelte-1p2kjkn::-webkit-scrollbar-thumb {background:var(--pie-scrollbar-thumb, #6b7280);border-radius:999px;border:2px solid var(--pie-scrollbar-track, #d1d5db);}.pie-section-player-vertical-content.svelte-1p2kjkn::-webkit-scrollbar-thumb:hover {background:var(--pie-scrollbar-thumb-hover, #4b5563);}.pie-section-player-passages-section.svelte-1p2kjkn,
10072
10079
  .pie-section-player-items-section.svelte-1p2kjkn {min-height:0;
@@ -10074,7 +10081,7 @@ var qu = /* @__PURE__ */ Ie('<section class="pie-section-player-passages-section
10074
10081
  Let the vertical container own scrolling instead. */flex:0 0 auto;}.pie-section-player-passages-section.svelte-1p2kjkn {width:100%;}`
10075
10082
  };
10076
10083
  function Qr(e, t) {
10077
- We(t, !0), Qe(e, Gu);
10084
+ We(t, !0), Qe(e, Yu);
10078
10085
  let n = m(t, "layoutModel", 7), i = m(t, "itemToolbarTools", 7, ""), r = m(t, "passageToolbarTools", 7, ""), o = m(t, "iifeBundleHost", 7), s = m(t, "preloadComponentTag", 7, "pie-section-player-vertical");
10079
10086
  var l = {
10080
10087
  get layoutModel() {
@@ -10107,8 +10114,8 @@ function Qr(e, t) {
10107
10114
  set preloadComponentTag(g = "pie-section-player-vertical") {
10108
10115
  s(g), p();
10109
10116
  }
10110
- }, c = Uu(), d = ke(c), f = (g) => {
10111
- var y = qu(), _ = ke(y);
10117
+ }, c = Gu(), d = ke(c), f = (g) => {
10118
+ var y = Uu(), _ = ke(y);
10112
10119
  E(() => k(_, "passages", n().passages)), E(() => k(_, "elementsLoaded", n().paneElementsLoaded)), E(() => k(_, "resolvedPlayerEnv", n().resolvedPlayerEnv)), E(() => k(_, "resolvedPlayerAttributes", n().resolvedPlayerAttributes)), E(() => k(_, "resolvedPlayerProps", n().resolvedPlayerProps)), E(() => k(_, "playerStrategy", n().playerStrategy)), E(() => k(_, "passageToolbarTools", r())), Pe(y), ce(g, y);
10113
10120
  };
10114
10121
  Pt(d, (g) => {
@@ -10130,14 +10137,14 @@ Ye(Qr, {
10130
10137
  iifeBundleHost: {},
10131
10138
  preloadComponentTag: {}
10132
10139
  }, [], [], { mode: "open" });
10133
- var Yu = /* @__PURE__ */ Ie('<div role="separator" aria-orientation="vertical"><span class="pie-section-player-split-divider-handle svelte-1ncvi88"></span></div>'), Xu = {
10140
+ var Xu = /* @__PURE__ */ Ie('<div role="separator" aria-orientation="vertical"><span class="pie-section-player-split-divider-handle svelte-1ncvi88"></span></div>'), Ju = {
10134
10141
  hash: "svelte-1ncvi88",
10135
10142
  code: `.pie-section-player-split-divider.svelte-1ncvi88 {border:none;padding:0;margin:0;font:inherit;align-self:stretch;height:100%;min-height:0;position:relative;cursor:col-resize;background:var(--pie-secondary-background, #f3f4f6);display:flex;align-items:center;justify-content:center;user-select:none;touch-action:none;transition:background 0.2s ease;}.pie-section-player-split-divider.svelte-1ncvi88:hover {background:var(--pie-border-light, #e5e7eb);}.pie-section-player-split-divider.svelte-1ncvi88:focus {outline:2px solid var(--pie-focus-checked-border, #1976d2);outline-offset:-2px;}.pie-section-player-split-divider-handle.svelte-1ncvi88 {position:absolute;inset:0;margin:auto;width:6px;height:60px;background:var(--pie-blue-grey-600, #9ca3af);border-radius:3px;transition:all 0.2s ease;pointer-events:none;}.pie-section-player-split-divider-handle.svelte-1ncvi88::before {content:"";position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);width:2px;height:20px;background:var(--pie-white, white);border-radius:1px;opacity:0.8;}.pie-section-player-split-divider.svelte-1ncvi88:hover .pie-section-player-split-divider-handle:where(.svelte-1ncvi88),
10136
10143
  .pie-section-player-split-divider.svelte-1ncvi88:focus .pie-section-player-split-divider-handle:where(.svelte-1ncvi88),
10137
10144
  .pie-section-player-split-divider--dragging.svelte-1ncvi88 .pie-section-player-split-divider-handle:where(.svelte-1ncvi88) {background:var(--pie-primary, #1976d2);height:80px;box-shadow:0 2px 8px rgba(25, 118, 210, 0.3);}.pie-section-player-split-divider--dragging.svelte-1ncvi88 {background:var(--pie-primary-light, #dbeafe);}`
10138
10145
  };
10139
10146
  function va(e, t) {
10140
- We(t, !0), Qe(e, Xu);
10147
+ We(t, !0), Qe(e, Ju);
10141
10148
  let n = m(t, "value", 7, 50), i = m(t, "min", 7, 20), r = m(t, "max", 7, 80), o = m(t, "step", 7, 5), s = m(t, "disabled", 7, !1), l = m(t, "ariaLabel", 7, "Resize panels"), c = m(t, "ariaControls", 7, ""), d = m(t, "ariaValueText", 7, "");
10142
10149
  const f = Mn();
10143
10150
  let h = /* @__PURE__ */ $(!1), u = 0, g = 0;
@@ -10237,7 +10244,7 @@ function va(e, t) {
10237
10244
  set ariaValueText(A = "") {
10238
10245
  d(A), p();
10239
10246
  }
10240
- }, L = Yu();
10247
+ }, L = Xu();
10241
10248
  return E((A) => {
10242
10249
  wt(L, 1, `pie-section-player-split-divider ${a(h) ? "pie-section-player-split-divider--dragging" : ""}`, "svelte-1ncvi88"), ft(L, "aria-label", l()), ft(L, "aria-controls", c() || void 0), ft(L, "aria-valuemin", i()), ft(L, "aria-valuemax", r()), ft(L, "aria-valuenow", A), ft(L, "aria-valuetext", d() || void 0), ft(L, "aria-disabled", s() ? "true" : void 0), ft(L, "tabindex", s() ? void 0 : 0);
10243
10250
  }, [() => Math.round(n())]), yo("mousedown", L, _), yo("keydown", L, z), ce(e, L), Ke(x);
@@ -10253,7 +10260,7 @@ Ye(va, {
10253
10260
  ariaControls: {},
10254
10261
  ariaValueText: {}
10255
10262
  }, [], [], { mode: "open" });
10256
- var Ju = /* @__PURE__ */ Ie('<aside class="pie-section-player-passages-pane svelte-1psecfm" aria-label="Passages"><pie-section-player-passages-pane></pie-section-player-passages-pane></aside> <!>', 3), Zu = /* @__PURE__ */ Ie('<div><!> <main class="pie-section-player-items-pane svelte-1psecfm" aria-label="Items"><pie-section-player-items-pane></pie-section-player-items-pane></main></div>', 2), Qu = /* @__PURE__ */ Ie('<div class="pie-section-player-observability-anchor svelte-1psecfm" aria-hidden="true"></div> <!>', 1), ef = {
10263
+ var Zu = /* @__PURE__ */ Ie('<aside class="pie-section-player-passages-pane svelte-1psecfm" aria-label="Passages"><pie-section-player-passages-pane></pie-section-player-passages-pane></aside> <!>', 3), Qu = /* @__PURE__ */ Ie('<div><!> <main class="pie-section-player-items-pane svelte-1psecfm" aria-label="Items"><pie-section-player-items-pane></pie-section-player-items-pane></main></div>', 2), ef = /* @__PURE__ */ Ie('<div class="pie-section-player-observability-anchor svelte-1psecfm" aria-hidden="true"></div> <!>', 1), tf = {
10257
10264
  hash: "svelte-1psecfm",
10258
10265
  code: `:host {display:block;width:100%;height:100%;min-height:0;max-height:100%;overflow:hidden;}.pie-section-player-split-content.svelte-1psecfm {display:grid;gap:0;min-height:0;height:100%;overflow:hidden;}.pie-section-player-passages-pane.svelte-1psecfm,
10259
10266
  .pie-section-player-items-pane.svelte-1psecfm {height:100%;max-height:100%;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:0.5rem;box-sizing:border-box;background:var(--pie-background-dark, #ecedf1);scrollbar-width:thin;scrollbar-color:var(--pie-scrollbar-thumb, #6b7280) var(--pie-scrollbar-track, #d1d5db);}.pie-section-player-passages-pane.svelte-1psecfm:focus-visible,
@@ -10263,8 +10270,8 @@ var Ju = /* @__PURE__ */ Ie('<aside class="pie-section-player-passages-pane svel
10263
10270
  .pie-section-player-items-pane.svelte-1psecfm::-webkit-scrollbar-thumb {background:var(--pie-scrollbar-thumb, #6b7280);border-radius:999px;border:2px solid var(--pie-scrollbar-track, #d1d5db);}.pie-section-player-passages-pane.svelte-1psecfm::-webkit-scrollbar-thumb:hover,
10264
10271
  .pie-section-player-items-pane.svelte-1psecfm::-webkit-scrollbar-thumb:hover {background:var(--pie-scrollbar-thumb-hover, #4b5563);}.pie-section-player-observability-anchor.svelte-1psecfm {display:none;}`
10265
10272
  };
10266
- function tf(e, t) {
10267
- We(t, !0), Qe(e, ef);
10273
+ function nf(e, t) {
10274
+ We(t, !0), Qe(e, tf);
10268
10275
  const n = 1100, i = 400, r = 2e3;
10269
10276
  let o = m(t, "assessmentId", 7), s = m(t, "runtime", 7, null), l = m(t, "section", 7, null), c = m(t, "sectionId", 7, ""), d = m(t, "attemptId", 7, ""), f = m(t, "playerType", 7), h = m(t, "player", 7), u = m(t, "lazyInit", 7), g = m(t, "tools", 7), y = m(t, "accessibility", 7), _ = m(t, "coordinator", 7), S = m(t, "createSectionController", 7), v = m(t, "isolation", 7), z = m(t, "env", 7), x = m(t, "iifeBundleHost", 7), L = m(t, "debug", 7, void 0), A = m(t, "showToolbar", 7, "false"), V = m(t, "toolbarPosition", 7, "right"), R = m(t, "enabledTools", 7, ""), P = m(t, "itemToolbarTools", 7, ""), N = m(t, "passageToolbarTools", 7, ""), W = m(t, "policies", 7, void 0), Y = m(t, "narrowLayoutBreakpoint", 7, void 0);
10270
10277
  const U = /* @__PURE__ */ M(() => {
@@ -10494,7 +10501,7 @@ function tf(e, t) {
10494
10501
  set narrowLayoutBreakpoint(F = void 0) {
10495
10502
  Y(F), p();
10496
10503
  }
10497
- }, Ce = Qu(), Me = Ue(Ce);
10504
+ }, Ce = ef(), Me = Ue(Ce);
10498
10505
  Ge(Me, (F) => H(X, F), () => a(X));
10499
10506
  var zt = xe(Me, 2);
10500
10507
  {
@@ -10603,8 +10610,8 @@ function tf(e, t) {
10603
10610
  preloadComponentTag: "pie-section-player-vertical"
10604
10611
  });
10605
10612
  }, qe = (De) => {
10606
- var et = Zu(), Dt = ke(et), Gn = (Je) => {
10607
- var qt = Ju(), Ut = Ue(qt), yt = ke(Ut);
10613
+ var et = Qu(), Dt = ke(et), Gn = (Je) => {
10614
+ var qt = Zu(), Ut = Ue(qt), yt = ke(Ut);
10608
10615
  E(() => k(yt, "passages", a(pe).passages)), E(() => k(yt, "elementsLoaded", a(pe).paneElementsLoaded)), E(() => k(yt, "resolvedPlayerEnv", a(pe).resolvedPlayerEnv)), E(() => k(yt, "resolvedPlayerAttributes", a(pe).resolvedPlayerAttributes)), E(() => k(yt, "resolvedPlayerProps", a(pe).resolvedPlayerProps)), E(() => k(yt, "playerStrategy", a(pe).playerStrategy)), E(() => k(yt, "passageToolbarTools", N())), Pe(Ut), va(xe(Ut, 2), {
10609
10616
  get value() {
10610
10617
  return a(q);
@@ -10644,7 +10651,7 @@ function tf(e, t) {
10644
10651
  }
10645
10652
  return ce(e, Ce), Ke(Z);
10646
10653
  }
10647
- customElements.define("pie-section-player-splitpane", Ye(tf, {
10654
+ customElements.define("pie-section-player-splitpane", Ye(nf, {
10648
10655
  assessmentId: {
10649
10656
  attribute: "assessment-id",
10650
10657
  type: "String"
@@ -10721,12 +10728,12 @@ customElements.define("pie-section-player-splitpane", Ye(tf, {
10721
10728
  "getSectionController",
10722
10729
  "waitForSectionController"
10723
10730
  ]));
10724
- var nf = /* @__PURE__ */ Ie('<div class="pie-section-player-observability-anchor svelte-j50lbm" aria-hidden="true"></div> <!>', 1), rf = {
10731
+ var rf = /* @__PURE__ */ Ie('<div class="pie-section-player-observability-anchor svelte-j50lbm" aria-hidden="true"></div> <!>', 1), of = {
10725
10732
  hash: "svelte-j50lbm",
10726
10733
  code: ":host {display:block;width:100%;height:100%;min-height:0;max-height:100%;overflow:hidden;}.pie-section-player-observability-anchor.svelte-j50lbm {display:none;}"
10727
10734
  };
10728
- function of(e, t) {
10729
- We(t, !0), Qe(e, rf);
10735
+ function sf(e, t) {
10736
+ We(t, !0), Qe(e, of);
10730
10737
  const n = 1100, i = 400, r = 2e3;
10731
10738
  let o = m(t, "assessmentId", 7), s = m(t, "runtime", 7, null), l = m(t, "section", 7, null), c = m(t, "sectionId", 7, ""), d = m(t, "attemptId", 7, ""), f = m(t, "playerType", 7), h = m(t, "player", 7), u = m(t, "lazyInit", 7), g = m(t, "tools", 7), y = m(t, "accessibility", 7), _ = m(t, "coordinator", 7), S = m(t, "createSectionController", 7), v = m(t, "isolation", 7), z = m(t, "env", 7), x = m(t, "iifeBundleHost", 7), L = m(t, "debug", 7, void 0), A = m(t, "showToolbar", 7, "false"), V = m(t, "toolbarPosition", 7, "right"), R = m(t, "enabledTools", 7, ""), P = m(t, "itemToolbarTools", 7, ""), N = m(t, "passageToolbarTools", 7, ""), W = m(t, "policies", 7, void 0), Y = m(t, "narrowLayoutBreakpoint", 7, void 0);
10732
10739
  const U = Mn();
@@ -10952,7 +10959,7 @@ function of(e, t) {
10952
10959
  set narrowLayoutBreakpoint(b = void 0) {
10953
10960
  Y(b), p();
10954
10961
  }
10955
- }, me = nf(), ge = Ue(me);
10962
+ }, me = rf(), ge = Ue(me);
10956
10963
  Ge(ge, (b) => H(q, b), () => a(q));
10957
10964
  var Xe = xe(ge, 2);
10958
10965
  return Ge(qi(Xe, {
@@ -11060,7 +11067,7 @@ function of(e, t) {
11060
11067
  } }
11061
11068
  }), (b) => H(j, b, !0), () => a(j)), ce(e, me), Ke(C);
11062
11069
  }
11063
- customElements.define("pie-section-player-vertical", Ye(of, {
11070
+ customElements.define("pie-section-player-vertical", Ye(sf, {
11064
11071
  assessmentId: {
11065
11072
  attribute: "assessment-id",
11066
11073
  type: "String"
@@ -11137,12 +11144,12 @@ customElements.define("pie-section-player-vertical", Ye(of, {
11137
11144
  "getSectionController",
11138
11145
  "waitForSectionController"
11139
11146
  ]));
11140
- var sf = /* @__PURE__ */ Ie("<pie-section-player-passages-pane></pie-section-player-passages-pane>", 2), af = /* @__PURE__ */ Ie('<div class="pie-section-player-kernel-host-content svelte-18wms89"><!> <pie-section-player-items-pane></pie-section-player-items-pane></div>', 2), lf = /* @__PURE__ */ Ie('<div class="pie-section-player-observability-anchor svelte-18wms89" aria-hidden="true"></div> <!>', 1), cf = {
11147
+ var af = /* @__PURE__ */ Ie("<pie-section-player-passages-pane></pie-section-player-passages-pane>", 2), lf = /* @__PURE__ */ Ie('<div class="pie-section-player-kernel-host-content svelte-18wms89"><!> <pie-section-player-items-pane></pie-section-player-items-pane></div>', 2), cf = /* @__PURE__ */ Ie('<div class="pie-section-player-observability-anchor svelte-18wms89" aria-hidden="true"></div> <!>', 1), df = {
11141
11148
  hash: "svelte-18wms89",
11142
11149
  code: ":host {display:block;width:100%;height:100%;min-height:0;overflow:hidden;}.pie-section-player-kernel-host-content.svelte-18wms89 {display:flex;flex-direction:column;gap:1rem;min-height:0;height:100%;padding:0.5rem;box-sizing:border-box;}.pie-section-player-observability-anchor.svelte-18wms89 {display:none;}"
11143
11150
  };
11144
- function df(e, t) {
11145
- We(t, !0), Qe(e, cf);
11151
+ function uf(e, t) {
11152
+ We(t, !0), Qe(e, df);
11146
11153
  let n = m(t, "assessmentId", 7), i = m(t, "runtime", 7, null), r = m(t, "section", 7, null), o = m(t, "sectionId", 7, ""), s = m(t, "attemptId", 7, ""), l = m(t, "playerType", 7), c = m(t, "player", 7, null), d = m(t, "lazyInit", 7), f = m(t, "tools", 7), h = m(t, "accessibility", 7), u = m(t, "coordinator", 7), g = m(t, "createSectionController", 7), y = m(t, "isolation", 7), _ = m(t, "env", 7), S = m(t, "iifeBundleHost", 7), v = m(t, "debug", 7, void 0), z = m(t, "showToolbar", 7, "false"), x = m(t, "toolbarPosition", 7, "right"), L = m(t, "enabledTools", 7, ""), A = m(t, "itemToolbarTools", 7, ""), V = m(t, "passageToolbarTools", 7, ""), R = m(t, "policies", 7);
11147
11154
  const P = Mn();
11148
11155
  let N = /* @__PURE__ */ $(null), W = /* @__PURE__ */ $(null), Y = /* @__PURE__ */ $(nn({
@@ -11370,7 +11377,7 @@ function df(e, t) {
11370
11377
  set policies(D) {
11371
11378
  R(D), p();
11372
11379
  }
11373
- }, $e = lf(), he = Ue($e);
11380
+ }, $e = cf(), he = Ue($e);
11374
11381
  Ge(he, (D) => H(N, D), () => a(N));
11375
11382
  var He = xe(he, 2);
11376
11383
  return Ge(qi(He, {
@@ -11471,8 +11478,8 @@ function df(e, t) {
11471
11478
  children: kr,
11472
11479
  $$slots: { default: (D, C) => {
11473
11480
  const me = /* @__PURE__ */ M(() => C.items), ge = /* @__PURE__ */ M(() => C.passages), Xe = /* @__PURE__ */ M(() => C.compositionModel), b = /* @__PURE__ */ M(() => C.resolvedPlayerEnv), Q = /* @__PURE__ */ M(() => C.resolvedPlayerAttributes), Z = /* @__PURE__ */ M(() => C.resolvedPlayerProps), Ce = /* @__PURE__ */ M(() => C.playerStrategy), Me = /* @__PURE__ */ M(() => C.preloadedRenderables), zt = /* @__PURE__ */ M(() => C.preloadedRenderablesSignature), F = /* @__PURE__ */ M(() => C.onItemsPaneElementsLoaded), ve = /* @__PURE__ */ M(() => C.onItemsPanePreloadRetry), ze = /* @__PURE__ */ M(() => C.onItemsPanePreloadError);
11474
- var pe = af(), lt = ke(pe), cn = (qe) => {
11475
- var De = sf();
11481
+ var pe = lf(), lt = ke(pe), cn = (qe) => {
11482
+ var De = af();
11476
11483
  E(() => k(De, "passages", a(ge))), E(() => k(De, "elementsLoaded", a(Y).readiness.allLoadingComplete)), E(() => k(De, "resolvedPlayerEnv", a(b))), E(() => k(De, "resolvedPlayerAttributes", a(Q))), E(() => k(De, "resolvedPlayerProps", a(Z))), E(() => k(De, "playerStrategy", a(Ce))), E(() => k(De, "passageToolbarTools", V())), ce(qe, De);
11477
11484
  };
11478
11485
  Pt(lt, (qe) => {
@@ -11489,7 +11496,7 @@ function df(e, t) {
11489
11496
  } }
11490
11497
  }), (D) => H(W, D, !0), () => a(W)), ce(e, $e), Ke(Se);
11491
11498
  }
11492
- customElements.define("pie-section-player-kernel-host", Ye(df, {
11499
+ customElements.define("pie-section-player-kernel-host", Ye(uf, {
11493
11500
  assessmentId: {
11494
11501
  attribute: "assessment-id",
11495
11502
  type: "String"
@@ -11624,7 +11631,7 @@ var Ft = {
11624
11631
  "passage-toolbar",
11625
11632
  "readiness-events",
11626
11633
  "navigation-events"
11627
- ], Cf = {
11634
+ ], Pf = {
11628
11635
  version: 1,
11629
11636
  layout: "splitpane",
11630
11637
  props: ya,
@@ -11633,7 +11640,7 @@ var Ft = {
11633
11640
  events: ba,
11634
11641
  commands: Ia,
11635
11642
  capabilities: Sa
11636
- }, Pf = {
11643
+ }, kf = {
11637
11644
  version: 1,
11638
11645
  layout: "vertical",
11639
11646
  props: ya,
@@ -11646,6 +11653,6 @@ var Ft = {
11646
11653
  export {
11647
11654
  No as DEFAULT_SECTION_PLAYER_POLICIES,
11648
11655
  Ft as SECTION_PLAYER_PUBLIC_EVENTS,
11649
- Cf as SPLITPANE_LAYOUT_CONTRACT,
11650
- Pf as VERTICAL_LAYOUT_CONTRACT
11656
+ Pf as SPLITPANE_LAYOUT_CONTRACT,
11657
+ kf as VERTICAL_LAYOUT_CONTRACT
11651
11658
  };
@@ -1,4 +1,4 @@
1
- import { a, i as r, o as t, r as l, t as o } from "../player-preload-3o1j9PBc.js";
1
+ import { a, i as r, o as t, r as l, t as o } from "../chunks/player-preload-79b07366.js";
2
2
  export {
3
3
  o as buildPreloadSignature,
4
4
  l as getLoaderView,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pie-players/pie-section-player",
3
- "version": "0.3.23",
3
+ "version": "0.3.25",
4
4
  "type": "module",
5
5
  "description": "Web component for rendering QTI 3.0 assessment sections with passages and items",
6
6
  "license": "MIT",
@@ -89,7 +89,7 @@
89
89
  "lint": "biome check ."
90
90
  },
91
91
  "peerDependencies": {
92
- "@pie-players/pie-tool-annotation-toolbar": "0.3.23"
92
+ "@pie-players/pie-tool-annotation-toolbar": "0.3.25"
93
93
  },
94
94
  "peerDependenciesMeta": {
95
95
  "@pie-players/pie-tool-annotation-toolbar": {
@@ -97,14 +97,14 @@
97
97
  }
98
98
  },
99
99
  "dependencies": {
100
- "@pie-players/pie-assessment-toolkit": "0.3.23",
101
- "@pie-players/pie-item-player": "0.3.23",
102
- "@pie-players/pie-context": "0.3.23",
103
- "@pie-players/pie-players-shared": "0.3.23",
104
- "@pie-players/pie-tool-calculator-desmos": "0.3.23",
105
- "@pie-players/pie-tool-text-to-speech": "0.3.23",
106
- "@pie-players/pie-tool-tts-inline": "0.3.23",
107
- "@pie-players/pie-toolbars": "0.3.23"
100
+ "@pie-players/pie-assessment-toolkit": "0.3.25",
101
+ "@pie-players/pie-item-player": "0.3.25",
102
+ "@pie-players/pie-context": "0.3.25",
103
+ "@pie-players/pie-players-shared": "0.3.25",
104
+ "@pie-players/pie-tool-calculator-desmos": "0.3.25",
105
+ "@pie-players/pie-tool-text-to-speech": "0.3.25",
106
+ "@pie-players/pie-tool-tts-inline": "0.3.25",
107
+ "@pie-players/pie-toolbars": "0.3.25"
108
108
  },
109
109
  "devDependencies": {
110
110
  "@axe-core/playwright": "^4.11.1",