aquasis-fe-components 1.3.1 → 1.3.2-a

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.
@@ -2,7 +2,7 @@ import './index.css';var FI = Object.defineProperty;
2
2
  var jI = (e, t, n) => t in e ? FI(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var x3 = (e, t, n) => jI(e, typeof t != "symbol" ? t + "" : t, n);
4
4
  import * as u from "react";
5
- import ee, { version as BI, isValidElement as to, useContext as Ht, createContext as Tr, useRef as Be, useLayoutEffect as HI, useEffect as zt, useState as Lt, forwardRef as y1, useMemo as Xt, Children as Vl, createRef as VI, useCallback as h1, useImperativeHandle as ir, cloneElement as Eu, Component as Tv, createElement as qr, Fragment as WI } from "react";
5
+ import ee, { version as BI, isValidElement as to, useContext as Vt, createContext as Tr, useRef as Be, useLayoutEffect as HI, useEffect as zt, useState as Lt, forwardRef as y1, useMemo as Xt, Children as Vl, createRef as VI, useCallback as h1, useImperativeHandle as ir, cloneElement as Eu, Component as Tv, createElement as qr, Fragment as WI } from "react";
6
6
  import * as KI from "react-dom";
7
7
  import Si, { createPortal as kv, unstable_batchedUpdates as Dv, flushSync as xi } from "react-dom";
8
8
  var ha = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
@@ -4305,7 +4305,7 @@ var Rh = function(t, n, r, a) {
4305
4305
  return a && (i = a(i)), i;
4306
4306
  }, Ih = "token";
4307
4307
  function ID(e, t) {
4308
- var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = Ht(B0), a = r.cache.instanceId, o = r.container, i = n.salt, c = i === void 0 ? "" : i, l = n.override, s = l === void 0 ? ED : l, d = n.formatToken, f = n.getComputedToken, m = n.cssVar, p = mD(function() {
4308
+ var n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, r = Vt(B0), a = r.cache.instanceId, o = r.container, i = n.salt, c = i === void 0 ? "" : i, l = n.override, s = l === void 0 ? ED : l, d = n.formatToken, f = n.getComputedToken, m = n.cssVar, p = mD(function() {
4309
4309
  return Object.assign.apply(Object, [{}].concat(we(t)));
4310
4310
  }, t), v = ui(p), h = ui(s), g = m ? ui(m) : "", C = Bu(Ih, [c, e.id, v, h, g], function() {
4311
4311
  var b, y = f ? f(p, s, e) : Rh(p, s, e, d), x = B({}, y), S = "";
@@ -4874,7 +4874,7 @@ var i_ = function(t, n, r) {
4874
4874
  }
4875
4875
  }), [d, c, p];
4876
4876
  }, qh = "cssVar", c_ = function(t, n) {
4877
- var r = t.key, a = t.prefix, o = t.unitless, i = t.ignore, c = t.token, l = t.scope, s = l === void 0 ? "" : l, d = Ht(B0), f = d.cache.instanceId, m = d.container, p = c._tokenKey, v = [].concat(we(t.path), [r, s, p]), h = Bu(qh, v, function() {
4877
+ var r = t.key, a = t.prefix, o = t.unitless, i = t.ignore, c = t.token, l = t.scope, s = l === void 0 ? "" : l, d = Vt(B0), f = d.cache.instanceId, m = d.container, p = c._tokenKey, v = [].concat(we(t.path), [r, s, p]), h = Bu(qh, v, function() {
4878
4878
  var g = n(), C = Ph(g, r, {
4879
4879
  prefix: a,
4880
4880
  unitless: o,
@@ -6254,7 +6254,7 @@ const C1 = /* @__PURE__ */ u.createContext(!1), Yu = (e) => {
6254
6254
  }, t);
6255
6255
  };
6256
6256
  function H_() {
6257
- const e = Ht(C1), t = Ht(la);
6257
+ const e = Vt(C1), t = Vt(la);
6258
6258
  return {
6259
6259
  componentDisabled: e,
6260
6260
  componentSize: t
@@ -7103,7 +7103,7 @@ const r2 = {
7103
7103
  const {
7104
7104
  getPrefixCls: e,
7105
7105
  iconPrefixCls: t
7106
- } = Ht(lt);
7106
+ } = Vt(lt);
7107
7107
  return {
7108
7108
  rootPrefixCls: e(),
7109
7109
  iconPrefixCls: t
@@ -7123,7 +7123,7 @@ const r2 = {
7123
7123
  const {
7124
7124
  csp: e,
7125
7125
  iconPrefixCls: t
7126
- } = Ht(lt);
7126
+ } = Vt(lt);
7127
7127
  return vb(t, e), e ?? {};
7128
7128
  },
7129
7129
  getResetStyles: (e) => [{
@@ -7983,7 +7983,7 @@ var UA = `
7983
7983
  }
7984
7984
  }
7985
7985
  `, qA = function(t) {
7986
- var n = Ht(Wu), r = n.csp, a = n.prefixCls, o = UA;
7986
+ var n = Vt(Wu), r = n.csp, a = n.prefixCls, o = UA;
7987
7987
  a && (o = o.replace(/anticon/g, a)), zt(function() {
7988
7988
  var i = t.current, c = o0(i);
7989
7989
  X2(o, "@ant-design-icons", {
@@ -8847,7 +8847,7 @@ var Ne = {
8847
8847
  }
8848
8848
  return [!!t, n];
8849
8849
  }, SF = ["className", "style", "classNames", "styles"], Ab = function(t) {
8850
- var n = t.configList, r = t.placement, a = t.prefixCls, o = t.className, i = t.style, c = t.motion, l = t.onAllNoticeRemoved, s = t.onNoticeClose, d = t.stack, f = Ht(Db), m = f.classNames, p = Be({}), v = Lt(null), h = ne(v, 2), g = h[0], C = h[1], b = Lt([]), y = ne(b, 2), x = y[0], S = y[1], w = n.map(function(I) {
8850
+ var n = t.configList, r = t.placement, a = t.prefixCls, o = t.className, i = t.style, c = t.motion, l = t.onAllNoticeRemoved, s = t.onNoticeClose, d = t.stack, f = Vt(Db), m = f.classNames, p = Be({}), v = Lt(null), h = ne(v, 2), g = h[0], C = h[1], b = Lt([]), y = ne(b, 2), x = y[0], S = y[1], w = n.map(function(I) {
8851
8851
  return {
8852
8852
  config: I,
8853
8853
  key: String(I.key)
@@ -10059,7 +10059,7 @@ const rj = (e) => {
10059
10059
  component: r
10060
10060
  } = e, {
10061
10061
  getPrefixCls: a
10062
- } = Ht(lt), o = Be(null), i = a("wave"), [, c] = tj(i), l = oj(o, Z(i, c), r);
10062
+ } = Vt(lt), o = Be(null), i = a("wave"), [, c] = tj(i), l = oj(o, Z(i, c), r);
10063
10063
  if (ee.useEffect(() => {
10064
10064
  const d = o.current;
10065
10065
  if (!d || d.nodeType !== 1 || n)
@@ -12363,7 +12363,7 @@ const _B = {
12363
12363
  getPrefixCls: I,
12364
12364
  direction: $,
12365
12365
  button: k
12366
- } = Ht(lt), _ = (n = z ?? (k == null ? void 0 : k.autoInsertSpace)) !== null && n !== void 0 ? n : !0, D = I("btn", i), [A, H, F] = EB(D), V = Ht(C1), W = v ?? V, J = Ht(Gb), Y = Xt(() => DB(o), [o]), [q, re] = Lt(Y.loading), [G, Q] = Lt(!1), te = c1(t, /* @__PURE__ */ VI()), K = Vl.count(C) === 1 && !b && !qc(T);
12366
+ } = Vt(lt), _ = (n = z ?? (k == null ? void 0 : k.autoInsertSpace)) !== null && n !== void 0 ? n : !0, D = I("btn", i), [A, H, F] = EB(D), V = Vt(C1), W = v ?? V, J = Vt(Gb), Y = Xt(() => DB(o), [o]), [q, re] = Lt(Y.loading), [G, Q] = Lt(!1), te = c1(t, /* @__PURE__ */ VI()), K = Vl.count(C) === 1 && !b && !qc(T);
12367
12367
  zt(() => {
12368
12368
  let Ee = null;
12369
12369
  Y.delay > 0 ? Ee = setTimeout(() => {
@@ -12532,7 +12532,7 @@ const iC = (e) => {
12532
12532
  close: i,
12533
12533
  onCancel: c,
12534
12534
  onConfirm: l
12535
- } = Ht(cc);
12535
+ } = Vt(cc);
12536
12536
  return a ? /* @__PURE__ */ ee.createElement(iC, {
12537
12537
  isSilent: r,
12538
12538
  actionFn: c,
@@ -12554,7 +12554,7 @@ const iC = (e) => {
12554
12554
  okType: i,
12555
12555
  onConfirm: c,
12556
12556
  onOk: l
12557
- } = Ht(cc);
12557
+ } = Vt(cc);
12558
12558
  return /* @__PURE__ */ ee.createElement(iC, {
12559
12559
  isSilent: n,
12560
12560
  type: i || "primary",
@@ -14998,7 +14998,7 @@ function yC() {
14998
14998
  return F9(d);
14999
14999
  }, [d]), p = Be(m);
15000
15000
  p.current = m;
15001
- var v = Ht(da), h = c || v, g = h && h._init;
15001
+ var v = Vt(da), h = c || v, g = h && h._init;
15002
15002
  process.env.NODE_ENV !== "production" && dt(t.length === 2 ? c ? g : !0 : g, "useWatch requires a form instance since it can not auto detect from context.");
15003
15003
  var C = An(r), b = Be(C);
15004
15004
  return b.current = C, BH(C), zt(
@@ -15043,7 +15043,7 @@ const VH = (e) => {
15043
15043
  status: n,
15044
15044
  override: r
15045
15045
  } = e;
15046
- const a = Ht(Yn), o = Xt(() => {
15046
+ const a = Vt(Yn), o = Xt(() => {
15047
15047
  const i = Object.assign({}, a);
15048
15048
  return r && delete i.isFormItemInput, n && (delete i.status, delete i.hasFeedback, delete i.feedbackIcon), i;
15049
15049
  }, [n, r, a]);
@@ -15712,7 +15712,7 @@ const K9 = () => {
15712
15712
  cancelButtonProps: e,
15713
15713
  cancelTextLocale: t,
15714
15714
  onCancel: n
15715
- } = Ht(cc);
15715
+ } = Vt(cc);
15716
15716
  return /* @__PURE__ */ ee.createElement(vn, Object.assign({
15717
15717
  onClick: n
15718
15718
  }, e), t);
@@ -15723,7 +15723,7 @@ const K9 = () => {
15723
15723
  okType: n,
15724
15724
  okTextLocale: r,
15725
15725
  onOk: a
15726
- } = Ht(cc);
15726
+ } = Vt(cc);
15727
15727
  return /* @__PURE__ */ ee.createElement(vn, Object.assign({}, Yb(n), {
15728
15728
  loading: e,
15729
15729
  onClick: a
@@ -16398,7 +16398,7 @@ const wV = (e) => {
16398
16398
  prefixCls: r,
16399
16399
  getContainer: a,
16400
16400
  direction: o
16401
- } = e, i = tb(), c = Ht(lt), l = kC() || c.getPrefixCls(), s = r || `${l}-modal`;
16401
+ } = e, i = tb(), c = Vt(lt), l = kC() || c.getPrefixCls(), s = r || `${l}-modal`;
16402
16402
  let d = a;
16403
16403
  return d === !1 && (d = void 0, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "production" && cr(!1, "Modal", "Static method not support `getContainer` to be `false` since it do not have context env.")), /* @__PURE__ */ ee.createElement(h5, Object.assign({}, e, {
16404
16404
  rootPrefixCls: l,
@@ -17203,7 +17203,7 @@ const Y9 = 24, KV = 4.5, UV = "topRight", qV = (e) => {
17203
17203
  getPopupContainer: v,
17204
17204
  notification: h,
17205
17205
  direction: g
17206
- } = Ht(lt), [, C] = Qn(), b = a || p("notification"), y = (M) => HV(M, n ?? Y9, r ?? Y9), x = () => Z({
17206
+ } = Vt(lt), [, C] = Qn(), b = a || p("notification"), y = (M) => HV(M, n ?? Y9, r ?? Y9), x = () => Z({
17207
17207
  [`${b}-rtl`]: c ?? g === "rtl"
17208
17208
  }), S = () => VV(b), [w, L] = jb({
17209
17209
  prefixCls: b,
@@ -20453,7 +20453,7 @@ const z5 = (e) => {
20453
20453
  componentName: t
20454
20454
  } = e, {
20455
20455
  getPrefixCls: n
20456
- } = Ht(lt), r = n("empty");
20456
+ } = Vt(lt), r = n("empty");
20457
20457
  switch (t) {
20458
20458
  case "Table":
20459
20459
  case "List":
@@ -20480,7 +20480,7 @@ const z5 = (e) => {
20480
20480
  const {
20481
20481
  variant: o,
20482
20482
  [e]: i
20483
- } = Ht(lt), c = Ht(wC), l = i == null ? void 0 : i.variant;
20483
+ } = Vt(lt), c = Vt(wC), l = i == null ? void 0 : i.variant;
20484
20484
  let s;
20485
20485
  typeof t < "u" ? s = t : n === !1 ? s = "borderless" : s = (a = (r = c ?? l) !== null && r !== void 0 ? r : o) !== null && a !== void 0 ? a : "outlined";
20486
20486
  const d = D_.includes(s);
@@ -24387,7 +24387,7 @@ const Mm = {
24387
24387
  onBreakpoint: g
24388
24388
  } = e, C = Sq(e, ["prefixCls", "className", "trigger", "children", "defaultCollapsed", "theme", "style", "collapsible", "reverseArrow", "width", "collapsedWidth", "zeroWidthTriggerStyle", "breakpoint", "onCollapse", "onBreakpoint"]), {
24389
24389
  siderHook: b
24390
- } = Ht(hq), [y, x] = Lt("collapsed" in e ? e.collapsed : i), [S, w] = Lt(!1);
24390
+ } = Vt(hq), [y, x] = Lt("collapsed" in e ? e.collapsed : i), [S, w] = Lt(!1);
24391
24391
  zt(() => {
24392
24392
  "collapsed" in e && x(e.collapsed);
24393
24393
  }, [e.collapsed]);
@@ -24395,7 +24395,7 @@ const Mm = {
24395
24395
  "collapsed" in e || x($), h == null || h($, k);
24396
24396
  }, {
24397
24397
  getPrefixCls: M
24398
- } = Ht(lt), z = M("layout-sider", n), [E, O, P] = yq(z), T = Be();
24398
+ } = Vt(lt), z = M("layout-sider", n), [E, O, P] = yq(z), T = Be();
24399
24399
  T.current = ($) => {
24400
24400
  w($.matches), g == null || g($.matches), y !== $.matches && L($.matches, "responsive");
24401
24401
  }, zt(() => {
@@ -38763,7 +38763,7 @@ const uJ = (e) => {
38763
38763
  const {
38764
38764
  getPrefixCls: t,
38765
38765
  direction: n
38766
- } = Ht(lt), {
38766
+ } = Vt(lt), {
38767
38767
  prefixCls: r,
38768
38768
  className: a
38769
38769
  } = e, o = t("input-group", r), i = t("input"), [c, l] = X5(i), s = Z(o, {
@@ -38771,7 +38771,7 @@ const uJ = (e) => {
38771
38771
  [`${o}-sm`]: e.size === "small",
38772
38772
  [`${o}-compact`]: e.compact,
38773
38773
  [`${o}-rtl`]: n === "rtl"
38774
- }, l, a), d = Ht(Yn), f = Xt(() => Object.assign(Object.assign({}, d), {
38774
+ }, l, a), d = Vt(Yn), f = Xt(() => Object.assign(Object.assign({}, d), {
38775
38775
  isFormItemInput: !1
38776
38776
  }), [d]);
38777
38777
  return process.env.NODE_ENV !== "production" && _t("Input.Group").deprecated(!1, "Input.Group", "Space.Compact"), c(/* @__PURE__ */ u.createElement("span", {
@@ -38874,7 +38874,7 @@ const xc = /* @__PURE__ */ y1((e, t) => {
38874
38874
  status: D,
38875
38875
  hasFeedback: A,
38876
38876
  feedbackIcon: H
38877
- } = Ht(Yn), F = Ca(D, o), V = dJ(e) || !!A, W = Be(V);
38877
+ } = Vt(Yn), F = Ca(D, o), V = dJ(e) || !!A, W = Be(V);
38878
38878
  if (process.env.NODE_ENV !== "production") {
38879
38879
  const K = _t("Input");
38880
38880
  zt(() => {
@@ -39713,7 +39713,7 @@ const tZ = (e) => {
39713
39713
  direction: M,
39714
39714
  getPopupContainer: z,
39715
39715
  rangePicker: E
39716
- } = Ht(lt), O = L("picker", o), {
39716
+ } = Vt(lt), O = L("picker", o), {
39717
39717
  compactSize: P,
39718
39718
  compactItemClassnames: T
39719
39719
  } = Ar(O, M), N = L(), [R, I] = Mo("rangePicker", y, p), $ = bn(O), [k, _, D] = YS(O, $);
@@ -39724,7 +39724,7 @@ const tZ = (e) => {
39724
39724
  const [A] = Nx(n, O), H = Px(c), F = n1((K) => {
39725
39725
  var oe;
39726
39726
  return (oe = f ?? P) !== null && oe !== void 0 ? oe : K;
39727
- }), V = u.useContext(C1), W = m ?? V, J = Ht(Yn), {
39727
+ }), V = u.useContext(C1), W = m ?? V, J = Vt(Yn), {
39728
39728
  hasFeedback: Y,
39729
39729
  status: q,
39730
39730
  feedbackIcon: re
@@ -39817,7 +39817,7 @@ const rZ = (e) => {
39817
39817
  getPopupContainer: k,
39818
39818
  // Consume different styles according to different names
39819
39819
  [d]: _
39820
- } = Ht(lt), D = I("picker", h), {
39820
+ } = Vt(lt), D = I("picker", h), {
39821
39821
  compactSize: A,
39822
39822
  compactItemClassnames: H
39823
39823
  } = Ar(D, $), F = u.useRef(null), [V, W] = Mo("datePicker", T, w), J = bn(D), [Y, q, re] = YS(D, J);
@@ -39837,7 +39837,7 @@ const rZ = (e) => {
39837
39837
  const [ue, ie] = Nx(m, D), fe = Px(C), pe = n1((Fe) => {
39838
39838
  var Ae;
39839
39839
  return (Ae = S ?? A) !== null && Ae !== void 0 ? Ae : Fe;
39840
- }), ge = u.useContext(C1), Se = O ?? ge, ve = Ht(Yn), {
39840
+ }), ge = u.useContext(C1), Se = O ?? ge, ve = Vt(Yn), {
39841
39841
  hasFeedback: Ce,
39842
39842
  status: Me,
39843
39843
  feedbackIcon: $e
@@ -40982,7 +40982,7 @@ const Ux = () => {
40982
40982
  status: e,
40983
40983
  errors: t = [],
40984
40984
  warnings: n = []
40985
- } = Ht(Yn);
40985
+ } = Vt(Yn);
40986
40986
  if (process.env.NODE_ENV !== "production") {
40987
40987
  const r = _t("Form.Item");
40988
40988
  process.env.NODE_ENV !== "production" && r(e !== void 0, "usage", "Form.Item.useStatus should be used under Form.Item component. For more information: https://u.ant.design/form-item-usestatus");
@@ -41535,7 +41535,7 @@ const nee = (e) => {
41535
41535
  function ree() {
41536
41536
  const {
41537
41537
  form: e
41538
- } = Ht(tr);
41538
+ } = Vt(tr);
41539
41539
  return e;
41540
41540
  }
41541
41541
  const rn = Kx;
@@ -41574,7 +41574,7 @@ function R2(e, t, n, r) {
41574
41574
  };
41575
41575
  }
41576
41576
  var wc = /* @__PURE__ */ u.createContext(null), aee = function(t) {
41577
- var n = t.visible, r = t.maskTransitionName, a = t.getContainer, o = t.prefixCls, i = t.rootClassName, c = t.icons, l = t.countRender, s = t.showSwitch, d = t.showProgress, f = t.current, m = t.transform, p = t.count, v = t.scale, h = t.minScale, g = t.maxScale, C = t.closeIcon, b = t.onActive, y = t.onClose, x = t.onZoomIn, S = t.onZoomOut, w = t.onRotateRight, L = t.onRotateLeft, M = t.onFlipX, z = t.onFlipY, E = t.onReset, O = t.toolbarRender, P = t.zIndex, T = t.image, N = Ht(wc), R = c.rotateLeft, I = c.rotateRight, $ = c.zoomIn, k = c.zoomOut, _ = c.close, D = c.left, A = c.right, H = c.flipX, F = c.flipY, V = "".concat(o, "-operations-operation");
41577
+ var n = t.visible, r = t.maskTransitionName, a = t.getContainer, o = t.prefixCls, i = t.rootClassName, c = t.icons, l = t.countRender, s = t.showSwitch, d = t.showProgress, f = t.current, m = t.transform, p = t.count, v = t.scale, h = t.minScale, g = t.maxScale, C = t.closeIcon, b = t.onActive, y = t.onClose, x = t.onZoomIn, S = t.onZoomOut, w = t.onRotateRight, L = t.onRotateLeft, M = t.onFlipX, z = t.onFlipY, E = t.onReset, O = t.toolbarRender, P = t.zIndex, T = t.image, N = Vt(wc), R = c.rotateLeft, I = c.rotateRight, $ = c.zoomIn, k = c.zoomOut, _ = c.close, D = c.left, A = c.right, H = c.flipX, F = c.flipY, V = "".concat(o, "-operations-operation");
41578
41578
  u.useEffect(function() {
41579
41579
  var ae = function(ie) {
41580
41580
  ie.keyCode === Ne.ESC && y();
@@ -41958,7 +41958,7 @@ var dee = ["fallback", "src", "imgRef"], fee = ["prefixCls", "src", "alt", "imag
41958
41958
  }
41959
41959
  }, o, s));
41960
41960
  }, Zx = function(t) {
41961
- var n = t.prefixCls, r = t.src, a = t.alt, o = t.imageInfo, i = t.fallback, c = t.movable, l = c === void 0 ? !0 : c, s = t.onClose, d = t.visible, f = t.icons, m = f === void 0 ? {} : f, p = t.rootClassName, v = t.closeIcon, h = t.getContainer, g = t.current, C = g === void 0 ? 0 : g, b = t.count, y = b === void 0 ? 1 : b, x = t.countRender, S = t.scaleStep, w = S === void 0 ? 0.5 : S, L = t.minScale, M = L === void 0 ? 1 : L, z = t.maxScale, E = z === void 0 ? 50 : z, O = t.transitionName, P = O === void 0 ? "zoom" : O, T = t.maskTransitionName, N = T === void 0 ? "fade" : T, R = t.imageRender, I = t.imgCommonProps, $ = t.toolbarRender, k = t.onTransform, _ = t.onChange, D = mt(t, fee), A = Be(), H = Ht(wc), F = H && y > 1, V = H && y >= 1, W = Lt(!0), J = ne(W, 2), Y = J[0], q = J[1], re = oee(A, M, E, k), G = re.transform, Q = re.resetTransform, U = re.updateTransform, te = re.dispatchZoomChange, K = cee(A, l, d, w, G, U, te), oe = K.isMoving, ae = K.onMouseDown, ue = K.onWheel, ie = uee(A, l, d, M, G, U, te), fe = ie.isTouching, pe = ie.onTouchStart, ge = ie.onTouchMove, Se = ie.onTouchEnd, ve = G.rotate, Ce = G.scale, Me = Z(j({}, "".concat(n, "-moving"), oe));
41961
+ var n = t.prefixCls, r = t.src, a = t.alt, o = t.imageInfo, i = t.fallback, c = t.movable, l = c === void 0 ? !0 : c, s = t.onClose, d = t.visible, f = t.icons, m = f === void 0 ? {} : f, p = t.rootClassName, v = t.closeIcon, h = t.getContainer, g = t.current, C = g === void 0 ? 0 : g, b = t.count, y = b === void 0 ? 1 : b, x = t.countRender, S = t.scaleStep, w = S === void 0 ? 0.5 : S, L = t.minScale, M = L === void 0 ? 1 : L, z = t.maxScale, E = z === void 0 ? 50 : z, O = t.transitionName, P = O === void 0 ? "zoom" : O, T = t.maskTransitionName, N = T === void 0 ? "fade" : T, R = t.imageRender, I = t.imgCommonProps, $ = t.toolbarRender, k = t.onTransform, _ = t.onChange, D = mt(t, fee), A = Be(), H = Vt(wc), F = H && y > 1, V = H && y >= 1, W = Lt(!0), J = ne(W, 2), Y = J[0], q = J[1], re = oee(A, M, E, k), G = re.transform, Q = re.resetTransform, U = re.updateTransform, te = re.dispatchZoomChange, K = cee(A, l, d, w, G, U, te), oe = K.isMoving, ae = K.onMouseDown, ue = K.onWheel, ie = uee(A, l, d, M, G, U, te), fe = ie.isTouching, pe = ie.onTouchStart, ge = ie.onTouchMove, Se = ie.onTouchEnd, ve = G.rotate, Ce = G.scale, Me = Z(j({}, "".concat(n, "-moving"), oe));
41962
41962
  zt(function() {
41963
41963
  Y || q(!0);
41964
41964
  }, [Y]);
@@ -42194,7 +42194,7 @@ var Cee = ["src", "alt", "onPreviewClose", "prefixCls", "previewPrefixCls", "pla
42194
42194
  src: n,
42195
42195
  isCustomPlaceholder: L,
42196
42196
  fallback: d
42197
- }), U = ne(Q, 3), te = U[0], K = U[1], oe = U[2], ae = Lt(null), ue = ne(ae, 2), ie = ue[0], fe = ue[1], pe = Ht(wc), ge = !!h, Se = function() {
42197
+ }), U = ne(Q, 3), te = U[0], K = U[1], oe = U[2], ae = Lt(null), ue = ne(ae, 2), ie = ue[0], fe = ue[1], pe = Vt(wc), ge = !!h, Se = function() {
42198
42198
  G(!1), fe(null);
42199
42199
  }, ve = Z(i, y, S, j({}, "".concat(i, "-error"), oe === "error")), Ce = Xt(function() {
42200
42200
  var He = {};
@@ -44247,7 +44247,7 @@ const vte = (e) => {
44247
44247
  } = e, i = vw(e, ["prefixCls", "className", "avatar", "title", "description"]);
44248
44248
  const {
44249
44249
  getPrefixCls: c
44250
- } = Ht(lt), l = c("list", t), s = Z(`${l}-item-meta`, n), d = /* @__PURE__ */ ee.createElement("div", {
44250
+ } = Vt(lt), l = c("list", t), s = Z(`${l}-item-meta`, n), d = /* @__PURE__ */ ee.createElement("div", {
44251
44251
  className: `${l}-item-meta-content`
44252
44252
  }, a && /* @__PURE__ */ ee.createElement("h4", {
44253
44253
  className: `${l}-item-meta-title`
@@ -44272,10 +44272,10 @@ const vte = (e) => {
44272
44272
  } = e, d = vw(e, ["prefixCls", "children", "actions", "extra", "styles", "className", "classNames", "colStyle"]), {
44273
44273
  grid: f,
44274
44274
  itemLayout: m
44275
- } = Ht(gd), {
44275
+ } = Vt(gd), {
44276
44276
  getPrefixCls: p,
44277
44277
  list: v
44278
- } = Ht(lt), h = (L) => {
44278
+ } = Vt(lt), h = (L) => {
44279
44279
  var M, z;
44280
44280
  return Z((z = (M = v == null ? void 0 : v.item) === null || M === void 0 ? void 0 : M.classNames) === null || z === void 0 ? void 0 : z[L], l == null ? void 0 : l[L]);
44281
44281
  }, g = (L) => {
@@ -44800,7 +44800,7 @@ const zte = /* @__PURE__ */ ee.forwardRef((e, t) => {
44800
44800
  sync: r
44801
44801
  } = e, {
44802
44802
  getPrefixCls: a
44803
- } = Ht(lt), o = Bi.prefixCls || a("message"), i = Ht(qC), [c, l] = Wb(Object.assign(Object.assign(Object.assign({}, n), {
44803
+ } = Vt(lt), o = Bi.prefixCls || a("message"), i = Vt(qC), [c, l] = Wb(Object.assign(Object.assign(Object.assign({}, n), {
44804
44804
  prefixCls: o
44805
44805
  }), i.message));
44806
44806
  return ee.useImperativeHandle(t, () => {
@@ -45044,7 +45044,7 @@ const _te = /* @__PURE__ */ ee.forwardRef((e, t) => {
45044
45044
  sync: r
45045
45045
  } = e, {
45046
45046
  getPrefixCls: a
45047
- } = Ht(lt), o = Vi.prefixCls || a("notification"), i = Ht(qC), [c, l] = UC(Object.assign(Object.assign(Object.assign({}, n), {
45047
+ } = Vt(lt), o = Vi.prefixCls || a("notification"), i = Vt(qC), [c, l] = UC(Object.assign(Object.assign(Object.assign({}, n), {
45048
45048
  prefixCls: o
45049
45049
  }), i.notification));
45050
45050
  return ee.useEffect(r, []), ee.useImperativeHandle(t, () => {
@@ -55486,7 +55486,11 @@ class Vae {
55486
55486
  n >= 0 && this.changeListeners.splice(n, 1), this.HAS_DOCUMENT_COOKIE && this.changeListeners.length === 0 && (typeof window == "object" && "cookieStore" in window ? window.cookieStore.removeEventListener("change", this.update) : this._stopPolling());
55487
55487
  }
55488
55488
  }
55489
- const Wae = () => localStorage.i18nextLng.replace(/([a-zA-Z]*)[-][a-zA-Z]*/g, "$1").toUpperCase(), Kae = () => Ki.get(e2.TenantID), Uae = () => Lr(e2.AppId);
55489
+ const Wae = () => {
55490
+ var t;
55491
+ const e = localStorage.i18nextLng;
55492
+ return (t = e == null ? void 0 : e.replace(/([a-zA-Z]*)[-][a-zA-Z]*/g, "$1")) == null ? void 0 : t.toUpperCase();
55493
+ }, Kae = () => Ki.get(e2.TenantID), Uae = () => Lr(e2.AppId);
55490
55494
  function Lr(e) {
55491
55495
  return new Vae(null, { path: "/" }).get(`ga-${e}`);
55492
55496
  }
@@ -67863,7 +67867,7 @@ function lI({
67863
67867
  const {
67864
67868
  i18n: v,
67865
67869
  defaultNS: h
67866
- } = Ht(cI) || {}, g = d || v || jf(), C = f || (g == null ? void 0 : g.t.bind(g));
67870
+ } = Vt(cI) || {}, g = d || v || jf(), C = f || (g == null ? void 0 : g.t.bind(g));
67867
67871
  return oEe({
67868
67872
  children: e,
67869
67873
  count: t,
@@ -67893,7 +67897,7 @@ const lEe = (e, t) => {
67893
67897
  } = t, {
67894
67898
  i18n: r,
67895
67899
  defaultNS: a
67896
- } = Ht(cI) || {}, o = n || r || jf();
67900
+ } = Vt(cI) || {}, o = n || r || jf();
67897
67901
  if (o && !o.reportNamespaces && (o.reportNamespaces = new cEe()), !o) {
67898
67902
  $0("You will need to pass in an i18next instance by using initReactI18next");
67899
67903
  const M = (E, O) => t2(O) ? O : Ka(O) && t2(O.defaultValue) ? O.defaultValue : Array.isArray(E) ? E[E.length - 1] : E, z = [M, {}, !1];
@@ -70007,7 +70011,7 @@ const nNe = ({ size: e }) => {
70007
70011
  }
70008
70012
  ) }) });
70009
70013
  }, rNe = Ru(), rOe = rNe(nNe);
70010
- var Wt = /* @__PURE__ */ ((e) => (e.App = "idApp", e.Version = "version", e.DeployDate = "releaseDate", e.ReleasePages = "gaReleasePages", e.Fields = "gaReleasePagesContent", e.Title = "title", e.Description = "description", e.Image = "idFile", e.Order = "order", e.NoImage = "noImage", e))(Wt || {}), Uf = /* @__PURE__ */ ((e) => (e.GetApps = "GetApps", e.GetReleases = "GetReleases", e.GetUser = "GetUser", e))(Uf || {});
70014
+ var Ht = /* @__PURE__ */ ((e) => (e.App = "idApp", e.Version = "version", e.DeployDate = "releaseDate", e.ReleasePages = "gaReleasePages", e.Fields = "gaReleasePagesContent", e.Title = "title", e.Description = "description", e.Image = "idFile", e.Order = "order", e.NoImage = "noImage", e))(Ht || {}), Uf = /* @__PURE__ */ ((e) => (e.GetApps = "GetApps", e.GetReleases = "GetReleases", e.GetUser = "GetUser", e))(Uf || {});
70011
70015
  const aNe = async () => {
70012
70016
  const e = window.globalAuthUrl, { data: t } = await Ir.get(`${e}/getApps`);
70013
70017
  return t;
@@ -70029,16 +70033,16 @@ const aNe = async () => {
70029
70033
  );
70030
70034
  }, sNe = ({ index: e }) => {
70031
70035
  const { t } = ur(), { requiredField: n } = f3();
70032
- return /* @__PURE__ */ be.jsx(rn.List, { name: [e, Wt.Fields], children: (r, { remove: a }) => /* @__PURE__ */ be.jsxs(be.Fragment, { children: [
70036
+ return /* @__PURE__ */ be.jsx(rn.List, { name: [e, Ht.Fields], children: (r, { remove: a }) => /* @__PURE__ */ be.jsxs(be.Fragment, { children: [
70033
70037
  /* @__PURE__ */ be.jsx(N0, { fieldName: "idReleasePage", hidden: !0 }),
70034
70038
  /* @__PURE__ */ be.jsx(m2, { gap: 16, vertical: !0, children: r.map(({ key: o, name: i, ...c }) => /* @__PURE__ */ be.jsxs(m2, { gap: 6, align: "center", children: [
70035
70039
  /* @__PURE__ */ be.jsxs(m2, { vertical: !0, gap: 2, style: { width: "100%" }, children: [
70036
- /* @__PURE__ */ be.jsx(rn.Item, { ...c, name: [i, Wt.Title], rules: n, noStyle: !0, children: /* @__PURE__ */ be.jsx(A2, { placeholder: t("RELEASE-NOTES.FORM.FIELDS.TITLE"), maxLength: 500 }) }),
70040
+ /* @__PURE__ */ be.jsx(rn.Item, { ...c, name: [i, Ht.Title], rules: n, noStyle: !0, children: /* @__PURE__ */ be.jsx(A2, { placeholder: t("RELEASE-NOTES.FORM.FIELDS.TITLE"), maxLength: 500 }) }),
70037
70041
  /* @__PURE__ */ be.jsx(
70038
70042
  rn.Item,
70039
70043
  {
70040
70044
  ...c,
70041
- name: [i, Wt.Description],
70045
+ name: [i, Ht.Description],
70042
70046
  rules: n,
70043
70047
  noStyle: !0,
70044
70048
  children: /* @__PURE__ */ be.jsx(ld, { autoSize: { minRows: 2 }, placeholder: t("RELEASE-NOTES.FORM.FIELDS.DESCRIPTION") })
@@ -70057,30 +70061,30 @@ const aNe = async () => {
70057
70061
  ] }, o)) })
70058
70062
  ] }) });
70059
70063
  }, uNe = y1(({ changeSlide: e }, t) => {
70060
- const [n, r] = Lt([]), { t: a } = ur(), o = rn.useFormInstance(), i = rn.useWatch(Wt.ReleasePages, o), c = (d) => ({ file: f, fileList: m }) => {
70064
+ const [n, r] = Lt([]), { t: a } = ur(), o = rn.useFormInstance(), i = rn.useWatch(Ht.ReleasePages, o), c = (d) => ({ file: f, fileList: m }) => {
70061
70065
  const p = d[0], v = d[1], h = i[p];
70062
70066
  r(m), PL(f.originFileObj, (g) => {
70063
- o.setFieldValue(Wt.ReleasePages, i.toSpliced(p, 1, { ...h, [v]: g }));
70067
+ o.setFieldValue(Ht.ReleasePages, i.toSpliced(p, 1, { ...h, [v]: g }));
70064
70068
  });
70065
70069
  }, l = (d) => () => {
70066
70070
  var h;
70067
- const f = i == null ? void 0 : i[d], p = [...((h = i == null ? void 0 : i[d]) == null ? void 0 : h[Wt.Fields]) ?? [], {}], v = i.toSpliced(d, 1, { ...f, [Wt.Fields]: p });
70068
- o.setFieldValue(Wt.ReleasePages, v);
70071
+ const f = i == null ? void 0 : i[d], p = [...((h = i == null ? void 0 : i[d]) == null ? void 0 : h[Ht.Fields]) ?? [], {}], v = i.toSpliced(d, 1, { ...f, [Ht.Fields]: p });
70072
+ o.setFieldValue(Ht.ReleasePages, v);
70069
70073
  }, s = /* @__PURE__ */ be.jsx(L1, { justify: "center", align: "middle", children: /* @__PURE__ */ be.jsxs(Ts, { direction: "vertical", children: [
70070
70074
  /* @__PURE__ */ be.jsx("p", { className: "ant-upload-drag-icon", children: /* @__PURE__ */ be.jsx(Cd, {}) }),
70071
70075
  /* @__PURE__ */ be.jsx("p", { className: "ant-upload-text", children: a("GENERAL.UPLOAD_LABEL") }),
70072
70076
  /* @__PURE__ */ be.jsx("p", { className: "ant-upload-hint", children: a("GENERAL.JPG_PNG_WARNING") })
70073
70077
  ] }) });
70074
- return /* @__PURE__ */ be.jsx(rn.List, { name: Wt.ReleasePages, children: (d) => /* @__PURE__ */ be.jsxs(be.Fragment, { children: [
70078
+ return /* @__PURE__ */ be.jsx(rn.List, { name: Ht.ReleasePages, children: (d) => /* @__PURE__ */ be.jsxs(be.Fragment, { children: [
70075
70079
  /* @__PURE__ */ be.jsx(N0, { fieldName: "idRelease", hidden: !0 }),
70076
70080
  /* @__PURE__ */ be.jsx(N0, { fieldName: "idReleasePage", hidden: !0 }),
70077
70081
  /* @__PURE__ */ be.jsx(ed, { infinite: !1, ref: t, beforeChange: e, adaptiveHeight: !0, children: d.map(({ key: f, name: m, ...p }) => {
70078
70082
  var g, C;
70079
- const v = (g = i == null ? void 0 : i[m]) == null ? void 0 : g[Wt.Image], h = (C = i == null ? void 0 : i[m]) == null ? void 0 : C[Wt.NoImage];
70083
+ const v = (g = i == null ? void 0 : i[m]) == null ? void 0 : g[Ht.Image], h = (C = i == null ? void 0 : i[m]) == null ? void 0 : C[Ht.NoImage];
70080
70084
  return /* @__PURE__ */ be.jsx("div", { children: /* @__PURE__ */ be.jsxs(L1, { gutter: [8, 16], style: { marginBottom: 35 }, children: [
70081
70085
  /* @__PURE__ */ be.jsx(On, { span: 24, children: /* @__PURE__ */ be.jsxs(L1, { gutter: 8, children: [
70082
70086
  /* @__PURE__ */ be.jsx(On, { span: h ? 24 : 12, children: /* @__PURE__ */ be.jsx(sNe, { index: m }) }),
70083
- !h && /* @__PURE__ */ be.jsx(On, { span: 12, children: /* @__PURE__ */ be.jsx(wa, { bordered: !0, styles: { body: { display: "flex", justifyContent: "center", padding: 2 } }, children: /* @__PURE__ */ be.jsx(rn.Item, { ...p, name: [m, Wt.Image], noStyle: !0, children: /* @__PURE__ */ be.jsx(
70087
+ !h && /* @__PURE__ */ be.jsx(On, { span: 12, children: /* @__PURE__ */ be.jsx(wa, { bordered: !0, styles: { body: { display: "flex", justifyContent: "center", padding: 2 } }, children: /* @__PURE__ */ be.jsx(rn.Item, { ...p, name: [m, Ht.Image], noStyle: !0, children: /* @__PURE__ */ be.jsx(
70084
70088
  Ws,
70085
70089
  {
70086
70090
  listType: "picture",
@@ -70088,7 +70092,7 @@ const aNe = async () => {
70088
70092
  showUploadList: !1,
70089
70093
  fileList: n,
70090
70094
  beforeUpload: qae,
70091
- onChange: c([m, Wt.Image]),
70095
+ onChange: c([m, Ht.Image]),
70092
70096
  children: v ? /* @__PURE__ */ be.jsx(Ds, { src: v, preview: !1, style: { maxHeight: 600 } }) : s
70093
70097
  }
70094
70098
  ) }) }) })
@@ -70098,15 +70102,15 @@ const aNe = async () => {
70098
70102
  /* @__PURE__ */ be.jsx(
70099
70103
  yEe,
70100
70104
  {
70101
- fieldName: [m, Wt.NoImage],
70105
+ fieldName: [m, Ht.NoImage],
70102
70106
  label: a("GENERAL.DO_NOT_USE_IMAGE"),
70103
70107
  onChange: (b) => {
70104
70108
  const y = b.target.checked, x = i.map((S, w) => ({
70105
70109
  ...S,
70106
- [Wt.NoImage]: w === m ? y : S[Wt.NoImage],
70107
- [Wt.Image]: w === m && y ? void 0 : S[Wt.Image]
70110
+ [Ht.NoImage]: w === m ? y : S[Ht.NoImage],
70111
+ [Ht.Image]: w === m && y ? void 0 : S[Ht.Image]
70108
70112
  }));
70109
- o.setFieldValue(Wt.ReleasePages, x);
70113
+ o.setFieldValue(Ht.ReleasePages, x);
70110
70114
  }
70111
70115
  }
70112
70116
  )
@@ -70122,36 +70126,46 @@ const aNe = async () => {
70122
70126
  beforeCloseModal: a,
70123
70127
  afterSubmit: o
70124
70128
  }) => {
70125
- const [i, c] = Lt(!1), [l, s] = Lt(!1), [d, f] = Lt(0), [m] = rn.useForm(), { t: p } = ur(), v = d3(), { getColor: h } = hEe(), g = Be(null), { requiredField: C } = f3(), { data: b } = TI(), y = rn.useWatch(Wt.ReleasePages, m), x = (_, D) => f(D), S = () => m.resetFields();
70129
+ const [i, c] = Lt(!1), [l, s] = Lt(!1), [d, f] = Lt(0), [m] = rn.useForm(), { t: p } = ur(), v = d3(), { getColor: h } = hEe(), g = Be(null), { requiredField: C } = f3(), { data: b } = TI(), y = rn.useWatch(Ht.ReleasePages, m), x = (_, D) => f(D), S = () => m.resetFields();
70126
70130
  zt(() => {
70127
70131
  n && (c(!0), m.setFieldsValue({
70128
70132
  ...n,
70129
- [Wt.ReleasePages]: n[Wt.ReleasePages].map((_) => ({
70133
+ [Ht.ReleasePages]: n[Ht.ReleasePages].map((_) => ({
70130
70134
  ..._,
70131
- [Wt.Image]: kd(_[Wt.Image])
70135
+ [Ht.Image]: kd(_[Ht.Image])
70132
70136
  })),
70133
- [Wt.DeployDate]: e1(n[Wt.DeployDate])
70137
+ [Ht.DeployDate]: e1(n[Ht.DeployDate])
70134
70138
  }));
70135
70139
  }, [n]);
70136
70140
  const w = () => {
70137
70141
  r ? new Promise((_) => _(r())).then(() => c(!0)) : c(!0);
70138
70142
  }, L = () => {
70139
70143
  a ? new Promise((_) => _(a())).then(() => c(!1)) : c(!1);
70140
- }, M = () => m.setFieldValue(Wt.ReleasePages, [
70141
- ...y,
70142
- { [Wt.Fields]: [{}] }
70143
- ]), z = () => m.setFieldValue(
70144
- Wt.ReleasePages,
70145
- y.filter((_, D) => D !== d)
70146
- ), E = (_) => {
70144
+ }, M = () => {
70145
+ if (m.setFieldValue(Ht.ReleasePages, [
70146
+ ...y,
70147
+ { [Ht.Fields]: [{}] }
70148
+ ]), g.current) {
70149
+ const _ = m.getFieldValue(Ht.ReleasePages);
70150
+ g.current.goTo(_.length - 1);
70151
+ }
70152
+ }, z = () => {
70153
+ if (m.setFieldValue(
70154
+ Ht.ReleasePages,
70155
+ y.filter((_, D) => D !== d)
70156
+ ), g.current) {
70157
+ const _ = m.getFieldValue(Ht.ReleasePages);
70158
+ g.current.goTo(_.length - 1);
70159
+ }
70160
+ }, E = (_) => {
70147
70161
  const D = {
70148
70162
  ..._,
70149
- [Wt.DeployDate]: e1(_[Wt.DeployDate]).format(Ck),
70150
- [Wt.ReleasePages]: _[Wt.ReleasePages].map((A, H) => ({
70163
+ [Ht.DeployDate]: e1(_[Ht.DeployDate]).format(Ck),
70164
+ [Ht.ReleasePages]: _[Ht.ReleasePages].map((A, H) => ({
70151
70165
  ...A,
70152
- [Wt.Image]: RL(A[Wt.Image]),
70166
+ [Ht.Image]: RL(A[Ht.Image]),
70153
70167
  order: H,
70154
- [Wt.Fields]: A[Wt.Fields].map((F, V) => ({ ...F, order: V }))
70168
+ [Ht.Fields]: A[Ht.Fields].map((F, V) => ({ ...F, order: V }))
70155
70169
  }))
70156
70170
  };
70157
70171
  iNe(D).then(() => {
@@ -70214,8 +70228,8 @@ const aNe = async () => {
70214
70228
  ] }), R = (_) => {
70215
70229
  s(t ? _ : !1);
70216
70230
  }, I = {
70217
- [Wt.ReleasePages]: [{ [Wt.Fields]: [{}] }],
70218
- [Wt.DeployDate]: e1()
70231
+ [Ht.ReleasePages]: [{ [Ht.Fields]: [{}] }],
70232
+ [Ht.DeployDate]: e1()
70219
70233
  }, $ = Gae(b ?? [], "appName", "id"), k = Xt(() => p(`${W2}.${n ? "UPD_RELEASE_NOTE" : "ADD_RELEASE_NOTE"}`), [v]);
70220
70234
  return /* @__PURE__ */ be.jsxs(be.Fragment, { children: [
70221
70235
  /* @__PURE__ */ be.jsx(m1, { title: t, open: l, onOpenChange: R, children: /* @__PURE__ */ be.jsx(
@@ -70234,7 +70248,7 @@ const aNe = async () => {
70234
70248
  /* @__PURE__ */ be.jsx(On, { span: 8, children: /* @__PURE__ */ be.jsx(
70235
70249
  bEe,
70236
70250
  {
70237
- fieldName: Wt.App,
70251
+ fieldName: Ht.App,
70238
70252
  label: p(`${W2}.FORM.FIELDS.APP`),
70239
70253
  placeholder: p(`${W2}.FORM.FIELDS.APP`, { context: "PLACEHOLDER" }),
70240
70254
  options: $,
@@ -70244,7 +70258,7 @@ const aNe = async () => {
70244
70258
  /* @__PURE__ */ be.jsx(On, { span: 8, children: /* @__PURE__ */ be.jsx(
70245
70259
  f2,
70246
70260
  {
70247
- fieldName: Wt.Version,
70261
+ fieldName: Ht.Version,
70248
70262
  label: p(`${W2}.FORM.FIELDS.VERSION`),
70249
70263
  placeholder: "0.0.0",
70250
70264
  tooltip: p(`${W2}.FORM.FIELDS.VERSION`, { context: "TOOLTIP" }),
@@ -70264,7 +70278,7 @@ const aNe = async () => {
70264
70278
  /* @__PURE__ */ be.jsx(On, { span: 8, children: /* @__PURE__ */ be.jsx(
70265
70279
  CEe,
70266
70280
  {
70267
- fieldName: Wt.DeployDate,
70281
+ fieldName: Ht.DeployDate,
70268
70282
  label: p(`${W2}.FORM.FIELDS.DEPLOY_DATE`),
70269
70283
  format: bk,
70270
70284
  rules: C
@@ -70318,7 +70332,7 @@ const aNe = async () => {
70318
70332
  }
70319
70333
  }), gNe = ({ showAddBtn: e, ...t }) => e ? /* @__PURE__ */ be.jsx(J8, { children: /* @__PURE__ */ be.jsx(p6, { client: vv, children: /* @__PURE__ */ be.jsx(dNe, { ...t }) }) }) : /* @__PURE__ */ be.jsx(J8, { children: /* @__PURE__ */ be.jsx(p6, { client: vv, children: /* @__PURE__ */ be.jsx(pNe, {}) }) }), vNe = Ru(), aOe = vNe(gNe);
70320
70334
  var d1 = /* @__PURE__ */ ((e) => (e.FirstName = "firstName", e.LastName = "lastName", e.Username = "username", e.Email = "email", e.ProfilePicture = "profilePicture", e.Password = "password", e.ConfirmPassword = "confirmPassword", e.Apps = "userRolesApp", e.AppId = "idApp", e.RoleId = "roleId", e.Tenants = "tenantId", e.Active = "isActive", e.Private = "isPrivate", e.User = "userId", e.Hierarchy = "hierarchy", e))(d1 || {}), Hl = /* @__PURE__ */ ((e) => (e.Tab1 = "PROFILE", e.Tab2 = "MANAGEMENT", e))(Hl || {}), kI = /* @__PURE__ */ ((e) => (e[e.GA_USER_EMPTY = 0] = "GA_USER_EMPTY", e[e.GA_EMAIL_EMPTY = 1] = "GA_EMAIL_EMPTY", e[e.GA_USER_ID_EMPTY = 2] = "GA_USER_ID_EMPTY", e[e.GA_PASS_EMPTY = 3] = "GA_PASS_EMPTY", e[e.GA_PASS_NOT_MATCH = 4] = "GA_PASS_NOT_MATCH", e[e.GA_USERNAME_EXISTS = 5] = "GA_USERNAME_EXISTS", e[e.GA_EMAIL_EXISTS = 6] = "GA_EMAIL_EXISTS", e[e.GA_NO_ROLES_APP_DEFINED = 7] = "GA_NO_ROLES_APP_DEFINED", e[e.GA_DUPLICATED_RECORDS_SAME_TENANT_ROLE_APP = 8] = "GA_DUPLICATED_RECORDS_SAME_TENANT_ROLE_APP", e[e.GA_CANNOT_GET_USER_INFO = 9] = "GA_CANNOT_GET_USER_INFO", e[e.GA_ERROR_CHAGING_PASS = 10] = "GA_ERROR_CHAGING_PASS", e[e.GA_NO_TENANTS_ROLES_DEFINDED = 11] = "GA_NO_TENANTS_ROLES_DEFINDED", e[e.GA_PASS_DOES_NOT_MEET_REQUIREMENTS = 12] = "GA_PASS_DOES_NOT_MEET_REQUIREMENTS", e))(kI || {});
70321
- const Vt = (e) => typeof e == "string", Xo = () => {
70335
+ const Wt = (e) => typeof e == "string", Xo = () => {
70322
70336
  let e, t;
70323
70337
  const n = new Promise((r, a) => {
70324
70338
  e = r, t = a;
@@ -70328,8 +70342,8 @@ const Vt = (e) => typeof e == "string", Xo = () => {
70328
70342
  e.forEach((r) => {
70329
70343
  t[r] && (n[r] = t[r]);
70330
70344
  });
70331
- }, bNe = /###/g, bv = (e) => e && e.indexOf("###") > -1 ? e.replace(bNe, ".") : e, Cv = (e) => !e || Vt(e), yi = (e, t, n) => {
70332
- const r = Vt(t) ? t.split(".") : t;
70345
+ }, bNe = /###/g, bv = (e) => e && e.indexOf("###") > -1 ? e.replace(bNe, ".") : e, Cv = (e) => !e || Wt(e), yi = (e, t, n) => {
70346
+ const r = Wt(t) ? t.split(".") : t;
70333
70347
  let a = 0;
70334
70348
  for (; a < r.length - 1; ) {
70335
70349
  if (Cv(e)) return {};
@@ -70371,7 +70385,7 @@ const Vt = (e) => typeof e == "string", Xo = () => {
70371
70385
  return r !== void 0 ? r : R0(t, n);
70372
70386
  }, DI = (e, t, n) => {
70373
70387
  for (const r in t)
70374
- r !== "__proto__" && r !== "constructor" && (r in e ? Vt(e[r]) || e[r] instanceof String || Vt(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : DI(e[r], t[r], n) : e[r] = t[r]);
70388
+ r !== "__proto__" && r !== "constructor" && (r in e ? Wt(e[r]) || e[r] instanceof String || Wt(t[r]) || t[r] instanceof String ? n && (e[r] = t[r]) : DI(e[r], t[r], n) : e[r] = t[r]);
70375
70389
  return e;
70376
70390
  }, ka = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
70377
70391
  var SNe = {
@@ -70382,7 +70396,7 @@ var SNe = {
70382
70396
  "'": "&#39;",
70383
70397
  "/": "&#x2F;"
70384
70398
  };
70385
- const xNe = (e) => Vt(e) ? e.replace(/[&<>"'\/]/g, (t) => SNe[t]) : e;
70399
+ const xNe = (e) => Wt(e) ? e.replace(/[&<>"'\/]/g, (t) => SNe[t]) : e;
70386
70400
  class wNe {
70387
70401
  constructor(t) {
70388
70402
  this.capacity = t, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
@@ -70472,7 +70486,7 @@ class T0 {
70472
70486
  return this.forward(n, "warn", "WARNING DEPRECATED: ", !0);
70473
70487
  }
70474
70488
  forward(t, n, r, a) {
70475
- return a && !this.debug ? null : (Vt(t[0]) && (t[0] = `${r}${this.prefix} ${t[0]}`), this.logger[n](t));
70489
+ return a && !this.debug ? null : (Wt(t[0]) && (t[0] = `${r}${this.prefix} ${t[0]}`), this.logger[n](t));
70476
70490
  }
70477
70491
  create(t) {
70478
70492
  return new T0(this.logger, {
@@ -70539,9 +70553,9 @@ class Sv extends b3 {
70539
70553
  let a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
70540
70554
  const o = a.keySeparator !== void 0 ? a.keySeparator : this.options.keySeparator, i = a.ignoreJSONStructure !== void 0 ? a.ignoreJSONStructure : this.options.ignoreJSONStructure;
70541
70555
  let c;
70542
- t.indexOf(".") > -1 ? c = t.split(".") : (c = [t, n], r && (Array.isArray(r) ? c.push(...r) : Vt(r) && o ? c.push(...r.split(o)) : c.push(r)));
70556
+ t.indexOf(".") > -1 ? c = t.split(".") : (c = [t, n], r && (Array.isArray(r) ? c.push(...r) : Wt(r) && o ? c.push(...r.split(o)) : c.push(r)));
70543
70557
  const l = R0(this.data, c);
70544
- return !l && !n && !r && t.indexOf(".") > -1 && (t = c[0], n = c[1], r = c.slice(2).join(".")), l || !i || !Vt(r) ? l : zu((d = (s = this.data) == null ? void 0 : s[t]) == null ? void 0 : d[n], r, o);
70558
+ return !l && !n && !r && t.indexOf(".") > -1 && (t = c[0], n = c[1], r = c.slice(2).join(".")), l || !i || !Wt(r) ? l : zu((d = (s = this.data) == null ? void 0 : s[t]) == null ? void 0 : d[n], r, o);
70545
70559
  }
70546
70560
  addResource(t, n, r, a) {
70547
70561
  let o = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
@@ -70556,7 +70570,7 @@ class Sv extends b3 {
70556
70570
  silent: !1
70557
70571
  };
70558
70572
  for (const o in r)
70559
- (Vt(r[o]) || Array.isArray(r[o])) && this.addResource(t, n, o, r[o], {
70573
+ (Wt(r[o]) || Array.isArray(r[o])) && this.addResource(t, n, o, r[o], {
70560
70574
  silent: !0
70561
70575
  });
70562
70576
  a.silent || this.emit("added", t, n, r);
@@ -70634,14 +70648,14 @@ class k0 extends b3 {
70634
70648
  if (l && l.length > 0)
70635
70649
  return {
70636
70650
  key: t,
70637
- namespaces: Vt(o) ? [o] : o
70651
+ namespaces: Wt(o) ? [o] : o
70638
70652
  };
70639
70653
  const s = t.split(r);
70640
70654
  (r !== a || r === a && this.options.ns.indexOf(s[0]) > -1) && (o = s.shift()), t = s.join(a);
70641
70655
  }
70642
70656
  return {
70643
70657
  key: t,
70644
- namespaces: Vt(o) ? [o] : o
70658
+ namespaces: Wt(o) ? [o] : o
70645
70659
  };
70646
70660
  }
70647
70661
  translate(t, n, r) {
@@ -70676,8 +70690,8 @@ class k0 extends b3 {
70676
70690
  }
70677
70691
  const f = this.resolve(t, n);
70678
70692
  let m = f == null ? void 0 : f.res;
70679
- const p = (f == null ? void 0 : f.usedKey) || i, v = (f == null ? void 0 : f.exactUsedKey) || i, h = Object.prototype.toString.apply(m), g = ["[object Number]", "[object Function]", "[object RegExp]"], C = n.joinArrays !== void 0 ? n.joinArrays : this.options.joinArrays, b = !this.i18nFormat || this.i18nFormat.handleAsObject, y = !Vt(m) && typeof m != "boolean" && typeof m != "number";
70680
- if (b && m && y && g.indexOf(h) < 0 && !(Vt(C) && Array.isArray(m))) {
70693
+ const p = (f == null ? void 0 : f.usedKey) || i, v = (f == null ? void 0 : f.exactUsedKey) || i, h = Object.prototype.toString.apply(m), g = ["[object Number]", "[object Function]", "[object RegExp]"], C = n.joinArrays !== void 0 ? n.joinArrays : this.options.joinArrays, b = !this.i18nFormat || this.i18nFormat.handleAsObject, y = !Wt(m) && typeof m != "boolean" && typeof m != "number";
70694
+ if (b && m && y && g.indexOf(h) < 0 && !(Wt(C) && Array.isArray(m))) {
70681
70695
  if (!n.returnObjects && !this.options.returnObjects) {
70682
70696
  this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
70683
70697
  const x = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(p, m, {
@@ -70699,11 +70713,11 @@ class k0 extends b3 {
70699
70713
  }
70700
70714
  m = S;
70701
70715
  }
70702
- } else if (b && Vt(C) && Array.isArray(m))
70716
+ } else if (b && Wt(C) && Array.isArray(m))
70703
70717
  m = m.join(C), m && (m = this.extendTranslation(m, t, n, r));
70704
70718
  else {
70705
70719
  let x = !1, S = !1;
70706
- const w = n.count !== void 0 && !Vt(n.count), L = k0.hasDefaultValue(n), M = w ? this.pluralResolver.getSuffix(s, n.count, n) : "", z = n.ordinal && w ? this.pluralResolver.getSuffix(s, n.count, {
70720
+ const w = n.count !== void 0 && !Wt(n.count), L = k0.hasDefaultValue(n), M = w ? this.pluralResolver.getSuffix(s, n.count, n) : "", z = n.ordinal && w ? this.pluralResolver.getSuffix(s, n.count, {
70707
70721
  ordinal: !1
70708
70722
  }) : "", E = w && !n.ordinal && n.count === 0, O = E && n[`defaultValue${this.options.pluralSeparator}zero`] || n[`defaultValue${M}`] || n[`defaultValue${z}`] || n.defaultValue;
70709
70723
  !this.isValidLookup(m) && L && (x = !0, m = O), this.isValidLookup(m) || (S = !0, m = i);
@@ -70756,13 +70770,13 @@ class k0 extends b3 {
70756
70770
  ...r.interpolation
70757
70771
  }
70758
70772
  });
70759
- const f = Vt(t) && (((d = r == null ? void 0 : r.interpolation) == null ? void 0 : d.skipOnVariables) !== void 0 ? r.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
70773
+ const f = Wt(t) && (((d = r == null ? void 0 : r.interpolation) == null ? void 0 : d.skipOnVariables) !== void 0 ? r.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
70760
70774
  let m;
70761
70775
  if (f) {
70762
70776
  const v = t.match(this.interpolator.nestingRegexp);
70763
70777
  m = v && v.length;
70764
70778
  }
70765
- let p = r.replace && !Vt(r.replace) ? r.replace : r;
70779
+ let p = r.replace && !Wt(r.replace) ? r.replace : r;
70766
70780
  if (this.options.interpolation.defaultVariables && (p = {
70767
70781
  ...this.options.interpolation.defaultVariables,
70768
70782
  ...p
@@ -70776,7 +70790,7 @@ class k0 extends b3 {
70776
70790
  return (o == null ? void 0 : o[0]) === h[0] && !r.context ? (i.logger.warn(`It seems you are nesting recursively key: ${h[0]} in key: ${n[0]}`), null) : i.translate(...h, n);
70777
70791
  }, r)), r.interpolation && this.interpolator.reset();
70778
70792
  }
70779
- const c = r.postProcess || this.options.postProcess, l = Vt(c) ? [c] : c;
70793
+ const c = r.postProcess || this.options.postProcess, l = Wt(c) ? [c] : c;
70780
70794
  return t != null && (l != null && l.length) && r.applyPostProcessor !== !1 && (t = _I.handle(l, t, n, this.options && this.options.postProcessPassResolved ? {
70781
70795
  i18nResolved: {
70782
70796
  ...a,
@@ -70787,13 +70801,13 @@ class k0 extends b3 {
70787
70801
  }
70788
70802
  resolve(t) {
70789
70803
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r, a, o, i, c;
70790
- return Vt(t) && (t = [t]), t.forEach((l) => {
70804
+ return Wt(t) && (t = [t]), t.forEach((l) => {
70791
70805
  if (this.isValidLookup(r)) return;
70792
70806
  const s = this.extractFromKey(l, n), d = s.key;
70793
70807
  a = d;
70794
70808
  let f = s.namespaces;
70795
70809
  this.options.fallbackNS && (f = f.concat(this.options.fallbackNS));
70796
- const m = n.count !== void 0 && !Vt(n.count), p = m && !n.ordinal && n.count === 0, v = n.context !== void 0 && (Vt(n.context) || typeof n.context == "number") && n.context !== "", h = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng);
70810
+ const m = n.count !== void 0 && !Wt(n.count), p = m && !n.ordinal && n.count === 0, v = n.context !== void 0 && (Wt(n.context) || typeof n.context == "number") && n.context !== "", h = n.lngs ? n.lngs : this.languageUtils.toResolveHierarchy(n.lng || this.language, n.fallbackLng);
70797
70811
  f.forEach((g) => {
70798
70812
  var C, b;
70799
70813
  this.isValidLookup(r) || (c = g, !xv[`${h[0]}-${g}`] && ((C = this.utils) != null && C.hasLoadedNamespace) && !((b = this.utils) != null && b.hasLoadedNamespace(c)) && (xv[`${h[0]}-${g}`] = !0, this.logger.warn(`key "${a}" for languages "${h.join(", ")}" won't get resolved as namespace "${c}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), h.forEach((y) => {
@@ -70835,7 +70849,7 @@ class k0 extends b3 {
70835
70849
  }
70836
70850
  getUsedParamsDetails() {
70837
70851
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
70838
- const n = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], r = t.replace && !Vt(t.replace);
70852
+ const n = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], r = t.replace && !Wt(t.replace);
70839
70853
  let a = r ? t.replace : t;
70840
70854
  if (r && typeof t.count < "u" && (a.count = t.count), this.options.interpolation.defaultVariables && (a = {
70841
70855
  ...this.options.interpolation.defaultVariables,
@@ -70872,7 +70886,7 @@ class wv {
70872
70886
  return this.formatLanguageCode(n[0]);
70873
70887
  }
70874
70888
  formatLanguageCode(t) {
70875
- if (Vt(t) && t.indexOf("-") > -1) {
70889
+ if (Wt(t) && t.indexOf("-") > -1) {
70876
70890
  let n = Intl.getCanonicalLocales(t)[0];
70877
70891
  return n && this.options.lowerCaseLng && (n = n.toLowerCase()), n || (this.options.lowerCaseLng ? t.toLowerCase() : t);
70878
70892
  }
@@ -70901,7 +70915,7 @@ class wv {
70901
70915
  }
70902
70916
  getFallbackCodes(t, n) {
70903
70917
  if (!t) return [];
70904
- if (typeof t == "function" && (t = t(n)), Vt(t) && (t = [t]), Array.isArray(t)) return t;
70918
+ if (typeof t == "function" && (t = t(n)), Wt(t) && (t = [t]), Array.isArray(t)) return t;
70905
70919
  if (!n) return t.default || [];
70906
70920
  let r = t[n];
70907
70921
  return r || (r = t[this.getScriptPartFromCode(n)]), r || (r = t[this.formatLanguageCode(n)]), r || (r = t[this.getLanguagePartFromCode(n)]), r || (r = t.default), r || [];
@@ -70910,7 +70924,7 @@ class wv {
70910
70924
  const r = this.getFallbackCodes(n || this.options.fallbackLng || [], t), a = [], o = (i) => {
70911
70925
  i && (this.isSupportedCode(i) ? a.push(i) : this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`));
70912
70926
  };
70913
- return Vt(t) && (t.indexOf("-") > -1 || t.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && o(this.formatLanguageCode(t)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && o(this.getScriptPartFromCode(t)), this.options.load !== "currentOnly" && o(this.getLanguagePartFromCode(t))) : Vt(t) && o(this.formatLanguageCode(t)), r.forEach((i) => {
70927
+ return Wt(t) && (t.indexOf("-") > -1 || t.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && o(this.formatLanguageCode(t)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && o(this.getScriptPartFromCode(t)), this.options.load !== "currentOnly" && o(this.getLanguagePartFromCode(t))) : Wt(t) && o(this.formatLanguageCode(t)), r.forEach((i) => {
70914
70928
  a.indexOf(i) < 0 && o(this.formatLanguageCode(i));
70915
70929
  }), a;
70916
70930
  }
@@ -70981,7 +70995,7 @@ class $Ne {
70981
70995
  }
70982
70996
  const zv = function(e, t, n) {
70983
70997
  let r = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, o = yNe(e, t, n);
70984
- return !o && a && Vt(n) && (o = zu(e, n, r), o === void 0 && (o = zu(t, n, r))), o;
70998
+ return !o && a && Wt(n) && (o = zu(e, n, r), o === void 0 && (o = zu(t, n, r))), o;
70985
70999
  }, o6 = (e) => e.replace(/\$/g, "$$$$");
70986
71000
  class NNe {
70987
71001
  constructor() {
@@ -71055,7 +71069,7 @@ class NNe {
71055
71069
  if (i = s(h), i === void 0)
71056
71070
  if (typeof d == "function") {
71057
71071
  const C = d(t, o, a);
71058
- i = Vt(C) ? C : "";
71072
+ i = Wt(C) ? C : "";
71059
71073
  } else if (a && Object.prototype.hasOwnProperty.call(a, h))
71060
71074
  i = "";
71061
71075
  else if (f) {
@@ -71063,7 +71077,7 @@ class NNe {
71063
71077
  continue;
71064
71078
  } else
71065
71079
  this.logger.warn(`missed to pass in variable ${h} for interpolating ${t}`), i = "";
71066
- else !Vt(i) && !this.useRawValueToEscape && (i = hv(i));
71080
+ else !Wt(i) && !this.useRawValueToEscape && (i = hv(i));
71067
71081
  const g = v.safeValue(i);
71068
71082
  if (t = t.replace(o[0], g), f ? (v.regex.lastIndex += i.length, v.regex.lastIndex -= o[0].length) : v.regex.lastIndex = 0, c++, c >= this.maxReplaces)
71069
71083
  break;
@@ -71094,14 +71108,14 @@ class NNe {
71094
71108
  let l = [];
71095
71109
  i = {
71096
71110
  ...r
71097
- }, i = i.replace && !Vt(i.replace) ? i.replace : i, i.applyPostProcessor = !1, delete i.defaultValue;
71111
+ }, i = i.replace && !Wt(i.replace) ? i.replace : i, i.applyPostProcessor = !1, delete i.defaultValue;
71098
71112
  let s = !1;
71099
71113
  if (a[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(a[1])) {
71100
71114
  const d = a[1].split(this.formatSeparator).map((f) => f.trim());
71101
71115
  a[1] = d.shift(), l = d, s = !0;
71102
71116
  }
71103
- if (o = n(c.call(this, a[1].trim(), i), i), o && a[0] === t && !Vt(o)) return o;
71104
- Vt(o) || (o = hv(o)), o || (this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`), o = ""), s && (o = l.reduce((d, f) => this.format(d, f, r.lng, {
71117
+ if (o = n(c.call(this, a[1].trim(), i), i), o && a[0] === t && !Wt(o)) return o;
71118
+ Wt(o) || (o = hv(o)), o || (this.logger.warn(`missed to resolve ${a[1]} for nesting ${t}`), o = ""), s && (o = l.reduce((d, f) => this.format(d, f, r.lng, {
71105
71119
  ...r,
71106
71120
  interpolationkey: a[1].trim()
71107
71121
  }), o.trim())), t = t.replace(a[0], o), this.regexp.lastIndex = 0;
@@ -71310,7 +71324,7 @@ class INe extends b3 {
71310
71324
  let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = arguments.length > 3 ? arguments[3] : void 0;
71311
71325
  if (!this.backend)
71312
71326
  return this.logger.warn("No backend was added via i18next.use. Will not load resources."), a && a();
71313
- Vt(t) && (t = this.languageUtils.toResolveHierarchy(t)), Vt(n) && (n = [n]);
71327
+ Wt(t) && (t = this.languageUtils.toResolveHierarchy(t)), Wt(n) && (n = [n]);
71314
71328
  const o = this.queueLoad(t, n, r, a);
71315
71329
  if (!o.toLoad.length)
71316
71330
  return o.pending.length || a(), null;
@@ -71396,7 +71410,7 @@ const Ev = () => ({
71396
71410
  appendNamespaceToCIMode: !1,
71397
71411
  overloadTranslationOptionHandler: (e) => {
71398
71412
  let t = {};
71399
- if (typeof e[1] == "object" && (t = e[1]), Vt(e[1]) && (t.defaultValue = e[1]), Vt(e[2]) && (t.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") {
71413
+ if (typeof e[1] == "object" && (t = e[1]), Wt(e[1]) && (t.defaultValue = e[1]), Wt(e[2]) && (t.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") {
71400
71414
  const n = e[3] || e[2];
71401
71415
  Object.keys(n).forEach((r) => {
71402
71416
  t[r] = n[r];
@@ -71419,7 +71433,7 @@ const Ev = () => ({
71419
71433
  }
71420
71434
  }), $v = (e) => {
71421
71435
  var t, n;
71422
- return Vt(e.ns) && (e.ns = [e.ns]), Vt(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), Vt(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), ((n = (t = e.supportedLngs) == null ? void 0 : t.indexOf) == null ? void 0 : n.call(t, "cimode")) < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e;
71436
+ return Wt(e.ns) && (e.ns = [e.ns]), Wt(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), Wt(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), ((n = (t = e.supportedLngs) == null ? void 0 : t.indexOf) == null ? void 0 : n.call(t, "cimode")) < 0 && (e.supportedLngs = e.supportedLngs.concat(["cimode"])), typeof e.initImmediate == "boolean" && (e.initAsync = e.initImmediate), e;
71423
71437
  }, pl = () => {
71424
71438
  }, TNe = (e) => {
71425
71439
  Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((n) => {
@@ -71442,7 +71456,7 @@ class Yi extends b3 {
71442
71456
  init() {
71443
71457
  var t = this;
71444
71458
  let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
71445
- this.isInitializing = !0, typeof n == "function" && (r = n, n = {}), !n.defaultNS && n.defaultNS !== !1 && n.ns && (Vt(n.ns) ? n.defaultNS = n.ns : n.ns.indexOf("translation") < 0 && (n.defaultNS = n.ns[0]));
71459
+ this.isInitializing = !0, typeof n == "function" && (r = n, n = {}), !n.defaultNS && n.defaultNS !== !1 && n.ns && (Wt(n.ns) ? n.defaultNS = n.ns : n.ns.indexOf("translation") < 0 && (n.defaultNS = n.ns[0]));
71446
71460
  const a = Ev();
71447
71461
  this.options = {
71448
71462
  ...a,
@@ -71502,7 +71516,7 @@ class Yi extends b3 {
71502
71516
  loadResources(t) {
71503
71517
  var o, i;
71504
71518
  let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : pl;
71505
- const a = Vt(t) ? t : this.language;
71519
+ const a = Wt(t) ? t : this.language;
71506
71520
  if (typeof t == "function" && (r = t), !this.options.resources || this.options.partialBundledLanguages) {
71507
71521
  if ((a == null ? void 0 : a.toLowerCase()) === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return r();
71508
71522
  const c = [], l = (s) => {
@@ -71554,7 +71568,7 @@ class Yi extends b3 {
71554
71568
  }, c = (l) => {
71555
71569
  var d, f;
71556
71570
  !t && !l && this.services.languageDetector && (l = []);
71557
- const s = Vt(l) ? l : this.services.languageUtils.getBestMatchFromCodes(l);
71571
+ const s = Wt(l) ? l : this.services.languageUtils.getBestMatchFromCodes(l);
71558
71572
  s && (this.language || o(s), this.translator.language || this.translator.changeLanguage(s), (f = (d = this.services.languageDetector) == null ? void 0 : d.cacheUserLanguage) == null || f.call(d, s)), this.loadResources(s, (m) => {
71559
71573
  i(m, s);
71560
71574
  });
@@ -71578,7 +71592,7 @@ class Yi extends b3 {
71578
71592
  let p;
71579
71593
  return l.keyPrefix && Array.isArray(i) ? p = i.map((v) => `${l.keyPrefix}${m}${v}`) : p = l.keyPrefix ? `${l.keyPrefix}${m}${i}` : i, a.t(p, l);
71580
71594
  };
71581
- return Vt(t) ? o.lng = t : o.lngs = t, o.ns = n, o.keyPrefix = r, o;
71595
+ return Wt(t) ? o.lng = t : o.lngs = t, o.ns = n, o.keyPrefix = r, o;
71582
71596
  }
71583
71597
  t() {
71584
71598
  var a;
@@ -71615,7 +71629,7 @@ class Yi extends b3 {
71615
71629
  }
71616
71630
  loadNamespaces(t, n) {
71617
71631
  const r = Xo();
71618
- return this.options.ns ? (Vt(t) && (t = [t]), t.forEach((a) => {
71632
+ return this.options.ns ? (Wt(t) && (t = [t]), t.forEach((a) => {
71619
71633
  this.options.ns.indexOf(a) < 0 && this.options.ns.push(a);
71620
71634
  }), this.loadResources((a) => {
71621
71635
  r.resolve(), n && n(a);
@@ -71623,7 +71637,7 @@ class Yi extends b3 {
71623
71637
  }
71624
71638
  loadLanguages(t, n) {
71625
71639
  const r = Xo();
71626
- Vt(t) && (t = [t]);
71640
+ Wt(t) && (t = [t]);
71627
71641
  const a = this.options.preload || [], o = t.filter((i) => a.indexOf(i) < 0 && this.services.languageUtils.isSupportedCode(i));
71628
71642
  return o.length ? (this.options.preload = a.concat(o), this.loadResources((i) => {
71629
71643
  r.resolve(), n && n(i);