@1024pix/epreuves-components 2.3.0 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/ButtonTooltip.ce-CjtFa5aM.js +44 -0
  2. package/dist/{LLMMessage.ce-DOzBmUDF.js → LLMMessage.ce-Cjpb0CiE.js} +7 -7
  3. package/dist/{Loading.ce-CiVWBT3g.js → Loading.ce-1tk4uU9c.js} +1 -1
  4. package/dist/NavigationButton.ce-CxI2QW8z.js +59 -0
  5. package/dist/{Retry-CuUMOAZi.js → Retry-CY90VQJl.js} +1 -1
  6. package/dist/{_plugin-vue_export-helper-D7ghZaw4.js → _plugin-vue_export-helper-DOoVeFcJ.js} +26 -26
  7. package/dist/components/calcul-impact.ce.js.js +11 -11
  8. package/dist/components/capacity-calculation.ce.js.js +31 -31
  9. package/dist/components/clickable-image.ce.js.js +10 -10
  10. package/dist/components/complete-phrase.ce.js.js +20 -20
  11. package/dist/components/flip-cards.ce.js.js +11 -11
  12. package/dist/components/image-quiz.ce.js.js +2 -2
  13. package/dist/components/image-quizzes.ce.js.js +2 -2
  14. package/dist/components/llm-compare-messages.ce.js.js +3 -3
  15. package/dist/components/llm-messages.ce.js.js +3 -3
  16. package/dist/components/llm-prompt-select.ce.js.js +4 -4
  17. package/dist/components/message-conversation.ce.js.js +21 -21
  18. package/dist/components/mobile-shell.ce.js.js +8 -5
  19. package/dist/components/phishing-message.ce.js.js +261 -0
  20. package/dist/components/phishing-notification.ce.js.js +355 -0
  21. package/dist/components/pix-article.ce.js.js +5 -5
  22. package/dist/components/pix-carousel.ce.js.js +19 -18
  23. package/dist/components/pix-cursor.ce.js.js +28 -28
  24. package/dist/components/qcm-deepfake.ce.js.js +19 -19
  25. package/dist/components/select-conversation.ce.js.js +104 -0
  26. package/dist/{i18n-CGAadjAA.js → i18n-ecSMtuba.js} +1 -1
  27. package/dist/{image-quiz.ce-3HDl6Z67.js → image-quiz.ce-CpI6lZ9m.js} +15 -15
  28. package/dist/index-4XnHmtKv.js +11905 -0
  29. package/dist/index.js +4 -1
  30. package/dist/metadata.js +44 -32
  31. package/dist/schema.js +63 -24
  32. package/dist/{shadow-dom-CFAQERh6.js → shadow-dom-DZbyKUWP.js} +1 -1
  33. package/dist/temporal.utils-B23shw3k.js +4958 -0
  34. package/package.json +1 -1
  35. package/dist/NavigationButton.ce-DF5ScHc4.js +0 -98
