Initial commit
This commit is contained in:
commit
af3b49f756
16065 files changed
+2938410
No files matched your search
@@ -0,0 +1,25 @@
|
||||
/* Metro module 14317; source: modules/auth/experiment/trackAgeGateSubmitted.tsx; dependencies: [661, 683, 3738, 2] */
|
||||
function _fun108378(global, require, importDefault, importAll, module, exports, dependencyMap) { // fn#108378, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14514:6, offset: 0x0231e94d, size: 120 bytes, params: 8, frame: 18
|
||||
const Object = global.Object;
|
||||
Object.defineProperty(exports, '__esModule', {value: true});
|
||||
const env0_2 = (require(661) /* metro dependency 661: Constants */).AnalyticEvents;
|
||||
(require(2) /* metro dependency 2 */).fileFinishedImporting('modules/auth/experiment/trackAgeGateSubmitted.tsx');
|
||||
exports.default = trackAgeGateSubmitted;
|
||||
}
|
||||
|
||||
function trackAgeGateSubmitted(a0, a1) { // fn#108379, source: /ci/build/discord/discord/discord_android_rn/android/app/src/main/assets/index.android.bundle:14514:214, offset: 0x0231e9c5, size: 189 bytes, params: 3, frame: 19
|
||||
const defaultImport = importDefault(683) /* metro dependency 683: AnalyticsUtils */;
|
||||
const track = defaultImport.track;
|
||||
const AGE_GATE_SUBMITTED = AnalyticEvents.AGE_GATE_SUBMITTED;
|
||||
const object2 = {};
|
||||
let value = (importDefault(3738) /* metro dependency 3738 */)();
|
||||
value = value.diff(a0, 'years');
|
||||
value = null;
|
||||
object2.dob = value < 18 ? a0.format('YYYY-MM-DD') : value;
|
||||
object2.dob_day = a0.date();
|
||||
object2.dob_month = a0.month() + 1;
|
||||
object2.dob_year = a0.year();
|
||||
object2.source = {section: a1};
|
||||
Reflect.apply(track, defaultImport, [AGE_GATE_SUBMITTED, object2]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user