// Module ID: 12840 // Function ID: 12841 // Name: ConfirmStartCall // Dependencies: [19, 21, 4863, 1233, 4863, 4859, 2] // Exports: confirmStartCall // Module 12840 (ConfirmStartCall) import noopAll from "noop" /* 19 */; import getSystemLocale from "getSystemLocale" /* 1233 */; import useAlertStore from "useAlertStore" /* 4859 */; import getAlertModalItemKey from "getAlertModalItemKey" /* 4863 */; import jsxProd from "jsxProd" /* 21 */; require = arg1; function ConfirmStartCall(onConfirm) { let obj = { title: null, content: null, actions: null }; const intl = getSystemLocale.intl; obj[0] = intl.string(getSystemLocale.t.HlAPoq); const intl2 = getSystemLocale.intl; obj[1] = intl2.string(getSystemLocale.t["cRW4D/"]); obj = { children: null }; obj = { variant: "active", text: null, onPress: null }; const intl3 = getSystemLocale.intl; obj[1] = intl3.string(getSystemLocale.t.rimG2R); obj[2] = onConfirm.onConfirm; const items = [callback(getAlertModalItemKey.AlertActionButton, obj, "confirm"), ]; obj1 = { variant: "secondary", text: null }; const intl4 = getSystemLocale.intl; obj1[1] = intl4.string(getSystemLocale.t["ETE/oC"]); items[1] = callback(getAlertModalItemKey.AlertActionButton, obj1, "cancel"); obj[0] = items; obj[2] = callback2(getAlertModalItemKey.AlertActions, obj); return callback(getAlertModalItemKey.AlertModal, obj); } noopAll; ({ jsx: obj1, jsxs: c3 } = jsxProd); const result = require("set").fileFinishedImporting("modules/voice_calls/native/ConfirmStartCall.tsx"); export const confirmStartCall = function confirmStartCall(fn) { let obj = useAlertStore; obj = { onConfirm: fn }; obj.openAlert("start-voice-call", callback(ConfirmStartCall, obj)); };