@rebilly/instruments 16.98.0 → 16.99.0

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/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- ## [16.98.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.97.0...instruments/core-v16.98.0) (2026-04-16)
1
+ ## [16.99.0](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.98.1...instruments/core-v16.99.0) (2026-04-17)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * **instruments:** add crypto input fields to payout requests ([#20560](https://github.com/Rebilly/rebilly/issues/20560)) ([b3984d8](https://github.com/Rebilly/rebilly/commit/b3984d84c051b84cdb8787f442f83a175bc1be7b))
6
+ * **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#20631](https://github.com/Rebilly/rebilly/issues/20631)) ([c2e2937](https://github.com/Rebilly/rebilly/commit/c2e2937d78cd2bb537c773db8a859083d72fc338))
package/dist/index.js CHANGED
@@ -4849,16 +4849,16 @@ const {
4849
4849
  var it$1 = Object.defineProperty;
4850
4850
  var gt$1 = (e2, t2, s) => t2 in e2 ? it$1(e2, t2, { enumerable: true, configurable: true, writable: true, value: s }) : e2[t2] = s;
4851
4851
  var E$1 = (e2, t2, s) => gt$1(e2, typeof t2 != "symbol" ? t2 + "" : t2, s);
4852
- function I$1(e2, { exclude: t2 = [] } = {}) {
4852
+ function d(e2, { exclude: t2 = [] } = {}) {
4853
4853
  Object.freeze(e2);
4854
4854
  const s = typeof e2 == "function";
4855
4855
  return Object.getOwnPropertyNames(e2).forEach((r2) => {
4856
- (!s || r2 !== "caller" && r2 !== "callee" && r2 !== "arguments") && e2[r2] !== null && !t2.includes(r2) && (typeof e2[r2] == "object" || typeof e2[r2] == "function") && !Object.isFrozen(e2[r2]) && I$1(e2[r2], { exclude: t2 });
4856
+ (!s || r2 !== "caller" && r2 !== "callee" && r2 !== "arguments") && e2[r2] !== null && !t2.includes(r2) && (typeof e2[r2] == "object" || typeof e2[r2] == "function") && !Object.isFrozen(e2[r2]) && d(e2[r2], { exclude: t2 });
4857
4857
  }), e2;
4858
4858
  }
4859
4859
  let G$1 = class G {
4860
4860
  constructor({ data: t2, status: s, statusText: r2, headers: n2 }, u = {}) {
4861
- this.response = { status: s, statusText: r2, headers: n2 }, this.fields = { ...t2 }, this.config = u, I$1(this, { exclude: ["cancelToken"] });
4861
+ this.response = { status: s, statusText: r2, headers: n2 }, this.fields = { ...t2 }, this.config = u, d(this, { exclude: ["cancelToken"] });
4862
4862
  }
4863
4863
  /**
4864
4864
  * Returns a mutable JSON representation of the Member.
@@ -4889,7 +4889,7 @@ let at$1 = class at {
4889
4889
  this[o2] = l ? Number(l) : null;
4890
4890
  }), this.response = { status: s, statusText: r2, headers: n2 }, this.items = t2.map(
4891
4891
  (o2) => new G$1({ data: o2, status: s, statusText: r2, headers: n2 })
4892
- ), this.config = u, I$1(this, { exclude: ["cancelToken"] });
4892
+ ), this.config = u, d(this, { exclude: ["cancelToken"] });
4893
4893
  }
4894
4894
  /**
4895
4895
  * Returns a mutable JSON representation of the Collection.
@@ -4978,13 +4978,13 @@ var kt$1 = Object.prototype.toString, Y$1 = function(t2) {
4978
4978
  if (s === "number") return "number";
4979
4979
  if (s === "symbol") return "symbol";
4980
4980
  if (s === "function")
4981
- return dt$1(t2) ? "generatorfunction" : "function";
4981
+ return It$1(t2) ? "generatorfunction" : "function";
4982
4982
  if (vt$1(t2)) return "array";
4983
4983
  if (xt$1(t2)) return "buffer";
4984
4984
  if (Et$1(t2)) return "arguments";
4985
4985
  if (Tt$1(t2)) return "date";
4986
4986
  if (qt$1(t2)) return "error";
4987
- if (It$1(t2)) return "regexp";
4987
+ if (dt$1(t2)) return "regexp";
4988
4988
  switch (Q$1(t2)) {
4989
4989
  case "Symbol":
4990
4990
  return "symbol";
@@ -5045,10 +5045,10 @@ function qt$1(e2) {
5045
5045
  function Tt$1(e2) {
5046
5046
  return e2 instanceof Date ? true : typeof e2.toDateString == "function" && typeof e2.getDate == "function" && typeof e2.setDate == "function";
5047
5047
  }
5048
- function It$1(e2) {
5048
+ function dt$1(e2) {
5049
5049
  return e2 instanceof RegExp ? true : typeof e2.flags == "string" && typeof e2.ignoreCase == "boolean" && typeof e2.multiline == "boolean" && typeof e2.global == "boolean";
5050
5050
  }
5051
- function dt$1(e2, t2) {
5051
+ function It$1(e2, t2) {
5052
5052
  return Q$1(e2) === "GeneratorFunction";
5053
5053
  }
5054
5054
  function St$1(e2) {
@@ -5190,7 +5190,7 @@ let Qt$1 = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", X
5190
5190
  };
5191
5191
  let Zt$1 = class Zt {
5192
5192
  constructor({ id: t2 = null, created: s = null } = {}) {
5193
- this.id = t2 || Xt$1(), this.created = s || (/* @__PURE__ */ new Date()).getTime(), this.cancelSource = axios.CancelToken.source(), this.cancel = this.cancelSource.cancel, this.cancelToken = this.cancelSource.token, I$1(this, {
5193
+ this.id = t2 || Xt$1(), this.created = s || (/* @__PURE__ */ new Date()).getTime(), this.cancelSource = axios.CancelToken.source(), this.cancel = this.cancelSource.cancel, this.cancelToken = this.cancelSource.token, d(this, {
5194
5194
  exclude: ["cancelSource", "cancelToken", "cancel"]
5195
5195
  });
5196
5196
  }
@@ -5298,7 +5298,7 @@ function C$1({ options: e2 }) {
5298
5298
  }
5299
5299
  function o2() {
5300
5300
  const i = {
5301
- "REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@b3984d8`
5301
+ "REB-API-CONSUMER": `${["Rebilly", e2.appName, "js-sdk"].filter((g) => g).join("/")}@c2e2937`
5302
5302
  };
5303
5303
  return e2.apiKey && (i["REB-APIKEY"] = e2.apiKey), i;
5304
5304
  }
@@ -5316,7 +5316,7 @@ function C$1({ options: e2 }) {
5316
5316
  const i = l();
5317
5317
  e2.publishableKey = c, i.common.Authorization = `${c}`, t2.defaults.headers = i;
5318
5318
  }
5319
- function d({ host: c, port: i, auth: g }) {
5319
+ function I2({ host: c, port: i, auth: g }) {
5320
5320
  t2.defaults.proxy = {
5321
5321
  host: c,
5322
5322
  port: i,
@@ -5483,7 +5483,7 @@ function C$1({ options: e2 }) {
5483
5483
  addResponseInterceptor: _2,
5484
5484
  removeResponseInterceptor: H2,
5485
5485
  setTimeout: a,
5486
- setProxyAgent: d,
5486
+ setProxyAgent: I2,
5487
5487
  setSessionToken: $2,
5488
5488
  setPublishableKey: y,
5489
5489
  setEndpoints: S2,
@@ -5977,6 +5977,9 @@ function me$1({ apiHandler: e2 }) {
5977
5977
  void({ id: t2 }) {
5978
5978
  return e2.post(`credit-memos/${t2}/void`);
5979
5979
  },
5980
+ refund({ id: t2 }) {
5981
+ return e2.post(`credit-memos/${t2}/refund`);
5982
+ },
5980
5983
  /**
5981
5984
  * @param { rebilly.GetCreditMemoTimelineCollectionRequest } request
5982
5985
  * @returns { rebilly.GetCreditMemoTimelineCollectionResponsePromise } response
@@ -6254,6 +6257,12 @@ function he$1({ apiHandler: e2 }) {
6254
6257
  deleteTimelineMessage({ id: t2, messageId: s }) {
6255
6258
  return e2.delete(`customers/${t2}/timeline/${s}`);
6256
6259
  },
6260
+ /**
6261
+ * @returns { rebilly.GetCustomerCreditBalanceResponsePromise } response
6262
+ */
6263
+ getCustomerCreditBalance({ customerId: t2 }) {
6264
+ return e2.get(`customers/${t2}/credit-balance`);
6265
+ },
6257
6266
  /**
6258
6267
  * @returns { rebilly.GetCustomerEddScoreResponsePromise } response
6259
6268
  */
@@ -6666,7 +6675,7 @@ function Te$1({ apiHandler: e2 }) {
6666
6675
  }
6667
6676
  };
6668
6677
  }
6669
- function Ie$1({ apiHandler: e2 }) {
6678
+ function de$1({ apiHandler: e2 }) {
6670
6679
  return {
6671
6680
  /**
6672
6681
  * @returns { rebilly.GetExternalIdentifierResponsePromise } response
@@ -6697,7 +6706,7 @@ function Ie$1({ apiHandler: e2 }) {
6697
6706
  }
6698
6707
  };
6699
6708
  }
6700
- function de$1({ apiHandler: e2 }) {
6709
+ function Ie$1({ apiHandler: e2 }) {
6701
6710
  return {
6702
6711
  /**
6703
6712
  * @returns { rebilly.GetExternalServiceSettingsResponsePromise } response
@@ -8901,7 +8910,7 @@ function Ts({ apiHandler: e2 }) {
8901
8910
  }
8902
8911
  };
8903
8912
  }
8904
- function Is({ apiHandler: e2 }) {
8913
+ function ds({ apiHandler: e2 }) {
8905
8914
  return {
8906
8915
  /**
8907
8916
  * @param { rebilly.GetUserCollectionRequest } request
@@ -8944,7 +8953,7 @@ function Is({ apiHandler: e2 }) {
8944
8953
  }
8945
8954
  };
8946
8955
  }
8947
- function ds({ apiHandler: e2 }) {
8956
+ function Is({ apiHandler: e2 }) {
8948
8957
  return {
8949
8958
  /**
8950
8959
  * @param { rebilly.GetWebhookCollectionRequest } request
@@ -9022,7 +9031,7 @@ class Es {
9022
9031
  constructor({ apiHandler: t2 }) {
9023
9032
  this.account = _t$1({ apiHandler: t2 }), this.allowlists = Ht$1({ apiHandler: t2 }), this.amlChecks = te$1({ apiHandler: t2 }), this.amlSettings = ee$1({ apiHandler: t2 }), this.apiKeys = se$1({ apiHandler: t2 }), this.applicationInstances = re$1({ apiHandler: t2 }), this.applications = ne$1({ apiHandler: t2 }), this.balanceTransactions = ue$1({ apiHandler: t2 }), this.billingPortals = oe$1({ apiHandler: t2 }), this.blocklists = le$1({ apiHandler: t2 }), this.broadcastMessages = ce$1({ apiHandler: t2 }), this.cashiers = ie$1({ apiHandler: t2 }), this.checkoutForms = ge({ apiHandler: t2 }), this.coupons = ae$1({ apiHandler: t2 }), this.creditMemos = me$1({ apiHandler: t2 }), this.customDomains = $e$1({ apiHandler: t2 }), this.customFields = fe$1({ apiHandler: t2 }), this.customerAuthentication = pe$1({ apiHandler: t2 }), this.customers = he$1({ apiHandler: t2 }), this.depositCustomPropertySets = ye$1({
9024
9033
  apiHandler: t2
9025
- }), this.depositRequests = Ae$1({ apiHandler: t2 }), this.depositStrategies = Re$1({ apiHandler: t2 }), this.digitalWallets = be({ apiHandler: t2 }), this.disputes = we$1({ apiHandler: t2 }), this.emailDeliverySettings = ke$1({ apiHandler: t2 }), this.emailMessages = ve$1({ apiHandler: t2 }), this.emailNotifications = qe$1({ apiHandler: t2 }), this.events = Te$1({ apiHandler: t2 }), this.externalIdentifiers = Ie$1({ apiHandler: t2 }), this.externalServicesSettings = de$1({
9034
+ }), this.depositRequests = Ae$1({ apiHandler: t2 }), this.depositStrategies = Re$1({ apiHandler: t2 }), this.digitalWallets = be({ apiHandler: t2 }), this.disputes = we$1({ apiHandler: t2 }), this.emailDeliverySettings = ke$1({ apiHandler: t2 }), this.emailMessages = ve$1({ apiHandler: t2 }), this.emailNotifications = qe$1({ apiHandler: t2 }), this.events = Te$1({ apiHandler: t2 }), this.externalIdentifiers = de$1({ apiHandler: t2 }), this.externalServicesSettings = Ie$1({
9026
9035
  apiHandler: t2
9027
9036
  }), this.fees = Se$1({ apiHandler: t2 }), this.files = Ee$1({ apiHandler: t2 }), this.gatewayAccounts = xe$1({ apiHandler: t2 }), this.integrations = Pe$1({ apiHandler: t2 }), this.invoices = Ce$1({ apiHandler: t2 }), this.journalAccounts = je$1({ apiHandler: t2 }), this.journalEntries = De$1({ apiHandler: t2 }), this.journalRecords = Me$1({ apiHandler: t2 }), this.kycDocuments = Oe$1({ apiHandler: t2 }), this.kycRequests = Fe$1({ apiHandler: t2 }), this.kycSettings = Be$1({ apiHandler: t2 }), this.lists = Ke$1({ apiHandler: t2 }), this.memberships = Ne$1({ apiHandler: t2 }), this.orderCancellations = Le$1({ apiHandler: t2 }), this.orderPauses = ze$1({ apiHandler: t2 }), this.orderReactivations = Ue$1({ apiHandler: t2 }), this.orders = Ve$1({ apiHandler: t2 }), this.organizationExports = Je$1({ apiHandler: t2 }), this.organizations = We$1({ apiHandler: t2 }), this.paymentCardsBankNames = Ge$1({ apiHandler: t2 }), this.paymentInstruments = Ye$1({ apiHandler: t2 }), this.paymentMethods = Qe$1({ apiHandler: t2 }), this.paymentTokens = Xe$1({ apiHandler: t2 }), this.payoutRequestAllocations = Ze$1({
9028
9037
  apiHandler: t2
@@ -9030,7 +9039,7 @@ class Es {
9030
9039
  apiHandler: t2
9031
9040
  }), this.subscriptionPauses = As({ apiHandler: t2 }), this.subscriptionReactivations = Rs({
9032
9041
  apiHandler: t2
9033
- }), this.subscriptions = bs({ apiHandler: t2 }), this.tags = ws({ apiHandler: t2 }), this.tagsRules = ks({ apiHandler: t2 }), this.tracking = vs({ apiHandler: t2 }), this.transactions = qs({ apiHandler: t2 }), this.usages = Ts({ apiHandler: t2 }), this.users = Is({ apiHandler: t2 }), this.webhooks = ds({ apiHandler: t2 }), this.websites = Ss({ apiHandler: t2 }), this.addRequestInterceptor = t2.addRequestInterceptor, this.removeRequestInterceptor = t2.removeRequestInterceptor, this.addResponseInterceptor = t2.addResponseInterceptor, this.removeResponseInterceptor = t2.removeResponseInterceptor, this.setTimeout = t2.setTimeout, this.setProxyAgent = t2.setProxyAgent, this.setSessionToken = t2.setSessionToken, this.setPublishableKey = t2.setPublishableKey, this.setEndpoints = t2.setEndpoints, this.getCancellationToken = t2.getCancellationToken, this.generateSignature = t2.generateSignature;
9042
+ }), this.subscriptions = bs({ apiHandler: t2 }), this.tags = ws({ apiHandler: t2 }), this.tagsRules = ks({ apiHandler: t2 }), this.tracking = vs({ apiHandler: t2 }), this.transactions = qs({ apiHandler: t2 }), this.usages = Ts({ apiHandler: t2 }), this.users = ds({ apiHandler: t2 }), this.webhooks = Is({ apiHandler: t2 }), this.websites = Ss({ apiHandler: t2 }), this.addRequestInterceptor = t2.addRequestInterceptor, this.removeRequestInterceptor = t2.removeRequestInterceptor, this.addResponseInterceptor = t2.addResponseInterceptor, this.removeResponseInterceptor = t2.removeResponseInterceptor, this.setTimeout = t2.setTimeout, this.setProxyAgent = t2.setProxyAgent, this.setSessionToken = t2.setSessionToken, this.setPublishableKey = t2.setPublishableKey, this.setEndpoints = t2.setEndpoints, this.getCancellationToken = t2.getCancellationToken, this.generateSignature = t2.generateSignature;
9034
9043
  }
9035
9044
  }
9036
9045
  function xs({ apiHandler: e2 }) {
@@ -9464,7 +9473,7 @@ function js({ apiHandler: e2 }) {
9464
9473
  offset: a = null,
9465
9474
  filter: $2 = null,
9466
9475
  sort: y = null,
9467
- criteria: d = null
9476
+ criteria: I2 = null
9468
9477
  }) {
9469
9478
  const S2 = {
9470
9479
  aggregationField: t2,
@@ -9477,7 +9486,7 @@ function js({ apiHandler: e2 }) {
9477
9486
  offset: a,
9478
9487
  filter: $2,
9479
9488
  sort: y,
9480
- criteria: d
9489
+ criteria: I2
9481
9490
  };
9482
9491
  return e2.get("reports/retention-value", S2);
9483
9492
  },
@@ -10778,8 +10787,8 @@ function fe(e2, t2) {
10778
10787
  return Math.round(e2 * n2) / n2;
10779
10788
  }
10780
10789
  function xe(e2) {
10781
- for (var t2, n2, a = "Unexpected syntax '".concat(e2, "'"), i = /^\s*([a-z-]*)(.*)$/i.exec(e2), r2 = i[1] || void 0, o2 = {}, c = /([.:#][\w-]+|\[.+?\])/gi, l = function(d, p2) {
10782
- o2[d] = o2[d] || [], o2[d].push(p2);
10790
+ for (var t2, n2, a = "Unexpected syntax '".concat(e2, "'"), i = /^\s*([a-z-]*)(.*)$/i.exec(e2), r2 = i[1] || void 0, o2 = {}, c = /([.:#][\w-]+|\[.+?\])/gi, l = function(d2, p2) {
10791
+ o2[d2] = o2[d2] || [], o2[d2].push(p2);
10783
10792
  }; ; ) {
10784
10793
  var s = c.exec(i[2]);
10785
10794
  if (!s)
@@ -10832,8 +10841,8 @@ function Ve(e2, t2) {
10832
10841
  return new Promise(function(s) {
10833
10842
  var u = Date.now();
10834
10843
  K(l, function() {
10835
- for (var f2 = [], d = 0; d < arguments.length; d++)
10836
- f2[d] = arguments[d];
10844
+ for (var f2 = [], d2 = 0; d2 < arguments.length; d2++)
10845
+ f2[d2] = arguments[d2];
10837
10846
  var p2 = c + Date.now() - u;
10838
10847
  if (!f2[0])
10839
10848
  return s({ error: $(f2[1]), duration: p2 });
@@ -10863,8 +10872,8 @@ function Fe(e2, t2, n2) {
10863
10872
  case 0:
10864
10873
  return [4, i];
10865
10874
  case 1:
10866
- return o2 = f2.sent(), [4, _(o2, function(d) {
10867
- var p2 = d();
10875
+ return o2 = f2.sent(), [4, _(o2, function(d2) {
10876
+ var p2 = d2();
10868
10877
  return Y(p2), p2;
10869
10878
  })];
10870
10879
  case 2:
@@ -11019,7 +11028,7 @@ function Pe(e2) {
11019
11028
  e2.oncomplete = function(g) {
11020
11029
  return c(g.renderedBuffer);
11021
11030
  };
11022
- var d = function() {
11031
+ var d2 = function() {
11023
11032
  setTimeout(function() {
11024
11033
  return l(ee(
11025
11034
  "timeout"
@@ -11031,7 +11040,7 @@ function Pe(e2) {
11031
11040
  var g = e2.startRendering();
11032
11041
  switch (le(g) && Y(g), e2.state) {
11033
11042
  case "running":
11034
- f2 = Date.now(), s && d();
11043
+ f2 = Date.now(), s && d2();
11035
11044
  break;
11036
11045
  case "suspended":
11037
11046
  document.hidden || u++, s && u >= t2 ? l(ee(
@@ -11045,7 +11054,7 @@ function Pe(e2) {
11045
11054
  }
11046
11055
  };
11047
11056
  p2(), r2 = function() {
11048
- s || (s = true, f2 > 0 && d());
11057
+ s || (s = true, f2 > 0 && d2());
11049
11058
  };
11050
11059
  });
11051
11060
  return [o2, r2];
@@ -11075,17 +11084,17 @@ function ve(e2, t2, n2) {
11075
11084
  c = o2.createElement("iframe"), l.label = 4;
11076
11085
  case 4:
11077
11086
  return l.trys.push([4, , 10, 11]), [4, new Promise(function(s, u) {
11078
- var f2 = false, d = function() {
11087
+ var f2 = false, d2 = function() {
11079
11088
  f2 = true, s();
11080
11089
  }, p2 = function(b2) {
11081
11090
  f2 = true, u(b2);
11082
11091
  };
11083
- c.onload = d, c.onerror = p2;
11092
+ c.onload = d2, c.onerror = p2;
11084
11093
  var g = c.style;
11085
11094
  g.setProperty("display", "block", "important"), g.position = "absolute", g.top = "0", g.left = "0", g.visibility = "hidden", t2 && "srcdoc" in c ? c.srcdoc = t2 : c.src = "about:blank", o2.body.appendChild(c);
11086
11095
  var y = function() {
11087
11096
  var b2, w2;
11088
- f2 || (((w2 = (b2 = c.contentWindow) === null || b2 === void 0 ? void 0 : b2.document) === null || w2 === void 0 ? void 0 : w2.readyState) === "complete" ? d() : setTimeout(y, 10));
11097
+ f2 || (((w2 = (b2 = c.contentWindow) === null || b2 === void 0 ? void 0 : b2.document) === null || w2 === void 0 ? void 0 : w2.readyState) === "complete" ? d2() : setTimeout(y, 10));
11089
11098
  };
11090
11099
  y();
11091
11100
  })];
@@ -11209,10 +11218,10 @@ function Je() {
11209
11218
  return M.some(function(b2, w2) {
11210
11219
  return y[w2].offsetWidth !== r2[b2] || y[w2].offsetHeight !== o2[b2];
11211
11220
  });
11212
- }, d = s(), p2 = u();
11221
+ }, d2 = s(), p2 = u();
11213
11222
  a.appendChild(i);
11214
11223
  for (var g = 0; g < M.length; g++)
11215
- r2[M[g]] = d[g].offsetWidth, o2[M[g]] = d[g].offsetHeight;
11224
+ r2[M[g]] = d2[g].offsetWidth, o2[M[g]] = d2[g].offsetHeight;
11216
11225
  return te.filter(function(y) {
11217
11226
  return f2(p2[y]);
11218
11227
  });
@@ -11763,10 +11772,10 @@ function St(e2) {
11763
11772
  })), [4, Ct(r2)]) : [2, void 0];
11764
11773
  case 1:
11765
11774
  return o2 = s.sent(), n2 && xt(a, o2), c = i.filter(function(u) {
11766
- var f2 = a[u], d = k(f2.map(function(p2) {
11775
+ var f2 = a[u], d2 = k(f2.map(function(p2) {
11767
11776
  return o2[p2];
11768
11777
  }));
11769
- return d > f2.length * 0.6;
11778
+ return d2 > f2.length * 0.6;
11770
11779
  }), c.sort(), [2, c];
11771
11780
  }
11772
11781
  });
@@ -11887,7 +11896,7 @@ var m = Math, S = function() {
11887
11896
  return 0;
11888
11897
  };
11889
11898
  function It() {
11890
- var e2 = m.acos || S, t2 = m.acosh || S, n2 = m.asin || S, a = m.asinh || S, i = m.atanh || S, r2 = m.atan || S, o2 = m.sin || S, c = m.sinh || S, l = m.cos || S, s = m.cosh || S, u = m.tan || S, f2 = m.tanh || S, d = m.exp || S, p2 = m.expm1 || S, g = m.log1p || S, y = function(v2) {
11899
+ var e2 = m.acos || S, t2 = m.acosh || S, n2 = m.asin || S, a = m.asinh || S, i = m.atanh || S, r2 = m.atan || S, o2 = m.sin || S, c = m.sinh || S, l = m.cos || S, s = m.cosh || S, u = m.tan || S, f2 = m.tanh || S, d2 = m.exp || S, p2 = m.expm1 || S, g = m.log1p || S, y = function(v2) {
11891
11900
  return m.pow(m.PI, v2);
11892
11901
  }, b2 = function(v2) {
11893
11902
  return m.log(v2 + m.sqrt(v2 * v2 - 1));
@@ -11925,7 +11934,7 @@ function It() {
11925
11934
  tan: u(-1e300),
11926
11935
  tanh: f2(1),
11927
11936
  tanhPf: ge2(1),
11928
- exp: d(1),
11937
+ exp: d2(1),
11929
11938
  expm1: p2(1),
11930
11939
  expm1Pf: T2(1),
11931
11940
  log1p: g(10),
@@ -11958,13 +11967,13 @@ var Gt = "mmMwWLliI0fiflO&1", J = {
11958
11967
  function Yt() {
11959
11968
  return jt(function(e2, t2) {
11960
11969
  for (var n2 = {}, a = {}, i = 0, r2 = Object.keys(J); i < r2.length; i++) {
11961
- var o2 = r2[i], c = J[o2], l = c[0], s = l === void 0 ? {} : l, u = c[1], f2 = u === void 0 ? Gt : u, d = e2.createElement("span");
11962
- d.textContent = f2, d.style.whiteSpace = "nowrap";
11970
+ var o2 = r2[i], c = J[o2], l = c[0], s = l === void 0 ? {} : l, u = c[1], f2 = u === void 0 ? Gt : u, d2 = e2.createElement("span");
11971
+ d2.textContent = f2, d2.style.whiteSpace = "nowrap";
11963
11972
  for (var p2 = 0, g = Object.keys(s); p2 < g.length; p2++) {
11964
11973
  var y = g[p2], b2 = s[y];
11965
- b2 !== void 0 && (d.style[y] = b2);
11974
+ b2 !== void 0 && (d2.style[y] = b2);
11966
11975
  }
11967
- n2[o2] = d, t2.appendChild(e2.createElement("br")), t2.appendChild(d);
11976
+ n2[o2] = d2, t2.appendChild(e2.createElement("br")), t2.appendChild(d2);
11968
11977
  }
11969
11978
  for (var w2 = 0, R2 = Object.keys(J); w2 < R2.length; w2++) {
11970
11979
  var o2 = R2[w2];
@@ -12224,8 +12233,8 @@ async function cn({
12224
12233
  kountSessionId: n2
12225
12234
  }) : void 0
12226
12235
  ]);
12227
- } catch (d) {
12228
- console.error(d);
12236
+ } catch (d2) {
12237
+ console.error(d2);
12229
12238
  }
12230
12239
  return {
12231
12240
  riskMetadata: {
@@ -20632,7 +20641,7 @@ const parseCSSColor = (str) => {
20632
20641
  * @link http://noeldelgado.github.io/values.js/
20633
20642
  * @license MIT
20634
20643
  */
20635
- const defaultNumberParam = (v2, d) => v2 === null || isNaN(v2) || typeof v2 === "string" ? d : v2;
20644
+ const defaultNumberParam = (v2, d2) => v2 === null || isNaN(v2) || typeof v2 === "string" ? d2 : v2;
20636
20645
  class Values {
20637
20646
  constructor(color = "#000", type = "base", weight = 0) {
20638
20647
  [this.rgb, this.alpha, this.type, this.weight] = [[0, 0, 0], 1, type, weight];