{"version":3,"file":"AuthLayout-45bfe01b.js","sources":["../../src/App/layouts/AuthLayout/AuthLayout.tsx"],"sourcesContent":["import React from 'react';\r\nimport { Layout } from 'antd';\r\nimport authStyles from './AuthLayout.module.scss';\r\nimport { inject, provider } from 'react-ioc';\r\nimport { UIStore, SchoolStore } from 'stores';\r\nimport { observer } from 'mobx-react';\r\nimport SchoolLogo from 'App/SchoolLogo/SchoolLogo';\r\nimport { Outlet } from 'react-router-dom';\r\nimport { Localization } from '@axl/accel-framework/utils';\r\nimport { AccelLogo } from '@axl/accel-framework/components';\r\nimport AuthStore from 'views/auth/stores/AuthStore';\r\nimport { AppSettings } from 'models/app-settings';\r\n\r\n@observer\r\n@provider(AuthStore)\r\nexport default class AuthLayout extends React.Component {\r\n @inject(SchoolStore) school: SchoolStore;\r\n @inject(UIStore) uiStore: UIStore;\r\n @inject(Localization) loc: Localization;\r\n @inject(AppSettings) settings: AppSettings;\r\n\r\n render() {\r\n return \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n \r\n\r\n
\r\n

\r\n {this.school.school.name}\r\n

\r\n
\r\n
\r\n \r\n
\r\n {this.settings.style.poweredBy.enabled &&\r\n
\r\n {this.loc.word('School.poweredByLabel', { default: 'Powered by' })}\r\n \r\n {this.settings.style.poweredBy.logoSrc\r\n ? \r\n : }\r\n \r\n
}\r\n
\r\n
\r\n
\r\n
;\r\n }\r\n}"],"names":["AuthLayout","React","jsx","Layout","authStyles","jsxs","SchoolLogo","Outlet","AccelLogo","__decorateClass","inject","SchoolStore","UIStore","Localization","AppSettings","observer","provider","AuthStore"],"mappings":"42BAeqB,IAAAA,EAArB,cAAwCC,EAAM,SAAU,CAMpD,QAAS,CACL,OAAQC,EAAAA,IAAAC,EAAA,CAAO,GAAG,cACd,SAACD,EAAA,IAAA,MAAA,CAAI,UAAW,GAAGE,EAAW,4BAC1B,SAACF,EAAAA,IAAA,MAAA,CAAI,UAAWE,EAAW,YAAa,MAAO,CAAE,MAAO,KAAK,QAA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