Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,43 @@
|
||||
/* Metro module 3394; source: unknown; dependencies: [3235, 3239, 3236, 3240] */
|
||||
function _fun26466(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#26466, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3521:6, offset: 0x00f4544e, size: 147 bytes, params: 8, frame: 19
|
||||
const env0_0 = require;
|
||||
const closure = function(a0) {
|
||||
var value = a0;
|
||||
return value && value.__esModule ? value : {default: value};
|
||||
};
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
exports.default = startOfWeek;
|
||||
const env0_2 = closure(require(3235) /* metro dependency 3235 */);
|
||||
const env0_3 = closure(require(3239) /* metro dependency 3239 */);
|
||||
const env0_4 = closure(require(3236) /* metro dependency 3236 */);
|
||||
module.exports = exports.default;
|
||||
}
|
||||
|
||||
function startOfWeek(a0, a1) { // fn#26468, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:3521:102, offset: 0x00f454e1, size: 380 bytes, params: 3, frame: 20
|
||||
var day;
|
||||
let value = undefined;
|
||||
(0, env0_4.default)(1, arguments);
|
||||
const getDefaultOptions = (require(3240) /* metro dependency 3240 */).getDefaultOptions;
|
||||
const defaultOptions = getDefaultOptions();
|
||||
const property = env0_3.default;
|
||||
const weekStartsOn = a1 == null ? value : a1.weekStartsOn;
|
||||
let r5 = weekStartsOn === null ? a1 == null || a1.locale === null || (value === a1.locale || a1.locale.options === null) || value === a1.locale.options ? value : a1.locale.options.weekStartsOn : value !== weekStartsOn ? weekStartsOn : a1 == null || a1.locale === null || (value === a1.locale || a1.locale.options === null) || value === a1.locale.options ? value : a1.locale.options.weekStartsOn;
|
||||
r5 = r5 === null || value === r5 ? defaultOptions.weekStartsOn : r5;
|
||||
r5 = r5 === null || value === r5 ? defaultOptions.locale === null || value === defaultOptions.locale || (defaultOptions.locale.options === null || value === defaultOptions.locale.options) ? value : defaultOptions.locale.options.weekStartsOn : r5;
|
||||
const value4 = 0;
|
||||
const value5 = property(r5 === null || value === r5 ? value4 : r5);
|
||||
if (value5 >= value4) {
|
||||
if (value5 <= 6) {
|
||||
value = (0, env0_2.default)(a0);
|
||||
day = value.getDay();
|
||||
value.setDate(value.getDate() - ((day < value5 ? 7 : value4) + day - value5));
|
||||
value.setHours(value4, value4, value4, value4);
|
||||
return value;
|
||||
}
|
||||
throw new global.RangeError('weekStartsOn must be between 0 and 6 inclusively');
|
||||
}
|
||||
const RangeError = global.RangeError;
|
||||
throw new RangeError('weekStartsOn must be between 0 and 6 inclusively');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user