@1024pix/epreuves-components 4.6.0 → 4.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Button.ce-C-lBihdF.js → Button.ce-Ccv3OLk2.js} +1 -1
- package/dist/{ButtonTooltip.ce-B071jWM0.js → ButtonTooltip.ce-Bo42SFAP.js} +1 -1
- package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-CGq82iLD.js +83 -0
- package/dist/{FocusManager.ce-Cb8fkfeb.js → FocusManager.ce-BG_n76ZF.js} +2 -2
- package/dist/{Icon.ce-AUDpzQic.js → Icon.ce-Be0LymfA.js} +1 -1
- package/dist/{LLMMessage.ce-DBorHEa1.js → LLMMessage.ce-y0WmEj7m.js} +24 -22
- package/dist/{Loading.ce-D7EpPBBD.js → Loading.ce-CG-e7tdE.js} +1 -1
- package/dist/{Modal.ce-CRJ7RcAX.js → Modal.ce-DCTwYJKJ.js} +9 -9
- package/dist/{NavigationButton.ce-DqFqWt9V.js → NavigationButton.ce-B-c0m9H8.js} +14 -12
- package/dist/{PixMailMessage.ce-Cqrs9R3i.js → PixMailMessage.ce-CH6CVQ3H.js} +13 -13
- package/dist/{Popin.ce-D1V8wzxE.js → Popin.ce-CQtpIOkM.js} +3 -3
- package/dist/{Retry-fzluiEoj.js → Retry-DLOo5neI.js} +3 -3
- package/dist/{Stepper.ce-cG0al2pY.js → Stepper.ce-MmSadTrx.js} +1 -1
- package/dist/{_plugin-vue_export-helper-DJlRxzRH.js → _plugin-vue_export-helper-CD1RUA2y.js} +7 -7
- package/dist/components/analyse-mails-phishing.ce.js.js +104 -105
- package/dist/components/autocompletion-mdp.ce.js.js +81 -81
- package/dist/components/button.ce.js.js +2 -2
- package/dist/components/calcul-impact.ce.js.js +8 -8
- package/dist/components/capacity-calculation.ce.js.js +35 -32
- package/dist/components/clickable-image.ce.js.js +10 -10
- package/dist/components/complete-phrase.ce.js.js +12 -12
- package/dist/components/flip-cards.ce.js.js +7 -7
- package/dist/components/generate-mdp.ce.js.js +52 -52
- package/dist/components/image-quiz.ce.js.js +3 -3
- package/dist/components/image-quizzes.ce.js.js +3 -3
- package/dist/components/llm-compare-messages.ce.js.js +3 -3
- package/dist/components/llm-messages.ce.js.js +6 -6
- package/dist/components/llm-prompt-select.ce.js.js +7 -7
- package/dist/components/mdp-classement.ce.js.js +100 -108
- package/dist/components/message-conversation.ce.js.js +15 -15
- package/dist/components/mobile-shell.ce.js.js +1 -1
- package/dist/components/notification-antivirus.ce.js.js +139 -149
- package/dist/components/phishing-message.ce.js.js +23 -23
- package/dist/components/phishing-notification.ce.js.js +3 -3
- package/dist/components/pix-anonymisation.ce.js.js +10 -10
- package/dist/components/pix-article.ce.js.js +2 -2
- package/dist/components/pix-carousel.ce.js.js +10 -8
- package/dist/components/pix-combinaisons.ce.js.js +13 -13
- package/dist/components/pix-cursor.ce.js.js +10 -10
- package/dist/components/pix-mail-message.ce.js.js +3 -3
- package/dist/components/proteger-mail-spam.ce.js.js +70 -82
- package/dist/components/qcm-deepfake.ce.js.js +6 -6
- package/dist/components/quiz-stepper.ce.js.js +61 -68
- package/dist/components/select-conversation.ce.js.js +4 -4
- package/dist/components/template-mail.ce.js.js +3 -3
- package/dist/components/test-top-mdp.ce.js.js +4 -4
- package/dist/components/trouver-mdp-rs.ce.js.js +57 -71
- package/dist/components/usages-donnees.ce.js.js +7 -7
- package/dist/{i18n-C0iMUvqX.js → i18n-C-1Ne5JG.js} +1 -1
- package/dist/{i18n-lite-X2ADNonj.js → i18n-lite-WQsHAHqG.js} +1 -1
- package/dist/{image-quiz.ce-BaKLPvSS.js → image-quiz.ce-DGVVVaQN.js} +2 -2
- package/dist/{index-Ck6CFpiq.js → index-C8-9QxHJ.js} +1 -1
- package/dist/index.js +1 -1
- package/dist/{shadow-dom-Dh5hLXcx.js → shadow-dom-DSLDIcsa.js} +1 -1
- package/package.json +1 -1
- package/dist/Cross.ce.vue_vue_type_script_setup_true_lang-Cc1FblLh.js +0 -53
- package/dist/Feedback.ce-CeyQhenY.js +0 -26
- package/dist/components/feedback.ce.js.js +0 -4
|
@@ -1,50 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { u as ne, i as P } from "../i18n-lite-
|
|
1
|
+
import { b as A, i as W, h as D, w as J, o as l, f as L, D as t, q as U, Q as T, y as z, t as X, v as S, V as Y, g as o, _ as Z, K as ee, c, C as d, a as n, E as h, x as s, F as k, e as N, l as w, W as te, r as V, p as ae, d as se } from "../_plugin-vue_export-helper-CD1RUA2y.js";
|
|
2
|
+
import { u as ne, i as P } from "../i18n-lite-WQsHAHqG.js";
|
|
3
3
|
import { b as le } from "../normalize-props-DH0oPBss.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
|
|
4
|
+
import { _ as oe, a as ie, F as re } from "../Cross.ce.vue_vue_type_script_setup_true_lang-CGq82iLD.js";
|
|
5
|
+
import { S as ce } from "../Stepper.ce-MmSadTrx.js";
|
|
6
|
+
import { l as de } from "../index-C8-9QxHJ.js";
|
|
7
|
+
const ue = {}, pe = {}, me = {}, fe = {}, he = {}, _e = {
|
|
9
8
|
"analyse-mails-phishing": { continue: "Continuer", subject: "{{srOnly}}{{subject}}", subjectSrOnly: "Sujet : ", sender: "{{srOnly}}{{sender}}", senderSrOnly: "Expéditeur : ", recipient: "{{srOnly}}{{recipient}}", recipientSrOnly: "Destinataire : ", to: "À moi", feedbackTitle: { correct: "Bien joué", incorrect: "Ce n’est pas ça" }, feedbackSrOnly: "Vous pouvez cliquer sur Continuer pour afficher le prochain mail." }
|
|
10
|
-
}, ve = {}, ge = {}, ye = "data:image/svg+xml,%3csvg%20width='41'%20height='41'%20viewBox='0%200%2041%2041'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9%2033.5484C9.02496%2031.6445%209.79268%2029.8271%2011.1371%2028.4893C12.4815%2027.1515%2014.2944%2026.4009%2016.1837%2026.3999H24.8163C26.7056%2026.4009%2028.5185%2027.1515%2029.8629%2028.4893C31.2073%2029.8271%2031.975%2031.6445%2032%2033.5484C28.8446%2036.4141%2024.7476%2038%2020.5%2038C16.2524%2038%2012.1554%2036.4141%209%2033.5484ZM26.9744%2015.525C26.9744%2016.8155%2026.5947%2018.077%2025.8833%2019.1501C25.1719%2020.2231%2024.1607%2021.0594%2022.9776%2021.5533C21.7946%2022.0471%2020.4928%2022.1763%2019.2369%2021.9246C17.981%2021.6728%2016.8274%2021.0514%2015.9219%2020.1388C15.0164%2019.2263%2014.3998%2018.0637%2014.15%2016.7979C13.9002%2015.5322%2014.0284%2014.2203%2014.5184%2013.028C15.0085%2011.8357%2015.8383%2010.8166%2016.903%2010.0997C17.9677%209.38268%2019.2195%209%2020.5%209C22.2171%209%2023.8639%209.68745%2025.0781%2010.9111C26.2923%2012.1348%2026.9744%2013.7944%2026.9744%2015.525Z'%20fill='white'/%3e%3cpath%20d='M36.2655%2033.5758C38.3699%2031.0459%2039.8335%2028.0469%2040.5326%2024.8323C41.2316%2021.6177%2041.1455%2018.2822%2040.2815%2015.1079C39.4175%2011.9336%2037.8011%209.0139%2035.569%206.59581C33.3368%204.17772%2030.5547%202.33238%2027.4578%201.21587C24.3609%200.0993725%2021.0405%20-0.255438%2017.7774%200.181459C14.5142%200.618355%2011.4044%201.83411%208.71099%203.72586C6.01756%205.61762%203.81975%208.12973%202.30349%2011.0497C0.787232%2013.9696%20-0.00287585%2017.2115%207.86538e-06%2020.5011C0.00111445%2025.2832%201.6877%2029.9122%204.7638%2033.5758L4.7345%2033.6007C4.83707%2033.7237%204.9543%2033.8291%205.0598%2033.9506C5.19168%2034.1014%205.33382%2034.2435%205.47009%2034.3899C5.88039%2034.835%206.3024%2035.2625%206.74493%2035.6637C6.87974%2035.7866%207.01895%2035.9008%207.15522%2036.018C7.62413%2036.4221%208.10623%2036.8057%208.6059%2037.1629C8.67038%2037.2068%208.72899%2037.264%208.79347%2037.3093V37.2918C12.2254%2039.7049%2016.3196%2041%2020.5161%2041C24.7127%2041%2028.8068%2039.7049%2032.2388%2037.2918V37.3093C32.3033%2037.264%2032.3604%2037.2068%2032.4263%2037.1629C32.9246%2036.8042%2033.4081%2036.4221%2033.877%2036.018C34.0133%2035.9008%2034.1525%2035.7852%2034.2873%2035.6637C34.7298%2035.261%2035.1519%2034.835%2035.5622%2034.3899C35.6984%2034.2435%2035.8391%2034.1014%2035.9725%2033.9506C36.0765%2033.8291%2036.1952%2033.7237%2036.2978%2033.5992L36.2655%2033.5758ZM20.5147%208.78808C21.8188%208.78808%2023.0937%209.1745%2024.1781%209.89846C25.2625%2010.6224%2026.1076%2011.6514%2026.6067%2012.8553C27.1058%2014.0592%2027.2364%2015.384%2026.982%2016.662C26.7275%2017.9401%2026.0995%2019.1141%2025.1773%2020.0355C24.2551%2020.9569%2023.0802%2021.5844%2021.8011%2021.8387C20.522%2022.0929%2019.1961%2021.9624%2017.9912%2021.4637C16.7864%2020.9651%2015.7565%2020.1206%2015.032%2019.0371C14.3074%2017.9536%2013.9207%2016.6798%2013.9207%2015.3767C13.9207%2013.6293%2014.6154%2011.9534%2015.852%2010.7178C17.0886%209.48224%2018.7658%208.78808%2020.5147%208.78808ZM8.80226%2033.5758C8.82768%2031.6534%209.60958%2029.8182%2010.9788%2028.4674C12.348%2027.1165%2014.1945%2026.3586%2016.1187%2026.3576H24.9107C26.8349%2026.3586%2028.6813%2027.1165%2030.0505%2028.4674C31.4197%2029.8182%2032.2016%2031.6534%2032.2271%2033.5758C29.0134%2036.4694%2024.8407%2038.0708%2020.5147%2038.0708C16.1886%2038.0708%2012.016%2036.4694%208.80226%2033.5758Z'%20fill='%232F80ED'/%3e%3c/svg%3e", be = "data:image/svg+xml,%3csvg%20width='8'%20height='4'%20viewBox='0%200%208%204'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%200L3.53%203.38803L7.06%200H0Z'%20fill='black'/%3e%3c/svg%3e", Ce = /* @__PURE__ */
|
|
9
|
+
}, ve = {}, ge = {}, ye = "data:image/svg+xml,%3csvg%20width='41'%20height='41'%20viewBox='0%200%2041%2041'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9%2033.5484C9.02496%2031.6445%209.79268%2029.8271%2011.1371%2028.4893C12.4815%2027.1515%2014.2944%2026.4009%2016.1837%2026.3999H24.8163C26.7056%2026.4009%2028.5185%2027.1515%2029.8629%2028.4893C31.2073%2029.8271%2031.975%2031.6445%2032%2033.5484C28.8446%2036.4141%2024.7476%2038%2020.5%2038C16.2524%2038%2012.1554%2036.4141%209%2033.5484ZM26.9744%2015.525C26.9744%2016.8155%2026.5947%2018.077%2025.8833%2019.1501C25.1719%2020.2231%2024.1607%2021.0594%2022.9776%2021.5533C21.7946%2022.0471%2020.4928%2022.1763%2019.2369%2021.9246C17.981%2021.6728%2016.8274%2021.0514%2015.9219%2020.1388C15.0164%2019.2263%2014.3998%2018.0637%2014.15%2016.7979C13.9002%2015.5322%2014.0284%2014.2203%2014.5184%2013.028C15.0085%2011.8357%2015.8383%2010.8166%2016.903%2010.0997C17.9677%209.38268%2019.2195%209%2020.5%209C22.2171%209%2023.8639%209.68745%2025.0781%2010.9111C26.2923%2012.1348%2026.9744%2013.7944%2026.9744%2015.525Z'%20fill='white'/%3e%3cpath%20d='M36.2655%2033.5758C38.3699%2031.0459%2039.8335%2028.0469%2040.5326%2024.8323C41.2316%2021.6177%2041.1455%2018.2822%2040.2815%2015.1079C39.4175%2011.9336%2037.8011%209.0139%2035.569%206.59581C33.3368%204.17772%2030.5547%202.33238%2027.4578%201.21587C24.3609%200.0993725%2021.0405%20-0.255438%2017.7774%200.181459C14.5142%200.618355%2011.4044%201.83411%208.71099%203.72586C6.01756%205.61762%203.81975%208.12973%202.30349%2011.0497C0.787232%2013.9696%20-0.00287585%2017.2115%207.86538e-06%2020.5011C0.00111445%2025.2832%201.6877%2029.9122%204.7638%2033.5758L4.7345%2033.6007C4.83707%2033.7237%204.9543%2033.8291%205.0598%2033.9506C5.19168%2034.1014%205.33382%2034.2435%205.47009%2034.3899C5.88039%2034.835%206.3024%2035.2625%206.74493%2035.6637C6.87974%2035.7866%207.01895%2035.9008%207.15522%2036.018C7.62413%2036.4221%208.10623%2036.8057%208.6059%2037.1629C8.67038%2037.2068%208.72899%2037.264%208.79347%2037.3093V37.2918C12.2254%2039.7049%2016.3196%2041%2020.5161%2041C24.7127%2041%2028.8068%2039.7049%2032.2388%2037.2918V37.3093C32.3033%2037.264%2032.3604%2037.2068%2032.4263%2037.1629C32.9246%2036.8042%2033.4081%2036.4221%2033.877%2036.018C34.0133%2035.9008%2034.1525%2035.7852%2034.2873%2035.6637C34.7298%2035.261%2035.1519%2034.835%2035.5622%2034.3899C35.6984%2034.2435%2035.8391%2034.1014%2035.9725%2033.9506C36.0765%2033.8291%2036.1952%2033.7237%2036.2978%2033.5992L36.2655%2033.5758ZM20.5147%208.78808C21.8188%208.78808%2023.0937%209.1745%2024.1781%209.89846C25.2625%2010.6224%2026.1076%2011.6514%2026.6067%2012.8553C27.1058%2014.0592%2027.2364%2015.384%2026.982%2016.662C26.7275%2017.9401%2026.0995%2019.1141%2025.1773%2020.0355C24.2551%2020.9569%2023.0802%2021.5844%2021.8011%2021.8387C20.522%2022.0929%2019.1961%2021.9624%2017.9912%2021.4637C16.7864%2020.9651%2015.7565%2020.1206%2015.032%2019.0371C14.3074%2017.9536%2013.9207%2016.6798%2013.9207%2015.3767C13.9207%2013.6293%2014.6154%2011.9534%2015.852%2010.7178C17.0886%209.48224%2018.7658%208.78808%2020.5147%208.78808ZM8.80226%2033.5758C8.82768%2031.6534%209.60958%2029.8182%2010.9788%2028.4674C12.348%2027.1165%2014.1945%2026.3586%2016.1187%2026.3576H24.9107C26.8349%2026.3586%2028.6813%2027.1165%2030.0505%2028.4674C31.4197%2029.8182%2032.2016%2031.6534%2032.2271%2033.5758C29.0134%2036.4694%2024.8407%2038.0708%2020.5147%2038.0708C16.1886%2038.0708%2012.016%2036.4694%208.80226%2033.5758Z'%20fill='%232F80ED'/%3e%3c/svg%3e", be = "data:image/svg+xml,%3csvg%20width='8'%20height='4'%20viewBox='0%200%208%204'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0%200L3.53%203.38803L7.06%200H0Z'%20fill='black'/%3e%3c/svg%3e", Ce = /* @__PURE__ */ A({
|
|
11
10
|
__name: "MailElement.ce",
|
|
12
11
|
props: {
|
|
13
12
|
block: { type: Boolean, default: !1 },
|
|
14
13
|
path: { type: String }
|
|
15
14
|
},
|
|
16
|
-
setup(
|
|
17
|
-
const { selectedPath:
|
|
15
|
+
setup(a) {
|
|
16
|
+
const { selectedPath: _, correct: $, paths: b, pathToIndex: v } = W("store"), p = D("el"), m = o(() => _.value === a.path), g = o(() => v.value[a.path]), u = o(() => m.value || _.value === void 0 && g.value === 0);
|
|
18
17
|
function O() {
|
|
19
|
-
|
|
18
|
+
_.value = a.path;
|
|
20
19
|
}
|
|
21
|
-
function
|
|
22
|
-
|
|
20
|
+
function y() {
|
|
21
|
+
g.value !== 0 && (_.value = b.value[g.value - 1]);
|
|
23
22
|
}
|
|
24
|
-
function
|
|
25
|
-
|
|
23
|
+
function M() {
|
|
24
|
+
g.value !== b.value.length - 1 && (_.value = b.value[g.value + 1]);
|
|
26
25
|
}
|
|
27
26
|
return J(() => {
|
|
28
27
|
m.value && p.value.focus();
|
|
29
|
-
}), (
|
|
28
|
+
}), (E, i) => (l(), L(Y(a.block ? "div" : "span"), {
|
|
30
29
|
class: X(["mail-element", {
|
|
31
|
-
"mail-element--correct": m.value &&
|
|
32
|
-
"mail-element--incorrect": m.value && !
|
|
30
|
+
"mail-element--correct": m.value && S($),
|
|
31
|
+
"mail-element--incorrect": m.value && !S($)
|
|
33
32
|
}]),
|
|
34
33
|
role: "option",
|
|
35
34
|
"aria-selected": m.value,
|
|
36
|
-
tabindex:
|
|
35
|
+
tabindex: u.value ? 0 : -1,
|
|
37
36
|
onClick: i[0] || (i[0] = (C) => O()),
|
|
38
37
|
onKeydown: [
|
|
39
|
-
i[1] || (i[1] = z(
|
|
40
|
-
i[2] || (i[2] = z(
|
|
41
|
-
i[3] || (i[3] = z(
|
|
38
|
+
i[1] || (i[1] = T(z((C) => O(), ["stop", "prevent"]), ["space"])),
|
|
39
|
+
i[2] || (i[2] = T(z((C) => y(), ["stop", "prevent"]), ["up", "left"])),
|
|
40
|
+
i[3] || (i[3] = T(z((C) => M(), ["stop", "prevent"]), ["down", "right"]))
|
|
42
41
|
],
|
|
43
42
|
ref_key: "el",
|
|
44
43
|
ref: p
|
|
45
44
|
}, {
|
|
46
|
-
default:
|
|
47
|
-
U(
|
|
45
|
+
default: t(() => [
|
|
46
|
+
U(E.$slots, "default")
|
|
48
47
|
]),
|
|
49
48
|
_: 3
|
|
50
49
|
}, 40, ["class", "aria-selected", "tabindex"]));
|
|
@@ -58,24 +57,24 @@ const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
|
|
|
58
57
|
}, Fe = {
|
|
59
58
|
key: 1,
|
|
60
59
|
class: "mail__button"
|
|
61
|
-
},
|
|
60
|
+
}, Ne = {
|
|
62
61
|
key: 0,
|
|
63
62
|
class: "sr-only"
|
|
64
|
-
},
|
|
63
|
+
}, Ve = /* @__PURE__ */ A({
|
|
65
64
|
__name: "AnalyseMailsPhishing.ce",
|
|
66
65
|
props: {
|
|
67
66
|
titleLevel: { type: Number },
|
|
68
67
|
mails: { type: Array }
|
|
69
68
|
},
|
|
70
|
-
setup(
|
|
71
|
-
const $ = te(
|
|
72
|
-
() =>
|
|
69
|
+
setup(a, { expose: _ }) {
|
|
70
|
+
const $ = te(a, ["mails"]), { t: b } = ne(), v = V(0), p = V(), m = D("container"), g = o(() => $.titleLevel ?? 2), u = o(() => a.mails[v.value]), O = o(() => p.value !== void 0), y = o(() => u.value.answers.includes(p.value)), M = o(() => y.value ? b("analyse-mails-phishing.feedbackTitle.correct") : b("analyse-mails-phishing.feedbackTitle.incorrect")), E = o(() => y.value ? u.value.correctFeedback : u.value.incorrectFeedback), i = o(() => y.value && v.value < a.mails.length - 1), C = o(
|
|
71
|
+
() => u.value.body.map((e, r) => {
|
|
73
72
|
if (e.type === "paragraph")
|
|
74
73
|
return {
|
|
75
74
|
...e,
|
|
76
|
-
content: e.content.map((
|
|
77
|
-
text:
|
|
78
|
-
path: `body[${r}][${
|
|
75
|
+
content: e.content.map((x, f) => ({
|
|
76
|
+
text: x,
|
|
77
|
+
path: `body[${r}][${f}]`
|
|
79
78
|
}))
|
|
80
79
|
};
|
|
81
80
|
if (e.type === "button")
|
|
@@ -98,47 +97,47 @@ const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
|
|
|
98
97
|
));
|
|
99
98
|
ae("store", {
|
|
100
99
|
selectedPath: p,
|
|
101
|
-
correct:
|
|
100
|
+
correct: y,
|
|
102
101
|
paths: B,
|
|
103
102
|
pathToIndex: H
|
|
104
103
|
});
|
|
105
104
|
function K() {
|
|
106
|
-
|
|
105
|
+
v.value++, p.value = void 0, m.value.focus();
|
|
107
106
|
}
|
|
108
107
|
function q() {
|
|
109
|
-
|
|
108
|
+
v.value = 0, p.value = void 0;
|
|
110
109
|
}
|
|
111
|
-
return
|
|
110
|
+
return _({
|
|
112
111
|
reset: q
|
|
113
112
|
}), (e, r) => {
|
|
114
|
-
const
|
|
115
|
-
return
|
|
113
|
+
const x = ee("i18n");
|
|
114
|
+
return l(), c("div", {
|
|
116
115
|
class: "analyse-mails-phishing",
|
|
117
116
|
tabindex: "-1",
|
|
118
117
|
ref_key: "container",
|
|
119
118
|
ref: m
|
|
120
119
|
}, [
|
|
121
|
-
|
|
122
|
-
step:
|
|
123
|
-
"steps-count":
|
|
120
|
+
d(ce, {
|
|
121
|
+
step: v.value,
|
|
122
|
+
"steps-count": a.mails.length
|
|
124
123
|
}, null, 8, ["step", "steps-count"]),
|
|
125
124
|
n("div", ke, [
|
|
126
|
-
|
|
125
|
+
d(j, {
|
|
127
126
|
path: "subject",
|
|
128
127
|
block: !0
|
|
129
128
|
}, {
|
|
130
|
-
default:
|
|
129
|
+
default: t(() => [
|
|
131
130
|
n("div", {
|
|
132
131
|
class: "mail__subject",
|
|
133
132
|
role: "heading",
|
|
134
|
-
"arial-level":
|
|
133
|
+
"arial-level": g.value
|
|
135
134
|
}, [
|
|
136
|
-
|
|
137
|
-
srOnly:
|
|
138
|
-
n("span", je,
|
|
135
|
+
d(x, { t: "analyse-mails-phishing.subject" }, {
|
|
136
|
+
srOnly: t(() => [
|
|
137
|
+
n("span", je, s(e.$t("analyse-mails-phishing.subjectSrOnly")), 1)
|
|
139
138
|
]),
|
|
140
|
-
subject:
|
|
141
|
-
|
|
139
|
+
subject: t(() => [
|
|
140
|
+
h(s(u.value.subject), 1)
|
|
142
141
|
]),
|
|
143
142
|
_: 1
|
|
144
143
|
})
|
|
@@ -148,26 +147,26 @@ const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
|
|
|
148
147
|
}),
|
|
149
148
|
n("div", $e, [
|
|
150
149
|
n("img", {
|
|
151
|
-
src:
|
|
150
|
+
src: S(ye),
|
|
152
151
|
alt: ""
|
|
153
152
|
}, null, 8, Oe),
|
|
154
153
|
n("div", Se, [
|
|
155
154
|
n("div", null, [
|
|
156
|
-
|
|
157
|
-
srOnly:
|
|
158
|
-
n("span", Me,
|
|
155
|
+
d(x, { t: "analyse-mails-phishing.sender" }, {
|
|
156
|
+
srOnly: t(() => [
|
|
157
|
+
n("span", Me, s(e.$t("analyse-mails-phishing.senderSrOnly")), 1)
|
|
159
158
|
]),
|
|
160
|
-
sender:
|
|
161
|
-
|
|
162
|
-
default:
|
|
163
|
-
n("span", Ee,
|
|
159
|
+
sender: t(() => [
|
|
160
|
+
d(j, { path: "from.name" }, {
|
|
161
|
+
default: t(() => [
|
|
162
|
+
n("span", Ee, s(u.value.from.name), 1)
|
|
164
163
|
]),
|
|
165
164
|
_: 1
|
|
166
165
|
}),
|
|
167
|
-
r[1] || (r[1] =
|
|
168
|
-
|
|
169
|
-
default:
|
|
170
|
-
n("span", Te, "<" +
|
|
166
|
+
r[1] || (r[1] = h()),
|
|
167
|
+
d(j, { path: "from.address" }, {
|
|
168
|
+
default: t(() => [
|
|
169
|
+
n("span", Te, "<" + s(u.value.from.address) + ">", 1)
|
|
171
170
|
]),
|
|
172
171
|
_: 1
|
|
173
172
|
})
|
|
@@ -176,14 +175,14 @@ const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
|
|
|
176
175
|
})
|
|
177
176
|
]),
|
|
178
177
|
n("div", ze, [
|
|
179
|
-
|
|
180
|
-
srOnly:
|
|
181
|
-
n("span", Le,
|
|
178
|
+
d(x, { t: "analyse-mails-phishing.recipient" }, {
|
|
179
|
+
srOnly: t(() => [
|
|
180
|
+
n("span", Le, s(e.$t("analyse-mails-phishing.recipientSrOnly")), 1)
|
|
182
181
|
]),
|
|
183
|
-
recipient:
|
|
184
|
-
|
|
182
|
+
recipient: t(() => [
|
|
183
|
+
h(s(e.$t("analyse-mails-phishing.to")) + " ", 1),
|
|
185
184
|
n("img", {
|
|
186
|
-
src:
|
|
185
|
+
src: S(be),
|
|
187
186
|
alt: ""
|
|
188
187
|
}, null, 8, Pe)
|
|
189
188
|
]),
|
|
@@ -192,69 +191,69 @@ const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
|
|
|
192
191
|
])
|
|
193
192
|
])
|
|
194
193
|
]),
|
|
195
|
-
(
|
|
196
|
-
|
|
197
|
-
(
|
|
198
|
-
F !== 0 ? (
|
|
199
|
-
|
|
200
|
-
], 64)) :
|
|
201
|
-
|
|
202
|
-
default:
|
|
203
|
-
|
|
194
|
+
(l(!0), c(k, null, N(C.value, (f, I) => (l(), c(k, { key: I }, [
|
|
195
|
+
f.type === "paragraph" ? (l(), c("p", Be, [
|
|
196
|
+
(l(!0), c(k, null, N(f.content, ({ path: G, text: Q }, F) => (l(), c(k, { key: F }, [
|
|
197
|
+
F !== 0 ? (l(), c(k, { key: 0 }, [
|
|
198
|
+
h(s(" "))
|
|
199
|
+
], 64)) : w("", !0),
|
|
200
|
+
d(j, { path: G }, {
|
|
201
|
+
default: t(() => [
|
|
202
|
+
h(s(Q), 1)
|
|
204
203
|
]),
|
|
205
204
|
_: 2
|
|
206
205
|
}, 1032, ["path"])
|
|
207
206
|
], 64))), 128))
|
|
208
|
-
])) :
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
path:
|
|
207
|
+
])) : w("", !0),
|
|
208
|
+
f.type === "button" ? (l(), c("div", Fe, [
|
|
209
|
+
d(j, {
|
|
210
|
+
path: f.path
|
|
212
211
|
}, {
|
|
213
|
-
default:
|
|
214
|
-
|
|
212
|
+
default: t(() => [
|
|
213
|
+
h(s(f.name), 1)
|
|
215
214
|
]),
|
|
216
215
|
_: 2
|
|
217
216
|
}, 1032, ["path"])
|
|
218
|
-
])) :
|
|
217
|
+
])) : w("", !0)
|
|
219
218
|
], 64))), 128))
|
|
220
219
|
]),
|
|
221
|
-
O.value
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
}, {
|
|
225
|
-
icon: s(() => [
|
|
226
|
-
g.value ? (a(), S(ie, {
|
|
220
|
+
d(re, { "display-feedback": O.value }, {
|
|
221
|
+
icon: t(() => [
|
|
222
|
+
y.value ? (l(), L(oe, {
|
|
227
223
|
key: 0,
|
|
228
224
|
class: "feedback-icon"
|
|
229
|
-
})) : (
|
|
225
|
+
})) : (l(), L(ie, {
|
|
230
226
|
key: 1,
|
|
231
227
|
class: "feedback-icon"
|
|
232
228
|
}))
|
|
233
229
|
]),
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
230
|
+
title: t(() => [
|
|
231
|
+
h(s(M.value), 1)
|
|
232
|
+
]),
|
|
233
|
+
content: t(() => [
|
|
234
|
+
h(s(E.value) + " ", 1),
|
|
235
|
+
i.value ? (l(), c("span", Ne, s(e.$t("analyse-mails-phishing.feedbackSrOnly")), 1)) : w("", !0)
|
|
237
236
|
]),
|
|
238
237
|
_: 1
|
|
239
|
-
}, 8, ["
|
|
240
|
-
i.value ? (
|
|
241
|
-
key:
|
|
238
|
+
}, 8, ["display-feedback"]),
|
|
239
|
+
i.value ? (l(), c("button", {
|
|
240
|
+
key: 0,
|
|
242
241
|
class: "continue-button",
|
|
243
|
-
onClick: r[0] || (r[0] = (
|
|
244
|
-
},
|
|
242
|
+
onClick: r[0] || (r[0] = (f) => K())
|
|
243
|
+
}, s(e.$t("analyse-mails-phishing.continue")), 1)) : w("", !0)
|
|
245
244
|
], 512);
|
|
246
245
|
};
|
|
247
246
|
}
|
|
248
|
-
}),
|
|
249
|
-
P.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": ue, "./locales/en.json": pe, "./locales/es-419.json": me, "./locales/es.json":
|
|
247
|
+
}), Ae = "*{font-family:Nunito,Roboto,sans-serif;color:#122647}p{margin:0}.analyse-mails-phishing{display:flex;flex-direction:column;gap:24px}.mail{display:flex;padding:16px;flex-direction:column;gap:12px;border-radius:8px;background:#f4f5f7;align-items:start}.mail__subject{font-size:18px}.mail-header{display:flex;gap:16px;align-items:center}.mail-header__content{display:flex;flex-direction:column;gap:4px}.mail-header__from-name{font-size:15px;font-weight:700}.mail-header__from-address{color:#757575;font-size:12px}.mail-header__to{color:#818488;font-size:12px;font-weight:500;display:flex;align-items:center;gap:6px}.mail__paragraph{font-size:14px;line-height:24px}.mail__button{padding:8px 24px;border-radius:8px;border:1px solid #cdd1d9;background-color:#fff;color:#253858;font-size:14px;font-weight:700;text-align:center}.mail-element--correct .mail-header__from-address,.mail-element--incorrect .mail-header__from-address{color:#122647}.feedback-icon{height:16px;width:16px}.continue-button{border-style:none;padding:8px 24px;border-radius:8px;background-color:#253858;color:#fff;font-size:14px;font-weight:700;cursor:pointer;align-self:center}@media only screen and (max-width:576px){.analyse-mails-phishing{gap:12px}.mail__subject{font-size:16px}.mail__button{padding:8px 12px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}", De = /* @__PURE__ */ Z(Ve, [["styles", [Ae]]]);
|
|
248
|
+
P.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": ue, "./locales/en.json": pe, "./locales/es-419.json": me, "./locales/es.json": fe, "./locales/fr-BE.json": he, "./locales/fr.json": _e, "./locales/it.json": ve, "./locales/nl.json": ge }));
|
|
250
249
|
de();
|
|
251
250
|
const R = se(De, {
|
|
252
|
-
configureApp(
|
|
253
|
-
P.changeLanguage(document?.documentElement?.lang || navigator.language),
|
|
251
|
+
configureApp(a) {
|
|
252
|
+
P.changeLanguage(document?.documentElement?.lang || navigator.language), a.use(P);
|
|
254
253
|
}
|
|
255
254
|
});
|
|
256
|
-
R.prototype.normalizeProps = (
|
|
257
|
-
...
|
|
258
|
-
titleLevel: le(
|
|
255
|
+
R.prototype.normalizeProps = (a) => ({
|
|
256
|
+
...a,
|
|
257
|
+
titleLevel: le(a.titleLevel)
|
|
259
258
|
});
|
|
260
259
|
window.customElements.define("analyse-mails-phishing", R);
|