{"version":3,"sources":["webpack:///./src/views/Inloggen.vue?af13","webpack:///./src/views/Inloggen.vue?73dd","webpack:///./src/views/Inloggen.vue?29a5","webpack:///./src/views/Inloggen.vue","webpack:///./src/mixins/requiresAnonymousMixin.ts","webpack:///./src/components/The/TheLanguagePicker.vue?96c5","webpack:///./src/components/The/TheLanguagePicker.vue?0edf","webpack:///./src/components/The/TheLanguagePicker.vue?b6d6","webpack:///./src/components/The/TheLanguagePicker.vue","webpack:///./src/assets/dura/images/logo.png","webpack:///./node_modules/core-js/modules/es7.object.entries.js"],"names":["render","_vm","this","_h","$createElement","_c","_self","attrs","isLoading","staticClass","name","_v","_s","$t","class","isValidated","on","$event","preventDefault","login","directives","rawName","value","expression","domProps","target","composing","username","passwordHidden","Array","isArray","password","_i","$$a","$$el","$$c","checked","$$v","$$i","concat","slice","_q","invertPasswordHidden","$router","push","_e","staticRenderFns","components","LoadingBlock","BasePageMinimal","mixins","requiresAnonymousMixin","data","VUE_APP_BUILD_VENDOR","created","$store","dispatch","computed","isRegistrerenEnabled","getters","getBoolSetting","methods","inloggen","then","response","error","status","text","type","token","intereLoginEnabled","isAdmin","isSuperAdmin","Object","entries","$route","query","isEmpty","path","redirectUrl","catch","x","finally","component","beforeRouteEnter","to","from","next","state","auth","isAuthenticated","languages","length","slot","currentLanguage","_l","language","key","isNlEnabled","isEnEnabled","isFrEnabled","isDeEnabled","getMultiSetting","get","i18n","locale","set","document","title","module","exports","$export","$entries","S","it"],"mappings":"uHAAA,IAAIA,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,oBAAoB,CAACA,EAAG,gBAAgB,CAACE,MAAM,CAAC,QAAUN,EAAIO,YAAY,CAACH,EAAG,MAAM,CAACI,YAAY,QAAQ,CAACJ,EAAG,MAAM,CAACI,YAAY,aAAa,CAACJ,EAAG,cAAc,CAACE,MAAM,CAAC,GAAK,CAAEG,KAA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AKqD,OAAOI,QAAQ2C,gBAAgB,6BAE7CH,YAbQ,WAcN,OAAOjG,KAAKqD,OAAOI,QAAQ2C,gBAAgB,yBAE7CF,YAhBQ,WAiBN,OAAOlG,KAAKqD,OAAOI,QAAQ2C,gBAAgB,wBAE7CD,YAnBQ,WAoBN,OAAOnG,KAAKqD,OAAOI,QAAQ2C,gBAAgB,wBAE7CR,gBAAiB,CACfS,IADe,WAEb,OAAOC,EAAA,KAAKC,QAEdC,IAJe,SAIXpF,GACFkF,EAAA,KAAKC,OAAiBnF,EACtBqF,SAASC,MAAQ1G,KAAKW,GAAG,4BCpD6X,I,YCO1ZsE,EAAY,eACd,EACAnF,EACA8C,GACA,EACA,KACA,WACA,MAIa,OAAAqC,E,8BClBf0B,EAAOC,QAAU,IAA0B,yB,qBCC3C,IAAIC,EAAU,EAAQ,QAClBC,EAAW,EAAQ,OAAR,EAA8B,GAE7CD,EAAQA,EAAQE,EAAG,SAAU,CAC3BvC,QAAS,SAAiBwC,GACxB,OAAOF,EAASE","file":"js/chunk-3dae70e8.57bd1558f0bd05244a2e.js","sourcesContent":["var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('base-page-minimal',[_c('loading-block',{attrs:{\"loading\":_vm.isLoading}},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('router-link',{attrs:{\"to\":{ name: 'Home' }}},[_c('img',{staticClass:\"mx-auto d-block\",attrs:{\"src\":require(\"~vendor/images/logo.png\"),\"height\":\"100\",\"alt\":\"Logo\"}})]),_c('h1',{staticClass:\"h2 mt-2\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"Inloggen.title\"))+\" \")]),_c('form',{class:{ 'was-validated': _vm.isValidated },on:{\"submit\":function($event){$event.preventDefault();return _vm.login()}}},[_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"exampleInputEmail1\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"Inloggen.email_label\"))+\" \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.username),expression:\"username\"}],staticClass:\"form-control\",attrs:{\"id\":\"exampleInputEmail1\",\"type\":\"text\",\"aria-describedby\":\"emailHelp\",\"placeholder\":_vm.$t('Inloggen.email_placeholder'),\"required\":\"\"},domProps:{\"value\":(_vm.username)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.username=$event.target.value}}})]),_c('div',{staticClass:\"form-group\"},[_c('label',{attrs:{\"for\":\"exampleInputPassword1\"}},[_vm._v(\" \"+_vm._s(_vm.$t(\"Inloggen.wachtwoord_label\"))+\" \")]),_c('div',{staticClass:\"input-group\"},[((_vm.passwordHidden ? 'password' : 'text')==='checkbox')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-control\",attrs:{\"id\":\"exampleInputPassword1\",\"placeholder\":_vm.$t('Inloggen.wachtwoord_placeholder'),\"required\":\"\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.password)?_vm._i(_vm.password,null)>-1:(_vm.password)},on:{\"change\":function($event){var $$a=_vm.password,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.password=$$a.concat([$$v]))}else{$$i>-1&&(_vm.password=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.password=$$c}}}}):((_vm.passwordHidden ? 'password' : 'text')==='radio')?_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-control\",attrs:{\"id\":\"exampleInputPassword1\",\"placeholder\":_vm.$t('Inloggen.wachtwoord_placeholder'),\"required\":\"\",\"type\":\"radio\"},domProps:{\"checked\":_vm._q(_vm.password,null)},on:{\"change\":function($event){_vm.password=null}}}):_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.password),expression:\"password\"}],staticClass:\"form-control\",attrs:{\"id\":\"exampleInputPassword1\",\"placeholder\":_vm.$t('Inloggen.wachtwoord_placeholder'),\"required\":\"\",\"type\":_vm.passwordHidden ? 'password' : 'text'},domProps:{\"value\":(_vm.password)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.password=$event.target.value}}}),_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.invertPasswordHidden()}}},[(_vm.passwordHidden)?_c('font-awesome-icon',{attrs:{\"icon\":\"eye\",\"fixed-width\":\"\"}}):_c('font-awesome-icon',{attrs:{\"icon\":\"eye-slash\",\"fixed-width\":\"\"}})],1)])])]),_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"submit\"},on:{\"click\":function($event){_vm.isValidated = true}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"Inloggen.submit\"))+\" \")]),_c('hr'),_c('button',{staticClass:\"btn btn-link\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.$router.push({ name: 'WachtwoordVergeten' })}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"Inloggen.wachtwoord_vergeten\"))+\" \")]),(_vm.isRegistrerenEnabled)?_c('button',{staticClass:\"btn btn-link\",attrs:{\"type\":\"button\"},on:{\"click\":function($event){return _vm.$router.push({ name: 'Registreren' })}}},[_vm._v(\" \"+_vm._s(_vm.$t(\"Inloggen.registreren\"))+\" \")]):_vm._e(),_c('router-link',{staticClass:\"btn btn-link\",attrs:{\"to\":{ name: 'InlogMethode' }}},[_vm._v(\" \"+_vm._s(_vm.$t(\"Inloggen.anders_inloggen\"))+\" \")])],1)],1)])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { apiClient } from \"@/services/api-client\";\nimport { apiClientAd } from \"@/services/api-client-ad\";\nimport { requiresAnonymousMixin } from \"@/mixins/requiresAnonymousMixin\";\nimport BasePageMinimal from \"@/components/Base/BasePageMinimal.vue\";\nimport LoadingBlock from \"@/components/LoadingBlock.vue\";\nimport { mapGetters } from \"vuex\";\n\nexport default {\n name: \"Inloggen\",\n components: { LoadingBlock, BasePageMinimal },\n mixins: [requiresAnonymousMixin],\n data() {\n return {\n username: null,\n password: null,\n isLoading: false,\n VUE_APP_BUILD_VENDOR: process.env.VUE_APP_BUILD_VENDOR,\n isValidated: false,\n passwordHidden: true\n };\n },\n created() {\n this.$store.dispatch(\"initAuthStore\");\n },\n computed: {\n isRegistrerenEnabled() {\n return this.$store.getters.getBoolSetting(\"Registratie_Tonen\");\n },\n ...mapGetters([\"intereLoginEnabled\"])\n },\n methods: {\n login() {\n this.isLoading = true;\n\n apiClient\n .inloggen({\n password: this.password,\n username: this.username\n })\n .then(response => {\n if (!response.error) {\n this.$store.dispatch(\"loginSucceeded\", response.token);\n\n if (!this.intereLoginEnabled) {\n if (\n !this.$store.getters.isAdmin ||\n !this.$store.getters.isSuperAdmin\n ) {\n this.$store.dispatch(\"snackbarAdded\", {\n text: this.$t(\"Inloggen.identityNietToegankelijk\"),\n type: \"danger\"\n });\n this.$store.dispatch(\"logoutRequested\");\n return;\n }\n }\n\n this.$store.dispatch(\"snackbarAdded\", {\n text: this.$t(\"Inloggen.success\"),\n type: \"success\"\n });\n\n if (!Object.entries(this.$route.query).isEmpty()) {\n this.$router.push({ path: this.$route.query.redirectUrl });\n } else {\n this.$router.push({ name: \"Home\" });\n }\n } else {\n if (response.error.status === 422) {\n this.$store.dispatch(\"snackbarAdded\", {\n text: this.$t(\"error.login_credentials\"),\n type: \"danger\"\n });\n return;\n } else if (response.error.status === 429) {\n this.$store.dispatch(\"snackbarAdded\", {\n text: this.$t(\"warning.account_disabled\"),\n type: \"danger\"\n });\n } else if ((response.error.status = 423)) {\n this.$store.dispatch(\"snackbarAdded\", {\n text: this.$t(\"warning.account_blocked\"),\n type: \"danger\"\n });\n }\n }\n })\n .catch(x => {\n this.$store.dispatch(\"snackbarAdded\", {\n text: this.$t(\"error.server_fout\"),\n type: \"danger\"\n });\n })\n .finally(() => {\n this.isLoading = false;\n });\n },\n\n invertPasswordHidden() {\n this.passwordHidden = !this.passwordHidden;\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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Inloggen.vue?vue&type=script&lang=ts&\"; 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/ts-loader/index.js??ref--13-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Inloggen.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Inloggen.vue?vue&type=template&id=96af5f46&scoped=true&\"\nimport script from \"./Inloggen.vue?vue&type=script&lang=ts&\"\nexport * from \"./Inloggen.vue?vue&type=script&lang=ts&\"\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 \"96af5f46\",\n null\n \n)\n\nexport default component.exports","import store from \"@/store/store\";\n\nexport const requiresAnonymousMixin = {\n beforeRouteEnter(to, from, next) {\n if (store.state.auth.isAuthenticated) {\n next({ name: \"Home\" });\n return;\n }\n\n next();\n }\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.languages.length > 1)?_c('b-nav-item-dropdown',[_c('template',{slot:\"button-content\"},[_c('font-awesome-icon',{attrs:{\"icon\":\"globe\"}}),_vm._v(\" \"+_vm._s(_vm.$t((\"TheLanguagePicker.\" + _vm.currentLanguage)))+\" \")],1),_vm._l((_vm.languages),function(language){return [(language !== _vm.currentLanguage)?_c('b-dropdown-item',{key:language,on:{\"click\":function($event){_vm.currentLanguage = language}}},[_vm._v(\" \"+_vm._s(_vm.$t((\"TheLanguagePicker.\" + language)))+\" \")]):_vm._e()]})],2):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { i18n } from \"@/plugins/i18n\";\n\nexport default {\n name: \"TheLanguagePicker\",\n computed: {\n languages() {\n // Explained: http://2ality.com/2017/04/conditional-literal-entries.html\n return [\n ...(this.isNlEnabled ? [\"nl-NL\"] : []),\n ...(this.isEnEnabled ? [\"en-US\"] : []),\n ...(this.isFrEnabled ? [\"fr-FR\"] : []),\n ...(this.isDeEnabled ? [\"de-DE\"] : [])\n ];\n },\n isNlEnabled() {\n return this.$store.getters.getMultiSetting(\"Taal_ZichtbaarNederlands\");\n },\n isEnEnabled() {\n return this.$store.getters.getMultiSetting(\"Taal_ZichtbaarEngels\");\n },\n isFrEnabled() {\n return this.$store.getters.getMultiSetting(\"Taal_ZichtbaarFrans\");\n },\n isDeEnabled() {\n return this.$store.getters.getMultiSetting(\"Taal_ZichtbaarDuits\");\n },\n currentLanguage: {\n get() {\n return i18n.locale;\n },\n set(value) {\n i18n.locale = value;\n document.title = this.$t(\"TheBannerLarge.title\");\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/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheLanguagePicker.vue?vue&type=script&lang=ts&\"; 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/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TheLanguagePicker.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./TheLanguagePicker.vue?vue&type=template&id=2e84ff8e&scoped=true&\"\nimport script from \"./TheLanguagePicker.vue?vue&type=script&lang=ts&\"\nexport * from \"./TheLanguagePicker.vue?vue&type=script&lang=ts&\"\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 \"2e84ff8e\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/logo.f312a827.png\";","// https://github.com/tc39/proposal-object-values-entries\nvar $export = require('./_export');\nvar $entries = require('./_object-to-array')(true);\n\n$export($export.S, 'Object', {\n entries: function entries(it) {\n return $entries(it);\n }\n});\n"],"sourceRoot":""}