PageSourceSearch

https://intranet.westliches-weserbergland.de/dist/js/LayoutMain_DpxxV0l1.min.js

js westliches-weserbergland.de collected 2026-10-02 11:01:12 UTC 84,316 bytes, 2,259 lines download raw bytes

1(function() {
2	try {
3		var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4		e.SENTRY_RELEASE = { id: "live_2026-10-01-1531" };
5		var t = new e.Error().stack;
6		t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "d4115044-707b-4ca1-953a-752c5c7fe8c6", e._sentryDebugIdIdentifier = "sentry-dbid-d4115044-707b-4ca1-953a-752c5c7fe8c6");
7	} catch (e) {}
8})();
9import { n as e, r as t } from "./App_qQfW2uRC.min.js";
10import { $s as n, Ac as r, Bo as i, Bs as a, Dc as o, Ei as s, Gs as c, Hs as l, Jc as u, Pa as d, Pc as f, Qs as p, Sc as m, Ui as h, Us as g, Vs as _, Ys as v, Zs as y, aa as b, ai as x, al as S, ba as C, bc as w, ca as ee, cc as te, ci as ne, dl as re, es as ie, fl as T, il as ae, jc as oe, kc as se, ki as ce, la as le, li as E, mc as D, ml as O, nt as ue, pl as de, ri as fe, si as pe, t as me, wc as he } from "./topMessageHandler_CaWydTPF.min.js";
11import { $ as k, A as ge, At as _e, E as A, F as j, I as ve, L as M, N, O as ye, Ot as P, P as be, R as F, T as I, U as L, X as R, Y as z, _ as B, a as xe, c as V, d as H, f as U, g as W, i as G, j as Se, jt as K, l as q, lt as J, nt as Y, q as Ce, tt as we, u as X, w as Te, y as Z } from "./runtime-core.esm-bundler_DscPLG0X.min.js";
12import { a as Q, o as Ee } from "./mailtransport_K7iyl1JZ.min.js";
13import { n as De, t as Oe } from "./asyncToGenerator_CnehwrQ8.min.js";
14import { a as ke, o as Ae } from "./vue-router_D9yl1vCo.min.js";
15import { r as je } from "./vuex.esm-bundler_ByHC_Vqx.min.js";
16import { s as Me } from "./addresses_BKkK47Xf.min.js";
17/* empty css                  */
18import { t as Ne } from "./AppScrollbar_DJhxOgJP.min.js";
19import { t as Pe } from "./AppError_Bz9Y5_ki.min.js";
20import { n as Fe, t as Ie } from "./PrivacyPolicyPopup_D6yI9YMj.min.js";
21import { t as $ } from "./print_Cl6sEFqy.min.js";
22import { t as Le } from "./SearchResult_D9Pc-ID6.min.js";
23import { t as Re } from "./supportCall_CQVlvBpw.min.js";
24//#region src/library/cookie.ts
25De();
26var ze = new class {
27	constructor() {
28		this.attributes = {};
29		let e = document.cookie;
30		if (e.length) {
31			let t = e.split("; ");
32			for (let e of t) {
33				let t = e.split("="), n = t[0], r = t[1];
34				if (r.substr(0, 13) === "__stringified") try {
35					this.attributes[n] = JSON.parse(r.substr(13));
36				} catch (e) {}
37				else this.attributes[n] = r;
38			}
39		}
40	}
41	set(e, t, n = 0) {
42		let r = "";
43		if (this.attributes[e] = t, typeof t == "object" && (t = "__stringified" + JSON.stringify(t)), n) {
44			let e = /* @__PURE__ */ new Date();
45			e.setTime(e.getTime() + n * 60 * 1e3), r = "; expires=" + e.toUTCString();
46		}
47		return document.cookie = e + "=" + t + r + "; path=/; secure; samesite=none; domain=." + window.location.hostname, this;
48	}
49	get(e, t = null) {
50		let n = this.attributes[e];
51		return n === "false" ? n = !1 : n === "true" ? n = !0 : n === void 0 || n === "undefined" && typeof n == "string" ? n = t : n === "null" && (n = null), n;
52	}
53	isset(e) {
54		return this.attributes[e] !== void 0;
55	}
56	unset(e) {
57		return delete this.attributes[e], document.cookie = e + "=; expires=Thu, 01-Jan-1970 00:00:01 GMT; path=/", this;
58	}
59	clear() {
60		for (let e in this.attributes) this.attributes.hasOwnProperty(e) && this.unset(e);
61	}
62}();
63//#endregion
64//#region src/library/legal.ts
65Ee();
66var Be = (e, t) => {
67	let n = t == null ? void 0 : t.legalNotice;
68	if ((n ? e.state.layoutData.legalNoticeData.type : e.state.layoutData.privacyPolicyData.type) === 1) {
69		let t = n ? e.state.layoutData.legalNoticeData.link : e.state.layoutData.privacyPolicyData.link;
70		return window.open(t, "_blank");
71	}
72	return e.dispatch("createPopup", {
73		id: "legal_popup",
74		title: n ? "Impressum" : "Datenschutzerklärung",
75		titleIcon: "balance",
76		component: k(n ? Fe : Ie)
77	}).then((e) => e.open());
78}, Ve = { class: "content-top window-hidden-xs" }, He = { class: "content-top-inner" }, Ue = { class: "add-bookmark-wrapper" }, We = { title: "Seite in den Lesezeichen speichern" }, Ge = { id: "bookmark-list-wrapper" }, Ke = { title: "Lesezeichen anzeigen" }, qe = {
79	key: 0,
80	class: "dashboard-icon-container"
81}, Je = { title: "Öffnet das Persönliche Dashboard-Pop-up" }, Ye = {
82	id: "topbar-accessibility",
83	class: "topbar-module-icon",
84	tabindex: "0",
85	"aria-label": "Barrierefreiheit: Textgröße und Kontrast ändern"
86}, Xe = {
87	class: "material-icons md-dark",
88	title: "Barrierefreiheit",
89	"aria-hidden": "true",
90	role: "img"
91}, Ze = { class: "margin-20 text-center" }, Qe = {
92	key: 0,
93	class: "flex flex-space-between"
94}, $e = { class: "margin-right-30" }, et = { class: "margin-right-30" }, tt = { key: 1 }, nt = {
95	key: 2,
96	class: "flex flex-space-between"
97}, rt = { class: "margin-right-30" }, it = { class: "margin-right-30" }, at = {
98	key: 0,
99	class: "margin-20 text-left message-content"
100}, ot = { class: "portuna-box-content-bottom text-center" }, st = {
101	key: 0,
102	title: "Schritt zurück"
103}, ct = { title: "Seite neu laden" }, lt = { title: "Seite drucken" }, ut = { title: "Zum Seitenanfang" }, dt = { title: "Zum Seitenende" }, ft = { key: 2 }
103, pt = { key: 3 }, mt = { key: 4 }, ht = { key: 0 }, gt = ["title"], _t = { key: 1 }, vt = { title: "Impressum öffnen" }, yt = { key: 2 }, bt = { title: "Datenschutzerklärung öffnen" }, xt = /* @__PURE__ */ Z({
104	__name: "ContentSidebarRight",
105	setup(e, { expose: t }) {
106		let n = Te("view-size"), r = u(), i = r.currentUser, o = je(), s = Ae(), c = we({
107			id: 0,
108			title: "",
109			category: 0,
110			categoryOrder: 0
111		}), l = Y(!1), d = Y(!1), f = V(() => w()), p = V(() => o.state.layoutData), m = Y({
112			fontSize: "81.25%",
113			filter: "normal"
114		}), h = V(() => o.state.bookmark), g = V(() => p.value.accessibility.accessibility_enabled && p.value.accessibility.accessibility_easy_language_enabled ? "Barrierefreiheitserklärung & Leichte Sprache Informationen öffnen" : p.value.accessibility.accessibility_enabled ? "Barrierefreiheitserklärung öffnen" : "Leichte Sprache Informationen öffnen"), _ = V(() => p.value.accessibility.accessibility_enabled || p.value.accessibility.accessibility_easy_language_enabled), v = V(() => p.value.legalNoticeData ? a(p.value.legalNoticeData).some((e) => typeof p.value.legalNoticeData[e] == "string" && p.value.legalNoticeData[e].trim().length > 0) : !1), y = V(() => p.value.privacyPolicyData ? a(p.value.privacyPolicyData).some((e) => typeof p.value.privacyPolicyData[e] == "string" && p.value.privacyPolicyData[e].trim().length > 0) : !1), b = V(() => v.value || y.value), x = function() {
115			var e = Oe(function* (e) {
116				return o.dispatch("createPopup", e);
117			});
118			return function(t) {
119				return e.apply(this, arguments);
120			};
121		}(), S = () => {
122			ne();
123		}, C = () => {
124			x({
125				size: "long",
126				title: "Ihr Dashboard",
127				titleIcon: "dashboard",
128				fullWidthOnMobile: !0,
129				component: k(E)
130			}).then((e) => e.open());
131		}, ee = () => {
132			window.location.reload();
133		}, re = () => {
134			window.history.go(-1);
135		}, ie = () => {
136			let e = document.getElementById("module-content");
137			e && $([e]);
138		}, T = (e) => {
139			window.scrollTo(0, e);
140		}, se = () => {
141			l.value = window.history && window.history.length > 1;
142		}, ce = (e) => {
143			oe.get("/application/bookmark/edit-bookmark/id/" + (e ? e.id : 0) + "/href/" + btoa(s.currentRoute.value.path)).then((e) => {
144				if (e.data.status === "OK") {
145					let t = e.data.data || {};
146					c.title = t.title || o.state.headline, c.category = t.category === void 0 ? 0 : parseInt(t.category), c.id = t.id === void 0 ? 0 : parseInt(t.id), pe(c);
147				} else throw Error();
148			}).catch(D);
149		}, le = (e) => {
150			if (!p.value.personalDashboardPopup.enabled) return;
151			let t = e.currentTarget.querySelector(".attach-file-icon");
152			t ? (t.classList.add("fade"), d.value = !0, C(), setTimeout(() => {
153				t.classList.remove("fade"), d.value = !1;
154			}, 750)) : C();
155		}, O = () => {
156			T(0);
157		}, ue = () => {
158			T(document.body.clientHeight);
159		};
160		se();
161		let de = () => {
162			ce(h.value);
163		}, fe = () => {
164			s.push({ name: "accessibility-information" });
165		}, me = "";
166		function he(e) {
167			let t = document.body;
168			me !== e && (t.classList.remove("grayscale", "inverted"), e === "black-and-white" ? t.classList.add("grayscale") : e === "inverted" && t.classList.add("inverted"), me = e, m.value = Q(Q({}, m.value), {}, { filter: "inverted" }));
169		}
170		let ge = () => {
171			he("black-and-white");
172		}, A = () => {
173			he("inverted");
174		}, j = () => {
175			he("normal");
176		};
177		function ve(e) {
178			let t = document.documentElement;
179			t.style.fontSize = `${e}`, m.value = Q(Q({}, m.value), {}, { fontSize: e });
180		}
181		let ye = () => {
182			ve(document.documentElement.style.fontSize = (document.documentElement.style.fontSize ? parseInt(document.documentElement.style.fontSize.replace("%", "")) : 81.25) - 10 + "%");
183		}, be = () => {
184			ve(document.documentElement.style.fontSize = (document.documentElement.style.fontSize ? parseInt(document.documentElement.style.fontSize.replace("%", "")) : 81.25) + 10 + "%");
185		}, I = () => {
186			let e = "81.25%";
187			document.documentElement.style.fontSize = e, m.value = Q(Q({}, m.value), {}, { fontSize: e }), ve(e);
188		}, L = ae.get("PortunaAppAccessibility");
189		return L && (m.value = JSON.parse(L)), Ce(m, (e) => {
190			ae.set("PortunaAppAccessibility", JSON.stringify(e));
191		}, { deep: !0 }), t(Object.assign({}, r, { componentName: "ContentSidebarRight" })), (e, t) => {
192			let r = M("router-link"), a = F("interact"), s = F("tooltip");
193			return N(), U("div", Ve, [
194				q("div", He, [
195					q("div", Ue, [R((N(), U("a", We, [q("i", {
196						class: P([{ active: h.value.id }, "material-icons md-dark"]),
197						"aria-hidden": "true",
198						role: "img"
199					}, K(h.value.id ? "star" : "star_border"), 3)])), [[a, () => de()]])]),
200					t[29] || (t[29] = W()),
201					q("div", Ge, [R((N(), U("a", Ke, [...t[0] || (t[0] = [q("i", {
202						class: "material-icons md-dark",
203						"aria-hidden": "true",
204						role: "img"
205					}, "article", -1)])])), [[a, () => S()]])]),
206					t[30] || (t[30] = W()),
207					p.value.personalDashboardPopup.enabled ? (N(), U("div", qe, [R((N(), U("a", Je, [...t[1] || (t[1] = [q("i", {
208						"aria-hidden": "true",
209						class: "material-icons md-dark attach-file-icon",
210						role: "img"
211					}, "attach_file", -1)])])), [[a, (e) => le(e)]])])) : H("", !0),
212					t[31] || (t[31] = W()),
213					p.value.accessibility.accessibility_contrast_switch_enabled || p.value.accessibility.accessibility_font_size_enabled ? (N(), X(te, {
214						key: 1,
215						"close-on-scroll": !1,
216						position: "bottom-right"
217					}, {
218						default: z(({ toggle: e }) => [R((N(), U("div", Ye, [R((N(), U("i", Xe, [...t[2] || (t[2] = [W("accessibility_new", -1)])])), [[s]])])), [[a, () => e()]])]),
219						container: z(({ close: e }) => [
220							q("div", Ze, [
221								p.value.accessibility.accessibility_contrast_switch_enabled ? (N(), U("div", Qe, [
222									R((N(), U("div", $e, [...t[3] || (t[3] = [q("div", { class: "text-center" }, [
223										q("i", {
224											class: "material-icons",
225											"aria-hidden": "true",
226											role: "img"
227										}, "contrast"),
228										W(),
229										q("br"),
230										W(),
231										q("span", { class: "text-under-icon" }, "Schwarz/Weiß")
232									], -1)])])), [[a, () => ge()]]),
233									t[6] || (t[6] = W()),
234									R((N(), U("div", et, [...t[4] || (t[4] = [q("div", { class: "text-center" }, [
235										q("i", {
236											class: "material-icons",
237											"aria-hidden": "true",
238											role: "img",
239											style: { transform: "rotate(-180deg)" }
240										}, "contrast"),
241										W(),
242										q("br"),
243										W(),
244										q("span", { class: "text-under-icon" }, "Weiß/Schwarz")
245									], -1)])])), [[a, () => A()]]),
246									t[7] || (t[7] = W()),
247									R((N(), U("div", null, [...t[5] || (t[5] = [q("div", { class: "text-center" }, [
248										q("i", {
249											class: "material-icons",
250											"aria-hidden": "true",
251											role: "img"
252										}, "circle"),
253										W(),
254										q("br"),
255										W(),
256										q("span", { class: "text-under-icon" }, "Farbig")
257									], -1)])])), [[a, () => j()]])
258								])) : H("", !0),
259								t[13] || (t[13] = W()),
260								p.value.accessibility.accessibility_contrast_switch_enabled && p.value.accessibility.accessibility_font_size_enabled ? (N(), U("hr", tt)) : H("", !0),
261								t[14] || (t[14] = W()),
262								p.value.accessibility.accessibility_font_size_enabled ? (N(), U("div", nt, [
263									R((N(), U("div", rt, [...t[8] || (t[8] = [q("div", { class: "text-center" }, [
264										q("i", {
265											class: "material-icons",
266											"aria-hidden": "true",
267											role: "img"
268										}, "remove"),
269										W(),
270										q("br"),
271										W(),
272										q("span", { class: "text-under-icon" }, "Vekleinern")
273									], -1)])])), [[a, () => ye()]]),
274									t[11] || (t[11] = W()),
275									R((N(), U("div", it, [...t[9] || (t[9] = [q("div", { class: "text-center" }, [
276										q("i", {
277											class: "material-icons",
278											"aria-hidden": "true",
279											role: "img"
280										}, "hdr_auto"),
281										W(),
282										q("br"),
283										W(),
284										q("span", { class: "text-under-icon" }, "Standard")
285									], -1)])])), [[a, () => I()]]),
286									t[12] || (t[12] = W()),
287									R((N(), U("div", null, [...t[10] || (t[10] = [q("div", { class: "text-center" }, [
288										q("i", {
289											class: "material-icons",
290											"aria-hidden": "true",
291											role: "img"
292										}, "add"),
293										W(),
294										q("br"),
295										W(),
296										q("span", { class: "text-under-icon" }, "Vergrößern")
297									], -1)])])), [[a, () => be()]])
298								])) : H("", !0)
299							]),
300							t[18] || (t[18] = W()),
301							p.value.user.admin ? R((N(), U("div", at, [q("div", ot, [
302								t[16] || (t[16] = q("hr", { class: "medium" }, null, -1)),
303								t[17] || (t[17] = W()),
304								B(r, {
305									to: { name: "settings-accessibility" },
306									class: "button button-primary"
307								}, {
308									default: z(() => [...t[15] || (t[15] = [W("\n                                    Zu den Barrierefreiheit-Einstellungen\n                                ", -1)])]),
309									_: 1
310								})
311							])])), [[a, () => e()]]) : H("", !0)
312						]),
313						_: 1
314					})) : H("", !0),
315					t[32] || (t[32] = W()),
316					q("div", null, [l.value ? R((N(), U("a", st, [...t[20] || (t[20] = [q("i", {
317						class: "material-icons md-dark",
318						"aria-hidden": "true",
319						role: "img"
320					}, "arrow_back", -1)])])), [[
321						a,
322						re,
323						void 0,
324						{ link: !0 }
325					]]) : H("", !0)]),
326					t[33] || (t[33] = W()),
327					q("div", null, [R((N(), U("a", ct, [...t[21] || (t[21] = [q("i", {
328						class: "material-icons md-dark",
329						"aria-hidden": "true",
330						role: "img"
331					}, "refresh", -1)])])), [[
332						a,
333						ee,
334						void 0,
335						{ link: !0 }
336					]])]),
337					t[34] || (t[34] = W()),
338					q("div", null, [R((N(), U("a", lt, [...t[22] || (t[22] = [q("i", {
339						class: "material-icons md-dark",
340						"aria-hidden": "true",
341						role: "img"
342					}, "print", -1)])])), [[a, ie]])]),
343					t[35] || (t[35] = W()),
344					q("div", null, [R((N(), U("a", ut, [...t[23] || (t[23] = [q("i", {
345						class: "material-icons md-dark",
346						"aria-hidden": "true",
347						role: "img"
348					}, "arrow_upward", -1)])])), [[a, O]])]),
349					t[36] || (t[36] = W()),
350					q("div", null, [R((N(), U("a", dt, [...t[24] || (t[24] = [q("i", {
351						class: "material-icons md-dark",
352						"aria-hidden": "true",
353						role: "img"
354					}, "arrow_downward", -1)])])), [[a, ue]])]),
355					t[37] || (t[37] = W()),
356					q("div", null, [B(r, {
357						to: "/help",
358						title: "FAQ - Häufig gestellte Fragen"
359					}, {
360						default: z(() => [...t[25] || (t[25] = [q("i", {
361							"aria-hidden": "true",
362							class: "material-icons md-dark",
363							role: "img"
364						}, "help", -1)])]),
365						_: 1
366					})]),
367					t[38] || (t[38] = W()),
368					J(i).admin ? (N(), U("div", ft, [B(r, {
369						to: { name: "dataprocessing" },
370						title: "Auftragsverarbeitung"
371					}, {
372						default: z(() => [...t[26] || (t[26] = [q("i", {
373							"aria-hidden": "true",
374							class: "material-icons md-dark",
375							role: "img"
376						}, "security", -1)])]),
377						_: 1
378					})])) : H("", !0),
379					t[39] || (t[39] = W()),
380					Object.values(J(i).modules).includes("log") ? (N(), U("div", pt, [B(r, {
381						to: { name: "log" },
382						title: "Ereignisverlauf"
383					}, {
384						default: z(() => [...t[27] || (t[27] = [q("i", {
385							class: "material-icons md-dark",
386							"aria-hidden": "true",
387							role: "img"
388						}, "history", -1)])]),
389						_: 1
390					})])) : H("", !0),
391					t[40] || (t[40] = W()),
392					f.value ? (N(), U("div", mt, [...t[28] || (t[28] = [q("a", {
393						href: "https://docs-intranet.verwaltungsportal.de",
394						target: "_blank",
395						title: "Intranet Dokumentation"
396					}, [q("i", {
397						class: "material-icons md-dark",
398						"aria-hidden": "true",
399						role: "img"
400					}, "code")], -1)])])) : H("", !0)
401				]),
402				t[46] || (t[46] = W()),
403				_.value || b.value ? (N(), U("div", {
404					key: 0,
405					class: "content-bottom-inner",
406					style: _e(J(o).state._debug && (J(n).lg || J(n).lgUp) ? { bottom: "150px" } : "")
407				}, [
408					_.value ? (N(), U("div", ht, [R((N(), U("a", { title: g.value }, [...t[41] || (t[41] = [q("i", {
409						class: "material-icons md-dark",
410						"aria-hidden": "true",
411						role: "img"
412					}, "local_library", -1)])], 8, gt)), [[a, () => fe()]])])) : H("", !0),
413					t[44] || (t[44] = W()),
414					v.value ? (N(), U("div", _t, [R((N(), U("a", vt, [...t[42] || (t[42] = [q("i", {
415						class: "material-icons md-dark",
416						"aria-hidden": "true",
417						role: "img"
418					}, "fingerprint", -1)])])), [[a, () => J(Be)(J(o), { legalNotice: !0 })]])])) : H("", !0),
419					t[45] || (t[45] = W()),
420					y.value ? (N(), U("div", yt, [R((N(), U("a", bt, [...t[43] || (t[43] = [q("i", {
421						class: "material-icons md-dark",
422						"aria-hidden": "true",
423						role: "img"
424					}, "policy", -1)])])), [[a, () => J(Be)(J(o))]])])) : H("", !0)
425				], 4)) : H("", !0)
426			]);
427		};
428	}
429});
430//#endregion
431//#region src/library/intranet/navigation.ts
432function St(e) {
433	return e ? typeof e == "string" ? e : se(Object.assign({ resource: e[0] }, e[1])) : "";
434}
435//#endregion
436//#region src/components/NavigationLeftLink.vue?vue&type=script&setup=true&lang.ts
437Ee();
438var Ct = ["aria-label"], wt = ["href", "aria-label"], Tt = 80, Et = /* @__PURE__ */ Z(Q(Q({}, { inheritAttrs: !1 }), {}, {
439	__name: "NavigationLeftLink",
440	props: {
441		menuPoint: {},
442		preventEvents: {
443			type: Boolean,
444			default: !0
445		},
446		interactCallback: {
447			type: Function,
448			default: () => {}
449		}
450	},
451	emits: ["click"],
452	setup(e, { expose: t, emit: n }) {
453		let r = u(), i = e, a = L(), o = Ae(), s = ke(), c = V(() => Object.assign(i.menuPoint.attributes || {}, a));
454		function l(e, t) {
455			if (e.preventDefault(), !d.value || m(d.value)) {
456				t();
457				return;
458			}
459			let [n, r] = d.value.split("#");
460			if (!r) {
461				t();
462				return;
463			}
464			if (s.path !== n) {
465				t();
466				return;
467			}
468			o.push({ hash: `#${r}` }), A(() => {
469				let e = document.getElementById(r);
470				if (!e) return;
471				let t = e.getBoundingClientRect().top + window.scrollY - Tt;
472				window.scrollTo({
473					top: t,
474					behavior: "smooth"
475				});
476			});
477		}
478		let d = V(() => St(i.menuPoint.href || "")), f = V(() => d.value ? m(d.value) ? Object.assign({
479			href: d.value,
480			target: "_blank",
481			rel: "noopener"
482		}, c.value) : {} : Object.assign({
483			href: "javascript: void(0);",
484			rel: "noopener"
485		}, c.value)), p = V(() => {
486			let e = Object.assign({ to: d.value }, c.value);
487			return e.preventEvents && (e.event = []), d.value && !m(d.value) && (e.href = d.value), e;
488		});
489		return t(Object.assign({}, r, { componentName: "NavigationLeftLink" })), (t, n) => {
490			let r = M("router-link"), i = F("interact");
491			return !d.value || J(m)(d.value) ? R((N(), U("a", I({ key: 0 }, f.value, { "aria-label": "Link zu: " + e.menuPoint.label }), [ve(t.$slots, "default")], 16, Ct)), [[i, (t) => e.interactCallback(t)]]) : (N(), X(r, I({ key: 1 }, p.value, {
492				custom: "",
493				to: d.value
494			}), {
495				default: z(({ navigate: n, isActive: r }) => [R((N(), U("a", I(t.$attrs, {
496					class: ["menu-link", { "router-link-active": r }],
497					href: d.value,
498					"aria-label": "Link zu: " + e.menuPoint.label
499				}), [ve(t.$slots, "default")], 16, wt)), [[i, (t) => {
500					e.interactCallback(t), l(t, n);
501				}]])]),
502				_: 3
503			}, 16, ["to"]));
504		};
505	}
506})), Dt = { class: "flex margin-left-10" }, Ot = {
507	key: 0,
508	class: "material-icons navigation-link",
509	"aria-hidden": "true",
510	role: "img"
511}, kt = /* @__PURE__ */ Z({
512	__name: "NavigationLeftModuleSub",
513	props: {
514		menuPoints: {},
515		depth: { default: 0 },
516		isAllowedModule: {
517			type: Boolean,
518			default: !1
519		}
520	},
521	emits: ["open", "close"],
522	setup(e, { expose: t, emit: n }) {
523		let r = u(), i = ee(), a = n, o = e, s = ke(), c = V(() => {
524			let e = [];
525			for (let t of o.menuPoints) if (t.allowed === void 0 || t.allowed) {
526				let n = Object.assign({}, t), r = [];
527				if (n.children) for (let e of n.children) (e.allowed === void 0 || e.allowed) && r.push(e);
528				n.children = r, e.push(n);
529			}
530			return e;
531		}), l = V(() => s.fullPath && i.getReferrer());
532		return t(Object.assign({}, r, { componentName: "NavigationLeftModuleSub" })), (t, n) => {
533			let r = M("router-link"), i = M("navigation-left-module-sub", !0), o = F("interact"), s = F("tooltip");
534			return N(), U("ul", null, [(N(!0), U(G, null, j(c.value, (t) => R((N(), U("li", I({ ref_for: !0 }, t.wrapper_attributes), [
535				B(Et, {
536					"interact-callback": () => a("close"),
537					"menu-point": t,
538					"prevent-events": !1
539				}, {
540					default: z(() => [q("div", Dt, [
541						t.icon ? (N(), U("i", Ot, K(t.icon), 1)) : H("", !0),
542						n[1] || (n[1] = W()),
543						q("div", null, K(t.label), 1)
544					])]),
545					_: 2
546				}, 1032, ["interact-callback", "menu-point"]),
547				n[3] || (n[3] = W()),
548				e.isAllowedModule && t.custom_menu_id && !t.is_fixed ? R((N(), X(r, {
549					key: 0,
550					to: "/navigation/edit/" + t.custom_menu_id + "/" + l.value,
551					class: "custom-point-edit",
552					label: "bearbeiten"
553				}, {
554					default: z(() => [...n[2] || (n[2] = [q("i", {
555						class: "material-icons",
556						tabindex: "-1",
557						"aria-hidden": "true",
558						role: "img"
559					}, "edit", -1)])]),
560					_: 1
561				}, 8, ["to"])), [[o, () => a("close")]]) : H("", !0),
562				n[4] || (n[4] = W()),
563				t.children && t.children.length ? (N(), X(i, {
564					key: 1,
565					"menu-points": t.children,
566					depth: e.depth + 1,
567					"is-allowed-module": e.isAllowedModule,
568					onClose: n[0] || (n[0] = () => a("close"))
569				}, null, 8, [
570					"menu-points",
571					"depth",
572					"is-allowed-module"
573				])) : H("", !0)
574			], 16)), [[s]])), 256))]);
575		};
576	}
577});
578//#endregion
579//#region src/components/NavigationLeftModule.vue?vue&type=script&setup=true&lang.ts
580De();
581var At = { "aria-hidden": "true" }, jt = {
582	class: "menu-icon material-icons",
583	role: "img"
584}, Mt = { class: "menu-module-label" }, Nt = ["aria-label"], Pt = {
585	key: 0,
586	class: "spacer-30"
587}
587, Ft = { key: 1 }, It = {
588	key: 0,
589	class: "portuna-menu-headline color-headline"
590}, Lt = ["href"], Rt = {
591	class: "material-icons md-18",
592	tabindex: "-1",
593	"aria-hidden": "true",
594	role: "img"
595}, zt = { class: "topbar-module-label" }, Bt = {
596	key: 1,
597	class: "topbar-module"
598}, Vt = { class: "topbar-module" }, Ht = { href: "javascript: void(0);" }, Ut = ["aria-label"], Wt = {
599	class: "material-icons md-18",
600	"aria-hidden": "true",
601	role: "img",
602	tabindex: "-1"
603}, Gt = { class: "topbar-module-label" }, Kt = { id: "topbar-module-list-close" }, qt = ["onOpen"], Jt = ["aria-label"], Yt = { class: "menu-module-label" }, Xt = ["aria-label"], Zt = ["onOpen"], Qt = {
604	class: "menu-icon material-icons",
605	"aria-hidden": "true",
606	role: "img"
607}, $t = { class: "menu-module-label" }, en = {
608	key: 0,
609	class: "icon-interact menu-arrow",
610	"aria-label": "Untermodule anzeigen"
611}, tn = {
612	key: 2,
613	href: "javascript: void(0);"
614}, nn = { key: 0 }, rn = /* @__PURE__ */ Z({
615	__name: "NavigationLeftModule",
616	props: { modelValue: { type: Boolean } },
617	emits: ["update:modelValue", "open"],
618	setup(e, { expose: n, emit: r }) {
619		let i = Te("defaultModuleIcon"), a = u(), o = ee(), s = r, c = je(), l = ke(), d = Ae(), f = Y(), p = Y(), h = Y(), g = Y(), v = Y(), y = Y(), b = Y(null), x = Y(!1), S = Y(null), C = Y({}), w = V(() => c.state.tileMenu), te = V(() => c.state.moduleMenu), ne = V(() => c.state.layoutData), re = V(() => ne.value.modules), ie = V(() => l.fullPath && o.getReferrer()), T = V(() => l.meta.module), ae = V(() => l.path), oe = V(() => l.fullPath && o.getReferrer()), se = V(() => C.value && ue.createByObject(C.value) || null), ce = V(() => {
620			var e, t;
621			let n = ((e = (t = w.value) == null ? void 0 : t.active) == null ? [] : e).filter((e) => !e.tile_only);
622			return se.value ? n.filter((e) => se.value.run(e)) : n;
623		}), le = V(() => {
624			let e = {
625				active: [],
626				hidden: []
627			};
628			for (let t of ce.value) t.show_left ? e.active.push(t) : e.hidden.push(t);
629			return e;
630		}), E = V(() => {
631			if (re.value && T.value) {
632				for (let e of re.value) if (e.resource === T.value) return e;
633			}
634			return null;
635		}), D = V(() => {
636			var e;
637			return ((e = E.value) == null ? void 0 : e.editable) || !1;
638		}), O = V(() => {
639			let e = [];
640			E.value && e.push({
641				label: "Start: " + E.value.name,
642				href: E.value.route,
643				icon: E.value.icon,
644				attributes: { id: "menu-point-start" }
645			});
646			for (let t of te.value) (t.allowed === void 0 || t.allowed) && e.push(t);
647			return e;
648		}), de = V(() => O.value.filter((e) => !e.location || e.location === "top")), pe = V(() => O.value.filter((e) => e.location === "bottom")), me = function() {
649			var e = Oe(function* () {
650				return c.dispatch("fetchTileMenu");
651			});
652			return function() {
653				return e.apply(this, arguments);
654			};
655		}(), he = function() {
656			var e = Oe(function* (e) {
657				return c.dispatch("loadModuleMenu", e);
658			});
659			return function(t) {
660				return e.apply(this, arguments);
661			};
662		}(), k = function() {
663			var e = Oe(function* () {
664				return c.dispatch("resetModuleMenus");
665			});
666			return function() {
667				return e.apply(this, arguments);
668			};
669		}(), ve = () => {
670			var e;
671			(e = document.getElementById("page")) == null || e.classList.add("side-hovered");
672		}, ye = () => {
673			var e;
674			(e = document.getElementById("page")) == null || e.classList.remove("side-hovered");
675		}, be = () => {
676			var e;
677			let t = ["ul ul .navigation-link.router-link-exact-active, .navigation-link.router-link-exact-active", "ul ul .navigation-link.router-link-active, .navigation-link.router-link-active"], n = [];
678			for (let e of t) if (n = [...a.componentElement.value.querySelectorAll(e)], n.length) break;
679			let r = (e) => {
680				var t;
681				return (((t = e.href) == null ? void 0 : t.length) || 0) - +(e.id === "menu-point-start");
682			};
683			return n.sort((e, t) => r(t) - r(e)), (e = n[0]) == null ? null : e;
684		}, L = (e) => {
685			e.description && new _({
686				title: "Interesse geweckt?",
687				text: e.description,
688				size: "small"
689			}).open();
690		}, xe = () => {
691			h.value.style.maxHeight = f.value.offsetHeight - p.value.offsetHeight - g.value.offsetHeight + "px";
692		}, Se = () => {
693			x.value = !x.value, me().then(() => {
694				A(() => {
695					C.value = {}, window.setTimeout(() => {
696						var e;
697						return (e = v.value) == null ? void 0 : e.focus();
698					}, 200);
699				});
700			});
701		}, we = () => {
702			x.value = !1;
703		}, Z = (e, t) => {
704			if (t && e.key === "Enter" && ce.value.length) {
705				for (let e in le.value) if (le.value.hasOwnProperty(e) && le.value[e][0]) return Se(), d.push(le.value[e][0].route), !0;
706			}
707			return !1;
708		}, Q = () => {
709			s("update:modelValue", !1);
710		}, Ee = () => {
711			if (!te.value.length) {
712				Q();
713				return;
714			}
715			A(() => {
716				let e = be();
717				if (!e) return !1;
718				for (let n of [h.value, g.value]) for (let r of n.children) {
719					var t;
720					if (!r.contains(e)) continue;
721					S.value = 0;
722					let n = ((t = r.querySelector("ul")) == null ? void 0 : t.__vue__) || null;
723					return n ? n.$emit("open") : r.dispatchEvent(new Event("open")), A(() => {
724						S.value = null;
725					}), !0;
726				}
727				return !1;
728			});
729		}, De = () => {
730			A(Ee);
731		}, Pe = () => {
732			for (let e = 0; e <= 500; e += 50) window.setTimeout(xe, e);
733		}, Fe = () => {
734			he(l.meta.module).finally(De);
735		}, Ie = Math.floor(Date.now() / 1e3);
736		fe.add(5, "lastNavigationUpdate", (e, t) => {
737			e ? console.error(e) : t > Ie && (Ie = t, k(), Fe());
738		}), Fe(), ne.value.moduleListDirect && A(() => {
739			Se();
740		}), ge(() => {
741			window.addEventListener("resize", Pe), xe();
742		});
743		let $ = (e, t = !1, n = !0) => {
744			b.value = !t && b.value === e ? null : e;
745			let r = St(e.href || "");
746			n && l.path !== r && (m(r) ? window.open(r, "_blank") : d.push(r)), Pe();
747		};
748		return Ce(le, () => {
749			let e = () => y.value.scrollTop(0);
750			A(() => {
751				e(), window.setTimeout(e, 200);
752			});
753		}), Ce(() => {
754			var e;
755			return l == null || (e = l.meta) == null ? void 0 : e.module;
756		}, Fe), Ce(() => l == null ? void 0 : l.fullPath, De), Ce(de, () => {
757			de.value.length === 2 && de.value[1].children && de.value[1].children.length && $(de.value[1], !0, !1);
758		}), Ce(pe, () => {
759			A(xe);
760		}), n(Object.assign({}, a, {
761			componentName: "NavigationLeftModule",
762			closeModuleSelect: we
763		})), (n, r) => {
764			let a = M("router-link"), o = F("interact"), s = F("tooltip"), c = F("toggle");
765			return N(), U("nav", {
766				ref_key: "menuWrapper",
767				ref: f,
768				class: P({ open: e.modelValue }),
769				onMouseover: ve,
770				onMouseout: ye
771			}, [
772				q("ul", {
773					ref_key: "menuModuleSelect",
774					ref: p,
775					class: "module-menu-list no-select contrast-menu"
776				}, [R((N(), U("li", {
777					id: "module-menu-module-list",
778					class: P({ open: x.value }),
779					"aria-label": "Untermodule"
780				}, [q("div", At, [
781					q("span", null, [q("i", jt, K(x.value ? "view_module" : "apps"), 1)]),
782					r[4] || (r[4] = W()),
783					q("div", Mt, [r[3] || (r[3] = W("\n                        Modulauswahl\n                        ", -1)), E.value ? (N(), U(G, { key: 0 }, [
784						r[1] || (r[1] = q("br", null, null, -1)),
785						r[2] || (r[2] = W()),
786						q("small", { "aria-label": E.value.menu_name }, K(E.value.menu_name), 9, Nt)
787					], 64)) : H("", !0)]),
788					r[5] || (r[5] = W()),
789					r[6] || (r[6] = q("span", { "aria-label": "Untermodule anzeigen" }, [q("i", {
790						class: "material-icons md-18",
791						role: "img"
792					}, "keyboard_arrow_down")], -1))
793				])], 2)), [[o, Se]])], 512),
794				r[33] || (r[33] = W()),
795				q("div", {
796					id: "topbar-module-list",
797					class: P({ open: x.value })
798				}, [w.value ? (N(), U("div", Ft, [
799					B(t, {
800						ref_key: "moduleSearch",
801						ref: v,
802						placeholder: "Nach Modul suchen",
803						"aria-label": "Nach Modul suchen",
804						modelValue: C.value.name,
805						"onUpdate:modelValue": r[0] || (r[0] = (e) => C.value.name = e),
806						class: "no-margin",
807						events: { keyup: (e) => Z(e, C.value.name) },
808						autofocus: "",
809						debounce: "50ms"
810					}, null, 8, ["modelValue", "events"]),
811					r[15] || (r[15] = W()),
812					B(Ne, {
813						ref_key: "moduleListScrollbar",
814						ref: y,
815						id: "topbar-module-list-wrapper"
816					}, {
817						default: z(() => [
818							ce.value.length ? (N(), U("div", {
819								key: 0,
820								class: P({ "search-active": C.value.name })
821							}, [(N(!0), U(G, null, j(le.value, (e, t) => (N(), U(G, null, [e.length ? (N(), U(G, { key: 0 }, [
822								t === "hidden" ? (N(), U("div", It, "Ausgeblendete Module")) : H("", !0),
823								r[8] || (r[8] = W()),
824								(N(!0), U(G, null, j(e, (e) => (N(), U("div", { class: P(["topbar-module", { active: J(l).meta.module === e.resource }]) }, [B(a, {
825									to: e.route,
826									custom: ""
827								}, {
828									default: z(({ navigate: t }) => [R((N(), U("a", { href: e.route }, [
829										q("div", {
830											class: "topbar-module-icon",
831											style: _e("background: " + e.background + ";")
832										}, [q("i", Rt, K(e.icon || J(i)), 1)], 4),
833										r[7] || (r[7] = W()),
834										q("div", zt, K(e.name), 1)
835									], 8, Lt)), [[o, () => {
836										Se(), t();
837									}]])]),
838									_: 2
839								}, 1032, ["to"])], 2))), 256))
840							], 64)) : H("", !0)], 64))), 256))], 2)) : (N(), U("div", Bt, [...r[9] || (r[9] = [q("a", { href: "javascript: void(0);" }, [q("div", { class: "topbar-module-label" }, [q("strong", { class: "font-size-13" }, "\n                                    Keine Module gefunden\n                                ")])], -1)])])),
841							r[13] || (r[13] = W()),
842							w.value.inactive.length && ne.value.user.admin ? (N(), U(G, { key: 2 }, [
843								r[11] || (r[11] = q("div", { class: "portuna-menu-headline color-headline" }, "Weitere buchbare Module", -1)),
844								r[12] || (r[12] = W()),
845								(N(!0), U(G, null, j(w.value.inactive, (e) => R((N(), U("div", Vt, [q("a", Ht, [
846									q("div", {
847										class: "topbar-module-icon",
848										style: _e("background: " + e.background + ";"),
849										"aria-label": e.name
850									}, [q("i", Wt, K(e.icon || J(i)), 1)], 12, Ut),
851									r[10] || (r[10] = W()),
852									q("div", Gt, K(e.name), 1)
853								])])), [[o, () => L(e)]])), 256))
854							], 64)) : H("", !0)
855						]),
856						_: 1
857					}, 512),
858					r[16] || (r[16] = W()),
859					R((N(), U("div", Kt, [...r[14] || (r[14] = [q("i", {
860						class: "material-icons",
861						"aria-hidden": "true",
862						role: "img"
863					}, "close", -1), W(" Schließen\n                ", -1)])])), [[o, () => Se()]])
864				])) : (N(), U("div", Pt, [B(Me, {
865					text: "Lade Modulauswahl...",
866					class: "intranet-headline-color"
867				})]))], 2),
868				r[34] || (r[34] = W()),
869				B(Ne, { class: "scroll-menu scroll" }, {
870					default: z(() => [q("ul", {
871						ref_key: "menuMain",
872						ref: h,
873						id: "nav-main",
874						class: "module-menu-list no-select contrast-menu"
875					}, [(N(!0), U(G, null, j(de.value, (e) => (N(), U("li", I({ class: { open: b.value === e } }, { ref_for: !0 }, e.attributes, { onOpen: (t) => $(e, !0, !1) }), [!e.ifOnRoute || ae.value.includes(e.ifOnRoute) ? (N(), U(G, { key: 0 }, [
876						R((N(), U("div", I({ ref_for: !0 }, e.wrapper_attributes), [
877							q("i", {
878								class: "menu-icon material-icons",
879								"aria-label": e.label + " öffnen",
880								role: "img"
881							}, K(e.icon || "keyboard_arrow_right"), 9, Jt),
882							r[19] || (r[19] = W()),
883							q("div", Yt, [W(K(e.label) + " ", 1), D.value && e.custom_menu_id && !e.is_fixed ? R((N(), X(a, {
884								key: 0,
885								"aria-label": e.label + " bearbeiten",
886								to: "/navigation/edit/" + e.custom_menu_id + "/" + ie.value,
887								class: "custom-point-edit"
888							}, {
889								default: z(() => [...r[17] || (r[17] = [q("i", {
890									class: "material-icons",
891									"aria-hidden": "true",
892									role: "img"
893								}, "edit", -1)])]),
894								_: 1
895							}, 8, ["aria-label", "to"])), [[o, () => Q()]]) : H("", !0)]),
896							r[20] || (r[20] = W()),
897							e.children ? R((N(), U("span", {
898								key: 0,
899								class: "icon-interact menu-arrow",
900								"aria-label": e.label + "öffnen"
901							}, [...r[18] || (r[18] = [q("i", {
902								class: "material-icons",
903								tabindex: "-1",
904								"aria-hidden": "true",
905								role: "img"
906							}, "keyboard_arrow_down", -1)])], 8, Xt)), [[o, () => $(e, !1, !1)]]) : H("", !0),
907							r[21] || (r[21] = W()),
908							B(Et, {
909								"interact-callback": () => {
910									$(e, !0), Q();
911								},
912								"menu-point": e
913							}, null, 8, ["interact-callback", "menu-point"])
914						], 16)), [[s]]),
915						r[22] || (r[22] = W()),
916						e.children ? R((N(), X(kt, {
917							key: 0,
918							"menu-points": e.children,
919							onOpen: (t) => $(e, !0, !1),
920							"is-allowed-module": D.value,
921							onClose: Q
922						}, null, 8, [
923							"menu-points",
924							"onOpen",
925							"is-allowed-module"
926						])), [[
927							c,
928							b.value === e,
929							S.value
930						]]) : H("", !0)
931					], 64)) : H("", !0)], 16, qt))), 256))], 512)]),
932					_: 1
933				}),
934				r[35] || (r[35] = W()),
935				q("ul", {
936					ref_key: "menuBottom",
937					ref: g,
938					id: "module-menu-list-bottom",
939					class: "module-menu-list no-select contrast-menu"
940				}, [
941					(N(!0), U(G, null, j(pe.value, (e) => (N(), U("li", {
942						class: P({ open: b.value === e }),
943						onOpen: (t) => $(e, !0, !1)
944					}, [
945						e.children ? R((N(), X(kt, {
946							key: 0,
947							"menu-points": e.children,
948							onOpen: (t) => $(e, !0, !1),
949							"is-allowed-module": D.value,
950							onClose: Q
951						}, null, 8, [
952							"menu-points",
953							"onOpen",
954							"is-allowed-module"
955						])), [[
956							c,
957							b.value === e,
958							S.value
959						]]) : H("", !0),
960						r[27] || (r[27] = W()),
961						R((N(), U("div", I({ ref_for: !0 }, e.wrapper_attributes), [
962							q("i", Qt, K(e.icon), 1),
963							r[24] || (r[24] = W()),
964							q("div", $t, K(e.label), 1),
965							r[25] || (r[25] = W()),
966							e.children ? R((N(), U("span", en, [...r[23] || (r[23] = [q("i", {
967								"aria-hidden": "true",
968								tabindex: "-1",
969								class: "material-icons",
970								role: "img"
971							}, "keyboard_arrow_down", -1)])])), [[o, () => $(e, !1, !1)]]) : H("", !0),
972							r[26] || (r[26] = W()),
973							e.href ? (N(), X(Et, {
974								key: 1,
975								"menu-point": e,
976								"interact-callback": () => {
977									$(e, !0), Q();
978								}
979							}, null, 8, ["menu-point", "interact-callback"])) : R((N(), U("a", tn, null, 512)), [[o, () => $(e)]])
980						], 16)), [[s]])
981					], 42, Zt))), 256)),
982					r[32] || (r[32] = W()),
983					D.value && E.value && E.value.menu ? (N(), U("li", nn, [q("div", null, [
984						r[28] || (r[28] = q("i", {
985							class: "menu-icon material-icons",
986							"aria-hidden": "true",
987							role: "img"
988						}, "add", -1)),
989						r[29] || (r[29] = W()),
990						r[30] || (r[30] = q("div", { class: "menu-module-label" }, "Menüpunkt hinzufügen", -1)),
991						r[31] || (r[31] = W()),
992						R(B(a, {
993							to: "/navigation/add/" + E.value.menu + "/" + oe.value,
994							"aria-label": "Menüpunkt hinzufügen"
995						}, null, 8, ["to"]), [[o, () => Q()]])
996					])])) : H("", !0)
997				], 512)
998			], 34);
999		};
1000	}
1001}), an = {
1002	class: "time-tracker-header flex flex-vertical-middle no-select",
1003	title: "Klicken Sie hier um das Intranet wieder aus Ihrer Sicht zu sehen."
1004}, on = { class: "time-tracker-group" }, sn = {
1005	key: 0,
1006	class: "material-icons md-30",
1007	"aria-hidden": "true",
1008	role: "img"
1009}, cn = /* @__PURE__ */ Z({
1010	__name: "TopBarImpersonate",
1011	setup(e, { expose: t }) {
1012		let n = Te("view-size"), r = u(), i = r.currentUser, a = () => {
1013			oe.post("/ajax/reset-impersonate-user").then((e) => {
1014				let { data: t, status: n } = e.data;
1015				if (n !== "OK") throw e;
1016				me.success(t.message), setTimeout(() => {
1017					t.origin === "employee" ? window.location.href = "/employee/employee/view/" + t.id : t.origin === "useradministration" && (window.location.href = "/useradministration/person/view/" + t.id);
1018				}, 2500);
1019			}).catch(D);
1020		};
1021		return t(Object.assign({}, r, { componentName: "TopBarImpersonate" })), (e, t) => {
1022			let r = F("interact"), o = F("tooltip");
1023			return R((N(), U("div", an, [q("div", on, [
1024				J(n).lgUp ? (N(), U("i", sn, "swap_horiz")) : H("", !0),
1025				t[0] || (t[0] = W("\xA0", -1)),
1026				t[1] || (t[1] = q("span", null, "zu Ihrer Ansicht", -1))
1027			])])), [
1028				[T, J(i).isImpersonate],
1029				[r, a],
1030				[o]
1031			]);
1032		};
1033	}
1034}), ln = { class: "notificationBox" }, un = {
1035	class: "icon-interact",
1036	"aria-label": "Benachrichtigungen Liste Öffnen"
1037}, dn = ["data-badge"], fn = { class: "notificationDropdown" }, pn = {
1038	key: 0,
1039	class: "notificationContainer"
1040}, mn = { class: "notificationHeader" }, hn = { class: "uppercase intranet-headline-color" }, gn = { class: "notificationIcons" }, _n = { title: "Einstellungen" }, vn = { class: "notificationItemContainer" }, yn = {
1041	key: 1,
1042	class: "notificationItems"
1043}, bn = {
1044	key: 0,
1045	class: "noItems"
1046}, xn = {
1047	key: 1,
1048	class: "noItems"
1049}, Sn = {
1050	key: 0,
1051	class: "notificationLink pointer"
1052}, Cn = ["href"], wn = { class: "text-box" }, Tn = {
1053	class: "material-icons",
1054	"aria-hidden": "true",
1055	role: "img"
1056}, En = ["innerHTML"], Dn = ["onClick"], On = /* @__PURE__ */ Z({
1057	__name: "TopBarNotification",
1058	setup(e, { expose: t }) {
1059		let n = u(), i = je(), a = Ae(), s = Y(), c = Y(!1), l = Y(!1), d = V(() => i.getters["notification/unreadMessages"]), f = V(() => i.getters["notification/outdated"]), p = (e) => e.read ? e.link : "/notification/confirm-read/id/" + e.id, h = V(() => i.state.notification.count > 0), g = (e, t) => {
1060			if (e) return console.error("xhr failed :(", e);
1061			c.value = !0, i.dispatch("notification/fetch", {
1062				data: t,
1063				router: a
1064			});
1065		}, _ = (e) => m(p(e)), v = () => {
1066			o({
1067				url: "/notification/mark-all-as-read",
1068				type: "confirm",
1069				message: {
1070					message: "Möchten Sie wirklich alle Benachrichtigungen als gelesen markieren?",
1071					loader: "Alle Benachrichtigungen werden als gelesen markiert..."
1072				},
1073				options: {
1074					titleIcon: "done_all",
1075					buttonOkay: {
1076						title: "Als gelesen markieren",
1077						icon: "done_all",
1078						type: "primary"
1079					}
1080				}
1081			}).then(() => {
1082				i.dispatch("notification/markAllAsRead"), s.value.close();
1083			}).catch((e) => {
1084				e !== "popupClosed" && D(e);
1085			});
1086		}, y = (e) => {
1087			r.show("Benachrichtigung wird als gelesen markiert..."), oe.post("/notification/mark-as-read", { id: e }).then(() => i.dispatch("notification/markAsRead", e)).catch(() => me.error("Es ist ein Fehler aufgetreten, bitte versuchen Sie es später erneut.")).then(() => r.hide());
1088		}, b = (e) => {
1089			w(), !e.read && y(e.id), e.confirm_message && me.info(e.confirm_message);
1090		};
1091		x && fe.add(1, "notification", { send: !0 }, g), Se(() => {
1092			x && fe.remove(1, "notification", g);
1093		});
1094		let S = (e = null) => {
1095			(!e || e.target && !n.componentElement.value.contains(e.target)) && (l.value = !1, document.removeEventListener("mouseup", S), document.removeEventListener("touchend", S));
1096		}, C = () => {
1097			l.value || (s.value.open(), l.value = !0, document.addEventListener("mouseup", S), document.addEventListener("touchend", S), (!c.value || f.value) && fe.sendCallback("notification", g));
1098		}, w = () => {
1099			if (l.value) return s.value.close(), S();
1100		}, ee = () => {
1101			l.value ? w() : C();
1102		};
1103		return t(Object.assign({}, n, { componentName: "TopBarNotification" })), (e, t) => {
1104			let n = M("router-link"), r = F("interact");
1105			return N(), U("div", ln, [B(te, {
1106				ref_key: "popover",
1107				ref: s,
1108				"handle-focusable": !1,
1109				arrow: ""
1110			}, {
1111				default: z(() => [R((N(), U("span", un, [q("i", {
1112					class: P([{ "mdl-badge mdl-badge--small-inset mdl-badge--overlap": h.value }
1112, "news-popup-list-handler material-icons contrast-primary topbar-color topbar-icon"]),
1113					"data-badge": d.value,
1114					"aria-hidden": "true",
1115					role: "img"
1116				}, K(h.value ? "notifications" : "notifications_none"), 11, dn)])), [[r, () => ee()]])]),
1117				container: z(() => [q("div", fn, [l.value ? (N(), U("div", pn, [
1118					q("div", mn, [
1119						q("span", hn, [B(n, {
1120							to: { name: "notification-list" },
1121							onClick: w
1122						}, {
1123							default: z(() => [...t[0] || (t[0] = [W("Benachrichtigungen", -1)])]),
1124							_: 1
1125						})]),
1126						t[4] || (t[4] = W()),
1127						q("ul", gn, [
1128							h.value ? (N(), U("li", {
1129								key: 0,
1130								title: "Alle als gelesen markieren",
1131								class: "pointer",
1132								onClick: v
1133							}, [...t[1] || (t[1] = [q("i", {
1134								class: "material-icons",
1135								"aria-hidden": "true",
1136								role: "img"
1137							}, "check", -1)])])) : H("", !0),
1138							t[3] || (t[3] = W()),
1139							B(n, {
1140								to: { name: "settings-user-notification" },
1141								custom: ""
1142							}, {
1143								default: z(({ navigate: e }) => [R((N(), U("li", _n, [...t[2] || (t[2] = [q("a", null, [q("i", {
1144									class: "material-icons",
1145									"aria-hidden": "true",
1146									role: "img"
1147								}, "settings")], -1)])])), [[
1148									r,
1149									() => e(),
1150									void 0,
1151									{ link: !0 }
1152								]])]),
1153								_: 1
1154							})
1155						])
1156					]),
1157					t[12] || (t[12] = W()),
1158					q("div", vn, [!c.value && !J(i).state.notification.error ? (N(), X(Me, { key: 0 })) : (N(), U("ul", yn, [
1159						J(i).state.notification.error ? (N(), U("li", bn, "\n                                    Die Benachrichtigungen konnten nicht geladen werden, bitte versuchen Sie es später erneut.\n                                ")) : J(i).state.notification.entries.length === 0 ? (N(), U("li", xn, "\n                                    Keine Benachrichtigungen vorhanden\n                                ")) : H("", !0),
1160						t[10] || (t[10] = W()),
1161						(N(!0), U(G, null, j(J(i).state.notification.entries, (e) => (N(), U("li", {
1162							key: e.id,
1163							class: P({ unread: !e.read })
1164						}, [
1165							!e.link && e.confirm_message ? R((N(), U("span", Sn, null, 512)), [[r, () => b(e)]]) : !e.read || e.link ? (N(), U(G, { key: 1 }, [_(e) ? (N(), U("a", {
1166								key: 1,
1167								href: p(e),
1168								class: "notificationLink",
1169								onClick: w
1170							}, null, 8, Cn)) : (N(), X(n, {
1171								key: e.id,
1172								to: p(e),
1173								onClick: w,
1174								class: "notificationLink"
1175							}, null, 8, ["to"]))], 64)) : H("", !0),
1176							t[9] || (t[9] = W()),
1177							q("div", wn, [
1178								q("div", {
1179									class: "module-icon",
1180									style: _e({ "background-color": e.moduleIcon.color })
1181								}, [q("i", Tn, K(e.moduleIcon.icon), 1)], 4),
1182								t[7] || (t[7] = W()),
1183								q("div", null, [
1184									q("span", { innerHTML: e.message }, null, 8, En),
1185									t[5] || (t[5] = W()),
1186									q("small", null, "(" + K(e.time) + ")", 1)
1187								]),
1188								t[8] || (t[8] = W()),
1189								e.read ? H("", !0) : (N(), U("div", {
1190									key: 0,
1191									class: "notificationMarkAsRead",
1192									title: "Als gelesen markieren",
1193									onClick: (t) => y(e.id)
1194								}, [...t[6] || (t[6] = [q("i", {
1195									class: "material-icons intranet-primary-color",
1196									"aria-hidden": "true",
1197									role: "img"
1198								}, "check", -1)])], 8, Dn))
1199							])
1200						], 2))), 128))
1201					]))]),
1202					t[13] || (t[13] = W()),
1203					B(n, {
1204						to: { name: "notification-list" },
1205						class: "notificationShowAll",
1206						onClick: w
1207					}, {
1208						default: z(() => [...t[11] || (t[11] = [W("Alle anzeigen", -1)])]),
1209						_: 1
1210					})
1211				])) : H("", !0)])]),
1212				_: 1
1213			}, 512)]);
1214		};
1215	}
1216}), kn = { class: "flex flex-vertical-middle flex--width-auto" }, An = {
1217	key: 0,
1218	"aria-label": "Suche schließen",
1219	class: "icon-interact",
1220	tabindex: "0"
1221}, jn = {
1222	key: 1,
1223	"aria-label": "Suche öffnen",
1224	class: "icon-interact",
1225	tabindex: "0"
1226}, Mn = { id: "search-container" }, Nn = { id: "search-container-results" }, Pn = {
1227	key: 0,
1228	class: "loading-container"
1229}, Fn = {
1230	key: 0,
1231	class: "padding-small"
1232}, In = { key: 0 }, Ln = {
1233	key: 1,
1234	class: "search-result-container"
1235}, Rn = { class: "search-navigation-container" }, zn = {
1236	class: "material-icons",
1237	"aria-hidden": "true",
1238	role: "img"
1239}, Bn = { key: 0 }, Vn = /* @__PURE__ */ Z({
1240	__name: "TopBarSearch",
1241	emits: ["closed", "opened"],
1242	setup(e, { expose: t, emit: n }) {
1243		let r = u(), i = n, a = Ae(), o = Y(), s = Y(), c = Y(null), l = Y(""), d = Y(!1), f = Y(!1), p = Y(null), m = Y([]), h = Y(0), g = Y(ae.get("global.searchValue", "")), _ = Y(!1), y = V(() => g.value.trim()), b = V(() => y.value.slice(0, 1).toLowerCase()), x = V(() => y.value.slice(1)), S = V(() => parseInt(x.value)), C = V(() => b.value === "t" ? (/* @__PURE__ */ RegExp("^(?<scope>[A-Za-z]{3})(?<ticket>\\d+)$")).test(x.value) : [
1244			"m",
1245			"k",
1246			"r",
1247			"b",
1248			"f"
1249		].includes(b.value) && S.value && x.value === S.value.toString()), w = V(() => "/search/" + encodeURIComponent(y.value));
1250		l.value = v.on("screen-md-down", {
1251			match: () => {
1252				_.value = !0;
1253			},
1254			unmatch: () => {
1255				_.value = !1;
1256			}
1257		}), Se(() => {
1258			v.removeAll(l.value);
1259		});
1260		let ee = () => {
1261			c.value && (window.clearTimeout(c.value), c.value = null);
1262		}, ne = () => {
1263			var e;
1264			g.value = "", d.value = !1, (e = o.value) == null || e.close(), i("closed");
1265		}, ie = () => {
1266			d.value = !0, A(() => {
1267				var e;
1268				(e = s.value) == null || e.focus();
1269			}), i("opened");
1270		}, T = (e = !1) => {
1271			ee();
1272			let t = y.value;
1273			if (!(t.length === 0 || f.value)) {
1274				if (C.value) {
1275					if (!e) return;
1276					let t = b.value, n = "";
1277					t === "m" ? n = {
1278						name: "contact-entry-view",
1279						params: { id: S.value }
1280					} : t === "t" ? oe.get("/issue-tracker/ticket/fetch-ticket-id/search-id/" + x.value).then((e) => {
1281						a.push({
1282							name: "issue-tracker-ticket-view",
1283							params: { id: e.data.data.id }
1284						}).catch(console.error);
1285					}).catch(D) : t === "k" ? n = "/customer/contract/view/id/" + S.value : t === "r" ? oe.get("/customer/invoice/go-to-mandate-spa/id/" + S.value).then((e) => {
1286						e.data.data.institution || me.error("Kunde konnte nicht geöffnet werden."), a.push({
1287							name: "customer-entry-view",
1288							params: { id: e.data.data.institution }
1289						}).catch(console.error);
1290					}).catch(D) : t === "b" ? n = "/employee/enrolment/application/view/id/" + S.value : t === "f" && (n = {
1291						name: "faq-view",
1292						params: { id: S.value }
1293					}), n && a.push(n).catch(console.error);
1294					return;
1295				}
1296				f.value = !0, se(), oe.post("/search/search/find", {
1297					q: t,
1298					searchType: "all",
1299					resultGrouping: !0
1300				}).then((e) => {
1301					let t = {};
1302					if (e.data.results.length) {
1303						t.top = {
1304							title: "Top Ergebnisse",
1305							entries: []
1306						};
1307						for (let n of e.data.results) n.color = e.data.colors[n.resource], t[n.resource] === void 0 && (t[n.resource] = {
1308							title: n.module,
1309							entries: []
1310						}), t.top.entries.push(n), t[n.resource].entries.push(n);
1311					}
1312					let n = [];
1313					if (e.data.intelliResults) {
1314						let t = e.data.intelliResults;
1315						for (let e in t) if (t.hasOwnProperty(e)) {
1316							let r = t[e];
1317							n.push({
1318								route: r.route,
1319								name: r.name,
1320								icon: r.icon
1321							});
1322						}
1323					}
1324					m.value = n, h.value = e.data.resultCount, p.value = t;
1325				}).catch(() => {
1326					p.value = null;
1327				}).finally(() => {
1328					f.value = !1;
1329				});
1330			}
1331		}, se = () => {
1332			var e;
1333			!y.value || C.value || ((e = o.value) == null || e.open(), !f.value && p.value === null && T());
1334		};
1335		return Ce(g, (e) => {
1336			ee(), e.length >= 3 && (c.value = window.setTimeout(T, 1500)), ae.set("global.searchValue", g.value.trim());
1337		}), t(Object.assign({}, r, { componentName: "TopBarSearch" })), (e, t) => {
1338			let n = M("router-link"), r = F("interact");
1339			return N(), X(te, {
1340				ref_key: "popover",
1341				ref: o,
1342				target: "#search-query-button, #search-close",
1343				position: "bottom-right",
1344				"handle-focusable": !1,
1345				arrow: ""
1346			}, {
1347				container: z(() => [q("div", Mn, [q("div", Nn, [f.value ? (N(), U("div", Pn, [B(Me, { text: "Suche läuft..." })])) : (N(), U(G, { key: 1 }, [
1348					q("div", null, [p.value === null || h.value === 0 && m.value.length === 0 ? (N(), U("div", Fn, [p.value === null ? (N(), U("span", In, "Es ist ein Fehler aufgetreten, bitte versuchen Sie es später erneut.")) : h.value === 0 && m.value.length === 0 ? (N(), X(n, {
1349						key: 1,
1350						to: w.value
1351					}, {
1352						default: z(() => [...t[5] || (t[5] = [W("Keine Treffer. Klicken Sie hier um eine erweiterte Suche zu starten.\n                                ", -1)])]),
1353						_: 1
1354					}, 8, ["to"])) : H("", !0)])) : (N(), U("div", Ln, [
1355						m.value.length ? (N(), U(G, { key: 0 }, [
1356							t[6] || (t[6] = q("h4", null, "Schnell - Navigation", -1)),
1357							t[7] || (t[7] = W()),
1358							(N(!0), U(G, null, j(m.value, (e) => (N(), U("div", Rn, [B(n, { to: e.route }, {
1359								default: z(() => [q("i", zn, K(e.icon), 1), W(" " + K(e.name), 1)]),
1360								_: 2
1361							}, 1032, ["to"])]))), 256))
1362						], 64)) : H("", !0),
1363						t[9] || (t[9] = W()),
1364						(N(!0), U(G, null, j(p.value, (e, n) => (N(), U(G, null, [
1365							q("h4", null, K(e.title), 1),
1366							t[8] || (t[8] = W()),
1367							(N(!0), U(G, null, j(e.entries, (e, t) => (N(), X(Le, {
1368								result: e,
1369								key: n + "-" + t
1370							}, null, 8, ["result"]))), 128))
1371						], 64))), 256))
1372					]))]),
1373					t[10] || (t[10] = W()),
1374					h.value > 6 ? (N(), U("div", Bn, [B(n, {
1375						to: w.value,
1376						class: "button full-width padding-top-10 padding-bottom-10"
1377					}, {
1378						default: z(() => [W("\n                                Weitere Ergebnisse (" + K(h.value - 6) + ") anzeigen\n                            ", 1)]),
1379						_: 1
1380					}, 8, ["to"])])) : H("", !0)
1381				], 64))])])]),
1382				default: z(() => [q("div", kn, [q("label", {
1383					id: "search-bar",
1384					class: P({ open: d.value })
1385				}, [
1386					R(q("input", {
1387						ref_key: "searchInput",
1388						ref: s,
1389						id: "search-query",
1390						type: "text",
1391						class: "top-search-bar contrast-primary topbar-color search-container-show",
1392						placeholder: "Suche",
1393						"aria-label": "Suchen",
1394						"onUpdate:modelValue": t[0] || (t[0] = (e) => g.value = e),
1395						onFocus: se,
1396						onClick: se,
1397						onKeyup: t[1] || (t[1] = de((e) => T(!0), ["enter"]))
1398					}, null, 544), [[re, g.value]]),
1399					t[4] || (t[4] = W()),
1400					d.value ? R((N(), U("span", An, [...t[2] || (t[2] = [q("i", {
1401						id: "search-close",
1402						"aria-hidden": "true",
1403						class: "material-icons no-select topbar-color contrast-primary topbar-icon",
1404						role: "img"
1405					}, "close", -1)])])), [[r, ne]]) : R((N(), U("span", jn, [...t[3] || (t[3] = [q("i", {
1406						"aria-hidden": "true",
1407						class: "material-icons topbar-color contrast-primary topbar-icon",
1408						role: "img"
1409					}
1409, "search", -1)])])), [[r, ie]])
1410				], 2)]), t[11] || (t[11] = W())]),
1411				_: 1
1412			}, 512);
1413		};
1414	}
1415}), Hn = { class: "flex-vertical-middle gap-10" }, Un = { class: "support-header flex-vertical-middle gap-10 no-select" }, Wn = { key: 0 }, Gn = {
1416	key: 0,
1417	class: "support-call-panel flex-vertical-middle gap-10 no-select"
1418}, Kn = { key: 0 }, qn = {
1419	key: 0,
1420	class: "button button-small button-danger flex-vertical-middle gap-4",
1421	title: "Fernsteuerung beenden"
1422}, Jn = { key: 0 }, Yn = {
1423	class: "button button-small button-danger",
1424	title: "Support-Call verlassen"
1425}, Xn = {
1426	key: 1,
1427	class: "support-rc-request flex-vertical-middle gap-10 no-select"
1428}, Zn = { key: 0 }, Qn = { class: "button button-small button-primary" }, $n = { class: "button button-small" }, er = /*#__PURE__*/ e(/* @__PURE__ */ Z({
1429	__name: "TopBarSupport",
1430	setup(e, { expose: t }) {
1431		let n = Te("view-size"), r = u(), { isActive: i, state: a, leave: o, remoteControlRequest: s, remoteControlActive: l, allowRemoteControl: d, denyRemoteControl: f, stopRemoteControl: p } = Re(), m = V(() => {
1432			switch (a.value) {
1433				case "connecting": return "wird verbunden…";
1434				case "connected": return "aktiv";
1435				case "error": return "Fehler";
1436				default: return "bereit";
1437			}
1438		}), h = () => import("./TopBarSupportPopup_KnnfZaFP.min.js"), g = Y(!1), v = Y(!1), y = Y(!1), b = V(() => v.value && y.value ? "aktiv" : v.value || y.value ? "teils aktiv" : "inaktiv");
1439		oe.get("/application/ajax/support").then(({ data: { data: e } }) => {
1440			g.value = e.is_support, v.value = e.is_active, y.value = e.sentry_active;
1441		});
1442		let x = () => {
1443			h().then((e) => {
1444				new _(Object.assign({
1445					closeable: !0,
1446					buttons: [c],
1447					size: "medium",
1448					title: "Kontaktdaten unseres Support-Teams",
1449					titleIcon: "support_agent",
1450					componentProps: {
1451						supportActiveProp: v.value,
1452						sentryActiveProp: y.value
1453					},
1454					events: {
1455						supportActive: (e) => {
1456							v.value = e;
1457						},
1458						sentryActive: (e) => {
1459							y.value = e;
1460						}
1461					}
1462				}, { component: e.default })).open();
1463			});
1464		};
1465		return t(Object.assign({}, r, { componentName: "TopBarSupport" })), (e, t) => {
1466			let r = F("interact"), c = F("tooltip");
1467			return N(), U("div", Hn, [
1468				R((N(), U("div", Un, [
1469					t[2] || (t[2] = q("i", {
1470						class: "material-icons md-30",
1471						"aria-hidden": "true",
1472						role: "img"
1473					}, "support_agent", -1)),
1474					t[3] || (t[3] = W()),
1475					J(n).smUp ? (N(), U("span", Wn, [
1476						t[0] || (t[0] = q("span", null, "Support", -1)),
1477						t[1] || (t[1] = W("\xA0", -1)),
1478						q("small", null, "(" + K(b.value) + ")", 1)
1479					])) : H("", !0)
1480				])), [[T, !g.value], [r, () => x()]]),
1481				t[17] || (t[17] = W()),
1482				J(i) ? (N(), U("div", Gn, [
1483					q("span", { class: P(["support-call-panel-state", "is-" + J(a)]) }, [
1484						t[4] || (t[4] = q("i", {
1485							class: "material-icons md-18",
1486							"aria-hidden": "true",
1487							role: "img"
1488						}, "videocam", -1)),
1489						t[5] || (t[5] = W()),
1490						J(n).smUp ? (N(), U("span", Kn, "Support-Call " + K(m.value), 1)) : H("", !0)
1491					], 2),
1492					t[9] || (t[9] = W()),
1493					J(l) ? R((N(), U("div", qn, [
1494						t[6] || (t[6] = q("i", {
1495							class: "material-icons md-18",
1496							"aria-hidden": "true",
1497							role: "img"
1498						}, "mouse", -1)),
1499						t[7] || (t[7] = W()),
1500						J(n).smUp ? (N(), U("span", Jn, "Fernsteuerung")) : H("", !0)
1501					])), [[r, () => J(p)()], [c]]) : H("", !0),
1502					t[10] || (t[10] = W()),
1503					R((N(), U("div", Yn, [...t[8] || (t[8] = [q("i", {
1504						class: "material-icons md-18",
1505						"aria-hidden": "true",
1506						role: "img"
1507					}, "call_end", -1)])])), [[r, () => J(o)()], [c]])
1508				])) : H("", !0),
1509				t[18] || (t[18] = W()),
1510				J(s) ? (N(), U("div", Xn, [
1511					t[13] || (t[13] = q("i", {
1512						class: "material-icons md-18",
1513						"aria-hidden": "true",
1514						role: "img"
1515					}, "pan_tool", -1)),
1516					t[14] || (t[14] = W()),
1517					J(n).smUp ? (N(), U("span", Zn, K(J(s).label) + " möchte fernsteuern", 1)) : H("", !0),
1518					t[15] || (t[15] = W()),
1519					R((N(), U("div", Qn, [...t[11] || (t[11] = [W("Zulassen", -1)])])), [[r, () => J(d)()]]),
1520					t[16] || (t[16] = W()),
1521					R((N(), U("div", $n, [...t[12] || (t[12] = [W("Ablehnen", -1)])])), [[r, () => J(f)()]])
1522				])) : H("", !0)
1523			]);
1524		};
1525	}
1526}), [["__scopeId", "data-v-592c5e79"]]);
1527//#endregion
1528//#region src/components/TopBarModuleTileMenu.vue?vue&type=script&setup=true&lang.ts
1529Ee();
1530var tr = ["aria-label"], nr = { class: "topbar-module-icon" }, rr = { class: "module-tile-menu-header" }, ir = {
1531	type: "button",
1532	class: "module-tile-menu-title",
1533	"aria-label": "Modulübersicht schließen"
1534}, ar = {
1535	type: "button",
1536	class: "module-tile-menu-close",
1537	"aria-label": "Module schließen"
1538}, or = { class: "module-tile-menu-content" }, sr = { class: "module-tile-menu-filters" }, cr = {
1539	class: "module-tile-menu-filter-buttons",
1540	role: "group",
1541	"aria-labelledby": "module-tile-menu-filter-label"
1542}, lr = ["aria-pressed"], ur = {
1543	key: 0,
1544	class: "module-tile-menu-grid"
1545}, dr = {
1546	key: 0,
1547	class: "module-tile-book-tag"
1548}, fr = { key: 1 }, pr = {
1549	class: "material-icons",
1550	"aria-hidden": "true",
1551	role: "img"
1552}, mr = {
1553	class: "material-icons",
1554	"aria-hidden": "true",
1555	role: "img"
1556}, hr = {
1557	key: 1,
1558	class: "module-tile-menu-empty",
1559	role: "status",
1560	"aria-live": "polite"
1561}, gr = "weiteres", _r = "crop_free", vr = /* @__PURE__ */ Z({
1562	__name: "TopBarModuleTileMenu",
1563	props: { module: {} },
1564	setup(e) {
1565		let t = je(), n = [
1566			{
1567				label: "Grundsystem",
1568				key: "grundsystem",
1569				resources: [
1570					"application",
1571					"appointment",
1572					"calendar",
1573					"event",
1574					"faq",
1575					"gallery",
1576					"news",
1577					"poll"
1578				]
1579			},
1580			{
1581				label: "Grundsystem-Zusatzmodule",
1582				key: "zusatz",
1583				resources: [
1584					"meetingservice",
1585					"page",
1586					"sportsarea",
1587					"training",
1588					"roommanagement",
1589					"vehicle",
1590					"equipment",
1591					"services",
1592					"member",
1593					"councilservice",
1594					"event-course"
1595				]
1596			},
1597			{
1598				label: "Personalbasiertes",
1599				key: "personal",
1600				resources: [
1601					"employee",
1602					"enrolment",
1603					"task",
1604					"time-tracker",
1605					"whistleblower",
1606					"sick-note",
1607					"vacation",
1608					"absences",
1609					"school",
1610					"shift-schedule",
1611					"education"
1612				]
1613			},
1614			{
1615				label: "Weiteres",
1616				key: "weiteres",
1617				resources: [
1618					"contact",
1619					"issue-tracker",
1620					"visitor-list",
1621					"chat"
1622				]
1623			}
1624		], i = [
1625			{
1626				key: "all",
1627				label: "Alle"
1628			},
1629			...n.map((e) => ({
1630				key: e.key,
1631				label: e.label
1632			})),
1633			{
1634				key: "buchbar",
1635				label: "Buchbar"
1636			}
1637		], a = Y(!1), o = Y("all"), s = V(() =>
1637 t.state.tileMenu), c = Y(), u = Y(), d = (e, t) => e.resource === "application" ? -1 : t.resource === "application" ? 1 : e.name.localeCompare(t.name, "de"), p = V(() => {
1638			var e, t, r, i;
1639			let a = ((e = (t = s.value) == null ? void 0 : t.active) == null ? [] : e).map((e) => {
1640				var t;
1641				let r = n.find((t) => t.resources.includes(e.resource));
1642				return Q(Q({}, e), {}, {
1643					categoryKey: (t = r == null ? void 0 : r.key) == null ? gr : t,
1644					isInactive: !1
1645				});
1646			}).sort(d), c = ((r = (i = s.value) == null ? void 0 : i.inactive) == null ? [] : r).map((e) => Q(Q({}, e), {}, {
1647				categoryKey: "buchbar",
1648				isInactive: !0
1649			})).sort((e, t) => e.name.localeCompare(t.name, "de"));
1650			return a.push(...c), o.value === "all" ? a : a.filter((e) => e.categoryKey === o.value);
1651		});
1652		ye(() => {
1653			document.documentElement.classList.remove("disable-scroll"), window.removeEventListener("keyup", b);
1654		});
1655		let m = () => {
1656			if (s.value === null) {
1657				r.show("Menü wird geladen..."), t.dispatch("fetchTileMenu").then(h).catch(D).finally(r.hide);
1658				return;
1659			}
1660			h();
1661		}, h = () => {
1662			document.documentElement.classList.add("disable-scroll"), window.addEventListener("keyup", b), o.value = "all", a.value = !0, A(() => v());
1663		}, _ = () => {
1664			var e;
1665			document.documentElement.classList.remove("disable-scroll"), window.removeEventListener("keyup", b), a.value = !1, (e = u.value) != null && e.isConnected && u.value.focus();
1666		}, v = () => {
1667			let e = c.value && f(c.value).item(0);
1668			e == null || e.focus();
1669		}, y = () => {
1670			let e = c.value && f(c.value), t = e && e.item(e.length - 1);
1671			t == null || t.focus();
1672		}, b = (e) => {
1673			e.key === "Escape" && !g() && _();
1674		}, x = (e) => {
1675			l({
1676				title: "Interesse geweckt?",
1677				text: e.description || "",
1678				size: "small"
1679			});
1680		};
1681		return (t, n) => {
1682			let r = M("router-link"), s = F("interact"), l = F("tooltip");
1683			return N(), U(G, null, [
1684				R((N(), U("a", {
1685					ref_key: "moduleTileMenuTrigger",
1686					ref: u,
1687					class: "display-block",
1688					"aria-label": e.module.name + " öffnen"
1689				}, [q("div", nr, [q("i", {
1690					class: P("material-icons contrast-primary topbar-icon topbar-icon-" + e.module.resource),
1691					role: "img",
1692					"aria-hidden": "true"
1693				}, K(e.module.icon), 3)])], 8, tr)), [[s, () => m()], [l, e.module.name]]),
1694				n[15] || (n[15] = W()),
1695				(N(), X(xe, { to: "body" }, [B(S, { name: "module-tile-menu-transition" }, {
1696					default: z(() => [a.value ? (N(), U("div", {
1697						key: 0,
1698						id: "module-tile-menu",
1699						ref_key: "moduleTileMenu",
1700						ref: c,
1701						class: "no-print",
1702						role: "dialog",
1703						"aria-modal": "true",
1704						"aria-labelledby": "module-tile-menu-title"
1705					}, [
1706						q("div", {
1707							tabindex: "0",
1708							class: "popup-focus-trap",
1709							onFocus: y
1710						}, null, 32),
1711						n[12] || (n[12] = W()),
1712						q("div", rr, [
1713							n[2] || (n[2] = q("div", null, null, -1)),
1714							n[3] || (n[3] = W()),
1715							R((N(), U("button", ir, [...n[0] || (n[0] = [
1716								q("i", {
1717									class: "material-icons",
1718									"aria-hidden": "true",
1719									role: "img"
1720								}, "apps", -1),
1721								W(),
1722								q("span", { id: "module-tile-menu-title" }, "Übersicht aller Module", -1)
1723							])])), [[s, () => _()]]),
1724							n[4] || (n[4] = W()),
1725							R((N(), U("button", ar, [...n[1] || (n[1] = [q("i", {
1726								class: "material-icons",
1727								"aria-hidden": "true",
1728								role: "img"
1729							}, "close", -1)])])), [[s, () => _()], [l, "Module schließen"]])
1730						]),
1731						n[13] || (n[13] = W()),
1732						q("div", or, [
1733							q("div", sr, [
1734								n[5] || (n[5] = q("span", {
1735									id: "module-tile-menu-filter-label",
1736									class: "module-tile-menu-filter-label"
1737								}, "Module filtern", -1)),
1738								n[6] || (n[6] = W()),
1739								q("div", cr, [(N(), U(G, null, j(i, (e) => R(q("button", {
1740									key: e.key,
1741									type: "button",
1742									class: P([
1743										"module-tile-filter-pill",
1744										`module-tile-filter-pill--${e.key}`,
1745										{ active: o.value === e.key }
1746									]),
1747									"aria-pressed": o.value === e.key
1748								}, [W(K(e.label), 1)], 10, lr), [[s, () => {
1749									o.value = e.key;
1750								}]])), 64))])
1751							]),
1752							n[11] || (n[11] = W()),
1753							p.value.length ? (N(), U("div", ur, [(N(!0), U(G, null, j(p.value, (e) => (N(), U("div", {
1754								key: e.resource,
1755								class: "module-tile-menu-point"
1756							}, [R((N(), U("div", {
1757								class: P(["module-tile-menu-card", { "module-tile-menu-card--inactive": e.isInactive }]),
1758								style: _e({ "--module-tile-color": e.background })
1759							}, [
1760								e.isInactive ? (N(), U("span", dr, "Buchbar")) : H("", !0),
1761								n[9] || (n[9] = W()),
1762								e.isInactive ? R((N(), U("a", fr, [
1763									q("i", pr, K(e.icon || _r), 1),
1764									n[7] || (n[7] = W()),
1765									q("span", null, K(e.name), 1)
1766								])), [[s, () => x(e)]]) : (N(), X(r, {
1767									key: 2,
1768									to: e.route,
1769									custom: ""
1770								}, {
1771									default: z(({ navigate: t }) => [R((N(), U("a", null, [
1772										q("i", mr, K(e.icon || _r), 1),
1773										n[8] || (n[8] = W()),
1774										q("span", null, K(e.name), 1)
1775									])), [[s, () => {
1776										_(), t();
1777									}]])]),
1778									_: 2
1779								}, 1032, ["to"]))
1780							], 6)), [[l, e.description_short || e.description]])]))), 128))])) : (N(), U("div", hr, [...n[10] || (n[10] = [
1781								q("i", {
1782									class: "material-icons",
1783									"aria-hidden": "true",
1784									role: "img"
1785								}, "apps", -1),
1786								W(),
1787								q("span", null, "Keine Module in dieser Kategorie.", -1)
1788							])]))
1789						]),
1790						n[14] || (n[14] = W()),
1791						q("div", {
1792							tabindex: "0",
1793							class: "popup-focus-trap",
1794							onFocus: v
1795						}, null, 32)
1796					], 512)) : H("", !0)]),
1797					_: 1
1798				})]))
1799			], 64);
1800		};
1801	}
1802});
1803//#endregion
1804//#region src/components/TopBarTimeTrackerList.vue?vue&type=script&setup=true&lang.ts
1805De();
1806var yr = { class: "flex-space-between cursor-default default-text-color" }, br = { class: "vertical-align-middle" }, xr = { class: "vertical-align-middle" }, Sr = {
1807	key: 0,
1808	class: "green"
1809}, Cr = {
1810	key: 1,
1811	class: "green"
1812}, wr = { class: "orange" }, Tr = { class: "red" }, Er = /* @__PURE__ */ Z({
1813	__name: "TopBarTimeTrackerList",
1814	setup(e, { expose: t }) {
1815		let n = u(), r = je(), a = Y(i("Y-m-d")), o = V(() => r.getters["timeTracker/currentButtonTooltip"]), s = V(() => r.getters["timeTracker/isBreak"]), c = V(() => r.getters["timeTracker/isOnMandatoryBreak"]), l = V(() => r.getters["timeTracker/isLoggedOut"]), d = V(() => r.state.timeTracker.breakTime), f = V(() => r.state.timeTracker.workTime), p = V(() => r.state.timeTracker.checkIp), m = V(() => r.state.timeTracker.homeOffice), h = V(() => r.state.timeTracker.startDate), g = V(() => Math.round(f.value / 1e3)), _ = V(() => Math.round(d.value / 1e3)), v = function() {
1816			var e = Oe(function* (e) {
1817				return r.dispatch("timeTracker/track", e);
1818			});
1819			return function(t) {
1820				return e.apply(this, arguments);
1821			};
1822		}();
1823		return t(Object.assign({}, n, { componentName: "TopBarTimeTrackerList" })), (e, t) => {
1824			let n = F("tooltip"), r = F("interact");
1825			return N(), U("ul", null, [
1826				R((N(), U("li", null, [q("div", yr, [
1827					q("div", null, [
1828						t[0] || (t[0] = W("\n                    Arbeitszeit\n                    ", -1)),
1829						t[1] || (t[1] = q("br", null, null, -1)),
1830						t[2] || (t[2] = W()),
1831						t[3] || (t[3] = q("i", {
1832							class: "material-icons md-18 vertical-align-middle",
1833							"aria-hidden": "true",
1834							role: "img"
1835						}, "play_circle_outline", -1)),
1836						t[4] || (t[4] = W()),
1837						q("span", br, K(J(ce)(g.value)), 1)
1838					]),
1839					t[10] || (t[10] = W()),
1840					q("div", null, [
1841						t[5] || (t[5] = W("\n                    Pausenzeit\n                    ", -1)),
1842						t[6] || (t[6] = q("br", null, null, -1)),
1843						t[7] || (t[7] = W()),
1844						t[8] || (t[8] = q("i", {
1845							class: "material-icons md-18 vertical-align-middle",
1846							"aria-hidden": "true",
1847							role: "img"
1848						}, "pause_circle_filled", -1)),
1849						t[9] || (t[9] = W()),
1850						q("span", xr, K(J(ce)(_.value)), 1)
1851					])
1852				])])), [[n, "Heutige Arbeitszeit"]]),
1853				t[17] || (t[17] = W()),
1854				!h.value || h.value <= a.value ? (N(), U(G, { key: 0 }, [l.value || s.value ? (N(), U(G, { key: 0 }, [
1855					!m.value && p.value !== 0 || m.value && p.value === 1 ? R((N(), U("li", Sr, [q("a", {
1856						href: "javascript: void(0);",
1857						class: P({ "disabled cursor-not-allowed": c.value })
1858					}, [...t[11] || (t[11] = [q("i", {
1859						class: "material-icons",
1860						"aria-hidden": "true",
1861						role: "img"
1862					}, "play_circle_outline", -1), q("span", null, "Anmelden", -1)])], 2)])), [[r, () => v({ record: "workbegin" })], [n, o.value]]) : H("", !0),
1863					t[13] || (t[13] = W()),
1864					m.value ? R((N(), U("li", Cr, [q("a", {
1865						href: "javascript: void(0);",
1866						class: P({ "disabled cursor-not-allowed": c.value })
1867					}, [...t[12] || (t[12] = [q("i", {
1868						class: "material-icons",
1869						"aria-hidden": "true",
1870						role: "img"
1871					}, "home", -1), q("span", null, "Anmelden - HO", -1)])], 2)])), [[r, () => v({ record: "home" })], [n, o.value]]) : H("", !0)
1872				], 64)) : (N(), U(G, { key: 1 }, [
1873					R((N(), U("li", wr, [...t[14] || (t[14] = [q("a", { href: "javascript: void(0);" }, [q("i", {
1874						class: "material-icons",
1875						"aria-hidden": "true",
1876						role: "img"
1877					}, "pause_circle_filled"), q("span", null, "Pause")], -1)])])), [[r, () => v({ record: "breakbegin" })], [n, "Pause"]]),
1878					t[16] || (t[16] = W()),
1879					R((N(), U("li", Tr, [...t[15] || (t[15] = [q("a", { href: "javascript: void(0);" }, [q("i", {
1880						class: "material-icons",
1881						"aria-hidden": "true",
1882						role: "img"
1883					}, "stop"), q("span", null, "Abmelden")], -1)])])), [[r, () => v({ record: "workend" })], [n, "Arbeitsende"]])
1884				], 64))], 64)) : H("", !0)
1885			]);
1886		};
1887	}
1888});
1889//#endregion
1890//#region src/components/LayoutMain.vue?vue&type=script&setup=true&lang.ts
1891De();
1892var Dr = {
1893	key: 0,
1894	title: "Telefonliste öffnen",
1895	class: "screen-reader-only-focusable skip-navigation-link"
1896}, Or = { id: "page-header" }, kr = {
1897	id: "top-icon-toggle",
1898	"aria-label": "Modulauswahl-Menü verkleinen"
1899}, Ar = { id: "top-icon-wrapper" }, jr = ["src", "alt"], Mr = { id: "header-content" }, Nr = { id: "topbar" }
1899, Pr = { class: "topbar-group topbar-group-separated hide-search-active" }, Fr = { class: "topbar-item contrast-primary" }, Ir = { class: "topbar-module-wrapper flex" }, Lr = { class: "topbar-module-icon" }, Rr = {
1900	key: 0,
1901	id: "topbar-time-tracker",
1902	class: "topbar-item window-hidden-xs-down contrast-primary intranet-primary-color-background flex no-border"
1903}, zr = { class: "topbar-group full-width-search-active" }, Br = {
1904	key: 0,
1905	class: "topbar-item full-width-search-active impersonate-box"
1906}, Vr = {
1907	key: 1,
1908	class: "topbar-item full-width-search-active"
1909}, Hr = { class: "topbar-item full-width-search-active" }, Ur = {
1910	id: "topbar-notification",
1911	class: "topbar-item no-select pointer hide-search-active"
1912}, Wr = {
1913	id: "topbar-user",
1914	class: "topbar-item contrast-primary"
1915}, Gr = ["onKeydown"], Kr = {
1916	key: 1,
1917	class: "portuna-menu-separator"
1918}, qr = { class: "portuna-menu" }, Jr = { key: 0 }, Yr = { key: 1 }, Xr = { class: "topbar-item contrast-primary topbar-color no-select window-hidden-sm-down" }, Zr = { id: "columns" }, Qr = { id: "left" }, $r = { id: "content" }, ei = { id: "module-content-inner" }, ti = { class: "wrapper no-print" }, ni = { class: "row" }, ri = { class: "window-col-md-4 changelog" }, ii = /* @__PURE__ */ Z({
1919	__name: "LayoutMain",
1920	setup(e, { expose: t }) {
1921		let r = Te("view-port-size"), i = Te("view-size"), o = Te("view-port-size-manager"), c = Te("view-size-manager"), l = Te("isStyleGuide", null), f = je(), m = u(), g = m.currentUser, _ = Y(), v = Y(), x = b(), S = Y(parseInt(ze.get("_side-closed", 0))), w = Y(!1), ee = Y("crop_free"), ne = Y(!1), re = Y(!1);
1922		ye(() => {
1923			C.getManager().then((e) => {
1924				e.remove(d, ie);
1925			}).catch(ie);
1926		});
1927		let T = V(() => Object.values(g.value.modules)), ae = V(() => g.value.admin ? "Administrator" : g.value.isMultiLogin ? "Multi-Login" : "Nutzer"), oe = V(() => h()), se = V(() => g.value.id && g.value.telephoneToolbar), ce = V(() => k.value.user.admin), E = V(() => k.value.freeIntranet), D = V(() => l ? "https://intranet.portuna.de/logo.png?t=" + Date.now() : "/logo.png?t=" + k.value.loaded), ue = V(() => [{
1928			"time-tracker-enabled": ne.value,
1929			"side-closed": S.value,
1930			"disable-animation": f.state.layoutData.menuFast,
1931			"search-active": re.value,
1932			"has-debug-toolbar": f.state._debug,
1933			"has-telephone-toolbar": f.state.telephoneToolbar && f.state.telephoneToolbar.lastUpdate,
1934			"nav-open": w.value
1935		}, p(i)]), fe = V(() => f.state.layoutData.modules), pe = V(() => g.value.employeeId && g.value.hasTimeTracker && !x), me = V(() => f.state.error), k = V(() => f.state.layoutData);
1936		C.getManager().then((e) => {
1937			e.listen(d, () => {
1938				f.dispatch("getLayoutData");
1939			});
1940		}).catch(ie), ge(() => {
1941			y(a(r), m.componentElement.value, o), n(a(r), c, v.value), window.addEventListener("keydown", (e) => {
1942				e.code === "Space" && e.target === document.body && e.preventDefault();
1943			});
1944		});
1945		let _e = function() {
1946			var e = Oe(function* () {
1947				return f.dispatch("telephoneToolbar/open");
1948			});
1949			return function() {
1950				return e.apply(this, arguments);
1951			};
1952		}(), A = () => {
1953			var e;
1954			(e = document.getElementById("page")) == null || e.classList.add("side-hovered");
1955		}, ve = () => {
1956			var e;
1957			(e = document.getElementById("page")) == null || e.classList.remove("side-hovered");
1958		}, I = () => {
1959			S.value = +!S.value, ze.set("_side-closed", S.value);
1960		}, L = (e) => {
1961			_.value.closeModuleSelect(), e && e();
1962		}, xe = () => {
1963			ne.value = !0;
1964		}, Se = (e) => {
1965			re.value = e;
1966		}, Ce = V(() => {
1967			let e = [], t = [
1968				"application",
1969				"task",
1970				"appointment",
1971				"contact",
1972				k.value.showModuleTileView ? "module-tile-view" : "pms"
1973			], n = [
1974				"application",
1975				"task",
1976				"appointment",
1977				"dashboard"
1978			];
1979			k.value.showModuleTileView && e.push({
1980				name: "Kachelansicht der Module",
1981				route: "",
1982				resource: "module-tile-view",
1983				icon: "grid_view",
1984				hideLg: !0
1985			});
1986			for (let r of fe.value) if (T.value.includes(r.resource) && t.includes(r.resource)) {
1987				let t = {
1988					icon: r.icon || ee.value,
1989					hideLg: !n.includes(r.resource)
1990				};
1991				e.push(Object.assign({}, r, t));
1992			}
1993			return e.sort((e, n) => t.indexOf(e.resource) - t.indexOf(n.resource)), he() && e.push({
1994				name: "Dashboard",
1995				route: "/dashboard",
1996				resource: "dashboard",
1997				icon: "show_chart",
1998				hideLg: !n.includes("dashboard")
1999			}), e;
2000		}), we = () => {
2001			w.value = !w.value, w.value && (window.addEventListener("keydown", Z), window.addEventListener("mouseup", Z));
2002		}, Z = (e) => {
2003			var t, n;
2004			let r = e.target;
2005			(e instanceof KeyboardEvent && e.code === "Escape" || e instanceof MouseEvent && !(!((t = _.value) == null || (t = t.componentElement) == null) && t.contains(r)) && !((n = document.getElementById("top-icon")) != null && n.contains(r))) && (e.preventDefault(), window.removeEventListener("keydown", Z), window.removeEventListener("mouseup", Z), w.value = !1);
2006		};
2007		return be("defaultModuleIcon", ee), t(Object.assign({}, m, {
2008			componentName: "LayoutMain",
2009			moduleContent: v
2010		})), (e, t) => {
2011			let n = M("router-link"), r = M("router-view"), a = F("interact"), o = F("tooltip");
2012			return N(), U("main", {
2013				id: "page",
2014				class: P(["wrapper", ue.value])
2015			}, [
2016				t[37] || (t[37] = q("a", {
2017					href: "#module-content-base",
2018					title: "Navigation überspringen",
2019					class: "screen-reader-only-focusable skip-navigation-link"
2020				}, "Navigation überspringen", -1)),
2021				t[38] || (t[38] = W()),
2022				se.value ? R((N(), U("button", Dr, [...t[5] || (t[5] = [W("Telefonliste öffnen\n        ", -1)])])), [[a, () => _e()]]) : H("", !0),
2023				t[39] || (t[39] = W()),
2024				q("header", Or, [
2025					R((N(), U("div", {
2026						id: "top-icon",
2027						onMouseover: A,
2028						onMouseout: ve
2029					}, [
2030						R((N(), U("div", kr, [...t[6] || (t[6] = [q("i", {
2031							class: "material-icons window-hidden-xs window-hidden-sm",
2032							"aria-hidden": "true",
2033							tabindex: "-1",
2034							role: "img"
2035						}, "push_pin", -1)])])), [[a, () => I()]]),
2036						t[9] || (t[9] = W()),
2037						q("div", Ar, [
2038							B(n, {
2039								to: { name: "home" },
2040								id: "top-icon-link"
2041							}, {
2042								default: z(() => [k.value.hasLogo ? (N(), U("img", {
2043									key: 0,
2044									src: D.value,
2045									alt: "Intranet-Bild: " + k.value.title
2046								}, null, 8, jr)) : H("", !0)]),
2047								_: 1
2048							}),
2049							t[8] || (t[8] = W()),
2050							q("div", {
2051								id: "burger-button",
2052								class: P({ open: w.value })
2053							}, [...t[7] || (t[7] = [
2054								q("div", { class: "background-primary-contrast" }, null, -1),
2055								W(),
2056								q("div", { class: "background-primary-contrast" }, null, -1),
2057								W(),
2058								q("div", { class: "background-primary-contrast" }, null, -1)
2059							])], 2)
2060						])
2061					], 32)), [[a, () => we()]]),
2062					t[28] || (t[28] = W()),
2063					q("div", Mr, [q("div", Nr, [
2064						q("div", Pr, [
2065							q("div", Fr, [q("div", Ir, [(N(!0), U(G, null, j(Ce.value, (e) => (N(), U("div", {
2066								class: P(["topbar-module topbar-color", {
2067									"window-hidden-lg-down": e.hideLg,
2068									"window-hidden-md-down": e.resource !== "application"
2069								}]),
2070								onClick: t[0] || (t[0] = O(() => L(), ["prevent"])),
2071								onTouch: t[1] || (t[1] = O(() => L(), ["prevent"]))
2072							}, [e.resource === "module-tile-view" ? (N(), X(vr, {
2073								key: 0,
2074								module: e
2075							}, null, 8, ["module"])) : R((N(), X(n, {
2076								key: 1,
2077								to: e.route,
2078								class: "display-block",
2079								"aria-label": e.name + " Modul öffnen"
2080							}, {
2081								default: z(() => [q("div", Lr, [q("i", {
2082									class: P("material-icons contrast-primary topbar-icon topbar-icon-" + e.resource),
2083									role: "img",
2084									"aria-hidden": "true"
2085								}, K(e.icon), 3)])]),
2086								_: 2
2087							}, 1032, ["to", "aria-label"])), [[o, e.name]])], 34))), 256))])]),
2088							t[10] || (t[10] = W()),
2089							pe.value ? (N(), U("div", Rr, [B(s, { onInitialized: xe })])) : H("", !0)
2090						]),
2091						t[27] || (t[27] = W()),
2092						q("div", zr, [
2093							J(g).isImpersonate ? (N(), U("div", Br, [B(cn, { id: "topbar-impersonate" })])) : H("", !0),
2094							t[22] || (t[22] = W()),
2095							ce.value && !E.value ? (N(), U("div", Vr, [B(er, { id: "topbar-support" })])) : H("", !0),
2096							t[23] || (t[23] = W()),
2097							q("div", Hr, [B(Vn, {
2098								id: "topbar-search",
2099								onOpened: t[2] || (t[2] = (e) => Se(!0)),
2100								onClosed: t[3] || (t[3] = (e) => Se(!1))
2101							})]),
2102							t[24] || (t[24] = W()),
2103							q("div", Ur, [B(On)]),
2104							t[25] || (t[25] = W()),
2105							q("div", Wr, [B(te, {
2106								"container-class": "round bordered",
2107								target: "#topbar-user .user-image",
2108								arrow: "",
2109								"handle-focusable": !1,
2110								"auto-focus-first-element": !0
2111							}, {
2112								default: z(({ toggle: e }) => [R((N(), U("div", {
2113									id: "topbar-user-dropdown",
2114									class: "flex pointer no-select",
2115									onKeydown: de(O((t) => e(t), ["prevent"]), ["space"]),
2116									tabindex: "0"
2117								}, [
2118									B(le, {
2119										id: J(g).id || 0,
2120										tooltip: !1,
2121										"hide-contact": ""
2122									}, {
2123										default: z(() => [W(K(ae.value), 1)]),
2124										_: 1
2125									}, 8, ["id"]),
2126									t[11] || (t[11] = W()),
2127									t[12] || (t[12] = q("div", { class: "flex flex-vertical-middle" }, [q("i", {
2128										class: "material-icons",
2129										"aria-hidden": "true",
2130										role: "img"
2131									}, "arrow_drop_down")], -1))
2132								], 40, Gr)), [[a, e]])]),
2133								container: z(({ close: e }) => [
2134									pe.value && oe.value ? (N(), U(G, { key: 0 }, [
2135										J(i).lgDown ? (N(), X(Er, {
2136											key: 0,
2137											class: "portuna-menu"
2138										})) : H("", !0),
2139										t[13] || (t[13] = W()),
2140										J(i).mdDown ? (N(), U("div", Kr, "\xA0")) : H("", !0)
2141									], 64)) : H("", !0),
2142									t[19] || (t[19] = W()),
2143									q("ul", qr, [
2144										J(g).isMultiLogin ? H("", !0) : (N(), U("li", Jr, [B(n, {
2145											to: { name: "settings" },
2146											onClick: O(() => L(e), ["prevent"]),
2147											onTouch: O(() => L(e), ["prevent"])
2148										}, {
2149											default: z(() => [...t[14] || (t[14] = [q("i", {
2150												class: "material-icons",
2151												"aria-hidden": "true",
2152												role: "img"
2153											}, "settings", -1), q("span", null, "Einstellungen", -1)])]),
2154											_: 1
2155										}, 8, ["onClick", "onTouch"])])),
2156										t[17] || (t[17] = W()),
2157										!J(g).isMultiLogin && k.value.user.employeeId ? (N(), U("li", Yr, [B(n, {
2158											to: {
2159												name: "employee-view",
2160												params: { id: k.value.user.employeeId }
2161											},
2162											onClick: O(() => L(e), ["prevent"]),
2163											onTouch: O(() => L(e), ["prevent"]),
2164											class: "pointer"
2165										}, {
2166											default: z(() => [...t[15] || (t[15] = [q("i", {
2167												class: "material-icons",
2168												"aria-hidden": "true",
2169												role: "img"
2170											}, "person", -1), q("span", null, "Zum Profil", -1)])]),
2171											_: 1
2172										}, 8, [
2173											"to",
2174											"onClick",
2175											"onTouch"
2176										])])) : H("", !0),
2177										t[18] || (t[18] = W()),
2178										q("li", null, [B(n, {
2179											to: { name: "logout" },
2180											onClick: O(() => L(e), ["prevent"]),
2181											onTouch: O(() => L(e), ["prevent"])
2182										}, {
2183											default: z(() => [...t[16] || (t[16] = [q("i", {
2184												class: "material-icons",
2185												"aria-hidden": "true",
2186												role: "img"
2187											}, "exit_to_app", -1), q("span", null, "Ausloggen", -1)])]),
2188											_: 1
2189										}, 8, ["onClick", "onTouch"])])
2190									])
2191								]),
2192								_: 1
2193							})]),
2194							t[26] || (t[26] = W()),
2195							q("div", Xr, [R((N(), X(n, {
2196								to: { name: "logout" },
2197								"aria-label": "ausloggen"
2198							}, {
2199								default: z(() => [...t[21] || (t[21] = [q("i", {
2200									id: "logout-icon",
2201									class: "material-icons md-24 contrast-primary topbar-icon",
2202									"aria-hidden": "true",
2203									role: "img"
2204								}, "exit_to_app", -1)])]),
2205								_: 1
2206							})), [[o, "Ausloggen"]])])
2207						])
2208					])])
2209				]),
2210				t[40] || (t[40] = W()),
2211				q("div", Zr, [
2212					q("aside", Qr, [
2213						B(rn, {
2214							ref_key: "nav",
2215							ref: _,
2216							modelValue: w.value,
2217							"onUpdate:modelValue": t[4] || (t[4] = (e) => w.value = e)
2218						}, null, 8, ["modelValue"]),
2219						t[29] || (t[29] = W()),
2220						t[30] || (t[30] = q("div", { class: "module-content-overlay" }, null, -1))
2221					]),
2222					t[36] || (t[36] = W()),
2223					q("div", $r, [
2224						B(xt),
2225						t[35] || (t[35] = W()),
2226						q("section", {
2227							ref_key: "moduleContent",
2228							ref: v,
2229							id: "module-content"
2230						}, [
2231							q("div", ei, [me.value === null ? (N(), X(r, { key: 0 })) : (N(), X(Pe, { key: 1 }))]),
2232							t[34] || (t[34] = W()),
2233							q("footer", ti, [q("div", ni, [
2234								q("div", ri, [B(n, { to: { name: "changelog" } }, {
2235									default: z(() => [...t[31] || (t[31] = [q("i", {
2236										class: "material-icons",
2237										"aria-hidden": "true",
2238										role: "img"
2239									}, "change_history", -1), W(" Änderungshistorie", -1)])]),
2240									_: 1
2241								})]),
2242								t[32] || (t[32] = W()),
2243								t[33] || (t[33] = q("div", { class: "window-col-md-8 portuna" }, [
2244									q("span", null, "PortUNA Neue Medien GmbH"),
2245									W(" - "),
2246									q("span", null, "PortUNA.intranet")
2247								], -1))
2248							])])
2249						], 512)
2250					])
2251				])
2252			], 2);
2253		};
2254	}
2255});
2256//#endregion
2257export { ii as default };
2258
2259//# sourceMappingURL=LayoutMain_DpxxV0l1.min.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.