"use strict";
var __importStar = (this && this.__importStar) || function (mod) {
    if (mod && mod.__esModule) return mod;
    var result = {};
    if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
    result["default"] = mod;
    return result;
};
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
/* @flow */
const React = __importStar(require("react"));
{
    TermsOfServiceProps;
}
from;
'./types';
const withStyles_1 = __importDefault(require("components/hoc/withStyles"));
const ErrorBoundary_1 = __importDefault(require("components/hoc/ErrorBoundary"));
const termsOfService_md_1 = __importDefault(require("./termsOfService.md"));
const styles_1 = __importDefault(require("./styles"));
class TermsOfService extends React.Component {
    render() {
        let { classes } = this.props;
        return (React.createElement(ErrorBoundary_1.default, null,
            React.createElement("div", { className: classes.component },
                React.createElement("div", { dangerouslySetInnerHTML: { __html: termsOfService_md_1.default.contents } }))));
    }
}
exports.default = withStyles_1.default(styles_1.default)(TermsOfService);
//# sourceMappingURL=index.js.map