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gBAELrJ,KAAKwJ,KAEhB,GAGF9H,QAAS,CACP+H,KAAAA,GACEzJ,KAAKa,MAAM6I,OAAOD,OACpB,EAEAE,KAAAA,GACE3J,KAAKa,MAAM6I,OAAOC,OACpB,ICtDJ,OAFiC,E,SAAA,GAAgB,EAAQ,CAAC,CAAC,SDL3D,wCACE7H,EAAAA,EAAAA,IAOS,UAPDG,IAAI,SAASnD,KAAK,SACjB8K,SAAUtH,EAAAgH,eACX5K,MAAM,kBACLuE,QAAKC,EAAA,KAAAA,EAAA,IAJhB2G,EAAAA,EAAAA,KAAAC,GAI0BnH,EAAA3B,MAAM,QAAS8I,IAAM,wBAGxCxH,EAAAiH,YAAU,EAPjB/F,EAAA,I","sources":["webpack://agra/./app/javascript/components/modal.vue","webpack://agra/./app/javascript/components/modal.vue?daec","webpack://agra/./app/javascript/users/sign-in-page.vue","webpack://agra/./app/javascript/users/sign-in-page.vue?8ae9","webpack://agra/./node_modules/lodash/kebabCase.js","webpack://agra/./app/javascript/users/google-sign-in.vue","webpack://agra/./app/javascript/users/google-sign-in.vue?7bc3","webpack://agra/./app/javascript/components/inputs/authenticity-token-field.vue","webpack://agra/./app/javascript/components/inputs/authenticity-token-field.vue?6a8d","webpack://agra/./node_modules/vue-loader/dist/exportHelper.js","webpack://agra/./app/javascript/users/facebook-sign-in.vue","webpack://agra/./app/javascript/users/facebook-sign-in.vue?95ae","webpack://agra/./app/javascript/components/buttons/submit-button.vue","webpack://agra/./app/javascript/components/buttons/submit-button.vue?ffe8"],"sourcesContent":["<template>\n <div :id=\"modalId\" ref=\"root\" tabindex=\"-1\" role=\"dialog\" class=\"modal fade\">\n <div class=\"modal-dialog\" :class=\"modalSizeClass\" role=\"document\">\n <div class=\"modal-content\">\n <div v-if=\"!headerless\" class=\"modal-header\">\n <slot name=\"header\">\n <h4 v-if=\"title\" class=\"modal-title mt-0\">\n <slot name=\"title\">\n {{ title }}\n </slot>\n </h4>\n <button type=\"button\" class=\"btn-close\" :aria-label=\"i18n.t('close')\" @click=\"close\" />\n </slot>\n </div>\n <div class=\"sub-heading\">\n <slot name=\"sub-heading\" />\n </div>\n <div class=\"modal-body\" :class=\"{'paddingless-body': paddinglessBody}\">\n <slot name=\"body\" />\n </div>\n <div v-if=\"hasFooterSlot\" class=\"modal-footer\">\n <slot name=\"footer\" />\n </div>\n </div>\n </div>\n\n <slot name=\"outer-navigation\" />\n </div>\n</template>\n\n<script>\nimport { Modal } from 'bootstrap'\n\nexport default {\n props: {\n modalId: {\n type: String,\n required: true\n },\n title: {\n type: String,\n required: false\n },\n showOnMount: {\n type: Boolean,\n required: false,\n default: false\n },\n size: {\n type: String,\n required: false,\n default: 'lg'\n },\n clickOutsideToClose: {\n type: Boolean,\n required: false,\n default: true\n },\n headerless: {\n type: Boolean,\n required: false,\n default: false\n },\n paddinglessBody: {\n type: Boolean,\n required: false,\n default: false\n }\n },\n\n emits: ['visibility-changed'],\n\n data() {\n return {\n bootstrapModal: null,\n transitionInProgress: false,\n visibility: 'hidden'\n }\n },\n\n computed: {\n backdropSetting() {\n if (this.clickOutsideToClose) {\n return true\n } else {\n return 'static'\n }\n },\n\n hasFooterSlot() {\n return Object.keys(this.$slots).includes('footer')\n },\n\n modalSizeClass() {\n return `modal-${this.size}`\n }\n },\n\n watch: {\n clickOutsideToClose: function() {\n // Update the settings on the live Bootstrap modal to change whether clicks on the backdrop close the modal.\n // This relies on an undocumented internal data structure, and will need to be updated at our next major version\n // upgrade of bootstrap. Unfortunately, there is no supported API for changing this attribute of an already-open\n // modal.\n this.bootstrapModal._config.backdrop = this.backdropSetting\n }\n },\n\n mounted() {\n const vm = this\n const rootElement = this.$refs.root\n\n rootElement.addEventListener('hidden.bs.modal', function () {\n vm.transitionInProgress = false\n vm.visibility = 'hidden'\n vm.$emit('visibility-changed', 'hidden')\n })\n\n rootElement.addEventListener('shown.bs.modal', function () {\n vm.transitionInProgress = false\n vm.visibility = 'shown'\n vm.$emit('visibility-changed', 'shown')\n })\n\n this.bootstrapModal = Modal.getOrCreateInstance(this.$refs.root, {backdrop: this.backdropSetting})\n if (this.showOnMount) {\n this.open()\n }\n },\n\n beforeUnmount() {\n if (this.visibility === 'shown') {\n // When a bootstrap modal opens, it adds `overflow: hidden` and `padding-right: 0px` to the body.\n // Closing the modal normally removes those, but if we open another modal right away, a timing issue\n // can prevent these styles from clearing when we close the second modal; this then\n // prevents the page from scrolling. To avoid this issue, clear the body style ourselves.\n document.body.attributeStyleMap.delete('overflow')\n document.body.attributeStyleMap.delete('padding-right')\n }\n\n // If we call dispose() while there is a hide-modal transition in progress, then the callback at the end of the\n // transition will not be able to complete properly, causing a JS console error.\n if (!this.transitionInProgress) {\n this.bootstrapModal.dispose()\n }\n },\n\n methods: {\n close() {\n this.transitionInProgress = true\n this.bootstrapModal.hide()\n },\n\n open() {\n this.transitionInProgress = true\n this.bootstrapModal.show()\n }\n }\n\n}\n</script>\n\n<style lang=\"scss\" scoped>\n .paddingless-body {\n padding-left: 0;\n padding-right: 0;\n }\n</style>\n\n","import { render } from \"./modal.vue?vue&type=template&id=149afa11&scoped=true\"\nimport script from \"./modal.vue?vue&type=script&lang=js\"\nexport * from \"./modal.vue?vue&type=script&lang=js\"\n\nimport \"./modal.vue?vue&type=style&index=0&id=149afa11&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-149afa11\"]])\n\nexport default __exports__","<template>\n <div class=\"row\">\n <div class=\"col-md-8 offset-md-2 bg-light\">\n <div v-if=\"enableFacebookLogin || enableGoogleLogin\" class=\"row pt-4\">\n <div class=\"col-md-8 offset-md-2 px-3\">\n <facebook-sign-in v-if=\"enableFacebookLogin\" :login-url=\"facebookLoginUrl\" class=\"mb-3\" />\n <google-sign-in v-if=\"enableGoogleLogin\" :login-url=\"googleLoginUrl\" class=\"mb-3\" />\n </div>\n </div>\n\n <sign-in-form :enable-forgot-password=\"enableForgotPassword\"\n :forgot-password-url=\"forgotPasswordUrl\" :organisation-id=\"organisationId\" :sign-in-path=\"signInPath\"\n :submit-button-text=\"signInButtonText\" class=\"px-3 px-md-4\"\n @authenticity-token-updated=\"authenticityTokenUpdated\"\n @authenticated=\"authenticated\" @mfa-setup-required=\"mfaSetupRequired\" @mfa-token-required=\"mfaTokenRequired\"\n @missing-info-required=\"missingInfoRequired\" />\n\n <verify-mfa-token-modal v-if=\"showMfaTokenModal\" v-bind=\"mfaTokenModalProps\"\n @authenticity-token-updated=\"authenticityTokenUpdated\"\n @authenticated=\"authenticated\" @missing-info-required=\"missingInfoRequired\" />\n <missing-info-modal v-if=\"showMissingInfoModal\" v-bind=\"missingInfoModalProps\" @completed=\"missingInfoCompleted\" />\n </div>\n </div>\n</template>\n\n<script>\nimport FacebookSignIn from './facebook-sign-in'\nimport GoogleSignIn from './google-sign-in'\nimport { inject } from 'vue'\nimport MissingInfoModal from './missing-info-modal'\nimport SignInForm from './sign-in-form'\nimport VerifyMfaTokenModal from './verify-mfa-token-modal'\n\nconst DEFAULT_FORGOT_PASSWORD_URL = '/users/password/new'\nconst DEFAULT_SIGN_IN_PATH = '/users/sign_in'\n\nexport default {\n components: { FacebookSignIn, GoogleSignIn, MissingInfoModal, SignInForm, VerifyMfaTokenModal },\n\n props: {\n enableFacebookLogin: {\n type: Boolean,\n required: false,\n default: false\n },\n\n enableForgotPassword: {\n type: Boolean,\n required: false,\n default: true\n },\n\n enableGoogleLogin: {\n type: Boolean,\n required: false,\n default: false\n },\n\n facebookLoginUrl: {\n type: String,\n required: false\n },\n\n forgotPasswordUrl: {\n type: String,\n required: false,\n default: DEFAULT_FORGOT_PASSWORD_URL\n },\n\n googleLoginUrl: {\n type: String,\n required: false\n },\n\n organisationId: {\n type: Number,\n required: true\n },\n\n signInButtonText: {\n type: String,\n required: false,\n default: function() { return inject('i18n').t('member.account.authentication_modal.sign_in_submit') }\n },\n\n signInPath: {\n type: String,\n required: false,\n default: DEFAULT_SIGN_IN_PATH\n }\n },\n\n data() {\n return {\n mfaTokenModalProps: {\n statusCheckPath: null,\n supportsRecoveryCodes: false,\n supportsSms: false,\n tokenHelpText: null,\n userId: null,\n useRecoveryCodePath: null,\n verifyTokenPath: null\n },\n missingInfoModalProps: {\n requiredFields: [],\n additionalFieldConfigs: [],\n euDataProcessingConsentData: {},\n phoneNumberLabel: '',\n postcodeLabel: ''\n },\n showMfaTokenModal: false,\n showMissingInfoModal: false\n }\n },\n\n methods: {\n authenticated({ afterSignInRedirect }) {\n window.location.href = afterSignInRedirect\n },\n\n authenticityTokenUpdated(newAuthenticityToken) {\n const tokenElement = document.querySelector('meta[name=\"csrf-token\"]')\n tokenElement.setAttribute('content', newAuthenticityToken)\n },\n\n mfaSetupRequired({ enableMfaPath }) {\n window.location.href = enableMfaPath\n },\n\n mfaTokenRequired(mfaParameters) {\n this.showMfaTokenModal = true\n this.mfaTokenModalProps = mfaParameters\n },\n\n missingInfoCompleted({ redirectUrl }) {\n this.authenticated({ afterSignInRedirect: redirectUrl })\n },\n\n missingInfoRequired({\n requiredFields, additionalFieldConfigs, euDataProcessingConsentData, phoneNumberLabel, postcodeLabel\n }) {\n this.showMissingInfoModal = true\n this.missingInfoModalProps = { requiredFields, additionalFieldConfigs, euDataProcessingConsentData,\n phoneNumberLabel, postcodeLabel }\n }\n }\n}\n</script>\n","import { render } from \"./sign-in-page.vue?vue&type=template&id=95dc8364\"\nimport script from \"./sign-in-page.vue?vue&type=script&lang=js\"\nexport * from \"./sign-in-page.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","var createCompounder = require('./_createCompounder');\n\n/**\n * Converts `string` to\n * [kebab case](https://en.wikipedia.org/wiki/Letter_case#Special_case_styles).\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category String\n * @param {string} [string=''] The string to convert.\n * @returns {string} Returns the kebab cased string.\n * @example\n *\n * _.kebabCase('Foo Bar');\n * // => 'foo-bar'\n *\n * _.kebabCase('fooBar');\n * // => 'foo-bar'\n *\n * _.kebabCase('__FOO_BAR__');\n * // => 'foo-bar'\n */\nvar kebabCase = createCompounder(function(result, word, index) {\n return result + (index ? '-' : '') + word.toLowerCase();\n});\n\nmodule.exports = kebabCase;\n","<template>\n <form :action=\"loginUrl\" method=\"post\" class=\"d-grid\">\n <authenticity-token-field />\n <button type=\"submit\" class=\"btn btn-light\">\n <img src=\"../images/icons/google-sign-in.svg\">\n <span>{{ i18n.t('users.shared.google_login.sign_in_with_google') }}</span>\n </button>\n </form>\n</template>\n\n<script>\nimport AuthenticityTokenField from '../components/inputs/authenticity-token-field'\n\nexport default {\n components: { AuthenticityTokenField },\n\n props: {\n loginUrl: {\n type: String,\n required: true\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\nbutton {\n text-transform: none;\n height: 50px;\n font-size: 16px;\n font-weight: 500;\n}\n\nimg {\n height: 20px;\n padding-right: 16px;\n margin-top: -2px; // center icon with text\n}\n</style>\n","import { render } from \"./google-sign-in.vue?vue&type=template&id=287396a8&scoped=true\"\nimport script from \"./google-sign-in.vue?vue&type=script&lang=js\"\nexport * from \"./google-sign-in.vue?vue&type=script&lang=js\"\n\nimport \"./google-sign-in.vue?vue&type=style&index=0&id=287396a8&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-287396a8\"]])\n\nexport default __exports__","<template>\n <input type=\"hidden\" name=\"authenticity_token\" :value=\"csrfToken\">\n</template>\n\n<script>\nexport default {\n data() {\n return {\n csrfToken: null\n }\n },\n\n mounted() {\n const tokenElement = document.querySelector('meta[name=\"csrf-token\"]')\n if (tokenElement) {\n this.csrfToken = tokenElement.getAttribute('content')\n }\n }\n}\n</script>\n","import { render } from \"./authenticity-token-field.vue?vue&type=template&id=51a10cfc\"\nimport script from \"./authenticity-token-field.vue?vue&type=script&lang=js\"\nexport * from \"./authenticity-token-field.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// runtime helper for setting properties on components\n// in a tree-shakable way\nexports.default = (sfc, props) => {\n const target = sfc.__vccOpts || sfc;\n for (const [key, val] of props) {\n target[key] = val;\n }\n return target;\n};\n","<template>\n <form :action=\"loginUrl\" method=\"post\" class=\"d-grid\">\n <authenticity-token-field />\n <button type=\"submit\" class=\"btn\">\n <img src=\"../images/icons/facebook.svg\">\n <span>{{ i18n.t('users.shared.facebook_login.log_in_with_facebook') }}</span>\n </button>\n </form>\n</template>\n\n<script>\nimport AuthenticityTokenField from '../components/inputs/authenticity-token-field'\n\nexport default {\n components: { AuthenticityTokenField },\n\n props: {\n loginUrl: {\n type: String,\n required: true\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n$facebook-blue: #1977f2;\n\nbutton {\n background-color: $facebook-blue;\n color: white;\n border-color: $facebook-blue;\n text-transform: none;\n height: 50px;\n font-size: 16px;\n font-weight: 500;\n\n &:hover, &:active, &:focus {\n color: white !important;\n background-color: $facebook-blue !important;\n }\n}\n\nimg {\n height: 20px;\n padding-right: 16px;\n margin-top: -4px; // center icon with text\n}\n</style>\n","import { render } from \"./facebook-sign-in.vue?vue&type=template&id=20b6af62&scoped=true\"\nimport script from \"./facebook-sign-in.vue?vue&type=script&lang=js\"\nexport * from \"./facebook-sign-in.vue?vue&type=script&lang=js\"\n\nimport \"./facebook-sign-in.vue?vue&type=style&index=0&id=20b6af62&lang=scss&scoped=true\"\n\nimport exportComponent from \"../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render],['__scopeId',\"data-v-20b6af62\"]])\n\nexport default __exports__","<template>\n <button ref=\"button\" type=\"submit\"\n :disabled=\"buttonDisabled\"\n class=\"btn btn-primary\"\n @click.prevent=\"$emit('click', $event)\">\n <!-- Q: Why set type=submit if we're going to prevent the default behavior of submitting the form?\n A: Having a submit button at all changes the form behavior by enabling \"Enter to submit\" on text fields -->\n {{ buttonText }}\n </button>\n</template>\n\n<script>\nimport { inject } from 'vue'\nimport PrimaryButton from './primary-button'\n\nexport default {\n extends: PrimaryButton,\n\n props: {\n formValid: {\n type: Boolean,\n required: false,\n default: true\n },\n\n submitInProgress: {\n type: Boolean,\n required: false,\n default: false\n },\n\n submittingLabel: {\n type: String,\n required: false,\n default: function() { return inject('i18n').t('submitting') }\n }\n },\n\n emits: ['click'],\n\n computed: {\n buttonDisabled() {\n return !this.formValid || this.submitInProgress\n },\n\n buttonText() {\n if (this.submitInProgress) {\n return this.submittingLabel\n } else {\n return this.label\n }\n }\n },\n\n methods: {\n click() {\n this.$refs.button.click()\n },\n\n focus() {\n this.$refs.button.focus()\n }\n }\n}\n</script>\n","import { render } from \"./submit-button.vue?vue&type=template&id=4ae84733\"\nimport script from \"./submit-button.vue?vue&type=script&lang=js\"\nexport * from \"./submit-button.vue?vue&type=script&lang=js\"\n\nimport exportComponent from \"../../../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__"],"names":["class","key","props","modalId","type","String","required","title","showOnMount","Boolean","default","size","clickOutsideToClose","headerless","paddinglessBody","emits","data","bootstrapModal","transitionInProgress","visibility","computed","backdropSetting","this","hasFooterSlot","Object","keys","$slots","includes","modalSizeClass","watch","_config","backdrop","mounted","vm","rootElement","$refs","root","addEventListener","$emit","Modal","getOrCreateInstance","open","beforeUnmount","document","body","attributeStyleMap","delete","dispose","methods","close","hide","show","_createElementBlock","id","$props","ref","tabindex","role","_createElementVNode","_normalizeClass","$options","_hoisted_2","_createCommentVNode","_hoisted_3","_renderSlot","_ctx","_hoisted_4","_createTextVNode","_toDisplayString","i18n","t","onClick","_cache","args","_hoisted_5","_hoisted_6","undefined","_hoisted_7","_hoisted_1","components","FacebookSignIn","GoogleSignIn","MissingInfoModal","SignInForm","VerifyMfaTokenModal","enableFacebookLogin","enableForgotPassword","enableGoogleLogin","facebookLoginUrl","forgotPasswordUrl","googleLoginUrl","organisationId","Number","signInButtonText","inject","signInPath","mfaTokenModalProps","statusCheckPath","supportsRecoveryCodes","supportsSms","tokenHelpText","userId","useRecoveryCodePath","verifyTokenPath","missingInfoModalProps","requiredFields","additionalFieldConfigs","euDataProcessingConsentData","phoneNumberLabel","postcodeLabel","showMfaTokenModal","showMissingInfoModal","authenticated","afterSignInRedirect","window","location","href","authenticityTokenUpdated","newAuthenticityToken","querySelector","setAttribute","mfaSetupRequired","enableMfaPath","mfaTokenRequired","mfaParameters","missingInfoCompleted","redirectUrl","missingInfoRequired","_createBlock","_component_facebook_sign_in","_component_google_sign_in","_createVNode","_component_sign_in_form","onAuthenticityTokenUpdated","onAuthenticated","onMfaSetupRequired","onMfaTokenRequired","onMissingInfoRequired","$data","_component_verify_mfa_token_modal","_mergeProps","_component_missing_info_modal","onCompleted","kebabCase","createCompounder","result","word","index","toLowerCase","module","exports","AuthenticityTokenField","loginUrl","action","method","_component_authenticity_token_field","src","_imports_0","csrfToken","tokenElement","getAttribute","name","value","sfc","target","__vccOpts","val","extends","PrimaryButton","formValid","submitInProgress","submittingLabel","buttonDisabled","buttonText","label","click","button","focus","disabled","_withModifiers","$event"],"sourceRoot":""}