Initial commit

This commit is contained in:
janisslsm committed 2026-07-27 16:20:00 +03:00
commit af3b49f756
16065 files changed
+2938410

No files matched your search

+146
View File
@@ -0,0 +1,146 @@
/* Metro module 1838; source: unknown; dependencies: [29, 31, 27, 33, 1610, 1818, 1839, 1841, 1843, 1824] */
function _fun19945(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#19945, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1965:6, offset: 0x00eb993c, size: 360 bytes, params: 8, frame: 21
const env0_0 = require;
const env0_3 = ['children', 'ScrollViewComponent', 'inverted', 'keyboardLiftBehavior', 'freeze', 'offset',
'extraContentPadding', 'blankSpace', 'applyWorkaroundForContentInsetHitTestBug', 'onLayout',
'onContentSizeChange', 'onEndVisible'];
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_4 = importDefault(29) /* metro dependency 29 */;
let value = require(31) /* metro dependency 31 */;
const forwardRef = value.forwardRef;
const env0_5 = value.useCallback;
const env0_6 = value.useMemo;
importDefault(31) /* metro dependency 31 */;
const StyleSheet = (require(27) /* metro dependency 27 */).StyleSheet;
value = require(33) /* metro dependency 33 */;
const env0_7 = value.jsx;
const env0_8 = value.Fragment;
const env0_9 = value.jsxs;
const env0_10 = (require(1610) /* metro dependency 1610 */).makeMutable(0);
const env0_11 = (require(1610) /* metro dependency 1610 */).makeMutable(0);
object = {code: 'function pnpm_indexTsx1(){const{freeze}=this.__closure;return typeof freeze==="boolean"?freeze:freeze.value;}'};
object = {code: 'function pnpm_indexTsx2(){const{blankSpace,padding,extraContentPadding}=this.__closure;return Math.max(blankSpace.value,padding.value+extraContentPadding.value);}'};
object = {code: 'function pnpm_indexTsx3(){const{padding,extraContentPadding}=this.__closure;return padding.value+extraContentPadding.value;}'};
object = {code: 'function pnpm_indexTsx4(){const{currentHeight}=this.__closure;return{transform:[{translateY:-currentHeight.value}]};}'};
value = forwardRef(_fun19946);
const env0_16 = StyleSheet.create({commitView: {'display': 'none', 'position': 'absolute'}});
exports.default = value;
}
function _fun19946(a0, a1) { // fn#19946, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1965:1066, offset: 0x00eb9aa4, size: 1026 bytes, params: 3, frame: 42
const children = a0.children;
const ScrollViewComponent = a0.ScrollViewComponent;
const r18 = ScrollViewComponent !== undefined ? ScrollViewComponent : (importDefault(1610) /* metro dependency 1610 */).ScrollView;
const inverted = a0.inverted;
const r20 = inverted !== undefined && inverted;
const keyboardLiftBehavior = a0.keyboardLiftBehavior;
const r30 = keyboardLiftBehavior === undefined ? 'always' : keyboardLiftBehavior;
const freeze = a0.freeze;
const r17 = freeze !== undefined && freeze;
const offset = a0.offset;
const r13 = offset === undefined ? 0 : offset;
const extraContentPadding = a0.extraContentPadding;
const r24 = extraContentPadding !== undefined ? extraContentPadding : env0_10;
const blankSpace = a0.blankSpace;
const r22 = blankSpace !== undefined ? blankSpace : env0_11;
const applyWorkaroundForContentInsetHitTestBug = a0.applyWorkaroundForContentInsetHitTestBug;
const r23 = applyWorkaroundForContentInsetHitTestBug !== undefined && applyWorkaroundForContentInsetHitTestBug;
const onLayout = a0.onLayout;
const env0_3 = onLayout;
const onContentSizeChange = a0.onContentSizeChange;
const env0_4 = onContentSizeChange;
const onEndVisible = a0.onEndVisible;
const value2 = env0_4(a0, env0_3);
const value3 = (require(1610) /* metro dependency 1610 */).useAnimatedRef();
const value4 = (importDefault(1818) /* metro dependency 1818 */)(a1, value3);
const moduleValue2 = require(1610) /* metro dependency 1610 */;
let useDerivedValue = moduleValue2.useDerivedValue;
let closure = pnpm_indexTsx1_19947;
closure.__closure = {freeze: r17};
closure.__workletHash = 1441280506731;
closure.__initData = env0_12;
const value5 = Reflect.apply(useDerivedValue, moduleValue2, [closure]);
const value6 = (require(1839) /* metro dependency 1839 */).useChatKeyboard(value3, {inverted: r20,
keyboardLiftBehavior: r30, freeze: value5, offset: r13, blankSpace: r22, extraContentPadding: r24});
const padding = value6.padding;
const currentHeight = value6.currentHeight;
const contentOffsetY = value6.contentOffsetY;
const scroll = value6.scroll;
const layout = value6.layout;
const size = value6.size;
const onLayout2 = value6.onLayout;
const onContentSizeChange2 = value6.onContentSizeChange;
(require(1841) /* metro dependency 1841 */).useExtraContentPadding({scrollViewRef: value3, extraContentPadding: r24,
keyboardPadding: padding, blankSpace: r22, scroll: scroll, layout: layout, size: size,
contentOffsetY: contentOffsetY, inverted: r20, keyboardLiftBehavior: r30, freeze: value5});
(require(1843) /* metro dependency 1843 */).useEndVisible({scroll: scroll, layout: layout, size: size,
inverted: r20, onEndVisible: onEndVisible});
const moduleValue6 = moduleValue2;
useDerivedValue = moduleValue6.useDerivedValue;
closure = pnpm_indexTsx2_19948;
closure.__closure = {blankSpace: r22, padding: padding, extraContentPadding: r24};
closure.__workletHash = 5812718828105;
closure.__initData = env0_13;
const value7 = Reflect.apply(useDerivedValue, moduleValue6, [closure]);
const moduleValue7 = moduleValue2;
useDerivedValue = moduleValue7.useDerivedValue;
closure = pnpm_indexTsx3_19949;
closure.__closure = {padding: padding, extraContentPadding: r24};
closure.__workletHash = 17005251423398;
closure.__initData = env0_14;
const value8 = Reflect.apply(useDerivedValue, moduleValue7, [closure]);
const value9 = useCallback(function(a0) {
onLayout(a0);
if (onLayout != null) {
onLayout(a0);
}
}, [onLayout2, onLayout]);
const value10 = useCallback(function(a0, a1) {
onContentSizeChange(a0, a1);
if (onContentSizeChange != null) {
onContentSizeChange(a0, a1);
}
}, [onContentSizeChange2, onContentSizeChange]);
const moduleValue8 = moduleValue2;
const useAnimatedStyle = moduleValue8.useAnimatedStyle;
closure = function() {
return {transform: [{translateY: -currentHeight.value}]};
};
closure.__closure = {currentHeight: currentHeight};
closure.__workletHash = 2509855764315;
closure.__initData = env0_15;
const value12 = useMemo(_fun19953, [Reflect.apply(useAnimatedStyle, moduleValue8, [closure, []])]);
const jsxRuntimeEnv0_8Binding = jsxRuntimeEnv0_8;
let value = importDefault(1824) /* metro dependency 1824 */;
const Object = global.Object;
value = ((Component) => <Component {...Object.assign({ref: value4}, value2,
{applyWorkaroundForContentInsetHitTestBug: r23, bottomPadding: value7, contentOffsetY: contentOffsetY,
inverted: r20, scrollIndicatorPadding: value8, ScrollViewComponent: r18, onContentSizeChange: value10,
onLayout: value9, children: children})} />)(value);
const View = (importDefault(1610) /* metro dependency 1610 */).View;
return (
<>
{value}
<View style={value12} />
</>
);
}
function pnpm_indexTsx1_19947() { // fn#19947, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1965:1559, offset: 0x00eb9ea6, size: 35 bytes, params: 1, frame: 3
return typeof env0_0 === 'boolean' ? env0_0 : env0_0.value;
}
function pnpm_indexTsx2_19948() { // fn#19948, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1965:2239, offset: 0x00eb9ec9, size: 55 bytes, params: 1, frame: 14
const Math = global.Math;
return Math.max(env0_2.value, padding.value + env0_1.value);
}
function pnpm_indexTsx3_19949() { // fn#19949, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1965:2449, offset: 0x00eb9f00, size: 27 bytes, params: 1, frame: 2
return padding.value + env0_1.value;
}
function _fun19953() { // fn#19953, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:1965:2890, offset: 0x00eb9f92, size: 34 bytes, params: 1, frame: 2
return [env1_16.commitView, env0_9];
}