@propriety/court-calendar 1.0.28 → 1.0.29
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.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import uu from "@mui/icons-material/Add";
|
|
|
7
7
|
import sh from "@mui/icons-material/Print";
|
|
8
8
|
import Je from "@mui/material/Box";
|
|
9
9
|
import Un from "@mui/material/Button";
|
|
10
|
-
import
|
|
10
|
+
import Se from "@mui/material/Typography";
|
|
11
11
|
import Jn from "@mui/material/FormControl";
|
|
12
12
|
import wr from "@mui/material/ToggleButtonGroup";
|
|
13
13
|
import Ut from "@mui/material/ToggleButton";
|
|
@@ -10046,7 +10046,7 @@ function Vw({
|
|
|
10046
10046
|
] }),
|
|
10047
10047
|
/* @__PURE__ */ Z(Je, { display: "flex", alignItems: "center", gap: 1, children: [
|
|
10048
10048
|
/* @__PURE__ */ w(
|
|
10049
|
-
|
|
10049
|
+
Se,
|
|
10050
10050
|
{
|
|
10051
10051
|
variant: "h6",
|
|
10052
10052
|
component: "div",
|
|
@@ -10348,7 +10348,7 @@ const rE = (t) => ({
|
|
|
10348
10348
|
}, m = nl(i), S = tl(m), x = await a.getDimensions(f), D = m === "y", A = D ? "top" : "left", M = D ? "bottom" : "right", U = D ? "clientHeight" : "clientWidth", $ = s.reference[S] + s.reference[m] - b[m] - s.floating[S], Q = b[m] - s.reference[m], Y = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(f));
|
|
10349
10349
|
let ie = Y ? Y[U] : 0;
|
|
10350
10350
|
(!ie || !await (a.isElement == null ? void 0 : a.isElement(Y))) && (ie = c.floating[U] || s.floating[S]);
|
|
10351
|
-
const ve = $ / 2 - Q / 2, J = ie / 2 - x[S] / 2 - 1, ye = Zr(v[A], J), oe = Zr(v[M], J), Re = ye,
|
|
10351
|
+
const ve = $ / 2 - Q / 2, J = ie / 2 - x[S] / 2 - 1, ye = Zr(v[A], J), oe = Zr(v[M], J), Re = ye, Oe = ie - x[S] - oe, ce = ie / 2 - x[S] / 2 + ve, ee = fa(Re, ce, Oe), K = !u.arrow && Mi(i) != null && ce !== ee && s.reference[S] / 2 - (ce < Re ? ye : oe) - x[S] / 2 < 0, ae = K ? ce < Re ? ce - Re : ce - Oe : 0;
|
|
10352
10352
|
return {
|
|
10353
10353
|
[m]: b[m] + ae,
|
|
10354
10354
|
data: {
|
|
@@ -10415,8 +10415,8 @@ const rE = (t) => ({
|
|
|
10415
10415
|
if (!K)
|
|
10416
10416
|
switch (m) {
|
|
10417
10417
|
case "bestFit": {
|
|
10418
|
-
var
|
|
10419
|
-
const ae = (
|
|
10418
|
+
var Oe;
|
|
10419
|
+
const ae = (Oe = ye.filter((q) => {
|
|
10420
10420
|
if (Y) {
|
|
10421
10421
|
const pe = rr(q.placement);
|
|
10422
10422
|
return pe === M || // Create a bias to the `y` side axis due to horizontal
|
|
@@ -10424,7 +10424,7 @@ const rE = (t) => ({
|
|
|
10424
10424
|
pe === "y";
|
|
10425
10425
|
}
|
|
10426
10426
|
return !0;
|
|
10427
|
-
}).map((q) => [q.placement, q.overflows.filter((pe) => pe > 0).reduce((pe, me) => pe + me, 0)]).sort((q, pe) => q[1] - pe[1])[0]) == null ? void 0 :
|
|
10427
|
+
}).map((q) => [q.placement, q.overflows.filter((pe) => pe > 0).reduce((pe, me) => pe + me, 0)]).sort((q, pe) => q[1] - pe[1])[0]) == null ? void 0 : Oe[0];
|
|
10428
10428
|
ae && (K = ae);
|
|
10429
10429
|
break;
|
|
10430
10430
|
}
|
|
@@ -11156,9 +11156,9 @@ function xf(t = qE) {
|
|
|
11156
11156
|
return cu(YE).getTooltipData(t);
|
|
11157
11157
|
}
|
|
11158
11158
|
var Ur = { tooltip: "core-styles-module_tooltip__3vRRp", fixed: "core-styles-module_fixed__pcSol", arrow: "core-styles-module_arrow__cvMwQ", noArrow: "core-styles-module_noArrow__xock6", clickable: "core-styles-module_clickable__ZuTTB", show: "core-styles-module_show__Nt9eE", closing: "core-styles-module_closing__sGnxF" }, qo = { tooltip: "styles-module_tooltip__mnnfp", arrow: "styles-module_arrow__K0L3T", dark: "styles-module_dark__xNqje", light: "styles-module_light__Z6W-X", success: "styles-module_success__A2AKt", warning: "styles-module_warning__SCK0X", error: "styles-module_error__JvumD", info: "styles-module_info__BWdHW" };
|
|
11159
|
-
const KE = ({ forwardRef: t, id: e, className: n, classNameArrow: r, variant: i = "dark", anchorId: s, anchorSelect: a, place: c = "top", offset: u = 10, events: f = ["hover"], openOnClick: h = !1, positionStrategy: v = "absolute", middlewares: b, wrapper: m, delayShow: S = 0, delayHide: x = 0, float: D = !1, hidden: A = !1, noArrow: M = !1, clickable: U = !1, closeOnEsc: $ = !1, closeOnScroll: Q = !1, closeOnResize: Y = !1, openEvents: ie, closeEvents: ve, globalCloseEvents: J, imperativeModeOnly: ye, style: oe, position: Re, afterShow:
|
|
11159
|
+
const KE = ({ forwardRef: t, id: e, className: n, classNameArrow: r, variant: i = "dark", anchorId: s, anchorSelect: a, place: c = "top", offset: u = 10, events: f = ["hover"], openOnClick: h = !1, positionStrategy: v = "absolute", middlewares: b, wrapper: m, delayShow: S = 0, delayHide: x = 0, float: D = !1, hidden: A = !1, noArrow: M = !1, clickable: U = !1, closeOnEsc: $ = !1, closeOnScroll: Q = !1, closeOnResize: Y = !1, openEvents: ie, closeEvents: ve, globalCloseEvents: J, imperativeModeOnly: ye, style: oe, position: Re, afterShow: Oe, afterHide: ce, disableTooltip: ee, content: K, contentWrapperRef: ae, isOpen: q, defaultIsOpen: pe = !1, setIsOpen: me, previousActiveAnchor: He, activeAnchor: Ce, setActiveAnchor: qe, border: tt, opacity: ut, arrowColor: yt, arrowSize: bt = 8, role: Ot = "tooltip" }) => {
|
|
11160
11160
|
var fe;
|
|
11161
|
-
const Ge = Tt(null), rt = Tt(null), Ie = Tt(null), Et = Tt(null), En = Tt(null), [_t, Nt] = be({ tooltipStyles: {}, tooltipArrowStyles: {}, place: c }), [St, cn] = be(!1), [en, Pt] = be(!1), [We, un] = be(null), tn = Tt(!1), H = Tt(null), { anchorRefs: Te, setActiveAnchor:
|
|
11161
|
+
const Ge = Tt(null), rt = Tt(null), Ie = Tt(null), Et = Tt(null), En = Tt(null), [_t, Nt] = be({ tooltipStyles: {}, tooltipArrowStyles: {}, place: c }), [St, cn] = be(!1), [en, Pt] = be(!1), [We, un] = be(null), tn = Tt(!1), H = Tt(null), { anchorRefs: Te, setActiveAnchor: Ee } = xf(e), Me = Tt(!1), [Ne, ot] = be([]), it = Tt(!1), mt = h || f.includes("click"), xt = mt || ie?.click || ie?.dblclick || ie?.mousedown, dt = ie ? { ...ie } : { mouseover: !0, focus: !0, mouseenter: !1, click: !1, dblclick: !1, mousedown: !1 };
|
|
11162
11162
|
!ie && mt && Object.assign(dt, { mouseenter: !1, focus: !1, mouseover: !1, click: !0 });
|
|
11163
11163
|
const Ke = ve ? { ...ve } : { mouseout: !0, blur: !0, mouseleave: !1, click: !1, dblclick: !1, mouseup: !1 };
|
|
11164
11164
|
!ve && mt && Object.assign(Ke, { mouseleave: !1, blur: !1, mouseout: !1 });
|
|
@@ -11174,12 +11174,12 @@ const KE = ({ forwardRef: t, id: e, className: n, classNameArrow: r, variant: i
|
|
|
11174
11174
|
we((() => {
|
|
11175
11175
|
if (e) {
|
|
11176
11176
|
if (St) {
|
|
11177
|
-
he(
|
|
11177
|
+
he(He);
|
|
11178
11178
|
const Ae = G(Ce), Qe = [.../* @__PURE__ */ new Set([...Ae, e])].filter(Boolean).join(" ");
|
|
11179
11179
|
Ce?.setAttribute("aria-describedby", Qe);
|
|
11180
11180
|
} else he(Ce);
|
|
11181
11181
|
return () => {
|
|
11182
|
-
he(Ce), he(
|
|
11182
|
+
he(Ce), he(He);
|
|
11183
11183
|
};
|
|
11184
11184
|
}
|
|
11185
11185
|
function G(Ae) {
|
|
@@ -11190,7 +11190,7 @@ const KE = ({ forwardRef: t, id: e, className: n, classNameArrow: r, variant: i
|
|
|
11190
11190
|
const Qe = G(Ae).filter(((gt) => gt !== e));
|
|
11191
11191
|
Qe.length ? Ae?.setAttribute("aria-describedby", Qe.join(" ")) : Ae?.removeAttribute("aria-describedby");
|
|
11192
11192
|
}
|
|
11193
|
-
}), [Ce, St, e,
|
|
11193
|
+
}), [Ce, St, e, He]), we((() => {
|
|
11194
11194
|
if (q === void 0) return () => null;
|
|
11195
11195
|
q && Pt(!0);
|
|
11196
11196
|
const G = setTimeout((() => {
|
|
@@ -11200,7 +11200,7 @@ const KE = ({ forwardRef: t, id: e, className: n, classNameArrow: r, variant: i
|
|
|
11200
11200
|
clearTimeout(G);
|
|
11201
11201
|
};
|
|
11202
11202
|
}), [q]), we((() => {
|
|
11203
|
-
if (St !== tn.current) if (an(En), tn.current = St, St)
|
|
11203
|
+
if (St !== tn.current) if (an(En), tn.current = St, St) Oe?.();
|
|
11204
11204
|
else {
|
|
11205
11205
|
const G = ((he) => {
|
|
11206
11206
|
const Ae = he.match(/^([\d.]+)(ms|s)$/);
|
|
@@ -11221,14 +11221,14 @@ const KE = ({ forwardRef: t, id: e, className: n, classNameArrow: r, variant: i
|
|
|
11221
11221
|
}), G);
|
|
11222
11222
|
}, fn = (G = x) => {
|
|
11223
11223
|
an(Et), Et.current = setTimeout((() => {
|
|
11224
|
-
|
|
11224
|
+
Me.current || de(!1);
|
|
11225
11225
|
}), G);
|
|
11226
11226
|
}, se = (G) => {
|
|
11227
11227
|
var he;
|
|
11228
11228
|
if (!G) return;
|
|
11229
11229
|
const Ae = (he = G.currentTarget) !== null && he !== void 0 ? he : G.target;
|
|
11230
|
-
if (!Ae?.isConnected) return qe(null), void
|
|
11231
|
-
S ? Yt() : de(!0), qe(Ae),
|
|
11230
|
+
if (!Ae?.isConnected) return qe(null), void Ee({ current: null });
|
|
11231
|
+
S ? Yt() : de(!0), qe(Ae), Ee({ current: Ae }), an(Et);
|
|
11232
11232
|
}, Sn = () => {
|
|
11233
11233
|
U ? fn(x || 100) : x ? fn() : de(!1), an(Ie);
|
|
11234
11234
|
}, Hn = ({ x: G, y: he }) => {
|
|
@@ -11245,12 +11245,12 @@ const KE = ({ forwardRef: t, id: e, className: n, classNameArrow: r, variant: i
|
|
|
11245
11245
|
var he;
|
|
11246
11246
|
if (!St) return;
|
|
11247
11247
|
const Ae = G.target;
|
|
11248
|
-
Ae.isConnected && (!((he = Ge.current) === null || he === void 0) && he.contains(Ae) || [document.querySelector(`[id='${s}']`), ...
|
|
11248
|
+
Ae.isConnected && (!((he = Ge.current) === null || he === void 0) && he.contains(Ae) || [document.querySelector(`[id='${s}']`), ...Ne].some(((Qe) => Qe?.contains(Ae))) || (de(!1), an(Ie)));
|
|
11249
11249
|
}, Yn = eu(se, 50), vt = eu(Sn, 50), kt = (G) => {
|
|
11250
11250
|
vt.cancel(), Yn(G);
|
|
11251
11251
|
}, De = () => {
|
|
11252
11252
|
Yn.cancel(), vt();
|
|
11253
|
-
},
|
|
11253
|
+
}, je = kn((() => {
|
|
11254
11254
|
var G, he;
|
|
11255
11255
|
const Ae = (G = We?.position) !== null && G !== void 0 ? G : Re;
|
|
11256
11256
|
Ae ? Hn(Ae) : D ? H.current && Hn(H.current) : Ce?.isConnected && Xc({ place: (he = We?.place) !== null && he !== void 0 ? he : c, offset: u, elementReference: Ce, tooltipReference: Ge.current, tooltipArrowReference: rt.current, strategy: v, middlewares: b, border: tt, arrowSize: bt }).then(((Qe) => {
|
|
@@ -11260,7 +11260,7 @@ const KE = ({ forwardRef: t, id: e, className: n, classNameArrow: r, variant: i
|
|
|
11260
11260
|
we((() => {
|
|
11261
11261
|
var G, he;
|
|
11262
11262
|
const Ae = new Set(Te);
|
|
11263
|
-
|
|
11263
|
+
Ne.forEach(((Fe) => {
|
|
11264
11264
|
ee?.(Fe) || Ae.add({ current: Fe });
|
|
11265
11265
|
}));
|
|
11266
11266
|
const Qe = document.querySelector(`[id='${s}']`);
|
|
@@ -11270,7 +11270,7 @@ const KE = ({ forwardRef: t, id: e, className: n, classNameArrow: r, variant: i
|
|
|
11270
11270
|
}, Wt = nu(Ce), rn = nu(Ge.current);
|
|
11271
11271
|
ze.scroll && (window.addEventListener("scroll", gt), Wt?.addEventListener("scroll", gt), rn?.addEventListener("scroll", gt));
|
|
11272
11272
|
let ft = null;
|
|
11273
|
-
ze.resize ? window.addEventListener("resize", gt) : Ce && Ge.current && (ft = NE(Ce, Ge.current,
|
|
11273
|
+
ze.resize ? window.addEventListener("resize", gt) : Ce && Ge.current && (ft = NE(Ce, Ge.current, je, { ancestorResize: !0, elementResize: !0, layoutShift: !0 }));
|
|
11274
11274
|
const At = (Fe) => {
|
|
11275
11275
|
Fe.key === "Escape" && de(!1);
|
|
11276
11276
|
};
|
|
@@ -11286,9 +11286,9 @@ const KE = ({ forwardRef: t, id: e, className: n, classNameArrow: r, variant: i
|
|
|
11286
11286
|
Ct && (ti.includes(Fe) ? Ze.push({ event: Fe, listener: De }) : Cn.includes(Fe) && Ze.push({ event: Fe, listener: An }));
|
|
11287
11287
|
})), D && Ze.push({ event: "pointermove", listener: Dn });
|
|
11288
11288
|
const ni = () => {
|
|
11289
|
-
|
|
11289
|
+
Me.current = !0;
|
|
11290
11290
|
}, Or = () => {
|
|
11291
|
-
|
|
11291
|
+
Me.current = !1, Sn();
|
|
11292
11292
|
}, ht = U && (Ke.mouseout || Ke.mouseleave);
|
|
11293
11293
|
return ht && ((G = Ge.current) === null || G === void 0 || G.addEventListener("mouseover", ni), (he = Ge.current) === null || he === void 0 || he.addEventListener("mouseout", Or)), Ze.forEach((({ event: Fe, listener: Ct }) => {
|
|
11294
11294
|
Ae.forEach(((Nr) => {
|
|
@@ -11304,7 +11304,7 @@ const KE = ({ forwardRef: t, id: e, className: n, classNameArrow: r, variant: i
|
|
|
11304
11304
|
}));
|
|
11305
11305
|
}));
|
|
11306
11306
|
};
|
|
11307
|
-
}), [Ce,
|
|
11307
|
+
}), [Ce, je, en, Te, Ne, ie, ve, J, mt, S, x]), we((() => {
|
|
11308
11308
|
var G, he;
|
|
11309
11309
|
let Ae = (he = (G = We?.anchorSelect) !== null && G !== void 0 ? G : a) !== null && he !== void 0 ? he : "";
|
|
11310
11310
|
!Ae && e && (Ae = `[data-tooltip-id='${e.replace(/'/g, "\\'")}']`);
|
|
@@ -11335,20 +11335,20 @@ const KE = ({ forwardRef: t, id: e, className: n, classNameArrow: r, variant: i
|
|
|
11335
11335
|
Qe.disconnect();
|
|
11336
11336
|
};
|
|
11337
11337
|
}), [e, a, We?.anchorSelect, Ce]), we((() => {
|
|
11338
|
-
|
|
11339
|
-
}), [
|
|
11338
|
+
je();
|
|
11339
|
+
}), [je]), we((() => {
|
|
11340
11340
|
if (!ae?.current) return () => null;
|
|
11341
11341
|
const G = new ResizeObserver((() => {
|
|
11342
|
-
setTimeout((() =>
|
|
11342
|
+
setTimeout((() => je()));
|
|
11343
11343
|
}));
|
|
11344
11344
|
return G.observe(ae.current), () => {
|
|
11345
11345
|
G.disconnect();
|
|
11346
11346
|
};
|
|
11347
11347
|
}), [K, ae?.current]), we((() => {
|
|
11348
11348
|
var G;
|
|
11349
|
-
const he = document.querySelector(`[id='${s}']`), Ae = [...
|
|
11350
|
-
Ce && Ae.includes(Ce) || qe((G =
|
|
11351
|
-
}), [s,
|
|
11349
|
+
const he = document.querySelector(`[id='${s}']`), Ae = [...Ne, he];
|
|
11350
|
+
Ce && Ae.includes(Ce) || qe((G = Ne[0]) !== null && G !== void 0 ? G : he);
|
|
11351
|
+
}), [s, Ne, Ce]), we((() => (pe && de(!0), () => {
|
|
11352
11352
|
an(Ie), an(Et);
|
|
11353
11353
|
})), []), we((() => {
|
|
11354
11354
|
var G;
|
|
@@ -11375,32 +11375,32 @@ const KE = ({ forwardRef: t, id: e, className: n, classNameArrow: r, variant: i
|
|
|
11375
11375
|
}, activeAnchor: Ce, place: _t.place, isOpen: !!(en && !A && It && nn) }))), en && !A && It ? Mn.createElement(m, { id: e, role: Ot, className: ga("react-tooltip", Ur.tooltip, qo.tooltip, qo[i], n, `react-tooltip__place-${_t.place}`, Ur[nn ? "show" : "closing"], nn ? "react-tooltip__show" : "react-tooltip__closing", v === "fixed" && Ur.fixed, U && Ur.clickable), onTransitionEnd: (G) => {
|
|
11376
11376
|
an(En), St || G.propertyName !== "opacity" || (Pt(!1), un(null), ce?.());
|
|
11377
11377
|
}, style: { ...oe, ..._t.tooltipStyles, opacity: ut !== void 0 && nn ? ut : void 0 }, ref: Ge }, It, Mn.createElement(m, { className: ga("react-tooltip-arrow", Ur.arrow, qo.arrow, r, M && Ur.noArrow), style: { ..._t.tooltipArrowStyles, background: yt ? `linear-gradient(to right bottom, transparent 50%, ${yt} 50%)` : void 0, "--rt-arrow-size": `${bt}px` }, ref: rt })) : null;
|
|
11378
|
-
}, QE = ({ content: t }) => Mn.createElement("span", { dangerouslySetInnerHTML: { __html: t } }), ZE = Mn.forwardRef((({ id: t, anchorId: e, anchorSelect: n, content: r, html: i, render: s, className: a, classNameArrow: c, variant: u = "dark", place: f = "top", offset: h = 10, wrapper: v = "div", children: b = null, events: m = ["hover"], openOnClick: S = !1, positionStrategy: x = "absolute", middlewares: D, delayShow: A = 0, delayHide: M = 0, float: U = !1, hidden: $ = !1, noArrow: Q = !1, clickable: Y = !1, closeOnEsc: ie = !1, closeOnScroll: ve = !1, closeOnResize: J = !1, openEvents: ye, closeEvents: oe, globalCloseEvents: Re, imperativeModeOnly:
|
|
11379
|
-
const [fe, Ge] = be(r), [rt, Ie] = be(i), [Et, En] = be(f), [_t, Nt] = be(u), [St, cn] = be(h), [en, Pt] = be(A), [We, un] = be(M), [tn, H] = be(U), [Te,
|
|
11380
|
-
var
|
|
11381
|
-
return De.startsWith("data-tooltip-") && (kt[De.replace(/^data-tooltip-/, "")] = (
|
|
11378
|
+
}, QE = ({ content: t }) => Mn.createElement("span", { dangerouslySetInnerHTML: { __html: t } }), ZE = Mn.forwardRef((({ id: t, anchorId: e, anchorSelect: n, content: r, html: i, render: s, className: a, classNameArrow: c, variant: u = "dark", place: f = "top", offset: h = 10, wrapper: v = "div", children: b = null, events: m = ["hover"], openOnClick: S = !1, positionStrategy: x = "absolute", middlewares: D, delayShow: A = 0, delayHide: M = 0, float: U = !1, hidden: $ = !1, noArrow: Q = !1, clickable: Y = !1, closeOnEsc: ie = !1, closeOnScroll: ve = !1, closeOnResize: J = !1, openEvents: ye, closeEvents: oe, globalCloseEvents: Re, imperativeModeOnly: Oe = !1, style: ce, position: ee, isOpen: K, defaultIsOpen: ae = !1, disableStyleInjection: q = !1, border: pe, opacity: me, arrowColor: He, arrowSize: Ce, setIsOpen: qe, afterShow: tt, afterHide: ut, disableTooltip: yt, role: bt = "tooltip" }, Ot) => {
|
|
11379
|
+
const [fe, Ge] = be(r), [rt, Ie] = be(i), [Et, En] = be(f), [_t, Nt] = be(u), [St, cn] = be(h), [en, Pt] = be(A), [We, un] = be(M), [tn, H] = be(U), [Te, Ee] = be($), [Me, Ne] = be(v), [ot, it] = be(m), [mt, xt] = be(x), [dt, Ke] = be(null), [ze, de] = be(null), dn = Tt(null), Yt = Tt(q), { anchorRefs: fn, activeAnchor: se } = xf(t), Sn = (vt) => vt?.getAttributeNames().reduce(((kt, De) => {
|
|
11380
|
+
var je;
|
|
11381
|
+
return De.startsWith("data-tooltip-") && (kt[De.replace(/^data-tooltip-/, "")] = (je = vt?.getAttribute(De)) !== null && je !== void 0 ? je : null), kt;
|
|
11382
11382
|
}), {}), Hn = (vt) => {
|
|
11383
11383
|
const kt = { place: (De) => {
|
|
11384
|
-
var
|
|
11385
|
-
En((
|
|
11384
|
+
var je;
|
|
11385
|
+
En((je = De) !== null && je !== void 0 ? je : f);
|
|
11386
11386
|
}, content: (De) => {
|
|
11387
11387
|
Ge(De ?? r);
|
|
11388
11388
|
}, html: (De) => {
|
|
11389
11389
|
Ie(De ?? i);
|
|
11390
11390
|
}, variant: (De) => {
|
|
11391
|
-
var
|
|
11392
|
-
Nt((
|
|
11391
|
+
var je;
|
|
11392
|
+
Nt((je = De) !== null && je !== void 0 ? je : u);
|
|
11393
11393
|
}, offset: (De) => {
|
|
11394
11394
|
cn(De === null ? h : Number(De));
|
|
11395
11395
|
}, wrapper: (De) => {
|
|
11396
|
-
var
|
|
11397
|
-
|
|
11396
|
+
var je;
|
|
11397
|
+
Ne((je = De) !== null && je !== void 0 ? je : v);
|
|
11398
11398
|
}, events: (De) => {
|
|
11399
|
-
const
|
|
11400
|
-
it(
|
|
11399
|
+
const je = De?.split(" ");
|
|
11400
|
+
it(je ?? m);
|
|
11401
11401
|
}, "position-strategy": (De) => {
|
|
11402
|
-
var
|
|
11403
|
-
xt((
|
|
11402
|
+
var je;
|
|
11403
|
+
xt((je = De) !== null && je !== void 0 ? je : x);
|
|
11404
11404
|
}, "delay-show": (De) => {
|
|
11405
11405
|
Pt(De === null ? A : Number(De));
|
|
11406
11406
|
}, "delay-hide": (De) => {
|
|
@@ -11408,13 +11408,13 @@ const KE = ({ forwardRef: t, id: e, className: n, classNameArrow: r, variant: i
|
|
|
11408
11408
|
}, float: (De) => {
|
|
11409
11409
|
H(De === null ? U : De === "true");
|
|
11410
11410
|
}, hidden: (De) => {
|
|
11411
|
-
|
|
11411
|
+
Ee(De === null ? $ : De === "true");
|
|
11412
11412
|
}, "class-name": (De) => {
|
|
11413
11413
|
Ke(De);
|
|
11414
11414
|
} };
|
|
11415
|
-
Object.values(kt).forEach(((De) => De(null))), Object.entries(vt).forEach((([De,
|
|
11415
|
+
Object.values(kt).forEach(((De) => De(null))), Object.entries(vt).forEach((([De, je]) => {
|
|
11416
11416
|
var It;
|
|
11417
|
-
(It = kt[De]) === null || It === void 0 || It.call(kt,
|
|
11417
|
+
(It = kt[De]) === null || It === void 0 || It.call(kt, je);
|
|
11418
11418
|
}));
|
|
11419
11419
|
};
|
|
11420
11420
|
we((() => {
|
|
@@ -11434,7 +11434,7 @@ const KE = ({ forwardRef: t, id: e, className: n, classNameArrow: r, variant: i
|
|
|
11434
11434
|
}), [M]), we((() => {
|
|
11435
11435
|
H(U);
|
|
11436
11436
|
}), [U]), we((() => {
|
|
11437
|
-
|
|
11437
|
+
Ee($);
|
|
11438
11438
|
}), [$]), we((() => {
|
|
11439
11439
|
xt(x);
|
|
11440
11440
|
}), [x]), we((() => {
|
|
@@ -11452,9 +11452,9 @@ const KE = ({ forwardRef: t, id: e, className: n, classNameArrow: r, variant: i
|
|
|
11452
11452
|
} catch {
|
|
11453
11453
|
console.warn(`[react-tooltip] "${De}" is not a valid CSS selector`);
|
|
11454
11454
|
}
|
|
11455
|
-
const
|
|
11456
|
-
if (
|
|
11457
|
-
const It = (vt = ze ??
|
|
11455
|
+
const je = document.querySelector(`[id='${e}']`);
|
|
11456
|
+
if (je && kt.add({ current: je }), !kt.size) return () => null;
|
|
11457
|
+
const It = (vt = ze ?? je) !== null && vt !== void 0 ? vt : se.current, nn = new MutationObserver(((he) => {
|
|
11458
11458
|
he.forEach(((Ae) => {
|
|
11459
11459
|
var Qe;
|
|
11460
11460
|
if (!It || Ae.type !== "attributes" || !(!((Qe = Ae.attributeName) === null || Qe === void 0) && Qe.startsWith("data-tooltip-"))) return;
|
|
@@ -11479,7 +11479,7 @@ const KE = ({ forwardRef: t, id: e, className: n, classNameArrow: r, variant: i
|
|
|
11479
11479
|
Dn = vt ? Mn.createElement("div", { ref: Gn, className: "react-tooltip-content-wrapper" }, vt) : null;
|
|
11480
11480
|
} else fe && (Dn = fe);
|
|
11481
11481
|
rt && (Dn = Mn.createElement(QE, { content: rt }));
|
|
11482
|
-
const Yn = { forwardRef: Ot, id: t, anchorId: e, anchorSelect: n, className: ga(a, dt), classNameArrow: c, content: Dn, contentWrapperRef: Gn, place: Et, variant: _t, offset: St, wrapper:
|
|
11482
|
+
const Yn = { forwardRef: Ot, id: t, anchorId: e, anchorSelect: n, className: ga(a, dt), classNameArrow: c, content: Dn, contentWrapperRef: Gn, place: Et, variant: _t, offset: St, wrapper: Me, events: ot, openOnClick: S, positionStrategy: mt, middlewares: D, delayShow: en, delayHide: We, float: tn, hidden: Te, noArrow: Q, clickable: Y, closeOnEsc: ie, closeOnScroll: ve, closeOnResize: J, openEvents: ye, closeEvents: oe, globalCloseEvents: Re, imperativeModeOnly: Oe, style: ce, position: ee, isOpen: K, defaultIsOpen: ae, border: pe, opacity: me, arrowColor: He, arrowSize: Ce, setIsOpen: qe, afterShow: tt, afterHide: ut, disableTooltip: yt, activeAnchor: ze, previousActiveAnchor: dn.current, setActiveAnchor: (vt) => {
|
|
11483
11483
|
de(((kt) => (vt?.isSameNode(kt) || (dn.current = kt), vt)));
|
|
11484
11484
|
}, role: bt };
|
|
11485
11485
|
return Mn.createElement(KE, { ...Yn });
|
|
@@ -11657,19 +11657,19 @@ const rS = wa(function({
|
|
|
11657
11657
|
if (!m || !m.Evidence)
|
|
11658
11658
|
return /* @__PURE__ */ w(lt, { title: "No evidence", children: /* @__PURE__ */ Z(Je, { display: "flex", alignItems: "center", gap: 0.5, width: "100%", mt: 1.7, children: [
|
|
11659
11659
|
/* @__PURE__ */ w(wi, { sx: { color: "#f44336", fontSize: 20 } }),
|
|
11660
|
-
/* @__PURE__ */ w(
|
|
11660
|
+
/* @__PURE__ */ w(Se, { variant: "body2", children: "None" })
|
|
11661
11661
|
] }) });
|
|
11662
11662
|
const S = (m.uploaded?.Evidence || m.Evidence).replace(/[[\]"]+/g, "");
|
|
11663
11663
|
if (m.uploaded && m.uploaded.Evidence) {
|
|
11664
11664
|
const D = m.uploaded.UploadDate ? new Date(m.uploaded.UploadDate).toLocaleDateString() : "unknown date";
|
|
11665
11665
|
return /* @__PURE__ */ w(lt, { title: `Uploaded on ${D}`, children: /* @__PURE__ */ Z(Je, { display: "flex", alignItems: "center", gap: 0.5, width: "100%", mt: 1.7, children: [
|
|
11666
11666
|
/* @__PURE__ */ w(Ei, { sx: { color: "#4caf50", fontSize: 20 } }),
|
|
11667
|
-
/* @__PURE__ */ w(
|
|
11667
|
+
/* @__PURE__ */ w(Se, { variant: "body2", children: S })
|
|
11668
11668
|
] }) });
|
|
11669
11669
|
}
|
|
11670
11670
|
return /* @__PURE__ */ w(lt, { title: "Created, not yet uploaded", children: /* @__PURE__ */ Z(Je, { display: "flex", alignItems: "center", gap: 0.5, width: "100%", mt: 1.7, children: [
|
|
11671
11671
|
/* @__PURE__ */ w(Eh, { sx: { color: "#ff9800", fontSize: 20 } }),
|
|
11672
|
-
/* @__PURE__ */ w(
|
|
11672
|
+
/* @__PURE__ */ w(Se, { variant: "body2", children: S })
|
|
11673
11673
|
] }) });
|
|
11674
11674
|
}
|
|
11675
11675
|
},
|
|
@@ -11729,9 +11729,9 @@ const rS = wa(function({
|
|
|
11729
11729
|
return we(() => {
|
|
11730
11730
|
v(!n && e.length > 0);
|
|
11731
11731
|
}, [n, e.length]), /* @__PURE__ */ Z(Je, { justifyContent: "center", width: "100%", mt: 2, children: [
|
|
11732
|
-
e.length === 0 && !n && /* @__PURE__ */ w(
|
|
11732
|
+
e.length === 0 && !n && /* @__PURE__ */ w(Se, { children: "No cases associated with this date." }),
|
|
11733
11733
|
n && /* @__PURE__ */ Z(Je, { display: "flex", justifyContent: "center", alignItems: "center", children: [
|
|
11734
|
-
/* @__PURE__ */ w(
|
|
11734
|
+
/* @__PURE__ */ w(Se, { children: "Loading cases..." }),
|
|
11735
11735
|
/* @__PURE__ */ w(gi, { size: 40, sx: { color: "var(--text)" } })
|
|
11736
11736
|
] }),
|
|
11737
11737
|
/* @__PURE__ */ w(
|
|
@@ -11746,7 +11746,7 @@ const rS = wa(function({
|
|
|
11746
11746
|
children: !n && e.length > 0 && /* @__PURE__ */ Z(Tr, { children: [
|
|
11747
11747
|
/* @__PURE__ */ Z(Ye, { children: [
|
|
11748
11748
|
/* @__PURE__ */ w(Je, { mb: 2, children: /* @__PURE__ */ w(XE, { filterCtx: r, setFilterCtx: i }) }),
|
|
11749
|
-
/* @__PURE__ */ w(Je, { mx: 1, mb: 1, justifyContent: "center", alignItems: "center", display: "flex", children: /* @__PURE__ */ Z(
|
|
11749
|
+
/* @__PURE__ */ w(Je, { mx: 1, mb: 1, justifyContent: "center", alignItems: "center", display: "flex", children: /* @__PURE__ */ Z(Se, { variant: "body1", fontStyle: "", children: [
|
|
11750
11750
|
u.length,
|
|
11751
11751
|
" case",
|
|
11752
11752
|
u.length !== 1 ? "s" : "",
|
|
@@ -11786,8 +11786,8 @@ function pn({
|
|
|
11786
11786
|
}) {
|
|
11787
11787
|
return /* @__PURE__ */ Z(Tr, { children: [
|
|
11788
11788
|
/* @__PURE__ */ Z(Ye, { direction: "column", spacing: 0.5, mb: n !== void 0 ? 3 : 0, children: [
|
|
11789
|
-
/* @__PURE__ */ w(
|
|
11790
|
-
/* @__PURE__ */ w(
|
|
11789
|
+
/* @__PURE__ */ w(Se, { variant: "h6", children: n }),
|
|
11790
|
+
/* @__PURE__ */ w(Se, { variant: "body2", sx: { opacity: 0.85 }, children: r })
|
|
11791
11791
|
] }),
|
|
11792
11792
|
/* @__PURE__ */ w(
|
|
11793
11793
|
Je,
|
|
@@ -11817,8 +11817,8 @@ function Go({ label: t, info: e, color: n }) {
|
|
|
11817
11817
|
borderRadius: 2,
|
|
11818
11818
|
width: "100%",
|
|
11819
11819
|
children: [
|
|
11820
|
-
/* @__PURE__ */ w(
|
|
11821
|
-
/* @__PURE__ */ w(
|
|
11820
|
+
/* @__PURE__ */ w(Se, { variant: "h5", color: `${n} !important`, children: e }),
|
|
11821
|
+
/* @__PURE__ */ w(Se, { variant: "subtitle1", children: t })
|
|
11822
11822
|
]
|
|
11823
11823
|
}
|
|
11824
11824
|
);
|
|
@@ -11852,7 +11852,7 @@ function sS({ fileKey: t }) {
|
|
|
11852
11852
|
onClick: n,
|
|
11853
11853
|
children: [
|
|
11854
11854
|
e ? /* @__PURE__ */ w(gu, { sx: { color: "#66bb6a" } }) : /* @__PURE__ */ w(Sh, { sx: { color: "text.secondary" } }),
|
|
11855
|
-
/* @__PURE__ */ w(
|
|
11855
|
+
/* @__PURE__ */ w(Se, { variant: "subtitle1", children: e ? "View Notice File" : "No Notice File" })
|
|
11856
11856
|
]
|
|
11857
11857
|
}
|
|
11858
11858
|
);
|
|
@@ -11882,7 +11882,7 @@ function oS({
|
|
|
11882
11882
|
/* @__PURE__ */ Z(Ye, { alignItems: "center", spacing: 0.5, sx: { flex: "0 0 auto" }, children: [
|
|
11883
11883
|
r ? /* @__PURE__ */ w(gi, { size: 28, thickness: 4, sx: { color: "#9e9e9e" } }) : c.active ? /* @__PURE__ */ w(Ei, { sx: { color: c.color, fontSize: 28 } }) : f ? /* @__PURE__ */ w(Dh, { sx: { color: "#9e9e9e", fontSize: 28 } }) : /* @__PURE__ */ w(wi, { sx: { color: "#f44336", fontSize: 28 } }),
|
|
11884
11884
|
/* @__PURE__ */ Z(
|
|
11885
|
-
|
|
11885
|
+
Se,
|
|
11886
11886
|
{
|
|
11887
11887
|
variant: "subtitle2",
|
|
11888
11888
|
fontWeight: c.active ? 700 : 400,
|
|
@@ -11948,8 +11948,8 @@ function lS() {
|
|
|
11948
11948
|
var me = ee.split("-");
|
|
11949
11949
|
if (!q && me.length > 1) return ce(me[0]);
|
|
11950
11950
|
} else {
|
|
11951
|
-
var
|
|
11952
|
-
Y[
|
|
11951
|
+
var He = ee.name;
|
|
11952
|
+
Y[He] = ee, q = He;
|
|
11953
11953
|
}
|
|
11954
11954
|
return !ae && q && (Q = q), q || !ae && Q;
|
|
11955
11955
|
}, ye = function(ce, ee) {
|
|
@@ -11974,8 +11974,8 @@ function lS() {
|
|
|
11974
11974
|
if (typeof q == "string" && !/Z$/i.test(q)) {
|
|
11975
11975
|
var me = q.match(D);
|
|
11976
11976
|
if (me) {
|
|
11977
|
-
var
|
|
11978
|
-
return pe ? new Date(Date.UTC(me[1],
|
|
11977
|
+
var He = me[2] - 1 || 0, Ce = (me[7] || "0").substring(0, 3);
|
|
11978
|
+
return pe ? new Date(Date.UTC(me[1], He, me[3] || 1, me[4] || 0, me[5] || 0, me[6] || 0, Ce)) : new Date(me[1], He, me[3] || 1, me[4] || 0, me[5] || 0, me[6] || 0, Ce);
|
|
11979
11979
|
}
|
|
11980
11980
|
}
|
|
11981
11981
|
return new Date(q);
|
|
@@ -12001,7 +12001,7 @@ function lS() {
|
|
|
12001
12001
|
}, ee.valueOf = function() {
|
|
12002
12002
|
return this.$d.getTime();
|
|
12003
12003
|
}, ee.startOf = function(K, ae) {
|
|
12004
|
-
var q = this, pe = !!oe.u(ae) || ae, me = oe.p(K),
|
|
12004
|
+
var q = this, pe = !!oe.u(ae) || ae, me = oe.p(K), He = function(fe, Ge) {
|
|
12005
12005
|
var rt = oe.w(q.$u ? Date.UTC(q.$y, Ge, fe) : new Date(q.$y, Ge, fe), q);
|
|
12006
12006
|
return pe ? rt : rt.endOf(f);
|
|
12007
12007
|
}, Ce = function(fe, Ge) {
|
|
@@ -12009,12 +12009,12 @@ function lS() {
|
|
|
12009
12009
|
}, qe = this.$W, tt = this.$M, ut = this.$D, yt = "set" + (this.$u ? "UTC" : "");
|
|
12010
12010
|
switch (me) {
|
|
12011
12011
|
case m:
|
|
12012
|
-
return pe ?
|
|
12012
|
+
return pe ? He(1, 0) : He(31, 11);
|
|
12013
12013
|
case v:
|
|
12014
|
-
return pe ?
|
|
12014
|
+
return pe ? He(1, tt) : He(0, tt + 1);
|
|
12015
12015
|
case h:
|
|
12016
12016
|
var bt = this.$locale().weekStart || 0, Ot = (qe < bt ? qe + 7 : qe) - bt;
|
|
12017
|
-
return
|
|
12017
|
+
return He(pe ? ut - Ot : ut + (6 - Ot), tt);
|
|
12018
12018
|
case f:
|
|
12019
12019
|
case S:
|
|
12020
12020
|
return Ce(yt + "Hours", 0);
|
|
@@ -12030,11 +12030,11 @@ function lS() {
|
|
|
12030
12030
|
}, ee.endOf = function(K) {
|
|
12031
12031
|
return this.startOf(K, !1);
|
|
12032
12032
|
}, ee.$set = function(K, ae) {
|
|
12033
|
-
var q, pe = oe.p(K), me = "set" + (this.$u ? "UTC" : ""),
|
|
12033
|
+
var q, pe = oe.p(K), me = "set" + (this.$u ? "UTC" : ""), He = (q = {}, q[f] = me + "Date", q[S] = me + "Date", q[v] = me + "Month", q[m] = me + "FullYear", q[u] = me + "Hours", q[c] = me + "Minutes", q[a] = me + "Seconds", q[s] = me + "Milliseconds", q)[pe], Ce = pe === f ? this.$D + (ae - this.$W) : ae;
|
|
12034
12034
|
if (pe === v || pe === m) {
|
|
12035
12035
|
var qe = this.clone().set(S, 1);
|
|
12036
|
-
qe.$d[
|
|
12037
|
-
} else
|
|
12036
|
+
qe.$d[He](Ce), qe.init(), this.$d = qe.set(S, Math.min(this.$D, qe.daysInMonth())).$d;
|
|
12037
|
+
} else He && this.$d[He](Ce);
|
|
12038
12038
|
return this.init(), this;
|
|
12039
12039
|
}, ee.set = function(K, ae) {
|
|
12040
12040
|
return this.clone().$set(K, ae);
|
|
@@ -12043,14 +12043,14 @@ function lS() {
|
|
|
12043
12043
|
}, ee.add = function(K, ae) {
|
|
12044
12044
|
var q, pe = this;
|
|
12045
12045
|
K = Number(K);
|
|
12046
|
-
var me = oe.p(ae),
|
|
12046
|
+
var me = oe.p(ae), He = function(tt) {
|
|
12047
12047
|
var ut = ye(pe);
|
|
12048
12048
|
return oe.w(ut.date(ut.date() + Math.round(tt * K)), pe);
|
|
12049
12049
|
};
|
|
12050
12050
|
if (me === v) return this.set(v, this.$M + K);
|
|
12051
12051
|
if (me === m) return this.set(m, this.$y + K);
|
|
12052
|
-
if (me === f) return
|
|
12053
|
-
if (me === h) return
|
|
12052
|
+
if (me === f) return He(1);
|
|
12053
|
+
if (me === h) return He(7);
|
|
12054
12054
|
var Ce = (q = {}, q[c] = r, q[u] = i, q[a] = n, q)[me] || 1, qe = this.$d.getTime() + K * Ce;
|
|
12055
12055
|
return oe.w(qe, this);
|
|
12056
12056
|
}, ee.subtract = function(K, ae) {
|
|
@@ -12058,10 +12058,10 @@ function lS() {
|
|
|
12058
12058
|
}, ee.format = function(K) {
|
|
12059
12059
|
var ae = this, q = this.$locale();
|
|
12060
12060
|
if (!this.isValid()) return q.invalidDate || x;
|
|
12061
|
-
var pe = K || "YYYY-MM-DDTHH:mm:ssZ", me = oe.z(this),
|
|
12061
|
+
var pe = K || "YYYY-MM-DDTHH:mm:ssZ", me = oe.z(this), He = this.$H, Ce = this.$m, qe = this.$M, tt = q.weekdays, ut = q.months, yt = q.meridiem, bt = function(Ge, rt, Ie, Et) {
|
|
12062
12062
|
return Ge && (Ge[rt] || Ge(ae, pe)) || Ie[rt].slice(0, Et);
|
|
12063
12063
|
}, Ot = function(Ge) {
|
|
12064
|
-
return oe.s(
|
|
12064
|
+
return oe.s(He % 12 || 12, Ge, "0");
|
|
12065
12065
|
}, fe = yt || function(Ge, rt, Ie) {
|
|
12066
12066
|
var Et = Ge < 12 ? "AM" : "PM";
|
|
12067
12067
|
return Ie ? Et.toLowerCase() : Et;
|
|
@@ -12094,17 +12094,17 @@ function lS() {
|
|
|
12094
12094
|
case "dddd":
|
|
12095
12095
|
return tt[ae.$W];
|
|
12096
12096
|
case "H":
|
|
12097
|
-
return String(
|
|
12097
|
+
return String(He);
|
|
12098
12098
|
case "HH":
|
|
12099
|
-
return oe.s(
|
|
12099
|
+
return oe.s(He, 2, "0");
|
|
12100
12100
|
case "h":
|
|
12101
12101
|
return Ot(1);
|
|
12102
12102
|
case "hh":
|
|
12103
12103
|
return Ot(2);
|
|
12104
12104
|
case "a":
|
|
12105
|
-
return fe(
|
|
12105
|
+
return fe(He, Ce, !0);
|
|
12106
12106
|
case "A":
|
|
12107
|
-
return fe(
|
|
12107
|
+
return fe(He, Ce, !1);
|
|
12108
12108
|
case "m":
|
|
12109
12109
|
return String(Ce);
|
|
12110
12110
|
case "mm":
|
|
@@ -12124,10 +12124,10 @@ function lS() {
|
|
|
12124
12124
|
}, ee.utcOffset = function() {
|
|
12125
12125
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
12126
12126
|
}, ee.diff = function(K, ae, q) {
|
|
12127
|
-
var pe, me = this,
|
|
12127
|
+
var pe, me = this, He = oe.p(ae), Ce = ye(K), qe = (Ce.utcOffset() - this.utcOffset()) * r, tt = this - Ce, ut = function() {
|
|
12128
12128
|
return oe.m(me, Ce);
|
|
12129
12129
|
};
|
|
12130
|
-
switch (
|
|
12130
|
+
switch (He) {
|
|
12131
12131
|
case m:
|
|
12132
12132
|
pe = ut() / 12;
|
|
12133
12133
|
break;
|
|
@@ -12175,9 +12175,9 @@ function lS() {
|
|
|
12175
12175
|
}, ee.toString = function() {
|
|
12176
12176
|
return this.$d.toUTCString();
|
|
12177
12177
|
}, ce;
|
|
12178
|
-
})(),
|
|
12179
|
-
return ye.prototype =
|
|
12180
|
-
|
|
12178
|
+
})(), Oe = Re.prototype;
|
|
12179
|
+
return ye.prototype = Oe, [["$ms", s], ["$s", a], ["$m", c], ["$H", u], ["$W", f], ["$M", v], ["$y", m], ["$D", S]].forEach((function(ce) {
|
|
12180
|
+
Oe[ce[1]] = function(ee) {
|
|
12181
12181
|
return this.$g(ee, ce[0], ce[1]);
|
|
12182
12182
|
};
|
|
12183
12183
|
})), ye.extend = function(ce, ee) {
|
|
@@ -12252,7 +12252,7 @@ function uS({
|
|
|
12252
12252
|
},
|
|
12253
12253
|
children: [
|
|
12254
12254
|
r ? /* @__PURE__ */ w(Ei, { sx: { color: "#ff9800", fontSize: 24 } }) : /* @__PURE__ */ w(wi, { sx: { color: "#f44336", fontSize: 24 } }),
|
|
12255
|
-
/* @__PURE__ */ w(
|
|
12255
|
+
/* @__PURE__ */ w(Se, { variant: "subtitle1", children: "Adjourned" })
|
|
12256
12256
|
]
|
|
12257
12257
|
}
|
|
12258
12258
|
),
|
|
@@ -12284,8 +12284,8 @@ function kf({
|
|
|
12284
12284
|
ye = J.charCodeAt(oe) + ((ye << 5) - ye);
|
|
12285
12285
|
let Re = "#";
|
|
12286
12286
|
for (oe = 0; oe < 3; oe += 1) {
|
|
12287
|
-
const
|
|
12288
|
-
Re += `00${
|
|
12287
|
+
const Oe = ye >> oe * 8 & 255;
|
|
12288
|
+
Re += `00${Oe.toString(16)}`.slice(-2);
|
|
12289
12289
|
}
|
|
12290
12290
|
return Re;
|
|
12291
12291
|
}
|
|
@@ -12298,8 +12298,8 @@ function kf({
|
|
|
12298
12298
|
};
|
|
12299
12299
|
}
|
|
12300
12300
|
function Y(J, ye) {
|
|
12301
|
-
const oe = (
|
|
12302
|
-
n && (
|
|
12301
|
+
const oe = (Oe) => {
|
|
12302
|
+
n && (Oe.stopPropagation(), f(Oe.currentTarget), v(ye));
|
|
12303
12303
|
}, Re = J ? `${J.UserFirstName} ${J.UserLastName}` : "Unassigned";
|
|
12304
12304
|
if (!J)
|
|
12305
12305
|
return /* @__PURE__ */ w(lt, { title: Re, arrow: !0, children: /* @__PURE__ */ w(
|
|
@@ -12323,19 +12323,19 @@ function kf({
|
|
|
12323
12323
|
}
|
|
12324
12324
|
) });
|
|
12325
12325
|
{
|
|
12326
|
-
const
|
|
12326
|
+
const Oe = Q(`${J.UserFirstName} ${J.UserLastName}`);
|
|
12327
12327
|
return /* @__PURE__ */ w(lt, { title: Re, arrow: !0, placement: "top", children: /* @__PURE__ */ w(
|
|
12328
12328
|
Xn,
|
|
12329
12329
|
{
|
|
12330
12330
|
sx: {
|
|
12331
|
-
...
|
|
12331
|
+
...Oe.sx,
|
|
12332
12332
|
width: x,
|
|
12333
12333
|
height: S,
|
|
12334
12334
|
cursor: n ? "pointer" : "default"
|
|
12335
12335
|
},
|
|
12336
12336
|
onClick: oe,
|
|
12337
12337
|
className: "CCAvatarIcon",
|
|
12338
|
-
children:
|
|
12338
|
+
children: Oe.children
|
|
12339
12339
|
}
|
|
12340
12340
|
) });
|
|
12341
12341
|
}
|
|
@@ -12467,7 +12467,7 @@ function dS({
|
|
|
12467
12467
|
spacing: 2
|
|
12468
12468
|
}
|
|
12469
12469
|
),
|
|
12470
|
-
/* @__PURE__ */ w(
|
|
12470
|
+
/* @__PURE__ */ w(Se, { variant: "subtitle1", children: "Chairs" })
|
|
12471
12471
|
]
|
|
12472
12472
|
}
|
|
12473
12473
|
);
|
|
@@ -12489,7 +12489,7 @@ function fS({
|
|
|
12489
12489
|
}).format(new Date(v)) : "-";
|
|
12490
12490
|
}
|
|
12491
12491
|
return /* @__PURE__ */ w(Je, { className: "themed", children: t && /* @__PURE__ */ Z(Ye, { spacing: 0, direction: "column", children: [
|
|
12492
|
-
/* @__PURE__ */ w(Je, { children: /* @__PURE__ */ w(
|
|
12492
|
+
/* @__PURE__ */ w(Je, { children: /* @__PURE__ */ w(Se, { variant: "h6", align: "center", gutterBottom: !0, children: `${a(t.MuniCode) || "Unknown Municipality"} (${t.MuniCode}) ${t.FirstChair || t.SecondChair ? "" : "- Unassigned"}` }) }),
|
|
12493
12493
|
/* @__PURE__ */ Z(pn, { gap: 3, alignItems: "stretch", children: [
|
|
12494
12494
|
/* @__PURE__ */ w(
|
|
12495
12495
|
dS,
|
|
@@ -12517,7 +12517,7 @@ function fS({
|
|
|
12517
12517
|
isAdmin: !!s
|
|
12518
12518
|
}
|
|
12519
12519
|
) }),
|
|
12520
|
-
t.MultipleDates && t.MultipleDates.length > 0 && /* @__PURE__ */ w(pn, { gap: 3, children: t.MultipleDates.map((v, b) => /* @__PURE__ */ w(
|
|
12520
|
+
Array.isArray(t.MultipleDates) && t.MultipleDates.length > 0 && /* @__PURE__ */ w(pn, { gap: 3, children: t.MultipleDates.map((v, b) => /* @__PURE__ */ w(
|
|
12521
12521
|
Go,
|
|
12522
12522
|
{
|
|
12523
12523
|
label: `Day ${b + 2}`,
|
|
@@ -12538,10 +12538,10 @@ function fS({
|
|
|
12538
12538
|
) }),
|
|
12539
12539
|
/* @__PURE__ */ Z(Ye, { mt: 2, spacing: 1, children: [
|
|
12540
12540
|
t.Notes && t.Notes.length > 0 ? t.Notes.map((v, b) => /* @__PURE__ */ Z(Je, { children: [
|
|
12541
|
-
/* @__PURE__ */ w(
|
|
12542
|
-
/* @__PURE__ */ w(
|
|
12543
|
-
] }, b)) : /* @__PURE__ */ w(
|
|
12544
|
-
/* @__PURE__ */ Z(
|
|
12541
|
+
/* @__PURE__ */ w(Se, { variant: "caption", sx: { opacity: 0.6 }, children: v.User }),
|
|
12542
|
+
/* @__PURE__ */ w(Se, { variant: "body1", children: v.Message })
|
|
12543
|
+
] }, b)) : /* @__PURE__ */ w(Se, { variant: "body1", children: "No notes provided." }),
|
|
12544
|
+
/* @__PURE__ */ Z(Se, { variant: "body2", sx: { opacity: 0.85 }, children: [
|
|
12545
12545
|
/* @__PURE__ */ w("span", { children: "The hearing is " }),
|
|
12546
12546
|
/* @__PURE__ */ w("strong", { children: t.Type === Ft.VIRTUAL ? "virtual" : t.Type === Ft.IN_PERSON ? "in person" : "of unknown type" }),
|
|
12547
12547
|
/* @__PURE__ */ w("span", { children: " and is scheduled for " }),
|
|
@@ -12781,7 +12781,7 @@ function mS({
|
|
|
12781
12781
|
},
|
|
12782
12782
|
children: [
|
|
12783
12783
|
/* @__PURE__ */ w(
|
|
12784
|
-
|
|
12784
|
+
Se,
|
|
12785
12785
|
{
|
|
12786
12786
|
variant: "caption",
|
|
12787
12787
|
sx: {
|
|
@@ -12805,7 +12805,7 @@ function mS({
|
|
|
12805
12805
|
}
|
|
12806
12806
|
),
|
|
12807
12807
|
/* @__PURE__ */ w(
|
|
12808
|
-
|
|
12808
|
+
Se,
|
|
12809
12809
|
{
|
|
12810
12810
|
variant: "caption",
|
|
12811
12811
|
sx: {
|
|
@@ -12921,8 +12921,8 @@ function vS({
|
|
|
12921
12921
|
}
|
|
12922
12922
|
),
|
|
12923
12923
|
/* @__PURE__ */ Z(Ye, { direction: "column", children: [
|
|
12924
|
-
/* @__PURE__ */ w(
|
|
12925
|
-
/* @__PURE__ */ w(
|
|
12924
|
+
/* @__PURE__ */ w(Se, { variant: "h6", children: n }),
|
|
12925
|
+
/* @__PURE__ */ w(Se, { variant: "body2", sx: { opacity: 0.85 }, children: a ? `Add or remove fields as needed. Toggle between ${r} and ${a} for each field.` : `Add or remove ${r.toLowerCase()}s as needed. You can add more fields after completing the current ones.` })
|
|
12926
12926
|
] })
|
|
12927
12927
|
] }),
|
|
12928
12928
|
/* @__PURE__ */ w(
|
|
@@ -12992,8 +12992,8 @@ function yS({
|
|
|
12992
12992
|
a(i?.Message ?? "");
|
|
12993
12993
|
}, [i?.Message]), /* @__PURE__ */ Z(Ye, { spacing: 1, width: "100%", children: [
|
|
12994
12994
|
r.map((c, u) => /* @__PURE__ */ Z(Je, { children: [
|
|
12995
|
-
/* @__PURE__ */ w(
|
|
12996
|
-
/* @__PURE__ */ w(
|
|
12995
|
+
/* @__PURE__ */ w(Se, { variant: "caption", sx: { opacity: 0.6 }, children: c.User }),
|
|
12996
|
+
/* @__PURE__ */ w(Se, { variant: "body2", children: c.Message })
|
|
12997
12997
|
] }, u)),
|
|
12998
12998
|
/* @__PURE__ */ w(
|
|
12999
12999
|
Vn,
|
|
@@ -13309,7 +13309,7 @@ function Yo({
|
|
|
13309
13309
|
},
|
|
13310
13310
|
children: [
|
|
13311
13311
|
/* @__PURE__ */ w(Mt, { size: 3, children: /* @__PURE__ */ Z(Ye, { direction: "row", spacing: 1, alignItems: "center", children: [
|
|
13312
|
-
/* @__PURE__ */ w(
|
|
13312
|
+
/* @__PURE__ */ w(Se, { variant: "body2", fontWeight: s ? 600 : 400, children: t }),
|
|
13313
13313
|
s && /* @__PURE__ */ w(
|
|
13314
13314
|
ls,
|
|
13315
13315
|
{
|
|
@@ -13321,9 +13321,9 @@ function Yo({
|
|
|
13321
13321
|
}
|
|
13322
13322
|
)
|
|
13323
13323
|
] }) }),
|
|
13324
|
-
/* @__PURE__ */ w(Mt, { size: 3.5, children: /* @__PURE__ */ w(
|
|
13325
|
-
/* @__PURE__ */ w(Mt, { size: 3.5, children: /* @__PURE__ */ w(
|
|
13326
|
-
/* @__PURE__ */ w(Mt, { size: 1, children: /* @__PURE__ */ w(
|
|
13324
|
+
/* @__PURE__ */ w(Mt, { size: 3.5, children: /* @__PURE__ */ w(Se, { variant: "body2", children: `Created on ${i}` }) }),
|
|
13325
|
+
/* @__PURE__ */ w(Mt, { size: 3.5, children: /* @__PURE__ */ w(Se, { variant: "body2", children: s ? `Uploaded on ${r}` : "Not uploaded" }) }),
|
|
13326
|
+
/* @__PURE__ */ w(Mt, { size: 1, children: /* @__PURE__ */ w(Se, { variant: "body2", children: n }) }),
|
|
13327
13327
|
/* @__PURE__ */ w(Mt, { size: 1, children: /* @__PURE__ */ w(Ye, { direction: "row", justifyContent: "flex-end", children: e && /* @__PURE__ */ w(Mh, { fontSize: "small", sx: { opacity: 0.6 } }) }) })
|
|
13328
13328
|
]
|
|
13329
13329
|
}
|
|
@@ -13380,7 +13380,7 @@ const ES = wa(function({
|
|
|
13380
13380
|
}) {
|
|
13381
13381
|
const { allUsers: r } = wn(), [i, s] = be("Copy");
|
|
13382
13382
|
if (!e)
|
|
13383
|
-
return /* @__PURE__ */ w(Je, { className: "themed", p: 4, textAlign: "center", children: /* @__PURE__ */ w(
|
|
13383
|
+
return /* @__PURE__ */ w(Je, { className: "themed", p: 4, textAlign: "center", children: /* @__PURE__ */ w(Se, { variant: "h6", children: "No case selected" }) });
|
|
13384
13384
|
const {
|
|
13385
13385
|
ParcelID: a,
|
|
13386
13386
|
Year: c,
|
|
@@ -13432,7 +13432,7 @@ const ES = wa(function({
|
|
|
13432
13432
|
},
|
|
13433
13433
|
children: [
|
|
13434
13434
|
/* @__PURE__ */ w(Ih, { color: "primary" }),
|
|
13435
|
-
/* @__PURE__ */ w(
|
|
13435
|
+
/* @__PURE__ */ w(Se, { variant: "body1", fontWeight: 600, children: "Property Information" })
|
|
13436
13436
|
]
|
|
13437
13437
|
}
|
|
13438
13438
|
),
|
|
@@ -13459,8 +13459,8 @@ const ES = wa(function({
|
|
|
13459
13459
|
}
|
|
13460
13460
|
) }),
|
|
13461
13461
|
/* @__PURE__ */ Z(Ye, { spacing: 1, flex: 1, children: [
|
|
13462
|
-
/* @__PURE__ */ w(
|
|
13463
|
-
/* @__PURE__ */ Z(
|
|
13462
|
+
/* @__PURE__ */ w(Se, { variant: "h6", fontWeight: 600, children: M?.Address || "Unknown Address" }),
|
|
13463
|
+
/* @__PURE__ */ Z(Se, { variant: "subtitle1", fontWeight: 500, children: [
|
|
13464
13464
|
"Owner: ",
|
|
13465
13465
|
M?.PropertyOwnerFull || "Unknown"
|
|
13466
13466
|
] }),
|
|
@@ -13528,14 +13528,14 @@ const ES = wa(function({
|
|
|
13528
13528
|
},
|
|
13529
13529
|
children: [
|
|
13530
13530
|
/* @__PURE__ */ w(kh, { color: "primary" }),
|
|
13531
|
-
/* @__PURE__ */ w(
|
|
13531
|
+
/* @__PURE__ */ w(Se, { variant: "body1", fontWeight: 600, children: "Case Information" })
|
|
13532
13532
|
]
|
|
13533
13533
|
}
|
|
13534
13534
|
),
|
|
13535
13535
|
/* @__PURE__ */ Z(Mt, { container: !0, spacing: 1.5, children: [
|
|
13536
13536
|
/* @__PURE__ */ w(Mt, { size: { xs: 12, sm: 6 }, children: /* @__PURE__ */ w(Rn, { elevation: 0, sx: { height: "100%" }, children: /* @__PURE__ */ Z(Tn, { sx: { py: 1, px: 1.5, "&:last-child": { pb: 1 } }, children: [
|
|
13537
13537
|
/* @__PURE__ */ w(
|
|
13538
|
-
|
|
13538
|
+
Se,
|
|
13539
13539
|
{
|
|
13540
13540
|
variant: "caption",
|
|
13541
13541
|
fontWeight: 600,
|
|
@@ -13544,11 +13544,11 @@ const ES = wa(function({
|
|
|
13544
13544
|
children: "Municipality"
|
|
13545
13545
|
}
|
|
13546
13546
|
),
|
|
13547
|
-
/* @__PURE__ */ w(
|
|
13547
|
+
/* @__PURE__ */ w(Se, { variant: "body1", fontWeight: 500, mt: 0.25, children: u || "—" })
|
|
13548
13548
|
] }) }) }),
|
|
13549
13549
|
/* @__PURE__ */ w(Mt, { size: { xs: 12, sm: 6 }, children: /* @__PURE__ */ w(Rn, { elevation: 0, sx: { height: "100%" }, children: /* @__PURE__ */ Z(Tn, { sx: { py: 1, px: 1.5, "&:last-child": { pb: 1 } }, children: [
|
|
13550
13550
|
/* @__PURE__ */ w(
|
|
13551
|
-
|
|
13551
|
+
Se,
|
|
13552
13552
|
{
|
|
13553
13553
|
variant: "caption",
|
|
13554
13554
|
fontWeight: 600,
|
|
@@ -13557,11 +13557,11 @@ const ES = wa(function({
|
|
|
13557
13557
|
children: "Negotiator"
|
|
13558
13558
|
}
|
|
13559
13559
|
),
|
|
13560
|
-
/* @__PURE__ */ w(
|
|
13560
|
+
/* @__PURE__ */ w(Se, { variant: "body1", fontWeight: 500, mt: 0.25, children: f && !isNaN(f) ? `${r[f].UserFirstName} ${r[f].UserLastName}` : "—" })
|
|
13561
13561
|
] }) }) }),
|
|
13562
13562
|
!n && /* @__PURE__ */ w(Mt, { size: { xs: 12, sm: 6 }, children: /* @__PURE__ */ w(Rn, { elevation: 0, sx: { height: "100%" }, children: /* @__PURE__ */ Z(Tn, { sx: { py: 1, px: 1.5, "&:last-child": { pb: 1 } }, children: [
|
|
13563
13563
|
/* @__PURE__ */ w(
|
|
13564
|
-
|
|
13564
|
+
Se,
|
|
13565
13565
|
{
|
|
13566
13566
|
variant: "caption",
|
|
13567
13567
|
fontWeight: 600,
|
|
@@ -13570,11 +13570,11 @@ const ES = wa(function({
|
|
|
13570
13570
|
children: "SCAR Index #"
|
|
13571
13571
|
}
|
|
13572
13572
|
),
|
|
13573
|
-
/* @__PURE__ */ w(
|
|
13573
|
+
/* @__PURE__ */ w(Se, { variant: "body1", fontWeight: 500, mt: 0.25, children: h || "—" })
|
|
13574
13574
|
] }) }) }),
|
|
13575
13575
|
n && /* @__PURE__ */ w(Mt, { size: { xs: 12, sm: 6 }, children: /* @__PURE__ */ w(Rn, { elevation: 0, sx: { height: "100%" }, children: /* @__PURE__ */ Z(Tn, { sx: { py: 1, px: 1.5, "&:last-child": { pb: 1 } }, children: [
|
|
13576
13576
|
/* @__PURE__ */ w(
|
|
13577
|
-
|
|
13577
|
+
Se,
|
|
13578
13578
|
{
|
|
13579
13579
|
variant: "caption",
|
|
13580
13580
|
fontWeight: 600,
|
|
@@ -13583,11 +13583,11 @@ const ES = wa(function({
|
|
|
13583
13583
|
children: "Village SCAR Index #"
|
|
13584
13584
|
}
|
|
13585
13585
|
),
|
|
13586
|
-
/* @__PURE__ */ w(
|
|
13586
|
+
/* @__PURE__ */ w(Se, { variant: "body1", fontWeight: 500, mt: 0.25, children: v || "—" })
|
|
13587
13587
|
] }) }) }),
|
|
13588
13588
|
!n && /* @__PURE__ */ w(Mt, { size: { xs: 12, sm: 6 }, children: /* @__PURE__ */ w(Rn, { elevation: 0, sx: { height: "100%" }, children: /* @__PURE__ */ Z(Tn, { sx: { py: 1, px: 1.5, "&:last-child": { pb: 1 } }, children: [
|
|
13589
13589
|
/* @__PURE__ */ w(
|
|
13590
|
-
|
|
13590
|
+
Se,
|
|
13591
13591
|
{
|
|
13592
13592
|
variant: "caption",
|
|
13593
13593
|
fontWeight: 600,
|
|
@@ -13596,11 +13596,11 @@ const ES = wa(function({
|
|
|
13596
13596
|
children: "SCAR Determination"
|
|
13597
13597
|
}
|
|
13598
13598
|
),
|
|
13599
|
-
/* @__PURE__ */ w(
|
|
13599
|
+
/* @__PURE__ */ w(Se, { variant: "body1", fontWeight: 500, mt: 0.25, children: b || "—" })
|
|
13600
13600
|
] }) }) }),
|
|
13601
13601
|
n && /* @__PURE__ */ w(Mt, { size: { xs: 12, sm: 6 }, children: /* @__PURE__ */ w(Rn, { elevation: 0, sx: { height: "100%" }, children: /* @__PURE__ */ Z(Tn, { sx: { py: 1, px: 1.5, "&:last-child": { pb: 1 } }, children: [
|
|
13602
13602
|
/* @__PURE__ */ w(
|
|
13603
|
-
|
|
13603
|
+
Se,
|
|
13604
13604
|
{
|
|
13605
13605
|
variant: "caption",
|
|
13606
13606
|
fontWeight: 600,
|
|
@@ -13609,12 +13609,12 @@ const ES = wa(function({
|
|
|
13609
13609
|
children: "Village SCAR Determination"
|
|
13610
13610
|
}
|
|
13611
13611
|
),
|
|
13612
|
-
/* @__PURE__ */ w(
|
|
13612
|
+
/* @__PURE__ */ w(Se, { variant: "body1", fontWeight: 500, mt: 0.25, children: m || "—" })
|
|
13613
13613
|
] }) }) }),
|
|
13614
13614
|
!n && /* @__PURE__ */ Z(Tr, { children: [
|
|
13615
13615
|
/* @__PURE__ */ w(Mt, { size: { xs: 12, sm: 6 }, children: /* @__PURE__ */ w(Rn, { elevation: 0, sx: { height: "100%" }, children: /* @__PURE__ */ Z(Tn, { sx: { py: 1, px: 1.5, "&:last-child": { pb: 1 } }, children: [
|
|
13616
13616
|
/* @__PURE__ */ w(
|
|
13617
|
-
|
|
13617
|
+
Se,
|
|
13618
13618
|
{
|
|
13619
13619
|
variant: "caption",
|
|
13620
13620
|
fontWeight: 600,
|
|
@@ -13623,11 +13623,11 @@ const ES = wa(function({
|
|
|
13623
13623
|
children: "SCAR File Date"
|
|
13624
13624
|
}
|
|
13625
13625
|
),
|
|
13626
|
-
/* @__PURE__ */ w(
|
|
13626
|
+
/* @__PURE__ */ w(Se, { variant: "body1", fontWeight: 500, mt: 0.25, children: x ? new Date(x).toLocaleDateString() : "—" })
|
|
13627
13627
|
] }) }) }),
|
|
13628
13628
|
/* @__PURE__ */ w(Mt, { size: { xs: 12, sm: 6 }, children: /* @__PURE__ */ w(Rn, { elevation: 0, sx: { height: "100%" }, children: /* @__PURE__ */ Z(Tn, { sx: { py: 1, px: 1.5, "&:last-child": { pb: 1 } }, children: [
|
|
13629
13629
|
/* @__PURE__ */ w(
|
|
13630
|
-
|
|
13630
|
+
Se,
|
|
13631
13631
|
{
|
|
13632
13632
|
variant: "caption",
|
|
13633
13633
|
fontWeight: 600,
|
|
@@ -13636,12 +13636,12 @@ const ES = wa(function({
|
|
|
13636
13636
|
children: "SCAR Settle Date"
|
|
13637
13637
|
}
|
|
13638
13638
|
),
|
|
13639
|
-
/* @__PURE__ */ w(
|
|
13639
|
+
/* @__PURE__ */ w(Se, { variant: "body1", fontWeight: 500, mt: 0.25, children: S ? new Date(S).toLocaleDateString() : "—" })
|
|
13640
13640
|
] }) }) })
|
|
13641
13641
|
] }),
|
|
13642
13642
|
n && /* @__PURE__ */ w(Mt, { size: { xs: 12, sm: 6 }, children: /* @__PURE__ */ w(Rn, { elevation: 0, sx: { height: "100%" }, children: /* @__PURE__ */ Z(Tn, { sx: { py: 1, px: 1.5, "&:last-child": { pb: 1 } }, children: [
|
|
13643
13643
|
/* @__PURE__ */ w(
|
|
13644
|
-
|
|
13644
|
+
Se,
|
|
13645
13645
|
{
|
|
13646
13646
|
variant: "caption",
|
|
13647
13647
|
fontWeight: 600,
|
|
@@ -13650,11 +13650,11 @@ const ES = wa(function({
|
|
|
13650
13650
|
children: "Village SCAR File Date"
|
|
13651
13651
|
}
|
|
13652
13652
|
),
|
|
13653
|
-
/* @__PURE__ */ w(
|
|
13653
|
+
/* @__PURE__ */ w(Se, { variant: "body1", fontWeight: 500, mt: 0.25, children: A ? new Date(A).toLocaleDateString() : "—" })
|
|
13654
13654
|
] }) }) }),
|
|
13655
13655
|
n && /* @__PURE__ */ w(Mt, { size: { xs: 12, sm: 6 }, children: /* @__PURE__ */ w(Rn, { elevation: 0, sx: { height: "100%" }, children: /* @__PURE__ */ Z(Tn, { sx: { py: 1, px: 1.5, "&:last-child": { pb: 1 } }, children: [
|
|
13656
13656
|
/* @__PURE__ */ w(
|
|
13657
|
-
|
|
13657
|
+
Se,
|
|
13658
13658
|
{
|
|
13659
13659
|
variant: "caption",
|
|
13660
13660
|
fontWeight: 600,
|
|
@@ -13663,7 +13663,7 @@ const ES = wa(function({
|
|
|
13663
13663
|
children: "Village SCAR Settle Date"
|
|
13664
13664
|
}
|
|
13665
13665
|
),
|
|
13666
|
-
/* @__PURE__ */ w(
|
|
13666
|
+
/* @__PURE__ */ w(Se, { variant: "body1", fontWeight: 500, mt: 0.25, children: D ? new Date(D).toLocaleDateString() : "—" })
|
|
13667
13667
|
] }) }) })
|
|
13668
13668
|
] })
|
|
13669
13669
|
]
|
|
@@ -13697,7 +13697,7 @@ const ES = wa(function({
|
|
|
13697
13697
|
},
|
|
13698
13698
|
children: [
|
|
13699
13699
|
/* @__PURE__ */ w(gu, { color: "primary" }),
|
|
13700
|
-
/* @__PURE__ */ w(
|
|
13700
|
+
/* @__PURE__ */ w(Se, { variant: "body1", fontWeight: 600, children: "Evidence" })
|
|
13701
13701
|
]
|
|
13702
13702
|
}
|
|
13703
13703
|
),
|
|
@@ -13777,16 +13777,16 @@ function SS({
|
|
|
13777
13777
|
}, [e, i]);
|
|
13778
13778
|
function Q(oe, Re) {
|
|
13779
13779
|
if (!i) return;
|
|
13780
|
-
const
|
|
13781
|
-
s(ce), pi(i.CourtDateID,
|
|
13780
|
+
const Oe = oe === "first" ? { FirstChair: Re } : { SecondChair: Re }, ce = { ...i, ...Oe };
|
|
13781
|
+
s(ce), pi(i.CourtDateID, Oe, b, void 0, m).then((ee) => {
|
|
13782
13782
|
ee || (s(i), console.error("Failed to update chair assignment, reverted"));
|
|
13783
13783
|
});
|
|
13784
13784
|
}
|
|
13785
13785
|
function Y(oe) {
|
|
13786
13786
|
if (!i) return;
|
|
13787
13787
|
const Re = { ...i, ...oe };
|
|
13788
|
-
s(Re), pi(i.CourtDateID, oe, b, void 0, m).then((
|
|
13789
|
-
|
|
13788
|
+
s(Re), pi(i.CourtDateID, oe, b, void 0, m).then((Oe) => {
|
|
13789
|
+
Oe || (s(i), console.error("Failed to update adjournment, reverted"));
|
|
13790
13790
|
});
|
|
13791
13791
|
}
|
|
13792
13792
|
function ie() {
|
|
@@ -13807,7 +13807,7 @@ function SS({
|
|
|
13807
13807
|
x.CourtDateID,
|
|
13808
13808
|
x,
|
|
13809
13809
|
b,
|
|
13810
|
-
A.map((
|
|
13810
|
+
A.map((Oe) => Oe.SCARIndexNumber),
|
|
13811
13811
|
m
|
|
13812
13812
|
);
|
|
13813
13813
|
const Re = x.CourtDateID;
|
|
@@ -13824,12 +13824,12 @@ function SS({
|
|
|
13824
13824
|
x.CourtDate,
|
|
13825
13825
|
x.MuniCode,
|
|
13826
13826
|
b,
|
|
13827
|
-
A.map((
|
|
13827
|
+
A.map((Oe) => Oe.SCARIndexNumber),
|
|
13828
13828
|
x.HearingTime || void 0
|
|
13829
13829
|
);
|
|
13830
13830
|
if (Re) {
|
|
13831
|
-
const
|
|
13832
|
-
D(
|
|
13831
|
+
const Oe = { ...x, CourtDateID: Re };
|
|
13832
|
+
D(Oe), await pi(Re, Oe, b), s(Oe), f({ [Re.toString()]: A });
|
|
13833
13833
|
}
|
|
13834
13834
|
r(!1);
|
|
13835
13835
|
}
|
|
@@ -14070,16 +14070,16 @@ function AS() {
|
|
|
14070
14070
|
function ye(o) {
|
|
14071
14071
|
return J.apply([], o);
|
|
14072
14072
|
}
|
|
14073
|
-
var
|
|
14073
|
+
var Ee = "BigUint64Array,BigInt64Array,Array,Boolean,String,Date,RegExp,Blob,File,FileList,FileSystemFileHandle,FileSystemDirectoryHandle,ArrayBuffer,DataView,Uint8ClampedArray,ImageBitmap,ImageData,Map,Set,CryptoKey".split(",").concat(ye([8, 16, 32, 64].map(function(o) {
|
|
14074
14074
|
return ["Int", "Uint", "Float"].map(function(l) {
|
|
14075
14075
|
return l + o + "Array";
|
|
14076
14076
|
});
|
|
14077
14077
|
}))).filter(function(o) {
|
|
14078
14078
|
return s[o];
|
|
14079
|
-
}), oe = new Set(
|
|
14079
|
+
}), oe = new Set(Ee.map(function(o) {
|
|
14080
14080
|
return s[o];
|
|
14081
14081
|
})), Re = null;
|
|
14082
|
-
function
|
|
14082
|
+
function Oe(o) {
|
|
14083
14083
|
return Re = /* @__PURE__ */ new WeakMap(), o = (function l(d) {
|
|
14084
14084
|
if (!d || typeof d != "object") return d;
|
|
14085
14085
|
var p = Re.get(d);
|
|
@@ -14126,7 +14126,7 @@ function AS() {
|
|
|
14126
14126
|
for (l = arguments.length, d = new Array(l); l--; ) d[l] = arguments[l];
|
|
14127
14127
|
return d;
|
|
14128
14128
|
}
|
|
14129
|
-
var
|
|
14129
|
+
var He = typeof Symbol < "u" ? function(o) {
|
|
14130
14130
|
return o[Symbol.toStringTag] === "AsyncFunction";
|
|
14131
14131
|
} : function() {
|
|
14132
14132
|
return !1;
|
|
@@ -14231,12 +14231,12 @@ function AS() {
|
|
|
14231
14231
|
function un(o) {
|
|
14232
14232
|
We = o;
|
|
14233
14233
|
}
|
|
14234
|
-
var tn = {}, H = 100,
|
|
14234
|
+
var tn = {}, H = 100, Ee = typeof Promise > "u" ? [] : (function() {
|
|
14235
14235
|
var o = Promise.resolve();
|
|
14236
14236
|
if (typeof crypto > "u" || !crypto.subtle) return [o, f(o), o];
|
|
14237
14237
|
var l = crypto.subtle.digest("SHA-512", new Uint8Array([0]));
|
|
14238
14238
|
return [l, f(l), o];
|
|
14239
|
-
})(), Te =
|
|
14239
|
+
})(), Te = Ee[0], on = Ee[1], Ee = Ee[2], on = on && on.then, Me = Te && Te.constructor, Ne = !!Ee, ot = function(o, l) {
|
|
14240
14240
|
dn.push([o, l]), mt && (queueMicrotask(kt), mt = !1);
|
|
14241
14241
|
}, it = !0, mt = !0, xt = [], dt = [], Ke = Et, ze = { id: "global", global: !0, ref: 0, unhandleds: [], onunhandled: Ie, pgp: !1, env: {}, finalize: Ie }, de = ze, dn = [], Yt = 0, fn = [];
|
|
14242
14242
|
function se(o) {
|
|
@@ -14255,7 +14255,7 @@ function AS() {
|
|
|
14255
14255
|
var E = p._lib && De();
|
|
14256
14256
|
y && typeof y.then == "function" ? d(p, function(_, T) {
|
|
14257
14257
|
y instanceof se ? y._then(_, T) : y.then(_, T);
|
|
14258
|
-
}) : (p._state = !0, p._value = y, Gn(p)), E &&
|
|
14258
|
+
}) : (p._state = !0, p._value = y, Gn(p)), E && je();
|
|
14259
14259
|
}
|
|
14260
14260
|
}, Dn.bind(null, p));
|
|
14261
14261
|
} catch (y) {
|
|
@@ -14284,7 +14284,7 @@ function AS() {
|
|
|
14284
14284
|
var d, p;
|
|
14285
14285
|
dt.push(l), o._state === null && (d = o._lib && De(), l = Ke(l), o._state = !1, o._value = l, p = o, xt.some(function(g) {
|
|
14286
14286
|
return g._value === p._value;
|
|
14287
|
-
}) || xt.push(p), Gn(o), d &&
|
|
14287
|
+
}) || xt.push(p), Gn(o), d && je());
|
|
14288
14288
|
}
|
|
14289
14289
|
function Gn(o) {
|
|
14290
14290
|
var l = o._listeners;
|
|
@@ -14318,14 +14318,14 @@ function AS() {
|
|
|
14318
14318
|
}
|
|
14319
14319
|
function kt() {
|
|
14320
14320
|
Cn(ze, function() {
|
|
14321
|
-
De() &&
|
|
14321
|
+
De() && je();
|
|
14322
14322
|
});
|
|
14323
14323
|
}
|
|
14324
14324
|
function De() {
|
|
14325
14325
|
var o = it;
|
|
14326
14326
|
return mt = it = !1, o;
|
|
14327
14327
|
}
|
|
14328
|
-
function
|
|
14328
|
+
function je() {
|
|
14329
14329
|
var o, l, d;
|
|
14330
14330
|
do
|
|
14331
14331
|
for (; 0 < dn.length; ) for (o = dn, dn = [], d = o.length, l = 0; l < d; ++l) {
|
|
@@ -14354,7 +14354,7 @@ function AS() {
|
|
|
14354
14354
|
} catch (y) {
|
|
14355
14355
|
l && l(y);
|
|
14356
14356
|
} finally {
|
|
14357
|
-
An(g, !1), p &&
|
|
14357
|
+
An(g, !1), p && je();
|
|
14358
14358
|
}
|
|
14359
14359
|
};
|
|
14360
14360
|
}
|
|
@@ -14438,7 +14438,7 @@ function AS() {
|
|
|
14438
14438
|
}, E.finalize), o();
|
|
14439
14439
|
}, l, d, p);
|
|
14440
14440
|
});
|
|
14441
|
-
} }),
|
|
14441
|
+
} }), Me && (Me.allSettled && S(se, "allSettled", function() {
|
|
14442
14442
|
var o = me.apply(null, arguments).map(hn);
|
|
14443
14443
|
return new se(function(l) {
|
|
14444
14444
|
o.length === 0 && l([]);
|
|
@@ -14453,7 +14453,7 @@ function AS() {
|
|
|
14453
14453
|
});
|
|
14454
14454
|
});
|
|
14455
14455
|
});
|
|
14456
|
-
}),
|
|
14456
|
+
}), Me.any && typeof AggregateError < "u" && S(se, "any", function() {
|
|
14457
14457
|
var o = me.apply(null, arguments).map(hn);
|
|
14458
14458
|
return new se(function(l, d) {
|
|
14459
14459
|
o.length === 0 && d(new AggregateError([]));
|
|
@@ -14466,11 +14466,11 @@ function AS() {
|
|
|
14466
14466
|
});
|
|
14467
14467
|
});
|
|
14468
14468
|
});
|
|
14469
|
-
}),
|
|
14469
|
+
}), Me.withResolvers && (se.withResolvers = Me.withResolvers));
|
|
14470
14470
|
var he = { awaits: 0, echoes: 0, id: 0 }, Ae = 0, Qe = [], gt = 0, Wt = 0, rn = 0;
|
|
14471
14471
|
function ft(o, l, d, p) {
|
|
14472
14472
|
var g = de, y = Object.create(g);
|
|
14473
|
-
return y.parent = g, y.ref = 0, y.global = !1, y.id = ++rn, ze.env, y.env =
|
|
14473
|
+
return y.parent = g, y.ref = 0, y.global = !1, y.id = ++rn, ze.env, y.env = Ne ? { Promise: se, PromiseProp: { value: se, configurable: !0, writable: !0 }, all: se.all, race: se.race, allSettled: se.allSettled, any: se.any, resolve: se.resolve, reject: se.reject } : {}, l && u(y, l), ++g.ref, y.finalize = function() {
|
|
14474
14474
|
--this.parent.ref || this.parent.finalize();
|
|
14475
14475
|
}, p = Cn(y, o, d, p), y.ref === 0 && y.finalize(), p;
|
|
14476
14476
|
}
|
|
@@ -14481,7 +14481,7 @@ function AS() {
|
|
|
14481
14481
|
return !!he.awaits && (--he.awaits == 0 && (he.id = 0), he.echoes = he.awaits * H, !0);
|
|
14482
14482
|
}
|
|
14483
14483
|
function hn(o) {
|
|
14484
|
-
return he.echoes && o && o.constructor ===
|
|
14484
|
+
return he.echoes && o && o.constructor === Me ? (At(), o.then(function(l) {
|
|
14485
14485
|
return Ze(), l;
|
|
14486
14486
|
}, function(l) {
|
|
14487
14487
|
return Ze(), ht(l);
|
|
@@ -14495,11 +14495,11 @@ function AS() {
|
|
|
14495
14495
|
var d, p = de;
|
|
14496
14496
|
(l ? !he.echoes || gt++ && o === de : !gt || --gt && o === de) || queueMicrotask(l ? (function(g) {
|
|
14497
14497
|
++Wt, he.echoes && --he.echoes != 0 || (he.echoes = he.awaits = he.id = 0), Qe.push(de), An(g, !0);
|
|
14498
|
-
}).bind(null, o) : Xs), o !== de && (de = o, p === ze && (ze.env = ti()),
|
|
14498
|
+
}).bind(null, o) : Xs), o !== de && (de = o, p === ze && (ze.env = ti()), Ne && (d = ze.env.Promise, l = o.env, (p.global || o.global) && (Object.defineProperty(s, "Promise", l.PromiseProp), d.all = l.all, d.race = l.race, d.resolve = l.resolve, d.reject = l.reject, l.allSettled && (d.allSettled = l.allSettled), l.any && (d.any = l.any))));
|
|
14499
14499
|
}
|
|
14500
14500
|
function ti() {
|
|
14501
14501
|
var o = s.Promise;
|
|
14502
|
-
return
|
|
14502
|
+
return Ne ? { Promise: o, PromiseProp: Object.getOwnPropertyDescriptor(s, "Promise"), all: o.all, race: o.race, allSettled: o.allSettled, any: o.any, resolve: o.resolve, reject: o.reject } : {};
|
|
14503
14503
|
}
|
|
14504
14504
|
function Cn(o, l, d, p, g) {
|
|
14505
14505
|
var y = de;
|
|
@@ -14521,7 +14521,7 @@ function AS() {
|
|
|
14521
14521
|
};
|
|
14522
14522
|
}
|
|
14523
14523
|
function Or(o) {
|
|
14524
|
-
Promise ===
|
|
14524
|
+
Promise === Me && he.echoes === 0 ? gt === 0 ? o() : enqueueNativeMicroTask(o) : setTimeout(o, 0);
|
|
14525
14525
|
}
|
|
14526
14526
|
("" + on).indexOf("[native code]") === -1 && (At = Ze = Ie);
|
|
14527
14527
|
var ht = se.reject, Fe = "", Ct = "Invalid key provided. Keys must be of type string, number, Date or Array<string | number | Date>.", Nr = "String expected.", sn = [], Pr = "__dbnames", fr = "readonly", Js = "readwrite";
|
|
@@ -14535,7 +14535,7 @@ function AS() {
|
|
|
14535
14535
|
return typeof o != "string" || /\./.test(o) ? function(l) {
|
|
14536
14536
|
return l;
|
|
14537
14537
|
} : function(l) {
|
|
14538
|
-
return l[o] === void 0 && o in l && delete (l =
|
|
14538
|
+
return l[o] === void 0 && o in l && delete (l = Oe(l))[o], l;
|
|
14539
14539
|
};
|
|
14540
14540
|
}
|
|
14541
14541
|
function ll() {
|
|
@@ -14670,7 +14670,7 @@ function AS() {
|
|
|
14670
14670
|
return console.trace(k), ht(k);
|
|
14671
14671
|
})), T;
|
|
14672
14672
|
} finally {
|
|
14673
|
-
_ &&
|
|
14673
|
+
_ && je();
|
|
14674
14674
|
}
|
|
14675
14675
|
}, at.prototype.get = function(o, l) {
|
|
14676
14676
|
var d = this;
|
|
@@ -15192,21 +15192,21 @@ function AS() {
|
|
|
15192
15192
|
return (O ? Promise.resolve([]) : y.getMany({ trans: p, keys: V, cache: "immutable" })).then(function(te) {
|
|
15193
15193
|
var le = [], X = [], ne = E ? [] : null, ue = O ? V : [];
|
|
15194
15194
|
if (!O) for (var re = 0; re < W; ++re) {
|
|
15195
|
-
var ge = te[re],
|
|
15196
|
-
g.call(
|
|
15195
|
+
var ge = te[re], Le = { value: Oe(ge), primKey: N[F + re] };
|
|
15196
|
+
g.call(Le, Le.value, Le) !== !1 && (Le.value == null ? ue.push(N[F + re]) : E || $e(_(ge), _(Le.value)) === 0 ? (X.push(Le.value), E && ne.push(N[F + re])) : (ue.push(N[F + re]), le.push(Le.value)));
|
|
15197
15197
|
}
|
|
15198
|
-
return Promise.resolve(0 < le.length && y.mutate({ trans: p, type: "add", values: le }).then(function(
|
|
15199
|
-
for (var Ue in
|
|
15200
|
-
P(le.length,
|
|
15198
|
+
return Promise.resolve(0 < le.length && y.mutate({ trans: p, type: "add", values: le }).then(function(Be) {
|
|
15199
|
+
for (var Ue in Be.failures) ue.splice(parseInt(Ue), 1);
|
|
15200
|
+
P(le.length, Be);
|
|
15201
15201
|
})).then(function() {
|
|
15202
|
-
return (0 < X.length || B && typeof o == "object") && y.mutate({ trans: p, type: "put", keys: ne, values: X, criteria: B, changeSpec: typeof o != "function" && o, isAdditionalChunk: 0 < F }).then(function(
|
|
15203
|
-
return P(X.length,
|
|
15202
|
+
return (0 < X.length || B && typeof o == "object") && y.mutate({ trans: p, type: "put", keys: ne, values: X, criteria: B, changeSpec: typeof o != "function" && o, isAdditionalChunk: 0 < F }).then(function(Be) {
|
|
15203
|
+
return P(X.length, Be);
|
|
15204
15204
|
});
|
|
15205
15205
|
}).then(function() {
|
|
15206
|
-
return (0 < ue.length || B && O) && y.mutate({ trans: p, type: "delete", keys: ue, criteria: B, isAdditionalChunk: 0 < F }).then(function(
|
|
15207
|
-
return ji(d.table, ue,
|
|
15208
|
-
}).then(function(
|
|
15209
|
-
return P(ue.length,
|
|
15206
|
+
return (0 < ue.length || B && O) && y.mutate({ trans: p, type: "delete", keys: ue, criteria: B, isAdditionalChunk: 0 < F }).then(function(Be) {
|
|
15207
|
+
return ji(d.table, ue, Be);
|
|
15208
|
+
}).then(function(Be) {
|
|
15209
|
+
return P(ue.length, Be);
|
|
15210
15210
|
});
|
|
15211
15211
|
}).then(function() {
|
|
15212
15212
|
return N.length > F + W && L(F + T);
|
|
@@ -15293,12 +15293,12 @@ function AS() {
|
|
|
15293
15293
|
if (l(F, T, I)) return !0;
|
|
15294
15294
|
for (var W = null, V = I; V < R; ++V) {
|
|
15295
15295
|
var te = (function(le, X, ne, ue, re, ge) {
|
|
15296
|
-
for (var
|
|
15296
|
+
for (var Le = Math.min(le.length, ue.length), Be = -1, Ue = 0; Ue < Le; ++Ue) {
|
|
15297
15297
|
var Qt = X[Ue];
|
|
15298
|
-
if (Qt !== ue[Ue]) return re(le[Ue], ne[Ue]) < 0 ? le.substr(0, Ue) + ne[Ue] + ne.substr(Ue + 1) : re(le[Ue], ue[Ue]) < 0 ? le.substr(0, Ue) + ue[Ue] + ne.substr(Ue + 1) : 0 <=
|
|
15299
|
-
re(le[Ue], Qt) < 0 && (
|
|
15298
|
+
if (Qt !== ue[Ue]) return re(le[Ue], ne[Ue]) < 0 ? le.substr(0, Ue) + ne[Ue] + ne.substr(Ue + 1) : re(le[Ue], ue[Ue]) < 0 ? le.substr(0, Ue) + ue[Ue] + ne.substr(Ue + 1) : 0 <= Be ? le.substr(0, Be) + X[Be] + ne.substr(Be + 1) : null;
|
|
15299
|
+
re(le[Ue], Qt) < 0 && (Be = Ue);
|
|
15300
15300
|
}
|
|
15301
|
-
return
|
|
15301
|
+
return Le < ue.length && ge === "next" ? le + ne.substr(le.length) : Le < le.length && ge === "prev" ? le.substr(0, ne.length) : Be < 0 ? null : le.substr(0, Be) + ue[Be] + ne.substr(Be + 1);
|
|
15302
15302
|
})(B, F, _[V], T[V], E, k);
|
|
15303
15303
|
te === null && W === null ? I = V + 1 : (W === null || 0 < E(W, te)) && (W = te);
|
|
15304
15304
|
}
|
|
@@ -15611,36 +15611,36 @@ function AS() {
|
|
|
15611
15611
|
var re, ge = (F || W || { length: 1 }).length;
|
|
15612
15612
|
if (F && W && F.length !== W.length) throw new Error("Given keys array must have same length as given values array.");
|
|
15613
15613
|
if (ge === 0) return te({ numFailures: 0, failures: {}, results: [], lastResult: void 0 });
|
|
15614
|
-
function
|
|
15614
|
+
function Le($t) {
|
|
15615
15615
|
++Qt, oi($t);
|
|
15616
15616
|
}
|
|
15617
|
-
var
|
|
15617
|
+
var Be = [], Ue = [], Qt = 0;
|
|
15618
15618
|
if (B === "deleteRange") {
|
|
15619
15619
|
if (V.type === 4) return te({ numFailures: Qt, failures: Ue, results: [], lastResult: void 0 });
|
|
15620
|
-
V.type === 3 ?
|
|
15620
|
+
V.type === 3 ? Be.push(re = X.clear()) : Be.push(re = X.delete(p(V)));
|
|
15621
15621
|
} else {
|
|
15622
|
-
var ne = ue ? ne ? [W, F] : [W, null] : [F, null],
|
|
15623
|
-
if (ue) for (var Ht = 0; Ht < ge; ++Ht)
|
|
15624
|
-
else for (Ht = 0; Ht < ge; ++Ht)
|
|
15622
|
+
var ne = ue ? ne ? [W, F] : [W, null] : [F, null], Pe = ne[0], jt = ne[1];
|
|
15623
|
+
if (ue) for (var Ht = 0; Ht < ge; ++Ht) Be.push(re = jt && jt[Ht] !== void 0 ? X[B](Pe[Ht], jt[Ht]) : X[B](Pe[Ht])), re.onerror = Le;
|
|
15624
|
+
else for (Ht = 0; Ht < ge; ++Ht) Be.push(re = X[B](Pe[Ht])), re.onerror = Le;
|
|
15625
15625
|
}
|
|
15626
15626
|
function Xi($t) {
|
|
15627
|
-
$t = $t.target.result,
|
|
15627
|
+
$t = $t.target.result, Be.forEach(function(mr, Ao) {
|
|
15628
15628
|
return mr.error != null && (Ue[Ao] = mr.error);
|
|
15629
|
-
}), te({ numFailures: Qt, failures: Ue, results: B === "delete" ? F :
|
|
15629
|
+
}), te({ numFailures: Qt, failures: Ue, results: B === "delete" ? F : Be.map(function(mr) {
|
|
15630
15630
|
return mr.result;
|
|
15631
15631
|
}), lastResult: $t });
|
|
15632
15632
|
}
|
|
15633
15633
|
re.onerror = function($t) {
|
|
15634
|
-
|
|
15634
|
+
Le($t), Xi($t);
|
|
15635
15635
|
}, re.onsuccess = Xi;
|
|
15636
15636
|
});
|
|
15637
15637
|
}, getMany: function(N) {
|
|
15638
15638
|
var L = N.trans, B = N.keys;
|
|
15639
15639
|
return new Promise(function(F, W) {
|
|
15640
15640
|
F = G(F);
|
|
15641
|
-
for (var V, te = L.objectStore(O), le = B.length, X = new Array(le), ne = 0, ue = 0, re = function(
|
|
15642
|
-
|
|
15643
|
-
}, ge = _n(W),
|
|
15641
|
+
for (var V, te = L.objectStore(O), le = B.length, X = new Array(le), ne = 0, ue = 0, re = function(Be) {
|
|
15642
|
+
Be = Be.target, X[Be._pos] = Be.result, ++ue === ne && F(X);
|
|
15643
|
+
}, ge = _n(W), Le = 0; Le < le; ++Le) B[Le] != null && ((V = te.get(B[Le]))._pos = Le, V.onsuccess = re, V.onerror = ge, ++ne);
|
|
15644
15644
|
ne === 0 && F(X);
|
|
15645
15645
|
});
|
|
15646
15646
|
}, get: function(N) {
|
|
@@ -15660,8 +15660,8 @@ function AS() {
|
|
|
15660
15660
|
I ? ((X = te ? ue.getAll(re, X) : ue.getAllKeys(re, X)).onsuccess = function(ge) {
|
|
15661
15661
|
return L({ result: ge.target.result });
|
|
15662
15662
|
}, X.onerror = _n(B)) : (F = 0, W = !te && "openKeyCursor" in ue ? ue.openKeyCursor(re) : ue.openCursor(re), V = [], W.onsuccess = function(ge) {
|
|
15663
|
-
var
|
|
15664
|
-
return
|
|
15663
|
+
var Le = W.result;
|
|
15664
|
+
return Le ? (V.push(te ? Le.value : Le.primaryKey), ++F === le ? L({ result: V }) : void Le.continue()) : L({ result: V });
|
|
15665
15665
|
}, W.onerror = _n(B));
|
|
15666
15666
|
});
|
|
15667
15667
|
}), openCursor: function(N) {
|
|
@@ -15670,38 +15670,38 @@ function AS() {
|
|
|
15670
15670
|
te = G(te);
|
|
15671
15671
|
var ue = F.index, X = F.range, ne = L.objectStore(O), ne = ue.isPrimaryKey ? ne : ne.index(ue.name), ue = W ? V ? "prevunique" : "prev" : V ? "nextunique" : "next", re = !B && "openKeyCursor" in ne ? ne.openKeyCursor(p(X), ue) : ne.openCursor(p(X), ue);
|
|
15672
15672
|
re.onerror = _n(le), re.onsuccess = G(function(ge) {
|
|
15673
|
-
var
|
|
15674
|
-
|
|
15673
|
+
var Le, Be, Ue, Qt, Pe = re.result;
|
|
15674
|
+
Pe ? (Pe.___id = ++Pf, Pe.done = !1, Le = Pe.continue.bind(Pe), Be = (Be = Pe.continuePrimaryKey) && Be.bind(Pe), Ue = Pe.advance.bind(Pe), Qt = function() {
|
|
15675
15675
|
throw new Error("Cursor not stopped");
|
|
15676
|
-
},
|
|
15676
|
+
}, Pe.trans = L, Pe.stop = Pe.continue = Pe.continuePrimaryKey = Pe.advance = function() {
|
|
15677
15677
|
throw new Error("Cursor not started");
|
|
15678
|
-
},
|
|
15678
|
+
}, Pe.fail = G(le), Pe.next = function() {
|
|
15679
15679
|
var jt = this, Ht = 1;
|
|
15680
15680
|
return this.start(function() {
|
|
15681
15681
|
return Ht-- ? jt.continue() : jt.stop();
|
|
15682
15682
|
}).then(function() {
|
|
15683
15683
|
return jt;
|
|
15684
15684
|
});
|
|
15685
|
-
},
|
|
15685
|
+
}, Pe.start = function(jt) {
|
|
15686
15686
|
function Ht() {
|
|
15687
15687
|
if (re.result) try {
|
|
15688
15688
|
jt();
|
|
15689
15689
|
} catch ($t) {
|
|
15690
|
-
|
|
15690
|
+
Pe.fail($t);
|
|
15691
15691
|
}
|
|
15692
|
-
else
|
|
15692
|
+
else Pe.done = !0, Pe.start = function() {
|
|
15693
15693
|
throw new Error("Cursor behind last entry");
|
|
15694
|
-
},
|
|
15694
|
+
}, Pe.stop();
|
|
15695
15695
|
}
|
|
15696
15696
|
var Xi = new Promise(function($t, mr) {
|
|
15697
|
-
$t = G($t), re.onerror = _n(mr),
|
|
15698
|
-
|
|
15697
|
+
$t = G($t), re.onerror = _n(mr), Pe.fail = mr, Pe.stop = function(Ao) {
|
|
15698
|
+
Pe.stop = Pe.continue = Pe.continuePrimaryKey = Pe.advance = Qt, $t(Ao);
|
|
15699
15699
|
};
|
|
15700
15700
|
});
|
|
15701
15701
|
return re.onsuccess = G(function($t) {
|
|
15702
15702
|
re.onsuccess = Ht, Ht();
|
|
15703
|
-
}),
|
|
15704
|
-
}, te(
|
|
15703
|
+
}), Pe.continue = Le, Pe.continuePrimaryKey = Be, Pe.advance = Ue, Ht(), Xi;
|
|
15704
|
+
}, te(Pe)) : te(null);
|
|
15705
15705
|
}, le);
|
|
15706
15706
|
});
|
|
15707
15707
|
}, count: function(N) {
|
|
@@ -15809,7 +15809,7 @@ function AS() {
|
|
|
15809
15809
|
V.del.forEach(function(ue) {
|
|
15810
15810
|
le[ue] = F[ue];
|
|
15811
15811
|
}), oo(R, [R.Transaction.prototype]), zi(R, [R.Transaction.prototype], a(le), le), I.schema = le;
|
|
15812
|
-
var X, ne =
|
|
15812
|
+
var X, ne = He(te);
|
|
15813
15813
|
return ne && At(), V = se.follow(function() {
|
|
15814
15814
|
var ue;
|
|
15815
15815
|
(X = te(I)) && ne && (ue = Ze.bind(null, null), X.then(ue, ue));
|
|
@@ -16309,7 +16309,7 @@ function AS() {
|
|
|
16309
16309
|
function xl(o, l, d) {
|
|
16310
16310
|
try {
|
|
16311
16311
|
if (!l || l.keys.length < o.length) return null;
|
|
16312
|
-
for (var p = [], g = 0, y = 0; g < l.keys.length && y < o.length; ++g) $e(l.keys[g], o[y]) === 0 && (p.push(d ?
|
|
16312
|
+
for (var p = [], g = 0, y = 0; g < l.keys.length && y < o.length; ++g) $e(l.keys[g], o[y]) === 0 && (p.push(d ? Oe(l.values[g]) : l.values[g]), ++y);
|
|
16313
16313
|
return p.length === o.length ? p : null;
|
|
16314
16314
|
} catch {
|
|
16315
16315
|
return null;
|
|
@@ -16322,7 +16322,7 @@ function AS() {
|
|
|
16322
16322
|
if (!p.cache) return d.getMany(p);
|
|
16323
16323
|
var g = xl(p.keys, p.trans._cache, p.cache === "clone");
|
|
16324
16324
|
return g ? se.resolve(g) : d.getMany(p).then(function(y) {
|
|
16325
|
-
return p.trans._cache = { keys: p.keys, values: p.cache === "clone" ?
|
|
16325
|
+
return p.trans._cache = { keys: p.keys, values: p.cache === "clone" ? Oe(y) : y }, y;
|
|
16326
16326
|
});
|
|
16327
16327
|
}, mutate: function(p) {
|
|
16328
16328
|
return p.type !== "add" && (p.trans._cache = null), d.mutate(p);
|
|
@@ -16360,28 +16360,28 @@ function AS() {
|
|
|
16360
16360
|
}), I.values] : [], X = ue[0], ne = ue[1], ue = I.trans._cache;
|
|
16361
16361
|
return c(X) ? (V.addKeys(X), (ue = le === "delete" || X.length === ne.length ? xl(X, ue) : null) || te.addKeys(X), (ue || ne) && (N = O, L = ue, B = ne, y.indexes.forEach(function(re) {
|
|
16362
16362
|
var ge = N(re.name || "");
|
|
16363
|
-
function
|
|
16363
|
+
function Le(Ue) {
|
|
16364
16364
|
return Ue != null ? re.extractKey(Ue) : null;
|
|
16365
16365
|
}
|
|
16366
|
-
function
|
|
16366
|
+
function Be(Ue) {
|
|
16367
16367
|
return re.multiEntry && c(Ue) ? Ue.forEach(function(Qt) {
|
|
16368
16368
|
return ge.addKey(Qt);
|
|
16369
16369
|
}) : ge.addKey(Ue);
|
|
16370
16370
|
}
|
|
16371
16371
|
(L || B).forEach(function(Ue, jt) {
|
|
16372
|
-
var
|
|
16373
|
-
$e(
|
|
16372
|
+
var Pe = L && Le(L[jt]), jt = B && Le(B[jt]);
|
|
16373
|
+
$e(Pe, jt) !== 0 && (Pe != null && Be(Pe), jt != null && Be(jt));
|
|
16374
16374
|
});
|
|
16375
16375
|
}))) : X ? (ne = { from: (ne = X.lower) !== null && ne !== void 0 ? ne : o.MIN_KEY, to: (ne = X.upper) !== null && ne !== void 0 ? ne : o.MAX_KEY }, te.add(ne), V.add(ne)) : (V.add(d), te.add(d), y.indexes.forEach(function(re) {
|
|
16376
16376
|
return O(re.name).add(d);
|
|
16377
16377
|
})), g.mutate(I).then(function(re) {
|
|
16378
16378
|
return !X || I.type !== "add" && I.type !== "put" || (V.addKeys(re.results), k && k.forEach(function(ge) {
|
|
16379
|
-
for (var
|
|
16380
|
-
return ge.extractKey(
|
|
16381
|
-
}),
|
|
16382
|
-
return
|
|
16383
|
-
}), Ue = 0, Qt = re.results.length; Ue < Qt; ++Ue)
|
|
16384
|
-
O(ge.name).addKeys(
|
|
16379
|
+
for (var Le = I.values.map(function(Pe) {
|
|
16380
|
+
return ge.extractKey(Pe);
|
|
16381
|
+
}), Be = ge.keyPath.findIndex(function(Pe) {
|
|
16382
|
+
return Pe === E.keyPath;
|
|
16383
|
+
}), Ue = 0, Qt = re.results.length; Ue < Qt; ++Ue) Le[Ue][Be] = re.results[Ue];
|
|
16384
|
+
O(ge.name).addKeys(Le);
|
|
16385
16385
|
})), F.mutatedParts = Gi(F.mutatedParts || {}, W), re;
|
|
16386
16386
|
});
|
|
16387
16387
|
} }), R = function(O) {
|
|
@@ -16404,8 +16404,8 @@ function AS() {
|
|
|
16404
16404
|
var te = I === "query" && T && O.values && g.query(r(r({}, O), { values: !1 }));
|
|
16405
16405
|
return g[I].apply(this, arguments).then(function(ne) {
|
|
16406
16406
|
if (I === "query") {
|
|
16407
|
-
if (T && O.values) return te.then(function(
|
|
16408
|
-
return
|
|
16407
|
+
if (T && O.values) return te.then(function(Le) {
|
|
16408
|
+
return Le = Le.result, W.addKeys(Le), ne;
|
|
16409
16409
|
});
|
|
16410
16410
|
var ue = O.values ? ne.result.map(_) : ne.result;
|
|
16411
16411
|
(O.values ? W : V).addKeys(ue);
|
|
@@ -16414,8 +16414,8 @@ function AS() {
|
|
|
16414
16414
|
return re && Object.create(re, { key: { get: function() {
|
|
16415
16415
|
return V.addKey(re.primaryKey), re.key;
|
|
16416
16416
|
} }, primaryKey: { get: function() {
|
|
16417
|
-
var
|
|
16418
|
-
return V.addKey(
|
|
16417
|
+
var Le = re.primaryKey;
|
|
16418
|
+
return V.addKey(Le), Le;
|
|
16419
16419
|
} }, value: { get: function() {
|
|
16420
16420
|
return ge && W.addKey(re.primaryKey), re.value;
|
|
16421
16421
|
} } });
|
|
@@ -16576,7 +16576,7 @@ function AS() {
|
|
|
16576
16576
|
})) : E.then(function(T) {
|
|
16577
16577
|
var k = kl(0, r(r({}, y), { values: y.values.map(function(P, R) {
|
|
16578
16578
|
var j;
|
|
16579
|
-
return T.failures[R] ? P : (P = (j = g.keyPath) !== null && j !== void 0 && j.includes(".") ?
|
|
16579
|
+
return T.failures[R] ? P : (P = (j = g.keyPath) !== null && j !== void 0 && j.includes(".") ? Oe(P) : r({}, P), ie(P, g.keyPath, T.results[R]), P);
|
|
16580
16580
|
}) }), T);
|
|
16581
16581
|
_.optimisticOps.push(k), queueMicrotask(function() {
|
|
16582
16582
|
return y.mutatedParts && Yi(y.mutatedParts);
|
|
@@ -16609,7 +16609,7 @@ function AS() {
|
|
|
16609
16609
|
if (P && (P.res = N), E) {
|
|
16610
16610
|
for (var L = 0, B = N.length; L < B; ++L) Object.freeze(N[L]);
|
|
16611
16611
|
Object.freeze(N);
|
|
16612
|
-
} else O.result =
|
|
16612
|
+
} else O.result = Oe(N);
|
|
16613
16613
|
return O;
|
|
16614
16614
|
}).catch(function(O) {
|
|
16615
16615
|
return I && P && q(I, P), Promise.reject(O);
|
|
@@ -16757,7 +16757,7 @@ function AS() {
|
|
|
16757
16757
|
return k(P, R, j, null, O);
|
|
16758
16758
|
})) : ht(W);
|
|
16759
16759
|
}
|
|
16760
|
-
var B, F =
|
|
16760
|
+
var B, F = He(O);
|
|
16761
16761
|
return F && At(), N = se.follow(function() {
|
|
16762
16762
|
var W;
|
|
16763
16763
|
(B = O.call(L, L)) && (F ? (W = Ze.bind(null, null), B.then(W, W)) : typeof B.next == "function" && typeof B.throw == "function" && (B = yo(B)));
|
|
@@ -16886,7 +16886,7 @@ function AS() {
|
|
|
16886
16886
|
}
|
|
16887
16887
|
function Ol(o) {
|
|
16888
16888
|
var l, d = !1, p = new Qf(function(g) {
|
|
16889
|
-
var y =
|
|
16889
|
+
var y = He(o), E, _ = !1, T = {}, k = {}, P = { get closed() {
|
|
16890
16890
|
return _;
|
|
16891
16891
|
}, unsubscribe: function() {
|
|
16892
16892
|
_ || (_ = !0, E && E.abort(), R && Qn.storagemutated.unsubscribe(I));
|
|
@@ -16905,7 +16905,7 @@ function AS() {
|
|
|
16905
16905
|
var V = ft(o, F);
|
|
16906
16906
|
return V = y ? V.finally(Ze) : V;
|
|
16907
16907
|
} finally {
|
|
16908
|
-
W &&
|
|
16908
|
+
W && je();
|
|
16909
16909
|
}
|
|
16910
16910
|
})(L = { subscr: N, signal: E.signal, requery: j, querier: o, trans: null }), Promise.resolve(B).then(function(F) {
|
|
16911
16911
|
d = !0, l = F, _ || L.signal.aborted || (T = {}, (function(W) {
|
|
@@ -16992,7 +16992,7 @@ function AS() {
|
|
|
16992
16992
|
typeof l == "string" ? ie(o, l, void 0) : "length" in l && [].map.call(l, function(d) {
|
|
16993
16993
|
ie(o, d, void 0);
|
|
16994
16994
|
});
|
|
16995
|
-
}, shallowClone: ve, deepClone:
|
|
16995
|
+
}, shallowClone: ve, deepClone: Oe, getObjectDiff: bo, cmp: $e, asap: Q, minKey: -1 / 0, addons: [], connections: sn, errnames: bt, dependencies: Zi, cache: pr, semVer: "4.2.1", version: "4.2.1".split(".").map(function(o) {
|
|
16996
16996
|
return parseInt(o);
|
|
16997
16997
|
}).reduce(function(o, l, d) {
|
|
16998
16998
|
return o + l / Math.pow(10, 2 * d);
|
|
@@ -17281,7 +17281,7 @@ function OS({
|
|
|
17281
17281
|
}
|
|
17282
17282
|
}
|
|
17283
17283
|
], x = t.filter((D) => D.CourtDate ? new Date(D.CourtDate).getFullYear() === n.getFullYear() : !1).flatMap((D) => {
|
|
17284
|
-
const A = D.MultipleDates && D.MultipleDates.length > 0, M = {
|
|
17284
|
+
const A = Array.isArray(D.MultipleDates) && D.MultipleDates.length > 0, M = {
|
|
17285
17285
|
id: `${D.CourtDateID}`,
|
|
17286
17286
|
township: `${a(D.MuniCode)}${A ? " (day 1)" : ""}`,
|
|
17287
17287
|
county: c(D.MuniCode),
|
|
@@ -17343,48 +17343,55 @@ function NS({ apiKey: t, activeUser: e }) {
|
|
|
17343
17343
|
showOnlyUnsettled: !0,
|
|
17344
17344
|
showOnlyWithoutEvidence: !1,
|
|
17345
17345
|
showOnlyUnreviewed: !1
|
|
17346
|
-
}), [U, $] = be("dayGridMonth"), [Q, Y] = be(/* @__PURE__ */ new Date()), [ie, ve] = be(ke.DETAILS), [J, ye] = be(!1), [oe, Re] = be({}), [
|
|
17346
|
+
}), [U, $] = be("dayGridMonth"), [Q, Y] = be(/* @__PURE__ */ new Date()), [ie, ve] = be(ke.DETAILS), [J, ye] = be(!1), [oe, Re] = be({}), [Oe, ce] = be([]), [ee, K] = be(!1), [ae, q] = be([]), [pe, me] = be(!1), He = Tt(/* @__PURE__ */ new Set()), Ce = Tt(U);
|
|
17347
17347
|
async function qe(H) {
|
|
17348
17348
|
const Te = await MS();
|
|
17349
|
-
Te && Te.length > 0
|
|
17350
|
-
|
|
17351
|
-
|
|
17352
|
-
|
|
17353
|
-
|
|
17349
|
+
if (Te && Te.length > 0) {
|
|
17350
|
+
const Ee = Te.map((Me) => ({
|
|
17351
|
+
...Me,
|
|
17352
|
+
MultipleDates: Array.isArray(Me.MultipleDates) ? Me.MultipleDates.map((Ne) => Ne instanceof Date ? Ne : new Date(Ne)) : null
|
|
17353
|
+
}));
|
|
17354
|
+
c(Ee);
|
|
17355
|
+
} else
|
|
17356
|
+
zw(H).then(async (Ee) => {
|
|
17357
|
+
c(Ee), await au(Ee);
|
|
17358
|
+
}).catch((Ee) => {
|
|
17359
|
+
console.error("Failed to fetch court dates:", Ee);
|
|
17360
|
+
});
|
|
17354
17361
|
}
|
|
17355
17362
|
we(() => {
|
|
17356
17363
|
qe(t);
|
|
17357
17364
|
}, []);
|
|
17358
17365
|
function tt(H, Te) {
|
|
17359
|
-
c((
|
|
17360
|
-
const
|
|
17361
|
-
let
|
|
17362
|
-
return
|
|
17363
|
-
}), x((
|
|
17364
|
-
}
|
|
17365
|
-
function ut(H, Te,
|
|
17366
|
-
const
|
|
17367
|
-
if (!
|
|
17368
|
-
const
|
|
17369
|
-
tt(ot), pi(H,
|
|
17370
|
-
it || (tt(
|
|
17366
|
+
c((Ee) => {
|
|
17367
|
+
const Me = Ee.findIndex((ot) => ot.CourtDateID === H.CourtDateID);
|
|
17368
|
+
let Ne;
|
|
17369
|
+
return Me !== -1 ? (Ne = [...Ee], Te ? Ne.splice(Me, 1) : Ne[Me] = H) : Ne = [...Ee, H], queueMicrotask(() => au(Ne)), Ne;
|
|
17370
|
+
}), x((Ee) => Ee && Ee.CourtDateID === H.CourtDateID ? Te ? null : H : Ee);
|
|
17371
|
+
}
|
|
17372
|
+
function ut(H, Te, Ee) {
|
|
17373
|
+
const Me = a.find((it) => it.CourtDateID === H);
|
|
17374
|
+
if (!Me) return;
|
|
17375
|
+
const Ne = Te === "first" ? { FirstChair: Ee } : { SecondChair: Ee }, ot = { ...Me, ...Ne };
|
|
17376
|
+
tt(ot), pi(H, Ne, t, void 0, e).then((it) => {
|
|
17377
|
+
it || (tt(Me), console.error("Failed to update chair assignment, reverted"));
|
|
17371
17378
|
});
|
|
17372
17379
|
}
|
|
17373
17380
|
function yt(H, Te) {
|
|
17374
|
-
const
|
|
17375
|
-
return { filtered: Tf(
|
|
17381
|
+
const Ee = oe[H.toString()] || [], Me = Ee.length;
|
|
17382
|
+
return { filtered: Tf(Ee, A, Dr(Te)).length, total: Me };
|
|
17376
17383
|
}
|
|
17377
|
-
async function bt(H, Te,
|
|
17384
|
+
async function bt(H, Te, Ee) {
|
|
17378
17385
|
console.log(`Looking for ${H.length} court dates' cases...`), K(!0);
|
|
17379
|
-
const
|
|
17386
|
+
const Me = {}, Ne = [], ot = {}, it = [], mt = {}, xt = [];
|
|
17380
17387
|
H.forEach((dt) => {
|
|
17381
17388
|
const Ke = dt.toString();
|
|
17382
|
-
!Te && oe[Ke] ?
|
|
17389
|
+
!Te && oe[Ke] ? Me[Ke] = oe[Ke] : Ne.push(Ke);
|
|
17383
17390
|
}), console.log(
|
|
17384
|
-
`Found ${
|
|
17391
|
+
`Found ${Ne.length} missing from memory, checking cache for ${Ne.length} cases...`
|
|
17385
17392
|
);
|
|
17386
|
-
for (const dt of
|
|
17387
|
-
const Ke =
|
|
17393
|
+
for (const dt of Ne) {
|
|
17394
|
+
const Ke = Ee ? null : await TS(dt.toString());
|
|
17388
17395
|
Ke ? ot[dt] = Ke : it.push(dt);
|
|
17389
17396
|
}
|
|
17390
17397
|
if (await Ot(ot, !0), console.log(
|
|
@@ -17402,23 +17409,23 @@ function NS({ apiKey: t, activeUser: e }) {
|
|
|
17402
17409
|
})
|
|
17403
17410
|
);
|
|
17404
17411
|
return xt.length > 0 && console.error("Failed to fetch cases for court date IDs:", xt), K(!1), console.log(
|
|
17405
|
-
`Cases fetched - Memory: ${Object.keys(
|
|
17406
|
-
), { ...
|
|
17412
|
+
`Cases fetched - Memory: ${Object.keys(Me).length}, Cache: ${Object.keys(ot).length}, Fetched: ${Object.keys(mt).length}`
|
|
17413
|
+
), { ...Me, ...ot, ...mt };
|
|
17407
17414
|
}
|
|
17408
17415
|
async function Ot(H, Te) {
|
|
17409
17416
|
console.log(
|
|
17410
17417
|
`Adding ${Object.keys(H).length} partial cases to ${Te ? "memory only" : "memory and cache"}...`
|
|
17411
|
-
), Re((
|
|
17412
|
-
const
|
|
17413
|
-
return Object.entries(H).forEach(([
|
|
17414
|
-
Ne
|
|
17415
|
-
}),
|
|
17416
|
-
}), !Te && await Promise.all(Object.entries(H).map(([
|
|
17418
|
+
), Re((Ee) => {
|
|
17419
|
+
const Me = { ...Ee };
|
|
17420
|
+
return Object.entries(H).forEach(([Ne, ot]) => {
|
|
17421
|
+
Me[Ne.toString()] = ot;
|
|
17422
|
+
}), Me;
|
|
17423
|
+
}), !Te && await Promise.all(Object.entries(H).map(([Ee, Me]) => kS(Ee, Me)));
|
|
17417
17424
|
}
|
|
17418
17425
|
async function fe(H) {
|
|
17419
17426
|
Re((Te) => {
|
|
17420
|
-
const
|
|
17421
|
-
return delete
|
|
17427
|
+
const Ee = { ...Te };
|
|
17428
|
+
return delete Ee[H], Ee;
|
|
17422
17429
|
}), await IS(H);
|
|
17423
17430
|
}
|
|
17424
17431
|
const Ge = ln(() => a.map((H) => H.CourtDateID).join(","), [a]);
|
|
@@ -17450,11 +17457,11 @@ function NS({ apiKey: t, activeUser: e }) {
|
|
|
17450
17457
|
}, [rt]), we(() => {
|
|
17451
17458
|
const H = (Te) => {
|
|
17452
17459
|
if (Te.button !== 0) return;
|
|
17453
|
-
const
|
|
17454
|
-
if (
|
|
17455
|
-
const { offsetWidth:
|
|
17456
|
-
if (console.log(
|
|
17457
|
-
const mt =
|
|
17460
|
+
const Ee = Te.target;
|
|
17461
|
+
if (Ee && Ee.classList.contains("fc-daygrid-day-events")) {
|
|
17462
|
+
const { offsetWidth: Me, clientWidth: Ne, offsetHeight: ot, clientHeight: it } = Ee;
|
|
17463
|
+
if (console.log(Me, Ne, ot, it), Me > Ne - 10) {
|
|
17464
|
+
const mt = Ne;
|
|
17458
17465
|
if (Te.offsetX >= mt - 10) {
|
|
17459
17466
|
ye(!0);
|
|
17460
17467
|
return;
|
|
@@ -17536,18 +17543,18 @@ function NS({ apiKey: t, activeUser: e }) {
|
|
|
17536
17543
|
}
|
|
17537
17544
|
return !0;
|
|
17538
17545
|
}), [a, A, e, oe, ae]), St = ln(() => A.showCourtDates ? Nt.filter((H) => H.CourtDate !== null).filter((H) => !H.IsAdjourned).map((H) => {
|
|
17539
|
-
const { filtered: Te, total:
|
|
17546
|
+
const { filtered: Te, total: Ee } = yt(H.CourtDateID, H.MuniCode), Me = Array.isArray(H.MultipleDates) && H.MultipleDates.length > 0;
|
|
17540
17547
|
return {
|
|
17541
17548
|
id: H.CourtDateID.toString(),
|
|
17542
|
-
title: `${n(H.MuniCode)} (${H.MuniCode}) x${Te} (${
|
|
17549
|
+
title: `${n(H.MuniCode)} (${H.MuniCode}) x${Te} (${Ee})${Me ? " (day 1)" : ""}`,
|
|
17543
17550
|
start: H.CourtDate,
|
|
17544
17551
|
allDay: !1,
|
|
17545
17552
|
extendedProps: H,
|
|
17546
17553
|
classNames: ["courtdate-event", H.Type?.toString().toLowerCase() || "unknown"]
|
|
17547
17554
|
};
|
|
17548
|
-
}) : [], [Nt, A, n, oe]), cn = ln(() => A.showCourtDates ? Nt.flatMap((H) => !H.MultipleDates || H.MultipleDates.length === 0 ? [] : H.MultipleDates.map((Te,
|
|
17549
|
-
id: `multipledate-${H.CourtDateID}-${
|
|
17550
|
-
title: `${n(H.MuniCode)} (${H.MuniCode}) (day ${
|
|
17555
|
+
}) : [], [Nt, A, n, oe]), cn = ln(() => A.showCourtDates ? Nt.flatMap((H) => !Array.isArray(H.MultipleDates) || H.MultipleDates.length === 0 ? [] : H.MultipleDates.map((Te, Ee) => ({
|
|
17556
|
+
id: `multipledate-${H.CourtDateID}-${Ee}`,
|
|
17557
|
+
title: `${n(H.MuniCode)} (${H.MuniCode}) (day ${Ee + 2})`,
|
|
17551
17558
|
start: Te,
|
|
17552
17559
|
allDay: !1,
|
|
17553
17560
|
extendedProps: H,
|
|
@@ -17600,19 +17607,19 @@ function NS({ apiKey: t, activeUser: e }) {
|
|
|
17600
17607
|
return () => clearTimeout(H);
|
|
17601
17608
|
}, [pe]);
|
|
17602
17609
|
function tn(H) {
|
|
17603
|
-
let Te = [],
|
|
17604
|
-
i && (
|
|
17610
|
+
let Te = [], Ee = 0, Me = null, Ne = null;
|
|
17611
|
+
i && (Me = i.view.activeStart, Ne = i.view.activeEnd);
|
|
17605
17612
|
function ot(Ke) {
|
|
17606
|
-
if (!
|
|
17613
|
+
if (!Me || !Ne) return !0;
|
|
17607
17614
|
const ze = new Date(Ke.start);
|
|
17608
|
-
return Ke.allDay, ze >=
|
|
17615
|
+
return Ke.allDay, ze >= Me && ze < Ne;
|
|
17609
17616
|
}
|
|
17610
17617
|
Array.isArray(u) && (Te = u.filter(ot).filter((Ke) => {
|
|
17611
17618
|
const ze = Ke.id?.toString();
|
|
17612
|
-
return ze && !
|
|
17613
|
-
}),
|
|
17619
|
+
return ze && !He.current.has(ze);
|
|
17620
|
+
}), Ee = Te.findIndex((Ke) => Ke.id === H.event.id));
|
|
17614
17621
|
const it = H.event.id?.toString();
|
|
17615
|
-
it && !
|
|
17622
|
+
it && !He.current.has(it) ? (H.el.classList.add("pop-in-ccalendar-event"), H.el.style.animationDelay = `${30 * (Ee >= 0 ? Ee : 0)}ms`) : (H.el.classList.remove("pop-in-ccalendar-event"), H.el.style.animationDelay = "0ms");
|
|
17616
17623
|
const { filtered: mt, total: xt } = yt(
|
|
17617
17624
|
H.event.extendedProps.CourtDateID,
|
|
17618
17625
|
H.event.extendedProps.MuniCode
|
|
@@ -17631,8 +17638,8 @@ function NS({ apiKey: t, activeUser: e }) {
|
|
|
17631
17638
|
}
|
|
17632
17639
|
return we(() => {
|
|
17633
17640
|
if (Array.isArray(u)) {
|
|
17634
|
-
const H = new Set(u.map((
|
|
17635
|
-
|
|
17641
|
+
const H = new Set(u.map((Ee) => Ee.id?.toString()).filter(Boolean)), Te = setTimeout(() => {
|
|
17642
|
+
He.current = H;
|
|
17636
17643
|
}, 0);
|
|
17637
17644
|
return () => clearTimeout(Te);
|
|
17638
17645
|
}
|
|
@@ -17654,7 +17661,7 @@ function NS({ apiKey: t, activeUser: e }) {
|
|
|
17654
17661
|
isAdmin: r
|
|
17655
17662
|
}
|
|
17656
17663
|
),
|
|
17657
|
-
U === "listDay" && /* @__PURE__ */ w(Ye, { spacing: 2, direction: "column", px: 1, mb: 1, children: Object.values(u).filter((H) => new Date(H.start).toDateString() === Q.toDateString()).filter((H) => H.extendedProps.Notes && H.extendedProps.Notes !== "").map((H) => /* @__PURE__ */ w(
|
|
17664
|
+
U === "listDay" && /* @__PURE__ */ w(Ye, { spacing: 2, direction: "column", px: 1, mb: 1, children: Object.values(u).filter((H) => new Date(H.start).toDateString() === Q.toDateString()).filter((H) => H.extendedProps.Notes && H.extendedProps.Notes !== "").map((H) => /* @__PURE__ */ w(Se, { children: `${H.title} - ${H.extendedProps.Notes}` }, H.id)) }),
|
|
17658
17665
|
U !== "tableView" && /* @__PURE__ */ w(
|
|
17659
17666
|
Gd,
|
|
17660
17667
|
{
|
|
@@ -17701,7 +17708,7 @@ function NS({ apiKey: t, activeUser: e }) {
|
|
|
17701
17708
|
updateCourtDateInMemory: tt,
|
|
17702
17709
|
filterCtx: A,
|
|
17703
17710
|
setFilterCtx: M,
|
|
17704
|
-
selectedCases:
|
|
17711
|
+
selectedCases: Oe,
|
|
17705
17712
|
updateCases: (H) => {
|
|
17706
17713
|
Ot(H, !1);
|
|
17707
17714
|
},
|