2026-08-08 06:10:11 +00:00
// Module ID: 14158
// Function ID: 14159
2026-07-20 16:05:17 +00:00
// Name: FamilyCenterLinkingBannerParentContent
2026-08-08 06:10:11 +00:00
// Dependencies: [19, 17, 21, 4303, 712, 7338, 11326, 1236, 2284, 14159, 4299, 14121, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-08 06:10:11 +00:00
// Module 14158 (FamilyCenterLinkingBannerParentContent)
2026-07-29 08:29:29 +00:00
import "noop" ;
2026-07-23 10:11:24 +00:00
import get_ActivityIndicator from "get ActivityIndicator" ;
import jsxProd from "jsxProd" ;
2026-07-29 08:29:29 +00:00
import createCacheKey from "createCacheKey" ;
import createCacheKey from "createCacheKey" ;
import createCacheKey from "createCacheKey" ;
import createCacheKey from "createCacheKey" ;
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
let c3 ;
let c4 ;
let c5 ;
2026-07-23 10:11:24 +00:00
let closure_6 ;
const require = arg1 ;
2026-07-20 16:05:17 +00:00
function FamilyCenterLinkingBannerParentContent() {
2026-07-29 08:29:29 +00:00
let obj = { style : callback3 ( ) . container , children : null } ;
obj = { index : 1 , header : null , description : null } ;
const intl = require ( 1236 ) /* getSystemLocale */ . intl ;
2026-08-06 08:05:19 +00:00
obj [ 1 ] = intl . string ( importDefault ( 2284 ) [ "7xxAni" ] ) ;
2026-07-29 08:29:29 +00:00
const intl2 = require ( 1236 ) /* getSystemLocale */ . intl ;
2026-08-06 08:05:19 +00:00
obj [ 2 ] = intl2 . string ( importDefault ( 2284 ) [ "1M9So2" ] ) ;
2026-07-20 16:05:17 +00:00
const items = [ callback ( FamilyCenterLinkingInstructionsRow , obj ) , , , ] ;
2026-07-29 08:29:29 +00:00
obj = { index : 2 , header : null , description : null } ;
const intl3 = require ( 1236 ) /* getSystemLocale */ . intl ;
2026-08-06 08:05:19 +00:00
obj [ 1 ] = intl3 . string ( importDefault ( 2284 ) [ "AXgx+a" ] ) ;
2026-07-29 08:29:29 +00:00
const intl4 = require ( 1236 ) /* getSystemLocale */ . intl ;
2026-08-06 08:05:19 +00:00
obj [ 2 ] = intl4 . string ( importDefault ( 2284 ) . GzMFnb ) ;
2026-07-20 16:05:17 +00:00
items [ 1 ] = callback ( FamilyCenterLinkingInstructionsRow , obj ) ;
2026-07-29 08:29:29 +00:00
const obj1 = { index : 3 , header : null , description : null , isLast : true } ;
const intl5 = require ( 1236 ) /* getSystemLocale */ . intl ;
2026-08-06 08:05:19 +00:00
obj1 [ 1 ] = intl5 . string ( importDefault ( 2284 ) . MZn1tG ) ;
2026-07-29 08:29:29 +00:00
const intl6 = require ( 1236 ) /* getSystemLocale */ . intl ;
2026-08-06 08:05:19 +00:00
obj1 [ 2 ] = intl6 . string ( importDefault ( 2284 ) [ "8rLBxD" ] ) ;
2026-07-20 16:05:17 +00:00
items [ 2 ] = callback ( FamilyCenterLinkingInstructionsRow , obj1 ) ;
2026-08-08 06:10:11 +00:00
items [ 3 ] = callback ( require ( 14121 ) /* FamilyCenterTeenQRCodeButtonInner */ . FamilyCenterParentQRCodeButton , { } ) ;
2026-07-29 08:29:29 +00:00
obj [ 1 ] = items ;
2026-07-20 16:05:17 +00:00
return callback2 ( closure_3 , obj ) ;
}
function FamilyCenterLinkingBannerTeenContent() {
2026-08-08 06:10:11 +00:00
return callback ( closure_3 , { style : createCacheKey ( ) . container , children : callback ( require ( 14121 ) /* FamilyCenterTeenQRCodeButtonInner */ . FamilyCenterTeenQRCodeButton , { } ) } ) ;
2026-07-20 16:05:17 +00:00
}
function FamilyCenterLinkingInstructionsRow ( arg0 ) {
let description ;
let header ;
let index ;
let isLast ;
( { header , description , index , isLast } = arg0 ) ;
2026-07-23 10:11:24 +00:00
const tmp = callback4 ( ) ;
2026-07-29 08:29:29 +00:00
let obj = { style : tmp.row , children : null } ;
2026-08-08 06:10:11 +00:00
obj = { style : tmp.circle , children : callback ( require ( 4299 ) /* Text */ . Text , { variant : "heading-md/semibold" , color : "text-brand" , children : index } ) } ;
2026-07-20 16:05:17 +00:00
const items = [ callback ( closure_3 , obj ) , ] ;
const items1 = [ tmp . rowContent , ] ;
let gap = null ;
if ( ! isLast ) {
gap = tmp . gap ;
}
2026-07-29 08:29:29 +00:00
obj = { style : items1 , children : null } ;
2026-07-20 16:05:17 +00:00
items1 [ 1 ] = gap ;
2026-08-08 06:10:11 +00:00
const items2 = [ callback ( require ( 4299 ) /* Text */ . Text , { variant : "heading-sm/bold" , children : header } ) , callback ( require ( 4299 ) /* Text */ . Text , { variant : "text-sm/medium" , color : "text-muted" , children : description } ) ] ;
2026-07-29 08:29:29 +00:00
obj [ 1 ] = items2 ;
items [ 1 ] = closure_6 ( closure_3 , obj ) ;
obj [ 1 ] = items ;
2026-07-20 16:05:17 +00:00
return closure_6 ( closure_3 , obj ) ;
}
2026-07-29 08:29:29 +00:00
( { View : c3 , Image : c4 } = get_ActivityIndicator ) ;
( { jsx : c5 , jsxs : closure_6 } = jsxProd ) ;
createCacheKey = { container : null , content : null , art : null , header : null } ;
createCacheKey = { backgroundColor : require ( "Themes" ) . colors . BACKGROUND_BASE_LOW , marginTop : require ( "Themes" ) . space . PX_16 , paddingTop : 0 , paddingBottom : require ( "Themes" ) . space . PX_16 , alignItems : "center" , borderRadius : require ( "Themes" ) . radii . md , elevation : 2 , overflow : "hidden" } ;
createCacheKey [ 0 ] = createCacheKey ;
createCacheKey [ 1 ] = { padding : require ( "Themes" ) . space . PX_16 } ;
let obj1 = { padding : require ( "Themes" ) . space . PX_16 } ;
createCacheKey [ 2 ] = { width : "100%" , height : 175 , marginBottom : require ( "Themes" ) . space . PX_12 } ;
const obj2 = { width : "100%" , height : 175 , marginBottom : require ( "Themes" ) . space . PX_12 } ;
createCacheKey [ 3 ] = { marginBottom : require ( "Themes" ) . space . PX_8 } ;
createCacheKey = createCacheKey . createStyles ( createCacheKey ) ;
const obj4 = { container : null } ;
const obj3 = { marginBottom : require ( "Themes" ) . space . PX_8 } ;
obj4 [ 0 ] = { marginTop : require ( "Themes" ) . space . PX_8 , paddingHorizontal : require ( "Themes" ) . space . PX_16 , width : "100%" } ;
let closure_8 = createCacheKey . createStyles ( obj4 ) ;
createCacheKey = { container : null } ;
const obj5 = { marginTop : require ( "Themes" ) . space . PX_8 , paddingHorizontal : require ( "Themes" ) . space . PX_16 , width : "100%" } ;
createCacheKey [ 0 ] = { width : "100%" , paddingHorizontal : require ( "Themes" ) . space . PX_16 } ;
createCacheKey = createCacheKey . createStyles ( createCacheKey ) ;
const obj8 = { row : { display : "flex" , flexDirection : "row" , alignItems : "flex-start" } , gap : { marginBottom : 12 } , circle : null , rowContent : null } ;
createCacheKey = { display : "flex" , flexDirection : "column" , justifyContent : "center" , alignItems : "center" , overflow : "hidden" , width : 32 , height : 32 , borderRadius : require ( "Themes" ) . radii . round , backgroundColor : require ( "Themes" ) . colors . BACKGROUND_MOD_NORMAL } ;
obj8 [ 2 ] = createCacheKey ;
obj8 [ 3 ] = { marginLeft : 12 , flex : 1 } ;
let closure_12 = createCacheKey . createStyles ( obj8 ) ;
const obj7 = { width : "100%" , paddingHorizontal : require ( "Themes" ) . space . PX_16 } ;
2026-07-23 10:11:24 +00:00
const result = require ( "jsxProd" ) . fileFinishedImporting ( "modules/parent_tools/native/FamilyCenterLinkingBanner.tsx" ) ;
2026-07-20 16:05:17 +00:00
export default function FamilyCenterLinkingBanner() {
2026-07-29 08:29:29 +00:00
const tmp = createCacheKey ( ) ;
2026-08-08 06:10:11 +00:00
let obj = require ( 11326 ) /* useAgeSpecificText */ ;
2026-07-29 08:29:29 +00:00
const intl = require ( 1236 ) /* getSystemLocale */ . intl ;
2026-08-08 06:10:11 +00:00
const tmp2 = importDefault ( 7338 ) ( ) ;
2026-07-29 08:29:29 +00:00
const intl2 = require ( 1236 ) /* getSystemLocale */ . intl ;
2026-08-06 08:05:19 +00:00
const ageSpecificText = obj . useAgeSpecificText ( intl . string ( importDefault ( 2284 ) . zUCWEL ) , intl2 . string ( importDefault ( 2284 ) . B0NPbp ) ) ;
2026-08-08 06:10:11 +00:00
let obj1 = require ( 11326 ) /* useAgeSpecificText */ ;
2026-07-29 08:29:29 +00:00
const intl3 = require ( 1236 ) /* getSystemLocale */ . intl ;
2026-08-06 08:05:19 +00:00
const stringResult = intl . string ( importDefault ( 2284 ) . zUCWEL ) ;
2026-07-29 08:29:29 +00:00
const intl4 = require ( 1236 ) /* getSystemLocale */ . intl ;
obj = { style : tmp.container , children : null } ;
obj = { source : null , style : null , resizeMethod : "resize" } ;
2026-08-06 08:05:19 +00:00
const ageSpecificText1 = obj1 . useAgeSpecificText ( intl3 . format ( importDefault ( 2284 ) . yMnoDl , { link : "https://support.discord.com/hc/articles/14155060633623" } ) , intl4 . string ( importDefault ( 2284 ) . JsAEDi ) ) ;
2026-08-08 06:10:11 +00:00
obj [ 0 ] = importDefault ( 14159 ) ;
2026-07-29 08:29:29 +00:00
obj [ 1 ] = tmp . art ;
2026-07-20 16:05:17 +00:00
const items = [ callback ( closure_4 , obj ) , , ] ;
2026-07-29 08:29:29 +00:00
obj1 = { style : tmp.content , children : null } ;
2026-08-08 06:10:11 +00:00
const items1 = [ callback ( require ( 4299 ) /* Text */ . Text , { style : tmp.header , variant : "heading-lg/semibold" , children : ageSpecificText } ) , callback ( require ( 4299 ) /* Text */ . Text , { variant : "text-sm/medium" , color : "text-muted" , children : ageSpecificText1 } ) ] ;
2026-07-29 08:29:29 +00:00
obj1 [ 1 ] = items1 ;
2026-07-20 16:05:17 +00:00
items [ 1 ] = callback2 ( closure_3 , obj1 ) ;
items [ 2 ] = callback ( tmp2 ? FamilyCenterLinkingBannerParentContent : FamilyCenterLinkingBannerTeenContent , { } ) ;
2026-07-29 08:29:29 +00:00
obj [ 1 ] = items ;
2026-07-20 16:05:17 +00:00
return callback2 ( closure_3 , obj ) ;
} ;