{ "version": 3, "sources": ["../../src/modern/redux/middleware/langMiddleware.js"], "sourcesContent": ["export default store => next => action => {\n const project = store.getState().project\n\n const projectLang = (project && project.model && project.model.props && project.model.props.lang) || 'en'\n\n return next({\n ...action,\n config: { ...store.getState().config, projectLang }\n })\n}\n"], "mappings": "oEAAAA,IAAAC,IAAA,IAAOC,EAAQC,GAASC,GAAQC,GAAU,CACxC,IAAMC,EAAUH,EAAM,SAAS,EAAE,QAE3BI,EAAeD,GAAWA,EAAQ,OAASA,EAAQ,MAAM,OAASA,EAAQ,MAAM,MAAM,MAAS,KAErG,OAAOF,EAAKI,EAAAC,EAAA,GACPJ,GADO,CAEV,OAAQG,EAAAC,EAAA,GAAKN,EAAM,SAAS,EAAE,QAAtB,CAA8B,YAAAI,CAAY,EACpD,EAAC,CACH", "names": ["init_define_process_env", "init_sentry_release_injection_stub", "langMiddleware_default", "store", "next", "action", "project", "projectLang", "__spreadProps", "__spreadValues"] }