@1024pix/epreuves-components 4.0.1 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/dist/{Button.ce-CTKrSDrC.js → Button.ce-DZ8jDtW5.js} +2 -2
  2. package/dist/{ButtonTooltip.ce-CtHo2Dwx.js → ButtonTooltip.ce-BnJlaEqx.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-l4hAa4eW.js} +16 -14
  4. package/dist/FocusManager.ce-DHXwg6WZ.js +131 -0
  5. package/dist/{LLMMessage.ce-Bdmf0R1g.js → LLMMessage.ce-jLEqjxsl.js} +11 -11
  6. package/dist/{Loading.ce-Bh7-h48F.js → Loading.ce-DDtlSLlu.js} +2 -2
  7. package/dist/{NavigationButton.ce-CA1M8sgV.js → NavigationButton.ce-BnnVUwGr.js} +2 -2
  8. package/dist/PixMailMessage.ce-oCccQFGV.js +261 -0
  9. package/dist/Popin.ce-Co12R3C8.js +75 -0
  10. package/dist/{Retry-BZf7NJz9.js → Retry-C7C78Wpj.js} +2 -2
  11. package/dist/{Stepper.ce-B1yDelzC.js → Stepper.ce-Dttf3Dsf.js} +4 -4
  12. package/dist/{_plugin-vue_export-helper-D0N_62VD.js → _plugin-vue_export-helper-B-lVMTio.js} +1777 -1713
  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 +34 -34
  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 +5 -5
  31. package/dist/components/pix-carousel.ce.js.js +38 -38
  32. package/dist/components/pix-combinaisons.ce.js.js +93 -92
  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 +66 -64
  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 +86 -79
  41. package/dist/components/trouver-mdp-rs.ce.js.js +334 -418
  42. package/dist/{i18n-ekiZvzf6.js → i18n-CsT7k7zW.js} +329 -316
  43. package/dist/{i18n-lite-t2jNOu0C.js → i18n-lite-BIJ2LVs6.js} +19 -12
  44. package/dist/{image-quiz.ce-DqalWHKw.js → image-quiz.ce-BK6-8YF1.js} +9 -9
  45. package/dist/{index-BpqxFmwz.js → index-BaI3Qosp.js} +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/props.examples.js +13 -13
  48. package/dist/schema.js +77 -67
  49. package/dist/shadow-dom-Bouq869n.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,4 +1,4 @@
