@egov-moldova/mud-site-kit 1.0.7 → 1.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/assets/footer-v2/mpay-logo.svg +39 -0
- package/mud-site-kit.esm.js +1585 -488
- package/mud-site-kit.esm.js.map +1 -1
- package/mud-site-kit.iife.js +660 -111
- package/mud-site-kit.iife.js.map +1 -1
- package/package.json +1 -1
- package/types/components/cookie-banner/consent.d.ts +40 -0
- package/types/components/cookie-banner/cookie-banner.styles.d.ts +2 -0
- package/types/components/cookie-banner/cookie-banner.template.d.ts +17 -0
- package/types/components/cookie-banner/data/index.d.ts +2 -0
- package/types/components/cookie-banner/data/services.d.ts +9 -0
- package/types/components/cookie-banner/data/texts.d.ts +2 -0
- package/types/components/cookie-banner/index.d.ts +3 -0
- package/types/components/cookie-banner/mud-cookie-banner.d.ts +61 -0
- package/types/components/cookie-banner/types/cookie-banner.types.d.ts +36 -0
- package/types/components/footer-v2/data/index.d.ts +1 -0
- package/types/components/footer-v2/data/mpay.d.ts +2 -0
- package/types/components/footer-v2/footer.template.d.ts +2 -0
- package/types/components/footer-v2/mud-footer-v2.d.ts +4 -0
- package/types/components/privacy-policy/data/index.d.ts +2 -0
- package/types/components/privacy-policy/data/sections.d.ts +6 -0
- package/types/components/privacy-policy/data/texts.d.ts +2 -0
- package/types/components/privacy-policy/index.d.ts +3 -0
- package/types/components/privacy-policy/mud-privacy-policy.d.ts +32 -0
- package/types/components/privacy-policy/privacy-policy.styles.d.ts +2 -0
- package/types/components/privacy-policy/privacy-policy.template.d.ts +10 -0
- package/types/components/privacy-policy/types/privacy-policy.types.d.ts +44 -0
- package/types/index.d.ts +2 -0
package/mud-site-kit.esm.js
CHANGED
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
const
|
|
2
|
-
let
|
|
3
|
-
function
|
|
4
|
-
|
|
1
|
+
const g6 = ["mud.css", "tokens/core.tokens.css"];
|
|
2
|
+
let i6, F;
|
|
3
|
+
function E4(t) {
|
|
4
|
+
i6 = t.baseUrl.endsWith("/") ? t.baseUrl : `${t.baseUrl}/`;
|
|
5
5
|
}
|
|
6
|
-
function
|
|
7
|
-
return
|
|
6
|
+
function h6() {
|
|
7
|
+
return i6 ?? new URL(
|
|
8
8
|
/* @vite-ignore */
|
|
9
9
|
"./mud/",
|
|
10
10
|
import.meta.url
|
|
11
11
|
).href;
|
|
12
12
|
}
|
|
13
|
-
function
|
|
14
|
-
for (const e of
|
|
15
|
-
const
|
|
16
|
-
if (document.querySelector(`link[data-mud-site-kit][href="${
|
|
17
|
-
const
|
|
18
|
-
|
|
13
|
+
function f6(t) {
|
|
14
|
+
for (const e of g6) {
|
|
15
|
+
const o = t + e;
|
|
16
|
+
if (document.querySelector(`link[data-mud-site-kit][href="${o}"]`)) continue;
|
|
17
|
+
const n = document.createElement("link");
|
|
18
|
+
n.rel = "stylesheet", n.href = o, n.dataset.mudSiteKit = "", document.head.appendChild(n);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
function
|
|
22
|
-
if (!
|
|
23
|
-
const t =
|
|
24
|
-
|
|
21
|
+
function v6() {
|
|
22
|
+
if (!F) {
|
|
23
|
+
const t = h6();
|
|
24
|
+
f6(t), F = import(
|
|
25
25
|
/* @vite-ignore */
|
|
26
26
|
`${t}mud.esm.js`
|
|
27
27
|
).then(() => {
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
|
-
return
|
|
30
|
+
return F;
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
function
|
|
32
|
+
const b6 = ["ro", "ru", "en"], _6 = "ro";
|
|
33
|
+
function y6(t) {
|
|
34
34
|
const e = t?.trim().toLowerCase().split("-")[0];
|
|
35
|
-
return
|
|
35
|
+
return b6.find((o) => o === e) ?? _6;
|
|
36
36
|
}
|
|
37
|
-
function
|
|
38
|
-
return
|
|
37
|
+
function x6() {
|
|
38
|
+
return y6(document.documentElement.getAttribute("lang"));
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function w6(t) {
|
|
41
41
|
const e = new MutationObserver(t);
|
|
42
42
|
return e.observe(document.documentElement, { attributes: !0, attributeFilter: ["lang"] }), () => e.disconnect();
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function a(t, e) {
|
|
45
45
|
return typeof t == "string" ? t : t[e];
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function v(t, e) {
|
|
48
48
|
return t.replace("{lang}", e);
|
|
49
49
|
}
|
|
50
|
-
class
|
|
50
|
+
class z extends HTMLElement {
|
|
51
51
|
root;
|
|
52
52
|
stopWatchingLang;
|
|
53
53
|
constructor() {
|
|
@@ -59,7 +59,7 @@ class B extends HTMLElement {
|
|
|
59
59
|
}
|
|
60
60
|
/** Page language (ro | ru | en), from <html lang>. */
|
|
61
61
|
get pageLang() {
|
|
62
|
-
return
|
|
62
|
+
return x6();
|
|
63
63
|
}
|
|
64
64
|
/** Component-specific CSS (added to the shadow root). */
|
|
65
65
|
styles() {
|
|
@@ -69,33 +69,33 @@ class B extends HTMLElement {
|
|
|
69
69
|
afterRender() {
|
|
70
70
|
}
|
|
71
71
|
connectedCallback() {
|
|
72
|
-
|
|
72
|
+
v6(), this.stopWatchingLang = w6(() => this.render()), this.render();
|
|
73
73
|
}
|
|
74
74
|
disconnectedCallback() {
|
|
75
75
|
this.stopWatchingLang?.();
|
|
76
76
|
}
|
|
77
|
-
attributeChangedCallback(e,
|
|
78
|
-
|
|
77
|
+
attributeChangedCallback(e, o, n) {
|
|
78
|
+
o !== n && this.isConnected && this.render();
|
|
79
79
|
}
|
|
80
80
|
render() {
|
|
81
81
|
this.root.innerHTML = `<style>:host{display:block}${this.styles()}</style>${this.template()}`, this.afterRender();
|
|
82
82
|
}
|
|
83
83
|
/** Dispatches a bubbling, composed CustomEvent so it escapes the shadow root. */
|
|
84
|
-
emit(e,
|
|
85
|
-
this.dispatchEvent(new CustomEvent(e, { detail:
|
|
84
|
+
emit(e, o) {
|
|
85
|
+
this.dispatchEvent(new CustomEvent(e, { detail: o, bubbles: !0, composed: !0 }));
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function i(t) {
|
|
89
89
|
return t.replace(/[&<>"']/g, (e) => ({ "&": "&", "<": "<", ">": ">", '"': """, "'": "'" })[e]);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function M(t, e) {
|
|
92
92
|
customElements.get(t) || customElements.define(t, e);
|
|
93
93
|
}
|
|
94
|
-
const
|
|
94
|
+
const y = {
|
|
95
95
|
support: { text: "022 820 000", href: "tel:022820000" },
|
|
96
96
|
mconnect: { text: "022 820 022", href: "tel:022820022" },
|
|
97
97
|
evo: { text: "022 820 026", href: "tel:022820026" }
|
|
98
|
-
},
|
|
98
|
+
}, h = {
|
|
99
99
|
support: { text: "suport@egov.md", href: "mailto:suport@egov.md" },
|
|
100
100
|
/** Support address with its caption, for the platforms that also list `services`. */
|
|
101
101
|
supportCitizens: {
|
|
@@ -124,13 +124,13 @@ const v = {
|
|
|
124
124
|
terms: { ro: "Termeni și condiții", ru: "Условия использования", en: "Terms and conditions" },
|
|
125
125
|
usefulResources: { ro: "Resurse utile", ru: "Полезные ресурсы", en: "Useful resources" },
|
|
126
126
|
userGuide: { ro: "Ghidul utilizatorului", ru: "Руководство пользователя", en: "User guide" }
|
|
127
|
-
},
|
|
127
|
+
}, k6 = {
|
|
128
128
|
name: "mconnect",
|
|
129
129
|
logo: "mconnect",
|
|
130
130
|
logoHref: "https://mconnect.gov.md/ro/home",
|
|
131
131
|
tagline: { ro: "platforma guvernamentală de interoperabilitate", ru: "государственная платформа интероперабельности", en: "government interoperability platform" },
|
|
132
|
-
phone:
|
|
133
|
-
emails: [
|
|
132
|
+
phone: y.mconnect,
|
|
133
|
+
emails: [h.mconnect],
|
|
134
134
|
legal: [
|
|
135
135
|
{
|
|
136
136
|
label: d.terms,
|
|
@@ -194,13 +194,13 @@ const v = {
|
|
|
194
194
|
"mnotify",
|
|
195
195
|
"mpay"
|
|
196
196
|
]
|
|
197
|
-
},
|
|
197
|
+
}, M6 = {
|
|
198
198
|
name: "mdate",
|
|
199
199
|
logo: "mdate",
|
|
200
200
|
logoHref: "https://date.gov.md/",
|
|
201
201
|
tagline: { ro: "portalul guvernamental de date", ru: "государственный портал данных", en: "government data portal" },
|
|
202
|
-
phone:
|
|
203
|
-
emails: [
|
|
202
|
+
phone: y.mconnect,
|
|
203
|
+
emails: [h.mconnect],
|
|
204
204
|
legal: [
|
|
205
205
|
{
|
|
206
206
|
label: { ro: "Harta site-ului", ru: "Карта сайта", en: "Site map" },
|
|
@@ -241,13 +241,13 @@ const v = {
|
|
|
241
241
|
"mnotify",
|
|
242
242
|
"mpay"
|
|
243
243
|
]
|
|
244
|
-
},
|
|
244
|
+
}, Z6 = {
|
|
245
245
|
name: "mpass",
|
|
246
246
|
logo: "mpass",
|
|
247
247
|
logoHref: "https://mpass.gov.md/",
|
|
248
248
|
tagline: { ro: "serviciul de autentificare și control al accesului", ru: "сервис аутентификации и контроля доступа", en: "authentication and access control service" },
|
|
249
|
-
phone:
|
|
250
|
-
emails: [
|
|
249
|
+
phone: y.support,
|
|
250
|
+
emails: [h.supportCitizens, h.services],
|
|
251
251
|
legal: [
|
|
252
252
|
{
|
|
253
253
|
label: d.terms,
|
|
@@ -296,13 +296,13 @@ const v = {
|
|
|
296
296
|
"mnotify",
|
|
297
297
|
"mpay"
|
|
298
298
|
]
|
|
299
|
-
},
|
|
299
|
+
}, L6 = {
|
|
300
300
|
name: "msign",
|
|
301
301
|
logo: "msign",
|
|
302
302
|
logoHref: "https://msign.gov.md/",
|
|
303
303
|
tagline: { ro: "serviciul guvernamental de semnătură electronică", ru: "государственный сервис электронной подписи", en: "government electronic signature service" },
|
|
304
|
-
phone:
|
|
305
|
-
emails: [
|
|
304
|
+
phone: y.support,
|
|
305
|
+
emails: [h.supportCitizens, h.services],
|
|
306
306
|
legal: [
|
|
307
307
|
{
|
|
308
308
|
label: d.terms,
|
|
@@ -351,13 +351,13 @@ const v = {
|
|
|
351
351
|
"mnotify",
|
|
352
352
|
"mpay"
|
|
353
353
|
]
|
|
354
|
-
},
|
|
354
|
+
}, $6 = {
|
|
355
355
|
name: "mpower",
|
|
356
356
|
logo: "mpower",
|
|
357
357
|
logoHref: "https://mpower.gov.md/#/ro",
|
|
358
358
|
tagline: { ro: "registrul împuternicirilor de reprezentare în baza semnăturii electronice", ru: "реестр доверенностей на представительство на основе электронной подписи", en: "register of representation authorizations based on electronic signature" },
|
|
359
|
-
phone:
|
|
360
|
-
emails: [
|
|
359
|
+
phone: y.support,
|
|
360
|
+
emails: [h.supportCitizens, h.services],
|
|
361
361
|
legal: [
|
|
362
362
|
{
|
|
363
363
|
label: d.terms,
|
|
@@ -420,13 +420,13 @@ const v = {
|
|
|
420
420
|
type: "signature"
|
|
421
421
|
}
|
|
422
422
|
]
|
|
423
|
-
},
|
|
423
|
+
}, H6 = {
|
|
424
424
|
name: "mnotify",
|
|
425
425
|
logo: "mnotify",
|
|
426
426
|
logoHref: "https://mnotify.gov.md/#/ro/home",
|
|
427
427
|
tagline: { ro: "serviciul guvernamental de notificare", ru: "государственный сервис уведомлений", en: "government notification service" },
|
|
428
|
-
phone:
|
|
429
|
-
emails: [
|
|
428
|
+
phone: y.support,
|
|
429
|
+
emails: [h.supportCitizens, h.services],
|
|
430
430
|
legal: [
|
|
431
431
|
{
|
|
432
432
|
label: d.terms,
|
|
@@ -475,13 +475,13 @@ const v = {
|
|
|
475
475
|
"mpower",
|
|
476
476
|
"mpay"
|
|
477
477
|
]
|
|
478
|
-
},
|
|
478
|
+
}, z6 = {
|
|
479
479
|
name: "mdelivery",
|
|
480
480
|
logo: "mdelivery",
|
|
481
481
|
logoHref: "https://mdelivery.gov.md/public",
|
|
482
482
|
tagline: { ro: "serviciul guvernamental de livrare", ru: "государственный сервис доставки", en: "government delivery service" },
|
|
483
|
-
phone:
|
|
484
|
-
emails: [
|
|
483
|
+
phone: y.evo,
|
|
484
|
+
emails: [h.support],
|
|
485
485
|
legal: [
|
|
486
486
|
{
|
|
487
487
|
label: d.terms,
|
|
@@ -525,13 +525,13 @@ const v = {
|
|
|
525
525
|
"mnotify",
|
|
526
526
|
"mpay"
|
|
527
527
|
]
|
|
528
|
-
},
|
|
528
|
+
}, S6 = {
|
|
529
529
|
name: "mlearn",
|
|
530
530
|
logo: "mlearn",
|
|
531
531
|
logoHref: "https://mlearn.gov.md/",
|
|
532
532
|
tagline: { ro: "platforma guvernamentală de instruire la distanță", ru: "государственная платформа дистанционного обучения", en: "government distance learning platform" },
|
|
533
|
-
phone:
|
|
534
|
-
emails: [
|
|
533
|
+
phone: y.support,
|
|
534
|
+
emails: [h.supportCitizens, h.services],
|
|
535
535
|
legal: [
|
|
536
536
|
{
|
|
537
537
|
label: d.terms,
|
|
@@ -573,13 +573,13 @@ const v = {
|
|
|
573
573
|
"mnotify",
|
|
574
574
|
"mpay"
|
|
575
575
|
]
|
|
576
|
-
},
|
|
576
|
+
}, A6 = {
|
|
577
577
|
name: "evosign",
|
|
578
578
|
logo: "evosign",
|
|
579
579
|
logoHref: "https://evosign.gov.md/",
|
|
580
580
|
tagline: { ro: "Identitatea ta digitală direct în telefon", ru: "Ваша цифровая идентичность прямо в телефоне", en: "Your digital identity right on your phone" },
|
|
581
|
-
phone:
|
|
582
|
-
emails: [
|
|
581
|
+
phone: y.evo,
|
|
582
|
+
emails: [h.support],
|
|
583
583
|
legal: [
|
|
584
584
|
{
|
|
585
585
|
label: d.terms,
|
|
@@ -619,7 +619,7 @@ const v = {
|
|
|
619
619
|
"mnotify",
|
|
620
620
|
"mpay"
|
|
621
621
|
]
|
|
622
|
-
},
|
|
622
|
+
}, G6 = {
|
|
623
623
|
copyright: { ro: "© 2026 Toate drepturile rezervate. Agenția de Guvernare Electronică", ru: "© 2026 Все права защищены. Агентство электронного управления", en: "© 2026 All rights reserved. e-Governance Agency" },
|
|
624
624
|
signatureHeading: { ro: "Semnătura electronică", ru: "Электронная подпись", en: "Electronic signature" },
|
|
625
625
|
usefulPlatformsHeading: { ro: "Platforme utile", ru: "Полезные платформы", en: "Useful platforms" },
|
|
@@ -723,17 +723,17 @@ const v = {
|
|
|
723
723
|
href: "https://play.google.com/store/apps/details?id=md.egov.evo&pcampaignid=web_share"
|
|
724
724
|
}
|
|
725
725
|
}
|
|
726
|
-
},
|
|
727
|
-
mconnect:
|
|
728
|
-
mdate:
|
|
729
|
-
mpass:
|
|
730
|
-
msign:
|
|
731
|
-
mpower:
|
|
732
|
-
mnotify:
|
|
733
|
-
mdelivery:
|
|
734
|
-
mlearn:
|
|
735
|
-
evosign:
|
|
736
|
-
},
|
|
726
|
+
}, N = {
|
|
727
|
+
mconnect: k6,
|
|
728
|
+
mdate: M6,
|
|
729
|
+
mpass: Z6,
|
|
730
|
+
msign: L6,
|
|
731
|
+
mpower: $6,
|
|
732
|
+
mnotify: H6,
|
|
733
|
+
mdelivery: z6,
|
|
734
|
+
mlearn: S6,
|
|
735
|
+
evosign: A6
|
|
736
|
+
}, V6 = {
|
|
737
737
|
mconnect: "mconnect-logo.svg",
|
|
738
738
|
mdate: "mdate-logo.svg",
|
|
739
739
|
mpass: "mpass-logo.svg",
|
|
@@ -748,16 +748,16 @@ const v = {
|
|
|
748
748
|
evo: "evo-logo.svg",
|
|
749
749
|
appStore: "app-store-badge.svg",
|
|
750
750
|
googlePlay: "google-play-badge.svg"
|
|
751
|
-
},
|
|
751
|
+
}, U6 = new URL(
|
|
752
752
|
/* @vite-ignore */
|
|
753
753
|
"./assets/footer/",
|
|
754
754
|
import.meta.url
|
|
755
755
|
).href;
|
|
756
|
-
function
|
|
757
|
-
const
|
|
758
|
-
return (e ? e.replace(/\/?$/, "/") :
|
|
756
|
+
function L(t, e) {
|
|
757
|
+
const o = V6[t] ?? t;
|
|
758
|
+
return (e ? e.replace(/\/?$/, "/") : U6) + o;
|
|
759
759
|
}
|
|
760
|
-
const
|
|
760
|
+
const O6 = `<symbol id="icon-phone" viewBox="3.8 3.1 17.7 17.7">
|
|
761
761
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.60003 4.9001C5.95829 4.9001 5.55617 5.40073 5.61643 5.88498C6.4666 12.7167 11.8835 18.1335 18.7151 18.9837C19.1994 19.044 19.7 18.6418 19.7 18.0001V16.6882C19.7 16.2024 19.3814 15.7741 18.9161 15.6345L16.9135 15.0338C16.8783 15.0232 16.8401 15.0328 16.8141 15.0588L16.5539 15.319C15.6962 16.1767 14.3093 16.4698 13.1826 15.7576C11.4333 14.6519 9.94826 13.1668 8.84255 11.4175C8.13033 10.2908 8.42343 8.9039 9.28108 8.04625L9.54128 7.78605C9.56729 7.76004 9.57692 7.72184 9.56635 7.68661L8.96557 5.68402C8.82599 5.21873 8.39774 4.9001 7.91197 4.9001H6.60003ZM3.83021 6.10727C3.61766 4.39929 5.03262 3.1001 6.60003 3.1001H7.91197C9.19263 3.1001 10.3217 3.94014 10.6897 5.16679L11.2904 7.16938C11.4913 7.83888 11.3083 8.56459 10.8141 9.05884L10.5539 9.31905C10.2044 9.66856 10.1641 10.1395 10.3641 10.4558C11.327 11.9792 12.6209 13.2731 14.1443 14.2361C14.4607 14.436 14.9316 14.3958 15.2811 14.0463L15.5413 13.7861C16.0355 13.2918 16.7612 13.1088 17.4307 13.3097L19.4333 13.9105C20.66 14.2785 21.5 15.4075 21.5 16.6882V18.0001C21.5 19.5675 20.2008 20.9825 18.4929 20.7699C10.8433 19.818 4.78216 13.7568 3.83021 6.10727Z" fill="currentColor"/>
|
|
762
762
|
</symbol>
|
|
763
763
|
|
|
@@ -783,7 +783,7 @@ const M6 = `<symbol id="icon-phone" viewBox="3.8 3.1 17.7 17.7">
|
|
|
783
783
|
|
|
784
784
|
<symbol id="icon-linkedin-filled" viewBox="0 0 25 24">
|
|
785
785
|
<path d="M20.25 3H4.94998C4.59193 3 4.24856 3.14223 3.99538 3.39541C3.74221 3.64858 3.59998 3.99196 3.59998 4.35V19.65C3.59998 20.008 3.74221 20.3514 3.99538 20.6046C4.24856 20.8578 4.59193 21 4.94998 21H20.25C20.608 21 20.9514 20.8578 21.2046 20.6046C21.4577 20.3514 21.6 20.008 21.6 19.65V4.35C21.6 3.99196 21.4577 3.64858 21.2046 3.39541C20.9514 3.14223 20.608 3 20.25 3ZM8.99998 18.3H6.29998V10.2H8.99998V18.3ZM7.64998 8.625C7.34054 8.61616 7.04057 8.51632 6.78755 8.33797C6.53453 8.15962 6.33968 7.91066 6.22734 7.6222C6.115 7.33374 6.09016 7.01857 6.15592 6.71607C6.22168 6.41358 6.37512 6.13716 6.59708 5.92138C6.81903 5.70559 7.09965 5.55999 7.40388 5.50278C7.70811 5.44556 8.02246 5.47927 8.30764 5.59969C8.59282 5.7201 8.83619 5.92189 9.00735 6.17983C9.1785 6.43778 9.26985 6.74044 9.26998 7.05C9.26287 7.47331 9.08848 7.8766 8.78492 8.17173C8.48136 8.46685 8.07332 8.62982 7.64998 8.625ZM18.9 18.3H16.2V14.034C16.2 12.756 15.66 12.297 14.958 12.297C14.7522 12.3107 14.5511 12.3649 14.3663 12.4566C14.1815 12.5482 14.0166 12.6755 13.8811 12.831C13.7456 12.9866 13.6422 13.1674 13.5768 13.363C13.5114 13.5586 13.4853 13.7652 13.5 13.971C13.4955 14.0129 13.4955 14.0551 13.5 14.097V18.3H10.8V10.2H13.41V11.37C13.6733 10.9695 14.035 10.6433 14.4604 10.4227C14.8859 10.2021 15.3609 10.0944 15.84 10.11C17.235 10.11 18.864 10.884 18.864 13.404L18.9 18.3Z" fill="currentColor"/>
|
|
786
|
-
</symbol>`,
|
|
786
|
+
</symbol>`, P6 = `/* Footer styles, scoped by the shadow DOM. Values on :host are provisional design tokens; swap them for the MUD/Figma tokens. */
|
|
787
787
|
|
|
788
788
|
:host {
|
|
789
789
|
display: block;
|
|
@@ -1196,112 +1196,112 @@ const M6 = `<symbol id="icon-phone" viewBox="3.8 3.1 17.7 17.7">
|
|
|
1196
1196
|
align-items: flex-start;
|
|
1197
1197
|
}
|
|
1198
1198
|
}
|
|
1199
|
-
`,
|
|
1199
|
+
`, r6 = (t) => t.newTab ? ' target="_blank" rel="noopener noreferrer"' : "", G = (t, e = "") => `<svg class="mud-icon ${e}"><use href="#${t}"></use></svg>`, w = (t, e) => t.sections?.[e] !== !1, F6 = (t) => (e) => `<li class="mud-footer__nav--item"><a class="mud-footer__nav--link" href="${i(e.href)}"${r6(e)}>${i(a(e.label, t))}${e.badge ? `<span class="mud-badge">${i(a(e.badge, t))}</span>` : ""}</a></li>`, D = (t, e) => `
|
|
1200
1200
|
<div class="mud-footer__nav-col">
|
|
1201
1201
|
<div class="mud-footer__heading">${t || " "}</div>
|
|
1202
1202
|
<ul class="mud-footer__nav--list">${e}</ul>
|
|
1203
1203
|
</div>`;
|
|
1204
|
-
function
|
|
1205
|
-
const
|
|
1204
|
+
function D6(t, { key: e, lang: o, variant: n, shared: r }) {
|
|
1205
|
+
const s = F6(o);
|
|
1206
1206
|
switch (t.type) {
|
|
1207
1207
|
case "links":
|
|
1208
|
-
return
|
|
1208
|
+
return D(i(a(t.heading, o)), t.items.map(s).join(""));
|
|
1209
1209
|
case "signature": {
|
|
1210
|
-
const
|
|
1211
|
-
return
|
|
1210
|
+
const c = r.signature.filter((u) => u.platform !== e);
|
|
1211
|
+
return c.length ? D(i(a(r.signatureHeading, o)), c.map(s).join("")) : "";
|
|
1212
1212
|
}
|
|
1213
1213
|
case "platforms": {
|
|
1214
|
-
const
|
|
1215
|
-
if (!
|
|
1216
|
-
const u =
|
|
1217
|
-
return
|
|
1214
|
+
const c = (n.usefulPlatforms ?? []).map((f) => r.platformCatalog[f]).filter(Boolean);
|
|
1215
|
+
if (!c.length) return "";
|
|
1216
|
+
const u = r.platformMore, p = `<li class="mud-footer__nav--item"><a class="mud-footer__nav--link mud-footer__nav--link--more" href="${i(u.href)}">${i(a(u.label, o))}${G("icon-arrow-right", "mud-icon-small")}</a></li>`;
|
|
1217
|
+
return D(i(a(r.usefulPlatformsHeading, o)), c.map(s).join("") + p);
|
|
1218
1218
|
}
|
|
1219
1219
|
}
|
|
1220
1220
|
}
|
|
1221
|
-
const
|
|
1222
|
-
const
|
|
1221
|
+
const B6 = ({ variant: t, lang: e }) => {
|
|
1222
|
+
const o = t.phone ? `
|
|
1223
1223
|
<li>
|
|
1224
|
-
<a href="${
|
|
1225
|
-
</li>` : "",
|
|
1226
|
-
const
|
|
1224
|
+
<a href="${i(t.phone.href)}"><span class="mud-d-inline-flex" aria-hidden="true">${G("icon-phone", "mud-icon--phone")}</span>${i(t.phone.text)}</a>
|
|
1225
|
+
</li>` : "", n = t.emails.map((r) => {
|
|
1226
|
+
const s = r.note ? `<span class="mud-footer__contact-label${r.noteTwoRows ? " mud-footer__contact-label--two-rows" : ""}">${i(a(r.note, e))}</span>` : "";
|
|
1227
1227
|
return `
|
|
1228
1228
|
<li>
|
|
1229
|
-
<a href="${r
|
|
1229
|
+
<a href="${i(r.href)}"><span class="mud-d-inline-flex" aria-hidden="true">${G("icon-envelope", "mud-icon--envelope")}</span>${i(r.text)}</a>${s}
|
|
1230
1230
|
</li>`;
|
|
1231
1231
|
}).join("");
|
|
1232
|
-
return
|
|
1233
|
-
<ul class="mud-footer__contact">${
|
|
1232
|
+
return o || n ? `
|
|
1233
|
+
<ul class="mud-footer__contact">${o}${n}
|
|
1234
1234
|
</ul>` : "";
|
|
1235
|
-
},
|
|
1236
|
-
const { variant: e, lang:
|
|
1235
|
+
}, E6 = (t) => {
|
|
1236
|
+
const { variant: e, lang: o, assetsBase: n } = t, r = e.taglineMaxWidth ? ` style="max-width:${e.taglineMaxWidth}px"` : "";
|
|
1237
1237
|
return `
|
|
1238
1238
|
<div class="mud-footer__brand">
|
|
1239
|
-
<a class="mud-footer__logo" href="${
|
|
1240
|
-
<img class="mud-footer__brand--logo" src="${
|
|
1241
|
-
<div class="mud-footer__brand--details"${
|
|
1242
|
-
<span class="mud-brand-text">${
|
|
1243
|
-
<span class="mud-brand-description">${
|
|
1239
|
+
<a class="mud-footer__logo" href="${i(e.logoHref)}">
|
|
1240
|
+
<img class="mud-footer__brand--logo" src="${i(L(e.logo, n))}" alt="${i(e.name)}">
|
|
1241
|
+
<div class="mud-footer__brand--details"${r}>
|
|
1242
|
+
<span class="mud-brand-text">${i(e.name)}</span>
|
|
1243
|
+
<span class="mud-brand-description">${i(a(e.tagline, o))}</span>
|
|
1244
1244
|
</div>
|
|
1245
|
-
</a>${
|
|
1245
|
+
</a>${w(e, "contact") ? B6(t) : ""}
|
|
1246
1246
|
</div>`;
|
|
1247
|
-
},
|
|
1247
|
+
}, T6 = ({ shared: t, lang: e, assetsBase: o }) => `
|
|
1248
1248
|
<div class="mud-footer__extras">
|
|
1249
|
-
<img class="mud-footer__extras-icon" src="${
|
|
1250
|
-
<div class="mud-footer__description">${
|
|
1249
|
+
<img class="mud-footer__extras-icon" src="${i(L("evo", o))}" alt="" aria-hidden="true">
|
|
1250
|
+
<div class="mud-footer__description">${i(a(t.evo.description, e))}</div>
|
|
1251
1251
|
<div class="mud-footer__apps">
|
|
1252
|
-
<a href="${
|
|
1253
|
-
<img class="mud-footer__apps-badge mud-footer__apps-badge--apple" src="${
|
|
1252
|
+
<a href="${i(t.evo.apple.href)}" target="_blank" rel="noopener noreferrer" aria-label="${i(a(t.evo.apple.label, e))}">
|
|
1253
|
+
<img class="mud-footer__apps-badge mud-footer__apps-badge--apple" src="${i(L("appStore", o))}" alt="${i(a(t.evo.apple.label, e))}">
|
|
1254
1254
|
</a>
|
|
1255
|
-
<a href="${
|
|
1256
|
-
<img class="mud-footer__apps-badge mud-footer__apps-badge--google" src="${
|
|
1255
|
+
<a href="${i(t.evo.google.href)}" target="_blank" rel="noopener noreferrer" aria-label="${i(a(t.evo.google.label, e))}">
|
|
1256
|
+
<img class="mud-footer__apps-badge mud-footer__apps-badge--google" src="${i(L("googlePlay", o))}" alt="${i(a(t.evo.google.label, e))}">
|
|
1257
1257
|
</a>
|
|
1258
1258
|
</div>
|
|
1259
|
-
</div>`,
|
|
1260
|
-
(
|
|
1261
|
-
<a href="${
|
|
1262
|
-
<img class="mud-footer__institution-logo" src="${
|
|
1259
|
+
</div>`, j6 = ({ shared: t, lang: e, assetsBase: o }) => t.institutions.map(
|
|
1260
|
+
(n) => `
|
|
1261
|
+
<a href="${i(n.href)}" class="mud-footer__institution-logo-link" target="_blank" rel="noopener noreferrer" aria-label="${i(a(n.label, e))}">
|
|
1262
|
+
<img class="mud-footer__institution-logo" src="${i(L(n.logo, o))}" alt="${i(a(n.label, e))}">
|
|
1263
1263
|
</a>`
|
|
1264
|
-
).join(""),
|
|
1265
|
-
(e) => `<li><a class="mud-footer__social--link" href="${
|
|
1266
|
-
).join(""),
|
|
1267
|
-
const e =
|
|
1268
|
-
return !e && !
|
|
1264
|
+
).join(""), R6 = ({ shared: t }) => t.social.map(
|
|
1265
|
+
(e) => `<li><a class="mud-footer__social--link" href="${i(e.href)}" target="_blank" rel="noopener noreferrer" aria-label="${i(e.label)}">${G(e.icon)}</a></li>`
|
|
1266
|
+
).join(""), I6 = (t) => {
|
|
1267
|
+
const e = w(t.variant, "institutions"), o = w(t.variant, "social");
|
|
1268
|
+
return !e && !o ? "" : `
|
|
1269
1269
|
<hr class="mud-separator mud-separator--horizontal mud-separator--thin mud-separator--subtle">
|
|
1270
1270
|
|
|
1271
1271
|
<div class="mud-footer__middle">
|
|
1272
|
-
<div class="mud-footer__logos">${e ?
|
|
1273
|
-
</div>${
|
|
1274
|
-
<ul class="mud-footer__social">${
|
|
1272
|
+
<div class="mud-footer__logos">${e ? j6(t) : ""}
|
|
1273
|
+
</div>${o ? `
|
|
1274
|
+
<ul class="mud-footer__social">${R6(t)}</ul>` : ""}
|
|
1275
1275
|
</div>
|
|
1276
1276
|
`;
|
|
1277
|
-
},
|
|
1278
|
-
const
|
|
1277
|
+
}, q6 = ({ variant: t, lang: e, shared: o }) => {
|
|
1278
|
+
const n = w(t, "legal") ? (t.legal ?? []).map((r) => `<li><a href="${i(r.href)}"${r6(r)}>${i(a(r.label, e))}</a></li>`).join("") : "";
|
|
1279
1279
|
return `
|
|
1280
1280
|
<div class="mud-footer__bottom">
|
|
1281
1281
|
<div class="mud-footer__container mud-footer__bottom-inner">
|
|
1282
|
-
<div>${
|
|
1283
|
-
<ul class="mud-footer__legal">${
|
|
1282
|
+
<div>${i(a(t.copyright ?? o.copyright, e))}</div>
|
|
1283
|
+
<ul class="mud-footer__legal">${n}</ul>
|
|
1284
1284
|
</div>
|
|
1285
1285
|
</div>`;
|
|
1286
1286
|
};
|
|
1287
|
-
function
|
|
1288
|
-
const { variant: e } = t,
|
|
1289
|
-
<nav class="mud-footer__nav" aria-label="Footer navigation">${
|
|
1287
|
+
function N6(t) {
|
|
1288
|
+
const { variant: e } = t, o = e.columns.map((r) => D6(r, t)).join(""), n = w(e, "navigation") && o ? `
|
|
1289
|
+
<nav class="mud-footer__nav" aria-label="Footer navigation">${o}
|
|
1290
1290
|
</nav>
|
|
1291
1291
|
` : "";
|
|
1292
|
-
return `<svg xmlns="http://www.w3.org/2000/svg" style="display:none">${
|
|
1292
|
+
return `<svg xmlns="http://www.w3.org/2000/svg" style="display:none">${O6}</svg>
|
|
1293
1293
|
<footer class="mud-footer" role="contentinfo" lang="${t.lang}">
|
|
1294
1294
|
<div class="mud-footer__container">
|
|
1295
1295
|
<div class="mud-footer__top">
|
|
1296
|
-
${
|
|
1297
|
-
${
|
|
1296
|
+
${E6(t)}
|
|
1297
|
+
${n}${w(e, "evo") ? T6(t) : ""}
|
|
1298
1298
|
</div>
|
|
1299
|
-
${
|
|
1299
|
+
${I6(t)}
|
|
1300
1300
|
</div>
|
|
1301
|
-
${
|
|
1301
|
+
${q6(t)}
|
|
1302
1302
|
</footer>`;
|
|
1303
1303
|
}
|
|
1304
|
-
class
|
|
1304
|
+
class W6 extends z {
|
|
1305
1305
|
static get observedAttributes() {
|
|
1306
1306
|
return ["variant", "assets-base", "max-width", "padding-x"];
|
|
1307
1307
|
}
|
|
@@ -1309,20 +1309,20 @@ class A6 extends B {
|
|
|
1309
1309
|
this.applyLength("max-width", "--footer-max-width"), this.applyLength("padding-x", "--footer-padding-x");
|
|
1310
1310
|
}
|
|
1311
1311
|
/** Maps an optional length attribute to a CSS custom property; without a valid value the default from the styles stays. */
|
|
1312
|
-
applyLength(e,
|
|
1313
|
-
const
|
|
1314
|
-
|
|
1312
|
+
applyLength(e, o) {
|
|
1313
|
+
const n = this.getAttribute(e)?.trim(), r = n && /^\d+(\.\d+)?$/.test(n) ? `${n}px` : n;
|
|
1314
|
+
r && /^\d*\.?\d+(px|rem|em|%|vw|ch)$/.test(r) ? this.style.setProperty(o, r) : this.style.removeProperty(o);
|
|
1315
1315
|
}
|
|
1316
1316
|
styles() {
|
|
1317
|
-
return
|
|
1317
|
+
return P6;
|
|
1318
1318
|
}
|
|
1319
1319
|
template() {
|
|
1320
|
-
const e = this.getAttribute("variant") ?? "",
|
|
1321
|
-
return
|
|
1320
|
+
const e = this.getAttribute("variant") ?? "", o = N[e];
|
|
1321
|
+
return o ? N6({ key: e, lang: this.pageLang, variant: o, shared: G6, assetsBase: this.getAttribute("assets-base") }) : (console.error(`<mud-footer>: unknown variant "${e}". Use one of: ${Object.keys(N).join(", ")}.`), "");
|
|
1322
1322
|
}
|
|
1323
1323
|
}
|
|
1324
|
-
|
|
1325
|
-
const
|
|
1324
|
+
M("mud-footer", W6);
|
|
1325
|
+
const Y6 = {
|
|
1326
1326
|
name: "mconnect",
|
|
1327
1327
|
logo: "mconnect",
|
|
1328
1328
|
tagline: [
|
|
@@ -1335,7 +1335,7 @@ const F6 = {
|
|
|
1335
1335
|
],
|
|
1336
1336
|
buttons: ["login"],
|
|
1337
1337
|
icons: [{ id: "cart", label: { ro: "Coș", ru: "Корзина", en: "Cart" } }]
|
|
1338
|
-
},
|
|
1338
|
+
}, K6 = {
|
|
1339
1339
|
name: "mdate",
|
|
1340
1340
|
logo: "mdate",
|
|
1341
1341
|
tagline: [
|
|
@@ -1347,7 +1347,7 @@ const F6 = {
|
|
|
1347
1347
|
{ id: "catalog", label: { ro: "Catalogul semantic", ru: "Семантический каталог", en: "Semantic catalog" }, newTab: !0 }
|
|
1348
1348
|
],
|
|
1349
1349
|
buttons: ["login"]
|
|
1350
|
-
},
|
|
1350
|
+
}, J6 = {
|
|
1351
1351
|
name: "mpass",
|
|
1352
1352
|
logo: "mpass",
|
|
1353
1353
|
tagline: [
|
|
@@ -1355,7 +1355,7 @@ const F6 = {
|
|
|
1355
1355
|
{ ro: "și control al accesului", ru: "и контроля доступа", en: "and access control service" }
|
|
1356
1356
|
],
|
|
1357
1357
|
buttons: ["login"]
|
|
1358
|
-
},
|
|
1358
|
+
}, X6 = {
|
|
1359
1359
|
name: "msign",
|
|
1360
1360
|
logo: "msign",
|
|
1361
1361
|
tagline: [
|
|
@@ -1367,10 +1367,10 @@ const F6 = {
|
|
|
1367
1367
|
{ id: "verify", label: { ro: "Verifică semnătură", ru: "Проверить подпись", en: "Verify signature" } },
|
|
1368
1368
|
{ id: "info", label: { ro: "Informații", ru: "Информация", en: "Information" } }
|
|
1369
1369
|
]
|
|
1370
|
-
},
|
|
1370
|
+
}, W = {
|
|
1371
1371
|
aboutService: { ro: "Despre serviciu", ru: "О сервисе", en: "About the service" },
|
|
1372
1372
|
verify: { ro: "Verifică", ru: "Проверить", en: "Verify" }
|
|
1373
|
-
},
|
|
1373
|
+
}, Q6 = {
|
|
1374
1374
|
name: "mpower",
|
|
1375
1375
|
logo: "mpower",
|
|
1376
1376
|
tagline: [
|
|
@@ -1378,13 +1378,13 @@ const F6 = {
|
|
|
1378
1378
|
{ ro: "în baza semnăturii electronice", ru: "на основе электронной подписи", en: "based on electronic signature" }
|
|
1379
1379
|
],
|
|
1380
1380
|
nav: [
|
|
1381
|
-
{ id: "verify", label:
|
|
1381
|
+
{ id: "verify", label: W.verify },
|
|
1382
1382
|
{ id: "authorization-types", label: { ro: "Tip împuterniciri", ru: "Типы доверенностей", en: "Authorization types" } },
|
|
1383
1383
|
{ id: "public-authorizations", label: { ro: "Autorizații publice", ru: "Публичные доверенности", en: "Public authorizations" } },
|
|
1384
|
-
{ id: "about", label:
|
|
1384
|
+
{ id: "about", label: W.aboutService }
|
|
1385
1385
|
],
|
|
1386
1386
|
buttons: ["login"]
|
|
1387
|
-
},
|
|
1387
|
+
}, e3 = {
|
|
1388
1388
|
name: "mnotify",
|
|
1389
1389
|
logo: "mnotify",
|
|
1390
1390
|
tagline: [
|
|
@@ -1392,7 +1392,7 @@ const F6 = {
|
|
|
1392
1392
|
{ ro: "de notificare", ru: "уведомлений", en: "notification service" }
|
|
1393
1393
|
],
|
|
1394
1394
|
buttons: ["login", "signature"]
|
|
1395
|
-
},
|
|
1395
|
+
}, t3 = {
|
|
1396
1396
|
name: "mdelivery",
|
|
1397
1397
|
logo: "mdelivery",
|
|
1398
1398
|
tagline: [
|
|
@@ -1405,21 +1405,21 @@ const F6 = {
|
|
|
1405
1405
|
{ id: "tracking", label: { ro: "Urmărește comanda", ru: "Отследить заказ", en: "Track your order" } }
|
|
1406
1406
|
],
|
|
1407
1407
|
buttons: ["login"]
|
|
1408
|
-
},
|
|
1408
|
+
}, o3 = {
|
|
1409
1409
|
name: "mlearn",
|
|
1410
1410
|
logo: "mlearn",
|
|
1411
1411
|
tagline: [
|
|
1412
1412
|
{ ro: "platforma guvernamentală", ru: "государственная платформа", en: "government" },
|
|
1413
1413
|
{ ro: "de instruire la distanță", ru: "дистанционного обучения", en: "distance learning platform" }
|
|
1414
1414
|
]
|
|
1415
|
-
},
|
|
1415
|
+
}, n3 = {
|
|
1416
1416
|
name: "evosign",
|
|
1417
1417
|
logo: "evosign",
|
|
1418
1418
|
tagline: [
|
|
1419
1419
|
{ ro: "Identitatea ta digitală", ru: "Ваша цифровая идентичность", en: "Your digital identity" },
|
|
1420
1420
|
{ ro: "direct în telefon", ru: "прямо в телефоне", en: "right on your phone" }
|
|
1421
1421
|
]
|
|
1422
|
-
},
|
|
1422
|
+
}, i3 = {
|
|
1423
1423
|
name: "mdocs",
|
|
1424
1424
|
logo: "mdocs",
|
|
1425
1425
|
tagline: [
|
|
@@ -1427,7 +1427,7 @@ const F6 = {
|
|
|
1427
1427
|
{ ro: "partajare a documentelor", ru: "обмена документами", en: "sharing platform" }
|
|
1428
1428
|
],
|
|
1429
1429
|
buttons: ["login"]
|
|
1430
|
-
},
|
|
1430
|
+
}, r3 = {
|
|
1431
1431
|
name: "mpay",
|
|
1432
1432
|
logo: "mpay",
|
|
1433
1433
|
tagline: [
|
|
@@ -1439,7 +1439,7 @@ const F6 = {
|
|
|
1439
1439
|
{ id: "invoice", label: { ro: "Verifică nota", ru: "Проверить квитанцию", en: "Check invoice" } }
|
|
1440
1440
|
],
|
|
1441
1441
|
buttons: ["login"]
|
|
1442
|
-
},
|
|
1442
|
+
}, S = {
|
|
1443
1443
|
government: {
|
|
1444
1444
|
label: { ro: "Guvernul Republicii Moldova", ru: "Правительство Республики Молдова", en: "Government of the Republic of Moldova" },
|
|
1445
1445
|
href: "https://gov.md/"
|
|
@@ -1479,19 +1479,19 @@ const F6 = {
|
|
|
1479
1479
|
banner: { ro: "Informare importantă", ru: "Важная информация", en: "Important notice" },
|
|
1480
1480
|
cartCount: { ro: "Coș: {count}", ru: "Корзина: {count}", en: "Cart: {count}" }
|
|
1481
1481
|
}
|
|
1482
|
-
},
|
|
1483
|
-
mconnect:
|
|
1484
|
-
mdate:
|
|
1485
|
-
mpass:
|
|
1486
|
-
msign:
|
|
1487
|
-
mpower:
|
|
1488
|
-
mnotify:
|
|
1489
|
-
mdelivery:
|
|
1490
|
-
mlearn:
|
|
1491
|
-
evosign:
|
|
1492
|
-
mdocs:
|
|
1493
|
-
mpay:
|
|
1494
|
-
},
|
|
1482
|
+
}, Y = {
|
|
1483
|
+
mconnect: Y6,
|
|
1484
|
+
mdate: K6,
|
|
1485
|
+
mpass: J6,
|
|
1486
|
+
msign: X6,
|
|
1487
|
+
mpower: Q6,
|
|
1488
|
+
mnotify: e3,
|
|
1489
|
+
mdelivery: t3,
|
|
1490
|
+
mlearn: o3,
|
|
1491
|
+
evosign: n3,
|
|
1492
|
+
mdocs: i3,
|
|
1493
|
+
mpay: r3
|
|
1494
|
+
}, a3 = {
|
|
1495
1495
|
mconnect: "mconnect-logo.svg",
|
|
1496
1496
|
mdate: "mdate-logo.svg",
|
|
1497
1497
|
mpass: "mpass-logo.svg",
|
|
@@ -1504,16 +1504,16 @@ const F6 = {
|
|
|
1504
1504
|
mlearn: "mlearn-logo.svg",
|
|
1505
1505
|
evosign: "evosign-logo.svg",
|
|
1506
1506
|
guvernulEmblem: "guvernul-emblem.svg"
|
|
1507
|
-
},
|
|
1507
|
+
}, s3 = new URL(
|
|
1508
1508
|
/* @vite-ignore */
|
|
1509
1509
|
"./assets/header/",
|
|
1510
1510
|
import.meta.url
|
|
1511
1511
|
).href;
|
|
1512
|
-
function
|
|
1513
|
-
const
|
|
1514
|
-
return (e ? e.replace(/\/?$/, "/") :
|
|
1512
|
+
function T(t, e) {
|
|
1513
|
+
const o = a3[t] ?? t;
|
|
1514
|
+
return (e ? e.replace(/\/?$/, "/") : s3) + o;
|
|
1515
1515
|
}
|
|
1516
|
-
const
|
|
1516
|
+
const x = {
|
|
1517
1517
|
cart: '<svg viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true"><path fill="currentColor" d="M8.09961 19C8.09961 18.9448 8.05523 18.9004 8 18.9004C7.94477 18.9004 7.90039 18.9448 7.90039 19C7.90039 19.0552 7.94477 19.0996 8 19.0996C8.05523 19.0996 8.09961 19.0552 8.09961 19ZM17.0996 19C17.0996 18.9448 17.0552 18.9004 17 18.9004C16.9448 18.9004 16.9004 18.9448 16.9004 19C16.9004 19.0552 16.9448 19.0996 17 19.0996C17.0552 19.0996 17.0996 19.0552 17.0996 19ZM3.15332 2.09961C4.08189 2.09982 4.87464 2.77153 5.02734 3.6875L5.2627 5.09961H20.0371C21.2317 5.09978 22.1301 6.18968 21.9023 7.3623L20.541 14.3623C20.3674 15.2551 19.5853 15.9004 18.6758 15.9004H6.84668C5.91811 15.9002 5.12536 15.2285 4.97266 14.3125L3.25195 3.9834C3.24391 3.93537 3.20198 3.90061 3.15332 3.90039H2C1.50294 3.90039 1.09961 3.49706 1.09961 3C1.09961 2.50294 1.50294 2.09961 2 2.09961H3.15332ZM6.74805 14.0166C6.75609 14.0646 6.79802 14.0994 6.84668 14.0996H18.6758C18.7234 14.0996 18.7641 14.0662 18.7734 14.0195L20.1348 7.01953C20.1468 6.95789 20.0999 6.90056 20.0371 6.90039H5.5625L6.74805 14.0166ZM9.90039 19C9.90039 20.0493 9.04934 20.9004 8 20.9004C6.95066 20.9004 6.09961 20.0493 6.09961 19C6.09961 17.9507 6.95066 17.0996 8 17.0996C9.04934 17.0996 9.90039 17.9507 9.90039 19ZM18.9004 19C18.9004 20.0493 18.0493 20.9004 17 20.9004C15.9507 20.9004 15.0996 20.0493 15.0996 19C15.0996 17.9507 15.9507 17.0996 17 17.0996C18.0493 17.0996 18.9004 17.9507 18.9004 19Z"/></svg>',
|
|
1518
1518
|
burger: '<svg viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true"><path d="M4 7h16M4 12h16M4 17h16" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg>',
|
|
1519
1519
|
close: '<svg viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true"><path d="M6 6l12 12M18 6L6 18" stroke="currentColor" stroke-width="2" stroke-linecap="round"/></svg>',
|
|
@@ -1521,7 +1521,7 @@ const _ = {
|
|
|
1521
1521
|
check: '<svg viewBox="0 0 24 24" width="24" height="24" fill="none" aria-hidden="true"><path d="M5 12.5l4.5 4.5L19 7.5" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>',
|
|
1522
1522
|
alert: '<svg class="mud-header__banner-icon" viewBox="0 0 24 24" fill="none" aria-hidden="true"><circle cx="12" cy="12" r="12" fill="var(--mud-alert-icon)"/><path d="M12 6v6" stroke="#fff" stroke-width="2" stroke-linecap="round"/><circle cx="12" cy="15.5" r="1.5" fill="#fff"/></svg>',
|
|
1523
1523
|
closeSmall: '<svg viewBox="0 0 20 20" width="20" height="20" fill="none" aria-hidden="true"><path d="M5.5 5.5l9 9M14.5 5.5l-9 9" stroke="currentColor" stroke-width="1.8" stroke-linecap="round"/></svg>'
|
|
1524
|
-
},
|
|
1524
|
+
}, l3 = `
|
|
1525
1525
|
:host {
|
|
1526
1526
|
display: block;
|
|
1527
1527
|
position: sticky; /* header stays on top while scrolling; set position: static on the element to turn off */
|
|
@@ -2061,87 +2061,87 @@ const _ = {
|
|
|
2061
2061
|
display: none;
|
|
2062
2062
|
}
|
|
2063
2063
|
}
|
|
2064
|
-
`,
|
|
2065
|
-
function
|
|
2066
|
-
const
|
|
2067
|
-
e?.logo ||
|
|
2068
|
-
for (const
|
|
2069
|
-
for (const
|
|
2070
|
-
return
|
|
2064
|
+
`, a6 = ({ links: t }) => t?.logo, d3 = ({ links: t }, e) => "id" in e ? t?.nav?.[e.id] : e.href, c3 = ({ links: t }, e) => t?.icons?.[e.id], u3 = ({ links: t }) => t?.login;
|
|
2065
|
+
function p3({ variant: t, links: e, buttons: o }) {
|
|
2066
|
+
const n = [];
|
|
2067
|
+
e?.logo || n.push("logo"), o.includes("login") && !e?.login && n.push("login");
|
|
2068
|
+
for (const r of t.nav ?? []) "id" in r && !e?.nav?.[r.id] && n.push(`nav.${r.id}`);
|
|
2069
|
+
for (const r of t.icons ?? []) e?.icons?.[r.id] || n.push(`icons.${r.id}`);
|
|
2070
|
+
return n;
|
|
2071
2071
|
}
|
|
2072
|
-
const
|
|
2073
|
-
<div class="mud-header__banner" part="banner" role="region" aria-label="${
|
|
2072
|
+
const $ = (t, e) => t ? ` href="${i(v(t, e))}"` : "", C3 = (t) => t.newTab ? ' target="_blank" rel="noopener noreferrer"' : "", m3 = (t, { lang: e, shared: o }) => `
|
|
2073
|
+
<div class="mud-header__banner" part="banner" role="region" aria-label="${i(a(o.labels.banner, e))}" data-banner-id="${i(t.id)}">
|
|
2074
2074
|
<div class="mud-container">
|
|
2075
|
-
${
|
|
2076
|
-
<p class="mud-header__banner-text">${t.title ? `<strong class="mud-header__banner-title">${
|
|
2077
|
-
<button type="button" class="mud-header__banner-close" part="banner-close" aria-label="${
|
|
2075
|
+
${x.alert}
|
|
2076
|
+
<p class="mud-header__banner-text">${t.title ? `<strong class="mud-header__banner-title">${i(t.title)}</strong> ` : ""}${t.text ? i(t.text) : ""}${t.linkText && t.linkHref ? ` <a class="mud-header__banner-link" href="${i(v(t.linkHref, e))}" target="_blank" rel="noopener noreferrer">${i(t.linkText)}</a>` : ""}</p>
|
|
2077
|
+
<button type="button" class="mud-header__banner-close" part="banner-close" aria-label="${i(a(o.labels.closeBanner, e))}">${x.closeSmall}</button>
|
|
2078
2078
|
</div>
|
|
2079
|
-
</div>`,
|
|
2080
|
-
const
|
|
2081
|
-
return `<li><a${
|
|
2082
|
-
},
|
|
2083
|
-
const { lang:
|
|
2084
|
-
(
|
|
2079
|
+
</div>`, s6 = (t) => (e) => {
|
|
2080
|
+
const o = d3(t, e), n = o && t.currentUrl === v(o, t.lang);
|
|
2081
|
+
return `<li><a${$(o, t.lang)}${C3(e)}${n ? ' aria-current="page"' : ""}>${i(a(e.label, t.lang))}</a></li>`;
|
|
2082
|
+
}, g3 = (t, e) => {
|
|
2083
|
+
const { lang: o, variant: n, shared: r, assetsBase: s } = t, c = !!t.langOpen && e, u = r.languages.find((f) => f.code === o) ?? r.languages[0], p = r.languages.map(
|
|
2084
|
+
(f) => `<li role="presentation"><button type="button" role="option" lang="${f.code}" data-lang="${f.code}" aria-selected="${f.code === o}">${i(f.name)}${f.code === o ? x.check : ""}</button></li>`
|
|
2085
2085
|
).join("");
|
|
2086
|
-
return `<div class="mud-header__panel" id="mud-menu" part="panel" role="dialog" aria-modal="true" aria-label="${
|
|
2086
|
+
return `<div class="mud-header__panel" id="mud-menu" part="panel" role="dialog" aria-modal="true" aria-label="${i(a(r.labels.menu, o))}"${e ? "" : " hidden"}>
|
|
2087
2087
|
<div class="mud-header__panel-top">
|
|
2088
|
-
<a class="mud-header__panel-logo"${
|
|
2088
|
+
<a class="mud-header__panel-logo"${$(a6(t), o)}><img src="${i(T(n.logo, s))}" alt="${i(n.name)}"></a>
|
|
2089
2089
|
<div class="mud-header__panel-tools">
|
|
2090
2090
|
<div class="mud-header__langmenu">
|
|
2091
|
-
<button type="button" class="mud-header__langbtn" aria-haspopup="listbox" aria-expanded="${
|
|
2092
|
-
${
|
|
2093
|
-
<span>${
|
|
2091
|
+
<button type="button" class="mud-header__langbtn" aria-haspopup="listbox" aria-expanded="${c}" aria-label="${i(a(r.labels.language, o))}">
|
|
2092
|
+
${x.globe}
|
|
2093
|
+
<span>${i(u.label)}</span>
|
|
2094
2094
|
</button>
|
|
2095
|
-
<ul class="mud-header__langlist" role="listbox" aria-label="${
|
|
2096
|
-
${
|
|
2095
|
+
<ul class="mud-header__langlist" role="listbox" aria-label="${i(a(r.labels.language, o))}"${c ? "" : " hidden"}>
|
|
2096
|
+
${p}
|
|
2097
2097
|
</ul>
|
|
2098
2098
|
</div>
|
|
2099
|
-
<button type="button" class="mud-header__panel-close" aria-label="${
|
|
2099
|
+
<button type="button" class="mud-header__panel-close" aria-label="${i(a(r.labels.closeMenu, o))}">${x.close}</button>
|
|
2100
2100
|
</div>
|
|
2101
2101
|
</div>
|
|
2102
|
-
<ul class="mud-header__panel-nav" aria-label="${
|
|
2102
|
+
<ul class="mud-header__panel-nav" aria-label="${i(a(r.labels.menu, o))}">${(n.nav ?? []).map(s6(t)).join("")}</ul>
|
|
2103
2103
|
</div>`;
|
|
2104
2104
|
};
|
|
2105
|
-
function
|
|
2106
|
-
const { lang: e, variant:
|
|
2107
|
-
const
|
|
2108
|
-
return `<a class="mud-header__btn mud-header__btn--${
|
|
2109
|
-
}).join(""),
|
|
2110
|
-
const
|
|
2111
|
-
return `<a class="mud-header__icon-btn" part="icon-button"${
|
|
2112
|
-
}).join(""),
|
|
2105
|
+
function h3(t) {
|
|
2106
|
+
const { lang: e, variant: o, shared: n, assetsBase: r } = t, s = o.nav ?? [], c = s.length > 0, u = !!t.menuOpen && c, p = t.buttons.filter((C) => n.buttons[C]).map((C) => {
|
|
2107
|
+
const _ = n.buttons[C].href, Z = _ ? "secondary" : "primary", P = _ ? ' target="_blank" rel="noopener noreferrer"' : "";
|
|
2108
|
+
return `<a class="mud-header__btn mud-header__btn--${Z}" part="button-${Z}"${$(_ ?? u3(t), e)}${P}>${i(a(n.buttons[C].label, e))}</a>`;
|
|
2109
|
+
}).join(""), f = (o.icons ?? []).filter((C) => x[C.id]).map((C) => {
|
|
2110
|
+
const _ = C.id === "cart" ? t.cartCount ?? 0 : 0, Z = i(_ > 0 ? a(n.labels.cartCount, e).replace("{count}", String(_)) : a(C.label, e)), P = _ > 0 ? `<span class="mud-header__badge" part="badge" aria-hidden="true">${_ > 99 ? "99+" : _}</span>` : "";
|
|
2111
|
+
return `<a class="mud-header__icon-btn" part="icon-button"${$(c3(t, C), e)} aria-label="${Z}" title="${Z}"><span class="mud-header__icon-wrapper">${x[C.id]}${P}</span></a>`;
|
|
2112
|
+
}).join(""), O = n.languages.map((C) => `<li><button type="button" lang="${C.code}" data-lang="${C.code}"${C.code === e ? ' aria-current="true"' : ""}>${i(C.label)}</button></li>`).join(""), q = i(a(n.labels.menu, e)), p6 = c ? `<ul class="mud-header__nav" part="nav" aria-label="${q}">${s.map(s6(t)).join("")}</ul>` : "", C6 = `<button type="button" class="mud-header__burger" part="burger" aria-label="${q}" aria-expanded="${u}" aria-controls="mud-menu">${x.burger}</button>`, m6 = o.tagline.map((C) => `<span class="mud-tagline-line">${i(a(C, e))}</span>`).join("");
|
|
2113
2113
|
return `
|
|
2114
|
-
<header class="mud-header${
|
|
2114
|
+
<header class="mud-header${c ? " mud-header--has-nav" : ""}" part="header">${t.banner ? m3(t.banner, t) : ""}
|
|
2115
2115
|
<div class="mud-header__pre" part="pre-header">
|
|
2116
2116
|
<div class="mud-container">
|
|
2117
|
-
<a class="mud-header__gov" href="${
|
|
2118
|
-
<img src="${
|
|
2119
|
-
<span>${
|
|
2117
|
+
<a class="mud-header__gov" href="${i(v(n.government.href, e))}" target="_blank" rel="noopener noreferrer">
|
|
2118
|
+
<img src="${i(T("guvernulEmblem", r))}" alt="">
|
|
2119
|
+
<span>${i(a(n.government.label, e))}</span>
|
|
2120
2120
|
</a>
|
|
2121
|
-
<ul class="mud-header__lang" aria-label="${
|
|
2121
|
+
<ul class="mud-header__lang" aria-label="${i(a(n.labels.language, e))}">${O}</ul>
|
|
2122
2122
|
</div>
|
|
2123
2123
|
</div>
|
|
2124
2124
|
<div class="mud-header__bar" part="bar">
|
|
2125
2125
|
<div class="mud-container">
|
|
2126
|
-
<a class="mud-header__brand" part="brand"${
|
|
2127
|
-
<img class="mud-header__brand-logo" src="${
|
|
2126
|
+
<a class="mud-header__brand" part="brand"${$(a6(t), e)}>
|
|
2127
|
+
<img class="mud-header__brand-logo" src="${i(T(o.logo, r))}" alt="${i(o.name)}">
|
|
2128
2128
|
<div class="mud-header__brand-details">
|
|
2129
|
-
<span class="mud-header__brand-name">${
|
|
2130
|
-
<span class="mud-header__brand-tagline">${
|
|
2129
|
+
<span class="mud-header__brand-name">${i(o.name)}</span>
|
|
2130
|
+
<span class="mud-header__brand-tagline">${m6}</span>
|
|
2131
2131
|
</div>
|
|
2132
2132
|
</a>
|
|
2133
|
-
${
|
|
2134
|
-
<div class="mud-header__actions" part="actions">${
|
|
2135
|
-
${
|
|
2133
|
+
${p6}
|
|
2134
|
+
<div class="mud-header__actions" part="actions">${f}${p}</div>
|
|
2135
|
+
${c ? C6 : ""}
|
|
2136
2136
|
</div>
|
|
2137
2137
|
</div>
|
|
2138
|
-
${
|
|
2138
|
+
${c ? g3(t, u) : ""}
|
|
2139
2139
|
</header>`;
|
|
2140
2140
|
}
|
|
2141
|
-
const
|
|
2142
|
-
document.cookie = `${
|
|
2141
|
+
const l6 = "mud-banner-dismissed-", f3 = 720 * 60 * 60, v3 = (t) => t.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-|-$/g, "").slice(0, 60), b3 = (t) => document.cookie.split("; ").includes(`${l6}${t}=1`), _3 = (t) => {
|
|
2142
|
+
document.cookie = `${l6}${t}=1; max-age=${f3}; path=/; SameSite=Lax`;
|
|
2143
2143
|
};
|
|
2144
|
-
class
|
|
2144
|
+
class y3 extends z {
|
|
2145
2145
|
menuOpen = !1;
|
|
2146
2146
|
langOpen = !1;
|
|
2147
2147
|
bannerObserver;
|
|
@@ -2158,8 +2158,8 @@ class l3 extends B {
|
|
|
2158
2158
|
const e = this.getAttribute("links");
|
|
2159
2159
|
if (e) {
|
|
2160
2160
|
try {
|
|
2161
|
-
const
|
|
2162
|
-
if (
|
|
2161
|
+
const o = JSON.parse(e);
|
|
2162
|
+
if (o && typeof o == "object" && !Array.isArray(o)) return o;
|
|
2163
2163
|
} catch {
|
|
2164
2164
|
}
|
|
2165
2165
|
console.error('<mud-header>: the "links" attribute is not a valid JSON object.');
|
|
@@ -2202,18 +2202,18 @@ class l3 extends B {
|
|
|
2202
2202
|
lockScroll(e) {
|
|
2203
2203
|
document.documentElement.style.overflow = e ? "hidden" : "";
|
|
2204
2204
|
}
|
|
2205
|
-
setMenuOpen(e,
|
|
2205
|
+
setMenuOpen(e, o = !1) {
|
|
2206
2206
|
this.menuOpen = e, this.langOpen = !1, this.toggleAttribute("menu-open", e);
|
|
2207
|
-
const
|
|
2208
|
-
!
|
|
2207
|
+
const n = this.root.querySelector(".mud-header__panel"), r = this.root.querySelector(".mud-header__burger");
|
|
2208
|
+
!n || !r || (n.hidden = !e, n.querySelector(".mud-header__langlist").hidden = !0, n.querySelector(".mud-header__langbtn").setAttribute("aria-expanded", "false"), r.setAttribute("aria-expanded", String(e)), this.lockScroll(e), e ? n.querySelector(".mud-header__panel-close").focus() : o && r.focus());
|
|
2209
2209
|
}
|
|
2210
2210
|
setLangOpen(e) {
|
|
2211
2211
|
this.langOpen = e;
|
|
2212
|
-
const
|
|
2213
|
-
!
|
|
2212
|
+
const o = this.root.querySelector(".mud-header__langlist"), n = this.root.querySelector(".mud-header__langbtn");
|
|
2213
|
+
!o || !n || (o.hidden = !e, n.setAttribute("aria-expanded", String(e)));
|
|
2214
2214
|
}
|
|
2215
|
-
changeLang(e,
|
|
2216
|
-
this.setLangOpen(!1), e !==
|
|
2215
|
+
changeLang(e, o) {
|
|
2216
|
+
this.setLangOpen(!1), e !== o && this.emit("mud-language-change", { lang: e });
|
|
2217
2217
|
}
|
|
2218
2218
|
/** Items in the cart, from the optional cart-count attribute; anything but a positive whole number counts as empty. */
|
|
2219
2219
|
get cartCount() {
|
|
@@ -2221,45 +2221,45 @@ class l3 extends B {
|
|
|
2221
2221
|
return Number.isInteger(e) && e > 0 ? e : 0;
|
|
2222
2222
|
}
|
|
2223
2223
|
/** Tells the developer which app links have no address yet (once per change, not on every render). */
|
|
2224
|
-
reportMissing(e,
|
|
2225
|
-
const
|
|
2226
|
-
|
|
2224
|
+
reportMissing(e, o) {
|
|
2225
|
+
const n = o.length ? `<mud-header variant="${e}">: no address supplied for: ${o.join(", ")}. Set them with the "links" property.` : "";
|
|
2226
|
+
n && n !== this.reported && console.error(n), this.reported = n;
|
|
2227
2227
|
}
|
|
2228
2228
|
get variant() {
|
|
2229
|
-
return
|
|
2229
|
+
return Y[this.getAttribute("variant") ?? ""];
|
|
2230
2230
|
}
|
|
2231
2231
|
buttons(e) {
|
|
2232
|
-
const
|
|
2233
|
-
return
|
|
2232
|
+
const o = this.getAttribute("buttons");
|
|
2233
|
+
return o === null ? e.buttons ?? [] : o.split(",").map((n) => n.trim()).filter((n) => n in S.buttons);
|
|
2234
2234
|
}
|
|
2235
2235
|
/** The banner to show: from the `banner-*` attributes, else the site-wide one in data/shared.ts; null when off or closed. */
|
|
2236
2236
|
banner(e) {
|
|
2237
2237
|
if (this.getAttribute("banner") === "off") return null;
|
|
2238
|
-
const
|
|
2239
|
-
let
|
|
2240
|
-
if (
|
|
2241
|
-
|
|
2242
|
-
else if (
|
|
2243
|
-
const
|
|
2244
|
-
|
|
2245
|
-
id:
|
|
2246
|
-
title:
|
|
2247
|
-
text:
|
|
2248
|
-
linkText:
|
|
2249
|
-
linkHref:
|
|
2238
|
+
const o = (s) => this.getAttribute(s);
|
|
2239
|
+
let n;
|
|
2240
|
+
if (o("banner-title") || o("banner-text"))
|
|
2241
|
+
n = { id: o("banner-id"), title: o("banner-title"), text: o("banner-text"), linkText: o("banner-link-text"), linkHref: o("banner-link-href") };
|
|
2242
|
+
else if (S.banner.enabled) {
|
|
2243
|
+
const s = S.banner;
|
|
2244
|
+
n = {
|
|
2245
|
+
id: s.id,
|
|
2246
|
+
title: s.title && a(s.title, e),
|
|
2247
|
+
text: s.text && a(s.text, e),
|
|
2248
|
+
linkText: s.linkText && a(s.linkText, e),
|
|
2249
|
+
linkHref: s.linkHref
|
|
2250
2250
|
};
|
|
2251
2251
|
} else return null;
|
|
2252
|
-
const
|
|
2253
|
-
return
|
|
2252
|
+
const r = n.id || v3(`${n.title ?? ""} ${n.text ?? ""}`);
|
|
2253
|
+
return b3(r) ? null : { ...n, id: r };
|
|
2254
2254
|
}
|
|
2255
2255
|
afterRender() {
|
|
2256
2256
|
this.applyLength("max-width", "--header-max-width"), this.applyLength("padding-x", "--header-padding-x");
|
|
2257
|
-
const e = this.variant,
|
|
2258
|
-
this.toggleAttribute("menu-open",
|
|
2259
|
-
(
|
|
2260
|
-
),
|
|
2261
|
-
const
|
|
2262
|
-
|
|
2257
|
+
const e = this.variant, o = this.pageLang, n = !!e?.nav?.length, r = this.menuOpen && n;
|
|
2258
|
+
this.toggleAttribute("menu-open", r), this.root.querySelectorAll("[data-lang]").forEach(
|
|
2259
|
+
(s) => s.addEventListener("click", () => this.changeLang(s.dataset.lang, o))
|
|
2260
|
+
), n && (this.root.querySelector(".mud-header__burger").addEventListener("click", () => this.setMenuOpen(!0)), this.root.querySelector(".mud-header__panel-close").addEventListener("click", () => this.setMenuOpen(!1, !0)), this.root.querySelector(".mud-header__langbtn").addEventListener("click", () => this.setLangOpen(!this.langOpen)), this.root.querySelectorAll(".mud-header__panel-nav a").forEach((s) => s.addEventListener("click", () => this.setMenuOpen(!1))), this.lockScroll(r)), this.pinBelowBanner(), this.root.querySelector(".mud-header__banner-close")?.addEventListener("click", () => {
|
|
2261
|
+
const s = this.root.querySelector(".mud-header__banner"), c = s.dataset.bannerId;
|
|
2262
|
+
_3(c), s.remove(), this.pinBelowBanner(), this.emit("mud-banner-close", { id: c });
|
|
2263
2263
|
});
|
|
2264
2264
|
}
|
|
2265
2265
|
/** The alert banner scrolls away with the page: the sticky offset is minus its height, so only the rest of the header stays pinned. */
|
|
@@ -2273,34 +2273,34 @@ class l3 extends B {
|
|
|
2273
2273
|
this.bannerObserver = new ResizeObserver(() => this.style.setProperty("--header-sticky-top", `-${e.offsetHeight}px`)), this.bannerObserver.observe(e);
|
|
2274
2274
|
}
|
|
2275
2275
|
/** Maps an optional length attribute to a CSS custom property; without a valid value the default from the styles stays. */
|
|
2276
|
-
applyLength(e,
|
|
2277
|
-
const
|
|
2278
|
-
|
|
2276
|
+
applyLength(e, o) {
|
|
2277
|
+
const n = this.getAttribute(e)?.trim(), r = n && /^\d+(\.\d+)?$/.test(n) ? `${n}px` : n;
|
|
2278
|
+
r && /^\d*\.?\d+(px|rem|em|%|vw|ch)$/.test(r) ? this.style.setProperty(o, r) : this.style.removeProperty(o);
|
|
2279
2279
|
}
|
|
2280
2280
|
styles() {
|
|
2281
|
-
return
|
|
2281
|
+
return l3;
|
|
2282
2282
|
}
|
|
2283
2283
|
template() {
|
|
2284
|
-
const e = this.getAttribute("variant") ?? "",
|
|
2285
|
-
if (!
|
|
2286
|
-
return console.error(`<mud-header>: unknown variant "${e}". Use one of: ${Object.keys(
|
|
2287
|
-
const
|
|
2288
|
-
lang:
|
|
2289
|
-
variant:
|
|
2290
|
-
shared:
|
|
2284
|
+
const e = this.getAttribute("variant") ?? "", o = this.variant;
|
|
2285
|
+
if (!o)
|
|
2286
|
+
return console.error(`<mud-header>: unknown variant "${e}". Use one of: ${Object.keys(Y).join(", ")}.`), "";
|
|
2287
|
+
const n = this.pageLang, r = {
|
|
2288
|
+
lang: n,
|
|
2289
|
+
variant: o,
|
|
2290
|
+
shared: S,
|
|
2291
2291
|
assetsBase: this.getAttribute("assets-base"),
|
|
2292
|
-
buttons: this.buttons(
|
|
2292
|
+
buttons: this.buttons(o),
|
|
2293
2293
|
currentUrl: this.getAttribute("current-url") ?? location.href,
|
|
2294
2294
|
links: this.links,
|
|
2295
|
-
banner: this.banner(
|
|
2295
|
+
banner: this.banner(n),
|
|
2296
2296
|
cartCount: this.cartCount,
|
|
2297
2297
|
menuOpen: this.menuOpen,
|
|
2298
2298
|
langOpen: this.langOpen
|
|
2299
2299
|
};
|
|
2300
|
-
return this.reportMissing(e,
|
|
2300
|
+
return this.reportMissing(e, p3(r)), h3(r);
|
|
2301
2301
|
}
|
|
2302
2302
|
}
|
|
2303
|
-
|
|
2303
|
+
M("mud-header", y3);
|
|
2304
2304
|
const b = {
|
|
2305
2305
|
support: { text: "022 820 000", href: "tel:022820000" },
|
|
2306
2306
|
mconnect: { text: "022 820 022", href: "tel:022820022" },
|
|
@@ -2324,7 +2324,7 @@ const b = {
|
|
|
2324
2324
|
noteTwoRows: !0
|
|
2325
2325
|
},
|
|
2326
2326
|
mconnect: { text: "suport.mconnect@egov.md", href: "mailto:suport.mconnect@egov.md" }
|
|
2327
|
-
},
|
|
2327
|
+
}, l = {
|
|
2328
2328
|
aboutService: { ro: "Despre serviciu", ru: "О сервисе", en: "About the service" },
|
|
2329
2329
|
contacts: { ro: "Contacte", ru: "Контакты", en: "Contacts" },
|
|
2330
2330
|
faq: { ro: "Întrebări frecvente", ru: "Часто задаваемые вопросы", en: "Frequently asked questions" },
|
|
@@ -2335,7 +2335,7 @@ const b = {
|
|
|
2335
2335
|
terms: { ro: "Termeni și condiții", ru: "Условия использования", en: "Terms and conditions" },
|
|
2336
2336
|
usefulResources: { ro: "Resurse utile", ru: "Полезные ресурсы", en: "Useful resources" },
|
|
2337
2337
|
userGuide: { ro: "Ghidul utilizatorului", ru: "Руководство пользователя", en: "User guide" }
|
|
2338
|
-
},
|
|
2338
|
+
}, x3 = {
|
|
2339
2339
|
name: "mconnect",
|
|
2340
2340
|
logo: "mconnect",
|
|
2341
2341
|
tagline: { ro: "platforma guvernamentală de interoperabilitate", ru: "государственная платформа интероперабельности", en: "government interoperability platform" },
|
|
@@ -2343,7 +2343,7 @@ const b = {
|
|
|
2343
2343
|
emails: [m.mconnect],
|
|
2344
2344
|
legal: [
|
|
2345
2345
|
{
|
|
2346
|
-
label:
|
|
2346
|
+
label: l.terms,
|
|
2347
2347
|
id: "terms"
|
|
2348
2348
|
}
|
|
2349
2349
|
],
|
|
@@ -2372,7 +2372,7 @@ const b = {
|
|
|
2372
2372
|
},
|
|
2373
2373
|
{
|
|
2374
2374
|
type: "links",
|
|
2375
|
-
heading:
|
|
2375
|
+
heading: l.usefulResources,
|
|
2376
2376
|
items: [
|
|
2377
2377
|
{
|
|
2378
2378
|
label: "eGov4Dev",
|
|
@@ -2380,15 +2380,15 @@ const b = {
|
|
|
2380
2380
|
newTab: !0
|
|
2381
2381
|
},
|
|
2382
2382
|
{
|
|
2383
|
-
label:
|
|
2383
|
+
label: l.faq,
|
|
2384
2384
|
id: "faq"
|
|
2385
2385
|
},
|
|
2386
2386
|
{
|
|
2387
|
-
label:
|
|
2387
|
+
label: l.reportProblem,
|
|
2388
2388
|
href: "mailto:suport.mconnect@egov.md"
|
|
2389
2389
|
},
|
|
2390
2390
|
{
|
|
2391
|
-
label:
|
|
2391
|
+
label: l.userGuide,
|
|
2392
2392
|
id: "user-guide",
|
|
2393
2393
|
newTab: !0
|
|
2394
2394
|
}
|
|
@@ -2404,7 +2404,7 @@ const b = {
|
|
|
2404
2404
|
"mnotify",
|
|
2405
2405
|
"mpay"
|
|
2406
2406
|
]
|
|
2407
|
-
},
|
|
2407
|
+
}, w3 = {
|
|
2408
2408
|
name: "mdate",
|
|
2409
2409
|
logo: "mdate",
|
|
2410
2410
|
tagline: { ro: "portalul guvernamental de date", ru: "государственный портал данных", en: "government data portal" },
|
|
@@ -2423,7 +2423,7 @@ const b = {
|
|
|
2423
2423
|
},
|
|
2424
2424
|
{
|
|
2425
2425
|
type: "links",
|
|
2426
|
-
heading:
|
|
2426
|
+
heading: l.usefulResources,
|
|
2427
2427
|
items: [
|
|
2428
2428
|
{
|
|
2429
2429
|
label: "eGov4Dev",
|
|
@@ -2431,11 +2431,11 @@ const b = {
|
|
|
2431
2431
|
newTab: !0
|
|
2432
2432
|
},
|
|
2433
2433
|
{
|
|
2434
|
-
label:
|
|
2434
|
+
label: l.faq,
|
|
2435
2435
|
id: "faq"
|
|
2436
2436
|
},
|
|
2437
2437
|
{
|
|
2438
|
-
label:
|
|
2438
|
+
label: l.reportProblem,
|
|
2439
2439
|
href: "mailto:suport.mconnect@egov.md"
|
|
2440
2440
|
}
|
|
2441
2441
|
]
|
|
@@ -2450,7 +2450,7 @@ const b = {
|
|
|
2450
2450
|
"mnotify",
|
|
2451
2451
|
"mpay"
|
|
2452
2452
|
]
|
|
2453
|
-
},
|
|
2453
|
+
}, k3 = {
|
|
2454
2454
|
name: "mpass",
|
|
2455
2455
|
logo: "mpass",
|
|
2456
2456
|
tagline: { ro: "serviciul de autentificare și control al accesului", ru: "сервис аутентификации и контроля доступа", en: "authentication and access control service" },
|
|
@@ -2458,11 +2458,11 @@ const b = {
|
|
|
2458
2458
|
emails: [m.supportCitizens, m.services],
|
|
2459
2459
|
legal: [
|
|
2460
2460
|
{
|
|
2461
|
-
label:
|
|
2461
|
+
label: l.terms,
|
|
2462
2462
|
id: "terms"
|
|
2463
2463
|
},
|
|
2464
2464
|
{
|
|
2465
|
-
label:
|
|
2465
|
+
label: l.privacy,
|
|
2466
2466
|
id: "privacy"
|
|
2467
2467
|
}
|
|
2468
2468
|
],
|
|
@@ -2473,20 +2473,20 @@ const b = {
|
|
|
2473
2473
|
heading: "MPass",
|
|
2474
2474
|
items: [
|
|
2475
2475
|
{
|
|
2476
|
-
label:
|
|
2476
|
+
label: l.integrationProcedure,
|
|
2477
2477
|
id: "procedure"
|
|
2478
2478
|
},
|
|
2479
2479
|
{
|
|
2480
|
-
label:
|
|
2480
|
+
label: l.faq,
|
|
2481
2481
|
id: "faq"
|
|
2482
2482
|
},
|
|
2483
2483
|
{
|
|
2484
|
-
label:
|
|
2484
|
+
label: l.integrationGuide,
|
|
2485
2485
|
href: "https://egov-moldova.github.io/egov4dev/guides/mpass/",
|
|
2486
2486
|
newTab: !0
|
|
2487
2487
|
},
|
|
2488
2488
|
{
|
|
2489
|
-
label:
|
|
2489
|
+
label: l.reportProblem,
|
|
2490
2490
|
href: "mailto:suport@egov.md"
|
|
2491
2491
|
}
|
|
2492
2492
|
]
|
|
@@ -2504,7 +2504,7 @@ const b = {
|
|
|
2504
2504
|
"mnotify",
|
|
2505
2505
|
"mpay"
|
|
2506
2506
|
]
|
|
2507
|
-
},
|
|
2507
|
+
}, M3 = {
|
|
2508
2508
|
name: "msign",
|
|
2509
2509
|
logo: "msign",
|
|
2510
2510
|
tagline: { ro: "serviciul guvernamental de semnătură electronică", ru: "государственный сервис электронной подписи", en: "government electronic signature service" },
|
|
@@ -2512,11 +2512,11 @@ const b = {
|
|
|
2512
2512
|
emails: [m.supportCitizens, m.services],
|
|
2513
2513
|
legal: [
|
|
2514
2514
|
{
|
|
2515
|
-
label:
|
|
2515
|
+
label: l.terms,
|
|
2516
2516
|
id: "terms"
|
|
2517
2517
|
},
|
|
2518
2518
|
{
|
|
2519
|
-
label:
|
|
2519
|
+
label: l.privacy,
|
|
2520
2520
|
id: "privacy"
|
|
2521
2521
|
}
|
|
2522
2522
|
],
|
|
@@ -2527,20 +2527,20 @@ const b = {
|
|
|
2527
2527
|
heading: "MSign",
|
|
2528
2528
|
items: [
|
|
2529
2529
|
{
|
|
2530
|
-
label:
|
|
2530
|
+
label: l.integrationProcedure,
|
|
2531
2531
|
id: "procedure"
|
|
2532
2532
|
},
|
|
2533
2533
|
{
|
|
2534
|
-
label:
|
|
2534
|
+
label: l.faq,
|
|
2535
2535
|
id: "faq"
|
|
2536
2536
|
},
|
|
2537
2537
|
{
|
|
2538
|
-
label:
|
|
2538
|
+
label: l.integrationGuide,
|
|
2539
2539
|
href: "https://egov-moldova.github.io/egov4dev/guides/msign/",
|
|
2540
2540
|
newTab: !0
|
|
2541
2541
|
},
|
|
2542
2542
|
{
|
|
2543
|
-
label:
|
|
2543
|
+
label: l.reportProblem,
|
|
2544
2544
|
href: "mailto:suport@egov.md"
|
|
2545
2545
|
}
|
|
2546
2546
|
]
|
|
@@ -2558,7 +2558,7 @@ const b = {
|
|
|
2558
2558
|
"mnotify",
|
|
2559
2559
|
"mpay"
|
|
2560
2560
|
]
|
|
2561
|
-
},
|
|
2561
|
+
}, Z3 = {
|
|
2562
2562
|
name: "mpower",
|
|
2563
2563
|
logo: "mpower",
|
|
2564
2564
|
tagline: { ro: "registrul împuternicirilor de reprezentare în baza semnăturii electronice", ru: "реестр доверенностей на представительство на основе электронной подписи", en: "register of representation authorizations based on electronic signature" },
|
|
@@ -2566,11 +2566,11 @@ const b = {
|
|
|
2566
2566
|
emails: [m.supportCitizens, m.services],
|
|
2567
2567
|
legal: [
|
|
2568
2568
|
{
|
|
2569
|
-
label:
|
|
2569
|
+
label: l.terms,
|
|
2570
2570
|
id: "terms"
|
|
2571
2571
|
},
|
|
2572
2572
|
{
|
|
2573
|
-
label:
|
|
2573
|
+
label: l.privacy,
|
|
2574
2574
|
id: "privacy"
|
|
2575
2575
|
}
|
|
2576
2576
|
],
|
|
@@ -2581,24 +2581,24 @@ const b = {
|
|
|
2581
2581
|
heading: "MPower",
|
|
2582
2582
|
items: [
|
|
2583
2583
|
{
|
|
2584
|
-
label:
|
|
2584
|
+
label: l.aboutService,
|
|
2585
2585
|
id: "about"
|
|
2586
2586
|
},
|
|
2587
2587
|
{
|
|
2588
|
-
label:
|
|
2588
|
+
label: l.faq,
|
|
2589
2589
|
id: "faq"
|
|
2590
2590
|
},
|
|
2591
2591
|
{
|
|
2592
|
-
label:
|
|
2592
|
+
label: l.contacts,
|
|
2593
2593
|
id: "contacts"
|
|
2594
2594
|
},
|
|
2595
2595
|
{
|
|
2596
|
-
label:
|
|
2596
|
+
label: l.integrationGuide,
|
|
2597
2597
|
href: "https://egov-moldova.github.io/egov4dev/guides/mpower/",
|
|
2598
2598
|
newTab: !0
|
|
2599
2599
|
},
|
|
2600
2600
|
{
|
|
2601
|
-
label:
|
|
2601
|
+
label: l.reportProblem,
|
|
2602
2602
|
href: "mailto:suport@egov.md"
|
|
2603
2603
|
}
|
|
2604
2604
|
]
|
|
@@ -2620,7 +2620,7 @@ const b = {
|
|
|
2620
2620
|
id: "authorization-types"
|
|
2621
2621
|
},
|
|
2622
2622
|
{
|
|
2623
|
-
label:
|
|
2623
|
+
label: l.userGuide,
|
|
2624
2624
|
id: "user-guide",
|
|
2625
2625
|
newTab: !0
|
|
2626
2626
|
}
|
|
@@ -2630,7 +2630,7 @@ const b = {
|
|
|
2630
2630
|
type: "signature"
|
|
2631
2631
|
}
|
|
2632
2632
|
]
|
|
2633
|
-
},
|
|
2633
|
+
}, L3 = {
|
|
2634
2634
|
name: "mnotify",
|
|
2635
2635
|
logo: "mnotify",
|
|
2636
2636
|
tagline: { ro: "serviciul guvernamental de notificare", ru: "государственный сервис уведомлений", en: "government notification service" },
|
|
@@ -2638,11 +2638,11 @@ const b = {
|
|
|
2638
2638
|
emails: [m.supportCitizens, m.services],
|
|
2639
2639
|
legal: [
|
|
2640
2640
|
{
|
|
2641
|
-
label:
|
|
2641
|
+
label: l.terms,
|
|
2642
2642
|
id: "terms"
|
|
2643
2643
|
},
|
|
2644
2644
|
{
|
|
2645
|
-
label:
|
|
2645
|
+
label: l.privacy,
|
|
2646
2646
|
id: "privacy"
|
|
2647
2647
|
}
|
|
2648
2648
|
],
|
|
@@ -2653,20 +2653,58 @@ const b = {
|
|
|
2653
2653
|
heading: "MNotify",
|
|
2654
2654
|
items: [
|
|
2655
2655
|
{
|
|
2656
|
-
label:
|
|
2657
|
-
|
|
2656
|
+
label: l.integrationGuide,
|
|
2657
|
+
href: "https://egov-moldova.github.io/egov4dev/guides/mnotify/",
|
|
2658
|
+
newTab: !0
|
|
2658
2659
|
},
|
|
2659
2660
|
{
|
|
2660
|
-
label:
|
|
2661
|
-
|
|
2662
|
-
}
|
|
2661
|
+
label: l.reportProblem,
|
|
2662
|
+
href: "mailto:suport@egov.md"
|
|
2663
|
+
}
|
|
2664
|
+
]
|
|
2665
|
+
},
|
|
2666
|
+
{
|
|
2667
|
+
type: "signature"
|
|
2668
|
+
},
|
|
2669
|
+
{
|
|
2670
|
+
type: "platforms"
|
|
2671
|
+
}
|
|
2672
|
+
],
|
|
2673
|
+
usefulPlatforms: [
|
|
2674
|
+
"mpass",
|
|
2675
|
+
"msign",
|
|
2676
|
+
"mpower",
|
|
2677
|
+
"mpay"
|
|
2678
|
+
]
|
|
2679
|
+
}, $3 = {
|
|
2680
|
+
name: "mpay",
|
|
2681
|
+
logo: "mpay",
|
|
2682
|
+
tagline: { ro: "serviciul guvernamental de plăți electronice", ru: "государственный сервис электронных платежей", en: "government electronic payment service" },
|
|
2683
|
+
phone: b.support,
|
|
2684
|
+
emails: [m.supportCitizens, m.services],
|
|
2685
|
+
legal: [
|
|
2686
|
+
{
|
|
2687
|
+
label: l.terms,
|
|
2688
|
+
id: "terms"
|
|
2689
|
+
},
|
|
2690
|
+
{
|
|
2691
|
+
label: l.privacy,
|
|
2692
|
+
id: "privacy"
|
|
2693
|
+
}
|
|
2694
|
+
],
|
|
2695
|
+
taglineMaxWidth: 130,
|
|
2696
|
+
columns: [
|
|
2697
|
+
{
|
|
2698
|
+
type: "links",
|
|
2699
|
+
heading: "MPay",
|
|
2700
|
+
items: [
|
|
2663
2701
|
{
|
|
2664
|
-
label:
|
|
2665
|
-
href: "https://egov-moldova.github.io/egov4dev/guides/
|
|
2702
|
+
label: l.integrationGuide,
|
|
2703
|
+
href: "https://egov-moldova.github.io/egov4dev/guides/mpay/",
|
|
2666
2704
|
newTab: !0
|
|
2667
2705
|
},
|
|
2668
2706
|
{
|
|
2669
|
-
label:
|
|
2707
|
+
label: l.reportProblem,
|
|
2670
2708
|
href: "mailto:suport@egov.md"
|
|
2671
2709
|
}
|
|
2672
2710
|
]
|
|
@@ -2682,9 +2720,9 @@ const b = {
|
|
|
2682
2720
|
"mpass",
|
|
2683
2721
|
"msign",
|
|
2684
2722
|
"mpower",
|
|
2685
|
-
"
|
|
2723
|
+
"mnotify"
|
|
2686
2724
|
]
|
|
2687
|
-
},
|
|
2725
|
+
}, H3 = {
|
|
2688
2726
|
name: "mdelivery",
|
|
2689
2727
|
logo: "mdelivery",
|
|
2690
2728
|
tagline: { ro: "serviciul guvernamental de livrare", ru: "государственный сервис доставки", en: "government delivery service" },
|
|
@@ -2692,7 +2730,7 @@ const b = {
|
|
|
2692
2730
|
emails: [m.support],
|
|
2693
2731
|
legal: [
|
|
2694
2732
|
{
|
|
2695
|
-
label:
|
|
2733
|
+
label: l.terms,
|
|
2696
2734
|
id: "terms"
|
|
2697
2735
|
}
|
|
2698
2736
|
],
|
|
@@ -2702,24 +2740,24 @@ const b = {
|
|
|
2702
2740
|
heading: "MDelivery",
|
|
2703
2741
|
items: [
|
|
2704
2742
|
{
|
|
2705
|
-
label:
|
|
2743
|
+
label: l.aboutService,
|
|
2706
2744
|
id: "about"
|
|
2707
2745
|
},
|
|
2708
2746
|
{
|
|
2709
|
-
label:
|
|
2747
|
+
label: l.faq,
|
|
2710
2748
|
id: "faq"
|
|
2711
2749
|
},
|
|
2712
2750
|
{
|
|
2713
|
-
label:
|
|
2751
|
+
label: l.contacts,
|
|
2714
2752
|
id: "contacts"
|
|
2715
2753
|
},
|
|
2716
2754
|
{
|
|
2717
|
-
label:
|
|
2755
|
+
label: l.integrationGuide,
|
|
2718
2756
|
href: "https://egov-moldova.github.io/egov4dev/guides/mdelivery/",
|
|
2719
2757
|
newTab: !0
|
|
2720
2758
|
},
|
|
2721
2759
|
{
|
|
2722
|
-
label:
|
|
2760
|
+
label: l.reportProblem,
|
|
2723
2761
|
href: "mailto:suport@egov.md"
|
|
2724
2762
|
}
|
|
2725
2763
|
]
|
|
@@ -2737,7 +2775,7 @@ const b = {
|
|
|
2737
2775
|
"mnotify",
|
|
2738
2776
|
"mpay"
|
|
2739
2777
|
]
|
|
2740
|
-
},
|
|
2778
|
+
}, z3 = {
|
|
2741
2779
|
name: "mlearn",
|
|
2742
2780
|
logo: "mlearn",
|
|
2743
2781
|
tagline: { ro: "platforma guvernamentală de instruire la distanță", ru: "государственная платформа дистанционного обучения", en: "government distance learning platform" },
|
|
@@ -2745,7 +2783,7 @@ const b = {
|
|
|
2745
2783
|
emails: [m.supportCitizens, m.services],
|
|
2746
2784
|
legal: [
|
|
2747
2785
|
{
|
|
2748
|
-
label:
|
|
2786
|
+
label: l.terms,
|
|
2749
2787
|
id: "terms"
|
|
2750
2788
|
}
|
|
2751
2789
|
],
|
|
@@ -2757,7 +2795,7 @@ const b = {
|
|
|
2757
2795
|
heading: "MLearn",
|
|
2758
2796
|
items: [
|
|
2759
2797
|
{
|
|
2760
|
-
label:
|
|
2798
|
+
label: l.faq,
|
|
2761
2799
|
id: "faq"
|
|
2762
2800
|
},
|
|
2763
2801
|
{
|
|
@@ -2766,7 +2804,7 @@ const b = {
|
|
|
2766
2804
|
newTab: !0
|
|
2767
2805
|
},
|
|
2768
2806
|
{
|
|
2769
|
-
label:
|
|
2807
|
+
label: l.reportProblem,
|
|
2770
2808
|
href: "mailto:suport@egov.md"
|
|
2771
2809
|
}
|
|
2772
2810
|
]
|
|
@@ -2784,7 +2822,7 @@ const b = {
|
|
|
2784
2822
|
"mnotify",
|
|
2785
2823
|
"mpay"
|
|
2786
2824
|
]
|
|
2787
|
-
},
|
|
2825
|
+
}, S3 = {
|
|
2788
2826
|
name: "evosign",
|
|
2789
2827
|
logo: "evosign",
|
|
2790
2828
|
tagline: { ro: "Identitatea ta digitală direct în telefon", ru: "Ваша цифровая идентичность прямо в телефоне", en: "Your digital identity right on your phone" },
|
|
@@ -2792,11 +2830,11 @@ const b = {
|
|
|
2792
2830
|
emails: [m.support],
|
|
2793
2831
|
legal: [
|
|
2794
2832
|
{
|
|
2795
|
-
label:
|
|
2833
|
+
label: l.terms,
|
|
2796
2834
|
id: "terms"
|
|
2797
2835
|
},
|
|
2798
2836
|
{
|
|
2799
|
-
label:
|
|
2837
|
+
label: l.privacy,
|
|
2800
2838
|
id: "privacy"
|
|
2801
2839
|
}
|
|
2802
2840
|
],
|
|
@@ -2807,15 +2845,15 @@ const b = {
|
|
|
2807
2845
|
heading: "EVOSign",
|
|
2808
2846
|
items: [
|
|
2809
2847
|
{
|
|
2810
|
-
label:
|
|
2848
|
+
label: l.faq,
|
|
2811
2849
|
id: "faq"
|
|
2812
2850
|
},
|
|
2813
2851
|
{
|
|
2814
|
-
label:
|
|
2852
|
+
label: l.contacts,
|
|
2815
2853
|
id: "contacts"
|
|
2816
2854
|
},
|
|
2817
2855
|
{
|
|
2818
|
-
label:
|
|
2856
|
+
label: l.reportProblem,
|
|
2819
2857
|
href: "mailto:suport@egov.md"
|
|
2820
2858
|
}
|
|
2821
2859
|
]
|
|
@@ -2833,7 +2871,7 @@ const b = {
|
|
|
2833
2871
|
"mnotify",
|
|
2834
2872
|
"mpay"
|
|
2835
2873
|
]
|
|
2836
|
-
},
|
|
2874
|
+
}, A3 = {
|
|
2837
2875
|
copyright: { ro: "© 2026 Toate drepturile rezervate. Agenția de Guvernare Electronică", ru: "© 2026 Все права защищены. Агентство электронного управления", en: "© 2026 All rights reserved. e-Governance Agency" },
|
|
2838
2876
|
signatureHeading: { ro: "Semnătura electronică", ru: "Электронная подпись", en: "Electronic signature" },
|
|
2839
2877
|
usefulPlatformsHeading: { ro: "Platforme utile", ru: "Полезные платформы", en: "Useful platforms" },
|
|
@@ -2937,23 +2975,25 @@ const b = {
|
|
|
2937
2975
|
href: "https://play.google.com/store/apps/details?id=md.egov.evo&pcampaignid=web_share"
|
|
2938
2976
|
}
|
|
2939
2977
|
}
|
|
2940
|
-
},
|
|
2941
|
-
mconnect:
|
|
2942
|
-
mdate:
|
|
2943
|
-
mpass:
|
|
2944
|
-
msign:
|
|
2945
|
-
mpower:
|
|
2946
|
-
mnotify:
|
|
2947
|
-
|
|
2948
|
-
|
|
2949
|
-
|
|
2950
|
-
|
|
2978
|
+
}, K = {
|
|
2979
|
+
mconnect: x3,
|
|
2980
|
+
mdate: w3,
|
|
2981
|
+
mpass: k3,
|
|
2982
|
+
msign: M3,
|
|
2983
|
+
mpower: Z3,
|
|
2984
|
+
mnotify: L3,
|
|
2985
|
+
mpay: $3,
|
|
2986
|
+
mdelivery: H3,
|
|
2987
|
+
mlearn: z3,
|
|
2988
|
+
evosign: S3
|
|
2989
|
+
}, G3 = {
|
|
2951
2990
|
mconnect: "mconnect-logo.svg",
|
|
2952
2991
|
mdate: "mdate-logo.svg",
|
|
2953
2992
|
mpass: "mpass-logo.svg",
|
|
2954
2993
|
msign: "msign-logo.svg",
|
|
2955
2994
|
mpower: "mpower-logo.svg",
|
|
2956
2995
|
mnotify: "mnotify-logo.svg",
|
|
2996
|
+
mpay: "mpay-logo.svg",
|
|
2957
2997
|
mdelivery: "mdelivery-logo.svg",
|
|
2958
2998
|
mlearn: "mlearn-logo.svg",
|
|
2959
2999
|
evosign: "evosign-logo.svg",
|
|
@@ -2962,16 +3002,16 @@ const b = {
|
|
|
2962
3002
|
evo: "evo-logo.svg",
|
|
2963
3003
|
appStore: "app-store-badge.svg",
|
|
2964
3004
|
googlePlay: "google-play-badge.svg"
|
|
2965
|
-
},
|
|
3005
|
+
}, V3 = new URL(
|
|
2966
3006
|
/* @vite-ignore */
|
|
2967
3007
|
"./assets/footer-v2/",
|
|
2968
3008
|
import.meta.url
|
|
2969
3009
|
).href;
|
|
2970
|
-
function
|
|
2971
|
-
const
|
|
2972
|
-
return (e ? e.replace(/\/?$/, "/") :
|
|
3010
|
+
function H(t, e) {
|
|
3011
|
+
const o = G3[t] ?? t;
|
|
3012
|
+
return (e ? e.replace(/\/?$/, "/") : V3) + o;
|
|
2973
3013
|
}
|
|
2974
|
-
const
|
|
3014
|
+
const U3 = `<symbol id="icon-phone" viewBox="3.8 3.1 17.7 17.7">
|
|
2975
3015
|
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.60003 4.9001C5.95829 4.9001 5.55617 5.40073 5.61643 5.88498C6.4666 12.7167 11.8835 18.1335 18.7151 18.9837C19.1994 19.044 19.7 18.6418 19.7 18.0001V16.6882C19.7 16.2024 19.3814 15.7741 18.9161 15.6345L16.9135 15.0338C16.8783 15.0232 16.8401 15.0328 16.8141 15.0588L16.5539 15.319C15.6962 16.1767 14.3093 16.4698 13.1826 15.7576C11.4333 14.6519 9.94826 13.1668 8.84255 11.4175C8.13033 10.2908 8.42343 8.9039 9.28108 8.04625L9.54128 7.78605C9.56729 7.76004 9.57692 7.72184 9.56635 7.68661L8.96557 5.68402C8.82599 5.21873 8.39774 4.9001 7.91197 4.9001H6.60003ZM3.83021 6.10727C3.61766 4.39929 5.03262 3.1001 6.60003 3.1001H7.91197C9.19263 3.1001 10.3217 3.94014 10.6897 5.16679L11.2904 7.16938C11.4913 7.83888 11.3083 8.56459 10.8141 9.05884L10.5539 9.31905C10.2044 9.66856 10.1641 10.1395 10.3641 10.4558C11.327 11.9792 12.6209 13.2731 14.1443 14.2361C14.4607 14.436 14.9316 14.3958 15.2811 14.0463L15.5413 13.7861C16.0355 13.2918 16.7612 13.1088 17.4307 13.3097L19.4333 13.9105C20.66 14.2785 21.5 15.4075 21.5 16.6882V18.0001C21.5 19.5675 20.2008 20.9825 18.4929 20.7699C10.8433 19.818 4.78216 13.7568 3.83021 6.10727Z" fill="currentColor"/>
|
|
2976
3016
|
</symbol>
|
|
2977
3017
|
|
|
@@ -2997,7 +3037,7 @@ const _3 = `<symbol id="icon-phone" viewBox="3.8 3.1 17.7 17.7">
|
|
|
2997
3037
|
|
|
2998
3038
|
<symbol id="icon-linkedin-filled" viewBox="0 0 25 24">
|
|
2999
3039
|
<path d="M20.25 3H4.94998C4.59193 3 4.24856 3.14223 3.99538 3.39541C3.74221 3.64858 3.59998 3.99196 3.59998 4.35V19.65C3.59998 20.008 3.74221 20.3514 3.99538 20.6046C4.24856 20.8578 4.59193 21 4.94998 21H20.25C20.608 21 20.9514 20.8578 21.2046 20.6046C21.4577 20.3514 21.6 20.008 21.6 19.65V4.35C21.6 3.99196 21.4577 3.64858 21.2046 3.39541C20.9514 3.14223 20.608 3 20.25 3ZM8.99998 18.3H6.29998V10.2H8.99998V18.3ZM7.64998 8.625C7.34054 8.61616 7.04057 8.51632 6.78755 8.33797C6.53453 8.15962 6.33968 7.91066 6.22734 7.6222C6.115 7.33374 6.09016 7.01857 6.15592 6.71607C6.22168 6.41358 6.37512 6.13716 6.59708 5.92138C6.81903 5.70559 7.09965 5.55999 7.40388 5.50278C7.70811 5.44556 8.02246 5.47927 8.30764 5.59969C8.59282 5.7201 8.83619 5.92189 9.00735 6.17983C9.1785 6.43778 9.26985 6.74044 9.26998 7.05C9.26287 7.47331 9.08848 7.8766 8.78492 8.17173C8.48136 8.46685 8.07332 8.62982 7.64998 8.625ZM18.9 18.3H16.2V14.034C16.2 12.756 15.66 12.297 14.958 12.297C14.7522 12.3107 14.5511 12.3649 14.3663 12.4566C14.1815 12.5482 14.0166 12.6755 13.8811 12.831C13.7456 12.9866 13.6422 13.1674 13.5768 13.363C13.5114 13.5586 13.4853 13.7652 13.5 13.971C13.4955 14.0129 13.4955 14.0551 13.5 14.097V18.3H10.8V10.2H13.41V11.37C13.6733 10.9695 14.035 10.6433 14.4604 10.4227C14.8859 10.2021 15.3609 10.0944 15.84 10.11C17.235 10.11 18.864 10.884 18.864 13.404L18.9 18.3Z" fill="currentColor"/>
|
|
3000
|
-
</symbol>`,
|
|
3040
|
+
</symbol>`, O3 = `/* Footer styles, scoped by the shadow DOM. Values on :host are provisional design tokens; swap them for the MUD/Figma tokens. */
|
|
3001
3041
|
|
|
3002
3042
|
:host {
|
|
3003
3043
|
display: block;
|
|
@@ -3410,125 +3450,125 @@ const _3 = `<symbol id="icon-phone" viewBox="3.8 3.1 17.7 17.7">
|
|
|
3410
3450
|
align-items: flex-start;
|
|
3411
3451
|
}
|
|
3412
3452
|
}
|
|
3413
|
-
`,
|
|
3414
|
-
function
|
|
3453
|
+
`, d6 = (t) => t.newTab ? ' target="_blank" rel="noopener noreferrer"' : "", V = (t, e = "") => `<svg class="mud-icon ${e}"><use href="#${t}"></use></svg>`, k = (t, e) => t.sections?.[e] !== !1;
|
|
3454
|
+
function P3(t) {
|
|
3415
3455
|
const e = [...t.legal ?? []];
|
|
3416
|
-
for (const
|
|
3417
|
-
return e.filter((
|
|
3456
|
+
for (const o of t.columns) o.type === "links" && e.push(...o.items);
|
|
3457
|
+
return e.filter((o) => "id" in o).map((o) => o.id);
|
|
3418
3458
|
}
|
|
3419
|
-
const
|
|
3420
|
-
const
|
|
3421
|
-
return
|
|
3422
|
-
},
|
|
3459
|
+
const c6 = ({ links: t, lang: e }, o) => {
|
|
3460
|
+
const n = "id" in o ? t?.items?.[o.id] : o.href;
|
|
3461
|
+
return n ? ` href="${i(v(n, e))}"` : "";
|
|
3462
|
+
}, F3 = (t) => (e) => `<li class="mud-footer__nav--item"><a class="mud-footer__nav--link"${c6(t, e)}${d6(e)}>${i(a(e.label, t.lang))}${e.badge ? `<span class="mud-badge">${i(a(e.badge, t.lang))}</span>` : ""}</a></li>`, B = (t, e) => `
|
|
3423
3463
|
<div class="mud-footer__nav-col">
|
|
3424
3464
|
<div class="mud-footer__heading">${t || " "}</div>
|
|
3425
3465
|
<ul class="mud-footer__nav--list">${e}</ul>
|
|
3426
3466
|
</div>`;
|
|
3427
|
-
function
|
|
3428
|
-
const { key:
|
|
3467
|
+
function D3(t, e) {
|
|
3468
|
+
const { key: o, lang: n, variant: r, shared: s } = e, c = F3(e);
|
|
3429
3469
|
switch (t.type) {
|
|
3430
3470
|
case "links":
|
|
3431
|
-
return
|
|
3471
|
+
return B(i(a(t.heading, n)), t.items.map(c).join(""));
|
|
3432
3472
|
case "signature": {
|
|
3433
|
-
const u =
|
|
3434
|
-
return u.length ?
|
|
3473
|
+
const u = s.signature.filter((p) => p.platform !== o);
|
|
3474
|
+
return u.length ? B(i(a(s.signatureHeading, n)), u.map(c).join("")) : "";
|
|
3435
3475
|
}
|
|
3436
3476
|
case "platforms": {
|
|
3437
|
-
const u = (
|
|
3477
|
+
const u = (r.usefulPlatforms ?? []).map((O) => s.platformCatalog[O]).filter(Boolean);
|
|
3438
3478
|
if (!u.length) return "";
|
|
3439
|
-
const
|
|
3440
|
-
return
|
|
3479
|
+
const p = s.platformMore, f = `<li class="mud-footer__nav--item"><a class="mud-footer__nav--link mud-footer__nav--link--more" href="${i(v(p.href, n))}">${i(a(p.label, n))}${V("icon-arrow-right", "mud-icon-small")}</a></li>`;
|
|
3480
|
+
return B(i(a(s.usefulPlatformsHeading, n)), u.map(c).join("") + f);
|
|
3441
3481
|
}
|
|
3442
3482
|
}
|
|
3443
3483
|
}
|
|
3444
|
-
const
|
|
3445
|
-
const
|
|
3484
|
+
const B3 = ({ variant: t, lang: e }) => {
|
|
3485
|
+
const o = t.phone ? `
|
|
3446
3486
|
<li>
|
|
3447
|
-
<a href="${
|
|
3448
|
-
</li>` : "",
|
|
3449
|
-
const
|
|
3487
|
+
<a href="${i(t.phone.href)}"><span class="mud-d-inline-flex" aria-hidden="true">${V("icon-phone", "mud-icon--phone")}</span>${i(t.phone.text)}</a>
|
|
3488
|
+
</li>` : "", n = t.emails.map((r) => {
|
|
3489
|
+
const s = r.note ? `<span class="mud-footer__contact-label${r.noteTwoRows ? " mud-footer__contact-label--two-rows" : ""}">${i(a(r.note, e))}</span>` : "";
|
|
3450
3490
|
return `
|
|
3451
3491
|
<li>
|
|
3452
|
-
<a href="${r
|
|
3492
|
+
<a href="${i(r.href)}"><span class="mud-d-inline-flex" aria-hidden="true">${V("icon-envelope", "mud-icon--envelope")}</span>${i(r.text)}</a>${s}
|
|
3453
3493
|
</li>`;
|
|
3454
3494
|
}).join("");
|
|
3455
|
-
return
|
|
3456
|
-
<ul class="mud-footer__contact">${
|
|
3495
|
+
return o || n ? `
|
|
3496
|
+
<ul class="mud-footer__contact">${o}${n}
|
|
3457
3497
|
</ul>` : "";
|
|
3458
|
-
},
|
|
3459
|
-
const { variant: e, lang:
|
|
3498
|
+
}, E3 = (t) => {
|
|
3499
|
+
const { variant: e, lang: o, assetsBase: n } = t, r = e.taglineMaxWidth ? ` style="max-width:${e.taglineMaxWidth}px"` : "";
|
|
3460
3500
|
return `
|
|
3461
3501
|
<div class="mud-footer__brand">
|
|
3462
|
-
<a class="mud-footer__logo"${t.links?.logo ? ` href="${
|
|
3463
|
-
<img class="mud-footer__brand--logo" src="${
|
|
3464
|
-
<div class="mud-footer__brand--details"${
|
|
3465
|
-
<span class="mud-brand-text">${
|
|
3466
|
-
<span class="mud-brand-description">${
|
|
3502
|
+
<a class="mud-footer__logo"${t.links?.logo ? ` href="${i(v(t.links.logo, o))}"` : ""}>
|
|
3503
|
+
<img class="mud-footer__brand--logo" src="${i(H(e.logo, n))}" alt="${i(e.name)}">
|
|
3504
|
+
<div class="mud-footer__brand--details"${r}>
|
|
3505
|
+
<span class="mud-brand-text">${i(e.name)}</span>
|
|
3506
|
+
<span class="mud-brand-description">${i(a(e.tagline, o))}</span>
|
|
3467
3507
|
</div>
|
|
3468
|
-
</a>${
|
|
3508
|
+
</a>${k(e, "contact") ? B3(t) : ""}
|
|
3469
3509
|
</div>`;
|
|
3470
|
-
},
|
|
3510
|
+
}, T3 = ({ shared: t, lang: e, assetsBase: o }) => `
|
|
3471
3511
|
<div class="mud-footer__extras">
|
|
3472
|
-
<img class="mud-footer__extras-icon" src="${
|
|
3473
|
-
<div class="mud-footer__description">${
|
|
3512
|
+
<img class="mud-footer__extras-icon" src="${i(H("evo", o))}" alt="" aria-hidden="true">
|
|
3513
|
+
<div class="mud-footer__description">${i(a(t.evo.description, e))}</div>
|
|
3474
3514
|
<div class="mud-footer__apps">
|
|
3475
|
-
<a href="${
|
|
3476
|
-
<img class="mud-footer__apps-badge mud-footer__apps-badge--apple" src="${
|
|
3515
|
+
<a href="${i(t.evo.apple.href)}" target="_blank" rel="noopener noreferrer" aria-label="${i(a(t.evo.apple.label, e))}">
|
|
3516
|
+
<img class="mud-footer__apps-badge mud-footer__apps-badge--apple" src="${i(H("appStore", o))}" alt="${i(a(t.evo.apple.label, e))}">
|
|
3477
3517
|
</a>
|
|
3478
|
-
<a href="${
|
|
3479
|
-
<img class="mud-footer__apps-badge mud-footer__apps-badge--google" src="${
|
|
3518
|
+
<a href="${i(t.evo.google.href)}" target="_blank" rel="noopener noreferrer" aria-label="${i(a(t.evo.google.label, e))}">
|
|
3519
|
+
<img class="mud-footer__apps-badge mud-footer__apps-badge--google" src="${i(H("googlePlay", o))}" alt="${i(a(t.evo.google.label, e))}">
|
|
3480
3520
|
</a>
|
|
3481
3521
|
</div>
|
|
3482
|
-
</div>`,
|
|
3483
|
-
(
|
|
3484
|
-
<a href="${
|
|
3485
|
-
<img class="mud-footer__institution-logo" src="${
|
|
3522
|
+
</div>`, j3 = ({ shared: t, lang: e, assetsBase: o }) => t.institutions.map(
|
|
3523
|
+
(n) => `
|
|
3524
|
+
<a href="${i(v(n.href, e))}" class="mud-footer__institution-logo-link" target="_blank" rel="noopener noreferrer" aria-label="${i(a(n.label, e))}">
|
|
3525
|
+
<img class="mud-footer__institution-logo" src="${i(H(n.logo, o))}" alt="${i(a(n.label, e))}">
|
|
3486
3526
|
</a>`
|
|
3487
|
-
).join(""),
|
|
3488
|
-
(e) => `<li><a class="mud-footer__social--link" href="${
|
|
3489
|
-
).join(""),
|
|
3490
|
-
const e =
|
|
3491
|
-
return !e && !
|
|
3527
|
+
).join(""), R3 = ({ shared: t }) => t.social.map(
|
|
3528
|
+
(e) => `<li><a class="mud-footer__social--link" href="${i(e.href)}" target="_blank" rel="noopener noreferrer" aria-label="${i(e.label)}">${V(e.icon)}</a></li>`
|
|
3529
|
+
).join(""), I3 = (t) => {
|
|
3530
|
+
const e = k(t.variant, "institutions"), o = k(t.variant, "social");
|
|
3531
|
+
return !e && !o ? "" : `
|
|
3492
3532
|
<hr class="mud-separator mud-separator--horizontal mud-separator--thin mud-separator--subtle">
|
|
3493
3533
|
|
|
3494
3534
|
<div class="mud-footer__middle">
|
|
3495
|
-
<div class="mud-footer__logos">${e ?
|
|
3496
|
-
</div>${
|
|
3497
|
-
<ul class="mud-footer__social">${
|
|
3535
|
+
<div class="mud-footer__logos">${e ? j3(t) : ""}
|
|
3536
|
+
</div>${o ? `
|
|
3537
|
+
<ul class="mud-footer__social">${R3(t)}</ul>` : ""}
|
|
3498
3538
|
</div>
|
|
3499
3539
|
`;
|
|
3500
|
-
},
|
|
3501
|
-
const { variant: e, lang:
|
|
3540
|
+
}, q3 = (t) => {
|
|
3541
|
+
const { variant: e, lang: o, shared: n } = t, r = k(e, "legal") ? (e.legal ?? []).map((s) => `<li><a${c6(t, s)}${d6(s)}>${i(a(s.label, o))}</a></li>`).join("") : "";
|
|
3502
3542
|
return `
|
|
3503
3543
|
<div class="mud-footer__bottom">
|
|
3504
3544
|
<div class="mud-footer__container mud-footer__bottom-inner">
|
|
3505
|
-
<div>${
|
|
3506
|
-
<ul class="mud-footer__legal">${
|
|
3545
|
+
<div>${i(a(e.copyright ?? n.copyright, o))}</div>
|
|
3546
|
+
<ul class="mud-footer__legal">${r}</ul>
|
|
3507
3547
|
</div>
|
|
3508
3548
|
</div>`;
|
|
3509
3549
|
};
|
|
3510
|
-
function
|
|
3511
|
-
const { variant: e } = t,
|
|
3512
|
-
<nav class="mud-footer__nav" aria-label="Footer navigation">${
|
|
3550
|
+
function N3(t) {
|
|
3551
|
+
const { variant: e } = t, o = e.columns.filter((r) => !(t.hideServiceColumn && r.type === "links")).map((r) => D3(r, t)).join(""), n = k(e, "navigation") && o ? `
|
|
3552
|
+
<nav class="mud-footer__nav" aria-label="Footer navigation">${o}
|
|
3513
3553
|
</nav>
|
|
3514
3554
|
` : "";
|
|
3515
|
-
return `<svg xmlns="http://www.w3.org/2000/svg" style="display:none">${
|
|
3555
|
+
return `<svg xmlns="http://www.w3.org/2000/svg" style="display:none">${U3}</svg>
|
|
3516
3556
|
<footer class="mud-footer" role="contentinfo" lang="${t.lang}">
|
|
3517
3557
|
<div class="mud-footer__container">
|
|
3518
3558
|
<div class="mud-footer__top">
|
|
3519
|
-
${
|
|
3520
|
-
${
|
|
3559
|
+
${E3(t)}
|
|
3560
|
+
${n}${k(e, "evo") ? T3(t) : ""}
|
|
3521
3561
|
</div>
|
|
3522
|
-
${
|
|
3562
|
+
${I3(t)}
|
|
3523
3563
|
</div>
|
|
3524
|
-
${
|
|
3564
|
+
${q3(t)}
|
|
3525
3565
|
</footer>`;
|
|
3526
3566
|
}
|
|
3527
|
-
class
|
|
3567
|
+
class W3 extends z {
|
|
3528
3568
|
_links;
|
|
3529
3569
|
reported = "";
|
|
3530
3570
|
static get observedAttributes() {
|
|
3531
|
-
return ["variant", "assets-base", "max-width", "padding-x", "links"];
|
|
3571
|
+
return ["variant", "assets-base", "max-width", "padding-x", "links", "hide-service-column"];
|
|
3532
3572
|
}
|
|
3533
3573
|
/** Addresses supplied by the host app (the property wins over the `links` attribute). */
|
|
3534
3574
|
get links() {
|
|
@@ -3537,43 +3577,708 @@ class U3 extends B {
|
|
|
3537
3577
|
set links(e) {
|
|
3538
3578
|
this._links = e, this.isConnected && this.render();
|
|
3539
3579
|
}
|
|
3580
|
+
/** Boolean attribute: present (or "true") hides the service column; absent or "false" shows it. */
|
|
3581
|
+
get hideServiceColumn() {
|
|
3582
|
+
const e = this.getAttribute("hide-service-column");
|
|
3583
|
+
return e !== null && e !== "false";
|
|
3584
|
+
}
|
|
3585
|
+
set hideServiceColumn(e) {
|
|
3586
|
+
this.toggleAttribute("hide-service-column", e);
|
|
3587
|
+
}
|
|
3540
3588
|
linksFromAttribute() {
|
|
3541
3589
|
const e = this.getAttribute("links");
|
|
3542
3590
|
if (e) {
|
|
3543
3591
|
try {
|
|
3544
|
-
const
|
|
3545
|
-
if (
|
|
3592
|
+
const o = JSON.parse(e);
|
|
3593
|
+
if (o && typeof o == "object" && !Array.isArray(o)) return o;
|
|
3546
3594
|
} catch {
|
|
3547
3595
|
}
|
|
3548
3596
|
console.error('<mud-footer-v2>: the "links" attribute is not a valid JSON object.');
|
|
3549
3597
|
}
|
|
3550
3598
|
}
|
|
3551
3599
|
/** Tells the developer which app links have no address yet (once per change, not on every render). */
|
|
3552
|
-
reportMissing(e,
|
|
3553
|
-
const
|
|
3554
|
-
|
|
3600
|
+
reportMissing(e, o, n) {
|
|
3601
|
+
const r = [...n?.logo ? [] : ["logo"], ...P3(o).filter((c) => !n?.items?.[c])], s = r.length ? `<mud-footer-v2 variant="${e}">: no address supplied for: ${r.join(", ")}. Set them with the "links" property.` : "";
|
|
3602
|
+
s && s !== this.reported && console.error(s), this.reported = s;
|
|
3555
3603
|
}
|
|
3556
3604
|
afterRender() {
|
|
3557
3605
|
this.applyLength("max-width", "--footer-max-width"), this.applyLength("padding-x", "--footer-padding-x");
|
|
3558
3606
|
}
|
|
3559
3607
|
/** Maps an optional length attribute to a CSS custom property; without a valid value the default from the styles stays. */
|
|
3560
|
-
applyLength(e,
|
|
3561
|
-
const
|
|
3562
|
-
|
|
3608
|
+
applyLength(e, o) {
|
|
3609
|
+
const n = this.getAttribute(e)?.trim(), r = n && /^\d+(\.\d+)?$/.test(n) ? `${n}px` : n;
|
|
3610
|
+
r && /^\d*\.?\d+(px|rem|em|%|vw|ch)$/.test(r) ? this.style.setProperty(o, r) : this.style.removeProperty(o);
|
|
3563
3611
|
}
|
|
3564
3612
|
styles() {
|
|
3565
|
-
return
|
|
3613
|
+
return O3;
|
|
3566
3614
|
}
|
|
3567
3615
|
template() {
|
|
3568
|
-
const e = this.getAttribute("variant") ?? "",
|
|
3569
|
-
if (!
|
|
3570
|
-
return console.error(`<mud-footer-v2>: unknown variant "${e}". Use one of: ${Object.keys(
|
|
3571
|
-
const
|
|
3572
|
-
return this.reportMissing(e,
|
|
3616
|
+
const e = this.getAttribute("variant") ?? "", o = K[e];
|
|
3617
|
+
if (!o)
|
|
3618
|
+
return console.error(`<mud-footer-v2>: unknown variant "${e}". Use one of: ${Object.keys(K).join(", ")}.`), "";
|
|
3619
|
+
const n = this.links;
|
|
3620
|
+
return this.reportMissing(e, o, n), N3({ key: e, lang: this.pageLang, variant: o, shared: A3, assetsBase: this.getAttribute("assets-base"), links: n, hideServiceColumn: this.hideServiceColumn });
|
|
3573
3621
|
}
|
|
3574
3622
|
}
|
|
3575
|
-
|
|
3576
|
-
const
|
|
3623
|
+
M("mud-footer-v2", W3);
|
|
3624
|
+
const Y3 = `/* Cookie banner styles, scoped by the shadow DOM. Colours, radii and type come from the MUD tokens on the page; the fallbacks keep it usable without them. */
|
|
3625
|
+
|
|
3626
|
+
/* Placed by the component: fixed at the bottom centre of the window, up to 792px wide.
|
|
3627
|
+
Spacing: 16px from the bottom and, when the window is barely wider than the banner, 16px from each side;
|
|
3628
|
+
the safe areas (home bar, notch) are added on top. Wider windows centre it with the auto margins.
|
|
3629
|
+
The page can override any of it with CSS on the tag (for example \`position: static\` to place it inside a layout). */
|
|
3630
|
+
:host {
|
|
3631
|
+
display: block;
|
|
3632
|
+
position: fixed;
|
|
3633
|
+
inset-inline: max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right));
|
|
3634
|
+
inset-block-end: max(16px, env(safe-area-inset-bottom));
|
|
3635
|
+
margin-inline: auto;
|
|
3636
|
+
z-index: var(--mud-cookie-banner-z-index, 1000);
|
|
3637
|
+
container-type: inline-size;
|
|
3638
|
+
max-inline-size: 792px;
|
|
3639
|
+
min-inline-size: 0;
|
|
3640
|
+
}
|
|
3641
|
+
|
|
3642
|
+
:host([hidden]) {
|
|
3643
|
+
display: none;
|
|
3644
|
+
}
|
|
3645
|
+
|
|
3646
|
+
.mud-cookie-banner,
|
|
3647
|
+
.mud-cookie-banner * {
|
|
3648
|
+
box-sizing: border-box;
|
|
3649
|
+
}
|
|
3650
|
+
|
|
3651
|
+
.mud-cookie-banner {
|
|
3652
|
+
display: flex;
|
|
3653
|
+
flex-direction: column;
|
|
3654
|
+
background: var(--color-background-base-default, #fff);
|
|
3655
|
+
border: 1.5px solid var(--color-border-base-default, #d9d9d9);
|
|
3656
|
+
border-radius: var(--border-radius-16, 16px);
|
|
3657
|
+
box-shadow: 0 0 0.5px 0 rgba(0, 0, 0, 0.15), 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 5px 12px 0 rgba(0, 0, 0, 0.08);
|
|
3658
|
+
font-family: var(--font-family-primary, "Onest", system-ui, -apple-system, sans-serif);
|
|
3659
|
+
color: var(--color-text-base-default, #121212);
|
|
3660
|
+
overflow: hidden;
|
|
3661
|
+
/* A short window: the choices scroll inside the banner instead of running off the screen. */
|
|
3662
|
+
max-block-size: calc(100vh - 32px);
|
|
3663
|
+
max-block-size: calc(100dvh - 32px);
|
|
3664
|
+
}
|
|
3665
|
+
|
|
3666
|
+
.mud-cookie-banner__header {
|
|
3667
|
+
padding: var(--spacing-20, 20px) var(--spacing-20, 20px) 0 var(--spacing-40, 40px);
|
|
3668
|
+
}
|
|
3669
|
+
|
|
3670
|
+
.mud-cookie-banner__title {
|
|
3671
|
+
margin: 0;
|
|
3672
|
+
font-size: var(--font-size-20, 20px);
|
|
3673
|
+
line-height: var(--line-height-28, 28px);
|
|
3674
|
+
font-weight: var(--font-weight-semibold, 600);
|
|
3675
|
+
letter-spacing: -0.2px;
|
|
3676
|
+
}
|
|
3677
|
+
|
|
3678
|
+
.mud-cookie-banner__body {
|
|
3679
|
+
margin: 0;
|
|
3680
|
+
padding: var(--spacing-8, 8px) var(--spacing-40, 40px) var(--spacing-16, 16px);
|
|
3681
|
+
font-size: var(--font-size-14, 14px);
|
|
3682
|
+
line-height: var(--line-height-20, 20px);
|
|
3683
|
+
font-weight: var(--font-weight-regular, 400);
|
|
3684
|
+
color: var(--color-text-base-secondary, #383838);
|
|
3685
|
+
overflow-wrap: anywhere;
|
|
3686
|
+
}
|
|
3687
|
+
|
|
3688
|
+
.mud-cookie-banner__footer {
|
|
3689
|
+
display: flex;
|
|
3690
|
+
align-items: center;
|
|
3691
|
+
justify-content: space-between;
|
|
3692
|
+
gap: var(--spacing-12, 12px);
|
|
3693
|
+
padding: var(--spacing-12, 12px) var(--spacing-40, 40px) var(--spacing-20, 20px);
|
|
3694
|
+
}
|
|
3695
|
+
|
|
3696
|
+
.mud-cookie-banner__group {
|
|
3697
|
+
display: flex;
|
|
3698
|
+
align-items: center;
|
|
3699
|
+
gap: var(--spacing-12, 12px);
|
|
3700
|
+
inline-size: 414px;
|
|
3701
|
+
flex-shrink: 0;
|
|
3702
|
+
}
|
|
3703
|
+
|
|
3704
|
+
.mud-cookie-banner__group mud-button {
|
|
3705
|
+
flex: 1 1 0;
|
|
3706
|
+
min-inline-size: 0;
|
|
3707
|
+
}
|
|
3708
|
+
|
|
3709
|
+
/* Preferences view (Extended state): the cookie choices. */
|
|
3710
|
+
.mud-cookie-banner__header {
|
|
3711
|
+
display: flex;
|
|
3712
|
+
align-items: center;
|
|
3713
|
+
gap: var(--spacing-12, 12px);
|
|
3714
|
+
}
|
|
3715
|
+
|
|
3716
|
+
.mud-cookie-banner__title {
|
|
3717
|
+
flex: 1 1 0;
|
|
3718
|
+
min-inline-size: 0;
|
|
3719
|
+
}
|
|
3720
|
+
|
|
3721
|
+
.mud-cookie-banner__close {
|
|
3722
|
+
display: inline-flex;
|
|
3723
|
+
align-items: center;
|
|
3724
|
+
justify-content: center;
|
|
3725
|
+
flex-shrink: 0;
|
|
3726
|
+
inline-size: 32px;
|
|
3727
|
+
block-size: 32px;
|
|
3728
|
+
padding: 0;
|
|
3729
|
+
border: 0;
|
|
3730
|
+
border-radius: var(--border-radius-full, 999px);
|
|
3731
|
+
background: var(--color-background-base-tertiary, #f1f1f1);
|
|
3732
|
+
color: var(--color-text-base-default, #121212);
|
|
3733
|
+
cursor: pointer;
|
|
3734
|
+
}
|
|
3735
|
+
|
|
3736
|
+
.mud-cookie-banner__close:focus-visible,
|
|
3737
|
+
.mud-cookie-banner__more:focus-visible {
|
|
3738
|
+
outline: 2px solid var(--color-border-brand-default, #0058d2);
|
|
3739
|
+
outline-offset: 2px;
|
|
3740
|
+
}
|
|
3741
|
+
|
|
3742
|
+
.mud-cookie-banner__close mud-icon {
|
|
3743
|
+
inline-size: 16px;
|
|
3744
|
+
block-size: 16px;
|
|
3745
|
+
}
|
|
3746
|
+
|
|
3747
|
+
.mud-cookie-banner__content {
|
|
3748
|
+
display: flex;
|
|
3749
|
+
flex-direction: column;
|
|
3750
|
+
min-block-size: 0;
|
|
3751
|
+
overflow-y: auto;
|
|
3752
|
+
gap: var(--spacing-24, 24px);
|
|
3753
|
+
padding: var(--spacing-8, 8px) var(--spacing-40, 40px);
|
|
3754
|
+
}
|
|
3755
|
+
|
|
3756
|
+
.mud-cookie-banner__content .mud-cookie-banner__body {
|
|
3757
|
+
padding: 0;
|
|
3758
|
+
}
|
|
3759
|
+
|
|
3760
|
+
.mud-cookie-banner__body--wide {
|
|
3761
|
+
max-inline-size: 623px;
|
|
3762
|
+
}
|
|
3763
|
+
|
|
3764
|
+
.mud-cookie-banner__body--narrow,
|
|
3765
|
+
.mud-cookie-banner__title-narrow {
|
|
3766
|
+
display: none;
|
|
3767
|
+
}
|
|
3768
|
+
|
|
3769
|
+
.mud-cookie-banner__rows {
|
|
3770
|
+
display: flex;
|
|
3771
|
+
flex-direction: column;
|
|
3772
|
+
gap: var(--spacing-12, 12px);
|
|
3773
|
+
padding: var(--spacing-8, 8px) var(--spacing-20, 20px) var(--spacing-12, 12px);
|
|
3774
|
+
background: var(--color-background-base-secondary, #f5f5f5);
|
|
3775
|
+
border-radius: var(--border-radius-12, 12px);
|
|
3776
|
+
}
|
|
3777
|
+
|
|
3778
|
+
.mud-cookie-banner__row {
|
|
3779
|
+
display: grid;
|
|
3780
|
+
grid-template-columns: minmax(0, 1fr) auto;
|
|
3781
|
+
grid-template-areas: "head control" "desc control";
|
|
3782
|
+
align-items: center;
|
|
3783
|
+
column-gap: var(--spacing-40, 40px);
|
|
3784
|
+
row-gap: var(--spacing-8, 8px);
|
|
3785
|
+
padding: var(--spacing-12, 12px) 0;
|
|
3786
|
+
}
|
|
3787
|
+
|
|
3788
|
+
.mud-cookie-banner__row-head {
|
|
3789
|
+
grid-area: head;
|
|
3790
|
+
display: flex;
|
|
3791
|
+
align-items: center;
|
|
3792
|
+
gap: var(--spacing-16, 16px);
|
|
3793
|
+
min-inline-size: 0;
|
|
3794
|
+
}
|
|
3795
|
+
|
|
3796
|
+
.mud-cookie-banner__row-title {
|
|
3797
|
+
font-size: var(--font-size-16, 16px);
|
|
3798
|
+
line-height: var(--line-height-24, 24px);
|
|
3799
|
+
font-weight: var(--font-weight-medium, 500);
|
|
3800
|
+
color: var(--color-text-base-default, #121212);
|
|
3801
|
+
}
|
|
3802
|
+
|
|
3803
|
+
.mud-cookie-banner__tag {
|
|
3804
|
+
display: inline-flex;
|
|
3805
|
+
align-items: center;
|
|
3806
|
+
justify-content: center;
|
|
3807
|
+
flex-shrink: 0;
|
|
3808
|
+
block-size: 20px;
|
|
3809
|
+
min-inline-size: 32px;
|
|
3810
|
+
padding: 0 var(--spacing-6, 6px);
|
|
3811
|
+
border: 1.5px solid var(--color-border-brand-default, #0058d2);
|
|
3812
|
+
border-radius: var(--border-radius-4, 4px);
|
|
3813
|
+
font-size: var(--font-size-12, 12px);
|
|
3814
|
+
line-height: var(--line-height-16, 16px);
|
|
3815
|
+
font-weight: var(--font-weight-medium, 500);
|
|
3816
|
+
color: var(--color-text-brand-on-secondary, #0058d2);
|
|
3817
|
+
}
|
|
3818
|
+
|
|
3819
|
+
.mud-cookie-banner__control {
|
|
3820
|
+
grid-area: control;
|
|
3821
|
+
display: flex;
|
|
3822
|
+
align-items: center;
|
|
3823
|
+
justify-content: center;
|
|
3824
|
+
}
|
|
3825
|
+
|
|
3826
|
+
.mud-cookie-banner__check {
|
|
3827
|
+
inline-size: 48px;
|
|
3828
|
+
block-size: 48px;
|
|
3829
|
+
color: var(--color-text-brand-default, #0058d2);
|
|
3830
|
+
}
|
|
3831
|
+
|
|
3832
|
+
.mud-cookie-banner__row-desc {
|
|
3833
|
+
grid-area: desc;
|
|
3834
|
+
position: relative;
|
|
3835
|
+
min-inline-size: 0;
|
|
3836
|
+
}
|
|
3837
|
+
|
|
3838
|
+
.mud-cookie-banner__row-text {
|
|
3839
|
+
margin: 0;
|
|
3840
|
+
font-size: var(--font-size-14, 14px);
|
|
3841
|
+
line-height: var(--line-height-20, 20px);
|
|
3842
|
+
font-weight: var(--font-weight-regular, 400);
|
|
3843
|
+
color: var(--color-text-base-tertiary, #757575);
|
|
3844
|
+
overflow-wrap: anywhere;
|
|
3845
|
+
}
|
|
3846
|
+
|
|
3847
|
+
/* "...more" sits at the end of the second line, over the cut text (narrow banner only). */
|
|
3848
|
+
.mud-cookie-banner__more {
|
|
3849
|
+
display: none;
|
|
3850
|
+
position: absolute;
|
|
3851
|
+
inset-inline-end: 0;
|
|
3852
|
+
inset-block-end: 0;
|
|
3853
|
+
padding: 0 0 0 var(--spacing-4, 4px);
|
|
3854
|
+
border: 0;
|
|
3855
|
+
background: var(--color-background-base-secondary, #f5f5f5);
|
|
3856
|
+
font: inherit;
|
|
3857
|
+
font-size: var(--font-size-14, 14px);
|
|
3858
|
+
line-height: var(--line-height-20, 20px);
|
|
3859
|
+
font-weight: var(--font-weight-medium, 500);
|
|
3860
|
+
color: var(--color-text-base-default, #121212);
|
|
3861
|
+
cursor: pointer;
|
|
3862
|
+
}
|
|
3863
|
+
|
|
3864
|
+
.mud-cookie-banner__more::before {
|
|
3865
|
+
content: "...";
|
|
3866
|
+
font-weight: var(--font-weight-regular, 400);
|
|
3867
|
+
color: var(--color-text-base-tertiary, #757575);
|
|
3868
|
+
}
|
|
3869
|
+
|
|
3870
|
+
/* The separator of the design: 4px tall, with a 1px subtle line in the middle. */
|
|
3871
|
+
.mud-cookie-banner__separator {
|
|
3872
|
+
block-size: 4px;
|
|
3873
|
+
flex-shrink: 0;
|
|
3874
|
+
background: linear-gradient(var(--color-border-base-subtle, #e6e6e6), var(--color-border-base-subtle, #e6e6e6)) center / 100% 1px no-repeat;
|
|
3875
|
+
}
|
|
3876
|
+
|
|
3877
|
+
.mud-cookie-banner__footer--preferences {
|
|
3878
|
+
justify-content: flex-end;
|
|
3879
|
+
}
|
|
3880
|
+
|
|
3881
|
+
.mud-cookie-banner__save {
|
|
3882
|
+
inline-size: 201px;
|
|
3883
|
+
}
|
|
3884
|
+
|
|
3885
|
+
/* Narrow container (not viewport): stacked, full-width buttons, Accept on top. */
|
|
3886
|
+
@container (max-width: 540px) {
|
|
3887
|
+
.mud-cookie-banner {
|
|
3888
|
+
border-radius: var(--border-radius-12, 12px);
|
|
3889
|
+
}
|
|
3890
|
+
|
|
3891
|
+
.mud-cookie-banner__header {
|
|
3892
|
+
padding: var(--spacing-24, 24px) var(--spacing-12, 12px) 0 var(--spacing-16, 16px);
|
|
3893
|
+
}
|
|
3894
|
+
|
|
3895
|
+
.mud-cookie-banner__title {
|
|
3896
|
+
font-size: var(--font-size-22, 22px);
|
|
3897
|
+
line-height: var(--line-height-30, 30px);
|
|
3898
|
+
letter-spacing: -0.22px;
|
|
3899
|
+
}
|
|
3900
|
+
|
|
3901
|
+
.mud-cookie-banner__body {
|
|
3902
|
+
padding: var(--spacing-16, 16px);
|
|
3903
|
+
font-size: var(--font-size-16, 16px);
|
|
3904
|
+
line-height: var(--line-height-24, 24px);
|
|
3905
|
+
}
|
|
3906
|
+
|
|
3907
|
+
.mud-cookie-banner__footer {
|
|
3908
|
+
flex-direction: column;
|
|
3909
|
+
align-items: stretch;
|
|
3910
|
+
gap: var(--spacing-8, 8px);
|
|
3911
|
+
padding: var(--spacing-12, 12px) var(--spacing-16, 16px) var(--spacing-24, 24px);
|
|
3912
|
+
}
|
|
3913
|
+
|
|
3914
|
+
.mud-cookie-banner__group {
|
|
3915
|
+
flex-direction: column-reverse;
|
|
3916
|
+
inline-size: 100%;
|
|
3917
|
+
gap: var(--spacing-8, 8px);
|
|
3918
|
+
}
|
|
3919
|
+
|
|
3920
|
+
.mud-cookie-banner__group mud-button {
|
|
3921
|
+
flex: 0 0 auto;
|
|
3922
|
+
}
|
|
3923
|
+
|
|
3924
|
+
.mud-cookie-banner__customize {
|
|
3925
|
+
order: 1;
|
|
3926
|
+
}
|
|
3927
|
+
|
|
3928
|
+
.mud-cookie-banner__content {
|
|
3929
|
+
gap: var(--spacing-20, 20px);
|
|
3930
|
+
padding: var(--spacing-16, 16px);
|
|
3931
|
+
}
|
|
3932
|
+
|
|
3933
|
+
/* Narrow design: the title stays "Cookie Usage Disclosure" and the text is the one of the notice. */
|
|
3934
|
+
.mud-cookie-banner__body--wide,
|
|
3935
|
+
.mud-cookie-banner__title-wide {
|
|
3936
|
+
display: none;
|
|
3937
|
+
}
|
|
3938
|
+
|
|
3939
|
+
.mud-cookie-banner__title-narrow {
|
|
3940
|
+
display: inline;
|
|
3941
|
+
}
|
|
3942
|
+
|
|
3943
|
+
.mud-cookie-banner__content .mud-cookie-banner__body--narrow {
|
|
3944
|
+
display: block;
|
|
3945
|
+
}
|
|
3946
|
+
|
|
3947
|
+
.mud-cookie-banner__rows {
|
|
3948
|
+
gap: var(--spacing-8, 8px);
|
|
3949
|
+
padding: var(--spacing-16, 16px) var(--spacing-20, 20px);
|
|
3950
|
+
border-radius: var(--border-radius-8, 8px);
|
|
3951
|
+
}
|
|
3952
|
+
|
|
3953
|
+
.mud-cookie-banner__row {
|
|
3954
|
+
grid-template-areas: "head control" "desc desc";
|
|
3955
|
+
column-gap: var(--spacing-16, 16px);
|
|
3956
|
+
row-gap: var(--spacing-12, 12px);
|
|
3957
|
+
}
|
|
3958
|
+
|
|
3959
|
+
.mud-cookie-banner__row-title {
|
|
3960
|
+
font-size: var(--font-size-18, 18px);
|
|
3961
|
+
line-height: var(--line-height-28, 28px);
|
|
3962
|
+
}
|
|
3963
|
+
|
|
3964
|
+
.mud-cookie-banner__check {
|
|
3965
|
+
display: none;
|
|
3966
|
+
}
|
|
3967
|
+
|
|
3968
|
+
/* A row without a control (Necessary): the title line takes the whole width, so the tag sits at the right edge. */
|
|
3969
|
+
.mud-cookie-banner__row--static {
|
|
3970
|
+
grid-template-columns: minmax(0, 1fr);
|
|
3971
|
+
grid-template-areas: "head" "desc";
|
|
3972
|
+
}
|
|
3973
|
+
|
|
3974
|
+
.mud-cookie-banner__row-title {
|
|
3975
|
+
flex: 1 1 0;
|
|
3976
|
+
min-inline-size: 0;
|
|
3977
|
+
}
|
|
3978
|
+
|
|
3979
|
+
.mud-cookie-banner__row-desc:not(.is-expanded) .mud-cookie-banner__row-text {
|
|
3980
|
+
display: -webkit-box;
|
|
3981
|
+
-webkit-box-orient: vertical;
|
|
3982
|
+
-webkit-line-clamp: 2;
|
|
3983
|
+
overflow: hidden;
|
|
3984
|
+
}
|
|
3985
|
+
|
|
3986
|
+
.mud-cookie-banner__row-desc.is-clamped:not(.is-expanded) .mud-cookie-banner__more {
|
|
3987
|
+
display: block;
|
|
3988
|
+
}
|
|
3989
|
+
|
|
3990
|
+
.mud-cookie-banner__footer--preferences {
|
|
3991
|
+
padding: var(--spacing-12, 12px) var(--spacing-16, 16px) var(--spacing-24, 24px);
|
|
3992
|
+
}
|
|
3993
|
+
|
|
3994
|
+
.mud-cookie-banner__save {
|
|
3995
|
+
inline-size: 100%;
|
|
3996
|
+
}
|
|
3997
|
+
|
|
3998
|
+
.mud-cookie-banner__footer mud-button {
|
|
3999
|
+
inline-size: 100%;
|
|
4000
|
+
}
|
|
4001
|
+
}
|
|
4002
|
+
`, I = {
|
|
4003
|
+
title: { ro: "Informații despre utilizarea cookie-urilor", ru: "Информация об использовании файлов cookie", en: "Cookie Usage Disclosure" },
|
|
4004
|
+
body: {
|
|
4005
|
+
ro: "Acest site folosește cookie-uri necesare pentru funcționalitatea de bază și performanță. În plus, utilizăm cookie-uri de țintire pentru a îmbunătăți experiența utilizatorului, pentru analize și pentru a afișa conținut personalizat.",
|
|
4006
|
+
ru: "Этот сайт использует необходимые файлы cookie для обеспечения базовой функциональности и производительности. Кроме того, мы используем таргетирующие cookie, чтобы улучшить пользовательский опыт, проводить аналитику и показывать персонализированный контент.",
|
|
4007
|
+
en: "This website uses required cookies to ensure the basic functionality and performance. In addition, we use targeting cookies to improve the user experience, perform analytics and display personalised content."
|
|
4008
|
+
},
|
|
4009
|
+
privacy: { ro: "Politica de confidențialitate", ru: "Политика конфиденциальности", en: "Privacy policy" },
|
|
4010
|
+
customize: { ro: "Gestionează cookie-urile", ru: "Управление cookie", en: "Manage cookies" },
|
|
4011
|
+
reject: { ro: "Doar cele necesare", ru: "Только необходимые", en: "Allow only necessary" },
|
|
4012
|
+
accept: { ro: "Permite tot", ru: "Разрешить все", en: "Allow all" },
|
|
4013
|
+
preferencesTitle: { ro: "Alege ce cookie-uri permiți", ru: "Выберите, какие cookie разрешить", en: "Choose which cookies to allow" },
|
|
4014
|
+
preferencesBody: {
|
|
4015
|
+
ro: "Pe acest site folosim instrumente de măsurare a audienței pentru a înțelege cum navighează utilizatorii, pentru a optimiza ergonomia și prezentarea conținutului celui mai relevant.",
|
|
4016
|
+
ru: "На этом сайте мы используем инструменты измерения аудитории, чтобы понимать, как пользователи просматривают сайт, и оптимизировать удобство и подачу наиболее релевантного контента.",
|
|
4017
|
+
en: "On this website we use audience measurement tools to understand users' browsing habits in order to optimize ergonomics and the presentation of the most relevant content."
|
|
4018
|
+
},
|
|
4019
|
+
necessaryTitle: { ro: "Cookie-uri necesare", ru: "Необходимые cookie", en: "Necessary cookies" },
|
|
4020
|
+
necessaryBadge: { ro: "Obligatoriu", ru: "Обязательно", en: "Required" },
|
|
4021
|
+
necessaryBody: {
|
|
4022
|
+
ro: "Aceste cookie-uri sunt esențiale pentru funcționarea de bază a site-ului, de exemplu navigarea. Site-ul nu poate funcționa corect fără ele și nu pot fi dezactivate.",
|
|
4023
|
+
ru: "Эти cookie необходимы для базовой работы сайта, например для навигации. Без них сайт не может работать должным образом, и их нельзя отключить.",
|
|
4024
|
+
en: "These cookies are essential for ensuring the basic functionality of the website, such as navigation. The website cannot function properly without these cookies and they cannot be disabled."
|
|
4025
|
+
},
|
|
4026
|
+
save: { ro: "Confirmă alegerile", ru: "Подтвердить выбор", en: "Confirm choices" },
|
|
4027
|
+
more: { ro: "mai mult", ru: "ещё", en: "more" },
|
|
4028
|
+
close: { ro: "Închide", ru: "Закрыть", en: "Close" }
|
|
4029
|
+
}, j = [
|
|
4030
|
+
{
|
|
4031
|
+
id: "analytics",
|
|
4032
|
+
name: { ro: "Cookie-uri statistice", ru: "Статистические cookie", en: "Statistics cookies" },
|
|
4033
|
+
description: {
|
|
4034
|
+
ro: "Cookie-urile statistice sunt necesare pentru a colecta informații despre modul în care vizitatorii folosesc site-ul nostru. Folosim instrumente de analiză, precum Microsoft Clarity și Google Analytics, care pot măsura utilizarea site-ului și pot înregistra sesiunea de navigare în formă anonimizată. Datele ne ajută să îmbunătățim performanța site-ului și să creăm conținut mai bun.",
|
|
4035
|
+
ru: "Статистические cookie необходимы для сбора информации о том, как посетители используют наш сайт. Мы используем инструменты аналитики, такие как Microsoft Clarity и Google Analytics, которые могут измерять использование сайта и записывать сеанс просмотра в обезличенном виде. Эти данные помогают нам улучшать работу сайта и создавать более качественный контент.",
|
|
4036
|
+
en: "Statistics cookies are necessary to collect information about how visitors use our website. We use analytics tools, such as Microsoft Clarity and Google Analytics, which may measure the use of the website and record the browsing session in anonymised form. The data collected helps us to improve the performance of the website and create better content."
|
|
4037
|
+
}
|
|
4038
|
+
}
|
|
4039
|
+
], U = "mud-cookie-banner-title";
|
|
4040
|
+
function K3(t) {
|
|
4041
|
+
return t.view === "preferences" ? Q3(t) : X3(t);
|
|
4042
|
+
}
|
|
4043
|
+
function J3({ lang: t, texts: e = I, privacyHref: o }) {
|
|
4044
|
+
return o ? ` <mud-link href="${i(v(o, t))}" size="sm" variant="primary">${i(a(e.privacy, t))}</mud-link>` : "";
|
|
4045
|
+
}
|
|
4046
|
+
function X3(t) {
|
|
4047
|
+
const { lang: e, texts: o = I } = t;
|
|
4048
|
+
return `<div class="mud-cookie-banner" part="container" role="dialog" aria-modal="false" aria-labelledby="${U}">
|
|
4049
|
+
<div class="mud-cookie-banner__header" part="header"><h2 class="mud-cookie-banner__title" id="${U}">${i(a(o.title, e))}</h2></div>
|
|
4050
|
+
<p class="mud-cookie-banner__body" part="body">${i(a(o.body, e))}${J3(t)}</p>
|
|
4051
|
+
<div class="mud-cookie-banner__footer" part="footer">
|
|
4052
|
+
<mud-button class="mud-cookie-banner__customize" data-choice="customize" variant="strict" appearance="outlined" size="md">${i(a(o.customize, e))}</mud-button>
|
|
4053
|
+
<div class="mud-cookie-banner__group">
|
|
4054
|
+
<mud-button data-choice="reject" variant="primary" appearance="outlined" size="md" full-width>${i(a(o.reject, e))}</mud-button>
|
|
4055
|
+
<mud-button data-choice="accept" variant="primary" appearance="filled" size="md" full-width>${i(a(o.accept, e))}</mud-button>
|
|
4056
|
+
</div>
|
|
4057
|
+
</div>
|
|
4058
|
+
</div>`;
|
|
4059
|
+
}
|
|
4060
|
+
function J(t, e, o, n) {
|
|
4061
|
+
return `<div class="mud-cookie-banner__row-desc${o ? " is-expanded" : ""}">
|
|
4062
|
+
<p class="mud-cookie-banner__row-text">${i(e)}</p>
|
|
4063
|
+
<button type="button" class="mud-cookie-banner__more" data-more="${i(t)}">${i(n)}</button>
|
|
4064
|
+
</div>`;
|
|
4065
|
+
}
|
|
4066
|
+
function Q3(t) {
|
|
4067
|
+
const { lang: e, texts: o = I, services: n = j, selection: r = {}, expanded: s = [] } = t, c = a(o.more, e), u = n.map(
|
|
4068
|
+
(p) => `<div class="mud-cookie-banner__row" part="row">
|
|
4069
|
+
<div class="mud-cookie-banner__row-head"><span class="mud-cookie-banner__row-title">${i(a(p.name, e))}</span></div>
|
|
4070
|
+
<mud-switch class="mud-cookie-banner__control" data-service="${i(p.id)}" aria-label="${i(a(p.name, e))}"${r[p.id] ? " checked" : ""}></mud-switch>
|
|
4071
|
+
${J(p.id, a(p.description, e), s.includes(p.id), c)}
|
|
4072
|
+
</div>`
|
|
4073
|
+
).join(`
|
|
4074
|
+
<div class="mud-cookie-banner__separator" role="separator"></div>
|
|
4075
|
+
`);
|
|
4076
|
+
return `<div class="mud-cookie-banner mud-cookie-banner--preferences" part="container" role="dialog" aria-modal="false" aria-labelledby="${U}">
|
|
4077
|
+
<div class="mud-cookie-banner__header" part="header">
|
|
4078
|
+
<h2 class="mud-cookie-banner__title" id="${U}"><span class="mud-cookie-banner__title-wide">${i(a(o.preferencesTitle, e))}</span><span class="mud-cookie-banner__title-narrow">${i(a(o.title, e))}</span></h2>
|
|
4079
|
+
<button type="button" class="mud-cookie-banner__close" data-action="close" aria-label="${i(a(o.close, e))}"><mud-icon name="chevron-bottom" size="16" aria-hidden="true"></mud-icon></button>
|
|
4080
|
+
</div>
|
|
4081
|
+
<div class="mud-cookie-banner__content" part="body">
|
|
4082
|
+
<p class="mud-cookie-banner__body mud-cookie-banner__body--wide">${i(a(o.preferencesBody, e))}</p>
|
|
4083
|
+
<p class="mud-cookie-banner__body mud-cookie-banner__body--narrow">${i(a(o.body, e))}</p>
|
|
4084
|
+
<div class="mud-cookie-banner__rows" part="rows">
|
|
4085
|
+
<div class="mud-cookie-banner__row mud-cookie-banner__row--static" part="row">
|
|
4086
|
+
<div class="mud-cookie-banner__row-head">
|
|
4087
|
+
<span class="mud-cookie-banner__row-title">${i(a(o.necessaryTitle, e))}</span>
|
|
4088
|
+
<span class="mud-cookie-banner__tag">${i(a(o.necessaryBadge, e))}</span>
|
|
4089
|
+
</div>
|
|
4090
|
+
<span class="mud-cookie-banner__control mud-cookie-banner__check" aria-hidden="true"><mud-icon name="checkmark-large" size="24"></mud-icon></span>
|
|
4091
|
+
${J("necessary", a(o.necessaryBody, e), s.includes("necessary"), c)}
|
|
4092
|
+
</div>
|
|
4093
|
+
<div class="mud-cookie-banner__separator" role="separator"></div>
|
|
4094
|
+
${u}
|
|
4095
|
+
</div>
|
|
4096
|
+
</div>
|
|
4097
|
+
<div class="mud-cookie-banner__footer mud-cookie-banner__footer--preferences" part="footer">
|
|
4098
|
+
<mud-button class="mud-cookie-banner__save" data-choice="save" variant="primary" appearance="filled" size="md" full-width>${i(a(o.save, e))}</mud-button>
|
|
4099
|
+
</div>
|
|
4100
|
+
</div>`;
|
|
4101
|
+
}
|
|
4102
|
+
const R = "mud-cookie-consent", e4 = 4320 * 60 * 60 * 1e3;
|
|
4103
|
+
function X() {
|
|
4104
|
+
try {
|
|
4105
|
+
const t = window.localStorage.getItem(R);
|
|
4106
|
+
if (!t) return null;
|
|
4107
|
+
const e = JSON.parse(t);
|
|
4108
|
+
if (typeof e.analytics != "boolean" || typeof e.ts != "number") return null;
|
|
4109
|
+
const o = Date.now() - e.ts;
|
|
4110
|
+
return o >= 0 && o <= e4 ? { analytics: e.analytics } : (window.localStorage.removeItem(R), null);
|
|
4111
|
+
} catch {
|
|
4112
|
+
return null;
|
|
4113
|
+
}
|
|
4114
|
+
}
|
|
4115
|
+
function t4(t) {
|
|
4116
|
+
try {
|
|
4117
|
+
const e = { analytics: t.analytics, ts: Date.now() };
|
|
4118
|
+
window.localStorage.setItem(R, JSON.stringify(e));
|
|
4119
|
+
} catch {
|
|
4120
|
+
}
|
|
4121
|
+
}
|
|
4122
|
+
function o4(t) {
|
|
4123
|
+
return !!t && /^[a-z0-9]{3,32}$/i.test(t);
|
|
4124
|
+
}
|
|
4125
|
+
const n4 = /^GTM-[A-Z0-9]{4,12}$/, i4 = (t) => !!t && n4.test(t);
|
|
4126
|
+
function r4() {
|
|
4127
|
+
return (window.dataLayer || []).some((t) => {
|
|
4128
|
+
const e = t;
|
|
4129
|
+
return !!e && e[0] === "consent" && e[1] === "default";
|
|
4130
|
+
});
|
|
4131
|
+
}
|
|
4132
|
+
function u6() {
|
|
4133
|
+
window.dataLayer = window.dataLayer || [], window.gtag = window.gtag || function() {
|
|
4134
|
+
window.dataLayer.push(arguments);
|
|
4135
|
+
};
|
|
4136
|
+
}
|
|
4137
|
+
function E(t) {
|
|
4138
|
+
u6();
|
|
4139
|
+
const e = t ? "granted" : "denied";
|
|
4140
|
+
window.gtag("consent", "update", {
|
|
4141
|
+
analytics_storage: e,
|
|
4142
|
+
ad_storage: "denied",
|
|
4143
|
+
ad_user_data: "denied",
|
|
4144
|
+
ad_personalization: "denied"
|
|
4145
|
+
}), window.dataLayer.push({ event: "consent_update", analytics_consent: e, ad_consent: "denied" });
|
|
4146
|
+
}
|
|
4147
|
+
function a4(t) {
|
|
4148
|
+
if (document.querySelector(`script[src*="googletagmanager.com/gtm.js?id=${t}"]`)) return;
|
|
4149
|
+
window.dataLayer.push({ "gtm.start": Date.now(), event: "gtm.js" });
|
|
4150
|
+
const e = document.createElement("script");
|
|
4151
|
+
e.async = !0, e.src = `https://www.googletagmanager.com/gtm.js?id=${t}`, e.onerror = () => {
|
|
4152
|
+
}, document.head.append(e);
|
|
4153
|
+
}
|
|
4154
|
+
function s4() {
|
|
4155
|
+
for (const t of document.cookie.split(";")) {
|
|
4156
|
+
const e = t.split("=")[0].trim();
|
|
4157
|
+
(e === "_ga" || e.startsWith("_ga_")) && (document.cookie = `${e}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/`);
|
|
4158
|
+
}
|
|
4159
|
+
}
|
|
4160
|
+
function l4(t, e) {
|
|
4161
|
+
if (t) {
|
|
4162
|
+
if (!i4(e)) {
|
|
4163
|
+
typeof window.gtag == "function" && E(!0);
|
|
4164
|
+
return;
|
|
4165
|
+
}
|
|
4166
|
+
u6(), r4() || window.gtag("consent", "default", {
|
|
4167
|
+
analytics_storage: "denied",
|
|
4168
|
+
ad_storage: "denied",
|
|
4169
|
+
ad_user_data: "denied",
|
|
4170
|
+
ad_personalization: "denied"
|
|
4171
|
+
}), window.gtag("set", { cookie_domain: "none" }), E(!0), a4(e);
|
|
4172
|
+
} else
|
|
4173
|
+
typeof window.gtag == "function" && E(!1), s4();
|
|
4174
|
+
}
|
|
4175
|
+
function d4() {
|
|
4176
|
+
return typeof window.gtag == "function" || !!window.clarity;
|
|
4177
|
+
}
|
|
4178
|
+
function c4(t) {
|
|
4179
|
+
if (window.clarity) return;
|
|
4180
|
+
window.clarity = function() {
|
|
4181
|
+
(window.clarity.q = window.clarity.q || []).push(arguments);
|
|
4182
|
+
};
|
|
4183
|
+
const e = document.createElement("script");
|
|
4184
|
+
e.async = !0, e.src = `https://www.clarity.ms/tag/${t}`, e.onerror = () => {
|
|
4185
|
+
}, document.head.append(e);
|
|
4186
|
+
}
|
|
4187
|
+
function Q() {
|
|
4188
|
+
for (const t of ["_clck", "_clsk"]) document.cookie = `${t}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/`;
|
|
4189
|
+
}
|
|
4190
|
+
function u4(t, { clarityId: e, gtmId: o }) {
|
|
4191
|
+
if (l4(t, o), t) {
|
|
4192
|
+
if (!o4(e)) return;
|
|
4193
|
+
c4(e);
|
|
4194
|
+
} else if (Q(), !window.clarity) return;
|
|
4195
|
+
window.clarity?.("consentv2", { ad_Storage: "denied", analytics_Storage: t ? "granted" : "denied" }), t || Q();
|
|
4196
|
+
}
|
|
4197
|
+
const p4 = 540;
|
|
4198
|
+
class C4 extends z {
|
|
4199
|
+
resizeObserver;
|
|
4200
|
+
view = "banner";
|
|
4201
|
+
expanded = /* @__PURE__ */ new Set();
|
|
4202
|
+
/** State of each switch. Everything is off until the user chooses (consent is opt-in). */
|
|
4203
|
+
selection = Object.fromEntries(j.map((e) => [e.id, !!e.checked]));
|
|
4204
|
+
static get observedAttributes() {
|
|
4205
|
+
return ["privacy-href"];
|
|
4206
|
+
}
|
|
4207
|
+
connectedCallback() {
|
|
4208
|
+
const e = X();
|
|
4209
|
+
e && (this.selection = { ...this.selection, analytics: e.analytics }, this.applyConsent(e.analytics), this.setAttribute("hidden", "")), document.addEventListener("click", this.onSettingsClick), super.connectedCallback();
|
|
4210
|
+
}
|
|
4211
|
+
disconnectedCallback() {
|
|
4212
|
+
super.disconnectedCallback(), document.removeEventListener("click", this.onSettingsClick), this.resizeObserver?.disconnect(), this.resizeObserver = void 0;
|
|
4213
|
+
}
|
|
4214
|
+
/** Shows the banner again, for example from a "Cookie settings" link. The switches start from the saved choice. */
|
|
4215
|
+
open() {
|
|
4216
|
+
const e = X();
|
|
4217
|
+
e && (this.selection = { ...this.selection, analytics: e.analytics }), this.view = "banner", this.removeAttribute("hidden"), this.isConnected && this.render();
|
|
4218
|
+
}
|
|
4219
|
+
afterRender() {
|
|
4220
|
+
this.root.querySelectorAll("[data-choice]").forEach((e) => {
|
|
4221
|
+
e.addEventListener("click", () => this.choose(e.dataset.choice));
|
|
4222
|
+
}), this.root.querySelector('[data-action="close"]')?.addEventListener("click", () => {
|
|
4223
|
+
this.view = "banner", this.render();
|
|
4224
|
+
}), this.root.querySelectorAll("[data-more]").forEach((e) => {
|
|
4225
|
+
e.addEventListener("click", () => {
|
|
4226
|
+
this.expanded.add(e.dataset.more), e.closest(".mud-cookie-banner__row-desc")?.classList.add("is-expanded");
|
|
4227
|
+
});
|
|
4228
|
+
}), this.root.querySelectorAll("mud-switch[data-service]").forEach((e) => {
|
|
4229
|
+
e.addEventListener("mudChange", (o) => {
|
|
4230
|
+
this.selection[e.dataset.service] = !!o.detail.checked;
|
|
4231
|
+
});
|
|
4232
|
+
}), this.observeWidth();
|
|
4233
|
+
}
|
|
4234
|
+
choose(e) {
|
|
4235
|
+
if ((e === "accept" || e === "reject") && (this.selection = Object.fromEntries(j.map((r) => [r.id, e === "accept"]))), e === "customize") {
|
|
4236
|
+
this.view = "preferences", this.emit("mud-cookie-banner-choice", { choice: e, services: { ...this.selection } }), this.render();
|
|
4237
|
+
return;
|
|
4238
|
+
}
|
|
4239
|
+
const o = !!this.selection.analytics, n = !o && d4();
|
|
4240
|
+
t4({ analytics: o }), this.applyConsent(o), this.emit("mud-cookie-banner-choice", { choice: e, services: { ...this.selection } }), this.view = "banner", this.setAttribute("hidden", ""), n && !this.hasAttribute("no-reload") && this.reloadPage();
|
|
4241
|
+
}
|
|
4242
|
+
/** Reloads the page. A method of its own so a host (or a test) can replace it. */
|
|
4243
|
+
reloadPage() {
|
|
4244
|
+
window.location.reload();
|
|
4245
|
+
}
|
|
4246
|
+
/** Any element with `data-mud-cookie-settings` (a link or button, even inside another component's shadow DOM) opens the banner. */
|
|
4247
|
+
onSettingsClick = (e) => {
|
|
4248
|
+
e.composedPath().find((n) => n instanceof Element && n.hasAttribute("data-mud-cookie-settings")) && (e.preventDefault(), this.open());
|
|
4249
|
+
};
|
|
4250
|
+
applyConsent(e) {
|
|
4251
|
+
u4(e, { clarityId: this.getAttribute("clarity-id"), gtmId: this.getAttribute("gtm-id") });
|
|
4252
|
+
}
|
|
4253
|
+
/** Buttons are 48px tall (size lg) when the banner itself is narrow, 40px (md) otherwise. */
|
|
4254
|
+
observeWidth() {
|
|
4255
|
+
typeof ResizeObserver > "u" || (this.resizeObserver?.disconnect(), this.resizeObserver = new ResizeObserver((e) => {
|
|
4256
|
+
const o = e[0].contentRect.width <= p4 ? "lg" : "md";
|
|
4257
|
+
this.root.querySelectorAll("mud-button").forEach((n) => n.setAttribute("size", o)), this.root.querySelector(".mud-cookie-banner__customize")?.toggleAttribute("full-width", o === "lg"), this.markClamped();
|
|
4258
|
+
}), this.resizeObserver.observe(this));
|
|
4259
|
+
}
|
|
4260
|
+
/** On a narrow banner the descriptions are cut at two lines; "more" only shows where text was actually cut. */
|
|
4261
|
+
markClamped() {
|
|
4262
|
+
this.root.querySelectorAll(".mud-cookie-banner__row-desc:not(.is-expanded)").forEach((e) => {
|
|
4263
|
+
const o = e.querySelector(".mud-cookie-banner__row-text");
|
|
4264
|
+
e.classList.toggle("is-clamped", !!o && o.scrollHeight > o.clientHeight + 1);
|
|
4265
|
+
});
|
|
4266
|
+
}
|
|
4267
|
+
styles() {
|
|
4268
|
+
return Y3;
|
|
4269
|
+
}
|
|
4270
|
+
template() {
|
|
4271
|
+
return K3({
|
|
4272
|
+
lang: this.pageLang,
|
|
4273
|
+
privacyHref: this.getAttribute("privacy-href"),
|
|
4274
|
+
view: this.view,
|
|
4275
|
+
selection: this.selection,
|
|
4276
|
+
expanded: [...this.expanded]
|
|
4277
|
+
});
|
|
4278
|
+
}
|
|
4279
|
+
}
|
|
4280
|
+
M("mud-cookie-banner", C4);
|
|
4281
|
+
const T4 = [
|
|
3577
4282
|
"mpass",
|
|
3578
4283
|
"msign",
|
|
3579
4284
|
"mconnect",
|
|
@@ -3587,15 +4292,15 @@ const X3 = [
|
|
|
3587
4292
|
"mcloud",
|
|
3588
4293
|
"evo",
|
|
3589
4294
|
"verifica"
|
|
3590
|
-
],
|
|
4295
|
+
], m4 = new URL(
|
|
3591
4296
|
/* @vite-ignore */
|
|
3592
4297
|
"./assets/m-products/",
|
|
3593
4298
|
import.meta.url
|
|
3594
4299
|
).href;
|
|
3595
|
-
function
|
|
3596
|
-
return `${
|
|
4300
|
+
function j4(t, e = "svg", o) {
|
|
4301
|
+
return `${o ? o.replace(/\/?$/, "/") : m4}${e}/${t}.${e}`;
|
|
3597
4302
|
}
|
|
3598
|
-
const
|
|
4303
|
+
const g4 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3599
4304
|
<g>
|
|
3600
4305
|
<g>
|
|
3601
4306
|
<g>
|
|
@@ -3630,7 +4335,7 @@ const F3 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="h
|
|
|
3630
4335
|
</clipPath>
|
|
3631
4336
|
</defs>
|
|
3632
4337
|
</svg>
|
|
3633
|
-
`,
|
|
4338
|
+
`, h4 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3634
4339
|
<g>
|
|
3635
4340
|
<g>
|
|
3636
4341
|
<g>
|
|
@@ -3680,7 +4385,7 @@ const F3 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="h
|
|
|
3680
4385
|
</linearGradient>
|
|
3681
4386
|
</defs>
|
|
3682
4387
|
</svg>
|
|
3683
|
-
`,
|
|
4388
|
+
`, f4 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3684
4389
|
<g>
|
|
3685
4390
|
<g>
|
|
3686
4391
|
<g>
|
|
@@ -3722,7 +4427,7 @@ const F3 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="h
|
|
|
3722
4427
|
</linearGradient>
|
|
3723
4428
|
</defs>
|
|
3724
4429
|
</svg>
|
|
3725
|
-
`,
|
|
4430
|
+
`, v4 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3726
4431
|
<g>
|
|
3727
4432
|
<g>
|
|
3728
4433
|
<g>
|
|
@@ -3768,7 +4473,7 @@ const F3 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="h
|
|
|
3768
4473
|
</linearGradient>
|
|
3769
4474
|
</defs>
|
|
3770
4475
|
</svg>
|
|
3771
|
-
`,
|
|
4476
|
+
`, b4 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3772
4477
|
<g>
|
|
3773
4478
|
<g>
|
|
3774
4479
|
<g>
|
|
@@ -3818,7 +4523,7 @@ const F3 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="h
|
|
|
3818
4523
|
</linearGradient>
|
|
3819
4524
|
</defs>
|
|
3820
4525
|
</svg>
|
|
3821
|
-
`,
|
|
4526
|
+
`, _4 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3822
4527
|
<g>
|
|
3823
4528
|
<g>
|
|
3824
4529
|
<g>
|
|
@@ -3890,7 +4595,7 @@ const F3 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="h
|
|
|
3890
4595
|
</linearGradient>
|
|
3891
4596
|
</defs>
|
|
3892
4597
|
</svg>
|
|
3893
|
-
`,
|
|
4598
|
+
`, y4 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3894
4599
|
<g>
|
|
3895
4600
|
<g>
|
|
3896
4601
|
<g>
|
|
@@ -3936,7 +4641,7 @@ const F3 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="h
|
|
|
3936
4641
|
</linearGradient>
|
|
3937
4642
|
</defs>
|
|
3938
4643
|
</svg>
|
|
3939
|
-
`,
|
|
4644
|
+
`, x4 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3940
4645
|
<g>
|
|
3941
4646
|
<g>
|
|
3942
4647
|
<g>
|
|
@@ -3982,7 +4687,7 @@ const F3 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="h
|
|
|
3982
4687
|
</linearGradient>
|
|
3983
4688
|
</defs>
|
|
3984
4689
|
</svg>
|
|
3985
|
-
`,
|
|
4690
|
+
`, w4 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3986
4691
|
<g>
|
|
3987
4692
|
<g>
|
|
3988
4693
|
<g>
|
|
@@ -4028,7 +4733,7 @@ const F3 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="h
|
|
|
4028
4733
|
</linearGradient>
|
|
4029
4734
|
</defs>
|
|
4030
4735
|
</svg>
|
|
4031
|
-
`,
|
|
4736
|
+
`, k4 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4032
4737
|
<g>
|
|
4033
4738
|
<g>
|
|
4034
4739
|
<g>
|
|
@@ -4077,7 +4782,7 @@ const F3 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="h
|
|
|
4077
4782
|
</linearGradient>
|
|
4078
4783
|
</defs>
|
|
4079
4784
|
</svg>
|
|
4080
|
-
`,
|
|
4785
|
+
`, M4 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4081
4786
|
<g>
|
|
4082
4787
|
<g>
|
|
4083
4788
|
<g>
|
|
@@ -4115,7 +4820,7 @@ const F3 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="h
|
|
|
4115
4820
|
</linearGradient>
|
|
4116
4821
|
</defs>
|
|
4117
4822
|
</svg>
|
|
4118
|
-
`,
|
|
4823
|
+
`, Z4 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4119
4824
|
<g>
|
|
4120
4825
|
<g>
|
|
4121
4826
|
<g>
|
|
@@ -4161,7 +4866,7 @@ const F3 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="h
|
|
|
4161
4866
|
</linearGradient>
|
|
4162
4867
|
</defs>
|
|
4163
4868
|
</svg>
|
|
4164
|
-
`,
|
|
4869
|
+
`, L4 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
4165
4870
|
<g>
|
|
4166
4871
|
<g>
|
|
4167
4872
|
<g>
|
|
@@ -4173,14 +4878,14 @@ const F3 = `<svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="h
|
|
|
4173
4878
|
</g>
|
|
4174
4879
|
</g>
|
|
4175
4880
|
</svg>
|
|
4176
|
-
`,
|
|
4177
|
-
function
|
|
4881
|
+
`, e6 = { mpass: w4, msign: Z4, mconnect: f4, mpay: k4, mpower: M4, mnotify: x4, mdelivery: v4, mdocs: b4, mlog: y4, mlearn: _4, mcloud: h4, evo: g4, verifica: L4 }, $4 = /^\d*\.?\d+(px|rem|em|%|vw|vh|ch)$/;
|
|
4882
|
+
function H4(t) {
|
|
4178
4883
|
const e = t?.trim();
|
|
4179
4884
|
if (!e) return null;
|
|
4180
|
-
const
|
|
4181
|
-
return
|
|
4885
|
+
const o = /^\d+(\.\d+)?$/.test(e) ? `${e}px` : e;
|
|
4886
|
+
return $4.test(o) ? o : null;
|
|
4182
4887
|
}
|
|
4183
|
-
class
|
|
4888
|
+
class z4 extends HTMLElement {
|
|
4184
4889
|
root = this.attachShadow({ mode: "open" });
|
|
4185
4890
|
static get observedAttributes() {
|
|
4186
4891
|
return ["product", "size", "label"];
|
|
@@ -4188,37 +4893,429 @@ class K3 extends HTMLElement {
|
|
|
4188
4893
|
connectedCallback() {
|
|
4189
4894
|
this.render();
|
|
4190
4895
|
}
|
|
4191
|
-
attributeChangedCallback(e,
|
|
4192
|
-
|
|
4896
|
+
attributeChangedCallback(e, o, n) {
|
|
4897
|
+
o !== n && this.isConnected && this.render();
|
|
4193
4898
|
}
|
|
4194
4899
|
render() {
|
|
4195
|
-
const e = this.getAttribute("product") ?? "",
|
|
4196
|
-
if (!
|
|
4197
|
-
console.error(`<mud-mproducts-logo>: unknown product "${e}". Use one of: ${Object.keys(
|
|
4900
|
+
const e = this.getAttribute("product") ?? "", o = e6[e];
|
|
4901
|
+
if (!o) {
|
|
4902
|
+
console.error(`<mud-mproducts-logo>: unknown product "${e}". Use one of: ${Object.keys(e6).join(", ")}.`), this.root.innerHTML = "";
|
|
4198
4903
|
return;
|
|
4199
4904
|
}
|
|
4200
|
-
const
|
|
4905
|
+
const n = H4(this.getAttribute("size")) ?? "40px", r = this.getAttribute("label") ?? e, s = r ? `role="img" aria-label="${i(r)}"` : 'aria-hidden="true"';
|
|
4201
4906
|
this.root.innerHTML = // The attributes only set the default size of the host; CSS on the tag (class / style) overrides it and the svg follows.
|
|
4202
|
-
`<style>:host{display:inline-block;line-height:0;width:${
|
|
4907
|
+
`<style>:host{display:inline-block;line-height:0;width:${n};height:${n}}svg{display:block;width:100%;height:100%}</style>` + o.replace(/^<svg\b/, `<svg ${s}`);
|
|
4908
|
+
}
|
|
4909
|
+
}
|
|
4910
|
+
M("mud-mproducts-logo", z4);
|
|
4911
|
+
const S4 = {
|
|
4912
|
+
pageTitle: {
|
|
4913
|
+
ro: "Politica privind utilizarea cookie-urilor",
|
|
4914
|
+
ru: "Политика использования файлов cookie",
|
|
4915
|
+
en: "Cookie policy"
|
|
4916
|
+
},
|
|
4917
|
+
updatedLabel: { ro: "Ultima actualizare", ru: "Последнее обновление", en: "Last updated" },
|
|
4918
|
+
updatedAt: "2026-11-25",
|
|
4919
|
+
cookieSettings: { ro: "Setări cookie", ru: "Настройки cookie", en: "Cookie settings" }
|
|
4920
|
+
}, g = (t) => ({ type: "paragraph", text: t }), A = (t) => ({ type: "heading", text: t }), t6 = (...t) => ({ type: "list", items: t }), A4 = [
|
|
4921
|
+
{
|
|
4922
|
+
id: "anchor-1",
|
|
4923
|
+
title: { ro: "1. Cookie-uri", ru: "1. Файлы cookie", en: "1. Cookies" },
|
|
4924
|
+
blocks: [
|
|
4925
|
+
g({
|
|
4926
|
+
ro: "Pentru a asigura buna funcționare a site-ului web al Portalului guvernamental integrat EVO, aflat în administrarea Instituției publice „Agenția de Guvernare Electronică” (în continuare – AGE), și pentru a înțelege cum este folosit, plasăm mici fișiere de date denumite „cookie” pe calculatorul sau pe dispozitivul dumneavoastră mobil. Cookie-urile care nu sunt strict necesare sunt plasate numai cu acordul dumneavoastră.",
|
|
4927
|
+
ru: "Для обеспечения надлежащей работы веб-сайта Интегрированного правительственного портала EVO, находящегося в управлении Публичного учреждения «Агентство электронного управления» (далее — АЭУ), и для понимания того, как он используется, мы размещаем на вашем компьютере или мобильном устройстве небольшие файлы данных, называемые «cookie». Cookie, которые не являются строго необходимыми, размещаются только с вашего согласия.",
|
|
4928
|
+
en: "To ensure the proper functioning of the website of the EVO Integrated Government Portal, administered by the public institution “Electronic Governance Agency” (hereinafter – EGA), and to understand how it is used, we place small data files called “cookies” on your computer or mobile device. Cookies that are not strictly necessary are placed only with your consent."
|
|
4929
|
+
})
|
|
4930
|
+
]
|
|
4931
|
+
},
|
|
4932
|
+
{
|
|
4933
|
+
id: "anchor-2",
|
|
4934
|
+
title: { ro: "2. Ce sunt cookie-urile?", ru: "2. Что такое cookie?", en: "2. What are cookies?" },
|
|
4935
|
+
blocks: [
|
|
4936
|
+
g({
|
|
4937
|
+
ro: "Un cookie este un fișier text de mici dimensiuni pe care un site web îl salvează pe calculatorul sau pe dispozitivul dumneavoastră mobil atunci când îl accesați. Cookie-ul nu conține programe, viruși sau spyware și nu poate accesa alte informații de pe dispozitivul dumneavoastră.",
|
|
4938
|
+
ru: "Cookie — это небольшой текстовый файл, который веб-сайт сохраняет на вашем компьютере или мобильном устройстве при посещении. Cookie не содержит программ, вирусов или шпионского ПО и не может получить доступ к другой информации на вашем устройстве.",
|
|
4939
|
+
en: "A cookie is a small text file that a website saves on your computer or mobile device when you visit it. A cookie contains no programs, viruses or spyware and cannot access other information on your device."
|
|
4940
|
+
}),
|
|
4941
|
+
g({
|
|
4942
|
+
ro: "Pe lângă cookie-uri, site-ul folosește și stocarea locală a browserului („local storage”), care funcționează asemănător. În această politică, o tratăm la fel ca pe cookie-uri.",
|
|
4943
|
+
ru: "Помимо cookie, сайт использует локальное хранилище браузера («local storage»), которое работает аналогично. В настоящей политике мы рассматриваем его так же, как cookie.",
|
|
4944
|
+
en: "Besides cookies, the site also uses the browser’s local storage, which works in a similar way. In this policy we treat it the same as cookies."
|
|
4945
|
+
})
|
|
4946
|
+
]
|
|
4947
|
+
},
|
|
4948
|
+
{
|
|
4949
|
+
id: "anchor-3",
|
|
4950
|
+
title: { ro: "3. Ce cookie-uri folosim", ru: "3. Какие cookie мы используем", en: "3. What cookies we use" },
|
|
4951
|
+
blocks: [
|
|
4952
|
+
A({ ro: "3.1. Strict necesare", ru: "3.1. Строго необходимые", en: "3.1. Strictly necessary" }),
|
|
4953
|
+
g({
|
|
4954
|
+
ro: "Sunt active întotdeauna, pentru că fără ele site-ul nu poate funcționa corect.",
|
|
4955
|
+
ru: "Всегда активны, так как без них сайт не может работать корректно.",
|
|
4956
|
+
en: "They are always active, because without them the site cannot work properly."
|
|
4957
|
+
}),
|
|
4958
|
+
t6(
|
|
4959
|
+
{
|
|
4960
|
+
ro: "**culture** – reține limba aleasă (română, rusă sau engleză). Durata: 1 an.",
|
|
4961
|
+
ru: "**culture** – запоминает выбранный язык (румынский, русский или английский). Срок: 1 год.",
|
|
4962
|
+
en: "**culture** – remembers the chosen language (Romanian, Russian or English). Duration: 1 year."
|
|
4963
|
+
},
|
|
4964
|
+
{
|
|
4965
|
+
ro: "**XSRF-TOKEN** – protejează site-ul împotriva cererilor false trimise în numele utilizatorului (securitate). Durata: sesiunea de navigare.",
|
|
4966
|
+
ru: "**XSRF-TOKEN** – защищает сайт от поддельных запросов, отправленных от имени пользователя (безопасность). Срок: сеанс просмотра.",
|
|
4967
|
+
en: "**XSRF-TOKEN** – protects the site against forged requests sent on the user’s behalf (security). Duration: the browsing session."
|
|
4968
|
+
},
|
|
4969
|
+
{
|
|
4970
|
+
ro: "**auth** – menține sesiunea după autentificarea prin MPass. Durata: 30 de minute de inactivitate.",
|
|
4971
|
+
ru: "**auth** – поддерживает сеанс после аутентификации через MPass. Срок: 30 минут неактивности.",
|
|
4972
|
+
en: "**auth** – keeps the session after signing in through MPass. Duration: 30 minutes of inactivity."
|
|
4973
|
+
},
|
|
4974
|
+
{
|
|
4975
|
+
ro: "**mud-cookie-consent** (stocare locală) – reține alegerea făcută în bannerul de cookie-uri. Durata: până la ștergerea datelor din browser.",
|
|
4976
|
+
ru: "**mud-cookie-consent** (локальное хранилище) – запоминает выбор, сделанный в баннере cookie. Срок: до удаления данных браузера.",
|
|
4977
|
+
en: "**mud-cookie-consent** (local storage) – remembers the choice made in the cookie banner. Duration: until the browser data is deleted."
|
|
4978
|
+
},
|
|
4979
|
+
{
|
|
4980
|
+
ro: "**Preferințele de accesibilitate UserWay** (stocare locală) – rețin setările alese în instrumentul de accesibilitate, de exemplu mărimea textului sau contrastul. Durata: până la ștergerea datelor din browser.",
|
|
4981
|
+
ru: "**Настройки доступности UserWay** (локальное хранилище) – запоминают параметры, выбранные в инструменте доступности, например размер текста или контрастность. Срок: до удаления данных браузера.",
|
|
4982
|
+
en: "**UserWay accessibility preferences** (local storage) – remember the settings chosen in the accessibility tool, for example text size or contrast. Duration: until the browser data is deleted."
|
|
4983
|
+
},
|
|
4984
|
+
{
|
|
4985
|
+
ro: "**Date tehnice pentru încărcarea mai rapidă a paginilor** (stocare locală) – de exemplu, lista de servicii. Nu conțin date cu caracter personal. Durata: până la ștergerea datelor din browser.",
|
|
4986
|
+
ru: "**Технические данные для более быстрой загрузки страниц** (локальное хранилище) – например, список услуг. Не содержат персональных данных. Срок: до удаления данных браузера.",
|
|
4987
|
+
en: "**Technical data for faster page loading** (local storage) – for example, the list of services. They contain no personal data. Duration: until the browser data is deleted."
|
|
4988
|
+
}
|
|
4989
|
+
),
|
|
4990
|
+
A({ ro: "3.2. Analitice", ru: "3.2. Аналитические", en: "3.2. Analytics" }),
|
|
4991
|
+
g({
|
|
4992
|
+
ro: "Sunt plasate numai cu acordul dumneavoastră. Le folosim ca să înțelegem cum este folosit site-ul (ce pagini sunt vizitate, unde întâmpină oamenii dificultăți) și să îl îmbunătățim. Nu folosim aceste date pentru a vă identifica.",
|
|
4993
|
+
ru: "Размещаются только с вашего согласия. Мы используем их, чтобы понимать, как используется сайт (какие страницы посещаются, где у людей возникают трудности), и улучшать его. Мы не используем эти данные для вашей идентификации.",
|
|
4994
|
+
en: "They are placed only with your consent. We use them to understand how the site is used (which pages are visited, where people run into difficulties) and to improve it. We do not use this data to identify you."
|
|
4995
|
+
}),
|
|
4996
|
+
t6(
|
|
4997
|
+
{
|
|
4998
|
+
ro: "**_ga** – Google Analytics 4. Deosebește vizitatorii între ei printr-un identificator generat aleatoriu. Durata: 2 ani.",
|
|
4999
|
+
ru: "**_ga** – Google Analytics 4. Различает посетителей с помощью случайно сгенерированного идентификатора. Срок: 2 года.",
|
|
5000
|
+
en: "**_ga** – Google Analytics 4. Tells visitors apart by a randomly generated identifier. Duration: 2 years."
|
|
5001
|
+
},
|
|
5002
|
+
{
|
|
5003
|
+
ro: "**_ga_RBHNPJ06CM** – Google Analytics 4. Păstrează starea vizitei pentru site-ul EVO. Durata: 2 ani.",
|
|
5004
|
+
ru: "**_ga_RBHNPJ06CM** – Google Analytics 4. Хранит состояние визита для сайта EVO. Срок: 2 года.",
|
|
5005
|
+
en: "**_ga_RBHNPJ06CM** – Google Analytics 4. Keeps the state of the visit for the EVO site. Duration: 2 years."
|
|
5006
|
+
},
|
|
5007
|
+
{
|
|
5008
|
+
ro: "**_clck** – Microsoft Clarity. Păstrează identificatorul aleatoriu al vizitatorului. Durata: 1 an.",
|
|
5009
|
+
ru: "**_clck** – Microsoft Clarity. Хранит случайный идентификатор посетителя. Срок: 1 год.",
|
|
5010
|
+
en: "**_clck** – Microsoft Clarity. Keeps the visitor’s random identifier. Duration: 1 year."
|
|
5011
|
+
},
|
|
5012
|
+
{
|
|
5013
|
+
ro: "**_clsk** – Microsoft Clarity. Leagă paginile vizitate în cadrul aceleiași vizite. Durata: 1 zi.",
|
|
5014
|
+
ru: "**_clsk** – Microsoft Clarity. Связывает страницы, посещённые в рамках одного визита. Срок: 1 день.",
|
|
5015
|
+
en: "**_clsk** – Microsoft Clarity. Links the pages visited during the same visit. Duration: 1 day."
|
|
5016
|
+
},
|
|
5017
|
+
{
|
|
5018
|
+
ro: "**CLID** – Microsoft Clarity (cookie Microsoft, third-party). Identifică prima dată când Clarity a văzut acest vizitator pe orice site care folosește Clarity. Durata o stabilește Microsoft.",
|
|
5019
|
+
ru: "**CLID** – Microsoft Clarity (cookie Microsoft, third-party). Определяет, когда Clarity впервые увидел этого посетителя на любом сайте, использующем Clarity. Срок устанавливает Microsoft.",
|
|
5020
|
+
en: "**CLID** – Microsoft Clarity (Microsoft cookie, third-party). Identifies the first time Clarity saw this visitor on any site that uses Clarity. The duration is set by Microsoft."
|
|
5021
|
+
},
|
|
5022
|
+
{
|
|
5023
|
+
ro: "**MUID** – Microsoft Clarity (cookie Microsoft, third-party). Identifică în mod unic browserele care vizitează site-urile Microsoft. Durata o stabilește Microsoft.",
|
|
5024
|
+
ru: "**MUID** – Microsoft Clarity (cookie Microsoft, third-party). Однозначно идентифицирует браузеры, посещающие сайты Microsoft. Срок устанавливает Microsoft.",
|
|
5025
|
+
en: "**MUID** – Microsoft Clarity (Microsoft cookie, third-party). Uniquely identifies the browsers that visit Microsoft sites. The duration is set by Microsoft."
|
|
5026
|
+
},
|
|
5027
|
+
{
|
|
5028
|
+
ro: "**ANONCHK** – Microsoft Clarity (cookie Microsoft, third-party). Arată dacă MUID este transferat către ANID, un cookie folosit pentru publicitate. Clarity nu folosește ANID, așa că valoarea este întotdeauna 0. Durata o stabilește Microsoft.",
|
|
5029
|
+
ru: "**ANONCHK** – Microsoft Clarity (cookie Microsoft, third-party). Показывает, передаётся ли MUID в ANID — cookie, используемый для рекламы. Clarity не использует ANID, поэтому значение всегда равно 0. Срок устанавливает Microsoft.",
|
|
5030
|
+
en: "**ANONCHK** – Microsoft Clarity (Microsoft cookie, third-party). Shows whether MUID is transferred to ANID, a cookie used for advertising. Clarity does not use ANID, so the value is always 0. The duration is set by Microsoft."
|
|
5031
|
+
},
|
|
5032
|
+
{
|
|
5033
|
+
ro: "**MR** – Microsoft Clarity (cookie Microsoft, third-party). Arată dacă MUID trebuie reîmprospătat. Durata o stabilește Microsoft.",
|
|
5034
|
+
ru: "**MR** – Microsoft Clarity (cookie Microsoft, third-party). Показывает, нужно ли обновить MUID. Срок устанавливает Microsoft.",
|
|
5035
|
+
en: "**MR** – Microsoft Clarity (Microsoft cookie, third-party). Shows whether MUID should be refreshed. The duration is set by Microsoft."
|
|
5036
|
+
},
|
|
5037
|
+
{
|
|
5038
|
+
ro: "**SM** – Microsoft Clarity (cookie Microsoft, third-party). Sincronizează MUID între domeniile Microsoft. Durata o stabilește Microsoft.",
|
|
5039
|
+
ru: "**SM** – Microsoft Clarity (cookie Microsoft, third-party). Синхронизирует MUID между доменами Microsoft. Срок устанавливает Microsoft.",
|
|
5040
|
+
en: "**SM** – Microsoft Clarity (Microsoft cookie, third-party). Synchronises MUID across Microsoft domains. The duration is set by Microsoft."
|
|
5041
|
+
}
|
|
5042
|
+
),
|
|
5043
|
+
g({
|
|
5044
|
+
ro: "Detalii despre cookie-urile Microsoft Clarity: [documentația Microsoft Clarity](https://learn.microsoft.com/clarity/setup-and-installation/clarity-cookies) și [Declarația de confidențialitate Microsoft](https://www.microsoft.com/privacy/privacystatement).",
|
|
5045
|
+
ru: "Подробнее о cookie Microsoft Clarity: [документация Microsoft Clarity](https://learn.microsoft.com/clarity/setup-and-installation/clarity-cookies) и [Заявление о конфиденциальности Microsoft](https://www.microsoft.com/privacy/privacystatement).",
|
|
5046
|
+
en: "Details about the Microsoft Clarity cookies: the [Microsoft Clarity documentation](https://learn.microsoft.com/clarity/setup-and-installation/clarity-cookies) and the [Microsoft Privacy Statement](https://www.microsoft.com/privacy/privacystatement)."
|
|
5047
|
+
}),
|
|
5048
|
+
A({ ro: "3.3. Marketing și personalizare", ru: "3.3. Маркетинг и персонализация", en: "3.3. Marketing and personalisation" }),
|
|
5049
|
+
g({
|
|
5050
|
+
ro: "În prezent, site-ul nu folosește cookie-uri de marketing sau de publicitate. Dacă vor fi introduse, le vom adăuga în această listă și vor fi plasate numai cu acordul dumneavoastră.",
|
|
5051
|
+
ru: "В настоящее время сайт не использует маркетинговые или рекламные cookie. Если они будут введены, мы добавим их в этот список, и они будут размещаться только с вашего согласия.",
|
|
5052
|
+
en: "At present the site does not use marketing or advertising cookies. If they are introduced, we will add them to this list and they will be placed only with your consent."
|
|
5053
|
+
}),
|
|
5054
|
+
A({ ro: "3.4. Conținut de la terți", ru: "3.4. Контент третьих сторон", en: "3.4. Third-party content" }),
|
|
5055
|
+
g({
|
|
5056
|
+
ro: "Clipurile video YouTube de pe site sunt încorporate în modul cu confidențialitate sporită (youtube-nocookie.com), în care YouTube nu stochează informații despre vizitatori decât dacă aceștia redau clipul.",
|
|
5057
|
+
ru: "Видеоролики YouTube на сайте встроены в режиме повышенной конфиденциальности (youtube-nocookie.com), при котором YouTube не сохраняет информацию о посетителях, если они не воспроизводят ролик.",
|
|
5058
|
+
en: "The YouTube videos on the site are embedded in privacy-enhanced mode (youtube-nocookie.com), in which YouTube does not store information about visitors unless they play the video."
|
|
5059
|
+
})
|
|
5060
|
+
]
|
|
5061
|
+
},
|
|
5062
|
+
{
|
|
5063
|
+
id: "anchor-4",
|
|
5064
|
+
title: { ro: "4. Cum obținem consimțământul?", ru: "4. Как мы получаем согласие?", en: "4. How do we obtain consent?" },
|
|
5065
|
+
blocks: [
|
|
5066
|
+
g({
|
|
5067
|
+
ro: "La prima vizită pe site, vedeți un banner prin care puteți accepta toate cookie-urile, doar pe cele strict necesare sau puteți alege separat fiecare categorie. Cookie-urile strict necesare sunt active întotdeauna. Cele analitice și de marketing nu sunt plasate până când nu vă exprimați acordul.",
|
|
5068
|
+
ru: "При первом посещении сайта вы видите баннер, в котором можно принять все cookie, только строго необходимые или выбрать каждую категорию отдельно. Строго необходимые cookie активны всегда. Аналитические и маркетинговые cookie не размещаются, пока вы не дадите согласие.",
|
|
5069
|
+
en: "On your first visit to the site, you see a banner where you can accept all cookies, only the strictly necessary ones, or choose each category separately. Strictly necessary cookies are always active. Analytics and marketing cookies are not placed until you give your consent."
|
|
5070
|
+
}),
|
|
5071
|
+
g({
|
|
5072
|
+
ro: "Vă puteți schimba sau retrage oricând acordul din linkul pentru setările de cookie-uri din subsolul paginii. Retragerea acordului nu afectează prelucrarea efectuată înainte de retragere.",
|
|
5073
|
+
ru: "Вы можете в любой момент изменить или отозвать согласие по ссылке на настройки cookie в нижней части страницы. Отзыв согласия не влияет на обработку, осуществлённую до отзыва.",
|
|
5074
|
+
en: "You can change or withdraw your consent at any time through the cookie settings link in the footer of the page. Withdrawing consent does not affect processing carried out before the withdrawal."
|
|
5075
|
+
})
|
|
5076
|
+
]
|
|
5077
|
+
},
|
|
5078
|
+
{
|
|
5079
|
+
id: "anchor-5",
|
|
5080
|
+
title: {
|
|
5081
|
+
ro: "5. Cum puteți gestiona cookie-urile din browser?",
|
|
5082
|
+
ru: "5. Как управлять cookie в браузере?",
|
|
5083
|
+
en: "5. How can you manage cookies in your browser?"
|
|
5084
|
+
},
|
|
5085
|
+
blocks: [
|
|
5086
|
+
g({
|
|
5087
|
+
ro: "**Ștergerea cookie-urilor.** Puteți șterge cookie-urile de pe dispozitiv ștergând istoricul de navigare al browserului. Operațiunea șterge cookie-urile tuturor site-urilor vizitate, deci este posibil să pierdeți unele setări salvate (de exemplu, limba aleasă).",
|
|
5088
|
+
ru: "**Удаление cookie.** Вы можете удалить cookie с устройства, очистив историю просмотров браузера. Эта операция удаляет cookie всех посещённых сайтов, поэтому вы можете потерять некоторые сохранённые настройки (например, выбранный язык).",
|
|
5089
|
+
en: "**Deleting cookies.** You can delete cookies from your device by clearing your browser’s browsing history. This deletes the cookies of all the sites you have visited, so you may lose some saved settings (for example, the chosen language)."
|
|
5090
|
+
}),
|
|
5091
|
+
g({
|
|
5092
|
+
ro: "**Gestionarea cookie-urilor unui anumit site.** Pentru un control mai detaliat, verificați setările de confidențialitate și de cookie-uri ale browserului dumneavoastră.",
|
|
5093
|
+
ru: "**Управление cookie конкретного сайта.** Для более детального контроля проверьте настройки конфиденциальности и cookie в вашем браузере.",
|
|
5094
|
+
en: "**Managing the cookies of a specific site.** For finer control, check the privacy and cookie settings of your browser."
|
|
5095
|
+
}),
|
|
5096
|
+
g({
|
|
5097
|
+
ro: "**Blocarea cookie-urilor.** Vă puteți configura browserul să refuze cookie-urile. Dacă blocați și cookie-urile strict necesare, unele părți ale site-ului pot să nu funcționeze corect, de exemplu autentificarea sau păstrarea limbii alese.",
|
|
5098
|
+
ru: "**Блокировка cookie.** Вы можете настроить браузер на отказ от cookie. Если вы блокируете и строго необходимые cookie, некоторые части сайта могут работать некорректно, например аутентификация или сохранение выбранного языка.",
|
|
5099
|
+
en: "**Blocking cookies.** You can configure your browser to refuse cookies. If you also block the strictly necessary cookies, some parts of the site may not work properly, for example sign-in or remembering the chosen language."
|
|
5100
|
+
})
|
|
5101
|
+
]
|
|
5102
|
+
},
|
|
5103
|
+
{
|
|
5104
|
+
id: "anchor-6",
|
|
5105
|
+
title: { ro: "6. Mai multe informații", ru: "6. Дополнительная информация", en: "6. More information" },
|
|
5106
|
+
blocks: [
|
|
5107
|
+
g({
|
|
5108
|
+
ro: "Detalii despre modul în care AGE prelucrează datele cu caracter personal găsiți în [Politica de confidențialitate]({privacy}).",
|
|
5109
|
+
ru: "Подробности о том, как АЭУ обрабатывает персональные данные, вы найдёте в [Политике конфиденциальности]({privacy}).",
|
|
5110
|
+
en: "You can find details about how EGA processes personal data in the [Privacy Policy]({privacy})."
|
|
5111
|
+
})
|
|
5112
|
+
]
|
|
5113
|
+
}
|
|
5114
|
+
], G4 = { ro: "ro-RO", ru: "ru-RU", en: "en-GB" };
|
|
5115
|
+
function V4(t, e) {
|
|
5116
|
+
const o = /* @__PURE__ */ new Date(`${t}T00:00:00Z`);
|
|
5117
|
+
return Number.isNaN(o.getTime()) ? t : new Intl.DateTimeFormat(G4[e], { day: "numeric", month: "long", year: "numeric", timeZone: "UTC" }).format(o);
|
|
5118
|
+
}
|
|
5119
|
+
const U4 = /^https?:\/\//i, O4 = "{privacy}";
|
|
5120
|
+
function o6(t, e) {
|
|
5121
|
+
return i(t).replace(/\*\*(.+?)\*\*/g, "<strong>$1</strong>").replace(/\[([^\]]+)\]\(([^)\s]+)\)/g, (o, n, r) => r === O4 ? e ? `<a href="${i(e)}">${n}</a>` : n : U4.test(r) ? `<a href="${r}" target="_blank" rel="noopener noreferrer">${n}</a>` : o);
|
|
5122
|
+
}
|
|
5123
|
+
function P4(t, e, o) {
|
|
5124
|
+
switch (t.type) {
|
|
5125
|
+
case "heading":
|
|
5126
|
+
return `<h3>${i(a(t.text, e))}</h3>`;
|
|
5127
|
+
case "list":
|
|
5128
|
+
return `<ul>${t.items.map((n) => `<li>${o6(a(n, e), o)}</li>`).join("")}</ul>`;
|
|
5129
|
+
default:
|
|
5130
|
+
return `<p>${o6(a(t.text, e), o)}</p>`;
|
|
5131
|
+
}
|
|
5132
|
+
}
|
|
5133
|
+
function F4(t) {
|
|
5134
|
+
const { lang: e, texts: o = S4, sections: n = A4 } = t, r = t.privacyHref ? v(t.privacyHref, e) : null, s = n.map(
|
|
5135
|
+
(c) => `<section class="mud-privacy-policy__section" id="${i(c.id)}" aria-labelledby="${i(c.id)}-title">
|
|
5136
|
+
<h2 id="${i(c.id)}-title">${i(a(c.title, e))}</h2>
|
|
5137
|
+
${c.blocks.map((u) => P4(u, e, r)).join(`
|
|
5138
|
+
`)}
|
|
5139
|
+
</section>`
|
|
5140
|
+
).join(`
|
|
5141
|
+
`);
|
|
5142
|
+
return `<div class="mud-privacy-policy" part="container">
|
|
5143
|
+
<header class="mud-privacy-policy__header" part="header">
|
|
5144
|
+
<h1 class="mud-privacy-policy__title">${i(a(o.pageTitle, e))}</h1>
|
|
5145
|
+
<p class="mud-privacy-policy__updated"><mud-icon name="clock" size="16" aria-hidden="true"></mud-icon>${i(a(o.updatedLabel, e))}: ${i(V4(o.updatedAt, e))}</p>
|
|
5146
|
+
<mud-button class="mud-privacy-policy__settings" data-mud-cookie-settings variant="primary" appearance="outlined" size="md">${i(a(o.cookieSettings, e))}</mud-button>
|
|
5147
|
+
</header>
|
|
5148
|
+
<div class="mud-privacy-policy__content" part="body">
|
|
5149
|
+
${s}
|
|
5150
|
+
</div>
|
|
5151
|
+
</div>`;
|
|
5152
|
+
}
|
|
5153
|
+
const D4 = `/* Privacy policy styles, scoped by the shadow DOM. Colours, radii and type come from the MUD tokens on the page; the fallbacks keep it usable without them. */
|
|
5154
|
+
|
|
5155
|
+
:host {
|
|
5156
|
+
display: block;
|
|
5157
|
+
font-family: var(--font-family-primary, "Onest", system-ui, -apple-system, sans-serif);
|
|
5158
|
+
}
|
|
5159
|
+
|
|
5160
|
+
:host([hidden]) {
|
|
5161
|
+
display: none;
|
|
5162
|
+
}
|
|
5163
|
+
|
|
5164
|
+
.mud-privacy-policy,
|
|
5165
|
+
.mud-privacy-policy * {
|
|
5166
|
+
box-sizing: border-box;
|
|
5167
|
+
}
|
|
5168
|
+
|
|
5169
|
+
.mud-privacy-policy {
|
|
5170
|
+
color: var(--color-text-base-secondary, #383838);
|
|
5171
|
+
font-size: var(--font-size-16, 16px);
|
|
5172
|
+
line-height: var(--line-height-24, 24px);
|
|
5173
|
+
}
|
|
5174
|
+
|
|
5175
|
+
/* Header: title, update date, cookie settings */
|
|
5176
|
+
.mud-privacy-policy__header {
|
|
5177
|
+
display: flex;
|
|
5178
|
+
flex-direction: column;
|
|
5179
|
+
align-items: flex-start;
|
|
5180
|
+
margin-block-end: var(--spacing-24, 24px);
|
|
5181
|
+
}
|
|
5182
|
+
|
|
5183
|
+
.mud-privacy-policy__title {
|
|
5184
|
+
margin: 0 0 var(--spacing-12, 12px);
|
|
5185
|
+
color: var(--color-text-base-default, #121212);
|
|
5186
|
+
font-size: 32px;
|
|
5187
|
+
font-weight: var(--font-weight-semibold, 600);
|
|
5188
|
+
line-height: 38.4px;
|
|
5189
|
+
}
|
|
5190
|
+
|
|
5191
|
+
.mud-privacy-policy__updated {
|
|
5192
|
+
display: flex;
|
|
5193
|
+
align-items: center;
|
|
5194
|
+
gap: var(--spacing-4, 4px);
|
|
5195
|
+
margin: 0 0 var(--spacing-12, 12px);
|
|
5196
|
+
color: var(--color-text-base-tertiary, #757575);
|
|
5197
|
+
font-size: var(--font-size-14, 14px);
|
|
5198
|
+
line-height: 21px;
|
|
5199
|
+
}
|
|
5200
|
+
|
|
5201
|
+
.mud-privacy-policy__settings {
|
|
5202
|
+
margin-block-end: var(--spacing-24, 24px);
|
|
5203
|
+
}
|
|
5204
|
+
|
|
5205
|
+
/* The text */
|
|
5206
|
+
/* When a section is scrolled to, it stops 24px below the top edge plus the host's extra space for sticky bars:
|
|
5207
|
+
the \`scroll-offset\` attribute, or \`--mud-privacy-policy-scroll-offset\` set in CSS on the tag. */
|
|
5208
|
+
.mud-privacy-policy__section {
|
|
5209
|
+
scroll-margin-block-start: calc(var(--spacing-24, 24px) + var(--mud-privacy-policy-scroll-offset, 0px));
|
|
5210
|
+
}
|
|
5211
|
+
|
|
5212
|
+
.mud-privacy-policy__section h2 {
|
|
5213
|
+
margin: 0 0 var(--spacing-16, 16px);
|
|
5214
|
+
color: var(--color-text-base-default, #121212);
|
|
5215
|
+
font-size: 24px;
|
|
5216
|
+
font-weight: 700;
|
|
5217
|
+
line-height: 33.6px;
|
|
5218
|
+
}
|
|
5219
|
+
|
|
5220
|
+
.mud-privacy-policy__section h3 {
|
|
5221
|
+
margin: var(--spacing-24, 24px) 0 var(--spacing-8, 8px);
|
|
5222
|
+
color: var(--color-text-base-default, #121212);
|
|
5223
|
+
font-size: 18px;
|
|
5224
|
+
font-weight: var(--font-weight-semibold, 600);
|
|
5225
|
+
line-height: 28px;
|
|
5226
|
+
}
|
|
5227
|
+
|
|
5228
|
+
.mud-privacy-policy__section p {
|
|
5229
|
+
margin: 0 0 var(--spacing-16, 16px);
|
|
5230
|
+
}
|
|
5231
|
+
|
|
5232
|
+
.mud-privacy-policy__section ul {
|
|
5233
|
+
margin: 0 0 var(--spacing-16, 16px);
|
|
5234
|
+
padding-inline-start: var(--spacing-24, 24px);
|
|
5235
|
+
}
|
|
5236
|
+
|
|
5237
|
+
.mud-privacy-policy__section li {
|
|
5238
|
+
margin-block-end: var(--spacing-8, 8px);
|
|
5239
|
+
overflow-wrap: anywhere;
|
|
5240
|
+
}
|
|
5241
|
+
|
|
5242
|
+
.mud-privacy-policy__section + .mud-privacy-policy__section {
|
|
5243
|
+
margin-block-start: var(--spacing-32, 32px);
|
|
5244
|
+
}
|
|
5245
|
+
|
|
5246
|
+
.mud-privacy-policy__section strong {
|
|
5247
|
+
color: var(--color-text-base-default, #121212);
|
|
5248
|
+
font-weight: var(--font-weight-semibold, 600);
|
|
5249
|
+
}
|
|
5250
|
+
|
|
5251
|
+
.mud-privacy-policy__section a {
|
|
5252
|
+
color: var(--color-text-brand-default, #0058d2);
|
|
5253
|
+
text-decoration: underline;
|
|
5254
|
+
}
|
|
5255
|
+
|
|
5256
|
+
.mud-privacy-policy__section a:focus-visible {
|
|
5257
|
+
outline: 2px solid var(--color-border-brand-default, #0058d2);
|
|
5258
|
+
outline-offset: 2px;
|
|
5259
|
+
}
|
|
5260
|
+
|
|
5261
|
+
@media (min-width: 768px) {
|
|
5262
|
+
.mud-privacy-policy__title {
|
|
5263
|
+
font-size: 40px;
|
|
5264
|
+
line-height: 48px;
|
|
5265
|
+
}
|
|
5266
|
+
}
|
|
5267
|
+
`, n6 = "--mud-privacy-policy-scroll-offset";
|
|
5268
|
+
class B4 extends z {
|
|
5269
|
+
static get observedAttributes() {
|
|
5270
|
+
return ["scroll-offset", "privacy-href"];
|
|
5271
|
+
}
|
|
5272
|
+
/** Extra pixels left free above a section when it is scrolled to. 0 when the attribute is missing or not a number. */
|
|
5273
|
+
get scrollOffset() {
|
|
5274
|
+
const e = Number(this.getAttribute("scroll-offset"));
|
|
5275
|
+
return Number.isFinite(e) && e > 0 ? e : 0;
|
|
5276
|
+
}
|
|
5277
|
+
set scrollOffset(e) {
|
|
5278
|
+
this.setAttribute("scroll-offset", String(e));
|
|
5279
|
+
}
|
|
5280
|
+
scrollToSection(e) {
|
|
5281
|
+
const o = this.root.getElementById(e);
|
|
5282
|
+
if (!o) return !1;
|
|
5283
|
+
const n = typeof matchMedia == "function" && matchMedia("(prefers-reduced-motion: reduce)").matches;
|
|
5284
|
+
return o.scrollIntoView({ behavior: n ? "auto" : "smooth", block: "start" }), !0;
|
|
5285
|
+
}
|
|
5286
|
+
styles() {
|
|
5287
|
+
return D4;
|
|
5288
|
+
}
|
|
5289
|
+
template() {
|
|
5290
|
+
return F4({ lang: this.pageLang, privacyHref: this.getAttribute("privacy-href") });
|
|
5291
|
+
}
|
|
5292
|
+
afterRender() {
|
|
5293
|
+
this.hasAttribute("scroll-offset") ? this.style.setProperty(n6, `${this.scrollOffset}px`) : this.style.removeProperty(n6);
|
|
4203
5294
|
}
|
|
4204
5295
|
}
|
|
4205
|
-
|
|
5296
|
+
M("mud-privacy-policy", B4);
|
|
4206
5297
|
export {
|
|
4207
|
-
|
|
4208
|
-
|
|
4209
|
-
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4213
|
-
|
|
4214
|
-
|
|
4215
|
-
j as
|
|
4216
|
-
|
|
4217
|
-
|
|
4218
|
-
|
|
4219
|
-
|
|
4220
|
-
|
|
4221
|
-
|
|
4222
|
-
|
|
5298
|
+
z as MudComponent,
|
|
5299
|
+
C4 as MudCookieBanner,
|
|
5300
|
+
W6 as MudFooter,
|
|
5301
|
+
W3 as MudFooterV2,
|
|
5302
|
+
y3 as MudHeader,
|
|
5303
|
+
z4 as MudMProductsLogo,
|
|
5304
|
+
B4 as MudPrivacyPolicy,
|
|
5305
|
+
E4 as configureMud,
|
|
5306
|
+
j as cookieBannerServices,
|
|
5307
|
+
I as cookieBannerTexts,
|
|
5308
|
+
G6 as footerShared,
|
|
5309
|
+
A3 as footerV2Shared,
|
|
5310
|
+
K as footerV2Variants,
|
|
5311
|
+
S as headerShared,
|
|
5312
|
+
Y as headerVariants,
|
|
5313
|
+
v6 as loadMud,
|
|
5314
|
+
j4 as mProductLogoUrl,
|
|
5315
|
+
e6 as mProductLogos,
|
|
5316
|
+
T4 as mProducts,
|
|
5317
|
+
A4 as privacyPolicySections,
|
|
5318
|
+
S4 as privacyPolicyTexts,
|
|
5319
|
+
N as variants
|
|
4223
5320
|
};
|
|
4224
5321
|
//# sourceMappingURL=mud-site-kit.esm.js.map
|