@australiangreens/ag-internal-components 0.0.97 → 0.0.98

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/esm/index.js CHANGED
@@ -24,19 +24,19 @@ var L = (e, t, n) => new Promise((i, r) => {
24
24
  var s = (l) => {
25
25
  try {
26
26
  d(n.next(l));
27
- } catch (p) {
28
- r(p);
27
+ } catch (u) {
28
+ r(u);
29
29
  }
30
30
  }, c = (l) => {
31
31
  try {
32
32
  d(n.throw(l));
33
- } catch (p) {
34
- r(p);
33
+ } catch (u) {
34
+ r(u);
35
35
  }
36
36
  }, d = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(s, c);
37
37
  d((n = n.apply(e, t)).next());
38
38
  });
39
- import { jsxs as u, Fragment as E, jsx as o } from "react/jsx-runtime";
39
+ import { jsxs as p, Fragment as E, jsx as o } from "react/jsx-runtime";
40
40
  import { useState as B, createContext as Je, useCallback as ie, useContext as Ze, useEffect as re, createElement as xe, useRef as ge } from "react";
41
41
  import { Typography as F, Button as ae, Paper as je, Box as y, Drawer as we, styled as Ae, IconButton as K, Container as et, useTheme as se, useMediaQuery as Rt, Collapse as Ht, Avatar as Pe, Fade as Wt, Skeleton as Ne, Toolbar as zt, Divider as Le, CssBaseline as Ut, Dialog as tt, LinearProgress as nt, DialogTitle as ot, DialogContent as it, DialogActions as rt, Autocomplete as be, TextField as Se, CircularProgress as ke, Chip as Gt, Tooltip as Vt, Stack as qt, Snackbar as Xt, Alert as Qt, FormHelperText as Yt } from "@mui/material";
42
42
  import Kt from "@mui/material/CssBaseline";
@@ -46,19 +46,18 @@ import { createHelper as Q } from "souvlaki";
46
46
  import { BrowserRouter as Zt } from "react-router-dom";
47
47
  import st from "@mui/material/List";
48
48
  import { ArrowForward as lt, ArrowBack as ct, ViewHeadline as jt, Cancel as en, ArrowDropDown as tn } from "@mui/icons-material";
49
- import { atom as _, useSetAtom as dt, useAtomValue as _e, useAtom as V, getDefaultStore as nn, Provider as pt } from "jotai";
50
- import { useHydrateAtoms as ut } from "jotai/utils";
49
+ import { atom as _, useSetAtom as dt, useAtomValue as _e, useAtom as V, getDefaultStore as nn, Provider as ut } from "jotai";
50
+ import { useHydrateAtoms as pt } from "jotai/utils";
51
51
  import Me from "react-avatar";
52
- import { simpleHashCode as on } from "src/utils";
53
- import rn from "autosuggest-highlight/match";
54
- import an from "autosuggest-highlight/parse";
55
- import { useQuery as sn, QueryClient as ln, QueryClientProvider as cn } from "@tanstack/react-query";
52
+ import on from "autosuggest-highlight/match";
53
+ import rn from "autosuggest-highlight/parse";
54
+ import { useQuery as an, QueryClient as sn, QueryClientProvider as ln } from "@tanstack/react-query";
56
55
  import { useAuth0 as ht } from "@auth0/auth0-react";
