sass-cms-template-common 0.0.3 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,70 +1,70 @@
1
- import { t as e } from "./services-D9XCHGgK.js";
2
- import { ThemeProvider as t, alpha as n, createTheme as r } from "@mui/material/styles";
3
- import { createContext as i, forwardRef as a, useContext as o, useMemo as s, useState as c } from "react";
4
- import { Fragment as l, jsx as u, jsxs as d } from "react/jsx-runtime";
5
- import f from "@mui/material/Box";
6
- import p from "@mui/icons-material/ChevronRight";
7
- import m from "@mui/icons-material/ExpandMore";
8
- import h from "@mui/material/Collapse";
9
- import g from "@mui/material/IconButton";
10
- import _ from "@mui/material/ListItemIcon";
11
- import v from "@mui/material/ListItemText";
12
- import y from "@mui/material/Menu";
13
- import b from "@mui/material/MenuItem";
14
- import x from "@mui/material/Tooltip";
15
- import S from "@mui/material/Typography";
16
- import C from "@mui/icons-material/AccountTreeOutlined";
17
- import w from "@mui/icons-material/ArticleOutlined";
18
- import T from "@mui/icons-material/AssignmentOutlined";
19
- import E from "@mui/icons-material/AudioFileOutlined";
20
- import D from "@mui/icons-material/BarChartOutlined";
21
- import O from "@mui/icons-material/BookmarkBorderOutlined";
22
- import k from "@mui/icons-material/ChatBubbleOutlineOutlined";
23
- import ee from "@mui/icons-material/CreateOutlined";
24
- import te from "@mui/icons-material/EventOutlined";
25
- import A from "@mui/icons-material/ExploreOutlined";
26
- import j from "@mui/icons-material/FormatListBulletedOutlined";
27
- import M from "@mui/icons-material/GridViewOutlined";
28
- import N from "@mui/icons-material/ImageOutlined";
29
- import ne from "@mui/icons-material/ImportExportOutlined";
30
- import re from "@mui/icons-material/LabelOutlined";
31
- import ie from "@mui/icons-material/LayersOutlined";
32
- import ae from "@mui/icons-material/MailOutlineOutlined";
33
- import oe from "@mui/icons-material/MoreHorizOutlined";
34
- import se from "@mui/icons-material/NotificationsNoneOutlined";
35
- import ce from "@mui/icons-material/PeopleOutlineOutlined";
36
- import le from "@mui/icons-material/PeopleOutlined";
37
- import ue from "@mui/icons-material/PermMediaOutlined";
38
- import de from "@mui/icons-material/PlayCircleOutlineOutlined";
39
- import fe from "@mui/icons-material/PollOutlined";
40
- import pe from "@mui/icons-material/QueueMusicOutlined";
41
- import me from "@mui/icons-material/QuizOutlined";
1
+ import { a as e, c as t, d as n, i as r, l as i, n as a, o, r as s, s as c, t as l, u } from "./services-CK6pkce_.js";
2
+ import { ThemeProvider as d, alpha as f, createTheme as p } from "@mui/material/styles";
3
+ import { createContext as m, forwardRef as h, useContext as g, useMemo as _, useState as v } from "react";
4
+ import { Fragment as y, jsx as b, jsxs as x } from "react/jsx-runtime";
5
+ import S from "@mui/material/Box";
6
+ import ee from "@mui/icons-material/ChevronRight";
7
+ import te from "@mui/icons-material/ExpandMore";
8
+ import ne from "@mui/material/Collapse";
9
+ import C from "@mui/material/IconButton";
10
+ import re from "@mui/material/ListItemIcon";
11
+ import w from "@mui/material/ListItemText";
12
+ import T from "@mui/material/Menu";
13
+ import E from "@mui/material/MenuItem";
14
+ import D from "@mui/material/Tooltip";
15
+ import O from "@mui/material/Typography";
16
+ import k from "@mui/icons-material/BarChartOutlined";
17
+ import A from "@mui/icons-material/BookmarkBorderOutlined";
18
+ import j from "@mui/icons-material/ChatBubbleOutlineOutlined";
19
+ import M from "@mui/icons-material/CreateOutlined";
20
+ import N from "@mui/icons-material/EventOutlined";
21
+ import ie from "@mui/icons-material/ExploreOutlined";
22
+ import ae from "@mui/icons-material/ImageOutlined";
23
+ import oe from "@mui/icons-material/ImportExportOutlined";
24
+ import se from "@mui/icons-material/LabelOutlined";
25
+ import ce from "@mui/icons-material/MailOutlineOutlined";
26
+ import le from "@mui/icons-material/MoreHorizOutlined";
27
+ import ue from "@mui/icons-material/NotificationsNoneOutlined";
28
+ import de from "@mui/icons-material/PeopleOutlineOutlined";
29
+ import fe from "@mui/icons-material/PeopleOutlined";
30
+ import pe from "@mui/icons-material/PermMediaOutlined";
31
+ import me from "@mui/icons-material/PlayCircleOutlineOutlined";
42
32
  import he from "@mui/icons-material/RestaurantOutlined";
43
33
  import ge from "@mui/icons-material/SearchOutlined";
44
34
  import _e from "@mui/icons-material/ShoppingCartOutlined";
45
- import ve from "@mui/icons-material/SubscriptionsOutlined";
46
- import ye from "@mui/icons-material/ViewCarouselOutlined";
47
- import be from "@mui/icons-material/ViewListOutlined";
48
- import xe from "@mui/icons-material/AddOutlined";
49
- import Se from "@mui/icons-material/DevicesOtherOutlined";
50
- import Ce from "@mui/icons-material/HelpOutlineOutlined";
51
- import we from "@mui/icons-material/Menu";
52
- import Te from "@mui/material/AppBar";
53
- import Ee from "@mui/material/Toolbar";
54
- import De from "@mui/icons-material/KeyboardArrowDown";
55
- import Oe from "@mui/material/Button";
56
- import ke from "@mui/material/Badge";
57
- import Ae from "@mui/material/List";
58
- import je from "@mui/material/ListItemButton";
59
- import Me from "@mui/icons-material/EditOutlined";
60
- import Ne from "@mui/icons-material/LogoutOutlined";
61
- import Pe from "@mui/icons-material/PersonOutlined";
62
- import Fe from "@mui/material/Avatar";
63
- import Ie from "@mui/material/Divider";
64
- import Le from "@mui/material/CssBaseline";
65
- import { AppRouterCacheProvider as Re } from "@mui/material-nextjs/v16-appRouter";
35
+ import ve from "@mui/icons-material/ViewListOutlined";
36
+ import ye from "@mui/icons-material/FormatAlignCenter";
37
+ import be from "@mui/icons-material/TimelineOutlined";
38
+ import xe from "@mui/icons-material/MessageOutlined";
39
+ import Se from "@mui/icons-material/MicNoneOutlined";
40
+ import Ce from "@mui/icons-material/PlaylistPlayOutlined";
41
+ import we from "@mui/icons-material/PendingActionsOutlined";
42
+ import Te from "@mui/icons-material/ForumOutlined";
43
+ import Ee from "@mui/icons-material/UsbOutlined";
44
+ import De from "@mui/icons-material/FormatListBulletedOutlined";
45
+ import Oe from "@mui/icons-material/VerticalSplitOutlined";
46
+ import ke from "@mui/icons-material/ViewQuiltOutlined";
47
+ import Ae from "@mui/icons-material/SubscriptionsOutlined";
48
+ import je from "@mui/icons-material/AddOutlined";
49
+ import Me from "@mui/icons-material/DevicesOtherOutlined";
50
+ import Ne from "@mui/icons-material/HelpOutlineOutlined";
51
+ import Pe from "@mui/icons-material/Menu";
52
+ import Fe from "@mui/material/AppBar";
53
+ import Ie from "@mui/material/Toolbar";
54
+ import Le from "@mui/icons-material/KeyboardArrowDown";
55
+ import Re from "@mui/material/Button";
56
+ import ze from "@mui/material/Badge";
57
+ import Be from "@mui/material/List";
58
+ import Ve from "@mui/material/ListItemButton";
59
+ import He from "@mui/icons-material/EditOutlined";
60
+ import Ue from "@mui/icons-material/LogoutOutlined";
61
+ import We from "@mui/icons-material/PersonOutlined";
62
+ import Ge from "@mui/material/Avatar";
63
+ import Ke from "@mui/material/Divider";
64
+ import P from "@mui/material/CssBaseline";
65
+ import { AppRouterCacheProvider as qe } from "@mui/material-nextjs/v16-appRouter";
66
66
  //#region src/lib/version.ts
