@1024pix/epreuves-components 4.0.1 → 4.1.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 (54) hide show
  1. package/dist/{Button.ce-CTKrSDrC.js → Button.ce-DZ8jDtW5.js} +2 -2
  2. package/dist/{ButtonTooltip.ce-CtHo2Dwx.js → ButtonTooltip.ce-BnJlaEqx.js} +8 -8
  3. package/dist/{Cross.ce.vue_vue_type_script_setup_true_lang-CVBFTfq5.js → Cross.ce.vue_vue_type_script_setup_true_lang-l4hAa4eW.js} +16 -14
  4. package/dist/FocusManager.ce-DHXwg6WZ.js +131 -0
  5. package/dist/{LLMMessage.ce-Bdmf0R1g.js → LLMMessage.ce-jLEqjxsl.js} +11 -11
  6. package/dist/{Loading.ce-Bh7-h48F.js → Loading.ce-DDtlSLlu.js} +2 -2
  7. package/dist/{NavigationButton.ce-CA1M8sgV.js → NavigationButton.ce-BnnVUwGr.js} +2 -2
  8. package/dist/PixMailMessage.ce-oCccQFGV.js +261 -0
  9. package/dist/Popin.ce-Co12R3C8.js +75 -0
  10. package/dist/{Retry-BZf7NJz9.js → Retry-C7C78Wpj.js} +2 -2
  11. package/dist/{Stepper.ce-B1yDelzC.js → Stepper.ce-Dttf3Dsf.js} +4 -4
  12. package/dist/{_plugin-vue_export-helper-D0N_62VD.js → _plugin-vue_export-helper-B-lVMTio.js} +1777 -1713
  13. package/dist/components/analyse-mails-phishing.ce.js.js +14 -14
  14. package/dist/components/calcul-impact.ce.js.js +20 -20
  15. package/dist/components/capacity-calculation.ce.js.js +22 -22
  16. package/dist/components/clickable-image.ce.js.js +30 -30
  17. package/dist/components/complete-phrase.ce.js.js +18 -18
  18. package/dist/components/flip-cards.ce.js.js +10 -10
  19. package/dist/components/image-quiz.ce.js.js +3 -3
  20. package/dist/components/image-quizzes.ce.js.js +3 -3
  21. package/dist/components/llm-compare-messages.ce.js.js +7 -7
  22. package/dist/components/llm-messages.ce.js.js +7 -7
  23. package/dist/components/llm-prompt-select.ce.js.js +5 -5
  24. package/dist/components/mdp-classement.ce.js.js +29 -29
  25. package/dist/components/message-conversation.ce.js.js +34 -34
  26. package/dist/components/mobile-shell.ce.js.js +8 -8
  27. package/dist/components/phishing-message.ce.js.js +128 -128
  28. package/dist/components/phishing-notification.ce.js.js +30 -30
  29. package/dist/components/pix-anonymisation.ce.js.js +27 -27
  30. package/dist/components/pix-article.ce.js.js +5 -5
  31. package/dist/components/pix-carousel.ce.js.js +38 -38
  32. package/dist/components/pix-combinaisons.ce.js.js +93 -92
  33. package/dist/components/pix-cursor.ce.js.js +26 -26
  34. package/dist/components/pix-mail-message.ce.js.js +3 -3
  35. package/dist/components/proteger-mail-spam.ce.js.js +66 -64
  36. package/dist/components/qcm-deepfake.ce.js.js +16 -16
  37. package/dist/components/quiz-stepper.ce.js.js +21 -21
  38. package/dist/components/select-conversation.ce.js.js +11 -11
  39. package/dist/components/template-mail.ce.js.js +4 -4
  40. package/dist/components/test-top-mdp.ce.js.js +86 -79
  41. package/dist/components/trouver-mdp-rs.ce.js.js +334 -418
  42. package/dist/{i18n-ekiZvzf6.js → i18n-CsT7k7zW.js} +329 -316
  43. package/dist/{i18n-lite-t2jNOu0C.js → i18n-lite-BIJ2LVs6.js} +19 -12
  44. package/dist/{image-quiz.ce-DqalWHKw.js → image-quiz.ce-BK6-8YF1.js} +9 -9
  45. package/dist/{index-BpqxFmwz.js → index-BaI3Qosp.js} +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/props.examples.js +13 -13
  48. package/dist/schema.js +77 -67
  49. package/dist/shadow-dom-Bouq869n.js +14 -0
  50. package/dist/{temporal.utils-7Uvm62ss.js → temporal.utils-DgmGPVba.js} +537 -536
  51. package/package.json +1 -1
  52. package/dist/PixMailMessage.ce-XPDbJiyC.js +0 -219
  53. package/dist/Popin.ce-DUQ7-GMT.js +0 -197
  54. package/dist/shadow-dom-C3AZuSZe.js +0 -9
@@ -1,6 +1,6 @@
1
- import { b as g, c as r, o as n, F as m, a as i, n as f, t as l, B as x, _ as u, r as y, e as k, N as v, E as w, d as F } from "../_plugin-vue_export-helper-D0N_62VD.js";
1
+ import { b as g, o as r, c as n, F as m, a as i, t as f, x as l, l as x, _ as u, r as y, e as k, N as v, C as w, d as F } from "../_plugin-vue_export-helper-B-lVMTio.js";
2
2
  import { b as _ } from "../normalize-props-DH0oPBss.js";
3
- const L = ["aria-hidden"], C = ["src"], N = ["aria-level"], z = ["aria-hidden"], S = ["aria-level"], $ = { class: "description" }, B = { class: "image-container" }, E = ["src"], j = /* @__PURE__ */ g({
3
+ const C = ["aria-hidden"], L = ["src"], N = ["aria-level"], z = ["aria-hidden"], S = ["aria-level"], $ = { class: "description" }, B = { class: "image-container" }, j = ["src"], E = /* @__PURE__ */ g({
4
4
  __name: "FlipCard.ce",
5
5
  props: {
6
6
  titleLevel: { type: Number },
@@ -12,7 +12,7 @@ const L = ["aria-hidden"], C = ["src"], N = ["aria-level"], z = ["aria-hidden"],
12
12
  name: { type: String }
13
13
  },
14
14
  setup(e) {
15
- return (s, p) => (n(), r(m, null, [
15
+ return (s, p) => (r(), n(m, null, [
16
16
  i("div", {
17
17
  class: f(["card recto", `${e.color}`]),
18
18
  "aria-hidden": e.isFlipped ? "true" : "false"
@@ -21,13 +21,13 @@ const L = ["aria-hidden"], C = ["src"], N = ["aria-level"], z = ["aria-hidden"],
21
21
  class: "icon",
22
22
  src: e.icon,
23
23
  alt: ""
24
- }, null, 8, C),
24
+ }, null, 8, L),
25
25
  i("div", {
26
26
  role: "heading",
27
27
  "aria-level": e.titleLevel,
28
28
  class: "title"
29
29
  }, l(e.name), 9, N)
30
- ], 10, L),
30
+ ], 10, C),
31
31
  i("div", {
32
32
  class: f(["card verso", { flipped: e.isFlipped, [e.color]: e.color }]),
33
33
  "aria-hidden": e.isFlipped ? "false" : "true"
@@ -39,16 +39,16 @@ const L = ["aria-hidden"], C = ["src"], N = ["aria-level"], z = ["aria-hidden"],
39
39
  }, l(e.name), 9, S),
40
40
  i("p", $, l(e.description), 1),
41
41
  i("div", B, [
42
- e.image ? (n(), r("img", {
42
+ e.image ? (r(), n("img", {
43
43
  key: 0,
44
44
  src: e.image,
45
45
  alt: ""
46
- }, null, 8, E)) : x("", !0)
46
+ }, null, 8, j)) : x("", !0)
47
47
  ])
48
48
  ], 10, z)
49
49
  ], 64));
