{"version":3,"sources":["webpack:///./src/views/Home.vue?1423","webpack:///./src/views/Home.vue?f271","webpack:///./src/views/Home.vue?42b8","webpack:///./src/views/Home.vue?102e","webpack:///./src/views/Home.vue?a0f1"],"names":["_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Home_vue_vue_type_style_index_0_id_f5543d9c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0__","__webpack_require__","_node_modules_mini_css_extract_plugin_dist_loader_js_ref_8_oneOf_1_0_node_modules_css_loader_index_js_ref_8_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_postcss_loader_src_index_js_ref_8_oneOf_1_2_node_modules_sass_loader_lib_loader_js_ref_8_oneOf_1_3_node_modules_cache_loader_dist_cjs_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Home_vue_vue_type_style_index_0_id_f5543d9c_lang_scss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default","n","render","_vm","this","_h","$createElement","_c","_self","attrs","id","staticClass","_m","class","open","resultsOpened","closed","on","click","$event","_v","_s","hideResults","xmlns:xlink","xlink:href","$emit","to","name","params","electionTypeName","nis","_e","suggestionsOpened","toggleSuggestions","href","target","height","favoritesOpened","totalFavorites","_l","favorite","favorites","showSearch","staticRenderFns","Homevue_type_script_lang_ts_Home","_Vue","Home","_this","Object","classCallCheck","MAX_DEFAULT_FAVORITES","settings","HIDE_RESULTS","inherits","createClass","key","value","document","title","$store","getters","console","log","dispatch","JSON","parse","localStorage","getItem","initToggle","verwant","election","naam","election_result_model","electionType","type","MUNICIPALITY","provincieType","$router","push","geolocation","properties","hasFavorites","eventBus","get","sortBy_default","toPairs_default","map","a","keys_default","length","$route","elections","ELECTION_YEAR","vue_property_decorator","__decorate","Homevue_type_script_lang_ts_","views_Homevue_type_script_lang_ts_","component","componentNormalizer","__webpack_exports__"],"mappings":"wGAAA,IAAAA,EAAAC,EAAA,QAAAC,EAAAD,EAAAE,EAAAH,GAAgiBE,EAAG,qECAniB,IAAAE,EAAA,WAA0B,IAAAC,EAAAC,KAAaC,EAAAF,EAAAG,eAA0BC,EAAAJ,EAAAK,MAAAD,IAAAF,EAAwB,OAAAF,EAAA,cAAAI,EAAA,QAAAA,EAAA,OAAgDE,MAAA,CAAOC,GAAA,cAAkB,CAAAH,EAAA,OAAYI,YAAA,aAAwB,CAAAR,EAAAS,GAAA,GAAAT,EAAAS,GAAA,GAAAL,EAAA,MAAAA,EAAA,MAAwCI,YAAA,kBAAAE,MAAA,CAAqCC,KAAAX,EAAAY,cAAAC,QAAAb,EAAAY,gBAAsD,CAAAR,EAAA,KAAUU,GAAA,CAAIC,MAAA,SAAAC,GAAyBhB,EAAAY,eAAAZ,EAAAY,iBAAuC,CAAAZ,EAAAiB,GAAA,6BAAAjB,EAAAkB,GAAAlB,EAAAmB,YAAA,sEAAAf,EAAA,QAAiJI,YAAA,iBAA4B,CAAAJ,EAAA,OAAAA,EAAA,OAAsBE,MAAA,CAAOc,cAAA,+BAAAC,aAAA,gCAAgFrB,EAAAY,gBAAAZ,EAAAmB,YAAAf,EAAA,MAA6DI,YAAA,WAAAM,GAAA,CAA2BC,MAAA,SAAAC,GAAyB,OAAAhB,EAAAsB,MAAA,YAA4B,CAAAlB,EAAA,eAAoBI,YAAA,YAAAF,MAAA,CAA+BiB,GAAA,CAAMC,KAAA,aAAAC,OAAA,CAA8BC,iBAAA,YAAAC,IAAA,YAAgD,CAAA3B,EAAAiB,GAAA,0EAAAjB,EAAA4B,KAAA5B,EAAA,cAAAI,EAAA,MAAyHI,YAAA,qBAAAE,MAAA,CAAwCC,KAAAX,EAAA6B,kBAAAhB,QA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,iBAtE9C,CAAArC,IAAA,mBAAA4B,IAAA,WA0EQ,OAAO/E,KAAKuD,OAAOC,QAAQ,2BA1EnC,CAAAL,IAAA,cAAA4B,IAAA,WA8EQ,OAAO/E,KAAKuD,OAAOC,QAAQ,uBA9EnCd,EAAA,CAAkC+C,EAAA,MAc9BC,EAAA,CADC9C,OAAA6C,EAAA,KAAA7C,CAAM,kHAGN,MAhBgBJ,EAAIkD,EAAA,CADxBD,EAAA,MACoBjD,GAAA,IAAAmD,EAAA,ECxL0WC,EAAA,0BCQ/XC,EAAgBjD,OAAAkD,EAAA,KAAAlD,CACdgD,EACA9F,EACAyC,GACF,EACA,KACA,WACA,MAIewD,EAAA,WAAAF","file":"js/home.324220fc.js","sourcesContent":["import mod from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=style&index=0&id=f5543d9c&lang=scss&scoped=true&\"; export default mod; export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../node_modules/css-loader/index.js??ref--8-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../node_modules/sass-loader/lib/loader.js??ref--8-oneOf-1-3!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Home.vue?vue&type=style&index=0&id=f5543d9c&lang=scss&scoped=true&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.useMobileView)?_c('main',[_c('div',{attrs:{\"id\":\"menu-list\"}},[_c('div',{staticClass:\"navColumn\"},[_vm._m(0),_vm._m(1),_c('ul',[_c('li',{staticClass:\"clickable first\",class:{ open: _vm.resultsOpened, closed: !_vm.resultsOpened}},[_c('a',{on:{\"click\":function($event){_vm.resultsOpened=!_vm.resultsOpened}}},[_vm._v(\"\\n \"+_vm._s(_vm.hideResults? 'Kandidaten' : 'Resultaten')+\" verkiezingen\\n \"),_c('span',{staticClass:\"toggle-button\"},[_c('svg',[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":\"#icon-chevron-down\"}})])])])]),(_vm.resultsOpened && (!_vm.hideResults))?_c('li',{staticClass:\"subitems\",on:{\"click\":function($event){return _vm.$emit('close')}}},[_c('router-link',{staticClass:\"clickable\",attrs:{\"to\":{ name: 'resultpage', params: { electionTypeName: 'parlement', nis: '02000'}}}},[_vm._v(\"\\n Vlaams Parlement\\n \")])],1):_vm._e(),(_vm.resultsOpened)?_c('li',{staticClass:\"subitems clickable\",class:{ open: _vm.suggestionsOpened, closed: !_vm.suggestionsOpened }},[_c('a',{on:{\"click\":function($event){return _vm.toggleSuggestions()}}},[_vm._v(\"\\n Kieskringen (6)\\n \"),_c('span',{staticClass:\"toggle-button\"},[_c('svg',[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":\"#icon-chevron-down\"}})])])])]):_vm._e(),(_vm.suggestionsOpened && _vm.resultsOpened)?_c('li',{staticClass:\"subitems lvl2\",on:{\"click\":function($event){return _vm.$emit('close')}}},[_c('router-link',{staticClass:\"clickable\",attrs:{\"to\":{ name: 'resultpage', params: { electionTypeName: 'kieskring', nis: 11002}}}},[_vm._v(\"\\n Antwerpen\\n \")])],1):_vm._e(),(_vm.suggestionsOpened && _vm.resultsOpened)?_c('li',{staticClass:\"subitems lvl2\",on:{\"click\":function($event){return _vm.$emit('close')}}},[_c('router-link',{staticClass:\"clickable\",attrs:{\"to\":{ name: 'resultpage', params: { electionTypeName: 'kieskring', nis: 21004}}}},[_vm._v(\"\\n Brussel-Hoofdstad\\n \")])],1):_vm._e(),(_vm.suggestionsOpened && _vm.resultsOpened)?_c('li',{staticClass:\"subitems lvl2\",on:{\"click\":function($event){return _vm.$emit('close')}}},[_c('router-link',{staticClass:\"clickable\",attrs:{\"to\":{ name: 'resultpage', params: { electionTypeName: 'kieskring', nis: 71022}}}},[_vm._v(\"\\n Limburg\\n \")])],1):_vm._e(),(_vm.suggestionsOpened && _vm.resultsOpened)?_c('li',{staticClass:\"subitems lvl2\",on:{\"click\":function($event){return _vm.$emit('close')}}},[_c('router-link',{staticClass:\"clickable\",attrs:{\"to\":{ name: 'resultpage', params: { electionTypeName: 'kieskring', nis: 44021}}}},[_vm._v(\"\\n Oost-Vlaanderen\\n \")])],1):_vm._e(),(_vm.suggestionsOpened && _vm.resultsOpened)?_c('li',{staticClass:\"subitems lvl2\",on:{\"click\":function($event){return _vm.$emit('close')}}},[_c('router-link',{staticClass:\"clickable\",attrs:{\"to\":{ name: 'resultpage', params: { electionTypeName: 'kieskring', nis: 24062}}}},[_vm._v(\"\\n Vlaams-Brabant\\n \")])],1):_vm._e(),(_vm.suggestionsOpened && _vm.resultsOpened)?_c('li',{staticClass:\"subitems lvl2\",on:{\"click\":function($event){return _vm.$emit('close')}}},[_c('router-link',{staticClass:\"clickable\",attrs:{\"to\":{ name: 'resultpage', params: { electionTypeName: 'kieskring', nis: 31005}}}},[_vm._v(\"\\n West-Vlaanderen\\n \")])],1):_vm._e(),(_vm.resultsOpened)?_c('li',{staticClass:\"subitems\"},[_c('a',{staticClass:\"clickable\",attrs:{\"href\":\"https://verkiezingen2019.belgium.be/nl/verkiezingen?el=CK\",\"target\":\"_blank\"}},[_vm._v(\"\\n Federale verkiezingen\\n \"),_c('svg',{attrs:{\"height\":\"14\"}},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":\"#icon-external\"}})])])]):_vm._e(),(_vm.resultsOpened)?_c('li',{staticClass:\"subitems\"},[_c('a',{staticClass:\"clickable\",attrs:{\"href\":\"https://verkiezingen2019.belgium.be/nl/verkiezingen?el=EU\",\"target\":\"_blank\"}},[_vm._v(\"\\n Europese verkiezingen\\n \"),_c('svg',{attrs:{\"height\":\"14\"}},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":\"#icon-external\"}})])])]):_vm._e()]),(_vm.hasFavorites)?_c('ul',[_c('li',{staticClass:\"clickable\",class:{ open: _vm.favoritesOpened, closed: !_vm.favoritesOpened}},[_c('a',{on:{\"click\":function($event){_vm.favoritesOpened=!_vm.favoritesOpened}}},[_vm._v(\"\\n Favorieten (\"+_vm._s(this.totalFavorites)+\")\\n \"),_c('span',{staticClass:\"toggle-button\"},[_c('svg',[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":\"#icon-chevron-down\"}})])])])]),(_vm.favoritesOpened)?_vm._l((_vm.favoriteKeys),function(favorite){return _c('li',{staticClass:\"subitems\"},[_c('router-link',{staticClass:\"clickable\",attrs:{\"to\":favorite}},[_c('svg',{staticClass:\"favorite\"},[_c('use',{attrs:{\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xlink:href\":\"#star\"}})]),_vm._v(\"\\n\\n \"+_vm._s(_vm.favorites[favorite])+\"\\n \")])],1)}):_vm._e()],2):_vm._e(),_vm._m(2)])])]):_c('div',{attrs:{\"id\":\"intro\"}},[_c('section',[_vm._m(3),_vm._m(4),_c('p',[_c('strong',[_vm._v(\"Hoe raadplegen?\")]),_c('ul',[_c('li',[_c('strong',[_c('a',{attrs:{\"href\":\"#\"},on:{\"click\":function($event){return _vm.showSearch()}}},[_vm._v(\"Zoek in het zoekvenster bovenaan\")])]),_vm._v(\"\\n op de achternaam van de kandidaat, de naam van de gemeente, kanton of kieskring, of de postcode van de gemeente.\\n \")]),_c('li',[_vm._v(\"\\n Klik op de kaart of het menu rechts.\\n \")])])]),_c('p',[_vm._v(\"Selecteer je favoriete gemeente/kanton/kieskring door op het sterretje te klikken.\")]),_vm._m(5)])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',[_c('li',{staticClass:\"spacer\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',{staticClass:\"mobile_intro\"},[_vm._v(\"\\n Welkom op vlaanderenkiest.be, dé website met \"),_c('a',{attrs:{\"href\":\"https://vlaanderenkiest.be/faq/welke-info-is-er-te-vinden-op-vlaanderenkiestbe\",\"target\":\"_blank\"}},[_vm._v(\"alle info\")]),_vm._v(\" over de verkiezingen van het Vlaams Parlement 2019.\\n \")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('ul',[_c('li',[_c('a',{staticClass:\"clickable\",attrs:{\"href\":\"https://vlaanderenkiest.be/faq\",\"target\":\"_blank\"}},[_vm._v(\"Veelgestelde vragen\")])]),_c('li',[_c('a',{staticClass:\"clickable\",attrs:{\"href\":\"https://vlaanderenkiest.be/\",\"target\":\"_blank\"}},[_vm._v(\"Meer info\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_c('strong',[_vm._v(\"Welkom op vlaanderenkiest.be, dé website met \"),_c('a',{attrs:{\"href\":\"https://vlaanderenkiest.be/faq/welke-info-is-er-te-vinden-op-vlaanderenkiestbe\",\"target\":\"_blank\"}},[_vm._v(\"alle info\")]),_vm._v(\" over de verkiezingen van het Vlaams Parlement 2019.\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_vm._v(\"Bekijk hier de resultaten van de verkiezingen van het Vlaams Parlement op 26 mei 2019 in Vlaanderen en Brussel.\"),_c('br'),_vm._v(\"\\n De verkozenen en zetelverdeling verschijnen zodra de resultaten volledig zijn.\")])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('p',[_vm._v(\"\\n Interesse in \"),_c('strong',[_vm._v(\"andere verkiezingen op 26 mei\")]),_vm._v(\"?\"),_c('br'),_vm._v(\"\\n Klik in het menu rechts voor de resultaten van de federale en Europese verkiezingen.\\n \")])}]\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\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 {Component, Vue, Watch} from \"vue-property-decorator\";\nimport {ELECTION_NAMES, ELECTION_TYPE_TO_NAME, ELECTION_TYPES, Verwant} from \"../models/election.result.model\";\nimport toPairs from \"lodash/toPairs\";\nimport sortBy from \"lodash/sortBy\";\nimport {Settings} from \"../shared/settings\";\nimport {RawLocation} from \"vue-router\";\nimport {EventBus} from \"../eventBus\";\n\n@Component\nexport default class Home extends Vue {\n\n private MAX_DEFAULT_FAVORITES: number = 5; // will show at startup if below this treshold\n\n public favoritesOpened: boolean = false;\n public suggestionsOpened: boolean = false;\n public resultsOpened: boolean = true;\n private hideResults = Settings.HIDE_RESULTS;\n\n get title() {\n return this.$store.getters[\"current/pageTitle\"] || \"\";\n }\n\n @Watch(\"title\")\n public changed() {\n document.title = this.$store.getters[\"current/pageTitle\"];\n }\n\n public nop() {\n console.log(\"scrolling \");\n }\n\n public async mounted() {\n document.title = this.$store.getters[\"current/pageTitle\"];\n await this.$store.dispatch(\"current/setFavorites\", JSON.parse(localStorage.getItem(\"favorites\") || \"{}\"));\n this.initToggle();\n }\n\n public toggleSuggestions() {\n this.suggestionsOpened = !this.suggestionsOpened;\n }\n\n public isNotCurrent(verwant: Verwant): boolean {\n return this.election.naam !== verwant.naam || this.electionTypeName !== ELECTION_TYPE_TO_NAME[verwant.electionType] || this.nis !== verwant.nis;\n }\n\n public get favorites(): { [path: string]: string } {\n return this.$store.getters[\"current/favorites\"];\n }\n\n // noinspection JSUnusedLocalSymbols\n private get favoriteKeys(): string[] {\n return sortBy(toPairs(this.favorites), 1).map((a: any) => <string>a[0]);\n }\n\n public get hasFavorites() {\n return this.totalFavorites > 0;\n }\n\n public get totalFavorites(): number {\n return (this.favorites) ? Object.keys(this.favorites).length : 0;\n }\n\n public get nis(): string {\n return this.$route.params[\"nis\"];\n }\n\n public get electionTypeName(): string {\n return this.$route.params[\"electionTypeName\"];\n }\n\n public get useMobileView(): boolean {\n return this.$store.getters[\"current/useMobileView\"];\n }\n\n public get elections() {\n return this.$store.getters[\"current/elections\"];\n }\n\n public get election() {\n return (<any>this.elections)[Settings.ELECTION_YEAR];\n }\n\n get geolocationError(): string {\n return this.$store.getters[\"map/geolocation_error\"];\n }\n\n public get geolocation(): any {\n return this.$store.getters[\"map/geolocation\"];\n }\n\n public async loadGeolocation() {\n await this.$store.dispatch(\"map/load_geolocation\", {\n type: ELECTION_TYPES.MUNICIPALITY, // always use gemeente lookup\n provincieType: \"\"\n });\n this.$router.push(<RawLocation>{\n name: \"resultpage\",\n params: {electionTypeName: ELECTION_NAMES.MUNICIPALITY, nis: this.geolocation.properties.n}\n });\n }\n\n private initToggle() {\n this.favoritesOpened = this.hasFavorites\n && this.totalFavorites <= this.MAX_DEFAULT_FAVORITES;\n }\n\n private showSearch() {\n EventBus.$emit(\"showSearch\");\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!./Home.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!./Home.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Home.vue?vue&type=template&id=f5543d9c&scoped=true&\"\nimport script from \"./Home.vue?vue&type=script&lang=ts&\"\nexport * from \"./Home.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Home.vue?vue&type=style&index=0&id=f5543d9c&lang=scss&scoped=true&\"\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 \"f5543d9c\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}