{"version":3,"sources":["webpack:///./src/mixins/breadcrumbMixinFactory.js","webpack:///./src/views/reports/ReportCenter.vue?33b8","webpack:///./src/components/page-components/PageBody.vue?fb76","webpack:///src/components/page-components/PageBody.vue","webpack:///./src/components/page-components/PageBody.vue?7a6e","webpack:///./src/components/page-components/PageBody.vue","webpack:///./src/components/SecurityBanner.vue?2715","webpack:///./src/mixins/securityMixin.js","webpack:///./src/assets/svgs/badge.vue?53a4","webpack:///./src/assets/svgs/badge.vue","webpack:///./src/views/reports/ReportCenter.vue?8859","webpack:///src/views/reports/ReportCenter.vue","webpack:///./src/views/reports/ReportCenter.vue?fceb","webpack:///./src/views/reports/ReportCenter.vue","webpack:///./src/components/page-components/PageFooter.vue?8bfa","webpack:///src/components/page-components/PageFooter.vue","webpack:///./src/components/page-components/PageFooter.vue?1327","webpack:///./src/components/page-components/PageFooter.vue","webpack:///./src/components/SecurityBanner.vue?886b","webpack:///src/components/SecurityBanner.vue","webpack:///./src/components/SecurityBanner.vue?f084","webpack:///./src/components/SecurityBanner.vue","webpack:///./src/components/page-components/PageHeader.vue?7f40","webpack:///src/components/page-components/PageHeader.vue","webpack:///./src/components/page-components/PageHeader.vue?9c14","webpack:///./src/components/page-components/PageHeader.vue"],"names":["breadcrumbFactory","build","accessRequirements","fallbackParent","breadcrumb","isInMenu","this","$store","getters","hasAccess","every","parent","stateBreadcrumbMixin","countryBreadcrumbMixin","render","_vm","_h","$createElement","_c","_self","staticClass","class","bg","_t","staticRenderFns","props","Boolean","component","securityMixin","methods","mapActions","setLoadingStatus","inSuperRole","role","constantData","super_roles","map","sr","key","includes","determineAccessibility","ctl","profile","camp_match","country_match","region_match","state_match","super_match","userLogin","croles","filter","sf","rle_key","iCanSee","length","controlPermissions","cpf","vcxr_ctl_key","rl","role_find","find","cf","vcxr_rle_key","vogs_org_type","individualProfile","camp_number","campnumber","officerToolbarSelected","camp_name","campname","substr","membertype","toLowerCase","region_1_key","region_2_key","conversationsICanSee","ctrl","foundInInstructorsAndEus","instructors_and_eus","findIndex","ieu","ind_key","demograph","computed","mapGetters","userSelectedIndividualKey","userLanguageKey","staticStyle","attrs","script","_v","_s","translations","tcReportCenter","allowPage","_e","components","tcTemporarilyChangeCamps","on","$event","page_load","_l","category","ind","reportFields","translated_reports_list","rpt","Parent_rpc_key","addItems","translateSection","ParentCategory","openSection","$route","path","split","hideCondition","name","mixins","data","secured_controls","view_country_member_list_report","view_secure_reports_section","view_909_secure_reports","view_committee_reports_section","country_member_list_report","fields","hiddenItems","display","report_categories","reports_list","items","is_country_member_list_accessible","is_909_accessible","translateReportNames","display_text","newItem","hideSection","loadTranslations","tcChurchReports","tcCommitteeReports","tcGideonCardsReports","tcMembershipReports","tcMonthlyCampReports","tcProspectReports","tcScriptureDistributionsReports","tcSecureReports","tcStateOrCountryReports","tcStateReports","tcCountryReports","rpt_type","reportCategoryList","findex","CampSelector","CampSelect","DataTable","pageBody","pageFooter","pageHeader","securityBanner","SecurityBanner","ToggleArrow","classes","Array","i18n","tcRequiresAdditionalSecurityPermissions","type","Object","default","badge"],"mappings":"kHAAA,oEAKO,IAAMA,EAAoB,CAC/BC,MAD+B,WAC0B,IAAlDC,EAAkD,uDAA7B,GAAIC,EAAyB,uDAAR,OAC/C,MAAO,CACLC,WADK,WAEH,IAAMC,EAAWC,KAAKC,OAAOC,QAAQ,iBAC/BC,EAAYP,EAAmBQ,MAAML,GAC3C,OAAOI,EAAY,GAAK,CAAEE,OAAQR,OAO7BS,EAAuBZ,EAAkBC,MAAM,CAAC,sCAChDY,EAAyBb,EAAkBC,MAAM,CAAC,yC,kCCnB/D,W,oCCAA,IAAIa,EAAS,WAAa,IAAIC,EAAIT,KAASU,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,sBAAsBC,MAAM,CAAE,WAAWN,EAAIO,KAAO,CAACP,EAAIQ,GAAG,YAAY,IAC1LC,EAAkB,GCOtB,GACEC,MAAO,CAC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E,2CCnBf,IAAIb,EAAS,WAAa,IAAIC,EAAIT,KAASU,EAAGD,EAAIE,eAAmBC,EAAGH,EAAII,MAAMD,IAAIF,EAAG,OAAOE,EAAG,SAAS,CAACE,YAAY,wBAAwBC,MAAM,IAAI,CAACN,EAAIQ,GAAG,YAAY,IAC3KC,EAAkB,GCOtB,GACEC,MAAO,CACLwI,QAASC,QCVsV,I,YCO/VvI,EAAY,eACd,EACAb,EACAU,GACA,EACA,KACA,KACA,MAIa,OAAAG,E","file":"js/chunk-507cda36.4241ca1f.js","sourcesContent":["/*\nBreadcrumb factory can build mixins which will check a list of specified paths to see if a\nlogged in user has access. If the user does not have access to all paths, the breadcrumb\nparent will fall back to the path specified\n*/\nexport const breadcrumbFactory = {\n build (accessRequirements = [], fallbackParent = 'Home') {\n return {\n breadcrumb () {\n const isInMenu = this.$store.getters['menu/isInMenu']\n const hasAccess = accessRequirements.every(isInMenu)\n return hasAccess ? {} : { parent: fallbackParent }\n }\n }\n }\n}\n\n// Build and export any needed breadcrumb mixins below to check user has access to routes\nexport const stateBreadcrumbMixin = breadcrumbFactory.build(['/officers/page/state-landing-page'])\nexport const countryBreadcrumbMixin = breadcrumbFactory.build(['/officers/page/country-landing-page'])\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportCenter.vue?vue&type=style&index=0&id=bfacb006&prod&lang=scss&\"","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"page-body container\",class:{ 'bg-block':_vm.bg }},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PageBody.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PageBody.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PageBody.vue?vue&type=template&id=7425564e&\"\nimport script from \"./PageBody.vue?vue&type=script&lang=js&\"\nexport * from \"./PageBody.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SecurityBanner.vue?vue&type=style&index=0&id=06f84d18&prod&lang=css&\"","/* eslint-disable */\nimport constantData from '@/json/data.json'\nimport { mapActions, mapGetters } from 'vuex'\n\nexport const securityMixin = {\n methods: {\n ...mapActions({\n setLoadingStatus: 'menu/setLoadingStatus'\n }),\n inSuperRole(role) {\n return constantData.super_roles.map(sr => sr.key).includes(role)\n },\n determineAccessibility(ctl, profile = false) {\n let camp_match = false\n let country_match = false\n let region_match = false\n let state_match = false\n let super_match = this.userLogin.croles.filter(sf => this.inSuperRole(sf.rle_key) && this.iCanSee(ctl)).length > 0\n if (!super_match) {\n this.controlPermissions\n .filter(cpf => cpf.vcxr_ctl_key === ctl)\n .map(rl => {\n let role_find = this.userLogin.croles.find(cf => cf.rle_key === rl.vcxr_rle_key)\n if (!!role_find) {\n if (!camp_match) {\n if (profile) {\n camp_match =\n rl.vogs_org_type === 'Camp' &&\n !!this.individualProfile &&\n !!this.individualProfile.camp_number &&\n this.individualProfile.camp_number === this.userLogin.campnumber\n } else {\n camp_match =\n rl.vogs_org_type === 'Camp' &&\n (!!this.officerToolbarSelected.camp_name\n ? this.officerToolbarSelected.camp_name === this.userLogin.campname\n : this.officerToolbarSelected.camp_number === this.userLogin.campnumber)\n }\n }\n if (!state_match) {\n if (profile) {\n state_match =\n rl.vogs_org_type === 'State' &&\n !!this.individualProfile &&\n !!this.individualProfile.camp_number &&\n this.individualProfile.camp_number.substr(0, 3) === this.userLogin.campnumber.substr(0, 3)\n } else {\n state_match =\n rl.vogs_org_type === 'State' &&\n this.officerToolbarSelected.camp_number.substr(0, 3) === this.userLogin.campnumber.substr(0, 3)\n }\n }\n if (!country_match) {\n if (profile) {\n country_match =\n rl.vogs_org_type === 'Country' &&\n ['icc', 'ioc'].includes(this.userLogin.membertype.toLowerCase()) &&\n !!this.individualProfile &&\n !!this.individualProfile.camp_number &&\n this.individualProfile.camp_number.substr(0, 3) === this.userLogin.campnumber.substr(0, 3)\n } else {\n country_match =\n rl.vogs_org_type === 'Country' &&\n this.userLogin.membertype.toLowerCase() === 'ioc' &&\n this.officerToolbarSelected.camp_number.substr(0, 3) === this.userLogin.campnumber.substr(0, 3)\n }\n }\n if (!region_match) {\n region_match =\n rl.vcxr_rle_key === constantData.region_1_key || rl.vcxr_rle_key === constantData.region_2_key\n }\n }\n })\n return state_match === true || country_match === true || camp_match === true || region_match === true\n } else {\n // super roles exceptions were made in the API\n return true\n } // clear out state.control_permissions\n },\n // this is a special case for conversations that augments the ICanSee() method\n conversationsICanSee(ctrl) {\n let foundInInstructorsAndEus = this.instructors_and_eus.findIndex(ieu => ieu.ind_key === this.demograph.ind_key) > -1\n if (foundInInstructorsAndEus) {\n return true\n }\n if (!ctrl) {\n return false\n }\n this.iCanSee(ctrl)\n return this.iCanSee(ctrl)\n }\n },\n computed: {\n ...mapGetters({\n controlPermissions: 'user/controlPermissions',\n instructors_and_eus: 'conversations/instructors_and_eus',\n demograph: 'user/demograph',\n iCanSee: 'user/iCanSee',\n individualProfile: 'membership/individualProfileHeader',\n officerToolbarSelected: 'user/officerToolbarSelected',\n userSelectedIndividualKey: 'user/userSelectedIndividualKey',\n userLanguageKey: 'user/userLanguageKey'\n }),\n }\n}\n\nexport default securityMixin\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('svg',{staticStyle:{\"height\":\"64px\",\"width\":\"64px\",\"enable-background\":\"new 0 0 347.971 347.971\"},attrs:{\"version\":\"1.1\",\"id\":\"Capa_1\",\"xmlns\":\"http://www.w3.org/2000/svg\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"x\":\"0px\",\"y\":\"0px\",\"viewBox\":\"0 0 347.971 347.971\",\"xml:space\":\"preserve\"}},[_c('path',{attrs:{\"fill\":\"#fff816\",\"d\":\"M317.309,54.367C257.933,54.367,212.445,37.403,173.98,0C135.519,37.403,90.033,54.367,30.662,54.367\\nc0,97.405-20.155,236.937,143.317,293.604C337.463,291.305,317.309,151.773,317.309,54.367z M162.107,225.773l-47.749-47.756\\nl21.379-21.378l26.37,26.376l50.121-50.122l21.378,21.378L162.107,225.773z\"}}),_c('g'),_c('g'),_c('g'),_c('g'),_c('g'),_c('g'),_c('g'),_c('g'),_c('g'),_c('g'),_c('g'),_c('g'),_c('g'),_c('g'),_c('g')])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./badge.vue?vue&type=template&id=06317d38&\"\nvar script = {}\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"church-members-friends template-1\"},[_c('page-header',{staticClass:\"mx-lg\"},[_c('h1',[_vm._v(_vm._s(_vm.translations.tcReportCenter))])]),(!_vm.allowPage)?_c('security-banner',{attrs:{\"i18n\":_vm.translations.components}}):_vm._e(),(_vm.allowPage)?_c('div',[_c('camp-selector',{attrs:{\"tooltip\":_vm.translations.tcTemporarilyChangeCamps,\"i18n\":_vm.translations.components},on:{\"camp_changed\":function($event){return _vm.page_load($event)}}}),_c('page-body',{staticClass:\"mx-lg\"},_vm._l((_vm.reportCategoryList),function(category,ind){return _c('data-table',{key:ind,attrs:{\"i18n\":_vm.translations.components,\"fields\":_vm.reportFields,\"items\":_vm.translated_reports_list.filter(function (rpt) {\n return rpt.Parent_rpc_key === category.Parent_rpc_key\n }),\"searchTerm\":\"reportsTerm\",\"addItems\":_vm.addItems,\"title\":_vm.translateSection(category.ParentCategory),\"toggle\":true,\"toggleMe\":_vm.openSection(category.ParentCategory) === _vm.$route.path.split('/')[3],\"hideHeader\":true,\"hideMe\":_vm.hideCondition(category)}})}),1)],1):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportCenter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ReportCenter.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./ReportCenter.vue?vue&type=template&id=bfacb006&\"\nimport script from \"./ReportCenter.vue?vue&type=script&lang=js&\"\nexport * from \"./ReportCenter.vue?vue&type=script&lang=js&\"\nimport style0 from \"./ReportCenter.vue?vue&type=style&index=0&id=bfacb006&prod&lang=scss&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('footer',{staticClass:\"page-footer container\",class:{}},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PageFooter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PageFooter.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PageFooter.vue?vue&type=template&id=7d8001bb&\"\nimport script from \"./PageFooter.vue?vue&type=script&lang=js&\"\nexport * from \"./PageFooter.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"security_banner\"},[_c('badge'),_vm._v(\" \"+_vm._s(_vm.i18n['security-banner'].tcRequiresAdditionalSecurityPermissions)+\" \")],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SecurityBanner.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SecurityBanner.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SecurityBanner.vue?vue&type=template&id=06f84d18&\"\nimport script from \"./SecurityBanner.vue?vue&type=script&lang=js&\"\nexport * from \"./SecurityBanner.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SecurityBanner.vue?vue&type=style&index=0&id=06f84d18&prod&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('header',{staticClass:\"page-header container\",class:{}},[_vm._t(\"default\")],2)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PageHeader.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PageHeader.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./PageHeader.vue?vue&type=template&id=bd6fefa6&\"\nimport script from \"./PageHeader.vue?vue&type=script&lang=js&\"\nexport * from \"./PageHeader.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}