@1024pix/epreuves-components 4.0.0 → 4.0.2

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 (54) hide show
  1. package/dist/{Button.ce-CTKrSDrC.js → Button.ce-CIdOR7Ut.js} +2 -2
  2. package/dist/{ButtonTooltip.ce-CtHo2Dwx.js → ButtonTooltip.ce-DcDedpxX.js} +8 -8
  3. package/dist/{Cross.ce.vue_vue_type_script_setup_true_lang-CVBFTfq5.js → Cross.ce.vue_vue_type_script_setup_true_lang-BZa1HfxH.js} +4 -4
  4. package/dist/FocusManager.ce-B9q14nBB.js +131 -0
  5. package/dist/{LLMMessage.ce-Dv4hVX0C.js → LLMMessage.ce-m7gAgj3M.js} +14 -14
  6. package/dist/{Loading.ce-Bh7-h48F.js → Loading.ce-Diq78Qvm.js} +2 -2
  7. package/dist/{NavigationButton.ce-CA1M8sgV.js → NavigationButton.ce-CgVczgG8.js} +2 -2
  8. package/dist/PixMailMessage.ce-CI8R0PnN.js +261 -0
  9. package/dist/Popin.ce-BczgRCZ5.js +67 -0
  10. package/dist/{Retry-BZf7NJz9.js → Retry-vIN7ZGdK.js} +2 -2
  11. package/dist/{Stepper.ce-B1yDelzC.js → Stepper.ce-DwjG4jda.js} +4 -4
  12. package/dist/{_plugin-vue_export-helper-D0N_62VD.js → _plugin-vue_export-helper-VRfPs3B6.js} +1643 -1611
  13. package/dist/components/analyse-mails-phishing.ce.js.js +14 -14
  14. package/dist/components/calcul-impact.ce.js.js +20 -20
  15. package/dist/components/capacity-calculation.ce.js.js +22 -22
  16. package/dist/components/clickable-image.ce.js.js +30 -30
  17. package/dist/components/complete-phrase.ce.js.js +18 -18
  18. package/dist/components/flip-cards.ce.js.js +10 -10
  19. package/dist/components/image-quiz.ce.js.js +3 -3
  20. package/dist/components/image-quizzes.ce.js.js +3 -3
  21. package/dist/components/llm-compare-messages.ce.js.js +7 -7
  22. package/dist/components/llm-messages.ce.js.js +7 -7
  23. package/dist/components/llm-prompt-select.ce.js.js +5 -5
  24. package/dist/components/mdp-classement.ce.js.js +29 -29
  25. package/dist/components/message-conversation.ce.js.js +29 -29
  26. package/dist/components/mobile-shell.ce.js.js +8 -8
  27. package/dist/components/phishing-message.ce.js.js +128 -128
  28. package/dist/components/phishing-notification.ce.js.js +30 -30
  29. package/dist/components/pix-anonymisation.ce.js.js +27 -27
  30. package/dist/components/pix-article.ce.js.js +16 -16
  31. package/dist/components/pix-carousel.ce.js.js +38 -38
  32. package/dist/components/pix-combinaisons.ce.js.js +75 -74
  33. package/dist/components/pix-cursor.ce.js.js +26 -26
  34. package/dist/components/pix-mail-message.ce.js.js +3 -3
  35. package/dist/components/proteger-mail-spam.ce.js.js +89 -85
  36. package/dist/components/qcm-deepfake.ce.js.js +16 -16
  37. package/dist/components/quiz-stepper.ce.js.js +21 -21
  38. package/dist/components/select-conversation.ce.js.js +11 -11
  39. package/dist/components/template-mail.ce.js.js +4 -4
  40. package/dist/components/test-top-mdp.ce.js.js +24 -24
  41. package/dist/components/trouver-mdp-rs.ce.js.js +321 -421
  42. package/dist/{i18n-ekiZvzf6.js → i18n-C-9bWDxP.js} +270 -268
  43. package/dist/{i18n-lite-t2jNOu0C.js → i18n-lite-CZIis7T7.js} +1 -1
  44. package/dist/{image-quiz.ce-DqalWHKw.js → image-quiz.ce-COX8VOUE.js} +9 -9
  45. package/dist/{index-BpqxFmwz.js → index-DgWpXIzq.js} +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/props.examples.js +2 -2
  48. package/dist/schema.js +12 -12
  49. package/dist/shadow-dom-5ECgVh4w.js +14 -0
  50. package/dist/{temporal.utils-7Uvm62ss.js → temporal.utils-DgmGPVba.js} +537 -536
  51. package/package.json +1 -1
  52. package/dist/PixMailMessage.ce-XPDbJiyC.js +0 -219
  53. package/dist/Popin.ce-DUQ7-GMT.js +0 -197
  54. package/dist/shadow-dom-C3AZuSZe.js +0 -9
@@ -1,9 +1,9 @@
1
- import { b as V, i as Q, j as Z, g as o, w as U, f as S, o as a, K as s, q as W, n as X, N as z, l as L, k as M, R as Y, _ as D, r as N, S as ee, G as te, c, E as u, a as n, B as x, H as y, t as l, F as w, e as A, p as ae, d as se } from "../_plugin-vue_export-helper-D0N_62VD.js";
2
- import { u as ne, i as P } from "../i18n-lite-t2jNOu0C.js";
1
+ import { b as V, i as Q, h as D, w as U, o as a, f as S, D as s, q as W, N as z, y as L, t as X, v as M, R as Y, g as o, _ as Z, K as ee, c, C as u, a as n, E as y, x as l, F as w, e as N, l as x, S as te, r as A, p as ae, d as se } from "../_plugin-vue_export-helper-VRfPs3B6.js";
2
+ import { u as ne, i as P } from "../i18n-lite-CZIis7T7.js";
3
3
  import { b as le } from "../normalize-props-DH0oPBss.js";
4
- import { _ as oe, a as ie, F as re } from "../Cross.ce.vue_vue_type_script_setup_true_lang-CVBFTfq5.js";
5
- import { S as ce } from "../Stepper.ce-B1yDelzC.js";
6
- import { l as de } from "../index-BpqxFmwz.js";
4
+ import { _ as oe, a as ie, F as re } from "../Cross.ce.vue_vue_type_script_setup_true_lang-BZa1HfxH.js";
5
+ import { S as ce } from "../Stepper.ce-DwjG4jda.js";
6
+ import { l as de } from "../index-DgWpXIzq.js";
7
7
  const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
8
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." }
9
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__ */ V({
@@ -13,7 +13,7 @@ const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
13
13
  path: { type: String }
14
14
  },
15
15
  setup(t) {
16
- const { selectedPath: f, correct: $, paths: b, pathToIndex: _ } = Q("store"), p = Z("el"), m = o(() => f.value === t.path), v = o(() => _.value[t.path]), d = o(() => m.value || f.value === void 0 && v.value === 0);
16
+ const { selectedPath: f, correct: $, paths: b, pathToIndex: _ } = Q("store"), p = D("el"), m = o(() => f.value === t.path), v = o(() => _.value[t.path]), d = o(() => m.value || f.value === void 0 && v.value === 0);
17
17
  function O() {
18
18
  f.value = t.path;
19
19
  }
@@ -48,7 +48,7 @@ const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
48
48
  _: 3
49
49
  }, 40, ["class", "aria-selected", "tabindex"]));
50
50
  }
