@1024pix/epreuves-components 1.2.0 → 1.3.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.
@@ -1,6 +1,6 @@
1
- import { a as C, v as h, c as l, o, x as j, f as r, y as M, K as R, j as z, t as g, _ as b, r as w, C as H, q as u, g as m, L as $, z as D, H as _, F as S, b as k, e as A, d as I } from "../_plugin-vue_export-helper-CXkSGj2f.js";
2
- import { a as V, i as N, b as P } from "../i18n-CnN3ours.js";
3
- import { B, N as T } from "../NavigationButton.ce-CJGPfdW7.js";
1
+ import { a as C, k as h, c as l, o, D as T, f as r, E, L as z, A as j, t as g, _ as b, r as w, J as H, I as u, y as m, x as $, G as D, M as _, F as S, b as k, e as A, d as I } from "../_plugin-vue_export-helper-DK91u00G.js";
2
+ import { a as V, i as N, b as P } from "../i18n-Gv3Ze5vF.js";
3
+ import { B, N as M } from "../NavigationButton.ce-Cz9511sV.js";
4
4
  const F = {
5
5
  "pix-carousel": { license: "Image license", next: "Next", of: "{{ currentSlide }} of {{ slideLength }}", previous: "Previous", slide: "Slide", title: "Carousel" }
6
6
  }, G = {
@@ -9,9 +9,9 @@ const F = {
9
9
  "pix-carousel": { license: "Licence de l’image", of: "{{ currentSlide }} sur {{ slideLength }}", next: "Suivant", previous: "Précédent", slide: "Diapositive", title: "Carrousel" }
10
10
  }, Z = {
11
11
  "pix-carousel": { license: "Licenza d'immagine", next: "Avanti", of: "{{ currentSlide }} di {{ slideLength }}", previous: "Precedente", slide: "Diapositiva", title: "Galleria" }
12
- }, q = {
12
+ }, J = {
13
13
  "pix-carousel": { license: "Afbeeldingslicentie", next: "Volgende", of: "{{ currentSlide }} van {{ slideLength }}", previous: "Vorige", slide: "Dia", title: "Carrousel" }
14
- }, K = ["aria-level"], W = ["innerHTML"], J = {
14
+ }, W = ["aria-level"], q = ["innerHTML"], K = {
15
15
  key: 1,
16
16
  class: "description"
17
17
  }, Q = /* @__PURE__ */ C({
@@ -31,24 +31,24 @@ const F = {
31
31
  return n.description.match(s);
32
32
  });
33
33
  return (t, s) => (o(), l("div", {
34
- class: j(["slide-info", { active: t.isActive }])
34
+ class: T(["slide-info", { active: t.isActive }])
35
35
  }, [
36
36
  r("div", {
37
37
  role: "heading",
38
38
  "aria-level": t.titleLevel,
39
39
  class: "title"
40
40
  }, [
41
- R(t.$slots, "pagination"),
42
- z(" " + g(t.title), 1)
43
- ], 8, K),
41
+ z(t.$slots, "pagination"),
42
+ j(" " + g(t.title), 1)
43
+ ], 8, W),
44
44
  i.value ? (o(), l("div", {
45
45
  key: 0,
46
46
  class: "description",
47
47
  innerHTML: t.description
48
- }, null, 8, W)) : t.description ? (o(), l("p", J, g(t.description), 1)) : M("", !0)
48
+ }, null, 8, q)) : t.description ? (o(), l("p", K, g(t.description), 1)) : E("", !0)
49
49
  ], 2));
50
50
  }
