@1024pix/epreuves-components 4.4.0 → 4.5.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 → Button.ce-DNrjLa1r.js} +1 -1
  2. package/dist/{ButtonTooltip.ce-WwOarMJq.js → ButtonTooltip.ce-DQ8QAvUM.js} +1 -1
  3. package/dist/{Cross.ce.vue_vue_type_script_setup_true_lang-DVLRq2sO.js → Cross.ce.vue_vue_type_script_setup_true_lang-CUc-5ZVt.js} +1 -1
  4. package/dist/{Feedback.ce-CnZRBGWf.js → Feedback.ce-MqHV98f3.js} +1 -1
  5. package/dist/{FocusManager.ce-Cv3wYF9s.js → FocusManager.ce-CwF5pnqR.js} +6 -6
  6. package/dist/Icon.ce-O_y_jvjK.js +50 -0
  7. package/dist/{LLMMessage.ce-B7EwoHy2.js → LLMMessage.ce-Duki08xd.js} +2 -2
  8. package/dist/{Loading.ce-Dv2gEjXm.js → Loading.ce-D7CUjrcI.js} +1 -1
  9. package/dist/{NavigationButton.ce-D8_YC96l.js → NavigationButton.ce-17UL0Mwu.js} +2 -2
  10. package/dist/{PixMailMessage.ce-TnjyOfiH.js → PixMailMessage.ce-CNULZecQ.js} +13 -13
  11. package/dist/{Popin.ce-BPnBZykQ.js → Popin.ce-VvQiVxjk.js} +8 -8
  12. package/dist/{Retry-C3g7zhz8.js → Retry-CGkQcck5.js} +1 -1
  13. package/dist/{Stepper.ce-DEMN02yr.js → Stepper.ce-gx2YaVCo.js} +1 -1
  14. package/dist/{_plugin-vue_export-helper-Dz58mCLm.js → _plugin-vue_export-helper-DROOAHrz.js} +1635 -1540
  15. package/dist/components/analyse-mails-phishing.ce.js.js +11 -11
  16. package/dist/components/button.ce.js.js +2 -2
  17. package/dist/components/calcul-impact.ce.js.js +16 -16
  18. package/dist/components/capacity-calculation.ce.js.js +18 -18
  19. package/dist/components/clickable-image.ce.js.js +12 -12
  20. package/dist/components/complete-phrase.ce.js.js +8 -8
  21. package/dist/components/feedback.ce.js.js +2 -2
  22. package/dist/components/flip-cards.ce.js.js +1 -1
  23. package/dist/components/generate-mdp.ce.js.js +228 -0
  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 +3 -3
  28. package/dist/components/llm-prompt-select.ce.js.js +6 -6
  29. package/dist/components/mdp-classement.ce.js.js +17 -17
  30. package/dist/components/message-conversation.ce.js.js +9 -9
  31. package/dist/components/mobile-shell.ce.js.js +1 -1
  32. package/dist/components/notification-antivirus.ce.js.js +137 -175
  33. package/dist/components/phishing-message.ce.js.js +9 -9
  34. package/dist/components/phishing-notification.ce.js.js +4 -4
  35. package/dist/components/pix-anonymisation.ce.js.js +21 -21
  36. package/dist/components/pix-article.ce.js.js +2 -2
  37. package/dist/components/pix-carousel.ce.js.js +13 -13
  38. package/dist/components/pix-combinaisons.ce.js.js +6 -6
  39. package/dist/components/pix-cursor.ce.js.js +3 -3
  40. package/dist/components/pix-mail-message.ce.js.js +3 -3
  41. package/dist/components/proteger-mail-spam.ce.js.js +14 -14
  42. package/dist/components/qcm-deepfake.ce.js.js +17 -17
  43. package/dist/components/quiz-stepper.ce.js.js +6 -6
  44. package/dist/components/select-conversation.ce.js.js +7 -7
  45. package/dist/components/template-mail.ce.js.js +3 -3
  46. package/dist/components/test-top-mdp.ce.js.js +5 -5
  47. package/dist/components/trouver-mdp-rs.ce.js.js +15 -15
  48. package/dist/components/usages-donnees.ce.js.js +27 -27
  49. package/dist/{i18n-H4HokXDX.js → i18n-BVfGnSnP.js} +13 -13
  50. package/dist/{i18n-lite-CzqISEWm.js → i18n-lite-V7Z5qwB2.js} +1 -1
  51. package/dist/{image-quiz.ce-C-iI27gD.js → image-quiz.ce-DLpB-rde.js} +2 -2
  52. package/dist/{index-BUPiE5WR.js → index-BgVc_wZ5.js} +1 -1
  53. package/dist/index.js +2 -1
  54. package/dist/metadata.js +24 -20
  55. package/dist/props.examples.js +101 -99
  56. package/dist/schema.js +53 -51
  57. package/dist/{shadow-dom-D54WF-WZ.js → shadow-dom-4LHwwhYa.js} +1 -1
  58. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
- import { h as P, j as J, k as Q, n as R, o as a, c as r, l as k, a as t, q as U, r as x, g as v, b as W, s as X, u as e2, K as t2, D as H, E as F, x as n, z as o2, B, F as Z, e as N, t as S, y as i2, v as w, N as n2, _ as s2, d as a2 } from "../_plugin-vue_export-helper-Dz58mCLm.js";
2
- import { u as r2, a as l2, i as T, b as c2 } from "../i18n-H4HokXDX.js";
1
+ import { h as P, j as J, k as Q, n as R, o as a, c as r, l as k, a as t, q as U, r as x, g as v, b as W, s as X, u as e2, K as t2, D as H, E as F, x as n, B as o2, A as B, F as Z, e as N, t as S, y as i2, v as w, N as n2, _ as s2, d as a2 } from "../_plugin-vue_export-helper-DROOAHrz.js";
2
+ import { u as r2, a as l2, i as T, b as c2 } from "../i18n-BVfGnSnP.js";
3
3
  import { b as d2 } from "../normalize-props-DH0oPBss.js";
4
4
  import "./mobile-shell.ce.js.js";
5
5
  import { a as h2 } from "../temporal.utils-DgmGPVba.js";
6
- import { B as u2 } from "../ButtonTooltip.ce-WwOarMJq.js";
6
+ import { B as u2 } from "../ButtonTooltip.ce-DQ8QAvUM.js";
7
7
  const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
8
8
  "phishing-notification": { titleCta: "Catégorisez les notifications", categorization: { titleCta: "Catégorisez cette notification", from: "De : {{sender}}", titleCategories: "L’expéditeur se fait passer pour :" }, correction: "La catégorie {{selectedCategory}} n'est pas la bonne. La bonne catégorisation est : {{category}}", validation: "La catégorie {{selectedCategory}} est la bonne.", progressBarA11Y_one: "{{count}} réponse sur {{total}}", progressBarA11Y_other: "{{count}} réponses sur {{total}}", titleResult: "Résultats", result_one: "{{count}} / {{total}} bonne réponse", result_other: "{{count}} / {{total}} bonnes réponses", close: "Fermer" }
9
9
  }, w2 = {}, v2 = {}, k2 = ["tabindex"], b2 = ["tabindex"], x2 = {
@@ -341,7 +341,7 @@ const g2 = {}, p2 = {}, f2 = {}, m2 = {}, _2 = {}, C2 = {
341
341
  ]);
342
342
  };
343
343
  }
