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BO,KAAK,KAAMF,EAAmBrJ,KAAKuJ,KAAKF,G,KC/CvF,IAAIG,EAAsBjD,EAAoBS,OAAEN,EAAW,CAAC,MAAM,IAAOH,EAAoB,OAC7FiD,EAAsBjD,EAAoBS,EAAEwC,E","sources":["webpack://givingportal/./src/utils/StringFunctions.ts","webpack://givingportal/./src/models/Events.ts","webpack://givingportal/./src/models/DonationAttributionType.ts","webpack://givingportal/./src/models/GivingOption.ts","webpack://givingportal/./src/stores/DonationStore.ts","webpack://givingportal/./src/components/ConfirmationDialog.vue?0c08","webpack://givingportal/./src/components/ConfirmationDialog.vue","webpack://givingportal/./src/components/ConfirmationDialog.vue?c107","webpack://givingportal/./src/stores/SiteSettingsStore.ts","webpack://givingportal/./src/components/DonorInformation.vue?5304","webpack://givingportal/./src/components/DonorInformation.vue","webpack://givingportal/./src/components/DonorInformation.vue?68cc","webpack://givingportal/./src/models/DayOfTheMonthMenuItem.ts","webpack://givingportal/./src/components/DonationInformation.vue?1111","webpack://givingportal/./src/components/DonationInformation.vue","webpack://givingportal/./src/components/DonationInformation.vue?ae17","webpack://givingportal/./src/components/DirectYourDonation.vue?1cd1","webpack://givingportal/./src/components/DirectYourDonation.vue","webpack://givingportal/./src/components/DirectYourDonation.vue?6f51","webpack://givingportal/./src/views/DonationForm.vue?028f","webpack://givingportal/./src/views/DonationForm.vue","webpack://givingportal/./src/views/DonationForm.vue?72ea","webpack://givingportal/./src/views/ConfirmationPage.vue?7009","webpack://givingportal/./src/views/ConfirmationPage.vue","webpack://givingportal/./src/views/ConfirmationPage.vue?1647","webpack://givingportal/./src/views/SiteNotEnabled.vue?526b","webpack://givingportal/./src/views/SiteNotEnabled.vue","webpack://givingportal/./src/views/SiteNotEnabled.vue?c2ea","webpack://givingportal/./src/views/SiteNotFound.vue?10be","webpack://givingportal/./src/views/SiteNotFound.vue","webpack://givingportal/./src/views/SiteNotFound.vue?585b","webpack://givingportal/./src/router/index.ts","webpack://givingportal/./src/App.vue?2a5e","webpack://givingportal/./src/App.vue","webpack://givingportal/./src/App.vue?7ccd","webpack://givingportal/./src/main.ts","webpack://givingportal/webpack/bootstrap","webpack://givingportal/webpack/runtime/chunk loaded","webpack://givingportal/webpack/runtime/compat get default export","webpack://givingportal/webpack/runtime/define property getters","webpack://givingportal/webpack/runtime/global","webpack://givingportal/webpack/runtime/hasOwnProperty shorthand","webpack://givingportal/webpack/runtime/jsonp chunk loading","webpack://givingportal/webpack/startup"],"sourcesContent":["const regexPostalCodeCanadian1 = new RegExp(\"^[A-Za-z][0-9][A-Za-z][0-9][A-Za-z][0-9]$\");\nconst regexPostalCodeCanadian2 = new RegExp(\"^[A-Za-z][0-9][A-Za-z] [0-9][A-Za-z][0-9]$\");\nconst regexPostalCodeAmerican1 = new RegExp(\"^[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]$\");\nconst regexPostalCodeAmerican2 = new RegExp(\"^[0-9][0-9][0-9][0-9][0-9] [0-9][0-9][0-9][0-9]$\");\nconst regexProvinceWith2Letters = new RegExp(\"^[A-Z][A-Z]$\");\n\n// Phone Number\nexport const FormatPhoneNumber = (input: string): string => {\n const phoneAsNumber: number = parseFloat(input);\n\n if (isNaN(phoneAsNumber)) {\n return input ? input.trim() : input;\n }\n\n if (phoneAsNumber.toString().length != input.length) {\n return input ? input.trim() : input;\n }\n\n const phoneParts: string[] = input.split(\".\");\n\n let returnValue: string = input;\n\n let formattedPhone = false;\n\n switch (phoneParts[0].length) {\n case 7:\n returnValue = phoneParts[0].substr(0, 3) + \"-\" + phoneParts[0].substr(3, 4);\n formattedPhone = true;\n break;\n case 10:\n returnValue = phoneParts[0].substr(0, 3) + \"-\" + phoneParts[0].substr(3, 3) + \"-\" + phoneParts[0].substr(6, 4);\n formattedPhone = true;\n break;\n case 11:\n returnValue =\n phoneParts[0].substr(0, 1) +\n \"-\" +\n phoneParts[0].substr(1, 3) +\n \"-\" +\n phoneParts[0].substr(4, 3) +\n \"-\" +\n phoneParts[0].substr(7, 4);\n formattedPhone = true;\n break;\n default:\n break;\n }\n\n if (formattedPhone && phoneParts.length > 1) {\n returnValue = `${returnValue} x ${phoneParts[1]}`;\n }\n\n return returnValue;\n};\n\n// AutoCap\nexport const AutoCap = (input: string): string => {\n if (!input) return input;\n\n //If any uppercase letters in the string, return as is.\n if (input.toLowerCase() != input) return input;\n\n //Capitalize first letter and everything after a carriage return, hyphen or a space\n let formattedStr = \"\";\n\n let newWord = true;\n for (let x = 0; x < input.length; x++) {\n const c: string = input.charAt(x);\n if (newWord) {\n formattedStr += c.toUpperCase();\n newWord = false;\n } else {\n formattedStr += c;\n }\n if (c == \" \" || c == \"-\" || c == \"\\n\") {\n newWord = true;\n }\n }\n return formattedStr;\n};\n\n// Postal Code\nexport const FormatPostalCode = (postalCode: string): string => {\n postalCode = postalCode.trim();\n\n if (!postalCode) {\n return postalCode;\n }\n\n //M2J2R3\n if (regexPostalCodeCanadian1.test(postalCode)) {\n postalCode = `${postalCode.substring(0, 3)} ${postalCode.substr(3)}`;\n return postalCode.toUpperCase();\n }\n //M2J 2R3\n else if (regexPostalCodeCanadian2.test(postalCode)) {\n return postalCode.toUpperCase();\n }\n //902102333\n else if (regexPostalCodeAmerican1.test(postalCode)) {\n return `${postalCode.substring(0, 5)}-${postalCode.substr(5)}`;\n }\n //90210 2333\n else if (regexPostalCodeAmerican2.test(postalCode)) {\n return `${postalCode.substring(0, 5)}-${postalCode.substr(5).trim()}`;\n } else {\n return postalCode;\n }\n};\n\nexport const FormatProvince = (input: string): string => {\n if (!input) {\n return input;\n }\n\n const trimmedInput: string = input.trim();\n\n if (trimmedInput.toLowerCase() != trimmedInput) {\n //Contains upper case\n return trimmedInput;\n } else if (trimmedInput.length == 2) {\n return regexProvinceWith2Letters.test(trimmedInput) ? input : input.toUpperCase();\n } else {\n return AutoCap(input);\n }\n};\n\nexport const GetTextColourFromBackground = (backgroundColour: string): string => {\n // Text colour is based on background colour so the text will show up\n const white = \"#fff\";\n const black = \"#000\";\n\n if (backgroundColour === null) {\n return white;\n }\n const hex: string = backgroundColour.replace(/#/, \"\");\n const r: number = parseInt(hex.substr(0, 2), 16);\n const g: number = parseInt(hex.substr(2, 2), 16);\n const b: number = parseInt(hex.substr(4, 2), 16);\n\n const lumina: number = [0.299 * r, 0.587 * g, 0.114 * b].reduce((x, y) => x + y);\n\n return lumina > 162 ? black : white;\n};\n\nexport const GetOrdinalForDayOfTheMonth = (day: number): string => {\n if (day) {\n if (day > 3 && day < 21) {\n return \"th\";\n }\n switch (day % 10) {\n case 1:\n return \"st\";\n case 2:\n return \"nd\";\n case 3:\n return \"rd\";\n default:\n return \"th\";\n }\n } else {\n return \"\";\n }\n};\n","export default class Events {\n public static TokenUpdated = \"TokenUpdated\";\n public static ValidityUpdated = \"ValidityUpdated\";\n public static DonationSubmitted = \"DonationSubmitted\";\n public static CardholderNameUpdated = \"CardholderNameUpdated\";\n public static SubmitPaymentClicked = \"SubmitPaymentClicked\";\n public static RefreshToken = \"RefreshToken\";\n}\n","import * as Gateway from \"@campbrain/bigbrain.givingportal.gateway\";\n\nexport class DonationAttributionType {\n public Name: string;\n public Value: Gateway.DonationDedicationType;\n\n public constructor(name: string, value: Gateway.DonationDedicationType) {\n this.Name = name;\n this.Value = value;\n }\n}\n","import * as Gateway from \"@campbrain/bigbrain.givingportal.gateway\";\n\nexport class GivingOption {\n public Name: string;\n public Id: string;\n public Description: string;\n public Order: number;\n public DonationAttribution: Gateway.DonationDedicationType;\n public DonationAttributionName: string;\n\n public constructor(option: Gateway.GivingOptionDTO) {\n this.Name = option.Name;\n this.Id = option.Id;\n this.Description = option.Description;\n this.Order = option.Order;\n this.DonationAttribution = option.DonationAttribution;\n this.DonationAttributionName = option.DonationAttributionName;\n }\n}\n","import { DonationAttributionType } from \"@/models/DonationAttributionType\";\nimport { GivingOption } from \"@/models/GivingOption\";\nimport { GetOrdinalForDayOfTheMonth } from \"@/utils/StringFunctions\";\nimport * as Gateway from \"@campbrain/bigbrain.givingportal.gateway\";\nimport { defineStore } from \"pinia\";\n\nexport const useDonationStore = defineStore(\"donationStore\", {\n state: () => ({\n DonationAttempts: 0,\n //donation amount\n DonationAmount: null,\n DonationNote: null as string,\n\n //giving option\n GivingOptions: [] as GivingOption[],\n SelectedGivingOptionId: \"\",\n SelectedDonationAttributionOption: {} as Gateway.DonationDedicationType,\n DonationAttributionName: \"\",\n\n DonationAttributionOptions: [\n new DonationAttributionType(\"No Dedication\", Gateway.DonationDedicationType.NoDedication),\n new DonationAttributionType(\"In Memory Of\", Gateway.DonationDedicationType.InMemoryOf),\n new DonationAttributionType(\"In Honor Of\", Gateway.DonationDedicationType.InHonourOf),\n ],\n\n //donor info\n FirstName: null as string,\n LastName: null as string,\n Email: null as string,\n PhoneNumber: null as string,\n PhoneNumberTypes: [\"Cell\", \"Home\", \"Other\"] as string[],\n SelectedPhoneNumberType: \"\",\n PhoneExtension: null as string,\n\n StreetAddress: null as string,\n City: null as string,\n ProvinceState: null as string,\n Country: null as string,\n PostalCode: null as string,\n\n BillingStreetAddress: null as string,\n BillingCity: null as string,\n BillingProvinceState: null as string,\n BillingCountry: null as string,\n BillingPostalCode: null as string,\n UseDifferentAddress: false,\n\n //PaymentInfo\n CardholderName: null as string,\n IsSubmittingPayment: false,\n PaymentDeclined: false,\n Token: null as string,\n SubmitPaymentClicked: false,\n\n //misc\n UseCanadianSpelling: false,\n ByPassCaptcha: false,\n RecaptchaToken: null as string,\n\n ShowBamboraError: false,\n\n PreviousSubmissionDeclinedDonationId: \"\",\n\n ShowConfirmation: false,\n\n IsLoading: false,\n\n IsRecurringDonation: false,\n DayOfRecurrence: new Date().getDate(),\n\n paymentMethod: {} as Gateway.PaymentMethodDTO,\n }),\n getters: {\n SelectedGivingOption(): GivingOption {\n if (this.GivingOptions.length > 1) {\n return this.GivingOptions.filter((opt) => opt.Id === this.SelectedGivingOptionId)[0];\n } else {\n return this.GivingOptions[0];\n }\n },\n DedicationString(): string {\n if (this.SelectedDonationAttributionOption) {\n const type = this.DonationAttributionOptions.find(\n (attributionOption) => attributionOption.Value === this.SelectedDonationAttributionOption,\n );\n if (type) {\n return type.Name;\n }\n }\n return \"\";\n },\n CalculatedRecurrenceDate(): Date {\n const currentDate = new Date();\n let scheduledDate = new Date();\n\n if (currentDate.getDate() < this.DayOfRecurrence) {\n //if the date is later this month\n scheduledDate = new Date(currentDate.getFullYear(), currentDate.getMonth(), this.DayOfRecurrence);\n } else if (currentDate.getDate() > this.DayOfRecurrence) {\n //if the date is next month\n const daysNextMonth = new Date(currentDate.getFullYear(), currentDate.getMonth() + 1, 0).getDate();\n if (this.DayOfRecurrence <= daysNextMonth) {\n //if the day exists next month, fast forward\n scheduledDate = new Date(currentDate.getFullYear(), currentDate.getMonth() + 1, this.DayOfRecurrence);\n } else {\n //set it to the end of the month\n scheduledDate = new Date(currentDate.getFullYear(), currentDate.getMonth() + 1, daysNextMonth);\n }\n } else {\n //if the date is today\n scheduledDate = new Date(currentDate.getFullYear(), currentDate.getMonth(), currentDate.getDate());\n }\n\n return scheduledDate;\n },\n IsDayOfRecurrenceToday(): boolean {\n return this.DayOfRecurrence === new Date().getDate();\n },\n DayOfRecurrenceOrdinal(): string {\n return GetOrdinalForDayOfTheMonth(this.DayOfRecurrence);\n },\n },\n actions: {\n async GetGivingOptions() {\n const response = await Gateway.ApiGateway.GetGivingOptions();\n this.GivingOptions = response.data.map((option: Gateway.GivingOptionDTO) => {\n return new GivingOption(option);\n });\n this.IsLoading = false;\n },\n async GetDonationAttributingSpelling() {\n const response = await Gateway.ApiGateway.GetDisplayCanadianSpelling();\n this.UseCanadianSpelling = response.data;\n this.DonationAttributionOptions = [\n new DonationAttributionType(\"No Dedication\", Gateway.DonationDedicationType.NoDedication),\n new DonationAttributionType(\"In Memory Of\", Gateway.DonationDedicationType.InMemoryOf),\n new DonationAttributionType(\n `${this.UseCanadianSpelling ? \"In Honour Of\" : \"In Honor Of\"}`,\n Gateway.DonationDedicationType.InHonourOf,\n ),\n ];\n },\n ToDTO(): Gateway.DonationSubmissionDTO {\n const dto: Gateway.DonationSubmissionDTO = {};\n\n dto.Amount = this.DonationAmount;\n dto.SelectedGivingOptionId = this.SelectedGivingOption.Id;\n dto.DonationNote = this.DonationNote;\n\n if (this.SelectedGivingOption.DonationAttribution !== Gateway.DonationDedicationType.NoDedication) {\n dto.Attribution = this.SelectedGivingOption.DonationAttribution;\n dto.AttributedTo = this.SelectedGivingOption.DonationAttributionName;\n } else {\n dto.Attribution = this.SelectedDonationAttributionOption;\n dto.AttributedTo = this.DonationAttributionName;\n }\n\n dto.FirstName = this.FirstName;\n dto.LastName = this.LastName;\n dto.Email = this.Email;\n if (this.PhoneNumber != \"\" && this.PhoneNumber != null) {\n dto.PhoneNumber = this.PhoneNumber;\n dto.PhoneNumberType = this.SelectedPhoneNumberType;\n dto.PhoneExtension = this.PhoneExtension;\n } else {\n //dto.PhoneNumberType = null;\n }\n\n dto.StreetAddress = this.StreetAddress;\n dto.Country = this.Country;\n dto.State = this.ProvinceState;\n dto.City = this.City;\n dto.PostalCode = this.PostalCode;\n\n dto.BillingAddress = this.BillingStreetAddress;\n dto.BillingCity = this.BillingCity;\n dto.BillingState = this.BillingProvinceState;\n dto.BillingCountry = this.BillingCountry;\n dto.BillingPostalCode = this.BillingPostalCode;\n dto.UseBillingAddress = this.UseDifferentAddress;\n\n dto.CardHolderName = this.CardholderName;\n dto.Token = this.Token;\n\n dto.RecaptchaToken = this.RecaptchaToken;\n\n dto.PreviousSubmissionDeclinedDonationId = this.PreviousSubmissionDeclinedDonationId;\n\n dto.IsRecurring = this.IsRecurringDonation;\n dto.DayOfRecurrence = this.DayOfRecurrence;\n return dto;\n },\n async getPaymentMethods() {\n try {\n const response = await Gateway.ApiGateway.PaymentMethod();\n this.paymentMethod = response.data;\n } catch (error) {\n console.error(\"PaymentMethod: \", error);\n }\n },\n },\n});\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createTextVNode as _createTextVNode, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, toDisplayString as _toDisplayString, createBlock as _createBlock, normalizeStyle as _normalizeStyle, isRef as _isRef } from \"vue\"\n\nconst _hoisted_1 = { class: \"title\" }\nconst _hoisted_2 = { key: 0 }\nconst _hoisted_3 = { class: \"review-table\" }\nconst _hoisted_4 = [\"textContent\"]\nconst _hoisted_5 = [\"textContent\"]\nconst _hoisted_6 = [\"textContent\"]\nconst _hoisted_7 = [\"textContent\"]\nconst _hoisted_8 = [\"textContent\"]\nconst _hoisted_9 = [\"textContent\"]\nconst _hoisted_10 = [\"textContent\"]\nconst _hoisted_11 = { key: 0 }\nconst _hoisted_12 = { class: \"buttons-container\" }\n\nimport { storeToRefs } from \"pinia\";\nimport Events from \"../models/Events\";\nimport { useDonationStore } from \"@/stores/DonationStore\";\nimport * as Gateway from \"@campbrain/bigbrain.givingportal.gateway\";\nimport { computed } from \"vue\";\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'ConfirmationDialog',\n emits: [Events.DonationSubmitted, \"closeDialog\"],\n setup(__props, { emit: __emit }) {\n\nconst donationStore = useDonationStore();\nconst {\n ShowConfirmation,\n IsSubmittingPayment,\n PaymentDeclined,\n DonationAmount,\n Email,\n IsRecurringDonation,\n SelectedGivingOption,\n DedicationString,\n DonationAttributionName,\n DonationNote,\n CalculatedRecurrenceDate,\n IsDayOfRecurrenceToday,\n DayOfRecurrence,\n DayOfRecurrenceOrdinal,\n SelectedDonationAttributionOption,\n} = storeToRefs(donationStore);\n\nconst emits = __emit;\n\nconst RecurringDonationAmount = computed(() => {\n if (!IsRecurringDonation.value) {\n return \"\";\n }\n\n return `$${DonationAmount.value}/month (on the ${DayOfRecurrence.value}${DayOfRecurrenceOrdinal.value}${\n DayOfRecurrence.value > 28 ? \"*\" : \"\"\n })`;\n});\n\nconst DonationAmountText = computed(() => {\n return `$${DonationAmount.value}`;\n});\n\nfunction submit(): void {\n emits(Events.DonationSubmitted, null);\n}\n\nreturn (_ctx: any,_cache: any) => {\n const _component_cb_col = _resolveComponent(\"cb-col\")!\n const _component_cb_row = _resolveComponent(\"cb-row\")!\n const _component_cb_alert = _resolveComponent(\"cb-alert\")!\n const _component_cb_button = _resolveComponent(\"cb-button\")!\n const _component_cb_modal_page = _resolveComponent(\"cb-modal-page\")!\n const _component_cb_spinner = _resolveComponent(\"cb-spinner\")!\n const _component_cb_icon = _resolveComponent(\"cb-icon\")!\n const _component_cb_app = _resolveComponent(\"cb-app\")!\n const _component_cb_modal = _resolveComponent(\"cb-modal\")!\n\n return (_openBlock(), _createBlock(_component_cb_modal, {\n modelValue: _unref(ShowConfirmation),\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_isRef(ShowConfirmation) ? (ShowConfirmation).value = $event : null)),\n persistent: \"\",\n customWidth: \"300\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_app, { class: \"modal-container\" }, {\n default: _withCtx(() => [\n (!_unref(IsSubmittingPayment) && !_unref(PaymentDeclined))\n ? (_openBlock(), _createBlock(_component_cb_modal_page, { key: 0 }, {\n header: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_1, [\n _cache[4] || (_cache[4] = _createTextVNode(\"Review Your\")),\n (_unref(IsRecurringDonation))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_2, \" Monthly\"))\n : _createCommentVNode(\"\", true),\n _cache[5] || (_cache[5] = _createTextVNode(\" Donation\"))\n ])\n ]),\n body: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_3, [\n _createVNode(_component_cb_row, { class: \"table-row\" }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, {\n desktop: \"3\",\n tablet: \"3\",\n phone: \"4\"\n }, {\n default: _withCtx(() => _cache[6] || (_cache[6] = [\n _createElementVNode(\"span\", { class: \"description\" }, \"Donation\", -1)\n ])),\n _: 1\n }),\n _createVNode(_component_cb_col, {\n desktop: \"9\",\n tablet: \"9\",\n phone: \"8\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n textContent: _toDisplayString(_unref(IsRecurringDonation) ? RecurringDonationAmount.value : DonationAmountText.value)\n }, null, 8, _hoisted_4)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_cb_row, { class: \"table-row\" }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, {\n desktop: \"3\",\n tablet: \"3\",\n phone: \"4\"\n }, {\n default: _withCtx(() => _cache[7] || (_cache[7] = [\n _createElementVNode(\"span\", { class: \"description\" }, \"Giving to\", -1)\n ])),\n _: 1\n }),\n _createVNode(_component_cb_col, {\n desktop: \"9\",\n tablet: \"9\",\n phone: \"8\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n textContent: _toDisplayString(_unref(SelectedGivingOption).Name)\n }, null, 8, _hoisted_5)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n (_unref(SelectedDonationAttributionOption) !== Gateway.DonationDedicationType.NoDedication)\n ? (_openBlock(), _createBlock(_component_cb_row, {\n key: 0,\n class: \"table-row\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, {\n desktop: \"3\",\n tablet: \"3\",\n phone: \"4\"\n }, {\n default: _withCtx(() => _cache[8] || (_cache[8] = [\n _createElementVNode(\"span\", { class: \"description\" }, \"Dedication\", -1)\n ])),\n _: 1\n }),\n _createVNode(_component_cb_col, {\n desktop: \"9\",\n tablet: \"9\",\n phone: \"8\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n textContent: _toDisplayString(`${_unref(DedicationString)}: ${_unref(DonationAttributionName)}`)\n }, null, 8, _hoisted_6)\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_unref(DonationNote))\n ? (_openBlock(), _createBlock(_component_cb_row, {\n key: 1,\n class: \"table-row\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, {\n desktop: \"3\",\n tablet: \"3\",\n phone: \"4\"\n }, {\n default: _withCtx(() => _cache[9] || (_cache[9] = [\n _createElementVNode(\"span\", { class: \"description\" }, \"Donation Note\", -1)\n ])),\n _: 1\n }),\n _createVNode(_component_cb_col, {\n desktop: \"9\",\n tablet: \"9\",\n phone: \"8\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n textContent: _toDisplayString(_unref(DonationNote))\n }, null, 8, _hoisted_7)\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n (_unref(IsRecurringDonation) && _unref(DayOfRecurrence) > 28)\n ? (_openBlock(), _createBlock(_component_cb_row, { key: 0 }, {\n default: _withCtx(() => _cache[10] || (_cache[10] = [\n _createElementVNode(\"span\", { class: \"last-day-text\" }, \" *Should an upcoming month not include this date, the donation will process on the last day of that month (i.e. 29th, 30th, 31st, etc.) \", -1)\n ])),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_cb_row, {\n class: \"table-row\",\n style: {\"margin-top\":\"16px\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, {\n desktop: \"3\",\n tablet: \"3\",\n phone: \"4\"\n }, {\n default: _withCtx(() => _cache[11] || (_cache[11] = [\n _createElementVNode(\"span\", { class: \"description\" }, \"Email\", -1)\n ])),\n _: 1\n }),\n _createVNode(_component_cb_col, {\n desktop: \"9\",\n tablet: \"9\",\n phone: \"8\"\n }, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", {\n textContent: _toDisplayString(_unref(Email))\n }, null, 8, _hoisted_8)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createElementVNode(\"div\", {\n class: \"separator\",\n style: _normalizeStyle(_unref(IsRecurringDonation) ? `` : `margin-bottom: 0px`)\n }, null, 4),\n (_unref(IsRecurringDonation))\n ? (_openBlock(), _createBlock(_component_cb_row, { key: 1 }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, null, {\n default: _withCtx(() => [\n _createVNode(_component_cb_alert, {\n color: \"accent\",\n class: \"banner-style\"\n }, {\n default: _withCtx(() => [\n _cache[12] || (_cache[12] = _createTextVNode(\" Your first \")),\n _createElementVNode(\"b\", null, [\n _createElementVNode(\"span\", {\n textContent: _toDisplayString(DonationAmountText.value)\n }, null, 8, _hoisted_9)\n ]),\n _cache[13] || (_cache[13] = _createTextVNode(\" donation will be processed \")),\n _createElementVNode(\"b\", null, [\n _createElementVNode(\"span\", {\n textContent: _toDisplayString(\n _unref(CalculatedRecurrenceDate).toLocaleDateString('en-us', {\n month: 'short',\n day: 'numeric',\n })\n )\n }, null, 8, _hoisted_10),\n (_unref(IsDayOfRecurrenceToday))\n ? (_openBlock(), _createElementBlock(\"span\", _hoisted_11, \" (today)\"))\n : _createCommentVNode(\"\", true)\n ]),\n _cache[14] || (_cache[14] = _createTextVNode(\". \"))\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n footer: _withCtx(() => [\n _createElementVNode(\"div\", _hoisted_12, [\n _createVNode(_component_cb_button, {\n class: \"col\",\n color: \"accent\",\n label: \"Confirm\",\n \"full-width\": true,\n onClick: submit\n }),\n _createVNode(_component_cb_button, {\n label: \"Back\",\n class: \"col\",\n \"full-width\": true,\n onClick: _cache[0] || (_cache[0] = ($event: any) => (_ctx.$emit('closeDialog')))\n })\n ])\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_unref(IsSubmittingPayment))\n ? (_openBlock(), _createBlock(_component_cb_modal_page, {\n key: 1,\n style: {\"text-align\":\"center\"}\n }, {\n header: _withCtx(() => [\n _createVNode(_component_cb_spinner)\n ]),\n body: _withCtx(() => _cache[15] || (_cache[15] = [\n _createElementVNode(\"p\", null, \"Submitting...\", -1)\n ])),\n footer: _withCtx(() => _cache[16] || (_cache[16] = [\n _createElementVNode(\"p\", null, \"(This may take a moment)\", -1)\n ])),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (!_unref(IsSubmittingPayment) && _unref(PaymentDeclined) && !_unref(IsRecurringDonation))\n ? (_openBlock(), _createBlock(_component_cb_modal_page, { key: 2 }, {\n header: _withCtx(() => [\n _createVNode(_component_cb_icon, {\n name: \"fas fa-exclamation-triangle\",\n color: \"red\"\n }),\n _cache[17] || (_cache[17] = _createTextVNode(\" We were unable to process your donation \"))\n ]),\n body: _withCtx(() => _cache[18] || (_cache[18] = [\n _createElementVNode(\"p\", { style: {\"text-align\":\"center\"} }, \"Please check the credit card information and try again\", -1)\n ])),\n footer: _withCtx(() => [\n _createVNode(_component_cb_button, {\n label: \"Close\",\n onClick: _cache[1] || (_cache[1] = ($event: any) => (_ctx.$emit('closeDialog', _unref(PaymentDeclined))))\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (!_unref(IsSubmittingPayment) && _unref(PaymentDeclined) && _unref(IsRecurringDonation))\n ? (_openBlock(), _createBlock(_component_cb_modal_page, { key: 3 }, {\n header: _withCtx(() => [\n _createVNode(_component_cb_icon, {\n name: \"fas fa-exclamation-triangle\",\n color: \"red\"\n }),\n _cache[19] || (_cache[19] = _createTextVNode(\" We were unable to process your donation \"))\n ]),\n body: _withCtx(() => _cache[20] || (_cache[20] = [\n _createElementVNode(\"p\", { style: {\"text-align\":\"center\"} }, \"Your credit card will not be charged monthly going forward.\", -1),\n _createElementVNode(\"p\", { style: {\"text-align\":\"center\"} }, \"Please check the credit card information and try again\", -1)\n ])),\n footer: _withCtx(() => [\n _createVNode(_component_cb_button, {\n label: \"Close\",\n onClick: _cache[2] || (_cache[2] = ($event: any) => (_ctx.$emit('closeDialog', _unref(PaymentDeclined))))\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n }, 8, [\"modelValue\"]))\n}\n}\n\n})","\n\n\n\n\n","import script from \"./ConfirmationDialog.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ConfirmationDialog.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./ConfirmationDialog.vue?vue&type=style&index=0&id=f9f0073e&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-f9f0073e\"]])\n\nexport default __exports__","import { defineStore } from \"pinia\";\nimport * as Gateway from \"@campbrain/bigbrain.givingportal.gateway\";\nimport { AxiosResponse } from \"axios\";\n\nexport const useSiteSettings = defineStore(\"siteSettingsStore\", {\n state: () => ({\n VisualSettings: {} as Gateway.GivingSiteLookAndFeelDTO,\n SiteSettings: {} as Gateway.GivingSiteSettingsDTO,\n Confirmation: {} as Gateway.GivingSiteConfirmationDTO,\n GoogleTagSettings: {} as Gateway.GoogleTagSettingsDTO,\n\n ButtonTextColour: \"#fff\",\n\n Description: \"\",\n CaptchaSiteKey: \"\",\n IsValidSite: false,\n\n FooterHeight: null as number,\n Version: \"\",\n\n IsEnabled: false,\n\n IsLoading: false,\n\n IsRecurringDonationsFeatureEnabled: false,\n\n CountryCodes: [] as string[],\n }),\n getters: {},\n actions: {\n async getSiteInfo() {\n const givingSite: AxiosResponse = await Gateway.ApiGateway.GetSiteInfo();\n\n if (givingSite.data.IsValidSite) {\n this.VisualSettings = givingSite.data.LookAndFeel;\n this.Description = this.VisualSettings.Description;\n this.SiteSettings = givingSite.data.SiteSettings;\n this.Confirmation = givingSite.data.Confirmation;\n this.Version = givingSite.data.Version;\n this.CaptchaSiteKey = givingSite.data.CaptchaSiteKey;\n this.GoogleTagSettings = givingSite.data.GoogleTagSettings;\n\n this.IsEnabled = givingSite.data.IsEnabled;\n\n //one is the feature flag(IsRecurringDonationsFeatureEnabled)\n // and one is the site setting (RecurringDonationsEnabled)\n this.IsRecurringDonationsFeatureEnabled =\n givingSite.data.SiteSettings.RecurringDonationsEnabled &&\n givingSite.data.SiteSettings.IsRecurringDonationsFeatureEnabled;\n }\n this.IsValidSite = givingSite.data.IsValidSite;\n this.CountryCodes = givingSite.data.CountryCodes;\n },\n },\n});\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, createElementVNode as _createElementVNode, resolveComponent as _resolveComponent, isRef as _isRef, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, normalizeClass as _normalizeClass } from \"vue\"\n\nconst _hoisted_1 = { class: \"contact-info-container\" }\n\nimport { useDonationStore } from \"@/stores/DonationStore\";\nimport useVuelidate from \"@vuelidate/core\";\nimport { email, required, requiredIf, helpers, maxLength } from \"@vuelidate/validators\";\nimport { storeToRefs } from \"pinia\";\nimport { computed } from \"vue\";\nimport { AutoCap, FormatPostalCode, FormatProvince } from \"../utils/StringFunctions\";\nimport * as Gateway from \"@campbrain/bigbrain.givingportal.gateway\";\nimport { useSiteSettings } from \"@/stores/SiteSettingsStore\";\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'DonorInformation',\n setup(__props) {\n\nconst donationStore = useDonationStore();\nconst {\n FirstName,\n LastName,\n Email,\n PhoneNumber,\n SelectedPhoneNumberType,\n PhoneNumberTypes,\n PhoneExtension,\n StreetAddress,\n City,\n ProvinceState,\n PostalCode,\n Country,\n BillingStreetAddress,\n BillingCity,\n BillingProvinceState,\n BillingCountry,\n BillingPostalCode,\n UseDifferentAddress,\n paymentMethod,\n} = storeToRefs(donationStore);\n\nconst siteSettingsStore = useSiteSettings();\nconst { CountryCodes } = storeToRefs(siteSettingsStore);\n\nSelectedPhoneNumberType.value = \"Cell\";\n\nconst validations = computed(() => ({\n FirstName: {\n required: helpers.withMessage(\"First name is required\", required),\n maxLength: helpers.withMessage(\"This field has a character limit of 100.\", maxLength(100)),\n },\n LastName: {\n required: helpers.withMessage(\"Last name is required\", required),\n maxLength: helpers.withMessage(\"This field has a character limit of 100.\", maxLength(100)),\n },\n Email: {\n required: helpers.withMessage(\"Email is required\", required),\n email,\n maxLength: helpers.withMessage(\"This field has a character limit of 250.\", maxLength(250)),\n },\n StreetAddress: { required },\n City: { required },\n ProvinceState: { required },\n PostalCode: { required },\n Country: { required },\n BillingStreetAddress: {\n required: requiredIf(() => {\n return UseDifferentAddress.value;\n }),\n },\n BillingCity: {\n required: requiredIf(() => {\n return UseDifferentAddress.value;\n }),\n },\n BillingProvinceState: {\n required: requiredIf(() => {\n return UseDifferentAddress.value;\n }),\n },\n BillingPostalCode: {\n required: requiredIf(() => {\n return UseDifferentAddress.value;\n }),\n },\n BillingCountry: {\n required: requiredIf(() => {\n return UseDifferentAddress.value;\n }),\n },\n}));\n\nfunction writeOdinField(newValue: string, field: \"street\" | \"city\" | \"postal\") {\n if (paymentMethod.value.Processor?.Processor !== Gateway.ProcessorType.Odin) return;\n const odinElement: HTMLInputElement | null = document.querySelector(`[aria-label=\"odin-${field}\"]`);\n if (!odinElement) return;\n odinElement.value = newValue;\n odinElement.dispatchEvent(new Event(\"keyup\"));\n}\n\nconst vuelidate = useVuelidate(validations, {\n FirstName,\n LastName,\n Email,\n StreetAddress,\n City,\n ProvinceState,\n PostalCode,\n Country,\n BillingStreetAddress,\n BillingCity,\n BillingProvinceState,\n BillingPostalCode,\n BillingCountry,\n}) as any;\n\nfunction phoneTypeUpdated(newValue: string) {\n SelectedPhoneNumberType.value = newValue;\n}\n\nfunction phoneExtensionUpdated(newValue: string) {\n PhoneExtension.value = newValue;\n}\n\nreturn (_ctx: any,_cache: any) => {\n const _component_cb_input = _resolveComponent(\"cb-input\")!\n const _component_cb_col = _resolveComponent(\"cb-col\")!\n const _component_cb_row = _resolveComponent(\"cb-row\")!\n const _component_cb_email_input = _resolveComponent(\"cb-email-input\")!\n const _component_cb_phone_input = _resolveComponent(\"cb-phone-input\")!\n const _component_cb_checkbox_input = _resolveComponent(\"cb-checkbox-input\")!\n const _component_cb_card = _resolveComponent(\"cb-card\")!\n\n return (_openBlock(), _createBlock(_component_cb_card, {\n rounded: true,\n \"big-rounded\": true,\n class: _normalizeClass(['contact-container', _unref(UseDifferentAddress) ? 'checked' : ''])\n }, {\n default: _withCtx(() => [\n _cache[31] || (_cache[31] = _createElementVNode(\"div\", { class: \"section-title\" }, \"Donor Information\", -1)),\n _createElementVNode(\"div\", _hoisted_1, [\n _createVNode(_component_cb_row, { gutter: \"sm\" }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, {\n desktop: \"6\",\n tablet: \"6\",\n phone: \"12\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_input, {\n modelValue: _unref(FirstName),\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => (_isRef(FirstName) ? (FirstName).value = $event : null)),\n validate: _unref(vuelidate).FirstName,\n error: _unref(vuelidate).FirstName.$error,\n label: \"First Name\"\n }, null, 8, [\"modelValue\", \"validate\", \"error\"])\n ]),\n _: 1\n }),\n _createVNode(_component_cb_col, {\n desktop: \"6\",\n tablet: \"6\",\n phone: \"12\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_input, {\n modelValue: _unref(LastName),\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_isRef(LastName) ? (LastName).value = $event : null)),\n validate: _unref(vuelidate).LastName,\n error: _unref(vuelidate).LastName.$error,\n label: \"Last Name\"\n }, null, 8, [\"modelValue\", \"validate\", \"error\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_cb_row, { gutter: \"sm\" }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, {\n desktop: \"6\",\n tablet: \"6\",\n phone: \"12\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_email_input, {\n modelValue: _unref(Email),\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_isRef(Email) ? (Email).value = $event : null)),\n class: \"col-3\",\n validate: _unref(vuelidate).Email,\n error: _unref(vuelidate).Email.$error,\n label: \"Email\"\n }, null, 8, [\"modelValue\", \"validate\", \"error\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_cb_row, { gutter: \"sm\" }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, {\n desktop: \"12\",\n tablet: \"12\",\n phone: \"12\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_phone_input, {\n id: \"donorPhoneNumber\",\n modelValue: _unref(PhoneNumber),\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_isRef(PhoneNumber) ? (PhoneNumber).value = $event : null)),\n phoneType: _unref(SelectedPhoneNumberType),\n \"onUpdate:phoneType\": [\n _cache[4] || (_cache[4] = ($event: any) => (_isRef(SelectedPhoneNumberType) ? (SelectedPhoneNumberType).value = $event : null)),\n phoneTypeUpdated\n ],\n extension: _unref(PhoneExtension),\n \"onUpdate:extension\": [\n _cache[5] || (_cache[5] = ($event: any) => (_isRef(PhoneExtension) ? (PhoneExtension).value = $event : null)),\n phoneExtensionUpdated\n ],\n \"phone-type-options\": _unref(PhoneNumberTypes),\n class: \"cb-phone-input\",\n \"phone-show-type\": true,\n label: \"Phone\",\n name: \"phone\",\n \"show-extension\": true,\n \"default-country-codes\": _unref(CountryCodes),\n validate: _unref(vuelidate).PhoneNumber,\n \"validate-on-blur\": false\n }, null, 8, [\"modelValue\", \"phoneType\", \"extension\", \"phone-type-options\", \"default-country-codes\", \"validate\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]),\n _cache[32] || (_cache[32] = _createElementVNode(\"div\", { class: \"section-subtitle section-padding\" }, \"Mailing Address\", -1)),\n _createVNode(_component_cb_row, {\n gutter: \"sm\",\n style: {\"padding-top\":\"4px\"}\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, {\n desktop: \"7\",\n tablet: \"7\",\n phone: \"12\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_input, {\n modelValue: _unref(StreetAddress),\n \"onUpdate:modelValue\": _cache[6] || (_cache[6] = ($event: any) => (_isRef(StreetAddress) ? (StreetAddress).value = $event : null)),\n error: _unref(vuelidate).StreetAddress.$error,\n errorMessage: \"Street address is required\",\n label: \"Street Address or PO Box\",\n autocomplete: \"shipping street-address\",\n class: \"street-address\",\n onKeyup: _cache[7] || (_cache[7] = ($event: any) => (writeOdinField($event.target.value, 'street')))\n }, null, 8, [\"modelValue\", \"error\"])\n ]),\n _: 1\n }),\n _createVNode(_component_cb_col, {\n desktop: \"5\",\n tablet: \"5\",\n phone: \"12\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_input, {\n modelValue: _unref(City),\n \"onUpdate:modelValue\": _cache[8] || (_cache[8] = ($event: any) => (_isRef(City) ? (City).value = $event : null)),\n error: _unref(vuelidate).City.$error,\n errorMessage: \"City is required\",\n label: \"City/Town\",\n autocomplete: \"shipping address-level2\",\n class: \"city-town\",\n onChange: _cache[9] || (_cache[9] = ($event: any) => (City.value = _unref(AutoCap)(_unref(City)))),\n onKeyup: _cache[10] || (_cache[10] = ($event: any) => (writeOdinField($event.target.value, 'city')))\n }, null, 8, [\"modelValue\", \"error\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_cb_row, { gutter: \"sm\" }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, {\n desktop: \"4\",\n tablet: \"4\",\n phone: \"12\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_input, {\n modelValue: _unref(ProvinceState),\n \"onUpdate:modelValue\": _cache[11] || (_cache[11] = ($event: any) => (_isRef(ProvinceState) ? (ProvinceState).value = $event : null)),\n error: _unref(vuelidate).ProvinceState.$error,\n errorMessage: \"Field is required\",\n label: \"State/Province\",\n autocomplete: \"shipping province state\",\n class: \"state-province\",\n onChange: _cache[12] || (_cache[12] = ($event: any) => (ProvinceState.value = _unref(FormatProvince)(_unref(ProvinceState))))\n }, null, 8, [\"modelValue\", \"error\"])\n ]),\n _: 1\n }),\n _createVNode(_component_cb_col, {\n desktop: \"4\",\n tablet: \"4\",\n phone: \"12\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_input, {\n modelValue: _unref(PostalCode),\n \"onUpdate:modelValue\": _cache[13] || (_cache[13] = ($event: any) => (_isRef(PostalCode) ? (PostalCode).value = $event : null)),\n error: _unref(vuelidate).PostalCode.$error,\n errorMessage: \"Field is required\",\n label: \"Zip/Postal Code\",\n autocomplete: \"shipping postal-code\",\n class: \"postal-code\",\n onChange: _cache[14] || (_cache[14] = ($event: any) => (PostalCode.value = _unref(FormatPostalCode)(_unref(PostalCode)))),\n onKeyup: _cache[15] || (_cache[15] = ($event: any) => (writeOdinField($event.target.value, 'postal')))\n }, null, 8, [\"modelValue\", \"error\"])\n ]),\n _: 1\n }),\n _createVNode(_component_cb_col, {\n desktop: \"4\",\n tablet: \"4\",\n phone: \"12\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_input, {\n modelValue: _unref(Country),\n \"onUpdate:modelValue\": _cache[16] || (_cache[16] = ($event: any) => (_isRef(Country) ? (Country).value = $event : null)),\n error: _unref(vuelidate).Country.$error,\n errorMessage: \"Country is required\",\n label: \"Country\",\n autocomplete: \"shipping country\",\n onChange: _cache[17] || (_cache[17] = ($event: any) => (Country.value = _unref(AutoCap)(_unref(Country))))\n }, null, 8, [\"modelValue\", \"error\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _cache[33] || (_cache[33] = _createElementVNode(\"div\", {\n class: \"section-subtitle\",\n style: {\"padding-top\":\"16px\"}\n }, \"Billing Address\", -1)),\n _createVNode(_component_cb_row, { class: \"billing-checkbox\" }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, null, {\n default: _withCtx(() => [\n _createVNode(_component_cb_checkbox_input, {\n modelValue: _unref(UseDifferentAddress),\n \"onUpdate:modelValue\": _cache[18] || (_cache[18] = ($event: any) => (_isRef(UseDifferentAddress) ? (UseDifferentAddress).value = $event : null)),\n label: \"Use a different address for billing\",\n name: \"billing\",\n color: \"accent\",\n val: false\n }, null, 8, [\"modelValue\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n (_unref(UseDifferentAddress))\n ? (_openBlock(), _createBlock(_component_cb_row, {\n key: 0,\n gutter: \"sm\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, {\n desktop: \"6\",\n tablet: \"6\",\n phone: \"12\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_input, {\n modelValue: _unref(BillingStreetAddress),\n \"onUpdate:modelValue\": _cache[19] || (_cache[19] = ($event: any) => (_isRef(BillingStreetAddress) ? (BillingStreetAddress).value = $event : null)),\n error: _unref(vuelidate).BillingStreetAddress.$error,\n errorMessage: \"Street address is required\",\n label: \"Street Address or PO Box\",\n autocomplete: \"shipping street-address\",\n class: \"street-address\",\n onKeyup: _cache[20] || (_cache[20] = ($event: any) => (writeOdinField($event.target.value, 'street')))\n }, null, 8, [\"modelValue\", \"error\"])\n ]),\n _: 1\n }),\n _createVNode(_component_cb_col, {\n desktop: \"6\",\n tablet: \"6\",\n phone: \"12\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_input, {\n modelValue: _unref(BillingCity),\n \"onUpdate:modelValue\": _cache[21] || (_cache[21] = ($event: any) => (_isRef(BillingCity) ? (BillingCity).value = $event : null)),\n error: _unref(vuelidate).BillingCity.$error,\n errorMessage: \"City is required\",\n label: \"City/Town\",\n autocomplete: \"shipping address-level2\",\n class: \"city-town\",\n onChange: _cache[22] || (_cache[22] = ($event: any) => (BillingCity.value = _unref(AutoCap)(_unref(BillingCity)))),\n onKeyup: _cache[23] || (_cache[23] = ($event: any) => (writeOdinField($event.target.value, 'city')))\n }, null, 8, [\"modelValue\", \"error\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n (_unref(UseDifferentAddress))\n ? (_openBlock(), _createBlock(_component_cb_row, {\n key: 1,\n gutter: \"sm\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, {\n desktop: \"3\",\n tablet: \"3\",\n phone: \"6\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_input, {\n modelValue: _unref(BillingProvinceState),\n \"onUpdate:modelValue\": _cache[24] || (_cache[24] = ($event: any) => (_isRef(BillingProvinceState) ? (BillingProvinceState).value = $event : null)),\n error: _unref(vuelidate).BillingProvinceState.$error,\n errorMessage: \"Field is required\",\n label: \"State/Province\",\n autocomplete: \"shipping province state\",\n class: \"state-province\",\n onChange: _cache[25] || (_cache[25] = ($event: any) => (BillingProvinceState.value = _unref(FormatProvince)(_unref(BillingProvinceState))))\n }, null, 8, [\"modelValue\", \"error\"])\n ]),\n _: 1\n }),\n _createVNode(_component_cb_col, {\n desktop: \"3\",\n tablet: \"3\",\n phone: \"6\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_input, {\n modelValue: _unref(BillingPostalCode),\n \"onUpdate:modelValue\": _cache[26] || (_cache[26] = ($event: any) => (_isRef(BillingPostalCode) ? (BillingPostalCode).value = $event : null)),\n error: _unref(vuelidate).BillingPostalCode.$error,\n errorMessage: \"Field is required\",\n label: \"Zip/Postal Code\",\n autocomplete: \"shipping postal-code\",\n class: \"postal-code\",\n onChange: _cache[27] || (_cache[27] = ($event: any) => (BillingPostalCode.value = _unref(FormatPostalCode)(_unref(BillingPostalCode)))),\n onKeyup: _cache[28] || (_cache[28] = ($event: any) => (writeOdinField($event.target.value, 'postal')))\n }, null, 8, [\"modelValue\", \"error\"])\n ]),\n _: 1\n }),\n _createVNode(_component_cb_col, {\n desktop: \"6\",\n tablet: \"6\",\n phone: \"12\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_input, {\n modelValue: _unref(BillingCountry),\n \"onUpdate:modelValue\": _cache[29] || (_cache[29] = ($event: any) => (_isRef(BillingCountry) ? (BillingCountry).value = $event : null)),\n name: \"country\",\n error: _unref(vuelidate).BillingCountry.$error,\n errorMessage: \"Country is required\",\n label: \"Country\",\n autocomplete: \"shipping country\",\n onChange: _cache[30] || (_cache[30] = ($event: any) => (BillingCountry.value = _unref(AutoCap)(_unref(BillingCountry))))\n }, null, 8, [\"modelValue\", \"error\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"class\"]))\n}\n}\n\n})","\n\n\n\n","import script from \"./DonorInformation.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./DonorInformation.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./DonorInformation.vue?vue&type=style&index=0&id=c7baea9c&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-c7baea9c\"]])\n\nexport default __exports__","export default class DayOfTheMonthMenuItem {\n // eslint-disable-next-line\n public constructor(public Name: string, public Value: number) {}\n}\n","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, createVNode as _createVNode, withCtx as _withCtx, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, isRef as _isRef } from \"vue\"\n\nconst _hoisted_1 = { class: \"recurring-text\" }\n\nimport DayOfTheMonthMenuItem from \"@/models/DayOfTheMonthMenuItem\";\nimport { useDonationStore } from \"@/stores/DonationStore\";\nimport { useSiteSettings } from \"@/stores/SiteSettingsStore\";\nimport { GetOrdinalForDayOfTheMonth } from \"@/utils/StringFunctions\";\nimport useVuelidate from \"@vuelidate/core\";\nimport { required, minValue, helpers, maxLength, requiredIf } from \"@vuelidate/validators\";\nimport { storeToRefs } from \"pinia\";\nimport { computed, ref } from \"vue\";\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'DonationInformation',\n setup(__props) {\n\nconst donationStore = useDonationStore();\nconst { DonationAmount, DonationNote, IsRecurringDonation, DayOfRecurrence } = storeToRefs(donationStore);\n\nconst siteSettingsStore = useSiteSettings();\nconst { SiteSettings, IsRecurringDonationsFeatureEnabled } = storeToRefs(siteSettingsStore);\n\nconst validations = computed(() => ({\n DonationAmount: { required, minValue: minValue(SiteSettings.value.MinimumAmount) },\n DonationNote: {\n maxLength: helpers.withMessage(\n ({ $model }) => `This field has a character limit of 4000. You entered ${$model.length}.`,\n maxLength(4000),\n ),\n },\n DayOfRecurrence: {\n required: requiredIf(() => {\n return IsRecurringDonation.value;\n }),\n },\n}));\n\nconst vuelidate = useVuelidate(validations, { DonationAmount, DonationNote, DayOfRecurrence }) as any;\n\nconst currentDate = new Date();\nconst DaysOfTheMonth: number[] = Array.from(\n { length: new Date(currentDate.getFullYear(), currentDate.getMonth() + 1, 0).getDate() },\n (_, i) => i + 1,\n);\n\nconst DaysOfTheMonthMenuItems: DayOfTheMonthMenuItem[] = DaysOfTheMonth.map((dayOfTheMonth: number) => {\n return new DayOfTheMonthMenuItem(`${dayOfTheMonth}${GetOrdinalForDayOfTheMonth(dayOfTheMonth)}`, dayOfTheMonth);\n});\n\nconst dayOfTheMonth: DayOfTheMonthMenuItem = DaysOfTheMonthMenuItems.find((day: DayOfTheMonthMenuItem) => {\n return day.Value === DayOfRecurrence.value;\n});\n\nconst DayOfRecurrenceValue = ref(dayOfTheMonth);\n\nfunction dayOfRecurrenceUpdated(newValue: DayOfTheMonthMenuItem): void {\n if (newValue) {\n DayOfRecurrence.value = newValue.Value;\n } else {\n DayOfRecurrence.value = null;\n }\n}\n\nreturn (_ctx: any,_cache: any) => {\n const _component_cb_button = _resolveComponent(\"cb-button\")!\n const _component_cb_col = _resolveComponent(\"cb-col\")!\n const _component_cb_row = _resolveComponent(\"cb-row\")!\n const _component_cb_money_input = _resolveComponent(\"cb-money-input\")!\n const _component_cb_textarea = _resolveComponent(\"cb-textarea\")!\n const _component_cb_select = _resolveComponent(\"cb-select\")!\n const _component_cb_card = _resolveComponent(\"cb-card\")!\n\n return (_openBlock(), _createBlock(_component_cb_card, {\n rounded: true,\n \"big-rounded\": true,\n class: \"amount-container\"\n }, {\n default: _withCtx(() => [\n _cache[8] || (_cache[8] = _createElementVNode(\"div\", { class: \"section-title padding-bottom-16\" }, \"Enter an Amount\", -1)),\n (_unref(IsRecurringDonationsFeatureEnabled))\n ? (_openBlock(), _createBlock(_component_cb_row, { key: 0 }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, { class: \"buttons-container\" }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_button, {\n label: \"One-Time Donation\",\n color: \"accent\",\n inverted: _unref(IsRecurringDonation),\n onClick: _cache[0] || (_cache[0] = ($event: any) => (IsRecurringDonation.value = false))\n }, null, 8, [\"inverted\"]),\n _createVNode(_component_cb_button, {\n label: \"Monthly Donation\",\n color: \"accent\",\n inverted: !_unref(IsRecurringDonation),\n onClick: _cache[1] || (_cache[1] = ($event: any) => (IsRecurringDonation.value = true))\n }, null, 8, [\"inverted\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true),\n _createVNode(_component_cb_row, { class: \"donation-amount-container\" }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, {\n desktop: \"4\",\n tablet: \"4\",\n phone: \"6\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_money_input, {\n modelValue: _unref(DonationAmount),\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_isRef(DonationAmount) ? (DonationAmount).value = $event : null)),\n label: \"Amount\",\n name: \"amount\",\n validate: _unref(vuelidate).DonationAmount,\n dense: \"\",\n \"money-whole\": \"\",\n big: \"\"\n }, null, 8, [\"modelValue\", \"validate\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n _createVNode(_component_cb_row, { class: \"donation-note-container\" }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, null, {\n default: _withCtx(() => [\n _createVNode(_component_cb_textarea, {\n modelValue: _unref(DonationNote),\n \"onUpdate:modelValue\": _cache[3] || (_cache[3] = ($event: any) => (_isRef(DonationNote) ? (DonationNote).value = $event : null)),\n label: \"Donation note (optional)\",\n name: \"note\",\n validate: _unref(vuelidate).DonationNote,\n error: _unref(vuelidate).DonationNote.$error,\n errorMessage: _unref(vuelidate).DonationNote.$errors[0]?.$message,\n dense: \"\",\n textareaAutogrow: \"\"\n }, null, 8, [\"modelValue\", \"validate\", \"error\", \"errorMessage\"])\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n (_unref(IsRecurringDonationsFeatureEnabled) && _unref(IsRecurringDonation))\n ? (_openBlock(), _createBlock(_component_cb_row, {\n key: 1,\n class: \"donation-recurrence-day\"\n }, {\n default: _withCtx(() => [\n _cache[7] || (_cache[7] = _createElementVNode(\"div\", {\n style: {\"width\":\"100%\"},\n class: \"separator\"\n }, null, -1)),\n _createVNode(_component_cb_col, null, {\n default: _withCtx(() => [\n _createElementVNode(\"span\", _hoisted_1, [\n _cache[5] || (_cache[5] = _createElementVNode(\"label\", null, \"This donation will repeat on the  \", -1)),\n _createVNode(_component_cb_select, {\n modelValue: DayOfRecurrenceValue.value,\n \"onUpdate:modelValue\": _cache[4] || (_cache[4] = ($event: any) => ((DayOfRecurrenceValue).value = $event)),\n options: _unref(DaysOfTheMonthMenuItems),\n optionLabel: \"Name\",\n error: _unref(vuelidate).DayOfRecurrence.$error,\n errorMessage: \"Value is required\",\n class: \"validation-adjust\",\n onChange: dayOfRecurrenceUpdated\n }, null, 8, [\"modelValue\", \"options\", \"error\"]),\n _cache[6] || (_cache[6] = _createElementVNode(\"label\", null, \"  of the month.\", -1))\n ])\n ]),\n _: 1\n })\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n}\n}\n\n})","\n\n\n\n\n","import script from \"./DonationInformation.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./DonationInformation.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./DonationInformation.vue?vue&type=style&index=0&id=4b463fb6&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-4b463fb6\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, resolveComponent as _resolveComponent, isRef as _isRef, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, withCtx as _withCtx, createVNode as _createVNode, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = [\"innerHTML\"]\nconst _hoisted_2 = {\n key: 1,\n label: \"Dedication Information\"\n}\n\nimport { GivingOption } from \"@/models/GivingOption\";\nimport { useDonationStore } from \"@/stores/DonationStore\";\nimport useVuelidate from \"@vuelidate/core\";\nimport { requiredIf } from \"@vuelidate/validators\";\nimport * as Gateway from \"@campbrain/bigbrain.givingportal.gateway\";\nimport { storeToRefs } from \"pinia\";\nimport { computed } from \"vue\";\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'DirectYourDonation',\n setup(__props) {\n\nconst donationsStore = useDonationStore();\nconst { SelectedGivingOptionId, SelectedDonationAttributionOption, DonationAttributionName, GivingOptions, DonationAttributionOptions } =\n storeToRefs(donationsStore);\n\nSelectedDonationAttributionOption.value = DonationAttributionOptions.value[0].Value;\n\nconst SelectedGivingOption = computed(() => {\n if (GivingOptions.value.length > 1) {\n return GivingOptions.value.filter((opt) => opt.Id === SelectedGivingOptionId.value)[0];\n } else {\n return GivingOptions.value[0];\n }\n});\n\nconst DisplayTributeOptions = computed(() => {\n const result =\n SelectedGivingOption.value && SelectedGivingOption.value.DonationAttribution == Gateway.DonationDedicationType.NoDedication;\n return result;\n});\n\nconst DisplayInMemoryOfTribute = computed(() => {\n return SelectedGivingOption.value && SelectedDonationAttributionOption.value == Gateway.DonationDedicationType.InMemoryOf;\n});\n\nconst DisplayInHonorOfTribute = computed(() => {\n return SelectedGivingOption.value && SelectedDonationAttributionOption.value == Gateway.DonationDedicationType.InHonourOf;\n});\n\nconst validations = computed(() => ({\n SelectedGivingOptionId: {\n required: requiredIf(() => {\n return GivingOptions.value.length > 1;\n }),\n },\n DonationAttributionName: {\n required: requiredIf(() => {\n return DisplayTributeOptions.value && (DisplayInMemoryOfTribute.value || DisplayInHonorOfTribute.value);\n }),\n },\n}));\n\nconst vuelidate = useVuelidate(validations, {\n DonationAttributionName,\n SelectedGivingOptionId,\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_cb_select = _resolveComponent(\"cb-select\")!\n const _component_cb_col = _resolveComponent(\"cb-col\")!\n const _component_cb_row = _resolveComponent(\"cb-row\")!\n const _component_cb_input = _resolveComponent(\"cb-input\")!\n const _component_cb_card = _resolveComponent(\"cb-card\")!\n\n return (_openBlock(), _createBlock(_component_cb_card, {\n rounded: true,\n \"big-rounded\": true,\n class: \"direct-donation-container\"\n }, {\n default: _withCtx(() => [\n _cache[3] || (_cache[3] = _createElementVNode(\"div\", { class: \"section-title\" }, \"Direct Your Donation\", -1)),\n _createVNode(_component_cb_row, { class: \"direct-container\" }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, null, {\n default: _withCtx(() => [\n (_unref(GivingOptions).length > 1)\n ? (_openBlock(), _createBlock(_component_cb_select, {\n key: 0,\n modelValue: _unref(SelectedGivingOptionId),\n \"onUpdate:modelValue\": _cache[0] || (_cache[0] = ($event: any) => (_isRef(SelectedGivingOptionId) ? (SelectedGivingOptionId).value = $event : null)),\n name: \"\",\n label: \"Please select\",\n options: _unref(GivingOptions),\n optionValue: \"Id\",\n optionLabel: \"Name\",\n error: _unref(vuelidate).SelectedGivingOptionId.$error,\n errorMessage: \"Value is required\",\n \"emit-value\": \"\",\n \"map-options\": \"\"\n }, null, 8, [\"modelValue\", \"options\", \"error\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n (SelectedGivingOption.value && SelectedGivingOption.value.Description)\n ? (_openBlock(), _createElementBlock(\"div\", {\n key: 0,\n class: \"donation-image-text\",\n innerHTML: SelectedGivingOption.value.Description\n }, null, 8, _hoisted_1))\n : _createCommentVNode(\"\", true),\n (DisplayTributeOptions.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createVNode(_component_cb_row, {\n class: \"dedication-container\",\n gutter: \"sm\"\n }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, {\n desktop: \"4\",\n tablet: \"6\"\n }, {\n default: _withCtx(() => [\n (DisplayTributeOptions.value)\n ? (_openBlock(), _createBlock(_component_cb_select, {\n key: 0,\n modelValue: _unref(SelectedDonationAttributionOption),\n \"onUpdate:modelValue\": _cache[1] || (_cache[1] = ($event: any) => (_isRef(SelectedDonationAttributionOption) ? (SelectedDonationAttributionOption).value = $event : null)),\n options: _unref(DonationAttributionOptions),\n optionLabel: \"Name\",\n optionValue: \"Value\",\n label: \"Dedication\",\n \"emit-value\": \"\",\n \"map-options\": \"\"\n }, null, 8, [\"modelValue\", \"options\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }),\n _createVNode(_component_cb_col, {\n desktop: \"6\",\n tablet: \"6\",\n class: \"mobile-gutter\"\n }, {\n default: _withCtx(() => [\n (DisplayTributeOptions.value && (DisplayInMemoryOfTribute.value || DisplayInHonorOfTribute.value))\n ? (_openBlock(), _createBlock(_component_cb_input, {\n key: 0,\n modelValue: _unref(DonationAttributionName),\n \"onUpdate:modelValue\": _cache[2] || (_cache[2] = ($event: any) => (_isRef(DonationAttributionName) ? (DonationAttributionName).value = $event : null)),\n class: \"input-adjustment\",\n label: \"Enter Name\",\n error: _unref(vuelidate).DonationAttributionName.$error,\n errorMessage: _unref(vuelidate).DonationAttributionName.$errors[0]?.$message\n }, null, 8, [\"modelValue\", \"error\", \"errorMessage\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n })\n ]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }))\n}\n}\n\n})","\n\n\n\n\n","import script from \"./DirectYourDonation.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./DirectYourDonation.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./DirectYourDonation.vue?vue&type=style&index=0&id=e6402902&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-e6402902\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, resolveComponent as _resolveComponent, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, withCtx as _withCtx, createBlock as _createBlock, isRef as _isRef, normalizeClass as _normalizeClass, withModifiers as _withModifiers, createStaticVNode as _createStaticVNode, Fragment as _Fragment } from \"vue\"\n\nconst _hoisted_1 = { key: 0 }\nconst _hoisted_2 = { key: 1 }\nconst _hoisted_3 = [\"innerHTML\"]\nconst _hoisted_4 = { class: \"caption\" }\nconst _hoisted_5 = { style: {\"white-space\":\"nowrap\"} }\n\nimport * as Gateway from \"@campbrain/bigbrain.givingportal.gateway\";\nimport ConfirmationDialog from \"../components/ConfirmationDialog.vue\";\nimport useVuelidate from \"@vuelidate/core\";\nimport { required } from \"@vuelidate/validators\";\nimport { ref, computed, onBeforeMount, onMounted } from \"vue\";\nimport router from \"@/router\";\n\nimport { CBPayField, Notify } from \"@campbrain/cortex\";\nimport { useSiteSettings } from \"@/stores/SiteSettingsStore\";\nimport { storeToRefs } from \"pinia\";\nimport { useDonationStore } from \"@/stores/DonationStore\";\n\nimport DonorInformation from \"@/components/DonorInformation.vue\";\nimport DonationInformation from \"@/components/DonationInformation.vue\";\nimport DirectYourDonation from \"@/components/DirectYourDonation.vue\";\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'DonationForm',\n setup(__props) {\n\nconst siteSettingsStore = useSiteSettings();\nconst { Version, Description, ButtonTextColour, IsEnabled } = storeToRefs(siteSettingsStore);\n\nconst donationStore = useDonationStore();\nconst {\n DonationAttempts,\n DonationAmount,\n Email,\n SubmitPaymentClicked,\n IsLoading,\n GivingOptions,\n CardholderName,\n Token,\n SelectedGivingOption,\n IsSubmittingPayment,\n ShowBamboraError,\n ByPassCaptcha,\n RecaptchaToken,\n PaymentDeclined,\n PreviousSubmissionDeclinedDonationId,\n ShowConfirmation,\n paymentMethod,\n} = storeToRefs(donationStore);\n\nconst PayField = ref();\nconst ErrorMessage = ref(\"\");\nconst publicToken = ref(\"\");\nconst odinResults = ref();\nconst waitingOdinResponse = ref(false);\nconst currentRecaptchaKey = ref(\"\");\nconst formDisabled = ref(false);\n\nconst isOdin = computed(() => {\n return paymentMethod.value.Processor?.Processor === Gateway.ProcessorType.Odin;\n});\n\nlet HasLoadedCaptchaScript = false;\nlet CaptchaWidgetId: string;\n\nconst currentProcessor = computed(() => {\n if (isOdin.value) getPublicToken();\n return paymentMethod.value.Processor?.Processor;\n});\nconst creditCardComponentReady = computed(() => {\n return (\n currentProcessor.value === Gateway.ProcessorType.Bambora ||\n (currentProcessor.value === Gateway.ProcessorType.Odin && publicToken.value != \"\")\n );\n});\n\nfunction DispatchValidation(): void {\n SubmitPaymentClicked.value = !SubmitPaymentClicked.value;\n}\n\nconst SiteHasPaymentOption = computed(() => {\n return !!siteSettingsStore.SiteSettings && !!siteSettingsStore.SiteSettings.SelectedPaymentOptionId;\n});\n\nfunction OnloadCallback() {\n CaptchaWidgetId = (window).grecaptcha.render(\"CaptchaSubmit\", {\n sitekey: siteSettingsStore.CaptchaSiteKey,\n callback: ValidateOnSubmit,\n });\n}\n\n(window).OnloadCallback = OnloadCallback;\n\nfunction getCaptchaScript(): void {\n const recaptchaScript = document.createElement(\"script\");\n recaptchaScript.setAttribute(\"src\", \"https://www.google.com/recaptcha/api.js?onload=OnloadCallback&render=explicit\");\n document.head.appendChild(recaptchaScript);\n}\n\nfunction OnCaptchaExpired() {\n if (!ByPassCaptcha.value) {\n (window).grecaptcha.reset(CaptchaWidgetId);\n }\n}\n\nfunction CheckForBypassParam(): boolean {\n const queryString: string = window.location.search.substring(1);\n\n const params: { [id: string]: string } = {};\n\n const queries = queryString.split(\"&\");\n\n queries.forEach((indexQuery: string) => {\n const indexPair = indexQuery.split(\"=\");\n\n const queryKey: string = decodeURIComponent(indexPair[0]);\n const queryValue: string = decodeURIComponent(indexPair.length > 1 ? indexPair[1] : \"\");\n\n params[queryKey] = queryValue;\n });\n\n return params[\"specflowletsgo\"] === \"true\";\n}\n\nfunction closeDialog(paymentDeclined: boolean): void {\n ShowConfirmation.value = false;\n ShowBamboraError.value = paymentDeclined;\n PayField.value.refreshToken();\n OnCaptchaExpired();\n}\n\nfunction checkOdinResult(odinResponse) {\n odinResults.value = odinResponse;\n waitingOdinResponse.value = false;\n executeValidation(currentRecaptchaKey.value);\n if (!odinResponse.success) {\n document.getElementById(\"parentDivodin-card-info\").style.borderColor = \"red\";\n document.getElementById(\"parentDivodin-card-info\").style.borderWidth = \"2px\";\n }\n}\n\nfunction OnSubmitted(): void {\n if (Token.value == null) {\n DispatchValidation();\n } else {\n DonationAttempts.value = DonationAttempts.value + 1;\n IsSubmittingPayment.value = true;\n PaymentDeclined.value = false;\n ShowBamboraError.value = false;\n Gateway.ApiGateway.SubmitDonation(donationStore.ToDTO()).then((response) => {\n if (response.data.Success) {\n if (siteSettingsStore.SiteSettings.FacebookPixelEnabled) {\n (window).fbq(\"track\", \"Donate\", {\n value: DonationAmount,\n currency: siteSettingsStore.SiteSettings.FacebookPixelCurrency,\n });\n }\n router.push({\n name: \"Confirmation\",\n });\n } else {\n PaymentDeclined.value = true;\n OnCaptchaExpired();\n PreviousSubmissionDeclinedDonationId.value = response.data.Id;\n ErrorMessage.value = \"The transaction could not be completed. Reason: \" + response.data.Exception;\n PayField.value.refreshToken();\n }\n IsSubmittingPayment.value = false;\n });\n }\n}\n\nfunction executeValidation(recaptchaToken: string = \"\") {\n if (validateForm() && ByPassCaptcha.value) {\n PayField.value.refreshToken();\n PaymentDeclined.value = false;\n ShowConfirmation.value = true;\n } else if (validateForm() && !ByPassCaptcha.value) {\n PayField.value.refreshToken();\n PaymentDeclined.value = false;\n RecaptchaToken.value = recaptchaToken;\n ShowConfirmation.value = true;\n } else {\n if (!ByPassCaptcha.value) {\n OnCaptchaExpired();\n }\n setTimeout(() => {\n ScrollToError();\n }, 100);\n }\n}\n\nfunction ValidateOnSubmit(recaptchaToken: string): void {\n currentRecaptchaKey.value = recaptchaToken;\n\n if (DonationAttempts.value >= process.env.VUE_APP_MAX_DONATION_ATTEMPTS) {\n formDisabled.value = true;\n Notify.create({\n //Generic System Error\n message:\n \"We were unable to process your donation and you have exceeded the number of retries available. Refresh the page to try again.\",\n type: \"cb-error\",\n icon: \"\",\n group: false,\n position: \"center\",\n multiLine: true,\n timeout: 0,\n html: true,\n actions: [\n {\n label: \"Refresh\",\n color: \"red-10\",\n handler: () => {\n window.location.reload();\n },\n },\n ],\n });\n\n return;\n }\n\n DispatchValidation();\n if (currentProcessor.value !== Gateway.ProcessorType.Odin) {\n executeValidation(recaptchaToken);\n return;\n }\n\n waitingOdinResponse.value = true;\n odinResults.value = null;\n document.getElementById(\"odin-submit\")?.click();\n}\n\nconst validations = computed(() => ({\n CardholderName: { required },\n Token: { required },\n}));\n\nconst vuelidate = useVuelidate(validations, {\n CardholderName,\n Token,\n});\n\nfunction validateForm(): boolean {\n vuelidate.value.$validate();\n if (vuelidate.value.$errors.length > 0) {\n return false;\n }\n return true;\n}\n\nfunction ScrollToError() {\n const el = document.querySelector(\".text-negative:first-of-type\");\n if (el) el.scrollIntoView();\n}\n\nByPassCaptcha.value = CheckForBypassParam();\n\nasync function getPublicToken() {\n const result = await Gateway.ApiGateway.PaymentPublicToken(paymentMethod.value.Id);\n publicToken.value = result.data.Token;\n}\n\nonMounted(() => {\n setTimeout(() => {\n if (!HasLoadedCaptchaScript && !ByPassCaptcha.value && IsEnabled.value) {\n HasLoadedCaptchaScript = true;\n getCaptchaScript();\n }\n }, 1000);\n});\n\nonBeforeMount(async () => {\n IsLoading.value = true;\n if (IsEnabled.value) {\n await donationStore.GetGivingOptions();\n await donationStore.GetDonationAttributingSpelling();\n await donationStore.getPaymentMethods();\n }\n\n if (GivingOptions.value.length === 0 || !SiteHasPaymentOption.value) {\n router.push({\n name: \"SiteNotEnabled\",\n });\n }\n\n IsLoading.value = false;\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_cb_spinner = _resolveComponent(\"cb-spinner\")!\n const _component_cb_alert = _resolveComponent(\"cb-alert\")!\n const _component_cb_col = _resolveComponent(\"cb-col\")!\n const _component_cb_row = _resolveComponent(\"cb-row\")!\n const _component_cb_pay_field = _resolveComponent(\"cb-pay-field\")!\n const _component_cb_card = _resolveComponent(\"cb-card\")!\n const _component_cb_button = _resolveComponent(\"cb-button\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n (_unref(IsLoading))\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createVNode(_component_cb_spinner)\n ]))\n : _createCommentVNode(\"\", true),\n (!_unref(IsLoading) && _unref(GivingOptions) && _unref(GivingOptions).length > 0 && SiteHasPaymentOption.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_2, [\n _createElementVNode(\"form\", {\n ref: \"form\",\n onSubmit: _cache[3] || (_cache[3] = _withModifiers(\n//@ts-ignore\n(...args) => (_ctx.submitForm && _ctx.submitForm(...args)), [\"prevent\"]))\n }, [\n _createElementVNode(\"div\", {\n class: \"main-description\",\n innerHTML: _unref(Description)\n }, null, 8, _hoisted_3),\n _createVNode(DonationInformation),\n _cache[8] || (_cache[8] = _createElementVNode(\"br\", null, null, -1)),\n _createVNode(DirectYourDonation),\n _cache[9] || (_cache[9] = _createElementVNode(\"br\", null, null, -1)),\n _createVNode(DonorInformation),\n _createElementVNode(\"div\", null, [\n _cache[5] || (_cache[5] = _createElementVNode(\"br\", null, null, -1)),\n _createVNode(_component_cb_card, {\n rounded: \"\",\n \"big-rounded\": \"\",\n class: \"payment-container\"\n }, {\n default: _withCtx(() => [\n _cache[4] || (_cache[4] = _createElementVNode(\"div\", { class: \"section-title padding-bottom-16\" }, \"Payment Information\", -1)),\n _createVNode(_component_cb_row, null, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, null, {\n default: _withCtx(() => [\n (_unref(ShowBamboraError))\n ? (_openBlock(), _createBlock(_component_cb_alert, {\n key: 0,\n icon: \"fas fa-exclamation-triangle\",\n color: \"orange\",\n dismissible: \"\",\n onDismiss: _cache[0] || (_cache[0] = ($event: any) => (ShowBamboraError.value = false))\n }, {\n default: _withCtx(() => [\n _createTextVNode(_toDisplayString(ErrorMessage.value), 1)\n ]),\n _: 1\n }))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n })\n ]),\n _: 1\n }),\n (creditCardComponentReady.value)\n ? (_openBlock(), _createBlock(_component_cb_row, { key: 0 }, {\n default: _withCtx(() => [\n _createVNode(_component_cb_col, {\n class: _normalizeClass(currentProcessor.value === Gateway.ProcessorType.Odin ? 'odin' : '')\n }, {\n default: _withCtx(() => [\n (!formDisabled.value)\n ? (_openBlock(), _createBlock(_component_cb_pay_field, {\n key: 0,\n ref_key: \"PayField\",\n ref: PayField,\n tokenValue: _unref(Token),\n \"onUpdate:tokenValue\": _cache[1] || (_cache[1] = ($event: any) => (_isRef(Token) ? (Token).value = $event : null)),\n cardholderName: _unref(CardholderName),\n \"onUpdate:cardholderName\": _cache[2] || (_cache[2] = ($event: any) => (_isRef(CardholderName) ? (CardholderName).value = $event : null)),\n errorCardholder: _unref(vuelidate).CardholderName.$error,\n errorToken: _unref(vuelidate).Token.$error,\n twoRows: \"\",\n publicToken: publicToken.value,\n processor: currentProcessor.value,\n onOdinResult: checkOdinResult\n }, null, 8, [\"tokenValue\", \"cardholderName\", \"errorCardholder\", \"errorToken\", \"publicToken\", \"processor\"]))\n : _createCommentVNode(\"\", true)\n ]),\n _: 1\n }, 8, [\"class\"])\n ]),\n _: 1\n }))\n : (_openBlock(), _createBlock(_component_cb_spinner, { key: 1 }))\n ]),\n _: 1\n }),\n _cache[6] || (_cache[6] = _createElementVNode(\"br\", null, null, -1)),\n _cache[7] || (_cache[7] = _createElementVNode(\"hr\", null, null, -1)),\n (_unref(ByPassCaptcha))\n ? (_openBlock(), _createBlock(_component_cb_button, {\n key: 0,\n color: \"accent\",\n label: \"Review and Submit\",\n disabled: formDisabled.value,\n loading: isOdin.value && waitingOdinResponse.value,\n type: \"submit\",\n onClick: ValidateOnSubmit\n }, null, 8, [\"disabled\", \"loading\"]))\n : (_openBlock(), _createBlock(_component_cb_button, {\n key: 1,\n id: \"CaptchaSubmit\",\n loading: isOdin.value && waitingOdinResponse.value,\n color: \"accent\",\n label: \"Review and Submit\",\n disabled: formDisabled.value,\n type: \"submit\"\n }, null, 8, [\"loading\", \"disabled\"])),\n _createVNode(ConfirmationDialog, {\n ButtonTextColour: _unref(ButtonTextColour),\n DonationAmount: _unref(DonationAmount),\n Email: _unref(Email),\n GivingOption: _unref(SelectedGivingOption) && _unref(SelectedGivingOption).Name,\n IsSubmittingPayment: _unref(IsSubmittingPayment),\n PaymentDeclined: _unref(PaymentDeclined),\n onDonationSubmitted: OnSubmitted,\n onCloseDialog: closeDialog\n }, null, 8, [\"ButtonTextColour\", \"DonationAmount\", \"Email\", \"GivingOption\", \"IsSubmittingPayment\", \"PaymentDeclined\"])\n ])\n ], 544),\n _cache[10] || (_cache[10] = _createStaticVNode(\"

