'use strict';

var jsxRuntime = require('react/jsx-runtime');
var characterTypes = require('../characterTypes.js');

const Arm = ({ colors, side, scale = 1, transform, strokeWidth = 1.4 }) => {
    const skin = characterTypes.pick(colors, 0, "var(--anim-skin, #FFD2B3)");
    const cloth = characterTypes.pick(colors, 1, "var(--anim-shirt, #3B82F6)");
    const stroke = characterTypes.pick(colors, 2, "var(--anim-stroke, #111)");
    const sx = side;
    return (jsxRuntime.jsxs("g", { transform: `${transform !== null && transform !== void 0 ? transform : ""} scale(${scale})`, stroke: stroke, strokeWidth: strokeWidth, strokeLinecap: "round", children: [jsxRuntime.jsx("line", { x1: 0, y1: 0, x2: sx * 4, y2: 22, stroke: cloth, strokeWidth: strokeWidth + 2 }), jsxRuntime.jsx("line", { x1: sx * 4, y1: 22, x2: sx * 2, y2: 44, stroke: skin, strokeWidth: strokeWidth + 1 }), jsxRuntime.jsx("circle", { cx: sx * 2, cy: 46, r: 3.5, fill: skin })] }));
};

exports.Arm = Arm;
//# sourceMappingURL=arms.js.map
