33 lines
1.7 KiB
JavaScript
33 lines
1.7 KiB
JavaScript
/* Metro module 7761; source: unknown; dependencies: [27, 7762, 7750] */
|
|
import * as ReactNativeModule from './module-00027-ReactNative.js'; /* Metro dependency 27 */
|
|
|
|
function _fun62136(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#62136, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7939:6, offset: 0x01b5818f, size: 128 bytes, params: 8, frame: 17
|
|
const Object = global.Object;
|
|
Object.defineProperty(exports, '__esModule', {value: true});
|
|
const processColor = (ReactNativeModule).processColor;
|
|
const env0_2 = {'evenodd': 0, 'nonzero': 1};
|
|
object = {type: 0, payload: processColor('black')};
|
|
exports.default = extractFill;
|
|
function extractFill(a0, {fill, fillRule, fillOpacity}, a2) { // fn#62137, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:7939:183, offset: 0x01b5820f, size: 234 bytes, params: 4, frame: 18
|
|
var value;
|
|
if (fill != null) {
|
|
a2.push('fill');
|
|
a0.fill = fill || typeof fill === 'number' ? (importDefault(7762) /* metro dependency 7762 */)(fill) : env0_3;
|
|
} else {
|
|
a0.fill = env0_3;
|
|
}
|
|
if (fillOpacity != null) {
|
|
a2.push('fillOpacity');
|
|
a0.fillOpacity = (importDefault(7750) /* metro dependency 7750 */)(fillOpacity);
|
|
}
|
|
if (fillRule != null) {
|
|
a2.push('fillRule');
|
|
value = 1;
|
|
a0.fillRule = fillRule ? env0_2[fillRule] !== 0 ? value : 0 : value;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
global.__d(_fun62136, 7761, [27, 7762, 7750]) /* metro module 7761, dependencies: [27, 7762, 7750] */;
|