@1024pix/epreuves-components 1.2.0 → 1.2.1

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 { a as B, r as N, z as I, c as d, o as m, A as b, B as f, q as g, x as y, f as h, m as j, t as z, _ as L, v as p, C as q, D as M, F as k, b as T, e as F } from "./_plugin-vue_export-helper-CXkSGj2f.js";
1
+ import { a as B, r as N, y as I, c as d, o as m, z as b, A as f, B as g, v as y, f as h, m as j, t as z, _ as L, q as p, C as q, D as M, F as k, b as T, e as F } from "./_plugin-vue_export-helper-CWFVtOvN.js";
2
2
  function O(i, u = A) {
3
3
  const a = [...i];
4
4
  for (let n = a.length - 1; n > 0; n--) {
@@ -1,5 +1,5 @@
1
- import { _ as b, c as n, o as t, f as s, a as m, v as d, x as g, e as r, y as l, g as u, t as p } from "./_plugin-vue_export-helper-CXkSGj2f.js";
2
- import { L as f } from "./Loading.ce-BaqTP6QH.js";
1
+ import { _ as b, c as n, o as t, f as s, a as m, q as d, v as g, e as r, x as l, g as u, t as p } from "./_plugin-vue_export-helper-CWFVtOvN.js";
2
+ import { L as f } from "./Loading.ce-DKXphIYa.js";
3
3
  const h = {}, C = {
4
4
  height: "1rem",
5
5
  width: "auto",
@@ -46,7 +46,7 @@ function $(o, e) {
46
46
  }, null, -1)
47
47
  ])]);
48
48
  }
