@1024pix/epreuves-components 4.6.0 → 4.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (58) hide show
  1. package/dist/{Button.ce-C-lBihdF.js → Button.ce-Ccv3OLk2.js} +1 -1
  2. package/dist/{ButtonTooltip.ce-B071jWM0.js → ButtonTooltip.ce-Bo42SFAP.js} +1 -1
  3. package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-CGq82iLD.js +83 -0
  4. package/dist/{FocusManager.ce-Cb8fkfeb.js → FocusManager.ce-BG_n76ZF.js} +2 -2
  5. package/dist/{Icon.ce-AUDpzQic.js → Icon.ce-Be0LymfA.js} +1 -1
  6. package/dist/{LLMMessage.ce-DBorHEa1.js → LLMMessage.ce-y0WmEj7m.js} +24 -22
  7. package/dist/{Loading.ce-D7EpPBBD.js → Loading.ce-CG-e7tdE.js} +1 -1
  8. package/dist/{Modal.ce-CRJ7RcAX.js → Modal.ce-DCTwYJKJ.js} +9 -9
  9. package/dist/{NavigationButton.ce-DqFqWt9V.js → NavigationButton.ce-B-c0m9H8.js} +14 -12
  10. package/dist/{PixMailMessage.ce-Cqrs9R3i.js → PixMailMessage.ce-CH6CVQ3H.js} +13 -13
  11. package/dist/{Popin.ce-D1V8wzxE.js → Popin.ce-CQtpIOkM.js} +3 -3
  12. package/dist/{Retry-fzluiEoj.js → Retry-DLOo5neI.js} +3 -3
  13. package/dist/{Stepper.ce-cG0al2pY.js → Stepper.ce-MmSadTrx.js} +1 -1
  14. package/dist/{_plugin-vue_export-helper-DJlRxzRH.js → _plugin-vue_export-helper-CD1RUA2y.js} +7 -7
  15. package/dist/components/analyse-mails-phishing.ce.js.js +104 -105
  16. package/dist/components/autocompletion-mdp.ce.js.js +81 -81
  17. package/dist/components/button.ce.js.js +2 -2
  18. package/dist/components/calcul-impact.ce.js.js +8 -8
  19. package/dist/components/capacity-calculation.ce.js.js +35 -32
  20. package/dist/components/clickable-image.ce.js.js +10 -10
  21. package/dist/components/complete-phrase.ce.js.js +12 -12
  22. package/dist/components/flip-cards.ce.js.js +7 -7
  23. package/dist/components/generate-mdp.ce.js.js +52 -52
  24. package/dist/components/image-quiz.ce.js.js +3 -3
  25. package/dist/components/image-quizzes.ce.js.js +3 -3
  26. package/dist/components/llm-compare-messages.ce.js.js +3 -3
  27. package/dist/components/llm-messages.ce.js.js +6 -6
  28. package/dist/components/llm-prompt-select.ce.js.js +7 -7
  29. package/dist/components/mdp-classement.ce.js.js +100 -108
  30. package/dist/components/message-conversation.ce.js.js +15 -15
  31. package/dist/components/mobile-shell.ce.js.js +1 -1
  32. package/dist/components/notification-antivirus.ce.js.js +139 -149
  33. package/dist/components/phishing-message.ce.js.js +23 -23
  34. package/dist/components/phishing-notification.ce.js.js +3 -3
  35. package/dist/components/pix-anonymisation.ce.js.js +10 -10
  36. package/dist/components/pix-article.ce.js.js +2 -2
  37. package/dist/components/pix-carousel.ce.js.js +10 -8
  38. package/dist/components/pix-combinaisons.ce.js.js +13 -13
  39. package/dist/components/pix-cursor.ce.js.js +10 -10
  40. package/dist/components/pix-mail-message.ce.js.js +3 -3
  41. package/dist/components/proteger-mail-spam.ce.js.js +70 -82
  42. package/dist/components/qcm-deepfake.ce.js.js +6 -6
  43. package/dist/components/quiz-stepper.ce.js.js +61 -68
  44. package/dist/components/select-conversation.ce.js.js +4 -4
  45. package/dist/components/template-mail.ce.js.js +3 -3
  46. package/dist/components/test-top-mdp.ce.js.js +4 -4
  47. package/dist/components/trouver-mdp-rs.ce.js.js +57 -71
  48. package/dist/components/usages-donnees.ce.js.js +7 -7
  49. package/dist/{i18n-C0iMUvqX.js → i18n-C-1Ne5JG.js} +1 -1
  50. package/dist/{i18n-lite-X2ADNonj.js → i18n-lite-WQsHAHqG.js} +1 -1
  51. package/dist/{image-quiz.ce-BaKLPvSS.js → image-quiz.ce-DGVVVaQN.js} +2 -2
  52. package/dist/{index-Ck6CFpiq.js → index-C8-9QxHJ.js} +1 -1
  53. package/dist/index.js +1 -1
  54. package/dist/{shadow-dom-Dh5hLXcx.js → shadow-dom-DSLDIcsa.js} +1 -1
  55. package/package.json +1 -1
  56. package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js +0 -53
  57. package/dist/Feedback.ce-CeyQhenY.js +0 -26
  58. package/dist/components/feedback.ce.js.js +0 -4
