"use strict";

exports.__esModule = true;
exports.default = exports.isSwitchProps = void 0;

var _componentProps = _interopRequireDefault(require("../componentProps"));

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

(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();

(function () {
  var enterModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.enterModule : undefined;
  enterModule && enterModule(module);
})();

function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }

function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }

var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
  return a;
};

var __signature__ = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default.signature : function (a) {
  return a;
};

var SwitchProps = /*#__PURE__*/function (_ComponentProps) {
  _inheritsLoose(SwitchProps, _ComponentProps);

  function SwitchProps() {
    var _this;

    _this = _ComponentProps.call(this) || this;

    _this.componentProps.set(_this.constructor.propNames.update, null);

    _this.componentProps.set(_this.constructor.propNames.value, null);

    _this.componentProps.set(_this.constructor.propNames.onCaption, null);

    _this.componentProps.set(_this.constructor.propNames.offCaption, null);

    _this.componentProps.set(_this.constructor.propNames.disabled, null);

    _this.componentProps.set(_this.constructor.propNames.readOnly, null);

    _this.componentProps.set(_this.constructor.propNames.className, null);

    _this.componentProps.set(_this.constructor.propNames.id, null);

    _this.componentProps.set(_this.constructor.propNames.metadata, null);

    _this._isSwitchProps = true;
    return _this;
  }

  var _proto = SwitchProps.prototype;

  // @ts-ignore
  _proto.__reactstandin__regenerateByEval = function __reactstandin__regenerateByEval(key, code) {
    // @ts-ignore
    this[key] = eval(code);
  };

  return SwitchProps;
}(_componentProps.default);

_defineProperty(SwitchProps, "propNames", {
  update: "update",
  value: "value",
  onCaption: "onCaption",
  offCaption: "offCaption",
  disabled: "disabled",
  readOnly: "readOnly",
  className: "className",
  id: "id",
  metadata: "metadata"
});

var isSwitchProps = function isSwitchProps(value) {
  if (value == null) return true;
  return typeof value === "object" && (value instanceof SwitchProps || value._isSwitchProps === true);
};

exports.isSwitchProps = isSwitchProps;
var _default = SwitchProps;
var _default2 = _default;
var _default3 = _default2;
exports.default = _default3;
;

(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;

  if (!reactHotLoader) {
    return;
  }

  reactHotLoader.register(SwitchProps, "SwitchProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SwitchProps.js");
  reactHotLoader.register(isSwitchProps, "isSwitchProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SwitchProps.js");
  reactHotLoader.register(_default, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SwitchProps.js");
})();

;

(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();

;

(function () {
  var reactHotLoader = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.default : undefined;

  if (!reactHotLoader) {
    return;
  }

  reactHotLoader.register(SwitchProps, "SwitchProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SwitchProps.js");
  reactHotLoader.register(isSwitchProps, "isSwitchProps", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SwitchProps.js");
  reactHotLoader.register(_default2, "default", "/home/vsts/work/1/s/src/components/MaterialUI/Inputs/SwitchProps.js");
})();

;

(function () {
  var leaveModule = typeof reactHotLoaderGlobal !== 'undefined' ? reactHotLoaderGlobal.leaveModule : undefined;
  leaveModule && leaveModule(module);
})();