@rebilly/instruments 16.37.0 → 16.37.1
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 +3 -3
- package/dist/index.js +71 -71
- package/dist/index.min.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
## [16.37.
|
|
1
|
+
## [16.37.1](https://github.com/Rebilly/rebilly/compare/instruments/core-v16.37.0...instruments/core-v16.37.1) (2025-12-30)
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
###
|
|
4
|
+
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
* **
|
|
6
|
+
* **framepay:** Plaid form close throwing null error ([#17371](https://github.com/Rebilly/rebilly/issues/17371)) ([27c03af](https://github.com/Rebilly/rebilly/commit/27c03afe7df01738acdadc28e3284cc688fc39bd))
|
package/dist/index.js
CHANGED
|
@@ -4804,12 +4804,12 @@ class p extends Error {
|
|
|
4804
4804
|
r2 && r2.data && r2.data.error && (l = r2.data.error), super(l), this.name = s || "RebillyError", this.response = r2, this.request = u, this.config = n2, this.status = r2 && r2.status ? r2.status : null, this.statusText = r2 && r2.statusText ? r2.statusText : null, this.details = r2 && r2.data && r2.data.details ? r2.data.details : null, this.invalidFields = r2 && r2.data && r2.data.invalidFields ? r2.data.invalidFields : null;
|
|
4805
4805
|
}
|
|
4806
4806
|
}
|
|
4807
|
-
let $
|
|
4807
|
+
let fe$1 = class fe extends p {
|
|
4808
4808
|
constructor(e2) {
|
|
4809
4809
|
super({ error: e2, name: "RebillyRequestError" });
|
|
4810
4810
|
}
|
|
4811
4811
|
};
|
|
4812
|
-
let
|
|
4812
|
+
let $e$1 = class $e extends p {
|
|
4813
4813
|
constructor(e2) {
|
|
4814
4814
|
super({ error: e2, name: "RebillyValidationError" });
|
|
4815
4815
|
}
|
|
@@ -4844,10 +4844,10 @@ class be extends p {
|
|
|
4844
4844
|
super({ error: e2, name: "RebillyCanceledError" });
|
|
4845
4845
|
}
|
|
4846
4846
|
}
|
|
4847
|
-
const
|
|
4847
|
+
const $$1 = {
|
|
4848
4848
|
RebillyError: p,
|
|
4849
|
-
RebillyRequestError: $
|
|
4850
|
-
RebillyValidationError:
|
|
4849
|
+
RebillyRequestError: fe$1,
|
|
4850
|
+
RebillyValidationError: $e$1,
|
|
4851
4851
|
RebillyNotFoundError: pe$1,
|
|
4852
4852
|
RebillyConflictError: he$1,
|
|
4853
4853
|
RebillyForbiddenError: ye$1,
|
|
@@ -5187,7 +5187,7 @@ function C$1({ options: t2 }) {
|
|
|
5187
5187
|
}
|
|
5188
5188
|
function o2() {
|
|
5189
5189
|
const i = {
|
|
5190
|
-
"REB-API-CONSUMER": `${["Rebilly", t2.appName, "js-sdk"].filter((g) => g).join("/")}@
|
|
5190
|
+
"REB-API-CONSUMER": `${["Rebilly", t2.appName, "js-sdk"].filter((g) => g).join("/")}@27c03af`
|
|
5191
5191
|
};
|
|
5192
5192
|
return t2.apiKey && (i["REB-APIKEY"] = t2.apiKey), i;
|
|
5193
5193
|
}
|
|
@@ -5197,7 +5197,7 @@ function C$1({ options: t2 }) {
|
|
|
5197
5197
|
function a(c) {
|
|
5198
5198
|
t2.requestTimeout = Number(c), e2.defaults.timeout = t2.requestTimeout;
|
|
5199
5199
|
}
|
|
5200
|
-
function
|
|
5200
|
+
function f(c = t2.jwt) {
|
|
5201
5201
|
const i = l();
|
|
5202
5202
|
t2.apiKey = null, t2.jwt = c, delete i.common["REB-APIKEY"], i.common.Authorization = `Bearer ${c}`, e2.defaults.headers = i;
|
|
5203
5203
|
}
|
|
@@ -5272,23 +5272,23 @@ function C$1({ options: t2 }) {
|
|
|
5272
5272
|
}
|
|
5273
5273
|
function F2({ error: c }) {
|
|
5274
5274
|
if (axios.isCancel(c))
|
|
5275
|
-
throw new
|
|
5275
|
+
throw new $$1.RebillyCanceledError(c);
|
|
5276
5276
|
if (c.response)
|
|
5277
5277
|
switch (Number(c.response.status)) {
|
|
5278
5278
|
case 401:
|
|
5279
|
-
throw new
|
|
5279
|
+
throw new $$1.RebillyForbiddenError(c);
|
|
5280
5280
|
case 404:
|
|
5281
|
-
throw new
|
|
5281
|
+
throw new $$1.RebillyNotFoundError(c);
|
|
5282
5282
|
case 405:
|
|
5283
|
-
throw new
|
|
5283
|
+
throw new $$1.RebillyMethodNotAllowedError(c);
|
|
5284
5284
|
case 409:
|
|
5285
|
-
throw new
|
|
5285
|
+
throw new $$1.RebillyConflictError(c);
|
|
5286
5286
|
case 422:
|
|
5287
|
-
throw new
|
|
5287
|
+
throw new $$1.RebillyValidationError(c);
|
|
5288
5288
|
default:
|
|
5289
|
-
throw new
|
|
5289
|
+
throw new $$1.RebillyRequestError(c);
|
|
5290
5290
|
}
|
|
5291
|
-
throw c.code === "ECONNABORTED" ? new
|
|
5291
|
+
throw c.code === "ECONNABORTED" ? new $$1.RebillyTimeoutError(c) : new $$1.RebillyRequestError(c);
|
|
5292
5292
|
}
|
|
5293
5293
|
function te2(c) {
|
|
5294
5294
|
return c.params !== void 0 && (c.params = Object.keys(c.params).filter(
|
|
@@ -5347,7 +5347,7 @@ function C$1({ options: t2 }) {
|
|
|
5347
5347
|
return B2(c, g, { params: m2 });
|
|
5348
5348
|
try {
|
|
5349
5349
|
if ((await N2(c)).response.status === 200)
|
|
5350
|
-
throw new
|
|
5350
|
+
throw new $$1.RebillyConflictError({
|
|
5351
5351
|
message: "A resource already exists with this ID. Please use a different ID."
|
|
5352
5352
|
});
|
|
5353
5353
|
} catch (h2) {
|
|
@@ -5373,7 +5373,7 @@ function C$1({ options: t2 }) {
|
|
|
5373
5373
|
removeResponseInterceptor: H2,
|
|
5374
5374
|
setTimeout: a,
|
|
5375
5375
|
setProxyAgent: I2,
|
|
5376
|
-
setSessionToken:
|
|
5376
|
+
setSessionToken: f,
|
|
5377
5377
|
setPublishableKey: y,
|
|
5378
5378
|
setEndpoints: S2,
|
|
5379
5379
|
get: N2,
|
|
@@ -5894,7 +5894,7 @@ function mt$1({ apiHandler: t2 }) {
|
|
|
5894
5894
|
}
|
|
5895
5895
|
};
|
|
5896
5896
|
}
|
|
5897
|
-
function $
|
|
5897
|
+
function ft$1({ apiHandler: t2 }) {
|
|
5898
5898
|
return {
|
|
5899
5899
|
/**
|
|
5900
5900
|
* @param { rebilly.GetCustomDomainCollectionRequest } request
|
|
@@ -5924,7 +5924,7 @@ function $t$1({ apiHandler: t2 }) {
|
|
|
5924
5924
|
}
|
|
5925
5925
|
};
|
|
5926
5926
|
}
|
|
5927
|
-
function
|
|
5927
|
+
function $t$1({ apiHandler: t2 }) {
|
|
5928
5928
|
return {
|
|
5929
5929
|
/**
|
|
5930
5930
|
* @returns { rebilly.GetCustomFieldCollectionResponsePromise } response
|
|
@@ -6723,8 +6723,8 @@ function Et$1({ apiHandler: t2 }) {
|
|
|
6723
6723
|
(y) => this.detach({ id: y.fields.id })
|
|
6724
6724
|
);
|
|
6725
6725
|
n2 = [...n2, a], await Promise.all(a);
|
|
6726
|
-
const
|
|
6727
|
-
return n2.push(
|
|
6726
|
+
const f = t2.delete(`files/${e2}`);
|
|
6727
|
+
return n2.push(f), f;
|
|
6728
6728
|
})();
|
|
6729
6729
|
return u.cancel = () => {
|
|
6730
6730
|
n2.forEach((o2) => o2.cancel());
|
|
@@ -8131,7 +8131,7 @@ function ms({ apiHandler: t2 }) {
|
|
|
8131
8131
|
}
|
|
8132
8132
|
};
|
|
8133
8133
|
}
|
|
8134
|
-
function
|
|
8134
|
+
function fs({ apiHandler: t2 }) {
|
|
8135
8135
|
return {
|
|
8136
8136
|
/**
|
|
8137
8137
|
* @param { rebilly.GetServiceCredentialCollectionRequest } request
|
|
@@ -8174,15 +8174,15 @@ function $s({ apiHandler: t2 }) {
|
|
|
8174
8174
|
fields: l = null,
|
|
8175
8175
|
sort: a = null
|
|
8176
8176
|
}) {
|
|
8177
|
-
const
|
|
8177
|
+
const f = { limit: n2, offset: r2, filter: u, q: o2, fields: l, sort: a };
|
|
8178
8178
|
return t2.getAll(
|
|
8179
8179
|
`service-credentials/${e2}/${s}/items`,
|
|
8180
|
-
|
|
8180
|
+
f
|
|
8181
8181
|
);
|
|
8182
8182
|
}
|
|
8183
8183
|
};
|
|
8184
8184
|
}
|
|
8185
|
-
function
|
|
8185
|
+
function $s({ apiHandler: t2 }) {
|
|
8186
8186
|
return {
|
|
8187
8187
|
/**
|
|
8188
8188
|
* @param { rebilly.GetShippingRateCollectionRequest } request
|
|
@@ -8839,13 +8839,13 @@ function Is({ apiHandler: t2 }) {
|
|
|
8839
8839
|
}
|
|
8840
8840
|
class Ss {
|
|
8841
8841
|
constructor({ apiHandler: e2 }) {
|
|
8842
|
-
this.account = _e$1({ apiHandler: e2 }), this.allowlists = He$1({ apiHandler: e2 }), this.amlChecks = et$1({ apiHandler: e2 }), this.amlSettings = tt$1({ apiHandler: e2 }), this.apiKeys = st$1({ apiHandler: e2 }), this.applicationInstances = nt$1({ apiHandler: e2 }), this.applications = rt$1({ apiHandler: e2 }), this.balanceTransactions = ut$1({ apiHandler: e2 }), this.billingPortals = ot$1({ apiHandler: e2 }), this.blocklists = lt$1({ apiHandler: e2 }), this.broadcastMessages = ct$1({ apiHandler: e2 }), this.cashiers = it$1({ apiHandler: e2 }), this.checkoutForms = gt$1({ apiHandler: e2 }), this.coupons = at$1({ apiHandler: e2 }), this.creditMemos = mt$1({ apiHandler: e2 }), this.customDomains = $
|
|
8842
|
+
this.account = _e$1({ apiHandler: e2 }), this.allowlists = He$1({ apiHandler: e2 }), this.amlChecks = et$1({ apiHandler: e2 }), this.amlSettings = tt$1({ apiHandler: e2 }), this.apiKeys = st$1({ apiHandler: e2 }), this.applicationInstances = nt$1({ apiHandler: e2 }), this.applications = rt$1({ apiHandler: e2 }), this.balanceTransactions = ut$1({ apiHandler: e2 }), this.billingPortals = ot$1({ apiHandler: e2 }), this.blocklists = lt$1({ apiHandler: e2 }), this.broadcastMessages = ct$1({ apiHandler: e2 }), this.cashiers = it$1({ apiHandler: e2 }), this.checkoutForms = gt$1({ apiHandler: e2 }), this.coupons = at$1({ apiHandler: e2 }), this.creditMemos = mt$1({ apiHandler: e2 }), this.customDomains = ft$1({ apiHandler: e2 }), this.customFields = $t$1({ apiHandler: e2 }), this.customerAuthentication = pt$1({ apiHandler: e2 }), this.customers = ht$1({ apiHandler: e2 }), this.depositCustomPropertySets = yt$1({
|
|
8843
8843
|
apiHandler: e2
|
|
8844
8844
|
}), this.depositRequests = At$1({ apiHandler: e2 }), this.depositStrategies = Rt$1({ apiHandler: e2 }), this.digitalWallets = bt$1({ apiHandler: e2 }), this.disputes = wt$1({ apiHandler: e2 }), this.emailDeliverySettings = kt$1({ apiHandler: e2 }), this.emailMessages = vt$1({ apiHandler: e2 }), this.emailNotifications = Tt$1({ apiHandler: e2 }), this.events = dt$1({ apiHandler: e2 }), this.externalIdentifiers = qt$1({ apiHandler: e2 }), this.externalServicesSettings = It$1({
|
|
8845
8845
|
apiHandler: e2
|
|
8846
8846
|
}), this.fees = St$1({ apiHandler: e2 }), this.files = Et$1({ apiHandler: e2 }), this.gatewayAccounts = xt$1({ apiHandler: e2 }), this.integrations = Pt$1({ apiHandler: e2 }), this.invoices = Ct$1({ apiHandler: e2 }), this.journalAccounts = jt$1({ apiHandler: e2 }), this.journalEntries = Dt$1({ apiHandler: e2 }), this.journalRecords = Mt$1({ apiHandler: e2 }), this.kycDocuments = Ot$1({ apiHandler: e2 }), this.kycRequests = Ft$1({ apiHandler: e2 }), this.kycSettings = Kt$1({ apiHandler: e2 }), this.lists = Nt$1({ apiHandler: e2 }), this.memberships = Bt$1({ apiHandler: e2 }), this.orderCancellations = Lt$1({ apiHandler: e2 }), this.orderPauses = zt$1({ apiHandler: e2 }), this.orderReactivations = Ut$1({ apiHandler: e2 }), this.orders = Vt$1({ apiHandler: e2 }), this.organizationExports = Jt$1({ apiHandler: e2 }), this.organizations = Wt$1({ apiHandler: e2 }), this.paymentCardsBankNames = Gt$1({ apiHandler: e2 }), this.paymentInstruments = Yt$1({ apiHandler: e2 }), this.paymentMethods = Qt$1({ apiHandler: e2 }), this.paymentTokens = Xt$1({ apiHandler: e2 }), this.payoutRequestAllocations = Zt$1({
|
|
8847
8847
|
apiHandler: e2
|
|
8848
|
-
}), this.payoutRequests = _t$1({ apiHandler: e2 }), this.payoutRequestsV2 = Ht$1({ apiHandler: e2 }), this.payouts = es({ apiHandler: e2 }), this.plans = ts({ apiHandler: e2 }), this.previews = ss({ apiHandler: e2 }), this.products = ns({ apiHandler: e2 }), this.profile = rs({ apiHandler: e2 }), this.purchase = us({ apiHandler: e2 }), this.quotes = os({ apiHandler: e2 }), this.resource = ls({ apiHandler: e2 }), this.riskScoreRules = cs({ apiHandler: e2 }), this.roles = is({ apiHandler: e2 }), this.search = gs({ apiHandler: e2 }), this.segments = as({ apiHandler: e2 }), this.sendThroughAttribution = ms({ apiHandler: e2 }), this.serviceCredentials =
|
|
8848
|
+
}), this.payoutRequests = _t$1({ apiHandler: e2 }), this.payoutRequestsV2 = Ht$1({ apiHandler: e2 }), this.payouts = es({ apiHandler: e2 }), this.plans = ts({ apiHandler: e2 }), this.previews = ss({ apiHandler: e2 }), this.products = ns({ apiHandler: e2 }), this.profile = rs({ apiHandler: e2 }), this.purchase = us({ apiHandler: e2 }), this.quotes = os({ apiHandler: e2 }), this.resource = ls({ apiHandler: e2 }), this.riskScoreRules = cs({ apiHandler: e2 }), this.roles = is({ apiHandler: e2 }), this.search = gs({ apiHandler: e2 }), this.segments = as({ apiHandler: e2 }), this.sendThroughAttribution = ms({ apiHandler: e2 }), this.serviceCredentials = fs({ apiHandler: e2 }), this.shippingRates = $s({ apiHandler: e2 }), this.status = ps({ apiHandler: e2 }), this.subscriptionCancellations = hs({
|
|
8849
8849
|
apiHandler: e2
|
|
8850
8850
|
}), this.subscriptionPauses = ys({ apiHandler: e2 }), this.subscriptionReactivations = As({
|
|
8851
8851
|
apiHandler: e2
|
|
@@ -9098,7 +9098,7 @@ function Cs({ apiHandler: t2 }) {
|
|
|
9098
9098
|
offset: l = null,
|
|
9099
9099
|
filter: a = null
|
|
9100
9100
|
}) {
|
|
9101
|
-
const
|
|
9101
|
+
const f = {
|
|
9102
9102
|
currency: e2,
|
|
9103
9103
|
bookedFrom: s,
|
|
9104
9104
|
bookedTo: n2,
|
|
@@ -9108,7 +9108,7 @@ function Cs({ apiHandler: t2 }) {
|
|
|
9108
9108
|
offset: l,
|
|
9109
9109
|
filter: a
|
|
9110
9110
|
};
|
|
9111
|
-
return t2.get("reports/journal",
|
|
9111
|
+
return t2.get("reports/journal", f);
|
|
9112
9112
|
},
|
|
9113
9113
|
/**
|
|
9114
9114
|
* @returns { rebilly.GetJournalSummaryReportResponsePromise } response
|
|
@@ -9202,7 +9202,7 @@ function Cs({ apiHandler: t2 }) {
|
|
|
9202
9202
|
limit: o2 = null,
|
|
9203
9203
|
offset: l = null,
|
|
9204
9204
|
filter: a = null,
|
|
9205
|
-
criteria:
|
|
9205
|
+
criteria: f = null
|
|
9206
9206
|
}) {
|
|
9207
9207
|
const y = {
|
|
9208
9208
|
aggregationField: e2,
|
|
@@ -9213,7 +9213,7 @@ function Cs({ apiHandler: t2 }) {
|
|
|
9213
9213
|
limit: o2,
|
|
9214
9214
|
offset: l,
|
|
9215
9215
|
filter: a,
|
|
9216
|
-
criteria:
|
|
9216
|
+
criteria: f
|
|
9217
9217
|
};
|
|
9218
9218
|
return t2.get("reports/retention-percentage", y);
|
|
9219
9219
|
},
|
|
@@ -9229,7 +9229,7 @@ function Cs({ apiHandler: t2 }) {
|
|
|
9229
9229
|
periodEnd: o2 = null,
|
|
9230
9230
|
limit: l = null,
|
|
9231
9231
|
offset: a = null,
|
|
9232
|
-
filter:
|
|
9232
|
+
filter: f = null,
|
|
9233
9233
|
sort: y = null,
|
|
9234
9234
|
criteria: I2 = null
|
|
9235
9235
|
}) {
|
|
@@ -9242,7 +9242,7 @@ function Cs({ apiHandler: t2 }) {
|
|
|
9242
9242
|
periodEnd: o2,
|
|
9243
9243
|
limit: l,
|
|
9244
9244
|
offset: a,
|
|
9245
|
-
filter:
|
|
9245
|
+
filter: f,
|
|
9246
9246
|
sort: y,
|
|
9247
9247
|
criteria: I2
|
|
9248
9248
|
};
|
|
@@ -10299,15 +10299,15 @@ function F(e2, t2, n2, a) {
|
|
|
10299
10299
|
function c(u) {
|
|
10300
10300
|
try {
|
|
10301
10301
|
s(a.next(u));
|
|
10302
|
-
} catch (
|
|
10303
|
-
o2(
|
|
10302
|
+
} catch (f) {
|
|
10303
|
+
o2(f);
|
|
10304
10304
|
}
|
|
10305
10305
|
}
|
|
10306
10306
|
function l(u) {
|
|
10307
10307
|
try {
|
|
10308
10308
|
s(a.throw(u));
|
|
10309
|
-
} catch (
|
|
10310
|
-
o2(
|
|
10309
|
+
} catch (f) {
|
|
10310
|
+
o2(f);
|
|
10311
10311
|
}
|
|
10312
10312
|
}
|
|
10313
10313
|
function s(u) {
|
|
@@ -10551,9 +10551,9 @@ function xe(e2) {
|
|
|
10551
10551
|
l("id", u.slice(1));
|
|
10552
10552
|
break;
|
|
10553
10553
|
case "[": {
|
|
10554
|
-
var
|
|
10555
|
-
if (
|
|
10556
|
-
l(
|
|
10554
|
+
var f = /^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(u);
|
|
10555
|
+
if (f)
|
|
10556
|
+
l(f[1], (n2 = (t2 = f[4]) !== null && t2 !== void 0 ? t2 : f[5]) !== null && n2 !== void 0 ? n2 : "");
|
|
10557
10557
|
else
|
|
10558
10558
|
throw new Error(a);
|
|
10559
10559
|
break;
|
|
@@ -10590,12 +10590,12 @@ function Ve(e2, t2) {
|
|
|
10590
10590
|
return new Promise(function(s) {
|
|
10591
10591
|
var u = Date.now();
|
|
10592
10592
|
K(l, function() {
|
|
10593
|
-
for (var
|
|
10594
|
-
|
|
10593
|
+
for (var f = [], d2 = 0; d2 < arguments.length; d2++)
|
|
10594
|
+
f[d2] = arguments[d2];
|
|
10595
10595
|
var p2 = c + Date.now() - u;
|
|
10596
|
-
if (!
|
|
10597
|
-
return s({ error: $(
|
|
10598
|
-
s({ value:
|
|
10596
|
+
if (!f[0])
|
|
10597
|
+
return s({ error: $(f[1]), duration: p2 });
|
|
10598
|
+
s({ value: f[1], duration: p2 });
|
|
10599
10599
|
});
|
|
10600
10600
|
});
|
|
10601
10601
|
});
|
|
@@ -10616,23 +10616,23 @@ function Fe(e2, t2, n2) {
|
|
|
10616
10616
|
return Y(i), function() {
|
|
10617
10617
|
return F(this, void 0, void 0, function() {
|
|
10618
10618
|
var o2, c, l, s, u;
|
|
10619
|
-
return W(this, function(
|
|
10620
|
-
switch (
|
|
10619
|
+
return W(this, function(f) {
|
|
10620
|
+
switch (f.label) {
|
|
10621
10621
|
case 0:
|
|
10622
10622
|
return [4, i];
|
|
10623
10623
|
case 1:
|
|
10624
|
-
return o2 =
|
|
10624
|
+
return o2 = f.sent(), [4, _(o2, function(d2) {
|
|
10625
10625
|
var p2 = d2();
|
|
10626
10626
|
return Y(p2), p2;
|
|
10627
10627
|
})];
|
|
10628
10628
|
case 2:
|
|
10629
|
-
return c =
|
|
10629
|
+
return c = f.sent(), [
|
|
10630
10630
|
4,
|
|
10631
10631
|
Promise.all(c)
|
|
10632
10632
|
// Keeping the component keys order the same as the source keys order
|
|
10633
10633
|
];
|
|
10634
10634
|
case 3:
|
|
10635
|
-
for (l =
|
|
10635
|
+
for (l = f.sent(), s = {}, u = 0; u < a.length; ++u)
|
|
10636
10636
|
s[a[u]] = l[u];
|
|
10637
10637
|
return [2, s];
|
|
10638
10638
|
}
|
|
@@ -10756,12 +10756,12 @@ function Ye() {
|
|
|
10756
10756
|
r2.type = "triangle", r2.frequency.value = 1e4;
|
|
10757
10757
|
var o2 = i.createDynamicsCompressor();
|
|
10758
10758
|
o2.threshold.value = -50, o2.knee.value = 40, o2.ratio.value = 12, o2.attack.value = 0, o2.release.value = 0.25, r2.connect(o2), o2.connect(i.destination), r2.start(0);
|
|
10759
|
-
var c = Pe(i), l = c[0], s = c[1], u = l.then(function(
|
|
10760
|
-
return Xe(
|
|
10761
|
-
}, function(
|
|
10762
|
-
if (
|
|
10759
|
+
var c = Pe(i), l = c[0], s = c[1], u = l.then(function(f) {
|
|
10760
|
+
return Xe(f.getChannelData(0).subarray(n2));
|
|
10761
|
+
}, function(f) {
|
|
10762
|
+
if (f.name === "timeout" || f.name === "suspended")
|
|
10763
10763
|
return -3;
|
|
10764
|
-
throw
|
|
10764
|
+
throw f;
|
|
10765
10765
|
});
|
|
10766
10766
|
return Y(u), function() {
|
|
10767
10767
|
return s(), u;
|
|
@@ -10773,7 +10773,7 @@ function je() {
|
|
|
10773
10773
|
function Pe(e2) {
|
|
10774
10774
|
var t2 = 3, n2 = 500, a = 500, i = 5e3, r2 = function() {
|
|
10775
10775
|
}, o2 = new Promise(function(c, l) {
|
|
10776
|
-
var s = false, u = 0,
|
|
10776
|
+
var s = false, u = 0, f = 0;
|
|
10777
10777
|
e2.oncomplete = function(g) {
|
|
10778
10778
|
return c(g.renderedBuffer);
|
|
10779
10779
|
};
|
|
@@ -10783,13 +10783,13 @@ function Pe(e2) {
|
|
|
10783
10783
|
"timeout"
|
|
10784
10784
|
/* InnerErrorName.Timeout */
|
|
10785
10785
|
));
|
|
10786
|
-
}, Math.min(a,
|
|
10786
|
+
}, Math.min(a, f + i - Date.now()));
|
|
10787
10787
|
}, p2 = function() {
|
|
10788
10788
|
try {
|
|
10789
10789
|
var g = e2.startRendering();
|
|
10790
10790
|
switch (le(g) && Y(g), e2.state) {
|
|
10791
10791
|
case "running":
|
|
10792
|
-
|
|
10792
|
+
f = Date.now(), s && d2();
|
|
10793
10793
|
break;
|
|
10794
10794
|
case "suspended":
|
|
10795
10795
|
document.hidden || u++, s && u >= t2 ? l(ee(
|
|
@@ -10803,7 +10803,7 @@ function Pe(e2) {
|
|
|
10803
10803
|
}
|
|
10804
10804
|
};
|
|
10805
10805
|
p2(), r2 = function() {
|
|
10806
|
-
s || (s = true,
|
|
10806
|
+
s || (s = true, f > 0 && d2());
|
|
10807
10807
|
};
|
|
10808
10808
|
});
|
|
10809
10809
|
return [o2, r2];
|
|
@@ -10833,17 +10833,17 @@ function ve(e2, t2, n2) {
|
|
|
10833
10833
|
c = o2.createElement("iframe"), l.label = 4;
|
|
10834
10834
|
case 4:
|
|
10835
10835
|
return l.trys.push([4, , 10, 11]), [4, new Promise(function(s, u) {
|
|
10836
|
-
var
|
|
10837
|
-
|
|
10836
|
+
var f = false, d2 = function() {
|
|
10837
|
+
f = true, s();
|
|
10838
10838
|
}, p2 = function(b2) {
|
|
10839
|
-
|
|
10839
|
+
f = true, u(b2);
|
|
10840
10840
|
};
|
|
10841
10841
|
c.onload = d2, c.onerror = p2;
|
|
10842
10842
|
var g = c.style;
|
|
10843
10843
|
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);
|
|
10844
10844
|
var y = function() {
|
|
10845
10845
|
var b2, w2;
|
|
10846
|
-
|
|
10846
|
+
f || (((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));
|
|
10847
10847
|
};
|
|
10848
10848
|
y();
|
|
10849
10849
|
})];
|
|
@@ -10963,7 +10963,7 @@ function Je() {
|
|
|
10963
10963
|
b2(D2);
|
|
10964
10964
|
}
|
|
10965
10965
|
return y;
|
|
10966
|
-
},
|
|
10966
|
+
}, f = function(y) {
|
|
10967
10967
|
return M.some(function(b2, w2) {
|
|
10968
10968
|
return y[w2].offsetWidth !== r2[b2] || y[w2].offsetHeight !== o2[b2];
|
|
10969
10969
|
});
|
|
@@ -10972,7 +10972,7 @@ function Je() {
|
|
|
10972
10972
|
for (var g = 0; g < M.length; g++)
|
|
10973
10973
|
r2[M[g]] = d2[g].offsetWidth, o2[M[g]] = d2[g].offsetHeight;
|
|
10974
10974
|
return te.filter(function(y) {
|
|
10975
|
-
return
|
|
10975
|
+
return f(p2[y]);
|
|
10976
10976
|
});
|
|
10977
10977
|
});
|
|
10978
10978
|
}
|
|
@@ -11521,10 +11521,10 @@ function St(e2) {
|
|
|
11521
11521
|
})), [4, Ct(r2)]) : [2, void 0];
|
|
11522
11522
|
case 1:
|
|
11523
11523
|
return o2 = s.sent(), n2 && xt(a, o2), c = i.filter(function(u) {
|
|
11524
|
-
var
|
|
11524
|
+
var f = a[u], d2 = k(f.map(function(p2) {
|
|
11525
11525
|
return o2[p2];
|
|
11526
11526
|
}));
|
|
11527
|
-
return d2 >
|
|
11527
|
+
return d2 > f.length * 0.6;
|
|
11528
11528
|
}), c.sort(), [2, c];
|
|
11529
11529
|
}
|
|
11530
11530
|
});
|
|
@@ -11645,7 +11645,7 @@ var m = Math, S = function() {
|
|
|
11645
11645
|
return 0;
|
|
11646
11646
|
};
|
|
11647
11647
|
function It() {
|
|
11648
|
-
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,
|
|
11648
|
+
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, f = m.tanh || S, d2 = m.exp || S, p2 = m.expm1 || S, g = m.log1p || S, y = function(v2) {
|
|
11649
11649
|
return m.pow(m.PI, v2);
|
|
11650
11650
|
}, b2 = function(v2) {
|
|
11651
11651
|
return m.log(v2 + m.sqrt(v2 * v2 - 1));
|
|
@@ -11681,7 +11681,7 @@ function It() {
|
|
|
11681
11681
|
cosh: s(1),
|
|
11682
11682
|
coshPf: P2(1),
|
|
11683
11683
|
tan: u(-1e300),
|
|
11684
|
-
tanh:
|
|
11684
|
+
tanh: f(1),
|
|
11685
11685
|
tanhPf: ge2(1),
|
|
11686
11686
|
exp: d2(1),
|
|
11687
11687
|
expm1: p2(1),
|
|
@@ -11716,8 +11716,8 @@ var Gt = "mmMwWLliI0fiflO&1", J = {
|
|
|
11716
11716
|
function Yt() {
|
|
11717
11717
|
return jt(function(e2, t2) {
|
|
11718
11718
|
for (var n2 = {}, a = {}, i = 0, r2 = Object.keys(J); i < r2.length; i++) {
|
|
11719
|
-
var o2 = r2[i], c = J[o2], l = c[0], s = l === void 0 ? {} : l, u = c[1],
|
|
11720
|
-
d2.textContent =
|
|
11719
|
+
var o2 = r2[i], c = J[o2], l = c[0], s = l === void 0 ? {} : l, u = c[1], f = u === void 0 ? Gt : u, d2 = e2.createElement("span");
|
|
11720
|
+
d2.textContent = f, d2.style.whiteSpace = "nowrap";
|
|
11721
11721
|
for (var p2 = 0, g = Object.keys(s); p2 < g.length; p2++) {
|
|
11722
11722
|
var y = g[p2], b2 = s[y];
|
|
11723
11723
|
b2 !== void 0 && (d2.style[y] = b2);
|