chore: update source for alpha 346.4
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4792.js (118.4 MB)
This commit is contained in:
parent
ac5a827ee6
commit
4f02868c60
16916 changed files with 705888 additions and 707000 deletions
8832
source.jsonl
8832
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: "call", height: "ix" };
|
||||
let closure_8 = { uri: "isArray", width: "accessible", height: "min" };
|
||||
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: "Array" };
|
||||
let entry3 = { key: tmp3, value: "a" };
|
||||
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: "Array" };
|
||||
const obj3 = { operationType: match1[1], operationName: "a" };
|
||||
obj = obj3;
|
||||
} else {
|
||||
obj = { operationType: "call", operationName: "accessibilityLabel" };
|
||||
obj = { operationType: "guild", operationName: "call" };
|
||||
}
|
||||
}
|
||||
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: "Array" };
|
||||
const obj3 = { operationType: match1[1], operationName: "a" };
|
||||
let obj = obj3;
|
||||
} else {
|
||||
obj = { operationType: "call", operationName: "accessibilityLabel" };
|
||||
obj = { operationType: "guild", operationName: "call" };
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ function _shift(fn) {
|
|||
function createIndexedDbStore(arg0) {
|
||||
let dbName = arg0;
|
||||
function getStore() {
|
||||
if (null == f72096) {
|
||||
if (null == f72122) {
|
||||
let str = dbName.dbName;
|
||||
if (!str) {
|
||||
str = "sentry-offline";
|
||||
|
|
@ -154,12 +154,12 @@ function createIndexedDbStore(arg0) {
|
|||
closure_0.onerror = fn2;
|
||||
closure_0.onabort = fn2;
|
||||
});
|
||||
f72096 = (arg0) => {
|
||||
f72122 = (arg0) => {
|
||||
closure_0 = arg0;
|
||||
return promise.then((transaction) => closure_0(transaction.transaction(openResult, "readwrite").objectStore(openResult)));
|
||||
};
|
||||
}
|
||||
return f72096;
|
||||
return f72122;
|
||||
}
|
||||
const obj = { push: null, unshift: null, shift: null };
|
||||
closure_4 = asyncGeneratorStep(async (arg0, value) => {
|
||||
|
|
|
|||
|
|
@ -1,174 +0,0 @@
|
|||
// Module ID: 4216
|
||||
// Function ID: 4217
|
||||
// Name: _
|
||||
// Dependencies: [4196]
|
||||
|
||||
// Module 4216 (_)
|
||||
import _mod4196 from "module_4196" /* 4196 */;
|
||||
|
||||
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(_mod4196);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (typeof globalThis.define === "function") {
|
||||
if (globalThis.define.amd) {
|
||||
globalThis.define(["../moment"], fn);
|
||||
}
|
||||
}
|
||||
fn(this.moment);
|
||||
174
source/__helpers/04xxx/4218__.js
Normal file
174
source/__helpers/04xxx/4218__.js
Normal file
|
|
@ -0,0 +1,174 @@
|
|||
// Module ID: 4218
|
||||
// Function ID: 4219
|
||||
// Name: _
|
||||
// Dependencies: [4198]
|
||||
|
||||
// Module 4218 (_)
|
||||
import _mod4198 from "module_4198" /* 4198 */;
|
||||
|
||||
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(_mod4198);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (typeof globalThis.define === "function") {
|
||||
if (globalThis.define.amd) {
|
||||
globalThis.define(["../moment"], fn);
|
||||
}
|
||||
}
|
||||
fn(this.moment);
|
||||
|
|
@ -1,438 +0,0 @@
|
|||
// Module ID: 4366
|
||||
// Function ID: 4367
|
||||
// Name: _fromURL
|
||||
// Dependencies: [5, 17, 4338]
|
||||
|
||||
// Module 4366 (_fromURL)
|
||||
import "asyncGeneratorStep";
|
||||
|
||||
fn(17).Image;
|
||||
const NitroModules = fn(4338).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;
|
||||
438
source/__helpers/04xxx/4368__fromURL.js
Normal file
438
source/__helpers/04xxx/4368__fromURL.js
Normal file
|
|
@ -0,0 +1,438 @@
|
|||
// Module ID: 4368
|
||||
// Function ID: 4369
|
||||
// Name: _fromURL
|
||||
// Dependencies: [5, 17, 4340]
|
||||
|
||||
// Module 4368 (_fromURL)
|
||||
import "asyncGeneratorStep";
|
||||
|
||||
fn(17).Image;
|
||||
const NitroModules = fn(4340).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: 4381
|
||||
// Function ID: 4382
|
||||
// Name: _temp2
|
||||
// Dependencies: [32, 19, 4361, 4375]
|
||||
// Exports: useRiveList
|
||||
|
||||
// Module 4381 (_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(4375).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(4375);
|
||||
}
|
||||
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;
|
||||
};
|
||||
388
source/__helpers/04xxx/4383__temp2.js
Normal file
388
source/__helpers/04xxx/4383__temp2.js
Normal file
|
|
@ -0,0 +1,388 @@
|
|||
// Module ID: 4383
|
||||
// Function ID: 4384
|
||||
// Name: _temp2
|
||||
// Dependencies: [32, 19, 4363, 4377]
|
||||
// Exports: useRiveList
|
||||
|
||||
// Module 4383 (_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(4377).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(4377);
|
||||
}
|
||||
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: 4384
|
||||
// Function ID: 4385
|
||||
// Name: _initialize
|
||||
// Dependencies: [5, 4338]
|
||||
|
||||
// Module 4384 (_initialize)
|
||||
import "asyncGeneratorStep";
|
||||
|
||||
const NitroModules = fn(4338).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;
|
||||
}
|
||||
};
|
||||
96
source/__helpers/04xxx/4386__initialize.js
Normal file
96
source/__helpers/04xxx/4386__initialize.js
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
// Module ID: 4386
|
||||
// Function ID: 4387
|
||||
// Name: _initialize
|
||||
// Dependencies: [5, 4340]
|
||||
|
||||
// Module 4386 (_initialize)
|
||||
import "asyncGeneratorStep";
|
||||
|
||||
const NitroModules = fn(4340).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: 4580
|
||||
// Function ID: 4581
|
||||
// Name: _playHaptic
|
||||
// Dependencies: [5, 17, 4576]
|
||||
// Exports: playHaptic
|
||||
|
||||
// Module 4580 (_playHaptic)
|
||||
import _modDef4576 from "module_4576" /* 4576 */;
|
||||
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 = _modDef4576;
|
||||
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
source/__helpers/04xxx/4582__playHaptic.js
Normal file
66
source/__helpers/04xxx/4582__playHaptic.js
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
// Module ID: 4582
|
||||
// Function ID: 4583
|
||||
// Name: _playHaptic
|
||||
// Dependencies: [5, 17, 4578]
|
||||
// Exports: playHaptic
|
||||
|
||||
// Module 4582 (_playHaptic)
|
||||
import _modDef4578 from "module_4578" /* 4578 */;
|
||||
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 = _modDef4578;
|
||||
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: 5706
|
||||
// Function ID: 5707
|
||||
// Name: __react_navigation__elements_contexts
|
||||
// Dependencies: [19]
|
||||
// Exports: getNamedContext
|
||||
|
||||
// Module 5706 (__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: 5708
|
||||
// Function ID: 5709
|
||||
// Name: __react_navigation__elements_contexts
|
||||
// Dependencies: [19]
|
||||
// Exports: getNamedContext
|
||||
|
||||
// Module 5708 (__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: 8630
|
||||
// Function ID: 8631
|
||||
// Name: _fetchText
|
||||
// Dependencies: [5, 17, 1253]
|
||||
// Exports: fetchText
|
||||
|
||||
// Module 8630 (_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
source/__helpers/08xxx/8653__fetchText.js
Normal file
106
source/__helpers/08xxx/8653__fetchText.js
Normal file
|
|
@ -0,0 +1,106 @@
|
|||
// Module ID: 8653
|
||||
// Function ID: 8654
|
||||
// Name: _fetchText
|
||||
// Dependencies: [5, 17, 1253]
|
||||
// Exports: fetchText
|
||||
|
||||
// Module 8653 (_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;
|
||||
};
|
||||
|
|
@ -1,451 +0,0 @@
|
|||
// Module ID: 9210
|
||||
// Function ID: 9211
|
||||
// Name: _asyncLoop
|
||||
// Dependencies: [41, 42, 5, 9211, 9212]
|
||||
// Exports: asyncLoop, byteSwap, byteSwap32, bytesToHex, checkOpts, concatBytes, createView, hexToBytes, isBytes, nextTick, randomBytes, rotl, rotr, toBytes, u32, u8, utf8ToBytes, wrapConstructor, wrapConstructorWithOpts, wrapXOFConstructorWithOpts
|
||||
|
||||
// Module 9210 (_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(9211).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(9211).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(9211).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(9211).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(9211).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(9211).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(9212).crypto) {
|
||||
if (typeof tmp(9212).crypto.getRandomValues === "function") {
|
||||
const _crypto2 = tmp(9212).crypto;
|
||||
const _Uint8Array = Uint8Array;
|
||||
const uint8Array = new Uint8Array(num);
|
||||
return _crypto2.getRandomValues(uint8Array);
|
||||
}
|
||||
}
|
||||
if (Hash(9212).crypto) {
|
||||
if (typeof tmp(9212).crypto.randomBytes === "function") {
|
||||
const _crypto = tmp(9212).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
source/__helpers/09xxx/9233__asyncLoop.js
Normal file
451
source/__helpers/09xxx/9233__asyncLoop.js
Normal file
|
|
@ -0,0 +1,451 @@
|
|||
// Module ID: 9233
|
||||
// Function ID: 9234
|
||||
// Name: _asyncLoop
|
||||
// Dependencies: [41, 42, 5, 9234, 9235]
|
||||
// Exports: asyncLoop, byteSwap, byteSwap32, bytesToHex, checkOpts, concatBytes, createView, hexToBytes, isBytes, nextTick, randomBytes, rotl, rotr, toBytes, u32, u8, utf8ToBytes, wrapConstructor, wrapConstructorWithOpts, wrapXOFConstructorWithOpts
|
||||
|
||||
// Module 9233 (_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(9234).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(9234).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(9234).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(9234).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(9234).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(9234).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(9235).crypto) {
|
||||
if (typeof tmp(9235).crypto.getRandomValues === "function") {
|
||||
const _crypto2 = tmp(9235).crypto;
|
||||
const _Uint8Array = Uint8Array;
|
||||
const uint8Array = new Uint8Array(num);
|
||||
return _crypto2.getRandomValues(uint8Array);
|
||||
}
|
||||
}
|
||||
if (Hash(9235).crypto) {
|
||||
if (typeof tmp(9235).crypto.randomBytes === "function") {
|
||||
const _crypto = tmp(9235).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: 11302
|
||||
// Function ID: 11303
|
||||
// Name: _pickDirectory
|
||||
// Dependencies: [5, 17, 11298]
|
||||
// Exports: pickDirectory
|
||||
|
||||
// Module 11302 (_pickDirectory)
|
||||
import _mod11298 from "module_11298" /* 11298 */;
|
||||
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 = _mod11298.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: 11303
|
||||
// Function ID: 11304
|
||||
// Name: _pick
|
||||
// Dependencies: [5, 17, 11300, 11298, 11304]
|
||||
// Exports: pick
|
||||
|
||||
// Module 11303 (_pick)
|
||||
import _mod11298 from "module_11298" /* 11298 */;
|
||||
import _mod11300 from "module_11300" /* 11300 */;
|
||||
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 = [_mod11300.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 = _mod11298.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: 11305
|
||||
// Function ID: 11306
|
||||
// Name: _saveDocuments
|
||||
// Dependencies: [5, 17, 11298]
|
||||
// Exports: saveDocuments
|
||||
|
||||
// Module 11305 (_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(11298).NativeDocumentPicker;
|
||||
closure_128_0 = await NativeDocumentPicker2.saveDocument(tmp2);
|
||||
const NativeDocumentPicker = tmp2(11298).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
source/__helpers/11xxx/11326__pickDirectory.js
Normal file
60
source/__helpers/11xxx/11326__pickDirectory.js
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
// Module ID: 11326
|
||||
// Function ID: 11327
|
||||
// Name: _pickDirectory
|
||||
// Dependencies: [5, 17, 11322]
|
||||
// Exports: pickDirectory
|
||||
|
||||
// Module 11326 (_pickDirectory)
|
||||
import _mod11322 from "module_11322" /* 11322 */;
|
||||
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 = _mod11322.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
source/__helpers/11xxx/11327__pick.js
Normal file
135
source/__helpers/11xxx/11327__pick.js
Normal file
|
|
@ -0,0 +1,135 @@
|
|||
// Module ID: 11327
|
||||
// Function ID: 11328
|
||||
// Name: _pick
|
||||
// Dependencies: [5, 17, 11324, 11322, 11328]
|
||||
// Exports: pick
|
||||
|
||||
// Module 11327 (_pick)
|
||||
import _mod11322 from "module_11322" /* 11322 */;
|
||||
import _mod11324 from "module_11324" /* 11324 */;
|
||||
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 = [_mod11324.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 = _mod11322.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
source/__helpers/11xxx/11329__saveDocuments.js
Normal file
41
source/__helpers/11xxx/11329__saveDocuments.js
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
// Module ID: 11329
|
||||
// Function ID: 11330
|
||||
// Name: _saveDocuments
|
||||
// Dependencies: [5, 17, 11322]
|
||||
// Exports: saveDocuments
|
||||
|
||||
// Module 11329 (_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(11322).NativeDocumentPicker;
|
||||
closure_128_0 = await NativeDocumentPicker2.saveDocument(tmp2);
|
||||
const NativeDocumentPicker = tmp2(11322).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: 12915
|
||||
// Function ID: 12916
|
||||
// Name: _flush
|
||||
// Dependencies: [5, 12894, 12916, 12895, 12867, 12878, 12881, 12874, 12904, 12868, 12890]
|
||||
// Exports: addEventProcessor, captureCheckIn, captureEvent, captureException, captureMessage, captureSession, close, flush, isEnabled, isInitialized, lastEventId, setContext, setExtra, setExtras, setTag, setTags, setUser, startSession, withMonitor
|
||||
|
||||
// Module 12915 (_flush)
|
||||
import _mod12868 from "module_12868" /* 12868 */;
|
||||
import _mod12878 from "module_12878" /* 12878 */;
|
||||
import _mod12881 from "module_12881" /* 12881 */;
|
||||
import _mod12890 from "module_12890" /* 12890 */;
|
||||
import _mod12894 from "module_12894" /* 12894 */;
|
||||
import _mod12916 from "module_12916" /* 12916 */;
|
||||
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_12894").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_12894");
|
||||
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_12894").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_12894");
|
||||
tmp13 = closure_0;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c1 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
function endSession() {
|
||||
const isolationScope = _mod12894.getIsolationScope();
|
||||
const currentScope = _mod12894.getCurrentScope();
|
||||
const tmp3 = currentScope.getSession() || isolationScope.getSession();
|
||||
if (tmp3) {
|
||||
tmp(12890).closeSession(tmp3);
|
||||
const tmpResult = tmp(12890);
|
||||
}
|
||||
const isolationScope1 = _mod12894.getIsolationScope();
|
||||
const tmpResult4 = _mod12894;
|
||||
const currentScope1 = _mod12894.getCurrentScope();
|
||||
const tmpResult5 = _mod12894;
|
||||
const client = _mod12894.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 = _mod12894.getIsolationScope();
|
||||
isolationScope.addEventProcessor(arg0);
|
||||
};
|
||||
export const captureCheckIn = function captureCheckIn(arg0, arg1) {
|
||||
const currentScope = _mod12894.getCurrentScope();
|
||||
const client = _mod12894.getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
return client.captureCheckIn(arg0, arg1, currentScope);
|
||||
} else if (tmp(12895).DEBUG_BUILD) {
|
||||
const logger2 = tmp(12867).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
} else if (tmp(12895).DEBUG_BUILD) {
|
||||
const logger = tmp(12867).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
return _mod12878.uuid4();
|
||||
};
|
||||
export const captureEvent = function captureEvent(arg0, arg1) {
|
||||
const currentScope = _mod12894.getCurrentScope();
|
||||
return currentScope.captureEvent(arg0, arg1);
|
||||
};
|
||||
export const captureException = function captureException(arg0, arg1) {
|
||||
const currentScope = _mod12894.getCurrentScope();
|
||||
return currentScope.captureException(arg0, _mod12916.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 = _mod12894.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 = _mod12894.getIsolationScope();
|
||||
const currentScope = _mod12894.getCurrentScope();
|
||||
const client = _mod12894.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 = _mod12894.getClient();
|
||||
let transport = client;
|
||||
if (transport) {
|
||||
transport = false !== client.getOptions().enabled;
|
||||
}
|
||||
if (transport) {
|
||||
transport = client.getTransport();
|
||||
}
|
||||
return transport;
|
||||
};
|
||||
export const isInitialized = function isInitialized() {
|
||||
return _mod12894.getClient();
|
||||
};
|
||||
export const lastEventId = function lastEventId() {
|
||||
const isolationScope = _mod12894.getIsolationScope();
|
||||
return isolationScope.lastEventId();
|
||||
};
|
||||
export const setContext = function setContext(arg0, arg1) {
|
||||
const isolationScope = _mod12894.getIsolationScope();
|
||||
isolationScope.setContext(arg0, arg1);
|
||||
};
|
||||
export const setExtra = function setExtra(arg0, arg1) {
|
||||
const isolationScope = _mod12894.getIsolationScope();
|
||||
isolationScope.setExtra(arg0, arg1);
|
||||
};
|
||||
export const setExtras = function setExtras(arg0) {
|
||||
const isolationScope = _mod12894.getIsolationScope();
|
||||
isolationScope.setExtras(arg0);
|
||||
};
|
||||
export const setTag = function setTag(arg0, arg1) {
|
||||
const isolationScope = _mod12894.getIsolationScope();
|
||||
isolationScope.setTag(arg0, arg1);
|
||||
};
|
||||
export const setTags = function setTags(arg0) {
|
||||
const isolationScope = _mod12894.getIsolationScope();
|
||||
isolationScope.setTags(arg0);
|
||||
};
|
||||
export const setUser = function setUser(arg0) {
|
||||
const isolationScope = _mod12894.getIsolationScope();
|
||||
isolationScope.setUser(arg0);
|
||||
};
|
||||
export const startSession = function startSession(arg0) {
|
||||
const client = _mod12894.getClient();
|
||||
const isolationScope = _mod12894.getIsolationScope();
|
||||
const currentScope = _mod12894.getCurrentScope();
|
||||
let options = client;
|
||||
if (client) {
|
||||
options = client.getOptions();
|
||||
}
|
||||
if (!options) {
|
||||
options = {};
|
||||
}
|
||||
({ environment, release } = options);
|
||||
if (undefined === environment) {
|
||||
environment = tmp(12904).DEFAULT_ENVIRONMENT;
|
||||
}
|
||||
const userAgent = _mod12868.GLOBAL_OBJ.navigator || {}.userAgent;
|
||||
const tmp3 = _mod12868.GLOBAL_OBJ.navigator || {};
|
||||
const obj2 = { release, environment, user: null };
|
||||
const tmpResult = _mod12890;
|
||||
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(12890).updateSession(session1, { status: "exited" });
|
||||
const tmpResult2 = tmp(12890);
|
||||
}
|
||||
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: _mod12881.timestampInSeconds() - closure_3 };
|
||||
const currentScope = _mod12894.getCurrentScope();
|
||||
const client = _mod12894.getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
captureCheckInResult = client.captureCheckIn(obj, undefined, currentScope);
|
||||
} else if (tmp(12895).DEBUG_BUILD) {
|
||||
const logger2 = tmp(12867).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
} else if (tmp(12895).DEBUG_BUILD) {
|
||||
const logger = tmp(12867).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
_mod12878.uuid4();
|
||||
}
|
||||
let currentScope = require("module_12894").getCurrentScope();
|
||||
let obj = { monitorSlug, status: "in_progress" };
|
||||
let obj2 = require("module_12894");
|
||||
let client = require("module_12894").getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
let captureCheckInResult = client.captureCheckIn(obj, arg2, currentScope);
|
||||
} else if (tmp(12895).DEBUG_BUILD) {
|
||||
let logger2 = tmp(12867).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
asyncGeneratorStep = captureCheckInResult;
|
||||
closure_3 = tmp(12881).timestampInSeconds();
|
||||
const tmpResult = tmp(12881);
|
||||
return tmp(12894).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(12895).DEBUG_BUILD) {
|
||||
let logger = tmp(12867).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
let obj3 = require("module_12894");
|
||||
captureCheckInResult = require("module_12878").uuid4();
|
||||
};
|
||||
358
source/__helpers/12xxx/12940__flush.js
Normal file
358
source/__helpers/12xxx/12940__flush.js
Normal file
|
|
@ -0,0 +1,358 @@
|
|||
// Module ID: 12940
|
||||
// Function ID: 12941
|
||||
// Name: _flush
|
||||
// Dependencies: [5, 12919, 12941, 12920, 12892, 12903, 12906, 12899, 12929, 12893, 12915]
|
||||
// Exports: addEventProcessor, captureCheckIn, captureEvent, captureException, captureMessage, captureSession, close, flush, isEnabled, isInitialized, lastEventId, setContext, setExtra, setExtras, setTag, setTags, setUser, startSession, withMonitor
|
||||
|
||||
// Module 12940 (_flush)
|
||||
import _mod12893 from "module_12893" /* 12893 */;
|
||||
import _mod12903 from "module_12903" /* 12903 */;
|
||||
import _mod12906 from "module_12906" /* 12906 */;
|
||||
import _mod12915 from "module_12915" /* 12915 */;
|
||||
import _mod12919 from "module_12919" /* 12919 */;
|
||||
import _mod12941 from "module_12941" /* 12941 */;
|
||||
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_12919").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_12919");
|
||||
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_12919").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_12919");
|
||||
tmp13 = closure_0;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c1 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
function endSession() {
|
||||
const isolationScope = _mod12919.getIsolationScope();
|
||||
const currentScope = _mod12919.getCurrentScope();
|
||||
const tmp3 = currentScope.getSession() || isolationScope.getSession();
|
||||
if (tmp3) {
|
||||
tmp(12915).closeSession(tmp3);
|
||||
const tmpResult = tmp(12915);
|
||||
}
|
||||
const isolationScope1 = _mod12919.getIsolationScope();
|
||||
const tmpResult4 = _mod12919;
|
||||
const currentScope1 = _mod12919.getCurrentScope();
|
||||
const tmpResult5 = _mod12919;
|
||||
const client = _mod12919.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 = _mod12919.getIsolationScope();
|
||||
isolationScope.addEventProcessor(arg0);
|
||||
};
|
||||
export const captureCheckIn = function captureCheckIn(arg0, arg1) {
|
||||
const currentScope = _mod12919.getCurrentScope();
|
||||
const client = _mod12919.getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
return client.captureCheckIn(arg0, arg1, currentScope);
|
||||
} else if (tmp(12920).DEBUG_BUILD) {
|
||||
const logger2 = tmp(12892).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
} else if (tmp(12920).DEBUG_BUILD) {
|
||||
const logger = tmp(12892).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
return _mod12903.uuid4();
|
||||
};
|
||||
export const captureEvent = function captureEvent(arg0, arg1) {
|
||||
const currentScope = _mod12919.getCurrentScope();
|
||||
return currentScope.captureEvent(arg0, arg1);
|
||||
};
|
||||
export const captureException = function captureException(arg0, arg1) {
|
||||
const currentScope = _mod12919.getCurrentScope();
|
||||
return currentScope.captureException(arg0, _mod12941.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 = _mod12919.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 = _mod12919.getIsolationScope();
|
||||
const currentScope = _mod12919.getCurrentScope();
|
||||
const client = _mod12919.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 = _mod12919.getClient();
|
||||
let transport = client;
|
||||
if (transport) {
|
||||
transport = false !== client.getOptions().enabled;
|
||||
}
|
||||
if (transport) {
|
||||
transport = client.getTransport();
|
||||
}
|
||||
return transport;
|
||||
};
|
||||
export const isInitialized = function isInitialized() {
|
||||
return _mod12919.getClient();
|
||||
};
|
||||
export const lastEventId = function lastEventId() {
|
||||
const isolationScope = _mod12919.getIsolationScope();
|
||||
return isolationScope.lastEventId();
|
||||
};
|
||||
export const setContext = function setContext(arg0, arg1) {
|
||||
const isolationScope = _mod12919.getIsolationScope();
|
||||
isolationScope.setContext(arg0, arg1);
|
||||
};
|
||||
export const setExtra = function setExtra(arg0, arg1) {
|
||||
const isolationScope = _mod12919.getIsolationScope();
|
||||
isolationScope.setExtra(arg0, arg1);
|
||||
};
|
||||
export const setExtras = function setExtras(arg0) {
|
||||
const isolationScope = _mod12919.getIsolationScope();
|
||||
isolationScope.setExtras(arg0);
|
||||
};
|
||||
export const setTag = function setTag(arg0, arg1) {
|
||||
const isolationScope = _mod12919.getIsolationScope();
|
||||
isolationScope.setTag(arg0, arg1);
|
||||
};
|
||||
export const setTags = function setTags(arg0) {
|
||||
const isolationScope = _mod12919.getIsolationScope();
|
||||
isolationScope.setTags(arg0);
|
||||
};
|
||||
export const setUser = function setUser(arg0) {
|
||||
const isolationScope = _mod12919.getIsolationScope();
|
||||
isolationScope.setUser(arg0);
|
||||
};
|
||||
export const startSession = function startSession(arg0) {
|
||||
const client = _mod12919.getClient();
|
||||
const isolationScope = _mod12919.getIsolationScope();
|
||||
const currentScope = _mod12919.getCurrentScope();
|
||||
let options = client;
|
||||
if (client) {
|
||||
options = client.getOptions();
|
||||
}
|
||||
if (!options) {
|
||||
options = {};
|
||||
}
|
||||
({ environment, release } = options);
|
||||
if (undefined === environment) {
|
||||
environment = tmp(12929).DEFAULT_ENVIRONMENT;
|
||||
}
|
||||
const userAgent = _mod12893.GLOBAL_OBJ.navigator || {}.userAgent;
|
||||
const tmp3 = _mod12893.GLOBAL_OBJ.navigator || {};
|
||||
const obj2 = { release, environment, user: null };
|
||||
const tmpResult = _mod12915;
|
||||
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(12915).updateSession(session1, { status: "exited" });
|
||||
const tmpResult2 = tmp(12915);
|
||||
}
|
||||
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: _mod12906.timestampInSeconds() - closure_3 };
|
||||
const currentScope = _mod12919.getCurrentScope();
|
||||
const client = _mod12919.getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
captureCheckInResult = client.captureCheckIn(obj, undefined, currentScope);
|
||||
} else if (tmp(12920).DEBUG_BUILD) {
|
||||
const logger2 = tmp(12892).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
} else if (tmp(12920).DEBUG_BUILD) {
|
||||
const logger = tmp(12892).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
_mod12903.uuid4();
|
||||
}
|
||||
let currentScope = require("module_12919").getCurrentScope();
|
||||
let obj = { monitorSlug, status: "in_progress" };
|
||||
let obj2 = require("module_12919");
|
||||
let client = require("module_12919").getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
let captureCheckInResult = client.captureCheckIn(obj, arg2, currentScope);
|
||||
} else if (tmp(12920).DEBUG_BUILD) {
|
||||
let logger2 = tmp(12892).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
asyncGeneratorStep = captureCheckInResult;
|
||||
closure_3 = tmp(12906).timestampInSeconds();
|
||||
const tmpResult = tmp(12906);
|
||||
return tmp(12919).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(12920).DEBUG_BUILD) {
|
||||
let logger = tmp(12892).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
let obj3 = require("module_12919");
|
||||
captureCheckInResult = require("module_12903").uuid4();
|
||||
};
|
||||
|
|
@ -1,264 +0,0 @@
|
|||
// Module ID: 12942
|
||||
// Function ID: 12943
|
||||
// Name: _getEventFilterUrl
|
||||
// Dependencies: [12923, 12895, 12867, 12878, 12876]
|
||||
|
||||
// Module 12942 (_getEventFilterUrl)
|
||||
import _mod12867 from "module_12867" /* 12867 */;
|
||||
import _mod12876 from "module_12876" /* 12876 */;
|
||||
import _mod12878 from "module_12878" /* 12878 */;
|
||||
import _mod12895 from "module_12895" /* 12895 */;
|
||||
import setupIntegration from "module_12923" /* 12923 */;
|
||||
|
||||
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 (_mod12895.DEBUG_BUILD) {
|
||||
const logger = tmp6(12867).logger;
|
||||
const _HermesInternal = HermesInternal;
|
||||
logger.error("Cannot extract url for event " + tmp6(12878).getEventDescription(tmp));
|
||||
const tmp6Result = tmp6(12878);
|
||||
}
|
||||
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 (_mod12895.DEBUG_BUILD) {
|
||||
const logger6 = _mod12867.logger;
|
||||
const _HermesInternal6 = HermesInternal;
|
||||
logger6.warn("Event dropped due to being internal Sentry Error.\nEvent: " + _mod12878.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 (_mod12895.DEBUG_BUILD) {
|
||||
const logger5 = _mod12867.logger;
|
||||
const _HermesInternal5 = HermesInternal;
|
||||
logger5.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: " + _mod12878.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 (_mod12895.DEBUG_BUILD) {
|
||||
const logger4 = _mod12867.logger;
|
||||
const _HermesInternal4 = HermesInternal;
|
||||
logger4.warn("Event dropped due to not having an error message, error type or stacktrace.\nEvent: " + _mod12878.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 = _mod12876.stringMatchesSomePattern(transaction, items3);
|
||||
}
|
||||
flag3 = result;
|
||||
}
|
||||
}
|
||||
if (flag3) {
|
||||
flag6 = true;
|
||||
if (_mod12895.DEBUG_BUILD) {
|
||||
const logger3 = _mod12867.logger;
|
||||
const _HermesInternal3 = HermesInternal;
|
||||
logger3.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: " + _mod12878.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag4 = false;
|
||||
if (items1.length) {
|
||||
const tmp16 = _getEventFilterUrl(type);
|
||||
let result1 = tmp16;
|
||||
if (result1) {
|
||||
result1 = _mod12876.stringMatchesSomePattern(tmp16, items1);
|
||||
}
|
||||
flag4 = result1;
|
||||
}
|
||||
if (flag4) {
|
||||
flag6 = true;
|
||||
if (_mod12895.DEBUG_BUILD) {
|
||||
const logger2 = _mod12867.logger;
|
||||
const eventDescription = _mod12878.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 = _mod12876.stringMatchesSomePattern(tmp21, items);
|
||||
}
|
||||
flag5 = result2;
|
||||
}
|
||||
flag6 = false;
|
||||
if (!flag5) {
|
||||
flag6 = true;
|
||||
if (_mod12895.DEBUG_BUILD) {
|
||||
const logger = _mod12867.logger;
|
||||
const eventDescription1 = _mod12878.getEventDescription(type);
|
||||
let _HermesInternal = HermesInternal;
|
||||
logger.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: " + eventDescription1 + ".\nUrl: " + _getEventFilterUrl(type));
|
||||
flag6 = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
});
|
||||
264
source/__helpers/12xxx/12967__getEventFilterUrl.js
Normal file
264
source/__helpers/12xxx/12967__getEventFilterUrl.js
Normal file
|
|
@ -0,0 +1,264 @@
|
|||
// Module ID: 12967
|
||||
// Function ID: 12968
|
||||
// Name: _getEventFilterUrl
|
||||
// Dependencies: [12948, 12920, 12892, 12903, 12901]
|
||||
|
||||
// Module 12967 (_getEventFilterUrl)
|
||||
import _mod12892 from "module_12892" /* 12892 */;
|
||||
import _mod12901 from "module_12901" /* 12901 */;
|
||||
import _mod12903 from "module_12903" /* 12903 */;
|
||||
import _mod12920 from "module_12920" /* 12920 */;
|
||||
import setupIntegration from "module_12948" /* 12948 */;
|
||||
|
||||
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 (_mod12920.DEBUG_BUILD) {
|
||||
const logger = tmp6(12892).logger;
|
||||
const _HermesInternal = HermesInternal;
|
||||
logger.error("Cannot extract url for event " + tmp6(12903).getEventDescription(tmp));
|
||||
const tmp6Result = tmp6(12903);
|
||||
}
|
||||
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 (_mod12920.DEBUG_BUILD) {
|
||||
const logger6 = _mod12892.logger;
|
||||
const _HermesInternal6 = HermesInternal;
|
||||
logger6.warn("Event dropped due to being internal Sentry Error.\nEvent: " + _mod12903.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 (_mod12920.DEBUG_BUILD) {
|
||||
const logger5 = _mod12892.logger;
|
||||
const _HermesInternal5 = HermesInternal;
|
||||
logger5.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: " + _mod12903.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 (_mod12920.DEBUG_BUILD) {
|
||||
const logger4 = _mod12892.logger;
|
||||
const _HermesInternal4 = HermesInternal;
|
||||
logger4.warn("Event dropped due to not having an error message, error type or stacktrace.\nEvent: " + _mod12903.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 = _mod12901.stringMatchesSomePattern(transaction, items3);
|
||||
}
|
||||
flag3 = result;
|
||||
}
|
||||
}
|
||||
if (flag3) {
|
||||
flag6 = true;
|
||||
if (_mod12920.DEBUG_BUILD) {
|
||||
const logger3 = _mod12892.logger;
|
||||
const _HermesInternal3 = HermesInternal;
|
||||
logger3.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: " + _mod12903.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag4 = false;
|
||||
if (items1.length) {
|
||||
const tmp16 = _getEventFilterUrl(type);
|
||||
let result1 = tmp16;
|
||||
if (result1) {
|
||||
result1 = _mod12901.stringMatchesSomePattern(tmp16, items1);
|
||||
}
|
||||
flag4 = result1;
|
||||
}
|
||||
if (flag4) {
|
||||
flag6 = true;
|
||||
if (_mod12920.DEBUG_BUILD) {
|
||||
const logger2 = _mod12892.logger;
|
||||
const eventDescription = _mod12903.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 = _mod12901.stringMatchesSomePattern(tmp21, items);
|
||||
}
|
||||
flag5 = result2;
|
||||
}
|
||||
flag6 = false;
|
||||
if (!flag5) {
|
||||
flag6 = true;
|
||||
if (_mod12920.DEBUG_BUILD) {
|
||||
const logger = _mod12892.logger;
|
||||
const eventDescription1 = _mod12903.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: 12990
|
||||
// Function ID: 12991
|
||||
// Name: _asyncNullishCoalesce2
|
||||
// Dependencies: [5, 12991]
|
||||
// Exports: _asyncNullishCoalesce
|
||||
|
||||
// Module 12990 (_asyncNullishCoalesce2)
|
||||
import _nullishCoalesce from "_nullishCoalesce" /* 12991 */;
|
||||
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: 12991
|
||||
// Function ID: 12992
|
||||
// Name: _nullishCoalesce
|
||||
// Dependencies: []
|
||||
// Exports: _nullishCoalesce
|
||||
|
||||
// Module 12991 (_nullishCoalesce)
|
||||
|
||||
export const _nullishCoalesce = function _nullishCoalesce(arg0, fn) {
|
||||
let tmp = arg0;
|
||||
if (null == arg0) {
|
||||
tmp = fn();
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
|
|
@ -1,122 +0,0 @@
|
|||
// Module ID: 12992
|
||||
// Function ID: 12993
|
||||
// Name: _asyncOptionalChain2
|
||||
// Dependencies: [5]
|
||||
// Exports: _asyncOptionalChain
|
||||
|
||||
// Module 12992 (_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: 12993
|
||||
// Function ID: 12994
|
||||
// Name: _asyncOptionalChainDelete2
|
||||
// Dependencies: [5, 12992]
|
||||
// Exports: _asyncOptionalChainDelete
|
||||
|
||||
// Module 12993 (_asyncOptionalChainDelete2)
|
||||
import _asyncOptionalChain2 from "_asyncOptionalChain2" /* 12992 */;
|
||||
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: 12994
|
||||
// Function ID: 12995
|
||||
// Name: _optionalChain
|
||||
// Dependencies: []
|
||||
// Exports: _optionalChain
|
||||
|
||||
// Module 12994 (_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: 12995
|
||||
// Function ID: 12996
|
||||
// Name: _optionalChainDelete
|
||||
// Dependencies: [12994]
|
||||
// Exports: _optionalChainDelete
|
||||
|
||||
// Module 12995 (_optionalChainDelete)
|
||||
import _optionalChain from "_optionalChain" /* 12994 */;
|
||||
|
||||
require = arg1;
|
||||
const dependencyMap = arg6;
|
||||
|
||||
export const _optionalChainDelete = function _optionalChainDelete(arg0) {
|
||||
const _optionalChainResult = _optionalChain._optionalChain(arg0);
|
||||
return null == _optionalChainResult || _optionalChainResult;
|
||||
};
|
||||
55
source/__helpers/13xxx/13015__asyncNullishCoalesce2.js
Normal file
55
source/__helpers/13xxx/13015__asyncNullishCoalesce2.js
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
// Module ID: 13015
|
||||
// Function ID: 13016
|
||||
// Name: _asyncNullishCoalesce2
|
||||
// Dependencies: [5, 13016]
|
||||
// Exports: _asyncNullishCoalesce
|
||||
|
||||
// Module 13015 (_asyncNullishCoalesce2)
|
||||
import _nullishCoalesce from "_nullishCoalesce" /* 13016 */;
|
||||
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
source/__helpers/13xxx/13016__nullishCoalesce.js
Normal file
15
source/__helpers/13xxx/13016__nullishCoalesce.js
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// Module ID: 13016
|
||||
// Function ID: 13017
|
||||
// Name: _nullishCoalesce
|
||||
// Dependencies: []
|
||||
// Exports: _nullishCoalesce
|
||||
|
||||
// Module 13016 (_nullishCoalesce)
|
||||
|
||||
export const _nullishCoalesce = function _nullishCoalesce(arg0, fn) {
|
||||
let tmp = arg0;
|
||||
if (null == arg0) {
|
||||
tmp = fn();
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
122
source/__helpers/13xxx/13017__asyncOptionalChain2.js
Normal file
122
source/__helpers/13xxx/13017__asyncOptionalChain2.js
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
// Module ID: 13017
|
||||
// Function ID: 13018
|
||||
// Name: _asyncOptionalChain2
|
||||
// Dependencies: [5]
|
||||
// Exports: _asyncOptionalChain
|
||||
|
||||
// Module 13017 (_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;
|
||||
};
|
||||
30
source/__helpers/13xxx/13018__asyncOptionalChainDelete2.js
Normal file
30
source/__helpers/13xxx/13018__asyncOptionalChainDelete2.js
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
// Module ID: 13018
|
||||
// Function ID: 13019
|
||||
// Name: _asyncOptionalChainDelete2
|
||||
// Dependencies: [5, 13017]
|
||||
// Exports: _asyncOptionalChainDelete
|
||||
|
||||
// Module 13018 (_asyncOptionalChainDelete2)
|
||||
import _asyncOptionalChain2 from "_asyncOptionalChain2" /* 13017 */;
|
||||
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
source/__helpers/13xxx/13019__optionalChain.js
Normal file
50
source/__helpers/13xxx/13019__optionalChain.js
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
// Module ID: 13019
|
||||
// Function ID: 13020
|
||||
// Name: _optionalChain
|
||||
// Dependencies: []
|
||||
// Exports: _optionalChain
|
||||
|
||||
// Module 13019 (_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
source/__helpers/13xxx/13020__optionalChainDelete.js
Normal file
16
source/__helpers/13xxx/13020__optionalChainDelete.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// Module ID: 13020
|
||||
// Function ID: 13021
|
||||
// Name: _optionalChainDelete
|
||||
// Dependencies: [13019]
|
||||
// Exports: _optionalChainDelete
|
||||
|
||||
// Module 13020 (_optionalChainDelete)
|
||||
import _optionalChain from "_optionalChain" /* 13019 */;
|
||||
|
||||
require = arg1;
|
||||
const dependencyMap = arg6;
|
||||
|
||||
export const _optionalChainDelete = function _optionalChainDelete(arg0) {
|
||||
const _optionalChainResult = _optionalChain._optionalChain(arg0);
|
||||
return null == _optionalChainResult || _optionalChainResult;
|
||||
};
|
||||
23
source/__helpers/15xxx/15610__regeneratorRuntime.js
Normal file
23
source/__helpers/15xxx/15610__regeneratorRuntime.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
// Module ID: 15610
|
||||
// Function ID: 15611
|
||||
// Name: _regeneratorRuntime
|
||||
// Dependencies: [15611]
|
||||
|
||||
// Module 15610 (_regeneratorRuntime)
|
||||
import _mod15611 from "module_15611" /* 15611 */;
|
||||
|
||||
const tmp3 = _mod15611();
|
||||
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;
|
||||
24
source/__helpers/15xxx/15614__getRequireWildcardCache.js
Normal file
24
source/__helpers/15xxx/15614__getRequireWildcardCache.js
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
// Module ID: 15614
|
||||
// Function ID: 15615
|
||||
// Name: _getRequireWildcardCache
|
||||
// Dependencies: [45]
|
||||
|
||||
// Module 15614 (_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
source/__helpers/15xxx/15617__defineProperty.js
Normal file
20
source/__helpers/15xxx/15617__defineProperty.js
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
// Module ID: 15617
|
||||
// Function ID: 15618
|
||||
// Name: _defineProperty
|
||||
// Dependencies: [43]
|
||||
|
||||
// Module 15617 (_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,23 +0,0 @@
|
|||
// Module ID: 15627
|
||||
// Function ID: 15628
|
||||
// Name: _regeneratorRuntime
|
||||
// Dependencies: [15628]
|
||||
|
||||
// Module 15627 (_regeneratorRuntime)
|
||||
import _mod15628 from "module_15628" /* 15628 */;
|
||||
|
||||
const tmp3 = _mod15628();
|
||||
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: 15631
|
||||
// Function ID: 15632
|
||||
// Name: _getRequireWildcardCache
|
||||
// Dependencies: [45]
|
||||
|
||||
// Module 15631 (_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: 15634
|
||||
// Function ID: 15635
|
||||
// Name: _defineProperty
|
||||
// Dependencies: [43]
|
||||
|
||||
// Module 15634 (_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;
|
||||
};
|
||||
19
source/__helpers/17xxx/17352__default2.js
Normal file
19
source/__helpers/17xxx/17352__default2.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
// Module ID: 17352
|
||||
// Function ID: 17353
|
||||
// Name: _default2
|
||||
// Dependencies: [17353, 1318]
|
||||
|
||||
// Module 17352 (_default2)
|
||||
import _mod17353 from "module_17353" /* 17353 */;
|
||||
import module_1318 from "module_1318" /* 1318 */;
|
||||
|
||||
global.IntlPolyfill = _mod17353.default;
|
||||
if (!global.Intl) {
|
||||
global.Intl = _mod17353.default;
|
||||
const result = _mod17353.default.__applyLocaleSensitivePrototypes();
|
||||
const _default = _mod17353.default;
|
||||
}
|
||||
const _default2 = _mod17353.default;
|
||||
_default2.default = _mod17353.default;
|
||||
|
||||
export default _default2;
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
// Module ID: 17362
|
||||
// Function ID: 17363
|
||||
// Name: _default2
|
||||
// Dependencies: [17363, 1318]
|
||||
|
||||
// Module 17362 (_default2)
|
||||
import _mod17363 from "module_17363" /* 17363 */;
|
||||
import module_1318 from "module_1318" /* 1318 */;
|
||||
|
||||
global.IntlPolyfill = _mod17363.default;
|
||||
if (!global.Intl) {
|
||||
global.Intl = _mod17363.default;
|
||||
const result = _mod17363.default.__applyLocaleSensitivePrototypes();
|
||||
const _default = _mod17363.default;
|
||||
}
|
||||
const _default2 = _mod17363.default;
|
||||
_default2.default = _mod17363.default;
|
||||
|
||||
export default _default2;
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -19,7 +19,7 @@ let closure_6 = ["mark", "measure"];
|
|||
const NativePerformanceCxx = nullthrows(_modDef154);
|
||||
({ reportMark: closure_8, reportMeasure: closure_9, getMarkTime: c10, clearMarks: closure_11, clearMeasures: closure_12 } = NativePerformanceCxx);
|
||||
let closure_13 = { startTime: 0, detail: "channel" };
|
||||
let closure_14 = { name: "", startTime: 0, duration: 0, detail: "call" };
|
||||
let closure_14 = { name: "", startTime: 0, duration: 0, detail: "disabled" };
|
||||
function getMarkTimeForMeasure(arg0) {
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -394,17 +394,17 @@ export const Children = {
|
|||
const items = [];
|
||||
c2 = 0;
|
||||
mapIntoArray(element, items, "", "", (arg0) => {
|
||||
const call = f69300.call;
|
||||
const call = f69327.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f69300(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f69327(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
});
|
||||
return items;
|
||||
}
|
||||
},
|
||||
forEach(element, arg1, arg2) {
|
||||
const f69298 = function() {
|
||||
const f69325 = function() {
|
||||
const self = this;
|
||||
const apply = f69298.apply;
|
||||
const apply = f69325.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 = f69300.call;
|
||||
const call = f69327.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f69300(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f69327(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 = f69300.call;
|
||||
const call = f69327.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f69300(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f69327(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
});
|
||||
}
|
||||
return closure_0;
|
||||
},
|
||||
toArray(element) {
|
||||
const f69300 = (arg0) => arg0;
|
||||
const f69327 = (arg0) => arg0;
|
||||
let items1 = element;
|
||||
if (null != element) {
|
||||
const items = [];
|
||||
closure_2 = 0;
|
||||
mapIntoArray(element, items, "", "", (arg0) => {
|
||||
const call = f69300.call;
|
||||
const call = f69327.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f69300(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f69327(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
});
|
||||
items1 = items;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@ const items = [
|
|||
}
|
||||
};
|
||||
if (obj3.shouldPressibilityUseW3CPointerEventsForHover()) {
|
||||
const obj4 = { onPointerEnter: "call", onPointerLeave: "accessibilityLabel" };
|
||||
const obj4 = { onPointerEnter: "guild", onPointerLeave: "call" };
|
||||
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);
|
||||
f107870 = tmp3Result;
|
||||
f107864 = 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 = () => f107870;
|
||||
tmp3Result.getScrollableNode = () => renderElement.findNodeHandle(f107870.getNativeScrollRef());
|
||||
tmp3Result.getInnerViewNode = () => renderElement.findNodeHandle(f107870._innerView.nativeInstance);
|
||||
tmp3Result.getInnerViewRef = () => f107870._innerView.nativeInstance;
|
||||
tmp3Result.getNativeScrollRef = () => f107870._scrollView.nativeInstance;
|
||||
tmp3Result.getScrollResponder = () => f107864;
|
||||
tmp3Result.getScrollableNode = () => renderElement.findNodeHandle(f107864.getNativeScrollRef());
|
||||
tmp3Result.getInnerViewNode = () => renderElement.findNodeHandle(f107864._innerView.nativeInstance);
|
||||
tmp3Result.getInnerViewRef = () => f107864._innerView.nativeInstance;
|
||||
tmp3Result.getNativeScrollRef = () => f107864._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 = f107870.getNativeScrollRef();
|
||||
const nativeScrollRef = f107864.getNativeScrollRef();
|
||||
if (null != nativeScrollRef) {
|
||||
const obj = _modDef350;
|
||||
if (!x) {
|
||||
|
|
@ -121,14 +121,14 @@ class ScrollView {
|
|||
if (animated) {
|
||||
animated = animated.animated;
|
||||
}
|
||||
const nativeScrollRef = f107870.getNativeScrollRef();
|
||||
const nativeScrollRef = f107864.getNativeScrollRef();
|
||||
if (null != nativeScrollRef) {
|
||||
_modDef350.scrollToEnd(nativeScrollRef, false !== animated);
|
||||
const tmp2 = false !== animated;
|
||||
}
|
||||
};
|
||||
tmp3Result.flashScrollIndicators = () => {
|
||||
const nativeScrollRef = f107870.getNativeScrollRef();
|
||||
const nativeScrollRef = f107864.getNativeScrollRef();
|
||||
if (null != nativeScrollRef) {
|
||||
const result = _modDef350.flashScrollIndicators(nativeScrollRef);
|
||||
}
|
||||
|
|
@ -138,9 +138,9 @@ class ScrollView {
|
|||
if (!arg1) {
|
||||
num = 0;
|
||||
}
|
||||
f107870._additionalScrollOffset = num;
|
||||
f107870._preventNegativeScrollOffset = _preventNegativeScrollOffset;
|
||||
if (null != f107870._innerView.nativeInstance) {
|
||||
f107864._additionalScrollOffset = num;
|
||||
f107864._preventNegativeScrollOffset = _preventNegativeScrollOffset;
|
||||
if (null != f107864._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) {
|
||||
f107870._animated = animated.animated;
|
||||
f107864._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 = f107870.getNativeScrollRef();
|
||||
const nativeScrollRef = f107864.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 != f107870._keyboardMetrics) {
|
||||
if (null != f107864._keyboardMetrics) {
|
||||
screenY = obj._keyboardMetrics.screenY;
|
||||
}
|
||||
const sum = closure_0 - screenY + closure_1 + obj._additionalScrollOffset;
|
||||
let bound = sum;
|
||||
if (true === f107870._preventNegativeScrollOffset) {
|
||||
if (true === f107864._preventNegativeScrollOffset) {
|
||||
const _Math = Math;
|
||||
bound = Math.max(0, sum);
|
||||
}
|
||||
const point = { x: 0, y: bound, animated: true };
|
||||
f107870.scrollTo(point);
|
||||
f107870._additionalScrollOffset = 0;
|
||||
f107870._preventNegativeScrollOffset = false;
|
||||
f107864.scrollTo(point);
|
||||
f107864._additionalScrollOffset = 0;
|
||||
f107864._preventNegativeScrollOffset = false;
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -210,29 +210,29 @@ class ScrollView {
|
|||
}
|
||||
};
|
||||
tmp3Result._handleScroll = (arg0) => {
|
||||
f107870._observedScrollSinceBecomingResponder = true;
|
||||
if (f107870.props.onScroll) {
|
||||
f107864._observedScrollSinceBecomingResponder = true;
|
||||
if (f107864.props.onScroll) {
|
||||
const props = tmp.props;
|
||||
props.onScroll(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleLayout = (nativeEvent) => {
|
||||
if (true === f107870.props.invertStickyHeaders) {
|
||||
if (true === f107864.props.invertStickyHeaders) {
|
||||
const obj2 = { layoutHeight: nativeEvent.nativeEvent.layout.height };
|
||||
obj.setState(obj2);
|
||||
}
|
||||
if (f107870.props.onLayout) {
|
||||
if (f107864.props.onLayout) {
|
||||
const props = obj.props;
|
||||
props.onLayout(nativeEvent);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleContentOnLayout = (arg0) => {
|
||||
if (f107870.props.onContentSizeChange) {
|
||||
const props = f107870.props;
|
||||
if (f107864.props.onContentSizeChange) {
|
||||
const props = f107864.props;
|
||||
props.onContentSizeChange(tmp, tmp2);
|
||||
}
|
||||
};
|
||||
f107870 = (arg0) => arg0;
|
||||
f107864 = (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 = f107870(nativeInstance);
|
||||
tmp = f107864(nativeInstance);
|
||||
}
|
||||
obj3.nativeInstance = nativeInstance;
|
||||
obj3.publicInstance = tmp;
|
||||
|
|
@ -258,7 +258,7 @@ class ScrollView {
|
|||
};
|
||||
closure_1 = obj1;
|
||||
tmp3Result._innerView = obj1;
|
||||
f107870 = (arg0) => Object.assign(arg0, { getScrollResponder: f107870.getScrollResponder, getScrollableNode: f107870.getScrollableNode, getInnerViewNode: f107870.getInnerViewNode, getInnerViewRef: f107870.getInnerViewRef, getNativeScrollRef: f107870.getNativeScrollRef, scrollTo: f107870.scrollTo, scrollToEnd: f107870.scrollToEnd, flashScrollIndicators: f107870.flashScrollIndicators, scrollResponderZoomTo: f107870.scrollResponderZoomTo, scrollResponderScrollNativeHandleToKeyboard: f107870.scrollResponderScrollNativeHandleToKeyboard });
|
||||
f107864 = (arg0) => Object.assign(arg0, { getScrollResponder: f107864.getScrollResponder, getScrollableNode: f107864.getScrollableNode, getInnerViewNode: f107864.getInnerViewNode, getInnerViewRef: f107864.getInnerViewRef, getNativeScrollRef: f107864.getNativeScrollRef, scrollTo: f107864.scrollTo, scrollToEnd: f107864.scrollToEnd, flashScrollIndicators: f107864.flashScrollIndicators, scrollResponderZoomTo: f107864.scrollResponderZoomTo, scrollResponderScrollNativeHandleToKeyboard: f107864.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 = f107870(nativeInstance);
|
||||
tmp = f107864(nativeInstance);
|
||||
}
|
||||
obj3.nativeInstance = nativeInstance;
|
||||
obj3.publicInstance = tmp;
|
||||
|
|
@ -285,63 +285,63 @@ class ScrollView {
|
|||
closure_1 = obj4;
|
||||
tmp3Result._scrollView = obj4;
|
||||
tmp3Result.scrollResponderKeyboardWillShow = (endCoordinates) => {
|
||||
f107870._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f107870.props.onKeyboardWillShow) {
|
||||
const props = f107870.props;
|
||||
f107864._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f107864.props.onKeyboardWillShow) {
|
||||
const props = f107864.props;
|
||||
props.onKeyboardWillShow(endCoordinates);
|
||||
}
|
||||
};
|
||||
tmp3Result.scrollResponderKeyboardWillHide = (arg0) => {
|
||||
f107870._keyboardMetrics = null;
|
||||
if (f107870.props.onKeyboardWillHide) {
|
||||
f107864._keyboardMetrics = null;
|
||||
if (f107864.props.onKeyboardWillHide) {
|
||||
const props = tmp.props;
|
||||
props.onKeyboardWillHide(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result.scrollResponderKeyboardDidShow = (endCoordinates) => {
|
||||
f107870._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f107870.props.onKeyboardDidShow) {
|
||||
const props = f107870.props;
|
||||
f107864._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f107864.props.onKeyboardDidShow) {
|
||||
const props = f107864.props;
|
||||
props.onKeyboardDidShow(endCoordinates);
|
||||
}
|
||||
};
|
||||
tmp3Result.scrollResponderKeyboardDidHide = (arg0) => {
|
||||
f107870._keyboardMetrics = null;
|
||||
if (f107870.props.onKeyboardDidHide) {
|
||||
f107864._keyboardMetrics = null;
|
||||
if (f107864.props.onKeyboardDidHide) {
|
||||
const props = tmp.props;
|
||||
props.onKeyboardDidHide(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleMomentumScrollBegin = (arg0) => {
|
||||
const _performance = ScrollView.performance;
|
||||
f107870._lastMomentumScrollBeginTime = _performance.now();
|
||||
if (f107870.props.onMomentumScrollBegin) {
|
||||
const props = f107870.props;
|
||||
f107864._lastMomentumScrollBeginTime = _performance.now();
|
||||
if (f107864.props.onMomentumScrollBegin) {
|
||||
const props = f107864.props;
|
||||
const result = props.onMomentumScrollBegin(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleMomentumScrollEnd = (arg0) => {
|
||||
_modDef351.endScroll();
|
||||
const _performance = ScrollView.performance;
|
||||
f107870._lastMomentumScrollEndTime = _performance.now();
|
||||
if (f107870.props.onMomentumScrollEnd) {
|
||||
const props = f107870.props;
|
||||
f107864._lastMomentumScrollEndTime = _performance.now();
|
||||
if (f107864.props.onMomentumScrollEnd) {
|
||||
const props = f107864.props;
|
||||
props.onMomentumScrollEnd(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleScrollBeginDrag = (arg0) => {
|
||||
_modDef351.beginScroll();
|
||||
if ("on-drag" === f107870.props.keyboardDismissMode) {
|
||||
if ("on-drag" === f107864.props.keyboardDismissMode) {
|
||||
dismissKeyboardDefault();
|
||||
}
|
||||
if (f107870.props.onScrollBeginDrag) {
|
||||
if (f107864.props.onScrollBeginDrag) {
|
||||
const props = tmp4.props;
|
||||
props.onScrollBeginDrag(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleScrollEndDrag = (nativeEvent) => {
|
||||
const velocity = nativeEvent.nativeEvent.velocity;
|
||||
let _isAnimatingResult = f107870._isAnimating();
|
||||
let _isAnimatingResult = f107864._isAnimating();
|
||||
if (!_isAnimatingResult) {
|
||||
let tmp3 = velocity;
|
||||
if (velocity) {
|
||||
|
|
@ -353,29 +353,29 @@ class ScrollView {
|
|||
if (!_isAnimatingResult) {
|
||||
_modDef351.endScroll();
|
||||
}
|
||||
if (f107870.props.onScrollEndDrag) {
|
||||
if (f107864.props.onScrollEndDrag) {
|
||||
const props = tmp.props;
|
||||
props.onScrollEndDrag(nativeEvent);
|
||||
}
|
||||
};
|
||||
tmp3Result._isAnimating = () => {
|
||||
const _performance = ScrollView.performance;
|
||||
return _performance.now() - f107870._lastMomentumScrollEndTime < 16 || f107870._lastMomentumScrollEndTime < f107870._lastMomentumScrollBeginTime;
|
||||
return _performance.now() - f107864._lastMomentumScrollEndTime < 16 || f107864._lastMomentumScrollEndTime < f107864._lastMomentumScrollBeginTime;
|
||||
};
|
||||
tmp3Result._handleResponderGrant = (arg0) => {
|
||||
f107870._observedScrollSinceBecomingResponder = false;
|
||||
if (f107870.props.onResponderGrant) {
|
||||
f107864._observedScrollSinceBecomingResponder = false;
|
||||
if (f107864.props.onResponderGrant) {
|
||||
const props = obj.props;
|
||||
props.onResponderGrant(arg0);
|
||||
}
|
||||
f107870._becameResponderWhileAnimating = f107870._isAnimating();
|
||||
f107864._becameResponderWhileAnimating = f107864._isAnimating();
|
||||
};
|
||||
tmp3Result._handleResponderReject = () => {
|
||||
|
||||
};
|
||||
tmp3Result._handleResponderRelease = (nativeEvent) => {
|
||||
f107870._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
if (f107870.props.onResponderRelease) {
|
||||
f107864._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
if (f107864.props.onResponderRelease) {
|
||||
const props = obj.props;
|
||||
props.onResponderRelease(nativeEvent);
|
||||
}
|
||||
|
|
@ -407,10 +407,10 @@ class ScrollView {
|
|||
tmp3 = importDefault;
|
||||
}
|
||||
};
|
||||
tmp3Result._handleResponderTerminationRequest = () => !f107870._observedScrollSinceBecomingResponder;
|
||||
tmp3Result._handleScrollShouldSetResponder = () => true !== f107870.props.disableScrollViewPanResponder && f107870._isTouching;
|
||||
tmp3Result._handleResponderTerminationRequest = () => !f107864._observedScrollSinceBecomingResponder;
|
||||
tmp3Result._handleScrollShouldSetResponder = () => true !== f107864.props.disableScrollViewPanResponder && f107864._isTouching;
|
||||
tmp3Result._handleStartShouldSetResponder = (target) => {
|
||||
if (true === f107870.props.disableScrollViewPanResponder) {
|
||||
if (true === f107864.props.disableScrollViewPanResponder) {
|
||||
return false;
|
||||
} else {
|
||||
let tmp4 = "handled" !== obj.props.keyboardShouldPersistTaps;
|
||||
|
|
@ -425,7 +425,7 @@ class ScrollView {
|
|||
}
|
||||
};
|
||||
tmp3Result._handleStartShouldSetResponderCapture = (target) => {
|
||||
if (f107870._isAnimating()) {
|
||||
if (f107864._isAnimating()) {
|
||||
return true;
|
||||
} else if (true === obj.props.disableScrollViewPanResponder) {
|
||||
return false;
|
||||
|
|
@ -471,16 +471,16 @@ class ScrollView {
|
|||
return isTextInputResult;
|
||||
};
|
||||
tmp3Result._softKeyboardIsDetached = () => {
|
||||
let tmp = null != f107870._keyboardMetrics;
|
||||
let tmp = null != f107864._keyboardMetrics;
|
||||
if (tmp) {
|
||||
tmp = 0 === f107870._keyboardMetrics.height;
|
||||
tmp = 0 === f107864._keyboardMetrics.height;
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
tmp3Result._keyboardEventsAreUnreliable = () => get_VersionDefault.Version < 30;
|
||||
tmp3Result._handleTouchEnd = (nativeEvent) => {
|
||||
f107870._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
const keyboardShouldPersistTaps = f107870.props.keyboardShouldPersistTaps;
|
||||
f107864._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
const keyboardShouldPersistTaps = f107864.props.keyboardShouldPersistTaps;
|
||||
let tmp = !keyboardShouldPersistTaps;
|
||||
if (keyboardShouldPersistTaps) {
|
||||
tmp = "never" === keyboardShouldPersistTaps;
|
||||
|
|
@ -490,27 +490,27 @@ class ScrollView {
|
|||
_modDef144.blurTextInput(result);
|
||||
const tmp2Result = _modDef144;
|
||||
}
|
||||
if (f107870.props.onTouchEnd) {
|
||||
if (f107864.props.onTouchEnd) {
|
||||
const props = obj.props;
|
||||
props.onTouchEnd(nativeEvent);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleTouchCancel = (arg0) => {
|
||||
f107870._isTouching = false;
|
||||
if (f107870.props.onTouchCancel) {
|
||||
f107864._isTouching = false;
|
||||
if (f107864.props.onTouchCancel) {
|
||||
const props = tmp.props;
|
||||
props.onTouchCancel(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleTouchStart = (arg0) => {
|
||||
f107870._isTouching = true;
|
||||
if (f107870.props.onTouchStart) {
|
||||
f107864._isTouching = true;
|
||||
if (f107864.props.onTouchStart) {
|
||||
const props = tmp.props;
|
||||
props.onTouchStart(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleTouchMove = (arg0) => {
|
||||
if (f107870.props.onTouchMove) {
|
||||
if (f107864.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 f107921 = (__getValue) => __getValue.__getValue();
|
||||
const f107915 = (__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] = f107924(arr);
|
||||
obj[key10006] = f107918(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f107924(dependencyMap[6])) {
|
||||
if (item instanceof f107918(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 = f107924(tmp9);
|
||||
tmp3 = f107918(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
@ -127,24 +127,24 @@ let items = [
|
|||
{
|
||||
key: "__getValueWithStaticTransforms",
|
||||
value: function __getValueWithStaticTransforms(arr) {
|
||||
let f107922 = [];
|
||||
let f107916 = [];
|
||||
const _transforms = this._transforms;
|
||||
f107922 = (__getValue) => {
|
||||
f107922.push(__getValue.__getValue());
|
||||
f107916 = (__getValue) => {
|
||||
f107916.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] = f107924(arr);
|
||||
obj[key10006] = f107918(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f107924(dependencyMap[6])) {
|
||||
if (item instanceof f107918(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 = f107924(tmp9);
|
||||
tmp3 = f107918(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
@ -176,20 +176,20 @@ let items = [
|
|||
}
|
||||
return obj;
|
||||
});
|
||||
closure_129_0 = () => f107922.shift();
|
||||
closure_129_0 = () => f107916.shift();
|
||||
return arr.map((item) => {
|
||||
const obj = {};
|
||||
for (const key10006 in arg0) {
|
||||
let arr = arg0[key10006];
|
||||
if (arr instanceof AnimatedTransform(367)) {
|
||||
obj[key10006] = f107924(arr);
|
||||
obj[key10006] = f107918(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f107924(dependencyMap[6])) {
|
||||
if (item instanceof f107918(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 = f107924(tmp9);
|
||||
tmp3 = f107918(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
@ -227,20 +227,20 @@ let items = [
|
|||
key: "__getAnimatedValue",
|
||||
value: function __getAnimatedValue() {
|
||||
const _transforms = this._transforms;
|
||||
const f107924 = (__getAnimatedValue) => __getAnimatedValue.__getAnimatedValue();
|
||||
const f107918 = (__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] = f107924(arr);
|
||||
obj[key10006] = f107918(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f107924(dependencyMap[6])) {
|
||||
if (item instanceof f107918(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 = f107924(tmp9);
|
||||
tmp3 = f107918(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: "<string:248971265>", type: "<string:3931242499>", listener: "<string:1188031698>" };
|
||||
obj = { fired: false, wrapFn: "a", target: "<string:1085669379>", type: "<string:2646474753>", listener: "<string:2359164930>" };
|
||||
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: "<string:248971265>", type: "<string:3931242499>", listener: "<string:1188031698>" };
|
||||
obj = { fired: false, wrapFn: "a", target: "<string:1085669379>", type: "<string:2646474753>", listener: "<string:2359164930>" };
|
||||
obj.target = this;
|
||||
obj.type = global;
|
||||
obj.listener = require;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ let fn = function n() {
|
|||
let length;
|
||||
let length2;
|
||||
let obj = {};
|
||||
let f108052 = obj;
|
||||
let f108046 = 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 = f108052[typeof call === "unknown" ? toString(first) : call(toString, first)] || "object";
|
||||
tmp4 = f108046[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 = f108052;
|
||||
tmp5 = f108046;
|
||||
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 = f108052;
|
||||
tmp = f108046;
|
||||
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 = f108052;
|
||||
tmp2 = f108046;
|
||||
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 = f108052;
|
||||
tmp2 = f108046;
|
||||
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 = f108052;
|
||||
tmp13 = f108046;
|
||||
tmp14 = globalThis;
|
||||
_Object = Object;
|
||||
toString = Object.prototype.toString;
|
||||
|
|
@ -986,7 +986,7 @@ let fn = function n() {
|
|||
formatted = items[diff1].toLowerCase();
|
||||
}
|
||||
str = formatted;
|
||||
tmp9 = f108052[typeof call === "unknown" ? toString(tmp6) : call(toString, tmp6)] || "object";
|
||||
tmp9 = f108046[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 = f108052[typeof call === "unknown" ? toString(tmp6) : call(toString, tmp6)] || "object";
|
||||
tmp9 = f108046[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 = f108052[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp8 = f108046[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 = f108052[typeof call === "unknown" ? toString(tmp10) : call(toString, tmp10)] || "object";
|
||||
tmp13 = f108046[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 = f108052[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp8 = f108046[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 = f108052[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp8 = f108046[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 = f108052[typeof call === "unknown" ? toString(first) : call(toString, first)] || "object";
|
||||
tmp8 = f108046[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 = f108052[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp17 = f108046[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" === (f108052[typeof call === "unknown" ? toString(items) : call(toString, items)] || "object");
|
||||
const tmp4 = f108052[typeof call === "unknown" ? toString(items) : call(toString, items)] || "object";
|
||||
brewer = "string" === (f108046[typeof call === "unknown" ? toString(items) : call(toString, items)] || "object");
|
||||
const tmp4 = f108046[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 = f108052[typeof call2 === "unknown" ? toString2(arr2) : call2(toString2, arr2)] || "object";
|
||||
tmp10 = f108046[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 = f108052[typeof call === "unknown" ? toString(tmp27) : call(toString, tmp27)] || "object";
|
||||
tmp29 = f108046[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 = f108052[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp5 = f108046[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;
|
||||
f108052 = (arg0, arg1) => {
|
||||
const items = [f108052(arg0[0], arg1[0]), f108052(arg0[1], arg1[1]), f108052(arg0[2], arg1[2])];
|
||||
f108046 = (arg0, arg1) => {
|
||||
const items = [f108046(arg0[0], arg1[0]), f108046(arg0[1], arg1[1]), f108046(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(f108052(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108046(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_130_0 = (arg0, arg1) => arg0 * arg1 / 255;
|
||||
f108052 = (arg0, arg1) => {
|
||||
const items = [f108052(arg0[0], arg1[0]), f108052(arg0[1], arg1[1]), f108052(arg0[2], arg1[2])];
|
||||
f108046 = (arg0, arg1) => {
|
||||
const items = [f108046(arg0[0], arg1[0]), f108046(arg0[1], arg1[1]), f108046(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(f108052(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108046(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_131_0 = (arg0, arg1) => 255 * (1 - (1 - arg0 / 255) * (1 - arg1 / 255));
|
||||
f108052 = (arg0, arg1) => {
|
||||
const items = [f108052(arg0[0], arg1[0]), f108052(arg0[1], arg1[1]), f108052(arg0[2], arg1[2])];
|
||||
f108046 = (arg0, arg1) => {
|
||||
const items = [f108046(arg0[0], arg1[0]), f108046(arg0[1], arg1[1]), f108046(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(f108052(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108046(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_132_0 = (arg0, arg1) => {
|
||||
if (arg1 < 128) {
|
||||
|
|
@ -3796,14 +3796,14 @@ let fn = function n() {
|
|||
}
|
||||
return result;
|
||||
};
|
||||
f108052 = (arg0, arg1) => {
|
||||
const items = [f108052(arg0[0], arg1[0]), f108052(arg0[1], arg1[1]), f108052(arg0[2], arg1[2])];
|
||||
f108046 = (arg0, arg1) => {
|
||||
const items = [f108046(arg0[0], arg1[0]), f108046(arg0[1], arg1[1]), f108046(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(f108052(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108046(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_133_0 = (arg0, arg1) => {
|
||||
let tmp = arg0;
|
||||
|
|
@ -3812,14 +3812,14 @@ let fn = function n() {
|
|||
}
|
||||
return tmp;
|
||||
};
|
||||
f108052 = (arg0, arg1) => {
|
||||
const items = [f108052(arg0[0], arg1[0]), f108052(arg0[1], arg1[1]), f108052(arg0[2], arg1[2])];
|
||||
f108046 = (arg0, arg1) => {
|
||||
const items = [f108046(arg0[0], arg1[0]), f108046(arg0[1], arg1[1]), f108046(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(f108052(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108046(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_134_0 = (arg0, arg1) => {
|
||||
let tmp = arg1;
|
||||
|
|
@ -3828,14 +3828,14 @@ let fn = function n() {
|
|||
}
|
||||
return tmp;
|
||||
};
|
||||
f108052 = (arg0, arg1) => {
|
||||
const items = [f108052(arg0[0], arg1[0]), f108052(arg0[1], arg1[1]), f108052(arg0[2], arg1[2])];
|
||||
f108046 = (arg0, arg1) => {
|
||||
const items = [f108046(arg0[0], arg1[0]), f108046(arg0[1], arg1[1]), f108046(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(f108052(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108046(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_135_0 = (arg0, arg1) => {
|
||||
let num = 255;
|
||||
|
|
@ -3848,24 +3848,24 @@ let fn = function n() {
|
|||
}
|
||||
return num;
|
||||
};
|
||||
f108052 = (arg0, arg1) => {
|
||||
const items = [f108052(arg0[0], arg1[0]), f108052(arg0[1], arg1[1]), f108052(arg0[2], arg1[2])];
|
||||
f108046 = (arg0, arg1) => {
|
||||
const items = [f108046(arg0[0], arg1[0]), f108046(arg0[1], arg1[1]), f108046(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(f108052(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108046(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_136_0 = (arg0, arg1) => 255 * (1 - (1 - arg1 / 255) / (arg0 / 255));
|
||||
f108052 = (arg0, arg1) => {
|
||||
const items = [f108052(arg0[0], arg1[0]), f108052(arg0[1], arg1[1]), f108052(arg0[2], arg1[2])];
|
||||
f108046 = (arg0, arg1) => {
|
||||
const items = [f108046(arg0[0], arg1[0]), f108046(arg0[1], arg1[1]), f108046(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(f108052(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f108046(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" === (f108052[typeof call === "unknown" ? toString(item) : call(toString, item)] || "object");
|
||||
const tmp6 = f108052[typeof call === "unknown" ? toString(item) : call(toString, item)] || "object";
|
||||
tmp2 = "object" === (f108046[typeof call === "unknown" ? toString(item) : call(toString, item)] || "object");
|
||||
const tmp6 = f108046[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 = f108052[typeof call === "unknown" ? toString(analyzeResult) : call(toString, analyzeResult)] || "object";
|
||||
tmp4 = f108046[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());
|
||||
[f108052, type$p] = mapped1;
|
||||
[f108046, 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());
|
||||
[f108052, type$p, type$p] = mapped2;
|
||||
[f108046, 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());
|
||||
[f108052, type$p, type$p, last] = mapped3;
|
||||
[f108046, 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 = f108052[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp3 = f108046[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 = f108052[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp3 = f108046[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: "Array" };
|
||||
let obj = { value, unit: "a" };
|
||||
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: "data", cacheReadInputTokens: "now", toolCalls: [], activeToolBlocks: {} };
|
||||
const obj5 = { responseTexts: [], finishReasons: [], responseId: "", responseModel: "", promptTokens: "r", completionTokens: "w", cacheCreationInputTokens: "bottom", cacheReadInputTokens: "hasDiversityParent", toolCalls: [], activeToolBlocks: {} };
|
||||
closure_136_2 = obj5;
|
||||
closure_136_4 = false;
|
||||
closure_136_5 = false;
|
||||
|
|
@ -1052,7 +1052,7 @@ 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: "data", cacheReadInputTokens: "now", toolCalls: [], activeToolBlocks: {} };
|
||||
const obj = { responseTexts: [], finishReasons: [], responseId: "", responseModel: "", promptTokens: "r", completionTokens: "w", cacheCreationInputTokens: "bottom", cacheReadInputTokens: "hasDiversityParent", toolCalls: [], activeToolBlocks: {} };
|
||||
applyResult.on("streamEvent", (arg0) => {
|
||||
processEvent(arg0, obj, closure_1, closure_0);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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(/* F120727 */ function() { ... });
|
||||
closure_0 = closure_2(/* F120691 */ 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(/* F120727 */ function() { ... });
|
||||
closure_0 = closure_2(/* F120691 */ 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 (/* F124906 */ function*() { ... })();
|
||||
return (/* F124869 */ 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(() => { ... }, () => { ... }, /* F120731 */ function() { ... }, () => { ... });
|
||||
return str(dependencyMap[11]).handleCallbackErrors(() => { ... }, () => { ... }, /* F120695 */ function() { ... }, () => { ... });
|
||||
});
|
||||
const tmp4Result8 = tmp4(tmp5[3]);
|
||||
}
|
||||
|
|
@ -1516,7 +1516,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
c5 = 0;
|
||||
c6 = 0;
|
||||
c4 = 0;
|
||||
return (/* F124906 */ function*() { ... })();
|
||||
return (/* F124869 */ 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(() => { ... }, () => { ... }, /* F120731 */ function() { ... }, () => { ... });
|
||||
return str(dependencyMap[11]).handleCallbackErrors(() => { ... }, () => { ... }, /* F120695 */ 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(/* F120727 */ function() { ... });
|
||||
closure_0 = closure_2(/* F120691 */ 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(/* F120727 */ function() { ... });
|
||||
closure_0 = closure_2(/* F120691 */ function() { ... });
|
||||
let startSpanManualResult = tmp4Result6.startSpanManual(obj5, () => { ... });
|
||||
const tmp4Result7 = tmp4(tmp5[3]);
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -39,8 +39,8 @@ export const createLangChainCallbackHandler = function createLangChainCallbackHa
|
|||
lc_namespace: ["langchain_core", "callbacks", "sentry"],
|
||||
lc_secrets: "r",
|
||||
lc_attributes: "accessible",
|
||||
lc_aliases: "ks",
|
||||
lc_serializable_keys: "guild",
|
||||
lc_aliases: "delete",
|
||||
lc_serializable_keys: "guild_id",
|
||||
lc_id: ["langchain_core", "callbacks", "sentry"],
|
||||
lc_kwargs: {},
|
||||
name: false,
|
||||
|
|
|
|||
|
|
@ -3206,7 +3206,7 @@ function initObservers(doc) {
|
|||
({ mousemoveCb: drag, sampling, doc, mirror: fn3 } = doc);
|
||||
closure_2 = undefined;
|
||||
closure_3 = undefined;
|
||||
let f71717;
|
||||
let f71743;
|
||||
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;
|
||||
f71717 = function() {
|
||||
f71743 = 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 /* F108436 */ function() { ... };
|
||||
return /* F108430 */ function() { ... };
|
||||
}
|
||||
}
|
||||
throw tmp7;
|
||||
|
|
@ -4634,7 +4634,7 @@ function initObservers(doc) {
|
|||
} catch (tmp7) {
|
||||
if (closure_2_79) {
|
||||
if (true === tmp8(tmp7)) {
|
||||
return /* F108436 */ function() { ... };
|
||||
return /* F108430 */ function() { ... };
|
||||
}
|
||||
}
|
||||
throw tmp7;
|
||||
|
|
@ -5485,7 +5485,7 @@ function addBreadcrumbEvent(triggerUserActivity, category) {
|
|||
}
|
||||
obj.timestamp = 1000 * num;
|
||||
const obj2 = { tag: "breadcrumb", payload: null };
|
||||
const normalizer = f108478(map[8]);
|
||||
const normalizer = f108472(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: "Array" };
|
||||
const obj2 = { headers, size: "Array", _meta: -1 };
|
||||
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: "Array" };
|
||||
obj14 = { headers: obj11, size: "Array", _meta: -1 };
|
||||
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: "Array" };
|
||||
obj10 = { headers: obj9, size: "Array", _meta: -1 };
|
||||
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: "Array" };
|
||||
obj13 = { headers: obj12, size: "Array", _meta: -1 };
|
||||
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 f72286 = (arg0) => {
|
||||
const data = c4(f72286[2]).spanToJSON(arg0).data;
|
||||
const f72312 = (arg0) => {
|
||||
const data = c4(f72312[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 f72287 = () => {
|
||||
const debug = c4(f72286[2]).debug;
|
||||
const f72313 = () => {
|
||||
const debug = c4(f72312[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) {
|
||||
|
|
|
|||
|
|
@ -235,7 +235,7 @@ class FeedbackWidget {
|
|||
closure_129_12 = undefined;
|
||||
closure_129_0 = undefined;
|
||||
if (self._hasScreenshot()) {
|
||||
debug.setState({ filename: "Array", attachment: "call", attachmentUri: "ix" });
|
||||
debug.setState({ filename: "isArray", attachment: "accessible", attachmentUri: "min" });
|
||||
} else {
|
||||
num2 = debug.props.imagePicker;
|
||||
closure_129_6 = num2;
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1122" /* 1122 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/intl/messages", scales: [1], hash: "3e743587b475e95d06ce38171f443185", name: "en-US.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/intl/messages", scales: [1], hash: "95f24ff1919800595373da830a60ca1b", name: "en-US.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
|
|
@ -87,7 +87,7 @@ export default function getSideChannelList() {
|
|||
set(key, value) {
|
||||
let iter = obj;
|
||||
if (!obj) {
|
||||
obj = { next: "Array" };
|
||||
obj = { next: "r" };
|
||||
iter = obj;
|
||||
}
|
||||
let iter2 = iter.next;
|
||||
|
|
|
|||
|
|
@ -220,7 +220,7 @@ export const getActionFromState = function getActionFromState(index, initialRout
|
|||
}
|
||||
let tmp23 = substr1[substr1.length - 1];
|
||||
let _Object3 = Object;
|
||||
let merged1 = Object.assign(obj5, { initial: "call", screen: "header", params: "rejectWithError", state: "Array" });
|
||||
let merged1 = Object.assign(obj5, { initial: "unicodeVersion", screen: "children", params: "isArray", state: "id" });
|
||||
if (1 === substr1.length) {
|
||||
if (undefined === substr1[0].key) {
|
||||
obj5.initial = true;
|
||||
|
|
|
|||
|
|
@ -249,7 +249,7 @@ export const KeyboardProvider = (enabled) => {
|
|||
}
|
||||
}, items1);
|
||||
const obj13 = { value: tmp9, children: null };
|
||||
const obj14 = { ref: tmp3, enabled, navigationBarTranslucent: null, statusBarTranslucent: null, preserveEdgeToEdge: null, style: null, onKeyboardMoveReanimated: null, onKeyboardMoveStart: "Boolean", onKeyboardMove: "function pnpm_indexTs1(event){const{handler}=this.__closure;if(event.eventName.endsWith(\"onKeyboardMoveStart\")){var _handler$onStart,_handler;(_handler$onStart=(_handler=handler).onStart)===null||_handler$onStart===void 0||_handler$onStart.call(_handler,event);}if(event.eventName.endsWith(\"onKeyboardMove\")){var _handler$onMove,_handler2;(_handler$onMove=(_handler2=handler).onMove)===null||_handler$onMove===void 0||_handler$onMove.call(_handler2,event);}if(event.eventName.endsWith(\"onKeyboardMoveEnd\")){var _handler$onEnd,_handler3;(_handler$onEnd=(_handler3=handler).onEnd)===null||_handler$onEnd===void 0||_handler$onEnd.call(_handler3,event);}if(event.eventName.endsWith(\"onKeyboardMoveInteractive\")){var _handler$onInteractiv,_handler4;(_handler$onInteractiv=(_handler4=handler).onInteractive)===null||_handler$onInteractiv===void 0||_handler$onInteractiv.call(_handler4,event);}}", onKeyboardMoveInteractive: "function pnpm_indexTs2(event){const{handler}=this.__closure;if(event.eventName.endsWith(\"onFocusedInputTextChanged\")){var _handler$onChangeText,_handler;(_handler$onChangeText=(_handler=handler).onChangeText)===null||_handler$onChangeText===void 0||_handler$onChangeText.call(_handler,event);}if(event.eventName.endsWith(\"onFocusedInputSelectionChanged\")){var _handler$onSelectionC,_handler2;(_handler$onSelectionC=(_handler2=handler).onSelectionChange)===null||_handler$onSelectionC===void 0||_handler$onSelectionC.call(_handler2,event);}}", onKeyboardMoveEnd: "keyboardWillShow", onFocusedInputLayoutChangedReanimated: "keyboardDidHide", children: 30004 };
|
||||
const obj14 = { ref: tmp3, enabled, navigationBarTranslucent: null, statusBarTranslucent: null, preserveEdgeToEdge: null, style: null, onKeyboardMoveReanimated: null, onKeyboardMoveStart: "Boolean", onKeyboardMove: "a.m.", onKeyboardMoveInteractive: "p.m.", onKeyboardMoveEnd: "midnat", onFocusedInputLayoutChangedReanimated: "middag", children: "morgen" };
|
||||
let tmp18 = updateSharedValues;
|
||||
let tmp19 = updateSharedValues;
|
||||
if (!updateSharedValues) {
|
||||
|
|
|
|||
|
|
@ -82,8 +82,8 @@ fn = function n(userConfig, callback) {
|
|||
initialVelocity: 0,
|
||||
current: "disabled",
|
||||
lastTimestamp: null,
|
||||
startTimestamp: "$id",
|
||||
reduceMotion: "id"
|
||||
startTimestamp: "film",
|
||||
reduceMotion: "filmklapper"
|
||||
};
|
||||
let num = obj.velocity;
|
||||
if (num == null) {
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ fn = function n(toValue, userConfig, callback) {
|
|||
dependencyMap = userConfig;
|
||||
__initData = callback;
|
||||
const fn = function u() {
|
||||
let obj = { damping: 10, mass: 1, stiffness: 100, overshootClamping: false, restDisplacementThreshold: 0.01, restSpeedThreshold: 2, velocity: 0, duration: 2000, dampingRatio: 0.5, reduceMotion: "call", clamp: "__esModule" };
|
||||
let obj = { damping: 10, mass: 1, stiffness: 100, overshootClamping: false, restDisplacementThreshold: 0.01, restSpeedThreshold: 2, velocity: 0, duration: 2000, dampingRatio: 0.5, reduceMotion: "call", clamp: "Reflect" };
|
||||
const merged = Object.assign(dependencyMap);
|
||||
let duration;
|
||||
if (dependencyMap != null) {
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ let closure_5 = { code: "function pnpm_useAnimatedKeyboardTs2(state,height){cons
|
|||
export const useAnimatedKeyboard = function useAnimatedKeyboard() {
|
||||
let obj = arg0;
|
||||
if (arg0 === undefined) {
|
||||
obj = { isStatusBarTranslucentAndroid: "call", isNavigationBarTranslucentAndroid: "accessibilityLabel" };
|
||||
obj = { isStatusBarTranslucentAndroid: "guild", isNavigationBarTranslucentAndroid: "call" };
|
||||
}
|
||||
let ref2;
|
||||
let obj2;
|
||||
|
|
|
|||
|
|
@ -549,7 +549,7 @@ export const useAnimatedStyle = function useAnimatedStyle(fn, items, arg2, arg3)
|
|||
obj.remoteState = tmp10(tmp11[9]).makeShareable(obj5);
|
||||
const tmp10Result4 = tmp10(tmp11[9]);
|
||||
obj.viewDescriptors = tmp10(tmp11[10]).makeViewDescriptorsSet();
|
||||
obj.styleUpdaterContainer = { current: "Array" };
|
||||
obj.styleUpdaterContainer = { current: "r" };
|
||||
tmp2.current = obj;
|
||||
const tmp10Result5 = tmp10(tmp11[10]);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ if (!module_1639) {
|
|||
const __initData = { code: "function pnpm_useAnimatedRefTs1(){const{tagOrWrapper,viewName}=this.__closure;const f=function(){return tagOrWrapper.value;};if(viewName){f.viewName=viewName;}return f;}" };
|
||||
|
||||
export const useAnimatedRef = module_1639 ? (function useAnimatedRefWeb() {
|
||||
const f74439 = (getScrollableNode) => {
|
||||
const f74465 = (getScrollableNode) => {
|
||||
if (getScrollableNode.getScrollableNode) {
|
||||
let scrollableNode = getScrollableNode.getScrollableNode();
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1122" /* 1122 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/modules/virtual_currency/web/orb_wallet/messages", scales: [1], hash: "46764013ef84370cf8ab919784e6f8aa", name: "OrbWallet.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/modules/virtual_currency/web/orb_wallet/messages", scales: [1], hash: "03bc7f3e5b10d608934421a23e3c7183", name: "OrbWallet.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1122" /* 1122 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/modules/checkout/messages", scales: [1], hash: "44314bc7705323e95ccdf93061abcb62", name: "Checkout.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/modules/checkout/messages", scales: [1], hash: "cc150e4e12b9d4c6634c9b9465880663", name: "Checkout.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1122" /* 1122 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/modules/guild_space", scales: [1], hash: "886da4f77caa768a1d8fdc6f828e1017", name: "GuildSpace.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/modules/guild_space", scales: [1], hash: "a9cb92bc23a2200f0dbb3424b4315989", name: "GuildSpace.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1122" /* 1122 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/modules/premium/gifting", scales: [1], hash: "8d179ad11e2a36f9d3ec9f31c06fe95d", name: "PremiumGifting.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/modules/premium/gifting", scales: [1], hash: "c91aaf2e607c53b6c817fc29b41e11bb", name: "PremiumGifting.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1122" /* 1122 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/modules/notifications", scales: [1], hash: "6da65e6eff3590b54eacf80338418194", name: "NotificationSettings.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/modules/notifications", scales: [1], hash: "0048348a6c7e0009789fbf925b49e62d", name: "NotificationSettings.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1122" /* 1122 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/modules/age_assurance", scales: [1], hash: "e94b0e16b99cdc697daf9ff66cb8eb34", name: "ManualReview.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/modules/age_assurance", scales: [1], hash: "f536760faaef130e8df45937a3508515", name: "ManualReview.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1122" /* 1122 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/modules/slayer_storefront/intl", scales: [1], hash: "cb0c07073c6e43447fa7ac54aa478138", name: "SlayerStorefront.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/modules/slayer_storefront/intl", scales: [1], hash: "13d999a4ca0ff842bcf12fdb922afdec", name: "SlayerStorefront.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1122" /* 1122 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/modules/connected_devices", scales: [1], hash: "fac01a310aa1e8bc3d1aaac6ab09e1c9", name: "DeviceDetected.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/modules/connected_devices", scales: [1], hash: "d3e335e2c62a36a49957029c2e4a670d", name: "DeviceDetected.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,46 +1,9 @@
|
|||
// Module ID: 3689
|
||||
// Function ID: 3690
|
||||
// Dependencies: [3690, 3691, 3692, 3699, 3700]
|
||||
// Dependencies: [1122]
|
||||
|
||||
// Module 3689
|
||||
import module_3690 from "module_3690" /* 3690 */;
|
||||
import module_3691 from "module_3691" /* 3691 */;
|
||||
import module_3692 from "module_3692" /* 3692 */;
|
||||
import date_mod from "module_3699" /* 3699 */;
|
||||
import date_mod from "module_3700" /* 3700 */;
|
||||
import registerAsset from "module_1122" /* 1122 */;
|
||||
|
||||
if (!module_3690) {
|
||||
const obj = { default: module_3690 };
|
||||
let tmp3 = obj;
|
||||
} else {
|
||||
tmp3 = module_3690;
|
||||
}
|
||||
if (!module_3691) {
|
||||
const obj2 = { default: module_3691 };
|
||||
let tmp5 = obj2;
|
||||
} else {
|
||||
tmp5 = module_3691;
|
||||
}
|
||||
if (!module_3692) {
|
||||
const obj3 = { default: module_3692 };
|
||||
let tmp7 = obj3;
|
||||
} else {
|
||||
tmp7 = module_3692;
|
||||
}
|
||||
let date = date_mod;
|
||||
if (!date) {
|
||||
const obj4 = { default: date };
|
||||
let tmp9 = obj4;
|
||||
} else {
|
||||
tmp9 = date;
|
||||
}
|
||||
let date = date_mod;
|
||||
if (!date) {
|
||||
const obj5 = { default: date };
|
||||
let tmp11 = obj5;
|
||||
} else {
|
||||
tmp11 = date;
|
||||
}
|
||||
|
||||
export default { code: "bg", formatDistance: tmp3.default, formatLong: tmp5.default, formatRelative: tmp7.default, localize: tmp9.default, match: tmp11.default, options: { weekStartsOn: 1, firstWeekContainsDate: 1 } };
|
||||
export default exports.default;
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/modules/voice_channel_apps", scales: [1], hash: "3f0bebcb3d9b49b71bd5a1c0cee8f16f", name: "VoiceChannelApps.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -1,29 +0,0 @@
|
|||
// Module ID: 3690
|
||||
// Function ID: 3691
|
||||
// Dependencies: []
|
||||
// Exports: default
|
||||
|
||||
// Module 3690
|
||||
let closure_0 = { lessThanXSeconds: { one: "\u043F\u043E-\u043C\u0430\u043B\u043A\u043E \u043E\u0442 \u0441\u0435\u043A\u0443\u043D\u0434\u0430", other: "\u043F\u043E-\u043C\u0430\u043B\u043A\u043E \u043E\u0442 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438" }, xSeconds: { one: "1 \u0441\u0435\u043A\u0443\u043D\u0434\u0430", other: "{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438" }, halfAMinute: "\u043F\u043E\u043B\u043E\u0432\u0438\u043D \u043C\u0438\u043D\u0443\u0442\u0430", lessThanXMinutes: { one: "\u043F\u043E-\u043C\u0430\u043B\u043A\u043E \u043E\u0442 \u043C\u0438\u043D\u0443\u0442\u0430", other: "\u043F\u043E-\u043C\u0430\u043B\u043A\u043E \u043E\u0442 {{count}} \u043C\u0438\u043D\u0443\u0442\u0438" }, xMinutes: { one: "1 \u043C\u0438\u043D\u0443\u0442\u0430", other: "{{count}} \u043C\u0438\u043D\u0443\u0442\u0438" }, aboutXHours: { one: "\u043E\u043A\u043E\u043B\u043E \u0447\u0430\u0441", other: "\u043E\u043A\u043E\u043B\u043E {{count}} \u0447\u0430\u0441\u0430" }, xHours: { one: "1 \u0447\u0430\u0441", other: "{{count}} \u0447\u0430\u0441\u0430" }, xDays: { one: "1 \u0434\u0435\u043D", other: "{{count}} \u0434\u043D\u0438" }, aboutXWeeks: { one: "\u043E\u043A\u043E\u043B\u043E \u0441\u0435\u0434\u043C\u0438\u0446\u0430", other: "\u043E\u043A\u043E\u043B\u043E {{count}} \u0441\u0435\u0434\u043C\u0438\u0446\u0438" }, xWeeks: { one: "1 \u0441\u0435\u0434\u043C\u0438\u0446\u0430", other: "{{count}} \u0441\u0435\u0434\u043C\u0438\u0446\u0438" }, aboutXMonths: { one: "\u043E\u043A\u043E\u043B\u043E \u043C\u0435\u0441\u0435\u0446", other: "\u043E\u043A\u043E\u043B\u043E {{count}} \u043C\u0435\u0441\u0435\u0446\u0430" }, xMonths: { one: "1 \u043C\u0435\u0441\u0435\u0446", other: "{{count}} \u043C\u0435\u0441\u0435\u0446\u0430" }, aboutXYears: { one: "\u043E\u043A\u043E\u043B\u043E \u0433\u043E\u0434\u0438\u043D\u0430", other: "\u043E\u043A\u043E\u043B\u043E {{count}} \u0433\u043E\u0434\u0438\u043D\u0438" }, xYears: { one: "1 \u0433\u043E\u0434\u0438\u043D\u0430", other: "{{count}} \u0433\u043E\u0434\u0438\u043D\u0438" }, overXYears: { one: "\u043D\u0430\u0434 \u0433\u043E\u0434\u0438\u043D\u0430", other: "\u043D\u0430\u0434 {{count}} \u0433\u043E\u0434\u0438\u043D\u0438" }, almostXYears: { one: "\u043F\u043E\u0447\u0442\u0438 \u0433\u043E\u0434\u0438\u043D\u0430", other: "\u043F\u043E\u0447\u0442\u0438 {{count}} \u0433\u043E\u0434\u0438\u043D\u0438" } };
|
||||
|
||||
export default function formatDistance(arg0, arg1, addSuffix) {
|
||||
if (typeof closure_0[arg0] === "string") {
|
||||
let tmp6 = tmp;
|
||||
if (null != addSuffix) {
|
||||
tmp6 = tmp;
|
||||
if (addSuffix.addSuffix) {
|
||||
if (!addSuffix.comparison) {
|
||||
let text = `преди ${tmp}`;
|
||||
}
|
||||
text = `след ${tmp}`;
|
||||
}
|
||||
}
|
||||
return tmp6;
|
||||
} else if (1 === arg1) {
|
||||
let one = tmp.one;
|
||||
} else {
|
||||
const _String = String;
|
||||
one = tmp.other.replace("{{count}}", String(arg1));
|
||||
}
|
||||
};
|
||||
export default exports.default;
|
||||
|
|
@ -1,16 +1,46 @@
|
|||
// Module ID: 3691
|
||||
// Function ID: 3692
|
||||
// Dependencies: [2030]
|
||||
// Dependencies: [3692, 3693, 3694, 3701, 3702]
|
||||
|
||||
// Module 3691
|
||||
import module_2030 from "module_2030" /* 2030 */;
|
||||
import module_3692 from "module_3692" /* 3692 */;
|
||||
import module_3693 from "module_3693" /* 3693 */;
|
||||
import module_3694 from "module_3694" /* 3694 */;
|
||||
import date_mod from "module_3701" /* 3701 */;
|
||||
import date_mod from "module_3702" /* 3702 */;
|
||||
|
||||
if (!module_2030) {
|
||||
const obj2 = { default: module_2030 };
|
||||
let obj = obj2;
|
||||
if (!module_3692) {
|
||||
const obj = { default: module_3692 };
|
||||
let tmp3 = obj;
|
||||
} else {
|
||||
obj = module_2030;
|
||||
tmp3 = module_3692;
|
||||
}
|
||||
if (!module_3693) {
|
||||
const obj2 = { default: module_3693 };
|
||||
let tmp5 = obj2;
|
||||
} else {
|
||||
tmp5 = module_3693;
|
||||
}
|
||||
if (!module_3694) {
|
||||
const obj3 = { default: module_3694 };
|
||||
let tmp7 = obj3;
|
||||
} else {
|
||||
tmp7 = module_3694;
|
||||
}
|
||||
let date = date_mod;
|
||||
if (!date) {
|
||||
const obj4 = { default: date };
|
||||
let tmp9 = obj4;
|
||||
} else {
|
||||
tmp9 = date;
|
||||
}
|
||||
let date = date_mod;
|
||||
if (!date) {
|
||||
const obj5 = { default: date };
|
||||
let tmp11 = obj5;
|
||||
} else {
|
||||
tmp11 = date;
|
||||
}
|
||||
|
||||
export default { date: obj.default({ formats: { full: "EEEE, dd MMMM yyyy", long: "dd MMMM yyyy", medium: "dd MMM yyyy", short: "dd/MM/yyyy" }, defaultWidth: "full" }), time: obj.default({ formats: { full: "HH:mm:ss zzzz", long: "HH:mm:ss z", medium: "HH:mm:ss", short: "H:mm" }, defaultWidth: "full" }), dateTime: obj.default({ formats: { any: "{{date}} {{time}}" }, defaultWidth: "any" }) };
|
||||
export default { code: "bg", formatDistance: tmp3.default, formatLong: tmp5.default, formatRelative: tmp7.default, localize: tmp9.default, match: tmp11.default, options: { weekStartsOn: 1, firstWeekContainsDate: 1 } };
|
||||
export default exports.default;
|
||||
|
|
|
|||
|
|
@ -1,87 +1,29 @@
|
|||
// Module ID: 3692
|
||||
// Function ID: 3693
|
||||
// Dependencies: [3693, 3695]
|
||||
// Dependencies: []
|
||||
// Exports: default
|
||||
|
||||
// Module 3692
|
||||
import _typeof_mod from "module_3693" /* 3693 */;
|
||||
import module_3695_mod from "module_3695" /* 3695 */;
|
||||
let closure_0 = { lessThanXSeconds: { one: "\u043F\u043E-\u043C\u0430\u043B\u043A\u043E \u043E\u0442 \u0441\u0435\u043A\u0443\u043D\u0434\u0430", other: "\u043F\u043E-\u043C\u0430\u043B\u043A\u043E \u043E\u0442 {{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438" }, xSeconds: { one: "1 \u0441\u0435\u043A\u0443\u043D\u0434\u0430", other: "{{count}} \u0441\u0435\u043A\u0443\u043D\u0434\u0438" }, halfAMinute: "\u043F\u043E\u043B\u043E\u0432\u0438\u043D \u043C\u0438\u043D\u0443\u0442\u0430", lessThanXMinutes: { one: "\u043F\u043E-\u043C\u0430\u043B\u043A\u043E \u043E\u0442 \u043C\u0438\u043D\u0443\u0442\u0430", other: "\u043F\u043E-\u043C\u0430\u043B\u043A\u043E \u043E\u0442 {{count}} \u043C\u0438\u043D\u0443\u0442\u0438" }, xMinutes: { one: "1 \u043C\u0438\u043D\u0443\u0442\u0430", other: "{{count}} \u043C\u0438\u043D\u0443\u0442\u0438" }, aboutXHours: { one: "\u043E\u043A\u043E\u043B\u043E \u0447\u0430\u0441", other: "\u043E\u043A\u043E\u043B\u043E {{count}} \u0447\u0430\u0441\u0430" }, xHours: { one: "1 \u0447\u0430\u0441", other: "{{count}} \u0447\u0430\u0441\u0430" }, xDays: { one: "1 \u0434\u0435\u043D", other: "{{count}} \u0434\u043D\u0438" }, aboutXWeeks: { one: "\u043E\u043A\u043E\u043B\u043E \u0441\u0435\u0434\u043C\u0438\u0446\u0430", other: "\u043E\u043A\u043E\u043B\u043E {{count}} \u0441\u0435\u0434\u043C\u0438\u0446\u0438" }, xWeeks: { one: "1 \u0441\u0435\u0434\u043C\u0438\u0446\u0430", other: "{{count}} \u0441\u0435\u0434\u043C\u0438\u0446\u0438" }, aboutXMonths: { one: "\u043E\u043A\u043E\u043B\u043E \u043C\u0435\u0441\u0435\u0446", other: "\u043E\u043A\u043E\u043B\u043E {{count}} \u043C\u0435\u0441\u0435\u0446\u0430" }, xMonths: { one: "1 \u043C\u0435\u0441\u0435\u0446", other: "{{count}} \u043C\u0435\u0441\u0435\u0446\u0430" }, aboutXYears: { one: "\u043E\u043A\u043E\u043B\u043E \u0433\u043E\u0434\u0438\u043D\u0430", other: "\u043E\u043A\u043E\u043B\u043E {{count}} \u0433\u043E\u0434\u0438\u043D\u0438" }, xYears: { one: "1 \u0433\u043E\u0434\u0438\u043D\u0430", other: "{{count}} \u0433\u043E\u0434\u0438\u043D\u0438" }, overXYears: { one: "\u043D\u0430\u0434 \u0433\u043E\u0434\u0438\u043D\u0430", other: "\u043D\u0430\u0434 {{count}} \u0433\u043E\u0434\u0438\u043D\u0438" }, almostXYears: { one: "\u043F\u043E\u0447\u0442\u0438 \u0433\u043E\u0434\u0438\u043D\u0430", other: "\u043F\u043E\u0447\u0442\u0438 {{count}} \u0433\u043E\u0434\u0438\u043D\u0438" } };
|
||||
|
||||
let _typeof = _typeof_mod;
|
||||
if (!_typeof) {
|
||||
const obj = { default: _typeof };
|
||||
let tmp3 = obj;
|
||||
} else {
|
||||
tmp3 = _typeof;
|
||||
}
|
||||
_typeof = tmp3;
|
||||
let module_3695 = module_3695_mod;
|
||||
if (!module_3695) {
|
||||
const obj2 = { default: module_3695 };
|
||||
let tmp5 = obj2;
|
||||
} else {
|
||||
tmp5 = module_3695;
|
||||
}
|
||||
module_3695 = tmp5;
|
||||
const dependencyMap = ["\u043D\u0435\u0434\u0435\u043B\u044F", "\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A", "\u0432\u0442\u043E\u0440\u043D\u0438\u043A", "\u0441\u0440\u044F\u0434\u0430", "\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A", "\u043F\u0435\u0442\u044A\u043A", "\u0441\u044A\u0431\u043E\u0442\u0430"];
|
||||
let closure_3 = {
|
||||
lastWeek: function lastWeekFormatToken(arg0, arg1, arg2) {
|
||||
const defaultResult = _typeof.default(arg0);
|
||||
const uTCDay = defaultResult.getUTCDay();
|
||||
let text = dependencyMap[uTCDay];
|
||||
if (module_3695.default(defaultResult, arg1, arg2)) {
|
||||
if (2 === uTCDay) {
|
||||
text = `'във ${tmp2}`;
|
||||
let text1 = `'във ${tmp2} в' p`;
|
||||
} else {
|
||||
text1 = `${"'\u0432 " + `'във ${tmp2}`} в' p`;
|
||||
}
|
||||
} else {
|
||||
if (0 !== uTCDay) {
|
||||
if (3 !== uTCDay) {
|
||||
if (6 !== uTCDay) {
|
||||
let text2 = `${"'\u043C\u0438\u043D\u0430\u043B\u0438\u044F " + tmp2} в' p`;
|
||||
}
|
||||
return text2;
|
||||
export default function formatDistance(arg0, arg1, addSuffix) {
|
||||
if (typeof closure_0[arg0] === "string") {
|
||||
let tmp6 = tmp;
|
||||
if (null != addSuffix) {
|
||||
tmp6 = tmp;
|
||||
if (addSuffix.addSuffix) {
|
||||
if (!addSuffix.comparison) {
|
||||
let text = `преди ${tmp}`;
|
||||
}
|
||||
text = `след ${tmp}`;
|
||||
}
|
||||
text2 = `${"'\u043C\u0438\u043D\u0430\u043B\u0430\u0442\u0430 " + tmp2} в' p`;
|
||||
}
|
||||
},
|
||||
yesterday: "'\u0432\u0447\u0435\u0440\u0430 \u0432' p",
|
||||
today: "'\u0434\u043D\u0435\u0441 \u0432' p",
|
||||
tomorrow: "'\u0443\u0442\u0440\u0435 \u0432' p",
|
||||
nextWeek: function nextWeekFormatToken(arg0, arg1, arg2) {
|
||||
const defaultResult = _typeof.default(arg0);
|
||||
const uTCDay = defaultResult.getUTCDay();
|
||||
let text = dependencyMap[uTCDay];
|
||||
if (module_3695.default(defaultResult, arg1, arg2)) {
|
||||
if (2 === uTCDay) {
|
||||
text = `'във ${tmp2}`;
|
||||
let text1 = `'във ${tmp2} в' p`;
|
||||
} else {
|
||||
text1 = `${"'\u0432 " + `'във ${tmp2}`} в' p`;
|
||||
}
|
||||
} else {
|
||||
if (0 !== uTCDay) {
|
||||
if (3 !== uTCDay) {
|
||||
if (6 !== uTCDay) {
|
||||
let text2 = `${"'\u0441\u043B\u0435\u0434\u0432\u0430\u0449\u0438\u044F " + tmp2} в' p`;
|
||||
}
|
||||
return text2;
|
||||
}
|
||||
}
|
||||
text2 = `${"'\u0441\u043B\u0435\u0434\u0432\u0430\u0449\u0430\u0442\u0430 " + tmp2} в' p`;
|
||||
}
|
||||
},
|
||||
other: "P"
|
||||
};
|
||||
|
||||
export default function formatRelative(arg0, arg1, arg2, arg3) {
|
||||
let tmpResult = tmp;
|
||||
if (typeof closure_3[arg0] === "function") {
|
||||
tmpResult = tmp(arg1, arg2, arg3);
|
||||
return tmp6;
|
||||
} else if (1 === arg1) {
|
||||
let one = tmp.one;
|
||||
} else {
|
||||
const _String = String;
|
||||
one = tmp.other.replace("{{count}}", String(arg1));
|
||||
}
|
||||
return tmpResult;
|
||||
};
|
||||
export default exports.default;
|
||||
|
|
|
|||
|
|
@ -1,78 +1,16 @@
|
|||
// Module ID: 3693
|
||||
// Function ID: 3694
|
||||
// Dependencies: [3694]
|
||||
// Exports: default
|
||||
// Dependencies: [2030]
|
||||
|
||||
// Module 3693
|
||||
import requiredArgs_mod from "requiredArgs" /* 3694 */;
|
||||
import module_2030 from "module_2030" /* 2030 */;
|
||||
|
||||
function _typeof(arg0) {
|
||||
if (typeof Symbol === "function") {
|
||||
let _Symbol = Symbol;
|
||||
if (typeof Symbol.iterator === "symbol") {
|
||||
_typeof = function _typeof(arg0) {
|
||||
return typeof arg0;
|
||||
};
|
||||
}
|
||||
return _typeof(arg0);
|
||||
}
|
||||
_typeof = function _typeof(arg0) {
|
||||
if (arg0) {
|
||||
const _Symbol = Symbol;
|
||||
if (typeof Symbol === "function") {
|
||||
const _Symbol3 = Symbol;
|
||||
if (arg0.constructor === Symbol) {
|
||||
const _Symbol2 = Symbol;
|
||||
let str = "symbol";
|
||||
}
|
||||
return str;
|
||||
}
|
||||
}
|
||||
str = typeof arg0;
|
||||
};
|
||||
}
|
||||
let requiredArgs = requiredArgs_mod;
|
||||
if (!requiredArgs) {
|
||||
const obj = { default: requiredArgs };
|
||||
let tmp3 = obj;
|
||||
if (!module_2030) {
|
||||
const obj2 = { default: module_2030 };
|
||||
let obj = obj2;
|
||||
} else {
|
||||
tmp3 = requiredArgs;
|
||||
obj = module_2030;
|
||||
}
|
||||
requiredArgs = tmp3;
|
||||
|
||||
export default function toDate(getTime) {
|
||||
requiredArgs.default(1, arguments);
|
||||
const call = toString.call;
|
||||
const tmp2 = typeof call === "unknown" ? toString() : call(getTime);
|
||||
if (!(getTime instanceof Date)) {
|
||||
if ("object" === _typeof(getTime)) {
|
||||
return date;
|
||||
}
|
||||
if (typeof getTime !== "number") {
|
||||
if ("[object Number]" !== tmp2) {
|
||||
let tmp4 = typeof getTime !== "string";
|
||||
if (typeof getTime !== "string") {
|
||||
tmp4 = "[object String]" !== tmp2;
|
||||
}
|
||||
if (!tmp4) {
|
||||
const _console = console;
|
||||
tmp4 = typeof console === "undefined";
|
||||
}
|
||||
if (!tmp4) {
|
||||
const _console2 = console;
|
||||
console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments");
|
||||
const _console3 = console;
|
||||
const _Error = Error;
|
||||
const error = new Error();
|
||||
console.warn(error.stack);
|
||||
}
|
||||
const _Date = Date;
|
||||
date = new Date(NaN);
|
||||
}
|
||||
}
|
||||
const _Date2 = Date;
|
||||
date = new Date(getTime);
|
||||
}
|
||||
date = new Date(getTime.getTime());
|
||||
};
|
||||
export default { date: obj.default({ formats: { full: "EEEE, dd MMMM yyyy", long: "dd MMMM yyyy", medium: "dd MMM yyyy", short: "dd/MM/yyyy" }, defaultWidth: "full" }), time: obj.default({ formats: { full: "HH:mm:ss zzzz", long: "HH:mm:ss z", medium: "HH:mm:ss", short: "H:mm" }, defaultWidth: "full" }), dateTime: obj.default({ formats: { any: "{{date}} {{time}}" }, defaultWidth: "any" }) };
|
||||
export default exports.default;
|
||||
|
|
|
|||
87
source/__polyfill/03xxx/module_3694.js
Normal file
87
source/__polyfill/03xxx/module_3694.js
Normal file
|
|
@ -0,0 +1,87 @@
|
|||
// Module ID: 3694
|
||||
// Function ID: 3695
|
||||
// Dependencies: [3695, 3697]
|
||||
// Exports: default
|
||||
|
||||
// Module 3694
|
||||
import _typeof_mod from "module_3695" /* 3695 */;
|
||||
import module_3697_mod from "module_3697" /* 3697 */;
|
||||
|
||||
let _typeof = _typeof_mod;
|
||||
if (!_typeof) {
|
||||
const obj = { default: _typeof };
|
||||
let tmp3 = obj;
|
||||
} else {
|
||||
tmp3 = _typeof;
|
||||
}
|
||||
_typeof = tmp3;
|
||||
let module_3697 = module_3697_mod;
|
||||
if (!module_3697) {
|
||||
const obj2 = { default: module_3697 };
|
||||
let tmp5 = obj2;
|
||||
} else {
|
||||
tmp5 = module_3697;
|
||||
}
|
||||
module_3697 = tmp5;
|
||||
const dependencyMap = ["\u043D\u0435\u0434\u0435\u043B\u044F", "\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A", "\u0432\u0442\u043E\u0440\u043D\u0438\u043A", "\u0441\u0440\u044F\u0434\u0430", "\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A", "\u043F\u0435\u0442\u044A\u043A", "\u0441\u044A\u0431\u043E\u0442\u0430"];
|
||||
let closure_3 = {
|
||||
lastWeek: function lastWeekFormatToken(arg0, arg1, arg2) {
|
||||
const defaultResult = _typeof.default(arg0);
|
||||
const uTCDay = defaultResult.getUTCDay();
|
||||
let text = dependencyMap[uTCDay];
|
||||
if (module_3697.default(defaultResult, arg1, arg2)) {
|
||||
if (2 === uTCDay) {
|
||||
text = `'във ${tmp2}`;
|
||||
let text1 = `'във ${tmp2} в' p`;
|
||||
} else {
|
||||
text1 = `${"'\u0432 " + `'във ${tmp2}`} в' p`;
|
||||
}
|
||||
} else {
|
||||
if (0 !== uTCDay) {
|
||||
if (3 !== uTCDay) {
|
||||
if (6 !== uTCDay) {
|
||||
let text2 = `${"'\u043C\u0438\u043D\u0430\u043B\u0438\u044F " + tmp2} в' p`;
|
||||
}
|
||||
return text2;
|
||||
}
|
||||
}
|
||||
text2 = `${"'\u043C\u0438\u043D\u0430\u043B\u0430\u0442\u0430 " + tmp2} в' p`;
|
||||
}
|
||||
},
|
||||
yesterday: "'\u0432\u0447\u0435\u0440\u0430 \u0432' p",
|
||||
today: "'\u0434\u043D\u0435\u0441 \u0432' p",
|
||||
tomorrow: "'\u0443\u0442\u0440\u0435 \u0432' p",
|
||||
nextWeek: function nextWeekFormatToken(arg0, arg1, arg2) {
|
||||
const defaultResult = _typeof.default(arg0);
|
||||
const uTCDay = defaultResult.getUTCDay();
|
||||
let text = dependencyMap[uTCDay];
|
||||
if (module_3697.default(defaultResult, arg1, arg2)) {
|
||||
if (2 === uTCDay) {
|
||||
text = `'във ${tmp2}`;
|
||||
let text1 = `'във ${tmp2} в' p`;
|
||||
} else {
|
||||
text1 = `${"'\u0432 " + `'във ${tmp2}`} в' p`;
|
||||
}
|
||||
} else {
|
||||
if (0 !== uTCDay) {
|
||||
if (3 !== uTCDay) {
|
||||
if (6 !== uTCDay) {
|
||||
let text2 = `${"'\u0441\u043B\u0435\u0434\u0432\u0430\u0449\u0438\u044F " + tmp2} в' p`;
|
||||
}
|
||||
return text2;
|
||||
}
|
||||
}
|
||||
text2 = `${"'\u0441\u043B\u0435\u0434\u0432\u0430\u0449\u0430\u0442\u0430 " + tmp2} в' p`;
|
||||
}
|
||||
},
|
||||
other: "P"
|
||||
};
|
||||
|
||||
export default function formatRelative(arg0, arg1, arg2, arg3) {
|
||||
let tmpResult = tmp;
|
||||
if (typeof closure_3[arg0] === "function") {
|
||||
tmpResult = tmp(arg1, arg2, arg3);
|
||||
}
|
||||
return tmpResult;
|
||||
};
|
||||
export default exports.default;
|
||||
|
|
@ -1,12 +1,36 @@
|
|||
// Module ID: 3695
|
||||
// Function ID: 3696
|
||||
// Dependencies: [3694, 3696]
|
||||
// Dependencies: [3696]
|
||||
// Exports: default
|
||||
|
||||
// Module 3695
|
||||
import requiredArgs_mod from "requiredArgs" /* 3694 */;
|
||||
import startOfUTCWeek_mod from "startOfUTCWeek" /* 3696 */;
|
||||
import requiredArgs_mod from "requiredArgs" /* 3696 */;
|
||||
|
||||
function _typeof(arg0) {
|
||||
if (typeof Symbol === "function") {
|
||||
let _Symbol = Symbol;
|
||||
if (typeof Symbol.iterator === "symbol") {
|
||||
_typeof = function _typeof(arg0) {
|
||||
return typeof arg0;
|
||||
};
|
||||
}
|
||||
return _typeof(arg0);
|
||||
}
|
||||
_typeof = function _typeof(arg0) {
|
||||
if (arg0) {
|
||||
const _Symbol = Symbol;
|
||||
if (typeof Symbol === "function") {
|
||||
const _Symbol3 = Symbol;
|
||||
if (arg0.constructor === Symbol) {
|
||||
const _Symbol2 = Symbol;
|
||||
let str = "symbol";
|
||||
}
|
||||
return str;
|
||||
}
|
||||
}
|
||||
str = typeof arg0;
|
||||
};
|
||||
}
|
||||
let requiredArgs = requiredArgs_mod;
|
||||
if (!requiredArgs) {
|
||||
const obj = { default: requiredArgs };
|
||||
|
|
@ -15,19 +39,40 @@ if (!requiredArgs) {
|
|||
tmp3 = requiredArgs;
|
||||
}
|
||||
requiredArgs = tmp3;
|
||||
let startOfUTCWeek = startOfUTCWeek_mod;
|
||||
if (!startOfUTCWeek) {
|
||||
const obj2 = { default: startOfUTCWeek };
|
||||
let tmp5 = obj2;
|
||||
} else {
|
||||
tmp5 = startOfUTCWeek;
|
||||
}
|
||||
startOfUTCWeek = tmp5;
|
||||
|
||||
export default function isSameUTCWeek(arg0, arg1, arg2) {
|
||||
requiredArgs.default(2, arguments);
|
||||
const defaultResult1 = startOfUTCWeek.default(arg0, arg2);
|
||||
const time = defaultResult1.getTime();
|
||||
return time === startOfUTCWeek.default(arg1, arg2).getTime();
|
||||
export default function toDate(getTime) {
|
||||
requiredArgs.default(1, arguments);
|
||||
const call = toString.call;
|
||||
const tmp2 = typeof call === "unknown" ? toString() : call(getTime);
|
||||
if (!(getTime instanceof Date)) {
|
||||
if ("object" === _typeof(getTime)) {
|
||||
return date;
|
||||
}
|
||||
if (typeof getTime !== "number") {
|
||||
if ("[object Number]" !== tmp2) {
|
||||
let tmp4 = typeof getTime !== "string";
|
||||
if (typeof getTime !== "string") {
|
||||
tmp4 = "[object String]" !== tmp2;
|
||||
}
|
||||
if (!tmp4) {
|
||||
const _console = console;
|
||||
tmp4 = typeof console === "undefined";
|
||||
}
|
||||
if (!tmp4) {
|
||||
const _console2 = console;
|
||||
console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments");
|
||||
const _console3 = console;
|
||||
const _Error = Error;
|
||||
const error = new Error();
|
||||
console.warn(error.stack);
|
||||
}
|
||||
const _Date = Date;
|
||||
date = new Date(NaN);
|
||||
}
|
||||
}
|
||||
const _Date2 = Date;
|
||||
date = new Date(getTime);
|
||||
}
|
||||
date = new Date(getTime.getTime());
|
||||
};
|
||||
export default exports.default;
|
||||
|
|
|
|||
|
|
@ -1,32 +1,33 @@
|
|||
// Module ID: 3697
|
||||
// Function ID: 3698
|
||||
// Dependencies: []
|
||||
// Dependencies: [3696, 3698]
|
||||
// Exports: default
|
||||
|
||||
// Module 3697
|
||||
import requiredArgs_mod from "requiredArgs" /* 3696 */;
|
||||
import startOfUTCWeek_mod from "startOfUTCWeek" /* 3698 */;
|
||||
|
||||
export default function toInteger(arg0) {
|
||||
if (null !== arg0) {
|
||||
if (true !== arg0) {
|
||||
if (false !== arg0) {
|
||||
const _Number = Number;
|
||||
const NumberResult = Number(arg0);
|
||||
const _isNaN = isNaN;
|
||||
if (isNaN(NumberResult)) {
|
||||
return NumberResult;
|
||||
} else {
|
||||
if (NumberResult < 0) {
|
||||
const _Math2 = Math;
|
||||
let rounded = Math.ceil(NumberResult);
|
||||
} else {
|
||||
const _Math = Math;
|
||||
rounded = Math.floor(NumberResult);
|
||||
}
|
||||
return rounded;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return NaN;
|
||||
let requiredArgs = requiredArgs_mod;
|
||||
if (!requiredArgs) {
|
||||
const obj = { default: requiredArgs };
|
||||
let tmp3 = obj;
|
||||
} else {
|
||||
tmp3 = requiredArgs;
|
||||
}
|
||||
requiredArgs = tmp3;
|
||||
let startOfUTCWeek = startOfUTCWeek_mod;
|
||||
if (!startOfUTCWeek) {
|
||||
const obj2 = { default: startOfUTCWeek };
|
||||
let tmp5 = obj2;
|
||||
} else {
|
||||
tmp5 = startOfUTCWeek;
|
||||
}
|
||||
startOfUTCWeek = tmp5;
|
||||
|
||||
export default function isSameUTCWeek(arg0, arg1, arg2) {
|
||||
requiredArgs.default(2, arguments);
|
||||
const defaultResult1 = startOfUTCWeek.default(arg0, arg2);
|
||||
const time = defaultResult1.getTime();
|
||||
return time === startOfUTCWeek.default(arg1, arg2).getTime();
|
||||
};
|
||||
export default exports.default;
|
||||
|
|
|
|||
|
|
@ -1,14 +0,0 @@
|
|||
// Module ID: 3698
|
||||
// Function ID: 3699
|
||||
// Dependencies: []
|
||||
// Exports: getDefaultOptions, setDefaultOptions
|
||||
|
||||
// Module 3698
|
||||
let global = {};
|
||||
|
||||
export function getDefaultOptions() {
|
||||
return global;
|
||||
}
|
||||
export function setDefaultOptions(arg0) {
|
||||
global = arg0;
|
||||
}
|
||||
|
|
@ -1,181 +1,32 @@
|
|||
// Module ID: 3699
|
||||
// Function ID: 3700
|
||||
// Dependencies: [2033]
|
||||
// Dependencies: []
|
||||
// Exports: default
|
||||
|
||||
// Module 3699
|
||||
import module_2033 from "module_2033" /* 2033 */;
|
||||
|
||||
if (!module_2033) {
|
||||
const obj2 = { default: module_2033 };
|
||||
let obj = obj2;
|
||||
} else {
|
||||
obj = module_2033;
|
||||
}
|
||||
const date = {
|
||||
ordinalNumber(arg0, unit) {
|
||||
const NumberResult = Number(arg0);
|
||||
if (null != unit) {
|
||||
unit = unit.unit;
|
||||
}
|
||||
if (0 === NumberResult) {
|
||||
let str49 = "\u0435\u0432\u043E";
|
||||
if ("quarter" !== unit) {
|
||||
let tmp9 = "year" === unit;
|
||||
if (!tmp9) {
|
||||
tmp9 = "week" === unit;
|
||||
}
|
||||
if (!tmp9) {
|
||||
tmp9 = "minute" === unit;
|
||||
}
|
||||
if (!tmp9) {
|
||||
tmp9 = "second" === unit;
|
||||
}
|
||||
let str55 = "\u0435\u0432";
|
||||
if (tmp9) {
|
||||
str55 = "\u0435\u0432\u0430";
|
||||
}
|
||||
str49 = str55;
|
||||
}
|
||||
return "-" + str49;
|
||||
} else if (NumberResult % 1000 === 0) {
|
||||
let str41 = "\u043D\u043E";
|
||||
if ("quarter" !== unit) {
|
||||
let tmp8 = "year" === unit;
|
||||
if (!tmp8) {
|
||||
tmp8 = "week" === unit;
|
||||
}
|
||||
if (!tmp8) {
|
||||
tmp8 = "minute" === unit;
|
||||
}
|
||||
if (!tmp8) {
|
||||
tmp8 = "second" === unit;
|
||||
}
|
||||
let str47 = "\u0435\u043D";
|
||||
if (tmp8) {
|
||||
str47 = "\u043D\u0430";
|
||||
}
|
||||
str41 = str47;
|
||||
}
|
||||
return NumberResult + "-" + str41;
|
||||
} else if (NumberResult % 100 === 0) {
|
||||
let str33 = "\u0442\u043D\u043E";
|
||||
if ("quarter" !== unit) {
|
||||
let tmp7 = "year" === unit;
|
||||
if (!tmp7) {
|
||||
tmp7 = "week" === unit;
|
||||
}
|
||||
if (!tmp7) {
|
||||
tmp7 = "minute" === unit;
|
||||
}
|
||||
if (!tmp7) {
|
||||
tmp7 = "second" === unit;
|
||||
}
|
||||
let str39 = "\u0442\u0435\u043D";
|
||||
if (tmp7) {
|
||||
str39 = "\u0442\u043D\u0430";
|
||||
}
|
||||
str33 = str39;
|
||||
}
|
||||
return NumberResult + "-" + str33;
|
||||
} else {
|
||||
const result = NumberResult % 100;
|
||||
if (20 < result) {
|
||||
const result1 = result % 10;
|
||||
if (1 === result1) {
|
||||
let str25 = "\u0432\u043E";
|
||||
if ("quarter" !== unit) {
|
||||
let tmp6 = "year" === unit;
|
||||
if (!tmp6) {
|
||||
tmp6 = "week" === unit;
|
||||
}
|
||||
if (!tmp6) {
|
||||
tmp6 = "minute" === unit;
|
||||
}
|
||||
if (!tmp6) {
|
||||
tmp6 = "second" === unit;
|
||||
}
|
||||
let str31 = "\u0432\u0438";
|
||||
if (tmp6) {
|
||||
str31 = "\u0432\u0430";
|
||||
}
|
||||
str25 = str31;
|
||||
}
|
||||
return NumberResult + "-" + str25;
|
||||
} else if (2 === result1) {
|
||||
let str17 = "\u0440\u043E";
|
||||
if ("quarter" !== unit) {
|
||||
let tmp5 = "year" === unit;
|
||||
if (!tmp5) {
|
||||
tmp5 = "week" === unit;
|
||||
}
|
||||
if (!tmp5) {
|
||||
tmp5 = "minute" === unit;
|
||||
}
|
||||
if (!tmp5) {
|
||||
tmp5 = "second" === unit;
|
||||
}
|
||||
let str23 = "\u0440\u0438";
|
||||
if (tmp5) {
|
||||
str23 = "\u0440\u0430";
|
||||
}
|
||||
str17 = str23;
|
||||
}
|
||||
return NumberResult + "-" + str17;
|
||||
export default function toInteger(arg0) {
|
||||
if (null !== arg0) {
|
||||
if (true !== arg0) {
|
||||
if (false !== arg0) {
|
||||
const _Number = Number;
|
||||
const NumberResult = Number(arg0);
|
||||
const _isNaN = isNaN;
|
||||
if (isNaN(NumberResult)) {
|
||||
return NumberResult;
|
||||
} else {
|
||||
let str9 = "\u043C\u043E";
|
||||
if ("quarter" !== unit) {
|
||||
let tmp4 = "year" === unit;
|
||||
if (!tmp4) {
|
||||
tmp4 = "week" === unit;
|
||||
}
|
||||
if (!tmp4) {
|
||||
tmp4 = "minute" === unit;
|
||||
}
|
||||
if (!tmp4) {
|
||||
tmp4 = "second" === unit;
|
||||
}
|
||||
let str15 = "\u043C\u0438";
|
||||
if (tmp4) {
|
||||
str15 = "\u043C\u0430";
|
||||
}
|
||||
str9 = str15;
|
||||
if (NumberResult < 0) {
|
||||
const _Math2 = Math;
|
||||
let rounded = Math.ceil(NumberResult);
|
||||
} else {
|
||||
const _Math = Math;
|
||||
rounded = Math.floor(NumberResult);
|
||||
}
|
||||
return NumberResult + "-" + str9;
|
||||
return rounded;
|
||||
}
|
||||
}
|
||||
let str = "\u0442\u043E";
|
||||
if ("quarter" !== unit) {
|
||||
let tmp3 = "year" === unit;
|
||||
if (!tmp3) {
|
||||
tmp3 = "week" === unit;
|
||||
}
|
||||
if (!tmp3) {
|
||||
tmp3 = "minute" === unit;
|
||||
}
|
||||
if (!tmp3) {
|
||||
tmp3 = "second" === unit;
|
||||
}
|
||||
let str7 = "\u0442\u0438";
|
||||
if (tmp3) {
|
||||
str7 = "\u0442\u0430";
|
||||
}
|
||||
str = str7;
|
||||
}
|
||||
return NumberResult + "-" + str;
|
||||
}
|
||||
},
|
||||
era: obj.default({ values: { narrow: ["\u043F\u0440.\u043D.\u0435.", "\u043D.\u0435."], abbreviated: ["\u043F\u0440\u0435\u0434\u0438 \u043D. \u0435.", "\u043D. \u0435."], wide: ["\u043F\u0440\u0435\u0434\u0438 \u043D\u043E\u0432\u0430\u0442\u0430 \u0435\u0440\u0430", "\u043D\u043E\u0432\u0430\u0442\u0430 \u0435\u0440\u0430"] }, defaultWidth: "wide" }),
|
||||
quarter: obj.default({
|
||||
values: { narrow: ["1", "2", "3", "4"], abbreviated: ["1-\u0432\u043E \u0442\u0440\u0438\u043C\u0435\u0441.", "2-\u0440\u043E \u0442\u0440\u0438\u043C\u0435\u0441.", "3-\u0442\u043E \u0442\u0440\u0438\u043C\u0435\u0441.", "4-\u0442\u043E \u0442\u0440\u0438\u043C\u0435\u0441."], wide: ["1-\u0432\u043E \u0442\u0440\u0438\u043C\u0435\u0441\u0435\u0447\u0438\u0435", "2-\u0440\u043E \u0442\u0440\u0438\u043C\u0435\u0441\u0435\u0447\u0438\u0435", "3-\u0442\u043E \u0442\u0440\u0438\u043C\u0435\u0441\u0435\u0447\u0438\u0435", "4-\u0442\u043E \u0442\u0440\u0438\u043C\u0435\u0441\u0435\u0447\u0438\u0435"] },
|
||||
defaultWidth: "wide",
|
||||
argumentCallback(arg0) {
|
||||
return arg0 - 1;
|
||||
}
|
||||
}),
|
||||
month: obj.default({ values: { abbreviated: ["\u044F\u043D\u0443", "\u0444\u0435\u0432", "\u043C\u0430\u0440", "\u0430\u043F\u0440", "\u043C\u0430\u0439", "\u044E\u043D\u0438", "\u044E\u043B\u0438", "\u0430\u0432\u0433", "\u0441\u0435\u043F", "\u043E\u043A\u0442", "\u043D\u043E\u0435", "\u0434\u0435\u043A"], wide: ["\u044F\u043D\u0443\u0430\u0440\u0438", "\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438", "\u043C\u0430\u0440\u0442", "\u0430\u043F\u0440\u0438\u043B", "\u043C\u0430\u0439", "\u044E\u043D\u0438", "\u044E\u043B\u0438", "\u0430\u0432\u0433\u0443\u0441\u0442", "\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438", "\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438", "\u043D\u043E\u0435\u043C\u0432\u0440\u0438", "\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438"] }, defaultWidth: "wide" }),
|
||||
day: obj.default({ values: { narrow: ["\u041D", "\u041F", "\u0412", "\u0421", "\u0427", "\u041F", "\u0421"], short: ["\u043D\u0434", "\u043F\u043D", "\u0432\u0442", "\u0441\u0440", "\u0447\u0442", "\u043F\u0442", "\u0441\u0431"], abbreviated: ["\u043D\u0435\u0434", "\u043F\u043E\u043D", "\u0432\u0442\u043E", "\u0441\u0440\u044F", "\u0447\u0435\u0442", "\u043F\u0435\u0442", "\u0441\u044A\u0431"], wide: ["\u043D\u0435\u0434\u0435\u043B\u044F", "\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A", "\u0432\u0442\u043E\u0440\u043D\u0438\u043A", "\u0441\u0440\u044F\u0434\u0430", "\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A", "\u043F\u0435\u0442\u044A\u043A", "\u0441\u044A\u0431\u043E\u0442\u0430"] }, defaultWidth: "wide" }),
|
||||
dayPeriod: obj.default({ values: { wide: { am: "\u043F\u0440\u0435\u0434\u0438 \u043E\u0431\u044F\u0434", pm: "\u0441\u043B\u0435\u0434 \u043E\u0431\u044F\u0434", midnight: "\u0432 \u043F\u043E\u043B\u0443\u043D\u043E\u0449", noon: "\u043D\u0430 \u043E\u0431\u044F\u0434", morning: "\u0441\u0443\u0442\u0440\u0438\u043D\u0442\u0430", afternoon: "\u0441\u043B\u0435\u0434\u043E\u0431\u0435\u0434", evening: "\u0432\u0435\u0447\u0435\u0440\u0442\u0430", night: "\u043F\u0440\u0435\u0437 \u043D\u043E\u0449\u0442\u0430" } }, defaultWidth: "wide" })
|
||||
}
|
||||
return NaN;
|
||||
};
|
||||
|
||||
export default date;
|
||||
export default exports.default;
|
||||
|
|
|
|||
|
|
@ -1,73 +1,14 @@
|
|||
// Module ID: 3700
|
||||
// Function ID: 3701
|
||||
// Dependencies: [2035, 2036]
|
||||
// Dependencies: []
|
||||
// Exports: getDefaultOptions, setDefaultOptions
|
||||
|
||||
// Module 3700
|
||||
import module_2035 from "module_2035" /* 2035 */;
|
||||
import module_2036 from "module_2036" /* 2036 */;
|
||||
let global = {};
|
||||
|
||||
if (!module_2035) {
|
||||
const obj2 = { default: module_2035 };
|
||||
let obj = obj2;
|
||||
} else {
|
||||
obj = module_2035;
|
||||
export function getDefaultOptions() {
|
||||
return global;
|
||||
}
|
||||
if (!module_2036) {
|
||||
const obj4 = { default: module_2036 };
|
||||
let obj3 = obj4;
|
||||
} else {
|
||||
obj3 = module_2036;
|
||||
export function setDefaultOptions(arg0) {
|
||||
global = arg0;
|
||||
}
|
||||
const date = {
|
||||
ordinalNumber: obj3.default({
|
||||
matchPattern: /^(\d+)(-?[врмт][аи]|-?т?(ен|на)|-?(ев|ева))?/i,
|
||||
parsePattern: /\d+/i,
|
||||
valueCallback(match) {
|
||||
return parseInt(match, 10);
|
||||
}
|
||||
}),
|
||||
era: null,
|
||||
quarter: null,
|
||||
month: null,
|
||||
day: null,
|
||||
dayPeriod: null
|
||||
};
|
||||
const obj6 = { matchPatterns: { narrow: /^((пр)?н\.?\s?е\.?)/i, abbreviated: /^((пр)?н\.?\s?е\.?)/i, wide: /^(преди новата ера|новата ера|нова ера)/i }, defaultMatchWidth: "wide", parsePatterns: null, defaultParseWidth: "any" };
|
||||
const obj7 = { any: null };
|
||||
const items = [/^п/i, /^н/i];
|
||||
obj7.any = items;
|
||||
obj6.parsePatterns = obj7;
|
||||
date.era = obj.default(obj6);
|
||||
const obj8 = {
|
||||
matchPatterns: { narrow: /^[1234]/i, abbreviated: /^[1234](-?[врт]?o?)? тримес.?/i, wide: /^[1234](-?[врт]?о?)? тримесечие/i },
|
||||
defaultMatchWidth: "wide",
|
||||
parsePatterns: null,
|
||||
defaultParseWidth: "any",
|
||||
valueCallback(arg0) {
|
||||
return arg0 + 1;
|
||||
}
|
||||
};
|
||||
const obj9 = { any: null };
|
||||
const items1 = [/1/i, /2/i, /3/i, /4/i];
|
||||
obj9.any = items1;
|
||||
obj8.parsePatterns = obj9;
|
||||
date.quarter = obj.default(obj8);
|
||||
const obj10 = { matchPatterns: { abbreviated: /^(яну|фев|мар|апр|май|юни|юли|авг|сеп|окт|ное|дек)/i, wide: /^(януари|февруари|март|април|май|юни|юли|август|септември|октомври|ноември|декември)/i }, defaultMatchWidth: "wide", parsePatterns: null, defaultParseWidth: "any" };
|
||||
const obj11 = { any: null };
|
||||
const items2 = [/^я/i, /^ф/i, /^мар/i, /^ап/i, /^май/i, /^юн/i, /^юл/i, /^ав/i, /^се/i, /^окт/i, /^но/i, /^де/i];
|
||||
obj11.any = items2;
|
||||
obj10.parsePatterns = obj11;
|
||||
date.month = obj.default(obj10);
|
||||
const obj12 = { matchPatterns: { narrow: /^[нпвсч]/i, short: /^(нд|пн|вт|ср|чт|пт|сб)/i, abbreviated: /^(нед|пон|вто|сря|чет|пет|съб)/i, wide: /^(неделя|понеделник|вторник|сряда|четвъртък|петък|събота)/i }, defaultMatchWidth: "wide", parsePatterns: null, defaultParseWidth: "any" };
|
||||
const obj13 = { narrow: null, any: null };
|
||||
const items3 = [/^н/i, /^п/i, /^в/i, /^с/i, /^ч/i, /^п/i, /^с/i];
|
||||
obj13.narrow = items3;
|
||||
const items4 = [/^н[ед]/i, /^п[он]/i, /^вт/i, /^ср/i, /^ч[ет]/i, /^п[ет]/i, /^с[ъб]/i];
|
||||
obj13.any = items4;
|
||||
obj12.parsePatterns = obj13;
|
||||
date.day = obj.default(obj12);
|
||||
const obj14 = { matchPatterns: { any: /^(преди о|след о|в по|на о|през|веч|сут|следо)/i }, defaultMatchWidth: "any", parsePatterns: { any: { am: /^преди о/i, pm: /^след о/i, midnight: /^в пол/i, noon: /^на об/i, morning: /^сут/i, afternoon: /^следо/i, evening: /^веч/i, night: /^през н/i } }, defaultParseWidth: "any" };
|
||||
date.dayPeriod = obj.default(obj14);
|
||||
|
||||
export default date;
|
||||
export default exports.default;
|
||||
|
|
|
|||
|
|
@ -1,46 +1,181 @@
|
|||
// Module ID: 3701
|
||||
// Function ID: 3702
|
||||
// Dependencies: [3702, 3703, 3704, 3705, 3706]
|
||||
// Dependencies: [2033]
|
||||
|
||||
// Module 3701
|
||||
import module_3702 from "module_3702" /* 3702 */;
|
||||
import module_3703 from "module_3703" /* 3703 */;
|
||||
import module_3704 from "module_3704" /* 3704 */;
|
||||
import date_mod from "module_3705" /* 3705 */;
|
||||
import date_mod from "module_3706" /* 3706 */;
|
||||
import module_2033 from "module_2033" /* 2033 */;
|
||||
|
||||
if (!module_3702) {
|
||||
const obj = { default: module_3702 };
|
||||
let tmp3 = obj;
|
||||
if (!module_2033) {
|
||||
const obj2 = { default: module_2033 };
|
||||
let obj = obj2;
|
||||
} else {
|
||||
tmp3 = module_3702;
|
||||
}
|
||||
if (!module_3703) {
|
||||
const obj2 = { default: module_3703 };
|
||||
let tmp5 = obj2;
|
||||
} else {
|
||||
tmp5 = module_3703;
|
||||
}
|
||||
if (!module_3704) {
|
||||
const obj3 = { default: module_3704 };
|
||||
let tmp7 = obj3;
|
||||
} else {
|
||||
tmp7 = module_3704;
|
||||
}
|
||||
let date = date_mod;
|
||||
if (!date) {
|
||||
const obj4 = { default: date };
|
||||
let tmp9 = obj4;
|
||||
} else {
|
||||
tmp9 = date;
|
||||
}
|
||||
let date = date_mod;
|
||||
if (!date) {
|
||||
const obj5 = { default: date };
|
||||
let tmp11 = obj5;
|
||||
} else {
|
||||
tmp11 = date;
|
||||
obj = module_2033;
|
||||
}
|
||||
const date = {
|
||||
ordinalNumber(arg0, unit) {
|
||||
const NumberResult = Number(arg0);
|
||||
if (null != unit) {
|
||||
unit = unit.unit;
|
||||
}
|
||||
if (0 === NumberResult) {
|
||||
let str49 = "\u0435\u0432\u043E";
|
||||
if ("quarter" !== unit) {
|
||||
let tmp9 = "year" === unit;
|
||||
if (!tmp9) {
|
||||
tmp9 = "week" === unit;
|
||||
}
|
||||
if (!tmp9) {
|
||||
tmp9 = "minute" === unit;
|
||||
}
|
||||
if (!tmp9) {
|
||||
tmp9 = "second" === unit;
|
||||
}
|
||||
let str55 = "\u0435\u0432";
|
||||
if (tmp9) {
|
||||
str55 = "\u0435\u0432\u0430";
|
||||
}
|
||||
str49 = str55;
|
||||
}
|
||||
return "-" + str49;
|
||||
} else if (NumberResult % 1000 === 0) {
|
||||
let str41 = "\u043D\u043E";
|
||||
if ("quarter" !== unit) {
|
||||
let tmp8 = "year" === unit;
|
||||
if (!tmp8) {
|
||||
tmp8 = "week" === unit;
|
||||
}
|
||||
if (!tmp8) {
|
||||
tmp8 = "minute" === unit;
|
||||
}
|
||||
if (!tmp8) {
|
||||
tmp8 = "second" === unit;
|
||||
}
|
||||
let str47 = "\u0435\u043D";
|
||||
if (tmp8) {
|
||||
str47 = "\u043D\u0430";
|
||||
}
|
||||
str41 = str47;
|
||||
}
|
||||
return NumberResult + "-" + str41;
|
||||
} else if (NumberResult % 100 === 0) {
|
||||
let str33 = "\u0442\u043D\u043E";
|
||||
if ("quarter" !== unit) {
|
||||
let tmp7 = "year" === unit;
|
||||
if (!tmp7) {
|
||||
tmp7 = "week" === unit;
|
||||
}
|
||||
if (!tmp7) {
|
||||
tmp7 = "minute" === unit;
|
||||
}
|
||||
if (!tmp7) {
|
||||
tmp7 = "second" === unit;
|
||||
}
|
||||
let str39 = "\u0442\u0435\u043D";
|
||||
if (tmp7) {
|
||||
str39 = "\u0442\u043D\u0430";
|
||||
}
|
||||
str33 = str39;
|
||||
}
|
||||
return NumberResult + "-" + str33;
|
||||
} else {
|
||||
const result = NumberResult % 100;
|
||||
if (20 < result) {
|
||||
const result1 = result % 10;
|
||||
if (1 === result1) {
|
||||
let str25 = "\u0432\u043E";
|
||||
if ("quarter" !== unit) {
|
||||
let tmp6 = "year" === unit;
|
||||
if (!tmp6) {
|
||||
tmp6 = "week" === unit;
|
||||
}
|
||||
if (!tmp6) {
|
||||
tmp6 = "minute" === unit;
|
||||
}
|
||||
if (!tmp6) {
|
||||
tmp6 = "second" === unit;
|
||||
}
|
||||
let str31 = "\u0432\u0438";
|
||||
if (tmp6) {
|
||||
str31 = "\u0432\u0430";
|
||||
}
|
||||
str25 = str31;
|
||||
}
|
||||
return NumberResult + "-" + str25;
|
||||
} else if (2 === result1) {
|
||||
let str17 = "\u0440\u043E";
|
||||
if ("quarter" !== unit) {
|
||||
let tmp5 = "year" === unit;
|
||||
if (!tmp5) {
|
||||
tmp5 = "week" === unit;
|
||||
}
|
||||
if (!tmp5) {
|
||||
tmp5 = "minute" === unit;
|
||||
}
|
||||
if (!tmp5) {
|
||||
tmp5 = "second" === unit;
|
||||
}
|
||||
let str23 = "\u0440\u0438";
|
||||
if (tmp5) {
|
||||
str23 = "\u0440\u0430";
|
||||
}
|
||||
str17 = str23;
|
||||
}
|
||||
return NumberResult + "-" + str17;
|
||||
} else {
|
||||
let str9 = "\u043C\u043E";
|
||||
if ("quarter" !== unit) {
|
||||
let tmp4 = "year" === unit;
|
||||
if (!tmp4) {
|
||||
tmp4 = "week" === unit;
|
||||
}
|
||||
if (!tmp4) {
|
||||
tmp4 = "minute" === unit;
|
||||
}
|
||||
if (!tmp4) {
|
||||
tmp4 = "second" === unit;
|
||||
}
|
||||
let str15 = "\u043C\u0438";
|
||||
if (tmp4) {
|
||||
str15 = "\u043C\u0430";
|
||||
}
|
||||
str9 = str15;
|
||||
}
|
||||
return NumberResult + "-" + str9;
|
||||
}
|
||||
}
|
||||
let str = "\u0442\u043E";
|
||||
if ("quarter" !== unit) {
|
||||
let tmp3 = "year" === unit;
|
||||
if (!tmp3) {
|
||||
tmp3 = "week" === unit;
|
||||
}
|
||||
if (!tmp3) {
|
||||
tmp3 = "minute" === unit;
|
||||
}
|
||||
if (!tmp3) {
|
||||
tmp3 = "second" === unit;
|
||||
}
|
||||
let str7 = "\u0442\u0438";
|
||||
if (tmp3) {
|
||||
str7 = "\u0442\u0430";
|
||||
}
|
||||
str = str7;
|
||||
}
|
||||
return NumberResult + "-" + str;
|
||||
}
|
||||
},
|
||||
era: obj.default({ values: { narrow: ["\u043F\u0440.\u043D.\u0435.", "\u043D.\u0435."], abbreviated: ["\u043F\u0440\u0435\u0434\u0438 \u043D. \u0435.", "\u043D. \u0435."], wide: ["\u043F\u0440\u0435\u0434\u0438 \u043D\u043E\u0432\u0430\u0442\u0430 \u0435\u0440\u0430", "\u043D\u043E\u0432\u0430\u0442\u0430 \u0435\u0440\u0430"] }, defaultWidth: "wide" }),
|
||||
quarter: obj.default({
|
||||
values: { narrow: ["1", "2", "3", "4"], abbreviated: ["1-\u0432\u043E \u0442\u0440\u0438\u043C\u0435\u0441.", "2-\u0440\u043E \u0442\u0440\u0438\u043C\u0435\u0441.", "3-\u0442\u043E \u0442\u0440\u0438\u043C\u0435\u0441.", "4-\u0442\u043E \u0442\u0440\u0438\u043C\u0435\u0441."], wide: ["1-\u0432\u043E \u0442\u0440\u0438\u043C\u0435\u0441\u0435\u0447\u0438\u0435", "2-\u0440\u043E \u0442\u0440\u0438\u043C\u0435\u0441\u0435\u0447\u0438\u0435", "3-\u0442\u043E \u0442\u0440\u0438\u043C\u0435\u0441\u0435\u0447\u0438\u0435", "4-\u0442\u043E \u0442\u0440\u0438\u043C\u0435\u0441\u0435\u0447\u0438\u0435"] },
|
||||
defaultWidth: "wide",
|
||||
argumentCallback(arg0) {
|
||||
return arg0 - 1;
|
||||
}
|
||||
}),
|
||||
month: obj.default({ values: { abbreviated: ["\u044F\u043D\u0443", "\u0444\u0435\u0432", "\u043C\u0430\u0440", "\u0430\u043F\u0440", "\u043C\u0430\u0439", "\u044E\u043D\u0438", "\u044E\u043B\u0438", "\u0430\u0432\u0433", "\u0441\u0435\u043F", "\u043E\u043A\u0442", "\u043D\u043E\u0435", "\u0434\u0435\u043A"], wide: ["\u044F\u043D\u0443\u0430\u0440\u0438", "\u0444\u0435\u0432\u0440\u0443\u0430\u0440\u0438", "\u043C\u0430\u0440\u0442", "\u0430\u043F\u0440\u0438\u043B", "\u043C\u0430\u0439", "\u044E\u043D\u0438", "\u044E\u043B\u0438", "\u0430\u0432\u0433\u0443\u0441\u0442", "\u0441\u0435\u043F\u0442\u0435\u043C\u0432\u0440\u0438", "\u043E\u043A\u0442\u043E\u043C\u0432\u0440\u0438", "\u043D\u043E\u0435\u043C\u0432\u0440\u0438", "\u0434\u0435\u043A\u0435\u043C\u0432\u0440\u0438"] }, defaultWidth: "wide" }),
|
||||
day: obj.default({ values: { narrow: ["\u041D", "\u041F", "\u0412", "\u0421", "\u0427", "\u041F", "\u0421"], short: ["\u043D\u0434", "\u043F\u043D", "\u0432\u0442", "\u0441\u0440", "\u0447\u0442", "\u043F\u0442", "\u0441\u0431"], abbreviated: ["\u043D\u0435\u0434", "\u043F\u043E\u043D", "\u0432\u0442\u043E", "\u0441\u0440\u044F", "\u0447\u0435\u0442", "\u043F\u0435\u0442", "\u0441\u044A\u0431"], wide: ["\u043D\u0435\u0434\u0435\u043B\u044F", "\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u043D\u0438\u043A", "\u0432\u0442\u043E\u0440\u043D\u0438\u043A", "\u0441\u0440\u044F\u0434\u0430", "\u0447\u0435\u0442\u0432\u044A\u0440\u0442\u044A\u043A", "\u043F\u0435\u0442\u044A\u043A", "\u0441\u044A\u0431\u043E\u0442\u0430"] }, defaultWidth: "wide" }),
|
||||
dayPeriod: obj.default({ values: { wide: { am: "\u043F\u0440\u0435\u0434\u0438 \u043E\u0431\u044F\u0434", pm: "\u0441\u043B\u0435\u0434 \u043E\u0431\u044F\u0434", midnight: "\u0432 \u043F\u043E\u043B\u0443\u043D\u043E\u0449", noon: "\u043D\u0430 \u043E\u0431\u044F\u0434", morning: "\u0441\u0443\u0442\u0440\u0438\u043D\u0442\u0430", afternoon: "\u0441\u043B\u0435\u0434\u043E\u0431\u0435\u0434", evening: "\u0432\u0435\u0447\u0435\u0440\u0442\u0430", night: "\u043F\u0440\u0435\u0437 \u043D\u043E\u0449\u0442\u0430" } }, defaultWidth: "wide" })
|
||||
};
|
||||
|
||||
export default { code: "cs", formatDistance: tmp3.default, formatLong: tmp5.default, formatRelative: tmp7.default, localize: tmp9.default, match: tmp11.default, options: { weekStartsOn: 1, firstWeekContainsDate: 4 } };
|
||||
export default date;
|
||||
export default exports.default;
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue