{"version":3,"sources":["webpack:///./node_modules/eslint-loader/index.js"],"names":["go_to_nomenclature","id","name","Products","Pages","PRODUCT_DETAIL","params","CATALOG"],"mappings":"0GAAA,0EAEaA,EAAqB,SAACC,GACjC,MAAkB,qBAAPA,EACF,CAAEC,KAAMC,cAASC,MAAMC,eAAgBC,OAAQ,CAAEL,OAEnD,CAAEC,KAAMC,cAASC,MAAMG","file":"js/home1156.eb6cc871.js","sourcesContent":["import { Products } from '../../types';\n\nexport const go_to_nomenclature = (id: string | number | undefined) => {\n if (typeof id !== 'undefined') {\n return { name: Products.Pages.PRODUCT_DETAIL, params: { id } };\n }\n return { name: Products.Pages.CATALOG };\n};\n"],"sourceRoot":""}