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

@@ -1,98 +1,122 @@
/* Metro module 11939; source: modules/premium/native/components/ProgressCircle.tsx; dependencies: [6, 7, 15, 17, 18, 31, 27, 33, 4501, 7744, 3868, 697, 2] */
import ClassCallCheck from '../../../../by-id/module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
import CreateClass from '../../../../by-id/module-00007-CreateClass.js'; /* Metro dependency 7 */
import PossibleConstructorReturn from '../../../../by-id/module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
import Module00017 from '../../../../by-id/module-00017.js'; /* Metro dependency 17 */
import Inherits from '../../../../by-id/module-00018-Inherits.js'; /* Metro dependency 18 */
import Native from '../../../../external/discord_common/js/packages/tokens/native.tsx'; /* Metro dependency 697 */
import Module07744 from '../../../../by-id/module-07744.js'; /* Metro dependency 7744 */
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 */
import * as NativeModule from '../../../../external/discord_common/js/packages/design/native.tsx'; /* Metro dependency 3868 */
import * as CreateStylesModule from '../../../../design/components/Styles/native/createStyles.tsx'; /* Metro dependency 4501 */
import * as Module07744Module from '../../../../by-id/module-07744.js'; /* Metro dependency 7744 */
function _fun91635(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#91635, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12125:6, offset: 0x0206c5c6, size: 423 bytes, params: 8, frame: 21
const env0_0 = require;
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_3 = importDefault(6) /* metro dependency 6 */;
const env0_4 = importDefault(7) /* metro dependency 7 */;
const env0_5 = importDefault(15) /* metro dependency 15 */;
const env0_6 = importDefault(17) /* metro dependency 17 */;
const env0_7 = importDefault(18) /* metro dependency 18 */;
let value = importAll(31) /* metro dependency 31 */;
const env0_8 = (require(27) /* metro dependency 27 */).View;
const value2 = require(33) /* metro dependency 33 */;
const env0_9 = value2.jsx;
const env0_10 = value2.jsxs;
const env0_11 = (require(4501) /* metro dependency 4501: createStyles */).createLegacyClassComponentStyles({progressCircle: {'alignItems': 'center',
let value = ReactModule;
const env0_11 = (CreateStylesModule).createLegacyClassComponentStyles({progressCircle: {'alignItems': 'center',
'justifyContent': 'center'}, circle: {'position': 'absolute', 'width': '100%', 'height': '100%'},
circleOverlay: {'position': 'relative', 'display': 'flex', 'justifyContent': 'center', 'alignItems': 'center'}});
const Component = value.Component;
value = _fun91639(Component);
const ThemeContext = (require(3868) /* metro dependency 3868: native */).ThemeContext;
const ThemeContext = (NativeModule).ThemeContext;
value.contextType = ThemeContext;
const GUILD_BOOSTING_PINK = (importDefault(697) /* metro dependency 697: native */).unsafe_rawColors.GUILD_BOOSTING_PINK;
const GUILD_BOOSTING_PINK = (Native).unsafe_rawColors.GUILD_BOOSTING_PINK;
value.defaultProps = {'size': 20, 'strokeWidth': 0.9, color: GUILD_BOOSTING_PINK};
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/premium/native/components/ProgressCircle.tsx');
(FileImportTrackerModule).fileFinishedImporting('modules/premium/native/components/ProgressCircle.tsx');
exports.default = value;
}
function _isNativeReflectConstruct_91636() { // fn#91636, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12125:200, offset: 0x0206c76d, size: 98 bytes, params: 1, frame: 18
var Boolean;
var prototype;
var valueOf;
var call;
var Reflect;
var construct;
var closure;
var value;
var error;
try {
Boolean = global.Boolean;
prototype = Boolean.prototype;
valueOf = prototype.valueOf;
call = valueOf.call;
Reflect = global.Reflect;
construct = Reflect.construct;
Boolean = global.Boolean;
closure = function() {
};
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
value = Reflect.apply(call, valueOf, [value]);
var result = !value;
} catch (error) {
function _isNativeReflectConstruct_91636() { // fn#91636, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12125:200, offset: 0x0206c76d, size: 98 bytes, params: 1, frame: 18
var Boolean;
var prototype;
var valueOf;
var call;
var Reflect;
var construct;
var closure;
var value;
var error;
try {
Boolean = global.Boolean;
prototype = Boolean.prototype;
valueOf = prototype.valueOf;
call = valueOf.call;
Reflect = global.Reflect;
construct = Reflect.construct;
Boolean = global.Boolean;
closure = function() {
};
value = Reflect.apply(construct, Reflect, [Boolean, [], closure]);
value = Reflect.apply(call, valueOf, [value]);
var result = !value;
} catch (error) {
}
return (_isNativeReflectConstruct_91636_isNativeReflectConstruct = function() {
return !!result;
})();
}
return (_isNativeReflectConstruct_91636_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun91639(a0) { // fn#91639, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12125:657, offset: 0x0206c7cf, size: 99 bytes, params: 2, frame: 16
const closure = ProgressCircle;
env0_7(closure, a0);
return env0_4(closure, [{key: 'renderCircle', value: value_91641}, {key: 'render', value: value_91642}]);
}
function _fun91639(a0) { // fn#91639, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12125:657, offset: 0x0206c7cf, size: 99 bytes, params: 2, frame: 16
const ProgressCircle2 = ProgressCircle;
Inherits(ProgressCircle2, a0);
return CreateClass(ProgressCircle2, [{key: 'renderCircle', value: value_91641}, {key: 'render', value: value_91642}]);
function ProgressCircle() { // fn#91640, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12125:669, offset: 0x0108afcb, size: 113 bytes, params: 1, frame: 20
const value = environment.__proto__;
env1_3(this, ProgressCircle);
const value3 = env1_6(ProgressCircle);
return env1_5(this, _isNativeReflectConstruct_91636() ? global.Reflect.construct(value3, arguments,
env1_6(this).constructor) : value3.apply(this, arguments));
}
function value_91641() { // fn#91641, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12125:959, offset: 0x0206c832, size: 354 bytes, params: 1, frame: 31
const value = environment.__proto__;
const value2 = env1_11(this.context);
const {percent, color, size, strokeWidth} = this.props;
let Math = global.Math;
const min = Math.min;
const Math2 = global.Math;
const value4 = Reflect.apply(min, Math, [Math2.max(percent, 0), 100]);
const value5 = (size - strokeWidth) / 2;
Math = global.Math;
const PI = Math.PI;
const value6 = value5 * PI * 2;
const defaultImport = importDefault(7744) /* metro dependency 7744 */;
const circle = value2.circle;
const Circle = (require(7744) /* metro dependency 7744 */).Circle;
return ((Component) => <Component viewBox={'0 0 ' + size + ' ' + size} style={circle}><Circle fill="none" cx={size / 2} cy={size / 2} r={value5} strokeWidth={strokeWidth} strokeLinecap="round" transform={'rotate(-90 ' + size / 2 + ' ' + size / 2 + ')'} stroke={color} style={{strokeDasharray: value6,
strokeDashoffset: (1 - value4 / 100) * value6}} /></Component>)(defaultImport);
}
function value_91641() { // fn#91641, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12125:959, offset: 0x0206c832, size: 354 bytes, params: 1, frame: 31
const value = environment.__proto__;
const value2 = env1_11(this.context);
const {percent, color, size, strokeWidth} = this.props;
let Math = global.Math;
const min = Math.min;
const Math2 = global.Math;
const value4 = Reflect.apply(min, Math, [Math2.max(percent, 0), 100]);
const value5 = (size - strokeWidth) / 2;
Math = global.Math;
const PI = Math.PI;
const value6 = value5 * PI * 2;
const defaultImport = Module07744;
const circle = value2.circle;
const Circle = (Module07744Module).Circle;
return ((Component) => <Component viewBox={'0 0 ' + size + ' ' + size} style={circle}><Circle fill="none" cx={size / 2} cy={size / 2} r={value5} strokeWidth={strokeWidth} strokeLinecap="round" transform={'rotate(-90 ' + size / 2 + ' ' + size / 2 + ')'} stroke={color} style={{strokeDasharray: value6,
strokeDashoffset: (1 - value4 / 100) * value6}} /></Component>)(defaultImport);
}
function value_91642() { // fn#91642, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12125:1384, offset: 0x0206c994, size: 144 bytes, params: 1, frame: 20
const value = environment.__proto__;
const value2 = env1_11(this.context);
const {style, children} = this.props;
const items2 = [value2.progressCircle, style];
const value3 = this.renderCircle();
const value4 = null;
return (
<View style={items2}>
{value3}
{
value4 != children
? (
<View style={value2.circleOverlay}>
{children}
</View>
)
: value4
}
</View>
);
}
}
function value_91642() { // fn#91642, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:12125:1384, offset: 0x0206c994, size: 144 bytes, params: 1, frame: 20
const value = environment.__proto__;
const value2 = env1_11(this.context);
const {style, children} = this.props;
const items2 = [value2.progressCircle, style];
const value3 = this.renderCircle();
const value4 = null;
return (
<View style={items2}>
{value3}
{value4 != children ? <View style={value2.circleOverlay}>{children}</View> : value4}
</View>
);
}
global.__d(_fun91635, 11939, [6, 7, 15, 17, 18, 31, 27, 33, 4501, 7744, 3868, 697,
2]) /* metro module 11939, dependencies: [6, 7, 15, 17, 18, 31, 27, 33, 4501, 7744, 3868, 697, 2] */;