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B,EACpBoB,KAAMQ,M,oBCnHR,KAAgB,cAAgB,8BAA8B,qBAAuB","sources":["components/Checkout/PaymentLegal.tsx","components/UIComponents/AprannButton.tsx","components/UIComponents/LoginButton.tsx","components/UIComponents/PaymentComponents/AprannCardElement.tsx","components/UIComponents/PaymentComponents/AprannCardElementWrapper.tsx","webpack://AprannWeb/./src/components/UIComponents/PaymentComponents/FeeComponents/style.module.css?81d9","components/UIComponents/PaymentComponents/FeeComponents/OneTimeBoostSelection.tsx","components/UIComponents/PaymentComponents/FeeComponents/OneTimeTipSelection.tsx","components/UIComponents/PaymentComponents/FeeComponents/OneTimeCoverFeeSelection.tsx","components/UIComponents/PaymentComponents/FeeComponents/OneTimeFeeSelectionWrapper.tsx","components/UIComponents/ToolTip.tsx","interfaces/CheckoutInterface.ts","interfaces/PartnersInterface.ts","models/PaymentMethodModel.ts","models/SponsoredModel.ts","services/payments.service.ts","webpack://AprannWeb/./src/components/UIComponents/PaymentComponents/styles.module.css?d01d"],"sourcesContent":["import { PartnerCountries } from \"interfaces/PartnersInterface\";\nimport React from \"react\";\n\nconst PaymentLegal = ({ contextPartner }) => {\n\treturn (\n\t\t
\n\t\t\t

\n\t\t\t\t\n\t\t\t\t\tAll online transactions are securely processed by our partner payment vendor,{\" \"}\n\t\t\t\t\t\n\t\t\t\t\t\tStripe\n\t\t\t\t\t\n\t\t\t\t\t. You will receive an email receipt of your transaction.\n\t\t\t\t\n\t\t\t

\n\t\t\t{contextPartner.ein && (\n\t\t\t\t

\n\t\t\t\t\t\n\t\t\t\t\t\t{contextPartner.countriesId === PartnerCountries.UnitedStates ? (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tContributions go to {contextPartner.name}, a 501(c)3 organization (EIN {contextPartner.ein}), and are tax\n\t\t\t\t\t\t\t\tdeductible in the U.S. to the fullest extent of the law. Please consult your tax advisor or the IRS for\n\t\t\t\t\t\t\t\tdetermination of whether your donation is tax deductible in whole or in part.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t) : (\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tContributions go to {contextPartner.name}, a Canadian charity (BN: {contextPartner.ein}), and are tax\n\t\t\t\t\t\t\t\tdeductible in Canada to the fullest extent of the law as per Canada Revenue Agency (CRA).\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t)}\n\t\t\t\t\t\n\t\t\t\t

\n\t\t\t)}\n\t\t
\n\t);\n};\n\nexport default PaymentLegal;\n","import { getRedirectUrl2, getUrlPath } from \"helpers\";\nimport { useAprannAuthUser } from \"helpers/AprannUser\";\nimport React from \"react\";\nimport Button from \"react-bootstrap/Button\";\n\ninterface AprannButtonProps {\n\tvariant?: string | undefined;\n\tclassName?: string | undefined;\n\tchildren: JSX.Element | string;\n\tdisabled?: boolean;\n\tsize?: \"sm\" | \"lg\" | undefined;\n\ttype?: \"button\" | \"submit\";\n\tonClick?(): void;\n}\n/**\n * DEPRECATED - Use SubmitButton\n * @param props\n * @returns\n */\nconst AprannButton = (props: AprannButtonProps) => {\n\treturn (\n\t\t (!!props.onClick ? props.onClick() : null)}\n\t\t\tdisabled={props.disabled}\n\t\t\ttype={props.type ?? \"button\"}\n\t\t>\n\t\t\t{props.disabled && (\n\t\t\t\t<>\n\t\t\t\t\t{\" \"}\n\t\t\t\t\n\t\t\t)}\n\t\t\t{props.children}\n\t\t\n\t);\n};\n\nexport default AprannButton;\n","import { getRedirectUrl2, getUrlPath } from \"helpers\";\nimport { useAprannAuthUser } from \"helpers/AprannUser\";\nimport React from \"react\";\nimport Button from \"react-bootstrap/Button\";\n\ninterface LoginButtonProps {\n\tredirectUrl?: string;\n\tvariant?: string | undefined;\n\tclassName?: string | undefined;\n\tdefaultToUserLogin?: boolean; //if true will load auth screen assuming user has account, default false\n\tchildren: JSX.Element | string;\n}\n\nconst LoginButton = (props: LoginButtonProps) => {\n\tconst { loginWithRedirect } = useAprannAuthUser();\n\n\tconst redirectUrl = props.redirectUrl ?? getUrlPath();\n\n\treturn (\n\t\t\n\t\t\t\tloginWithRedirect({\n\t\t\t\t\tredirect_uri: getRedirectUrl2(),\n\t\t\t\t\tappState: { targetUrl: redirectUrl },\n\t\t\t\t\tscreen_hint: !!props.defaultToUserLogin ? \"\" : \"signup\"\n\t\t\t\t})\n\t\t\t}\n\t\t>\n\t\t\t{props.children}\n\t\t\n\t);\n};\n\nexport default LoginButton;\n","import React, { useEffect, useState } from \"react\";\n\nimport { Elements, CardElement, useStripe, useElements } from \"@stripe/react-stripe-js\";\nimport { loadStripe } from \"@stripe/stripe-js\";\n\nimport PartnerModel from \"models/PartnerModel\";\n\nimport styles from \"./styles.module.css\";\n\nexport interface AprannCardElementTokenProps {\n\terror: string;\n\tpaymentMethod: object;\n}\n\nexport interface AprannPaymentMethod {\n\tid: string;\n}\n\nexport interface AprannPaymentError {\n\tmessage: string;\n}\n\nexport interface AprannCardElementCallbackProps {\n\terror: AprannPaymentError | undefined;\n\tpaymentMethod: AprannPaymentMethod;\n}\n\nexport interface AprannCardElementProps {\n\tcontextPartner: PartnerModel;\n\ttrigger: boolean;\n\tsetTokenCallback(result: AprannCardElementCallbackProps): void;\n}\n\nexport const AprannCardElement = ({ contextPartner, setTokenCallback, trigger }: AprannCardElementProps) => {\n\tconst [stripePromise] = useState(() =>\n\t\tloadStripe(process.env.REACT_APP_STRIPE_KEY ?? \"\", {\n\t\t\tstripeAccount: contextPartner.stripeUserId\n\t\t})\n\t);\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nconst CardForm = ({ setTokenCallback, trigger }) => {\n\tconst stripe = useStripe();\n\tconst elements = useElements();\n\t// You can customize your Elements to give it the look and feel of your site.\n\tuseEffect(() => {\n\t\t(async () => {\n\t\t\tif (trigger) {\n\t\t\t\tif (!stripe || !elements) {\n\t\t\t\t\t// Stripe.js has not loaded yet. Make sure to disable\n\t\t\t\t\t// form submission until Stripe.js has loaded.\n\t\t\t\t\tthrow new Error(\"stripe not loaded\");\n\t\t\t\t}\n\t\t\t\t// Get a reference to a mounted CardElement. Elements knows how\n\t\t\t\t// to find your CardElement because there can only ever be one of\n\t\t\t\t// each type of element.\n\t\t\t\tconst cardElement = elements.getElement(CardElement);\n\n\t\t\t\tif (cardElement) {\n\t\t\t\t\t// Use your card Element with other Stripe.js APIs\n\t\t\t\t\tconst { error, paymentMethod } = await stripe.createPaymentMethod({\n\t\t\t\t\t\ttype: \"card\",\n\t\t\t\t\t\tcard: cardElement\n\t\t\t\t\t});\n\t\t\t\t\tsetTokenCallback({ error, paymentMethod });\n\t\t\t\t} else {\n\t\t\t\t\tthrow new Error(\"Could not find card element\");\n\t\t\t\t}\n\t\t\t}\n\t\t})();\n\t}, [trigger]);\n\n\treturn (\n\t\t
\n\t\t\t\n\t\t
\n\t);\n};\n\nexport default AprannCardElement;\n","import LoadingIndicator from \"components/LoadingIndicator/LoadingIndicator\";\nimport { useAprannAuthUser } from \"helpers/AprannUser\";\nimport PaymentMethodModel, { PaymentMethods } from \"models/PaymentMethodModel\";\nimport React, { useEffect, useState } from \"react\";\nimport { Form, Tab, Tabs } from \"react-bootstrap\";\nimport { getUserPaymentMethods } from \"services/payments.service\";\nimport AprannCardElement, { AprannCardElementCallbackProps, AprannCardElementProps } from \"./AprannCardElement\";\n\nimport styles from \"./styles.module.css\";\n\ninterface AprannCardElementWrapperProps extends AprannCardElementProps {\n\tonReadyCallback?: () => void;\n\tallowBanks?: boolean;\n}\n\nconst AprannCardElementWrapper = (props: AprannCardElementWrapperProps) => {\n\tconst { user, loading: userLoading } = useAprannAuthUser();\n\n\tconst [userPaymentMethods, setUserPaymentMethods] = useState([]);\n\tconst [paymentMethodId, setPaymentMethodId] = useState(\"\");\n\tconst [loading, setLoading] = useState(true);\n\tconst [wrappedTrigger, setWrappedTrigger] = useState(false);\n\tconst [tabKey, setTabKey] = useState(\"card\");\n\n\tuseEffect(() => {\n\t\tif (props.trigger) {\n\t\t\tif (tabKey === \"card\") {\n\t\t\t\t//pass through to the embedded card element\n\t\t\t\tsetWrappedTrigger(true);\n\t\t\t} else {\n\t\t\t\tconst pm: AprannCardElementCallbackProps = {\n\t\t\t\t\tpaymentMethod: { id: paymentMethodId },\n\t\t\t\t\terror: undefined\n\t\t\t\t};\n\t\t\t\tprops.setTokenCallback(pm);\n\t\t\t}\n\t\t} else if (tabKey === \"card\") {\n\t\t\t//make sure and toggle the key false so that it is staged to detect the next trigger\n\t\t\tsetWrappedTrigger(false);\n\t\t}\n\t}, [props.trigger]);\n\n\tuseEffect(() => {\n\t\tif (!userLoading) {\n\t\t\tif (!!user) {\n\t\t\t\tgetUserPaymentMethods(user.id)\n\t\t\t\t\t.then(paymentMethods => {\n\t\t\t\t\t\t// this element can only be used for \"card\" type payments (e.g. credit card, google pay, apple pay)\n\t\t\t\t\t\tconst validMethods = props.allowBanks\n\t\t\t\t\t\t\t? paymentMethods\n\t\t\t\t\t\t\t: paymentMethods.filter(pm => pm.type === PaymentMethods.Card);\n\n\t\t\t\t\t\tsetUserPaymentMethods(validMethods.map(pm => new PaymentMethodModel(pm)));\n\t\t\t\t\t\tif (validMethods.length > 0) {\n\t\t\t\t\t\t\tsetPaymentMethodId(validMethods[0].id);\n\t\t\t\t\t\t\tsetTabKey(\"existing\");\n\t\t\t\t\t\t}\n\t\t\t\t\t})\n\t\t\t\t\t.catch(err => console.error(err))\n\t\t\t\t\t.finally(() => {\n\t\t\t\t\t\tsetLoading(false);\n\t\t\t\t\t\tif (props.onReadyCallback) props.onReadyCallback();\n\t\t\t\t\t});\n\t\t\t} else {\n\t\t\t\tsetLoading(false);\n\t\t\t}\n\t\t} else {\n\t\t\tsetLoading(false);\n\t\t}\n\t}, [userLoading, user, props.allowBanks]);\n\n\tconst wrappedCallback = (stripeResponse: AprannCardElementCallbackProps) => {\n\t\tprops.setTokenCallback(stripeResponse);\n\t};\n\n\treturn loading ? (\n\t\t\n\t) : (\n\t\t<>\n\t\t\t{!!user && userPaymentMethods.length > 0 ? (\n\t\t\t\t setTabKey(k!)}>\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t setPaymentMethodId(e.target.value)}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{userPaymentMethods.map((pm, i) => (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t) : (\n\t\t\t\t\n\t\t\t)}\n\t\t\n\t);\n};\n\nexport default AprannCardElementWrapper;\n","// extracted by mini-css-extract-plugin\nexport default {\"amountContainer\":\"style_amountContainer__l+qY7\",\"checkoutHeader\":\"style_checkoutHeader__v9iqR\",\"checkoutButton\":\"style_checkoutButton__jjTPh\",\"checkoutTotal\":\"style_checkoutTotal__-Z2K5\",\"tipContainer\":\"style_tipContainer__NxwfF\",\"tipPrepend\":\"style_tipPrepend__3Ck-R\",\"zeroTipWarning\":\"style_zeroTipWarning__L+ZDd\",\"pulse\":\"style_pulse__w7O9r\",\"pulsate\":\"style_pulsate__gL0r0\"};","import React, { useEffect, useState } from \"react\";\nimport PartnerModel from \"models/PartnerModel\";\nimport { Col, Form, InputGroup, Row } from \"react-bootstrap\";\nimport { AvailableDonationBoosts, DefaultDonationBoost } from \"interfaces/CheckoutInterface\";\nimport { formatPercent } from \"helpers\";\n\nimport styles from \"./style.module.css\";\n\ninterface OneTimeBoostSelectionProps {\n\tcontextPartner: PartnerModel;\n\tnetAmount: number;\n\tsetAdditionalFeesAmount: (additionalFeesAmount: number) => void;\n\tclassName?: string;\n}\n\nconst OneTimeBoostSelection = (props: OneTimeBoostSelectionProps) => {\n\tconst [percentage, setPercentage] = useState(DefaultDonationBoost);\n\n\tuseEffect(() => {\n\t\tsetAmount(percentage);\n\t}, [props.netAmount]);\n\n\tconst setAmount = (newPercentage: number) => {\n\t\tsetPercentage(newPercentage);\n\t\tprops.setAdditionalFeesAmount(newPercentage * props.netAmount);\n\t};\n\n\treturn (\n\t\t
\n\t\t\tAdd a donation boost\n\t\t\t

