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AAA1D,aAC/E+L,SALVO,EAAAA,EAAAA,KAAAC,GAKyBjJ,EAAA/B,MAAM,SAAUwI,EAAOlN,QAAK,uBAC1CkN,EAAO5J,OAAK,GANvBiD,QAAA,W","sources":["webpack://agra/./app/javascript/campaign-form-shared/field-mixin.js","webpack://agra/./app/javascript/campaign-form-shared/authenticate-to-publish-modal.vue","webpack://agra/./app/javascript/users/authentication-modal.vue","webpack://agra/./app/javascript/users/authentication-modal.vue?8a71","webpack://agra/./app/javascript/campaign-form-shared/authenticate-to-publish-modal.vue?dfeb","webpack://agra/./app/javascript/campaign-form-shared/awaiting-approval-modal.vue","webpack://agra/./app/javascript/campaign-form-shared/awaiting-approval-modal.vue?22b6","webpack://agra/./app/javascript/campaign-form-shared/campaign-association-field.vue","webpack://agra/./app/javascript/campaign-form-shared/campaign-association-field.vue?5885","webpack://agra/./app/javascript/campaign-form-shared/field-layout.vue","webpack://agra/./app/javascript/campaign-form-shared/field-help.vue","webpack://agra/./app/javascript/campaign-form-shared/field-help.vue?3673","webpack://agra/./app/javascript/campaign-form-shared/field-layout.vue?5c6e","webpack://agra/./app/javascript/campaign-form-shared/form-row.vue","webpack://agra/./app/javascript/campaign-form-shared/form-row.vue?3f1e","webpack://agra/./app/javascript/campaign-form-shared/partnership-field.vue","webpack://agra/./app/javascript/campaign-form-shared/partnership-field.vue?3499","webpack://agra/./app/javascript/campaign-form-shared/rich-text-field.vue","webpack://agra/./app/javascript/campaign-form-shared/rich-text-field.vue?529c","webpack://agra/./app/javascript/campaign-form-shared/string-field.vue","webpack://agra/./app/javascript/campaign-form-shared/string-field.vue?9fc3","webpack://agra/./app/javascript/components/inputs/toggle.vue","webpack://agra/./app/javascript/components/inputs/toggle.vue?1fd9","webpack://agra/./app/javascript/components/tabs.vue","webpack://agra/./app/javascript/components/tabs.vue?49aa"],"sourcesContent":["import { mapState } from 'vuex'\nimport camelCase from 'lodash/camelCase'\n\nexport default {\n props: {\n field: {\n type: String,\n required: true\n }\n },\n\n computed: {\n ...mapState({\n contentByField: 'content',\n helpRequested: 'helpRequested',\n fieldToShowRequestHelpPrompt: 'fieldToShowRequestHelpPrompt',\n requestHelpUrl: 'requestHelpUrl',\n validationErrorsByField: 'validationErrors',\n values: 'values'\n }),\n\n content() {\n return this.contentByField[this.field]\n },\n\n showRequestHelpPrompt() {\n return this.fieldToShowRequestHelpPrompt === this.field\n },\n\n validationErrors() {\n return this.validationErrorsByField[camelCase(this.field)]\n },\n\n value() {\n return this.values[this.field]\n }\n },\n\n methods: {\n scrollIntoView() {\n this.$refs.field.scrollIntoView()\n },\n\n updateFieldValue(newValue) {\n this.$store.commit('setValue', { field: this.field, value: newValue })\n }\n }\n}\n","<template>\n <div>\n <authentication-modal v-if=\"displayAuthenticationModal\" v-bind=\"authenticationModalProps\"\n @authenticated=\"publish\"\n @awaitingEmailConfirmation=\"awaitingEmailConfirmation\"\n @errorOnSignUp=\"setNonRecoverableErrorOnSignup\"\n @mfa-token-required=\"mfaTokenRequired\"\n @missing-info-required=\"missingInfoRequired\">\n <template #header>\n <h2 class=\"mt-0\">\n {{ title }}\n </h2>\n <p>{{ description }}</p>\n </template>\n </authentication-modal>\n\n <confirm-your-email-modal v-if=\"displayUserAccountCreationAwaitingEmailConfirmation\"\n :email-sent-message=\"i18n.t('member.account.confirm_your_email_modal.sent_for_user')\"\n :warning-message=\"confirmationWarningMessage\"\n :email-address=\"userEmailAddressAwaitingConfirmation\" />\n <generic-error-modal v-if=\"displayNonRecoverableErrorOnSignup\" :error-message=\"nonRecoverableErrorOnSignup\" />\n\n <verify-mfa-token-modal v-if=\"displayVerifyMfaTokenModal\" v-bind=\"mfaParameters\"\n @authenticity-token-updated=\"authenticityTokenUpdated\"\n @authenticated=\"publish\" @missing-info-required=\"missingInfoRequired\" />\n\n <missing-info-modal v-if=\"displayMissingInfoModal\" entity-name=\"user\" :required-fields=\"missingInfoRequiredFields\"\n :eu-data-processing-consent-data=\"authenticationModalData.euDataProcessingConsentData\"\n :additional-field-configs=\"authenticationModalData.additionalFieldConfigs\"\n :phone-number-label=\"authenticationModalData.phoneNumberLabel\"\n :postcode-label=\"authenticationModalData.postcodeLabel\" @completed=\"publish\" />\n </div>\n</template>\n\n<script>\nimport { mapActions, mapMutations, mapState } from 'vuex'\nimport AuthenticationModal from '../users/authentication-modal'\nimport ConfirmYourEmailModal from '../components/confirm-your-email-modal'\nimport GenericErrorModal from '../components/generic-error-modal.vue'\nimport isPresent from '../helpers/is-present'\nimport MissingInfoModal from '../users/missing-info-modal'\nimport VerifyMfaTokenModal from '../users/verify-mfa-token-modal'\n\nexport default {\n components: { AuthenticationModal, ConfirmYourEmailModal, GenericErrorModal, MissingInfoModal, VerifyMfaTokenModal },\n\n props: {\n title: {\n type: String,\n required: true\n },\n description: {\n type: String,\n required: true\n },\n confirmationWarningMessage: {\n type: String,\n required: true\n }\n },\n\n computed: {\n ...mapState(['authenticationModalData', 'displayAuthenticationModal', 'displayMissingInfoModal',\n 'displayUserAccountCreationAwaitingEmailConfirmation', 'displayVerifyMfaTokenModal',\n 'mfaParameters', 'missingInfoRequiredFields', 'nonRecoverableErrorOnSignup',\n 'userEmailAddressAwaitingConfirmation', 'validationErrors']),\n\n authenticationModalProps() {\n return {\n askForCountry: this.authenticationModalData.askForCountry,\n askForSmsOptIn: this.authenticationModalData.askForSmsOptIn,\n additionalFieldConfigs: this.authenticationModalData.additionalFieldConfigs,\n countryData: this.authenticationModalData.countryData,\n askForPostcode: this.authenticationModalData.askForPostcode ,\n emailOptInTypeData: this.authenticationModalData.emailOptInTypeData,\n emailOptInLabel: this.authenticationModalData.emailOptInLabel,\n enableFacebookLogin: this.authenticationModalData.enableFacebookLogin ,\n enableGoogleLogin: this.authenticationModalData.enableGoogleLogin,\n facebookLoginUrl: this.authenticationModalData.facebookLoginUrl,\n googleLoginUrl: this.authenticationModalData.googleLoginUrl,\n newAccountDisclaimer: this.authenticationModalData.newAccountDisclaimer,\n organisationId: this.authenticationModalData.organisationId,\n phoneNumberLabel: this.authenticationModalData.phoneNumberLabel,\n phoneNumberMandatory: this.authenticationModalData.phoneNumberMandatory,\n postcodeLabel: this.authenticationModalData.postcodeLabel,\n showEuDataProcessingConsent: this.authenticationModalData.showEuDataProcessingConsent,\n smsOptInTypeData: this.authenticationModalData.smsOptInTypeData,\n smsOptInLabel: this.authenticationModalData.smsOptInLabel,\n euDataProcessingConsentData: this.authenticationModalData.euDataProcessingConsentData,\n termsOfServiceData: this.authenticationModalData.termsOfServiceData,\n signInButtonText: this.i18n.t('member.petitions.start.authenticate_to_publish_modal.sign_in_submit'),\n signUpButtonText: this.i18n.t('member.petitions.start.authenticate_to_publish_modal.sign_up_submit'),\n validationErrors: this.validationErrors\n }\n },\n\n displayNonRecoverableErrorOnSignup() {\n return isPresent(this.nonRecoverableErrorOnSignup)\n }\n },\n\n methods: {\n ...mapActions(['publish', 'linkCampaignWithUnconfirmedUser']),\n ...mapMutations(['setDisplayUserAccountCreationAwaitingEmailConfirmation', 'setDisplayMissingInfoModal',\n 'setDisplayVerifyMfaTokenModal', 'setNonRecoverableErrorOnSignup']),\n\n authenticityTokenUpdated(newAuthenticityToken) {\n const tokenElement = document.querySelector('meta[name=\"csrf-token\"]')\n tokenElement.setAttribute('content', newAuthenticityToken)\n },\n\n awaitingEmailConfirmation({ userEmail, userToken }) {\n this.setDisplayUserAccountCreationAwaitingEmailConfirmation({ value: true, userEmail: userEmail })\n this.linkCampaignWithUnconfirmedUser(userToken)\n },\n\n mfaTokenRequired(mfaParameters) {\n this.setDisplayVerifyMfaTokenModal({value: true, mfaParameters})\n },\n\n missingInfoRequired({ requiredFields }) {\n this.setDisplayMissingInfoModal({ value: true, requiredFields })\n }\n }\n}\n</script>\n","<template>\n <div>\n <modal ref=\"modal\" modal-id=\"modal-authentication\" size=\"md\" show-on-mount headerless\n paddingless-body :click-outside-to-close=\"false\">\n <template #body>\n <div class=\"authentication-header bg-primary-translucent text-center py-4\">\n <div class=\"px-3 offset-md-2 col-md-8\">\n <slot name=\"header\" />\n\n <facebook-sign-in v-if=\"enableFacebookLogin\" :login-url=\"facebookLoginUrl\" />\n <google-sign-in v-if=\"enableGoogleLogin\" :login-url=\"googleLoginUrl\" />\n </div>\n </div>\n\n <tabs :active-tab=\"activeTab\" class-for-active=\"border-primary\" :options=\"labeledTabs\" @select=\"switchTab\" />\n <component :is=\"activeForm\" v-bind=\"formProperties\"\n class=\"px-3 px-md-4\"\n @authenticated=\"authenticated\"\n @authenticity-token-updated=\"authenticityTokenUpdated\"\n @awaitingEmailConfirmation=\"awaitingEmailConfirmation\"\n @errorOnSignUp=\"errorOnSignUp\"\n @mfa-setup-required=\"mfaSetupRequired\"\n @mfa-token-required=\"mfaTokenRequired\"\n @missing-info-required=\"missingInfoRequired\" />\n </template>\n </modal>\n </div>\n</template>\n\n<script>\nimport FacebookSignIn from './facebook-sign-in'\nimport GoogleSignIn from './google-sign-in'\nimport { inject } from 'vue'\nimport Modal from '../components/modal'\nimport SignInForm from './sign-in-form'\nimport SignUpForm from './sign-up-form'\nimport Tabs from '../components/tabs'\n\nconst DEFAULT_FORGOT_PASSWORD_URL = '/users/password/new'\nconst DEFAULT_SIGN_IN_PATH = '/users/sign_in'\nconst DEFAULT_SIGN_UP_PATH = '/users'\n\nexport default {\n components: { FacebookSignIn, GoogleSignIn, Modal, SignInForm, SignUpForm, Tabs },\n\n props: {\n askForCountry: {\n type: Boolean,\n required: true\n },\n\n additionalFieldConfigs: {\n type: Array,\n required: true\n },\n\n askForPostcode: {\n type: Boolean,\n required: true\n },\n\n askForSmsOptIn: {\n type: Boolean,\n required: true\n },\n\n countryData: {\n type: Object,\n required: false\n },\n\n emailOptInTypeData: {\n type: Object,\n required: true\n },\n\n emailOptInLabel: {\n type: String,\n required: true\n },\n\n enableFacebookLogin: {\n type: Boolean,\n required: false,\n default: false\n },\n\n enableGoogleLogin: {\n type: Boolean,\n required: false,\n default: false\n },\n\n euDataProcessingConsentData: {\n type: Object,\n required: 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 newAccountDisclaimer: {\n type: String,\n required: false\n },\n\n organisationId: {\n type: Number,\n required: true\n },\n\n phoneNumberLabel: {\n type: String,\n required: true\n },\n\n phoneNumberMandatory: {\n type: Boolean,\n required: true\n },\n\n postcodeLabel: {\n type: String,\n required: false\n },\n\n showEuDataProcessingConsent: {\n type: Boolean,\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 signUpButtonText: {\n type: String,\n required: false,\n default: function() { return inject('i18n').t('member.account.authentication_modal.sign_up_submit') }\n },\n\n signUpPath: {\n type: String,\n required: false,\n default: DEFAULT_SIGN_UP_PATH\n },\n\n smsOptInLabel: {\n type: String,\n required: false\n },\n\n smsOptInTypeData: {\n type: Object,\n required: false\n },\n\n termsOfServiceData: {\n type: Object,\n required: true\n }\n },\n\n emits: ['authenticated', 'awaitingEmailConfirmation', 'errorOnSignUp', 'mfa-token-required', 'missing-info-required'],\n\n data() {\n return {\n activeTab: 'signUp',\n hasAuthenticated: false,\n labeledTabs: [\n { value: 'signUp', label: this.i18n.t('member.account.authentication_modal.create_account') },\n { value: 'signIn', label: this.i18n.t('member.account.authentication_modal.sign_in') }\n ]\n }\n },\n\n computed: {\n activeForm() {\n switch (this.activeTab) {\n case 'signUp':\n return SignUpForm\n case 'signIn':\n return SignInForm\n default:\n throw `Unexpected active tab ${this.activeTab}`\n }\n },\n\n formProperties() {\n let componentProperties\n switch (this.activeTab) {\n case 'signUp':\n componentProperties = {\n acceptTermsOfServiceLabel: this.termsOfServiceData.label,\n additionalFieldConfigs: this.additionalFieldConfigs,\n askForCountry: this.askForCountry,\n askForPostcode: this.askForPostcode,\n askForSmsOptIn: this.askForSmsOptIn,\n emailOptInTypeData: this.emailOptInTypeData,\n emailOptInLabel: this.emailOptInLabel,\n euDataProcessingConsentData: this.euDataProcessingConsentData,\n includeEuDataProcessingConsent: this.showEuDataProcessingConsent,\n newAccountDisclaimer: this.newAccountDisclaimer,\n phoneNumberLabel: this.phoneNumberLabel,\n phoneNumberMandatory: this.phoneNumberMandatory,\n signUpPath: this.signUpPath,\n smsOptInTypeData: this.smsOptInTypeData,\n smsOptInLabel: this.smsOptInLabel,\n submitButtonText: this.signUpButtonText,\n termsOfServiceExplicit: this.termsOfServiceData.displayExplicitCheckbox\n }\n\n if (this.askForPostcode) {\n componentProperties['postcodeLabel'] = this.postcodeLabel\n }\n\n if (this.countryData) {\n componentProperties['countryLabel'] = this.countryData.label\n componentProperties['countryOptions'] = this.countryData.countryOptions\n componentProperties['countryTogglesEuDataProcessingConsent'] = this.countryData.countryTogglesEuDataProcessingConsent\n }\n\n break\n case 'signIn':\n componentProperties = {\n forgotPasswordUrl: this.forgotPasswordUrl,\n organisationId: this.organisationId,\n signInPath: this.signInPath,\n submitButtonText: this.signInButtonText\n }\n break\n default:\n throw `Unexpected active tab ${this.activeTab}`\n }\n\n return componentProperties\n }\n },\n\n methods: {\n authenticated({ userMenu }) {\n // Replace the login link in the header with the user's menu.\n // We aren't using teleport because it's not possible to set dynamic\n // HTML content (v-html is not supported)\n const loginLinkWrapper = document.querySelector('#login-link')\n if (loginLinkWrapper) {\n loginLinkWrapper.innerHTML = userMenu\n }\n\n this.$refs.modal.close()\n this.$emit('authenticated')\n },\n\n authenticityTokenUpdated(newAuthenticityToken) {\n const tokenElement = document.querySelector('meta[name=\"csrf-token\"]')\n tokenElement.setAttribute('content', newAuthenticityToken)\n },\n\n awaitingEmailConfirmation(userConfirmationData) {\n this.$refs.modal.close()\n this.$emit('awaitingEmailConfirmation', userConfirmationData)\n },\n\n errorOnSignUp({ errorMessage }) {\n this.$refs.modal.close()\n this.$emit('errorOnSignUp', errorMessage)\n },\n\n mfaSetupRequired({ enableMfaPath }) {\n window.location.href = enableMfaPath\n },\n\n mfaTokenRequired(mfaParmameters) {\n this.$refs.modal.close()\n this.$emit('mfa-token-required', mfaParmameters)\n },\n\n missingInfoRequired({ requiredFields }) {\n this.$refs.modal.close()\n this.$emit('missing-info-required', { requiredFields })\n },\n\n switchTab(tab) {\n this.activeTab = tab\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@use \"~friendship_styles/colors\" as colors;\n\n.authentication-header {\n ::v-deep(form:not(:last-child)) {\n margin-bottom: 20px;\n }\n}\n\n::v-deep(.modal-body) {\n padding: 0;\n}\n\n::v-deep(.nav-tabs) {\n border: 0;\n\n li {\n flex-grow: 1;\n text-align: center;\n }\n\n .nav-link{\n border: solid 1px colors.$separator-gray;\n border-top-width: 6px;\n border-radius: 0;\n background-color: #f7f7f7;\n font-size: 16px;\n font-weight: 500;\n padding: {\n top: 15px;\n bottom: 15px;\n }\n\n &.active {\n border-width: 6px 0 0 0;\n background-color: #ffffff;\n }\n }\n}\n</style>\n","import { render } from \"./authentication-modal.vue?vue&type=template&id=0f80ca4a&scoped=true\"\nimport script from \"./authentication-modal.vue?vue&type=script&lang=js\"\nexport * from \"./authentication-modal.vue?vue&type=script&lang=js\"\n\nimport \"./authentication-modal.vue?vue&type=style&index=0&id=0f80ca4a&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-0f80ca4a\"]])\n\nexport default __exports__","import { render } from \"./authenticate-to-publish-modal.vue?vue&type=template&id=d67ce452\"\nimport script from \"./authenticate-to-publish-modal.vue?vue&type=script&lang=js\"\nexport * from \"./authenticate-to-publish-modal.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__","<template>\n <modal :show-on-mount=\"true\" :click-outside-to-close=\"false\" :headerless=\"true\" size=\"sm\"\n modal-id=\"awaiting-approval-modal\">\n <template #body>\n <div class=\"text-center\">\n <h2 class=\"mt-3 title\">\n {{ i18n.t('member.campaigns.awaiting_approval.modal_title') }}\n </h2>\n <p>{{ i18n.t(`member.campaigns.awaiting_approval.${campaignType}.reviewing`) }}</p>\n <p>{{ i18n.t(`member.campaigns.awaiting_approval.${campaignType}.once_approved`) }}</p>\n </div>\n </template>\n </modal>\n</template>\n\n<script>\nimport Modal from '../components/modal'\n\nexport default {\n components: { Modal },\n\n props: {\n campaignType: {\n type: String,\n required: true\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n.title {\n font-size: 32px;\n font-weight: 500;\n}\n</style>\n","import { render } from \"./awaiting-approval-modal.vue?vue&type=template&id=540e343c&scoped=true\"\nimport script from \"./awaiting-approval-modal.vue?vue&type=script&lang=js\"\nexport * from \"./awaiting-approval-modal.vue?vue&type=script&lang=js\"\n\nimport \"./awaiting-approval-modal.vue?vue&type=style&index=0&id=540e343c&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-540e343c\"]])\n\nexport default __exports__","<template>\n <div class=\"boolean\">\n <toggle :initial-value=\"value\" :label=\"label\" @change=\"({ value }) => updateValue(value)\" />\n <input type=\"hidden\" :value=\"selectedAssociatedEntityId\" :name=\"fieldName\">\n </div>\n</template>\n\n<script>\nimport Toggle from '../components/inputs/toggle'\n\nexport default {\n components: { Toggle },\n\n props: {\n associatedEntityId: {\n type: Number,\n required: true\n },\n fieldName: {\n type: String,\n required: false\n },\n initialValue: {\n type: Boolean,\n default: true\n },\n label: {\n type: String,\n required: true\n }\n },\n\n emits: ['changed'],\n\n data() {\n return {\n selectedAssociatedEntityId: this.associatedEntityId,\n value: this.initialValue\n }\n },\n\n methods: {\n updateValue(value) {\n if (value) {\n this.selectedAssociatedEntityId = this.associatedEntityId\n } else {\n this.selectedAssociatedEntityId = null\n }\n\n this.value = value\n this.$emit('changed', this.selectedAssociatedEntityId)\n }\n }\n}\n</script>\n","import { render } from \"./campaign-association-field.vue?vue&type=template&id=05ab1255\"\nimport script from \"./campaign-association-field.vue?vue&type=script&lang=js\"\nexport * from \"./campaign-association-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__","<template>\n <div ref=\"outer\">\n <component :is=\"formRowComponent\" v-if=\"showIntro\">\n <h2 v-if=\"content.heading\" class=\"mb-0\">\n {{ content.heading }}\n </h2>\n <p v-if=\"content.intro\" class=\"intro mt-2 mb-0\">\n {{ content.intro }}\n </p>\n </component>\n\n <component :is=\"formRowComponent\" class=\"field-row\">\n <div class=\"form-field\">\n <slot />\n </div>\n\n <field-help v-if=\"content.help\" :text=\"content.help\" class=\"field-help\" />\n\n <template v-if=\"showGetHelp\" #right-column>\n <slot name=\"request-help-prompt\" />\n </template>\n </component>\n </div>\n</template>\n\n<script>\nimport FieldHelp from './field-help'\nimport FormRow from './form-row'\nimport isPresent from '../helpers/is-present'\n\nexport default {\n components: { FieldHelp, FormRow },\n props: {\n content: {\n type: Object,\n required: true\n },\n formRowComponent: {\n type: Object,\n required: false,\n default() { return FormRow }\n },\n showGetHelp: {\n type: Boolean,\n required: false,\n default: false\n }\n },\n\n data() {\n return {\n showIntro: isPresent(this.content.heading) || isPresent(this.content.intro)\n }\n },\n\n methods: {\n scrollIntoView() {\n this.$refs.outer.scrollIntoView({ behavior: 'smooth', block: 'center' })\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@use \"~common_styles/breakpoints\" as breakpoints;\n\np.intro {\n font-size: 20px;\n line-height: 1.4;\n @include breakpoints.screen-mobile-only {\n font-size: 16px;\n }\n}\n.field-row {\n margin-top: 30px;\n @include breakpoints.screen-mobile-only {\n margin-top: 20px;\n }\n}\n.form-field {\n margin-bottom: 20px;\n\n ::v-deep(:not(.trix-dialog)) { // Don't apply to fields within the Trix editor (e.g.: link dialog)\n ::v-deep(input:not([type=radio])), ::v-deep(select), ::v-deep(textarea) {\n padding: 13px 15px;\n font-size: 1.25rem;\n margin-bottom: 20px;\n }\n }\n\n\n ::v-deep(input[type=text]), ::v-deep(input:not([type])), ::v-deep(select) {\n height: 58px;\n\n @include breakpoints.screen-mobile-only {\n height: 50px;\n }\n }\n}\n\n.field-help {\n margin-bottom: 0;\n}\n</style>\n","<template>\n <p class=\"text-muted field-help\">\n {{ text }}\n </p>\n</template>\n\n<script>\nexport default {\n props: {\n text: {\n type: String,\n required: true\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@use \"~common_styles/breakpoints\" as breakpoints;\n\n.field-help {\n font-size: 16px;\n display: flex;\n flex-direction: row;\n line-height: 1.5;\n align-items: flex-start;\n\n @include breakpoints.screen-mobile-only {\n font-size: 14px;\n }\n\n &::before {\n content: url('../images/info.svg');\n background: #cccccc;\n\n display: flex;\n justify-content: center;\n align-items: center;\n height: 28px;\n flex: 0 0 28px;\n\n border-radius: 16px;\n margin-right: 16px;\n padding: 8px 9px;\n }\n}\n</style>\n","import { render } from \"./field-help.vue?vue&type=template&id=35c69943&scoped=true\"\nimport script from \"./field-help.vue?vue&type=script&lang=js\"\nexport * from \"./field-help.vue?vue&type=script&lang=js\"\n\nimport \"./field-help.vue?vue&type=style&index=0&id=35c69943&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-35c69943\"]])\n\nexport default __exports__","import { render } from \"./field-layout.vue?vue&type=template&id=26df5c1e&scoped=true\"\nimport script from \"./field-layout.vue?vue&type=script&lang=js\"\nexport * from \"./field-layout.vue?vue&type=script&lang=js\"\n\nimport \"./field-layout.vue?vue&type=style&index=0&id=26df5c1e&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-26df5c1e\"]])\n\nexport default __exports__","<template>\n <div class=\"row\">\n <div class=\"col-md-10 offset-md-1 px-md-0 col-lg-8 offset-lg-2 px-lg-3 col-xl-7 offset-xl-2 px-xl-0\">\n <slot />\n </div>\n <div v-if=\"$slots['right-column']\"\n class=\"col-md-10 offset-md-1 px-md-0 col-lg-8 offset-lg-2 px-lg-3 col-xl-3 offset-xl-0 ps-xl-3\">\n <slot name=\"right-column\" />\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n}\n</script>\n","import { render } from \"./form-row.vue?vue&type=template&id=27531cbc\"\nimport script from \"./form-row.vue?vue&type=script&lang=js\"\nexport * from \"./form-row.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__","<template>\n <component :is=\"fieldLayoutComponent\" id=\"associate-partnership-field\" ref=\"fieldLayout\" :content=\"content\">\n <h2>{{ i18n.t('activerecord.models.partnership.one') }}</h2>\n <association-toggle v-if=\"hasSinglePartnershipOption\" ref=\"partnershipToggle\"\n :label=\"labelForSingleOption\" :initial-value=\"singleOptionSelected\"\n :associated-entity-id=\"valueForOption(partnershipOptions[0])\"\n @changed=\"updateFieldValue\" />\n <selector-input v-else ref=\"partnershipSelector\" :field=\"field\"\n :options=\"partnershipOptionsWithBlank\"\n :initial-value=\"value\" :validation-errors=\"validationErrors\"\n @changed=\"updateFieldValue\" />\n </component>\n</template>\n\n<script>\nimport AssociationToggle from './campaign-association-field'\nimport SelectorInput from '../components/inputs/selector-input'\nimport FieldLayout from './field-layout'\nimport FieldMixin from './field-mixin'\nimport { mapState } from 'vuex'\n\nexport default {\n components: { AssociationToggle, FieldLayout, SelectorInput },\n\n mixins: [ FieldMixin ],\n\n props: {\n fieldLayoutComponent: {\n type: Object,\n required: false,\n default() { return FieldLayout }\n },\n\n labelForSingleOption: {\n type: String,\n required: true\n }\n },\n\n computed: {\n ...mapState(['partnershipOptions']),\n\n hasSinglePartnershipOption() {\n return this.partnershipOptions.length === 1\n },\n\n partnershipOptionsWithBlank() {\n return [['', null]].concat(this.partnershipOptions)\n },\n\n singleOptionSelected() {\n return this.value !== null\n }\n },\n\n methods: {\n valueForOption(option) {\n return option[1]\n }\n }\n}\n</script>\n\n\n<style lang=\"scss\" scoped>\n@use \"~common_styles/breakpoints\" as breakpoints;\n\n::v-deep(select) {\n height: 58px;\n\n @include breakpoints.screen-mobile-only {\n height: 50px;\n }\n\n}\n</style>\n","import { render } from \"./partnership-field.vue?vue&type=template&id=b14e9e38&scoped=true\"\nimport script from \"./partnership-field.vue?vue&type=script&lang=js\"\nexport * from \"./partnership-field.vue?vue&type=script&lang=js\"\n\nimport \"./partnership-field.vue?vue&type=style&index=0&id=b14e9e38&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-b14e9e38\"]])\n\nexport default __exports__","<template>\n <component :is=\"fieldLayoutComponent\" ref=\"field\" :content=\"content\" :show-get-help=\"showRequestHelpPrompt\">\n <trix-text-input ref=\"input\" :input-name=\"field\" :value=\"value\" :validation-errors=\"validationErrors\"\n :placeholder=\"placeholderText\" :show-html-mode=\"false\" :show-attach-files=\"false\"\n :show-code-button=\"false\" :show-heading-button=\"false\" @input=\"updateFieldValue\" />\n </component>\n</template>\n\n<script>\nimport FieldLayout from './field-layout'\nimport FieldMixin from './field-mixin'\nimport TrixTextInput from '@/components/inputs/trix-text-input'\n\nexport default {\n components: { TrixTextInput },\n\n mixins: [ FieldMixin ],\n\n props: {\n fieldLayoutComponent: {\n type: Object,\n required: false,\n default() { return FieldLayout}\n },\n placeholderText: {\n type: String,\n required: false\n }\n },\n\n methods: {\n focus() {\n this.$refs.input.focus()\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n@use \"~common_styles/breakpoints\" as breakpoints;\n\n::v-deep(textarea) {\n height: 200px;\n\n @include breakpoints.screen-mobile-only {\n height: 150px;\n }\n}\n</style>\n","import { render } from \"./rich-text-field.vue?vue&type=template&id=0a32df5a&scoped=true\"\nimport script from \"./rich-text-field.vue?vue&type=script&lang=js\"\nexport * from \"./rich-text-field.vue?vue&type=script&lang=js\"\n\nimport \"./rich-text-field.vue?vue&type=style&index=0&id=0a32df5a&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-0a32df5a\"]])\n\nexport default __exports__","<template>\n <component :is=\"fieldLayoutComponent\" ref=\"field\" :content=\"content\" :show-get-help=\"showRequestHelpPrompt\">\n <text-input ref=\"input\" :input-name=\"field\" :value=\"value\" :validation-errors=\"validationErrors\"\n :placeholder=\"placeholderText\" @changed=\"updateFieldValue\" />\n </component>\n</template>\n\n<script>\nimport FieldLayout from './field-layout'\nimport FieldMixin from './field-mixin'\nimport TextInput from '../components/inputs/text-input'\n\nexport default {\n components: { TextInput },\n\n mixins: [ FieldMixin ],\n\n props: {\n fieldLayoutComponent: {\n type: Object,\n required: false,\n default() { return FieldLayout}\n },\n placeholderText: {\n type: String,\n required: false\n }\n },\n\n methods: {\n focus() {\n this.$refs.input.focus()\n }\n }\n}\n</script>\n","import { render } from \"./string-field.vue?vue&type=template&id=c0be8028\"\nimport script from \"./string-field.vue?vue&type=script&lang=js\"\nexport * from \"./string-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__","<template>\n <div :id=\"id\" :class=\"{[wrapperClass]: true, disabled, 'disabled-gray': disabled}\">\n <toast v-if=\"message\" :kind=\"message.status\">\n <template #message-content>\n {{ message.message }}\n </template>\n </toast>\n <div class=\"toggle-and-label\">\n <!-- When this toggle is being rendered onto the form in the page, we need to include this hack so\n Rails can get the true/false value of the checkbox. this mimics the behavior of rails form helpers -->\n <input v-if=\"!persist\" :name=\"field\" type=\"hidden\" value=\"0\">\n\n <vue-toggle :id=\"`${field}-toggle-input`\" ref=\"toggle\" :name=\"field\" :disabled=\"disabled\"\n :model-value=\"initialValue\" :labelledby=\"`${field}-label`\" class=\"toggle d-inline-block\"\n @change=\"onChange\" />\n\n <label :id=\"`${field}-label`\" class=\"toggle-label-text\" @click=\"toggleValue\" v-html=\"label\" />\n </div>\n <p v-if=\"hint\" class=\"text-muted\">\n {{ hint }}\n </p>\n </div>\n</template>\n\n<script>\nimport VueToggle from '@vueform/toggle'\nimport Toast from '../toast'\nimport PersistAndToast from './mixins/persist-and-toast'\nimport '@vueform/toggle/themes/default.css'\n\nexport default {\n components: { Toast, VueToggle },\n mixins: [PersistAndToast],\n\n props: {\n id: {\n type: String,\n required: false\n },\n initialValue: {\n type: Boolean,\n required: false,\n default: false\n },\n label: {\n type: String,\n required: false\n },\n hint: {\n type: String,\n required: false\n },\n wrapperClass: {\n type: String,\n required: false,\n default: 'checkbox'\n },\n disabled: {\n type: Boolean,\n required: false,\n default: false\n }\n },\n\n emits: ['change'],\n\n data() {\n return {\n rubberBandOnError: true\n }\n },\n\n methods: {\n onChange(newValue) {\n this.$emit('change', {value: newValue})\n\n if (this.persist === true) {\n this.save({value: newValue})\n }\n },\n\n toggleValue() {\n this.$refs.toggle.toggle()\n }\n }\n}\n</script>\n\n<style lang=\"scss\" scoped>\n @use \"~common_styles/breakpoints\" as breakpoints;\n @use \"~friendship_styles/colors\" as colors;\n\n .toggle-and-label {\n margin-bottom: 1rem;\n }\n\n .checkbox .toggle-and-label {\n padding-left: 0;\n }\n .toggle-label-text {\n padding-left: 10px;\n }\n @include breakpoints.screen-md-up {\n .text-muted {\n margin-left: 65px;\n }\n }\n\n .disabled-gray {\n .toggle-label-text {\n color: colors.$unobtrusive-text-color;\n }\n }\n\n .toggle {\n border: none;\n\n --toggle-width: 45px;\n\n // Additional variables for colors are set in app/assets/stylesheets/phoenix/_forms.scss\n --toggle-bg-off: #999999;\n --toggle-border-off: #999999;\n }\n</style>\n","import { render } from \"./toggle.vue?vue&type=template&id=35fb2d8a&scoped=true\"\nimport script from \"./toggle.vue?vue&type=script&lang=js\"\nexport * from \"./toggle.vue?vue&type=script&lang=js\"\n\nimport \"./toggle.vue?vue&type=style&index=0&id=35fb2d8a&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-35fb2d8a\"]])\n\nexport default __exports__","<template>\n <ul class=\"nav nav-tabs\">\n <li v-for=\"option in options\" :key=\"option.value\">\n <a href=\"#\" :title=\"option.title\" class=\"nav-link\"\n :class=\"{active: option.value === activeTab, [classForActive]: option.value === activeTab}\"\n @click.prevent=\"$emit('select', option.value)\">\n {{ option.label }}\n </a>\n </li>\n </ul>\n</template>\n\n<script>\nexport default {\n props: {\n activeTab: {\n type: String,\n required: true\n },\n classForActive: {\n type: String,\n required: false\n },\n options: {\n type: Array,\n required: true\n }\n },\n\n emits: ['select']\n}\n</script>\n","import { render } from \"./tabs.vue?vue&type=template&id=047ba0ed\"\nimport script from \"./tabs.vue?vue&type=script&lang=js\"\nexport * from \"./tabs.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":["props","field","type","String","required","computed","mapState","contentByField","helpRequested","fieldToShowRequestHelpPrompt","requestHelpUrl","validationErrorsByField","values","content","this","showRequestHelpPrompt","validationErrors","camelCase","value","methods","scrollIntoView","$refs","updateFieldValue","newValue","$store","commit","class","components","FacebookSignIn","GoogleSignIn","Modal","SignInForm","SignUpForm","Tabs","askForCountry","Boolean","additionalFieldConfigs","Array","askForPostcode","askForSmsOptIn","countryData","Object","emailOptInTypeData","emailOptInLabel","enableFacebookLogin","default","enableGoogleLogin","euDataProcessingConsentData","facebookLoginUrl","forgotPasswordUrl","googleLoginUrl","newAccountDisclaimer","organisationId","Number","phoneNumberLabel","phoneNumberMandatory","postcodeLabel","showEuDataProcessingConsent","signInButtonText","inject","t","signInPath","signUpButtonText","signUpPath","smsOptInLabel","smsOptInTypeData","termsOfServiceData","emits","data","activeTab","hasAuthenticated","labeledTabs","label","i18n","activeForm","formProperties","componentProperties","acceptTermsOfServiceLabel","includeEuDataProcessingConsent","submitButtonText","termsOfServiceExplicit","displayExplicitCheckbox","countryOptions","countryTogglesEuDataProcessingConsent","authenticated","userMenu","loginLinkWrapper","document","querySelector","innerHTML","modal","close","$emit","authenticityTokenUpdated","newAuthenticityToken","setAttribute","awaitingEmailConfirmation","userConfirmationData","errorOnSignUp","errorMessage","mfaSetupRequired","enableMfaPath","window","location","href","mfaTokenRequired","mfaParmameters","missingInfoRequired","requiredFields","switchTab","tab","_createElementBlock","_createVNode","_component_modal","ref","size","headerless","body","_withCtx","_createElementVNode","_hoisted_1","_hoisted_2","_renderSlot","_ctx","$slots","undefined","_createTextVNode","$props","_createBlock","_component_facebook_sign_in","key","_createCommentVNode","_component_google_sign_in","_component_tabs","$data","options","onSelect","$options","_resolveDynamicComponent","_mergeProps","onAuthenticated","onAuthenticityTokenUpdated","onAwaitingEmailConfirmation","onErrorOnSignUp","onMfaSetupRequired","onMfaTokenRequired","onMissingInfoRequired","_","AuthenticationModal","ConfirmYourEmailModal","GenericErrorModal","MissingInfoModal","VerifyMfaTokenModal","title","description","confirmationWarningMessage","authenticationModalProps","authenticationModalData","displayNonRecoverableErrorOnSignup","isPresent","nonRecoverableErrorOnSignup","mapActions","mapMutations","userEmail","userToken","setDisplayUserAccountCreationAwaitingEmailConfirmation","linkCampaignWithUnconfirmedUser","mfaParameters","setDisplayVerifyMfaTokenModal","setDisplayMissingInfoModal","displayAuthenticationModal","_component_authentication_modal","publish","setNonRecoverableErrorOnSignup","header","_toDisplayString","displayUserAccountCreationAwaitingEmailConfirmation","_component_confirm_your_email_modal","userEmailAddressAwaitingConfirmation","_component_generic_error_modal","displayVerifyMfaTokenModal","_component_verify_mfa_token_modal","displayMissingInfoModal","_component_missing_info_modal","missingInfoRequiredFields","onCompleted","campaignType","Toggle","associatedEntityId","fieldName","initialValue","selectedAssociatedEntityId","updateValue","_component_toggle","onChange","_cache","name","text","FieldHelp","FormRow","formRowComponent","showGetHelp","showIntro","heading","intro","outer","behavior","block","_hoisted_3","_createSlots","_hoisted_4","help","_component_field_help","fn","AssociationToggle","FieldLayout","SelectorInput","mixins","FieldMixin","fieldLayoutComponent","labelForSingleOption","hasSinglePartnershipOption","partnershipOptions","length","partnershipOptionsWithBlank","concat","singleOptionSelected","valueForOption","option","id","_component_association_toggle","onChanged","_component_selector_input","TrixTextInput","placeholderText","focus","input","_component_trix_text_input","placeholder","onInput","TextInput","_component_text_input","Toast","VueToggle","PersistAndToast","hint","wrapperClass","disabled","rubberBandOnError","persist","save","toggleValue","toggle","_normalizeClass","message","_component_toast","kind","status","_component_vue_toggle","labelledby","onClick","args","_hoisted_5","classForActive","_Fragment","_renderList","active","_withModifiers","$event"],"sourceRoot":""}