By submitting your donation, you agree to our Terms and Privacy Policy.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

\", 1)),\n _createElementVNode(\"div\", _hoisted_4, [\n _createElementVNode(\"p\", _hoisted_5, \" © \" + _toDisplayString(new Date().getFullYear()) + \" BrainRunner Inc. | \" + _toDisplayString(_unref(Version)), 1)\n ])\n ]))\n : _createCommentVNode(\"\", true)\n ], 64))\n}\n}\n\n})","\n\n\n\n\n","import script from \"./DonationForm.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./DonationForm.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./DonationForm.vue?vue&type=style&index=0&id=26a497fe&scoped=true&lang=css\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-26a497fe\"]])\n\nexport default __exports__","import { defineComponent as _defineComponent } from 'vue'\nimport { resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = { key: 1 }\nconst _hoisted_2 = [\"innerHTML\"]\n\nimport * as Gateway from \"@campbrain/bigbrain.givingportal.gateway\";\nimport Axios, { AxiosResponse } from \"axios\";\nimport { ref } from \"vue\";\nimport { useSiteSettings } from \"@/stores/SiteSettingsStore\";\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'ConfirmationPage',\n setup(__props) {\n\nconst ConfirmationWording = ref(\"\");\nconst Loading = ref(true);\n\nconst siteSettingsStore = useSiteSettings();\nConfirmationWording.value = siteSettingsStore.Confirmation.ConfirmationWording;\n\nAxios.all([GetSiteInfo()])\n .then(\n Axios.spread((siteInfo: AxiosResponse) => {\n ConfirmationWording.value = siteInfo.data.Confirmation.ConfirmationWording;\n Loading.value = false;\n window.scrollTo(0, 0);\n }),\n )\n .catch(() => {\n Loading.value = false;\n });\n\nfunction GetSiteInfo() {\n return Gateway.ApiGateway.GetSiteInfo();\n}\n\nreturn (_ctx: any,_cache: any) => {\n const _component_cb_spinner = _resolveComponent(\"cb-spinner\")!\n\n return (_openBlock(), _createElementBlock(\"div\", null, [\n (Loading.value)\n ? (_openBlock(), _createBlock(_component_cb_spinner, { key: 0 }))\n : _createCommentVNode(\"\", true),\n (!Loading.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", { innerHTML: ConfirmationWording.value }, null, 8, _hoisted_2)\n ]))\n : _createCommentVNode(\"\", true)\n ]))\n}\n}\n\n})","\n\n\n","import script from \"./ConfirmationPage.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./ConfirmationPage.vue?vue&type=script&setup=true&lang=ts\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", null, _cache[0] || (_cache[0] = [\n _createElementVNode(\"div\", { class: \"text-h4 text-center\" }, \"Site Unavailable\", -1),\n _createElementVNode(\"div\", { class: \"text-body1 text-center\" }, \" The site you are trying to access is unavailable at this time. For more information or to make a donation, please call our office. \", -1)\n ])))\n}","\n\n\n","import { render } from \"./SiteNotEnabled.vue?vue&type=template&id=34e59ff2&ts=true\"\nimport script from \"./SiteNotEnabled.vue?vue&type=script&lang=ts\"\nexport * from \"./SiteNotEnabled.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nexport function render(_ctx: any,_cache: any,$props: any,$setup: any,$data: any,$options: any) {\n return (_openBlock(), _createElementBlock(\"div\", null, _cache[0] || (_cache[0] = [\n _createElementVNode(\"div\", { class: \"text-h4 text-center\" }, \"Site Not Found\", -1),\n _createElementVNode(\"div\", { class: \"text-body1 text-center\" }, \"The site you are trying to access does not exist.\", -1)\n ])))\n}","\n\n\n","import { render } from \"./SiteNotFound.vue?vue&type=template&id=fefe5240&ts=true\"\nimport script from \"./SiteNotFound.vue?vue&type=script&lang=ts\"\nexport * from \"./SiteNotFound.vue?vue&type=script&lang=ts\"\n\nimport exportComponent from \"../../node_modules/vue-loader/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['render',render]])\n\nexport default __exports__","import { createRouter, createWebHistory, RouteRecordRaw } from \"vue-router\";\nimport DonationForm from \"@/views/DonationForm.vue\";\nimport ConfirmationPage from \"@/views/ConfirmationPage.vue\";\nimport SiteNotEnabled from \"@/views/SiteNotEnabled.vue\";\nimport SiteNotFound from \"@/views/SiteNotFound.vue\";\n\nconst routes: Array = [\n {\n path: \"/\",\n name: \"Form\",\n component: DonationForm,\n },\n {\n path: \"/\",\n name: \"Confirmation\",\n component: ConfirmationPage,\n },\n {\n path: \"/SiteNotEnabled/\",\n name: \"SiteNotEnabled\",\n component: SiteNotEnabled,\n },\n {\n path: \"/SiteNotFound/\",\n name: \"SiteNotFound\",\n component: SiteNotFound,\n },\n {\n path: \"/:pathMatch(.*)*\",\n redirect: \"/\",\n },\n];\n\nconst router = createRouter({\n history: createWebHistory(process.env.BASE_URL),\n routes,\n});\n\nexport default router;\n","import { defineComponent as _defineComponent } from 'vue'\nimport { unref as _unref, resolveComponent as _resolveComponent, openBlock as _openBlock, createBlock as _createBlock, createCommentVNode as _createCommentVNode, createElementVNode as _createElementVNode, withCtx as _withCtx } from \"vue\"\n\nconst _hoisted_1 = [\"innerHTML\"]\n\nimport { GetTextColourFromBackground } from \"./utils/StringFunctions\";\nimport { onBeforeMount } from \"vue\";\nimport router from \"@/router\";\n\nimport { applyOptions } from \"@campbrain/cortex\";\nimport { useSiteSettings } from \"./stores/SiteSettingsStore\";\nimport { storeToRefs } from \"pinia\";\n\n\nexport default /*@__PURE__*/_defineComponent({\n __name: 'App',\n setup(__props) {\n\nconst siteSettingsStore = useSiteSettings();\nconst { VisualSettings, SiteSettings, ButtonTextColour, IsValidSite, IsEnabled, IsLoading } = storeToRefs(siteSettingsStore);\n\nasync function GetVisualSettings() {\n IsLoading.value = true;\n await siteSettingsStore.getSiteInfo();\n\n if (!IsEnabled.value) {\n router.push({\n name: \"SiteNotFound\",\n });\n return;\n }\n\n if (!IsValidSite.value) {\n router.push({\n name: \"SiteNotEnabled\",\n });\n return;\n }\n\n ButtonTextColour.value = GetTextColourFromBackground(VisualSettings.value.DarkColor);\n\n document.title = VisualSettings.value.SiteName;\n\n if (SiteSettings.value.FacebookPixelEnabled) {\n (window).fbq(\"init\", SiteSettings.value.FacebookPixelId);\n (window).fbq(\"track\", \"PageView\");\n }\n\n applyOptions({\n colours: {\n primary: VisualSettings.value.BaseColor,\n accent: VisualSettings.value.DarkColor,\n },\n });\n\n router.push({\n name: \"Form\",\n });\n}\nonBeforeMount(async () => {\n await GetVisualSettings();\n IsLoading.value = false;\n});\n\nreturn (_ctx: any,_cache: any) => {\n const _component_cb_header = _resolveComponent(\"cb-header\")!\n const _component_router_view = _resolveComponent(\"router-view\")!\n const _component_cb_page_layout = _resolveComponent(\"cb-page-layout\")!\n\n return (_openBlock(), _createBlock(_component_cb_page_layout, {\n footerColor: _unref(VisualSettings)?.FooterColor,\n backgroundImage: _unref(VisualSettings)?.BackgroundImageURL,\n backgroundType: _unref(VisualSettings)?.BackgroundType,\n backgroundColor: _unref(VisualSettings)?.BackgroundColor\n }, {\n body: _withCtx(() => [\n (_unref(VisualSettings)?.HeaderImageUrl)\n ? (_openBlock(), _createBlock(_component_cb_header, {\n key: 0,\n headerImageUrl: _unref(VisualSettings)?.HeaderImageUrl,\n headerImageAlignment: _unref(VisualSettings)?.HeaderImageAlignment\n }, null, 8, [\"headerImageUrl\", \"headerImageAlignment\"]))\n : _createCommentVNode(\"\", true),\n (!_unref(IsLoading))\n ? (_openBlock(), _createBlock(_component_router_view, { key: 1 }))\n : _createCommentVNode(\"\", true)\n ]),\n footer: _withCtx(() => [\n _createElementVNode(\"div\", {\n innerHTML: _unref(VisualSettings)?.Footer\n }, null, 8, _hoisted_1)\n ]),\n _: 1\n }, 8, [\"footerColor\", \"backgroundImage\", \"backgroundType\", \"backgroundColor\"]))\n}\n}\n\n})","\n\n\n\n\n\n","import script from \"./App.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./App.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./App.vue?vue&type=style&index=0&id=fa867578&lang=css\"\nimport \"./App.vue?vue&type=style&index=1&id=fa867578&lang=css\"\n\nconst __exports__ = script;\n\nexport default __exports__","import { createApp } from \"vue\";\nimport App from \"./App.vue\";\nimport router from \"./router\";\nimport axios from \"axios\";\nimport { ApplicationInsights } from \"@microsoft/applicationinsights-web\";\nimport { default as CbComponents } from \"@campbrain/cortex\";\nimport { createPinia } from \"pinia\";\n\naxios.interceptors.request.use((config) => {\n const subdomain: string = window.location.host.split(\".\")[0];\n if (process.env.NODE_ENV === \"development\") {\n // config.baseURL = \"https://devdemo.bigbrainqa.com\";\n config.baseURL = \"https://\" + subdomain + \".lacolhost.com:44368\";\n } else {\n config.baseURL = \"https://\" + subdomain + \".\" + process.env.VUE_APP_API_ENDPOINT_URL;\n }\n return config;\n});\n\nconst app = createApp(App);\n\nconst pinia = createPinia();\n\napp.use(pinia);\napp.use(router);\napp.use(CbComponents as any);\napp.mount(\"#app\");\n\nconst appInsights = new ApplicationInsights({\n config: {\n instrumentationKey: process.env.VUE_APP_INSIGHTS,\n /* ...Other Configuration Options... */\n },\n});\nappInsights.loadAppInsights();\nappInsights.trackPageView();\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar chunkIds = deferred[i][0];\n\t\tvar fn = deferred[i][1];\n\t\tvar priority = deferred[i][2];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tvar r = fn();\n\t\t\tif (r !== undefined) result = r;\n\t\t}\n\t}\n\treturn result;\n};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t524: 0\n};\n\n// no chunk on demand loading\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar chunkIds = data[0];\n\tvar moreModules = data[1];\n\tvar runtime = data[2];\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\treturn __webpack_require__.O(result);\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkgivingportal\"] = self[\"webpackChunkgivingportal\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [504], () => (__webpack_require__(313)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"names":["regexPostalCodeCanadian1","RegExp","regexPostalCodeCanadian2","regexPostalCodeAmerican1","regexPostalCodeAmerican2","regexProvinceWith2Letters","AutoCap","input","toLowerCase","formattedStr","newWord","x","length","c","charAt","toUpperCase","FormatPostalCode","postalCode","trim","test","substring","substr","FormatProvince","trimmedInput","GetTextColourFromBackground","backgroundColour","white","black","hex","replace","r","parseInt","g","b","lumina","reduce","y","GetOrdinalForDayOfTheMonth","day","Events","static","DonationAttributionType","Name","Value","name","value","this","GivingOption","Id","Description","Order","DonationAttribution","DonationAttributionName","option","useDonationStore","state","DonationAttempts","DonationAmount","DonationNote","GivingOptions","SelectedGivingOptionId","SelectedDonationAttributionOption","DonationAttributionOptions","NoDedication","InMemoryOf","InHonourOf","FirstName","LastName","Email","PhoneNumber","PhoneNumberTypes","SelectedPhoneNumberType","PhoneExtension","StreetAddress","City","ProvinceState","Country","PostalCode","BillingStreetAddress","BillingCity","BillingProvinceState","BillingCountry","BillingPostalCode","UseDifferentAddress","CardholderName","IsSubmittingPayment","PaymentDeclined","Token","SubmitPaymentClicked","UseCanadianSpelling","ByPassCaptcha","RecaptchaToken","ShowBamboraError","PreviousSubmissionDeclinedDonationId","ShowConfirmation","IsLoading","IsRecurringDonation","DayOfRecurrence","Date","getDate","paymentMethod","getters","SelectedGivingOption","filter","opt","DedicationString","type","find","attributionOption","CalculatedRecurrenceDate","currentDate","scheduledDate","getFullYear","getMonth","daysNextMonth","IsDayOfRecurrenceToday","DayOfRecurrenceOrdinal","actions","GetGivingOptions","response","data","map","GetDonationAttributingSpelling","GetDisplayCanadianSpelling","ToDTO","dto","Amount","Attribution","AttributedTo","PhoneNumberType","State","BillingAddress","BillingState","UseBillingAddress","CardHolderName","IsRecurring","getPaymentMethods","PaymentMethod","error","console","_hoisted_1","class","_hoisted_2","key","_hoisted_3","_hoisted_4","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","__name","emits","DonationSubmitted","setup","__props","emit","__emit","donationStore","RecurringDonationAmount","DonationAmountText","submit","_ctx","_cache","_component_cb_col","_component_cb_row","_component_cb_alert","_component_cb_button","_component_cb_modal_page","_component_cb_spinner","_component_cb_icon","_component_cb_app","_component_cb_modal","modelValue","$event","persistent","customWidth","default","header","body","desktop","tablet","phone","_","textContent","style","color","toLocaleDateString","month","footer","label","onClick","$emit","__exports__","useSiteSettings","VisualSettings","SiteSettings","Confirmation","GoogleTagSettings","ButtonTextColour","CaptchaSiteKey","IsValidSite","FooterHeight","Version","IsEnabled","IsRecurringDonationsFeatureEnabled","CountryCodes","getSiteInfo","givingSite","GetSiteInfo","LookAndFeel","RecurringDonationsEnabled","siteSettingsStore","validations","required","withMessage","maxLength","email","writeOdinField","newValue","field","Processor","Odin","odinElement","document","querySelector","dispatchEvent","Event","vuelidate","phoneTypeUpdated","phoneExtensionUpdated","_component_cb_input","_component_cb_email_input","_component_cb_phone_input","_component_cb_checkbox_input","_component_cb_card","rounded","gutter","validate","$error","id","phoneType","extension","errorMessage","autocomplete","onKeyup","target","onChange","val","DayOfTheMonthMenuItem","minValue","MinimumAmount","$model","DaysOfTheMonth","Array","from","i","DaysOfTheMonthMenuItems","dayOfTheMonth","DayOfRecurrenceValue","dayOfRecurrenceUpdated","_component_cb_money_input","_component_cb_textarea","_component_cb_select","inverted","dense","big","$errors","$message","textareaAutogrow","options","optionLabel","donationsStore","DisplayTributeOptions","result","DisplayInMemoryOfTribute","DisplayInHonorOfTribute","optionValue","innerHTML","PayField","ErrorMessage","publicToken","odinResults","waitingOdinResponse","currentRecaptchaKey","formDisabled","isOdin","CaptchaWidgetId","HasLoadedCaptchaScript","currentProcessor","getPublicToken","creditCardComponentReady","Bambora","DispatchValidation","SiteHasPaymentOption","SelectedPaymentOptionId","OnloadCallback","window","grecaptcha","render","sitekey","callback","ValidateOnSubmit","getCaptchaScript","recaptchaScript","createElement","setAttribute","head","appendChild","OnCaptchaExpired","reset","CheckForBypassParam","queryString","location","search","params","queries","split","forEach","indexQuery","indexPair","queryKey","decodeURIComponent","queryValue","closeDialog","paymentDeclined","refreshToken","checkOdinResult","odinResponse","executeValidation","success","getElementById","borderColor","borderWidth","OnSubmitted","SubmitDonation","then","Success","FacebookPixelEnabled","fbq","currency","FacebookPixelCurrency","push","Exception","recaptchaToken","validateForm","setTimeout","ScrollToError","create","message","icon","group","position","multiLine","timeout","html","handler","reload","click","$validate","el","scrollIntoView","async","PaymentPublicToken","_component_cb_pay_field","ref","onSubmit","args","submitForm","DonationInformation","DirectYourDonation","DonorInformation","dismissible","onDismiss","ref_key","tokenValue","cardholderName","errorCardholder","errorToken","twoRows","processor","onOdinResult","disabled","loading","ConfirmationDialog","onDonationSubmitted","onCloseDialog","ConfirmationWording","Loading","siteInfo","scrollTo","catch","$props","$setup","$data","$options","routes","path","component","DonationForm","ConfirmationPage","SiteNotEnabled","SiteNotFound","redirect","router","history","GetVisualSettings","DarkColor","title","SiteName","FacebookPixelId","colours","primary","BaseColor","accent","_component_cb_header","_component_router_view","_component_cb_page_layout","footerColor","FooterColor","backgroundImage","BackgroundImageURL","backgroundType","BackgroundType","backgroundColor","BackgroundColor","HeaderImageUrl","headerImageUrl","headerImageAlignment","HeaderImageAlignment","Footer","request","use","config","subdomain","host","baseURL","app","App","mount","appInsights","instrumentationKey","loadAppInsights","trackPageView","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","deferred","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","Object","keys","every","splice","n","getter","__esModule","d","a","definition","o","defineProperty","enumerable","get","globalThis","Function","e","obj","prop","prototype","hasOwnProperty","call","installedChunks","chunkId","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","some","chunkLoadingGlobal","self","bind","__webpack_exports__"],"sourceRoot":""}