@1024pix/epreuves-components 1.2.1 → 1.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (28) hide show
  1. package/dist/{ImageQuiz.ce-CfYpyofd.js → ImageQuiz.ce-BU1wvQqO.js} +57 -67
  2. package/dist/{LLMMessage.ce-Bb2k233-.js → LLMMessage.ce-55YTC7a9.js} +8 -8
  3. package/dist/{Loading.ce-DKXphIYa.js → Loading.ce-BQOiwGj0.js} +1 -1
  4. package/dist/{NavigationButton.ce-DWJMfoec.js → NavigationButton.ce-CgyZHLpi.js} +6 -6
  5. package/dist/_plugin-vue_export-helper-BaT1QC5Q.js +4770 -0
  6. package/dist/components/calcul-impact.ce.js.js +53 -53
  7. package/dist/components/capacity-calculation.ce.js.js +279 -0
  8. package/dist/components/clickable-image.ce.js.js +96 -0
  9. package/dist/components/complete-phrase.ce.js.js +10 -10
  10. package/dist/components/flip-cards.ce.js.js +108 -0
  11. package/dist/components/image-quiz.ce.js.js +2 -2
  12. package/dist/components/image-quizzes.ce.js.js +2 -2
  13. package/dist/components/llm-compare-messages.ce.js.js +3 -3
  14. package/dist/components/llm-messages.ce.js.js +3 -3
  15. package/dist/components/llm-prompt-select.ce.js.js +7 -7
  16. package/dist/components/message-conversation.ce.js.js +19 -19
  17. package/dist/components/pix-article.ce.js.js +7 -7
  18. package/dist/components/pix-carousel.ce.js.js +14 -14
  19. package/dist/components/pix-cursor.ce.js.js +28 -28
  20. package/dist/components/qcm-deepfake.ce.js.js +13 -13
  21. package/dist/{i18n-C63rdMbm.js → i18n-BOk_ejZ-.js} +1 -1
  22. package/dist/index.js +10 -7
  23. package/dist/metadata.js +51 -26
  24. package/dist/schema.js +78 -23
  25. package/dist/{shadow-dom-DyOx0CmY.js → shadow-dom-CLVtaG5r.js} +1 -1
  26. package/dist/shuffled-CzcgAL34.js +14 -0
  27. package/package.json +1 -1
  28. package/dist/_plugin-vue_export-helper-CWFVtOvN.js +0 -4717
@@ -1,9 +1,9 @@
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";
1
+ import { a as w, c as n, o as t, f as e, t as r, x as C, _ as x, r as p, y as g, F as v, b as h, H as P, e as B, d as A } from "../_plugin-vue_export-helper-BaT1QC5Q.js";
2
+ import { a as M, i as f, b as j } from "../i18n-BOk_ejZ-.js";
3
+ import { L as y } from "../LLMMessage.ce-55YTC7a9.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
- }, T = {}, q = {}, E = { class: "probability-bar" }, D = { "aria-hidden": "true" }, F = { class: "sr-only" }, O = /* @__PURE__ */ w({
6
+ }, T = {}, q = {}, E = { class: "probability-bar" }, D = { "aria-hidden": "true" }, F = { class: "sr-only" }, H = /* @__PURE__ */ w({
7
7
  __name: "ProbabilityBar.ce",
8
8
  props: {
9
9
  name: { type: String },
@@ -24,7 +24,7 @@ const z = {}, N = {}, I = {
24
24
  }, null, -1))
25
25
  ]));
26
26
  }
