@1024pix/epreuves-components 4.2.0 → 4.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 (58) hide show
  1. package/dist/Button.ce-Dvxeebpx.js +31 -0
  2. package/dist/{ButtonTooltip.ce-BnJlaEqx.js → ButtonTooltip.ce-WwOarMJq.js} +1 -1
  3. package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-DVLRq2sO.js +53 -0
  4. package/dist/Feedback.ce-CnZRBGWf.js +26 -0
  5. package/dist/{FocusManager.ce-DHXwg6WZ.js → FocusManager.ce-Cv3wYF9s.js} +2 -2
  6. package/dist/{LLMMessage.ce-jLEqjxsl.js → LLMMessage.ce-B7EwoHy2.js} +4 -4
  7. package/dist/{Loading.ce-DDtlSLlu.js → Loading.ce-Dv2gEjXm.js} +1 -1
  8. package/dist/{NavigationButton.ce-BnnVUwGr.js → NavigationButton.ce-D8_YC96l.js} +2 -2
  9. package/dist/{PixMailMessage.ce-oCccQFGV.js → PixMailMessage.ce-TnjyOfiH.js} +141 -137
  10. package/dist/{Popin.ce-Co12R3C8.js → Popin.ce-BPnBZykQ.js} +3 -3
  11. package/dist/{Retry-C7C78Wpj.js → Retry-C3g7zhz8.js} +1 -1
  12. package/dist/{Stepper.ce-Dttf3Dsf.js → Stepper.ce-DEMN02yr.js} +1 -1
  13. package/dist/{_plugin-vue_export-helper-B-lVMTio.js → _plugin-vue_export-helper-Dz58mCLm.js} +4 -4
  14. package/dist/components/analyse-mails-phishing.ce.js.js +9 -8
  15. package/dist/components/button.ce.js.js +4 -0
  16. package/dist/components/calcul-impact.ce.js.js +8 -8
  17. package/dist/components/capacity-calculation.ce.js.js +124 -137
  18. package/dist/components/clickable-image.ce.js.js +1 -1
  19. package/dist/components/complete-phrase.ce.js.js +12 -12
  20. package/dist/components/feedback.ce.js.js +4 -0
  21. package/dist/components/flip-cards.ce.js.js +7 -7
  22. package/dist/components/image-quiz.ce.js.js +3 -3
  23. package/dist/components/image-quizzes.ce.js.js +3 -3
  24. package/dist/components/llm-compare-messages.ce.js.js +3 -3
  25. package/dist/components/llm-messages.ce.js.js +3 -3
  26. package/dist/components/llm-prompt-select.ce.js.js +6 -6
  27. package/dist/components/mdp-classement.ce.js.js +20 -19
  28. package/dist/components/message-conversation.ce.js.js +10 -10
  29. package/dist/components/mobile-shell.ce.js.js +1 -1
  30. package/dist/components/notification-antivirus.ce.js.js +343 -0
  31. package/dist/components/phishing-message.ce.js.js +60 -61
  32. package/dist/components/phishing-notification.ce.js.js +4 -4
  33. package/dist/components/pix-anonymisation.ce.js.js +63 -64
  34. package/dist/components/pix-article.ce.js.js +2 -2
  35. package/dist/components/pix-carousel.ce.js.js +4 -4
  36. package/dist/components/pix-combinaisons.ce.js.js +96 -96
  37. package/dist/components/pix-cursor.ce.js.js +10 -10
  38. package/dist/components/pix-mail-message.ce.js.js +3 -3
  39. package/dist/components/proteger-mail-spam.ce.js.js +15 -14
  40. package/dist/components/qcm-deepfake.ce.js.js +41 -41
  41. package/dist/components/quiz-stepper.ce.js.js +30 -29
  42. package/dist/components/select-conversation.ce.js.js +6 -6
  43. package/dist/components/template-mail.ce.js.js +3 -3
  44. package/dist/components/test-top-mdp.ce.js.js +11 -12
  45. package/dist/components/trouver-mdp-rs.ce.js.js +97 -96
  46. package/dist/components/usages-donnees.ce.js.js +183 -0
  47. package/dist/{i18n-CsT7k7zW.js → i18n-H4HokXDX.js} +1 -1
  48. package/dist/{i18n-lite-BIJ2LVs6.js → i18n-lite-CzqISEWm.js} +1 -1
  49. package/dist/{image-quiz.ce-B4NDetit.js → image-quiz.ce-C-iI27gD.js} +2 -2
  50. package/dist/{index-BaI3Qosp.js → index-BUPiE5WR.js} +1 -1
  51. package/dist/index.js +3 -1
  52. package/dist/metadata.js +32 -24
  53. package/dist/props.examples.js +95 -90
  54. package/dist/schema.js +49 -38
  55. package/dist/{shadow-dom-Bouq869n.js → shadow-dom-D54WF-WZ.js} +1 -1
  56. package/package.json +1 -1
  57. package/dist/Button.ce-DZ8jDtW5.js +0 -27
  58. package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-l4hAa4eW.js +0 -75