\n\t\t\t\tYou can choose an optional boost for your donation in order help {props.contextPartner.name} cover transaction and\n\t\t\t\tadministrative costs. This additional amount will be added to your payment.\n\t\t\t

\n\t\t\t\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t setAmount(parseFloat(e.target.value))}\n\t\t\t\t\t\t\tdefaultValue={DefaultDonationBoost}\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{AvailableDonationBoosts.map(b => (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
\n\t);\n};\n\nexport default OneTimeBoostSelection;\n","import React, { useEffect, useState } from \"react\";\nimport { Alert, Form, InputGroup, Modal, Button, Image } from \"react-bootstrap\";\nimport PartnerModel from \"models/PartnerModel\";\n\nimport styles from \"./style.module.css\";\nimport { formatPercent } from \"helpers\";\nimport ToolTip from \"components/UIComponents/ToolTip\";\n\ninterface TipOptionInterface {\n\tamount: number;\n\tpercent: number;\n\tceiling: number;\n\tdefault: boolean;\n}\n\ninterface OneTimeTipSelectionProps {\n\tcontextPartner: PartnerModel;\n\tnetAmount: number;\n\tsetTipAmount: (tipAmount: number) => void;\n\tsetTipPercent?: (tipPercent: number) => void;\n\tclassName?: string;\n\tembedded?: boolean;\n}\n\nconst OneTimeTipSelection = (props: OneTimeTipSelectionProps) => {\n\tconst defaultPercent = 0.1;\n\tconst percents = [0.05, 0.07, 0.1, 0.15];\n\n\tconst getTipAmounts = (): TipOptionInterface[] => {\n\t\tlet tempPercents: TipOptionInterface[] = [];\n\t\tpercents.forEach(percent => {\n\t\t\ttempPercents.push({\n\t\t\t\tamount: props.netAmount * percent,\n\t\t\t\tpercent: percent,\n\t\t\t\tceiling: Math.ceil(props.netAmount * percent),\n\t\t\t\tdefault: percent === defaultPercent\n\t\t\t});\n\t\t});\n\t\treturn tempPercents;\n\t};\n\n\tconst [showCustom, setShowCustom] = useState(false);\n\tconst [showAppealModal, setShowAppealModal] = useState(false);\n\n\tconst [tipOptions, setTipOptions] = useState(getTipAmounts());\n\tconst [tipPercentCurrentSelection, setTipPercentCurrentSelection] = useState(defaultPercent);\n\tconst [zeroTipFlag, setZeroTipFlag] = useState(false);\n\n\tuseEffect(() => {\n\t\tconst tempPercents = getTipAmounts();\n\t\tsetTipOptions(tempPercents);\n\t\tsetTipPercent(tipPercentCurrentSelection);\n\t}, [props.netAmount]);\n\n\tconst handleTipChange = (tipPercent: string) => {\n\t\tlet percent = parseFloat(tipPercent);\n\n\t\tif (isNaN(percent)) percent = 0;\n\n\t\tsetTipPercentCurrentSelection(percent);\n\n\t\tsetTipPercent(percent);\n\t};\n\n\tconst setTipPercent = (tipPercent: number) => {\n\t\tif (isNaN(tipPercent)) tipPercent = 0;\n\n\t\tprops.setTipAmount(tipPercent * props.netAmount);\n\t\tif (!!props.setTipPercent) props.setTipPercent(tipPercent);\n\t};\n\n\tconst setTipAmount = (tipAmount: number) => {\n\t\tif (isNaN(tipAmount)) tipAmount = 0;\n\n\t\tsetZeroTipFlag(!!!tipAmount);\n\n\t\tprops.setTipAmount(tipAmount);\n\t\tif (!!props.setTipPercent) props.setTipPercent(tipAmount / props.netAmount);\n\t};\n\n\tconst toggleCustom = () => {\n\t\tif (!showCustom) {\n\t\t\tsetTipPercent(0.05);\n\t\t\tsetShowAppealModal(true);\n\t\t} else {\n\t\t\tsetTipPercent(tipPercentCurrentSelection);\n\t\t}\n\t\tsetShowCustom(!showCustom);\n\t};\n\n\treturn (\n\t\t<>\n\t\t\t
\n\t\t\t\t\n\t\t\t\t\t{props.embedded ? \"Platform Tip\" : `Help keep Outgiven free for ${props.contextPartner.name}`}\n\t\t\t\t\t\n\t\t\t\t\t\tAprann is a 501(c)3 nonprofit that provides no-cost technology resources like Outgiven to missionally aligned\n\t\t\t\t\t\torganizations. Aprann also provides free technology training and hardware in underserved countries like Haiti.\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t{props.contextPartner.tipConfiguration === 1 ? (\n\t\t\t\t\t<>\n\t\t\t\t\t\t{/* Add a tip to support Aprann */}\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\tAprann is a {props.contextPartner.faithBased ? \"faith-based\" : \"\"} 501(c)3 nonprofit that provides this\n\t\t\t\t\t\t\trelational platform at no cost to {props.contextPartner.name}, as well as educational resources for the\n\t\t\t\t\t\t\tunderserved.{\" \"}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tHow it works.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t

\n\t\t\t\t\t\n\t\t\t\t) : (\n\t\t\t\t\t<>\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\tWe partner with Aprann, a {props.contextPartner.faithBased ? \"faith-based\" : \"501(c)3\"} nonprofit that provides\n\t\t\t\t\t\t\tthis relational platform at no cost to {props.contextPartner.name}. Your generosity empowers us to use Outgiven\n\t\t\t\t\t\t\twith full support, enabling us to better serve our mission.{\" \"}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tHow it works.\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t

\n\t\t\t\t\t\n\t\t\t\t)}\n\t\t\t\t{props.contextPartner.tipConfiguration === 2 && Tip Aprann}\n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t{showCustom ? (\n\t\t\t\t\t\t setTipAmount(parseFloat(e.target.value))}\n\t\t\t\t\t\t\tdefaultValue={(props.netAmount * 0.05).toFixed(2)}\n\t\t\t\t\t\t/>\n\t\t\t\t\t) : (\n\t\t\t\t\t\t handleTipChange(e.target.value)}\n\t\t\t\t\t\t\tdefaultValue={tipPercentCurrentSelection}\n\t\t\t\t\t\t\tplaceholder=\"Enter a tip amount\"\n\t\t\t\t\t\t>\n\t\t\t\t\t\t\t{tipOptions?.map((o, i) => (\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t))}\n\t\t\t\t\t\t\n\t\t\t\t\t)}\n\t\t\t\t{\" \"}\n\t\t\t\t toggleCustom()} label=\"Other Amount\" />\n\t\t\t\t{showCustom &&\n\t\t\t\t\t(props.contextPartner.tipConfiguration === 1 ? (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t Please consider tipping so that we can continue providing this important service\n\t\t\t\t\t\t\tat no-cost to {props.contextPartner.name}.{\" \"}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tSee the benefits\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t!\n\t\t\t\t\t\t\n\t\t\t\t\t) : (\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t Please consider tipping so that we can continue providing this important service\n\t\t\t\t\t\t\tat no-cost to {props.contextPartner.name}.{\" \"}\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\tSee the benefits\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t!\n\t\t\t\t\t\t\n\t\t\t\t\t))}\n\t\t\t
\n\n\t\t\t setShowAppealModal(false)} size=\"xl\">\n\t\t\t\t\n\t\t\t\t\tA quick note on tips...\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\tEmpowering communities through technology education.\n\t\t\t\t\t\t

