{"version":3,"sources":["webpack:///webpack/universalModuleDefinition?5ca6","webpack:/webpack/bootstrap cb7ce29438f2409899c0?6861","webpack:///src/createAutocompleteDataset.js?1b89","webpack:///src/createAutocompleteSource.js?ddf0","webpack:///src/formatHit.js?aa26","webpack:///src/findCountryCode.js?d09b","webpack:///src/findType.js?4fba","webpack:///src/defaultTemplates.js?34d1","webpack:///src/formatInputValue.js?0f7a","webpack:///src/formatDropdownValue.js?9a5f","webpack:///~/insert-css/index.js?f60e"],"names":["root","factory","exports","module","define","amd","this","modules","installedModules","moduleId","id","loaded","createAutocompleteDataset","options","source","_createAutocompleteSource2","_extends","formatInputValue","templates","value","displayKey","name","createAutocompleteSource","_ref","algoliasearch","clientOptions","apiKey","appId","aroundLatLng","aroundRadius","aroundLatLngViaIP","countries","_ref$computeQueryPara","computeQueryParams","undefined","params","_ref$useDeviceLocatio","useDeviceLocation","_ref$language","language","navigator","split","_ref$onHits","onHits","onError","onRateLimitReached","placesClient","initPlaces","defaultQueryParams","hitsPerPage","type","userCoords","geolocation","watchPosition","_ref2","coords","latitude","longitude","query","cb","search","_extends2","_defineProperty","then","content","hits","map","hit","hitIndex","_formatHit2","rawAnswer","e","message","formatHit","locale_names","country","administrative","suggestion","city","countryCode","_findCountryCode2","_tags","_findType2","latlng","lat","_geoloc","lng","postcode","console","error","findCountryCode","tags","tagIndex","length","tag","find","match","findType","typeIndex","types","indexOf","footer","_algolia2","trim","_osm2","_formatInputValue2","out","replace","formatDropdownValue","_highlightResult","icons","address","_address2","_city2","_country2","createStyleElement","styleElement","document","createElement","setAttribute","containers","css","position","prepend","container","querySelector","containerId","push","styleElements","insertBefore","childNodes","appendChild","styleSheet","cssText","textContent"],"mappings":";CACA,SAAAA,EAAAC,GACA,gBAAAC,UAAA,gBAAAC,QACAA,OAAAD,QAAAD,IACA,kBAAAG,SAAAA,OAAAC,IACAD,UAAAH,GACA,gBAAAC,SACAA,QAAA,0BAAAD,IAECD,EAAA,0BAAAC,KACDK,gBCVA,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