// Module ID: 15797 // Function ID: 15798 // Name: trackAgeGateSubmitted // Dependencies: [673, 695, 4074, 2] // Exports: default // Module 15797 (trackAgeGateSubmitted) import set from "set" /* 2 */; import ME from "ME" /* 673 */; import expandEventPropertiesDefault from "expandEventProperties" /* 695 */; const AnalyticEvents = ME.AnalyticEvents; const result = set.fileFinishedImporting("modules/auth/experiment/trackAgeGateSubmitted.tsx"); export default function trackAgeGateSubmitted(format, section) { let obj = expandEventPropertiesDefault; let formatResult = null; if (obj2.diff(format, "years") < 18) { formatResult = format.format("YYYY-MM-DD"); } obj = { dob: formatResult, dob_day: format.date(), dob_month: format.month() + 1, dob_year: format.year(), source: obj }; obj = { section }; obj.track(AnalyticEvents.AGE_GATE_SUBMITTED, obj); };