@@ -1,7 +1,7 @@
1
- import { d as E, r as k, L as y, k as m, E as L, c as a, o as i, a as s, l as S, x as d, A as u, F as f, b, O as B, D as g, y as C, N as H, v as D, q as F, _ as P, f as q } from "../_plugin-vue_export-helper-D7ghZaw4.js";
2
- import { a as G, i as w, b as R } from "../i18n-CGAadjAA.js";
3
- import { N as j } from "../NavigationButton.ce-DF5ScHc4.js";
4
- const U = {}, J = {}, K = {}, Q = {
1
+ import { d as E, r as y, g as k, y as m, G as S, c as a, o as i, a as s, z as A, h as d, t as u, F as f, b, O as H, E as g, n as C, K as L, B as F, i as P, _ as D, f as G } from "../_plugin-vue_export-helper-DOoVeFcJ.js";
2
+ import { a as K, i as w, b as R } from "../i18n-ecSMtuba.js";
3
+ import { N as j } from "../NavigationButton.ce-CxI2QW8z.js";
4
+ const U = {}, q = {}, J = {}, Q = {
5
5
  "pix-cursor": { confirm: "Valider", next: "Suivant", previous: "Précédent", selectAnOption: "Sélectionnez une option", youHaveChosen: "Vous avez choisi : { choice }" }
6
6
  }, W = {}, X = {}, Y = ["for"], Z = {
7
7
  class: "visible-options",
@@ -18,17 +18,17 @@ const U = {}, J = {}, K = {}, Q = {
18
18
  options: { type: Array }
19
19
  },
20
20
  setup(n, { expose: M }) {
21
- const p = n, r = k(Math.floor(p.options.length / 2)), o = k(!1), v = y(), x = y(), N = m(() => r.value === p.options.length - 1), I = m(() => r.value === 0), c = m(() => Number(r.value));
22
- function O() {
21
+ const p = n, r = y(Math.floor(p.options.length / 2)), o = y(!1), v = k(), h = k(), I = m(() => r.value === p.options.length - 1), N = m(() => r.value === 0), c = m(() => Number(r.value));
22
+ function z() {
23
23
  o.value = !0;
24
24
  }
25
- function $() {
25
+ function O() {
26
26
  o.value || (r.value = Math.max(0, c.value - 1));
27
27
  }
28
- function z() {
28
+ function $() {
29
29
  o.value || (r.value = Math.min(p.options.length - 1, c.value + 1));
30
30
  }
31
- function _(l) {
31
+ function x(l) {
32
32
  o.value || (r.value = l);
33
33
  }
34
34
  function T() {
@@ -36,11 +36,11 @@ const U = {}, J = {}, K = {}, Q = {
36
36
  }
37
37
  return M({
38
38
  reset: T
39
- }), (l, h) => {
40
- const V = L("i18next");
39
+ }), (l, _) => {
40
+ const V = S("i18next");
41
41
  return i(), a("form", {
42
42
  class: "pix-cursor",
43
- onSubmit: F(O, ["prevent"])
43
+ onSubmit: P(z, ["prevent"])
44
44
  }, [
45
45
  s("div", null, [
46
46
  s("label", {
@@ -49,33 +49,33 @@ const U = {}, J = {}, K = {}, Q = {
49
49
  }, u(l.$t("pix-cursor.selectAnOption")), 9, Y),
50
50
  s("ul", Z, [
51
51
  (i(!0), a(f, null, b(n.options, (t, e) => (i(), a("li", {
52
- onClick: (A) => _(e),
52
+ onClick: (B) => x(e),
53
53
  key: e
54
54
  }, u(t.label), 9, ee))), 128))
55
55
  ]),
56
- s("datalist", { id: d(x) }, [
56
+ s("datalist", { id: d(h) }, [
57
57
  (i(!0), a(f, null, b(n.options, (t, e) => (i(), a("option", {
58
- onClick: (A) => _(e),
58
+ onClick: (B) => x(e),
59
59
  key: e,
60
60
  value: e,
61
61
  label: t.label
62
62
  }, u(t.label), 9, te))), 128))
63
63
  ], 8, oe),
64
- S(s("input", {
65
- "onUpdate:modelValue": h[0] || (h[0] = (t) => r.value = t),
64
+ A(s("input", {
65
+ "onUpdate:modelValue": _[0] || (_[0] = (t) => r.value = t),
66
66
  id: d(v),
67
67
  type: "range",
68
- list: d(x),
68
+ list: d(h),
69
69
  min: "0",
70
70
  max: n.options.length - 1,
71
71
  disabled: o.value
72
72
  }, null, 8, ne), [
73
- [B, r.value]
73
+ [H, r.value]
74
74
  ]),
75
75
  s("div", ae, [
76
76
  g(j, {
77
- onClick: $,
78
- disabled: o.value || I.value,
77
+ onClick: O,
78
+ disabled: o.value || N.value,
79
79
  label: l.$t("pix-cursor.previous"),
80
80
  "aria-controls": d(v),
81
81
  "aria-disabled": o.value,
@@ -94,7 +94,7 @@ const U = {}, J = {}, K = {}, Q = {
94
94
  g(V, {
95
95
  translation: l.$t("pix-cursor.youHaveChosen")
96
96
  }, {
97
- choice: H(() => [
97
+ choice: L(() => [
98
98
  s("span", se, u(t.label), 1)
99
99
  ]),
100
100
  _: 2
@@ -102,8 +102,8 @@ const U = {}, J = {}, K = {}, Q = {
102
102
  ], 10, re))), 128))
103
103
  ]),
104
104
  g(j, {
105
- onClick: z,
106
- disabled: o.value || N.value,
105
+ onClick: $,
106
+ disabled: o.value || I.value,
107
107
  label: l.$t("pix-cursor.next"),
108
108
  "aria-controls": d(v),
109
109
  "aria-disabled": o.value,
@@ -114,7 +114,7 @@ const U = {}, J = {}, K = {}, Q = {
114
114
  ])
115
115
  ]),
116
116
  s("div", le, [
117
- o.value ? D("", !0) : (i(), a("button", ce, u(l.$t("pix-cursor.confirm")), 1)),
117
+ o.value ? F("", !0) : (i(), a("button", ce, u(l.$t("pix-cursor.confirm")), 1)),
118
118
  (i(!0), a(f, null, b(n.options, (t, e) => (i(), a("p", {
119
119
  innerHTML: t.feedback.text,
120
120
  key: e,
@@ -128,9 +128,9 @@ const U = {}, J = {}, K = {}, Q = {
128
128
  ], 32);
129
129
  };
130
130
  }
131
- }), pe = "[data-v-58e704c5]{--pix-neutral-800: #253858;font-family:Nunito,sans-serif;color:var(--pix-neutral-800)}.pix-cursor[data-v-58e704c5]{display:flex;flex-direction:column;justify-content:center;margin:auto;padding:2rem;gap:1rem;overflow:hidden}.pix-cursor p[data-v-58e704c5]{text-align:center;font-size:1.1rem}.pix-cursor .chosen-option[data-v-58e704c5]{font-weight:700}.pix-cursor .visible-options[data-v-58e704c5]{display:flex;justify-content:space-between;margin:0;padding:0}.pix-cursor .visible-options li[data-v-58e704c5]{cursor:pointer;list-style:none}.pix-cursor input[data-v-58e704c5]{width:100%}.pix-cursor .confirm[data-v-58e704c5]{padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:600;font-size:1.25rem;letter-spacing:1.1;width:fit-content;margin:auto;border:none;color:#fff;background:#4075ff;grid-row:1;grid-column:1}.pix-cursor .confirm[data-v-58e704c5]:hover{background:#355ac4;transition:background ease .1s}.pix-cursor .navigation-container[data-v-58e704c5]{display:flex;justify-content:center;align-items:center;gap:1rem}.pix-cursor .navigation-container .chosen-text-container[data-v-58e704c5]{display:grid}.pix-cursor .navigation-container .chosen-text-container p[data-v-58e704c5]{grid-row:1;grid-column:1}.pix-cursor .navigation-container .chosen-text-container p.hidden[data-v-58e704c5]{transform:translate(100vw)}.pix-cursor .footer[data-v-58e704c5]{display:grid;grid-template-columns:auto;align-items:center;justify-content:center}.pix-cursor .feedback[data-v-58e704c5]{padding:1rem 1.2rem;border-left:solid 4px;border-radius:8px;grid-column:1;grid-row:1;text-align:start;margin:0}.pix-cursor .feedback.hidden[data-v-58e704c5]{visibility:hidden;transform:translate(100vw)}.pix-cursor .feedback.good[data-v-58e704c5]{background:#e8f5e9;border-left-color:#4caf51}.pix-cursor .feedback.bad[data-v-58e704c5]{background:#ffebee;border-left-color:#f44337}.pix-cursor .feedback.neutral[data-v-58e704c5]{background:#e8f6ff;border-left-color:#464ee0}.pix-cursor .feedback.close[data-v-58e704c5]{background:#fff8e1;border-left-color:#ffc108}", ve = /* @__PURE__ */ P(ue, [["styles", [pe]], ["__scopeId", "data-v-58e704c5"]]);
132
- G(/* @__PURE__ */ Object.assign({ "./locales/en.json": U, "./locales/es-419.json": J, "./locales/es.json": K, "./locales/fr.json": Q, "./locales/it.json": W, "./locales/nl.json": X })).catch((n) => console.error(n));
133
- window.customElements.define("pix-cursor", q(ve, {
131
+ }), pe = "[data-v-58e704c5]{--pix-neutral-800: #253858;font-family:Nunito,sans-serif;color:var(--pix-neutral-800)}.pix-cursor[data-v-58e704c5]{display:flex;flex-direction:column;justify-content:center;margin:auto;padding:2rem;gap:1rem;overflow:hidden}.pix-cursor p[data-v-58e704c5]{text-align:center;font-size:1.1rem}.pix-cursor .chosen-option[data-v-58e704c5]{font-weight:700}.pix-cursor .visible-options[data-v-58e704c5]{display:flex;justify-content:space-between;margin:0;padding:0}.pix-cursor .visible-options li[data-v-58e704c5]{cursor:pointer;list-style:none}.pix-cursor input[data-v-58e704c5]{width:100%}.pix-cursor .confirm[data-v-58e704c5]{padding:.75rem 1.5rem;border-radius:8px;cursor:pointer;font-weight:600;font-size:1.25rem;letter-spacing:1.1;width:fit-content;margin:auto;border:none;color:#fff;background:#4075ff;grid-row:1;grid-column:1}.pix-cursor .confirm[data-v-58e704c5]:hover{background:#355ac4;transition:background ease .1s}.pix-cursor .navigation-container[data-v-58e704c5]{display:flex;justify-content:center;align-items:center;gap:1rem}.pix-cursor .navigation-container .chosen-text-container[data-v-58e704c5]{display:grid}.pix-cursor .navigation-container .chosen-text-container p[data-v-58e704c5]{grid-row:1;grid-column:1}.pix-cursor .navigation-container .chosen-text-container p.hidden[data-v-58e704c5]{transform:translate(100vw)}.pix-cursor .footer[data-v-58e704c5]{display:grid;grid-template-columns:auto;align-items:center;justify-content:center}.pix-cursor .feedback[data-v-58e704c5]{padding:1rem 1.2rem;border-left:solid 4px;border-radius:8px;grid-column:1;grid-row:1;text-align:start;margin:0}.pix-cursor .feedback.hidden[data-v-58e704c5]{visibility:hidden;transform:translate(100vw)}.pix-cursor .feedback.good[data-v-58e704c5]{background:#e8f5e9;border-left-color:#4caf51}.pix-cursor .feedback.bad[data-v-58e704c5]{background:#ffebee;border-left-color:#f44337}.pix-cursor .feedback.neutral[data-v-58e704c5]{background:#e8f6ff;border-left-color:#464ee0}.pix-cursor .feedback.close[data-v-58e704c5]{background:#fff8e1;border-left-color:#ffc108}", ve = /* @__PURE__ */ D(ue, [["styles", [pe]], ["__scopeId", "data-v-58e704c5"]]);
132
+ K(/* @__PURE__ */ Object.assign({ "./locales/en.json": U, "./locales/es-419.json": q, "./locales/es.json": J, "./locales/fr.json": Q, "./locales/it.json": W, "./locales/nl.json": X })).catch((n) => console.error(n));
133
+ window.customElements.define("pix-cursor", G(ve, {
134
134
  configureApp(n) {
135
135
  w.changeLanguage(document?.documentElement?.lang || navigator.language), n.use(R, { i18next: w });
136
136
  }
@@ -1,6 +1,6 @@
1
- import { d as y, k as b, c as i, o, a as s, v, A as c, y as w, _, P as A, Q as E, r as x, l as G, G as V, R as O, C as P, g as M, F as $, b as C, e as Q, x as F, D as k, S as U, N as W, q as H, f as J } from "../_plugin-vue_export-helper-D7ghZaw4.js";
2
- import { i as a, a as K, b as X } from "../i18n-CGAadjAA.js";
3
- import { R as Y } from "../Retry-CuUMOAZi.js";
1
+ import { d as y, y as b, c as i, o, a as s, B as v, t as c, n as w, _, P as E, Q as A, r as x, z as O, H as V, R as P, j as G, q as M, F as $, b as C, e as Q, h as F, E as k, S as U, K as H, i as K, f as W } from "../_plugin-vue_export-helper-DOoVeFcJ.js";
2
+ import { i as a, a as J, b as X } from "../i18n-ecSMtuba.js";
3
+ import { R as Y } from "../Retry-CY90VQJl.js";
4
4
  import { u as Z } from "../normalize-props-AlmAfi_u.js";
5
5
  const ee = {}, te = {}, ae = {}, ne = {
6
6
  "qcm-deepfake": { options: ["une photo de sa chanteuse préférée", "une chanson de sa chanteuse préférée", "les partitions de la chanson", "une photo de Caroline", "un enregistrement de Caroline qui dit quelques phrases"], iaResultInfo: "Retrouvez ici les résultats du logiciel d'IA générative :", iaResultGenerated: "Résultat généré par le logiciel d'IA générative", in: "Entrée", out: "Sortie", waiting: "Logiciel d'IA générative", selectThreeElements: "Sélectionnez 3 éléments pour générer la vidéo de Caroline :", generateVideo: "Générer la vidéo !", loading: "Chargement…", restart: "Recommencer", element_one: "élément", element_other: "éléments", generateVideoInfo_one: "Plus que {{count}} élément", generateVideoInfo_other: "Plus que {{count}} éléments", restartInfo: "Essayez avec de nouveaux éléments", success: { title: "Bien joué !", description: "C'est bien la vidéo de Caroline. Vous avez utilisé les bons éléments." }, fail: { title: "Pas exactement…", description: "Le résultat ne convient pas. Recommencez en changeant les éléments en entrée." } }
@@ -55,7 +55,7 @@ const ee = {}, te = {}, ae = {}, ne = {
55
55
  }
56
56
  }), ge = ".right-container[data-v-2a82aa38]{grid-row:1/1;grid-column:1/1}.right-container[aria-hidden=true][data-v-2a82aa38]{visibility:hidden}img[data-v-2a82aa38]{margin-block:.5rem}.subtitle[data-v-2a82aa38]{font-size:1.25rem;font-weight:700;text-align:center}.description[data-v-2a82aa38]{font-weight:700;margin-top:0;margin-bottom:0}img[data-v-2a82aa38]{width:200px;height:auto}.answer-block[data-v-2a82aa38]{background:#e8e8e8;margin-inline:1rem;padding:.5rem;border-radius:10px}.answer-block p[data-v-2a82aa38]{margin-bottom:0}.answer-block.success[data-v-2a82aa38]{background:#e8f3ef}.answer-block.fail[data-v-2a82aa38]{border-radius:16px;background:#fbecec}", pe = /* @__PURE__ */ _(fe, [["styles", [ge]], ["__scopeId", "data-v-2a82aa38"]]), me = ["aria-disabled"], ve = /* @__PURE__ */ y({
57
57
  __name: "Option.ce",
58
- props: /* @__PURE__ */ A({
58
+ props: /* @__PURE__ */ E({
59
59
  option: { type: String },
60
60
  value: { type: Number },
61
61
  readonly: { type: Boolean }
@@ -65,7 +65,7 @@ const ee = {}, te = {}, ae = {}, ne = {
65
65
  }),
66
66
  emits: ["update:modelValue"],
67
67
  setup(e, { expose: u }) {
68
- const n = E(e, "modelValue"), l = x(!1), t = b(() => n.value.length === 3 && !l.value || e.readonly);
68
+ const n = A(e, "modelValue"), l = x(!1), t = b(() => n.value.length === 3 && !l.value || e.readonly);
69
69
  function h(p) {
70
70
  if (t.value) {
71
71
  p.preventDefault();
@@ -78,14 +78,14 @@ const ee = {}, te = {}, ae = {}, ne = {
78
78
  }), (p, m) => (o(), i("label", {
79
79
  class: w({ selected: l.value, disabled: t.value })
80
80
  }, [
81
- G(s("input", {
81
+ O(s("input", {
82
82
  type: "checkbox",
83
83
  name: "options",
84
84
  onClick: h,
85
85
  "aria-disabled": t.value,
86
86
  "onUpdate:modelValue": m[0] || (m[0] = (g) => l.value = g)
87
87
  }, null, 8, me), [
88
- [O, l.value]
88
+ [P, l.value]
89
89
  ]),
90
90
  V(c(e.option), 1)
91
91
  ], 2));
@@ -100,7 +100,7 @@ const ee = {}, te = {}, ae = {}, ne = {
100
100
  return (u, n) => (o(), i("button", {
101
101
  class: w(["epreuve-button", e.state])
102
102
  }, [
103
- P(u.$slots, "icon"),
103
+ G(u.$slots, "icon"),
104
104
  V(" " + c(e.label), 1)
105
105
  ], 2));
106
106
  }
@@ -123,7 +123,7 @@ const ee = {}, te = {}, ae = {}, ne = {
123
123
  searchDelay: { default: 3e3, type: Number }
124
124
  },
125
125
  setup(e, { expose: u }) {
126
- const n = x([]), l = [2, 4, 5], t = x("info"), h = M("optionsNode"), p = a.t("qcm-deepfake.options", { returnObjects: !0 }), m = ["👩‍🎤", "🎧", "🎶", "👩", "🎙️"], g = p.map((d, r) => `${m[r]} ${d}`), D = g.filter((d, r) => l.includes(r + 1)), T = [
126
+ const n = x([]), l = [2, 4, 5], t = x("info"), h = M("optionsNode"), p = a.t("qcm-deepfake.options", { returnObjects: !0 }), m = ["👩‍🎤", "🎧", "🎶", "👩", "🎙️"], g = p.map((d, r) => `${m[r]} ${d}`), z = g.filter((d, r) => l.includes(r + 1)), B = [
127
127
  {
128
128
  type: "info",
129
129
  image: e.infoImage
@@ -146,7 +146,7 @@ const ee = {}, te = {}, ae = {}, ne = {
146
146
  type: "search",
147
147
  image: e.searchImage
148
148
  }
149
- ], S = b(() => n.value.length !== 3 || t.value === "search"), z = b(() => t.value === "search" ? a.t("qcm-deepfake.loading") : t.value === "info" ? a.t("qcm-deepfake.generateVideo") : a.t("qcm-deepfake.restart")), B = b(() => t.value === "info" ? a.t("qcm-deepfake.generateVideoInfo", { count: l.length - n.value.length }) : t.value === "fail" ? a.t("qcm-deepfake.restartInfo") : "");
149
+ ], S = b(() => n.value.length !== 3 || t.value === "search"), D = b(() => t.value === "search" ? a.t("qcm-deepfake.loading") : t.value === "info" ? a.t("qcm-deepfake.generateVideo") : a.t("qcm-deepfake.restart")), T = b(() => t.value === "info" ? a.t("qcm-deepfake.generateVideoInfo", { count: l.length - n.value.length }) : t.value === "fail" ? a.t("qcm-deepfake.restartInfo") : "");
150
150
  function L() {
151
151
  return S.value ? !1 : t.value === "info" ? R() : q();
152
152
  }
@@ -156,7 +156,7 @@ const ee = {}, te = {}, ae = {}, ne = {
156
156
  }), n.value = [], t.value = "info";
157
157
  }
158
158
  async function R() {
159
- const d = n.value.every((r) => D.includes(r.trim()));
159
+ const d = n.value.every((r) => z.includes(r.trim()));
160
160
  t.value = "search", await new Promise((r) => setTimeout(r, e.searchDelay)), d ? t.value = "success" : t.value = "fail";
161
161
  }
162
162
  return u({
@@ -185,25 +185,25 @@ const ee = {}, te = {}, ae = {}, ne = {
185
185
  ]),
186
186
  s("div", Ie, [
187
187
  k(ke, {
188
- onClick: H(L, ["prevent"]),
188
+ onClick: K(L, ["prevent"]),
189
189
  "aria-disabled": S.value,
190
- label: z.value,
190
+ label: D.value,
191
191
  state: t.value === "info" ? "primary" : "warning",
192
192
  "aria-describedby": ["success", "search"].includes(t.value) ? void 0 : "optionsSelectedInfo"
193
193
  }, U({ _: 2 }, [
194
194
  t.value === "success" || t.value === "fail" ? {
195
195
  name: "icon",
196
- fn: W(() => [
196
+ fn: H(() => [
197
197
  k(Y)
198
198
  ]),
199
199
  key: "0"
200
200
  } : void 0
201
201
  ]), 1032, ["aria-disabled", "label", "state", "aria-describedby"]),
202
- ["success", "search"].includes(t.value) ? v("", !0) : (o(), i("p", $e, c(B.value), 1))
202
+ ["success", "search"].includes(t.value) ? v("", !0) : (o(), i("p", $e, c(T.value), 1))
203
203
  ])
204
204
  ]),
205
205
  s("div", Ce, [
206
- (o(), i($, null, C(T, (f) => k(pe, {
206
+ (o(), i($, null, C(B, (f) => k(pe, {
207
207
  key: f,
208
208
  "title-level": e.titleLevel,
209
209
  type: f.type,
@@ -216,9 +216,9 @@ const ee = {}, te = {}, ae = {}, ne = {
216
216
  ])
217
217
  ]));
218
218
  }
219
- }), Ne = "legend,label,p,div[role=heading]{font-family:Nunito,Roboto,sans-serif;color:#253858}", De = ".container[data-v-66f8d52f]{display:flex;gap:.8rem}.title[data-v-66f8d52f]{font-size:1.75rem;font-weight:700;text-align:center;margin-bottom:16px}.left-side[data-v-66f8d52f]{min-width:60%;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;border-radius:10px}.left-side__lower-legend[data-v-66f8d52f]{font-size:.875rem;color:#5e6c84}.left-side__subtitle[data-v-66f8d52f]{font-size:1.25rem;font-weight:700;text-align:center}.left-side__options[data-v-66f8d52f]{display:flex;border:solid 1px #5e6c84;padding:.6rem;border-radius:5px;gap:.5rem}.left-side__description[data-v-66f8d52f]{font-weight:700}.left-side__button[data-v-66f8d52f]{display:flex;gap:.5rem;align-items:center;border:none;padding:.6rem 1.5rem;background:#ffcb33;color:#000;border-radius:25px;font-weight:700;cursor:pointer}.left-side__button.generate[data-v-66f8d52f]{background:#613fdd;color:#fff}.left-side__button[aria-disabled=true][data-v-66f8d52f]{cursor:not-allowed;background:#d3d3d3}.left-side__action[data-v-66f8d52f]{display:flex;flex-direction:column;align-items:center;text-align:center}.right-side[data-v-66f8d52f]{display:grid;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;text-align:center;border-radius:10px}fieldset[data-v-66f8d52f]{border:none;display:flex;flex-direction:column;gap:.8rem}@media(max-width:770px){.container[data-v-66f8d52f]{flex-wrap:wrap}.left-side[data-v-66f8d52f],.right-side[data-v-66f8d52f]{width:100%}}", Te = /* @__PURE__ */ _(Ve, [["styles", [Ne, De]], ["__scopeId", "data-v-66f8d52f"]]);
220
- K(/* @__PURE__ */ Object.assign({ "./locales/en.json": ee, "./locales/es-419.json": te, "./locales/es.json": ae, "./locales/fr.json": ne, "./locales/it.json": oe, "./locales/nl.json": ie })).catch((e) => console.error(e));
221
- const N = J(Te, {
219
+ }), Ne = "legend,label,p,div[role=heading]{font-family:Nunito,Roboto,sans-serif;color:#253858}", ze = ".container[data-v-66f8d52f]{display:flex;gap:.8rem}.title[data-v-66f8d52f]{font-size:1.75rem;font-weight:700;text-align:center;margin-bottom:16px}.left-side[data-v-66f8d52f]{min-width:60%;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;border-radius:10px}.left-side__lower-legend[data-v-66f8d52f]{font-size:.875rem;color:#5e6c84}.left-side__subtitle[data-v-66f8d52f]{font-size:1.25rem;font-weight:700;text-align:center}.left-side__options[data-v-66f8d52f]{display:flex;border:solid 1px #5e6c84;padding:.6rem;border-radius:5px;gap:.5rem}.left-side__description[data-v-66f8d52f]{font-weight:700}.left-side__button[data-v-66f8d52f]{display:flex;gap:.5rem;align-items:center;border:none;padding:.6rem 1.5rem;background:#ffcb33;color:#000;border-radius:25px;font-weight:700;cursor:pointer}.left-side__button.generate[data-v-66f8d52f]{background:#613fdd;color:#fff}.left-side__button[aria-disabled=true][data-v-66f8d52f]{cursor:not-allowed;background:#d3d3d3}.left-side__action[data-v-66f8d52f]{display:flex;flex-direction:column;align-items:center;text-align:center}.right-side[data-v-66f8d52f]{display:grid;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;text-align:center;border-radius:10px}fieldset[data-v-66f8d52f]{border:none;display:flex;flex-direction:column;gap:.8rem}@media(max-width:770px){.container[data-v-66f8d52f]{flex-wrap:wrap}.left-side[data-v-66f8d52f],.right-side[data-v-66f8d52f]{width:100%}}", Be = /* @__PURE__ */ _(Ve, [["styles", [Ne, ze]], ["__scopeId", "data-v-66f8d52f"]]);
220
+ J(/* @__PURE__ */ Object.assign({ "./locales/en.json": ee, "./locales/es-419.json": te, "./locales/es.json": ae, "./locales/fr.json": ne, "./locales/it.json": oe, "./locales/nl.json": ie })).catch((e) => console.error(e));
221
+ const N = W(Be, {
222
222
  configureApp(e) {
223
223
  a.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(X, { i18next: a });
224
224
  }
@@ -0,0 +1,104 @@
1
+ import { d as w, r as g, y as u, c as n, o as i, a as e, t as a, h as r, n as k, H as z, F as p, b as M, B as D, _ as T, f as C } from "../_plugin-vue_export-helper-DOoVeFcJ.js";
2
+ import { a as L, i as f, b as S } from "../i18n-ecSMtuba.js";
3
+ import { u as F } from "../normalize-props-AlmAfi_u.js";
4
+ import { r as $, q as B, t as h } from "../temporal.utils-B23shw3k.js";
5
+ const I = {
6
+ "select-conversation": { "select-response-title": "Sélectionnez le message que {{username}} devrait envoyer :", "message-date": "{{messageDay, relativetime(numeric: auto)}} · {{messageTime, datetime(timeStyle: short)}}", "incoming-message-sr": "Message de {{username}} reçu {{messageDay, relativetime(numeric: auto)}} à {{messageTime, datetime(timeStyle: short)}}", "outgoing-message-sr": "Message envoyé par {{username}} {{messageDay, relativetime(numeric: auto)}} à {{messageTime, datetime(timeStyle: short)}}", "good-idea": "Bonne idée", "bad-idea": "Mauvaise idée" }
7
+ }, N = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20448%20512'%3e%3c!--!Font%20Awesome%20Free%20v7.1.0%20by%20@fontawesome%20-%20https://fontawesome.com%20License%20-%20https://fontawesome.com/license/free%20Copyright%202025%20Fonticons,%20Inc.--%3e%3cpath%20d='M434.8%2070.1c14.3%2010.4%2017.5%2030.4%207.1%2044.7l-256%20352c-5.5%207.6-14%2012.3-23.4%2013.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8%200-45.3s32.8-12.5%2045.3%200l101.5%20101.5%20234-321.7c10.4-14.3%2030.4-17.5%2044.7-7.1z'/%3e%3c/svg%3e", q = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20512'%3e%3c!--!Font%20Awesome%20Free%20v7.1.0%20by%20@fontawesome%20-%20https://fontawesome.com%20License%20-%20https://fontawesome.com/license/free%20Copyright%202025%20Fonticons,%20Inc.--%3e%3cpath%20d='M256%2048a208%20208%200%201%201%200%20416%20208%20208%200%201%201%200-416zm0%20464a256%20256%200%201%200%200-512%20256%20256%200%201%200%200%20512zM167%20167c-9.4%209.4-9.4%2024.6%200%2033.9l55%2055-55%2055c-9.4%209.4-9.4%2024.6%200%2033.9s24.6%209.4%2033.9%200l55-55%2055%2055c9.4%209.4%2024.6%209.4%2033.9%200s9.4-24.6%200-33.9l-55-55%2055-55c9.4-9.4%209.4-24.6%200-33.9s-24.6-9.4-33.9%200l-55%2055-55-55c-9.4-9.4-24.6-9.4-33.9%200z'/%3e%3c/svg%3e", E = { class: "messages" }, R = { class: "message" }, j = {
8
+ class: "message__username",
9
+ "aria-hidden": "true"
10
+ }, A = { class: "sr-only" }, H = { class: "message__content" }, O = {
11
+ class: "message__date",
12
+ "aria-hidden": "true"
13
+ }, V = ["aria-hidden"], G = {
14
+ class: "message__username",
15
+ "aria-hidden": "true"
16
+ }, P = { class: "sr-only" }, X = { class: "message__content-container" }, J = { class: "message__content-title" }, K = ["src"], Q = { class: "message__content" }, U = {
17
+ class: "message__date",
18
+ "aria-hidden": "true"
19
+ }, W = { class: "response-select" }, Y = ["aria-level"], Z = { class: "response-select__choices" }, ee = ["aria-disabled", "onClick"], se = { "aria-live": "polite" }, te = ["innerHTML"], ae = /* @__PURE__ */ w({
20
+ __name: "SelectConversation.ce",
21
+ props: {
22
+ titleLevel: { default: 2, type: Number },
23
+ incomingMessage: { type: Object },
24
+ username: { type: String },
25
+ responseChoices: { type: Array }
26
+ },
27
+ setup(s, { expose: v }) {
28
+ const d = g(s.responseChoices.map((t) => ({ ...t, selected: !1 }))), o = g(), c = u(() => $(s.incomingMessage.time)), m = u(() => c.value.day - B.Now.plainDateTimeISO().day);
29
+ function b(t) {
30
+ t.selected || (t.selected = !0, o.value = t);
31
+ }
32
+ function x() {
33
+ d.value.forEach((t) => {
34
+ t.selected = !1;
35
+ }), o.value = void 0;
36
+ }
37
+ return v({
38
+ reset: x
39
+ }), (t, ie) => (i(), n(p, null, [
40
+ e("div", E, [
41
+ e("div", R, [
42
+ e("p", j, a(s.incomingMessage.username), 1),
43
+ e("p", A, a(t.$t("select-conversation.incoming-message-sr", { username: s.incomingMessage.username, messageDay: m.value, messageTime: r(h)(c.value) })), 1),
44
+ e("p", H, a(s.incomingMessage.content), 1),
45
+ e("p", O, a(t.$t("select-conversation.message-date", { messageDay: m.value, messageTime: r(h)(c.value) })), 1)
46
+ ]),
47
+ e("div", {
48
+ class: k(["message message--outgoing", { "message--hidden": !o.value }]),
49
+ "aria-hidden": !o.value,
50
+ "aria-live": "polite"
51
+ }, [
52
+ e("p", G, a(s.username), 1),
53
+ e("p", P, a(t.$t("select-conversation.outgoing-message-sr", { username: s.username, messageDay: 0, messageTime: /* @__PURE__ */ new Date() })), 1),
54
+ e("div", X, [
55
+ e("p", J, [
56
+ e("img", {
57
+ src: o.value?.goodIdea ? r(N) : r(q),
58
+ alt: "",
59
+ width: "16"
60
+ }, null, 8, K),
61
+ z(" " + a(t.$t(`select-conversation.${o.value?.goodIdea ? "good-idea" : "bad-idea"}`)), 1)
62
+ ]),
63
+ e("p", Q, a(o.value?.content ?? "no content"), 1)
64
+ ]),
65
+ e("p", U, a(t.$t("select-conversation.message-date", { messageDay: 0, messageTime: /* @__PURE__ */ new Date() })), 1)
66
+ ], 10, V)
67
+ ]),
68
+ e("div", W, [
69
+ e("div", {
70
+ role: "heading",
71
+ "aria-level": s.titleLevel,
72
+ class: "title"
73
+ }, a(t.$t("select-conversation.select-response-title", { username: s.username })), 9, Y),
74
+ e("div", Z, [
75
+ (i(!0), n(p, null, M(d.value, (l, y) => (i(), n("button", {
76
+ key: y,
77
+ type: "button",
78
+ class: "response-select__choice",
79
+ "aria-disabled": l.selected,
80
+ onClick: (re) => b(l)
81
+ }, a(l.content), 9, ee))), 128))
82
+ ]),
83
+ e("div", se, [
84
+ o.value ? (i(), n("p", {
85
+ key: 0,
86
+ class: "response-select__feedback",
87
+ innerHTML: o.value.feedback
88
+ }, null, 8, te)) : D("", !0)
89
+ ])
90
+ ])
91
+ ], 64));
92
+ }
93
+ }), oe = "html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}*{font-family:Roboto,sans-serif;color:#122647;line-height:normal}.messages{display:flex;flex-direction:column;gap:8px;padding:16px}.message{display:flex;flex-direction:column;align-items:start;gap:8px;margin-left:0;margin-right:16px}.message__username,.message__date{color:#5e6c84;font-size:.75rem;font-weight:400}.message__content{padding:16px 8px;border-radius:8px;background:#e8e8e8;font-size:.75rem;font-weight:400}.message--hidden{visibility:hidden}.message--outgoing{align-self:end;align-items:end;margin-left:16px;margin-right:0}.message--outgoing .message__content-container{display:flex;flex-direction:column}.message--outgoing .message__content-title{color:#fff;font-size:.75rem;font-weight:700;border-radius:8px 8px 0 0;background:#452d9d;padding:4px 8px;align-self:start;display:flex;gap:4px;align-items:center}.message--outgoing .message__content-title>img{filter:invert(100%);max-height:16px;max-width:16px}.message--outgoing .message__content{border-top-left-radius:0;background:#cec3f4}.response-select{border-radius:16px;border:1px solid #cdd1d9;background-color:#fff;display:flex;padding:24px 16px;flex-direction:column;gap:16px;margin-top:25px}.response-select__choices{display:flex;gap:8px}.response-select__choice{border-style:none;border-radius:8px;background-color:#253858;padding:8px 16px;color:#fff;text-align:center;font-size:.688rem;font-weight:400;line-height:18px;flex:1;cursor:pointer}.response-select__choice[aria-disabled=true]{background-color:#f4f5f7;color:#5e6c84;cursor:not-allowed}.response-select__feedback{border-radius:8px;background:#eaf1ff;padding:8px;color:#122647;font-size:.75rem;font-weight:400;line-height:20px}.title{font-family:Nunito,Roboto,sans-serif;font-size:.875rem;font-weight:700}@media(max-width:640px){.title{font-size:.75rem}.response-select__choices{flex-direction:column}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}", ne = /* @__PURE__ */ T(ae, [["styles", [oe]]]);
94
+ L(/* @__PURE__ */ Object.assign({ "./locales/fr.json": I })).catch((s) => console.error(s));
95
+ const _ = C(ne, {
96
+ configureApp(s) {
97
+ f.changeLanguage(document?.documentElement?.lang || navigator.language), s.use(S, { i18next: f });
98
+ }
99
+ });
100
+ _.prototype.normalizeProps = (s) => ({
101
+ ...s,
102
+ titleLevel: F(s.titleLevel)
103
+ });
104
+ window.customElements.define("select-conversation", _);
@@ -1,4 +1,4 @@
1
- import { s as ve, n as Re, d as Ce, i as Pe } from "./_plugin-vue_export-helper-D7ghZaw4.js";
1
+ import { s as ve, k as Re, d as Ce, l as Pe } from "./_plugin-vue_export-helper-DOoVeFcJ.js";
2
2
  const d = (o) => typeof o == "string", V = () => {
3
3
  let o, e;
4
4
  const t = new Promise((i, s) => {
@@ -1,6 +1,6 @@
1
- import { d as B, r as I, L, c as g, o as u, J as x, q as p, x as f, y as b, a as h, m as T, A as $, _ as N, k as d, M as E, g as F, F as k, b as A, e as H, f as P } from "./_plugin-vue_export-helper-D7ghZaw4.js";
1
+ import { d as N, r as B, g as I, c as g, o as u, L as x, i as p, h as f, n as b, a as h, m as T, t as $, _ as L, y as d, N as E, q as F, F as k, b as A, e as H, f as P } from "./_plugin-vue_export-helper-DOoVeFcJ.js";
2
2
  import { u as K, a as R } from "./normalize-props-AlmAfi_u.js";
3
- function D(e, s = J) {
3
+ function D(e, s = V) {
4
4
  const a = [...e];
5
5
  for (let o = a.length - 1; o > 0; o--) {
6
6
  const l = s() % (o + 1);
@@ -8,10 +8,10 @@ function D(e, s = J) {
8
8
  }
9
9
  return a;
10
10
  }
11
- function J() {
11
+ function V() {
12
12
  return Math.floor(Math.random() * 2 ** 32);
13
13
  }
14
- const V = ["aria-labelledby", "aria-selected", "tabindex"], G = { key: 0 }, U = ["id"], W = ["id"], X = /* @__PURE__ */ B({
14
+ const G = ["aria-labelledby", "aria-selected", "tabindex"], J = { key: 0 }, U = ["id"], W = ["id"], X = /* @__PURE__ */ N({
15
15
  __name: "ImageOption.ce",
16
16
  props: {
17
17
  choice: { type: Object },
@@ -23,12 +23,12 @@ const V = ["aria-labelledby", "aria-selected", "tabindex"], G = { key: 0 }, U =
23
23
  },
24
24
  emits: ["toggle", "next", "previous"],
25
25
  setup(e, { expose: s }) {
26
- const a = e, o = I();
26
+ const a = e, o = B();
27
27
  function l() {
28
28
  o.value.focus();
29
29
  }
30
30
  s({ focus: l });
31
- const n = L();
31
+ const n = I();
32
32
  return (c, t) => (u(), g("div", {
33
33
  ref_key: "el",
34
34
  ref: o,
@@ -44,7 +44,7 @@ const V = ["aria-labelledby", "aria-selected", "tabindex"], G = { key: 0 }, U =
44
44
  t[3] || (t[3] = x(p((r) => c.$emit("next"), ["stop", "prevent"]), ["down", "right"]))
45
45
  ]
46
46
  }, [
47
- e.choice.image ? (u(), g("figure", G, [
47
+ e.choice.image ? (u(), g("figure", J, [
48
48
  h("img", T(e.choice.image, {
49
49
  class: e.imageClass,
50
50
  alt: ""
@@ -57,9 +57,9 @@ const V = ["aria-labelledby", "aria-selected", "tabindex"], G = { key: 0 }, U =
57
57
  key: 1,
58
58
  id: f(n)
59
59
  }, $(e.choice.name), 9, W))
60
- ], 42, V));
60
+ ], 42, G));
61
61
  }
62
- }), Y = '.image-option{display:flex;position:relative;flex-direction:column;align-items:center;justify-content:center;margin:.5rem;border:solid 2px #c1c7d0;border-radius:10px;background:#fff;width:calc(20% - 2em);min-width:150px;padding:1rem}.image-option--max4{width:calc(25% - 2em);min-width:175px}.image-option--max3{width:calc(33% - 2em)}.image-option--max2{width:calc(50% - 2em);min-width:300px}.image-option--max1{width:calc(100% - 4em);min-width:300px}.image-option:hover{cursor:pointer;box-shadow:0 3px 10px #0000001a;transform:scale(1.04);transition:transform ease-in .1s}.image-option:focus{outline:none;box-shadow:5px 5px #ffbe00,-5px 5px #ffbe00,5px -5px #ffbe00,-5px -5px #ffbe00}.image-option[aria-selected=true]{border-color:#3d68ff}.image-option[aria-selected=true]:after{content:"";position:absolute;width:calc(100% + 2px);height:calc(100% + 2px);background:#3d68ff4d;border-radius:10px;z-index:3}.image-option figure{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;text-align:center;width:100%}.image-option figure img{max-width:100%;height:auto}.image-option figure img.icon{max-height:100px;width:auto}.image-option figure img.medium{max-width:50%;height:auto}.image-option figure figcaption{margin:1ex}', Z = /* @__PURE__ */ N(X, [["styles", [Y]]]), _ = ["id", "innerHTML"], ee = ["aria-multiselectable", "aria-labelledby"], ie = /* @__PURE__ */ B({
62
+ }), Y = '.image-option{display:flex;position:relative;flex-direction:column;align-items:center;justify-content:center;margin:.5rem;border:solid 2px #c1c7d0;border-radius:10px;background:#fff;width:calc(20% - 2em);min-width:150px;padding:1rem}.image-option--max4{width:calc(25% - 2em);min-width:175px}.image-option--max3{width:calc(33% - 2em)}.image-option--max2{width:calc(50% - 2em);min-width:300px}.image-option--max1{width:calc(100% - 4em);min-width:300px}.image-option:hover{cursor:pointer;box-shadow:0 3px 10px #0000001a;transform:scale(1.04);transition:transform ease-in .1s}.image-option:focus{outline:none;box-shadow:5px 5px #ffbe00,-5px 5px #ffbe00,5px -5px #ffbe00,-5px -5px #ffbe00}.image-option[aria-selected=true]{border-color:#3d68ff}.image-option[aria-selected=true]:after{content:"";position:absolute;width:calc(100% + 2px);height:calc(100% + 2px);background:#3d68ff4d;border-radius:10px;z-index:3}.image-option figure{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;margin:0;text-align:center;width:100%}.image-option figure img{max-width:100%;height:auto}.image-option figure img.icon{max-height:100px;width:auto}.image-option figure img.medium{max-width:50%;height:auto}.image-option figure figcaption{margin:1ex}', Z = /* @__PURE__ */ L(X, [["styles", [Y]]]), _ = ["id", "innerHTML"], ee = ["aria-multiselectable", "aria-labelledby"], ie = /* @__PURE__ */ N({
63
63
  __name: "ImageQuiz.ce",
64
64
  props: {
65
65
  multiple: { type: Boolean, default: !1 },
@@ -73,7 +73,7 @@ const V = ["aria-labelledby", "aria-selected", "tabindex"], G = { key: 0 }, U =
73
73
  },
74
74
  emits: ["answer"],
75
75
  setup(e, { emit: s }) {
76
- const a = s, o = d(() => e.hideChoicesName ? "sr-only" : ""), l = d(() => e.orderChoices ? e.choices : D(e.choices)), n = I(new Array(e.choices.length).fill(!1)), c = d(() => l.value.filter((i, C) => n.value[C])), t = d(() => c.value.map((i) => i.response ?? i.name).sort().join(",")), r = L();
76
+ const a = s, o = d(() => e.hideChoicesName ? "sr-only" : ""), l = d(() => e.orderChoices ? e.choices : D(e.choices)), n = B(new Array(e.choices.length).fill(!1)), c = d(() => l.value.filter((i, C) => n.value[C])), t = d(() => c.value.map((i) => i.response ?? i.name).sort().join(",")), r = I();
77
77
  E(t, () => {
78
78
  a("answer", t.value);
79
79
  }, { immediate: !1 });
@@ -118,7 +118,7 @@ const V = ["aria-labelledby", "aria-selected", "tabindex"], G = { key: 0 }, U =
118
118
  ], 8, ee)
119
119
  ], 64));
120
120
  }
121
- }), te = "*{box-sizing:border-box}.image-quiz-label{font-size:1.25rem;margin:1rem 0;display:inline-block}.image-quiz{display:flex;flex-wrap:wrap;justify-content:space-around}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}", j = /* @__PURE__ */ N(ie, [["styles", [te]]]);
121
+ }), te = "*{box-sizing:border-box}.image-quiz-label{font-size:1.25rem;margin:1rem 0;display:inline-block}.image-quiz{display:flex;flex-wrap:wrap;justify-content:space-around}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}", j = /* @__PURE__ */ L(ie, [["styles", [te]]]);
122
122
  function S(e) {
123
123
  return {
124
124
  ...e,
@@ -129,12 +129,12 @@ function S(e) {
129
129
  }))
130
130
  };
131
131
  }
132
- const M = P(j);
133
- M.prototype.normalizeProps = S;
134
- window.customElements.define("image-quiz", M);
135
132
  const q = P(j);
136
133
  q.prototype.normalizeProps = S;
137
- window.customElements.define("qcu-image", q);
134
+ window.customElements.define("image-quiz", q);
135
+ const M = P(j);
136
+ M.prototype.normalizeProps = S;
137
+ window.customElements.define("qcu-image", M);
138
138
  export {
139
139
  j as I,
140
140
  S as n