<?php

declare(strict_types=1);

/** @var string $next */
/** @var string $msgBad */
/** @var string $stickyUsername */
/** @var string $stickyDisplay */
/** @var string $stickyEmail */
/** @var string $csrf */
/** @var bool $disabled */
/** @var bool $needVerifyEmailUi */
/** @var bool $needEmailUi */
/** @var bool $reverseOnlyUi */
/** @var bool $tokenOnlyUi */
/** @var bool $bothVerifyUi */
/** @var bool $needManualApprovalUi */
/** @var array{id:int,username:string,display_name:string,avatar_rel:string}|null $fatePublicMember */
/** @var bool $fateAdminNavVisible */
/** @var int|null $fatePageHitCount */
/** @var bool|null $fatePageStatsDbOk */
/** @var string $fatePageTitle */
/** @var array<string,mixed>|null $fateSeoContext */

$fateIncludeAuthStyles = true;
require __DIR__ . '/partials/head.php';
?>
<body class="minimal-body minimal-body--inner">
<?php require __DIR__ . '/partials/bar.php'; ?>
<div class="minimal-page fate-auth-page">
<?php require dirname(__DIR__) . '/default/register_main.php'; ?>
</div>
<?php
if (!$disabled && fate_admin_member_auth_ready()) {
    ?>
<script src="./static/register-avail.js?v=1"></script>
    <?php
}
$fateAuthLoginNext = $next;
require __DIR__ . '/partials/footer.php';