49
- const z = /* @__PURE__ */ b(L, [["render", $]]), B = { class: "avatar" }, q = { class: "bubble" }, Z = ["innerHTML"], N = {
49
+ const z = /* @__PURE__ */ b(L, [["render", $]]), q = { class: "avatar" }, B = { class: "bubble" }, Z = ["innerHTML"], N = {
50
50
  key: 1,
51
51
  class: "attachment-label"
52
52
  }, H = /* @__PURE__ */ m({
@@ -63,14 +63,14 @@ const z = /* @__PURE__ */ b(L, [["render", $]]), B = { class: "avatar" }, q = {
63
63
  return (a, A) => (t(), n("div", {
64
64
  class: g(["message", a.message.direction])
65
65
  }, [
66
- s("span", B, [
66
+ s("span", q, [
67
67
  c.value ? (t(), r(k, { key: 0 })) : (t(), r(z, { key: 1 }))
68
68
  ]),
69
69
  a.message.isLoading ? (t(), r(f, {
70
70
  key: 0,
71
71
  class: "loader"
72
72
  })) : l("", !0),
73
- s("div", q, [
73
+ s("div", B, [
74
74
  i.value ? (t(), n("div", {
75
75
  key: 0,
76
76
  innerHTML: i.value,
@@ -1,4 +1,4 @@
1
- import { _ as o, c as r, o as a, f as s } from "./_plugin-vue_export-helper-CXkSGj2f.js";
1
+ import { _ as o, c as r, o as a, f as s } from "./_plugin-vue_export-helper-CWFVtOvN.js";
2
2
  const n = ".loader{width:8px;aspect-ratio:1;border-radius:50%;animation:l5 1s infinite linear alternate;transform:translate(100%)}.sr-only{border:0;clip:rect(0,0,0,0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}@keyframes l5{0%{box-shadow:13px 0 #000,-13px 0 #0002;background:#000}33%{box-shadow:13px 0 #000,-13px 0 #0002;background:#0002}66%{box-shadow:13px 0 #0002,-13px 0 #000;background:#0002}to{box-shadow:13px 0 #0002,-13px 0 #000;background:#000}}@media (prefers-reduced-motion: reduce){.loader{display:none}}", t = {}, d = {
3
3
  class: "loader",
4
4
  role: "alert"
@@ -1,4 +1,4 @@
1
- import { a as f, r as g, z as w, c as h, o as i, f as l, x as C, q as b, t as m, m as x, B as y, K as _, _ as s, e as c, H as k } from "./_plugin-vue_export-helper-CXkSGj2f.js";
1
+ import { a as f, r as g, y as w, c as h, o as i, f as l, v as C, B as b, t as m, m as x, A as y, H as _, _ as s, e as c, I as k } from "./_plugin-vue_export-helper-CWFVtOvN.js";
2
2
  const $ = { class: "tooltip-container" }, B = ["id"], L = ["aria-labelledby", "aria-disabled"], z = /* @__PURE__ */ f({
3
3
  inheritAttrs: !1,
4
4
  __name: "ButtonTooltip.ce",
@@ -45,7 +45,7 @@ const $ = { class: "tooltip-container" }, B = ["id"], L = ["aria-labelledby", "a
45
45
  viewBox: "0 0 16 16",
46
46
  fill: "inherit"
47
47
  };
48
- function N(a, t) {
48
+ function A(a, t) {
49
49
  return i(), h("svg", P, [...t[0] || (t[0] = [
50
50
  l("path", {
51
51
  d: "M10.5642 8.75826H3.28958C3.07681 8.75826 2.89719 8.68509 2.75075 8.53875C2.60442 8.39231 2.53125 8.2127 2.53125 7.99992C2.53125 7.78714 2.60442 7.60753 2.75075 7.46109C2.89719 7.31475 3.07681 7.24159 3.28958 7.24159H10.5642L7.45292 4.13042C7.30103 3.97842 7.22719 3.80025 7.23142 3.59592C7.23564 3.39159 7.31369 3.21348 7.46558 3.06159C7.61758 2.9207 7.79575 2.84814 8.00008 2.84392C8.20442 2.8397 8.38258 2.91353 8.53458 3.06542L12.9346 7.46542C13.0091 7.54009 13.0636 7.62298 13.0981 7.71409C13.1325 7.80509 13.1498 7.90037 13.1498 7.99992C13.1498 8.09948 13.1325 8.19475 13.0981 8.28575C13.0636 8.37687 13.0091 8.45975 12.9346 8.53442L8.53058 12.9383C8.38703 13.0818 8.21164 13.1536 8.00442 13.1536C7.79719 13.1536 7.61758 13.0818 7.46558 12.9383C7.31369 12.7864 7.23775 12.6061 7.23775 12.3976C7.23775 12.189 7.31369 12.0088 7.46558 11.8568L10.5642 8.75826Z",
@@ -53,7 +53,7 @@ function N(a, t) {
53
53
  }, null, -1)
54
54
  ])]);
55
55
  }
56
- const Y = /* @__PURE__ */ s(M, [["render", N]]), A = {}, T = {
56
+ const N = /* @__PURE__ */ s(M, [["render", A]]), Y = {}, T = {
57
57
  xmlns: "http://www.w3.org/2000/svg",
58
58
  width: "16",
59
59
  height: "16",
@@ -68,7 +68,7 @@ function F(a, t) {
68
68
  }, null, -1)
69
69
  ])]);
70
70
  }
71
- const Z = /* @__PURE__ */ s(A, [["render", F]]), j = /* @__PURE__ */ f({
71
+ const I = /* @__PURE__ */ s(Y, [["render", F]]), Z = /* @__PURE__ */ f({
72
72
  __name: "NavigationButton.ce",
73
73
  props: {
74
74
  disabled: { type: Boolean },
@@ -86,12 +86,12 @@ const Z = /* @__PURE__ */ s(A, [["render", F]]), j = /* @__PURE__ */ f({
86
86
  disabled: t.disabled
87
87
  }, {
88
88
  default: k(() => [
89
- t.direction === "next" ? (i(), c(Y, { key: 0 })) : (i(), c(Z, { key: 1 }))
89
+ t.direction === "next" ? (i(), c(N, { key: 0 })) : (i(), c(I, { key: 1 }))
90
90
  ]),
91
91
  _: 1
92
92
  }, 8, ["tooltip-position", "label", "disabled"]));
93
93
  }
94
- }), q = "*{--pix-neutral-800: #253858;color:var(--pix-neutral-800)}.button{border-radius:100%;padding:4px;width:32px;height:32px;background:transparent;border:1px var(--pix-neutral-800) solid;aspect-ratio:1/1;fill:var(--pix-neutral-800);display:flex;align-items:center;justify-content:center}.button:hover{background:#c3d0ff}.button:active{background:#cdd1d9}", E = /* @__PURE__ */ s(j, [["styles", [q]]]);
94
+ }), j = "*{--pix-neutral-800: #253858;color:var(--pix-neutral-800)}.button{border-radius:100%;padding:4px;width:32px;height:32px;background:transparent;border:1px var(--pix-neutral-800) solid;aspect-ratio:1/1;fill:var(--pix-neutral-800);display:flex;align-items:center;justify-content:center}.button:hover{background:#c3d0ff}.button:active{background:#cdd1d9}", E = /* @__PURE__ */ s(Z, [["styles", [j]]]);
95
95
  export {
96
96
  H as B,
97
97
  E as N
@@ -4671,17 +4671,17 @@ const Mc = (e, t) => {
4671
4671
  return s;
4672
4672
  };
4673
4673
  export {
4674
- Rc as A,
4675
- Oc as B,
4674
+ Oc as A,
4675
+ Ri as B,
4676
4676
  Ns as C,
4677
4677
  pc as D,
4678
4678
  qi as E,
4679
4679
  Se as F,
4680
4680
  uc as G,
4681
- mo as H,
4682
- dc as I,
4683
- Ac as J,
4684
- mc as K,
4681
+ mc as H,
4682
+ mo as I,
4683
+ dc as J,
4684
+ Ac as K,
4685
4685
  hs as L,
4686
4686
  bc as M,
4687
4687
  xc as N,
@@ -4704,14 +4704,14 @@ export {
4704
4704
  Ni as n,
4705
4705
  zs as o,
4706
4706
  Wo as p,
4707
- Ri as q,
4707
+ Tl as q,
4708
4708
  ac as r,
4709
4709
  io as s,
4710
4710
  Lr as t,
4711
4711
  Ec as u,
4712
- Tl as v,
4712
+ ps as v,
4713
4713
  yc as w,
4714
- ps as x,
4715
- Sc as y,
4716
- hc as z
4714
+ Sc as x,
4715
+ hc as y,
4716
+ Rc as z
4717
4717
  };
@@ -1,14 +1,14 @@
1
- import { a as Y, h as T, c as p, o as d, F as U, g as u, H as s, y as h, f as e, t, j as C, T as D, _ as z, r as l, I as E, e as H, q as N, J as V, d as K } from "../_plugin-vue_export-helper-CXkSGj2f.js";
2
- import { a as G, i as q, b as J } from "../i18n-CnN3ours.js";
3
- const Q = {
1
+ import { a as Y, h as T, c as p, o as v, F as K, g as u, I as s, x as C, f as e, t, j as _, T as D, _ as q, r as l, J as E, e as U, B as N, K as V, d as x } from "../_plugin-vue_export-helper-CWFVtOvN.js";
2
+ import { a as G, i as j, b as H } from "../i18n-C63rdMbm.js";
3
+ const J = {}, Q = {}, X = {
4
4
  "calcul-impact": { title: "Calculez votre impact IA", subtitle: "Quels ont été vos usages de l'IA la semaine dernière ?", numberOfConversationLabel: "Nombre de conversations courtes :", numberOfImagesLabel: "Nombre de créations d’images :", seePersonalImpact: "Voir votre impact personnel sur une semaine", seeCollectiveImpact: "Si 1 million de personnes faisaient comme vous toutes les semaines pendant un an", legals: "Estimations basées sur l'étude Hugging Face, Carnegie Mellon University, Allen Institute for AI, Oct 2024", yourPersonalImpact: "Votre impact personnel", consumptionForAWeek: "Votre consommation sur une semaine", consumptionForAYear: "1 million de personnes toutes les semaines pendant un an", personalConsumption: "Vous avez consommé environ {{energy}} Wh", personalDuration: "Cela équivaut à {{number}} minutes de micro-ondes", collectiveConsumption: "Cela représenterait {{energy}} kWh, soit l'équivalent de {{homes}} foyers français", collectiveDuration: "Équivalent à {{number}} minutes de micro-ondes", planeKilometers: "Et {{kilometers}} km parcourus en avion", yourCollectiveImpact: "Impact collectif simulé" }
5
- }, x = {
5
+ }, Z = {}, ee = {}, ae = {
6
6
  key: 0,
7
7
  class: "result-calculation"
8
- }, X = ["aria-level"], Z = { class: "consumption" }, ee = { style: { "font-weight": "bold" } }, ae = { style: { "font-weight": "bold" } }, te = {
8
+ }, te = ["aria-level"], le = { class: "consumption" }, oe = { style: { "font-weight": "bold" } }, ne = { style: { "font-weight": "bold" } }, ie = {
9
9
  key: 0,
10
10
  class: "result-calculation"
11
- }, le = ["titleLevel"], oe = { class: "consumption" }, ne = { style: { "font-weight": "bold" } }, ie = { style: { "font-weight": "bold" } }, se = { style: { "font-weight": "bold" } }, re = { style: { "font-weight": "bold" } }, ce = /* @__PURE__ */ Y({
11
+ }, se = ["titleLevel"], re = { class: "consumption" }, ce = { style: { "font-weight": "bold" } }, ue = { style: { "font-weight": "bold" } }, ve = { style: { "font-weight": "bold" } }, de = { style: { "font-weight": "bold" } }, me = /* @__PURE__ */ Y({
12
12
  __name: "ImpactsResults.ce",
13
13
  props: {
14
14
  titleLevel: { type: Number },
@@ -17,118 +17,118 @@ const Q = {
17
17
  isPersonal: { type: Boolean },
18
18
  isCollective: { type: Boolean }
19
19
  },
20
- setup(v) {
20
+ setup(d) {
21
21
  return (a, o) => {
22
22
  const n = T("i18next");
23
- return d(), p(U, null, [
23
+ return v(), p(K, null, [
24
24
  u(D, { name: "fade-perso" }, {
25
25
  default: s(() => [
26
- a.isPersonal ? (d(), p("div", x, [
26
+ a.isPersonal ? (v(), p("div", ae, [
27
27
  e("div", {
28
28
  class: "header",
29
29
  role: "heading",
30
30
  "aria-level": a.titleLevel + 1
31
- }, "📌 " + t(a.$t("calcul-impact.yourPersonalImpact")), 9, X),
32
- e("p", Z, t(a.$t("calcul-impact.consumptionForAWeek")), 1),
31
+ }, "📌 " + t(a.$t("calcul-impact.yourPersonalImpact")), 9, te),
32
+ e("p", le, t(a.$t("calcul-impact.consumptionForAWeek")), 1),
33
33
  e("p", null, [
34
- o[0] || (o[0] = C("⚡ ", -1)),
34
+ o[0] || (o[0] = _("⚡ ", -1)),
35
35
  u(n, {
36
36
  translation: a.$t("calcul-impact.personalConsumption")
37
37
  }, {
38
38
  energy: s(() => [
39
- e("span", ee, t(a.byWeekForOne.energyByWeek), 1)
39
+ e("span", oe, t(a.byWeekForOne.energyByWeek), 1)
40
40
  ]),
41
41
  _: 1
42
42
  }, 8, ["translation"])
43
43
  ]),
44
44
  e("p", null, [
45
- o[1] || (o[1] = C("🍽️ ", -1)),
45
+ o[1] || (o[1] = _("🍽️ ", -1)),
46
46
  u(n, {
47
47
  translation: a.$t("calcul-impact.personalDuration")
48
48
  }, {
49
49
  number: s(() => [
50
- e("span", ae, t(a.byWeekForOne.personalMicrowavesDuration), 1)
50
+ e("span", ne, t(a.byWeekForOne.personalMicrowavesDuration), 1)
51
51
  ]),
52
52
  _: 1
53
53
  }, 8, ["translation"])
54
54
  ])
55
- ])) : h("", !0)
55
+ ])) : C("", !0)
56
56
  ]),
57
57
  _: 1
58
58
  }),
59
59
  u(D, { name: "fade-collectif" }, {
60
60
  default: s(() => [
61
- a.isCollective ? (d(), p("div", te, [
61
+ a.isCollective ? (v(), p("div", ie, [
62
62
  e("div", {
63
63
  class: "header",
64
64
  role: "heading",
65
65
  titleLevel: a.titleLevel + 1
66
- }, "🌍 " + t(a.$t("calcul-impact.yourCollectiveImpact")), 9, le),
67
- e("p", oe, t(a.$t("calcul-impact.consumptionForAYear")), 1),
66
+ }, "🌍 " + t(a.$t("calcul-impact.yourCollectiveImpact")), 9, se),
67
+ e("p", re, t(a.$t("calcul-impact.consumptionForAYear")), 1),
68
68
  e("p", null, [
69
- o[2] || (o[2] = C("⚡ ", -1)),
69
+ o[2] || (o[2] = _("⚡ ", -1)),
70
70
  u(n, {
71
71
  translation: a.$t("calcul-impact.collectiveConsumption")
72
72
  }, {
73
73
  energy: s(() => [
74
- e("span", ne, t(a.byYearForAMillion.collectiveAnnualEnergy), 1)
74
+ e("span", ce, t(a.byYearForAMillion.collectiveAnnualEnergy), 1)
75
75
  ]),
76
76
  homes: s(() => [
77
- e("span", ie, t(a.byYearForAMillion.equivalentPopulationByCity), 1)
77
+ e("span", ue, t(a.byYearForAMillion.equivalentPopulationByCity), 1)
78
78
  ]),
79
79
  _: 1
80
80
  }, 8, ["translation"])
81
81
  ]),
82
82
  e("p", null, [
83
- o[3] || (o[3] = C("🍽️ ", -1)),
83
+ o[3] || (o[3] = _("🍽️ ", -1)),
84
84
  u(n, {
85
85
  translation: a.$t("calcul-impact.collectiveDuration")
86
86
  }, {
87
87
  number: s(() => [
88
- e("span", se, t(a.byYearForAMillion.collectiveMicrowavesDuration), 1)
88
+ e("span", ve, t(a.byYearForAMillion.collectiveMicrowavesDuration), 1)
89
89
  ]),
90
90
  _: 1
91
91
  }, 8, ["translation"])
92
92
  ]),
93
93
  e("p", null, [
94
- o[4] || (o[4] = C("✈️ ", -1)),
94
+ o[4] || (o[4] = _("✈️ ", -1)),
95
95
  u(n, {
96
96
  translation: a.$t("calcul-impact.planeKilometers")
97
97
  }, {
98
98
  kilometers: s(() => [
99
- e("span", re, t(a.byYearForAMillion.kilometerByPlane), 1)
99
+ e("span", de, t(a.byYearForAMillion.kilometerByPlane), 1)
100
100
  ]),
101
101
  _: 1
102
102
  }, 8, ["translation"])
103
103
  ])
104
- ])) : h("", !0)
104
+ ])) : C("", !0)
105
105
  ]),
106
106
  _: 1
107
107
  })
108
108
  ], 64);
109
109
  };
110
110
  }
111
- }), ue = ".result-calculation[data-v-350a9de7]{background:#e0f7fa;border-left:solid 3px #00796b;padding:1rem;border-radius:10px}.header[data-v-350a9de7]{font-size:1.125rem;font-weight:700}.consumption[data-v-350a9de7]{font-style:italic}.fade-perso-enter-active[data-v-350a9de7],.fade-collectif-enter-active[data-v-350a9de7]{transition:all .3s ease-out}.fade-perso-leave-active[data-v-350a9de7],.fade-collectif-leave-active[data-v-350a9de7]{transition:all .8s cubic-bezier(1,.5,.8,1)}.fade-perso-enter-from[data-v-350a9de7],.fade-collectif-enter-from[data-v-350a9de7],.fade-perso-leave-to[data-v-350a9de7],.fade-collectif-leave-to[data-v-350a9de7]{transform:translate(20px);opacity:0}", de = /* @__PURE__ */ z(ce, [["styles", [ue]], ["__scopeId", "data-v-350a9de7"]]), ve = { class: "container" }, me = ["arial-level"], pe = { for: "numberOfConversation" }, be = { for: "numberOfImage" }, fe = { class: "legals" }, ye = /* @__PURE__ */ Y({
111
+ }), pe = ".result-calculation[data-v-350a9de7]{background:#e0f7fa;border-left:solid 3px #00796b;padding:1rem;border-radius:10px}.header[data-v-350a9de7]{font-size:1.125rem;font-weight:700}.consumption[data-v-350a9de7]{font-style:italic}.fade-perso-enter-active[data-v-350a9de7],.fade-collectif-enter-active[data-v-350a9de7]{transition:all .3s ease-out}.fade-perso-leave-active[data-v-350a9de7],.fade-collectif-leave-active[data-v-350a9de7]{transition:all .8s cubic-bezier(1,.5,.8,1)}.fade-perso-enter-from[data-v-350a9de7],.fade-collectif-enter-from[data-v-350a9de7],.fade-perso-leave-to[data-v-350a9de7],.fade-collectif-leave-to[data-v-350a9de7]{transform:translate(20px);opacity:0}", be = /* @__PURE__ */ q(me, [["styles", [pe]], ["__scopeId", "data-v-350a9de7"]]), fe = { class: "container" }, ye = ["arial-level"], ge = { for: "numberOfConversation" }, _e = { for: "numberOfImage" }, Ce = { class: "legals" }, he = /* @__PURE__ */ Y({
112
112
  __name: "CalculImpact.ce",
113
113
  props: {
114
114
  titleLevel: { type: Number }
115
115
  },
116
- setup(v, { expose: a }) {
117
- const n = v.titleLevel ?? 2, b = l(10), f = l(2), w = l(0), $ = l(0), B = l(0), r = l(!1), y = l(!1);
118
- function S() {
119
- b.value = 10, f.value = 2, c.value = {}, m.value = {}, w.value = 0, $.value = 0, B.value = 0, r.value = !1, y.value = !1, _.value = 0, F.value = 0, g.value = 0, A.value = 0, O.value = 0;
116
+ setup(d, { expose: a }) {
117
+ const n = d.titleLevel ?? 2, b = l(10), f = l(2), w = l(0), $ = l(0), B = l(0), r = l(!1), y = l(!1);
118
+ function z() {
119
+ b.value = 10, f.value = 2, c.value = {}, m.value = {}, w.value = 0, $.value = 0, B.value = 0, r.value = !1, y.value = !1, k.value = 0, F.value = 0, g.value = 0, A.value = 0, O.value = 0;
120
120
  }
121
- const k = {
121
+ const h = {
122
122
  text: { energy: 2.9, co2: 1.5 },
123
123
  image: { energy: 32, co2: 20 }
124
- }, c = l({}), m = l({}), _ = l(0), F = l(0), g = l(0), A = l(0), O = l(0);
124
+ }, c = l({}), m = l({}), k = l(0), F = l(0), g = l(0), A = l(0), O = l(0);
125
125
  function P() {
126
- _.value = b.value * k.text.energy + f.value * k.image.energy, F.value = b.value * k.text.co2 + f.value * k.image.co2, w.value = Number((_.value / 0.8).toFixed(1)), c.value.energyByWeek = _.value.toFixed(1), c.value.personalMicrowavesDuration = w.value, c.value.co2ByWeek = F.value.toFixed(1);
126
+ k.value = b.value * h.text.energy + f.value * h.image.energy, F.value = b.value * h.text.co2 + f.value * h.image.co2, w.value = Number((k.value / 0.8).toFixed(1)), c.value.energyByWeek = k.value.toFixed(1), c.value.personalMicrowavesDuration = w.value, c.value.co2ByWeek = F.value.toFixed(1);
127
127
  }
128
128
  function M() {
129
129
  g.value = c.value.energyByWeek * 52 * 1e6 / 1e3, A.value = c.value.co2ByWeek * 52 * 1e6 / 1e6, O.value = Math.round(g.value / 2300), $.value = g.value / 0.8, B.value = A.value * 2410, m.value.collectiveMicrowavesDuration = $.value.toLocaleString(), m.value.kilometerByPlane = B.value.toLocaleString(), m.value.equivalentPopulationByCity = O.value.toLocaleString(), m.value.collectiveAnnualEnergy = g.value.toLocaleString();
130
130
  }
131
- function j() {
131
+ function S() {
132
132
  P(), r.value = !0;
133
133
  }
134
134
  function R() {
@@ -138,15 +138,15 @@ const Q = {
138
138
  r.value && y.value && (P(), M());
139
139
  }
140
140
  return a({
141
- reset: S
142
- }), (i, I) => (d(), p("div", ve, [
141
+ reset: z
142
+ }), (i, I) => (v(), p("div", fe, [
143
143
  e("div", {
144
144
  class: "title",
145
145
  role: "heading",
146
146
  "arial-level": N(n)
147
- }, "📊 " + t(i.$t("calcul-impact.title")), 9, me),
147
+ }, "📊 " + t(i.$t("calcul-impact.title")), 9, ye),
148
148
  e("p", null, t(i.$t("calcul-impact.subtitle")), 1),
149
- e("label", pe, "🤖 " + t(i.$t("calcul-impact.numberOfConversationLabel")), 1),
149
+ e("label", ge, "🤖 " + t(i.$t("calcul-impact.numberOfConversationLabel")), 1),
150
150
  E(e("input", {
151
151
  onChange: W,
152
152
  type: "number",
@@ -155,7 +155,7 @@ const Q = {
155
155
  }, null, 544), [
156
156
  [V, b.value]
157
157
  ]),
158
- e("label", be, "🖼️ " + t(i.$t("calcul-impact.numberOfImagesLabel")), 1),
158
+ e("label", _e, "🖼️ " + t(i.$t("calcul-impact.numberOfImagesLabel")), 1),
159
159
  E(e("input", {
160
160
  onChange: W,
161
161
  type: "number",
@@ -164,31 +164,31 @@ const Q = {
164
164
  }, null, 544), [
165
165
  [V, f.value]
166
166
  ]),
167
- r.value ? (d(), H(de, {
167
+ r.value ? (v(), U(be, {
168
168
  key: 0,
169
169
  "is-collective": y.value,
170
170
  "is-personal": r.value,
171
171
  "title-level": N(n),
172
172
  "by-week-for-one": c.value,
173
173
  "by-year-for-a-million": m.value
174
- }, null, 8, ["is-collective", "is-personal", "title-level", "by-week-for-one", "by-year-for-a-million"])) : h("", !0),
175
- r.value ? h("", !0) : (d(), p("button", {
174
+ }, null, 8, ["is-collective", "is-personal", "title-level", "by-week-for-one", "by-year-for-a-million"])) : C("", !0),
175
+ r.value ? C("", !0) : (v(), p("button", {
176
176
  key: 1,
177
- onClick: j
177
+ onClick: S
178
178
  }, "📌 " + t(i.$t("calcul-impact.seePersonalImpact")), 1)),
179
- r.value && !y.value ? (d(), p("button", {
179
+ r.value && !y.value ? (v(), p("button", {
180
180
  key: 2,
181
181
  onClick: R
182
- }, "🌍 " + t(i.$t("calcul-impact.seeCollectiveImpact")), 1)) : h("", !0),
183
- e("p", fe, "📝 " + t(i.$t("calcul-impact.legals")), 1)
182
+ }, "🌍 " + t(i.$t("calcul-impact.seeCollectiveImpact")), 1)) : C("", !0),
183
+ e("p", Ce, "📝 " + t(i.$t("calcul-impact.legals")), 1)
184
184
  ]));
185
185
  }
186
- }), ge = "[data-v-9b2dbaaa]{font-family:Nunito,Roboto,sans-serif;color:#253858}p[data-v-9b2dbaaa]{padding:0}.container[data-v-9b2dbaaa]{display:flex;flex-direction:column;gap:1rem}.container button[data-v-9b2dbaaa]{border:0;border-radius:5px;font-size:.9rem;background:#357abd;color:#fff;width:50%;padding:.4rem .8rem;margin:auto;cursor:pointer}.container button[data-v-9b2dbaaa]:hover{background:#225d93}.container input[data-v-9b2dbaaa]{border:solid 1px lightgrey;border-radius:5px;padding-block:.2rem;width:40%}.container label[data-v-9b2dbaaa]{font-weight:700}.container .legals[data-v-9b2dbaaa]{font-size:.9rem;font-style:italic}.container .title[data-v-9b2dbaaa]{font-size:1.3rem;font-weight:700}@media only screen and (max-width: 768px){.container button[data-v-9b2dbaaa]{width:100%}.container input[data-v-9b2dbaaa]{width:80%}}", Ce = /* @__PURE__ */ z(ye, [["styles", [ge]], ["__scopeId", "data-v-9b2dbaaa"]]);
187
- G(/* @__PURE__ */ Object.assign({ "./locales/fr.json": Q })).catch((v) => console.error(v));
188
- window.customElements.define("calcul-impact", K(Ce, {
189
- configureApp(v) {
190
- q.changeLanguage(document?.documentElement?.lang || navigator.language), v.use(J, {
191
- i18next: q,
186
+ }), ke = "[data-v-9b2dbaaa]{font-family:Nunito,Roboto,sans-serif;color:#253858}p[data-v-9b2dbaaa]{padding:0}.container[data-v-9b2dbaaa]{display:flex;flex-direction:column;gap:1rem}.container button[data-v-9b2dbaaa]{border:0;border-radius:5px;font-size:.9rem;background:#357abd;color:#fff;width:50%;padding:.4rem .8rem;margin:auto;cursor:pointer}.container button[data-v-9b2dbaaa]:hover{background:#225d93}.container input[data-v-9b2dbaaa]{border:solid 1px lightgrey;border-radius:5px;padding-block:.2rem;width:40%}.container label[data-v-9b2dbaaa]{font-weight:700}.container .legals[data-v-9b2dbaaa]{font-size:.9rem;font-style:italic}.container .title[data-v-9b2dbaaa]{font-size:1.3rem;font-weight:700}@media only screen and (max-width: 768px){.container button[data-v-9b2dbaaa]{width:100%}.container input[data-v-9b2dbaaa]{width:80%}}", Ie = /* @__PURE__ */ q(he, [["styles", [ke]], ["__scopeId", "data-v-9b2dbaaa"]]);
187
+ G(/* @__PURE__ */ Object.assign({ "./locales/en.json": J, "./locales/es.json": Q, "./locales/fr.json": X, "./locales/it.json": Z, "./locales/nl.json": ee })).catch((d) => console.error(d));
188
+ window.customElements.define("calcul-impact", x(Ie, {
189
+ configureApp(d) {
190
+ j.changeLanguage(document?.documentElement?.lang || navigator.language), d.use(H, {
191
+ i18next: j,
192
192
  slotStart: "{{",
193
193
  slotEnd: "}}"
194
194
  });
@@ -1,6 +1,6 @@
1
- import { a as w, c as n, o as t, f as e, t as r, L as C, _ as x, r as p, g, F as v, b as h, x as P, e as B, d as A } from "../_plugin-vue_export-helper-CXkSGj2f.js";
2
- import { a as M, i as f, b as j } from "../i18n-CnN3ours.js";
3
- import { L as y } from "../LLMMessage.ce-BXgLZdHB.js";
1
+ import { a as w, c as n, o as t, f as e, t as r, L as C, _ as x, r as p, g, F as v, b as h, v as P, e as B, d as A } from "../_plugin-vue_export-helper-CWFVtOvN.js";
2
+ import { a as M, i as f, b as j } from "../i18n-C63rdMbm.js";
3
+ import { L as y } from "../LLMMessage.ce-Bb2k233-.js";
4
4
  const z = {}, N = {}, I = {
5
5
  "complete-phrase": { iaSuggestions: "🧠 Suggestions de l'IA", explanation: "La barre indique la probabilité de chaque mot. Plus elle est longue, plus le mot est probable dans ce contexte.", ariaLabelDescription: "Le mot {{name}} a une probabilité de {{percent}}%", clickHereButton: "Cliquez ici pour voir ce que l'IA va compléter", successfullyCompletedSentence: "🎉 Phrase complétée avec succès !" }
6
6
  }, T = {}, q = {}, E = { class: "probability-bar" }, D = { "aria-hidden": "true" }, F = { class: "sr-only" }, O = /* @__PURE__ */ w({
@@ -1,4 +1,4 @@
1
- import { d as e } from "../_plugin-vue_export-helper-CXkSGj2f.js";
2
- import { I as m } from "../ImageQuiz.ce-BpbKbNe3.js";
1
+ import { d as e } from "../_plugin-vue_export-helper-CWFVtOvN.js";
2
+ import { I as m } from "../ImageQuiz.ce-CfYpyofd.js";
3
3
  window.customElements.define("image-quiz", e(m));
4
4
  window.customElements.define("qcu-image", e(m));
@@ -1,5 +1,5 @@
1
- import { a as l, r as f, w, c as z, o as t, b as p, e as d, m as g, F as v, d as _ } from "../_plugin-vue_export-helper-CXkSGj2f.js";
2
- import { I as A } from "../ImageQuiz.ce-BpbKbNe3.js";
1
+ import { a as l, r as f, w, c as z, o as t, b as p, e as d, m as g, F as v, d as _ } from "../_plugin-vue_export-helper-CWFVtOvN.js";
2
+ import { I as A } from "../ImageQuiz.ce-CfYpyofd.js";
3
3
  const h = /* @__PURE__ */ l({
4
4
  __name: "ImageQuizzes.ce",
5
5
  props: {
@@ -1,6 +1,6 @@
1
- import { a as m, c as r, o as a, f as e, t as n, F as t, b as p, g as i, _ as c, d as g } from "../_plugin-vue_export-helper-CXkSGj2f.js";
2
- import { L as l } from "../LLMMessage.ce-BXgLZdHB.js";
3
- import { p as u } from "../shadow-dom-BPtJYPTL.js";
1
+ import { a as m, c as r, o as a, f as e, t as n, F as t, b as p, g as i, _ as c, d as g } from "../_plugin-vue_export-helper-CWFVtOvN.js";
2
+ import { L as l } from "../LLMMessage.ce-Bb2k233-.js";
3
+ import { p as u } from "../shadow-dom-DyOx0CmY.js";
4
4
  const f = {
5
5
  class: "header",
6
6
  "aria-hidden": "true"
@@ -1,6 +1,6 @@
1
- import { a as m, k as i, l as p, c as o, o as e, F as d, b as g, e as u, _ as f, d as h } from "../_plugin-vue_export-helper-CXkSGj2f.js";
2
- import { L as _ } from "../LLMMessage.ce-BXgLZdHB.js";
3
- import { p as x } from "../shadow-dom-BPtJYPTL.js";
1
+ import { a as m, k as i, l as p, c as o, o as e, F as d, b as g, e as u, _ as f, d as h } from "../_plugin-vue_export-helper-CWFVtOvN.js";
2
+ import { L as _ } from "../LLMMessage.ce-Bb2k233-.js";
3
+ import { p as x } from "../shadow-dom-DyOx0CmY.js";
4
4
  const b = {
5
5
  class: "llm-messages",
6
6
  "aria-live": "polite"
@@ -1,4 +1,4 @@
1
- import { a as v, r as c, h, c as i, o as d, g as y, f as l, j as w, F as f, b as k, t as S, _ as C, d as L } from "../_plugin-vue_export-helper-CXkSGj2f.js";
1
+ import { a as v, r as c, h, c as i, o as d, g as y, f as l, j as w, F as f, b as k, t as S, _ as C, d as L } from "../_plugin-vue_export-helper-CWFVtOvN.js";
2
2
  import "./llm-messages.ce.js.js";
3
3
  const N = { class: "prompt-select" }, P = { class: "prompt-select__options" }, B = ["disabled", "onClick"], E = /* @__PURE__ */ v({
4
4
  __name: "LLMPromptSelect.ce",
@@ -1,10 +1,10 @@
1
- import { a as D, r as w, v as M, E as $, c as t, o as s, x, y as m, f as h, j as k, t as v, g as E, G as B, m as T, F as b, b as N, _ as S, D as V, e as z, d as F } from "../_plugin-vue_export-helper-CXkSGj2f.js";
2
- import { L } from "../Loading.ce-BaqTP6QH.js";
1
+ import { a as D, r as w, q as M, E as $, c as t, o as s, v as x, x as m, f as h, j as k, t as v, g as E, G as B, m as T, F as b, b as N, _ as S, D as V, e as z, d as F } from "../_plugin-vue_export-helper-CWFVtOvN.js";
2
+ import { L } from "../Loading.ce-DKXphIYa.js";
3
3
  const P = ["part"], j = {
4
4
  key: 1,
5
5
  class: "message__loader message__content",
6
6
  "aria-hidden": "true"
7
- }, I = ["part"], G = { key: 1 }, O = { key: 0 }, R = /* @__PURE__ */ D({
7
+ }, I = ["part"], q = { key: 1 }, G = { key: 0 }, O = /* @__PURE__ */ D({
8
8
  __name: "Message.ce",
9
9
  props: {
10
10
  displaySender: { type: Boolean, default: !0 },
@@ -53,15 +53,15 @@ const P = ["part"], j = {
53
53
  part: `message ${e.message.direction}`
54
54
  }, [
55
55
  e.message.image ? (s(), t("img", B(T({ key: 0 }, e.message.image)), null, 16)) : m("", !0),
56
- e.message.image ? (s(), t("br", G)) : m("", !0),
56
+ e.message.image ? (s(), t("br", q)) : m("", !0),
57
57
  (s(!0), t(b, null, N(p.value, (o, r) => (s(), t(b, { key: r }, [
58
- r > 0 ? (s(), t("br", O)) : m("", !0),
58
+ r > 0 ? (s(), t("br", G)) : m("", !0),
59
59
  k(" " + v(o), 1)
60
60
  ], 64))), 128))
61
61
  ], 10, I)
62
62
  ], 2));
63
63
  }
64
- }), q = ".message{max-width:80%;position:relative}.message--incoming{align-self:start}.message--incoming .message__sender{padding-left:10px}.message--incoming .message__loader{left:10px}.message--incoming .message__content{background-color:#e8e8e8}.message--outgoing{align-self:end}.message--outgoing .message__sender{padding-right:10px;text-align:right}.message--outgoing .message__loader{right:10px}.message--outgoing .message__content{background-color:#d1eaff}.message__sender{color:#444;font-size:.8rem;font-weight:700;margin:0}.message__loader{position:absolute;width:24px}.message__content{border-radius:16px;margin:0;padding:10px 14px}.message__content:not(.hidden-state){animation:fade .3s ease-in-out both}.message__content>img{max-width:100%}.hidden-state{visibility:hidden}@keyframes fade{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion: reduce){.message__content:not(.hidden-state){animation:none}.message__loader{display:none}.hidden-state{visibility:visible}}", H = /* @__PURE__ */ S(R, [["styles", [q]]]), J = { part: "conversation" }, K = { class: "sr-only" }, Q = /* @__PURE__ */ D({
64
+ }), R = ".message{max-width:80%;position:relative}.message--incoming{align-self:start}.message--incoming .message__sender{padding-left:10px}.message--incoming .message__loader{left:10px}.message--incoming .message__content{background-color:#e8e8e8}.message--outgoing{align-self:end}.message--outgoing .message__sender{padding-right:10px;text-align:right}.message--outgoing .message__loader{right:10px}.message--outgoing .message__content{background-color:#d1eaff}.message__sender{color:#444;font-size:.8rem;font-weight:700;margin:0}.message__loader{position:absolute;width:24px}.message__content{border-radius:16px;margin:0;padding:10px 14px}.message__content:not(.hidden-state){animation:fade .3s ease-in-out both}.message__content>img{max-width:100%}.hidden-state{visibility:hidden}@keyframes fade{0%{opacity:0}to{opacity:1}}@media (prefers-reduced-motion: reduce){.message__content:not(.hidden-state){animation:none}.message__loader{display:none}.hidden-state{visibility:visible}}", H = /* @__PURE__ */ S(O, [["styles", [R]]]), J = { part: "conversation" }, K = { class: "sr-only" }, Q = /* @__PURE__ */ D({
65
65
  __name: "MessageConversation.ce",
66
66
  props: {
67
67
  title: { default: "Conversation par messages", type: String },
@@ -1,8 +1,8 @@
1
- import { a as d, c as n, o as i, f as a, t as r, F as l, b as h, q as u, _ as p, d as _ } from "../_plugin-vue_export-helper-CXkSGj2f.js";
2
- import { a as m, i as o, b as f } from "../i18n-CnN3ours.js";
3
- const y = {
1
+ import { a as g, c as n, o as i, f as a, t as l, F as o, b as d, B as h, _ as u, d as p } from "../_plugin-vue_export-helper-CWFVtOvN.js";
2
+ import { a as m, i as r, b as f } from "../i18n-C63rdMbm.js";
3
+ const v = {}, y = {}, b = {
4
4
  "pix-article": { byAuthor: "Par {{author}}" }
5
- }, v = ["titleLevel"], S = { class: "article__metadata" }, b = { class: "article__author" }, L = ["innerHTML"], x = /* @__PURE__ */ d({
5
+ }, S = {}, L = {}, j = ["titleLevel"], x = { class: "article__metadata" }, A = { class: "article__author" }, B = ["innerHTML"], E = /* @__PURE__ */ g({
6
6
  __name: "PixArticle.ce",
7
7
  props: {
8
8
  titleLevel: { default: 2, type: Number },
@@ -17,26 +17,26 @@ const y = {
17
17
  const s = e.paragraphs.join(`
18
18
  `).replace("{{highlightedSentence}}", `<strong style="color: ${e.colorOfHighlightSentence};">${e.highlightedSentence}</strong>`).split(`
19
19
  `);
20
- return (t, H) => (i(), n(l, null, [
20
+ return (t, w) => (i(), n(o, null, [
21
21
  a("div", {
22
22
  class: "article__title",
23
23
  role: "heading",
24
24
  titleLevel: t.titleLevel
25
- }, r(t.title), 9, v),
26
- a("p", S, [
27
- a("span", b, r(t.$t("pix-article.byAuthor", { author: t.author })), 1),
28
- a("time", null, r(t.date), 1)
25
+ }, l(t.title), 9, j),
26
+ a("p", x, [
27
+ a("span", A, l(t.$t("pix-article.byAuthor", { author: t.author })), 1),
28
+ a("time", null, l(t.date), 1)
29
29
  ]),
30
- (i(!0), n(l, null, h(u(s), (c, g) => (i(), n("p", {
30
+ (i(!0), n(o, null, d(h(s), (c, _) => (i(), n("p", {
31
31
  innerHTML: c,
32
- key: g
33
- }, null, 8, L))), 128))
32
+ key: _
33
+ }, null, 8, B))), 128))
34
34
  ], 64));
35
35
  }
36
- }), A = "[data-v-30ea36f1]{--pix-neutral-800: #253858;font-family:Nunito,Roboto,sans-serif;color:var(--pix-neutral-800)}.article__title[data-v-30ea36f1]{font-size:1.3rem;font-weight:700}.article__metadata[data-v-30ea36f1]{font-style:italic}.article__author[data-v-30ea36f1]{border-right:solid 1px var(--pix-neutral-800);padding-right:.7rem;margin-right:.5rem}", E = /* @__PURE__ */ p(x, [["styles", [A]], ["__scopeId", "data-v-30ea36f1"]]);
37
- m(/* @__PURE__ */ Object.assign({ "./locales/fr.json": y })).catch((e) => console.error(e));
38
- window.customElements.define("pix-article", _(E, {
36
+ }), H = "[data-v-30ea36f1]{--pix-neutral-800: #253858;font-family:Nunito,Roboto,sans-serif;color:var(--pix-neutral-800)}.article__title[data-v-30ea36f1]{font-size:1.3rem;font-weight:700}.article__metadata[data-v-30ea36f1]{font-style:italic}.article__author[data-v-30ea36f1]{border-right:solid 1px var(--pix-neutral-800);padding-right:.7rem;margin-right:.5rem}", k = /* @__PURE__ */ u(E, [["styles", [H]], ["__scopeId", "data-v-30ea36f1"]]);
37
+ m(/* @__PURE__ */ Object.assign({ "./locales/en.json": v, "./locales/es.json": y, "./locales/fr.json": b, "./locales/it.json": S, "./locales/nl.json": L })).catch((e) => console.error(e));
38
+ window.customElements.define("pix-article", p(k, {
39
39
  configureApp(e) {
40
- o.changeLanguage(document?.documentElement?.lang ?? navigator.language), e.use(f, { i18next: o });
40
+ r.changeLanguage(document?.documentElement?.lang ?? navigator.language), e.use(f, { i18next: r });
41
41
  }
42
42
  }));
@@ -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, q as h, c as l, o, v as j, f as r, x as M, H as z, j as E, t as g, _ as b, r as w, C as H, B as u, g as m, L as $, y as I, I as _, F as S, b as k, e as A, d as D } from "../_plugin-vue_export-helper-CWFVtOvN.js";
2
+ import { a as V, i as N, b as P } from "../i18n-C63rdMbm.js";
3
+ import { B, N as T } from "../NavigationButton.ce-DWJMfoec.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 = {
@@ -11,7 +11,7 @@ const F = {
11
11
  "pix-carousel": { license: "Licenza d'immagine", next: "Avanti", of: "{{ currentSlide }} di {{ slideLength }}", previous: "Precedente", slide: "Diapositiva", title: "Galleria" }
12
12
  }, q = {
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"], J = ["innerHTML"], K = {
15
15
  key: 1,
16
16
  class: "description"
17
17
  }, Q = /* @__PURE__ */ C({
@@ -38,17 +38,17 @@ const F = {
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
+ E(" " + 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, J)) : t.description ? (o(), l("p", K, g(t.description), 1)) : M("", !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 = {
@@ -94,7 +94,7 @@ 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
+ E(g(e.slide.license.attribution) + " / ", 1),
98
98
  r("a", {
99
99
  href: e.slide.license.url,
100
100
  target: "_blank"
@@ -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,
@@ -170,7 +170,7 @@ const ve = /* @__PURE__ */ b(fe, [["render", ge]]), he = ["aria-roledescription"
170
170
  function x(a) {
171
171
  e.value = a, d.value = (d.value - a + i.slides.length) % i.slides.length;
172
172
  }
173
- const v = D();
173
+ const v = I();
174
174
  return (a, c) => (o(), l("section", {
175
175
  "aria-roledescription": a.$t("pix-carousel.title")
176
176
  }, [
@@ -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,
@@ -254,7 +254,7 @@ const ve = /* @__PURE__ */ b(fe, [["render", ge]]), he = ["aria-roledescription"
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
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));
257
- window.customElements.define("pix-carousel", I($e, {
257
+ window.customElements.define("pix-carousel", D($e, {
258
258
  configureApp(n) {
259
259
  N.changeLanguage(document?.documentElement?.lang || navigator.language), n.use(P, { i18next: N });
260
260
  }
@@ -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 B, r as y, y as k, q as m, h as S, c as a, o as i, f as s, J as E, B as c, t as u, F as f, b, K as H, g, v as C, I as L, x as F, A as P, _ as D, d as q } from "../_plugin-vue_export-helper-CWFVtOvN.js";
2
+ import { a as G, i as w, b as J } from "../i18n-C63rdMbm.js";
3
+ import { N as j } from "../NavigationButton.ce-DWJMfoec.js";
4
+ const K = {}, R = {}, U = {
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,17 +12,17 @@ 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__ */ B({
16
16
  __name: "PixCursor.ce",
17
17
  props: {
18
18
  options: { type: Array }
19
19
  },
20
20
  setup(d, { expose: M }) {
21
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));
22
- function z() {
22
+ function $() {
23
23
  o.value = !0;
24
24
  }
25
- function $() {
25
+ function z() {
26
26
  o.value || (r.value = Math.max(0, l.value - 1));
27
27
  }
28
28
  function O() {
@@ -40,7 +40,7 @@ const R = {}, U = {}, K = {
40
40
  const V = S("i18next");
41
41
  return i(), a("form", {
42
42
  class: "pix-cursor",
43
- onSubmit: P(z, ["prevent"])
43
+ onSubmit: P($, ["prevent"])
44
44
  }, [
45
45
  s("div", null, [
46
46
  s("label", {
@@ -49,19 +49,19 @@ 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: (A) => _(e),
53
53
  key: e
54
54
  }, u(n.label), 9, Z))), 128))
55
55
  ]),
56
56
  s("datalist", { id: c(h) }, [
57
57
  (i(!0), a(f, null, b(t.options, (n, e) => (i(), a("option", {
58
- onClick: (B) => _(e),
58
+ onClick: (A) => _(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
+ E(s("input", {
65
65
  "onUpdate:modelValue": x[0] || (x[0] = (n) => r.value = n),
66
66
  id: c(v),
67
67
  type: "range",
@@ -70,11 +70,11 @@ const R = {}, U = {}, K = {
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
76
  g(j, {
77
- onClick: $,
77
+ onClick: z,
78
78
  disabled: o.value || N.value,
79
79
  label: t.$t("pix-cursor.previous"),
80
80
  "aria-controls": c(v),
@@ -129,7 +129,7 @@ const R = {}, U = {}, K = {
129
129
  };
130
130
  }
131
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));
132
+ G(/* @__PURE__ */ Object.assign({ "./locales/en.json": K, "./locales/es.json": R, "./locales/fr.json": U, "./locales/it.json": Q, "./locales/nl.json": W })).catch((d) => console.error(d));
133
133
  window.customElements.define("pix-cursor", q(pe, {
134
134
  configureApp(d) {
135
135
  w.changeLanguage(document?.documentElement?.lang || navigator.language), d.use(J, { i18next: w });
@@ -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, x as b, t as d, v as C, _ as w, M as A, N as R, r as y, q as _, J as E, j as V, O as j, D as M, F as h, b as S, e as O, B as G, A as P, g as F, d as H } from "../_plugin-vue_export-helper-CWFVtOvN.js";
2
+ import { i as s, a as Q, b as U } from "../i18n-C63rdMbm.js";
3
+ const J = {}, W = {}, Z = {
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__ */ A({
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 = R(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();
@@ -78,13 +78,13 @@ const W = {
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 = M("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 = [
114
114
  {
115
115
  type: "info",
116
116
  image: a.infoImage,
@@ -135,7 +135,7 @@ 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), T = _(() => 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
140
  return i.value === "info" ? B() : I();
141
141
  }
@@ -151,22 +151,22 @@ const W = {
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, S(G(p), (f, x) => (r(), O(ue, {
170
170
  ref_for: !0,
171
171
  ref_key: "optionsNode",
172
172
  ref: v,
@@ -179,26 +179,26 @@ const W = {
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
195
  V(" " + d(T.value), 1)
196
- ], 10, pe),
197
- t("p", ve, d(D.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, S(N, (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
+ Q(/* @__PURE__ */ Object.assign({ "./locales/en.json": J, "./locales/es.json": W, "./locales/fr.json": Z, "./locales/it.json": K, "./locales/nl.json": X })).catch((a) => console.error(a));
217
+ window.customElements.define("qcm-deepfake", H(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-CWFVtOvN.js";
2
2
  const d = (o) => typeof o == "string", V = () => {
3
3
  let o, e;
4
4
  const t = new Promise((i, s) => {
@@ -1,4 +1,4 @@
1
- import { u as t, p as s } from "./_plugin-vue_export-helper-CXkSGj2f.js";
1
+ import { u as t, p as s } from "./_plugin-vue_export-helper-CWFVtOvN.js";
2
2
  const a = Symbol("shadowRoot");
3
3
  function r() {
4
4
  const o = t();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@1024pix/epreuves-components",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "description": "A collection of interactive components to be used in Pix challenges or modules",
5
5
  "exports": {
6
6
  ".": "./dist/index.js",