import { jsx as _jsx, Fragment as _Fragment, jsxs as _jsxs } from "react/jsx-runtime";
// packages/ui/src/internal/layout/config/presets/game.tsx
/**
 * @fileoverview Game Preset Configuration
 * @description Mobile gaming layout with centered title.
 * Optimized for full-screen gaming experiences.
 *
 * @version 0.0.1
 * @since 0.0.1
 * @author AMBROISE PARK Consulting
 */
import { DISPLAY } from '@donotdev/components';
import { LanguageSelector } from '@donotdev/core';
import { AuthHeader } from '../../../../components/auth';
import { GameTitle, ThemeToggle, } from '../../../../components/layout/components';
import { FooterCopyright } from '../../components/footer/FooterCopyright';
import { FooterLegalLinks } from '../../components/footer/FooterLegalLinks';
import { DEFAULT_SLOTS } from '../defaults';
/**
 * Game preset - mobile gaming layout
 *
 * Zones:
 * - Header: Empty start, GameTitle center, actions end (no GoTo)
 * - Footer: Automatic footer (hidden on mobile, merged into header)
 * - No sidebar
 *
 * Mobile behavior:
 * - MergedBar at top includes footer content
 * - Footer hidden on mobile/tablet
 */
export const gamePreset = {
    name: 'game',
    header: {
        start: () => null,
        center: () => _jsx(GameTitle, {}),
        end: () => (_jsxs(_Fragment, { children: [_jsx(AuthHeader, { display: DISPLAY.AUTO }), _jsx(LanguageSelector, { display: DISPLAY.AUTO }), _jsx(ThemeToggle, { display: DISPLAY.AUTO })] })),
    },
    footer: {},
    mobile: {
        mergedBar: {
            position: 'top',
            // Desktop → Mobile mapping:
            trigger: () => _jsx(GameTitle, {}), // header.center → trigger
            top: () => (
            // header.end → top (Auth, Language, Theme)
            _jsxs(_Fragment, { children: [_jsx(AuthHeader, { display: DISPLAY.AUTO }), _jsx(LanguageSelector, { display: DISPLAY.AUTO }), _jsx(ThemeToggle, { display: DISPLAY.AUTO })] })),
            content: DEFAULT_SLOTS.sidebar.content, // Navigation menu
            bottom: () => (
            // Footer content: copyright + legal links (includes branding)
            _jsxs(_Fragment, { children: [_jsx(FooterCopyright, {}), _jsx(FooterLegalLinks, {})] })),
        },
    },
};