344
- }), _0 = '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{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}*{color:#253858}.title,.categorization__title,.categorization__categories-title{font-family:Nunito,Roboto,sans-serif}p,a,button,li{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}.mobile-container{position:relative}.information-message{background:#eaf1ff;padding:1rem;border-radius:1rem;font-size:.875rem;box-shadow:0 0 25px #00000040;text-align:center;position:absolute;bottom:10%;left:50%;transform:translate(-50%);z-index:999;width:420px}.content{display:flex;flex-direction:column;padding:40px 16px;margin-bottom:8px}.notifications{background:#fff;display:flex;flex-direction:column;padding:1rem;gap:.5rem;font-style:normal;line-height:normal;color:#122647;border-radius:24px}.progress{display:flex;align-items:center;width:100%;text-wrap:nowrap;gap:8px;margin:16px 0}.progress-bar{display:block;position:relative;width:100%;background:#cdd1d9;height:8px;border-radius:4px;font-size:.875rem}.progress-bar:after{content:"";width:var(--threshold);position:absolute;left:0;top:0;height:100%;border-radius:4px;background:linear-gradient(90deg,#2b7fff,#ad46ff)}.result{display:flex;flex-direction:column;align-items:center}.result p{padding:8px 16px;color:#fff;background:linear-gradient(90deg,#2b7fff,#ad46ff);border-radius:50px;margin:16px 0;font-weight:700}.notification{display:flex;gap:.5rem;padding-bottom:12px;position:relative}.notification:not(:last-child){border-bottom:1px solid #cdd1d9}.notification--categorized .notification__icon{opacity:.2}.notification__pill{position:absolute;left:calc(100% + 32px);top:calc((100% - 12px)/2);padding:.5rem 1rem;border-radius:100px;display:flex;align-items:center;justify-content:center;background:#fbecec;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;transform:translate(-50%,-50%)}.notification__pill--right{background:#e8f3ef}.notification__pill img{width:30px}.notification__preview{position:relative;text-decoration:none;width:calc(100% - 34px - .5rem)}.notification__preview:after{content:"";position:absolute;inset:0}.notification__icon{width:34px;height:auto}.notification__top{display:flex;justify-content:space-between}.notification__title{display:block;font-size:.875rem;font-weight:700}.notification__description,.notification__selected-category{display:block;font-size:.75rem;font-weight:400;text-wrap:nowrap;text-overflow:ellipsis;overflow:hidden}.notification__selected-category--right{color:#007740}.notification__selected-category--wrong{color:#99241c}.notification__selected-category--wrong>s{color:#99241c}.notification__time{text-wrap:nowrap;color:#5e6c84;font-size:.75rem;font-weight:400}mobile-shell::part(screen){margin-top:0;max-width:320px}mobile-shell::part(content){overflow:visible;width:100%;aspect-ratio:1/2;background:#f4f5f7}.title{color:#122647;font-size:1.125rem;font-weight:700;line-height:1.5rem}.categorization{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:999;width:85%;background:#fff;box-shadow:0 0 20px #00000080;border-radius:1rem;padding:1.5rem}.categorization__title,.categorization__categories-title{font-weight:700;color:#122647;font-size:1.125rem}.categorization__categories-title{margin-bottom:16px}.categorization__message{background:#f4f5f7;padding:1rem;font-style:normal;font-weight:700;border-radius:.5rem;margin-bottom:1.5rem}.categorization__sender{color:#5e6c84;font-size:1rem}.categorization__content{color:#122647;font-size:.875rem}.categorization>ul{display:flex;justify-content:center;align-items:center;gap:.5rem;flex-wrap:wrap}.categorization button{border:none;display:flex;flex-direction:column;background:#f4f5f7;align-items:center;padding:.5rem;white-space:nowrap;border-radius:.5rem;cursor:pointer;width:116px;height:104px;justify-content:center;gap:8px;font-size:.875rem}.categorization button>img{width:40px}.categorization .title-close{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.categorization .title-close .close-button{background:transparent;width:24px;height:24px}@media(max-width:480px){mobile-shell::part(screen){max-width:234px}.information-message{width:calc(100% - 30px);padding:.5rem;font-size:.75rem}.title{font-size:.875rem}.progress,.result p{font-size:.75rem}.notification{gap:.25rem}.notification__title,.notification__description{font-size:.75rem}.notification__description,.notification__selected-category{font-size:.625rem}.notification__preview{max-width:calc(100% - 30px - .25rem)}.notification__time{display:none}.notification .notification__pill img{width:20px}.notification img{width:30px}.information-message{bottom:12px}.categorization{padding:1rem}.categorization button{width:90px;height:80px;font-size:.75rem}.categorization button>img{width:30px}.categorization__title,.categorization__categories-title,.categorization__sender{font-size:.875rem}.categorization__content{font-size:.75rem}}', C0 = /* @__PURE__ */ s2(m0, [["styles", [_0]]]);
344
+ }), _0 = '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}*{color:#253858}.title,.categorization__title,.categorization__categories-title{font-family:Nunito,Roboto,sans-serif}p,a,button,li{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}.mobile-container{position:relative}.information-message{background:#eaf1ff;padding:1rem;border-radius:1rem;font-size:.875rem;box-shadow:0 0 25px #00000040;text-align:center;position:absolute;bottom:10%;left:50%;transform:translate(-50%);z-index:999;width:420px}.content{display:flex;flex-direction:column;padding:40px 16px;margin-bottom:8px}.notifications{background:#fff;display:flex;flex-direction:column;padding:1rem;gap:.5rem;font-style:normal;line-height:normal;color:#122647;border-radius:24px}.progress{display:flex;align-items:center;width:100%;text-wrap:nowrap;gap:8px;margin:16px 0}.progress-bar{display:block;position:relative;width:100%;background:#cdd1d9;height:8px;border-radius:4px;font-size:.875rem}.progress-bar:after{content:"";width:var(--threshold);position:absolute;left:0;top:0;height:100%;border-radius:4px;background:linear-gradient(90deg,#2b7fff,#ad46ff)}.result{display:flex;flex-direction:column;align-items:center}.result p{padding:8px 16px;color:#fff;background:linear-gradient(90deg,#2b7fff,#ad46ff);border-radius:50px;margin:16px 0;font-weight:700}.notification{display:flex;gap:.5rem;padding-bottom:12px;position:relative}.notification:not(:last-child){border-bottom:1px solid #cdd1d9}.notification--categorized .notification__icon{opacity:.2}.notification__pill{position:absolute;left:calc(100% + 32px);top:calc((100% - 12px)/2);padding:.5rem 1rem;border-radius:100px;display:flex;align-items:center;justify-content:center;background:#fbecec;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;transform:translate(-50%,-50%)}.notification__pill--right{background:#e8f3ef}.notification__pill img{width:30px}.notification__preview{position:relative;text-decoration:none;width:calc(100% - 34px - .5rem)}.notification__preview:after{content:"";position:absolute;inset:0}.notification__icon{width:34px;height:auto}.notification__top{display:flex;justify-content:space-between}.notification__title{display:block;font-size:.875rem;font-weight:700}.notification__description,.notification__selected-category{display:block;font-size:.75rem;font-weight:400;text-wrap:nowrap;text-overflow:ellipsis;overflow:hidden}.notification__selected-category--right{color:#007740}.notification__selected-category--wrong{color:#99241c}.notification__selected-category--wrong>s{color:#99241c}.notification__time{text-wrap:nowrap;color:#5e6c84;font-size:.75rem;font-weight:400}mobile-shell::part(screen){margin-top:0;max-width:320px}mobile-shell::part(content){overflow:visible;width:100%;aspect-ratio:1/2;background:#f4f5f7}.title{color:#122647;font-size:1.125rem;font-weight:700;line-height:1.5rem}.categorization{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:999;width:85%;background:#fff;box-shadow:0 0 20px #00000080;border-radius:1rem;padding:1.5rem}.categorization__title,.categorization__categories-title{font-weight:700;color:#122647;font-size:1.125rem}.categorization__categories-title{margin-bottom:16px}.categorization__message{background:#f4f5f7;padding:1rem;font-style:normal;font-weight:700;border-radius:.5rem;margin-bottom:1.5rem}.categorization__sender{color:#5e6c84;font-size:1rem}.categorization__content{color:#122647;font-size:.875rem}.categorization>ul{display:flex;justify-content:center;align-items:center;gap:.5rem;flex-wrap:wrap}.categorization button{border:none;display:flex;flex-direction:column;background:#f4f5f7;align-items:center;padding:.5rem;white-space:nowrap;border-radius:.5rem;cursor:pointer;width:116px;height:104px;justify-content:center;gap:8px;font-size:.875rem}.categorization button>img{width:40px}.categorization .title-close{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.categorization .title-close .close-button{background:transparent;width:24px;height:24px}@media(max-width:480px){mobile-shell::part(screen){max-width:234px}.information-message{width:calc(100% - 30px);padding:.5rem;font-size:.75rem}.title{font-size:.875rem}.progress,.result p{font-size:.75rem}.notification{gap:.25rem}.notification__title,.notification__description{font-size:.75rem}.notification__description,.notification__selected-category{font-size:.625rem}.notification__preview{max-width:calc(100% - 30px - .25rem)}.notification__time{display:none}.notification .notification__pill img{width:20px}.notification img{width:30px}.information-message{bottom:12px}.categorization{padding:1rem}.categorization button{width:90px;height:80px;font-size:.75rem}.categorization button>img{width:30px}.categorization__title,.categorization__categories-title,.categorization__sender{font-size:.875rem}.categorization__content{font-size:.75rem}}', C0 = /* @__PURE__ */ s2(m0, [["styles", [_0]]]);
345
345
  l2(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": g2, "./locales/en.json": p2, "./locales/es-419.json": f2, "./locales/es.json": m2, "./locales/fr-BE.json": _2, "./locales/fr.json": C2, "./locales/it.json": w2, "./locales/nl.json": v2 })).catch((s) => console.error(s));
346
346
  const I = a2(C0, {
347
347
  configureApp(s) {
@@ -1,13 +1,13 @@
1
- import { b as E, h as V, o, c as n, a, F as u, e as m, z as k, t as h, x as d, H as F, P as T, D as q, E as w, B as S, l as _, f as D, r as x, g as p, _ as I, d as G } from "../_plugin-vue_export-helper-Dz58mCLm.js";
2
- import { a as H, i as $, b as M } from "../i18n-H4HokXDX.js";
1
+ import { b as E, h as V, o, c as n, a, F as u, e as m, B as k, t as h, x as d, H as F, P as T, D as q, E as w, A as S, l as _, f as D, r as x, g as p, _ as I, d as G } from "../_plugin-vue_export-helper-DROOAHrz.js";
2
+ import { a as H, i as $, b as M } from "../i18n-BVfGnSnP.js";
3
3
  import { b as O } from "../normalize-props-DH0oPBss.js";
4
- import { B as z } from "../Button.ce-Dvxeebpx.js";
4
+ import { B as C } from "../Button.ce-DNrjLa1r.js";
5
5
  const U = {}, J = {}, K = {}, Q = {}, W = {}, X = {
6
6
  "pix-anonymisation": { prompt: { title: "Prompt" }, rephrase: { title: "Reformulation" }, buttons: { checkNow: "Suivant", displayRephrasing: "Suivant", nextPrompt: "Suivant" }, correction: "élements qui doivent être anonymisés:" }
7
7
  }, Y = {}, Z = {}, aa = {
8
8
  ref: "prompt-container",
9
9
  tabindex: "-1"
10
- }, ta = { class: "stepper-container" }, ea = { key: 0 }, oa = { class: "prompt-card" }, na = ["aria-level"], da = { class: "prompt-card-content" }, ra = ["for"], sa = ["id", "value"], ia = { class: "prompt-card-content-part" }, la = { class: "prompt-card" }, ba = ["aria-level"], pa = { class: "prompt-card-content" }, fa = { class: "sr-only" }, ca = { class: "sr-only" }, va = {
10
+ }, ta = { class: "stepper-container" }, ea = { key: 0 }, oa = { class: "prompt-card" }, na = ["aria-level"], da = { class: "prompt-card-content" }, ra = ["for"], sa = ["id", "value"], ia = { class: "prompt-card-content-part" }, la = { class: "prompt-card" }, ba = ["aria-level"], pa = { class: "prompt-card-content" }, fa = { class: "sr-only" }, va = { class: "sr-only" }, ca = {
11
11
  key: 0,
12
12
  class: "prompt-card rephrase"
13
13
  }, ua = ["aria-level"], ma = { class: "prompt-card-content" }, ga = {
@@ -19,8 +19,8 @@ const U = {}, J = {}, K = {}, Q = {}, W = {}, X = {
19
19
  titleLevel: { default: 2, type: Number },
20
20
  steps: { type: Array }
21
21
  },
22
- setup(e, { expose: j }) {
23
- const i = x(0), b = x([]), l = x(1), N = V("prompt-container"), f = p(() => e.steps[i.value]), L = p(() => l.value === 3 && i.value + 1 === e.steps.length), c = p(() => l.value === 3), P = p(() => f.value.fullSentence.map(({ content: t }) => t)), B = p(() => f.value.fullSentence.map(({ content: t, isAnonymizable: v }) => v ? { content: t, color: "green" } : {
22
+ setup(e, { expose: z }) {
23
+ const i = x(0), b = x([]), l = x(1), N = V("prompt-container"), f = p(() => e.steps[i.value]), L = p(() => l.value === 3 && i.value + 1 === e.steps.length), v = p(() => l.value === 3), P = p(() => f.value.fullSentence.map(({ content: t }) => t)), B = p(() => f.value.fullSentence.map(({ content: t, isAnonymizable: c }) => c ? { content: t, color: "green" } : {
24
24
  content: t,
25
25
  color: b.value.includes(t) ? "red" : "neutral"
26
26
  })), R = p(() => f.value.fullSentence.filter(({ isAnonymizable: t }) => t).map(({ content: t }) => t));
@@ -28,15 +28,15 @@ const U = {}, J = {}, K = {}, Q = {}, W = {}, X = {
28
28
  l.value = 1, i.value = 0, b.value = [];
29
29
  }
30
30
  function y() {
31
- if (c.value) {
31
+ if (v.value) {
32
32
  l.value = 1, i.value++, b.value = [];
33
33
  return;
34
34
  }
35
35
  l.value++, N.value.focus();
36
36
  }
37
- return j({
37
+ return z({
38
38
  reset: A
39
- }), (t, v) => (o(), n("div", aa, [
39
+ }), (t, c) => (o(), n("div", aa, [
40
40
  a("header", null, [
41
41
  a("div", ta, [
42
42
  (o(!0), n(u, null, m(e.steps, (r, s) => (o(), n("div", {
@@ -70,7 +70,7 @@ const U = {}, J = {}, K = {}, Q = {}, W = {}, X = {
70
70
  value: r,
71
71
  class: "sr-only",
72
72
  type: "checkbox",
73
- "onUpdate:modelValue": v[0] || (v[0] = (g) => b.value = g)
73
+ "onUpdate:modelValue": c[0] || (c[0] = (g) => b.value = g)
74
74
  }, null, 8, sa), [
75
75
  [T, b.value]
76
76
  ]),
@@ -78,7 +78,7 @@ const U = {}, J = {}, K = {}, Q = {}, W = {}, X = {
78
78
  ], 8, ra))), 128))
79
79
  ])
80
80
  ]),
81
- q(z, {
81
+ q(C, {
82
82
  "is-disabled": b.value.length === 0,
83
83
  onClick: y
84
84
  }, {
@@ -89,7 +89,7 @@ const U = {}, J = {}, K = {}, Q = {}, W = {}, X = {
89
89
  }, 8, ["is-disabled"])
90
90
  ])) : (o(), n("div", {
91
91
  key: 1,
92
- class: h(["results", { "prompt-and-rephrase": c.value }])
92
+ class: h(["results", { "prompt-and-rephrase": v.value }])
93
93
  }, [
94
94
  a("div", la, [
95
95
  a("div", {
@@ -105,11 +105,11 @@ const U = {}, J = {}, K = {}, Q = {}, W = {}, X = {
105
105
  ]))), 128))
106
106
  ]),
107
107
  a("p", fa, d(t.$t("pix-anonymisation.correction")), 1),
108
- a("ul", ca, [
108
+ a("ul", va, [
109
109
  (o(!0), n(u, null, m(R.value, (r) => (o(), n("li", { key: r }, d(r), 1))), 128))
110
110
  ])
111
111
  ]),
112
- c.value ? (o(), n("div", va, [
112
+ v.value ? (o(), n("div", ca, [
113
113
  a("div", {
114
114
  role: "heading",
115
115
  class: "prompt-card__heading",
@@ -117,14 +117,14 @@ const U = {}, J = {}, K = {}, Q = {}, W = {}, X = {
117
117
  }, d(t.$t("pix-anonymisation.rephrase.title")), 9, ua),
118
118
  a("p", ma, d(f.value.rephrase), 1)
119
119
  ])) : _("", !0),
120
- c.value ? (o(), n("p", ga, d(f.value.feedback), 1)) : _("", !0),
121
- L.value ? _("", !0) : (o(), D(z, {
120
+ v.value ? (o(), n("p", ga, d(f.value.feedback), 1)) : _("", !0),
121
+ L.value ? _("", !0) : (o(), D(C, {
122
122
  key: 2,
123
123
  onClick: y,
124
124
  class: "feedback-button"
125
125
  }, {
126
126
  default: w(() => [
127
- S(d(c.value ? t.$t("pix-anonymisation.buttons.nextPrompt") : t.$t("pix-anonymisation.buttons.displayRephrasing")), 1)
127
+ S(d(v.value ? t.$t("pix-anonymisation.buttons.nextPrompt") : t.$t("pix-anonymisation.buttons.displayRephrasing")), 1)
128
128
  ]),
129
129
  _: 1
130
130
  }))
@@ -132,15 +132,15 @@ const U = {}, J = {}, K = {}, Q = {}, W = {}, X = {
132
132
  ])
133
133
  ], 512));
134
134
  }
135
- }), _a = "html[data-v-a2b3f4a1],body[data-v-a2b3f4a1],div[data-v-a2b3f4a1],span[data-v-a2b3f4a1],applet[data-v-a2b3f4a1],object[data-v-a2b3f4a1],iframe[data-v-a2b3f4a1],h1[data-v-a2b3f4a1],h2[data-v-a2b3f4a1],h3[data-v-a2b3f4a1],h4[data-v-a2b3f4a1],h5[data-v-a2b3f4a1],h6[data-v-a2b3f4a1],p[data-v-a2b3f4a1],blockquote[data-v-a2b3f4a1],pre[data-v-a2b3f4a1],a[data-v-a2b3f4a1],abbr[data-v-a2b3f4a1],acronym[data-v-a2b3f4a1],address[data-v-a2b3f4a1],big[data-v-a2b3f4a1],cite[data-v-a2b3f4a1],code[data-v-a2b3f4a1],del[data-v-a2b3f4a1],dfn[data-v-a2b3f4a1],em[data-v-a2b3f4a1],img[data-v-a2b3f4a1],ins[data-v-a2b3f4a1],kbd[data-v-a2b3f4a1],q[data-v-a2b3f4a1],s[data-v-a2b3f4a1],samp[data-v-a2b3f4a1],small[data-v-a2b3f4a1],strike[data-v-a2b3f4a1],strong[data-v-a2b3f4a1],sub[data-v-a2b3f4a1],sup[data-v-a2b3f4a1],tt[data-v-a2b3f4a1],var[data-v-a2b3f4a1],b[data-v-a2b3f4a1],u[data-v-a2b3f4a1],i[data-v-a2b3f4a1],center[data-v-a2b3f4a1],dl[data-v-a2b3f4a1],dt[data-v-a2b3f4a1],dd[data-v-a2b3f4a1],ol[data-v-a2b3f4a1],ul[data-v-a2b3f4a1],li[data-v-a2b3f4a1],fieldset[data-v-a2b3f4a1],form[data-v-a2b3f4a1],label[data-v-a2b3f4a1],legend[data-v-a2b3f4a1],table[data-v-a2b3f4a1],caption[data-v-a2b3f4a1],tbody[data-v-a2b3f4a1],tfoot[data-v-a2b3f4a1],thead[data-v-a2b3f4a1],tr[data-v-a2b3f4a1],th[data-v-a2b3f4a1],td[data-v-a2b3f4a1],article[data-v-a2b3f4a1],aside[data-v-a2b3f4a1],canvas[data-v-a2b3f4a1],details[data-v-a2b3f4a1],embed[data-v-a2b3f4a1],figure[data-v-a2b3f4a1],figcaption[data-v-a2b3f4a1],footer[data-v-a2b3f4a1],header[data-v-a2b3f4a1],hgroup[data-v-a2b3f4a1],menu[data-v-a2b3f4a1],nav[data-v-a2b3f4a1],output[data-v-a2b3f4a1],ruby[data-v-a2b3f4a1],section[data-v-a2b3f4a1],summary[data-v-a2b3f4a1],time[data-v-a2b3f4a1],mark[data-v-a2b3f4a1],audio[data-v-a2b3f4a1],video[data-v-a2b3f4a1]{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article[data-v-a2b3f4a1],aside[data-v-a2b3f4a1],details[data-v-a2b3f4a1],figcaption[data-v-a2b3f4a1],figure[data-v-a2b3f4a1],footer[data-v-a2b3f4a1],header[data-v-a2b3f4a1],hgroup[data-v-a2b3f4a1],menu[data-v-a2b3f4a1],nav[data-v-a2b3f4a1],section[data-v-a2b3f4a1]{display:block}body[data-v-a2b3f4a1]{line-height:1}ol[data-v-a2b3f4a1],ul[data-v-a2b3f4a1]{list-style:none}table[data-v-a2b3f4a1]{border-collapse:collapse;border-spacing:0}[data-v-a2b3f4a1]{color:#122647;font-style:normal;box-sizing:border-box}p[data-v-a2b3f4a1],label[data-v-a2b3f4a1],button[data-v-a2b3f4a1]{font-family:Roboto,sans-serif;font-size:.875rem;font-weight:400}form[data-v-a2b3f4a1],.results[data-v-a2b3f4a1]{display:flex;flex-direction:column;gap:16px}button[data-v-a2b3f4a1]{font-weight:700;margin:0 auto}.heading[data-v-a2b3f4a1]{font-family:Nunito,Roboto,sans-serif;text-align:center;font-size:1.25rem;font-weight:700}.stepper-container[data-v-a2b3f4a1]{display:flex;gap:6px;margin-bottom:16px;align-items:center}.stepper-container span[data-v-a2b3f4a1]{font-size:.875rem;white-space:nowrap}.stepper-background[data-v-a2b3f4a1]{background-color:#e8eaed;height:8px;flex:1 1 var(--step-width);border-radius:64px}.stepper-background.is-active .progress-bar[data-v-a2b3f4a1]{background:#613fdd;height:8px;border-radius:64px;width:var(--progress-bar-width)}.stepper-background.is-finished[data-v-a2b3f4a1]{background:#613fdd;height:8px;border-radius:64px;width:100%}.prompt-card[data-v-a2b3f4a1]{border-radius:16px;border:1px solid #cdd1d9;padding:16px}.prompt-card__heading[data-v-a2b3f4a1]{font-family:Roboto,sans-serif;font-size:1rem;font-weight:700;margin-bottom:8px}.prompt-card-content[data-v-a2b3f4a1]{display:flex;flex-wrap:wrap;border-radius:8px;background:#f4f5f7;padding:16px;gap:4px}.prompt-card-content>span[data-v-a2b3f4a1]{padding:2px}.prompt-card-content-part[data-v-a2b3f4a1]{padding:1px 4px;border-radius:4px;border:1px solid #cdd1d9;margin-bottom:5px}.prompt-card-content-part.red[data-v-a2b3f4a1]{border-color:transparent;background:#e4766f}.prompt-card-content-part.green[data-v-a2b3f4a1]{border-color:transparent;background:#54c590}input:checked~.prompt-card-content-part[data-v-a2b3f4a1]{background:#ffdc76;border-color:transparent}input:focus~.prompt-card-content-part[data-v-a2b3f4a1]{outline:1px solid black}.prompt-and-rephrase[data-v-a2b3f4a1]{display:grid;grid-template-columns:1fr 1fr;gap:16px}.prompt-and-rephrase .feedback[data-v-a2b3f4a1]{grid-column:1/span 2;border-radius:16px;background:#eaf1ff;padding:16px}.feedback-button[data-v-a2b3f4a1]{grid-column:1/span 2}.sr-only[data-v-a2b3f4a1]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}@media screen and (max-width:768px){.prompt-card[data-v-a2b3f4a1]{grid-column:1/span 2;margin-top:8px}.prompt-card.rephrase[data-v-a2b3f4a1]{margin-top:0}.feedback[data-v-a2b3f4a1]{margin-block:8px}}", xa = /* @__PURE__ */ I(ha, [["styles", [_a]], ["__scopeId", "data-v-a2b3f4a1"]]);
135
+ }), _a = "html[data-v-a2b3f4a1],body[data-v-a2b3f4a1],div[data-v-a2b3f4a1],span[data-v-a2b3f4a1],applet[data-v-a2b3f4a1],object[data-v-a2b3f4a1],iframe[data-v-a2b3f4a1],h1[data-v-a2b3f4a1],h2[data-v-a2b3f4a1],h3[data-v-a2b3f4a1],h4[data-v-a2b3f4a1],h5[data-v-a2b3f4a1],h6[data-v-a2b3f4a1],p[data-v-a2b3f4a1],blockquote[data-v-a2b3f4a1],pre[data-v-a2b3f4a1],a[data-v-a2b3f4a1],abbr[data-v-a2b3f4a1],acronym[data-v-a2b3f4a1],address[data-v-a2b3f4a1],big[data-v-a2b3f4a1],cite[data-v-a2b3f4a1],code[data-v-a2b3f4a1],del[data-v-a2b3f4a1],dfn[data-v-a2b3f4a1],em[data-v-a2b3f4a1],img[data-v-a2b3f4a1],ins[data-v-a2b3f4a1],kbd[data-v-a2b3f4a1],q[data-v-a2b3f4a1],s[data-v-a2b3f4a1],samp[data-v-a2b3f4a1],small[data-v-a2b3f4a1],strike[data-v-a2b3f4a1],strong[data-v-a2b3f4a1],sub[data-v-a2b3f4a1],sup[data-v-a2b3f4a1],tt[data-v-a2b3f4a1],var[data-v-a2b3f4a1],b[data-v-a2b3f4a1],u[data-v-a2b3f4a1],i[data-v-a2b3f4a1],center[data-v-a2b3f4a1],dl[data-v-a2b3f4a1],dt[data-v-a2b3f4a1],dd[data-v-a2b3f4a1],ol[data-v-a2b3f4a1],ul[data-v-a2b3f4a1],li[data-v-a2b3f4a1],fieldset[data-v-a2b3f4a1],form[data-v-a2b3f4a1],label[data-v-a2b3f4a1],legend[data-v-a2b3f4a1],table[data-v-a2b3f4a1],caption[data-v-a2b3f4a1],tbody[data-v-a2b3f4a1],tfoot[data-v-a2b3f4a1],thead[data-v-a2b3f4a1],tr[data-v-a2b3f4a1],th[data-v-a2b3f4a1],td[data-v-a2b3f4a1],article[data-v-a2b3f4a1],aside[data-v-a2b3f4a1],canvas[data-v-a2b3f4a1],details[data-v-a2b3f4a1],embed[data-v-a2b3f4a1],figure[data-v-a2b3f4a1],figcaption[data-v-a2b3f4a1],footer[data-v-a2b3f4a1],header[data-v-a2b3f4a1],hgroup[data-v-a2b3f4a1],menu[data-v-a2b3f4a1],nav[data-v-a2b3f4a1],output[data-v-a2b3f4a1],ruby[data-v-a2b3f4a1],section[data-v-a2b3f4a1],summary[data-v-a2b3f4a1],time[data-v-a2b3f4a1],mark[data-v-a2b3f4a1],audio[data-v-a2b3f4a1],video[data-v-a2b3f4a1],dialog[data-v-a2b3f4a1]{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article[data-v-a2b3f4a1],aside[data-v-a2b3f4a1],details[data-v-a2b3f4a1],figcaption[data-v-a2b3f4a1],figure[data-v-a2b3f4a1],footer[data-v-a2b3f4a1],header[data-v-a2b3f4a1],hgroup[data-v-a2b3f4a1],menu[data-v-a2b3f4a1],nav[data-v-a2b3f4a1],section[data-v-a2b3f4a1]{display:block}body[data-v-a2b3f4a1]{line-height:1}ol[data-v-a2b3f4a1],ul[data-v-a2b3f4a1]{list-style:none}table[data-v-a2b3f4a1]{border-collapse:collapse;border-spacing:0}[data-v-a2b3f4a1]{color:#122647;font-style:normal;box-sizing:border-box}p[data-v-a2b3f4a1],label[data-v-a2b3f4a1],button[data-v-a2b3f4a1]{font-family:Roboto,sans-serif;font-size:.875rem;font-weight:400}form[data-v-a2b3f4a1],.results[data-v-a2b3f4a1]{display:flex;flex-direction:column;gap:16px}button[data-v-a2b3f4a1]{font-weight:700;margin:0 auto}.heading[data-v-a2b3f4a1]{font-family:Nunito,Roboto,sans-serif;text-align:center;font-size:1.25rem;font-weight:700}.stepper-container[data-v-a2b3f4a1]{display:flex;gap:6px;margin-bottom:16px;align-items:center}.stepper-container span[data-v-a2b3f4a1]{font-size:.875rem;white-space:nowrap}.stepper-background[data-v-a2b3f4a1]{background-color:#e8eaed;height:8px;flex:1 1 var(--step-width);border-radius:64px}.stepper-background.is-active .progress-bar[data-v-a2b3f4a1]{background:#613fdd;height:8px;border-radius:64px;width:var(--progress-bar-width)}.stepper-background.is-finished[data-v-a2b3f4a1]{background:#613fdd;height:8px;border-radius:64px;width:100%}.prompt-card[data-v-a2b3f4a1]{border-radius:16px;border:1px solid #cdd1d9;padding:16px}.prompt-card__heading[data-v-a2b3f4a1]{font-family:Roboto,sans-serif;font-size:1rem;font-weight:700;margin-bottom:8px}.prompt-card-content[data-v-a2b3f4a1]{display:flex;flex-wrap:wrap;border-radius:8px;background:#f4f5f7;padding:16px;gap:4px}.prompt-card-content>span[data-v-a2b3f4a1]{padding:2px}.prompt-card-content-part[data-v-a2b3f4a1]{padding:1px 4px;border-radius:4px;border:1px solid #cdd1d9;margin-bottom:5px}.prompt-card-content-part.red[data-v-a2b3f4a1]{border-color:transparent;background:#e4766f}.prompt-card-content-part.green[data-v-a2b3f4a1]{border-color:transparent;background:#54c590}input:checked~.prompt-card-content-part[data-v-a2b3f4a1]{background:#ffdc76;border-color:transparent}input:focus~.prompt-card-content-part[data-v-a2b3f4a1]{outline:1px solid black}.prompt-and-rephrase[data-v-a2b3f4a1]{display:grid;grid-template-columns:1fr 1fr;gap:16px}.prompt-and-rephrase .feedback[data-v-a2b3f4a1]{grid-column:1/span 2;border-radius:16px;background:#eaf1ff;padding:16px}.feedback-button[data-v-a2b3f4a1]{grid-column:1/span 2}.sr-only[data-v-a2b3f4a1]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}@media screen and (max-width:768px){.prompt-card[data-v-a2b3f4a1]{grid-column:1/span 2;margin-top:8px}.prompt-card.rephrase[data-v-a2b3f4a1]{margin-top:0}.feedback[data-v-a2b3f4a1]{margin-block:8px}}", xa = /* @__PURE__ */ I(ha, [["styles", [_a]], ["__scopeId", "data-v-a2b3f4a1"]]);
136
136
  H(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": U, "./locales/en.json": J, "./locales/es-419.json": K, "./locales/es.json": Q, "./locales/fr-BE.json": W, "./locales/fr.json": X, "./locales/it.json": Y, "./locales/nl.json": Z })).catch((e) => console.error(e));
137
- const C = G(xa, {
137
+ const j = G(xa, {
138
138
  configureApp(e) {
139
139
  $.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(M, { i18next: $ });
140
140
  }
141
141
  });
142
- C.prototype.normalizeProps = (e) => ({
142
+ j.prototype.normalizeProps = (e) => ({
143
143
  ...e,
144
144
  titleLevel: O(e.titleLevel)
145
145
  });
146
- window.customElements.define("pix-anonymisation", C);
146
+ window.customElements.define("pix-anonymisation", j);
@@ -1,5 +1,5 @@
1
- import { b as d, o as n, c as l, a as t, x as i, F as o, e as u, g as m, _ as f, d as v } from "../_plugin-vue_export-helper-Dz58mCLm.js";
2
- import { a as p, i as r, b } from "../i18n-H4HokXDX.js";
1
+ import { b as d, o as n, c as l, a as t, x as i, F as o, e as u, g as m, _ as f, d as v } from "../_plugin-vue_export-helper-DROOAHrz.js";
2
+ import { a as p, i as r, b } from "../i18n-BVfGnSnP.js";
3
3
  import { a as s, b as y } from "../normalize-props-DH0oPBss.js";
4
4
  const S = {}, x = {}, j = {}, A = {}, L = {}, H = {
5
5
  "pix-article": { byAuthor: "Par {{author}}" }
@@ -1,7 +1,7 @@
1
- import { k as W, n as Y, X as q, Y as X, Z as O, A as k, j as N, g as h, $ as V, b as D, o, c as l, t as S, a as g, q as J, B as P, x as b, v as f, l as B, _ as C, r as T, h as K, z as j, D as y, s as Q, E as $, F as z, e as M, f as R, d as ee } from "../_plugin-vue_export-helper-Dz58mCLm.js";
2
- import { a as ie, i as E, b as te } from "../i18n-H4HokXDX.js";
3
- import { N as I } from "../NavigationButton.ce-D8_YC96l.js";
4
- import { B as H } from "../ButtonTooltip.ce-WwOarMJq.js";
1
+ import { k as W, n as Y, Y as q, Z as J, $ as O, z as k, j as N, g as h, a0 as V, b as D, o, c as l, t as S, a as g, q as K, A as P, x as b, v as f, l as B, _ as C, r as T, h as Q, B as j, D as y, s as X, E as $, F as z, e as M, f as R, d as ee } from "../_plugin-vue_export-helper-DROOAHrz.js";
2
+ import { a as ie, i as E, b as te } from "../i18n-BVfGnSnP.js";
3
+ import { N as I } from "../NavigationButton.ce-17UL0Mwu.js";
4
+ import { B as H } from "../ButtonTooltip.ce-DQ8QAvUM.js";
5
5
  import { u as ne, b as A, a as ae } from "../normalize-props-DH0oPBss.js";
6
6
  const se = {}, oe = {
7
7
  "pix-carousel": { license: "Image license", next: "Next", of: "{{ currentSlide }} of {{ slideLength }}", previous: "Previous", slide: "Slide", title: "Carousel" }
@@ -15,7 +15,7 @@ const se = {}, oe = {
15
15
  "pix-carousel": { license: "Afbeeldingslicentie", next: "Volgende", of: "{{ currentSlide }} van {{ slideLength }}", previous: "Vorige", slide: "Dia", title: "Carrousel" }
16
16
  };
17
17
  function me(e, i) {
18
- return q() ? (X(e, i), !0) : !1;
18
+ return q() ? (J(e, i), !0) : !1;
19
19
  }
20
20
  const fe = typeof window < "u" && typeof document < "u";
21
21
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
@@ -134,7 +134,7 @@ const _e = ["aria-level"], Ce = ["innerHTML"], Se = {
134
134
  "aria-level": e.titleLevel,
135
135
  class: "title"
136
136
  }, [
137
- J(i.$slots, "pagination"),
137
+ K(i.$slots, "pagination"),
138
138
  P(" " + b(e.title), 1)
139
139
  ], 8, _e),
140
140
  f(F)(e.description) ? (o(), l("div", {
@@ -167,7 +167,7 @@ const _e = ["aria-level"], Ce = ["innerHTML"], Se = {
167
167
  imageTextDisplay: { default: "1:2", type: String }
168
168
  },
169
169
  setup(e) {
170
- const i = window.matchMedia("(prefers-reduced-motion: reduce)"), a = e.disableAnimation ?? i.matches, s = T(e.isActive ? "on" : "off"), c = K("container"), p = we(c), [r, d] = e.imageTextDisplay.split(":").map(Number);
170
+ const i = window.matchMedia("(prefers-reduced-motion: reduce)"), a = e.disableAnimation ?? i.matches, s = T(e.isActive ? "on" : "off"), c = Q("container"), p = we(c), [r, d] = e.imageTextDisplay.split(":").map(Number);
171
171
  N(() => e.isActive, (n) => {
172
172
  n ? (s.value = a ? "on" : "initStart", window.setTimeout(() => {
173
173
  s.value === "initStart" && (s.value = "on");
@@ -261,7 +261,7 @@ function Ze(e, i) {
261
261
  }, null, -1)
262
262
  ])]);
263
263
  }
264
- const Ue = /* @__PURE__ */ C(Ge, [["render", Ze]]), Ye = ["aria-roledescription"], qe = ["id"], Xe = { class: "footer" }, Je = { class: "control" }, Ke = { class: "slide-info-container" }, Qe = { class: "pagination" }, ei = /* @__PURE__ */ D({
264
+ const Ue = /* @__PURE__ */ C(Ge, [["render", Ze]]), Ye = ["aria-roledescription"], qe = ["id"], Je = { class: "footer" }, Ke = { class: "control" }, Qe = { class: "slide-info-container" }, Xe = { class: "pagination" }, ei = /* @__PURE__ */ D({
265
265
  __name: "Carousel.ce",
266
266
  props: {
267
267
  randomSlides: { type: Boolean },
@@ -278,7 +278,7 @@ const Ue = /* @__PURE__ */ C(Ge, [["render", Ze]]), Ye = ["aria-roledescription"
278
278
  function x(n) {
279
279
  p.value = n, c.value = (c.value - n + i.slides.length) % i.slides.length;
280
280
  }
281
- const m = Q();
281
+ const m = X();
282
282
  return (n, t) => (o(), l("section", {
283
283
  "aria-roledescription": n.$t("pix-carousel.title")
284
284
  }, [
@@ -326,8 +326,8 @@ const Ue = /* @__PURE__ */ C(Ge, [["render", Ze]]), Ye = ["aria-roledescription"
326
326
  _: 1
327
327
  }, 8, ["disabled", "aria-controls", "label"])
328
328
  ], 8, qe),
329
- g("div", Xe, [
330
- g("div", Je, [
329
+ g("div", Je, [
330
+ g("div", Ke, [
331
331
  y(I, {
332
332
  onClick: t[2] || (t[2] = (v) => x(1)),
333
333
  label: n.$t("pix-carousel.previous"),
@@ -343,7 +343,7 @@ const Ue = /* @__PURE__ */ C(Ge, [["render", Ze]]), Ye = ["aria-roledescription"
343
343
  disabled: d.value
344
344
  }, null, 8, ["label", "aria-controls", "disabled"])
345
345
  ]),
346
- g("div", Ke, [
346
+ g("div", Qe, [
347
347
  (o(!0), l(z, null, M(s.value, (v, u) => (o(), R(Z, {
348
348
  key: u,
349
349
  description: v.description,
@@ -353,7 +353,7 @@ const Ue = /* @__PURE__ */ C(Ge, [["render", Ze]]), Ye = ["aria-roledescription"
353
353
  "aria-hidden": "true"
354
354
  }, {
355
355
  pagination: $(() => [
356
- g("span", Qe, b(u + 1) + " / " + b(s.value.length), 1)
356
+ g("span", Xe, b(u + 1) + " / " + b(s.value.length), 1)
357
357
  ]),
358
358
  _: 2
359
359
  }, 1032, ["description", "title", "title-level", "is-active"]))), 128))
@@ -1,8 +1,8 @@
1
- import { b as X, h as S, K as Y, o as u, c as f, a as e, D as _, E as m, B as b, x as s, z as A, F as L, e as B, f as ee, l as te, m as ae, r as h, g as i, n as se, _ as oe, d as ie } from "../_plugin-vue_export-helper-Dz58mCLm.js";
2
- import { u as ne, i as V } from "../i18n-lite-CzqISEWm.js";
3
- import { B as P } from "../Button.ce-Dvxeebpx.js";
4
- import { P as le } from "../Popin.ce-BPnBZykQ.js";
5
- import { p as re } from "../shadow-dom-D54WF-WZ.js";
1
+ import { b as X, h as S, K as Y, o as u, c as f, a as e, D as _, E as m, A as b, x as s, B as A, F as L, e as B, f as ee, l as te, m as ae, r as h, g as i, n as se, _ as oe, d as ie } from "../_plugin-vue_export-helper-DROOAHrz.js";
2
+ import { u as ne, i as V } from "../i18n-lite-V7Z5qwB2.js";
3
+ import { B as P } from "../Button.ce-DNrjLa1r.js";
4
+ import { P as le } from "../Popin.ce-VvQiVxjk.js";
5
+ import { p as re } from "../shadow-dom-4LHwwhYa.js";
6
6
  import { b as ce } from "../normalize-props-DH0oPBss.js";
7
7
  const de = {}, pe = {}, ue = {}, be = {}, fe = {}, me = {
8
8
  "pix-combinaisons": { findCombinations: "Trouvez les combinaisons", discoverCombinations: "Combinaisons découvertes", progression: "Progression", validate: "Valider", ariaValidate: "Valider la combinaison", displayAllCombinations: "Voir toutes les combinaisons", combinationAlreadyTried: "Vous avez déjà essayé cette combinaison", fourPasswords: "4 mots de passe sont possibles. C’est peu !", easilyTestable: "Une personne peut facilement tester toutes les combinaisons à la main.", next: "Suivant", soManyPasswords: "27 mots de passe sont possibles !", feedbackSoManyPasswords: "Environ 7 fois plus de combinaisons qu’avant. Ça augmente vite dis donc ! 😱\u2028Quand on ajoute des caractères et qu’on allonge le mot de passe, il faut beaucoup plus de temps pour tout tester à la main.", completed: "Terminé", backspace: "Retour en arrière", currentStep: "{{step}} {{number}}", step: "Étape", numberOfChars: "{{number}} caractères", completionState: "Vous avez trouvé {{percent}} des combinaisons possibles" }
@@ -225,7 +225,7 @@ const de = {}, pe = {}, ue = {}, be = {}, fe = {}, me = {
225
225
  ], 512);
226
226
  };
227
227
  }
228
- }), qe = '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{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}*{box-sizing:border-box;font-family:Nunito,Roboto,sans-serif;color:#122647}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.doublon-feedback{border-radius:8px;background:#eaf1ff;padding:8px}.wrapper{position:relative;padding:24px 0}.stepper{display:flex;align-items:center;gap:8px;width:60%;margin:0 auto;margin-bottom:calc(28px + 1.5rem)}.stepper .stepper-bar{height:4px;width:100%;background:#cdd1d9;border-radius:4px;position:relative}.stepper .stepper-bar:after{content:"";position:absolute;border-radius:inherit;background:#155dfc;width:var(--step-progression);height:100%}.stepper .character{display:flex;justify-content:center;align-items:center;position:relative;font-size:.875rem;font-weight:700;border-radius:50%;background-color:#3d68ff;aspect-ratio:1;width:32px}.stepper .character-value{color:#fff}.stepper .character-info{position:absolute;width:fit-content;color:#3d68ff;top:100%;left:50%;transform:translate(-50%);line-height:.75rem;text-align:center}.stepper .character-info span{display:block;font-size:.75rem;color:inherit}.cards{display:flex;gap:24px;justify-content:center;flex-wrap:wrap}.card{width:100%;max-width:356px;border-radius:24px;background:#fff;box-shadow:0 2px 5px #4a3aff40,0 -2px 5px #4a3aff26 inset,0 1px 1px #ffffff1a inset,0 3px 4px #dfeeff1a inset;padding:24px}.card p{font-family:Roboto,sans-serif;font-size:.875rem;margin-block:8px}.card-left .progress-bar{height:12px;border-radius:12px;background:#cdd1d9;margin-bottom:24px;position:relative}.card-left .progress-bar:after{content:"";position:absolute;left:0;border-radius:12px;background:linear-gradient(90deg,#2b7fff,#00b8db);height:100%;width:var(--completion)}.card-left .placeholders{display:flex;gap:8px;justify-content:center}.card-left .placeholder{font-size:1.25rem;border-radius:10px;border:2px dashed #cdd1d9;background:#f4f5f7;width:64px;height:80px;text-align:center;display:flex;align-items:center;justify-content:center;font-weight:700}.card-left .letters-and-back{display:flex;gap:8px;justify-content:center;cursor:pointer;margin:16px 0}.card-left .letter{padding-block:16px;border-radius:10px;background:#155dfc;color:#fff;font-size:1.25rem;font-weight:700;text-align:center}.card-left .letter:hover{background:#155dfcdd}.card-left .letter[aria-disabled=true]{background:#155dfc50}.card-left .backspace,.card-left .backspace:hover,.card-left .backspace[aria-disabled=true]{background:#f4f5f7}.card-left .backspace[aria-disabled=true] img{opacity:.5}.card-left .validate{width:100%;font-weight:700;font-size:1rem;margin-bottom:24px}.card-right{display:flex;flex-direction:column}.results{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;overflow-y:auto;max-height:300px}.results li{list-style:none;border-radius:10px;border:2px solid #2c75ff;background:#eaf1ff;padding:15px 0;text-align:center;font-weight:700}div[role=heading]{font-size:1.25rem;font-weight:700;display:flex;align-items:center;gap:8px;margin-bottom:24px}button{border:none;border-radius:10px;flex:1;cursor:pointer}', He = /* @__PURE__ */ oe(Ie, [["styles", [qe]]]);
228
+ }), qe = '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}*{box-sizing:border-box;font-family:Nunito,Roboto,sans-serif;color:#122647}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}.doublon-feedback{border-radius:8px;background:#eaf1ff;padding:8px}.wrapper{position:relative;padding:24px 0}.stepper{display:flex;align-items:center;gap:8px;width:60%;margin:0 auto;margin-bottom:calc(28px + 1.5rem)}.stepper .stepper-bar{height:4px;width:100%;background:#cdd1d9;border-radius:4px;position:relative}.stepper .stepper-bar:after{content:"";position:absolute;border-radius:inherit;background:#155dfc;width:var(--step-progression);height:100%}.stepper .character{display:flex;justify-content:center;align-items:center;position:relative;font-size:.875rem;font-weight:700;border-radius:50%;background-color:#3d68ff;aspect-ratio:1;width:32px}.stepper .character-value{color:#fff}.stepper .character-info{position:absolute;width:fit-content;color:#3d68ff;top:100%;left:50%;transform:translate(-50%);line-height:.75rem;text-align:center}.stepper .character-info span{display:block;font-size:.75rem;color:inherit}.cards{display:flex;gap:24px;justify-content:center;flex-wrap:wrap}.card{width:100%;max-width:356px;border-radius:24px;background:#fff;box-shadow:0 2px 5px #4a3aff40,0 -2px 5px #4a3aff26 inset,0 1px 1px #ffffff1a inset,0 3px 4px #dfeeff1a inset;padding:24px}.card p{font-family:Roboto,sans-serif;font-size:.875rem;margin-block:8px}.card-left .progress-bar{height:12px;border-radius:12px;background:#cdd1d9;margin-bottom:24px;position:relative}.card-left .progress-bar:after{content:"";position:absolute;left:0;border-radius:12px;background:linear-gradient(90deg,#2b7fff,#00b8db);height:100%;width:var(--completion)}.card-left .placeholders{display:flex;gap:8px;justify-content:center}.card-left .placeholder{font-size:1.25rem;border-radius:10px;border:2px dashed #cdd1d9;background:#f4f5f7;width:64px;height:80px;text-align:center;display:flex;align-items:center;justify-content:center;font-weight:700}.card-left .letters-and-back{display:flex;gap:8px;justify-content:center;cursor:pointer;margin:16px 0}.card-left .letter{padding-block:16px;border-radius:10px;background:#155dfc;color:#fff;font-size:1.25rem;font-weight:700;text-align:center}.card-left .letter:hover{background:#155dfcdd}.card-left .letter[aria-disabled=true]{background:#155dfc50}.card-left .backspace,.card-left .backspace:hover,.card-left .backspace[aria-disabled=true]{background:#f4f5f7}.card-left .backspace[aria-disabled=true] img{opacity:.5}.card-left .validate{width:100%;font-weight:700;font-size:1rem;margin-bottom:24px}.card-right{display:flex;flex-direction:column}.results{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;overflow-y:auto;max-height:300px}.results li{list-style:none;border-radius:10px;border:2px solid #2c75ff;background:#eaf1ff;padding:15px 0;text-align:center;font-weight:700}div[role=heading]{font-size:1.25rem;font-weight:700;display:flex;align-items:center;gap:8px;margin-bottom:24px}button{border:none;border-radius:10px;flex:1;cursor:pointer}', He = /* @__PURE__ */ oe(Ie, [["styles", [qe]]]);
229
229
  V.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": de, "./locales/en.json": pe, "./locales/es-419.json": ue, "./locales/es.json": be, "./locales/fr-BE.json": fe, "./locales/fr.json": me, "./locales/it.json": ve, "./locales/nl.json": ge }));
230
230
  const D = ie(He, {
231
231
  configureApp(d) {
@@ -1,6 +1,6 @@
1
- import { b as A, r as y, s as k, K as B, o as a, c as i, a as r, v as d, x as u, F as f, e as b, H, Q as S, D as g, t as C, E as L, l as D, y as F, g as m, _ as P, d as G } from "../_plugin-vue_export-helper-Dz58mCLm.js";
2
- import { a as K, i as w, b as Q } from "../i18n-H4HokXDX.js";
3
- import { N as j } from "../NavigationButton.ce-D8_YC96l.js";
1
+ import { b as A, r as y, s as k, K as B, o as a, c as i, a as r, v as d, x as u, F as f, e as b, H, Q as S, D as g, t as C, E as L, l as D, y as F, g as m, _ as P, d as G } from "../_plugin-vue_export-helper-DROOAHrz.js";
2
+ import { a as K, i as w, b as Q } from "../i18n-BVfGnSnP.js";
3
+ import { N as j } from "../NavigationButton.ce-17UL0Mwu.js";
4
4
  const R = {}, U = {}, q = {}, J = {}, W = {}, X = {
5
5
  "pix-cursor": { confirm: "Valider", next: "Suivant", previous: "Précédent", selectAnOption: "Sélectionnez une option", youHaveChosen: "Vous avez choisi : { choice }" }
6
6
  }, Y = {}, Z = {}, ee = ["for"], oe = {
@@ -1,7 +1,7 @@
1
1
  import { _ as o, a as _, b as a, c as l, d as n, e as i, f as t, g } from "../nl-euPrf5s3.js";
2
- import { d as m } from "../_plugin-vue_export-helper-Dz58mCLm.js";
3
- import { i as e } from "../i18n-lite-CzqISEWm.js";
4
- import { P as c } from "../PixMailMessage.ce-TnjyOfiH.js";
2
+ import { d as m } from "../_plugin-vue_export-helper-DROOAHrz.js";
3
+ import { i as e } from "../i18n-lite-V7Z5qwB2.js";
4
+ import { P as c } from "../PixMailMessage.ce-CNULZecQ.js";
5
5
  e.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": g, "./locales/en.json": t, "./locales/es-419.json": i, "./locales/es.json": n, "./locales/fr-BE.json": l, "./locales/fr.json": a, "./locales/it.json": _, "./locales/nl.json": o }));
6
6
  const r = m(c, {
7
7
  configureApp(s) {
@@ -1,12 +1,12 @@
1
- import { b as T, h as k, o as l, c as N, a as o, x as u, D as f, t as M, f as p, E as g, l as y, B as F, v as d, r as v, g as s, n as S, _ as O, d as $ } from "../_plugin-vue_export-helper-Dz58mCLm.js";
2
- import { u as V, i as b } from "../i18n-lite-CzqISEWm.js";
3
- import { S as D } from "../Stepper.ce-DEMN02yr.js";
4
- import { F as I } from "../Feedback.ce-CnZRBGWf.js";
5
- import { _ as K, a as G } from "../Cross.ce.vue_vue_type_script_setup_true_lang-DVLRq2sO.js";
6
- import { P as H } from "../Popin.ce-BPnBZykQ.js";
7
- import { B as J } from "../Button.ce-Dvxeebpx.js";
8
- import { P as Q } from "../PixMailMessage.ce-TnjyOfiH.js";
9
- import { p as U } from "../shadow-dom-D54WF-WZ.js";
1
+ import { b as T, h as k, o as l, c as N, a 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-DROOAHrz.js";
2
+ import { u as V, i as b } from "../i18n-lite-V7Z5qwB2.js";
3
+ import { S as D } from "../Stepper.ce-gx2YaVCo.js";
4
+ import { F as I } from "../Feedback.ce-MqHV98f3.js";
5
+ import { _ as K, a as G } from "../Cross.ce.vue_vue_type_script_setup_true_lang-CUc-5ZVt.js";
6
+ import { P as H } from "../Popin.ce-VvQiVxjk.js";
7
+ import { B as J } from "../Button.ce-DNrjLa1r.js";
8
+ import { P as Q } from "../PixMailMessage.ce-CNULZecQ.js";
9
+ import { p as U } from "../shadow-dom-4LHwwhYa.js";
10
10
  import { u as w, a as W, b as X } from "../normalize-props-DH0oPBss.js";
11
11
  const Y = {}, Z = {}, ee = {}, te = {}, ne = {}, ae = {
12
12
  "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." } } }
@@ -23,13 +23,13 @@ const Y = {}, Z = {}, ee = {}, te = {}, ne = {}, ae = {
23
23
  setup(n, { expose: m }) {
24
24
  const { t: e } = V();
25
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")), q = s(() => r.value ? {
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 ? {
27
27
  return: "disabled",
28
28
  reply: "disabled",
29
29
  forward: "disabled",
30
30
  menu: "disabled"
31
31
  } : i.value.actions);
32
- function A() {
32
+ function q() {
33
33
  a.value = "", t.value = 0, c.value = !1;
34
34
  }
35
35
  async function E(h) {
@@ -42,7 +42,7 @@ const Y = {}, Z = {}, ee = {}, te = {}, ne = {}, ae = {
42
42
  await L(), c.value = !1;
43
43
  }
44
44
  return m({
45
- reset: A
45
+ reset: q
46
46
  }), (h, x) => (l(), N("div", ie, [
47
47
  o("section", null, [
48
48
  o("div", null, [
@@ -58,7 +58,7 @@ const Y = {}, Z = {}, ee = {}, te = {}, ne = {}, ae = {
58
58
  "steps-count": n.steps.length
59
59
  }, null, 8, ["step", "steps-count"]),
60
60
  f(Q, {
61
- actions: q.value,
61
+ actions: A.value,
62
62
  mail: i.value.mail,
63
63
  onAction: E
64
64
  }, null, 8, ["actions", "mail"]),
@@ -108,7 +108,7 @@ const Y = {}, Z = {}, ee = {}, te = {}, ne = {}, ae = {
108
108
  }, null, 8, ["content", "title", "show", "text-button"])
109
109
  ], 512));
110
110
  }
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{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]]]);
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
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
113
  const z = $(pe, {
114
114
  configureApp(n) {
@@ -1,6 +1,6 @@
1
- import { b as y, o, c as i, a as s, x as c, l as v, t as w, g as b, _, U as R, H as A, P as O, B as V, V as P, r as x, q as G, h as M, F as $, e as C, f as F, v as Q, D as k, W as U, E as W, y as H, d as J } from "../_plugin-vue_export-helper-Dz58mCLm.js";
2
- import { i as a, a as K, b as X } from "../i18n-H4HokXDX.js";
3
- import { R as Y } from "../Retry-C3g7zhz8.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, _, R as A, H as E, P as O, A as V, T as 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-DROOAHrz.js";
2
+ import { i as a, a as J, b as K } from "../i18n-BVfGnSnP.js";
3
+ import { R as Y } from "../Retry-CGkQcck5.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 = R(e, "modelValue"), l = x(!1), t = b(() => n.value.length === 3 && !l.value || e.readonly);
68
+ const n = A(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
- A(s("input", {
81
+ E(s("input", {
82
82
  type: "checkbox",
83
83
  name: "options",
84
84
  onClick: h,
@@ -112,7 +112,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
112
112
  }, Ne = {
113
113
  class: "right-side",
114
114
  "aria-live": "polite"
115
- }, Be = /* @__PURE__ */ y({
115
+ }, Te = /* @__PURE__ */ y({
116
116
  __name: "QcmDeepfake.ce",
117
117
  props: {
118
118
  titleLevel: { default: 2, type: Number },
@@ -123,7 +123,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
123
123
  searchDelay: { default: 3e3, type: Number }
124
124
  },
125
125
  setup(e, { expose: u }) {
126
- const n = x([]), l = [2, 4, 5], t = x("info"), h = M("optionsNode"), f = a.t("qcm-deepfake.options", { returnObjects: !0 }), m = ["👩‍🎤", "🎧", "🎶", "👩", "🎙️"], g = f.map((d, r) => `${m[r]} ${d}`), B = g.filter((d, r) => l.includes(r + 1)), D = [
126
+ const n = x([]), l = [2, 4, 5], t = x("info"), h = M("optionsNode"), f = a.t("qcm-deepfake.options", { returnObjects: !0 }), m = ["👩‍🎤", "🎧", "🎶", "👩", "🎙️"], g = f.map((d, r) => `${m[r]} ${d}`), T = g.filter((d, r) => l.includes(r + 1)), D = [
127
127
  {
128
128
  type: "info",
129
129
  image: e.infoImage
@@ -146,7 +146,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
146
146
  type: "search",
147
147
  image: e.searchImage
148
148
  }
149
- ], q = b(() => n.value.length !== 3 || t.value === "search"), T = b(() => t.value === "search" ? a.t("qcm-deepfake.loading") : t.value === "info" ? a.t("qcm-deepfake.generateVideo") : a.t("qcm-deepfake.restart")), j = b(() => t.value === "info" ? a.t("qcm-deepfake.generateVideoInfo", { count: l.length - n.value.length }) : t.value === "fail" ? a.t("qcm-deepfake.restartInfo") : "");
149
+ ], q = b(() => n.value.length !== 3 || t.value === "search"), B = b(() => t.value === "search" ? a.t("qcm-deepfake.loading") : t.value === "info" ? a.t("qcm-deepfake.generateVideo") : a.t("qcm-deepfake.restart")), j = b(() => t.value === "info" ? a.t("qcm-deepfake.generateVideoInfo", { count: l.length - n.value.length }) : t.value === "fail" ? a.t("qcm-deepfake.restartInfo") : "");
150
150
  function z() {
151
151
  return q.value ? !1 : t.value === "info" ? L() : I();
152
152
  }
@@ -156,7 +156,7 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
156
156
  }), n.value = [], t.value = "info";
157
157
  }
158
158
  async function L() {
159
- const d = n.value.every((r) => B.includes(r.trim()));
159
+ const d = n.value.every((r) => T.includes(r.trim()));
160
160
  t.value = "search", await new Promise((r) => setTimeout(r, e.searchDelay)), d ? t.value = "success" : t.value = "fail";
161
161
  }
162
162
  return u({
@@ -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] = (E) => n.value = E),
178
+ "onUpdate:modelValue": r[0] || (r[0] = (R) => n.value = R),
179
179
  key: S,
180
180
  class: "left-side__options",
181
181
  option: p,
@@ -185,15 +185,15 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
185
185
  ]),
186
186
  s("div", Ce, [
187
187
  k(we, {
188
- onClick: H(z, ["prevent"]),
188
+ onClick: W(z, ["prevent"]),
189
189
  "aria-disabled": q.value,
190
- label: T.value,
190
+ label: B.value,
191
191
  state: t.value === "info" ? "primary" : "warning",
192
192
  "aria-describedby": ["success", "search"].includes(t.value) ? void 0 : "optionsSelectedInfo"
193
193
  }, U({ _: 2 }, [
194
194
  t.value === "success" || t.value === "fail" ? {
195
195
  name: "icon",
196
- fn: W(() => [
196
+ fn: H(() => [
197
197
  k(Y)
198
198
  ]),
199
199
  key: "0"
@@ -216,11 +216,11 @@ const ee = {}, te = {}, ae = {}, ne = {}, oe = {}, ie = {
216
216
  ])
217
217
  ]));
218
218
  }
219
- }), De = "legend,label,p,div[role=heading]{font-family:Nunito,Roboto,sans-serif;color:#253858}", Te = ".container[data-v-da7e2b08]{display:flex;gap:.8rem}.title[data-v-da7e2b08]{font-size:1.75rem;font-weight:700;text-align:center;margin-bottom:16px}.left-side[data-v-da7e2b08]{min-width:60%;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;border-radius:10px}.left-side__lower-legend[data-v-da7e2b08]{font-size:.875rem;color:#5e6c84}.left-side__subtitle[data-v-da7e2b08]{font-size:1.25rem;font-weight:700;text-align:center}.left-side__options[data-v-da7e2b08]{display:flex;border:solid 1px #5e6c84;padding:.6rem;border-radius:5px;gap:.5rem}.left-side__button[data-v-da7e2b08]{display:flex;gap:.5rem;align-items:center;border:none;padding:.6rem 1.5rem;background:#ffcb33;color:#000;border-radius:25px;font-weight:700;cursor:pointer}.left-side__button.generate[data-v-da7e2b08]{background:#613fdd;color:#fff}.left-side__button[aria-disabled=true][data-v-da7e2b08]{cursor:not-allowed;background:#d3d3d3}.left-side__action[data-v-da7e2b08]{display:flex;flex-direction:column;align-items:center;text-align:center}.right-side[data-v-da7e2b08]{display:grid;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;text-align:center;border-radius:10px}fieldset[data-v-da7e2b08]{border:none;display:flex;flex-direction:column;gap:.8rem}.sr-only[data-v-da7e2b08]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}@media(max-width:770px){.container[data-v-da7e2b08]{flex-wrap:wrap}.left-side[data-v-da7e2b08],.right-side[data-v-da7e2b08]{width:100%}}", je = /* @__PURE__ */ _(Be, [["styles", [De, Te]], ["__scopeId", "data-v-da7e2b08"]]);
220
- K(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": ee, "./locales/en.json": te, "./locales/es-419.json": ae, "./locales/es.json": ne, "./locales/fr-BE.json": oe, "./locales/fr.json": ie, "./locales/it.json": re, "./locales/nl.json": se })).catch((e) => console.error(e));
221
- const N = J(je, {
219
+ }), De = "legend,label,p,div[role=heading]{font-family:Nunito,Roboto,sans-serif;color:#253858}", Be = ".container[data-v-da7e2b08]{display:flex;gap:.8rem}.title[data-v-da7e2b08]{font-size:1.75rem;font-weight:700;text-align:center;margin-bottom:16px}.left-side[data-v-da7e2b08]{min-width:60%;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;border-radius:10px}.left-side__lower-legend[data-v-da7e2b08]{font-size:.875rem;color:#5e6c84}.left-side__subtitle[data-v-da7e2b08]{font-size:1.25rem;font-weight:700;text-align:center}.left-side__options[data-v-da7e2b08]{display:flex;border:solid 1px #5e6c84;padding:.6rem;border-radius:5px;gap:.5rem}.left-side__button[data-v-da7e2b08]{display:flex;gap:.5rem;align-items:center;border:none;padding:.6rem 1.5rem;background:#ffcb33;color:#000;border-radius:25px;font-weight:700;cursor:pointer}.left-side__button.generate[data-v-da7e2b08]{background:#613fdd;color:#fff}.left-side__button[aria-disabled=true][data-v-da7e2b08]{cursor:not-allowed;background:#d3d3d3}.left-side__action[data-v-da7e2b08]{display:flex;flex-direction:column;align-items:center;text-align:center}.right-side[data-v-da7e2b08]{display:grid;border:solid 1px #b0d3f4;background:#fff;padding:.8rem;text-align:center;border-radius:10px}fieldset[data-v-da7e2b08]{border:none;display:flex;flex-direction:column;gap:.8rem}.sr-only[data-v-da7e2b08]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}@media(max-width:770px){.container[data-v-da7e2b08]{flex-wrap:wrap}.left-side[data-v-da7e2b08],.right-side[data-v-da7e2b08]{width:100%}}", je = /* @__PURE__ */ _(Te, [["styles", [De, Be]], ["__scopeId", "data-v-da7e2b08"]]);
220
+ J(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": ee, "./locales/en.json": te, "./locales/es-419.json": ae, "./locales/es.json": ne, "./locales/fr-BE.json": oe, "./locales/fr.json": ie, "./locales/it.json": re, "./locales/nl.json": se })).catch((e) => console.error(e));
221
+ const N = X(je, {
222
222
  configureApp(e) {
223
- a.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(X, { i18next: a });
223
+ a.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(K, { i18next: a });
224
224
  }
225
225
  });
226
226
  N.prototype.normalizeProps = (e) => ({
@@ -1,10 +1,10 @@
1
- import { b as q, o as r, c as m, t as B, a as l, x as u, l as g, _ as A, h as V, D as b, f as h, E as k, B as G, y as Q, r as v, g as p, d as R } from "../_plugin-vue_export-helper-Dz58mCLm.js";
2
- import { u as D, a as O, i as z, b as P } from "../i18n-H4HokXDX.js";
3
- import { F as I } from "../Feedback.ce-CnZRBGWf.js";
4
- import { _ as M, a as H } from "../Cross.ce.vue_vue_type_script_setup_true_lang-DVLRq2sO.js";
5
- import { S as J } from "../Stepper.ce-DEMN02yr.js";
1
+ import { b as q, o as r, c as m, t as B, a 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-DROOAHrz.js";
2
+ import { u as D, a as O, i as z, b as P } from "../i18n-BVfGnSnP.js";
3
+ import { F as I } from "../Feedback.ce-MqHV98f3.js";
4
+ import { _ as M, a as H } from "../Cross.ce.vue_vue_type_script_setup_true_lang-CUc-5ZVt.js";
5
+ import { S as J } from "../Stepper.ce-gx2YaVCo.js";
6
6
  import { a as f, b as K } from "../normalize-props-DH0oPBss.js";
7
- import { l as U } from "../index-BUPiE5WR.js";
7
+ import { l as U } from "../index-BgVc_wZ5.js";
8
8
  const W = {}, X = {}, Y = {}, Z = {}, ee = {}, te = {
9
9
  "quiz-stepper": { submitButton: "Valider", nextStepButton: "Continuer", feedback: { success: "Bien joué", failed: "Pas tout à fait" } }
10
10
  }, ne = {}, se = {}, oe = ["id", "aria-disabled", "checked"], ie = ["for"], ae = {