@@ -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-B4NDetit.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";
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-C-iI27gD.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-Dz58mCLm.js";
3
+ import { i as n } from "../i18n-lite-CzqISEWm.js";
4
4
  const F = /* @__PURE__ */ q({
5
5
  __name: "ImageQuizzes.ce",
6
6
  props: {
@@ -1,6 +1,6 @@
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";
1
+ import { b as c, o as t, c as s, a as e, x as n, F as r, e as m, D as i, _ as p, d as g } from "../_plugin-vue_export-helper-Dz58mCLm.js";
2
+ import { L as l } from "../LLMMessage.ce-B7EwoHy2.js";
3
+ import { p as u } from "../shadow-dom-D54WF-WZ.js";
4
4
  const f = {
5
5
  class: "header",
6
6
  "aria-hidden": "true"
@@ -1,6 +1,6 @@
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";
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-Dz58mCLm.js";
2
+ import { L as h } from "../LLMMessage.ce-B7EwoHy2.js";
3
+ import { p as _ } from "../shadow-dom-D54WF-WZ.js";
4
4
  const x = {
5
5
  class: "llm-messages",
6
6
  "aria-live": "polite"
@@ -1,7 +1,7 @@
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";
1
+ import { b as h, r as c, K as y, o as d, c as m, D as w, a, B as k, F as b, e as L, x as S, _ as C, d as P } from "../_plugin-vue_export-helper-Dz58mCLm.js";
2
2
  import { b as N } from "../normalize-props-DH0oPBss.js";
3
3
  import "./llm-messages.ce.js.js";
4
- const E = { class: "prompt-select" }, M = { class: "prompt-select__options" }, B = ["disabled", "onClick"], V = /* @__PURE__ */ h({
4
+ const B = { class: "prompt-select" }, M = { class: "prompt-select__options" }, E = ["disabled", "onClick"], V = /* @__PURE__ */ h({
5
5
  __name: "LLMPromptSelect.ce",
6
6
  props: {
7
7
  messages: { type: Array },
@@ -48,23 +48,23 @@ const E = { class: "prompt-select" }, M = { class: "prompt-select__options" }, B
48
48
  const p = y("llm-messages");
49
49
  return d(), m(b, null, [
50
50
  w(p, { messages: s.value }, null, 8, ["messages"]),
51
- a("div", E, [
51
+ a("div", B, [
52
52
  t[0] || (t[0] = a("p", { class: "prompt-select__label" }, [
53
53
  k(" Sélectionner un des prompts "),
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
- (d(!0), m(b, null, C(u.value, (n, i) => (d(), m("button", {
57
+ (d(!0), m(b, null, L(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
- }, L(n.prompt), 9, B))), 128))
61
+ }, S(n.prompt), 9, E))), 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__ */ S(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__ */ C(V, [["styles", [z]]]), _ = P(A);
68
68
  _.prototype.normalizeProps = (r) => ({
69
69
  ...r,
70
70
  speed: N(r.speed)
@@ -1,15 +1,16 @@
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";
1
+ import { b as j, h as L, o as n, c as d, t as N, a as s, y as h, f, x as g, D as b, E as v, l as _, n as V, _ as S, r as D, K as O, F as M, e as q, B as K, g as T, d as H } from "../_plugin-vue_export-helper-Dz58mCLm.js";
2
+ import { a as J, i as U, b as Q } from "../i18n-H4HokXDX.js";
3
+ import { B as W } from "../Button.ce-Dvxeebpx.js";
4
+ import { F as X } from "../Feedback.ce-CnZRBGWf.js";
5
+ import { _ as Z, a as A } from "../Cross.ce.vue_vue_type_script_setup_true_lang-DVLRq2sO.js";
5
6
  import { s as F } from "../shuffled-B8VGTceh.js";
6
- import { B as I } from "../ButtonTooltip.ce-BnJlaEqx.js";
7
+ import { B as I } from "../ButtonTooltip.ce-WwOarMJq.js";
7
8
  const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
8
9
  "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
10
  }, 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
11
  key: 0,
11
12
  class: "card-right"
12
- }, f0 = ["src"], m0 = ["src"], b0 = /* @__PURE__ */ j({
13
+ }, m0 = ["src"], f0 = ["src"], b0 = /* @__PURE__ */ j({
13
14
  __name: "DraggableCard.ce",
14
15
  props: {
15
16
  password: { type: String },
@@ -23,7 +24,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
23
24
  function p(o) {
24
25
  o.dataTransfer.setDragImage(u.value, 30, 30), c("dragstart", o);
25
26
  }
26
- async function f() {
27
+ async function m() {
27
28
  c("move-up"), await V(), r.value.button.focus();
28
29
  }
29
30
  return (o, i) => (n(), d("div", {
@@ -43,12 +44,12 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
43
44
  }, ["prevent"])),
44
45
  onDragover: i[2] || (i[2] = h(() => {
45
46
  }, ["prevent"]))
46
- }, null, 40, g0)) : t.state === "correct" ? (n(), m(Z, {
47
+ }, null, 40, g0)) : t.state === "correct" ? (n(), f(Z, {
47
48
  key: 1,
48
49
  alt: o.$t("mdp-classement.correct"),
49
50
  color: "#007740",
50
51
  class: "icon"
51
- }, null, 8, ["alt"])) : (n(), m(A, {
52
+ }, null, 8, ["alt"])) : (n(), f(A, {
52
53
  key: 2,
53
54
  alt: o.$t("mdp-classement.incorrect"),
54
55
  color: "#a94b0c",
@@ -62,7 +63,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
62
63
  b(I, {
63
64
  class: "move",
64
65
  ref: "button-up",
65
- onClick: f,
66
+ onClick: m,
66
67
  label: o.$t("mdp-classement.moveUp"),
67
68
  disabled: t.isUpDisabled,
68
69
  "aria-describedby": `password-${t.password}`
@@ -71,7 +72,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
71
72
  s("img", {
72
73
  src: t.isUpDisabled ? c0 : l0,
73
74
  alt: ""
74
- }, null, 8, f0)
75
+ }, null, 8, m0)
75
76
  ]),
76
77
  _: 1
77
78
  }, 8, ["label", "disabled", "aria-describedby"]),
@@ -86,7 +87,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
86
87
  s("img", {
87
88
  src: t.isDownDisabled ? d0 : i0,
88
89
  alt: ""
89
- }, null, 8, m0)
90
+ }, null, 8, f0)
90
91
  ]),
91
92
  _: 1
92
93
  }, 8, ["label", "disabled", "aria-describedby"])
@@ -105,12 +106,12 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
105
106
  passwords: { type: Array }
106
107
  },
107
108
  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
+ const u = t, r = D(F(u.passwords, { ensureIsShuffled: !0 })), c = D(!1), p = D(!0), m = T(() => r.value.map((e, a) => ({
109
110
  password: e,
110
111
  isFirst: a === 0,
111
112
  isLast: a === r.value.length - 1,
112
113
  state: i(a, e)
113
- }))), o = T(() => f.value.every(({ state: e }) => e === "correct"));
114
+ }))), o = T(() => m.value.every(({ state: e }) => e === "correct"));
114
115
  function i(e, a) {
115
116
  return p.value ? "active" : a === u.passwords[e] ? "correct" : "incorrect";
116
117
  }
@@ -144,7 +145,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
144
145
  s("p", null, g(e.$t("mdp-classement.weak")), 1)
145
146
  ]),
146
147
  s("ul", null, [
147
- (n(!0), d(M, null, q(f.value, ({ password: B, isFirst: P, isLast: R, state: G }, C) => (n(), d("li", { key: B }, [
148
+ (n(!0), d(M, null, q(m.value, ({ password: B, isFirst: P, isLast: R, state: G }, C) => (n(), d("li", { key: B }, [
148
149
  b(_0, {
149
150
  password: B,
150
151
  "is-up-disabled": P,
@@ -181,15 +182,15 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
181
182
  })
182
183
  ])) : _("", !0),
183
184
  s("div", B0, [
184
- p.value ? _("", !0) : (n(), m(X, {
185
+ p.value ? _("", !0) : (n(), f(X, {
185
186
  key: 0,
186
187
  title: o.value ? e.$t("mdp-classement.feedback.positiveTitle") : e.$t("mdp-classement.feedback.negativeTitle")
187
188
  }, {
188
189
  icon: v(() => [
189
- o.value ? (n(), m(Z, {
190
+ o.value ? (n(), f(Z, {
190
191
  key: 0,
191
192
  class: "icon-size"
192
- })) : (n(), m(A, {
193
+ })) : (n(), f(A, {
193
194
  key: 1,
194
195
  class: "icon-size"
195
196
  }))
@@ -199,7 +200,7 @@ const Y = {}, e0 = {}, a0 = {}, t0 = {}, s0 = {}, n0 = {
199
200
  translation: o.value ? e.$t("mdp-classement.feedback.positiveContent") : e.$t("mdp-classement.feedback.negativeContent")
200
201
  }, {
201
202
  strongestPassword: v(() => [
202
- s("strong", null, g(f.value[0].password), 1)
203
+ s("strong", null, g(m.value[0].password), 1)
203
204
  ]),
204
205
  _: 1
205
206
  }, 8, ["translation"])
@@ -1,5 +1,5 @@
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";
1
+ import { b as S, k as B, o as n, c as i, t as x, a as _, B as k, x as v, l, D as T, O as E, m as z, F as b, e as D, r as w, g as M, _ as N, h as P, f as V, d as F } from "../_plugin-vue_export-helper-Dz58mCLm.js";
2
+ import { L } from "../Loading.ce-Dv2gEjXm.js";
3
3
  import { u as O, a as j, b as I } from "../normalize-props-DH0oPBss.js";
4
4
  const R = ["part"], q = {
5
5
  key: 1,
@@ -15,7 +15,7 @@ const R = ["part"], q = {
15
15
  loadingDuration: { type: Number }
16
16
  },
17
17
  setup(e, { expose: c }) {
18
- const t = w("hidden"), d = w([]), m = N(() => e.message.content?.split(`
18
+ const t = w("hidden"), d = w([]), m = M(() => e.message.content?.split(`
19
19
  `));
20
20
  function g(s) {
21
21
  return new Promise((a) => {
@@ -26,7 +26,7 @@ const R = ["part"], q = {
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
- E(u);
29
+ B(u);
30
30
  async function y() {
31
31
  t.value = "hidden", d.value.forEach(clearTimeout), await u();
32
32
  }
@@ -53,16 +53,16 @@ const R = ["part"], q = {
53
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", B(z({ key: 0 }, e.message.image)), null, 16)) : l("", !0),
56
+ e.message.image ? (n(), i("img", E(z({ key: 0 }, e.message.image)), null, 16)) : l("", !0),
57
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 }, [
58
+ (n(!0), i(b, null, D(m.value, (o, r) => (n(), i(b, { key: r }, [
59
59
  r > 0 ? (n(), i("br", J)) : l("", !0),
60
60
  k(" " + v(o), 1)
61
61
  ], 64))), 128))
62
62
  ], 10, G)
63
63
  ], 2));
64
64
  }
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({
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__ */ N(K, [["styles", [Q]]]), W = { part: "conversation" }, X = { class: "sr-only" }, Y = /* @__PURE__ */ S({
66
66
  __name: "MessageConversation.ce",
67
67
  props: {
68
68
  conversationTitle: { default: "Conversation par messages", type: String },
@@ -70,7 +70,7 @@ const R = ["part"], q = {
70
70
  animationSpeed: { default: 20, type: Number }
71
71
  },
72
72
  setup(e, { expose: c }) {
73
- const t = 50 * e.animationSpeed, d = 50 * e.animationSpeed, m = N(
73
+ const t = 50 * e.animationSpeed, d = 50 * e.animationSpeed, m = M(
74
74
  () => e.messages.reduce(
75
75
  (s, a, o) => {
76
76
  const r = u(a);
@@ -97,7 +97,7 @@ const R = ["part"], q = {
97
97
  reset: y
98
98
  }), (s, a) => (n(), i("figure", W, [
99
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, {
100
+ (n(!0), i(b, null, D(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,
@@ -109,7 +109,7 @@ const R = ["part"], q = {
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 = F(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__ */ N(Y, [["styles", [Z]]]), C = F(ee);
113
113
  C.prototype.normalizeProps = (e) => ({
114
114
  ...e,
115
115
  animationSpeed: I(e.animationSpeed),
@@ -1,4 +1,4 @@
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";
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-Dz58mCLm.js";
2
2
  const m = {
3
3
  class: "content",
4
4
  part: "content"