1
- import { b as n, j as r, c as d, o as i, n as c, q as l, _ as u } from "./_plugin-vue_export-helper-D0N_62VD.js";
1
+ import { b as n, h as r, o as d, c as i, t as c, q as l, _ as u } from "./_plugin-vue_export-helper-B-lVMTio.js";
2
2
  const b = ["aria-disabled"], f = /* @__PURE__ */ n({
3
3
  __name: "Button.ce",
4
4
  props: {
@@ -11,7 +11,7 @@ const b = ["aria-disabled"], f = /* @__PURE__ */ n({
11
11
  }
12
12
  return o({
13
13
  buttonElement: a
14
- }), (t, _) => (i(), d("button", {
14
+ }), (t, _) => (d(), i("button", {
15
15
  ref: "button",
16
16
  onClickCapture: s,
17
17
  "aria-disabled": e.isDisabled,
@@ -1,4 +1,4 @@
1
- import { b as f, r as u, h as v, j as w, c as g, o as m, a as n, n as x, k as s, t as y, m as k, l as z, q as B, _ as $ } from "./_plugin-vue_export-helper-D0N_62VD.js";
1
+ import { b as f, s as u, h as v, o as w, c as g, a as n, t as m, v as s, x, m as y, y as k, q as z, r as B, _ as $ } from "./_plugin-vue_export-helper-B-lVMTio.js";
2
2
  const C = { class: "tooltip-container" }, S = ["id"], T = ["aria-labelledby", "aria-disabled"], Y = /* @__PURE__ */ f({
3
3
  inheritAttrs: !1,
4
4
  __name: "ButtonTooltip.ce",
@@ -9,32 +9,32 @@ const C = { class: "tooltip-container" }, S = ["id"], T = ["aria-labelledby", "a
9
9
  },
10
10
  emits: ["click"],
11
11
  setup(o, { expose: p, emit: d }) {
12
- const i = u(!0), l = v(), c = w("button"), b = d;
12
+ const i = B(!0), l = u(), c = v("button"), b = d;
13
13
  function r(a) {
14
14
  i.value = a;
15
15
  }
16
16
  function h() {
17
17
  o.disabled || b("click");
18
18
  }
19
- return p({ button: c }), (a, t) => (m(), g("div", C, [
19
+ return p({ button: c }), (a, t) => (w(), g("div", C, [
20
20
  n("p", {
21
21
  id: s(l),
22
- class: x(["tooltip", {
22
+ class: m(["tooltip", {
23
23
  "sr-only": i.value || o.disabled,
24
24
  [`${o.tooltipPosition}`]: !0
25
25
  }])
26
- }, y(o.label), 11, S),
27
- n("button", k({ ref: "button" }, a.$attrs, {
26
+ }, x(o.label), 11, S),
27
+ n("button", y({ ref: "button" }, a.$attrs, {
28
28
  onMouseenter: t[0] || (t[0] = (e) => r(!1)),
29
29
  onMouseleave: t[1] || (t[1] = (e) => r(!0)),
30
30
  onFocusin: t[2] || (t[2] = (e) => r(!1)),
31
31
  onFocusout: t[3] || (t[3] = (e) => r(!0)),
32
- onClick: z(h, ["stop"]),
32
+ onClick: k(h, ["stop"]),
33
33
  "aria-labelledby": s(l),
34
34
  "aria-disabled": o.disabled,
35
35
  class: { disabled: o.disabled }
36
36
  }), [
37
- B(a.$slots, "default")
37
+ z(a.$slots, "default")
38
38
  ], 16, T)
39
39
  ]));
40
40
  }
@@ -1,33 +1,35 @@
1
- import { b as o, c as s, o as c, a as n, q as a, H as i, t as d, _ as l } from "./_plugin-vue_export-helper-D0N_62VD.js";
1
+ import { b as s, o as c, c as r, a as n, q as o, E as i, x as d, _ as l } from "./_plugin-vue_export-helper-B-lVMTio.js";
2
2
  const _ = {
3
3
  class: "feedback-container",
4
4
  "aria-live": "polite"
5
- }, p = { class: "feedback-container__title" }, f = { class: "feedback-container__content" }, k = /* @__PURE__ */ o({
5
+ }, p = { class: "feedback-container__title" }, f = { class: "feedback-container__content" }, k = /* @__PURE__ */ s({
6
6
  __name: "Feedback.ce",
7
7
  props: {
8
8
  title: { type: String }
9
9
  },
10
10
  setup(e) {
11
- return (t, r) => (c(), s("div", _, [
11
+ return (t, a) => (c(), r("div", _, [
12
12
  n("p", p, [
13
- a(t.$slots, "icon", { class: "icon" }),
14
- i(" " + d(e.title), 1)
13
+ o(t.$slots, "icon", { class: "icon" }),
14
+ o(t.$slots, "title", {}, () => [
15
+ i(d(e.title), 1)
16
+ ])
15
17
  ]),
16
18
  n("p", f, [
17
- a(t.$slots, "content")
19
+ o(t.$slots, "content")
18
20
  ])
19
21
  ]));
20
22
  }
21
- }), h = ".feedback-container{font-size:.875em;width:100%}.feedback-container .icon{width:16px;height:16px}.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}", w = /* @__PURE__ */ l(k, [["styles", [h]]]), u = {
23
+ }), h = ".feedback-container{font-size:.875em;width:100%}.feedback-container .icon{width:16px;height:16px}.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}", $ = /* @__PURE__ */ l(k, [["styles", [h]]]), u = {
22
24
  viewBox: "0 0 16 16",
23
25
  fill: "none"
24
- }, x = ["stroke"], y = /* @__PURE__ */ o({
26
+ }, x = ["stroke"], w = /* @__PURE__ */ s({
25
27
  __name: "Check.ce",
26
28
  props: {
27
29
  color: { type: String }
28
30
  },
29
31
  setup(e) {
30
- return (t, r) => (c(), s("svg", u, [
32
+ return (t, a) => (c(), r("svg", u, [
31
33
  n("path", {
32
34
  d: `
33
35
  M 3, 8
@@ -44,13 +46,13 @@ const _ = {
44
46
  }), g = {
45
47
  viewBox: "0 0 16 16",
46
48
  fill: "none"
47
- }, b = ["stroke"], $ = /* @__PURE__ */ o({
49
+ }, b = ["stroke"], y = /* @__PURE__ */ s({
48
50
  __name: "Cross.ce",
49
51
  props: {
50
52
  color: { type: String }
51
53
  },
52
54
  setup(e) {
53
- return (t, r) => (c(), s("svg", g, [
55
+ return (t, a) => (c(), r("svg", g, [
54
56
  n("path", {
55
57
  d: `
56
58
  M 4, 4
@@ -67,7 +69,7 @@ const _ = {
67
69
  }
68
70
  });
69
71
  export {
70
- w as F,
71
- y as _,
72
- $ as a
72
+ $ as F,
73
+ w as _,
74
+ y as a
73
75
  };
@@ -0,0 +1,131 @@
1
+ import { u as L } from "./shadow-dom-Bouq869n.js";
2
+ import { _ as P, h as M, j as R, k as H, n as N, o as l, c, l as d, a as j, q, r as F, g as I } from "./_plugin-vue_export-helper-B-lVMTio.js";
3
+ const $ = ".sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}", Y = ["tabindex"], z = ["tabindex"], D = {
4
+ __name: "FocusManager.ce",
5
+ props: {
6
+ isVisible: {
7
+ type: Boolean,
8
+ default: !1
9
+ },
10
+ autoFocus: {
11
+ type: Boolean,
12
+ default: !0
13
+ },
14
+ loop: {
15
+ type: Boolean,
16
+ default: !0
17
+ }
18
+ },
19
+ setup(o) {
20
+ const y = [
21
+ ...["input", "select", "button", "textarea"].map((e) => `${e}:not([disabled])`),
22
+ "a[href]",
23
+ "video[controls]",
24
+ "audio[controls]",
25
+ '[tabindex]:not([tabindex^="-"])',
26
+ '[contenteditable]:not([contenteditable="false"])'
27
+ ].join(",");
28
+ let i = [], s = [];
29
+ const f = F(!1), b = F(), m = M("vueFocusLoopContainer"), a = L(), n = o, h = I(() => n.isVisible ? 0 : -1);
30
+ R(() => n.isVisible, () => {
31
+ v();
32
+ }), H(() => {
33
+ v();
34
+ });
35
+ function v() {
36
+ w(n.isVisible), N(() => {
37
+ const e = n.isVisible;
38
+ T(e && n.autoFocus), B(e);
39
+ });
40
+ }
41
+ function w(e) {
42
+ !e && window.vflPrevFocusedElement ? window.vflPrevFocusedElement.focus() : a instanceof ShadowRoot ? window.vflPrevFocusedElement = a.activeElement : window.vflPrevFocusedElement = document.activeElement;
43
+ }
44
+ function A() {
45
+ i = [], s = [];
46
+ }
47
+ function k() {
48
+ p(a);
49
+ }
50
+ function p(e) {
51
+ let t = !0;
52
+ s.push(e);
53
+ const g = Array.from(e.children);
54
+ return g.length !== 0 && g.forEach((x) => {
55
+ x !== m.value && p(x) || (t = !1);
56
+ }), t && e.getAttribute("aria-hidden") !== "true" && i.push(e), t;
57
+ }
58
+ function B(e) {
59
+ e ? (k(), _()) : (S(), A());
60
+ }
61
+ function _() {
62
+ E("true"), s.filter(u).forEach((e) => {
63
+ e.hasAttribute("tabindex") && e.setAttribute("old-tabindex", e.getAttribute("tabindex")), e.setAttribute("tabindex", "-1");
64
+ });
65
+ }
66
+ function S() {
67
+ E("false"), s.filter(u).forEach((e) => {
68
+ e.hasAttribute("old-tabindex") ? (e.setAttribute("tabindex", e.getAttribute("old-tabindex")), e.removeAttribute("old-tabindex")) : e.removeAttribute("tabindex");
69
+ });
70
+ }
71
+ function u(e) {
72
+ return !(["SCRIPT", "STYLE", "#document-fragment"].includes(e.nodeName) || e.hasAttribute("aria-live"));
73
+ }
74
+ function E(e) {
75
+ i.filter(u).forEach((t) => {
76
+ t.setAttribute("aria-hidden", e);
77
+ });
78
+ }
79
+ function T(e) {
80
+ if (e) {
81
+ const t = r();
82
+ t.length && setTimeout(() => t[0].focus(), 200);
83
+ }
84
+ }
85
+ function r() {
86
+ const e = b.value.querySelectorAll(y);
87
+ return e && e.length ? e : [];
88
+ }
89
+ function V() {
90
+ const e = r();
91
+ if (e.length) {
92
+ const t = f.value ? e.length - 1 : 0;
93
+ f.value = !0, e[t].focus();
94
+ }
95
+ }
96
+ function C() {
97
+ const e = r();
98
+ e.length > 0 && e[0].focus();
99
+ }
100
+ return (e, t) => o.isVisible ? (l(), c("div", {
101
+ key: 0,
102
+ ref_key: "vueFocusLoopContainer",
103
+ ref: m,
104
+ class: "vue-focus-loop"
105
+ }, [
106
+ o.loop ? (l(), c("div", {
107
+ key: 0,
108
+ tabindex: h.value,
109
+ "aria-hidden": "true",
110
+ class: "sr-only",
111
+ onFocus: V
112
+ }, null, 40, Y)) : d("", !0),
113
+ j("div", {
114
+ ref_key: "focusLoop",
115
+ ref: b
116
+ }, [
117
+ q(e.$slots, "default")
118
+ ], 512),
119
+ o.loop ? (l(), c("div", {
120
+ key: 1,
121
+ tabindex: h.value,
122
+ class: "sr-only",
123
+ "aria-hidden": "true",
124
+ onFocus: C
125
+ }, null, 40, z)) : d("", !0)
126
+ ], 512)) : d("", !0);
127
+ }
128
+ }, K = /* @__PURE__ */ P(D, [["styles", [$]]]);
129
+ export {
130
+ K as F
131
+ };
@@ -1,5 +1,5 @@
1
- import { _ as a, c as r, o as s, a as b, b as i, g as n, n as d, f as l, B as o, t as u, E as h } from "./_plugin-vue_export-helper-D0N_62VD.js";
2
- import { L as p } from "./Loading.ce-Bh7-h48F.js";
1
+ import { _ as a, o as s, c as r, a as b, b as i, t as d, f as n, l as o, x as u, C as h, g as l } from "./_plugin-vue_export-helper-B-lVMTio.js";
2
+ import { L as p } from "./Loading.ce-DDtlSLlu.js";
3
3
  const f = {}, C = {
4
4
  height: "1rem",
5
5
  width: "auto",
@@ -50,27 +50,27 @@ const $ = /* @__PURE__ */ a(M, [["render", q]]), z = { class: "avatar" }, B = {
50
50
  key: 1,
51
51
  role: "alert",
52
52
  class: "error"
53
- }, E = {
53
+ }, H = {
54
54
  key: 2,
55
55
  class: "attachment-label"
56
- }, H = /* @__PURE__ */ i({
56
+ }, j = /* @__PURE__ */ i({
57
57
  __name: "LLMMessage.ce",
58
58
  props: {
59
59
  name: { type: String },
60
60
  message: { type: Object }
61
61
  },
62
62
  setup(t) {
63
- const e = t, m = n(() => e.message.direction === "outbound"), g = n(() => {
63
+ const e = t, m = l(() => e.message.direction === "outbound"), g = l(() => {
64
64
  if (e.message.content)
65
65
  return e.name ? `<strong>${e.name}</strong> : ${e.message.content}` : e.message.content;
66
- }), c = n(() => e.message.hasError && e.message.errorMessage?.length > 0);
67
- return (A, V) => (s(), r("div", {
66
+ }), c = l(() => e.message.hasError && e.message.errorMessage?.length > 0);
67
+ return (E, V) => (s(), r("div", {
68
68
  class: d(["message", t.message.direction])
69
69
  }, [
70
70
  b("span", z, [
71
- m.value ? (s(), l(_, { key: 0 })) : (s(), l($, { key: 1 }))
71
+ m.value ? (s(), n(_, { key: 0 })) : (s(), n($, { key: 1 }))
72
72
  ]),
73
- t.message.isLoading && !c.value ? (s(), l(p, {
73
+ t.message.isLoading && !c.value ? (s(), n(p, {
74
74
  key: 0,
75
75
  class: "loader"
76
76
  })) : o("", !0),
@@ -83,14 +83,14 @@ const $ = /* @__PURE__ */ a(M, [["render", q]]), z = { class: "avatar" }, B = {
83
83
  c.value ? (s(), r("div", N, [
84
84
  b("p", null, u(t.message.errorMessage), 1)
85
85
  ])) : o("", !0),
86
- t.message.attachmentName && m.value ? (s(), r("p", E, [
86
+ t.message.attachmentName && m.value ? (s(), r("p", H, [
87
87
  b("span", null, u(t.message.attachmentName), 1),
88
88
  h(y)
89
89
  ])) : o("", !0)
90
90
  ])
91
91
  ], 2));
92
92
  }
93
- }), j = ".message{display:flex;width:90%;gap:12px;align-items:start}.message .avatar{align-items:center;aspect-ratio:1/1;background-color:#1c825d;border-radius:8px;display:flex;justify-content:center;margin-top:2px;padding:4px;width:32px;height:32px}.message .loader{margin-top:14px}.message .bubble .content,.message .bubble .error{--background: #efefef;--focus: #0096bfab;--border: #dbdbdb;box-sizing:border-box;font-size:14px;color:#253858;line-height:20px}.message .bubble .content p,.message .bubble .error p{margin:0;word-wrap:break-word}.message .bubble .content h1,.message .bubble .error h1{font-size:1.8em}.message .bubble .content h2,.message .bubble .error h2{font-size:1.4em}.message .bubble .content h3,.message .bubble .error h3{font-size:1.2em}.message .bubble .content h1,.message .bubble .content h2,.message .bubble .content h3,.message .bubble .content h4,.message .bubble .content h5,.message .bubble .content h6,.message .bubble .error h1,.message .bubble .error h2,.message .bubble .error h3,.message .bubble .error h4,.message .bubble .error h5,.message .bubble .error h6{margin-bottom:12px;color:#000}.message .bubble .content strong,.message .bubble .error strong{color:#000}.message .bubble .content h1,.message .bubble .content h2,.message .bubble .content h3,.message .bubble .content h4,.message .bubble .content h5,.message .bubble .content h6,.message .bubble .content b,.message .bubble .content strong,.message .bubble .content th,.message .bubble .error h1,.message .bubble .error h2,.message .bubble .error h3,.message .bubble .error h4,.message .bubble .error h5,.message .bubble .error h6,.message .bubble .error b,.message .bubble .error strong,.message .bubble .error th{font-weight:600}.message .bubble .content q:before,.message .bubble .error q:before{content:none}.message .bubble .content q:after,.message .bubble .error q:after{content:none}.message .bubble .content blockquote,.message .bubble .error blockquote,.message .bubble .content q,.message .bubble .error q{border-left:4px solid var(--focus);margin:1.5em 0;padding:.5em 1em;font-style:italic}.message .bubble .content blockquote>footer,.message .bubble .error blockquote>footer{font-style:normal;border:0}.message .bubble .content blockquote cite,.message .bubble .error blockquote cite{font-style:normal}.message .bubble .content mark,.message .bubble .error mark{background-color:#ff0;border-radius:2px;padding:0 2px;color:#000}.message .bubble .content code,.message .bubble .error code{background:var(--background);color:#000;padding:2.5px 5px;border-radius:6px;font-size:1em}.message .bubble .content hr,.message .bubble .error hr{border:none;border-top:1px solid var(--border)}.message .bubble .content table,.message .bubble .error table{border-collapse:collapse;margin-bottom:10px;width:100%;table-layout:fixed;border:1px solid #dbdbdb;border-radius:8px}.message .bubble .content table caption,.message .bubble .error table caption{text-align:left}.message .bubble .content td,.message .bubble .content th,.message .bubble .error td,.message .bubble .error th{padding:6px;text-align:left;vertical-align:top;word-wrap:break-word;border-right:1px solid var(--border)}.message .bubble .content thead,.message .bubble .error thead{border-bottom:1px solid var(--border)}.message .bubble .content tfoot,.message .bubble .error tfoot{border-top:1px solid var(--border)}.message .bubble .content tbody tr:nth-child(2n),.message .bubble .error tbody tr:nth-child(2n){background-color:#efefef}.message .bubble .content tbody tr:nth-child(2n) button,.message .bubble .error tbody tr:nth-child(2n) button{background-color:#f7f7f7}.message .bubble .content tbody tr:nth-child(2n) button:hover,.message .bubble .error tbody tr:nth-child(2n) button:hover{background-color:#fff}.message .bubble .content details,.message .bubble .error details{display:flex;flex-direction:column;align-items:flex-start;background-color:#f7f7f7;padding:10px 10px 0;margin:1em 0;border-radius:6px;overflow:hidden}.message .bubble .content details[open],.message .bubble .error details[open]{padding:10px}.message .bubble .content details>:last-child,.message .bubble .error details>:last-child{margin-bottom:0}.message .bubble .content details[open] summary,.message .bubble .error details[open] summary{margin-bottom:10px}.message .bubble .content summary,.message .bubble .error summary{display:list-item;background-color:#efefef;padding:10px;margin:-10px -10px 0;cursor:pointer;outline:none}.message .bubble .content summary:hover,.message .bubble .content summary:focus,.message .bubble .error summary:hover,.message .bubble .error summary:focus{text-decoration:underline}.message .bubble .content details>:not(summary),.message .bubble .error details>:not(summary){margin-top:0}.message .bubble .content summary::-webkit-details-marker,.message .bubble .error summary::-webkit-details-marker{color:#363636}.message .bubble .content ul,.message .bubble .error ul{list-style-type:disc;list-style-position:inside}.message .bubble .content ol,.message .bubble .error ol{list-style-type:decimal}.message .bubble .attachment-label{display:flex;align-items:center;gap:.5rem;font-size:.8rem;font-style:italic;justify-content:end;margin:1rem}.message .bubble .error{color:#952e2e;font-style:italic;font-weight:700}.message.outbound{align-self:end;flex-direction:row-reverse}.message.outbound .avatar{background-color:#957ee8}.message.outbound .bubble{background:#cec3f4;border-radius:16px;padding:8px 16px}", U = /* @__PURE__ */ a(H, [["styles", [j]]]);
93
+ }), A = ".message{display:flex;width:90%;gap:12px;align-items:start}.message .avatar{align-items:center;aspect-ratio:1/1;background-color:#1c825d;border-radius:8px;display:flex;justify-content:center;margin-top:2px;padding:4px;width:32px;height:32px}.message .loader{margin-top:14px}.message .bubble .content,.message .bubble .error{--background: #efefef;--focus: #0096bfab;--border: #dbdbdb;box-sizing:border-box;font-size:14px;color:#253858;line-height:20px}.message .bubble .content p,.message .bubble .error p{margin:0;word-wrap:break-word}.message .bubble .content h1,.message .bubble .error h1{font-size:1.8em}.message .bubble .content h2,.message .bubble .error h2{font-size:1.4em}.message .bubble .content h3,.message .bubble .error h3{font-size:1.2em}.message .bubble .content h1,.message .bubble .content h2,.message .bubble .content h3,.message .bubble .content h4,.message .bubble .content h5,.message .bubble .content h6,.message .bubble .error h1,.message .bubble .error h2,.message .bubble .error h3,.message .bubble .error h4,.message .bubble .error h5,.message .bubble .error h6{margin-bottom:12px;color:#000}.message .bubble .content strong,.message .bubble .error strong{color:#000}.message .bubble .content h1,.message .bubble .content h2,.message .bubble .content h3,.message .bubble .content h4,.message .bubble .content h5,.message .bubble .content h6,.message .bubble .content b,.message .bubble .content strong,.message .bubble .content th,.message .bubble .error h1,.message .bubble .error h2,.message .bubble .error h3,.message .bubble .error h4,.message .bubble .error h5,.message .bubble .error h6,.message .bubble .error b,.message .bubble .error strong,.message .bubble .error th{font-weight:600}.message .bubble .content q:before,.message .bubble .error q:before{content:none}.message .bubble .content q:after,.message .bubble .error q:after{content:none}.message .bubble .content blockquote,.message .bubble .error blockquote,.message .bubble .content q,.message .bubble .error q{border-left:4px solid var(--focus);margin:1.5em 0;padding:.5em 1em;font-style:italic}.message .bubble .content blockquote>footer,.message .bubble .error blockquote>footer{font-style:normal;border:0}.message .bubble .content blockquote cite,.message .bubble .error blockquote cite{font-style:normal}.message .bubble .content mark,.message .bubble .error mark{background-color:#ff0;border-radius:2px;padding:0 2px;color:#000}.message .bubble .content code,.message .bubble .error code{background:var(--background);color:#000;padding:2.5px 5px;border-radius:6px;font-size:1em}.message .bubble .content hr,.message .bubble .error hr{border:none;border-top:1px solid var(--border)}.message .bubble .content table,.message .bubble .error table{border-collapse:collapse;margin-bottom:10px;width:100%;table-layout:fixed;border:1px solid #dbdbdb;border-radius:8px}.message .bubble .content table caption,.message .bubble .error table caption{text-align:left}.message .bubble .content td,.message .bubble .content th,.message .bubble .error td,.message .bubble .error th{padding:6px;text-align:left;vertical-align:top;word-wrap:break-word;border-right:1px solid var(--border)}.message .bubble .content thead,.message .bubble .error thead{border-bottom:1px solid var(--border)}.message .bubble .content tfoot,.message .bubble .error tfoot{border-top:1px solid var(--border)}.message .bubble .content tbody tr:nth-child(2n),.message .bubble .error tbody tr:nth-child(2n){background-color:#efefef}.message .bubble .content tbody tr:nth-child(2n) button,.message .bubble .error tbody tr:nth-child(2n) button{background-color:#f7f7f7}.message .bubble .content tbody tr:nth-child(2n) button:hover,.message .bubble .error tbody tr:nth-child(2n) button:hover{background-color:#fff}.message .bubble .content details,.message .bubble .error details{display:flex;flex-direction:column;align-items:flex-start;background-color:#f7f7f7;padding:10px 10px 0;margin:1em 0;border-radius:6px;overflow:hidden}.message .bubble .content details[open],.message .bubble .error details[open]{padding:10px}.message .bubble .content details>:last-child,.message .bubble .error details>:last-child{margin-bottom:0}.message .bubble .content details[open] summary,.message .bubble .error details[open] summary{margin-bottom:10px}.message .bubble .content summary,.message .bubble .error summary{display:list-item;background-color:#efefef;padding:10px;margin:-10px -10px 0;cursor:pointer;outline:none}.message .bubble .content summary:hover,.message .bubble .content summary:focus,.message .bubble .error summary:hover,.message .bubble .error summary:focus{text-decoration:underline}.message .bubble .content details>:not(summary),.message .bubble .error details>:not(summary){margin-top:0}.message .bubble .content summary::-webkit-details-marker,.message .bubble .error summary::-webkit-details-marker{color:#363636}.message .bubble .content ul,.message .bubble .error ul{list-style-type:disc;list-style-position:inside}.message .bubble .content ol,.message .bubble .error ol{list-style-type:decimal}.message .bubble .attachment-label{display:flex;align-items:center;gap:.5rem;font-size:.8rem;font-style:italic;justify-content:end;margin:1rem}.message .bubble .error{color:#952e2e;font-style:italic;font-weight:700}.message.outbound{align-self:end;flex-direction:row-reverse}.message.outbound .avatar{background-color:#957ee8}.message.outbound .bubble{background:#cec3f4;border-radius:16px;padding:8px 16px}", U = /* @__PURE__ */ a(j, [["styles", [A]]]);
94
94
  export {
95
95
  U as L
96
96
  };
@@ -1,10 +1,10 @@
1
- import { _ as o, c as a, o as r, a as s } from "./_plugin-vue_export-helper-D0N_62VD.js";
1
+ import { _ as o, o as a, c as r, a as s } from "./_plugin-vue_export-helper-B-lVMTio.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"
5
5
  };
6
6
  function i(p, e) {
7
- return r(), a("div", d, [...e[0] || (e[0] = [
7
+ return a(), r("div", d, [...e[0] || (e[0] = [
8
8
  s("p", { class: "sr-only" }, " Chargement... ", -1)
9
9
  ])]);
10
10
  }
@@ -1,5 +1,5 @@
1
- import { B as a } from "./ButtonTooltip.ce-CtHo2Dwx.js";
2
- import { _ as o, c as l, o as i, a as s, b as c, f as n, K as d } from "./_plugin-vue_export-helper-D0N_62VD.js";
1
+ import { B as a } from "./ButtonTooltip.ce-BnJlaEqx.js";
2
+ import { _ as o, o as i, c as l, a as s, b as c, f as n, D as d } from "./_plugin-vue_export-helper-B-lVMTio.js";
3
3
  const C = {}, p = {
4
4
  xmlns: "http://www.w3.org/2000/svg",
5
5
  width: "16",
@@ -0,0 +1,261 @@
1
+ import { u as B, i as A } from "./i18n-lite-BIJ2LVs6.js";
2
+ import { r as D } from "./temporal.utils-DgmGPVba.js";
3
+ import { p as T } from "./shadow-dom-Bouq869n.js";
4
+ import { b as k, k as _, G as j, o, c as n, a as e, y, q as z, C as M, D as L, F as S, e as I, N, x as d, r as V, _ as $, h as Z, B as E, v as p, l as m, f as q, E as F, g as C } from "./_plugin-vue_export-helper-B-lVMTio.js";
5
+ import { F as P } from "./FocusManager.ce-DHXwg6WZ.js";
6
+ const R = "data:image/svg+xml,%3csvg%20width='10'%20height='2'%20viewBox='0%200%2010%202'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='1'%20cy='1'%20r='1'%20fill='%23122647'/%3e%3ccircle%20cx='5'%20cy='1'%20r='1'%20fill='%23122647'/%3e%3ccircle%20cx='9'%20cy='1'%20r='1'%20fill='%23122647'/%3e%3c/svg%3e", U = "data:image/svg+xml,%3csvg%20width='18'%20height='16'%20viewBox='0%200%2018%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M0.75%206.28086H11.95C18.35%206.28086%2018.35%2014.9722%2011.95%2014.9722M0.75%206.28086L6.35%200.75M0.75%206.28086L6.35%2011.8117'%20stroke='%23122647'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", O = "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='M7.42885%202.85715L10.8574%206.28572L7.42885%209.71429'%20stroke='%23122647'%20stroke-width='1.14286'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M0.571569%2013.1429V10.8571C0.571569%209.64473%201.0532%208.48197%201.91051%207.62466C2.76782%206.76735%203.93058%206.28572%205.143%206.28572H10.8573M12.0001%202.85715L15.4287%206.28572L12.0001%209.71429'%20stroke='%23122647'%20stroke-width='1.14286'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", G = "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", K = "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='M3.5%207.5H13.5C13.6326%207.5%2013.7598%207.55268%2013.8536%207.64645C13.9473%207.74021%2014%207.86739%2014%208C14%208.13261%2013.9473%208.25979%2013.8536%208.35355C13.7598%208.44732%2013.6326%208.5%2013.5%208.5H3.5C3.36739%208.5%203.24021%208.44732%203.14645%208.35355C3.05268%208.25979%203%208.13261%203%208C3%207.86739%203.05268%207.74021%203.14645%207.64645C3.24021%207.55268%203.36739%207.5%203.5%207.5Z'%20fill='black'/%3e%3cpath%20d='M3.70704%208.00002L7.85404%2012.146C7.94793%2012.2399%208.00067%2012.3672%208.00067%2012.5C8.00067%2012.6328%207.94793%2012.7601%207.85404%2012.854C7.76015%2012.9479%207.63281%2013.0007%207.50004%2013.0007C7.36726%2013.0007%207.23993%2012.9479%207.14604%2012.854L2.64604%208.35402C2.59948%208.30758%202.56253%208.2524%202.53733%208.19165C2.51212%208.13091%202.49915%208.06579%202.49915%208.00002C2.49915%207.93425%202.51212%207.86913%202.53733%207.80839C2.56253%207.74764%202.59948%207.69247%202.64604%207.64602L7.14604%203.14602C7.23993%203.05213%207.36726%202.99939%207.50004%202.99939C7.63281%202.99939%207.76015%203.05213%207.85404%203.14602C7.94793%203.23991%208.00067%203.36725%208.00067%203.50002C8.00067%203.6328%207.94793%203.76013%207.85404%203.85402L3.70704%208.00002Z'%20fill='black'/%3e%3c/svg%3e", X = { class: "popup-menu" }, J = ["aria-expanded", "aria-disabled"], Q = { class: "popup-menu__list" }, W = ["aria-disabled", "onClick"], Y = /* @__PURE__ */ k({
7
+ __name: "PopupMenu.ce",
8
+ props: {
9
+ actions: { type: Array },
10
+ disabled: { type: Boolean }
11
+ },
12
+ emits: ["select"],
13
+ setup(a, { emit: f }) {
14
+ const r = f, l = V(!1);
15
+ function h() {
16
+ a.disabled || (l.value = !l.value);
17
+ }
18
+ function v() {
19
+ l.value = !1;
20
+ }
21
+ function x(c, g) {
22
+ g || (v(), r("select", c));
23
+ }
24
+ function u() {
25
+ v();
26
+ }
27
+ return _(() => {
28
+ document.addEventListener("click", u);
29
+ }), j(() => {
30
+ document.removeEventListener("click", u);
31
+ }), (c, g) => (o(), n("div", X, [
32
+ e("button", {
33
+ class: "popup-menu__button",
34
+ "aria-expanded": l.value,
35
+ "aria-haspopup": "menu",
36
+ "aria-disabled": !!a.disabled,
37
+ onClick: y(h, ["stop"])
38
+ }, [
39
+ z(c.$slots, "default", {}, void 0, !0)
40
+ ], 8, J),
41
+ M(P, { "is-visible": l.value }, {
42
+ default: L(() => [
43
+ e("ul", Q, [
44
+ (o(!0), n(S, null, I(a.actions, (s) => (o(), n("li", {
45
+ class: "list-item",
46
+ key: s.name
47
+ }, [
48
+ e("button", {
49
+ class: "list-item__button",
50
+ "aria-disabled": s.disabled,
51
+ onClick: y((w) => x(s.name, s.disabled), ["stop"]),
52
+ onKeyup: N(v, ["esc"])
53
+ }, d(s.label), 41, W)
54
+ ]))), 128))
55
+ ])
56
+ ]),
57
+ _: 1
58
+ }, 8, ["is-visible"])
59
+ ]));
60
+ }
61
+ }), aa = ".popup-menu[data-v-af96d1f1]{position:relative}.popup-menu__button[data-v-af96d1f1]{display:flex;align-items:center;cursor:pointer;height:100%;padding:4px 8px;border:1px solid #cdd1d9;background:#fff;border-radius:8px}.popup-menu__button[aria-disabled=true][data-v-af96d1f1]{cursor:not-allowed;background:#eae9e9}.popup-menu__button[aria-disabled=false][data-v-af96d1f1]:hover{background-color:#cdd1d9}.popup-menu__list[data-v-af96d1f1]{position:absolute;top:calc(100% + 8px);right:0;padding:0;margin:0;border-radius:8px;border:1px solid #cdd1d9}.popup-menu .list-item[data-v-af96d1f1]{list-style-type:none}.popup-menu .list-item:first-child .list-item__button[data-v-af96d1f1]{border-radius:8px 8px 0 0;padding-top:8px}.popup-menu .list-item:last-child .list-item__button[data-v-af96d1f1]{border-radius:0 0 8px 8px;padding-bottom:8px}.popup-menu .list-item__button[data-v-af96d1f1]{display:block;padding:4px 8px;color:#122647;width:100%;border:none;background-color:#fff;cursor:pointer;text-wrap:nowrap;text-align:left;font-family:Roboto,sans-serif;font-size:.875rem}.popup-menu .list-item__button[aria-disabled=true][data-v-af96d1f1]{cursor:not-allowed;background:#eae9e9}.popup-menu .list-item__button[aria-disabled=false][data-v-af96d1f1]:hover{background-color:#cdd1d9}", ea = /* @__PURE__ */ $(Y, [["styles", [aa]], ["__scopeId", "data-v-af96d1f1"]]), ta = {
62
+ width: "41",
63
+ height: "41",
64
+ viewBox: "0 0 41 41",
65
+ xmlns: "http://www.w3.org/2000/svg"
66
+ }, ia = ["fill"], da = {
67
+ __name: "UserSVG.ce",
68
+ props: {
69
+ color: {
70
+ type: String,
71
+ default: "#2F80ED"
72
+ }
73
+ },
74
+ setup(a) {
75
+ return (f, r) => (o(), n("svg", ta, [
76
+ r[0] || (r[0] = e("path", {
77
+ d: "M9 33.5484C9.02496 31.6445 9.79268 29.8271 11.1371 28.4893C12.4815 27.1515 14.2944 26.4009 16.1837 26.3999H24.8163C26.7056 26.4009 28.5185 27.1515 29.8629 28.4893C31.2073 29.8271 31.975 31.6445 32 33.5484C28.8446 36.4141 24.7476 38 20.5 38C16.2524 38 12.1554 36.4141 9 33.5484ZM26.9744 15.525C26.9744 16.8155 26.5947 18.077 25.8833 19.1501C25.1719 20.2231 24.1607 21.0594 22.9776 21.5533C21.7946 22.0471 20.4928 22.1763 19.2369 21.9246C17.981 21.6728 16.8274 21.0514 15.9219 20.1388C15.0164 19.2263 14.3998 18.0637 14.15 16.7979C13.9002 15.5322 14.0284 14.2203 14.5184 13.028C15.0085 11.8357 15.8383 10.8166 16.903 10.0997C17.9677 9.38268 19.2195 9 20.5 9C22.2171 9 23.8639 9.68745 25.0781 10.9111C26.2923 12.1348 26.9744 13.7944 26.9744 15.525Z",
78
+ fill: "white"
79
+ }, null, -1)),
80
+ e("path", {
81
+ d: "M36.2655 33.5758C38.3699 31.0459 39.8335 28.0469 40.5326 24.8323C41.2316 21.6177 41.1455 18.2822 40.2815 15.1079C39.4175 11.9336 37.8011 9.0139 35.569 6.59581C33.3368 4.17772 30.5547 2.33238 27.4578 1.21587C24.3609 0.0993725 21.0405 -0.255438 17.7774 0.181459C14.5142 0.618355 11.4044 1.83411 8.71099 3.72586C6.01756 5.61762 3.81975 8.12973 2.30349 11.0497C0.787232 13.9696 -0.00287585 17.2115 7.86538e-06 20.5011C0.00111445 25.2832 1.6877 29.9122 4.7638 33.5758L4.7345 33.6007C4.83707 33.7237 4.9543 33.8291 5.0598 33.9506C5.19168 34.1014 5.33382 34.2435 5.47009 34.3899C5.88039 34.835 6.3024 35.2625 6.74493 35.6637C6.87974 35.7866 7.01895 35.9008 7.15522 36.018C7.62413 36.4221 8.10623 36.8057 8.6059 37.1629C8.67038 37.2068 8.72899 37.264 8.79347 37.3093V37.2918C12.2254 39.7049 16.3196 41 20.5161 41C24.7127 41 28.8068 39.7049 32.2388 37.2918V37.3093C32.3033 37.264 32.3604 37.2068 32.4263 37.1629C32.9246 36.8042 33.4081 36.4221 33.877 36.018C34.0133 35.9008 34.1525 35.7852 34.2873 35.6637C34.7298 35.261 35.1519 34.835 35.5622 34.3899C35.6984 34.2435 35.8391 34.1014 35.9725 33.9506C36.0765 33.8291 36.1952 33.7237 36.2978 33.5992L36.2655 33.5758ZM20.5147 8.78808C21.8188 8.78808 23.0937 9.1745 24.1781 9.89846C25.2625 10.6224 26.1076 11.6514 26.6067 12.8553C27.1058 14.0592 27.2364 15.384 26.982 16.662C26.7275 17.9401 26.0995 19.1141 25.1773 20.0355C24.2551 20.9569 23.0802 21.5844 21.8011 21.8387C20.522 22.0929 19.1961 21.9624 17.9912 21.4637C16.7864 20.9651 15.7565 20.1206 15.032 19.0371C14.3074 17.9536 13.9207 16.6798 13.9207 15.3767C13.9207 13.6293 14.6154 11.9534 15.852 10.7178C17.0886 9.48224 18.7658 8.78808 20.5147 8.78808ZM8.80226 33.5758C8.82768 31.6534 9.60958 29.8182 10.9788 28.4674C12.348 27.1165 14.1945 26.3586 16.1187 26.3576H24.9107C26.8349 26.3586 28.6813 27.1165 30.0505 28.4674C31.4197 29.8182 32.2016 31.6534 32.2271 33.5758C29.0134 36.4694 24.8407 38.0708 20.5147 38.0708C16.1886 38.0708 12.016 36.4694 8.80226 33.5758Z",
82
+ fill: a.color
83
+ }, null, 8, ia)
84
+ ]));
85
+ }
86
+ }, oa = { class: "container" }, sa = { class: "nav" }, na = ["aria-disabled"], la = ["src"], ra = { class: "sr-only" }, ca = ["aria-disabled"], ba = ["src"], va = { class: "sr-only-mobile" }, ua = ["aria-disabled"], pa = ["src"], ma = { class: "sr-only-mobile" }, fa = ["src"], ga = { class: "sr-only" }, ha = { class: "header" }, xa = ["aria-level"], Ca = { class: "date" }, wa = { class: "expeditor" }, ya = ["aria-level"], ka = { class: "expeditor-mail" }, _a = { class: "recipient" }, Ma = ["aria-label"], La = ["src"], $a = ["innerHTML"], Ha = {
87
+ key: 0,
88
+ class: "previous-message"
89
+ }, Ba = { class: "previous-message__header" }, Aa = ["innerHTML"], Da = /* @__PURE__ */ k({
90
+ __name: "PixMailMessage.ce",
91
+ props: {
92
+ titleLevel: { default: 2, type: Number },
93
+ actions: { type: Object },
94
+ mail: { type: Object }
95
+ },
96
+ emits: ["action"],
97
+ setup(a, { emit: f }) {
98
+ const r = f;
99
+ T();
100
+ const { t: l } = B(), h = Z("content"), v = [
101
+ "reply",
102
+ "forward",
103
+ "delete",
104
+ "blockSender",
105
+ "markAsUnread",
106
+ "reportSpam"
107
+ ], x = C(
108
+ () => v.filter((t) => (a.actions?.menuActions?.[t] ?? a.actions?.[t]) !== "hidden").map((t) => ({
109
+ name: t,
110
+ label: l(`pix-mail-message.actions.${t}`),
111
+ disabled: (a.actions?.menuActions?.[t] ?? a.actions?.[t]) === "disabled"
112
+ }))
113
+ );
114
+ function u() {
115
+ h.value.querySelectorAll("a").forEach((i) => {
116
+ i.addEventListener("click", (b) => {
117
+ b.preventDefault();
118
+ });
119
+ });
120
+ }
121
+ _(() => {
122
+ u();
123
+ }), E(() => {
124
+ u();
125
+ });
126
+ function c(t) {
127
+ a.actions?.[t] !== "disabled" && r("action", t);
128
+ }
129
+ function g(t) {
130
+ (a.actions?.menuActions?.[t] ?? a.actions?.[t]) !== "disabled" && r("action", t);
131
+ }
132
+ function s(t, i) {
133
+ const b = D(t);
134
+ return new Intl.DateTimeFormat(A.language, i).format(b);
135
+ }
136
+ const w = C(() => s(a.mail.time, {
137
+ weekday: "short",
138
+ day: "numeric",
139
+ month: "numeric",
140
+ year: "2-digit",
141
+ hour: "2-digit",
142
+ minute: "2-digit"
143
+ })), H = C(() => {
144
+ const t = s(a.mail.previousMail.time, {
145
+ weekday: "short",
146
+ day: "numeric",
147
+ month: "numeric",
148
+ year: "2-digit"
149
+ }), i = s(a.mail.previousMail.time, {
150
+ hour: "2-digit",
151
+ minute: "2-digit"
152
+ });
153
+ return l("pix-mail-message.previousHeader", {
154
+ name: a.mail.previousMail.sender.name,
155
+ time: i,
156
+ date: t
157
+ });
158
+ });
159
+ return (t, i) => (o(), n("div", oa, [
160
+ e("div", sa, [
161
+ a.actions?.return !== "hidden" ? (o(), n("button", {
162
+ key: 0,
163
+ "aria-disabled": a.actions?.return === "disabled",
164
+ class: "back-button",
165
+ onClick: i[0] || (i[0] = (b) => c("return"))
166
+ }, [
167
+ e("img", {
168
+ src: p(K),
169
+ alt: ""
170
+ }, null, 8, la),
171
+ e("span", ra, d(t.$t("pix-mail-message.actions.return")), 1)
172
+ ], 8, na)) : m("", !0),
173
+ i[3] || (i[3] = e("div", { class: "nav__spacer" }, null, -1)),
174
+ a.actions?.reply !== "hidden" ? (o(), n("button", {
175
+ key: 1,
176
+ "aria-disabled": a.actions?.reply === "disabled",
177
+ onClick: i[1] || (i[1] = (b) => c("reply"))
178
+ }, [
179
+ e("img", {
180
+ src: p(U),
181
+ alt: ""
182
+ }, null, 8, ba),
183
+ e("span", va, d(t.$t("pix-mail-message.actions.reply")), 1)
184
+ ], 8, ca)) : m("", !0),
185
+ a.actions?.forward !== "hidden" ? (o(), n("button", {
186
+ key: 2,
187
+ "aria-disabled": a.actions?.forward === "disabled",
188
+ onClick: i[2] || (i[2] = (b) => c("forward"))
189
+ }, [
190
+ e("img", {
191
+ src: p(O),
192
+ alt: "",
193
+ class: "flip"
194
+ }, null, 8, pa),
195
+ e("span", ma, d(t.$t("pix-mail-message.actions.forward")), 1)
196
+ ], 8, ua)) : m("", !0),
197
+ a.actions?.menu !== "hidden" ? (o(), q(ea, {
198
+ key: 3,
199
+ actions: x.value,
200
+ disabled: a.actions?.menu === "disabled",
201
+ onSelect: g
202
+ }, {
203
+ default: L(() => [
204
+ e("img", {
205
+ src: p(R),
206
+ alt: ""
207
+ }, null, 8, fa),
208
+ e("span", ga, d(t.$t("pix-mail-message.actions.menu")), 1)
209
+ ]),
210
+ _: 1
211
+ }, 8, ["actions", "disabled"])) : m("", !0)
212
+ ]),
213
+ e("div", ha, [
214
+ e("div", {
215
+ "aria-level": a.titleLevel,
216
+ role: "heading"
217
+ }, d(a.mail.subject), 9, xa),
218
+ e("p", Ca, d(w.value), 1)
219
+ ]),
220
+ e("div", wa, [
221
+ M(da, {
222
+ color: a.mail.sender.avatarColor,
223
+ class: "avatar"
224
+ }, null, 8, ["color"]),
225
+ e("div", {
226
+ "aria-level": a.titleLevel + 1,
227
+ role: "heading"
228
+ }, [
229
+ F(d(a.mail.sender.name) + " ", 1),
230
+ e("span", ka, " <" + d(a.mail.sender.address) + ">", 1)
231
+ ], 8, ya),
232
+ e("div", _a, [
233
+ e("p", null, d(t.$t("pix-mail-message.toMe")), 1),
234
+ e("button", {
235
+ "aria-label": t.$t("pix-mail-message.details"),
236
+ "aria-disabled": "true"
237
+ }, [
238
+ e("img", {
239
+ src: p(G),
240
+ alt: ""
241
+ }, null, 8, La)
242
+ ], 8, Ma)
243
+ ])
244
+ ]),
245
+ e("p", {
246
+ ref: "content",
247
+ class: "content",
248
+ innerHTML: a.mail.body
249
+ }, null, 8, $a),
250
+ a.mail.previousMail ? (o(), n("div", Ha, [
251
+ e("p", Ba, d(H.value), 1),
252
+ e("blockquote", {
253
+ innerHTML: a.mail.previousMail.body
254
+ }, null, 8, Aa)
255
+ ])) : m("", !0)
256
+ ]));
257
+ }
258
+ }), Ta = "html[data-v-a303ea8b],body[data-v-a303ea8b],div[data-v-a303ea8b],span[data-v-a303ea8b],applet[data-v-a303ea8b],object[data-v-a303ea8b],iframe[data-v-a303ea8b],h1[data-v-a303ea8b],h2[data-v-a303ea8b],h3[data-v-a303ea8b],h4[data-v-a303ea8b],h5[data-v-a303ea8b],h6[data-v-a303ea8b],p[data-v-a303ea8b],blockquote[data-v-a303ea8b],pre[data-v-a303ea8b],a[data-v-a303ea8b],abbr[data-v-a303ea8b],acronym[data-v-a303ea8b],address[data-v-a303ea8b],big[data-v-a303ea8b],cite[data-v-a303ea8b],code[data-v-a303ea8b],del[data-v-a303ea8b],dfn[data-v-a303ea8b],em[data-v-a303ea8b],img[data-v-a303ea8b],ins[data-v-a303ea8b],kbd[data-v-a303ea8b],q[data-v-a303ea8b],s[data-v-a303ea8b],samp[data-v-a303ea8b],small[data-v-a303ea8b],strike[data-v-a303ea8b],strong[data-v-a303ea8b],sub[data-v-a303ea8b],sup[data-v-a303ea8b],tt[data-v-a303ea8b],var[data-v-a303ea8b],b[data-v-a303ea8b],u[data-v-a303ea8b],i[data-v-a303ea8b],center[data-v-a303ea8b],dl[data-v-a303ea8b],dt[data-v-a303ea8b],dd[data-v-a303ea8b],ol[data-v-a303ea8b],ul[data-v-a303ea8b],li[data-v-a303ea8b],fieldset[data-v-a303ea8b],form[data-v-a303ea8b],label[data-v-a303ea8b],legend[data-v-a303ea8b],table[data-v-a303ea8b],caption[data-v-a303ea8b],tbody[data-v-a303ea8b],tfoot[data-v-a303ea8b],thead[data-v-a303ea8b],tr[data-v-a303ea8b],th[data-v-a303ea8b],td[data-v-a303ea8b],article[data-v-a303ea8b],aside[data-v-a303ea8b],canvas[data-v-a303ea8b],details[data-v-a303ea8b],embed[data-v-a303ea8b],figure[data-v-a303ea8b],figcaption[data-v-a303ea8b],footer[data-v-a303ea8b],header[data-v-a303ea8b],hgroup[data-v-a303ea8b],menu[data-v-a303ea8b],nav[data-v-a303ea8b],output[data-v-a303ea8b],ruby[data-v-a303ea8b],section[data-v-a303ea8b],summary[data-v-a303ea8b],time[data-v-a303ea8b],mark[data-v-a303ea8b],audio[data-v-a303ea8b],video[data-v-a303ea8b]{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article[data-v-a303ea8b],aside[data-v-a303ea8b],details[data-v-a303ea8b],figcaption[data-v-a303ea8b],figure[data-v-a303ea8b],footer[data-v-a303ea8b],header[data-v-a303ea8b],hgroup[data-v-a303ea8b],menu[data-v-a303ea8b],nav[data-v-a303ea8b],section[data-v-a303ea8b]{display:block}body[data-v-a303ea8b]{line-height:1}ol[data-v-a303ea8b],ul[data-v-a303ea8b]{list-style:none}table[data-v-a303ea8b]{border-collapse:collapse;border-spacing:0}button[data-v-a303ea8b],p[data-v-a303ea8b],div[role=heading][data-v-a303ea8b]{font-family:Roboto,sans-serif;color:#253858}.container[data-v-a303ea8b]{background-color:#f4f5f7;border-radius:8px;border:1px solid #cdd1d9;display:flex;flex-direction:column;gap:12px;padding:16px}.nav[data-v-a303ea8b]{display:flex;gap:8px;justify-content:end;align-items:stretch}.nav button[data-v-a303ea8b]{display:flex;gap:8px;align-items:center;cursor:pointer;padding:4px 8px;border:1px solid #cdd1d9;background:#fff;border-radius:8px;color:#122647;font-size:.875rem;font-weight:700}.nav button[aria-disabled=true][data-v-a303ea8b]{cursor:not-allowed;background:#eae9e9}.nav button[aria-disabled=false][data-v-a303ea8b]:hover{background-color:#cdd1d9}.nav .back-button[data-v-a303ea8b]{border:none;background:transparent}.nav__spacer[data-v-a303ea8b]{flex:1}.flip-h[data-v-a303ea8b]{transform:scaleX(-1)}.header[data-v-a303ea8b]{display:flex;justify-content:space-between}.header div[role][data-v-a303ea8b]{font-family:open-sans,sans-serif;font-size:1.125rem}.header .date[data-v-a303ea8b]{color:#5e6c84;font-size:.75rem}.expeditor[data-v-a303ea8b]{display:grid;column-gap:4px;width:fit-content;grid-template-columns:repeat(2,auto);grid-template-rows:repeat(2,auto)}.expeditor div[role][data-v-a303ea8b]{font-weight:700}.expeditor-mail[data-v-a303ea8b],.expeditor .recipient p[data-v-a303ea8b]{align-self:end;font-size:.75rem;color:#5e6c84;font-weight:400;word-break:break-word}.expeditor .recipient[data-v-a303ea8b]{display:flex}.expeditor .recipient button[data-v-a303ea8b]{border:none;background:transparent;display:flex;align-items:center;cursor:not-allowed}.expeditor .avatar[data-v-a303ea8b]{grid-row:1/span 2;margin-right:12px}.content[data-v-a303ea8b]{color:#122647;font-size:.875rem}.previous-message[data-v-a303ea8b]{font-size:.875rem;margin-top:12px}.previous-message__header[data-v-a303ea8b]{font-style:italic;font-size:.875rem;color:#5e6c84;margin-bottom:8px}.previous-message blockquote[data-v-a303ea8b]{border-left:1px solid #cdd1d9;margin-left:8px;padding-left:8px}.sr-only[data-v-a303ea8b]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}@media screen and (max-width:576px){.sr-only-mobile[data-v-a303ea8b]{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);border:0}.date[data-v-a303ea8b]{display:none}}", Va = /* @__PURE__ */ $(Da, [["styles", [Ta]], ["__scopeId", "data-v-a303ea8b"]]);
259
+ export {
260
+ Va as P
261
+ };