50
50
  }
51
- }), K = "[data-v-c0da3f12]{box-sizing:border-box}.card[data-v-c0da3f12]{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-c0da3f12]{font-family:Nunito,sans-serif;font-size:1rem;font-weight:700;line-height:29px}.card.recto.red[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#ff7373)}.card.recto.yellow[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#ffec73)}.card.recto.blue[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#2491ff)}.card.recto.purple[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#9177f2)}.card.recto.green[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#52d987)}.card.recto.pink[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#f041bf)}.card.recto .icon[data-v-c0da3f12]{display:block;height:auto;width:40px}.card.verso[data-v-c0da3f12]{line-height:1.2rem;padding:8px;text-align:center;transform:rotateY(180deg) translateZ(0)}.card.verso.flipped.red[data-v-c0da3f12]{border:2px solid #ff7373}.card.verso.flipped.yellow[data-v-c0da3f12]{border:2px solid #ffec73}.card.verso.flipped.blue[data-v-c0da3f12]{border:2px solid #2491ff}.card.verso.flipped.purple[data-v-c0da3f12]{border:2px solid #9177f2}.card.verso.flipped.green[data-v-c0da3f12]{border:2px solid #52d987}.card.verso.flipped.pink[data-v-c0da3f12]{border:2px solid #f041bf}.card.verso .description[data-v-c0da3f12]{font-size:.9rem;margin:0 0 8px}.card.verso .image-container[data-v-c0da3f12]{margin:8px 8px 16px;overflow:hidden;width:160px}.card.verso img[data-v-c0da3f12]{display:block;height:100%;object-fit:contain;width:100%}", V = /* @__PURE__ */ u(j, [["styles", [K]], ["__scopeId", "data-v-c0da3f12"]]), D = { class: "flip-cards" }, I = ["aria-level"], Y = ["aria-expanded", "onClick", "onKeydown"], Z = { class: "flip-container" }, A = /* @__PURE__ */ g({
51
+ }), K = "[data-v-c0da3f12]{box-sizing:border-box}.card[data-v-c0da3f12]{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-c0da3f12]{font-family:Nunito,sans-serif;font-size:1rem;font-weight:700;line-height:29px}.card.recto.red[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#ff7373)}.card.recto.yellow[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#ffec73)}.card.recto.blue[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#2491ff)}.card.recto.purple[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#9177f2)}.card.recto.green[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#52d987)}.card.recto.pink[data-v-c0da3f12]{background:linear-gradient(150deg,#fff,#f041bf)}.card.recto .icon[data-v-c0da3f12]{display:block;height:auto;width:40px}.card.verso[data-v-c0da3f12]{line-height:1.2rem;padding:8px;text-align:center;transform:rotateY(180deg) translateZ(0)}.card.verso.flipped.red[data-v-c0da3f12]{border:2px solid #ff7373}.card.verso.flipped.yellow[data-v-c0da3f12]{border:2px solid #ffec73}.card.verso.flipped.blue[data-v-c0da3f12]{border:2px solid #2491ff}.card.verso.flipped.purple[data-v-c0da3f12]{border:2px solid #9177f2}.card.verso.flipped.green[data-v-c0da3f12]{border:2px solid #52d987}.card.verso.flipped.pink[data-v-c0da3f12]{border:2px solid #f041bf}.card.verso .description[data-v-c0da3f12]{font-size:.9rem;margin:0 0 8px}.card.verso .image-container[data-v-c0da3f12]{margin:8px 8px 16px;overflow:hidden;width:160px}.card.verso img[data-v-c0da3f12]{display:block;height:100%;object-fit:contain;width:100%}", V = /* @__PURE__ */ u(E, [["styles", [K]], ["__scopeId", "data-v-c0da3f12"]]), D = { class: "flip-cards" }, I = ["aria-level"], Y = ["aria-expanded", "onClick", "onKeydown"], Z = { class: "flip-container" }, A = /* @__PURE__ */ g({
52
52
  __name: "FlipCards.ce",
53
53
  props: {
54
54
  titleLevel: { default: 2, type: Number },
@@ -65,13 +65,13 @@ const L = ["aria-hidden"], C = ["src"], N = ["aria-level"], z = ["aria-hidden"],
65
65
  ), c = (t, o) => {
66
66
  o.preventDefault(), t.isFlipped = !t.isFlipped;
67
67
  };
68
- return (t, o) => (n(), r("div", D, [
68
+ return (t, o) => (r(), n("div", D, [
69
69
  i("div", {
70
70
  role: "heading",
71
71
  "aria-level": e.titleLevel,
72
72
  class: "sr-only"
73
73
  }, l(e.name), 9, I),
74
- (n(!0), r(m, null, k(p.value, (a, b) => (n(), r("div", {
74
+ (r(!0), n(m, null, k(p.value, (a, b) => (r(), n("div", {
75
75
  key: b,
76
76
  class: f(["card-container", { flipped: a.isFlipped, [a.color]: a.color }]),
77
77
  role: "button",
@@ -1,7 +1,7 @@
1
- import { n as t } from "../image-quiz.ce-DqalWHKw.js";
2
- import "../_plugin-vue_export-helper-D0N_62VD.js";
1
+ import { n as t } from "../image-quiz.ce-BK6-8YF1.js";
2
+ import "../_plugin-vue_export-helper-B-lVMTio.js";
3
3
  import "../normalize-props-DH0oPBss.js";
4
- import "../i18n-lite-t2jNOu0C.js";
4
+ import "../i18n-lite-BIJ2LVs6.js";
5
5
  export {
6
6
  t as normalizeImageQuizProps
7
7
  };
@@ -1,6 +1,6 @@
1
- import { I as g, _ as f, a as z, b as v, c as w, d, e as p, f as b, g as j, n as A } from "../image-quiz.ce-DqalWHKw.js";
2
- import { b as q, r as E, w as h, c as y, o as l, e as I, f as k, m as B, F as Q, d as C } from "../_plugin-vue_export-helper-D0N_62VD.js";
3
- import { i as n } from "../i18n-lite-t2jNOu0C.js";
1
+ import { I as g, _ as f, a as z, b as v, c as w, d, e as p, f as b, g as j, n as A } from "../image-quiz.ce-BK6-8YF1.js";
2
+ import { b as q, r as E, w as h, o as l, c as y, e as I, f as k, m as B, F as Q, d as C } from "../_plugin-vue_export-helper-B-lVMTio.js";
3
+ import { i as n } from "../i18n-lite-BIJ2LVs6.js";
4
4
  const F = /* @__PURE__ */ q({
5
5
  __name: "ImageQuizzes.ce",
6
6
  props: {
@@ -1,6 +1,6 @@
1
- import { b as c, c as t, o as s, a as e, t as n, F as r, e as m, E as i, _ as p, d as g } from "../_plugin-vue_export-helper-D0N_62VD.js";
2
- import { L as l } from "../LLMMessage.ce-Bdmf0R1g.js";
3
- import { p as u } from "../shadow-dom-C3AZuSZe.js";
1
+ import { b as c, o as t, c as s, a as e, x as n, F as r, e as m, C as i, _ as p, d as g } from "../_plugin-vue_export-helper-B-lVMTio.js";
2
+ import { L as l } from "../LLMMessage.ce-jLEqjxsl.js";
3
+ import { p as u } from "../shadow-dom-Bouq869n.js";
4
4
  const f = {
5
5
  class: "header",
6
6
  "aria-hidden": "true"
@@ -13,7 +13,7 @@ const f = {
13
13
  messages: { type: Array }
14
14
  },
15
15
  setup(o) {
16
- return u(), (L, N) => (s(), t(r, null, [
16
+ return u(), (L, N) => (t(), s(r, null, [
17
17
  e("div", f, [
18
18
  e("div", null, [
19
19
  e("p", h, n(o.conversation1.title), 1)
@@ -24,11 +24,11 @@ const f = {
24
24
  ]),
25
25
  e("p", v, " Comparaison entre la conversation " + n(o.conversation1.title) + " et la conversation " + n(o.conversation2.title), 1),
26
26
  e("div", y, [
27
- (s(!0), t(r, null, m(o.messages, (a, d) => (s(), t("div", {
27
+ (t(!0), s(r, null, m(o.messages, (a, d) => (t(), s("div", {
28
28
  key: d,
29
29
  class: "llm-compare-messages__row"
30
30
  }, [
31
- Array.isArray(a) ? (s(), t(r, { key: 0 }, [
31
+ Array.isArray(a) ? (t(), s(r, { key: 0 }, [
32
32
  e("div", null, [
33
33
  i(l, {
34
34
  message: a[0],
@@ -41,7 +41,7 @@ const f = {
41
41
  name: o.conversation2.llmName
42
42
  }, null, 8, ["message", "name"])
43
43
  ])
44
- ], 64)) : (s(), t(r, { key: 1 }, [
44
+ ], 64)) : (t(), s(r, { key: 1 }, [
45
45
  e("div", null, [
46
46
  i(l, {
47
47
  message: a,
@@ -1,10 +1,10 @@
1
- import { b as c, I as m, J as i, c as t, o as e, F as p, e as d, f, _ as g, d as u } from "../_plugin-vue_export-helper-D0N_62VD.js";
2
- import { L as h } from "../LLMMessage.ce-Bdmf0R1g.js";
3
- import { p as _ } from "../shadow-dom-C3AZuSZe.js";
1
+ import { b as c, L as m, M as i, o as e, c as t, F as p, e as d, f, _ as g, d as u } from "../_plugin-vue_export-helper-B-lVMTio.js";
2
+ import { L as h } from "../LLMMessage.ce-jLEqjxsl.js";
3
+ import { p as _ } from "../shadow-dom-Bouq869n.js";
4
4
  const x = {
5
5
  class: "llm-messages",
6
6
  "aria-live": "polite"
7
- }, b = /* @__PURE__ */ c({
7
+ }, L = /* @__PURE__ */ c({
8
8
  __name: "LLMMessages.ce",
9
9
  props: {
10
10
  messages: { type: Array }
@@ -18,12 +18,12 @@ const x = {
18
18
  }
19
19
  return i(async () => {
20
20
  a.messages, r();
21
- }), (L, w) => (e(), t("div", x, [
21
+ }), (y, w) => (e(), t("div", x, [
22
22
  (e(!0), t(p, null, d(s.messages, (l, n) => (e(), f(h, {
23
23
  key: n,
24
24
  message: l
25
25
  }, null, 8, ["message"]))), 128))
26
26
  ]));
27
27
  }
28
- }), v = "*{box-sizing:border-box}:host{height:100%;overflow:auto;scroll-behavior:smooth}@media(prefers-reduced-motion:reduce){:host{scroll-behavior:auto}}.llm-messages{display:flex;flex-direction:column;gap:29px;padding:24px}", y = /* @__PURE__ */ g(b, [["styles", [v]]]);
29
- window.customElements.define("llm-messages", u(y));
28
+ }), b = "*{box-sizing:border-box}:host{height:100%;overflow:auto;scroll-behavior:smooth}@media(prefers-reduced-motion:reduce){:host{scroll-behavior:auto}}.llm-messages{display:flex;flex-direction:column;gap:29px;padding:24px}", v = /* @__PURE__ */ g(L, [["styles", [b]]]);
29
+ window.customElements.define("llm-messages", u(v));
@@ -1,4 +1,4 @@
1
- import { b as h, r as c, G as y, c as d, o as m, E as w, a, H as k, F as b, e as L, t as S, _ as C, d as P } from "../_plugin-vue_export-helper-D0N_62VD.js";
1
+ import { b as h, r as c, K as y, o as d, c as m, C as w, a, E as k, F as b, e as C, x as L, _ as S, d as P } from "../_plugin-vue_export-helper-B-lVMTio.js";
2
2
  import { b as N } from "../normalize-props-DH0oPBss.js";
3
3
  import "./llm-messages.ce.js.js";
4
4
  const E = { class: "prompt-select" }, M = { class: "prompt-select__options" }, B = ["disabled", "onClick"], V = /* @__PURE__ */ h({
@@ -46,7 +46,7 @@ const E = { class: "prompt-select" }, M = { class: "prompt-select__options" }, B
46
46
  }
47
47
  return (e, t) => {
48
48
  const p = y("llm-messages");
49
- return m(), d(b, null, [
49
+ return d(), m(b, null, [
50
50
  w(p, { messages: s.value }, null, 8, ["messages"]),
51
51
  a("div", E, [
52
52
  t[0] || (t[0] = a("p", { class: "prompt-select__label" }, [
@@ -54,17 +54,17 @@ const E = { class: "prompt-select" }, M = { class: "prompt-select__options" }, B
54
54
  a("span", { class: "sr-only" }, "  une fois sélectionnés, les prompts ne sont plus disponibles. ")
55
55
  ], -1)),
56
56
  a("div", M, [
57
- (m(!0), d(b, null, L(u.value, (n, i) => (m(), d("button", {
57
+ (d(!0), m(b, null, C(u.value, (n, i) => (d(), m("button", {
58
58
  key: i,
59
59
  disabled: n.disabled || l.value,
60
60
  onClick: (f) => v(n)
61
- }, S(n.prompt), 9, B))), 128))
61
+ }, L(n.prompt), 9, B))), 128))
62
62
  ])
63
63
  ])
64
64
  ], 64);
65
65
  };
66
66
  }
67
- }), z = ".sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);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}", A = /* @__PURE__ */ C(V, [["styles", [z]]]), _ = P(A);
67
+ }), z = ".sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);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}", A = /* @__PURE__ */ S(V, [["styles", [z]]]), _ = P(A);
68
68
  _.prototype.normalizeProps = (r) => ({
69
69
  ...r,
70
70
  speed: N(r.speed)
@@ -1,15 +1,15 @@
1
- import { b as I, j as L, c as d, o as n, n as N, a as s, B as _, f as m, l as x, t as g, E as b, K as v, x as V, _ as S, r as D, g as M, G as O, F as T, e as q, H, d as K } from "../_plugin-vue_export-helper-D0N_62VD.js";
2
- import { a as J, i as U, b as Q } from "../i18n-ekiZvzf6.js";
3
- import { B as W } from "../Button.ce-CTKrSDrC.js";
4
- import { _ as Z, a as A, F as X } from "../Cross.ce.vue_vue_type_script_setup_true_lang-CVBFTfq5.js";
1
+ import { b as j, h as L, o as n, c as d, t as N, a as s, y as h, f as m, x as g, C as b, D as v, l as _, n as V, _ as S, r as D, K as O, F as M, e as q, E as K, g as T, d as H } from "../_plugin-vue_export-helper-B-lVMTio.js";
2
+ import { a as J, i as U, b as Q } from "../i18n-CsT7k7zW.js";
3
+ import { B as W } from "../Button.ce-DZ8jDtW5.js";
4
+ import { _ as Z, a as A, F as X } from "../Cross.ce.vue_vue_type_script_setup_true_lang-l4hAa4eW.js";
5
5
  import { s as F } from "../shuffled-B8VGTceh.js";
6
- import { B as j } from "../ButtonTooltip.ce-CtHo2Dwx.js";
6
+ import { B as I } from "../ButtonTooltip.ce-BnJlaEqx.js";
7
7
  const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
8
8
  "mdp-classement": { correct: "Correct", incorrect: "Incorrect", strong: "Fort", weak: "Faible", moveUp: "Classer l'élément comme étant plus fort", moveDown: "Classer l'élément comme étant plus faible", altInformation: "Une liste de mots de passe à ordonner du plus fort au plus faible", validate: "Valider", feedback: { positiveTitle: "Bien joué !", positiveContent: "Ton classement est correct !  Dans cette liste, seul le mot de passe {strongestPassword} est un mot de passe fort.", negativeTitle: "Pas tout à fait", negativeContent: "Plus un mot de passe est long, varié et imprévisible, plus il est fort. Il n'y a qu'un seul mot de passe fort dans cette liste." } }
9
9
  }, o0 = {}, r0 = {}, i0 = "data:image/svg+xml,%3csvg%20width='16'%20height='10'%20viewBox='0%200%2016%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.61667%209.1C7.41756%209.1%207.227%209.06556%207.045%208.99667C6.86278%208.92778%206.697%208.81878%206.54767%208.66967L0.422334%202.54433C0.140778%202.26256%200%201.90889%200%201.48333C0%201.05778%200.140778%200.704111%200.422334%200.422333C0.704112%200.140777%201.05778%200%201.48333%200C1.90889%200%202.26256%200.140777%202.54433%200.422333L7.61667%205.495L12.689%200.422333C12.9708%200.140777%2013.3244%200%2013.75%200C14.1756%200%2014.5292%200.140777%2014.811%200.422333C15.0926%200.704111%2015.2333%201.05778%2015.2333%201.48333C15.2333%201.90889%2015.0926%202.26256%2014.811%202.54433L8.68567%208.66967C8.53633%208.81878%208.37056%208.92778%208.18833%208.99667C8.00633%209.06556%207.81578%209.1%207.61667%209.1Z'%20fill='url(%23paint0_linear_3023_127)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_3023_127'%20x1='0'%20y1='4.55'%20x2='15.2333'%20y2='4.55'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%232B7FFF'/%3e%3cstop%20offset='1'%20stop-color='%2300b8db'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", l0 = "data:image/svg+xml,%3csvg%20width='16'%20height='10'%20viewBox='0%200%2016%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.61667%203.63033L2.54433%208.703C2.26256%208.98456%201.90889%209.12533%201.48333%209.12533C1.05778%209.12533%200.704112%208.98456%200.422334%208.703C0.140778%208.42122%200%208.06756%200%207.642C0%207.21645%200.140778%206.86278%200.422334%206.581L6.54767%200.455666C6.85167%200.151888%207.208%200%207.61667%200C8.02533%200%208.38167%200.151888%208.68567%200.455666L14.811%206.581C15.0926%206.86278%2015.2333%207.21645%2015.2333%207.642C15.2333%208.06756%2015.0926%208.42122%2014.811%208.703C14.5292%208.98456%2014.1756%209.12533%2013.75%209.12533C13.3244%209.12533%2012.9708%208.98456%2012.689%208.703L7.61667%203.63033Z'%20fill='url(%23paint0_linear_3023_130)'/%3e%3cdefs%3e%3clinearGradient%20id='paint0_linear_3023_130'%20x1='0'%20y1='4.56267'%20x2='15.2333'%20y2='4.56267'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%232B7FFF'/%3e%3cstop%20offset='1'%20stop-color='%2300b8db'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", d0 = "data:image/svg+xml,%3csvg%20width='16'%20height='10'%20viewBox='0%200%2016%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.61667%209.1C7.41756%209.1%207.227%209.06556%207.045%208.99667C6.86278%208.92778%206.697%208.81878%206.54767%208.66967L0.422334%202.54433C0.140778%202.26256%200%201.90889%200%201.48333C0%201.05778%200.140778%200.704111%200.422334%200.422333C0.704112%200.140777%201.05778%200%201.48333%200C1.90889%200%202.26256%200.140777%202.54433%200.422333L7.61667%205.495L12.689%200.422333C12.9708%200.140777%2013.3244%200%2013.75%200C14.1756%200%2014.5292%200.140777%2014.811%200.422333C15.0926%200.704111%2015.2333%201.05778%2015.2333%201.48333C15.2333%201.90889%2015.0926%202.26256%2014.811%202.54433L8.68567%208.66967C8.53633%208.81878%208.37056%208.92778%208.18833%208.99667C8.00633%209.06556%207.81578%209.1%207.61667%209.1Z'%20fill='%23CDD1D9'/%3e%3c/svg%3e", c0 = "data:image/svg+xml,%3csvg%20width='16'%20height='10'%20viewBox='0%200%2016%2010'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M7.61667%203.63033L2.54433%208.703C2.26256%208.98456%201.90889%209.12533%201.48333%209.12533C1.05778%209.12533%200.704112%208.98456%200.422334%208.703C0.140778%208.42122%200%208.06756%200%207.642C0%207.21645%200.140778%206.86278%200.422334%206.581L6.54767%200.455666C6.85167%200.151888%207.208%200%207.61667%200C8.02533%200%208.38167%200.151888%208.68567%200.455666L14.811%206.581C15.0926%206.86278%2015.2333%207.21645%2015.2333%207.642C15.2333%208.06756%2015.0926%208.42122%2014.811%208.703C14.5292%208.98456%2014.1756%209.12533%2013.75%209.12533C13.3244%209.12533%2012.9708%208.98456%2012.689%208.703L7.61667%203.63033Z'%20fill='%23cdd1d9'/%3e%3c/svg%3e", p0 = "data:image/svg+xml,%3csvg%20width='9'%20height='15'%20viewBox='0%200%209%2015'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%201.5C0%201.29%20-1.55065e-07%201.1865%200.0119998%201.0995C0.0501813%200.824562%200.177043%200.569595%200.373319%200.373319C0.569595%200.177043%200.824562%200.0501813%201.0995%200.0119998C1.185%20-1.55065e-07%201.29%200%201.5%200C1.71%200%201.8135%20-1.55065e-07%201.9005%200.0119998C2.17544%200.0501813%202.4304%200.177043%202.62668%200.373319C2.82296%200.569595%202.94982%200.824562%202.988%201.0995C3%201.185%203%201.29%203%201.5C3%201.71%203%201.8135%202.988%201.9005C2.94982%202.17544%202.82296%202.4304%202.62668%202.62668C2.4304%202.82296%202.17544%202.94982%201.9005%202.988C1.815%203%201.71%203%201.5%203C1.29%203%201.1865%203%201.0995%202.988C0.824562%202.94982%200.569595%202.82296%200.373319%202.62668C0.177043%202.4304%200.0501813%202.17544%200.0119998%201.9005C-1.55065e-07%201.815%200%201.71%200%201.5ZM0%207.5C0%207.29%20-1.55065e-07%207.1865%200.0119998%207.0995C0.0501813%206.82456%200.177043%206.5696%200.373319%206.37332C0.569595%206.17704%200.824562%206.05018%201.0995%206.012C1.185%206%201.29%206%201.5%206C1.71%206%201.8135%206%201.9005%206.012C2.17544%206.05018%202.4304%206.17704%202.62668%206.37332C2.82296%206.5696%202.94982%206.82456%202.988%207.0995C3%207.185%203%207.29%203%207.5C3%207.71%203%207.8135%202.988%207.9005C2.94982%208.17544%202.82296%208.4304%202.62668%208.62668C2.4304%208.82296%202.17544%208.94982%201.9005%208.988C1.815%209%201.71%209%201.5%209C1.29%209%201.1865%209%201.0995%208.988C0.824562%208.94982%200.569595%208.82296%200.373319%208.62668C0.177043%208.4304%200.0501813%208.17544%200.0119998%207.9005C-1.55065e-07%207.815%200%207.71%200%207.5ZM0%2013.5C0%2013.2915%20-1.55065e-07%2013.1865%200.0119998%2013.0995C0.0504049%2012.8251%200.177181%2012.5706%200.373135%2012.3746C0.56909%2012.1787%200.823553%2012.0519%201.098%2012.0135C1.1865%2012.0015%201.29%2012.0015%201.4985%2012.0015C1.707%2012.0015%201.8135%2012.0015%201.899%2012.0135C2.17345%2012.0519%202.42791%2012.1787%202.62386%2012.3746C2.81982%2012.5706%202.94659%2012.8251%202.985%2013.0995C2.997%2013.1865%202.997%2013.2915%202.997%2013.5C2.997%2013.7085%202.997%2013.8135%202.985%2013.9005C2.94659%2014.1749%202.81982%2014.4294%202.62386%2014.6254C2.42791%2014.8213%202.17345%2014.9481%201.899%2014.9865C1.812%2014.9985%201.707%2014.9985%201.4985%2014.9985C1.29%2014.9985%201.185%2014.9985%201.098%2014.9865C0.823553%2014.9481%200.56909%2014.8213%200.373135%2014.6254C0.177181%2014.4294%200.0504049%2014.1749%200.0119998%2013.9005C-1.55065e-07%2013.8135%200%2013.7085%200%2013.5ZM6%201.5C6%201.29%206%201.1865%206.012%201.0995C6.05018%200.824562%206.17704%200.569595%206.37332%200.373319C6.5696%200.177043%206.82456%200.0501813%207.0995%200.0119998C7.185%20-1.55065e-07%207.29%200%207.5%200C7.71%200%207.8135%20-1.55065e-07%207.9005%200.0119998C8.17544%200.0501813%208.4304%200.177043%208.62668%200.373319C8.82296%200.569595%208.94982%200.824562%208.988%201.0995C9%201.185%209%201.29%209%201.5C9%201.71%209%201.8135%208.988%201.9005C8.94982%202.17544%208.82296%202.4304%208.62668%202.62668C8.4304%202.82296%208.17544%202.94982%207.9005%202.988C7.815%203%207.71%203%207.5%203C7.29%203%207.1865%203%207.0995%202.988C6.82456%202.94982%206.5696%202.82296%206.37332%202.62668C6.17704%202.4304%206.05018%202.17544%206.012%201.9005C6%201.815%206%201.71%206%201.5ZM6%207.5C6%207.29%206%207.1865%206.012%207.0995C6.05018%206.82456%206.17704%206.5696%206.37332%206.37332C6.5696%206.17704%206.82456%206.05018%207.0995%206.012C7.185%206%207.29%206%207.5%206C7.71%206%207.8135%206%207.9005%206.012C8.17544%206.05018%208.4304%206.17704%208.62668%206.37332C8.82296%206.5696%208.94982%206.82456%208.988%207.0995C9%207.185%209%207.29%209%207.5C9%207.71%209%207.8135%208.988%207.9005C8.94982%208.17544%208.82296%208.4304%208.62668%208.62668C8.4304%208.82296%208.17544%208.94982%207.9005%208.988C7.815%209%207.71%209%207.5%209C7.29%209%207.1865%209%207.0995%208.988C6.82456%208.94982%206.5696%208.82296%206.37332%208.62668C6.17704%208.4304%206.05018%208.17544%206.012%207.9005C6%207.815%206%207.71%206%207.5ZM6%2013.5C6%2013.2915%206%2013.1865%206.012%2013.0995C6.05041%2012.8251%206.17718%2012.5706%206.37314%2012.3746C6.56909%2012.1787%206.82355%2012.0519%207.098%2012.0135C7.1865%2012.0015%207.29%2012.0015%207.4985%2012.0015C7.7085%2012.0015%207.8135%2012.0015%207.899%2012.0135C8.17345%2012.0519%208.42791%2012.1787%208.62386%2012.3746C8.81982%2012.5706%208.94659%2012.8251%208.985%2013.0995C8.997%2013.1865%208.997%2013.2915%208.997%2013.5C8.997%2013.7085%208.997%2013.8135%208.985%2013.9005C8.94659%2014.1749%208.81982%2014.4294%208.62386%2014.6254C8.42791%2014.8213%208.17345%2014.9481%207.899%2014.9865C7.812%2014.9985%207.707%2014.9985%207.4985%2014.9985C7.29%2014.9985%207.185%2014.9985%207.098%2014.9865C6.82355%2014.9481%206.56909%2014.8213%206.37314%2014.6254C6.17718%2014.4294%206.05041%2014.1749%206.012%2013.9005C6%2013.8135%206%2013.7085%206%2013.5Z'%20fill='%23CDD1D9'/%3e%3c/svg%3e", C0 = { class: "card-left" }, g0 = ["src"], v0 = ["id"], u0 = {
10
10
  key: 0,
11
11
  class: "card-right"
12
- }, f0 = ["src"], m0 = ["src"], b0 = /* @__PURE__ */ I({
12
+ }, f0 = ["src"], m0 = ["src"], b0 = /* @__PURE__ */ j({
13
13
  __name: "DraggableCard.ce",
14
14
  props: {
15
15
  password: { type: String },
@@ -18,8 +18,8 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
18
18
  state: { type: String }
19
19
  },
20
20
  emits: ["move-up", "move-down", "dragstart", "drop"],
21
- setup(t, { emit: h }) {
22
- const u = L("card"), r = L("button-up"), c = h;
21
+ setup(t, { emit: x }) {
22
+ const u = L("card"), r = L("button-up"), c = x;
23
23
  function p(o) {
24
24
  o.dataTransfer.setDragImage(u.value, 30, 30), c("dragstart", o);
25
25
  }
@@ -39,9 +39,9 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
39
39
  draggable: "",
40
40
  onDragstart: p,
41
41
  onDrop: i[0] || (i[0] = (w) => c("drop", w)),
42
- onDragenter: i[1] || (i[1] = x(() => {
42
+ onDragenter: i[1] || (i[1] = h(() => {
43
43
  }, ["prevent"])),
44
- onDragover: i[2] || (i[2] = x(() => {
44
+ onDragover: i[2] || (i[2] = h(() => {
45
45
  }, ["prevent"]))
46
46
  }, null, 40, g0)) : t.state === "correct" ? (n(), m(Z, {
47
47
  key: 1,
@@ -59,7 +59,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
59
59
  }, g(t.password), 9, v0)
60
60
  ]),
61
61
  t.state === "active" ? (n(), d("div", u0, [
62
- b(j, {
62
+ b(I, {
63
63
  class: "move",
64
64
  ref: "button-up",
65
65
  onClick: f,
@@ -75,7 +75,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
75
75
  ]),
76
76
  _: 1
77
77
  }, 8, ["label", "disabled", "aria-describedby"]),
78
- b(j, {
78
+ b(I, {
79
79
  class: "move",
80
80
  onClick: i[3] || (i[3] = (w) => o.$emit("move-down")),
81
81
  label: o.$t("mdp-classement.moveDown"),
@@ -93,24 +93,24 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
93
93
  ])) : _("", !0)
94
94
  ], 2));
95
95
  }
96
- }), w0 = "p[data-v-b5698134]{margin:5px}.drag-handle[data-v-b5698134]{cursor:grabbing;z-index:217;-webkit-user-select:none;user-select:none;padding:0 4px}svg.icon[data-v-b5698134]{width:24px;height:24px}.card[data-v-b5698134]{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:100px;box-shadow:0 4px 8px #07142e14;padding:8px;border:solid 1px transparent}.card .card-left[data-v-b5698134]{display:flex;align-items:center;gap:12px;padding-left:8px}.card .card-right[data-v-b5698134]{display:flex;gap:16px;padding-right:8px}.correct[data-v-b5698134]{border:solid 1px #00a85a}.incorrect[data-v-b5698134]{border:solid 1px #ee6911}[data-v-b5698134] .move{background:none;border:none}@media screen and (max-width:768px){.card .card-left[data-v-b5698134]{gap:8px}.card .card-right[data-v-b5698134]{gap:4px}.drag-handle[data-v-b5698134]{display:none}}", _0 = /* @__PURE__ */ S(b0, [["styles", [w0]], ["__scopeId", "data-v-b5698134"]]), x0 = { class: "wrapper" }, h0 = { class: "sr-only" }, y0 = { class: "ranking-container" }, D0 = { class: "strongness-bar__container" }, k0 = ["onDrop"], $0 = {
96
+ }), w0 = "p[data-v-b5698134]{margin:5px}.drag-handle[data-v-b5698134]{cursor:grabbing;z-index:217;-webkit-user-select:none;user-select:none;padding:0 4px}svg.icon[data-v-b5698134]{width:24px;height:24px}.card[data-v-b5698134]{display:flex;align-items:center;justify-content:space-between;background:#fff;border-radius:100px;box-shadow:0 4px 8px #07142e14;padding:8px;border:solid 1px transparent}.card .card-left[data-v-b5698134]{display:flex;align-items:center;gap:12px;padding-left:8px}.card .card-right[data-v-b5698134]{display:flex;gap:16px;padding-right:8px}.correct[data-v-b5698134]{border:solid 1px #00a85a}.incorrect[data-v-b5698134]{border:solid 1px #ee6911}[data-v-b5698134] .move{background:none;border:none}@media screen and (max-width:768px){.card .card-left[data-v-b5698134]{gap:8px}.card .card-right[data-v-b5698134]{gap:4px}.drag-handle[data-v-b5698134]{display:none}}", _0 = /* @__PURE__ */ S(b0, [["styles", [w0]], ["__scopeId", "data-v-b5698134"]]), h0 = { class: "wrapper" }, x0 = { class: "sr-only" }, y0 = { class: "ranking-container" }, D0 = { class: "strongness-bar__container" }, k0 = ["onDrop"], $0 = {
97
97
  key: 0,
98
98
  class: "validate-container"
99
99
  }, B0 = {
100
100
  class: "feedback",
101
101
  "aria-live": "polite"
102
- }, L0 = /* @__PURE__ */ I({
102
+ }, L0 = /* @__PURE__ */ j({
103
103
  __name: "MdpClassement.ce",
104
104
  props: {
105
105
  passwords: { type: Array }
106
106
  },
107
- setup(t, { expose: h }) {
108
- const u = t, r = D(F(u.passwords, { ensureIsShuffled: !0 })), c = D(!1), p = D(!0), f = M(() => r.value.map((e, a) => ({
107
+ setup(t, { expose: x }) {
108
+ const u = t, r = D(F(u.passwords, { ensureIsShuffled: !0 })), c = D(!1), p = D(!0), f = T(() => r.value.map((e, a) => ({
109
109
  password: e,
110
110
  isFirst: a === 0,
111
111
  isLast: a === r.value.length - 1,
112
112
  state: i(a, e)
113
- }))), o = M(() => f.value.every(({ state: e }) => e === "correct"));
113
+ }))), o = T(() => f.value.every(({ state: e }) => e === "correct"));
114
114
  function i(e, a) {
115
115
  return p.value ? "active" : a === u.passwords[e] ? "correct" : "incorrect";
116
116
  }
@@ -130,13 +130,13 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
130
130
  function E() {
131
131
  p.value = !1;
132
132
  }
133
- return h({
133
+ return x({
134
134
  reset: w
135
135
  }), (e, a) => {
136
136
  const y = O("i18next");
137
- return n(), d(T, null, [
138
- s("div", x0, [
139
- s("p", h0, g(e.$t("mdp-classement.altInformation")), 1),
137
+ return n(), d(M, null, [
138
+ s("div", h0, [
139
+ s("p", x0, g(e.$t("mdp-classement.altInformation")), 1),
140
140
  s("div", y0, [
141
141
  s("div", D0, [
142
142
  s("p", null, g(e.$t("mdp-classement.strong")), 1),
@@ -144,12 +144,12 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
144
144
  s("p", null, g(e.$t("mdp-classement.weak")), 1)
145
145
  ]),
146
146
  s("ul", null, [
147
- (n(!0), d(T, null, q(f.value, ({ password: B, isFirst: G, isLast: P, state: R }, C) => (n(), d("li", { key: B }, [
147
+ (n(!0), d(M, null, q(f.value, ({ password: B, isFirst: P, isLast: R, state: G }, C) => (n(), d("li", { key: B }, [
148
148
  b(_0, {
149
149
  password: B,
150
- "is-up-disabled": G,
151
- "is-down-disabled": P,
152
- state: R,
150
+ "is-up-disabled": P,
151
+ "is-down-disabled": R,
152
+ state: G,
153
153
  onMoveUp: (l) => k(C, C - 1),
154
154
  onMoveDown: (l) => k(C, C + 1),
155
155
  onDragstart: (l) => z(l, C),
@@ -159,9 +159,9 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
159
159
  c.value ? (n(), d("div", {
160
160
  key: 0,
161
161
  onDrop: (l) => $(l, C),
162
- onDragenter: a[1] || (a[1] = x(() => {
162
+ onDragenter: a[1] || (a[1] = h(() => {
163
163
  }, ["prevent"])),
164
- onDragover: a[2] || (a[2] = x(() => {
164
+ onDragover: a[2] || (a[2] = h(() => {
165
165
  }, ["prevent"])),
166
166
  class: "drop-down"
167
167
  }, null, 40, k0)) : _("", !0)
@@ -175,7 +175,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
175
175
  onClick: E
176
176
  }, {
177
177
  default: v(() => [
178
- H(g(e.$t("mdp-classement.validate")), 1)
178
+ K(g(e.$t("mdp-classement.validate")), 1)
179
179
  ]),
180
180
  _: 1
181
181
  })
@@ -212,7 +212,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
212
212
  }
213
213
  }), M0 = "[data-v-65c2c799]{--pix-neutral-800: #253858;font-family:Nunito,Roboto,sans-serif;color:var(--pix-neutral-800)}.sr-only[data-v-65c2c799]{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.strongness-bar__container[data-v-65c2c799]{display:flex;flex-direction:column;align-items:center;gap:8px}.strongness-bar__container p[data-v-65c2c799]{font-family:Roboto,sans-serif;font-size:14px;font-weight:700}.strongness-bar__container .strongness-bar[data-v-65c2c799]{width:10px;height:calc(100% - 48px);border-radius:16px;background:linear-gradient(180deg,#2b7fff,#00b8db)}.wrapper[data-v-65c2c799]{background:#eaf1ff;border-radius:8px;padding:24px}.wrapper .draggable-card[data-v-65c2c799]{border:solid 2px #f0f}.icon-size[data-v-65c2c799]{width:16px;height:16px}.ranking-container[data-v-65c2c799]{display:flex}.ranking-container ul[data-v-65c2c799]{width:100%;display:flex;flex-direction:column;gap:12px}.ranking-container li[data-v-65c2c799]{position:relative;list-style-type:none}.ranking-container .drop-down[data-v-65c2c799]{border:dashed 1px #2b7fff;top:0;height:calc(100% + 10px);position:absolute;width:100%;opacity:.5;z-index:90}.validate-container[data-v-65c2c799]{width:100%;display:flex;justify-content:center;margin:24px 0 8px}.validate-container .validate[data-v-65c2c799]{font-size:14px;font-weight:700}.feedback div[data-v-65c2c799]{margin:24px 0 8px}@media screen and (max-width:768px){.wrapper[data-v-65c2c799]{padding:12px}ul[data-v-65c2c799]{padding-left:8px}}", T0 = /* @__PURE__ */ S(L0, [["styles", [M0]], ["__scopeId", "data-v-65c2c799"]]);
214
214
  J(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": Y, "./locales/en.json": e0, "./locales/es-419.json": a0, "./locales/es.json": t0, "./locales/fr-BE.json": s0, "./locales/fr.json": n0, "./locales/it.json": o0, "./locales/nl.json": r0 })).catch((t) => console.error(t));
215
- window.customElements.define("mdp-classement", K(T0, {
215
+ window.customElements.define("mdp-classement", H(T0, {
216
216
  configureApp(t) {
217
217
  U.changeLanguage(document?.documentElement?.lang || navigator.language), t.use(Q, { i18next: U });
218
218
  }
@@ -1,11 +1,11 @@
1
- import { b as S, r as x, g as M, y as B, c as i, o as n, n as w, B as c, a as h, H as k, t as v, E, O as T, m as z, F as b, e as N, _ as D, j as P, f as V, d as j } from "../_plugin-vue_export-helper-D0N_62VD.js";
2
- import { L as F } from "../Loading.ce-Bh7-h48F.js";
3
- import { b as L, u as O, a as I } from "../normalize-props-DH0oPBss.js";
4
- const H = ["part"], R = {
1
+ import { b as S, k as E, o as n, c as i, t as x, a as _, E as k, x as v, l, C as T, O as B, m as z, F as b, e as M, r as w, g as N, _ as D, h as P, f as V, d as F } from "../_plugin-vue_export-helper-B-lVMTio.js";
2
+ import { L } from "../Loading.ce-DDtlSLlu.js";
3
+ import { u as O, a as j, b as I } from "../normalize-props-DH0oPBss.js";
4
+ const R = ["part"], q = {
5
5
  key: 1,
6
6
  class: "message__loader message__content",
7
7
  "aria-hidden": "true"
8
- }, q = ["part"], G = { key: 1 }, J = { key: 0 }, K = /* @__PURE__ */ S({
8
+ }, G = ["part"], H = { key: 1 }, J = { key: 0 }, K = /* @__PURE__ */ S({
9
9
  __name: "Message.ce",
10
10
  props: {
11
11
  displaySender: { type: Boolean, default: !0 },
@@ -14,8 +14,8 @@ const H = ["part"], R = {
14
14
  animationDuration: { type: Number },
15
15
  loadingDuration: { type: Number }
16
16
  },
17
- setup(e, { expose: l }) {
18
- const t = x("hidden"), d = x([]), m = M(() => e.message.content?.split(`
17
+ setup(e, { expose: c }) {
18
+ const t = w("hidden"), d = w([]), m = N(() => e.message.content?.split(`
19
19
  `));
20
20
  function g(s) {
21
21
  return new Promise((a) => {
@@ -26,14 +26,14 @@ const H = ["part"], R = {
26
26
  async function u() {
27
27
  await g(e.startAnimation), t.value = "loading", await g(e.loadingDuration), t.value = "visible", await g(e.animationDuration);
28
28
  }
29
- B(u);
29
+ E(u);
30
30
  async function y() {
31
31
  t.value = "hidden", d.value.forEach(clearTimeout), await u();
32
32
  }
33
- return l({
33
+ return c({
34
34
  reset: y
35
35
  }), (s, a) => (n(), i("div", {
36
- class: w(["message", [
36
+ class: x(["message", [
37
37
  `message--${e.message.direction}`,
38
38
  { "hidden-state": t.value === "hidden" }
39
39
  ]])
@@ -43,23 +43,23 @@ const H = ["part"], R = {
43
43
  class: "message__sender",
44
44
  part: `sender ${e.message.direction}`
45
45
  }, [
46
- a[0] || (a[0] = h("span", { class: "sr-only" }, "Message de ", -1)),
46
+ a[0] || (a[0] = _("span", { class: "sr-only" }, "Message de ", -1)),
47
47
  k(v(e.message.userName), 1)
48
- ], 8, H)) : c("", !0),
49
- t.value === "loading" ? (n(), i("div", R, [
50
- E(F)
51
- ])) : c("", !0),
52
- h("p", {
53
- class: w(["message__content", { "hidden-state": t.value !== "visible" }]),
48
+ ], 8, R)) : l("", !0),
49
+ t.value === "loading" ? (n(), i("div", q, [
50
+ T(L)
51
+ ])) : l("", !0),
52
+ _("p", {
53
+ class: x(["message__content", { "hidden-state": t.value !== "visible" }]),
54
54
  part: `message ${e.message.direction}`
55
55
  }, [
56
- e.message.image ? (n(), i("img", T(z({ key: 0 }, e.message.image)), null, 16)) : c("", !0),
57
- e.message.image && m.value ? (n(), i("br", G)) : c("", !0),
58
- (n(!0), i(b, null, N(m.value, (o, r) => (n(), i(b, { key: r }, [
59
- r > 0 ? (n(), i("br", J)) : c("", !0),
56
+ e.message.image ? (n(), i("img", B(z({ key: 0 }, e.message.image)), null, 16)) : l("", !0),
57
+ e.message.image && m.value ? (n(), i("br", H)) : l("", !0),
58
+ (n(!0), i(b, null, M(m.value, (o, r) => (n(), i(b, { key: r }, [
59
+ r > 0 ? (n(), i("br", J)) : l("", !0),
60
60
  k(" " + v(o), 1)
61
61
  ], 64))), 128))
62
- ], 10, q)
62
+ ], 10, G)
63
63
  ], 2));
64
64
  }
65
65
  }), 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}}", U = /* @__PURE__ */ D(K, [["styles", [Q]]]), W = { part: "conversation" }, X = { class: "sr-only" }, Y = /* @__PURE__ */ S({
@@ -69,8 +69,8 @@ const H = ["part"], R = {
69
69
  messages: { type: Array },
70
70
  animationSpeed: { default: 20, type: Number }
71
71
  },
72
- setup(e, { expose: l }) {
73
- const t = 50 * e.animationSpeed, d = 50 * e.animationSpeed, m = M(
72
+ setup(e, { expose: c }) {
73
+ const t = 50 * e.animationSpeed, d = 50 * e.animationSpeed, m = N(
74
74
  () => e.messages.reduce(
75
75
  (s, a, o) => {
76
76
  const r = u(a);
@@ -79,8 +79,8 @@ const H = ["part"], R = {
79
79
  const {
80
80
  message: p,
81
81
  startAnimation: f,
82
- animationDuration: _
83
- } = s.at(-1), A = a.direction !== p.direction || a.userName !== p.userName, $ = f + _ + t;
82
+ animationDuration: h
83
+ } = s.at(-1), A = a.direction !== p.direction || a.userName !== p.userName, $ = f + h + t;
84
84
  return [...s, { message: a, displaySender: A, startAnimation: $, animationDuration: r }];
85
85
  },
86
86
  []
@@ -93,11 +93,11 @@ const H = ["part"], R = {
93
93
  function y() {
94
94
  g.value.forEach((s) => s.reset());
95
95
  }
96
- return l({
96
+ return c({
97
97
  reset: y
98
98
  }), (s, a) => (n(), i("figure", W, [
99
- h("figcaption", X, v(e.conversationTitle), 1),
100
- (n(!0), i(b, null, N(m.value, ({ message: o, displaySender: r, startAnimation: p, animationDuration: f }, _) => (n(), V(U, {
99
+ _("figcaption", X, v(e.conversationTitle), 1),
100
+ (n(!0), i(b, null, M(m.value, ({ message: o, displaySender: r, startAnimation: p, animationDuration: f }, h) => (n(), V(U, {
101
101
  ref_for: !0,
102
102
  ref: "messages",
103
103
  message: o,
@@ -105,17 +105,17 @@ const H = ["part"], R = {
105
105
  "animation-duration": f,
106
106
  "loading-duration": t,
107
107
  "display-sender": r,
108
- key: _
108
+ key: h
109
109
  }, null, 8, ["message", "start-animation", "animation-duration", "display-sender"]))), 128))
110
110
  ]));
111
111
  }
112
- }), Z = "figure{background-color:#fff;border-radius:16px;display:flex;flex-direction:column;gap:8px;margin:0;padding:16px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}", ee = /* @__PURE__ */ D(Y, [["styles", [Z]]]), C = j(ee);
112
+ }), Z = "figure{background-color:#fff;border-radius:16px;display:flex;flex-direction:column;gap:8px;margin:0;padding:16px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}", ee = /* @__PURE__ */ D(Y, [["styles", [Z]]]), C = F(ee);
113
113
  C.prototype.normalizeProps = (e) => ({
114
114
  ...e,
115
- animationSpeed: L(e.animationSpeed),
116
- messages: e.messages.map(({ type: l, content: t, image: d, ...m }) => ({
115
+ animationSpeed: I(e.animationSpeed),
116
+ messages: e.messages.map(({ type: c, content: t, image: d, ...m }) => ({
117
117
  ...m,
118
- content: I(t),
118
+ content: j(t),
119
119
  image: O(d)
120
120
  }))
121
121
  });
@@ -1,4 +1,4 @@
1
- import { b as i, c as a, o as l, D as s, a as r, q as n, s as d, n as b, _ as p, d as h } from "../_plugin-vue_export-helper-D0N_62VD.js";
1
+ import { b as i, o as a, c as l, J as s, a as r, q as n, z as d, t as b, _ as p, d as h } from "../_plugin-vue_export-helper-B-lVMTio.js";
2
2
  const m = {
3
3
  class: "content",
4
4
  part: "content"
@@ -10,17 +10,17 @@ const m = {
10
10
  persistMobileShell: { type: Boolean, default: !1 },
11
11
  marginTop: { default: 25, type: Number }
12
12
  },
13
- setup(e) {
14
- return (o, t) => (l(), a("div", {
15
- class: b(["mobile", { "hide-mobile-shell": !e.persistMobileShell }]),
13
+ setup(t) {
14
+ return (o, e) => (a(), l("div", {
15
+ class: b(["mobile", { "hide-mobile-shell": !t.persistMobileShell }]),
16
16
  part: "screen",
17
17
  style: d({
18
- "--aspect-ratio": e.aspectRatio,
19
- "--max-width": `${e.maxWidth}px`,
20
- "--margin-top": `${e.marginTop}px`
18
+ "--aspect-ratio": t.aspectRatio,
19
+ "--max-width": `${t.maxWidth}px`,
20
+ "--margin-top": `${t.marginTop}px`
21
21
  })
22
22
  }, [
23
- t[0] || (t[0] = s('<div class="cache-top"><div class="camera"></div></div><div class="buttons"><div class="button small"></div><div class="button long"></div><div class="button long"></div></div>', 2)),
23
+ e[0] || (e[0] = s('<div class="cache-top"><div class="camera"></div></div><div class="buttons"><div class="button small"></div><div class="button long"></div><div class="button long"></div></div>', 2)),
24
24
  r("div", m, [
25
25
  n(o.$slots, "default")
26
26
  ])