var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
import React from 'react';
import styled from '@monstrosity/utilities/themed-components';
import { Avatar, AvatarSourceSvgs } from '../../core';
var Layout = styled.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\tdisplay: flex;\n\tjustify-content: space-between;\n\talign-items: center;\n\tflex: 1;\n\tpadding: 0.5rem;\n\n\tcolor: ", ";\n"], ["\n\tdisplay: flex;\n\tjustify-content: space-between;\n\talign-items: center;\n\tflex: 1;\n\tpadding: 0.5rem;\n\n\tcolor: ", ";\n"])), function (_a) {
    var theme = _a.theme, isColourful = _a.isColourful;
    return isColourful ? theme.style.colour.background : theme.style.colour.base;
});
var Align = styled.span(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n\tmargin-right: auto;\n\tmargin-left: 1rem;\n"], ["\n\tmargin-right: auto;\n\tmargin-left: 1rem;\n"])));
export var UserSelect = function (_a) {
    var label = _a.label, imageSrc = _a.imageSrc, size = _a.size, isColourful = _a.isColourful;
    return (React.createElement(Layout, { isColourful: isColourful },
        React.createElement(Avatar, { imageSrc: imageSrc, size: size }),
        React.createElement(Align, null, label)));
};
export var Oldie = function (props) { return React.createElement(UserSelect, __assign({ imageSrc: AvatarSourceSvgs.Oldie }, props)); };
export var Man = function (props) { return React.createElement(UserSelect, __assign({ imageSrc: AvatarSourceSvgs.Man }, props)); };
export var Nerd = function (props) { return React.createElement(UserSelect, __assign({ imageSrc: AvatarSourceSvgs.Nerd }, props)); };
export var Lady = function (props) { return React.createElement(UserSelect, __assign({ imageSrc: AvatarSourceSvgs.Lady }, props)); };
export var Guy = function (props) { return React.createElement(UserSelect, __assign({ imageSrc: AvatarSourceSvgs.Guy }, props)); };
export var Boof = function (props) { return React.createElement(UserSelect, __assign({ imageSrc: AvatarSourceSvgs.Boof }, props)); };
export var Boy = function (props) { return React.createElement(UserSelect, __assign({ imageSrc: AvatarSourceSvgs.Boy }, props)); };
export var Goth = function (props) { return React.createElement(UserSelect, __assign({ imageSrc: AvatarSourceSvgs.Goth }, props)); };
export var Girl = function (props) { return React.createElement(UserSelect, __assign({ imageSrc: AvatarSourceSvgs.Girl }, props)); };
var templateObject_1, templateObject_2;
