{"version":3,"file":"mapGenerator.js","sources":["mapGenerator.js.src.js"],"names":["define","$","mapsLoader","getClosestGeoLocation","onMapsResolution","maps","initMapsApi","processInitQueue","initQueue","length","pop","getDefaultOptions","center","google","LatLng","zoom","lat","lng","mapTypeId","MapTypeId","ROADMAP","disableDefaultUI","zoomControl","zoomControlOptions","position","ControlPosition","LEFT_BOTTOM","streetViewControl","streetViewControlOptions","RIGHT_BOTTOM","setMarker","coordinates","safeCoords","parsedCoordinates","this","marker","Marker","map","addAddressLegend","controls","TOP_LEFT","push","getAddressLegend","address","legendDiv","text","css","margin","padding","background","color","border","line-height","get","parseFloat","setMapCenter","setCenter","validCoordinates","drawMapForCoordinates","mapObj","call","drawMap","mapDiv","mapOptions","window","options","extend","Map","getCoordinates","bind","runEditorMode","mapsPromise","loadUsingClient","done","runPublishMode","googleMapsClientId","googleMapsPublishedChannel","googleMapBaseUrl","loadingMode","clientId","channel"],"mappings":"AAAAA,QACE,SACA,wBACA,oCACC,SAAUC,EAAGC,EAAYC,GAK1B,QAASC,GAAkBC,GACzBF,EAAsBG,YAAYD,GAClCE,IAGF,QAASA,KACP,KAAOC,EAAUC,OAAS,GACxBD,EAAUE,QAId,QAASC,KACP,OACEC,OAAQ,GAAIC,QAAOR,KAAKS,OAAO,WAAY,cAC3CC,KAAM,GACNC,IAAK,aACLC,IAAK,eACLC,UAAWL,OAAOR,KAAKc,UAAUC,QAEjCC,kBAAkB,EAElBC,aAAa,EACbC,oBACEC,SAAUX,OAAOR,KAAKoB,gBAAgBC,aAGxCC,mBAAmB,EACnBC,0BACEJ,SAAUX,OAAOR,KAAKoB,gBAAgBI,eAK5C,QAASC,GAAUC,GACjB,GAAIC,GAAaC,EAAkBF,EACnCG,MAAKC,OAAU,GAAItB,QAAOR,KAAK+B,QAC7BC,IAAKH,KAAKG,IACVb,SAAUQ,IAId,QAASM,KACPJ,KAAKG,IACFE,SAAS1B,OAAOR,KAAKoB,gBAAgBe,UACrCC,KAAKC,EAAiBR,KAA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