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AAItE,EAAI,IAAI2E,MAAM,uBAAyBL,EAAM,KAEjD,MADAtE,EAAE4E,KAAO,mBACH5E,CACP,CACA,OAAOoE,EAAIE,EACZ,CACAD,EAAe5B,KAAO,WACrB,OAAOD,OAAOC,KAAK2B,EACpB,EACAC,EAAe7E,QAAUgF,EACzBK,EAAOC,QAAUT,EACjBA,EAAeE,GAAK,K","sources":["webpack://evalarmjs/../share/app/javascript/components/modal.js","webpack://evalarmjs/../share/app/javascript/services/attach-terms-modal.js","webpack://evalarmjs/../share/app/javascript/services/i18n.js","webpack://evalarmjs/../share/app/javascript/services/validators.js","webpack://evalarmjs/../share/app/javascript/packs/sessions.js","webpack://evalarmjs/./app/javascript/packs/sessions.js","webpack://evalarmjs/../../shared/node_modules/moment/locale/ sync ^\\.\\/.*$"],"sourcesContent":["import ReactDOM from 'react-dom'\nimport { Fragment, PureComponent } from 'react'\n\nexport const ModalHeader = ({ onClose, children }) => (\n \n \n {(children && children !== true) ? {children} : null}\n \n);\n\nclass Modal extends PureComponent {\n static defaultProps = {\n skin: 'default',\n size: 'md',\n header: false\n }\n\n constructor(props) {\n super(props);\n this.el = document.createElement('div');\n document.getElementById('modals').appendChild(this.el);\n }\n\n componentWillUnmount() {\n document.getElementById('modals').removeChild(this.el);\n }\n\n renderContent() {\n return this.props.children;\n }\n\n render() {\n return ReactDOM.createPortal(\n \n \n \n \n {\n this.props.header && (\n \n {this.props.header}\n \n )\n }\n {this.renderContent()}\n \n \n \n \n ,\n this.el\n );\n }\n}\n\nexport const openModal = (render, custom = {}) => new Promise((resolve, reject) => {\n let node = document.createElement('div');\n let onSuccess = (...args) => {\n ReactDOM.unmountComponentAtNode(node);\n resolve(...args);\n };\n let opts = {\n ...custom,\n onSuccess,\n onCancel(...args) {\n ReactDOM.unmountComponentAtNode(node);\n reject(...args);\n },\n onClose: onSuccess\n };\n ReactDOM.render({render(opts)}, node);\n});\n\nexport default Modal;\n","import Modal, { openModal, ModalHeader } from '../components/modal'\nimport { Translate } from '../services/i18n'\n\nexport default node => {\n node.addEventListener('click', e => {\n e.preventDefault();\n openModal(props => (\n \n \n EVALARM\n \n \n \n \n \n \n \n ), { skin: 'terms', size: 'lg' });\n });\n}\n","import { I18n as BaseI18n } from 'react-i18nify'\nexport { Translate } from 'react-i18nify'\n\nBaseI18n.setHandleMissingTranslation((key, replacements) => {\n if (replacements && replacements.fallback) {\n return replacements.fallback(key, replacements);\n } else if (replacements && replacements.default) {\n return replacements.default;\n }\n return key;\n});\n\nexport const I18n = {\n setup(config, translations) {\n this.config = config;\n this.locale = config.current;\n BaseI18n.setTranslations({ [config.current]: translations });\n BaseI18n.setLocale(config.current);\n },\n t: BaseI18n.t.bind(BaseI18n),\n r(model) {\n return BaseI18n.t(`models.${model}.one`);\n },\n rs(model) {\n return BaseI18n.t(`models.${model}.other`);\n },\n rCount(count, model) {\n let parts = this.a('ng_count', model).split(',');\n return `${count} ${parts[count === 1 ? 0 : 1]}`;\n },\n // action on a model\n a(name, model, custom = {}) {\n let args = {\n r: this.r(model).toLowerCase(),\n R: this.r(model),\n rs: this.rs(model).toLowerCase(),\n RS: this.rs(model),\n ...custom\n }\n return BaseI18n.t(`actions.${model}.${name}`, {\n ...args,\n fallback: () => BaseI18n.t(`actions.base.${name}`, args)\n });\n }\n}\n","export const isPresent = value => {\n if(value === undefined || value === null || value === false) return false;\n switch(typeof value) {\n case 'string': return value.trim().length > 0;\n case 'object': return (Array.isArray(value) ? value : Object.keys(value)).length > 0;\n default: return true;\n }\n}\n\nexport const isBlank = value => !isPresent(value);\n\nexport const isEmail = value => /^\\S+@\\S+\\.\\S+$/.test(value);\nexport const checkAttrsPresence = (form, attrs) => attrs.reduce((acc, key) => {\n if (!isPresent(form[key])) {\n acc[key] = true;\n }\n return acc;\n}, {});\n","import { isPresent, isEmail } from '../services/validators'\nimport AttachTermsModal from '../services/attach-terms-modal'\n\nexport default () => {\n let sessionForm = document.querySelector('[role=session-form]');\n let signInBtn = document.querySelector('[role=sign-in]');\n let acceptTerms = document.querySelector('[role=accept-terms]');\n\n if (acceptTerms) {\n acceptTerms.addEventListener('change', () => {\n if (acceptTerms.checked) {\n signInBtn.removeAttribute('disabled');\n } else {\n signInBtn.setAttribute('disabled', 'disabled');\n }\n });\n\n AttachTermsModal(acceptTerms.parentNode.querySelector('a'));\n }\n\n let isValidForm = () => {\n let namespace = sessionForm.querySelector('input[name=namespace]').value;\n let email = sessionForm.querySelector('input[name=email]').value;\n let password = sessionForm.querySelector('input[name=password]').value;\n return isPresent(namespace) &&\n isEmail(email) &&\n isPresent(password) &&\n (!acceptTerms || acceptTerms.checked);\n }\n\n let lockSubmit = true;\n sessionForm.addEventListener('submit', e => {\n if (lockSubmit) {\n e.preventDefault();\n return false;\n }\n });\n\n window.submitForm = () => {\n if (isValidForm()) {\n lockSubmit = false;\n sessionForm.submit();\n }\n }\n\n let getNamespace = () => sessionForm.querySelector('input[name=\"namespace\"]').value.trim().toLowerCase();\n\n let onSignInClick = () => {\n if (window.grecaptcha && !gon.recaptchaWhitelist.includes(getNamespace())) {\n window.grecaptcha.execute();\n } else {\n window.submitForm();\n }\n }\n\n sessionForm.addEventListener('keypress', e => {\n if(e.key === 'Enter') {\n e.preventDefault();\n return false;\n }\n });\n\n signInBtn.addEventListener('click', onSignInClick);\n};\n","import init from 'share/packs/sessions'\n\ninit();\n","var map = {\n\t\"./af\": 59842,\n\t\"./af.js\": 59842,\n\t\"./ar\": 71582,\n\t\"./ar-dz\": 12749,\n\t\"./ar-dz.js\": 12749,\n\t\"./ar-kw\": 77501,\n\t\"./ar-kw.js\": 77501,\n\t\"./ar-ly\": 91884,\n\t\"./ar-ly.js\": 91884,\n\t\"./ar-ma\": 95357,\n\t\"./ar-ma.js\": 95357,\n\t\"./ar-ps\": 7106,\n\t\"./ar-ps.js\": 7106,\n\t\"./ar-sa\": 16679,\n\t\"./ar-sa.js\": 16679,\n\t\"./ar-tn\": 21585,\n\t\"./ar-tn.js\": 21585,\n\t\"./ar.js\": 71582,\n\t\"./az\": 13142,\n\t\"./az.js\": 13142,\n\t\"./be\": 29360,\n\t\"./be.js\": 29360,\n\t\"./bg\": 66138,\n\t\"./bg.js\": 66138,\n\t\"./bm\": 22488,\n\t\"./bm.js\": 22488,\n\t\"./bn\": 85777,\n\t\"./bn-bd\": 35532,\n\t\"./bn-bd.js\": 35532,\n\t\"./bn.js\": 85777,\n\t\"./bo\": 17890,\n\t\"./bo.js\": 17890,\n\t\"./br\": 15733,\n\t\"./br.js\": 15733,\n\t\"./bs\": 87542,\n\t\"./bs.js\": 87542,\n\t\"./ca\": 26645,\n\t\"./ca.js\": 26645,\n\t\"./cs\": 97635,\n\t\"./cs.js\": 97635,\n\t\"./cv\": 40272,\n\t\"./cv.js\": 40272,\n\t\"./cy\": 91149,\n\t\"./cy.js\": 91149,\n\t\"./da\": 21462,\n\t\"./da.js\": 21462,\n\t\"./de\": 37418,\n\t\"./de-at\": 28546,\n\t\"./de-at.js\": 28546,\n\t\"./de-ch\": 87060,\n\t\"./de-ch.js\": 87060,\n\t\"./de.js\": 37418,\n\t\"./dv\": 87431,\n\t\"./dv.js\": 87431,\n\t\"./el\": 25924,\n\t\"./el.js\": 25924,\n\t\"./en-au\": 72765,\n\t\"./en-au.js\": 72765,\n\t\"./en-ca\": 88071,\n\t\"./en-ca.js\": 88071,\n\t\"./en-gb\": 61230,\n\t\"./en-gb.js\": 61230,\n\t\"./en-ie\": 42597,\n\t\"./en-ie.js\": 42597,\n\t\"./en-il\": 43662,\n\t\"./en-il.js\": 43662,\n\t\"./en-in\": 63428,\n\t\"./en-in.js\": 63428,\n\t\"./en-nz\": 84071,\n\t\"./en-nz.js\": 84071,\n\t\"./en-sg\": 66229,\n\t\"./en-sg.js\": 66229,\n\t\"./eo\": 50509,\n\t\"./eo.js\": 50509,\n\t\"./es\": 80153,\n\t\"./es-do\": 85703,\n\t\"./es-do.js\": 85703,\n\t\"./es-mx\": 71707,\n\t\"./es-mx.js\": 71707,\n\t\"./es-us\": 80702,\n\t\"./es-us.js\": 80702,\n\t\"./es.js\": 80153,\n\t\"./et\": 44620,\n\t\"./et.js\": 44620,\n\t\"./eu\": 44883,\n\t\"./eu.js\": 44883,\n\t\"./fa\": 13256,\n\t\"./fa.js\": 13256,\n\t\"./fi\": 9216,\n\t\"./fi.js\": 9216,\n\t\"./fil\": 77126,\n\t\"./fil.js\": 77126,\n\t\"./fo\": 40950,\n\t\"./fo.js\": 40950,\n\t\"./fr\": 22289,\n\t\"./fr-ca\": 14918,\n\t\"./fr-ca.js\": 14918,\n\t\"./fr-ch\": 28077,\n\t\"./fr-ch.js\": 28077,\n\t\"./fr.js\": 22289,\n\t\"./fy\": 39696,\n\t\"./fy.js\": 39696,\n\t\"./ga\": 91889,\n\t\"./ga.js\": 91889,\n\t\"./gd\": 60334,\n\t\"./gd.js\": 60334,\n\t\"./gl\": 28550,\n\t\"./gl.js\": 28550,\n\t\"./gom-deva\": 25975,\n\t\"./gom-deva.js\": 25975,\n\t\"./gom-latn\": 75464,\n\t\"./gom-latn.js\": 75464,\n\t\"./gu\": 97245,\n\t\"./gu.js\": 97245,\n\t\"./he\": 24190,\n\t\"./he.js\": 24190,\n\t\"./hi\": 20842,\n\t\"./hi.js\": 20842,\n\t\"./hr\": 58351,\n\t\"./hr.js\": 58351,\n\t\"./hu\": 77966,\n\t\"./hu.js\": 77966,\n\t\"./hy-am\": 37833,\n\t\"./hy-am.js\": 37833,\n\t\"./id\": 22704,\n\t\"./id.js\": 22704,\n\t\"./is\": 92725,\n\t\"./is.js\": 92725,\n\t\"./it\": 75872,\n\t\"./it-ch\": 59994,\n\t\"./it-ch.js\": 59994,\n\t\"./it.js\": 75872,\n\t\"./ja\": 87284,\n\t\"./ja.js\": 87284,\n\t\"./jv\": 45361,\n\t\"./jv.js\": 45361,\n\t\"./ka\": 76173,\n\t\"./ka.js\": 76173,\n\t\"./kk\": 40131,\n\t\"./kk.js\": 40131,\n\t\"./km\": 91497,\n\t\"./km.js\": 91497,\n\t\"./kn\": 42192,\n\t\"./kn.js\": 42192,\n\t\"./ko\": 82695,\n\t\"./ko.js\": 82695,\n\t\"./ku\": 68129,\n\t\"./ku-kmr\": 42362,\n\t\"./ku-kmr.js\": 42362,\n\t\"./ku.js\": 68129,\n\t\"./ky\": 28565,\n\t\"./ky.js\": 28565,\n\t\"./lb\": 80267,\n\t\"./lb.js\": 80267,\n\t\"./lo\": 5776,\n\t\"./lo.js\": 5776,\n\t\"./lt\": 25825,\n\t\"./lt.js\": 25825,\n\t\"./lv\": 7007,\n\t\"./lv.js\": 7007,\n\t\"./me\": 22395,\n\t\"./me.js\": 22395,\n\t\"./mi\": 92823,\n\t\"./mi.js\": 92823,\n\t\"./mk\": 23385,\n\t\"./mk.js\": 23385,\n\t\"./ml\": 87852,\n\t\"./ml.js\": 87852,\n\t\"./mn\": 34294,\n\t\"./mn.js\": 34294,\n\t\"./mr\": 64642,\n\t\"./mr.js\": 64642,\n\t\"./ms\": 32529,\n\t\"./ms-my\": 67660,\n\t\"./ms-my.js\": 67660,\n\t\"./ms.js\": 32529,\n\t\"./mt\": 69156,\n\t\"./mt.js\": 69156,\n\t\"./my\": 263,\n\t\"./my.js\": 263,\n\t\"./nb\": 12185,\n\t\"./nb.js\": 12185,\n\t\"./ne\": 53356,\n\t\"./ne.js\": 53356,\n\t\"./nl\": 30427,\n\t\"./nl-be\": 99829,\n\t\"./nl-be.js\": 99829,\n\t\"./nl.js\": 30427,\n\t\"./nn\": 94333,\n\t\"./nn.js\": 94333,\n\t\"./oc-lnc\": 51133,\n\t\"./oc-lnc.js\": 51133,\n\t\"./pa-in\": 60504,\n\t\"./pa-in.js\": 60504,\n\t\"./pl\": 18333,\n\t\"./pl.js\": 18333,\n\t\"./pt\": 80357,\n\t\"./pt-br\": 9102,\n\t\"./pt-br.js\": 9102,\n\t\"./pt.js\": 80357,\n\t\"./ro\": 91826,\n\t\"./ro.js\": 91826,\n\t\"./ru\": 56816,\n\t\"./ru.js\": 56816,\n\t\"./sd\": 46842,\n\t\"./sd.js\": 46842,\n\t\"./se\": 1897,\n\t\"./se.js\": 1897,\n\t\"./si\": 86573,\n\t\"./si.js\": 86573,\n\t\"./sk\": 77611,\n\t\"./sk.js\": 77611,\n\t\"./sl\": 34178,\n\t\"./sl.js\": 34178,\n\t\"./sq\": 96437,\n\t\"./sq.js\": 96437,\n\t\"./sr\": 14860,\n\t\"./sr-cyrl\": 91139,\n\t\"./sr-cyrl.js\": 91139,\n\t\"./sr.js\": 14860,\n\t\"./ss\": 80947,\n\t\"./ss.js\": 80947,\n\t\"./sv\": 72640,\n\t\"./sv.js\": 72640,\n\t\"./sw\": 62359,\n\t\"./sw.js\": 62359,\n\t\"./ta\": 87910,\n\t\"./ta.js\": 87910,\n\t\"./te\": 55450,\n\t\"./te.js\": 55450,\n\t\"./tet\": 21660,\n\t\"./tet.js\": 21660,\n\t\"./tg\": 1776,\n\t\"./tg.js\": 1776,\n\t\"./th\": 52653,\n\t\"./th.js\": 52653,\n\t\"./tk\": 70596,\n\t\"./tk.js\": 70596,\n\t\"./tl-ph\": 62458,\n\t\"./tl-ph.js\": 62458,\n\t\"./tlh\": 61749,\n\t\"./tlh.js\": 61749,\n\t\"./tr\": 89555,\n\t\"./tr.js\": 89555,\n\t\"./tzl\": 55255,\n\t\"./tzl.js\": 55255,\n\t\"./tzm\": 65536,\n\t\"./tzm-latn\": 49856,\n\t\"./tzm-latn.js\": 49856,\n\t\"./tzm.js\": 65536,\n\t\"./ug-cn\": 14091,\n\t\"./ug-cn.js\": 14091,\n\t\"./uk\": 46625,\n\t\"./uk.js\": 46625,\n\t\"./ur\": 80762,\n\t\"./ur.js\": 80762,\n\t\"./uz\": 51746,\n\t\"./uz-latn\": 72066,\n\t\"./uz-latn.js\": 72066,\n\t\"./uz.js\": 51746,\n\t\"./vi\": 37616,\n\t\"./vi.js\": 37616,\n\t\"./x-pseudo\": 5636,\n\t\"./x-pseudo.js\": 5636,\n\t\"./yo\": 30561,\n\t\"./yo.js\": 30561,\n\t\"./zh-cn\": 95685,\n\t\"./zh-cn.js\": 95685,\n\t\"./zh-hk\": 50825,\n\t\"./zh-hk.js\": 50825,\n\t\"./zh-mo\": 79356,\n\t\"./zh-mo.js\": 79356,\n\t\"./zh-tw\": 75649,\n\t\"./zh-tw.js\": 75649\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 56469;"],"names":["ModalHeader","onClose","children","React","createElement","Fragment","className","onClick","Modal","PureComponent","static","skin","size","header","constructor","props","super","this","el","document","getElementById","appendChild","componentWillUnmount","removeChild","renderContent","render","ReactDOM","openModal","custom","Promise","resolve","reject","node","onSuccess","args","opts","onCancel","addEventListener","e","preventDefault","Translate","value","src","target","getAttribute","BaseI18n","setHandleMissingTranslation","key","replacements","fallback","default","I18n","setup","config","translations","locale","current","setTranslations","setLocale","t","bind","r","model","rs","rCount","count","a","split","name","toLowerCase","R","RS","isPresent","undefined","trim","length","Array","isArray","Object","keys","isBlank","isEmail","test","sessionForm","querySelector","signInBtn","acceptTerms","checked","removeAttribute","setAttribute","AttachTermsModal","parentNode","lockSubmit","window","submitForm","namespace","email","password","isValidForm","submit","grecaptcha","gon","recaptchaWhitelist","includes","execute","init","map","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","Error","code","module","exports"],"sourceRoot":""}