/* Metro module 7846; source: unknown; dependencies: [29, 6, 7, 15, 17, 18, 31, 33, 7752, 7760, 7766, 7759, 7847, 7843, 7768] */
function _fun62630(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#62630, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8024:6, offset: 0x01b6211a, size: 252 bytes, params: 8, frame: 19
const env0_0 = require;
const env0_3 = ['children', 'xlinkHref', 'href', 'startOffset', 'method', 'spacing', 'side', 'alignmentBaseline',
'midLine'];
const Object = global.Object;
Object.defineProperty(exports, '__esModule', {value: true});
const env0_4 = importDefault(29) /* metro dependency 29 */;
const env0_5 = importDefault(6) /* metro dependency 6 */;
const env0_6 = importDefault(7) /* metro dependency 7 */;
const env0_7 = importDefault(15) /* metro dependency 15 */;
const env0_8 = importDefault(17) /* metro dependency 17 */;
const env0_9 = importDefault(18) /* metro dependency 18 */;
importAll(31) /* metro dependency 31 */;
const env0_10 = (require(33) /* metro dependency 33 */).jsx;
let value = importDefault(7768) /* metro dependency 7768 */;
value = _fun62634(value);
value.displayName = 'TextPath';
exports.default = value;
}
function _isNativeReflectConstruct_62631() { // fn#62631, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8024:290, offset: 0x01b62216, size: 94 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_62631_isNativeReflectConstruct = function() {
return !!result;
})();
}
function _fun62634(a0) { // fn#62634, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8024:515, offset: 0x01b62274, size: 68 bytes, params: 2, frame: 15
const closure = TextPath;
env0_9(closure, a0);
return env0_6(closure, [{key: 'render', value: value_62637}]);
}
function TextPath() { // fn#62635, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8024:527, offset: 0x01b622b8, size: 204 bytes, params: 1, frame: 21
var environment;
var r2;
var r6;
var r0;
var value7;
var Reflect;
var construct;
let value = environment.__proto__;
let binding = env1_5;
binding(this, TextPath);
const length = arguments.length;
const Array = global.Array;
const array = new Array(length);
const value6 = 0;
if (value6 < length) {
r2 = value6;
reducibleLoop1: while (true) {
array[r2] = arguments[r2];
value7 = typeof r2 === 'bigint' ? r2 + 1n : +r2 + 1;
if (value7 < length) {
r2 = value7;
continue reducibleLoop1;
}
break reducibleLoop1;
}
}
const value8 = [].concat(array);
const value9 = env1_8(TextPath);
binding = env1_7;
if (_isNativeReflectConstruct_62631()) {
Reflect = global.Reflect;
construct = Reflect.construct;
reducibleJoin6: while (true) {
if (value8) {
r6 = value8;
break reducibleJoin6;
}
r6 = [];
break reducibleJoin6;
}
r0 = Reflect.apply(construct, Reflect, [value9, r6, env1_8(this).constructor]);
} else {
r0 = value9.apply(this, value8);
}
value = binding(this, r0);
value.setNativeProps = setNativeProps_62636;
return value;
}
function value_62637() { // fn#62637, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8024:1024, offset: 0x01b62430, size: 413 bytes, params: 1, frame: 29
var value4;
var Object;
const props = this.props;
const children = props.children;
const xlinkHref = props.xlinkHref;
const href = props.href;
const r8 = href !== undefined ? href : xlinkHref;
const startOffset = props.startOffset;
const r16 = startOffset === undefined ? 0 : startOffset;
const method = props.method;
const spacing = props.spacing;
const side = props.side;
const alignmentBaseline = props.alignmentBaseline;
const midLine = props.midLine;
value = environment.__proto__;
const value2 = env1_4(props, env1_3);
const r4 = r8 && r8.match((require(7760) /* metro dependency 7760 */).idPattern);
const r17 = r4 && r4[1];
if (r17) {
value4 = (require(7759) /* metro dependency 7759 */).withoutXY(this, value2);
Object = global.Object;
Object.assign(value4, (importDefault(7766) /* metro dependency 7766 */)({children: children}, true), {href: r17,
startOffset: r16, method: method, spacing: spacing, side: side, alignmentBaseline: alignmentBaseline,
midLine: midLine});
value4.ref = this.refMethod;
value = importDefault(7847) /* metro dependency 7847 */;
Object = global.Object;
return ((Component) => )(value);
}
global.console.warn('Invalid `href` prop for `TextPath` element, expected a href like "#id", but got: "' + r8 + '"');
return ((Component) => {children})(importDefault(7843) /* metro dependency 7843 */);
}
function TextPathSetNativeProps(a0) { // fn#62636, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:8024:827, owner: TextPath.setNativeProps, offset: 0x01b62384, size: 172 bytes, params: 2, frame: 18
var r0;
const matrix = a0.matrix;
let value = !matrix;
if (matrix) {
r0 = value;
} else {
value = environment.__proto__.__proto__;
value = (importDefault(7752) /* metro dependency 7752 */)(a0);
r0 = value;
}
if (r0) {
a0.matrix = r0;
}
const Object = global.Object;
const assign = Object.assign;
value = environment.__proto__.__proto__;
const moduleValue = require(7760) /* metro dependency 7760 */;
Reflect.apply(assign, Object, [a0, moduleValue.pickNotNil((importDefault(7766) /* metro dependency 7766 */)(a0,
true))]);
if (env0_0.root) {
env0_0.root.setNativeProps(a0);
}
}