@@ -1,122 +1,110 @@
1
- import { a as T, h as k, o as l, c as N, b as o, x as u, D as f, t as M, f as p, E as g, l as y, A as F, v as d, r as v, g as s, n as S, _ as O, d as $ } from "../_plugin-vue_export-helper-DJlRxzRH.js";
2
- import { u as V, i as b } from "../i18n-lite-X2ADNonj.js";
3
- import { S as D } from "../Stepper.ce-cG0al2pY.js";
4
- import { F as I } from "../Feedback.ce-CeyQhenY.js";
5
- import { _ as K, a as G } from "../Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js";
6
- import { P as H } from "../Popin.ce-D1V8wzxE.js";
7
- import { B as J } from "../Button.ce-C-lBihdF.js";
8
- import { P as Q } from "../PixMailMessage.ce-Cqrs9R3i.js";
9
- import { p as U } from "../shadow-dom-Dh5hLXcx.js";
10
- import { u as w, a as W, b as X } from "../normalize-props-DH0oPBss.js";
11
- const Y = {}, Z = {}, ee = {}, te = {}, ne = {}, ae = {
1
+ import { b as T, h as S, o as c, c as N, a as u, x as r, C as p, D as d, E as g, f as v, v as m, l as M, r as b, g as a, n as k, _ as O, d as $ } from "../_plugin-vue_export-helper-CD1RUA2y.js";
2
+ import { u as V, i as _ } from "../i18n-lite-WQsHAHqG.js";
3
+ import { S as D } from "../Stepper.ce-MmSadTrx.js";
4
+ import { _ as F, a as I, F as K } from "../Cross.ce.vue_vue_type_script_setup_true_lang-CGq82iLD.js";
5
+ import { P as G } from "../Popin.ce-CQtpIOkM.js";
6
+ import { B as H } from "../Button.ce-Ccv3OLk2.js";
7
+ import { P as J } from "../PixMailMessage.ce-CH6CVQ3H.js";
8
+ import { p as Q } from "../shadow-dom-DSLDIcsa.js";
9
+ import { u as w, a as U, b as W } from "../normalize-props-DH0oPBss.js";
10
+ const X = {}, Y = {}, Z = {}, ee = {}, te = {}, oe = {
12
11
  "proteger-mail-spam": { step: "Étape {{step}} sur {{totalStep}}", mailRecipent: "À moi", nextStepButton: "Continuer", successPopin: { title: "Se protéger, mais protéger aussi les autres.", content: "Dans le prochain exemple, l’interface dispose d'avantage de possibilités.", buttonLabel: "Suivant" }, feedback: { titleOk: "Bonne décision", titleKo: "Mauvais choix", step1: { reply: "Répondre confirme votre adresse mail et peut encourager l’escroc. Sélectionnez une autre action de l’interface pour vous protéger de cet expéditeur.", forward: "Transférer ce message expose quelqu’un d’autre à l’arnaque, et ne vous empêche pas de recevoir d’autres mails de cet expéditeur. Sélectionnez une autre action de l’interface pour vous protéger de cet expéditeur.", delete: "Supprimer ce message ne vous empêche pas d’en recevoir d’autres de cet expéditeur. Sélectionnez une autre action de l’interface pour vous protéger de cet expéditeur.", blockSender: "En choisissant de bloquer l’expéditeur, vous ne recevrez plus de message de cet expéditeur." }, step2: { reply: "Répondre valide votre adresse mail et ne vous permet ni de vous protéger, ni de protéger les autres de cet escroc. Sélectionnez une autre action de l’interface pour protéger tous les utilisateurs.", forward: "Transférer ce message expose quelqu’un d’autre à l’arnaque. Sélectionnez une autre action de l’interface pour protéger tous les utilisateurs.", delete: "Supprimer ce message ne vous permet ni de vous protéger, ni de protéger les autres de cet escroc. Sélectionnez une autre action de l’interface pour protéger tous les utilisateurs.", blockSender: "En choisissant de bloquer l’expéditeur, vous vous protégez de cet escroc mais vous ne protégez pas les autres. Sélectionnez une autre action de l’interface pour protéger tous les utilisateurs.", reportSpam: " En signalant ce message, vous vous protégez et vous contribuez à la protection des autres, car cela améliore les filtres anti-spam de tous les utilisateurs." } } }
13
- }, oe = {}, se = {}, ie = {
12
+ }, ne = {}, ae = {}, se = {
14
13
  class: "main-container",
15
14
  ref: "container",
16
15
  tabindex: "-1"
17
- }, re = ["aria-level"], le = { class: "header__description" }, ce = /* @__PURE__ */ T({
16
+ }, ie = ["aria-level"], re = { class: "header__description" }, le = /* @__PURE__ */ T({
18
17
  __name: "ProtegerMailSpam.ce",
19
18
  props: {
20
19
  titleLevel: { default: 2, type: Number },
21
20
  steps: { type: Array }
22
21
  },
23
- setup(n, { expose: m }) {
22
+ setup(o, { expose: f }) {
24
23
  const { t: e } = V();
25
- U();
26
- const t = v(0), a = v(""), c = v(!1), P = k("continue-button"), B = k("container"), i = s(() => n.steps.at(t.value)), r = s(() => i.value.goodAction === a.value), _ = s(() => t.value === n.steps.length - 1), C = s(() => a.value ? e(`proteger-mail-spam.feedback.step${t.value + 1}.${a.value}`) : ""), j = s(() => r.value ? e("proteger-mail-spam.feedback.titleOk") : e("proteger-mail-spam.feedback.titleKo")), A = s(() => r.value ? {
24
+ Q();
25
+ const t = b(0), n = b(""), l = b(!1), P = S("continue-button"), C = S("container"), s = a(() => o.steps.at(t.value)), i = a(() => s.value.goodAction === n.value), h = a(() => t.value === o.steps.length - 1), j = a(() => n.value ? e(`proteger-mail-spam.feedback.step${t.value + 1}.${n.value}`) : ""), B = a(() => i.value ? e("proteger-mail-spam.feedback.titleOk") : e("proteger-mail-spam.feedback.titleKo")), q = a(() => i.value ? {
27
26
  return: "disabled",
28
27
  reply: "disabled",
29
28
  forward: "disabled",
30
29
  menu: "disabled"
31
- } : i.value.actions);
32
- function q() {
33
- a.value = "", t.value = 0, c.value = !1;
30
+ } : s.value.actions);
31
+ function A() {
32
+ n.value = "", t.value = 0, l.value = !1;
34
33
  }
35
- async function E(h) {
36
- a.value = h, await S(), r.value && !_.value && P.value?.buttonElement.focus();
34
+ async function E(x) {
35
+ n.value = x, await k(), i.value && !h.value && P.value?.buttonElement.focus();
37
36
  }
38
37
  async function L() {
39
- t.value += 1, a.value = "", await S(), B.value.focus();
38
+ t.value += 1, n.value = "", await k(), C.value.focus();
40
39
  }
41
40
  async function R() {
42
- await L(), c.value = !1;
41
+ await L(), l.value = !1;
43
42
  }
44
- return m({
45
- reset: q
46
- }), (h, x) => (l(), N("div", ie, [
47
- o("section", null, [
48
- o("div", null, [
49
- o("div", {
43
+ return f({
44
+ reset: A
45
+ }), (x, y) => (c(), N("div", se, [
46
+ u("section", null, [
47
+ u("div", null, [
48
+ u("div", {
50
49
  role: "heading",
51
- "aria-level": n.titleLevel,
50
+ "aria-level": o.titleLevel,
52
51
  class: "header__title"
53
- }, u(i.value.title), 9, re),
54
- o("p", le, u(i.value.description), 1)
52
+ }, r(s.value.title), 9, ie),
53
+ u("p", re, r(s.value.description), 1)
55
54
  ]),
56
- f(D, {
55
+ p(D, {
57
56
  step: t.value,
58
- "steps-count": n.steps.length
57
+ "steps-count": o.steps.length
59
58
  }, null, 8, ["step", "steps-count"]),
60
- f(Q, {
61
- actions: A.value,
62
- mail: i.value.mail,
59
+ p(J, {
60
+ actions: q.value,
61
+ mail: s.value.mail,
63
62
  onAction: E
64
63
  }, null, 8, ["actions", "mail"]),
65
- o("div", {
66
- class: M(["feedback", { "is-hidden": !a.value }]),
67
- "aria-live": "polite"
68
- }, [
69
- a.value ? (l(), p(I, {
70
- key: 0,
71
- title: j.value
72
- }, {
73
- icon: g(() => [
74
- r.value ? (l(), p(K, {
75
- key: 0,
76
- class: "feedback__icon",
77
- "aria-hiden": "true"
78
- })) : (l(), p(G, {
79
- key: 1,
80
- class: "feedback__icon",
81
- "aria-hiden": "true"
82
- }))
83
- ]),
84
- content: g(() => [
85
- o("p", null, u(C.value), 1)
86
- ]),
87
- _: 1
88
- }, 8, ["title"])) : y("", !0)
89
- ], 2),
90
- r.value && !_.value ? (l(), p(J, {
64
+ p(K, {
65
+ "display-feedback": !!n.value
66
+ }, {
67
+ icon: d(() => [
68
+ i.value ? (c(), v(F, { key: 0 })) : (c(), v(I, { key: 1 }))
69
+ ]),
70
+ title: d(() => [
71
+ g(r(B.value), 1)
72
+ ]),
73
+ content: d(() => [
74
+ g(r(j.value), 1)
75
+ ]),
76
+ _: 1
77
+ }, 8, ["display-feedback"]),
78
+ i.value && !h.value ? (c(), v(H, {
91
79
  key: 0,
92
80
  ref: "continue-button",
93
- onClick: x[0] || (x[0] = (de) => c.value = !0),
81
+ onClick: y[0] || (y[0] = (pe) => l.value = !0),
94
82
  class: "next-button"
95
83
  }, {
96
- default: g(() => [
97
- F(u(d(e)("proteger-mail-spam.nextStepButton")), 1)
84
+ default: d(() => [
85
+ g(r(m(e)("proteger-mail-spam.nextStepButton")), 1)
98
86
  ]),
99
87
  _: 1
100
- }, 512)) : y("", !0)
88
+ }, 512)) : M("", !0)
101
89
  ]),
102
- f(H, {
103
- content: d(e)("proteger-mail-spam.successPopin.content"),
104
- title: d(e)("proteger-mail-spam.successPopin.title"),
105
- show: c.value,
106
- "text-button": d(e)("proteger-mail-spam.successPopin.buttonLabel"),
90
+ p(G, {
91
+ content: m(e)("proteger-mail-spam.successPopin.content"),
92
+ title: m(e)("proteger-mail-spam.successPopin.title"),
93
+ show: l.value,
94
+ "text-button": m(e)("proteger-mail-spam.successPopin.buttonLabel"),
107
95
  onPrimaryAction: R
108
96
  }, null, 8, ["content", "title", "show", "text-button"])
109
97
  ], 512));
110
98
  }
111
- }), ue = "html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video,dialog{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}*{font-family:Roboto,Nunito,sans-serif}.main-container{position:relative}.main-container section{display:flex;flex-direction:column;align-items:center;color:#122647;padding:.5rem}.main-container section>:not(:first-child){margin-top:1.5rem}.main-container .header{font-style:normal;text-align:center}.main-container .header__title{font-family:Nunito,sans-serif;text-align:center;font-size:1.25rem;font-weight:700;line-height:28px;margin-bottom:.25rem}.main-container .header__description{text-align:center;font-family:Roboto,sans-serif;font-size:.875rem;line-height:20px}.main-container .feedback{width:100%}.main-container .feedback.is-hidden{margin-top:unset}.main-container .feedback__icon{width:1rem}.main-container .next-button{font-size:.875rem;font-weight:700;line-height:24px}", pe = /* @__PURE__ */ O(ce, [["styles", [ue]]]);
112
- b.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": Y, "./locales/en.json": Z, "./locales/es-419.json": ee, "./locales/es.json": te, "./locales/fr-BE.json": ne, "./locales/fr.json": ae, "./locales/it.json": oe, "./locales/nl.json": se }));
113
- const z = $(pe, {
114
- configureApp(n) {
115
- b.changeLanguage(document?.documentElement?.lang || navigator.language), n.use(b);
99
+ }), ce = "html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video,dialog{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}*{font-family:Roboto,Nunito,sans-serif}.main-container{position:relative}.main-container section{display:flex;flex-direction:column;align-items:center;color:#122647;padding:.5rem}.main-container section>:not(:first-child){margin-top:1.5rem}.main-container .header{font-style:normal;text-align:center}.main-container .header__title{font-family:Nunito,sans-serif;text-align:center;font-size:1.25rem;font-weight:700;line-height:28px;margin-bottom:.25rem}.main-container .header__description{text-align:center;font-family:Roboto,sans-serif;font-size:.875rem;line-height:20px}.main-container .next-button{font-size:.875rem;font-weight:700;line-height:24px}", ue = /* @__PURE__ */ O(le, [["styles", [ce]]]);
100
+ _.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": X, "./locales/en.json": Y, "./locales/es-419.json": Z, "./locales/es.json": ee, "./locales/fr-BE.json": te, "./locales/fr.json": oe, "./locales/it.json": ne, "./locales/nl.json": ae }));
101
+ const z = $(ue, {
102
+ configureApp(o) {
103
+ _.changeLanguage(document?.documentElement?.lang || navigator.language), o.use(_);
116
104
  }
117
105
  });
118
- z.prototype.normalizeProps = (n) => {
119
- const m = n.steps.map((e) => {
106
+ z.prototype.normalizeProps = (o) => {
107
+ const f = o.steps.map((e) => {
120
108
  const t = {
121
109
  ...e,
122
110
  actions: w({
@@ -124,11 +112,11 @@ z.prototype.normalizeProps = (n) => {
124
112
  menuActions: w(e.actions?.menuActions)
125
113
  })
126
114
  };
127
- return t.mail.sender.avatarColor = W(t.mail.sender.avatarColor), t;
115
+ return t.mail.sender.avatarColor = U(t.mail.sender.avatarColor), t;
128
116
  });
129
117
  return {
130
- titleLevel: X(n.titleLevel),
131
- steps: m
118
+ titleLevel: W(o.titleLevel),
119
+ steps: f
132
120
  };
133
121
  };
134
122
  window.customElements.define("proteger-mail-spam", z);
@@ -1,6 +1,6 @@
1
- import { a as y, o, c as i, b as s, x as c, l as v, t as w, g as b, _, N as E, H as R, S as O, A as V, P, r as x, q as G, h as M, F as $, e as C, f as F, v as Q, D as k, X as U, E as H, y as W, d as X } from "../_plugin-vue_export-helper-DJlRxzRH.js";
2
- import { i as a, a as J, b as K } from "../i18n-C0iMUvqX.js";
3
- import { R as Y } from "../Retry-fzluiEoj.js";
1
+ import { b as y, o, c as i, a as s, x as c, l as v, t as w, g as b, _, N as R, H as A, S as O, E as V, P, r as x, q as G, h as M, F as $, e as C, f as F, v as Q, C as k, X as U, D as H, y as W, d as X } from "../_plugin-vue_export-helper-CD1RUA2y.js";
2
+ import { i as a, a as J, b as K } from "../i18n-C-1Ne5JG.js";
3
+ import { R as Y } from "../Retry-DLOo5neI.js";
4
4
  import { b as Z } from "../normalize-props-DH0oPBss.js";
5
5
  const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
6
6
  "qcm-deepfake": { options: ["une photo de sa chanteuse préférée", "une chanson de sa chanteuse préférée", "les partitions de la chanson", "une photo de Caroline", "un enregistrement de Caroline qui dit quelques phrases"], iaResultInfo: "Retrouvez ici les résultats du logiciel d'IA générative :", iaResultGenerated: "Résultat généré par le logiciel d'IA générative", in: "Entrée", out: "Sortie", waiting: "Logiciel d'IA générative", selectThreeElements: "Sélectionnez 3 éléments pour générer la vidéo de Caroline :", generateVideo: "Générer la vidéo !", loading: "Chargement…", restart: "Recommencer", element_one: "élément", element_other: "éléments", generateVideoInfo_one: "Plus que {{count}} élément", generateVideoInfo_other: "Plus que {{count}} éléments", restartInfo: "Essayez avec de nouveaux éléments", success: { title: "Bien joué !", description: "C'est bien la vidéo de Caroline. Vous avez utilisé les bons éléments." }, fail: { title: "Pas exactement…", description: "Le résultat ne convient pas. Recommencez en changeant les éléments en entrée." } }
@@ -65,7 +65,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
65
65
  }),
66
66
  emits: ["update:modelValue"],
67
67
  setup(e, { expose: u }) {
68
- const n = E(e, "modelValue"), l = x(!1), t = b(() => n.value.length === 3 && !l.value || e.readonly);
68
+ const n = R(e, "modelValue"), l = x(!1), t = b(() => n.value.length === 3 && !l.value || e.readonly);
69
69
  function h(f) {
70
70
  if (t.value) {
71
71
  f.preventDefault();
@@ -78,7 +78,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
78
78
  }), (f, m) => (o(), i("label", {
79
79
  class: w({ selected: l.value, disabled: t.value })
80
80
  }, [
81
- R(s("input", {
81
+ A(s("input", {
82
82
  type: "checkbox",
83
83
  name: "options",
84
84
  onClick: h,
@@ -175,7 +175,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
175
175
  ref_key: "optionsNode",
176
176
  ref: h,
177
177
  modelValue: n.value,
178
- "onUpdate:modelValue": r[0] || (r[0] = (A) => n.value = A),
178
+ "onUpdate:modelValue": r[0] || (r[0] = (E) => n.value = E),
179
179
  key: I,
180
180
  class: "left-side__options",
181
181
  option: p,
@@ -1,13 +1,12 @@
1
- import { a as q, o as r, c as m, t as B, b as l, x as u, l as g, _ as A, h as V, D as b, f as h, E as k, A as G, y as Q, r as v, g as p, d as R } from "../_plugin-vue_export-helper-DJlRxzRH.js";
2
- import { u as D, a as O, i as z, b as P } from "../i18n-C0iMUvqX.js";
3
- import { F as I } from "../Feedback.ce-CeyQhenY.js";
4
- import { _ as M, a as H } from "../Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js";
5
- import { S as J } from "../Stepper.ce-cG0al2pY.js";
6
- import { a as f, b as K } from "../normalize-props-DH0oPBss.js";
7
- import { l as U } from "../index-Ck6CFpiq.js";
1
+ import { b as q, o as r, c as b, t as B, a as l, x as u, l as A, _ as j, h as G, C as p, D as v, E as y, f as k, y as Q, r as h, g as f, d as R } from "../_plugin-vue_export-helper-CD1RUA2y.js";
2
+ import { u as D, a as O, i as z, b as P } from "../i18n-C-1Ne5JG.js";
3
+ import { _ as I, a as M, F as H } from "../Cross.ce.vue_vue_type_script_setup_true_lang-CGq82iLD.js";
4
+ import { S as J } from "../Stepper.ce-MmSadTrx.js";
5
+ import { a as m, b as K } from "../normalize-props-DH0oPBss.js";
6
+ import { l as U } from "../index-C8-9QxHJ.js";
8
7
  const W = {}, X = {}, Y = {}, Z = {}, ee = {}, te = {
9
8
  "quiz-stepper": { submitButton: "Valider", nextStepButton: "Continuer", feedback: { success: "Bien joué", failed: "Pas tout à fait" } }
10
- }, ne = {}, se = {}, oe = ["id", "aria-disabled", "checked"], ie = ["for"], ae = {
9
+ }, ne = {}, se = {}, oe = ["id", "aria-disabled", "checked"], ae = ["for"], ie = {
11
10
  key: 0,
12
11
  class: "answer__subtitle"
13
12
  }, le = { class: "answer__content" }, ce = /* @__PURE__ */ q({
@@ -24,7 +23,7 @@ const W = {}, X = {}, Y = {}, Z = {}, ee = {}, te = {
24
23
  function t() {
25
24
  s("select-answer", e.choice);
26
25
  }
27
- return (n, i) => (r(), m("div", {
26
+ return (n, a) => (r(), b("div", {
28
27
  class: B(["answer", { "is-selected": e.isSelected, "is-disabled": e.showFeedback }])
29
28
  }, [
30
29
  l("input", {
@@ -37,59 +36,59 @@ const W = {}, X = {}, Y = {}, Z = {}, ee = {}, te = {
37
36
  class: "sr-only"
38
37
  }, null, 40, oe),
39
38
  l("label", { for: e.id }, [
40
- e.choice.title ? (r(), m("span", ae, u(e.choice.title), 1)) : g("", !0),
39
+ e.choice.title ? (r(), b("span", ie, u(e.choice.title), 1)) : A("", !0),
41
40
  l("span", le, u(e.choice.content), 1)
42
- ], 8, ie)
41
+ ], 8, ae)
43
42
  ], 2));
44
43
  }
45
- }), re = ".answer{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:.25em;border-radius:8px;border:1px solid #cdd1d9;background:#fff;color:var(--neutral-900);text-align:left;font-size:.875em}.answer label{cursor:pointer;height:100%;padding:1em}.answer.is-selected{border-radius:8px;border:1px solid #fff;background:var(--neutral-800);color:#fff}.answer__subtitle{font-size:1em;font-weight:700;line-height:24px;display:block}.answer__content{text-wrap-mode:wrap;white-space-collapse:preserve}.answer .is-disabled{cursor:not-allowed}.answer:focus-within{outline:2px solid black}", S = /* @__PURE__ */ A(ce, [["styles", [re]]]), ue = { class: "quiz-stepper-container__layout" }, de = ["aria-level"], pe = { class: "card-wrapper" }, fe = ["aria-disable"], me = /* @__PURE__ */ q({
44
+ }), re = ".answer{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:.25em;border-radius:8px;border:1px solid #cdd1d9;background:#fff;color:var(--neutral-900);text-align:left;font-size:.875em}.answer label{cursor:pointer;height:100%;padding:1em}.answer.is-selected{border-radius:8px;border:1px solid #fff;background:var(--neutral-800);color:#fff}.answer__subtitle{font-size:1em;font-weight:700;line-height:24px;display:block}.answer__content{text-wrap-mode:wrap;white-space-collapse:preserve}.answer .is-disabled{cursor:not-allowed}.answer:focus-within{outline:2px solid black}", S = /* @__PURE__ */ j(ce, [["styles", [re]]]), ue = { class: "quiz-stepper-container__layout" }, de = ["aria-level"], pe = { class: "card-wrapper" }, fe = ["aria-disable"], me = /* @__PURE__ */ q({
46
45
  __name: "QuizStepper.ce",
47
46
  props: {
48
47
  steps: { type: Array },
49
48
  titleLevel: { default: 2, type: Number }
50
49
  },
51
50
  setup(e, { expose: c }) {
52
- const s = v(0), t = v(), n = v(!1), i = V("form"), { t: _ } = D(), a = p(() => e.steps?.[s.value]), w = p(() => !n.value), $ = p(() => {
51
+ const s = h(0), t = h(), n = h(!1), a = G("form"), { t: g } = D(), i = f(() => e.steps?.[s.value]), _ = f(() => !n.value), C = f(() => {
53
52
  const o = s.value === e.steps.length - 1;
54
53
  return o ? o && !n.value : !0;
55
- }), C = p(() => w.value ? _("quiz-stepper.submitButton") : _("quiz-stepper.nextStepButton"));
56
- function x(o) {
54
+ }), F = f(() => _.value ? g("quiz-stepper.submitButton") : g("quiz-stepper.nextStepButton"));
55
+ function w(o) {
57
56
  n.value || (t.value = o);
58
57
  }
59
- function F() {
58
+ function N() {
60
59
  if (s.value + 1 > e.steps.length) {
61
60
  s.value = e.steps.length;
62
61
  return;
63
62
  }
64
- s.value++, n.value = !1, t.value = void 0, i.value?.focus();
65
- }
66
- function N() {
67
- t.value && (n.value = !0, s.value + 1 === e.steps.length && i.value?.focus());
63
+ s.value++, n.value = !1, t.value = void 0, a.value?.focus();
68
64
  }
69
65
  function T() {
70
- if (w.value) {
71
- N();
66
+ t.value && (n.value = !0, s.value + 1 === e.steps.length && a.value?.focus());
67
+ }
68
+ function E() {
69
+ if (_.value) {
70
+ T();
72
71
  return;
73
72
  }
74
- F();
73
+ N();
75
74
  }
76
- function y(o) {
75
+ function x(o) {
77
76
  return o.content ? o.content === t.value?.content : o.title === t.value?.title;
78
77
  }
79
- function E() {
78
+ function L() {
80
79
  s.value = 0, t.value = void 0, n.value = !1;
81
80
  }
82
81
  return c({
83
- reset: E
84
- }), (o, d) => (r(), m("form", {
82
+ reset: L
83
+ }), (o, d) => (r(), b("form", {
85
84
  class: "quiz-stepper-container",
86
- onSubmit: Q(T, ["prevent"]),
85
+ onSubmit: Q(E, ["prevent"]),
87
86
  ref_key: "form",
88
- ref: i,
87
+ ref: a,
89
88
  tabindex: "-1"
90
89
  }, [
91
90
  l("div", ue, [
92
- b(J, {
91
+ p(J, {
93
92
  step: s.value,
94
93
  "steps-count": e.steps.length
95
94
  }, null, 8, ["step", "steps-count"]),
@@ -99,80 +98,74 @@ const W = {}, X = {}, Y = {}, Z = {}, ee = {}, te = {
99
98
  role: "heading",
100
99
  "aria-level": e.titleLevel,
101
100
  class: "question"
102
- }, u(a.value.question), 9, de)
101
+ }, u(i.value.question), 9, de)
103
102
  ]),
104
103
  l("div", pe, [
105
- b(S, {
104
+ p(S, {
106
105
  id: "choice1",
107
- choice: a.value.choice1,
106
+ choice: i.value.choice1,
108
107
  "show-feedback": n.value,
109
- "is-selected": y(a.value.choice1),
110
- onSelectAnswer: d[0] || (d[0] = (L) => x(a.value.choice1))
108
+ "is-selected": x(i.value.choice1),
109
+ onSelectAnswer: d[0] || (d[0] = (V) => w(i.value.choice1))
111
110
  }, null, 8, ["choice", "show-feedback", "is-selected"]),
112
- b(S, {
111
+ p(S, {
113
112
  id: "choice2",
114
- choice: a.value.choice2,
113
+ choice: i.value.choice2,
115
114
  "show-feedback": n.value,
116
- "is-selected": y(a.value.choice2),
117
- onSelectAnswer: d[1] || (d[1] = (L) => x(a.value.choice2))
115
+ "is-selected": x(i.value.choice2),
116
+ onSelectAnswer: d[1] || (d[1] = (V) => w(i.value.choice2))
118
117
  }, null, 8, ["choice", "show-feedback", "is-selected"])
119
118
  ])
120
119
  ]),
121
- n.value ? (r(), h(I, {
122
- key: 0,
123
- title: t.value?.isGoodAnswer ? o.$t("quiz-stepper.feedback.success") : o.$t("quiz-stepper.feedback.failed")
124
- }, {
125
- icon: k(() => [
126
- t.value?.isGoodAnswer ? (r(), h(M, {
127
- key: 0,
128
- class: "icon-size"
129
- })) : (r(), h(H, {
130
- key: 1,
131
- class: "icon-size"
132
- }))
120
+ p(H, { "display-feedback": n.value }, {
121
+ icon: v(() => [
122
+ t.value?.isGoodAnswer ? (r(), k(I, { key: 0 })) : (r(), k(M, { key: 1 }))
133
123
  ]),
134
- content: k(() => [
135
- G(u(t.value?.isGoodAnswer ? a.value.feedback.success : a.value.feedback.failed), 1)
124
+ title: v(() => [
125
+ y(u(t.value?.isGoodAnswer ? o.$t("quiz-stepper.feedback.success") : o.$t("quiz-stepper.feedback.failed")), 1)
126
+ ]),
127
+ content: v(() => [
128
+ y(u(t.value?.isGoodAnswer ? i.value.feedback.success : i.value.feedback.failed), 1)
136
129
  ]),
137
130
  _: 1
138
- }, 8, ["title"])) : g("", !0),
139
- $.value ? (r(), m("button", {
140
- key: 1,
131
+ }, 8, ["display-feedback"]),
132
+ C.value ? (r(), b("button", {
133
+ key: 0,
141
134
  type: "submit",
142
135
  class: B(["submit-button", { "is-disabled": !t.value }]),
143
136
  "aria-disable": !t.value
144
- }, u(C.value), 11, fe)) : g("", !0)
137
+ }, u(F.value), 11, fe)) : A("", !0)
145
138
  ])
146
139
  ], 544));
147
140
  }
148
- }), be = "*{--neutral-800: #253858;--neutral-900: #122647;font-family:Roboto,sans-serif}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}.icon-size{width:16px;height:16px}.quiz-stepper-container{display:flex;flex-direction:column;align-items:center;color:var(--neutral-800)}.quiz-stepper-container button{cursor:pointer}.quiz-stepper-container fieldset{border:none}.quiz-stepper-container legend{margin-bottom:1.5em}.quiz-stepper-container__layout{width:80%;display:flex;flex-direction:column;gap:1.5em;align-items:center;padding:1.5em 1em}.quiz-stepper-container .question{color:var(--neutral-900);text-align:center;font-family:Nunito;font-size:1.25em;font-style:normal;font-weight:700;line-height:28px}.quiz-stepper-container .card-wrapper{display:flex;padding:1.5em;justify-content:center;gap:1.5em;border-radius:16px;background:#f4f5f7;width:calc(100% - 3em)}.quiz-stepper-container .submit-button{display:flex;padding:.5em 1.5em;justify-content:center;align-items:center;gap:.5em;border-radius:8px;background:#253858;border:none;color:#fff;font-weight:700}.quiz-stepper-container .submit-button.is-disabled{background:#cdd1d9;cursor:not-allowed}@media screen and (max-width:630px){.quiz-stepper-container__layout{width:calc(100% - 1em);padding:1em .5em}.quiz-stepper-container .card-wrapper{padding:1em;flex-direction:column;width:calc(100% - 2em)}}", he = /* @__PURE__ */ A(me, [["styles", [be]]]);
141
+ }), be = "*{--neutral-800: #253858;--neutral-900: #122647;font-family:Roboto,sans-serif}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}.quiz-stepper-container{display:flex;flex-direction:column;align-items:center;color:var(--neutral-800)}.quiz-stepper-container button{cursor:pointer}.quiz-stepper-container fieldset{border:none}.quiz-stepper-container legend{margin-bottom:1.5em}.quiz-stepper-container__layout{width:80%;display:flex;flex-direction:column;gap:1.5em;align-items:center;padding:1.5em 1em}.quiz-stepper-container .question{color:var(--neutral-900);text-align:center;font-family:Nunito;font-size:1.25em;font-style:normal;font-weight:700;line-height:28px}.quiz-stepper-container .card-wrapper{display:flex;padding:1.5em;justify-content:center;gap:1.5em;border-radius:16px;background:#f4f5f7;width:calc(100% - 3em)}.quiz-stepper-container .submit-button{display:flex;padding:.5em 1.5em;justify-content:center;align-items:center;gap:.5em;border-radius:8px;background:#253858;border:none;color:#fff;font-weight:700}.quiz-stepper-container .submit-button.is-disabled{background:#cdd1d9;cursor:not-allowed}@media screen and (max-width:630px){.quiz-stepper-container__layout{width:calc(100% - 1em);padding:1em .5em}.quiz-stepper-container .card-wrapper{padding:1em;flex-direction:column;width:calc(100% - 2em)}}", ve = /* @__PURE__ */ j(me, [["styles", [be]]]);
149
142
  O(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": W, "./locales/en.json": X, "./locales/es-419.json": Y, "./locales/es.json": Z, "./locales/fr-BE.json": ee, "./locales/fr.json": te, "./locales/it.json": ne, "./locales/nl.json": se })).catch((e) => console.error(e));
150
143
  U();
151
- const j = R(he, {
144
+ const $ = R(ve, {
152
145
  configureApp(e) {
153
146
  z.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(P, { i18next: z });
154
147
  }
155
148
  });
156
- j.prototype.normalizeProps = (e) => {
149
+ $.prototype.normalizeProps = (e) => {
157
150
  let { steps: c, titleLevel: s } = e;
158
151
  return c = c.map((t) => {
159
- let { choice1: n, choice2: i } = t;
152
+ let { choice1: n, choice2: a } = t;
160
153
  return n = {
161
154
  ...t.choice1,
162
- title: f(n.title),
163
- content: f(n.content)
164
- }, i = {
155
+ title: m(n.title),
156
+ content: m(n.content)
157
+ }, a = {
165
158
  ...t.choice2,
166
- title: f(i.title),
167
- content: f(i.content)
159
+ title: m(a.title),
160
+ content: m(a.content)
168
161
  }, {
169
162
  ...t,
170
163
  choice1: n,
171
- choice2: i
164
+ choice2: a
172
165
  };
173
166
  }), {
174
167
  steps: c,
175
168
  titleLevel: K(s)
176
169
  };
177
170
  };
178
- window.customElements.define("quiz-stepper", j);
171
+ window.customElements.define("quiz-stepper", $);
@@ -1,8 +1,8 @@
1
- import { a as w, r as g, o as n, c as i, b as e, x as a, v as l, t as z, A as k, F as p, e as M, l as T, g as u, _ as D, d as C } from "../_plugin-vue_export-helper-DJlRxzRH.js";
2
- import { a as j, i as _, b as L } from "../i18n-C0iMUvqX.js";
1
+ import { b as w, r as g, o as n, c as i, a as e, x as a, v as l, t as z, E as k, F as p, e as M, l as T, g as u, _ as D, d as C } from "../_plugin-vue_export-helper-CD1RUA2y.js";
2
+ import { a as j, i as _, b as L } from "../i18n-C-1Ne5JG.js";
3
3
  import { b as S } from "../normalize-props-DH0oPBss.js";
4
4
  import { t as f, a as F, q as $ } from "../temporal.utils-DgmGPVba.js";
5
- const B = {}, I = {}, N = {}, A = {}, E = {}, q = {
5
+ const B = {}, E = {}, I = {}, N = {}, q = {}, A = {
6
6
  "select-conversation": { "select-response-title": "Sélectionnez le message que {{username}} devrait envoyer :", "message-date": "{{messageDay, relativetime(numeric: auto)}} · {{messageTime, datetime(timeStyle: short)}}", "incoming-message-sr": "Message de {{username}} reçu {{messageDay, relativetime(numeric: auto)}} à {{messageTime, datetime(timeStyle: short)}}", "outgoing-message-sr": "Message envoyé par {{username}} {{messageDay, relativetime(numeric: auto)}} à {{messageTime, datetime(timeStyle: short)}}", "good-idea": "Bonne idée", "bad-idea": "Mauvaise idée" }
7
7
  }, R = {}, O = {}, V = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20448%20512'%3e%3c!--!Font%20Awesome%20Free%20v7.1.0%20by%20@fontawesome%20-%20https://fontawesome.com%20License%20-%20https://fontawesome.com/license/free%20Copyright%202025%20Fonticons,%20Inc.--%3e%3cpath%20d='M434.8%2070.1c14.3%2010.4%2017.5%2030.4%207.1%2044.7l-256%20352c-5.5%207.6-14%2012.3-23.4%2013.1s-18.5-2.7-25.1-9.3l-128-128c-12.5-12.5-12.5-32.8%200-45.3s32.8-12.5%2045.3%200l101.5%20101.5%20234-321.7c10.4-14.3%2030.4-17.5%2044.7-7.1z'/%3e%3c/svg%3e", H = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%20512%20512'%3e%3c!--!Font%20Awesome%20Free%20v7.1.0%20by%20@fontawesome%20-%20https://fontawesome.com%20License%20-%20https://fontawesome.com/license/free%20Copyright%202025%20Fonticons,%20Inc.--%3e%3cpath%20d='M256%2048a208%20208%200%201%201%200%20416%20208%20208%200%201%201%200-416zm0%20464a256%20256%200%201%200%200-512%20256%20256%200%201%200%200%20512zM167%20167c-9.4%209.4-9.4%2024.6%200%2033.9l55%2055-55%2055c-9.4%209.4-9.4%2024.6%200%2033.9s24.6%209.4%2033.9%200l55-55%2055%2055c9.4%209.4%2024.6%209.4%2033.9%200s9.4-24.6%200-33.9l-55-55%2055-55c9.4-9.4%209.4-24.6%200-33.9s-24.6-9.4-33.9%200l-55%2055-55-55c-9.4-9.4-24.6-9.4-33.9%200z'/%3e%3c/svg%3e", G = { class: "messages" }, P = { class: "message" }, X = {
8
8
  class: "message__username",
@@ -91,7 +91,7 @@ const B = {}, I = {}, N = {}, A = {}, E = {}, q = {
91
91
  ], 64));
92
92
  }
93
93
  }), me = "html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video,dialog{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}table{border-collapse:collapse;border-spacing:0}.messages,.response-select{--primary-font-size: .875rem;--secondary-font-size: .75rem}*{font-family:Roboto,sans-serif;color:#122647;line-height:normal}.messages{display:flex;flex-direction:column;gap:8px;padding:16px}.message{display:flex;flex-direction:column;align-items:start;gap:8px;margin-left:0;margin-right:16px}.message__username,.message__date{color:#5e6c84;font-size:var(--secondary-font-size);font-weight:400}.message__content{padding:16px 8px;border-radius:8px;background:#e8e8e8;font-size:var(--primary-font-size);font-weight:400}.message--hidden{visibility:hidden}.message--outgoing{align-self:end;align-items:end;margin-left:16px;margin-right:0}.message--outgoing .message__content-container{display:flex;flex-direction:column}.message--outgoing .message__content-title{color:#fff;font-size:var(--secondary-font-size);font-weight:700;border-radius:8px 8px 0 0;background:#452d9d;padding:4px 8px;align-self:start;display:flex;gap:4px;align-items:center}.message--outgoing .message__content-title>img{filter:invert(100%);max-height:16px;max-width:16px}.message--outgoing .message__content{border-top-left-radius:0;background:#cec3f4}.response-select{border-radius:16px;border:1px solid #cdd1d9;background-color:#fff;display:flex;padding:24px 16px;flex-direction:column;gap:16px;margin-top:25px}.response-select__choices{display:flex;gap:8px}.response-select__choice{border-style:none;border-radius:8px;background-color:#253858;padding:8px 16px;color:#fff;text-align:center;font-size:var(--primary-font-size);font-weight:400;line-height:18px;flex:1;cursor:pointer}.response-select__choice[aria-disabled=true]{background-color:#f4f5f7;color:#5e6c84;cursor:not-allowed}.response-select__feedback{border-radius:8px;background:#eaf1ff;padding:8px;color:#122647;font-size:var(--secondary-font-size);font-weight:400;line-height:20px}.title{font-family:Nunito,Roboto,sans-serif;font-size:var(--primary-font-size);font-weight:700}@media(max-width:640px){.messages,.response-select{--primary-font-size: .75rem;--secondary-font-size: .688rem}.response-select__choices{flex-direction:column}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}", ge = /* @__PURE__ */ D(de, [["styles", [me]]]);
94
- j(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": B, "./locales/en.json": I, "./locales/es-419.json": N, "./locales/es.json": A, "./locales/fr-BE.json": E, "./locales/fr.json": q, "./locales/it.json": R, "./locales/nl.json": O })).catch((s) => console.error(s));
94
+ j(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": B, "./locales/en.json": E, "./locales/es-419.json": I, "./locales/es.json": N, "./locales/fr-BE.json": q, "./locales/fr.json": A, "./locales/it.json": R, "./locales/nl.json": O })).catch((s) => console.error(s));
95
95
  const h = C(ge, {
96
96
  configureApp(s) {
97
97
  _.changeLanguage(document?.documentElement?.lang || navigator.language), s.use(L, { i18next: _ });
@@ -1,8 +1,8 @@
1
1
  import { _ as r, a as m, b as _, c as p, d as c, e as u, f as d, g } from "../nl-euPrf5s3.js";
2
2
  import { u as v, a as b, b as f } from "../normalize-props-DH0oPBss.js";
3
- import { a as j, o as M, f as x, g as s, d as y } from "../_plugin-vue_export-helper-DJlRxzRH.js";
4
- import { i as t } from "../i18n-lite-X2ADNonj.js";
5
- import { P as C } from "../PixMailMessage.ce-Cqrs9R3i.js";
3
+ import { b as j, o as M, f as x, g as s, d as y } from "../_plugin-vue_export-helper-CD1RUA2y.js";
4
+ import { i as t } from "../i18n-lite-WQsHAHqG.js";
5
+ import { P as C } from "../PixMailMessage.ce-CH6CVQ3H.js";
6
6
  const S = /* @__PURE__ */ j({
7
7
  __name: "TemplateMail.ce",
8
8
  props: {
@@ -1,12 +1,12 @@
1
- import { a as B, K as $, o as c, c as p, b as e, x as n, B as H, F as h, e as N, t as w, A as k, v as m, l as y, D as P, E as A, g as r, r as C, _ as E, d as I } from "../_plugin-vue_export-helper-DJlRxzRH.js";
2
- import { u as S, i as v } from "../i18n-lite-X2ADNonj.js";
1
+ import { b as $, K as B, o as c, c as p, a as e, x as n, A as H, F as h, e as N, t as w, E as k, v as m, l as y, C as P, D as A, g as r, r as C, _ as E, d as I } from "../_plugin-vue_export-helper-CD1RUA2y.js";
2
+ import { u as S, i as v } from "../i18n-lite-WQsHAHqG.js";
3
3
  const R = {}, D = {}, O = {}, Z = {}, G = {}, K = {
4
4
  "test-top-mdp": { passwords: { title: "Top {{count}} des mots de passe en France" }, loginForm: { title: "Connexion", login: "Identifiant", loginValue: "Ulysse", password: "Mot de passe", passwordPlaceholder: "Séléctionnez un mot de passe...", submit: "Tester", attemptsCount: "Nombre d’essais : {{count}}" }, feedback: { positive: { title_one: "{{feedback}} en un essai.", title_other: "{{feedback}} en {{count}} essais." } } }
5
5
  }, U = {}, q = {}, J = "data:image/svg+xml,%3csvg%20width='18'%20height='18'%20viewBox='0%200%2018%2018'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9%2011.25V12.75M4.5%2015.75H13.5C13.8978%2015.75%2014.2794%2015.592%2014.5607%2015.3107C14.842%2015.0294%2015%2014.6478%2015%2014.25V9.75C15%209.35218%2014.842%208.97064%2014.5607%208.68934C14.2794%208.40804%2013.8978%208.25%2013.5%208.25H4.5C4.10218%208.25%203.72064%208.40804%203.43934%208.68934C3.15804%208.97064%203%209.35218%203%209.75V14.25C3%2014.6478%203.15804%2015.0294%203.43934%2015.3107C3.72064%2015.592%204.10218%2015.75%204.5%2015.75ZM12%208.25V5.25C12%204.45435%2011.6839%203.69129%2011.1213%203.12868C10.5587%202.56607%209.79565%202.25%209%202.25C8.20435%202.25%207.44129%202.56607%206.87868%203.12868C6.31607%203.69129%206%204.45435%206%205.25V8.25H12Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Q = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.5%207L9.5%2017L4.5%2012'%20stroke='%23007740'%20stroke-width='1.6'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", W = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M16.875%207.125L7.125%2016.875M7.125%207.125L16.875%2016.875'%20stroke='%23A94B0C'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", X = { class: "container" }, Y = { class: "card" }, ee = ["arial-level"], te = ["onClick", "aria-disabled", "aria-selected"], oe = { class: "password" }, se = { class: "card" }, ne = ["arial-level"], le = { class: "lock-icon" }, ae = ["src"], ie = { class: "form" }, re = { class: "form__field" }, de = { for: "login" }, ce = ["value"], pe = { class: "form__field" }, ue = { for: "password" }, fe = ["value", "placeholder"], ge = ["src"], _e = ["aria-disabled"], me = { class: "attempts-count" }, ve = { class: "attempts-count__count" }, be = {
6
6
  key: 0,
7
7
  class: "feedback",
8
8
  "aria-live": "polite"
9
- }, xe = ["arial-level", "innerHTML"], he = ["innerHTML"], we = /* @__PURE__ */ B({
9
+ }, xe = ["arial-level", "innerHTML"], he = ["innerHTML"], we = /* @__PURE__ */ $({
10
10
  __name: "TestTopMdp.ce",
11
11
  props: {
12
12
  titleLevel: { type: Number },
@@ -42,7 +42,7 @@ const R = {}, D = {}, O = {}, Z = {}, G = {}, K = {
42
42
  return j({
43
43
  reset: F
44
44
  }), (t, x) => {
45
- const V = $("i18n");
45
+ const V = B("i18n");
46
46
  return c(), p(h, null, [
47
47
  e("div", X, [
48
48
  e("div", Y, [