{"version":3,"sources":["helpers/ModelDataChart.js","helpers/ConfigChart.js","helpers/Reducers/setFieldData.js","helpers/CountData.js","helpers/Reducers/setGroupData.js","helpers/index.js","pages-component/LeafetMaps/index.js","pages-component/HighLightKependudukan/index.js","pages-component/SkeletonLoading/PieChart/index.js","pages-component/SkeletonLoading/BarChart/index.js","pages-component/ApexChart/index.js","pages-component/ModelViewChartBar/index.js","pages-component/ApexChart/ViewApexChart.js","pages-component/index.js","assets/images/index.js","config/routes.js","helpers/SeriesChart/HorizontalBarChart.js","helpers/SeriesChart/VertikalBarChart.js","helpers/SeriesChart/PieChart.js","helpers/SeriesChart/index.js","helpers/OptionChart/HorizontalBarChart.js","helpers/OptionChart/VertikalBarChart.js","helpers/OptionChart/PieChart.js","helpers/OptionChart/index.js","pages-user/Dashboard/index.js","assets/images/landing-pages/section-4/hp-tengah.png","assets/images/landing-pages/section-4/hp-kiri.png","assets/images/landing-pages/section-4/pusdatin.svg","assets/images/landing-pages/section-4/dppapp.svg","assets/images/landing-pages/section-4/tp-pkk.svg","assets/images/dashboard-pendataan/logo-pusdatin-putih.png","assets/images/dashboard-pendataan/logo-carik.svg","assets/images/dashboard-pendataan/logo-sim-pkk.svg","assets/images/dashboard-pendataan/logo-sim-pkk-header.svg","assets/images/dashboard-pendataan/logo-sim-pkk-white.svg","assets/images/topik-data/pancasila.svg","assets/images/topik-data/gotong-royong.svg","assets/images/topik-data/pangan.svg","assets/images/topik-data/sandang.svg","assets/images/topik-data/rumah-tangga.svg","assets/images/topik-data/pendidikan-keterampilan.svg","assets/images/topik-data/kesehatan.svg","assets/images/topik-data/koperasi.svg","assets/images/topik-data/lingkungan.svg","assets/images/topik-data/perencanaan-sehat.svg","assets/images/topik-data/kependudukan.svg","assets/images/landing-pages/logo-wilayah/KS.svg","assets/images/landing-pages/logo-wilayah/JP.svg","assets/images/landing-pages/logo-wilayah/JB.svg","assets/images/landing-pages/logo-wilayah/JS.svg","assets/images/landing-pages/logo-wilayah/JT.svg","assets/images/landing-pages/logo-wilayah/JU.svg","assets/images/icon-pendataan/icon-kelompok.svg","assets/images/icon-pendataan/icon-bangunan.svg","assets/images/icon-pendataan/icon-krt.svg","assets/images/icon-pendataan/icon-keluarga.svg","assets/images/icon-pendataan/icon-individu.svg","assets/images/dashboard-pendataan/sample-image-dashboard.jpg","assets/images/landing-pages/ss-aplikasi-front.svg","assets/images/landing-pages/ss-aplikasi-back.svg","assets/images/components/loading-io.svg","layout-components/ReactMetismenuRouterLink/index.js","assets/icon/carik-jakarta.png","reducers/ThemeOptions.js","config/Wilayah/index.js","reducers/Action.js","config/endPoint.js","config/Services/index.js","reducers/ReducersKependudukan/DataPenduduk/index.js","reducers/ReducersKependudukan/DataAgama/index.js","reducers/ReducersKependudukan/DataPernikahan/index.js","reducers/ReducersKependudukan/DataPekerjaan/index.js","reducers/ReducersKependudukan/DataPiramidaPenduduk/index.js","reducers/ReducersKependudukan/DataBalita/index.js","reducers/ReducersKependudukan/DataLansia/index.js","reducers/ReducersKependudukan/DataAktaWarga/index.js","reducers/ReducersPendidikan/DataPutusSekolah/index.js","reducers/ReducersKesehatan/DataBumil/index.js","reducers/ReducersKesehatan/DataDisabilitas/index.js","reducers/ReducersKesehatan/DataHivTb/index.js","reducers/ReducersKesehatan/DataKankerPerempuan/index.js","reducers/ReducersKesehatan/DataKesehatanBayi/index.js","reducers/ReducersKontrasepsi/DataPusWus/index.js","reducers/ReducersKontrasepsi/DataKesehatanMsy/index.js","reducers/ReducersLingkungan/DataLingkunganRawan/index.js","reducers/ReducersPerumahan/DataPengolahanSampah/index.js","reducers/ReducersPerumahan/DataRumahPtpLahan/index.js","reducers/ReducersPerumahan/DataRumahPtpPerikanan/index.js","reducers/ReducersPerumahan/DataRumahPtpPeternakan/index.js","reducers/ReducersPerumahan/DataRumahSehat/index.js","reducers/ReducersPerumahan/DataRumahUp2kIndustri/index.js","reducers/ReducersPerumahan/DataSumberAir/index.js","reducers/ReducersPkk/DataKader/index.js","reducers/ReducersPkk/DataWargaAktif/index.js","reducers/ReducersProgramPemerintah/DataProgramPemerintah/index.js","reducers/ReducersVariabel/InitialState.js","reducers/ReducersVariabel/Fetch.js","reducers/ReducersAuth/InitialState.js","config/endpoint.services.js","reducers/ReducersMessage/Reducers.js","reducers/ReducersMessage/Fetch.js","reducers/TypeAction.js","config/Services/auth.service.js","reducers/ReducersAuth/Fetch.js","reducers/index.js","reducers/ReducersKota/index.js","reducers/ReducersKecamatan/index.js","reducers/ReducersKelurahan/index.js","reducers/ReducersVariabel/Reducers.js","reducers/ReducersAuth/Reducers.js","config/configureStore.js","layout-components/HeaderUserbox/index.js","layout-components/Header/index.js","layout-components/HeaderLanding/index.js","layout-components/MegaMenu/index.js","layout-components/HeaderDashboardPublic/index.js","layout-components/SidebarPro/index.js","layout-components/HeaderUserLogin/index.js","layout-components/LogoInstansi/index.js","layout-components/HeaderTopikData/index.js","layout-components/Sidebar/index.js","layout-components/Topbar/index.js","layout-components/SidebarHeader/index.js","layout-components/SidebarMaps/index.js","layout-components/PageTitle/index.js","layout-components/Footer/index.js","layout/LandingLayout/index.js","layout-components/ExampleWrapperSimple/index.js","layout-components/ExampleWrapperSeamless/index.js","layout-components/ExampleWrapperContainer/index.js","layout/LeftSidebar/index.js","layout/DashboardPublicLayout/index.js","layout/GrafikLayout/index.js","pages-public/TopikDataPublik/Kependudukan/Penduduk/index.js","pages-public/TopikDataPublik/Kependudukan/Agama/index.js","pages-public/TopikDataPublik/Kependudukan/TidakBekerja/index.js","pages-public/TopikDataPublik/Kependudukan/Piramida/index.js","pages-public/TopikDataPublik/Kependudukan/Balita/index.js","pages-public/TopikDataPublik/Kependudukan/Lansia/index.js","pages-public/TopikDataPublik/Kependudukan/index.js","pages-public/TopikDataPublik/ModelViewChart/index.js","pages-public/TopikDataPublik/PenghayatanDanPengamalanPancasila/index.js","pages-public/TopikDataPublik/GotongRoyong/index.js","pages-public/TopikDataPublik/Pangan/index.js","pages-public/TopikDataPublik/Sandang/index.js","pages-public/TopikDataPublik/PerumahanDanTataLaksanaRumahTangga/index.js","pages-public/TopikDataPublik/PendidikanDanKeterampilan/index.js","pages-public/TopikDataPublik/Kesehatan/index.js","pages-public/TopikDataPublik/PengembanganKehidupanBerkoperasi/index.js","pages-public/TopikDataPublik/KelestarianLingkunganHidup/index.js","pages-component/SweetAlert/index.js","pages-public/LoginDashboard/index.js","pages-public/PetaSebaran/index.js","layout/PetaSebaranLayout/index.js","layout/UserLayout/index.js","pages-user/PengajuanData/index.js","config/indikator-kependudukan.js","pages-user/Analisa/Kependudukan/index.js","Routes.js","utils/ScrollToTop.js","App.js","serviceWorker.js","index.js"],"names":["ModelBarChart","state","action","tmpBarChart","Object","keys","master","length","map","key0","index","includes","tmpXValue","tmpYValue","payload","key","push","replace","label","CapitalizeEachWord","categories","xValue","yValue","description","ModelPiramida","data","series","labels","seriesMales","seriesFemales","tmpCategories","undefined","i","tmp","CharacterRemove","name","reverse","configBarChart","props","optionsHorizontal","title","text","dataLabels","enabled","formatter","val","NumberSeparator","style","fontSize","colors","plotOptions","bar","horizontal","isHorizontal","borderRadius","xaxis","optionsVertical","chart","height","type","position","offsetY","axisBorder","show","axisTicks","crosshairs","fill","gradient","colorFrom","colorTo","stops","opacityFrom","opacityTo","tooltip","yaxis","options","configPieChart","width","pie","startAngle","endAngle","donut","legend","opts","w","globals","seriesIndex","responsive","breakpoint","configBarNegativeValue","stacked","barHeight","stroke","grid","lines","min","Math","max","shared","x","y","abs","round","SetFieldData","tmpField","tmpFieldReactSelect","value","count","prop","total","arr","reduce","currentValue","obj","groupBy","array","field","result","toString","str","find","split","word","toUpperCase","substring","join","LeaftletMaps","useSelector","ReducersKota","ReducersKecamatan","ReducersKelurahan","useState","polygonMapChild","setPolygonMapChild","objectNamaWilayah","setObjectNamaWilayah","setPosition","mapZoom","setMapZoom","getPolygonMapChild","params","filterPolygonMapChild","kodeWilayah","childWilayah","features","filter","properties","labelKode","useEffect","mapSelectedKotaId","filterPolygonParent","provGeoJSON","KDPKAB","centroid","geometry","coordinates","mapSelectedKecamatanId","mapSelectedKelurahanId","mapSelectedKelurahanLabel","Map","center","zoom","className","scrollWheelZoom","TileLayer","url","attribution","GeoJSON","onEachFeature","layer","namaWilayah","bindPopup","bindTooltip","sticky","on","click","e","console","log","mousehover","fillOpacity","random","fillColor","color","onEachFeatureChild","HighLightKependudukan","Row","Col","lg","md","Card","CardHeader","CardBody","CardFooter","icon","Form","FormGroup","row","Label","for","Input","id","minWidth","minHeight","to","Button","PieChart","numberLegend","rx","ry","cx","cy","r","BarChart","ApexChart","config","sm","loadingView","ModelViewChartBar","ReducersMaster","ReducersPayload","ReducersParams","Kota","setKota","statusFieldInit","setStatusFieldInit","variabel","setVariabel","variabelPertama","setVariabelPertama","setLabels","setSeries","refVarPertama","useRef","refLabels","refSeries","jumlahPerkota","jumlahProvinsi","jumlah_penduduk","fieldReactSelected","tmpLabel","tmpSeries","tmpVariabelPertama","isError","placeholder","defaultValue","isClearable","isRtl","isSearchable","kota","onChange","current","isMulti","reactSelected","xl","ViewApexChart","Dashboard","React","lazy","routes","path","exact","status","component","children","routesNavTopPublic","IconPancasila","IconGotongRoyong","IconPangan","IconSandang","IconRumahTangga","IconPendidikanKeterampilan","IconKesehatan","IconKoperasi","IconLingkungan","IconKependudukan","routesManajemenMenu","externalUrl","isDisabled","routesMonirotingMenu","SeriesHorizontalBarChart","SeriesVertikalBarChart","SeriesPieChart","OptionsHorizontalBarChart","OptionsVertikalBarChart","OptionsPieChart","module","exports","defineProperty","_createClass","defineProperties","target","descriptor","enumerable","configurable","writable","Constructor","protoProps","staticProps","prototype","_react2","_interopRequireDefault","require","_propTypes2","_reactRouterDom","_reactRouter","_classnames2","__esModule","default","_classCallCheck","instance","TypeError","_possibleConstructorReturn","self","call","ReferenceError","RouterLink","_React$Component","this","__proto__","getPrototypeOf","apply","arguments","subClass","superClass","create","constructor","setPrototypeOf","_inherits","history","listen","onLocationChange","bind","location","pathname","activateMe","_props","classNameActive","classNameHasActiveChild","active","hasActiveChild","externalLink","hasSubMenu","toggleSubMenu","createElement","href","onClick","Link","Component","propTypes","string","isRequired","bool","func","oneOfType","element","object","withRouter","setSidebarToggleMobile","sidebarToggleMobile","jsonProvinsi","MasterKota","MasterKecamatan","MasterKelurahan","SET_MASTER","getParams","page","size","kecamatan","kelurahan","endPoint","kependudukan","piramidaPenduduk","agama","balita","tidakBekerja","statusPernikahan","aktaWarga","lansia","pendidikan","putusSekolah","kontrasepsi","pusWus","kesehatanMsy","kesehatan","bumil","kesehatanBayi","disabilitas","kankerWanita","hivTb","lingkungan","lingkunganRawan","perumahan","sumberAir","pengolahanSampah","rumahSehat","rumahPtp","rumahPtpPerikanan","rumahPtpPeternakan","rumahUp2kIndustri","karakteristikRumah","pkk","wargaAktifBerkegiatan","jumlahPkk","programPemerintah","client","endpoint","a","body","customConfig","Error","statusText","headers","method","JSON","stringify","axios","response","Promise","reject","message","get","post","initialState","jumlah_laki_laki","jumlah_perempuan","jumlah_ktp_non_dki","jumlah_ktp_dki","jml_anak","jumlah_remaja","barChart","pieChart","isNull","fetchKependudukan","dispatch","getState","fetchField","fetchJumlahProv","fetchJumlahKota","fetchGrafikBarang","fetchGrafikPie","fetchVariabel","ReducersKependudukan","jumlah_agama_islam","jumlah_agama_kristen","jumlah_agama_katolik","jumlah_agama_hindu","jumlah_agama_budha","jumlah_agama_konghucu","fetchMaster","fetchGrafikBatang","jumlah_menikah","jumlah_punya_buku_nikah","jumlah_tidak_miliki_akte_nikah","jumlah_cerai_hidup","jumlah_cerai_mati","fetchLoading","fetchLoadingKader","user","parse","localStorage","getItem","wilayah","levelWilayah","isLoggedIn","process","dashboard","master_path","dashboard_bps","master_code","bnba","topikData","setupDashboard","auth","login","register","pengunaanKb","code","clearMessage","formLogin","then","token","resWilayah","MasterWilayah","setItem","removeItem","logout","AuthService","rootReducer","combineReducers","ThemeOptions","masterServiceWilayah","getKotaKemendagri","mapSelectedKotaLabel","selectedKotaId","selectedKotaLabel","getKecamatanKemendagri","mapSelectedKecamatanLabel","selectedKecamatanId","selectedKecamatanLabel","getKelurahanKemendagri","selectedKelurahanId","selectedKelurahanLabel","ReducersAgama","ReducersPernikahan","ReducersTidakBekerja","tmpJumlahProvinsi","ReducersPiramidaPenduduk","ReducersBalita","ReducersLansia","ReducersAktaWarga","ReducersPutusSekolah","ReducersBumil","ReducersDisabilitas","ReducersHivTb","ReducersKankerPerempuan","ReducersKesehatanBayi","ReducersKesehatanMsy","ReducersPusWus","ReducersLingkunganRawan","ReducersPengolahanSampah","ReducersRumahPTPLahan","ReducersRumahPtpPerikanan","ReducersRumahPtpPeternakan","ReducersRumahSehat","ReducersSumberAir","ReducersUp2kIndustri","ReducersKader","calbackVal","setFieldData","setGroupData","ReducersWargaAktif","ReducersProgramPemerintah","ReducersVariabel","ReducersAuth","ReducersMessage","composedEnhancer","composeWithDevTools","applyMiddleware","thunkMiddleware","store","createStore","HeaderUserbox","UncontrolledDropdown","DropdownToggle","DropdownMenu","right","ListGroup","flush","ListGroupItem","Nav","pills","NavItem","NavLink","preventDefault","Header","toggleSidebarMobile","paddingLeft","paddingRight","borderBottom","clsx","src","CarikLogo","alt","connect","enable","HeaderLanding","backgroundColor","LogoPusdatin","inNavbar","nav","caret","DropdownItem","MegaMenu","isOpen","setModal","useHistory","Modal","fullscreen","ModalHeader","ModalBody","HeaderDashboardPublic","modal","border","boxShadow","LogoSimPkkHeader","faCaretUp","faCaretDown","disabled","faChartPie","faUnlock","SidebarPro","collapsed","iconShape","route","idx","UncontrolledTooltip","placement","container","trigger","HeaderUserLogin","styeCostume","Breadcrumb","listTag","BreadcrumbItem","tag","LogoInstansi","LogoDppapp","LogoPkk","LogoCarik","HeaderTopikData","pagesTitle","pagesDescriptions","Sidebar","expand","light","navbar","divider","Topbar","Navbar","marginTop","NavbarToggler","Collapse","dropShadow","SidebarMaps","useDispatch","setKecamatan","setKelurahan","rw","rt","filterKecamatan","parentId","getKecamatan","filterKelurahan","getKelurahan","LogoSimPkkWhite","Footer","faLocationArrow","faInstagram","faPhone","faMailBulk","lineHeight","LogoSimPkk","LandingLayout","DashboardPublicLayout","GrafikLayout","titleChart","setTitleChart","Penduduk","kependudukanKota","setKependudukanKota","variabelKependudukan","setVariabelKependudukan","variabelPertamaKependudukan","setVariabelPertamaKependudukan","variabelKeduaKependudukan","setVariabelKeduaKependudukan","refVarKedua","Agama","TidakBekerja","Piramida","Balita","Lansia","Kependudukan","ModelViewChart","PenghayatanDanPengamalanPancasila","GotongRoyong","Pangan","Sandang","PerumahanDanTataLaksanaRumahTangga","PendidikanDanKeterampilan","Kesehatan","modelChartSatu","floor","KelestarianLingkunganHidup","SweetAlert","buttonText","Swal","fire","confirmButtonText","customClass","Mixin","mixin","toast","showConfirmButton","timer","timerProgressBar","didOpen","addEventListener","stopTimer","resumeTimer","LoginDashboard","showPassword","setShowPassword","loading","setLoading","username","password","setFormLogin","nama","finally","window","open","InputGroup","autoComplete","faEye","faEyeSlash","resolve","error","catch","faArrowLeft","marginLeft","SampleImage","PetaSebaran","PetaSebaranLayout","UserLayout","PengajuanData","IndikatorKependudukan","deskripsi","grafik","service","parameter","AnalisaKependudukan","res","ListGroupItemText","DashboardPublic","LandingPage","Routes","useLocation","pageVariants","initial","opacity","scale","in","out","pageTransition","ease","duration","fallback","from","div","animate","exit","variants","transition","render","PengembanganKehidupanBerkoperasi","scrollTo","top","left","behavior","fetchAgama","fetchPernikahan","fetchPekerjaan","fetchPiramidaPenduduk","fetchBalita","fetchLansia","fetchAktaWarga","fetchPutusSekolah","fetchBumil","fetchDisabilitas","fetchHivTb","fetchKankerPerempuan","fetchKesehatanBayi","fetchKesehatanMsy","fetchPusWus","fetchLingkunganRawan","fetchPengolahanSampah","fetchLahan","fetchPerikanan","fetchPeternakan","fetchRumahSehat","fetchRumahIndustri","fetchSumberAir","fetchDataKader","fetchWargaAktif","App","Boolean","hostname","match","ReactDOM","document","getElementById","navigator","serviceWorker","ready","registration","unregister"],"mappings":"8HAEO,IAAMA,EAAgB,SAACC,EAA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AM1G,SAAS+T,IACfrN,GAAM1G,SAASgU,IACftN,GAAM1G,SAASiU,IACfvN,GAAM1G,SAASkU,IACfxN,GAAM1G,SAASmU,IACfzN,GAAM1G,SAASoU,IACf1N,GAAM1G,SAASqU,IACf3N,GAAM1G,SAASsU,IACf5N,GAAM1G,SAASuU,IACf7N,GAAM1G,SAASwU,IACf9N,GAAM1G,SAASyU,IACf/N,GAAM1G,SAAS0U,IACfhO,GAAM1G,SAAS2U,IACfjO,GAAM1G,SAAS4U,IACflO,GAAM1G,SAAS6U,IACfnO,GAAM1G,SAAS8U,IACfpO,GAAM1G,SAAS+U,IACfrO,GAAM1G,SAASgV,IACftO,GAAM1G,SAASiV,IACfvO,GAAM1G,SAASkV,IACfxO,GAAM1G,SAASmV,IACfzO,GAAM1G,SAASoV,IACf1O,GAAM1G,SAASqV,I,IAgBAC,G,iLAZX,OACE,kBAAC,KAAD,CAAU5O,MAAOA,IACf,kBAAC,cAAD,KACI,kBAAC,GAAD,KACE,kBAAC,GAAD,a,GANIhM,aCpDE6a,QACW,cAA7B5E,OAAOhX,SAAS6b,UAEe,UAA7B7E,OAAOhX,SAAS6b,UAEhB7E,OAAOhX,SAAS6b,SAASC,MACvB,2DCbNC,IAASnC,OAAO,kBAAC,GAAD,MAASoC,SAASC,eAAe,SD4H3C,kBAAmBC,WACrBA,UAAUC,cAAcC,MAAMjT,MAAK,SAAAkT,GACjCA,EAAaC,kB","file":"static/js/main.b0989c69.chunk.js","sourcesContent":["import { CapitalizeEachWord, CharacterRemove } from \".\";\n\nexport const ModelBarChart = (state, action) => {\n    let tmpBarChart = []\n    Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"tahun\",\"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n        let tmpXValue = [], tmpYValue = [];\n\n        Object.keys(action.payload).map((key, index) => { \n            tmpXValue.push(key.replace(/_/g, ' '));\n            tmpYValue.push(action.payload[key][key0]);\n        })\n\n        tmpBarChart.push({\n            label : CapitalizeEachWord(key0.replace(/_/g, ' ')),\n            categories : 'kependudukan',\n            xValue : tmpXValue,\n            yValue : tmpYValue,\n            description : 'Explenation about this chart value'\n        })\n    })\n\n    return tmpBarChart;\n}\n\nexport const ModelPieChart = (state, action) => {\n    let tmpPieChart = []\n    \n    return tmpPieChart;\n}\n\nexport const ModelPiramida = (data) => {\n    // let data = props.data;\n    let series = [];\n    let labels = [];\n\n    let seriesMales = [];\n    let seriesFemales = [];\n    let tmpCategories = [];\n\n    if (![null, undefined, {}].includes(data)) {\n      Object.keys(data).map((key, i) => {\n        if (key === 'data') {\n          return false;\n        }\n\n        let tmp = CharacterRemove(key, /_/g, ' ').replace('jml usia ', '');\n        //create Males series\n        if (tmp.includes('laki')) {\n          seriesMales.push((data[key]) * -1 );\n        }\n\n        //create Females series\n        if (tmp.includes('perem')) {\n          seriesFemales.push(data[key]);\n        }\n        \n        // create categories || labels\n        if (tmp.includes('laki')) {\n          if (tmp.includes('atau lebih')) {\n            tmpCategories.push(tmp.replace(' laki', '').replace(' atau lebih', '+'))\n\n            return false;\n          }\n\n          tmpCategories.push(tmp.replace(' laki', '').replace(' ', '-'))\n        }\n      })\n\n\n    }\n\n    series = [\n        {\n            name: 'Laki - Laki',\n            data: seriesMales.reverse()\n        },\n        {\n            name: 'Perempuan',\n            data: seriesFemales.reverse()\n        }\n      ]\n    \n    labels = tmpCategories.reverse()\n\n    return {seriesMales, seriesFemales, series, labels}\n}","import { ModelPiramida, NumberSeparator } from \"helpers\";\n\nexport const configBarChart = (props) => {\n    const optionsHorizontal = {\n        title: {\n          text: props.title.length > 0 ? props.title[0].label : 'Silahkan Pilih Sumber Data Dahulu'\n        },\n        dataLabels: {\n          enabled: true,\n          formatter: function (val) {\n            return NumberSeparator(val);\n          },\n          style: {\n            fontSize: '12px',\n            colors: ['#222'],\n          },\n        },\n        plotOptions: {\n          bar: {\n            horizontal: props.isHorizontal,\n            borderRadius: 4,\n          }\n        },\n        colors : ['#FFD775'],\n        xaxis: {\n          categories: props.labels,\n        }\n    };\n    \n    const optionsVertical = {\n      chart: {\n        height: 400,\n        type: 'bar',\n      },\n      plotOptions: {\n        bar: {\n          borderRadius: 10,\n          dataLabels: {\n            position: 'top', // top, center, bottom\n          },\n        }\n      },\n      dataLabels: {\n        enabled: true,\n        formatter: function (val) {\n          return NumberSeparator(val);\n        },\n        offsetY: -20,\n        style: {\n          fontSize: '12px',\n          colors: [\"#304758\"]\n        }\n      },\n      xaxis: {\n        categories: props.labels,\n        position: 'bottom',\n        axisBorder: {\n          show: false\n        },\n        axisTicks: {\n          show: false\n        },\n        crosshairs: {\n          fill: {\n            type: 'gradient',\n            gradient: {\n              colorFrom: '#D8E3F0',\n              colorTo: '#BED1E6',\n              stops: [0, 100],\n              opacityFrom: 0.4,\n              opacityTo: 0.5,\n            }\n          }\n        },\n        tooltip: {\n          enabled: true,\n        }\n      },\n      yaxis: {\n        axisBorder: {\n          show: false\n        },\n        axisTicks: {\n          show: false,\n        },\n        labels: {\n          show: false,\n          formatter: function (val) {\n            return NumberSeparator(val);\n          }\n        }\n      \n      },\n      colors : ['#FFD775'],\n      title: {\n        text: props.title.length > 0 ? props.title[0].label : 'Silahkan Pilih Sumber Data Dahulu',\n      }\n    };\n\n    const series = [\n      {\n        data: props.series\n      }\n    ];\n    \n    let options = props.isHorizontal ? optionsHorizontal : optionsVertical;\n\n    return { options, series }\n}\n\nexport const configPieChart = (props) => {\n    const options = {\n      chart: {\n        width: 280,\n        type: 'donut',\n      },\n      plotOptions: {\n        pie: {\n          startAngle: -90,\n          endAngle: 270\n        },\n        donut: {\n          labels: {\n            show: true,\n          }\n        }\n      },\n      labels: props.labels,\n      dataLabels: {\n        enabled: true\n      },\n      fill: {\n        type: 'gradient',\n      },\n      legend: {\n        formatter: function(val, opts) {\n          return val + \" - \" + NumberSeparator(opts.w.globals.series[opts.seriesIndex])\n        }\n      },\n      title: {\n        text: props.title.length > 0 ? props.title[0].label : 'Silahkan Pilih Sumber Data Dahulu'\n      },\n      responsive: [\n        {\n          breakpoint: 480,\n          options: {\n            chart: {\n              width: 200\n            },\n            legend: {\n              position: 'bottom'\n            }\n          }\n        }\n      ]\n    }\n\n    const series =  props.series;\n\n    return { options, series }\n}\n\nexport const configStackBar = () => {\n\n}\n\nexport const configBarNegativeValue = (props) => {\n\n    const series = props.series;\n    \n      const options = {\n        chart: {\n          type: 'bar',\n          height: 380,\n          stacked: true\n        },\n        colors: ['#6359CA', '#FF6674'],\n        plotOptions: {\n          bar: {\n            horizontal: true,\n            barHeight: '80%',\n          },\n        },\n        dataLabels: {\n          enabled: false\n        },\n        stroke: {\n          width: 1,\n          colors: [\"#fff\"]\n        },\n        grid: {\n          xaxis: {\n            lines: {\n              show: false\n            }\n          }\n        },\n        yaxis: {\n          min: (Math.max(...props.series[0].data) + Math.max(...props.series[1].data) + (Math.max(...props.series[0].data) + Math.max(...props.series[1].data))) * -1,\n          max: Math.max(...props.series[0].data) + Math.max(...props.series[1].data) + (Math.max(...props.series[0].data) + Math.max(...props.series[1].data)),\n          title: {\n            text: 'Range Umur',\n          },\n        },\n        tooltip: {\n          shared: false,\n          x: {\n            formatter: (val) => {\n              return NumberSeparator(val)\n            }\n          },\n          y: {\n            formatter: (val) => {\n              return NumberSeparator(Math.abs(val))\n            }\n          }\n        },\n        title: {\n          text: props.title.length > 0 ? props.title[0].label : 'Silahkan Pilih Sumber Data Dahulu'\n        },\n        xaxis: {\n          categories: props.labels,\n          title: {\n            text: ''\n          },\n          labels: {\n            formatter: function (val) {\n              return NumberSeparator(Math.abs(Math.round(val)))\n            }\n          }\n        },\n      };\n\n    return {options, series}\n}","import { CharacterRemove } from \"helpers\";\n\nconst SetFieldData = (payload) => {\n    let tmpField = [];\n    let tmpFieldReactSelect = [];\n    Object.keys(payload.master.length > 0 ? payload.master[0] : []).map((key0, index) => {\n    if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"tahun\",\"kode_wilayah\"].includes(key0) ) {\n        return false;\n    }\n\n    tmpField.push(key0);\n        tmpFieldReactSelect.push({\n            label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n            value : key0\n        });\n    })\n\n    return { tmpField, tmpFieldReactSelect }\n}\n\nexport default SetFieldData;","const count = (prop) => {\n    let total = 0\n    prop.arr.reduce((key, currentValue) => {\n      total += currentValue[prop.obj];\n    }, 0);\n  \n    return total;\n}\n\nexport default count;","import count from \"../CountData\";\n\nconst groupBy = (array, key, field) => {\n    let tmp = array.reduce((result, currentValue) => {\n      if (!result[currentValue[key]]) {\n        result[currentValue[key]] = {\n          data : [],\n        };\n      }\n      result[currentValue[key]].data.push(currentValue);\n  \n      return result;\n    }, {}); \n  \n    Object.keys(tmp).map((key, index) => {\n      field.map((data, i) => {\n        tmp[key] = {\n          ...tmp[key],\n          [data] : count({arr : tmp[key].data, obj : data})\n        }\n      })\n    });\n  \n    return tmp;\n};\n\nexport default groupBy;","export * from './ModelDataChart';\nexport * from './ConfigChart';\nexport * from './Reducers';\nexport { default as count } from './CountData';\n\nexport const NumberSeparator = (x) => {\n    return x.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\n}\n\nexport const SeparatorRemove = (x) => {\n    return x.replace(',', '')\n}\n\nexport const CharacterRemove = (str, find, replace) => {\n    return str.replace(find, replace)\n}\n\nexport const CapitalizeEachWord = (str) => {\n    const words = str.split(\" \");\n\n    return words.map((word) => { \n        return word[0].toUpperCase() + word.substring(1); \n    }).join(\" \");\n}","import React, { useEffect, useState } from 'react';\n\nimport { Map, GeoJSON, TileLayer } from 'react-leaflet';\nimport provGeoJSON from '../../config/GeoJSON/Batas_Wil_DKI_Jakarta.json';\nimport { useSelector } from 'react-redux';\nimport { centroid } from '@turf/turf';\n// KDPKAB = KODE KABUPATEN / KOTA\n// KDCPUM = KODE KECAMATAN\n// KDEPUM = KODE KELURAHAN\nexport default function LeaftletMaps() {\n  const { ReducersKota, ReducersKecamatan, ReducersKelurahan } = useSelector(state => state);\n  const [polygonMapChild, setPolygonMapChild] = useState([]);\n  const [objectNamaWilayah, setObjectNamaWilayah] = useState('WADMKK');\n  const [position, setPosition] = useState([-6.19491474765486, 106.82332813512008]);\n  const [mapZoom, setMapZoom] = useState(11);\n\n  const getPolygonMapChild = (params) => {\n    let filterPolygonMapChild = [];\n\n    if (params.kodeWilayah === 0) { \n      filterPolygonMapChild = params.childWilayah;\n    }\n\n    if (params.kodeWilayah !== 0) {\n      filterPolygonMapChild = params.childWilayah.features.filter((data) => {\n        return data.properties[params.labelKode] == params.kodeWilayah;\n      })\n    }\n    setPolygonMapChild(filterPolygonMapChild);\n  }\n\n  const onEachFeatureChild = (features, layer, params) => {\n    const namaWilayah = features.properties[params.objectNamaWilayah];\n    layer.bindPopup(namaWilayah);\n    layer.bindTooltip(namaWilayah, {\n      sticky : true\n    });\n    layer.on({\n        click: (e) => {\n            console.log(e);\n        },\n        mousehover : (e) => {\n          e.fillOpacity = 1;\n        }\n    })\n    layer.options.fillOpacity = Math.random();\n    layer.options.fillColor = \"#6359CA\"\n    layer.options.color = \"black\"\n  }\n\n\n  useEffect(() => {\n    if (ReducersKota.mapSelectedKotaId != null) {\n      getPolygonMapChild({\n        childWilayah : {}, \n        kodeWilayah : ReducersKota.mapSelectedKotaId,\n        labelKode : \"KDPKAB\"\n      })\n      \n      let filterPolygonParent = provGeoJSON.features.filter((data) => {\n        return data.properties.KDPKAB == ReducersKota.mapSelectedKotaId;\n      })\n\n      setPosition(centroid(filterPolygonParent[0]).geometry.coordinates.reverse());\n      setMapZoom(12.5);\n      setObjectNamaWilayah('WADMKC');\n    }\n  }, [ReducersKota])\n\n  useEffect(() => {\n    if (ReducersKecamatan.mapSelectedKecamatanId != null) {\n      getPolygonMapChild({\n        childWilayah : {}, \n        kodeWilayah : ReducersKecamatan.mapSelectedKecamatanId,\n        labelKode : \"KDCPUM\"\n      })\n      \n      // let filterPolygonParent = kecGeoJSON.features.filter((data) => {\n      //   return data.properties.KDCPUM == ReducersKecamatan.mapSelectedKecamatanId;\n      // })\n\n      // setPosition(centroid(filterPolygonParent[0]).geometry.coordinates.reverse());\n      setMapZoom(14.5);\n      setObjectNamaWilayah('WADMKD');\n    }\n  }, [ReducersKecamatan])\n\n  useEffect(() => {\n    if (ReducersKelurahan.mapSelectedKelurahanId != null) {\n      getPolygonMapChild({\n        childWilayah : {}, \n        kodeWilayah : ReducersKelurahan.mapSelectedKelurahanLabel,\n        labelKode : \"KELURAHAN\"\n      })\n\n     \n      \n      // let filterPolygonParent = kelGeoJSON.features.filter((data) => {\n      //   return data.properties.KDEPUM == ReducersKelurahan.mapSelectedKelurahanId;\n      // })\n\n      // setPosition(centroid(filterPolygonParent[0]).geometry.coordinates.reverse());\n      setMapZoom(15);\n      setObjectNamaWilayah('RW');\n    }\n  }, [ReducersKelurahan])\n\n  useEffect(() => {\n    getPolygonMapChild({\n      childWilayah : provGeoJSON, \n      kodeWilayah : 0,\n    })\n  }, [])\n\n  return (\n        <>\n            <Map \n                center={position} \n                zoom={mapZoom} \n                className=\"h-100\"\n                scrollWheelZoom={false}\n            >\n              <TileLayer\n                url=\"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png\"\n                attribution=\"&copy; <a href=&quot;https://osm.org/copyright&quot;>OpenStreetMap</a> contributors\"\n              />\n                <GeoJSON \n                  key={position} \n                  data={polygonMapChild} \n                  onEachFeature={(features, layer) => onEachFeatureChild(features, layer, {\n                    objectNamaWilayah : objectNamaWilayah\n                  })}  \n                />\n            </Map>\n        </>\n    )\n}\n\n\n\n// export LeaftletMaps();","import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport LeaftletMaps from 'pages-component/LeafetMaps';\nimport React, { Fragment } from 'react';\nimport { Link } from 'react-router-dom';\nimport { Row, Col, Card, Button, CardBody, CardHeader, Form, FormGroup, CardFooter, Label, Input } from 'reactstrap';\n\nconst HighLightKependudukan = () => {\n  return (\n    <Fragment>\n        <Row>\n            <Col lg=\"12\" md=\"12\" className=\"text-left pl-2 mb-3\">\n                <h4 className='pt-0 mb-0'>\n                    Dashboard Kependudukan\n                </h4>\n                <small className='mb-0'>\n                    Lorem Ipsum Generator. Generate lorem ipsum in paragraphs, words or sentences. Optional html markup - paragraph, italic and bold tags.\n                </small>\n            </Col>\n            <Col lg=\"4\" md=\"4\" className=\"h-100\">\n                <Row className=\"h-100\">\n                    <Col lg=\"12\" md=\"12\" className=\"px-0 pl-2 mb-3 \">\n                        <Card className=\"active-card\">\n                            <CardHeader className=\"pt-4\">\n                                Jumlah Penduduk DKI Jakarta\n                            </CardHeader>\n                            <CardBody className=\"pb-0 pt-0 d-flex\">\n                                <h2 className=\"font-weight-bold mb-0\">\n                                    26.051.997\n                                </h2>\n                            </CardBody>\n                            <CardFooter className=\"pb-4\">\n                                Hasil Pendataan 2022\n                            </CardFooter>\n                        </Card>\n                    </Col>\n                    <Col lg=\"6\" md=\"6\" className=\"px-0 pl-2 mb-3 \">\n                        <Card >\n                            <CardHeader className=\"pt-4\">\n                            Jumlah Penduduk DKI Jakarta Laki - Laki\n                            </CardHeader>\n                            <CardBody className=\"pb-0 pt-0\">\n                            <h2 className=\"font-weight-bold mb-0\">\n                                26.051.997\n                            </h2>\n                            </CardBody>\n                            <CardFooter className=\"pb-4\">\n                            Hasil Pendataan 2022\n                            </CardFooter>\n                        </Card>\n                    </Col>\n                    <Col lg=\"6\" md=\"6\" className=\"px-0 pl-2 mb-3\">\n                        <Card >\n                            <CardHeader className=\"pt-4\">\n                            Jumlah Penduduk DKI Jakarta Perempuan\n                            </CardHeader>\n                            <CardBody className=\"pb-0 pt-0\">\n                            <h2 className=\"font-weight-bold mb-0\">\n                                26.051.997\n                            </h2>\n                            </CardBody>\n                            <CardFooter className=\"pb-4\">\n                            Hasil Pendataan 2022\n                            </CardFooter>\n                        </Card>\n                    </Col>\n                    <Col lg=\"6\" md=\"6\" className=\"px-0 pl-2 h-100\">\n                        <Card>\n                                <CardHeader className=\"pt-4\">\n                                Jumlah Penduduk ber KTP DKI Jakarta\n                                </CardHeader>\n                            <CardBody className=\"pb-0 pt-0 \">\n                                <h2 className=\"font-weight-bold mb-0\">\n                                    26.051.997\n                                </h2>\n                            </CardBody>\n                            <CardFooter className=\"pb-4\">\n                                Hasil Pendataan 2022\n                            </CardFooter>\n                        </Card>\n                    </Col>\n                    <Col lg=\"6\" md=\"6\" className=\"px-0 pl-2 \">\n                        <Card className=\"h-100\">\n                            <CardHeader className=\"pt-4\">\n                                Jumlah Penduduk KTP Non DKI Jakarta\n                            </CardHeader>\n                            <CardBody className=\"pb-0 pt-0 \">\n                                <h2 className=\"font-weight-bold mb-0\">\n                                    26.051.997\n                                </h2>\n                            </CardBody>\n                            <CardFooter className=\"pb-4\">\n                                Hasil Pendataan 2022\n                            </CardFooter>\n                        </Card>\n                    </Col>\n                </Row>\n            </Col>\n            <Col lg=\"8\" md=\"8\">\n                <Card >\n                    <CardHeader className=\"pt-3 pb-3 costume-bg-secondary\">\n                        <h6 className='mb-0 text-white'>\n                            <FontAwesomeIcon icon={['fa', 'map-marker']} className=\"mr-3\" />\n                            Sebaran Data DKI Jakarta\n                        </h6>\n                    </CardHeader>\n                    <CardBody className=\"pb-0 pt-3\">\n                        <Form>\n                            <FormGroup row>\n                                <Col>\n                                    <Label className=\"font-weight-bold\" for=\"exampleSelect\">Topik Data</Label>\n                                    <Input type=\"select\" name=\"select\" id=\"exampleSelect\">\n                                        <option>1</option>\n                                        <option>2</option>\n                                        <option>3</option>\n                                        <option>4</option>\n                                        <option>5</option>\n                                    </Input>\n                                </Col>\n                                <Col className=\"pl-0\">\n                                    <Label className=\"font-weight-bold\" for=\"exampleSelect\">Provinsi</Label>\n                                    <Input type=\"select\" name=\"select\" id=\"exampleSelect\">\n                                        <option>1</option>\n                                        <option>2</option>\n                                        <option>3</option>\n                                        <option>4</option>\n                                        <option>5</option>\n                                    </Input>\n                                </Col>\n                                <Col className=\"pl-0\">\n                                    <Label className=\"font-weight-bold\" for=\"exampleSelect\">Kabupatan/Kota</Label>\n                                    <Input type=\"select\" name=\"select\" id=\"exampleSelect\">\n                                        <option>1</option>\n                                        <option>2</option>\n                                        <option>3</option>\n                                        <option>4</option>\n                                        <option>5</option>\n                                    </Input>\n                                </Col>\n                                <Col className=\"pl-0\">\n                                    <Label className=\"font-weight-bold\" for=\"exampleSelect\">Kecamatan</Label>\n                                    <Input type=\"select\" name=\"select\" id=\"exampleSelect\">\n                                        <option>1</option>\n                                        <option>2</option>\n                                        <option>3</option>\n                                        <option>4</option>\n                                        <option>5</option>\n                                    </Input>\n                                </Col>\n                            </FormGroup>\n                        </Form>\n                        <div style={{\n                            minWidth:\"100%\",\n                            minHeight: \"100%\"\n                        }}>\n                            <LeaftletMaps />\n                        </div>\n                    </CardBody>\n                    <CardFooter className=\"pb-2\">\n                        Hasil Pendataan 2022\n                    </CardFooter>\n                </Card>\n            </Col>\n            <Col lg=\"12 text-right pt-3\">\n                <Link to=\"/user/analisa/kependudukan\">\n                    <Button className=\"p-button\">\n                        Dashboard Kependudukan Selengkapnya\n                        <FontAwesomeIcon icon={['fa', 'arrow-right']} className=\"ml-3\" />\n                    </Button>\n                </Link>\n            </Col>\n        </Row>\n        <div className='mb-5' />\n    </Fragment>\n  );\n};\n\nexport default HighLightKependudukan;","import React from 'react'\nimport ContentLoader from 'react-content-loader'\n\nconst PieChart = props => {\n  const style = {\n    title : {\n      width : \"100%\"\n    },\n    numberLegend : {\n      width : \"10px\",\n      height : \"10px\"\n    },\n    legend : {\n      width : \"100%\",\n      height : \"10px\"\n    }\n  }\n  return (\n    <ContentLoader style={{ width: '100%', height: \"100%\" }} {...props}>\n      <rect x=\"0\" y=\"5\" rx=\"0\" ry=\"0\" height=\"15\" style={style.title} />\n      <circle cx=\"100\" cy=\"130\" r=\"100\" />\n      <rect x=\"230\" y=\"50\" rx=\"0\" ry=\"0\" style={style.numberLegend} />\n      <rect x=\"250\" y=\"50\" rx=\"0\" ry=\"0\" style={style.legend} />\n      <rect x=\"230\" y=\"64\" rx=\"0\" ry=\"0\" style={style.numberLegend} />\n      <rect x=\"250\" y=\"64\" rx=\"0\" ry=\"0\" style={style.legend} />\n      <rect x=\"230\" y=\"78\" rx=\"0\" ry=\"0\" style={style.numberLegend} />\n      <rect x=\"250\" y=\"78\" rx=\"0\" ry=\"0\" style={style.legend} />\n      <rect x=\"230\" y=\"92\" rx=\"0\" ry=\"0\" style={style.numberLegend} />\n      <rect x=\"250\" y=\"92\" rx=\"0\" ry=\"0\" style={style.legend} />\n    </ContentLoader>\n  )\n}\n\nexport default PieChart","import React from 'react'\nimport ContentLoader from 'react-content-loader'\n\nconst BarChart = props => {\n  return (\n    <ContentLoader {...props} style={{ width: '100%' }}>\n      <rect x=\"0\" y=\"160\" rx=\"0\" ry=\"0\" width=\"25\" height=\"40\" />\n      <rect x=\"30\" y=\"145\" rx=\"0\" ry=\"0\" width=\"25\" height=\"55\" />\n      <rect x=\"60\" y=\"126\" rx=\"0\" ry=\"0\" width=\"25\" height=\"74\" />\n      <rect x=\"90\" y=\"80\" rx=\"0\" ry=\"0\" width=\"25\" height=\"120\" />\n      <rect x=\"120\" y=\"142\" rx=\"0\" ry=\"0\" width=\"25\" height=\"58\" />\n    </ContentLoader>\n  )\n}\n\nexport default BarChart","\nimport { BarChart, PieChart } from 'pages-component/SkeletonLoading';\nimport React, { Fragment, useEffect } from 'react';\nimport Chart from 'react-apexcharts';\nimport { Card, CardBody, CardFooter, Col, Row } from 'reactstrap';\n\nconst ApexChart = (props) => {\n  const {config, type} = props;\n\n  const Loading = () => {\n    let loadingView;\n\n    switch (type) {\n      case 'bar':\n          loadingView = <BarChart />;\n        break; \n      case 'pie':\n          loadingView = <PieChart />;\n        break;\n      case 'donut':\n          loadingView = <PieChart />;\n        break;\n    \n      default:\n        loadingView = <BarChart />;\n        break;\n    }\n\n    return loadingView;\n  }\n\n  useEffect(() => {\n    console.log('Apex Chart',props);\n  }, [])\n  return (\n    <Fragment>\n        <Col lg=\"6\" md=\"6\" sm=\"12\" className=\"px-0 pr-2 mb-2\">\n          <Card className=\"h-100\">\n              <CardBody className=\"pb-0\">\n                {\n                  config.series.length <= 0 ? <Loading /> : \n                  <div id='chart'>\n                      <Chart options={config.options} series={config.series} type={type} />\n                  </div>\n                }\n              </CardBody>\n              <CardFooter className=\"pb-4 font-weight-bold\">\n                Hasil Pendataan 2022 \n              </CardFooter>\n          </Card>\n        </Col>\n    </Fragment>\n  );\n}\n\nexport default ApexChart;","import React, { Fragment, useEffect, useRef, useState } from 'react';\nimport { Row, Col, Card, CardBody, CardFooter } from 'reactstrap';\nimport { CharacterRemove, configBarChart, configPieChart, NumberSeparator } from \"helpers\";\nimport { ViewApexChart } from 'pages-component/';\nimport ReactSelect from 'react-select';\n\nconst ModelViewChartBar = (props) => {\n  const ReducersMaster = props.master;\n  const ReducersPayload = props.payload;\n  const ReducersParams = props.params;\n\n  const [Kota, setKota] = useState([])\n  const [statusFieldInit, setStatusFieldInit] = useState(false) \n  const [variabel, setVariabel] = useState()\n  const [variabelPertama, setVariabelPertama] = useState([])\n  const [labels, setLabels] = useState([]);\n  const [series, setSeries] = useState([]);\n\n  const refVarPertama = useRef(variabelPertama);\n  const refLabels = useRef(labels)\n  const refSeries = useRef(series)\n\n  const selectKota = (e) => {\n    if (e === null) {\n      setKota([{\n        label : 'PROVINSI DKI JAKARTA',\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersMaster.jumlahProvinsi.jumlah_penduduk) + 'Jiwa',\n        value : '',\n      }])\n\n      setVariabelPertama(refVarPertama.current)\n      setLabels(refLabels.current)\n      setSeries(refSeries.current)\n      return false;\n    }\n\n    if (Kota.length > 0 && e.label !== Kota[0].label) {\n      setKota([{\n        label : e.label,\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersMaster.jumlahPerkota[CharacterRemove(e.label, / /g, '_')].jumlah_penduduk) + 'Jiwa',\n        value : e.value,\n      }])\n\n      setVariabelPertama(refVarPertama.current)\n      setLabels(refLabels.current)\n      setSeries(refSeries.current)\n    }\n\n    setKota([{\n      label : e.label,\n      description : ' Jumlah Penduduk '+ NumberSeparator(ReducersMaster.jumlahPerkota[CharacterRemove(e.label, / /g, '_')].jumlah_penduduk) + 'Jiwa',\n      value : e.value,\n    }])\n  }\n\n  const reactSelected = (val, action) => {\n    if (val === null) {\n      return false;\n    }\n\n    setVariabelPertama(val)\n    let tmpLabel = [];\n    let tmpSeries = [];\n    val.map((data, i) => {\n      tmpLabel.push(data.label)\n      tmpSeries.push(variabel[data.value])\n    })\n    setLabels(tmpLabel)\n    setSeries(tmpSeries)\n  }\n\n  useEffect(() => {\n   if (Kota.length > 0 && Kota[0].label !== 'PROVINSI DKI JAKARTA') {\n    setVariabel(ReducersPayload.jumlahPerkota[CharacterRemove(Kota[0].label, / /g, '_')])\n   }\n  }, [Kota])\n\n  useEffect(() => {\n    if (ReducersPayload.jumlahProvinsi.jumlah_penduduk !== 0 ) {\n      setVariabel(ReducersPayload.jumlahProvinsi);\n      \n      setKota([{\n        label : 'PROVINSI DKI JAKARTA',\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersMaster.jumlahProvinsi.jumlah_penduduk) + 'Jiwa',\n        value : '',\n      }])\n    }\n  }, [ReducersPayload])\n\n  useEffect(() => {\n    if (ReducersPayload.fieldReactSelected !== undefined && ReducersPayload.fieldReactSelected.length > 0) {\n      if (!statusFieldInit) {\n        setStatusFieldInit(true);\n      }\n    }\n  }, [ReducersPayload])\n\n  useEffect(() => {\n    if (statusFieldInit) {\n      let tmpLabel = [];\n      let tmpSeries = [];\n      ReducersPayload.fieldReactSelected.map((data, i) => {\n        tmpLabel.push(data.label)\n        tmpSeries.push(ReducersPayload.jumlahProvinsi[data.value])\n      })\n\n      const tmpVariabelPertama = ReducersPayload.fieldReactSelected.map((data, key) => {\n        return ReducersPayload.fieldReactSelected[key]\n      })\n\n\n      setVariabelPertama(tmpVariabelPertama);\n      setLabels(tmpLabel)\n      setSeries(tmpSeries)\n    }\n  }, [statusFieldInit])\n\n  \n  return (\n    <Fragment>\n        {\n           ReducersPayload.isError ? null :\n          <div className=\"hero-wrapper text-dark mt-5\">\n              <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n                <div className=\"bg-composed-wrapper--content\">\n                    <div className=\"container\">\n                      <Row>\n                        <Col lg=\"12\" className=\"px-0\">\n                          <div className=\"text-center\">\n                              <div className=\"\">\n                                <h2 className='text-primary'>\n                                    {props.title ? props.title : 'Loading Data...'}\n                                </h2>\n                                <p className=\"mb-3\">\n                                    Data Update hasil pendataan 2022\n                                </p>\n                              </div>\n                          </div>\n                        </Col>\n                        <Col lg=\"12\" md=\"12\">\n                            <Row>\n                              <Col lg=\"3\" md=\"3\" className=\"p-0\">\n                                <ReactSelect \n                                  className=\"basic-single costume-select mb-2\"\n                                  placeholder=\"Pilih Kota\"\n                                  defaultValue={Kota}\n                                  isClearable={true}\n                                  isRtl={true}\n                                  isSearchable={true}\n                                  name=\"selectKota\"\n                                  options={ReducersParams.kota}\n                                  onChange={selectKota}\n                                />\n                              </Col>\n                              <Col lg=\"9\" md=\"9\" className=\"p-0 pl-2\">\n                                <ReactSelect\n                                  isMulti\n                                  className=\"basic-single costume-select mb-2 d-none\"\n                                  placeholder=\"Pilih Variabel\"\n                                  defaultValue={variabelPertama}\n                                  value={variabelPertama}\n                                  isClearable={true}\n                                  isRtl={true}\n                                  isSearchable={true}\n                                  name=\"selectVarPertama\"\n                                  options={ReducersPayload.fieldReactSelected}\n                                  onChange={(value, action) => reactSelected(value, action)}\n                                />\n                              </Col>\n                            </Row>\n                        </Col>\n                        <Col xl=\"12\" md=\"12\" className=\"px-0 pl-1\">\n                          <Card className=\"h-100\">\n                                <CardBody className=\"pb-0 h-100\">\n                                  <ViewApexChart config={configBarChart({\n                                    title : Kota,\n                                    series : series,\n                                    labels : labels,\n                                    isHorizontal : true\n                                  })} type=\"bar\" height=\"300\" />\n                                </CardBody>\n                                <CardFooter className=\"pb-4 font-weight-bold\">\n                                  Hasil Pendataan 2022 {' - ' +Kota.length > 0 ? Kota[0].description : ''}\n                                </CardFooter>\n                            </Card>\n                        </Col>\n                      </Row>\n                    </div>\n                </div>\n              </div>\n          </div>\n        }\n    </Fragment>\n  );\n};\n\nexport default ModelViewChartBar;","\nimport React, { Fragment } from 'react';\nimport Chart from 'react-apexcharts';\n\nconst ViewApexChart = (props) => {\n  const {config, type, height} = props;\n\n  return (\n    <Fragment>\n        <div id='chart'>\n            <Chart options={config.options} series={config.series} type={type} height={height ? height : 'auto'} />\n        </div>\n    </Fragment>\n  );\n}\n\nexport default ViewApexChart;","export { default as HighLightKependudukan } from \"./HighLightKependudukan\";\nexport { default as LeaftletMaps } from './LeafetMaps';\nexport { default as ApexChart }  from './ApexChart';\nexport { default as ModelViewChart } from './ModelViewChart'\nexport { default as ModelViewChartBar } from './ModelViewChartBar'\nexport { default as ModelViewChartRumahSehat } from './ModelViewChartRumahSehat'\nexport { default as ViewApexChart } from './ApexChart/ViewApexChart'\nexport * from './SkeletonLoading'","import { lazy } from \"react\";\n\n// logo instansi\nexport { default as LogoPusdatin } from \"./landing-pages/section-4/pusdatin.svg\";\nexport { default as LogoDppapp} from \"./landing-pages/section-4/dppapp.svg\";\nexport { default as LogoPkk} from \"./landing-pages/section-4/tp-pkk.svg\";\nexport { default as LogoPusdatinPutih} from \"./dashboard-pendataan/logo-pusdatin-putih.png\";\nexport { default as LogoCarik } from \"./dashboard-pendataan/logo-carik.svg\";\nexport { default as LogoSimPkk } from \"./dashboard-pendataan/logo-sim-pkk.svg\";\nexport { default as LogoSimPkkHeader } from \"./dashboard-pendataan/logo-sim-pkk-header.svg\";\nexport { default as LogoSimPkkWhite } from './dashboard-pendataan/logo-sim-pkk-white.svg';\n\n// icon topik data\n\nexport { default as IconPancasila } from './topik-data/pancasila.svg';\nexport { default as IconGotongRoyong } from './topik-data/gotong-royong.svg';\nexport { default as IconPangan } from './topik-data/pangan.svg';\nexport { default as IconSandang } from './topik-data/sandang.svg';\nexport { default as IconRumahTangga } from './topik-data/rumah-tangga.svg';\nexport { default as IconPendidikanKeterampilan } from './topik-data/pendidikan-keterampilan.svg';\nexport { default as IconKesehatan } from './topik-data/kesehatan.svg';\nexport { default as IconKoperasi } from './topik-data/koperasi.svg';\nexport { default as IconLingkungan } from './topik-data/lingkungan.svg';\nexport { default as IconPerencanaanSehat } from './topik-data/perencanaan-sehat.svg';\nexport { default as IconKependudukan } from './topik-data/kependudukan.svg';\n\n// icon wilayah \nexport { default as KS } from './landing-pages/logo-wilayah/KS.svg';\nexport { default as JP } from './landing-pages/logo-wilayah/JP.svg';\nexport { default as JB } from './landing-pages/logo-wilayah/JB.svg';\nexport { default as JS } from './landing-pages/logo-wilayah/JS.svg';\nexport { default as JT } from './landing-pages/logo-wilayah/JT.svg';\nexport { default as JU } from './landing-pages/logo-wilayah/JU.svg';\n\n// icon pendataan \nexport { default as IconKelompok } from './icon-pendataan/icon-kelompok.svg';\nexport { default as IconBangunan } from './icon-pendataan/icon-bangunan.svg';\nexport { default as IconKrt } from './icon-pendataan/icon-krt.svg';\nexport { default as IconKeluarga } from './icon-pendataan/icon-keluarga.svg';\nexport { default as IconIndividu } from './icon-pendataan/icon-individu.svg';\n\nexport { default as HpTengah } from \"./landing-pages/section-4/hp-tengah.png\";\nexport { default as SampleImage } from \"./dashboard-pendataan/sample-image-dashboard.jpg\";\nexport { default as HpKiri } from \"./landing-pages/section-4/hp-kiri.png\";\n\nexport { default as SscarikFront } from \"./landing-pages/ss-aplikasi-front.svg\";\nexport { default as SscarikBack } from \"./landing-pages/ss-aplikasi-back.svg\";\nexport { default as LoadingIo } from './components/loading-io.svg';","import { IconGotongRoyong, IconKependudukan, IconKesehatan, IconKoperasi, IconLingkungan, IconPancasila, IconPangan, IconPendidikanKeterampilan, IconRumahTangga, IconSandang } from \"assets/images\";\nimport React from \"react\";\n\nconst Dashboard = React.lazy(() => import(\"../pages-user/Dashboard\"));\n\nconst routes = [\n    { \n        path: '/user/dashboard', \n        exact: true, \n        status : true,\n        name: 'Dashboard', \n        icon: ['fas', 'home'],\n        component: Dashboard \n    },\n    { \n        path: '/user/analisa', \n        exact: true, \n        name: 'Analisa', \n        status : false,\n        icon: ['fas', 'chart-bar'],\n        children : [\n            {\n                path: '/user/analisa/kependudukan', \n                exact: true, \n                name: 'Kependudukan', \n                icon: ['fas', 'users'],\n                component: Dashboard\n            },\n            {\n                path: '/user/analisa/pendidikan', \n                exact: true, \n                name: 'Pendidikan', \n                icon: ['fas', 'graduation-cap'],\n                component: Dashboard\n            },\n            {\n                path: '/user/analisa/ekonomi', \n                exact: true, \n                name: 'Ekonomi', \n                icon: ['fas', 'briefcase'],\n                component: Dashboard\n            },\n            {\n                path: '/user/analisa/kesehatan', \n                exact: true, \n                name: 'Kesehatan', \n                icon: ['fas', 'medkit'],\n                component: Dashboard\n            },\n            {\n                path: '/user/analisa/lingkungan', \n                exact: true, \n                name: 'Lingkungan', \n                icon: ['fas', 'tree'],\n                component: Dashboard\n            },\n            {\n                path: '/user/analisa/kontrasepsi', \n                exact: true, \n                name: 'Kontrasepsi', \n                icon: ['fas', 'venus-mars'],\n                component: Dashboard\n            }\n        ]\n    },\n    { \n        path: '/user/crostab', \n        exact: true, \n        name: 'Data Visualisasi', \n        status : true,\n        icon: ['fa', 'chart-area'],\n        children : [\n            {\n                path: '/user/crostab/kependudukan', \n                exact: true, \n                name: 'Kependudukan', \n                icon: ['fas', 'users'],\n                component: Dashboard\n            },\n            {\n                path: '/user/crostab/pendidikan', \n                exact: true, \n                name: 'Pendidikan', \n                icon: ['fas', 'graduation-cap'],\n                component: Dashboard\n            },\n            {\n                path: '/user/crostab/ekonomi', \n                exact: true, \n                name: 'Ekonomi', \n                icon: ['fas', 'briefcase'],\n                component: Dashboard\n            },\n            {\n                path: '/user/crostab/kesehatan', \n                exact: true, \n                name: 'Kesehatan', \n                icon: ['fas', 'medkit'],\n                component: Dashboard\n            },\n            {\n                path: '/user/crostab/lingkungan', \n                exact: true, \n                name: 'Lingkungan', \n                icon: ['fas', 'tree'],\n                component: Dashboard\n            },\n            {\n                path: '/user/crostab/kontrasepsi', \n                exact: true, \n                name: 'Kontrasepsi', \n                icon: ['fas', 'venus-mars'],\n                component: Dashboard\n            }\n        ]\n    },\n    { \n        path: '/user/pengajuan-data', \n        exact: true, \n        name: 'Pengajuan Data', \n        status : true,\n        icon: ['far', 'paper-plane'],\n        component: Dashboard \n    },\n    { \n        path: '/user/profile', \n        exact: true, \n        name: 'Profile', \n        status : true,\n        icon: ['far', 'user-circle'],\n        component: Dashboard \n    },\n    { \n        path: '/#', \n        exact: true, \n        name: 'Keluar', \n        status : true,\n        icon: ['fa', 'lock'],\n    },\n]\n\nexport const routesNavTopPublic = [\n    { \n        path: '/dp/penghayatan-pancasila', \n        exact: true, \n        name: 'Penghayatan dan Pengamalan Pancasila', \n        status : true,\n        icon: IconPancasila,\n    },\n    { \n        path: '/dp/gotong-royong', \n        exact: true, \n        name: 'Gotong Royong', \n        status : true,\n        icon: IconGotongRoyong,\n    },\n    { \n        path: '/dp/pangan', \n        exact: true, \n        name: 'Pangan', \n        status : true,\n        icon: IconPangan,\n    },\n    { \n        path: '/dp/sandang', \n        exact: true, \n        name: 'Sandang', \n        status : true,\n        icon: IconSandang,\n    },\n    { \n        path: '/dp/perumahan-rumah-tangga', \n        exact: true, \n        name: 'Perumahan dan Tata Laksana Rumah Tangga', \n        status : true,\n        icon: IconRumahTangga,\n    },\n    { \n        path: '/dp/pendidikan-keterampilan', \n        exact: true, \n        name: 'Pendidikan Dan Keterampilan', \n        status : true,\n        icon: IconPendidikanKeterampilan,\n    },\n    { \n        path: '/dp/kesehatan', \n        exact: true, \n        name: 'Kesehatan', \n        status : true,\n        icon: IconKesehatan,\n    },\n    { \n        path: '/dp/kehidupan-berkoperasi', \n        exact: true, \n        name: 'Pengembangan Kehidupan Berkoperasi', \n        status : true,\n        icon: IconKoperasi,\n    },\n    { \n        path: '/dp/kelestarian-lingkungan-hidup', \n        exact: true, \n        name: 'Kelestarian Lingkungan Hidup', \n        status : true,\n        icon: IconLingkungan,\n    },\n    { \n        path: '/dp/kependudukan', \n        exact: true, \n        name: 'Kependudukan', \n        status : true,\n        icon: IconKependudukan,\n    },\n]\n\nexport const routesManajemenMenu = [\n    { \n        path: 'https://carik.jakarta.go.id/monitoring/v3', \n        externalUrl: true, \n        name: 'Kader Dawis', \n        status : true,\n    },\n    { \n        path: '#', \n        isDisabled :true,\n        externalUrl: true, \n        name: 'Kader PKK', \n        status : true,\n    },\n    { \n        path: 'https://carik.jakarta.go.id/monitoring/v2', \n        externalUrl: true, \n        name: 'Validasi/Approval Kader', \n        status : true,\n    },\n    { \n        path: 'https://carik.jakarta.go.id/monitoring/v3', \n        externalUrl: true, \n        name: 'Kelompok Dawis', \n        status : true,\n    },\n]\n\nexport const routesMonirotingMenu = [\n    { \n        path: 'https://carik.jakarta.go.id/monitoring/v2', \n        externalUrl: true, \n        name: 'Foto Bangunan', \n        status : true,\n    },\n    { \n        path: '#', \n        isDisabled :true,\n        externalUrl: true, \n        name: 'Pendataan Tematik', \n        status : true,\n    },\n    { \n        path: '#', \n        externalUrl: true, \n        isDisabled :true,\n        name: 'Share Link Task Kader', \n        status : true,\n    },\n    { \n        path: '#', \n        isDisabled :true,\n        externalUrl: true, \n        name: 'Lampid', \n        status : true,\n    },\n    { \n        path: '#', \n        externalUrl: true, \n        isDisabled :true,\n        name: 'Laporan PKK', \n        status : true,\n    },\n    { \n        path: '#', \n        externalUrl: true, \n        isDisabled :true,\n        name: 'Entry Aktivitas', \n        status : true,\n    },\n    { \n        path: 'https://carik.jakarta.go.id/monitoring/v3', \n        externalUrl: true, \n        name: 'Monitoring Ruang Belajar PKK ', \n        status : true,\n    },\n]\n\nexport default routes;\n","\nexport const SeriesHorizontalBarChart = (props) => {\n    const series = [{\n        data: props.series\n      }];\n\n    return series;\n}","export const SeriesVertikalBarChart = (props) => {\n  const series = [\n    {\n      data: props.series\n    }\n  ];\n\n      return series;\n}","export const SeriesPieChart = ({series}) => {\n    return series;\n}","export { SeriesHorizontalBarChart } from './HorizontalBarChart';\nexport { SeriesVertikalBarChart } from './VertikalBarChart';\nexport { SeriesPieChart } from './PieChart';\nexport { SeriesNegativeBarChart } from './NegativeBarChart';","import { NumberSeparator } from 'helpers'\nexport const OptionsHorizontalBarChart = (props) => {\n    const options = {\n        title: {\n          text: props.title.length > 0 ? props.title[0].label : 'Silahkan Pilih Sumber Data Dahulu'\n        },\n        dataLabels: {\n          enabled: true,\n          formatter: function (val) {\n            return NumberSeparator(val);\n          },\n          style: {\n            fontSize: '12px',\n            colors: ['#222'],\n          },\n        },\n        plotOptions: {\n          bar: {\n            horizontal: true,\n            borderRadius: 4,\n          },\n        },\n        colors : ['#FFD775'],\n        xaxis: {\n          categories: props.labels,\n        }\n    };\n\n    return options;\n}","import { NumberSeparator } from \"helpers\";\n\nexport const OptionsVertikalBarChart = ({labels, title}) => {\n    const options = {\n        chart: {\n          height: 400,\n          type: 'bar',\n        },\n        plotOptions: {\n          bar: {\n            borderRadius: 10,\n            dataLabels: {\n              position: 'top', // top, center, bottom\n            },\n          }\n        },\n        dataLabels: {\n          enabled: true,\n          formatter: function (val) {\n            return NumberSeparator(val) + \" Jiwa\";\n          },\n          offsetY: -20,\n          style: {\n            fontSize: '12px',\n            colors: [\"#304758\"]\n          }\n        },\n        xaxis: {\n          categories: labels ? labels : [],\n          position: 'bottom',\n          axisBorder: {\n            show: false\n          },\n          axisTicks: {\n            show: false\n          },\n          crosshairs: {\n            fill: {\n              type: 'gradient',\n              gradient: {\n                colorFrom: '#D8E3F0',\n                colorTo: '#BED1E6',\n                stops: [0, 100],\n                opacityFrom: 0.4,\n                opacityTo: 0.5,\n              }\n            }\n          },\n          tooltip: {\n            enabled: true,\n          }\n        },\n        yaxis: {\n          axisBorder: {\n            show: false\n          },\n          axisTicks: {\n            show: false,\n          },\n          labels: {\n            show: false,\n            formatter: function (val) {\n              return NumberSeparator(val) + \" Jiwa\";\n            }\n          }\n        \n        },\n        colors : ['#FFD775'],\n        title: {\n          text: title ?  title.label : 'Silahkan Pilih Sumber Data Dahulu',\n        }\n      };\n\n      return options;\n}","import { NumberSeparator } from 'helpers'\nexport const OptionsPieChart = ({labels, title}) => {\n    const options = {\n        chart: {\n          width: 280,\n          type: 'donut',\n        },\n        plotOptions: {\n          pie: {\n            startAngle: -90,\n            endAngle: 270\n          },\n          donut: {\n            labels: {\n              show: true,\n            }\n          }\n        },\n        labels: labels ? labels : [],\n        dataLabels: {\n          enabled: true\n        },\n        fill: {\n          type: 'gradient',\n        },\n        legend: {\n          formatter: function(val, opts) {\n            return val + \" - \" + NumberSeparator(opts.w.globals.series[opts.seriesIndex])\n          }\n        },\n        title: {\n          text: title ? title.label : 'Silahkan Pilih Sumber Data Dahulu'\n        },\n        responsive: [\n          {\n            breakpoint: 480,\n            options: {\n              chart: {\n                width: 200\n              },\n              legend: {\n                position: 'bottom'\n              }\n            }\n          }\n        ]\n      }\n\n      return options;\n}","export { OptionsHorizontalBarChart } from './HorizontalBarChart';\nexport { OptionsVertikalBarChart } from './VertikalBarChart';\nexport { OptionsPieChart } from './PieChart';\n// export { OptionsNegativeBarChart } from './NegativeBarChart';","import { HighLightKependudukan } from 'pages-component';\nimport React, { Fragment } from 'react';\nimport { Row, Col } from 'reactstrap';\n\nconst Dashboard = () => {\n  return (\n    <Fragment>\n        <div className=\"hero-wrapper\">\n            <div className=\"align-items-center\">\n                <Row>\n                    <Col lg=\"12\" md=\"12\" className=\"text-center\">\n                        <h1 className='pt-0 pb-3'>\n                            Sistem Informasi Managemen PKK\n                        </h1>\n                    </Col>\n                </Row>\n                <HighLightKependudukan />\n            </div>\n        </div>\n        <div className='mb-5' />\n    </Fragment>\n  );\n};\n\nexport default Dashboard;","module.exports = __webpack_public_path__ + \"static/media/hp-tengah.ad9bda90.png\";","module.exports = __webpack_public_path__ + \"static/media/hp-kiri.69ec76a0.png\";","module.exports = __webpack_public_path__ + \"static/media/pusdatin.5b1b030b.svg\";","module.exports = __webpack_public_path__ + \"static/media/dppapp.cdf577e6.svg\";","module.exports = __webpack_public_path__ + \"static/media/tp-pkk.a100a8f2.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAfEAAAB7CAYAAABkbrl3AAAACXBIWXMAAAsSAAALEgHS3X78AAAdwUlEQVR4nO2d35Uau7KH23fdd7jP5wFOBIMjGHYEw45g2hEYR2AmgmEiMBOBmQgMERge7vOGCAwRzF19XLq7tiip/6ikltT1rdXLY2i61ZJaP6lUKn14f38vBEEQBEFIj/+SMhMEQRCENBERFwRBEIREEREXBEEQhEQRERcEQRCERBERFwRBEIREEREXBEEQhEQRERcEQRCERBERFwRBEIRE+W8pOEFgYVYUxTiCrDzBMRTm6Dl3A3puQfgPnBHbVkVRfL35tH/2KAXVS36Ag7uh20EjfoHjAJ+l3LCMoZGcaSLlQ7Dm6F74PqObM8PxR4vyq867v/m0X46ovqu6nzpV3SiLolgQ+f2R+RklnGVRfLj5hJ/qvf+hXVVvt3GbmhIL1K5Ni6KYtGxXahnCSPze8HfVwG3guNz8qht36FcP0Km5FkWxhoPrPr6ZQ0P5GOg+i57F2kQq5WXiDg5VjueiKLZQ51MT9DEMFEpLXVnC90L6mNrtK6rDsQr6FOpqkHZtyHPiVeP2XBTFL6gQ05szeBiBmJ+gkYmZKbwYPzwL+Fy7T4wCXrQUuhRGCNUo4HNRFD8hvakI3gLen881dWURyZSG4I8RtBk/oA77are7Uon3XyHbNU4RT9lU9wjpX918w8cIOg3bSBuaOeSBT5PwGJ7/R4SmZ53rzSd2Uqv/Vf5/g4ZwfvNtPFQWrO8NG8QRCLkwDKo6fIhkcDSFtASfUuYU8dSdadSI+eC5d/eA5s9jYQHC6rPnOIc68nDzTZy0FeVUfR/uoezXEXYuNzD6bkPs1q6UOHdI6wzKYIN8gnxafdTgaHPzTThm0F7c9XFz7pF429FLjNzBs8w8pu2u50qHmQVISxmgk8DNtuX1LuBnkSq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XZ4cccUct7jcHS88BrqXmsZV/wgz5LBxR+X5Addi2tvsAI2WFWo6H56TftOuq0bvt/Vxr51F5YwKfG0WdjTXsqiDkzovDy74kPPvxutWjZjrdIpNp1bD/SzOdF5p5PoRzHzb961vbHtDKBmqNe2ystLXfyvS7g9DPel4r3gwCpou4S1mo1S91wozrVNPgQmpa6E6rP0robE55OD2292CNHM8mRBQ6/bls6+0xWIybxA4oNEfKaOosh3f6FnkFFlBpZob5F0FIlQUatRfQ4Nnm0i6E1+sBhV61LY27EJ/p116gBusE75y6HzV/ukaN7v/CiKaE383QdbdwmFZMNPXkNaVdgdNLCcwaNdaqPVHnm9JWaOe1aYOazotS5VRontZ4BKj20F8gT3YcDpriACNVtQKk7jmotKvVHFRZ7g2/K5F4z+D+pnMLqGcnVE4HbYni2FLGW/SdmkM21S3sbT7Wrkt1DlR6lJBSz6CsD6qsdE956nm71FnvfKhs6gxMUa9nIwIuZMocRY1qsjRQEATBK1wiLgiCIAhCYGROXBAEQRASRURcEARBEBJFRFwQBEEQEkVEXBAEQRASRURcEARBEBJFRFwQBEEQEkVEXBAEQRASRURcEARBEBJFRFwQBEEQEkVEXBAEQRASRURcEARBEFKkKIr/A2uTA1xKvcQhAAAAAElFTkSuQmCC\"","module.exports = __webpack_public_path__ + \"static/media/logo-carik.6dd71096.svg\";","module.exports = __webpack_public_path__ + \"static/media/logo-sim-pkk.c0207c44.svg\";","module.exports = __webpack_public_path__ + \"static/media/logo-sim-pkk-header.abad1f7d.svg\";","module.exports = __webpack_public_path__ + \"static/media/logo-sim-pkk-white.a2dc71f8.svg\";","module.exports = __webpack_public_path__ + \"static/media/pancasila.1f87a51e.svg\";","module.exports = __webpack_public_path__ + \"static/media/gotong-royong.0376046d.svg\";","module.exports = __webpack_public_path__ + \"static/media/pangan.f3938f90.svg\";","module.exports = __webpack_public_path__ + \"static/media/sandang.ae0ce4b3.svg\";","module.exports = __webpack_public_path__ + \"static/media/rumah-tangga.78fa1bc0.svg\";","module.exports = __webpack_public_path__ + \"static/media/pendidikan-keterampilan.f4b2bffa.svg\";","module.exports = __webpack_public_path__ + \"static/media/kesehatan.edde8f09.svg\";","module.exports = __webpack_public_path__ + \"static/media/koperasi.c833ada2.svg\";","module.exports = __webpack_public_path__ + \"static/media/lingkungan.c174d1e2.svg\";","module.exports = __webpack_public_path__ + \"static/media/perencanaan-sehat.05ee7d7e.svg\";","module.exports = __webpack_public_path__ + \"static/media/kependudukan.6e479d99.svg\";","module.exports = __webpack_public_path__ + \"static/media/KS.a2da9d03.svg\";","module.exports = __webpack_public_path__ + \"static/media/JP.647140e8.svg\";","module.exports = __webpack_public_path__ + \"static/media/JB.c8d920f7.svg\";","module.exports = __webpack_public_path__ + \"static/media/JS.a75de88c.svg\";","module.exports = __webpack_public_path__ + \"static/media/JT.b9dd1d38.svg\";","module.exports = __webpack_public_path__ + \"static/media/JU.1d57cfc0.svg\";","module.exports = __webpack_public_path__ + \"static/media/icon-kelompok.39f6de4e.svg\";","module.exports = __webpack_public_path__ + \"static/media/icon-bangunan.c5987985.svg\";","module.exports = __webpack_public_path__ + \"static/media/icon-krt.63cecff2.svg\";","module.exports = __webpack_public_path__ + \"static/media/icon-keluarga.9138afcf.svg\";","module.exports = __webpack_public_path__ + \"static/media/icon-individu.2bb74cf9.svg\";","module.exports = __webpack_public_path__ + \"static/media/sample-image-dashboard.3be9f61a.jpg\";","module.exports = __webpack_public_path__ + \"static/media/ss-aplikasi-front.e767f856.svg\";","module.exports = __webpack_public_path__ + \"static/media/ss-aplikasi-back.06eab1d7.svg\";","module.exports = __webpack_public_path__ + \"static/media/loading-io.5d407a88.svg\";","Object.defineProperty(exports, '__esModule', {\n  value: true\n});\n\nvar _createClass = (function() {\n  function defineProperties(target, props) {\n    for (var i = 0; i < props.length; i++) {\n      var descriptor = props[i];\n      descriptor.enumerable = descriptor.enumerable || false;\n      descriptor.configurable = true;\n      if ('value' in descriptor) descriptor.writable = true;\n      Object.defineProperty(target, descriptor.key, descriptor);\n    }\n  }\n  return function(Constructor, protoProps, staticProps) {\n    if (protoProps) defineProperties(Constructor.prototype, protoProps);\n    if (staticProps) defineProperties(Constructor, staticProps);\n    return Constructor;\n  };\n})();\n\nvar _react = require('react');\n\nvar _react2 = _interopRequireDefault(_react);\n\nvar _propTypes = require('prop-types');\n\nvar _propTypes2 = _interopRequireDefault(_propTypes);\n\nvar _reactRouterDom = require('react-router-dom');\n\nvar _reactRouter = require('react-router');\n\nvar _classnames = require('classnames');\n\nvar _classnames2 = _interopRequireDefault(_classnames);\n\nfunction _interopRequireDefault(obj) {\n  return obj && obj.__esModule ? obj : { default: obj };\n}\n\nfunction _classCallCheck(instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError('Cannot call a class as a function');\n  }\n}\n\nfunction _possibleConstructorReturn(self, call) {\n  if (!self) {\n    throw new ReferenceError(\n      \"this hasn't been initialised - super() hasn't been called\"\n    );\n  }\n  return call && (typeof call === 'object' || typeof call === 'function')\n    ? call\n    : self;\n}\n\nfunction _inherits(subClass, superClass) {\n  if (typeof superClass !== 'function' && superClass !== null) {\n    throw new TypeError(\n      'Super expression must either be null or a function, not ' +\n        typeof superClass\n    );\n  }\n  subClass.prototype = Object.create(superClass && superClass.prototype, {\n    constructor: {\n      value: subClass,\n      enumerable: false,\n      writable: true,\n      configurable: true\n    }\n  });\n  if (superClass)\n    Object.setPrototypeOf\n      ? Object.setPrototypeOf(subClass, superClass)\n      : (subClass.__proto__ = superClass);\n}\n/**\n * src/RouterLink.jsx\n * Author: H.Alper Tuna <halpertuna@gmail.com>\n * Date: 08.09.2016\n */\n\nvar RouterLink = (function(_React$Component) {\n  _inherits(RouterLink, _React$Component);\n\n  function RouterLink() {\n    _classCallCheck(this, RouterLink);\n\n    return _possibleConstructorReturn(\n      this,\n      (RouterLink.__proto__ || Object.getPrototypeOf(RouterLink)).apply(\n        this,\n        arguments\n      )\n    );\n  }\n\n  _createClass(RouterLink, [\n    {\n      key: 'componentWillMount',\n      value: function componentWillMount() {\n        this.to = this.props.to;\n        if (this.to[0] !== '/') this.to = '/' + this.to;\n\n        this.props.history.listen(this.onLocationChange.bind(this));\n        this.onLocationChange(this.props.location);\n      }\n    },\n    {\n      key: 'onLocationChange',\n      value: function onLocationChange(e) {\n        if ((e.pathname || '/') === this.to) {\n          this.props.activateMe();\n        }\n      }\n    },\n    {\n      key: 'render',\n      value: function render() {\n        var _props = this.props,\n          className = _props.className,\n          classNameActive = _props.classNameActive,\n          classNameHasActiveChild = _props.classNameHasActiveChild,\n          active = _props.active,\n          hasActiveChild = _props.hasActiveChild,\n          to = _props.to,\n          externalLink = _props.externalLink,\n          hasSubMenu = _props.hasSubMenu,\n          toggleSubMenu = _props.toggleSubMenu,\n          children = _props.children;\n\n        return hasSubMenu || externalLink\n          ? _react2.default.createElement(\n              'a',\n              {\n                className: (0, _classnames2.default)(\n                  className,\n                  hasActiveChild && classNameHasActiveChild\n                ),\n                target: externalLink ? '_blank' : undefined,\n                href: to,\n                onClick: toggleSubMenu\n              },\n              children\n            )\n          : _react2.default.createElement(\n              _reactRouterDom.Link,\n              {\n                className: (0, _classnames2.default)(\n                  className,\n                  active && classNameActive\n                ),\n                to: to\n              },\n              children\n            );\n      }\n    }\n  ]);\n\n  return RouterLink;\n})(_react2.default.Component);\n\nRouterLink.propTypes = {\n  className: _propTypes2.default.string.isRequired,\n  classNameActive: _propTypes2.default.string.isRequired,\n  classNameHasActiveChild: _propTypes2.default.string.isRequired,\n  active: _propTypes2.default.bool.isRequired,\n  hasActiveChild: _propTypes2.default.bool.isRequired,\n  to: _propTypes2.default.string.isRequired,\n  externalLink: _propTypes2.default.bool,\n  hasSubMenu: _propTypes2.default.bool.isRequired,\n  toggleSubMenu: _propTypes2.default.func,\n  activateMe: _propTypes2.default.func.isRequired,\n  children: _propTypes2.default.oneOfType([\n    _propTypes2.default.element,\n    _propTypes2.default.array\n  ]).isRequired,\n  location: _propTypes2.default.object.isRequired,\n  history: _propTypes2.default.object.isRequired\n};\n\nexports.default = (0, _reactRouter.withRouter)(RouterLink);\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAHAAAAArCAYAAACgqQx/AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA7DSURBVHgB7VsJbBTXGf5m9rANxKyxAXOELiQcIZdJmqsqwYhc5MJESZOorTBR01MNkFZqpCb10ipSVCUBpDRq2iiY9EhzKEBUqQVCbHKnIcFAOEIIrAFjG3Ms+Frv7Mzr/783Mzu7XmMbXOIq+4lhrvfevH3f/PcY8EAIUU5bDW0nxP8e/IzVtFUihzOG5hzQQq6kXeUH0RP484cHsbOptYce3EXIf91GEvZ9IaDrOvx+H3Q/7X1++Hw6fnbtWNw5rSTbqMs1TVuCHPoNP/9H5C07FU9WPvDyNnyw/0R6C4digRRJp4Gua0SWT5JHvNGeNxNXTxjaE3mMxTSHEJG4EDn0C5qtwlY+8I9tWLe7pXeSstz/VrgI100swop36ok0RZ6zFQ3Nw9M3T8TYwiDGDAuiF8wmEmuRQ5/BEjjvlbpGRR7DK2mZ+4z71xFx95aNwT20McLFQ/HsRw1o7kjCH1AETi8dhiklBTgv6Ms6gY6kwF+jHbh+VD6mFfqq6FItcugzmMBylzywCdOIG5utLHauMC+AB68dj++UjcX4UH7a7bsuGSW35z5twqu7juPBGaNx7/TiHh9+tMvCij0daEgASZ/JBJYhh36BCQztaE45LKRSU3cz1OWD15yPh8snoTDfnzbI50c7aesgG1eMZf9pxN7jcfxl3mRSmQH0hHdbDLx0qAsJTUeQpJNJ5LmgDwhFVtOrU1ihwwrzuYVkdVNkbjSzXWlkYyXv49DXxCKzY871MZE3KwQ0z7MStU7/0si/aMxgOY0abYrcWFsa2UDHethpk3kfXzH8fW3IpEVumdLt+t+2HcGT7x+S6nLbsTjaSSX+4ZaJpx2rwxR4pTEJkzwcH0u8JWBZAn3BuMj6MvJxV9ObFXY8LB2BqrFLN0YOV81Z6rRjkmhk9qwxBMk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F9Kxc0p9Cu5fTv3Lnf4UPLFarXU6sw1kKeR2uiZ6tWM0iv1Zh6BKvrbY0UH8YsXS53XGsCXQsisCwlWRvGdX/42DHRgosCQu/6DRVpuWq2ad5/WGMZF1FVxC0m0bRgsZ5b2zULSf7/3OJdvbHiUHgohw7FyV2ouKbP3pUoW3P9tAqgsuUW31ZaeTJI9WiDpjuvXHAVSjkkC3qJpMLaayb2QL97fLqsFA4IUtRxA9Hrdtn+k+Q5HYuw3UoJepEpJWphbGWOpVfxybOSUkqLphNjUqP8Hg/kzwmMjGZezc2N/ZuP0tpW6lN+vtq5wYKIcEVlVPc6W0iG2TsdYZk5870GqUy0knntzVFvqYUmSWUPbPVaf28WNXFGGIX8OFwwNUA+yfu7+zpRM7j3RSslvH85ub8V59q2trLftzQj6+deoIvPy96TFyRopON576JjQ/lKtEKDCBNTtiRvlv6k55FlVVCJwFtkzn3MKkwoD88ozjuCtHq7LTWir6rt0Tw3enF0nrwapy/d4YdrR04GSnab8UjpMk7BfDrkLYz/zT3VPw/StL1xKBg+qbk8EOJrCc9jW//uQEth5NuAsrbCl0JNJyj1OSkyIhdb3HY5esDCmn/R3TRuC1ykt5PguJwGrk0GfYH2+J6vakteCprTG8e7gzixRaroPjXXhH/Tleq9NWpcZSJJrOWN7+piJ15sTheJ3ICxX4VxB5g+I7k/8neP/Ak93aResOtOOdwx3Yc7wrRZITXtiSJESKTOG28ahcYatd4ZCmwgVXFdP1y0qH4qGZ4zHrAmnyVhF5lcjh7MB/K2j/2fO5+hPrGluF55BDDjnkkEMOOeSQQw455HBu8F+YO3qosa/3XQAAAABJRU5ErkJggg==\"","// Sidebar\nexport const SET_SIDEBAR_TOGGLE_MOBILE =\n  'THEME_OPTIONS/SET_SIDEBAR_TOGGLE_MOBILE';\n\nexport const setSidebarToggleMobile = sidebarToggleMobile => ({\n  type: SET_SIDEBAR_TOGGLE_MOBILE,\n  sidebarToggleMobile\n});\n\nexport default function reducer(\n  state = {\n    sidebarToggleMobile: false\n  },\n  action\n) {\n  switch (action.type) {\n    case SET_SIDEBAR_TOGGLE_MOBILE:\n      return {\n        ...state,\n        sidebarToggleMobile: action.sidebarToggleMobile\n      };\n    default:\n      break;\n  }\n  return state;\n}\n","import jsonProvinsi from \"./json-wilayah/provinsi.json\";\nimport MasterKota from './json-wilayah/kemendagri/MasterKota.json';\nimport MasterKelurahan from './json-wilayah/kemendagri/MasterKelurahan.json';\nimport MasterKecamatan from './json-wilayah/kemendagri/MasterKecamatan.json';\n\nclass masterSelectServices {\n    getProvinsiKemendagri() {\n        return jsonProvinsi;\n      }\n  \n    getKotaKemendagri() {\n        return MasterKota;\n    }\n\n    getKecamatanKemendagri(){\n        return MasterKecamatan;\n    }\n\n    getKelurahanKemendagri(){\n        return MasterKelurahan;\n    }\n}\n\nexport default new masterSelectServices();","export const SET_MASTER = 'VARIABEL/SET_MASTER';","const url = 'https://dev-carik.jakarta.go.id/api/dashboard';\n// const url = 'https://10.50.41.12:8000/dashboard';\nexport const getParams = {\n    page : 0,\n    size : 267,\n    kota : '',\n    kecamatan : '',\n    kelurahan : ''\n}\n\nexport const endPoint = {\n    kependudukan   : {\n        path : url + \"/penduduk-dki-jakarta\",\n    },\n    piramidaPenduduk : {\n        path : url + \"/piramida-penduduk\",\n    },\n    agama : {\n        path : url + \"/agama\",\n    },\n    balita : {\n        path : url + \"/jumlah-balita\",\n    },\n    tidakBekerja : {\n        path : url + \"/tidak-bekerja\",\n    },\n    statusPernikahan : {\n        path : url + \"/status-pernikahan\",\n    },\n    aktaWarga : {\n        path : url + \"/akta-warga\",\n    },\n    lansia : {\n        path : url + \"/lansia\",\n    },\n    pendidikan : {\n        putusSekolah : {\n            path : url + \"/putus-sekolah\"\n        }\n    },\n    kontrasepsi : {\n        pusWus : {\n            path : url + \"/pus-wus\"\n        },\n        kesehatanMsy : {\n            path : url + \"/kesehatan-masyarakat\"\n        }\n    },\n    kesehatan : {\n        bumil :{\n            path : url + \"/ibuhamil\"\n        },\n        kesehatanBayi :{\n            path : url + \"/kesehatan-bayi\"\n        },\n        disabilitas :{\n            path : url + \"/disabilitas\"\n        },\n        kankerWanita : {\n            path : url + \"/kanker-wanita\"\n        },\n        hivTb : {\n            path : url + '/jumlah-hiv-tb'\n        }\n    },\n    lingkungan :{\n        lingkunganRawan : {\n            path : url + '/lingkungan-rawan'\n        }\n    },\n    perumahan :{\n        sumberAir :{\n            path : url + '/sumber-air-keluarga'\n        },\n        pengolahanSampah :{\n            path : url + '/pengolahan-sampah'\n        },\n        rumahSehat : {\n            path : url + '/rumah-sehat'\n        },\n        rumahPtp : {\n            path : url + '/rumah-ptp'\n        },\n        rumahPtpPerikanan :{\n            path : url + '/ptp-perikanan'\n        },\n        rumahPtpPeternakan :{\n            path : url + '/ptp-peternakan'\n        },\n        rumahUp2kIndustri :{\n            path : url + '/rumah-up2k-industri'\n        },\n        karakteristikRumah :{\n            path : url + '/karakteristik-rumah'\n        }\n    },\n    pkk : {\n        wargaAktifBerkegiatan :{\n            path : url + '/warga-aktif-kegiatan'\n        },\n        jumlahPkk :{\n            path : url + '/jumlah-kader-pkk'\n        }\n    },\n    programPemerintah : {\n        programPemerintah : {\n            path : url + '/program-pemerintah'\n        }\n    }\n}\n","import axios from \"axios\";\n\nexport async function client(endpoint, { body, ...customConfig } = {}) {\n    if (endpoint === '') {\n      return new Error({\n        status : 404,\n        statusText : 'API BELUM ADA'\n      })\n    }\n    const headers = { \n        'Content-Type'  : 'application/json',\n        'ilham'         : '31k1ZLP1V7K1eVNozemNNqSCFTLgYE7s'\n    }\n  \n    const config = {\n      method: body ? 'POST' : 'GET',\n      url : endpoint,\n      ...customConfig,\n      headers: {\n        ...headers,\n        ...customConfig.headers,\n      },\n    }\n  \n    if (body) {\n      config.body = JSON.stringify(body)\n    }\n  \n    let data\n    try {\n      const response = await axios(config)\n      data = await response\n      if (response.status === 200) {\n        return data\n      }\n      throw new Error(response.statusText)\n    } catch (err) {\n      return Promise.reject(err.message ? err.message : data)\n    }\n}\n\nclient.get = (endpoint, customConfig = {}) => {\n    return client(endpoint, { ...customConfig, method: 'GET' })\n}\n  \nclient.post = (endpoint, body, customConfig = {}) => {\n    return client(endpoint, { ...customConfig, body })\n}\n  \n\n","import { SET_MASTER } from \"reducers/Action\";\nimport { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {\n      jumlah_penduduk : 0,\n      jumlah_laki_laki : 0,\n      jumlah_perempuan : 0,\n      jumlah_ktp_non_dki : 0,\n      jumlah_ktp_dki : 0,\n      jml_anak : 0,\n      jumlah_remaja : 0\n  },\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n  \n  Object.keys(tmp).map((key, index) => {\n      tmp[key] = {\n        ...tmp[key],\n        jumlah_penduduk : count({arr : tmp[key].data, obj : 'jumlah_penduduk'}),\n        jumlah_laki_laki : count({arr : tmp[key].data, obj : 'jumlah_laki_laki'}),\n        jumlah_perempuan : count({arr : tmp[key].data, obj : 'jumlah_perempuan'}),\n        jumlah_ktp_non_dki : count({arr : tmp[key].data, obj : 'jumlah_ktp_non_dki'}),\n        jumlah_ktp_dki : count({arr : tmp[key].data, obj : 'jumlah_ktp_dki'}),\n        jml_anak : count({arr : tmp[key].data, obj : 'jml_anak'}),\n        jumlah_remaja : count({arr : tmp[key].data, obj : 'jumlah_remaja'}),\n      }\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case 'SET_DATA_KEPENDUDUKAN':\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        if (key0 === 'jumlah_penduduk') {\n          return false;\n        }\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' '),\n          value : key0\n        });\n      })\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            jumlah_penduduk : count({arr : state.master, obj : 'jumlah_penduduk'}),\n            jumlah_laki_laki : count({arr : state.master, obj : 'jumlah_laki_laki'}),\n            jumlah_perempuan : count({arr : state.master, obj : 'jumlah_perempuan'}),\n            jumlah_ktp_non_dki : count({arr : state.master, obj : 'jumlah_ktp_non_dki'}),\n            jumlah_ktp_dki : count({arr : state.master, obj : 'jumlah_ktp_dki'}),\n            jml_anak : count({arr : state.master, obj : 'jml_anak'}),\n            jumlah_remaja : count({arr : state.master, obj : 'jumlah_remaja'}),\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n          payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nexport const fetchKependudukan = async (dispatch, getState) => {\n  const response = await client.get(endPoint.kependudukan.path, {\n    params : getParams\n  })\n\n  if (response.status === 200) {\n    dispatch({ \n      type: 'SET_DATA_KEPENDUDUKAN', \n      payload: response,\n      isNull : 0 \n    })\n  } \n\n  return fetchField(dispatch, getState)\n}\n\n\nconst fetchField = async (dispatch, getState) => {\n    dispatch({ \n      type: 'SET_FIELD',\n    })\n  return fetchJumlahProv(dispatch, getState)\n}\n\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBarang(dispatch, getState);\n}\n\nconst fetchGrafikBarang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n  \n  return fetchVariabel(dispatch, getState)\n}\n\nconst fetchVariabel = async (dispatch, getState) => {\n  dispatch({\n    type : SET_MASTER,\n    payload : {\n      kependudukan : getState().ReducersKependudukan.fieldReactSelected\n    }\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart, NumberSeparator } from \"../../../helpers\";\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {\n    jumlah_agama_islam : 0,\n    jumlah_agama_kristen : 0,\n    jumlah_agama_katolik : 0,\n    jumlah_agama_hindu : 0,\n    jumlah_agama_budha : 0,\n    jumlah_agama_konghucu : 0,\n  },\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n      tmp[key] = {\n        ...tmp[key],\n        jumlah_agama_islam : count({arr : tmp[key].data, obj : 'jumlah_agama_islam'}),\n        jumlah_agama_kristen : count({arr : tmp[key].data, obj : 'jumlah_agama_kristen'}),\n        jumlah_agama_katolik : count({arr : tmp[key].data, obj : 'jumlah_agama_katolik'}),\n        jumlah_agama_hindu : count({arr : tmp[key].data, obj : 'jumlah_agama_hindu'}),\n        jumlah_agama_budha : count({arr : tmp[key].data, obj : 'jumlah_agama_budha'}),\n        jumlah_agama_konghucu : count({arr : tmp[key].data, obj : 'jumlah_agama_konghucu'}),\n      }\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case 'SET_DATA_AGAMA':\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah agama', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            jumlah_agama_islam : count({arr : state.master, obj : 'jumlah_agama_islam'}),\n            jumlah_agama_kristen : count({arr : state.master, obj : 'jumlah_agama_kristen'}),\n            jumlah_agama_katolik : count({arr : state.master, obj : 'jumlah_agama_katolik'}),\n            jumlah_agama_hindu : count({arr : state.master, obj : 'jumlah_agama_hindu'}),\n            jumlah_agama_budha : count({arr : state.master, obj : 'jumlah_agama_budha'}),\n            jumlah_agama_konghucu : count({arr : state.master, obj : 'jumlah_agama_konghucu'}),\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nexport const fetchMaster = async (dispatch, getState) => {\n  const response = await client.get(endPoint.agama.path, {\n    params : getParams\n  })\n\n  if (response.status === 200) {\n    dispatch({ \n      type: 'SET_DATA_AGAMA', \n      payload: response,\n      isNull : 0 \n    })\n  } \n\n  return fetchField(dispatch, getState)\n}\n\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\n\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart, NumberSeparator } from \"../../../helpers\";\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {\n    jumlah_menikah : 0,\n    jumlah_punya_buku_nikah : 0,\n    jumlah_tidak_miliki_akte_nikah : 0,\n    jumlah_cerai_hidup : 0,\n    jumlah_cerai_mati : 0\n  },\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n      tmp[key] = {\n        ...tmp[key],\n        jumlah_menikah : count({arr : tmp[key].data, obj : 'jumlah_menikah'}),\n        jumlah_punya_buku_nikah : count({arr : tmp[key].data, obj : 'jumlah_punya_buku_nikah'}),\n        jumlah_tidak_miliki_akte_nikah : count({arr : tmp[key].data, obj : 'jumlah_tidak_miliki_akte_nikah'}),\n        jumlah_cerai_hidup : count({arr : tmp[key].data, obj : 'jumlah_cerai_hidup'}),\n        jumlah_cerai_mati : count({arr : tmp[key].data, obj : 'jumlah_cerai_mati'}),\n      }\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case 'SET_DATA_MASTER':\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        if (key0 === 'jumlah_menikah') {\n            return false;\n        }\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            jumlah_menikah : count({arr : state.master, obj : 'jumlah_menikah'}),\n            jumlah_punya_buku_nikah : count({arr : state.master, obj : 'jumlah_punya_buku_nikah'}),\n            jumlah_tidak_miliki_akte_nikah : count({arr : state.master, obj : 'jumlah_tidak_miliki_akte_nikah'}),\n            jumlah_cerai_hidup : count({arr : state.master, obj : 'jumlah_cerai_hidup'}),\n            jumlah_cerai_mati : count({arr : state.master, obj : 'jumlah_cerai_mati'}),\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nexport const fetchMaster = async (dispatch, getState) => {\n  const response = await client.get(endPoint.statusPernikahan.path, {\n    params : getParams\n  })\n\n  if (response.status === 200) {\n    dispatch({ \n      type: 'SET_DATA_MASTER', \n      payload: response,\n      isNull : 0 \n    })\n  } \n\n  return fetchField(dispatch, getState)\n}\n\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\n\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case 'SET_DATA_TIDAK_BEKERJA':\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nexport const fetchMaster = async (dispatch, getState) => {\n  const response = await client.get(endPoint.tidakBekerja.path, {\n    params : getParams\n  })\n\n  if (response.status === 200) {\n    dispatch({ \n      type: 'SET_DATA_TIDAK_BEKERJA', \n      payload: response,\n      isNull : 0 \n    })\n  } \n\n  return fetchField(dispatch, getState)\n}\n\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {});\n  \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case 'SET_DATA_PIRAMIDA':\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n      let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n      })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n        }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nexport const fetchMaster = async (dispatch, getState) => {\n  const response = await client.get(endPoint.piramidaPenduduk.path, {\n    params : getParams\n  })\n\n  if (response.status === 200) {\n    dispatch({ \n      type: 'SET_DATA_PIRAMIDA', \n      payload: response,\n      isNull : 0 \n    })\n  } \n\n  return fetchField(dispatch, getState)\n}\n\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\n\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case 'SET_DATA_BALITA':\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nexport const fetchMaster = async (dispatch, getState) => {\n  const response = await client.get(endPoint.balita.path, {\n    params : getParams\n  })\n\n  if (response.status === 200) {\n    dispatch({ \n      type: 'SET_DATA_BALITA', \n      payload: response,\n      isNull : 0 \n    })\n  } \n\n  return fetchField(dispatch, getState)\n}\n\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case 'SET_DATA_LANSIA':\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nexport const fetchMaster = async (dispatch, getState) => {\n  const response = await client.get(endPoint.lansia.path, {\n    params : getParams\n  })\n\n  if (response.status === 200) {\n    dispatch({ \n      type: 'SET_DATA_LANSIA', \n      payload: response,\n      isNull : 0 \n    })\n  } \n\n  return fetchField(dispatch, getState)\n}\n\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case 'SET_DATA_AKTA_WARGA':\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nexport const fetchMaster = async (dispatch, getState) => {\n  const response = await client.get(endPoint.aktaWarga.path, {\n    params : getParams\n  })\n\n  if (response.status === 200) {\n    dispatch({ \n      type: 'SET_DATA_AKTA_WARGA', \n      payload: response,\n      isNull : 0 \n    })\n  } \n\n  return fetchField(dispatch, getState)\n}\n\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nexport const SET_MASTER =\n  'PENDIDIKAN/SET_MASTER';\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nexport const fetchMaster = async (dispatch, getState) => {\n  const response = await client.get(endPoint.pendidikan.putusSekolah.path, {\n    params : getParams\n  })\n\n  if (response.status === 200) {\n    dispatch({ \n      type: SET_MASTER, \n      payload: response,\n      isNull : 0 \n    })\n  } \n\n  return fetchField(dispatch, getState)\n}\n\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nexport const SET_MASTER =\n  'KESEHATAN/BUMIL/SET_MASTER';\n\nexport const fetchMaster = async (dispatch, getState) => {\n    const response = await client.get(endPoint.kesehatan.bumil.path, {\n        params : getParams\n    })\n\n    if (response.status === 200) {\n        dispatch({ \n        type: SET_MASTER, \n        payload: response,\n        isNull : 0 \n        })\n    } \n\n    return fetchField(dispatch, getState)\n}\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n\n  \n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nexport const SET_MASTER =\n  'KESEHATAN/DISABILTAS/SET_MASTER';\n\nexport const fetchMaster = async (dispatch, getState) => {\n    const response = await client.get(endPoint.kesehatan.disabilitas.path, {\n        params : getParams\n    })\n\n    if (response.status === 200) {\n        dispatch({ \n        type: SET_MASTER, \n        payload: response,\n        isNull : 0 \n        })\n    } \n\n    return fetchField(dispatch, getState)\n}\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nexport const SET_MASTER =\n  'KESEHATAN/HIV_TB/SET_MASTER';\n\nexport const fetchMaster = async (dispatch, getState) => {\n    const response = await client.get(endPoint.kesehatan.hivTb.path, {\n        params : getParams\n    })\n\n    if (response.status === 200) {\n        dispatch({ \n          type: SET_MASTER, \n          payload: response,\n          isNull : 0 \n        })\n    }\n    \n    if (response.status !== 200) {\n      return dispatch({ \n        type: 'SET_ERROR',\n      })\n    }\n\n    return fetchField(dispatch, getState)\n}\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n      case 'SET_ERROR':\n          return {\n            ...state,\n            isError : 1\n          }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nexport const SET_MASTER =\n  'KESEHATAN/KANKER_PEREMPUAN/SET_MASTER';\n\nexport const fetchMaster = async (dispatch, getState) => {\n    const response = await client.get(endPoint.kesehatan.kankerWanita.path, {\n        params : getParams\n    })\n    if (response.status === 200) {\n        dispatch({ \n          type: SET_MASTER, \n          payload: response,\n          isNull : 0 \n        })\n    }\n    \n    if (response.status !== 200) {\n      return dispatch({ \n        type: 'SET_ERROR' \n      })\n  }\n\n    return fetchField(dispatch, getState)\n}\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_ERROR' :\n        return {\n          ...state,\n          isError : 1\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nexport const SET_MASTER =\n  'KESEHATAN/KESEHATAN_BAYI/SET_MASTER';\n\nexport const fetchMaster = async (dispatch, getState) => {\n    const response = await client.get(endPoint.kesehatan.kesehatanBayi.path, {\n        params : getParams\n    })\n\n    if (response.status === 200) {\n        dispatch({ \n        type: SET_MASTER, \n        payload: response,\n        isNull : 0 \n        })\n    } \n\n    return fetchField(dispatch, getState)\n}\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nexport const SET_MASTER =\n  'KONTRASEPSI/PUS_WUS/SET_MASTER';\n\nexport const fetchMaster = async (dispatch, getState) => {\n    const response = await client.get(endPoint.kontrasepsi.pusWus.path, {\n        params : getParams\n    })\n\n    if (response.status === 200) {\n        dispatch({ \n        type: SET_MASTER, \n        payload: response,\n        isNull : 0 \n        })\n    } \n\n    return fetchField(dispatch, getState)\n}\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nexport const SET_MASTER =\n  'KONTRASEPSI/KESEHATAN_MASYARAKAT/SET_MASTER';\n\nexport const fetchMaster = async (dispatch, getState) => {\n    const response = await client.get(endPoint.kontrasepsi.kesehatanMsy.path, {\n        params : getParams\n    })\n\n    if (response.status === 200) {\n        dispatch({ \n        type: SET_MASTER, \n        payload: response,\n        isNull : 0 \n        })\n    } \n\n    return fetchField(dispatch, getState)\n}\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nexport const SET_MASTER =\n  'LINGKUNGAN/LINGKUNGAN_RAWAN/SET_MASTER';\n\nexport const fetchMaster = async (dispatch, getState) => {\n    const response = await client.get(endPoint.lingkungan.lingkunganRawan.path, {\n        params : getParams\n    })\n\n    if (response.status === 200) {\n        dispatch({ \n        type: SET_MASTER, \n        payload: response,\n        isNull : 0 \n        })\n    }\n    \n    if (response.status !== 200) {\n      return dispatch({\n        type: 'SET_ERROR'\n      })\n    }\n\n    return fetchField(dispatch, getState)\n}\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_ERROR':\n      return {\n        ...state,\n        isError : 1\n      }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nexport const SET_MASTER =\n  'PERUMAHAN/PENGOLAHAN_SAMPAH/SET_MASTER';\n\nexport const fetchMaster = async (dispatch, getState) => {\n    const response = await client.get(endPoint.perumahan.pengolahanSampah.path, {\n        params : getParams\n    })\n\n    if (response.status === 200) {\n        dispatch({ \n        type: SET_MASTER, \n        payload: response,\n        isNull : 0 \n        })\n    } \n\n    return fetchField(dispatch, getState)\n}\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nexport const SET_MASTER =\n  'PERUMAHAN/LAHAN/SET_MASTER';\n\nexport const fetchMaster = async (dispatch, getState) => {\n    const response = await client.get(endPoint.perumahan.rumahPtp.path, {\n        params : getParams\n    })\n\n    if (response.status === 200) {\n        dispatch({ \n        type: SET_MASTER, \n        payload: response,\n        isNull : 0 \n        })\n    }\n    \n    if (response.status !== 200) {\n      dispatch({ \n        type: 'SET_ERROR', \n      })\n    } \n\n    return fetchField(dispatch, getState)\n}\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_ERROR':\n      return {\n        ...state,\n        isError : 1\n      }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nexport const SET_MASTER =\n  'PERUMAHAN/PERIKANAN/SET_MASTER';\n\nexport const fetchMaster = async (dispatch, getState) => {\n    const response = await client.get(endPoint.perumahan.rumahPtpPerikanan.path, {\n        params : getParams\n    })\n\n    if (response.status === 200) {\n        dispatch({ \n        type: SET_MASTER, \n        payload: response,\n        isNull : 0 \n        })\n    } \n\n    return fetchField(dispatch, getState)\n}\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nexport const SET_MASTER =\n  'PERUMAHAN/PETERNAKAN/SET_MASTER';\n\nexport const fetchMaster = async (dispatch, getState) => {\n    const response = await client.get(endPoint.perumahan.rumahPtpPeternakan.path, {\n        params : getParams\n    })\n\n    if (response.status === 200) {\n        dispatch({ \n        type: SET_MASTER, \n        payload: response,\n        isNull : 0 \n        })\n    } \n\n    return fetchField(dispatch, getState)\n}\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nexport const SET_MASTER =\n  'PERUMAHAN/RUMAH_SEHAT/SET_MASTER';\n\nexport const fetchMaster = async (dispatch, getState) => {\n    const response = await client.get(endPoint.perumahan.rumahSehat.path, {\n        params : getParams\n    })\n\n    if (response.status === 200) {\n        dispatch({ \n        type: SET_MASTER, \n        payload: response,\n        isNull : 0 \n        })\n    } \n\n    return fetchField(dispatch, getState)\n}\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    case 'SET_LOADING_RS':\n        return {\n          ...state,\n          isNull : 0\n        };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n\n  return fetchLoading(dispatch, getState)\n}\n\nconst fetchLoading = async(dispatch, getState) => {\n  dispatch({\n    type : 'SET_LOADING_RS'\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nexport const SET_MASTER =\n  'PERUMAHAN/UP2K_INDUSTRI/SET_MASTER';\n\nexport const fetchMaster = async (dispatch, getState) => {\n    const response = await client.get(endPoint.perumahan.rumahUp2kIndustri.path, {\n        params : getParams\n    })\n\n    if (response.status === 200) {\n        dispatch({ \n        type: SET_MASTER, \n        payload: response,\n        isNull : 0 \n        })\n    } \n\n    return fetchField(dispatch, getState)\n}\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nexport const SET_MASTER =\n  'PERUMAHAN/SUMBER_AIR/SET_MASTER';\n\nexport const fetchMaster = async (dispatch, getState) => {\n    const response = await client.get(endPoint.perumahan.sumberAir.path, {\n        params : getParams\n    })\n\n    if (response.status === 200) {\n        dispatch({ \n        type: SET_MASTER, \n        payload: response,\n        isNull : 0 \n        })\n    } \n\n    return fetchField(dispatch, getState)\n}\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { setGroupData, ModelBarChart, setFieldData, count } from \"helpers\";\n\nexport const SET_MASTER = 'PKK/DATA_KADER/SET_MASTER';\n\nexport const fetchMaster = async (dispatch, getState) => {\n    const response = await client.get(endPoint.pkk.jumlahPkk.path, {\n        params : {\n          page : 2,\n          size : 267,\n          kota : '',\n          kecamatan : '',\n          kelurahan : ''\n      }\n    })\n\n    if (response.status === 200) {\n        dispatch({ \n        type: SET_MASTER, \n        payload: response,\n        isNull : 0 \n        })\n    } \n\n    return fetchField(dispatch, getState)\n}\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n        }\n    case 'SET_FIELD':\n      const calbackVal = setFieldData(state);\n\n      return {\n        ...state,\n        field : calbackVal.tmpField,\n        fieldReactSelected : calbackVal.tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : setGroupData(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    case 'SET_LOADING_PKK':\n        return {\n          ...state,\n          isNull : 0\n        };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n\n  return fetchLoadingKader(dispatch, getState)\n}\n\nconst fetchLoadingKader = async(dispatch, getState) => {\n  dispatch({\n    type : 'SET_LOADING_PKK'\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nexport const SET_MASTER =\n  'PKK/DATA_WARGA_AKTIF/SET_MASTER';\n\nexport const fetchMaster = async (dispatch, getState) => {\n    const response = await client.get(endPoint.pkk.wargaAktifBerkegiatan.path, {\n        params : getParams\n    })\n\n    if (response.status === 200) {\n        dispatch({ \n        type: SET_MASTER, \n        payload: response,\n        isNull : 0 \n        })\n    } \n\n    return fetchField(dispatch, getState)\n}\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","import { endPoint, getParams } from \"../../../config/endPoint\";\nimport { client } from \"../../../config/Services\";\nimport { CharacterRemove, ModelBarChart } from \"../../../helpers\";\n\nexport const SET_MASTER =\n  'PROGRAM_PEMERINTAH/SET_MASTER';\n\nexport const fetchMaster = async (dispatch, getState) => {\n    const response = await client.get(endPoint.programPemerintah.programPemerintah.path, {\n        params : getParams\n    })\n\n    if (response.status === 200) {\n        dispatch({ \n        type: SET_MASTER, \n        payload: response,\n        isNull : 0 \n        })\n    } \n\n    return fetchField(dispatch, getState)\n}\n\nconst initialState = {\n  master: [],\n  field : [],\n  fieldReactSelected : [],\n  jumlahProvinsi : {},\n  jumlahPerkota : null,\n  barChart : [],\n  pieChart : [],\n  isNull : 1,\n  isError : 0,\n}\n\nconst count = (prop) => {\n  let total = 0\n  prop.arr.reduce((key, currentValue) => {\n    total += currentValue[prop.obj];\n  }, 0);\n\n  return total;\n}\n\nconst groupBy = (array, key, field) => {\n  let tmp = array.reduce((result, currentValue) => {\n    if (!result[currentValue[key]]) {\n      result[currentValue[key]] = {\n        data : [],\n      };\n    }\n    result[currentValue[key]].data.push(currentValue);\n\n    return result;\n  }, {}); \n\n  Object.keys(tmp).map((key, index) => {\n    field.map((data, i) => {\n      tmp[key] = {\n        ...tmp[key],\n        [data] : count({arr : tmp[key].data, obj : data})\n      }\n    })\n  });\n\n  return tmp;\n};\n\nexport default function reducer(state = initialState, action){\n  switch (action.type) {\n    case SET_MASTER:\n        return {\n          ...state,\n          master : action.payload.data.data,\n          isNull : action.isNull\n        }\n    case 'SET_FIELD':\n      let tmpField = [];\n      let tmpFieldReactSelect = [];\n      Object.keys(state.master.length > 0 ? state.master[0] : []).map((key0, index) => {\n        if ([\"id\", \"kota\", \"kecamatan\", \"kelurahan\", \"rw\", \"rt\", \"createdAt\", \"updatedAt\", \"kode_wilayah\"].includes(key0) ) {\n            return false;\n        }\n\n        tmpField.push(key0);\n        tmpFieldReactSelect.push({\n          label : CharacterRemove(key0, /_/g, ' ').replace('jumlah ', ''),\n          value : key0\n        });\n      })\n\n      return {\n        ...state,\n        field : tmpField,\n        fieldReactSelected : tmpFieldReactSelect\n      }\n    case 'SET_JUMLAH_PROV':\n        let tmpJumlahProvinsi = null;\n        state.field.map((data, i) => {\n          tmpJumlahProvinsi = {\n            ...tmpJumlahProvinsi,\n            [data] : count({arr : state.master, obj : data})\n          }\n        })\n\n        return {\n          ...state,\n          jumlahProvinsi : {\n            ...state.jumlahProvinsi,\n            ...tmpJumlahProvinsi\n          }\n        };\n    case 'SET_JUMLAH_KOTA':\n        return {\n          ...state,\n          jumlahPerkota : groupBy(state.master, 'kota', state.field)\n        };\n    case 'SET_JUMLAH_KECAMATAN':\n        return {\n          ...state\n        };\n    case 'SET_JUMLAH_KABUPATEN':\n        return {\n          ...state\n        };\n    case 'SET_GRAFIK_BATANG':\n      return {\n        ...state,\n        barChart : ModelBarChart(state, {\n            payload : state.jumlahPerkota\n        })\n      };\n    case 'SET_GRAFIK_PIE':\n      return {\n        ...state,\n        pieChart : []\n      };\n    case 'SET_MAP':\n      return {\n        ...state\n      };\n    default:\n      break;\n  }\n\n  return state;\n}\n\n// thunk function\nconst fetchField = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_FIELD',\n  })\n  return fetchJumlahProv(dispatch, getState)\n}\n\nconst fetchJumlahProv = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_PROV', \n  })\n\n  return  fetchJumlahKota(dispatch, getState)\n}\n\nconst fetchJumlahKota = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_JUMLAH_KOTA', \n  })\n\n  return fetchGrafikBatang(dispatch, getState);\n}\n\nconst fetchGrafikBatang = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_BATANG',\n  })\n\n  return fetchGrafikPie(dispatch, getState)\n}\n\nconst fetchGrafikPie = async (dispatch, getState) => {\n  dispatch({ \n    type: 'SET_GRAFIK_PIE',\n  })\n}","\nconst initialState = {\n    master: null,\n  }\n\nexport default initialState;","import { SET_MASTER } from \"../Action\"\n\nexport const fetchMasterVariabel = async (dispatch, getState) => {\n    dispatch({ \n        type: SET_MASTER, \n        payload: getState,\n    }) \n  \n  }","const user = JSON.parse(localStorage.getItem(\"user\"));\nconst wilayah = JSON.parse(localStorage.getItem(\"wilayah\"));\nconst levelWilayah = JSON.parse(localStorage.getItem(\"levelWilayah\"));\n\nconst initialState = user\n    ? { isLoggedIn: true, user, wilayah, levelWilayah }\n    : { isLoggedIn: false, user: null, wilayah: null, levelWilayah : null };\n\n    export default initialState;","const url = process.env.REACT_APP_ENDPOINT_API;\nexport const urlLocalKibana = process.env.REACT_APP_ENDPOINT_KIBANA ? process.env.REACT_APP_ENDPOINT_KIBANA : 'https://localhost:5601/';\nexport const urlLocalElastic = process.env.REACT_APP_ENDPOINT_ELASTIC ? process.env.REACT_APP_ENDPOINT_ELASTIC : 'https://localhost:9200/';\nexport const urlLocalPksp = process.env.REACT_APP_ENDPOINT_PKSP ? process.env.REACT_APP_ENDPOINT_PKSP : 'https://localhost:3082/';\nexport const urlLocalWilayah = process.env.REACT_APP_ENDPOINT_WILAYAH;\nexport const urlLocal = 'https://localhost:9200/';\n\nexport const getParams = {\n    page : 0,\n    size : 267,\n    kota : '',\n    kecamatan : '',\n    kelurahan : ''\n}\n\nexport const endPoint = {\n    dashboard : {\n        path : url + \"/dashboard/pendataan-2021\",\n        master_path : url + \"/dashboard\"\n    },\n    dashboard_bps : {\n        path : url + \"/dashboard/bps/\",\n        master_code : url + \"/dashboard/dashboard/master-code\"\n    },\n    bnba : {\n        path : url + \"/bnba\",\n    },\n    topikData : {\n        path : url + \"/setup-dashboard/dashboard/\",\n    },\n    setupDashboard : {\n        path : url + \"/setup-dashboard\",\n    },\n    auth : {\n        login : {\n            path : url + \"/auth/signin\"\n        },\n        register : {\n            path : url + \"\"\n        }\n    },\n    kependudukan   : {\n        path : url + \"/dashboard/penduduk-dki-jakarta\",\n    },\n    piramidaPenduduk : {\n        path : url + \"/dashboard/piramida-penduduk\",\n    },\n    agama : {\n        path : url + \"/dashboard/agama\",\n    },\n    balita : {\n        path : url + \"/dashboard/jumlah-balita\",\n    },\n    tidakBekerja : {\n        path : url + \"/dashboard/tidak-bekerja\",\n    },\n    statusPernikahan : {\n        path : url + \"/dashboard/status-pernikahan\",\n    },\n    aktaWarga : {\n        path : url + \"/dashboard/akta-warga\",\n    },\n    lansia : {\n        path : url + \"/dashboard/lansia\",\n    },\n    pendidikan : {\n        putusSekolah : {\n            path : url + \"/dashboard/putus-sekolah\"\n        }\n    },\n    kontrasepsi : {\n        pusWus : {\n            path : url + \"/dashboard/pus-wus\"\n        },\n        kesehatanMsy : {\n            path : url + \"/dashboard/kesehatan-masyarakat\"\n        },\n        pengunaanKb : {\n            path : url + \"/dashboard/kb\"\n        }\n    },\n    kesehatan : {\n        bumil :{\n            path : url + \"/dashboard/ibuhamil\"\n        },\n        kesehatanBayi :{\n            path : url + \"/dashboard/kesehatan-bayi\"\n        },\n        disabilitas :{\n            path : url + \"/dashboard/disabilitas\"\n        },\n        kankerWanita : {\n            path : url + \"/dashboard/kanker-wanita\"\n        },\n        hivTb : {\n            path : url + '/dashboard/jumlah-hiv-tb'\n        }\n    },\n    lingkungan :{\n        lingkunganRawan : {\n            path : url + '/dashboard/lingkungan-rawan'\n        }\n    },\n    perumahan :{\n        sumberAir :{\n            path : url + '/dashboard/sumber-air-keluarga'\n        },\n        pengolahanSampah :{\n            path : url + '/dashboard/pengolahan-sampah'\n        },\n        rumahSehat : {\n            path : url + '/dashboard/rumah-sehat'\n        },\n        rumahPtp : {\n            path : url + '/dashboard/rumah-ptp'\n        },\n        rumahPtpPerikanan :{\n            path : url + '/dashboard/ptp-perikanan'\n        },\n        rumahPtpPeternakan :{\n            path : url + '/dashboard/ptp-peternakan'\n        },\n        rumahUp2kIndustri :{\n            path : url + '/dashboard/rumah-up2k-industri'\n        },\n        karakteristikRumah :{\n            path : url + '/dashboard/karakteristik-rumah'\n        }\n    },\n    pkk : {\n        wargaAktifBerkegiatan :{\n            path : url + '/dashboard/warga-aktif-kegiatan'\n        },\n        jumlahPkk :{\n            path : url + '/dashboard/jumlah-kader-pkk'\n        }\n    }\n}\n","import { SET_MESSAGE, CLEAR_MESSAGE } from \"../TypeAction\";\nconst initialState = {\n  message : \"\",\n  code : 0\n};\n\nexport default function (state = initialState, action) {\n  const { type, payload } = action;\n  switch (type) {\n    case SET_MESSAGE:\n      return { \n        message: payload.message,\n        code : payload.code\n      };\n    case CLEAR_MESSAGE:\n      return { \n        message: \"\",\n        code: 0\n      };\n    default:\n      return state;\n  }\n}","import { SET_MESSAGE, CLEAR_MESSAGE } from \"../TypeAction\";\n\nexport const setMessage = (payload) => (dispatch, getState) => (dispatch({\n  type: SET_MESSAGE,\n  payload: {\n    message : payload.message,\n    code : payload.code\n  },\n}));\n\nexport const clearMessage = () => (dispatch, getState) => (dispatch(\n  {\n    type: CLEAR_MESSAGE,\n  }\n));","export const SET_MASTER = 'VARIABEL/SET_MASTER';\n\nexport const REGISTER_SUCCESS = \"REGISTER_SUCCESS\";\nexport const REGISTER_FAIL = \"REGISTER_FAIL\";\nexport const LOGIN_SUCCESS = \"LOGIN_SUCCESS\";\nexport const LOGIN_FAIL = \"LOGIN_FAIL\";\nexport const LOGOUT = \"LOGOUT\";\nexport const SET_MESSAGE = \"SET_MESSAGE\";\nexport const CLEAR_MESSAGE = \"CLEAR_MESSAGE\";\n\nexport const SET_AGREGAT = \"VISUALISASI/AGREGAT\";\nexport const SET_BNBA = \"BNBA/CROSTAB\";\nexport const SET_PROVINSI = \"DATA/SET_PROVINSI\";\nexport const SET_KOTA = \"DATA/SET_KOTA\";\nexport const SET_KECAMATAN = \"DATA/SET_KECAMATAN\";\nexport const SET_KELURAHAN = \"DATA/SET_KELURAHAN\";\nexport const SET_RW = \"DATA/SET_RW\";\nexport const SET_RT = \"DATA/SET_RT\";\n\nexport const SET_TOPIK_DATA = \"DASHBOARD/TOPIK_DATA\";\nexport const SET_GRAFIK = \"DASHBOARD/GRAFIK\";\nexport const GET_LIST_GRAFIK_CROSTAB = \"GRAFIK_CROSTAB/LIST\";\nexport const GET_DATA_GRAFIK_CROSTAB = \"GRAFIK_CROSTAB/DATA\";\nexport const START_LOADING = \"DATA/START_LOADING\";\nexport const END_LOADING = \"DATA/END_LOADING\";\nexport const GET_DATA_PENGAJUAN = \"LIST/PENGAJUAN/GET\";\nexport const POST_FROM_PENGAJUAN = \"FROM/PENGAJUAN/POST\";\nexport const PUT_FROM_PENGAJUAN = \"FROM/PENGAJUAN/PUT\";\nexport const SET_FROM_PENGAJUAN = \"FROM/PENGAJUAN/SET\";\nexport const SET_WILAYAH_DASHBOARD = \"DASHBOARD/WILAYAH_FILTER\";\n\n/*\nBUMIL ACTION LIST\n*/\nexport const SET_BUMIL_MASTER ='BUMIL/SET_MASTER';\nexport const SET_BUMIL_FIELD = \"BUMIL/FIELD\";\nexport const SET_BUMIL_PROV = \"BUMIL/PROV\";\nexport const SET_BUMIL_KOTA = \"BUMIL/KOTA\";\nexport const SET_BUMIL_KECAMATAN = \"BUMIL/KECAMATAN\";\nexport const SET_BUMIL_KELURAHAN = \"BUMIL/KELURAHAN\";\nexport const SET_BUMIL_GRAFIK_BATANG = \"BUMIL/GRAFIK_BATANG\";\nexport const SET_BUMIL_GRAFIK_PIE = \"BUMIL/GRAFIK_PIE\";\nexport const SET_BUMIL_MAP = \"BUMIL/MAP\";\n\n/*\nDISABILITAS ACTION LIST\n*/\nexport const SET_DISABILITAS_MASTER ='DISABILITAS/SET_MASTER';\nexport const SET_DISABILITAS_FIELD = \"DISABILITAS/FIELD\";\nexport const SET_DISABILITAS_PROV = \"DISABILITAS/PROV\";\nexport const SET_DISABILITAS_KOTA = \"DISABILITAS/KOTA\";\nexport const SET_DISABILITAS_KECAMATAN = \"DISABILITAS/KECAMATAN\";\nexport const SET_DISABILITAS_KELURAHAN = \"DISABILITAS/KELURAHAN\";\nexport const SET_DISABILITAS_GRAFIK_BATANG = \"DISABILITAS/GRAFIK_BATANG\";\nexport const SET_DISABILITAS_GRAFIK_PIE = \"DISABILITAS/GRAFIK_PIE\";\nexport const SET_DISABILITAS_MAP = \"DISABILITAS/MAP\";\n\n/*\nHIVTB ACTION LIST\n*/\nexport const SET_HIVTB_MASTER ='HIVTB/SET_MASTER';\nexport const SET_HIVTB_FIELD = \"HIVTB/FIELD\";\nexport const SET_HIVTB_PROV = \"HIVTB/PROV\";\nexport const SET_HIVTB_KOTA = \"HIVTB/KOTA\";\nexport const SET_HIVTB_KECAMATAN = \"HIVTB/KECAMATAN\";\nexport const SET_HIVTB_KELURAHAN = \"HIVTB/KELURAHAN\";\nexport const SET_HIVTB_GRAFIK_BATANG = \"HIVTB/GRAFIK_BATANG\";\nexport const SET_HIVTB_GRAFIK_PIE = \"HIVTB/GRAFIK_PIE\";\nexport const SET_HIVTB_MAP = \"HIVTB/MAP\";\n\n/*\nKANKER_PEREMPUAN ACTION LIST\n*/\nexport const SET_KANKER_PEREMPUAN_MASTER ='KANKER_PEREMPUAN/SET_MASTER';\nexport const SET_KANKER_PEREMPUAN_FIELD = \"KANKER_PEREMPUAN/FIELD\";\nexport const SET_KANKER_PEREMPUAN_PROV = \"KANKER_PEREMPUAN/PROV\";\nexport const SET_KANKER_PEREMPUAN_KOTA = \"KANKER_PEREMPUAN/KOTA\";\nexport const SET_KANKER_PEREMPUAN_KECAMATAN = \"KANKER_PEREMPUAN/KECAMATAN\";\nexport const SET_KANKER_PEREMPUAN_KELURAHAN = \"KANKER_PEREMPUAN/KELURAHAN\";\nexport const SET_KANKER_PEREMPUAN_GRAFIK_BATANG = \"KANKER_PEREMPUAN/GRAFIK_BATANG\";\nexport const SET_KANKER_PEREMPUAN_GRAFIK_PIE = \"KANKER_PEREMPUAN/GRAFIK_PIE\";\nexport const SET_KANKER_PEREMPUAN_MAP = \"KANKER_PEREMPUAN/MAP\";\n\n/*\nKESEHATAN_BAYI ACTION LIST\n*/\nexport const SET_KESEHATAN_BAYI_MASTER ='KESEHATAN_BAYI/SET_MASTER';\nexport const SET_KESEHATAN_BAYI_FIELD = \"KESEHATAN_BAYI/FIELD\";\nexport const SET_KESEHATAN_BAYI_PROV = \"KESEHATAN_BAYI/PROV\";\nexport const SET_KESEHATAN_BAYI_KOTA = \"KESEHATAN_BAYI/KOTA\";\nexport const SET_KESEHATAN_BAYI_KECAMATAN = \"KESEHATAN_BAYI/KECAMATAN\";\nexport const SET_KESEHATAN_BAYI_KELURAHAN = \"KESEHATAN_BAYI/KELURAHAN\";\nexport const SET_KESEHATAN_BAYI_GRAFIK_BATANG = \"KESEHATAN_BAYI/GRAFIK_BATANG\";\nexport const SET_KESEHATAN_BAYI_GRAFIK_PIE = \"KESEHATAN_BAYI/GRAFIK_PIE\";\nexport const SET_KESEHATAN_BAYI_MAP = \"KESEHATAN_BAYI/MAP\";\n\n/*\nAGAMA ACTION LIST\n*/\nexport const SET_AGAMA_MASTER ='AGAMA/SET_MASTER';\nexport const SET_AGAMA_FIELD = \"AGAMA/FIELD\";\nexport const SET_AGAMA_PROV = \"AGAMA/PROV\";\nexport const SET_AGAMA_KOTA = \"AGAMA/KOTA\";\nexport const SET_AGAMA_KECAMATAN = \"AGAMA/KECAMATAN\";\nexport const SET_AGAMA_KELURAHAN = \"AGAMA/KELURAHAN\";\nexport const SET_AGAMA_GRAFIK_BATANG = \"AGAMA/GRAFIK_BATANG\";\nexport const SET_AGAMA_GRAFIK_PIE = \"AGAMA/GRAFIK_PIE\";\nexport const SET_AGAMA_MAP = \"AGAMA/MAP\";\n\n/*\nAKTA_WARGA ACTION LIST\n*/\nexport const SET_AKTA_WARGA_MASTER ='AKTA_WARGA/SET_MASTER';\nexport const SET_AKTA_WARGA_FIELD = \"AKTA_WARGA/FIELD\";\nexport const SET_AKTA_WARGA_PROV = \"AKTA_WARGA/PROV\";\nexport const SET_AKTA_WARGA_KOTA = \"AKTA_WARGA/KOTA\";\nexport const SET_AKTA_WARGA_KECAMATAN = \"AKTA_WARGA/KECAMATAN\";\nexport const SET_AKTA_WARGA_KELURAHAN = \"AKTA_WARGA/KELURAHAN\";\nexport const SET_AKTA_WARGA_GRAFIK_BATANG = \"AKTA_WARGA/GRAFIK_BATANG\";\nexport const SET_AKTA_WARGA_GRAFIK_PIE = \"AKTA_WARGA/GRAFIK_PIE\";\nexport const SET_AKTA_WARGA_MAP = \"AKTA_WARGA/MAP\";\n\n/*\nBALITA ACTION LIST\n*/\nexport const SET_BALITA_MASTER ='BALITA/SET_MASTER';\nexport const SET_BALITA_FIELD = \"BALITA/FIELD\";\nexport const SET_BALITA_PROV = \"BALITA/PROV\";\nexport const SET_BALITA_KOTA = \"BALITA/KOTA\";\nexport const SET_BALITA_KECAMATAN = \"BALITA/KECAMATAN\";\nexport const SET_BALITA_KELURAHAN = \"BALITA/KELURAHAN\";\nexport const SET_BALITA_GRAFIK_BATANG = \"BALITA/GRAFIK_BATANG\";\nexport const SET_BALITA_GRAFIK_PIE = \"BALITA/GRAFIK_PIE\";\nexport const SET_BALITA_MAP = \"BALITA/MAP\";\n\n/*\nLANSIA ACTION LIST\n*/\nexport const SET_LANSIA_MASTER ='LANSIA/SET_MASTER';\nexport const SET_LANSIA_FIELD = \"LANSIA/FIELD\";\nexport const SET_LANSIA_PROV = \"LANSIA/PROV\";\nexport const SET_LANSIA_KOTA = \"LANSIA/KOTA\";\nexport const SET_LANSIA_KECAMATAN = \"LANSIA/KECAMATAN\";\nexport const SET_LANSIA_KELURAHAN = \"LANSIA/KELURAHAN\";\nexport const SET_LANSIA_GRAFIK_BATANG = \"LANSIA/GRAFIK_BATANG\";\nexport const SET_LANSIA_GRAFIK_PIE = \"LANSIA/GRAFIK_PIE\";\nexport const SET_LANSIA_MAP = \"LANSIA/MAP\";\n\n/*\nPEKERJAAN ACTION LIST\n*/\nexport const SET_PEKERJAAN_MASTER ='PEKERJAAN/SET_MASTER';\nexport const SET_PEKERJAAN_FIELD = \"PEKERJAAN/FIELD\";\nexport const SET_PEKERJAAN_PROV = \"PEKERJAAN/PROV\";\nexport const SET_PEKERJAAN_KOTA = \"PEKERJAAN/KOTA\";\nexport const SET_PEKERJAAN_KECAMATAN = \"PEKERJAAN/KECAMATAN\";\nexport const SET_PEKERJAAN_KELURAHAN = \"PEKERJAAN/KELURAHAN\";\nexport const SET_PEKERJAAN_GRAFIK_BATANG = \"PEKERJAAN/GRAFIK_BATANG\";\nexport const SET_PEKERJAAN_GRAFIK_PIE = \"PEKERJAAN/GRAFIK_PIE\";\nexport const SET_PEKERJAAN_MAP = \"PEKERJAAN/MAP\";\n\n/*\nPENDUDUK ACTION LIST\n*/\nexport const SET_PENDUDUK_MASTER ='PENDUDUK/SET_MASTER';\nexport const SET_PENDUDUK_FIELD = \"PENDUDUK/FIELD\";\nexport const SET_PENDUDUK_PROV = \"PENDUDUK/PROV\";\nexport const SET_PENDUDUK_KOTA = \"PENDUDUK/KOTA\";\nexport const SET_PENDUDUK_KECAMATAN = \"PENDUDUK/KECAMATAN\";\nexport const SET_PENDUDUK_KELURAHAN = \"PENDUDUK/KELURAHAN\";\nexport const SET_PENDUDUK_GRAFIK_BATANG = \"PENDUDUK/GRAFIK_BATANG\";\nexport const SET_PENDUDUK_GRAFIK_PIE = \"PENDUDUK/GRAFIK_PIE\";\nexport const SET_PENDUDUK_MAP = \"PENDUDUK/MAP\";\n\n/*\nPERNIKAHAN ACTION LIST\n*/\nexport const SET_PERNIKAHAN_MASTER ='PERNIKAHAN/SET_MASTER';\nexport const SET_PERNIKAHAN_FIELD = \"PERNIKAHAN/FIELD\";\nexport const SET_PERNIKAHAN_PROV = \"PERNIKAHAN/PROV\";\nexport const SET_PERNIKAHAN_KOTA = \"PERNIKAHAN/KOTA\";\nexport const SET_PERNIKAHAN_KECAMATAN = \"PERNIKAHAN/KECAMATAN\";\nexport const SET_PERNIKAHAN_KELURAHAN = \"PERNIKAHAN/KELURAHAN\";\nexport const SET_PERNIKAHAN_GRAFIK_BATANG = \"PERNIKAHAN/GRAFIK_BATANG\";\nexport const SET_PERNIKAHAN_GRAFIK_PIE = \"PERNIKAHAN/GRAFIK_PIE\";\nexport const SET_PERNIKAHAN_MAP = \"PERNIKAHAN/MAP\";\n\n/*\nPIRAMIDA_PENDUDUK ACTION LIST\n*/\nexport const SET_PIRAMIDA_PENDUDUK_MASTER ='PIRAMIDA_PENDUDUK/SET_MASTER';\nexport const SET_PIRAMIDA_PENDUDUK_FIELD = \"PIRAMIDA_PENDUDUK/FIELD\";\nexport const SET_PIRAMIDA_PENDUDUK_PROV = \"PIRAMIDA_PENDUDUK/PROV\";\nexport const SET_PIRAMIDA_PENDUDUK_KOTA = \"PIRAMIDA_PENDUDUK/KOTA\";\nexport const SET_PIRAMIDA_PENDUDUK_KECAMATAN = \"PIRAMIDA_PENDUDUK/KECAMATAN\";\nexport const SET_PIRAMIDA_PENDUDUK_KELURAHAN = \"PIRAMIDA_PENDUDUK/KELURAHAN\";\nexport const SET_PIRAMIDA_PENDUDUK_GRAFIK_BATANG = \"PIRAMIDA_PENDUDUK/GRAFIK_BATANG\";\nexport const SET_PIRAMIDA_PENDUDUK_GRAFIK_PIE = \"PIRAMIDA_PENDUDUK/GRAFIK_PIE\";\nexport const SET_PIRAMIDA_PENDUDUK_MAP = \"PIRAMIDA_PENDUDUK/MAP\";\n\n/*\nKESEHATAN_MSY ACTION LIST\n*/\nexport const SET_KESEHATAN_MSY_MASTER ='KESEHATAN_MSY/SET_MASTER';\nexport const SET_KESEHATAN_MSY_FIELD = \"KESEHATAN_MSY/FIELD\";\nexport const SET_KESEHATAN_MSY_PROV = \"KESEHATAN_MSY/PROV\";\nexport const SET_KESEHATAN_MSY_KOTA = \"KESEHATAN_MSY/KOTA\";\nexport const SET_KESEHATAN_MSY_KECAMATAN = \"KESEHATAN_MSY/KECAMATAN\";\nexport const SET_KESEHATAN_MSY_KELURAHAN = \"KESEHATAN_MSY/KELURAHAN\";\nexport const SET_KESEHATAN_MSY_GRAFIK_BATANG = \"KESEHATAN_MSY/GRAFIK_BATANG\";\nexport const SET_KESEHATAN_MSY_GRAFIK_PIE = \"KESEHATAN_MSY/GRAFIK_PIE\";\nexport const SET_KESEHATAN_MSY_MAP = \"KESEHATAN_MSY/MAP\";\n\n/*\nPUSWUS ACTION LIST\n*/\nexport const SET_PUSWUS_MASTER ='PUSWUS/SET_MASTER';\nexport const SET_PUSWUS_FIELD = \"PUSWUS/FIELD\";\nexport const SET_PUSWUS_PROV = \"PUSWUS/PROV\";\nexport const SET_PUSWUS_KOTA = \"PUSWUS/KOTA\";\nexport const SET_PUSWUS_KECAMATAN = \"PUSWUS/KECAMATAN\";\nexport const SET_PUSWUS_KELURAHAN = \"PUSWUS/KELURAHAN\";\nexport const SET_PUSWUS_GRAFIK_BATANG = \"PUSWUS/GRAFIK_BATANG\";\nexport const SET_PUSWUS_GRAFIK_PIE = \"PUSWUS/GRAFIK_PIE\";\nexport const SET_PUSWUS_MAP = \"PUSWUS/MAP\";\n\n/*\nPENGUNAAN_KB ACTION LIST\n*/\nexport const SET_PENGUNAAN_KB_MASTER ='PENGUNAAN_KB/SET_MASTER';\nexport const SET_PENGUNAAN_KB_FIELD = \"PENGUNAAN_KB/FIELD\";\nexport const SET_PENGUNAAN_KB_PROV = \"PENGUNAAN_KB/PROV\";\nexport const SET_PENGUNAAN_KB_KOTA = \"PENGUNAAN_KB/KOTA\";\nexport const SET_PENGUNAAN_KB_KECAMATAN = \"PENGUNAAN_KB/KECAMATAN\";\nexport const SET_PENGUNAAN_KB_KELURAHAN = \"PENGUNAAN_KB/KELURAHAN\";\nexport const SET_PENGUNAAN_KB_GRAFIK_BATANG = \"PENGUNAAN_KB/GRAFIK_BATANG\";\nexport const SET_PENGUNAAN_KB_GRAFIK_PIE = \"PENGUNAAN_KB/GRAFIK_PIE\";\nexport const SET_PENGUNAAN_KB_MAP = \"PENGUNAAN_KB/MAP\";\n\n/*\nLINGKUNGAN_RAWAN ACTION LIST\n*/\nexport const SET_LINGKUNGAN_RAWAN_MASTER ='LINGKUNGAN_RAWAN/SET_MASTER';\nexport const SET_LINGKUNGAN_RAWAN_FIELD = \"LINGKUNGAN_RAWAN/FIELD\";\nexport const SET_LINGKUNGAN_RAWAN_PROV = \"LINGKUNGAN_RAWAN/PROV\";\nexport const SET_LINGKUNGAN_RAWAN_KOTA = \"LINGKUNGAN_RAWAN/KOTA\";\nexport const SET_LINGKUNGAN_RAWAN_KECAMATAN = \"LINGKUNGAN_RAWAN/KECAMATAN\";\nexport const SET_LINGKUNGAN_RAWAN_KELURAHAN = \"LINGKUNGAN_RAWAN/KELURAHAN\";\nexport const SET_LINGKUNGAN_RAWAN_GRAFIK_BATANG = \"LINGKUNGAN_RAWAN/GRAFIK_BATANG\";\nexport const SET_LINGKUNGAN_RAWAN_GRAFIK_PIE = \"LINGKUNGAN_RAWAN/GRAFIK_PIE\";\nexport const SET_LINGKUNGAN_RAWAN_MAP = \"LINGKUNGAN_RAWAN/MAP\";\n\n/*\nPUTUS_SEKOLAH ACTION LIST\n*/\nexport const SET_PUTUS_SEKOLAH_MASTER ='PUTUS_SEKOLAH/SET_MASTER';\nexport const SET_PUTUS_SEKOLAH_FIELD = \"PUTUS_SEKOLAH/FIELD\";\nexport const SET_PUTUS_SEKOLAH_PROV = \"PUTUS_SEKOLAH/PROV\";\nexport const SET_PUTUS_SEKOLAH_KOTA = \"PUTUS_SEKOLAH/KOTA\";\nexport const SET_PUTUS_SEKOLAH_KECAMATAN = \"PUTUS_SEKOLAH/KECAMATAN\";\nexport const SET_PUTUS_SEKOLAH_KELURAHAN = \"PUTUS_SEKOLAH/KELURAHAN\";\nexport const SET_PUTUS_SEKOLAH_GRAFIK_BATANG = \"PUTUS_SEKOLAH/GRAFIK_BATANG\";\nexport const SET_PUTUS_SEKOLAH_GRAFIK_PIE = \"PUTUS_SEKOLAH/GRAFIK_PIE\";\nexport const SET_PUTUS_SEKOLAH_MAP = \"PUTUS_SEKOLAH/MAP\";\n\n/*\nPENGOLAHAN_SAMPAH ACTION LIST\n*/\nexport const SET_PENGOLAHAN_SAMPAH_MASTER ='PENGOLAHAN_SAMPAH/SET_MASTER';\nexport const SET_PENGOLAHAN_SAMPAH_FIELD = \"PENGOLAHAN_SAMPAH/FIELD\";\nexport const SET_PENGOLAHAN_SAMPAH_PROV = \"PENGOLAHAN_SAMPAH/PROV\";\nexport const SET_PENGOLAHAN_SAMPAH_KOTA = \"PENGOLAHAN_SAMPAH/KOTA\";\nexport const SET_PENGOLAHAN_SAMPAH_KECAMATAN = \"PENGOLAHAN_SAMPAH/KECAMATAN\";\nexport const SET_PENGOLAHAN_SAMPAH_KELURAHAN = \"PENGOLAHAN_SAMPAH/KELURAHAN\";\nexport const SET_PENGOLAHAN_SAMPAH_GRAFIK_BATANG = \"PENGOLAHAN_SAMPAH/GRAFIK_BATANG\";\nexport const SET_PENGOLAHAN_SAMPAH_GRAFIK_PIE = \"PENGOLAHAN_SAMPAH/GRAFIK_PIE\";\nexport const SET_PENGOLAHAN_SAMPAH_MAP = \"PENGOLAHAN_SAMPAH/MAP\";\n\n/*\nPTP_LAHAN ACTION LIST\n*/\nexport const SET_PTP_LAHAN_MASTER ='PTP_LAHAN/SET_MASTER';\nexport const SET_PTP_LAHAN_FIELD = \"PTP_LAHAN/FIELD\";\nexport const SET_PTP_LAHAN_PROV = \"PTP_LAHAN/PROV\";\nexport const SET_PTP_LAHAN_KOTA = \"PTP_LAHAN/KOTA\";\nexport const SET_PTP_LAHAN_KECAMATAN = \"PTP_LAHAN/KECAMATAN\";\nexport const SET_PTP_LAHAN_KELURAHAN = \"PTP_LAHAN/KELURAHAN\";\nexport const SET_PTP_LAHAN_GRAFIK_BATANG = \"PTP_LAHAN/GRAFIK_BATANG\";\nexport const SET_PTP_LAHAN_GRAFIK_PIE = \"PTP_LAHAN/GRAFIK_PIE\";\nexport const SET_PTP_LAHAN_MAP = \"PTP_LAHAN/MAP\";\n\n/*\nPTP_PERIKANAN ACTION LIST\n*/\nexport const SET_PTP_PERIKANAN_MASTER ='PTP_PERIKANAN/SET_MASTER';\nexport const SET_PTP_PERIKANAN_FIELD = \"PTP_PERIKANAN/FIELD\";\nexport const SET_PTP_PERIKANAN_PROV = \"PTP_PERIKANAN/PROV\";\nexport const SET_PTP_PERIKANAN_KOTA = \"PTP_PERIKANAN/KOTA\";\nexport const SET_PTP_PERIKANAN_KECAMATAN = \"PTP_PERIKANAN/KECAMATAN\";\nexport const SET_PTP_PERIKANAN_KELURAHAN = \"PTP_PERIKANAN/KELURAHAN\";\nexport const SET_PTP_PERIKANAN_GRAFIK_BATANG = \"PTP_PERIKANAN/GRAFIK_BATANG\";\nexport const SET_PTP_PERIKANAN_GRAFIK_PIE = \"PTP_PERIKANAN/GRAFIK_PIE\";\nexport const SET_PTP_PERIKANAN_MAP = \"PTP_PERIKANAN/MAP\";\n\n/*\nPTP_PETERNAKAN ACTION LIST\n*/\nexport const SET_PTP_PETERNAKAN_MASTER ='PTP_PETERNAKAN/SET_MASTER';\nexport const SET_PTP_PETERNAKAN_FIELD = \"PTP_PETERNAKAN/FIELD\";\nexport const SET_PTP_PETERNAKAN_PROV = \"PTP_PETERNAKAN/PROV\";\nexport const SET_PTP_PETERNAKAN_KOTA = \"PTP_PETERNAKAN/KOTA\";\nexport const SET_PTP_PETERNAKAN_KECAMATAN = \"PTP_PETERNAKAN/KECAMATAN\";\nexport const SET_PTP_PETERNAKAN_KELURAHAN = \"PTP_PETERNAKAN/KELURAHAN\";\nexport const SET_PTP_PETERNAKAN_GRAFIK_BATANG = \"PTP_PETERNAKAN/GRAFIK_BATANG\";\nexport const SET_PTP_PETERNAKAN_GRAFIK_PIE = \"PTP_PETERNAKAN/GRAFIK_PIE\";\nexport const SET_PTP_PETERNAKAN_MAP = \"PTP_PETERNAKAN/MAP\";\n\n/*\nRUMAH_SEHAT ACTION LIST\n*/\nexport const SET_RUMAH_SEHAT_MASTER ='RUMAH_SEHAT/SET_MASTER';\nexport const SET_RUMAH_SEHAT_FIELD = \"RUMAH_SEHAT/FIELD\";\nexport const SET_RUMAH_SEHAT_PROV = \"RUMAH_SEHAT/PROV\";\nexport const SET_RUMAH_SEHAT_KOTA = \"RUMAH_SEHAT/KOTA\";\nexport const SET_RUMAH_SEHAT_KECAMATAN = \"RUMAH_SEHAT/KECAMATAN\";\nexport const SET_RUMAH_SEHAT_KELURAHAN = \"RUMAH_SEHAT/KELURAHAN\";\nexport const SET_RUMAH_SEHAT_GRAFIK_BATANG = \"RUMAH_SEHAT/GRAFIK_BATANG\";\nexport const SET_RUMAH_SEHAT_GRAFIK_PIE = \"RUMAH_SEHAT/GRAFIK_PIE\";\nexport const SET_RUMAH_SEHAT_MAP = \"RUMAH_SEHAT/MAP\";\n\n/*\nUP2K_INDUSTRI ACTION LIST\n*/\nexport const SET_UP2K_INDUSTRI_MASTER ='UP2K_INDUSTRI/SET_MASTER';\nexport const SET_UP2K_INDUSTRI_FIELD = \"UP2K_INDUSTRI/FIELD\";\nexport const SET_UP2K_INDUSTRI_PROV = \"UP2K_INDUSTRI/PROV\";\nexport const SET_UP2K_INDUSTRI_KOTA = \"UP2K_INDUSTRI/KOTA\";\nexport const SET_UP2K_INDUSTRI_KECAMATAN = \"UP2K_INDUSTRI/KECAMATAN\";\nexport const SET_UP2K_INDUSTRI_KELURAHAN = \"UP2K_INDUSTRI/KELURAHAN\";\nexport const SET_UP2K_INDUSTRI_GRAFIK_BATANG = \"UP2K_INDUSTRI/GRAFIK_BATANG\";\nexport const SET_UP2K_INDUSTRI_GRAFIK_PIE = \"UP2K_INDUSTRI/GRAFIK_PIE\";\nexport const SET_UP2K_INDUSTRI_MAP = \"UP2K_INDUSTRI/MAP\";\n\n/*\nSUMBER_AIR ACTION LIST\n*/\nexport const SET_SUMBER_AIR_MASTER ='SUMBER_AIR/SET_MASTER';\nexport const SET_SUMBER_AIR_FIELD = \"SUMBER_AIR/FIELD\";\nexport const SET_SUMBER_AIR_PROV = \"SUMBER_AIR/PROV\";\nexport const SET_SUMBER_AIR_KOTA = \"SUMBER_AIR/KOTA\";\nexport const SET_SUMBER_AIR_KECAMATAN = \"SUMBER_AIR/KECAMATAN\";\nexport const SET_SUMBER_AIR_KELURAHAN = \"SUMBER_AIR/KELURAHAN\";\nexport const SET_SUMBER_AIR_GRAFIK_BATANG = \"SUMBER_AIR/GRAFIK_BATANG\";\nexport const SET_SUMBER_AIR_GRAFIK_PIE = \"SUMBER_AIR/GRAFIK_PIE\";\nexport const SET_SUMBER_AIR_MAP = \"SUMBER_AIR/MAP\";\n\n/*\nDATA_KADER ACTION LIST\n*/\nexport const SET_DATA_KADER_MASTER ='DATA_KADER/SET_MASTER';\nexport const SET_DATA_KADER_FIELD = \"DATA_KADER/FIELD\";\nexport const SET_DATA_KADER_PROV = \"DATA_KADER/PROV\";\nexport const SET_DATA_KADER_KOTA = \"DATA_KADER/KOTA\";\nexport const SET_DATA_KADER_KECAMATAN = \"DATA_KADER/KECAMATAN\";\nexport const SET_DATA_KADER_KELURAHAN = \"DATA_KADER/KELURAHAN\";\nexport const SET_DATA_KADER_GRAFIK_BATANG = \"DATA_KADER/GRAFIK_BATANG\";\nexport const SET_DATA_KADER_GRAFIK_PIE = \"DATA_KADER/GRAFIK_PIE\";\nexport const SET_DATA_KADER_MAP = \"DATA_KADER/MAP\";\n\n/*\nWARGA_AKTIF ACTION LIST\n*/\nexport const SET_WARGA_AKTIF_MASTER ='WARGA_AKTIF/SET_MASTER';\nexport const SET_WARGA_AKTIF_FIELD = \"WARGA_AKTIF/FIELD\";\nexport const SET_WARGA_AKTIF_PROV = \"WARGA_AKTIF/PROV\";\nexport const SET_WARGA_AKTIF_KOTA = \"WARGA_AKTIF/KOTA\";\nexport const SET_WARGA_AKTIF_KECAMATAN = \"WARGA_AKTIF/KECAMATAN\";\nexport const SET_WARGA_AKTIF_KELURAHAN = \"WARGA_AKTIF/KELURAHAN\";\nexport const SET_WARGA_AKTIF_GRAFIK_BATANG = \"WARGA_AKTIF/GRAFIK_BATANG\";\nexport const SET_WARGA_AKTIF_GRAFIK_PIE = \"WARGA_AKTIF/GRAFIK_PIE\";\nexport const SET_WARGA_AKTIF_MAP = \"WARGA_AKTIF/MAP\";\n\n/*\nPROGRAM_PEMERINTAH ACTION LIST\n*/\nexport const SET_PROGRAM_PEMERINTAH_MASTER ='PROGRAM_PEMERINTAH/SET_MASTER';\nexport const SET_PROGRAM_PEMERINTAH_FIELD = \"PROGRAM_PEMERINTAH/FIELD\";\nexport const SET_PROGRAM_PEMERINTAH_PROV = \"PROGRAM_PEMERINTAH/PROV\";\nexport const SET_PROGRAM_PEMERINTAH_KOTA = \"PROGRAM_PEMERINTAH/KOTA\";\nexport const SET_PROGRAM_PEMERINTAH_KECAMATAN = \"PROGRAM_PEMERINTAH/KECAMATAN\";\nexport const SET_PROGRAM_PEMERINTAH_KELURAHAN = \"PROGRAM_PEMERINTAH/KELURAHAN\";\nexport const SET_PROGRAM_PEMERINTAH_GRAFIK_BATANG = \"PROGRAM_PEMERINTAH/GRAFIK_BATANG\";\nexport const SET_PROGRAM_PEMERINTAH_GRAFIK_PIE = \"PROGRAM_PEMERINTAH/GRAFIK_PIE\";\nexport const SET_PROGRAM_PEMERINTAH_MAP = \"PROGRAM_PEMERINTAH/MAP\";\n\n/**\n * const master\n */\n export const SET_MASTER_BPS ='BPS/SET_MASTER';\n export const SET_LEVEL_FIELD_BPS_MASTER ='LEVEL_FIELD_BPS/SET_MASTER';\n export const SET_LEVEL_PROVINSI_BPS_MASTER ='LEVEL_PROVINSI_BPS/SET_MASTER';\n\n\n/*\nLEVEL KOTA BPS ACTION LIST\n*/\nexport const SET_LEVEL_KOTA_BPS_MASTER ='LEVEL_KOTA_BPS/SET_MASTER';\nexport const SET_LEVEL_KOTA_BPS_FIELD = \"LEVEL_KOTA_BPS/FIELD\";\nexport const SET_LEVEL_KOTA_BPS_PROV = \"LEVEL_KOTA_BPS/PROV\";\nexport const SET_LEVEL_KOTA_BPS_MAP = \"LEVEL_KOTA_BPS/MAP\";\n\n/*\nLEVEL KECAMATAN ACTION LIST\n*/\nexport const SET_LEVEL_KECAMATAN_BPS_MASTER ='LEVEL_KECAMATAN_BPS/SET_MASTER';\nexport const SET_LEVEL_KECAMATAN_BPS_FIELD = \"LEVEL_KECAMATAN_BPS/FIELD\";\nexport const SET_LEVEL_KECAMATAN_BPS_MAP = \"LEVEL_KECAMATAN_BPS/MAP\";\n\n\n/*\nLEVEL KELURAHAN ACTION LIST\n*/\nexport const SET_LEVEL_KELURAHAN_BPS_MASTER ='LEVEL_KELURAHAN_BPS/SET_MASTER';\nexport const SET_LEVEL_KELURAHAN_BPS_FIELD = \"LEVEL_KELURAHAN_BPS/FIELD\";\nexport const SET_LEVEL_KELURAHAN_BPS_MAP = \"LEVEL_KELURAHAN_BPS/MAP\";\n\n/*\nLEVEL RW ACTION LIST\n*/\nexport const SET_LEVEL_RW_BPS_MASTER ='LEVEL_RW_BPS/SET_MASTER';\nexport const SET_LEVEL_RW_BPS_FIELD = \"LEVEL_RW_BPS/FIELD\";\nexport const SET_LEVEL_RW_BPS_MAP = \"LEVEL_RW_BPS/MAP\";\n\n/*\nLEVEL RT ACTION LIST\n*/\nexport const SET_LEVEL_RT_BPS_MASTER ='LEVEL_RT_BPS/SET_MASTER';\nexport const SET_LEVEL_RT_BPS_FIELD = \"LEVEL_RT_BPS/FIELD\";\nexport const SET_LEVEL_RT_BPS_MAP = \"LEVEL_RT_BPS/MAP\";\n\nexport const SET_MASTER_CODE = \"MASTER_CODE/BPS\";\n\n\n","import axios from \"axios\";\nimport { endPoint } from \"config/endpoint.services\";\nimport MasterWilayah from 'config/Wilayah/json-wilayah/Master.json';\nimport { setMessage } from \"reducers/ReducersMessage\";\nimport store from 'config/configureStore';\n\nconst register = (username, email, password) => {\n  return axios.post(endPoint.auth.register, {\n    username,\n    email,\n    password,\n  });\n};\n\nconst login = (formLogin) => {\n\n  return axios\n    .post(endPoint.auth.login.path, formLogin)\n    .then((response) => {\n      if (response.data.token) {\n        let resWilayah = MasterWilayah.filter(wilayah => wilayah.value == response.data.kodeWilayah);\n        let wilayah = null;\n\n        if (resWilayah.length > 0) {\n          if (resWilayah[0].value.toString().length == 2) {\n            wilayah = 'PROVINSI';\n          }\n  \n          if (resWilayah[0].value.toString().length == 4) {\n            wilayah = 'KOTA';\n          }\n  \n          if (resWilayah[0].value.toString().length == 6) {\n            wilayah = 'KECAMATAN';\n          }\n  \n          if (resWilayah[0].value.toString().length == 10) {\n            wilayah = 'KELURAHAN';\n          }\n        }\n\n        localStorage.setItem(\"user\", JSON.stringify(response.data));\n        localStorage.setItem(\"wilayah\", JSON.stringify(resWilayah));\n        localStorage.setItem(\"levelWilayah\", JSON.stringify(wilayah));\n      }\n\n      return response.data;\n    });\n};\n\nconst logout = () => {\n  localStorage.removeItem(\"user\");\n  localStorage.removeItem(\"wilayah\");\n  localStorage.removeItem(\"levelWilayah\");\n};\n\nexport default {\n  register,\n  login,\n  logout,\n};","import {\n    REGISTER_SUCCESS,\n    REGISTER_FAIL,\n    LOGIN_SUCCESS,\n    LOGIN_FAIL,\n    LOGOUT,\n    SET_MESSAGE,\n  } from \"../TypeAction\";\n\nimport AuthService from \"../../config/Services/auth.service\";\nimport MasterWilayah from 'config/Wilayah/json-wilayah/Master.json';\n\n\n  export const register = (username, email, password) => (dispatch) => {\n    return AuthService.register(username, email, password).then(\n      (response) => {\n        dispatch({\n          type: REGISTER_SUCCESS,\n        });\n        dispatch({\n          type: SET_MESSAGE,\n          payload: response.data.message,\n        });\n        return Promise.resolve();\n      },\n      (error) => {\n        console.log(error);\n        const message =\n          (error.response &&\n            error.response.data &&\n            error.response.data.message) ||\n          error.message ||\n          error.toString();\n\n        dispatch({\n          type: REGISTER_FAIL,\n        });\n\n        dispatch({\n          type: SET_MESSAGE,\n          payload: message,\n        });\n\n        return Promise.reject();\n      }\n    );\n  };\n\n  export const login = (formLogin) => (dispatch) => {\n    return AuthService.login(formLogin).then(\n      (data) => {\n        let wilayah = MasterWilayah.filter(wilayah => wilayah.value == data.kodeWilayah);\n        let levelWilayah = null;\n\n        if (wilayah.length > 0) {\n          if (wilayah[0].value.toString().length == 2) {\n            levelWilayah = 'PROVINSI';\n          }\n  \n          if (wilayah[0].value.toString().length == 4) {\n            levelWilayah = 'KOTA';\n          }\n  \n          if (wilayah[0].value.toString().length == 6) {\n            levelWilayah = 'KECAMATAN';\n          }\n  \n          if (wilayah[0].value.toString().length == 10) {\n            levelWilayah = 'KELURAHAN';\n          }\n        }\n\n        \n\n        dispatch({\n          type: LOGIN_SUCCESS,\n          payload: { \n            user: data,\n            wilayah : wilayah,\n            levelWilayah : levelWilayah \n          },\n        });\n        return Promise.resolve();\n      },\n      (error) => {\n        console.log(error);\n        const message =\n          (error.response &&\n            error.response.data &&\n            error.response.data.message) ||\n          error.message ||\n          error.toString();\n\n        dispatch({\n          type: LOGIN_FAIL,\n        });\n\n        dispatch({\n          type: SET_MESSAGE,\n          payload: {\n            message : message,\n            code : error.response ? error.response.status ? error.response.status : error.code ? error.code : 511 : 511\n          },\n        });\n\n        return Promise.reject();\n      }\n    );\n  };\n  \n  export const logout = () => (dispatch) => {\n    AuthService.logout();\n    dispatch({\n      type: LOGOUT,\n    });\n  };","import ThemeOptions from './ThemeOptions';\nimport ReducersKota from './ReducersKota';\nimport ReducersKecamatan from './ReducersKecamatan';\nimport ReducersKelurahan from './ReducersKelurahan';\nimport { ReducersKependudukan, ReducersAgama, ReducersPernikahan, ReducersTidakBekerja, ReducersPiramidaPenduduk, ReducersBalita, ReducersLansia, ReducersAktaWarga } from './ReducersKependudukan';\nimport { ReducersPutusSekolah } from \"./ReducersPendidikan\";\nimport { ReducersBumil, ReducersDisabilitas, ReducersHivTb, ReducersKankerPerempuan, ReducersKesehatanBayi } from \"./ReducersKesehatan\";\nimport { ReducersKesehatanMsy, ReducersPusWus } from \"./ReducersKontrasepsi\";\nimport { ReducersLingkunganRawan } from \"./ReducersLingkungan\";\nimport { ReducersPengolahanSampah, ReducersRumahPTPLahan, ReducersRumahPtpPerikanan, ReducersRumahPtpPeternakan, ReducersRumahSehat, ReducersSumberAir, ReducersUp2kIndustri } from \"./ReducersPerumahan\";\nimport { ReducersKader, ReducersWargaAktif } from \"./ReducersPkk\";\nimport { ReducersProgramPemerintah } from \"./ReducersProgramPemerintah\";\nimport { ReducersVariabel } from \"./ReducersVariabel\";\nimport { ReducersAuth } from './ReducersAuth';\nimport { ReducersMessage } from './ReducersMessage';\nimport { combineReducers } from 'redux';\n\nconst rootReducer = combineReducers({\n  ThemeOptions, ReducersKota, ReducersKecamatan, ReducersKelurahan, ReducersKependudukan, ReducersAgama, ReducersPernikahan, ReducersTidakBekerja,\n  ReducersPiramidaPenduduk, ReducersBalita, ReducersLansia, ReducersAktaWarga, ReducersPutusSekolah, ReducersBumil, ReducersDisabilitas, ReducersHivTb, ReducersKankerPerempuan, ReducersKesehatanBayi, ReducersKesehatanMsy, ReducersPusWus, ReducersLingkunganRawan, ReducersPengolahanSampah, ReducersRumahPTPLahan, ReducersRumahPtpPerikanan, ReducersRumahPtpPeternakan, ReducersRumahSehat, ReducersSumberAir, ReducersUp2kIndustri, ReducersKader, ReducersWargaAktif, ReducersProgramPemerintah, ReducersVariabel, ReducersAuth, ReducersMessage\n})\n\nexport default rootReducer\n","// kota\nimport masterServiceWilayah from '../../config/Wilayah';\n\nexport default function reducer(\n  state = {\n    kota: masterServiceWilayah.getKotaKemendagri(),\n    mapSelectedKotaId : null,\n    mapSelectedKotaLabel : null,\n  },\n  action\n) {\n  switch (action.type) {\n    case 'SET_MAP_KOTA':\n      return {\n        ...state,\n        mapSelectedKotaId: action.selectedKotaId,\n        mapSelectedKotaLabel: action.selectedKotaLabel\n      };\n    default:\n      break;\n  }\n  return state;\n}\n","// kota\nimport masterServiceWilayah from '../../config/Wilayah';\n\nexport default function reducer(\n  state = {\n    kecamatan: masterServiceWilayah.getKecamatanKemendagri(),\n    mapSelectedKecamatanId : null,\n    mapSelectedKecamatanLabel : null,\n  },\n  action\n) {\n  switch (action.type) {\n    case 'SET_MAP_KECAMATAN':\n      return {\n        ...state,\n        mapSelectedKecamatanId: action.selectedKecamatanId,\n        mapSelectedKecamatanLabel: action.selectedKecamatanLabel\n      };\n    default:\n      break;\n  }\n  return state;\n}\n","// kota\nimport masterServiceWilayah from '../../config/Wilayah';\n\nexport default function reducer(\n  state = {\n    kelurahan: masterServiceWilayah.getKelurahanKemendagri(),\n    mapSelectedKelurahanId : null,\n    mapSelectedKelurahanLabel : null,\n  },\n  action\n) {\n  switch (action.type) {\n    case 'SET_MAP_KELURAHAN':\n      return {\n        ...state,\n        mapSelectedKelurahanId: action.selectedKelurahanId,\n        mapSelectedKelurahanLabel: action.selectedKelurahanLabel\n      };\n    default:\n      break;\n  }\n  return state;\n}\n","import { SET_MASTER } from \"../Action\"\nimport initialState from \"./InitialState\";\n\nexport default function ReducersVariabel(state = initialState, action){\n    switch (action.type) {\n        case SET_MASTER:\n            console.log(action);\n            return {\n                ...state,\n                ...action.payload\n              }\n            break;\n\n        default:\n            break;\n    }\n\n    return state;\n}","import {\n    REGISTER_SUCCESS,\n    REGISTER_FAIL,\n    LOGIN_SUCCESS,\n    LOGIN_FAIL,\n    LOGOUT,\n  } from \"../TypeAction\";\nimport initialState from \"./InitialState\";\n\n  export default function (state = initialState, action) {\n    const { type, payload } = action;\n    switch (type) {\n      case REGISTER_SUCCESS:\n        return {\n          ...state,\n          isLoggedIn: false,\n        };\n      case REGISTER_FAIL:\n        return {\n          ...state,\n          isLoggedIn: false,\n        };\n      case LOGIN_SUCCESS:\n        return {\n          ...state,\n          isLoggedIn: true,\n          user: payload.user,\n          wilayah : payload.wilayah,\n          levelWilayah : payload.levelWilayah\n        };\n      case LOGIN_FAIL:\n        return {\n          ...state,\n          isLoggedIn: false,\n          user: null,\n          wilayah : null\n        };\n      case LOGOUT:\n        return {\n          ...state,\n          isLoggedIn: false,\n          user: null,\n          wilayah : null,\n          levelWilayah : null\n        };\n      default:\n        return state;\n    }\n  }","import { createStore, combineReducers, applyMiddleware } from 'redux';\nimport thunkMiddleware from 'redux-thunk'\nimport { composeWithDevTools } from 'redux-devtools-extension'\nimport rootReducer from '../reducers';\n\nconst composedEnhancer = composeWithDevTools(\n  applyMiddleware(thunkMiddleware)\n)\n\nconst store = createStore(rootReducer, composedEnhancer);\n\nexport default store;","import React, { Fragment, Component } from 'react';\n\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport {\n  ListGroup,\n  ListGroupItem,\n  Nav,\n  NavItem,\n  NavLink,\n  UncontrolledDropdown,\n  DropdownToggle,\n  DropdownMenu\n} from 'reactstrap';\n\nexport default class HeaderUserbox extends Component {\n  render() {\n    return (\n      <Fragment>\n        <UncontrolledDropdown className=\"user-box position-relative ml-2\">\n          <DropdownToggle\n            color=\"link\"\n            className=\"p-0 text-left d-flex align-items-center\">\n            <div className=\"d-block d-44 rounded-sm overflow-hidden\">\n            </div>\n            <div className=\"d-none d-xl-block pl-2\">\n              <div className=\"font-weight-bold\">User Account</div>\n              <span className=\"text-black-50\">Kelurahan</span>\n            </div>\n            <span className=\"pl-1 pl-xl-3\">\n              <FontAwesomeIcon\n                icon={['fas', 'angle-down']}\n                className=\"opacity-5\"\n              />\n            </span>\n          </DropdownToggle>\n          <DropdownMenu right className=\"dropdown-menu-lg overflow-hidden p-0\">\n            <ListGroup flush className=\"text-left bg-transparent\">\n              <ListGroupItem className=\"rounded-top\">\n                <Nav pills className=\"nav-neutral-primary flex-column\">\n                  <NavItem>\n                    <NavLink href=\"#/\" onClick={e => e.preventDefault()}>\n                      My Account\n                    </NavLink>\n                  </NavItem>\n                  <NavItem>\n                    <NavLink href=\"#/\" onClick={e => e.preventDefault()}>\n                      Profile settings\n                    </NavLink>\n                  </NavItem>\n                  <NavItem>\n                    <NavLink href=\"#/\" onClick={e => e.preventDefault()}>\n                      Active tasks\n                    </NavLink>\n                  </NavItem>\n                </Nav>\n              </ListGroupItem>\n              \n            </ListGroup>\n          </DropdownMenu>\n        </UncontrolledDropdown>\n      </Fragment>\n    );\n  }\n}\n","import React, { Fragment, Component } from 'react';\n\nimport clsx from 'clsx';\n\nimport { connect } from 'react-redux';\n\nimport { setSidebarToggleMobile } from '../../reducers/ThemeOptions';\n\nimport HeaderUserbox from '../../layout-components/HeaderUserbox';\nimport CarikLogo from '../../assets/icon/carik-jakarta.png';\n\nclass Header extends Component {\n  toggleSidebarMobile = () => {\n    let { sidebarToggleMobile, setSidebarToggleMobile } = this.props;\n    setSidebarToggleMobile(!sidebarToggleMobile);\n  };\n\n  render() {\n    let { sidebarToggleMobile } = this.props;\n    return (\n      <Fragment>\n        <div className=\"app-header\" style={{\n          paddingLeft: \"87px\",\n          paddingRight: \"87px\",\n          borderBottom: \"1px solid #eee\"\n        }}>\n          <div className=\"app-header--pane\">\n            <button\n              className={clsx(\n                'navbar-toggler hamburger hamburger--elastic toggle-mobile-sidebar-btn',\n                { 'is-active': sidebarToggleMobile }\n              )}\n              onClick={this.toggleSidebarMobile}>\n              <span className=\"hamburger-box\">\n                <span className=\"hamburger-inner\" />\n              </span>\n            </button>\n              <img src={CarikLogo} className=\"img-fluid\" alt=\"...\" />\n          </div>\n          <div className=\"app-header--pane\">\n            <HeaderUserbox />\n          </div>\n        </div>\n      </Fragment>\n    );\n  }\n}\n\nconst mapStateToProps = state => ({\n  sidebarToggleMobile: state.ThemeOptions.sidebarToggleMobile\n});\n\nconst mapDispatchToProps = dispatch => ({\n  setSidebarToggleMobile: enable => dispatch(setSidebarToggleMobile(enable))\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Header);\n","import React, { Fragment, Component } from 'react';\n\nimport clsx from 'clsx';\n\nimport { NavLink, Nav, NavItem, UncontrolledDropdown, DropdownToggle, DropdownMenu, DropdownItem } from 'reactstrap';\n\nimport { connect } from 'react-redux';\n\nimport { setSidebarToggleMobile } from '../../reducers/ThemeOptions';\n\nimport { Link } from 'react-router-dom';\nimport { LogoPusdatin } from 'assets/images';\n\nclass HeaderLanding extends Component {\n  toggleSidebarMobile = () => {\n    let { sidebarToggleMobile, setSidebarToggleMobile } = this.props;\n    setSidebarToggleMobile(!sidebarToggleMobile);\n  };\n\n  render() {\n    let { sidebarToggleMobile } = this.props;\n    return (\n      <Fragment>\n        <div className=\"app-header\" style={{\n          paddingLeft: \"87px\",\n          paddingRight: \"87px\",\n          backgroundColor: \"#F2F3F9\"\n        }}>\n          <div className=\"app-header--pane\">\n            <button\n              className={clsx(\n                'navbar-toggler hamburger hamburger--elastic toggle-mobile-sidebar-btn',\n                { 'is-active': sidebarToggleMobile }\n              )}\n              onClick={this.toggleSidebarMobile}>\n              <span className=\"hamburger-box\">\n                <span className=\"hamburger-inner\" />\n              </span>\n            </button>\n              <img src={LogoPusdatin} className=\"img-fluid\" alt=\"...\" width=\"70%\" />\n          </div>\n          <div className=\"app-header--pane\">\n              <Nav>\n                <NavItem>\n                    <NavLink href=\"./\">\n                        Beranda\n                    </NavLink>\n                </NavItem>\n                <UncontrolledDropdown\n                    inNavbar\n                    nav\n                    >\n                    <DropdownToggle\n                        caret\n                        nav\n                    >\n                        Informasi\n                    </DropdownToggle>\n                    <DropdownMenu right>\n                        <DropdownItem>\n                            <Link to=\"#\">\n                            Berita\n                            </Link>\n                        </DropdownItem>\n                        <DropdownItem>\n                            <Link to=\"#\">\n                            Pengumuman\n                            </Link>\n                        </DropdownItem>\n                        <DropdownItem>\n                            <Link to=\"#\">\n                            Infografis\n                            </Link>\n                        </DropdownItem>\n                    </DropdownMenu>\n                </UncontrolledDropdown>\n                <UncontrolledDropdown\n                    inNavbar\n                    nav\n                    >\n                    <DropdownToggle\n                        caret\n                        nav\n                    >\n                        Produk\n                    </DropdownToggle>\n                    <DropdownMenu right>\n                        <DropdownItem>\n                            <Link to=\"#\">\n                            Carik Jakarta\n                            </Link>\n                        </DropdownItem>\n                        <DropdownItem>\n                            <Link to=\"./dashboard-public\">\n                            Dashboard PKSP\n                            </Link>\n                        </DropdownItem>\n                        <DropdownItem>\n                            <Link to=\"./peta-sebaran\">\n                            Peta Sebaran\n                            </Link>\n                        </DropdownItem>\n                    </DropdownMenu>\n                </UncontrolledDropdown>\n                <UncontrolledDropdown\n                    inNavbar\n                    nav\n                    >\n                    <DropdownToggle\n                        caret\n                        nav\n                    >\n                        Layanan Kader Dasawima\n                    </DropdownToggle>\n                    <DropdownMenu right>\n                        <DropdownItem>\n                            <Link to=\"#\">\n                            Carik Kader\n                            </Link>\n                        </DropdownItem>\n                    </DropdownMenu>\n                </UncontrolledDropdown>\n                <NavItem>\n                    <NavLink href=\"./\">\n                        Tentang\n                    </NavLink>\n                </NavItem>\n                <NavItem className=\"mr-3\">\n                    <NavLink href=\"./\">\n                        Kontak Kami\n                    </NavLink>\n                </NavItem>\n            </Nav>\n          </div>\n        </div>\n      </Fragment>\n    );\n  }\n}\n\nconst mapStateToProps = state => ({\n  sidebarToggleMobile: state.ThemeOptions.sidebarToggleMobile\n});\n\nconst mapDispatchToProps = dispatch => ({\n  setSidebarToggleMobile: enable => dispatch(setSidebarToggleMobile(enable))\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(HeaderLanding);\n","import { IconPancasila } from 'assets/images';\nimport { routesNavTopPublic } from 'config/routes';\nimport React, { Fragment, useState } from 'react';\nimport { Link, Route, Router, useHistory } from 'react-router-dom';\nimport { Button, Modal, ModalHeader, ModalBody, ModalFooter, Row, Col, Card, CardBody } from 'reactstrap';\n\nconst MegaMenu = (props) => {\n    const {isOpen, setModal} = props;\n\n    const history = useHistory();\n    const modalLink = (path) => {\n        setModal(!isOpen);\n        history.push(path);\n    }\n  return (\n    <Fragment>\n        <Modal isOpen={isOpen}  fullscreen={true}>\n            <ModalHeader className=\"container\">\n                Topik Data\n            </ModalHeader>\n            <ModalBody className=\"container\">\n                <Row>\n                    { routesNavTopPublic.map((data, i) => {\n                        return <Col lg=\"3\" className=\"px-2 py-2\" key={i}>\n                            <Link onClick={() => modalLink(data.path)}>\n                                <Card className=\"border-warning h-100\">\n                                    <CardBody className=\"m-0 p-2\">\n                                        <div className='ml-3 mt-2 d-flex'>\n                                            <img src={data.icon} height=\"50px\" />\n                                            <h6 className=\"font-weight-bold ml-4\">\n                                                {data.name}\n                                            </h6>\n                                        </div>\n                                    </CardBody>\n                                </Card>\n                            </Link>\n                        </Col>\n                    }) }\n                </Row>\n            </ModalBody>\n        </Modal>\n    </Fragment>\n  );\n};\n\nexport default MegaMenu;","import { faArrowCircleDown, faArrowDown, faCaretDown, faCaretUp, faChartArea, faChartPie, faChevronDown, faChevronUp, faUnlock } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { LogoSimPkkHeader } from 'assets/images';\nimport { routesManajemenMenu, routesMonirotingMenu } from 'config/routes';\nimport MegaMenu from 'layout-components/MegaMenu';\nimport React, { Fragment, useState } from 'react';\nimport { Link } from 'react-router-dom';\nimport { Button, DropdownItem, DropdownMenu, DropdownToggle, Nav, NavItem, UncontrolledDropdown } from 'reactstrap';\n\nconst HeaderDashboardPublic = () => {\n    const [modal, setModal] = useState(false);\n\n    const toggle = () => setModal(!modal);\n    \n    return (\n      <Fragment>\n        <div \n        className='sticky-top'\n        style={{\n            backgroundColor: \"#FFFFFF\",\n            border: modal ? \"none\" : \"1px solid #f5f5f5\",\n            boxShadow: modal ? \"\" : \"0 1px 5px 0 rgb(0 0 0 / 10%), 0 1px 10px 0 rgb(0 0 0 / 6%)\"\n        }}>\n            <div className=\"app-header container-fluid\" >\n            <div className=\"app-header--pane\">\n                <Link to=\"/dashboard-public\">\n                    <img src={LogoSimPkkHeader} />\n                </Link>\n            </div>\n            <div className=\"app-header--pane d-none d-md-flex d-lg-flex\">\n                <Nav>\n                    <NavItem >\n                        <Link to=\"/peta-sebaran\" className='nav-link'>\n                           Peta Sebaran\n                        </Link>\n                    </NavItem>\n                    <NavItem >\n                        <Link onClick={toggle} className='nav-link'>\n                           Topik Data\n                           <FontAwesomeIcon className='ml-2' icon={modal ? faCaretUp : faCaretDown} />\n                        </Link>\n                    </NavItem>\n                    <UncontrolledDropdown\n                        inNavbar\n                        nav\n                        >\n                        <DropdownToggle\n                            caret\n                            nav\n                        >\n                            Manajemen\n                        </DropdownToggle>\n                        <DropdownMenu right>\n                            {\n                                routesManajemenMenu.map((val) => {\n                                    return <DropdownItem disabled={val?.isDisabled}>\n                                            <a href={val.path} target=\"_blank\">\n                                                {val.name}\n                                            </a>\n                                        </DropdownItem>\n                                })\n                            } \n                            \n                        </DropdownMenu>\n                    </UncontrolledDropdown>\n                    <UncontrolledDropdown\n                        inNavbar\n                        nav\n                        >\n                        <DropdownToggle\n                            caret\n                            nav\n                        >\n                            Monitoring\n                        </DropdownToggle>\n                        <DropdownMenu right>\n                            {\n                                routesMonirotingMenu.map((val) => {\n                                    return <DropdownItem disabled={val?.isDisabled}>\n                                            <a href={val.path} target=\"_blank\">\n                                                {val.name}\n                                            </a>\n                                        </DropdownItem>\n                                })\n                            } \n                        </DropdownMenu>\n                    </UncontrolledDropdown>\n                </Nav>\n                <a href='https://carik.jakarta.go.id/dashboard/v2/' target=\"_blank\">\n                    <Button className=\"dashboard-button\">\n                        <FontAwesomeIcon icon={faChartPie} className=\"mr-2\" /> Dashboard Keluarga Jakarta \n                    </Button>\n                </a>\n                <a href=\"https://simpkk.jakarta.go.id/satudata/#/auth/signin\" target=\"_blank\">\n                    <Button className=\"login-button\">\n                        Masuk <FontAwesomeIcon icon={faUnlock} className=\"ml-2\" />\n                    </Button>\n                </a>\n            </div>\n            </div>\n        </div>\n        <MegaMenu isOpen={modal} setModal={setModal}/>\n      </Fragment>\n    );\n}\n\nexport default HeaderDashboardPublic;\n","import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport routes from 'config/routes';\nimport React, { Fragment, Component } from 'react';\nimport { ProSidebar, Menu, MenuItem, SubMenu, SidebarFooter, SidebarContent } from 'react-pro-sidebar';\nimport 'react-pro-sidebar/dist/css/styles.css';\nimport { Link } from 'react-router-dom';\nimport { UncontrolledTooltip } from 'reactstrap';\n\nclass SidebarPro extends Component {\n  render() {\n    return (\n      <Fragment>\n        <ProSidebar collapsed={true} className=\"costume-menu-container fixed-top\" >\n            <SidebarContent>\n                <Menu iconShape=\"circle\" className='costume-menu-wrapper' >\n                    {routes.map((route, idx) => {\n                        return route && route.status ? (\n                            !route.children ? <MenuItem\n                            key={idx} \n                            icon={<FontAwesomeIcon className='icon-sidebar-pro' icon={route.icon} />}\n                            className=\"costume-menu-item\"\n                            id={'item-'+idx}\n                        >\n                            <Link to={route.path}>\n                                {route.name}\n                            </Link>\n                        </MenuItem> : \n                        <SubMenu \n                            key={idx} \n                            id={'item-'+idx} \n                            title={route.name}\n                            icon={<FontAwesomeIcon className='icon-sidebar-pro' icon={route.icon} />}\n                            className=\"costume-menu-item\"\n                        >\n                            <MenuItem active={false}>{route.name}</MenuItem>\n                            {\n                                route.children.map((r, id) => {\n                                    return r ? (\n                                        <MenuItem \n                                            key={'child'+id}\n                                            className=\"costume-menu-item costume-submenu-item\"\n                                            icon={<FontAwesomeIcon className='icon-sidebar-pro' icon={r.icon} />}\n                                        >\n                                            <Link to={r.path}>\n                                                {r.name}\n                                            </Link>\n                                        </MenuItem>\n                                    ) : (null);\n                                })\n                            }\n                        </SubMenu>\n                        ) : (null);\n                    })}\n                </Menu>\n            </SidebarContent>\n            <SidebarFooter className='text-center'>\n                @2022\n            </SidebarFooter>\n        </ProSidebar>\n        {routes.map((route, idx) => {\n            return route && route.status ? (\n                <UncontrolledTooltip\n                    key={'tooltip-'+idx}\n                    placement=\"right\"\n                    container=\"body\"\n                    trigger={!route.children ? \"hover focus\" : \"\"}\n                    target={'item-'+idx}>\n                    {route.name}\n                </UncontrolledTooltip>\n            ) : (null);\n        })}\n      </Fragment>\n    );\n  }\n}\n\nexport default SidebarPro;\n","import React, { Fragment, Component } from 'react';\n\nimport { Link } from 'react-router-dom';\nimport {  Nav, NavItem, Breadcrumb, BreadcrumbItem} from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { LogoInstansi } from 'layout-components';\n\nclass HeaderUserLogin extends Component {\n  render() {\n    return (\n      <Fragment>\n        <div className=\"app-sidebar--header pl-3\" style={{\n            backgroundColor: \"#FFFFFF\"\n            }}>\n            <Nav>\n                <NavItem>\n                    <FontAwesomeIcon icon={['far', 'folder-open']} />  Pendataan Keluarga Satu Pintu <br />\n                    <small>\n                        Temukan informasi terkini mengenai Keluarga dan Individu di DKI Jakarta\n                    </small>\n                </NavItem>\n            </Nav>\n            <Link to=\"./auth\">\n                    <LogoInstansi styeCostume={{\n                        height: \"25px\"\n                    }} />\n            </Link>\n        </div>\n        <div>\n            <Breadcrumb listTag=\"div\">\n                <BreadcrumbItem\n                    active\n                    // href=\"#\"\n                    tag=\"a\"\n                >\n                User\n                </BreadcrumbItem>\n                <BreadcrumbItem\n                    active\n                    tag=\"span\"\n                >\n                Dashboard\n                </BreadcrumbItem>\n            </Breadcrumb>\n        </div>\n      </Fragment>\n    );\n  }\n}\n\nexport default HeaderUserLogin;\n","import { LogoCarik, LogoDppapp, LogoPkk } from 'assets/images';\nimport React, { Fragment } from 'react';\nimport { Row, Col } from 'reactstrap';\n\nconst LogoInstansi = (styleCostume= {}) => {\n  return (\n    <Fragment>\n        <Row style={{\n            backgroundColor: \"white\",\n            borderRadius: \"15px\",\n            height: \"25px\"\n        }} className=\"justify-beetwen\" >\n            <Col lg=\"4\" md=\"4\" >\n                <img src={ LogoDppapp } />\n            </Col>\n            <Col lg=\"4\" md=\"4\" >\n                <img src={ LogoPkk } />\n            </Col>\n            <Col lg=\"4\" md=\"4\" >\n                <img src={ LogoCarik } />\n            </Col>\n        </Row>\n    </Fragment>\n  );\n};\n\nexport default LogoInstansi;","import React, { Fragment } from 'react';\nimport { Col, Row } from 'reactstrap';\n\nconst HeaderTopikData = ({pagesTitle, pagesDescriptions}) => {\n    return (\n      <Fragment>\n        <div id='section-satu' className=\"hero-wrapper pt-3 pb-3 bg-gradient-primary\">\n              <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n              <div className=\"bg-composed-wrapper--content pb-2 pt-2\">\n                  <div className=\"container text-white\">\n                  <Row>\n                      <Col lg=\"6\" className=\"px-0\">\n                      <div className=\"text-start\">\n                          \n                          <div className=\"\">\n                          <h3 className=\"font-weight-bold\">\n                              {pagesTitle}\n                          </h3>\n                          <p className=\"mb-3\" style={{\n                              fontSize: '12px'\n                          }}>\n                              {pagesDescriptions}\n                          </p>\n                          </div>\n                      </div>\n                      </Col>\n                      <Col lg=\"6\" className=\"px-0 mx-auto d-flex align-items-center pl-5\">\n                      \n                      </Col>\n                  </Row>\n                  </div>\n              </div>\n              </div>\n        </div>\n      </Fragment>\n    );\n}\n\nexport default HeaderTopikData;\n","import React, { Fragment, Component, Navbar, NavbarToggler, Nav, NavItem, NavLink, Collapse, UncontrolledDropdown, DropdownToggle, DropdownMenu, DropdownItem, NavbarText } from 'react';\nimport { connect } from 'react-redux';\nimport { setSidebarToggleMobile } from '../../reducers/ThemeOptions';\n\nclass Sidebar extends Component {\n  toggleSidebarMobile = () => {\n    let { sidebarToggleMobile, setSidebarToggleMobile } = this.props;\n    setSidebarToggleMobile(!sidebarToggleMobile);\n  };\n\n  render() {\n    let { sidebarToggleMobile } = this.props;\n\n    return (\n      <Fragment>\n        <div>\n            <Navbar\n                color=\"light\"\n                expand=\"md\"\n                light\n            >\n                {/* <NavbarToggler onClick={function noRefCheck(){}} /> */}\n                {/* <Collapse navbar> */}\n                <Nav\n                    className=\"me-auto\"\n                    navbar\n                >\n                    <NavItem>\n                    <NavLink href=\"/components/\">\n                        Components\n                    </NavLink>\n                    </NavItem>\n                    <NavItem>\n                    <NavLink href=\"https://github.com/reactstrap/reactstrap\">\n                        GitHub\n                    </NavLink>\n                    </NavItem>\n                    <UncontrolledDropdown\n                    inNavbar\n                    nav\n                    >\n                    <DropdownToggle\n                        caret\n                        nav\n                    >\n                        Options\n                    </DropdownToggle>\n                    <DropdownMenu right>\n                        <DropdownItem>\n                        Option 1\n                        </DropdownItem>\n                        <DropdownItem>\n                        Option 2\n                        </DropdownItem>\n                        <DropdownItem divider />\n                        <DropdownItem>\n                        Reset\n                        </DropdownItem>\n                    </DropdownMenu>\n                    </UncontrolledDropdown>\n                </Nav>\n                <NavbarText>\n                    Simple Text\n                </NavbarText>\n                {/* </Collapse> */}\n            </Navbar>\n        </div>\n      </Fragment>\n    );\n  }\n}\n\nconst mapStateToProps = state => ({\n  sidebarToggleMobile: state.ThemeOptions.sidebarToggleMobile\n});\n\nconst mapDispatchToProps = dispatch => ({\n  setSidebarToggleMobile: enable => dispatch(setSidebarToggleMobile(enable))\n});\n\nexport default connect(mapStateToProps, mapDispatchToProps)(Sidebar);\n","import React, { Fragment, Component } from 'react';\nimport { Navbar, NavbarToggler, Nav, NavItem, NavLink, Collapse, UncontrolledDropdown, DropdownToggle, DropdownMenu, DropdownItem, NavbarText } from 'reactstrap';\n\nclass Topbar extends Component {\n\n  render() {\n    return (\n      <Fragment>\n        <Navbar\n            color=\"white\"\n            expand=\"lg\"\n            light\n            style={{\n                marginTop : \"75px\",\n                backgroundColor : \"white !important\",\n                height: \"50px\",\n                paddingLeft: \"87px\",\n                paddingRight: \"87px\"\n            }}\n        >\n            <NavbarToggler onClick={function noRefCheck(){}} />\n            <Collapse navbar>\n            <Nav\n                className=\"me-auto\"\n                navbar\n                style={{\n                    backgroundColor : \"white !important\",\n                    dropShadow: \"0px 4px 10px rgba(0, 0, 0, 0.05)\"\n                }}\n            >\n                <NavItem>\n                    <NavLink href=\"/components/\">\n                        Dashboard\n                    </NavLink>\n                </NavItem>\n                <NavItem>\n                    <NavLink href=\"https://github.com/reactstrap/reactstrap\">\n                        Registrasi\n                    </NavLink>\n                </NavItem>\n                <UncontrolledDropdown\n                    inNavbar\n                    nav\n                    >\n                    <DropdownToggle\n                        caret\n                        nav\n                    >\n                        Muskel\n                    </DropdownToggle>\n                    <DropdownMenu right>\n                        <DropdownItem>\n                        Option 1\n                        </DropdownItem>\n                        <DropdownItem>\n                        Option 2\n                        </DropdownItem>\n                        <DropdownItem divider />\n                        <DropdownItem>\n                        Reset\n                        </DropdownItem>\n                    </DropdownMenu>\n                </UncontrolledDropdown>\n            </Nav>\n            </Collapse>\n        </Navbar>\n      </Fragment>\n    );\n  }\n}\n\n// const mapStateToProps = state => ({\n//   sidebarToggleMobile: state.ThemeOptions.sidebarToggleMobile\n// });\n\n// const mapDispatchToProps = dispatch => ({\n//   setSidebarToggleMobile: enable => dispatch(setSidebarToggleMobile(enable))\n// });\n\nexport default (Topbar);\n","import React, { Fragment, Component } from 'react';\n\nimport { Link } from 'react-router-dom';\nimport { Button, Nav, NavItem, NavLink, UncontrolledDropdown, DropdownToggle, DropdownMenu, DropdownItem } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nclass SidebarHeader extends Component {\n  render() {\n    return (\n      <Fragment>\n        <div className=\"app-sidebar--header\" style={{\n          backgroundColor: \"#FFFFFF\"\n        }}>\n        <Nav>\n          <NavItem>\n              <Nav>\n                    <Link to=\"/dashboard-public\"> \n                        Dashboard Pendataan\n                    </Link>\n              </Nav>\n          </NavItem>\n      </Nav>\n      <Link to=\"./auth\">\n          <Button className=\"login-button\">\n              Masuk <FontAwesomeIcon icon={['fa', 'unlock']} className=\"ml-2\" />\n          </Button>\n      </Link>\n        </div>\n      </Fragment>\n    );\n  }\n}\n\nexport default SidebarHeader;\n","import { LogoSimPkk, LogoSimPkkWhite } from 'assets/images';\nimport React, { Fragment, useEffect, useState } from 'react';\nimport PerfectScrollbar from 'react-perfect-scrollbar';\nimport { useDispatch, useSelector } from 'react-redux';\nimport ReactSelect from 'react-select';\nimport { Card, CardBody } from 'reactstrap';\n\nconst SidebarMaps = () => {\n  const { ReducersKota, ReducersKecamatan, ReducersKelurahan } = useSelector(state => state)\n  const dispatchKota = useDispatch(state => state.ReducersKota)\n\n  \n  const [kota, setKota] = useState([])\n  const [kecamatan, setKecamatan] = useState([])\n  const [kelurahan, setKelurahan] = useState([])\n  const [isDisabled, setIsDisabled] = useState({\n    kota : false, \n    kecamatan : true,\n    kelurahan : true,\n    rw : true,\n    rt : true\n  })\n\n  const getKota = () => {\n    setKota(ReducersKota.kota);\n  }\n\n  const getKecamatan = (mapSelectedKotaId) => {\n    console.log('Kecamatan ', mapSelectedKotaId);\n    const filterKecamatan = ReducersKecamatan.kecamatan.filter((data) => {\n        return data.parentId == mapSelectedKotaId;\n    })\n    setKecamatan(filterKecamatan);\n  }\n\n  const getKelurahan = (mapSelectedKecamatanId) => {\n    console.log('Kelurahan ', mapSelectedKecamatanId);\n    const filterKelurahan = ReducersKelurahan.kelurahan.filter((data) => {\n        return data.parentId == mapSelectedKecamatanId;\n    })\n    setKelurahan(filterKelurahan);\n  }\n\n  const selectKota = (e) => {\n    if(e === null){\n      setIsDisabled({\n        ...isDisabled,\n        kecamatan : true\n      })\n      dispatchKota({\n        type : 'SET_MAP_KOTA',\n        selectedKotaId : null,\n        selectedKotaLabel : null, \n      })\n    }\n\n    if (e !== null) {\n      setIsDisabled({\n        ...isDisabled,\n        kecamatan : false\n      })\n      dispatchKota({\n        type : 'SET_MAP_KOTA',\n        selectedKotaId : e.value,\n        selectedKotaLabel : e.label,\n      })\n    }\n  }\n\n  const selectKecamatan = (e) => {\n    if(e === null){\n      setIsDisabled({\n        ...isDisabled,\n        kelurahan : true\n      })\n      dispatchKota({\n        type : 'SET_MAP_KECAMATAN',\n        selectedKecamatanId : null,\n        selectedKecamatanLabel : null, \n      })\n    }\n\n    if (e !== null) {\n      setIsDisabled({\n        ...isDisabled,\n        kelurahan : false\n      })\n      dispatchKota({\n        type : 'SET_MAP_KECAMATAN',\n        selectedKecamatanId : e.value,\n        selectedKecamatanLabel : e.label,\n      })\n    }\n  }\n\n  const selectKelurahan = (e) => {\n    if(e === null){\n      setIsDisabled({\n        ...isDisabled,\n        rw : true\n      })\n      dispatchKota({\n        type : 'SET_MAP_KELURAHAN',\n        selectedKelurahanId : null,\n        selectedKelurahanLabel : null, \n      })\n    }\n\n    if (e !== null) {\n      setIsDisabled({\n        ...isDisabled,\n        rw : false\n      })\n      dispatchKota({\n        type : 'SET_MAP_KELURAHAN',\n        selectedKelurahanId : e.value,\n        selectedKelurahanLabel : e.label,\n      })\n    }\n  }\n\n  useEffect(() => {\n    console.log(ReducersKecamatan);\n    getKota();\n  }, [])\n\n  useEffect(() => {\n    if(ReducersKota.mapSelectedKotaId !== null) {\n      getKecamatan(ReducersKota.mapSelectedKotaId);\n    }\n  }, [ReducersKota])\n\n  useEffect(() => {\n    if(ReducersKecamatan.mapSelectedKecamatanId !== null) {\n      getKelurahan(ReducersKecamatan.mapSelectedKecamatanId);\n    }\n  }, [ReducersKecamatan])\n\n  return (\n    <Fragment>\n      <PerfectScrollbar>\n        <div className=\"sidebar-navigation map-sidebar\">\n          <div className='text-center font-weight-bold pt-5 pb-3'>\n            <img src={LogoSimPkkWhite} alt='Logo SIM PKK' width=\"40%\" />\n            <h5>Topik Data Sebaran</h5>\n          </div>\n          <div className='m-3 text-center'>\n            Kami sedang menyiapkan peta hasil pendataan untuk anda.\n            Silahkan Akses Data Melalui Dashboard SIM PKK.\n            {/* <ReactSelect \n              className=\"basic-single costume-select mb-2\"\n              placeholder=\"Pilih Kota\"\n              defaultValue={kota[0]}\n              isClearable={true}\n              isRtl={true}\n              isSearchable={true}\n              name=\"selectKota\"\n              options={kota}\n              onChange={selectKota}\n            />\n            <ReactSelect \n              className=\"basic-single costume-select mb-2\"\n              placeholder=\"Pilih Kecamatan\"\n              defaultValue={kecamatan[0]}\n              isClearable={true}\n              isDisabled={isDisabled.kecamatan}\n              isRtl={true}\n              isSearchable={true}\n              name=\"selectKecamatan\"\n              options={kecamatan}\n              onChange={selectKecamatan}\n            />\n            <ReactSelect \n              className=\"basic-single costume-select\"\n              placeholder=\"Pilih Kelurahan\"\n              defaultValue={kelurahan[0]}\n              isClearable={true}\n              isDisabled={isDisabled.kelurahan}\n              isRtl={true}\n              isSearchable={true}\n              name=\"selectKelurahan\"\n              options={kelurahan}\n              onChange={selectKelurahan}\n            /> */}\n          </div>\n          <Card className=\"m-3\" style={{\n              backgroundColor : \"#ffffff3b\",\n            }}>\n            <CardBody>\n              \n            </CardBody>\n          </Card>\n        </div>\n      </PerfectScrollbar>\n    </Fragment>\n  )\n}\n\nexport default SidebarMaps;\n","import React, { Fragment, Component } from 'react';\n\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\n\nimport { UncontrolledTooltip, Button } from 'reactstrap';\n\nclass PageTitle extends Component {\n  render() {\n    return (\n      <Fragment>\n        <div className=\"app-page-title\">\n          <div>\n            <div className=\"app-page-title--first\">\n              <div className=\"app-page-title--heading\">\n                <h1>{this.props.titleHeading}</h1>\n                <div className=\"app-page-title--description\">\n                  {this.props.titleDescription}\n                </div>\n              </div>\n            </div>\n          </div>\n          <div className=\"d-flex align-items-center mt-3 mt-lg-0\">\n            <Button\n              size=\"sm\"\n              color=\"primary\"\n              className=\"mx-0 mr-3 mr-lg-0 mx-lg-3\">\n              <span className=\"btn-wrapper--label\">View details</span>\n            </Button>\n            <Button size=\"sm\" color=\"success\" id=\"AddEntryTooltip20\">\n              <span className=\"btn-wrapper--icon\">\n                <FontAwesomeIcon\n                  icon={['fas', 'plus']}\n                  className=\"opacity-8 font-size-xs\"\n                />\n              </span>\n            </Button>\n            <UncontrolledTooltip target=\"AddEntryTooltip20\">\n              Add new entry\n            </UncontrolledTooltip>\n          </div>\n        </div>\n      </Fragment>\n    );\n  }\n}\n\nexport default PageTitle;\n","import React, { Fragment, useEffect } from 'react';\n\nimport { Row, Col, ListGroup,ListGroupItem } from 'reactstrap';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { LogoCarik, LogoPkk, LogoSimPkk } from \"../../assets/images\";\nimport { faInstagram } from '@fortawesome/free-brands-svg-icons';\nimport { faLocationArrow, faMailBulk, faPhone } from '@fortawesome/free-solid-svg-icons';\nimport { useHistory } from 'react-router';\n\nfunction Footer() {\n  const history = useHistory();\n  const pathname = history.location.pathname;\n\n  useEffect(() => {\n    console.log(history.location.pathname);\n  }, [])\n  return (\n    <Fragment>\n      \n      <div id=\"section-dua\" className=\"hero-wrapper\" style={{\n        minHeight: pathname == '/dashboard-public' ? \"350px\" : \"200px\",\n      }}>\n        <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n          <div className=\"bg-composed-wrapper--content pb-2 py-lg-5\">\n            <div className=\"container\">\n              <Row>\n                <Col lg={pathname == '/dashboard-public' ? \"5\" : \"12\" } sm=\"12\">\n                  <Row>\n                    <Col lg={pathname == '/dashboard-public' ? \"12\" : \"6\"} sm=\"12\">\n                      <ListGroup horizontal style={{\n                        backgroundColor: \"none !important\"\n                      }}>\n                        <ListGroupItem className=\"footer-list border-0\">\n                          <div className=\"d-flex w-100\">\n                            <div className=\"mr-3\">\n                              <FontAwesomeIcon icon={faLocationArrow} />\n                            </div>\n                            <div>\n                              <div className=\"font-weight-bold d-block opacity-8\">\n                              SEKRETARIAT TIM PENGGERAK PKK PROVINSI DAERAH KHUSUS IBUKOTA JAKARTA\n                              </div>\n                              <div className=\"opacity-5\">\n                              Jl. Kebagusan Raya No.42, RT.1/RW.7, Ragunan, Kec. Ps. Minggu, Kota Jakarta Selatan, Daerah Khusus Ibukota Jakarta 12550\n                              </div>\n                            </div>\n                          </div>\n                        </ListGroupItem>\n                      </ListGroup>\n                    </Col>\n                    <Col lg={pathname == '/dashboard-public' ? \"12\" : \"2\"} sm=\"12\">\n                      <ListGroup horizontal style={{\n                        backgroundColor: \"none !important\"\n                      }}>\n                        <ListGroupItem className=\"footer-list border-0\">\n                          <div className=\"d-flex w-100\">\n                            <div className=\"mr-3\">\n                              <FontAwesomeIcon icon={faInstagram} />\n                            </div>\n                            <div>\n                              <div className=\"font-weight-bold d-block opacity-8\">\n                                Instagram\n                              </div>\n                              <div className=\"opacity-5\">\n                                @pkkjakarta\n                              </div>\n                            </div>\n                          </div>\n                        </ListGroupItem>\n                      </ListGroup>\n                    </Col>\n                    <Col lg={pathname == '/dashboard-public' ? \"12\" : \"2\"} sm=\"12\">\n                      <ListGroup horizontal style={{\n                        backgroundColor: \"none !important\"\n                      }}>\n                        <ListGroupItem className=\"footer-list border-0\">\n                          <div className=\"d-flex w-100\">\n                            <div className=\"mr-3\">\n                              <FontAwesomeIcon icon={faPhone} />\n                            </div>\n                            <div>\n                              <div className=\"font-weight-bold d-block opacity-8\">\n                                Telepon\n                              </div>\n                              <div className=\"opacity-5\">\n                                02178838466\n                              </div>\n                            </div>\n                          </div>\n                        </ListGroupItem>\n                      </ListGroup>\n                    </Col>\n                    <Col lg={pathname == '/dashboard-public' ? \"12\" : \"2\"} sm=\"12\">\n                      <ListGroup horizontal style={{\n                        backgroundColor: \"none !important\"\n                      }}>\n                        <ListGroupItem className=\"footer-list border-0\">\n                          <div className=\"d-flex w-100\">\n                            <div className=\"mr-3\">\n                              <FontAwesomeIcon icon={faMailBulk} />\n                            </div>\n                            <div>\n                              <div className=\"font-weight-bold d-block opacity-8\">\n                                Email\n                              </div>\n                              <div className=\"opacity-5\">\n                                tppkkdki@gmail.com\n                              </div>\n                            </div>\n                          </div>\n                        </ListGroupItem>\n                      </ListGroup>\n                    </Col>\n                  </Row>\n                </Col>\n              </Row>\n            </div>\n          </div>\n        </div>\n      </div>\n      <div className=\"app-footer text-black-50\" style={{\n        height: \"6vh\"\n      }}>\n        <div className=\"app-footer--first\">\n          <span>TP PKK DKI Jakarta</span> ©\n          2022 - SIM PKK\n        </div>\n        <div className=\"app-footer--second\" style={{\n          lineHeight: \"3vh\"\n        }}>\n          <Row>\n              <Col lg=\"4\" md=\"4\" sm=\"4\" className=\"text-center\">\n                <img src={ LogoSimPkk } width=\"60px\" className='img-fluid'/>\n              </Col>\n              <Col lg=\"4\" md=\"4\" sm=\"4\" className=\"text-left\">\n                <img src={ LogoPkk } width=\"85px\" className='img-fluid'/>\n              </Col>\n              <Col lg=\"4\" md=\"4\" sm=\"4\" className=\"text-right\">\n                <img src={ LogoCarik } width=\"85px\" className='img-fluid'/>\n              </Col>\n          </Row>\n        </div>\n      </div>\n    </Fragment>\n  );\n}\n\nexport default Footer;\n","import React, { Fragment } from 'react';\nimport { Footer, Header, HeaderLanding } from '../../layout-components';\n\nimport PropTypes from 'prop-types';\n\nconst LandingLayout = props => {\n  const { children } = props;\n\n  return(\n    <Fragment>\n        <HeaderLanding />\n        {children}\n        <Footer />\n    </Fragment>\n  );\n};\n\nLandingLayout.propTypes = {\n  children: PropTypes.node\n};\n\nexport default LandingLayout;\n","import React, { Component } from 'react';\n\nimport { CardBody, Card, CardHeader } from 'reactstrap';\n\nexport default class ExampleWrapperSimple extends Component {\n  render() {\n    return (\n      <Card className=\"card-box mb-5\" style={{\n        height: \"100% !important\"\n      }}>\n        <CardHeader>\n          <div className=\"card-header--title font-size-md font-weight-bold py-2\">\n            {this.props.sectionHeading}\n          </div>\n        </CardHeader>\n        <CardBody>{this.props.children}</CardBody>\n      </Card>\n    );\n  }\n}\n","import React, { Component } from 'react';\n\nexport default class ExampleWrapperSeamless extends Component {\n  render() {\n    return (\n      <div className=\"example-card-seamless mb-5\">\n        <h5 className=\"display-4 mb-4 font-weight-bold\">\n          {this.props.sectionHeading}\n        </h5>\n        {this.props.children}\n      </div>\n    );\n  }\n}\n","import React, { Component } from 'react';\n\nexport default class ExampleWrapperContainer extends Component {\n  render() {\n    return (\n      <div className=\"example-card-container mb-5\">\n        <div className=\"container\">\n          <h5 className=\"display-4 mb-4 font-weight-bold\">\n            {this.props.sectionHeading}\n          </h5>\n          {this.props.children}\n        </div>\n      </div>\n    );\n  }\n}\n","import React, { Fragment } from 'react';\n\nimport PropTypes from 'prop-types';\n\nimport { connect } from 'react-redux';\n\nimport { Sidebar, Topbar, Header, Footer } from '../../layout-components';\n\nconst LeftSidebar = props => {\n  const { children } = props;\n\n  return (\n    <Fragment>\n      <div className=\"app-wrapper app-header-fixed\">\n        <div>\n          {/* <Sidebar /> */}\n        </div>\n        <div className=\"app-main\">\n          <Header />\n          <Topbar />\n          <div className=\"app-content\">\n            <div className=\"app-content--inner\">\n              <div className=\"app-content--inner__wrapper\">{children}</div>\n            </div>\n            <Footer />\n          </div>\n        </div>\n      </div>\n    </Fragment>\n  );\n};\n\nLeftSidebar.propTypes = {\n  children: PropTypes.node\n};\n\nconst mapStateToProps = state => ({\n  sidebarToggleMobile: state.ThemeOptions.sidebarToggleMobile\n});\n\nexport default connect(mapStateToProps)(LeftSidebar);\n","import React, { Fragment } from 'react';\nimport { Footer, HeaderDashboardPublic } from '../../layout-components';\nimport PropTypes from 'prop-types';\n\nconst DashboardPublicLayout = props => {\nconst { children } = props;\n\n  return(\n    <Fragment>\n        <HeaderDashboardPublic />\n        {children}\n        <Footer />\n    </Fragment>\n  );\n};\n\nDashboardPublicLayout.propTypes = {\n  children: PropTypes.node\n};\n\nexport default DashboardPublicLayout;\n","import React, { Fragment, useEffect, useRef, useState } from 'react';\nimport { useSelector } from 'react-redux';\nimport ReactSelect from 'react-select';\nimport { CharacterRemove, NumberSeparator } from \"helpers\";\nimport { Col, Row } from 'reactstrap';\n\nconst GrafikLayout = props => {\n  const { children, series, setSeries, labels, setLabels, titleChart, setTitleChart } = props;\n  const { ReducersKependudukan, ReducersPutusSekolah, ReducersKota } = useSelector(state => state)\n\n  const ReducersMaster = ReducersKependudukan;\n  const ReducersPayload = ReducersPutusSekolah;\n  const ReducersParams = ReducersKota;\n\n  const [Kota, setKota] = useState([])\n  const [statusFieldInit, setStatusFieldInit] = useState(false) \n  const [variabel, setVariabel] = useState()\n  const [variabelPertama, setVariabelPertama] = useState([])\n\n  const refVarPertama = useRef(variabelPertama);\n  const refLabels = useRef(labels)\n  const refSeries = useRef(series)\n\n  const selectKota = (e) => {\n    if (e === null) {\n      setTitleChart({\n        label : 'PROVINSI DKI JAKARTA',\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersMaster.jumlahProvinsi.jumlah_penduduk) + 'Jiwa',\n        value : '',\n      })\n\n      setVariabelPertama(refVarPertama.current)\n      setLabels(refLabels.current)\n      setSeries(refSeries.current)\n      return false;\n    }\n\n    if (Kota.length > 0 && e.label !== Kota[0].label) {\n      setVariabelPertama(refVarPertama.current)\n      setLabels(refLabels.current)\n      setSeries(refSeries.current)\n    }\n\n    setTitleChart({\n      label : e.label,\n      description : ' Jumlah Penduduk '+ NumberSeparator(ReducersMaster.jumlahPerkota[CharacterRemove(e.label, / /g, '_')].jumlah_penduduk) + 'Jiwa',\n      value : e.value,\n    })\n  }\n\n  const reactSelected = (val, action) => {\n    if (val === null) {\n      return false;\n    }\n\n    setVariabelPertama(val)\n    let tmpLabel = [];\n    let tmpSeries = [];\n    val.map((data, i) => {\n      tmpLabel.push(data.label)\n      tmpSeries.push(variabel[data.value])\n    })\n    setLabels(tmpLabel)\n    setSeries(tmpSeries)\n  }\n\n  useEffect(() => {\n   if (titleChart !== null && titleChart.label !== 'PROVINSI DKI JAKARTA') {\n    setVariabel(ReducersPayload.jumlahPerkota[CharacterRemove(titleChart.label, / /g, '_')])\n   }\n  }, [titleChart])\n\n  useEffect(() => {\n    if (ReducersPayload.jumlahProvinsi.jumlah_penduduk !== 0 ) {\n      setVariabel(ReducersPayload.jumlahProvinsi);\n      \n      setTitleChart({\n        label : 'PROVINSI DKI JAKARTA',\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersMaster.jumlahProvinsi.jumlah_penduduk) + 'Jiwa',\n        value : '',\n      })\n    }\n  }, [ReducersPayload])\n\n  useEffect(() => {\n    if (ReducersPayload.fieldReactSelected !== undefined && ReducersPayload.fieldReactSelected.length > 0) {\n      if (!statusFieldInit) {\n        setStatusFieldInit(true);\n      }\n    }\n  }, [ReducersPayload])\n\n  useEffect(() => {\n    if (statusFieldInit) {\n      let tmpLabel = [];\n      let tmpSeries = [];\n      ReducersPayload.fieldReactSelected.map((data, i) => {\n        tmpLabel.push(data.label)\n        tmpSeries.push(ReducersPayload.jumlahProvinsi[data.value])\n      })\n\n      const tmpVariabelPertama = ReducersPayload.fieldReactSelected.map((data, key) => {\n        return ReducersPayload.fieldReactSelected[key]\n      })\n\n\n      setVariabelPertama(tmpVariabelPertama);\n      setLabels(tmpLabel)\n      setSeries(tmpSeries)\n    }\n  }, [statusFieldInit])\n\n  useEffect(() => {\n    console.log('Grafik Layout ',children);\n  } , [])\n\n  return (\n    <Fragment>\n        {\n           ReducersPayload.isError ? null :\n          <div id='s2-d-publik' className=\"hero-wrapper mt-3\">\n              <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n                <div className=\"bg-composed-wrapper--content pb-2\">\n                    <div className=\"container\">\n                      <Row>\n                        <Col lg=\"6\" className=\"px-0\">\n                          <div className=\"text-start\">\n                              <div className=\"\">\n                                <h3 className=\"font-weight-bold\">\n                                    {props.title ? props.title : 'Loading Data...'}\n                                </h3>\n                                <p className=\"mb-3\" style={{\n                                    fontSize: '12px'\n                                }}>\n                                    Data Update hasil pendataan 2022\n                                </p>\n                              </div>\n                          </div>\n                        </Col>\n                        <Col lg=\"6\" md=\"6\">\n                        </Col>\n                        <Col lg=\"12\" md=\"12\">\n                            <Row>\n                              <Col lg=\"3\" md=\"3\" className=\"p-0\">\n                                <ReactSelect \n                                  className=\"basic-single costume-select mb-2\"\n                                  placeholder=\"Pilih Kota\"\n                                  defaultValue={Kota}\n                                  isClearable={true}\n                                  isRtl={true}\n                                  isSearchable={true}\n                                  name=\"selectKota\"\n                                  options={ReducersParams.kota}\n                                  onChange={selectKota}\n                                />\n                              </Col>\n                              <Col lg=\"9\" md=\"9\" className=\"p-0 pl-2\">\n                                <ReactSelect \n                                  isMulti\n                                  className=\"basic-single costume-select mb-2\"\n                                  placeholder=\"Pilih Variabel\"\n                                  defaultValue={variabelPertama}\n                                  value={variabelPertama}\n                                  isClearable={true}\n                                  isRtl={true}\n                                  isSearchable={true}\n                                  name=\"selectVarPertama\"\n                                  options={ReducersPayload.fieldReactSelected}\n                                  onChange={(value, action) => reactSelected(value, action)}\n                                />\n                              </Col>\n                            </Row>\n                        </Col>\n                      </Row>\n                      <Row className=\"gx-5\">\n                        { children }\n                      </Row>\n                    </div>\n                </div>\n              </div>\n          </div>\n        }\n    </Fragment>\n  );\n};\n\nexport default GrafikLayout;","import React, { Fragment, useEffect, useRef, useState } from 'react';\nimport { Row, Col, Card, CardBody, CardFooter } from 'reactstrap';\nimport { useSelector } from 'react-redux';\nimport { CharacterRemove, configPieChart, NumberSeparator } from \"helpers\";\nimport { ViewApexChart } from 'pages-component/';\nimport ReactSelect from 'react-select';\n\nconst Penduduk = () => {\n  const { ReducersKependudukan, ReducersKota } = useSelector(state => state);\n  const [kependudukanKota, setKependudukanKota] = useState([])\n  const [variabelKependudukan, setVariabelKependudukan] = useState()\n  const [variabelPertamaKependudukan, setVariabelPertamaKependudukan] = useState([{\n    label : 'Pilih Variabel Pertama',\n    value : false,\n    series : 50\n  }])\n  const [variabelKeduaKependudukan, setVariabelKeduaKependudukan] = useState([{\n    label : 'Pilih Variabel Kedua',\n    value : false,\n    series : 50\n  }])\n\n  const refKependudukanKota = useRef(kependudukanKota);\n  const refVarPertama = useRef(variabelPertamaKependudukan);\n  const refVarKedua = useRef(variabelKeduaKependudukan);\n\n  const selectKota = (e) => {\n    if (e === null) {\n      setVariabelKependudukan(ReducersKependudukan.jumlahProvinsi);\n      \n      setKependudukanKota([{\n        label : 'PROVINSI DKI JAKARTA',\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahProvinsi.jumlah_penduduk) + 'Jiwa',\n        value : '',\n      }])\n\n      setVariabelPertamaKependudukan(refVarPertama.current);\n      setVariabelKeduaKependudukan(refVarKedua.current);\n      \n      return false;\n    }\n\n    if (kependudukanKota.length > 0 && e.label !== kependudukanKota[0].label) {\n      setKependudukanKota([{\n        label : e.label,\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahPerkota[CharacterRemove(e.label, / /g, '_')].jumlah_penduduk) + 'Jiwa',\n        value : e.value,\n      }])\n\n      setVariabelPertamaKependudukan(refVarPertama.current);\n      setVariabelKeduaKependudukan(refVarKedua.current);\n      return false;\n    }\n\n    setKependudukanKota([{\n      label : e.label,\n      description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahPerkota[CharacterRemove(e.label, / /g, '_')].jumlah_penduduk) + 'Jiwa',\n      value : e.value,\n    }])\n  }\n\n  const reactSelected = (val, action) => {\n    switch (action.name) {\n      case 'selectVarPertama':\n        if (val === null) {\n          setVariabelPertamaKependudukan(refVarPertama.current);\n          return false;\n        }\n        \n        setVariabelPertamaKependudukan([{\n          ...variabelPertamaKependudukan[0],\n          label : val.label,\n          series : variabelKependudukan[val.value]\n        }])\n        break;\n      case 'selectVarKedua':\n          if (val === null) {\n            setVariabelKeduaKependudukan(refVarKedua.current);\n            return false;\n          }\n\n          setVariabelKeduaKependudukan([{\n            ...variabelKeduaKependudukan[0],\n            label : val.label,\n            series : variabelKependudukan[val.value]\n          }])\n          break;\n    \n      default:\n        break;\n    }\n  }\n\n  useEffect(() => {\n   if (kependudukanKota.length > 0 && kependudukanKota[0].label !== 'PROVINSI DKI JAKARTA') {\n    setVariabelKependudukan(ReducersKependudukan.jumlahPerkota[CharacterRemove(kependudukanKota[0].label, / /g, '_')])\n   }\n\n  }, [kependudukanKota])\n\n  useEffect(() => {\n    if (ReducersKependudukan.jumlahProvinsi.jumlah_penduduk !== 0) {\n      setVariabelKependudukan(ReducersKependudukan.jumlahProvinsi);\n      \n      setKependudukanKota([{\n        label : 'PROVINSI DKI JAKARTA',\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahProvinsi.jumlah_penduduk) + 'Jiwa',\n        value : '',\n      }])\n    }\n\n  }, [ReducersKependudukan])\n\n  return (\n    <Fragment>\n\n        <div id='s2-d-publik' className=\"hero-wrapper mt-3\">\n            <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n              <div className=\"bg-composed-wrapper--content pb-2\">\n                  <div className=\"container\">\n                    <Row>\n                      <Col lg=\"6\" className=\"px-0\">\n                        <div className=\"text-start\">\n                            <div className=\"\">\n                              <h3 className=\"font-weight-bold\">\n                                  Grafik Sebaran Penduduk\n                              </h3>\n                              <p className=\"mb-3\" style={{\n                                  fontSize: '12px'\n                              }}>\n                                  Data Update hasil pendataan 2022\n                              </p>\n                            </div>\n                        </div>\n                      </Col>\n                      <Col lg=\"6\" md=\"6\">\n                      </Col>\n                      <Col lg=\"4\" md=\"4\">\n                          <Row>\n                            <Col lg=\"12\" md=\"12\" className=\"p-0\">\n                              <ReactSelect \n                                className=\"basic-single costume-select mb-2\"\n                                placeholder=\"Pilih Kota\"\n                                defaultValue={kependudukanKota}\n                                isClearable={true}\n                                isRtl={true}\n                                isSearchable={true}\n                                name=\"selectKota\"\n                                options={ReducersKota.kota}\n                                onChange={selectKota}\n                              />\n                            </Col>\n                            <Col lg=\"12\" md=\"12\" className=\"p-0 pt-2\">\n                              <ReactSelect \n                                className=\"basic-single costume-select mb-2\"\n                                placeholder=\"Pilih Variabel Pertama\"\n                                defaultValue={variabelPertamaKependudukan}\n                                value={variabelPertamaKependudukan}\n                                isClearable={true}\n                                isRtl={true}\n                                isSearchable={true}\n                                name=\"selectVarPertama\"\n                                options={ReducersKependudukan.fieldReactSelected}\n                                onChange={(value, action) => reactSelected(value, action)}\n                              />\n                            </Col>\n                            <Col lg=\"12\" md=\"12\" className=\"p-0 pt-2\">\n                              <ReactSelect \n                                className=\"basic-single costume-select mb-2\"\n                                placeholder=\"Pilih Variabel Kedua\"\n                                defaultValue={variabelKeduaKependudukan}\n                                value={variabelKeduaKependudukan}\n                                isClearable={true}\n                                isRtl={true}\n                                isSearchable={true}\n                                name=\"selectVarKedua\"\n                                options={ReducersKependudukan.fieldReactSelected}\n                                onChange={(value, action) => reactSelected(value, action)}\n                              />\n                            </Col>\n                          </Row>\n                      </Col>\n                      <Col  xl=\"8\" md=\"8\" >\n                        <Card>\n                              <CardBody className=\"pb-0\">\n                                <ViewApexChart config={configPieChart({\n                                  title : kependudukanKota,\n                                  series : [variabelPertamaKependudukan[0].series, variabelKeduaKependudukan[0].series],\n                                  labels : [variabelPertamaKependudukan[0].label, variabelKeduaKependudukan[0].label]\n                                })} type=\"donut\" />\n                              </CardBody>\n                              <CardFooter className=\"pb-4 font-weight-bold\">\n                                Hasil Pendataan 2022 - {kependudukanKota.length > 0 ? kependudukanKota[0].description : ''}\n                              </CardFooter>\n                          </Card>\n                      </Col>\n                    </Row>\n                  </div>\n              </div>\n            </div>\n        </div>\n\n    </Fragment>\n  );\n};\n\nexport default Penduduk;","import React, { Fragment, useEffect, useRef, useState } from 'react';\nimport { Row, Col, Card, CardBody, CardFooter } from 'reactstrap';\nimport { useSelector } from 'react-redux';\nimport { CharacterRemove, configBarChart, configPieChart, NumberSeparator } from \"helpers\";\nimport { ViewApexChart } from 'pages-component/';\nimport ReactSelect from 'react-select';\n\nconst Agama = () => {\n  const { ReducersKependudukan, ReducersAgama, ReducersKota } = useSelector(state => state);\n  const [Kota, setKota] = useState([])\n  const [variabel, setVariabel] = useState()\n  const [variabelPertama, setVariabelPertama] = useState([])\n  const [labels, setLabels] = useState([]);\n  const [series, setSeries] = useState([]);\n\n  const refKota = useRef(Kota);\n  const refVarPertama = useRef(variabelPertama);\n  const refLabels = useRef(labels)\n  const refSeries = useRef(series)\n\n  const selectKota = (e) => {\n    if (e === null) {\n      setKota([{\n        label : 'PROVINSI DKI JAKARTA',\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahProvinsi.jumlah_penduduk) + 'Jiwa',\n        value : '',\n      }])\n\n      setVariabelPertama(refVarPertama.current)\n      setLabels(refLabels.current)\n      setSeries(refSeries.current)\n      return false;\n    }\n\n    if (Kota.length > 0 && e.label !== Kota[0].label) {\n      setKota([{\n        label : e.label,\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahPerkota[CharacterRemove(e.label, / /g, '_')].jumlah_penduduk) + 'Jiwa',\n        value : e.value,\n      }])\n\n      setVariabelPertama(refVarPertama.current)\n      setLabels(refLabels.current)\n      setSeries(refSeries.current)\n    }\n\n    setKota([{\n      label : e.label,\n      description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahPerkota[CharacterRemove(e.label, / /g, '_')].jumlah_penduduk) + 'Jiwa',\n      value : e.value,\n    }])\n  }\n\n  const reactSelected = (val, action) => {\n    if (val === null) {\n      return false;\n    }\n\n    setVariabelPertama(val)\n    let tmpLabel = [];\n    let tmpSeries = [];\n    val.map((data, i) => {\n      tmpLabel.push(data.label)\n      tmpSeries.push(variabel[data.value])\n    })\n    setLabels(tmpLabel)\n    setSeries(tmpSeries)\n  }\n\n  useEffect(() => {\n   if (Kota.length > 0 && Kota[0].label !== 'PROVINSI DKI JAKARTA') {\n    setVariabel(ReducersAgama.jumlahPerkota[CharacterRemove(Kota[0].label, / /g, '_')])\n   }\n  }, [Kota])\n\n  useEffect(() => {\n    if (ReducersAgama.jumlahProvinsi.jumlah_penduduk !== 0 ) {\n      setVariabel(ReducersAgama.jumlahProvinsi);\n      \n      setKota([{\n        label : 'PROVINSI DKI JAKARTA',\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahProvinsi.jumlah_penduduk) + 'Jiwa',\n        value : '',\n      }])\n    }\n\n  }, [ReducersAgama])\n\n  return (\n    <Fragment>\n\n        <div id='s2-d-publik' className=\"hero-wrapper mt-3\">\n            <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n              <div className=\"bg-composed-wrapper--content pb-2\">\n                  <div className=\"container\">\n                    <Row>\n                      <Col lg=\"6\" className=\"px-0\">\n                        <div className=\"text-start\">\n                            <div className=\"\">\n                              <h3 className=\"font-weight-bold\">\n                                  Grafik Sebaran Agama\n                              </h3>\n                              <p className=\"mb-3\" style={{\n                                  fontSize: '12px'\n                              }}>\n                                  Data Update hasil pendataan 2022\n                              </p>\n                            </div>\n                        </div>\n                      </Col>\n                      <Col lg=\"6\" md=\"6\">\n                      </Col>\n                      <Col lg=\"12\" md=\"12\">\n                          <Row>\n                            <Col lg=\"3\" md=\"3\" className=\"p-0\">\n                              <ReactSelect \n                                className=\"basic-single costume-select mb-2\"\n                                placeholder=\"Pilih Kota\"\n                                defaultValue={Kota}\n                                isClearable={true}\n                                isRtl={true}\n                                isSearchable={true}\n                                name=\"selectKota\"\n                                options={ReducersKota.kota}\n                                onChange={selectKota}\n                              />\n                            </Col>\n                            <Col lg=\"9\" md=\"9\" className=\"p-0 pl-2\">\n                              <ReactSelect \n                                isMulti\n                                className=\"basic-single costume-select mb-2\"\n                                placeholder=\"Pilih Variabel Pertama\"\n                                defaultValue={variabelPertama}\n                                value={variabelPertama}\n                                isClearable={true}\n                                isRtl={true}\n                                isSearchable={true}\n                                name=\"selectVarPertama\"\n                                options={ReducersAgama.fieldReactSelected}\n                                onChange={(value, action) => reactSelected(value, action)}\n                              />\n                            </Col>\n                          </Row>\n                      </Col>\n                      <Col xl=\"6\" md=\"6\" className=\"px-0 pr-1\">\n                        <Card className=\"h-100\">\n                              <CardBody className=\"pb-0\">\n                                <ViewApexChart config={configPieChart({\n                                  title : Kota,\n                                  series : series,\n                                  labels : labels\n                                })} type=\"donut\" />\n                              </CardBody>\n                              <CardFooter className=\"pb-4 font-weight-bold\">\n                                Hasil Pendataan 2022 - {Kota.length > 0 ? Kota[0].description : ''}\n                              </CardFooter>\n                          </Card>\n                      </Col>\n                      <Col xl=\"6\" md=\"6\" className=\"px-0 pl-1\">\n                        <Card className=\"h-100\">\n                              <CardBody className=\"pb-0 h-100\">\n                                <ViewApexChart config={configBarChart({\n                                  title : Kota,\n                                  series : series,\n                                  labels : labels,\n                                  isHorizontal : false\n                                })} type=\"bar\" />\n                              </CardBody>\n                              <CardFooter className=\"pb-4 font-weight-bold\">\n                                Hasil Pendataan 2022 - {Kota.length > 0 ? Kota[0].description : ''}\n                              </CardFooter>\n                          </Card>\n                      </Col>\n                    </Row>\n                  </div>\n              </div>\n            </div>\n        </div>\n\n    </Fragment>\n  );\n};\n\nexport default Agama;","import React, { Fragment, useEffect, useRef, useState } from 'react';\nimport { Row, Col, Card, CardBody, CardFooter } from 'reactstrap';\nimport { useSelector } from 'react-redux';\nimport { CharacterRemove, configBarChart, configPieChart, NumberSeparator } from \"helpers\";\nimport { ViewApexChart } from 'pages-component/';\nimport ReactSelect from 'react-select';\n\nconst TidakBekerja = () => {\n  const { ReducersKependudukan, ReducersTidakBekerja, ReducersKota } = useSelector(state => state);\n  const [Kota, setKota] = useState([])\n  const [variabel, setVariabel] = useState()\n  const [variabelPertama, setVariabelPertama] = useState([])\n  const [labels, setLabels] = useState([]);\n  const [series, setSeries] = useState([]);\n\n  const refKota = useRef(Kota);\n  const refVarPertama = useRef(variabelPertama);\n  const refLabels = useRef(labels)\n  const refSeries = useRef(series)\n\n  const selectKota = (e) => {\n    if (e === null) {\n      setKota([{\n        label : 'PROVINSI DKI JAKARTA',\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahProvinsi.jumlah_penduduk) + 'Jiwa',\n        value : '',\n      }])\n\n      setVariabelPertama(refVarPertama.current)\n      setLabels(refLabels.current)\n      setSeries(refSeries.current)\n      return false;\n    }\n\n    if (Kota.length > 0 && e.label !== Kota[0].label) {\n      setKota([{\n        label : e.label,\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahPerkota[CharacterRemove(e.label, / /g, '_')].jumlah_penduduk) + 'Jiwa',\n        value : e.value,\n      }])\n\n      setVariabelPertama(refVarPertama.current)\n      setLabels(refLabels.current)\n      setSeries(refSeries.current)\n    }\n\n    setKota([{\n      label : e.label,\n      description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahPerkota[CharacterRemove(e.label, / /g, '_')].jumlah_penduduk) + 'Jiwa',\n      value : e.value,\n    }])\n  }\n\n  const reactSelected = (val, action) => {\n    if (val === null) {\n      return false;\n    }\n\n    setVariabelPertama(val)\n    let tmpLabel = [];\n    let tmpSeries = [];\n    val.map((data, i) => {\n      tmpLabel.push(data.label)\n      tmpSeries.push(variabel[data.value])\n    })\n    setLabels(tmpLabel)\n    setSeries(tmpSeries)\n  }\n\n  useEffect(() => {\n   if (Kota.length > 0 && Kota[0].label !== 'PROVINSI DKI JAKARTA') {\n    setVariabel(ReducersTidakBekerja.jumlahPerkota[CharacterRemove(Kota[0].label, / /g, '_')])\n   }\n  }, [Kota])\n\n  useEffect(() => {\n    if (ReducersTidakBekerja.jumlahProvinsi.jumlah_penduduk !== 0 ) {\n      setVariabel(ReducersTidakBekerja.jumlahProvinsi);\n      \n      setKota([{\n        label : 'PROVINSI DKI JAKARTA',\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahProvinsi.jumlah_penduduk) + 'Jiwa',\n        value : '',\n      }])\n    }\n\n  }, [ReducersTidakBekerja])\n\n\n  return (\n    <Fragment>\n\n        <div id='s2-d-publik' className=\"hero-wrapper mt-3\">\n            <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n              <div className=\"bg-composed-wrapper--content pb-2\">\n                  <div className=\"container\">\n                    <Row>\n                      <Col lg=\"6\" className=\"px-0\">\n                        <div className=\"text-start\">\n                            <div className=\"\">\n                              <h3 className=\"font-weight-bold\">\n                                  Grafik Sebaran Warga Tidak Bekerja\n                              </h3>\n                              <p className=\"mb-3\" style={{\n                                  fontSize: '12px'\n                              }}>\n                                  Data Update hasil pendataan 2022\n                              </p>\n                            </div>\n                        </div>\n                      </Col>\n                      <Col lg=\"6\" md=\"6\">\n                      </Col>\n                      <Col lg=\"12\" md=\"12\">\n                          <Row>\n                            <Col lg=\"3\" md=\"3\" className=\"p-0\">\n                              <ReactSelect \n                                className=\"basic-single costume-select mb-2\"\n                                placeholder=\"Pilih Kota\"\n                                defaultValue={Kota}\n                                isClearable={true}\n                                isRtl={true}\n                                isSearchable={true}\n                                name=\"selectKota\"\n                                options={ReducersKota.kota}\n                                onChange={selectKota}\n                              />\n                            </Col>\n                            <Col lg=\"9\" md=\"9\" className=\"p-0 pl-2\">\n                              <ReactSelect \n                                isMulti\n                                className=\"basic-single costume-select mb-2\"\n                                placeholder=\"Pilih Variabel Pertama\"\n                                defaultValue={variabelPertama}\n                                value={variabelPertama}\n                                isClearable={true}\n                                isRtl={true}\n                                isSearchable={true}\n                                name=\"selectVarPertama\"\n                                options={ReducersTidakBekerja.fieldReactSelected}\n                                onChange={(value, action) => reactSelected(value, action)}\n                              />\n                            </Col>\n                          </Row>\n                      </Col>\n                      <Col xl=\"6\" md=\"6\" className=\"px-0 pr-1\">\n                        <Card className=\"h-100\">\n                              <CardBody className=\"pb-0\">\n                                <ViewApexChart config={configPieChart({\n                                  title : Kota,\n                                  series : series,\n                                  labels : labels\n                                })} type=\"donut\" />\n                              </CardBody>\n                              <CardFooter className=\"pb-4 font-weight-bold\">\n                                Hasil Pendataan 2022 - {Kota.length > 0 ? Kota[0].description : ''}\n                              </CardFooter>\n                          </Card>\n                      </Col>\n                      <Col xl=\"6\" md=\"6\" className=\"px-0 pl-1\">\n                        <Card className=\"h-100\">\n                              <CardBody className=\"pb-0 h-100\">\n                                <ViewApexChart config={configBarChart({\n                                  title : Kota,\n                                  series : series,\n                                  labels : labels,\n                                  isHorizontal : false\n                                })} type=\"bar\" />\n                              </CardBody>\n                              <CardFooter className=\"pb-4 font-weight-bold\">\n                                Hasil Pendataan 2022 - {Kota.length > 0 ? Kota[0].description : ''}\n                              </CardFooter>\n                          </Card>\n                      </Col>\n                    </Row>\n                  </div>\n              </div>\n            </div>\n        </div>\n\n    </Fragment>\n  );\n};\n\nexport default TidakBekerja;","import React, { Fragment, useEffect, useRef, useState } from 'react';\nimport { Row, Col, Card, CardBody, CardFooter } from 'reactstrap';\nimport { useSelector } from 'react-redux';\nimport { CharacterRemove, configBarNegativeValue, ModelPiramida, NumberSeparator } from \"helpers\";\nimport { ViewApexChart } from 'pages-component/';\nimport ReactSelect from 'react-select';\n\nconst Piramida = () => {\n  const { ReducersKependudukan, ReducersPiramidaPenduduk, ReducersKota } = useSelector(state => state);\n  const [Kota, setKota] = useState([])\n  const [variabel, setVariabel] = useState()\n  const [variabelPertama, setVariabelPertama] = useState([])\n  const [labels, setLabels] = useState([]);\n  const [series, setSeries] = useState([]);\n\n  const refKota = useRef(Kota);\n  const refVarPertama = useRef(variabelPertama);\n  const refLabels = useRef(labels)\n  const refSeries = useRef(series)\n\n  const selectKota = (e) => {\n    if (e === null) {\n      setKota([{\n        label : 'PROVINSI DKI JAKARTA',\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahProvinsi.jumlah_penduduk) + 'Jiwa',\n        value : '',\n      }])\n\n      setVariabel(ReducersPiramidaPenduduk.jumlahProvinsi);\n      setVariabelPertama(refVarPertama.current)\n      setLabels(refLabels.current)\n      setSeries(refSeries.current)\n      return false;\n    }\n\n    if (Kota.length > 0 && e.label !== Kota[0].label) {\n      setKota([{\n        label : e.label,\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahPerkota[CharacterRemove(e.label, / /g, '_')].jumlah_penduduk) + 'Jiwa',\n        value : e.value,\n      }])\n\n      setVariabelPertama(refVarPertama.current)\n      setLabels(refLabels.current)\n      setSeries(refSeries.current)\n    }\n\n    setKota([{\n      label : e.label,\n      description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahPerkota[CharacterRemove(e.label, / /g, '_')].jumlah_penduduk) + 'Jiwa',\n      value : e.value,\n    }])\n  }\n\n  const reactSelected = (val, action) => {\n    if (val === null) {\n      return false;\n    }\n\n    setVariabelPertama(val)\n    let tmpLabel = [];\n    let tmpSeries = [];\n    val.map((data, i) => {\n      tmpLabel.push(data.label)\n      tmpSeries.push(variabel[data.value])\n    })\n    setLabels(tmpLabel)\n    setSeries(tmpSeries)\n  }\n\n  useEffect(() => {\n   if (Kota.length > 0 && Kota[0].label !== 'PROVINSI DKI JAKARTA') {\n    setVariabel(ReducersPiramidaPenduduk.jumlahPerkota[CharacterRemove(Kota[0].label, / /g, '_')])\n   }\n  }, [Kota])\n\n  useEffect(() => {\n    if (ReducersPiramidaPenduduk.jumlahProvinsi !== {}) {\n      setVariabel(ReducersPiramidaPenduduk.jumlahProvinsi);\n      \n      setKota([{\n        label : 'PROVINSI DKI JAKARTA',\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahProvinsi.jumlah_penduduk) + 'Jiwa',\n        value : '',\n      }])\n    }\n\n  }, [ReducersPiramidaPenduduk])\n\n  return (\n    <Fragment>\n\n        <div id='s2-d-publik' className=\"hero-wrapper mt-3\">\n            <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n              <div className=\"bg-composed-wrapper--content pb-2\">\n                  <div className=\"container\">\n                    <Row>\n                      <Col lg=\"6\" className=\"px-0\">\n                        <div className=\"text-start\">\n                            <div className=\"\">\n                              <h3 className=\"font-weight-bold\">\n                                  Piramida Penduduk DKI Jakarta\n                              </h3>\n                              <p className=\"mb-3\" style={{\n                                  fontSize: '12px'\n                              }}>\n                                  Data Update hasil pendataan 2022\n                              </p>\n                            </div>\n                        </div>\n                      </Col>\n                      <Col lg=\"6\" md=\"6\">\n                      </Col>\n                      <Col lg=\"12\" md=\"12\">\n                          <Row>\n                            <Col lg=\"3\" md=\"3\" className=\"p-0\">\n                              <ReactSelect \n                                className=\"basic-single costume-select mb-2\"\n                                placeholder=\"Pilih Kota\"\n                                defaultValue={Kota}\n                                isClearable={true}\n                                isRtl={true}\n                                isSearchable={true}\n                                name=\"selectKota\"\n                                options={ReducersKota.kota}\n                                onChange={selectKota}\n                              />\n                            </Col>\n                          </Row>\n                      </Col>\n                      <Col xl=\"12\" md=\"12\" className=\"px-0 pr-1\">\n                        <Card className=\"h-100\">\n                              <CardBody className=\"pb-0\">\n                                <ViewApexChart config={configBarNegativeValue({\n                                  title : Kota,\n                                  series : ModelPiramida(variabel).series,\n                                  labels : ModelPiramida(variabel).labels\n                                })} type=\"bar\" />\n                              </CardBody>\n                              <CardFooter className=\"pb-4 font-weight-bold\">\n                                Hasil Pendataan 2022 - {Kota.length > 0 ? Kota[0].description : ''}\n                              </CardFooter>\n                          </Card>\n                      </Col>\n                    </Row>\n                  </div>\n              </div>\n            </div>\n        </div>\n\n    </Fragment>\n  );\n};\n\nexport default Piramida;","import React, { Fragment, useEffect, useRef, useState } from 'react';\nimport { Row, Col, Card, CardBody, CardFooter } from 'reactstrap';\nimport { useSelector } from 'react-redux';\nimport { CharacterRemove, configBarChart, configPieChart, NumberSeparator } from \"helpers\";\nimport { ViewApexChart } from 'pages-component/';\nimport ReactSelect from 'react-select';\n\nconst Balita = () => {\n  const { ReducersKependudukan, ReducersBalita, ReducersKota } = useSelector(state => state);\n  const [Kota, setKota] = useState([])\n  const [variabel, setVariabel] = useState()\n  const [variabelPertama, setVariabelPertama] = useState([])\n  const [labels, setLabels] = useState([]);\n  const [series, setSeries] = useState([]);\n\n  const refKota = useRef(Kota);\n  const refVarPertama = useRef(variabelPertama);\n  const refLabels = useRef(labels)\n  const refSeries = useRef(series)\n\n  const selectKota = (e) => {\n    if (e === null) {\n      setKota([{\n        label : 'PROVINSI DKI JAKARTA',\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahProvinsi.jumlah_penduduk) + 'Jiwa',\n        value : '',\n      }])\n\n      setVariabelPertama(refVarPertama.current)\n      setLabels(refLabels.current)\n      setSeries(refSeries.current)\n      return false;\n    }\n\n    if (Kota.length > 0 && e.label !== Kota[0].label) {\n      setKota([{\n        label : e.label,\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahPerkota[CharacterRemove(e.label, / /g, '_')].jumlah_penduduk) + 'Jiwa',\n        value : e.value,\n      }])\n\n      setVariabelPertama(refVarPertama.current)\n      setLabels(refLabels.current)\n      setSeries(refSeries.current)\n    }\n\n    setKota([{\n      label : e.label,\n      description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahPerkota[CharacterRemove(e.label, / /g, '_')].jumlah_penduduk) + 'Jiwa',\n      value : e.value,\n    }])\n  }\n\n  const reactSelected = (val, action) => {\n    if (val === null) {\n      return false;\n    }\n\n    setVariabelPertama(val)\n    let tmpLabel = [];\n    let tmpSeries = [];\n    val.map((data, i) => {\n      tmpLabel.push(data.label)\n      tmpSeries.push(variabel[data.value])\n    })\n    setLabels(tmpLabel)\n    setSeries(tmpSeries)\n  }\n\n  useEffect(() => {\n   if (Kota.length > 0 && Kota[0].label !== 'PROVINSI DKI JAKARTA') {\n    setVariabel(ReducersBalita.jumlahPerkota[CharacterRemove(Kota[0].label, / /g, '_')])\n   }\n  }, [Kota])\n\n  useEffect(() => {\n    if (ReducersBalita.jumlahProvinsi.jumlah_penduduk !== 0 ) {\n      setVariabel(ReducersBalita.jumlahProvinsi);\n      \n      setKota([{\n        label : 'PROVINSI DKI JAKARTA',\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahProvinsi.jumlah_penduduk) + 'Jiwa',\n        value : '',\n      }])\n    }\n\n  }, [ReducersBalita])\n\n\n  return (\n    <Fragment>\n\n        <div id='s2-d-publik' className=\"hero-wrapper mt-3\">\n            <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n              <div className=\"bg-composed-wrapper--content pb-2\">\n                  <div className=\"container\">\n                    <Row>\n                      <Col lg=\"6\" className=\"px-0\">\n                        <div className=\"text-start\">\n                            <div className=\"\">\n                              <h3 className=\"font-weight-bold\">\n                                  Grafik Sebaran Balita\n                              </h3>\n                              <p className=\"mb-3\" style={{\n                                  fontSize: '12px'\n                              }}>\n                                  Data Update hasil pendataan 2022\n                              </p>\n                            </div>\n                        </div>\n                      </Col>\n                      <Col lg=\"6\" md=\"6\">\n                      </Col>\n                      <Col lg=\"12\" md=\"12\">\n                          <Row>\n                            <Col lg=\"3\" md=\"3\" className=\"p-0\">\n                              <ReactSelect \n                                className=\"basic-single costume-select mb-2\"\n                                placeholder=\"Pilih Kota\"\n                                defaultValue={Kota}\n                                isClearable={true}\n                                isRtl={true}\n                                isSearchable={true}\n                                name=\"selectKota\"\n                                options={ReducersKota.kota}\n                                onChange={selectKota}\n                              />\n                            </Col>\n                            <Col lg=\"9\" md=\"9\" className=\"p-0 pl-2\">\n                              <ReactSelect \n                                isMulti\n                                className=\"basic-single costume-select mb-2\"\n                                placeholder=\"Pilih Variabel Pertama\"\n                                defaultValue={variabelPertama}\n                                value={variabelPertama}\n                                isClearable={true}\n                                isRtl={true}\n                                isSearchable={true}\n                                name=\"selectVarPertama\"\n                                options={ReducersBalita.fieldReactSelected}\n                                onChange={(value, action) => reactSelected(value, action)}\n                              />\n                            </Col>\n                          </Row>\n                      </Col>\n                      <Col xl=\"6\" md=\"6\" className=\"px-0 pr-1\">\n                        <Card className=\"h-100\">\n                              <CardBody className=\"pb-0\">\n                                <ViewApexChart config={configPieChart({\n                                  title : Kota,\n                                  series : series,\n                                  labels : labels\n                                })} type=\"donut\" />\n                              </CardBody>\n                              <CardFooter className=\"pb-4 font-weight-bold\">\n                                Hasil Pendataan 2022 - {Kota.length > 0 ? Kota[0].description : ''}\n                              </CardFooter>\n                          </Card>\n                      </Col>\n                      <Col xl=\"6\" md=\"6\" className=\"px-0 pl-1\">\n                        <Card className=\"h-100\">\n                              <CardBody className=\"pb-0 h-100\">\n                                <ViewApexChart config={configBarChart({\n                                  title : Kota,\n                                  series : series,\n                                  labels : labels,\n                                  isHorizontal : false\n                                })} type=\"bar\" />\n                              </CardBody>\n                              <CardFooter className=\"pb-4 font-weight-bold\">\n                                Hasil Pendataan 2022 - {Kota.length > 0 ? Kota[0].description : ''}\n                              </CardFooter>\n                          </Card>\n                      </Col>\n                    </Row>\n                  </div>\n              </div>\n            </div>\n        </div>\n\n    </Fragment>\n  );\n};\n\nexport default Balita;","import React, { Fragment, useEffect, useRef, useState } from 'react';\nimport { Row, Col, Card, CardBody, CardFooter } from 'reactstrap';\nimport { useSelector } from 'react-redux';\nimport { CharacterRemove, configBarChart, configPieChart, NumberSeparator } from \"helpers\";\nimport { ViewApexChart } from 'pages-component/';\nimport ReactSelect from 'react-select';\n\nconst Lansia = () => {\n  const { ReducersKependudukan, ReducersLansia, ReducersKota } = useSelector(state => state);\n  const [Kota, setKota] = useState([])\n  const [variabel, setVariabel] = useState()\n  const [variabelPertama, setVariabelPertama] = useState([])\n  const [labels, setLabels] = useState([]);\n  const [series, setSeries] = useState([]);\n\n  const refKota = useRef(Kota);\n  const refVarPertama = useRef(variabelPertama);\n  const refLabels = useRef(labels)\n  const refSeries = useRef(series)\n\n  const selectKota = (e) => {\n    if (e === null) {\n      setKota([{\n        label : 'PROVINSI DKI JAKARTA',\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahProvinsi.jumlah_penduduk) + 'Jiwa',\n        value : '',\n      }])\n\n      setVariabelPertama(refVarPertama.current)\n      setLabels(refLabels.current)\n      setSeries(refSeries.current)\n      return false;\n    }\n\n    if (Kota.length > 0 && e.label !== Kota[0].label) {\n      setKota([{\n        label : e.label,\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahPerkota[CharacterRemove(e.label, / /g, '_')].jumlah_penduduk) + 'Jiwa',\n        value : e.value,\n      }])\n\n      setVariabelPertama(refVarPertama.current)\n      setLabels(refLabels.current)\n      setSeries(refSeries.current)\n    }\n\n    setKota([{\n      label : e.label,\n      description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahPerkota[CharacterRemove(e.label, / /g, '_')].jumlah_penduduk) + 'Jiwa',\n      value : e.value,\n    }])\n  }\n\n  const reactSelected = (val, action) => {\n    if (val === null) {\n      return false;\n    }\n\n    setVariabelPertama(val)\n    let tmpLabel = [];\n    let tmpSeries = [];\n    val.map((data, i) => {\n      tmpLabel.push(data.label)\n      tmpSeries.push(variabel[data.value])\n    })\n    setLabels(tmpLabel)\n    setSeries(tmpSeries)\n  }\n\n  useEffect(() => {\n   if (Kota.length > 0 && Kota[0].label !== 'PROVINSI DKI JAKARTA') {\n    setVariabel(ReducersLansia.jumlahPerkota[CharacterRemove(Kota[0].label, / /g, '_')])\n   }\n  }, [Kota])\n\n  useEffect(() => {\n    if (ReducersLansia.jumlahProvinsi.jumlah_penduduk !== 0 ) {\n      setVariabel(ReducersLansia.jumlahProvinsi);\n      \n      setKota([{\n        label : 'PROVINSI DKI JAKARTA',\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersKependudukan.jumlahProvinsi.jumlah_penduduk) + 'Jiwa',\n        value : '',\n      }])\n    }\n\n  }, [ReducersLansia])\n\n\n  return (\n    <Fragment>\n\n        <div id='s2-d-publik' className=\"hero-wrapper mt-3\">\n            <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n              <div className=\"bg-composed-wrapper--content pb-2\">\n                  <div className=\"container\">\n                    <Row>\n                      <Col lg=\"6\" className=\"px-0\">\n                        <div className=\"text-start\">\n                            <div className=\"\">\n                              <h3 className=\"font-weight-bold\">\n                                  Grafik Sebaran Lansia\n                              </h3>\n                              <p className=\"mb-3\" style={{\n                                  fontSize: '12px'\n                              }}>\n                                  Data Update hasil pendataan 2022\n                              </p>\n                            </div>\n                        </div>\n                      </Col>\n                      <Col lg=\"6\" md=\"6\">\n                      </Col>\n                      <Col lg=\"12\" md=\"12\">\n                          <Row>\n                            <Col lg=\"3\" md=\"3\" className=\"p-0\">\n                              <ReactSelect \n                                className=\"basic-single costume-select mb-2\"\n                                placeholder=\"Pilih Kota\"\n                                defaultValue={Kota}\n                                isClearable={true}\n                                isRtl={true}\n                                isSearchable={true}\n                                name=\"selectKota\"\n                                options={ReducersKota.kota}\n                                onChange={selectKota}\n                              />\n                            </Col>\n                            <Col lg=\"9\" md=\"9\" className=\"p-0 pl-2\">\n                              <ReactSelect \n                                isMulti\n                                className=\"basic-single costume-select mb-2\"\n                                placeholder=\"Pilih Variabel Pertama\"\n                                defaultValue={variabelPertama}\n                                value={variabelPertama}\n                                isClearable={true}\n                                isRtl={true}\n                                isSearchable={true}\n                                name=\"selectVarPertama\"\n                                options={ReducersLansia.fieldReactSelected}\n                                onChange={(value, action) => reactSelected(value, action)}\n                              />\n                            </Col>\n                          </Row>\n                      </Col>\n                      <Col xl=\"6\" md=\"6\" className=\"px-0 pr-1\">\n                        <Card className=\"h-100\">\n                              <CardBody className=\"pb-0\">\n                                <ViewApexChart config={configPieChart({\n                                  title : Kota,\n                                  series : series,\n                                  labels : labels\n                                })} type=\"donut\" />\n                              </CardBody>\n                              <CardFooter className=\"pb-4 font-weight-bold\">\n                                Hasil Pendataan 2022 - {Kota.length > 0 ? Kota[0].description : ''}\n                              </CardFooter>\n                          </Card>\n                      </Col>\n                      <Col xl=\"6\" md=\"6\" className=\"px-0 pl-1\">\n                        <Card className=\"h-100\">\n                              <CardBody className=\"pb-0 h-100\">\n                                <ViewApexChart config={configBarChart({\n                                  title : Kota,\n                                  series : series,\n                                  labels : labels,\n                                  isHorizontal : false\n                                })} type=\"bar\" />\n                              </CardBody>\n                              <CardFooter className=\"pb-4 font-weight-bold\">\n                                Hasil Pendataan 2022 - {Kota.length > 0 ? Kota[0].description : ''}\n                              </CardFooter>\n                          </Card>\n                      </Col>\n                    </Row>\n                  </div>\n              </div>\n            </div>\n        </div>\n\n    </Fragment>\n  );\n};\n\nexport default Lansia;","import React, { Fragment } from 'react';\nimport { Row, Col, Card, CardBody, CardHeader, CardFooter } from 'reactstrap';\nimport { useSelector } from 'react-redux';\nimport { Penduduk, Agama, TidakBekerja, Piramida, Balita, Lansia } from './base'\nimport { NumberSeparator } from 'helpers';\n\nconst Kependudukan = () => {\n  const { ReducersKependudukan } = useSelector(state => state);\n  \n\n  return (\n    <Fragment>\n        <div id='section-satu' className=\"hero-wrapper pt-3 pb-3 bg-gradient-primary\">\n            <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n            <div className=\"bg-composed-wrapper--content pb-2 pt-2\">\n                <div className=\"container text-white\">\n                <Row>\n                  <Col lg=\"6\" className=\"px-0\">\n                    <div className=\"text-start\">\n                        <div className=\"\">\n                        <h3 className=\"font-weight-bold\">\n                            Dashboard Topik Kependudukan\n                        </h3>\n                        <p className=\"mb-3\" style={{\n                            fontSize: '12px'\n                        }}>\n                            Data Update hasil pendataan 2022\n                        </p>\n                        </div>\n                    </div>\n                  </Col>\n                </Row>\n                </div>\n            </div>\n            </div>\n        </div>\n\n        <div id='s2-d-publik' className=\"hero-wrapper mt-3\">\n            <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n            <div className=\"bg-composed-wrapper--content pb-2 pt-2\">\n                <div className=\"container\">\n                <Row>\n                    <Col lg=\"4\" className=\"px-0\">\n                        <Card className=\"h-100 active-card\">\n                            <CardHeader className=\"pt-4\">\n                              Jumlah Penduduk DKI Jakarta\n                            </CardHeader>\n                            <CardBody className=\"pb-0 pt-0\">\n                              <h1 className=\"font-weight-bold mb-0\">\n                                {NumberSeparator(ReducersKependudukan.jumlahProvinsi.jumlah_penduduk) }\n                              </h1>\n                            </CardBody>\n                            <CardFooter className=\"pb-4\">\n                              Hasil Pendataan 2022\n                            </CardFooter>\n                        </Card>\n                    </Col>\n                    <Col lg=\"4\" className=\"px-0 pl-2\">\n                        <Card className=\"h-100 active-card\">\n                            <CardHeader className=\"pt-4\">\n                              Jumlah Penduduk DKI Jakarta Laki - Laki\n                            </CardHeader>\n                            <CardBody className=\"pb-0 pt-0\">\n                              <h1 className=\"font-weight-bold mb-0\">\n                                { NumberSeparator(ReducersKependudukan.jumlahProvinsi.jumlah_laki_laki) }\n                              </h1>\n                            </CardBody>\n                            <CardFooter className=\"pb-4\">\n                              Hasil Pendataan 2022\n                            </CardFooter>\n                        </Card>\n                    </Col>\n                    <Col lg=\"4\" className=\"px-0 pl-2\">\n                        <Card className=\"h-100 active-card\">\n                            <CardHeader className=\"pt-4\">\n                              Jumlah Penduduk DKI Jakarta Perempuan\n                            </CardHeader>\n                            <CardBody className=\"pb-0 pt-0\">\n                              <h1 className=\"font-weight-bold mb-0\">\n                              { NumberSeparator(ReducersKependudukan.jumlahProvinsi.jumlah_perempuan) }\n                              </h1>\n                            </CardBody>\n                            <CardFooter className=\"pb-4\">\n                              Hasil Pendataan 2022\n                            </CardFooter>\n                        </Card>\n                    </Col>\n                </Row>\n                </div>\n            </div>\n            </div>\n        </div>\n        \n        <Piramida />\n        <Penduduk />\n        <Balita />\n        <Lansia />\n        <Agama />\n        <TidakBekerja />\n\n        <div className='mb-5' />\n    </Fragment>\n  );\n};\n\nexport default Kependudukan;","import React, { Fragment, useEffect, useRef, useState } from 'react';\nimport { Row, Col, Card, CardBody, CardFooter } from 'reactstrap';\nimport { CharacterRemove, configBarChart, configPieChart, NumberSeparator } from \"helpers\";\nimport { ViewApexChart } from 'pages-component/';\nimport ReactSelect from 'react-select';\n\nconst ModelViewChart = (props) => {\n  const ReducersMaster = props.master;\n  const ReducersPayload = props.payload;\n  const ReducersParams = props.params;\n\n  const [Kota, setKota] = useState([])\n  const [statusFieldInit, setStatusFieldInit] = useState(false) \n  const [variabel, setVariabel] = useState()\n  const [variabelPertama, setVariabelPertama] = useState([])\n  const [labels, setLabels] = useState([]);\n  const [series, setSeries] = useState([]);\n\n  const refVarPertama = useRef(variabelPertama);\n  const refLabels = useRef(labels)\n  const refSeries = useRef(series)\n\n  const selectKota = (e) => {\n    if (e === null) {\n      setKota([{\n        label : 'PROVINSI DKI JAKARTA',\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersMaster.jumlahProvinsi.jumlah_penduduk) + 'Jiwa',\n        value : '',\n      }])\n\n      setVariabelPertama(refVarPertama.current)\n      setLabels(refLabels.current)\n      setSeries(refSeries.current)\n      return false;\n    }\n\n    if (Kota.length > 0 && e.label !== Kota[0].label) {\n      setKota([{\n        label : e.label,\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersMaster.jumlahPerkota[CharacterRemove(e.label, / /g, '_')].jumlah_penduduk) + 'Jiwa',\n        value : e.value,\n      }])\n\n      setVariabelPertama(refVarPertama.current)\n      setLabels(refLabels.current)\n      setSeries(refSeries.current)\n    }\n\n    setKota([{\n      label : e.label,\n      description : ' Jumlah Penduduk '+ NumberSeparator(ReducersMaster.jumlahPerkota[CharacterRemove(e.label, / /g, '_')].jumlah_penduduk) + 'Jiwa',\n      value : e.value,\n    }])\n  }\n\n  const reactSelected = (val, action) => {\n    if (val === null) {\n      return false;\n    }\n\n    setVariabelPertama(val)\n    let tmpLabel = [];\n    let tmpSeries = [];\n    val.map((data, i) => {\n      tmpLabel.push(data.label)\n      tmpSeries.push(variabel[data.value])\n    })\n    setLabels(tmpLabel)\n    setSeries(tmpSeries)\n  }\n\n  useEffect(() => {\n   if (Kota.length > 0 && Kota[0].label !== 'PROVINSI DKI JAKARTA') {\n    setVariabel(ReducersPayload.jumlahPerkota[CharacterRemove(Kota[0].label, / /g, '_')])\n   }\n  }, [Kota])\n\n  useEffect(() => {\n    if (ReducersPayload.jumlahProvinsi.jumlah_penduduk !== 0 ) {\n      setVariabel(ReducersPayload.jumlahProvinsi);\n      \n      setKota([{\n        label : 'PROVINSI DKI JAKARTA',\n        description : ' Jumlah Penduduk '+ NumberSeparator(ReducersMaster.jumlahProvinsi.jumlah_penduduk) + 'Jiwa',\n        value : '',\n      }])\n    }\n  }, [ReducersPayload])\n\n  useEffect(() => {\n    if (ReducersPayload.fieldReactSelected !== undefined && ReducersPayload.fieldReactSelected.length > 0) {\n      if (!statusFieldInit) {\n        setStatusFieldInit(true);\n      }\n    }\n  }, [ReducersPayload])\n\n  useEffect(() => {\n    if (statusFieldInit) {\n      let tmpLabel = [];\n      let tmpSeries = [];\n      ReducersPayload.fieldReactSelected.map((data, i) => {\n        tmpLabel.push(data.label)\n        tmpSeries.push(ReducersPayload.jumlahProvinsi[data.value])\n      })\n\n      const tmpVariabelPertama = ReducersPayload.fieldReactSelected.map((data, key) => {\n        return ReducersPayload.fieldReactSelected[key]\n      })\n\n\n      setVariabelPertama(tmpVariabelPertama);\n      setLabels(tmpLabel)\n      setSeries(tmpSeries)\n    }\n  }, [statusFieldInit])\n\n  \n  return (\n    <Fragment>\n        {\n           ReducersPayload.isError ? null :\n          <div className=\"hero-wrapper text-dark mt-5\">\n              <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n                <div className=\"bg-composed-wrapper--content\">\n                    <div className=\"container\">\n                      <Row>\n                        <Col lg=\"12\" className=\"px-0\">\n                          <div className=\"text-center\">\n                              <div className=\"\">\n                                <h2 className='text-primary'>\n                                    {props.title ? props.title : 'Loading Data...'}\n                                </h2>\n                                <p className=\"mb-3\">\n                                    Data Update hasil pendataan 2022\n                                </p>\n                              </div>\n                          </div>\n                        </Col>\n                        <Col lg=\"12\" md=\"12\">\n                            <Row>\n                              <Col lg=\"3\" md=\"3\" className=\"p-0\">\n                                <ReactSelect \n                                  className=\"basic-single costume-select mb-2\"\n                                  placeholder=\"Pilih Kota\"\n                                  defaultValue={Kota}\n                                  isClearable={true}\n                                  isRtl={true}\n                                  isSearchable={true}\n                                  name=\"selectKota\"\n                                  options={ReducersParams.kota}\n                                  onChange={selectKota}\n                                />\n                              </Col>\n                              <Col lg=\"9\" md=\"9\" className=\"p-0 pl-2\">\n                                <ReactSelect \n                                  isMulti\n                                  className=\"basic-single costume-select mb-2\"\n                                  placeholder=\"Pilih Variabel\"\n                                  defaultValue={variabelPertama}\n                                  value={variabelPertama}\n                                  isClearable={true}\n                                  isRtl={true}\n                                  isSearchable={true}\n                                  name=\"selectVarPertama\"\n                                  options={ReducersPayload.fieldReactSelected}\n                                  onChange={(value, action) => reactSelected(value, action)}\n                                />\n                              </Col>\n                            </Row>\n                        </Col>\n                        <Col xl=\"6\" md=\"6\" className=\"px-0 pr-1\">\n                          <Card className=\"h-100\">\n                                <CardBody className=\"pb-0 bg-yellow\">\n                                  <ViewApexChart config={configPieChart({\n                                    title : Kota,\n                                    series : series,\n                                    labels : labels\n                                  })} type={props.type || \"donut\"} />\n                                </CardBody>\n                                <CardFooter className=\"pb-4 font-weight-bold\">\n                                  Hasil Pendataan 2022 {' - ' +Kota.length > 0 ? Kota[0].description : ''}\n                                </CardFooter>\n                          </Card>\n                        </Col>\n                        <Col xl=\"6\" md=\"6\" className=\"px-0 pl-1\">\n                          <Card className=\"h-100\">\n                                <CardBody className=\"pb-0 h-100\">\n                                  <ViewApexChart config={configBarChart({\n                                    title : Kota,\n                                    series : series,\n                                    labels : labels,\n                                    isHorizontal : false\n                                  })} type=\"bar\" />\n                                </CardBody>\n                                <CardFooter className=\"pb-4 font-weight-bold\">\n                                  Hasil Pendataan 2022 {' - ' +Kota.length > 0 ? Kota[0].description : ''}\n                                </CardFooter>\n                            </Card>\n                        </Col>\n                      </Row>\n                    </div>\n                </div>\n              </div>\n          </div>\n        }\n    </Fragment>\n  );\n};\n\nexport default ModelViewChart;","import React, { Fragment, useEffect } from 'react';\nimport { useSelector } from 'react-redux';\nimport { Row, Col } from 'reactstrap';\nimport ModelViewChart from 'pages-public/TopikDataPublik/ModelViewChart';\nimport { ModelViewChartBar, ModelViewChartRumahSehat } from 'pages-component';\n\n\n\nconst PenghayatanDanPengamalanPancasila = () => {\nconst { ReducersKota, ReducersKependudukan, ReducersPengolahanSampah, ReducersRumahPTPLahan, ReducersRumahPtpPerikanan, ReducersRumahPtpPeternakan, ReducersRumahSehat, ReducersUp2kIndustri, ReducersSumberAir  } = useSelector(state => state);\n\nuseEffect(() => {\n    console.log('ReducersRumahSehat', ReducersRumahSehat);\n}, [ReducersRumahSehat])\nreturn (\n    <Fragment>\n        <div id='section-satu' className=\"hero-wrapper pt-3 pb-3 bg-gradient-primary\">\n            <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n            <div className=\"bg-composed-wrapper--content pb-2 pt-2\">\n                <div className=\"container text-white\">\n                <Row>\n                    <Col lg=\"6\" className=\"px-0\">\n                    <div className=\"text-start\">\n                        \n                        <div className=\"\">\n                        <h3 className=\"font-weight-bold\">\n                            Dashboard Topik Penghayatan Dan Pengamalan Pancasila\n                        </h3>\n                        <p className=\"mb-3\" style={{\n                            fontSize: '12px'\n                        }}>\n                            Data Update hasil pendataan 2022\n                        </p>\n                        </div>\n                    </div>\n                    </Col>\n                    <Col lg=\"6\" className=\"px-0 mx-auto d-flex align-items-center pl-5\">\n                    \n                    </Col>\n                </Row>\n                </div>\n            </div>\n            </div>\n        </div>\n        <ModelViewChartBar \n            title=\"Grafik Data Rumah PTP Lahan\"\n            master={ ReducersKependudukan }\n            payload= { ReducersRumahPTPLahan }\n            params={ ReducersKota } \n        />\n        <ModelViewChartBar \n            title=\"Grafik Data Rumah PTP Perikanan\"\n            master={ ReducersKependudukan }\n            payload= { ReducersRumahPtpPerikanan }\n            params={ ReducersKota } \n        />\n        <ModelViewChartBar \n            title=\"Grafik Data Rumah PTP Peternakan\"\n            master={ ReducersKependudukan }\n            payload= { ReducersRumahPtpPeternakan }\n            params={ ReducersKota } \n        />\n        <ModelViewChartBar \n            title=\"Grafik Data Rumah Sehat\"\n            master={ ReducersKependudukan }\n            payload= { ReducersRumahSehat }\n            params={ ReducersKota } \n        />\n        <ModelViewChartBar \n            title=\"Grafik Data Rumah UP2K Industri\"\n            master={ ReducersKependudukan }\n            payload= { ReducersUp2kIndustri }\n            params={ ReducersKota } \n        />\n        <ModelViewChartBar \n            title=\"Grafik Data Sumber Air\"\n            master={ ReducersKependudukan }\n            payload= { ReducersSumberAir }\n            params={ ReducersKota } \n        />\n        <div className='mb-5' />\n    </Fragment>\n  );\n};\n\nexport default PenghayatanDanPengamalanPancasila;","import React, { Fragment } from 'react';\nimport { useSelector } from 'react-redux';\nimport { Row, Col } from 'reactstrap';\nimport ModelViewChart from 'pages-public/TopikDataPublik/ModelViewChart';\n\nconst GotongRoyong = () => {\nconst { ReducersKota, ReducersKependudukan, ReducersLingkunganRawan } = useSelector(state => state);\n\nreturn (\n    <Fragment>\n        <div id='section-satu' className=\"hero-wrapper pt-3 pb-3 bg-gradient-primary\">\n            <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n            <div className=\"bg-composed-wrapper--content pb-2 pt-2\">\n                <div className=\"container text-white\">\n                <Row>\n                    <Col lg=\"6\" className=\"px-0\">\n                    <div className=\"text-start\">\n                        \n                        <div className=\"\">\n                        <h3 className=\"font-weight-bold\">\n                            Dashboard Topik Gotong Royong\n                        </h3>\n                        <p className=\"mb-3\" style={{\n                            fontSize: '12px'\n                        }}>\n                            Data Update hasil pendataan 2022\n                        </p>\n                        </div>\n                    </div>\n                    </Col>\n                    <Col lg=\"6\" className=\"px-0 mx-auto d-flex align-items-center pl-5\">\n                    \n                    </Col>\n                </Row>\n                </div>\n            </div>\n            </div>\n        </div>\n        <ModelViewChart \n            title=\"Grafik Data Lingkungan\"\n            master={ ReducersKependudukan }\n            payload= { ReducersLingkunganRawan }\n            params={ ReducersKota } \n        />\n        <div className='mb-5' />\n    </Fragment>\n  );\n};\n\nexport default GotongRoyong;","import React, { Fragment } from 'react';\nimport { useSelector } from 'react-redux';\nimport { Row, Col } from 'reactstrap';\nimport ModelViewChart from 'pages-public/TopikDataPublik/ModelViewChart';\n\n\nconst Pangan = () => {\nconst { ReducersKota, ReducersKependudukan, ReducersRumahPTPLahan, ReducersRumahPtpPerikanan, ReducersRumahPtpPeternakan  } = useSelector(state => state);\n\nreturn (\n    <Fragment>\n        <div id='section-satu' className=\"hero-wrapper pt-3 pb-3 bg-gradient-primary\">\n            <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n            <div className=\"bg-composed-wrapper--content pb-2 pt-2\">\n                <div className=\"container text-white\">\n                <Row>\n                    <Col lg=\"6\" className=\"px-0\">\n                    <div className=\"text-start\">\n                        \n                        <div className=\"\">\n                        <h3 className=\"font-weight-bold\">\n                            Dashboard Topik Pangan\n                        </h3>\n                        <p className=\"mb-3\" style={{\n                            fontSize: '12px'\n                        }}>\n                            Data Update hasil pendataan 2022\n                        </p>\n                        </div>\n                    </div>\n                    </Col>\n                    <Col lg=\"6\" className=\"px-0 mx-auto d-flex align-items-center pl-5\">\n                    \n                    </Col>\n                </Row>\n                </div>\n            </div>\n            </div>\n        </div>\n        <ModelViewChart \n            title=\"Grafik Data Rumah PTP Lahan\"\n            master={ ReducersKependudukan }\n            payload= { ReducersRumahPTPLahan }\n            params={ ReducersKota } \n        />\n        <ModelViewChart \n            title=\"Grafik Data Rumah PTP Perikanan\"\n            master={ ReducersKependudukan }\n            payload= { ReducersRumahPtpPerikanan }\n            params={ ReducersKota } \n        />\n        <ModelViewChart \n            title=\"Grafik Data Rumah PTP Peternakan\"\n            master={ ReducersKependudukan }\n            payload= { ReducersRumahPtpPeternakan }\n            params={ ReducersKota } \n        />\n        <div className='mb-5' />\n    </Fragment>\n  );\n};\n\nexport default Pangan;","import React, { Fragment } from 'react';\nimport { useSelector } from 'react-redux';\nimport { Row, Col } from 'reactstrap';\nimport ModelViewChart from 'pages-public/TopikDataPublik/ModelViewChart';\n\n\n\nconst Sandang = () => {\nconst { ReducersKota, ReducersKependudukan, ReducersUp2kIndustri  } = useSelector(state => state);\n\nreturn (\n    <Fragment>\n        <div id='section-satu' className=\"hero-wrapper pt-3 pb-3 bg-gradient-primary\">\n            <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n            <div className=\"bg-composed-wrapper--content pb-2 pt-2\">\n                <div className=\"container text-white\">\n                <Row>\n                    <Col lg=\"6\" className=\"px-0\">\n                    <div className=\"text-start\">\n                        \n                        <div className=\"\">\n                        <h3 className=\"font-weight-bold\">\n                            Dashboard Topik Sandang\n                        </h3>\n                        <p className=\"mb-3\" style={{\n                            fontSize: '12px'\n                        }}>\n                            Data Update hasil pendataan 2022\n                        </p>\n                        </div>\n                    </div>\n                    </Col>\n                    <Col lg=\"6\" className=\"px-0 mx-auto d-flex align-items-center pl-5\">\n                    \n                    </Col>\n                </Row>\n                </div>\n            </div>\n            </div>\n        </div>\n        <ModelViewChart \n            title=\"Grafik Data Rumah UP2K Industri\"\n            master={ ReducersKependudukan }\n            payload= { ReducersUp2kIndustri }\n            params={ ReducersKota } \n        />\n        <div className='mb-5' />\n    </Fragment>\n  );\n};\n\nexport default Sandang;","import React, { Fragment } from 'react';\nimport { useSelector } from 'react-redux';\nimport { Row, Col } from 'reactstrap';\nimport ModelViewChart from 'pages-public/TopikDataPublik/ModelViewChart';\n\n\nconst PerumahanDanTataLaksanaRumahTangga = () => {\nconst { ReducersKota, ReducersKependudukan, ReducersLingkunganRawan, ReducersRumahSehat  } = useSelector(state => state);\n\nreturn (\n    <Fragment>\n        <div id='section-satu' className=\"hero-wrapper pt-3 pb-3 bg-gradient-primary\">\n            <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n            <div className=\"bg-composed-wrapper--content pb-2 pt-2\">\n                <div className=\"container text-white\">\n                <Row>\n                    <Col lg=\"6\" className=\"px-0\">\n                    <div className=\"text-start\">\n                        \n                        <div className=\"\">\n                        <h3 className=\"font-weight-bold\">\n                            Dashboard Topik Perumahan dan Tata Laksana Rumah Tangga\n                        </h3>\n                        <p className=\"mb-3\" style={{\n                            fontSize: '12px'\n                        }}>\n                            Data Update hasil pendataan 2022\n                        </p>\n                        </div>\n                    </div>\n                    </Col>\n                    <Col lg=\"6\" className=\"px-0 mx-auto d-flex align-items-center pl-5\">\n                    \n                    </Col>\n                </Row>\n                </div>\n            </div>\n            </div>\n        </div>\n        <ModelViewChart \n            title=\"Grafik Data Rumah Sehat\"\n            master={ ReducersKependudukan }\n            payload= { ReducersRumahSehat }\n            params={ ReducersKota } \n        />\n        <ModelViewChart \n            title=\"Grafik Data Lingkungan Rawan Bencana\"\n            master={ ReducersKependudukan }\n            payload= { ReducersLingkunganRawan }\n            params={ ReducersKota } \n        />\n        <div className='mb-5' />\n    </Fragment>\n  );\n};\n\nexport default PerumahanDanTataLaksanaRumahTangga;","import React, { Fragment, useEffect, useState } from 'react';\nimport { ApexChart } from 'pages-component';\nimport { GrafikLayout } from 'layout';\nimport { configPieChart } from \"helpers\";\nimport { HeaderTopikData } from '../../../layout-components';\nimport { OptionsVertikalBarChart, OptionsPieChart } from 'helpers/OptionChart';\nimport { SeriesVertikalBarChart, SeriesPieChart } from 'helpers/SeriesChart';\n\nconst PendidikanDanKeterampilan = (props) => {\n  const { pagesTitle, pagesDescriptions } = props;\n  const [titleChart, setTitleChart] = useState(null);\n  const [series, setSeries] = useState([]);\n  const [labels, setLabels] = useState([]);\n\n  const runSetTitleChart = (data) => {\n    setTitleChart(data)\n  }\n\n  const runSetSeries = (data) => {\n    setSeries(data)\n  }\n\n  const runSetLabels = (data) => {\n    setLabels(data)\n  }\n\n  return (\n    <Fragment>\n        <HeaderTopikData \n            pagesTitle = { pagesTitle }\n            pagesDescriptions = { pagesDescriptions }\n        />\n        <GrafikLayout\n            title=\"Grafik Tidak Sekolah dan Putus Sekolah\"\n            series = {series}\n            setSeries = {runSetSeries}\n            labels = {labels}\n            setLabels = {runSetLabels}\n            titleChart = {titleChart}\n            setTitleChart = {runSetTitleChart}\n        >\n            <ApexChart\n                {...GrafikLayout} \n                config={{\n                    options : OptionsVertikalBarChart({\n                        labels : labels,\n                        title : titleChart\n                    }),\n                    series : SeriesVertikalBarChart({\n                        series : series\n                    }),\n                }}\n                type=\"bar\"\n            />\n            <ApexChart\n                {...GrafikLayout} \n                config={{\n                    options : OptionsPieChart({\n                        labels : labels,\n                        title : titleChart\n                    }),\n                    series : SeriesPieChart({\n                        series : series\n                    }),\n                }}\n                type=\"donut\"\n            />\n        </GrafikLayout>\n        <div className='mb-5' />\n    </Fragment>\n  );\n};\n\nexport default PendidikanDanKeterampilan;","import React, { Fragment, useState } from 'react';\nimport { useSelector } from 'react-redux';\nimport { Row, Col } from 'reactstrap';\nimport ModelViewChart from 'pages-public/TopikDataPublik/ModelViewChart';\n\n\nconst Kesehatan = () => {\n  const { ReducersKota, ReducersKependudukan, ReducersBumil, ReducersKesehatanBayi, ReducersDisabilitas, ReducersKankerPerempuan, ReducersHivTb, ReducersKesehatanMsy, ReducersPusWus } = useSelector(state => state);\n  const [modelChartSatu, setModelChartSatu] = useState(['donut', 'pie'])\n\n  return (\n    <Fragment>\n        <div id='section-satu' className=\"hero-wrapper pt-3 pb-3 bg-gradient-primary\">\n            <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n            <div className=\"bg-composed-wrapper--content pb-2 pt-2\">\n                <div className=\"container text-white\">\n                <Row>\n                    <Col lg=\"6\" className=\"px-0\">\n                    <div className=\"text-start\">\n                        \n                        <div className=\"\">\n                        <h3 className=\"font-weight-bold\">\n                            Dashboard Topik Kesehatan\n                        </h3>\n                        <p className=\"mb-3\" style={{\n                            fontSize: '12px'\n                        }}>\n                            Data Update hasil pendataan 2022\n                        </p>\n                        </div>\n                    </div>\n                    </Col>\n                    <Col lg=\"6\" className=\"px-0 mx-auto d-flex align-items-center pl-5\">\n                        \n                    </Col>\n                </Row>\n                </div>\n            </div>\n            </div>\n        </div>\n\n        <ModelViewChart \n            title=\"Grafik Data Ibu Hamil\"\n            master={ ReducersKependudukan }\n            payload= { ReducersBumil }\n            params={ ReducersKota }\n            fieldReactSelected={ ReducersBumil.fieldReactSelected }\n            type={modelChartSatu[Math.floor(Math.random() * modelChartSatu.length)]} \n        />\n\n        <ModelViewChart \n            title=\"Grafik Data PUS & WUS\"\n            master={ ReducersKependudukan }\n            payload= { ReducersPusWus }\n            params={ ReducersKota }\n            type={modelChartSatu[Math.floor(Math.random() * modelChartSatu.length)]}  \n        />\n\n        <ModelViewChart \n            title=\"Grafik Data Kontrasepsi\"\n            master={ ReducersKependudukan }\n            payload= { ReducersKesehatanMsy }\n            params={ ReducersKota }\n            type={modelChartSatu[Math.floor(Math.random() * modelChartSatu.length)]}  \n        />\n\n        <ModelViewChart \n            title=\"Grafik Kesehatan Bayi\"\n            master={ ReducersKependudukan }\n            payload= { ReducersKesehatanBayi }\n            params={ ReducersKota }\n            type={modelChartSatu[Math.floor(Math.random() * modelChartSatu.length)]}  \n        />\n\n        <ModelViewChart \n            title=\"Grafik Data Disabilitas\"\n            master={ ReducersKependudukan }\n            payload= { ReducersDisabilitas }\n            params={ ReducersKota }\n            type={modelChartSatu[Math.floor(Math.random() * modelChartSatu.length)]}  \n        />\n\n        <ModelViewChart \n            title=\"Grafik Data Kanker Perempuan\"\n            master={ ReducersKependudukan }\n            payload= { ReducersKankerPerempuan }\n            params={ ReducersKota }\n            type={modelChartSatu[Math.floor(Math.random() * modelChartSatu.length)]}  \n        />\n\n        <ModelViewChart \n            title=\"Grafik Data HIV dan TB\"\n            master={ ReducersKependudukan }\n            payload= { ReducersHivTb }\n            params={ ReducersKota }\n            type={modelChartSatu[Math.floor(Math.random() * modelChartSatu.length)]}  \n        />\n\n        <div className='mb-5' />\n    </Fragment>\n  );\n};\n\nexport default Kesehatan;","import { BarChart } from 'pages-component';\nimport React, { Fragment } from 'react';\nimport { useSelector } from 'react-redux';\nimport { Row, Col, Card, CardHeader, CardBody, CardFooter } from 'reactstrap';\nimport ModelViewChart from 'pages-public/TopikDataPublik/ModelViewChart';\n\n\nconst PendidikanDanKeterampilan = () => {\n  const { ReducersKependudukan, ReducersWargaAktif, ReducersKota } = useSelector(state => state);\n\n  return (\n    <Fragment>\n        <div id='section-satu' className=\"hero-wrapper pt-3 pb-3 bg-gradient-primary\">\n            <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n            <div className=\"bg-composed-wrapper--content pb-2 pt-2\">\n                <div className=\"container text-white\">\n                <Row>\n                    <Col lg=\"6\" className=\"px-0\">\n                    <div className=\"text-start\">\n                        \n                        <div className=\"\">\n                        <h3 className=\"font-weight-bold\">\n                            Dashboard Topik Pengembangan Kehidupan Berkoperasi\n                        </h3>\n                        <p className=\"mb-3\" style={{\n                            fontSize: '12px'\n                        }}>\n                            Bagian ini menjelaskan data terkait aspek pendidikan yang terdata melalui aplikasi Carik Jakarta. Data yang ditampilkan pada bagian ini terutama jumlah anak usia sekolah. \n                        </p>\n                        </div>\n                    </div>\n                    </Col>\n                    <Col lg=\"6\" className=\"px-0 mx-auto d-flex align-items-center pl-5\">\n                    \n                    </Col>\n                </Row>\n                </div>\n            </div>\n            </div>\n        </div>\n\n        <ModelViewChart \n            title=\"Grafik Data Pengembangan Kehidupan Berkoperasi\"\n            master={ ReducersKependudukan }\n            payload= { ReducersWargaAktif }\n            params={ ReducersKota } \n        />\n        <div className='mb-5' />\n    </Fragment>\n  );\n};\n\nexport default PendidikanDanKeterampilan;","import React, { Fragment } from 'react';\nimport { useSelector } from 'react-redux';\nimport { Row, Col } from 'reactstrap';\nimport ModelViewChart from 'pages-public/TopikDataPublik/ModelViewChart';\n\nconst KelestarianLingkunganHidup = () => {\nconst { ReducersKota, ReducersKependudukan, ReducersPengolahanSampah, ReducersSumberAir  } = useSelector(state => state);\n\nreturn (\n    <Fragment>\n        <div id='section-satu' className=\"hero-wrapper pt-3 pb-3 bg-gradient-primary\">\n            <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n            <div className=\"bg-composed-wrapper--content pb-2 pt-2\">\n                <div className=\"container text-white\">\n                <Row>\n                    <Col lg=\"6\" className=\"px-0\">\n                    <div className=\"text-start\">\n                        \n                        <div className=\"\">\n                        <h3 className=\"font-weight-bold\">\n                            Dashboard Topik Kelestarian Lingkungan Hidup\n                        </h3>\n                        <p className=\"mb-3\" style={{\n                            fontSize: '12px'\n                        }}>\n                            Data Update hasil pendataan 2022\n                        </p>\n                        </div>\n                    </div>\n                    </Col>\n                    <Col lg=\"6\" className=\"px-0 mx-auto d-flex align-items-center pl-5\">\n                    \n                    </Col>\n                </Row>\n                </div>\n            </div>\n            </div>\n        </div>\n        <ModelViewChart \n            title=\"Grafik Data Pengolahan Sampah\"\n            master={ ReducersKependudukan }\n            payload= { ReducersPengolahanSampah }\n            params={ ReducersKota } \n        />\n        <ModelViewChart \n            title=\"Grafik Data Sumber Air\"\n            master={ ReducersKependudukan }\n            payload= { ReducersSumberAir }\n            params={ ReducersKota } \n        />\n        <div className='mb-5' />\n    </Fragment>\n  );\n};\n\nexport default KelestarianLingkunganHidup;","import Swal from 'sweetalert2'\n\nexport const SweetAlert = ({title, text, icon, buttonText}) => {\n    return Swal.fire({\n        title: title,\n        text:  text,\n        icon: icon,\n        confirmButtonText: buttonText,\n        customClass: \"custom_button\",\n    })\n}\n\nexport const Mixin = Swal.mixin({\n        toast: true,\n        position: 'top-end',\n        showConfirmButton: false,\n        timer: 3000,\n        timerProgressBar: true,\n        didOpen: (toast) => {\n          toast.addEventListener('mouseenter', Swal.stopTimer)\n          toast.addEventListener('mouseleave', Swal.resumeTimer)\n        }\n    })\n\n","import { faArrowLeft, faEye, faEyeSlash, faUnlock } from '@fortawesome/free-solid-svg-icons';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { SweetAlert, Mixin } from 'pages-component/SweetAlert';\nimport React, { Fragment, useEffect, useState } from 'react';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { Link, useHistory } from 'react-router-dom';\nimport { Row, Col, Card, CardBody, Form, FormGroup, Label, Input, Button, Container, InputGroup } from 'reactstrap';\nimport { clearMessage } from 'reducers/ReducersMessage';\nimport { LogoCarik, LogoDppapp, LogoPkk, LogoPusdatinPutih, LogoSimPkk, SampleImage } from \"../../assets/images\";\nimport { login, logout } from 'reducers/ReducersAuth';\n\n\n\nconst LoginDashboard = () => {\n    const [showPassword, setShowPassword] = useState(true);\n    const history = useHistory();\n    const { isLoggedIn, user } = useSelector(state => state.ReducersAuth);\n    const { ReducersMessage } = useSelector(state => state);\n    const { code } = useSelector(state => state.ReducersMessage);\n\n    const dispatch = useDispatch();\n    const [loading, setLoading] = useState(false);\n    const [formLogin, setFormLogin] = useState({\n        username : false,\n        password : false\n    });\n\n\n    const actionLogin = (e) => {\n        if (!formLogin.username || !formLogin.password) {\n            SweetAlert({\n                title : 'Oops !',\n                text : 'Mohon diisi username, password terlebih dahulu',\n                buttonText : 'Baik, saya isi ya',\n                icon : 'warning'\n            })\n\n            return false;\n        }\n        setLoading(true);\n\n        dispatch(login(formLogin))\n            .then((e) => {\n                setLoading(false);\n                console.log(user);\n            })\n            .catch((e) => {\n                setLoading(false);\n            })\n    }\n\n    useEffect(() => {\n        if (![formLogin.username, formLogin.password].includes(false)) {\n            if (isLoggedIn) {\n                Mixin.fire({\n                    icon : 'success',\n                    title : 'Selamat Datang, ' + user.nama\n                }).finally(() => {\n                        window.open('https://carik.jakarta.go.id/dashboard/#/auth?us='+formLogin.username+'&pw='+formLogin.password, '_self')\n                })\n            }\n        } else {\n            dispatch(logout)\n        }\n    }, [isLoggedIn])\n\n    useEffect(() => {\n        if (code != 0) {\n            SweetAlert({\n                title : 'Oops !',\n                text : Error[code],\n                buttonText : 'Login kembali',\n                icon : 'error'\n            }).finally(() => {\n                dispatch(clearMessage)\n            })\n        }\n    }, [code])\n\n  return (\n    <Fragment>\n        <Row className=\"wrapper-login\">\n            <Col md=\"5\" className=\"login-left\">\n                <div className='align-content-center align-items-center login-card-wrapper'>\n                    <div className='login-title-wrapper mb-3'>\n                        <div className='text-center'>\n                            <img src={LogoSimPkk} width=\"50%\" />\n                        </div>\n                    </div>\n                    <Card className=\"login-card\">\n                        <CardBody>\n                            <Form>\n                                <FormGroup row>\n                                    <Label for=\"exampleEmail\" sm={12}>\n                                    Username\n                                    </Label>\n                                    <Col sm={12}>\n                                        <Input\n                                            type=\"text\"\n                                            name=\"username\"\n                                            placeholder=\"Username\"\n                                            onChange={(e) => setFormLogin({\n                                                ...formLogin,\n                                                username : e.target.value\n                                            })}\n                                        />\n                                    </Col>\n                                </FormGroup>\n                                <FormGroup row>\n                                    <Label for=\"examplePassword\" sm={12}>\n                                    Password\n                                    </Label>\n                                    <Col sm={12}>\n                                        <InputGroup>\n                                            <Input \n                                                type={showPassword ? \"password\" : \"text\"}\n                                                name=\"password\"\n                                                placeholder=\"Password\"\n                                                onChange={(e) => setFormLogin({\n                                                    ...formLogin,\n                                                    password : e.target.value\n                                                })}\n                                                autoComplete=\"off\"\n                                            />\n                                            <Button onClick={() => setShowPassword(!showPassword)} color={showPassword ? \"danger\" : \"success\"}>\n                                                { showPassword ? <> <FontAwesomeIcon icon={faEye} /> Show </> : <><FontAwesomeIcon icon={faEyeSlash} />  Hide</>}\n                                            </Button>\n                                        </InputGroup>\n                                    </Col>\n                                </FormGroup>\n                                <FormGroup row>\n                                    <Col sm={12}>\n                                        <Button className=\"p-button\" onClick={actionLogin} disabled={loading}>\n                                            LOGIN \n                                            { loading ? <span className=\"spinner-border spinner-border-sm ml-3\"></span> : <FontAwesomeIcon icon={faUnlock} className=\"ml-3\" /> }\n                                            \n                                        </Button>\n                                    </Col>\n                                    <Col sm={12} className=\"mt-4\">\n                                        <Link to=\"./\">\n                                            <FontAwesomeIcon icon={faArrowLeft} className=\"mr-3\" />\n                                            Kembali kehalaman utama\n                                        </Link>\n                                    </Col>\n                                </FormGroup>\n                            </Form>\n                        </CardBody>\n                    </Card>\n                    <Row style={{\n                        backgroundColor: \"white\",\n                        borderRadius: \"15px\",\n                        width: \"50vh\",\n                        marginLeft: \"10vh\"\n                        }} className=\"p-3 pt-4 mt-4\">\n                            <Col lg=\"4\" md=\"4\" className=\"text-center\">\n                                <img src={ LogoDppapp } width=\"90px\"/>\n                            </Col>\n                            <Col lg=\"4\" md=\"4\" className=\"text-left\">\n                                <img src={ LogoPkk } width=\"115px\"/>\n                            </Col>\n                            <Col lg=\"4\" md=\"4\" className=\"text-right\">\n                                <img src={ LogoCarik } width=\"115px\"/>\n                            </Col>\n                        </Row>\n                </div>\n            </Col>\n            <Col md=\"7\" className=\"login-right align-content-center align-items-center text-center pt-5 d-none d-lg-flex d-md-flex\">\n                    <img src={SampleImage} width=\"80%\" />\n            </Col>\n        </Row>\n    </Fragment>\n  );\n};\n\nexport default LoginDashboard;","import { LeaftletMaps } from 'pages-component';\nimport React, { Fragment } from 'react';\n\nconst PetaSebaran = () => {\n  return (\n    <Fragment>\n        <div className=\"hero-wrapper\">\n            <div className=\"flex-grow-1 w-100 d-flex align-items-center\" >\n                <div id='peta-sebaran' className=\"bg-composed-wrapper--content\">\n                    <LeaftletMaps />\n                </div>\n            </div>\n        </div>\n    </Fragment>\n  );\n};\n\nexport default PetaSebaran;","import React, { Fragment } from 'react';\nimport { Footer, HeaderDashboardPublic, SidebarHeader, Side, SidebarMaps } from '../../layout-components';\n\nimport PropTypes from 'prop-types';\nimport { Container } from 'reactstrap';\n\nconst PetaSebaranLayout = props => {\n  const { children } = props;\n\n  return(\n    <Fragment>\n        <div className=\"app-wrapper app-header-fixed\">\n          <div>\n              <SidebarMaps />\n          </div>\n          <div className=\"app-main\">\n            {/* <SidebarHeader /> */}\n            <div className=\"app-content p-0\">\n              <div className=\"app-content--inner p-0\">\n                <div className=\"app-content--inner__wrapper\">\n                    {children}\n                </div>\n              </div>\n            </div>\n          </div>\n        </div>\n    </Fragment>\n  );\n};\n\nPetaSebaranLayout.propTypes = {\n  children: PropTypes.node\n};\n\nexport default PetaSebaranLayout;\n","import React, { Fragment } from 'react';\n\nimport { HeaderUserLogin, SidebarPro } from '../../layout-components';\n\nconst UserLayout = props => {\n  const { children } = props;\n\n  return (\n    <Fragment>\n        <div className=\"app-wrapper app-header-fixed\">\n          <div>\n              <SidebarPro />\n          </div>\n          <div className=\"app-main costume-main-user\">\n            <HeaderUserLogin />\n            <div className=\"app-content\">\n              <div className=\"app-content--inner pt-0\">\n                <div className=\"app-content--inner__wrapper\">\n                    {children}\n                </div>\n              </div>\n            </div>\n          </div>\n        </div>\n    </Fragment>\n  );\n};\n\nexport default UserLayout;\n","import React, { Fragment } from 'react';\n\nconst PengajuanData = () => {\n  return (\n    <Fragment>\n        <div className=\"hero-wrapper\">\n            <div className=\"flex-grow-1 w-100 d-flex align-items-center\">\n                <div id='peta-sebaran' className=\"bg-composed-wrapper--content\">\n                    {/* <LivePreviewExample /> */}\n                </div>\n            </div>\n        </div>\n        <div className='mb-5' />\n    </Fragment>\n  );\n};\n\nexport default PengajuanData;","import React from \"react\";\n\nconst IndikatorKependudukan = [\n    {\n        title : \"Rasio jumlah dan persentase penduduk laki - laki dan perempuan\",\n        deskripsi : \"\",\n        grafik : \"pie-chart\",\n        service : \"\"\n    },\n    {\n        title : \"Rasio jumlah dan persentase penduduk KTP DKI dan KTP Non DKI\",\n        deskripsi : \"\",\n        grafik : \"pie-chart\",\n        service : \"\"\n    },\n    {\n        title : \"Sebaran jumlah agama di DKI Jakarta\",\n        deskripsi : \"\",\n        grafik : \"bar-chart\",\n        service : \"\"\n    },\n    {\n        title : \"Rasio jumlah dan persentase penduduk berusia lanjut DKI Jakarta\",\n        deskripsi : \"\",\n        parameter : [\n            {\n                title : \"Total\",\n                service : \"\"\n            },\n            {\n                title : \"Laki - Laki\",\n                service : \"\"\n            },\n            {\n                title : \"Perempuan\",\n                service : \"\"\n            }\n        ],\n        grafik : \"pie-chart\",\n        service : \"\"\n    },\n    {\n        title : \"Rasio jumlah dan persentase penduduk DKI Jakata memiliki akte\",\n        deskripsi : \"\",\n        parameter : [\n            {\n                title : \"Total\",\n                service : \"\"\n            },\n            {\n                title : \"Laki - Laki\",\n                service : \"\"\n            },\n            {\n                title : \"Perempuan\",\n                service : \"\"\n            }\n        ],\n        grafik : \"pie-chart\",\n        service : \"\"\n    },\n    {\n        title : \"Rasio jumlah dan persentase status pernikahan\",\n        deskripsi : \"\",\n        parameter : [\n            {\n                title : \"Jumlah dan Persentase tingkat pernikahan dan perceraian\",\n                service : \"\"\n            },\n            {\n                title : \"Jumlah dan Persentase Pernikahan dengan akta nikah dan tanpa akta nikah\",\n                service : \"\"\n            },\n            {\n                title : \"Jumlah dan Persentase cerai hidup dan cerai mati\",\n                service : \"\"\n            }\n        ],\n        grafik : \"pie-chart\",\n        service : \"\"\n    }\n]\n\nexport default IndikatorKependudukan;","import React, { Fragment } from 'react';\nimport { Row, Col, ListGroup, CardHeader, ListGroupItemText, ListGroupItemHeading, ListGroupItem, Nav, NavItem, NavLink } from 'reactstrap';\nimport PerfectScrollbar from 'react-perfect-scrollbar';\nimport IndikatorKependudukan from 'config/indikator-kependudukan';\n\n\nconst AnalisaKependudukan = () => {\n  return (\n    <Fragment>\n        <Row className=\"bg-thrid text-white\" style={{\n            minHeight: \"4vh\",\n            lineHeight: \"4vh\",\n            borderRadius: \"1vh 1vh 0 0\"\n        }}>\n            <Col md=\"3\">\n                Indikator Data Kependudukan\n            </Col>\n            <Col md=\"6\" lg=\"6\" className=\"text-center\">\n                Grafik\n            </Col>\n            <Col md=\"3\">\n                Diskusi\n            </Col>\n        </Row>\n        <Row style={{\n            height: \"70vh\"\n        }}>\n            <Col md=\"3\" className=\"pl-0 pr-0 bg-white\">\n                <div className='scroll-area shadow-overflow'>\n                    <PerfectScrollbar>\n                        <ListGroup flush>\n                            {\n                                IndikatorKependudukan ? IndikatorKependudukan.map((res, i) => {\n                                    return  <ListGroupItem>\n                                    <ListGroupItemText>\n                                    {res.title}\n                                    </ListGroupItemText>\n                                </ListGroupItem>\n                                }) : <ListGroupItem>\n                                <ListGroupItemText>\n                                Loading\n                                </ListGroupItemText>\n                            </ListGroupItem>\n                            }\n                            \n                        </ListGroup>\n                    </PerfectScrollbar>\n                </div>\n            </Col>\n            <Col md=\"6\" lg=\"6\" className=\"bg-white pt-3\">\n                <div>\n                    <Nav pills>\n                        <NavItem>\n                            <NavLink\n                                active\n                                href=\"#\"\n                            >\n                                Grafik\n                            </NavLink>\n                        </NavItem>\n                        <NavItem>\n                            <NavLink\n                                href=\"#\"\n                            >\n                                Maps\n                            </NavLink>\n                        </NavItem>\n                    </Nav>\n                </div>\n            </Col>\n            <Col md=\"3\">\n                Diskusi\n            </Col>\n        </Row>\n    </Fragment>\n  );\n};\n\nexport default AnalisaKependudukan;\n","import React, { lazy, Suspense } from 'react';\nimport { Switch, Route, Redirect, useLocation } from 'react-router-dom';\nimport { AnimatePresence, motion } from 'framer-motion';\n\n// Layout Blueprints\n\nimport { LandingLayout, DashboardPublicLayout } from './layout';\n\nimport { GotongRoyong, KelestarianLingkunganHidup, Kependudukan, Kesehatan, Pangan, PendidikanDanKeterampilan, PengembanganKehidupanBerkoperasi, PenghayatanDanPengamalanPancasila, PerumahanDanTataLaksanaRumahTangga, Sandang } from 'pages-public/TopikDataPublik';\nimport LoginDashboard from 'pages-public/LoginDashboard';\nimport PetaSebaran from 'pages-public/PetaSebaran';\nimport PetaSebaranLayout from 'layout/PetaSebaranLayout';\nimport UserLayout from 'layout/UserLayout';\nimport { AnalisaKependudukan, Dashboard, PengajuanData } from 'pages-user';\nimport { LogoSimPkk } from 'assets/images';\nconst DashboardPublic = lazy(() => import('./pages-public/DashboardPublic'));\nconst LandingPage = lazy(() => import('./pages-public/LandingPage'));\n\nconst Routes = () => {\n  const location = useLocation();\n\n  const pageVariants = {\n    initial: {\n      opacity: 0,\n      scale: 0.99\n    },\n    in: {\n      opacity: 1,\n      scale: 1\n    },\n    out: {\n      opacity: 0,\n      scale: 1.01\n    }\n  };\n\n  const pageTransition = {\n    type: 'tween',\n    ease: 'backIn',\n    duration: 0.4\n  };\n\n  return (\n    <AnimatePresence>\n      <Suspense\n        fallback={\n          <div className=\"d-flex align-items-center vh-100 justify-content-center text-center font-weight-bold font-size-lg py-3\">\n            <div className=\"w-50 mx-auto\">\n              <img src={LogoSimPkk} />\n            </div>\n          </div>\n        }>\n        <Switch>\n          <Redirect exact from=\"/\" to=\"/dashboard-public\" />\n          <Route path={['/LandingPage']}>\n            <LandingLayout>\n              <Switch location={location} key={location.pathname}>\n                <motion.div\n                  initial=\"initial\"\n                  animate=\"in\"\n                  exit=\"out\"\n                  variants={pageVariants}\n                  transition={pageTransition}>\n                  <Route path=\"/LandingPage\" component={LandingPage} />\n                </motion.div>\n              </Switch>\n            </LandingLayout>\n          </Route>\n\n          <Route path={['/auth']}>\n            <Switch location={location} key={location.pathname}>\n                <motion.div\n                  initial=\"initial\"\n                  animate=\"in\"\n                  exit=\"out\"\n                  variants={pageVariants}\n                  transition={pageTransition}>\n                  <Route path=\"/auth\" component={LoginDashboard} />\n                </motion.div>\n              </Switch>\n          </Route>\n\n          <Route path={['/peta-sebaran']}>\n              <PetaSebaranLayout>\n                <Switch location={location} key={location.pathname}>\n                  <motion.div\n                    initial=\"initial\"\n                    animate=\"in\"\n                    exit=\"out\"\n                    variants={pageVariants}\n                    transition={pageTransition}>\n                    <Route path=\"/peta-sebaran\" component={PetaSebaran} />\n                  </motion.div>\n                </Switch>\n              </PetaSebaranLayout>\n          </Route>\n\n          <Route \n            path={[\n              '/dashboard-public',\n              '/dp/kependudukan',\n              '/dp/penghayatan-pancasila',\n              '/dp/gotong-royong',\n              '/dp/pangan',\n              '/dp/sandang',\n              '/dp/perumahan-rumah-tangga',\n              '/dp/pendidikan-keterampilan',\n              '/dp/kesehatan',\n              '/dp/kehidupan-berkoperasi',\n              '/dp/kelestarian-lingkungan-hidup',\n            ]}>\n              <DashboardPublicLayout>\n                <Switch location={location} key={location.pathname}>\n                  <motion.div\n                    initial=\"initial\"\n                    animate=\"in\"\n                    exit=\"out\"\n                    variants={pageVariants}\n                    transition={pageTransition}>\n                    <Route path=\"/dashboard-public\" component={DashboardPublic} />\n                    <Route path=\"/dp/kependudukan\" component={ Kependudukan } />\n                    <Route path=\"/dp/penghayatan-pancasila\" component={ PenghayatanDanPengamalanPancasila } />\n                    <Route path=\"/dp/gotong-royong\" component={ GotongRoyong } />\n                    <Route path=\"/dp/pangan\" component={ Pangan } />\n                    <Route path=\"/dp/sandang\" component={ Sandang } />\n                    <Route path=\"/dp/perumahan-rumah-tangga\" component={ PerumahanDanTataLaksanaRumahTangga } />\n                    <Route \n                      path=\"/dp/pendidikan-keterampilan\"\n                      render={(props) => <PendidikanDanKeterampilan {...props}  \n                        pagesTitle = \"Dashboard Topik Pendidikan dan Keterampilan\"\n                        pagesDescriptions = \"Bagian ini menjelaskan data terkait aspek pendidikan yang terdata melalui aplikasi Carik Jakarta. Data yang ditampilkan pada bagian ini terutama jumlah anak usia sekolah. \"\n                      />} \n                    />\n                    <Route path=\"/dp/kesehatan\" component={ Kesehatan } />\n                    <Route path=\"/dp/kehidupan-berkoperasi\" component={ PengembanganKehidupanBerkoperasi } />\n                    <Route path=\"/dp/kelestarian-lingkungan-hidup\" component={ KelestarianLingkunganHidup } />\n                  </motion.div>\n                </Switch>\n              </DashboardPublicLayout>\n          </Route>\n\n          <Route \n            path={[\n              '/user/dashboard',\n              '/user/profile',\n              '/user/pengajuan-data',\n              '/user/analisa/kependudukan',\n            ]}>\n              <UserLayout>\n                <Switch location={location} key={location.pathname}>\n                  <motion.div\n                    initial=\"initial\"\n                    animate=\"in\"\n                    exit=\"out\"\n                    variants={pageVariants}\n                    transition={pageTransition}>\n                    <Route path=\"/user/dashboard\"  component={ Dashboard } />\n                    <Route path=\"/user/profile\"  component={ Dashboard } />\n                    <Route path=\"/user/pengajuan-data\" component={ PengajuanData } />\n                    <Route path=\"/user/analisa/kependudukan\" component={ AnalisaKependudukan } />\n                  </motion.div>\n                </Switch>\n              </UserLayout>\n          </Route>\n        </Switch>\n      </Suspense>\n    </AnimatePresence>\n  );\n};\n\nexport default Routes;\n","import { useEffect } from 'react';\nimport { withRouter } from 'react-router-dom';\n\nconst ScrollToTop = ({ children, location: { pathname } }) => {\n  useEffect(() => {\n    window.scrollTo({\n      top: 0,\n      left: 0,\n      behavior: 'smooth'\n    });\n  }, [pathname]);\n\n  return children || null;\n};\n\nexport default withRouter(ScrollToTop);\n","import React, { Component } from 'react';\nimport store from './config/configureStore';\nimport { Provider, useDispatch } from 'react-redux';\nimport Routes from './Routes';\nimport ScrollToTop from './utils/ScrollToTop';\nimport './assets/base.scss';\nimport \"swiper/swiper.scss\";\n\nimport { HashRouter } from 'react-router-dom';\nimport { fetchKependudukan } from './reducers/ReducersKependudukan/DataPenduduk';\nimport { fetchMaster as fetchAgama } from './reducers/ReducersKependudukan/DataAgama';\nimport { fetchMaster as fetchPernikahan } from './reducers/ReducersKependudukan/DataPernikahan';\nimport { fetchMaster as fetchPekerjaan } from './reducers/ReducersKependudukan/DataPekerjaan';\nimport { fetchMaster as fetchPiramidaPenduduk } from './reducers/ReducersKependudukan/DataPiramidaPenduduk';\nimport { fetchMaster as fetchBalita } from './reducers/ReducersKependudukan/DataBalita';\nimport { fetchMaster as fetchLansia } from './reducers/ReducersKependudukan/DataLansia';\nimport { fetchMaster as fetchAktaWarga } from './reducers/ReducersKependudukan/DataAktaWarga';\nimport { fetchMaster as fetchPutusSekolah } from './reducers/ReducersPendidikan/DataPutusSekolah';\nimport { fetchMaster as fetchBumil } from \"./reducers/ReducersKesehatan/DataBumil\";\nimport { fetchMaster as fetchDisabilitas } from \"./reducers/ReducersKesehatan/DataDisabilitas\";\nimport { fetchMaster as fetchHivTb } from \"./reducers/ReducersKesehatan/DataHivTb\";\nimport { fetchMaster as fetchKankerPerempuan } from \"./reducers/ReducersKesehatan/DataKankerPerempuan\";\nimport { fetchMaster as fetchKesehatanBayi } from \"./reducers/ReducersKesehatan/DataKesehatanBayi\";\nimport { fetchMaster as fetchKesehatanMsy } from \"./reducers/ReducersKontrasepsi/DataKesehatanMsy\";\nimport { fetchMaster as fetchPusWus } from \"./reducers/ReducersKontrasepsi/DataPusWus\";\nimport { fetchMaster as fetchLingkunganRawan } from \"./reducers/ReducersLingkungan/DataLingkunganRawan\";\nimport { fetchMaster as fetchPengolahanSampah } from \"./reducers/ReducersPerumahan/DataPengolahanSampah\";\nimport { fetchMaster as fetchLahan } from \"./reducers/ReducersPerumahan/DataRumahPtpLahan\";\nimport { fetchMaster as fetchPerikanan } from \"./reducers/ReducersPerumahan/DataRumahPtpPerikanan\";\nimport { fetchMaster as fetchPeternakan } from \"./reducers/ReducersPerumahan/DataRumahPtpPeternakan\";\nimport { fetchMaster as fetchRumahSehat } from \"./reducers/ReducersPerumahan/DataRumahSehat\";\nimport { fetchMaster as fetchRumahIndustri } from \"./reducers/ReducersPerumahan/DataRumahUp2kIndustri\";\nimport { fetchMaster as fetchSumberAir } from \"./reducers/ReducersPerumahan/DataSumberAir\";\nimport { fetchMaster as fetchDataKader } from \"./reducers/ReducersPkk/DataKader\";\nimport { fetchMaster as fetchWargaAktif } from \"./reducers/ReducersPkk/DataWargaAktif\";\n\n// const store = configureStore();\nstore.dispatch(fetchKependudukan)\nstore.dispatch(fetchAgama)\nstore.dispatch(fetchPernikahan)\nstore.dispatch(fetchPekerjaan)\nstore.dispatch(fetchPiramidaPenduduk)\nstore.dispatch(fetchBalita)\nstore.dispatch(fetchLansia)\nstore.dispatch(fetchAktaWarga)\nstore.dispatch(fetchPutusSekolah)\nstore.dispatch(fetchBumil)\nstore.dispatch(fetchDisabilitas)\nstore.dispatch(fetchHivTb)\nstore.dispatch(fetchKankerPerempuan)\nstore.dispatch(fetchKesehatanBayi)\nstore.dispatch(fetchKesehatanMsy)\nstore.dispatch(fetchPusWus)\nstore.dispatch(fetchLingkunganRawan)\nstore.dispatch(fetchPengolahanSampah)\nstore.dispatch(fetchLahan)\nstore.dispatch(fetchPerikanan)\nstore.dispatch(fetchPeternakan)\nstore.dispatch(fetchRumahSehat)\nstore.dispatch(fetchRumahIndustri)\nstore.dispatch(fetchSumberAir)\nstore.dispatch(fetchDataKader)\nstore.dispatch(fetchWargaAktif)\n\nclass App extends Component {\n  render() {\n    return (\n      <Provider store={store}>\n        <HashRouter>\n            <ScrollToTop>\n              <Routes />\n            </ScrollToTop>\n        </HashRouter>\n      </Provider>\n    );\n  }\n}\n\nexport default App;\n\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\nconst isLocalhost = Boolean(\n  window.location.hostname === 'localhost' ||\n    // [::1] is the IPv6 localhost address.\n    window.location.hostname === '[::1]' ||\n    // 127.0.0.1/8 is considered localhost for IPv4.\n    window.location.hostname.match(\n      /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\n    )\n);\n\nexport function register(config) {\n  if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n    // The URL constructor is available in all browsers that support SW.\n    const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n    if (publicUrl.origin !== window.location.origin) {\n      // Our service worker won't work if PUBLIC_URL is on a different origin\n      // from what our page is served on. This might happen if a CDN is used to\n      // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n      return;\n    }\n\n    window.addEventListener('load', () => {\n      const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n      if (isLocalhost) {\n        // This is running on localhost. Let's check if a service worker still exists or not.\n        checkValidServiceWorker(swUrl, config);\n\n        // Add some additional logging to localhost, pointing developers to the\n        // service worker/PWA documentation.\n        navigator.serviceWorker.ready.then(() => {\n          console.log(\n            'This web app is being served cache-first by a service ' +\n              'worker. To learn more, visit https://bit.ly/CRA-PWA'\n          );\n        });\n      } else {\n        // Is not localhost. Just register service worker\n        registerValidSW(swUrl, config);\n      }\n    });\n  }\n}\n\nfunction registerValidSW(swUrl, config) {\n  navigator.serviceWorker\n    .register(swUrl)\n    .then(registration => {\n      registration.onupdatefound = () => {\n        const installingWorker = registration.installing;\n        if (installingWorker == null) {\n          return;\n        }\n        installingWorker.onstatechange = () => {\n          if (installingWorker.state === 'installed') {\n            if (navigator.serviceWorker.controller) {\n              // At this point, the updated precached content has been fetched,\n              // but the previous service worker will still serve the older\n              // content until all client tabs are closed.\n              console.log(\n                'New content is available and will be used when all ' +\n                  'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\n              );\n\n              // Execute callback\n              if (config && config.onUpdate) {\n                config.onUpdate(registration);\n              }\n            } else {\n              // At this point, everything has been precached.\n              // It's the perfect time to display a\n              // \"Content is cached for offline use.\" message.\n              console.log('Content is cached for offline use.');\n\n              // Execute callback\n              if (config && config.onSuccess) {\n                config.onSuccess(registration);\n              }\n            }\n          }\n        };\n      };\n    })\n    .catch(error => {\n      console.error('Error during service worker registration:', error);\n    });\n}\n\nfunction checkValidServiceWorker(swUrl, config) {\n  // Check if the service worker can be found. If it can't reload the page.\n  fetch(swUrl)\n    .then(response => {\n      // Ensure service worker exists, and that we really are getting a JS file.\n      const contentType = response.headers.get('content-type');\n      if (\n        response.status === 404 ||\n        (contentType != null && contentType.indexOf('javascript') === -1)\n      ) {\n        // No service worker found. Probably a different app. Reload the page.\n        navigator.serviceWorker.ready.then(registration => {\n          registration.unregister().then(() => {\n            window.location.reload();\n          });\n        });\n      } else {\n        // Service worker found. Proceed as normal.\n        registerValidSW(swUrl, config);\n      }\n    })\n    .catch(() => {\n      console.log(\n        'No internet connection found. App is running in offline mode.'\n      );\n    });\n}\n\nexport function unregister() {\n  if ('serviceWorker' in navigator) {\n    navigator.serviceWorker.ready.then(registration => {\n      registration.unregister();\n    });\n  }\n}\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport App from './App';\nimport * as serviceWorker from './serviceWorker';\n\nReactDOM.render(<App />, document.getElementById('root'));\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n"],"sourceRoot":""}