backflow-ui-renderer 0.1.45 → 0.1.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -8436,21 +8436,21 @@ function tz(e, t, n) {
8436
8436
  return isNaN(at) ? 0 : at;
8437
8437
  }, C = (it) => {
8438
8438
  if (!it) return "Earlier";
8439
- const ot = new Date(it), at = /* @__PURE__ */ new Date(), ft = (St) => `${St.getFullYear()}-${St.getMonth()}-${St.getDate()}`;
8440
- if (ft(ot) === ft(at)) return "Today";
8439
+ const ot = new Date(it), at = /* @__PURE__ */ new Date(), dt = (St) => `${St.getFullYear()}-${St.getMonth()}-${St.getDate()}`;
8440
+ if (dt(ot) === dt(at)) return "Today";
8441
8441
  const pt = new Date(at);
8442
- return pt.setDate(at.getDate() - 1), ft(ot) === ft(pt) ? "Yesterday" : ot.toLocaleDateString();
8442
+ return pt.setDate(at.getDate() - 1), dt(ot) === dt(pt) ? "Yesterday" : ot.toLocaleDateString();
8443
8443
  }, T = ((tt = t.sort) == null ? void 0 : tt.field) || S ? [...d].sort((it, ot) => {
8444
- var ft;
8444
+ var dt;
8445
8445
  const at = A(ot) - A(it);
8446
- return ((ft = t.sort) == null ? void 0 : ft.direction) === "asc" ? -at : at;
8446
+ return ((dt = t.sort) == null ? void 0 : dt.direction) === "asc" ? -at : at;
8447
8447
  }) : d, O = String(e.sceneData.recordingSearchApplied || "").trim().toLowerCase(), [N, R] = String(
8448
8448
  e.sceneData.recordingDateFilterApplied || ""
8449
8449
  ).split("|"), V = N ? Date.parse(`${N}T00:00:00`) : 0, B = R ? Date.parse(`${R}T23:59:59.999`) : Number.POSITIVE_INFINITY, D = (st = t.itemsFilter) != null && st.eq ? e.interpolateText(String(t.itemsFilter.eq)) : "", q = ((G = t.itemsFilter) != null && G.field && D ? T.filter(
8450
8450
  (it) => String(it == null ? void 0 : it[t.itemsFilter.field]) === D
8451
8451
  ) : T).filter((it) => {
8452
8452
  const ot = !O || [it.url, it.title, it.prompt].some(
8453
- (ft) => String(ft || "").toLowerCase().includes(O)
8453
+ (dt) => String(dt || "").toLowerCase().includes(O)
8454
8454
  ), at = A(it);
8455
8455
  return ot && at >= V && at <= B;
8456
8456
  }), W = {};
@@ -8458,7 +8458,7 @@ function tz(e, t, n) {
8458
8458
  for (const it of q)
8459
8459
  (W[nt = C(A(it))] || (W[nt] = [])).push(it);
8460
8460
  const K = (it, ot) => {
8461
- var at, ft, pt, St, _t, ct, ht, Pt;
8461
+ var at, dt, pt, St, _t, ct, ht, Pt;
8462
8462
  if (t.renderItem) {
8463
8463
  const et = JSON.parse(JSON.stringify(t.renderItem)), kt = { ...it };
8464
8464
  if (t.labelField && t.labelMap) {
@@ -8616,7 +8616,7 @@ function tz(e, t, n) {
8616
8616
  width: "100%",
8617
8617
  textAlign: "left",
8618
8618
  padding: "1rem 2rem",
8619
- border: `1px solid ${Xt ? ((ft = t.selectionStyle) == null ? void 0 : ft.selectedBorderColor) || e.cfg.colors.accent || "#fff" : ((pt = t.selectionStyle) == null ? void 0 : pt.borderColor) || e.cfg.colors.border}`,
8619
+ border: `1px solid ${Xt ? ((dt = t.selectionStyle) == null ? void 0 : dt.selectedBorderColor) || e.cfg.colors.accent || "#fff" : ((pt = t.selectionStyle) == null ? void 0 : pt.borderColor) || e.cfg.colors.border}`,
8620
8620
  borderRadius: ((St = t.selectionStyle) == null ? void 0 : St.borderRadius) || e.cfg.components.inputRadius || "8px",
8621
8621
  marginBottom: "0.5rem",
8622
8622
  backgroundColor: Xt ? ((_t = t.selectionStyle) == null ? void 0 : _t.selectedBackgroundColor) || e.cfg.colors.surface : "transparent",
@@ -8908,12 +8908,12 @@ function ez({
8908
8908
  }
8909
8909
  },
8910
8910
  (Array.isArray(q.fieldOptions) ? q.fieldOptions : []).map(
8911
- (at, ft) => {
8911
+ (at, dt) => {
8912
8912
  const pt = ot.includes(at.value);
8913
8913
  return U(
8914
8914
  "label",
8915
8915
  {
8916
- key: ft,
8916
+ key: dt,
8917
8917
  style: {
8918
8918
  display: "flex",
8919
8919
  alignItems: "center",
@@ -16429,7 +16429,7 @@ function rV() {
16429
16429
  function at(yt) {
16430
16430
  return typeof yt == "object" && yt !== null && yt.$$typeof === e;
16431
16431
  }
16432
- function ft(yt) {
16432
+ function dt(yt) {
16433
16433
  return w(yt) === c;
16434
16434
  }
16435
16435
  function pt(yt) {
@@ -16456,7 +16456,7 @@ function rV() {
16456
16456
  function kt(yt) {
16457
16457
  return w(yt) === u;
16458
16458
  }
16459
- ge.ContextConsumer = T, ge.ContextProvider = O, ge.Element = N, ge.ForwardRef = R, ge.Fragment = V, ge.Lazy = B, ge.Memo = D, ge.Portal = J, ge.Profiler = q, ge.StrictMode = W, ge.Suspense = K, ge.SuspenseList = Y, ge.isAsyncMode = G, ge.isConcurrentMode = nt, ge.isContextConsumer = it, ge.isContextProvider = ot, ge.isElement = at, ge.isForwardRef = ft, ge.isFragment = pt, ge.isLazy = St, ge.isMemo = _t, ge.isPortal = ct, ge.isProfiler = ht, ge.isStrictMode = Pt, ge.isSuspense = et, ge.isSuspenseList = kt, ge.isValidElementType = C, ge.typeOf = w;
16459
+ ge.ContextConsumer = T, ge.ContextProvider = O, ge.Element = N, ge.ForwardRef = R, ge.Fragment = V, ge.Lazy = B, ge.Memo = D, ge.Portal = J, ge.Profiler = q, ge.StrictMode = W, ge.Suspense = K, ge.SuspenseList = Y, ge.isAsyncMode = G, ge.isConcurrentMode = nt, ge.isContextConsumer = it, ge.isContextProvider = ot, ge.isElement = at, ge.isForwardRef = dt, ge.isFragment = pt, ge.isLazy = St, ge.isMemo = _t, ge.isPortal = ct, ge.isProfiler = ht, ge.isStrictMode = Pt, ge.isSuspense = et, ge.isSuspenseList = kt, ge.isValidElementType = C, ge.typeOf = w;
16460
16460
  }()), ge;
16461
16461
  }
16462
16462
  process.env.NODE_ENV === "production" ? zy.exports = nV() : zy.exports = rV();
@@ -21991,7 +21991,7 @@ function GX(e) {
21991
21991
  }, C = {
21992
21992
  a: ot,
21993
21993
  A: at,
21994
- b: ft,
21994
+ b: dt,
21995
21995
  B: pt,
21996
21996
  c: null,
21997
21997
  d: yP,
@@ -22140,7 +22140,7 @@ function GX(e) {
22140
22140
  function at(ct) {
22141
22141
  return o[ct.getUTCDay()];
22142
22142
  }
22143
- function ft(ct) {
22143
+ function dt(ct) {
22144
22144
  return c[ct.getUTCMonth()];
22145
22145
  }
22146
22146
  function pt(ct) {
@@ -25422,7 +25422,7 @@ function Qet() {
25422
25422
  function at(et) {
25423
25423
  return C(et) === u;
25424
25424
  }
25425
- function ft(et) {
25425
+ function dt(et) {
25426
25426
  return C(et) === r;
25427
25427
  }
25428
25428
  function pt(et) {
@@ -25443,7 +25443,7 @@ function Qet() {
25443
25443
  function Pt(et) {
25444
25444
  return C(et) === d;
25445
25445
  }
25446
- ve.AsyncMode = w, ve.ConcurrentMode = T, ve.ContextConsumer = O, ve.ContextProvider = N, ve.Element = R, ve.ForwardRef = V, ve.Fragment = B, ve.Lazy = D, ve.Memo = J, ve.Portal = q, ve.Profiler = W, ve.StrictMode = K, ve.Suspense = Y, ve.isAsyncMode = st, ve.isConcurrentMode = G, ve.isContextConsumer = nt, ve.isContextProvider = it, ve.isElement = ot, ve.isForwardRef = at, ve.isFragment = ft, ve.isLazy = pt, ve.isMemo = St, ve.isPortal = _t, ve.isProfiler = ct, ve.isStrictMode = ht, ve.isSuspense = Pt, ve.isValidElementType = A, ve.typeOf = C;
25446
+ ve.AsyncMode = w, ve.ConcurrentMode = T, ve.ContextConsumer = O, ve.ContextProvider = N, ve.Element = R, ve.ForwardRef = V, ve.Fragment = B, ve.Lazy = D, ve.Memo = J, ve.Portal = q, ve.Profiler = W, ve.StrictMode = K, ve.Suspense = Y, ve.isAsyncMode = st, ve.isConcurrentMode = G, ve.isContextConsumer = nt, ve.isContextProvider = it, ve.isElement = ot, ve.isForwardRef = at, ve.isFragment = dt, ve.isLazy = pt, ve.isMemo = St, ve.isPortal = _t, ve.isProfiler = ct, ve.isStrictMode = ht, ve.isSuspense = Pt, ve.isValidElementType = A, ve.typeOf = C;
25447
25447
  }()), ve;
25448
25448
  }
25449
25449
  var ZP;
@@ -25616,7 +25616,7 @@ function nnt() {
25616
25616
  function v(G) {
25617
25617
  if (process.env.NODE_ENV !== "production")
25618
25618
  var nt = {}, it = 0;
25619
- function ot(ft, pt, St, _t, ct, ht, Pt) {
25619
+ function ot(dt, pt, St, _t, ct, ht, Pt) {
25620
25620
  if (_t = _t || m, ht = ht || St, Pt !== n) {
25621
25621
  if (c) {
25622
25622
  var et = new Error(
@@ -25631,18 +25631,18 @@ function nnt() {
25631
25631
  ), nt[kt] = !0, it++);
25632
25632
  }
25633
25633
  }
25634
- return pt[St] == null ? ft ? pt[St] === null ? new p("The " + ct + " `" + ht + "` is marked as required " + ("in `" + _t + "`, but its value is `null`.")) : new p("The " + ct + " `" + ht + "` is marked as required in " + ("`" + _t + "`, but its value is `undefined`.")) : null : G(pt, St, _t, ct, ht);
25634
+ return pt[St] == null ? dt ? pt[St] === null ? new p("The " + ct + " `" + ht + "` is marked as required " + ("in `" + _t + "`, but its value is `null`.")) : new p("The " + ct + " `" + ht + "` is marked as required in " + ("`" + _t + "`, but its value is `undefined`.")) : null : G(pt, St, _t, ct, ht);
25635
25635
  }
25636
25636
  var at = ot.bind(null, !1);
25637
25637
  return at.isRequired = ot.bind(null, !0), at;
25638
25638
  }
25639
25639
  function P(G) {
25640
- function nt(it, ot, at, ft, pt, St) {
25640
+ function nt(it, ot, at, dt, pt, St) {
25641
25641
  var _t = it[ot], ct = K(_t);
25642
25642
  if (ct !== G) {
25643
25643
  var ht = Y(_t);
25644
25644
  return new p(
25645
- "Invalid " + ft + " `" + pt + "` of type " + ("`" + ht + "` supplied to `" + at + "`, expected ") + ("`" + G + "`."),
25645
+ "Invalid " + dt + " `" + pt + "` of type " + ("`" + ht + "` supplied to `" + at + "`, expected ") + ("`" + G + "`."),
25646
25646
  { expectedType: G }
25647
25647
  );
25648
25648
  }
@@ -25654,16 +25654,16 @@ function nnt() {
25654
25654
  return v(s);
25655
25655
  }
25656
25656
  function A(G) {
25657
- function nt(it, ot, at, ft, pt) {
25657
+ function nt(it, ot, at, dt, pt) {
25658
25658
  if (typeof G != "function")
25659
25659
  return new p("Property `" + pt + "` of component `" + at + "` has invalid PropType notation inside arrayOf.");
25660
25660
  var St = it[ot];
25661
25661
  if (!Array.isArray(St)) {
25662
25662
  var _t = K(St);
25663
- return new p("Invalid " + ft + " `" + pt + "` of type " + ("`" + _t + "` supplied to `" + at + "`, expected an array."));
25663
+ return new p("Invalid " + dt + " `" + pt + "` of type " + ("`" + _t + "` supplied to `" + at + "`, expected an array."));
25664
25664
  }
25665
25665
  for (var ct = 0; ct < St.length; ct++) {
25666
- var ht = G(St, ct, at, ft, pt + "[" + ct + "]", n);
25666
+ var ht = G(St, ct, at, dt, pt + "[" + ct + "]", n);
25667
25667
  if (ht instanceof Error)
25668
25668
  return ht;
25669
25669
  }
@@ -25672,32 +25672,32 @@ function nnt() {
25672
25672
  return v(nt);
25673
25673
  }
25674
25674
  function C() {
25675
- function G(nt, it, ot, at, ft) {
25675
+ function G(nt, it, ot, at, dt) {
25676
25676
  var pt = nt[it];
25677
25677
  if (!l(pt)) {
25678
25678
  var St = K(pt);
25679
- return new p("Invalid " + at + " `" + ft + "` of type " + ("`" + St + "` supplied to `" + ot + "`, expected a single ReactElement."));
25679
+ return new p("Invalid " + at + " `" + dt + "` of type " + ("`" + St + "` supplied to `" + ot + "`, expected a single ReactElement."));
25680
25680
  }
25681
25681
  return null;
25682
25682
  }
25683
25683
  return v(G);
25684
25684
  }
25685
25685
  function w() {
25686
- function G(nt, it, ot, at, ft) {
25686
+ function G(nt, it, ot, at, dt) {
25687
25687
  var pt = nt[it];
25688
25688
  if (!e.isValidElementType(pt)) {
25689
25689
  var St = K(pt);
25690
- return new p("Invalid " + at + " `" + ft + "` of type " + ("`" + St + "` supplied to `" + ot + "`, expected a single ReactElement type."));
25690
+ return new p("Invalid " + at + " `" + dt + "` of type " + ("`" + St + "` supplied to `" + ot + "`, expected a single ReactElement type."));
25691
25691
  }
25692
25692
  return null;
25693
25693
  }
25694
25694
  return v(G);
25695
25695
  }
25696
25696
  function T(G) {
25697
- function nt(it, ot, at, ft, pt) {
25697
+ function nt(it, ot, at, dt, pt) {
25698
25698
  if (!(it[ot] instanceof G)) {
25699
25699
  var St = G.name || m, _t = st(it[ot]);
25700
- return new p("Invalid " + ft + " `" + pt + "` of type " + ("`" + _t + "` supplied to `" + at + "`, expected ") + ("instance of `" + St + "`."));
25700
+ return new p("Invalid " + dt + " `" + pt + "` of type " + ("`" + _t + "` supplied to `" + at + "`, expected ") + ("instance of `" + St + "`."));
25701
25701
  }
25702
25702
  return null;
25703
25703
  }
@@ -25708,7 +25708,7 @@ function nnt() {
25708
25708
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? o(
25709
25709
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
25710
25710
  ) : o("Invalid argument supplied to oneOf, expected an array.")), s;
25711
- function nt(it, ot, at, ft, pt) {
25711
+ function nt(it, ot, at, dt, pt) {
25712
25712
  for (var St = it[ot], _t = 0; _t < G.length; _t++)
25713
25713
  if (b(St, G[_t]))
25714
25714
  return null;
@@ -25716,20 +25716,20 @@ function nnt() {
25716
25716
  var kt = Y(et);
25717
25717
  return kt === "symbol" ? String(et) : et;
25718
25718
  });
25719
- return new p("Invalid " + ft + " `" + pt + "` of value `" + String(St) + "` " + ("supplied to `" + at + "`, expected one of " + ct + "."));
25719
+ return new p("Invalid " + dt + " `" + pt + "` of value `" + String(St) + "` " + ("supplied to `" + at + "`, expected one of " + ct + "."));
25720
25720
  }
25721
25721
  return v(nt);
25722
25722
  }
25723
25723
  function N(G) {
25724
- function nt(it, ot, at, ft, pt) {
25724
+ function nt(it, ot, at, dt, pt) {
25725
25725
  if (typeof G != "function")
25726
25726
  return new p("Property `" + pt + "` of component `" + at + "` has invalid PropType notation inside objectOf.");
25727
25727
  var St = it[ot], _t = K(St);
25728
25728
  if (_t !== "object")
25729
- return new p("Invalid " + ft + " `" + pt + "` of type " + ("`" + _t + "` supplied to `" + at + "`, expected an object."));
25729
+ return new p("Invalid " + dt + " `" + pt + "` of type " + ("`" + _t + "` supplied to `" + at + "`, expected an object."));
25730
25730
  for (var ct in St)
25731
25731
  if (r(St, ct)) {
25732
- var ht = G(St, ct, at, ft, pt + "." + ct, n);
25732
+ var ht = G(St, ct, at, dt, pt + "." + ct, n);
25733
25733
  if (ht instanceof Error)
25734
25734
  return ht;
25735
25735
  }
@@ -25747,9 +25747,9 @@ function nnt() {
25747
25747
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + tt(it) + " at index " + nt + "."
25748
25748
  ), s;
25749
25749
  }
25750
- function ot(at, ft, pt, St, _t) {
25750
+ function ot(at, dt, pt, St, _t) {
25751
25751
  for (var ct = [], ht = 0; ht < G.length; ht++) {
25752
- var Pt = G[ht], et = Pt(at, ft, pt, St, _t, n);
25752
+ var Pt = G[ht], et = Pt(at, dt, pt, St, _t, n);
25753
25753
  if (et == null)
25754
25754
  return null;
25755
25755
  et.data && r(et.data, "expectedType") && ct.push(et.data.expectedType);
@@ -25760,8 +25760,8 @@ function nnt() {
25760
25760
  return v(ot);
25761
25761
  }
25762
25762
  function V() {
25763
- function G(nt, it, ot, at, ft) {
25764
- return q(nt[it]) ? null : new p("Invalid " + at + " `" + ft + "` supplied to " + ("`" + ot + "`, expected a ReactNode."));
25763
+ function G(nt, it, ot, at, dt) {
25764
+ return q(nt[it]) ? null : new p("Invalid " + at + " `" + dt + "` supplied to " + ("`" + ot + "`, expected a ReactNode."));
25765
25765
  }
25766
25766
  return v(G);
25767
25767
  }
@@ -25771,15 +25771,15 @@ function nnt() {
25771
25771
  );
25772
25772
  }
25773
25773
  function D(G) {
25774
- function nt(it, ot, at, ft, pt) {
25774
+ function nt(it, ot, at, dt, pt) {
25775
25775
  var St = it[ot], _t = K(St);
25776
25776
  if (_t !== "object")
25777
- return new p("Invalid " + ft + " `" + pt + "` of type `" + _t + "` " + ("supplied to `" + at + "`, expected `object`."));
25777
+ return new p("Invalid " + dt + " `" + pt + "` of type `" + _t + "` " + ("supplied to `" + at + "`, expected `object`."));
25778
25778
  for (var ct in G) {
25779
25779
  var ht = G[ct];
25780
25780
  if (typeof ht != "function")
25781
- return B(at, ft, pt, ct, Y(ht));
25782
- var Pt = ht(St, ct, at, ft, pt + "." + ct, n);
25781
+ return B(at, dt, pt, ct, Y(ht));
25782
+ var Pt = ht(St, ct, at, dt, pt + "." + ct, n);
25783
25783
  if (Pt)
25784
25784
  return Pt;
25785
25785
  }
@@ -25788,21 +25788,21 @@ function nnt() {
25788
25788
  return v(nt);
25789
25789
  }
25790
25790
  function J(G) {
25791
- function nt(it, ot, at, ft, pt) {
25791
+ function nt(it, ot, at, dt, pt) {
25792
25792
  var St = it[ot], _t = K(St);
25793
25793
  if (_t !== "object")
25794
- return new p("Invalid " + ft + " `" + pt + "` of type `" + _t + "` " + ("supplied to `" + at + "`, expected `object`."));
25794
+ return new p("Invalid " + dt + " `" + pt + "` of type `" + _t + "` " + ("supplied to `" + at + "`, expected `object`."));
25795
25795
  var ct = t({}, it[ot], G);
25796
25796
  for (var ht in ct) {
25797
25797
  var Pt = G[ht];
25798
25798
  if (r(G, ht) && typeof Pt != "function")
25799
- return B(at, ft, pt, ht, Y(Pt));
25799
+ return B(at, dt, pt, ht, Y(Pt));
25800
25800
  if (!Pt)
25801
25801
  return new p(
25802
- "Invalid " + ft + " `" + pt + "` key `" + ht + "` supplied to `" + at + "`.\nBad object: " + JSON.stringify(it[ot], null, " ") + `
25802
+ "Invalid " + dt + " `" + pt + "` key `" + ht + "` supplied to `" + at + "`.\nBad object: " + JSON.stringify(it[ot], null, " ") + `
25803
25803
  Valid keys: ` + JSON.stringify(Object.keys(G), null, " ")
25804
25804
  );
25805
- var et = Pt(St, ht, at, ft, pt + "." + ht, n);
25805
+ var et = Pt(St, ht, at, dt, pt + "." + ht, n);
25806
25806
  if (et)
25807
25807
  return et;
25808
25808
  }
@@ -29843,15 +29843,15 @@ es(Ia, "getComposedData", function(e) {
29843
29843
  J -= ot, W += ot;
29844
29844
  }
29845
29845
  } else {
29846
- var at = [o.scale(B[0]), o.scale(B[1])], ft = at[0], pt = at[1];
29847
- if (D = ft, J = MP({
29846
+ var at = [o.scale(B[0]), o.scale(B[1])], dt = at[0], pt = at[1];
29847
+ if (D = dt, J = MP({
29848
29848
  axis: s,
29849
29849
  ticks: c,
29850
29850
  bandSize: i,
29851
29851
  offset: y.offset,
29852
29852
  entry: R,
29853
29853
  index: V
29854
- }), q = pt - ft, W = y.size, K = {
29854
+ }), q = pt - dt, W = y.size, K = {
29855
29855
  x: o.x,
29856
29856
  y: J,
29857
29857
  width: o.width,
@@ -29956,8 +29956,8 @@ var bx = function(t, n, r, i, o) {
29956
29956
  var p = n[b], v = p.orientation, P = p.domain, S = p.padding, A = S === void 0 ? {} : S, C = p.mirror, w = p.reversed, T = "".concat(v).concat(C ? "Mirror" : ""), O, N, R, V, B;
29957
29957
  if (p.type === "number" && (p.padding === "gap" || p.padding === "no-gap")) {
29958
29958
  var D = P[1] - P[0], J = 1 / 0, q = p.categoricalDomain.sort(yV);
29959
- if (q.forEach(function(at, ft) {
29960
- ft > 0 && (J = Math.min((at || 0) - (q[ft - 1] || 0), J));
29959
+ if (q.forEach(function(at, dt) {
29960
+ dt > 0 && (J = Math.min((at || 0) - (q[dt - 1] || 0), J));
29961
29961
  }), Number.isFinite(J)) {
29962
29962
  var W = J / D, K = p.layout === "vertical" ? r.height : r.width;
29963
29963
  if (p.padding === "gap" && (O = W * K / 2), p.padding === "no-gap") {
@@ -33531,8 +33531,8 @@ var gb = function(t, n, r, i) {
33531
33531
  }, []);
33532
33532
  else if (S === "number") {
33533
33533
  var st = Itt(V, i.filter(function(it) {
33534
- var ot, at, ft = s in it.props ? it.props[s] : (ot = it.type.defaultProps) === null || ot === void 0 ? void 0 : ot[s], pt = "hide" in it.props ? it.props.hide : (at = it.type.defaultProps) === null || at === void 0 ? void 0 : at.hide;
33535
- return ft === R && (N || !pt);
33534
+ var ot, at, dt = s in it.props ? it.props[s] : (ot = it.type.defaultProps) === null || ot === void 0 ? void 0 : ot[s], pt = "hide" in it.props ? it.props.hide : (at = it.type.defaultProps) === null || at === void 0 ? void 0 : at.hide;
33535
+ return dt === R && (N || !pt);
33536
33536
  }), A, o, u);
33537
33537
  st && (D = st);
33538
33538
  }
@@ -33683,7 +33683,7 @@ var gb = function(t, n, r, i) {
33683
33683
  graphicalItems: [st],
33684
33684
  dataStartIndex: O,
33685
33685
  dataEndIndex: N
33686
- }), it = st.type.defaultProps !== void 0 ? ut(ut({}, st.type.defaultProps), st.props) : st.props, ot = it.dataKey, at = it.maxBarSize, ft = it["".concat(W, "Id")], pt = it["".concat(K, "Id")], St = {}, _t = c.reduce(function(Jt, Wt) {
33686
+ }), it = st.type.defaultProps !== void 0 ? ut(ut({}, st.type.defaultProps), st.props) : st.props, ot = it.dataKey, at = it.maxBarSize, dt = it["".concat(W, "Id")], pt = it["".concat(K, "Id")], St = {}, _t = c.reduce(function(Jt, Wt) {
33687
33687
  var te, xe, ee = S["".concat(Wt.axisType, "Map")], Je = it["".concat(Wt.axisType, "Id")];
33688
33688
  ee && ee[Je] || Wt.axisType === "zAxis" || (process.env.NODE_ENV !== "production" ? rr(!1, "Specifying a(n) ".concat(Wt.axisType, "Id requires a corresponding ").concat(
33689
33689
  Wt.axisType,
@@ -33691,7 +33691,7 @@ var gb = function(t, n, r, i) {
33691
33691
  ).concat((te = st == null || (xe = st.type) === null || xe === void 0 ? void 0 : xe.displayName) !== null && te !== void 0 ? te : "")) : rr());
33692
33692
  var Ye = ee[Je];
33693
33693
  return ut(ut({}, Jt), {}, Dt(Dt({}, Wt.axisType, Ye), "".concat(Wt.axisType, "Ticks"), ro(Ye)));
33694
- }, St), ct = _t[K], ht = _t["".concat(K, "Ticks")], Pt = C && C[ft] && C[ft].hasStack && Wtt(st, C[ft].stackGroups), et = oo(st.type).indexOf("Bar") >= 0, kt = Ud(ct, ht), yt = [], le = Y && Ott({
33694
+ }, St), ct = _t[K], ht = _t["".concat(K, "Ticks")], Pt = C && C[dt] && C[dt].hasStack && Wtt(st, C[dt].stackGroups), et = oo(st.type).indexOf("Bar") >= 0, kt = Ud(ct, ht), yt = [], le = Y && Ott({
33695
33695
  barSize: R,
33696
33696
  stackGroups: C,
33697
33697
  totalSize: zut(_t, K)
@@ -33934,13 +33934,13 @@ var gb = function(t, n, r, i) {
33934
33934
  var G = ut(ut({}, Y), {}, {
33935
33935
  x: Y.left,
33936
33936
  y: Y.top
33937
- }), nt = Math.min(J, G.x + G.width), it = Math.min(q, G.y + G.height), ot = tt[W] && tt[W].value, at = gb(w.state, w.props.data, W), ft = tt[W] ? {
33937
+ }), nt = Math.min(J, G.x + G.width), it = Math.min(q, G.y + G.height), ot = tt[W] && tt[W].value, at = gb(w.state, w.props.data, W), dt = tt[W] ? {
33938
33938
  x: N === "horizontal" ? tt[W].coordinate : nt,
33939
33939
  y: N === "horizontal" ? it : tt[W].coordinate
33940
33940
  } : W$;
33941
33941
  w.setState(ut(ut({}, T), {}, {
33942
33942
  activeLabel: ot,
33943
- activeCoordinate: ft,
33943
+ activeCoordinate: dt,
33944
33944
  activePayload: at,
33945
33945
  activeTooltipIndex: W
33946
33946
  }));
@@ -34066,7 +34066,7 @@ var gb = function(t, n, r, i) {
34066
34066
  var R = w.filterFormatItem(T, O, N);
34067
34067
  if (!R)
34068
34068
  return null;
34069
- var V = w.getTooltipEventType(), B = w.state, D = B.isTooltipActive, J = B.tooltipAxis, q = B.activeTooltipIndex, W = B.activeLabel, K = w.props.children, Y = yr(K, vr), tt = R.props, st = tt.points, G = tt.isRange, nt = tt.baseLine, it = R.item.type.defaultProps !== void 0 ? ut(ut({}, R.item.type.defaultProps), R.item.props) : R.item.props, ot = it.activeDot, at = it.hide, ft = it.activeBar, pt = it.activeShape, St = !!(!at && D && Y && (ot || ft || pt)), _t = {};
34069
+ var V = w.getTooltipEventType(), B = w.state, D = B.isTooltipActive, J = B.tooltipAxis, q = B.activeTooltipIndex, W = B.activeLabel, K = w.props.children, Y = yr(K, vr), tt = R.props, st = tt.points, G = tt.isRange, nt = tt.baseLine, it = R.item.type.defaultProps !== void 0 ? ut(ut({}, R.item.type.defaultProps), R.item.props) : R.item.props, ot = it.activeDot, at = it.hide, dt = it.activeBar, pt = it.activeShape, St = !!(!at && D && Y && (ot || dt || pt)), _t = {};
34070
34070
  V !== "axis" && Y && Y.props.trigger === "click" ? _t = {
34071
34071
  onClick: Rf(w.handleItemMouseEnter, T.props.onClick)
34072
34072
  } : V !== "axis" && (_t = {
@@ -34085,7 +34085,7 @@ var gb = function(t, n, r, i) {
34085
34085
  Pt = pd(st, kt, W), et = G && nt && pd(nt, kt, W);
34086
34086
  } else
34087
34087
  Pt = st == null ? void 0 : st[q], et = G && nt && nt[q];
34088
- if (pt || ft) {
34088
+ if (pt || dt) {
34089
34089
  var yt = T.props.activeIndex !== void 0 ? T.props.activeIndex : q;
34090
34090
  return [/* @__PURE__ */ gn(T, ut(ut(ut({}, R.props), _t), {}, {
34091
34091
  activeIndex: yt
@@ -34548,7 +34548,7 @@ var gb = function(t, n, r, i) {
34548
34548
  });
34549
34549
  }
34550
34550
  if (!Vy(C, P.prevChildren)) {
34551
- var Y, tt, st, G, nt = yr(C, ql), it = nt && (Y = (tt = nt.props) === null || tt === void 0 ? void 0 : tt.startIndex) !== null && Y !== void 0 ? Y : V, ot = nt && (st = (G = nt.props) === null || G === void 0 ? void 0 : G.endIndex) !== null && st !== void 0 ? st : B, at = it !== V || ot !== B, ft = !zt(A), pt = ft && !at ? P.updateId : P.updateId + 1;
34551
+ var Y, tt, st, G, nt = yr(C, ql), it = nt && (Y = (tt = nt.props) === null || tt === void 0 ? void 0 : tt.startIndex) !== null && Y !== void 0 ? Y : V, ot = nt && (st = (G = nt.props) === null || G === void 0 ? void 0 : G.endIndex) !== null && st !== void 0 ? st : B, at = it !== V || ot !== B, dt = !zt(A), pt = dt && !at ? P.updateId : P.updateId + 1;
34552
34552
  return ut(ut({
34553
34553
  updateId: pt
34554
34554
  }, y(ut(ut({
@@ -40159,14 +40159,14 @@ var vb = { exports: {} };
40159
40159
  // Extend the bounds to contain the given bounds
40160
40160
  extend: function(a) {
40161
40161
  var f = this._southWest, g = this._northEast, x, E;
40162
- if (a instanceof ft)
40162
+ if (a instanceof dt)
40163
40163
  x = a, E = a;
40164
40164
  else if (a instanceof ot) {
40165
40165
  if (x = a._southWest, E = a._northEast, !x || !E)
40166
40166
  return this;
40167
40167
  } else
40168
40168
  return a ? this.extend(pt(a) || at(a)) : this;
40169
- return !f && !g ? (this._southWest = new ft(x.lat, x.lng), this._northEast = new ft(E.lat, E.lng)) : (f.lat = Math.min(x.lat, f.lat), f.lng = Math.min(x.lng, f.lng), g.lat = Math.max(E.lat, g.lat), g.lng = Math.max(E.lng, g.lng)), this;
40169
+ return !f && !g ? (this._southWest = new dt(x.lat, x.lng), this._northEast = new dt(E.lat, E.lng)) : (f.lat = Math.min(x.lat, f.lat), f.lng = Math.min(x.lng, f.lng), g.lat = Math.max(E.lat, g.lat), g.lng = Math.max(E.lng, g.lng)), this;
40170
40170
  },
40171
40171
  // @method pad(bufferRatio: Number): LatLngBounds
40172
40172
  // Returns bounds created by extending or retracting the current bounds by a given ratio in each direction.
@@ -40175,14 +40175,14 @@ var vb = { exports: {} };
40175
40175
  pad: function(a) {
40176
40176
  var f = this._southWest, g = this._northEast, x = Math.abs(f.lat - g.lat) * a, E = Math.abs(f.lng - g.lng) * a;
40177
40177
  return new ot(
40178
- new ft(f.lat - x, f.lng - E),
40179
- new ft(g.lat + x, g.lng + E)
40178
+ new dt(f.lat - x, f.lng - E),
40179
+ new dt(g.lat + x, g.lng + E)
40180
40180
  );
40181
40181
  },
40182
40182
  // @method getCenter(): LatLng
40183
40183
  // Returns the center point of the bounds.
40184
40184
  getCenter: function() {
40185
- return new ft(
40185
+ return new dt(
40186
40186
  (this._southWest.lat + this._northEast.lat) / 2,
40187
40187
  (this._southWest.lng + this._northEast.lng) / 2
40188
40188
  );
@@ -40200,12 +40200,12 @@ var vb = { exports: {} };
40200
40200
  // @method getNorthWest(): LatLng
40201
40201
  // Returns the north-west point of the bounds.
40202
40202
  getNorthWest: function() {
40203
- return new ft(this.getNorth(), this.getWest());
40203
+ return new dt(this.getNorth(), this.getWest());
40204
40204
  },
40205
40205
  // @method getSouthEast(): LatLng
40206
40206
  // Returns the south-east point of the bounds.
40207
40207
  getSouthEast: function() {
40208
- return new ft(this.getSouth(), this.getEast());
40208
+ return new dt(this.getSouth(), this.getEast());
40209
40209
  },
40210
40210
  // @method getWest(): Number
40211
40211
  // Returns the west longitude of the bounds
@@ -40233,7 +40233,7 @@ var vb = { exports: {} };
40233
40233
  // @method contains (latlng: LatLng): Boolean
40234
40234
  // Returns `true` if the rectangle contains the given point.
40235
40235
  contains: function(a) {
40236
- typeof a[0] == "number" || a instanceof ft || "lat" in a ? a = pt(a) : a = at(a);
40236
+ typeof a[0] == "number" || a instanceof dt || "lat" in a ? a = pt(a) : a = at(a);
40237
40237
  var f = this._southWest, g = this._northEast, x, E;
40238
40238
  return a instanceof ot ? (x = a.getSouthWest(), E = a.getNorthEast()) : x = E = a, x.lat >= f.lat && E.lat <= g.lat && x.lng >= f.lng && E.lng <= g.lng;
40239
40239
  },
@@ -40270,12 +40270,12 @@ var vb = { exports: {} };
40270
40270
  function at(a, f) {
40271
40271
  return a instanceof ot ? a : new ot(a, f);
40272
40272
  }
40273
- function ft(a, f, g) {
40273
+ function dt(a, f, g) {
40274
40274
  if (isNaN(a) || isNaN(f))
40275
40275
  throw new Error("Invalid LatLng object: (" + a + ", " + f + ")");
40276
40276
  this.lat = +a, this.lng = +f, g !== void 0 && (this.alt = +g);
40277
40277
  }
40278
- ft.prototype = {
40278
+ dt.prototype = {
40279
40279
  // @method equals(otherLatLng: LatLng, maxMargin?: Number): Boolean
40280
40280
  // Returns `true` if the given `LatLng` point is at the same position (within a small margin of error). The margin of error can be overridden by setting `maxMargin` to a small number.
40281
40281
  equals: function(a, f) {
@@ -40313,11 +40313,11 @@ var vb = { exports: {} };
40313
40313
  );
40314
40314
  },
40315
40315
  clone: function() {
40316
- return new ft(this.lat, this.lng, this.alt);
40316
+ return new dt(this.lat, this.lng, this.alt);
40317
40317
  }
40318
40318
  };
40319
40319
  function pt(a, f, g) {
40320
- return a instanceof ft ? a : A(a) && typeof a[0] != "object" ? a.length === 3 ? new ft(a[0], a[1], a[2]) : a.length === 2 ? new ft(a[0], a[1]) : null : a == null ? a : typeof a == "object" && "lat" in a ? new ft(a.lat, "lng" in a ? a.lng : a.lon, a.alt) : f === void 0 ? null : new ft(a, f, g);
40320
+ return a instanceof dt ? a : A(a) && typeof a[0] != "object" ? a.length === 3 ? new dt(a[0], a[1], a[2]) : a.length === 2 ? new dt(a[0], a[1]) : null : a == null ? a : typeof a == "object" && "lat" in a ? new dt(a.lat, "lng" in a ? a.lng : a.lon, a.alt) : f === void 0 ? null : new dt(a, f, g);
40321
40321
  }
40322
40322
  var St = {
40323
40323
  // @method latLngToPoint(latlng: LatLng, zoom: Number): Point
@@ -40388,7 +40388,7 @@ var vb = { exports: {} };
40388
40388
  // CRS's `wrapLat` and `wrapLng` properties, if they are outside the CRS's bounds.
40389
40389
  wrapLatLng: function(a) {
40390
40390
  var f = this.wrapLng ? u(a.lng, this.wrapLng, !0) : a.lng, g = this.wrapLat ? u(a.lat, this.wrapLat, !0) : a.lat, x = a.alt;
40391
- return new ft(g, f, x);
40391
+ return new dt(g, f, x);
40392
40392
  },
40393
40393
  // @method wrapLatLngBounds(bounds: LatLngBounds): LatLngBounds
40394
40394
  // Returns a `LatLngBounds` with the same size as the given one, ensuring
@@ -40398,7 +40398,7 @@ var vb = { exports: {} };
40398
40398
  var f = a.getCenter(), g = this.wrapLatLng(f), x = f.lat - g.lat, E = f.lng - g.lng;
40399
40399
  if (x === 0 && E === 0)
40400
40400
  return a;
40401
- var k = a.getSouthWest(), j = a.getNorthEast(), z = new ft(k.lat - x, k.lng - E), Z = new ft(j.lat - x, j.lng - E);
40401
+ var k = a.getSouthWest(), j = a.getNorthEast(), z = new dt(k.lat - x, k.lng - E), Z = new dt(j.lat - x, j.lng - E);
40402
40402
  return new ot(z, Z);
40403
40403
  }
40404
40404
  }, _t = i({}, St, {
@@ -40424,7 +40424,7 @@ var vb = { exports: {} };
40424
40424
  },
40425
40425
  unproject: function(a) {
40426
40426
  var f = 180 / Math.PI;
40427
- return new ft(
40427
+ return new dt(
40428
40428
  (2 * Math.atan(Math.exp(a.y / this.R)) - Math.PI / 2) * f,
40429
40429
  a.x * f / this.R
40430
40430
  );
@@ -41164,21 +41164,21 @@ var vb = { exports: {} };
41164
41164
  var At = Yt ? -1 : 1, Nt = Yt ? Z : z, Re = Z * Z - z * z + At * lt * lt * rt * rt, Gn = 2 * Nt * lt * rt, mr = Re / Gn, yi = Math.sqrt(mr * mr + 1) - mr, $n = yi < 1e-9 ? -18 : Math.log(yi);
41165
41165
  return $n;
41166
41166
  }
41167
- function dt(Yt) {
41167
+ function ft(Yt) {
41168
41168
  return (Math.exp(Yt) - Math.exp(-Yt)) / 2;
41169
41169
  }
41170
41170
  function wt(Yt) {
41171
41171
  return (Math.exp(Yt) + Math.exp(-Yt)) / 2;
41172
41172
  }
41173
41173
  function Zt(Yt) {
41174
- return dt(Yt) / wt(Yt);
41174
+ return ft(Yt) / wt(Yt);
41175
41175
  }
41176
41176
  var Ht = gt(0);
41177
41177
  function He(Yt) {
41178
41178
  return z * (wt(Ht) / wt(Ht + vt * Yt));
41179
41179
  }
41180
41180
  function kn(Yt) {
41181
- return z * (wt(Ht) * Zt(Ht + vt * Yt) - dt(Ht)) / lt;
41181
+ return z * (wt(Ht) * Zt(Ht + vt * Yt) - ft(Ht)) / lt;
41182
41182
  }
41183
41183
  function Fs(Yt) {
41184
41184
  return 1 - Math.pow(1 - Yt, 1.5);
@@ -41316,7 +41316,7 @@ var vb = { exports: {} };
41316
41316
  },
41317
41317
  _handleGeolocationResponse: function(a) {
41318
41318
  if (this._container._leaflet_id) {
41319
- var f = a.coords.latitude, g = a.coords.longitude, x = new ft(f, g), E = x.toBounds(a.coords.accuracy * 2), k = this._locateOptions;
41319
+ var f = a.coords.latitude, g = a.coords.longitude, x = new dt(f, g), E = x.toBounds(a.coords.accuracy * 2), k = this._locateOptions;
41320
41320
  if (k.setView) {
41321
41321
  var j = this.getBoundsZoom(E);
41322
41322
  this.setView(x, k.maxZoom ? Math.min(j, k.maxZoom) : j);
@@ -41402,8 +41402,8 @@ var vb = { exports: {} };
41402
41402
  // the given bounds in its entirety.
41403
41403
  getBoundsZoom: function(a, f, g) {
41404
41404
  a = at(a), g = G(g || [0, 0]);
41405
- var x = this.getZoom() || 0, E = this.getMinZoom(), k = this.getMaxZoom(), j = a.getNorthWest(), z = a.getSouthEast(), Z = this.getSize().subtract(g), rt = it(this.project(z, x), this.project(j, x)).getSize(), vt = Ot.any3d ? this.options.zoomSnap : 1, lt = Z.x / rt.x, gt = Z.y / rt.y, dt = f ? Math.max(lt, gt) : Math.min(lt, gt);
41406
- return x = this.getScaleZoom(dt, x), vt && (x = Math.round(x / (vt / 100)) * (vt / 100), x = f ? Math.ceil(x / vt) * vt : Math.floor(x / vt) * vt), Math.max(E, Math.min(k, x));
41405
+ var x = this.getZoom() || 0, E = this.getMinZoom(), k = this.getMaxZoom(), j = a.getNorthWest(), z = a.getSouthEast(), Z = this.getSize().subtract(g), rt = it(this.project(z, x), this.project(j, x)).getSize(), vt = Ot.any3d ? this.options.zoomSnap : 1, lt = Z.x / rt.x, gt = Z.y / rt.y, ft = f ? Math.max(lt, gt) : Math.min(lt, gt);
41406
+ return x = this.getScaleZoom(ft, x), vt && (x = Math.round(x / (vt / 100)) * (vt / 100), x = f ? Math.ceil(x / vt) * vt : Math.floor(x / vt) * vt), Math.max(E, Math.min(k, x));
41407
41407
  },
41408
41408
  // @method getSize(): Point
41409
41409
  // Returns the current size of the map container (in pixels).
@@ -42362,8 +42362,8 @@ var vb = { exports: {} };
42362
42362
  if (!a || a.length === 0)
42363
42363
  throw new Error("latlngs not passed");
42364
42364
  er(a) || (console.warn("latlngs are not flat! Only the first ring will be used"), a = a[0]);
42365
- var lt = pt([0, 0]), gt = at(a), dt = gt.getNorthWest().distanceTo(gt.getSouthWest()) * gt.getNorthEast().distanceTo(gt.getNorthWest());
42366
- dt < 1700 && (lt = fr(a));
42365
+ var lt = pt([0, 0]), gt = at(a), ft = gt.getNorthWest().distanceTo(gt.getSouthWest()) * gt.getNorthEast().distanceTo(gt.getNorthWest());
42366
+ ft < 1700 && (lt = fr(a));
42367
42367
  var wt = a.length, Zt = [];
42368
42368
  for (g = 0; g < wt; g++) {
42369
42369
  var Ht = pt(a[g]);
@@ -42459,17 +42459,17 @@ var vb = { exports: {} };
42459
42459
  er(a) || (console.warn("latlngs are not flat! Only the first ring will be used"), a = a[0]);
42460
42460
  var vt = pt([0, 0]), lt = at(a), gt = lt.getNorthWest().distanceTo(lt.getSouthWest()) * lt.getNorthEast().distanceTo(lt.getNorthWest());
42461
42461
  gt < 1700 && (vt = fr(a));
42462
- var dt = a.length, wt = [];
42463
- for (g = 0; g < dt; g++) {
42462
+ var ft = a.length, wt = [];
42463
+ for (g = 0; g < ft; g++) {
42464
42464
  var Zt = pt(a[g]);
42465
42465
  wt.push(f.project(pt([Zt.lat - vt.lat, Zt.lng - vt.lng])));
42466
42466
  }
42467
- for (g = 0, x = 0; g < dt - 1; g++)
42467
+ for (g = 0, x = 0; g < ft - 1; g++)
42468
42468
  x += wt[g].distanceTo(wt[g + 1]) / 2;
42469
42469
  if (x === 0)
42470
42470
  rt = wt[0];
42471
42471
  else
42472
- for (g = 0, k = 0; g < dt - 1; g++)
42472
+ for (g = 0, k = 0; g < ft - 1; g++)
42473
42473
  if (j = wt[g], z = wt[g + 1], E = j.distanceTo(z), k += E, k > x) {
42474
42474
  Z = (k - x) / E, rt = [
42475
42475
  z.x - Z * (z.x - j.x),
@@ -42497,7 +42497,7 @@ var vb = { exports: {} };
42497
42497
  return new tt(a.lng, a.lat);
42498
42498
  },
42499
42499
  unproject: function(a) {
42500
- return new ft(a.y, a.x);
42500
+ return new dt(a.y, a.x);
42501
42501
  },
42502
42502
  bounds: new nt([-180, -90], [180, 90])
42503
42503
  }, Fc = {
@@ -42511,7 +42511,7 @@ var vb = { exports: {} };
42511
42511
  unproject: function(a) {
42512
42512
  for (var f = 180 / Math.PI, g = this.R, x = this.R_MINOR / g, E = Math.sqrt(1 - x * x), k = Math.exp(-a.y / g), j = Math.PI / 2 - 2 * Math.atan(k), z = 0, Z = 0.1, rt; z < 15 && Math.abs(Z) > 1e-7; z++)
42513
42513
  rt = E * Math.sin(j), rt = Math.pow((1 - rt) / (1 + rt), E / 2), Z = Math.PI / 2 - 2 * Math.atan(k * rt) - j, j += Z;
42514
- return new ft(j * f, a.x * f / g);
42514
+ return new dt(j * f, a.x * f / g);
42515
42515
  }
42516
42516
  }, Lm = {
42517
42517
  __proto__: null,
@@ -43412,7 +43412,7 @@ var vb = { exports: {} };
43412
43412
  },
43413
43413
  // recursively turns latlngs into a set of rings with projected coordinates
43414
43414
  _projectLatlngs: function(a, f, g) {
43415
- var x = a[0] instanceof ft, E = a.length, k, j;
43415
+ var x = a[0] instanceof dt, E = a.length, k, j;
43416
43416
  if (x) {
43417
43417
  for (j = [], k = 0; k < E; k++)
43418
43418
  j[k] = this._map.latLngToLayerPoint(a[k]), g.extend(j[k]);
@@ -43478,7 +43478,7 @@ var vb = { exports: {} };
43478
43478
  },
43479
43479
  _convertLatLngs: function(a) {
43480
43480
  var f = kr.prototype._convertLatLngs.call(this, a), g = f.length;
43481
- return g >= 2 && f[0] instanceof ft && f[0].equals(f[g - 1]) && f.pop(), f;
43481
+ return g >= 2 && f[0] instanceof dt && f[0].equals(f[g - 1]) && f.pop(), f;
43482
43482
  },
43483
43483
  _setLatLngs: function(a) {
43484
43484
  kr.prototype._setLatLngs.call(this, a), er(this._latlngs) && (this._latlngs = [this._latlngs]);
@@ -43640,7 +43640,7 @@ var vb = { exports: {} };
43640
43640
  return a ? a(f, g) : new Rs(g, x && x.markersInheritOptions && x);
43641
43641
  }
43642
43642
  function zo(a) {
43643
- return new ft(a[1], a[0], a[2]);
43643
+ return new dt(a[1], a[0], a[2]);
43644
43644
  }
43645
43645
  function Zi(a, f, g) {
43646
43646
  for (var x = [], E = 0, k = a.length, j; E < k; E++)
@@ -43931,7 +43931,7 @@ var vb = { exports: {} };
43931
43931
  content: ""
43932
43932
  },
43933
43933
  initialize: function(a, f) {
43934
- a && (a instanceof ft || A(a)) ? (this._latlng = pt(a), p(this, f)) : (p(this, a), this._source = f), this.options.content && (this._content = this.options.content);
43934
+ a && (a instanceof dt || A(a)) ? (this._latlng = pt(a), p(this, f)) : (p(this, a), this._source = f), this.options.content && (this._content = this.options.content);
43935
43935
  },
43936
43936
  // @method openOn(map: Map): this
43937
43937
  // Adds the overlay to the map.
@@ -44768,10 +44768,10 @@ var vb = { exports: {} };
44768
44768
  }
44769
44769
  for (var lt = E.min.y; lt <= E.max.y; lt++)
44770
44770
  for (var gt = E.min.x; gt <= E.max.x; gt++) {
44771
- var dt = new tt(gt, lt);
44772
- if (dt.z = this._tileZoom, !!this._isValidTile(dt)) {
44773
- var wt = this._tiles[this._tileCoordsToKey(dt)];
44774
- wt ? wt.current = !0 : j.push(dt);
44771
+ var ft = new tt(gt, lt);
44772
+ if (ft.z = this._tileZoom, !!this._isValidTile(ft)) {
44773
+ var wt = this._tiles[this._tileCoordsToKey(ft)];
44774
+ wt ? wt.current = !0 : j.push(ft);
44775
44775
  }
44776
44776
  }
44777
44777
  if (j.sort(function(Ht, He) {
@@ -45888,7 +45888,7 @@ var vb = { exports: {} };
45888
45888
  this._zooming = !1, D(this._animRequest), Mt(document, "touchmove", this._onTouchMove, this), Mt(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
45889
45889
  }
45890
45890
  });
45891
- Gt.addInitHook("addHandler", "touchZoom", H), Gt.BoxZoom = Qc, Gt.DoubleClickZoom = tu, Gt.Drag = M, Gt.Keyboard = $, Gt.ScrollWheelZoom = I, Gt.TapHold = F, Gt.TouchZoom = H, n.Bounds = nt, n.Browser = Ot, n.CRS = St, n.Canvas = Yc, n.Circle = pi, n.CircleMarker = jo, n.Class = q, n.Control = Cn, n.DivIcon = rf, n.DivOverlay = $r, n.DomEvent = Fa, n.DomUtil = Ba, n.Draggable = hi, n.Evented = Y, n.FeatureGroup = Mr, n.GeoJSON = qt, n.GridLayer = Bs, n.Handler = Or, n.Icon = di, n.ImageOverlay = Za, n.LatLng = ft, n.LatLngBounds = ot, n.Layer = pr, n.LayerGroup = cn, n.LineUtil = Ls, n.Map = Gt, n.Marker = Rs, n.Mixin = On, n.Path = Qr, n.Point = tt, n.PolyUtil = Bc, n.Polygon = Gi, n.Polyline = kr, n.Popup = Ka, n.PosAnimation = Nc, n.Projection = Lm, n.Rectangle = Jc, n.Renderer = Ir, n.SVG = Vo, n.SVGOverlay = Ya, n.TileLayer = Yi, n.Tooltip = Xa, n.Transformation = Pt, n.Util = J, n.VideoOverlay = qc, n.bind = s, n.bounds = it, n.canvas = Kc, n.circle = Vc, n.circleMarker = Wc, n.control = ln, n.divIcon = Bm, n.extend = i, n.featureGroup = Ro, n.geoJSON = ef, n.geoJson = kx, n.gridLayer = zm, n.icon = Jh, n.imageOverlay = gi, n.latLng = pt, n.latLngBounds = at, n.layerGroup = Mn, n.map = Lc, n.marker = Qh, n.point = G, n.polygon = Ga, n.polyline = Bo, n.popup = jm, n.rectangle = af, n.setOptions = p, n.stamp = c, n.svg = Xc, n.svgOverlay = Dm, n.tileLayer = Gc, n.tooltip = $x, n.transformation = et, n.version = r, n.videoOverlay = nf;
45891
+ Gt.addInitHook("addHandler", "touchZoom", H), Gt.BoxZoom = Qc, Gt.DoubleClickZoom = tu, Gt.Drag = M, Gt.Keyboard = $, Gt.ScrollWheelZoom = I, Gt.TapHold = F, Gt.TouchZoom = H, n.Bounds = nt, n.Browser = Ot, n.CRS = St, n.Canvas = Yc, n.Circle = pi, n.CircleMarker = jo, n.Class = q, n.Control = Cn, n.DivIcon = rf, n.DivOverlay = $r, n.DomEvent = Fa, n.DomUtil = Ba, n.Draggable = hi, n.Evented = Y, n.FeatureGroup = Mr, n.GeoJSON = qt, n.GridLayer = Bs, n.Handler = Or, n.Icon = di, n.ImageOverlay = Za, n.LatLng = dt, n.LatLngBounds = ot, n.Layer = pr, n.LayerGroup = cn, n.LineUtil = Ls, n.Map = Gt, n.Marker = Rs, n.Mixin = On, n.Path = Qr, n.Point = tt, n.PolyUtil = Bc, n.Polygon = Gi, n.Polyline = kr, n.Popup = Ka, n.PosAnimation = Nc, n.Projection = Lm, n.Rectangle = Jc, n.Renderer = Ir, n.SVG = Vo, n.SVGOverlay = Ya, n.TileLayer = Yi, n.Tooltip = Xa, n.Transformation = Pt, n.Util = J, n.VideoOverlay = qc, n.bind = s, n.bounds = it, n.canvas = Kc, n.circle = Vc, n.circleMarker = Wc, n.control = ln, n.divIcon = Bm, n.extend = i, n.featureGroup = Ro, n.geoJSON = ef, n.geoJson = kx, n.gridLayer = zm, n.icon = Jh, n.imageOverlay = gi, n.latLng = pt, n.latLngBounds = at, n.layerGroup = Mn, n.map = Lc, n.marker = Qh, n.point = G, n.polygon = Ga, n.polyline = Bo, n.popup = jm, n.rectangle = af, n.setOptions = p, n.stamp = c, n.svg = Xc, n.svgOverlay = Dm, n.tileLayer = Gc, n.tooltip = $x, n.transformation = et, n.version = r, n.videoOverlay = nf;
45892
45892
  var Q = window.L;
45893
45893
  n.noConflict = function() {
45894
45894
  return window.L = Q, this;
@@ -48399,9 +48399,9 @@ function zft(e, t, n = !0) {
48399
48399
  u.columnGap = at[1];
48400
48400
  continue;
48401
48401
  }
48402
- const ft = p.match(/^gap-y-\[([^\]]+)\]$/);
48403
- if (ft) {
48404
- u.rowGap = ft[1];
48402
+ const dt = p.match(/^gap-y-\[([^\]]+)\]$/);
48403
+ if (dt) {
48404
+ u.rowGap = dt[1];
48405
48405
  continue;
48406
48406
  }
48407
48407
  const pt = p.match(/^rounded-\[([^\]]+)\]$/);
@@ -50273,14 +50273,14 @@ function IT(e, t, n, r, i, o, s) {
50273
50273
  ...(u.actions || []).map(
50274
50274
  (tt, st) => {
50275
50275
  const nt = ((at) => {
50276
- const ft = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(
50276
+ const dt = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(
50277
50277
  at
50278
50278
  );
50279
- if (!ft) return !1;
50279
+ if (!dt) return !1;
50280
50280
  const [pt, St, _t] = [
50281
- parseInt(ft[1], 16),
50282
- parseInt(ft[2], 16),
50283
- parseInt(ft[3], 16)
50281
+ parseInt(dt[1], 16),
50282
+ parseInt(dt[2], 16),
50283
+ parseInt(dt[3], 16)
50284
50284
  ];
50285
50285
  return (pt * 299 + St * 587 + _t * 114) / 1e3 > 150;
50286
50286
  })(t.colors.primary) ? "#000000" : "#ffffff", it = {
@@ -50432,14 +50432,14 @@ function Hft({
50432
50432
  ot ? { ...(e == null ? void 0 : e.config) || {}, colorMode: ot } : e == null ? void 0 : e.config,
50433
50433
  void 0,
50434
50434
  y
50435
- ), ft = !((Gc = e == null ? void 0 : e.config) != null && Gc.colorMode) && !ot && !(y != null && y.colorMode), pt = (M) => zft(
50435
+ ), dt = !((Gc = e == null ? void 0 : e.config) != null && Gc.colorMode) && !ot && !(y != null && y.colorMode), pt = (M) => zft(
50436
50436
  M,
50437
50437
  {
50438
50438
  primary: Mt.colors.primary,
50439
50439
  accent: Mt.colors.accent,
50440
50440
  colorMode: Mt.colorMode
50441
50441
  },
50442
- ft
50442
+ dt
50443
50443
  ), St = N || "legacy", _t = A || (S ? "hash" : "memory"), ct = _t !== "memory", [ht, Pt] = _.useState(W), [et, kt] = _.useState(!1), [yt, le] = _.useState(!1), { sceneToRoute: Qt, routeToScene: Ft } = _.useMemo(
50444
50444
  () => Mft(nt),
50445
50445
  [nt]
@@ -51055,19 +51055,19 @@ function Hft({
51055
51055
  const lt = Or(M, {
51056
51056
  limit: X,
51057
51057
  page: I
51058
- }), gt = F ? Im(lt, F, H) : lt, dt = Vf(gt), wt = await ly(t, dt, vt);
51058
+ }), gt = F ? Im(lt, F, H) : lt, ft = Vf(gt), wt = await ly(t, ft, vt);
51059
51059
  rt = wt, z = (wt == null ? void 0 : wt.emails) || (wt == null ? void 0 : wt.items) || (wt == null ? void 0 : wt.data) || (wt == null ? void 0 : wt.history) || (Array.isArray(wt) ? wt : []), Z = ((k = wt == null ? void 0 : wt.pagination) == null ? void 0 : k.total) ?? (wt == null ? void 0 : wt.count) ?? z.length;
51060
51060
  } else if (!Jf(M)) {
51061
51061
  const lt = t == null ? void 0 : t.endpoint, gt = R || (lt && /^https?:\/\//.test(lt) ? lt : window.location.origin);
51062
- let dt = M;
51063
- !R && lt && !/^https?:\/\//.test(lt) && typeof lt == "string" && (dt = `${lt.replace(/\/+$/, "")}${M.startsWith("/") ? M : `/${M}`}`), cy(
51062
+ let ft = M;
51063
+ !R && lt && !/^https?:\/\//.test(lt) && typeof lt == "string" && (ft = `${lt.replace(/\/+$/, "")}${M.startsWith("/") ? M : `/${M}`}`), cy(
51064
51064
  "[fetchListData] apiUrl=%s baseUrl=%s dataSource=%s origin=%s",
51065
51065
  R,
51066
51066
  gt,
51067
51067
  M,
51068
51068
  window.location.origin
51069
51069
  );
51070
- const wt = new URL(dt, gt);
51070
+ const wt = new URL(ft, gt);
51071
51071
  wt.searchParams.set("limit", String(X)), wt.searchParams.set("offset", String(I * X)), f && wt.searchParams.set("_ts", String(Date.now())), F && (wt.searchParams.set("sort", F), wt.searchParams.set("dir", H || "asc"));
51072
51072
  const Zt = await fetch(wt.toString(), {
51073
51073
  headers: {
@@ -51089,18 +51089,18 @@ function Hft({
51089
51089
  }
51090
51090
  if (Yr((lt) => {
51091
51091
  if (a && Array.isArray(lt[$])) {
51092
- const gt = new Set(lt[$].map((wt) => wt == null ? void 0 : wt.id)), dt = [
51092
+ const gt = new Set(lt[$].map((wt) => wt == null ? void 0 : wt.id)), ft = [
51093
51093
  ...lt[$],
51094
51094
  ...z.filter((wt) => !gt.has(wt == null ? void 0 : wt.id))
51095
51095
  ];
51096
- return { ...lt, [$]: dt };
51096
+ return { ...lt, [$]: ft };
51097
51097
  }
51098
51098
  return { ...lt, [$]: z };
51099
51099
  }), To.current && !To.current.closing) {
51100
- const lt = (j = Zr.current) == null ? void 0 : j.id, gt = lt ? z.find((dt) => (dt == null ? void 0 : dt.id) === lt) : null;
51101
- gt && ne((dt) => Object.keys(gt).some(
51102
- (Zt) => JSON.stringify(dt[Zt]) !== JSON.stringify(gt[Zt])
51103
- ) ? { ...dt, ...gt } : dt);
51100
+ const lt = (j = Zr.current) == null ? void 0 : j.id, gt = lt ? z.find((ft) => (ft == null ? void 0 : ft.id) === lt) : null;
51101
+ gt && ne((ft) => Object.keys(gt).some(
51102
+ (Zt) => JSON.stringify(ft[Zt]) !== JSON.stringify(gt[Zt])
51103
+ ) ? { ...ft, ...gt } : ft);
51104
51104
  }
51105
51105
  if (So.current.add($), Qe.current[$] = z, M && (Qe.current[M] = z), Q && (Qe.current[Q] = {
51106
51106
  items: z,
@@ -51564,23 +51564,23 @@ function Hft({
51564
51564
  let lt = ["Something went wrong"];
51565
51565
  const gt = typeof g.error == "string" ? g.error : (j = g.error) == null ? void 0 : j.message;
51566
51566
  if (gt) {
51567
- const dt = gt.replace(/^Validation failed:\s*/i, "");
51568
- lt = hi(dt) || [dt];
51567
+ const ft = gt.replace(/^Validation failed:\s*/i, "");
51568
+ lt = hi(ft) || [ft];
51569
51569
  } else g.message && (lt = [g.message]);
51570
51570
  throw new qi(lt, g);
51571
51571
  }
51572
51572
  g.token && localStorage.setItem("token", g.token), $ != null && $.openUrl && (g != null && g.url) && String(g.url).startsWith("http") && window.open(String(g.url), "_blank", "noopener,noreferrer"), g && typeof g == "object" && !Array.isArray(g) && ne((lt) => ({ ...lt, feedback: g })), g.data && ($ == null ? void 0 : $.mergeResponse) !== !1 && ne((lt) => ({ ...lt, ...g.data })), g.user && typeof g.user == "object" ? ne((lt) => ({ ...lt, user: g.user })) : ne((lt) => ({ ...lt })), Qe.current[F.replace(/^\//, "")] = { response: g };
51573
51573
  for (const [lt, gt] of Object.entries(Cn.current))
51574
51574
  if (gt === F || gt.endsWith(F)) {
51575
- const dt = Qe.current[lt];
51575
+ const ft = Qe.current[lt];
51576
51576
  Qe.current[lt] = {
51577
- items: Array.isArray(dt) ? dt : Array.isArray(dt == null ? void 0 : dt.items) ? dt.items : [],
51577
+ items: Array.isArray(ft) ? ft : Array.isArray(ft == null ? void 0 : ft.items) ? ft.items : [],
51578
51578
  response: g
51579
51579
  };
51580
51580
  }
51581
51581
  const x = (Z = (z = g.subscribe) == null ? void 0 : z.websocket) == null ? void 0 : Z.workflowChannel;
51582
51582
  x && ($ == null ? void 0 : $.mergeResponse) !== !1 && ne((lt) => {
51583
- var gt, dt, wt, Zt;
51583
+ var gt, ft, wt, Zt;
51584
51584
  return {
51585
51585
  ...lt,
51586
51586
  liveCastChannel: x,
@@ -51590,7 +51590,7 @@ function Hft({
51590
51590
  test_session: {
51591
51591
  ...lt.test_session || {},
51592
51592
  id: g.sessionId || ((gt = lt.test_session) == null ? void 0 : gt.id),
51593
- execution_id: g.draftId || ((dt = lt.test_session) == null ? void 0 : dt.execution_id),
51593
+ execution_id: g.draftId || ((ft = lt.test_session) == null ? void 0 : ft.execution_id),
51594
51594
  status: "running",
51595
51595
  liveCastChannel: x,
51596
51596
  prompt: (a == null ? void 0 : a.prompt) || ((wt = lt.test_session) == null ? void 0 : wt.prompt),
@@ -51602,9 +51602,9 @@ function Hft({
51602
51602
  if (k && g.jobId && (g.token || (rt = g.subscribe) != null && rt.sse || typeof E == "object")) {
51603
51603
  let lt = (vt = g.subscribe) != null && vt.sse ? /^https?:\/\//.test(g.subscribe.sse) ? g.subscribe.sse : Q + g.subscribe.sse : void 0;
51604
51604
  if (typeof E == "object" && E.subscribeUrl) {
51605
- const gt = String(E.subscribeUrl).trim(), dt = gt.startsWith("{{") && gt.endsWith("}}") ? gt.slice(2, -2).trim() : gt, wt = dt.match(/^\[(.+?)\](?:\.(.*))?$/), Zt = wt ? dr(
51605
+ const gt = String(E.subscribeUrl).trim(), ft = gt.startsWith("{{") && gt.endsWith("}}") ? gt.slice(2, -2).trim() : gt, wt = ft.match(/^\[(.+?)\](?:\.(.*))?$/), Zt = wt ? dr(
51606
51606
  `${wt[1]}${wt[2] ? "." + wt[2] : ""}`
51607
- ) : dt.split(".").reduce(
51607
+ ) : ft.split(".").reduce(
51608
51608
  (Ht, He) => Ht == null ? void 0 : Ht[He],
51609
51609
  g
51610
51610
  );
@@ -51615,15 +51615,15 @@ function Hft({
51615
51615
  sseUrl: lt,
51616
51616
  onProgress: (gt) => {
51617
51617
  s == null || s(gt);
51618
- const dt = Date.now();
51619
- dt - xo.current >= 2e3 && (xo.current = dt, Xr(F, $ == null ? void 0 : $.refetchScope));
51618
+ const ft = Date.now();
51619
+ ft - xo.current >= 2e3 && (xo.current = ft, Xr(F, $ == null ? void 0 : $.refetchScope));
51620
51620
  },
51621
51621
  onComplete: (gt) => {
51622
- const dt = (gt == null ? void 0 : gt.result) ?? gt;
51623
- if (dt && typeof dt == "object") {
51622
+ const ft = (gt == null ? void 0 : gt.result) ?? gt;
51623
+ if (ft && typeof ft == "object") {
51624
51624
  const wt = F.replace(/^\//, "");
51625
51625
  Qe.current[wt] = {
51626
- response: dt
51626
+ response: ft
51627
51627
  }, ne((Zt) => ({ ...Zt }));
51628
51628
  }
51629
51629
  Xr(F, $ == null ? void 0 : $.refetchScope, !0);
@@ -51636,7 +51636,7 @@ function Hft({
51636
51636
  }
51637
51637
  Va(k, g.jobId, g.token, {
51638
51638
  onComplete: (gt) => {
51639
- const dt = gt || {}, wt = dt.total, Zt = dt.successful;
51639
+ const ft = gt || {}, wt = ft.total, Zt = ft.successful;
51640
51640
  wt !== void 0 && Te(
51641
51641
  Zt >= wt ? `${Zt} completed` : `${Zt} of ${wt} completed`,
51642
51642
  "success"
@@ -52124,8 +52124,8 @@ ${M.message}` : M.message;
52124
52124
  )
52125
52125
  );
52126
52126
  l || e != null && e.title;
52127
- const lt = (kn = e == null ? void 0 : e.config) != null && kn.logo && ((Fs = e == null ? void 0 : e.config) == null ? void 0 : Fs.logo) !== "" ? e.config.logo : "", gt = c || ((Ja = e == null ? void 0 : e.navigation) == null ? void 0 : Ja.logo) || "mail", dt = [];
52128
- dt.push(
52127
+ const lt = (kn = e == null ? void 0 : e.config) != null && kn.logo && ((Fs = e == null ? void 0 : e.config) == null ? void 0 : Fs.logo) !== "" ? e.config.logo : "", gt = c || ((Ja = e == null ? void 0 : e.navigation) == null ? void 0 : Ja.logo) || "mail", ft = [];
52128
+ ft.push(
52129
52129
  _.createElement(
52130
52130
  "div",
52131
52131
  {
@@ -52153,7 +52153,7 @@ ${M.message}` : M.message;
52153
52153
  }
52154
52154
  }) : cn.renderIcon(gt, 56)
52155
52155
  )
52156
- ), Ut === "login" ? (dt.push(
52156
+ ), Ut === "login" ? (ft.push(
52157
52157
  _.createElement(
52158
52158
  "h2",
52159
52159
  {
@@ -52168,7 +52168,7 @@ ${M.message}` : M.message;
52168
52168
  },
52169
52169
  "Sign In"
52170
52170
  )
52171
- ), dt.push(
52171
+ ), ft.push(
52172
52172
  _.createElement(
52173
52173
  "p",
52174
52174
  {
@@ -52182,7 +52182,83 @@ ${M.message}` : M.message;
52182
52182
  },
52183
52183
  "Enter your credentials to continue"
52184
52184
  )
52185
- ), dt.push(
52185
+ ), Mo != null && Mo.includes("google") && (ft.push(
52186
+ _.createElement(
52187
+ "button",
52188
+ {
52189
+ key: "google",
52190
+ onClick: () => {
52191
+ const Nt = qn(), Re = encodeURIComponent(
52192
+ window.location.origin + window.location.pathname
52193
+ ), Gn = w ? `&tenant_id=${encodeURIComponent(w)}` : "";
52194
+ window.location.href = `${Nt}/auth/oauth/google?redirect_uri=${Re}${Gn}`;
52195
+ },
52196
+ style: {
52197
+ width: "100%",
52198
+ padding: "11px",
52199
+ borderRadius: "8px",
52200
+ fontSize: "14px",
52201
+ fontWeight: 600,
52202
+ backgroundColor: "transparent",
52203
+ color: a,
52204
+ border: `1px solid ${x}`,
52205
+ cursor: "pointer",
52206
+ marginBottom: "16px",
52207
+ display: "flex",
52208
+ alignItems: "center",
52209
+ justifyContent: "center",
52210
+ gap: "8px"
52211
+ }
52212
+ },
52213
+ _.createElement(
52214
+ "svg",
52215
+ { width: "16", height: "16", viewBox: "0 0 24 24" },
52216
+ _.createElement("path", {
52217
+ fill: "#4285F4",
52218
+ d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"
52219
+ }),
52220
+ _.createElement("path", {
52221
+ fill: "#34A853",
52222
+ d: "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"
52223
+ }),
52224
+ _.createElement("path", {
52225
+ fill: "#FBBC05",
52226
+ d: "M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"
52227
+ }),
52228
+ _.createElement("path", {
52229
+ fill: "#EA4335",
52230
+ d: "M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"
52231
+ })
52232
+ ),
52233
+ "Continue with Google"
52234
+ )
52235
+ ), ft.push(
52236
+ _.createElement(
52237
+ "div",
52238
+ {
52239
+ key: "or",
52240
+ style: {
52241
+ display: "flex",
52242
+ alignItems: "center",
52243
+ gap: "8px",
52244
+ marginBottom: "16px"
52245
+ }
52246
+ },
52247
+ _.createElement("div", {
52248
+ key: "l",
52249
+ style: { flex: 1, height: "1px", backgroundColor: x }
52250
+ }),
52251
+ _.createElement(
52252
+ "span",
52253
+ { key: "t", style: { fontSize: "12px", color: f } },
52254
+ "or"
52255
+ ),
52256
+ _.createElement("div", {
52257
+ key: "r",
52258
+ style: { flex: 1, height: "1px", backgroundColor: x }
52259
+ })
52260
+ )
52261
+ )), ft.push(
52186
52262
  U("input", {
52187
52263
  key: "email",
52188
52264
  type: "email",
@@ -52196,7 +52272,7 @@ ${M.message}` : M.message;
52196
52272
  borderColor: Oe.email && we ? z : x
52197
52273
  }
52198
52274
  })
52199
- ), Oe.email && we && dt.push(
52275
+ ), Oe.email && we && ft.push(
52200
52276
  _.createElement(
52201
52277
  "p",
52202
52278
  {
@@ -52210,7 +52286,7 @@ ${M.message}` : M.message;
52210
52286
  },
52211
52287
  Oe.email
52212
52288
  )
52213
- ), dt.push(
52289
+ ), ft.push(
52214
52290
  vt(
52215
52291
  "pass",
52216
52292
  "Password",
@@ -52221,7 +52297,7 @@ ${M.message}` : M.message;
52221
52297
  $,
52222
52298
  !!(Oe.pass && mt)
52223
52299
  )
52224
- ), Oe.pass && mt && dt.push(
52300
+ ), Oe.pass && mt && ft.push(
52225
52301
  _.createElement(
52226
52302
  "p",
52227
52303
  {
@@ -52235,7 +52311,7 @@ ${M.message}` : M.message;
52235
52311
  },
52236
52312
  Oe.pass
52237
52313
  )
52238
- ), hr && dt.push(
52314
+ ), hr && ft.push(
52239
52315
  _.createElement(
52240
52316
  "p",
52241
52317
  {
@@ -52249,7 +52325,7 @@ ${M.message}` : M.message;
52249
52325
  },
52250
52326
  hr
52251
52327
  )
52252
- ), dt.push(
52328
+ ), ft.push(
52253
52329
  _.createElement(
52254
52330
  "button",
52255
52331
  {
@@ -52271,7 +52347,7 @@ ${M.message}` : M.message;
52271
52347
  },
52272
52348
  ae ? "Please wait..." : "Sign In"
52273
52349
  )
52274
- ), dt.push(
52350
+ ), ft.push(
52275
52351
  _.createElement(
52276
52352
  "p",
52277
52353
  {
@@ -52287,57 +52363,7 @@ ${M.message}` : M.message;
52287
52363
  },
52288
52364
  "Forgot password?"
52289
52365
  )
52290
- ), Mo != null && Mo.includes("google") && dt.push(
52291
- _.createElement(
52292
- "button",
52293
- {
52294
- key: "google",
52295
- onClick: () => {
52296
- const Nt = qn(), Re = encodeURIComponent(
52297
- window.location.origin + window.location.pathname
52298
- ), Gn = w ? `&tenant_id=${encodeURIComponent(w)}` : "";
52299
- window.location.href = `${Nt}/auth/oauth/google?redirect_uri=${Re}${Gn}`;
52300
- },
52301
- style: {
52302
- width: "100%",
52303
- padding: "11px",
52304
- borderRadius: "8px",
52305
- fontSize: "14px",
52306
- fontWeight: 600,
52307
- backgroundColor: "transparent",
52308
- color: a,
52309
- border: `1px solid ${x}`,
52310
- cursor: "pointer",
52311
- marginBottom: "16px",
52312
- display: "flex",
52313
- alignItems: "center",
52314
- justifyContent: "center",
52315
- gap: "8px"
52316
- }
52317
- },
52318
- _.createElement(
52319
- "svg",
52320
- { width: "16", height: "16", viewBox: "0 0 24 24" },
52321
- _.createElement("path", {
52322
- fill: "#4285F4",
52323
- d: "M22.56 12.25c0-.78-.07-1.53-.2-2.25H12v4.26h5.92c-.26 1.37-1.04 2.53-2.21 3.31v2.77h3.57c2.08-1.92 3.28-4.74 3.28-8.09z"
52324
- }),
52325
- _.createElement("path", {
52326
- fill: "#34A853",
52327
- d: "M12 23c2.97 0 5.46-.98 7.28-2.66l-3.57-2.77c-.98.66-2.23 1.06-3.71 1.06-2.86 0-5.29-1.93-6.16-4.53H2.18v2.84C3.99 20.53 7.7 23 12 23z"
52328
- }),
52329
- _.createElement("path", {
52330
- fill: "#FBBC05",
52331
- d: "M5.84 14.09c-.22-.66-.35-1.36-.35-2.09s.13-1.43.35-2.09V7.07H2.18C1.43 8.55 1 10.22 1 12s.43 3.45 1.18 4.93l2.85-2.22.81-.62z"
52332
- }),
52333
- _.createElement("path", {
52334
- fill: "#EA4335",
52335
- d: "M12 5.38c1.62 0 3.06.56 4.21 1.64l3.15-3.15C17.45 2.09 14.97 1 12 1 7.7 1 3.99 3.47 2.18 7.07l3.66 2.84c.87-2.6 3.3-4.53 6.16-4.53z"
52336
- })
52337
- ),
52338
- "Continue with Google"
52339
- )
52340
- ), dt.push(
52366
+ ), ft.push(
52341
52367
  _.createElement(
52342
52368
  "p",
52343
52369
  {
@@ -52352,7 +52378,7 @@ ${M.message}` : M.message;
52352
52378
  },
52353
52379
  "Don’t have an account? Register"
52354
52380
  )
52355
- )) : Ut === "register" ? (dt.push(
52381
+ )) : Ut === "register" ? (ft.push(
52356
52382
  _.createElement(
52357
52383
  "h2",
52358
52384
  {
@@ -52367,7 +52393,7 @@ ${M.message}` : M.message;
52367
52393
  },
52368
52394
  "Create Account"
52369
52395
  )
52370
- ), dt.push(
52396
+ ), ft.push(
52371
52397
  _.createElement(
52372
52398
  "p",
52373
52399
  {
@@ -52381,7 +52407,7 @@ ${M.message}` : M.message;
52381
52407
  },
52382
52408
  "Create an account to get started"
52383
52409
  )
52384
- ), dt.push(
52410
+ ), ft.push(
52385
52411
  U("input", {
52386
52412
  key: "email",
52387
52413
  type: "email",
@@ -52395,7 +52421,7 @@ ${M.message}` : M.message;
52395
52421
  borderColor: Oe.email && we ? z : x
52396
52422
  }
52397
52423
  })
52398
- ), Oe.email && we && dt.push(
52424
+ ), Oe.email && we && ft.push(
52399
52425
  _.createElement(
52400
52426
  "p",
52401
52427
  {
@@ -52409,7 +52435,7 @@ ${M.message}` : M.message;
52409
52435
  },
52410
52436
  Oe.email
52411
52437
  )
52412
- ), dt.push(
52438
+ ), ft.push(
52413
52439
  vt(
52414
52440
  "pass",
52415
52441
  "Password",
@@ -52420,7 +52446,7 @@ ${M.message}` : M.message;
52420
52446
  $,
52421
52447
  !!(Oe.pass && mt)
52422
52448
  )
52423
- ), Oe.pass && mt && dt.push(
52449
+ ), Oe.pass && mt && ft.push(
52424
52450
  _.createElement(
52425
52451
  "p",
52426
52452
  {
@@ -52434,7 +52460,7 @@ ${M.message}` : M.message;
52434
52460
  },
52435
52461
  Oe.pass
52436
52462
  )
52437
- ), dt.push(
52463
+ ), ft.push(
52438
52464
  vt(
52439
52465
  "confirm",
52440
52466
  "Confirm password",
@@ -52445,7 +52471,7 @@ ${M.message}` : M.message;
52445
52471
  $,
52446
52472
  !!(Oe.confirm && Ct)
52447
52473
  )
52448
- ), Oe.confirm && Ct && dt.push(
52474
+ ), Oe.confirm && Ct && ft.push(
52449
52475
  _.createElement(
52450
52476
  "p",
52451
52477
  {
@@ -52459,7 +52485,7 @@ ${M.message}` : M.message;
52459
52485
  },
52460
52486
  Oe.confirm
52461
52487
  )
52462
- ), hr && dt.push(
52488
+ ), hr && ft.push(
52463
52489
  _.createElement(
52464
52490
  "p",
52465
52491
  {
@@ -52473,7 +52499,7 @@ ${M.message}` : M.message;
52473
52499
  },
52474
52500
  hr
52475
52501
  )
52476
- ), dt.push(
52502
+ ), ft.push(
52477
52503
  _.createElement(
52478
52504
  "button",
52479
52505
  {
@@ -52495,7 +52521,7 @@ ${M.message}` : M.message;
52495
52521
  },
52496
52522
  ae ? "Please wait..." : "Create Account"
52497
52523
  )
52498
- ), dt.push(
52524
+ ), ft.push(
52499
52525
  _.createElement(
52500
52526
  "p",
52501
52527
  {
@@ -52510,7 +52536,7 @@ ${M.message}` : M.message;
52510
52536
  },
52511
52537
  "Already have an account? Sign In"
52512
52538
  )
52513
- )) : Ut === "forgot" ? (dt.push(
52539
+ )) : Ut === "forgot" ? (ft.push(
52514
52540
  _.createElement(
52515
52541
  "h2",
52516
52542
  {
@@ -52525,7 +52551,7 @@ ${M.message}` : M.message;
52525
52551
  },
52526
52552
  "Reset Password"
52527
52553
  )
52528
- ), dt.push(
52554
+ ), ft.push(
52529
52555
  _.createElement(
52530
52556
  "p",
52531
52557
  {
@@ -52539,7 +52565,7 @@ ${M.message}` : M.message;
52539
52565
  },
52540
52566
  "Enter your email to receive a reset link"
52541
52567
  )
52542
- ), dt.push(
52568
+ ), ft.push(
52543
52569
  U("input", {
52544
52570
  key: "email",
52545
52571
  type: "email",
@@ -52556,7 +52582,7 @@ ${M.message}` : M.message;
52556
52582
  borderColor: Oe.email && we ? z : x
52557
52583
  }
52558
52584
  })
52559
- ), Oe.email && we && dt.push(
52585
+ ), Oe.email && we && ft.push(
52560
52586
  _.createElement(
52561
52587
  "p",
52562
52588
  {
@@ -52570,7 +52596,7 @@ ${M.message}` : M.message;
52570
52596
  },
52571
52597
  Oe.email
52572
52598
  )
52573
- ), hr && dt.push(
52599
+ ), hr && ft.push(
52574
52600
  _.createElement(
52575
52601
  "p",
52576
52602
  {
@@ -52584,7 +52610,7 @@ ${M.message}` : M.message;
52584
52610
  },
52585
52611
  hr
52586
52612
  )
52587
- ), dt.push(
52613
+ ), ft.push(
52588
52614
  _.createElement(
52589
52615
  "button",
52590
52616
  {
@@ -52606,7 +52632,7 @@ ${M.message}` : M.message;
52606
52632
  },
52607
52633
  ae ? "Please wait..." : "Send Reset Link"
52608
52634
  )
52609
- ), dt.push(
52635
+ ), ft.push(
52610
52636
  _.createElement(
52611
52637
  "p",
52612
52638
  {
@@ -52621,7 +52647,7 @@ ${M.message}` : M.message;
52621
52647
  },
52622
52648
  "Back to Sign In"
52623
52649
  )
52624
- )) : Ut === "reset" && (dt.push(
52650
+ )) : Ut === "reset" && (ft.push(
52625
52651
  _.createElement(
52626
52652
  "h2",
52627
52653
  {
@@ -52636,7 +52662,7 @@ ${M.message}` : M.message;
52636
52662
  },
52637
52663
  "Set New Password"
52638
52664
  )
52639
- ), dt.push(
52665
+ ), ft.push(
52640
52666
  _.createElement(
52641
52667
  "p",
52642
52668
  {
@@ -52650,7 +52676,7 @@ ${M.message}` : M.message;
52650
52676
  },
52651
52677
  "Enter the reset code and your new password"
52652
52678
  )
52653
- ), dt.push(
52679
+ ), ft.push(
52654
52680
  U("input", {
52655
52681
  key: "code",
52656
52682
  type: "text",
@@ -52659,7 +52685,7 @@ ${M.message}` : M.message;
52659
52685
  onChange: (At) => Ra(At.target.value),
52660
52686
  style: Z()
52661
52687
  })
52662
- ), dt.push(
52688
+ ), ft.push(
52663
52689
  vt(
52664
52690
  "pass",
52665
52691
  "New password",
@@ -52670,7 +52696,7 @@ ${M.message}` : M.message;
52670
52696
  F,
52671
52697
  !!(Oe.pass && mt)
52672
52698
  )
52673
- ), Oe.pass && mt && dt.push(
52699
+ ), Oe.pass && mt && ft.push(
52674
52700
  _.createElement(
52675
52701
  "p",
52676
52702
  {
@@ -52684,7 +52710,7 @@ ${M.message}` : M.message;
52684
52710
  },
52685
52711
  Oe.pass
52686
52712
  )
52687
- ), hr && dt.push(
52713
+ ), hr && ft.push(
52688
52714
  _.createElement(
52689
52715
  "p",
52690
52716
  {
@@ -52698,7 +52724,7 @@ ${M.message}` : M.message;
52698
52724
  },
52699
52725
  hr
52700
52726
  )
52701
- ), dt.push(
52727
+ ), ft.push(
52702
52728
  _.createElement(
52703
52729
  "button",
52704
52730
  {
@@ -52720,7 +52746,7 @@ ${M.message}` : M.message;
52720
52746
  },
52721
52747
  ae ? "Please wait..." : "Reset Password"
52722
52748
  )
52723
- ), dt.push(
52749
+ ), ft.push(
52724
52750
  _.createElement(
52725
52751
  "p",
52726
52752
  {
@@ -52749,7 +52775,7 @@ ${M.message}` : M.message;
52749
52775
  ...Ht
52750
52776
  }
52751
52777
  },
52752
- ...dt
52778
+ ...ft
52753
52779
  );
52754
52780
  if (Zt === "page") {
52755
52781
  const At = ((ce = Mt.colors) == null ? void 0 : ce.primary) || "#4f46e5", Re = wt.coverImage ? `url(${wt.coverImage}) center/cover no-repeat` : wt.coverBackground || `radial-gradient(55% 45% at 8% 62%, rgba(255,95,109,0.45) 0%, rgba(255,95,109,0) 60%), radial-gradient(55% 45% at 92% 62%, rgba(34,211,238,0.45) 0%, rgba(34,211,238,0) 60%), radial-gradient(60% 40% at 30% 30%, rgba(251,191,36,0.28) 0%, rgba(251,191,36,0) 60%), radial-gradient(60% 40% at 70% 30%, rgba(74,222,128,0.28) 0%, rgba(74,222,128,0) 60%), radial-gradient(80% 45% at 50% 8%, rgba(236,72,153,0.3) 0%, rgba(236,72,153,0) 65%), radial-gradient(90% 55% at 50% 78%, rgba(236,72,153,0.4) 0%, rgba(236,72,153,0) 65%), ${At}`, Gn = (tn = e == null ? void 0 : e.config) != null && tn.logo && ((Yt = e == null ? void 0 : e.config) == null ? void 0 : Yt.logo) !== "" ? e.config.logo : "", mr = Gn ? _.createElement("img", {
@@ -52967,23 +52993,23 @@ ${M.message}` : M.message;
52967
52993
  ), Os.current = Z.popover && (I == null ? void 0 : I.anchorElement) || null, Gt.current && typeof Gt.current == "object") {
52968
52994
  const lt = Object.keys(Gt.current);
52969
52995
  ne((gt) => {
52970
- const dt = { ...gt };
52996
+ const ft = { ...gt };
52971
52997
  for (const wt of Lc.current)
52972
- lt.includes(wt) || delete dt[wt];
52973
- return { ...dt, ...Gt.current };
52998
+ lt.includes(wt) || delete ft[wt];
52999
+ return { ...ft, ...Gt.current };
52974
53000
  }), Lc.current = lt;
52975
53001
  }
52976
53002
  const rt = Z.clearFormKeys;
52977
53003
  Array.isArray(rt) && rt.length > 0 && ne((lt) => {
52978
53004
  const gt = { ...lt };
52979
- for (const dt of rt) delete gt[dt];
53005
+ for (const ft of rt) delete gt[ft];
52980
53006
  return gt;
52981
53007
  });
52982
53008
  const vt = Z.defaults;
52983
53009
  vt && typeof vt == "object" && ne((lt) => {
52984
53010
  const gt = { ...lt };
52985
- for (const [dt, wt] of Object.entries(vt))
52986
- gt[dt] === void 0 && (gt[dt] = wt);
53011
+ for (const [ft, wt] of Object.entries(vt))
53012
+ gt[ft] === void 0 && (gt[ft] = wt);
52987
53013
  return gt;
52988
53014
  }), Z.preload && await Io(String(Z.preload)), (pe == null ? void 0 : pe.id) === z || (sn == null ? void 0 : sn.id) === z || (Kr(null), on({ id: z, definition: Z }));
52989
53015
  } else {
@@ -53503,9 +53529,9 @@ ${M.message}` : M.message;
53503
53529
  void 0,
53504
53530
  f.key
53505
53531
  ));
53506
- const rt = f.realtime, vt = rt ? M(rt.channel || "") : "", lt = rt ? M(rt.url || "") : "", gt = rt ? M(rt.event || "") : "", dt = rt ? `${lt}|${vt}|${gt}` : "", wt = Vi.current.get(x) !== dt;
53532
+ const rt = f.realtime, vt = rt ? M(rt.channel || "") : "", lt = rt ? M(rt.url || "") : "", gt = rt ? M(rt.event || "") : "", ft = rt ? `${lt}|${vt}|${gt}` : "", wt = Vi.current.get(x) !== ft;
53507
53533
  if (rt && (Z || wt)) {
53508
- Vi.current.set(x, dt);
53534
+ Vi.current.set(x, ft);
53509
53535
  const Zt = Vn.current.get(x);
53510
53536
  Zt && Zt();
53511
53537
  const Ht = f.pageSize || 10;
@@ -53630,7 +53656,7 @@ ${M.message}` : M.message;
53630
53656
  }
53631
53657
  });
53632
53658
  if (!lt.ok) return;
53633
- const gt = await lt.json(), dt = f.dataField || "configs", wt = f.optionLabel || "label", Zt = f.optionValue || "value", Ht = gt[dt] || gt.data || gt, He = Array.isArray(Ht) ? Ht.map((kn) => ({
53659
+ const gt = await lt.json(), ft = f.dataField || "configs", wt = f.optionLabel || "label", Zt = f.optionValue || "value", Ht = gt[ft] || gt.data || gt, He = Array.isArray(Ht) ? Ht.map((kn) => ({
53634
53660
  label: kn[wt] || kn.name || kn.label,
53635
53661
  value: kn[Zt] || kn.id || kn.name || kn.label
53636
53662
  })) : [];