67
- var ze = "0.0.0", P = {
67
+ var Je = "0.0.0", F = {
68
68
  description: "TYPE: CUSTOM\nMaterial Theme Builder export 2026-05-08 02:18:51",
69
69
  seed: "#0067C4",
70
70
  coreColors: {
@@ -529,10 +529,10 @@ var ze = "0.0.0", P = {
529
529
  };
530
530
  //#endregion
531
531
  //#region src/lib/theme/createAppTheme.ts
532
- function F(e) {
533
- return P.extendedColors.find((t) => t.name === e)?.color;
532
+ function I(e) {
533
+ return F.extendedColors.find((t) => t.name === e)?.color;
534
534
  }
535
- function Be(e) {
535
+ function Ye(e) {
536
536
  return {
537
537
  50: e[98],
538
538
  100: e[95],
@@ -550,8 +550,8 @@ function Be(e) {
550
550
  A700: e[40]
551
551
  };
552
552
  }
553
- function Ve(e, t) {
554
- let r = t.onSurface;
553
+ function Xe(e, t) {
554
+ let n = t.onSurface;
555
555
  return {
556
556
  mode: e,
557
557
  primary: {
@@ -579,28 +579,28 @@ function Ve(e, t) {
579
579
  contrastText: t.onError
580
580
  },
581
581
  warning: {
582
- main: F("Estado Programado") ?? "#FF6D00",
582
+ main: I("Estado Programado") ?? "#FF6D00",
583
583
  light: "#FF9E40",
584
584
  dark: "#C25400",
585
585
  contrastText: "#FFFFFF"
586
586
  },
587
587
  info: {
588
- main: F("Estado Redaccion") ?? "#0091EA",
588
+ main: I("Estado Redaccion") ?? "#0091EA",
589
589
  light: "#64B5F6",
590
590
  dark: "#0064B7",
591
591
  contrastText: "#FFFFFF"
592
592
  },
593
593
  success: {
594
- main: F("Estado publicada") ?? "#00C853",
594
+ main: I("Estado publicada") ?? "#00C853",
595
595
  light: "#69F0AE",
596
596
  dark: "#009624",
597
597
  contrastText: "#FFFFFF"
598
598
  },
599
- brand: { main: F("Bluestack color") ?? "#2962FF" },
599
+ brand: { main: I("Bluestack color") ?? "#2962FF" },
600
600
  text: {
601
601
  primary: t.onSurface,
602
602
  secondary: t.onSurfaceVariant,
603
- disabled: n(t.onSurface, .38)
603
+ disabled: f(t.onSurface, .38)
604
604
  },
605
605
  divider: t.outlineVariant,
606
606
  background: {
@@ -608,18 +608,18 @@ function Ve(e, t) {
608
608
  paper: t.surfaceContainerLowest
609
609
  },
610
610
  action: {
611
- active: n(r, .56),
612
- hover: n(r, e === "light" ? .04 : .08),
613
- selected: n(t.primary, .12),
614
- focus: n(t.primary, .12),
615
- disabled: n(r, .26),
616
- disabledBackground: n(r, .12)
611
+ active: f(n, .56),
612
+ hover: f(n, e === "light" ? .04 : .08),
613
+ selected: f(t.primary, .12),
614
+ focus: f(t.primary, .12),
615
+ disabled: f(n, .26),
616
+ disabledBackground: f(n, .12)
617
617
  },
618
618
  common: {
619
619
  black: t.shadow,
620
620
  white: "#FFFFFF"
621
621
  },
622
- grey: Be(P.palettes.neutral),
622
+ grey: Ye(F.palettes.neutral),
623
623
  m3: {
624
624
  surfaceTint: t.surfaceTint,
625
625
  surfaceDim: t.surfaceDim,
@@ -641,9 +641,9 @@ function Ve(e, t) {
641
641
  }
642
642
  };
643
643
  }
644
- function I() {
645
- let e = Ve("light", P.schemes.light), t = Ve("dark", P.schemes.dark);
646
- return r({
644
+ function L() {
645
+ let e = Xe("light", F.schemes.light), t = Xe("dark", F.schemes.dark);
646
+ return p({
647
647
  cssVariables: { colorSchemeSelector: "data" },
648
648
  defaultColorScheme: "light",
649
649
  colorSchemes: {
@@ -660,13 +660,13 @@ function I() {
660
660
  }
661
661
  //#endregion
662
662
  //#region src/lib/i18n/createTranslator.ts
663
- function He(e, t) {
663
+ function Ze(e, t) {
664
664
  return t ? e.replace(/\{(\w+)\}/g, (e, n) => {
665
665
  let r = t[n];
666
666
  return r === void 0 ? `{${n}}` : String(r);
667
667
  }) : e;
668
668
  }
669
- function L(e) {
669
+ function R(e) {
670
670
  let t = e.navigation;
671
671
  return {
672
672
  messages: e,
@@ -674,12 +674,12 @@ function L(e) {
674
674
  sidebar: (t) => e.sidebar[t],
675
675
  topBar: (t) => e.topBar[t],
676
676
  profileMenu: (t) => e.profileMenu[t],
677
- notificationsMenu: (t, n) => He(e.notificationsMenu[t], n)
677
+ notificationsMenu: (t, n) => Ze(e.notificationsMenu[t], n)
678
678
  };
679
679
  }
680
680
  //#endregion
681
681
  //#region src/lib/i18n/messages/en.ts
682
- var Ue = {
682
+ var Qe = {
683
683
  navigation: {
684
684
  COMMENTS: "Comments",
685
685
  POLLS: "Polls",
@@ -693,7 +693,7 @@ var Ue = {
693
693
  ANALYTICS: "Analytics",
694
694
  TAGS: "Tags",
695
695
  TRIVIAS: "Trivia",
696
- OTHER: "Other",
696
+ OTHERS: "Other",
697
697
  NEWSWIRES: "News Wires",
698
698
  EVENTS: "Events",
699
699
  PAGES: "Pages",
@@ -745,7 +745,7 @@ var Ue = {
745
745
  empty: "No notifications",
746
746
  ariaLabel: "Notifications"
747
747
  }
748
- }, We = {
748
+ }, $e = {
749
749
  navigation: {
750
750
  COMMENTS: "Comentarios",
751
751
  POLLS: "Encuestas",
@@ -759,7 +759,7 @@ var Ue = {
759
759
  ANALYTICS: "Analíticas",
760
760
  TAGS: "Tags",
761
761
  TRIVIAS: "Trivias",
762
- OTHER: "Otros",
762
+ OTHERS: "Otros",
763
763
  NEWSWIRES: "News Wires",
764
764
  EVENTS: "Eventos",
765
765
  PAGES: "Páginas",
@@ -811,7 +811,7 @@ var Ue = {
811
811
  empty: "No hay notificaciones",
812
812
  ariaLabel: "Notificaciones"
813
813
  }
814
- }, Ge = {
814
+ }, et = {
815
815
  navigation: {
816
816
  COMMENTS: "Comentários",
817
817
  POLLS: "Enquetes",
@@ -825,7 +825,7 @@ var Ue = {
825
825
  ANALYTICS: "Análises",
826
826
  TAGS: "Tags",
827
827
  TRIVIAS: "Trivias",
828
- OTHER: "Outros",
828
+ OTHERS: "Outros",
829
829
  NEWSWIRES: "News Wires",
830
830
  EVENTS: "Eventos",
831
831
  PAGES: "Páginas",
@@ -877,37 +877,37 @@ var Ue = {
877
877
  empty: "Nenhuma notificação",
878
878
  ariaLabel: "Notificações"
879
879
  }
880
- }, R = {
881
- en: Ue,
882
- es: We,
883
- pt: Ge
880
+ }, z = {
881
+ en: Qe,
882
+ es: $e,
883
+ pt: et
884
884
  };
885
- function z(e, t) {
885
+ function B(e, t) {
886
886
  return t ? {
887
887
  ...e,
888
888
  ...t
889
889
  } : e;
890
890
  }
891
- function B(e, t, n) {
891
+ function V(e, t, n) {
892
892
  let r = t[e], i = t.en;
893
893
  return {
894
- navigation: z({
894
+ navigation: B({
895
895
  ...i.navigation,
896
896
  ...r.navigation
897
897
  }, n?.navigation),
898
- sidebar: z({
898
+ sidebar: B({
899
899
  ...i.sidebar,
900
900
  ...r.sidebar
901
901
  }, n?.sidebar),
902
- topBar: z({
902
+ topBar: B({
903
903
  ...i.topBar,
904
904
  ...r.topBar
905
905
  }, n?.topBar),
906
- profileMenu: z({
906
+ profileMenu: B({
907
907
  ...i.profileMenu,
908
908
  ...r.profileMenu
909
909
  }, n?.profileMenu),
910
- notificationsMenu: z({
910
+ notificationsMenu: B({
911
911
  ...i.notificationsMenu,
912
912
  ...r.notificationsMenu
913
913
  }, n?.notificationsMenu)
@@ -915,42 +915,42 @@ function B(e, t, n) {
915
915
  }
916
916
  //#endregion
917
917
  //#region src/lib/i18n/types.ts
918
- var V = [
918
+ var H = [
919
919
  "es",
920
920
  "en",
921
921
  "pt"
922
- ], Ke = "en";
922
+ ], tt = "en";
923
923
  //#endregion
924
924
  //#region src/lib/i18n/normalizeLocale.ts
925
- function qe(e) {
925
+ function nt(e) {
926
926
  if (!e) return "en";
927
927
  let t = e.trim().toLowerCase().replace("_", "-"), n = t.split("-")[0];
928
- return V.includes(t) ? t : V.includes(n) ? n : "en";
928
+ return H.includes(t) ? t : H.includes(n) ? n : "en";
929
929
  }
930
930
  //#endregion
931
931
  //#region src/lib/i18n/CmsI18nProvider.tsx
932
- var Je = i(null);
933
- function Ye({ locale: e, language: t, messages: n, catalog: r = R, children: i }) {
934
- let a = qe(e ?? t), o = s(() => ({
932
+ var rt = m(null);
933
+ function it({ locale: e, language: t, messages: n, catalog: r = z, children: i }) {
934
+ let a = nt(e ?? t), o = _(() => ({
935
935
  locale: a,
936
- t: L(B(a, r, n))
936
+ t: R(V(a, r, n))
937
937
  }), [
938
938
  r,
939
939
  n,
940
940
  a
941
941
  ]);
942
- return /* @__PURE__ */ u(Je.Provider, {
942
+ return /* @__PURE__ */ b(rt.Provider, {
943
943
  value: o,
944
944
  children: i
945
945
  });
946
946
  }
947
947
  //#endregion
948
948
  //#region src/lib/i18n/useCmsTranslation.ts
949
- function H(e) {
950
- let t = o(Je), n = e?.locale ?? t?.locale ?? "en", r = e?.catalog ?? R, i = e?.messages;
949
+ function U(e) {
950
+ let t = g(rt), n = e?.locale ?? t?.locale ?? "en", r = e?.catalog ?? z, i = e?.messages;
951
951
  return {
952
952
  locale: n,
953
- t: s(() => !i && t && t.locale === n ? t.t : L(B(n, r, i)), [
953
+ t: _(() => !i && t && t.locale === n ? t.t : R(V(n, r, i)), [
954
954
  r,
955
955
  t,
956
956
  n,
@@ -958,7 +958,7 @@ function H(e) {
958
958
  ])
959
959
  };
960
960
  }
961
- function Xe(e) {
961
+ function at(e) {
962
962
  switch (e) {
963
963
  case "pt": return "pt-BR";
964
964
  case "en": return "en-US";
@@ -967,14 +967,14 @@ function Xe(e) {
967
967
  }
968
968
  //#endregion
969
969
  //#region src/lib/components/link.tsx
970
- var U = a(function({ href: e, children: t, ...n }, r) {
971
- return /* @__PURE__ */ u("a", {
970
+ var W = h(function({ href: e, children: t, ...n }, r) {
971
+ return /* @__PURE__ */ b("a", {
972
972
  href: e,
973
973
  ref: r,
974
974
  ...n,
975
975
  children: t
976
976
  });
977
- }), W = "#D8E2FF", G = "#E3E2E6", K = "#414752", Ze = 24, Qe = 24, q = {
977
+ }), G = "#D8E2FF", ot = "#E3E2E6", K = "#414752", st = 24, ct = 24, q = {
978
978
  sxRoot: (e) => {
979
979
  let t = e ? 195 : 96;
980
980
  return {
@@ -1050,8 +1050,8 @@ var U = a(function({ href: e, children: t, ...n }, r) {
1050
1050
  borderRadius: "100px",
1051
1051
  color: K,
1052
1052
  textDecoration: "none",
1053
- bgcolor: e ? W : "transparent",
1054
- "&:hover": { bgcolor: e ? W : "action.hover" }
1053
+ bgcolor: e ? G : "transparent",
1054
+ "&:hover": { bgcolor: e ? G : "action.hover" }
1055
1055
  } : {
1056
1056
  position: "relative",
1057
1057
  display: "flex",
@@ -1071,11 +1071,11 @@ var U = a(function({ href: e, children: t, ...n }, r) {
1071
1071
  borderRadius: t ? "100px" : "0 100px 100px 0",
1072
1072
  color: K,
1073
1073
  textDecoration: "none",
1074
- bgcolor: e ? W : "transparent",
1075
- "&:hover": { bgcolor: e ? W : G }
1074
+ bgcolor: e ? G : "transparent",
1075
+ "&:hover": { bgcolor: e ? G : ot }
1076
1076
  },
1077
1077
  sxItemIcon: (e, t = !1) => ({
1078
- fontSize: t ? Qe : Ze,
1078
+ fontSize: t ? ct : st,
1079
1079
  color: e ? "secondary.dark" : "m3.onSurfaceVariant",
1080
1080
  width: t ? 48 : "auto",
1081
1081
  flexShrink: 0
@@ -1115,11 +1115,11 @@ var U = a(function({ href: e, children: t, ...n }, r) {
1115
1115
  py: 1,
1116
1116
  gap: 1.25,
1117
1117
  color: K,
1118
- bgcolor: e ? W : "transparent",
1119
- "&:hover": { bgcolor: e ? W : G },
1118
+ bgcolor: e ? G : "transparent",
1119
+ "&:hover": { bgcolor: e ? G : ot },
1120
1120
  "&.Mui-selected": {
1121
- bgcolor: W,
1122
- "&:hover": { bgcolor: W }
1121
+ bgcolor: G,
1122
+ "&:hover": { bgcolor: G }
1123
1123
  }
1124
1124
  }),
1125
1125
  sxChildrenMenuListItemIcon: {
@@ -1143,267 +1143,241 @@ var U = a(function({ href: e, children: t, ...n }, r) {
1143
1143
  alignItems: "center",
1144
1144
  justifyContent: "center"
1145
1145
  })
1146
- }, $e = [
1146
+ }, lt = [
1147
1147
  {
1148
- href: "/comentarios",
1149
- icon: k,
1148
+ href: "/admin/comments/",
1149
+ icon: xe,
1150
1150
  module: "COMMENTS"
1151
1151
  },
1152
1152
  {
1153
- href: "/encuestas",
1154
- icon: fe,
1153
+ href: "/system/modules/com.tfsla.diario.admin/templates/poll.jsp",
1154
+ icon: k,
1155
1155
  module: "POLLS"
1156
1156
  },
1157
1157
  {
1158
1158
  href: "/media",
1159
- icon: ue,
1160
- defaultOpen: !0,
1159
+ icon: pe,
1161
1160
  module: "MEDIA",
1162
1161
  children: [
1163
1162
  {
1164
- href: "/media/audios",
1165
- icon: E,
1163
+ href: "/system/modules/com.tfsla.diario.admin/templates/audios.jsp",
1164
+ icon: Se,
1166
1165
  module: "AUDIOS"
1167
1166
  },
1168
1167
  {
1169
- href: "/media/imagenes",
1170
- icon: N,
1168
+ href: "/system/modules/com.tfsla.diario.admin/templates/playlist.jsp",
1169
+ icon: ae,
1171
1170
  module: "IMAGES"
1172
1171
  },
1173
1172
  {
1174
1173
  href: "/media/playlist",
1175
- icon: pe,
1174
+ icon: Ce,
1176
1175
  module: "PLAYLISTS"
1177
1176
  },
1178
1177
  {
1179
- href: "/media/videos",
1180
- icon: de,
1178
+ href: "/admin/videos/",
1179
+ icon: me,
1181
1180
  module: "VIDEOS"
1182
1181
  }
1183
1182
  ]
1184
1183
  },
1185
1184
  {
1186
- href: "/noticias",
1187
- icon: w,
1188
- module: "NEWS"
1185
+ href: "/admin/posts/",
1186
+ icon: ye,
1187
+ module: "POSTS"
1189
1188
  },
1190
1189
  {
1191
- href: "/planificacion",
1192
- icon: T,
1193
- module: "PLANNING"
1190
+ href: "/admin/reports/",
1191
+ icon: be,
1192
+ module: "PRODUCTION"
1194
1193
  },
1195
1194
  {
1196
- href: "/analiticas",
1197
- icon: D,
1198
- module: "ANALYTICS"
1195
+ href: "/planificacion",
1196
+ icon: we,
1197
+ module: "PLANNING"
1199
1198
  },
1200
1199
  {
1201
1200
  href: "/tags",
1202
- icon: re,
1201
+ icon: se,
1203
1202
  module: "TAGS"
1204
1203
  },
1205
1204
  {
1206
- href: "/trivias",
1207
- icon: me,
1205
+ href: "/system/modules/com.tfsla.diario.admin/templates/trivias.jsp",
1206
+ icon: Te,
1208
1207
  module: "TRIVIAS"
1209
1208
  },
1210
1209
  {
1211
1210
  href: "/otros",
1212
- icon: oe,
1213
- module: "OTHER",
1211
+ icon: le,
1212
+ module: "OTHERS",
1214
1213
  children: [
1215
1214
  {
1216
- href: "/otros/news-wires",
1217
- icon: C,
1215
+ href: "/system/modules/com.tfsla.diario.admin/templates/newswires.jsp",
1216
+ icon: Ee,
1218
1217
  module: "NEWSWIRES"
1219
1218
  },
1220
1219
  {
1221
- href: "/otros/eventos",
1222
- icon: te,
1220
+ href: "/system/modules/com.tfsla.diario.admin/templates/event.jsp",
1221
+ icon: N,
1223
1222
  module: "EVENTS"
1224
1223
  },
1225
1224
  {
1226
- href: "/otros/paginas",
1227
- icon: A,
1225
+ href: "/system/modules/com.tfsla.diario.admin/templates/adminPages.jsp",
1226
+ icon: ie,
1228
1227
  module: "PAGES"
1229
1228
  },
1230
1229
  {
1231
- href: "/otros/feed",
1232
- icon: j,
1230
+ href: "/system/modules/com.tfsla.diario.admin/templates/dashboard.jsp",
1231
+ icon: De,
1233
1232
  module: "FEEDS"
1234
1233
  },
1235
1234
  {
1236
- href: "/otros/personas",
1237
- icon: le,
1235
+ href: "/system/modules/com.tfsla.diario.admin/templates/adminPages.jsp",
1236
+ icon: fe,
1238
1237
  module: "PERSONS"
1239
1238
  },
1240
1239
  {
1241
- href: "/otros/contribuciones",
1242
- icon: ee,
1243
- module: "CONTRIBUTIONS"
1240
+ href: "/system/modules/com.tfsla.diario.admin/templates/adminPosts.jsp",
1241
+ icon: M,
1242
+ module: "POSTS"
1244
1243
  },
1245
1244
  {
1246
- href: "/otros/recetas",
1245
+ href: "/system/modules/com.tfsla.diario.admin/templates/recipe.jsp",
1247
1246
  icon: he,
1248
1247
  module: "RECIPES"
1249
- },
1250
- {
1251
- href: "/otros/posts",
1252
- icon: w,
1253
- module: "POSTS"
1254
1248
  }
1255
1249
  ]
1256
1250
  },
1257
1251
  {
1258
- href: "/banners",
1259
- icon: ye,
1252
+ href: "/system/modules/com.tfsla.diario.admin/templates/banners.jsp",
1253
+ icon: Oe,
1260
1254
  module: "BANNERS"
1261
1255
  },
1262
1256
  {
1263
- href: "/bloques",
1264
- icon: M,
1257
+ href: "/system/modules/com.tfsla.diario.admin/templates/dynamicContent.jsp",
1258
+ icon: ke,
1265
1259
  module: "BLOCKS"
1266
1260
  },
1267
1261
  {
1268
- href: "/menu",
1269
- icon: be,
1262
+ href: "/system/modules/com.tfsla.diario.admin/templates/menuSite.jsp",
1263
+ icon: ve,
1270
1264
  module: "MENUS"
1271
1265
  },
1272
1266
  {
1273
- href: "/temas",
1274
- icon: O,
1267
+ href: "/system/modules/com.tfsla.diario.admin/templates/navigationTags.jsp",
1268
+ icon: A,
1275
1269
  module: "TOPICS"
1276
1270
  },
1277
1271
  {
1278
- href: "/busqueda",
1272
+ href: "/system/modules/com.tfsla.diario.admin/templates/filterQueryList.jsp",
1279
1273
  icon: ge,
1280
1274
  module: "ADVANCEDQUERYS"
1281
1275
  },
1282
1276
  {
1283
- href: "/importaciones",
1284
- icon: ne,
1277
+ href: "/system/modules/com.tfsla.diario.admin/templates/adminImports.jsp",
1278
+ icon: oe,
1285
1279
  module: "IMPORTS"
1286
1280
  },
1287
1281
  {
1288
- href: "/newsletters",
1289
- icon: ae,
1282
+ href: "/system/modules/com.tfsla.diario.admin/templates/newsletter.jsp",
1283
+ icon: ce,
1290
1284
  module: "NEWSLETTERS"
1291
1285
  },
1292
1286
  {
1293
- href: "/notificaciones",
1294
- icon: se,
1287
+ href: "/system/modules/com.tfsla.diario.admin/templates/adminQueues.jsp",
1288
+ icon: ue,
1295
1289
  module: "NOTIFICATIONS"
1296
1290
  },
1297
1291
  {
1298
- href: "/pagos",
1292
+ href: "/system/modules/com.tfsla.diario.admin/templates/payments.jsp",
1299
1293
  icon: _e,
1300
1294
  module: "PAYMENTS"
1301
1295
  },
1302
1296
  {
1303
- href: "/planes",
1304
- icon: ve,
1305
- module: "PLANS"
1306
- },
1307
- {
1308
- href: "/reportes",
1309
- icon: D,
1310
- module: "REPORTS"
1311
- },
1312
- {
1313
- href: "/secciones",
1314
- icon: be,
1315
- module: "SECTIONS"
1297
+ href: "/system/modules/com.tfsla.diario.admin/templates/subscriptions.jsp",
1298
+ icon: Ae,
1299
+ module: "PAYMENTS"
1316
1300
  },
1317
1301
  {
1318
1302
  href: "/twitter-feeds",
1319
- icon: k,
1303
+ icon: j,
1320
1304
  module: "TWITTERS"
1321
1305
  },
1322
1306
  {
1323
1307
  href: "/usuarios",
1324
- icon: ce,
1308
+ icon: de,
1325
1309
  module: "USERS"
1326
- },
1327
- {
1328
- href: "/zonas",
1329
- icon: ie,
1330
- module: "ZONES"
1331
- },
1332
- {
1333
- href: "/ia",
1334
- icon: A,
1335
- module: "IA"
1336
1310
  }
1337
1311
  ];
1338
1312
  //#endregion
1339
1313
  //#region src/lib/components/sidebar/Sidebar.tsx
1340
- function et(e, t) {
1314
+ function ut(e, t) {
1341
1315
  return e.label ?? t.navigation(e.module);
1342
1316
  }
1343
1317
  function J(e, t) {
1344
1318
  return !!(e === t || t !== "/" && e.startsWith(`${t}/`));
1345
1319
  }
1346
- function tt(e, t) {
1320
+ function dt(e, t) {
1347
1321
  return J(e, t.href) ? !0 : t.children?.some((t) => J(e, t.href)) ?? !1;
1348
1322
  }
1349
- function nt(e, t) {
1323
+ function ft(e, t) {
1350
1324
  return e.find((e) => e.module === t);
1351
1325
  }
1352
- function rt(e, t) {
1353
- return e.children?.filter((e) => nt(t, e.module)) ?? [];
1326
+ function pt(e, t) {
1327
+ return e.children?.filter((e) => ft(t, e.module)) ?? [];
1354
1328
  }
1355
- function it(e, t, n) {
1356
- return e ? n : /* @__PURE__ */ u(x, {
1329
+ function mt(e, t, n) {
1330
+ return e ? n : /* @__PURE__ */ b(D, {
1357
1331
  title: t,
1358
1332
  placement: "right",
1359
1333
  arrow: !0,
1360
- children: /* @__PURE__ */ u(f, {
1334
+ children: /* @__PURE__ */ b(S, {
1361
1335
  component: "span",
1362
1336
  sx: q.sxTooltipWrap(e),
1363
1337
  children: n
1364
1338
  })
1365
1339
  });
1366
1340
  }
1367
- function at({ item: e, nested: t = !1, open: n = !0, expanded: r, onToggleExpand: i, LinkComponent: a, pathname: o, permissions: s, t: x }) {
1368
- let C = et(e, x), w = nt(s, e.module), T = rt(e, s), E = !n, D = J(o, e.href), O = tt(o, e), k = T.length > 0, ee = e.icon, te = t ? D : D || O, [A, j] = c(null), M = !!A;
1369
- if (!w && !k) return null;
1370
- let N = /* @__PURE__ */ d(l, { children: [
1371
- k && !E ? /* @__PURE__ */ u(g, {
1341
+ function ht({ item: e, nested: t = !1, open: n = !0, expanded: r, onToggleExpand: i, LinkComponent: a, pathname: o, permissions: s, t: c, baseUrl: l, selectedPublicationId: u }) {
1342
+ let d = ut(e, c), f = ft(s, e.module), p = pt(e, s), m = !n, h = J(o, e.href), g = dt(o, e), _ = p.length > 0, D = e.icon, k = t ? h : h || g, [A, j] = v(null), M = !!A;
1343
+ if (!f && !_) return null;
1344
+ let N = /* @__PURE__ */ x(y, { children: [
1345
+ _ && !m ? /* @__PURE__ */ b(C, {
1372
1346
  size: "small",
1373
- "aria-label": r ? x.sidebar("collapse") : x.sidebar("expand"),
1347
+ "aria-label": r ? c.sidebar("collapse") : c.sidebar("expand"),
1374
1348
  onClick: (e) => {
1375
1349
  e.preventDefault(), e.stopPropagation(), i?.();
1376
1350
  },
1377
1351
  sx: q.sxExpandButton,
1378
- children: u(r ? m : p, { sx: { fontSize: 20 } })
1352
+ children: b(r ? te : ee, { sx: { fontSize: 20 } })
1379
1353
  }) : null,
1380
- /* @__PURE__ */ u(ee, { sx: q.sxItemIcon(te, E) }),
1381
- E ? null : /* @__PURE__ */ u(S, {
1354
+ /* @__PURE__ */ b(D, { sx: q.sxItemIcon(k, m) }),
1355
+ m ? null : /* @__PURE__ */ b(O, {
1382
1356
  component: "span",
1383
- sx: q.sxItemLabel(D),
1384
- children: C
1357
+ sx: q.sxItemLabel(h),
1358
+ children: d
1385
1359
  }),
1386
- w?.isnew && /* @__PURE__ */ u(f, {
1360
+ f?.isnew && /* @__PURE__ */ b(S, {
1387
1361
  component: "span",
1388
1362
  sx: q.sxBetaChip(n),
1389
- children: x.sidebar("newBadge")
1363
+ children: c.sidebar("newBadge")
1390
1364
  })
1391
1365
  ] });
1392
- return k && !E ? /* @__PURE__ */ d(f, {
1366
+ return _ && !m ? /* @__PURE__ */ x(S, {
1393
1367
  sx: q.sxNavGroup(n),
1394
- children: [/* @__PURE__ */ u(f, {
1368
+ children: [/* @__PURE__ */ b(S, {
1395
1369
  component: "div",
1396
1370
  onClick: i,
1397
1371
  sx: {
1398
- ...q.sxItem(O, t, !0, !1),
1372
+ ...q.sxItem(g, t, !0, !1),
1399
1373
  cursor: "pointer"
1400
1374
  },
1401
1375
  children: N
1402
- }), /* @__PURE__ */ u(h, {
1376
+ }), /* @__PURE__ */ b(ne, {
1403
1377
  in: r,
1404
1378
  timeout: "auto",
1405
1379
  unmountOnExit: !0,
1406
- children: /* @__PURE__ */ u(f, {
1380
+ children: /* @__PURE__ */ b(S, {
1407
1381
  sx: {
1408
1382
  display: "flex",
1409
1383
  flexDirection: "column",
@@ -1413,34 +1387,36 @@ function at({ item: e, nested: t = !1, open: n = !0, expanded: r, onToggleExpand
1413
1387
  maxWidth: "100%",
1414
1388
  overflow: "hidden"
1415
1389
  },
1416
- children: T.map((e) => /* @__PURE__ */ u(at, {
1390
+ children: p.map((e) => /* @__PURE__ */ b(ht, {
1417
1391
  item: e,
1418
1392
  nested: !0,
1419
1393
  open: n,
1420
1394
  LinkComponent: a,
1421
1395
  pathname: o,
1422
1396
  permissions: s,
1423
- t: x
1397
+ t: c,
1398
+ baseUrl: l,
1399
+ selectedPublicationId: u
1424
1400
  }, e.href))
1425
1401
  })
1426
1402
  })]
1427
- }) : k && E ? /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(f, {
1403
+ }) : _ && m ? /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(S, {
1428
1404
  component: "button",
1429
1405
  type: "button",
1430
- "aria-label": C,
1406
+ "aria-label": d,
1431
1407
  "aria-controls": M ? `sidebar-children-${e.href}` : void 0,
1432
1408
  "aria-haspopup": "true",
1433
1409
  "aria-expanded": M ? "true" : void 0,
1434
1410
  onClick: (e) => j(e.currentTarget),
1435
1411
  onMouseEnter: (e) => j(e.currentTarget),
1436
1412
  sx: {
1437
- ...q.sxItem(O, t, k, !0),
1413
+ ...q.sxItem(g, t, _, !0),
1438
1414
  border: 0,
1439
1415
  background: "transparent",
1440
1416
  cursor: "pointer"
1441
1417
  },
1442
1418
  children: N
1443
- }), /* @__PURE__ */ u(y, {
1419
+ }), /* @__PURE__ */ b(T, {
1444
1420
  id: `sidebar-children-${e.href}`,
1445
1421
  anchorEl: A,
1446
1422
  open: M,
@@ -1460,18 +1436,18 @@ function at({ item: e, nested: t = !1, open: n = !0, expanded: r, onToggleExpand
1460
1436
  sx: { py: 1 }
1461
1437
  }
1462
1438
  },
1463
- children: T.map((e) => {
1439
+ children: p.map((e) => {
1464
1440
  let t = e.icon;
1465
- return /* @__PURE__ */ d(b, {
1441
+ return /* @__PURE__ */ x(E, {
1466
1442
  component: a,
1467
- href: e.href,
1443
+ href: `${l}${e.href}`,
1468
1444
  onClick: () => j(null),
1469
1445
  sx: q.sxChildrenMenuItem(J(o, e.href)),
1470
- children: [/* @__PURE__ */ u(_, {
1446
+ children: [/* @__PURE__ */ b(re, {
1471
1447
  sx: q.sxChildrenMenuListItemIcon,
1472
- children: /* @__PURE__ */ u(t, {})
1473
- }), /* @__PURE__ */ u(v, {
1474
- primary: et(e, x),
1448
+ children: /* @__PURE__ */ b(t, {})
1449
+ }), /* @__PURE__ */ b(w, {
1450
+ primary: ut(e, c),
1475
1451
  slotProps: { primary: { sx: {
1476
1452
  fontSize: 14,
1477
1453
  fontWeight: 400,
@@ -1480,87 +1456,71 @@ function at({ item: e, nested: t = !1, open: n = !0, expanded: r, onToggleExpand
1480
1456
  })]
1481
1457
  }, e.href);
1482
1458
  })
1483
- })] }) : it(n, C, /* @__PURE__ */ u(f, {
1459
+ })] }) : mt(n, d, /* @__PURE__ */ b(S, {
1484
1460
  component: a,
1485
1461
  href: e.href,
1486
- sx: q.sxItem(E ? O : D, t, k, E),
1462
+ sx: q.sxItem(m ? g : h, t, _, m),
1487
1463
  children: N
1488
1464
  }));
1489
1465
  }
1490
- function ot({ items: e, open: t, LinkComponent: n, pathname: r, permissions: i, t: a }) {
1491
- let [o, d] = c(s(() => {
1466
+ function gt({ items: e, open: t = !0, LinkComponent: n, pathname: r, permissions: i, t: a, baseUrl: o, selectedPublicationId: s }) {
1467
+ let [c, l] = v(_(() => {
1492
1468
  let t = {};
1493
1469
  for (let n of e) n.children && (t[n.href] = n.defaultOpen ?? n.children.some((e) => J(r, e.href)));
1494
1470
  return t;
1495
- }, [e, r])), f = (e) => {
1496
- d((t) => ({
1471
+ }, [e, r])), u = (e) => {
1472
+ l((t) => ({
1497
1473
  ...t,
1498
1474
  [e]: !t[e]
1499
1475
  }));
1500
1476
  };
1501
- return /* @__PURE__ */ u(l, { children: e.map((e) => /* @__PURE__ */ u(at, {
1477
+ return /* @__PURE__ */ b(y, { children: e.map((e) => /* @__PURE__ */ b(ht, {
1502
1478
  item: e,
1503
1479
  open: t,
1504
1480
  permissions: i,
1505
- expanded: o[e.href],
1506
- onToggleExpand: rt(e, i).length > 0 ? () => f(e.href) : void 0,
1481
+ expanded: c[e.href],
1482
+ onToggleExpand: pt(e, i).length > 0 ? () => u(e.href) : void 0,
1507
1483
  LinkComponent: n,
1508
1484
  pathname: r,
1509
- t: a
1485
+ t: a,
1486
+ baseUrl: o,
1487
+ selectedPublicationId: s
1510
1488
  }, e.href)) });
1511
1489
  }
1512
- function st({ open: e, pathname: t, permissions: n, LinkComponent: r = U }) {
1513
- let { t: i } = H();
1514
- return /* @__PURE__ */ u(f, {
1490
+ function _t({ open: e = !0, pathname: t, permissions: n, LinkComponent: r = W, baseUrl: i, selectedPublicationId: a }) {
1491
+ let { t: o } = U();
1492
+ return /* @__PURE__ */ b(S, {
1515
1493
  component: "aside",
1516
1494
  sx: q.sxRoot(e),
1517
- children: /* @__PURE__ */ u(f, {
1495
+ children: /* @__PURE__ */ b(S, {
1518
1496
  sx: q.sxNavScroll,
1519
- children: /* @__PURE__ */ u(f, {
1497
+ children: /* @__PURE__ */ b(S, {
1520
1498
  component: "nav",
1521
- "aria-label": i.sidebar("navAriaLabel"),
1499
+ "aria-label": o.sidebar("navAriaLabel"),
1522
1500
  sx: q.sxNav(e),
1523
- children: /* @__PURE__ */ u(ot, {
1501
+ children: /* @__PURE__ */ b(gt, {
1524
1502
  permissions: n,
1525
- items: $e,
1503
+ items: lt,
1526
1504
  open: e,
1527
1505
  LinkComponent: r,
1528
1506
  pathname: t,
1529
- t: i
1507
+ t: o,
1508
+ baseUrl: i,
1509
+ selectedPublicationId: a
1530
1510
  })
1531
1511
  })
1532
1512
  })
1533
1513
  });
1534
1514
  }
1535
1515
  //#endregion
1536
- //#region src/lib/utils/site-selector.ts
1537
- var ct = "#ECEDF6", Y = "#D8E2FF", lt = "#FFFFFF", ut = "bluestack-es";
1538
- function X(e) {
1539
- return e.flatMap((e) => e.publications);
1540
- }
1541
- function dt(e, t) {
1542
- return X(e).find((e) => String(e.id) === t);
1543
- }
1544
- function ft(e, t) {
1545
- return X(e).find((e) => String(e.id) === t)?.description ?? "Seleccionar publicación";
1546
- }
1547
- function pt(e) {
1548
- let t = X(e)[0];
1549
- return t ? String(t.id) : "1";
1550
- }
1551
- function mt(e) {
1552
- let t = Number(e);
1553
- return Number.isFinite(t) && t > 0 ? t : 1;
1554
- }
1555
- //#endregion
1556
1516
  //#region src/lib/components/site-selector-menu/SiteSelectorMenu.styles.ts
1557
- var Z = {
1558
- sxTriggerButton: (e) => ({
1517
+ var Y = {
1518
+ sxTriggerButton: (t) => ({
1559
1519
  height: 34,
1560
1520
  borderRadius: "8px",
1561
- borderColor: e ? "transparent" : "m3.outline",
1521
+ borderColor: t ? "transparent" : "m3.outline",
1562
1522
  color: "black",
1563
- bgcolor: e ? Y : "transparent",
1523
+ bgcolor: t ? e : "transparent",
1564
1524
  textTransform: "none",
1565
1525
  fontSize: "12px",
1566
1526
  fontWeight: 500,
@@ -1571,13 +1531,13 @@ var Z = {
1571
1531
  flexShrink: 0,
1572
1532
  "&:hover": {
1573
1533
  borderColor: "m3.outline",
1574
- bgcolor: e ? Y : "action.hover"
1534
+ bgcolor: t ? e : "action.hover"
1575
1535
  }
1576
1536
  }),
1577
1537
  sxTriggerIcon: { fontSize: 20 },
1578
1538
  sxMenuPaper: {
1579
1539
  mt: 1,
1580
- bgcolor: ct,
1540
+ bgcolor: o,
1581
1541
  borderRadius: 2,
1582
1542
  marginTop: 0,
1583
1543
  boxShadow: "0px 1px 3px 0px rgba(0, 0, 0, 0.30), 0px 4px 8px 3px rgba(0, 0, 0, 0.15)",
@@ -1603,7 +1563,7 @@ var Z = {
1603
1563
  gridTemplateColumns: e ? "1fr" : "1fr 1fr",
1604
1564
  gap: 1
1605
1565
  }),
1606
- sxMenuItem: (e) => ({
1566
+ sxMenuItem: (t) => ({
1607
1567
  width: "16.4rem",
1608
1568
  maxWidth: "100%",
1609
1569
  minHeight: 40,
@@ -1613,17 +1573,17 @@ var Z = {
1613
1573
  padding: "1rem",
1614
1574
  margin: ".65rem",
1615
1575
  borderRadius: "28px",
1616
- bgcolor: e ? Y : lt,
1576
+ bgcolor: t ? e : r,
1617
1577
  color: "m3.onSurfaceVariant",
1618
1578
  display: "flex",
1619
1579
  alignItems: "center",
1620
1580
  justifyContent: "space-between",
1621
1581
  gap: 1.5,
1622
1582
  whiteSpace: "nowrap",
1623
- "&:hover": { bgcolor: Y },
1583
+ "&:hover": { bgcolor: e },
1624
1584
  "&.Mui-selected": {
1625
- bgcolor: Y,
1626
- "&:hover": { bgcolor: Y }
1585
+ bgcolor: e,
1586
+ "&:hover": { bgcolor: e }
1627
1587
  }
1628
1588
  }),
1629
1589
  sxMenuItemLabel: (e) => ({
@@ -1650,22 +1610,22 @@ var Z = {
1650
1610
  };
1651
1611
  //#endregion
1652
1612
  //#region src/lib/components/site-selector-menu/SiteSelectorMenu.tsx
1653
- function ht({ publication: e, selected: t, href: n, imageUrl: r }) {
1654
- return /* @__PURE__ */ u("a", {
1613
+ function vt({ publication: e, selected: t, href: n, imageUrl: r }) {
1614
+ return /* @__PURE__ */ b("a", {
1655
1615
  href: n,
1656
1616
  style: {
1657
1617
  textDecoration: "none",
1658
1618
  color: "inherit"
1659
1619
  },
1660
- children: /* @__PURE__ */ d(b, {
1620
+ children: /* @__PURE__ */ x(E, {
1661
1621
  selected: t,
1662
- sx: Z.sxMenuItem(t),
1663
- children: [/* @__PURE__ */ u(S, {
1664
- sx: Z.sxMenuItemLabel(t),
1622
+ sx: Y.sxMenuItem(t),
1623
+ children: [/* @__PURE__ */ b(O, {
1624
+ sx: Y.sxMenuItemLabel(t),
1665
1625
  children: e.description
1666
- }), r ? /* @__PURE__ */ u(f, {
1667
- sx: Z.sxMenuItemLogoWrap,
1668
- children: /* @__PURE__ */ u("img", {
1626
+ }), r ? /* @__PURE__ */ b(S, {
1627
+ sx: Y.sxMenuItemLogoWrap,
1628
+ children: /* @__PURE__ */ b("img", {
1669
1629
  src: r,
1670
1630
  alt: e.description,
1671
1631
  width: 90,
@@ -1675,27 +1635,27 @@ function ht({ publication: e, selected: t, href: n, imageUrl: r }) {
1675
1635
  })
1676
1636
  });
1677
1637
  }
1678
- function gt({ sites: e, selectedPublicationId: t, getPublicationHref: n, resolvePublicationImageUrl: r }) {
1679
- let [i, a] = c(null), o = !!i, s = (e) => {
1680
- a(e.currentTarget);
1681
- }, p = () => {
1682
- a(null);
1683
- }, m = t ?? "";
1684
- return /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(Oe, {
1638
+ function yt({ sites: e, selectedPublicationId: n, getPublicationHref: r, resolvePublicationImageUrl: i }) {
1639
+ let [a, o] = v(null), s = !!a, c = (e) => {
1640
+ o(e.currentTarget);
1641
+ }, l = () => {
1642
+ o(null);
1643
+ }, u = n ?? "";
1644
+ return /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(Re, {
1685
1645
  id: "site-selector-button",
1686
- "aria-controls": o ? "site-selector-menu" : void 0,
1646
+ "aria-controls": s ? "site-selector-menu" : void 0,
1687
1647
  "aria-haspopup": "true",
1688
- "aria-expanded": o ? "true" : void 0,
1648
+ "aria-expanded": s ? "true" : void 0,
1689
1649
  variant: "outlined",
1690
- onClick: s,
1691
- endIcon: /* @__PURE__ */ u(De, { sx: Z.sxTriggerIcon }),
1692
- sx: Z.sxTriggerButton(o),
1693
- children: ft(e, m)
1694
- }), /* @__PURE__ */ u(y, {
1650
+ onClick: c,
1651
+ endIcon: /* @__PURE__ */ b(Le, { sx: Y.sxTriggerIcon }),
1652
+ sx: Y.sxTriggerButton(s),
1653
+ children: t(e, u)
1654
+ }), /* @__PURE__ */ b(T, {
1695
1655
  id: "site-selector-menu",
1696
- anchorEl: i,
1697
- open: o,
1698
- onClose: p,
1656
+ anchorEl: a,
1657
+ open: s,
1658
+ onClose: l,
1699
1659
  anchorOrigin: {
1700
1660
  vertical: "bottom",
1701
1661
  horizontal: "right"
@@ -1705,31 +1665,31 @@ function gt({ sites: e, selectedPublicationId: t, getPublicationHref: n, resolve
1705
1665
  horizontal: "right"
1706
1666
  },
1707
1667
  slotProps: {
1708
- paper: { sx: Z.sxMenuPaper },
1668
+ paper: { sx: Y.sxMenuPaper },
1709
1669
  list: {
1710
1670
  "aria-labelledby": "site-selector-button",
1711
1671
  disablePadding: !0,
1712
- sx: Z.sxMenuList
1672
+ sx: Y.sxMenuList
1713
1673
  }
1714
1674
  },
1715
- children: e.map((i, a) => /* @__PURE__ */ d(f, {
1716
- sx: Z.sxSection(a === e.length - 1),
1717
- children: [/* @__PURE__ */ u(S, {
1718
- sx: Z.sxSectionTitle,
1719
- children: i.title
1720
- }), /* @__PURE__ */ u(f, {
1721
- sx: Z.sxSectionGrid(i.fullWidth),
1722
- children: i.publications.map((e) => /* @__PURE__ */ u(ht, {
1675
+ children: e.map((t, a) => /* @__PURE__ */ x(S, {
1676
+ sx: Y.sxSection(a === e.length - 1),
1677
+ children: [/* @__PURE__ */ b(O, {
1678
+ sx: Y.sxSectionTitle,
1679
+ children: t.title
1680
+ }), /* @__PURE__ */ b(S, {
1681
+ sx: Y.sxSectionGrid(t.fullWidth),
1682
+ children: t.publications.map((e) => /* @__PURE__ */ b(vt, {
1723
1683
  publication: e,
1724
- selected: Number(t) === e.id,
1725
- href: n(e),
1726
- imageUrl: e.imagePath && r ? r(e.imagePath) : void 0
1684
+ selected: Number(n) === e.id,
1685
+ href: r(e),
1686
+ imageUrl: e.imagePath && i ? i(e.imagePath) : void 0
1727
1687
  }, e.id))
1728
1688
  })]
1729
- }, i.title))
1689
+ }, t.title))
1730
1690
  })] });
1731
1691
  }
1732
- var Q = {
1692
+ var X = {
1733
1693
  sxAppBar: {
1734
1694
  bgcolor: "m3.surfaceContainer",
1735
1695
  color: "m3.onSurfaceVariant",
@@ -1834,7 +1794,7 @@ var Q = {
1834
1794
  };
1835
1795
  //#endregion
1836
1796
  //#region src/lib/components/top-bar/NotificationsMenu.tsx
1837
- function _t(e, t) {
1797
+ function bt(e, t) {
1838
1798
  let n = new Date(e);
1839
1799
  return Number.isNaN(n.getTime()) ? "" : n.toLocaleString(t, {
1840
1800
  day: "2-digit",
@@ -1843,24 +1803,24 @@ function _t(e, t) {
1843
1803
  minute: "2-digit"
1844
1804
  });
1845
1805
  }
1846
- function vt({ unreadCount: e, notifications: t }) {
1847
- let { locale: n, t: r } = H(), [i, a] = c(null), o = !!i, p = Xe(n), m = s(() => e > 0 ? e : void 0, [e]);
1848
- return /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(x, {
1806
+ function Z({ unreadCount: e, notifications: t }) {
1807
+ let { locale: n, t: r } = U(), [i, a] = v(null), o = !!i, s = at(n), c = _(() => e > 0 ? e : void 0, [e]);
1808
+ return /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(D, {
1849
1809
  title: r.notificationsMenu("title"),
1850
- children: /* @__PURE__ */ u(g, {
1810
+ children: /* @__PURE__ */ b(C, {
1851
1811
  "aria-label": r.notificationsMenu("ariaLabel"),
1852
1812
  "aria-haspopup": "true",
1853
1813
  "aria-expanded": o,
1854
1814
  onClick: (e) => a(e.currentTarget),
1855
- sx: Q.sxActionIcon,
1856
- children: /* @__PURE__ */ u(ke, {
1857
- badgeContent: m,
1815
+ sx: X.sxActionIcon,
1816
+ children: /* @__PURE__ */ b(ze, {
1817
+ badgeContent: c,
1858
1818
  color: "error",
1859
- sx: Q.sxBadge,
1860
- children: /* @__PURE__ */ u(se, { sx: Q.sxActionIconGlyph })
1819
+ sx: X.sxBadge,
1820
+ children: /* @__PURE__ */ b(ue, { sx: X.sxActionIconGlyph })
1861
1821
  })
1862
1822
  })
1863
- }), /* @__PURE__ */ d(y, {
1823
+ }), /* @__PURE__ */ x(T, {
1864
1824
  anchorEl: i,
1865
1825
  open: o,
1866
1826
  onClose: () => a(null),
@@ -1879,38 +1839,38 @@ function vt({ unreadCount: e, notifications: t }) {
1879
1839
  borderRadius: 2,
1880
1840
  bgcolor: "m3.surfaceContainerHigh"
1881
1841
  } } },
1882
- children: [/* @__PURE__ */ d(f, {
1842
+ children: [/* @__PURE__ */ x(S, {
1883
1843
  sx: {
1884
1844
  px: 2,
1885
1845
  py: 1.5,
1886
1846
  borderBottom: 1,
1887
1847
  borderColor: "m3.outlineVariant"
1888
1848
  },
1889
- children: [/* @__PURE__ */ u(S, {
1849
+ children: [/* @__PURE__ */ b(O, {
1890
1850
  variant: "subtitle2",
1891
1851
  color: "m3.onSurface",
1892
1852
  children: r.notificationsMenu("title")
1893
- }), e > 0 ? /* @__PURE__ */ u(S, {
1853
+ }), e > 0 ? /* @__PURE__ */ b(O, {
1894
1854
  variant: "caption",
1895
1855
  color: "m3.onSurfaceVariant",
1896
1856
  children: r.notificationsMenu("unreadCount", { count: e })
1897
1857
  }) : null]
1898
- }), t && t?.length === 0 ? /* @__PURE__ */ u(f, {
1858
+ }), t && t?.length === 0 ? /* @__PURE__ */ b(S, {
1899
1859
  sx: {
1900
1860
  px: 2,
1901
1861
  py: 3
1902
1862
  },
1903
- children: /* @__PURE__ */ u(S, {
1863
+ children: /* @__PURE__ */ b(O, {
1904
1864
  variant: "body2",
1905
1865
  color: "m3.onSurfaceVariant",
1906
1866
  sx: { textAlign: "center" },
1907
1867
  children: r.notificationsMenu("empty")
1908
1868
  })
1909
- }) : /* @__PURE__ */ u(Ae, {
1869
+ }) : /* @__PURE__ */ b(Be, {
1910
1870
  dense: !0,
1911
1871
  disablePadding: !0,
1912
1872
  sx: { py: .5 },
1913
- children: t && t.map((e) => /* @__PURE__ */ u(je, {
1873
+ children: t && t.map((e) => /* @__PURE__ */ b(Ve, {
1914
1874
  component: e.href ? "a" : "div",
1915
1875
  href: e.href,
1916
1876
  onClick: () => a(null),
@@ -1920,9 +1880,9 @@ function vt({ unreadCount: e, notifications: t }) {
1920
1880
  bgcolor: e.read ? "transparent" : "secondary.light",
1921
1881
  "&:hover": { bgcolor: e.read ? "action.hover" : "secondary.light" }
1922
1882
  },
1923
- children: /* @__PURE__ */ u(v, {
1883
+ children: /* @__PURE__ */ b(w, {
1924
1884
  primary: e.title,
1925
- secondary: /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(S, {
1885
+ secondary: /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(O, {
1926
1886
  component: "span",
1927
1887
  variant: "body2",
1928
1888
  color: "m3.onSurfaceVariant",
@@ -1931,7 +1891,7 @@ function vt({ unreadCount: e, notifications: t }) {
1931
1891
  mt: .25
1932
1892
  },
1933
1893
  children: e.message
1934
- }), /* @__PURE__ */ u(S, {
1894
+ }), /* @__PURE__ */ b(O, {
1935
1895
  component: "span",
1936
1896
  variant: "caption",
1937
1897
  color: "m3.onSurfaceVariant",
@@ -1939,7 +1899,7 @@ function vt({ unreadCount: e, notifications: t }) {
1939
1899
  display: "block",
1940
1900
  mt: .5
1941
1901
  },
1942
- children: _t(e.createdAt, p)
1902
+ children: bt(e.createdAt, s)
1943
1903
  })] }),
1944
1904
  slotProps: { primary: {
1945
1905
  variant: "subtitle2",
@@ -1953,39 +1913,39 @@ function vt({ unreadCount: e, notifications: t }) {
1953
1913
  }
1954
1914
  //#endregion
1955
1915
  //#region src/lib/utils/cms-asset.ts
1956
- var yt = "https://dev.cms-medios.com";
1957
- function bt(e) {
1916
+ var xt = "https://dev.cms-medios.com";
1917
+ function St(e) {
1958
1918
  let t = e?.trim();
1959
- return t ? t.replace(/\/$/, "") : yt;
1919
+ return t ? t.replace(/\/$/, "") : xt;
1960
1920
  }
1961
- function xt(e, t) {
1921
+ function Ct(e, t) {
1962
1922
  if (!e) return "";
1963
1923
  if (e.startsWith("http://") || e.startsWith("https://")) return e;
1964
1924
  let n = e.startsWith("/") ? e : `/${e}`;
1965
- return `${bt(t)}${n}`;
1925
+ return `${St(t)}${n}`;
1966
1926
  }
1967
1927
  //#endregion
1968
1928
  //#region src/lib/utils/profile-avatar.ts
1969
- var St = "noPicture", Ct = "/topbar_profile.png";
1970
- function wt(e, t) {
1971
- let { image: n } = e, r = t?.fallbackAvatar ?? Ct;
1972
- return !n || n === St ? r : xt(n, t?.cmsOrigin);
1929
+ var wt = "noPicture", Tt = "/topbar_profile.png";
1930
+ function Et(e, t) {
1931
+ let { image: n } = e, r = t?.fallbackAvatar ?? Tt;
1932
+ return !n || n === wt ? r : Ct(n, t?.cmsOrigin);
1973
1933
  }
1974
- function Tt(e) {
1934
+ function Dt(e) {
1975
1935
  if (e.fullName?.trim()) return e.fullName.trim();
1976
1936
  let t = [e.firstName, e.lastName].filter(Boolean);
1977
1937
  return t.length > 0 ? t.join(" ") : e.userName;
1978
1938
  }
1979
1939
  //#endregion
1980
1940
  //#region src/lib/components/top-bar/ProfileMenu.tsx
1981
- function Et({ label: e, icon: t, onSelect: n }) {
1982
- return /* @__PURE__ */ d(b, {
1941
+ function Ot({ label: e, icon: t, onSelect: n }) {
1942
+ return /* @__PURE__ */ x(E, {
1983
1943
  onClick: n,
1984
- sx: Q.sxProfileMenuItem,
1985
- children: [/* @__PURE__ */ u(_, {
1986
- sx: Q.sxProfileMenuListItemIcon,
1987
- children: /* @__PURE__ */ u(t, {})
1988
- }), /* @__PURE__ */ u(v, {
1944
+ sx: X.sxProfileMenuItem,
1945
+ children: [/* @__PURE__ */ b(re, {
1946
+ sx: X.sxProfileMenuListItemIcon,
1947
+ children: /* @__PURE__ */ b(t, {})
1948
+ }), /* @__PURE__ */ b(w, {
1989
1949
  primary: e,
1990
1950
  slotProps: { primary: { sx: {
1991
1951
  fontSize: 14,
@@ -1995,49 +1955,49 @@ function Et({ label: e, icon: t, onSelect: n }) {
1995
1955
  })]
1996
1956
  });
1997
1957
  }
1998
- function Dt({ profile: e, avatarOptions: t }) {
1999
- let { t: n } = H(), [r, i] = c(null), a = !!r, o = Tt(e), p = wt(e, t), m = p.startsWith("/"), h = s(() => [{
1958
+ function kt({ profile: e, avatarOptions: t }) {
1959
+ let { t: n } = U(), [r, i] = v(null), a = !!r, o = Dt(e), s = Et(e, t), c = s.startsWith("/"), l = _(() => [{
2000
1960
  id: "profile",
2001
1961
  labelKey: "myProfile",
2002
- icon: Pe
1962
+ icon: We
2003
1963
  }, {
2004
1964
  id: "webmaster",
2005
1965
  labelKey: "webmasterView",
2006
- icon: Me
2007
- }], []), _ = s(() => ({
1966
+ icon: He
1967
+ }], []), u = _(() => ({
2008
1968
  id: "sign-off",
2009
1969
  labelKey: "signOff",
2010
- icon: Ne
2011
- }), []), v = () => i(null), b = (e) => {
2012
- v();
1970
+ icon: Ue
1971
+ }), []), d = () => i(null), f = (e) => {
1972
+ d();
2013
1973
  };
2014
- return /* @__PURE__ */ d(l, { children: [/* @__PURE__ */ u(g, {
1974
+ return /* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b(C, {
2015
1975
  id: "profile-menu-button",
2016
1976
  "aria-label": n.profileMenu("ariaLabel"),
2017
1977
  "aria-controls": a ? "profile-menu" : void 0,
2018
1978
  "aria-haspopup": "true",
2019
1979
  "aria-expanded": a ? "true" : void 0,
2020
1980
  onClick: (e) => i(e.currentTarget),
2021
- sx: Q.sxProfileButton,
2022
- children: /* @__PURE__ */ u(Fe, {
2023
- sx: Q.sxProfileAvatar,
2024
- children: /* @__PURE__ */ u(f, {
1981
+ sx: X.sxProfileButton,
1982
+ children: /* @__PURE__ */ b(Ge, {
1983
+ sx: X.sxProfileAvatar,
1984
+ children: /* @__PURE__ */ b(S, {
2025
1985
  component: "img",
2026
- src: p,
1986
+ src: s,
2027
1987
  alt: "",
2028
1988
  sx: {
2029
1989
  width: "100%",
2030
1990
  height: "100%",
2031
1991
  objectFit: "cover"
2032
1992
  },
2033
- ...m ? {} : { crossOrigin: "anonymous" }
1993
+ ...c ? {} : { crossOrigin: "anonymous" }
2034
1994
  })
2035
1995
  })
2036
- }), /* @__PURE__ */ d(y, {
1996
+ }), /* @__PURE__ */ x(T, {
2037
1997
  id: "profile-menu",
2038
1998
  anchorEl: r,
2039
1999
  open: a,
2040
- onClose: v,
2000
+ onClose: d,
2041
2001
  anchorOrigin: {
2042
2002
  vertical: "bottom",
2043
2003
  horizontal: "right"
@@ -2047,125 +2007,125 @@ function Dt({ profile: e, avatarOptions: t }) {
2047
2007
  horizontal: "right"
2048
2008
  },
2049
2009
  slotProps: {
2050
- paper: { sx: Q.sxProfileMenuPaper },
2010
+ paper: { sx: X.sxProfileMenuPaper },
2051
2011
  list: { disablePadding: !0 }
2052
2012
  },
2053
2013
  children: [
2054
- /* @__PURE__ */ d(f, {
2014
+ /* @__PURE__ */ x(S, {
2055
2015
  sx: {
2056
2016
  px: 2,
2057
2017
  py: 1.5,
2058
2018
  borderBottom: 1,
2059
2019
  borderColor: "divider"
2060
2020
  },
2061
- children: [/* @__PURE__ */ u(S, {
2021
+ children: [/* @__PURE__ */ b(O, {
2062
2022
  variant: "subtitle2",
2063
2023
  sx: {
2064
2024
  fontWeight: 600,
2065
2025
  color: "#191C22"
2066
2026
  },
2067
2027
  children: o
2068
- }), /* @__PURE__ */ u(S, {
2028
+ }), /* @__PURE__ */ b(O, {
2069
2029
  variant: "caption",
2070
2030
  sx: { color: "#414752" },
2071
2031
  children: e.email
2072
2032
  })]
2073
2033
  }),
2074
- h.map((e) => /* @__PURE__ */ u(Et, {
2034
+ l.map((e) => /* @__PURE__ */ b(Ot, {
2075
2035
  label: n.profileMenu(e.labelKey),
2076
2036
  icon: e.icon,
2077
- onSelect: () => b(e.id)
2037
+ onSelect: () => f(e.id)
2078
2038
  }, e.id)),
2079
- /* @__PURE__ */ u(Ie, { sx: Q.sxProfileMenuDivider }),
2080
- /* @__PURE__ */ u(Et, {
2081
- label: n.profileMenu(_.labelKey),
2082
- icon: _.icon,
2083
- onSelect: () => b(_.id)
2039
+ /* @__PURE__ */ b(Ke, { sx: X.sxProfileMenuDivider }),
2040
+ /* @__PURE__ */ b(Ot, {
2041
+ label: n.profileMenu(u.labelKey),
2042
+ icon: u.icon,
2043
+ onSelect: () => f(u.id)
2084
2044
  })
2085
2045
  ]
2086
2046
  })] });
2087
2047
  }
2088
2048
  //#endregion
2089
2049
  //#region src/lib/components/top-bar/TopBar.tsx
2090
- function Ot() {
2091
- return /* @__PURE__ */ u(f, {
2050
+ function At() {
2051
+ return /* @__PURE__ */ b(S, {
2092
2052
  component: "span",
2093
2053
  role: "separator",
2094
2054
  "aria-orientation": "vertical",
2095
- sx: Q.sxDivider
2055
+ sx: X.sxDivider
2096
2056
  });
2097
2057
  }
2098
- function kt({ title: e, icon: t }) {
2099
- return /* @__PURE__ */ u(x, {
2058
+ function jt({ title: e, icon: t }) {
2059
+ return /* @__PURE__ */ b(D, {
2100
2060
  title: e,
2101
- children: /* @__PURE__ */ u(g, {
2061
+ children: /* @__PURE__ */ b(C, {
2102
2062
  "aria-label": e,
2103
- sx: Q.sxActionIcon,
2104
- children: /* @__PURE__ */ u(t, { sx: Q.sxActionIconGlyph })
2063
+ sx: X.sxActionIcon,
2064
+ children: /* @__PURE__ */ b(t, { sx: X.sxActionIconGlyph })
2105
2065
  })
2106
2066
  });
2107
2067
  }
2108
- function At({ sites: e, sidebarOpen: t, onToggleSidebar: n, notificationUnreadCount: r, notifications: i, profile: a, primaryLogo: o, brandLogo: s, selectedPublicationId: c, getPublicationHref: l, resolvePublicationImageUrl: p, profileAvatarOptions: m }) {
2109
- let { t: h } = H(), _ = [{
2110
- title: h.topBar("analytics"),
2111
- icon: Se
2068
+ function Q({ sites: e, sidebarOpen: t, onToggleSidebar: n, notificationUnreadCount: r, notifications: i, profile: a, primaryLogo: o, brandLogo: s, selectedPublicationId: c, getPublicationHref: l, resolvePublicationImageUrl: u, profileAvatarOptions: d }) {
2069
+ let { t: f } = U(), p = [{
2070
+ title: f.topBar("analytics"),
2071
+ icon: Me
2112
2072
  }, {
2113
- title: h.topBar("help"),
2114
- icon: Ce
2073
+ title: f.topBar("help"),
2074
+ icon: Ne
2115
2075
  }];
2116
- return /* @__PURE__ */ u(Te, {
2076
+ return /* @__PURE__ */ b(Fe, {
2117
2077
  position: "static",
2118
2078
  elevation: 0,
2119
- sx: Q.sxAppBar,
2120
- children: /* @__PURE__ */ d(Ee, {
2079
+ sx: X.sxAppBar,
2080
+ children: /* @__PURE__ */ x(Ie, {
2121
2081
  disableGutters: !0,
2122
2082
  variant: "dense",
2123
- sx: Q.sxToolbar,
2083
+ sx: X.sxToolbar,
2124
2084
  children: [
2125
- /* @__PURE__ */ u(g, {
2126
- "aria-label": t ? h.topBar("closeSidebar") : h.topBar("openSidebar"),
2085
+ /* @__PURE__ */ b(C, {
2086
+ "aria-label": t ? f.topBar("closeSidebar") : f.topBar("openSidebar"),
2127
2087
  "aria-expanded": t,
2128
2088
  onClick: n,
2129
- sx: Q.sxMenuButton,
2130
- children: /* @__PURE__ */ u(we, { sx: Q.sxMenuButtonIcon })
2089
+ sx: X.sxMenuButton,
2090
+ children: /* @__PURE__ */ b(Pe, { sx: X.sxMenuButtonIcon })
2131
2091
  }),
2132
- /* @__PURE__ */ u(f, {
2133
- sx: Q.sxLogoBox,
2092
+ /* @__PURE__ */ b(S, {
2093
+ sx: X.sxLogoBox,
2134
2094
  children: o
2135
2095
  }),
2136
- /* @__PURE__ */ u(f, { sx: { flex: 1 } }),
2137
- /* @__PURE__ */ d(f, {
2138
- sx: Q.sxActionsFrame,
2096
+ /* @__PURE__ */ b(S, { sx: { flex: 1 } }),
2097
+ /* @__PURE__ */ x(S, {
2098
+ sx: X.sxActionsFrame,
2139
2099
  children: [
2140
- /* @__PURE__ */ d(f, {
2141
- sx: Q.sxIconActionsRow,
2100
+ /* @__PURE__ */ x(S, {
2101
+ sx: X.sxIconActionsRow,
2142
2102
  children: [
2143
- /* @__PURE__ */ u(kt, {
2144
- title: h.topBar("new"),
2145
- icon: xe
2103
+ /* @__PURE__ */ b(jt, {
2104
+ title: f.topBar("new"),
2105
+ icon: je
2146
2106
  }),
2147
- /* @__PURE__ */ u(vt, {
2107
+ /* @__PURE__ */ b(Z, {
2148
2108
  unreadCount: r,
2149
2109
  notifications: i
2150
2110
  }),
2151
- _.map(({ title: e, icon: t }) => /* @__PURE__ */ u(kt, {
2111
+ p.map(({ title: e, icon: t }) => /* @__PURE__ */ b(jt, {
2152
2112
  title: e,
2153
2113
  icon: t
2154
2114
  }, e))
2155
2115
  ]
2156
2116
  }),
2157
- /* @__PURE__ */ u(Ot, {}),
2117
+ /* @__PURE__ */ b(At, {}),
2158
2118
  s,
2159
- /* @__PURE__ */ u(gt, {
2119
+ /* @__PURE__ */ b(yt, {
2160
2120
  sites: e,
2161
2121
  selectedPublicationId: c,
2162
2122
  getPublicationHref: l,
2163
- resolvePublicationImageUrl: p
2123
+ resolvePublicationImageUrl: u
2164
2124
  }),
2165
- /* @__PURE__ */ u(Ot, {}),
2166
- /* @__PURE__ */ u(Dt, {
2125
+ /* @__PURE__ */ b(At, {}),
2126
+ /* @__PURE__ */ b(kt, {
2167
2127
  profile: a,
2168
- avatarOptions: m
2128
+ avatarOptions: d
2169
2129
  })
2170
2130
  ]
2171
2131
  })
@@ -2208,39 +2168,41 @@ var $ = {
2208
2168
  };
2209
2169
  //#endregion
2210
2170
  //#region src/lib/components/shell/AppShell.tsx
2211
- function jt({ pathname: e, sites: t, children: n, notificationUnreadCount: r, notifications: i, profile: a, primaryLogo: o, brandLogo: s, selectedPublicationId: l, getPublicationHref: p, resolvePublicationImageUrl: m, profileAvatarOptions: h, LinkComponent: g = U, permissions: _, locale: v, language: y, messages: b }) {
2212
- let [x, S] = c(!0);
2213
- return /* @__PURE__ */ u(Ye, {
2214
- locale: v,
2215
- language: y,
2216
- messages: b,
2217
- children: /* @__PURE__ */ d(f, {
2171
+ function Mt({ pathname: e, sites: t, children: n, notificationUnreadCount: r, notifications: i, profile: a, primaryLogo: o, brandLogo: s, selectedPublicationId: c, getPublicationHref: l, resolvePublicationImageUrl: u, profileAvatarOptions: d, LinkComponent: f = W, permissions: p, locale: m, language: h, messages: g, baseUrl: _ }) {
2172
+ let [y, ee] = v(!0);
2173
+ return /* @__PURE__ */ b(it, {
2174
+ locale: m,
2175
+ language: h,
2176
+ messages: g,
2177
+ children: /* @__PURE__ */ x(S, {
2218
2178
  sx: $.sxRoot,
2219
- children: [/* @__PURE__ */ u(f, {
2179
+ children: [/* @__PURE__ */ b(S, {
2220
2180
  component: "header",
2221
2181
  sx: $.sxHeader,
2222
- children: /* @__PURE__ */ u(At, {
2182
+ children: /* @__PURE__ */ b(Q, {
2223
2183
  sites: t,
2224
- sidebarOpen: x,
2225
- onToggleSidebar: () => S((e) => !e),
2184
+ sidebarOpen: y,
2185
+ onToggleSidebar: () => ee((e) => !e),
2226
2186
  notificationUnreadCount: r,
2227
2187
  notifications: i,
2228
2188
  profile: a,
2229
2189
  primaryLogo: o,
2230
2190
  brandLogo: s,
2231
- selectedPublicationId: l,
2232
- getPublicationHref: p,
2233
- resolvePublicationImageUrl: m,
2234
- profileAvatarOptions: h
2191
+ selectedPublicationId: c,
2192
+ getPublicationHref: l,
2193
+ resolvePublicationImageUrl: u,
2194
+ profileAvatarOptions: d
2235
2195
  })
2236
- }), /* @__PURE__ */ d(f, {
2196
+ }), /* @__PURE__ */ x(S, {
2237
2197
  sx: $.sxBody,
2238
- children: [/* @__PURE__ */ u(st, {
2239
- open: x,
2198
+ children: [/* @__PURE__ */ b(_t, {
2199
+ open: y,
2240
2200
  pathname: e,
2241
- LinkComponent: g,
2242
- permissions: _
2243
- }), /* @__PURE__ */ u(f, {
2201
+ LinkComponent: f,
2202
+ permissions: p,
2203
+ baseUrl: _,
2204
+ selectedPublicationId: c
2205
+ }), /* @__PURE__ */ b(S, {
2244
2206
  component: "main",
2245
2207
  sx: $.sxMain,
2246
2208
  children: n
@@ -2251,26 +2213,26 @@ function jt({ pathname: e, sites: t, children: n, notificationUnreadCount: r, no
2251
2213
  }
2252
2214
  //#endregion
2253
2215
  //#region src/lib/components/mui-provider/CmsMuiProvider.tsx
2254
- var Mt = I();
2255
- function Nt({ children: e }) {
2256
- return /* @__PURE__ */ d(t, {
2257
- theme: Mt,
2216
+ var Nt = L();
2217
+ function Pt({ children: e }) {
2218
+ return /* @__PURE__ */ x(d, {
2219
+ theme: Nt,
2258
2220
  defaultMode: "light",
2259
2221
  storageManager: null,
2260
- children: [/* @__PURE__ */ u(Le, { enableColorScheme: !0 }), e]
2222
+ children: [/* @__PURE__ */ b(P, { enableColorScheme: !0 }), e]
2261
2223
  });
2262
2224
  }
2263
2225
  //#endregion
2264
2226
  //#region src/lib/components/mui-provider/NextCmsMuiProvider.tsx
2265
- var Pt = I();
2266
- function Ft({ children: e }) {
2267
- return /* @__PURE__ */ u(Re, {
2227
+ var Ft = L();
2228
+ function It({ children: e }) {
2229
+ return /* @__PURE__ */ b(qe, {
2268
2230
  options: { enableCssLayer: !0 },
2269
- children: /* @__PURE__ */ d(t, {
2270
- theme: Pt,
2231
+ children: /* @__PURE__ */ x(d, {
2232
+ theme: Ft,
2271
2233
  defaultMode: "light",
2272
2234
  storageManager: null,
2273
- children: [/* @__PURE__ */ u(Le, { enableColorScheme: !0 }), /* @__PURE__ */ u(f, {
2235
+ children: [/* @__PURE__ */ b(P, { enableColorScheme: !0 }), /* @__PURE__ */ b(S, {
2274
2236
  sx: {
2275
2237
  display: "flex",
2276
2238
  flexDirection: "column",
@@ -2283,6 +2245,6 @@ function Ft({ children: e }) {
2283
2245
  });
2284
2246
  }
2285
2247
  //#endregion
2286
- export { $e as ACCOUNT_NAV_BLOCKS, jt as AppShell, e as CmsCommonServices, Ye as CmsI18nProvider, Nt as CmsMuiProvider, Ke as DEFAULT_LOCALE, ut as DEFAULT_SITE_ID, U as DefaultCmsLink, lt as ITEM_DEFAULT_BG, Y as ITEM_HOVER_BG, ze as LIB_VERSION, ct as MENU_BG, Ft as NextCmsMuiProvider, vt as NotificationsMenu, Dt as ProfileMenu, V as SUPPORTED_LOCALES, st as Sidebar, gt as SiteSelectorMenu, At as TopBar, I as createAppTheme, L as createTranslator, R as defaultLocaleCatalog, Ue as enMessages, We as esMessages, dt as findPublicationBySlug, ft as findPublicationLabel, X as getAllPublications, pt as getDefaultPublicationSlug, Xe as getIntlLocaleTag, wt as getProfileAvatarSrc, Tt as getProfileDisplayName, B as mergeMessages, qe as normalizeLocale, mt as parsePublicationSlug, Ge as ptMessages, xt as resolveCmsAssetUrl, bt as resolveCmsOrigin, H as useCmsTranslation };
2248
+ export { lt as ACCOUNT_NAV_BLOCKS, Mt as AppShell, l as CmsCommonServices, it as CmsI18nProvider, Pt as CmsMuiProvider, a as CmsUsersServices, tt as DEFAULT_LOCALE, s as DEFAULT_SITE_ID, W as DefaultCmsLink, r as ITEM_DEFAULT_BG, e as ITEM_HOVER_BG, Je as LIB_VERSION, o as MENU_BG, It as NextCmsMuiProvider, Z as NotificationsMenu, kt as ProfileMenu, H as SUPPORTED_LOCALES, _t as Sidebar, yt as SiteSelectorMenu, Q as TopBar, L as createAppTheme, R as createTranslator, z as defaultLocaleCatalog, Qe as enMessages, $e as esMessages, c as findPublicationBySlug, t as findPublicationLabel, i as getAllPublications, u as getDefaultPublicationSlug, at as getIntlLocaleTag, Et as getProfileAvatarSrc, Dt as getProfileDisplayName, V as mergeMessages, nt as normalizeLocale, n as parsePublicationSlug, et as ptMessages, Ct as resolveCmsAssetUrl, St as resolveCmsOrigin, U as useCmsTranslation };
2287
2249
 
2288
2250
  //# sourceMappingURL=index.js.map