@1024pix/epreuves-components 2.7.0 → 2.8.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.
- package/dist/{ButtonTooltip.ce-DEM9f3-P.js → ButtonTooltip.ce-B-f0Ebfa.js} +1 -1
- package/dist/{LLMMessage.ce-DwOPdJ8T.js → LLMMessage.ce-DAA_BQYY.js} +2 -2
- package/dist/{Loading.ce-izx3gVg1.js → Loading.ce-BPbyGkTl.js} +1 -1
- package/dist/{NavigationButton.ce-D6OhsRmN.js → NavigationButton.ce-D7sjcUuO.js} +2 -2
- package/dist/{Retry-ByvFpG1J.js → Retry-CTdYYKx5.js} +1 -1
- package/dist/{_plugin-vue_export-helper-BcRm04ZH.js → _plugin-vue_export-helper-CGJjSxi7.js} +4 -4
- package/dist/components/calcul-impact.ce.js.js +2 -2
- package/dist/components/capacity-calculation.ce.js.js +3 -3
- package/dist/components/clickable-image.ce.js.js +4 -4
- package/dist/components/complete-phrase.ce.js.js +5 -5
- package/dist/components/flip-cards.ce.js.js +1 -1
- package/dist/components/image-quiz.ce.js.js +4 -3
- package/dist/components/image-quizzes.ce.js.js +8 -7
- package/dist/components/llm-compare-messages.ce.js.js +3 -3
- package/dist/components/llm-messages.ce.js.js +3 -3
- package/dist/components/llm-prompt-select.ce.js.js +1 -1
- package/dist/components/message-conversation.ce.js.js +2 -2
- package/dist/components/mobile-shell.ce.js.js +1 -1
- package/dist/components/phishing-message.ce.js.js +2 -2
- package/dist/components/phishing-notification.ce.js.js +3 -3
- package/dist/components/pix-anonymisation.ce.js.js +2 -2
- package/dist/components/pix-article.ce.js.js +2 -2
- package/dist/components/pix-carousel.ce.js.js +4 -4
- package/dist/components/pix-cursor.ce.js.js +3 -3
- package/dist/components/qcm-deepfake.ce.js.js +3 -3
- package/dist/components/quiz-stepper.ce.js.js +56 -56
- package/dist/components/select-conversation.ce.js.js +2 -2
- package/dist/components/template-mail.ce.js.js +165 -0
- package/dist/components/test-top-mdp.ce.js.js +146 -0
- package/dist/{i18n-DTnP_5xC.js → i18n-BkraEFZL.js} +1 -1
- package/dist/i18n-lite-J-aj5pZd.js +86 -0
- package/dist/{image-quiz.ce-DWyp9j81.js → image-quiz.ce-BFISPs8m.js} +102 -153
- package/dist/index.js +4 -2
- package/dist/metadata.js +21 -13
- package/dist/schema.js +38 -14
- package/dist/{shadow-dom-C8cgdiLH.js → shadow-dom-DN_6ctXp.js} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as h, r as b, g as f, c as v, o as u, a as n, n as w, h as s, t as g, m,
|
|
1
|
+
import { d as h, r as b, g as f, c as v, o as u, a as n, n as w, h as s, t as g, m, j as x, k as y, _ as k } from "./_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
2
|
const z = { class: "tooltip-container" }, B = ["id"], $ = ["aria-labelledby", "aria-disabled"], C = /* @__PURE__ */ h({
|
|
3
3
|
inheritAttrs: !1,
|
|
4
4
|
__name: "ButtonTooltip.ce",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { _ as a, c as r, o as s, a as b, d as i, y as n, n as d, e as l, B as o, t as c, E as h } from "./_plugin-vue_export-helper-
|
|
2
|
-
import { L as p } from "./Loading.ce-
|
|
1
|
+
import { _ as a, c as r, o as s, a as b, d as i, y as n, n as d, e as l, B as o, t as c, E as h } from "./_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
|
+
import { L as p } from "./Loading.ce-BPbyGkTl.js";
|
|
3
3
|
const f = {}, C = {
|
|
4
4
|
height: "1rem",
|
|
5
5
|
width: "auto",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as o, c as a, o as r, a as s } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { _ as o, c as a, o as r, a as s } from "./_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
2
|
const n = ".loader{width:8px;aspect-ratio:1;border-radius:50%;animation:l5 1s infinite linear alternate;transform:translate(100%)}.sr-only{border:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}@keyframes l5{0%{box-shadow:13px 0 #000,-13px 0 #0002;background:#000}33%{box-shadow:13px 0 #000,-13px 0 #0002;background:#0002}66%{box-shadow:13px 0 #0002,-13px 0 #000;background:#0002}to{box-shadow:13px 0 #0002,-13px 0 #000;background:#000}}@media(prefers-reduced-motion:reduce){.loader{display:none}}", t = {}, d = {
|
|
3
3
|
class: "loader",
|
|
4
4
|
role: "alert"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as a } from "./ButtonTooltip.ce-
|
|
2
|
-
import { _ as o, c as l, o as i, a as s, d as c, e as n, K as d } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { B as a } from "./ButtonTooltip.ce-B-f0Ebfa.js";
|
|
2
|
+
import { _ as o, c as l, o as i, a as s, d as c, e as n, K as d } from "./_plugin-vue_export-helper-CGJjSxi7.js";
|
|
3
3
|
const C = {}, p = {
|
|
4
4
|
xmlns: "http://www.w3.org/2000/svg",
|
|
5
5
|
width: "16",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as j, G as T, c as p, o as d, F as K, E as v, K as r, B as C, a as e, t as a, H as _, T as D, _ as z, r as l, z as N, e as U, h as E, N as x, f as G } from "../_plugin-vue_export-helper-
|
|
2
|
-
import { a as H, i as V, b as Q } from "../i18n-
|
|
1
|
+
import { d as j, G as T, c as p, o as d, F as K, E as v, K as r, B as C, a as e, t as a, H as _, T as D, _ as z, r as l, z as N, e as U, h as E, N as x, f as G } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
|
+
import { a as H, i as V, b as Q } from "../i18n-BkraEFZL.js";
|
|
3
3
|
import { u as J } from "../normalize-props-DtfVI0Xg.js";
|
|
4
4
|
const X = {}, Z = {}, ee = {}, te = {
|
|
5
5
|
"calcul-impact": { title: "Calculez votre impact IA", subtitle: "Quels ont été vos usages de l'IA la semaine dernière ?", numberOfConversationLabel: "Nombre de conversations courtes :", numberOfImagesLabel: "Nombre de créations d’images :", seePersonalImpact: "Voir votre impact personnel sur une semaine", seeCollectiveImpact: "Si 1 million de personnes faisaient comme vous toutes les semaines pendant un an", legals: "Estimations basées sur l'étude Hugging Face, Carnegie Mellon University, Allen Institute for AI, Oct 2024", yourPersonalImpact: "Votre impact personnel", consumptionForAWeek: "Votre consommation sur une semaine", consumptionForAYear: "1 million de personnes toutes les semaines pendant un an", personalConsumption: "Vous avez consommé environ {{energy}} Wh", personalDuration: "Cela équivaut à {{number}} minutes de micro-ondes", collectiveConsumption: "Cela représenterait {{energy}} kWh, soit l'équivalent de la consommation en électricité de {{homes}} foyers français", collectiveDuration: "Équivalent à {{number}} minutes de micro-ondes", planeKilometers: "Et {{kilometers}} km parcourus en avion", yourCollectiveImpact: "Impact collectif simulé" }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as b, c as s, o as n, n as v,
|
|
2
|
-
import { u as K, a as W, i as $, b as G } from "../i18n-
|
|
1
|
+
import { d as b, c as s, o as n, n as v, k as R, H as N, t as o, _, P as V, Q as h, r as g, y as w, a as t, E as x, F as Z, b as D, h as O, j as T, R as F, K as P, e as f, B as q, f as H } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
|
+
import { u as K, a as W, i as $, b as G } from "../i18n-BkraEFZL.js";
|
|
3
3
|
import { u as J } from "../normalize-props-DtfVI0Xg.js";
|
|
4
|
-
import { R as X } from "../Retry-
|
|
4
|
+
import { R as X } from "../Retry-CTdYYKx5.js";
|
|
5
5
|
const Y = {}, aa = {}, ea = {}, ta = {
|
|
6
6
|
"capacity-calculation": { title: "L’impact des requêtes à l’IA générative", in: { title: "Choisissez le type et le nombre de requêtes, puis observez ce qui se passe.", aiQuestion: "Quelle est la demande à l’IA ?", aiOptions: ["Fais une vidéo d’une durée d’une minute.", "Écris un texte de 10 lignes.", "Fais un dessin de haute qualité."], userQuestion: "Combien d’utilisateurs font la demande en même temps ?", buttonLabel: { primary: "Observer l’effet", warning: "Recommencer" } }, out: { title: "Impact des demandes", consumption: { label: "Consommation d’électricité :", normal_weak: "Moyenne", normal_medium: "Moyenne", warning: "Très forte", error: "Très forte", initial: "À l’arrêt" }, capacity: { label: "État du centre de données :", normal_weak: "Normal", normal_medium: "Normal", warning: "Sollicitation maximale", error: "Ne peut pas répondre à la demande", initial: "À l’arrêt" } } }
|
|
7
7
|
}, ca = {}, la = {}, ia = /* @__PURE__ */ b({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as R, q as E, r as y, v as O, x as W, y as d, c as p, o as v, a as C, z as _, m as
|
|
1
|
+
import { d as R, q as E, r as y, v as O, x as W, y as d, c as p, o as v, a as C, z as _, m as j, F as D, b as L, j as V, A as b, B as q, h as T, n as U, C as X, t as Y, _ as G, f as H } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
2
|
import { u as z, a as J } from "../normalize-props-DtfVI0Xg.js";
|
|
3
3
|
const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "aria-label"], f = 10, Z = /* @__PURE__ */ R({
|
|
4
4
|
__name: "ClickableImage.ce",
|
|
@@ -86,13 +86,13 @@ const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "
|
|
|
86
86
|
u.value = void 0;
|
|
87
87
|
}
|
|
88
88
|
return i({ reset: N }), (e, t) => (v(), p("div", K, [
|
|
89
|
-
C("img",
|
|
89
|
+
C("img", j(a.image, {
|
|
90
90
|
ref: "image",
|
|
91
91
|
onLoad: t[0] || (t[0] = (o) => h()),
|
|
92
92
|
onClick: t[1] || (t[1] = (o) => P()),
|
|
93
93
|
alt: ""
|
|
94
94
|
}), null, 16),
|
|
95
|
-
(v(!0), p(
|
|
95
|
+
(v(!0), p(D, null, L($.value, (o, n) => (v(), p("button", {
|
|
96
96
|
key: n,
|
|
97
97
|
style: b({
|
|
98
98
|
"--y1": `${o.coords.y1}px`,
|
|
@@ -105,7 +105,7 @@ const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "
|
|
|
105
105
|
onMouseleave: t[2] || (t[2] = (s) => w()),
|
|
106
106
|
onFocusin: (s) => k(n),
|
|
107
107
|
onFocusout: t[3] || (t[3] = (s) => w()),
|
|
108
|
-
onClick:
|
|
108
|
+
onClick: V((s) => F(n), ["stop"]),
|
|
109
109
|
"aria-label": o.info
|
|
110
110
|
}, [
|
|
111
111
|
T(A) ? (v(), p("span", {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as h, c as n, o, a, t as c, A as
|
|
2
|
-
import { u as O, a as E, i as q, b as I } from "../i18n-
|
|
1
|
+
import { d as h, c as n, o, a, t as c, A as S, _ as f, n as P, k as j, H as N, r as y, y as m, B as z, F as x, b as k, e as v, E as L, f as M } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
|
+
import { u as O, a as E, i as q, b as I } from "../i18n-BkraEFZL.js";
|
|
3
3
|
import { u as R } from "../normalize-props-DtfVI0Xg.js";
|
|
4
|
-
import { L as B } from "../LLMMessage.ce-
|
|
4
|
+
import { L as B } from "../LLMMessage.ce-DAA_BQYY.js";
|
|
5
5
|
const T = {}, V = {}, D = {}, F = {
|
|
6
6
|
"complete-phrase": { title: "Probabilité du mot suivant", description: "Quand la barre est longue, le mot a une plus forte probabilité de convenir pour continuer cette phrase.", ariaLabelDescription: "Le mot {{name}} a une probabilité de {{percent}}%", clickHereButton: "Révéler le mot", successfullyCompletedSentence: "Cliquez sur le mot choisi par l’IA dans les propositions suivantes :", feedback: { sure: "En effet, c'est le mot le plus probable !", probably: "C’est possible ! L’IA peut aussi choisir le mot « {{word}} », qui est très probable...", notSure: "Pas sûr... L’IA choisira sans doute un mot plus probable : {{words, list(style: 'long'; type: 'disjunction';)}}." } }
|
|
7
7
|
}, H = {}, Q = {}, W = { class: "probability-bar" }, U = { "aria-hidden": "true" }, G = { class: "sr-only" }, J = /* @__PURE__ */ h({
|
|
@@ -15,7 +15,7 @@ const T = {}, V = {}, D = {}, F = {
|
|
|
15
15
|
a("p", U, c(e.name), 1),
|
|
16
16
|
a("p", G, c(d.$t("complete-phrase.ariaLabelDescription", { name: e.name, percent: e.percent })), 1),
|
|
17
17
|
a("div", {
|
|
18
|
-
style:
|
|
18
|
+
style: S(`width: ${e.percent}%`),
|
|
19
19
|
class: "probability-bar__percent",
|
|
20
20
|
"aria-hidden": "true"
|
|
21
21
|
}, null, 4),
|
|
@@ -35,7 +35,7 @@ const T = {}, V = {}, D = {}, F = {
|
|
|
35
35
|
return (d, t) => (o(), n("button", {
|
|
36
36
|
class: P(["complete-phrase_button", e.state])
|
|
37
37
|
}, [
|
|
38
|
-
|
|
38
|
+
j(d.$slots, "icon"),
|
|
39
39
|
N(" " + c(e.label), 1)
|
|
40
40
|
], 2));
|
|
41
41
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as g, c as r, o as n, F as m, a as i, n as f, t as l, B as x, _ as u, r as y, b as k, L as v, E as w, f as F } from "../_plugin-vue_export-helper-
|
|
1
|
+
import { d as g, c as r, o as n, F as m, a as i, n as f, t as l, B as x, _ as u, r as y, b as k, L as v, E as w, f as F } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
2
|
import { u as _ } from "../normalize-props-DtfVI0Xg.js";
|
|
3
3
|
const L = ["aria-hidden"], C = ["src"], z = ["aria-level"], N = ["aria-hidden"], S = ["aria-level"], $ = { class: "description" }, B = { class: "image-container" }, E = ["src"], j = /* @__PURE__ */ g({
|
|
4
4
|
__name: "FlipCard.ce",
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { n as
|
|
2
|
-
import "../_plugin-vue_export-helper-
|
|
1
|
+
import { n as t } from "../image-quiz.ce-BFISPs8m.js";
|
|
2
|
+
import "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
3
3
|
import "../normalize-props-DtfVI0Xg.js";
|
|
4
|
+
import "../i18n-lite-J-aj5pZd.js";
|
|
4
5
|
export {
|
|
5
|
-
|
|
6
|
+
t as normalizeImageQuizProps
|
|
6
7
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { I as g,
|
|
2
|
-
import { d as j, r as q, w as A, c as h, o as
|
|
1
|
+
import { I as g, _ as z, a as f, b as w, c as p, d as v, e as d, n as b } from "../image-quiz.ce-BFISPs8m.js";
|
|
2
|
+
import { d as j, r as q, w as A, c as h, o as i, b as y, e as E, m as I, F as k, f as Q } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
3
|
+
import { i as a } from "../i18n-lite-J-aj5pZd.js";
|
|
3
4
|
const B = /* @__PURE__ */ j({
|
|
4
5
|
__name: "ImageQuizzes.ce",
|
|
5
6
|
props: {
|
|
@@ -20,20 +21,20 @@ const B = /* @__PURE__ */ j({
|
|
|
20
21
|
function _(s, r) {
|
|
21
22
|
n.value[r] = s.answer;
|
|
22
23
|
}
|
|
23
|
-
return (s, r) => (
|
|
24
|
+
return (s, r) => (i(!0), h(k, null, y(e.quizzes, (m, t) => (i(), E(g, I({ key: t }, { ref_for: !0 }, m, {
|
|
24
25
|
"show-name": !0,
|
|
25
26
|
onAnswer: (c) => _(c, t)
|
|
26
27
|
}), null, 16, ["onAnswer"]))), 128));
|
|
27
28
|
}
|
|
28
29
|
});
|
|
29
|
-
a.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/en.json":
|
|
30
|
-
const
|
|
30
|
+
a.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/en.json": d, "./locales/es-419.json": v, "./locales/es.json": p, "./locales/fr.json": w, "./locales/it.json": f, "./locales/nl.json": z }));
|
|
31
|
+
const l = Q(B, {
|
|
31
32
|
configureApp(e) {
|
|
32
33
|
a.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(a);
|
|
33
34
|
}
|
|
34
35
|
});
|
|
35
|
-
|
|
36
|
+
l.prototype.normalizeProps = (e) => ({
|
|
36
37
|
...e,
|
|
37
38
|
quizzes: e.quizzes.map(b)
|
|
38
39
|
});
|
|
39
|
-
window.customElements.define("image-quizzes",
|
|
40
|
+
window.customElements.define("image-quizzes", l);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as c, c as t, o as s, a as e, t as n, F as r, b as m, E as i, _ as p, f as g } from "../_plugin-vue_export-helper-
|
|
2
|
-
import { L as l } from "../LLMMessage.ce-
|
|
3
|
-
import { p as u } from "../shadow-dom-
|
|
1
|
+
import { d as c, c as t, o as s, a as e, t as n, F as r, b as m, E as i, _ as p, f as g } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
|
+
import { L as l } from "../LLMMessage.ce-DAA_BQYY.js";
|
|
3
|
+
import { p as u } from "../shadow-dom-DN_6ctXp.js";
|
|
4
4
|
const f = {
|
|
5
5
|
class: "header",
|
|
6
6
|
"aria-hidden": "true"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as c, I as m, J as i, c as t, o as e, F as p, b as d, e as f, _ as g, f as u } from "../_plugin-vue_export-helper-
|
|
2
|
-
import { L as h } from "../LLMMessage.ce-
|
|
3
|
-
import { p as _ } from "../shadow-dom-
|
|
1
|
+
import { d as c, I as m, J as i, c as t, o as e, F as p, b as d, e as f, _ as g, f as u } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
|
+
import { L as h } from "../LLMMessage.ce-DAA_BQYY.js";
|
|
3
|
+
import { p as _ } from "../shadow-dom-DN_6ctXp.js";
|
|
4
4
|
const x = {
|
|
5
5
|
class: "llm-messages",
|
|
6
6
|
"aria-live": "polite"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as h, r as c, G as y, c as d, o as m, E as w, a, H as k, F as b, b as L, t as S, _ as C, f as P } from "../_plugin-vue_export-helper-
|
|
1
|
+
import { d as h, r as c, G as y, c as d, o as m, E as w, a, H as k, F as b, b as L, t as S, _ as C, f as P } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
2
|
import { u as N } from "../normalize-props-DtfVI0Xg.js";
|
|
3
3
|
import "./llm-messages.ce.js.js";
|
|
4
4
|
const E = { class: "prompt-select" }, M = { class: "prompt-select__options" }, B = ["disabled", "onClick"], V = /* @__PURE__ */ h({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as S, r as x, y as M, v as B, c as i, o as n, n as w, B as l, a as h, H as k, t as v, E, M as z, m as P, F as b, b as N, _ as D, q as T, e as V, f as F } from "../_plugin-vue_export-helper-
|
|
2
|
-
import { L } from "../Loading.ce-
|
|
1
|
+
import { d as S, r as x, y as M, v as B, c as i, o as n, n as w, B as l, a as h, H as k, t as v, E, M as z, m as P, F as b, b as N, _ as D, q as T, e as V, f as F } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
|
+
import { L } from "../Loading.ce-BPbyGkTl.js";
|
|
3
3
|
import { u as j, b as I, a as O } from "../normalize-props-DtfVI0Xg.js";
|
|
4
4
|
const q = ["part"], H = {
|
|
5
5
|
key: 1,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { d as i, c as a, o as l, D as s, a as r,
|
|
1
|
+
import { d as i, c as a, o as l, D as s, a as r, k as n, A as d, n as b, _ as p, f as h } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
2
|
const m = {
|
|
3
3
|
class: "content",
|
|
4
4
|
part: "content"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as f, G as j, c as d, o as a, F as y, a as t, t as i, h as _,
|
|
2
|
-
import { u as U, a as J, i as M, b as K } from "../i18n-
|
|
1
|
+
import { d as f, G as j, c as d, o as a, F as y, a as t, t as i, h as _, j as N, E as S, R as F, b as $, K as H, B as g, _ as b, q as k, r as C, y as m, A as Z, e as x, D as O, m as z, l as Q, f as G } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
|
+
import { u as U, a as J, i as M, b as K } from "../i18n-BkraEFZL.js";
|
|
3
3
|
import { u as W } from "../normalize-props-DtfVI0Xg.js";
|
|
4
4
|
const X = {}, Y = {}, ee = {}, te = {
|
|
5
5
|
"phishing-message": { description: "Pour chacun des cas ci-dessous : Ouvrez et lisez le message d’arnaque, puis répondez à la question.", messagePreviewTitle: "Messagerie :", feedBackQuizTitle: "Qu’avez-vous ressenti en lisant ce message ?", next: "Message suivant", step: "Étape {{step}} sur {{totalStep}}", message1: { senderName: "Info ANTAI", content: "{{ boldContent1 }}: amende impayée de 35€. Consultez votre dossier ANTAI avant {{ boldContent2 }} via : {{ linkContent }}", boldContent1: "Retard de paiement", boldContent2: "majoration", linkContent: "dossier-amende-gouv.antai", victory: "Effectivement, avec ce message, l’escroc veut que le lecteur ressente de la peur et un sentiment d’urgence.", loose: "Eh non ! Avec ce message, l’escroc veut que vous ressentiez de la peur et un sentiment d’urgence." }, message2: { senderName: "IMPOT", content: `IMPORTANT : Vous avez un remboursement disponible de 826€.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as x, q as P, y as v, W, v as J,
|
|
2
|
-
import { u as r2, a as l2, i as T, b as c2 } from "../i18n-
|
|
1
|
+
import { r as x, q as P, y as v, W, v as J, l as R, c as a, B as k, o as r, a as t, k as Q, d as U, g as X, u as e2, G as t2, E as H, K as F, t as n, H as B, A as o2, F as Z, b as S, n as N, j as i2, h as w, L as n2, _ as s2, f as a2 } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
|
+
import { u as r2, a as l2, i as T, b as c2 } from "../i18n-BkraEFZL.js";
|
|
3
3
|
import { u as d2 } from "../normalize-props-DtfVI0Xg.js";
|
|
4
4
|
import "./mobile-shell.ce.js.js";
|
|
5
5
|
import { r as h2 } from "../temporal.utils-CotrC6ao.js";
|
|
6
|
-
import { B as u2 } from "../ButtonTooltip.ce-
|
|
6
|
+
import { B as u2 } from "../ButtonTooltip.ce-B-f0Ebfa.js";
|
|
7
7
|
const g2 = {}, p2 = {}, f2 = {}, m2 = {
|
|
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
|
}, _2 = {}, C2 = {}, w2 = ["tabindex"], v2 = ["tabindex"], k2 = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as L, c as n, o as c, n as f,
|
|
2
|
-
import { a as G, i as z, b as H } from "../i18n-
|
|
1
|
+
import { d as L, c as n, o as c, n as f, k as D, _ as N, r as y, q as V, y as l, a as t, t as d, F as m, b as g, A as w, j as F, E as I, z as T, O as M, K as $, H as S, B as x, e as O, f as U } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
|
+
import { a as G, i as z, b as H } from "../i18n-BkraEFZL.js";
|
|
3
3
|
import { u as K } from "../normalize-props-DtfVI0Xg.js";
|
|
4
4
|
const J = {}, Q = {}, W = {}, X = {
|
|
5
5
|
"pix-anonymisation": { title: "Exercice d'anonymisation", instruction: 'Cliquez sur les morceaux de phrase contenant des données sensibles. Un fois que toutes les données sensibles sont mise en couleur, cliquez sur "Suivant" pour vérifier votre réponse.', prompt: { title: "Prompt" }, rephrase: { title: "Reformulation" }, buttons: { checkNow: "Suivant", displayRephrasing: "Suivant", nextPrompt: "Suivant" }, correction: "élements qui doivent être anonymisés:" }
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as u, y as d, c as a, o as i, a as t, t as l, F as o, b as m, _ as f, f as v } from "../_plugin-vue_export-helper-
|
|
2
|
-
import { a as p, i as r, b as y } from "../i18n-
|
|
1
|
+
import { d as u, y as d, c as a, o as i, a as t, t as l, F as o, b as m, _ as f, f as v } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
|
+
import { a as p, i as r, b as y } from "../i18n-BkraEFZL.js";
|
|
3
3
|
import { a as s, u as S } from "../normalize-props-DtfVI0Xg.js";
|
|
4
4
|
const b = {}, x = {}, L = {}, A = {
|
|
5
5
|
"pix-article": { byAuthor: "Par {{author}}" }
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { v as W,
|
|
2
|
-
import { a as ie, i as E, b as te } from "../i18n-
|
|
3
|
-
import { N as H } from "../NavigationButton.ce-
|
|
4
|
-
import { B as I } from "../ButtonTooltip.ce-
|
|
1
|
+
import { v as W, l as q, S as K, U as X, V as O, y as h, s as A, W as N, X as V, d as D, c as l, o, n as _, a as g, B, k as Y, H as P, t as b, h as f, _ as S, r as T, q as J, E as y, A as M, g as Q, K as $, F as R, b as z, e as j, f as ee } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
|
+
import { a as ie, i as E, b as te } from "../i18n-BkraEFZL.js";
|
|
3
|
+
import { N as H } from "../NavigationButton.ce-D7sjcUuO.js";
|
|
4
|
+
import { B as I } from "../ButtonTooltip.ce-B-f0Ebfa.js";
|
|
5
5
|
import { a as ne, u as k, b as ae } from "../normalize-props-DtfVI0Xg.js";
|
|
6
6
|
const se = {
|
|
7
7
|
"pix-carousel": { license: "Image license", next: "Next", of: "{{ currentSlide }} of {{ slideLength }}", previous: "Previous", slide: "Slide", title: "Carousel" }
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as E, r as y, g as k, y as m, G as S, c as a, o as i, a as s, z as A, h as d, t as u, F as f, b, N as H, E as g, n as C, K as L, B as F,
|
|
2
|
-
import { a as K, i as w, b as R } from "../i18n-
|
|
3
|
-
import { N as j } from "../NavigationButton.ce-
|
|
1
|
+
import { d as E, r as y, g as k, y as m, G as S, c as a, o as i, a as s, z as A, h as d, t as u, F as f, b, N as H, E as g, n as C, K as L, B as F, j as P, _ as D, f as G } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
|
+
import { a as K, i as w, b as R } from "../i18n-BkraEFZL.js";
|
|
3
|
+
import { N as j } from "../NavigationButton.ce-D7sjcUuO.js";
|
|
4
4
|
const U = {}, q = {}, J = {}, Q = {
|
|
5
5
|
"pix-cursor": { confirm: "Valider", next: "Suivant", previous: "Précédent", selectAnOption: "Sélectionnez une option", youHaveChosen: "Vous avez choisi : { choice }" }
|
|
6
6
|
}, W = {}, X = {}, Y = ["for"], Z = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as y, y as b, c as i, o, a as s, B as v, t as c, n as w, _, P as E, Q as A, r as x, z as O, H as V, O as P,
|
|
2
|
-
import { i as a, a as J, b as X } from "../i18n-
|
|
3
|
-
import { R as Y } from "../Retry-
|
|
1
|
+
import { d as y, y as b, c as i, o, a as s, B as v, t as c, n as w, _, P as E, Q as A, r as x, z as O, H as V, O as P, k as G, q as M, F as $, b as C, e as Q, h as F, E as k, R as U, K as H, j as K, f as W } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
|
+
import { i as a, a as J, b as X } from "../i18n-BkraEFZL.js";
|
|
3
|
+
import { R as Y } from "../Retry-CTdYYKx5.js";
|
|
4
4
|
import { u as Z } from "../normalize-props-DtfVI0Xg.js";
|
|
5
5
|
const ee = {}, te = {}, ae = {}, ne = {
|
|
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." } }
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { u as Q, a as R, i as q, b as D } from "../i18n-
|
|
1
|
+
import { d as w, c as p, o as d, n as B, a as s, B as g, t as c, _ as v, H as E, h as y, r as m, q as I, y as u, e as M, A as V, E as z, j as O, f as P } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
|
+
import { u as Q, a as R, i as q, b as D } from "../i18n-BkraEFZL.js";
|
|
3
3
|
import { a as h, u as H } from "../normalize-props-DtfVI0Xg.js";
|
|
4
|
-
const Z = {
|
|
4
|
+
const Z = {}, J = {}, K = {}, U = {
|
|
5
5
|
"quiz-stepper": { submitButton: "Valider", nextStepButton: "Continuer", step: "Étape {{step}} sur {{totalStep}}", feedback: { success: "Bien joué", failed: "Pas tout à fait" } }
|
|
6
|
-
},
|
|
6
|
+
}, W = {}, X = {}, Y = ["id", "aria-disabled", "checked"], ee = ["for"], te = {
|
|
7
7
|
key: 0,
|
|
8
8
|
class: "answer__subtitle"
|
|
9
|
-
},
|
|
9
|
+
}, ne = { class: "answer__content" }, se = /* @__PURE__ */ w({
|
|
10
10
|
__name: "Answer.ce",
|
|
11
11
|
props: {
|
|
12
12
|
choice: { type: Object },
|
|
@@ -15,8 +15,8 @@ const Z = {
|
|
|
15
15
|
id: { type: String }
|
|
16
16
|
},
|
|
17
17
|
emits: ["select-answer"],
|
|
18
|
-
setup(e, { emit:
|
|
19
|
-
const i =
|
|
18
|
+
setup(e, { emit: o }) {
|
|
19
|
+
const i = o;
|
|
20
20
|
function t() {
|
|
21
21
|
i("select-answer", e.choice);
|
|
22
22
|
}
|
|
@@ -31,52 +31,52 @@ const Z = {
|
|
|
31
31
|
checked: e.isSelected,
|
|
32
32
|
onChange: t,
|
|
33
33
|
class: "sr-only"
|
|
34
|
-
}, null, 40,
|
|
34
|
+
}, null, 40, Y),
|
|
35
35
|
s("label", { for: e.id }, [
|
|
36
|
-
e.choice.title ? (d(), p("span",
|
|
37
|
-
s("span",
|
|
38
|
-
], 8,
|
|
36
|
+
e.choice.title ? (d(), p("span", te, c(e.choice.title), 1)) : g("", !0),
|
|
37
|
+
s("span", ne, c(e.choice.content), 1)
|
|
38
|
+
], 8, ee)
|
|
39
39
|
], 2));
|
|
40
40
|
}
|
|
41
|
-
}),
|
|
41
|
+
}), ie = ".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__ */ v(se, [["styles", [ie]]]), oe = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.36671%2010.1L12.0167%204.45C12.15%204.31667%2012.3056%204.25%2012.4834%204.25C12.6611%204.25%2012.8167%204.31667%2012.95%204.45C13.0834%204.58333%2013.15%204.74178%2013.15%204.92533C13.15%205.10889%2013.0834%205.26711%2012.95%205.4L6.83337%2011.5333C6.70004%2011.6667%206.54448%2011.7333%206.36671%2011.7333C6.18893%2011.7333%206.03337%2011.6667%205.90004%2011.5333L3.03337%208.66667C2.90004%208.53333%202.83604%208.37511%202.84137%208.192C2.84671%208.00889%202.91626%207.85044%203.05004%207.71667C3.18382%207.58289%203.34226%207.51622%203.52537%207.51667C3.70848%207.51711%203.86671%207.58378%204.00004%207.71667L6.36671%2010.1Z'%20fill='white'/%3e%3c/svg%3e", ae = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.25%204.75L4.75%2011.25M4.75%204.75L11.25%2011.25'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", re = {
|
|
42
42
|
class: "feedback-container",
|
|
43
43
|
"aria-live": "polite"
|
|
44
|
-
},
|
|
44
|
+
}, ce = { class: "feedback-container__title" }, le = ["src"], de = { class: "feedback-container__content" }, ue = /* @__PURE__ */ w({
|
|
45
45
|
__name: "Feedback.ce",
|
|
46
46
|
props: {
|
|
47
47
|
currentStep: { type: Object },
|
|
48
48
|
isGoodAnswer: { type: Boolean }
|
|
49
49
|
},
|
|
50
50
|
setup(e) {
|
|
51
|
-
return (
|
|
52
|
-
s("p",
|
|
51
|
+
return (o, i) => (d(), p("div", re, [
|
|
52
|
+
s("p", ce, [
|
|
53
53
|
s("img", {
|
|
54
|
-
src: e.isGoodAnswer ?
|
|
54
|
+
src: e.isGoodAnswer ? y(oe) : y(ae),
|
|
55
55
|
alt: ""
|
|
56
|
-
}, null, 8,
|
|
57
|
-
E(" " + c(e.isGoodAnswer ?
|
|
56
|
+
}, null, 8, le),
|
|
57
|
+
E(" " + c(e.isGoodAnswer ? o.$t("quiz-stepper.feedback.success") : o.$t("quiz-stepper.feedback.failed")), 1)
|
|
58
58
|
]),
|
|
59
|
-
s("p",
|
|
59
|
+
s("p", de, c(e.isGoodAnswer ? e.currentStep.feedback.success : e.currentStep.feedback.failed), 1)
|
|
60
60
|
]));
|
|
61
61
|
}
|
|
62
|
-
}),
|
|
62
|
+
}), pe = ".feedback-container{font-size:.875em;width:100%}.feedback-container__title{display:flex;width:fit-content;padding:4px 8px;justify-content:center;align-items:center;gap:8px;border-radius:8px 8px 0 0;background:#1f53b5;color:#fff;margin:0;font-weight:700}.feedback-container__content{padding:8px;border-radius:0 8px 8px;background:#eaf1ff;margin:0}", fe = /* @__PURE__ */ v(ue, [["styles", [pe]]]), he = { class: "quiz-stepper-container__layout" }, me = { class: "steps-wrapper" }, ge = { class: "steps-wrapper__stepper" }, we = { "aria-hidden": "true" }, ve = {
|
|
63
63
|
class: "sr-only",
|
|
64
64
|
"aria-live": "polite"
|
|
65
|
-
},
|
|
65
|
+
}, be = ["aria-level"], _e = { class: "card-wrapper" }, xe = ["aria-disable"], ke = /* @__PURE__ */ w({
|
|
66
66
|
__name: "QuizStepper.ce",
|
|
67
67
|
props: {
|
|
68
68
|
steps: { type: Array },
|
|
69
69
|
titleLevel: { default: 2, type: Number }
|
|
70
70
|
},
|
|
71
|
-
setup(e, { expose:
|
|
72
|
-
const i = m(0), t = m(), n = m(!1), r = I("form"), { t: b } = Q(), l = u(() => e.steps?.[i.value]),
|
|
73
|
-
const
|
|
74
|
-
return
|
|
75
|
-
}),
|
|
76
|
-
function
|
|
77
|
-
n.value || (t.value =
|
|
71
|
+
setup(e, { expose: o }) {
|
|
72
|
+
const i = m(0), t = m(), n = m(!1), r = I("form"), { t: b } = Q(), l = u(() => e.steps?.[i.value]), _ = u(() => !n.value), C = u(() => {
|
|
73
|
+
const a = i.value === e.steps.length - 1;
|
|
74
|
+
return a ? a && !n.value : !0;
|
|
75
|
+
}), j = u(() => Math.floor((i.value + 1) / e.steps.length * 100)), A = u(() => _.value ? b("quiz-stepper.submitButton") : b("quiz-stepper.nextStepButton"));
|
|
76
|
+
function x(a) {
|
|
77
|
+
n.value || (t.value = a);
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function L() {
|
|
80
80
|
if (i.value + 1 > e.steps.length) {
|
|
81
81
|
i.value = e.steps.length;
|
|
82
82
|
return;
|
|
@@ -87,37 +87,37 @@ const Z = {
|
|
|
87
87
|
t.value && (n.value = !0, i.value + 1 === e.steps.length && r.value?.focus());
|
|
88
88
|
}
|
|
89
89
|
function N() {
|
|
90
|
-
if (
|
|
90
|
+
if (_.value) {
|
|
91
91
|
F();
|
|
92
92
|
return;
|
|
93
93
|
}
|
|
94
|
-
|
|
94
|
+
L();
|
|
95
95
|
}
|
|
96
|
-
function
|
|
97
|
-
return
|
|
96
|
+
function k(a) {
|
|
97
|
+
return a.content ? a.content === t.value?.content : a.title === t.value?.title;
|
|
98
98
|
}
|
|
99
99
|
function G() {
|
|
100
100
|
i.value = 0, t.value = void 0, n.value = !1;
|
|
101
101
|
}
|
|
102
|
-
return
|
|
102
|
+
return o({
|
|
103
103
|
reset: G
|
|
104
|
-
}), (
|
|
104
|
+
}), (a, f) => (d(), p("form", {
|
|
105
105
|
class: "quiz-stepper-container",
|
|
106
106
|
onSubmit: O(N, ["prevent"]),
|
|
107
107
|
ref_key: "form",
|
|
108
108
|
ref: r,
|
|
109
109
|
tabindex: "-1"
|
|
110
110
|
}, [
|
|
111
|
-
s("div",
|
|
112
|
-
s("div",
|
|
113
|
-
s("div",
|
|
111
|
+
s("div", he, [
|
|
112
|
+
s("div", me, [
|
|
113
|
+
s("div", ge, [
|
|
114
114
|
s("div", {
|
|
115
115
|
class: "steps-wrapper__effective-steps",
|
|
116
|
-
style: V({ "--stepIndex": `${
|
|
116
|
+
style: V({ "--stepIndex": `${j.value}%` })
|
|
117
117
|
}, null, 4)
|
|
118
118
|
]),
|
|
119
|
-
s("p",
|
|
120
|
-
s("p",
|
|
119
|
+
s("p", we, c(i.value + 1) + "/" + c(e.steps.length), 1),
|
|
120
|
+
s("p", ve, c(a.$t("quiz-stepper.step", { step: i.value + 1, totalStep: e.steps.length })), 1)
|
|
121
121
|
]),
|
|
122
122
|
s("fieldset", null, [
|
|
123
123
|
s("legend", null, [
|
|
@@ -125,50 +125,50 @@ const Z = {
|
|
|
125
125
|
role: "heading",
|
|
126
126
|
"aria-level": e.titleLevel,
|
|
127
127
|
class: "question"
|
|
128
|
-
}, c(l.value.question), 9,
|
|
128
|
+
}, c(l.value.question), 9, be)
|
|
129
129
|
]),
|
|
130
|
-
s("div",
|
|
130
|
+
s("div", _e, [
|
|
131
131
|
z(S, {
|
|
132
132
|
id: "choice1",
|
|
133
133
|
choice: l.value.choice1,
|
|
134
134
|
"show-feedback": n.value,
|
|
135
|
-
"is-selected":
|
|
136
|
-
onSelectAnswer: f[0] || (f[0] = (T) =>
|
|
135
|
+
"is-selected": k(l.value.choice1),
|
|
136
|
+
onSelectAnswer: f[0] || (f[0] = (T) => x(l.value.choice1))
|
|
137
137
|
}, null, 8, ["choice", "show-feedback", "is-selected"]),
|
|
138
138
|
z(S, {
|
|
139
139
|
id: "choice2",
|
|
140
140
|
choice: l.value.choice2,
|
|
141
141
|
"show-feedback": n.value,
|
|
142
|
-
"is-selected":
|
|
143
|
-
onSelectAnswer: f[1] || (f[1] = (T) =>
|
|
142
|
+
"is-selected": k(l.value.choice2),
|
|
143
|
+
onSelectAnswer: f[1] || (f[1] = (T) => x(l.value.choice2))
|
|
144
144
|
}, null, 8, ["choice", "show-feedback", "is-selected"])
|
|
145
145
|
])
|
|
146
146
|
]),
|
|
147
|
-
n.value ? (d(), M(
|
|
147
|
+
n.value ? (d(), M(fe, {
|
|
148
148
|
key: 0,
|
|
149
149
|
"show-feedback": n.value,
|
|
150
150
|
"current-step": l.value,
|
|
151
151
|
"is-good-answer": t.value?.isGoodAnswer
|
|
152
|
-
}, null, 8, ["show-feedback", "current-step", "is-good-answer"])) :
|
|
152
|
+
}, null, 8, ["show-feedback", "current-step", "is-good-answer"])) : g("", !0),
|
|
153
153
|
C.value ? (d(), p("button", {
|
|
154
154
|
key: 1,
|
|
155
155
|
type: "submit",
|
|
156
156
|
class: B(["submit-button", { "is-disabled": !t.value }]),
|
|
157
157
|
"aria-disable": !t.value
|
|
158
|
-
}, c(
|
|
158
|
+
}, c(A.value), 11, xe)) : g("", !0)
|
|
159
159
|
])
|
|
160
160
|
], 544));
|
|
161
161
|
}
|
|
162
|
-
}),
|
|
163
|
-
R(/* @__PURE__ */ Object.assign({ "./locales/
|
|
164
|
-
const $ = P(
|
|
162
|
+
}), ye = "*{--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}.quiz-stepper-container .steps-wrapper{display:flex;align-items:center;justify-content:center;color:#613fdd;font-size:.875rem;gap:6px;font-weight:500;width:100%}.quiz-stepper-container .steps-wrapper p{text-wrap:nowrap;margin:0}.quiz-stepper-container .steps-wrapper__stepper{background:#e8eaed;height:8px;width:100%;border-radius:4px}.quiz-stepper-container .steps-wrapper__effective-steps{width:var(--stepIndex);background:#613fdd;border-radius:4px;height:8px}@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)}}", ze = /* @__PURE__ */ v(ke, [["styles", [ye]]]);
|
|
163
|
+
R(/* @__PURE__ */ Object.assign({ "./locales/en.json": Z, "./locales/es-419.json": J, "./locales/es.json": K, "./locales/fr.json": U, "./locales/it.json": W, "./locales/nl.json": X })).catch((e) => console.error(e));
|
|
164
|
+
const $ = P(ze, {
|
|
165
165
|
configureApp(e) {
|
|
166
166
|
q.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(D, { i18next: q });
|
|
167
167
|
}
|
|
168
168
|
});
|
|
169
169
|
$.prototype.normalizeProps = (e) => {
|
|
170
|
-
let { steps:
|
|
171
|
-
return
|
|
170
|
+
let { steps: o, titleLevel: i } = e;
|
|
171
|
+
return o = o.map((t) => {
|
|
172
172
|
let { choice1: n, choice2: r } = t;
|
|
173
173
|
return n = {
|
|
174
174
|
...t.choice1,
|
|
@@ -184,7 +184,7 @@ $.prototype.normalizeProps = (e) => {
|
|
|
184
184
|
choice2: r
|
|
185
185
|
};
|
|
186
186
|
}), {
|
|
187
|
-
steps:
|
|
187
|
+
steps: o,
|
|
188
188
|
titleLevel: H(i)
|
|
189
189
|
};
|
|
190
190
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as w, r as g, y as u, c as n, o as i, a as e, t as a, h as r, n as z, H as k, F as p, b as M, B as D, _ as T, f as C } from "../_plugin-vue_export-helper-
|
|
2
|
-
import { a as L, i as f, b as S } from "../i18n-
|
|
1
|
+
import { d as w, r as g, y as u, c as n, o as i, a as e, t as a, h as r, n as z, H as k, F as p, b as M, B as D, _ as T, f as C } from "../_plugin-vue_export-helper-CGJjSxi7.js";
|
|
2
|
+
import { a as L, i as f, b as S } from "../i18n-BkraEFZL.js";
|
|
3
3
|
import { u as j } from "../normalize-props-DtfVI0Xg.js";
|
|
4
4
|
import { r as F, q as $, t as _ } from "../temporal.utils-CotrC6ao.js";
|
|
5
5
|
const B = {}, I = {}, N = {}, q = {
|