/* Metro module 3492; source: unknown; dependencies: [3236] */ function _fun26808(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#26808, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3619:6, offset: 0x00f4eea7, size: 120 bytes, params: 8, frame: 16 const _typeof_26809 = function(a0) { var r2; r2 = typeof global.Symbol !== 'function' ? _fun26811 : typeof global.Symbol.iterator === 'symbol' ? _fun26810 : _fun26811; env0_1 = r2; return r2(a0); }; const Object = global.Object; Object.defineProperty(exports, '__esModule', {value: true}); exports.default = formatISODuration; const value = require(3236) /* metro dependency 3236 */; const env0_0 = value && value.__esModule ? value : {default: value}; module.exports = exports.default; } function _typeof_26809(a0) { // fn#26809, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3619:584, offset: 0x00f4ef1f, size: 74 bytes, params: 2, frame: 12 const Symbol = global.Symbol; return (typeof Symbol !== 'function' ? function(a0) { return a0 ? typeof global.Symbol !== 'function' || a0.constructor !== global.Symbol ? typeof a0 : a0 !== global.Symbol.prototype ? 'symbol' : typeof a0 : typeof a0; } : typeof global.Symbol.iterator === 'symbol' ? _typeof_26809_typeof : _typeof_26809_typeof_26811)(a0); } function formatISODuration(a0) { // fn#26812, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3619:102, offset: 0x00f4ef69, size: 273 bytes, params: 2, frame: 19 (0, env0_0.default)(1, arguments); if (_typeof_26809(a0) !== 'object') { throw new global.Error('Duration must be an object'); } const years = a0.years; let value = 0; const r8 = years === undefined ? value : years; const months = a0.months; const r5 = months === undefined ? value : months; const days = a0.days; const r7 = days === undefined ? value : days; const hours = a0.hours; const r6 = hours === undefined ? value : hours; const minutes = a0.minutes; const r4 = minutes === undefined ? value : minutes; const seconds = a0.seconds; const r3 = seconds === undefined ? value : seconds; value = 'P'.concat(r8, 'Y'); value = value.concat(r5, 'M'); value = value.concat(r7, 'DT'); value = value.concat(r6, 'H'); value = value.concat(r4, 'M'); return value.concat(r3, 'S'); }