1import{a as c,b as p}from"./chunk-YW2Q6V7D.js";import{w as n}from"./chunk-QUQWZLAJ.js";import{d as a,ia as s,la as e,ud as r}from"./chunk-7DG6PUWZ.js";var f={apikey:"",lang:"ru_RU"},g=(()=>{class o{constructor(i,t){this.http=i,this.storage=t}init(i=!1){return a(this,null,function*(){let t=yield this.fetchConfiguration(i);t&&t.success&&t.payload&&(this.storage.setConfiguration(t.payload),f.apikey=t.payload.yandexMaps.apiKey,f.lang=t.payload.yandexMaps.locale)})}fetchConfiguration(i){return a(this,null,function*(){return this.http.get("/api/configuration"+(i?"?forced":"")).toPromise().then(t=>c(t)).catch(t=>p(t))})}static{this.\u0275fac=function(t){return new(t||o)(e(r),e(n))}}static{this.\u0275prov=s({token:o,factory:o.\u0275fac})}}return o})();export{f as a,g as b};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.