import React from "https://esm.sh/react@18.3.1"; import { html } from "./constants.js?v=33"; import { StatusText, RoleChip } from "./components.js?v=32"; export function AuthModal({ mode, setMode, loginForm, setLoginForm, createResult, status, roleSearchInput, setRoleSearchInput, onRoleSearchInput, roleSearchItems, selectedRoles, onToggleRole, onCreate, onLogin, onFinishCreate, onClose, onOpenRole, }) { return html`
${createResult ? "Roles stay separate from plays. Pick any that fit now, or skip and change them later." : "Use your profile ID and pass. Partner links stay private."}
${ createResult ? html`${createResult.id}
${createResult.private_token}