/* Metro module 7846; source: unknown; dependencies: [29, 6, 7, 15, 17, 18, 31, 33, 7752, 7760, 7766, 7759, 7847, 7843, 7768] */
import ClassCallCheck from './module-00006-ClassCallCheck.js'; /* Metro dependency 6 */
import CreateClass from './module-00007-CreateClass.js'; /* Metro dependency 7 */
import PossibleConstructorReturn from './module-00015-PossibleConstructorReturn.js'; /* Metro dependency 15 */
import Module00017 from './module-00017.js'; /* Metro dependency 17 */
import Inherits from './module-00018-Inherits.js'; /* Metro dependency 18 */
import ObjectWithoutProperties from './module-00029-ObjectWithoutProperties.js'; /* Metro dependency 29 */
import Module07766 from './module-07766.jsx'; /* Metro dependency 7766 */
import Module07768 from './module-07768.js'; /* Metro dependency 7768 */
import Module07843 from './module-07843.jsx'; /* Metro dependency 7843 */
import * as ReactModule from './module-00031-React.js'; /* Metro dependency 31 */
import * as JsxRuntimeModule from './module-00033-JsxRuntime.js'; /* Metro dependency 33 */
import * as Module07760Module from './module-07760.js'; /* Metro dependency 7760 */
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});
ReactModule;
let value = Module07768;
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 TextPath2 = TextPath;
Inherits(TextPath2, a0);
return CreateClass(TextPath2, [{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 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__;
Reflect.apply(assign, Object, [a0, Module07760Module.pickNotNil((Module07766)(a0,
true))]);
if (env0_0.root) {
env0_0.root.setNativeProps(a0);
}
}
}
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})(Module07843);
}
}
}
global.__d(_fun62630, 7846, [29, 6, 7, 15, 17, 18, 31, 33, 7752, 7760, 7766, 7759, 7847, 7843,
7768]) /* metro module 7846, dependencies: [29, 6, 7, 15, 17, 18, 31, 33, 7752, 7760, 7766, 7759, 7847, 7843, 7768] */;