best-unit 2.0.14 → 2.0.15

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/best-unit.js CHANGED
@@ -114,13 +114,13 @@ function kt(e) {
114
114
  };
115
115
  }
116
116
  function lt(e, t, n, r, o, a, i, s, p, c) {
117
- var f, u, x, m, h, _, b, S, L, T, A, M, R, P, w, F, U, $ = t.type;
117
+ var f, u, x, m, h, _, b, S, L, T, A, M, R, P, w, F, U, W = t.type;
118
118
  if (t.constructor != null) return null;
119
119
  128 & n.__u && (p = !!(32 & n.__u), a = [s = t.__e = n.__e]), (f = I.__b) && f(t);
120
- e: if (typeof $ == "function") try {
121
- if (S = t.props, L = "prototype" in $ && $.prototype.render, T = (f = $.contextType) && r[f.__c], A = f ? T ? T.props.value : f.__ : r, n.__c ? b = (u = t.__c = n.__c).__ = u.__E : (L ? t.__c = u = new $(S, A) : (t.__c = u = new Ae(S, A), u.constructor = $, u.render = rr), T && T.sub(u), u.props = S, u.state || (u.state = {}), u.context = A, u.__n = r, x = u.__d = !0, u.__h = [], u._sb = []), L && u.__s == null && (u.__s = u.state), L && $.getDerivedStateFromProps != null && (u.__s == u.state && (u.__s = K({}, u.__s)), K(u.__s, $.getDerivedStateFromProps(S, u.__s))), m = u.props, h = u.state, u.__v = t, x) L && $.getDerivedStateFromProps == null && u.componentWillMount != null && u.componentWillMount(), L && u.componentDidMount != null && u.__h.push(u.componentDidMount);
120
+ e: if (typeof W == "function") try {
121
+ if (S = t.props, L = "prototype" in W && W.prototype.render, T = (f = W.contextType) && r[f.__c], A = f ? T ? T.props.value : f.__ : r, n.__c ? b = (u = t.__c = n.__c).__ = u.__E : (L ? t.__c = u = new W(S, A) : (t.__c = u = new Ae(S, A), u.constructor = W, u.render = rr), T && T.sub(u), u.props = S, u.state || (u.state = {}), u.context = A, u.__n = r, x = u.__d = !0, u.__h = [], u._sb = []), L && u.__s == null && (u.__s = u.state), L && W.getDerivedStateFromProps != null && (u.__s == u.state && (u.__s = K({}, u.__s)), K(u.__s, W.getDerivedStateFromProps(S, u.__s))), m = u.props, h = u.state, u.__v = t, x) L && W.getDerivedStateFromProps == null && u.componentWillMount != null && u.componentWillMount(), L && u.componentDidMount != null && u.__h.push(u.componentDidMount);
122
122
  else {
123
- if (L && $.getDerivedStateFromProps == null && S !== m && u.componentWillReceiveProps != null && u.componentWillReceiveProps(S, A), !u.__e && u.shouldComponentUpdate != null && u.shouldComponentUpdate(S, u.__s, A) === !1 || t.__v == n.__v) {
123
+ if (L && W.getDerivedStateFromProps == null && S !== m && u.componentWillReceiveProps != null && u.componentWillReceiveProps(S, A), !u.__e && u.shouldComponentUpdate != null && u.shouldComponentUpdate(S, u.__s, A) === !1 || t.__v == n.__v) {
124
124
  for (t.__v != n.__v && (u.props = S, u.state = u.__s, u.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.some(function(V) {
125
125
  V && (V.__ = t);
126
126
  }), M = 0; M < u._sb.length; M++) u.__h.push(u._sb[M]);
@@ -398,12 +398,12 @@ function ur(e) {
398
398
  let t;
399
399
  return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && bn(e.buffer), t;
400
400
  }
401
- const fr = Ue("string"), j = Ue("function"), yn = Ue("number"), $e = (e) => e !== null && typeof e == "object", pr = (e) => e === !0 || e === !1, Ee = (e) => {
401
+ const fr = Ue("string"), j = Ue("function"), yn = Ue("number"), We = (e) => e !== null && typeof e == "object", pr = (e) => e === !0 || e === !1, Ee = (e) => {
402
402
  if (Ne(e) !== "object")
403
403
  return !1;
404
404
  const t = ut(e);
405
405
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(gn in e) && !(Pe in e);
406
- }, hr = Y("Date"), mr = Y("File"), gr = Y("Blob"), br = Y("FileList"), yr = (e) => $e(e) && j(e.pipe), xr = (e) => {
406
+ }, hr = Y("Date"), mr = Y("File"), gr = Y("Blob"), br = Y("FileList"), yr = (e) => We(e) && j(e.pipe), xr = (e) => {
407
407
  let t;
408
408
  return e && (typeof FormData == "function" && e instanceof FormData || j(e.append) && ((t = Ne(e)) === "formdata" || // detect form-data instance
409
409
  t === "object" && j(e.toString) && e.toString() === "[object FormData]"));
@@ -517,13 +517,13 @@ const Er = (e, t, n, { allOwnKeys: r } = {}) => (xe(t, (o, a) => {
517
517
  };
518
518
  return le(e) ? r(e) : r(String(e).split(t)), n;
519
519
  }, Ur = () => {
520
- }, $r = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
521
- function Wr(e) {
520
+ }, Wr = (e, t) => e != null && Number.isFinite(e = +e) ? e : t;
521
+ function $r(e) {
522
522
  return !!(e && j(e.append) && e[gn] === "FormData" && e[Pe]);
523
523
  }
524
524
  const Hr = (e) => {
525
525
  const t = new Array(10), n = (r, o) => {
526
- if ($e(r)) {
526
+ if (We(r)) {
527
527
  if (t.indexOf(r) >= 0)
528
528
  return;
529
529
  if (!("toJSON" in r)) {
@@ -538,7 +538,7 @@ const Hr = (e) => {
538
538
  return r;
539
539
  };
540
540
  return n(e, 0);
541
- }, jr = Y("AsyncFunction"), qr = (e) => e && ($e(e) || j(e)) && j(e.then) && j(e.catch), Ln = ((e, t) => e ? setImmediate : t ? ((n, r) => (Q.addEventListener("message", ({ source: o, data: a }) => {
541
+ }, jr = Y("AsyncFunction"), qr = (e) => e && (We(e) || j(e)) && j(e.then) && j(e.catch), Ln = ((e, t) => e ? setImmediate : t ? ((n, r) => (Q.addEventListener("message", ({ source: o, data: a }) => {
542
542
  o === Q && a === n && r.length && r.shift()();
543
543
  }, !1), (o) => {
544
544
  r.push(o), Q.postMessage(n, "*");
@@ -554,7 +554,7 @@ const Hr = (e) => {
554
554
  isString: fr,
555
555
  isNumber: yn,
556
556
  isBoolean: pr,
557
- isObject: $e,
557
+ isObject: We,
558
558
  isPlainObject: Ee,
559
559
  isReadableStream: Sr,
560
560
  isRequest: Lr,
@@ -592,11 +592,11 @@ const Hr = (e) => {
592
592
  toObjectSet: Nr,
593
593
  toCamelCase: zr,
594
594
  noop: Ur,
595
- toFiniteNumber: $r,
595
+ toFiniteNumber: Wr,
596
596
  findKey: xn,
597
597
  global: Q,
598
598
  isContextDefined: _n,
599
- isSpecCompliantForm: Wr,
599
+ isSpecCompliantForm: $r,
600
600
  toJSONObject: Hr,
601
601
  isAsyncFn: jr,
602
602
  isThenable: qr,
@@ -672,7 +672,7 @@ function Gr(e) {
672
672
  const Kr = g.toFlatObject(g, {}, null, function(t) {
673
673
  return /^is[A-Z]/.test(t);
674
674
  });
675
- function We(e, t, n) {
675
+ function $e(e, t, n) {
676
676
  if (!g.isObject(e))
677
677
  throw new TypeError("target must be an object");
678
678
  t = t || new FormData(), n = g.toFlatObject(n, {
@@ -750,7 +750,7 @@ function zt(e) {
750
750
  });
751
751
  }
752
752
  function ft(e, t) {
753
- this._pairs = [], e && We(e, this, t);
753
+ this._pairs = [], e && $e(e, this, t);
754
754
  }
755
755
  const En = ft.prototype;
756
756
  En.append = function(t, n) {
@@ -856,14 +856,14 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", oo
856
856
  hasStandardBrowserWebWorkerEnv: ro,
857
857
  navigator: tt,
858
858
  origin: oo
859
- }, Symbol.toStringTag, { value: "Module" })), W = {
859
+ }, Symbol.toStringTag, { value: "Module" })), $ = {
860
860
  ...io,
861
861
  ...to
862
862
  };
863
863
  function ao(e, t) {
864
- return We(e, new W.classes.URLSearchParams(), Object.assign({
864
+ return $e(e, new $.classes.URLSearchParams(), Object.assign({
865
865
  visitor: function(n, r, o, a) {
866
- return W.isNode && g.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
866
+ return $.isNode && g.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
867
867
  }
868
868
  }, t));
869
869
  }
@@ -923,7 +923,7 @@ const _e = {
923
923
  return ao(t, this.formSerializer).toString();
924
924
  if ((s = g.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
925
925
  const p = this.env && this.env.FormData;
926
- return We(
926
+ return $e(
927
927
  s ? { "files[]": t } : t,
928
928
  p && new p(),
929
929
  this.formSerializer
@@ -957,8 +957,8 @@ const _e = {
957
957
  maxContentLength: -1,
958
958
  maxBodyLength: -1,
959
959
  env: {
960
- FormData: W.classes.FormData,
961
- Blob: W.classes.Blob
960
+ FormData: $.classes.FormData,
961
+ Blob: $.classes.Blob
962
962
  },
963
963
  validateStatus: function(t) {
964
964
  return t >= 200 && t < 300;
@@ -1258,10 +1258,10 @@ const Re = (e, t, n = 3) => {
1258
1258
  total: e,
1259
1259
  loaded: r
1260
1260
  }), t[1]];
1261
- }, Ut = (e) => (...t) => g.asap(() => e(...t)), _o = W.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, W.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
1262
- new URL(W.origin),
1263
- W.navigator && /(msie|trident)/i.test(W.navigator.userAgent)
1264
- ) : () => !0, So = W.hasStandardBrowserEnv ? (
1261
+ }, Ut = (e) => (...t) => g.asap(() => e(...t)), _o = $.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, $.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
1262
+ new URL($.origin),
1263
+ $.navigator && /(msie|trident)/i.test($.navigator.userAgent)
1264
+ ) : () => !0, So = $.hasStandardBrowserEnv ? (
1265
1265
  // Standard browser envs support document.cookie
1266
1266
  {
1267
1267
  write(e, t, n, r, o, a) {
@@ -1298,7 +1298,7 @@ function Rn(e, t, n) {
1298
1298
  let r = !Lo(t);
1299
1299
  return e && (r || n == !1) ? wo(e, t) : t;
1300
1300
  }
1301
- const $t = (e) => e instanceof q ? { ...e } : e;
1301
+ const Wt = (e) => e instanceof q ? { ...e } : e;
1302
1302
  function te(e, t) {
1303
1303
  t = t || {};
1304
1304
  const n = {};
@@ -1356,7 +1356,7 @@ function te(e, t) {
1356
1356
  socketPath: i,
1357
1357
  responseEncoding: i,
1358
1358
  validateStatus: s,
1359
- headers: (c, f, u) => o($t(c), $t(f), u, !0)
1359
+ headers: (c, f, u) => o(Wt(c), Wt(f), u, !0)
1360
1360
  };
1361
1361
  return g.forEach(Object.keys(Object.assign({}, e, t)), function(f) {
1362
1362
  const u = p[f] || o, x = u(e[f], t[f], f);
@@ -1372,14 +1372,14 @@ const Fn = (e) => {
1372
1372
  );
1373
1373
  let p;
1374
1374
  if (g.isFormData(n)) {
1375
- if (W.hasStandardBrowserEnv || W.hasStandardBrowserWebWorkerEnv)
1375
+ if ($.hasStandardBrowserEnv || $.hasStandardBrowserWebWorkerEnv)
1376
1376
  i.setContentType(void 0);
1377
1377
  else if ((p = i.getContentType()) !== !1) {
1378
1378
  const [c, ...f] = p ? p.split(";").map((u) => u.trim()).filter(Boolean) : [];
1379
1379
  i.setContentType([c || "multipart/form-data", ...f].join("; "));
1380
1380
  }
1381
1381
  }
1382
- if (W.hasStandardBrowserEnv && (r && g.isFunction(r) && (r = r(t)), r || r !== !1 && _o(t.url))) {
1382
+ if ($.hasStandardBrowserEnv && (r && g.isFunction(r) && (r = r(t)), r || r !== !1 && _o(t.url))) {
1383
1383
  const c = o && a && So.read(a);
1384
1384
  c && i.set(o, c);
1385
1385
  }
@@ -1435,7 +1435,7 @@ const Fn = (e) => {
1435
1435
  b && (r(!T || T.type ? new ce(null, e, b) : T), b.abort(), b = null);
1436
1436
  }, o.cancelToken && o.cancelToken.subscribe(f), o.signal && (o.signal.aborted ? f() : o.signal.addEventListener("abort", f)));
1437
1437
  const L = bo(o.url);
1438
- if (L && W.protocols.indexOf(L) === -1) {
1438
+ if (L && $.protocols.indexOf(L) === -1) {
1439
1439
  r(new C("Unsupported protocol " + L + ":", C.ERR_BAD_REQUEST, e));
1440
1440
  return;
1441
1441
  }
@@ -1492,7 +1492,7 @@ const Fn = (e) => {
1492
1492
  } finally {
1493
1493
  await t.cancel();
1494
1494
  }
1495
- }, Wt = (e, t, n, r) => {
1495
+ }, $t = (e, t, n, r) => {
1496
1496
  const o = vo(e, t);
1497
1497
  let a = 0, i, s = (p) => {
1498
1498
  i || (i = !0, r && r(p));
@@ -1529,7 +1529,7 @@ const Fn = (e) => {
1529
1529
  }
1530
1530
  }, Bo = In && Dn(() => {
1531
1531
  let e = !1;
1532
- const t = new Request(W.origin, {
1532
+ const t = new Request($.origin, {
1533
1533
  body: new ReadableStream(),
1534
1534
  method: "POST",
1535
1535
  get duplex() {
@@ -1553,7 +1553,7 @@ const Ro = async (e) => {
1553
1553
  if (g.isBlob(e))
1554
1554
  return e.size;
1555
1555
  if (g.isSpecCompliantForm(e))
1556
- return (await new Request(W.origin, {
1556
+ return (await new Request($.origin, {
1557
1557
  method: "POST",
1558
1558
  body: e
1559
1559
  }).arrayBuffer()).byteLength;
@@ -1597,7 +1597,7 @@ const Ro = async (e) => {
1597
1597
  b,
1598
1598
  Re(Ut(p))
1599
1599
  );
1600
- r = Wt(M.body, Ht, P, w);
1600
+ r = $t(M.body, Ht, P, w);
1601
1601
  }
1602
1602
  }
1603
1603
  g.isString(u) || (u = u ? "include" : "omit");
@@ -1623,7 +1623,7 @@ const Ro = async (e) => {
1623
1623
  Re(Ut(s), !0)
1624
1624
  ) || [];
1625
1625
  L = new Response(
1626
- Wt(L.body, Ht, P, () => {
1626
+ $t(L.body, Ht, P, () => {
1627
1627
  w && w(), _ && _();
1628
1628
  }),
1629
1629
  M
@@ -2050,7 +2050,7 @@ z.CanceledError = ce;
2050
2050
  z.CancelToken = Oo;
2051
2051
  z.isCancel = Tn;
2052
2052
  z.VERSION = On;
2053
- z.toFormData = We;
2053
+ z.toFormData = $e;
2054
2054
  z.AxiosError = C;
2055
2055
  z.Cancel = z.CanceledError;
2056
2056
  z.all = function(t) {
@@ -2128,7 +2128,7 @@ let Me = null;
2128
2128
  function X() {
2129
2129
  return Me || (Me = Uo()), Me;
2130
2130
  }
2131
- function $o() {
2131
+ function Wo() {
2132
2132
  Me = null;
2133
2133
  }
2134
2134
  function Un() {
@@ -2161,7 +2161,7 @@ function Un() {
2161
2161
  return sessionStorage.setItem("balanceData", JSON.stringify(r)), r;
2162
2162
  });
2163
2163
  }
2164
- const Wo = async () => X().get("/all-dicts", {}).then((e) => (sessionStorage.setItem("all_dicts", JSON.stringify(e.data)), e.data || {})), Ho = async () => {
2164
+ const $o = async () => X().get("/all-dicts", {}).then((e) => (sessionStorage.setItem("all_dicts", JSON.stringify(e.data)), e.data || {})), Ho = async () => {
2165
2165
  const e = JSON.parse(
2166
2166
  sessionStorage.getItem("fund_unit_params") || "{}"
2167
2167
  );
@@ -2185,7 +2185,7 @@ const Wo = async () => X().get("/all-dicts", {}).then((e) => (sessionStorage.set
2185
2185
  t && t(r);
2186
2186
  }
2187
2187
  }
2188
- }).then((n) => n.data?.url || ""), $n = async (e) => {
2188
+ }).then((n) => n.data?.url || ""), Wn = async (e) => {
2189
2189
  const t = JSON.parse(
2190
2190
  sessionStorage.getItem("fund_unit_params") || "{}"
2191
2191
  ), n = {
@@ -2202,7 +2202,7 @@ const Wo = async () => X().get("/all-dicts", {}).then((e) => (sessionStorage.set
2202
2202
  voucher_urls: e.voucherUrls
2203
2203
  };
2204
2204
  return X().post("/offline/recharge/create", n, {});
2205
- }, Wn = async (e) => {
2205
+ }, $n = async (e) => {
2206
2206
  const t = JSON.parse(
2207
2207
  sessionStorage.getItem("fund_unit_params") || "{}"
2208
2208
  ), n = {
@@ -2304,7 +2304,7 @@ function Sa(e) {
2304
2304
  size: p,
2305
2305
  themeConfig: c
2306
2306
  })
2307
- ), $o(), Wo(), {
2307
+ ), Wo(), $o(), {
2308
2308
  token: f,
2309
2309
  merchantId: t,
2310
2310
  bizType: n,
@@ -2573,14 +2573,13 @@ const Zo = {
2573
2573
  确认转账详情: "确认转账详情",
2574
2574
  转账后提交银行回单提示: "请在转账后提交银行回单,否则可能无法及时核验",
2575
2575
  温馨提示: "温馨提示",
2576
- 支付金额匹配提醒: "支付金额须与申请金额一致,请勿多付、少付或分批提交。银行回单显示的实际金额为准。请勿重复提交同一笔转账申请。",
2577
- 保存交易回单提醒: "请打印或拍照保存交易回单并提供准确的支付时间,否则无法核验转账。",
2578
- 查看余额提醒: "建议提交成功后4小时查看可用余额。工作时间提交的转账当日处理,非工作时间提交的转账将在下一个工作日处理。",
2579
- 联系客服提醒: "如有问题,请联系客服。",
2580
- P卡转账延迟提醒: "P卡转账可能会有最多10分钟的延迟,请耐心等待。",
2581
- 平台服务费说明: "预付充值将收取1%的平台服务费,详情请参考",
2582
- 费用政策: "费用政策",
2583
- 详情: "。",
2576
+ "创建付款时请勿填写敏感备注,例如:topup ads、order等、建议填写数字代码": "创建付款时请勿填写敏感备注,例如:topup ads、order等、建议填写数字代码",
2577
+ "请填写正确的支付金额、币种、支付时间,相同的交易请勿重复提交。": "请填写正确的支付金额、币种、支付时间,相同的交易请勿重复提交。",
2578
+ "请上传交易凭证,否则无法核验并及时添加余额。": "请上传交易凭证,否则无法核验并及时添加余额。",
2579
+ "提交成功后根据实际到账金额添加余额。工作时间提交的转账当日处理,非工作时间提交的转账将在下一个工作日处理。": "提交成功后根据实际到账金额添加余额。工作时间提交的转账当日处理,非工作时间提交的转账将在下一个工作日处理。",
2580
+ "通过平台互转(例如payoneer转payoneer)付款方式可能会有10分钟延迟,请耐心等待。": "通过平台互转(例如payoneer转payoneer)付款方式可能会有10分钟延迟,请耐心等待。",
2581
+ "广告款项若入账金额为美金外其他币种额外扣除0.6%手续费,其中PayPal支付方式额外扣除2.5%手续费。": "广告款项若入账金额为美金外其他币种额外扣除0.6%手续费,其中PayPal支付方式额外扣除2.5%手续费。",
2582
+ "如有问题,请联系客服。": "如有问题,请联系客服。",
2584
2583
  // 银行转账回单上传相关
2585
2584
  返回账户信息: "返回账户信息",
2586
2585
  请上传银行转账回单: "请上传银行转账回单",
@@ -2724,14 +2723,13 @@ const ei = {
2724
2723
  确认转账详情: "Confirm Transfer Details",
2725
2724
  转账后提交银行回单提示: "Please make sure to submit the bank transaction slip after the transfer, otherwise the payment may not be verified in time",
2726
2725
  温馨提示: "Friendly Reminder",
2727
- 支付金额匹配提醒: "The payment amount must match the transaction amount exactly. Overpayment, underpayment, or installment payments will not be approved. The actual amount shown on the bank receipt shall prevail. Do not submit duplicate applications for the same transfer.",
2728
- 保存交易回单提醒: "Please print or take a photo of the transaction receipt and provide the exact payment time; otherwise, the transfer cannot be verified.",
2729
- 查看余额提醒: "It is recommended to check your available balance 4 hours after successful submission. Transfers submitted during business hours will be processed the same day; those submitted outside business hours will be processed on the next working day.",
2730
- 联系客服提醒: "If you have any questions, please contact customer service.",
2731
- P卡转账延迟提醒: "P-card transfers may experience a delay of up to 10 minutes. Please wait patiently.",
2732
- 平台服务费说明: "Prepaid top-ups are subject to a 1% platform service fee. Please refer to the",
2733
- 费用政策: "Fee Policy",
2734
- 详情: "for details.",
2726
+ "创建付款时请勿填写敏感备注,例如:topup ads、order等、建议填写数字代码": "Do not include sensitive notes when creating a payment (e.g., “topup ads”, “order”). We recommend using a numeric code instead.",
2727
+ "请填写正确的支付金额、币种、支付时间,相同的交易请勿重复提交。": "Enter the correct amount, currency, and payment time. Please do not submit the same transaction more than once.",
2728
+ "请上传交易凭证,否则无法核验并及时添加余额。": "Upload the payment proof/receipt. Without it, we can’t verify the transfer or credit your balance in time.",
2729
+ "提交成功后根据实际到账金额添加余额。工作时间提交的转账当日处理,非工作时间提交的转账将在下一个工作日处理。": "After submission, your balance will be credited based on the actual received amount. Transfers submitted during business hours are processed the same day; those submitted outside business hours will be processed on the next business day.",
2730
+ "通过平台互转(例如payoneer转payoneer)付款方式可能会有10分钟延迟,请耐心等待。": "For platform-to-platform transfers (e.g., Payoneer Payoneer), there may be a ~10-minute delay. Please wait patiently.",
2731
+ "广告款项若入账金额为美金外其他币种额外扣除0.6%手续费,其中PayPal支付方式额外扣除2.5%手续费。": "For advertising funds: if the received currency is non-USD, an additional 0.6% fee applies. PayPal payments incur an additional 2.5% fee. ",
2732
+ "如有问题,请联系客服。": "If you have any questions, please contact Customer Support.",
2735
2733
  // Bank Transfer Receipt Upload Related
2736
2734
  返回账户信息: "Return to Account Information",
2737
2735
  请上传银行转账回单: "Please upload the bank transfer receipt",
@@ -3851,7 +3849,7 @@ const hi = ({ formState: e, setFormState: t, onClose: n, loading: r }) => {
3851
3849
  })), x = !1), (!e.files || e.files.length === 0) && (t((m) => ({
3852
3850
  ...m,
3853
3851
  filesError: y("请上传转账凭证")
3854
- })), x = !1), x && (await $n({
3852
+ })), x = !1), x && (await Wn({
3855
3853
  transferChannel: e.platform,
3856
3854
  transferNo: e.transactionId,
3857
3855
  voucherUrls: e.files
@@ -4417,7 +4415,7 @@ function qe(e, t, n, r) {
4417
4415
  }
4418
4416
  function Ci() {
4419
4417
  const [e, t] = B(!1), n = async (r) => {
4420
- const o = await Wn({
4418
+ const o = await $n({
4421
4419
  amount: r.amount,
4422
4420
  currency: r.currency,
4423
4421
  rechargeChannel: r.rechargeChannel
@@ -4982,14 +4980,14 @@ function Ri({
4982
4980
  paymentType: a,
4983
4981
  amountError: ""
4984
4982
  }), [b, S] = B(null), L = se(null), T = (w, F) => {
4985
- const U = w !== void 0 ? w : h.amount, $ = F !== void 0 ? F : h.currency;
4983
+ const U = w !== void 0 ? w : h.amount, W = F !== void 0 ? F : h.currency;
4986
4984
  if (!U || Number(U) <= 0) {
4987
4985
  S(null);
4988
4986
  return;
4989
4987
  }
4990
4988
  L.current && clearTimeout(L.current), L.current = window.setTimeout(() => {
4991
4989
  Jo({
4992
- currency: $,
4990
+ currency: W,
4993
4991
  amount: U
4994
4992
  }).then((V) => S(V)).catch(() => S(null));
4995
4993
  }, 300);
@@ -5002,7 +5000,7 @@ function Ri({
5002
5000
  qo({ currency: h.currency }).then((w) => {
5003
5001
  const F = w.onlineChannel || [], U = w.offlineChannel || [];
5004
5002
  u(F), m(U);
5005
- const $ = F.length > 0, V = U?.[0]?.value || "", Se = F?.[0]?.value || "", de = $ ? a : "bank", k = de === "online" ? Se : V;
5003
+ const W = F.length > 0, V = U?.[0]?.value || "", Se = F?.[0]?.value || "", de = W ? a : "bank", k = de === "online" ? Se : V;
5006
5004
  _((v) => ({
5007
5005
  ...v,
5008
5006
  onlineChannel: Se,
@@ -5401,11 +5399,21 @@ function Di({
5401
5399
  /* @__PURE__ */ d("div", { style: s.noticeBox, children: y("请在转账后提交银行回单,否则可能无法及时核验") }),
5402
5400
  /* @__PURE__ */ d("div", { style: s.reminderTitle, children: y("温馨提示") }),
5403
5401
  /* @__PURE__ */ d("ul", { style: s.reminderList, children: [
5404
- /* @__PURE__ */ d("li", { style: s.listItem, children: y("支付金额须与申请金额一致,请勿多付、少付或分批提交。") }),
5405
- /* @__PURE__ */ d("li", { style: s.listItem, children: y("请妥善保存回单并提供准确的支付时间,否则可能无法核验。") }),
5406
- /* @__PURE__ */ d("li", { style: s.listItem, children: y("工作时间提交4小时内审核,非工作时间将顺延至下一个工作日。") }),
5407
- /* @__PURE__ */ d("li", { style: s.listItem, children: y("如有问题,请联系平台客服。") }),
5408
- /* @__PURE__ */ d("li", { style: s.listItem, children: y("预付充值将收取平台服务费,具体以官方为准。") })
5402
+ /* @__PURE__ */ d("li", { children: y(
5403
+ "创建付款时请勿填写敏感备注,例如:topup ads、order等、建议填写数字代码"
5404
+ ) }),
5405
+ /* @__PURE__ */ d("li", { children: y("请填写正确的支付金额、币种、支付时间,相同的交易请勿重复提交。") }),
5406
+ /* @__PURE__ */ d("li", { children: y("请上传交易凭证,否则无法核验并及时添加余额。") }),
5407
+ /* @__PURE__ */ d("li", { children: y(
5408
+ "提交成功后根据实际到账金额添加余额。工作时间提交的转账当日处理,非工作时间提交的转账将在下一个工作日处理。"
5409
+ ) }),
5410
+ /* @__PURE__ */ d("li", { children: y(
5411
+ "通过平台互转(例如payoneer转payoneer)付款方式可能会有10分钟延迟,请耐心等待。"
5412
+ ) }),
5413
+ /* @__PURE__ */ d("li", { children: y(
5414
+ "广告款项若入账金额为美金外其他币种额外扣除0.6%手续费,其中PayPal支付方式额外扣除2.5%手续费。"
5415
+ ) }),
5416
+ /* @__PURE__ */ d("li", { children: y("如有问题,请联系客服。") })
5409
5417
  ] }),
5410
5418
  c.error && /* @__PURE__ */ d("div", { style: s.error, children: c.error })
5411
5419
  ] });
@@ -6012,7 +6020,7 @@ function Ni() {
6012
6020
  function Ui() {
6013
6021
  return Ni();
6014
6022
  }
6015
- function $i({
6023
+ function Wi({
6016
6024
  value: e = "",
6017
6025
  placeholder: t = y("请选择日期"),
6018
6026
  disabled: n = !1,
@@ -6080,7 +6088,7 @@ function $i({
6080
6088
  }, U = (k) => {
6081
6089
  const v = new Date(h);
6082
6090
  v.setFullYear(k), _(v), S(!1);
6083
- }, $ = () => {
6091
+ }, W = () => {
6084
6092
  const k = (/* @__PURE__ */ new Date()).getFullYear(), v = [];
6085
6093
  for (let ue = k - 50; ue <= k + 50; ue++)
6086
6094
  v.push(ue);
@@ -6192,7 +6200,7 @@ function $i({
6192
6200
  }
6193
6201
  )
6194
6202
  ] }),
6195
- b && /* @__PURE__ */ d("div", { style: c.yearPicker, children: /* @__PURE__ */ d("div", { style: c.yearGrid, children: $().map((k) => /* @__PURE__ */ d(
6203
+ b && /* @__PURE__ */ d("div", { style: c.yearPicker, children: /* @__PURE__ */ d("div", { style: c.yearGrid, children: W().map((k) => /* @__PURE__ */ d(
6196
6204
  "button",
6197
6205
  {
6198
6206
  type: "button",
@@ -6227,7 +6235,7 @@ function $i({
6227
6235
  }
6228
6236
  );
6229
6237
  }
6230
- function Wi({
6238
+ function $i({
6231
6239
  onBack: e,
6232
6240
  onCancel: t,
6233
6241
  currency: n = "USD",
@@ -6262,7 +6270,7 @@ function Wi({
6262
6270
  payerNameError: y("请输入付款人名称")
6263
6271
  }))), !!m)
6264
6272
  try {
6265
- await $n({
6273
+ await Wn({
6266
6274
  transferDate: f.transferTime,
6267
6275
  transferNo: f.transactionId,
6268
6276
  transferChannel: o,
@@ -6301,7 +6309,7 @@ function Wi({
6301
6309
  y("转账时间")
6302
6310
  ] }),
6303
6311
  /* @__PURE__ */ d(
6304
- $i,
6312
+ Wi,
6305
6313
  {
6306
6314
  value: f.transferTime,
6307
6315
  placeholder: y("请选择转账时间"),
@@ -6721,18 +6729,13 @@ function qi({ onConfirm: e, channelCode: t }) {
6721
6729
  /* @__PURE__ */ d("div", { style: n.noticeBox, children: y("转账后提交银行回单提示") }),
6722
6730
  /* @__PURE__ */ d("div", { style: n.reminderTitle, children: y("温馨提示") }),
6723
6731
  /* @__PURE__ */ d("ul", { style: n.reminderList, children: [
6724
- /* @__PURE__ */ d("li", { children: y("支付金额匹配提醒") }),
6725
- /* @__PURE__ */ d("li", { children: y("保存交易回单提醒") }),
6726
- /* @__PURE__ */ d("li", { children: y("查看余额提醒") }),
6727
- /* @__PURE__ */ d("li", { children: y("联系客服提醒") }),
6728
- /* @__PURE__ */ d("li", { children: y("P卡转账延迟提醒") }),
6729
- /* @__PURE__ */ d("li", { children: [
6730
- y("平台服务费说明"),
6731
- " ",
6732
- /* @__PURE__ */ d("a", { href: "#", style: n.link, children: y("费用政策") }),
6733
- " ",
6734
- y("详情")
6735
- ] })
6732
+ /* @__PURE__ */ d("li", { children: y("创建付款时请勿填写敏感备注,例如:topup ads、order等、建议填写数字代码") }),
6733
+ /* @__PURE__ */ d("li", { children: y("请填写正确的支付金额、币种、支付时间,相同的交易请勿重复提交。") }),
6734
+ /* @__PURE__ */ d("li", { children: y("请上传交易凭证,否则无法核验并及时添加余额。") }),
6735
+ /* @__PURE__ */ d("li", { children: y("提交成功后根据实际到账金额添加余额。工作时间提交的转账当日处理,非工作时间提交的转账将在下一个工作日处理。") }),
6736
+ /* @__PURE__ */ d("li", { children: y("通过平台互转(例如payoneer转payoneer)付款方式可能会有10分钟延迟,请耐心等待。") }),
6737
+ /* @__PURE__ */ d("li", { children: y("广告款项若入账金额为美金外其他币种额外扣除0.6%手续费,其中PayPal支付方式额外扣除2.5%手续费。") }),
6738
+ /* @__PURE__ */ d("li", { children: y("如有问题,请联系客服。") })
6736
6739
  ] })
6737
6740
  ] });
6738
6741
  }
@@ -6842,7 +6845,7 @@ function Ji({
6842
6845
  onAmountError: f
6843
6846
  }
6844
6847
  ) : i.showOfflineUpload ? /* @__PURE__ */ d(
6845
- Wi,
6848
+ $i,
6846
6849
  {
6847
6850
  onBack: h,
6848
6851
  onCancel: t,
@@ -6866,7 +6869,7 @@ function Ji({
6866
6869
  }
6867
6870
  function Vi() {
6868
6871
  const [e, t] = B(!1), n = async (r) => {
6869
- const o = await Wn({
6872
+ const o = await $n({
6870
6873
  amount: r.amount,
6871
6874
  currency: r.currency,
6872
6875
  rechargeChannel: r.rechargeChannel
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "best-unit",
3
3
  "private": false,
4
- "version": "2.0.14",
4
+ "version": "2.0.15",
5
5
  "type": "module",
6
6
  "main": "dist/best-unit.cjs",
7
7
  "module": "dist/best-unit.js",
@@ -77,18 +77,13 @@ export function OfflineDetail({ onConfirm, channelCode }: OfflineDetailProps) {
77
77
 
78
78
  <div style={theme.reminderTitle}>{t("温馨提示")}</div>
79
79
  <ul style={theme.reminderList}>
80
- <li>{t("支付金额匹配提醒")}</li>
81
- <li>{t("保存交易回单提醒")}</li>
82
- <li>{t("查看余额提醒")}</li>
83
- <li>{t("联系客服提醒")}</li>
84
- <li>{t("P卡转账延迟提醒")}</li>
85
- <li>
86
- {t("平台服务费说明")}{" "}
87
- <a href="#" style={theme.link}>
88
- {t("费用政策")}
89
- </a>{" "}
90
- {t("详情")}
91
- </li>
80
+ <li>{t("创建付款时请勿填写敏感备注,例如:topup ads、order等、建议填写数字代码")}</li>
81
+ <li>{t("请填写正确的支付金额、币种、支付时间,相同的交易请勿重复提交。")}</li>
82
+ <li>{t("请上传交易凭证,否则无法核验并及时添加余额。")}</li>
83
+ <li>{t("提交成功后根据实际到账金额添加余额。工作时间提交的转账当日处理,非工作时间提交的转账将在下一个工作日处理。")}</li>
84
+ <li>{t("通过平台互转(例如payoneer转payoneer)付款方式可能会有10分钟延迟,请耐心等待。")}</li>
85
+ <li>{t("广告款项若入账金额为美金外其他币种额外扣除0.6%手续费,其中PayPal支付方式额外扣除2.5%手续费。")}</li>
86
+ <li>{t("如有问题,请联系客服。")}</li>
92
87
  </ul>
93
88
  </div>
94
89
  );
@@ -146,19 +146,31 @@ export function OnlinePayment({
146
146
 
147
147
  <div style={theme.reminderTitle}>{t("温馨提示")}</div>
148
148
  <ul style={theme.reminderList}>
149
- <li style={theme.listItem}>
150
- {t("支付金额须与申请金额一致,请勿多付、少付或分批提交。")}
149
+ <li>
150
+ {t(
151
+ "创建付款时请勿填写敏感备注,例如:topup ads、order等、建议填写数字代码"
152
+ )}
151
153
  </li>
152
- <li style={theme.listItem}>
153
- {t("请妥善保存回单并提供准确的支付时间,否则可能无法核验。")}
154
+ <li>
155
+ {t("请填写正确的支付金额、币种、支付时间,相同的交易请勿重复提交。")}
154
156
  </li>
155
- <li style={theme.listItem}>
156
- {t("工作时间提交4小时内审核,非工作时间将顺延至下一个工作日。")}
157
+ <li>{t("请上传交易凭证,否则无法核验并及时添加余额。")}</li>
158
+ <li>
159
+ {t(
160
+ "提交成功后根据实际到账金额添加余额。工作时间提交的转账当日处理,非工作时间提交的转账将在下一个工作日处理。"
161
+ )}
157
162
  </li>
158
- <li style={theme.listItem}>{t("如有问题,请联系平台客服。")}</li>
159
- <li style={theme.listItem}>
160
- {t("预付充值将收取平台服务费,具体以官方为准。")}
163
+ <li>
164
+ {t(
165
+ "通过平台互转(例如payoneer转payoneer)付款方式可能会有10分钟延迟,请耐心等待。"
166
+ )}
161
167
  </li>
168
+ <li>
169
+ {t(
170
+ "广告款项若入账金额为美金外其他币种额外扣除0.6%手续费,其中PayPal支付方式额外扣除2.5%手续费。"
171
+ )}
172
+ </li>
173
+ <li>{t("如有问题,请联系客服。")}</li>
162
174
  </ul>
163
175
 
164
176
  {formState.error && <div style={theme.error}>{formState.error}</div>}
package/src/local/en.ts CHANGED
@@ -103,19 +103,19 @@ export const en: Record<string, string> = {
103
103
  转账后提交银行回单提示:
104
104
  "Please make sure to submit the bank transaction slip after the transfer, otherwise the payment may not be verified in time",
105
105
  温馨提示: "Friendly Reminder",
106
- 支付金额匹配提醒:
107
- "The payment amount must match the transaction amount exactly. Overpayment, underpayment, or installment payments will not be approved. The actual amount shown on the bank receipt shall prevail. Do not submit duplicate applications for the same transfer.",
108
- 保存交易回单提醒:
109
- "Please print or take a photo of the transaction receipt and provide the exact payment time; otherwise, the transfer cannot be verified.",
110
- 查看余额提醒:
111
- "It is recommended to check your available balance 4 hours after successful submission. Transfers submitted during business hours will be processed the same day; those submitted outside business hours will be processed on the next working day.",
112
- 联系客服提醒: "If you have any questions, please contact customer service.",
113
- P卡转账延迟提醒:
114
- "P-card transfers may experience a delay of up to 10 minutes. Please wait patiently.",
115
- 平台服务费说明:
116
- "Prepaid top-ups are subject to a 1% platform service fee. Please refer to the",
117
- 费用政策: "Fee Policy",
118
- 详情: "for details.",
106
+ "创建付款时请勿填写敏感备注,例如:topup ads、order等、建议填写数字代码":
107
+ "Do not include sensitive notes when creating a payment (e.g., “topup ads”, “order”). We recommend using a numeric code instead.",
108
+ "请填写正确的支付金额、币种、支付时间,相同的交易请勿重复提交。":
109
+ "Enter the correct amount, currency, and payment time. Please do not submit the same transaction more than once.",
110
+ "请上传交易凭证,否则无法核验并及时添加余额。":
111
+ "Upload the payment proof/receipt. Without it, we can’t verify the transfer or credit your balance in time.",
112
+ "提交成功后根据实际到账金额添加余额。工作时间提交的转账当日处理,非工作时间提交的转账将在下一个工作日处理。":
113
+ "After submission, your balance will be credited based on the actual received amount. Transfers submitted during business hours are processed the same day; those submitted outside business hours will be processed on the next business day.",
114
+ "通过平台互转(例如payoneer转payoneer)付款方式可能会有10分钟延迟,请耐心等待。":
115
+ "For platform-to-platform transfers (e.g., Payoneer → Payoneer), there may be a ~10-minute delay. Please wait patiently.",
116
+ "广告款项若入账金额为美金外其他币种额外扣除0.6%手续费,其中PayPal支付方式额外扣除2.5%手续费。":
117
+ "For advertising funds: if the received currency is non-USD, an additional 0.6% fee applies. PayPal payments incur an additional 2.5% fee. ",
118
+ "如有问题,请联系客服。": "If you have any questions, please contact Customer Support.",
119
119
 
120
120
  // Bank Transfer Receipt Upload Related
121
121
  返回账户信息: "Return to Account Information",