57
- import { Buffer as dn } from "buffer";
58
- import pn from "@mui/material/Skeleton";
59
- function To({ text: e }) {
56
+ import { Buffer as cn } from "buffer";
57
+ import dn from "@mui/material/Skeleton";
58
+ function Oo({ text: e }) {
60
59
  const [t, n] = B(0);
61
- return /* @__PURE__ */ u(E, { children: [
60
+ return /* @__PURE__ */ p(E, { children: [
62
61
  /* @__PURE__ */ o(F, { variant: "h6", color: "inherit", component: "div", sx: { fontSize: "22px" }, children: "Hello world" }),
63
62
  /* @__PURE__ */ o(F, { variant: "caption", display: "block", children: /* @__PURE__ */ o("span", { children: "Just ensuring MUI is working as planned as a peer dependency. v0.0.11" }) }),
64
63
  /* @__PURE__ */ o(
@@ -70,11 +69,11 @@ function To({ text: e }) {
70
69
  children: "Hello I am a button"
71
70
  }
72
71
  ),
73
- /* @__PURE__ */ u("p", { children: [
72
+ /* @__PURE__ */ p("p", { children: [
74
73
  "This is some text: ",
75
74
  /* @__PURE__ */ o("span", { children: e })
76
75
  ] }),
77
- /* @__PURE__ */ u(je, { children: [
76
+ /* @__PURE__ */ p(je, { children: [
78
77
  "This number will incremember when button pressed: ",
79
78
  t
80
79
  ] })
@@ -117,11 +116,11 @@ const gt = 330, ft = 73, U = "Navbar", q = {
117
116
  color: "white",
118
117
  backgroundColor: "black"
119
118
  // backgroundColor: '#e8e8e8',
120
- }), hn = () => a({
119
+ }), pn = () => a({
121
120
  width: gt
122
- }, mt()), gn = () => a({
121
+ }, mt()), hn = () => a({
123
122
  width: ft
124
- }, mt()), fn = R(we, {
123
+ }, mt()), gn = R(we, {
125
124
  shouldForwardProp: (e) => e !== "open"
126
125
  })(({ theme: e, open: t }) => a(a({
127
126
  width: t ? gt : ft,
@@ -130,16 +129,16 @@ const gt = 330, ft = 73, U = "Navbar", q = {
130
129
  boxSizing: "border-box",
131
130
  zIndex: e.zIndex.drawer + 100
132
131
  }, t && {
133
- "& .MuiDrawer-paper": hn()
132
+ "& .MuiDrawer-paper": pn()
134
133
  }), !t && {
135
- "& .MuiDrawer-paper": gn()
134
+ "& .MuiDrawer-paper": hn()
136
135
  }));
137
136
  class De extends Jt {
138
137
  }
139
138
  Fe(De, "errorName", "ContextError");
140
- const Ct = Je(null), mn = {}, Cn = {}, xn = ({
141
- overrideState: e = mn,
142
- overrideActions: t = Cn,
139
+ const Ct = Je(null), fn = {}, mn = {}, Cn = ({
140
+ overrideState: e = fn,
141
+ overrideActions: t = mn,
143
142
  children: n
144
143
  }) => {
145
144
  const [{ open: i }, r] = B({ open: !0 }), s = ie((l) => {
@@ -152,16 +151,16 @@ const Ct = Je(null), mn = {}, Cn = {}, xn = ({
152
151
  toggleOpen: c
153
152
  }, e), t);
154
153
  return /* @__PURE__ */ o(Ct.Provider, { value: d, children: n });
155
- }, vn = () => {
154
+ }, xn = () => {
156
155
  const e = Ze(Ct);
157
156
  if (e === null)
158
157
  throw new De("Error: Tried to useNavBar outside of a <NavBarProvider>");
159
158
  return e;
160
- }, wn = (e = {}) => a({
159
+ }, vn = (e = {}) => a({
161
160
  open: !0
162
- }, e), Bo = Q(
163
- (e = wn(), t = {}) => ({ children: n }) => /* @__PURE__ */ o(xn, { overrideState: e, overrideActions: t, children: n })
164
- ), Eo = Q(() => ({ children: e }) => /* @__PURE__ */ o(Zt, { children: e })), Re = 7, Fo = R(st)(({ theme: e }) => ({
161
+ }, e), To = Q(
162
+ (e = vn(), t = {}) => ({ children: n }) => /* @__PURE__ */ o(Cn, { overrideState: e, overrideActions: t, children: n })
163
+ ), Bo = Q(() => ({ children: e }) => /* @__PURE__ */ o(Zt, { children: e })), Re = 7, Eo = R(st)(({ theme: e }) => ({
165
164
  backgroundColor: "black",
166
165
  color: "white",
167
166
  "& .MuiListItem-root": {
@@ -199,7 +198,7 @@ const Ct = Je(null), mn = {}, Cn = {}, xn = ({
199
198
  // '&.Mui-selected.Mui-focusVisible:hover': {
200
199
  // },
201
200
  }
202
- })), He = 7, Po = R(st)(({ theme: e }) => ({
201
+ })), He = 7, Fo = R(st)(({ theme: e }) => ({
203
202
  backgroundColor: "#e8e8e8",
204
203
  color: "inherit",
205
204
  "& .MuiListItem-root": {
@@ -238,15 +237,15 @@ const Ct = Je(null), mn = {}, Cn = {}, xn = ({
238
237
  // },
239
238
  }
240
239
  }));
241
- function No({
240
+ function Po({
242
241
  "data-testid": e,
243
242
  children: t
244
243
  }) {
245
- const { open: n } = vn();
246
- return /* @__PURE__ */ u(un, { className: q.root, "data-testid": e, children: [
244
+ const { open: n } = xn();
245
+ return /* @__PURE__ */ p(un, { className: q.root, "data-testid": e, children: [
247
246
  /* @__PURE__ */ o(Kt, {}),
248
247
  /* @__PURE__ */ o(
249
- fn,
248
+ gn,
250
249
  {
251
250
  variant: "permanent",
252
251
  anchor: "left",
@@ -257,14 +256,14 @@ function No({
257
256
  )
258
257
  ] });
259
258
  }
260
- const An = 24, bn = 64, G = "TopBar", T = {
259
+ const wn = 24, An = 64, G = "TopBar", T = {
261
260
  topStripe: `${G}-topStripe`,
262
261
  titleBar: `${G}-titleBar`,
263
262
  titleSlider: `${G}-titleSlider`,
264
263
  titleText: `${G}-titleText`,
265
264
  leftPanelButton: `${G}-leftPanelButton`,
266
265
  rightPanelButton: `${G}-leftPanelButton`
267
- }, Sn = Ae("div", {
266
+ }, bn = Ae("div", {
268
267
  shouldForwardProp: (e) => !["leftPanel", "rightPanel"].includes(e),
269
268
  name: G
270
269
  })(({ theme: e, leftPanel: t, rightPanel: n }) => {
@@ -273,12 +272,12 @@ const An = 24, bn = 64, G = "TopBar", T = {
273
272
  width: "100%",
274
273
  [`& .${T.topStripe}`]: {
275
274
  width: "100%",
276
- height: `${An}px`,
275
+ height: `${wn}px`,
277
276
  backgroundColor: e.palette.primary.main
278
277
  },
279
278
  [`& .${T.titleBar}`]: {
280
279
  backgroundColor: e.palette.primary.light,
281
- height: `${bn}px`,
280
+ height: `${An}px`,
282
281
  padding: e.spacing(0, 3),
283
282
  width: "100%"
284
283
  },
@@ -316,16 +315,16 @@ const An = 24, bn = 64, G = "TopBar", T = {
316
315
  })
317
316
  };
318
317
  });
319
- function kn({
318
+ function Sn({
320
319
  titleText: e = "",
321
320
  leftPanel: t,
322
321
  rightPanel: n,
323
322
  "data-testid": i
324
323
  }) {
325
- return /* @__PURE__ */ u(Sn, { leftPanel: t, rightPanel: n, "data-testid": i, children: [
324
+ return /* @__PURE__ */ p(bn, { leftPanel: t, rightPanel: n, "data-testid": i, children: [
326
325
  /* @__PURE__ */ o("div", { className: T.topStripe }),
327
- /* @__PURE__ */ o("div", { className: T.titleBar, children: /* @__PURE__ */ u(y, { className: T.titleSlider, children: [
328
- t !== void 0 && !t.open && t.showOpenArrow && /* @__PURE__ */ u(
326
+ /* @__PURE__ */ o("div", { className: T.titleBar, children: /* @__PURE__ */ p(y, { className: T.titleSlider, children: [
327
+ t !== void 0 && !t.open && t.showOpenArrow && /* @__PURE__ */ p(
329
328
  K,
330
329
  {
331
330
  className: T.leftPanelButton,
@@ -341,7 +340,7 @@ function kn({
341
340
  }
342
341
  ),
343
342
  /* @__PURE__ */ o(F, { className: T.titleText, variant: "h6", noWrap: !0, children: e }),
344
- n !== void 0 && !n.open && n.showOpenArrow && /* @__PURE__ */ u(
343
+ n !== void 0 && !n.open && n.showOpenArrow && /* @__PURE__ */ p(
345
344
  K,
346
345
  {
347
346
  className: T.rightPanelButton,
@@ -359,7 +358,7 @@ function kn({
359
358
  ] }) })
360
359
  ] });
361
360
  }
362
- const xt = 400, Dn = Ae(we, {
361
+ const xt = 400, kn = Ae(we, {
363
362
  shouldForwardProp: (e) => (
364
363
  // Note we do want anchor to be forwarded to the Drawer component
365
364
  ![
@@ -389,7 +388,7 @@ const xt = 400, Dn = Ae(we, {
389
388
  marginLeft: `${r}px`
390
389
  }))
391
390
  })
392
- ), yn = Ae(y, {
391
+ ), Dn = Ae(y, {
393
392
  shouldForwardProp: (e) => !["anchor"].includes(e)
394
393
  })(({ theme: e, anchor: t }) => k(a({
395
394
  display: "flex",
@@ -420,18 +419,18 @@ function We({
420
419
  showCloseArrow: c = !0,
421
420
  debugOpacity: d = !1,
422
421
  headerBoxProps: l = {},
423
- onOpened: p,
422
+ onOpened: u,
424
423
  onClosed: v,
425
424
  "data-testid": C,
426
425
  navBarOpen: A = !1,
427
426
  navBarWidthOpen: g = 0,
428
427
  navBarWidthClosed: $ = 0
429
428
  }) {
430
- return /* @__PURE__ */ u(
431
- Dn,
429
+ return /* @__PURE__ */ p(
430
+ kn,
432
431
  {
433
432
  SlideProps: {
434
- onEntered: () => p == null ? void 0 : p(),
433
+ onEntered: () => u == null ? void 0 : u(),
435
434
  onExited: () => v == null ? void 0 : v()
436
435
  },
437
436
  variant: "persistent",
@@ -444,14 +443,14 @@ function We({
444
443
  navBarWidthOpen: g,
445
444
  navBarWidthClosed: $,
446
445
  children: [
447
- /* @__PURE__ */ o(yn, k(a({ anchor: t }, l), { children: t === "left" ? /* @__PURE__ */ u(E, { children: [
446
+ /* @__PURE__ */ o(Dn, k(a({ anchor: t }, l), { children: t === "left" ? /* @__PURE__ */ p(E, { children: [
448
447
  /* @__PURE__ */ o(F, { variant: "h6", color: "inherit", component: "div", children: r }),
449
- c && /* @__PURE__ */ u(K, { onClick: i, size: "large", "aria-label": "Close left side panel", children: [
448
+ c && /* @__PURE__ */ p(K, { onClick: i, size: "large", "aria-label": "Close left side panel", children: [
450
449
  /* @__PURE__ */ o(ct, { "data-testid": "arrowbackicon" }),
451
450
  " "
452
451
  ] })
453
- ] }) : /* @__PURE__ */ u(E, { children: [
454
- c && /* @__PURE__ */ u(K, { onClick: i, size: "large", "aria-label": "Close right side panel", children: [
452
+ ] }) : /* @__PURE__ */ p(E, { children: [
453
+ c && /* @__PURE__ */ p(K, { onClick: i, size: "large", "aria-label": "Close right side panel", children: [
455
454
  /* @__PURE__ */ o(lt, {}),
456
455
  " "
457
456
  ] }),
@@ -462,7 +461,7 @@ function We({
462
461
  }
463
462
  );
464
463
  }
465
- const $n = R(y, {
464
+ const yn = R(y, {
466
465
  shouldForwardProp: (e) => !["leftPanel", "rightPanel"].includes(e),
467
466
  name: "PanelAwareMargins"
468
467
  })(({ theme: e, leftPanel: t, rightPanel: n }) => {
@@ -485,7 +484,7 @@ const $n = R(y, {
485
484
  }),
486
485
  marginRight: `${(r = n == null ? void 0 : n.width) != null ? r : 0}px`
487
486
  });
488
- }), In = R(et, {
487
+ }), $n = R(et, {
489
488
  name: "PageContainer"
490
489
  })(({ theme: e }) => ({
491
490
  // Horizontal padding comes from the Container's gutter
@@ -505,7 +504,7 @@ const $n = R(y, {
505
504
  onClosed: void 0,
506
505
  dataTestId: void 0
507
506
  };
508
- function Lo({
507
+ function No({
509
508
  children: e,
510
509
  titleText: t = "",
511
510
  leftPanel: n,
@@ -515,7 +514,7 @@ function Lo({
515
514
  pageContainerProps: c,
516
515
  pageContentDataTestId: d,
517
516
  topBarDataTestId: l,
518
- navBarOpen: p,
517
+ navBarOpen: u,
519
518
  navBarWidthOpen: v,
520
519
  navBarWidthClosed: C
521
520
  }) {
@@ -549,18 +548,18 @@ function Lo({
549
548
  }, [M]), re(() => {
550
549
  ee !== Ce && (b(ee), P(ee));
551
550
  }, [ee]);
552
- const pe = h === void 0 ? A : h, ue = ce === void 0 ? $ : ce, Ie = (z) => {
551
+ const ue = h === void 0 ? A : h, pe = ce === void 0 ? $ : ce, Ie = (z) => {
553
552
  h === void 0 && (g(z), r && S && (z ? (b(!1), P($)) : b(O))), f && f(z);
554
553
  }, Oe = (z) => {
555
554
  ce === void 0 && (b(z), r && N && (z ? (g(!1), I(A)) : g(D))), $e && $e(z);
556
555
  };
557
- return /* @__PURE__ */ u(y, { children: [
556
+ return /* @__PURE__ */ p(y, { children: [
558
557
  N && /* @__PURE__ */ o(
559
558
  We,
560
559
  {
561
560
  "data-testid": Tt,
562
561
  anchor: "left",
563
- open: pe,
562
+ open: ue,
564
563
  onClose: () => Ie(!1),
565
564
  width: m,
566
565
  titleText: w,
@@ -568,7 +567,7 @@ function Lo({
568
567
  showCloseArrow: x === "both" || x === "close",
569
568
  onOpened: Z,
570
569
  onClosed: le,
571
- navBarOpen: p,
570
+ navBarOpen: u,
572
571
  navBarWidthOpen: v,
573
572
  navBarWidthClosed: C,
574
573
  children: H
@@ -579,7 +578,7 @@ function Lo({
579
578
  {
580
579
  "data-testid": Nt,
581
580
  anchor: "right",
582
- open: ue,
581
+ open: pe,
583
582
  onClose: () => Oe(!1),
584
583
  width: de,
585
584
  titleText: Bt,
@@ -587,27 +586,27 @@ function Lo({
587
586
  showCloseArrow: j === "both" || j === "close",
588
587
  onOpened: Ft,
589
588
  onClosed: Pt,
590
- navBarOpen: p,
589
+ navBarOpen: u,
591
590
  navBarWidthOpen: v,
592
591
  navBarWidthClosed: C,
593
592
  children: Et
594
593
  }
595
594
  ),
596
595
  /* @__PURE__ */ o(
597
- kn,
596
+ Sn,
598
597
  a(a({
599
598
  titleText: t,
600
599
  "data-testid": l
601
600
  }, N && W === "push" ? {
602
601
  leftPanel: {
603
- open: pe,
602
+ open: ue,
604
603
  width: m,
605
604
  onOpen: () => Ie(!0),
606
605
  showOpenArrow: x === "both" || x === "open"
607
606
  }
608
607
  } : {}), S && ye === "push" ? {
609
608
  rightPanel: {
610
- open: ue,
609
+ open: pe,
611
610
  width: de,
612
611
  onOpen: () => Oe(!0),
613
612
  showOpenArrow: j === "both" || j === "open"
@@ -615,19 +614,19 @@ function Lo({
615
614
  } : {})
616
615
  ),
617
616
  /* @__PURE__ */ o(
618
- $n,
617
+ yn,
619
618
  k(a(a({}, W === "push" ? {
620
619
  leftPanel: {
621
- open: pe,
620
+ open: ue,
622
621
  width: m
623
622
  }
624
623
  } : {}), ye === "push" ? {
625
624
  rightPanel: {
626
- open: ue,
625
+ open: pe,
627
626
  width: de
628
627
  }
629
628
  } : {}), {
630
- children: /* @__PURE__ */ o(In, k(a({ "data-testid": d }, c), { children: e }))
629
+ children: /* @__PURE__ */ o($n, k(a({ "data-testid": d }, c), { children: e }))
631
630
  })
632
631
  )
633
632
  ] });
@@ -635,8 +634,8 @@ function Lo({
635
634
  const vt = () => {
636
635
  const e = se();
637
636
  return Rt(e.breakpoints.down("sm"));
638
- }, On = 64, Tn = 72, Bn = 256, J = _(!0), wt = _(Bn), At = _(Tn), ve = _(""), En = _(void 0), bt = _(On), St = _(void 0);
639
- function Fn({ links: e }) {
637
+ }, In = 64, On = 72, Tn = 256, J = _(!0), wt = _(Tn), At = _(On), ve = _(""), Bn = _(void 0), bt = _(In), St = _(void 0);
638
+ function En({ links: e }) {
640
639
  return /* @__PURE__ */ o("div", { children: "LinksMenu not implemented yet" });
641
640
  }
642
641
  const oe = "Navbar", Y = {
@@ -647,7 +646,7 @@ const oe = "Navbar", Y = {
647
646
  // userInfoHolder: `${PREFIX}-userInfoHolder`,
648
647
  // settings: `${PREFIX}-settings`,
649
648
  // pieChartIcon: `${PREFIX}-pieChartIcon`,
650
- }, Pn = R(y, { name: "NavBar" })(({ theme: e }) => ({
649
+ }, Fn = R(y, { name: "NavBar" })(({ theme: e }) => ({
651
650
  [`&.${Y.root}`]: {
652
651
  display: "flex"
653
652
  },
@@ -669,7 +668,7 @@ const oe = "Navbar", Y = {
669
668
  })), X = (e, t, n) => e.transitions.create(t, {
670
669
  easing: e.transitions.easing.sharp,
671
670
  duration: n === "leaving" ? e.transitions.duration.leavingScreen : e.transitions.duration.enteringScreen
672
- }), Nn = (e) => {
671
+ }), Pn = (e) => {
673
672
  const t = se();
674
673
  return /* @__PURE__ */ o(
675
674
  Ht,
@@ -695,7 +694,7 @@ const oe = "Navbar", Y = {
695
694
  }, kt(e)), Ue = (e, t) => a({
696
695
  width: t,
697
696
  transition: X(e, "width", "leaving")
698
- }, kt(e)), Ln = R(we, {
697
+ }, kt(e)), Nn = R(we, {
699
698
  shouldForwardProp: (e) => !["widthOpen", "widthClosed", "isSmallScreen"].includes(e)
700
699
  })(({ theme: e, open: t, widthOpen: n, widthClosed: i, isSmallScreen: r }) => a(a({
701
700
  flexShrink: 0,
@@ -709,10 +708,19 @@ const oe = "Navbar", Y = {
709
708
  })), !t && k(a({}, Ue(e, r ? n : i)), {
710
709
  backgroundColor: "",
711
710
  "& .MuiDrawer-paper": Ue(e, r ? n : i)
712
- }))), Ge = ["#A62A21", "#7e3794", "#0B51C1", "#3A6024", "#A81563", "#B3003C"], Ve = (e) => e.split(/\s/).map((t) => t.substring(0, 1).toUpperCase()).filter((t) => !!t).slice(0, 2).join("").toUpperCase();
711
+ })));
712
+ function Ln(e) {
713
+ let t = 0;
714
+ for (let n = 0, i = e.length; n < i; n++) {
715
+ const r = e.charCodeAt(n);
716
+ t = (t << 5) - t + r, t |= 0;
717
+ }
718
+ return t;
719
+ }
720
+ const Ge = ["#A62A21", "#7e3794", "#0B51C1", "#3A6024", "#A81563", "#B3003C"], Ve = (e) => e.split(/\s/).map((t) => t.substring(0, 1).toUpperCase()).filter((t) => !!t).slice(0, 2).join("").toUpperCase();
713
721
  function _n({ user: e, domainCode: t, open: n, useNewAvatar: i = !1 }) {
714
722
  const r = se();
715
- return /* @__PURE__ */ u(
723
+ return /* @__PURE__ */ p(
716
724
  y,
717
725
  {
718
726
  sx: {
@@ -738,7 +746,7 @@ function _n({ user: e, domainCode: t, open: n, useNewAvatar: i = !1 }) {
738
746
  sx: {
739
747
  width: "100%",
740
748
  height: "100%",
741
- bgcolor: Ge[Math.abs(on(e == null ? void 0 : e.name)) % Ge.length]
749
+ bgcolor: Ge[Math.abs(Ln(e == null ? void 0 : e.name)) % Ge.length]
742
750
  },
743
751
  children: Ve(e == null ? void 0 : e.name)
744
752
  }
@@ -753,7 +761,7 @@ function _n({ user: e, domainCode: t, open: n, useNewAvatar: i = !1 }) {
753
761
  transition: n ? X(r, ["width", "height"], "entering") : X(r, ["width", "height"], "leaving"),
754
762
  aspectRatio: 1
755
763
  },
756
- children: e != null && e.name ? /* @__PURE__ */ o(E, { children: /* @__PURE__ */ u(Me, { src: e == null ? void 0 : e.picture, name: e == null ? void 0 : e.name, round: !0, size: n ? "80" : "32", children: [
764
+ children: e != null && e.name ? /* @__PURE__ */ o(E, { children: /* @__PURE__ */ p(Me, { src: e == null ? void 0 : e.picture, name: e == null ? void 0 : e.name, round: !0, size: n ? "80" : "32", children: [
757
765
  " ",
758
766
  Ve(e == null ? void 0 : e.name),
759
767
  " ",
@@ -761,7 +769,7 @@ function _n({ user: e, domainCode: t, open: n, useNewAvatar: i = !1 }) {
761
769
  ] }) }) : /* @__PURE__ */ o(Me, {})
762
770
  }
763
771
  ),
764
- /* @__PURE__ */ o(Nn, { sx: { width: "100%" }, in: n, children: /* @__PURE__ */ o(Wt, { in: n, children: /* @__PURE__ */ u(y, { width: "100%", display: "flex", flexDirection: "column", alignItems: "center", children: [
772
+ /* @__PURE__ */ o(Pn, { sx: { width: "100%" }, in: n, children: /* @__PURE__ */ o(Wt, { in: n, children: /* @__PURE__ */ p(y, { width: "100%", display: "flex", flexDirection: "column", alignItems: "center", children: [
765
773
  e != null && e.name ? /* @__PURE__ */ o(F, { children: e == null ? void 0 : e.name }) : /* @__PURE__ */ o(Ne, { animation: !1, width: "50%" }),
766
774
  t ? /* @__PURE__ */ o(F, { children: t.toUpperCase() }) : /* @__PURE__ */ o(Ne, { animation: !1, width: "25%" })
767
775
  ] }) }) })
@@ -779,11 +787,11 @@ function Mn({
779
787
  bottom: c,
780
788
  user: d,
781
789
  domainCode: l,
782
- useNewAvatar: p = !1
790
+ useNewAvatar: u = !1
783
791
  }) {
784
792
  const v = vt(), C = dt(J);
785
- return /* @__PURE__ */ o(Pn, { className: Y.root, "data-testid": i, children: /* @__PURE__ */ u(
786
- Ln,
793
+ return /* @__PURE__ */ o(Fn, { className: Y.root, "data-testid": i, children: /* @__PURE__ */ p(
794
+ Nn,
787
795
  {
788
796
  open: e,
789
797
  widthOpen: n,
@@ -799,14 +807,14 @@ function Mn({
799
807
  isSmallScreen: v,
800
808
  children: [
801
809
  !v && /* @__PURE__ */ o(zt, {}),
802
- r && /* @__PURE__ */ u(y, { flexGrow: "0", children: [
810
+ r && /* @__PURE__ */ p(y, { flexGrow: "0", children: [
803
811
  r,
804
812
  /* @__PURE__ */ o(Le, { variant: "middle", sx: { marginY: "0.5rem" } })
805
813
  ] }),
806
- /* @__PURE__ */ o(y, { flexGrow: "1", children: Array.isArray(s) ? /* @__PURE__ */ o(Fn, { links: s }) : s }),
807
- /* @__PURE__ */ u(y, { flexGrow: "0", children: [
814
+ /* @__PURE__ */ o(y, { flexGrow: "1", children: Array.isArray(s) ? /* @__PURE__ */ o(En, { links: s }) : s }),
815
+ /* @__PURE__ */ p(y, { flexGrow: "0", children: [
808
816
  /* @__PURE__ */ o(Le, { variant: "middle", sx: { marginY: "0.5rem" } }),
809
- /* @__PURE__ */ o(_n, { user: d, domainCode: l, open: e, useNewAvatar: p }),
817
+ /* @__PURE__ */ o(_n, { user: d, domainCode: l, open: e, useNewAvatar: u }),
810
818
  c && /* @__PURE__ */ o(E, { children: c })
811
819
  ] })
812
820
  ]
@@ -850,7 +858,7 @@ function zn({
850
858
  middle: i
851
859
  }) {
852
860
  const r = dt(J), s = () => r((l) => !l), c = se(), d = vt();
853
- return /* @__PURE__ */ o("header", { "data-testid": n, children: /* @__PURE__ */ u(
861
+ return /* @__PURE__ */ o("header", { "data-testid": n, children: /* @__PURE__ */ p(
854
862
  je,
855
863
  {
856
864
  square: !0,
@@ -884,7 +892,7 @@ function zn({
884
892
  }
885
893
  ) });
886
894
  }
887
- function _o({
895
+ function Lo({
888
896
  children: e,
889
897
  initialTitleText: t,
890
898
  initialNavBarOpen: n,
@@ -894,15 +902,15 @@ function _o({
894
902
  navBarDataTestId: c,
895
903
  navBarMiddle: d,
896
904
  navBarBottom: l,
897
- user: p,
905
+ user: u,
898
906
  domainCode: v
899
907
  }) {
900
- ut([
908
+ pt([
901
909
  [J, n != null ? n : !0],
902
910
  [ve, t != null ? t : ""]
903
911
  ]);
904
- const C = _e(J), [A] = V(wt), [g] = V(At), $ = _e(ve), [b] = V(bt), [D] = V(En), [I] = V(St);
905
- return /* @__PURE__ */ u(y, { children: [
912
+ const C = _e(J), [A] = V(wt), [g] = V(At), $ = _e(ve), [b] = V(bt), [D] = V(Bn), [I] = V(St);
913
+ return /* @__PURE__ */ p(y, { children: [
906
914
  /* @__PURE__ */ o(Ut, {}),
907
915
  /* @__PURE__ */ o(
908
916
  zn,
@@ -913,7 +921,7 @@ function _o({
913
921
  middle: D
914
922
  }
915
923
  ),
916
- /* @__PURE__ */ u(y, { sx: { display: "flex" }, children: [
924
+ /* @__PURE__ */ p(y, { sx: { display: "flex" }, children: [
917
925
  /* @__PURE__ */ o(
918
926
  Mn,
919
927
  {
@@ -921,7 +929,7 @@ function _o({
921
929
  top: I,
922
930
  middle: d,
923
931
  bottom: l,
924
- user: p,
932
+ user: u,
925
933
  domainCode: v,
926
934
  widthOpen: A,
927
935
  widthClosed: g,
@@ -952,17 +960,17 @@ const Dt = ({
952
960
  onClose: c,
953
961
  sx: d,
954
962
  "data-testid": l,
955
- disableCloseOnBackdropOrEscape: p = !1,
963
+ disableCloseOnBackdropOrEscape: u = !1,
956
964
  isLoading: v = !1
957
965
  }) => {
958
966
  var g, $;
959
967
  const [C, A] = B(!1);
960
- return /* @__PURE__ */ u(
968
+ return /* @__PURE__ */ p(
961
969
  tt,
962
970
  {
963
971
  open: e,
964
972
  onClose: (b, D) => L(void 0, null, function* () {
965
- p && (D === "backdropClick" || D === "escapeKeyDown") || C || (s != null && s.onClick ? yield s.onClick() : c());
973
+ u && (D === "backdropClick" || D === "escapeKeyDown") || C || (s != null && s.onClick ? yield s.onClick() : c());
966
974
  }),
967
975
  fullWidth: !0,
968
976
  maxWidth: i != null ? i : "xs",
@@ -972,7 +980,7 @@ const Dt = ({
972
980
  v && /* @__PURE__ */ o(nt, { sx: { height: "4px", marginBottom: "-4px" } }),
973
981
  /* @__PURE__ */ o(ot, { children: t }),
974
982
  /* @__PURE__ */ o(it, { sx: { "& > :last-child": { marginBottom: 0 } }, children: n }),
975
- /* @__PURE__ */ u(rt, { children: [
983
+ /* @__PURE__ */ p(rt, { children: [
976
984
  /* @__PURE__ */ o(
977
985
  ae,
978
986
  {
@@ -1006,13 +1014,13 @@ const Dt = ({
1006
1014
  lookup: n,
1007
1015
  label: i,
1008
1016
  inputValue: r
1009
- }) => sn({
1017
+ }) => an({
1010
1018
  queryFn: () => e && r.length < e ? t != null ? t : [] : t ? t.filter(
1011
1019
  (s) => s.label.toLowerCase().includes(r.toLowerCase())
1012
1020
  ) : n(r),
1013
1021
  queryKey: ["autocomplete", i, r]
1014
1022
  });
1015
- function Mo({
1023
+ function _o({
1016
1024
  lookup: e = () => L(this, null, function* () {
1017
1025
  }),
1018
1026
  enableHighlighting: t = !0,
@@ -1023,7 +1031,7 @@ function Mo({
1023
1031
  "data-testid": c,
1024
1032
  sx: d,
1025
1033
  boxSx: l,
1026
- textFieldColor: p,
1034
+ textFieldColor: u,
1027
1035
  textFieldVariant: v = "filled",
1028
1036
  loadingText: C = "Loading...",
1029
1037
  noOptionsText: A = "No options",
@@ -1044,7 +1052,7 @@ function Mo({
1044
1052
  minLength: i,
1045
1053
  preLoadedOptions: D
1046
1054
  }), W = P.length >= i;
1047
- return /* @__PURE__ */ u("div", { "data-testid": c, children: [
1055
+ return /* @__PURE__ */ p("div", { "data-testid": c, children: [
1048
1056
  /* @__PURE__ */ o(
1049
1057
  be,
1050
1058
  {
@@ -1074,7 +1082,7 @@ function Mo({
1074
1082
  error: $,
1075
1083
  helperText: b,
1076
1084
  InputProps: k(a({}, h.InputProps), {
1077
- endAdornment: /* @__PURE__ */ u(E, { children: [
1085
+ endAdornment: /* @__PURE__ */ p(E, { children: [
1078
1086
  H ? /* @__PURE__ */ o(ke, { color: "inherit", size: 20 }) : null,
1079
1087
  h.InputProps.endAdornment
1080
1088
  ] })
@@ -1083,17 +1091,17 @@ function Mo({
1083
1091
  onKeyDown: (f) => {
1084
1092
  (f.key === "Backspace" || f.key === "Delete") && f.stopPropagation();
1085
1093
  },
1086
- color: p
1094
+ color: u
1087
1095
  })
1088
1096
  ),
1089
1097
  renderTags: () => null,
1090
1098
  isOptionEqualToValue: (h, f) => h.id === f.id,
1091
1099
  renderOption: (h, f, m) => {
1092
1100
  if (t) {
1093
- const x = rn(f.label, m.inputValue, {
1101
+ const x = on(f.label, m.inputValue, {
1094
1102
  insideWords: !0,
1095
1103
  findAllOccurrences: !0
1096
- }), M = an(f.label, x);
1104
+ }), M = rn(f.label, x);
1097
1105
  return /* @__PURE__ */ xe(
1098
1106
  "li",
1099
1107
  k(a({}, h), {
@@ -1162,7 +1170,7 @@ function Mo({
1162
1170
  )) })
1163
1171
  ] });
1164
1172
  }
1165
- const Ro = ({
1173
+ const Mo = ({
1166
1174
  lookup: e = () => L(void 0, null, function* () {
1167
1175
  }),
1168
1176
  onChange: t,
@@ -1173,7 +1181,7 @@ const Ro = ({
1173
1181
  textFieldVariant: c = "filled",
1174
1182
  "data-testid": d,
1175
1183
  noOptionsText: l = "No options",
1176
- minLength: p = 3,
1184
+ minLength: u = 3,
1177
1185
  disablePortal: v = !1,
1178
1186
  preLoadedOptions: C,
1179
1187
  helperText: A = "",
@@ -1185,9 +1193,9 @@ const Ro = ({
1185
1193
  inputValue: D,
1186
1194
  label: n,
1187
1195
  lookup: e,
1188
- minLength: p != null ? p : 0,
1196
+ minLength: u != null ? u : 0,
1189
1197
  preLoadedOptions: C
1190
- }), N = D.length >= p;
1198
+ }), N = D.length >= u;
1191
1199
  return /* @__PURE__ */ o("div", { "data-testid": d, children: /* @__PURE__ */ o(qt, { direction: "row", spacing: 1, children: /* @__PURE__ */ o(
1192
1200
  be,
1193
1201
  {
@@ -1235,7 +1243,7 @@ const Ro = ({
1235
1243
  return -1;
1236
1244
  try {
1237
1245
  const n = e.split(".")[1].replace(/-/g, "+").replace(/_/g, "/"), i = decodeURIComponent(
1238
- dn.from(n, "base64").toString("utf8").split("").map(function(s) {
1246
+ cn.from(n, "base64").toString("utf8").split("").map(function(s) {
1239
1247
  return "%" + ("00" + s.charCodeAt(0).toString(16)).slice(-2);
1240
1248
  }).join("")
1241
1249
  ), r = JSON.parse(i);
@@ -1243,7 +1251,7 @@ const Ro = ({
1243
1251
  } catch (t) {
1244
1252
  return -1;
1245
1253
  }
1246
- }, Ho = ({
1254
+ }, Ro = ({
1247
1255
  open: e = !1,
1248
1256
  closeHandler: t,
1249
1257
  setAuth0ExpiryTime: n
@@ -1301,7 +1309,7 @@ function Xn(e) {
1301
1309
  const t = e.error, n = (i = e == null ? void 0 : e.error_description) != null ? i : "";
1302
1310
  return t === "access_denied" && n.startsWith("User did not authorize the request");
1303
1311
  }
1304
- function Wo({
1312
+ function Ho({
1305
1313
  children: e,
1306
1314
  appName: t = "the app"
1307
1315
  }) {
@@ -1317,13 +1325,13 @@ function Wo({
1317
1325
  s(d);
1318
1326
  }, [i, n, r, s]), r && Gn(r)) {
1319
1327
  let d = "Auth error", l = "An unknown Auth0 error occurred.";
1320
- return qn(r) ? (d = "Unauthorised", l = `You are not authorised to access ${t}.`) : Xn(r) ? (d = "App not authorised", l = `You have not authorised ${t} to access your user profile. This is necessary to use ${t}.`) : Vn(r) && (d = "Unauthorised", l = "Authorisation with auth0 failed for an unknown reason."), /* @__PURE__ */ u(tt, { open: !0, children: [
1328
+ return qn(r) ? (d = "Unauthorised", l = `You are not authorised to access ${t}.`) : Xn(r) ? (d = "App not authorised", l = `You have not authorised ${t} to access your user profile. This is necessary to use ${t}.`) : Vn(r) && (d = "Unauthorised", l = "Authorisation with auth0 failed for an unknown reason."), /* @__PURE__ */ p(tt, { open: !0, children: [
1321
1329
  /* @__PURE__ */ o(ot, { children: d }),
1322
1330
  /* @__PURE__ */ o(it, { children: /* @__PURE__ */ o(F, { children: l }) }),
1323
1331
  /* @__PURE__ */ o(rt, { children: /* @__PURE__ */ o(ae, { onClick: () => c({ logoutParams: { returnTo: window.location.origin } }), children: "Logout" }) })
1324
1332
  ] });
1325
1333
  }
1326
- return n ? /* @__PURE__ */ o(E, { children: e }) : /* @__PURE__ */ o(pn, { variant: "rectangular", animation: "pulse", height: "100vh", width: "100vw" });
1334
+ return n ? /* @__PURE__ */ o(E, { children: e }) : /* @__PURE__ */ o(dn, { variant: "rectangular", animation: "pulse", height: "100vh", width: "100vw" });
1327
1335
  }
1328
1336
  const Qn = {
1329
1337
  autoHideDuration: 6e3,
@@ -1359,26 +1367,26 @@ function to(s) {
1359
1367
  "children"
1360
1368
  ]);
1361
1369
  var f;
1362
- const [{ open: d }, l] = B({ open: !1 }), p = ge([]), v = ge(Date.now()), C = ge(0), A = ie((m) => {
1370
+ const [{ open: d }, l] = B({ open: !1 }), u = ge([]), v = ge(Date.now()), C = ge(0), A = ie((m) => {
1363
1371
  l({ open: m });
1364
1372
  }, []), g = ie((m = {}) => {
1365
- C.current += 1, p.current.length >= Xe && Date.now() - v.current >= Qe && (v.current = Date.now(), console.error(
1373
+ C.current += 1, u.current.length >= Xe && Date.now() - v.current >= Qe && (v.current = Date.now(), console.error(
1366
1374
  `SaladBarProvider: MAX_QUEUE_LENGTH (${Xe}) hit ${C.current} times in last ${Qe}ms)`
1367
1375
  ), C.current = 0);
1368
1376
  const x = a(k(a({}, qe), {
1369
1377
  key: Jn()
1370
1378
  }), m);
1371
- return p.current.push(x), p.current.length === 1 && l({ open: !0 }), x.key;
1379
+ return u.current.push(x), u.current.length === 1 && l({ open: !0 }), x.key;
1372
1380
  }, []), $ = (m = "", x = {}) => g(a({ message: m, severity: "success" }, x)), b = (m = "", x = {}) => g(a({ message: m, severity: "info" }, x)), D = (m = "", x = {}) => g(a({ message: m, severity: "warning" }, x)), I = (m = "", x = {}) => g(a({ message: m, severity: "error" }, x)), O = (m) => {
1373
- const x = p.current.findIndex((M) => M.key === m);
1381
+ const x = u.current.findIndex((M) => M.key === m);
1374
1382
  if (x !== -1)
1375
- return x === 0 ? (l({ open: !1 }), p.current[0]) : p.current.splice(x, 1);
1383
+ return x === 0 ? (l({ open: !1 }), u.current[0]) : u.current.splice(x, 1);
1376
1384
  }, P = (m, x) => {
1377
1385
  n(m, x) && l({ open: !1 });
1378
1386
  }, N = () => {
1379
1387
  }, S = () => {
1380
- p.current.shift(), p.current.length > 0 && l({ open: !0 });
1381
- }, w = (f = p.current[0]) != null ? f : a({}, qe), H = {};
1388
+ u.current.shift(), u.current.length > 0 && l({ open: !0 });
1389
+ }, w = (f = u.current[0]) != null ? f : a({}, qe), H = {};
1382
1390
  "autoHideDuration" in w && (H.autoHideDuration = w.autoHideDuration);
1383
1391
  const W = a(a({}, Qn), r), h = a(a({
1384
1392
  open: d,
@@ -1390,7 +1398,7 @@ function to(s) {
1390
1398
  enqueueErrorNotification: I,
1391
1399
  removeNotification: O
1392
1400
  }, e), t);
1393
- return /* @__PURE__ */ u($t.Provider, { value: h, children: [
1401
+ return /* @__PURE__ */ p($t.Provider, { value: h, children: [
1394
1402
  i,
1395
1403
  /* @__PURE__ */ o(
1396
1404
  Xt,
@@ -1402,7 +1410,7 @@ function to(s) {
1402
1410
  onExit: N
1403
1411
  },
1404
1412
  sx: { zIndex: Kn },
1405
- children: /* @__PURE__ */ u("div", { children: [
1413
+ children: /* @__PURE__ */ p("div", { children: [
1406
1414
  /* @__PURE__ */ o(
1407
1415
  Qt,
1408
1416
  {
@@ -1426,12 +1434,12 @@ function no() {
1426
1434
  throw new De("Error: Tried to useSaladBar outside of a <SaladBarProvider>");
1427
1435
  return e;
1428
1436
  }
1429
- const zo = Q(
1437
+ const Wo = Q(
1430
1438
  (e = { autoHideDuration: 1 }, t = {}, n = {}) => ({ children: i }) => /* @__PURE__ */ o(to, k(a({}, e), { overrideState: t, overrideActions: n, children: i }))
1431
- ), oo = nn(), Uo = ({
1439
+ ), oo = nn(), zo = ({
1432
1440
  children: e,
1433
1441
  store: t
1434
- }) => /* @__PURE__ */ o(pt, { store: t != null ? t : oo, children: e }), It = "domainCode";
1442
+ }) => /* @__PURE__ */ o(ut, { store: t != null ? t : oo, children: e }), It = "domainCode";
1435
1443
  var Ke;
1436
1444
  const Ye = _(
1437
1445
  JSON.parse((Ke = localStorage.getItem(It)) != null ? Ke : '{"domainCode": ""}').domainCode
@@ -1455,7 +1463,7 @@ const Ye = _(
1455
1463
  }, ro = (e) => {
1456
1464
  var t;
1457
1465
  return e === null ? "N/A" : (t = io[e]) != null ? t : "";
1458
- }, Go = ({
1466
+ }, Uo = ({
1459
1467
  isLoading: e,
1460
1468
  isOpen: t,
1461
1469
  onClose: n,
@@ -1463,13 +1471,13 @@ const Ye = _(
1463
1471
  applicationName: r,
1464
1472
  handleLogout: s
1465
1473
  }) => {
1466
- const [c, d] = V(Ot), [l, p] = B(c), { enqueueSuccessNotification: v } = no(), C = i.length === 0, A = !!c && !i.includes(c) && !i.includes(l), g = !c || C || A, $ = () => L(void 0, null, function* () {
1474
+ const [c, d] = V(Ot), [l, u] = B(c), { enqueueSuccessNotification: v } = no(), C = i.length === 0, A = !!c && !i.includes(c) && !i.includes(l), g = !c || C || A, $ = () => L(void 0, null, function* () {
1467
1475
  l ? (d(l), v(`Set domain to ${l}`), n()) : d("");
1468
1476
  }), b = () => L(void 0, null, function* () {
1469
- c && !C && !A ? (p(c), n()) : g && s();
1477
+ c && !C && !A ? (u(c), n()) : g && s();
1470
1478
  });
1471
1479
  let D;
1472
- return C ? D = "Unable to retrieve your active organisations. Try logging in again." : A && (D = "You no longer have any roles in your chosen organisation. Please choose another."), /* @__PURE__ */ u(
1480
+ return C ? D = "Unable to retrieve your active organisations. Try logging in again." : A && (D = "You no longer have any roles in your chosen organisation. Please choose another."), /* @__PURE__ */ p(
1473
1481
  Dt,
1474
1482
  {
1475
1483
  isOpen: t,
@@ -1487,7 +1495,7 @@ const Ye = _(
1487
1495
  onClose: g ? () => {
1488
1496
  } : n,
1489
1497
  children: [
1490
- /* @__PURE__ */ u(F, { marginBottom: 2, children: [
1498
+ /* @__PURE__ */ p(F, { marginBottom: 2, children: [
1491
1499
  "Select the default organisation that you want to use with the ",
1492
1500
  r,
1493
1501
  "."
@@ -1499,7 +1507,7 @@ const Ye = _(
1499
1507
  multiple: !1,
1500
1508
  disableClearable: !1,
1501
1509
  value: l !== "" ? l : null,
1502
- onChange: (I, O) => p(O != null ? O : ""),
1510
+ onChange: (I, O) => u(O != null ? O : ""),
1503
1511
  getOptionLabel: ro,
1504
1512
  options: [...i],
1505
1513
  renderInput: (I) => /* @__PURE__ */ o(
@@ -1508,7 +1516,7 @@ const Ye = _(
1508
1516
  variant: "filled",
1509
1517
  label: "Select organisation",
1510
1518
  InputProps: k(a({}, I.InputProps), {
1511
- endAdornment: /* @__PURE__ */ u(E, { children: [
1519
+ endAdornment: /* @__PURE__ */ p(E, { children: [
1512
1520
  e ? /* @__PURE__ */ o(ke, { color: "inherit", size: 20, sx: { marginTop: "-20px" } }) : null,
1513
1521
  I.InputProps.endAdornment
1514
1522
  ] })
@@ -1521,7 +1529,7 @@ const Ye = _(
1521
1529
  ]
1522
1530
  }
1523
1531
  );
1524
- }, Vo = at({
1532
+ }, Go = at({
1525
1533
  palette: {
1526
1534
  primary: {
1527
1535
  dark: "#00A651",
@@ -1572,7 +1580,7 @@ const Ye = _(
1572
1580
  navBar: {
1573
1581
  backgroundColor: "#E8E8E8"
1574
1582
  }
1575
- }), qo = at({
1583
+ }), Vo = at({
1576
1584
  palette: {
1577
1585
  primary: {
1578
1586
  main: "#007236",
@@ -1674,10 +1682,10 @@ const Ye = _(
1674
1682
  titleText: ve,
1675
1683
  topBarHeight: bt,
1676
1684
  navBarTop: St
1677
- }, Xo = Q(() => ({ children: e }) => /* @__PURE__ */ o(pt, { children: e })), so = ({
1685
+ }, qo = Q(() => ({ children: e }) => /* @__PURE__ */ o(ut, { children: e })), so = ({
1678
1686
  initialValues: e,
1679
1687
  children: t
1680
- }) => (ut(e), /* @__PURE__ */ o(E, { children: t })), Qo = Q(
1688
+ }) => (pt(e), /* @__PURE__ */ o(E, { children: t })), Xo = Q(
1681
1689
  (e) => ({ children: t }) => /* @__PURE__ */ o(
1682
1690
  so,
1683
1691
  {
@@ -1690,37 +1698,37 @@ const Ye = _(
1690
1698
  children: t
1691
1699
  }
1692
1700
  )
1693
- ), Yo = Q(() => ({ children: e }) => {
1694
- const t = new ln();
1695
- return /* @__PURE__ */ o(cn, { client: t, children: e });
1701
+ ), Qo = Q(() => ({ children: e }) => {
1702
+ const t = new sn();
1703
+ return /* @__PURE__ */ o(ln, { client: t, children: e });
1696
1704
  });
1697
1705
  export {
1698
1706
  Dt as AgDialog,
1699
- _o as AppLayout,
1700
- Uo as AtomProvider,
1701
- Wo as AuthGuard,
1707
+ Lo as AppLayout,
1708
+ zo as AtomProvider,
1709
+ Ho as AuthGuard,
1702
1710
  $t as Context,
1703
1711
  De as ContextError,
1704
- Go as DomainCodeDialog,
1705
- To as ExampleComponent,
1706
- Mo as FetchAutocomplete,
1712
+ Uo as DomainCodeDialog,
1713
+ Oo as ExampleComponent,
1714
+ _o as FetchAutocomplete,
1707
1715
  so as HydrateAtoms,
1708
1716
  ft as NAVBAR_WIDTH_CLOSED,
1709
1717
  gt as NAVBAR_WIDTH_OPENED,
1710
- No as NavBar,
1711
- Fo as NavBarDarkStyledList,
1712
- Po as NavBarLightStyledList,
1713
- xn as NavBarProvider,
1714
- Lo as PageLayout,
1718
+ Po as NavBar,
1719
+ Eo as NavBarDarkStyledList,
1720
+ Fo as NavBarLightStyledList,
1721
+ Cn as NavBarProvider,
1722
+ No as PageLayout,
1715
1723
  to as SaladBarProvider,
1716
- Ho as SessionExpiryDialog,
1717
- Ro as SingleAutocomplete,
1724
+ Ro as SessionExpiryDialog,
1725
+ Mo as SingleAutocomplete,
1718
1726
  oo as atomStore,
1719
- wn as buildNavBarState,
1727
+ vn as buildNavBarState,
1720
1728
  Ot as domainCodeAtom,
1721
- Vo as fed21Theme,
1729
+ Go as fed21Theme,
1722
1730
  Un as getAuth0Expiry,
1723
- qo as internalAgSystemsTheme,
1731
+ Vo as internalAgSystemsTheme,
1724
1732
  q as navBarClasses,
1725
1733
  J as navBarOpenAtom,
1726
1734
  St as navBarTopAtom,
@@ -1728,15 +1736,15 @@ export {
1728
1736
  wt as navBarWidthOpenAtom,
1729
1737
  ve as titleTextAtom,
1730
1738
  bt as topBarHeightAtom,
1731
- En as topBarMiddleAtom,
1739
+ Bn as topBarMiddleAtom,
1732
1740
  yt as useAutocompleteOptions,
1733
- vn as useNavBar,
1741
+ xn as useNavBar,
1734
1742
  no as useSaladBar,
1735
- Xo as withAtomProvider,
1736
- Eo as withBrowserRouter,
1737
- Bo as withNavBarProvider,
1738
- Qo as withOverrideDefaults,
1739
- Yo as withQueryClient,
1740
- zo as withSaladBarProvider
1743
+ qo as withAtomProvider,
1744
+ Bo as withBrowserRouter,
1745
+ To as withNavBarProvider,
1746
+ Xo as withOverrideDefaults,
1747
+ Qo as withQueryClient,
1748
+ Wo as withSaladBarProvider
1741
1749
  };
1742
1750
  //# sourceMappingURL=index.js.map