login.d919b9206a46f65a9f0b.bundle.js 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369
  1. /******/ (function(modules) { // webpackBootstrap
  2. /******/ // install a JSONP callback for chunk loading
  3. /******/ function webpackJsonpCallback(data) {
  4. /******/ var chunkIds = data[0];
  5. /******/ var moreModules = data[1];
  6. /******/ var executeModules = data[2];
  7. /******/
  8. /******/ // add "moreModules" to the modules object,
  9. /******/ // then flag all "chunkIds" as loaded and fire callback
  10. /******/ var moduleId, chunkId, i = 0, resolves = [];
  11. /******/ for(;i < chunkIds.length; i++) {
  12. /******/ chunkId = chunkIds[i];
  13. /******/ if(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {
  14. /******/ resolves.push(installedChunks[chunkId][0]);
  15. /******/ }
  16. /******/ installedChunks[chunkId] = 0;
  17. /******/ }
  18. /******/ for(moduleId in moreModules) {
  19. /******/ if(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {
  20. /******/ modules[moduleId] = moreModules[moduleId];
  21. /******/ }
  22. /******/ }
  23. /******/ if(parentJsonpFunction) parentJsonpFunction(data);
  24. /******/
  25. /******/ while(resolves.length) {
  26. /******/ resolves.shift()();
  27. /******/ }
  28. /******/
  29. /******/ // add entry modules from loaded chunk to deferred list
  30. /******/ deferredModules.push.apply(deferredModules, executeModules || []);
  31. /******/
  32. /******/ // run deferred modules when all chunks ready
  33. /******/ return checkDeferredModules();
  34. /******/ };
  35. /******/ function checkDeferredModules() {
  36. /******/ var result;
  37. /******/ for(var i = 0; i < deferredModules.length; i++) {
  38. /******/ var deferredModule = deferredModules[i];
  39. /******/ var fulfilled = true;
  40. /******/ for(var j = 1; j < deferredModule.length; j++) {
  41. /******/ var depId = deferredModule[j];
  42. /******/ if(installedChunks[depId] !== 0) fulfilled = false;
  43. /******/ }
  44. /******/ if(fulfilled) {
  45. /******/ deferredModules.splice(i--, 1);
  46. /******/ result = __webpack_require__(__webpack_require__.s = deferredModule[0]);
  47. /******/ }
  48. /******/ }
  49. /******/
  50. /******/ return result;
  51. /******/ }
  52. /******/
  53. /******/ // The module cache
  54. /******/ var installedModules = {};
  55. /******/
  56. /******/ // object to store loaded and loading chunks
  57. /******/ // undefined = chunk not loaded, null = chunk preloaded/prefetched
  58. /******/ // Promise = chunk loading, 0 = chunk loaded
  59. /******/ var installedChunks = {
  60. /******/ "login": 0
  61. /******/ };
  62. /******/
  63. /******/ var deferredModules = [];
  64. /******/
  65. /******/ // The require function
  66. /******/ function __webpack_require__(moduleId) {
  67. /******/
  68. /******/ // Check if module is in cache
  69. /******/ if(installedModules[moduleId]) {
  70. /******/ return installedModules[moduleId].exports;
  71. /******/ }
  72. /******/ // Create a new module (and put it into the cache)
  73. /******/ var module = installedModules[moduleId] = {
  74. /******/ i: moduleId,
  75. /******/ l: false,
  76. /******/ exports: {}
  77. /******/ };
  78. /******/
  79. /******/ // Execute the module function
  80. /******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
  81. /******/
  82. /******/ // Flag the module as loaded
  83. /******/ module.l = true;
  84. /******/
  85. /******/ // Return the exports of the module
  86. /******/ return module.exports;
  87. /******/ }
  88. /******/
  89. /******/
  90. /******/ // expose the modules object (__webpack_modules__)
  91. /******/ __webpack_require__.m = modules;
  92. /******/
  93. /******/ // expose the module cache
  94. /******/ __webpack_require__.c = installedModules;
  95. /******/
  96. /******/ // define getter function for harmony exports
  97. /******/ __webpack_require__.d = function(exports, name, getter) {
  98. /******/ if(!__webpack_require__.o(exports, name)) {
  99. /******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
  100. /******/ }
  101. /******/ };
  102. /******/
  103. /******/ // define __esModule on exports
  104. /******/ __webpack_require__.r = function(exports) {
  105. /******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
  106. /******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
  107. /******/ }
  108. /******/ Object.defineProperty(exports, '__esModule', { value: true });
  109. /******/ };
  110. /******/
  111. /******/ // create a fake namespace object
  112. /******/ // mode & 1: value is a module id, require it
  113. /******/ // mode & 2: merge all properties of value into the ns
  114. /******/ // mode & 4: return value when already ns object
  115. /******/ // mode & 8|1: behave like require
  116. /******/ __webpack_require__.t = function(value, mode) {
  117. /******/ if(mode & 1) value = __webpack_require__(value);
  118. /******/ if(mode & 8) return value;
  119. /******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
  120. /******/ var ns = Object.create(null);
  121. /******/ __webpack_require__.r(ns);
  122. /******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
  123. /******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
  124. /******/ return ns;
  125. /******/ };
  126. /******/
  127. /******/ // getDefaultExport function for compatibility with non-harmony modules
  128. /******/ __webpack_require__.n = function(module) {
  129. /******/ var getter = module && module.__esModule ?
  130. /******/ function getDefault() { return module['default']; } :
  131. /******/ function getModuleExports() { return module; };
  132. /******/ __webpack_require__.d(getter, 'a', getter);
  133. /******/ return getter;
  134. /******/ };
  135. /******/
  136. /******/ // Object.prototype.hasOwnProperty.call
  137. /******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
  138. /******/
  139. /******/ // __webpack_public_path__
  140. /******/ __webpack_require__.p = "http://cld2.com:9090/";
  141. /******/
  142. /******/ var jsonpArray = window["webpackJsonp"] = window["webpackJsonp"] || [];
  143. /******/ var oldJsonpFunction = jsonpArray.push.bind(jsonpArray);
  144. /******/ jsonpArray.push = webpackJsonpCallback;
  145. /******/ jsonpArray = jsonpArray.slice();
  146. /******/ for(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);
  147. /******/ var parentJsonpFunction = oldJsonpFunction;
  148. /******/
  149. /******/
  150. /******/ // add entry module to deferred list
  151. /******/ deferredModules.push(["./src/login/index.js","framework","vendor"]);
  152. /******/ // run deferred modules when ready
  153. /******/ return checkDeferredModules();
  154. /******/ })
  155. /************************************************************************/
  156. /******/ ({
  157. /***/ "./node_modules/moment/locale sync recursive ^\\.\\/.*$":
  158. /*!**************************************************!*\
  159. !*** ./node_modules/moment/locale sync ^\.\/.*$ ***!
  160. \**************************************************/
  161. /*! no static exports found */
  162. /***/ (function(module, exports, __webpack_require__) {
  163. eval("var map = {\n\t\"./af\": \"./node_modules/moment/locale/af.js\",\n\t\"./af.js\": \"./node_modules/moment/locale/af.js\",\n\t\"./ar\": \"./node_modules/moment/locale/ar.js\",\n\t\"./ar-dz\": \"./node_modules/moment/locale/ar-dz.js\",\n\t\"./ar-dz.js\": \"./node_modules/moment/locale/ar-dz.js\",\n\t\"./ar-kw\": \"./node_modules/moment/locale/ar-kw.js\",\n\t\"./ar-kw.js\": \"./node_modules/moment/locale/ar-kw.js\",\n\t\"./ar-ly\": \"./node_modules/moment/locale/ar-ly.js\",\n\t\"./ar-ly.js\": \"./node_modules/moment/locale/ar-ly.js\",\n\t\"./ar-ma\": \"./node_modules/moment/locale/ar-ma.js\",\n\t\"./ar-ma.js\": \"./node_modules/moment/locale/ar-ma.js\",\n\t\"./ar-sa\": \"./node_modules/moment/locale/ar-sa.js\",\n\t\"./ar-sa.js\": \"./node_modules/moment/locale/ar-sa.js\",\n\t\"./ar-tn\": \"./node_modules/moment/locale/ar-tn.js\",\n\t\"./ar-tn.js\": \"./node_modules/moment/locale/ar-tn.js\",\n\t\"./ar.js\": \"./node_modules/moment/locale/ar.js\",\n\t\"./az\": \"./node_modules/moment/locale/az.js\",\n\t\"./az.js\": \"./node_modules/moment/locale/az.js\",\n\t\"./be\": \"./node_modules/moment/locale/be.js\",\n\t\"./be.js\": \"./node_modules/moment/locale/be.js\",\n\t\"./bg\": \"./node_modules/moment/locale/bg.js\",\n\t\"./bg.js\": \"./node_modules/moment/locale/bg.js\",\n\t\"./bm\": \"./node_modules/moment/locale/bm.js\",\n\t\"./bm.js\": \"./node_modules/moment/locale/bm.js\",\n\t\"./bn\": \"./node_modules/moment/locale/bn.js\",\n\t\"./bn.js\": \"./node_modules/moment/locale/bn.js\",\n\t\"./bo\": \"./node_modules/moment/locale/bo.js\",\n\t\"./bo.js\": \"./node_modules/moment/locale/bo.js\",\n\t\"./br\": \"./node_modules/moment/locale/br.js\",\n\t\"./br.js\": \"./node_modules/moment/locale/br.js\",\n\t\"./bs\": \"./node_modules/moment/locale/bs.js\",\n\t\"./bs.js\": \"./node_modules/moment/locale/bs.js\",\n\t\"./ca\": \"./node_modules/moment/locale/ca.js\",\n\t\"./ca.js\": \"./node_modules/moment/locale/ca.js\",\n\t\"./cs\": \"./node_modules/moment/locale/cs.js\",\n\t\"./cs.js\": \"./node_modules/moment/locale/cs.js\",\n\t\"./cv\": \"./node_modules/moment/locale/cv.js\",\n\t\"./cv.js\": \"./node_modules/moment/locale/cv.js\",\n\t\"./cy\": \"./node_modules/moment/locale/cy.js\",\n\t\"./cy.js\": \"./node_modules/moment/locale/cy.js\",\n\t\"./da\": \"./node_modules/moment/locale/da.js\",\n\t\"./da.js\": \"./node_modules/moment/locale/da.js\",\n\t\"./de\": \"./node_modules/moment/locale/de.js\",\n\t\"./de-at\": \"./node_modules/moment/locale/de-at.js\",\n\t\"./de-at.js\": \"./node_modules/moment/locale/de-at.js\",\n\t\"./de-ch\": \"./node_modules/moment/locale/de-ch.js\",\n\t\"./de-ch.js\": \"./node_modules/moment/locale/de-ch.js\",\n\t\"./de.js\": \"./node_modules/moment/locale/de.js\",\n\t\"./dv\": \"./node_modules/moment/locale/dv.js\",\n\t\"./dv.js\": \"./node_modules/moment/locale/dv.js\",\n\t\"./el\": \"./node_modules/moment/locale/el.js\",\n\t\"./el.js\": \"./node_modules/moment/locale/el.js\",\n\t\"./en-au\": \"./node_modules/moment/locale/en-au.js\",\n\t\"./en-au.js\": \"./node_modules/moment/locale/en-au.js\",\n\t\"./en-ca\": \"./node_modules/moment/locale/en-ca.js\",\n\t\"./en-ca.js\": \"./node_modules/moment/locale/en-ca.js\",\n\t\"./en-gb\": \"./node_modules/moment/locale/en-gb.js\",\n\t\"./en-gb.js\": \"./node_modules/moment/locale/en-gb.js\",\n\t\"./en-ie\": \"./node_modules/moment/locale/en-ie.js\",\n\t\"./en-ie.js\": \"./node_modules/moment/locale/en-ie.js\",\n\t\"./en-il\": \"./node_modules/moment/locale/en-il.js\",\n\t\"./en-il.js\": \"./node_modules/moment/locale/en-il.js\",\n\t\"./en-in\": \"./node_modules/moment/locale/en-in.js\",\n\t\"./en-in.js\": \"./node_modules/moment/locale/en-in.js\",\n\t\"./en-nz\": \"./node_modules/moment/locale/en-nz.js\",\n\t\"./en-nz.js\": \"./node_modules/moment/locale/en-nz.js\",\n\t\"./en-sg\": \"./node_modules/moment/locale/en-sg.js\",\n\t\"./en-sg.js\": \"./node_modules/moment/locale/en-sg.js\",\n\t\"./eo\": \"./node_modules/moment/locale/eo.js\",\n\t\"./eo.js\": \"./node_modules/moment/locale/eo.js\",\n\t\"./es\": \"./node_modules/moment/locale/es.js\",\n\t\"./es-do\": \"./node_modules/moment/locale/es-do.js\",\n\t\"./es-do.js\": \"./node_modules/moment/locale/es-do.js\",\n\t\"./es-us\": \"./node_modules/moment/locale/es-us.js\",\n\t\"./es-us.js\": \"./node_modules/moment/locale/es-us.js\",\n\t\"./es.js\": \"./node_modules/moment/locale/es.js\",\n\t\"./et\": \"./node_modules/moment/locale/et.js\",\n\t\"./et.js\": \"./node_modules/moment/locale/et.js\",\n\t\"./eu\": \"./node_modules/moment/locale/eu.js\",\n\t\"./eu.js\": \"./node_modules/moment/locale/eu.js\",\n\t\"./fa\": \"./node_modules/moment/locale/fa.js\",\n\t\"./fa.js\": \"./node_modules/moment/locale/fa.js\",\n\t\"./fi\": \"./node_modules/moment/locale/fi.js\",\n\t\"./fi.js\": \"./node_modules/moment/locale/fi.js\",\n\t\"./fil\": \"./node_modules/moment/locale/fil.js\",\n\t\"./fil.js\": \"./node_modules/moment/locale/fil.js\",\n\t\"./fo\": \"./node_modules/moment/locale/fo.js\",\n\t\"./fo.js\": \"./node_modules/moment/locale/fo.js\",\n\t\"./fr\": \"./node_modules/moment/locale/fr.js\",\n\t\"./fr-ca\": \"./node_modules/moment/locale/fr-ca.js\",\n\t\"./fr-ca.js\": \"./node_modules/moment/locale/fr-ca.js\",\n\t\"./fr-ch\": \"./node_modules/moment/locale/fr-ch.js\",\n\t\"./fr-ch.js\": \"./node_modules/moment/locale/fr-ch.js\",\n\t\"./fr.js\": \"./node_modules/moment/locale/fr.js\",\n\t\"./fy\": \"./node_modules/moment/locale/fy.js\",\n\t\"./fy.js\": \"./node_modules/moment/locale/fy.js\",\n\t\"./ga\": \"./node_modules/moment/locale/ga.js\",\n\t\"./ga.js\": \"./node_modules/moment/locale/ga.js\",\n\t\"./gd\": \"./node_modules/moment/locale/gd.js\",\n\t\"./gd.js\": \"./node_modules/moment/locale/gd.js\",\n\t\"./gl\": \"./node_modules/moment/locale/gl.js\",\n\t\"./gl.js\": \"./node_modules/moment/locale/gl.js\",\n\t\"./gom-deva\": \"./node_modules/moment/locale/gom-deva.js\",\n\t\"./gom-deva.js\": \"./node_modules/moment/locale/gom-deva.js\",\n\t\"./gom-latn\": \"./node_modules/moment/locale/gom-latn.js\",\n\t\"./gom-latn.js\": \"./node_modules/moment/locale/gom-latn.js\",\n\t\"./gu\": \"./node_modules/moment/locale/gu.js\",\n\t\"./gu.js\": \"./node_modules/moment/locale/gu.js\",\n\t\"./he\": \"./node_modules/moment/locale/he.js\",\n\t\"./he.js\": \"./node_modules/moment/locale/he.js\",\n\t\"./hi\": \"./node_modules/moment/locale/hi.js\",\n\t\"./hi.js\": \"./node_modules/moment/locale/hi.js\",\n\t\"./hr\": \"./node_modules/moment/locale/hr.js\",\n\t\"./hr.js\": \"./node_modules/moment/locale/hr.js\",\n\t\"./hu\": \"./node_modules/moment/locale/hu.js\",\n\t\"./hu.js\": \"./node_modules/moment/locale/hu.js\",\n\t\"./hy-am\": \"./node_modules/moment/locale/hy-am.js\",\n\t\"./hy-am.js\": \"./node_modules/moment/locale/hy-am.js\",\n\t\"./id\": \"./node_modules/moment/locale/id.js\",\n\t\"./id.js\": \"./node_modules/moment/locale/id.js\",\n\t\"./is\": \"./node_modules/moment/locale/is.js\",\n\t\"./is.js\": \"./node_modules/moment/locale/is.js\",\n\t\"./it\": \"./node_modules/moment/locale/it.js\",\n\t\"./it-ch\": \"./node_modules/moment/locale/it-ch.js\",\n\t\"./it-ch.js\": \"./node_modules/moment/locale/it-ch.js\",\n\t\"./it.js\": \"./node_modules/moment/locale/it.js\",\n\t\"./ja\": \"./node_modules/moment/locale/ja.js\",\n\t\"./ja.js\": \"./node_modules/moment/locale/ja.js\",\n\t\"./jv\": \"./node_modules/moment/locale/jv.js\",\n\t\"./jv.js\": \"./node_modules/moment/locale/jv.js\",\n\t\"./ka\": \"./node_modules/moment/locale/ka.js\",\n\t\"./ka.js\": \"./node_modules/moment/locale/ka.js\",\n\t\"./kk\": \"./node_modules/moment/locale/kk.js\",\n\t\"./kk.js\": \"./node_modules/moment/locale/kk.js\",\n\t\"./km\": \"./node_modules/moment/locale/km.js\",\n\t\"./km.js\": \"./node_modules/moment/locale/km.js\",\n\t\"./kn\": \"./node_modules/moment/locale/kn.js\",\n\t\"./kn.js\": \"./node_modules/moment/locale/kn.js\",\n\t\"./ko\": \"./node_modules/moment/locale/ko.js\",\n\t\"./ko.js\": \"./node_modules/moment/locale/ko.js\",\n\t\"./ku\": \"./node_modules/moment/locale/ku.js\",\n\t\"./ku.js\": \"./node_modules/moment/locale/ku.js\",\n\t\"./ky\": \"./node_modules/moment/locale/ky.js\",\n\t\"./ky.js\": \"./node_modules/moment/locale/ky.js\",\n\t\"./lb\": \"./node_modules/moment/locale/lb.js\",\n\t\"./lb.js\": \"./node_modules/moment/locale/lb.js\",\n\t\"./lo\": \"./node_modules/moment/locale/lo.js\",\n\t\"./lo.js\": \"./node_modules/moment/locale/lo.js\",\n\t\"./lt\": \"./node_modules/moment/locale/lt.js\",\n\t\"./lt.js\": \"./node_modules/moment/locale/lt.js\",\n\t\"./lv\": \"./node_modules/moment/locale/lv.js\",\n\t\"./lv.js\": \"./node_modules/moment/locale/lv.js\",\n\t\"./me\": \"./node_modules/moment/locale/me.js\",\n\t\"./me.js\": \"./node_modules/moment/locale/me.js\",\n\t\"./mi\": \"./node_modules/moment/locale/mi.js\",\n\t\"./mi.js\": \"./node_modules/moment/locale/mi.js\",\n\t\"./mk\": \"./node_modules/moment/locale/mk.js\",\n\t\"./mk.js\": \"./node_modules/moment/locale/mk.js\",\n\t\"./ml\": \"./node_modules/moment/locale/ml.js\",\n\t\"./ml.js\": \"./node_modules/moment/locale/ml.js\",\n\t\"./mn\": \"./node_modules/moment/locale/mn.js\",\n\t\"./mn.js\": \"./node_modules/moment/locale/mn.js\",\n\t\"./mr\": \"./node_modules/moment/locale/mr.js\",\n\t\"./mr.js\": \"./node_modules/moment/locale/mr.js\",\n\t\"./ms\": \"./node_modules/moment/locale/ms.js\",\n\t\"./ms-my\": \"./node_modules/moment/locale/ms-my.js\",\n\t\"./ms-my.js\": \"./node_modules/moment/locale/ms-my.js\",\n\t\"./ms.js\": \"./node_modules/moment/locale/ms.js\",\n\t\"./mt\": \"./node_modules/moment/locale/mt.js\",\n\t\"./mt.js\": \"./node_modules/moment/locale/mt.js\",\n\t\"./my\": \"./node_modules/moment/locale/my.js\",\n\t\"./my.js\": \"./node_modules/moment/locale/my.js\",\n\t\"./nb\": \"./node_modules/moment/locale/nb.js\",\n\t\"./nb.js\": \"./node_modules/moment/locale/nb.js\",\n\t\"./ne\": \"./node_modules/moment/locale/ne.js\",\n\t\"./ne.js\": \"./node_modules/moment/locale/ne.js\",\n\t\"./nl\": \"./node_modules/moment/locale/nl.js\",\n\t\"./nl-be\": \"./node_modules/moment/locale/nl-be.js\",\n\t\"./nl-be.js\": \"./node_modules/moment/locale/nl-be.js\",\n\t\"./nl.js\": \"./node_modules/moment/locale/nl.js\",\n\t\"./nn\": \"./node_modules/moment/locale/nn.js\",\n\t\"./nn.js\": \"./node_modules/moment/locale/nn.js\",\n\t\"./oc-lnc\": \"./node_modules/moment/locale/oc-lnc.js\",\n\t\"./oc-lnc.js\": \"./node_modules/moment/locale/oc-lnc.js\",\n\t\"./pa-in\": \"./node_modules/moment/locale/pa-in.js\",\n\t\"./pa-in.js\": \"./node_modules/moment/locale/pa-in.js\",\n\t\"./pl\": \"./node_modules/moment/locale/pl.js\",\n\t\"./pl.js\": \"./node_modules/moment/locale/pl.js\",\n\t\"./pt\": \"./node_modules/moment/locale/pt.js\",\n\t\"./pt-br\": \"./node_modules/moment/locale/pt-br.js\",\n\t\"./pt-br.js\": \"./node_modules/moment/locale/pt-br.js\",\n\t\"./pt.js\": \"./node_modules/moment/locale/pt.js\",\n\t\"./ro\": \"./node_modules/moment/locale/ro.js\",\n\t\"./ro.js\": \"./node_modules/moment/locale/ro.js\",\n\t\"./ru\": \"./node_modules/moment/locale/ru.js\",\n\t\"./ru.js\": \"./node_modules/moment/locale/ru.js\",\n\t\"./sd\": \"./node_modules/moment/locale/sd.js\",\n\t\"./sd.js\": \"./node_modules/moment/locale/sd.js\",\n\t\"./se\": \"./node_modules/moment/locale/se.js\",\n\t\"./se.js\": \"./node_modules/moment/locale/se.js\",\n\t\"./si\": \"./node_modules/moment/locale/si.js\",\n\t\"./si.js\": \"./node_modules/moment/locale/si.js\",\n\t\"./sk\": \"./node_modules/moment/locale/sk.js\",\n\t\"./sk.js\": \"./node_modules/moment/locale/sk.js\",\n\t\"./sl\": \"./node_modules/moment/locale/sl.js\",\n\t\"./sl.js\": \"./node_modules/moment/locale/sl.js\",\n\t\"./sq\": \"./node_modules/moment/locale/sq.js\",\n\t\"./sq.js\": \"./node_modules/moment/locale/sq.js\",\n\t\"./sr\": \"./node_modules/moment/locale/sr.js\",\n\t\"./sr-cyrl\": \"./node_modules/moment/locale/sr-cyrl.js\",\n\t\"./sr-cyrl.js\": \"./node_modules/moment/locale/sr-cyrl.js\",\n\t\"./sr.js\": \"./node_modules/moment/locale/sr.js\",\n\t\"./ss\": \"./node_modules/moment/locale/ss.js\",\n\t\"./ss.js\": \"./node_modules/moment/locale/ss.js\",\n\t\"./sv\": \"./node_modules/moment/locale/sv.js\",\n\t\"./sv.js\": \"./node_modules/moment/locale/sv.js\",\n\t\"./sw\": \"./node_modules/moment/locale/sw.js\",\n\t\"./sw.js\": \"./node_modules/moment/locale/sw.js\",\n\t\"./ta\": \"./node_modules/moment/locale/ta.js\",\n\t\"./ta.js\": \"./node_modules/moment/locale/ta.js\",\n\t\"./te\": \"./node_modules/moment/locale/te.js\",\n\t\"./te.js\": \"./node_modules/moment/locale/te.js\",\n\t\"./tet\": \"./node_modules/moment/locale/tet.js\",\n\t\"./tet.js\": \"./node_modules/moment/locale/tet.js\",\n\t\"./tg\": \"./node_modules/moment/locale/tg.js\",\n\t\"./tg.js\": \"./node_modules/moment/locale/tg.js\",\n\t\"./th\": \"./node_modules/moment/locale/th.js\",\n\t\"./th.js\": \"./node_modules/moment/locale/th.js\",\n\t\"./tl-ph\": \"./node_modules/moment/locale/tl-ph.js\",\n\t\"./tl-ph.js\": \"./node_modules/moment/locale/tl-ph.js\",\n\t\"./tlh\": \"./node_modules/moment/locale/tlh.js\",\n\t\"./tlh.js\": \"./node_modules/moment/locale/tlh.js\",\n\t\"./tr\": \"./node_modules/moment/locale/tr.js\",\n\t\"./tr.js\": \"./node_modules/moment/locale/tr.js\",\n\t\"./tzl\": \"./node_modules/moment/locale/tzl.js\",\n\t\"./tzl.js\": \"./node_modules/moment/locale/tzl.js\",\n\t\"./tzm\": \"./node_modules/moment/locale/tzm.js\",\n\t\"./tzm-latn\": \"./node_modules/moment/locale/tzm-latn.js\",\n\t\"./tzm-latn.js\": \"./node_modules/moment/locale/tzm-latn.js\",\n\t\"./tzm.js\": \"./node_modules/moment/locale/tzm.js\",\n\t\"./ug-cn\": \"./node_modules/moment/locale/ug-cn.js\",\n\t\"./ug-cn.js\": \"./node_modules/moment/locale/ug-cn.js\",\n\t\"./uk\": \"./node_modules/moment/locale/uk.js\",\n\t\"./uk.js\": \"./node_modules/moment/locale/uk.js\",\n\t\"./ur\": \"./node_modules/moment/locale/ur.js\",\n\t\"./ur.js\": \"./node_modules/moment/locale/ur.js\",\n\t\"./uz\": \"./node_modules/moment/locale/uz.js\",\n\t\"./uz-latn\": \"./node_modules/moment/locale/uz-latn.js\",\n\t\"./uz-latn.js\": \"./node_modules/moment/locale/uz-latn.js\",\n\t\"./uz.js\": \"./node_modules/moment/locale/uz.js\",\n\t\"./vi\": \"./node_modules/moment/locale/vi.js\",\n\t\"./vi.js\": \"./node_modules/moment/locale/vi.js\",\n\t\"./x-pseudo\": \"./node_modules/moment/locale/x-pseudo.js\",\n\t\"./x-pseudo.js\": \"./node_modules/moment/locale/x-pseudo.js\",\n\t\"./yo\": \"./node_modules/moment/locale/yo.js\",\n\t\"./yo.js\": \"./node_modules/moment/locale/yo.js\",\n\t\"./zh-cn\": \"./node_modules/moment/locale/zh-cn.js\",\n\t\"./zh-cn.js\": \"./node_modules/moment/locale/zh-cn.js\",\n\t\"./zh-hk\": \"./node_modules/moment/locale/zh-hk.js\",\n\t\"./zh-hk.js\": \"./node_modules/moment/locale/zh-hk.js\",\n\t\"./zh-mo\": \"./node_modules/moment/locale/zh-mo.js\",\n\t\"./zh-mo.js\": \"./node_modules/moment/locale/zh-mo.js\",\n\t\"./zh-tw\": \"./node_modules/moment/locale/zh-tw.js\",\n\t\"./zh-tw.js\": \"./node_modules/moment/locale/zh-tw.js\"\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = \"./node_modules/moment/locale sync recursive ^\\\\.\\\\/.*$\";\n\n//# sourceURL=webpack:///./node_modules/moment/locale_sync_^\\.\\/.*$?");
  164. /***/ }),
  165. /***/ "./src/common/axios_auth.js":
  166. /*!**********************************!*\
  167. !*** ./src/common/axios_auth.js ***!
  168. \**********************************/
  169. /*! exports provided: default */
  170. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  171. "use strict";
  172. eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! axios */ \"./node_modules/axios/index.js\");\n/* harmony import */ var axios__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(axios__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react_cookies__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-cookies */ \"./node_modules/react-cookies/build/cookie.js\");\n/* harmony import */ var react_cookies__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_cookies__WEBPACK_IMPORTED_MODULE_1__);\n\n //取消请求\n\nlet CancelToken = axios__WEBPACK_IMPORTED_MODULE_0___default.a.CancelToken;\naxios__WEBPACK_IMPORTED_MODULE_0___default.a.create({\n timeout: 15000,\n // 请求超时时间\n headers: {\n 'Content-Type': 'application/x-www-form-urlencoded'\n }\n}); //开始请求设置,发起拦截处理\n\naxios__WEBPACK_IMPORTED_MODULE_0___default.a.interceptors.request.use(config => {\n //得到参数中的requestname字段,用于决定下次发起请求,取消相应的 相同字段的请求\n //post和get请求方式的不同,使用三木运算处理\n // console.log(config.method);\n if (config.method === 'post') {\n // console.log('ddd');\n let csrftoken = react_cookies__WEBPACK_IMPORTED_MODULE_1___default.a.load('csrfToken'); // console.log(csrftoken);\n // config.headers['Content-Type']='application/x-www-form-urlencoded';\n\n config.headers['x-csrf-token'] = csrftoken;\n } //console.log(config);\n //let requestName = config.method === 'post'?config.data.requestName :config.params.requestName\n //console.log(requestName);\n //let requestName = config.method === 'post'?config.data.requestName :config.params.requestName\n //判断,如果这里拿到上一次的requestName,就取消上一次的请求\n // if(requestName) {\n // if(axios[requestName]&&axios[requestName].cancel){\n // axios[requestName].cancel()\n // }\n // config.cancelToken = new CancelToken(c => {\n // axios[requestName] = {}\n // axios[requestName].cancel = c\n // })\n // }\n // console.log(config);\n\n\n return config;\n}, error => {\n return Promise.reject(error + 'auth');\n}); // respone拦截器\n\naxios__WEBPACK_IMPORTED_MODULE_0___default.a.interceptors.response.use(response => {\n const res = response.data;\n\n if (res.code === 201 || res.code === 202) {\n window.location.href = '/login.html';\n } else {\n return response;\n } // //这里根据后台返回来设置\n // if (res.msg === \"success\") {\n // return response.data;\n // } else {\n // return Promise.reject(error);\n // }\n //window.location.href = '/login';\n\n}, error => {\n return Promise.reject(error);\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (axios__WEBPACK_IMPORTED_MODULE_0___default.a);\n\n//# sourceURL=webpack:///./src/common/axios_auth.js?");
  173. /***/ }),
  174. /***/ "./src/common/config.js":
  175. /*!******************************!*\
  176. !*** ./src/common/config.js ***!
  177. \******************************/
  178. /*! exports provided: CLD2API */
  179. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  180. "use strict";
  181. eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CLD2API\", function() { return CLD2API; });\nconst CLD2API = 'http://cld2.com:9090/cld2';\n\n//# sourceURL=webpack:///./src/common/config.js?");
  182. /***/ }),
  183. /***/ "./src/common/store/actionCreators.js":
  184. /*!********************************************!*\
  185. !*** ./src/common/store/actionCreators.js ***!
  186. \********************************************/
  187. /*! exports provided: setSectionName, getStaff, loginSafety */
  188. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  189. "use strict";
  190. eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"setSectionName\", function() { return setSectionName; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"getStaff\", function() { return getStaff; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"loginSafety\", function() { return loginSafety; });\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! core-js/modules/web.dom.iterable */ \"./node_modules/core-js/modules/web.dom.iterable.js\");\n/* harmony import */ var core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_web_dom_iterable__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! core-js/modules/es6.regexp.to-string */ \"./node_modules/core-js/modules/es6.regexp.to-string.js\");\n/* harmony import */ var core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(core_js_modules_es6_regexp_to_string__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./src/common/store/constants.js\");\n/* harmony import */ var immutable__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! immutable */ \"./node_modules/immutable/dist/immutable.es.js\");\n/* harmony import */ var _config__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ../config */ \"./src/common/config.js\");\n/* harmony import */ var _axios_auth__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! ../axios_auth */ \"./src/common/axios_auth.js\");\n/* harmony import */ var js_md5__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! js-md5 */ \"./node_modules/js-md5/src/md5.js\");\n/* harmony import */ var js_md5__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(js_md5__WEBPACK_IMPORTED_MODULE_6__);\n/* harmony import */ var crypto_js__WEBPACK_IMPORTED_MODULE_7__ = __webpack_require__(/*! crypto-js */ \"./node_modules/crypto-js/index.js\");\n/* harmony import */ var crypto_js__WEBPACK_IMPORTED_MODULE_7___default = /*#__PURE__*/__webpack_require__.n(crypto_js__WEBPACK_IMPORTED_MODULE_7__);\n\n\n\n\n\n\n\n\nconst CRYPTO_KEY = 'cld2_login_csrf_';\nconst setSectionName = sectionName => {\n return dispatch => {\n dispatch({\n type: _constants__WEBPACK_IMPORTED_MODULE_2__[\"CHANGE_SECTION_NAME\"],\n data: sectionName\n });\n };\n};\nconst getStaff = () => {\n return dispatch => {\n _axios_auth__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(_config__WEBPACK_IMPORTED_MODULE_4__[\"CLD2API\"] + '/staff').then(res => {\n const data = res.data;\n\n if (data.code === 200) {\n dispatch({\n type: _constants__WEBPACK_IMPORTED_MODULE_2__[\"CHANGE_STAFF\"],\n data: Object(immutable__WEBPACK_IMPORTED_MODULE_3__[\"fromJS\"])(data.data)\n });\n } else {}\n }).catch(e => {\n console.log(e);\n });\n };\n}; //csrfToken\n\nconst loginSafety = () => {\n return dispatch => {\n _axios_auth__WEBPACK_IMPORTED_MODULE_5__[\"default\"].get(_config__WEBPACK_IMPORTED_MODULE_4__[\"CLD2API\"] + '/loginSafety').then(res => {\n const data = res.data;\n\n if (res.status === 200) {\n var index = crypto_js__WEBPACK_IMPORTED_MODULE_7___default.a.AES.decrypt(data.t11, crypto_js__WEBPACK_IMPORTED_MODULE_7___default.a.enc.Utf8.parse(CRYPTO_KEY), {\n iv: crypto_js__WEBPACK_IMPORTED_MODULE_7___default.a.enc.Utf8.parse('4875sdfw895scx85'),\n mode: crypto_js__WEBPACK_IMPORTED_MODULE_7___default.a.mode.CBC,\n format: crypto_js__WEBPACK_IMPORTED_MODULE_7___default.a.format.Hex\n }).toString(crypto_js__WEBPACK_IMPORTED_MODULE_7___default.a.enc.Utf8);\n ;\n let hashKeys = Object.keys(data);\n let values = Object.values(data);\n let csrfToken = '';\n hashKeys.forEach(function (v, i) {\n if (v == 't' + index) {\n csrfToken = values[i];\n }\n });\n dispatch({\n type: _constants__WEBPACK_IMPORTED_MODULE_2__[\"CHANGE_CSRF_TOKEN\"],\n data: js_md5__WEBPACK_IMPORTED_MODULE_6___default()(csrfToken + index)\n });\n } else {}\n }).catch(e => {\n console.log(e);\n });\n };\n};\n\n//# sourceURL=webpack:///./src/common/store/actionCreators.js?");
  191. /***/ }),
  192. /***/ "./src/common/store/constants.js":
  193. /*!***************************************!*\
  194. !*** ./src/common/store/constants.js ***!
  195. \***************************************/
  196. /*! exports provided: CHANGE_CSRF_TOKEN, CHANGE_SECTION_NAME, CHANGE_STAFF */
  197. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  198. "use strict";
  199. eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CHANGE_CSRF_TOKEN\", function() { return CHANGE_CSRF_TOKEN; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CHANGE_SECTION_NAME\", function() { return CHANGE_SECTION_NAME; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CHANGE_STAFF\", function() { return CHANGE_STAFF; });\nconst CHANGE_CSRF_TOKEN = 'common/change_csrf_token';\nconst CHANGE_SECTION_NAME = 'common/change_section_name';\nconst CHANGE_STAFF = 'common/change_staff';\n\n//# sourceURL=webpack:///./src/common/store/constants.js?");
  200. /***/ }),
  201. /***/ "./src/common/store/index.js":
  202. /*!***********************************!*\
  203. !*** ./src/common/store/index.js ***!
  204. \***********************************/
  205. /*! exports provided: reducer, actionCreators, constants */
  206. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  207. "use strict";
  208. eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _reducer__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./reducer */ \"./src/common/store/reducer.js\");\n/* harmony reexport (safe) */ __webpack_require__.d(__webpack_exports__, \"reducer\", function() { return _reducer__WEBPACK_IMPORTED_MODULE_0__[\"default\"]; });\n\n/* harmony import */ var _actionCreators__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./actionCreators */ \"./src/common/store/actionCreators.js\");\n/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, \"actionCreators\", function() { return _actionCreators__WEBPACK_IMPORTED_MODULE_1__; });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./constants */ \"./src/common/store/constants.js\");\n/* harmony reexport (module object) */ __webpack_require__.d(__webpack_exports__, \"constants\", function() { return _constants__WEBPACK_IMPORTED_MODULE_2__; });\n\n\n\n\n\n//# sourceURL=webpack:///./src/common/store/index.js?");
  209. /***/ }),
  210. /***/ "./src/common/store/reducer.js":
  211. /*!*************************************!*\
  212. !*** ./src/common/store/reducer.js ***!
  213. \*************************************/
  214. /*! exports provided: default */
  215. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  216. "use strict";
  217. eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./src/common/store/constants.js\");\n/* harmony import */ var immutable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! immutable */ \"./node_modules/immutable/dist/immutable.es.js\");\n\n\nconst defaultState = Object(immutable__WEBPACK_IMPORTED_MODULE_1__[\"fromJS\"])({\n csrfToken: '',\n staff: {},\n sectionName: ''\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (function () {\n let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultState;\n let action = arguments.length > 1 ? arguments[1] : undefined;\n\n switch (action.type) {\n case _constants__WEBPACK_IMPORTED_MODULE_0__[\"CHANGE_CSRF_TOKEN\"]:\n return state.set('csrfToken', action.data);\n\n case _constants__WEBPACK_IMPORTED_MODULE_0__[\"CHANGE_SECTION_NAME\"]:\n return state.set('sectionName', action.data);\n\n case _constants__WEBPACK_IMPORTED_MODULE_0__[\"CHANGE_STAFF\"]:\n return state.set('staff', action.data);\n\n default:\n return state;\n }\n});\n\n//# sourceURL=webpack:///./src/common/store/reducer.js?");
  218. /***/ }),
  219. /***/ "./src/login/index.js":
  220. /*!****************************!*\
  221. !*** ./src/login/index.js ***!
  222. \****************************/
  223. /*! no exports provided */
  224. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  225. "use strict";
  226. eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-dom */ \"./node_modules/react-dom/index.js\");\n/* harmony import */ var react_dom__WEBPACK_IMPORTED_MODULE_1___default = /*#__PURE__*/__webpack_require__.n(react_dom__WEBPACK_IMPORTED_MODULE_1__);\n/* harmony import */ var _login__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./login */ \"./src/login/login.js\");\n/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! react-redux */ \"./node_modules/react-redux/es/index.js\");\n/* harmony import */ var _store__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! ./store */ \"./src/login/store/index.js\");\n\n\n\n\n\nconst App = /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react_redux__WEBPACK_IMPORTED_MODULE_3__[\"Provider\"], {\n store: _store__WEBPACK_IMPORTED_MODULE_4__[\"default\"]\n}, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_login__WEBPACK_IMPORTED_MODULE_2__[\"default\"], null));\nreact_dom__WEBPACK_IMPORTED_MODULE_1___default.a.render(App, document.getElementById('root'));\n\n//# sourceURL=webpack:///./src/login/index.js?");
  227. /***/ }),
  228. /***/ "./src/login/login.js":
  229. /*!****************************!*\
  230. !*** ./src/login/login.js ***!
  231. \****************************/
  232. /*! exports provided: default */
  233. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  234. "use strict";
  235. eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react */ \"./node_modules/react/index.js\");\n/* harmony import */ var react__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var react_redux__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! react-redux */ \"./node_modules/react-redux/es/index.js\");\n/* harmony import */ var _store_actionCreators__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./store/actionCreators */ \"./src/login/store/actionCreators.js\");\n/* harmony import */ var _common_store_actionCreators__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../common/store/actionCreators */ \"./src/common/store/actionCreators.js\");\n/* harmony import */ var antd__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! antd */ \"./node_modules/antd/es/index.js\");\n/* harmony import */ var _ant_design_icons__WEBPACK_IMPORTED_MODULE_5__ = __webpack_require__(/*! @ant-design/icons */ \"./node_modules/@ant-design/icons/es/index.js\");\n/* harmony import */ var antd_dist_antd_css__WEBPACK_IMPORTED_MODULE_6__ = __webpack_require__(/*! antd/dist/antd.css */ \"./node_modules/antd/dist/antd.css\");\n/* harmony import */ var antd_dist_antd_css__WEBPACK_IMPORTED_MODULE_6___default = /*#__PURE__*/__webpack_require__.n(antd_dist_antd_css__WEBPACK_IMPORTED_MODULE_6__);\n\n // import { actionCreators } from './store';\n\n\n\n\n\n // import { constants } from '../contact/company/store';\n\nconst onFinish = values => {\n console.log('Received values of form: ', values);\n};\n\nclass login extends react__WEBPACK_IMPORTED_MODULE_0__[\"Component\"] {\n render() {\n const {\n loading,\n handleLogin,\n csrfToken\n } = this.props;\n return /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0__[\"Fragment\"], null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_4__[\"Form\"], {\n name: \"normal_login\",\n className: \"login-form\",\n initialValues: {\n remember: true\n },\n onFinish: values => handleLogin(values, csrfToken)\n }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_4__[\"Form\"].Item, {\n name: \"username\",\n rules: [{\n required: true,\n message: '请输入账号'\n }]\n }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_4__[\"Input\"], {\n prefix: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_5__[\"UserOutlined\"], {\n className: \"site-form-item-icon\"\n }),\n placeholder: \"\\u8D26\\u53F7\"\n })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_4__[\"Form\"].Item, {\n name: \"password\",\n rules: [{\n required: true,\n message: '请输入密码'\n }]\n }, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_4__[\"Input\"], {\n prefix: /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_ant_design_icons__WEBPACK_IMPORTED_MODULE_5__[\"LockOutlined\"], {\n className: \"site-form-item-icon\"\n }),\n type: \"password\",\n placeholder: \"\\u5BC6\\u7801\"\n })), /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_4__[\"Form\"].Item, null, /*#__PURE__*/react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(antd__WEBPACK_IMPORTED_MODULE_4__[\"Button\"], {\n type: \"primary\",\n htmlType: \"submit\",\n className: \"login-form-button\",\n loading: loading\n }, \"\\u767B\\u5F55\"))));\n }\n\n componentDidMount() {\n const {\n handleLoginSafety\n } = this.props;\n handleLoginSafety();\n }\n\n}\n\nconst mapStateToProps = state => {\n return {\n loading: state.getIn(['login', 'loading']),\n csrfToken: state.getIn(['common', 'csrfToken'])\n };\n};\n\nconst mapDispathToProps = dispatch => {\n return {\n handleLogin(parameter, csrfToken) {\n //dispatch(actionCreators.changeLoading());\n dispatch(_store_actionCreators__WEBPACK_IMPORTED_MODULE_2__[\"login\"](parameter, csrfToken)); //dispatch(commonActionCreators.login(parameter,csrfToken));\n },\n\n handleLoginSafety() {\n dispatch(_common_store_actionCreators__WEBPACK_IMPORTED_MODULE_3__[\"loginSafety\"]());\n }\n\n };\n}; // export default contact;\n\n\n/* harmony default export */ __webpack_exports__[\"default\"] = (Object(react_redux__WEBPACK_IMPORTED_MODULE_1__[\"connect\"])(mapStateToProps, mapDispathToProps)(login));\n\n//# sourceURL=webpack:///./src/login/login.js?");
  236. /***/ }),
  237. /***/ "./src/login/store/actionCreators.js":
  238. /*!*******************************************!*\
  239. !*** ./src/login/store/actionCreators.js ***!
  240. \*******************************************/
  241. /*! exports provided: changeLoading, login */
  242. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  243. "use strict";
  244. eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"changeLoading\", function() { return changeLoading; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"login\", function() { return login; });\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./src/login/store/constants.js\");\n/* harmony import */ var _common_config_js__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../common/config.js */ \"./src/common/config.js\");\n/* harmony import */ var _common_axios_auth_js__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ../../common/axios_auth.js */ \"./src/common/axios_auth.js\");\n/* harmony import */ var js_md5__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! js-md5 */ \"./node_modules/js-md5/src/md5.js\");\n/* harmony import */ var js_md5__WEBPACK_IMPORTED_MODULE_3___default = /*#__PURE__*/__webpack_require__.n(js_md5__WEBPACK_IMPORTED_MODULE_3__);\n/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_4__ = __webpack_require__(/*! qs */ \"./node_modules/qs/lib/index.js\");\n/* harmony import */ var qs__WEBPACK_IMPORTED_MODULE_4___default = /*#__PURE__*/__webpack_require__.n(qs__WEBPACK_IMPORTED_MODULE_4__);\n // import { fromJS } from 'immutable';\n\n\n\n\n // import cookie from 'react-cookies'\n\nconst salt = 'cld2cp89_+!'; //loading\n\nconst changeLoading = () => {\n return dispatch => {\n dispatch({\n type: _constants__WEBPACK_IMPORTED_MODULE_0__[\"CHANGE_LOADING\"],\n data: true\n });\n };\n};\nconst login = parameter => {\n return dispatch => {\n let mdpw = js_md5__WEBPACK_IMPORTED_MODULE_3___default()(js_md5__WEBPACK_IMPORTED_MODULE_3___default()(parameter.password) + salt);\n let data = {\n 'username': parameter.username,\n 'password': mdpw\n };\n _common_axios_auth_js__WEBPACK_IMPORTED_MODULE_2__[\"default\"].post(_common_config_js__WEBPACK_IMPORTED_MODULE_1__[\"CLD2API\"] + '/login', qs__WEBPACK_IMPORTED_MODULE_4___default.a.stringify(data), {\n headers: {//'Content-Type': 'application/x-www-form-urlencoded',\n //'x-csrf-token': csrftoken,\n }\n }).then(res => {\n const data = res.data;\n\n if (data.code === 200) {\n window.location.href = '/contact/company';\n } else {\n alert('登录不正确');\n }\n }).catch(e => {\n console.log(e);\n });\n };\n};\n\n//# sourceURL=webpack:///./src/login/store/actionCreators.js?");
  245. /***/ }),
  246. /***/ "./src/login/store/constants.js":
  247. /*!**************************************!*\
  248. !*** ./src/login/store/constants.js ***!
  249. \**************************************/
  250. /*! exports provided: CHANGE_LOADING */
  251. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  252. "use strict";
  253. eval("__webpack_require__.r(__webpack_exports__);\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"CHANGE_LOADING\", function() { return CHANGE_LOADING; });\nconst CHANGE_LOADING = 'login/change_loading';\n\n//# sourceURL=webpack:///./src/login/store/constants.js?");
  254. /***/ }),
  255. /***/ "./src/login/store/index.js":
  256. /*!**********************************!*\
  257. !*** ./src/login/store/index.js ***!
  258. \**********************************/
  259. /*! exports provided: default */
  260. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  261. "use strict";
  262. eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var redux__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! redux */ \"./node_modules/redux/es/redux.js\");\n/* harmony import */ var redux_thunk__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! redux-thunk */ \"./node_modules/redux-thunk/es/index.js\");\n/* harmony import */ var _reducer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./reducer */ \"./src/login/store/reducer.js\");\n\n\n\nconst composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || redux__WEBPACK_IMPORTED_MODULE_0__[\"compose\"];\nconst store = Object(redux__WEBPACK_IMPORTED_MODULE_0__[\"createStore\"])(_reducer__WEBPACK_IMPORTED_MODULE_2__[\"default\"], composeEnhancers(Object(redux__WEBPACK_IMPORTED_MODULE_0__[\"applyMiddleware\"])(redux_thunk__WEBPACK_IMPORTED_MODULE_1__[\"default\"])));\n/* harmony default export */ __webpack_exports__[\"default\"] = (store);\n\n//# sourceURL=webpack:///./src/login/store/index.js?");
  263. /***/ }),
  264. /***/ "./src/login/store/loginReducer.js":
  265. /*!*****************************************!*\
  266. !*** ./src/login/store/loginReducer.js ***!
  267. \*****************************************/
  268. /*! exports provided: default */
  269. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  270. "use strict";
  271. eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var _constants__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./constants */ \"./src/login/store/constants.js\");\n/* harmony import */ var immutable__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! immutable */ \"./node_modules/immutable/dist/immutable.es.js\");\n\n\nconst defaultState = Object(immutable__WEBPACK_IMPORTED_MODULE_1__[\"fromJS\"])({\n loading: false\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (function () {\n let state = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultState;\n let action = arguments.length > 1 ? arguments[1] : undefined;\n\n switch (action.type) {\n case _constants__WEBPACK_IMPORTED_MODULE_0__[\"CHANGE_LOADING\"]:\n return state.set('loading', action.data);\n\n default:\n return state;\n }\n});\n\n//# sourceURL=webpack:///./src/login/store/loginReducer.js?");
  272. /***/ }),
  273. /***/ "./src/login/store/reducer.js":
  274. /*!************************************!*\
  275. !*** ./src/login/store/reducer.js ***!
  276. \************************************/
  277. /*! exports provided: default */
  278. /***/ (function(module, __webpack_exports__, __webpack_require__) {
  279. "use strict";
  280. eval("__webpack_require__.r(__webpack_exports__);\n/* harmony import */ var redux_immutable__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! redux-immutable */ \"./node_modules/redux-immutable/dist/index.js\");\n/* harmony import */ var redux_immutable__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(redux_immutable__WEBPACK_IMPORTED_MODULE_0__);\n/* harmony import */ var _common_store__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ../../common/store */ \"./src/common/store/index.js\");\n/* harmony import */ var _loginReducer__WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./loginReducer */ \"./src/login/store/loginReducer.js\");\n // import { reducer as clientReducer } from '../client/store';\n// import { reducer as companyReducer } from '../company/store';\n// import { reducer as commonContactReducer } from '../common/store';\n\n\n\nconst reducer = Object(redux_immutable__WEBPACK_IMPORTED_MODULE_0__[\"combineReducers\"])({\n login: _loginReducer__WEBPACK_IMPORTED_MODULE_2__[\"default\"],\n common: _common_store__WEBPACK_IMPORTED_MODULE_1__[\"reducer\"] // commonContact: commonContactReducer,\n // client: clientReducer,\n // company: companyReducer,\n // popups:popupsReducer,\n\n});\n/* harmony default export */ __webpack_exports__[\"default\"] = (reducer);\n\n//# sourceURL=webpack:///./src/login/store/reducer.js?");
  281. /***/ }),
  282. /***/ 0:
  283. /*!**********************!*\
  284. !*** util (ignored) ***!
  285. \**********************/
  286. /*! no static exports found */
  287. /***/ (function(module, exports) {
  288. eval("/* (ignored) */\n\n//# sourceURL=webpack:///util_(ignored)?");
  289. /***/ }),
  290. /***/ 1:
  291. /*!**********************!*\
  292. !*** util (ignored) ***!
  293. \**********************/
  294. /*! no static exports found */
  295. /***/ (function(module, exports) {
  296. eval("/* (ignored) */\n\n//# sourceURL=webpack:///util_(ignored)?");
  297. /***/ }),
  298. /***/ 2:
  299. /*!************************!*\
  300. !*** buffer (ignored) ***!
  301. \************************/
  302. /*! no static exports found */
  303. /***/ (function(module, exports) {
  304. eval("/* (ignored) */\n\n//# sourceURL=webpack:///buffer_(ignored)?");
  305. /***/ }),
  306. /***/ 3:
  307. /*!************************!*\
  308. !*** crypto (ignored) ***!
  309. \************************/
  310. /*! no static exports found */
  311. /***/ (function(module, exports) {
  312. eval("/* (ignored) */\n\n//# sourceURL=webpack:///crypto_(ignored)?");
  313. /***/ })
  314. /******/ });