\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t
Why Your Tip Matters
\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\tWe partner with Aprann, a faith-based nonprofit that provides this\n\t\t\t\t\t\t\trelational platform at no cost to {props.contextPartner.name}.\n\t\t\t\t\t\t

\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\tOutgiven is more than just a free sponsorship platform—it’s a mission in action. As a{\" \"}\n\t\t\t\t\t\t\t501(c)(3) nonprofit, Aprann provides this service at no cost to\n\t\t\t\t\t\t\tnonprofits while also equipping teachers, donating laptops, and enabling technology access in underserved communities.\n\t\t\t\t\t\t

\n\t\t\t\t\t\t

\n\t\t\t\t\t\t\tWhen you tip, you're not just supporting free software for a nonprofit you love—you’re also fueling programs that bring\n\t\t\t\t\t\t\ttechnology education and accessibility to those who need it most. Your generosity creates lasting impact, and it’s tax-deductible!\n\t\t\t\t\t\t

\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\n\t\t\t\t\t window.open(\"https://www.outgiven.org/tips.html\", \"_blank\")}\n\t\t\t\t\t\tstyle={{ padding: \"10px 20px\", fontSize: \"1rem\" }}\n\t\t\t\t\t>\n\t\t\t\t\t\tLearn More\n\t\t\t\t\t\n\t\t\t\t\t setShowAppealModal(false)}\n\t\t\t\t\t\tstyle={{ padding: \"10px 20px\", fontSize: \"1rem\" }}\n\t\t\t\t\t>\n\t\t\t\t\t\tGot It\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t\n\t);\n};\n\nexport default OneTimeTipSelection;\n","import React, { useState, useEffect } from \"react\";\nimport PartnerModel from \"models/PartnerModel\";\nimport ToolTip from \"components/UIComponents/ToolTip\";\nimport { Col, Row } from \"react-bootstrap\";\nimport { formatMoney } from \"helpers\";\n\ninterface OneTimeCoverFeeSelectionProps {\n\tcontextPartner: PartnerModel;\n\tnetAmount: number;\n\tsetAdditionalFeesAmount: (additionalFeesAmount: number) => void;\n}\n\nconst OneTimeCoverFeeSelection = (props: OneTimeCoverFeeSelectionProps) => {\n\tconst [coverTransactionFees, setCoverTransactionFees] = useState(true);\n\n\tuseEffect(() => {\n\t\tif (coverTransactionFees) props.setAdditionalFeesAmount(calculateTransactionFee());\n\t}, [props.netAmount]);\n\n\tconst toggleCoverFees = () => {\n\t\tvar newState = !coverTransactionFees;\n\t\tprops.setAdditionalFeesAmount(Number(newState) * calculateTransactionFee());\n\t\tsetCoverTransactionFees(newState);\n\t};\n\n\tconst calculateTransactionFee = (): number => {\n\t\treturn props.netAmount * 0.029 + 0.3;\n\t};\n\n\treturn (\n\t\t
\n\t\t\t toggleCoverFees()} />\n\t\t\tAdd {formatMoney(calculateTransactionFee())} to cover payment processing fees.\n\t\t\t\n\t\t\t\tOptionally choose to cover the transaction fees charged by payment processors. The fee is commonly 2.9% + .30¢ for card\n\t\t\t\tpayments, and is charged by a third party payment processor.\n\t\t\t\n\t\t
\n\t);\n};\n\nexport default OneTimeCoverFeeSelection;\n","import React from \"react\";\nimport PartnerModel from \"models/PartnerModel\";\nimport OneTimeBoostSelection from \"./OneTimeBoostSelection\";\nimport OneTimeTipSelection from \"./OneTimeTipSelection\";\nimport OneTimeCoverFeeSelection from \"./OneTimeCoverFeeSelection\";\n\ninterface OneTimeFeeSelectionWrapperProps {\n\tcontextPartner: PartnerModel;\n\ttipNetAmount: number;\n\tfeesNetAmount: number;\n\tsetAdditionalFeesAmount: (additionalFeesAmount: number) => void;\n\tsetTipAmount: (tipAmount: number) => void;\n\tsetTipPercent?: (tipPercent: number) => void;\n\ttipSelectionClass?: string;\n\tembedded?: boolean;\n}\n\nconst OneTimeFeeSelectionWrapper = (props: OneTimeFeeSelectionWrapperProps) => {\n\tconst setAdditionalFeesAmount = (additionalFeesAmount: number) => {\n\t\tprops.setAdditionalFeesAmount(additionalFeesAmount);\n\t};\n\n\tconst setTipAmount = (tipAmount: number) => {\n\t\tprops.setTipAmount(tipAmount);\n\t};\n\n\tconst setTipPercent = (tipPercent: number) => {\n\t\tif (!!props.setTipPercent) props.setTipPercent(tipPercent);\n\t};\n\n\treturn !props.contextPartner.usesTipModel ? (\n\t\t\n\t) : (\n\t\t<>\n\t\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nexport default OneTimeFeeSelectionWrapper;\n","import React from \"react\";\nimport { OverlayTrigger, Popover } from \"react-bootstrap\";\n\ninterface ToolTipProps {\n\ttitle?: string;\n\ttip?: string;\n\tchildren?: JSX.Element | string;\n}\n\nconst ToolTip = (props: ToolTipProps) => {\n\tconst { title, tip, children } = props;\n\tconst popover = (\n\t\t\n\t\t\t{title && {title}}\n\t\t\t{tip ?? children}\n\t\t\n\t);\n\n\treturn (\n\t\t\n\t\t\t\n\t\t\n\t);\n};\n\nexport default ToolTip;\n","import UserSponsoredsInterface from \"./UserSponsoredsInterface\";\n\nexport enum PaymentInterval {\n\t\"Monthly\" = \"month\",\n\t\"Annual\" = \"year\",\n\t\"Single\" = \"single\"\n}\n\nexport const AvailablePaymentIntervals: PaymentInterval[] = [\n\tPaymentInterval.Monthly,\n\tPaymentInterval.Annual\n]\n\nexport const AvailableDonationBoosts: number[] = [\n\t0.00,\n\t0.03,\n\t0.06,\n\t0.1\n];\n\nexport const DefaultDonationBoost = 0.06;\n\nexport interface CheckoutInterface {\n\tuserSponsoreds: UserSponsoredsInterface[];\n\tboostPercentage: number;\n\tfrequency: PaymentInterval;\n}\n\ninterface BaseOrderInterface {\n\tpartnersId: number;\n\tstripePaymentIntent: string;\n\tpaymentInterval: string;\n\tbaseAmount: number;\n\tadditionalCoverFeesAmount: number; //boost or \"cover fees\" amount\n\ttipAmount: number; // tip amount when applicationFeeModel = \"tip\"\n\ttipPercent: number; // tip percentage when applicationFeeModel = \"tip\"\n}\n\nexport interface CheckoutOrderInterface extends BaseOrderInterface {\n\tuserSponsoreds: CheckoutUserSponsoredsInterface[];\n}\n\nexport interface QuickSponsorInterface extends BaseOrderInterface {\n\tfirstName: string;\n\tlastName: string;\n\temail: string;\n\tautoAssign: boolean;\n\tcode?: string;\n\tpartnerSponsoredTypesId?: number;\n\tnumberOfSponsorships: number;\n\tnumberOfSlots: number;\n}\n\nexport interface CheckoutUserSponsoredsInterface\n {\n\tusersId: number;\n\tnumSlots: number;\n\tsponsoredsId: number;\n\tamount: number;\n\tisManualSponsorshipConversion?: boolean;\n\tpartnerSponsoredTypesId: number;\n}\n","import {PartnerSponsoredTypesInterface} from \"interfaces/SponsoredTypesInterface\";\nimport EntitiesInterface from \"./EntitiesInterface\";\n\nexport interface PartnerIntegrationsInterface {\n\tid: number;\n\tpartnersId: number;\n\tintegrationType: string;\n\tdateConnected: string;\n\tlastAccessDate: string;\n\tparameters: object;\n}\n\nexport interface PartnerSettingsInterface {\n\tpartnersId: number;\n\tpartnerSettingTypesId: number;\n\tpartnerSettingTypesName: string;\n\tvalue: string;\n\ttype: string;\n}\n\nexport interface PartnerFeaturesInterface {\n\tpartnersId: number;\n\tfeaturesId: number;\n\tfeaturesName: string;\n}\n\nexport interface PartnerSettingTypesInterface {\n\tid: number;\n\tname: string;\n\ttype: string;\n\tfeaturesId: number;\n\tdescription?: string;\n\tdefaultValue: string;\n}\n\nexport enum PartnerSettingTypesIds {\n\tAutoBirthdayOccasions = 1,\n\tCustomLabelSponsorButton = 2,\n\tCustomLabelProgramLabel = 3,\n\tHeaderLogoRedirectsToPartnerWebsite = 4,\n\tVideoMessages = 6,\n\tDisableManualSponsorEmails = 7,\n\tDisableConvertToPaidButton = 8,\n\tOverlayOpacity = 10,\n\tOverrideSponsorshipPlans = 11,\n\tMenuItems = 12,\n\tSponsorshipFundAllocation = 13,\n}\n\nexport interface MenuItemsInterface {\n\tlabel: string;\n\titems?: MenuItemsInterface[];\n\thref?: string;\n\ttarget?: string;\n}\n\nexport interface PartnerContactRequest {\n\tname: string;\n\temail: string;\n\tmessage: string;\n\tcheck: string;\n}\n\nexport const PartnerSettingTypes: PartnerSettingTypesInterface[] = [\n\t{\n\t\tid: 1,\n\t\tname: \"AutoBirthdayOccasions\",\n\t\ttype: \"bool\",\n\t\tfeaturesId: 2,\n\t\tdefaultValue: \"false\"\n\t},\n\t{\n\t\tid: 4,\n\t\tname: \"HeaderLogoRedirectsToPartnerWebsite\",\n\t\ttype: \"bool\",\n\t\tfeaturesId: 2,\n\t\tdefaultValue: \"false\"\n\t},\n\t{\n\t\tid: 6,\n\t\tname: \"VideoMessages\",\n\t\ttype: \"bool\",\n\t\tfeaturesId: 2,\n\t\tdefaultValue: \"true\"\n\t},\n\t{\n\t\tid: 11,\n\t\tname: \"OverrideSponsorshipPlans\",\n\t\ttype: \"bool\",\n\t\tfeaturesId: 2,\n\t\tdefaultValue: \"false\"\n\t},\n];\n\nexport enum PartnerCountries {\n\tUnitedStates = 10,\n\tCanada = 8\n}\n\nexport enum Features {\n\tOccasions = 1,\n\tInitiatives = 2,\n\tKeepsakes = 3,\n\tMessages = 4,\n\tTrials = 5,\n\tLightningSponsorships = 6,\n\tGifts = 7,\n\tCrmIntegrations = 8,\n\tGeneralDonations = 9,\n\tSponsoredNotes = 10,\n\tCustomColumns = 11,\n\tEmailTemplates = 12,\n\tBulkUpdates = 13,\n\tEmbeddedWidgets = 14,\n}\n\nexport default interface PartnersInterface {\n\tid?: number;\n\tcountriesId?: number;\n\tname?: string;\n\tdescription?: string;\n\ttagline?: string;\n\tlogo?: string;\n\theaderImage?: string;\n\tdonationFormImage?: string;\n\tfacebook?: string;\n\tinstagram?: string;\n\ttwitter?: string;\n\tentities?: Array;\n\tpartnerSponsoredTypes?: Array;\n\tpartnerIntegrations?: Array;\n\tpartnerSettings?: Array;\n\tpartnerFeatures?: Array;\n\twebsite?: string;\n\tsupportEmail?: string;\n\timageUrl?: string;\n\tprincipalContactName?: string;\n\tprincipalContactEmail?: string;\n\tprincipalContactTitle?: string;\n\taccountManagerName?: string;\n\taccountManagerEmail?: string;\n\tpartnerDomains?: object[];\n\tlandingPageTemplatesId?: number;\n\tlandingPageFocus?: 1 | 2;\n\tproductsId?: string;\n\tauth0ClientId?: string;\n\tstripeUserId?: string;\n\tstripeCustomerId?: string;\n\tcurrency?: string;\n\tisSupportSite?: boolean;\n\tisBillingConnected?: boolean;\n\tapplicationFeeModel?: string;\n\tmaintenanceMode?: boolean;\n\tactive?: boolean;\n\tprincipalUrl?: string;\n\tfaithBased?: boolean;\n\ttipConfiguration?: number;\n}\n\nexport interface PartnerReportInterface {\n\tname: string;\n\tdomain: string;\n\tprincipalUrl: string;\n\tprincipalContactEmail: string;\n\tprincipalContactName: string;\n\tapplicationFeeModel: string;\n\tgeneralProcFee: number;\n\tavgActiveOrderTipPercent: number;\n\tactiveSponsoredCount: number;\n\ttotalProfilesCount: number;\n\tactiveSponsoredTypeCount: number;\n\ttotalPayments: number;\n\tplatformFee: number;\n\ttipAmount: number;\n\tlastAccessDate: Date;\n\tmaintenanceMode: boolean;\n\tactive: boolean;\n\tisBillingConnected: boolean;\n\tsupportEmail: string\n\twebsite: string;\n}\n\nexport interface WidgetTypes {\n\tname: string;\n\tdescription: string;\n\theight: string;\n\tneedsType?: boolean;\n}\n\nexport interface ManualSponsorshipConfiguration {\n\tmanualSponsorshipThreshold: number;\n\tmanualSponsorshipUnitAmount: number;\n\tmanualSponsorshipGracePeriodDate: Date;\n\tactiveManualSponsorshipsCount: number;\n\tactivePaidSponsorshipsCount: number;\n\tpercentManualSponsorships: number;\n\toverageCount: number;\n\toverageAmount: number;\n }\n","import { capitalizeFirstLetter } from \"helpers\";\nimport { PaymentMethodAcssDebit, PaymentMethodCard, PaymentMethodInterface, PaymentMethodUsBankAccount } from \"interfaces/PaymentsInterface\";\n\nexport enum PaymentMethods {\n\tCard = \"card\",\n\tUsBank = \"us_bank_account\",\n\tAcssDebit = \"acss_debit\",\n}\n\nexport default class PaymentMethodModel {\n\tprivate state: PaymentMethodInterface\n\n\tconstructor(data: PaymentMethodInterface) {\n\t\tthis.state = data;\n\t}\n\n\tget id(): string {\n\t\treturn this.state.id;\n\t}\n\n\tget type(): string | undefined {\n\t\treturn this.state.type;\n\t}\n\n\tget usBankAccount(): PaymentMethodUsBankAccount | undefined {\n\t\treturn this.state?.usBankAccount;\n\t}\n\n\tget card(): PaymentMethodCard | undefined {\n\t\treturn this.state?.card;\n\t}\n\n\tget acssDebit(): PaymentMethodAcssDebit | undefined {\n\t\treturn this.state?.acssDebit;\n\t}\n\n\tget icon(): string {\n\t\tswitch (this.state?.type) {\n\t\t\tcase PaymentMethods.Card:\n\t\t\t\tswitch(this.state?.card?.brand) {\n\t\t\t\t\tcase 'visa':\n\t\t\t\t\t\treturn 'fa fa-cc-visa';\n\t\t\t\t\tcase 'mastercard':\n\t\t\t\t\t\treturn 'fa fa-cc-mastercard';\n\t\t\t\t\tcase 'amex':\n\t\t\t\t\t\treturn 'fa fa-cc-amex';\n\t\t\t\t\tcase 'discover':\n\t\t\t\t\t\treturn 'fa fa-cc-discover';\n\t\t\t\t\tcase 'jcb':\n\t\t\t\t\t\treturn 'fa fa-cc-jcb';\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn 'far fa-credit-card';\n\t\t\t\t}\n\n\t\t\tcase PaymentMethods.UsBank:\n\t\t\tcase PaymentMethods.AcssDebit:\n\t\t\t\treturn 'fa fa-university';\n\t\t\tdefault:\n\t\t\t\treturn 'fa fa-question';\n\t\t}\n\t}\n\n\tget bigIcon(): string {\n\t\treturn `${this.icon} fa-2x`;\n\t}\n\n\tget iconUnicode(): string {\n\t\tswitch (this.state?.type) {\n\t\t\tcase PaymentMethods.Card:\n\t\t\t\tswitch(this.state?.card?.brand) {\n\t\t\t\t\tcase 'visa':\n\t\t\t\t\t\treturn \"\\uf1f0\";\n\t\t\t\t\tcase 'mastercard':\n\t\t\t\t\t\treturn '\\uf1f1';\n\t\t\t\t\tcase 'amex':\n\t\t\t\t\t\treturn '\\uf1f3';\n\t\t\t\t\tcase 'discover':\n\t\t\t\t\t\treturn '\\uf1f2';\n\t\t\t\t\tcase 'jcb':\n\t\t\t\t\t\treturn '\\uf24b';\n\t\t\t\t\tdefault:\n\t\t\t\t\t\treturn '\\uf09d';\n\t\t\t\t}\n\n\t\t\tcase PaymentMethods.UsBank:\n\t\t\tcase PaymentMethods.AcssDebit:\n\t\t\t\treturn '\\uf19c';\n\t\t\tdefault:\n\t\t\t\treturn '\\uf128';\n\t\t}\n\t}\n\n\tget typeName(): string {\n\t\tswitch (this.state?.type) {\n\t\t\tcase PaymentMethods.Card:\n\t\t\t\treturn 'Credit Card';\n\t\t\tcase PaymentMethods.UsBank:\n\t\t\t\treturn 'ACH Debit';\n\t\t\tcase PaymentMethods.AcssDebit:\n\t\t\t\treturn 'ACSS (Canada)';\n\t\t\tdefault:\n\t\t\t\treturn 'Unknown Payment Type';\n\t\t}\n\t}\n\n\tget description(): string {\n\t\tswitch (this.state?.type) {\n\t\t\tcase PaymentMethods.Card:\n\t\t\t\treturn `${capitalizeFirstLetter(this.card?.brand ?? \"\")} - Last Four Digits: ${this.card?.last4} - Expires: ${this.card?.expMonth}/${this.card?.expYear}`;\n\t\t\tcase PaymentMethods.UsBank:\n\t\t\t\treturn `${this.usBankAccount?.bankName} - Last Four Digits: ${this.usBankAccount?.last4} - Routing Number: ${this.usBankAccount?.routingNumber}`;\n\t\t\tcase PaymentMethods.AcssDebit:\n\t\t\t\treturn `${this.acssDebit?.bankName} - Last Four Digits: ${this.acssDebit?.last4}`;\n\t\t\tdefault:\n\t\t\t\treturn 'Unknown Payment Type';\n\t\t}\n\t}\n\n\tget shortDescription(): string {\n\t\tswitch (this.state?.type) {\n\t\t\tcase PaymentMethods.Card:\n\t\t\t\treturn `${capitalizeFirstLetter(this.card?.brand ?? \"\")} ending ${this.card?.last4} (${this.card?.expMonth}/${this.card?.expYear})`;\n\t\t\tcase PaymentMethods.UsBank:\n\t\t\t\treturn `${this.usBankAccount?.bankName} ending ${this.usBankAccount?.last4} (${this.usBankAccount?.accountType})`;\n\t\t\tcase PaymentMethods.AcssDebit:\n\t\t\t\treturn `${this.acssDebit?.bankName} ending ${this.acssDebit?.last4} (${this.usBankAccount?.accountType})`;\n\t\t\tdefault:\n\t\t\t\treturn 'Unknown Payment Type';\n\t\t}\n\t}\n\n}","import SponsoredsInterface, { SponsoredAttributeInterface } from \"../interfaces/SponsoredsInterface\";\nimport { CustomColumnValuesInterface, SponsoredTypeIds } from \"interfaces/SponsoredTypesInterface\";\n\nimport { apiWrapper, ApiWrapperFilterObject } from \"../helpers/ApiWrapper\";\nimport { formatDbDate } from \"../helpers\";\n\nexport interface SponsoredResultsInterface {\n\tcount?: number;\n\titems?: SponsoredsInterface[];\n}\n\nexport const validStatusCodes: string[] = [\"active\", \"reserved\", \"inactive\", \"archived\"];\n\nexport default class SponsoredModel {\n\tstate: SponsoredsInterface;\n\n\tconstructor(data: SponsoredsInterface) {\n\t\tthis.state = data;\n\t}\n\n\tstatic getSponsoredName = (s: SponsoredsInterface): string => {\n\t\treturn !!s.firstName ? `${s.firstName ?? \"\"} ${s.lastName ?? \"\"}` : s.title ?? \"Name not found\";\n\t};\n\n\tstatic getProfilePicUrl(s: SponsoredsInterface): string {\n\t\treturn !!s.profileImagePath ? process.env.REACT_APP_STORAGE_URL + s.profileImagePath : \"/images/noimage.png\";\n\t}\n\n\tget organizationId(): string | undefined {\n\t\treturn this.state.organizationId;\n\t}\n\tget birthday() {\n\t\treturn this.state.birthday;\n\t}\n\tget birthdayFormatted(): string {\n\t\treturn this.state.birthdayFormatted ?? \"\";\n\t}\n\tget showBirthday(): boolean {\n\t\treturn this.state.showBirthday;\n\t}\n\tget showAge(): boolean {\n\t\treturn this.state.showAge;\n\t}\n\tget showLastName(): boolean {\n\t\treturn this.state.showLastName;\n\t}\n\tget firstName(): string | undefined {\n\t\treturn this.state.firstName;\n\t}\n\tget lastName(): string | undefined {\n\t\treturn this.state.lastName;\n\t}\n\tget gender(): string {\n\t\treturn this.state.gender ?? \"\";\n\t}\n\tget age(): number {\n\t\treturn this.state.age;\n\t}\n\tget grade(): string {\n\t\treturn this.state.grades?.description ?? \"\";\n\t}\n\tget gradesId(): number {\n\t\treturn this.state.gradesId;\n\t}\n\tget titleOrName(): string | undefined {\n\t\treturn this.isIndividual() ? this.getFullName() : this.state.title;\n\t}\n\tget title(): string | undefined {\n\t\treturn this.state.title;\n\t}\n\tget bio(): string {\n\t\treturn this.state.bio;\n\t}\n\tget id(): number {\n\t\treturn this.state.id;\n\t}\n\tget code(): string {\n\t\treturn this.state.code;\n\t}\n\tget maxSlots(): number {\n\t\treturn this.state.maxSlots;\n\t}\n\tget slotsFilled(): number {\n\t\treturn this.state.slotsFilled;\n\t}\n\tget slotsRemaining(): number {\n\t\treturn this.maxSlots - this.slotsFilled;\n\t}\n\tget monthlyAmount(): number {\n\t\treturn this.state.monthlyAmount;\n\t}\n\tget sponsoredTypesId(): number {\n\t\treturn this.state.sponsoredTypesId;\n\t}\n\tget masked(): boolean {\n\t\treturn this.state.masked;\n\t}\n\tget status(): string {\n\t\treturn this.state.status;\n\t}\n\tget entitiesId(): number {\n\t\treturn this.state.entitiesId;\n\t}\n\tget entities(): object {\n\t\treturn this.state.entities;\n\t}\n\tget active(): boolean {\n\t\treturn this.state.active;\n\t}\n\tget isSponsored(): boolean {\n\t\treturn this.state.isSponsored;\n\t}\n\tget isFullySponsored(): boolean {\n\t\treturn this.state.isFullySponsored;\n\t}\n\tget hasPaymentPlanOverride(): boolean {\n\t\treturn this.state.hasPaymentPlanOverride;\n\t}\n\tget partnerSponsoredTypesId(): number {\n\t\treturn this.state.partnerSponsoredTypesId;\n\t}\n\tget sponsoredAttributes(): Array {\n\t\treturn this.state.sponsoredAttributes;\n\t}\n\tget homeroom(): string {\n\t\treturn this.state.homeroom;\n\t}\n\tget customColumnValues(): CustomColumnValuesInterface[] {\n\t\treturn this.state.customColumnValues;\n\t}\n\tget isGreatestNeed(): boolean {\n\t\treturn this.state.isGreatestNeed;\n\t}\n\n\tstatic async fetchSponsoredById(id: number): Promise {\n\t\tconst url = `sponsoreds/${id}`;\n\t\tconst result = (await apiWrapper(url, {\n\t\t\tmethod: \"get\",\n\t\t\tauthorized: true,\n\t\t\tauthorizedOptional: true\n\t\t})) as SponsoredsInterface;\n\t\treturn result;\n\t}\n\n\tstatic async fetchSponsoreds(partnersId: number, filters: object): Promise {\n\t\tconst filterObjects: ApiWrapperFilterObject[] = [];\n\t\tfor (const index in filters) {\n\t\t\tif (Array.isArray(filters[index])) filters[index].forEach(value => filterObjects.push({ name: index, value }));\n\t\t\telse filterObjects.push({ name: index, value: filters[index] });\n\t\t}\n\t\treturn apiWrapper(`partners/${partnersId}/sponsoreds`, {\n\t\t\tmethod: \"get\",\n\t\t\tauthorized: true,\n\t\t\tauthorizedOptional: true,\n\t\t\tdetailedResults: true,\n\t\t\tfilters: filterObjects\n\t\t}) as Promise;\n\t}\n\n\tisIndividual(): boolean {\n\t\treturn [SponsoredTypeIds.Student, SponsoredTypeIds.Teacher, SponsoredTypeIds.Employee, SponsoredTypeIds.Animal].includes(\n\t\t\tthis.state.sponsoredTypesId\n\t\t);\n\t}\n\n\tgetId(): number {\n\t\treturn this.state.id;\n\t}\n\n\tgetGrade(): string {\n\t\treturn this.state.grades[\"description\"];\n\t}\n\n\tgetFullName(): string {\n\t\treturn (this.state.firstName ?? \"\") + (this.showLastName ? \" \" + (this.state.lastName ?? \"\") : \"\");\n\t}\n\n\tgetDisplayName(isSponsor: boolean = false): string {\n\t\tif (this.masked && !isSponsor) return \"Identity Protected\";\n\t\tif (this.isIndividual()) return this.getFullName();\n\t\treturn this.state.title ?? \"\";\n\t}\n\n\tgetAdminDisplayName(): string {\n\t\tif (this.isIndividual()) return `${this.lastName ?? \"No Last Name\"}, ${this.firstName}`;\n\t\treturn this.state.title ?? \"\";\n\t}\n\n\tgetImages(): Array {\n\t\tif (this.state.sponsoredImages) {\n\t\t\treturn this.state.sponsoredImages;\n\t\t}\n\t\treturn [];\n\t}\n\n\tgetBirthdayObject(): Date | undefined {\n\t\tif (this.state.birthday) return new Date(this.state.birthday);\n\t\treturn undefined;\n\t}\n\n\tgetBirthdayDescription(): string {\n\t\tif (this.showBirthday && !!this.state.birthdayFormatted) {\n\t\t\tif (!this.state.showAge || !!!this.state.age) return this.state.birthdayFormatted;\n\t\t\treturn `${this.state.birthdayFormatted} (${this.state.age} years old)`;\n\t\t}\n\n\t\treturn this.showAge && !!this.state.age ? this.state.age.toString() + \" years old\" : \"Unknown\";\n\t}\n\n\tgetBirthday(): string {\n\t\tif (this.state.birthday) return formatDbDate(this.state.birthday);\n\t\treturn \"\";\n\t}\n\n\tgetPronounHeShe(): string {\n\t\tif (this.state.gender) return this.state.gender === \"Male\" ? \"he\" : \"she\";\n\t\treturn \"\";\n\t}\n\n\tgetPronounHisHer(): string {\n\t\tif (this.state.gender) return this.state.gender === \"Male\" ? \"his\" : \"her\";\n\t\treturn \"\";\n\t}\n\n\tgetPronounHimHer(): string {\n\t\tif (this.state.gender) return this.state.gender === \"Male\" ? \"him\" : \"her\";\n\t\treturn \"\";\n\t}\n\n\tgetGender(): string {\n\t\tif (this.state.gender) return this.state.gender;\n\t\treturn \"\";\n\t}\n\n\tgetBio(): string {\n\t\tif (this.state.bio) return this.state.bio;\n\t\treturn \"\";\n\t}\n\n\tgetSlotsFilled(): number {\n\t\treturn this.state.slotsFilled;\n\t}\n\n\tgetMaxSlots(): number {\n\t\treturn this.state.maxSlots;\n\t}\n\n\tgetProfilePicUrl(): string {\n\t\treturn !!this.state.profileImagePath ? process.env.REACT_APP_STORAGE_URL + this.state.profileImagePath : \"/images/noimage.png\";\n\t}\n\n\tgetRegularSummary(): string {\n\t\tswitch (this.state.sponsoredTypesId) {\n\t\t\tcase SponsoredTypeIds.Student:\n\t\t\t\tif (!!this.age && this.gradesId !== 0)\n\t\t\t\t\treturn `${this.firstName} is ${this.age} years old and ${this.getPronounHeShe()} is in ${this.grade}.`;\n\t\t\t\telse if (this.gradesId !== 0) return `${this.firstName} is in ${this.grade}.`;\n\t\t\t\telse if (!!this.age) return `${this.firstName} is ${this.age} years old.`;\n\t\t\t\treturn \"\";\n\t\t\tcase SponsoredTypeIds.Teacher:\n\t\t\t\treturn this.state.firstName + \" teaches primarily \" + this.state.grades[\"description\"] + \". \";\n\t\t\tcase SponsoredTypeIds.Employee:\n\t\t\t\tif (!!this.state?.title) return this.state.firstName + \" is a \" + this.state.title + \". \";\n\t\t\t\treturn \"\";\n\t\t\tcase SponsoredTypeIds.Classroom:\n\t\t\tcase SponsoredTypeIds.People:\n\t\t\t\treturn !!this.state.title ? this.state.title + \".\" : \"\";\n\t\t\tcase SponsoredTypeIds.Animal:\n\t\t\t\treturn !!this.state.title ? `${this.state.firstName} is a ${this.state.title?.toLowerCase()}!` : \"\";\n\t\t}\n\t\tthrow new Error(\"Could not create sponsored summary\");\n\t}\n\n\tgetMaskedSummary(): string {\n\t\tswitch (this.state.sponsoredTypesId) {\n\t\t\tcase SponsoredTypeIds.Student:\n\t\t\t\tif (!!this.age && this.gradesId !== 0)\n\t\t\t\t\treturn `This student is ${this.age} years old and ${this.getPronounHeShe()} is in ${this.grade}.`;\n\t\t\t\telse if (this.gradesId !== 0) return `This student is in ${this.grade}.`;\n\t\t\t\telse if (!!this.age) return `This student is ${this.age} years old.`;\n\n\t\t\t\treturn \"\";\n\n\t\t\tcase SponsoredTypeIds.Teacher:\n\t\t\t\treturn \"This teacher teaches primarily \" + this.state.grades[\"description\"] + \". \";\n\t\t\tcase SponsoredTypeIds.Employee:\n\t\t\t\tif (!!this.state?.title) return \"I am a \" + this.state.title + \". \";\n\t\t\t\treturn \"Learn more about me!\";\n\t\t\tcase SponsoredTypeIds.Classroom:\n\t\t\tcase SponsoredTypeIds.People:\n\t\t\t\treturn !!this.state.title ? this.state.title + \".\" : \"\";\n\t\t\tcase SponsoredTypeIds.Animal:\n\t\t\t\treturn !!this.state.title ? `I am a ${this.state.title.toLowerCase()}!` : \"\";\n\t\t}\n\t\tthrow new Error(\"Could not create sponsored summary\");\n\t}\n\n\tgetSummary(): string {\n\t\treturn this.masked ? this.getMaskedSummary() : this.getRegularSummary();\n\t}\n\n\tgetShortPitches(): Array {\n\t\tif (this.isIndividual())\n\t\t\treturn [\n\t\t\t\t`Partner in sponsorship with ${this.getPronounHimHer()} today!`,\n\t\t\t\t`Check out ${this.getPronounHisHer()} profile for more details.`,\n\t\t\t\t`Dig into ${this.getPronounHisHer()} profile for more details.`,\n\t\t\t\t`You can be the difference to ${this.getPronounHimHer()} today!`,\n\t\t\t\t`Consider partnering in sponsorship with ${this.getPronounHimHer()} today.`\n\t\t\t];\n\t\treturn [\n\t\t\t`Partner in sponsorship today!`,\n\t\t\t`Check out the profile for more details.`,\n\t\t\t`You can be the difference today!`,\n\t\t\t`Consider partnering in sponsorship today.`,\n\t\t\t`Will you partner with us today?`,\n\t\t\t`Partner with us today!`\n\t\t];\n\t}\n}\n","import { apiWrapper } from \"helpers/ApiWrapper\";\nimport { CheckoutOrderInterface, QuickSponsorInterface } from \"interfaces/CheckoutInterface\";\nimport { GeneralDonationPaymentInterface, GiftSponsorshipPaymentInterface, InitiativePaymentInterface, OccasionPaymentInterface, PaymentMethodInterface, PaymentSetupIntentInterface } from \"interfaces/PaymentsInterface\";\nimport { SubscriptionDetailInterface, SubscriptionUpdateRequestInterface } from \"interfaces/SubscriptionsInterface\";\n\nconst controller: string = \"payments\";\n\nexport const getSetupIntent = (): Promise => {\n\treturn apiWrapper(`${controller}/setupintent`, {\n\t\tmethod: \"get\",\n\t\tauthorized: true,\n\t}) as Promise;\n};\n\nexport const getUserPaymentMethods = (userId: number): Promise => {\n\treturn apiWrapper(`${controller}/${userId}/paymentmethods`, {\n\t\tmethod: \"get\",\n\t\tauthorized: true\n\t}) as Promise;\n};\n\nexport const removeUserPaymentMethod = (id: string): Promise => {\n\treturn apiWrapper(`${controller}/paymentmethod/${id}`, {\n\t\tmethod: \"delete\",\n\t\tauthorized: true\n\t}) as Promise;\n}\n\nexport const setDefaultPaymentMethod = (paymentMethodId: string) => {\n\treturn apiWrapper(`${controller}/updatedefaultpaymentmethod/${paymentMethodId}`, {\n\t\tmethod: \"put\",\n\t\tauthorized: true\n\t});\n}\n\n//GetSubscriptionDetailForOrder\nexport const getSubscriptionDetailForOrder = (orderId: number): Promise => {\n\treturn apiWrapper(`${controller}/subscriptiondetail/${orderId}`, {\n\t\tmethod: \"get\",\n\t\tauthorized: true\n\t}) as Promise;\n}\n\nexport const updateSubscription = (update: SubscriptionUpdateRequestInterface): Promise => {\n\treturn apiWrapper(`${controller}/updatesubscriptionpayment/${update.ordersId}`, {\n\t\tmethod: \"put\",\n\t\tauthorized: true,\n\t\tbody: update\n\n\t}) as Promise;\n}\n\nexport const resetSubscriptionPrice = (orderId: number): Promise => {\n\treturn apiWrapper(`${controller}/resetsubscriptionprice/${orderId}`, {\n\t\tmethod: \"put\",\n\t\tauthorized: true\n\t}) as Promise;\n}\n\nexport const addMissingStripeSubscription = (orderId: number): Promise => {\n\treturn apiWrapper(`${controller}/add-missing-stripe-subscription/${orderId}`, {\n\t\tmethod: \"put\",\n\t\tauthorized: true\n\t}) as Promise;\n}\n\nexport const checkout = (order: CheckoutOrderInterface): Promise => {\n\treturn apiWrapper(`${controller}/checkout`, {\n\t\tmethod: \"post\",\n\t\tauthorized: true,\n\t\tbody: order\n\n\t}) as Promise;\n}\n\nexport const processQuickSponsor = (quickSponsorRequest: QuickSponsorInterface): Promise<{}> => {\n\treturn apiWrapper(`sponsoreds/lightning`, {\n\t\tmethod: \"post\",\n\t\tauthorized: true,\n\t\tauthorizedOptional: true,\n\t\tbody: quickSponsorRequest\n\t}) as Promise<{}>;\n}\n\nexport const processGeneralDonationPayment = (paymentRequest: GeneralDonationPaymentInterface): Promise<{}> => {\n\treturn apiWrapper(`${controller}`, {\n\t\tmethod: \"post\",\n\t\tauthorized: true,\n\t\tauthorizedOptional: true,\n\t\tbody: paymentRequest\n\t}) as Promise<{}>;\n}\n\nexport const processOccasionPayment = (paymentRequest: OccasionPaymentInterface): Promise<{}> => {\n\treturn apiWrapper(`occasions/${paymentRequest.occasionsId}/donate`, {\n\t\tmethod: \"post\",\n\t\tauthorized: true,\n\t\tauthorizedOptional: true,\n\t\tbody: paymentRequest\n\t}) as Promise<{}>;\n}\n\nexport const processInitiativePayment = (paymentRequest: InitiativePaymentInterface): Promise<{}> => {\n\treturn apiWrapper(`initiatives/${paymentRequest.initiativesId}/donate`, {\n\t\tmethod: \"post\",\n\t\tauthorized: true,\n\t\tauthorizedOptional: true,\n\t\tbody: paymentRequest\n\t}) as Promise<{}>;\n}\n\nexport const processGiftSponsorshipPayment = (paymentRequest: GiftSponsorshipPaymentInterface): Promise<{}> => {\n\treturn apiWrapper(`sponsoreds/gift`, {\n\t\tmethod: \"post\",\n\t\tauthorized: true,\n\t\tauthorizedOptional: true,\n\t\tbody: paymentRequest\n\t}) as Promise<{}>;\n}","// extracted by mini-css-extract-plugin\nexport default {\"cardContainer\":\"styles_cardContainer__aWsy4\",\"existingMethodSelect\":\"styles_existingMethodSelect__mTIG8\"};"],"names":["contextPartner","className","target","href","rel","ein","countriesId","PartnerCountries","name","props","variant","size","onClick","disabled","type","children","loginWithRedirect","useAprannAuthUser","redirectUrl","getUrlPath","redirect_uri","getRedirectUrl2","appState","targetUrl","screen_hint","defaultToUserLogin","CardForm","setTokenCallback","trigger","stripe","useStripe","elements","useElements","useEffect","Error","cardElement","getElement","CardElement","createPaymentMethod","card","error","paymentMethod","styles","options","iconStyle","style","base","iconColor","color","fontWeight","fontFamily","fontSize","fontSmoothing","invalid","useState","loadStripe","process","stripeAccount","stripeUserId","stripePromise","Elements","user","userLoading","loading","userPaymentMethods","setUserPaymentMethods","paymentMethodId","setPaymentMethodId","setLoading","wrappedTrigger","setWrappedTrigger","tabKey","setTabKey","pm","id","undefined","getUserPaymentMethods","then","paymentMethods","validMethods","allowBanks","filter","PaymentMethods","map","PaymentMethodModel","length","catch","err","console","finally","onReadyCallback","wrappedCallback","stripeResponse","defaultActiveKey","activeKey","onSelect","k","eventKey","title","as","defaultValue","onChange","e","value","i","iconUnicode","shortDescription","DefaultDonationBoost","percentage","setPercentage","setAmount","netAmount","newPercentage","setAdditionalFeesAmount","Row","Col","sm","md","InputGroup","Form","maxWidth","parseFloat","AvailableDonationBoosts","b","formatPercent","percents","getTipAmounts","tempPercents","forEach","percent","push","amount","ceiling","Math","ceil","default","showCustom","setShowCustom","showAppealModal","setShowAppealModal","tipOptions","setTipOptions","tipPercentCurrentSelection","setTipPercentCurrentSelection","zeroTipFlag","setZeroTipFlag","setTipPercent","tipPercent","isNaN","setTipAmount","embedded","ToolTip","tipConfiguration","faithBased","min","step","tipAmount","toFixed","handleTipChange","placeholder","o","label","Alert","Modal","show","onHide","closeButton","background","backgroundColor","borderRadius","padding","Image","src","alt","fluid","maxHeight","objectFit","Button","window","open","coverTransactionFees","setCoverTransactionFees","calculateTransactionFee","checked","newState","Number","toggleCoverFees","formatMoney","additionalFeesAmount","usesTipModel","tipNetAmount","tipSelectionClass","feesNetAmount","tip","popover","placement","overlay","rootClose","cursor","PaymentInterval","Monthly","Annual","PartnerSettingTypesIds","Features","PartnerSettingTypes","featuresId","data","state","this","usBankAccount","acssDebit","Card","brand","UsBank","AcssDebit","icon","capitalizeFirstLetter","last4","expMonth","expYear","bankName","routingNumber","accountType","validStatusCodes","SponsoredModel","organizationId","birthday","birthdayFormatted","showBirthday","showAge","showLastName","firstName","lastName","gender","age","grades","description","gradesId","isIndividual","getFullName","bio","code","maxSlots","slotsFilled","monthlyAmount","sponsoredTypesId","masked","status","entitiesId","entities","active","isSponsored","isFullySponsored","hasPaymentPlanOverride","partnerSponsoredTypesId","sponsoredAttributes","homeroom","customColumnValues","isGreatestNeed","SponsoredTypeIds","includes","isSponsor","sponsoredImages","Date","toString","formatDbDate","profileImagePath","getPronounHeShe","grade","toLowerCase","getMaskedSummary","getRegularSummary","getPronounHimHer","getPronounHisHer","s","url","apiWrapper","method","authorized","authorizedOptional","result","partnersId","filters","index","filterObjects","Array","isArray","detailedResults","getSponsoredName","controller","getSetupIntent","userId","removeUserPaymentMethod","setDefaultPaymentMethod","getSubscriptionDetailForOrder","orderId","updateSubscription","update","ordersId","body","resetSubscriptionPrice","addMissingStripeSubscription","checkout","order","processQuickSponsor","quickSponsorRequest","processGeneralDonationPayment","paymentRequest","processOccasionPayment","occasionsId","processInitiativePayment","initiativesId","processGiftSponsorshipPayment"],"sourceRoot":""}