| Current Path : /var/www/homesaver/www/bitrix/modules/location/install/js/location/source/dist/ |
| Current File : /var/www/homesaver/www/bitrix/modules/location/install/js/location/source/dist/source.bundle.js.map |
{"version":3,"file":"source.bundle.js","sources":["../src/factory.js"],"sourcesContent":["import { BaseSource } from 'location.core';\nimport { Google } from 'location.google';\nimport { OSM, OSMFactory } from 'location.osm';\n\nexport class Factory\n{\n\tstatic create(code: string, languageId: string, sourceLanguageId: string, sourceProps = {}): ?BaseSource\n\t{\n\t\tconst props = sourceProps;\n\t\tprops.languageId = languageId;\n\t\tprops.sourceLanguageId = sourceLanguageId;\n\n\t\tif (code === Google.code)\n\t\t{\n\t\t\treturn new Google(props);\n\t\t}\n\t\telse if (code === OSM.code)\n\t\t{\n\t\t\treturn OSMFactory.createOSMSource(props);\n\t\t}\n\n\t\treturn null;\n\t}\n}\n"],"names":["Factory","create","code","languageId","sourceLanguageId","sourceProps","props","Google","OSM","OSMFactory","createOSMSource"],"mappings":";;;;;CAIO,MAAMA,OAAO,CACpB;GACC,OAAOC,MAAM,CAACC,IAAY,EAAEC,UAAkB,EAAEC,gBAAwB,EAAEC,WAAW,GAAG,EAAE,EAC1F;KACC,MAAMC,KAAK,GAAGD,WAAW;KACzBC,KAAK,CAACH,UAAU,GAAGA,UAAU;KAC7BG,KAAK,CAACF,gBAAgB,GAAGA,gBAAgB;KAEzC,IAAIF,IAAI,KAAKK,sBAAM,CAACL,IAAI,EACxB;OACC,OAAO,IAAIK,sBAAM,CAACD,KAAK,CAAC;MACxB,MACI,IAAIJ,IAAI,KAAKM,gBAAG,CAACN,IAAI,EAC1B;OACC,OAAOO,uBAAU,CAACC,eAAe,CAACJ,KAAK,CAAC;;KAGzC,OAAO,IAAI;;CAEb;;;;;;;;"}