import { __awaiter } from '../node_modules/.pnpm/@rollup_plugin-typescript@12.1.4_rollup@4.46.2_tslib@2.8.1_typescript@5.9.3/node_modules/tslib/tslib.es6.mjs';
import { jsx } from 'react/jsx-runtime';
import { getTranslations } from 'next-intl/server';
import { ClerkUserClient } from './clerk-user-client.mjs';

function ClerkUser(_a) {
    return __awaiter(this, arguments, void 0, function* ({ locale, clerkAuthInModal = true, showSignUp = true }) {
        const t = yield getTranslations({ locale, namespace: 'clerk' });
        const t2 = yield getTranslations({ locale, namespace: 'footer' });
        const data = {
            signIn: t('signIn'),
            signUp: t('signUp'),
            signUpBonus: t('signUpBonus'),
            signUpBonusTooltip: t('signUpBonusTooltip'),
            terms: t2('terms'),
            privacy: t2('privacy'),
            locale,
            clerkAuthInModal,
            showSignUp
        };
        return jsx(ClerkUserClient, { data: data });
    });
}

export { ClerkUser };
