"use strict";var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault").default;exports.__esModule = true;exports.LoaderAndButton = void 0;var _inheritsLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/inheritsLoose"));var _react = _interopRequireDefault(require("react"));

var _Tooltip = require("../../Tooltip");
var _Button = require("../../Button");
var _Loader = require("../Loader");var







LoaderAndButton = exports.LoaderAndButton = /*#__PURE__*/function (_React$Component) {function LoaderAndButton() {var _this;for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {args[_key] = arguments[_key];}_this = _React$Component.call.apply(_React$Component, [this].concat(args)) || this;_this.
    state = {
      isTooltipOpened: false
    };return _this;}(0, _inheritsLoose2.default)(LoaderAndButton, _React$Component);var _proto = LoaderAndButton.prototype;_proto.

  render = function render() {var _this2 = this;
    return /*#__PURE__*/(
      _react.default.createElement(_Loader.Loader, { active: this.props.active, type: 'big' }, /*#__PURE__*/
      _react.default.createElement("h1", null, "Yeah, and if you were the pope they'd be all, \"Straighten your pope hat.\" And \"Put on your good vestments.\""


      ), /*#__PURE__*/
      _react.default.createElement(_Tooltip.Tooltip, { render: function render() {return 'Yes, you can!';}, trigger: this.state.isTooltipOpened ? 'opened' : 'closed' }, /*#__PURE__*/
      _react.default.createElement(_Button.Button, {
        onClick: function onClick() {
          _this2.setState({ isActive: true, isTooltipOpened: true });
        } },
      "Can you click me?"

      )
      ), /*#__PURE__*/
      _react.default.createElement("p", null, "No, I'm Santa Claus! I guess if you want children beaten, you have to do it yourself. We're also Santa Claus! Leela, Bender, we're going grave robbing."


      ), /*#__PURE__*/
      _react.default.createElement("p", null, "Are you crazy? I can't swallow that. Large bet on myself in round one. Hey, whatcha watching?",
      ' ', /*#__PURE__*/
      _react.default.createElement("strong", null, " Moving along\u2026 I guess if you want children beaten, you have to do it yourself."), /*#__PURE__*/
      _react.default.createElement("em", null, "It's okay, Bender."), " I like cooking too."
      ), /*#__PURE__*/
      _react.default.createElement("h2", null, "Oh, I think we should just stay friends."), /*#__PURE__*/
      _react.default.createElement("p", null, "No argument here. And when we woke up, we had these bodies. You guys go on without me! I'm going to go\u2026 look for more stuff to steal! Oh, how awful. Did he at least die painlessly? \u2026To shreds, you say. Well, how is his wife holding up? \u2026To shreds, you say."



      ), /*#__PURE__*/
      _react.default.createElement("ol", null, /*#__PURE__*/
      _react.default.createElement("li", null, "No! The kind with looting and maybe starting a few fires!"), /*#__PURE__*/
      _react.default.createElement("li", null, "You are the last hope of the universe."), /*#__PURE__*/
      _react.default.createElement("li", null, "Hey, guess what you're accessories to.")
      )
      ));

  };return LoaderAndButton;}(_react.default.Component);