"use strict";
Object.defineProperty(exports, "__esModule", {
  value: !0
}), exports.default = exports.AsyncRegionList = exports.AsyncOverview = exports.AsyncRootView = exports.AsyncLogin = void 0;
var _react = _interopRequireDefault(require("react")),
  _rayCodeSplit = _interopRequireDefault(require("ray-code-split"));

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

function _typeof(e) {
  return (_typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(e) {
    return typeof e
  } : function(e) {
    return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e
  })(e)
}

function _getRequireWildcardCache() {
  if ("function" != typeof WeakMap) return null;
  var e = new WeakMap;
  return _getRequireWildcardCache = function() {
    return e
  }, e
}

function _interopRequireWildcard(e) {
  if (e && e.__esModule) return e;
  if (null === e || "object" !== _typeof(e) && "function" != typeof e) return {
    default: e
  };
  var r = _getRequireWildcardCache();
  if (r && r.has(e)) return r.get(e);
  var n, t, o = {},
    a = Object.defineProperty && Object.getOwnPropertyDescriptor;
  for (n in e) Object.prototype.hasOwnProperty.call(e, n) && ((t = a ? Object.getOwnPropertyDescriptor(e, n) : null) && (t.get || t.set) ? Object.defineProperty(o, n, t) : o[n] = e[n]);
  return o.default = e, r && r.set(e, o), o
}
var AsyncEmptyPage = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/common/page/EmptyPage"))
    }),
    componentProps: e
  })
};
AsyncEmptyPage.displayName = "AsyncEmptyPage";
var AsyncLogin = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/login"))
    }),
    componentProps: e
  })
};
(exports.AsyncLogin = AsyncLogin).displayName = "AsyncLogin";
var AsyncRegionList = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/region"))
    }),
    componentProps: e
  })
};
(exports.AsyncRegionList = AsyncRegionList).displayName = "AsyncRegionList";
var AsyncRootView = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/mainframe"))
    }),
    componentProps: e
  })
};
(exports.AsyncRootView = AsyncRootView).displayName = "AsyncRootView";
var AsyncConfig = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/config"))
    }),
    componentProps: e
  })
};
AsyncConfig.displayName = "AsyncConfig";
var AsyncMonitor = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/monitor"))
    }),
    componentProps: e
  })
};
AsyncMonitor.displayName = "AsyncMonitor";
var AsyncHistoryAlarm = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/historyAlarm"))
    }),
    componentProps: e
  })
};
AsyncHistoryAlarm.displayName = "AsyncHistoryAlarm";
var AsyncRecentAlarm = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/recentAlarm"))
    }),
    componentProps: e
  })
};
AsyncRecentAlarm.displayName = "AsyncRecentAlarm";
var AsyncRuleDesign = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/ruleDesign"))
    }),
    componentProps: e
  })
};
AsyncRuleDesign.displayName = "AsyncRuleDesign";
var AsyncDeviceCustom = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/deviceCustom"))
    }),
    componentProps: e
  })
};
AsyncDeviceCustom.displayName = "AsyncDeviceCustom";
var AsyncOnlineMonitor = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/onlineMonitor"))
    }),
    componentProps: e
  })
};
AsyncOnlineMonitor.displayName = "AsyncOnlineMonitor";
var AsyncAlarmManage = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/alarmManage"))
    }),
    componentProps: e
  })
};
AsyncAlarmManage.displayName = "AsyncAlarmManage";
var AsyncOverview = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/zonglan/home"))
    }),
    componentProps: e
  })
};
(exports.AsyncOverview = AsyncOverview).displayName = "AsyncOverview";
var AsyncDeviceInterface = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/deviceInterface"))
    }),
    componentProps: e
  })
};
AsyncDeviceInterface.displayName = "AsyncDeviceInterface";
var AsyncDeviceProtocol = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/deviceProtocol"))
    }),
    componentProps: e
  })
};
AsyncDeviceProtocol.displayName = "AsyncDeviceProtocol";
var AsyncDeviceManage = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/deviceManage"))
    }),
    componentProps: e
  })
};
AsyncDeviceManage.displayName = "AsyncDeviceManage";
var AsyncRuleManage = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/ruleManage"))
    }),
    componentProps: e
  })
};
AsyncRuleManage.displayName = "AsyncRuleManage";
var AsyncTopoManage = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/topoManage"))
    }),
    componentProps: e
  })
};
AsyncTopoManage.displayName = "AsyncTopoManage";
var AsyncKunShan = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/topoManage/KunShan"))
    }),
    componentProps: e
  })
};
AsyncKunShan.displayName = "AsyncKunShan";
var AsyncHistoricalData = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/historicalData"))
    }),
    componentProps: e
  })
};
AsyncHistoricalData.displayName = "AsyncHistoricalData";
var AsyncCreateEquipment = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/createEquipment"))
    }),
    componentProps: e
  })
};
AsyncCreateEquipment.displayName = "AsyncCreateEquipment";
var AsyncSectionStoreRoom = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("./../view/sectionStoreRoom"))
    }),
    componentProps: e
  })
};
AsyncSectionStoreRoom.displayName = "AsyncSectionStoreRoom";
var AsyncPLCManager = function(e) {
  return _react.default.createElement(_rayCodeSplit.default, {
    load: Promise.resolve().then(function() {
      return _interopRequireWildcard(require("../view/plcManager"))
    }),
    componentProps: e
  })
};
AsyncPLCManager.displayName = "AsyncPLCManager";
var Routes = {
    main: AsyncRootView,
    config: AsyncConfig,
    monitor: AsyncMonitor,
    onlineMonitor: AsyncOnlineMonitor,
    deviceCustom: AsyncDeviceCustom,
    alarmManage: AsyncAlarmManage,
    deviceInterface: AsyncDeviceInterface,
    deviceProtocol: AsyncDeviceProtocol,
    deviceManage: AsyncDeviceManage,
    ruleManage: AsyncRuleManage,
    topoManage: AsyncTopoManage,
    kunshan: AsyncKunShan,
    historicalData: AsyncHistoricalData,
    historyAlarm: AsyncHistoryAlarm,
    recentAlarm: AsyncRecentAlarm,
    ruledesign: AsyncRuleDesign,
    overview: AsyncOverview,
    createEquipment: AsyncCreateEquipment,
    sectionStoreRoom: AsyncSectionStoreRoom,
    plcManager: AsyncPLCManager
  },
  pageCompontent = function(e) {
    return Routes[e] || AsyncEmptyPage
  },
  _default = pageCompontent;
exports.default = pageCompontent;
