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AAAY,OAAA,kBAAAC,GAAA,SCC+C,CAAC,YAAY,oB,wDCPlF,MAAMnB,EAAiB,CAC5B5B,MAAO,CACL2K,aAAc,CACZzK,KAAMC,OACNE,QAAS,IAEXoC,WAAY,CACVvC,KAAMC,OACNE,QAAS,IAEX2G,sBAAuB,CACrB9G,KAAMC,OACNC,UAAU,GAEZwK,QAAS,CACP1K,KAAMC,OACNE,QAAS,eAIbuD,MAAO,CAAC,UAERC,IAAAA,GACE,MAAO,CACLxB,QAAS,8BACTE,MAAO0B,KAAK0G,aAEhB,EAEA5G,SAAU,CACRnB,eAAAA,GACE,YAAmCG,IAA/BkB,KAAK+C,sBACA/C,KAAK+C,sBAEL/C,KAAK6B,KAAKgC,EAAE,mCAEvB,GAGFjC,QAAS,CACP1D,MAAAA,GACE8B,KAAK2B,MAAM,SAAU3B,KAAK1B,MAC5B,G","sources":["webpack://agra/./app/javascript/local-chapters/search-banner.vue","webpack://agra/./app/javascript/local-chapters/search-banner.vue?e34d","webpack://agra/./app/javascript/local/search-bar.vue","webpack://agra/./app/javascript/local/search-bar.vue?ac78","webpack://agra/./app/javascript/components/maplibre-map.vue","webpack://agra/./app/javascript/components/maplibre-map.vue?c361","webpack://agra/./app/javascript/components/header-banner-layout.vue","webpack://agra/./app/javascript/components/header-banner-layout.vue?64e5","webpack://agra/./app/javascript/location-search/location-search-mixin.js","webpack://agra/./app/javascript/location-search/geoip-country-mixin.js","webpack://agra/./app/javascript/components/inputs/locations/location-search.vue","webpack://agra/./app/javascript/components/inputs/locations/location-search.vue?a578","webpack://agra/./node_modules/vue-loader/dist/exportHelper.js","webpack://agra/./app/javascript/components/map-banner.vue","webpack://agra/./app/javascript/components/map-banner.vue?da31","webpack://agra/./app/javascript/location-search/search-bar-mixin.js"],"sourcesContent":["\n\n\n","import { render } from \"./search-banner.vue?vue&type=template&id=00eb2ad0\"\nimport script from \"./search-banner.vue?vue&type=script&lang=js\"\nexport * from \"./search-banner.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__","\n\n\n\n\n","import { render } from \"./search-bar.vue?vue&type=template&id=33abc7c2&scoped=true\"\nimport script from \"./search-bar.vue?vue&type=script&lang=js\"\nexport * from \"./search-bar.vue?vue&type=script&lang=js\"\n\nimport \"./search-bar.vue?vue&type=style&index=0&id=33abc7c2&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-33abc7c2\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./maplibre-map.vue?vue&type=template&id=04adf530&scoped=true\"\nimport script from \"./maplibre-map.vue?vue&type=script&lang=js\"\nexport * from \"./maplibre-map.vue?vue&type=script&lang=js\"\n\nimport \"./maplibre-map.vue?vue&type=style&index=0&id=04adf530&scoped=true&lang=scss\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-04adf530\"]])\n\nexport default __exports__","\n\n\n\n\n","import { render } from \"./header-banner-layout.vue?vue&type=template&id=04d3308e&scoped=true\"\nimport script from \"./header-banner-layout.vue?vue&type=script&lang=js\"\nexport * from \"./header-banner-layout.vue?vue&type=script&lang=js\"\n\nimport \"./header-banner-layout.vue?vue&type=style&index=0&id=04d3308e&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-04d3308e\"]])\n\nexport default __exports__","import GeoipCountryMixin from '@/location-search/geoip-country-mixin'\nimport { nextTick } from 'vue'\n\nexport const locationSearchMixin = {\n mixins: [ GeoipCountryMixin ],\n\n props: {\n customPlaceholderText: {\n type: String,\n required: false\n },\n customSearchButtonText: {\n type: String,\n required: false\n },\n distanceHint: {\n type: String,\n required: false,\n default: ''\n },\n extraParameters: {\n type: Object,\n required: false,\n default: () => ({})\n },\n initialLocationQuery: {\n type: String,\n required: false,\n default: ''\n },\n lookupUrl: {\n type: String,\n required: true\n }\n },\n\n data() {\n return {\n searchQuery: this.initialLocationQuery\n }\n },\n\n computed: {\n extraParameterPairs() {\n return Object.entries(this.extraParameters).map(e => ({name: e[0], value: e[1]}))\n },\n\n searchBiasCountry() {\n return this.agraConfiguration.locationSearchBias.country\n },\n\n searchButtonText() {\n if (this.customSearchButtonText !== undefined) {\n return this.customSearchButtonText\n } else {\n return this.i18n.t('buttons.lookup')\n }\n }\n },\n\n methods: {\n search(query) {\n this.searchQuery = query\n nextTick(() => {\n this.$refs.form.submit()\n })\n }\n }\n}\n","export default {\n computed: {\n geoipEnabled() {\n return !!this.geoipHostname\n },\n\n geoipHostname() {\n return this.agraConfiguration.geoipHostname\n }\n },\n\n created() {\n // Kick off the geoip call that will set agraConfiguration.locationSearchBias.country, which\n // we'll want to pass along with location search requests.\n // Q: What happens if this isn't done by the time the user makes a search request?\n // A: That's fine, it's not a big deal, their search just won't have the country biasing on it.\n if (this.geoipEnabled) {\n this.setLocationSearchBiasCountryFromGeoip()\n }\n },\n\n methods: {\n fetchGeoipInformation() {\n return new Promise((resolve) => {\n // Q: Why not use our ajax helper?\n // A: It runs into a CORS issue trying to make this external request\n fetch(`https://${this.geoipHostname}/geoip`).then((resp) => {\n resp.json().then((jsonResponse) => {\n resolve(jsonResponse)\n })\n })\n })\n },\n\n setLocationSearchBiasCountryFromGeoip() {\n if (!this.agraConfiguration.locationSearchBias.country) {\n this.fetchGeoipInformation().then((jsonResponse) => {\n const countryCode = jsonResponse.country_code.toUpperCase()\n this.agraConfiguration.locationSearchBias.country = countryCode\n })\n }\n }\n }\n}\n","\n\n\n\n\n","import { render } from \"./location-search.vue?vue&type=template&id=3af2ee0f&scoped=true\"\nimport script from \"./location-search.vue?vue&type=script&lang=js\"\nexport * from \"./location-search.vue?vue&type=script&lang=js\"\n\nimport \"./location-search.vue?vue&type=style&index=0&id=3af2ee0f&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-3af2ee0f\"]])\n\nexport default __exports__","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","\n\n\n\n\n","import { render } from \"./map-banner.vue?vue&type=template&id=f31023b8&scoped=true\"\nimport script from \"./map-banner.vue?vue&type=script&lang=js\"\nexport * from \"./map-banner.vue?vue&type=script&lang=js\"\n\nimport \"./map-banner.vue?vue&type=style&index=0&id=f31023b8&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-f31023b8\"]])\n\nexport default __exports__","export const searchBarMixin = {\n props: {\n initialQuery: {\n type: String,\n default: ''\n },\n inputClass: {\n type: String,\n default: ''\n },\n customPlaceholderText: {\n type: String,\n required: false\n },\n variant: {\n type: String,\n default: 'inputGroup'\n }\n },\n\n emits: ['search'],\n\n data() {\n return {\n inputId: 'location-search-query-input',\n query: this.initialQuery\n }\n },\n\n computed: {\n placeholderText() {\n if (this.customPlaceholderText !== undefined) {\n return this.customPlaceholderText\n } else {\n return this.i18n.t('public.local_search.search_label')\n }\n }\n },\n\n methods: {\n search() {\n this.$emit('search', this.query)\n }\n }\n}\n"],"names":["class","components","HeaderBannerLayout","LocationSearch","MapBanner","mixins","GeoipCountryMixin","props","initialLocationQuery","type","String","required","default","locationLookupUrl","locationSearchDistanceHint","mapCenter","Object","mapZoom","Number","title","_createBlock","_component_header_banner_layout","_withCtx","_createVNode","_component_map_banner","$props","content","_createElementVNode","_hoisted_1","_hoisted_2","_hoisted_3","_toDisplayString","_createTextVNode","_component_location_search","_","searchBarMixin","_createElementBlock","onSubmit","_cache","_withModifiers","args","_ctx","search","id","inputId","$event","query","_normalizeClass","inputClass","name","placeholder","placeholderText","_renderSlot","$slots","undefined","bounds","Array","center","lat","lng","initialZoom","mapWrapperId","maxZoom","navigationOptions","showGeolocateControl","Boolean","style","emits","data","map","computed","defaultStyle","this","agraConfiguration","mapTilesProvider","kind","awsRegion","mapOptions","container","transformRequest","mapStyleUrlTransformFunction","zoom","apiKey","clientApiToken","url","urlObj","URL","searchParams","set","toString","mounted","Map","nav","NavigationControl","addControl","geolocate","GeolocateControl","on","setMapLanguage","$emit","methods","i18n","isRtl","setRTLTextPlugin","desiredLanguage","locale","split","layers","getStyle","layoutLayers","filter","layer","layout","includes","setLayoutProperty","labelLayers","dir","$data","locationSearchMixin","customPlaceholderText","customSearchButtonText","distanceHint","extraParameters","lookupUrl","searchQuery","extraParameterPairs","entries","e","value","searchBiasCountry","locationSearchBias","country","searchButtonText","t","nextTick","$refs","form","submit","geoipEnabled","geoipHostname","created","setLocationSearchBiasCountryFromGeoip","fetchGeoipInformation","Promise","resolve","fetch","then","resp","json","jsonResponse","countryCode","country_code","toUpperCase","key","SearchBar","ref","action","method","_Fragment","_renderList","extraParam","_hoisted_4","_createCommentVNode","_component_search_bar","onSearch","_hoisted_5","_hoisted_6","_hoisted_7","exports","sfc","target","__vccOpts","val","MaplibreMap","_component_maplibre_map","showCompass","showZoom","visualizePitch","initialQuery","variant"],"sourceRoot":""}