This commit is contained in:
janisslsm committed 2026-07-28 01:06:53 +03:00
1 parent af3b49f756
commit 1781d25a15
22448 files changed
+2731829 -2650550

No files matched your search

+73 -69
View File
@@ -1,14 +1,16 @@
/* Metro module 4580; source: design/void/Icon/native/Icon.tsx; dependencies: [31, 27, 33, 4501, 697, 2] */
import * as FileImportTrackerModule from '../../../../by-id/module-00002-FileImportTracker.js'; /* Metro dependency 2 */
import * as ReactNativeModule from '../../../../by-id/module-00027-ReactNative.js'; /* Metro dependency 27 */
import * as ReactModule from '../../../../by-id/module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from '../../../../by-id/module-00033-JsxRuntime.js'; /* Metro dependency 33 */
function _fun38856(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#38856, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4758:6, offset: 0x010cdadc, size: 364 bytes, params: 8, frame: 22
var object2;
const closure = getIconSize;
const closure2 = getIconStyle;
const getIconSize2 = getIconSize;
const getIconStyle2 = getIconStyle;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
let value = importAll(31) /* metro dependency 31 */;
const env0_2 = (require(27) /* metro dependency 27 */).Image;
const env0_3 = (require(33) /* metro dependency 33 */).jsx;
object2 = {EXTRA_SMALL_10: 'extraSmall10', EXTRA_SMALL: 'extraSmall', SMALL: 'small', SMALL_20: 'small20',
let value = ReactModule;
object = {EXTRA_SMALL_10: 'extraSmall10', EXTRA_SMALL: 'extraSmall', SMALL: 'small', SMALL_20: 'small20',
MEDIUM: 'medium', LARGE: 'large', CUSTOM: 'custom', REFRESH_SMALL_16: 'refreshSmall16', SMALL_14: 'small14'};
const env0_5 = (require(4501) /* metro dependency 4501: createStyles */).createStyles(function() {
var object2 = {};
@@ -17,72 +19,74 @@ function _fun38856(global, require, importDefault, importAll, module, exports, d
});
value = value.memo(value.forwardRef(_fun38860));
value.displayName = 'Icon';
value.Sizes = object2;
(require(2) /* metro dependency 2 */).fileFinishedImporting('design/void/Icon/native/Icon.tsx');
value.Sizes = object;
(FileImportTrackerModule).fileFinishedImporting('design/void/Icon/native/Icon.tsx');
exports.default = value;
exports.IconSizes = object2;
exports.getIconSize = closure;
exports.getIconStyle = closure2;
}
function getIconSize(a0) { // fn#38857, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4758:369, offset: 0x010cdc48, size: 186 bytes, params: 2, frame: 3
const EXTRA_SMALL_10 = env0_4.EXTRA_SMALL_10;
if (EXTRA_SMALL_10 === a0) {
return 10;
}
const EXTRA_SMALL = env0_4.EXTRA_SMALL;
if (EXTRA_SMALL === a0) {
return 12;
}
const SMALL = env0_4.SMALL;
if (SMALL === a0) {
return 18;
}
const SMALL_14 = env0_4.SMALL_14;
if (SMALL_14 === a0) {
return 14;
}
const SMALL_20 = env0_4.SMALL_20;
if (SMALL_20 === a0) {
return 20;
exports.IconSizes = object;
exports.getIconSize = getIconSize2;
exports.getIconStyle = getIconStyle2;
function getIconSize(a0) { // fn#38857, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4758:369, offset: 0x010cdc48, size: 186 bytes, params: 2, frame: 3
const EXTRA_SMALL_10 = env0_4.EXTRA_SMALL_10;
if (EXTRA_SMALL_10 === a0) {
return 10;
}
const EXTRA_SMALL = env0_4.EXTRA_SMALL;
if (EXTRA_SMALL === a0) {
return 12;
}
const SMALL = env0_4.SMALL;
if (SMALL === a0) {
return 18;
}
const SMALL_14 = env0_4.SMALL_14;
if (SMALL_14 === a0) {
return 14;
}
const SMALL_20 = env0_4.SMALL_20;
if (SMALL_20 === a0) {
return 20;
}
const MEDIUM = env0_4.MEDIUM;
if (MEDIUM === a0) {
return 24;
}
const LARGE = env0_4.LARGE;
if (LARGE === a0) {
return 32;
}
const REFRESH_SMALL_16 = env0_4.REFRESH_SMALL_16;
if (REFRESH_SMALL_16 === a0) {
return 16;
}
const CUSTOM = env0_4.CUSTOM;
if (CUSTOM === a0) {
}
}
const MEDIUM = env0_4.MEDIUM;
if (MEDIUM === a0) {
return 24;
}
const LARGE = env0_4.LARGE;
if (LARGE === a0) {
return 32;
}
const REFRESH_SMALL_16 = env0_4.REFRESH_SMALL_16;
if (REFRESH_SMALL_16 === a0) {
return 16;
}
const CUSTOM = env0_4.CUSTOM;
if (CUSTOM === a0) {
function getIconStyle(a0) { // fn#38858, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4758:742, offset: 0x010cdd02, size: 29 bytes, params: 2, frame: 11
const iconSize = getIconSize(a0);
return {width: iconSize, height: iconSize};
}
}
function getIconStyle(a0) { // fn#38858, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4758:742, offset: 0x010cdd02, size: 29 bytes, params: 2, frame: 11
const iconSize = getIconSize(a0);
return {width: iconSize, height: iconSize};
}
function _fun38860({source, color, disableColor, size = env0_4.MEDIUM, style, resizeMode, accessible, accessibilityLabel}, a1) { // fn#38860, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4758:840, offset: 0x010cdd53, size: 198 bytes, params: 3, frame: 21
disableColor = !(disableColor === undefined) && disableColor;
resizeMode = resizeMode === undefined ? 'cover' : resizeMode;
const styles = useStyles(size);
return (
<Image
resizeMode={resizeMode}
source={source}
style={[getIconStyle(size),
disableColor ? undefined : color != null ? {tintColor: color} : styles.iconColor, style]}
accessible={accessible}
accessibilityLabel={accessibilityLabel}
fadeDuration={0}
ref={a1}
/>
);
}
function _fun38860({source, color, disableColor, size = env0_4.MEDIUM, style, resizeMode, accessible, accessibilityLabel}, a1) { // fn#38860, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4758:840, offset: 0x010cdd53, size: 198 bytes, params: 3, frame: 21
disableColor = !(disableColor === undefined) && disableColor;
resizeMode = resizeMode === undefined ? 'cover' : resizeMode;
const styles = useStyles(size);
return (
<Image
resizeMode={resizeMode}
source={source}
style={[getIconStyle(size),
disableColor ? undefined : color != null ? {tintColor: color} : styles.iconColor, style]}
accessible={accessible}
accessibilityLabel={accessibilityLabel}
fadeDuration={0}
ref={a1}
/>
);
}
global.__d(_fun38856, 4580, [31, 27, 33, 4501, 697,
2]) /* metro module 4580, dependencies: [31, 27, 33, 4501, 697, 2] */;