51
- }), xe = ".mail-element{background-color:transparent;border:1px solid #cdd1d9;border-radius:4px;cursor:pointer;font-weight:inherit;padding:0 2px}.mail-element--correct{background-color:#54c590}.mail-element--incorrect{background-color:#e4766f}", j = /* @__PURE__ */ D(Ce, [["styles", [xe]]]), ke = {
51
+ }), xe = ".mail-element{background-color:transparent;border:1px solid #cdd1d9;border-radius:4px;cursor:pointer;font-weight:inherit;padding:0 2px}.mail-element--correct{background-color:#54c590}.mail-element--incorrect{background-color:#e4766f}", j = /* @__PURE__ */ Z(Ce, [["styles", [xe]]]), ke = {
52
52
  class: "mail",
53
53
  role: "listbox"
54
54
  }, we = ["arial-level"], je = { class: "sr-only" }, $e = { class: "mail-header" }, Oe = ["src"], Se = { class: "mail-header__content" }, Me = { class: "sr-only" }, Ee = { class: "mail-header__from-name" }, Te = { class: "mail-header__from-address" }, ze = { class: "mail-header__to" }, Le = { class: "sr-only" }, Pe = ["src"], Be = {
@@ -67,7 +67,7 @@ const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
67
67
  mails: { type: Array }
68
68
  },
69
69
  setup(t, { expose: f }) {
70
- const $ = ee(t, ["mails"]), { t: b } = ne(), _ = N(0), p = N(), m = Z("container"), v = o(() => $.titleLevel ?? 2), d = o(() => t.mails[_.value]), O = o(() => p.value !== void 0), g = o(() => d.value.answers.includes(p.value)), E = o(() => g.value ? b("analyse-mails-phishing.feedbackTitle.correct") : b("analyse-mails-phishing.feedbackTitle.incorrect")), T = o(() => g.value ? d.value.correctFeedback : d.value.incorrectFeedback), i = o(() => g.value && _.value < t.mails.length - 1), C = o(
70
+ const $ = te(t, ["mails"]), { t: b } = ne(), _ = A(0), p = A(), m = D("container"), v = o(() => $.titleLevel ?? 2), d = o(() => t.mails[_.value]), O = o(() => p.value !== void 0), g = o(() => d.value.answers.includes(p.value)), E = o(() => g.value ? b("analyse-mails-phishing.feedbackTitle.correct") : b("analyse-mails-phishing.feedbackTitle.incorrect")), T = o(() => g.value ? d.value.correctFeedback : d.value.incorrectFeedback), i = o(() => g.value && _.value < t.mails.length - 1), C = o(
71
71
  () => d.value.body.map((e, r) => {
72
72
  if (e.type === "paragraph")
73
73
  return {
@@ -110,7 +110,7 @@ const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
110
110
  return f({
111
111
  reset: q
112
112
  }), (e, r) => {
113
- const k = te("i18n");
113
+ const k = ee("i18n");
114
114
  return a(), c("div", {
115
115
  class: "analyse-mails-phishing",
116
116
  tabindex: "-1",
@@ -191,13 +191,13 @@ const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
191
191
  ])
192
192
  ])
193
193
  ]),
194
- (a(!0), c(w, null, A(C.value, (h, G) => (a(), c(w, { key: G }, [
194
+ (a(!0), c(w, null, N(C.value, (h, I) => (a(), c(w, { key: I }, [
195
195
  h.type === "paragraph" ? (a(), c("p", Be, [
196
- (a(!0), c(w, null, A(h.content, ({ path: I, text: J }, F) => (a(), c(w, { key: F }, [
196
+ (a(!0), c(w, null, N(h.content, ({ path: G, text: J }, F) => (a(), c(w, { key: F }, [
197
197
  F !== 0 ? (a(), c(w, { key: 0 }, [
198
198
  y(l(" "))
199
199
  ], 64)) : x("", !0),
200
- u(j, { path: I }, {
200
+ u(j, { path: G }, {
201
201
  default: s(() => [
202
202
  y(l(J), 1)
203
203
  ]),
@@ -244,10 +244,10 @@ const ue = {}, pe = {}, me = {}, he = {}, fe = {}, _e = {
244
244
  ], 512);
245
245
  };
246
246
  }
247
- }), Ve = "*{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}", Ze = /* @__PURE__ */ D(Ae, [["styles", [Ve]]]);
247
+ }), Ve = "*{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(Ae, [["styles", [Ve]]]);
248
248
  P.addTranslationsFromGlobResults(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": ue, "./locales/en.json": pe, "./locales/es-419.json": me, "./locales/es.json": he, "./locales/fr-BE.json": fe, "./locales/fr.json": _e, "./locales/it.json": ve, "./locales/nl.json": ge }));
249
249
  de();
250
- const R = se(Ze, {
250
+ const R = se(De, {
251
251
  configureApp(t) {
252
252
  P.changeLanguage(document?.documentElement?.lang || navigator.language), t.use(P);
253
253
  }
@@ -1,5 +1,5 @@
1
- import { b as V, G as R, 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, A as E, f as U, k as j, Q as N, d as G } from "../_plugin-vue_export-helper-D0N_62VD.js";
2
- import { a as H, i as x, b as Q } from "../i18n-ekiZvzf6.js";
1
+ import { b as V, K as R, o as d, c as p, F as K, C as v, D as r, a as e, x as a, E as _, l as C, T as D, _ as z, v as E, H as j, Q as x, f as U, r as l, d as H } from "../_plugin-vue_export-helper-VRfPs3B6.js";
2
+ import { a as Q, i as N, b as G } from "../i18n-C-9bWDxP.js";
3
3
  import { b as J } from "../normalize-props-DH0oPBss.js";
4
4
  const X = {}, Z = {}, ee = {}, te = {}, ae = {}, le = {
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é" }
@@ -109,25 +109,25 @@ const X = {}, Z = {}, ee = {}, te = {}, ae = {}, le = {
109
109
  ], 64);
110
110
  };
111
111
  }
112
- }), _e = ".result-calculation[data-v-b69dd4ff]{background:#e0f7fa;border-left:solid 3px #00796b;padding:1rem;border-radius:10px}.header[data-v-b69dd4ff]{font-size:1.125rem;font-weight:700}.consumption[data-v-b69dd4ff]{font-style:italic}.fade-perso-enter-active[data-v-b69dd4ff],.fade-collectif-enter-active[data-v-b69dd4ff]{transition:all .3s ease-out}.fade-perso-leave-active[data-v-b69dd4ff],.fade-collectif-leave-active[data-v-b69dd4ff]{transition:all .8s cubic-bezier(1,.5,.8,1)}.fade-perso-enter-from[data-v-b69dd4ff],.fade-collectif-enter-from[data-v-b69dd4ff],.fade-perso-leave-to[data-v-b69dd4ff],.fade-collectif-leave-to[data-v-b69dd4ff]{transform:translate(20px);opacity:0}", Ce = /* @__PURE__ */ z(ge, [["styles", [_e]], ["__scopeId", "data-v-b69dd4ff"]]), he = { class: "container" }, ke = ["arial-level"], Ie = { for: "numberOfConversation" }, we = { for: "numberOfImage" }, Be = { class: "legals" }, $e = /* @__PURE__ */ V({
112
+ }), _e = ".result-calculation[data-v-b69dd4ff]{background:#e0f7fa;border-left:solid 3px #00796b;padding:1rem;border-radius:10px}.header[data-v-b69dd4ff]{font-size:1.125rem;font-weight:700}.consumption[data-v-b69dd4ff]{font-style:italic}.fade-perso-enter-active[data-v-b69dd4ff],.fade-collectif-enter-active[data-v-b69dd4ff]{transition:all .3s ease-out}.fade-perso-leave-active[data-v-b69dd4ff],.fade-collectif-leave-active[data-v-b69dd4ff]{transition:all .8s cubic-bezier(1,.5,.8,1)}.fade-perso-enter-from[data-v-b69dd4ff],.fade-collectif-enter-from[data-v-b69dd4ff],.fade-perso-leave-to[data-v-b69dd4ff],.fade-collectif-leave-to[data-v-b69dd4ff]{transform:translate(20px);opacity:0}", Ce = /* @__PURE__ */ z(ge, [["styles", [_e]], ["__scopeId", "data-v-b69dd4ff"]]), he = { class: "container" }, ke = ["arial-level"], Ie = { for: "numberOfConversation" }, we = { for: "numberOfImage" }, $e = { class: "legals" }, Be = /* @__PURE__ */ V({
113
113
  __name: "CalculImpact.ce",
114
114
  props: {
115
115
  titleLevel: { type: Number }
116
116
  },
117
117
  setup(t, { expose: o }) {
118
- const i = t.titleLevel ?? 2, b = l(10), f = l(2), w = l(0), B = l(0), $ = l(0), c = l(!1), y = l(!1);
118
+ const i = t.titleLevel ?? 2, b = l(10), f = l(2), w = l(0), $ = l(0), B = l(0), c = l(!1), y = l(!1);
119
119
  function q() {
120
- b.value = 10, f.value = 2, u.value = {}, m.value = {}, w.value = 0, B.value = 0, $.value = 0, c.value = !1, y.value = !1, k.value = 0, A.value = 0, g.value = 0, F.value = 0, L.value = 0;
120
+ b.value = 10, f.value = 2, u.value = {}, m.value = {}, w.value = 0, $.value = 0, B.value = 0, c.value = !1, y.value = !1, k.value = 0, F.value = 0, g.value = 0, A.value = 0, L.value = 0;
121
121
  }
122
122
  const h = {
123
123
  text: { energy: 2.9, co2: 1.5 },
124
124
  image: { energy: 32, co2: 20 }
125
- }, u = l({}), m = l({}), k = l(0), A = l(0), g = l(0), F = l(0), L = l(0);
125
+ }, u = l({}), m = l({}), k = l(0), F = l(0), g = l(0), A = l(0), L = l(0);
126
126
  function P() {
127
- k.value = b.value * h.text.energy + f.value * h.image.energy, A.value = b.value * h.text.co2 + f.value * h.image.co2, w.value = Number((k.value / 0.8).toFixed(1)), u.value.energyByWeek = k.value.toFixed(1), u.value.personalMicrowavesDuration = w.value, u.value.co2ByWeek = A.value.toFixed(1);
127
+ k.value = b.value * h.text.energy + f.value * h.image.energy, F.value = b.value * h.text.co2 + f.value * h.image.co2, w.value = Number((k.value / 0.8).toFixed(1)), u.value.energyByWeek = k.value.toFixed(1), u.value.personalMicrowavesDuration = w.value, u.value.co2ByWeek = F.value.toFixed(1);
128
128
  }
129
129
  function M() {
130
- g.value = u.value.energyByWeek * 52 * 1e6 / 1e3, F.value = u.value.co2ByWeek * 52 * 1e6 / 1e6, L.value = Math.round(g.value / 2300), B.value = g.value / 0.8, $.value = F.value * 2410, m.value.collectiveMicrowavesDuration = B.value.toLocaleString(), m.value.kilometerByPlane = $.value.toLocaleString(), m.value.equivalentPopulationByCity = L.value.toLocaleString(), m.value.collectiveAnnualEnergy = g.value.toLocaleString();
130
+ g.value = u.value.energyByWeek * 52 * 1e6 / 1e3, A.value = u.value.co2ByWeek * 52 * 1e6 / 1e6, L.value = Math.round(g.value / 2300), $.value = g.value / 0.8, B.value = A.value * 2410, m.value.collectiveMicrowavesDuration = $.value.toLocaleString(), m.value.kilometerByPlane = B.value.toLocaleString(), m.value.equivalentPopulationByCity = L.value.toLocaleString(), m.value.collectiveAnnualEnergy = g.value.toLocaleString();
131
131
  }
132
132
  function S() {
133
133
  P(), c.value = !0;
@@ -144,32 +144,32 @@ const X = {}, Z = {}, ee = {}, te = {}, ae = {}, le = {
144
144
  e("div", {
145
145
  class: "title",
146
146
  role: "heading",
147
- "arial-level": j(i)
147
+ "arial-level": E(i)
148
148
  }, "📊 " + a(s.$t("calcul-impact.title")), 9, ke),
149
149
  e("p", null, a(s.$t("calcul-impact.subtitle")), 1),
150
150
  e("label", Ie, "🤖 " + a(s.$t("calcul-impact.numberOfConversationLabel")), 1),
151
- E(e("input", {
151
+ j(e("input", {
152
152
  onChange: W,
153
153
  type: "number",
154
154
  id: "numberOfConversation",
155
155
  "onUpdate:modelValue": I[0] || (I[0] = (O) => b.value = O)
156
156
  }, null, 544), [
157
- [N, b.value]
157
+ [x, b.value]
158
158
  ]),
159
159
  e("label", we, "🖼️ " + a(s.$t("calcul-impact.numberOfImagesLabel")), 1),
160
- E(e("input", {
160
+ j(e("input", {
161
161
  onChange: W,
162
162
  type: "number",
163
163
  id: "numberOfImage",
164
164
  "onUpdate:modelValue": I[1] || (I[1] = (O) => f.value = O)
165
165
  }, null, 544), [
166
- [N, f.value]
166
+ [x, f.value]
167
167
  ]),
168
168
  c.value ? (d(), U(Ce, {
169
169
  key: 0,
170
170
  "is-collective": y.value,
171
171
  "is-personal": c.value,
172
- "title-level": j(i),
172
+ "title-level": E(i),
173
173
  "by-week-for-one": u.value,
174
174
  "by-year-for-a-million": m.value
175
175
  }, null, 8, ["is-collective", "is-personal", "title-level", "by-week-for-one", "by-year-for-a-million"])) : C("", !0),
@@ -181,15 +181,15 @@ const X = {}, Z = {}, ee = {}, te = {}, ae = {}, le = {
181
181
  key: 2,
182
182
  onClick: T
183
183
  }, "🌍 " + a(s.$t("calcul-impact.seeCollectiveImpact")), 1)) : C("", !0),
184
- e("p", Be, "📝 " + a(s.$t("calcul-impact.legals")), 1)
184
+ e("p", $e, "📝 " + a(s.$t("calcul-impact.legals")), 1)
185
185
  ]));
186
186
  }
187
- }), Ae = "[data-v-7fbb31b5]{font-family:Nunito,Roboto,sans-serif;color:#253858}p[data-v-7fbb31b5]{padding:0}.container[data-v-7fbb31b5]{display:flex;flex-direction:column;gap:1rem}.container button[data-v-7fbb31b5]{border:0;border-radius:5px;font-size:.9rem;background:#357abd;color:#fff;width:50%;padding:.4rem .8rem;margin:auto;cursor:pointer}.container button[data-v-7fbb31b5]:hover{background:#225d93}.container input[data-v-7fbb31b5]{border:solid 1px lightgrey;border-radius:5px;padding-block:.2rem;width:40%}.container label[data-v-7fbb31b5]{font-weight:700}.container .legals[data-v-7fbb31b5]{font-size:.9rem;font-style:italic}.container .title[data-v-7fbb31b5]{font-size:1.3rem;font-weight:700}@media only screen and (max-width:768px){.container button[data-v-7fbb31b5]{width:100%}.container input[data-v-7fbb31b5]{width:80%}}", Fe = /* @__PURE__ */ z($e, [["styles", [Ae]], ["__scopeId", "data-v-7fbb31b5"]]);
188
- H(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": X, "./locales/en.json": Z, "./locales/es-419.json": ee, "./locales/es.json": te, "./locales/fr-BE.json": ae, "./locales/fr.json": le, "./locales/it.json": oe, "./locales/nl.json": ne })).catch((t) => console.error(t));
189
- const Y = G(Fe, {
187
+ }), Fe = "[data-v-7fbb31b5]{font-family:Nunito,Roboto,sans-serif;color:#253858}p[data-v-7fbb31b5]{padding:0}.container[data-v-7fbb31b5]{display:flex;flex-direction:column;gap:1rem}.container button[data-v-7fbb31b5]{border:0;border-radius:5px;font-size:.9rem;background:#357abd;color:#fff;width:50%;padding:.4rem .8rem;margin:auto;cursor:pointer}.container button[data-v-7fbb31b5]:hover{background:#225d93}.container input[data-v-7fbb31b5]{border:solid 1px lightgrey;border-radius:5px;padding-block:.2rem;width:40%}.container label[data-v-7fbb31b5]{font-weight:700}.container .legals[data-v-7fbb31b5]{font-size:.9rem;font-style:italic}.container .title[data-v-7fbb31b5]{font-size:1.3rem;font-weight:700}@media only screen and (max-width:768px){.container button[data-v-7fbb31b5]{width:100%}.container input[data-v-7fbb31b5]{width:80%}}", Ae = /* @__PURE__ */ z(Be, [["styles", [Fe]], ["__scopeId", "data-v-7fbb31b5"]]);
188
+ Q(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": X, "./locales/en.json": Z, "./locales/es-419.json": ee, "./locales/es.json": te, "./locales/fr-BE.json": ae, "./locales/fr.json": le, "./locales/it.json": oe, "./locales/nl.json": ne })).catch((t) => console.error(t));
189
+ const Y = H(Ae, {
190
190
  configureApp(t) {
191
- x.changeLanguage(document?.documentElement?.lang || navigator.language), t.use(Q, {
192
- i18next: x,
191
+ N.changeLanguage(document?.documentElement?.lang || navigator.language), t.use(G, {
192
+ i18next: N,
193
193
  slotStart: "{{",
194
194
  slotEnd: "}}"
195
195
  });
@@ -1,7 +1,7 @@
1
- import { b, c as s, o as n, n as v, q as V, H as N, t as o, _ as p, U as R, V as w, r as g, g as h, a as t, E as x, F as T, e as Z, k as D, l as O, W as F, K as P, f, B as q, d as W } from "../_plugin-vue_export-helper-D0N_62VD.js";
2
- import { u as H, a as K, i as $, b as G } from "../i18n-ekiZvzf6.js";
1
+ import { b, o as n, c as s, t as v, q as V, E as N, x as o, _ as p, U as w, a as t, F as D, e as R, v as T, C as x, y as Z, W as O, D as F, V as P, r as g, g as h, f, l as q, d as W } from "../_plugin-vue_export-helper-VRfPs3B6.js";
2
+ import { u as G, a as H, i as $, b as K } from "../i18n-C-9bWDxP.js";
3
3
  import { b as J } from "../normalize-props-DH0oPBss.js";
4
- import { R as X } from "../Retry-BZf7NJz9.js";
4
+ import { R as X } from "../Retry-vIN7ZGdK.js";
5
5
  const Y = {}, aa = {}, ea = {}, ta = {}, ca = {}, la = {
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
  }, ia = {}, na = {}, oa = /* @__PURE__ */ b({
@@ -23,7 +23,7 @@ const Y = {}, aa = {}, ea = {}, ta = {}, ca = {}, la = {
23
23
  class: "capacity-calculation__range-label"
24
24
  }, ba = /* @__PURE__ */ b({
25
25
  __name: "Questions.ce",
26
- props: /* @__PURE__ */ R({
26
+ props: /* @__PURE__ */ P({
27
27
  titleLevel: { type: Number }
28
28
  }, {
29
29
  selectedAiQuestion: {
@@ -44,7 +44,7 @@ const Y = {}, aa = {}, ea = {}, ta = {}, ca = {}, la = {
44
44
  }),
45
45
  emits: ["update:selectedAiQuestion", "update:selectedNbUser", "update:currentLevel"],
46
46
  setup(a) {
47
- const l = a, { t: u } = H(), d = l.titleLevel + 1, r = w(a, "selectedAiQuestion"), e = w(a, "selectedNbUser"), c = w(a, "currentLevel"), _ = g(!1), L = h(() => ({
47
+ const l = a, { t: u } = G(), d = l.titleLevel + 1, r = w(a, "selectedAiQuestion"), e = w(a, "selectedNbUser"), c = w(a, "currentLevel"), _ = g(!1), L = h(() => ({
48
48
  state: c.value === "initial" ? "primary" : "warning",
49
49
  label: u(`capacity-calculation.in.buttonLabel.${c.value === "initial" ? "primary" : "warning"}`)
50
50
  })), k = h(() => Number.isInteger(r.value)), U = [800, 8e3, 14e3, 25e3, 9e4, 15e4], A = /* @__PURE__ */ new Set([
@@ -118,7 +118,7 @@ const Y = {}, aa = {}, ea = {}, ta = {}, ca = {}, la = {
118
118
  }, o(i.$t("capacity-calculation.in.title")), 1),
119
119
  t("fieldset", da, [
120
120
  t("legend", _a, o(i.$t("capacity-calculation.in.aiQuestion")), 1),
121
- (n(!0), s(T, null, Z(i.$t("capacity-calculation.in.aiOptions", { returnObjects: !0 }), (z, y) => (n(), s("div", { key: y }, [
121
+ (n(!0), s(D, null, R(i.$t("capacity-calculation.in.aiOptions", { returnObjects: !0 }), (z, y) => (n(), s("div", { key: y }, [
122
122
  t("label", {
123
123
  class: v(["capacity-calculation__ai-option", { "capacity-calculation__ai-option--active": r.value === y, disabled: _.value }])
124
124
  }, [
@@ -142,7 +142,7 @@ const Y = {}, aa = {}, ea = {}, ta = {}, ca = {}, la = {
142
142
  id: "nbUser",
143
143
  name: "nbUser",
144
144
  min: 0,
145
- max: D(C).length - 1,
145
+ max: T(C).length - 1,
146
146
  value: Q.value,
147
147
  onChange: S,
148
148
  onKeydown: j,
@@ -153,14 +153,14 @@ const Y = {}, aa = {}, ea = {}, ta = {}, ca = {}, la = {
153
153
  ])
154
154
  ]),
155
155
  x(sa, {
156
- onClick: O(I, ["prevent"]),
156
+ onClick: Z(I, ["prevent"]),
157
157
  "aria-disabled": !k.value,
158
158
  label: L.value.label,
159
159
  state: L.value.state
160
- }, F({ _: 2 }, [
160
+ }, O({ _: 2 }, [
161
161
  c.value !== "initial" ? {
162
162
  name: "icon",
163
- fn: P(() => [
163
+ fn: F(() => [
164
164
  x(X)
165
165
  ]),
166
166
  key: "0"
@@ -213,7 +213,7 @@ function Qa(a, l) {
213
213
  }, null, -1)
214
214
  ])]);
215
215
  }
216
- const Sa = /* @__PURE__ */ p(Ua, [["render", Qa]]), ja = ["aria-level"], Ia = { class: "capacity-calculation__card" }, Ba = { class: "capacity-calculation__text capacity-calculation__text--strong" }, Ea = { class: "capacity-calculation__img" }, za = ["src"], Va = { class: "capacity-calculation__text" }, Ra = { class: "capacity-calculation__answers" }, Ta = { class: "capacity-calculation__card" }, Za = { class: "capacity-calculation__text capacity-calculation__text--strong" }, Da = { class: "capacity-calculation__text" }, Oa = /* @__PURE__ */ b({
216
+ const Sa = /* @__PURE__ */ p(Ua, [["render", Qa]]), ja = ["aria-level"], Ia = { class: "capacity-calculation__card" }, Ba = { class: "capacity-calculation__text capacity-calculation__text--strong" }, Ea = { class: "capacity-calculation__img" }, za = ["src"], Va = { class: "capacity-calculation__text" }, Da = { class: "capacity-calculation__answers" }, Ra = { class: "capacity-calculation__card" }, Ta = { class: "capacity-calculation__text capacity-calculation__text--strong" }, Za = { class: "capacity-calculation__text" }, Oa = /* @__PURE__ */ b({
217
217
  __name: "Answers.ce",
218
218
  props: {
219
219
  currentLevel: { type: String },
@@ -250,21 +250,21 @@ const Sa = /* @__PURE__ */ p(Ua, [["render", Qa]]), ja = ["aria-level"], Ia = {
250
250
  ]),
251
251
  t("p", Va, o(l.$t(`capacity-calculation.out.capacity.${a.currentLevel}`)), 1)
252
252
  ]),
253
- t("div", Ra, [
254
- t("div", Ta, [
255
- t("p", Za, o(l.$t("capacity-calculation.out.consumption.label")), 1),
253
+ t("div", Da, [
254
+ t("div", Ra, [
255
+ t("p", Ta, o(l.$t("capacity-calculation.out.consumption.label")), 1),
256
256
  t("div", {
257
257
  class: v(["capacity-calculation__progress-bar", a.currentLevel])
258
258
  }, null, 2),
259
- t("p", Da, o(l.$t(`capacity-calculation.out.consumption.${a.currentLevel}`)), 1)
259
+ t("p", Za, o(l.$t(`capacity-calculation.out.consumption.${a.currentLevel}`)), 1)
260
260
  ])
261
261
  ])
262
262
  ], 2));
263
263
  }
264
- }), Fa = ".capacity-calculation__column--answers[data-v-ea19b1c6]{display:flex;gap:.3rem;border:0px}.capacity-calculation__column--answers--normal_weak[data-v-ea19b1c6],.capacity-calculation__column--answers--normal_medium[data-v-ea19b1c6]{background:#eaf1ff}.capacity-calculation__column--answers--warning[data-v-ea19b1c6]{background:#fffaeb}.capacity-calculation__column--answers--error[data-v-ea19b1c6]{background:#fbebea}.capacity-calculation__column--answers .capacity-calculation__answers[data-v-ea19b1c6]{display:flex;flex-direction:column;align-items:stretch;gap:8px;justify-content:center;margin-bottom:1rem}.capacity-calculation__column--answers .capacity-calculation__card[data-v-ea19b1c6]{border-radius:4px;display:flex;flex-direction:column;align-items:center;gap:16px;padding:8px}.capacity-calculation__column--answers .capacity-calculation__text[data-v-ea19b1c6]{font-size:.875rem;font-weight:400;line-height:1.5rem;text-align:center;margin:0}.capacity-calculation__column--answers .capacity-calculation__text--strong[data-v-ea19b1c6]{font-weight:700;margin:0}.capacity-calculation__column--answers img[data-v-ea19b1c6]{max-width:100%}.capacity-calculation__column--answers .capacity-calculation__img[data-v-ea19b1c6]{position:relative}.capacity-calculation__column--answers .capacity-calculation__img img[data-v-ea19b1c6]{width:100px;height:100px;border-radius:24px}.capacity-calculation__column--answers .capacity-calculation__img--status[data-v-ea19b1c6]{position:absolute;top:0;right:0;transform:translate(30%,-30%)}.capacity-calculation__column--answers .capacity-calculation__progress-bar[data-v-ea19b1c6]{width:100%;height:32px;border-radius:24px;border:solid 2px #253858}.capacity-calculation__column--answers .capacity-calculation__progress-bar.normal_weak[data-v-ea19b1c6],.capacity-calculation__column--answers .capacity-calculation__progress-bar.normal_medium[data-v-ea19b1c6]{background:linear-gradient(90deg,#1f53b5 10%,#fff 36%)}.capacity-calculation__column--answers .capacity-calculation__progress-bar.warning[data-v-ea19b1c6]{background:linear-gradient(90deg,#ee6911 30%,#fff 66%)}.capacity-calculation__column--answers .capacity-calculation__progress-bar.error[data-v-ea19b1c6]{background:linear-gradient(90deg,#d24140 51%,#fff 88%)}@media(max-width:720px){.capacity-calculation__column--answers .capacity-calculation__answers[data-v-ea19b1c6]{flex-direction:row;justify-content:center;gap:16px}}", Pa = /* @__PURE__ */ p(Oa, [["styles", [Fa]], ["__scopeId", "data-v-ea19b1c6"]]), Wa = { class: "capacity-calculation" }, Ha = ["aria-level"], Ka = {
264
+ }), Fa = ".capacity-calculation__column--answers[data-v-ea19b1c6]{display:flex;gap:.3rem;border:0px}.capacity-calculation__column--answers--normal_weak[data-v-ea19b1c6],.capacity-calculation__column--answers--normal_medium[data-v-ea19b1c6]{background:#eaf1ff}.capacity-calculation__column--answers--warning[data-v-ea19b1c6]{background:#fffaeb}.capacity-calculation__column--answers--error[data-v-ea19b1c6]{background:#fbebea}.capacity-calculation__column--answers .capacity-calculation__answers[data-v-ea19b1c6]{display:flex;flex-direction:column;align-items:stretch;gap:8px;justify-content:center;margin-bottom:1rem}.capacity-calculation__column--answers .capacity-calculation__card[data-v-ea19b1c6]{border-radius:4px;display:flex;flex-direction:column;align-items:center;gap:16px;padding:8px}.capacity-calculation__column--answers .capacity-calculation__text[data-v-ea19b1c6]{font-size:.875rem;font-weight:400;line-height:1.5rem;text-align:center;margin:0}.capacity-calculation__column--answers .capacity-calculation__text--strong[data-v-ea19b1c6]{font-weight:700;margin:0}.capacity-calculation__column--answers img[data-v-ea19b1c6]{max-width:100%}.capacity-calculation__column--answers .capacity-calculation__img[data-v-ea19b1c6]{position:relative}.capacity-calculation__column--answers .capacity-calculation__img img[data-v-ea19b1c6]{width:100px;height:100px;border-radius:24px}.capacity-calculation__column--answers .capacity-calculation__img--status[data-v-ea19b1c6]{position:absolute;top:0;right:0;transform:translate(30%,-30%)}.capacity-calculation__column--answers .capacity-calculation__progress-bar[data-v-ea19b1c6]{width:100%;height:32px;border-radius:24px;border:solid 2px #253858}.capacity-calculation__column--answers .capacity-calculation__progress-bar.normal_weak[data-v-ea19b1c6],.capacity-calculation__column--answers .capacity-calculation__progress-bar.normal_medium[data-v-ea19b1c6]{background:linear-gradient(90deg,#1f53b5 10%,#fff 36%)}.capacity-calculation__column--answers .capacity-calculation__progress-bar.warning[data-v-ea19b1c6]{background:linear-gradient(90deg,#ee6911 30%,#fff 66%)}.capacity-calculation__column--answers .capacity-calculation__progress-bar.error[data-v-ea19b1c6]{background:linear-gradient(90deg,#d24140 51%,#fff 88%)}@media(max-width:720px){.capacity-calculation__column--answers .capacity-calculation__answers[data-v-ea19b1c6]{flex-direction:row;justify-content:center;gap:16px}}", Pa = /* @__PURE__ */ p(Oa, [["styles", [Fa]], ["__scopeId", "data-v-ea19b1c6"]]), Wa = { class: "capacity-calculation" }, Ga = ["aria-level"], Ha = {
265
265
  class: "capacity-calculation__grid",
266
266
  "aria-live": "polite"
267
- }, Ga = /* @__PURE__ */ b({
267
+ }, Ka = /* @__PURE__ */ b({
268
268
  __name: "CapacityCalculation.ce",
269
269
  props: {
270
270
  titleLevel: { default: 2, type: Number },
@@ -277,8 +277,8 @@ const Sa = /* @__PURE__ */ p(Ua, [["render", Qa]]), ja = ["aria-level"], Ia = {
277
277
  role: "heading",
278
278
  "aria-level": a.titleLevel,
279
279
  class: "capacity-calculation__title"
280
- }, o(r.$t("capacity-calculation.title")), 9, Ha),
281
- t("div", Ka, [
280
+ }, o(r.$t("capacity-calculation.title")), 9, Ga),
281
+ t("div", Ha, [
282
282
  x(wa, {
283
283
  "title-level": a.titleLevel,
284
284
  "selected-ai-question": l.value,
@@ -299,11 +299,11 @@ const Sa = /* @__PURE__ */ p(Ua, [["render", Qa]]), ja = ["aria-level"], Ia = {
299
299
  ])
300
300
  ]));
301
301
  }
302
- }), Ja = ".capacity-calculation__title,.capacity-calculation__subtitle{color:#122647;font-family:Nunito,serif;font-weight:700;text-align:center}.capacity-calculation__title{font-size:1.75rem;line-height:2.25rem;margin-bottom:1rem}.capacity-calculation__subtitle{font-size:1.25rem;line-height:1.75rem;margin-bottom:1rem}.capacity-calculation__grid{display:grid;gap:1rem;grid-template-columns:5fr 2.6fr}.capacity-calculation__grid .initial-state{grid-column:1/span 2}.capacity-calculation__column{display:flex;border-radius:8px;flex-direction:column;padding:16px}@media screen and (max-width:720px){.capacity-calculation__grid{display:flex;flex-direction:column}}", Xa = /* @__PURE__ */ p(Ga, [["styles", [Ja]]]);
303
- K(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": Y, "./locales/en.json": aa, "./locales/es-419.json": ea, "./locales/es.json": ta, "./locales/fr-BE.json": ca, "./locales/fr.json": la, "./locales/it.json": ia, "./locales/nl.json": na })).catch((a) => console.error(a));
302
+ }), Ja = ".capacity-calculation__title,.capacity-calculation__subtitle{color:#122647;font-family:Nunito,serif;font-weight:700;text-align:center}.capacity-calculation__title{font-size:1.75rem;line-height:2.25rem;margin-bottom:1rem}.capacity-calculation__subtitle{font-size:1.25rem;line-height:1.75rem;margin-bottom:1rem}.capacity-calculation__grid{display:grid;gap:1rem;grid-template-columns:5fr 2.6fr}.capacity-calculation__grid .initial-state{grid-column:1/span 2}.capacity-calculation__column{display:flex;border-radius:8px;flex-direction:column;padding:16px}@media screen and (max-width:720px){.capacity-calculation__grid{display:flex;flex-direction:column}}", Xa = /* @__PURE__ */ p(Ka, [["styles", [Ja]]]);
303
+ H(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": Y, "./locales/en.json": aa, "./locales/es-419.json": ea, "./locales/es.json": ta, "./locales/fr-BE.json": ca, "./locales/fr.json": la, "./locales/it.json": ia, "./locales/nl.json": na })).catch((a) => console.error(a));
304
304
  const M = W(Xa, {
305
305
  configureApp(a) {
306
- $.changeLanguage(document?.documentElement?.lang || navigator.language), a.use(G, { i18next: $ });
306
+ $.changeLanguage(document?.documentElement?.lang || navigator.language), a.use(K, { i18next: $ });
307
307
  }
308
308
  });
309
309
  M.prototype.normalizeProps = (a) => ({
@@ -1,14 +1,14 @@
1
- import { b as R, j as E, r as y, y as O, z as W, g as d, c as p, o as v, a as C, A as _, m as j, F as D, e as L, l as V, s as b, B as T, k as U, n as X, C as Y, t as q, _ as G, d as H } from "../_plugin-vue_export-helper-D0N_62VD.js";
2
- import { b as z, a as J } from "../normalize-props-DH0oPBss.js";
3
- const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "aria-label"], m = 10, Z = /* @__PURE__ */ R({
1
+ import { b as B, h as E, k as O, G as W, o as d, c as p, a as C, m as _, F as D, e as L, y as V, z as y, v as j, t as G, l as H, H as T, I as U, x as X, r as b, g as v, _ as Y, d as q } from "../_plugin-vue_export-helper-VRfPs3B6.js";
2
+ import { a as J, b as z } from "../normalize-props-DH0oPBss.js";
3
+ const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "aria-label"], m = 10, Z = /* @__PURE__ */ B({
4
4
  __name: "ClickableImage.ce",
5
5
  props: {
6
6
  image: { type: Object },
7
7
  areas: { type: Array }
8
8
  },
9
9
  setup(a, { expose: i }) {
10
- const l = E("image"), r = y(1), g = new ResizeObserver(() => $());
11
- function $() {
10
+ const l = E("image"), r = b(1), g = new ResizeObserver(() => h());
11
+ function h() {
12
12
  l.value.naturalWidth && (r.value = l.value.offsetWidth / l.value.naturalWidth);
13
13
  }
14
14
  O(() => {
@@ -16,12 +16,12 @@ const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "
16
16
  }), W(() => {
17
17
  g.disconnect();
18
18
  });
19
- const A = a.areas.some(({ spot: e }) => !!e), h = d(() => a.areas.map((e) => ({
19
+ const I = a.areas.some(({ spot: e }) => !!e), $ = v(() => a.areas.map((e) => ({
20
20
  ...e,
21
- coords: I(e.coords),
22
- spot: M(e.spot)
21
+ coords: M(e.coords),
22
+ spot: A(e.spot)
23
23
  })));
24
- function I(e) {
24
+ function M(e) {
25
25
  return {
26
26
  x1: e.x1 * r.value,
27
27
  y1: e.y1 * r.value,
@@ -29,30 +29,30 @@ const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "
29
29
  y2: e.y2 * r.value
30
30
  };
31
31
  }
32
- function M({ x: e = 0, y: t = 0 } = {}) {
32
+ function A({ x: e = 0, y: t = 0 } = {}) {
33
33
  return {
34
34
  x: e * r.value,
35
35
  y: t * r.value
36
36
  };
37
37
  }
38
- const f = y();
38
+ const f = b();
39
39
  function k(e) {
40
40
  f.value = e;
41
41
  }
42
42
  function w() {
43
43
  f.value = void 0;
44
44
  }
45
- const u = y();
45
+ const u = b();
46
46
  function F(e) {
47
47
  u.value = e;
48
48
  }
49
49
  function P() {
50
50
  u.value = void 0;
51
51
  }
52
- const x = d(() => u.value ?? f.value), c = d(() => {
52
+ const x = v(() => u.value ?? f.value), c = v(() => {
53
53
  if (x.value !== void 0)
54
- return h.value[x.value];
55
- }), B = d(() => {
54
+ return $.value[x.value];
55
+ }), N = v(() => {
56
56
  if (!c.value) return {};
57
57
  const { tooltipPosition: e, coords: { x1: t, y1: o, x2: n, y2: s } } = c.value;
58
58
  switch (e) {
@@ -82,19 +82,19 @@ const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "
82
82
  };
83
83
  }
84
84
  });
85
- function N() {
85
+ function R() {
86
86
  u.value = void 0;
87
87
  }
88
- return i({ reset: N }), (e, t) => (v(), p("div", K, [
89
- C("img", j(a.image, {
88
+ return i({ reset: R }), (e, t) => (d(), p("div", K, [
89
+ C("img", _(a.image, {
90
90
  ref: "image",
91
- onLoad: t[0] || (t[0] = (o) => $()),
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(D, null, L(h.value, (o, n) => (v(), p("button", {
95
+ (d(!0), p(D, null, L($.value, (o, n) => (d(), p("button", {
96
96
  key: n,
97
- style: b({
97
+ style: y({
98
98
  "--y1": `${o.coords.y1}px`,
99
99
  "--y2": `${o.coords.y2}px`,
100
100
  "--x1": `${o.coords.x1}px`,
@@ -108,25 +108,25 @@ const K = { class: "container" }, Q = ["onMouseenter", "onFocusin", "onClick", "
108
108
  onClick: V((s) => F(n), ["stop"]),
109
109
  "aria-label": o.info
110
110
  }, [
111
- U(A) ? (v(), p("span", {
111
+ j(I) ? (d(), p("span", {
112
112
  key: 0,
113
- class: X(["spot", { active: x.value === n }]),
114
- style: b({
113
+ class: G(["spot", { active: x.value === n }]),
114
+ style: y({
115
115
  "--s-x": `${o.spot.x}px`,
116
116
  "--s-y": `${o.spot.y}px`
117
117
  })
118
- }, null, 6)) : T("", !0)
118
+ }, null, 6)) : H("", !0)
119
119
  ], 44, Q))), 128)),
120
- _(C("p", {
120
+ T(C("p", {
121
121
  class: "tooltip",
122
122
  "aria-hidden": "true",
123
- style: b(B.value)
124
- }, q(c.value?.info), 5), [
125
- [Y, c.value]
123
+ style: y(N.value)
124
+ }, X(c.value?.info), 5), [
125
+ [U, c.value]
126
126
  ])
127
127
  ]));
128
128
  }
129
- }), ee = "*{font-family:Nunito,Roboto,sans-serif;color:var(#253858)}.container{position:relative;max-width:100%;border:1px solid #ccc}.container img{width:100%;height:auto;display:block}.container .area{cursor:pointer;position:absolute;top:var(--y1);left:var(--x1);height:calc(var(--y2) - var(--y1));width:calc(var(--x2) - var(--x1));border:none;background:transparent}.container .spot{cursor:pointer;position:absolute;width:32px;aspect-ratio:1;border:solid 4px #d9d9d9;background:#d9d9d999;border-radius:50%;top:50%;left:50%;transform:translate(calc(-50% + var(--s-x)),calc(-50% + var(--s-y)))}.container .spot.active{border-color:#6495ed}.container .tooltip{position:absolute;background-color:#000000d9;color:#fff;padding:8px 12px;border-radius:6px;font-size:14px;max-width:260px;z-index:10}", te = /* @__PURE__ */ G(Z, [["styles", [ee]]]), S = H(te);
129
+ }), ee = "*{font-family:Nunito,Roboto,sans-serif;color:var(#253858)}.container{position:relative;max-width:100%;border:1px solid #ccc}.container img{width:100%;height:auto;display:block}.container .area{cursor:pointer;position:absolute;top:var(--y1);left:var(--x1);height:calc(var(--y2) - var(--y1));width:calc(var(--x2) - var(--x1));border:none;background:transparent}.container .spot{cursor:pointer;position:absolute;width:32px;aspect-ratio:1;border:solid 4px #d9d9d9;background:#d9d9d999;border-radius:50%;top:50%;left:50%;transform:translate(calc(-50% + var(--s-x)),calc(-50% + var(--s-y)))}.container .spot.active{border-color:#6495ed}.container .tooltip{position:absolute;background-color:#000000d9;color:#fff;padding:8px 12px;border-radius:6px;font-size:14px;max-width:260px;z-index:10}", te = /* @__PURE__ */ Y(Z, [["styles", [ee]]]), S = q(te);
130
130
  S.prototype.normalizeProps = (a) => ({
131
131
  ...a,
132
132
  image: {
@@ -1,10 +1,10 @@
1
- import { b as h, c as n, o, a, t as c, s as A, _ as f, n as P, q as S, H as N, r as y, g as m, B as z, F as x, e as k, f as v, E as L, d as E } from "../_plugin-vue_export-helper-D0N_62VD.js";
2
- import { u as M, a as O, i as q, b as T } from "../i18n-ekiZvzf6.js";
1
+ import { b as h, o, c as n, a, x as c, z as A, _ as f, t as C, q as S, E as z, F as y, e as x, l as N, r as k, g as m, C as L, f as v, d as E } from "../_plugin-vue_export-helper-VRfPs3B6.js";
2
+ import { u as M, a as O, i as q, b as T } from "../i18n-C-9bWDxP.js";
3
3
  import { b as I } from "../normalize-props-DH0oPBss.js";
4
- import { L as B } from "../LLMMessage.ce-Dv4hVX0C.js";
5
- const R = {}, V = {}, D = {}, F = {}, H = {}, Q = {
4
+ import { L as B } from "../LLMMessage.ce-m7gAgj3M.js";
5
+ const R = {}, V = {}, D = {}, F = {}, Q = {}, W = {
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
- }, W = {}, U = {}, G = { class: "probability-bar" }, J = { "aria-hidden": "true" }, K = { class: "sr-only" }, X = /* @__PURE__ */ h({
7
+ }, H = {}, U = {}, G = { class: "probability-bar" }, J = { "aria-hidden": "true" }, K = { class: "sr-only" }, X = /* @__PURE__ */ h({
8
8
  __name: "ProbabilityBar.ce",
9
9
  props: {
10
10
  name: { type: String },
@@ -33,10 +33,10 @@ const R = {}, V = {}, D = {}, F = {}, H = {}, Q = {
33
33
  },
34
34
  setup(e) {
35
35
  return (d, t) => (o(), n("button", {
36
- class: P(["complete-phrase_button", e.state])
36
+ class: C(["complete-phrase_button", e.state])
37
37
  }, [
38
38
  S(d.$slots, "icon"),
39
- N(" " + c(e.label), 1)
39
+ z(" " + c(e.label), 1)
40
40
  ], 2));
41
41
  }
42
42
  }), te = ".complete-phrase_button.primary{--background-color: #253858;--background-color-hover: #122647;--color: #fff;--color-hover: #fff}.complete-phrase_button.warning{--background-color: #ffcb33;--background-color-hover: #a16206;--color: #122647;--color-hover: #fff}.complete-phrase_button.primary,.complete-phrase_button.warning{align-items:center;background-color:var(--background-color);border:2px solid transparent;border-radius:8px;color:var(--color);cursor:pointer;display:flex;font-family:Roboto,sans-serif;font-size:1rem;font-weight:700;justify-content:center;gap:8px;line-height:24px;margin:0 auto;outline:none;padding:8px 24px;transition:background-color ease .5s,color ease .5s;width:fit-content;white-space:nowrap}:is(.complete-phrase_button.primary,.complete-phrase_button.warning)[aria-disabled=true]{cursor:not-allowed;opacity:.5}:is(.complete-phrase_button.primary,.complete-phrase_button.warning):not([aria-disabled=true]):hover{background-color:var(--background-color-hover);color:var(--color-hover);transition:background-color ease .5s,color ease .5s}:is(.complete-phrase_button.primary,.complete-phrase_button.warning):not([aria-disabled=true]):hover svg{color:var(--color-hover);transition:color ease .5s}", oe = /* @__PURE__ */ f(ee, [["styles", [te]]]), ae = { class: "qcu" }, se = { class: "qcu__list" }, ie = ["id", "onClick", "aria-label", "checked", "disabled"], re = { for: "`choice${index}`" }, ne = {
@@ -50,14 +50,14 @@ const R = {}, V = {}, D = {}, F = {}, H = {}, Q = {
50
50
  },
51
51
  emits: ["answer"],
52
52
  setup(e, { emit: d }) {
53
- const t = d, s = y(null), { t: p } = M(), _ = m(() => s.value.percent === 100 ? p("complete-phrase.feedback.sure") : s.value.percent >= 50 ? p("complete-phrase.feedback.probably", { word: e.list.find((i) => i.percent === 100).name }) : p("complete-phrase.feedback.notSure", { words: e.list.filter((i) => i.percent >= 50).map((i) => i.name) }));
53
+ const t = d, s = k(null), { t: p } = M(), _ = m(() => s.value.percent === 100 ? p("complete-phrase.feedback.sure") : s.value.percent >= 50 ? p("complete-phrase.feedback.probably", { word: e.list.find((i) => i.percent === 100).name }) : p("complete-phrase.feedback.notSure", { words: e.list.filter((i) => i.percent >= 50).map((i) => i.name) }));
54
54
  function g(i) {
55
55
  s.value = i, t("answer", i.name);
56
56
  }
57
57
  return (i, w) => (o(), n("div", ae, [
58
58
  a("p", null, c(e.title), 1),
59
59
  a("section", se, [
60
- (o(!0), n(x, null, k(e.list, (r, l) => (o(), n("div", {
60
+ (o(!0), n(y, null, x(e.list, (r, l) => (o(), n("div", {
61
61
  class: "qcu__list-choice",
62
62
  key: l
63
63
  }, [
@@ -73,7 +73,7 @@ const R = {}, V = {}, D = {}, F = {}, H = {}, Q = {
73
73
  a("label", re, c(r.name), 1)
74
74
  ]))), 128))
75
75
  ]),
76
- s.value ? (o(), n("section", ne, c(_.value), 1)) : z("", !0)
76
+ s.value ? (o(), n("section", ne, c(_.value), 1)) : N("", !0)
77
77
  ]));
78
78
  }
79
79
  }), ce = "[data-v-74566fe6]{font-family:Roboto,sans-serif;color:#122647}.qcu[data-v-74566fe6]{align-items:center;display:flex;flex-direction:column;gap:16px}.qcu p[data-v-74566fe6]{margin:0}.qcu__list[data-v-74566fe6]{display:flex;gap:16px}.qcu__list-choice[data-v-74566fe6]{position:relative}.qcu__list-choice input[data-v-74566fe6]{appearance:none;height:100%;outline:none;position:absolute;width:100%}.qcu__list-choice input:checked+label[data-v-74566fe6]{background-color:#3b82f6;color:#fff}.qcu__list-choice input[data-v-74566fe6]:hover{cursor:pointer}.qcu__list-choice input:hover+label[data-v-74566fe6]{background-color:#3b82f6;color:#fff;transition:background-color .5s ease,color .5s ease}.qcu__list-choice input:disabled+label[data-v-74566fe6],.qcu__list-choice input[data-v-74566fe6]:disabled:hover{cursor:not-allowed}.qcu__list-choice input:disabled:not(:checked)+label[data-v-74566fe6],.qcu__list-choice input:disabled:hover:not(:checked)+label[data-v-74566fe6]{background:#e6f2fe;color:#122647;cursor:not-allowed;opacity:.5;transition:none}.qcu__list-choice label[data-v-74566fe6]{align-items:center;background:#e6f2fe;border-radius:4px;color:inherit;display:flex;font-weight:700;gap:10px;justify-content:center;padding:4px 8px;transition:background-color .5s ease,color .5s ease}.qcu .feedback[data-v-74566fe6]{display:flex;padding:8px 16px;flex-direction:column;align-items:flex-start;gap:16px;align-self:stretch;border-radius:8px;background:#e6f2fe}", de = /* @__PURE__ */ f(le, [["styles", [ce]], ["__scopeId", "data-v-74566fe6"]]), pe = { class: "complete-phrase" }, ue = ["aria-level"], be = { class: "complete-phrase__description" }, me = { class: "complete-phrase__container" }, he = { class: "complete-phrase-container__conversation" }, fe = { class: "complete-phrase-container__probabilities" }, _e = ["id", "aria-hidden"], ge = /* @__PURE__ */ h({
@@ -86,7 +86,7 @@ const R = {}, V = {}, D = {}, F = {}, H = {}, Q = {
86
86
  titleLevel: { type: Number }
87
87
  },
88
88
  setup(e, { expose: d }) {
89
- const t = y(0), s = y(null), p = m(() => t.value === e.listOfProbabilityBarsLists.length - 1), _ = m(() => e.listOfProbabilityBarsLists[e.listOfProbabilityBarsLists.length - 1]), g = m(() => {
89
+ const t = k(0), s = k(null), p = m(() => t.value === e.listOfProbabilityBarsLists.length - 1), _ = m(() => e.listOfProbabilityBarsLists[e.listOfProbabilityBarsLists.length - 1]), g = m(() => {
90
90
  const r = e.wordsToAdd[t.value] ?? s.value ?? e.listOfProbabilityBarsLists[t.value][0].name, l = ["complete-message-word"];
91
91
  return p.value && l.push(`complete-message-word--${s.value ? "visible" : "hidden"}`), `<p>
92
92
  ${e.llmMessage}
@@ -121,13 +121,13 @@ const R = {}, V = {}, D = {}, F = {}, H = {}, Q = {
121
121
  }, null, 8, ["message"])
122
122
  ]),
123
123
  a("div", fe, [
124
- (o(!0), n(x, null, k(e.listOfProbabilityBarsLists, (u, b) => (o(), n("div", {
125
- class: P(["probability", { hidden: b !== t.value }]),
124
+ (o(!0), n(y, null, x(e.listOfProbabilityBarsLists, (u, b) => (o(), n("div", {
125
+ class: C(["probability", { hidden: b !== t.value }]),
126
126
  key: b,
127
127
  id: `currentProbability${b}`,
128
128
  "aria-hidden": b !== t.value
129
129
  }, [
130
- (o(!0), n(x, null, k(u, ($, j) => (o(), v(Z, {
130
+ (o(!0), n(y, null, x(u, ($, j) => (o(), v(Z, {
131
131
  name: $.name,
132
132
  percent: $.percent,
133
133
  key: j
@@ -150,14 +150,14 @@ const R = {}, V = {}, D = {}, F = {}, H = {}, Q = {
150
150
  ]));
151
151
  }
152
152
  }), ve = "*{font-family:Roboto,sans-serif;color:#122647}.complete-phrase__title{font-family:Nunito,sans-serif;font-size:1.75rem;font-weight:700;line-height:36px;text-align:center}.complete-phrase__description{text-align:center;font-size:1rem;font-weight:400;line-height:24px}.complete-phrase__container{display:grid;gap:32px;grid-template-columns:3fr 2fr;margin-bottom:24px}.complete-phrase-container__conversation{background:#fff;border:1px solid #cdd1d9;border-radius:16px;display:flex;flex-direction:column;gap:32px;padding:1rem}.complete-phrase-container__conversation .message{align-items:center}.complete-phrase-container__probabilities{display:grid}.complete-phrase-container__probabilities .probability{display:flex;flex-direction:column;gap:16px;grid-row:1;grid-column:1}.complete-phrase-container__probabilities .probability.hidden{visibility:hidden}.complete-message-word:last-child{border:none;filter:blur(4px);font-weight:600;height:auto;width:auto}.complete-message-word--visible:last-child{color:inherit;filter:none;font-weight:700}.complete-message-word--hidden:last-child{background-color:#f4f5f7;border-radius:4px;border:1px dashed #5e6c84;color:transparent;display:inline-block;filter:none;padding:2px 4px}.complete-message-word:nth-last-child(2){font-weight:600}@media(max-width:600px){.complete-phrase__container{grid-template-columns:1fr}.complete-phrase-container__probabilities .probability.hidden{display:none}}", ye = /* @__PURE__ */ f(ge, [["styles", [ve]]]);
153
- O(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": R, "./locales/en.json": V, "./locales/es-419.json": D, "./locales/es.json": F, "./locales/fr-BE.json": H, "./locales/fr.json": Q, "./locales/it.json": W, "./locales/nl.json": U })).catch((e) => console.error(e));
154
- const C = E(ye, {
153
+ O(/* @__PURE__ */ Object.assign({ "./locales/de-AT.json": R, "./locales/en.json": V, "./locales/es-419.json": D, "./locales/es.json": F, "./locales/fr-BE.json": Q, "./locales/fr.json": W, "./locales/it.json": H, "./locales/nl.json": U })).catch((e) => console.error(e));
154
+ const P = E(ye, {
155
155
  configureApp(e) {
156
156
  q.changeLanguage(document?.documentElement?.lang || navigator.language), e.use(T, { i18next: q });
157
157
  }
158
158
  });
159
- C.prototype.normalizeProps = (e) => ({
159
+ P.prototype.normalizeProps = (e) => ({
160
160
  ...e,
161
161
  titleLevel: I(e.titleLevel)
162
162
  });
163
- window.customElements.define("complete-phrase", C);
163
+ window.customElements.define("complete-phrase", P);