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5G,IAA9Be,KAAK0F,sBAAoE,OAA9B1F,KAAK0F,sBAC1C1F,KAAK8F,kBAAkBC,2BAExB/F,KAAK0F,oBAEhB,EAIAX,oBAAAA,GACE,OAAO/E,KAAK4F,YAAYrF,QAAOyF,IAAMhG,KAAKgE,cAAciC,SAASD,EAAExI,OACrE,GAGFmH,OAAAA,GACE3E,KAAK4E,OAAOC,OAAO,0BAA2B7E,KAAK6F,+BACnD7F,KAAK4E,OAAOC,OAAO,0BAA2B7E,KAAK2F,qBACrD,GCnDF,OAFiC,E,SAAA,GAAgB,EAAQ,CAAC,CAAC,S,uEDJzD1E,EAAAA,EAAAA,IAQaiF,EAAA,CARDC,IAAI,OACH,uBAAsB1H,EAAAuD,mBACtB,mBAAkBvD,EAAAkE,eAClB,2BAA0BlE,EAAAyE,uBAC1BQ,WAAUjF,EAAAiF,YAAAA,CACV,kBAAcrC,EAAAA,EAAAA,KACvB,IAA8B,EAA9BtC,EAAAA,EAAAA,IAA8BN,EAAAO,OAAA,qBAPpCyC,EAAA,6F","sources":["webpack://agra/./app/javascript/local/local-list.vue","webpack://agra/./app/javascript/local/type-filter.vue","webpack://agra/./app/javascript/local/type-filter-button.vue","webpack://agra/./app/javascript/local/type-filter-button.vue?66ba","webpack://agra/./app/javascript/local/type-filter.vue?ef2e","webpack://agra/./app/javascript/local/local-list.vue?6036","webpack://agra/./app/javascript/local/with-local-list-mixin.js","webpack://agra/./app/javascript/local/embeddable-list.vue","webpack://agra/./app/javascript/local/embeddable-list.vue?4ad8"],"sourcesContent":["\n\n\n\n\n","\n\n\n\n\n","\n\n\n\n\n","import { render } from \"./type-filter-button.vue?vue&type=template&id=6ab363a9&scoped=true\"\nimport script from \"./type-filter-button.vue?vue&type=script&lang=js\"\nexport * from \"./type-filter-button.vue?vue&type=script&lang=js\"\n\nimport \"./type-filter-button.vue?vue&type=style&index=0&id=6ab363a9&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-6ab363a9\"]])\n\nexport default __exports__","import { render } from \"./type-filter.vue?vue&type=template&id=64cc83ec&scoped=true\"\nimport script from \"./type-filter.vue?vue&type=script&lang=js\"\nexport * from \"./type-filter.vue?vue&type=script&lang=js\"\n\nimport \"./type-filter.vue?vue&type=style&index=0&id=64cc83ec&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-64cc83ec\"]])\n\nexport default __exports__","import { render } from \"./local-list.vue?vue&type=template&id=0a00e174&scoped=true\"\nimport script from \"./local-list.vue?vue&type=script&lang=js\"\nexport * from \"./local-list.vue?vue&type=script&lang=js\"\n\nimport \"./local-list.vue?vue&type=style&index=0&id=0a00e174&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-0a00e174\"]])\n\nexport default __exports__","import {\n FILTER_KEY_CALENDARS,\n FILTER_KEY_EVENT_TYPES,\n FILTER_KEY_GEOGRAPHY_SLUGS,\n FILTER_KEY_INCLUDE_VIRTUAL,\n FILTER_KEY_LABELS,\n FILTER_KEY_LOCATION,\n FILTER_KEY_REGIONS,\n FILTER_KEY_START_DATE_RANGE,\n FILTER_KEY_TYPES,\n FILTER_KEY_UPCOMING_ONLY\n} from './filter-keys'\n\nexport const withLocalListMixin = {\n props: {\n filterOptions: {\n type: Object,\n required: true\n },\n includeSearchField: {\n type: Boolean,\n required: false,\n default: true\n },\n showEventTypeFilter: {\n type: Boolean,\n required: true\n },\n showLabelFilter: {\n type: Boolean,\n required: true\n },\n showRegionFilter: {\n type: Boolean,\n required: true\n },\n showTypeFilter: {\n type: Boolean,\n required: true\n }\n },\n\n data() {\n return {\n urlFilterKeys: [FILTER_KEY_CALENDARS, FILTER_KEY_EVENT_TYPES, FILTER_KEY_GEOGRAPHY_SLUGS, FILTER_KEY_INCLUDE_VIRTUAL,\n FILTER_KEY_LABELS, FILTER_KEY_LOCATION, FILTER_KEY_REGIONS, FILTER_KEY_START_DATE_RANGE,\n FILTER_KEY_TYPES, FILTER_KEY_UPCOMING_ONLY]\n }\n },\n\n created() {\n this.$store.commit('setUrlFilterKeys', this.urlFilterKeys)\n this.$store.commit('setSearchStrategy', this.searchStrategy)\n this.$store.commit('setOptionsFromUrlAndFilters', this.propFiltersNotForUrl)\n this.$store.commit('setFilterOptions', this.filterOptions)\n this.$store.dispatch('loadDataFromUrl')\n },\n\n computed: {\n allowedAdvancedFilters() {\n const allowed = [FILTER_KEY_INCLUDE_VIRTUAL, FILTER_KEY_START_DATE_RANGE]\n\n if (this.showEventTypeFilter) {\n allowed.push(FILTER_KEY_EVENT_TYPES)\n }\n\n if (this.showLabelFilter) {\n allowed.push(FILTER_KEY_LABELS)\n }\n\n if (this.showRegionFilter) {\n allowed.push(FILTER_KEY_REGIONS)\n }\n\n return allowed\n }\n },\n\n methods: {\n onPaginate() {\n this.$refs.list.$el.scrollTop = 0\n }\n }\n}\n","\n\n\n","import { render } from \"./embeddable-list.vue?vue&type=template&id=3555871a\"\nimport script from \"./embeddable-list.vue?vue&type=script&lang=js\"\nexport * from \"./embeddable-list.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","props","active","type","Boolean","required","colorIndex","Number","default","emits","ALL_TYPES","TYPE_TO_I18N_KEY_MAP","event","group","components","TypeFilterButton","_createElementBlock","role","_normalizeClass","$props","_ctx","classFromColorIndex","onClick","_cache","$event","$emit","_renderSlot","$slots","undefined","initialTypes","Array","data","typeConfigs","map","typeName","key","labelKey","computed","displayStatusByType","typesArray","obj","forEach","typesArrayToObject","this","methods","toggle","newTypesObject","some","Object","entries","filter","_k","v","k","_v","_hoisted_1","_Fragment","_renderList","$data","t","_createBlock","_component_TypeFilterButton","colorIndexForType","$options","_withCtx","_createTextVNode","_toDisplayString","i18n","_","AdvancedFiltersSection","LocationList","SearchBar","TypeFilter","mixins","localListMixin","includeSearchField","mapState","_createElementVNode","_hoisted_2","_component_search_bar","locationQuery","onSearch","applyLocationFilter","title","_hoisted_3","_createCommentVNode","showTypeFilter","_component_TypeFilter","typeQuery","onChange","applyTypeFilter","showAdvancedFilters","_component_advanced_filters_section","allowedAdvancedFilters","applyAdvancedFilterChange","_createVNode","_component_location_list","translucent","isLoadingList","locations","detailedLocations","onPaginate","withLocalListMixin","filterOptions","showEventTypeFilter","showLabelFilter","showRegionFilter","urlFilterKeys","FILTER_KEY_CALENDARS","FILTER_KEY_EVENT_TYPES","FILTER_KEY_GEOGRAPHY_SLUGS","FILTER_KEY_INCLUDE_VIRTUAL","FILTER_KEY_LABELS","FILTER_KEY_LOCATION","FILTER_KEY_REGIONS","FILTER_KEY_START_DATE_RANGE","FILTER_KEY_TYPES","FILTER_KEY_UPCOMING_ONLY","created","$store","commit","searchStrategy","propFiltersNotForUrl","dispatch","allowed","push","$refs","list","$el","scrollTop","LocalList","GeoipCountryMixin","sharedMapPropsMixin","eventCreationAllowed","groupCreationAllowed","propFilters","eventCreationAllowedOrDefault","agraConfiguration","disablePublicEventCreation","f","includes","_component_local_list","ref"],"sourceRoot":""}