27
- }), R = ".probability-bar[data-v-d89fc563]{position:relative;padding-bottom:10px;border-bottom:1px solid #cbcbcb}.probability-bar__percent[data-v-d89fc563]{position:absolute;left:0;z-index:2;height:5px;border-radius:5px;background-color:#235386}.probability-bar__background[data-v-d89fc563]{position:absolute;left:0;z-index:1;width:100%;height:5px;border-radius:5px;background-color:#92a1b2}.probability-bar p[data-v-d89fc563]{margin-bottom:0}.sr-only[data-v-d89fc563]{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}", H = /* @__PURE__ */ x(O, [["styles", [R]], ["__scopeId", "data-v-d89fc563"]]), V = { class: "container" }, W = { class: "container__left-side" }, G = { class: "container__conversation" }, J = ["aria-describedby"], K = {
27
+ }), O = ".probability-bar[data-v-d89fc563]{position:relative;padding-bottom:10px;border-bottom:1px solid #cbcbcb}.probability-bar__percent[data-v-d89fc563]{position:absolute;left:0;z-index:2;height:5px;border-radius:5px;background-color:#235386}.probability-bar__background[data-v-d89fc563]{position:absolute;left:0;z-index:1;width:100%;height:5px;border-radius:5px;background-color:#92a1b2}.probability-bar p[data-v-d89fc563]{margin-bottom:0}.sr-only[data-v-d89fc563]{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}", R = /* @__PURE__ */ x(H, [["styles", [O]], ["__scopeId", "data-v-d89fc563"]]), V = { class: "container" }, W = { class: "container__left-side" }, G = { class: "container__conversation" }, J = ["aria-describedby"], K = {
28
28
  key: 1,
29
29
  class: "container__successSentence"
30
30
  }, Q = { class: "container__right-side" }, U = ["aria-level"], X = { "aria-hidden": "true" }, Y = { class: "probabilities" }, Z = ["id", "aria-hidden"], ee = /* @__PURE__ */ w({
@@ -41,7 +41,7 @@ const z = {}, N = {}, I = {
41
41
  function k() {
42
42
  u.value = !1, b.value = s.llmMessage, c.value = s.wordsToAdd, l.value = 0;
43
43
  }
44
- function L() {
44
+ function S() {
45
45
  c.value.length === 1 && (u.value = !0), l.value += 1;
46
46
  const [a, ..._] = c.value;
47
47
  c.value = _, b.value += `<span style="font-weight: bold;">${a} </span>`;
@@ -62,7 +62,7 @@ const z = {}, N = {}, I = {
62
62
  ]),
63
63
  u.value ? (t(), n("p", K, r(a.$t("complete-phrase.successfullyCompletedSentence")), 1)) : (t(), n("button", {
64
64
  key: 0,
65
- onClick: L,
65
+ onClick: S,
66
66
  class: "container__button",
67
67
  "aria-describedby": `currentProbability${l.value}`
68
68
  }, r(a.$t("complete-phrase.clickHereButton")), 9, J))
@@ -75,16 +75,16 @@ const z = {}, N = {}, I = {
75
75
  }, r(a.$t("complete-phrase.iaSuggestions")), 9, U),
76
76
  e("p", X, r(a.$t("complete-phrase.explanation")), 1),
77
77
  e("div", Y, [
78
- (t(!0), n(v, null, h(a.listOfProbabilityBarsLists, (S, d) => (t(), n("div", {
78
+ (t(!0), n(v, null, h(a.listOfProbabilityBarsLists, ($, d) => (t(), n("div", {
79
79
  class: P(["probability", { hidden: d !== l.value }]),
80
80
  key: d,
81
81
  id: `currentProbability${d}`,
82
82
  "aria-hidden": d !== l.value
83
83
  }, [
84
- (t(!0), n(v, null, h(S, (m, $) => (t(), B(H, {
84
+ (t(!0), n(v, null, h($, (m, L) => (t(), B(R, {
85
85
  name: m.name,
86
86
  percent: m.percent,
87
- key: $
87
+ key: L
88
88
  }, null, 8, ["name", "percent"]))), 128))
89
89
  ], 10, Z))), 128))
90
90
  ])
@@ -0,0 +1,108 @@
1
+ import { a as h, c as o, o as s, F as b, f as t, H as m, G as f, t as g, J as x, _, r as k, b as w, E as v, y as F, d as L } from "../_plugin-vue_export-helper-BaT1QC5Q.js";
2
+ import { a as C, i as u, b as S } from "../i18n-BOk_ejZ-.js";
3
+ import { s as z } from "../shuffled-CzcgAL34.js";
4
+ const $ = {
5
+ "flip-cards": {}
6
+ }, j = ["aria-hidden"], E = ["src"], N = ["title-level"], B = ["aria-hidden"], U = ["aria-level"], K = { class: "description" }, R = { class: "image-container" }, V = ["src"], A = /* @__PURE__ */ h({
7
+ __name: "FlipCard.ce",
8
+ props: {
9
+ color: { type: String },
10
+ description: { type: String },
11
+ icon: { type: String },
12
+ image: { type: String },
13
+ isFlipped: { type: Boolean },
14
+ name: { type: String },
15
+ titleLevel: { type: Number }
16
+ },
17
+ setup(i) {
18
+ const l = new URL(i.icon, import.meta.url).href, d = new URL(i.image, import.meta.url).href;
19
+ return (a, c) => (s(), o(b, null, [
20
+ t("div", {
21
+ class: m(["card recto", `${a.color}`]),
22
+ "aria-hidden": a.isFlipped ? "true" : "false"
23
+ }, [
24
+ t("img", {
25
+ class: "icon",
26
+ src: f(l),
27
+ alt: ""
28
+ }, null, 8, E),
29
+ t("div", {
30
+ role: "heading",
31
+ "title-level": a.titleLevel,
32
+ class: "title"
33
+ }, g(a.name), 9, N)
34
+ ], 10, j),
35
+ t("div", {
36
+ class: m(["card verso", { flipped: a.isFlipped, [a.color]: a.color }]),
37
+ "aria-hidden": a.isFlipped ? "false" : "true"
38
+ }, [
39
+ t("div", {
40
+ role: "heading",
41
+ "aria-level": a.titleLevel,
42
+ class: "title"
43
+ }, g(a.name), 9, U),
44
+ t("p", K, g(a.description), 1),
45
+ t("div", R, [
46
+ f(d) ? (s(), o("img", {
47
+ key: 0,
48
+ src: f(d),
49
+ alt: ""
50
+ }, null, 8, V)) : x("", !0)
51
+ ])
52
+ ], 10, B)
53
+ ], 64));
54
+ }
55
+ }), D = "[data-v-1d94fd65]{box-sizing:border-box}.card[data-v-1d94fd65]{align-items:center;backface-visibility:hidden;-webkit-backface-visibility:hidden;background:#fff;border-radius:12px;color:#253858;display:flex;flex-direction:column;gap:1.2rem;inset:0;justify-content:center;padding:18px;position:absolute;transform:translateZ(0);transition:transform ease .5s}.card .title[data-v-1d94fd65]{font-family:Nunito,sans-serif;font-size:1rem;font-weight:700;line-height:29px}.card.recto.red[data-v-1d94fd65]{background:linear-gradient(150deg,#fff,#ff7373)}.card.recto.yellow[data-v-1d94fd65]{background:linear-gradient(150deg,#fff,#ffec73)}.card.recto.blue[data-v-1d94fd65]{background:linear-gradient(150deg,#fff,#2491ff)}.card.recto.purple[data-v-1d94fd65]{background:linear-gradient(150deg,#fff,#9177f2)}.card.recto.green[data-v-1d94fd65]{background:linear-gradient(150deg,#fff,#52d987)}.card.recto.pink[data-v-1d94fd65]{background:linear-gradient(150deg,#fff,#f041bf)}.card.recto .icon[data-v-1d94fd65]{display:block;height:auto;width:40px}.card.verso[data-v-1d94fd65]{line-height:1.2rem;padding:8px;text-align:center;transform:rotateY(180deg) translateZ(0)}.card.verso.flipped.red[data-v-1d94fd65]{border:2px solid #ff7373}.card.verso.flipped.yellow[data-v-1d94fd65]{border:2px solid #ffec73}.card.verso.flipped.blue[data-v-1d94fd65]{border:2px solid #2491ff}.card.verso.flipped.purple[data-v-1d94fd65]{border:2px solid #9177f2}.card.verso.flipped.green[data-v-1d94fd65]{border:2px solid #52d987}.card.verso.flipped.pink[data-v-1d94fd65]{border:2px solid #f041bf}.card.verso .description[data-v-1d94fd65]{font-size:.9rem;margin:0 0 8px}.card.verso .image-container[data-v-1d94fd65]{margin:8px 8px 16px;overflow:hidden;width:160px}.card.verso img[data-v-1d94fd65]{display:block;height:100%;object-fit:contain;width:100%}", G = /* @__PURE__ */ _(A, [["styles", [D]], ["__scopeId", "data-v-1d94fd65"]]), I = ["aria-label"], Y = ["aria-expanded", "onClick", "onKeydown"], Z = { class: "flip-container" }, H = /* @__PURE__ */ h({
56
+ __name: "FlipCards.ce",
57
+ props: {
58
+ name: { type: String },
59
+ cardList: { type: Array }
60
+ },
61
+ setup(i) {
62
+ const l = i, d = z(["red", "yellow", "blue", "purple", "green", "pink"]), a = k(
63
+ l.cardList.map((r, p) => ({
64
+ ...r,
65
+ color: d[p % d.length],
66
+ isFlipped: !1,
67
+ titleLevel: r.titleLevel ?? 2
68
+ }))
69
+ ), c = (r, p) => {
70
+ p.preventDefault(), r.isFlipped = !r.isFlipped;
71
+ };
72
+ return (r, p) => (s(), o("div", {
73
+ class: "flip-cards",
74
+ "aria-label": l.name
75
+ }, [
76
+ (s(!0), o(b, null, w(a.value, (e, y) => (s(), o("div", {
77
+ key: y,
78
+ class: m(["card-container", { flipped: e.isFlipped, [e.color]: e.color }]),
79
+ role: "button",
80
+ tabindex: "0",
81
+ "aria-expanded": e.isFlipped,
82
+ onClick: (n) => c(e, n),
83
+ onKeydown: [
84
+ v((n) => c(e, n), ["enter"]),
85
+ v((n) => c(e, n), ["space"])
86
+ ]
87
+ }, [
88
+ t("div", Z, [
89
+ F(G, {
90
+ color: e.color,
91
+ description: e.description,
92
+ icon: e.icon,
93
+ image: e.image,
94
+ "is-flipped": e.isFlipped,
95
+ name: e.name,
96
+ "title-level": e.titleLevel
97
+ }, null, 8, ["color", "description", "icon", "image", "is-flipped", "name", "title-level"])
98
+ ])
99
+ ], 42, Y))), 128))
100
+ ], 8, I));
101
+ }
102
+ }), J = "[data-v-85c872ca]{box-sizing:border-box}.flip-cards[data-v-85c872ca]{display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:center;max-width:100%;padding:0}.flip-cards .card-container[data-v-85c872ca]{cursor:pointer;flex:0 0 180px;height:250px;margin:0;perspective:1200px;outline:none;transform:scale(1);transition:transform ease .5s}.flip-cards .card-container[data-v-85c872ca]:hover,.flip-cards .card-container[data-v-85c872ca]:focus{transform:scale(1.05);transition:transform ease .5s;outline:none}.flip-cards .card-container .flip-container[data-v-85c872ca]{display:block;position:relative;width:100%;height:100%;padding:18px;transform-style:preserve-3d;transition:transform .6s cubic-bezier(.2,.8,.2,1);will-change:transform}.flip-cards .card-container.flipped .flip-container[data-v-85c872ca]{transform:rotateY(180deg)}", O = /* @__PURE__ */ _(H, [["styles", [J]], ["__scopeId", "data-v-85c872ca"]]);
103
+ C(/* @__PURE__ */ Object.assign({ "./locales/fr.json": $ })).catch((i) => console.error(i));
104
+ window.customElements.define("flip-cards", L(O, {
105
+ configureApp(i) {
106
+ u.changeLanguage(document?.documentElement?.lang || navigator.language), i.use(S, { i18next: u });
107
+ }
108
+ }));
@@ -1,4 +1,4 @@
1
- import { d as e } from "../_plugin-vue_export-helper-CWFVtOvN.js";
2
- import { I as m } from "../ImageQuiz.ce-CfYpyofd.js";
1
+ import { d as e } from "../_plugin-vue_export-helper-BaT1QC5Q.js";
2
+ import { I as m } from "../ImageQuiz.ce-BU1wvQqO.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-CWFVtOvN.js";
2
- import { I as A } from "../ImageQuiz.ce-CfYpyofd.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-BaT1QC5Q.js";
2
+ import { I as A } from "../ImageQuiz.ce-BU1wvQqO.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-CWFVtOvN.js";
2
- import { L as l } from "../LLMMessage.ce-Bb2k233-.js";
3
- import { p as u } from "../shadow-dom-DyOx0CmY.js";
1
+ import { a as m, c as r, o as a, f as e, t as n, F as t, b as p, y as i, _ as c, d as g } from "../_plugin-vue_export-helper-BaT1QC5Q.js";
2
+ import { L as l } from "../LLMMessage.ce-55YTC7a9.js";
3
+ import { p as u } from "../shadow-dom-CLVtaG5r.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-CWFVtOvN.js";
2
- import { L as _ } from "../LLMMessage.ce-Bb2k233-.js";
3
- import { p as x } from "../shadow-dom-DyOx0CmY.js";
1
+ import { a as m, B as i, C 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-BaT1QC5Q.js";
2
+ import { L as _ } from "../LLMMessage.ce-55YTC7a9.js";
3
+ import { p as x } from "../shadow-dom-CLVtaG5r.js";
4
4
  const b = {
5
5
  class: "llm-messages",
6
6
  "aria-live": "polite"
@@ -1,6 +1,6 @@
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";
1
+ import { a as v, r as c, z as y, c as i, o as d, y as h, f as l, A as w, F as f, b as k, t as S, _ as C, d as L } from "../_plugin-vue_export-helper-BaT1QC5Q.js";
2
2
  import "./llm-messages.ce.js.js";
3
- const N = { class: "prompt-select" }, P = { class: "prompt-select__options" }, B = ["disabled", "onClick"], E = /* @__PURE__ */ v({
3
+ const N = { class: "prompt-select" }, P = { class: "prompt-select__options" }, A = ["disabled", "onClick"], B = /* @__PURE__ */ v({
4
4
  __name: "LLMPromptSelect.ce",
5
5
  props: {
6
6
  messages: { type: Array },
@@ -44,9 +44,9 @@ const N = { class: "prompt-select" }, P = { class: "prompt-select__options" }, B
44
44
  r.value = !1;
45
45
  }
46
46
  return (e, t) => {
47
- const a = h("llm-messages");
47
+ const a = y("llm-messages");
48
48
  return d(), i(f, null, [
49
- y(a, { messages: s.value }, null, 8, ["messages"]),
49
+ h(a, { messages: s.value }, null, 8, ["messages"]),
50
50
  l("div", N, [
51
51
  t[0] || (t[0] = l("p", { class: "prompt-select__label" }, [
52
52
  w(" Sélectionner un des prompts "),
@@ -57,11 +57,11 @@ const N = { class: "prompt-select" }, P = { class: "prompt-select__options" }, B
57
57
  key: p,
58
58
  disabled: n.disabled || r.value,
59
59
  onClick: (u) => x(n)
60
- }, S(n.prompt), 9, B))), 128))
60
+ }, S(n.prompt), 9, A))), 128))
61
61
  ])
62
62
  ])
63
63
  ], 64);
64
64
  };
65
65
  }
66
- }), M = ".sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}llm-messages{display:block;height:400px}.prompt-select{font-family:Roboto,sans-serif;border-top:solid 1px #253858;padding:16px 24px 24px}.prompt-select__label{margin-top:0;font-weight:700;color:#253858}.prompt-select__options{display:flex;gap:1rem;justify-content:left;flex-wrap:wrap}.prompt-select__options>button{padding:1rem 1.5rem;border:none;background:#cec3f4;border-radius:16px;border:1px solid #ffffff;color:#130261;font-size:.875rem;box-shadow:0 4px 12px -4px #957ee833}.prompt-select__options>button:hover:not(:disabled){background:#9a8dc7;color:#fff;cursor:pointer}.prompt-select__options>button:disabled{cursor:not-allowed;color:#1010104d}", V = /* @__PURE__ */ C(E, [["styles", [M]]]);
67
- window.customElements.define("llm-prompt-select", L(V));
66
+ }), E = ".sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}llm-messages{display:block;height:400px}.prompt-select{font-family:Roboto,sans-serif;border-top:solid 1px #253858;padding:16px 24px 24px}.prompt-select__label{margin-top:0;font-weight:700;color:#253858}.prompt-select__options{display:flex;gap:1rem;justify-content:left;flex-wrap:wrap}.prompt-select__options>button{padding:1rem 1.5rem;border:none;background:#cec3f4;border-radius:16px;border:1px solid #ffffff;color:#130261;font-size:.875rem;box-shadow:0 4px 12px -4px #957ee833}.prompt-select__options>button:hover:not(:disabled){background:#9a8dc7;color:#fff;cursor:pointer}.prompt-select__options>button:disabled{cursor:not-allowed;color:#1010104d}", M = /* @__PURE__ */ C(B, [["styles", [E]]]);
67
+ window.customElements.define("llm-prompt-select", L(M));
@@ -1,10 +1,10 @@
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
- const P = ["part"], j = {
1
+ import { a as D, r as k, k as M, h as $, c as t, o as s, H as w, J as m, f as h, A as x, t as v, y as B, K as E, m as T, F as b, b as N, _ as S, g as V, e as z, d as F } from "../_plugin-vue_export-helper-BaT1QC5Q.js";
2
+ import { L } from "../Loading.ce-BQOiwGj0.js";
3
+ const P = ["part"], I = {
4
4
  key: 1,
5
5
  class: "message__loader message__content",
6
6
  "aria-hidden": "true"
7
- }, I = ["part"], q = { key: 1 }, G = { key: 0 }, O = /* @__PURE__ */ D({
7
+ }, j = ["part"], H = { key: 1 }, J = { key: 0 }, K = /* @__PURE__ */ D({
8
8
  __name: "Message.ce",
9
9
  props: {
10
10
  displaySender: { type: Boolean, default: !0 },
@@ -14,7 +14,7 @@ const P = ["part"], j = {
14
14
  loadingDuration: { type: Number }
15
15
  },
16
16
  setup(n, { expose: c }) {
17
- const i = w("hidden"), g = w([]), p = M(() => n.message.content.split(`
17
+ const i = k("hidden"), g = k([]), p = M(() => n.message.content.split(`
18
18
  `));
19
19
  function d(e) {
20
20
  return new Promise((a) => {
@@ -32,7 +32,7 @@ const P = ["part"], j = {
32
32
  return c({
33
33
  reset: f
34
34
  }), (e, a) => (s(), t("div", {
35
- class: x(["message", [
35
+ class: w(["message", [
36
36
  `message--${e.message.direction}`,
37
37
  { "hidden-state": i.value === "hidden" }
38
38
  ]])
@@ -43,25 +43,25 @@ const P = ["part"], j = {
43
43
  part: `sender ${e.message.direction}`
44
44
  }, [
45
45
  a[0] || (a[0] = h("span", { class: "sr-only" }, "Message de ", -1)),
46
- k(v(e.message.userName), 1)
46
+ x(v(e.message.userName), 1)
47
47
  ], 8, P)) : m("", !0),
48
- i.value === "loading" ? (s(), t("div", j, [
49
- E(L)
48
+ i.value === "loading" ? (s(), t("div", I, [
49
+ B(L)
50
50
  ])) : m("", !0),
51
51
  h("p", {
52
- class: x(["message__content", { "hidden-state": i.value !== "visible" }]),
52
+ class: w(["message__content", { "hidden-state": i.value !== "visible" }]),
53
53
  part: `message ${e.message.direction}`
54
54
  }, [
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", q)) : m("", !0),
55
+ e.message.image ? (s(), t("img", E(T({ key: 0 }, e.message.image)), null, 16)) : m("", !0),
56
+ e.message.image ? (s(), t("br", H)) : 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", G)) : m("", !0),
59
- k(" " + v(o), 1)
58
+ r > 0 ? (s(), t("br", J)) : m("", !0),
59
+ x(" " + v(o), 1)
60
60
  ], 64))), 128))
61
- ], 10, I)
61
+ ], 10, j)
62
62
  ], 2));
63
63
  }
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({
64
+ }), O = ".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}}", R = /* @__PURE__ */ S(K, [["styles", [O]]]), q = { part: "conversation" }, G = { class: "sr-only" }, Q = /* @__PURE__ */ D({
65
65
  __name: "MessageConversation.ce",
66
66
  props: {
67
67
  title: { default: "Conversation par messages", type: String },
@@ -94,9 +94,9 @@ const P = ["part"], j = {
94
94
  }
95
95
  return c({
96
96
  reset: f
97
- }), (e, a) => (s(), t("figure", J, [
98
- h("figcaption", K, v(e.title), 1),
99
- (s(!0), t(b, null, N(p.value, ({ message: o, displaySender: r, startAnimation: u, animationDuration: y }, _) => (s(), z(H, {
97
+ }), (e, a) => (s(), t("figure", q, [
98
+ h("figcaption", G, v(e.title), 1),
99
+ (s(!0), t(b, null, N(p.value, ({ message: o, displaySender: r, startAnimation: u, animationDuration: y }, _) => (s(), z(R, {
100
100
  ref_for: !0,
101
101
  ref: "messages",
102
102
  message: o,
@@ -1,8 +1,8 @@
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";
1
+ import { a as g, c as n, o as i, f as a, t as l, F as o, b as d, G as h, _ as u, d as p } from "../_plugin-vue_export-helper-BaT1QC5Q.js";
2
+ import { a as m, i as r, b as f } from "../i18n-BOk_ejZ-.js";
3
3
  const v = {}, y = {}, b = {
4
4
  "pix-article": { byAuthor: "Par {{author}}" }
5
- }, S = {}, L = {}, j = ["titleLevel"], x = { class: "article__metadata" }, A = { class: "article__author" }, B = ["innerHTML"], E = /* @__PURE__ */ g({
5
+ }, S = {}, L = {}, j = ["titleLevel"], x = { class: "article__metadata" }, A = { class: "article__author" }, E = ["innerHTML"], H = /* @__PURE__ */ g({
6
6
  __name: "PixArticle.ce",
7
7
  props: {
8
8
  titleLevel: { default: 2, type: Number },
@@ -17,7 +17,7 @@ const v = {}, y = {}, b = {
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, w) => (i(), n(o, null, [
20
+ return (t, B) => (i(), n(o, null, [
21
21
  a("div", {
22
22
  class: "article__title",
23
23
  role: "heading",
@@ -30,12 +30,12 @@ const v = {}, y = {}, b = {
30
30
  (i(!0), n(o, null, d(h(s), (c, _) => (i(), n("p", {
31
31
  innerHTML: c,
32
32
  key: _
33
- }, null, 8, B))), 128))
33
+ }, null, 8, E))), 128))
34
34
  ], 64));
35
35
  }
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"]]);
36
+ }), k = "[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}", w = /* @__PURE__ */ u(H, [["styles", [k]], ["__scopeId", "data-v-30ea36f1"]]);
37
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, {
38
+ window.customElements.define("pix-article", p(w, {
39
39
  configureApp(e) {
40
40
  r.changeLanguage(document?.documentElement?.lang ?? navigator.language), e.use(f, { i18next: r });
41
41
  }
@@ -1,6 +1,6 @@
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";
1
+ import { a as C, k as h, c as l, o, H as T, f as r, J as j, L as z, A as E, t as g, _ as b, r as w, I as H, G as u, y as m, x as $, D, M as _, F as S, b as k, e as A, d as I } from "../_plugin-vue_export-helper-BaT1QC5Q.js";
2
+ import { a as V, i as N, b as P } from "../i18n-BOk_ejZ-.js";
3
+ import { B, N as M } from "../NavigationButton.ce-CgyZHLpi.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
- }, W = ["aria-level"], J = ["innerHTML"], K = {
14
+ }, W = ["aria-level"], q = ["innerHTML"], K = {
15
15
  key: 1,
16
16
  class: "description"
17
17
  }, Q = /* @__PURE__ */ C({
@@ -31,7 +31,7 @@ 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",
@@ -45,7 +45,7 @@ const F = {
45
45
  key: 0,
46
46
  class: "description",
47
47
  innerHTML: t.description
48
- }, null, 8, J)) : t.description ? (o(), l("p", K, g(t.description), 1)) : M("", !0)
48
+ }, null, 8, q)) : t.description ? (o(), l("p", K, g(t.description), 1)) : j("", !0)
49
49
  ], 2));
50
50
  }
51
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 = {
@@ -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
@@ -99,7 +99,7 @@ const F = {
99
99
  href: e.slide.license.url,
100
100
  target: "_blank"
101
101
  }, g(e.slide.license.name), 9, ie)
102
- ])) : M("", !0)
102
+ ])) : j("", !0)
103
103
  ], 4)) : e.type === "image-text" ? (o(), l("div", te, [
104
104
  r("img", {
105
105
  alt: e.slide.image.alt,
@@ -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 = I();
173
+ const v = D();
174
174
  return (a, c) => (o(), l("section", {
175
175
  "aria-roledescription": a.$t("pix-carousel.title")
176
176
  }, [
@@ -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),
@@ -253,8 +253,8 @@ 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));
257
- window.customElements.define("pix-carousel", D($e, {
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
+ 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 });
260
260
  }
@@ -1,7 +1,7 @@
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 = {
1
+ import { a as S, r as k, D as y, k as m, z as A, c as a, o as i, f as s, l as B, G as c, t as u, F as f, b, N as E, y as g, H as C, M as L, J as D, q as F, _ as P, d as G } from "../_plugin-vue_export-helper-BaT1QC5Q.js";
2
+ import { a as q, i as w, b as J } from "../i18n-BOk_ejZ-.js";
3
+ import { N as M } from "../NavigationButton.ce-CgyZHLpi.js";
4
+ const R = {}, U = {}, 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,35 +12,35 @@ const K = {}, R = {}, U = {
12
12
  }, le = {
13
13
  key: 0,
14
14
  class: "confirm"
15
- }, ce = ["innerHTML", "aria-hidden"], de = /* @__PURE__ */ B({
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));
22
- function $() {
20
+ setup(d, { expose: j }) {
21
+ const p = d, r = k(Math.floor(p.options.length / 2)), o = k(!1), v = y(), _ = y(), N = m(() => r.value === p.options.length - 1), I = m(() => r.value === 0), l = m(() => Number(r.value));
22
+ function z() {
23
23
  o.value = !0;
24
24
  }
25
- function z() {
25
+ function $() {
26
26
  o.value || (r.value = Math.max(0, l.value - 1));
27
27
  }
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($, ["prevent"])
43
+ onSubmit: F(z, ["prevent"])
44
44
  }, [
45
45
  s("div", null, [
46
46
  s("label", {
@@ -49,33 +49,33 @@ const K = {}, R = {}, U = {
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: (A) => _(e),
52
+ onClick: (H) => 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: (A) => _(e),
58
+ onClick: (H) => 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
- E(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
- [H, r.value]
73
+ [E, r.value]
74
74
  ]),
75
75
  s("div", ne, [
76
- g(j, {
77
- onClick: z,
78
- disabled: o.value || N.value,
76
+ g(M, {
77
+ onClick: $,
78
+ disabled: o.value || I.value,
79
79
  label: t.$t("pix-cursor.previous"),
80
80
  "aria-controls": c(v),
81
81
  "aria-disabled": o.value,
@@ -101,9 +101,9 @@ const K = {}, R = {}, U = {
101
101
  }, 1032, ["translation"])
102
102
  ], 10, ie))), 128))
103
103
  ]),
104
- g(j, {
104
+ g(M, {
105
105
  onClick: O,
106
- disabled: o.value || I.value,
106
+ disabled: o.value || N.value,
107
107
  label: t.$t("pix-cursor.next"),
108
108
  "aria-controls": c(v),
109
109
  "aria-disabled": o.value,
@@ -114,7 +114,7 @@ const K = {}, R = {}, U = {
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,9 +128,9 @@ const K = {}, R = {}, U = {
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": K, "./locales/es.json": R, "./locales/fr.json": U, "./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": 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", G(pe, {
134
134
  configureApp(d) {
135
135
  w.changeLanguage(document?.documentElement?.lang || navigator.language), d.use(J, { i18next: w });
136
136
  }