var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
    if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
    return cooked;
};
var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };
        return extendStatics(d, b);
    }
    return function (d, b) {
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();
import React from 'react';
import chroma from 'chroma-js';
import styled from 'react-emotion';
import { colors } from '../base-styles';
var fill = colors.red;
var stroke = chroma(colors.red).darken(0.5);
var Path = styled.path(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n  cursor: grab;\n"], ["\n  cursor: grab;\n"])));
var StatementShape = /** @class */ (function (_super) {
    __extends(StatementShape, _super);
    function StatementShape() {
        return _super !== null && _super.apply(this, arguments) || this;
    }
    StatementShape.getHeight = function () {
        return 48;
    };
    StatementShape.prototype.render = function () {
        var width = this.props.width;
        var path = "\n      m 0,4\n      A 4,4 0 0,1 4,0\n      H 12\n      c 2,0 3,1 4,2\n      l 4,4\n      c 1,1 2,2 4,2\n      h 12\n      c 2,0 3,-1 4,-2\n      l 4,-4\n      c 1,-1 2,-2 4,-2\n      H " + width + "\n      a 4,4 0 0,1 4,4\n      v 40\n      a 4,4 0 0,1 -4,4\n      H 48\n      c -2,0 -3,1 -4,2\n      l -4,4\n      c -1,1 -2,2 -4,2\n      h -12\n      c -2,0 -3,-1 -4,-2\n      l -4,-4\n      c -1,-1 -2,-2 -4,-2\n      H 4\n      a 4,4 0 0,1 -4,-4\n      z\n    ";
        return (React.createElement(Path, { fill: fill, stroke: stroke, d: path }));
    };
    return StatementShape;
}(React.Component));
export default StatementShape;
var templateObject_1;
//# sourceMappingURL=StatementShape.js.map