@obb871001/api-integration-sdk 1.0.391 → 1.0.392

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import fe, { createContext as jt, useContext as _i, useState as Xa, useMemo as Ba, useCallback as H, useRef as ae, useEffect as ue } from "react";
2
2
  import { useQueries as zn, useQuery as j, useQueryClient as xa, useMutation as X, QueryClient as Wr, QueryClientProvider as zr } from "@tanstack/react-query";
3
3
  import Ir from "axios";
4
- import { get as Q, find as Ve, isEmpty as Ge, entries as In, forEach as Vr, map as Se, isArray as ea, toLower as Ei, omit as Jr, keyBy as Zr, replace as nt, includes as Kr, isObject as Yt, flatMap as Xt, values as qr, keys as Ni } from "lodash";
4
+ import { get as Q, isEmpty as Ge, find as Ve, entries as In, forEach as Vr, map as Se, isArray as ea, toLower as Ei, omit as Jr, keyBy as Zr, replace as nt, includes as Kr, isObject as Yt, flatMap as Xt, values as qr, keys as Ni } from "lodash";
5
5
  import $r from "react-dom";
6
6
  var ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
7
  function yi(e) {
@@ -36,7 +36,7 @@ var Li;
36
36
  function jr() {
37
37
  if (Li) return Ka;
38
38
  Li = 1;
39
- var e = fe, n = Symbol.for("react.element"), a = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
39
+ var e = fe, n = /* @__PURE__ */ Symbol.for("react.element"), a = /* @__PURE__ */ Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
40
40
  function U(d, l, t) {
41
41
  var i, o = {}, s = null, u = null;
42
42
  t !== void 0 && (s = "" + t), l.key !== void 0 && (s = "" + l.key), l.ref !== void 0 && (u = l.ref);
@@ -50,7 +50,7 @@ var qa = {};
50
50
  var Gi;
51
51
  function Yr() {
52
52
  return Gi || (Gi = 1, process.env.NODE_ENV !== "production" && (function() {
53
- var e = fe, n = Symbol.for("react.element"), a = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), U = Symbol.for("react.provider"), d = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), t = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), o = Symbol.for("react.memo"), s = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), m = Symbol.iterator, _ = "@@iterator";
53
+ var e = fe, n = /* @__PURE__ */ Symbol.for("react.element"), a = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), p = /* @__PURE__ */ Symbol.for("react.strict_mode"), g = /* @__PURE__ */ Symbol.for("react.profiler"), U = /* @__PURE__ */ Symbol.for("react.provider"), d = /* @__PURE__ */ Symbol.for("react.context"), l = /* @__PURE__ */ Symbol.for("react.forward_ref"), t = /* @__PURE__ */ Symbol.for("react.suspense"), i = /* @__PURE__ */ Symbol.for("react.suspense_list"), o = /* @__PURE__ */ Symbol.for("react.memo"), s = /* @__PURE__ */ Symbol.for("react.lazy"), u = /* @__PURE__ */ Symbol.for("react.offscreen"), m = Symbol.iterator, _ = "@@iterator";
54
54
  function c(x) {
55
55
  if (x === null || typeof x != "object")
56
56
  return null;
@@ -76,7 +76,7 @@ function Yr() {
76
76
  }
77
77
  }
78
78
  var C = !1, v = !1, S = !1, E = !1, M = !1, A;
79
- A = Symbol.for("react.module.reference");
79
+ A = /* @__PURE__ */ Symbol.for("react.module.reference");
80
80
  function k(x) {
81
81
  return !!(typeof x == "string" || typeof x == "function" || x === r || x === g || M || x === p || x === t || x === i || E || x === u || C || v || S || typeof x == "object" && x !== null && (x.$$typeof === s || x.$$typeof === o || x.$$typeof === U || x.$$typeof === d || x.$$typeof === l || // This needs to include all possible module reference object
82
82
  // types supported by any Flight configuration anywhere since
@@ -166,7 +166,7 @@ function Yr() {
166
166
  R++;
167
167
  }
168
168
  }
169
- function q() {
169
+ function K() {
170
170
  {
171
171
  if (R--, R === 0) {
172
172
  var x = {
@@ -202,7 +202,7 @@ function Yr() {
202
202
  }
203
203
  }
204
204
  var J = y.ReactCurrentDispatcher, $;
205
- function K(x, I, Z) {
205
+ function q(x, I, Z) {
206
206
  {
207
207
  if ($ === void 0)
208
208
  try {
@@ -286,9 +286,9 @@ function Yr() {
286
286
  }
287
287
  }
288
288
  } finally {
289
- te = !1, J.current = ge, q(), Error.prepareStackTrace = me;
289
+ te = !1, J.current = ge, K(), Error.prepareStackTrace = me;
290
290
  }
291
- var Pa = x ? x.displayName || x.name : "", ba = Pa ? K(Pa) : "";
291
+ var Pa = x ? x.displayName || x.name : "", ba = Pa ? q(Pa) : "";
292
292
  return typeof x == "function" && le.set(x, ba), ba;
293
293
  }
294
294
  function pe(x, I, Z) {
@@ -304,12 +304,12 @@ function Yr() {
304
304
  if (typeof x == "function")
305
305
  return Ce(x, ye(x));
306
306
  if (typeof x == "string")
307
- return K(x);
307
+ return q(x);
308
308
  switch (x) {
309
309
  case t:
310
- return K("Suspense");
310
+ return q("Suspense");
311
311
  case i:
312
- return K("SuspenseList");
312
+ return q("SuspenseList");
313
313
  }
314
314
  if (typeof x == "object")
315
315
  switch (x.$$typeof) {
@@ -842,7 +842,7 @@ function ol() {
842
842
  (function(a, r) {
843
843
  e.exports = r();
844
844
  })(ll, (function() {
845
- var a = 1e3, r = 6e4, p = 36e5, g = "millisecond", U = "second", d = "minute", l = "hour", t = "day", i = "week", o = "month", s = "quarter", u = "year", m = "date", _ = "Invalid Date", c = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, f = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(w) {
845
+ var a = 1e3, r = 6e4, p = 36e5, g = "millisecond", U = "second", d = "minute", l = "hour", t = "day", i = "week", o = "month", s = "quarter", u = "year", m = "date", _ = "Invalid Date", c = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, f = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(w) {
846
846
  var R = ["th", "st", "nd", "rd"], G = w % 100;
847
847
  return "[" + w + (R[(G - 20) % 10] || R[G] || R[0]) + "]";
848
848
  } }, b = function(w, R, G) {
@@ -932,15 +932,15 @@ function ol() {
932
932
  return W ? be : be.endOf(t);
933
933
  }, T = function(te, le) {
934
934
  return D.w(O.toDate()[te].apply(O.toDate("s"), (W ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(le)), O);
935
- }, N = this.$W, L = this.$M, q = this.$D, J = "set" + (this.$u ? "UTC" : "");
935
+ }, N = this.$W, L = this.$M, K = this.$D, J = "set" + (this.$u ? "UTC" : "");
936
936
  switch (z) {
937
937
  case u:
938
938
  return W ? h(1, 0) : h(31, 11);
939
939
  case o:
940
940
  return W ? h(1, L) : h(0, L + 1);
941
941
  case i:
942
- var $ = this.$locale().weekStart || 0, K = (N < $ ? N + 7 : N) - $;
943
- return h(W ? q - K : q + (6 - K), L);
942
+ var $ = this.$locale().weekStart || 0, q = (N < $ ? N + 7 : N) - $;
943
+ return h(W ? K - q : K + (6 - q), L);
944
944
  case t:
945
945
  case m:
946
946
  return T(J + "Hours", 0);
@@ -970,8 +970,8 @@ function ol() {
970
970
  var O, W = this;
971
971
  G = Number(G);
972
972
  var z = D.p(B), h = function(L) {
973
- var q = k(W);
974
- return D.w(q.date(q.date() + Math.round(L * G)), W);
973
+ var K = k(W);
974
+ return D.w(K.date(K.date() + Math.round(L * G)), W);
975
975
  };
976
976
  if (z === o) return this.set(o, this.$M + G);
977
977
  if (z === u) return this.set(u, this.$y + G);
@@ -984,9 +984,9 @@ function ol() {
984
984
  }, R.format = function(G) {
985
985
  var B = this, O = this.$locale();
986
986
  if (!this.isValid()) return O.invalidDate || _;
987
- var W = G || "YYYY-MM-DDTHH:mm:ssZ", z = D.z(this), h = this.$H, T = this.$m, N = this.$M, L = O.weekdays, q = O.months, J = O.meridiem, $ = function(le, be, Ce, pe) {
987
+ var W = G || "YYYY-MM-DDTHH:mm:ssZ", z = D.z(this), h = this.$H, T = this.$m, N = this.$M, L = O.weekdays, K = O.months, J = O.meridiem, $ = function(le, be, Ce, pe) {
988
988
  return le && (le[be] || le(B, W)) || Ce[be].slice(0, pe);
989
- }, K = function(le) {
989
+ }, q = function(le) {
990
990
  return D.s(h % 12 || 12, le, "0");
991
991
  }, te = J || function(le, be, Ce) {
992
992
  var pe = le < 12 ? "AM" : "PM";
@@ -1004,9 +1004,9 @@ function ol() {
1004
1004
  case "MM":
1005
1005
  return D.s(N + 1, 2, "0");
1006
1006
  case "MMM":
1007
- return $(O.monthsShort, N, q, 3);
1007
+ return $(O.monthsShort, N, K, 3);
1008
1008
  case "MMMM":
1009
- return $(q, N);
1009
+ return $(K, N);
1010
1010
  case "D":
1011
1011
  return B.$D;
1012
1012
  case "DD":
@@ -1024,9 +1024,9 @@ function ol() {
1024
1024
  case "HH":
1025
1025
  return D.s(h, 2, "0");
1026
1026
  case "h":
1027
- return K(1);
1027
+ return q(1);
1028
1028
  case "hh":
1029
- return K(2);
1029
+ return q(2);
1030
1030
  case "a":
1031
1031
  return te(h, T, !0);
1032
1032
  case "A":
@@ -1050,18 +1050,18 @@ function ol() {
1050
1050
  }, R.utcOffset = function() {
1051
1051
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
1052
1052
  }, R.diff = function(G, B, O) {
1053
- var W, z = this, h = D.p(B), T = k(G), N = (T.utcOffset() - this.utcOffset()) * r, L = this - T, q = function() {
1053
+ var W, z = this, h = D.p(B), T = k(G), N = (T.utcOffset() - this.utcOffset()) * r, L = this - T, K = function() {
1054
1054
  return D.m(z, T);
1055
1055
  };
1056
1056
  switch (h) {
1057
1057
  case u:
1058
- W = q() / 12;
1058
+ W = K() / 12;
1059
1059
  break;
1060
1060
  case o:
1061
- W = q();
1061
+ W = K();
1062
1062
  break;
1063
1063
  case s:
1064
- W = q() / 3;
1064
+ W = K() / 3;
1065
1065
  break;
1066
1066
  case i:
1067
1067
  W = (L - N) / 6048e5;
@@ -2432,7 +2432,7 @@ function tr() {
2432
2432
  ]);
2433
2433
  },
2434
2434
  _doProcessBlock: function(m, _) {
2435
- for (var c = this._hash.words, y = c[0], f = c[1], b = c[2], C = c[3], v = c[4], S = c[5], E = c[6], M = c[7], A = y.high, k = y.low, D = f.high, F = f.low, P = b.high, w = b.low, R = C.high, G = C.low, B = v.high, O = v.low, W = S.high, z = S.low, h = E.high, T = E.low, N = M.high, L = M.low, q = A, J = k, $ = D, K = F, te = P, le = w, be = R, Ce = G, pe = B, ye = O, ce = W, _e = z, we = h, de = T, xe = N, aa = L, Fe = 0; Fe < 80; Fe++) {
2435
+ for (var c = this._hash.words, y = c[0], f = c[1], b = c[2], C = c[3], v = c[4], S = c[5], E = c[6], M = c[7], A = y.high, k = y.low, D = f.high, F = f.low, P = b.high, w = b.low, R = C.high, G = C.low, B = v.high, O = v.low, W = S.high, z = S.low, h = E.high, T = E.low, N = M.high, L = M.low, K = A, J = k, $ = D, q = F, te = P, le = w, be = R, Ce = G, pe = B, ye = O, ce = W, _e = z, we = h, de = T, xe = N, aa = L, Fe = 0; Fe < 80; Fe++) {
2436
2436
  var he, ze, ta = s[Fe];
2437
2437
  if (Fe < 16)
2438
2438
  ze = ta.high = m[_ + Fe * 2] | 0, he = ta.low = m[_ + Fe * 2 + 1] | 0;
@@ -2440,10 +2440,10 @@ function tr() {
2440
2440
  var ia = s[Fe - 15], De = ia.high, Ae = ia.low, je = (De >>> 1 | Ae << 31) ^ (De >>> 8 | Ae << 24) ^ De >>> 7, oa = (Ae >>> 1 | De << 31) ^ (Ae >>> 8 | De << 24) ^ (Ae >>> 7 | De << 25), ga = s[Fe - 2], Je = ga.high, Ye = ga.low, Va = (Je >>> 19 | Ye << 13) ^ (Je << 3 | Ye >>> 29) ^ Je >>> 6, Ea = (Ye >>> 19 | Je << 13) ^ (Ye << 3 | Je >>> 29) ^ (Ye >>> 6 | Je << 26), Na = s[Fe - 7], Ja = Na.high, Za = Na.low, da = s[Fe - 16], ya = da.high, qe = da.low;
2441
2441
  he = oa + Za, ze = je + Ja + (he >>> 0 < oa >>> 0 ? 1 : 0), he = he + Ea, ze = ze + Va + (he >>> 0 < Ea >>> 0 ? 1 : 0), he = he + qe, ze = ze + ya + (he >>> 0 < qe >>> 0 ? 1 : 0), ta.high = ze, ta.low = he;
2442
2442
  }
2443
- var ca = pe & ce ^ ~pe & we, fa = ye & _e ^ ~ye & de, La = q & $ ^ q & te ^ $ & te, Ga = J & K ^ J & le ^ K & le, Ua = (q >>> 28 | J << 4) ^ (q << 30 | J >>> 2) ^ (q << 25 | J >>> 7), Ma = (J >>> 28 | q << 4) ^ (J << 30 | q >>> 2) ^ (J << 25 | q >>> 7), Ra = (pe >>> 14 | ye << 18) ^ (pe >>> 18 | ye << 14) ^ (pe << 23 | ye >>> 9), Ee = (ye >>> 14 | pe << 18) ^ (ye >>> 18 | pe << 14) ^ (ye << 23 | pe >>> 9), V = o[Fe], Ne = V.high, na = V.low, Oe = aa + Ee, ra = xe + Ra + (Oe >>> 0 < aa >>> 0 ? 1 : 0), Oe = Oe + fa, ra = ra + ca + (Oe >>> 0 < fa >>> 0 ? 1 : 0), Oe = Oe + na, ra = ra + Ne + (Oe >>> 0 < na >>> 0 ? 1 : 0), Oe = Oe + he, ra = ra + ze + (Oe >>> 0 < he >>> 0 ? 1 : 0), it = Ma + Ga, ai = Ua + La + (it >>> 0 < Ma >>> 0 ? 1 : 0);
2444
- xe = we, aa = de, we = ce, de = _e, ce = pe, _e = ye, ye = Ce + Oe | 0, pe = be + ra + (ye >>> 0 < Ce >>> 0 ? 1 : 0) | 0, be = te, Ce = le, te = $, le = K, $ = q, K = J, J = Oe + it | 0, q = ra + ai + (J >>> 0 < Oe >>> 0 ? 1 : 0) | 0;
2443
+ var ca = pe & ce ^ ~pe & we, fa = ye & _e ^ ~ye & de, La = K & $ ^ K & te ^ $ & te, Ga = J & q ^ J & le ^ q & le, Ua = (K >>> 28 | J << 4) ^ (K << 30 | J >>> 2) ^ (K << 25 | J >>> 7), Ma = (J >>> 28 | K << 4) ^ (J << 30 | K >>> 2) ^ (J << 25 | K >>> 7), Ra = (pe >>> 14 | ye << 18) ^ (pe >>> 18 | ye << 14) ^ (pe << 23 | ye >>> 9), Ee = (ye >>> 14 | pe << 18) ^ (ye >>> 18 | pe << 14) ^ (ye << 23 | pe >>> 9), V = o[Fe], Ne = V.high, na = V.low, Oe = aa + Ee, ra = xe + Ra + (Oe >>> 0 < aa >>> 0 ? 1 : 0), Oe = Oe + fa, ra = ra + ca + (Oe >>> 0 < fa >>> 0 ? 1 : 0), Oe = Oe + na, ra = ra + Ne + (Oe >>> 0 < na >>> 0 ? 1 : 0), Oe = Oe + he, ra = ra + ze + (Oe >>> 0 < he >>> 0 ? 1 : 0), it = Ma + Ga, ai = Ua + La + (it >>> 0 < Ma >>> 0 ? 1 : 0);
2444
+ xe = we, aa = de, we = ce, de = _e, ce = pe, _e = ye, ye = Ce + Oe | 0, pe = be + ra + (ye >>> 0 < Ce >>> 0 ? 1 : 0) | 0, be = te, Ce = le, te = $, le = q, $ = K, q = J, J = Oe + it | 0, K = ra + ai + (J >>> 0 < Oe >>> 0 ? 1 : 0) | 0;
2445
2445
  }
2446
- k = y.low = k + J, y.high = A + q + (k >>> 0 < J >>> 0 ? 1 : 0), F = f.low = F + K, f.high = D + $ + (F >>> 0 < K >>> 0 ? 1 : 0), w = b.low = w + le, b.high = P + te + (w >>> 0 < le >>> 0 ? 1 : 0), G = C.low = G + Ce, C.high = R + be + (G >>> 0 < Ce >>> 0 ? 1 : 0), O = v.low = O + ye, v.high = B + pe + (O >>> 0 < ye >>> 0 ? 1 : 0), z = S.low = z + _e, S.high = W + ce + (z >>> 0 < _e >>> 0 ? 1 : 0), T = E.low = T + de, E.high = h + we + (T >>> 0 < de >>> 0 ? 1 : 0), L = M.low = L + aa, M.high = N + xe + (L >>> 0 < aa >>> 0 ? 1 : 0);
2446
+ k = y.low = k + J, y.high = A + K + (k >>> 0 < J >>> 0 ? 1 : 0), F = f.low = F + q, f.high = D + $ + (F >>> 0 < q >>> 0 ? 1 : 0), w = b.low = w + le, b.high = P + te + (w >>> 0 < le >>> 0 ? 1 : 0), G = C.low = G + Ce, C.high = R + be + (G >>> 0 < Ce >>> 0 ? 1 : 0), O = v.low = O + ye, v.high = B + pe + (O >>> 0 < ye >>> 0 ? 1 : 0), z = S.low = z + _e, S.high = W + ce + (z >>> 0 < _e >>> 0 ? 1 : 0), T = E.low = T + de, E.high = h + we + (T >>> 0 < de >>> 0 ? 1 : 0), L = M.low = L + aa, M.high = N + xe + (L >>> 0 < aa >>> 0 ? 1 : 0);
2447
2447
  },
2448
2448
  _doFinalize: function() {
2449
2449
  var m = this._data, _ = m.words, c = this._nDataBytes * 8, y = m.sigBytes * 8;
@@ -2573,11 +2573,11 @@ function Gl() {
2573
2573
  N.high = L.high, N.low = L.low;
2574
2574
  for (var A = 0; A < 5; A++)
2575
2575
  for (var F = 0; F < 5; F++) {
2576
- var O = A + 5 * F, E = f[O], q = m[O], J = m[(A + 1) % 5 + 5 * F], $ = m[(A + 2) % 5 + 5 * F];
2577
- E.high = q.high ^ ~J.high & $.high, E.low = q.low ^ ~J.low & $.low;
2576
+ var O = A + 5 * F, E = f[O], K = m[O], J = m[(A + 1) % 5 + 5 * F], $ = m[(A + 2) % 5 + 5 * F];
2577
+ E.high = K.high ^ ~J.high & $.high, E.low = K.low ^ ~J.low & $.low;
2578
2578
  }
2579
- var E = f[0], K = u[M];
2580
- E.high ^= K.high, E.low ^= K.low;
2579
+ var E = f[0], q = u[M];
2580
+ E.high ^= q.high, E.low ^= q.low;
2581
2581
  }
2582
2582
  },
2583
2583
  _doFinalize: function() {
@@ -2942,11 +2942,11 @@ function Rl() {
2942
2942
  var A = E + M, k = S[A];
2943
2943
  S[A] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360;
2944
2944
  }
2945
- var D = this._hash.words, F = u.words, P = m.words, w = t.words, R = i.words, G = o.words, B = s.words, O, W, z, h, T, N, L, q, J, $;
2946
- N = O = D[0], L = W = D[1], q = z = D[2], J = h = D[3], $ = T = D[4];
2947
- for (var K, M = 0; M < 80; M += 1)
2948
- K = O + S[E + w[M]] | 0, M < 16 ? K += c(W, z, h) + F[0] : M < 32 ? K += y(W, z, h) + F[1] : M < 48 ? K += f(W, z, h) + F[2] : M < 64 ? K += b(W, z, h) + F[3] : K += C(W, z, h) + F[4], K = K | 0, K = v(K, G[M]), K = K + T | 0, O = T, T = h, h = v(z, 10), z = W, W = K, K = N + S[E + R[M]] | 0, M < 16 ? K += C(L, q, J) + P[0] : M < 32 ? K += b(L, q, J) + P[1] : M < 48 ? K += f(L, q, J) + P[2] : M < 64 ? K += y(L, q, J) + P[3] : K += c(L, q, J) + P[4], K = K | 0, K = v(K, B[M]), K = K + $ | 0, N = $, $ = J, J = v(q, 10), q = L, L = K;
2949
- K = D[1] + z + J | 0, D[1] = D[2] + h + $ | 0, D[2] = D[3] + T + N | 0, D[3] = D[4] + O + L | 0, D[4] = D[0] + W + q | 0, D[0] = K;
2945
+ var D = this._hash.words, F = u.words, P = m.words, w = t.words, R = i.words, G = o.words, B = s.words, O, W, z, h, T, N, L, K, J, $;
2946
+ N = O = D[0], L = W = D[1], K = z = D[2], J = h = D[3], $ = T = D[4];
2947
+ for (var q, M = 0; M < 80; M += 1)
2948
+ q = O + S[E + w[M]] | 0, M < 16 ? q += c(W, z, h) + F[0] : M < 32 ? q += y(W, z, h) + F[1] : M < 48 ? q += f(W, z, h) + F[2] : M < 64 ? q += b(W, z, h) + F[3] : q += C(W, z, h) + F[4], q = q | 0, q = v(q, G[M]), q = q + T | 0, O = T, T = h, h = v(z, 10), z = W, W = q, q = N + S[E + R[M]] | 0, M < 16 ? q += C(L, K, J) + P[0] : M < 32 ? q += b(L, K, J) + P[1] : M < 48 ? q += f(L, K, J) + P[2] : M < 64 ? q += y(L, K, J) + P[3] : q += c(L, K, J) + P[4], q = q | 0, q = v(q, B[M]), q = q + $ | 0, N = $, $ = J, J = v(K, 10), K = L, L = q;
2949
+ q = D[1] + z + J | 0, D[1] = D[2] + h + $ | 0, D[2] = D[3] + T + N | 0, D[3] = D[4] + O + L | 0, D[4] = D[0] + W + K | 0, D[0] = q;
2950
2950
  },
2951
2951
  _doFinalize: function() {
2952
2952
  var S = this._data, E = S.words, M = this._nDataBytes * 8, A = S.sigBytes * 8;
@@ -6139,23 +6139,23 @@ const Ca = /* @__PURE__ */ yi($t), wa = (e) => {
6139
6139
  password: T,
6140
6140
  unlimitCode: N,
6141
6141
  email: L,
6142
- inviteCode: q,
6142
+ inviteCode: K,
6143
6143
  currencyCode: J,
6144
6144
  validCode: $
6145
6145
  }) => {
6146
- const K = {
6146
+ const q = {
6147
6147
  memId: h,
6148
6148
  passwd: wa(T),
6149
6149
  email: L,
6150
6150
  currency_code: J,
6151
6151
  code: $
6152
6152
  };
6153
- return N && (K.unlimit_code = N), q && (K.invite = q), e.post("/signUp", K);
6153
+ return N && (q.unlimit_code = N), K && (q.invite = K), e.post("/signUp", q);
6154
6154
  },
6155
6155
  [e]
6156
6156
  ), s = H(
6157
6157
  async (h) => {
6158
- const { name: T, birthday: N, email: L, mobile: q } = h;
6158
+ const { name: T, birthday: N, email: L, mobile: K } = h;
6159
6159
  return await e.post("/editMembetInfo", {
6160
6160
  name: T,
6161
6161
  // 暱稱
@@ -6163,7 +6163,7 @@ const Ca = /* @__PURE__ */ yi($t), wa = (e) => {
6163
6163
  // 生日 (格式:YYYY-MM-DD)
6164
6164
  email: L,
6165
6165
  // 電子郵件
6166
- mobile: q
6166
+ mobile: K
6167
6167
  // 手機號碼
6168
6168
  });
6169
6169
  },
@@ -6226,12 +6226,12 @@ const Ca = /* @__PURE__ */ yi($t), wa = (e) => {
6226
6226
  [e]
6227
6227
  ), b = H(async () => await e.get("/member/checkRestrictedWagering"), [e]), C = H(
6228
6228
  async (h) => {
6229
- const { memId: T, point: N, currency: L, password: q } = h;
6229
+ const { memId: T, point: N, currency: L, password: K } = h;
6230
6230
  return await e.post("/pointsTransaction", {
6231
6231
  to_memId: T,
6232
6232
  point: N,
6233
6233
  currency: L,
6234
- password: wa(q)
6234
+ password: wa(K)
6235
6235
  });
6236
6236
  },
6237
6237
  [e]
@@ -6241,10 +6241,10 @@ const Ca = /* @__PURE__ */ yi($t), wa = (e) => {
6241
6241
  bank_name: T,
6242
6242
  bank_account_name: N,
6243
6243
  bank_branch_name: L,
6244
- bank_account: q,
6244
+ bank_account: K,
6245
6245
  bank_card_number: J,
6246
6246
  id_card: $,
6247
- id_pic: K
6247
+ id_pic: q
6248
6248
  } = h;
6249
6249
  return await n.post("/bindBankAccount", h);
6250
6250
  },
@@ -6259,12 +6259,12 @@ const Ca = /* @__PURE__ */ yi($t), wa = (e) => {
6259
6259
  [e]
6260
6260
  ), E = H(
6261
6261
  async (h) => {
6262
- const { trans_code: T, line_id: N, invite: L, line_name: q } = h;
6262
+ const { trans_code: T, line_id: N, invite: L, line_name: K } = h;
6263
6263
  return await e.post("/goLine", {
6264
6264
  trans_code: T,
6265
6265
  line_id: N,
6266
6266
  invite: L,
6267
- line_name: q
6267
+ line_name: K
6268
6268
  });
6269
6269
  },
6270
6270
  [e]
@@ -6286,11 +6286,11 @@ const Ca = /* @__PURE__ */ yi($t), wa = (e) => {
6286
6286
  [e]
6287
6287
  ), k = H(
6288
6288
  async (h) => {
6289
- const { member_info_uid: T, point: N, currency: L, withdraw_password: q } = h;
6289
+ const { member_info_uid: T, point: N, currency: L, withdraw_password: K } = h;
6290
6290
  return await e.post(`/member/transfer/${T}`, {
6291
6291
  point: N,
6292
6292
  currency: L,
6293
- withdraw_password: q
6293
+ withdraw_password: K
6294
6294
  });
6295
6295
  },
6296
6296
  [e]
@@ -6315,11 +6315,13 @@ const Ca = /* @__PURE__ */ yi($t), wa = (e) => {
6315
6315
  [e]
6316
6316
  ), P = H(
6317
6317
  async (h) => {
6318
- const { mobile: T, verifyCode: N, invite: L } = h;
6318
+ const { mobile: T, verifyCode: N, invite: L, invoiceType: K, invoiceCode: J } = h;
6319
6319
  return await e.post("/goMobileByInvite", {
6320
6320
  mobile: T,
6321
6321
  verification_code: N,
6322
- invite: L
6322
+ invite: L,
6323
+ invoice_type: K,
6324
+ invoice_code: J
6323
6325
  });
6324
6326
  },
6325
6327
  [e]
@@ -6555,7 +6557,7 @@ function ot(e) {
6555
6557
  for (var n = 1; n < arguments.length; n++) {
6556
6558
  var a = arguments[n];
6557
6559
  for (var r in a)
6558
- e[r] = a[r];
6560
+ r !== "__proto__" && (e[r] = a[r]);
6559
6561
  }
6560
6562
  return e;
6561
6563
  }
@@ -6586,7 +6588,7 @@ function ui(e, n) {
6586
6588
  var l = g[d].split("="), t = l.slice(1).join("=");
6587
6589
  try {
6588
6590
  var i = decodeURIComponent(l[0]);
6589
- if (U[i] = e.read(t, i), p === i)
6591
+ if (i in U || (U[i] = e.read(t, i)), p === i)
6590
6592
  break;
6591
6593
  } catch {
6592
6594
  }
@@ -7229,7 +7231,7 @@ function xi() {
7229
7231
  if (s !== null && m === !0) {
7230
7232
  var W, z = !1, h = !0, T = function() {
7231
7233
  return n(void 0, void 0, void 0, function() {
7232
- var N, L, q;
7234
+ var N, L, K;
7233
7235
  return a(this, function(J) {
7234
7236
  switch (J.label) {
7235
7237
  case 0:
@@ -7246,14 +7248,14 @@ function xi() {
7246
7248
  z || (0, g.flushSync)(function() {
7247
7249
  return y($);
7248
7250
  });
7249
- }, q = function($) {
7251
+ }, K = function($) {
7250
7252
  z || (0, g.flushSync)(function() {
7251
- return C(function(K) {
7253
+ return C(function(q) {
7252
7254
  var te;
7253
- return e(e({}, K), S.current && (te = {}, te[S.current] = $, te));
7255
+ return e(e({}, q), S.current && (te = {}, te[S.current] = $, te));
7254
7256
  });
7255
7257
  });
7256
- }, h && (W = (0, d.createOrJoinSocket)(E, S.current, q, P, L, M, A, k, G)), [
7258
+ }, h && (W = (0, d.createOrJoinSocket)(E, S.current, K, P, L, M, A, k, G)), [
7257
7259
  2
7258
7260
  /*return*/
7259
7261
  ]);
@@ -7895,14 +7897,14 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7895
7897
  onTransferInGame: T,
7896
7898
  onCashRegisterLimit: N,
7897
7899
  onLineLogin: L
7898
- } = y.current, q = Q(P, "type", ""), J = {
7900
+ } = y.current, K = Q(P, "type", ""), J = {
7899
7901
  memberInfoUid: Q(P, "member_info_uid", null),
7900
7902
  data: Q(P, "data", null),
7901
7903
  memo: Q(P, "memo", null),
7902
7904
  amount: Q(P, "amount", null),
7903
7905
  limitAmount: Q(P, "limit_amount", null)
7904
- }, $ = Number(J.memberInfoUid) === f, K = J.data, te = J.amount, le = J.limitAmount, be = C.get("mac") || pi.get("machine_mac_address") || "", Ce = Q(P, "data.line_id", null), pe = Q(P, "data.line_name", null), ye = Q(P, "member_info_uid", null);
7905
- switch (q) {
7906
+ }, $ = Number(J.memberInfoUid) === f, q = J.data, te = J.amount, le = J.limitAmount, be = C.get("mac") || pi.get("machine_mac_address") || "", Ce = Q(P, "data.line_id", null), pe = Q(P, "data.line_name", null), ye = Q(P, "member_info_uid", null);
7907
+ switch (K) {
7906
7908
  case We.DEPOSIT:
7907
7909
  $ && (M(), G?.(J));
7908
7910
  break;
@@ -7912,7 +7914,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7912
7914
  case We.ERROR:
7913
7915
  if ($) {
7914
7916
  const ce = Q(P, "open_game_modal", 0) === 1;
7915
- w(K, {
7917
+ w(q, {
7916
7918
  notificationType: ce ? "gamingNotice" : void 0
7917
7919
  }), O?.(J);
7918
7920
  }
@@ -7923,7 +7925,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7923
7925
  }), W?.(J));
7924
7926
  break;
7925
7927
  case We.MAINTAIN_NOTICE:
7926
- w(K, {
7928
+ w(q, {
7927
7929
  notificationType: "maintainNotice"
7928
7930
  }), z?.(J);
7929
7931
  break;
@@ -7942,7 +7944,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7942
7944
  }, 5e3));
7943
7945
  return;
7944
7946
  }
7945
- w(K), h?.(J), setTimeout(() => {
7947
+ w(q), h?.(J), setTimeout(() => {
7946
7948
  window.location.reload();
7947
7949
  }, 5e4);
7948
7950
  }
@@ -7978,7 +7980,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7978
7980
  }
7979
7981
  break;
7980
7982
  case We.CASH_REGISTER_LIMIT:
7981
- w(K, {
7983
+ w(q, {
7982
7984
  notificationType: "cashRegisterLimit",
7983
7985
  amount: te,
7984
7986
  limitAmount: le
@@ -7990,7 +7992,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
7990
7992
  }), W?.(J));
7991
7993
  break;
7992
7994
  case We.GAME_MAINTAIN:
7993
- w(K, {
7995
+ w(q, {
7994
7996
  notificationType: "gameMaintain"
7995
7997
  });
7996
7998
  break;
@@ -8004,7 +8006,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
8004
8006
  $ && (i.invalidateQueries({ queryKey: ["getEventWalletList"] }), i.invalidateQueries({ queryKey: ["evaluateEventWallet"] }));
8005
8007
  return;
8006
8008
  default:
8007
- console.warn("Unknown socket type:", q);
8009
+ console.warn("Unknown socket type:", K);
8008
8010
  break;
8009
8011
  }
8010
8012
  }, [
@@ -8800,11 +8802,11 @@ function Us({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8800
8802
  G.current && (pe.current(null, Ee), T.current && T.current.active()), je();
8801
8803
  }
8802
8804
  }, [e, n, a, y, E]);
8803
- let q = ae(f);
8805
+ let K = ae(f);
8804
8806
  ue(() => {
8805
- q.current = f;
8807
+ K.current = f;
8806
8808
  }, [f]);
8807
- let J = ae(U), $ = ae(r), K = ae([...(/* @__PURE__ */ new Set([...p, ...U])).values()]), te = ae(E);
8809
+ let J = ae(U), $ = ae(r), q = ae([...(/* @__PURE__ */ new Set([...p, ...U])).values()]), te = ae(E);
8808
8810
  ue(() => {
8809
8811
  te.current = E, !W.current && (E ? Je() : y || je());
8810
8812
  }, [E]);
@@ -8848,7 +8850,7 @@ function Us({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8848
8850
  }, aa = (V) => {
8849
8851
  !B.current && !G.current && (be.current(V, Ee), le.current({ type: "active", prompted: !0 }, Ee)), R.current = 0, w.current = ke(), B.current = !0, xe(L.current, !1);
8850
8852
  }, Fe = () => {
8851
- de(), G.current || (Ce.current(null, Ee), le.current({ type: "idle" }, Ee)), G.current = !0, k.current = ke(), q.current ? Ae() : B.current && (w.current = 0, B.current = !1);
8853
+ de(), G.current || (Ce.current(null, Ee), le.current({ type: "idle" }, Ee)), G.current = !0, k.current = ke(), K.current ? Ae() : B.current && (w.current = 0, B.current = !1);
8852
8854
  }, he = (V) => {
8853
8855
  de(), (G.current || B.current) && (pe.current(V, Ee), le.current({ type: "active", prompted: !1 }, Ee)), B.current = !1, w.current = 0, G.current = !1, F.current += ke() - k.current, P.current += ke() - k.current, De(), xe();
8854
8856
  }, ze = (V) => {
@@ -8881,11 +8883,11 @@ function Us({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8881
8883
  V && Ae(), _ > 0 ? ia.current = mi(ta, _) : ia.current = ta, V && De();
8882
8884
  }, [_, m, u, ye, b, v]);
8883
8885
  let De = () => {
8884
- pa && $.current && (z.current || (K.current.forEach((V) => {
8886
+ pa && $.current && (z.current || (q.current.forEach((V) => {
8885
8887
  $.current.addEventListener(V, ia.current, { capture: !0, passive: !0 });
8886
8888
  }), z.current = !0));
8887
8889
  }, Ae = (V = !1) => {
8888
- pa && $.current && (z.current || V) && (K.current.forEach((Ne) => {
8890
+ pa && $.current && (z.current || V) && (q.current.forEach((Ne) => {
8889
8891
  $.current.removeEventListener(Ne, ia.current, { capture: !0 });
8890
8892
  }), z.current = !1);
8891
8893
  }, je = H((V) => te.current ? !1 : (de(), De(), G.current = !1, B.current = !1, O.current = !1, R.current = 0, w.current = 0, T.current && !V && T.current.start(), xe(), !0), [h, G, te, N, T]), oa = H((V) => te.current ? !1 : (de(), De(), A.current = ke(), F.current += ke() - k.current, P.current += ke() - k.current, F.current = 0, G.current = !1, B.current = !1, O.current = !1, R.current = 0, w.current = 0, T.current && !V && T.current.reset(), y || xe(), !0), [h, G, N, y, te, T]), ga = H((V) => te.current ? !1 : (de(), De(), (G.current || B.current) && he(), G.current = !1, B.current = !1, O.current = !1, R.current = 0, w.current = 0, A.current = ke(), T.current && !V && T.current.activate(), xe(), !0), [h, G, B, te, N, T]), Je = H((V = !1) => te.current || O.current ? !1 : (R.current = ya(), O.current = !0, Ae(), de(), T.current && !V && T.current.pause(), !0), [h, te, T]), Ye = H((V = !1) => te.current || !O.current ? !1 : (O.current = !1, B.current || De(), G.current || xe(R.current), w.current && (w.current = ke()), T.current && !V && T.current.resume(), !0), [h, N, te, R, T]), Va = H((V, Ne) => (T.current ? (Ne && ce.current(V, Ee), T.current.message(V)) : Ne && ce.current(V, Ee), !0), [s]), Ea = H(() => G.current, [G]), Na = H(() => B.current, [B]), Ja = H(() => T.current ? T.current.isLeader : null, [T]), Za = H(() => T.current ? T.current.isLastActive : null, [T]), da = H(() => T.current ? T.current.token : null, [T]), ya = H(() => {
@@ -8923,7 +8925,7 @@ function Us({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8923
8925
  }, [y, c, E, W]), ue(() => {
8924
8926
  if (!W.current) {
8925
8927
  let V = [...(/* @__PURE__ */ new Set([...p, ...U])).values()];
8926
- if (Ae(), K.current = V, $.current = r, J.current = U, y || E) return;
8928
+ if (Ae(), q.current = V, $.current = r, J.current = U, y || E) return;
8927
8929
  c ? je() : De();
8928
8930
  }
8929
8931
  }, [r, JSON.stringify(p), JSON.stringify(U), W, E, y, c]), ue(() => {
@@ -9515,7 +9517,7 @@ const pu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Us({
9515
9517
  eventTransaction: m,
9516
9518
  withdrawTransaction: _
9517
9519
  };
9518
- }, ur = "3.7.8", Rs = ur, Ia = typeof Buffer == "function", Pn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, wn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Ps = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Ya = Array.prototype.slice.call(Ps), mt = ((e) => {
9520
+ }, ur = "3.8.0", Rs = ur, Ia = typeof Buffer == "function", Pn = typeof TextDecoder == "function" ? new TextDecoder("utf-8", { ignoreBOM: !0 }) : void 0, wn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Ps = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Ya = Array.prototype.slice.call(Ps), mt = ((e) => {
9519
9521
  let n = {};
9520
9522
  return e.forEach((a, r) => n[a] = r), n;
9521
9523
  })(Ya), ws = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Pe = String.fromCharCode.bind(String), Fn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), pr = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), gr = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), dr = (e) => {
@@ -37851,15 +37853,7 @@ const vm = {
37851
37853
  return ue(() => {
37852
37854
  if (U.current) return;
37853
37855
  const d = new URLSearchParams(window.location.search), l = d.get("bind_type"), t = d.get("bind_id");
37854
- if (l && t)
37855
- switch (U.current = !0, l) {
37856
- case "line":
37857
- n({ bindType: l, bindId: t });
37858
- break;
37859
- default:
37860
- console.warn(`Unsupported bind type: ${l}`);
37861
- break;
37862
- }
37856
+ l && t && (U.current = !0, l === "line" ? n({ bindType: l, bindId: t }) : console.warn(`Unsupported bind type: ${l}`));
37863
37857
  }, [n]), null;
37864
37858
  };
37865
37859
  export {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@obb871001/api-integration-sdk",
3
3
  "private": false,
4
- "version": "1.0.391",
4
+ "version": "1.0.392",
5
5
  "description": "集成API",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.js",