chore: update source for stable 346.13
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4821.js (118.4 MB)
This commit is contained in:
parent
574e6b401a
commit
e2bc0408ee
19631 changed files with 790267 additions and 784031 deletions
11386
stable/source.jsonl
11386
stable/source.jsonl
File diff suppressed because it is too large
Load diff
File diff suppressed because one or more lines are too long
|
|
@ -50,7 +50,7 @@ let closure_7 = async function _queryCache(arg0, value) {
|
|||
const use = fn(19).use;
|
||||
const jsx = fn(21).jsx;
|
||||
let closure_6 = 1;
|
||||
let closure_8 = { uri: "Array", width: "accessible", height: "then" };
|
||||
let closure_8 = { uri: "getCurrentUser", width: "call", height: "skuId" };
|
||||
function _BaseImage(arg0) {
|
||||
({ alt, accessible, aria-labelledby: tmp, aria-busy: tmp2, aria-checked: tmp3, aria-disabled: tmp4, aria-expanded: tmp5, aria-label: tmp7, aria-selected: tmp8, accessibilityLabel, accessibilityLabelledBy, accessibilityState, defaultSource, loadingIndicatorSource, style, onLoadStart, onLoad, onLoadEnd, onError, width, height } = arg0);
|
||||
({ ref, aria-hidden: tmp6, children, source, src, crossOrigin, referrerPolicy, srcSet, resizeMode } = arg0);
|
||||
|
|
|
|||
|
|
@ -60,7 +60,7 @@ export default function processTransform(str) {
|
|||
let entry2 = { key: tmp3, value: Number(match2[1]) };
|
||||
entry1 = entry2;
|
||||
} else {
|
||||
let entry3 = { key: tmp3, value: "a" };
|
||||
let entry3 = { key: tmp3, value: "Array" };
|
||||
entry1 = entry3;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -58,10 +58,10 @@ function _getGraphQLOperation(operationName) {
|
|||
} else {
|
||||
const match1 = query.match(/^(?:\s*)(query|mutation|subscription)(?:\s*)[{(]/);
|
||||
if (match1) {
|
||||
const obj3 = { operationType: match1[1], operationName: "a" };
|
||||
const obj3 = { operationType: match1[1], operationName: "Array" };
|
||||
obj = obj3;
|
||||
} else {
|
||||
obj = { operationType: "transform", operationName: "call" };
|
||||
obj = { operationType: "Array", operationName: "PX_16" };
|
||||
}
|
||||
}
|
||||
let operationName2 = obj.operationName;
|
||||
|
|
@ -334,10 +334,10 @@ export const parseGraphQLQuery = function parseGraphQLQuery(str) {
|
|||
} else {
|
||||
const match1 = str.match(/^(?:\s*)(query|mutation|subscription)(?:\s*)[{(]/);
|
||||
if (match1) {
|
||||
const obj3 = { operationType: match1[1], operationName: "a" };
|
||||
const obj3 = { operationType: match1[1], operationName: "Array" };
|
||||
let obj = obj3;
|
||||
} else {
|
||||
obj = { operationType: "transform", operationName: "call" };
|
||||
obj = { operationType: "Array", operationName: "PX_16" };
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ function _shift(fn) {
|
|||
function createIndexedDbStore(arg0) {
|
||||
let dbName = arg0;
|
||||
function getStore() {
|
||||
if (null == f71803) {
|
||||
if (null == f72208) {
|
||||
let str = dbName.dbName;
|
||||
if (!str) {
|
||||
str = "sentry-offline";
|
||||
|
|
@ -154,12 +154,12 @@ function createIndexedDbStore(arg0) {
|
|||
closure_0.onerror = fn2;
|
||||
closure_0.onabort = fn2;
|
||||
});
|
||||
f71803 = (arg0) => {
|
||||
f72208 = (arg0) => {
|
||||
closure_0 = arg0;
|
||||
return promise.then((transaction) => closure_0(transaction.transaction(openResult, "readwrite").objectStore(openResult)));
|
||||
};
|
||||
}
|
||||
return f71803;
|
||||
return f72208;
|
||||
}
|
||||
const obj = { push: null, unshift: null, shift: null };
|
||||
closure_4 = asyncGeneratorStep(async (arg0, value) => {
|
||||
|
|
|
|||
1039
stable/source/__helpers/01xxx/1271__createForOfIteratorHelper.js
Normal file
1039
stable/source/__helpers/01xxx/1271__createForOfIteratorHelper.js
Normal file
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
36
stable/source/__helpers/01xxx/1284__Symbol.js
Normal file
36
stable/source/__helpers/01xxx/1284__Symbol.js
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
// Module ID: 1284
|
||||
// Function ID: 1285
|
||||
// Name: _Symbol
|
||||
// Dependencies: [1285]
|
||||
|
||||
// Module 1284 (_Symbol)
|
||||
import _mod1285 from "module_1285" /* 1285 */;
|
||||
|
||||
let _Symbol = typeof Symbol !== "undefined";
|
||||
if (typeof Symbol !== "undefined") {
|
||||
_Symbol = Symbol;
|
||||
}
|
||||
|
||||
export default function hasNativeSymbols() {
|
||||
let tmp2 = typeof _Symbol === "function";
|
||||
if (typeof _Symbol === "function") {
|
||||
_Symbol = Symbol;
|
||||
let tmp4 = typeof Symbol === "function";
|
||||
if (typeof Symbol === "function") {
|
||||
const tmpResult = tmp("foo");
|
||||
let tmp3 = typeof tmpResult === "symbol";
|
||||
if (typeof tmpResult === "symbol") {
|
||||
const _Symbol2 = Symbol;
|
||||
const SymbolResult = Symbol("bar");
|
||||
let tmp8 = typeof SymbolResult === "symbol";
|
||||
if (typeof SymbolResult === "symbol") {
|
||||
tmp8 = _mod1285();
|
||||
}
|
||||
tmp3 = tmp8;
|
||||
}
|
||||
tmp4 = tmp3;
|
||||
}
|
||||
tmp2 = tmp4;
|
||||
}
|
||||
return tmp2;
|
||||
};
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
// Module ID: 1286
|
||||
// Function ID: 1287
|
||||
// Name: _Symbol
|
||||
// Dependencies: [1287]
|
||||
|
||||
// Module 1286 (_Symbol)
|
||||
import _mod1287 from "module_1287" /* 1287 */;
|
||||
|
||||
let _Symbol = typeof Symbol !== "undefined";
|
||||
if (typeof Symbol !== "undefined") {
|
||||
_Symbol = Symbol;
|
||||
}
|
||||
|
||||
export default function hasNativeSymbols() {
|
||||
let tmp2 = typeof _Symbol === "function";
|
||||
if (typeof _Symbol === "function") {
|
||||
_Symbol = Symbol;
|
||||
let tmp4 = typeof Symbol === "function";
|
||||
if (typeof Symbol === "function") {
|
||||
const tmpResult = tmp("foo");
|
||||
let tmp3 = typeof tmpResult === "symbol";
|
||||
if (typeof tmpResult === "symbol") {
|
||||
const _Symbol2 = Symbol;
|
||||
const SymbolResult = Symbol("bar");
|
||||
let tmp8 = typeof SymbolResult === "symbol";
|
||||
if (typeof SymbolResult === "symbol") {
|
||||
tmp8 = _mod1287();
|
||||
}
|
||||
tmp3 = tmp8;
|
||||
}
|
||||
tmp4 = tmp3;
|
||||
}
|
||||
tmp2 = tmp4;
|
||||
}
|
||||
return tmp2;
|
||||
};
|
||||
|
|
@ -1,174 +0,0 @@
|
|||
// Module ID: 4173
|
||||
// Function ID: 4174
|
||||
// Name: _
|
||||
// Dependencies: [4153]
|
||||
|
||||
// Module 4173 (_)
|
||||
import _mod4153 from "module_4153" /* 4153 */;
|
||||
|
||||
const fn = function _(moment) {
|
||||
function relativeTimeWithPlural(arg0, arg1, arg2) {
|
||||
if ("m" === arg2) {
|
||||
let str5 = "\u043C\u0438\u043D\u0443\u0442\u0443";
|
||||
if (arg1) {
|
||||
str5 = "\u043C\u0438\u043D\u0443\u0442\u0430";
|
||||
}
|
||||
let sum = str5;
|
||||
} else {
|
||||
let str = "\u0441\u0435\u043A\u0443\u043D\u0434\u0443_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434";
|
||||
const text = `${arg0} `;
|
||||
if (arg1) {
|
||||
str = "\u0441\u0435\u043A\u0443\u043D\u0434\u0430_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434";
|
||||
}
|
||||
const obj = { ss: str, mm: null, hh: "\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043E\u0432", dd: "\u0434\u0435\u043D\u044C_\u0434\u043D\u044F_\u0434\u043D\u0435\u0439", ww: "\u043D\u0435\u0434\u0435\u043B\u044F_\u043D\u0435\u0434\u0435\u043B\u0438_\u043D\u0435\u0434\u0435\u043B\u044C", MM: "\u043C\u0435\u0441\u044F\u0446_\u043C\u0435\u0441\u044F\u0446\u0430_\u043C\u0435\u0441\u044F\u0446\u0435\u0432", yy: "\u0433\u043E\u0434_\u0433\u043E\u0434\u0430_\u043B\u0435\u0442" };
|
||||
let str2 = "\u043C\u0438\u043D\u0443\u0442\u0443_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442";
|
||||
if (arg1) {
|
||||
str2 = "\u043C\u0438\u043D\u0443\u0442\u0430_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442";
|
||||
}
|
||||
obj.mm = str2;
|
||||
const parts = obj[arg2].split("_");
|
||||
const result = tmp % 10;
|
||||
if (result === 1) {
|
||||
if (tmp % 100 !== 11) {
|
||||
let first = parts[0];
|
||||
}
|
||||
sum = text + first;
|
||||
}
|
||||
if (2 <= result) {
|
||||
if (result <= 4) {
|
||||
const result1 = tmp % 100;
|
||||
first = parts[1];
|
||||
}
|
||||
}
|
||||
first = parts[2];
|
||||
}
|
||||
return sum;
|
||||
}
|
||||
const items = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i];
|
||||
let obj = { months: { format: "\u044F\u043D\u0432\u0430\u0440\u044F_\u0444\u0435\u0432\u0440\u0430\u043B\u044F_\u043C\u0430\u0440\u0442\u0430_\u0430\u043F\u0440\u0435\u043B\u044F_\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F_\u043E\u043A\u0442\u044F\u0431\u0440\u044F_\u043D\u043E\u044F\u0431\u0440\u044F_\u0434\u0435\u043A\u0430\u0431\u0440\u044F".split("_"), standalone: "\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_") }, monthsShort: null, weekdays: null, weekdaysShort: null, weekdaysMin: null, monthsParse: null, longMonthsParse: null, shortMonthsParse: null, monthsRegex: null, monthsShortRegex: null, monthsStrictRegex: null, monthsShortStrictRegex: null, longDateFormat: null, calendar: null, relativeTime: null, meridiemParse: null, isPM: null, meridiem: null, dayOfMonthOrdinalParse: null, ordinal: null, week: null };
|
||||
const obj2 = { format: "\u044F\u043D\u0432\u0430\u0440\u044F_\u0444\u0435\u0432\u0440\u0430\u043B\u044F_\u043C\u0430\u0440\u0442\u0430_\u0430\u043F\u0440\u0435\u043B\u044F_\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F_\u043E\u043A\u0442\u044F\u0431\u0440\u044F_\u043D\u043E\u044F\u0431\u0440\u044F_\u0434\u0435\u043A\u0430\u0431\u0440\u044F".split("_"), standalone: "\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_") };
|
||||
obj.monthsShort = { format: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440._\u0430\u043F\u0440._\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"), standalone: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440\u0442_\u0430\u043F\u0440._\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_") };
|
||||
const obj3 = { format: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440._\u0430\u043F\u0440._\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"), standalone: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440\u0442_\u0430\u043F\u0440._\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_") };
|
||||
obj.weekdays = { standalone: "\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043E\u0442\u0430".split("_"), format: "\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043E\u0442\u0443".split("_"), isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/ };
|
||||
obj.weekdaysShort = "\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_");
|
||||
obj.weekdaysMin = "\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_");
|
||||
obj.monthsParse = items;
|
||||
obj.longMonthsParse = items;
|
||||
obj.shortMonthsParse = items;
|
||||
obj.monthsRegex = /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i;
|
||||
obj.monthsShortRegex = /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i;
|
||||
obj.monthsStrictRegex = /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i;
|
||||
obj.monthsShortStrictRegex = /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i;
|
||||
obj.longDateFormat = { LT: "H:mm", LTS: "H:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY \u0433.", LLL: "D MMMM YYYY \u0433., H:mm", LLLL: "dddd, D MMMM YYYY \u0433., H:mm" };
|
||||
obj.calendar = {
|
||||
sameDay: "[\u0421\u0435\u0433\u043E\u0434\u043D\u044F, \u0432] LT",
|
||||
nextDay: "[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",
|
||||
lastDay: "[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",
|
||||
nextWeek(week) {
|
||||
const self = this;
|
||||
if (weekResult === this.week()) {
|
||||
let str4 = "[\u0412] dddd, [\u0432] LT";
|
||||
if (2 === self.day()) {
|
||||
str4 = "[\u0412\u043E] dddd, [\u0432] LT";
|
||||
}
|
||||
return str4;
|
||||
} else {
|
||||
const dayResult = self.day();
|
||||
if (0 === dayResult) {
|
||||
return "[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435] dddd, [\u0432] LT";
|
||||
} else {
|
||||
if (1 !== dayResult) {
|
||||
if (2 !== dayResult) {
|
||||
if (4 !== dayResult) {
|
||||
return "[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E] dddd, [\u0432] LT";
|
||||
}
|
||||
}
|
||||
}
|
||||
return "[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439] dddd, [\u0432] LT";
|
||||
}
|
||||
}
|
||||
weekResult = week.week();
|
||||
},
|
||||
lastWeek(week) {
|
||||
const self = this;
|
||||
if (weekResult === this.week()) {
|
||||
let str4 = "[\u0412] dddd, [\u0432] LT";
|
||||
if (2 === self.day()) {
|
||||
str4 = "[\u0412\u043E] dddd, [\u0432] LT";
|
||||
}
|
||||
return str4;
|
||||
} else {
|
||||
const dayResult = self.day();
|
||||
if (0 === dayResult) {
|
||||
return "[\u0412 \u043F\u0440\u043E\u0448\u043B\u043E\u0435] dddd, [\u0432] LT";
|
||||
} else {
|
||||
if (1 !== dayResult) {
|
||||
if (2 !== dayResult) {
|
||||
if (4 !== dayResult) {
|
||||
return "[\u0412 \u043F\u0440\u043E\u0448\u043B\u0443\u044E] dddd, [\u0432] LT";
|
||||
}
|
||||
}
|
||||
}
|
||||
return "[\u0412 \u043F\u0440\u043E\u0448\u043B\u044B\u0439] dddd, [\u0432] LT";
|
||||
}
|
||||
}
|
||||
weekResult = week.week();
|
||||
},
|
||||
sameElse: "L"
|
||||
};
|
||||
obj.relativeTime = { future: "\u0447\u0435\u0440\u0435\u0437 %s", past: "%s \u043D\u0430\u0437\u0430\u0434", s: "\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434", ss: relativeTimeWithPlural, m: relativeTimeWithPlural, mm: relativeTimeWithPlural, h: "\u0447\u0430\u0441", hh: relativeTimeWithPlural, d: "\u0434\u0435\u043D\u044C", dd: relativeTimeWithPlural, w: "\u043D\u0435\u0434\u0435\u043B\u044F", ww: relativeTimeWithPlural, M: "\u043C\u0435\u0441\u044F\u0446", MM: relativeTimeWithPlural, y: "\u0433\u043E\u0434", yy: relativeTimeWithPlural };
|
||||
obj.meridiemParse = /ночи|утра|дня|вечера/i;
|
||||
obj.isPM = function isPM(arg0) {
|
||||
return /^(дня|вечера)$/.test(arg0);
|
||||
};
|
||||
obj.meridiem = function meridiem(arg0, arg1, arg2) {
|
||||
let str = "\u043D\u043E\u0447\u0438";
|
||||
if (arg0 >= 4) {
|
||||
let str2 = "\u0443\u0442\u0440\u0430";
|
||||
if (arg0 >= 12) {
|
||||
let str3 = "\u0432\u0435\u0447\u0435\u0440\u0430";
|
||||
if (arg0 < 17) {
|
||||
str3 = "\u0434\u043D\u044F";
|
||||
}
|
||||
str2 = str3;
|
||||
}
|
||||
str = str2;
|
||||
}
|
||||
return str;
|
||||
};
|
||||
obj.dayOfMonthOrdinalParse = /\d{1,2}-(й|го|я)/;
|
||||
obj.ordinal = function ordinal(arg0, arg1) {
|
||||
if ("M" !== arg1) {
|
||||
if ("d" !== arg1) {
|
||||
if ("DDD" !== arg1) {
|
||||
if ("D" === arg1) {
|
||||
return arg0 + "-\u0433\u043E";
|
||||
} else {
|
||||
if ("w" !== arg1) {
|
||||
if ("W" !== arg1) {
|
||||
return arg0;
|
||||
}
|
||||
}
|
||||
return arg0 + "-\u044F";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return arg0 + "-\u0439";
|
||||
};
|
||||
obj.week = { dow: 1, doy: 4 };
|
||||
return moment.defineLocale("ru", obj);
|
||||
};
|
||||
if (typeof exports === "object") {
|
||||
if (undefined !== module) {
|
||||
if (typeof require === "function") {
|
||||
fn(_mod4153);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (typeof globalThis.define === "function") {
|
||||
if (globalThis.define.amd) {
|
||||
globalThis.define(["../moment"], fn);
|
||||
}
|
||||
}
|
||||
fn(this.moment);
|
||||
174
stable/source/__helpers/04xxx/4248__.js
Normal file
174
stable/source/__helpers/04xxx/4248__.js
Normal file
|
|
@ -0,0 +1,174 @@
|
|||
// Module ID: 4248
|
||||
// Function ID: 4249
|
||||
// Name: _
|
||||
// Dependencies: [4228]
|
||||
|
||||
// Module 4248 (_)
|
||||
import _mod4228 from "module_4228" /* 4228 */;
|
||||
|
||||
const fn = function _(moment) {
|
||||
function relativeTimeWithPlural(arg0, arg1, arg2) {
|
||||
if ("m" === arg2) {
|
||||
let str5 = "\u043C\u0438\u043D\u0443\u0442\u0443";
|
||||
if (arg1) {
|
||||
str5 = "\u043C\u0438\u043D\u0443\u0442\u0430";
|
||||
}
|
||||
let sum = str5;
|
||||
} else {
|
||||
let str = "\u0441\u0435\u043A\u0443\u043D\u0434\u0443_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434";
|
||||
const text = `${arg0} `;
|
||||
if (arg1) {
|
||||
str = "\u0441\u0435\u043A\u0443\u043D\u0434\u0430_\u0441\u0435\u043A\u0443\u043D\u0434\u044B_\u0441\u0435\u043A\u0443\u043D\u0434";
|
||||
}
|
||||
const obj = { ss: str, mm: null, hh: "\u0447\u0430\u0441_\u0447\u0430\u0441\u0430_\u0447\u0430\u0441\u043E\u0432", dd: "\u0434\u0435\u043D\u044C_\u0434\u043D\u044F_\u0434\u043D\u0435\u0439", ww: "\u043D\u0435\u0434\u0435\u043B\u044F_\u043D\u0435\u0434\u0435\u043B\u0438_\u043D\u0435\u0434\u0435\u043B\u044C", MM: "\u043C\u0435\u0441\u044F\u0446_\u043C\u0435\u0441\u044F\u0446\u0430_\u043C\u0435\u0441\u044F\u0446\u0435\u0432", yy: "\u0433\u043E\u0434_\u0433\u043E\u0434\u0430_\u043B\u0435\u0442" };
|
||||
let str2 = "\u043C\u0438\u043D\u0443\u0442\u0443_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442";
|
||||
if (arg1) {
|
||||
str2 = "\u043C\u0438\u043D\u0443\u0442\u0430_\u043C\u0438\u043D\u0443\u0442\u044B_\u043C\u0438\u043D\u0443\u0442";
|
||||
}
|
||||
obj.mm = str2;
|
||||
const parts = obj[arg2].split("_");
|
||||
const result = tmp % 10;
|
||||
if (result === 1) {
|
||||
if (tmp % 100 !== 11) {
|
||||
let first = parts[0];
|
||||
}
|
||||
sum = text + first;
|
||||
}
|
||||
if (2 <= result) {
|
||||
if (result <= 4) {
|
||||
const result1 = tmp % 100;
|
||||
first = parts[1];
|
||||
}
|
||||
}
|
||||
first = parts[2];
|
||||
}
|
||||
return sum;
|
||||
}
|
||||
const items = [/^янв/i, /^фев/i, /^мар/i, /^апр/i, /^ма[йя]/i, /^июн/i, /^июл/i, /^авг/i, /^сен/i, /^окт/i, /^ноя/i, /^дек/i];
|
||||
let obj = { months: { format: "\u044F\u043D\u0432\u0430\u0440\u044F_\u0444\u0435\u0432\u0440\u0430\u043B\u044F_\u043C\u0430\u0440\u0442\u0430_\u0430\u043F\u0440\u0435\u043B\u044F_\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F_\u043E\u043A\u0442\u044F\u0431\u0440\u044F_\u043D\u043E\u044F\u0431\u0440\u044F_\u0434\u0435\u043A\u0430\u0431\u0440\u044F".split("_"), standalone: "\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_") }, monthsShort: null, weekdays: null, weekdaysShort: null, weekdaysMin: null, monthsParse: null, longMonthsParse: null, shortMonthsParse: null, monthsRegex: null, monthsShortRegex: null, monthsStrictRegex: null, monthsShortStrictRegex: null, longDateFormat: null, calendar: null, relativeTime: null, meridiemParse: null, isPM: null, meridiem: null, dayOfMonthOrdinalParse: null, ordinal: null, week: null };
|
||||
const obj2 = { format: "\u044F\u043D\u0432\u0430\u0440\u044F_\u0444\u0435\u0432\u0440\u0430\u043B\u044F_\u043C\u0430\u0440\u0442\u0430_\u0430\u043F\u0440\u0435\u043B\u044F_\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433\u0443\u0441\u0442\u0430_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F_\u043E\u043A\u0442\u044F\u0431\u0440\u044F_\u043D\u043E\u044F\u0431\u0440\u044F_\u0434\u0435\u043A\u0430\u0431\u0440\u044F".split("_"), standalone: "\u044F\u043D\u0432\u0430\u0440\u044C_\u0444\u0435\u0432\u0440\u0430\u043B\u044C_\u043C\u0430\u0440\u0442_\u0430\u043F\u0440\u0435\u043B\u044C_\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433\u0443\u0441\u0442_\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C_\u043E\u043A\u0442\u044F\u0431\u0440\u044C_\u043D\u043E\u044F\u0431\u0440\u044C_\u0434\u0435\u043A\u0430\u0431\u0440\u044C".split("_") };
|
||||
obj.monthsShort = { format: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440._\u0430\u043F\u0440._\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"), standalone: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440\u0442_\u0430\u043F\u0440._\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_") };
|
||||
const obj3 = { format: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440._\u0430\u043F\u0440._\u043C\u0430\u044F_\u0438\u044E\u043D\u044F_\u0438\u044E\u043B\u044F_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_"), standalone: "\u044F\u043D\u0432._\u0444\u0435\u0432\u0440._\u043C\u0430\u0440\u0442_\u0430\u043F\u0440._\u043C\u0430\u0439_\u0438\u044E\u043D\u044C_\u0438\u044E\u043B\u044C_\u0430\u0432\u0433._\u0441\u0435\u043D\u0442._\u043E\u043A\u0442._\u043D\u043E\u044F\u0431._\u0434\u0435\u043A.".split("_") };
|
||||
obj.weekdays = { standalone: "\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0430_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0430_\u0441\u0443\u0431\u0431\u043E\u0442\u0430".split("_"), format: "\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435_\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A_\u0432\u0442\u043E\u0440\u043D\u0438\u043A_\u0441\u0440\u0435\u0434\u0443_\u0447\u0435\u0442\u0432\u0435\u0440\u0433_\u043F\u044F\u0442\u043D\u0438\u0446\u0443_\u0441\u0443\u0431\u0431\u043E\u0442\u0443".split("_"), isFormat: /\[ ?[Вв] ?(?:прошлую|следующую|эту)? ?] ?dddd/ };
|
||||
obj.weekdaysShort = "\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_");
|
||||
obj.weekdaysMin = "\u0432\u0441_\u043F\u043D_\u0432\u0442_\u0441\u0440_\u0447\u0442_\u043F\u0442_\u0441\u0431".split("_");
|
||||
obj.monthsParse = items;
|
||||
obj.longMonthsParse = items;
|
||||
obj.shortMonthsParse = items;
|
||||
obj.monthsRegex = /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i;
|
||||
obj.monthsShortRegex = /^(январ[ья]|янв\.?|феврал[ья]|февр?\.?|марта?|мар\.?|апрел[ья]|апр\.?|ма[йя]|июн[ья]|июн\.?|июл[ья]|июл\.?|августа?|авг\.?|сентябр[ья]|сент?\.?|октябр[ья]|окт\.?|ноябр[ья]|нояб?\.?|декабр[ья]|дек\.?)/i;
|
||||
obj.monthsStrictRegex = /^(январ[яь]|феврал[яь]|марта?|апрел[яь]|ма[яй]|июн[яь]|июл[яь]|августа?|сентябр[яь]|октябр[яь]|ноябр[яь]|декабр[яь])/i;
|
||||
obj.monthsShortStrictRegex = /^(янв\.|февр?\.|мар[т.]|апр\.|ма[яй]|июн[ья.]|июл[ья.]|авг\.|сент?\.|окт\.|нояб?\.|дек\.)/i;
|
||||
obj.longDateFormat = { LT: "H:mm", LTS: "H:mm:ss", L: "DD.MM.YYYY", LL: "D MMMM YYYY \u0433.", LLL: "D MMMM YYYY \u0433., H:mm", LLLL: "dddd, D MMMM YYYY \u0433., H:mm" };
|
||||
obj.calendar = {
|
||||
sameDay: "[\u0421\u0435\u0433\u043E\u0434\u043D\u044F, \u0432] LT",
|
||||
nextDay: "[\u0417\u0430\u0432\u0442\u0440\u0430, \u0432] LT",
|
||||
lastDay: "[\u0412\u0447\u0435\u0440\u0430, \u0432] LT",
|
||||
nextWeek(week) {
|
||||
const self = this;
|
||||
if (weekResult === this.week()) {
|
||||
let str4 = "[\u0412] dddd, [\u0432] LT";
|
||||
if (2 === self.day()) {
|
||||
str4 = "[\u0412\u043E] dddd, [\u0432] LT";
|
||||
}
|
||||
return str4;
|
||||
} else {
|
||||
const dayResult = self.day();
|
||||
if (0 === dayResult) {
|
||||
return "[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435] dddd, [\u0432] LT";
|
||||
} else {
|
||||
if (1 !== dayResult) {
|
||||
if (2 !== dayResult) {
|
||||
if (4 !== dayResult) {
|
||||
return "[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E] dddd, [\u0432] LT";
|
||||
}
|
||||
}
|
||||
}
|
||||
return "[\u0412 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439] dddd, [\u0432] LT";
|
||||
}
|
||||
}
|
||||
weekResult = week.week();
|
||||
},
|
||||
lastWeek(week) {
|
||||
const self = this;
|
||||
if (weekResult === this.week()) {
|
||||
let str4 = "[\u0412] dddd, [\u0432] LT";
|
||||
if (2 === self.day()) {
|
||||
str4 = "[\u0412\u043E] dddd, [\u0432] LT";
|
||||
}
|
||||
return str4;
|
||||
} else {
|
||||
const dayResult = self.day();
|
||||
if (0 === dayResult) {
|
||||
return "[\u0412 \u043F\u0440\u043E\u0448\u043B\u043E\u0435] dddd, [\u0432] LT";
|
||||
} else {
|
||||
if (1 !== dayResult) {
|
||||
if (2 !== dayResult) {
|
||||
if (4 !== dayResult) {
|
||||
return "[\u0412 \u043F\u0440\u043E\u0448\u043B\u0443\u044E] dddd, [\u0432] LT";
|
||||
}
|
||||
}
|
||||
}
|
||||
return "[\u0412 \u043F\u0440\u043E\u0448\u043B\u044B\u0439] dddd, [\u0432] LT";
|
||||
}
|
||||
}
|
||||
weekResult = week.week();
|
||||
},
|
||||
sameElse: "L"
|
||||
};
|
||||
obj.relativeTime = { future: "\u0447\u0435\u0440\u0435\u0437 %s", past: "%s \u043D\u0430\u0437\u0430\u0434", s: "\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E \u0441\u0435\u043A\u0443\u043D\u0434", ss: relativeTimeWithPlural, m: relativeTimeWithPlural, mm: relativeTimeWithPlural, h: "\u0447\u0430\u0441", hh: relativeTimeWithPlural, d: "\u0434\u0435\u043D\u044C", dd: relativeTimeWithPlural, w: "\u043D\u0435\u0434\u0435\u043B\u044F", ww: relativeTimeWithPlural, M: "\u043C\u0435\u0441\u044F\u0446", MM: relativeTimeWithPlural, y: "\u0433\u043E\u0434", yy: relativeTimeWithPlural };
|
||||
obj.meridiemParse = /ночи|утра|дня|вечера/i;
|
||||
obj.isPM = function isPM(arg0) {
|
||||
return /^(дня|вечера)$/.test(arg0);
|
||||
};
|
||||
obj.meridiem = function meridiem(arg0, arg1, arg2) {
|
||||
let str = "\u043D\u043E\u0447\u0438";
|
||||
if (arg0 >= 4) {
|
||||
let str2 = "\u0443\u0442\u0440\u0430";
|
||||
if (arg0 >= 12) {
|
||||
let str3 = "\u0432\u0435\u0447\u0435\u0440\u0430";
|
||||
if (arg0 < 17) {
|
||||
str3 = "\u0434\u043D\u044F";
|
||||
}
|
||||
str2 = str3;
|
||||
}
|
||||
str = str2;
|
||||
}
|
||||
return str;
|
||||
};
|
||||
obj.dayOfMonthOrdinalParse = /\d{1,2}-(й|го|я)/;
|
||||
obj.ordinal = function ordinal(arg0, arg1) {
|
||||
if ("M" !== arg1) {
|
||||
if ("d" !== arg1) {
|
||||
if ("DDD" !== arg1) {
|
||||
if ("D" === arg1) {
|
||||
return arg0 + "-\u0433\u043E";
|
||||
} else {
|
||||
if ("w" !== arg1) {
|
||||
if ("W" !== arg1) {
|
||||
return arg0;
|
||||
}
|
||||
}
|
||||
return arg0 + "-\u044F";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return arg0 + "-\u0439";
|
||||
};
|
||||
obj.week = { dow: 1, doy: 4 };
|
||||
return moment.defineLocale("ru", obj);
|
||||
};
|
||||
if (typeof exports === "object") {
|
||||
if (undefined !== module) {
|
||||
if (typeof require === "function") {
|
||||
fn(_mod4228);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (typeof globalThis.define === "function") {
|
||||
if (globalThis.define.amd) {
|
||||
globalThis.define(["../moment"], fn);
|
||||
}
|
||||
}
|
||||
fn(this.moment);
|
||||
|
|
@ -1,438 +0,0 @@
|
|||
// Module ID: 4321
|
||||
// Function ID: 4322
|
||||
// Name: _fromURL
|
||||
// Dependencies: [5, 17, 4293]
|
||||
|
||||
// Module 4321 (_fromURL)
|
||||
import "asyncGeneratorStep";
|
||||
|
||||
fn(17).Image;
|
||||
const NitroModules = fn(4293).NitroModules;
|
||||
NitroModules.createHybridObject("RiveFileFactory");
|
||||
let obj = {};
|
||||
let closure_0 = async function _fromURL(arg0, value) {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp4 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp5;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
return { value: "PX_16", done: true };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp12;
|
||||
if (closure_131_1) {
|
||||
const obj = { data: closure_131_1 };
|
||||
tmp12 = obj;
|
||||
}
|
||||
c6 = 3;
|
||||
const obj5 = { value: tmp2.fromURL(closure_131_0, closure_131_2, tmp12), done: true };
|
||||
return obj5;
|
||||
}
|
||||
} catch (tmp17) {
|
||||
c6 = tmp;
|
||||
throw tmp17;
|
||||
}
|
||||
}
|
||||
};
|
||||
let asyncGeneratorStep = function _fromFileURL() {
|
||||
const self = this;
|
||||
const tmp = asyncGeneratorStep(async (arg0, value) => {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp4 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp5;
|
||||
closure_131_1 = undefined;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
return { value: "PX_16", done: true };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp12;
|
||||
if (closure_131_1) {
|
||||
const obj = { data: closure_131_1 };
|
||||
tmp12 = obj;
|
||||
}
|
||||
c6 = 3;
|
||||
const obj5 = { value: tmp2.fromFileURL(closure_131_0, closure_131_2, tmp12), done: true };
|
||||
return obj5;
|
||||
}
|
||||
} catch (tmp17) {
|
||||
c6 = tmp;
|
||||
throw tmp17;
|
||||
}
|
||||
}
|
||||
});
|
||||
asyncGeneratorStep = tmp;
|
||||
const apply = tmp.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
const Image = async function _fromResource(arg0, value) {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp4 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp5;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
return { value: "PX_16", done: true };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp12;
|
||||
if (closure_131_1) {
|
||||
const obj = { data: closure_131_1 };
|
||||
tmp12 = obj;
|
||||
}
|
||||
c6 = 3;
|
||||
const obj5 = { value: tmp2.fromResource(closure_131_0, closure_131_2, tmp12), done: true };
|
||||
return obj5;
|
||||
}
|
||||
} catch (tmp17) {
|
||||
c6 = tmp;
|
||||
throw tmp17;
|
||||
}
|
||||
}
|
||||
};
|
||||
let closure_3 = async function _fromBytes(arg0, value) {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp4 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp5;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
return { value: "PX_16", done: true };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp12;
|
||||
if (closure_131_1) {
|
||||
const obj = { data: closure_131_1 };
|
||||
tmp12 = obj;
|
||||
}
|
||||
c6 = 3;
|
||||
const obj5 = { value: tmp2.fromBytes(closure_131_0, closure_131_2, tmp12), done: true };
|
||||
return obj5;
|
||||
}
|
||||
} catch (tmp17) {
|
||||
c6 = tmp;
|
||||
throw tmp17;
|
||||
}
|
||||
}
|
||||
};
|
||||
let closure_4 = async function _fromSource(arg0, value) {
|
||||
if (c8 === 2) {
|
||||
c8 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp6 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c8 = 2;
|
||||
if (0 === c7) {
|
||||
if (arg0 === 1) {
|
||||
c8 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c8 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp3;
|
||||
closure_3 = tmp7;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
closure_131_3 = undefined;
|
||||
closure_131_4 = undefined;
|
||||
closure_131_5 = undefined;
|
||||
closure_131_6 = undefined;
|
||||
c7 = 1;
|
||||
c8 = 1;
|
||||
return { value: "PX_16", done: true };
|
||||
}
|
||||
} else if (1 === tmp7) {
|
||||
if (arg0 === 1) {
|
||||
c8 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c8 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp70 = null;
|
||||
if (typeof closure_131_0 === "number") {
|
||||
tmp70 = closure_131_0;
|
||||
}
|
||||
closure_131_3 = tmp70;
|
||||
let uri = null;
|
||||
if (typeof closure_131_0 === "object") {
|
||||
uri = closure_131_0.uri;
|
||||
}
|
||||
closure_131_4 = uri;
|
||||
if (closure_131_3) {
|
||||
const assetSource = closure_2.resolveAssetSource(closure_131_3);
|
||||
let uri1;
|
||||
if (assetSource != null) {
|
||||
uri1 = assetSource.uri;
|
||||
}
|
||||
let tmp25 = uri1;
|
||||
} else {
|
||||
tmp25 = closure_131_4;
|
||||
}
|
||||
closure_131_5 = tmp25;
|
||||
if (closure_131_5) {
|
||||
c6 = 1;
|
||||
if (closure_131_5.match(/https?:\/\//)) {
|
||||
closure_0.fromURL(closure_131_5, closure_131_1, closure_131_2);
|
||||
} else if (closure_131_5.match(/file:\/\//)) {
|
||||
obj.fromFileURL(closure_131_5, closure_131_1, closure_131_2);
|
||||
} else {
|
||||
obj.fromResource(closure_131_5, closure_131_1, closure_131_2);
|
||||
}
|
||||
c6 = 0;
|
||||
c8 = 3;
|
||||
} else {
|
||||
const _Error3 = Error;
|
||||
const _HermesInternal2 = HermesInternal;
|
||||
const error = new Error("Invalid source: could not resolve asset " + closure_131_0 + ". Ensure 'riv' is in metro.config.js assetExts.");
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
c6 = 0;
|
||||
closure_131_7 = closure_5;
|
||||
const _Error = Error;
|
||||
if (closure_131_7 instanceof Error) {
|
||||
let message = closure_131_7.message;
|
||||
} else {
|
||||
const _String = String;
|
||||
message = String(closure_131_7);
|
||||
}
|
||||
closure_131_6 = message;
|
||||
const _Error2 = Error;
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error1 = new Error("Failed to load Rive file from source: " + closure_131_6);
|
||||
throw error1;
|
||||
}
|
||||
} catch (tmp59) {
|
||||
closure_5 = tmp59;
|
||||
if (tmp4 === c6) {
|
||||
c8 = tmp2;
|
||||
throw tmp59;
|
||||
} else {
|
||||
c7 = tmp;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
obj.fromURL = function fromURL(arg0, current) {
|
||||
const self = this;
|
||||
const apply = closure_0.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
obj.fromFileURL = function fromFileURL(arg0) {
|
||||
const self = this;
|
||||
const apply = asyncGeneratorStep.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
obj.fromResource = function fromResource(arg0, current) {
|
||||
const self = this;
|
||||
const apply = closure_2.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
obj.fromBytes = function fromBytes(arg0, current) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
obj.fromSource = function fromSource(arg0, arg1) {
|
||||
const self = this;
|
||||
const apply = closure_4.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
||||
export const RiveFileFactory = obj;
|
||||
|
|
@ -1,388 +0,0 @@
|
|||
// Module ID: 4336
|
||||
// Function ID: 4337
|
||||
// Name: _temp2
|
||||
// Dependencies: [32, 19, 4316, 4330]
|
||||
// Exports: useRiveList
|
||||
|
||||
// Module 4336 (_temp2)
|
||||
import _slicedToArray from "module_32" /* 32 */;
|
||||
|
||||
const require = globalThis.__r;
|
||||
|
||||
const require = fn;
|
||||
function _temp2(arg0) {
|
||||
return arg0 + 1;
|
||||
}
|
||||
function _temp(dispose) {
|
||||
let disposeResult;
|
||||
if (dispose != null) {
|
||||
disposeResult = dispose.dispose();
|
||||
}
|
||||
return disposeResult;
|
||||
}
|
||||
const noop = fn(19);
|
||||
({ useCallback, useEffect: c3, useState: closure_4, useMemo } = noop);
|
||||
|
||||
export const useRiveList = function useRiveList(arg0, arg1) {
|
||||
_require = arg0;
|
||||
dependencyMap = arg1;
|
||||
const cResult = require("c").c(39);
|
||||
let obj = require("c");
|
||||
let tmp = _require;
|
||||
[tmp5, _slicedToArray] = disposableMemo(null);
|
||||
const tmp4 = _slicedToArray(disposableMemo(null), 2);
|
||||
[r10021, closure_3] = disposableMemo(0);
|
||||
if (cResult[0] === Symbol.for("react.memo_cache_sentinel")) {
|
||||
const fn = function o() {
|
||||
_slicedToArray(null);
|
||||
};
|
||||
cResult[0] = fn;
|
||||
let first = fn;
|
||||
} else {
|
||||
first = cResult[0];
|
||||
}
|
||||
if (cResult[1] === arg0) {
|
||||
if (cResult[2] === arg1) {
|
||||
let tmp8 = cResult[3];
|
||||
}
|
||||
closure_3(first, tmp8);
|
||||
if (cResult[4] === arg0) {
|
||||
if (cResult[5] === arg1) {
|
||||
let tmp11 = cResult[6];
|
||||
}
|
||||
if (cResult[7] === arg0) {
|
||||
if (cResult[8] === arg1) {
|
||||
let tmp12 = cResult[9];
|
||||
}
|
||||
disposableMemo = tmp(4330).useDisposableMemo(tmp11, _temp, tmp12);
|
||||
if (cResult[10] === arg0) {
|
||||
if (cResult[11] === disposableMemo) {
|
||||
if (cResult[12] === arg1) {
|
||||
let tmp15 = cResult[13];
|
||||
let tmp16 = cResult[14];
|
||||
}
|
||||
tmp9(tmp15, tmp16);
|
||||
if (cResult[15] !== disposableMemo) {
|
||||
class M {
|
||||
constructor() {
|
||||
obj = closure_4;
|
||||
if (closure_4) {
|
||||
closure_0 = obj.addListener(() => {
|
||||
closure_1_3(_temp2);
|
||||
});
|
||||
return () => {
|
||||
try {
|
||||
closure_0();
|
||||
disposableMemo.removeListeners();
|
||||
} catch (err) {
|
||||
}
|
||||
};
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
const items = [disposableMemo];
|
||||
cResult[15] = disposableMemo;
|
||||
cResult[16] = M;
|
||||
cResult[17] = items;
|
||||
let tmp19 = items;
|
||||
const tmp18 = M;
|
||||
} else {
|
||||
class M {
|
||||
constructor() {
|
||||
obj = closure_4;
|
||||
if (closure_4) {
|
||||
closure_0 = obj.addListener(() => {
|
||||
closure_1_3(_temp2);
|
||||
});
|
||||
return () => {
|
||||
try {
|
||||
closure_0();
|
||||
disposableMemo.removeListeners();
|
||||
} catch (err) {
|
||||
}
|
||||
};
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
tmp19 = cResult[17];
|
||||
}
|
||||
tmp9(tmp18, tmp19);
|
||||
if (disposableMemo != null) {
|
||||
class M {
|
||||
constructor() {
|
||||
obj = closure_4;
|
||||
if (closure_4) {
|
||||
closure_0 = obj.addListener(() => {
|
||||
closure_1_3(_temp2);
|
||||
});
|
||||
return () => {
|
||||
try {
|
||||
closure_0();
|
||||
disposableMemo.removeListeners();
|
||||
} catch (err) {
|
||||
}
|
||||
};
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (undefined == null) {
|
||||
class M {
|
||||
constructor() {
|
||||
obj = closure_4;
|
||||
if (closure_4) {
|
||||
closure_0 = obj.addListener(() => {
|
||||
closure_1_3(_temp2);
|
||||
});
|
||||
return () => {
|
||||
try {
|
||||
closure_0();
|
||||
disposableMemo.removeListeners();
|
||||
} catch (err) {
|
||||
}
|
||||
};
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[18] !== disposableMemo) {
|
||||
class R {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
instanceAt = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp2 = arg0;
|
||||
instanceAt = obj.getInstanceAt(arg0);
|
||||
}
|
||||
return instanceAt;
|
||||
}
|
||||
}
|
||||
cResult[18] = disposableMemo;
|
||||
cResult[19] = R;
|
||||
} else {
|
||||
class R {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
instanceAt = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp2 = arg0;
|
||||
instanceAt = obj.getInstanceAt(arg0);
|
||||
}
|
||||
return instanceAt;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[20] !== disposableMemo) {
|
||||
class R {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
instanceAt = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp2 = arg0;
|
||||
instanceAt = obj.getInstanceAt(arg0);
|
||||
}
|
||||
return instanceAt;
|
||||
}
|
||||
}
|
||||
cResult[20] = disposableMemo;
|
||||
cResult[21] = tmp24;
|
||||
} else {
|
||||
class R {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
instanceAt = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp2 = arg0;
|
||||
instanceAt = obj.getInstanceAt(arg0);
|
||||
}
|
||||
return instanceAt;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[22] !== disposableMemo) {
|
||||
class C {
|
||||
constructor(arg0, arg1) {
|
||||
obj = closure_4;
|
||||
flag = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
tmp2 = arg1;
|
||||
flag = obj.addInstanceAt(arg0, arg1);
|
||||
}
|
||||
if (flag == null) {
|
||||
flag = false;
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
}
|
||||
cResult[22] = disposableMemo;
|
||||
cResult[23] = C;
|
||||
} else {
|
||||
class C {
|
||||
constructor(arg0, arg1) {
|
||||
obj = closure_4;
|
||||
flag = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
tmp2 = arg1;
|
||||
flag = obj.addInstanceAt(arg0, arg1);
|
||||
}
|
||||
if (flag == null) {
|
||||
flag = false;
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[24] !== disposableMemo) {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
cResult[24] = disposableMemo;
|
||||
cResult[25] = O;
|
||||
} else {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[26] !== disposableMemo) {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
cResult[26] = disposableMemo;
|
||||
cResult[27] = tmp28;
|
||||
} else {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[28] !== disposableMemo) {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
cResult[28] = disposableMemo;
|
||||
cResult[29] = tmp30;
|
||||
} else {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[30] === tmp23) {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
const obj2 = { length: undefined, getInstanceAt: tmp22, addInstance: tmp23, addInstanceAt: tmp25, removeInstance: tmp26, removeInstanceAt: tmp27, swap: tmp29, error: tmp5 };
|
||||
cResult[30] = tmp23;
|
||||
cResult[31] = tmp25;
|
||||
cResult[32] = tmp5;
|
||||
cResult[33] = tmp22;
|
||||
cResult[34] = undefined;
|
||||
cResult[35] = tmp26;
|
||||
cResult[36] = tmp27;
|
||||
cResult[37] = tmp29;
|
||||
cResult[38] = obj2;
|
||||
}
|
||||
}
|
||||
const fn3 = function b() {
|
||||
let tmp = closure_1;
|
||||
if (closure_1) {
|
||||
tmp = !disposableMemo;
|
||||
}
|
||||
if (tmp) {
|
||||
const _Error = Error;
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error = new Error("List property \"" + closure_0 + "\" not found in the ViewModel instance");
|
||||
_slicedToArray(error);
|
||||
}
|
||||
};
|
||||
const items1 = [arg1, disposableMemo, arg0];
|
||||
cResult[10] = arg0;
|
||||
cResult[11] = disposableMemo;
|
||||
cResult[12] = arg1;
|
||||
cResult[13] = fn3;
|
||||
cResult[14] = items1;
|
||||
tmp16 = items1;
|
||||
tmp15 = fn3;
|
||||
const tmpResult = tmp(4330);
|
||||
}
|
||||
const items2 = [arg1, arg0];
|
||||
cResult[7] = arg0;
|
||||
cResult[8] = arg1;
|
||||
cResult[9] = items2;
|
||||
tmp12 = items2;
|
||||
}
|
||||
const fn2 = function v() {
|
||||
if (closure_1) {
|
||||
return obj.listProperty(closure_0);
|
||||
}
|
||||
obj = closure_1;
|
||||
};
|
||||
cResult[4] = arg0;
|
||||
cResult[5] = arg1;
|
||||
cResult[6] = fn2;
|
||||
tmp11 = fn2;
|
||||
}
|
||||
const items3 = [arg0, arg1];
|
||||
cResult[1] = arg0;
|
||||
cResult[2] = arg1;
|
||||
cResult[3] = items3;
|
||||
tmp8 = items3;
|
||||
};
|
||||
|
|
@ -1,96 +0,0 @@
|
|||
// Module ID: 4339
|
||||
// Function ID: 4340
|
||||
// Name: _initialize
|
||||
// Dependencies: [5, 4293]
|
||||
|
||||
// Module 4339 (_initialize)
|
||||
import "asyncGeneratorStep";
|
||||
|
||||
const NitroModules = fn(4293).NitroModules;
|
||||
let closure_1 = NitroModules.createHybridObject("RiveRuntime");
|
||||
let asyncGeneratorStep = function _initialize() {
|
||||
const self = this;
|
||||
const tmp = asyncGeneratorStep(async (arg0, value) => {
|
||||
if (c3 === 2) {
|
||||
c3 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c3 = 2;
|
||||
if (0 === c2) {
|
||||
if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
c2 = 1;
|
||||
c3 = 1;
|
||||
const obj4 = { value: tmp4.initialize(), done: false };
|
||||
return obj4;
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else if (tmp4.isInitialized) {
|
||||
c3 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
} else {
|
||||
const initError = tmp4.initError;
|
||||
c0 = initError;
|
||||
if (initError == null) {
|
||||
c0 = "Unknown error";
|
||||
}
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error = new Error("Rive initialization failed: " + c0);
|
||||
throw error;
|
||||
}
|
||||
} catch (tmp15) {
|
||||
c3 = tmp;
|
||||
throw tmp15;
|
||||
}
|
||||
}
|
||||
});
|
||||
asyncGeneratorStep = tmp;
|
||||
const apply = tmp.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
||||
export const RiveRuntime = {
|
||||
initialize() {
|
||||
const self = this;
|
||||
const apply = asyncGeneratorStep.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
},
|
||||
getStatus() {
|
||||
const obj = { isInitialized: closure_1.isInitialized, error: null };
|
||||
const initError = closure_1.initError;
|
||||
obj.error = initError;
|
||||
return obj;
|
||||
}
|
||||
};
|
||||
438
stable/source/__helpers/04xxx/4398__fromURL.js
Normal file
438
stable/source/__helpers/04xxx/4398__fromURL.js
Normal file
|
|
@ -0,0 +1,438 @@
|
|||
// Module ID: 4398
|
||||
// Function ID: 4399
|
||||
// Name: _fromURL
|
||||
// Dependencies: [5, 17, 4370]
|
||||
|
||||
// Module 4398 (_fromURL)
|
||||
import "asyncGeneratorStep";
|
||||
|
||||
fn(17).Image;
|
||||
const NitroModules = fn(4370).NitroModules;
|
||||
NitroModules.createHybridObject("RiveFileFactory");
|
||||
let obj = {};
|
||||
let closure_0 = async function _fromURL(arg0, value) {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp4 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp5;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
return { value: "PX_16", done: true };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp12;
|
||||
if (closure_131_1) {
|
||||
const obj = { data: closure_131_1 };
|
||||
tmp12 = obj;
|
||||
}
|
||||
c6 = 3;
|
||||
const obj5 = { value: tmp2.fromURL(closure_131_0, closure_131_2, tmp12), done: true };
|
||||
return obj5;
|
||||
}
|
||||
} catch (tmp17) {
|
||||
c6 = tmp;
|
||||
throw tmp17;
|
||||
}
|
||||
}
|
||||
};
|
||||
let asyncGeneratorStep = function _fromFileURL() {
|
||||
const self = this;
|
||||
const tmp = asyncGeneratorStep(async (arg0, value) => {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp4 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp5;
|
||||
closure_131_1 = undefined;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
return { value: "PX_16", done: true };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp12;
|
||||
if (closure_131_1) {
|
||||
const obj = { data: closure_131_1 };
|
||||
tmp12 = obj;
|
||||
}
|
||||
c6 = 3;
|
||||
const obj5 = { value: tmp2.fromFileURL(closure_131_0, closure_131_2, tmp12), done: true };
|
||||
return obj5;
|
||||
}
|
||||
} catch (tmp17) {
|
||||
c6 = tmp;
|
||||
throw tmp17;
|
||||
}
|
||||
}
|
||||
});
|
||||
asyncGeneratorStep = tmp;
|
||||
const apply = tmp.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
const Image = async function _fromResource(arg0, value) {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp4 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp5;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
return { value: "PX_16", done: true };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp12;
|
||||
if (closure_131_1) {
|
||||
const obj = { data: closure_131_1 };
|
||||
tmp12 = obj;
|
||||
}
|
||||
c6 = 3;
|
||||
const obj5 = { value: tmp2.fromResource(closure_131_0, closure_131_2, tmp12), done: true };
|
||||
return obj5;
|
||||
}
|
||||
} catch (tmp17) {
|
||||
c6 = tmp;
|
||||
throw tmp17;
|
||||
}
|
||||
}
|
||||
};
|
||||
let closure_3 = async function _fromBytes(arg0, value) {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp4 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp5;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
return { value: "PX_16", done: true };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp12;
|
||||
if (closure_131_1) {
|
||||
const obj = { data: closure_131_1 };
|
||||
tmp12 = obj;
|
||||
}
|
||||
c6 = 3;
|
||||
const obj5 = { value: tmp2.fromBytes(closure_131_0, closure_131_2, tmp12), done: true };
|
||||
return obj5;
|
||||
}
|
||||
} catch (tmp17) {
|
||||
c6 = tmp;
|
||||
throw tmp17;
|
||||
}
|
||||
}
|
||||
};
|
||||
let closure_4 = async function _fromSource(arg0, value) {
|
||||
if (c8 === 2) {
|
||||
c8 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp6 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c8 = 2;
|
||||
if (0 === c7) {
|
||||
if (arg0 === 1) {
|
||||
c8 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c8 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp3;
|
||||
closure_3 = tmp7;
|
||||
closure_131_2 = undefined;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
let flag = closure_2;
|
||||
if (closure_2 === undefined) {
|
||||
flag = true;
|
||||
}
|
||||
closure_131_2 = flag;
|
||||
closure_131_3 = undefined;
|
||||
closure_131_4 = undefined;
|
||||
closure_131_5 = undefined;
|
||||
closure_131_6 = undefined;
|
||||
c7 = 1;
|
||||
c8 = 1;
|
||||
return { value: "PX_16", done: true };
|
||||
}
|
||||
} else if (1 === tmp7) {
|
||||
if (arg0 === 1) {
|
||||
c8 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c8 = 3;
|
||||
const obj4 = { value, done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
let tmp70 = null;
|
||||
if (typeof closure_131_0 === "number") {
|
||||
tmp70 = closure_131_0;
|
||||
}
|
||||
closure_131_3 = tmp70;
|
||||
let uri = null;
|
||||
if (typeof closure_131_0 === "object") {
|
||||
uri = closure_131_0.uri;
|
||||
}
|
||||
closure_131_4 = uri;
|
||||
if (closure_131_3) {
|
||||
const assetSource = closure_2.resolveAssetSource(closure_131_3);
|
||||
let uri1;
|
||||
if (assetSource != null) {
|
||||
uri1 = assetSource.uri;
|
||||
}
|
||||
let tmp25 = uri1;
|
||||
} else {
|
||||
tmp25 = closure_131_4;
|
||||
}
|
||||
closure_131_5 = tmp25;
|
||||
if (closure_131_5) {
|
||||
c6 = 1;
|
||||
if (closure_131_5.match(/https?:\/\//)) {
|
||||
closure_0.fromURL(closure_131_5, closure_131_1, closure_131_2);
|
||||
} else if (closure_131_5.match(/file:\/\//)) {
|
||||
obj.fromFileURL(closure_131_5, closure_131_1, closure_131_2);
|
||||
} else {
|
||||
obj.fromResource(closure_131_5, closure_131_1, closure_131_2);
|
||||
}
|
||||
c6 = 0;
|
||||
c8 = 3;
|
||||
} else {
|
||||
const _Error3 = Error;
|
||||
const _HermesInternal2 = HermesInternal;
|
||||
const error = new Error("Invalid source: could not resolve asset " + closure_131_0 + ". Ensure 'riv' is in metro.config.js assetExts.");
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
c6 = 0;
|
||||
closure_131_7 = closure_5;
|
||||
const _Error = Error;
|
||||
if (closure_131_7 instanceof Error) {
|
||||
let message = closure_131_7.message;
|
||||
} else {
|
||||
const _String = String;
|
||||
message = String(closure_131_7);
|
||||
}
|
||||
closure_131_6 = message;
|
||||
const _Error2 = Error;
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error1 = new Error("Failed to load Rive file from source: " + closure_131_6);
|
||||
throw error1;
|
||||
}
|
||||
} catch (tmp59) {
|
||||
closure_5 = tmp59;
|
||||
if (tmp4 === c6) {
|
||||
c8 = tmp2;
|
||||
throw tmp59;
|
||||
} else {
|
||||
c7 = tmp;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
obj.fromURL = function fromURL(arg0, current) {
|
||||
const self = this;
|
||||
const apply = closure_0.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
obj.fromFileURL = function fromFileURL(arg0) {
|
||||
const self = this;
|
||||
const apply = asyncGeneratorStep.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
obj.fromResource = function fromResource(arg0, current) {
|
||||
const self = this;
|
||||
const apply = closure_2.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
obj.fromBytes = function fromBytes(arg0, current) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
obj.fromSource = function fromSource(arg0, arg1) {
|
||||
const self = this;
|
||||
const apply = closure_4.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
||||
export const RiveFileFactory = obj;
|
||||
388
stable/source/__helpers/04xxx/4413__temp2.js
Normal file
388
stable/source/__helpers/04xxx/4413__temp2.js
Normal file
|
|
@ -0,0 +1,388 @@
|
|||
// Module ID: 4413
|
||||
// Function ID: 4414
|
||||
// Name: _temp2
|
||||
// Dependencies: [32, 19, 4393, 4407]
|
||||
// Exports: useRiveList
|
||||
|
||||
// Module 4413 (_temp2)
|
||||
import _slicedToArray from "module_32" /* 32 */;
|
||||
|
||||
const require = globalThis.__r;
|
||||
|
||||
const require = fn;
|
||||
function _temp2(arg0) {
|
||||
return arg0 + 1;
|
||||
}
|
||||
function _temp(dispose) {
|
||||
let disposeResult;
|
||||
if (dispose != null) {
|
||||
disposeResult = dispose.dispose();
|
||||
}
|
||||
return disposeResult;
|
||||
}
|
||||
const noop = fn(19);
|
||||
({ useCallback, useEffect: c3, useState: closure_4, useMemo } = noop);
|
||||
|
||||
export const useRiveList = function useRiveList(arg0, arg1) {
|
||||
_require = arg0;
|
||||
dependencyMap = arg1;
|
||||
const cResult = require("c").c(39);
|
||||
let obj = require("c");
|
||||
let tmp = _require;
|
||||
[tmp5, _slicedToArray] = disposableMemo(null);
|
||||
const tmp4 = _slicedToArray(disposableMemo(null), 2);
|
||||
[r10021, closure_3] = disposableMemo(0);
|
||||
if (cResult[0] === Symbol.for("react.memo_cache_sentinel")) {
|
||||
const fn = function o() {
|
||||
_slicedToArray(null);
|
||||
};
|
||||
cResult[0] = fn;
|
||||
let first = fn;
|
||||
} else {
|
||||
first = cResult[0];
|
||||
}
|
||||
if (cResult[1] === arg0) {
|
||||
if (cResult[2] === arg1) {
|
||||
let tmp8 = cResult[3];
|
||||
}
|
||||
closure_3(first, tmp8);
|
||||
if (cResult[4] === arg0) {
|
||||
if (cResult[5] === arg1) {
|
||||
let tmp11 = cResult[6];
|
||||
}
|
||||
if (cResult[7] === arg0) {
|
||||
if (cResult[8] === arg1) {
|
||||
let tmp12 = cResult[9];
|
||||
}
|
||||
disposableMemo = tmp(4407).useDisposableMemo(tmp11, _temp, tmp12);
|
||||
if (cResult[10] === arg0) {
|
||||
if (cResult[11] === disposableMemo) {
|
||||
if (cResult[12] === arg1) {
|
||||
let tmp15 = cResult[13];
|
||||
let tmp16 = cResult[14];
|
||||
}
|
||||
tmp9(tmp15, tmp16);
|
||||
if (cResult[15] !== disposableMemo) {
|
||||
class M {
|
||||
constructor() {
|
||||
obj = closure_4;
|
||||
if (closure_4) {
|
||||
closure_0 = obj.addListener(() => {
|
||||
closure_1_3(_temp2);
|
||||
});
|
||||
return () => {
|
||||
try {
|
||||
closure_0();
|
||||
disposableMemo.removeListeners();
|
||||
} catch (err) {
|
||||
}
|
||||
};
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
const items = [disposableMemo];
|
||||
cResult[15] = disposableMemo;
|
||||
cResult[16] = M;
|
||||
cResult[17] = items;
|
||||
let tmp19 = items;
|
||||
const tmp18 = M;
|
||||
} else {
|
||||
class M {
|
||||
constructor() {
|
||||
obj = closure_4;
|
||||
if (closure_4) {
|
||||
closure_0 = obj.addListener(() => {
|
||||
closure_1_3(_temp2);
|
||||
});
|
||||
return () => {
|
||||
try {
|
||||
closure_0();
|
||||
disposableMemo.removeListeners();
|
||||
} catch (err) {
|
||||
}
|
||||
};
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
tmp19 = cResult[17];
|
||||
}
|
||||
tmp9(tmp18, tmp19);
|
||||
if (disposableMemo != null) {
|
||||
class M {
|
||||
constructor() {
|
||||
obj = closure_4;
|
||||
if (closure_4) {
|
||||
closure_0 = obj.addListener(() => {
|
||||
closure_1_3(_temp2);
|
||||
});
|
||||
return () => {
|
||||
try {
|
||||
closure_0();
|
||||
disposableMemo.removeListeners();
|
||||
} catch (err) {
|
||||
}
|
||||
};
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (undefined == null) {
|
||||
class M {
|
||||
constructor() {
|
||||
obj = closure_4;
|
||||
if (closure_4) {
|
||||
closure_0 = obj.addListener(() => {
|
||||
closure_1_3(_temp2);
|
||||
});
|
||||
return () => {
|
||||
try {
|
||||
closure_0();
|
||||
disposableMemo.removeListeners();
|
||||
} catch (err) {
|
||||
}
|
||||
};
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[18] !== disposableMemo) {
|
||||
class R {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
instanceAt = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp2 = arg0;
|
||||
instanceAt = obj.getInstanceAt(arg0);
|
||||
}
|
||||
return instanceAt;
|
||||
}
|
||||
}
|
||||
cResult[18] = disposableMemo;
|
||||
cResult[19] = R;
|
||||
} else {
|
||||
class R {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
instanceAt = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp2 = arg0;
|
||||
instanceAt = obj.getInstanceAt(arg0);
|
||||
}
|
||||
return instanceAt;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[20] !== disposableMemo) {
|
||||
class R {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
instanceAt = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp2 = arg0;
|
||||
instanceAt = obj.getInstanceAt(arg0);
|
||||
}
|
||||
return instanceAt;
|
||||
}
|
||||
}
|
||||
cResult[20] = disposableMemo;
|
||||
cResult[21] = tmp24;
|
||||
} else {
|
||||
class R {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
instanceAt = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp2 = arg0;
|
||||
instanceAt = obj.getInstanceAt(arg0);
|
||||
}
|
||||
return instanceAt;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[22] !== disposableMemo) {
|
||||
class C {
|
||||
constructor(arg0, arg1) {
|
||||
obj = closure_4;
|
||||
flag = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
tmp2 = arg1;
|
||||
flag = obj.addInstanceAt(arg0, arg1);
|
||||
}
|
||||
if (flag == null) {
|
||||
flag = false;
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
}
|
||||
cResult[22] = disposableMemo;
|
||||
cResult[23] = C;
|
||||
} else {
|
||||
class C {
|
||||
constructor(arg0, arg1) {
|
||||
obj = closure_4;
|
||||
flag = undefined;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
tmp2 = arg1;
|
||||
flag = obj.addInstanceAt(arg0, arg1);
|
||||
}
|
||||
if (flag == null) {
|
||||
flag = false;
|
||||
}
|
||||
return flag;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[24] !== disposableMemo) {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
cResult[24] = disposableMemo;
|
||||
cResult[25] = O;
|
||||
} else {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[26] !== disposableMemo) {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
cResult[26] = disposableMemo;
|
||||
cResult[27] = tmp28;
|
||||
} else {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[28] !== disposableMemo) {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
cResult[28] = disposableMemo;
|
||||
cResult[29] = tmp30;
|
||||
} else {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (cResult[30] === tmp23) {
|
||||
class O {
|
||||
constructor(arg0) {
|
||||
obj = closure_4;
|
||||
if (closure_4 != null) {
|
||||
tmp = arg0;
|
||||
removeInstanceResult = obj.removeInstance(arg0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
const obj2 = { length: undefined, getInstanceAt: tmp22, addInstance: tmp23, addInstanceAt: tmp25, removeInstance: tmp26, removeInstanceAt: tmp27, swap: tmp29, error: tmp5 };
|
||||
cResult[30] = tmp23;
|
||||
cResult[31] = tmp25;
|
||||
cResult[32] = tmp5;
|
||||
cResult[33] = tmp22;
|
||||
cResult[34] = undefined;
|
||||
cResult[35] = tmp26;
|
||||
cResult[36] = tmp27;
|
||||
cResult[37] = tmp29;
|
||||
cResult[38] = obj2;
|
||||
}
|
||||
}
|
||||
const fn3 = function b() {
|
||||
let tmp = closure_1;
|
||||
if (closure_1) {
|
||||
tmp = !disposableMemo;
|
||||
}
|
||||
if (tmp) {
|
||||
const _Error = Error;
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error = new Error("List property \"" + closure_0 + "\" not found in the ViewModel instance");
|
||||
_slicedToArray(error);
|
||||
}
|
||||
};
|
||||
const items1 = [arg1, disposableMemo, arg0];
|
||||
cResult[10] = arg0;
|
||||
cResult[11] = disposableMemo;
|
||||
cResult[12] = arg1;
|
||||
cResult[13] = fn3;
|
||||
cResult[14] = items1;
|
||||
tmp16 = items1;
|
||||
tmp15 = fn3;
|
||||
const tmpResult = tmp(4407);
|
||||
}
|
||||
const items2 = [arg1, arg0];
|
||||
cResult[7] = arg0;
|
||||
cResult[8] = arg1;
|
||||
cResult[9] = items2;
|
||||
tmp12 = items2;
|
||||
}
|
||||
const fn2 = function v() {
|
||||
if (closure_1) {
|
||||
return obj.listProperty(closure_0);
|
||||
}
|
||||
obj = closure_1;
|
||||
};
|
||||
cResult[4] = arg0;
|
||||
cResult[5] = arg1;
|
||||
cResult[6] = fn2;
|
||||
tmp11 = fn2;
|
||||
}
|
||||
const items3 = [arg0, arg1];
|
||||
cResult[1] = arg0;
|
||||
cResult[2] = arg1;
|
||||
cResult[3] = items3;
|
||||
tmp8 = items3;
|
||||
};
|
||||
96
stable/source/__helpers/04xxx/4416__initialize.js
Normal file
96
stable/source/__helpers/04xxx/4416__initialize.js
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
// Module ID: 4416
|
||||
// Function ID: 4417
|
||||
// Name: _initialize
|
||||
// Dependencies: [5, 4370]
|
||||
|
||||
// Module 4416 (_initialize)
|
||||
import "asyncGeneratorStep";
|
||||
|
||||
const NitroModules = fn(4370).NitroModules;
|
||||
let closure_1 = NitroModules.createHybridObject("RiveRuntime");
|
||||
let asyncGeneratorStep = function _initialize() {
|
||||
const self = this;
|
||||
const tmp = asyncGeneratorStep(async (arg0, value) => {
|
||||
if (c3 === 2) {
|
||||
c3 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c3 = 2;
|
||||
if (0 === c2) {
|
||||
if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
c2 = 1;
|
||||
c3 = 1;
|
||||
const obj4 = { value: tmp4.initialize(), done: false };
|
||||
return obj4;
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else if (tmp4.isInitialized) {
|
||||
c3 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
} else {
|
||||
const initError = tmp4.initError;
|
||||
c0 = initError;
|
||||
if (initError == null) {
|
||||
c0 = "Unknown error";
|
||||
}
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error = new Error("Rive initialization failed: " + c0);
|
||||
throw error;
|
||||
}
|
||||
} catch (tmp15) {
|
||||
c3 = tmp;
|
||||
throw tmp15;
|
||||
}
|
||||
}
|
||||
});
|
||||
asyncGeneratorStep = tmp;
|
||||
const apply = tmp.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
||||
export const RiveRuntime = {
|
||||
initialize() {
|
||||
const self = this;
|
||||
const apply = asyncGeneratorStep.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
},
|
||||
getStatus() {
|
||||
const obj = { isInitialized: closure_1.isInitialized, error: null };
|
||||
const initError = closure_1.initError;
|
||||
obj.error = initError;
|
||||
return obj;
|
||||
}
|
||||
};
|
||||
|
|
@ -1,66 +0,0 @@
|
|||
// Module ID: 4535
|
||||
// Function ID: 4536
|
||||
// Name: _playHaptic
|
||||
// Dependencies: [5, 17, 4531]
|
||||
// Exports: playHaptic
|
||||
|
||||
// Module 4535 (_playHaptic)
|
||||
import _modDef4531 from "module_4531" /* 4531 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_3 = async function _playHaptic(arg0, value) {
|
||||
if (c2 === 2) {
|
||||
c2 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c2 = 2;
|
||||
if (arg0 === 1) {
|
||||
c2 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c2 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
if (obj.isEnabled()) {
|
||||
c2 = 3;
|
||||
const obj4 = { value: tmp6(tmp7[2]).triggerPattern(tmp4, tmp5), done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
c2 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
obj = _modDef4531;
|
||||
tmp4 = closure_0;
|
||||
tmp5 = closure_1;
|
||||
tmp6 = importDefault;
|
||||
tmp7 = dependencyMap;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c2 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
const Platform = fn(17).Platform;
|
||||
|
||||
export const playHaptic = function playHaptic(arg0, arg1, arg2) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
66
stable/source/__helpers/04xxx/4611__playHaptic.js
Normal file
66
stable/source/__helpers/04xxx/4611__playHaptic.js
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
// Module ID: 4611
|
||||
// Function ID: 4612
|
||||
// Name: _playHaptic
|
||||
// Dependencies: [5, 17, 4607]
|
||||
// Exports: playHaptic
|
||||
|
||||
// Module 4611 (_playHaptic)
|
||||
import _modDef4607 from "module_4607" /* 4607 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_3 = async function _playHaptic(arg0, value) {
|
||||
if (c2 === 2) {
|
||||
c2 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c2 = 2;
|
||||
if (arg0 === 1) {
|
||||
c2 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c2 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
if (obj.isEnabled()) {
|
||||
c2 = 3;
|
||||
const obj4 = { value: tmp6(tmp7[2]).triggerPattern(tmp4, tmp5), done: true };
|
||||
return obj4;
|
||||
} else {
|
||||
c2 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
obj = _modDef4607;
|
||||
tmp4 = closure_0;
|
||||
tmp5 = closure_1;
|
||||
tmp6 = importDefault;
|
||||
tmp7 = dependencyMap;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c2 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
const Platform = fn(17).Platform;
|
||||
|
||||
export const playHaptic = function playHaptic(arg0, arg1, arg2) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -1,29 +0,0 @@
|
|||
// Module ID: 5656
|
||||
// Function ID: 5657
|
||||
// Name: __react_navigation__elements_contexts
|
||||
// Dependencies: [19]
|
||||
// Exports: getNamedContext
|
||||
|
||||
// Module 5656 (__react_navigation__elements_contexts)
|
||||
import noop from "module_19" /* 19 */;
|
||||
|
||||
let __react_navigation__elements_contexts = "__react_navigation__elements_contexts";
|
||||
__react_navigation__elements_contexts = globalThis.__react_navigation__elements_contexts;
|
||||
if (__react_navigation__elements_contexts == null) {
|
||||
const _Map = Map;
|
||||
__react_navigation__elements_contexts = new Map();
|
||||
}
|
||||
globalThis.__react_navigation__elements_contexts = __react_navigation__elements_contexts;
|
||||
|
||||
export const getNamedContext = function getNamedContext(FrameContext, arg1) {
|
||||
value = globalThis[__react_navigation__elements_contexts].get(FrameContext);
|
||||
if (!value) {
|
||||
const context = noop.createContext(arg1);
|
||||
context.displayName = FrameContext;
|
||||
const _globalThis = globalThis;
|
||||
const result = globalThis[tmp].set(FrameContext, context);
|
||||
value = context;
|
||||
const obj2 = globalThis[tmp];
|
||||
}
|
||||
return value;
|
||||
};
|
||||
|
|
@ -0,0 +1,29 @@
|
|||
// Module ID: 5737
|
||||
// Function ID: 5738
|
||||
// Name: __react_navigation__elements_contexts
|
||||
// Dependencies: [19]
|
||||
// Exports: getNamedContext
|
||||
|
||||
// Module 5737 (__react_navigation__elements_contexts)
|
||||
import noop from "module_19" /* 19 */;
|
||||
|
||||
let __react_navigation__elements_contexts = "__react_navigation__elements_contexts";
|
||||
__react_navigation__elements_contexts = globalThis.__react_navigation__elements_contexts;
|
||||
if (__react_navigation__elements_contexts == null) {
|
||||
const _Map = Map;
|
||||
__react_navigation__elements_contexts = new Map();
|
||||
}
|
||||
globalThis.__react_navigation__elements_contexts = __react_navigation__elements_contexts;
|
||||
|
||||
export const getNamedContext = function getNamedContext(FrameContext, arg1) {
|
||||
value = globalThis[__react_navigation__elements_contexts].get(FrameContext);
|
||||
if (!value) {
|
||||
const context = noop.createContext(arg1);
|
||||
context.displayName = FrameContext;
|
||||
const _globalThis = globalThis;
|
||||
const result = globalThis[tmp].set(FrameContext, context);
|
||||
value = context;
|
||||
const obj2 = globalThis[tmp];
|
||||
}
|
||||
return value;
|
||||
};
|
||||
|
|
@ -1,106 +0,0 @@
|
|||
// Module ID: 8566
|
||||
// Function ID: 8567
|
||||
// Name: _fetchText
|
||||
// Dependencies: [5, 17, 1253]
|
||||
// Exports: fetchText
|
||||
|
||||
// Module 8566 (_fetchText)
|
||||
import Buffer from "Buffer" /* 1253 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
require = fn;
|
||||
let closure_3 = async function _fetchText(arg0, value) {
|
||||
if (c1 === 2) {
|
||||
c1 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c1 = 2;
|
||||
if (arg0 === 1) {
|
||||
c1 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c1 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else if (!closure_0) {
|
||||
c1 = 3;
|
||||
const obj = { value: null, done: true };
|
||||
return obj;
|
||||
} else if (obj4.startsWith("data:image/svg+xml;utf8")) {
|
||||
let tmp4 = (function dataUriToXml(arg0) {
|
||||
try {
|
||||
const _decodeURIComponent = decodeURIComponent;
|
||||
const parts = decodeURIComponent(arg0).split(",");
|
||||
const substr = parts.slice(1);
|
||||
return substr.join(",");
|
||||
} catch (tmp3) {
|
||||
const _Error = Error;
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error = new Error("Decoding " + tmp + " failed with error: " + tmp3);
|
||||
throw error;
|
||||
}
|
||||
})(obj4);
|
||||
} else if (obj4.startsWith("data:image/svg+xml;base64")) {
|
||||
tmp4 = decodeBase64Image(obj4);
|
||||
} else {
|
||||
tmp4 = (function fetchUriData(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_1_5.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
})(obj4);
|
||||
}
|
||||
} catch (tmp7) {
|
||||
c1 = tmp;
|
||||
throw tmp7;
|
||||
}
|
||||
}
|
||||
};
|
||||
let closure_5 = async function _fetchUriData() {
|
||||
closure_129_0 = closure_0;
|
||||
const _fetch = fetch;
|
||||
closure_129_1 = await fetch(closure_0);
|
||||
if (!closure_129_1.ok) {
|
||||
const _Error = Error;
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error = new Error("Fetching " + closure_129_0 + " failed with status " + closure_129_1.status);
|
||||
throw error;
|
||||
}
|
||||
await closure_129_1.text();
|
||||
return arg1;
|
||||
};
|
||||
const Platform = fn(17).Platform;
|
||||
function decodeBase64Image(arg0) {
|
||||
const str = decodeURIComponent(arg0);
|
||||
const parts = decodeURIComponent(arg0).split(";")[1].split(",");
|
||||
const substr = parts.slice(1);
|
||||
const joined = substr.join(",");
|
||||
const _Buffer = Buffer.Buffer;
|
||||
const str2 = decodeURIComponent(arg0).split(";")[1];
|
||||
return _Buffer.from(joined, parts[0]).toString("utf-8");
|
||||
}
|
||||
|
||||
export const fetchText = function fetchText(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
106
stable/source/__helpers/08xxx/8683__fetchText.js
Normal file
106
stable/source/__helpers/08xxx/8683__fetchText.js
Normal file
|
|
@ -0,0 +1,106 @@
|
|||
// Module ID: 8683
|
||||
// Function ID: 8684
|
||||
// Name: _fetchText
|
||||
// Dependencies: [5, 17, 1251]
|
||||
// Exports: fetchText
|
||||
|
||||
// Module 8683 (_fetchText)
|
||||
import Buffer from "Buffer" /* 1251 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
require = fn;
|
||||
let closure_3 = async function _fetchText(arg0, value) {
|
||||
if (c1 === 2) {
|
||||
c1 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c1 = 2;
|
||||
if (arg0 === 1) {
|
||||
c1 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c1 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else if (!closure_0) {
|
||||
c1 = 3;
|
||||
const obj = { value: null, done: true };
|
||||
return obj;
|
||||
} else if (obj4.startsWith("data:image/svg+xml;utf8")) {
|
||||
let tmp4 = (function dataUriToXml(arg0) {
|
||||
try {
|
||||
const _decodeURIComponent = decodeURIComponent;
|
||||
const parts = decodeURIComponent(arg0).split(",");
|
||||
const substr = parts.slice(1);
|
||||
return substr.join(",");
|
||||
} catch (tmp3) {
|
||||
const _Error = Error;
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error = new Error("Decoding " + tmp + " failed with error: " + tmp3);
|
||||
throw error;
|
||||
}
|
||||
})(obj4);
|
||||
} else if (obj4.startsWith("data:image/svg+xml;base64")) {
|
||||
tmp4 = decodeBase64Image(obj4);
|
||||
} else {
|
||||
tmp4 = (function fetchUriData(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_1_5.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
})(obj4);
|
||||
}
|
||||
} catch (tmp7) {
|
||||
c1 = tmp;
|
||||
throw tmp7;
|
||||
}
|
||||
}
|
||||
};
|
||||
let closure_5 = async function _fetchUriData() {
|
||||
closure_129_0 = closure_0;
|
||||
const _fetch = fetch;
|
||||
closure_129_1 = await fetch(closure_0);
|
||||
if (!closure_129_1.ok) {
|
||||
const _Error = Error;
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error = new Error("Fetching " + closure_129_0 + " failed with status " + closure_129_1.status);
|
||||
throw error;
|
||||
}
|
||||
await closure_129_1.text();
|
||||
return arg1;
|
||||
};
|
||||
const Platform = fn(17).Platform;
|
||||
function decodeBase64Image(arg0) {
|
||||
const str = decodeURIComponent(arg0);
|
||||
const parts = decodeURIComponent(arg0).split(";")[1].split(",");
|
||||
const substr = parts.slice(1);
|
||||
const joined = substr.join(",");
|
||||
const _Buffer = Buffer.Buffer;
|
||||
const str2 = decodeURIComponent(arg0).split(";")[1];
|
||||
return _Buffer.from(joined, parts[0]).toString("utf-8");
|
||||
}
|
||||
|
||||
export const fetchText = function fetchText(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -1,451 +0,0 @@
|
|||
// Module ID: 9147
|
||||
// Function ID: 9148
|
||||
// Name: _asyncLoop
|
||||
// Dependencies: [41, 42, 5, 9148, 9149]
|
||||
// Exports: asyncLoop, byteSwap, byteSwap32, bytesToHex, checkOpts, concatBytes, createView, hexToBytes, isBytes, nextTick, randomBytes, rotl, rotr, toBytes, u32, u8, utf8ToBytes, wrapConstructor, wrapConstructorWithOpts, wrapXOFConstructorWithOpts
|
||||
|
||||
// Module 9147 (_asyncLoop)
|
||||
import _classCallCheck from "_classCallCheck" /* 41 */;
|
||||
import _createClass from "_createClass" /* 42 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
const require = globalThis.__r;
|
||||
|
||||
const Hash = require;
|
||||
let closure_7 = async function _asyncLoop(arg0, value) {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
c4 = 1;
|
||||
c3 = 1;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
closure_131_2 = closure_2;
|
||||
closure_131_3 = undefined;
|
||||
closure_131_4 = undefined;
|
||||
closure_131_5 = undefined;
|
||||
const _Date2 = Date;
|
||||
closure_131_3 = Date.now();
|
||||
closure_131_4 = 0;
|
||||
if (closure_131_4 < closure_0) {
|
||||
closure_131_2(closure_131_4);
|
||||
const _Date = Date;
|
||||
closure_131_5 = Date.now() - closure_131_3;
|
||||
let tmp15 = closure_131_5 >= 0;
|
||||
if (tmp15) {
|
||||
tmp15 = closure_131_5 < closure_131_1;
|
||||
}
|
||||
if (!tmp15) {
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
const obj4 = { value: closure_132_1.nextTick(), done: false };
|
||||
return obj4;
|
||||
}
|
||||
}
|
||||
c6 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
closure_131_3 = closure_131_3 + closure_131_5;
|
||||
}
|
||||
closure_131_4 = closure_131_4 + 1;
|
||||
} catch (tmp25) {
|
||||
c6 = tmp;
|
||||
throw tmp25;
|
||||
}
|
||||
}
|
||||
};
|
||||
let uint32Array = new Uint32Array([287454020]);
|
||||
let uint8Array = new Uint8Array(uint32Array.buffer);
|
||||
let closure_5 = Array.from({ length: 256 }, (arg0, arg1) => require("checkEnv").padStart(2, "0"));
|
||||
const _0 = { _0: 48, _9: 57, _A: 65, _F: 70, _a: 97, _f: 102 };
|
||||
let closure_129_0 = asyncGeneratorStep(async (arg0, value) => {
|
||||
if (c0 === 2) {
|
||||
c0 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c0 = 2;
|
||||
if (arg0 === 1) {
|
||||
c0 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c0 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
c0 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} catch (tmp4) {
|
||||
c0 = tmp;
|
||||
throw tmp4;
|
||||
}
|
||||
}
|
||||
});
|
||||
class Hash {
|
||||
constructor() {
|
||||
tmp = closure_3(this, Hash);
|
||||
return;
|
||||
}
|
||||
}
|
||||
const entry = {
|
||||
key: "clone",
|
||||
value: function clone() {
|
||||
return this._cloneInto();
|
||||
}
|
||||
};
|
||||
let items = [entry];
|
||||
const toString = {}.toString;
|
||||
|
||||
export const isBytes = function isBytes(obj) {
|
||||
let tmp = obj instanceof Uint8Array;
|
||||
if (!tmp) {
|
||||
let tmp3 = null != obj && typeof obj === "object";
|
||||
if (tmp3) {
|
||||
tmp3 = "Uint8Array" === obj.constructor.name;
|
||||
}
|
||||
tmp = tmp3;
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
export const byteSwap32 = function byteSwap32(B32) {
|
||||
let length;
|
||||
let num = 0;
|
||||
if (0 < B32.length) {
|
||||
do {
|
||||
B32[num] = exports.byteSwap(B32[num]);
|
||||
num = num + 1;
|
||||
length = B32.length;
|
||||
} while (num < length);
|
||||
}
|
||||
};
|
||||
export const bytesToHex = function bytesToHex(arg0) {
|
||||
let length;
|
||||
Hash(9148).bytes(arg0);
|
||||
let num = 0;
|
||||
let str = "";
|
||||
let str2 = "";
|
||||
if (0 < arg0.length) {
|
||||
do {
|
||||
str = `${closure_5[arg0[num]]}`;
|
||||
num = num + 1;
|
||||
str2 = str;
|
||||
length = arg0.length;
|
||||
} while (num < length);
|
||||
}
|
||||
return str2;
|
||||
};
|
||||
export const hexToBytes = function hexToBytes(str) {
|
||||
let sum;
|
||||
if (typeof str !== "string") {
|
||||
const _Error3 = Error;
|
||||
const error = new Error("hex string expected, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const result = length / 2;
|
||||
if (str.length % 2) {
|
||||
const _Error2 = Error;
|
||||
const error1 = new Error("padded hex string expected, got unpadded hex of length " + length);
|
||||
throw error1;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const uint8Array = new Uint8Array(result);
|
||||
let num = 0;
|
||||
let num5 = 0;
|
||||
if (0 < result) {
|
||||
while (true) {
|
||||
let charCodeAtResult = str.charCodeAt(num);
|
||||
let tmp7 = _0;
|
||||
if (charCodeAtResult >= _0._0) {
|
||||
if (charCodeAtResult <= tmp7._9) {
|
||||
let diff = charCodeAtResult - tmp7._0;
|
||||
sum = num + 1;
|
||||
let charCodeAtResult1 = str.charCodeAt(sum);
|
||||
if (charCodeAtResult1 >= tmp7._0) {
|
||||
if (charCodeAtResult1 <= tmp7._9) {
|
||||
let diff1 = charCodeAtResult1 - tmp7._0;
|
||||
if (undefined === diff) {
|
||||
break;
|
||||
} else if (undefined === diff1) {
|
||||
break;
|
||||
} else {
|
||||
uint8Array[num5] = 16 * diff + diff1;
|
||||
num5 = num5 + 1;
|
||||
num = num + 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (charCodeAtResult1 >= tmp7._A) {
|
||||
if (charCodeAtResult1 <= tmp7._F) {
|
||||
diff1 = charCodeAtResult1 - (tmp7._A - 10);
|
||||
}
|
||||
}
|
||||
if (charCodeAtResult1 >= tmp7._a) {
|
||||
if (charCodeAtResult1 <= tmp7._f) {
|
||||
diff1 = charCodeAtResult1 - (tmp7._a - 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (charCodeAtResult >= tmp7._A) {
|
||||
if (charCodeAtResult <= tmp7._F) {
|
||||
diff = charCodeAtResult - (tmp7._A - 10);
|
||||
}
|
||||
}
|
||||
if (charCodeAtResult >= tmp7._a) {
|
||||
if (charCodeAtResult <= tmp7._f) {
|
||||
diff = charCodeAtResult - (tmp7._a - 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
const _Error = Error;
|
||||
const error2 = new Error("hex string expected, got non-hex character \"" + (str[num] + str[sum]) + "\" at index " + num);
|
||||
throw error2;
|
||||
}
|
||||
return uint8Array;
|
||||
}
|
||||
}
|
||||
};
|
||||
export const asyncLoop = function asyncLoop(arg0, arg1, arg2) {
|
||||
const self = this;
|
||||
const apply = closure_7.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
export const utf8ToBytes = function utf8ToBytes(str) {
|
||||
if (typeof str !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
const uint8Array = new Uint8Array(encoder.encode(str));
|
||||
return uint8Array;
|
||||
}
|
||||
};
|
||||
export const toBytes = function toBytes(B) {
|
||||
let uint8Array = B;
|
||||
if (typeof B === "string") {
|
||||
if (typeof B !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof B);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
uint8Array = new Uint8Array(encoder.encode(B));
|
||||
}
|
||||
}
|
||||
Hash(9148).bytes(uint8Array);
|
||||
return uint8Array;
|
||||
};
|
||||
export const concatBytes = function concatBytes() {
|
||||
let length;
|
||||
let length2;
|
||||
const items = [...arguments];
|
||||
let num = 0;
|
||||
let num2 = 0;
|
||||
let num3 = 0;
|
||||
if (0 < items.length) {
|
||||
do {
|
||||
let arr2 = items[num];
|
||||
let bytesResult = Hash(9148).bytes(arr2);
|
||||
num2 = num2 + arr2.length;
|
||||
num = num + 1;
|
||||
num3 = num2;
|
||||
length = items.length;
|
||||
} while (num < length);
|
||||
}
|
||||
const uint8Array = new Uint8Array(num3);
|
||||
let num4 = 0;
|
||||
let num5 = 0;
|
||||
if (0 < items.length) {
|
||||
do {
|
||||
let arr3 = items[num5];
|
||||
let result = uint8Array.set(arr3, num4);
|
||||
num4 = num4 + arr3.length;
|
||||
num5 = num5 + 1;
|
||||
length2 = items.length;
|
||||
} while (num5 < length2);
|
||||
}
|
||||
return uint8Array;
|
||||
};
|
||||
export const checkOpts = function checkOpts(arg0, arg1) {
|
||||
if (undefined !== arg1) {
|
||||
const call = toString.call;
|
||||
if ("[object Object]" !== (typeof call === "unknown" ? tmp() : call(arg1))) {
|
||||
const _Error = Error;
|
||||
const error = new Error("Options should be object or undefined");
|
||||
throw error;
|
||||
}
|
||||
tmp = toString;
|
||||
}
|
||||
return Object.assign(arg0, arg1);
|
||||
};
|
||||
export const wrapConstructor = function wrapConstructor(fn) {
|
||||
closure_0 = fn;
|
||||
function hashC(str) {
|
||||
let uint8Array = str;
|
||||
if (typeof str === "string") {
|
||||
if (typeof str !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
uint8Array = new Uint8Array(encoder.encode(str));
|
||||
}
|
||||
}
|
||||
Hash(9148).bytes(uint8Array);
|
||||
const obj = closure_0();
|
||||
return closure_0().update(uint8Array).digest();
|
||||
}
|
||||
({ outputLen: hashC.outputLen, blockLen: hashC.blockLen } = fn());
|
||||
hashC.create = () => closure_0();
|
||||
return hashC;
|
||||
};
|
||||
export const wrapConstructorWithOpts = function wrapConstructorWithOpts(fn) {
|
||||
closure_0 = fn;
|
||||
function hashC(str, arg1) {
|
||||
let uint8Array = str;
|
||||
if (typeof str === "string") {
|
||||
if (typeof str !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
uint8Array = new Uint8Array(encoder.encode(str));
|
||||
}
|
||||
}
|
||||
Hash(9148).bytes(uint8Array);
|
||||
const obj = closure_0(arg1);
|
||||
return closure_0(arg1).update(uint8Array).digest();
|
||||
}
|
||||
({ outputLen: hashC.outputLen, blockLen: hashC.blockLen } = fn({}));
|
||||
hashC.create = (arg0) => closure_0(arg0);
|
||||
return hashC;
|
||||
};
|
||||
export const wrapXOFConstructorWithOpts = function wrapXOFConstructorWithOpts(fn) {
|
||||
closure_0 = fn;
|
||||
function hashC(str, arg1) {
|
||||
let uint8Array = str;
|
||||
if (typeof str === "string") {
|
||||
if (typeof str !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
uint8Array = new Uint8Array(encoder.encode(str));
|
||||
}
|
||||
}
|
||||
Hash(9148).bytes(uint8Array);
|
||||
const obj = closure_0(arg1);
|
||||
return closure_0(arg1).update(uint8Array).digest();
|
||||
}
|
||||
({ outputLen: hashC.outputLen, blockLen: hashC.blockLen } = fn({}));
|
||||
hashC.create = (arg0) => closure_0(arg0);
|
||||
return hashC;
|
||||
};
|
||||
export const randomBytes = function randomBytes(result) {
|
||||
let num = result;
|
||||
if (result === undefined) {
|
||||
num = 32;
|
||||
}
|
||||
if (Hash(9149).crypto) {
|
||||
if (typeof tmp(9149).crypto.getRandomValues === "function") {
|
||||
const _crypto2 = tmp(9149).crypto;
|
||||
const _Uint8Array = Uint8Array;
|
||||
const uint8Array = new Uint8Array(num);
|
||||
return _crypto2.getRandomValues(uint8Array);
|
||||
}
|
||||
}
|
||||
if (Hash(9149).crypto) {
|
||||
if (typeof tmp(9149).crypto.randomBytes === "function") {
|
||||
const _crypto = tmp(9149).crypto;
|
||||
return _crypto.randomBytes(num);
|
||||
}
|
||||
}
|
||||
const error = new Error("crypto.getRandomValues must be defined");
|
||||
throw error;
|
||||
};
|
||||
export const u8 = (buffer) => {
|
||||
const uint8Array = new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
||||
return uint8Array;
|
||||
};
|
||||
export const u32 = (buffer) => {
|
||||
const uint32Array = new Uint32Array(buffer.buffer, buffer.byteOffset, Math.floor(buffer.byteLength / 4));
|
||||
return uint32Array;
|
||||
};
|
||||
export const createView = (buffer) => {
|
||||
const dataView = new DataView(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
||||
return dataView;
|
||||
};
|
||||
export const rotr = (arg0, arg1) => arg0 << 32 - arg1 | arg0 >>> arg1;
|
||||
export const rotl = (arg0, arg1) => arg0 << arg1 | arg0 >>> 32 - arg1 >>> 0;
|
||||
export const isLE = 68 === uint8Array[0];
|
||||
export const byteSwap = (arg0) => arg0 << 24 & 4278190080 | arg0 << 8 & 16711680 | arg0 >>> 8 & 65280 | arg0 >>> 24 & 255;
|
||||
export const byteSwapIfBE = exports.isLE ? ((arg0) => arg0) : ((arg0) => exports.byteSwap(arg0));
|
||||
export const nextTick = function nextTick() {
|
||||
const self = this;
|
||||
const apply = Hash.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
export const Hash = _createClass(Hash, items);
|
||||
451
stable/source/__helpers/09xxx/9270__asyncLoop.js
Normal file
451
stable/source/__helpers/09xxx/9270__asyncLoop.js
Normal file
|
|
@ -0,0 +1,451 @@
|
|||
// Module ID: 9270
|
||||
// Function ID: 9271
|
||||
// Name: _asyncLoop
|
||||
// Dependencies: [41, 42, 5, 9271, 9272]
|
||||
// Exports: asyncLoop, byteSwap, byteSwap32, bytesToHex, checkOpts, concatBytes, createView, hexToBytes, isBytes, nextTick, randomBytes, rotl, rotr, toBytes, u32, u8, utf8ToBytes, wrapConstructor, wrapConstructorWithOpts, wrapXOFConstructorWithOpts
|
||||
|
||||
// Module 9270 (_asyncLoop)
|
||||
import _classCallCheck from "_classCallCheck" /* 41 */;
|
||||
import _createClass from "_createClass" /* 42 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
const require = globalThis.__r;
|
||||
|
||||
const Hash = require;
|
||||
let closure_7 = async function _asyncLoop(arg0, value) {
|
||||
if (c6 === 2) {
|
||||
c6 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c6 = 2;
|
||||
if (0 === c5) {
|
||||
if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
c4 = 1;
|
||||
c3 = 1;
|
||||
closure_131_0 = closure_0;
|
||||
closure_131_1 = closure_1;
|
||||
closure_131_2 = closure_2;
|
||||
closure_131_3 = undefined;
|
||||
closure_131_4 = undefined;
|
||||
closure_131_5 = undefined;
|
||||
const _Date2 = Date;
|
||||
closure_131_3 = Date.now();
|
||||
closure_131_4 = 0;
|
||||
if (closure_131_4 < closure_0) {
|
||||
closure_131_2(closure_131_4);
|
||||
const _Date = Date;
|
||||
closure_131_5 = Date.now() - closure_131_3;
|
||||
let tmp15 = closure_131_5 >= 0;
|
||||
if (tmp15) {
|
||||
tmp15 = closure_131_5 < closure_131_1;
|
||||
}
|
||||
if (!tmp15) {
|
||||
c5 = 1;
|
||||
c6 = 1;
|
||||
const obj4 = { value: closure_132_1.nextTick(), done: false };
|
||||
return obj4;
|
||||
}
|
||||
}
|
||||
c6 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c6 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c6 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
closure_131_3 = closure_131_3 + closure_131_5;
|
||||
}
|
||||
closure_131_4 = closure_131_4 + 1;
|
||||
} catch (tmp25) {
|
||||
c6 = tmp;
|
||||
throw tmp25;
|
||||
}
|
||||
}
|
||||
};
|
||||
let uint32Array = new Uint32Array([287454020]);
|
||||
let uint8Array = new Uint8Array(uint32Array.buffer);
|
||||
let closure_5 = Array.from({ length: 256 }, (arg0, arg1) => require("checkEnv").padStart(2, "0"));
|
||||
const _0 = { _0: 48, _9: 57, _A: 65, _F: 70, _a: 97, _f: 102 };
|
||||
let closure_129_0 = asyncGeneratorStep(async (arg0, value) => {
|
||||
if (c0 === 2) {
|
||||
c0 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c0 = 2;
|
||||
if (arg0 === 1) {
|
||||
c0 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c0 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
c0 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} catch (tmp4) {
|
||||
c0 = tmp;
|
||||
throw tmp4;
|
||||
}
|
||||
}
|
||||
});
|
||||
class Hash {
|
||||
constructor() {
|
||||
tmp = closure_3(this, Hash);
|
||||
return;
|
||||
}
|
||||
}
|
||||
const entry = {
|
||||
key: "clone",
|
||||
value: function clone() {
|
||||
return this._cloneInto();
|
||||
}
|
||||
};
|
||||
let items = [entry];
|
||||
const toString = {}.toString;
|
||||
|
||||
export const isBytes = function isBytes(obj) {
|
||||
let tmp = obj instanceof Uint8Array;
|
||||
if (!tmp) {
|
||||
let tmp3 = null != obj && typeof obj === "object";
|
||||
if (tmp3) {
|
||||
tmp3 = "Uint8Array" === obj.constructor.name;
|
||||
}
|
||||
tmp = tmp3;
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
export const byteSwap32 = function byteSwap32(B32) {
|
||||
let length;
|
||||
let num = 0;
|
||||
if (0 < B32.length) {
|
||||
do {
|
||||
B32[num] = exports.byteSwap(B32[num]);
|
||||
num = num + 1;
|
||||
length = B32.length;
|
||||
} while (num < length);
|
||||
}
|
||||
};
|
||||
export const bytesToHex = function bytesToHex(arg0) {
|
||||
let length;
|
||||
Hash(9271).bytes(arg0);
|
||||
let num = 0;
|
||||
let str = "";
|
||||
let str2 = "";
|
||||
if (0 < arg0.length) {
|
||||
do {
|
||||
str = `${closure_5[arg0[num]]}`;
|
||||
num = num + 1;
|
||||
str2 = str;
|
||||
length = arg0.length;
|
||||
} while (num < length);
|
||||
}
|
||||
return str2;
|
||||
};
|
||||
export const hexToBytes = function hexToBytes(str) {
|
||||
let sum;
|
||||
if (typeof str !== "string") {
|
||||
const _Error3 = Error;
|
||||
const error = new Error("hex string expected, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const result = length / 2;
|
||||
if (str.length % 2) {
|
||||
const _Error2 = Error;
|
||||
const error1 = new Error("padded hex string expected, got unpadded hex of length " + length);
|
||||
throw error1;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const uint8Array = new Uint8Array(result);
|
||||
let num = 0;
|
||||
let num5 = 0;
|
||||
if (0 < result) {
|
||||
while (true) {
|
||||
let charCodeAtResult = str.charCodeAt(num);
|
||||
let tmp7 = _0;
|
||||
if (charCodeAtResult >= _0._0) {
|
||||
if (charCodeAtResult <= tmp7._9) {
|
||||
let diff = charCodeAtResult - tmp7._0;
|
||||
sum = num + 1;
|
||||
let charCodeAtResult1 = str.charCodeAt(sum);
|
||||
if (charCodeAtResult1 >= tmp7._0) {
|
||||
if (charCodeAtResult1 <= tmp7._9) {
|
||||
let diff1 = charCodeAtResult1 - tmp7._0;
|
||||
if (undefined === diff) {
|
||||
break;
|
||||
} else if (undefined === diff1) {
|
||||
break;
|
||||
} else {
|
||||
uint8Array[num5] = 16 * diff + diff1;
|
||||
num5 = num5 + 1;
|
||||
num = num + 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (charCodeAtResult1 >= tmp7._A) {
|
||||
if (charCodeAtResult1 <= tmp7._F) {
|
||||
diff1 = charCodeAtResult1 - (tmp7._A - 10);
|
||||
}
|
||||
}
|
||||
if (charCodeAtResult1 >= tmp7._a) {
|
||||
if (charCodeAtResult1 <= tmp7._f) {
|
||||
diff1 = charCodeAtResult1 - (tmp7._a - 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (charCodeAtResult >= tmp7._A) {
|
||||
if (charCodeAtResult <= tmp7._F) {
|
||||
diff = charCodeAtResult - (tmp7._A - 10);
|
||||
}
|
||||
}
|
||||
if (charCodeAtResult >= tmp7._a) {
|
||||
if (charCodeAtResult <= tmp7._f) {
|
||||
diff = charCodeAtResult - (tmp7._a - 10);
|
||||
}
|
||||
}
|
||||
}
|
||||
const _Error = Error;
|
||||
const error2 = new Error("hex string expected, got non-hex character \"" + (str[num] + str[sum]) + "\" at index " + num);
|
||||
throw error2;
|
||||
}
|
||||
return uint8Array;
|
||||
}
|
||||
}
|
||||
};
|
||||
export const asyncLoop = function asyncLoop(arg0, arg1, arg2) {
|
||||
const self = this;
|
||||
const apply = closure_7.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
export const utf8ToBytes = function utf8ToBytes(str) {
|
||||
if (typeof str !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
const uint8Array = new Uint8Array(encoder.encode(str));
|
||||
return uint8Array;
|
||||
}
|
||||
};
|
||||
export const toBytes = function toBytes(B) {
|
||||
let uint8Array = B;
|
||||
if (typeof B === "string") {
|
||||
if (typeof B !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof B);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
uint8Array = new Uint8Array(encoder.encode(B));
|
||||
}
|
||||
}
|
||||
Hash(9271).bytes(uint8Array);
|
||||
return uint8Array;
|
||||
};
|
||||
export const concatBytes = function concatBytes() {
|
||||
let length;
|
||||
let length2;
|
||||
const items = [...arguments];
|
||||
let num = 0;
|
||||
let num2 = 0;
|
||||
let num3 = 0;
|
||||
if (0 < items.length) {
|
||||
do {
|
||||
let arr2 = items[num];
|
||||
let bytesResult = Hash(9271).bytes(arr2);
|
||||
num2 = num2 + arr2.length;
|
||||
num = num + 1;
|
||||
num3 = num2;
|
||||
length = items.length;
|
||||
} while (num < length);
|
||||
}
|
||||
const uint8Array = new Uint8Array(num3);
|
||||
let num4 = 0;
|
||||
let num5 = 0;
|
||||
if (0 < items.length) {
|
||||
do {
|
||||
let arr3 = items[num5];
|
||||
let result = uint8Array.set(arr3, num4);
|
||||
num4 = num4 + arr3.length;
|
||||
num5 = num5 + 1;
|
||||
length2 = items.length;
|
||||
} while (num5 < length2);
|
||||
}
|
||||
return uint8Array;
|
||||
};
|
||||
export const checkOpts = function checkOpts(arg0, arg1) {
|
||||
if (undefined !== arg1) {
|
||||
const call = toString.call;
|
||||
if ("[object Object]" !== (typeof call === "unknown" ? tmp() : call(arg1))) {
|
||||
const _Error = Error;
|
||||
const error = new Error("Options should be object or undefined");
|
||||
throw error;
|
||||
}
|
||||
tmp = toString;
|
||||
}
|
||||
return Object.assign(arg0, arg1);
|
||||
};
|
||||
export const wrapConstructor = function wrapConstructor(fn) {
|
||||
closure_0 = fn;
|
||||
function hashC(str) {
|
||||
let uint8Array = str;
|
||||
if (typeof str === "string") {
|
||||
if (typeof str !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
uint8Array = new Uint8Array(encoder.encode(str));
|
||||
}
|
||||
}
|
||||
Hash(9271).bytes(uint8Array);
|
||||
const obj = closure_0();
|
||||
return closure_0().update(uint8Array).digest();
|
||||
}
|
||||
({ outputLen: hashC.outputLen, blockLen: hashC.blockLen } = fn());
|
||||
hashC.create = () => closure_0();
|
||||
return hashC;
|
||||
};
|
||||
export const wrapConstructorWithOpts = function wrapConstructorWithOpts(fn) {
|
||||
closure_0 = fn;
|
||||
function hashC(str, arg1) {
|
||||
let uint8Array = str;
|
||||
if (typeof str === "string") {
|
||||
if (typeof str !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
uint8Array = new Uint8Array(encoder.encode(str));
|
||||
}
|
||||
}
|
||||
Hash(9271).bytes(uint8Array);
|
||||
const obj = closure_0(arg1);
|
||||
return closure_0(arg1).update(uint8Array).digest();
|
||||
}
|
||||
({ outputLen: hashC.outputLen, blockLen: hashC.blockLen } = fn({}));
|
||||
hashC.create = (arg0) => closure_0(arg0);
|
||||
return hashC;
|
||||
};
|
||||
export const wrapXOFConstructorWithOpts = function wrapXOFConstructorWithOpts(fn) {
|
||||
closure_0 = fn;
|
||||
function hashC(str, arg1) {
|
||||
let uint8Array = str;
|
||||
if (typeof str === "string") {
|
||||
if (typeof str !== "string") {
|
||||
const _Error = Error;
|
||||
const error = new Error("utf8ToBytes expected string, got " + typeof str);
|
||||
throw error;
|
||||
} else {
|
||||
const _Uint8Array = Uint8Array;
|
||||
const _TextEncoder = TextEncoder;
|
||||
const encoder = new TextEncoder();
|
||||
uint8Array = new Uint8Array(encoder.encode(str));
|
||||
}
|
||||
}
|
||||
Hash(9271).bytes(uint8Array);
|
||||
const obj = closure_0(arg1);
|
||||
return closure_0(arg1).update(uint8Array).digest();
|
||||
}
|
||||
({ outputLen: hashC.outputLen, blockLen: hashC.blockLen } = fn({}));
|
||||
hashC.create = (arg0) => closure_0(arg0);
|
||||
return hashC;
|
||||
};
|
||||
export const randomBytes = function randomBytes(result) {
|
||||
let num = result;
|
||||
if (result === undefined) {
|
||||
num = 32;
|
||||
}
|
||||
if (Hash(9272).crypto) {
|
||||
if (typeof tmp(9272).crypto.getRandomValues === "function") {
|
||||
const _crypto2 = tmp(9272).crypto;
|
||||
const _Uint8Array = Uint8Array;
|
||||
const uint8Array = new Uint8Array(num);
|
||||
return _crypto2.getRandomValues(uint8Array);
|
||||
}
|
||||
}
|
||||
if (Hash(9272).crypto) {
|
||||
if (typeof tmp(9272).crypto.randomBytes === "function") {
|
||||
const _crypto = tmp(9272).crypto;
|
||||
return _crypto.randomBytes(num);
|
||||
}
|
||||
}
|
||||
const error = new Error("crypto.getRandomValues must be defined");
|
||||
throw error;
|
||||
};
|
||||
export const u8 = (buffer) => {
|
||||
const uint8Array = new Uint8Array(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
||||
return uint8Array;
|
||||
};
|
||||
export const u32 = (buffer) => {
|
||||
const uint32Array = new Uint32Array(buffer.buffer, buffer.byteOffset, Math.floor(buffer.byteLength / 4));
|
||||
return uint32Array;
|
||||
};
|
||||
export const createView = (buffer) => {
|
||||
const dataView = new DataView(buffer.buffer, buffer.byteOffset, buffer.byteLength);
|
||||
return dataView;
|
||||
};
|
||||
export const rotr = (arg0, arg1) => arg0 << 32 - arg1 | arg0 >>> arg1;
|
||||
export const rotl = (arg0, arg1) => arg0 << arg1 | arg0 >>> 32 - arg1 >>> 0;
|
||||
export const isLE = 68 === uint8Array[0];
|
||||
export const byteSwap = (arg0) => arg0 << 24 & 4278190080 | arg0 << 8 & 16711680 | arg0 >>> 8 & 65280 | arg0 >>> 24 & 255;
|
||||
export const byteSwapIfBE = exports.isLE ? ((arg0) => arg0) : ((arg0) => exports.byteSwap(arg0));
|
||||
export const nextTick = function nextTick() {
|
||||
const self = this;
|
||||
const apply = Hash.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
export const Hash = _createClass(Hash, items);
|
||||
|
|
@ -1,60 +0,0 @@
|
|||
// Module ID: 11235
|
||||
// Function ID: 11236
|
||||
// Name: _pickDirectory
|
||||
// Dependencies: [5, 17, 11231]
|
||||
// Exports: pickDirectory
|
||||
|
||||
// Module 11235 (_pickDirectory)
|
||||
import _mod11231 from "module_11231" /* 11231 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
require = fn;
|
||||
let closure_3 = async function _pickDirectory(arg0, value) {
|
||||
if (c1 === 2) {
|
||||
c1 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c1 = 2;
|
||||
if (arg0 === 1) {
|
||||
c1 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c1 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
const obj = { mode: "open" };
|
||||
const merged = Object.assign(closure_0);
|
||||
const NativeDocumentPicker = _mod11231.NativeDocumentPicker;
|
||||
c1 = 3;
|
||||
const obj4 = { value: NativeDocumentPicker.pickDirectory(obj), done: true };
|
||||
return obj4;
|
||||
}
|
||||
} catch (tmp9) {
|
||||
c1 = tmp;
|
||||
throw tmp9;
|
||||
}
|
||||
}
|
||||
};
|
||||
const Platform = fn(17).Platform;
|
||||
|
||||
export const pickDirectory = function pickDirectory(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -1,135 +0,0 @@
|
|||
// Module ID: 11236
|
||||
// Function ID: 11237
|
||||
// Name: _pick
|
||||
// Dependencies: [5, 17, 11233, 11231, 11237]
|
||||
// Exports: pick
|
||||
|
||||
// Module 11236 (_pick)
|
||||
import _mod11231 from "module_11231" /* 11231 */;
|
||||
import _mod11233 from "module_11233" /* 11233 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
require = fn;
|
||||
let closure_3 = async function _pick(arg0, value) {
|
||||
if (c8 === 2) {
|
||||
c8 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
while (true) {
|
||||
c8 = 2;
|
||||
let tmp4 = c7;
|
||||
if (0 === c7) {
|
||||
if (arg0 === 1) {
|
||||
c8 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c8 = 3;
|
||||
let obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp;
|
||||
closure_3 = tmp4;
|
||||
let tmp44 = closure_0;
|
||||
closure_131_0 = undefined;
|
||||
closure_131_1 = undefined;
|
||||
closure_131_2 = undefined;
|
||||
let type1;
|
||||
if (closure_0 != null) {
|
||||
type1 = tmp44.type;
|
||||
}
|
||||
if (type1) {
|
||||
let _Array = Array;
|
||||
let fn = tmp44.type;
|
||||
if (Array.isArray(tmp44.type)) {
|
||||
let items = fn;
|
||||
} else {
|
||||
items = [fn];
|
||||
}
|
||||
let flatResult = items.flat();
|
||||
fn = (str) => str.trim();
|
||||
let mapped = flatResult.map(fn);
|
||||
} else {
|
||||
let items1 = [_mod11233.types.allFiles];
|
||||
let obj4 = { mode: "import", allowMultiSelection: false, allowVirtualFiles: false };
|
||||
let merged = Object.assign(tmp44);
|
||||
obj4.type = items1;
|
||||
closure_131_0 = obj4;
|
||||
let type = obj4.type;
|
||||
if (type.every((item) => typeof item === "string")) {
|
||||
if ("mode" in obj4) {
|
||||
let items2 = ["import", "open"];
|
||||
if (!items2.includes(obj4.mode)) {
|
||||
let _TypeError2 = TypeError;
|
||||
let tmp30 = new.target;
|
||||
let tmp31 = new.target;
|
||||
let typeError = new TypeError("Invalid mode option: " + obj4.mode);
|
||||
throw typeError;
|
||||
}
|
||||
}
|
||||
let NativeDocumentPicker = _mod11231.NativeDocumentPicker;
|
||||
c7 = 1;
|
||||
c8 = 1;
|
||||
let obj5 = { value: NativeDocumentPicker.pick(obj4), done: false };
|
||||
return obj5;
|
||||
} else {
|
||||
let _TypeError = TypeError;
|
||||
let _HermesInternal = HermesInternal;
|
||||
let tmp26 = new.target;
|
||||
let tmp27 = new.target;
|
||||
let typeError1 = new TypeError("Unexpected type option in " + obj4.type + ", did you try using a DocumentPicker.types.* that does not exist?");
|
||||
throw typeError1;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (1 === tmp4) {
|
||||
if (arg0 === 1) {
|
||||
c8 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c8 = 3;
|
||||
let obj6 = { value, done: true };
|
||||
return obj6;
|
||||
} else {
|
||||
closure_131_1 = value;
|
||||
closure_2 = closure_131_1;
|
||||
dependencyMap = closure_131_1[Symbol.iterator]();
|
||||
while (dependencyMap !== undefined) {
|
||||
closure_131_2 = tmp10;
|
||||
let obj = closure_132_0(closure_132_1[4]);
|
||||
closure_131_2.hasRequestedType = obj.safeValidate(closure_131_0.type, closure_131_2);
|
||||
c6 = 0;
|
||||
continue;
|
||||
}
|
||||
c8 = 3;
|
||||
let obj7 = { value: closure_131_1, done: true };
|
||||
return obj7;
|
||||
}
|
||||
} else {
|
||||
c6 = 0;
|
||||
dependencyMap.return();
|
||||
throw hasOwnProperty;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
const Platform = fn(17).Platform;
|
||||
|
||||
export const pick = function pick(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -1,41 +0,0 @@
|
|||
// Module ID: 11238
|
||||
// Function ID: 11239
|
||||
// Name: _saveDocuments
|
||||
// Dependencies: [5, 17, 11231]
|
||||
// Exports: saveDocuments
|
||||
|
||||
// Module 11238 (_saveDocuments)
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
const require = fn;
|
||||
let closure_3 = async function _saveDocuments() {
|
||||
closure_1 = tmp2;
|
||||
await asyncGeneratorStep(async () => {
|
||||
if (tmp2.sourceUris.length > 1) {
|
||||
const _console = console;
|
||||
const _HermesInternal = HermesInternal;
|
||||
console.warn("DocumentPicker.saveDocuments: Android only allows to save one file at a time.\n\n You provided an array with " + length + " entries.");
|
||||
}
|
||||
const NativeDocumentPicker2 = tmp2(11231).NativeDocumentPicker;
|
||||
closure_128_0 = await NativeDocumentPicker2.saveDocument(tmp2);
|
||||
const NativeDocumentPicker = tmp2(11231).NativeDocumentPicker;
|
||||
await NativeDocumentPicker.writeDocuments(closure_128_0);
|
||||
return arg1;
|
||||
})();
|
||||
return arg1.map(closure_129_4);
|
||||
};
|
||||
function keepOnlySpecifiedFields(uri) {
|
||||
return { uri: uri.uri, name: uri.name, error: uri.error };
|
||||
}
|
||||
const Platform = fn(17).Platform;
|
||||
|
||||
export const saveDocuments = function saveDocuments(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
60
stable/source/__helpers/11xxx/11367__pickDirectory.js
Normal file
60
stable/source/__helpers/11xxx/11367__pickDirectory.js
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
// Module ID: 11367
|
||||
// Function ID: 11368
|
||||
// Name: _pickDirectory
|
||||
// Dependencies: [5, 17, 11363]
|
||||
// Exports: pickDirectory
|
||||
|
||||
// Module 11367 (_pickDirectory)
|
||||
import _mod11363 from "module_11363" /* 11363 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
require = fn;
|
||||
let closure_3 = async function _pickDirectory(arg0, value) {
|
||||
if (c1 === 2) {
|
||||
c1 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c1 = 2;
|
||||
if (arg0 === 1) {
|
||||
c1 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c1 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
const obj = { mode: "open" };
|
||||
const merged = Object.assign(closure_0);
|
||||
const NativeDocumentPicker = _mod11363.NativeDocumentPicker;
|
||||
c1 = 3;
|
||||
const obj4 = { value: NativeDocumentPicker.pickDirectory(obj), done: true };
|
||||
return obj4;
|
||||
}
|
||||
} catch (tmp9) {
|
||||
c1 = tmp;
|
||||
throw tmp9;
|
||||
}
|
||||
}
|
||||
};
|
||||
const Platform = fn(17).Platform;
|
||||
|
||||
export const pickDirectory = function pickDirectory(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
135
stable/source/__helpers/11xxx/11368__pick.js
Normal file
135
stable/source/__helpers/11xxx/11368__pick.js
Normal file
|
|
@ -0,0 +1,135 @@
|
|||
// Module ID: 11368
|
||||
// Function ID: 11369
|
||||
// Name: _pick
|
||||
// Dependencies: [5, 17, 11365, 11363, 11369]
|
||||
// Exports: pick
|
||||
|
||||
// Module 11368 (_pick)
|
||||
import _mod11363 from "module_11363" /* 11363 */;
|
||||
import _mod11365 from "module_11365" /* 11365 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
require = fn;
|
||||
let closure_3 = async function _pick(arg0, value) {
|
||||
if (c8 === 2) {
|
||||
c8 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
while (true) {
|
||||
c8 = 2;
|
||||
let tmp4 = c7;
|
||||
if (0 === c7) {
|
||||
if (arg0 === 1) {
|
||||
c8 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c8 = 3;
|
||||
let obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_4 = tmp;
|
||||
closure_3 = tmp4;
|
||||
let tmp44 = closure_0;
|
||||
closure_131_0 = undefined;
|
||||
closure_131_1 = undefined;
|
||||
closure_131_2 = undefined;
|
||||
let type1;
|
||||
if (closure_0 != null) {
|
||||
type1 = tmp44.type;
|
||||
}
|
||||
if (type1) {
|
||||
let _Array = Array;
|
||||
let fn = tmp44.type;
|
||||
if (Array.isArray(tmp44.type)) {
|
||||
let items = fn;
|
||||
} else {
|
||||
items = [fn];
|
||||
}
|
||||
let flatResult = items.flat();
|
||||
fn = (str) => str.trim();
|
||||
let mapped = flatResult.map(fn);
|
||||
} else {
|
||||
let items1 = [_mod11365.types.allFiles];
|
||||
let obj4 = { mode: "import", allowMultiSelection: false, allowVirtualFiles: false };
|
||||
let merged = Object.assign(tmp44);
|
||||
obj4.type = items1;
|
||||
closure_131_0 = obj4;
|
||||
let type = obj4.type;
|
||||
if (type.every((item) => typeof item === "string")) {
|
||||
if ("mode" in obj4) {
|
||||
let items2 = ["import", "open"];
|
||||
if (!items2.includes(obj4.mode)) {
|
||||
let _TypeError2 = TypeError;
|
||||
let tmp30 = new.target;
|
||||
let tmp31 = new.target;
|
||||
let typeError = new TypeError("Invalid mode option: " + obj4.mode);
|
||||
throw typeError;
|
||||
}
|
||||
}
|
||||
let NativeDocumentPicker = _mod11363.NativeDocumentPicker;
|
||||
c7 = 1;
|
||||
c8 = 1;
|
||||
let obj5 = { value: NativeDocumentPicker.pick(obj4), done: false };
|
||||
return obj5;
|
||||
} else {
|
||||
let _TypeError = TypeError;
|
||||
let _HermesInternal = HermesInternal;
|
||||
let tmp26 = new.target;
|
||||
let tmp27 = new.target;
|
||||
let typeError1 = new TypeError("Unexpected type option in " + obj4.type + ", did you try using a DocumentPicker.types.* that does not exist?");
|
||||
throw typeError1;
|
||||
}
|
||||
}
|
||||
}
|
||||
} else if (1 === tmp4) {
|
||||
if (arg0 === 1) {
|
||||
c8 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c8 = 3;
|
||||
let obj6 = { value, done: true };
|
||||
return obj6;
|
||||
} else {
|
||||
closure_131_1 = value;
|
||||
closure_2 = closure_131_1;
|
||||
dependencyMap = closure_131_1[Symbol.iterator]();
|
||||
while (dependencyMap !== undefined) {
|
||||
closure_131_2 = tmp10;
|
||||
let obj = closure_132_0(closure_132_1[4]);
|
||||
closure_131_2.hasRequestedType = obj.safeValidate(closure_131_0.type, closure_131_2);
|
||||
c6 = 0;
|
||||
continue;
|
||||
}
|
||||
c8 = 3;
|
||||
let obj7 = { value: closure_131_1, done: true };
|
||||
return obj7;
|
||||
}
|
||||
} else {
|
||||
c6 = 0;
|
||||
dependencyMap.return();
|
||||
throw hasOwnProperty;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
const Platform = fn(17).Platform;
|
||||
|
||||
export const pick = function pick(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
41
stable/source/__helpers/11xxx/11370__saveDocuments.js
Normal file
41
stable/source/__helpers/11xxx/11370__saveDocuments.js
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
// Module ID: 11370
|
||||
// Function ID: 11371
|
||||
// Name: _saveDocuments
|
||||
// Dependencies: [5, 17, 11363]
|
||||
// Exports: saveDocuments
|
||||
|
||||
// Module 11370 (_saveDocuments)
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
const require = fn;
|
||||
let closure_3 = async function _saveDocuments() {
|
||||
closure_1 = tmp2;
|
||||
await asyncGeneratorStep(async () => {
|
||||
if (tmp2.sourceUris.length > 1) {
|
||||
const _console = console;
|
||||
const _HermesInternal = HermesInternal;
|
||||
console.warn("DocumentPicker.saveDocuments: Android only allows to save one file at a time.\n\n You provided an array with " + length + " entries.");
|
||||
}
|
||||
const NativeDocumentPicker2 = tmp2(11363).NativeDocumentPicker;
|
||||
closure_128_0 = await NativeDocumentPicker2.saveDocument(tmp2);
|
||||
const NativeDocumentPicker = tmp2(11363).NativeDocumentPicker;
|
||||
await NativeDocumentPicker.writeDocuments(closure_128_0);
|
||||
return arg1;
|
||||
})();
|
||||
return arg1.map(closure_129_4);
|
||||
};
|
||||
function keepOnlySpecifiedFields(uri) {
|
||||
return { uri: uri.uri, name: uri.name, error: uri.error };
|
||||
}
|
||||
const Platform = fn(17).Platform;
|
||||
|
||||
export const saveDocuments = function saveDocuments(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -1,358 +0,0 @@
|
|||
// Module ID: 12849
|
||||
// Function ID: 12850
|
||||
// Name: _flush
|
||||
// Dependencies: [5, 12828, 12850, 12829, 12801, 12812, 12815, 12808, 12838, 12802, 12824]
|
||||
// Exports: addEventProcessor, captureCheckIn, captureEvent, captureException, captureMessage, captureSession, close, flush, isEnabled, isInitialized, lastEventId, setContext, setExtra, setExtras, setTag, setTags, setUser, startSession, withMonitor
|
||||
|
||||
// Module 12849 (_flush)
|
||||
import _mod12802 from "module_12802" /* 12802 */;
|
||||
import _mod12812 from "module_12812" /* 12812 */;
|
||||
import _mod12815 from "module_12815" /* 12815 */;
|
||||
import _mod12824 from "module_12824" /* 12824 */;
|
||||
import _mod12828 from "module_12828" /* 12828 */;
|
||||
import _mod12850 from "module_12850" /* 12850 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
const require = globalThis.__r;
|
||||
|
||||
let closure_3 = async function _flush(arg0, value) {
|
||||
if (c1 === 2) {
|
||||
c1 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c1 = 2;
|
||||
if (arg0 === 1) {
|
||||
c1 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c1 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
const client = require("module_12828").getClient();
|
||||
if (client) {
|
||||
client.flush(tmp13);
|
||||
} else {
|
||||
if (tmp14(tmp15[3]).DEBUG_BUILD) {
|
||||
const logger = tmp14(tmp15[4]).logger;
|
||||
logger.warn("Cannot flush events. No client defined.");
|
||||
}
|
||||
const resolved = Promise.resolve(false);
|
||||
}
|
||||
c1 = 3;
|
||||
const obj3 = require("module_12828");
|
||||
tmp13 = closure_0;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c1 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
let closure_4 = async function _close(arg0, value) {
|
||||
if (c1 === 2) {
|
||||
c1 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c1 = 2;
|
||||
if (arg0 === 1) {
|
||||
c1 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c1 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
const client = require("module_12828").getClient();
|
||||
if (client) {
|
||||
client.close(tmp13);
|
||||
} else {
|
||||
if (tmp14(tmp15[3]).DEBUG_BUILD) {
|
||||
const logger = tmp14(tmp15[4]).logger;
|
||||
logger.warn("Cannot flush events and disable SDK. No client defined.");
|
||||
}
|
||||
const resolved = Promise.resolve(false);
|
||||
}
|
||||
c1 = 3;
|
||||
const obj3 = require("module_12828");
|
||||
tmp13 = closure_0;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c1 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
function endSession() {
|
||||
const isolationScope = _mod12828.getIsolationScope();
|
||||
const currentScope = _mod12828.getCurrentScope();
|
||||
const tmp3 = currentScope.getSession() || isolationScope.getSession();
|
||||
if (tmp3) {
|
||||
tmp(12824).closeSession(tmp3);
|
||||
const tmpResult = tmp(12824);
|
||||
}
|
||||
const isolationScope1 = _mod12828.getIsolationScope();
|
||||
const tmpResult4 = _mod12828;
|
||||
const currentScope1 = _mod12828.getCurrentScope();
|
||||
const tmpResult5 = _mod12828;
|
||||
const client = _mod12828.getClient();
|
||||
const tmp5 = currentScope1.getSession() || isolationScope1.getSession();
|
||||
let tmp6 = tmp5;
|
||||
if (tmp5) {
|
||||
tmp6 = client;
|
||||
}
|
||||
if (tmp6) {
|
||||
client.captureSession(tmp5);
|
||||
}
|
||||
isolationScope.setSession();
|
||||
currentScope.setSession();
|
||||
}
|
||||
|
||||
export const addEventProcessor = function addEventProcessor(arg0) {
|
||||
const isolationScope = _mod12828.getIsolationScope();
|
||||
isolationScope.addEventProcessor(arg0);
|
||||
};
|
||||
export const captureCheckIn = function captureCheckIn(arg0, arg1) {
|
||||
const currentScope = _mod12828.getCurrentScope();
|
||||
const client = _mod12828.getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
return client.captureCheckIn(arg0, arg1, currentScope);
|
||||
} else if (tmp(12829).DEBUG_BUILD) {
|
||||
const logger2 = tmp(12801).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
} else if (tmp(12829).DEBUG_BUILD) {
|
||||
const logger = tmp(12801).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
return _mod12812.uuid4();
|
||||
};
|
||||
export const captureEvent = function captureEvent(arg0, arg1) {
|
||||
const currentScope = _mod12828.getCurrentScope();
|
||||
return currentScope.captureEvent(arg0, arg1);
|
||||
};
|
||||
export const captureException = function captureException(arg0, arg1) {
|
||||
const currentScope = _mod12828.getCurrentScope();
|
||||
return currentScope.captureException(arg0, _mod12850.parseEventHintOrCaptureContext(arg1));
|
||||
};
|
||||
export const captureMessage = function captureMessage(arg0, captureContext) {
|
||||
let tmp;
|
||||
if (typeof captureContext === "string") {
|
||||
tmp = captureContext;
|
||||
}
|
||||
let tmp2;
|
||||
if (typeof captureContext !== "string") {
|
||||
const obj2 = { captureContext };
|
||||
tmp2 = obj2;
|
||||
}
|
||||
const currentScope = _mod12828.getCurrentScope();
|
||||
return currentScope.captureMessage(arg0, tmp, tmp2);
|
||||
};
|
||||
export const captureSession = function captureSession() {
|
||||
let flag = arg0;
|
||||
if (arg0 === undefined) {
|
||||
flag = false;
|
||||
}
|
||||
if (flag) {
|
||||
endSession();
|
||||
} else {
|
||||
const isolationScope = _mod12828.getIsolationScope();
|
||||
const currentScope = _mod12828.getCurrentScope();
|
||||
const client = _mod12828.getClient();
|
||||
const tmp3 = currentScope.getSession() || isolationScope.getSession();
|
||||
let tmp4 = tmp3;
|
||||
if (tmp3) {
|
||||
tmp4 = client;
|
||||
}
|
||||
if (tmp4) {
|
||||
client.captureSession(tmp3);
|
||||
}
|
||||
}
|
||||
};
|
||||
export const close = function close(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_4.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
export { endSession };
|
||||
export const flush = function flush(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
export const isEnabled = function isEnabled() {
|
||||
const client = _mod12828.getClient();
|
||||
let transport = client;
|
||||
if (transport) {
|
||||
transport = false !== client.getOptions().enabled;
|
||||
}
|
||||
if (transport) {
|
||||
transport = client.getTransport();
|
||||
}
|
||||
return transport;
|
||||
};
|
||||
export const isInitialized = function isInitialized() {
|
||||
return _mod12828.getClient();
|
||||
};
|
||||
export const lastEventId = function lastEventId() {
|
||||
const isolationScope = _mod12828.getIsolationScope();
|
||||
return isolationScope.lastEventId();
|
||||
};
|
||||
export const setContext = function setContext(arg0, arg1) {
|
||||
const isolationScope = _mod12828.getIsolationScope();
|
||||
isolationScope.setContext(arg0, arg1);
|
||||
};
|
||||
export const setExtra = function setExtra(arg0, arg1) {
|
||||
const isolationScope = _mod12828.getIsolationScope();
|
||||
isolationScope.setExtra(arg0, arg1);
|
||||
};
|
||||
export const setExtras = function setExtras(arg0) {
|
||||
const isolationScope = _mod12828.getIsolationScope();
|
||||
isolationScope.setExtras(arg0);
|
||||
};
|
||||
export const setTag = function setTag(arg0, arg1) {
|
||||
const isolationScope = _mod12828.getIsolationScope();
|
||||
isolationScope.setTag(arg0, arg1);
|
||||
};
|
||||
export const setTags = function setTags(arg0) {
|
||||
const isolationScope = _mod12828.getIsolationScope();
|
||||
isolationScope.setTags(arg0);
|
||||
};
|
||||
export const setUser = function setUser(arg0) {
|
||||
const isolationScope = _mod12828.getIsolationScope();
|
||||
isolationScope.setUser(arg0);
|
||||
};
|
||||
export const startSession = function startSession(arg0) {
|
||||
const client = _mod12828.getClient();
|
||||
const isolationScope = _mod12828.getIsolationScope();
|
||||
const currentScope = _mod12828.getCurrentScope();
|
||||
let options = client;
|
||||
if (client) {
|
||||
options = client.getOptions();
|
||||
}
|
||||
if (!options) {
|
||||
options = {};
|
||||
}
|
||||
({ environment, release } = options);
|
||||
if (undefined === environment) {
|
||||
environment = tmp(12838).DEFAULT_ENVIRONMENT;
|
||||
}
|
||||
const userAgent = _mod12802.GLOBAL_OBJ.navigator || {}.userAgent;
|
||||
const tmp3 = _mod12802.GLOBAL_OBJ.navigator || {};
|
||||
const obj2 = { release, environment, user: null };
|
||||
const tmpResult = _mod12824;
|
||||
obj2.user = currentScope.getUser() || isolationScope.getUser();
|
||||
let tmp5 = userAgent;
|
||||
if (userAgent) {
|
||||
const obj4 = { userAgent };
|
||||
tmp5 = obj4;
|
||||
}
|
||||
const merged = Object.assign(tmp5);
|
||||
const merged1 = Object.assign(arg0);
|
||||
const session = tmpResult.makeSession(obj2);
|
||||
const session1 = isolationScope.getSession();
|
||||
let tmp10 = session1;
|
||||
if (session1) {
|
||||
tmp10 = "ok" === session1.status;
|
||||
}
|
||||
if (tmp10) {
|
||||
tmp(12824).updateSession(session1, { status: "exited" });
|
||||
const tmpResult2 = tmp(12824);
|
||||
}
|
||||
endSession();
|
||||
isolationScope.setSession(session);
|
||||
currentScope.setSession(session);
|
||||
return session;
|
||||
};
|
||||
export const withMonitor = function withMonitor(monitorSlug, arg1, arg2) {
|
||||
_require = monitorSlug;
|
||||
dependencyMap = arg1;
|
||||
function finishCheckIn(status) {
|
||||
const obj = { monitorSlug, status, checkInId: captureCheckInResult, duration: _mod12815.timestampInSeconds() - closure_3 };
|
||||
const currentScope = _mod12828.getCurrentScope();
|
||||
const client = _mod12828.getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
captureCheckInResult = client.captureCheckIn(obj, undefined, currentScope);
|
||||
} else if (tmp(12829).DEBUG_BUILD) {
|
||||
const logger2 = tmp(12801).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
} else if (tmp(12829).DEBUG_BUILD) {
|
||||
const logger = tmp(12801).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
_mod12812.uuid4();
|
||||
}
|
||||
let currentScope = require("module_12828").getCurrentScope();
|
||||
let obj = { monitorSlug, status: "in_progress" };
|
||||
let obj2 = require("module_12828");
|
||||
let client = require("module_12828").getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
let captureCheckInResult = client.captureCheckIn(obj, arg2, currentScope);
|
||||
} else if (tmp(12829).DEBUG_BUILD) {
|
||||
let logger2 = tmp(12801).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
asyncGeneratorStep = captureCheckInResult;
|
||||
closure_3 = tmp(12815).timestampInSeconds();
|
||||
const tmpResult = tmp(12815);
|
||||
return tmp(12828).withIsolationScope(() => {
|
||||
try {
|
||||
const tmp3 = closure_1();
|
||||
if (obj.isThenable(tmp3)) {
|
||||
const resolved = Promise.resolve(tmp3);
|
||||
resolved.then(() => {
|
||||
finishCheckIn("ok");
|
||||
}, (arg0) => {
|
||||
finishCheckIn("error");
|
||||
throw arg0;
|
||||
});
|
||||
} else {
|
||||
finishCheckIn("ok");
|
||||
}
|
||||
return tmp3;
|
||||
} catch (tmp12) {
|
||||
finishCheckIn("error");
|
||||
throw tmp12;
|
||||
}
|
||||
});
|
||||
} else if (tmp(12829).DEBUG_BUILD) {
|
||||
let logger = tmp(12801).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
let obj3 = require("module_12828");
|
||||
captureCheckInResult = require("module_12812").uuid4();
|
||||
};
|
||||
|
|
@ -1,264 +0,0 @@
|
|||
// Module ID: 12876
|
||||
// Function ID: 12877
|
||||
// Name: _getEventFilterUrl
|
||||
// Dependencies: [12857, 12829, 12801, 12812, 12810]
|
||||
|
||||
// Module 12876 (_getEventFilterUrl)
|
||||
import _mod12801 from "module_12801" /* 12801 */;
|
||||
import _mod12810 from "module_12810" /* 12810 */;
|
||||
import _mod12812 from "module_12812" /* 12812 */;
|
||||
import _mod12829 from "module_12829" /* 12829 */;
|
||||
import setupIntegration from "module_12857" /* 12857 */;
|
||||
|
||||
function _getEventFilterUrl(arg0) {
|
||||
try {
|
||||
const frames = arg0.exception.values[0].stacktrace.frames;
|
||||
let tmp4 = null;
|
||||
if (frames) {
|
||||
tmp4 = (function _getLastValidUrl(frames) {
|
||||
let tmp2;
|
||||
items = frames;
|
||||
if (frames === undefined) {
|
||||
items = [];
|
||||
}
|
||||
let diff = items.length - 1;
|
||||
if (0 <= diff) {
|
||||
while (true) {
|
||||
tmp2 = items[diff];
|
||||
if (tmp2) {
|
||||
if ("<anonymous>" !== tmp2.filename) {
|
||||
if ("[native code]" !== tmp2.filename) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
diff = diff - 1;
|
||||
}
|
||||
return tmp2.filename || null;
|
||||
}
|
||||
return null;
|
||||
})(frames);
|
||||
}
|
||||
return tmp4;
|
||||
} catch (err) {
|
||||
if (_mod12829.DEBUG_BUILD) {
|
||||
const logger = tmp6(12801).logger;
|
||||
const _HermesInternal = HermesInternal;
|
||||
logger.error("Cannot extract url for event " + tmp6(12812).getEventDescription(tmp));
|
||||
const tmp6Result = tmp6(12812);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
let items = [/^Script error\.?$/, /^Javascript error: Script error\.? on line 0$/, /^ResizeObserver loop completed with undelivered notifications.$/, /^Cannot redefine property: googletag$/, "undefined is not an object (evaluating 'a.L')", "can't redefine non-configurable property \"solana\"", "vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)", "Can't find variable: _AutofillCallbackHandler", /^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/];
|
||||
|
||||
export const inboundFiltersIntegration = setupIntegration.defineIntegration(() => {
|
||||
if (arg0 === undefined) {
|
||||
let obj = {};
|
||||
}
|
||||
return {
|
||||
name: "InboundFilters",
|
||||
processEvent(type, arg1, getOptions) {
|
||||
let options = getOptions.getOptions();
|
||||
if (obj === undefined) {
|
||||
obj = {};
|
||||
}
|
||||
if (options === undefined) {
|
||||
options = {};
|
||||
}
|
||||
items = [...obj.allowUrls || [], ...tmp2];
|
||||
const items1 = [...obj.denyUrls || [], ...tmp4];
|
||||
const items2 = [...obj.ignoreErrors || [], ...tmp6, ...tmp7];
|
||||
const items3 = [...obj.ignoreTransactions || [], ...tmp9];
|
||||
if (tmp10) {
|
||||
if ((function _isSentryError(type) {
|
||||
try {
|
||||
return "SentryError" === type.exception.values[0].type;
|
||||
} catch (err) {
|
||||
return false;
|
||||
}
|
||||
})(type)) {
|
||||
let flag6 = true;
|
||||
if (_mod12829.DEBUG_BUILD) {
|
||||
const logger6 = _mod12801.logger;
|
||||
const _HermesInternal6 = HermesInternal;
|
||||
logger6.warn("Event dropped due to being internal Sentry Error.\nEvent: " + _mod12812.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
}
|
||||
let tmp77 = null;
|
||||
if (!flag6) {
|
||||
tmp77 = type;
|
||||
}
|
||||
return tmp77;
|
||||
}
|
||||
let flag = false;
|
||||
if (!type.type) {
|
||||
flag = false;
|
||||
if (items2.length) {
|
||||
flag = (function _getPossibleEventMessages(message) {
|
||||
items = [];
|
||||
if (message.message) {
|
||||
items.push(message.message);
|
||||
}
|
||||
try {
|
||||
const iter = message.exception.values[message.exception.values.length - 1];
|
||||
value = iter;
|
||||
if (iter) {
|
||||
value = iter.value;
|
||||
}
|
||||
if (value) {
|
||||
items.push(iter.value);
|
||||
if (iter.type) {
|
||||
const _HermesInternal = HermesInternal;
|
||||
items.push("" + iter.type + ": " + iter.value);
|
||||
}
|
||||
}
|
||||
return items;
|
||||
} catch (err) {
|
||||
}
|
||||
})(type).some((item) => {
|
||||
obj = obj(dependencyMap[4]);
|
||||
return obj.stringMatchesSomePattern(item, items2);
|
||||
});
|
||||
const obj3 = (function _getPossibleEventMessages(message) {
|
||||
items = [];
|
||||
if (message.message) {
|
||||
items.push(message.message);
|
||||
}
|
||||
try {
|
||||
const iter = message.exception.values[message.exception.values.length - 1];
|
||||
value = iter;
|
||||
if (iter) {
|
||||
value = iter.value;
|
||||
}
|
||||
if (value) {
|
||||
items.push(iter.value);
|
||||
if (iter.type) {
|
||||
const _HermesInternal = HermesInternal;
|
||||
items.push("" + iter.type + ": " + iter.value);
|
||||
}
|
||||
}
|
||||
return items;
|
||||
} catch (err) {
|
||||
}
|
||||
})(type);
|
||||
}
|
||||
}
|
||||
if (flag) {
|
||||
flag6 = true;
|
||||
if (_mod12829.DEBUG_BUILD) {
|
||||
const logger5 = _mod12801.logger;
|
||||
const _HermesInternal5 = HermesInternal;
|
||||
logger5.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: " + _mod12812.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag2 = false;
|
||||
if (!type.type) {
|
||||
flag2 = false;
|
||||
if (type.exception) {
|
||||
flag2 = false;
|
||||
if (type.exception.values) {
|
||||
flag2 = false;
|
||||
if (0 !== type.exception.values.length) {
|
||||
const message = type.message;
|
||||
let tmp11 = !message;
|
||||
if (!message) {
|
||||
const values = type.exception.values;
|
||||
tmp11 = !values.some((stacktrace) => {
|
||||
stacktrace = stacktrace.stacktrace;
|
||||
if (!stacktrace) {
|
||||
let type = stacktrace.type;
|
||||
if (type) {
|
||||
type = "Error" !== stacktrace.type;
|
||||
}
|
||||
stacktrace = type;
|
||||
}
|
||||
if (!stacktrace) {
|
||||
stacktrace = stacktrace.value;
|
||||
}
|
||||
return stacktrace;
|
||||
});
|
||||
}
|
||||
flag2 = tmp11;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (flag2) {
|
||||
flag6 = true;
|
||||
if (_mod12829.DEBUG_BUILD) {
|
||||
const logger4 = _mod12801.logger;
|
||||
const _HermesInternal4 = HermesInternal;
|
||||
logger4.warn("Event dropped due to not having an error message, error type or stacktrace.\nEvent: " + _mod12812.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag3 = false;
|
||||
if ("transaction" === type.type) {
|
||||
flag3 = false;
|
||||
if (items3.length) {
|
||||
const transaction = type.transaction;
|
||||
let result = transaction;
|
||||
if (result) {
|
||||
result = _mod12810.stringMatchesSomePattern(transaction, items3);
|
||||
}
|
||||
flag3 = result;
|
||||
}
|
||||
}
|
||||
if (flag3) {
|
||||
flag6 = true;
|
||||
if (_mod12829.DEBUG_BUILD) {
|
||||
const logger3 = _mod12801.logger;
|
||||
const _HermesInternal3 = HermesInternal;
|
||||
logger3.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: " + _mod12812.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag4 = false;
|
||||
if (items1.length) {
|
||||
const tmp16 = _getEventFilterUrl(type);
|
||||
let result1 = tmp16;
|
||||
if (result1) {
|
||||
result1 = _mod12810.stringMatchesSomePattern(tmp16, items1);
|
||||
}
|
||||
flag4 = result1;
|
||||
}
|
||||
if (flag4) {
|
||||
flag6 = true;
|
||||
if (_mod12829.DEBUG_BUILD) {
|
||||
const logger2 = _mod12801.logger;
|
||||
const eventDescription = _mod12812.getEventDescription(type);
|
||||
const _HermesInternal2 = HermesInternal;
|
||||
logger2.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: " + eventDescription + ".\nUrl: " + _getEventFilterUrl(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag5 = true;
|
||||
if (items.length) {
|
||||
const tmp21 = _getEventFilterUrl(type);
|
||||
let result2 = !tmp21;
|
||||
if (tmp21) {
|
||||
result2 = _mod12810.stringMatchesSomePattern(tmp21, items);
|
||||
}
|
||||
flag5 = result2;
|
||||
}
|
||||
flag6 = false;
|
||||
if (!flag5) {
|
||||
flag6 = true;
|
||||
if (_mod12829.DEBUG_BUILD) {
|
||||
const logger = _mod12801.logger;
|
||||
const eventDescription1 = _mod12812.getEventDescription(type);
|
||||
let _HermesInternal = HermesInternal;
|
||||
logger.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: " + eventDescription1 + ".\nUrl: " + _getEventFilterUrl(type));
|
||||
flag6 = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
@ -1,55 +0,0 @@
|
|||
// Module ID: 12924
|
||||
// Function ID: 12925
|
||||
// Name: _asyncNullishCoalesce2
|
||||
// Dependencies: [5, 12925]
|
||||
// Exports: _asyncNullishCoalesce
|
||||
|
||||
// Module 12924 (_asyncNullishCoalesce2)
|
||||
import _nullishCoalesce from "_nullishCoalesce" /* 12925 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_3 = async function _asyncNullishCoalesce2(arg0, value) {
|
||||
if (c2 === 2) {
|
||||
c2 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c2 = 2;
|
||||
if (arg0 === 1) {
|
||||
c2 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c2 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
c2 = 3;
|
||||
const obj4 = { value: _nullishCoalesce._nullishCoalesce(closure_0, closure_1), done: true };
|
||||
return obj4;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c2 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export const _asyncNullishCoalesce = function _asyncNullishCoalesce(arg0, arg1) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -1,15 +0,0 @@
|
|||
// Module ID: 12925
|
||||
// Function ID: 12926
|
||||
// Name: _nullishCoalesce
|
||||
// Dependencies: []
|
||||
// Exports: _nullishCoalesce
|
||||
|
||||
// Module 12925 (_nullishCoalesce)
|
||||
|
||||
export const _nullishCoalesce = function _nullishCoalesce(arg0, fn) {
|
||||
let tmp = arg0;
|
||||
if (null == arg0) {
|
||||
tmp = fn();
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
|
|
@ -1,122 +0,0 @@
|
|||
// Module ID: 12926
|
||||
// Function ID: 12927
|
||||
// Name: _asyncOptionalChain2
|
||||
// Dependencies: [5]
|
||||
// Exports: _asyncOptionalChain
|
||||
|
||||
// Module 12926 (_asyncOptionalChain2)
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_1 = async function _asyncOptionalChain2(arg0, value) {
|
||||
if (c3 === 2) {
|
||||
c3 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c3 = 2;
|
||||
if (0 === c2) {
|
||||
if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_1 = tmp4;
|
||||
closure_129_0 = length;
|
||||
closure_129_2 = undefined;
|
||||
closure_129_3 = undefined;
|
||||
closure_129_4 = undefined;
|
||||
closure_129_5 = undefined;
|
||||
closure_129_1 = undefined;
|
||||
closure_129_2 = length[0];
|
||||
closure_129_3 = 1;
|
||||
if (closure_129_3 < length.length) {
|
||||
closure_129_4 = closure_129_0[closure_129_3];
|
||||
closure_129_5 = closure_129_0[closure_129_3 + 1];
|
||||
closure_129_3 = closure_129_3 + 2;
|
||||
if ("optionalAccess" === closure_129_4) {
|
||||
if (null == closure_129_2) {
|
||||
c3 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
}
|
||||
if ("access" !== closure_129_4) {
|
||||
if ("optionalAccess" !== closure_129_4) {
|
||||
let tmp22 = "call" !== closure_129_4;
|
||||
if (tmp22) {
|
||||
tmp22 = "optionalCall" !== closure_129_4;
|
||||
}
|
||||
if (!tmp22) {
|
||||
c2 = 2;
|
||||
c3 = 1;
|
||||
const obj4 = {
|
||||
value: closure_129_5(() => {
|
||||
const items = [closure_1_1, ...HermesBuiltin.copyRestArgs()];
|
||||
return closure_1_2.call.apply(items);
|
||||
}),
|
||||
done: false
|
||||
};
|
||||
return obj4;
|
||||
}
|
||||
}
|
||||
}
|
||||
closure_129_1 = closure_129_2;
|
||||
c2 = 1;
|
||||
c3 = 1;
|
||||
const obj5 = { value: closure_129_5(closure_129_2), done: false };
|
||||
return obj5;
|
||||
}
|
||||
c3 = 3;
|
||||
const obj6 = { value: closure_129_2, done: true };
|
||||
return obj6;
|
||||
}
|
||||
} else if (1 === tmp4) {
|
||||
if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj7 = { value, done: true };
|
||||
return obj7;
|
||||
} else {
|
||||
closure_129_2 = value;
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
closure_129_2 = value;
|
||||
closure_129_1 = undefined;
|
||||
}
|
||||
} catch (tmp31) {
|
||||
c3 = tmp;
|
||||
throw tmp31;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export const _asyncOptionalChain = function _asyncOptionalChain(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_1.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
// Module ID: 12927
|
||||
// Function ID: 12928
|
||||
// Name: _asyncOptionalChainDelete2
|
||||
// Dependencies: [5, 12926]
|
||||
// Exports: _asyncOptionalChainDelete
|
||||
|
||||
// Module 12927 (_asyncOptionalChainDelete2)
|
||||
import _asyncOptionalChain2 from "_asyncOptionalChain2" /* 12926 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_3 = async function _asyncOptionalChainDelete2() {
|
||||
closure_1 = tmp2;
|
||||
closure_129_0 = await _asyncOptionalChain2._asyncOptionalChain(closure_0);
|
||||
let tmp9 = null == closure_129_0;
|
||||
if (!tmp9) {
|
||||
tmp9 = closure_129_0;
|
||||
}
|
||||
return tmp9;
|
||||
};
|
||||
|
||||
export const _asyncOptionalChainDelete = function _asyncOptionalChainDelete(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -1,50 +0,0 @@
|
|||
// Module ID: 12928
|
||||
// Function ID: 12929
|
||||
// Name: _optionalChain
|
||||
// Dependencies: []
|
||||
// Exports: _optionalChain
|
||||
|
||||
// Module 12928 (_optionalChain)
|
||||
|
||||
export const _optionalChain = function _optionalChain(arg0) {
|
||||
const first = arg0[0];
|
||||
closure_1 = first;
|
||||
let num = 1;
|
||||
let tmp2 = first;
|
||||
let tmp3 = first;
|
||||
if (1 < arg0.length) {
|
||||
while (true) {
|
||||
let tmp4 = arg0[num];
|
||||
let tmp5 = arg0[num + 1];
|
||||
let tmp6 = "optionalAccess" === tmp4;
|
||||
if (tmp6) {
|
||||
if (null == tmp2) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ("access" !== tmp4) {
|
||||
if (!tmp6) {
|
||||
let tmp9 = "call" !== tmp4 && "optionalCall" !== tmp4;
|
||||
let tmp10 = tmp2;
|
||||
if (!tmp9) {
|
||||
let tmp5Result = tmp5(() => {
|
||||
const items = [closure_0, ...HermesBuiltin.copyRestArgs()];
|
||||
return closure_1.call.apply(items);
|
||||
});
|
||||
closure_1 = tmp5Result;
|
||||
closure_0 = undefined;
|
||||
tmp10 = tmp5Result;
|
||||
}
|
||||
}
|
||||
num = num + 2;
|
||||
tmp2 = tmp10;
|
||||
tmp3 = tmp10;
|
||||
}
|
||||
closure_0 = tmp2;
|
||||
let tmp5Result2 = tmp5(tmp2);
|
||||
closure_1 = tmp5Result2;
|
||||
tmp10 = tmp5Result2;
|
||||
}
|
||||
}
|
||||
return tmp3;
|
||||
};
|
||||
|
|
@ -1,16 +0,0 @@
|
|||
// Module ID: 12929
|
||||
// Function ID: 12930
|
||||
// Name: _optionalChainDelete
|
||||
// Dependencies: [12928]
|
||||
// Exports: _optionalChainDelete
|
||||
|
||||
// Module 12929 (_optionalChainDelete)
|
||||
import _optionalChain from "_optionalChain" /* 12928 */;
|
||||
|
||||
require = arg1;
|
||||
const dependencyMap = arg6;
|
||||
|
||||
export const _optionalChainDelete = function _optionalChainDelete(arg0) {
|
||||
const _optionalChainResult = _optionalChain._optionalChain(arg0);
|
||||
return null == _optionalChainResult || _optionalChainResult;
|
||||
};
|
||||
358
stable/source/__helpers/12xxx/12978__flush.js
Normal file
358
stable/source/__helpers/12xxx/12978__flush.js
Normal file
|
|
@ -0,0 +1,358 @@
|
|||
// Module ID: 12978
|
||||
// Function ID: 12979
|
||||
// Name: _flush
|
||||
// Dependencies: [5, 12957, 12979, 12958, 12930, 12941, 12944, 12937, 12967, 12931, 12953]
|
||||
// Exports: addEventProcessor, captureCheckIn, captureEvent, captureException, captureMessage, captureSession, close, flush, isEnabled, isInitialized, lastEventId, setContext, setExtra, setExtras, setTag, setTags, setUser, startSession, withMonitor
|
||||
|
||||
// Module 12978 (_flush)
|
||||
import _mod12931 from "module_12931" /* 12931 */;
|
||||
import _mod12941 from "module_12941" /* 12941 */;
|
||||
import _mod12944 from "module_12944" /* 12944 */;
|
||||
import _mod12953 from "module_12953" /* 12953 */;
|
||||
import _mod12957 from "module_12957" /* 12957 */;
|
||||
import _mod12979 from "module_12979" /* 12979 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
const require = globalThis.__r;
|
||||
|
||||
let closure_3 = async function _flush(arg0, value) {
|
||||
if (c1 === 2) {
|
||||
c1 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c1 = 2;
|
||||
if (arg0 === 1) {
|
||||
c1 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c1 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
const client = require("module_12957").getClient();
|
||||
if (client) {
|
||||
client.flush(tmp13);
|
||||
} else {
|
||||
if (tmp14(tmp15[3]).DEBUG_BUILD) {
|
||||
const logger = tmp14(tmp15[4]).logger;
|
||||
logger.warn("Cannot flush events. No client defined.");
|
||||
}
|
||||
const resolved = Promise.resolve(false);
|
||||
}
|
||||
c1 = 3;
|
||||
const obj3 = require("module_12957");
|
||||
tmp13 = closure_0;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c1 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
let closure_4 = async function _close(arg0, value) {
|
||||
if (c1 === 2) {
|
||||
c1 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c1 = 2;
|
||||
if (arg0 === 1) {
|
||||
c1 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c1 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
const client = require("module_12957").getClient();
|
||||
if (client) {
|
||||
client.close(tmp13);
|
||||
} else {
|
||||
if (tmp14(tmp15[3]).DEBUG_BUILD) {
|
||||
const logger = tmp14(tmp15[4]).logger;
|
||||
logger.warn("Cannot flush events and disable SDK. No client defined.");
|
||||
}
|
||||
const resolved = Promise.resolve(false);
|
||||
}
|
||||
c1 = 3;
|
||||
const obj3 = require("module_12957");
|
||||
tmp13 = closure_0;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c1 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
function endSession() {
|
||||
const isolationScope = _mod12957.getIsolationScope();
|
||||
const currentScope = _mod12957.getCurrentScope();
|
||||
const tmp3 = currentScope.getSession() || isolationScope.getSession();
|
||||
if (tmp3) {
|
||||
tmp(12953).closeSession(tmp3);
|
||||
const tmpResult = tmp(12953);
|
||||
}
|
||||
const isolationScope1 = _mod12957.getIsolationScope();
|
||||
const tmpResult4 = _mod12957;
|
||||
const currentScope1 = _mod12957.getCurrentScope();
|
||||
const tmpResult5 = _mod12957;
|
||||
const client = _mod12957.getClient();
|
||||
const tmp5 = currentScope1.getSession() || isolationScope1.getSession();
|
||||
let tmp6 = tmp5;
|
||||
if (tmp5) {
|
||||
tmp6 = client;
|
||||
}
|
||||
if (tmp6) {
|
||||
client.captureSession(tmp5);
|
||||
}
|
||||
isolationScope.setSession();
|
||||
currentScope.setSession();
|
||||
}
|
||||
|
||||
export const addEventProcessor = function addEventProcessor(arg0) {
|
||||
const isolationScope = _mod12957.getIsolationScope();
|
||||
isolationScope.addEventProcessor(arg0);
|
||||
};
|
||||
export const captureCheckIn = function captureCheckIn(arg0, arg1) {
|
||||
const currentScope = _mod12957.getCurrentScope();
|
||||
const client = _mod12957.getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
return client.captureCheckIn(arg0, arg1, currentScope);
|
||||
} else if (tmp(12958).DEBUG_BUILD) {
|
||||
const logger2 = tmp(12930).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
} else if (tmp(12958).DEBUG_BUILD) {
|
||||
const logger = tmp(12930).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
return _mod12941.uuid4();
|
||||
};
|
||||
export const captureEvent = function captureEvent(arg0, arg1) {
|
||||
const currentScope = _mod12957.getCurrentScope();
|
||||
return currentScope.captureEvent(arg0, arg1);
|
||||
};
|
||||
export const captureException = function captureException(arg0, arg1) {
|
||||
const currentScope = _mod12957.getCurrentScope();
|
||||
return currentScope.captureException(arg0, _mod12979.parseEventHintOrCaptureContext(arg1));
|
||||
};
|
||||
export const captureMessage = function captureMessage(arg0, captureContext) {
|
||||
let tmp;
|
||||
if (typeof captureContext === "string") {
|
||||
tmp = captureContext;
|
||||
}
|
||||
let tmp2;
|
||||
if (typeof captureContext !== "string") {
|
||||
const obj2 = { captureContext };
|
||||
tmp2 = obj2;
|
||||
}
|
||||
const currentScope = _mod12957.getCurrentScope();
|
||||
return currentScope.captureMessage(arg0, tmp, tmp2);
|
||||
};
|
||||
export const captureSession = function captureSession() {
|
||||
let flag = arg0;
|
||||
if (arg0 === undefined) {
|
||||
flag = false;
|
||||
}
|
||||
if (flag) {
|
||||
endSession();
|
||||
} else {
|
||||
const isolationScope = _mod12957.getIsolationScope();
|
||||
const currentScope = _mod12957.getCurrentScope();
|
||||
const client = _mod12957.getClient();
|
||||
const tmp3 = currentScope.getSession() || isolationScope.getSession();
|
||||
let tmp4 = tmp3;
|
||||
if (tmp3) {
|
||||
tmp4 = client;
|
||||
}
|
||||
if (tmp4) {
|
||||
client.captureSession(tmp3);
|
||||
}
|
||||
}
|
||||
};
|
||||
export const close = function close(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_4.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
export { endSession };
|
||||
export const flush = function flush(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
export const isEnabled = function isEnabled() {
|
||||
const client = _mod12957.getClient();
|
||||
let transport = client;
|
||||
if (transport) {
|
||||
transport = false !== client.getOptions().enabled;
|
||||
}
|
||||
if (transport) {
|
||||
transport = client.getTransport();
|
||||
}
|
||||
return transport;
|
||||
};
|
||||
export const isInitialized = function isInitialized() {
|
||||
return _mod12957.getClient();
|
||||
};
|
||||
export const lastEventId = function lastEventId() {
|
||||
const isolationScope = _mod12957.getIsolationScope();
|
||||
return isolationScope.lastEventId();
|
||||
};
|
||||
export const setContext = function setContext(arg0, arg1) {
|
||||
const isolationScope = _mod12957.getIsolationScope();
|
||||
isolationScope.setContext(arg0, arg1);
|
||||
};
|
||||
export const setExtra = function setExtra(arg0, arg1) {
|
||||
const isolationScope = _mod12957.getIsolationScope();
|
||||
isolationScope.setExtra(arg0, arg1);
|
||||
};
|
||||
export const setExtras = function setExtras(arg0) {
|
||||
const isolationScope = _mod12957.getIsolationScope();
|
||||
isolationScope.setExtras(arg0);
|
||||
};
|
||||
export const setTag = function setTag(arg0, arg1) {
|
||||
const isolationScope = _mod12957.getIsolationScope();
|
||||
isolationScope.setTag(arg0, arg1);
|
||||
};
|
||||
export const setTags = function setTags(arg0) {
|
||||
const isolationScope = _mod12957.getIsolationScope();
|
||||
isolationScope.setTags(arg0);
|
||||
};
|
||||
export const setUser = function setUser(arg0) {
|
||||
const isolationScope = _mod12957.getIsolationScope();
|
||||
isolationScope.setUser(arg0);
|
||||
};
|
||||
export const startSession = function startSession(arg0) {
|
||||
const client = _mod12957.getClient();
|
||||
const isolationScope = _mod12957.getIsolationScope();
|
||||
const currentScope = _mod12957.getCurrentScope();
|
||||
let options = client;
|
||||
if (client) {
|
||||
options = client.getOptions();
|
||||
}
|
||||
if (!options) {
|
||||
options = {};
|
||||
}
|
||||
({ environment, release } = options);
|
||||
if (undefined === environment) {
|
||||
environment = tmp(12967).DEFAULT_ENVIRONMENT;
|
||||
}
|
||||
const userAgent = _mod12931.GLOBAL_OBJ.navigator || {}.userAgent;
|
||||
const tmp3 = _mod12931.GLOBAL_OBJ.navigator || {};
|
||||
const obj2 = { release, environment, user: null };
|
||||
const tmpResult = _mod12953;
|
||||
obj2.user = currentScope.getUser() || isolationScope.getUser();
|
||||
let tmp5 = userAgent;
|
||||
if (userAgent) {
|
||||
const obj4 = { userAgent };
|
||||
tmp5 = obj4;
|
||||
}
|
||||
const merged = Object.assign(tmp5);
|
||||
const merged1 = Object.assign(arg0);
|
||||
const session = tmpResult.makeSession(obj2);
|
||||
const session1 = isolationScope.getSession();
|
||||
let tmp10 = session1;
|
||||
if (session1) {
|
||||
tmp10 = "ok" === session1.status;
|
||||
}
|
||||
if (tmp10) {
|
||||
tmp(12953).updateSession(session1, { status: "exited" });
|
||||
const tmpResult2 = tmp(12953);
|
||||
}
|
||||
endSession();
|
||||
isolationScope.setSession(session);
|
||||
currentScope.setSession(session);
|
||||
return session;
|
||||
};
|
||||
export const withMonitor = function withMonitor(monitorSlug, arg1, arg2) {
|
||||
_require = monitorSlug;
|
||||
dependencyMap = arg1;
|
||||
function finishCheckIn(status) {
|
||||
const obj = { monitorSlug, status, checkInId: captureCheckInResult, duration: _mod12944.timestampInSeconds() - closure_3 };
|
||||
const currentScope = _mod12957.getCurrentScope();
|
||||
const client = _mod12957.getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
captureCheckInResult = client.captureCheckIn(obj, undefined, currentScope);
|
||||
} else if (tmp(12958).DEBUG_BUILD) {
|
||||
const logger2 = tmp(12930).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
} else if (tmp(12958).DEBUG_BUILD) {
|
||||
const logger = tmp(12930).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
_mod12941.uuid4();
|
||||
}
|
||||
let currentScope = require("module_12957").getCurrentScope();
|
||||
let obj = { monitorSlug, status: "in_progress" };
|
||||
let obj2 = require("module_12957");
|
||||
let client = require("module_12957").getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
let captureCheckInResult = client.captureCheckIn(obj, arg2, currentScope);
|
||||
} else if (tmp(12958).DEBUG_BUILD) {
|
||||
let logger2 = tmp(12930).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
asyncGeneratorStep = captureCheckInResult;
|
||||
closure_3 = tmp(12944).timestampInSeconds();
|
||||
const tmpResult = tmp(12944);
|
||||
return tmp(12957).withIsolationScope(() => {
|
||||
try {
|
||||
const tmp3 = closure_1();
|
||||
if (obj.isThenable(tmp3)) {
|
||||
const resolved = Promise.resolve(tmp3);
|
||||
resolved.then(() => {
|
||||
finishCheckIn("ok");
|
||||
}, (arg0) => {
|
||||
finishCheckIn("error");
|
||||
throw arg0;
|
||||
});
|
||||
} else {
|
||||
finishCheckIn("ok");
|
||||
}
|
||||
return tmp3;
|
||||
} catch (tmp12) {
|
||||
finishCheckIn("error");
|
||||
throw tmp12;
|
||||
}
|
||||
});
|
||||
} else if (tmp(12958).DEBUG_BUILD) {
|
||||
let logger = tmp(12930).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
let obj3 = require("module_12957");
|
||||
captureCheckInResult = require("module_12941").uuid4();
|
||||
};
|
||||
264
stable/source/__helpers/13xxx/13005__getEventFilterUrl.js
Normal file
264
stable/source/__helpers/13xxx/13005__getEventFilterUrl.js
Normal file
|
|
@ -0,0 +1,264 @@
|
|||
// Module ID: 13005
|
||||
// Function ID: 13006
|
||||
// Name: _getEventFilterUrl
|
||||
// Dependencies: [12986, 12958, 12930, 12941, 12939]
|
||||
|
||||
// Module 13005 (_getEventFilterUrl)
|
||||
import _mod12930 from "module_12930" /* 12930 */;
|
||||
import _mod12939 from "module_12939" /* 12939 */;
|
||||
import _mod12941 from "module_12941" /* 12941 */;
|
||||
import _mod12958 from "module_12958" /* 12958 */;
|
||||
import setupIntegration from "module_12986" /* 12986 */;
|
||||
|
||||
function _getEventFilterUrl(arg0) {
|
||||
try {
|
||||
const frames = arg0.exception.values[0].stacktrace.frames;
|
||||
let tmp4 = null;
|
||||
if (frames) {
|
||||
tmp4 = (function _getLastValidUrl(frames) {
|
||||
let tmp2;
|
||||
items = frames;
|
||||
if (frames === undefined) {
|
||||
items = [];
|
||||
}
|
||||
let diff = items.length - 1;
|
||||
if (0 <= diff) {
|
||||
while (true) {
|
||||
tmp2 = items[diff];
|
||||
if (tmp2) {
|
||||
if ("<anonymous>" !== tmp2.filename) {
|
||||
if ("[native code]" !== tmp2.filename) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
diff = diff - 1;
|
||||
}
|
||||
return tmp2.filename || null;
|
||||
}
|
||||
return null;
|
||||
})(frames);
|
||||
}
|
||||
return tmp4;
|
||||
} catch (err) {
|
||||
if (_mod12958.DEBUG_BUILD) {
|
||||
const logger = tmp6(12930).logger;
|
||||
const _HermesInternal = HermesInternal;
|
||||
logger.error("Cannot extract url for event " + tmp6(12941).getEventDescription(tmp));
|
||||
const tmp6Result = tmp6(12941);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
let items = [/^Script error\.?$/, /^Javascript error: Script error\.? on line 0$/, /^ResizeObserver loop completed with undelivered notifications.$/, /^Cannot redefine property: googletag$/, "undefined is not an object (evaluating 'a.L')", "can't redefine non-configurable property \"solana\"", "vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)", "Can't find variable: _AutofillCallbackHandler", /^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/];
|
||||
|
||||
export const inboundFiltersIntegration = setupIntegration.defineIntegration(() => {
|
||||
if (arg0 === undefined) {
|
||||
let obj = {};
|
||||
}
|
||||
return {
|
||||
name: "InboundFilters",
|
||||
processEvent(type, arg1, getOptions) {
|
||||
let options = getOptions.getOptions();
|
||||
if (obj === undefined) {
|
||||
obj = {};
|
||||
}
|
||||
if (options === undefined) {
|
||||
options = {};
|
||||
}
|
||||
items = [...obj.allowUrls || [], ...tmp2];
|
||||
const items1 = [...obj.denyUrls || [], ...tmp4];
|
||||
const items2 = [...obj.ignoreErrors || [], ...tmp6, ...tmp7];
|
||||
const items3 = [...obj.ignoreTransactions || [], ...tmp9];
|
||||
if (tmp10) {
|
||||
if ((function _isSentryError(type) {
|
||||
try {
|
||||
return "SentryError" === type.exception.values[0].type;
|
||||
} catch (err) {
|
||||
return false;
|
||||
}
|
||||
})(type)) {
|
||||
let flag6 = true;
|
||||
if (_mod12958.DEBUG_BUILD) {
|
||||
const logger6 = _mod12930.logger;
|
||||
const _HermesInternal6 = HermesInternal;
|
||||
logger6.warn("Event dropped due to being internal Sentry Error.\nEvent: " + _mod12941.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
}
|
||||
let tmp77 = null;
|
||||
if (!flag6) {
|
||||
tmp77 = type;
|
||||
}
|
||||
return tmp77;
|
||||
}
|
||||
let flag = false;
|
||||
if (!type.type) {
|
||||
flag = false;
|
||||
if (items2.length) {
|
||||
flag = (function _getPossibleEventMessages(message) {
|
||||
items = [];
|
||||
if (message.message) {
|
||||
items.push(message.message);
|
||||
}
|
||||
try {
|
||||
const iter = message.exception.values[message.exception.values.length - 1];
|
||||
value = iter;
|
||||
if (iter) {
|
||||
value = iter.value;
|
||||
}
|
||||
if (value) {
|
||||
items.push(iter.value);
|
||||
if (iter.type) {
|
||||
const _HermesInternal = HermesInternal;
|
||||
items.push("" + iter.type + ": " + iter.value);
|
||||
}
|
||||
}
|
||||
return items;
|
||||
} catch (err) {
|
||||
}
|
||||
})(type).some((item) => {
|
||||
obj = obj(dependencyMap[4]);
|
||||
return obj.stringMatchesSomePattern(item, items2);
|
||||
});
|
||||
const obj3 = (function _getPossibleEventMessages(message) {
|
||||
items = [];
|
||||
if (message.message) {
|
||||
items.push(message.message);
|
||||
}
|
||||
try {
|
||||
const iter = message.exception.values[message.exception.values.length - 1];
|
||||
value = iter;
|
||||
if (iter) {
|
||||
value = iter.value;
|
||||
}
|
||||
if (value) {
|
||||
items.push(iter.value);
|
||||
if (iter.type) {
|
||||
const _HermesInternal = HermesInternal;
|
||||
items.push("" + iter.type + ": " + iter.value);
|
||||
}
|
||||
}
|
||||
return items;
|
||||
} catch (err) {
|
||||
}
|
||||
})(type);
|
||||
}
|
||||
}
|
||||
if (flag) {
|
||||
flag6 = true;
|
||||
if (_mod12958.DEBUG_BUILD) {
|
||||
const logger5 = _mod12930.logger;
|
||||
const _HermesInternal5 = HermesInternal;
|
||||
logger5.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: " + _mod12941.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag2 = false;
|
||||
if (!type.type) {
|
||||
flag2 = false;
|
||||
if (type.exception) {
|
||||
flag2 = false;
|
||||
if (type.exception.values) {
|
||||
flag2 = false;
|
||||
if (0 !== type.exception.values.length) {
|
||||
const message = type.message;
|
||||
let tmp11 = !message;
|
||||
if (!message) {
|
||||
const values = type.exception.values;
|
||||
tmp11 = !values.some((stacktrace) => {
|
||||
stacktrace = stacktrace.stacktrace;
|
||||
if (!stacktrace) {
|
||||
let type = stacktrace.type;
|
||||
if (type) {
|
||||
type = "Error" !== stacktrace.type;
|
||||
}
|
||||
stacktrace = type;
|
||||
}
|
||||
if (!stacktrace) {
|
||||
stacktrace = stacktrace.value;
|
||||
}
|
||||
return stacktrace;
|
||||
});
|
||||
}
|
||||
flag2 = tmp11;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
if (flag2) {
|
||||
flag6 = true;
|
||||
if (_mod12958.DEBUG_BUILD) {
|
||||
const logger4 = _mod12930.logger;
|
||||
const _HermesInternal4 = HermesInternal;
|
||||
logger4.warn("Event dropped due to not having an error message, error type or stacktrace.\nEvent: " + _mod12941.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag3 = false;
|
||||
if ("transaction" === type.type) {
|
||||
flag3 = false;
|
||||
if (items3.length) {
|
||||
const transaction = type.transaction;
|
||||
let result = transaction;
|
||||
if (result) {
|
||||
result = _mod12939.stringMatchesSomePattern(transaction, items3);
|
||||
}
|
||||
flag3 = result;
|
||||
}
|
||||
}
|
||||
if (flag3) {
|
||||
flag6 = true;
|
||||
if (_mod12958.DEBUG_BUILD) {
|
||||
const logger3 = _mod12930.logger;
|
||||
const _HermesInternal3 = HermesInternal;
|
||||
logger3.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: " + _mod12941.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag4 = false;
|
||||
if (items1.length) {
|
||||
const tmp16 = _getEventFilterUrl(type);
|
||||
let result1 = tmp16;
|
||||
if (result1) {
|
||||
result1 = _mod12939.stringMatchesSomePattern(tmp16, items1);
|
||||
}
|
||||
flag4 = result1;
|
||||
}
|
||||
if (flag4) {
|
||||
flag6 = true;
|
||||
if (_mod12958.DEBUG_BUILD) {
|
||||
const logger2 = _mod12930.logger;
|
||||
const eventDescription = _mod12941.getEventDescription(type);
|
||||
const _HermesInternal2 = HermesInternal;
|
||||
logger2.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: " + eventDescription + ".\nUrl: " + _getEventFilterUrl(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag5 = true;
|
||||
if (items.length) {
|
||||
const tmp21 = _getEventFilterUrl(type);
|
||||
let result2 = !tmp21;
|
||||
if (tmp21) {
|
||||
result2 = _mod12939.stringMatchesSomePattern(tmp21, items);
|
||||
}
|
||||
flag5 = result2;
|
||||
}
|
||||
flag6 = false;
|
||||
if (!flag5) {
|
||||
flag6 = true;
|
||||
if (_mod12958.DEBUG_BUILD) {
|
||||
const logger = _mod12930.logger;
|
||||
const eventDescription1 = _mod12941.getEventDescription(type);
|
||||
let _HermesInternal = HermesInternal;
|
||||
logger.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: " + eventDescription1 + ".\nUrl: " + _getEventFilterUrl(type));
|
||||
flag6 = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
|
|
@ -0,0 +1,55 @@
|
|||
// Module ID: 13053
|
||||
// Function ID: 13054
|
||||
// Name: _asyncNullishCoalesce2
|
||||
// Dependencies: [5, 13054]
|
||||
// Exports: _asyncNullishCoalesce
|
||||
|
||||
// Module 13053 (_asyncNullishCoalesce2)
|
||||
import _nullishCoalesce from "_nullishCoalesce" /* 13054 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_3 = async function _asyncNullishCoalesce2(arg0, value) {
|
||||
if (c2 === 2) {
|
||||
c2 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c2 = 2;
|
||||
if (arg0 === 1) {
|
||||
c2 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c2 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
c2 = 3;
|
||||
const obj4 = { value: _nullishCoalesce._nullishCoalesce(closure_0, closure_1), done: true };
|
||||
return obj4;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c2 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export const _asyncNullishCoalesce = function _asyncNullishCoalesce(arg0, arg1) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
15
stable/source/__helpers/13xxx/13054__nullishCoalesce.js
Normal file
15
stable/source/__helpers/13xxx/13054__nullishCoalesce.js
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// Module ID: 13054
|
||||
// Function ID: 13055
|
||||
// Name: _nullishCoalesce
|
||||
// Dependencies: []
|
||||
// Exports: _nullishCoalesce
|
||||
|
||||
// Module 13054 (_nullishCoalesce)
|
||||
|
||||
export const _nullishCoalesce = function _nullishCoalesce(arg0, fn) {
|
||||
let tmp = arg0;
|
||||
if (null == arg0) {
|
||||
tmp = fn();
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
122
stable/source/__helpers/13xxx/13055__asyncOptionalChain2.js
Normal file
122
stable/source/__helpers/13xxx/13055__asyncOptionalChain2.js
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
// Module ID: 13055
|
||||
// Function ID: 13056
|
||||
// Name: _asyncOptionalChain2
|
||||
// Dependencies: [5]
|
||||
// Exports: _asyncOptionalChain
|
||||
|
||||
// Module 13055 (_asyncOptionalChain2)
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_1 = async function _asyncOptionalChain2(arg0, value) {
|
||||
if (c3 === 2) {
|
||||
c3 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c3 = 2;
|
||||
if (0 === c2) {
|
||||
if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_1 = tmp4;
|
||||
closure_129_0 = length;
|
||||
closure_129_2 = undefined;
|
||||
closure_129_3 = undefined;
|
||||
closure_129_4 = undefined;
|
||||
closure_129_5 = undefined;
|
||||
closure_129_1 = undefined;
|
||||
closure_129_2 = length[0];
|
||||
closure_129_3 = 1;
|
||||
if (closure_129_3 < length.length) {
|
||||
closure_129_4 = closure_129_0[closure_129_3];
|
||||
closure_129_5 = closure_129_0[closure_129_3 + 1];
|
||||
closure_129_3 = closure_129_3 + 2;
|
||||
if ("optionalAccess" === closure_129_4) {
|
||||
if (null == closure_129_2) {
|
||||
c3 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
}
|
||||
if ("access" !== closure_129_4) {
|
||||
if ("optionalAccess" !== closure_129_4) {
|
||||
let tmp22 = "call" !== closure_129_4;
|
||||
if (tmp22) {
|
||||
tmp22 = "optionalCall" !== closure_129_4;
|
||||
}
|
||||
if (!tmp22) {
|
||||
c2 = 2;
|
||||
c3 = 1;
|
||||
const obj4 = {
|
||||
value: closure_129_5(() => {
|
||||
const items = [closure_1_1, ...HermesBuiltin.copyRestArgs()];
|
||||
return closure_1_2.call.apply(items);
|
||||
}),
|
||||
done: false
|
||||
};
|
||||
return obj4;
|
||||
}
|
||||
}
|
||||
}
|
||||
closure_129_1 = closure_129_2;
|
||||
c2 = 1;
|
||||
c3 = 1;
|
||||
const obj5 = { value: closure_129_5(closure_129_2), done: false };
|
||||
return obj5;
|
||||
}
|
||||
c3 = 3;
|
||||
const obj6 = { value: closure_129_2, done: true };
|
||||
return obj6;
|
||||
}
|
||||
} else if (1 === tmp4) {
|
||||
if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj7 = { value, done: true };
|
||||
return obj7;
|
||||
} else {
|
||||
closure_129_2 = value;
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
closure_129_2 = value;
|
||||
closure_129_1 = undefined;
|
||||
}
|
||||
} catch (tmp31) {
|
||||
c3 = tmp;
|
||||
throw tmp31;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export const _asyncOptionalChain = function _asyncOptionalChain(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_1.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
// Module ID: 13056
|
||||
// Function ID: 13057
|
||||
// Name: _asyncOptionalChainDelete2
|
||||
// Dependencies: [5, 13055]
|
||||
// Exports: _asyncOptionalChainDelete
|
||||
|
||||
// Module 13056 (_asyncOptionalChainDelete2)
|
||||
import _asyncOptionalChain2 from "_asyncOptionalChain2" /* 13055 */;
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_3 = async function _asyncOptionalChainDelete2() {
|
||||
closure_1 = tmp2;
|
||||
closure_129_0 = await _asyncOptionalChain2._asyncOptionalChain(closure_0);
|
||||
let tmp9 = null == closure_129_0;
|
||||
if (!tmp9) {
|
||||
tmp9 = closure_129_0;
|
||||
}
|
||||
return tmp9;
|
||||
};
|
||||
|
||||
export const _asyncOptionalChainDelete = function _asyncOptionalChainDelete(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_3.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
50
stable/source/__helpers/13xxx/13057__optionalChain.js
Normal file
50
stable/source/__helpers/13xxx/13057__optionalChain.js
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
// Module ID: 13057
|
||||
// Function ID: 13058
|
||||
// Name: _optionalChain
|
||||
// Dependencies: []
|
||||
// Exports: _optionalChain
|
||||
|
||||
// Module 13057 (_optionalChain)
|
||||
|
||||
export const _optionalChain = function _optionalChain(arg0) {
|
||||
const first = arg0[0];
|
||||
closure_1 = first;
|
||||
let num = 1;
|
||||
let tmp2 = first;
|
||||
let tmp3 = first;
|
||||
if (1 < arg0.length) {
|
||||
while (true) {
|
||||
let tmp4 = arg0[num];
|
||||
let tmp5 = arg0[num + 1];
|
||||
let tmp6 = "optionalAccess" === tmp4;
|
||||
if (tmp6) {
|
||||
if (null == tmp2) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
if ("access" !== tmp4) {
|
||||
if (!tmp6) {
|
||||
let tmp9 = "call" !== tmp4 && "optionalCall" !== tmp4;
|
||||
let tmp10 = tmp2;
|
||||
if (!tmp9) {
|
||||
let tmp5Result = tmp5(() => {
|
||||
const items = [closure_0, ...HermesBuiltin.copyRestArgs()];
|
||||
return closure_1.call.apply(items);
|
||||
});
|
||||
closure_1 = tmp5Result;
|
||||
closure_0 = undefined;
|
||||
tmp10 = tmp5Result;
|
||||
}
|
||||
}
|
||||
num = num + 2;
|
||||
tmp2 = tmp10;
|
||||
tmp3 = tmp10;
|
||||
}
|
||||
closure_0 = tmp2;
|
||||
let tmp5Result2 = tmp5(tmp2);
|
||||
closure_1 = tmp5Result2;
|
||||
tmp10 = tmp5Result2;
|
||||
}
|
||||
}
|
||||
return tmp3;
|
||||
};
|
||||
16
stable/source/__helpers/13xxx/13058__optionalChainDelete.js
Normal file
16
stable/source/__helpers/13xxx/13058__optionalChainDelete.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// Module ID: 13058
|
||||
// Function ID: 13059
|
||||
// Name: _optionalChainDelete
|
||||
// Dependencies: [13057]
|
||||
// Exports: _optionalChainDelete
|
||||
|
||||
// Module 13058 (_optionalChainDelete)
|
||||
import _optionalChain from "_optionalChain" /* 13057 */;
|
||||
|
||||
require = arg1;
|
||||
const dependencyMap = arg6;
|
||||
|
||||
export const _optionalChainDelete = function _optionalChainDelete(arg0) {
|
||||
const _optionalChainResult = _optionalChain._optionalChain(arg0);
|
||||
return null == _optionalChainResult || _optionalChainResult;
|
||||
};
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
// Module ID: 15548
|
||||
// Function ID: 15549
|
||||
// Name: _regeneratorRuntime
|
||||
// Dependencies: [15549]
|
||||
|
||||
// Module 15548 (_regeneratorRuntime)
|
||||
import _mod15549 from "module_15549" /* 15549 */;
|
||||
|
||||
const tmp3 = _mod15549();
|
||||
try {
|
||||
globalThis.regeneratorRuntime = tmp3;
|
||||
} catch (err) {
|
||||
const _globalThis = globalThis;
|
||||
if (typeof globalThis === "object") {
|
||||
const _globalThis2 = globalThis;
|
||||
globalThis.regeneratorRuntime = tmp2;
|
||||
} else {
|
||||
const _Function = Function;
|
||||
Function("r", "regeneratorRuntime = r")(tmp2);
|
||||
}
|
||||
}
|
||||
|
||||
export default tmp3;
|
||||
|
|
@ -1,24 +0,0 @@
|
|||
// Module ID: 15552
|
||||
// Function ID: 15553
|
||||
// Name: _getRequireWildcardCache
|
||||
// Dependencies: [45]
|
||||
|
||||
// Module 15552 (_getRequireWildcardCache)
|
||||
function _getRequireWildcardCache(arg0) {
|
||||
if (typeof WeakMap !== "function") {
|
||||
return null;
|
||||
} else {
|
||||
const _WeakMap = WeakMap;
|
||||
const weakMap = new WeakMap();
|
||||
let tmp = weakMap;
|
||||
const _WeakMap2 = WeakMap;
|
||||
const weakMap1 = new WeakMap();
|
||||
_getRequireWildcardCache = function _getRequireWildcardCache(arg0) {
|
||||
return arg0 ? weakMap1 : weakMap;
|
||||
};
|
||||
if (arg0) {
|
||||
tmp = weakMap1;
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
// Module ID: 15555
|
||||
// Function ID: 15556
|
||||
// Name: _defineProperty
|
||||
// Dependencies: [43]
|
||||
|
||||
// Module 15555 (_defineProperty)
|
||||
import _mod43 from "module_43" /* 43 */;
|
||||
|
||||
|
||||
export default function _defineProperty(arg0, arg1, value) {
|
||||
const tmp = _mod43(arg1);
|
||||
if (tmp in arg0) {
|
||||
const _Object = Object;
|
||||
const obj = { value, enumerable: true, configurable: true, writable: true };
|
||||
Object.defineProperty(arg0, tmp, obj);
|
||||
} else {
|
||||
arg0[tmp] = value;
|
||||
}
|
||||
return arg0;
|
||||
};
|
||||
23
stable/source/__helpers/15xxx/15633__regeneratorRuntime.js
Normal file
23
stable/source/__helpers/15xxx/15633__regeneratorRuntime.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
// Module ID: 15633
|
||||
// Function ID: 15634
|
||||
// Name: _regeneratorRuntime
|
||||
// Dependencies: [15634]
|
||||
|
||||
// Module 15633 (_regeneratorRuntime)
|
||||
import _mod15634 from "module_15634" /* 15634 */;
|
||||
|
||||
const tmp3 = _mod15634();
|
||||
try {
|
||||
globalThis.regeneratorRuntime = tmp3;
|
||||
} catch (err) {
|
||||
const _globalThis = globalThis;
|
||||
if (typeof globalThis === "object") {
|
||||
const _globalThis2 = globalThis;
|
||||
globalThis.regeneratorRuntime = tmp2;
|
||||
} else {
|
||||
const _Function = Function;
|
||||
Function("r", "regeneratorRuntime = r")(tmp2);
|
||||
}
|
||||
}
|
||||
|
||||
export default tmp3;
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// Module ID: 15637
|
||||
// Function ID: 15638
|
||||
// Name: _getRequireWildcardCache
|
||||
// Dependencies: [45]
|
||||
|
||||
// Module 15637 (_getRequireWildcardCache)
|
||||
function _getRequireWildcardCache(arg0) {
|
||||
if (typeof WeakMap !== "function") {
|
||||
return null;
|
||||
} else {
|
||||
const _WeakMap = WeakMap;
|
||||
const weakMap = new WeakMap();
|
||||
let tmp = weakMap;
|
||||
const _WeakMap2 = WeakMap;
|
||||
const weakMap1 = new WeakMap();
|
||||
_getRequireWildcardCache = function _getRequireWildcardCache(arg0) {
|
||||
return arg0 ? weakMap1 : weakMap;
|
||||
};
|
||||
if (arg0) {
|
||||
tmp = weakMap1;
|
||||
}
|
||||
return tmp;
|
||||
}
|
||||
}
|
||||
20
stable/source/__helpers/15xxx/15640__defineProperty.js
Normal file
20
stable/source/__helpers/15xxx/15640__defineProperty.js
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
// Module ID: 15640
|
||||
// Function ID: 15641
|
||||
// Name: _defineProperty
|
||||
// Dependencies: [43]
|
||||
|
||||
// Module 15640 (_defineProperty)
|
||||
import _mod43 from "module_43" /* 43 */;
|
||||
|
||||
|
||||
export default function _defineProperty(arg0, arg1, value) {
|
||||
const tmp = _mod43(arg1);
|
||||
if (tmp in arg0) {
|
||||
const _Object = Object;
|
||||
const obj = { value, enumerable: true, configurable: true, writable: true };
|
||||
Object.defineProperty(arg0, tmp, obj);
|
||||
} else {
|
||||
arg0[tmp] = value;
|
||||
}
|
||||
return arg0;
|
||||
};
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
// Module ID: 17272
|
||||
// Function ID: 17273
|
||||
// Name: _default2
|
||||
// Dependencies: [17273, 1318]
|
||||
|
||||
// Module 17272 (_default2)
|
||||
import _mod17273 from "module_17273" /* 17273 */;
|
||||
import module_1318 from "module_1318" /* 1318 */;
|
||||
|
||||
global.IntlPolyfill = _mod17273.default;
|
||||
if (!global.Intl) {
|
||||
global.Intl = _mod17273.default;
|
||||
const result = _mod17273.default.__applyLocaleSensitivePrototypes();
|
||||
const _default = _mod17273.default;
|
||||
}
|
||||
const _default2 = _mod17273.default;
|
||||
_default2.default = _mod17273.default;
|
||||
|
||||
export default _default2;
|
||||
19
stable/source/__helpers/17xxx/17383__default2.js
Normal file
19
stable/source/__helpers/17xxx/17383__default2.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
// Module ID: 17383
|
||||
// Function ID: 17384
|
||||
// Name: _default2
|
||||
// Dependencies: [17384, 1316]
|
||||
|
||||
// Module 17383 (_default2)
|
||||
import _mod17384 from "module_17384" /* 17384 */;
|
||||
import module_1316 from "module_1316" /* 1316 */;
|
||||
|
||||
global.IntlPolyfill = _mod17384.default;
|
||||
if (!global.Intl) {
|
||||
global.Intl = _mod17384.default;
|
||||
const result = _mod17384.default.__applyLocaleSensitivePrototypes();
|
||||
const _default = _mod17384.default;
|
||||
}
|
||||
const _default2 = _mod17384.default;
|
||||
_default2.default = _mod17384.default;
|
||||
|
||||
export default _default2;
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -394,17 +394,17 @@ export const Children = {
|
|||
const items = [];
|
||||
c2 = 0;
|
||||
mapIntoArray(element, items, "", "", (arg0) => {
|
||||
const call = f69007.call;
|
||||
const call = f69413.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f69007(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f69413(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
});
|
||||
return items;
|
||||
}
|
||||
},
|
||||
forEach(element, arg1, arg2) {
|
||||
const f69005 = function() {
|
||||
const f69411 = function() {
|
||||
const self = this;
|
||||
const apply = f69005.apply;
|
||||
const apply = f69411.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
|
|
@ -415,9 +415,9 @@ export const Children = {
|
|||
if (null != element) {
|
||||
c2 = 0;
|
||||
mapIntoArray(element, [], "", "", (arg0) => {
|
||||
const call = f69007.call;
|
||||
const call = f69413.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f69007(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f69413(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
});
|
||||
}
|
||||
},
|
||||
|
|
@ -428,23 +428,23 @@ export const Children = {
|
|||
if (null != element) {
|
||||
c2 = 0;
|
||||
mapIntoArray(element, [], "", "", (arg0) => {
|
||||
const call = f69007.call;
|
||||
const call = f69413.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f69007(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f69413(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
});
|
||||
}
|
||||
return closure_0;
|
||||
},
|
||||
toArray(element) {
|
||||
const f69007 = (arg0) => arg0;
|
||||
const f69413 = (arg0) => arg0;
|
||||
let items1 = element;
|
||||
if (null != element) {
|
||||
const items = [];
|
||||
closure_2 = 0;
|
||||
mapIntoArray(element, items, "", "", (arg0) => {
|
||||
const call = f69007.call;
|
||||
const call = f69413.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f69007(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f69413(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
});
|
||||
items1 = items;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@ const items = [
|
|||
}
|
||||
};
|
||||
if (obj3.shouldPressibilityUseW3CPointerEventsForHover()) {
|
||||
const obj4 = { onPointerEnter: "transform", onPointerLeave: "call" };
|
||||
const obj4 = { onPointerEnter: "Array", onPointerLeave: "PX_16" };
|
||||
const _config = this._config;
|
||||
const onHoverIn = _config.onHoverIn;
|
||||
const onHoverOut = _config.onHoverOut;
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ class ScrollView {
|
|||
constructResult = obj.apply(self, items);
|
||||
}
|
||||
tmp3Result = tmp3(self, constructResult);
|
||||
f107448 = tmp3Result;
|
||||
f107950 = tmp3Result;
|
||||
tmp3Result._scrollAnimatedValueAttachment = null;
|
||||
map = new Map();
|
||||
tmp3Result._stickyHeaderRefs = map;
|
||||
|
|
@ -90,11 +90,11 @@ class ScrollView {
|
|||
tmp3Result._subscriptionKeyboardDidShow = null;
|
||||
tmp3Result._subscriptionKeyboardDidHide = null;
|
||||
tmp3Result.state = { layoutHeight: null };
|
||||
tmp3Result.getScrollResponder = () => f107448;
|
||||
tmp3Result.getScrollableNode = () => renderElement.findNodeHandle(f107448.getNativeScrollRef());
|
||||
tmp3Result.getInnerViewNode = () => renderElement.findNodeHandle(f107448._innerView.nativeInstance);
|
||||
tmp3Result.getInnerViewRef = () => f107448._innerView.nativeInstance;
|
||||
tmp3Result.getNativeScrollRef = () => f107448._scrollView.nativeInstance;
|
||||
tmp3Result.getScrollResponder = () => f107950;
|
||||
tmp3Result.getScrollableNode = () => renderElement.findNodeHandle(f107950.getNativeScrollRef());
|
||||
tmp3Result.getInnerViewNode = () => renderElement.findNodeHandle(f107950._innerView.nativeInstance);
|
||||
tmp3Result.getInnerViewRef = () => f107950._innerView.nativeInstance;
|
||||
tmp3Result.getNativeScrollRef = () => f107950._scrollView.nativeInstance;
|
||||
tmp3Result.scrollTo = (num, arg1, arg2) => {
|
||||
if (typeof num === "number") {
|
||||
x = arg1;
|
||||
|
|
@ -105,7 +105,7 @@ class ScrollView {
|
|||
} else if (num) {
|
||||
({ y, x, animated } = num);
|
||||
}
|
||||
const nativeScrollRef = f107448.getNativeScrollRef();
|
||||
const nativeScrollRef = f107950.getNativeScrollRef();
|
||||
if (null != nativeScrollRef) {
|
||||
const obj = _modDef350;
|
||||
if (!x) {
|
||||
|
|
@ -121,14 +121,14 @@ class ScrollView {
|
|||
if (animated) {
|
||||
animated = animated.animated;
|
||||
}
|
||||
const nativeScrollRef = f107448.getNativeScrollRef();
|
||||
const nativeScrollRef = f107950.getNativeScrollRef();
|
||||
if (null != nativeScrollRef) {
|
||||
_modDef350.scrollToEnd(nativeScrollRef, false !== animated);
|
||||
const tmp2 = false !== animated;
|
||||
}
|
||||
};
|
||||
tmp3Result.flashScrollIndicators = () => {
|
||||
const nativeScrollRef = f107448.getNativeScrollRef();
|
||||
const nativeScrollRef = f107950.getNativeScrollRef();
|
||||
if (null != nativeScrollRef) {
|
||||
const result = _modDef350.flashScrollIndicators(nativeScrollRef);
|
||||
}
|
||||
|
|
@ -138,9 +138,9 @@ class ScrollView {
|
|||
if (!arg1) {
|
||||
num = 0;
|
||||
}
|
||||
f107448._additionalScrollOffset = num;
|
||||
f107448._preventNegativeScrollOffset = _preventNegativeScrollOffset;
|
||||
if (null != f107448._innerView.nativeInstance) {
|
||||
f107950._additionalScrollOffset = num;
|
||||
f107950._preventNegativeScrollOffset = _preventNegativeScrollOffset;
|
||||
if (null != f107950._innerView.nativeInstance) {
|
||||
if (typeof measureLayout === "number") {
|
||||
const obj = measureDefault;
|
||||
const tmp4 = nullthrowsDefault;
|
||||
|
|
@ -153,13 +153,13 @@ class ScrollView {
|
|||
tmp3Result.scrollResponderZoomTo = (animated, arg1) => {
|
||||
_modDef38(false, "zoomToRect is not implemented");
|
||||
if ("animated" in animated) {
|
||||
f107448._animated = animated.animated;
|
||||
f107950._animated = animated.animated;
|
||||
delete tmp[tmp2];
|
||||
} else if (undefined !== arg1) {
|
||||
const _console = console;
|
||||
console.warn("`scrollResponderZoomTo` `animated` argument is deprecated. Use `options.animated` instead");
|
||||
}
|
||||
const nativeScrollRef = f107448.getNativeScrollRef();
|
||||
const nativeScrollRef = f107950.getNativeScrollRef();
|
||||
if (null != nativeScrollRef) {
|
||||
_modDef350.zoomToRect(nativeScrollRef, animated, false !== arg1);
|
||||
const tmp3Result = _modDef350;
|
||||
|
|
@ -176,19 +176,19 @@ class ScrollView {
|
|||
const _setTimeout = setTimeout;
|
||||
const timerId = setTimeout(() => {
|
||||
if (typeof scrollTextInputIntoVisibleRect === "function") {
|
||||
if (null != f107448._keyboardMetrics) {
|
||||
if (null != f107950._keyboardMetrics) {
|
||||
screenY = obj._keyboardMetrics.screenY;
|
||||
}
|
||||
const sum = closure_0 - screenY + closure_1 + obj._additionalScrollOffset;
|
||||
let bound = sum;
|
||||
if (true === f107448._preventNegativeScrollOffset) {
|
||||
if (true === f107950._preventNegativeScrollOffset) {
|
||||
const _Math = Math;
|
||||
bound = Math.max(0, sum);
|
||||
}
|
||||
const point = { x: 0, y: bound, animated: true };
|
||||
f107448.scrollTo(point);
|
||||
f107448._additionalScrollOffset = 0;
|
||||
f107448._preventNegativeScrollOffset = false;
|
||||
f107950.scrollTo(point);
|
||||
f107950._additionalScrollOffset = 0;
|
||||
f107950._preventNegativeScrollOffset = false;
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -210,29 +210,29 @@ class ScrollView {
|
|||
}
|
||||
};
|
||||
tmp3Result._handleScroll = (arg0) => {
|
||||
f107448._observedScrollSinceBecomingResponder = true;
|
||||
if (f107448.props.onScroll) {
|
||||
f107950._observedScrollSinceBecomingResponder = true;
|
||||
if (f107950.props.onScroll) {
|
||||
const props = tmp.props;
|
||||
props.onScroll(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleLayout = (nativeEvent) => {
|
||||
if (true === f107448.props.invertStickyHeaders) {
|
||||
if (true === f107950.props.invertStickyHeaders) {
|
||||
const obj2 = { layoutHeight: nativeEvent.nativeEvent.layout.height };
|
||||
obj.setState(obj2);
|
||||
}
|
||||
if (f107448.props.onLayout) {
|
||||
if (f107950.props.onLayout) {
|
||||
const props = obj.props;
|
||||
props.onLayout(nativeEvent);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleContentOnLayout = (arg0) => {
|
||||
if (f107448.props.onContentSizeChange) {
|
||||
const props = f107448.props;
|
||||
if (f107950.props.onContentSizeChange) {
|
||||
const props = f107950.props;
|
||||
props.onContentSizeChange(tmp, tmp2);
|
||||
}
|
||||
};
|
||||
f107448 = (arg0) => arg0;
|
||||
f107950 = (arg0) => arg0;
|
||||
closure_1 = undefined;
|
||||
obj1 = {
|
||||
getForwardingRef: c2(closure_4[29])((arg0) => {
|
||||
|
|
@ -240,7 +240,7 @@ class ScrollView {
|
|||
return (nativeInstance) => {
|
||||
let tmp = null;
|
||||
if (null != nativeInstance) {
|
||||
tmp = f107448(nativeInstance);
|
||||
tmp = f107950(nativeInstance);
|
||||
}
|
||||
obj3.nativeInstance = nativeInstance;
|
||||
obj3.publicInstance = tmp;
|
||||
|
|
@ -258,7 +258,7 @@ class ScrollView {
|
|||
};
|
||||
closure_1 = obj1;
|
||||
tmp3Result._innerView = obj1;
|
||||
f107448 = (arg0) => Object.assign(arg0, { getScrollResponder: f107448.getScrollResponder, getScrollableNode: f107448.getScrollableNode, getInnerViewNode: f107448.getInnerViewNode, getInnerViewRef: f107448.getInnerViewRef, getNativeScrollRef: f107448.getNativeScrollRef, scrollTo: f107448.scrollTo, scrollToEnd: f107448.scrollToEnd, flashScrollIndicators: f107448.flashScrollIndicators, scrollResponderZoomTo: f107448.scrollResponderZoomTo, scrollResponderScrollNativeHandleToKeyboard: f107448.scrollResponderScrollNativeHandleToKeyboard });
|
||||
f107950 = (arg0) => Object.assign(arg0, { getScrollResponder: f107950.getScrollResponder, getScrollableNode: f107950.getScrollableNode, getInnerViewNode: f107950.getInnerViewNode, getInnerViewRef: f107950.getInnerViewRef, getNativeScrollRef: f107950.getNativeScrollRef, scrollTo: f107950.scrollTo, scrollToEnd: f107950.scrollToEnd, flashScrollIndicators: f107950.flashScrollIndicators, scrollResponderZoomTo: f107950.scrollResponderZoomTo, scrollResponderScrollNativeHandleToKeyboard: f107950.scrollResponderScrollNativeHandleToKeyboard });
|
||||
closure_1 = undefined;
|
||||
obj4 = {
|
||||
getForwardingRef: c2(closure_4[29])((arg0) => {
|
||||
|
|
@ -266,7 +266,7 @@ class ScrollView {
|
|||
return (nativeInstance) => {
|
||||
let tmp = null;
|
||||
if (null != nativeInstance) {
|
||||
tmp = f107448(nativeInstance);
|
||||
tmp = f107950(nativeInstance);
|
||||
}
|
||||
obj3.nativeInstance = nativeInstance;
|
||||
obj3.publicInstance = tmp;
|
||||
|
|
@ -285,63 +285,63 @@ class ScrollView {
|
|||
closure_1 = obj4;
|
||||
tmp3Result._scrollView = obj4;
|
||||
tmp3Result.scrollResponderKeyboardWillShow = (endCoordinates) => {
|
||||
f107448._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f107448.props.onKeyboardWillShow) {
|
||||
const props = f107448.props;
|
||||
f107950._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f107950.props.onKeyboardWillShow) {
|
||||
const props = f107950.props;
|
||||
props.onKeyboardWillShow(endCoordinates);
|
||||
}
|
||||
};
|
||||
tmp3Result.scrollResponderKeyboardWillHide = (arg0) => {
|
||||
f107448._keyboardMetrics = null;
|
||||
if (f107448.props.onKeyboardWillHide) {
|
||||
f107950._keyboardMetrics = null;
|
||||
if (f107950.props.onKeyboardWillHide) {
|
||||
const props = tmp.props;
|
||||
props.onKeyboardWillHide(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result.scrollResponderKeyboardDidShow = (endCoordinates) => {
|
||||
f107448._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f107448.props.onKeyboardDidShow) {
|
||||
const props = f107448.props;
|
||||
f107950._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f107950.props.onKeyboardDidShow) {
|
||||
const props = f107950.props;
|
||||
props.onKeyboardDidShow(endCoordinates);
|
||||
}
|
||||
};
|
||||
tmp3Result.scrollResponderKeyboardDidHide = (arg0) => {
|
||||
f107448._keyboardMetrics = null;
|
||||
if (f107448.props.onKeyboardDidHide) {
|
||||
f107950._keyboardMetrics = null;
|
||||
if (f107950.props.onKeyboardDidHide) {
|
||||
const props = tmp.props;
|
||||
props.onKeyboardDidHide(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleMomentumScrollBegin = (arg0) => {
|
||||
const _performance = ScrollView.performance;
|
||||
f107448._lastMomentumScrollBeginTime = _performance.now();
|
||||
if (f107448.props.onMomentumScrollBegin) {
|
||||
const props = f107448.props;
|
||||
f107950._lastMomentumScrollBeginTime = _performance.now();
|
||||
if (f107950.props.onMomentumScrollBegin) {
|
||||
const props = f107950.props;
|
||||
const result = props.onMomentumScrollBegin(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleMomentumScrollEnd = (arg0) => {
|
||||
_modDef351.endScroll();
|
||||
const _performance = ScrollView.performance;
|
||||
f107448._lastMomentumScrollEndTime = _performance.now();
|
||||
if (f107448.props.onMomentumScrollEnd) {
|
||||
const props = f107448.props;
|
||||
f107950._lastMomentumScrollEndTime = _performance.now();
|
||||
if (f107950.props.onMomentumScrollEnd) {
|
||||
const props = f107950.props;
|
||||
props.onMomentumScrollEnd(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleScrollBeginDrag = (arg0) => {
|
||||
_modDef351.beginScroll();
|
||||
if ("on-drag" === f107448.props.keyboardDismissMode) {
|
||||
if ("on-drag" === f107950.props.keyboardDismissMode) {
|
||||
dismissKeyboardDefault();
|
||||
}
|
||||
if (f107448.props.onScrollBeginDrag) {
|
||||
if (f107950.props.onScrollBeginDrag) {
|
||||
const props = tmp4.props;
|
||||
props.onScrollBeginDrag(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleScrollEndDrag = (nativeEvent) => {
|
||||
const velocity = nativeEvent.nativeEvent.velocity;
|
||||
let _isAnimatingResult = f107448._isAnimating();
|
||||
let _isAnimatingResult = f107950._isAnimating();
|
||||
if (!_isAnimatingResult) {
|
||||
let tmp3 = velocity;
|
||||
if (velocity) {
|
||||
|
|
@ -353,29 +353,29 @@ class ScrollView {
|
|||
if (!_isAnimatingResult) {
|
||||
_modDef351.endScroll();
|
||||
}
|
||||
if (f107448.props.onScrollEndDrag) {
|
||||
if (f107950.props.onScrollEndDrag) {
|
||||
const props = tmp.props;
|
||||
props.onScrollEndDrag(nativeEvent);
|
||||
}
|
||||
};
|
||||
tmp3Result._isAnimating = () => {
|
||||
const _performance = ScrollView.performance;
|
||||
return _performance.now() - f107448._lastMomentumScrollEndTime < 16 || f107448._lastMomentumScrollEndTime < f107448._lastMomentumScrollBeginTime;
|
||||
return _performance.now() - f107950._lastMomentumScrollEndTime < 16 || f107950._lastMomentumScrollEndTime < f107950._lastMomentumScrollBeginTime;
|
||||
};
|
||||
tmp3Result._handleResponderGrant = (arg0) => {
|
||||
f107448._observedScrollSinceBecomingResponder = false;
|
||||
if (f107448.props.onResponderGrant) {
|
||||
f107950._observedScrollSinceBecomingResponder = false;
|
||||
if (f107950.props.onResponderGrant) {
|
||||
const props = obj.props;
|
||||
props.onResponderGrant(arg0);
|
||||
}
|
||||
f107448._becameResponderWhileAnimating = f107448._isAnimating();
|
||||
f107950._becameResponderWhileAnimating = f107950._isAnimating();
|
||||
};
|
||||
tmp3Result._handleResponderReject = () => {
|
||||
|
||||
};
|
||||
tmp3Result._handleResponderRelease = (nativeEvent) => {
|
||||
f107448._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
if (f107448.props.onResponderRelease) {
|
||||
f107950._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
if (f107950.props.onResponderRelease) {
|
||||
const props = obj.props;
|
||||
props.onResponderRelease(nativeEvent);
|
||||
}
|
||||
|
|
@ -407,10 +407,10 @@ class ScrollView {
|
|||
tmp3 = importDefault;
|
||||
}
|
||||
};
|
||||
tmp3Result._handleResponderTerminationRequest = () => !f107448._observedScrollSinceBecomingResponder;
|
||||
tmp3Result._handleScrollShouldSetResponder = () => true !== f107448.props.disableScrollViewPanResponder && f107448._isTouching;
|
||||
tmp3Result._handleResponderTerminationRequest = () => !f107950._observedScrollSinceBecomingResponder;
|
||||
tmp3Result._handleScrollShouldSetResponder = () => true !== f107950.props.disableScrollViewPanResponder && f107950._isTouching;
|
||||
tmp3Result._handleStartShouldSetResponder = (target) => {
|
||||
if (true === f107448.props.disableScrollViewPanResponder) {
|
||||
if (true === f107950.props.disableScrollViewPanResponder) {
|
||||
return false;
|
||||
} else {
|
||||
let tmp4 = "handled" !== obj.props.keyboardShouldPersistTaps;
|
||||
|
|
@ -425,7 +425,7 @@ class ScrollView {
|
|||
}
|
||||
};
|
||||
tmp3Result._handleStartShouldSetResponderCapture = (target) => {
|
||||
if (f107448._isAnimating()) {
|
||||
if (f107950._isAnimating()) {
|
||||
return true;
|
||||
} else if (true === obj.props.disableScrollViewPanResponder) {
|
||||
return false;
|
||||
|
|
@ -471,16 +471,16 @@ class ScrollView {
|
|||
return isTextInputResult;
|
||||
};
|
||||
tmp3Result._softKeyboardIsDetached = () => {
|
||||
let tmp = null != f107448._keyboardMetrics;
|
||||
let tmp = null != f107950._keyboardMetrics;
|
||||
if (tmp) {
|
||||
tmp = 0 === f107448._keyboardMetrics.height;
|
||||
tmp = 0 === f107950._keyboardMetrics.height;
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
tmp3Result._keyboardEventsAreUnreliable = () => get_VersionDefault.Version < 30;
|
||||
tmp3Result._handleTouchEnd = (nativeEvent) => {
|
||||
f107448._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
const keyboardShouldPersistTaps = f107448.props.keyboardShouldPersistTaps;
|
||||
f107950._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
const keyboardShouldPersistTaps = f107950.props.keyboardShouldPersistTaps;
|
||||
let tmp = !keyboardShouldPersistTaps;
|
||||
if (keyboardShouldPersistTaps) {
|
||||
tmp = "never" === keyboardShouldPersistTaps;
|
||||
|
|
@ -490,27 +490,27 @@ class ScrollView {
|
|||
_modDef144.blurTextInput(result);
|
||||
const tmp2Result = _modDef144;
|
||||
}
|
||||
if (f107448.props.onTouchEnd) {
|
||||
if (f107950.props.onTouchEnd) {
|
||||
const props = obj.props;
|
||||
props.onTouchEnd(nativeEvent);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleTouchCancel = (arg0) => {
|
||||
f107448._isTouching = false;
|
||||
if (f107448.props.onTouchCancel) {
|
||||
f107950._isTouching = false;
|
||||
if (f107950.props.onTouchCancel) {
|
||||
const props = tmp.props;
|
||||
props.onTouchCancel(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleTouchStart = (arg0) => {
|
||||
f107448._isTouching = true;
|
||||
if (f107448.props.onTouchStart) {
|
||||
f107950._isTouching = true;
|
||||
if (f107950.props.onTouchStart) {
|
||||
const props = tmp.props;
|
||||
props.onTouchStart(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleTouchMove = (arg0) => {
|
||||
if (f107448.props.onTouchMove) {
|
||||
if (f107950.props.onTouchMove) {
|
||||
const props = tmp.props;
|
||||
props.onTouchMove(arg0);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -77,20 +77,20 @@ let items = [
|
|||
key: "__getValue",
|
||||
value: function __getValue() {
|
||||
const _transforms = this._transforms;
|
||||
const f107499 = (__getValue) => __getValue.__getValue();
|
||||
const f108001 = (__getValue) => __getValue.__getValue();
|
||||
return _transforms.map((item) => {
|
||||
const obj = {};
|
||||
for (const key10006 in arg0) {
|
||||
let arr = arg0[key10006];
|
||||
if (arr instanceof AnimatedTransform(367)) {
|
||||
obj[key10006] = f107502(arr);
|
||||
obj[key10006] = f108004(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f107502(dependencyMap[6])) {
|
||||
if (item instanceof f108004(dependencyMap[6])) {
|
||||
tmp = closure_1_0(item);
|
||||
}
|
||||
return tmp;
|
||||
|
|
@ -103,7 +103,7 @@ let items = [
|
|||
let tmp9 = arr[key10013];
|
||||
let tmp3 = tmp9;
|
||||
if (tmp9 instanceof AnimatedTransform(367)) {
|
||||
tmp3 = f107502(tmp9);
|
||||
tmp3 = f108004(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
@ -127,24 +127,24 @@ let items = [
|
|||
{
|
||||
key: "__getValueWithStaticTransforms",
|
||||
value: function __getValueWithStaticTransforms(arr) {
|
||||
let f107500 = [];
|
||||
let f108002 = [];
|
||||
const _transforms = this._transforms;
|
||||
f107500 = (__getValue) => {
|
||||
f107500.push(__getValue.__getValue());
|
||||
f108002 = (__getValue) => {
|
||||
f108002.push(__getValue.__getValue());
|
||||
};
|
||||
const mapped = _transforms.map((item) => {
|
||||
const obj = {};
|
||||
for (const key10006 in arg0) {
|
||||
let arr = arg0[key10006];
|
||||
if (arr instanceof AnimatedTransform(367)) {
|
||||
obj[key10006] = f107502(arr);
|
||||
obj[key10006] = f108004(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f107502(dependencyMap[6])) {
|
||||
if (item instanceof f108004(dependencyMap[6])) {
|
||||
tmp = closure_1_0(item);
|
||||
}
|
||||
return tmp;
|
||||
|
|
@ -157,7 +157,7 @@ let items = [
|
|||
let tmp9 = arr[key10013];
|
||||
let tmp3 = tmp9;
|
||||
if (tmp9 instanceof AnimatedTransform(367)) {
|
||||
tmp3 = f107502(tmp9);
|
||||
tmp3 = f108004(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
@ -176,20 +176,20 @@ let items = [
|
|||
}
|
||||
return obj;
|
||||
});
|
||||
closure_129_0 = () => f107500.shift();
|
||||
closure_129_0 = () => f108002.shift();
|
||||
return arr.map((item) => {
|
||||
const obj = {};
|
||||
for (const key10006 in arg0) {
|
||||
let arr = arg0[key10006];
|
||||
if (arr instanceof AnimatedTransform(367)) {
|
||||
obj[key10006] = f107502(arr);
|
||||
obj[key10006] = f108004(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f107502(dependencyMap[6])) {
|
||||
if (item instanceof f108004(dependencyMap[6])) {
|
||||
tmp = closure_1_0(item);
|
||||
}
|
||||
return tmp;
|
||||
|
|
@ -202,7 +202,7 @@ let items = [
|
|||
let tmp9 = arr[key10013];
|
||||
let tmp3 = tmp9;
|
||||
if (tmp9 instanceof AnimatedTransform(367)) {
|
||||
tmp3 = f107502(tmp9);
|
||||
tmp3 = f108004(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
@ -227,20 +227,20 @@ let items = [
|
|||
key: "__getAnimatedValue",
|
||||
value: function __getAnimatedValue() {
|
||||
const _transforms = this._transforms;
|
||||
const f107502 = (__getAnimatedValue) => __getAnimatedValue.__getAnimatedValue();
|
||||
const f108004 = (__getAnimatedValue) => __getAnimatedValue.__getAnimatedValue();
|
||||
return _transforms.map((item) => {
|
||||
const obj = {};
|
||||
for (const key10006 in arg0) {
|
||||
let arr = arg0[key10006];
|
||||
if (arr instanceof AnimatedTransform(367)) {
|
||||
obj[key10006] = f107502(arr);
|
||||
obj[key10006] = f108004(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f107502(dependencyMap[6])) {
|
||||
if (item instanceof f108004(dependencyMap[6])) {
|
||||
tmp = closure_1_0(item);
|
||||
}
|
||||
return tmp;
|
||||
|
|
@ -253,7 +253,7 @@ let items = [
|
|||
let tmp9 = arr[key10013];
|
||||
let tmp3 = tmp9;
|
||||
if (tmp9 instanceof AnimatedTransform(367)) {
|
||||
tmp3 = f107502(tmp9);
|
||||
tmp3 = f108004(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
|
|||
|
|
@ -90,9 +90,9 @@ let items = [
|
|||
},
|
||||
{
|
||||
key: "sendIntent",
|
||||
value: function sendIntent(arg0, arg1) {
|
||||
value: function sendIntent(arg0, items) {
|
||||
const tmp = LinkingImpl(70);
|
||||
return LinkingImpl(70)(LinkingImpl(471)).sendIntent(arg0, arg1);
|
||||
return LinkingImpl(70)(LinkingImpl(471)).sendIntent(arg0, items);
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -358,7 +358,7 @@ if (null) {
|
|||
} else {
|
||||
self = this;
|
||||
tmp6 = global;
|
||||
obj = { fired: false, wrapFn: "a", target: "r", type: "GIFT_CARD_MOBILE_CONSUMPTION_UNAVAILABLE_HALFSHEET", listener: "a" };
|
||||
obj = { fired: false, wrapFn: "a", target: 1157628778, type: 204655, listener: 200280 };
|
||||
obj.target = this;
|
||||
obj.type = global;
|
||||
obj.listener = require;
|
||||
|
|
@ -383,7 +383,7 @@ if (null) {
|
|||
} else {
|
||||
self = this;
|
||||
tmp6 = global;
|
||||
obj = { fired: false, wrapFn: "a", target: "r", type: "GIFT_CARD_MOBILE_CONSUMPTION_UNAVAILABLE_HALFSHEET", listener: "a" };
|
||||
obj = { fired: false, wrapFn: "a", target: 1157628778, type: 204655, listener: 200280 };
|
||||
obj.target = this;
|
||||
obj.type = global;
|
||||
obj.listener = require;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ let fn = function n() {
|
|||
let length;
|
||||
let length2;
|
||||
let obj = {};
|
||||
let f107630 = obj;
|
||||
let f108132 = obj;
|
||||
let items = ["Boolean", "Number", "String", "Function", "Array", "Date", "RegExp", "Undefined", "Null"];
|
||||
let num = 0;
|
||||
if (0 < items.length) {
|
||||
|
|
@ -82,7 +82,7 @@ let fn = function n() {
|
|||
return mapped;
|
||||
}
|
||||
mapped = arg0[0];
|
||||
tmp4 = f107630[typeof call === "unknown" ? toString(first) : call(toString, first)] || "object";
|
||||
tmp4 = f108132[typeof call === "unknown" ? toString(first) : call(toString, first)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -107,7 +107,7 @@ let fn = function n() {
|
|||
}
|
||||
first = items[0];
|
||||
if (typeof type$p === "function") {
|
||||
tmp5 = f107630;
|
||||
tmp5 = f108132;
|
||||
tmp6 = globalThis;
|
||||
_Object = Object;
|
||||
toString = Object.prototype.toString;
|
||||
|
|
@ -228,7 +228,7 @@ let fn = function n() {
|
|||
_Object = Object;
|
||||
toString = Object.prototype.toString;
|
||||
call = toString.call;
|
||||
tmp = f107630;
|
||||
tmp = f108132;
|
||||
tmp3 = tmp[typeof call === "unknown" ? toString(hex) : call(toString, hex)] || "object";
|
||||
str = "function";
|
||||
if ("function" == tmp3) {
|
||||
|
|
@ -364,7 +364,7 @@ let fn = function n() {
|
|||
_Object = Object;
|
||||
toString = Object.prototype.toString;
|
||||
call = toString.call;
|
||||
tmp2 = f107630;
|
||||
tmp2 = f108132;
|
||||
tmp4 = tmp2[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
str = "number";
|
||||
if ("number" === tmp4) {
|
||||
|
|
@ -454,7 +454,7 @@ let fn = function n() {
|
|||
_Object = Object;
|
||||
toString = Object.prototype.toString;
|
||||
call = toString.call;
|
||||
tmp2 = f107630;
|
||||
tmp2 = f108132;
|
||||
tmp4 = tmp2[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
str = "number";
|
||||
if ("number" === tmp4) {
|
||||
|
|
@ -697,7 +697,7 @@ let fn = function n() {
|
|||
if (-1 < diff) {
|
||||
if (typeof type$p === "function") {
|
||||
tmp12 = arg1;
|
||||
tmp13 = f107630;
|
||||
tmp13 = f108132;
|
||||
tmp14 = globalThis;
|
||||
_Object = Object;
|
||||
toString = Object.prototype.toString;
|
||||
|
|
@ -986,7 +986,7 @@ let fn = function n() {
|
|||
formatted = items[diff1].toLowerCase();
|
||||
}
|
||||
str = formatted;
|
||||
tmp9 = f107630[typeof call === "unknown" ? toString(tmp6) : call(toString, tmp6)] || "object";
|
||||
tmp9 = f108132[typeof call === "unknown" ? toString(tmp6) : call(toString, tmp6)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -1199,7 +1199,7 @@ let fn = function n() {
|
|||
formatted = items[diff1].toLowerCase();
|
||||
}
|
||||
str = formatted;
|
||||
tmp9 = f107630[typeof call === "unknown" ? toString(tmp6) : call(toString, tmp6)] || "object";
|
||||
tmp9 = f108132[typeof call === "unknown" ? toString(tmp6) : call(toString, tmp6)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -1280,7 +1280,7 @@ let fn = function n() {
|
|||
return "css";
|
||||
}
|
||||
}
|
||||
tmp8 = f107630[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp8 = f108132[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -1493,7 +1493,7 @@ let fn = function n() {
|
|||
formatted = items[diff1].toLowerCase();
|
||||
}
|
||||
str = formatted;
|
||||
tmp13 = f107630[typeof call === "unknown" ? toString(tmp10) : call(toString, tmp10)] || "object";
|
||||
tmp13 = f108132[typeof call === "unknown" ? toString(tmp10) : call(toString, tmp10)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -1620,7 +1620,7 @@ let fn = function n() {
|
|||
return "hex";
|
||||
}
|
||||
}
|
||||
tmp8 = f107630[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp8 = f108132[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -2437,7 +2437,7 @@ let fn = function n() {
|
|||
return "named";
|
||||
}
|
||||
}
|
||||
tmp8 = f107630[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp8 = f108132[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -2520,7 +2520,7 @@ let fn = function n() {
|
|||
}
|
||||
}
|
||||
}
|
||||
tmp8 = f107630[typeof call === "unknown" ? toString(first) : call(toString, first)] || "object";
|
||||
tmp8 = f108132[typeof call === "unknown" ? toString(first) : call(toString, first)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -3021,7 +3021,7 @@ let fn = function n() {
|
|||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
tmp17 = f107630[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp17 = f108132[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -3230,8 +3230,8 @@ let fn = function n() {
|
|||
if (typeof type$p === "function") {
|
||||
const _Object = Object;
|
||||
const call = toString.call;
|
||||
brewer = "string" === (f107630[typeof call === "unknown" ? toString(items) : call(toString, items)] || "object");
|
||||
const tmp4 = f107630[typeof call === "unknown" ? toString(items) : call(toString, items)] || "object";
|
||||
brewer = "string" === (f108132[typeof call === "unknown" ? toString(items) : call(toString, items)] || "object");
|
||||
const tmp4 = f108132[typeof call === "unknown" ? toString(items) : call(toString, items)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -3284,7 +3284,7 @@ let fn = function n() {
|
|||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
tmp10 = f107630[typeof call2 === "unknown" ? toString2(arr2) : call2(toString2, arr2)] || "object";
|
||||
tmp10 = f108132[typeof call2 === "unknown" ? toString2(arr2) : call2(toString2, arr2)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -3394,7 +3394,7 @@ let fn = function n() {
|
|||
dependencyMap[rounded] = interpolateResult;
|
||||
tmp51 = interpolateResult;
|
||||
}
|
||||
tmp29 = f107630[typeof call === "unknown" ? toString(tmp27) : call(toString, tmp27)] || "object";
|
||||
tmp29 = f108132[typeof call === "unknown" ? toString(tmp27) : call(toString, tmp27)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -3613,7 +3613,7 @@ let fn = function n() {
|
|||
}
|
||||
items = tmp6;
|
||||
let tmp = fn;
|
||||
tmp5 = f107630[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp5 = f108132[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -3759,34 +3759,34 @@ let fn = function n() {
|
|||
tmp = blend;
|
||||
}
|
||||
closure_129_0 = (arg0) => arg0;
|
||||
f107630 = (arg0, arg1) => {
|
||||
const items = [f107630(arg0[0], arg1[0]), f107630(arg0[1], arg1[1]), f107630(arg0[2], arg1[2])];
|
||||
f108132 = (arg0, arg1) => {
|
||||
const items = [f108132(arg0[0], arg1[0]), f108132(arg0[1], arg1[1]), f108132(arg0[2], arg1[2])];
|
||||
return items;
|
||||
};
|
||||
blend.normal = (arg0, arg1) => {
|
||||
const obj = closure_2_206(arg1);
|
||||
const rgbResult = closure_2_206(arg1).rgb();
|
||||
return closure_2_206.rgb(f107630(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108132(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_130_0 = (arg0, arg1) => arg0 * arg1 / 255;
|
||||
f107630 = (arg0, arg1) => {
|
||||
const items = [f107630(arg0[0], arg1[0]), f107630(arg0[1], arg1[1]), f107630(arg0[2], arg1[2])];
|
||||
f108132 = (arg0, arg1) => {
|
||||
const items = [f108132(arg0[0], arg1[0]), f108132(arg0[1], arg1[1]), f108132(arg0[2], arg1[2])];
|
||||
return items;
|
||||
};
|
||||
blend.multiply = (arg0, arg1) => {
|
||||
const obj = closure_2_206(arg1);
|
||||
const rgbResult = closure_2_206(arg1).rgb();
|
||||
return closure_2_206.rgb(f107630(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108132(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_131_0 = (arg0, arg1) => 255 * (1 - (1 - arg0 / 255) * (1 - arg1 / 255));
|
||||
f107630 = (arg0, arg1) => {
|
||||
const items = [f107630(arg0[0], arg1[0]), f107630(arg0[1], arg1[1]), f107630(arg0[2], arg1[2])];
|
||||
f108132 = (arg0, arg1) => {
|
||||
const items = [f108132(arg0[0], arg1[0]), f108132(arg0[1], arg1[1]), f108132(arg0[2], arg1[2])];
|
||||
return items;
|
||||
};
|
||||
blend.screen = (arg0, arg1) => {
|
||||
const obj = closure_2_206(arg1);
|
||||
const rgbResult = closure_2_206(arg1).rgb();
|
||||
return closure_2_206.rgb(f107630(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108132(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_132_0 = (arg0, arg1) => {
|
||||
if (arg1 < 128) {
|
||||
|
|
@ -3796,14 +3796,14 @@ let fn = function n() {
|
|||
}
|
||||
return result;
|
||||
};
|
||||
f107630 = (arg0, arg1) => {
|
||||
const items = [f107630(arg0[0], arg1[0]), f107630(arg0[1], arg1[1]), f107630(arg0[2], arg1[2])];
|
||||
f108132 = (arg0, arg1) => {
|
||||
const items = [f108132(arg0[0], arg1[0]), f108132(arg0[1], arg1[1]), f108132(arg0[2], arg1[2])];
|
||||
return items;
|
||||
};
|
||||
blend.overlay = (arg0, arg1) => {
|
||||
const obj = closure_2_206(arg1);
|
||||
const rgbResult = closure_2_206(arg1).rgb();
|
||||
return closure_2_206.rgb(f107630(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108132(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_133_0 = (arg0, arg1) => {
|
||||
let tmp = arg0;
|
||||
|
|
@ -3812,14 +3812,14 @@ let fn = function n() {
|
|||
}
|
||||
return tmp;
|
||||
};
|
||||
f107630 = (arg0, arg1) => {
|
||||
const items = [f107630(arg0[0], arg1[0]), f107630(arg0[1], arg1[1]), f107630(arg0[2], arg1[2])];
|
||||
f108132 = (arg0, arg1) => {
|
||||
const items = [f108132(arg0[0], arg1[0]), f108132(arg0[1], arg1[1]), f108132(arg0[2], arg1[2])];
|
||||
return items;
|
||||
};
|
||||
blend.darken = (arg0, arg1) => {
|
||||
const obj = closure_2_206(arg1);
|
||||
const rgbResult = closure_2_206(arg1).rgb();
|
||||
return closure_2_206.rgb(f107630(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108132(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_134_0 = (arg0, arg1) => {
|
||||
let tmp = arg1;
|
||||
|
|
@ -3828,14 +3828,14 @@ let fn = function n() {
|
|||
}
|
||||
return tmp;
|
||||
};
|
||||
f107630 = (arg0, arg1) => {
|
||||
const items = [f107630(arg0[0], arg1[0]), f107630(arg0[1], arg1[1]), f107630(arg0[2], arg1[2])];
|
||||
f108132 = (arg0, arg1) => {
|
||||
const items = [f108132(arg0[0], arg1[0]), f108132(arg0[1], arg1[1]), f108132(arg0[2], arg1[2])];
|
||||
return items;
|
||||
};
|
||||
blend.lighten = (arg0, arg1) => {
|
||||
const obj = closure_2_206(arg1);
|
||||
const rgbResult = closure_2_206(arg1).rgb();
|
||||
return closure_2_206.rgb(f107630(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108132(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_135_0 = (arg0, arg1) => {
|
||||
let num = 255;
|
||||
|
|
@ -3848,24 +3848,24 @@ let fn = function n() {
|
|||
}
|
||||
return num;
|
||||
};
|
||||
f107630 = (arg0, arg1) => {
|
||||
const items = [f107630(arg0[0], arg1[0]), f107630(arg0[1], arg1[1]), f107630(arg0[2], arg1[2])];
|
||||
f108132 = (arg0, arg1) => {
|
||||
const items = [f108132(arg0[0], arg1[0]), f108132(arg0[1], arg1[1]), f108132(arg0[2], arg1[2])];
|
||||
return items;
|
||||
};
|
||||
blend.dodge = (arg0, arg1) => {
|
||||
const obj = closure_2_206(arg1);
|
||||
const rgbResult = closure_2_206(arg1).rgb();
|
||||
return closure_2_206.rgb(f107630(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108132(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_136_0 = (arg0, arg1) => 255 * (1 - (1 - arg1 / 255) / (arg0 / 255));
|
||||
f107630 = (arg0, arg1) => {
|
||||
const items = [f107630(arg0[0], arg1[0]), f107630(arg0[1], arg1[1]), f107630(arg0[2], arg1[2])];
|
||||
f108132 = (arg0, arg1) => {
|
||||
const items = [f108132(arg0[0], arg1[0]), f108132(arg0[1], arg1[1]), f108132(arg0[2], arg1[2])];
|
||||
return items;
|
||||
};
|
||||
blend.burn = (arg0, arg1) => {
|
||||
const obj = closure_2_206(arg1);
|
||||
const rgbResult = closure_2_206(arg1).rgb();
|
||||
return closure_2_206.rgb(f107630(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108132(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
pow = Math.pow;
|
||||
sin = Math.sin;
|
||||
|
|
@ -3894,8 +3894,8 @@ let fn = function n() {
|
|||
if (typeof type$p === "function") {
|
||||
const _Object = Object;
|
||||
const call = toString.call;
|
||||
tmp2 = "object" === (f107630[typeof call === "unknown" ? toString(item) : call(toString, item)] || "object");
|
||||
const tmp6 = f107630[typeof call === "unknown" ? toString(item) : call(toString, item)] || "object";
|
||||
tmp2 = "object" === (f108132[typeof call === "unknown" ? toString(item) : call(toString, item)] || "object");
|
||||
const tmp6 = f108132[typeof call === "unknown" ? toString(item) : call(toString, item)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -4097,7 +4097,7 @@ let fn = function n() {
|
|||
}
|
||||
return items1;
|
||||
}
|
||||
tmp4 = f107630[typeof call === "unknown" ? toString(analyzeResult) : call(toString, analyzeResult)] || "object";
|
||||
tmp4 = f108132[typeof call === "unknown" ? toString(analyzeResult) : call(toString, analyzeResult)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -4264,7 +4264,7 @@ let fn = function n() {
|
|||
const mapped = arr.map((item) => Color(item));
|
||||
if (2 === mapped.length) {
|
||||
const mapped1 = mapped.map((lab) => lab.lab());
|
||||
[f107630, type$p] = mapped1;
|
||||
[f108132, type$p] = mapped1;
|
||||
let fn = function a(arg0) {
|
||||
closure_0 = arg0;
|
||||
const items = [0, 1, 2];
|
||||
|
|
@ -4272,7 +4272,7 @@ let fn = function n() {
|
|||
};
|
||||
} else if (3 === mapped.length) {
|
||||
const mapped2 = mapped.map((lab) => lab.lab());
|
||||
[f107630, type$p, type$p] = mapped2;
|
||||
[f108132, type$p, type$p] = mapped2;
|
||||
fn = function a(arg0) {
|
||||
closure_0 = arg0;
|
||||
const items = [0, 1, 2];
|
||||
|
|
@ -4280,7 +4280,7 @@ let fn = function n() {
|
|||
};
|
||||
} else if (4 === mapped.length) {
|
||||
const mapped3 = mapped.map((lab) => lab.lab());
|
||||
[f107630, type$p, type$p, last] = mapped3;
|
||||
[f108132, type$p, type$p, last] = mapped3;
|
||||
fn = function a(arg0) {
|
||||
closure_0 = arg0;
|
||||
const items = [0, 1, 2];
|
||||
|
|
@ -4425,7 +4425,7 @@ let fn = function n() {
|
|||
c6 = 0;
|
||||
}
|
||||
tmp8 = fn;
|
||||
tmp3 = f107630[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp3 = f108132[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -4446,7 +4446,7 @@ let fn = function n() {
|
|||
c5 = 0;
|
||||
}
|
||||
tmp4 = fn;
|
||||
tmp3 = f107630[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp3 = f108132[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -25,7 +25,7 @@ function isAttributeObject(value) {
|
|||
function attributeValueToTypedAttributeValue(value, flag) {
|
||||
let tmp = value;
|
||||
if (!isAttributeObject(value)) {
|
||||
let obj = { value, unit: "a" };
|
||||
let obj = { value, unit: "Array" };
|
||||
tmp = obj;
|
||||
}
|
||||
({ value, unit } = tmp);
|
||||
|
|
|
|||
|
|
@ -256,7 +256,7 @@ let closure_6 = async function _instrumentAsyncIterableStream(arg0, value) {
|
|||
closure_136_6 = undefined;
|
||||
closure_136_7 = undefined;
|
||||
let value4;
|
||||
const obj5 = { responseTexts: [], finishReasons: [], responseId: "", responseModel: "", promptTokens: "r", completionTokens: "w", cacheCreationInputTokens: "bottom", cacheReadInputTokens: "hasDiversityParent", toolCalls: [], activeToolBlocks: {} };
|
||||
const obj5 = { responseTexts: [], finishReasons: [], responseId: "", responseModel: "", promptTokens: "r", completionTokens: "ip", cacheCreationInputTokens: "values", cacheReadInputTokens: "isArray", toolCalls: [], activeToolBlocks: {} };
|
||||
closure_136_2 = obj5;
|
||||
closure_136_4 = false;
|
||||
closure_136_5 = false;
|
||||
|
|
@ -1052,9 +1052,9 @@ export const instrumentAsyncIterableStream = function instrumentAsyncIterableStr
|
|||
export const instrumentMessageStream = function instrumentMessageStream(applyResult, arg1, flag) {
|
||||
closure_0 = arg1;
|
||||
closure_1 = flag;
|
||||
const obj = { responseTexts: [], finishReasons: [], responseId: "", responseModel: "", promptTokens: "r", completionTokens: "w", cacheCreationInputTokens: "bottom", cacheReadInputTokens: "hasDiversityParent", toolCalls: [], activeToolBlocks: {} };
|
||||
closure_2 = { responseTexts: [], finishReasons: [], responseId: "", responseModel: "", promptTokens: "r", completionTokens: "ip", cacheCreationInputTokens: "values", cacheReadInputTokens: "isArray", toolCalls: [], activeToolBlocks: {} };
|
||||
applyResult.on("streamEvent", (arg0) => {
|
||||
processEvent(arg0, obj, closure_1, closure_0);
|
||||
processEvent(arg0, closure_2, closure_1, closure_0);
|
||||
});
|
||||
applyResult.on("message", () => {
|
||||
let tmp2 = closure_1;
|
||||
|
|
|
|||
|
|
@ -553,7 +553,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
obj5.name = "" + finalOperationName + " " + str15 + " stream-response";
|
||||
obj5.op = tmp4(tmp5[3]).getSpanOperation(tmp2);
|
||||
obj5.attributes = obj;
|
||||
closure_0 = closure_2(/* F120269 */ function() { ... });
|
||||
closure_0 = closure_2(/* F120765 */ function() { ... });
|
||||
let startSpanManualResult = tmp4Result6.startSpanManual(obj5, () => { ... });
|
||||
const tmp4Result7 = tmp4(tmp5[3]);
|
||||
} else {
|
||||
|
|
@ -720,7 +720,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
obj5.name = "" + finalOperationName + " " + str15 + " stream-response";
|
||||
obj5.op = tmp4(tmp5[3]).getSpanOperation(tmp2);
|
||||
obj5.attributes = obj;
|
||||
closure_0 = closure_2(/* F120269 */ function() { ... });
|
||||
closure_0 = closure_2(/* F120765 */ function() { ... });
|
||||
let startSpanManualResult = tmp4Result6.startSpanManual(obj5, () => { ... });
|
||||
const tmp4Result7 = tmp4(tmp5[3]);
|
||||
} else {
|
||||
|
|
@ -1283,7 +1283,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
c5 = 0;
|
||||
c6 = 0;
|
||||
c4 = 0;
|
||||
return (/* F124434 */ function*() { ... })();
|
||||
return (/* F124937 */ function*() { ... })();
|
||||
});
|
||||
let startSpanManualResult = tmp4Result6.startSpanManual(obj5, function(arg0) {
|
||||
const self = this;
|
||||
|
|
@ -1308,7 +1308,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
if (tmp) {
|
||||
closure_3(_function, first);
|
||||
}
|
||||
return str(dependencyMap[11]).handleCallbackErrors(() => { ... }, () => { ... }, /* F120273 */ function() { ... }, () => { ... });
|
||||
return str(dependencyMap[11]).handleCallbackErrors(() => { ... }, () => { ... }, /* F120769 */ function() { ... }, () => { ... });
|
||||
});
|
||||
const tmp4Result8 = tmp4(tmp5[3]);
|
||||
}
|
||||
|
|
@ -1516,7 +1516,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
c5 = 0;
|
||||
c6 = 0;
|
||||
c4 = 0;
|
||||
return (/* F124434 */ function*() { ... })();
|
||||
return (/* F124937 */ function*() { ... })();
|
||||
});
|
||||
let startSpanManualResult = tmp4Result6.startSpanManual(obj5, function(arg0) {
|
||||
const self = this;
|
||||
|
|
@ -1541,7 +1541,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
if (tmp) {
|
||||
closure_3(_function, first);
|
||||
}
|
||||
return str(dependencyMap[11]).handleCallbackErrors(() => { ... }, () => { ... }, /* F120273 */ function() { ... }, () => { ... });
|
||||
return str(dependencyMap[11]).handleCallbackErrors(() => { ... }, () => { ... }, /* F120769 */ function() { ... }, () => { ... });
|
||||
});
|
||||
const tmp4Result8 = tmp4(tmp5[3]);
|
||||
}
|
||||
|
|
@ -1699,7 +1699,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
obj5.name = "" + finalOperationName + " " + str15 + " stream-response";
|
||||
obj5.op = tmp4(tmp5[3]).getSpanOperation(tmp2);
|
||||
obj5.attributes = obj;
|
||||
closure_0 = closure_2(/* F120269 */ function() { ... });
|
||||
closure_0 = closure_2(/* F120765 */ function() { ... });
|
||||
let startSpanManualResult = tmp4Result6.startSpanManual(obj5, () => { ... });
|
||||
const tmp4Result7 = tmp4(tmp5[3]);
|
||||
} else {
|
||||
|
|
@ -1866,7 +1866,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
obj5.name = "" + finalOperationName + " " + str15 + " stream-response";
|
||||
obj5.op = tmp4(tmp5[3]).getSpanOperation(tmp2);
|
||||
obj5.attributes = obj;
|
||||
closure_0 = closure_2(/* F120269 */ function() { ... });
|
||||
closure_0 = closure_2(/* F120765 */ function() { ... });
|
||||
let startSpanManualResult = tmp4Result6.startSpanManual(obj5, () => { ... });
|
||||
const tmp4Result7 = tmp4(tmp5[3]);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ export const createLangChainCallbackHandler = function createLangChainCallbackHa
|
|||
lc_namespace: ["langchain_core", "callbacks", "sentry"],
|
||||
lc_secrets: "r",
|
||||
lc_attributes: "accessible",
|
||||
lc_aliases: "create",
|
||||
lc_aliases: "ix",
|
||||
lc_serializable_keys: "guild_id",
|
||||
lc_id: ["langchain_core", "callbacks", "sentry"],
|
||||
lc_kwargs: {},
|
||||
|
|
|
|||
|
|
@ -3206,7 +3206,7 @@ function initObservers(doc) {
|
|||
({ mousemoveCb: drag, sampling, doc, mirror: fn3 } = doc);
|
||||
closure_2 = undefined;
|
||||
closure_3 = undefined;
|
||||
let f71424;
|
||||
let f71829;
|
||||
items = undefined;
|
||||
if (false === sampling.mousemove) {
|
||||
return () => {
|
||||
|
|
@ -3257,7 +3257,7 @@ function initObservers(doc) {
|
|||
closure_130_2 = {};
|
||||
closure_130_3 = null;
|
||||
closure_130_4 = 0;
|
||||
f71424 = function() {
|
||||
f71829 = function() {
|
||||
items = [...arguments];
|
||||
let self;
|
||||
const timestamp = Date.now();
|
||||
|
|
@ -4568,7 +4568,7 @@ function initObservers(doc) {
|
|||
} catch (tmp7) {
|
||||
if (closure_2_79) {
|
||||
if (true === tmp8(tmp7)) {
|
||||
return /* F108014 */ function() { ... };
|
||||
return /* F108516 */ function() { ... };
|
||||
}
|
||||
}
|
||||
throw tmp7;
|
||||
|
|
@ -4634,7 +4634,7 @@ function initObservers(doc) {
|
|||
} catch (tmp7) {
|
||||
if (closure_2_79) {
|
||||
if (true === tmp8(tmp7)) {
|
||||
return /* F108014 */ function() { ... };
|
||||
return /* F108516 */ function() { ... };
|
||||
}
|
||||
}
|
||||
throw tmp7;
|
||||
|
|
@ -5485,7 +5485,7 @@ function addBreadcrumbEvent(triggerUserActivity, category) {
|
|||
}
|
||||
obj.timestamp = 1000 * num;
|
||||
const obj2 = { tag: "breadcrumb", payload: null };
|
||||
const normalizer = f108056(map[8]);
|
||||
const normalizer = f108558(map[8]);
|
||||
obj2.payload = normalizer.normalize(_null, 10, 1000);
|
||||
obj.data = obj2;
|
||||
obj.throttledAddEvent(obj);
|
||||
|
|
@ -6216,7 +6216,7 @@ function mergeWarning(_meta, arg1) {
|
|||
_meta._meta = headers;
|
||||
return _meta;
|
||||
} else {
|
||||
const obj2 = { headers, size: "Array", _meta: 10392529183522122000000000000000000 };
|
||||
const obj2 = { headers, size: "Array", _meta: "ju" };
|
||||
const obj3 = { warnings: null };
|
||||
const items1 = [arg1];
|
||||
obj3.warnings = items1;
|
||||
|
|
@ -6658,7 +6658,7 @@ let closure_159 = async function _prepareFetchData2(arg0, arg1, arg2) {
|
|||
tmp23._meta = obj11;
|
||||
let obj14 = tmp23;
|
||||
} else {
|
||||
obj14 = { headers: obj11, size: "Array", _meta: 10392529183522122000000000000000000 };
|
||||
obj14 = { headers: obj11, size: "Array", _meta: "ju" };
|
||||
const obj16 = { warnings: null };
|
||||
const items1 = [tmp21];
|
||||
obj16.warnings = items1;
|
||||
|
|
@ -7443,7 +7443,7 @@ let closure_164 = async function _captureXhrBreadcrumbToReplay(arg0, arg1, arg2)
|
|||
tmp22._meta = obj9;
|
||||
let obj10 = tmp22;
|
||||
} else {
|
||||
obj10 = { headers: obj9, size: "Array", _meta: 10392529183522122000000000000000000 };
|
||||
obj10 = { headers: obj9, size: "Array", _meta: "ju" };
|
||||
const obj11 = { warnings: null };
|
||||
let items2 = [tmp17];
|
||||
obj11.warnings = items2;
|
||||
|
|
@ -7461,7 +7461,7 @@ let closure_164 = async function _captureXhrBreadcrumbToReplay(arg0, arg1, arg2)
|
|||
tmp18._meta = obj12;
|
||||
let obj13 = tmp18;
|
||||
} else {
|
||||
obj13 = { headers: obj12, size: "Array", _meta: 10392529183522122000000000000000000 };
|
||||
obj13 = { headers: obj12, size: "Array", _meta: "ju" };
|
||||
const obj14 = { warnings: null };
|
||||
let items4 = [tmp14];
|
||||
obj14.warnings = items4;
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ export const adjustTransactionDuration = (on, activeSpan, arg2) => {
|
|||
}
|
||||
};
|
||||
export const ignoreEmptyBackNavigation = (on, c4) => {
|
||||
const f71993 = (arg0) => {
|
||||
const data = c4(f71993[2]).spanToJSON(arg0).data;
|
||||
const f72398 = (arg0) => {
|
||||
const data = c4(f72398[2]).spanToJSON(arg0).data;
|
||||
let prop;
|
||||
if (null !== data) {
|
||||
if (undefined !== data) {
|
||||
|
|
@ -64,8 +64,8 @@ export const ignoreEmptyBackNavigation = (on, c4) => {
|
|||
}
|
||||
return true === prop;
|
||||
};
|
||||
const f71994 = () => {
|
||||
const debug = c4(f71993[2]).debug;
|
||||
const f72399 = () => {
|
||||
const debug = c4(f72398[2]).debug;
|
||||
debug.log("Not sampling transaction as route has been seen before. Pass ignoreEmptyBackNavigationTransactions = false to disable this feature.");
|
||||
};
|
||||
if (on) {
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ export const reactNativeTracingIntegration = () => {
|
|||
let merged1;
|
||||
let fn2;
|
||||
let url;
|
||||
let obj2 = { currentRoute: "Array" };
|
||||
let obj2 = { currentRoute: "r" };
|
||||
let fn = obj.beforeStartSpan;
|
||||
const merged = Object.assign(Object.assign({}, url), obj);
|
||||
if (null === fn) {
|
||||
|
|
|
|||
|
|
@ -176,7 +176,7 @@ let items = [
|
|||
key: "captureUserFeedback",
|
||||
value: function captureUserFeedback(arg0) {
|
||||
const obj = ReactNativeClient(1043);
|
||||
this.sendEnvelope(obj.createUserFeedbackEnvelope(arg0, { metadata: this._options._metadata, dsn: this.getDsn(), tunnel: "Array" }));
|
||||
this.sendEnvelope(obj.createUserFeedbackEnvelope(arg0, { metadata: this._options._metadata, dsn: this.getDsn(), tunnel: "r" }));
|
||||
}
|
||||
},
|
||||
{
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ class FeedbackWidget {
|
|||
closure_129_12 = undefined;
|
||||
closure_129_0 = undefined;
|
||||
if (self._hasScreenshot()) {
|
||||
debug.setState({ filename: "Array", attachment: "accessible", attachmentUri: "then" });
|
||||
debug.setState({ filename: "getCurrentUser", attachment: "call", attachmentUri: "skuId" });
|
||||
} else {
|
||||
num2 = debug.props.imagePicker;
|
||||
closure_129_6 = num2;
|
||||
|
|
|
|||
|
|
@ -1259,8 +1259,8 @@ export const createHashHistory = function createHashHistory(props) {
|
|||
}
|
||||
});
|
||||
},
|
||||
go: function H(diff) {
|
||||
_null.go(diff);
|
||||
go: function H(arg0) {
|
||||
_null.go(arg0);
|
||||
},
|
||||
goBack() {
|
||||
_null.go(-1);
|
||||
|
|
|
|||
9
stable/source/__polyfill/01xxx/module_1119.js
Normal file
9
stable/source/__polyfill/01xxx/module_1119.js
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// Module ID: 1119
|
||||
// Function ID: 1120
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1119
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "8171a7a931053c33ef0b20ca0d1b3a1f", name: "bg.messages.8171a7a931053c33ef0b20ca0d1b3a1f.compiled.messages", type: "jsona" });
|
||||
10
stable/source/__polyfill/01xxx/module_1120.js
Normal file
10
stable/source/__polyfill/01xxx/module_1120.js
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
// Module ID: 1120
|
||||
// Function ID: 1121
|
||||
// Dependencies: [84]
|
||||
|
||||
// Module 1120
|
||||
import _mod84 from "module_84" /* 84 */;
|
||||
|
||||
|
||||
export const registerAsset = _mod84.registerAsset;
|
||||
export const getAssetByID = _mod84.getAssetByID;
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1121
|
||||
// Function ID: 1122
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1121
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "6141bdef66c918cbf2c5f1921a4e11b9", name: "bg.messages.6141bdef66c918cbf2c5f1921a4e11b9.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "7f4d85dd31279080970d4e357a41c050", name: "cs.messages.7f4d85dd31279080970d4e357a41c050.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,10 +1,9 @@
|
|||
// Module ID: 1122
|
||||
// Function ID: 1123
|
||||
// Dependencies: [84]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1122
|
||||
import _mod84 from "module_84" /* 84 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export const registerAsset = _mod84.registerAsset;
|
||||
export const getAssetByID = _mod84.getAssetByID;
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "8a25b00378f631d2e7a61046e1354e9e", name: "da.messages.8a25b00378f631d2e7a61046e1354e9e.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1123
|
||||
// Function ID: 1124
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1123
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "af0439d2eb75c28b078a42bb4efd0f1e", name: "cs.messages.af0439d2eb75c28b078a42bb4efd0f1e.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "299cb7ba84b056043de1f27b2977d0ab", name: "de.messages.299cb7ba84b056043de1f27b2977d0ab.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1124
|
||||
// Function ID: 1125
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1124
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "00c5a0f66c1c58a2ea766151ebe93a43", name: "da.messages.00c5a0f66c1c58a2ea766151ebe93a43.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "ce14996e1b7dff162919cb3b891f24cf", name: "el.messages.ce14996e1b7dff162919cb3b891f24cf.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1125
|
||||
// Function ID: 1126
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1125
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "d651408960816c26996a2b332d722ae7", name: "de.messages.d651408960816c26996a2b332d722ae7.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "ee69155e732fc6eb411b5ac06852a90e", name: "en-GB.messages.ee69155e732fc6eb411b5ac06852a90e.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1126
|
||||
// Function ID: 1127
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1126
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "e75d361bdaf5bfb934bcd6d6d64e3d15", name: "el.messages.e75d361bdaf5bfb934bcd6d6d64e3d15.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "f6daf916b35f1c18815b2bd8375b0105", name: "es-ES.messages.f6daf916b35f1c18815b2bd8375b0105.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1127
|
||||
// Function ID: 1128
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1127
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "6dd87b2ded8c9288bf158dfd42ab9974", name: "en-GB.messages.6dd87b2ded8c9288bf158dfd42ab9974.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "8fa4fdae3eb46f97044362d0fb8653c9", name: "es-419.messages.8fa4fdae3eb46f97044362d0fb8653c9.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1128
|
||||
// Function ID: 1129
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1128
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "4af488b0dc6450d734ca94926ecf7ab1", name: "es-ES.messages.4af488b0dc6450d734ca94926ecf7ab1.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "435e4becc91a2353257577ff64cecddd", name: "fi.messages.435e4becc91a2353257577ff64cecddd.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1129
|
||||
// Function ID: 1130
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1129
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "9ed48d31d081996b7c3e2ee472d175ed", name: "es-419.messages.9ed48d31d081996b7c3e2ee472d175ed.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "8260defbf41c3c831cc6b5530e5d156e", name: "fr.messages.8260defbf41c3c831cc6b5530e5d156e.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1130
|
||||
// Function ID: 1131
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1130
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "6f3c2119a62d2ece2681878a406d6590", name: "fi.messages.6f3c2119a62d2ece2681878a406d6590.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "56fd7645989452633148ad00339a4fe7", name: "hr.messages.56fd7645989452633148ad00339a4fe7.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1131
|
||||
// Function ID: 1132
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1131
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "d301aa1f7cd32a83f6c3044cc5b4dd4c", name: "fr.messages.d301aa1f7cd32a83f6c3044cc5b4dd4c.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "b3de7367c4b0d86fd01a5fb570ea78b5", name: "hu.messages.b3de7367c4b0d86fd01a5fb570ea78b5.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1132
|
||||
// Function ID: 1133
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1132
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "028e28997198e1519b645e693d5cc40c", name: "hr.messages.028e28997198e1519b645e693d5cc40c.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "8c8c24cdab8ac1260a1953375005f5c0", name: "it.messages.8c8c24cdab8ac1260a1953375005f5c0.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1133
|
||||
// Function ID: 1134
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1133
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "3dcee07399fde8741104cd860cca8c6a", name: "hu.messages.3dcee07399fde8741104cd860cca8c6a.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "71126582998b72803f1ef6bbec197bb6", name: "ja.messages.71126582998b72803f1ef6bbec197bb6.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1134
|
||||
// Function ID: 1135
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1134
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "d1fb8d5078c1d639d6108ac97cfa8d6a", name: "it.messages.d1fb8d5078c1d639d6108ac97cfa8d6a.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "705d4fb365103c5375ea0b70e0c9df16", name: "ko.messages.705d4fb365103c5375ea0b70e0c9df16.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1135
|
||||
// Function ID: 1136
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1135
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "60a44d57dd8257c196bea8061de72c95", name: "ja.messages.60a44d57dd8257c196bea8061de72c95.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "b5098f73df617487dcd410815d0fa34f", name: "lt.messages.b5098f73df617487dcd410815d0fa34f.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1136
|
||||
// Function ID: 1137
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1136
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "c2ae4b06bf6b634c8e99ad7088549678", name: "ko.messages.c2ae4b06bf6b634c8e99ad7088549678.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "5b9c06f99c3634fdc2c69d2cce716161", name: "nl.messages.5b9c06f99c3634fdc2c69d2cce716161.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1137
|
||||
// Function ID: 1138
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1137
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "63a2006fed183add1d0a242971f637e2", name: "lt.messages.63a2006fed183add1d0a242971f637e2.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "093f62bb31d4bb5654d13ab72cac993b", name: "no.messages.093f62bb31d4bb5654d13ab72cac993b.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1138
|
||||
// Function ID: 1139
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1138
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "b3e7888be35dc4e61321f32b0c3cc149", name: "nl.messages.b3e7888be35dc4e61321f32b0c3cc149.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "ddd81a672c1b9aeddc8a9a6a04bd5f49", name: "pl.messages.ddd81a672c1b9aeddc8a9a6a04bd5f49.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1139
|
||||
// Function ID: 1140
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1139
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "45b7f7e1ae35b0e40175b0512a18a3ae", name: "no.messages.45b7f7e1ae35b0e40175b0512a18a3ae.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "3e7492f56bc814d9ac811b8281eba062", name: "pt-BR.messages.3e7492f56bc814d9ac811b8281eba062.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1140
|
||||
// Function ID: 1141
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1140
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "67e566910a0c1c15a954ed82d3dd09e3", name: "pl.messages.67e566910a0c1c15a954ed82d3dd09e3.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "6f60a4f422cceefb5d3640a22d9ba734", name: "ro.messages.6f60a4f422cceefb5d3640a22d9ba734.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1141
|
||||
// Function ID: 1142
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1141
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "93641f439c37f86e2d5eb2ac587c0f5a", name: "pt-BR.messages.93641f439c37f86e2d5eb2ac587c0f5a.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "c2114f085af148245b7476349e8a8e8b", name: "ru.messages.c2114f085af148245b7476349e8a8e8b.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1142
|
||||
// Function ID: 1143
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1142
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "a919e971430e90063eef58245b478c35", name: "ro.messages.a919e971430e90063eef58245b478c35.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "27987b2c22dcddbf9bb02dffa91e294f", name: "sv-SE.messages.27987b2c22dcddbf9bb02dffa91e294f.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1143
|
||||
// Function ID: 1144
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1143
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "567d68d63db32eee802ebd07abd4a40b", name: "ru.messages.567d68d63db32eee802ebd07abd4a40b.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "1ed16e5b56392824b50dc2a36a8755df", name: "th.messages.1ed16e5b56392824b50dc2a36a8755df.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
// Module ID: 1144
|
||||
// Function ID: 1145
|
||||
// Dependencies: [1122]
|
||||
// Dependencies: [1120]
|
||||
|
||||
// Module 1144
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
import registerAsset from "module_1120" /* 1120 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "fa6b72c873f82594f8c718ebc637a11b", name: "sv-SE.messages.fa6b72c873f82594f8c718ebc637a11b.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "24619885757fe0fd9b45d3adbbe4ecf7", name: "tr.messages.24619885757fe0fd9b45d3adbbe4ecf7.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue