/* Metro module 4090; source: unknown; dependencies: [] */ function _fun33512(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#33512, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4248:6, offset: 0x01031339, size: 98 bytes, params: 8, frame: 17 const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); const Set = global.Set; exports.PATTERN_CHARS = new Set(['o', 'O', '.', '-', '=']); exports.pattern = pattern; function pattern(a0) { // fn#33513, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:4248:157, offset: 0x0103139b, size: 344 bytes, params: 2, frame: 30 var r4; var r6; var r2; var r13; var value; var iterator; var iterator2; var value2; var item; var item2; var binding; var has; var value3; var TypeError; var HermesInternal; var concat; var prototype; var typeError; var value5; var error; var items2; var iterator3; var item3; var push; var object; var object2; exceptionSkip55: while (true) { exceptionLanding55: while (true) { exceptionSkip22: while (true) { exceptionLanding22: while (true) { value = 0; iterator = a0[Symbol.iterator](); iterator2 = iterator.next; value2 = environment; r4 = iterator; r6 = value; while (true) { item2 = Reflect.apply(iterator2, r4, []); item = item2.value; item2 = item2.done ? undefined : r4; if (item2 === undefined) { break; } try { binding = env0_0; } catch (error) { break exceptionLanding22; } try { has = binding.has; } catch (error) { break exceptionLanding22; } try { value3 = Reflect.apply(has, binding, [item]); } catch (error) { break exceptionLanding22; } if (value3) { try { value5 = typeof r6 === 'bigint' ? r6 + 1n : +r6 + 1; } catch (error) { break exceptionLanding22; } r4 = item2; r6 = value5; } else { try { TypeError = global.TypeError; } catch (error) { break exceptionLanding22; } try { HermesInternal = global.HermesInternal; } catch (error) { break exceptionLanding22; } try { concat = HermesInternal.concat; } catch (error) { break exceptionLanding22; } try { value = 'pattern(): invalid character "' + item + '" at position ' + r6 + '. Allowed characters are: o O . - ='; } catch (error) { break exceptionLanding22; } try { prototype = TypeError.prototype; } catch (error) { break exceptionLanding22; } try { } catch (error) { break exceptionLanding22; } try { typeError = new TypeError(); } catch (error) { break exceptionLanding22; } try { value = typeError instanceof Object ? typeError : undefined; } catch (error) { break exceptionLanding22; } try { throw value; } catch (error) { break exceptionLanding22; } } } items2 = []; iterator = a0[Symbol.iterator](); iterator3 = iterator.next; r2 = iterator; r13 = value; while (true) { item3 = Reflect.apply(iterator3, r2, []); item = item3.value; item3 = item3.done ? undefined : r2; if (item3 === undefined) { break; } try { value = item === 'o'; } catch (error) { break exceptionLanding55; } if (value) { try { push = items2.push; } catch (error) { break exceptionLanding55; } try { object2 = {'time': null, 'type': 'transient', 'intensity': 0.4, 'sharpness': 0.4}; } catch (error) { break exceptionLanding55; } try { object2.time = r13; } catch (error) { break exceptionLanding55; } try { Reflect.apply(push, items2, [object2]); } catch (error) { break exceptionLanding55; } try { value = r13 + 100; } catch (error) { break exceptionLanding55; } r13 = value; } else { try { value = item === 'O'; } catch (error) { break exceptionLanding55; } if (value) { try { push = items2.push; } catch (error) { break exceptionLanding55; } try { object = {'time': null, 'type': 'transient', 'intensity': 1, 'sharpness': 0.8}; } catch (error) { break exceptionLanding55; } try { object.time = r13; } catch (error) { break exceptionLanding55; } try { Reflect.apply(push, items2, [object]); } catch (error) { break exceptionLanding55; } try { value = r13 + 100; } catch (error) { break exceptionLanding55; } r13 = value; } else { try { value = item === '.'; } catch (error) { break exceptionLanding55; } if (value) { try { value = r13 + 150; } catch (error) { break exceptionLanding55; } r13 = value; } else { try { value = item === '-'; } catch (error) { break exceptionLanding55; } if (value) { try { value = r13 + 400; } catch (error) { break exceptionLanding55; } r13 = value; } else { try { value = item !== '='; } catch (error) { break exceptionLanding55; } if (value) { continue; } try { value = r13 + 1000; } catch (error) { break exceptionLanding55; } r13 = value; } } } } r2 = item3; } return items2; break exceptionSkip22; } try { item2.return(); } catch { } throw error; break exceptionSkip22; } break exceptionSkip55; } try { item3.return(); } catch { } throw error; break exceptionSkip55; } } } global.__d(_fun33512, 4090, []) /* metro module 4090 */;