"use strict";

var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");

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

var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));

var ViewState = function () {
  function ViewState(props, state) {
    (0, _classCallCheck2.default)(this, ViewState);
    this._viewportProps = void 0;
    this._state = void 0;
    this._viewportProps = this.applyConstraints(props);
    this._state = state;
  }

  var _proto = ViewState.prototype;

  _proto.getViewportProps = function getViewportProps() {
    return this._viewportProps;
  };

  _proto.getState = function getState() {
    return this._state;
  };

  return ViewState;
}();

exports.default = ViewState;
//# sourceMappingURL=view-state.js.map