2026-07-24 07:16:23 +00:00
// Module ID: 14689
// Function ID: 111886
2026-07-20 16:05:17 +00:00
// Name: MFAOptionScreen
2026-07-24 07:16:23 +00:00
// Dependencies: [27, 33, 9233, 14690, 5121, 4541, 4126, 14691, 9258, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-07-24 07:16:23 +00:00
// Module 14689 (MFAOptionScreen)
2026-07-23 10:11:24 +00:00
import { ScrollView } from "get ActivityIndicator" ;
import jsxProd from "jsxProd" ;
let closure_4 ;
let closure_5 ;
let closure_6 ;
( { jsx : closure_4 , jsxs : closure_5 , Fragment : closure_6 } = jsxProd ) ;
const result = require ( "useWideAuthView" ) . fileFinishedImporting ( "modules/mfa/native/screens/MfaOptionScreen.tsx" ) ;
2026-07-20 16:05:17 +00:00
export default function MFAOptionScreen ( arg0 ) {
let content ;
let error ;
let headerImage ;
let headerText ;
let input ;
let mfaMethod ;
let screenProps ;
let submit ;
let subtitle ;
( { headerImage , subtitle , screenProps , error } = arg0 ) ;
( { headerText , input , submit , mfaMethod , content } = arg0 ) ;
2026-07-24 07:16:23 +00:00
const tmp = importDefault ( 9233 ) ( ) ;
let obj = importDefault ( 14690 ) ;
2026-07-20 16:05:17 +00:00
const screenStyles = obj . useScreenStyles ( tmp ) ;
const first = screenProps . mfaChallenge . methods [ 0 ] ;
let type ;
if ( null != first ) {
type = first . type ;
}
let tmp5 = type === mfaMethod ;
obj = { bottom : ! tmp , top : ! tmp , style : screenStyles.contentContainer } ;
obj = { } ;
const obj1 = { style : screenStyles.mfaContainerHeader , spacing : 4 } ;
let tmp7 = null != headerImage ;
if ( tmp7 ) {
tmp7 = headerImage ;
}
2026-07-23 10:11:24 +00:00
const items = [ tmp7 , callback ( require ( 4126 ) /* Text */ . Text , { variant : "heading-xl/extrabold" , style : screenStyles.mfaContainerHeaderText , children : headerText } ) , , ] ;
2026-07-20 16:05:17 +00:00
let tmp8 = null != subtitle ;
if ( tmp8 ) {
2026-07-23 10:11:24 +00:00
const obj3 = { variant : "heading-sm/normal" , color : "text-default" , children : subtitle } ;
tmp8 = callback ( require ( 4126 ) /* Text */ . Text , obj3 ) ;
2026-07-20 16:05:17 +00:00
}
items [ 2 ] = tmp8 ;
let tmp12 = null != error ;
if ( tmp12 ) {
2026-07-23 10:11:24 +00:00
const obj4 = { variant : "text-sm/normal" , color : "text-feedback-critical" , children : error } ;
tmp12 = callback ( require ( 4126 ) /* Text */ . Text , obj4 ) ;
2026-07-20 16:05:17 +00:00
}
items [ 3 ] = tmp12 ;
obj1 . children = items ;
2026-07-23 10:11:24 +00:00
const items1 = [ closure_5 ( require ( 4541 ) /* Stack */ . Stack , obj1 ) , input ] ;
2026-07-20 16:05:17 +00:00
obj . children = items1 ;
2026-07-23 10:11:24 +00:00
const items2 = [ closure_5 ( require ( 4541 ) /* Stack */ . Stack , obj ) , content , ] ;
2026-07-20 16:05:17 +00:00
const obj5 = { style : screenStyles.submit } ;
const items3 = [ submit , ] ;
if ( tmp5 ) {
const obj6 = { props : screenProps } ;
2026-07-24 07:16:23 +00:00
tmp5 = callback ( importDefault ( 14691 ) , obj6 ) ;
2026-07-20 16:05:17 +00:00
}
items3 [ 1 ] = tmp5 ;
obj5 . children = items3 ;
2026-07-23 10:11:24 +00:00
items2 [ 2 ] = closure_5 ( require ( 4541 ) /* Stack */ . Stack , obj5 ) ;
2026-07-20 16:05:17 +00:00
obj . children = items2 ;
2026-07-23 10:11:24 +00:00
const tmp6Result = closure_5 ( require ( 5121 ) /* SafeAreaPaddingView */ . SafeAreaPaddingView , obj ) ;
2026-07-20 16:05:17 +00:00
const obj7 = { } ;
2026-07-24 07:16:23 +00:00
const items4 = [ callback ( importDefault ( 9258 ) , { backgroundImageCover : false } ) , ] ;
2026-07-20 16:05:17 +00:00
let tmp23 = tmp6Result ;
if ( tmp ) {
const obj8 = { keyboardShouldPersistTaps : "handled" , children : tmp6Result } ;
tmp23 = callback ( ScrollView , obj8 ) ;
}
items4 [ 1 ] = tmp23 ;
obj7 . children = items4 ;
return closure_5 ( closure_6 , obj7 ) ;
} ;