// Module ID: 12408 // Function ID: 12409 // Name: ConfirmStartCall // Dependencies: [19, 21, 4667, 1236, 4667, 4663, 2] // Exports: confirmStartCall // Module 12408 (ConfirmStartCall) import noopAll from "noop" /* 19 */; import getSystemLocale from "getSystemLocale" /* 1236 */; import useAlertStore from "useAlertStore" /* 4663 */; import getAlertModalItemKey from "getAlertModalItemKey" /* 4667 */; 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)); };