Commit f78a0150 by letrongtri99

update_ver

parent f048a7d8
{
"files": {
"main.css": "/static/css/main.2ae47eeb.chunk.css",
"main.js": "/static/js/main.1d01cc7b.chunk.js",
"main.js.map": "/static/js/main.1d01cc7b.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.775bbc76.js",
"runtime-main.js.map": "/static/js/runtime-main.775bbc76.js.map",
"static/js/2.046534e6.chunk.js": "/static/js/2.046534e6.chunk.js",
"static/js/2.046534e6.chunk.js.map": "/static/js/2.046534e6.chunk.js.map",
"static/js/3.88365e3c.chunk.js": "/static/js/3.88365e3c.chunk.js",
"static/js/3.88365e3c.chunk.js.map": "/static/js/3.88365e3c.chunk.js.map",
"main.css": "/static/css/main.add30b4c.chunk.css",
"main.js": "/static/js/main.841ebf76.chunk.js",
"main.js.map": "/static/js/main.841ebf76.chunk.js.map",
"runtime-main.js": "/static/js/runtime-main.22042a8f.js",
"runtime-main.js.map": "/static/js/runtime-main.22042a8f.js.map",
"static/js/2.54a2d91d.chunk.js": "/static/js/2.54a2d91d.chunk.js",
"static/js/2.54a2d91d.chunk.js.map": "/static/js/2.54a2d91d.chunk.js.map",
"static/js/3.46ba7ee0.chunk.js": "/static/js/3.46ba7ee0.chunk.js",
"static/js/3.46ba7ee0.chunk.js.map": "/static/js/3.46ba7ee0.chunk.js.map",
"index.html": "/index.html",
"static/css/main.2ae47eeb.chunk.css.map": "/static/css/main.2ae47eeb.chunk.css.map",
"static/js/2.046534e6.chunk.js.LICENSE.txt": "/static/js/2.046534e6.chunk.js.LICENSE.txt"
"static/css/main.add30b4c.chunk.css.map": "/static/css/main.add30b4c.chunk.css.map",
"static/js/2.54a2d91d.chunk.js.LICENSE.txt": "/static/js/2.54a2d91d.chunk.js.LICENSE.txt"
},
"entrypoints": [
"static/js/runtime-main.775bbc76.js",
"static/js/2.046534e6.chunk.js",
"static/css/main.2ae47eeb.chunk.css",
"static/js/main.1d01cc7b.chunk.js"
"static/js/runtime-main.22042a8f.js",
"static/js/2.54a2d91d.chunk.js",
"static/css/main.add30b4c.chunk.css",
"static/js/main.841ebf76.chunk.js"
]
}
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>React App</title><link href="/static/css/main.2ae47eeb.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,i,c=r[0],a=r[1],l=r[2],s=0,p=[];s<c.length;s++)i=c[s],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&p.push(o[i][0]),o[i]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(f&&f(r);p.length;)p.shift()();return u.push.apply(u,l||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,c=1;c<t.length;c++){var a=t[c];0!==o[a]&&(n=!1)}n&&(u.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},o={1:0},u=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise((function(r,n){t=o[e]=[r,n]}));r.push(t[2]=n);var u,c=document.createElement("script");c.charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.src=function(e){return i.p+"static/js/"+({}[e]||e)+"."+{3:"88365e3c"}[e]+".chunk.js"}(e);var a=new Error;u=function(r){c.onerror=c.onload=null,clearTimeout(l);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),u=r&&r.target&&r.target.src;a.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",a.name="ChunkLoadError",a.type=n,a.request=u,t[1](a)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:c})}),12e4);c.onerror=c.onload=u,document.head.appendChild(c)}return Promise.all(r)},i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var c=this.webpackJsonpcheckin_dcv=this.webpackJsonpcheckin_dcv||[],a=c.push.bind(c);c.push=r,c=c.slice();for(var l=0;l<c.length;l++)r(c[l]);var f=a;t()}([])</script><script src="/static/js/2.046534e6.chunk.js"></script><script src="/static/js/main.1d01cc7b.chunk.js"></script></body></html>
\ No newline at end of file
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/logoDCV_2.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo-DCV.png"/><link rel="manifest" href="/manifest.json"/><title>HRM CheckIn</title><link href="/static/css/main.add30b4c.chunk.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script>!function(e){function r(r){for(var n,i,a=r[0],c=r[1],l=r[2],s=0,p=[];s<a.length;s++)i=a[s],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&p.push(o[i][0]),o[i]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(r);p.length;)p.shift()();return u.push.apply(u,l||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var c=t[a];0!==o[c]&&(n=!1)}n&&(u.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},o={1:0},u=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise((function(r,n){t=o[e]=[r,n]}));r.push(t[2]=n);var u,a=document.createElement("script");a.charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.src=function(e){return i.p+"static/js/"+({}[e]||e)+"."+{3:"46ba7ee0"}[e]+".chunk.js"}(e);var c=new Error;u=function(r){a.onerror=a.onload=null,clearTimeout(l);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),u=r&&r.target&&r.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,t[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:a})}),12e4);a.onerror=a.onload=u,document.head.appendChild(a)}return Promise.all(r)},i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var a=this.webpackJsonpcheckin_dcv=this.webpackJsonpcheckin_dcv||[],c=a.push.bind(a);a.push=r,a=a.slice();for(var l=0;l<a.length;l++)r(a[l]);var f=c;t()}([])</script><script src="/static/js/2.54a2d91d.chunk.js"></script><script src="/static/js/main.841ebf76.chunk.js"></script></body></html>
\ No newline at end of file
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace}
/*# sourceMappingURL=main.2ae47eeb.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["webpack://src/index.css"],"names":[],"mappings":"AAAA,KACE,QAAS,CACT,mJAEY,CACZ,kCAAmC,CACnC,iCACF,CAEA,KACE,yEAEF","file":"main.2ae47eeb.chunk.css","sourcesContent":["body {\r\n margin: 0;\r\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\r\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\r\n sans-serif;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n}\r\n\r\ncode {\r\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\r\n monospace;\r\n}\r\n"]}
\ No newline at end of file
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans","Droid Sans","Helvetica Neue",sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}code{font-family:source-code-pro,Menlo,Monaco,Consolas,"Courier New",monospace}.checkin,.checkin:hover{background-color:#cc534f!important;color:#fff!important}.checkout,.checkout:hover{background-color:#3c8dbc!important;color:#fff!important}.complete,.complete:hover{background-color:green!important;color:#fff!important}.complete:hover{cursor:auto!important}
/*# sourceMappingURL=main.add30b4c.chunk.css.map */
\ No newline at end of file
{"version":3,"sources":["webpack://src/index.css","webpack://src/View/Home/HomeView.css"],"names":[],"mappings":"AAAA,KACE,QAAS,CACT,mJAEY,CACZ,kCAAmC,CACnC,iCACF,CAEA,KACE,yEAEF,CCPA,wBACE,kCAAoC,CACpC,oBACF,CAMA,0BAJE,kCAA8C,CAC9C,oBAMF,CAMA,0BAJE,gCAAkC,CAClC,oBAOF,CAJA,gBAGE,qBACF","file":"main.add30b4c.chunk.css","sourcesContent":["body {\n margin: 0;\n font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',\n 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',\n sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\ncode {\n font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',\n monospace;\n}\n",".checkin {\r\n background-color: #cc534f !important;\r\n color: white !important;\r\n}\r\n\r\n.checkin:hover {\r\n background-color: #cc534f !important;\r\n color: white !important;\r\n}\r\n.checkout {\r\n background-color: rgb(60, 141, 188) !important;\r\n color: white !important;\r\n}\r\n\r\n.checkout:hover {\r\n background-color: rgb(60, 141, 188) !important;\r\n color: white !important;\r\n}\r\n.complete {\r\n background-color: green !important;\r\n color: white !important;\r\n}\r\n\r\n.complete:hover {\r\n background-color: green !important;\r\n color: white !important;\r\n cursor: auto !important;\r\n}\r\n"]}
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -46,15 +46,6 @@ object-assign
*/
/** @license React v17.0.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v17.0.1
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
......
This source diff could not be displayed because it is too large. You can view the blob instead.
(this.webpackJsonpcheckin_dcv=this.webpackJsonpcheckin_dcv||[]).push([[3],{297:function(t,n,e){"use strict";e.r(n),e.d(n,"getCLS",(function(){return l})),e.d(n,"getFCP",(function(){return g})),e.d(n,"getFID",(function(){return h})),e.d(n,"getLCP",(function(){return y})),e.d(n,"getTTFB",(function(){return F}));var i,a,r=function(){return"".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)},o=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return{name:t,value:n,delta:0,entries:[],id:r(),isFinal:!1}},c=function(t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){var e=new PerformanceObserver((function(t){return t.getEntries().map(n)}));return e.observe({type:t,buffered:!0}),e}}catch(t){}},u=!1,s=!1,d=function(t){u=!t.persisted},f=function(){addEventListener("pagehide",d),addEventListener("beforeunload",(function(){}))},p=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];s||(f(),s=!0),addEventListener("visibilitychange",(function(n){var e=n.timeStamp;"hidden"===document.visibilityState&&t({timeStamp:e,isUnloading:u})}),{capture:!0,once:n})},v=function(t,n,e,i){var a;return function(){e&&n.isFinal&&e.disconnect(),n.value>=0&&(i||n.isFinal||"hidden"===document.visibilityState)&&(n.delta=n.value-(a||0),(n.delta||n.isFinal||void 0===a)&&(t(n),a=n.value))}},l=function(t){var n,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=o("CLS",0),a=function(t){t.hadRecentInput||(i.value+=t.value,i.entries.push(t),n())},r=c("layout-shift",a);r&&(n=v(t,i,r,e),p((function(t){var e=t.isUnloading;r.takeRecords().map(a),e&&(i.isFinal=!0),n()})))},m=function(){return void 0===i&&(i="hidden"===document.visibilityState?0:1/0,p((function(t){var n=t.timeStamp;return i=n}),!0)),{get timeStamp(){return i}}},g=function(t){var n,e=o("FCP"),i=m(),a=c("paint",(function(t){"first-contentful-paint"===t.name&&t.startTime<i.timeStamp&&(e.value=t.startTime,e.isFinal=!0,e.entries.push(t),n())}));a&&(n=v(t,e,a))},h=function(t){var n=o("FID"),e=m(),i=function(t){t.startTime<e.timeStamp&&(n.value=t.processingStart-t.startTime,n.entries.push(t),n.isFinal=!0,r())},a=c("first-input",i),r=v(t,n,a);a?p((function(){a.takeRecords().map(i),a.disconnect()}),!0):window.perfMetrics&&window.perfMetrics.onFirstInputDelay&&window.perfMetrics.onFirstInputDelay((function(t,i){i.timeStamp<e.timeStamp&&(n.value=t,n.isFinal=!0,n.entries=[{entryType:"first-input",name:i.type,target:i.target,cancelable:i.cancelable,startTime:i.timeStamp,processingStart:i.timeStamp+t}],r())}))},S=function(){return a||(a=new Promise((function(t){return["scroll","keydown","pointerdown"].map((function(n){addEventListener(n,t,{once:!0,passive:!0,capture:!0})}))}))),a},y=function(t){var n,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=o("LCP"),a=m(),r=function(t){var e=t.startTime;e<a.timeStamp?(i.value=e,i.entries.push(t)):i.isFinal=!0,n()},u=c("largest-contentful-paint",r);if(u){n=v(t,i,u,e);var s=function(){i.isFinal||(u.takeRecords().map(r),i.isFinal=!0,n())};S().then(s),p(s,!0)}},F=function(t){var n,e=o("TTFB");n=function(){try{var n=performance.getEntriesByType("navigation")[0]||function(){var t=performance.timing,n={entryType:"navigation",startTime:0};for(var e in t)"navigationStart"!==e&&"toJSON"!==e&&(n[e]=Math.max(t[e]-t.navigationStart,0));return n}();e.value=e.delta=n.responseStart,e.entries=[n],e.isFinal=!0,t(e)}catch(t){}},"complete"===document.readyState?setTimeout(n,0):addEventListener("pageshow",n)}}}]);
//# sourceMappingURL=3.88365e3c.chunk.js.map
\ No newline at end of file
(this.webpackJsonpcheckin_dcv=this.webpackJsonpcheckin_dcv||[]).push([[3],{298:function(t,n,e){"use strict";e.r(n),e.d(n,"getCLS",(function(){return l})),e.d(n,"getFCP",(function(){return g})),e.d(n,"getFID",(function(){return h})),e.d(n,"getLCP",(function(){return y})),e.d(n,"getTTFB",(function(){return F}));var i,a,r=function(){return"".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12)},o=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return{name:t,value:n,delta:0,entries:[],id:r(),isFinal:!1}},c=function(t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){var e=new PerformanceObserver((function(t){return t.getEntries().map(n)}));return e.observe({type:t,buffered:!0}),e}}catch(t){}},u=!1,s=!1,d=function(t){u=!t.persisted},f=function(){addEventListener("pagehide",d),addEventListener("beforeunload",(function(){}))},p=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];s||(f(),s=!0),addEventListener("visibilitychange",(function(n){var e=n.timeStamp;"hidden"===document.visibilityState&&t({timeStamp:e,isUnloading:u})}),{capture:!0,once:n})},v=function(t,n,e,i){var a;return function(){e&&n.isFinal&&e.disconnect(),n.value>=0&&(i||n.isFinal||"hidden"===document.visibilityState)&&(n.delta=n.value-(a||0),(n.delta||n.isFinal||void 0===a)&&(t(n),a=n.value))}},l=function(t){var n,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=o("CLS",0),a=function(t){t.hadRecentInput||(i.value+=t.value,i.entries.push(t),n())},r=c("layout-shift",a);r&&(n=v(t,i,r,e),p((function(t){var e=t.isUnloading;r.takeRecords().map(a),e&&(i.isFinal=!0),n()})))},m=function(){return void 0===i&&(i="hidden"===document.visibilityState?0:1/0,p((function(t){var n=t.timeStamp;return i=n}),!0)),{get timeStamp(){return i}}},g=function(t){var n,e=o("FCP"),i=m(),a=c("paint",(function(t){"first-contentful-paint"===t.name&&t.startTime<i.timeStamp&&(e.value=t.startTime,e.isFinal=!0,e.entries.push(t),n())}));a&&(n=v(t,e,a))},h=function(t){var n=o("FID"),e=m(),i=function(t){t.startTime<e.timeStamp&&(n.value=t.processingStart-t.startTime,n.entries.push(t),n.isFinal=!0,r())},a=c("first-input",i),r=v(t,n,a);a?p((function(){a.takeRecords().map(i),a.disconnect()}),!0):window.perfMetrics&&window.perfMetrics.onFirstInputDelay&&window.perfMetrics.onFirstInputDelay((function(t,i){i.timeStamp<e.timeStamp&&(n.value=t,n.isFinal=!0,n.entries=[{entryType:"first-input",name:i.type,target:i.target,cancelable:i.cancelable,startTime:i.timeStamp,processingStart:i.timeStamp+t}],r())}))},S=function(){return a||(a=new Promise((function(t){return["scroll","keydown","pointerdown"].map((function(n){addEventListener(n,t,{once:!0,passive:!0,capture:!0})}))}))),a},y=function(t){var n,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=o("LCP"),a=m(),r=function(t){var e=t.startTime;e<a.timeStamp?(i.value=e,i.entries.push(t)):i.isFinal=!0,n()},u=c("largest-contentful-paint",r);if(u){n=v(t,i,u,e);var s=function(){i.isFinal||(u.takeRecords().map(r),i.isFinal=!0,n())};S().then(s),p(s,!0)}},F=function(t){var n,e=o("TTFB");n=function(){try{var n=performance.getEntriesByType("navigation")[0]||function(){var t=performance.timing,n={entryType:"navigation",startTime:0};for(var e in t)"navigationStart"!==e&&"toJSON"!==e&&(n[e]=Math.max(t[e]-t.navigationStart,0));return n}();e.value=e.delta=n.responseStart,e.entries=[n],e.isFinal=!0,t(e)}catch(t){}},"complete"===document.readyState?setTimeout(n,0):addEventListener("pageshow",n)}}}]);
//# sourceMappingURL=3.46ba7ee0.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["../node_modules/web-vitals/dist/web-vitals.es5.min.js"],"names":["v","t","n","e","concat","Date","now","Math","floor","random","i","arguments","length","name","value","delta","entries","id","isFinal","a","PerformanceObserver","supportedEntryTypes","includes","getEntries","map","observe","type","buffered","r","o","s","persisted","u","addEventListener","c","timeStamp","document","visibilityState","isUnloading","capture","once","l","disconnect","p","hadRecentInput","push","takeRecords","d","startTime","f","processingStart","window","perfMetrics","onFirstInputDelay","entryType","target","cancelable","m","Promise","passive","g","then","h","performance","getEntriesByType","timing","max","navigationStart","responseStart","readyState","setTimeout"],"mappings":"4GAAA,gFAAAA,KAAA,0HAAIC,EAAEC,EAAEC,EAAE,WAAW,MAAM,GAAGC,OAAOC,KAAKC,MAAM,KAAKF,OAAOG,KAAKC,MAAM,cAAcD,KAAKE,UAAU,OAAOC,EAAE,SAAST,GAAG,IAAIC,EAAES,UAAUC,OAAO,QAAG,IAASD,UAAU,GAAGA,UAAU,IAAI,EAAE,MAAM,CAACE,KAAKZ,EAAEa,MAAMZ,EAAEa,MAAM,EAAEC,QAAQ,GAAGC,GAAGd,IAAIe,SAAQ,IAAKC,EAAE,SAASlB,EAAEC,GAAG,IAAI,GAAGkB,oBAAoBC,oBAAoBC,SAASrB,GAAG,CAAC,IAAIE,EAAE,IAAIiB,qBAAqB,SAASnB,GAAG,OAAOA,EAAEsB,aAAaC,IAAItB,MAAM,OAAOC,EAAEsB,QAAQ,CAACC,KAAKzB,EAAE0B,UAAS,IAAKxB,GAAG,MAAMF,MAAM2B,GAAE,EAAGC,GAAE,EAAGC,EAAE,SAAS7B,GAAG2B,GAAG3B,EAAE8B,WAAWC,EAAE,WAAWC,iBAAiB,WAAWH,GAAGG,iBAAiB,gBAAgB,gBAAgBC,EAAE,SAASjC,GAAG,IAAIC,EAAES,UAAUC,OAAO,QAAG,IAASD,UAAU,IAAIA,UAAU,GAAGkB,IAAIG,IAAIH,GAAE,GAAII,iBAAiB,oBAAoB,SAAS/B,GAAG,IAAIC,EAAED,EAAEiC,UAAU,WAAWC,SAASC,iBAAiBpC,EAAE,CAACkC,UAAUhC,EAAEmC,YAAYV,MAAM,CAACW,SAAQ,EAAGC,KAAKtC,KAAKuC,EAAE,SAASxC,EAAEC,EAAEC,EAAEO,GAAG,IAAIS,EAAE,OAAO,WAAWhB,GAAGD,EAAEgB,SAASf,EAAEuC,aAAaxC,EAAEY,OAAO,IAAIJ,GAAGR,EAAEgB,SAAS,WAAWkB,SAASC,mBA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AKlB,GAAGT,EAAES,GAAE,KAAMmB,EAAE,SAAS7D,GAAG,IAAIC,EAAEC,EAAEO,EAAE,QAAQR,EAAE,WAAW,IAAI,IAAIA,EAAE6D,YAAYC,iBAAiB,cAAc,IAAI,WAAW,IAAI/D,EAAE8D,YAAYE,OAAO/D,EAAE,CAACoD,UAAU,aAAaN,UAAU,GAAG,IAAI,IAAI7C,KAAKF,EAAE,oBAAoBE,GAAG,WAAWA,IAAID,EAAEC,GAAGI,KAAK2D,IAAIjE,EAAEE,GAAGF,EAAEkE,gBAAgB,IAAI,OAAOjE,EAAhL,GAAqLC,EAAEW,MAAMX,EAAEY,MAAMb,EAAEkE,cAAcjE,EAAEa,QAAQ,CAACd,GAAGC,EAAEe,SAAQ,EAAGjB,EAAEE,GAAG,MAAMF,MAAM,aAAamC,SAASiC,WAAWC,WAAWpE,EAAE,GAAG+B,iBAAiB,WAAW/B","file":"static/js/3.88365e3c.chunk.js","sourcesContent":["var t,n,e=function(){return\"\".concat(Date.now(),\"-\").concat(Math.floor(8999999999999*Math.random())+1e12)},i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return{name:t,value:n,delta:0,entries:[],id:e(),isFinal:!1}},a=function(t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){var e=new PerformanceObserver((function(t){return t.getEntries().map(n)}));return e.observe({type:t,buffered:!0}),e}}catch(t){}},r=!1,o=!1,s=function(t){r=!t.persisted},u=function(){addEventListener(\"pagehide\",s),addEventListener(\"beforeunload\",(function(){}))},c=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];o||(u(),o=!0),addEventListener(\"visibilitychange\",(function(n){var e=n.timeStamp;\"hidden\"===document.visibilityState&&t({timeStamp:e,isUnloading:r})}),{capture:!0,once:n})},l=function(t,n,e,i){var a;return function(){e&&n.isFinal&&e.disconnect(),n.value>=0&&(i||n.isFinal||\"hidden\"===document.visibilityState)&&(n.delta=n.value-(a||0),(n.delta||n.isFinal||void 0===a)&&(t(n),a=n.value))}},p=function(t){var n,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=i(\"CLS\",0),o=function(t){t.hadRecentInput||(r.value+=t.value,r.entries.push(t),n())},s=a(\"layout-shift\",o);s&&(n=l(t,r,s,e),c((function(t){var e=t.isUnloading;s.takeRecords().map(o),e&&(r.isFinal=!0),n()})))},d=function(){return void 0===t&&(t=\"hidden\"===document.visibilityState?0:1/0,c((function(n){var e=n.timeStamp;return t=e}),!0)),{get timeStamp(){return t}}},v=function(t){var n,e=i(\"FCP\"),r=d(),o=a(\"paint\",(function(t){\"first-contentful-paint\"===t.name&&t.startTime<r.timeStamp&&(e.value=t.startTime,e.isFinal=!0,e.entries.push(t),n())}));o&&(n=l(t,e,o))},f=function(t){var n=i(\"FID\"),e=d(),r=function(t){t.startTime<e.timeStamp&&(n.value=t.processingStart-t.startTime,n.entries.push(t),n.isFinal=!0,s())},o=a(\"first-input\",r),s=l(t,n,o);o?c((function(){o.takeRecords().map(r),o.disconnect()}),!0):window.perfMetrics&&window.perfMetrics.onFirstInputDelay&&window.perfMetrics.onFirstInputDelay((function(t,i){i.timeStamp<e.timeStamp&&(n.value=t,n.isFinal=!0,n.entries=[{entryType:\"first-input\",name:i.type,target:i.target,cancelable:i.cancelable,startTime:i.timeStamp,processingStart:i.timeStamp+t}],s())}))},m=function(){return n||(n=new Promise((function(t){return[\"scroll\",\"keydown\",\"pointerdown\"].map((function(n){addEventListener(n,t,{once:!0,passive:!0,capture:!0})}))}))),n},g=function(t){var n,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=i(\"LCP\"),o=d(),s=function(t){var e=t.startTime;e<o.timeStamp?(r.value=e,r.entries.push(t)):r.isFinal=!0,n()},u=a(\"largest-contentful-paint\",s);if(u){n=l(t,r,u,e);var p=function(){r.isFinal||(u.takeRecords().map(s),r.isFinal=!0,n())};m().then(p),c(p,!0)}},h=function(t){var n,e=i(\"TTFB\");n=function(){try{var n=performance.getEntriesByType(\"navigation\")[0]||function(){var t=performance.timing,n={entryType:\"navigation\",startTime:0};for(var e in t)\"navigationStart\"!==e&&\"toJSON\"!==e&&(n[e]=Math.max(t[e]-t.navigationStart,0));return n}();e.value=e.delta=n.responseStart,e.entries=[n],e.isFinal=!0,t(e)}catch(t){}},\"complete\"===document.readyState?setTimeout(n,0):addEventListener(\"pageshow\",n)};export{p as getCLS,v as getFCP,f as getFID,g as getLCP,h as getTTFB};\n"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["../node_modules/web-vitals/dist/web-vitals.es5.min.js"],"names":["v","t","n","e","concat","Date","now","Math","floor","random","i","arguments","length","name","value","delta","entries","id","isFinal","a","PerformanceObserver","supportedEntryTypes","includes","getEntries","map","observe","type","buffered","r","o","s","persisted","u","addEventListener","c","timeStamp","document","visibilityState","isUnloading","capture","once","l","disconnect","p","hadRecentInput","push","takeRecords","d","startTime","f","processingStart","window","perfMetrics","onFirstInputDelay","entryType","target","cancelable","m","Promise","passive","g","then","h","performance","getEntriesByType","timing","max","navigationStart","responseStart","readyState","setTimeout"],"mappings":"4GAAA,gFAAAA,KAAA,0HAAIC,EAAEC,EAAEC,EAAE,WAAW,MAAM,GAAGC,OAAOC,KAAKC,MAAM,KAAKF,OAAOG,KAAKC,MAAM,cAAcD,KAAKE,UAAU,OAAOC,EAAE,SAAST,GAAG,IAAIC,EAAES,UAAUC,OAAO,QAAG,IAASD,UAAU,GAAGA,UAAU,IAAI,EAAE,MAAM,CAACE,KAAKZ,EAAEa,MAAMZ,EAAEa,MAAM,EAAEC,QAAQ,GAAGC,GAAGd,IAAIe,SAAQ,IAAKC,EAAE,SAASlB,EAAEC,GAAG,IAAI,GAAGkB,oBAAoBC,oBAAoBC,SAASrB,GAAG,CAAC,IAAIE,EAAE,IAAIiB,qBAAqB,SAASnB,GAAG,OAAOA,EAAEsB,aAAaC,IAAItB,MAAM,OAAOC,EAAEsB,QAAQ,CAACC,KAAKzB,EAAE0B,UAAS,IAAKxB,GAAG,MAAMF,M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999999999999*Math.random())+1e12)},i=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:-1;return{name:t,value:n,delta:0,entries:[],id:e(),isFinal:!1}},a=function(t,n){try{if(PerformanceObserver.supportedEntryTypes.includes(t)){var e=new PerformanceObserver((function(t){return t.getEntries().map(n)}));return e.observe({type:t,buffered:!0}),e}}catch(t){}},r=!1,o=!1,s=function(t){r=!t.persisted},u=function(){addEventListener(\"pagehide\",s),addEventListener(\"beforeunload\",(function(){}))},c=function(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];o||(u(),o=!0),addEventListener(\"visibilitychange\",(function(n){var e=n.timeStamp;\"hidden\"===document.visibilityState&&t({timeStamp:e,isUnloading:r})}),{capture:!0,once:n})},l=function(t,n,e,i){var a;return function(){e&&n.isFinal&&e.disconnect(),n.value>=0&&(i||n.isFinal||\"hidden\"===document.visibilityState)&&(n.delta=n.value-(a||0),(n.delta||n.isFinal||void 0===a)&&(t(n),a=n.value))}},p=function(t){var n,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=i(\"CLS\",0),o=function(t){t.hadRecentInput||(r.value+=t.value,r.entries.push(t),n())},s=a(\"layout-shift\",o);s&&(n=l(t,r,s,e),c((function(t){var e=t.isUnloading;s.takeRecords().map(o),e&&(r.isFinal=!0),n()})))},d=function(){return void 0===t&&(t=\"hidden\"===document.visibilityState?0:1/0,c((function(n){var e=n.timeStamp;return t=e}),!0)),{get timeStamp(){return t}}},v=function(t){var n,e=i(\"FCP\"),r=d(),o=a(\"paint\",(function(t){\"first-contentful-paint\"===t.name&&t.startTime<r.timeStamp&&(e.value=t.startTime,e.isFinal=!0,e.entries.push(t),n())}));o&&(n=l(t,e,o))},f=function(t){var n=i(\"FID\"),e=d(),r=function(t){t.startTime<e.timeStamp&&(n.value=t.processingStart-t.startTime,n.entries.push(t),n.isFinal=!0,s())},o=a(\"first-input\",r),s=l(t,n,o);o?c((function(){o.takeRecords().map(r),o.disconnect()}),!0):window.perfMetrics&&window.perfMetrics.onFirstInputDelay&&window.perfMetrics.onFirstInputDelay((function(t,i){i.timeStamp<e.timeStamp&&(n.value=t,n.isFinal=!0,n.entries=[{entryType:\"first-input\",name:i.type,target:i.target,cancelable:i.cancelable,startTime:i.timeStamp,processingStart:i.timeStamp+t}],s())}))},m=function(){return n||(n=new Promise((function(t){return[\"scroll\",\"keydown\",\"pointerdown\"].map((function(n){addEventListener(n,t,{once:!0,passive:!0,capture:!0})}))}))),n},g=function(t){var n,e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=i(\"LCP\"),o=d(),s=function(t){var e=t.startTime;e<o.timeStamp?(r.value=e,r.entries.push(t)):r.isFinal=!0,n()},u=a(\"largest-contentful-paint\",s);if(u){n=l(t,r,u,e);var p=function(){r.isFinal||(u.takeRecords().map(s),r.isFinal=!0,n())};m().then(p),c(p,!0)}},h=function(t){var n,e=i(\"TTFB\");n=function(){try{var n=performance.getEntriesByType(\"navigation\")[0]||function(){var t=performance.timing,n={entryType:\"navigation\",startTime:0};for(var e in t)\"navigationStart\"!==e&&\"toJSON\"!==e&&(n[e]=Math.max(t[e]-t.navigationStart,0));return n}();e.value=e.delta=n.responseStart,e.entries=[n],e.isFinal=!0,t(e)}catch(t){}},\"complete\"===document.readyState?setTimeout(n,0):addEventListener(\"pageshow\",n)};export{p as getCLS,v as getFCP,f as getFID,g as getLCP,h as getTTFB};\n"],"sourceRoot":""}
\ No newline at end of file
(this.webpackJsonpcheckin_dcv=this.webpackJsonpcheckin_dcv||[]).push([[0],{142:function(e,t,n){},249:function(e,t,n){"use strict";n.r(t);var a=n(7),r=n(0),c=n.n(r),o=n(11),i=n.n(o),s=(n(142),n(46)),u=n(13),l=n(37),d=n(12),h=n.n(d),j=n(19),b=n(33),p=n(290),m=n(288),f=n(293),O=n(250),x=n(285),g=n(289),v=n(291),y=n(294),w=n(286),C=n(287),k=n(51),S=n.n(k);function N(e,t){return I.apply(this,arguments)}function I(){return(I=Object(j.a)(h.a.mark((function e(t,n){var a,r=arguments;return h.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return!(r.length>2&&void 0!==r[2])||r[2],a={method:"post",url:t,headers:{Accept:"application/json","Content-Type":"application/json"},timeout:6e4,data:JSON.stringify(n)},console.log("post data mobile",a),e.next=5,S()(a).then((function(e){return e})).then((function(e){return e})).catch((function(e){return console.log(e.request),{message:"error",status:e.request.status}}));case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}S.a.defaults.timeout=1e4;var T=function(){var e=Object(j.a)(h.a.mark((function e(t){return h.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",N("http://hrm.auth.dcv.vn/api/v1/auth/login",t).then((function(e){return e})).catch((function(e){return e})));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();function D(){return Object(a.jsxs)(O.a,{variant:"body2",color:"textSecondary",align:"center",children:["Copyright \xa9 ",Object(a.jsx)(x.a,{color:"inherit",href:"https://material-ui.com/",children:"Your Website"})," ",(new Date).getFullYear(),"."]})}var F=Object(w.a)((function(e){return{paper:{display:"flex",flexDirection:"column",alignItems:"center"},avatar:{margin:e.spacing(1),backgroundColor:e.palette.secondary.main},form:{width:"100%"},submit:{margin:e.spacing(3,0,2)}}})),W=function(){var e=F(),t=Object(u.f)(),n=Object(r.useState)({appcode:"Dcv",username:"",password:""}),c=Object(b.a)(n,2),o=c[0],i=c[1],s=Object(r.useState)(""),d=Object(b.a)(s,2),w=d[0],k=d[1],S=function(){var e=Object(j.a)(h.a.mark((function e(){var n;return h.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("Abc"),""!==o.username&&""!==o.password){e.next=6;break}k(""),k("C\u1ea7n ph\u1ea3i \u0111i\u1ec1n \u0111\u1ea7y \u0111\u1ee7 email v\xe0 password"),e.next=13;break;case 6:return k(""),console.log(o),e.next=10,T(o);case 10:n=e.sent,console.log(n.data),n.data&&0===n.data.errorCode?(localStorage.setItem("TOKEN_KEY",n.data.data.accessToken),t.push({pathname:"/home",state:{code:n.data.data.code,fullName:n.data.data.fullName}})):n.data&&1===n.data.errorCode&&(k(""),k("Sai email ho\u1eb7c m\u1eadt kh\u1ea9u"));case 13:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(a.jsx)("div",{style:{height:"100vh"},children:Object(a.jsxs)(C.a,{component:"main",maxWidth:"xs",children:[Object(a.jsx)(m.a,{}),Object(a.jsxs)("div",{className:e.paper,children:[Object(a.jsx)("img",{style:{width:200,height:100,marginTop:10,marginBottom:10},src:"/logo-DCV.png"}),Object(a.jsx)(O.a,{color:"primary",component:"h1",variant:"h5",children:"\u0110\u0102NG NH\xc2P"}),Object(a.jsx)(f.a,{variant:"outlined",margin:"normal",required:!0,fullWidth:!0,label:"email",autoComplete:"email",onChange:function(e){i(Object(l.a)(Object(l.a)({},o),{},{username:e.target.value}))},autoFocus:!0}),Object(a.jsx)(f.a,{variant:"outlined",margin:"normal",required:!0,fullWidth:!0,label:"M\u1eadt kh\u1ea9u",type:"password",onChange:function(e){i(Object(l.a)(Object(l.a)({},o),{},{password:e.target.value}))},autoComplete:"current-password"}),Object(a.jsx)("div",{style:{width:"100%"},children:Object(a.jsx)(g.a,{style:{marginLeft:"16px",color:"red",fontSize:"13px"},children:w})}),Object(a.jsx)(p.a,{type:"submit",fullWidth:!0,variant:"contained",color:"primary",className:e.submit,onClick:S,children:"\u0110\u0103ng nh\u1eadp"}),Object(a.jsx)(v.a,{container:!0,children:Object(a.jsx)(v.a,{item:!0,xs:!0,children:Object(a.jsx)(x.a,{href:"#",variant:"body2",children:"Qu\xean m\u1eadt kh\u1ea9u?"})})})]}),Object(a.jsx)(y.a,{mt:8,children:Object(a.jsx)(D,{})})]})})},q=n(292),E=n(91),P=n(92),z=n(124),A=n(122),B=n(93),J=n(123),L=n(70),Y={bounce:{animation:"x 1s",animationName:J.a.keyframes(B.bounceIn,"bounceIn"),animationDuration:"10s"}},_=(c.a.Component,function(e){var t=e.user,n=e.onCheckIn,c=Object(r.useState)(0),o=Object(b.a)(c,2),i=o[0];o[1];return Object(a.jsxs)(C.a,{fixed:!0,style:{height:"100vh"},children:[Object(a.jsx)("div",{style:{marginTop:50}}),Object(a.jsx)("div",{style:{textAlign:"center",fontSize:"35px"},children:Object(a.jsxs)(O.a,{variant:"h4",style:{color:" #3399ff"},children:["Ch\xe0o m\u1eebng ",t?t.name:""]})}),Object(a.jsx)("br",{}),Object(a.jsx)(v.a,{container:!0,style:{height:"100vh",justifyContent:"center"},children:Object(a.jsx)(q.a,{color:"secondary","aria-label":"edit",style:{width:"30vw",height:"30vw"},onClick:n,children:Object(a.jsx)("span",{style:{fontSize:"3vw"},children:0==i?"Checkin":"Checkout"})})})]})}),K=function(e){var t=Object(u.g)(),n=Object(r.useState)({latitude:null,longitude:null}),c=Object(b.a)(n,2),o=c[0],i=c[1];Object(r.useEffect)((function(){p()}),[]);var s=Object(r.useState)({name:t.state.fullName,code:t.state.code}),l=Object(b.a)(s,2),d=l[0],p=(l[1],function(){var e=Object(j.a)(h.a.mark((function e(){return h.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:navigator.geolocation.getCurrentPosition((function(e){e.coords.longitude&&i({latitude:e.coords.latitude,longitude:e.coords.longitude})}));case 1:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}());return Object(a.jsx)(_,{user:d,onCheckIn:function(){console.log(o)}})},M=function(){Object(u.f)();return Object(a.jsx)(s.a,{children:Object(a.jsxs)(u.c,{children:[Object(a.jsx)(u.a,{exact:!0,path:"/",children:Object(a.jsx)(W,{})}),Object(a.jsx)(u.a,{path:"/home",children:Object(a.jsx)(K,{})})]})})};var G=function(){return Object(a.jsx)(M,{})},H=function(e){e&&e instanceof Function&&n.e(3).then(n.bind(null,297)).then((function(t){var n=t.getCLS,a=t.getFID,r=t.getFCP,c=t.getLCP,o=t.getTTFB;n(e),a(e),r(e),c(e),o(e)}))};i.a.render(Object(a.jsx)(c.a.StrictMode,{children:Object(a.jsx)(G,{})}),document.getElementById("root")),H()}},[[249,1,2]]]);
//# sourceMappingURL=main.1d01cc7b.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["api/api.js","api/user.js","View/Login/LoginScreen.js","View/Home/ButtonCheckIn.js","View/Home/HomeView.js","View/Home/HomeContainer.js","View/RootView.js","App.js","reportWebVitals.js","index.js"],"names":["PostLogin","url","json","a","myRequest","method","headers","Accept","timeout","data","JSON","stringify","console","log","axios","then","response","catch","error","request","message","status","defaults","loginApi","body","res","err","Copyright","Typography","variant","color","align","Link","href","Date","getFullYear","useStyles","makeStyles","theme","paper","display","flexDirection","alignItems","avatar","margin","spacing","backgroundColor","palette","secondary","main","form","width","submit","LoginScreen","classes","history","useHistory","useState","appcode","username","password","state","setState","helperText","sethelperText","onLogin","errorCode","localStorage","setItem","accessToken","push","pathname","code","fullName","style","height","Container","component","maxWidth","CssBaseline","className","marginTop","marginBottom","src","TextField","required","fullWidth","label","autoComplete","onChange","e","target","value","autoFocus","type","FormHelperText","marginLeft","fontSize","Button","onClick","Grid","container","item","xs","Box","mt","styles","bounce","animation","animationName","Radium","keyframes","bounceIn","animationDuration","HomeView","React","Component","props","user","onCheckIn","fixed","textAlign","name","justifyContent","Fab","aria-label","HomeContainer","location","useLocation","latitude","longitude","useEffect","getPosition","navigator","geolocation","getCurrentPosition","position","coords","RootView","exact","path","App","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","ReactDOM","render","StrictMode","document","getElementById"],"mappings":"kWAgCO,SAAeA,EAAtB,oC,4CAAO,WAAyBC,EAAKC,GAA9B,2BAAAC,EAAA,+FACDC,EAAY,CACdC,OAAQ,OACRJ,MACAK,QAAS,CACPC,OAAQ,mBACR,eAAgB,oBAElBC,QAAS,IACTC,KAAMC,KAAKC,UAAUT,IAEvBU,QAAQC,IAAI,mBAAoBT,GAX3B,SAYQU,IAAMV,GAChBW,MAAK,SAACC,GAAD,OAAcA,KACnBD,MA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ASlE,MAAMY,SACrBD,KAAMuD,EAASlE,MAAMW,OAdQ,mBAYxB8C,EAZwB,KAiBzBc,GAjByB,KAiBd,uCAAG,sBAAAjI,EAAA,sDAClBkI,UAAUC,YAAYC,oBAAmB,SAACC,GACpCA,EAASC,OAAOP,WAClBpE,EAAS,CACPmE,SAAUO,EAASC,OAAOR,SAC1BC,UAAWM,EAASC,OAAOP,eALf,2CAAH,sDAcjB,OAAO,cAAC,EAAD,CAAUZ,KAAMA,EAAMC,UAJX,WAChB3G,QAAQC,IAAIgD,OCVD6E,EAhBE,WACDlF,cACd,OACE,cAAC,IAAD,UACE,eAAC,IAAD,WACE,cAAC,IAAD,CAAOmF,OAAK,EAACC,KAAK,IAAlB,SACE,cAAC,EAAD,MAEF,cAAC,IAAD,CAAOA,KAAK,QAAZ,SACE,cAAC,EAAD,YCRKC,MAJf,WACE,OAAO,cAAC,EAAD,KCQMC,EAZS,SAAAC,GAClBA,GAAeA,aAAuBC,UACxC,8BAAqBjI,MAAK,YAAkD,IAA/CkI,EAA8C,EAA9CA,OAAQC,EAAsC,EAAtCA,OAAQC,EAA8B,EAA9BA,OAAQC,EAAsB,EAAtBA,OAAQC,EAAc,EAAdA,QAC3DJ,EAAOF,GACPG,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAQN,OCDdO,IAASC,OACP,cAAC,IAAMC,WAAP,UACE,cAAC,EAAD,MAEFC,SAASC,eAAe,SAM1BZ,M","file":"static/js/main.1d01cc7b.chunk.js","sourcesContent":["import axios from \"axios\";\r\naxios.defaults.timeout = 10000;\r\n\r\nexport async function GetData(url, data) {\r\n const token = localStorage.getItem(\"TOKEN_KEY\");\r\n let myRequest = {\r\n method: \"get\",\r\n url,\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\",\r\n Authorization: \"Bearer \" + token,\r\n },\r\n params: {\r\n ...data,\r\n },\r\n timeout: 60 * 1000,\r\n // withCredentials: true,\r\n };\r\n console.log(\"My request\", myRequest);\r\n return await axios(myRequest)\r\n .then((response) => response)\r\n .then((response) => response)\r\n .catch((error) => {\r\n console.log(error.request);\r\n const err = {\r\n message: \"error\",\r\n status: error.request.status,\r\n };\r\n return err;\r\n });\r\n}\r\nexport async function PostLogin(url, json, isAuth = true) {\r\n let myRequest = {\r\n method: \"post\",\r\n url,\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\",\r\n },\r\n timeout: 60 * 1000,\r\n data: JSON.stringify(json),\r\n };\r\n console.log(\"post data mobile\", myRequest);\r\n return await axios(myRequest)\r\n .then((response) => response)\r\n .then((response) => response)\r\n .catch((error) => {\r\n console.log(error.request);\r\n const err = {\r\n message: \"error\",\r\n status: error.request.status,\r\n };\r\n return err;\r\n });\r\n}\r\n\r\nexport async function PostData(url, json, isAuth = true) {\r\n const token = localStorage.getItem(\"TOKEN_KEY\");\r\n let myRequest = {\r\n method: \"post\",\r\n url,\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\",\r\n Authorization: \"Bearer \" + token,\r\n },\r\n timeout: 60 * 1000,\r\n data: JSON.stringify(json),\r\n };\r\n console.log(\"post data mobile\", myRequest);\r\n return await axios(myRequest)\r\n .then((response) => response)\r\n .then((response) => response)\r\n .catch((error) => {\r\n console.log(error.request);\r\n const err = {\r\n message: \"error\",\r\n status: error.request.status,\r\n };\r\n return err;\r\n });\r\n}\r\n","import { GetData, PostLogin, PostData } from \"./api\";\r\n\r\nexport const loginApi = async (body) =>\r\n PostLogin(\"http://hrm.auth.dcv.vn/api/v1/auth/login\", body)\r\n .then((res) => res)\r\n .catch((err) => err);\r\n\r\nexport const getDataApi = async (body) =>\r\n GetData(\"http://hrm.auth.dcv.vn/api/v1/auth/login\", body)\r\n .then((res) => res)\r\n .catch((err) => err);\r\n\r\nexport const checkInApi = async (body) =>\r\n PostData(\"http://hrm.japi.dcv.vn/venus-service/checkinService/checkin\", body)\r\n .then((res) => res)\r\n .catch((err) => err);\r\n\r\nexport const checkOutApi = async (body) =>\r\n PostData(\"http://hrm.japi.dcv.vn/venus-service/checkinService/checkout\", body)\r\n .then((res) => res)\r\n .catch((err) => err);\r\n","import React, { useState } from \"react\";\r\nimport Avatar from \"@material-ui/core/Avatar\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport CssBaseline from \"@material-ui/core/CssBaseline\";\r\nimport TextField from \"@material-ui/core/TextField\";\r\nimport { FormHelperText, Link, Grid, Box, Typography } from \"@material-ui/core\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport LockOutlinedIcon from \"@material-ui/icons/LockOutlined\";\r\nimport { makeStyles } from \"@material-ui/core/styles\";\r\nimport Container from \"@material-ui/core/Container\";\r\nimport { loginApi } from \"../../api/user\";\r\n\r\nfunction Copyright() {\r\n return (\r\n <Typography variant=\"body2\" color=\"textSecondary\" align=\"center\">\r\n {\"Copyright © \"}\r\n <Link color=\"inherit\" href=\"https://material-ui.com/\">\r\n Your Website\r\n </Link>{\" \"}\r\n {new Date().getFullYear()}\r\n {\".\"}\r\n </Typography>\r\n );\r\n}\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n paper: {\r\n display: \"flex\",\r\n flexDirection: \"column\",\r\n alignItems: \"center\",\r\n },\r\n avatar: {\r\n margin: theme.spacing(1),\r\n backgroundColor: theme.palette.secondary.main,\r\n },\r\n form: {\r\n width: \"100%\", // Fix IE 11 issue.\r\n },\r\n submit: {\r\n margin: theme.spacing(3, 0, 2),\r\n },\r\n}));\r\n\r\nconst LoginScreen = () => {\r\n const classes = useStyles();\r\n let history = useHistory();\r\n const [state, setState] = useState({\r\n appcode: \"Dcv\",\r\n username: \"\",\r\n password: \"\",\r\n });\r\n\r\n const [helperText, sethelperText] = useState(\"\");\r\n const onLogin = async () => {\r\n console.log(\"Abc\");\r\n if (state.username === \"\" || state.password === \"\") {\r\n sethelperText(\"\");\r\n sethelperText(\"Cần phải điền đầy đủ email và password\");\r\n } else {\r\n sethelperText(\"\");\r\n console.log(state);\r\n const res = await loginApi(state);\r\n console.log(res.data);\r\n\r\n if (res.data && res.data.errorCode === 0) {\r\n localStorage.setItem(\"TOKEN_KEY\", res.data.data.accessToken);\r\n history.push({\r\n pathname: \"/home\",\r\n state: { code: res.data.data.code, fullName: res.data.data.fullName },\r\n });\r\n } else if (res.data && res.data.errorCode === 1) {\r\n sethelperText(\"\");\r\n sethelperText(\"Sai email hoặc mật khẩu\");\r\n }\r\n }\r\n };\r\n\r\n return (\r\n <div style={{ height: \"100vh\" }}>\r\n <Container component=\"main\" maxWidth=\"xs\">\r\n <CssBaseline />\r\n <div className={classes.paper}>\r\n <img\r\n style={{ width: 200, height: 100, marginTop: 10, marginBottom: 10 }}\r\n src=\"/logo-DCV.png\"\r\n />\r\n <Typography color={\"primary\"} component=\"h1\" variant=\"h5\">\r\n ĐĂNG NHÂP\r\n </Typography>\r\n <TextField\r\n variant=\"outlined\"\r\n margin=\"normal\"\r\n required\r\n fullWidth\r\n label=\"email\"\r\n autoComplete=\"email\"\r\n onChange={(e) => {\r\n setState({\r\n ...state,\r\n username: e.target.value,\r\n });\r\n }}\r\n autoFocus\r\n />\r\n <TextField\r\n variant=\"outlined\"\r\n margin=\"normal\"\r\n required\r\n fullWidth\r\n label=\"Mật khẩu\"\r\n type=\"password\"\r\n onChange={(e) => {\r\n setState({\r\n ...state,\r\n password: e.target.value,\r\n });\r\n }}\r\n autoComplete=\"current-password\"\r\n />\r\n <div style={{ width: \"100%\" }}>\r\n <FormHelperText\r\n style={{ marginLeft: \"16px\", color: \"red\", fontSize: \"13px\" }}\r\n >\r\n {helperText}\r\n </FormHelperText>\r\n </div>\r\n\r\n <Button\r\n type=\"submit\"\r\n fullWidth\r\n variant=\"contained\"\r\n color=\"primary\"\r\n className={classes.submit}\r\n onClick={onLogin}\r\n >\r\n Đăng nhập\r\n </Button>\r\n <Grid container>\r\n <Grid item xs>\r\n <Link href=\"#\" variant=\"body2\">\r\n Quên mật khẩu?\r\n </Link>\r\n </Grid>\r\n </Grid>\r\n </div>\r\n <Box mt={8}>\r\n <Copyright />\r\n </Box>\r\n </Container>\r\n </div>\r\n );\r\n};\r\n\r\nexport default LoginScreen;\r\n","import React from \"react\";\r\nimport { bounce, fadeIn, bounceIn } from \"react-animations\";\r\nimport Radium, { StyleRoot } from \"radium\";\r\n\r\nconst styles = {\r\n bounce: {\r\n animation: \"x 1s\",\r\n animationName: Radium.keyframes(bounceIn, \"bounceIn\"),\r\n animationDuration: \"10s\",\r\n },\r\n};\r\n\r\nclass ButtonCheckIn extends React.Component {\r\n render() {\r\n return (\r\n <StyleRoot>\r\n <div className=\"test\" style={styles.bounce}>\r\n aaa\r\n </div>\r\n </StyleRoot>\r\n );\r\n }\r\n}\r\n\r\nexport default ButtonCheckIn;\r\n","import React, { useState, useEffect } from \"react\";\r\nimport { makeStyles } from \"@material-ui/core/styles\";\r\nimport {\r\n Container,\r\n Grid,\r\n Paper,\r\n Card,\r\n Typography,\r\n Fab,\r\n} from \"@material-ui/core\";\r\n\r\nimport ButtonCheckIn from \"./ButtonCheckIn\";\r\n\r\nconst HomeView = (props) => {\r\n const { user, onCheckIn } = props;\r\n\r\n const [status, setStatus] = useState(0);\r\n\r\n return (\r\n <Container fixed style={{ height: \"100vh\" }}>\r\n <div style={{ marginTop: 50 }} />\r\n <div style={{ textAlign: \"center\", fontSize: \"35px\" }}>\r\n <Typography variant={\"h4\"} style={{ color: \" #3399ff\" }}>\r\n Chào mừng {user ? user.name : \"\"}\r\n </Typography>\r\n </div>\r\n <br />\r\n <Grid container style={{ height: \"100vh\", justifyContent: \"center\" }}>\r\n <Fab\r\n color=\"secondary\"\r\n aria-label=\"edit\"\r\n style={{ width: \"30vw\", height: \"30vw\" }}\r\n onClick={onCheckIn}\r\n >\r\n <span style={{ fontSize: \"3vw\" }}>\r\n {status == 0 ? \"Checkin\" : \"Checkout\"}\r\n </span>\r\n </Fab>\r\n </Grid>\r\n </Container>\r\n );\r\n};\r\n\r\nexport default HomeView;\r\n","import React, { useState, useEffect } from \"react\";\r\nimport HomeView from \"./HomeView\";\r\nimport { useLocation } from \"react-router-dom\";\r\n\r\nconst HomeContainer = (props) => {\r\n const location = useLocation();\r\n\r\n const [state, setState] = useState({\r\n latitude: null,\r\n longitude: null,\r\n });\r\n\r\n useEffect(() => {\r\n getPosition();\r\n }, []);\r\n\r\n const [user, setUser] = useState({\r\n name: location.state.fullName,\r\n code: location.state.code,\r\n });\r\n\r\n const getPosition = async () => {\r\n navigator.geolocation.getCurrentPosition((position) => {\r\n if (position.coords.longitude)\r\n setState({\r\n latitude: position.coords.latitude,\r\n longitude: position.coords.longitude,\r\n });\r\n });\r\n };\r\n\r\n const onCheckIn = () => {\r\n console.log(state);\r\n };\r\n\r\n return <HomeView user={user} onCheckIn={onCheckIn} />;\r\n};\r\n\r\nexport default HomeContainer;\r\n","import { BrowserRouter, Switch, Route, Link } from \"react-router-dom\";\r\nimport { useHistory, Redirect } from \"react-router-dom\";\r\nimport React, { useEffect, useState } from \"react\";\r\nimport LoginScreen from \"./Login/LoginScreen\";\r\nimport HomeScreen from \"./Home/HomeContainer\";\r\n\r\nconst RootView = () => {\r\n let history = useHistory();\r\n return (\r\n <BrowserRouter>\r\n <Switch>\r\n <Route exact path=\"/\">\r\n <LoginScreen />\r\n </Route>\r\n <Route path=\"/home\">\r\n <HomeScreen />\r\n </Route>\r\n </Switch>\r\n </BrowserRouter>\r\n );\r\n};\r\n\r\nexport default RootView;\r\n","import RootView from \"./View/RootView\";\r\nimport HomeContainer from \"./View/Home/HomeContainer\";\r\n\r\nfunction App() {\r\n return <RootView />;\r\n}\r\n\r\nexport default App;\r\n","const reportWebVitals = onPerfEntry => {\r\n if (onPerfEntry && onPerfEntry instanceof Function) {\r\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\r\n getCLS(onPerfEntry);\r\n getFID(onPerfEntry);\r\n getFCP(onPerfEntry);\r\n getLCP(onPerfEntry);\r\n getTTFB(onPerfEntry);\r\n });\r\n }\r\n};\r\n\r\nexport default reportWebVitals;\r\n","import React from 'react';\r\nimport ReactDOM from 'react-dom';\r\nimport './index.css';\r\nimport App from './App';\r\nimport reportWebVitals from './reportWebVitals';\r\n\r\nReactDOM.render(\r\n <React.StrictMode>\r\n <App />\r\n </React.StrictMode>,\r\n document.getElementById('root')\r\n);\r\n\r\n// If you want to start measuring performance in your app, pass a function\r\n// to log results (for example: reportWebVitals(console.log))\r\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\r\nreportWebVitals();\r\n"],"sourceRoot":""}
\ No newline at end of file
(this.webpackJsonpcheckin_dcv=this.webpackJsonpcheckin_dcv||[]).push([[0],{143:function(e,t,n){},167:function(e,t,n){},250:function(e,t,n){"use strict";n.r(t);var a=n(6),r=n(0),c=n.n(r),o=n(12),i=n.n(o),u=(n(143),n(23)),s=n(72),l=n(13),h=n(35),d=n(10),p=n.n(d),j=n(15),m=n(30),f=n(291),b=n(289),g=n(294),O=n(251),v=n(286),x=n(290),y=n(292),k=n(295),C=n(287),S=n(288),w=n(52),I=n.n(w);function N(e,t){return E.apply(this,arguments)}function E(){return(E=Object(j.a)(p.a.mark((function e(t,n){var a,r;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return a=localStorage.getItem("TOKEN_KEY"),r={method:"get",url:t,headers:{Accept:"application/json","Content-Type":"application/json",Authorization:"Bearer "+a},params:Object(u.a)({},n),timeout:6e4},console.log("My request",r),e.next=5,I()(r).then((function(e){return e})).then((function(e){return e})).catch((function(e){return console.log(e.request),{message:"error",status:e.request.status}}));case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function T(e,t){return K.apply(this,arguments)}function K(){return(K=Object(j.a)(p.a.mark((function e(t,n){var a,r=arguments;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return!(r.length>2&&void 0!==r[2])||r[2],a={method:"post",url:t,headers:{Accept:"application/json","Content-Type":"application/json"},timeout:6e4,data:JSON.stringify(n)},console.log("post data mobile",a),e.next=5,I()(a).then((function(e){return e})).then((function(e){return e})).catch((function(e){return console.log(e.request),{message:"error",status:e.request.status}}));case 5:return e.abrupt("return",e.sent);case 6:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Y(e,t){return _.apply(this,arguments)}function _(){return(_=Object(j.a)(p.a.mark((function e(t,n){var a,r,c=arguments;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return!(c.length>2&&void 0!==c[2])||c[2],a=localStorage.getItem("TOKEN_KEY"),r={method:"post",url:t,headers:{Accept:"application/json","Content-Type":"application/json",Authorization:"Bearer "+a},timeout:6e4,data:JSON.stringify(n)},console.log("post data mobile",r),e.next=6,I()(r).then((function(e){return e})).then((function(e){return e})).catch((function(e){return console.log(e.request),{message:"error",status:e.request.status}}));case 6:return e.abrupt("return",e.sent);case 7:case"end":return e.stop()}}),e)})))).apply(this,arguments)}I.a.defaults.timeout=1e4;var q=function(){var e=Object(j.a)(p.a.mark((function e(t){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",T("http://hrm.auth.dcv.vn/api/v1/auth/login",t).then((function(e){return e})).catch((function(e){return e})));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),D=function(){var e=Object(j.a)(p.a.mark((function e(t){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Y("http://hrm.japi.dcv.vn/venus-service/checkinService/checkin",t).then((function(e){return e})).catch((function(e){return e})));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),J=function(){var e=Object(j.a)(p.a.mark((function e(t){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Y("http://hrm.japi.dcv.vn/venus-service/checkinService/checkout",t).then((function(e){return e})).catch((function(e){return e})));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),M=function(){var e=Object(j.a)(p.a.mark((function e(t){return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",N("http://hrm.api.dcv.vn/api/v1/checkin/personaldailycheckin",t).then((function(e){return e})).catch((function(e){return e})));case 1:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();function A(){return Object(a.jsxs)(O.a,{variant:"body2",color:"textSecondary",align:"center",children:["Copyright \xa9 ",Object(a.jsx)(v.a,{color:"inherit",href:"https://material-ui.com/",children:"Your Website"})," ",(new Date).getFullYear(),"."]})}var F=Object(C.a)((function(e){return{paper:{display:"flex",flexDirection:"column",alignItems:"center"},avatar:{margin:e.spacing(1),backgroundColor:e.palette.secondary.main},form:{width:"100%"},submit:{margin:e.spacing(3,0,2)}}})),L=function(){var e=F(),t=Object(l.g)(),n=Object(r.useState)({appcode:"Dcv",username:"",password:""}),c=Object(m.a)(n,2),o=c[0],i=c[1],s=Object(r.useState)(""),h=Object(m.a)(s,2),d=h[0],C=h[1],w=function(){var e=Object(j.a)(p.a.mark((function e(){var n;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(""!==o.username&&""!==o.password){e.next=5;break}C(""),C("C\u1ea7n ph\u1ea3i \u0111i\u1ec1n \u0111\u1ea7y \u0111\u1ee7 email v\xe0 password"),e.next=10;break;case 5:return C(""),e.next=8,q(o);case 8:(n=e.sent).data&&0===n.data.errorCode?(localStorage.setItem("TOKEN_KEY",n.data.data.accessToken),localStorage.setItem("user",JSON.stringify({name:n.data.data.fullName,code:n.data.data.code})),t.push({pathname:"/home",state:{code:n.data.data.code,fullName:n.data.data.fullName}})):n.data&&1===n.data.errorCode&&(C(""),C("Sai email ho\u1eb7c m\u1eadt kh\u1ea9u"));case 10:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(a.jsx)("div",{style:{height:"100vh"},children:Object(a.jsxs)(S.a,{component:"main",maxWidth:"xs",children:[Object(a.jsx)(b.a,{}),Object(a.jsxs)("div",{className:e.paper,children:[Object(a.jsx)("img",{style:{width:200,height:100,marginTop:10,marginBottom:10},src:"/logo-DCV.png"}),Object(a.jsx)(O.a,{color:"primary",component:"h1",variant:"h5",children:"\u0110\u0102NG NH\u1eacP"}),Object(a.jsx)(g.a,{variant:"outlined",margin:"normal",required:!0,fullWidth:!0,label:"Email",autoComplete:"email",onChange:function(e){i(Object(u.a)(Object(u.a)({},o),{},{username:e.target.value}))},autoFocus:!0}),Object(a.jsx)(g.a,{variant:"outlined",margin:"normal",required:!0,fullWidth:!0,label:"M\u1eadt kh\u1ea9u",type:"password",onChange:function(e){i(Object(u.a)(Object(u.a)({},o),{},{password:e.target.value}))},autoComplete:"current-password"}),Object(a.jsx)("div",{style:{width:"100%"},children:Object(a.jsx)(x.a,{style:{marginLeft:"16px",color:"red",fontSize:"13px"},children:d})}),Object(a.jsx)(f.a,{type:"submit",fullWidth:!0,variant:"contained",color:"primary",className:e.submit,onClick:w,children:"\u0110\u0103ng nh\u1eadp"}),Object(a.jsx)(y.a,{container:!0,children:Object(a.jsx)(y.a,{item:!0,xs:!0,children:Object(a.jsx)(v.a,{href:"#",variant:"body2",children:"Qu\xean m\u1eadt kh\u1ea9u?"})})})]}),Object(a.jsx)(k.a,{mt:8,children:Object(a.jsx)(A,{})})]})})},z=n(293),B=(n(167),n(91)),W=n(92),P=n(124),X=n(122),V=n(93),H=n(123),G=n(69),Q={bounce:{animation:"x 1s",animationName:H.a.keyframes(V.bounceIn,"bounceIn"),animationDuration:"10s"}},R=(c.a.Component,function(e){var t=e.user,n=e.onCheckIn,c=e.changeStatus,o=e.changeIdCheck,i=Object(r.useState)(""),u=Object(m.a)(i,2),s=u[0],h=u[1],d=Object(l.g)();Object(r.useEffect)((function(){b()}),[c]);var b=function(){var e=Object(j.a)(p.a.mark((function e(){var t;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,M({empCode:JSON.parse(localStorage.getItem("user")).code});case 2:(t=e.sent).data&&0==t.data.errorCode?1==t.data.data.notCheckInYet?h(0):1==t.data.data.notCheckOutYet?(h(1),o(t.data.data.checkInID)):1==t.data.data.doneCheck&&h(2):403==t.status||401==t.status?(localStorage.removeItem("TOKEN_KEY"),localStorage.removeItem("user"),setTimeout((function(){d.push("/")}),100)):window.alert("L\u1ed7i");case 4:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return Object(a.jsxs)(S.a,{fixed:!0,style:{height:"100vh"},children:[Object(a.jsx)("div",{style:{marginTop:50}}),Object(a.jsxs)("div",{style:{textAlign:"center",fontSize:"35px"},children:[Object(a.jsxs)(O.a,{variant:"h4",style:{color:" #3399ff"},children:["Ch\xe0o m\u1eebng ",t?t.name:""]}),Object(a.jsx)(f.a,{style:{float:"right"},variant:"contained",color:"secondary",onClick:function(){localStorage.removeItem("TOKEN_KEY"),localStorage.removeItem("user"),setTimeout((function(){d.push("/")}),100)},children:"\u0110\u0103ng xu\u1ea5t"})]}),Object(a.jsx)("br",{}),Object(a.jsx)(y.a,{container:!0,style:{height:"100vh",justifyContent:"center"},children:Object(a.jsx)(z.a,{"aria-label":"edit",style:{width:"30vw",height:"30vw"},onClick:function(){n(s)},className:0==s?"checkin":1==s?"checkout":"complete",children:Object(a.jsx)("span",{style:{fontSize:"3vw"},children:0==s?"Checkin":1==s?"Checkout":"Ho\xe0n th\xe0nh"})})})]})}),U=function(e){Object(l.h)();var t=Object(r.useState)({latitude:null,longitude:null}),n=Object(m.a)(t,2),c=n[0],o=n[1],i=Object(r.useState)(""),u=Object(m.a)(i,2),s=u[0],h=u[1],d=Object(r.useState)(""),f=Object(m.a)(d,2),b=f[0],g=f[1],O=Object(r.useState)({}),v=Object(m.a)(O,2),x=v[0],y=v[1],k=Object(l.g)();Object(r.useEffect)((function(){var e=JSON.parse(localStorage.getItem("user"));y(e),C()}),[]);var C=function(){navigator.geolocation.getCurrentPosition((function(e){e.coords.longitude&&o({latitude:e.coords.latitude,longitude:e.coords.longitude})}))},S=function(){var e=Object(j.a)(p.a.mark((function e(t){var n,a;return p.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!=t){e.next=8;break}return e.next=3,D({employeeCode:x.code,companyCode:"DCV",checkinId:null,lat:c.latitude,lng:c.longitude,deviceName:"Xiaomi",deviceMac:"Xiaomi Mac"});case 3:n=e.sent,console.log(n),n.data&&200==n.data.errorCode?(alert("Checkin th\xe0nh c\xf4ng"),h(5),console.log(n.data.data)):403==n.status||401==n.status?(localStorage.removeItem("TOKEN_KEY"),localStorage.removeItem("user"),setTimeout((function(){k.push("/")}),100)):alert("L\u1ed7i th\xf4ng tin"),e.next=14;break;case 8:if(1!=t){e.next=14;break}return e.next=11,J({employeeCode:x.code,companyCode:"DCV",checkinId:b,lat:c.latitude,lng:c.longitude,deviceName:"Xiaomi",deviceMac:"Xiaomi Mac"});case 11:a=e.sent,console.log(a),a.data&&200==a.data.errorCode?(alert("Checkout th\xe0nh c\xf4ng"),h(6),console.log(a.data.data)):403==a.status||401==a.status?(localStorage.removeItem("TOKEN_KEY"),localStorage.removeItem("user"),setTimeout((function(){k.push("/")}),100)):alert("L\u1ed7i th\xf4ng tin");case 14:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return Object(a.jsx)(R,{user:x,onCheckIn:S,changeStatus:s,changeIdCheck:function(e){g(e)}})},Z=function(){Object(l.g)();function e(e){var t=e.children,n=Object(s.a)(e,["children"]),r=localStorage.getItem("TOKEN_KEY");return Object(a.jsx)(l.b,Object(u.a)(Object(u.a)({},n),{},{render:function(e){var n=e.location;return r?t:Object(a.jsx)(l.a,{to:{pathname:"/",state:{from:n}}})}}))}function t(e){var t=e.children,n=Object(s.a)(e,["children"]),r=localStorage.getItem("TOKEN_KEY");return Object(a.jsx)(l.b,Object(u.a)(Object(u.a)({},n),{},{render:function(e){var n=e.location;return r?Object(a.jsx)(l.a,{to:{pathname:"/home",state:{from:n}}}):t}}))}return Object(a.jsx)(h.a,{children:Object(a.jsxs)(l.d,{children:[Object(a.jsx)(t,{exact:!0,path:"/",children:Object(a.jsx)(L,{})}),Object(a.jsx)(e,{path:"/home",children:Object(a.jsx)(U,{})})]})})};var $=function(){return Object(a.jsx)(Z,{})},ee=function(e){e&&e instanceof Function&&n.e(3).then(n.bind(null,298)).then((function(t){var n=t.getCLS,a=t.getFID,r=t.getFCP,c=t.getLCP,o=t.getTTFB;n(e),a(e),r(e),c(e),o(e)}))};i.a.render(Object(a.jsx)(c.a.StrictMode,{children:Object(a.jsx)($,{})}),document.getElementById("root")),ee()}},[[250,1,2]]]);
//# sourceMappingURL=main.841ebf76.chunk.js.map
\ No newline at end of file
{"version":3,"sources":["api/api.js","api/user.js","View/Login/LoginScreen.js","View/Home/ButtonCheckIn.js","View/Home/HomeView.js","View/Home/HomeContainer.js","View/RootView.js","App.js","reportWebVitals.js","index.js"],"names":["GetData","url","data","a","token","localStorage","getItem","myRequest","method","headers","Accept","Authorization","params","timeout","console","log","axios","then","response","catch","error","request","message","status","PostLogin","json","JSON","stringify","PostData","defaults","loginApi","body","res","err","checkInApi","checkOutApi","statusCheckIn","Copyright","Typography","variant","color","align","Link","href","Date","getFullYear","useStyles","makeStyles","theme","paper","display","flexDirection","alignItems","avatar","margin","spacing","backgroundColor","palette","secondary","main","form","width","submit","LoginScreen","classes","history","useHistory","useState","appcode","username","password","state","setState","helperText","sethelperText","onLogin","errorCode","setItem","accessToken","name","fullName","code","push","pathname","style","height","Container","component","maxWidth","CssBaseline","className","marginTop","marginBottom","src","TextField","required","fullWidth","label","autoComplete","onChange","e","target","value","autoFocus","type","FormHelperText","marginLeft","fontSize","Button","onClick","Grid","container","item","xs","Box","mt","styles","bounce","animation","animationName","Radium","keyframes","bounceIn","animationDuration","HomeView","React","Component","props","user","onCheckIn","changeStatus","changeIdCheck","setStatus","useEffect","getInfo","empCode","parse","notCheckInYet","notCheckOutYet","checkInID","doneCheck","removeItem","setTimeout","window","alert","fixed","textAlign","float","justifyContent","Fab","aria-label","HomeContainer","useLocation","latitude","longitude","setChangeStatus","changeId","setChangeId","setUser","infoUser","getPosition","navigator","geolocation","getCurrentPosition","position","coords","employeeCode","companyCode","checkinId","lat","lng","deviceName","deviceMac","id","RootView","PrivateRoute","children","rest","render","location","to","from","PublicRoute","exact","path","App","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","ReactDOM","StrictMode","document","getElementById"],"mappings":"gYAGO,SAAeA,EAAtB,oC,4CAAO,WAAuBC,EAAKC,GAA5B,iBAAAC,EAAA,6DACCC,EAAQC,aAAaC,QAAQ,aAC/BC,EAAY,CACdC,OAAQ,MACRP,MACAQ,QAAS,CACPC,OAAQ,mBACR,eAAgB,mBAChBC,cAAe,UAAYP,GAE7BQ,OAAO,eACFV,GAELW,QAAS,KAGXC,QAAQC,IAAI,aAAcR,GAhBrB,SAiBQS,IAAMT,GAChBU,MAAK,SAACC,GAAD,OAAcA,KACnBD,MAAK,SAACC,GAAD,OAAcA,KACnBC,OAAM,SAACC,GAMN,OALAN,QAAQC,IAAIK,EAAMC,SACN,CACVC,QAAS,QACTC,OAAQH,EAAMC,QAAQE,WAxBvB,oF,sBA6BA,SAAeC,EAAtB,oC,4CAAO,WAAyBvB,EAAKwB,GAA9B,2BAAAtB,EAAA,+FACDI,EAAY,CACdC,OAAQ,OACRP,MACAQ,QAAS,CACPC,OAAQ,mBACR,eAAgB,oBAElBG,QAAS,IACTX,KAAMwB,KAAKC,UAAUF,IAEvBX,QAAQC,IAAI,mBAAoBR,GAX3B,SAYQS,IAAMT,GAChBU,MAAK,SAACC,GAAD,OAAcA,KACnBD,MAAK,SAACC,GAAD,OAAcA,KACnBC,OAAM,SAACC,GAMN,OALAN,QAAQC,IAAIK,EAAMC,SACN,CACVC,QAAS,QACTC,OAAQH,EAAMC,QAAQE,WAnBvB,oF,sBAyBA,SAAeK,EAAtB,oC,4CAAO,WAAwB3B,EAAKwB,GAA7B,6BAAAtB,EAAA,+FACCC,EAAQC,aAAaC,QAAQ,aAC/BC,EAAY,CACdC,OAAQ,OACRP,MACAQ,QAAS,CACPC,OAAQ,mBAC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F,cAACT,EAAD,CAAcS,KAAK,QAAnB,SACE,cAAC,EAAD,YClDKC,MAJf,WACE,OAAO,cAAC,EAAD,KCQMC,GAZS,SAAAC,GAClBA,GAAeA,aAAuBC,UACxC,8BAAqB3K,MAAK,YAAkD,IAA/C4K,EAA8C,EAA9CA,OAAQC,EAAsC,EAAtCA,OAAQC,EAA8B,EAA9BA,OAAQC,EAAsB,EAAtBA,OAAQC,EAAc,EAAdA,QAC3DJ,EAAOF,GACPG,EAAOH,GACPI,EAAOJ,GACPK,EAAOL,GACPM,EAAQN,OCDdO,IAAShB,OACP,cAAC,IAAMiB,WAAP,UACE,cAAC,EAAD,MAEFC,SAASC,eAAe,SAM1BX,O","file":"static/js/main.841ebf76.chunk.js","sourcesContent":["import axios from \"axios\";\r\naxios.defaults.timeout = 10000;\r\n\r\nexport async function GetData(url, data) {\r\n const token = localStorage.getItem(\"TOKEN_KEY\");\r\n let myRequest = {\r\n method: \"get\",\r\n url,\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\",\r\n Authorization: \"Bearer \" + token,\r\n },\r\n params: {\r\n ...data,\r\n },\r\n timeout: 60 * 1000,\r\n // withCredentials: true,\r\n };\r\n console.log(\"My request\", myRequest);\r\n return await axios(myRequest)\r\n .then((response) => response)\r\n .then((response) => response)\r\n .catch((error) => {\r\n console.log(error.request);\r\n const err = {\r\n message: \"error\",\r\n status: error.request.status,\r\n };\r\n return err;\r\n });\r\n}\r\nexport async function PostLogin(url, json, isAuth = true) {\r\n let myRequest = {\r\n method: \"post\",\r\n url,\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\",\r\n },\r\n timeout: 60 * 1000,\r\n data: JSON.stringify(json),\r\n };\r\n console.log(\"post data mobile\", myRequest);\r\n return await axios(myRequest)\r\n .then((response) => response)\r\n .then((response) => response)\r\n .catch((error) => {\r\n console.log(error.request);\r\n const err = {\r\n message: \"error\",\r\n status: error.request.status,\r\n };\r\n return err;\r\n });\r\n}\r\n\r\nexport async function PostData(url, json, isAuth = true) {\r\n const token = localStorage.getItem(\"TOKEN_KEY\");\r\n let myRequest = {\r\n method: \"post\",\r\n url,\r\n headers: {\r\n Accept: \"application/json\",\r\n \"Content-Type\": \"application/json\",\r\n Authorization: \"Bearer \" + token,\r\n },\r\n timeout: 60 * 1000,\r\n data: JSON.stringify(json),\r\n };\r\n console.log(\"post data mobile\", myRequest);\r\n return await axios(myRequest)\r\n .then((response) => response)\r\n .then((response) => response)\r\n .catch((error) => {\r\n console.log(error.request);\r\n const err = {\r\n message: \"error\",\r\n status: error.request.status,\r\n };\r\n return err;\r\n });\r\n}\r\n","import { GetData, PostLogin, PostData } from \"./api\";\r\n\r\nexport const loginApi = async (body) =>\r\n PostLogin(\"http://hrm.auth.dcv.vn/api/v1/auth/login\", body)\r\n .then((res) => res)\r\n .catch((err) => err);\r\n\r\nexport const getDataApi = async (body) =>\r\n GetData(\"http://hrm.auth.dcv.vn/api/v1/auth/login\", body)\r\n .then((res) => res)\r\n .catch((err) => err);\r\n\r\nexport const checkInApi = async (body) =>\r\n PostData(\"http://hrm.japi.dcv.vn/venus-service/checkinService/checkin\", body)\r\n .then((res) => res)\r\n .catch((err) => err);\r\n\r\nexport const checkOutApi = async (body) =>\r\n PostData(\"http://hrm.japi.dcv.vn/venus-service/checkinService/checkout\", body)\r\n .then((res) => res)\r\n .catch((err) => err);\r\n\r\nexport const statusCheckIn = async (body) =>\r\n GetData(\"http://hrm.api.dcv.vn/api/v1/checkin/personaldailycheckin\", body)\r\n .then((res) => res)\r\n .catch((err) => err);\r\n","import React, { useState } from \"react\";\r\nimport Avatar from \"@material-ui/core/Avatar\";\r\nimport Button from \"@material-ui/core/Button\";\r\nimport CssBaseline from \"@material-ui/core/CssBaseline\";\r\nimport TextField from \"@material-ui/core/TextField\";\r\nimport { FormHelperText, Link, Grid, Box, Typography } from \"@material-ui/core\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport LockOutlinedIcon from \"@material-ui/icons/LockOutlined\";\r\nimport { makeStyles } from \"@material-ui/core/styles\";\r\nimport Container from \"@material-ui/core/Container\";\r\nimport { loginApi } from \"../../api/user\";\r\n\r\nfunction Copyright() {\r\n return (\r\n <Typography variant=\"body2\" color=\"textSecondary\" align=\"center\">\r\n {\"Copyright © \"}\r\n <Link color=\"inherit\" href=\"https://material-ui.com/\">\r\n Your Website\r\n </Link>{\" \"}\r\n {new Date().getFullYear()}\r\n {\".\"}\r\n </Typography>\r\n );\r\n}\r\n\r\nconst useStyles = makeStyles((theme) => ({\r\n paper: {\r\n display: \"flex\",\r\n flexDirection: \"column\",\r\n alignItems: \"center\",\r\n },\r\n avatar: {\r\n margin: theme.spacing(1),\r\n backgroundColor: theme.palette.secondary.main,\r\n },\r\n form: {\r\n width: \"100%\", // Fix IE 11 issue.\r\n },\r\n submit: {\r\n margin: theme.spacing(3, 0, 2),\r\n },\r\n}));\r\n\r\nconst LoginScreen = () => {\r\n const classes = useStyles();\r\n let history = useHistory();\r\n const [state, setState] = useState({\r\n appcode: \"Dcv\",\r\n username: \"\",\r\n password: \"\",\r\n });\r\n\r\n const [helperText, sethelperText] = useState(\"\");\r\n const onLogin = async () => {\r\n if (state.username === \"\" || state.password === \"\") {\r\n sethelperText(\"\");\r\n sethelperText(\"Cần phải điền đầy đủ email và password\");\r\n } else {\r\n sethelperText(\"\");\r\n const res = await loginApi(state);\r\n\r\n if (res.data && res.data.errorCode === 0) {\r\n localStorage.setItem(\"TOKEN_KEY\", res.data.data.accessToken);\r\n localStorage.setItem(\r\n \"user\",\r\n JSON.stringify({\r\n name: res.data.data.fullName,\r\n code: res.data.data.code,\r\n })\r\n );\r\n history.push({\r\n pathname: \"/home\",\r\n state: { code: res.data.data.code, fullName: res.data.data.fullName },\r\n });\r\n } else if (res.data && res.data.errorCode === 1) {\r\n sethelperText(\"\");\r\n sethelperText(\"Sai email hoặc mật khẩu\");\r\n }\r\n }\r\n };\r\n\r\n return (\r\n <div style={{ height: \"100vh\" }}>\r\n <Container component=\"main\" maxWidth=\"xs\">\r\n <CssBaseline />\r\n <div className={classes.paper}>\r\n <img\r\n style={{ width: 200, height: 100, marginTop: 10, marginBottom: 10 }}\r\n src=\"/logo-DCV.png\"\r\n />\r\n <Typography color={\"primary\"} component=\"h1\" variant=\"h5\">\r\n ĐĂNG NHẬP\r\n </Typography>\r\n <TextField\r\n variant=\"outlined\"\r\n margin=\"normal\"\r\n required\r\n fullWidth\r\n label=\"Email\"\r\n autoComplete=\"email\"\r\n onChange={(e) => {\r\n setState({\r\n ...state,\r\n username: e.target.value,\r\n });\r\n }}\r\n autoFocus\r\n />\r\n <TextField\r\n variant=\"outlined\"\r\n margin=\"normal\"\r\n required\r\n fullWidth\r\n label=\"Mật khẩu\"\r\n type=\"password\"\r\n onChange={(e) => {\r\n setState({\r\n ...state,\r\n password: e.target.value,\r\n });\r\n }}\r\n autoComplete=\"current-password\"\r\n />\r\n <div style={{ width: \"100%\" }}>\r\n <FormHelperText\r\n style={{ marginLeft: \"16px\", color: \"red\", fontSize: \"13px\" }}\r\n >\r\n {helperText}\r\n </FormHelperText>\r\n </div>\r\n\r\n <Button\r\n type=\"submit\"\r\n fullWidth\r\n variant=\"contained\"\r\n color=\"primary\"\r\n className={classes.submit}\r\n onClick={onLogin}\r\n >\r\n Đăng nhập\r\n </Button>\r\n <Grid container>\r\n <Grid item xs>\r\n <Link href=\"#\" variant=\"body2\">\r\n Quên mật khẩu?\r\n </Link>\r\n </Grid>\r\n </Grid>\r\n </div>\r\n <Box mt={8}>\r\n <Copyright />\r\n </Box>\r\n </Container>\r\n </div>\r\n );\r\n};\r\n\r\nexport default LoginScreen;\r\n","import React from \"react\";\r\nimport { bounce, fadeIn, bounceIn } from \"react-animations\";\r\nimport Radium, { StyleRoot } from \"radium\";\r\n\r\nconst styles = {\r\n bounce: {\r\n animation: \"x 1s\",\r\n animationName: Radium.keyframes(bounceIn, \"bounceIn\"),\r\n animationDuration: \"10s\",\r\n },\r\n};\r\n\r\nclass ButtonCheckIn extends React.Component {\r\n render() {\r\n return (\r\n <StyleRoot>\r\n <div className=\"test\" style={styles.bounce}>\r\n aaa\r\n </div>\r\n </StyleRoot>\r\n );\r\n }\r\n}\r\n\r\nexport default ButtonCheckIn;\r\n","import React, { useState, useEffect } from \"react\";\r\nimport { makeStyles } from \"@material-ui/core/styles\";\r\nimport {\r\n Container,\r\n Grid,\r\n Paper,\r\n Card,\r\n Typography,\r\n Fab,\r\n Button,\r\n} from \"@material-ui/core\";\r\nimport { statusCheckIn } from \"../../api/user\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport Alert from \"@material-ui/lab/Alert\";\r\nimport \"./HomeView.css\";\r\n\r\nimport ButtonCheckIn from \"./ButtonCheckIn\";\r\n\r\nconst HomeView = (props) => {\r\n const { user, onCheckIn, changeStatus, changeIdCheck } = props;\r\n\r\n const [status, setStatus] = useState(\"\");\r\n let history = useHistory();\r\n\r\n useEffect(() => {\r\n getInfo();\r\n }, [changeStatus]);\r\n\r\n const getInfo = async () => {\r\n const res = await statusCheckIn({\r\n empCode: JSON.parse(localStorage.getItem(\"user\")).code,\r\n });\r\n if (res.data && res.data.errorCode == 0) {\r\n if (res.data.data.notCheckInYet == 1) {\r\n setStatus(0);\r\n } else if (res.data.data.notCheckOutYet == 1) {\r\n setStatus(1);\r\n changeIdCheck(res.data.data.checkInID);\r\n } else if (res.data.data.doneCheck == 1) {\r\n setStatus(2);\r\n }\r\n } else if (res.status == 403 || res.status == 401) {\r\n localStorage.removeItem(\"TOKEN_KEY\");\r\n localStorage.removeItem(\"user\");\r\n setTimeout(() => {\r\n history.push(\"/\");\r\n }, 100);\r\n } else {\r\n window.alert(\"Lỗi\");\r\n }\r\n };\r\n\r\n const signOut = () => {\r\n localStorage.removeItem(\"TOKEN_KEY\");\r\n localStorage.removeItem(\"user\");\r\n setTimeout(() => {\r\n history.push(\"/\");\r\n }, 100);\r\n };\r\n return (\r\n <Container fixed style={{ height: \"100vh\" }}>\r\n <div style={{ marginTop: 50 }} />\r\n <div style={{ textAlign: \"center\", fontSize: \"35px\" }}>\r\n <Typography variant={\"h4\"} style={{ color: \" #3399ff\" }}>\r\n Chào mừng {user ? user.name : \"\"}\r\n </Typography>\r\n <Button\r\n style={{ float: \"right\" }}\r\n variant=\"contained\"\r\n color=\"secondary\"\r\n onClick={signOut}\r\n >\r\n Đăng xuất\r\n </Button>\r\n </div>\r\n <br />\r\n <Grid container style={{ height: \"100vh\", justifyContent: \"center\" }}>\r\n <Fab\r\n aria-label=\"edit\"\r\n style={{ width: \"30vw\", height: \"30vw\" }}\r\n onClick={() => {\r\n onCheckIn(status);\r\n }}\r\n className={\r\n status == 0 ? \"checkin\" : status == 1 ? \"checkout\" : \"complete\"\r\n }\r\n >\r\n <span style={{ fontSize: \"3vw\" }}>\r\n {status == 0 ? \"Checkin\" : status == 1 ? \"Checkout\" : \"Hoàn thành\"}\r\n </span>\r\n </Fab>\r\n </Grid>\r\n </Container>\r\n );\r\n};\r\n\r\nexport default HomeView;\r\n","import React, { useState, useEffect } from \"react\";\r\nimport HomeView from \"./HomeView\";\r\nimport { useLocation } from \"react-router-dom\";\r\nimport { checkInApi, checkOutApi } from \"../../api/user\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport Alert from \"@material-ui/lab/Alert\";\r\n\r\nconst HomeContainer = (props) => {\r\n const location = useLocation();\r\n\r\n const [state, setState] = useState({\r\n latitude: null,\r\n longitude: null,\r\n });\r\n const [changeStatus, setChangeStatus] = useState(\"\");\r\n const [changeId, setChangeId] = useState(\"\");\r\n\r\n const [user, setUser] = useState({});\r\n let history = useHistory();\r\n\r\n const changeIdCheck = (id) => {\r\n setChangeId(id);\r\n };\r\n\r\n useEffect(() => {\r\n const infoUser = JSON.parse(localStorage.getItem(\"user\"));\r\n setUser(infoUser);\r\n getPosition();\r\n }, []);\r\n\r\n const getPosition = () => {\r\n navigator.geolocation.getCurrentPosition((position) => {\r\n if (position.coords.longitude)\r\n setState({\r\n latitude: position.coords.latitude,\r\n longitude: position.coords.longitude,\r\n });\r\n });\r\n };\r\n\r\n const onCheckIn = async (status) => {\r\n if (status == 0) {\r\n let res = await checkInApi({\r\n employeeCode: user.code,\r\n companyCode: \"DCV\",\r\n checkinId: null,\r\n lat: state.latitude,\r\n lng: state.longitude,\r\n deviceName: \"Xiaomi\",\r\n deviceMac: \"Xiaomi Mac\",\r\n });\r\n console.log(res);\r\n if (res.data && res.data.errorCode == 200) {\r\n alert(\"Checkin thành công\");\r\n setChangeStatus(5);\r\n console.log(res.data.data);\r\n } else if (res.status == 403 || res.status == 401) {\r\n localStorage.removeItem(\"TOKEN_KEY\");\r\n localStorage.removeItem(\"user\");\r\n setTimeout(() => {\r\n history.push(\"/\");\r\n }, 100);\r\n } else {\r\n alert(\"Lỗi thông tin\");\r\n }\r\n } else if (status == 1) {\r\n let res = await checkOutApi({\r\n employeeCode: user.code,\r\n companyCode: \"DCV\",\r\n checkinId: changeId,\r\n lat: state.latitude,\r\n lng: state.longitude,\r\n deviceName: \"Xiaomi\",\r\n deviceMac: \"Xiaomi Mac\",\r\n });\r\n console.log(res);\r\n if (res.data && res.data.errorCode == 200) {\r\n alert(\"Checkout thành công\");\r\n setChangeStatus(6);\r\n console.log(res.data.data);\r\n } else if (res.status == 403 || res.status == 401) {\r\n localStorage.removeItem(\"TOKEN_KEY\");\r\n localStorage.removeItem(\"user\");\r\n setTimeout(() => {\r\n history.push(\"/\");\r\n }, 100);\r\n } else {\r\n alert(\"Lỗi thông tin\");\r\n }\r\n }\r\n };\r\n\r\n return (\r\n <HomeView\r\n user={user}\r\n onCheckIn={onCheckIn}\r\n changeStatus={changeStatus}\r\n changeIdCheck={changeIdCheck}\r\n />\r\n );\r\n};\r\n\r\nexport default HomeContainer;\r\n","import { BrowserRouter, Switch, Route, Link } from \"react-router-dom\";\r\nimport { useHistory, Redirect } from \"react-router-dom\";\r\nimport React, { useEffect, useState } from \"react\";\r\nimport LoginScreen from \"./Login/LoginScreen\";\r\nimport HomeScreen from \"./Home/HomeContainer\";\r\n\r\nconst RootView = () => {\r\n let history = useHistory();\r\n\r\n function PrivateRoute({ children, ...rest }) {\r\n let accessToken = localStorage.getItem(\"TOKEN_KEY\");\r\n return (\r\n <Route\r\n {...rest}\r\n render={({ location }) =>\r\n accessToken ? (\r\n children\r\n ) : (\r\n <Redirect\r\n to={{\r\n pathname: \"/\",\r\n state: { from: location },\r\n }}\r\n />\r\n )\r\n }\r\n />\r\n );\r\n }\r\n\r\n function PublicRoute({ children, ...rest }) {\r\n let accessToken = localStorage.getItem(\"TOKEN_KEY\");\r\n return (\r\n <Route\r\n {...rest}\r\n render={({ location }) =>\r\n !accessToken ? (\r\n children\r\n ) : (\r\n <Redirect\r\n to={{\r\n pathname: \"/home\",\r\n state: { from: location },\r\n }}\r\n />\r\n )\r\n }\r\n />\r\n );\r\n }\r\n return (\r\n <BrowserRouter>\r\n <Switch>\r\n <PublicRoute exact path=\"/\">\r\n <LoginScreen />\r\n </PublicRoute>\r\n <PrivateRoute path=\"/home\">\r\n <HomeScreen />\r\n </PrivateRoute>\r\n </Switch>\r\n </BrowserRouter>\r\n );\r\n};\r\n\r\nexport default RootView;\r\n","import RootView from \"./View/RootView\";\r\nimport HomeContainer from \"./View/Home/HomeContainer\";\r\n\r\nfunction App() {\r\n return <RootView />;\r\n}\r\n\r\nexport default App;\r\n","const reportWebVitals = onPerfEntry => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport App from './App';\nimport reportWebVitals from './reportWebVitals';\n\nReactDOM.render(\n <React.StrictMode>\n <App />\n </React.StrictMode>,\n document.getElementById('root')\n);\n\n// If you want to start measuring performance in your app, pass a function\n// to log results (for example: reportWebVitals(console.log))\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\nreportWebVitals();\n"],"sourceRoot":""}
\ No newline at end of file
!function(e){function r(r){for(var n,i,c=r[0],a=r[1],l=r[2],s=0,p=[];s<c.length;s++)i=c[s],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&p.push(o[i][0]),o[i]=0;for(n in a)Object.prototype.hasOwnProperty.call(a,n)&&(e[n]=a[n]);for(f&&f(r);p.length;)p.shift()();return u.push.apply(u,l||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,c=1;c<t.length;c++){var a=t[c];0!==o[a]&&(n=!1)}n&&(u.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},o={1:0},u=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise((function(r,n){t=o[e]=[r,n]}));r.push(t[2]=n);var u,c=document.createElement("script");c.charset="utf-8",c.timeout=120,i.nc&&c.setAttribute("nonce",i.nc),c.src=function(e){return i.p+"static/js/"+({}[e]||e)+"."+{3:"88365e3c"}[e]+".chunk.js"}(e);var a=new Error;u=function(r){c.onerror=c.onload=null,clearTimeout(l);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),u=r&&r.target&&r.target.src;a.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",a.name="ChunkLoadError",a.type=n,a.request=u,t[1](a)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:c})}),12e4);c.onerror=c.onload=u,document.head.appendChild(c)}return Promise.all(r)},i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var c=this.webpackJsonpcheckin_dcv=this.webpackJsonpcheckin_dcv||[],a=c.push.bind(c);c.push=r,c=c.slice();for(var l=0;l<c.length;l++)r(c[l]);var f=a;t()}([]);
//# sourceMappingURL=runtime-main.775bbc76.js.map
\ No newline at end of file
!function(e){function r(r){for(var n,i,a=r[0],c=r[1],l=r[2],s=0,p=[];s<a.length;s++)i=a[s],Object.prototype.hasOwnProperty.call(o,i)&&o[i]&&p.push(o[i][0]),o[i]=0;for(n in c)Object.prototype.hasOwnProperty.call(c,n)&&(e[n]=c[n]);for(f&&f(r);p.length;)p.shift()();return u.push.apply(u,l||[]),t()}function t(){for(var e,r=0;r<u.length;r++){for(var t=u[r],n=!0,a=1;a<t.length;a++){var c=t[a];0!==o[c]&&(n=!1)}n&&(u.splice(r--,1),e=i(i.s=t[0]))}return e}var n={},o={1:0},u=[];function i(r){if(n[r])return n[r].exports;var t=n[r]={i:r,l:!1,exports:{}};return e[r].call(t.exports,t,t.exports,i),t.l=!0,t.exports}i.e=function(e){var r=[],t=o[e];if(0!==t)if(t)r.push(t[2]);else{var n=new Promise((function(r,n){t=o[e]=[r,n]}));r.push(t[2]=n);var u,a=document.createElement("script");a.charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.src=function(e){return i.p+"static/js/"+({}[e]||e)+"."+{3:"46ba7ee0"}[e]+".chunk.js"}(e);var c=new Error;u=function(r){a.onerror=a.onload=null,clearTimeout(l);var t=o[e];if(0!==t){if(t){var n=r&&("load"===r.type?"missing":r.type),u=r&&r.target&&r.target.src;c.message="Loading chunk "+e+" failed.\n("+n+": "+u+")",c.name="ChunkLoadError",c.type=n,c.request=u,t[1](c)}o[e]=void 0}};var l=setTimeout((function(){u({type:"timeout",target:a})}),12e4);a.onerror=a.onload=u,document.head.appendChild(a)}return Promise.all(r)},i.m=e,i.c=n,i.d=function(e,r,t){i.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,r){if(1&r&&(e=i(e)),8&r)return e;if(4&r&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(i.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var n in e)i.d(t,n,function(r){return e[r]}.bind(null,n));return t},i.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(r,"a",r),r},i.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},i.p="/",i.oe=function(e){throw console.error(e),e};var a=this.webpackJsonpcheckin_dcv=this.webpackJsonpcheckin_dcv||[],c=a.push.bind(a);a.push=r,a=a.slice();for(var l=0;l<a.length;l++)r(a[l]);var f=c;t()}([]);
//# sourceMappingURL=runtime-main.22042a8f.js.map
\ No newline at end of file
{"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","1","exports","module","l","e","promises","installedChunkData","promise","Promise","resolve","reject","onScriptComplete","script","document","createElement","charset","timeout","nc","setAttribute","src","p","jsonpScriptSrc","error","Error","event","onerror","onload","clearTimeout","chunk","errorType","type","realSrc","target","message","name","request","undefined","setTimeout","head","appendChild","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","err","console","jsonpArray","this","oldJsonpFunction","slice"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAKlC,IAFGe,GAAqBA,EAAoBhB,GAEtCO,EAASC,QACdD,EAASU,OAATV,GAOD,OAHAW,EAAgBJ,KAAKK,MAAMD,EAAiBb,GAAkB,IAGvDe,IAER,SAASA,IAER,IADA,IAAIC,EACIf,EAAI,EAAGA,EAAIY,EAAgBV,OAAQF,IAAK,CAG/C,IAFA,IAAIgB,EAAiBJ,EAAgBZ,GACjCiB,GAAY,EACRC,EAAI,EAAGA,EAAIF,EAAed,OAAQgB,IAAK,CAC9C,IAAIC,EAAQH,EAAeE,GACG,IAA3BX,EAAgBY,KAAcF,GAAY,GAE3CA,IACFL,EAAgBQ,OAAOpB,IAAK,GAC5Be,EAASM,EAAoBA,EAAoBC,EAAIN,EAAe,KAItE,OAAOD,EAIR,IAAIQ,EAAmB,GAKnBhB,EAAkB,CACrBiB,EAAG,GAGAZ,EAAkB,GAQtB,SAASS,EAAoB1B,GAG5B,GAAG4B,EAAiB5B,GACnB,OAAO4B,EAAiB5B,GAAU8B,QAGnC,IAAIC,EAASH,EAAiB5B,GAAY,CACzCK,EAAGL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,EAAI,IAGxBvB,EAAoBkE,GAAK,SAASC,GAA2B,MAApBC,QAAQ3C,MAAM0C,GAAYA,GAEnE,IAAIE,EAAaC,KAA8B,wBAAIA,KAA8B,yBAAK,GAClFC,EAAmBF,EAAWlF,KAAK2E,KAAKO,GAC5CA,EAAWlF,KAAOf,EAClBiG,EAAaA,EAAWG,QACxB,IAAI,IAAI7F,EAAI,EAAGA,EAAI0F,EAAWxF,OAAQF,IAAKP,EAAqBiG,EAAW1F,IAC3E,IAAIU,EAAsBkF,EAI1B9E,I","file":"static/js/runtime-main.775bbc76.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t1: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"static/js/\" + ({}[chunkId]||chunkId) + \".\" + {\"3\":\"88365e3c\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = this[\"webpackJsonpcheckin_dcv\"] = this[\"webpackJsonpcheckin_dcv\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
{"version":3,"sources":["../webpack/bootstrap"],"names":["webpackJsonpCallback","data","moduleId","chunkId","chunkIds","moreModules","executeModules","i","resolves","length","Object","prototype","hasOwnProperty","call","installedChunks","push","modules","parentJsonpFunction","shift","deferredModules","apply","checkDeferredModules","result","deferredModule","fulfilled","j","depId","splice","__webpack_require__","s","installedModules","1","exports","module","l","e","promises","installedChunkData","promise","Promise","resolve","reject","onScriptComplete","script","document","createElement","charset","timeout","nc","setAttribute","src","p","jsonpScriptSrc","error","Error","event","onerror","onload","clearTimeout","chunk","errorType","type","realSrc","target","message","name","request","undefined","setTimeout","head","appendChild","all","m","c","d","getter","o","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","oe","err","console","jsonpArray","this","oldJsonpFunction","slice"],"mappings":"aACE,SAASA,EAAqBC,GAQ7B,IAPA,IAMIC,EAAUC,EANVC,EAAWH,EAAK,GAChBI,EAAcJ,EAAK,GACnBK,EAAiBL,EAAK,GAIHM,EAAI,EAAGC,EAAW,GACpCD,EAAIH,EAASK,OAAQF,IACzBJ,EAAUC,EAASG,GAChBG,OAAOC,UAAUC,eAAeC,KAAKC,EAAiBX,IAAYW,EAAgBX,IACpFK,EAASO,KAAKD,EAAgBX,GAAS,IAExCW,EAAgBX,GAAW,EAE5B,IAAID,KAAYG,EACZK,OAAOC,UAAUC,eAAeC,KAAKR,EAAaH,KACpDc,EAAQd,GAAYG,EAAYH,IAKlC,IAFGe,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AAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,kBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAK7E,OAAO8E,OAAO,MAGvB,GAFA5D,EAAoBoD,EAAEO,GACtB7E,OAAOmE,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOvD,EAAoB8C,EAAEa,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIR3D,EAAoB+D,EAAI,SAAS1D,GAChC,IAAI0C,EAAS1C,GAAUA,EAAOqD,WAC7B,WAAwB,OAAOrD,EAAgB,SAC/C,WAA8B,OAAOA,GAEtC,OADAL,EAAoB8C,EAAEC,EAAQ,IAAKA,GAC5BA,GAIR/C,EAAoBgD,EAAI,SAASgB,EAAQC,GAAY,OAAOnF,OAAOC,UAAUC,eAAeC,KAAK+E,EAAQC,IAGzGjE,EAAoBuB,EAAI,IAGxBvB,EAAoBkE,GAAK,SAASC,GAA2B,MAApBC,QAAQ3C,MAAM0C,GAAYA,GAEnE,IAAIE,EAAaC,KAA8B,wBAAIA,KAA8B,yBAAK,GAClFC,EAAmBF,EAAWlF,KAAK2E,KAAKO,GAC5CA,EAAWlF,KAAOf,EAClBiG,EAAaA,EAAWG,QACxB,IAAI,IAAI7F,EAAI,EAAGA,EAAI0F,EAAWxF,OAAQF,IAAKP,EAAqBiG,EAAW1F,IAC3E,IAAIU,EAAsBkF,EAI1B9E,I","file":"static/js/runtime-main.22042a8f.js","sourcesContent":[" \t// install a JSONP callback for chunk loading\n \tfunction webpackJsonpCallback(data) {\n \t\tvar chunkIds = data[0];\n \t\tvar moreModules = data[1];\n \t\tvar executeModules = data[2];\n\n \t\t// add \"moreModules\" to the modules object,\n \t\t// then flag all \"chunkIds\" as loaded and fire callback\n \t\tvar moduleId, chunkId, i = 0, resolves = [];\n \t\tfor(;i < chunkIds.length; i++) {\n \t\t\tchunkId = chunkIds[i];\n \t\t\tif(Object.prototype.hasOwnProperty.call(installedChunks, chunkId) && installedChunks[chunkId]) {\n \t\t\t\tresolves.push(installedChunks[chunkId][0]);\n \t\t\t}\n \t\t\tinstalledChunks[chunkId] = 0;\n \t\t}\n \t\tfor(moduleId in moreModules) {\n \t\t\tif(Object.prototype.hasOwnProperty.call(moreModules, moduleId)) {\n \t\t\t\tmodules[moduleId] = moreModules[moduleId];\n \t\t\t}\n \t\t}\n \t\tif(parentJsonpFunction) parentJsonpFunction(data);\n\n \t\twhile(resolves.length) {\n \t\t\tresolves.shift()();\n \t\t}\n\n \t\t// add entry modules from loaded chunk to deferred list\n \t\tdeferredModules.push.apply(deferredModules, executeModules || []);\n\n \t\t// run deferred modules when all chunks ready\n \t\treturn checkDeferredModules();\n \t};\n \tfunction checkDeferredModules() {\n \t\tvar result;\n \t\tfor(var i = 0; i < deferredModules.length; i++) {\n \t\t\tvar deferredModule = deferredModules[i];\n \t\t\tvar fulfilled = true;\n \t\t\tfor(var j = 1; j < deferredModule.length; j++) {\n \t\t\t\tvar depId = deferredModule[j];\n \t\t\t\tif(installedChunks[depId] !== 0) fulfilled = false;\n \t\t\t}\n \t\t\tif(fulfilled) {\n \t\t\t\tdeferredModules.splice(i--, 1);\n \t\t\t\tresult = __webpack_require__(__webpack_require__.s = deferredModule[0]);\n \t\t\t}\n \t\t}\n\n \t\treturn result;\n \t}\n\n \t// The module cache\n \tvar installedModules = {};\n\n \t// object to store loaded and loading chunks\n \t// undefined = chunk not loaded, null = chunk preloaded/prefetched\n \t// Promise = chunk loading, 0 = chunk loaded\n \tvar installedChunks = {\n \t\t1: 0\n \t};\n\n \tvar deferredModules = [];\n\n \t// script path function\n \tfunction jsonpScriptSrc(chunkId) {\n \t\treturn __webpack_require__.p + \"static/js/\" + ({}[chunkId]||chunkId) + \".\" + {\"3\":\"46ba7ee0\"}[chunkId] + \".chunk.js\"\n \t}\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n \t// This file contains only the entry chunk.\n \t// The chunk loading function for additional chunks\n \t__webpack_require__.e = function requireEnsure(chunkId) {\n \t\tvar promises = [];\n\n\n \t\t// JSONP chunk loading for javascript\n\n \t\tvar installedChunkData = installedChunks[chunkId];\n \t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n \t\t\t// a Promise means \"currently loading\".\n \t\t\tif(installedChunkData) {\n \t\t\t\tpromises.push(installedChunkData[2]);\n \t\t\t} else {\n \t\t\t\t// setup Promise in chunk cache\n \t\t\t\tvar promise = new Promise(function(resolve, reject) {\n \t\t\t\t\tinstalledChunkData = installedChunks[chunkId] = [resolve, reject];\n \t\t\t\t});\n \t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n \t\t\t\t// start chunk loading\n \t\t\t\tvar script = document.createElement('script');\n \t\t\t\tvar onScriptComplete;\n\n \t\t\t\tscript.charset = 'utf-8';\n \t\t\t\tscript.timeout = 120;\n \t\t\t\tif (__webpack_require__.nc) {\n \t\t\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n \t\t\t\t}\n \t\t\t\tscript.src = jsonpScriptSrc(chunkId);\n\n \t\t\t\t// create error before stack unwound to get useful stacktrace later\n \t\t\t\tvar error = new Error();\n \t\t\t\tonScriptComplete = function (event) {\n \t\t\t\t\t// avoid mem leaks in IE.\n \t\t\t\t\tscript.onerror = script.onload = null;\n \t\t\t\t\tclearTimeout(timeout);\n \t\t\t\t\tvar chunk = installedChunks[chunkId];\n \t\t\t\t\tif(chunk !== 0) {\n \t\t\t\t\t\tif(chunk) {\n \t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n \t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n \t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n \t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n \t\t\t\t\t\t\terror.type = errorType;\n \t\t\t\t\t\t\terror.request = realSrc;\n \t\t\t\t\t\t\tchunk[1](error);\n \t\t\t\t\t\t}\n \t\t\t\t\t\tinstalledChunks[chunkId] = undefined;\n \t\t\t\t\t}\n \t\t\t\t};\n \t\t\t\tvar timeout = setTimeout(function(){\n \t\t\t\t\tonScriptComplete({ type: 'timeout', target: script });\n \t\t\t\t}, 120000);\n \t\t\t\tscript.onerror = script.onload = onScriptComplete;\n \t\t\t\tdocument.head.appendChild(script);\n \t\t\t}\n \t\t}\n \t\treturn Promise.all(promises);\n \t};\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"/\";\n\n \t// on error function for async loading\n \t__webpack_require__.oe = function(err) { console.error(err); throw err; };\n\n \tvar jsonpArray = this[\"webpackJsonpcheckin_dcv\"] = this[\"webpackJsonpcheckin_dcv\"] || [];\n \tvar oldJsonpFunction = jsonpArray.push.bind(jsonpArray);\n \tjsonpArray.push = webpackJsonpCallback;\n \tjsonpArray = jsonpArray.slice();\n \tfor(var i = 0; i < jsonpArray.length; i++) webpackJsonpCallback(jsonpArray[i]);\n \tvar parentJsonpFunction = oldJsonpFunction;\n\n\n \t// run deferred modules from other chunks\n \tcheckDeferredModules();\n"],"sourceRoot":""}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment