// Metro module 12821 (f12822). import { Endpoints } from "../../Constants"; import { HTTP } from "../../_bundle/sendRequest"; import Dispatcher from "../../Dispatcher"; export async function fetchReactiveCheckResult() { let status; let c27370_3 = 0; let c30584_0; try { c30584_0 = void 0; c27370_3 = 1; c30584_0 = (await HTTP.get({ url: Endpoints.AGE_VERIFICATION_REACTIVE_CHECK, rejectWithError: true })).body; Dispatcher.dispatch({ type: "AGE_VERIFICATION_CHECK_RESULT_SET", status: c30584_0.status }); status = c30584_0.status; c27370_3 = 0; } catch ($e) { let r8 = $e; if (c27370_3 !== 0) { while (true) { try { c27370_3 = 0; } catch ($e) { r8 = $e; if (c27370_3 === 0) { break; } continue; } return null; } } throw r8; } return status; } export async function resetAgeVerification() { let c27371_0; c27371_0 = void 0; await HTTP.post({ url: Endpoints.AGE_VERIFICATION_RESET, rejectWithError: true }); Dispatcher.dispatch({ type: "AGE_VERIFICATION_RESET" }); }