2026-08-24 06:08:38 +00:00
|
|
|
// Module ID: 7175
|
|
|
|
|
// Function ID: 7176
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: ConnectionCard
|
2026-08-24 06:08:38 +00:00
|
|
|
// Dependencies: [19, 5291, 21, 7176, 7193, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
// Module 7175 (ConnectionCard)
|
|
|
|
|
import noopAll from "noop" /* 19 */;
|
|
|
|
|
import ApplicationConnectionCardDefault from "ApplicationConnectionCard" /* 7176 */;
|
|
|
|
|
import ProviderConnectionCardDefault from "ProviderConnectionCard" /* 7193 */;
|
|
|
|
|
import { OnboardingConnectionType } from "serverPromptToClientPrompt" /* 5291 */;
|
|
|
|
|
import { jsx } from "jsxProd" /* 21 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
noopAll;
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/guild_onboarding/native/ConnectionCard.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function ConnectionCard(arg0) {
|
|
|
|
|
({ connection, guildId, location: _location } = arg0);
|
|
|
|
|
const connection_type = connection.connection_type;
|
|
|
|
|
if (OnboardingConnectionType.APPLICATION === connection_type) {
|
2026-07-29 08:29:29 +00:00
|
|
|
let obj = { connection: null, guildId: null, location: null };
|
|
|
|
|
obj[0] = connection;
|
|
|
|
|
obj[1] = guildId;
|
|
|
|
|
obj[2] = _location;
|
2026-08-24 06:08:38 +00:00
|
|
|
return jsx(ApplicationConnectionCardDefault, { connection: null, guildId: null, location: null });
|
2026-07-29 08:29:29 +00:00
|
|
|
} else if (tmp.PROVIDER_CONNECTED_ACCOUNT === connection_type) {
|
|
|
|
|
obj = { connection: null, guildId: null, location: null };
|
|
|
|
|
obj[0] = connection;
|
|
|
|
|
obj[1] = guildId;
|
|
|
|
|
obj[2] = _location;
|
2026-08-24 06:08:38 +00:00
|
|
|
return jsx(ProviderConnectionCardDefault, { connection: null, guildId: null, location: null });
|
2026-07-20 16:05:17 +00:00
|
|
|
} else {
|
|
|
|
|
const connection_type2 = connection.connection_type;
|
|
|
|
|
return null;
|
|
|
|
|
}
|
|
|
|
|
};
|