@ws-ui/shared 0.3.2 → 0.3.3

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.es.js CHANGED
@@ -2,7 +2,7 @@ var R_ = Object.defineProperty;
2
2
  var P_ = (e, r, n) => r in e ? R_(e, r, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[r] = n;
3
3
  var Ud = (e, r, n) => (P_(e, typeof r != "symbol" ? r + "" : r, n), n);
4
4
  import * as L from "react";
5
- import $e, { useCallback as gn, useMemo as Mn, useState as gt, useEffect as yt, createContext as Cr, useContext as lr, useRef as ut, useLayoutEffect as A_, forwardRef as _h, Fragment as Bn, isValidElement as I_, cloneElement as L_, createElement as M_ } from "react";
5
+ import $e, { useCallback as gn, useMemo as Dn, useState as gt, useEffect as yt, createContext as Cr, useContext as lr, useRef as ut, useLayoutEffect as A_, forwardRef as _h, Fragment as Bn, isValidElement as I_, cloneElement as L_, createElement as M_ } from "react";
6
6
  import * as D_ from "react-dom";
7
7
  import Ul, { createPortal as k_ } from "react-dom";
8
8
  import { withEmotionCache as N_, ThemeContext as $_, keyframes as j_ } from "@emotion/react";
@@ -407,7 +407,7 @@ function H_() {
407
407
  }
408
408
  return "";
409
409
  }
410
- var Dn = {}, wt = H.ReactDebugCurrentFrame;
410
+ var kn = {}, wt = H.ReactDebugCurrentFrame;
411
411
  function Bt(p) {
412
412
  if (p) {
413
413
  var P = p._owner, j = pt(p.type, p._source, P ? P.type : null);
@@ -430,7 +430,7 @@ function H_() {
430
430
  } catch (_e) {
431
431
  Z = _e;
432
432
  }
433
- Z && !(Z instanceof Error) && (Bt(ie), $("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", G || "React class", j, ee, typeof Z), Bt(null)), Z instanceof Error && !(Z.message in Dn) && (Dn[Z.message] = !0, Bt(ie), $("Failed %s type: %s", j, Z.message), Bt(null));
433
+ Z && !(Z instanceof Error) && (Bt(ie), $("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", G || "React class", j, ee, typeof Z), Bt(null)), Z instanceof Error && !(Z.message in kn) && (kn[Z.message] = !0, Bt(ie), $("Failed %s type: %s", j, Z.message), Bt(null));
434
434
  }
435
435
  }
436
436
  }
@@ -1393,8 +1393,8 @@ function NS(e) {
1393
1393
  var be, ae = k === "y" ? Yt : Xt, Ie = k === "y" ? wn : bn, ye = k === "y" ? "height" : "width", Ee = W[k], We = Ee + E[ae], lt = Ee - E[Ie], q = m ? -$[ye] / 2 : 0, Y = I === ki ? H[ye] : $[ye], fe = I === ki ? -$[ye] : -H[ye], re = r.elements.arrow, le = m && re ? Kl(re) : {
1394
1394
  width: 0,
1395
1395
  height: 0
1396
- }, ce = r.modifiersData["arrow#persistent"] ? r.modifiersData["arrow#persistent"].padding : Ch(), se = ce[ae], de = ce[Ie], ue = ho(0, H[ye], le[ye]), ge = C ? H[ye] / 2 - q - ue - se - Q.mainAxis : Y - ue - se - Q.mainAxis, we = C ? -H[ye] / 2 + q + ue + de + Q.mainAxis : fe + ue + de + Q.mainAxis, Ke = r.elements.arrow && To(r.elements.arrow), X = Ke ? k === "y" ? Ke.clientTop || 0 : Ke.clientLeft || 0 : 0, rt = (be = me == null ? void 0 : me[k]) != null ? be : 0, it = Ee + ge - rt - X, pt = Ee + we - rt, Dn = ho(m ? Xa(We, it) : We, Ee, m ? ti(lt, pt) : lt);
1397
- W[k] = Dn, Te[k] = Dn - Ee;
1396
+ }, ce = r.modifiersData["arrow#persistent"] ? r.modifiersData["arrow#persistent"].padding : Ch(), se = ce[ae], de = ce[Ie], ue = ho(0, H[ye], le[ye]), ge = C ? H[ye] / 2 - q - ue - se - Q.mainAxis : Y - ue - se - Q.mainAxis, we = C ? -H[ye] / 2 + q + ue + de + Q.mainAxis : fe + ue + de + Q.mainAxis, Ke = r.elements.arrow && To(r.elements.arrow), X = Ke ? k === "y" ? Ke.clientTop || 0 : Ke.clientLeft || 0 : 0, rt = (be = me == null ? void 0 : me[k]) != null ? be : 0, it = Ee + ge - rt - X, pt = Ee + we - rt, kn = ho(m ? Xa(We, it) : We, Ee, m ? ti(lt, pt) : lt);
1397
+ W[k] = kn, Te[k] = kn - Ee;
1398
1398
  }
1399
1399
  if (f) {
1400
1400
  var wt, Bt = k === "x" ? Yt : Xt, Pr = k === "x" ? wn : bn, Je = W[T], Qe = T === "y" ? "height" : "width", sn = Je + E[Bt], Vt = Je - E[Pr], _n = [Yt, Xt].indexOf(D) !== -1, Pt = (wt = me == null ? void 0 : me[T]) != null ? wt : 0, cr = _n ? sn : Je - H[Qe] - $[Qe] - Pt + Q.altAxis, un = _n ? Je + H[Qe] + $[Qe] - Pt - Q.altAxis : Vt, Jt = m && _n ? aS(cr, Je, un) : ho(m ? cr : sn, Je, m ? un : Vt);
@@ -1757,7 +1757,7 @@ const nE = (e) => /* @__PURE__ */ N.jsx("div", { className: "absolute inset-0 z-
1757
1757
  "data-cy": "dialogBody",
1758
1758
  children: e
1759
1759
  }
1760
- )), ZP = ({
1760
+ )), QP = ({
1761
1761
  referenceElement: e,
1762
1762
  placement: r,
1763
1763
  isOpen: n,
@@ -2158,7 +2158,7 @@ function oE() {
2158
2158
  }
2159
2159
  return "";
2160
2160
  }
2161
- var Dn = {}, wt = H.ReactDebugCurrentFrame;
2161
+ var kn = {}, wt = H.ReactDebugCurrentFrame;
2162
2162
  function Bt(p) {
2163
2163
  if (p) {
2164
2164
  var P = p._owner, j = pt(p.type, p._source, P ? P.type : null);
@@ -2181,7 +2181,7 @@ function oE() {
2181
2181
  } catch (_e) {
2182
2182
  Z = _e;
2183
2183
  }
2184
- Z && !(Z instanceof Error) && (Bt(ie), $("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", G || "React class", j, ee, typeof Z), Bt(null)), Z instanceof Error && !(Z.message in Dn) && (Dn[Z.message] = !0, Bt(ie), $("Failed %s type: %s", j, Z.message), Bt(null));
2184
+ Z && !(Z instanceof Error) && (Bt(ie), $("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", G || "React class", j, ee, typeof Z), Bt(null)), Z instanceof Error && !(Z.message in kn) && (kn[Z.message] = !0, Bt(ie), $("Failed %s type: %s", j, Z.message), Bt(null));
2185
2185
  }
2186
2186
  }
2187
2187
  }
@@ -2895,7 +2895,7 @@ const Va = (e) => {
2895
2895
  default:
2896
2896
  return null;
2897
2897
  }
