"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var _react = _interopRequireDefault(require("react"));

require("./index.less");

var _mobx = require("../../../../../mobx");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var __extends = void 0 && (void 0).__extends || function () {
  var _extendStatics = function extendStatics(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 __());
  };
}();

var ImageGalleryMobile =
/** @class */
function (_super) {
  __extends(ImageGalleryMobile, _super);

  function ImageGalleryMobile() {
    var _this = _super !== null && _super.apply(this, arguments) || this;

    _this.state = {};
    _this.carouselRef = /*#__PURE__*/_react["default"].createRef();
    _this.destroy = null;
    return _this;
  }

  ImageGalleryMobile.prototype.componentDidMount = function () {
    this.destroy = (0, _mobx.autorun)(function () {// this.init(this.props.data.groupSource);
    });
  };

  ImageGalleryMobile.prototype.componentWillReceiveProps = function (nextProps) {// this.init(nextProps.data.groupSource);
  };

  ImageGalleryMobile.prototype.componentWillUnmount = function () {// this.destroy();
  };

  ImageGalleryMobile.prototype.render = function () {
    var data = this.props.data;
    return /*#__PURE__*/_react["default"].createElement("div", {
      className: "m-image-gallery-mobile"
    }, "image gallery");
  };

  ImageGalleryMobile.defaultProps = {
    data: {
      groupSource: []
    }
  };
  return ImageGalleryMobile;
}(_react["default"].Component);

var _default = ImageGalleryMobile;
exports["default"] = _default;