{"version":3,"sources":["webpack:///./node_modules/core-js/modules/es.string.includes.js","webpack:///./src/views/Login.vue?f5f3","webpack:///./src/views/Login.vue?3348","webpack:///./src/views/Login.vue","webpack:///src/views/Login.vue","webpack:///./src/views/Login.vue?5d79","webpack:///./src/views/Login.vue?24a5","webpack:///./node_modules/core-js/modules/es.array.includes.js"],"names":["$","uncurryThis","notARegExp","requireObjectCoercible","toString","correctIsRegExpLogic","stringIndexOf","indexOf","target","proto","forced","includes","searchString","this","arguments","length","undefined","render","_vm","_c","_self","staticClass","_m","directives","name","rawName","value","email","expression","attrs","domProps","on","$event","type","_k","keyCode","key","signIn","apply","checkAnimation","emailFocus","composing","emailEmpty","_v","password","passwordFocus","passwordEmpty","autofilled","signInError","_s","staticRenderFns","staticStyle","data","methods","e","actionName","animationName","_this","signInCall","userid","then","accessRights","store","user","signInGoTo","$router","push","catch","err","message","startsWith","computed","trim","created","_this2","$route","matched","some","record","meta","requiresAuth","replace","watch","val","component","$includes","fails","addToUnscopables","BROKEN_ON_SPARSE","Array","el"],"mappings":"yIACA,IAAIA,EAAI,EAAQ,QACZC,EAAc,EAAQ,QACtBC,EAAa,EAAQ,QACrBC,EAAyB,EAAQ,QACjCC,EAAW,EAAQ,QACnBC,EAAuB,EAAQ,QAE/BC,EAAgBL,EAAY,GAAGM,SAInCP,EAAE,CAAEQ,OAAQ,SAAUC,OAAO,EAAMC,QAASL,EAAqB,aAAe,CAC9EM,SAAU,SAAkBC,GAC1B,SAAUN,EACRF,EAASD,EAAuBU,OAChCT,EAASF,EAAWU,IACpBE,UAAUC,OAAS,EAAID,UAAU,QAAKE,O,2DCjB5C,W,oCCAA,W,yCCAA,IAAIC,EAAS,WAAkB,IAAIC,EAAIL,KAAKM,EAAGD,EAAIE,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,8BAA8B,CAACH,EAAII,GAAG,GAAGJ,EAAII,GAAG,GAAGH,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,M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AAAR,GACAU,OAAAC,KAAAX,EACAU,OAAAE,YACAP,EAAAQ,QAAAC,KAAA,oBACAJ,OAAAE,WAAA,IAEAP,EAAAQ,QAAAC,KAAA,0BAIAC,OAAA,SAAAC,GACAA,EAAAC,QAAAC,WAAA,sBACAb,EAAAT,YAAA,gDAGAS,EAAAT,YAAAoB,EAAAC,aAIAE,SAAA,CACA7B,WAAA,WACA,YAAAf,OAAA,SAAAA,MAAA6C,OAAAzD,QAEA+B,cAAA,WACA,YAAAF,UAAA,SAAAA,SAAA4B,OAAAzD,QAEAgD,KAAA,WACA,OAAAD,OAAAC,OAGAU,QAAA,eAAAC,EAAA,KACAb,iBACAD,MAAA,SAAAR,GACAU,OAAAC,KAAAX,EACAsB,EAAAT,QAAAC,KAAA,uBAEAC,OAAA,WACAO,EAAAC,OAAAC,QAAAC,MAAA,SAAAC,GAAA,OAAAA,EAAAC,KAAAC,iBACAN,EAAAT,QAAAgB,QAAA,eAIAC,MAAA,CACAnC,WAAA,SAAAoC,GACAA,IACA,KAAAxD,MAAA,QACA,KAAAiB,SAAA,eCvO+U,I,kCCS3UwC,EAAY,eACd,EACAnE,EACAiC,GACA,EACA,KACA,WACA,MAIa,aAAAkC,E,2CCnBf,IAAIpF,EAAI,EAAQ,QACZqF,EAAY,EAAQ,QAA+B1E,SACnD2E,EAAQ,EAAQ,QAChBC,EAAmB,EAAQ,QAG3BC,EAAmBF,GAAM,WAE3B,OAAQG,MAAM,GAAG9E,cAKnBX,EAAE,CAAEQ,OAAQ,QAASC,OAAO,EAAMC,OAAQ8E,GAAoB,CAC5D7E,SAAU,SAAkB+E,GAC1B,OAAOL,EAAUxE,KAAM6E,EAAI5E,UAAUC,OAAS,EAAID,UAAU,QAAKE,MAKrEuE,EAAiB","file":"js/chunk-a94c1240.986f4507.js","sourcesContent":["'use strict';\nvar $ = require('../internals/export');\nvar uncurryThis = require('../internals/function-uncurry-this');\nvar notARegExp = require('../internals/not-a-regexp');\nvar requireObjectCoercible = require('../internals/require-object-coercible');\nvar toString = require('../internals/to-string');\nvar correctIsRegExpLogic = require('../internals/correct-is-regexp-logic');\n\nvar stringIndexOf = uncurryThis(''.indexOf);\n\n// `String.prototype.includes` method\n// https://tc39.es/ecma262/#sec-string.prototype.includes\n$({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {\n includes: function includes(searchString /* , position = 0 */) {\n return !!~stringIndexOf(\n toString(requireObjectCoercible(this)),\n toString(notARegExp(searchString)),\n arguments.length > 1 ? arguments[1] : undefined\n );\n }\n});\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=style&index=1&id=ce7fc92e&prod&lang=css&\"","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=style&index=2&id=ce7fc92e&prod&lang=css&\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"flex flex-col items-center\"},[_vm._m(0),_vm._m(1),_c('div',{staticClass:\"max-w-5xl w-full\"},[_c('div',{staticClass:\"p-4 mb-20 mt-10\"},[_c('form',{staticClass:\"flex flex-col bg-white px-8 pt-5 pb-4 sm:p-6 sm:pb-4 md:w-128 w-96 mx-auto\"},[_c('div',{staticClass:\"py-2 px-4\"},[_vm._m(2),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],staticClass:\"mt-1 form-input block w-full py-2 px-3 border border-gray-400 shadow-sm focus:outline-none focus:shadow-outline-blue focus:border-blue-400 hover:border-gray-500 transition duration-150 ease-in-out sm:text-sm sm:leading-5 bg-gray-100\",attrs:{\"type\":\"email\",\"autocomplete\":\"email\",\"id\":\"email\",\"name\":\"email\",\"required\":\"true\"},domProps:{\"value\":(_vm.email)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.signIn.apply(null, arguments)},\"animationstart\":_vm.checkAnimation,\"focus\":_vm.emailFocus,\"input\":function($event){if($event.target.composing)return;_vm.email=$event.target.value}}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.emailEmpty),expression:\"emailEmpty\"}],staticClass:\"pt-1 text-xs text-red-600\"},[_vm._v(\" Please enter email address \")])]),_c('div',{staticClass:\"py-2 px-4\"},[_vm._m(3),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"mt-1 form-input block w-full py-2 px-3 border border-gray-400 shadow-sm focus:outline-none focus:shadow-outline-blue focus:border-blue-400 hover:border-gray-500 transition duration-150 ease-in-out sm:text-sm sm:leading-5 bg-gray-100\",attrs:{\"id\":\"password\",\"type\":\"password\"},domProps:{\"value\":(_vm.password)},on:{\"keyup\":function($event){if(!$event.type.indexOf('key')&&_vm._k($event.keyCode,\"enter\",13,$event.key,\"Enter\"))return null;return _vm.signIn.apply(null, arguments)},\"focus\":_vm.passwordFocus,\"input\":function($event){if($event.target.composing)return;_vm.password=$event.target.value}}}),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.passwordEmpty),expression:\"passwordEmpty\"}],staticClass:\"pt-1 text-xs text-red-600\"},[_vm._v(\" Please enter your password \")])]),_c('div',{staticClass:\"pb-2 px-4\"},[_c('a',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.autofilled),expression:\"!autofilled\"}],staticClass:\"text-xs underline text-gray-700\",attrs:{\"href\":\"/sign/forget\"}},[_vm._v(\" Forget Password? \")])]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.signInError),expression:\"signInError\"}],staticClass:\"px-4 text-red-600 text-sm\"},[(_vm.signInError == 'max attempt')?_c('span',[_vm._v(\" You’ve reached the maximum logon attempts. Your account has been locked. Please contact (65) 6235 2852 for more information. \")]):_c('span',[_vm._v(\" \"+_vm._s(_vm.signInError)+\" \")])]),_c('button',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.emailEmpty && !_vm.passwordEmpty),expression:\"!emailEmpty && !passwordEmpty\"}],staticClass:\"mx-4 mt-4 mb-4 justify-center py-2 px-4 border border-transparent text-sm leading-5 font-medium text-white bg-red-600 hover:bg-red-500 focus:outline-none focus:border-red-700 focus:shadow-outline-red active:bg-red-700 transition duration-150 ease-in-out\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.signIn()}}},[_vm._v(\" Log in \")]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.emailEmpty || _vm.passwordEmpty),expression:\"emailEmpty || passwordEmpty\"}],staticClass:\"mx-4 mt-4 mb-4 justify-center text-center py-2 px-4 border border-transparent text-sm leading-5 font-medium text-white bg-gray-600 hover:bg-gray-500 focus:outline-none focus:border-gray-700 focus:shadow-outline-gray active:bg-gray-700 transition duration-150 ease-in-out\"},[_vm._v(\" Please fill-in email & password \")])])])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"relative overflow-hidden bg-cover bg-no-repeat w-full hero-bg h-56\"},[_c('div',{staticClass:\"absolute bottom-0 left-0 right-0 top-0 h-full w-full overflow-hidden bg-fixed\",staticStyle:{\"background-color\":\"rgba(255, 255, 255, 0.15)\"}})])\n},function (){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"flex h-full items-center justify-start m-auto max-w-7xl\"},[_c('div',{staticClass:\"relative -mt-16 px-2 py-4\"},[_c('div',{staticClass:\"w-96 block rounded bg-white p-6 dark:bg-neutral-700 multi-shadow\"},[_c('h1',{staticClass:\"font-semibold text-2xl p-4\"},[_vm._v(\"Member Login\")])])])])])\n},function (){var _vm=this,_c=_vm._self._c;return _c('label',{staticClass:\"block text-sm font-normal leading-5 text-gray-700\",attrs:{\"for\":\"email\"}},[_c('span',{staticClass:\"text-red-600\"},[_vm._v(\"*\")]),_vm._v(\" Email\")])\n},function (){var _vm=this,_c=_vm._self._c;return _c('label',{staticClass:\"block text-sm font-normal leading-5 text-gray-700\",attrs:{\"for\":\"password\"}},[_c('span',{staticClass:\"text-red-600\"},[_vm._v(\"*\")]),_vm._v(\" Password\")])\n}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Login.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Login.vue?vue&type=template&id=ce7fc92e&scoped=true&\"\nimport script from \"./Login.vue?vue&type=script&lang=js&\"\nexport * from \"./Login.vue?vue&type=script&lang=js&\"\nimport style1 from \"./Login.vue?vue&type=style&index=1&id=ce7fc92e&prod&lang=css&\"\nimport style2 from \"./Login.vue?vue&type=style&index=2&id=ce7fc92e&prod&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"ce7fc92e\",\n null\n \n)\n\nexport default component.exports","'use strict';\nvar $ = require('../internals/export');\nvar $includes = require('../internals/array-includes').includes;\nvar fails = require('../internals/fails');\nvar addToUnscopables = require('../internals/add-to-unscopables');\n\n// FF99+ bug\nvar BROKEN_ON_SPARSE = fails(function () {\n // eslint-disable-next-line es/no-array-prototype-includes -- detection\n return !Array(1).includes();\n});\n\n// `Array.prototype.includes` method\n// https://tc39.es/ecma262/#sec-array.prototype.includes\n$({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {\n includes: function includes(el /* , fromIndex = 0 */) {\n return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n }\n});\n\n// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables\naddToUnscopables('includes');\n"],"sourceRoot":""}