2898
- }, QP = ({
2898
+ }, eA = ({
2899
2899
  id: e,
2900
2900
  onClose: r,
2901
2901
  kind: n,
@@ -3332,7 +3332,7 @@ const qx = ({ depth: e, height: r = 24, width: n = 11, showLines: o = !0 }) => {
3332
3332
  onNodeClick: f
3333
3333
  }) => {
3334
3334
  var m;
3335
- const { key: d, children: v } = e, g = Mn(
3335
+ const { key: d, children: v } = e, g = Dn(
3336
3336
  () => ({
3337
3337
  expanded: n.includes(e.key),
3338
3338
  selected: o.includes(e.key)
@@ -3408,7 +3408,7 @@ const qx = ({ depth: e, height: r = 24, width: n = 11, showLines: o = !0 }) => {
3408
3408
  ),
3409
3409
  Gx(e, o)
3410
3410
  ] });
3411
- }, Ca = (e) => (r) => e === r, eA = function({
3411
+ }, Ca = (e) => (r) => e === r, tA = function({
3412
3412
  treeData: r,
3413
3413
  renderNode: n,
3414
3414
  onNodeClick: o,
@@ -3475,7 +3475,7 @@ const qx = ({ depth: e, height: r = 24, width: n = 11, showLines: o = !0 }) => {
3475
3475
  });
3476
3476
  },
3477
3477
  [v]
3478
- ), y = Mn(
3478
+ ), y = Dn(
3479
3479
  () => ({
3480
3480
  expand: _,
3481
3481
  select: O,
@@ -3507,7 +3507,7 @@ const qx = ({ depth: e, height: r = 24, width: n = 11, showLines: o = !0 }) => {
3507
3507
  }
3508
3508
  );
3509
3509
  };
3510
- function tA(e) {
3510
+ function nA(e) {
3511
3511
  return e.of && e.children ? /* @__PURE__ */ N.jsx(N.Fragment, { children: e.children }) : null;
3512
3512
  }
3513
3513
  function _t() {
@@ -3642,10 +3642,10 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
3642
3642
  case "animationName":
3643
3643
  if (typeof n == "string")
3644
3644
  return n.replace(lv, function(o, a, u) {
3645
- return In = {
3645
+ return Ln = {
3646
3646
  name: a,
3647
3647
  styles: u,
3648
- next: In
3648
+ next: Ln
3649
3649
  }, a;
3650
3650
  });
3651
3651
  }
@@ -3676,19 +3676,19 @@ function bo(e, r, n) {
3676
3676
  return "";
3677
3677
  case "object": {
3678
3678
  if (n.anim === 1)
3679
- return In = {
3679
+ return Ln = {
3680
3680
  name: n.name,
3681
3681
  styles: n.styles,
3682
- next: In
3682
+ next: Ln
3683
3683
  }, n.name;
3684
3684
  if (n.styles !== void 0) {
3685
3685
  var o = n.next;
3686
3686
  if (o !== void 0)
3687
3687
  for (; o !== void 0; )
3688
- In = {
3688
+ Ln = {
3689
3689
  name: o.name,
3690
3690
  styles: o.styles,
3691
- next: In
3691
+ next: Ln
3692
3692
  }, o = o.next;
3693
3693
  var a = n.styles + ";";
3694
3694
  return process.env.NODE_ENV !== "production" && n.map !== void 0 && (a += n.map), a;
@@ -3697,8 +3697,8 @@ function bo(e, r, n) {
3697
3697
  }
3698
3698
  case "function": {
3699
3699
  if (e !== void 0) {
3700
- var u = In, l = n(e);
3701
- return In = u, bo(e, r, l);
3700
+ var u = Ln, l = n(e);
3701
+ return Ln = u, bo(e, r, l);
3702
3702
  } else
3703
3703
  process.env.NODE_ENV !== "production" && console.error("Functions that are interpolated in css calls will be stringified.\nIf you want to have a css call based on props, create a function that returns a css call like this\nlet dynamicStyle = (props) => css`color: ${props.color}`\nIt can be called directly with props or interpolated in a styled call like this\nlet SomeComponent = styled('div')`${dynamicStyle}`");
3704
3704
  break;
@@ -3757,11 +3757,11 @@ function cO(e, r, n) {
3757
3757
  }
3758
3758
  var bp = /label:\s*([^\s;\n{]+)\s*(;|$)/g, fv;
3759
3759
  process.env.NODE_ENV !== "production" && (fv = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g);
3760
- var In, fO = function(r, n, o) {
3760
+ var Ln, fO = function(r, n, o) {
3761
3761
  if (r.length === 1 && typeof r[0] == "object" && r[0] !== null && r[0].styles !== void 0)
3762
3762
  return r[0];
3763
3763
  var a = !0, u = "";
3764
- In = void 0;
3764
+ Ln = void 0;
3765
3765
  var l = r[0];
3766
3766
  l == null || l.raw === void 0 ? (a = !1, u += bo(o, n, l)) : (process.env.NODE_ENV !== "production" && l[0] === void 0 && console.error(gp), u += l[0]);
3767
3767
  for (var f = 1; f < r.length; f++)
@@ -3778,14 +3778,14 @@ var In, fO = function(r, n, o) {
3778
3778
  name: _,
3779
3779
  styles: u,
3780
3780
  map: d,
3781
- next: In,
3781
+ next: Ln,
3782
3782
  toString: function() {
3783
3783
  return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
3784
3784
  }
3785
3785
  } : {
3786
3786
  name: _,
3787
3787
  styles: u,
3788
- next: In
3788
+ next: Ln
3789
3789
  };
3790
3790
  }, dO = function(r) {
3791
3791
  return r();
@@ -4991,7 +4991,7 @@ const [Cv, Rv] = Tv("Popper"), [ET, Pv] = Cv("Popper"), xT = (e) => {
4991
4991
  return L.useEffect(() => {
4992
4992
  u.onAnchorChange((o == null ? void 0 : o.current) || l.current);
4993
4993
  }), o ? null : /* @__PURE__ */ L.createElement(Fi.div, _t({}, a, { ref: f }));
4994
- }), [TT, nA] = Cv("PopperContent"), CT = /* @__PURE__ */ L.forwardRef((e, r) => {
4994
+ }), [TT, rA] = Cv("PopperContent"), CT = /* @__PURE__ */ L.forwardRef((e, r) => {
4995
4995
  const { __scopePopper: n, side: o = "bottom", sideOffset: a, align: u = "center", alignOffset: l, collisionTolerance: f, avoidCollisions: d = !0, ...v } = e, g = Pv("PopperContent", n), [_, O] = L.useState(), m = yT(g.anchor), [S, y] = L.useState(null), E = jp(S), [D, I] = L.useState(null), C = jp(D), k = oi(r, (Te) => y(Te)), T = function() {
4996
4996
  const [Te, be] = L.useState(void 0);
4997
4997
  return L.useEffect(() => {
@@ -5023,7 +5023,7 @@ function IT({ prop: e, defaultProp: r, onChange: n = () => {
5023
5023
  a(d);
5024
5024
  }, [u, e, a, f])];
5025
5025
  }
5026
- const [LT, rA] = Tv("Popover", [Rv]), rc = Rv(), [MT, Ro] = LT("Popover"), DT = (e) => {
5026
+ const [LT, iA] = Tv("Popover", [Rv]), rc = Rv(), [MT, Ro] = LT("Popover"), DT = (e) => {
5027
5027
  const { __scopePopover: r, children: n, open: o, defaultOpen: a, onOpenChange: u, modal: l = !1 } = e, f = rc(r), d = L.useRef(null), [v, g] = L.useState(!1), [_ = !1, O] = IT({ prop: o, defaultProp: a, onChange: u });
5028
5028
  return L.createElement(RT, f, /* @__PURE__ */ L.createElement(MT, { scope: r, contentId: sT(), triggerRef: d, open: _, onOpenChange: O, onOpenToggle: L.useCallback(() => O((m) => !m), [O]), hasCustomAnchor: v, onCustomAnchorAdd: L.useCallback(() => g(!0), []), onCustomAnchorRemove: L.useCallback(() => g(!1), []), modal: l }, n));
5029
5029
  }, kT = /* @__PURE__ */ L.forwardRef((e, r) => {
@@ -7190,7 +7190,7 @@ function ah(e, r) {
7190
7190
  o.key === r && n.push(o);
7191
7191
  }), n;
7192
7192
  }
7193
- const iA = ({
7193
+ const oA = ({
7194
7194
  children: e,
7195
7195
  enabled: r,
7196
7196
  baseUrl: n = "https://raw.githubusercontent.com/4d/Web-studio-TIPS/main"
@@ -7243,7 +7243,7 @@ const iA = ({
7243
7243
  &[data-state='open'] > * {
7244
7244
  display: block !important;
7245
7245
  }
7246
- `, oA = ({ tipKey: e, side: r = "right", alwaysOn: n, asButton: o = !1 }) => {
7246
+ `, aA = ({ tipKey: e, side: r = "right", alwaysOn: n, asButton: o = !1 }) => {
7247
7247
  const { tip: a, enabled: u } = HC(e), [l, f] = gt(!1), d = ut(null);
7248
7248
  return yt(() => {
7249
7249
  if (d.current) {
@@ -7569,11 +7569,11 @@ function qv() {
7569
7569
  }
7570
7570
  function oR() {
7571
7571
  let [e, r] = gt([]);
7572
- return [e.length > 0 ? e.join(" ") : void 0, Mn(() => function(n) {
7572
+ return [e.length > 0 ? e.join(" ") : void 0, Dn(() => function(n) {
7573
7573
  let o = $t((u) => (r((l) => [...l, u]), () => r((l) => {
7574
7574
  let f = l.slice(), d = f.indexOf(u);
7575
7575
  return d !== -1 && f.splice(d, 1), f;
7576
- }))), a = Mn(() => ({ register: o, slot: n.slot, name: n.name, props: n.props }), [o, n.slot, n.name, n.props]);
7576
+ }))), a = Dn(() => ({ register: o, slot: n.slot, name: n.name, props: n.props }), [o, n.slot, n.name, n.props]);
7577
7577
  return $e.createElement(zv.Provider, { value: a }, n.children);
7578
7578
  }, [r])];
7579
7579
  }
@@ -7606,11 +7606,11 @@ function Gv() {
7606
7606
  }
7607
7607
  function fR() {
7608
7608
  let [e, r] = gt([]);
7609
- return [e.length > 0 ? e.join(" ") : void 0, Mn(() => function(n) {
7609
+ return [e.length > 0 ? e.join(" ") : void 0, Dn(() => function(n) {
7610
7610
  let o = $t((u) => (r((l) => [...l, u]), () => r((l) => {
7611
7611
  let f = l.slice(), d = f.indexOf(u);
7612
7612
  return d !== -1 && f.splice(d, 1), f;
7613
- }))), a = Mn(() => ({ register: o, slot: n.slot, name: n.name, props: n.props }), [o, n.slot, n.name, n.props]);
7613
+ }))), a = Dn(() => ({ register: o, slot: n.slot, name: n.name, props: n.props }), [o, n.slot, n.name, n.props]);
7614
7614
  return $e.createElement(Kv.Provider, { value: a }, n.children);
7615
7615
  }, [r])];
7616
7616
  }
@@ -7626,7 +7626,7 @@ pc.displayName = "GroupContext";
7626
7626
  let mR = Bn;
7627
7627
  function gR(e) {
7628
7628
  var r;
7629
- let [n, o] = gt(null), [a, u] = fR(), [l, f] = oR(), d = Mn(() => ({ switch: n, setSwitch: o, labelledby: a, describedby: l }), [n, o, a, l]), v = {}, g = e;
7629
+ let [n, o] = gt(null), [a, u] = fR(), [l, f] = oR(), d = Dn(() => ({ switch: n, setSwitch: o, labelledby: a, describedby: l }), [n, o, a, l]), v = {}, g = e;
7630
7630
  return $e.createElement(f, { name: "Switch.Description" }, $e.createElement(u, { name: "Switch.Label", props: { htmlFor: (r = d.switch) == null ? void 0 : r.id, onClick(_) {
7631
7631
  n && (_.currentTarget.tagName === "LABEL" && _.preventDefault(), n.click(), n.focus({ preventScroll: !0 }));
7632
7632
  } } }, $e.createElement(pc.Provider, { value: d }, ai({ ourProps: v, theirProps: g, defaultTag: mR, name: "Switch.Group" }))));
@@ -7639,7 +7639,7 @@ function wR(e, r) {
7639
7639
  H.preventDefault(), E();
7640
7640
  }), I = $t((H) => {
7641
7641
  H.key === Nl.Space ? (H.preventDefault(), E()) : H.key === Nl.Enter && QC(H.currentTarget);
7642
- }), C = $t((H) => H.preventDefault()), k = Mn(() => ({ checked: S }), [S]), T = { id: o, ref: m, role: "switch", type: YC(e, O), tabIndex: 0, "aria-checked": S, "aria-labelledby": _ == null ? void 0 : _.labelledby, "aria-describedby": _ == null ? void 0 : _.describedby, onClick: D, onKeyUp: I, onKeyPress: C }, W = uc();
7642
+ }), C = $t((H) => H.preventDefault()), k = Dn(() => ({ checked: S }), [S]), T = { id: o, ref: m, role: "switch", type: YC(e, O), tabIndex: 0, "aria-checked": S, "aria-labelledby": _ == null ? void 0 : _.labelledby, "aria-describedby": _ == null ? void 0 : _.describedby, onClick: D, onKeyUp: I, onKeyPress: C }, W = uc();
7643
7643
  return yt(() => {
7644
7644
  var H;
7645
7645
  let $ = (H = O.current) == null ? void 0 : H.closest("form");
@@ -7757,7 +7757,7 @@ function Yv(e, r) {
7757
7757
  (E = d.current.shift()) == null || E();
7758
7758
  }).then(() => y(S));
7759
7759
  });
7760
- return Mn(() => ({ children: o, register: f, unregister: l, onStart: _, onStop: O, wait: v, chains: g }), [f, l, o, _, O, g, v]);
7760
+ return Dn(() => ({ children: o, register: f, unregister: l, onStart: _, onStop: O, wait: v, chains: g }), [f, l, o, _, O, g, v]);
7761
7761
  }
7762
7762
  function AR() {
7763
7763
  }
@@ -7826,7 +7826,7 @@ function kR(e, r) {
7826
7826
  Kn(() => {
7827
7827
  O !== !1 && S.current[S.current.length - 1] !== n && (S.current.push(n), m(!1));
7828
7828
  }, [S, n]);
7829
- let y = Mn(() => ({ show: n, appear: o, initial: O }), [n, o, O]);
7829
+ let y = Dn(() => ({ show: n, appear: o, initial: O }), [n, o, O]);
7830
7830
  yt(() => {
7831
7831
  if (n)
7832
7832
  g("visible");
@@ -7900,7 +7900,7 @@ pointer-events-none inline-block ${cl[n].switch} transform rounded-full bg-white
7900
7900
  )
7901
7901
  }
7902
7902
  ) });
7903
- }), sA = ({
7903
+ }), uA = ({
7904
7904
  children: e,
7905
7905
  label: r,
7906
7906
  placement: n = "top",
@@ -7968,7 +7968,7 @@ pointer-events-none inline-block ${cl[n].switch} transform rounded-full bg-white
7968
7968
  stroke-dasharray: 700;
7969
7969
  stroke-dashoffset: 700;
7970
7970
  }
7971
- `, uA = ({
7971
+ `, lA = ({
7972
7972
  message: e,
7973
7973
  version: r
7974
7974
  }) => /* @__PURE__ */ N.jsx("div", { className: "absolute inset-0 flex h-screen w-screen flex-col items-center justify-center bg-fd-gray-default text-white", children: /* @__PURE__ */ N.jsxs("div", { className: "flex flex-col text-center", children: [
@@ -8040,7 +8040,7 @@ os.exports;
8040
8040
  ["partial", T],
8041
8041
  ["partialRight", W],
8042
8042
  ["rearg", $]
8043
- ], ce = "[object Arguments]", se = "[object Array]", de = "[object AsyncFunction]", ue = "[object Boolean]", ge = "[object Date]", we = "[object DOMException]", Ke = "[object Error]", X = "[object Function]", rt = "[object GeneratorFunction]", it = "[object Map]", pt = "[object Number]", Dn = "[object Null]", wt = "[object Object]", Bt = "[object Promise]", Pr = "[object Proxy]", Je = "[object RegExp]", Qe = "[object Set]", sn = "[object String]", Vt = "[object Symbol]", _n = "[object Undefined]", Pt = "[object WeakMap]", cr = "[object WeakSet]", un = "[object ArrayBuffer]", Jt = "[object DataView]", Ar = "[object Float32Array]", Ir = "[object Float64Array]", Lr = "[object Int8Array]", Mr = "[object Int16Array]", Sn = "[object Int32Array]", Yn = "[object Uint8Array]", Et = "[object Uint8ClampedArray]", En = "[object Uint16Array]", xn = "[object Uint32Array]", Dr = /\b__p \+= '';/g, Ui = /\b(__p \+=) '' \+/g, kr = /(__e\(.*?\)|\b__t\)) \+\n'';/g, li = /&(?:amp|lt|gt|quot|#39);/g, fr = /[&<>"']/g, Nr = RegExp(li.source), Bi = RegExp(fr.source), zi = /<%-([\s\S]+?)%>/g, $r = /<%([\s\S]+?)%>/g, ci = /<%=([\s\S]+?)%>/g, qi = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Ki = /^\w*$/, Gi = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, p = /[\\^$.*+?()[\]{}|]/g, P = RegExp(p.source), j = /^\s+/, G = /\s/, ie = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, oe = /\{\n\/\* \[wrapped with (.+)\] \*/, ee = /,? & /, Z = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, je = /[()=,{}\[\]\/\s]/, _e = /\\(\\)?/g, xe = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, ot = /\w*$/, jt = /^[-+]0x[0-9a-f]+$/i, jr = /^0b[01]+$/i, ct = /^\[object .+?Constructor\]$/, gm = /^0o[0-7]+$/i, ym = /^(?:0|[1-9]\d*)$/, wm = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, No = /($^)/, bm = /['\n\r\u2028\u2029\\]/g, $o = "\\ud800-\\udfff", _m = "\\u0300-\\u036f", Sm = "\\ufe20-\\ufe2f", Em = "\\u20d0-\\u20ff", mc = _m + Sm + Em, gc = "\\u2700-\\u27bf", yc = "a-z\\xdf-\\xf6\\xf8-\\xff", xm = "\\xac\\xb1\\xd7\\xf7", Om = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Tm = "\\u2000-\\u206f", Cm = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", wc = "A-Z\\xc0-\\xd6\\xd8-\\xde", bc = "\\ufe0e\\ufe0f", _c = xm + Om + Tm + Cm, Ss = "['’]", Rm = "[" + $o + "]", Sc = "[" + _c + "]", jo = "[" + mc + "]", Ec = "\\d+", Pm = "[" + gc + "]", xc = "[" + yc + "]", Oc = "[^" + $o + _c + Ec + gc + yc + wc + "]", Es = "\\ud83c[\\udffb-\\udfff]", Am = "(?:" + jo + "|" + Es + ")", Tc = "[^" + $o + "]", xs = "(?:\\ud83c[\\udde6-\\uddff]){2}", Os = "[\\ud800-\\udbff][\\udc00-\\udfff]", fi = "[" + wc + "]", Cc = "\\u200d", Rc = "(?:" + xc + "|" + Oc + ")", Im = "(?:" + fi + "|" + Oc + ")", Pc = "(?:" + Ss + "(?:d|ll|m|re|s|t|ve))?", Ac = "(?:" + Ss + "(?:D|LL|M|RE|S|T|VE))?", Ic = Am + "?", Lc = "[" + bc + "]?", Lm = "(?:" + Cc + "(?:" + [Tc, xs, Os].join("|") + ")" + Lc + Ic + ")*", Mm = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Dm = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Mc = Lc + Ic + Lm, km = "(?:" + [Pm, xs, Os].join("|") + ")" + Mc, Nm = "(?:" + [Tc + jo + "?", jo, xs, Os, Rm].join("|") + ")", $m = RegExp(Ss, "g"), jm = RegExp(jo, "g"), Ts = RegExp(Es + "(?=" + Es + ")|" + Nm + Mc, "g"), Fm = RegExp([
8043
+ ], ce = "[object Arguments]", se = "[object Array]", de = "[object AsyncFunction]", ue = "[object Boolean]", ge = "[object Date]", we = "[object DOMException]", Ke = "[object Error]", X = "[object Function]", rt = "[object GeneratorFunction]", it = "[object Map]", pt = "[object Number]", kn = "[object Null]", wt = "[object Object]", Bt = "[object Promise]", Pr = "[object Proxy]", Je = "[object RegExp]", Qe = "[object Set]", sn = "[object String]", Vt = "[object Symbol]", _n = "[object Undefined]", Pt = "[object WeakMap]", cr = "[object WeakSet]", un = "[object ArrayBuffer]", Jt = "[object DataView]", Ar = "[object Float32Array]", Ir = "[object Float64Array]", Lr = "[object Int8Array]", Mr = "[object Int16Array]", Sn = "[object Int32Array]", Yn = "[object Uint8Array]", Et = "[object Uint8ClampedArray]", En = "[object Uint16Array]", xn = "[object Uint32Array]", Dr = /\b__p \+= '';/g, Ui = /\b(__p \+=) '' \+/g, kr = /(__e\(.*?\)|\b__t\)) \+\n'';/g, li = /&(?:amp|lt|gt|quot|#39);/g, fr = /[&<>"']/g, Nr = RegExp(li.source), Bi = RegExp(fr.source), zi = /<%-([\s\S]+?)%>/g, $r = /<%([\s\S]+?)%>/g, ci = /<%=([\s\S]+?)%>/g, qi = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Ki = /^\w*$/, Gi = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, p = /[\\^$.*+?()[\]{}|]/g, P = RegExp(p.source), j = /^\s+/, G = /\s/, ie = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, oe = /\{\n\/\* \[wrapped with (.+)\] \*/, ee = /,? & /, Z = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, je = /[()=,{}\[\]\/\s]/, _e = /\\(\\)?/g, xe = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, ot = /\w*$/, jt = /^[-+]0x[0-9a-f]+$/i, jr = /^0b[01]+$/i, ct = /^\[object .+?Constructor\]$/, gm = /^0o[0-7]+$/i, ym = /^(?:0|[1-9]\d*)$/, wm = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, No = /($^)/, bm = /['\n\r\u2028\u2029\\]/g, $o = "\\ud800-\\udfff", _m = "\\u0300-\\u036f", Sm = "\\ufe20-\\ufe2f", Em = "\\u20d0-\\u20ff", mc = _m + Sm + Em, gc = "\\u2700-\\u27bf", yc = "a-z\\xdf-\\xf6\\xf8-\\xff", xm = "\\xac\\xb1\\xd7\\xf7", Om = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Tm = "\\u2000-\\u206f", Cm = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", wc = "A-Z\\xc0-\\xd6\\xd8-\\xde", bc = "\\ufe0e\\ufe0f", _c = xm + Om + Tm + Cm, Ss = "['’]", Rm = "[" + $o + "]", Sc = "[" + _c + "]", jo = "[" + mc + "]", Ec = "\\d+", Pm = "[" + gc + "]", xc = "[" + yc + "]", Oc = "[^" + $o + _c + Ec + gc + yc + wc + "]", Es = "\\ud83c[\\udffb-\\udfff]", Am = "(?:" + jo + "|" + Es + ")", Tc = "[^" + $o + "]", xs = "(?:\\ud83c[\\udde6-\\uddff]){2}", Os = "[\\ud800-\\udbff][\\udc00-\\udfff]", fi = "[" + wc + "]", Cc = "\\u200d", Rc = "(?:" + xc + "|" + Oc + ")", Im = "(?:" + fi + "|" + Oc + ")", Pc = "(?:" + Ss + "(?:d|ll|m|re|s|t|ve))?", Ac = "(?:" + Ss + "(?:D|LL|M|RE|S|T|VE))?", Ic = Am + "?", Lc = "[" + bc + "]?", Lm = "(?:" + Cc + "(?:" + [Tc, xs, Os].join("|") + ")" + Lc + Ic + ")*", Mm = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Dm = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Mc = Lc + Ic + Lm, km = "(?:" + [Pm, xs, Os].join("|") + ")" + Mc, Nm = "(?:" + [Tc + jo + "?", jo, xs, Os, Rm].join("|") + ")", $m = RegExp(Ss, "g"), jm = RegExp(jo, "g"), Ts = RegExp(Es + "(?=" + Es + ")|" + Nm + Mc, "g"), Fm = RegExp([
8044
8044
  fi + "?" + xc + "+" + Pc + "(?=" + [Sc, fi, "$"].join("|") + ")",
8045
8045
  Im + "+" + Ac + "(?=" + [Sc, fi + Rc, "$"].join("|") + ")",
8046
8046
  fi + "?" + Rc + "+" + Pc,
@@ -8864,10 +8864,10 @@ os.exports;
8864
8864
  }), c;
8865
8865
  }
8866
8866
  function lf(t, i) {
8867
- return t && Nn(i, bt(i), t);
8867
+ return t && $n(i, bt(i), t);
8868
8868
  }
8869
8869
  function v0(t, i) {
8870
- return t && Nn(i, Kt(i), t);
8870
+ return t && $n(i, Kt(i), t);
8871
8871
  }
8872
8872
  function Jn(t, i, s) {
8873
8873
  i == "__proto__" && Vo ? Vo(t, i, {
@@ -8964,7 +8964,7 @@ os.exports;
8964
8964
  }
8965
8965
  return M;
8966
8966
  }
8967
- var mr = jf(kn), df = jf(qs, !0);
8967
+ var mr = jf(Nn), df = jf(qs, !0);
8968
8968
  function g0(t, i) {
8969
8969
  var s = !0;
8970
8970
  return mr(t, function(c, h, b) {
@@ -9000,7 +9000,7 @@ os.exports;
9000
9000
  return h;
9001
9001
  }
9002
9002
  var zs = Ff(), hf = Ff(!0);
9003
- function kn(t, i) {
9003
+ function Nn(t, i) {
9004
9004
  return t && zs(t, i, bt);
9005
9005
  }
9006
9006
  function qs(t, i) {
@@ -9014,7 +9014,7 @@ os.exports;
9014
9014
  function zr(t, i) {
9015
9015
  i = yr(i, t);
9016
9016
  for (var s = 0, c = i.length; t != null && s < c; )
9017
- t = t[$n(i[s++])];
9017
+ t = t[jn(i[s++])];
9018
9018
  return s && s == c ? t : n;
9019
9019
  }
9020
9020
  function vf(t, i, s) {
@@ -9022,7 +9022,7 @@ os.exports;
9022
9022
  return Oe(t) ? c : pr(c, s(t));
9023
9023
  }
9024
9024
  function Ft(t) {
9025
- return t == null ? t === n ? _n : Dn : Wr && Wr in Ge(t) ? ey(t) : py(t);
9025
+ return t == null ? t === n ? _n : kn : Wr && Wr in Ge(t) ? ey(t) : py(t);
9026
9026
  }
9027
9027
  function Ks(t, i) {
9028
9028
  return t > i;
@@ -9058,13 +9058,13 @@ os.exports;
9058
9058
  return B;
9059
9059
  }
9060
9060
  function S0(t, i, s, c) {
9061
- return kn(t, function(h, b, x) {
9061
+ return Nn(t, function(h, b, x) {
9062
9062
  i(c, s(h), b, x);
9063
9063
  }), c;
9064
9064
  }
9065
9065
  function no(t, i, s) {
9066
9066
  i = yr(i, t), t = nd(t, i);
9067
- var c = t == null ? t : t[$n(vn(i))];
9067
+ var c = t == null ? t : t[jn(vn(i))];
9068
9068
  return c == null ? n : Zt(c, t, s);
9069
9069
  }
9070
9070
  function mf(t) {
@@ -9177,7 +9177,7 @@ os.exports;
9177
9177
  };
9178
9178
  }
9179
9179
  function _f(t, i) {
9180
- return pu(t) && Qf(i) ? ed($n(t), i) : function(s) {
9180
+ return pu(t) && Qf(i) ? ed(jn(t), i) : function(s) {
9181
9181
  var c = Eu(s, t);
9182
9182
  return c === n && c === i ? xu(s, t) : ro(i, c, S | y);
9183
9183
  };
@@ -9294,7 +9294,7 @@ os.exports;
9294
9294
  return t;
9295
9295
  i = yr(i, t);
9296
9296
  for (var h = -1, b = i.length, x = b - 1, R = t; R != null && ++h < b; ) {
9297
- var M = $n(i[h]), B = s;
9297
+ var M = jn(i[h]), B = s;
9298
9298
  if (M === "__proto__" || M === "constructor" || M === "prototype")
9299
9299
  return t;
9300
9300
  if (h != x) {
@@ -9405,7 +9405,7 @@ os.exports;
9405
9405
  return R;
9406
9406
  }
9407
9407
  function tu(t, i) {
9408
- return i = yr(i, t), t = nd(t, i), t == null || delete t[$n(vn(i))];
9408
+ return i = yr(i, t), t = nd(t, i), t == null || delete t[jn(vn(i))];
9409
9409
  }
9410
9410
  function Pf(t, i, s, c) {
9411
9411
  return io(t, i, s(zr(t, i)), c);
@@ -9525,7 +9525,7 @@ os.exports;
9525
9525
  i[s] = t[s];
9526
9526
  return i;
9527
9527
  }
9528
- function Nn(t, i, s, c) {
9528
+ function $n(t, i, s, c) {
9529
9529
  var h = !s;
9530
9530
  s || (s = {});
9531
9531
  for (var b = -1, x = i.length; ++b < x; ) {
@@ -9535,10 +9535,10 @@ os.exports;
9535
9535
  return s;
9536
9536
  }
9537
9537
  function q0(t, i) {
9538
- return Nn(t, du(t), i);
9538
+ return $n(t, du(t), i);
9539
9539
  }
9540
9540
  function K0(t, i) {
9541
- return Nn(t, Vf(t), i);
9541
+ return $n(t, Vf(t), i);
9542
9542
  }
9543
9543
  function ua(t, i) {
9544
9544
  return function(s, c) {
@@ -10046,7 +10046,7 @@ os.exports;
10046
10046
  function Jf(t, i, s) {
10047
10047
  i = yr(i, t);
10048
10048
  for (var c = -1, h = i.length, b = !1; ++c < h; ) {
10049
- var x = $n(i[c]);
10049
+ var x = jn(i[c]);
10050
10050
  if (!(b = t != null && s(t, x)))
10051
10051
  break;
10052
10052
  t = t[x];
@@ -10235,7 +10235,7 @@ os.exports;
10235
10235
  i.push(h ? b.replace(_e, "$1") : c || s);
10236
10236
  }), i;
10237
10237
  });
10238
- function $n(t) {
10238
+ function jn(t) {
10239
10239
  if (typeof t == "string" || tn(t))
10240
10240
  return t;
10241
10241
  var i = t + "";
@@ -11071,7 +11071,7 @@ os.exports;
11071
11071
  return s || gm.test(t) ? Xm(t.slice(2), s ? 2 : 8) : jt.test(t) ? q : +t;
11072
11072
  }
11073
11073
  function Ad(t) {
11074
- return Nn(t, Kt(t));
11074
+ return $n(t, Kt(t));
11075
11075
  }
11076
11076
  function kw(t) {
11077
11077
  return t ? Br(Ce(t), -We, We) : t === 0 ? t : 0;
@@ -11081,17 +11081,17 @@ os.exports;
11081
11081
  }
11082
11082
  var Nw = bi(function(t, i) {
11083
11083
  if (ao(i) || qt(i)) {
11084
- Nn(i, bt(i), t);
11084
+ $n(i, bt(i), t);
11085
11085
  return;
11086
11086
  }
11087
11087
  for (var s in i)
11088
11088
  ze.call(i, s) && eo(t, s, i[s]);
11089
11089
  }), Id = bi(function(t, i) {
11090
- Nn(i, Kt(i), t);
11090
+ $n(i, Kt(i), t);
11091
11091
  }), Ea = bi(function(t, i, s, c) {
11092
- Nn(i, Kt(i), t, c);
11092
+ $n(i, Kt(i), t, c);
11093
11093
  }), $w = bi(function(t, i, s, c) {
11094
- Nn(i, bt(i), t, c);
11094
+ $n(i, bt(i), t, c);
11095
11095
  }), jw = Qn(Bs);
11096
11096
  function Fw(t, i) {
11097
11097
  var s = wi(t);
@@ -11110,7 +11110,7 @@ os.exports;
11110
11110
  return t.push(n, Yf), Zt(Ld, n, t);
11111
11111
  });
11112
11112
  function Uw(t, i) {
11113
- return Bc(t, pe(i, 3), kn);
11113
+ return Bc(t, pe(i, 3), Nn);
11114
11114
  }
11115
11115
  function Bw(t, i) {
11116
11116
  return Bc(t, pe(i, 3), qs);
@@ -11122,7 +11122,7 @@ os.exports;
11122
11122
  return t == null ? t : hf(t, pe(i, 3), Kt);
11123
11123
  }
11124
11124
  function Kw(t, i) {
11125
- return t && kn(t, pe(i, 3));
11125
+ return t && Nn(t, pe(i, 3));
11126
11126
  }
11127
11127
  function Gw(t, i) {
11128
11128
  return t && qs(t, pe(i, 3));
@@ -11156,13 +11156,13 @@ os.exports;
11156
11156
  }
11157
11157
  function eb(t, i) {
11158
11158
  var s = {};
11159
- return i = pe(i, 3), kn(t, function(c, h, b) {
11159
+ return i = pe(i, 3), Nn(t, function(c, h, b) {
11160
11160
  Jn(s, i(c, h, b), c);
11161
11161
  }), s;
11162
11162
  }
11163
11163
  function tb(t, i) {
11164
11164
  var s = {};
11165
- return i = pe(i, 3), kn(t, function(c, h, b) {
11165
+ return i = pe(i, 3), Nn(t, function(c, h, b) {
11166
11166
  Jn(s, h, i(c, h, b));
11167
11167
  }), s;
11168
11168
  }
@@ -11177,7 +11177,7 @@ os.exports;
11177
11177
  var c = !1;
11178
11178
  i = et(i, function(b) {
11179
11179
  return b = yr(b, t), c || (c = b.length > 1), b;
11180
- }), Nn(t, lu(t), s), c && (s = pn(s, _ | O | m, J0));
11180
+ }), $n(t, lu(t), s), c && (s = pn(s, _ | O | m, J0));
11181
11181
  for (var h = i.length; h--; )
11182
11182
  tu(s, i[h]);
11183
11183
  return s;
@@ -11202,7 +11202,7 @@ os.exports;
11202
11202
  i = yr(i, t);
11203
11203
  var c = -1, h = i.length;
11204
11204
  for (h || (h = 1, t = n); ++c < h; ) {
11205
- var b = t == null ? n : t[$n(i[c])];
11205
+ var b = t == null ? n : t[jn(i[c])];
11206
11206
  b === n && (c = h, b = s), t = tr(b) ? b.call(t) : b;
11207
11207
  }
11208
11208
  return t;
@@ -11220,7 +11220,7 @@ os.exports;
11220
11220
  var b = t && t.constructor;
11221
11221
  h ? s = c ? new b() : [] : tt(t) ? s = tr(b) ? wi(Yo(t)) : {} : s = {};
11222
11222
  }
11223
- return (h ? cn : kn)(t, function(x, R, M) {
11223
+ return (h ? cn : Nn)(t, function(x, R, M) {
11224
11224
  return i(s, x, R, M);
11225
11225
  }), s;
11226
11226
  }
@@ -11443,7 +11443,7 @@ function print() { __p += __j.call(arguments, '') }
11443
11443
  }
11444
11444
  }), Bb = Qn(function(t, i) {
11445
11445
  return cn(i, function(s) {
11446
- s = $n(s), Jn(t, s, wu(t[s], t));
11446
+ s = jn(s), Jn(t, s, wu(t[s], t));
11447
11447
  }), t;
11448
11448
  });
11449
11449
  function zb(t) {
@@ -11521,7 +11521,7 @@ function print() { __p += __j.call(arguments, '') }
11521
11521
  }
11522
11522
  var t_ = au(et), n_ = au(Uc), r_ = au(Is);
11523
11523
  function Wd(t) {
11524
- return pu(t) ? Ls($n(t)) : M0(t);
11524
+ return pu(t) ? Ls(jn(t)) : M0(t);
11525
11525
  }
11526
11526
  function i_(t) {
11527
11527
  return function(i) {
@@ -11554,7 +11554,7 @@ function print() { __p += __j.call(arguments, '') }
11554
11554
  return h;
11555
11555
  }
11556
11556
  function f_(t) {
11557
- return Oe(t) ? et(t, $n) : tn(t) ? [t] : zt(ad(He(t)));
11557
+ return Oe(t) ? et(t, jn) : tn(t) ? [t] : zt(ad(He(t)));
11558
11558
  }
11559
11559
  function d_(t) {
11560
11560
  var i = ++Eg;
@@ -11596,7 +11596,7 @@ function print() { __p += __j.call(arguments, '') }
11596
11596
  }
11597
11597
  return w.after = X1, w.ary = gd, w.assign = Nw, w.assignIn = Id, w.assignInWith = Ea, w.assignWith = $w, w.at = jw, w.before = yd, w.bind = wu, w.bindAll = Bb, w.bindKey = wd, w.castArray = sw, w.chain = hd, w.chunk = my, w.compact = gy, w.concat = yy, w.cond = zb, w.conforms = qb, w.constant = Tu, w.countBy = T1, w.create = Fw, w.curry = bd, w.curryRight = _d, w.debounce = Sd, w.defaults = Ww, w.defaultsDeep = Hw, w.defer = V1, w.delay = J1, w.difference = wy, w.differenceBy = by, w.differenceWith = _y, w.drop = Sy, w.dropRight = Ey, w.dropRightWhile = xy, w.dropWhile = Oy, w.fill = Ty, w.filter = R1, w.flatMap = I1, w.flatMapDeep = L1, w.flatMapDepth = M1, w.flatten = cd, w.flattenDeep = Cy, w.flattenDepth = Ry, w.flip = Z1, w.flow = Gb, w.flowRight = Yb, w.fromPairs = Py, w.functions = Yw, w.functionsIn = Xw, w.groupBy = D1, w.initial = Iy, w.intersection = Ly, w.intersectionBy = My, w.intersectionWith = Dy, w.invert = Jw, w.invertBy = Zw, w.invokeMap = N1, w.iteratee = Cu, w.keyBy = $1, w.keys = bt, w.keysIn = Kt, w.map = ga, w.mapKeys = eb, w.mapValues = tb, w.matches = Xb, w.matchesProperty = Vb, w.memoize = wa, w.merge = nb, w.mergeWith = Ld, w.method = Jb, w.methodOf = Zb, w.mixin = Ru, w.negate = ba, w.nthArg = e_, w.omit = rb, w.omitBy = ib, w.once = Q1, w.orderBy = j1, w.over = t_, w.overArgs = ew, w.overEvery = n_, w.overSome = r_, w.partial = bu, w.partialRight = Ed, w.partition = F1, w.pick = ob, w.pickBy = Md, w.property = Wd, w.propertyOf = i_, w.pull = jy, w.pullAll = dd, w.pullAllBy = Fy, w.pullAllWith = Wy, w.pullAt = Hy, w.range = o_, w.rangeRight = a_, w.rearg = tw, w.reject = U1, w.remove = Uy, w.rest = nw, w.reverse = gu, w.sampleSize = z1, w.set = sb, w.setWith = ub, w.shuffle = q1, w.slice = By, w.sortBy = Y1, w.sortedUniq = Vy, w.sortedUniqBy = Jy, w.split = Ib, w.spread = rw, w.tail = Zy, w.take = Qy, w.takeRight = e1, w.takeRightWhile = t1, w.takeWhile = n1, w.tap = g1, w.throttle = iw, w.thru = ma, w.toArray = Rd, w.toPairs = Dd, w.toPairsIn = kd, w.toPath = f_, w.toPlainObject = Ad, w.transform = lb, w.unary = ow, w.union = r1, w.unionBy = i1, w.unionWith = o1, w.uniq = a1, w.uniqBy = s1, w.uniqWith = u1, w.unset = cb, w.unzip = yu, w.unzipWith = pd, w.update = fb, w.updateWith = db, w.values = xi, w.valuesIn = pb, w.without = l1, w.words = jd, w.wrap = aw, w.xor = c1, w.xorBy = f1, w.xorWith = d1, w.zip = p1, w.zipObject = h1, w.zipObjectDeep = v1, w.zipWith = m1, w.entries = Dd, w.entriesIn = kd, w.extend = Id, w.extendWith = Ea, Ru(w, w), w.add = p_, w.attempt = Fd, w.camelCase = gb, w.capitalize = Nd, w.ceil = h_, w.clamp = hb, w.clone = uw, w.cloneDeep = cw, w.cloneDeepWith = fw, w.cloneWith = lw, w.conformsTo = dw, w.deburr = $d, w.defaultTo = Kb, w.divide = v_, w.endsWith = yb, w.eq = Cn, w.escape = wb, w.escapeRegExp = bb, w.every = C1, w.find = P1, w.findIndex = ud, w.findKey = Uw, w.findLast = A1, w.findLastIndex = ld, w.findLastKey = Bw, w.floor = m_, w.forEach = vd, w.forEachRight = md, w.forIn = zw, w.forInRight = qw, w.forOwn = Kw, w.forOwnRight = Gw, w.get = Eu, w.gt = pw, w.gte = hw, w.has = Vw, w.hasIn = xu, w.head = fd, w.identity = Gt, w.includes = k1, w.indexOf = Ay, w.inRange = vb, w.invoke = Qw, w.isArguments = Gr, w.isArray = Oe, w.isArrayBuffer = vw, w.isArrayLike = qt, w.isArrayLikeObject = ft, w.isBoolean = mw, w.isBuffer = br, w.isDate = gw, w.isElement = yw, w.isEmpty = ww, w.isEqual = bw, w.isEqualWith = _w, w.isError = _u, w.isFinite = Sw, w.isFunction = tr, w.isInteger = xd, w.isLength = _a, w.isMap = Od, w.isMatch = Ew, w.isMatchWith = xw, w.isNaN = Ow, w.isNative = Tw, w.isNil = Rw, w.isNull = Cw, w.isNumber = Td, w.isObject = tt, w.isObjectLike = at, w.isPlainObject = uo, w.isRegExp = Su, w.isSafeInteger = Pw, w.isSet = Cd, w.isString = Sa, w.isSymbol = tn, w.isTypedArray = Ei, w.isUndefined = Aw, w.isWeakMap = Iw, w.isWeakSet = Lw, w.join = ky, w.kebabCase = _b, w.last = vn, w.lastIndexOf = Ny, w.lowerCase = Sb, w.lowerFirst = Eb, w.lt = Mw, w.lte = Dw, w.max = g_, w.maxBy = y_, w.mean = w_, w.meanBy = b_, w.min = __, w.minBy = S_, w.stubArray = Au, w.stubFalse = Iu, w.stubObject = s_, w.stubString = u_, w.stubTrue = l_, w.multiply = E_, w.nth = $y, w.noConflict = Qb, w.noop = Pu, w.now = ya, w.pad = xb, w.padEnd = Ob, w.padStart = Tb, w.parseInt = Cb, w.random = mb, w.reduce = W1, w.reduceRight = H1, w.repeat = Rb, w.replace = Pb, w.result = ab, w.round = x_, w.runInContext = A, w.sample = B1, w.size = K1, w.snakeCase = Ab, w.some = G1, w.sortedIndex = zy, w.sortedIndexBy = qy, w.sortedIndexOf = Ky, w.sortedLastIndex = Gy, w.sortedLastIndexBy = Yy, w.sortedLastIndexOf = Xy, w.startCase = Lb, w.startsWith = Mb, w.subtract = O_, w.sum = T_, w.sumBy = C_, w.template = Db, w.times = c_, w.toFinite = nr, w.toInteger = Ce, w.toLength = Pd, w.toLower = kb, w.toNumber = mn, w.toSafeInteger = kw, w.toString = He, w.toUpper = Nb, w.trim = $b, w.trimEnd = jb, w.trimStart = Fb, w.truncate = Wb, w.unescape = Hb, w.uniqueId = d_, w.upperCase = Ub, w.upperFirst = Ou, w.each = vd, w.eachRight = md, w.first = fd, Ru(w, function() {
11598
11598
  var t = {};
11599
- return kn(w, function(i, s) {
11599
+ return Nn(w, function(i, s) {
11600
11600
  ze.call(w.prototype, s) || (t[s] = i);
11601
11601
  }), t;
11602
11602
  }(), { chain: !1 }), w.VERSION = o, cn(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(t) {
@@ -11651,7 +11651,7 @@ function print() { __p += __j.call(arguments, '') }
11651
11651
  return this.reverse().takeWhile(t).reverse();
11652
11652
  }, De.prototype.toArray = function() {
11653
11653
  return this.take(Y);
11654
- }, kn(De.prototype, function(t, i) {
11654
+ }, Nn(De.prototype, function(t, i) {
11655
11655
  var s = /^(?:filter|find|map|reject)|While$/.test(i), c = /^(?:head|last)$/.test(i), h = w[c ? "take" + (i == "last" ? "Right" : "") : i], b = c || /^find/.test(i);
11656
11656
  h && (w.prototype[i] = function() {
11657
11657
  var x = this.__wrapped__, R = c ? [1] : arguments, M = x instanceof De, B = R[0], z = M || Oe(x), K = function(Me) {
@@ -11679,7 +11679,7 @@ function print() { __p += __j.call(arguments, '') }
11679
11679
  return i.apply(Oe(x) ? x : [], h);
11680
11680
  });
11681
11681
  };
11682
- }), kn(De.prototype, function(t, i) {
11682
+ }), Nn(De.prototype, function(t, i) {
11683
11683
  var s = w[i];
11684
11684
  if (s) {
11685
11685
  var c = s.name + "";
@@ -11741,7 +11741,7 @@ const Zv = {
11741
11741
  }) => {
11742
11742
  const o = ch[e] || ch.FdInfoCircle, a = `text-${Zv[r].icon}`;
11743
11743
  return /* @__PURE__ */ N.jsx(o, { className: Rt(n, a) });
11744
- }, lA = ({
11744
+ }, cA = ({
11745
11745
  id: e,
11746
11746
  title: r,
11747
11747
  message: n,
@@ -11884,7 +11884,7 @@ const Zv = {
11884
11884
  },
11885
11885
  `modal-warnings-${n}`
11886
11886
  )) }) }) : null;
11887
- function cA(e, r) {
11887
+ function fA(e, r) {
11888
11888
  const n = ut(!1);
11889
11889
  yt(() => {
11890
11890
  if (n.current)
@@ -12061,7 +12061,7 @@ function QR(e) {
12061
12061
  if (n >= 0 && Ve.splice(n, 1), e.key && e.key.toLowerCase() === "meta" && Ve.splice(0, Ve.length), (r === 93 || r === 224) && (r = 91), r in Ct) {
12062
12062
  Ct[r] = !1;
12063
12063
  for (var o in Gn)
12064
- Gn[o] === r && (Ln[o] = !1);
12064
+ Gn[o] === r && (Mn[o] = !1);
12065
12065
  }
12066
12066
  }
12067
12067
  function eP(e) {
@@ -12114,14 +12114,14 @@ function dh(e, r, n, o) {
12114
12114
  }
12115
12115
  function ph(e, r) {
12116
12116
  var n = st["*"], o = e.keyCode || e.which || e.charCode;
12117
- if (Ln.filter.call(this, e)) {
12117
+ if (Mn.filter.call(this, e)) {
12118
12118
  if ((o === 93 || o === 224) && (o = 91), Ve.indexOf(o) === -1 && o !== 229 && Ve.push(o), ["ctrlKey", "altKey", "shiftKey", "metaKey"].forEach(function(S) {
12119
12119
  var y = jl[S];
12120
12120
  e[S] && Ve.indexOf(y) === -1 ? Ve.push(y) : !e[S] && Ve.indexOf(y) > -1 ? Ve.splice(Ve.indexOf(y), 1) : S === "metaKey" && e[S] && Ve.length === 3 && (e.ctrlKey || e.shiftKey || e.altKey || (Ve = Ve.slice(Ve.indexOf(y))));
12121
12121
  }), o in Ct) {
12122
12122
  Ct[o] = !0;
12123
12123
  for (var a in Gn)
12124
- Gn[a] === o && (Ln[a] = !0);
12124
+ Gn[a] === o && (Mn[a] = !0);
12125
12125
  if (!n)
12126
12126
  return;
12127
12127
  }
@@ -12145,7 +12145,7 @@ function ph(e, r) {
12145
12145
  function tP(e) {
12146
12146
  return nm.indexOf(e) > -1;
12147
12147
  }
12148
- function Ln(e, r, n) {
12148
+ function Mn(e, r, n) {
12149
12149
  Ve = [];
12150
12150
  var o = em(e), a = [], u = "all", l = document, f = 0, d = !1, v = !0, g = "+", _ = !1;
12151
12151
  for (n === void 0 && typeof r == "function" && (n = r), Object.prototype.toString.call(r) === "[object Object]" && (r.scope && (u = r.scope), r.element && (l = r.element), r.keyup && (d = r.keyup), r.keydown !== void 0 && (v = r.keydown), r.capture !== void 0 && (_ = r.capture), typeof r.splitKey == "string" && (g = r.splitKey)), typeof r == "string" && (u = r); f < o.length; f++)
@@ -12195,15 +12195,15 @@ var vl = {
12195
12195
  modifierMap: jl
12196
12196
  };
12197
12197
  for (var ml in vl)
12198
- Object.prototype.hasOwnProperty.call(vl, ml) && (Ln[ml] = vl[ml]);
12198
+ Object.prototype.hasOwnProperty.call(vl, ml) && (Mn[ml] = vl[ml]);
12199
12199
  if (typeof window < "u") {
12200
12200
  var rP = window.hotkeys;
12201
- Ln.noConflict = function(e) {
12202
- return e && window.hotkeys === Ln && (window.hotkeys = rP), Ln;
12203
- }, window.hotkeys = Ln;
12201
+ Mn.noConflict = function(e) {
12202
+ return e && window.hotkeys === Mn && (window.hotkeys = rP), Mn;
12203
+ }, window.hotkeys = Mn;
12204
12204
  }
12205
- Ln.filter = () => !0;
12206
- function fA(e, r, n, o) {
12205
+ Mn.filter = () => !0;
12206
+ function dA(e, r, n, o) {
12207
12207
  n instanceof Array && (o = n, n = void 0), o = o || [], n = n || {};
12208
12208
  const { preventDefault: a = !0 } = n, u = gn(
12209
12209
  (f, d) => {
@@ -12211,11 +12211,11 @@ function fA(e, r, n, o) {
12211
12211
  },
12212
12212
  o
12213
12213
  ), l = () => {
12214
- Ln.unbind(e, u);
12214
+ Mn.unbind(e, u);
12215
12215
  };
12216
- yt(() => (Ln(e, n, u), l), [e, n, u]);
12216
+ yt(() => (Mn(e, n, u), l), [e, n, u]);
12217
12217
  }
12218
- const dA = (e) => {
12218
+ const pA = (e) => {
12219
12219
  const r = ut(null);
12220
12220
  return yt(() => {
12221
12221
  const n = (o) => {
@@ -12226,25 +12226,25 @@ const dA = (e) => {
12226
12226
  };
12227
12227
  }, [e]), r;
12228
12228
  };
12229
- function pA(e) {
12229
+ function hA(e) {
12230
12230
  const r = ut();
12231
12231
  return yt(() => {
12232
12232
  r.current = e;
12233
12233
  }, [e]), r.current;
12234
12234
  }
12235
- function hA(e) {
12235
+ function vA(e) {
12236
12236
  const r = ut(e);
12237
12237
  return yt(() => {
12238
12238
  r.current = e;
12239
12239
  }, [e]), r;
12240
12240
  }
12241
- function vA(e) {
12241
+ function mA(e) {
12242
12242
  const r = ut(null);
12243
12243
  return yt(() => {
12244
12244
  e && (typeof e == "function" ? e(r.current) : e.current = r.current);
12245
12245
  }), r;
12246
12246
  }
12247
- function mA(e) {
12247
+ function gA(e) {
12248
12248
  const [r, n] = gt(e), o = (u, l) => {
12249
12249
  n((f) => ({
12250
12250
  ...f,
@@ -12267,7 +12267,7 @@ function mA(e) {
12267
12267
  isFeatureEnabled: a
12268
12268
  };
12269
12269
  }
12270
- const im = Cr(""), gA = (e) => /* @__PURE__ */ N.jsx(im.Provider, { value: e.value, children: e.children }), yA = () => {
12270
+ const im = Cr(""), yA = (e) => /* @__PURE__ */ N.jsx(im.Provider, { value: e.value, children: e.children }), wA = () => {
12271
12271
  const e = lr(im);
12272
12272
  if (typeof e != "string")
12273
12273
  throw new Error(
@@ -12275,8 +12275,8 @@ const im = Cr(""), gA = (e) => /* @__PURE__ */ N.jsx(im.Provider, { value: e.val
12275
12275
  );
12276
12276
  return e;
12277
12277
  };
12278
- function wA(e) {
12279
- const [r, n] = gt(e), o = Mn(() => iP(r, n), []);
12278
+ function bA(e) {
12279
+ const [r, n] = gt(e), o = Dn(() => iP(r, n), []);
12280
12280
  return {
12281
12281
  state: r,
12282
12282
  actions: {
@@ -12305,7 +12305,7 @@ function iP(e, r = () => {
12305
12305
  {}
12306
12306
  );
12307
12307
  }
12308
- const bA = (e, r, n = {}) => {
12308
+ const _A = (e, r, n = {}) => {
12309
12309
  n = {
12310
12310
  timeout: 200,
12311
12311
  ...n
@@ -12760,13 +12760,13 @@ var vP = om(function(e) {
12760
12760
  return (a = (o = this.source) === null || o === void 0 ? void 0 : o.subscribe(n)) !== null && a !== void 0 ? a : am;
12761
12761
  }, r;
12762
12762
  }(ui), mP = /* @__PURE__ */ ((e) => (e.RELOAD = "reload", e))(mP || {}), gP = /* @__PURE__ */ ((e) => (e.RENAME = "rename", e.TYPE_CHANGE = "type-change", e))(gP || {});
12763
- const _A = new ui(), SA = new ui(), EA = new ui();
12763
+ const SA = new ui(), EA = new ui(), xA = new ui();
12764
12764
  var yP = /* @__PURE__ */ ((e) => (e.SAVE_ALL = "save-all", e))(yP || {});
12765
- const xA = new ui();
12766
- var wP = /* @__PURE__ */ ((e) => (e.WILL_SAVE = "will-save", e.DID_SAVE = "did-save", e.WILL_CREATE = "will-create", e.WILL_RENAME = "will-rename", e.WILL_DELETE = "will-delete", e.DID_CREATE = "did-create", e.DID_RENAME = "did-rename", e.DID_DELETE = "did-delete", e.DIAGNOSTIC_REFRESH = "diagnostic-refresh", e))(wP || {});
12767
12765
  const OA = new ui();
12766
+ var wP = /* @__PURE__ */ ((e) => (e.WILL_SAVE = "will-save", e.DID_SAVE = "did-save", e.WILL_CREATE = "will-create", e.WILL_RENAME = "will-rename", e.WILL_DELETE = "will-delete", e.DID_CREATE = "did-create", e.DID_RENAME = "did-rename", e.DID_DELETE = "did-delete", e.DIAGNOSTIC_REFRESH = "diagnostic-refresh", e))(wP || {});
12767
+ const TA = new ui();
12768
12768
  var bP = /* @__PURE__ */ ((e) => (e.RESEND_BREAKPOINTS = "resend-breakpoints", e))(bP || {});
12769
- const TA = new ui(), cm = 31;
12769
+ const CA = new ui(), cm = 31;
12770
12770
  var fm = ((e) => (e.EMPTY = "Please enter a valid name", e[e.LENGTH_EXCEEDED = `The name is too long, it should not exceed ${cm} characters`] = "LENGTH_EXCEEDED", e.SHOULD_START_WITH_LETTER = "The name can only start with a letter or a Japanese character", e.INVALID = "Invalid name", e))(fm || {});
12771
12771
  function _P(e) {
12772
12772
  if (e === "")
@@ -12788,7 +12788,7 @@ function _P(e) {
12788
12788
  );
12789
12789
  return !0;
12790
12790
  }
12791
- function CA(e) {
12791
+ function RA(e) {
12792
12792
  if (!e)
12793
12793
  return null;
12794
12794
  if (typeof e == "string")
@@ -12798,7 +12798,7 @@ function CA(e) {
12798
12798
  return r.message;
12799
12799
  }
12800
12800
  }
12801
- function RA(e, r) {
12801
+ function PA(e, r) {
12802
12802
  let n = "";
12803
12803
  if (["array", "object"].includes(r))
12804
12804
  try {
@@ -12828,25 +12828,27 @@ const ei = {
12828
12828
  REPORTS: "Reports",
12829
12829
  DEBUGGER: "Debugger"
12830
12830
  };
12831
- var jn = /* @__PURE__ */ ((e) => (e.FOLDER = "folder", e.WEBFORM = "webform", e.REPORT = "report", e.METHOD = "method", e.CLASS = "class", e.CLASS_FOLDER = "classfolder", e.DEBUGGER = "debugger", e.WELCOME = "welcome", e.SETTINGS = "settings", e.METHODS = "method", e.WEBFORMS = "webform", e.CLASSES = "class", e.DEBUGGERS = "debugger", e.MODELS = "models", e.ROLES = "roles", e.MODEL = "model", e.DATA_EXPLORER = "dataexplorer", e.MOBILE = "mobile", e.MOBILEFORM = "mform", e.FILE = "file", e.TEXT = "text", e))(jn || {}), Hi = /* @__PURE__ */ ((e) => (e.GET_FOLDER = "getFolder", e.GET = "get", e.SAVE = "save", e.RENAME = "rename", e.DROP = "drop", e.ADD_FOLDER = "addFolder", e.CREATE_FOLDER = "mkdir", e.RENAME_FOLDER = "renameFolder", e.DROP_FOLDER = "dropFolder", e.REMOVE_ITEM = "removeItem", e.MOVE_ITEM = "moveItem", e.GET_INFO = "getInfo", e.SAVE_CONTENT = "save", e.UPDATE_CHECK = "update:check", e.UPDATE_INSTALL = "update:install", e.GET_APP_SETTINGS = "getWebServerInfo", e.GET_FILE_CONTENT = "getFileContent", e.SET_FILE_CONTENT = "setFileContent", e.GET_FILES_INFO = "getFilesInfo", e))(Hi || {}), pm = /* @__PURE__ */ ((e) => (e[e.DISABLED = 0] = "DISABLED", e[e.ENABLED = 1] = "ENABLED", e))(pm || {});
12832
- const SP = "roles.json", EP = "qodlyApp.json", PA = "model.4DModel", AA = "HTTPHandlers.json";
12833
- function xP(e) {
12831
+ var In = /* @__PURE__ */ ((e) => (e.FOLDER = "folder", e.WEBFORM = "webform", e.REPORT = "report", e.METHOD = "method", e.CLASS = "class", e.CLASS_FOLDER = "classfolder", e.DEBUGGER = "debugger", e.WELCOME = "welcome", e.SETTINGS = "settings", e.METHODS = "method", e.WEBFORMS = "webform", e.CLASSES = "class", e.DEBUGGERS = "debugger", e.MODELS = "models", e.ROLES = "roles", e.HTTP_HANDLERS = "http-handlers", e.MODEL = "model", e.DATA_EXPLORER = "dataexplorer", e.MOBILE = "mobile", e.MOBILEFORM = "mform", e.FILE = "file", e.TEXT = "text", e))(In || {}), Hi = /* @__PURE__ */ ((e) => (e.GET_FOLDER = "getFolder", e.GET = "get", e.SAVE = "save", e.RENAME = "rename", e.DROP = "drop", e.ADD_FOLDER = "addFolder", e.CREATE_FOLDER = "mkdir", e.RENAME_FOLDER = "renameFolder", e.DROP_FOLDER = "dropFolder", e.REMOVE_ITEM = "removeItem", e.MOVE_ITEM = "moveItem", e.GET_INFO = "getInfo", e.SAVE_CONTENT = "save", e.UPDATE_CHECK = "update:check", e.UPDATE_INSTALL = "update:install", e.GET_APP_SETTINGS = "getWebServerInfo", e.GET_FILE_CONTENT = "getFileContent", e.SET_FILE_CONTENT = "setFileContent", e.GET_FILES_INFO = "getFilesInfo", e))(Hi || {}), pm = /* @__PURE__ */ ((e) => (e[e.DISABLED = 0] = "DISABLED", e[e.ENABLED = 1] = "ENABLED", e))(pm || {});
12832
+ const SP = "roles.json", EP = "qodlyApp.json", AA = "model.4DModel", xP = "HTTPHandlers.json";
12833
+ function OP(e) {
12834
12834
  const r = e.split("."), n = r.pop(), o = r.join(".").split("/")[0];
12835
12835
  switch (!0) {
12836
12836
  case n === "4DModel":
12837
- return jn.MODEL;
12837
+ return In.MODEL;
12838
12838
  case n === "WebForm":
12839
- return jn.WEBFORM;
12839
+ return In.WEBFORM;
12840
12840
  case (["4dm", "4qs", "4qm"].includes(n) && o === ei.METHODS):
12841
- return jn.METHOD;
12841
+ return In.METHOD;
12842
12842
  case (["4dm", "4qs", "4qm"].includes(n) && o === ei.CLASSES):
12843
- return jn.CLASS;
12843
+ return In.CLASS;
12844
12844
  case e === SP:
12845
- return jn.ROLES;
12845
+ return In.ROLES;
12846
+ case e === xP:
12847
+ return In.HTTP_HANDLERS;
12846
12848
  case e === EP:
12847
- return jn.SETTINGS;
12849
+ return In.SETTINGS;
12848
12850
  default:
12849
- return jn.TEXT;
12851
+ return In.TEXT;
12850
12852
  }
12851
12853
  }
12852
12854
  function IA(e, r = !1) {
@@ -12873,7 +12875,7 @@ function LA(e, r = "") {
12873
12875
  const n = new RegExp("(?<=\\/)(\\w+)(?=\\.)").exec(e);
12874
12876
  return n ? n[1] : r;
12875
12877
  }
12876
- class OP {
12878
+ class TP {
12877
12879
  constructor() {
12878
12880
  Ud(this, "current", Promise.resolve());
12879
12881
  }
@@ -12885,8 +12887,8 @@ class OP {
12885
12887
  return this.current = n, o;
12886
12888
  }
12887
12889
  }
12888
- function TP() {
12889
- const e = new OP();
12890
+ function CP() {
12891
+ const e = new TP();
12890
12892
  return async (r) => {
12891
12893
  const n = await e.lock();
12892
12894
  try {
@@ -12898,11 +12900,11 @@ function TP() {
12898
12900
  }
12899
12901
  };
12900
12902
  }
12901
- const CP = ht.curry(
12903
+ const RP = ht.curry(
12902
12904
  (e, r, n) => e && ht.get(n, e) === r
12903
12905
  ), MA = ht.curry((e, r, n) => ht.get(n, e) !== r), DA = ht.curry((e, r) => ht.get(r, "id") !== e), kA = ht.curry((e, r) => ht.get(r, "id") === e), NA = ht.curry((e, r) => ht.get(r, "path") === e);
12904
12906
  function $A(e = "id", r, n) {
12905
- return n.findIndex(CP(e, r)) !== -1;
12907
+ return n.findIndex(RP(e, r)) !== -1;
12906
12908
  }
12907
12909
  function jA(e) {
12908
12910
  if (!e)
@@ -12910,7 +12912,7 @@ function jA(e) {
12910
12912
  const { id: r, namespace: n } = e;
12911
12913
  return n && r ? `${n}:${r}` : r;
12912
12914
  }
12913
- function RP(e) {
12915
+ function PP(e) {
12914
12916
  return [
12915
12917
  "bool",
12916
12918
  "word",
@@ -12931,15 +12933,15 @@ function RP(e) {
12931
12933
  function FA(e) {
12932
12934
  return e.type === "object";
12933
12935
  }
12934
- function PP(e) {
12936
+ function AP(e) {
12935
12937
  var r;
12936
12938
  return e.kind === "relatedEntities" || ((r = e.type) == null ? void 0 : r.includes("Selection")) || e.behavior === "relatedEntities";
12937
12939
  }
12938
- function AP(e) {
12939
- return e.kind === "relatedEntity" || e.behavior === "relatedEntity" || !RP(e);
12940
+ function IP(e) {
12941
+ return e.kind === "relatedEntity" || e.behavior === "relatedEntity" || !PP(e);
12940
12942
  }
12941
12943
  function WA(e) {
12942
- return PP(e) || AP(e);
12944
+ return AP(e) || IP(e);
12943
12945
  }
12944
12946
  function HA(e) {
12945
12947
  return e.applyTo === "dataStore";
@@ -12959,17 +12961,17 @@ function qA(e) {
12959
12961
  function KA(e) {
12960
12962
  return e.type === "entitysel";
12961
12963
  }
12962
- function IP(e) {
12964
+ function LP(e) {
12963
12965
  return e.dataType === "array";
12964
12966
  }
12965
- function LP(e) {
12967
+ function MP(e) {
12966
12968
  return e.dataType === "object";
12967
12969
  }
12968
- function MP(e) {
12970
+ function DP(e) {
12969
12971
  return e.type === "scalar";
12970
12972
  }
12971
12973
  function GA(e) {
12972
- return IP(e) || LP(e) || MP(e);
12974
+ return LP(e) || MP(e) || DP(e);
12973
12975
  }
12974
12976
  const YA = (e) => e != null && e.type === "entity", XA = (e) => e.type === "entitysel", VA = (e) => e.type === "array" || e.type === "scalar" && e.dataType === "array", JA = (e) => e.type === "object" || e.type === "scalar" && e.dataType === "object", ZA = (e) => e.type === "scalar" && e.dataType === "date";
12975
12977
  function QA() {
@@ -12977,7 +12979,7 @@ function QA() {
12977
12979
  window.addEventListener("bundle:ready", (n) => n.data ? e() : r(n.caughtErr));
12978
12980
  });
12979
12981
  }
12980
- var as = /* @__PURE__ */ ((e) => (e.capable = "capable", e.incapable = "incapable", e.indifferent = "indifferent", e))(as || {}), DP = /* @__PURE__ */ ((e) => (e.soap = "soap", e.web = "web", e.sql = "sql", e.rest = "rest", e))(DP || {}), hm = /* @__PURE__ */ ((e) => (e.table = "table", e.catalog = "catalog", e.currentRecord = "currentRecord", e.currentSelection = "currentSelection", e))(hm || {});
12982
+ var as = /* @__PURE__ */ ((e) => (e.capable = "capable", e.incapable = "incapable", e.indifferent = "indifferent", e))(as || {}), kP = /* @__PURE__ */ ((e) => (e.soap = "soap", e.web = "web", e.sql = "sql", e.rest = "rest", e))(kP || {}), hm = /* @__PURE__ */ ((e) => (e.table = "table", e.catalog = "catalog", e.currentRecord = "currentRecord", e.currentSelection = "currentSelection", e))(hm || {});
12981
12983
  const e2 = {
12982
12984
  publishedSoap: "soap",
12983
12985
  publishedWeb: "web",
@@ -13013,22 +13015,22 @@ function t2(e) {
13013
13015
  ...o
13014
13016
  };
13015
13017
  }
13016
- function kP(e) {
13018
+ function NP(e) {
13017
13019
  const r = {};
13018
13020
  return e.invisible && (r.invisible = !0), e.shared && (r.shared = !0), e.executedOnServer && (r.executedOnServer = !0), e.preemptive && [as.capable, as.incapable].includes(e.preemptive) && (r.preemptive = e.preemptive), e.publishedSoap && (r.publishedSoap = !0, e.publishedWsdl && (r.publishedWsdl = !0)), e.publishedWeb && (r.publishedWeb = !0), e.publishedSql && (r.publishedSql = !0), e.publishedRest && e.publishedRestOptions && (r.published4DMobile = e.publishedRestOptions), JSON.stringify(r).replace(/"(true|false)"/g, "$1");
13019
13021
  }
13020
13022
  function n2(e, r, n = !1) {
13021
- const o = ht.isString(r) ? r : kP(r);
13022
- if (!n && NP(e))
13023
+ const o = ht.isString(r) ? r : NP(r);
13024
+ if (!n && $P(e))
13023
13025
  return e;
13024
- const a = $P(e);
13026
+ const a = jP(e);
13025
13027
  return `//%attributes = ${o}\r
13026
13028
  ${a}`;
13027
13029
  }
13028
- function NP(e) {
13030
+ function $P(e) {
13029
13031
  return /^\/\/%attributes.*(?:\r\n|\n)?/g.test(e);
13030
13032
  }
13031
- function $P(e) {
13033
+ function jP(e) {
13032
13034
  return e.replace(/^\/\/%attributes.*(?:\r\n|\n)?/g, "");
13033
13035
  }
13034
13036
  const r2 = () => tc.uuid().replaceAll("-", "").toUpperCase(), St = "/rest/$designer", _s = "/rest/$designer-ext";
@@ -13118,7 +13120,7 @@ function a2(e) {
13118
13120
  })
13119
13121
  });
13120
13122
  }
13121
- const jP = () => {
13123
+ const FP = () => {
13122
13124
  const { host: e, protocol: r } = window.location, n = r === "https:";
13123
13125
  return {
13124
13126
  projectOpened: !1,
@@ -13163,10 +13165,10 @@ async function s2() {
13163
13165
  isRestActive: a.isRESTActive
13164
13166
  };
13165
13167
  } catch (a) {
13166
- return console.error(a), jP();
13168
+ return console.error(a), FP();
13167
13169
  }
13168
13170
  }
13169
- async function FP(e) {
13171
+ async function WP(e) {
13170
13172
  return await Ye(St, {
13171
13173
  method: "POST",
13172
13174
  body: JSON.stringify(e),
@@ -13178,7 +13180,7 @@ async function FP(e) {
13178
13180
  async function u2(...e) {
13179
13181
  return (await Promise.all(
13180
13182
  e.map(
13181
- (o) => FP({
13183
+ (o) => WP({
13182
13184
  root: o,
13183
13185
  verb: Hi.GET_FOLDER
13184
13186
  })
@@ -13238,7 +13240,7 @@ function c2(e) {
13238
13240
  body: JSON.stringify(e)
13239
13241
  }).then((r) => ({
13240
13242
  ...r,
13241
- content: [jn.METHOD, jn.CLASS].includes(
13243
+ content: [In.METHOD, In.CLASS].includes(
13242
13244
  r.type
13243
13245
  ) ? hc(r.content) : r.content
13244
13246
  }));
@@ -13405,7 +13407,7 @@ async function x2() {
13405
13407
  return null;
13406
13408
  }
13407
13409
  }
13408
- const WP = TP(), O2 = async (e) => {
13410
+ const HP = CP(), O2 = async (e) => {
13409
13411
  const r = {
13410
13412
  verb: Hi.SET_FILE_CONTENT,
13411
13413
  asText: !1,
@@ -13414,7 +13416,7 @@ const WP = TP(), O2 = async (e) => {
13414
13416
  root: "shared",
13415
13417
  content: e
13416
13418
  };
13417
- return WP(async () => (await Ye(St, {
13419
+ return HP(async () => (await Ye(St, {
13418
13420
  method: "POST",
13419
13421
  body: JSON.stringify(r),
13420
13422
  headers: new Headers({
@@ -13432,7 +13434,7 @@ const WP = TP(), O2 = async (e) => {
13432
13434
  headers: new Headers({
13433
13435
  "Content-Type": "application/json"
13434
13436
  })
13435
- }), n = xP(
13437
+ }), n = OP(
13436
13438
  `${e.path || "Sources"}/${e.name}`
13437
13439
  );
13438
13440
  return {
@@ -13496,25 +13498,25 @@ function I2(e) {
13496
13498
  })
13497
13499
  });
13498
13500
  }
13499
- function HP(e) {
13501
+ function UP(e) {
13500
13502
  const r = new RegExp(/^\((.+)(?=\))/gi).exec(e);
13501
13503
  return r !== null ? r[1] : "";
13502
13504
  }
13503
- function UP(e) {
13505
+ function BP(e) {
13504
13506
  const r = new RegExp(/(->)(.*)/gi).exec(e);
13505
13507
  if (r !== null)
13506
13508
  return r[0].replace("->", "");
13507
13509
  const n = /:([^)]*)$/.exec(e);
13508
13510
  return n !== null ? `result : ${n[1].trim()}` : "";
13509
13511
  }
13510
- function BP(e) {
13511
- const r = HP(e).split(/[;,]/g).filter(Boolean).map((a) => {
13512
+ function zP(e) {
13513
+ const r = UP(e).split(/[;,]/g).filter(Boolean).map((a) => {
13512
13514
  const u = a.split(":")[0].trim(), l = a.split(":")[1].trim();
13513
13515
  return {
13514
13516
  name: u,
13515
13517
  type: l
13516
13518
  };
13517
- }), n = UP(e), o = n ? {
13519
+ }), n = BP(e), o = n ? {
13518
13520
  name: n.split(":")[0].trim(),
13519
13521
  type: n.split(":")[1].trim()
13520
13522
  } : {
@@ -13541,7 +13543,7 @@ async function L2(e, r) {
13541
13543
  })
13542
13544
  });
13543
13545
  a.content = hc(a.content);
13544
- const { params: u, result: l } = BP(a.parameters);
13546
+ const { params: u, result: l } = zP(a.parameters);
13545
13547
  return {
13546
13548
  ...a,
13547
13549
  params: u,
@@ -13557,7 +13559,7 @@ async function L2(e, r) {
13557
13559
  };
13558
13560
  }
13559
13561
  }
13560
- var zP = /* @__PURE__ */ ((e) => (e.STUDIO_LOADED = "UA-1-0", e.WELCOME_TOUR_INIT = "UA-1-3", e.WELCOME_TOUR_END = "UA-1-4", e))(zP || {});
13562
+ var qP = /* @__PURE__ */ ((e) => (e.STUDIO_LOADED = "UA-1-0", e.WELCOME_TOUR_INIT = "UA-1-3", e.WELCOME_TOUR_END = "UA-1-4", e))(qP || {});
13561
13563
  function M2(e, r) {
13562
13564
  fetch("/api/v1/activity", {
13563
13565
  body: JSON.stringify({
@@ -13571,7 +13573,7 @@ function M2(e, r) {
13571
13573
  }).catch((n) => {
13572
13574
  });
13573
13575
  }
13574
- var qP = /* @__PURE__ */ ((e) => (e.LOCAL = "local", e.SHARED = "shared", e.THEME = "theme", e))(qP || {}), KP = /* @__PURE__ */ ((e) => (e.WelCome = "WelCome", e.ActionPanel = "ActionPanel", e.SideBar = "SideBar", e.Settings = "Settings", e.Main = "Main", e.Explorer = "Explorer", e.Header = "Header", e.ComponentList = "ComponentList", e))(KP || {}), GP = /* @__PURE__ */ ((e) => (e[e.FILE_NOT_FOUND = 1839] = "FILE_NOT_FOUND", e[e.JSON_MALFORMED = 554] = "JSON_MALFORMED", e[e.JSON_MALFORMED_AT_LINE = 550] = "JSON_MALFORMED_AT_LINE", e))(GP || {});
13576
+ var KP = /* @__PURE__ */ ((e) => (e.LOCAL = "local", e.SHARED = "shared", e.THEME = "theme", e))(KP || {}), GP = /* @__PURE__ */ ((e) => (e.WelCome = "WelCome", e.ActionPanel = "ActionPanel", e.SideBar = "SideBar", e.Settings = "Settings", e.Main = "Main", e.Explorer = "Explorer", e.Header = "Header", e.ComponentList = "ComponentList", e))(GP || {}), YP = /* @__PURE__ */ ((e) => (e[e.FILE_NOT_FOUND = 1839] = "FILE_NOT_FOUND", e[e.JSON_MALFORMED = 554] = "JSON_MALFORMED", e[e.JSON_MALFORMED_AT_LINE = 550] = "JSON_MALFORMED_AT_LINE", e))(YP || {});
13575
13577
  const D2 = {
13576
13578
  transparent: {
13577
13579
  backgroundColor: "transparent"
@@ -13599,41 +13601,41 @@ const D2 = {
13599
13601
  };
13600
13602
  export {
13601
13603
  St as API_PREFIX,
13602
- uA as AppLoader,
13604
+ lA as AppLoader,
13603
13605
  jR as ControlledSwitch,
13604
13606
  D2 as DATASOURCE_THEMES,
13605
13607
  gP as DatasourcesActions,
13606
13608
  bP as DebuggerActions,
13607
13609
  Hi as DesignerRequestVerb,
13608
- ZP as Dialog,
13610
+ QP as Dialog,
13609
13611
  rE as DialogBody,
13610
- zP as EActivity,
13612
+ qP as EActivity,
13611
13613
  k2 as EDITOR,
13612
- KP as EIDENTIFIERS,
13613
- GP as ERROR_CODES,
13614
- qP as EWebFormStyleClassScope,
13614
+ GP as EIDENTIFIERS,
13615
+ YP as ERROR_CODES,
13616
+ KP as EWebFormStyleClassScope,
13615
13617
  _s as EXT_API_PREFIX,
13616
- jn as FileFolderType,
13618
+ In as FileFolderType,
13617
13619
  ei as FolderRootPath,
13618
13620
  dm as FolderRootType,
13619
13621
  wh as HTTPError,
13620
- AA as HTTP_HANDLERS_PATH,
13622
+ xP as HTTP_HANDLERS_PATH,
13621
13623
  as as IPreemptive,
13622
- DP as IPublished,
13624
+ kP as IPublished,
13623
13625
  hm as IPublishedRestScope,
13624
- gA as IdentityProvider,
13625
- tA as Incase,
13626
+ yA as IdentityProvider,
13627
+ nA as Incase,
13626
13628
  qx as IndentLines,
13627
13629
  WR as LogoSVG,
13628
13630
  wP as LspActions,
13629
13631
  cm as MAX_FILE_NAME_LENGTH,
13630
- PA as MODEL_TAB_PATH,
13631
- lA as Modal,
13632
+ AA as MODEL_TAB_PATH,
13633
+ cA as Modal,
13632
13634
  po as ModalCloseReason,
13633
13635
  Di as ModalColor,
13634
13636
  ch as ModalIcons,
13635
13637
  Jv as ModalType,
13636
- OP as Mutex,
13638
+ TP as Mutex,
13637
13639
  fm as NameError,
13638
13640
  nE as Overlay,
13639
13641
  U_ as Portal,
@@ -13644,11 +13646,11 @@ export {
13644
13646
  Ii as SHARED_API_PREFIX,
13645
13647
  Kx as Switcher,
13646
13648
  yP as TabEventsActions,
13647
- oA as Tip,
13648
- iA as TipsProvider,
13649
- QP as Toast,
13650
- sA as Tooltip,
13651
- eA as Tree,
13649
+ aA as Tip,
13650
+ oA as TipsProvider,
13651
+ eA as Toast,
13652
+ uA as Tooltip,
13653
+ tA as Tree,
13652
13654
  vx as TreeIcon,
13653
13655
  av as TreeNode,
13654
13656
  mP as WebformActions,
@@ -13656,13 +13658,13 @@ export {
13656
13658
  JA as _isObjectDatasource,
13657
13659
  n2 as addAttributesToContent,
13658
13660
  p2 as addFolder,
13659
- CP as by,
13661
+ RP as by,
13660
13662
  kA as byId,
13661
13663
  NA as byPath,
13662
13664
  o2 as checkUpdates,
13663
13665
  C2 as createFolder,
13664
- _A as datasourcesSubject,
13665
- TA as debuggerSubject,
13666
+ SA as datasourcesSubject,
13667
+ CA as debuggerSubject,
13666
13668
  d2 as dropFile,
13667
13669
  v2 as dropFolder,
13668
13670
  $A as exists,
@@ -13671,12 +13673,12 @@ export {
13671
13673
  s2 as getAppSettings,
13672
13674
  y2 as getCatalog,
13673
13675
  jA as getDatasourceId,
13674
- jP as getDefaultAppSettings,
13676
+ FP as getDefaultAppSettings,
13675
13677
  c2 as getFile,
13676
13678
  w2 as getFileContent,
13677
13679
  IA as getFileExtentionFromType,
13678
13680
  m2 as getFilesInfo,
13679
- FP as getFolder,
13681
+ WP as getFolder,
13680
13682
  u2 as getFolders,
13681
13683
  L2 as getFunctionContent,
13682
13684
  x2 as getMonacoTheme,
@@ -13685,13 +13687,13 @@ export {
13685
13687
  _2 as getSharedCSS,
13686
13688
  b2 as getSharedDatasources,
13687
13689
  vc as getSharedResource,
13688
- xP as getTypeFromExtension,
13690
+ OP as getTypeFromExtension,
13689
13691
  E2 as getUserPrivileges,
13690
13692
  l2 as getWebForm,
13691
- NP as hasAttributesString,
13693
+ $P as hasAttributesString,
13692
13694
  Ye as http,
13693
13695
  a2 as installUpdates,
13694
- IP as isArrayDatasource,
13696
+ LP as isArrayDatasource,
13695
13697
  UA as isDataClassMethod,
13696
13698
  HA as isDataStoreMethod,
13697
13699
  ZA as isDateDatasource,
@@ -13702,23 +13704,23 @@ export {
13702
13704
  KA as isEntitySelectionDatasource,
13703
13705
  zA as isEntitySelectionMethod,
13704
13706
  FA as isObjectAttribute,
13705
- LP as isObjectDatasource,
13707
+ MP as isObjectDatasource,
13706
13708
  WA as isRelatedAttribute,
13707
- PP as isRelatedEntitiesAttribute,
13708
- AP as isRelatedEntityAttribute,
13709
- MP as isScalarDatasource,
13710
- RP as isSimpleAttribute,
13709
+ AP as isRelatedEntitiesAttribute,
13710
+ IP as isRelatedEntityAttribute,
13711
+ DP as isScalarDatasource,
13712
+ PP as isSimpleAttribute,
13711
13713
  GA as isSimpleDatasource,
13712
13714
  QA as loadDS,
13713
13715
  M2 as log,
13714
13716
  g2 as login,
13715
- OA as lspSubject,
13717
+ TA as lspSubject,
13716
13718
  P2 as moveItem,
13717
13719
  MA as outBy,
13718
13720
  DA as outById,
13719
13721
  t2 as parseAttributes,
13720
- TP as queue,
13721
- $P as removeAttributesString,
13722
+ CP as queue,
13723
+ jP as removeAttributesString,
13722
13724
  R2 as removeItem,
13723
13725
  f2 as renameFile,
13724
13726
  h2 as renameFolder,
@@ -13727,25 +13729,25 @@ export {
13727
13729
  T2 as setCraftedComponents,
13728
13730
  mm as setFileContent,
13729
13731
  O2 as setSharedSources,
13730
- kP as stringifyAttributes,
13731
- xA as tabEventsSubject,
13732
- EA as toastSubject,
13732
+ NP as stringifyAttributes,
13733
+ OA as tabEventsSubject,
13734
+ xA as toastSubject,
13733
13735
  i2 as transformDates,
13734
13736
  vm as tryCreateSharedResource,
13735
- cA as useDidMountEffect,
13736
- bA as useDoubleClick,
13737
- mA as useFeatureFlags,
13738
- vA as useForwardedRef,
13739
- fA as useHotkeys,
13740
- yA as useIdentity,
13741
- dA as useOutsideClick,
13742
- pA as usePrevious,
13743
- wA as useStateObject,
13744
- hA as useStateRef,
13737
+ fA as useDidMountEffect,
13738
+ _A as useDoubleClick,
13739
+ gA as useFeatureFlags,
13740
+ mA as useForwardedRef,
13741
+ dA as useHotkeys,
13742
+ wA as useIdentity,
13743
+ pA as useOutsideClick,
13744
+ hA as usePrevious,
13745
+ bA as useStateObject,
13746
+ vA as useStateRef,
13745
13747
  HC as useTip,
13746
13748
  _P as validateName,
13747
- CA as validateServerSide,
13748
- RA as validateValue,
13749
- SA as webformSubject
13749
+ RA as validateServerSide,
13750
+ PA as validateValue,
13751
+ EA as webformSubject
13750
13752
  };
13751
13753
  //# sourceMappingURL=index.es.js.map