51
- }), U = ".slide-info{transform:translate(100vw);grid-column:1;grid-row:1;height:fit-content;border-left:1px solid transparent;padding-left:16px;padding-top:4px}.slide-info p{margin-top:8px;margin-bottom:0}.slide-info.active{border-left-color:gray;transform:translate(0)}.slide-info .title{display:flex;align-items:center;font-size:1.25rem;font-family:Nunito,sans-serif;font-style:normal;font-weight:700;line-height:1.75rem;gap:8px;min-height:24px}.slide-info .description{font-size:.875rem}.slide-info .description ul li,.slide-info .description ol li{margin-left:1rem}@media only screen and (max-width: 576px){.slide-info.active{border:none;padding-left:0}}", E = /* @__PURE__ */ b(Q, [["styles", [U]]]), X = ["aria-hidden", "aria-roledescription", "aria-label"], Y = ["alt", "src"], ee = {
51
+ }), U = ".slide-info{transform:translate(100vw);grid-column:1;grid-row:1;height:fit-content;border-left:1px solid transparent;padding-left:16px;padding-top:4px}.slide-info p{margin-top:8px;margin-bottom:0}.slide-info.active{border-left-color:gray;transform:translate(0)}.slide-info .title{display:flex;align-items:center;font-size:1.25rem;font-family:Nunito,sans-serif;font-style:normal;font-weight:700;line-height:1.75rem;gap:8px;min-height:24px}.slide-info .description{font-size:.875rem}.slide-info .description ul li,.slide-info .description ol li{margin-left:1rem}@media only screen and (max-width: 576px){.slide-info.active{border:none;padding-left:0}}", R = /* @__PURE__ */ b(Q, [["styles", [U]]]), X = ["aria-hidden", "aria-roledescription", "aria-label"], Y = ["alt", "src"], ee = {
52
52
  key: 0,
53
53
  class: "license"
54
54
  }, ie = ["href"], te = {
@@ -78,7 +78,7 @@ const F = {
78
78
  const d = h(() => n.direction === 1);
79
79
  return (e, y) => (o(), l("div", {
80
80
  role: "group",
81
- class: j(["slide", { active: e.isActive, [s.value]: s.value, "is-next": d.value, "disable-animation": u(t) }]),
81
+ class: T(["slide", { active: e.isActive, [s.value]: s.value, "is-next": d.value, "disable-animation": u(t) }]),
82
82
  "aria-hidden": !e.isActive,
83
83
  "aria-roledescription": e.$t("pix-carousel.slide"),
84
84
  "aria-label": e.label
@@ -94,12 +94,12 @@ const F = {
94
94
  src: e.slide.image.src
95
95
  }, null, 12, Y),
96
96
  e.slide.license ? (o(), l("p", ee, [
97
- z(g(e.slide.license.attribution) + " / ", 1),
97
+ j(g(e.slide.license.attribution) + " / ", 1),
98
98
  r("a", {
99
99
  href: e.slide.license.url,
100
100
  target: "_blank"
101
101
  }, g(e.slide.license.name), 9, ie)
102
- ])) : M("", !0)
102
+ ])) : E("", !0)
103
103
  ], 4)) : e.type === "image-text" ? (o(), l("div", te, [
104
104
  r("img", {
105
105
  alt: e.slide.image.alt,
@@ -115,7 +115,7 @@ const F = {
115
115
  innerHTML: e.slide.text,
116
116
  class: "text-container"
117
117
  }, null, 8, oe)),
118
- m(E, {
118
+ m(R, {
119
119
  description: e.slide.description,
120
120
  title: e.slide.title,
121
121
  "is-active": e.isActive,
@@ -219,14 +219,14 @@ const ve = /* @__PURE__ */ b(fe, [["render", ge]]), he = ["aria-roledescription"
219
219
  ], 8, be),
220
220
  r("div", xe, [
221
221
  r("div", ye, [
222
- m(T, {
222
+ m(M, {
223
223
  onClick: c[2] || (c[2] = (p) => x(1)),
224
224
  label: a.$t("pix-carousel.previous"),
225
225
  "aria-controls": u(v),
226
226
  direction: "previous",
227
227
  disabled: y.value
228
228
  }, null, 8, ["label", "aria-controls", "disabled"]),
229
- m(T, {
229
+ m(M, {
230
230
  onClick: c[3] || (c[3] = (p) => x(-1)),
231
231
  label: a.$t("pix-carousel.next"),
232
232
  "aria-controls": u(v),
@@ -235,7 +235,7 @@ const ve = /* @__PURE__ */ b(fe, [["render", ge]]), he = ["aria-roledescription"
235
235
  }, null, 8, ["label", "aria-controls", "disabled"])
236
236
  ]),
237
237
  r("div", _e, [
238
- (o(!0), l(S, null, k(s.value, (p, f) => (o(), A(E, {
238
+ (o(!0), l(S, null, k(s.value, (p, f) => (o(), A(R, {
239
239
  key: f,
240
240
  description: p.description,
241
241
  title: p.title,
@@ -253,7 +253,7 @@ const ve = /* @__PURE__ */ b(fe, [["render", ge]]), he = ["aria-roledescription"
253
253
  ], 8, he));
254
254
  }
255
255
  }), Le = "*{--pix-neutral-0: white;--pix-neutral-100: #cdd1d9;--pix-neutral-800: #253858;--pix-primary-100: #cec3f4;--pix-primary-300: #957ee8;--pix-primary-700: #452d9d;--pix-primary-900: #291a5d;font-family:Roboto,sans-serif;color:var(--pix-neutral-800)}section{display:flex;flex-direction:column;gap:12px;overflow:hidden;padding-top:12px}section .slides{display:grid;grid-template-columns:32px auto 32px;gap:16px;width:100%}section .slides .slide{grid-row:1;grid-column:2}section .slides .carousel__nav{height:80%;margin:auto 0;background:var(--pix-primary-100);fill:var(--pix-neutral-800);border:none;cursor:pointer;z-index:9;padding:0}section .slides .carousel__nav:hover{background:var(--pix-primary-300);fill:var(--pix-neutral-0)}section .slides .carousel__nav:active,section .slides .carousel__nav:focus,section .slides .carousel__nav:focus-visible{background:var(--pix-primary-700);fill:var(--pix-neutral-0)}section .slides .carousel__nav:focus,section .slides .carousel__nav:focus-visible{outline-offset:-4px;outline:1px solid var(--pix-neutral-0)}section .slides .carousel__nav.previous{border-top-right-radius:1rem;border-bottom-right-radius:1rem}section .slides .carousel__nav.next{border-top-left-radius:1rem;border-bottom-left-radius:1rem}section .slides .carousel__nav.disabled,section .slides .carousel__nav.disabled:hover{background:transparent;cursor:not-allowed;fill:var(--pix-neutral-100)}.footer{padding:16px 56px;display:flex;align-items:start;gap:16px}.footer .footer-separator{border-left:1px solid;width:1px}.footer .control{display:flex;gap:8px;align-items:center}.footer .tooltip-container button.disabled{fill:var(--pix-neutral-100)}.footer .slide-info-container{display:grid;grid-template-columns:1fr}.footer .slide-info-container .pagination{display:flex;align-items:center;font-size:.75rem;font-family:Roboto,sans-serif;font-weight:400;color:var(--pix-primary-900);border-radius:50px;padding:3px 12px;background-color:var(--pix-primary-100);height:18px;text-wrap:nowrap}.footer .info{display:grid;overflow:hidden}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media only screen and (max-width: 576px){section .slides{grid-template-columns:0 100% 0;gap:0}section .slides .carousel__nav{display:none}.footer{flex-direction:column;padding:16px}.footer .footer-separator{display:none}}", $e = /* @__PURE__ */ b(Ce, [["styles", [Le]]]);
256
- V(/* @__PURE__ */ Object.assign({ "./locales/en.json": F, "./locales/es.json": G, "./locales/fr.json": O, "./locales/it.json": Z, "./locales/nl.json": q })).catch((n) => console.error(n));
256
+ V(/* @__PURE__ */ Object.assign({ "./locales/en.json": F, "./locales/es.json": G, "./locales/fr.json": O, "./locales/it.json": Z, "./locales/nl.json": J })).catch((n) => console.error(n));
257
257
  window.customElements.define("pix-carousel", I($e, {
258
258
  configureApp(n) {
259
259
  N.changeLanguage(document?.documentElement?.lang || navigator.language), n.use(P, { i18next: N });
@@ -1,7 +1,7 @@
1
- import { a as H, r as y, z as k, v as m, h as S, c as a, o as i, f as s, I as A, q as c, t as u, F as f, b, J as E, g, x as C, H as L, y as F, B as P, _ as D, d as q } from "../_plugin-vue_export-helper-CXkSGj2f.js";
2
- import { a as G, i as w, b as J } from "../i18n-CnN3ours.js";
3
- import { N as j } from "../NavigationButton.ce-CJGPfdW7.js";
4
- const R = {}, U = {}, K = {
1
+ import { a as S, r as k, G as y, k as m, z as A, c as a, o as i, f as s, l as B, I as c, t as u, F as f, b, N as H, y as g, D as C, M as L, E as D, q as F, _ as P, d as G } from "../_plugin-vue_export-helper-DK91u00G.js";
2
+ import { a as q, i as w, b as R } from "../i18n-Gv3Ze5vF.js";
3
+ import { N as M } from "../NavigationButton.ce-Cz9511sV.js";
4
+ const U = {}, J = {}, K = {
5
5
  "pix-cursor": { confirm: "Valider", next: "Suivant", previous: "Précédent", selectAnOption: "Sélectionnez une option", youHaveChosen: "Vous avez choisi : { choice }" }
6
6
  }, Q = {}, W = {}, X = ["for"], Y = {
7
7
  class: "visible-options",
@@ -12,13 +12,13 @@ const R = {}, U = {}, K = {
12
12
  }, le = {
13
13
  key: 0,
14
14
  class: "confirm"
15
- }, ce = ["innerHTML", "aria-hidden"], de = /* @__PURE__ */ H({
15
+ }, ce = ["innerHTML", "aria-hidden"], de = /* @__PURE__ */ S({
16
16
  __name: "PixCursor.ce",
17
17
  props: {
18
18
  options: { type: Array }
19
19
  },
20
- setup(d, { expose: M }) {
21
- const p = d, 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), l = m(() => Number(r.value));
20
+ setup(d, { expose: j }) {
21
+ const p = d, r = k(Math.floor(p.options.length / 2)), o = k(!1), v = y(), _ = y(), I = m(() => r.value === p.options.length - 1), N = m(() => r.value === 0), l = m(() => Number(r.value));
22
22
  function z() {
23
23
  o.value = !0;
24
24
  }
@@ -28,19 +28,19 @@ const R = {}, U = {}, K = {
28
28
  function O() {
29
29
  o.value || (r.value = Math.min(p.options.length - 1, l.value + 1));
30
30
  }
31
- function _(t) {
31
+ function h(t) {
32
32
  o.value || (r.value = t);
33
33
  }
34
34
  function T() {
35
35
  o.value = !1, r.value = Math.floor(p.options.length / 2);
36
36
  }
37
- return M({
37
+ return j({
38
38
  reset: T
39
39
  }), (t, x) => {
40
- const V = S("i18next");
40
+ const V = A("i18next");
41
41
  return i(), a("form", {
42
42
  class: "pix-cursor",
43
- onSubmit: P(z, ["prevent"])
43
+ onSubmit: F(z, ["prevent"])
44
44
  }, [
45
45
  s("div", null, [
46
46
  s("label", {
@@ -49,31 +49,31 @@ const R = {}, U = {}, K = {
49
49
  }, u(t.$t("pix-cursor.selectAnOption")), 9, X),
50
50
  s("ul", Y, [
51
51
  (i(!0), a(f, null, b(t.options, (n, e) => (i(), a("li", {
52
- onClick: (B) => _(e),
52
+ onClick: (E) => h(e),
53
53
  key: e
54
54
  }, u(n.label), 9, Z))), 128))
55
55
  ]),
56
- s("datalist", { id: c(h) }, [
56
+ s("datalist", { id: c(_) }, [
57
57
  (i(!0), a(f, null, b(t.options, (n, e) => (i(), a("option", {
58
- onClick: (B) => _(e),
58
+ onClick: (E) => h(e),
59
59
  key: e,
60
60
  value: e,
61
61
  label: n.label
62
62
  }, u(n.label), 9, oe))), 128))
63
63
  ], 8, ee),
64
- A(s("input", {
64
+ B(s("input", {
65
65
  "onUpdate:modelValue": x[0] || (x[0] = (n) => r.value = n),
66
66
  id: c(v),
67
67
  type: "range",
68
- list: c(h),
68
+ list: c(_),
69
69
  min: "0",
70
70
  max: t.options.length - 1,
71
71
  disabled: o.value
72
72
  }, null, 8, te), [
73
- [E, r.value]
73
+ [H, r.value]
74
74
  ]),
75
75
  s("div", ne, [
76
- g(j, {
76
+ g(M, {
77
77
  onClick: $,
78
78
  disabled: o.value || N.value,
79
79
  label: t.$t("pix-cursor.previous"),
@@ -101,7 +101,7 @@ const R = {}, U = {}, K = {
101
101
  }, 1032, ["translation"])
102
102
  ], 10, ie))), 128))
103
103
  ]),
104
- g(j, {
104
+ g(M, {
105
105
  onClick: O,
106
106
  disabled: o.value || I.value,
107
107
  label: t.$t("pix-cursor.next"),
@@ -114,7 +114,7 @@ const R = {}, U = {}, K = {
114
114
  ])
115
115
  ]),
116
116
  s("div", se, [
117
- o.value ? F("", !0) : (i(), a("button", le, u(t.$t("pix-cursor.confirm")), 1)),
117
+ o.value ? D("", !0) : (i(), a("button", le, u(t.$t("pix-cursor.confirm")), 1)),
118
118
  (i(!0), a(f, null, b(t.options, (n, e) => (i(), a("p", {
119
119
  innerHTML: n.feedback.text,
120
120
  key: e,
@@ -128,10 +128,10 @@ const R = {}, U = {}, K = {
128
128
  ], 32);
129
129
  };
130
130
  }
131
- }), ue = "[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}", pe = /* @__PURE__ */ D(de, [["styles", [ue]], ["__scopeId", "data-v-58e704c5"]]);
132
- G(/* @__PURE__ */ Object.assign({ "./locales/en.json": R, "./locales/es.json": U, "./locales/fr.json": K, "./locales/it.json": Q, "./locales/nl.json": W })).catch((d) => console.error(d));
133
- window.customElements.define("pix-cursor", q(pe, {
131
+ }), ue = "[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}", pe = /* @__PURE__ */ P(de, [["styles", [ue]], ["__scopeId", "data-v-58e704c5"]]);
132
+ q(/* @__PURE__ */ Object.assign({ "./locales/en.json": U, "./locales/es.json": J, "./locales/fr.json": K, "./locales/it.json": Q, "./locales/nl.json": W })).catch((d) => console.error(d));
133
+ window.customElements.define("pix-cursor", G(pe, {
134
134
  configureApp(d) {
135
- w.changeLanguage(document?.documentElement?.lang || navigator.language), d.use(J, { i18next: w });
135
+ w.changeLanguage(document?.documentElement?.lang || navigator.language), d.use(R, { i18next: w });
136
136
  }
137
137
  }));
@@ -1,8 +1,8 @@
1
- import { a as k, c, o as r, f as t, y as b, t as d, x as C, _ as w, M as R, N as A, r as y, v as h, I as E, j as V, O as M, D as O, F as _, b as S, e as G, q as j, B as P, g as F, d as H } from "../_plugin-vue_export-helper-CXkSGj2f.js";
2
- import { i as s, a as Q, b as U } from "../i18n-CnN3ours.js";
3
- const W = {
1
+ import { a as k, c, o as r, f as t, E as b, t as d, D as C, _ as w, O as B, P as E, r as y, k as _, l as R, A as V, Q as j, g as O, F as h, b as x, e as M, I as G, q as P, y as F, d as Q } from "../_plugin-vue_export-helper-DK91u00G.js";
2
+ import { i as s, a as H, b as U } from "../i18n-Gv3Ze5vF.js";
3
+ const W = {}, Z = {}, J = {
4
4
  "qcm-deepfake": { options: ["une photo de sa chanteuse préférée", "une chanson de sa chanteuse préférée", "un enregistrement de Caroline qui chante", "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 :", title: "Recréez la vidéo de Caroline", in: "Entrée", out: "Sortie", selectThreeElements: "Sélectionnez 3 éléments pour générer la vidéo :", generateVideo: "Générer la vidéo !", 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: "Super !", 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." }, searchTitle: "Le logiciel d’IA générative crée la vidéo" }
5
- }, Z = ["aria-hidden"], J = ["aria-level"], K = ["src"], X = { class: "description" }, Y = ["src"], ee = ["aria-level"], te = /* @__PURE__ */ k({
5
+ }, K = {}, X = {}, Y = ["aria-hidden"], ee = ["aria-level"], te = ["src"], ae = { class: "description" }, ie = ["src"], se = ["aria-level"], ne = /* @__PURE__ */ k({
6
6
  __name: "NarrativeAnswer.ce",
7
7
  props: {
8
8
  messageTitle: { type: String },
@@ -22,18 +22,18 @@ const W = {
22
22
  class: "subtitle",
23
23
  role: "heading",
24
24
  "aria-level": e.titleLevel + 1
25
- }, d(e.$t("qcm-deepfake.out")), 9, J),
25
+ }, d(e.$t("qcm-deepfake.out")), 9, ee),
26
26
  e.type === "search" ? (r(), c("img", {
27
27
  key: 0,
28
28
  src: e.image,
29
29
  alt: ""
30
- }, null, 8, K)) : b("", !0),
31
- t("p", X, d(e.title), 1),
30
+ }, null, 8, te)) : b("", !0),
31
+ t("p", ae, d(e.title), 1),
32
32
  e.type !== "search" ? (r(), c("img", {
33
33
  key: 1,
34
34
  src: e.image,
35
35
  alt: ""
36
- }, null, 8, Y)) : b("", !0),
36
+ }, null, 8, ie)) : b("", !0),
37
37
  e.messageTitle ? (r(), c("div", {
38
38
  key: 2,
39
39
  class: C(["answer-block", e.stateAnswer])
@@ -42,14 +42,14 @@ const W = {
42
42
  class: "answer-block__title",
43
43
  role: "heading",
44
44
  "aria-level": e.titleLevel + 2
45
- }, d(e.messageTitle), 9, ee),
45
+ }, d(e.messageTitle), 9, se),
46
46
  t("p", null, d(e.messageDescription), 1)
47
47
  ], 2)) : b("", !0)
48
- ], 8, Z));
48
+ ], 8, Y));
49
49
  }
50
- }), ae = ".right-container[data-v-3d782b51]{grid-row:1/1;grid-column:1/1}.right-container[aria-hidden=true][data-v-3d782b51]{visibility:hidden}img[data-v-3d782b51]{margin-block:.5rem}.subtitle[data-v-3d782b51]{font-size:1.25rem;font-weight:700;text-align:center}.description[data-v-3d782b51]{font-weight:700;margin-top:0;margin-bottom:0}img[data-v-3d782b51]{width:200px;height:auto}.answer-block[data-v-3d782b51]{background:#e8e8e8;margin-inline:1rem;padding:.5rem;border-radius:10px}.answer-block p[data-v-3d782b51]{margin-bottom:0}.answer-block.success[data-v-3d782b51]{background:#e8f3ef}.answer-block.fail[data-v-3d782b51]{border-radius:16px;background:#fbecec}", ie = /* @__PURE__ */ w(te, [["styles", [ae]], ["__scopeId", "data-v-3d782b51"]]), se = ["aria-disabled"], ne = /* @__PURE__ */ k({
50
+ }), le = ".right-container[data-v-3d782b51]{grid-row:1/1;grid-column:1/1}.right-container[aria-hidden=true][data-v-3d782b51]{visibility:hidden}img[data-v-3d782b51]{margin-block:.5rem}.subtitle[data-v-3d782b51]{font-size:1.25rem;font-weight:700;text-align:center}.description[data-v-3d782b51]{font-weight:700;margin-top:0;margin-bottom:0}img[data-v-3d782b51]{width:200px;height:auto}.answer-block[data-v-3d782b51]{background:#e8e8e8;margin-inline:1rem;padding:.5rem;border-radius:10px}.answer-block p[data-v-3d782b51]{margin-bottom:0}.answer-block.success[data-v-3d782b51]{background:#e8f3ef}.answer-block.fail[data-v-3d782b51]{border-radius:16px;background:#fbecec}", oe = /* @__PURE__ */ w(ne, [["styles", [le]], ["__scopeId", "data-v-3d782b51"]]), re = ["aria-disabled"], de = /* @__PURE__ */ k({
51
51
  __name: "Option.ce",
52
- props: /* @__PURE__ */ R({
52
+ props: /* @__PURE__ */ B({
53
53
  option: { type: String },
54
54
  value: { type: Number },
55
55
  readonly: { type: Boolean }
@@ -59,7 +59,7 @@ const W = {
59
59
  }),
60
60
  emits: ["update:modelValue"],
61
61
  setup(a, { expose: e }) {
62
- const l = A(a, "modelValue"), u = y(!1), i = h(() => l.value.length === 3 && !u.value || a.readonly);
62
+ const l = E(a, "modelValue"), u = y(!1), i = _(() => l.value.length === 3 && !u.value || a.readonly);
63
63
  function v(m) {
64
64
  if (i.value) {
65
65
  m.preventDefault();
@@ -72,19 +72,19 @@ const W = {
72
72
  }), (m, g) => (r(), c("label", {
73
73
  class: C({ selected: u.value, disabled: i.value })
74
74
  }, [
75
- E(t("input", {
75
+ R(t("input", {
76
76
  type: "checkbox",
77
77
  name: "options",
78
78
  onClick: v,
79
79
  "aria-disabled": i.value,
80
80
  "onUpdate:modelValue": g[0] || (g[0] = (p) => u.value = p)
81
- }, null, 8, se), [
82
- [M, u.value]
81
+ }, null, 8, re), [
82
+ [j, u.value]
83
83
  ]),
84
84
  V(d(m.option), 1)
85
85
  ], 2));
86
86
  }
87
- }), le = ".selected[data-v-a067b43a]{background:#f7f5ff}.disabled[data-v-a067b43a]{cursor:not-allowed;background:#efefef}.disabled.selected[data-v-a067b43a]{background:#d6d5dd}", oe = /* @__PURE__ */ w(ne, [["styles", [le]], ["__scopeId", "data-v-a067b43a"]]), re = ["aria-level"], de = { class: "container" }, ce = { class: "left-side" }, ue = ["aria-level"], fe = { class: "left-side__description" }, me = { class: "left-side__action" }, pe = ["aria-disabled"], ge = {
87
+ }), ce = ".selected[data-v-a067b43a]{background:#f7f5ff}.disabled[data-v-a067b43a]{cursor:not-allowed;background:#efefef}.disabled.selected[data-v-a067b43a]{background:#d6d5dd}", ue = /* @__PURE__ */ w(de, [["styles", [ce]], ["__scopeId", "data-v-a067b43a"]]), fe = ["aria-level"], me = { class: "container" }, pe = { class: "left-side" }, ge = ["aria-level"], ve = { class: "left-side__description" }, be = { class: "left-side__action" }, _e = ["aria-disabled"], he = {
88
88
  key: 0,
89
89
  "aria-hidden": "true",
90
90
  width: "20",
@@ -92,14 +92,14 @@ const W = {
92
92
  viewBox: "0 0 20 20",
93
93
  fill: "none",
94
94
  xmlns: "http://www.w3.org/2000/svg"
95
- }, ve = {
95
+ }, ye = {
96
96
  id: "optionsSelectedInfo",
97
97
  class: "left-side__lower-legend",
98
98
  "aria-hidden": "true"
99
- }, be = {
99
+ }, ke = {
100
100
  class: "right-side",
101
101
  "aria-live": "polite"
102
- }, he = /* @__PURE__ */ k({
102
+ }, Ce = /* @__PURE__ */ k({
103
103
  __name: "QcmDeepfake.ce",
104
104
  props: {
105
105
  titleLevel: { default: 2, type: Number },
@@ -110,7 +110,7 @@ const W = {
110
110
  searchDelay: { default: 2e3, type: Number }
111
111
  },
112
112
  setup(a, { expose: e }) {
113
- const l = y([]), u = [2, 4, 5], i = y("info"), v = O("optionsNode"), m = s.t("qcm-deepfake.options", { returnObjects: !0 }), g = ["👩‍🎤", "🎧", "🎤", "👩", "🎙️"], p = m.map((n, o) => `${g[o]} ${n}`), $ = p.filter((n, o) => u.includes(o + 1)), N = [
113
+ const l = y([]), u = [2, 4, 5], i = y("info"), v = O("optionsNode"), m = s.t("qcm-deepfake.options", { returnObjects: !0 }), g = ["👩‍🎤", "🎧", "🎤", "👩", "🎙️"], p = m.map((n, o) => `${g[o]} ${n}`), $ = p.filter((n, o) => u.includes(o + 1)), T = [
114
114
  {
115
115
  type: "info",
116
116
  image: a.infoImage,
@@ -135,70 +135,70 @@ const W = {
135
135
  image: a.searchImage,
136
136
  title: s.t("qcm-deepfake.searchTitle")
137
137
  }
138
- ], q = h(() => l.value.length !== 3), T = h(() => i.value === "info" ? s.t("qcm-deepfake.generateVideo") : s.t("qcm-deepfake.restart")), D = h(() => i.value === "info" ? s.t("qcm-deepfake.generateVideoInfo", { count: u.length - l.value.length }) : s.t("qcm-deepfake.restartInfo"));
138
+ ], q = _(() => l.value.length !== 3), N = _(() => i.value === "info" ? s.t("qcm-deepfake.generateVideo") : s.t("qcm-deepfake.restart")), D = _(() => i.value === "info" ? s.t("qcm-deepfake.generateVideoInfo", { count: u.length - l.value.length }) : s.t("qcm-deepfake.restartInfo"));
139
139
  function z() {
140
- return i.value === "info" ? B() : I();
140
+ return i.value === "info" ? L() : I();
141
141
  }
142
142
  function I() {
143
143
  v.value.forEach((n) => {
144
144
  n.isChecked = !1;
145
145
  }), l.value = [], i.value = "info";
146
146
  }
147
- async function B() {
147
+ async function L() {
148
148
  if (q.value) return;
149
149
  const n = l.value.every((o) => $.includes(o.trim()));
150
150
  i.value = "search", await new Promise((o) => setTimeout(o, a.searchDelay)), n ? i.value = "success" : i.value = "fail";
151
151
  }
152
152
  return e({
153
153
  reset: I
154
- }), (n, o) => (r(), c(_, null, [
154
+ }), (n, o) => (r(), c(h, null, [
155
155
  t("div", {
156
156
  role: "heading",
157
157
  "aria-level": n.titleLevel,
158
158
  class: "title"
159
- }, d(n.$t("qcm-deepfake.title")), 9, re),
160
- t("div", de, [
161
- t("form", ce, [
159
+ }, d(n.$t("qcm-deepfake.title")), 9, fe),
160
+ t("div", me, [
161
+ t("form", pe, [
162
162
  t("div", {
163
163
  class: "left-side__subtitle",
164
164
  role: "heading",
165
165
  "aria-level": n.titleLevel + 1
166
- }, d(n.$t("qcm-deepfake.in")), 9, ue),
166
+ }, d(n.$t("qcm-deepfake.in")), 9, ge),
167
167
  t("fieldset", null, [
168
- t("legend", fe, d(n.$t("qcm-deepfake.selectThreeElements")), 1),
169
- (r(!0), c(_, null, S(j(p), (f, x) => (r(), G(oe, {
168
+ t("legend", ve, d(n.$t("qcm-deepfake.selectThreeElements")), 1),
169
+ (r(!0), c(h, null, x(G(p), (f, S) => (r(), M(ue, {
170
170
  ref_for: !0,
171
171
  ref_key: "optionsNode",
172
172
  ref: v,
173
173
  modelValue: l.value,
174
- "onUpdate:modelValue": o[0] || (o[0] = (L) => l.value = L),
175
- key: x,
174
+ "onUpdate:modelValue": o[0] || (o[0] = (A) => l.value = A),
175
+ key: S,
176
176
  class: "left-side__options",
177
177
  option: f,
178
- value: x + 1,
178
+ value: S + 1,
179
179
  readonly: i.value !== "info"
180
180
  }, null, 8, ["modelValue", "option", "value", "readonly"]))), 128))
181
181
  ]),
182
- t("div", me, [
182
+ t("div", be, [
183
183
  t("button", {
184
184
  onClick: P(z, ["prevent"]),
185
185
  class: C(["left-side__button", { generate: i.value === "info" }]),
186
186
  "aria-disabled": q.value,
187
187
  "aria-describedby": "optionsSelectedInfo"
188
188
  }, [
189
- i.value !== "info" ? (r(), c("svg", ge, [...o[1] || (o[1] = [
189
+ i.value !== "info" ? (r(), c("svg", he, [...o[1] || (o[1] = [
190
190
  t("path", {
191
191
  d: "M9.98002 16.836C8.07572 16.836 6.4603 16.1728 5.13377 14.8462C3.80725 13.5197 3.14398 11.9043 3.14398 9.99998C3.14398 8.09568 3.80725 6.48026 5.13377 5.15373C6.4603 3.8272 8.07572 3.16394 9.98002 3.16394C10.9684 3.16394 11.9108 3.36686 12.8073 3.77269C13.7038 4.17839 14.4713 4.76095 15.1096 5.5204V4.03707C15.1096 3.7897 15.1933 3.58234 15.3606 3.41498C15.528 3.24762 15.7354 3.16394 15.9827 3.16394C16.2302 3.16394 16.4377 3.24762 16.605 3.41498C16.7724 3.58234 16.8561 3.7897 16.8561 4.03707V8.29352C16.8561 8.5595 16.7645 8.78394 16.5815 8.96686C16.3986 9.14991 16.1741 9.24144 15.9081 9.24144H11.6417C11.3957 9.24144 11.1895 9.15776 11.0231 8.9904C10.8568 8.82304 10.7736 8.61561 10.7736 8.36811C10.7736 8.12213 10.8572 7.91595 11.0246 7.74956C11.192 7.58318 11.3993 7.49998 11.6467 7.49998H14.2438C13.7993 6.74207 13.199 6.14589 12.4427 5.71144C11.6866 5.277 10.8657 5.05977 9.98002 5.05977C8.6078 5.05977 7.44141 5.54005 6.48086 6.50061C5.52016 7.4613 5.03982 8.62776 5.03982 9.99998C5.03982 11.3722 5.52016 12.5387 6.48086 13.4994C7.44141 14.4599 8.6078 14.9402 9.98002 14.9402C10.8879 14.9402 11.7218 14.713 12.4817 14.2587C13.2416 13.8046 13.8384 13.1963 14.2723 12.4339C14.402 12.2189 14.5845 12.0692 14.8198 11.9848C15.055 11.9005 15.2895 11.8996 15.5236 11.9823C15.7733 12.0651 15.9534 12.2275 16.064 12.4696C16.1744 12.7118 16.1675 12.9401 16.0431 13.1544C15.4537 14.2688 14.6221 15.161 13.5484 15.831C12.4745 16.501 11.285 16.836 9.98002 16.836Z",
192
192
  fill: "#122647"
193
193
  }, null, -1)
194
194
  ])])) : b("", !0),
195
- V(" " + d(T.value), 1)
196
- ], 10, pe),
197
- t("p", ve, d(D.value), 1)
195
+ V(" " + d(N.value), 1)
196
+ ], 10, _e),
197
+ t("p", ye, d(D.value), 1)
198
198
  ])
199
199
  ]),
200
- t("div", be, [
201
- (r(), c(_, null, S(N, (f) => F(ie, {
200
+ t("div", ke, [
201
+ (r(), c(h, null, x(T, (f) => F(oe, {
202
202
  key: f,
203
203
  "title-level": n.titleLevel,
204
204
  type: f.type,
@@ -212,9 +212,9 @@ const W = {
212
212
  ])
213
213
  ], 64));
214
214
  }
215
- }), _e = "legend,label,p,div[role=heading]{font-family:Nunito,Roboto,sans-serif;color:#253858}", ye = ".container[data-v-a7a0f3aa]{display:flex;gap:.8rem}.title[data-v-a7a0f3aa]{font-size:1.75rem;font-weight:700;text-align:center;margin-bottom:16px}.left-side[data-v-a7a0f3aa]{min-width:60%;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;border-radius:10px}.left-side__lower-legend[data-v-a7a0f3aa]{font-size:.875rem;color:#5e6c84}.left-side__subtitle[data-v-a7a0f3aa]{font-size:1.25rem;font-weight:700;text-align:center}.left-side__options[data-v-a7a0f3aa]{display:flex;border:solid 1px #5e6c84;padding:.6rem;border-radius:5px;gap:.5rem}.left-side__description[data-v-a7a0f3aa]{font-weight:700}.left-side__button[data-v-a7a0f3aa]{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-a7a0f3aa]{background:#613fdd;color:#fff}.left-side__button[aria-disabled=true][data-v-a7a0f3aa]{cursor:not-allowed;background:#d3d3d3}.left-side__action[data-v-a7a0f3aa]{display:flex;flex-direction:column;align-items:center;text-align:center}.right-side[data-v-a7a0f3aa]{display:grid;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;text-align:center;border-radius:10px}fieldset[data-v-a7a0f3aa]{border:none;display:flex;flex-direction:column;gap:.8rem}@media (max-width: 770px){.container[data-v-a7a0f3aa]{flex-wrap:wrap}.left-side[data-v-a7a0f3aa],.right-side[data-v-a7a0f3aa]{width:100%}}", ke = /* @__PURE__ */ w(he, [["styles", [_e, ye]], ["__scopeId", "data-v-a7a0f3aa"]]);
216
- Q(/* @__PURE__ */ Object.assign({ "./locales/fr.json": W })).catch((a) => console.error(a));
217
- window.customElements.define("qcm-deepfake", H(ke, {
215
+ }), we = "legend,label,p,div[role=heading]{font-family:Nunito,Roboto,sans-serif;color:#253858}", qe = ".container[data-v-a7a0f3aa]{display:flex;gap:.8rem}.title[data-v-a7a0f3aa]{font-size:1.75rem;font-weight:700;text-align:center;margin-bottom:16px}.left-side[data-v-a7a0f3aa]{min-width:60%;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;border-radius:10px}.left-side__lower-legend[data-v-a7a0f3aa]{font-size:.875rem;color:#5e6c84}.left-side__subtitle[data-v-a7a0f3aa]{font-size:1.25rem;font-weight:700;text-align:center}.left-side__options[data-v-a7a0f3aa]{display:flex;border:solid 1px #5e6c84;padding:.6rem;border-radius:5px;gap:.5rem}.left-side__description[data-v-a7a0f3aa]{font-weight:700}.left-side__button[data-v-a7a0f3aa]{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-a7a0f3aa]{background:#613fdd;color:#fff}.left-side__button[aria-disabled=true][data-v-a7a0f3aa]{cursor:not-allowed;background:#d3d3d3}.left-side__action[data-v-a7a0f3aa]{display:flex;flex-direction:column;align-items:center;text-align:center}.right-side[data-v-a7a0f3aa]{display:grid;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;text-align:center;border-radius:10px}fieldset[data-v-a7a0f3aa]{border:none;display:flex;flex-direction:column;gap:.8rem}@media (max-width: 770px){.container[data-v-a7a0f3aa]{flex-wrap:wrap}.left-side[data-v-a7a0f3aa],.right-side[data-v-a7a0f3aa]{width:100%}}", Ie = /* @__PURE__ */ w(Ce, [["styles", [we, qe]], ["__scopeId", "data-v-a7a0f3aa"]]);
216
+ H(/* @__PURE__ */ Object.assign({ "./locales/en.json": W, "./locales/es.json": Z, "./locales/fr.json": J, "./locales/it.json": K, "./locales/nl.json": X })).catch((a) => console.error(a));
217
+ window.customElements.define("qcm-deepfake", Q(Ie, {
218
218
  configureApp(a) {
219
219
  s.changeLanguage(document?.documentElement?.lang || navigator.language), a.use(U, { i18next: s });
220
220
  }
@@ -1,4 +1,4 @@
1
- import { s as Le, n as we, a as ve, i as Re } from "./_plugin-vue_export-helper-CXkSGj2f.js";
1
+ import { s as Le, n as we, a as ve, i as Re } from "./_plugin-vue_export-helper-DK91u00G.js";
2
2
  const d = (o) => typeof o == "string", V = () => {
3
3
  let o, e;
4
4
  const t = new Promise((i, s) => {
package/dist/index.js CHANGED
@@ -1,12 +1,13 @@
1
- import "./components/message-conversation.ce.js.js";
2
- import "./components/llm-messages.ce.js.js";
3
- import "./components/llm-compare-messages.ce.js.js";
4
- import "./components/llm-prompt-select.ce.js.js";
1
+ import "./components/calcul-impact.ce.js.js";
2
+ import "./components/clickable-image.ce.js.js";
3
+ import "./components/complete-phrase.ce.js.js";
5
4
  import "./components/image-quiz.ce.js.js";
6
5
  import "./components/image-quizzes.ce.js.js";
6
+ import "./components/message-conversation.ce.js.js";
7
+ import "./components/pix-article.ce.js.js";
7
8
  import "./components/pix-carousel.ce.js.js";
8
9
  import "./components/pix-cursor.ce.js.js";
9
- import "./components/complete-phrase.ce.js.js";
10
+ import "./components/llm-messages.ce.js.js";
11
+ import "./components/llm-compare-messages.ce.js.js";
12
+ import "./components/llm-prompt-select.ce.js.js";
10
13
  import "./components/qcm-deepfake.ce.js.js";
11
- import "./components/pix-article.ce.js.js";
12
- import "./components/calcul-impact.ce.js.js";
package/dist/metadata.js CHANGED
@@ -1,31 +1,48 @@
1
- const a = {
2
- isInteractive: !0
3
- }, s = !0, i = {
4
- isInteractive: s
5
- }, c = !0, n = {
6
- isInteractive: c
7
- }, o = !0, _ = {
8
- isInteractive: o
9
- }, r = !1, l = {
10
- isInteractive: r
11
- }, m = !1, v = {
12
- isInteractive: m
13
- }, I = !0, p = {
14
- isInteractive: I
15
- }, g = !0, u = {
16
- isInteractive: g
17
- }, b = !1, d = {
18
- isInteractive: b
19
- }, j = !1, $ = {
20
- isInteractive: j
21
- }, x = !0, f = {
22
- isInteractive: x
23
- }, q = !0, z = {
24
- isInteractive: q
25
- }, O = /* @__PURE__ */ Object.assign({ "./calcul-impact/calcul-impact.metadata.json": a, "./complete-phrase/complete-phrase.metadata.json": i, "./image-quiz/image-quiz.metadata.json": n, "./image-quiz/image-quizzes.metadata.json": _, "./message-conversation/message-conversation.metadata.json": l, "./pix-article/pix-article.metadata.json": v, "./pix-carousel/pix-carousel.metadata.json": p, "./pix-cursor/pix-cursor.metadata.json": u, "./pix-llm/llm-compare-messages.metadata.json": d, "./pix-llm/llm-messages.metadata.json": $, "./pix-llm/llm-prompt-select.metadata.json": f, "./qcm-deepfake/qcm-deepfake.metadata.json": z }), h = Object.fromEntries(Object.entries(O).map(([t, e]) => [
1
+ const i = "usable", s = {
2
+ isInteractive: !0,
3
+ mobileUsability: i
4
+ }, a = "not-accessible", o = !0, c = "unusable", l = {
5
+ accessibility: a,
6
+ isInteractive: o,
7
+ mobileUsability: c
8
+ }, n = !0, b = "not-recommended", m = {
9
+ isInteractive: n,
10
+ mobileUsability: b
11
+ }, _ = !0, r = "usable", v = {
12
+ isInteractive: _,
13
+ mobileUsability: r
14
+ }, u = !0, y = "usable", $ = {
15
+ isInteractive: u,
16
+ mobileUsability: y
17
+ }, I = !1, U = "usable", d = {
18
+ isInteractive: I,
19
+ mobileUsability: U
20
+ }, g = !1, p = "usable", j = {
21
+ isInteractive: g,
22
+ mobileUsability: p
23
+ }, x = "accessible", f = !0, q = "usable", z = {
24
+ accessibility: x,
25
+ isInteractive: f,
26
+ mobileUsability: q
27
+ }, k = !0, O = "not-recommended", h = {
28
+ isInteractive: k,
29
+ mobileUsability: O
30
+ }, E = !1, w = "unusable", A = {
31
+ isInteractive: E,
32
+ mobileUsability: w
33
+ }, B = !1, C = "usable", D = {
34
+ isInteractive: B,
35
+ mobileUsability: C
36
+ }, F = !0, G = "usable", H = {
37
+ isInteractive: F,
38
+ mobileUsability: G
39
+ }, J = !0, K = "not-recommended", L = {
40
+ isInteractive: J,
41
+ mobileUsability: K
42
+ }, M = /* @__PURE__ */ Object.assign({ "./calcul-impact/calcul-impact.metadata.json": s, "./clickable-image/clickable-image.metadata.json": l, "./complete-phrase/complete-phrase.metadata.json": m, "./image-quiz/image-quiz.metadata.json": v, "./image-quiz/image-quizzes.metadata.json": $, "./message-conversation/message-conversation.metadata.json": d, "./pix-article/pix-article.metadata.json": j, "./pix-carousel/pix-carousel.metadata.json": z, "./pix-cursor/pix-cursor.metadata.json": h, "./pix-llm/llm-compare-messages.metadata.json": A, "./pix-llm/llm-messages.metadata.json": D, "./pix-llm/llm-prompt-select.metadata.json": H, "./qcm-deepfake/qcm-deepfake.metadata.json": L }), N = Object.fromEntries(Object.entries(M).map(([t, e]) => [
26
43
  t.replace(/^.*\/([^/]+)\.metadata\.json$/, "$1"),
27
44
  e
28
45
  ]));
29
46
  export {
30
- h as metadata
47
+ N as metadata
31
48
  };