chore: update source for alpha 348.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5021.js (118.4 MB)
This commit is contained in:
parent
bc3fe33db9
commit
1224ea86fd
19165 changed files with 768053 additions and 765562 deletions
10764
alpha/source.jsonl
10764
alpha/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: "channel", height: "unicodeVersion" };
|
||||
let closure_8 = { uri: "Array", width: "channel", height: "hd" };
|
||||
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);
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ function _getGraphQLOperation(operationName) {
|
|||
const obj3 = { operationType: match1[1], operationName: "a" };
|
||||
obj = obj3;
|
||||
} else {
|
||||
obj = { operationType: "isArray", operationName: "paddingHorizontal" };
|
||||
obj = { operationType: "Array", operationName: "paddingHorizontal" };
|
||||
}
|
||||
}
|
||||
let operationName2 = obj.operationName;
|
||||
|
|
@ -337,7 +337,7 @@ export const parseGraphQLQuery = function parseGraphQLQuery(str) {
|
|||
const obj3 = { operationType: match1[1], operationName: "a" };
|
||||
let obj = obj3;
|
||||
} else {
|
||||
obj = { operationType: "isArray", operationName: "paddingHorizontal" };
|
||||
obj = { operationType: "Array", operationName: "paddingHorizontal" };
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -132,7 +132,7 @@ function _shift(fn) {
|
|||
function createIndexedDbStore(arg0) {
|
||||
let dbName = arg0;
|
||||
function getStore() {
|
||||
if (null == f72628) {
|
||||
if (null == f72737) {
|
||||
let str = dbName.dbName;
|
||||
if (!str) {
|
||||
str = "sentry-offline";
|
||||
|
|
@ -154,12 +154,12 @@ function createIndexedDbStore(arg0) {
|
|||
closure_0.onerror = fn2;
|
||||
closure_0.onabort = fn2;
|
||||
});
|
||||
f72628 = (arg0) => {
|
||||
f72737 = (arg0) => {
|
||||
closure_0 = arg0;
|
||||
return promise.then((transaction) => closure_0(transaction.transaction(openResult, "readwrite").objectStore(openResult)));
|
||||
};
|
||||
}
|
||||
return f72628;
|
||||
return f72737;
|
||||
}
|
||||
const obj = { push: null, unshift: null, shift: null };
|
||||
closure_4 = asyncGeneratorStep(async (arg0, value) => {
|
||||
|
|
|
|||
|
|
@ -1,202 +0,0 @@
|
|||
// Module ID: 1570
|
||||
// Function ID: 1571
|
||||
// Name: _toPropertyKey
|
||||
// Dependencies: [109, 32, 19, 21, 1521, 1514, 1571, 1536, 1572, 1525]
|
||||
// Exports: useDescriptors
|
||||
|
||||
// Module 1570 (_toPropertyKey)
|
||||
import _objectWithoutProperties from "_objectWithoutProperties" /* 109 */;
|
||||
import _slicedToArray from "module_32" /* 32 */;
|
||||
import noop from "module_19" /* 19 */;
|
||||
|
||||
const require = fn;
|
||||
function _toPropertyKey(obj) {
|
||||
let StringResult = obj;
|
||||
if (typeof obj === "object") {
|
||||
StringResult = obj;
|
||||
if (obj) {
|
||||
const _Symbol = Symbol;
|
||||
if (undefined !== obj[Symbol.toPrimitive]) {
|
||||
const call = tmp3.call;
|
||||
if (typeof call === "unknown") {
|
||||
let callResult = tmp3("string");
|
||||
} else {
|
||||
callResult = call(obj, "string");
|
||||
}
|
||||
StringResult = callResult;
|
||||
if (typeof callResult === "object") {
|
||||
const _TypeError = TypeError;
|
||||
const typeError = new TypeError("@@toPrimitive must return a primitive value.");
|
||||
throw typeError;
|
||||
}
|
||||
} else {
|
||||
const _String = String;
|
||||
StringResult = String(obj);
|
||||
}
|
||||
}
|
||||
}
|
||||
let text = StringResult;
|
||||
if (typeof StringResult !== "symbol") {
|
||||
text = `${tmp}`;
|
||||
}
|
||||
return text;
|
||||
}
|
||||
const jsx = fn(21).jsx;
|
||||
|
||||
export const useDescriptors = function useDescriptors(state) {
|
||||
state = state.state;
|
||||
({ screens: dependencyMap, navigation } = state);
|
||||
({ screenOptions: _slicedToArray, screenLayout: noop, onAction } = state);
|
||||
const getState = state.getState;
|
||||
({ setState: closure_7, addListener } = state);
|
||||
const addKeyedListener = state.addKeyedListener;
|
||||
const onRouteFocus = state.onRouteFocus;
|
||||
c12 = undefined;
|
||||
c22 = undefined;
|
||||
c23 = undefined;
|
||||
({ router, emitter } = state);
|
||||
const theme = noop.useContext(state(1521).ThemeContext);
|
||||
[c12, tmp2] = noop.useState({});
|
||||
c13 = tmp2;
|
||||
const context = noop.useContext(state(1514).NavigationBuilderContext);
|
||||
const onDispatchAction = context.onDispatchAction;
|
||||
const onEmitEvent = context.onEmitEvent;
|
||||
const onOptionsChange = context.onOptionsChange;
|
||||
const scheduleUpdate = context.scheduleUpdate;
|
||||
const flushUpdates = context.flushUpdates;
|
||||
const stackRef = context.stackRef;
|
||||
const getIsStateEmitted = context.getIsStateEmitted;
|
||||
let items = [navigation, onAction, addListener, addKeyedListener, onRouteFocus, onDispatchAction, onEmitEvent, onOptionsChange, getIsStateEmitted, scheduleUpdate, flushUpdates, stackRef];
|
||||
value = noop.useMemo(() => ({ navigation, onAction, addListener, addKeyedListener, onRouteFocus, onDispatchAction, onEmitEvent, onOptionsChange, getIsStateEmitted, scheduleUpdate, flushUpdates, stackRef }), items);
|
||||
let tmp = _slicedToArray(noop.useState({}), 2);
|
||||
const navigationCache = state(1571).useNavigationCache({ state, getState, navigation, setOptions: tmp2, router, emitter });
|
||||
({ base: c22, navigations: c23 } = navigationCache);
|
||||
let obj = state(1571);
|
||||
const routeCache = state(1536).useRouteCache(state.routes);
|
||||
function getOptions(arg0, arg1, arg2) {
|
||||
|
||||
}
|
||||
function render(route, navigation, options, routeState) {
|
||||
closure_0 = route;
|
||||
const props = tmp.props;
|
||||
let layout = props.layout;
|
||||
if (layout == null) {
|
||||
layout = tmp.layout;
|
||||
}
|
||||
if (layout == null) {
|
||||
layout = closure_4;
|
||||
}
|
||||
const tmp5 = onAction(state(1572).SceneView, {
|
||||
navigation,
|
||||
route,
|
||||
screen: props,
|
||||
routeState,
|
||||
getState,
|
||||
setState,
|
||||
options,
|
||||
clearOptions() {
|
||||
return c13((arg0) => {
|
||||
if (route.key in arg0) {
|
||||
const items = [route.key];
|
||||
return navigation(arg0, items.map(getState));
|
||||
} else {
|
||||
return arg0;
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
let layoutResult = tmp5;
|
||||
if (null != layout) {
|
||||
const obj2 = { route, navigation, options, theme, children: tmp5 };
|
||||
layoutResult = layout(obj2);
|
||||
}
|
||||
const obj3 = { value, children: onAction(state(1525).NavigationProvider, { route, navigation, children: layoutResult }) };
|
||||
return onAction(state(1514).NavigationBuilderContext.Provider, obj3, route.key);
|
||||
}
|
||||
let reduced = routeCache.reduce((acc, route, index) => {
|
||||
if (typeof getOptions === "function") {
|
||||
state = route;
|
||||
dependencyMap = tmp;
|
||||
const items = [closure_3, , ];
|
||||
if (dependencyMap[route.name].options) {
|
||||
const options = tmp4.options;
|
||||
const _Boolean = Boolean;
|
||||
let found = options.filter(Boolean);
|
||||
} else {
|
||||
found = [];
|
||||
}
|
||||
const arraySpreadResult = HermesBuiltin.arraySpread(found, 1);
|
||||
items[arraySpreadResult] = dependencyMap[route.name].props.options;
|
||||
items[arraySpreadResult + 1] = tmp2;
|
||||
reduced = items.reduce((acc, fn) => {
|
||||
let tmp = fn;
|
||||
if (typeof fn === "function") {
|
||||
const obj = { route, navigation, theme };
|
||||
tmp = fn(obj);
|
||||
}
|
||||
return Object.assign(acc, tmp);
|
||||
}, {});
|
||||
state = render(route, tmp, reduced, state.routes[index].state);
|
||||
const obj = {
|
||||
route,
|
||||
navigation: tmp,
|
||||
render() {
|
||||
return closure_0;
|
||||
},
|
||||
options: reduced
|
||||
};
|
||||
acc[route.key] = obj;
|
||||
return acc;
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
}, {});
|
||||
return {
|
||||
describe(route, arg1) {
|
||||
if (arg1) {
|
||||
if (typeof getOptions === "function") {
|
||||
dependencyMap = tmp7;
|
||||
const items = [closure_3, , ];
|
||||
if (dependencyMap[route.name].options) {
|
||||
const options = tmp10.options;
|
||||
const _Boolean = Boolean;
|
||||
let found = options.filter(Boolean);
|
||||
} else {
|
||||
found = [];
|
||||
}
|
||||
const arraySpreadResult = HermesBuiltin.arraySpread(found, 1);
|
||||
items[arraySpreadResult] = dependencyMap[route.name].props.options;
|
||||
items[arraySpreadResult + 1] = {};
|
||||
reduced = items.reduce((acc, fn) => {
|
||||
let tmp = fn;
|
||||
if (typeof fn === "function") {
|
||||
const obj = { route, navigation, theme };
|
||||
tmp = fn(obj);
|
||||
}
|
||||
return Object.assign(acc, tmp);
|
||||
}, {});
|
||||
route = render(route, tmp7, reduced, undefined);
|
||||
const obj2 = {
|
||||
route,
|
||||
navigation: tmp7,
|
||||
render() {
|
||||
return closure_0;
|
||||
},
|
||||
options: reduced
|
||||
};
|
||||
return obj2;
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
} else if (route.key in reduced) {
|
||||
return tmp[route.key];
|
||||
} else {
|
||||
const _Error = Error;
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error = new Error("Couldn't find a route with the key " + route.key + ".");
|
||||
throw error;
|
||||
}
|
||||
},
|
||||
descriptors: reduced
|
||||
};
|
||||
};
|
||||
202
alpha/source/__helpers/01xxx/1571__toPropertyKey.js
Normal file
202
alpha/source/__helpers/01xxx/1571__toPropertyKey.js
Normal file
|
|
@ -0,0 +1,202 @@
|
|||
// Module ID: 1571
|
||||
// Function ID: 1572
|
||||
// Name: _toPropertyKey
|
||||
// Dependencies: [109, 32, 19, 21, 1522, 1515, 1572, 1537, 1573, 1526]
|
||||
// Exports: useDescriptors
|
||||
|
||||
// Module 1571 (_toPropertyKey)
|
||||
import _objectWithoutProperties from "_objectWithoutProperties" /* 109 */;
|
||||
import _slicedToArray from "module_32" /* 32 */;
|
||||
import noop from "module_19" /* 19 */;
|
||||
|
||||
const require = fn;
|
||||
function _toPropertyKey(obj) {
|
||||
let StringResult = obj;
|
||||
if (typeof obj === "object") {
|
||||
StringResult = obj;
|
||||
if (obj) {
|
||||
const _Symbol = Symbol;
|
||||
if (undefined !== obj[Symbol.toPrimitive]) {
|
||||
const call = tmp3.call;
|
||||
if (typeof call === "unknown") {
|
||||
let callResult = tmp3("string");
|
||||
} else {
|
||||
callResult = call(obj, "string");
|
||||
}
|
||||
StringResult = callResult;
|
||||
if (typeof callResult === "object") {
|
||||
const _TypeError = TypeError;
|
||||
const typeError = new TypeError("@@toPrimitive must return a primitive value.");
|
||||
throw typeError;
|
||||
}
|
||||
} else {
|
||||
const _String = String;
|
||||
StringResult = String(obj);
|
||||
}
|
||||
}
|
||||
}
|
||||
let text = StringResult;
|
||||
if (typeof StringResult !== "symbol") {
|
||||
text = `${tmp}`;
|
||||
}
|
||||
return text;
|
||||
}
|
||||
const jsx = fn(21).jsx;
|
||||
|
||||
export const useDescriptors = function useDescriptors(state) {
|
||||
state = state.state;
|
||||
({ screens: dependencyMap, navigation } = state);
|
||||
({ screenOptions: _slicedToArray, screenLayout: noop, onAction } = state);
|
||||
const getState = state.getState;
|
||||
({ setState: closure_7, addListener } = state);
|
||||
const addKeyedListener = state.addKeyedListener;
|
||||
const onRouteFocus = state.onRouteFocus;
|
||||
c12 = undefined;
|
||||
c22 = undefined;
|
||||
c23 = undefined;
|
||||
({ router, emitter } = state);
|
||||
const theme = noop.useContext(state(1522).ThemeContext);
|
||||
[c12, tmp2] = noop.useState({});
|
||||
c13 = tmp2;
|
||||
const context = noop.useContext(state(1515).NavigationBuilderContext);
|
||||
const onDispatchAction = context.onDispatchAction;
|
||||
const onEmitEvent = context.onEmitEvent;
|
||||
const onOptionsChange = context.onOptionsChange;
|
||||
const scheduleUpdate = context.scheduleUpdate;
|
||||
const flushUpdates = context.flushUpdates;
|
||||
const stackRef = context.stackRef;
|
||||
const getIsStateEmitted = context.getIsStateEmitted;
|
||||
let items = [navigation, onAction, addListener, addKeyedListener, onRouteFocus, onDispatchAction, onEmitEvent, onOptionsChange, getIsStateEmitted, scheduleUpdate, flushUpdates, stackRef];
|
||||
value = noop.useMemo(() => ({ navigation, onAction, addListener, addKeyedListener, onRouteFocus, onDispatchAction, onEmitEvent, onOptionsChange, getIsStateEmitted, scheduleUpdate, flushUpdates, stackRef }), items);
|
||||
let tmp = _slicedToArray(noop.useState({}), 2);
|
||||
const navigationCache = state(1572).useNavigationCache({ state, getState, navigation, setOptions: tmp2, router, emitter });
|
||||
({ base: c22, navigations: c23 } = navigationCache);
|
||||
let obj = state(1572);
|
||||
const routeCache = state(1537).useRouteCache(state.routes);
|
||||
function getOptions(arg0, arg1, arg2) {
|
||||
|
||||
}
|
||||
function render(route, navigation, options, routeState) {
|
||||
closure_0 = route;
|
||||
const props = tmp.props;
|
||||
let layout = props.layout;
|
||||
if (layout == null) {
|
||||
layout = tmp.layout;
|
||||
}
|
||||
if (layout == null) {
|
||||
layout = closure_4;
|
||||
}
|
||||
const tmp5 = onAction(state(1573).SceneView, {
|
||||
navigation,
|
||||
route,
|
||||
screen: props,
|
||||
routeState,
|
||||
getState,
|
||||
setState,
|
||||
options,
|
||||
clearOptions() {
|
||||
return c13((arg0) => {
|
||||
if (route.key in arg0) {
|
||||
const items = [route.key];
|
||||
return navigation(arg0, items.map(getState));
|
||||
} else {
|
||||
return arg0;
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
let layoutResult = tmp5;
|
||||
if (null != layout) {
|
||||
const obj2 = { route, navigation, options, theme, children: tmp5 };
|
||||
layoutResult = layout(obj2);
|
||||
}
|
||||
const obj3 = { value, children: onAction(state(1526).NavigationProvider, { route, navigation, children: layoutResult }) };
|
||||
return onAction(state(1515).NavigationBuilderContext.Provider, obj3, route.key);
|
||||
}
|
||||
let reduced = routeCache.reduce((acc, route, index) => {
|
||||
if (typeof getOptions === "function") {
|
||||
state = route;
|
||||
dependencyMap = tmp;
|
||||
const items = [closure_3, , ];
|
||||
if (dependencyMap[route.name].options) {
|
||||
const options = tmp4.options;
|
||||
const _Boolean = Boolean;
|
||||
let found = options.filter(Boolean);
|
||||
} else {
|
||||
found = [];
|
||||
}
|
||||
const arraySpreadResult = HermesBuiltin.arraySpread(found, 1);
|
||||
items[arraySpreadResult] = dependencyMap[route.name].props.options;
|
||||
items[arraySpreadResult + 1] = tmp2;
|
||||
reduced = items.reduce((acc, fn) => {
|
||||
let tmp = fn;
|
||||
if (typeof fn === "function") {
|
||||
const obj = { route, navigation, theme };
|
||||
tmp = fn(obj);
|
||||
}
|
||||
return Object.assign(acc, tmp);
|
||||
}, {});
|
||||
state = render(route, tmp, reduced, state.routes[index].state);
|
||||
const obj = {
|
||||
route,
|
||||
navigation: tmp,
|
||||
render() {
|
||||
return closure_0;
|
||||
},
|
||||
options: reduced
|
||||
};
|
||||
acc[route.key] = obj;
|
||||
return acc;
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
}, {});
|
||||
return {
|
||||
describe(route, arg1) {
|
||||
if (arg1) {
|
||||
if (typeof getOptions === "function") {
|
||||
dependencyMap = tmp7;
|
||||
const items = [closure_3, , ];
|
||||
if (dependencyMap[route.name].options) {
|
||||
const options = tmp10.options;
|
||||
const _Boolean = Boolean;
|
||||
let found = options.filter(Boolean);
|
||||
} else {
|
||||
found = [];
|
||||
}
|
||||
const arraySpreadResult = HermesBuiltin.arraySpread(found, 1);
|
||||
items[arraySpreadResult] = dependencyMap[route.name].props.options;
|
||||
items[arraySpreadResult + 1] = {};
|
||||
reduced = items.reduce((acc, fn) => {
|
||||
let tmp = fn;
|
||||
if (typeof fn === "function") {
|
||||
const obj = { route, navigation, theme };
|
||||
tmp = fn(obj);
|
||||
}
|
||||
return Object.assign(acc, tmp);
|
||||
}, {});
|
||||
route = render(route, tmp7, reduced, undefined);
|
||||
const obj2 = {
|
||||
route,
|
||||
navigation: tmp7,
|
||||
render() {
|
||||
return closure_0;
|
||||
},
|
||||
options: reduced
|
||||
};
|
||||
return obj2;
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
} else if (route.key in reduced) {
|
||||
return tmp[route.key];
|
||||
} else {
|
||||
const _Error = Error;
|
||||
const _HermesInternal = HermesInternal;
|
||||
const error = new Error("Couldn't find a route with the key " + route.key + ".");
|
||||
throw error;
|
||||
}
|
||||
},
|
||||
descriptors: reduced
|
||||
};
|
||||
};
|
||||
|
|
@ -1,157 +0,0 @@
|
|||
// Module ID: 1647
|
||||
// Function ID: 1648
|
||||
// Name: _makeShareableClone
|
||||
// Dependencies: [32, 1648, 1649, 1641, 1650, 1651]
|
||||
// Exports: _updatePropsJS
|
||||
|
||||
// Module 1647 (_makeShareableClone)
|
||||
import _mod1648 from "module_1648" /* 1648 */;
|
||||
import _mod1649 from "module_1649" /* 1649 */;
|
||||
import _mod1650 from "module_1650" /* 1650 */;
|
||||
import _slicedToArray from "module_32" /* 32 */;
|
||||
|
||||
require = fn;
|
||||
global._makeShareableClone = () => {
|
||||
const reanimatedError = new _mod1648.ReanimatedError("`_makeShareableClone` should never be called from React runtime.");
|
||||
throw reanimatedError;
|
||||
};
|
||||
global._scheduleHostFunctionOnJS = () => {
|
||||
const reanimatedError = new _mod1648.ReanimatedError("`_scheduleOnJS` should never be called from React runtime.");
|
||||
throw reanimatedError;
|
||||
};
|
||||
global._scheduleOnRuntime = () => {
|
||||
const reanimatedError = new _mod1648.ReanimatedError("`_scheduleOnRuntime` should never be called from React runtime.");
|
||||
throw reanimatedError;
|
||||
};
|
||||
function setNativeProps(arg0, arg1, arg2) {
|
||||
|
||||
}
|
||||
function updatePropsDOM(arg0, arg1, arg2) {
|
||||
|
||||
}
|
||||
|
||||
export const createJSReanimatedModule = fn(1651).createJSReanimatedModule;
|
||||
export const _updatePropsJS = (arg0, getAnimatableRef, arg2) => {
|
||||
dependencyMap = arg0;
|
||||
if (getAnimatableRef) {
|
||||
let animatableRef = getAnimatableRef;
|
||||
if (getAnimatableRef.getAnimatableRef) {
|
||||
animatableRef = getAnimatableRef.getAnimatableRef();
|
||||
}
|
||||
const _Object = Object;
|
||||
const keys = Object.keys(arg0);
|
||||
const items = [{}, {}];
|
||||
const first = _slicedToArray(keys.reduce((acc, item) => {
|
||||
let num = 0;
|
||||
if (typeof dependencyMap[item] === "function") {
|
||||
num = 1;
|
||||
}
|
||||
acc[num][item] = dependencyMap[item];
|
||||
return acc;
|
||||
}, items), 1)[0];
|
||||
if (typeof animatableRef.setNativeProps === "function") {
|
||||
if (typeof setNativeProps === "function") {
|
||||
if (arg2) {
|
||||
const obj = {};
|
||||
for (const key10106 in first) {
|
||||
if (!_mod1650.PropsAllowlists.NATIVE_THREAD_PROPS_WHITELIST[key10106]) {
|
||||
continue;
|
||||
} else {
|
||||
obj[key10106] = first[key10106];
|
||||
continue;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
setNativeProps = animatableRef.setNativeProps;
|
||||
if (setNativeProps != null) {
|
||||
setNativeProps(obj);
|
||||
}
|
||||
}
|
||||
const tmp27 = animatableRef.previousStyle || {};
|
||||
const obj2 = {};
|
||||
const merged = Object.assign(tmp27);
|
||||
const merged1 = Object.assign(first);
|
||||
animatableRef.previousStyle = obj2;
|
||||
const setNativeProps2 = animatableRef.setNativeProps;
|
||||
if (setNativeProps2 != null) {
|
||||
const obj3 = { style: obj2 };
|
||||
setNativeProps2(obj3);
|
||||
}
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
} else {
|
||||
if (undefined !== _mod1649.createReactDOMStyle) {
|
||||
if (undefined !== animatableRef.style) {
|
||||
if (typeof updatePropsDOM === "function") {
|
||||
const tmp10 = animatableRef.previousStyle || {};
|
||||
const obj4 = {};
|
||||
const merged2 = Object.assign(tmp10);
|
||||
const merged3 = Object.assign(first);
|
||||
animatableRef.previousStyle = obj4;
|
||||
const reactDOMStyle = tmp36(1649).createReactDOMStyle(obj4);
|
||||
const _Array = Array;
|
||||
const tmp36Result = tmp36(1649);
|
||||
if (tmp18) {
|
||||
reactDOMStyle.transform = tmp36(1649).createTransformValue(reactDOMStyle.transform);
|
||||
const tmp36Result3 = tmp36(1649);
|
||||
}
|
||||
let tmp19 = undefined !== tmp36(1649).createTextShadowValue;
|
||||
if (tmp19) {
|
||||
tmp19 = reactDOMStyle.textShadowColor || reactDOMStyle.textShadowRadius || reactDOMStyle.textShadowOffset;
|
||||
const tmp20 = reactDOMStyle.textShadowColor || reactDOMStyle.textShadowRadius || reactDOMStyle.textShadowOffset;
|
||||
}
|
||||
if (tmp19) {
|
||||
({ textShadowColor: obj6.textShadowColor, textShadowOffset: obj6.textShadowOffset, textShadowRadius: obj6.textShadowRadius } = reactDOMStyle);
|
||||
reactDOMStyle.textShadow = tmp36(1649).createTextShadowValue({ textShadowColor: null, textShadowOffset: null, textShadowRadius: null });
|
||||
const obj5 = { textShadowColor: null, textShadowOffset: null, textShadowRadius: null };
|
||||
const tmp36Result4 = tmp36(1649);
|
||||
}
|
||||
for (const key10094 in reactDOMStyle) {
|
||||
if (arg2) {
|
||||
if ("INPUT" === animatableRef.nodeName) {
|
||||
if ("text" === key10094) {
|
||||
animatableRef.value = reactDOMStyle[key10094];
|
||||
continue;
|
||||
}
|
||||
}
|
||||
let attr = animatableRef.setAttribute(key10094, reactDOMStyle[key10094]);
|
||||
continue;
|
||||
} else {
|
||||
animatableRef.style[key10094] = reactDOMStyle[key10094];
|
||||
continue;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
tmp18 = Array.isArray(reactDOMStyle.transform) && undefined !== tmp36(1649).createTransformValue;
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
}
|
||||
}
|
||||
const _Object2 = Object;
|
||||
if (Object.keys(animatableRef.props).length > 0) {
|
||||
const _Object3 = Object;
|
||||
const keys1 = Object.keys(animatableRef.props);
|
||||
const item = keys1.forEach((item) => {
|
||||
if (first[item]) {
|
||||
const _touchableNode = animatableRef._touchableNode;
|
||||
const attr = _touchableNode.setAttribute(item.replace(/[A-Z]/g, (str) => "-" + str.toLowerCase()), tmp[item]);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
let str2 = "";
|
||||
if ("className" in animatableRef) {
|
||||
let className;
|
||||
if (animatableRef != null) {
|
||||
className = animatableRef.className;
|
||||
}
|
||||
str2 = className;
|
||||
}
|
||||
const logger = tmp36(1641).logger;
|
||||
const _HermesInternal = HermesInternal;
|
||||
logger.warn("It's not possible to manipulate the component " + str2);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
157
alpha/source/__helpers/01xxx/1648__makeShareableClone.js
Normal file
157
alpha/source/__helpers/01xxx/1648__makeShareableClone.js
Normal file
|
|
@ -0,0 +1,157 @@
|
|||
// Module ID: 1648
|
||||
// Function ID: 1649
|
||||
// Name: _makeShareableClone
|
||||
// Dependencies: [32, 1649, 1650, 1642, 1651, 1652]
|
||||
// Exports: _updatePropsJS
|
||||
|
||||
// Module 1648 (_makeShareableClone)
|
||||
import _mod1649 from "module_1649" /* 1649 */;
|
||||
import _mod1650 from "module_1650" /* 1650 */;
|
||||
import _mod1651 from "module_1651" /* 1651 */;
|
||||
import _slicedToArray from "module_32" /* 32 */;
|
||||
|
||||
require = fn;
|
||||
global._makeShareableClone = () => {
|
||||
const reanimatedError = new _mod1649.ReanimatedError("`_makeShareableClone` should never be called from React runtime.");
|
||||
throw reanimatedError;
|
||||
};
|
||||
global._scheduleHostFunctionOnJS = () => {
|
||||
const reanimatedError = new _mod1649.ReanimatedError("`_scheduleOnJS` should never be called from React runtime.");
|
||||
throw reanimatedError;
|
||||
};
|
||||
global._scheduleOnRuntime = () => {
|
||||
const reanimatedError = new _mod1649.ReanimatedError("`_scheduleOnRuntime` should never be called from React runtime.");
|
||||
throw reanimatedError;
|
||||
};
|
||||
function setNativeProps(arg0, arg1, arg2) {
|
||||
|
||||
}
|
||||
function updatePropsDOM(arg0, arg1, arg2) {
|
||||
|
||||
}
|
||||
|
||||
export const createJSReanimatedModule = fn(1652).createJSReanimatedModule;
|
||||
export const _updatePropsJS = (arg0, getAnimatableRef, arg2) => {
|
||||
dependencyMap = arg0;
|
||||
if (getAnimatableRef) {
|
||||
let animatableRef = getAnimatableRef;
|
||||
if (getAnimatableRef.getAnimatableRef) {
|
||||
animatableRef = getAnimatableRef.getAnimatableRef();
|
||||
}
|
||||
const _Object = Object;
|
||||
const keys = Object.keys(arg0);
|
||||
const items = [{}, {}];
|
||||
const first = _slicedToArray(keys.reduce((acc, item) => {
|
||||
let num = 0;
|
||||
if (typeof dependencyMap[item] === "function") {
|
||||
num = 1;
|
||||
}
|
||||
acc[num][item] = dependencyMap[item];
|
||||
return acc;
|
||||
}, items), 1)[0];
|
||||
if (typeof animatableRef.setNativeProps === "function") {
|
||||
if (typeof setNativeProps === "function") {
|
||||
if (arg2) {
|
||||
const obj = {};
|
||||
for (const key10106 in first) {
|
||||
if (!_mod1651.PropsAllowlists.NATIVE_THREAD_PROPS_WHITELIST[key10106]) {
|
||||
continue;
|
||||
} else {
|
||||
obj[key10106] = first[key10106];
|
||||
continue;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
setNativeProps = animatableRef.setNativeProps;
|
||||
if (setNativeProps != null) {
|
||||
setNativeProps(obj);
|
||||
}
|
||||
}
|
||||
const tmp27 = animatableRef.previousStyle || {};
|
||||
const obj2 = {};
|
||||
const merged = Object.assign(tmp27);
|
||||
const merged1 = Object.assign(first);
|
||||
animatableRef.previousStyle = obj2;
|
||||
const setNativeProps2 = animatableRef.setNativeProps;
|
||||
if (setNativeProps2 != null) {
|
||||
const obj3 = { style: obj2 };
|
||||
setNativeProps2(obj3);
|
||||
}
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
} else {
|
||||
if (undefined !== _mod1650.createReactDOMStyle) {
|
||||
if (undefined !== animatableRef.style) {
|
||||
if (typeof updatePropsDOM === "function") {
|
||||
const tmp10 = animatableRef.previousStyle || {};
|
||||
const obj4 = {};
|
||||
const merged2 = Object.assign(tmp10);
|
||||
const merged3 = Object.assign(first);
|
||||
animatableRef.previousStyle = obj4;
|
||||
const reactDOMStyle = tmp36(1650).createReactDOMStyle(obj4);
|
||||
const _Array = Array;
|
||||
const tmp36Result = tmp36(1650);
|
||||
if (tmp18) {
|
||||
reactDOMStyle.transform = tmp36(1650).createTransformValue(reactDOMStyle.transform);
|
||||
const tmp36Result3 = tmp36(1650);
|
||||
}
|
||||
let tmp19 = undefined !== tmp36(1650).createTextShadowValue;
|
||||
if (tmp19) {
|
||||
tmp19 = reactDOMStyle.textShadowColor || reactDOMStyle.textShadowRadius || reactDOMStyle.textShadowOffset;
|
||||
const tmp20 = reactDOMStyle.textShadowColor || reactDOMStyle.textShadowRadius || reactDOMStyle.textShadowOffset;
|
||||
}
|
||||
if (tmp19) {
|
||||
({ textShadowColor: obj6.textShadowColor, textShadowOffset: obj6.textShadowOffset, textShadowRadius: obj6.textShadowRadius } = reactDOMStyle);
|
||||
reactDOMStyle.textShadow = tmp36(1650).createTextShadowValue({ textShadowColor: null, textShadowOffset: null, textShadowRadius: null });
|
||||
const obj5 = { textShadowColor: null, textShadowOffset: null, textShadowRadius: null };
|
||||
const tmp36Result4 = tmp36(1650);
|
||||
}
|
||||
for (const key10094 in reactDOMStyle) {
|
||||
if (arg2) {
|
||||
if ("INPUT" === animatableRef.nodeName) {
|
||||
if ("text" === key10094) {
|
||||
animatableRef.value = reactDOMStyle[key10094];
|
||||
continue;
|
||||
}
|
||||
}
|
||||
let attr = animatableRef.setAttribute(key10094, reactDOMStyle[key10094]);
|
||||
continue;
|
||||
} else {
|
||||
animatableRef.style[key10094] = reactDOMStyle[key10094];
|
||||
continue;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
tmp18 = Array.isArray(reactDOMStyle.transform) && undefined !== tmp36(1650).createTransformValue;
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
}
|
||||
}
|
||||
const _Object2 = Object;
|
||||
if (Object.keys(animatableRef.props).length > 0) {
|
||||
const _Object3 = Object;
|
||||
const keys1 = Object.keys(animatableRef.props);
|
||||
const item = keys1.forEach((item) => {
|
||||
if (first[item]) {
|
||||
const _touchableNode = animatableRef._touchableNode;
|
||||
const attr = _touchableNode.setAttribute(item.replace(/[A-Z]/g, (str) => "-" + str.toLowerCase()), tmp[item]);
|
||||
}
|
||||
});
|
||||
} else {
|
||||
let str2 = "";
|
||||
if ("className" in animatableRef) {
|
||||
let className;
|
||||
if (animatableRef != null) {
|
||||
className = animatableRef.className;
|
||||
}
|
||||
str2 = className;
|
||||
}
|
||||
const logger = tmp36(1642).logger;
|
||||
const _HermesInternal = HermesInternal;
|
||||
logger.warn("It's not possible to manipulate the component " + str2);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
// Module ID: 1922
|
||||
// Function ID: 1923
|
||||
// Name: _default2
|
||||
// Dependencies: [1923, 1317]
|
||||
|
||||
// Module 1922 (_default2)
|
||||
import CanonicalizeLocaleList from "CanonicalizeLocaleList" /* 1923 */;
|
||||
import module_1317 from "module_1317" /* 1317 */;
|
||||
|
||||
global.IntlPolyfill = CanonicalizeLocaleList.default;
|
||||
if (!global.Intl) {
|
||||
global.Intl = CanonicalizeLocaleList.default;
|
||||
const result = CanonicalizeLocaleList.default.__applyLocaleSensitivePrototypes();
|
||||
const _default = CanonicalizeLocaleList.default;
|
||||
}
|
||||
const _default2 = CanonicalizeLocaleList.default;
|
||||
_default2.default = CanonicalizeLocaleList.default;
|
||||
|
||||
export default _default2;
|
||||
19
alpha/source/__helpers/01xxx/1923__default2.js
Normal file
19
alpha/source/__helpers/01xxx/1923__default2.js
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
// Module ID: 1923
|
||||
// Function ID: 1924
|
||||
// Name: _default2
|
||||
// Dependencies: [1924, 1317]
|
||||
|
||||
// Module 1923 (_default2)
|
||||
import CanonicalizeLocaleList from "CanonicalizeLocaleList" /* 1924 */;
|
||||
import module_1317 from "module_1317" /* 1317 */;
|
||||
|
||||
global.IntlPolyfill = CanonicalizeLocaleList.default;
|
||||
if (!global.Intl) {
|
||||
global.Intl = CanonicalizeLocaleList.default;
|
||||
const result = CanonicalizeLocaleList.default.__applyLocaleSensitivePrototypes();
|
||||
const _default = CanonicalizeLocaleList.default;
|
||||
}
|
||||
const _default2 = CanonicalizeLocaleList.default;
|
||||
_default2.default = CanonicalizeLocaleList.default;
|
||||
|
||||
export default _default2;
|
||||
|
|
@ -1,174 +0,0 @@
|
|||
// Module ID: 4438
|
||||
// Function ID: 4439
|
||||
// Name: _
|
||||
// Dependencies: [4418]
|
||||
|
||||
// Module 4438 (_)
|
||||
import _mod4418 from "module_4418" /* 4418 */;
|
||||
|
||||
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(_mod4418);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (typeof globalThis.define === "function") {
|
||||
if (globalThis.define.amd) {
|
||||
globalThis.define(["../moment"], fn);
|
||||
}
|
||||
}
|
||||
fn(this.moment);
|
||||
174
alpha/source/__helpers/04xxx/4441__.js
Normal file
174
alpha/source/__helpers/04xxx/4441__.js
Normal file
|
|
@ -0,0 +1,174 @@
|
|||
// Module ID: 4441
|
||||
// Function ID: 4442
|
||||
// Name: _
|
||||
// Dependencies: [4421]
|
||||
|
||||
// Module 4441 (_)
|
||||
import _mod4421 from "module_4421" /* 4421 */;
|
||||
|
||||
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(_mod4421);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (typeof globalThis.define === "function") {
|
||||
if (globalThis.define.amd) {
|
||||
globalThis.define(["../moment"], fn);
|
||||
}
|
||||
}
|
||||
fn(this.moment);
|
||||
|
|
@ -1,438 +0,0 @@
|
|||
// Module ID: 4588
|
||||
// Function ID: 4589
|
||||
// Name: _fromURL
|
||||
// Dependencies: [5, 17, 4560]
|
||||
|
||||
// Module 4588 (_fromURL)
|
||||
import "asyncGeneratorStep";
|
||||
|
||||
fn(17).Image;
|
||||
const NitroModules = fn(4560).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: "flex", 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: "flex", 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: "flex", 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: "flex", 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: "flex", 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
alpha/source/__helpers/04xxx/4591__fromURL.js
Normal file
438
alpha/source/__helpers/04xxx/4591__fromURL.js
Normal file
|
|
@ -0,0 +1,438 @@
|
|||
// Module ID: 4591
|
||||
// Function ID: 4592
|
||||
// Name: _fromURL
|
||||
// Dependencies: [5, 17, 4563]
|
||||
|
||||
// Module 4591 (_fromURL)
|
||||
import "asyncGeneratorStep";
|
||||
|
||||
fn(17).Image;
|
||||
const NitroModules = fn(4563).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: "flex", 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: "flex", 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: "flex", 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: "flex", 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: "flex", 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: 4603
|
||||
// Function ID: 4604
|
||||
// Name: _temp2
|
||||
// Dependencies: [32, 19, 4583, 4597]
|
||||
// Exports: useRiveList
|
||||
|
||||
// Module 4603 (_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(4597).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(4597);
|
||||
}
|
||||
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: 4606
|
||||
// Function ID: 4607
|
||||
// Name: _initialize
|
||||
// Dependencies: [5, 4560]
|
||||
|
||||
// Module 4606 (_initialize)
|
||||
import "asyncGeneratorStep";
|
||||
|
||||
const NitroModules = fn(4560).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;
|
||||
}
|
||||
};
|
||||
388
alpha/source/__helpers/04xxx/4606__temp2.js
Normal file
388
alpha/source/__helpers/04xxx/4606__temp2.js
Normal file
|
|
@ -0,0 +1,388 @@
|
|||
// Module ID: 4606
|
||||
// Function ID: 4607
|
||||
// Name: _temp2
|
||||
// Dependencies: [32, 19, 4586, 4600]
|
||||
// Exports: useRiveList
|
||||
|
||||
// Module 4606 (_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(4600).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(4600);
|
||||
}
|
||||
const items2 = [arg1, arg0];
|
||||
cResult[7] = arg0;
|
||||
cResult[8] = arg1;
|
||||
cResult[9] = items2;
|
||||
tmp12 = items2;
|
||||
}
|
||||
const fn2 = function v() {
|
||||
if (closure_1) {
|
||||
return obj.listProperty(closure_0);
|
||||
}
|
||||
obj = closure_1;
|
||||
};
|
||||
cResult[4] = arg0;
|
||||
cResult[5] = arg1;
|
||||
cResult[6] = fn2;
|
||||
tmp11 = fn2;
|
||||
}
|
||||
const items3 = [arg0, arg1];
|
||||
cResult[1] = arg0;
|
||||
cResult[2] = arg1;
|
||||
cResult[3] = items3;
|
||||
tmp8 = items3;
|
||||
};
|
||||
96
alpha/source/__helpers/04xxx/4609__initialize.js
Normal file
96
alpha/source/__helpers/04xxx/4609__initialize.js
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
// Module ID: 4609
|
||||
// Function ID: 4610
|
||||
// Name: _initialize
|
||||
// Dependencies: [5, 4563]
|
||||
|
||||
// Module 4609 (_initialize)
|
||||
import "asyncGeneratorStep";
|
||||
|
||||
const NitroModules = fn(4563).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: 4804
|
||||
// Function ID: 4805
|
||||
// Name: _playHaptic
|
||||
// Dependencies: [5, 17, 4800]
|
||||
// Exports: playHaptic
|
||||
|
||||
// Module 4804 (_playHaptic)
|
||||
import _modDef4800 from "module_4800" /* 4800 */;
|
||||
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 = _modDef4800;
|
||||
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
alpha/source/__helpers/04xxx/4808__playHaptic.js
Normal file
66
alpha/source/__helpers/04xxx/4808__playHaptic.js
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
// Module ID: 4808
|
||||
// Function ID: 4809
|
||||
// Name: _playHaptic
|
||||
// Dependencies: [5, 17, 4804]
|
||||
// Exports: playHaptic
|
||||
|
||||
// Module 4808 (_playHaptic)
|
||||
import _modDef4804 from "module_4804" /* 4804 */;
|
||||
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 = _modDef4804;
|
||||
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: 5963
|
||||
// Function ID: 5964
|
||||
// Name: __react_navigation__elements_contexts
|
||||
// Dependencies: [19]
|
||||
// Exports: getNamedContext
|
||||
|
||||
// Module 5963 (__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: 5968
|
||||
// Function ID: 5969
|
||||
// Name: __react_navigation__elements_contexts
|
||||
// Dependencies: [19]
|
||||
// Exports: getNamedContext
|
||||
|
||||
// Module 5968 (__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: 8010
|
||||
// Function ID: 8011
|
||||
// Name: _fetchText
|
||||
// Dependencies: [5, 17, 1252]
|
||||
// Exports: fetchText
|
||||
|
||||
// Module 8010 (_fetchText)
|
||||
import Buffer from "Buffer" /* 1252 */;
|
||||
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
alpha/source/__helpers/08xxx/8018__fetchText.js
Normal file
106
alpha/source/__helpers/08xxx/8018__fetchText.js
Normal file
|
|
@ -0,0 +1,106 @@
|
|||
// Module ID: 8018
|
||||
// Function ID: 8019
|
||||
// Name: _fetchText
|
||||
// Dependencies: [5, 17, 1252]
|
||||
// Exports: fetchText
|
||||
|
||||
// Module 8018 (_fetchText)
|
||||
import Buffer from "Buffer" /* 1252 */;
|
||||
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: 9143
|
||||
// Function ID: 9144
|
||||
// Name: _asyncLoop
|
||||
// Dependencies: [41, 42, 5, 9144, 9145]
|
||||
// Exports: asyncLoop, byteSwap, byteSwap32, bytesToHex, checkOpts, concatBytes, createView, hexToBytes, isBytes, nextTick, randomBytes, rotl, rotr, toBytes, u32, u8, utf8ToBytes, wrapConstructor, wrapConstructorWithOpts, wrapXOFConstructorWithOpts
|
||||
|
||||
// Module 9143 (_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(9144).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(9144).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(9144).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(9144).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(9144).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(9144).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(9145).crypto) {
|
||||
if (typeof tmp(9145).crypto.getRandomValues === "function") {
|
||||
const _crypto2 = tmp(9145).crypto;
|
||||
const _Uint8Array = Uint8Array;
|
||||
const uint8Array = new Uint8Array(num);
|
||||
return _crypto2.getRandomValues(uint8Array);
|
||||
}
|
||||
}
|
||||
if (Hash(9145).crypto) {
|
||||
if (typeof tmp(9145).crypto.randomBytes === "function") {
|
||||
const _crypto = tmp(9145).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
alpha/source/__helpers/09xxx/9154__asyncLoop.js
Normal file
451
alpha/source/__helpers/09xxx/9154__asyncLoop.js
Normal file
|
|
@ -0,0 +1,451 @@
|
|||
// Module ID: 9154
|
||||
// Function ID: 9155
|
||||
// Name: _asyncLoop
|
||||
// Dependencies: [41, 42, 5, 9155, 9156]
|
||||
// Exports: asyncLoop, byteSwap, byteSwap32, bytesToHex, checkOpts, concatBytes, createView, hexToBytes, isBytes, nextTick, randomBytes, rotl, rotr, toBytes, u32, u8, utf8ToBytes, wrapConstructor, wrapConstructorWithOpts, wrapXOFConstructorWithOpts
|
||||
|
||||
// Module 9154 (_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(9155).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(9155).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(9155).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(9155).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(9155).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(9155).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(9156).crypto) {
|
||||
if (typeof tmp(9156).crypto.getRandomValues === "function") {
|
||||
const _crypto2 = tmp(9156).crypto;
|
||||
const _Uint8Array = Uint8Array;
|
||||
const uint8Array = new Uint8Array(num);
|
||||
return _crypto2.getRandomValues(uint8Array);
|
||||
}
|
||||
}
|
||||
if (Hash(9156).crypto) {
|
||||
if (typeof tmp(9156).crypto.randomBytes === "function") {
|
||||
const _crypto = tmp(9156).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: 10787
|
||||
// Function ID: 10788
|
||||
// Name: _pickDirectory
|
||||
// Dependencies: [5, 17, 10783]
|
||||
// Exports: pickDirectory
|
||||
|
||||
// Module 10787 (_pickDirectory)
|
||||
import _mod10783 from "module_10783" /* 10783 */;
|
||||
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 = _mod10783.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: 10788
|
||||
// Function ID: 10789
|
||||
// Name: _pick
|
||||
// Dependencies: [5, 17, 10785, 10783, 10789]
|
||||
// Exports: pick
|
||||
|
||||
// Module 10788 (_pick)
|
||||
import _mod10783 from "module_10783" /* 10783 */;
|
||||
import _mod10785 from "module_10785" /* 10785 */;
|
||||
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 = [_mod10785.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 = _mod10783.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: 10790
|
||||
// Function ID: 10791
|
||||
// Name: _saveDocuments
|
||||
// Dependencies: [5, 17, 10783]
|
||||
// Exports: saveDocuments
|
||||
|
||||
// Module 10790 (_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(10783).NativeDocumentPicker;
|
||||
closure_128_0 = await NativeDocumentPicker2.saveDocument(tmp2);
|
||||
const NativeDocumentPicker = tmp2(10783).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
alpha/source/__helpers/10xxx/10800__pickDirectory.js
Normal file
60
alpha/source/__helpers/10xxx/10800__pickDirectory.js
Normal file
|
|
@ -0,0 +1,60 @@
|
|||
// Module ID: 10800
|
||||
// Function ID: 10801
|
||||
// Name: _pickDirectory
|
||||
// Dependencies: [5, 17, 10796]
|
||||
// Exports: pickDirectory
|
||||
|
||||
// Module 10800 (_pickDirectory)
|
||||
import _mod10796 from "module_10796" /* 10796 */;
|
||||
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 = _mod10796.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
alpha/source/__helpers/10xxx/10801__pick.js
Normal file
135
alpha/source/__helpers/10xxx/10801__pick.js
Normal file
|
|
@ -0,0 +1,135 @@
|
|||
// Module ID: 10801
|
||||
// Function ID: 10802
|
||||
// Name: _pick
|
||||
// Dependencies: [5, 17, 10798, 10796, 10802]
|
||||
// Exports: pick
|
||||
|
||||
// Module 10801 (_pick)
|
||||
import _mod10796 from "module_10796" /* 10796 */;
|
||||
import _mod10798 from "module_10798" /* 10798 */;
|
||||
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 = [_mod10798.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 = _mod10796.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
alpha/source/__helpers/10xxx/10803__saveDocuments.js
Normal file
41
alpha/source/__helpers/10xxx/10803__saveDocuments.js
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
// Module ID: 10803
|
||||
// Function ID: 10804
|
||||
// Name: _saveDocuments
|
||||
// Dependencies: [5, 17, 10796]
|
||||
// Exports: saveDocuments
|
||||
|
||||
// Module 10803 (_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(10796).NativeDocumentPicker;
|
||||
closure_128_0 = await NativeDocumentPicker2.saveDocument(tmp2);
|
||||
const NativeDocumentPicker = tmp2(10796).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: 12343
|
||||
// Function ID: 12344
|
||||
// Name: _flush
|
||||
// Dependencies: [5, 12322, 12344, 12323, 12295, 12306, 12309, 12302, 12332, 12296, 12318]
|
||||
// Exports: addEventProcessor, captureCheckIn, captureEvent, captureException, captureMessage, captureSession, close, flush, isEnabled, isInitialized, lastEventId, setContext, setExtra, setExtras, setTag, setTags, setUser, startSession, withMonitor
|
||||
|
||||
// Module 12343 (_flush)
|
||||
import _mod12296 from "module_12296" /* 12296 */;
|
||||
import _mod12306 from "module_12306" /* 12306 */;
|
||||
import _mod12309 from "module_12309" /* 12309 */;
|
||||
import _mod12318 from "module_12318" /* 12318 */;
|
||||
import _mod12322 from "module_12322" /* 12322 */;
|
||||
import _mod12344 from "module_12344" /* 12344 */;
|
||||
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_12322").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_12322");
|
||||
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_12322").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_12322");
|
||||
tmp13 = closure_0;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c1 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
function endSession() {
|
||||
const isolationScope = _mod12322.getIsolationScope();
|
||||
const currentScope = _mod12322.getCurrentScope();
|
||||
const tmp3 = currentScope.getSession() || isolationScope.getSession();
|
||||
if (tmp3) {
|
||||
tmp(12318).closeSession(tmp3);
|
||||
const tmpResult = tmp(12318);
|
||||
}
|
||||
const isolationScope1 = _mod12322.getIsolationScope();
|
||||
const tmpResult4 = _mod12322;
|
||||
const currentScope1 = _mod12322.getCurrentScope();
|
||||
const tmpResult5 = _mod12322;
|
||||
const client = _mod12322.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 = _mod12322.getIsolationScope();
|
||||
isolationScope.addEventProcessor(arg0);
|
||||
};
|
||||
export const captureCheckIn = function captureCheckIn(arg0, arg1) {
|
||||
const currentScope = _mod12322.getCurrentScope();
|
||||
const client = _mod12322.getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
return client.captureCheckIn(arg0, arg1, currentScope);
|
||||
} else if (tmp(12323).DEBUG_BUILD) {
|
||||
const logger2 = tmp(12295).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
} else if (tmp(12323).DEBUG_BUILD) {
|
||||
const logger = tmp(12295).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
return _mod12306.uuid4();
|
||||
};
|
||||
export const captureEvent = function captureEvent(arg0, arg1) {
|
||||
const currentScope = _mod12322.getCurrentScope();
|
||||
return currentScope.captureEvent(arg0, arg1);
|
||||
};
|
||||
export const captureException = function captureException(arg0, arg1) {
|
||||
const currentScope = _mod12322.getCurrentScope();
|
||||
return currentScope.captureException(arg0, _mod12344.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 = _mod12322.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 = _mod12322.getIsolationScope();
|
||||
const currentScope = _mod12322.getCurrentScope();
|
||||
const client = _mod12322.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 = _mod12322.getClient();
|
||||
let transport = client;
|
||||
if (transport) {
|
||||
transport = false !== client.getOptions().enabled;
|
||||
}
|
||||
if (transport) {
|
||||
transport = client.getTransport();
|
||||
}
|
||||
return transport;
|
||||
};
|
||||
export const isInitialized = function isInitialized() {
|
||||
return _mod12322.getClient();
|
||||
};
|
||||
export const lastEventId = function lastEventId() {
|
||||
const isolationScope = _mod12322.getIsolationScope();
|
||||
return isolationScope.lastEventId();
|
||||
};
|
||||
export const setContext = function setContext(arg0, arg1) {
|
||||
const isolationScope = _mod12322.getIsolationScope();
|
||||
isolationScope.setContext(arg0, arg1);
|
||||
};
|
||||
export const setExtra = function setExtra(arg0, arg1) {
|
||||
const isolationScope = _mod12322.getIsolationScope();
|
||||
isolationScope.setExtra(arg0, arg1);
|
||||
};
|
||||
export const setExtras = function setExtras(arg0) {
|
||||
const isolationScope = _mod12322.getIsolationScope();
|
||||
isolationScope.setExtras(arg0);
|
||||
};
|
||||
export const setTag = function setTag(arg0, arg1) {
|
||||
const isolationScope = _mod12322.getIsolationScope();
|
||||
isolationScope.setTag(arg0, arg1);
|
||||
};
|
||||
export const setTags = function setTags(arg0) {
|
||||
const isolationScope = _mod12322.getIsolationScope();
|
||||
isolationScope.setTags(arg0);
|
||||
};
|
||||
export const setUser = function setUser(arg0) {
|
||||
const isolationScope = _mod12322.getIsolationScope();
|
||||
isolationScope.setUser(arg0);
|
||||
};
|
||||
export const startSession = function startSession(arg0) {
|
||||
const client = _mod12322.getClient();
|
||||
const isolationScope = _mod12322.getIsolationScope();
|
||||
const currentScope = _mod12322.getCurrentScope();
|
||||
let options = client;
|
||||
if (client) {
|
||||
options = client.getOptions();
|
||||
}
|
||||
if (!options) {
|
||||
options = {};
|
||||
}
|
||||
({ environment, release } = options);
|
||||
if (undefined === environment) {
|
||||
environment = tmp(12332).DEFAULT_ENVIRONMENT;
|
||||
}
|
||||
const userAgent = _mod12296.GLOBAL_OBJ.navigator || {}.userAgent;
|
||||
const tmp3 = _mod12296.GLOBAL_OBJ.navigator || {};
|
||||
const obj2 = { release, environment, user: null };
|
||||
const tmpResult = _mod12318;
|
||||
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(12318).updateSession(session1, { status: "exited" });
|
||||
const tmpResult2 = tmp(12318);
|
||||
}
|
||||
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: _mod12309.timestampInSeconds() - closure_3 };
|
||||
const currentScope = _mod12322.getCurrentScope();
|
||||
const client = _mod12322.getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
captureCheckInResult = client.captureCheckIn(obj, undefined, currentScope);
|
||||
} else if (tmp(12323).DEBUG_BUILD) {
|
||||
const logger2 = tmp(12295).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
} else if (tmp(12323).DEBUG_BUILD) {
|
||||
const logger = tmp(12295).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
_mod12306.uuid4();
|
||||
}
|
||||
let currentScope = require("module_12322").getCurrentScope();
|
||||
let obj = { monitorSlug, status: "in_progress" };
|
||||
let obj2 = require("module_12322");
|
||||
let client = require("module_12322").getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
let captureCheckInResult = client.captureCheckIn(obj, arg2, currentScope);
|
||||
} else if (tmp(12323).DEBUG_BUILD) {
|
||||
let logger2 = tmp(12295).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
asyncGeneratorStep = captureCheckInResult;
|
||||
closure_3 = tmp(12309).timestampInSeconds();
|
||||
const tmpResult = tmp(12309);
|
||||
return tmp(12322).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(12323).DEBUG_BUILD) {
|
||||
let logger = tmp(12295).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
let obj3 = require("module_12322");
|
||||
captureCheckInResult = require("module_12306").uuid4();
|
||||
};
|
||||
358
alpha/source/__helpers/12xxx/12361__flush.js
Normal file
358
alpha/source/__helpers/12xxx/12361__flush.js
Normal file
|
|
@ -0,0 +1,358 @@
|
|||
// Module ID: 12361
|
||||
// Function ID: 12362
|
||||
// Name: _flush
|
||||
// Dependencies: [5, 12340, 12362, 12341, 12313, 12324, 12327, 12320, 12350, 12314, 12336]
|
||||
// Exports: addEventProcessor, captureCheckIn, captureEvent, captureException, captureMessage, captureSession, close, flush, isEnabled, isInitialized, lastEventId, setContext, setExtra, setExtras, setTag, setTags, setUser, startSession, withMonitor
|
||||
|
||||
// Module 12361 (_flush)
|
||||
import _mod12314 from "module_12314" /* 12314 */;
|
||||
import _mod12324 from "module_12324" /* 12324 */;
|
||||
import _mod12327 from "module_12327" /* 12327 */;
|
||||
import _mod12336 from "module_12336" /* 12336 */;
|
||||
import _mod12340 from "module_12340" /* 12340 */;
|
||||
import _mod12362 from "module_12362" /* 12362 */;
|
||||
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_12340").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_12340");
|
||||
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_12340").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_12340");
|
||||
tmp13 = closure_0;
|
||||
}
|
||||
} catch (tmp8) {
|
||||
c1 = tmp;
|
||||
throw tmp8;
|
||||
}
|
||||
}
|
||||
};
|
||||
function endSession() {
|
||||
const isolationScope = _mod12340.getIsolationScope();
|
||||
const currentScope = _mod12340.getCurrentScope();
|
||||
const tmp3 = currentScope.getSession() || isolationScope.getSession();
|
||||
if (tmp3) {
|
||||
tmp(12336).closeSession(tmp3);
|
||||
const tmpResult = tmp(12336);
|
||||
}
|
||||
const isolationScope1 = _mod12340.getIsolationScope();
|
||||
const tmpResult4 = _mod12340;
|
||||
const currentScope1 = _mod12340.getCurrentScope();
|
||||
const tmpResult5 = _mod12340;
|
||||
const client = _mod12340.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 = _mod12340.getIsolationScope();
|
||||
isolationScope.addEventProcessor(arg0);
|
||||
};
|
||||
export const captureCheckIn = function captureCheckIn(arg0, arg1) {
|
||||
const currentScope = _mod12340.getCurrentScope();
|
||||
const client = _mod12340.getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
return client.captureCheckIn(arg0, arg1, currentScope);
|
||||
} else if (tmp(12341).DEBUG_BUILD) {
|
||||
const logger2 = tmp(12313).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
} else if (tmp(12341).DEBUG_BUILD) {
|
||||
const logger = tmp(12313).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
return _mod12324.uuid4();
|
||||
};
|
||||
export const captureEvent = function captureEvent(arg0, arg1) {
|
||||
const currentScope = _mod12340.getCurrentScope();
|
||||
return currentScope.captureEvent(arg0, arg1);
|
||||
};
|
||||
export const captureException = function captureException(arg0, arg1) {
|
||||
const currentScope = _mod12340.getCurrentScope();
|
||||
return currentScope.captureException(arg0, _mod12362.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 = _mod12340.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 = _mod12340.getIsolationScope();
|
||||
const currentScope = _mod12340.getCurrentScope();
|
||||
const client = _mod12340.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 = _mod12340.getClient();
|
||||
let transport = client;
|
||||
if (transport) {
|
||||
transport = false !== client.getOptions().enabled;
|
||||
}
|
||||
if (transport) {
|
||||
transport = client.getTransport();
|
||||
}
|
||||
return transport;
|
||||
};
|
||||
export const isInitialized = function isInitialized() {
|
||||
return _mod12340.getClient();
|
||||
};
|
||||
export const lastEventId = function lastEventId() {
|
||||
const isolationScope = _mod12340.getIsolationScope();
|
||||
return isolationScope.lastEventId();
|
||||
};
|
||||
export const setContext = function setContext(arg0, arg1) {
|
||||
const isolationScope = _mod12340.getIsolationScope();
|
||||
isolationScope.setContext(arg0, arg1);
|
||||
};
|
||||
export const setExtra = function setExtra(arg0, arg1) {
|
||||
const isolationScope = _mod12340.getIsolationScope();
|
||||
isolationScope.setExtra(arg0, arg1);
|
||||
};
|
||||
export const setExtras = function setExtras(arg0) {
|
||||
const isolationScope = _mod12340.getIsolationScope();
|
||||
isolationScope.setExtras(arg0);
|
||||
};
|
||||
export const setTag = function setTag(arg0, arg1) {
|
||||
const isolationScope = _mod12340.getIsolationScope();
|
||||
isolationScope.setTag(arg0, arg1);
|
||||
};
|
||||
export const setTags = function setTags(arg0) {
|
||||
const isolationScope = _mod12340.getIsolationScope();
|
||||
isolationScope.setTags(arg0);
|
||||
};
|
||||
export const setUser = function setUser(arg0) {
|
||||
const isolationScope = _mod12340.getIsolationScope();
|
||||
isolationScope.setUser(arg0);
|
||||
};
|
||||
export const startSession = function startSession(arg0) {
|
||||
const client = _mod12340.getClient();
|
||||
const isolationScope = _mod12340.getIsolationScope();
|
||||
const currentScope = _mod12340.getCurrentScope();
|
||||
let options = client;
|
||||
if (client) {
|
||||
options = client.getOptions();
|
||||
}
|
||||
if (!options) {
|
||||
options = {};
|
||||
}
|
||||
({ environment, release } = options);
|
||||
if (undefined === environment) {
|
||||
environment = tmp(12350).DEFAULT_ENVIRONMENT;
|
||||
}
|
||||
const userAgent = _mod12314.GLOBAL_OBJ.navigator || {}.userAgent;
|
||||
const tmp3 = _mod12314.GLOBAL_OBJ.navigator || {};
|
||||
const obj2 = { release, environment, user: null };
|
||||
const tmpResult = _mod12336;
|
||||
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(12336).updateSession(session1, { status: "exited" });
|
||||
const tmpResult2 = tmp(12336);
|
||||
}
|
||||
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: _mod12327.timestampInSeconds() - closure_3 };
|
||||
const currentScope = _mod12340.getCurrentScope();
|
||||
const client = _mod12340.getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
captureCheckInResult = client.captureCheckIn(obj, undefined, currentScope);
|
||||
} else if (tmp(12341).DEBUG_BUILD) {
|
||||
const logger2 = tmp(12313).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
} else if (tmp(12341).DEBUG_BUILD) {
|
||||
const logger = tmp(12313).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
_mod12324.uuid4();
|
||||
}
|
||||
let currentScope = require("module_12340").getCurrentScope();
|
||||
let obj = { monitorSlug, status: "in_progress" };
|
||||
let obj2 = require("module_12340");
|
||||
let client = require("module_12340").getClient();
|
||||
if (client) {
|
||||
if (client.captureCheckIn) {
|
||||
let captureCheckInResult = client.captureCheckIn(obj, arg2, currentScope);
|
||||
} else if (tmp(12341).DEBUG_BUILD) {
|
||||
let logger2 = tmp(12313).logger;
|
||||
logger2.warn("Cannot capture check-in. Client does not support sending check-ins.");
|
||||
}
|
||||
asyncGeneratorStep = captureCheckInResult;
|
||||
closure_3 = tmp(12327).timestampInSeconds();
|
||||
const tmpResult = tmp(12327);
|
||||
return tmp(12340).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(12341).DEBUG_BUILD) {
|
||||
let logger = tmp(12313).logger;
|
||||
logger.warn("Cannot capture check-in. No client defined.");
|
||||
}
|
||||
let obj3 = require("module_12340");
|
||||
captureCheckInResult = require("module_12324").uuid4();
|
||||
};
|
||||
|
|
@ -1,264 +0,0 @@
|
|||
// Module ID: 12370
|
||||
// Function ID: 12371
|
||||
// Name: _getEventFilterUrl
|
||||
// Dependencies: [12351, 12323, 12295, 12306, 12304]
|
||||
|
||||
// Module 12370 (_getEventFilterUrl)
|
||||
import _mod12295 from "module_12295" /* 12295 */;
|
||||
import _mod12304 from "module_12304" /* 12304 */;
|
||||
import _mod12306 from "module_12306" /* 12306 */;
|
||||
import _mod12323 from "module_12323" /* 12323 */;
|
||||
import setupIntegration from "module_12351" /* 12351 */;
|
||||
|
||||
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 (_mod12323.DEBUG_BUILD) {
|
||||
const logger = tmp6(12295).logger;
|
||||
const _HermesInternal = HermesInternal;
|
||||
logger.error("Cannot extract url for event " + tmp6(12306).getEventDescription(tmp));
|
||||
const tmp6Result = tmp6(12306);
|
||||
}
|
||||
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 (_mod12323.DEBUG_BUILD) {
|
||||
const logger6 = _mod12295.logger;
|
||||
const _HermesInternal6 = HermesInternal;
|
||||
logger6.warn("Event dropped due to being internal Sentry Error.\nEvent: " + _mod12306.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 (_mod12323.DEBUG_BUILD) {
|
||||
const logger5 = _mod12295.logger;
|
||||
const _HermesInternal5 = HermesInternal;
|
||||
logger5.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: " + _mod12306.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 (_mod12323.DEBUG_BUILD) {
|
||||
const logger4 = _mod12295.logger;
|
||||
const _HermesInternal4 = HermesInternal;
|
||||
logger4.warn("Event dropped due to not having an error message, error type or stacktrace.\nEvent: " + _mod12306.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 = _mod12304.stringMatchesSomePattern(transaction, items3);
|
||||
}
|
||||
flag3 = result;
|
||||
}
|
||||
}
|
||||
if (flag3) {
|
||||
flag6 = true;
|
||||
if (_mod12323.DEBUG_BUILD) {
|
||||
const logger3 = _mod12295.logger;
|
||||
const _HermesInternal3 = HermesInternal;
|
||||
logger3.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: " + _mod12306.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag4 = false;
|
||||
if (items1.length) {
|
||||
const tmp16 = _getEventFilterUrl(type);
|
||||
let result1 = tmp16;
|
||||
if (result1) {
|
||||
result1 = _mod12304.stringMatchesSomePattern(tmp16, items1);
|
||||
}
|
||||
flag4 = result1;
|
||||
}
|
||||
if (flag4) {
|
||||
flag6 = true;
|
||||
if (_mod12323.DEBUG_BUILD) {
|
||||
const logger2 = _mod12295.logger;
|
||||
const eventDescription = _mod12306.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 = _mod12304.stringMatchesSomePattern(tmp21, items);
|
||||
}
|
||||
flag5 = result2;
|
||||
}
|
||||
flag6 = false;
|
||||
if (!flag5) {
|
||||
flag6 = true;
|
||||
if (_mod12323.DEBUG_BUILD) {
|
||||
const logger = _mod12295.logger;
|
||||
const eventDescription1 = _mod12306.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
alpha/source/__helpers/12xxx/12388__getEventFilterUrl.js
Normal file
264
alpha/source/__helpers/12xxx/12388__getEventFilterUrl.js
Normal file
|
|
@ -0,0 +1,264 @@
|
|||
// Module ID: 12388
|
||||
// Function ID: 12389
|
||||
// Name: _getEventFilterUrl
|
||||
// Dependencies: [12369, 12341, 12313, 12324, 12322]
|
||||
|
||||
// Module 12388 (_getEventFilterUrl)
|
||||
import _mod12313 from "module_12313" /* 12313 */;
|
||||
import _mod12322 from "module_12322" /* 12322 */;
|
||||
import _mod12324 from "module_12324" /* 12324 */;
|
||||
import _mod12341 from "module_12341" /* 12341 */;
|
||||
import setupIntegration from "module_12369" /* 12369 */;
|
||||
|
||||
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 (_mod12341.DEBUG_BUILD) {
|
||||
const logger = tmp6(12313).logger;
|
||||
const _HermesInternal = HermesInternal;
|
||||
logger.error("Cannot extract url for event " + tmp6(12324).getEventDescription(tmp));
|
||||
const tmp6Result = tmp6(12324);
|
||||
}
|
||||
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 (_mod12341.DEBUG_BUILD) {
|
||||
const logger6 = _mod12313.logger;
|
||||
const _HermesInternal6 = HermesInternal;
|
||||
logger6.warn("Event dropped due to being internal Sentry Error.\nEvent: " + _mod12324.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 (_mod12341.DEBUG_BUILD) {
|
||||
const logger5 = _mod12313.logger;
|
||||
const _HermesInternal5 = HermesInternal;
|
||||
logger5.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: " + _mod12324.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 (_mod12341.DEBUG_BUILD) {
|
||||
const logger4 = _mod12313.logger;
|
||||
const _HermesInternal4 = HermesInternal;
|
||||
logger4.warn("Event dropped due to not having an error message, error type or stacktrace.\nEvent: " + _mod12324.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 = _mod12322.stringMatchesSomePattern(transaction, items3);
|
||||
}
|
||||
flag3 = result;
|
||||
}
|
||||
}
|
||||
if (flag3) {
|
||||
flag6 = true;
|
||||
if (_mod12341.DEBUG_BUILD) {
|
||||
const logger3 = _mod12313.logger;
|
||||
const _HermesInternal3 = HermesInternal;
|
||||
logger3.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: " + _mod12324.getEventDescription(type));
|
||||
flag6 = true;
|
||||
}
|
||||
} else {
|
||||
let flag4 = false;
|
||||
if (items1.length) {
|
||||
const tmp16 = _getEventFilterUrl(type);
|
||||
let result1 = tmp16;
|
||||
if (result1) {
|
||||
result1 = _mod12322.stringMatchesSomePattern(tmp16, items1);
|
||||
}
|
||||
flag4 = result1;
|
||||
}
|
||||
if (flag4) {
|
||||
flag6 = true;
|
||||
if (_mod12341.DEBUG_BUILD) {
|
||||
const logger2 = _mod12313.logger;
|
||||
const eventDescription = _mod12324.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 = _mod12322.stringMatchesSomePattern(tmp21, items);
|
||||
}
|
||||
flag5 = result2;
|
||||
}
|
||||
flag6 = false;
|
||||
if (!flag5) {
|
||||
flag6 = true;
|
||||
if (_mod12341.DEBUG_BUILD) {
|
||||
const logger = _mod12313.logger;
|
||||
const eventDescription1 = _mod12324.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: 12418
|
||||
// Function ID: 12419
|
||||
// Name: _asyncNullishCoalesce2
|
||||
// Dependencies: [5, 12419]
|
||||
// Exports: _asyncNullishCoalesce
|
||||
|
||||
// Module 12418 (_asyncNullishCoalesce2)
|
||||
import _nullishCoalesce from "_nullishCoalesce" /* 12419 */;
|
||||
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: 12419
|
||||
// Function ID: 12420
|
||||
// Name: _nullishCoalesce
|
||||
// Dependencies: []
|
||||
// Exports: _nullishCoalesce
|
||||
|
||||
// Module 12419 (_nullishCoalesce)
|
||||
|
||||
export const _nullishCoalesce = function _nullishCoalesce(arg0, fn) {
|
||||
let tmp = arg0;
|
||||
if (null == arg0) {
|
||||
tmp = fn();
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
|
|
@ -1,122 +0,0 @@
|
|||
// Module ID: 12420
|
||||
// Function ID: 12421
|
||||
// Name: _asyncOptionalChain2
|
||||
// Dependencies: [5]
|
||||
// Exports: _asyncOptionalChain
|
||||
|
||||
// Module 12420 (_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: 12421
|
||||
// Function ID: 12422
|
||||
// Name: _asyncOptionalChainDelete2
|
||||
// Dependencies: [5, 12420]
|
||||
// Exports: _asyncOptionalChainDelete
|
||||
|
||||
// Module 12421 (_asyncOptionalChainDelete2)
|
||||
import _asyncOptionalChain2 from "_asyncOptionalChain2" /* 12420 */;
|
||||
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: 12422
|
||||
// Function ID: 12423
|
||||
// Name: _optionalChain
|
||||
// Dependencies: []
|
||||
// Exports: _optionalChain
|
||||
|
||||
// Module 12422 (_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: 12423
|
||||
// Function ID: 12424
|
||||
// Name: _optionalChainDelete
|
||||
// Dependencies: [12422]
|
||||
// Exports: _optionalChainDelete
|
||||
|
||||
// Module 12423 (_optionalChainDelete)
|
||||
import _optionalChain from "_optionalChain" /* 12422 */;
|
||||
|
||||
require = arg1;
|
||||
const dependencyMap = arg6;
|
||||
|
||||
export const _optionalChainDelete = function _optionalChainDelete(arg0) {
|
||||
const _optionalChainResult = _optionalChain._optionalChain(arg0);
|
||||
return null == _optionalChainResult || _optionalChainResult;
|
||||
};
|
||||
55
alpha/source/__helpers/12xxx/12436__asyncNullishCoalesce2.js
Normal file
55
alpha/source/__helpers/12xxx/12436__asyncNullishCoalesce2.js
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
// Module ID: 12436
|
||||
// Function ID: 12437
|
||||
// Name: _asyncNullishCoalesce2
|
||||
// Dependencies: [5, 12437]
|
||||
// Exports: _asyncNullishCoalesce
|
||||
|
||||
// Module 12436 (_asyncNullishCoalesce2)
|
||||
import _nullishCoalesce from "_nullishCoalesce" /* 12437 */;
|
||||
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
alpha/source/__helpers/12xxx/12437__nullishCoalesce.js
Normal file
15
alpha/source/__helpers/12xxx/12437__nullishCoalesce.js
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
// Module ID: 12437
|
||||
// Function ID: 12438
|
||||
// Name: _nullishCoalesce
|
||||
// Dependencies: []
|
||||
// Exports: _nullishCoalesce
|
||||
|
||||
// Module 12437 (_nullishCoalesce)
|
||||
|
||||
export const _nullishCoalesce = function _nullishCoalesce(arg0, fn) {
|
||||
let tmp = arg0;
|
||||
if (null == arg0) {
|
||||
tmp = fn();
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
122
alpha/source/__helpers/12xxx/12438__asyncOptionalChain2.js
Normal file
122
alpha/source/__helpers/12xxx/12438__asyncOptionalChain2.js
Normal file
|
|
@ -0,0 +1,122 @@
|
|||
// Module ID: 12438
|
||||
// Function ID: 12439
|
||||
// Name: _asyncOptionalChain2
|
||||
// Dependencies: [5]
|
||||
// Exports: _asyncOptionalChain
|
||||
|
||||
// Module 12438 (_asyncOptionalChain2)
|
||||
import asyncGeneratorStep from "asyncGeneratorStep" /* 5 */;
|
||||
|
||||
let closure_1 = async function _asyncOptionalChain2(arg0, value) {
|
||||
if (c3 === 2) {
|
||||
c3 = 3;
|
||||
throw new TypeError("Generator functions may not be called on executing generators");
|
||||
} else if (tmp3 === 3) {
|
||||
if (arg0 === 1) {
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
const obj2 = { value, done: true };
|
||||
return obj2;
|
||||
} else {
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
c3 = 2;
|
||||
if (0 === c2) {
|
||||
if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj3 = { value, done: true };
|
||||
return obj3;
|
||||
} else {
|
||||
closure_1 = tmp4;
|
||||
closure_129_0 = length;
|
||||
closure_129_2 = undefined;
|
||||
closure_129_3 = undefined;
|
||||
closure_129_4 = undefined;
|
||||
closure_129_5 = undefined;
|
||||
closure_129_1 = undefined;
|
||||
closure_129_2 = length[0];
|
||||
closure_129_3 = 1;
|
||||
if (closure_129_3 < length.length) {
|
||||
closure_129_4 = closure_129_0[closure_129_3];
|
||||
closure_129_5 = closure_129_0[closure_129_3 + 1];
|
||||
closure_129_3 = closure_129_3 + 2;
|
||||
if ("optionalAccess" === closure_129_4) {
|
||||
if (null == closure_129_2) {
|
||||
c3 = 3;
|
||||
return { value: "HermesInternal", done: null };
|
||||
}
|
||||
}
|
||||
if ("access" !== closure_129_4) {
|
||||
if ("optionalAccess" !== closure_129_4) {
|
||||
let tmp22 = "call" !== closure_129_4;
|
||||
if (tmp22) {
|
||||
tmp22 = "optionalCall" !== closure_129_4;
|
||||
}
|
||||
if (!tmp22) {
|
||||
c2 = 2;
|
||||
c3 = 1;
|
||||
const obj4 = {
|
||||
value: closure_129_5(() => {
|
||||
const items = [closure_1_1, ...HermesBuiltin.copyRestArgs()];
|
||||
return closure_1_2.call.apply(items);
|
||||
}),
|
||||
done: false
|
||||
};
|
||||
return obj4;
|
||||
}
|
||||
}
|
||||
}
|
||||
closure_129_1 = closure_129_2;
|
||||
c2 = 1;
|
||||
c3 = 1;
|
||||
const obj5 = { value: closure_129_5(closure_129_2), done: false };
|
||||
return obj5;
|
||||
}
|
||||
c3 = 3;
|
||||
const obj6 = { value: closure_129_2, done: true };
|
||||
return obj6;
|
||||
}
|
||||
} else if (1 === tmp4) {
|
||||
if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj7 = { value, done: true };
|
||||
return obj7;
|
||||
} else {
|
||||
closure_129_2 = value;
|
||||
}
|
||||
} else if (arg0 === 1) {
|
||||
c3 = 3;
|
||||
throw value;
|
||||
} else if (arg0 === 2) {
|
||||
c3 = 3;
|
||||
const obj = { value, done: true };
|
||||
return obj;
|
||||
} else {
|
||||
closure_129_2 = value;
|
||||
closure_129_1 = undefined;
|
||||
}
|
||||
} catch (tmp31) {
|
||||
c3 = tmp;
|
||||
throw tmp31;
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
export const _asyncOptionalChain = function _asyncOptionalChain(arg0) {
|
||||
const self = this;
|
||||
const apply = closure_1.apply;
|
||||
if (typeof apply === "unknown") {
|
||||
let applyArgumentsResult = HermesBuiltin.applyArguments(self);
|
||||
} else {
|
||||
applyArgumentsResult = apply(self, arguments);
|
||||
}
|
||||
return applyArgumentsResult;
|
||||
};
|
||||
|
|
@ -0,0 +1,30 @@
|
|||
// Module ID: 12439
|
||||
// Function ID: 12440
|
||||
// Name: _asyncOptionalChainDelete2
|
||||
// Dependencies: [5, 12438]
|
||||
// Exports: _asyncOptionalChainDelete
|
||||
|
||||
// Module 12439 (_asyncOptionalChainDelete2)
|
||||
import _asyncOptionalChain2 from "_asyncOptionalChain2" /* 12438 */;
|
||||
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
alpha/source/__helpers/12xxx/12440__optionalChain.js
Normal file
50
alpha/source/__helpers/12xxx/12440__optionalChain.js
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
// Module ID: 12440
|
||||
// Function ID: 12441
|
||||
// Name: _optionalChain
|
||||
// Dependencies: []
|
||||
// Exports: _optionalChain
|
||||
|
||||
// Module 12440 (_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
alpha/source/__helpers/12xxx/12441__optionalChainDelete.js
Normal file
16
alpha/source/__helpers/12xxx/12441__optionalChainDelete.js
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
// Module ID: 12441
|
||||
// Function ID: 12442
|
||||
// Name: _optionalChainDelete
|
||||
// Dependencies: [12440]
|
||||
// Exports: _optionalChainDelete
|
||||
|
||||
// Module 12441 (_optionalChainDelete)
|
||||
import _optionalChain from "_optionalChain" /* 12440 */;
|
||||
|
||||
require = arg1;
|
||||
const dependencyMap = arg6;
|
||||
|
||||
export const _optionalChainDelete = function _optionalChainDelete(arg0) {
|
||||
const _optionalChainResult = _optionalChain._optionalChain(arg0);
|
||||
return null == _optionalChainResult || _optionalChainResult;
|
||||
};
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
// Module ID: 15072
|
||||
// Function ID: 15073
|
||||
// Name: _regeneratorRuntime
|
||||
// Dependencies: [15073]
|
||||
|
||||
// Module 15072 (_regeneratorRuntime)
|
||||
import _mod15073 from "module_15073" /* 15073 */;
|
||||
|
||||
const tmp3 = _mod15073();
|
||||
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: 15076
|
||||
// Function ID: 15077
|
||||
// Name: _getRequireWildcardCache
|
||||
// Dependencies: [45]
|
||||
|
||||
// Module 15076 (_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: 15079
|
||||
// Function ID: 15080
|
||||
// Name: _defineProperty
|
||||
// Dependencies: [43]
|
||||
|
||||
// Module 15079 (_defineProperty)
|
||||
import _mod43 from "module_43" /* 43 */;
|
||||
|
||||
|
||||
export default function _defineProperty(arg0, arg1, value) {
|
||||
const tmp = _mod43(arg1);
|
||||
if (tmp in arg0) {
|
||||
const _Object = Object;
|
||||
const obj = { value, enumerable: true, configurable: true, writable: true };
|
||||
Object.defineProperty(arg0, tmp, obj);
|
||||
} else {
|
||||
arg0[tmp] = value;
|
||||
}
|
||||
return arg0;
|
||||
};
|
||||
23
alpha/source/__helpers/15xxx/15100__regeneratorRuntime.js
Normal file
23
alpha/source/__helpers/15xxx/15100__regeneratorRuntime.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
// Module ID: 15100
|
||||
// Function ID: 15101
|
||||
// Name: _regeneratorRuntime
|
||||
// Dependencies: [15101]
|
||||
|
||||
// Module 15100 (_regeneratorRuntime)
|
||||
import _mod15101 from "module_15101" /* 15101 */;
|
||||
|
||||
const tmp3 = _mod15101();
|
||||
try {
|
||||
globalThis.regeneratorRuntime = tmp3;
|
||||
} catch (err) {
|
||||
const _globalThis = globalThis;
|
||||
if (typeof globalThis === "object") {
|
||||
const _globalThis2 = globalThis;
|
||||
globalThis.regeneratorRuntime = tmp2;
|
||||
} else {
|
||||
const _Function = Function;
|
||||
Function("r", "regeneratorRuntime = r")(tmp2);
|
||||
}
|
||||
}
|
||||
|
||||
export default tmp3;
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
// Module ID: 15104
|
||||
// Function ID: 15105
|
||||
// Name: _getRequireWildcardCache
|
||||
// Dependencies: [45]
|
||||
|
||||
// Module 15104 (_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
alpha/source/__helpers/15xxx/15107__defineProperty.js
Normal file
20
alpha/source/__helpers/15xxx/15107__defineProperty.js
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
// Module ID: 15107
|
||||
// Function ID: 15108
|
||||
// Name: _defineProperty
|
||||
// Dependencies: [43]
|
||||
|
||||
// Module 15107 (_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;
|
||||
};
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -394,17 +394,17 @@ export const Children = {
|
|||
const items = [];
|
||||
c2 = 0;
|
||||
mapIntoArray(element, items, "", "", (arg0) => {
|
||||
const call = f69833.call;
|
||||
const call = f69942.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f69833(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f69942(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
});
|
||||
return items;
|
||||
}
|
||||
},
|
||||
forEach(element, arg1, arg2) {
|
||||
const f69831 = function() {
|
||||
const f69940 = function() {
|
||||
const self = this;
|
||||
const apply = f69831.apply;
|
||||
const apply = f69940.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 = f69833.call;
|
||||
const call = f69942.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f69833(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f69942(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 = f69833.call;
|
||||
const call = f69942.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f69833(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f69942(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
});
|
||||
}
|
||||
return closure_0;
|
||||
},
|
||||
toArray(element) {
|
||||
const f69833 = (arg0) => arg0;
|
||||
const f69942 = (arg0) => arg0;
|
||||
let items1 = element;
|
||||
if (null != element) {
|
||||
const items = [];
|
||||
closure_2 = 0;
|
||||
mapIntoArray(element, items, "", "", (arg0) => {
|
||||
const call = f69833.call;
|
||||
const call = f69942.call;
|
||||
closure_2 = tmp3 + 1;
|
||||
return typeof call === "unknown" ? f69833(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
return typeof call === "unknown" ? f69942(arg0, +closure_2) : call(closure_1_1, arg0, +closure_2);
|
||||
});
|
||||
items1 = items;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@ const items = [
|
|||
}
|
||||
};
|
||||
if (obj3.shouldPressibilityUseW3CPointerEventsForHover()) {
|
||||
const obj4 = { onPointerEnter: "isArray", onPointerLeave: "paddingHorizontal" };
|
||||
const obj4 = { onPointerEnter: "Array", onPointerLeave: "paddingHorizontal" };
|
||||
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);
|
||||
f109312 = tmp3Result;
|
||||
f109454 = 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 = () => f109312;
|
||||
tmp3Result.getScrollableNode = () => renderElement.findNodeHandle(f109312.getNativeScrollRef());
|
||||
tmp3Result.getInnerViewNode = () => renderElement.findNodeHandle(f109312._innerView.nativeInstance);
|
||||
tmp3Result.getInnerViewRef = () => f109312._innerView.nativeInstance;
|
||||
tmp3Result.getNativeScrollRef = () => f109312._scrollView.nativeInstance;
|
||||
tmp3Result.getScrollResponder = () => f109454;
|
||||
tmp3Result.getScrollableNode = () => renderElement.findNodeHandle(f109454.getNativeScrollRef());
|
||||
tmp3Result.getInnerViewNode = () => renderElement.findNodeHandle(f109454._innerView.nativeInstance);
|
||||
tmp3Result.getInnerViewRef = () => f109454._innerView.nativeInstance;
|
||||
tmp3Result.getNativeScrollRef = () => f109454._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 = f109312.getNativeScrollRef();
|
||||
const nativeScrollRef = f109454.getNativeScrollRef();
|
||||
if (null != nativeScrollRef) {
|
||||
const obj = _modDef350;
|
||||
if (!x) {
|
||||
|
|
@ -121,14 +121,14 @@ class ScrollView {
|
|||
if (animated) {
|
||||
animated = animated.animated;
|
||||
}
|
||||
const nativeScrollRef = f109312.getNativeScrollRef();
|
||||
const nativeScrollRef = f109454.getNativeScrollRef();
|
||||
if (null != nativeScrollRef) {
|
||||
_modDef350.scrollToEnd(nativeScrollRef, false !== animated);
|
||||
const tmp2 = false !== animated;
|
||||
}
|
||||
};
|
||||
tmp3Result.flashScrollIndicators = () => {
|
||||
const nativeScrollRef = f109312.getNativeScrollRef();
|
||||
const nativeScrollRef = f109454.getNativeScrollRef();
|
||||
if (null != nativeScrollRef) {
|
||||
const result = _modDef350.flashScrollIndicators(nativeScrollRef);
|
||||
}
|
||||
|
|
@ -138,9 +138,9 @@ class ScrollView {
|
|||
if (!arg1) {
|
||||
num = 0;
|
||||
}
|
||||
f109312._additionalScrollOffset = num;
|
||||
f109312._preventNegativeScrollOffset = _preventNegativeScrollOffset;
|
||||
if (null != f109312._innerView.nativeInstance) {
|
||||
f109454._additionalScrollOffset = num;
|
||||
f109454._preventNegativeScrollOffset = _preventNegativeScrollOffset;
|
||||
if (null != f109454._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) {
|
||||
f109312._animated = animated.animated;
|
||||
f109454._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 = f109312.getNativeScrollRef();
|
||||
const nativeScrollRef = f109454.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 != f109312._keyboardMetrics) {
|
||||
if (null != f109454._keyboardMetrics) {
|
||||
screenY = obj._keyboardMetrics.screenY;
|
||||
}
|
||||
const sum = closure_0 - screenY + closure_1 + obj._additionalScrollOffset;
|
||||
let bound = sum;
|
||||
if (true === f109312._preventNegativeScrollOffset) {
|
||||
if (true === f109454._preventNegativeScrollOffset) {
|
||||
const _Math = Math;
|
||||
bound = Math.max(0, sum);
|
||||
}
|
||||
const point = { x: 0, y: bound, animated: true };
|
||||
f109312.scrollTo(point);
|
||||
f109312._additionalScrollOffset = 0;
|
||||
f109312._preventNegativeScrollOffset = false;
|
||||
f109454.scrollTo(point);
|
||||
f109454._additionalScrollOffset = 0;
|
||||
f109454._preventNegativeScrollOffset = false;
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
@ -210,29 +210,29 @@ class ScrollView {
|
|||
}
|
||||
};
|
||||
tmp3Result._handleScroll = (arg0) => {
|
||||
f109312._observedScrollSinceBecomingResponder = true;
|
||||
if (f109312.props.onScroll) {
|
||||
f109454._observedScrollSinceBecomingResponder = true;
|
||||
if (f109454.props.onScroll) {
|
||||
const props = tmp.props;
|
||||
props.onScroll(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleLayout = (nativeEvent) => {
|
||||
if (true === f109312.props.invertStickyHeaders) {
|
||||
if (true === f109454.props.invertStickyHeaders) {
|
||||
const obj2 = { layoutHeight: nativeEvent.nativeEvent.layout.height };
|
||||
obj.setState(obj2);
|
||||
}
|
||||
if (f109312.props.onLayout) {
|
||||
if (f109454.props.onLayout) {
|
||||
const props = obj.props;
|
||||
props.onLayout(nativeEvent);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleContentOnLayout = (arg0) => {
|
||||
if (f109312.props.onContentSizeChange) {
|
||||
const props = f109312.props;
|
||||
if (f109454.props.onContentSizeChange) {
|
||||
const props = f109454.props;
|
||||
props.onContentSizeChange(tmp, tmp2);
|
||||
}
|
||||
};
|
||||
f109312 = (arg0) => arg0;
|
||||
f109454 = (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 = f109312(nativeInstance);
|
||||
tmp = f109454(nativeInstance);
|
||||
}
|
||||
obj3.nativeInstance = nativeInstance;
|
||||
obj3.publicInstance = tmp;
|
||||
|
|
@ -258,7 +258,7 @@ class ScrollView {
|
|||
};
|
||||
closure_1 = obj1;
|
||||
tmp3Result._innerView = obj1;
|
||||
f109312 = (arg0) => Object.assign(arg0, { getScrollResponder: f109312.getScrollResponder, getScrollableNode: f109312.getScrollableNode, getInnerViewNode: f109312.getInnerViewNode, getInnerViewRef: f109312.getInnerViewRef, getNativeScrollRef: f109312.getNativeScrollRef, scrollTo: f109312.scrollTo, scrollToEnd: f109312.scrollToEnd, flashScrollIndicators: f109312.flashScrollIndicators, scrollResponderZoomTo: f109312.scrollResponderZoomTo, scrollResponderScrollNativeHandleToKeyboard: f109312.scrollResponderScrollNativeHandleToKeyboard });
|
||||
f109454 = (arg0) => Object.assign(arg0, { getScrollResponder: f109454.getScrollResponder, getScrollableNode: f109454.getScrollableNode, getInnerViewNode: f109454.getInnerViewNode, getInnerViewRef: f109454.getInnerViewRef, getNativeScrollRef: f109454.getNativeScrollRef, scrollTo: f109454.scrollTo, scrollToEnd: f109454.scrollToEnd, flashScrollIndicators: f109454.flashScrollIndicators, scrollResponderZoomTo: f109454.scrollResponderZoomTo, scrollResponderScrollNativeHandleToKeyboard: f109454.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 = f109312(nativeInstance);
|
||||
tmp = f109454(nativeInstance);
|
||||
}
|
||||
obj3.nativeInstance = nativeInstance;
|
||||
obj3.publicInstance = tmp;
|
||||
|
|
@ -285,63 +285,63 @@ class ScrollView {
|
|||
closure_1 = obj4;
|
||||
tmp3Result._scrollView = obj4;
|
||||
tmp3Result.scrollResponderKeyboardWillShow = (endCoordinates) => {
|
||||
f109312._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f109312.props.onKeyboardWillShow) {
|
||||
const props = f109312.props;
|
||||
f109454._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f109454.props.onKeyboardWillShow) {
|
||||
const props = f109454.props;
|
||||
props.onKeyboardWillShow(endCoordinates);
|
||||
}
|
||||
};
|
||||
tmp3Result.scrollResponderKeyboardWillHide = (arg0) => {
|
||||
f109312._keyboardMetrics = null;
|
||||
if (f109312.props.onKeyboardWillHide) {
|
||||
f109454._keyboardMetrics = null;
|
||||
if (f109454.props.onKeyboardWillHide) {
|
||||
const props = tmp.props;
|
||||
props.onKeyboardWillHide(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result.scrollResponderKeyboardDidShow = (endCoordinates) => {
|
||||
f109312._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f109312.props.onKeyboardDidShow) {
|
||||
const props = f109312.props;
|
||||
f109454._keyboardMetrics = endCoordinates.endCoordinates;
|
||||
if (f109454.props.onKeyboardDidShow) {
|
||||
const props = f109454.props;
|
||||
props.onKeyboardDidShow(endCoordinates);
|
||||
}
|
||||
};
|
||||
tmp3Result.scrollResponderKeyboardDidHide = (arg0) => {
|
||||
f109312._keyboardMetrics = null;
|
||||
if (f109312.props.onKeyboardDidHide) {
|
||||
f109454._keyboardMetrics = null;
|
||||
if (f109454.props.onKeyboardDidHide) {
|
||||
const props = tmp.props;
|
||||
props.onKeyboardDidHide(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleMomentumScrollBegin = (arg0) => {
|
||||
const _performance = ScrollView.performance;
|
||||
f109312._lastMomentumScrollBeginTime = _performance.now();
|
||||
if (f109312.props.onMomentumScrollBegin) {
|
||||
const props = f109312.props;
|
||||
f109454._lastMomentumScrollBeginTime = _performance.now();
|
||||
if (f109454.props.onMomentumScrollBegin) {
|
||||
const props = f109454.props;
|
||||
const result = props.onMomentumScrollBegin(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleMomentumScrollEnd = (arg0) => {
|
||||
_modDef351.endScroll();
|
||||
const _performance = ScrollView.performance;
|
||||
f109312._lastMomentumScrollEndTime = _performance.now();
|
||||
if (f109312.props.onMomentumScrollEnd) {
|
||||
const props = f109312.props;
|
||||
f109454._lastMomentumScrollEndTime = _performance.now();
|
||||
if (f109454.props.onMomentumScrollEnd) {
|
||||
const props = f109454.props;
|
||||
props.onMomentumScrollEnd(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleScrollBeginDrag = (arg0) => {
|
||||
_modDef351.beginScroll();
|
||||
if ("on-drag" === f109312.props.keyboardDismissMode) {
|
||||
if ("on-drag" === f109454.props.keyboardDismissMode) {
|
||||
dismissKeyboardDefault();
|
||||
}
|
||||
if (f109312.props.onScrollBeginDrag) {
|
||||
if (f109454.props.onScrollBeginDrag) {
|
||||
const props = tmp4.props;
|
||||
props.onScrollBeginDrag(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleScrollEndDrag = (nativeEvent) => {
|
||||
const velocity = nativeEvent.nativeEvent.velocity;
|
||||
let _isAnimatingResult = f109312._isAnimating();
|
||||
let _isAnimatingResult = f109454._isAnimating();
|
||||
if (!_isAnimatingResult) {
|
||||
let tmp3 = velocity;
|
||||
if (velocity) {
|
||||
|
|
@ -353,29 +353,29 @@ class ScrollView {
|
|||
if (!_isAnimatingResult) {
|
||||
_modDef351.endScroll();
|
||||
}
|
||||
if (f109312.props.onScrollEndDrag) {
|
||||
if (f109454.props.onScrollEndDrag) {
|
||||
const props = tmp.props;
|
||||
props.onScrollEndDrag(nativeEvent);
|
||||
}
|
||||
};
|
||||
tmp3Result._isAnimating = () => {
|
||||
const _performance = ScrollView.performance;
|
||||
return _performance.now() - f109312._lastMomentumScrollEndTime < 16 || f109312._lastMomentumScrollEndTime < f109312._lastMomentumScrollBeginTime;
|
||||
return _performance.now() - f109454._lastMomentumScrollEndTime < 16 || f109454._lastMomentumScrollEndTime < f109454._lastMomentumScrollBeginTime;
|
||||
};
|
||||
tmp3Result._handleResponderGrant = (arg0) => {
|
||||
f109312._observedScrollSinceBecomingResponder = false;
|
||||
if (f109312.props.onResponderGrant) {
|
||||
f109454._observedScrollSinceBecomingResponder = false;
|
||||
if (f109454.props.onResponderGrant) {
|
||||
const props = obj.props;
|
||||
props.onResponderGrant(arg0);
|
||||
}
|
||||
f109312._becameResponderWhileAnimating = f109312._isAnimating();
|
||||
f109454._becameResponderWhileAnimating = f109454._isAnimating();
|
||||
};
|
||||
tmp3Result._handleResponderReject = () => {
|
||||
|
||||
};
|
||||
tmp3Result._handleResponderRelease = (nativeEvent) => {
|
||||
f109312._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
if (f109312.props.onResponderRelease) {
|
||||
f109454._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
if (f109454.props.onResponderRelease) {
|
||||
const props = obj.props;
|
||||
props.onResponderRelease(nativeEvent);
|
||||
}
|
||||
|
|
@ -407,10 +407,10 @@ class ScrollView {
|
|||
tmp3 = importDefault;
|
||||
}
|
||||
};
|
||||
tmp3Result._handleResponderTerminationRequest = () => !f109312._observedScrollSinceBecomingResponder;
|
||||
tmp3Result._handleScrollShouldSetResponder = () => true !== f109312.props.disableScrollViewPanResponder && f109312._isTouching;
|
||||
tmp3Result._handleResponderTerminationRequest = () => !f109454._observedScrollSinceBecomingResponder;
|
||||
tmp3Result._handleScrollShouldSetResponder = () => true !== f109454.props.disableScrollViewPanResponder && f109454._isTouching;
|
||||
tmp3Result._handleStartShouldSetResponder = (target) => {
|
||||
if (true === f109312.props.disableScrollViewPanResponder) {
|
||||
if (true === f109454.props.disableScrollViewPanResponder) {
|
||||
return false;
|
||||
} else {
|
||||
let tmp4 = "handled" !== obj.props.keyboardShouldPersistTaps;
|
||||
|
|
@ -425,7 +425,7 @@ class ScrollView {
|
|||
}
|
||||
};
|
||||
tmp3Result._handleStartShouldSetResponderCapture = (target) => {
|
||||
if (f109312._isAnimating()) {
|
||||
if (f109454._isAnimating()) {
|
||||
return true;
|
||||
} else if (true === obj.props.disableScrollViewPanResponder) {
|
||||
return false;
|
||||
|
|
@ -471,16 +471,16 @@ class ScrollView {
|
|||
return isTextInputResult;
|
||||
};
|
||||
tmp3Result._softKeyboardIsDetached = () => {
|
||||
let tmp = null != f109312._keyboardMetrics;
|
||||
let tmp = null != f109454._keyboardMetrics;
|
||||
if (tmp) {
|
||||
tmp = 0 === f109312._keyboardMetrics.height;
|
||||
tmp = 0 === f109454._keyboardMetrics.height;
|
||||
}
|
||||
return tmp;
|
||||
};
|
||||
tmp3Result._keyboardEventsAreUnreliable = () => get_VersionDefault.Version < 30;
|
||||
tmp3Result._handleTouchEnd = (nativeEvent) => {
|
||||
f109312._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
const keyboardShouldPersistTaps = f109312.props.keyboardShouldPersistTaps;
|
||||
f109454._isTouching = 0 !== nativeEvent.nativeEvent.touches.length;
|
||||
const keyboardShouldPersistTaps = f109454.props.keyboardShouldPersistTaps;
|
||||
let tmp = !keyboardShouldPersistTaps;
|
||||
if (keyboardShouldPersistTaps) {
|
||||
tmp = "never" === keyboardShouldPersistTaps;
|
||||
|
|
@ -490,27 +490,27 @@ class ScrollView {
|
|||
_modDef144.blurTextInput(result);
|
||||
const tmp2Result = _modDef144;
|
||||
}
|
||||
if (f109312.props.onTouchEnd) {
|
||||
if (f109454.props.onTouchEnd) {
|
||||
const props = obj.props;
|
||||
props.onTouchEnd(nativeEvent);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleTouchCancel = (arg0) => {
|
||||
f109312._isTouching = false;
|
||||
if (f109312.props.onTouchCancel) {
|
||||
f109454._isTouching = false;
|
||||
if (f109454.props.onTouchCancel) {
|
||||
const props = tmp.props;
|
||||
props.onTouchCancel(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleTouchStart = (arg0) => {
|
||||
f109312._isTouching = true;
|
||||
if (f109312.props.onTouchStart) {
|
||||
f109454._isTouching = true;
|
||||
if (f109454.props.onTouchStart) {
|
||||
const props = tmp.props;
|
||||
props.onTouchStart(arg0);
|
||||
}
|
||||
};
|
||||
tmp3Result._handleTouchMove = (arg0) => {
|
||||
if (f109312.props.onTouchMove) {
|
||||
if (f109454.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 f109363 = (__getValue) => __getValue.__getValue();
|
||||
const f109505 = (__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] = f109366(arr);
|
||||
obj[key10006] = f109508(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f109366(dependencyMap[6])) {
|
||||
if (item instanceof f109508(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 = f109366(tmp9);
|
||||
tmp3 = f109508(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
@ -127,24 +127,24 @@ let items = [
|
|||
{
|
||||
key: "__getValueWithStaticTransforms",
|
||||
value: function __getValueWithStaticTransforms(arr) {
|
||||
let f109364 = [];
|
||||
let f109506 = [];
|
||||
const _transforms = this._transforms;
|
||||
f109364 = (__getValue) => {
|
||||
f109364.push(__getValue.__getValue());
|
||||
f109506 = (__getValue) => {
|
||||
f109506.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] = f109366(arr);
|
||||
obj[key10006] = f109508(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f109366(dependencyMap[6])) {
|
||||
if (item instanceof f109508(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 = f109366(tmp9);
|
||||
tmp3 = f109508(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
@ -176,20 +176,20 @@ let items = [
|
|||
}
|
||||
return obj;
|
||||
});
|
||||
closure_129_0 = () => f109364.shift();
|
||||
closure_129_0 = () => f109506.shift();
|
||||
return arr.map((item) => {
|
||||
const obj = {};
|
||||
for (const key10006 in arg0) {
|
||||
let arr = arg0[key10006];
|
||||
if (arr instanceof AnimatedTransform(367)) {
|
||||
obj[key10006] = f109366(arr);
|
||||
obj[key10006] = f109508(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f109366(dependencyMap[6])) {
|
||||
if (item instanceof f109508(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 = f109366(tmp9);
|
||||
tmp3 = f109508(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
@ -227,20 +227,20 @@ let items = [
|
|||
key: "__getAnimatedValue",
|
||||
value: function __getAnimatedValue() {
|
||||
const _transforms = this._transforms;
|
||||
const f109366 = (__getAnimatedValue) => __getAnimatedValue.__getAnimatedValue();
|
||||
const f109508 = (__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] = f109366(arr);
|
||||
obj[key10006] = f109508(arr);
|
||||
continue;
|
||||
} else {
|
||||
let _Array = Array;
|
||||
if (Array.isArray(arr)) {
|
||||
obj[key10006] = arr.map((item) => {
|
||||
let tmp = item;
|
||||
if (item instanceof f109366(dependencyMap[6])) {
|
||||
if (item instanceof f109508(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 = f109366(tmp9);
|
||||
tmp3 = f109508(tmp9);
|
||||
}
|
||||
obj2[key10013] = tmp3;
|
||||
continue;
|
||||
|
|
|
|||
|
|
@ -358,7 +358,7 @@ if (null) {
|
|||
} else {
|
||||
self = this;
|
||||
tmp6 = global;
|
||||
obj = { fired: false, wrapFn: "a", target: false, type: false, listener: "a" };
|
||||
obj = { fired: false, wrapFn: "a", target: null, type: null, listener: null };
|
||||
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: false, type: false, listener: "a" };
|
||||
obj = { fired: false, wrapFn: "a", target: null, type: null, listener: null };
|
||||
obj.target = this;
|
||||
obj.type = global;
|
||||
obj.listener = require;
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ let fn = function n() {
|
|||
let length;
|
||||
let length2;
|
||||
let obj = {};
|
||||
let f109494 = obj;
|
||||
let f109636 = 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 = f109494[typeof call === "unknown" ? toString(first) : call(toString, first)] || "object";
|
||||
tmp4 = f109636[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 = f109494;
|
||||
tmp5 = f109636;
|
||||
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 = f109494;
|
||||
tmp = f109636;
|
||||
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 = f109494;
|
||||
tmp2 = f109636;
|
||||
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 = f109494;
|
||||
tmp2 = f109636;
|
||||
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 = f109494;
|
||||
tmp13 = f109636;
|
||||
tmp14 = globalThis;
|
||||
_Object = Object;
|
||||
toString = Object.prototype.toString;
|
||||
|
|
@ -986,7 +986,7 @@ let fn = function n() {
|
|||
formatted = items[diff1].toLowerCase();
|
||||
}
|
||||
str = formatted;
|
||||
tmp9 = f109494[typeof call === "unknown" ? toString(tmp6) : call(toString, tmp6)] || "object";
|
||||
tmp9 = f109636[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 = f109494[typeof call === "unknown" ? toString(tmp6) : call(toString, tmp6)] || "object";
|
||||
tmp9 = f109636[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 = f109494[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp8 = f109636[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 = f109494[typeof call === "unknown" ? toString(tmp10) : call(toString, tmp10)] || "object";
|
||||
tmp13 = f109636[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 = f109494[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp8 = f109636[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 = f109494[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp8 = f109636[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 = f109494[typeof call === "unknown" ? toString(first) : call(toString, first)] || "object";
|
||||
tmp8 = f109636[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 = f109494[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp17 = f109636[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" === (f109494[typeof call === "unknown" ? toString(items) : call(toString, items)] || "object");
|
||||
const tmp4 = f109494[typeof call === "unknown" ? toString(items) : call(toString, items)] || "object";
|
||||
brewer = "string" === (f109636[typeof call === "unknown" ? toString(items) : call(toString, items)] || "object");
|
||||
const tmp4 = f109636[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 = f109494[typeof call2 === "unknown" ? toString2(arr2) : call2(toString2, arr2)] || "object";
|
||||
tmp10 = f109636[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 = f109494[typeof call === "unknown" ? toString(tmp27) : call(toString, tmp27)] || "object";
|
||||
tmp29 = f109636[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 = f109494[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp5 = f109636[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;
|
||||
f109494 = (arg0, arg1) => {
|
||||
const items = [f109494(arg0[0], arg1[0]), f109494(arg0[1], arg1[1]), f109494(arg0[2], arg1[2])];
|
||||
f109636 = (arg0, arg1) => {
|
||||
const items = [f109636(arg0[0], arg1[0]), f109636(arg0[1], arg1[1]), f109636(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(f109494(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f109636(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_130_0 = (arg0, arg1) => arg0 * arg1 / 255;
|
||||
f109494 = (arg0, arg1) => {
|
||||
const items = [f109494(arg0[0], arg1[0]), f109494(arg0[1], arg1[1]), f109494(arg0[2], arg1[2])];
|
||||
f109636 = (arg0, arg1) => {
|
||||
const items = [f109636(arg0[0], arg1[0]), f109636(arg0[1], arg1[1]), f109636(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(f109494(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f109636(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_131_0 = (arg0, arg1) => 255 * (1 - (1 - arg0 / 255) * (1 - arg1 / 255));
|
||||
f109494 = (arg0, arg1) => {
|
||||
const items = [f109494(arg0[0], arg1[0]), f109494(arg0[1], arg1[1]), f109494(arg0[2], arg1[2])];
|
||||
f109636 = (arg0, arg1) => {
|
||||
const items = [f109636(arg0[0], arg1[0]), f109636(arg0[1], arg1[1]), f109636(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(f109494(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f109636(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_132_0 = (arg0, arg1) => {
|
||||
if (arg1 < 128) {
|
||||
|
|
@ -3796,14 +3796,14 @@ let fn = function n() {
|
|||
}
|
||||
return result;
|
||||
};
|
||||
f109494 = (arg0, arg1) => {
|
||||
const items = [f109494(arg0[0], arg1[0]), f109494(arg0[1], arg1[1]), f109494(arg0[2], arg1[2])];
|
||||
f109636 = (arg0, arg1) => {
|
||||
const items = [f109636(arg0[0], arg1[0]), f109636(arg0[1], arg1[1]), f109636(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(f109494(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f109636(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_133_0 = (arg0, arg1) => {
|
||||
let tmp = arg0;
|
||||
|
|
@ -3812,14 +3812,14 @@ let fn = function n() {
|
|||
}
|
||||
return tmp;
|
||||
};
|
||||
f109494 = (arg0, arg1) => {
|
||||
const items = [f109494(arg0[0], arg1[0]), f109494(arg0[1], arg1[1]), f109494(arg0[2], arg1[2])];
|
||||
f109636 = (arg0, arg1) => {
|
||||
const items = [f109636(arg0[0], arg1[0]), f109636(arg0[1], arg1[1]), f109636(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(f109494(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f109636(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_134_0 = (arg0, arg1) => {
|
||||
let tmp = arg1;
|
||||
|
|
@ -3828,14 +3828,14 @@ let fn = function n() {
|
|||
}
|
||||
return tmp;
|
||||
};
|
||||
f109494 = (arg0, arg1) => {
|
||||
const items = [f109494(arg0[0], arg1[0]), f109494(arg0[1], arg1[1]), f109494(arg0[2], arg1[2])];
|
||||
f109636 = (arg0, arg1) => {
|
||||
const items = [f109636(arg0[0], arg1[0]), f109636(arg0[1], arg1[1]), f109636(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(f109494(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f109636(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_135_0 = (arg0, arg1) => {
|
||||
let num = 255;
|
||||
|
|
@ -3848,24 +3848,24 @@ let fn = function n() {
|
|||
}
|
||||
return num;
|
||||
};
|
||||
f109494 = (arg0, arg1) => {
|
||||
const items = [f109494(arg0[0], arg1[0]), f109494(arg0[1], arg1[1]), f109494(arg0[2], arg1[2])];
|
||||
f109636 = (arg0, arg1) => {
|
||||
const items = [f109636(arg0[0], arg1[0]), f109636(arg0[1], arg1[1]), f109636(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(f109494(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f109636(rgbResult, closure_2_206(arg0).rgb()));
|
||||
};
|
||||
closure_136_0 = (arg0, arg1) => 255 * (1 - (1 - arg1 / 255) / (arg0 / 255));
|
||||
f109494 = (arg0, arg1) => {
|
||||
const items = [f109494(arg0[0], arg1[0]), f109494(arg0[1], arg1[1]), f109494(arg0[2], arg1[2])];
|
||||
f109636 = (arg0, arg1) => {
|
||||
const items = [f109636(arg0[0], arg1[0]), f109636(arg0[1], arg1[1]), f109636(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(f109494(rgbResult, closure_2_206(arg0).rgb()));
|
||||
return closure_2_206.rgb(f109636(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" === (f109494[typeof call === "unknown" ? toString(item) : call(toString, item)] || "object");
|
||||
const tmp6 = f109494[typeof call === "unknown" ? toString(item) : call(toString, item)] || "object";
|
||||
tmp2 = "object" === (f109636[typeof call === "unknown" ? toString(item) : call(toString, item)] || "object");
|
||||
const tmp6 = f109636[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 = f109494[typeof call === "unknown" ? toString(dependencyMap) : call(toString, dependencyMap)] || "object";
|
||||
tmp4 = f109636[typeof call === "unknown" ? toString(dependencyMap) : call(toString, dependencyMap)] || "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());
|
||||
[f109494, type$p] = mapped1;
|
||||
[f109636, 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());
|
||||
[f109494, type$p, type$p] = mapped2;
|
||||
[f109636, 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());
|
||||
[f109494, type$p, type$p, last] = mapped3;
|
||||
[f109636, 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 = f109494[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp3 = f109636[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 = f109494[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
tmp3 = f109636[typeof call === "unknown" ? toString(arg0) : call(toString, arg0)] || "object";
|
||||
} else {
|
||||
throw new TypeError("Trying to call a non-function");
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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: "WireType", cacheCreationInputTokens: "type", cacheReadInputTokens: "bm", toolCalls: [], activeToolBlocks: {} };
|
||||
const obj5 = { responseTexts: [], finishReasons: [], responseId: "", responseModel: "", promptTokens: "r", completionTokens: "WireType", cacheCreationInputTokens: "constructor", cacheReadInputTokens: "nm", 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: "WireType", cacheCreationInputTokens: "type", cacheReadInputTokens: "bm", toolCalls: [], activeToolBlocks: {} };
|
||||
const obj = { responseTexts: [], finishReasons: [], responseId: "", responseModel: "", promptTokens: "r", completionTokens: "WireType", cacheCreationInputTokens: "constructor", cacheReadInputTokens: "nm", 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(/* F122400 */ function() { ... });
|
||||
closure_0 = closure_2(/* F122560 */ 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(/* F122400 */ function() { ... });
|
||||
closure_0 = closure_2(/* F122560 */ 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 (/* F126675 */ function*() { ... })();
|
||||
return (/* F126840 */ 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(() => { ... }, () => { ... }, /* F122404 */ function() { ... }, () => { ... });
|
||||
return str(dependencyMap[11]).handleCallbackErrors(() => { ... }, () => { ... }, /* F122564 */ function() { ... }, () => { ... });
|
||||
});
|
||||
const tmp4Result8 = tmp4(tmp5[3]);
|
||||
}
|
||||
|
|
@ -1516,7 +1516,7 @@ export const instrumentGoogleGenAIClient = function instrumentGoogleGenAIClient(
|
|||
c5 = 0;
|
||||
c6 = 0;
|
||||
c4 = 0;
|
||||
return (/* F126675 */ function*() { ... })();
|
||||
return (/* F126840 */ 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(() => { ... }, () => { ... }, /* F122404 */ function() { ... }, () => { ... });
|
||||
return str(dependencyMap[11]).handleCallbackErrors(() => { ... }, () => { ... }, /* F122564 */ 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(/* F122400 */ function() { ... });
|
||||
closure_0 = closure_2(/* F122560 */ 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(/* F122400 */ function() { ... });
|
||||
closure_0 = closure_2(/* F122560 */ 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: "paddingHorizontal",
|
||||
lc_aliases: "onPress",
|
||||
lc_serializable_keys: "ix",
|
||||
lc_aliases: "y",
|
||||
lc_serializable_keys: "unicodeVersion",
|
||||
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 f72249;
|
||||
let f72358;
|
||||
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;
|
||||
f72249 = function() {
|
||||
f72358 = 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 /* F109878 */ function() { ... };
|
||||
return /* F110020 */ function() { ... };
|
||||
}
|
||||
}
|
||||
throw tmp7;
|
||||
|
|
@ -4634,7 +4634,7 @@ function initObservers(doc) {
|
|||
} catch (tmp7) {
|
||||
if (closure_2_79) {
|
||||
if (true === tmp8(tmp7)) {
|
||||
return /* F109878 */ function() { ... };
|
||||
return /* F110020 */ function() { ... };
|
||||
}
|
||||
}
|
||||
throw tmp7;
|
||||
|
|
@ -5485,7 +5485,7 @@ function addBreadcrumbEvent(triggerUserActivity, category) {
|
|||
}
|
||||
obj.timestamp = 1000 * num;
|
||||
const obj2 = { tag: "breadcrumb", payload: null };
|
||||
const normalizer = f109920(map[8]);
|
||||
const normalizer = f110062(map[8]);
|
||||
obj2.payload = normalizer.normalize(_null, 10, 1000);
|
||||
obj.data = obj2;
|
||||
obj.throttledAddEvent(obj);
|
||||
|
|
|
|||
|
|
@ -54,8 +54,8 @@ export const adjustTransactionDuration = (on, activeSpan, arg2) => {
|
|||
}
|
||||
};
|
||||
export const ignoreEmptyBackNavigation = (on, c4) => {
|
||||
const f72818 = (arg0) => {
|
||||
const data = c4(f72818[2]).spanToJSON(arg0).data;
|
||||
const f72927 = (arg0) => {
|
||||
const data = c4(f72927[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 f72819 = () => {
|
||||
const debug = c4(f72818[2]).debug;
|
||||
const f72928 = () => {
|
||||
const debug = c4(f72927[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: "r" };
|
||||
let obj2 = { currentRoute: "__initData" };
|
||||
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: "channel", attachmentUri: "unicodeVersion" });
|
||||
debug.setState({ filename: "Array", attachment: "channel", attachmentUri: "hd" });
|
||||
} else {
|
||||
num2 = debug.props.imagePicker;
|
||||
closure_129_6 = num2;
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "87655dd0d7700e87de9bd3febe973213", name: "bg.messages.87655dd0d7700e87de9bd3febe973213.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "5b4660dc804e659022f4df0271246fa8", name: "bg.messages.5b4660dc804e659022f4df0271246fa8.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "4e70fc896c2a52e54c2d35055d5b5871", name: "cs.messages.4e70fc896c2a52e54c2d35055d5b5871.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "f0bbf691a75500a758ba82650c0b826b", name: "cs.messages.f0bbf691a75500a758ba82650c0b826b.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "cae709b6e4089d0673b54a8b89f7727e", name: "da.messages.cae709b6e4089d0673b54a8b89f7727e.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "120b205c4df499e296a0531e6f7bdb34", name: "da.messages.120b205c4df499e296a0531e6f7bdb34.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "b1ce2f69d4faaeb97de1b4254239d71d", name: "de.messages.b1ce2f69d4faaeb97de1b4254239d71d.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "f9ac97cadde93a1e83720d61885f6c80", name: "de.messages.f9ac97cadde93a1e83720d61885f6c80.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "630cb05ffd1521ac244d9e7eae4dd62c", name: "el.messages.630cb05ffd1521ac244d9e7eae4dd62c.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "ec87035a7275d44b9de2cbdc957ccbd8", name: "el.messages.ec87035a7275d44b9de2cbdc957ccbd8.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "9bbff7519a35edd67797d525fb7b88b1", name: "en-GB.messages.9bbff7519a35edd67797d525fb7b88b1.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "bed228f05ad87b622a59eceb2e658da4", name: "en-GB.messages.bed228f05ad87b622a59eceb2e658da4.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "3f45d28197805554cdcaf6ab873f613c", name: "es-ES.messages.3f45d28197805554cdcaf6ab873f613c.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "fad0801d6fddd68b4902d945bb6ab5d2", name: "es-ES.messages.fad0801d6fddd68b4902d945bb6ab5d2.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "3736d373b9a6439d17f085bec95bf13e", name: "es-419.messages.3736d373b9a6439d17f085bec95bf13e.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "643c90114f387962dceb0c7502c0b0a0", name: "es-419.messages.643c90114f387962dceb0c7502c0b0a0.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "0da96820ff0922f92cc0cd1cda6df7f0", name: "fi.messages.0da96820ff0922f92cc0cd1cda6df7f0.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "ac3a921b0416c1ee6396af9f42c3a1ee", name: "fi.messages.ac3a921b0416c1ee6396af9f42c3a1ee.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "c005da07bee99fa488f1416882fb12bf", name: "fr.messages.c005da07bee99fa488f1416882fb12bf.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "f14963b02b9d5243789d49053a70eb60", name: "fr.messages.f14963b02b9d5243789d49053a70eb60.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "23f163ccc2a3088867bba2e7c28ce041", name: "hr.messages.23f163ccc2a3088867bba2e7c28ce041.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "b1a25a7be5ba850e6571de6117c0c631", name: "hr.messages.b1a25a7be5ba850e6571de6117c0c631.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "cd7cd3b57378380c5b694c972ee5a4cb", name: "hu.messages.cd7cd3b57378380c5b694c972ee5a4cb.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "66fda56d3c48413c8a138e2ae82518b9", name: "hu.messages.66fda56d3c48413c8a138e2ae82518b9.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "343719e5fed5b56e6ab9f9cedd65cd8a", name: "it.messages.343719e5fed5b56e6ab9f9cedd65cd8a.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "99524c3cbbaa800fb38cb242dff8b20c", name: "it.messages.99524c3cbbaa800fb38cb242dff8b20c.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "0ce0f3a03dd82ca13620f0796b48d16d", name: "ja.messages.0ce0f3a03dd82ca13620f0796b48d16d.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "bd42904ff4eb71a442219c3c383f208c", name: "ja.messages.bd42904ff4eb71a442219c3c383f208c.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "75e2ea1fe5eb83e68d763cf12ffca7e4", name: "ko.messages.75e2ea1fe5eb83e68d763cf12ffca7e4.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "eb5d19ce7d037551f5f7df4aef4d632b", name: "ko.messages.eb5d19ce7d037551f5f7df4aef4d632b.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "299b555d8452240f948b3ee650e4a6dc", name: "lt.messages.299b555d8452240f948b3ee650e4a6dc.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "e0c6dba3aee4665086124b5d9cb699ea", name: "lt.messages.e0c6dba3aee4665086124b5d9cb699ea.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "35abe81bba3b6c7c070e9dc58fdfc1d9", name: "nl.messages.35abe81bba3b6c7c070e9dc58fdfc1d9.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "3860c3c477dff7d30573ef26c1bc97cc", name: "nl.messages.3860c3c477dff7d30573ef26c1bc97cc.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "574b37348d55b82ee224fdd526b5f4a9", name: "no.messages.574b37348d55b82ee224fdd526b5f4a9.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "7c487c57618cca15d07cd98c58b94a26", name: "no.messages.7c487c57618cca15d07cd98c58b94a26.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "4c7e3e0e4825ef515f9eaa020af5f09c", name: "pl.messages.4c7e3e0e4825ef515f9eaa020af5f09c.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "d03ee671e991b9182c358e06814559fc", name: "pl.messages.d03ee671e991b9182c358e06814559fc.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "42bb3dd92892fb833736b14f15941720", name: "pt-BR.messages.42bb3dd92892fb833736b14f15941720.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "cb7d27c072cb7856557ccb938e649fce", name: "pt-BR.messages.cb7d27c072cb7856557ccb938e649fce.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "e8a99496378b10567f696e32fe704f38", name: "ro.messages.e8a99496378b10567f696e32fe704f38.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "2713ce16e025ba8b1cdd0a24f101e2a1", name: "ro.messages.2713ce16e025ba8b1cdd0a24f101e2a1.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "ae697c10be96928da19ee7f4553c82f2", name: "ru.messages.ae697c10be96928da19ee7f4553c82f2.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "9d7b39ba4a595648757e0d79f4274685", name: "ru.messages.9d7b39ba4a595648757e0d79f4274685.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "97df8ec89affb3369a1cd7e5a8093b13", name: "sv-SE.messages.97df8ec89affb3369a1cd7e5a8093b13.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "f11b10b0e814c399dc7995a47fdc20ce", name: "sv-SE.messages.f11b10b0e814c399dc7995a47fdc20ce.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "113f97c7547507e6569ac1a4d8578834", name: "th.messages.113f97c7547507e6569ac1a4d8578834.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "0a012c4c0eaa96fd6082e5e9c16d5090", name: "th.messages.0a012c4c0eaa96fd6082e5e9c16d5090.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "8e2ea6932d2a00a0b1f9be5a8ab85303", name: "tr.messages.8e2ea6932d2a00a0b1f9be5a8ab85303.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "47af64622ea89755bbd2657baf070095", name: "tr.messages.47af64622ea89755bbd2657baf070095.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "6e3cedaf57ccaaa50854bcc6b8d22143", name: "uk.messages.6e3cedaf57ccaaa50854bcc6b8d22143.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "d44cc8f19684a010f70d743e8d688bba", name: "uk.messages.d44cc8f19684a010f70d743e8d688bba.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "974ed56ec1cd77125c093162f5f784dd", name: "vi.messages.974ed56ec1cd77125c093162f5f784dd.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "a232a8ae2aa07a291dc2454143b99686", name: "vi.messages.a232a8ae2aa07a291dc2454143b99686.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "907b52ab8c0b45fb9cad12a57e4b1c72", name: "zh-CN.messages.907b52ab8c0b45fb9cad12a57e4b1c72.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "7d273a6a5c397639f5a9761bdc2bf40e", name: "zh-CN.messages.7d273a6a5c397639f5a9761bdc2bf40e.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "b7a02e390d036e0fab97c25ef201e050", name: "zh-TW.messages.b7a02e390d036e0fab97c25ef201e050.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "1753441c2877e3009ef1c2a4bd37e3e7", name: "zh-TW.messages.1753441c2877e3009ef1c2a4bd37e3e7.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "547e437eae3f79e49591621dfe08172d", name: "hi.messages.547e437eae3f79e49591621dfe08172d.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/.cache/intl/aW50bA==", scales: [1], hash: "383736f98a5b2f62dffaa2417e32b729", name: "hi.messages.383736f98a5b2f62dffaa2417e32b729.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
|
|
@ -6,4 +6,4 @@
|
|||
import registerAsset from "module_1121" /* 1121 */;
|
||||
|
||||
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/intl/messages", scales: [1], hash: "4b2621e838076b4ffda55bed75b4e0d6", name: "en-US.compiled.messages", type: "jsona" });
|
||||
export default registerAsset.registerAsset({ __packager_asset: true, httpServerLocation: "/assets/intl/messages", scales: [1], hash: "6612b39e6ee5f4549a49dc3d1fb73547", name: "en-US.compiled.messages", type: "jsona" });
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue