{"version":3,"sources":["ui/common/ConfirmationButton/ConfirmationButton.tsx","ui/common/GuestRoute/GuestRoute.tsx","ui/common/Header/Header.tsx","ui/common/PrivateComponent/PrivateComponent.tsx","ui/common/PrivateRoute/PrivateRoute.tsx","ui/common/TabbedCard/CardTabs/CardTabs.tsx","ui/common/TabbedCard/TabbedCard.tsx","ui/common/AccordianBox/Title.tsx","ui/common/AccordianBox/AccordianBox.tsx","ui/common/Banner/Banner.tsx","ui/common/FileUpload/FileUpload.tsx","ui/common/Modal/Modal.tsx","features/cart/context/cartContext/cartProvider.tsx","ui/Graphs/Graph/Graph.tsx","ui/Graphs/Graphs.tsx","features/fundraiser/utils/FormatGraphStats.ts","ui/Graphs/GraphsSkeleton.tsx","features/fundraiser/index.ts","features/fundraiser/hooks/useCreateFundraiserMealDeal/useCreateFundraiserMealDeal.ts","features/fundraiser/hooks/useFetchGroupTypes.ts","features/fundraiser/hooks/useFetchUserGroups.ts","features/fundraiser/hooks/useSupportFundraiser.ts","features/fundraiser/hooks/useFetchPaginatedFundraisers.ts","features/fundraiser/hooks/useFetchSeller.ts","features/fundraiser/hooks/useUpdateSeller.ts","features/fundraiser/hooks/useFetchFundraiserSellerSummary.ts","features/fundraiser/hooks/useFetchFundraiserSellerSummaryExcel.ts","features/fundraiser/hooks/useJoinFundraiser.ts","features/fundraiser/hooks/useCreateFundraiserSeller.ts","features/fundraiser/hooks/useRemoveFundraiserSeller.ts","features/fundraiser/hooks/useCancelFundraiser.ts","features/fundraiser/hooks/useFetchSellerByFundraiserId.ts","features/fundraiser/hooks/useFetchPaginatedBuyers.ts","features/fundraiser/hooks/useFetchEmailNotifications.ts","features/fundraiser/hooks/useUpdateEmailPreferences.ts","features/fundraiser/hooks/useFetchFundraiserQRCode.ts","features/fundraiser/hooks/useFetchSSUGroup.ts","features/fundraiser/hooks/useFetchChairpersonDashboardStatistics.ts","features/fundraiser/hooks/useFetchSellerDashboardStatistics.ts","features/fundraiser/hooks/useConditionalRedirect/useConditionalRedirect.ts","features/fundraiser/hooks/useFetchFundraiserOrderSummary.ts","features/fundraiser/hooks/use-create-final-order/use-create-final-order.ts","features/fundraiser/hooks/useFetchExistingCoupons.ts","features/fundraiser/hooks/useApplyCouponsToFinalOrder.ts","features/fundraiser/hooks/useUserHasOneOfRequiredRoles.ts","features/fundraiser/hooks/useUpdateFinalOrderInformation.ts","features/fundraiser/hooks/useFetchOnlineOrderReport.ts","features/analytics/ApplicationInsights/index.ts","ui/fundraiser/FundraiserTracker/components/SellerAvatar.tsx","ui/fundraiser/FundraiserTracker/components/SellerText.tsx","ui/fundraiser/FundraiserTracker/components/SellerInformation.tsx","ui/fundraiser/FundraiserTracker/components/SellerInformationSkeleton.tsx","ui/fundraiser/FundraiserTracker/FundraiserTracker.tsx","assets/images/default-seller-avatar.png","ui/fundraiser/Popovers/Popover.tsx","ui/fundraiser/Popovers/NewFundraiserPopover.tsx","ui/fundraiser/Popovers/VideoTipPopover.tsx","ui/fundraiser/Popovers/TooltipPopover.tsx","ui/common/Header/Desktop/index.tsx","ui/cart/CartListItem/Warnings.tsx","ui/cart/CartListItem/CartListItem.tsx","ui/cart/EmptyCartCaesar/EmptyCartCaesar.tsx","api.ts","auth/authToken.ts","ui/fundraiser/DashboardStep/StepPopupContent/PopupBorder.tsx","ui/fundraiser/DashboardStep/StepPopupContent/BuyerInvitePopup.tsx","ui/fundraiser/DashboardStep/StepPopupContent/ManageSellerPopup.tsx","ui/VideoModal/VideoModal.tsx","ui/fundraiser/DashboardStep/StepPopupContent/SellerInvitePopup.tsx","ui/fundraiser/DashboardStep/StepPopupContent/FriendFamilyPopup.tsx","constants/QueryKeys.ts","features/cart/context/cartContext/cartContext.ts","ui/home/FeaturedFundraiser/FeaturedFundraiserTracker.tsx","ui/components/hooks/useSafeFeature.ts","ui/home/FeaturedFundraiser/FeaturedFundraiser.tsx","ui/home/FeaturedOrganizations/FeaturedOrganizations.tsx","ui/components/arch-clip-path-svgs/right-arch-clip-path.tsx","ui/components/arch-clip-path-svgs/top-arch-clip-path.tsx","ui/home/FeaturedProducts/FeaturedProductCard.tsx","ui/home/FeaturedProducts/FeaturedProducts.tsx","ui/home/FundraiserPrograms/FundraiserProgramCard.tsx","ui/home/FundraiserPrograms/FundraiserProgramCards.tsx","ui/home/FundraiserPrograms/FundraiserPrograms.tsx","ui/home/FundraisingSupport/SupportIconTile.tsx","ui/home/FundraisingSupport/FundraisingSupport.tsx","ui/home/HeroImage/HeroImage.tsx","ui/home/MoreInfo/MoreInfo.tsx","ui/components/homepage/user-category-card/user-category-card.tsx","ui/home/UserCategories/UserCategories.tsx","ui/home/UserTestimonial/UserTestimonial.tsx","pages/home/Home.tsx","ui/products/ProductListItem/ProductListItem.styles.tsx","ui/products/ProductListItem/ProductListItem.tsx","ui/products/ProductListItem/ProductListItemSkeleton/ProductListItemSkeleton.tsx","query-client/index.ts","ui/products/ProductList/ProductList.tsx","ui/products/utils/filterProductList.ts","ui/fundraiser/NotRunningFundraisersModals/NotRunningFundraisersModals.tsx","ui/fundraiser/NotRunningFundraisersModals/NotRunningFundraiserModalsDisplay.tsx","ui/products/ProductDetail/ProductDetailInfo/ProductDetailInfo.tsx","ui/products/ProductDetail/ProductDetailAddToCart/ProductDetailAddToCart.tsx","ui/products/ProductImageCarousel/ProductImageCarousel.tsx","ui/products/ProductDetail/ProductDetail.tsx","ui/products/ProductCategorySelector/ProductCategorySelector.tsx","pages/products/index.tsx","pages/createAccount/index.tsx","features/cart/hooks/useCartContainsIneligibleProducts.ts","features/cart/hooks/useCartContainsValidProducts.ts","pages/cart/cart.tsx","pages/logout/Logout.tsx","ui/fundraiser/JoinFundraiserInfoCard/JoinFundraiserInfoCard.tsx","ui/fundraiser/JoinFundraiserInfoCard/JoinFundraiserInfoCardSkeleton/JoinFundraiserInfoCardSkeleton.tsx","ui/checkout/Login/FundraiserLogin.tsx","pages/login/joinFundraiser/joinFundraiser.tsx","features/fundraiser/hooks/useFetchJoinFundraiserValidation.ts","pages/login/login/Login.tsx","pages/login/fundraiserLoginManager/FundraiserLoginManager.tsx","pages/checkout/checkout.tsx","pages/productDetail/index.tsx","ui/fundraiser/MealDeal/ProductsPage/MealDealProductsPage.tsx","ui/fundraiser/MealDeal/CartPage/MealDealCartPage.tsx","ui/fundraiser/MealDeal/CheckoutPage/MealDealCheckoutPage.tsx","ui/order/OrderHistoryListItem/OrderHistoryListItem.tsx","ui/order/OrderHistoryListItem/OrderHistoryListItemSkeleton/OrderHistoryListItemSkeleton.tsx","ui/order/OrderHistoryList/OrderHistoryList.tsx","ui/checkout/Login/CreateAccountModal/CreateAccountModal.tsx","ui/order/OrderConfirmationCard/OrderConfirmationCard.tsx","ui/account/MealDeal/CreateAccount/CreateMealDealAccountForm.tsx","ui/fundraiser/MealDeal/OrderConfirmationPage/MealDealOrderConfirmationPage.tsx","ui/fundraiser/MealDeal/ProductDetailPage/MealDealProductDetailPage.tsx","ui/common/Seo/Seo.tsx","ui/routing/RouteWrapper/RouteWrapper.tsx","ui/routing/PrivateRouteWrapper/PrivateRouteWrapper.tsx","ui/routing/AuthenticatedRoute/AuthenticatedRoute.tsx","ui/faq/FaqFooter/FaqFooter.tsx","ui/faq/QAndA/QAndA.tsx","ui/faq/Category/Category.tsx","pages/coupon-code-faqs/CouponCodeFaqs.tsx","ui/RequestInfo/RequestInfo.tsx","pages/requestInfo/index.tsx","ui/RequestInfoThankYou/RequestInfoThankYou.tsx","pages/requestInfoThankYou/index.tsx","ui/fundraiser/MealDeal/MealDealBuyerRoutes.tsx","ui/contactUs/ContactInfo/ContactInfoList.tsx","ui/contactUs/ContactUsForm/ContactUsForm.tsx","pages/contactUs/contactUs.tsx","pages/notFound/index.tsx","ui/fundraiser/ResourceHub/utils/getTemplateImage.ts","ui/fundraiser/ResourceHub/utils/htmlDecode.ts","ui/fundraiser/ResourceHub/hooks/useResourceHub.ts","ui/fundraiser/ResourceHub/utils/formatFundraiserDateRange.ts","ui/fundraiser/ResourceHub/ResourceHubPage/ResourceHubPage.tsx","ui/fundraiser/ResourceHub/BrochureResourceHubChairpersonPage/PrintableCard/PrintableCard.tsx","ui/fundraiser/ResourceHub/BrochureResourceHubChairpersonPage/ResourceIconCard/ResourceIconCard.tsx","ui/fundraiser/ResourceHub/BrochureResourceHubChairpersonPage/BrochureResourceHub/BrochureResourceHub.tsx","ui/fundraiser/ResourceHub/BrochureResourceHubChairpersonPage/BrochureResourceHubChairpersonPage.tsx","ui/fundraiser/ResourceHub/ResourceHubHeader/ResourceHubHeader.tsx","ui/fundraiser/ResourceHub/ResourceHubEmailSection/components/BracketTextWrapper/BracketTextWrapper.tsx","ui/fundraiser/ResourceHub/ResourceHubEmailSection/components/EmailTemplateContent/EmailTemplateContent.tsx","ui/fundraiser/ResourceHub/components/CopyTextButton/CopyTextButton.tsx","ui/fundraiser/ResourceHub/components/GoBackLink/GoBackLink.tsx","ui/fundraiser/ResourceHub/ResourceHubEmailSection/components/ResourceHubEmailTemplate/ResourceHubEmailTemplate.tsx","ui/fundraiser/ResourceHub/utils/formatEmailBodyForCopy.ts","ui/fundraiser/ResourceHub/ResourceHubEmailSection/ResourceHubEmailSection.tsx","ui/fundraiser/ResourceHub/ResourceHubSocialSection/ResourceHubSocialTemplate/ResourceHubSocialTemplate.tsx","ui/fundraiser/ResourceHub/ResourceHubSocialSection/ResourceHubSocialSection.tsx","ui/fundraiser/ResourceHub/ResourceHub.tsx","ui/fundraiser/ResourceHub/BrochureResourceHubEmailTemplatesPage/BrochureResourceHubEmailTemplatesPage.tsx","pages/dashboard/myFundraisers/fundraiserList/fundraiserList.tsx","features/fundraiser/utils/SetFundraiserState.ts","pages/dashboard/myFundraisers/final-order-page/components/final-order-form/final-order-form.tsx","pages/dashboard/myFundraisers/final-order-page/components/apply-coupon-form/apply-coupon-form.tsx","pages/dashboard/myFundraisers/final-order-page/components/final-order-summary/final-order-summary.tsx","pages/dashboard/myFundraisers/final-order-page/components/final-order-information/final-order-information.tsx","features/fundraiser/hooks/useFetchFundraiser.ts","features/common/hooks/useEventCallback/useEventCallback.tsx","features/common/hooks/useSessionStorage/useSessionStorage.tsx","pages/dashboard/myFundraisers/final-order-page/final-order-page.tsx","pages/dashboard/reports/DateExtensions.tsx","features/fundraiser/types/buyer.ts","pages/dashboard/reports/reportFilters/defaultState.ts","pages/dashboard/reports/reportFilters/DropdownSelect/DropdownSelect.tsx","pages/dashboard/reports/reportFilters/ReportStatus/ReportStatus.tsx","pages/dashboard/reports/reportFilters/DateRange/DateRange.tsx","pages/dashboard/reports/reportFilters/StylingComponents/Border/Border.tsx","pages/dashboard/reports/reportFilters/OptionalTypeaheadSelect/TypeaheadSelect/TypeaheadSelect.tsx","pages/dashboard/reports/reportFilters/OptionalTypeaheadSelect/OptionalTypeaheadSelect.tsx","pages/dashboard/reports/reportFilters/FilterOptions/FilterOptions.tsx","features/fundraiser/hooks/useFetchSalesCustomers.ts","features/fundraiser/utils/ReportFiltersUtils.ts","pages/dashboard/reports/reportFilters/ReportFilters.tsx","features/fundraiser/hooks/useFetchFilteredReport.ts","pages/dashboard/orders/index.tsx","ui/fundraiser/EmailNotificationForm/EmailNotificationForm.tsx","ui/fundraiser/EmailNotificationEdit/EmailNotificationEdit.tsx","pages/dashboard/settings/index.tsx","pages/dashboard/myFundraisers/fundraiserConfirmation/fundraiserConfirmation.tsx","features/fileUpload/api.ts","features/fileUpload/hooks/useUploadSellerPhoto.ts","features/fileUpload/hooks/useUploadFundraiserPhoto.ts","ui/fundraiser/DashboardHeader/HeaderImage/HeaderImage.tsx","ui/sellerDetail/BuyerList/BuyerListSkeleton/BuyerListSkeleton.tsx","ui/sellerDetail/BuyerList/BuyerListItem/BuyerListItem.tsx","features/fundraiser/types/dashboard.ts","ui/sellerDetail/BuyerList/BuyerList.tsx","features/fundraiser/hooks/useFetchBuyerReport.ts","ui/sellerDetail/Edit/Edit.tsx","ui/fundraiser/DashboardHeader/HeaderDescription/HeaderDescription.tsx","ui/fundraiser/DashboardHeader/HeaderInfo/HeaderInfo.tsx","ui/fundraiser/DashboardHeader/DashboardHeader.tsx","ui/fundraiser/DashboardStep/DashboardStep.tsx","ui/common/ZoomInModal/ZoomInModal.tsx","ui/fundraiser/FundraiserQRCode/FundraiserQRCode.tsx","features/fundraiser/hooks/useIsUpcomingFundraiser.ts","ui/fundraiser/Invite/Invite.tsx","ui/fundraiser/ChairpersonSteps/Components/Steps.tsx","ui/fundraiser/ChairpersonSteps/ChairpersonSteps.tsx","ui/fundraiser/ProfitCheckAddressModal/ProfitCheckAddressForm.tsx/ProfitCheckAddressForm.tsx","ui/fundraiser/ProfitCheckAddressModal/ProfitCheckAddressConfirm.tsx/ProfitCheckAddressConfirm.tsx","ui/fundraiser/ProfitCheckAddressModal/ProfitCheckAddressModal.tsx","features/fundraiser/hooks/useUpdateFundraiserProfitCheckAddress.ts","ui/fundraiser/ProvideAddressBanner/ProvideAddressBanner.tsx","pages/dashboard/myFundraisers/fundraiserDetail/fundraiserDetail.tsx","features/fundraiser/utils/HasIncompleteProfitCheckAddress.ts","ui/fundraiser/SellerSteps/Steps.tsx","ui/fundraiser/SellerSteps/SellerSteps.tsx","pages/dashboard/sellerDetail/sellerDetail.tsx","pages/dashboard/fundraiserSellerReport/index.tsx","pages/dashboard/myFundraisers/fundraiserEdit/index.tsx","features/fundraiser/hooks/useUpdateFundraiserFormData.ts","pages/dashboard/myFundraisers/fundraiserManageSellers/fundraiserManageSellers.tsx","features/fundraiser/utils/GenerateFilteredSellersUtil.ts","pages/dashboard/myFundraisers/resourceHub/index.tsx","pages/dashboard/myFundraisers/view-and-print/view-and-print.tsx","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/ImageDownloadCard/ImageDownloadCard.tsx","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/DisplayAllGraphics/DisplayAllGraphics.tsx","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/DownloadableGraphicsPage.tsx","pages/dashboard/index.tsx","pages/fundraiserSupport/fundraiserSupport.tsx","pages/startAFundraiser/MealDeal/LandingPage/MealDealLandingPage.tsx","pages/startAFundraiser/MealDeal/LandingPage/components/RouteOne/RouteOne.tsx","pages/startAFundraiser/MealDeal/LandingPage/components/Start/Start.tsx","ui/fundraiser/Forms/MoneyInput/MoneyInput.tsx","pages/startAFundraiser/MealDeal/LandingPage/components/RouteTwo/RouteTwo.tsx","pages/startAFundraiser/MealDeal/LandingPage/components/Calculate/Calculate.tsx","pages/startAFundraiser/MealDeal/HowItWorks/MealDealHowItWorks.tsx","pages/startAFundraiser/MealDeal/RegistrationPage/MealDealRegistrationPage.tsx","pages/startAFundraiser/MealDeal/CreatePage/Form/FundraiserCreationForm.tsx","ui/fundraiser/FundraiserCreation/FundraiserCreate.tsx","pages/startAFundraiser/MealDeal/CreatePage/MealDealCreatePage.tsx","pages/startAFundraiser/MealDeal/SuccessPage/MealDealSuccessPage.tsx","pages/landing/landing.tsx","pages/startAFundraiser/MealDeal/MealDealSellerRoutes.tsx","ui/startAFundraiser/FundraiserOptionsBanner/FundraiserOptionIcon.tsx","ui/home/types.ts","ui/startAFundraiser/FundraiserOptionsBanner/FundraiserComparison/FundraiserComparison.tsx","ui/startAFundraiser/FundraiserOptionsBanner/FundraiserOptionsBanner.tsx","ui/fundraiser/NewFundraiserForm/NewFundraiserFormConfirm.tsx","pages/startAFundraiser/startAFundraiser.tsx","pages/orderConfirmation/orderConfirmation.tsx","pages/Unauthorized/index.tsx","pages/howItWorks/howItWorks.tsx","ui/aboutUs/AboutUsContent/AboutUsContent.tsx","ui/aboutUs/AboutUsHeader/AboutUsHeader.tsx","pages/aboutUs/aboutUs.tsx","pages/testimonials/testimonials.tsx","pages/articles/articleDetail/articleDetail.tsx","pages/articles/articles.tsx","features/legal/hooks/useFetchTerms.ts","features/legal/hooks/useFetchTermsOfSale.ts","features/legal/hooks/useFetchCampaignPolicy.ts","pages/legal/termsOfService/TermsOfService.tsx","pages/faq/FrequentlyAskedQuestions.tsx","pages/legal/campaignPolicy/CampaignPolicy.tsx","pages/legal/termsOfSale/TermsOfSale.tsx","ui/userLanding/UserIcon/UserIcon.tsx","ui/common/ScriptParser/ScriptParser.tsx","ui/userLanding/UserOption/UserOption.tsx","ui/userLanding/UserLandingPage/UserLandingPage.tsx","pages/chairperson/chairperson.tsx","pages/seller/seller.tsx","pages/buyer/buyer.tsx","ui/landingGroup/LandingGroupContent/LandingGroupContent.tsx","pages/landingGroup/landingGroup.tsx","FundraiserState.tsx","pages/admin/CreateSalesAgent/CreateSalesAgent.tsx","features/salesAgent/hooks/useAddSalesAgent.ts","pages/admin/Admin.tsx","ui/brochure/Create/Form/FundraiserDetailsSummary.tsx","ui/brochure/Create/Form/FundraiserDetails.tsx","ui/brochure/Create/Form/ChairpersonDetailsSummary.tsx","ui/brochure/Create/Form/ChairpersonDetails.tsx","features/fundraiser/hooks/use-fetch-no-delivery-date/use-fetch-no-delivery-date.ts","ui/brochure/Create/Form/components/WeekSelector/WeekSelector.tsx","ui/brochure/Create/Form/DeliveryDetailsSummary.tsx","ui/brochure/Create/Form/components/DeliveryRestrictionsModal/DeliveryRestrictionsModal.tsx","ui/brochure/Create/Form/components/PopoverMessage/PopoverMessage.tsx","ui/brochure/Create/Form/DeliveryDetails.tsx","ui/brochure/Create/Form/AdditionalDetails.tsx","ui/brochure/Create/brochure-create-page.tsx","features/fundraiser/hooks/useCreateFundraiserBrochure/useCreateFundraiserBrochure.ts","pages/brochure/BrochureRoutes.tsx","AppRouter.tsx","ui/common/CookieConsent/CookieConsent.tsx","App.tsx","index.tsx","features/common/hooks/useUserInfo.ts","features/fundraiser/hooks/useFetchGroup.ts","assets/images/caesar-cash.svg","constants/FundraiserDefaults.ts","features/cart/context/cartContext/cartActions.tsx","features/fundraiser/hooks/useFetchFundraiserById.ts","ui/common/Header/Menu/Links/Links.tsx","ui/common/Header/Menu/index.tsx","ui/common/Header/Menu/Overlay/Overlay.tsx","ui/common/Header/Mobile/Mobile.tsx","ui/common/Footer/Footer.tsx","features/common/types/picturetypes.ts","ui/fundraiser/SocialButtons/InstagramModal.tsx","ui/fundraiser/SocialButtons/SocialButtons.tsx","features/common/hooks/useMediaQuery/useMediaQuery.tsx","features/fundraiser/hooks/useFetchSellerBySupportGuid/useFetchSellerBySupportGuid.ts","features/fundraiser/utils/GenerateReportFiltersQuery.ts","features/fundraiser/api/create-ssu-fundraiser/create-ssu-fundraiser.ts","features/fundraiser/api.ts","ui/fundraiser/EmailLinks/EmailLinks.tsx","ui/common/Header/Logo/Logo.tsx","features/fundraiser/hooks/useChooseLogo/useChooseLogo.ts","constants/index.ts","assets/images/jumping-caesar.png","assets/images/Announcer-Caesar-Man.png","assets/icons/info-icon.svg","ui/common/HowDidYouHearAboutUsOptions/HowDidYouHearAboutUsOptions.tsx","features/cart/context/cartContext/cartReducer.ts","features/account/index.ts","ui/common/Header/Arch/hooks/useIsArchExpanding.ts","ui/common/Header/Arch/Arch.tsx","features/fundraiser/context/fundraiserContext/fundraiserContext.ts","features/fundraiser/context/fundraiserContext/fundraiserReducer.ts","features/fundraiser/context/fundraiserContext/fundraiserProvider.tsx","ui/account/AccountOptionsDesktop/AccountOptionsDesktop.tsx","ui/common/Header/Desktop/Desktop.tsx","ui/components/forms/phone-input/phone-input.tsx","ui/checkout/ShippingDetails/ProductShippingFields.tsx","ui/checkout/ShippingDetails/ShippingDetailsLoader.tsx","ui/checkout/ShippingDetails/hooks/useShippingSchema.ts","ui/checkout/ShippingDetails/ShippingMethodLabel.tsx","ui/checkout/ShippingDetails/ShippingDetails.tsx","ui/checkout/ShippingDetails/ShippingDetailsMDLoader.tsx","ui/checkout/ShippingDetails/ShippingDetailsMD.tsx","ui/checkout/ShippingDetails/ShippingDetailsSummary.tsx","ui/checkout/ShippingDetails/NoShippingDetailsSummary.tsx","ui/checkout/ShippingDetails/ShippingDetailsBR.tsx","ui/account/SecurityQuestions/index.ts","ui/account/CreateAccountForm/CreateAccountForm.tsx","assets/icons/instagram.svg","assets/icons/facebook.svg","assets/icons/pinterest.svg","assets/icons/twitterX.svg","ui/fundraiser/LinkItem/LinkItem.tsx","ui/hooks/use-stateful-fetch-seller-by-support-guid/use-stateful-fetch-seller-by-support-guid.ts","ui/hooks/use-product-detail-link/use-product-detail-link.ts","ui/hooks/use-fundraiser-final-order-status/use-fundraiser-final-order-status.ts","ui/hooks/use-beforeunload/use-beforeunload.ts","ui/hooks/use-safe-date-format/use-safe-date-format.ts","ui/hooks/use-feature-flagged-navigation-links/use-feature-flagged-navigation-links.ts","ui/hooks/use-stateful-fetch-fundraiser-by-id/use-stateful-fetch-fundraiser-by-id.ts","utils/isProhibitedEnvironment.ts","ui/hooks/use-growth-book/use-growth-book.ts","ui/hooks/use-connected-form-field/use-connected-form-field.tsx","ui/hooks/use-form-field/use-form-field.tsx","ui/hooks/use-translation-keys-available/use-translation-keys-available.tsx","ui/hooks/use-store-query-param-to-local-storage/use-store-query-param-to-local-storage.ts","features/common/hooks/useEventListener/useEventListener.tsx","features/popovers/index.ts","ui/components/index.ts","features/common/history.ts","features/fundraiser/hooks/useCreateFundraiser.ts","features/fundraiser/hooks/useFetchSellerQRCode.ts","features/fundraiser/hooks/useFetchFinalOrderSummary.ts","ui/fundraiser/ChairpersonSteps/Components/PhoneNumberLinkWrapper.tsx","ui/fundraiser/Popovers/FundraiserPopover.tsx","ui/components/buttons/text-with-inline-popover-button/text-with-inline-popover-button.tsx","ui/components/buttons/submit-button/submit-button.tsx","ui/components/buttons/button/Button.tsx","ui/checkout/OrderSummary/OrderUpsellText/OrderUpsellText.tsx","ui/checkout/utils/displayShippingInfoText.ts","ui/checkout/OrderSummary/OrderSummarySkeleton/OrderSummarySkeleton.tsx","ui/checkout/OrderSummary/OrderSummary.tsx","ui/common/Sidebar/Avatar/Avatar.tsx","ui/admin/AdminNavigation/AdminNavigation.tsx","ui/common/Sidebar/Sidebar.tsx","ui/fundraiser/NewFundraiserForm/DeliveryInfo/delivery-info.tsx","ui/fundraiser/NewFundraiserForm/FundraiserDetails/FundraiserDetailsSummary/FundraiserDetailsSummary.tsx","ui/fundraiser/NewFundraiserForm/FundraiserDetails/FundraiserDetails.tsx","features/checkout/utils/processOrder.ts","features/checkout/utils/generateID.ts","features/checkout/utils/eProtect.ts","ui/checkout/CheckoutProcess/CheckoutProcess.tsx","ui/components/data/refetch-data-display/refetch-data-display.tsx","ui/hooks/use-refetch/use-refetch.tsx","ui/common/SearchBar/SearchBar.tsx","ui/common/Paginate/Paginate.tsx","ui/common/VideoPlayer/VideoPlayer.tsx","ui/components/utils/merge-with-defaults.ts","ui/components/forms/start-date-input/start-date-input.tsx","ui/components/forms/first-name-input/first-name-input.tsx","ui/components/forms/money-input/money-input.tsx","ui/components/forms/clear-button/clear-button.tsx","ui/components/forms/terms-and-conditions-input/terms-and-conditions-input.tsx","ui/fundraiser/SocialLinks/SocialLinks.tsx","ui/components/links/inline-link-parse-and-replace/inline-link-parse-and-replace.tsx","ui/common/Sidebar/AccountMenu/AccountMenu.tsx","ui/fundraiser/CopyShare/CopyShare.tsx","ui/fundraiser/CopyShareDescription/CopyShareDescription.tsx","features/fundraiser/hooks/use-create-ssu-fundraiser/use-create-ssu-fundraiser.ts","ui/checkout/Login/Login.tsx","auth/config.ts","assets/icons/LCF-Account-Icon.svg","theme/components/fonts.ts","assets/images/caesar-kite.svg","features/salesAgent/index.ts","features/salesAgent/api.ts","assets/icons/copypaste.svg","assets/images/default-fundraiser-image.png","assets/images/fundraising-support-background.webp","assets/images/pizza-pizza-kit.svg","features/orders/api.ts","assets/icons/GetWordOut.svg","ui/fundraiser/NewFundraiserForm/ChairpersonDetails/ChairpersonDetailsSummary/ChairpersonDetailsSummary.tsx","ui/fundraiser/RemoveChairpersonModal/RemoveChairpersonForm/RemoveChairpersonForm.tsx","features/fundraiser/hooks/useRemovePrimaryChairperson.ts","ui/fundraiser/RemoveChairpersonModal/RemoveChairpersonModal.tsx","ui/fundraiser/NewFundraiserForm/ChairpersonDetails/ChairpersonDetails.tsx","ui/common/Header/Cart/Cart.tsx","ui/checkout/Login/ReturningUser/ReturningUser.tsx","ui/checkout/Login/NewGuest/NewGuest.tsx","features/common/hooks/useIsomorphicLayoutEffect/useIsomorphicLayoutEffect.tsx","assets/images/banners/school-banner.jpeg","assets/images/banners/get-started.png","assets/images/banners/meal-deal.png","features/checkout/context/checkoutContext/checkoutContext.ts","features/checkout/context/checkoutContext/checkoutReducer.ts","features/checkout/context/checkoutContext/checkoutProvider.tsx","features/checkout/context/paymentContext/paymentContext.ts","features/checkout/context/paymentContext/paymentReducer.ts","features/checkout/context/paymentContext/paymentProvider.tsx","features/checkout/api.ts","features/checkout/hooks/useShipping.ts","features/checkout/hooks/useAddressValidation.ts","features/checkout/hooks/useCheckoutRequest.ts","features/checkout/hooks/usePlaceOrder.ts","features/checkout/hooks/useFetchOrderSeller.ts","ui/fundraiser/FundraiserListItem/RelationshipIndicator/RelationshipIndicator.tsx","ui/fundraiser/NewFundraiserForm/AdditionalDetails/AdditionalDetails.tsx","ui/fundraiser/NewFundraiserForm/SimpleSignupForm/SimpleSignupSummary/SimpleSignupSummary.tsx","ui/fundraiser/NewFundraiserForm/SimpleSignupForm/SimpleSignupForm.tsx","ui/fundraiser/NewFundraiserForm/NewFundraiserForm.tsx","ui/fundraiser/MiniStats/MiniStats.tsx","ui/fundraiser/SellerProgress/SellerProgress.tsx","ui/fundraiser/SellerStatusCard/RemoveSellerModal.tsx","ui/fundraiser/SellerStatusCard/SellerStatusCard.tsx","features/fundraiser/hooks/useDeleteFundraiserSeller.ts","features/fundraiser/hooks/useActivateFundraiserSeller.ts","ui/fundraiser/SellerStatus/SellerStatus.tsx","ui/fundraiser/SellerSummaryListItem/SellerSummaryListItem.tsx","ui/fundraiser/FundraiserOptionsModal/FundraiserOptionsModal.tsx","ui/fundraiser/CancelFundraiserModal/CancelFundraiserModal.tsx","ui/fundraiser/FundraiserListItem/FundraiserListItem.tsx","ui/fundraiser/FundraiserListItem/FundraiserListItemSkeleton/FundraiserListItemSkeleton.tsx","ui/fundraiser/FundraiserStartCaesar/FundraiserStartCaesar.tsx","ui/patterns/DateInput/DateInput.tsx","ui/fundraiser/FundraiserListOptions/FundraiserListOptions.tsx","ui/fundraiser/FundraiserListTabs/FundraiserListTabs.tsx","ui/common/Header/Logo/LCF-Logo-Meal-Deal-Desktop.svg","assets/images/banners/fundraising-options.jpg","assets/images/caesar-supportaseller.png","ui/userLanding/UserIcon/assets/Open-Arms-Caesar.png","ui/userLanding/UserIcon/assets/Waving-Caesar.png","ui/userLanding/UserLandingPage/assets/lcespear.svg","ui/userLanding/UserLandingPage/assets/lcespear_mobile.svg","ui/common/RouterLink/RouterLink.tsx","theme/utils/scale.ts","theme/components/buttons.ts","theme/components/links.ts","theme/theme.ts","theme/components/cards.ts","theme/components/colors.ts","theme/components/text.ts","theme/components/forms.ts","theme/components/modals.ts","theme/components/images.ts","features/products/index.ts","features/fundraiser/types/index.ts","ui/checkout/index.ts","features/analytics/utilities.ts","features/analytics/Google/TagManager/Snippets.ts","features/analytics/Google/TagManager/TagManager.ts","features/analytics/Google/GoogleProvider/GoogleProvider.tsx","features/analytics/Google/events/index.ts","features/analytics/Google/events/addPaymentInfo.ts","features/analytics/Google/events/addShippingInfo.ts","features/analytics/Google/events/addToCart.ts","features/analytics/Google/events/beginCheckout.ts","features/analytics/Google/events/purchase.ts","features/analytics/Google/events/removeFromCart.ts","features/analytics/Google/events/viewCart.ts","features/analytics/Google/events/viewItem.ts","features/analytics/Google/events/viewItemList.ts","features/analytics/Fingerprint/FingerprintProvider.tsx","features/analytics/AnalyticsProvider/AnalyticsProvider.tsx","features/cart/context/index.ts","ui/components/types/index.ts","features/cart/index.ts","features/account/types/index.ts","ui/checkout/Types/index.ts","ui/components/landing/components/landing-disclaimer/landing-disclaimer.tsx","ui/components/landing/components/landing-image/landing-image.tsx","ui/components/landing/components/landing-text/landing-text.tsx","ui/components/landing/landing-form/landing-form.tsx","ui/components/landing/templates/index.ts","ui/components/landing/templates/cta-lead-capture/cta-lead-capture.tsx","ui/components/landing/templates/call-to-action/call-to-action.tsx","ui/components/landing/templates/lead-capture/lead-capture.tsx","ui/components/landing/templates/information/information.tsx","ui/components/landing/landing-content/landing-content.tsx","ui/components/landing/landing-confirmation/landing-confirmation.tsx","ui/components/landing/landing-header/landing-header.tsx","features/products/api.ts","features/products/hooks/useFetchProduct.ts","features/products/hooks/useFetchProductsByFundraiserType.ts","features/products/hooks/useFetchCategories.ts","features/products/hooks/useFetchCategoriesByFundraiserType.ts","features/products/hooks/useFetchProductsPageRoute.ts","features/checkout/utils/formatCCNum.ts","ui/checkout/Payment/PaymentForm/PaymentForm.tsx","ui/checkout/Payment/ViewPayment.tsx","features/checkout/utils/validateCreditCard.ts","ui/checkout/Payment/Payment.tsx","features/account/api.ts","features/account/hooks/useCreateAccount/useCreateAccount.ts","features/account/hooks/useFetchFundraiserInvite/useFetchFundraiserInvite.ts","ui/checkout/OrderReview/GiftMessaging/GiftMessaging.tsx","ui/checkout/OrderReview/OrderReview.tsx","ui/checkout/OrderReview/OrderReviewMD.tsx","ui/checkout/CheckoutModals/AddressConfirmModal/AddressConfirmModal.tsx","ui/checkout/Details/Details.tsx","ui/components/modals/confirm-submission-modal/confirm-submission-modal.tsx","ui/components/information/key-value-pairs/key-value-pairs.tsx","features/contact/api.ts","features/contact/hooks/useContactUs.tsx","ui/components/icon-steps/icon-steps.tsx","ui/checkout/CheckoutModals/CheckoutModals.tsx","ui/checkout/CheckoutWrapper/CheckoutWrapper.tsx","features/salesAgent/hooks/useVerifySalesAgent.ts","features/popovers/hooks/useFundraiserPopover.ts","features/orders/hooks/useOrderHistory.ts","ui/common/ConfirmationButton/confirm.png","ui/common/Toast/CustomToasts.tsx","assets/icons/youtube.svg","ui/common/Header/Logo/LCF-Logo-Mobile.svg","assets/images/homepage/LCF.svg","assets/images/homepage/PizzaKitMan.svg","assets/images/Cheerleader_Caesar.png","ui/fundraiser/FundraiserNavigation/FundraiserNavigation.tsx","ui/fundraiser/SellerStatusCard/star.png","ui/fundraiser/SellerSummaryListItem/star.png","assets/icons/shape.svg","assets/images/caesar-beach.svg","ui/home/FeaturedOrganizations/assets/background/lc-slice-background.svg","ui/home/FeaturedOrganizations/assets/Call-of-Duty_Endowment_Logo-Black.jpg","ui/home/FeaturedOrganizations/assets/LemonadeStandLogo.png","ui/home/FeaturedOrganizations/assets/T4Tlogo.jpg","ui/home/FundraiserPrograms/assets/brochure-truck.svg","ui/home/FundraiserPrograms/assets/digital-mouse.svg","ui/home/FundraiserPrograms/assets/meal-deal-restaurant.svg","ui/home/FundraisingSupport/assets/dedicated-reps.svg","ui/home/FundraisingSupport/assets/fundraising-plan.svg","ui/home/FundraisingSupport/assets/help-videos.svg","ui/home/FundraisingSupport/assets/resource-guide.svg","ui/common/Layouts/Layouts.tsx","assets/images/homepage/feature_image.webp","assets/images/banners/brochure-landing.jpg","assets/images/banners/earlyfall2024.png","assets/images/banners/kids-back2school.jpg","assets/images/banners/corporate-banner.png","assets/images/banners/google-banner.png","assets/images/banners/sportsengine-banner.png","assets/images/banners/halloween2022.png","assets/images/banners/sports-banner.jpg","assets/images/banners/daycare-banner.jpg","assets/images/banners/music-banner.jpeg","assets/images/banners/dance-banner.jpeg","assets/images/banners/pizza-kit-fundraiser-banner.jpeg","assets/images/banners/cheer-banner.jpeg","assets/images/banners/superbowl.png","assets/images/banners/eclub.png","assets/images/banners/Spring 2024 Landing Page Image.png","assets/images/banners/fall.png","assets/images/banners/early-fall-mailer.png","assets/images/homepage/chairperson_photo.webp","assets/images/homepage/seller_photo.webp","assets/images/homepage/buyer_photo.webp","assets/images/homepage/leaderboard.svg","assets/images/homepage/priceTag.svg","assets/images/homepage/pizza.svg","ui/home/UserTestimonial/assets/testimonialuser.png","ui/home/UserTestimonial/assets/familyeatingpizza.webp","assets/images/caesar-basket.svg","ui/account/LoginForm/assets/Jumping_Caesar.png","assets/images/caesar-point.svg","features/orders/index.ts","assets/icons/super-fan.svg","ui/faq/assets/plus.png","ui/faq/assets/minus.png","ui/contactUs/ContactInfo/at-sign 1.svg","ui/contactUs/ContactInfo/phone 1.svg","ui/contactUs/ContactInfo/printer 1.svg","ui/contactUs/ContactInfo/mail 1.svg","features/contact/index.ts","ui/fundraiser/ResourceHub/assets/jumping-caesar-rgb.png","ui/fundraiser/ResourceHub/assets/itscoming.png","ui/fundraiser/ResourceHub/assets/childImage.png","ui/fundraiser/ResourceHub/assets/phoneImage.png","ui/fundraiser/ResourceHub/assets/thankYouImage.png","ui/fundraiser/ResourceHub/assets/picasso.png","ui/fundraiser/ResourceHub/assets/pizzaTime.png","ui/fundraiser/ResourceHub/assets/youBetcha.png","ui/fundraiser/ResourceHub/assets/countingOneCaesar.png","ui/fundraiser/ResourceHub/assets/countingTwoCaesar.png","ui/fundraiser/ResourceHub/assets/countingThreeCaesar.png","ui/fundraiser/ResourceHub/assets/countingFourCaesar.png","ui/fundraiser/ResourceHub/assets/thumbsUpCaesar.png","ui/fundraiser/ResourceHub/assets/loudSpeakerCaesar.png","ui/fundraiser/ResourceHub/assets/feelingWhen.png","ui/fundraiser/ResourceHub/assets/smellPizza.png","ui/fundraiser/ResourceHub/assets/youBetchaTwo.png","ui/fundraiser/ResourceHub/assets/md-week1.png","ui/fundraiser/ResourceHub/assets/md-week2.jpg","ui/fundraiser/ResourceHub/assets/md-week3.jpg","ui/fundraiser/ResourceHub/assets/md-week4.png","ui/fundraiser/ResourceHub/assets/md-followup.png","ui/fundraiser/ResourceHub/assets/SampleBrochure.png","ui/account/LoginForm/LoginForm.tsx","ui/account/AccountSettings/ReadOnlyForm/ReadOnlyForm.tsx","features/common/hooks/useUpdateUser.ts","ui/account/AccountSettings/EditForm/EditForm.tsx","ui/account/LoginBox/LoginBox.tsx","ui/account/RegisterUserBox/RegisterUserBox.tsx","ui/account/MealDeal/Account/Account.tsx","ui/account/MealDeal/Login/Login.tsx","ui/account/MealDeal/GuestLogin/GuestLogin.tsx","ui/fundraiser/ResourceHub/assets/TallySheet.png","ui/fundraiser/ResourceHub/assets/KickOffGuide.png","ui/fundraiser/ResourceHub/assets/AnnouncementLetter.png","ui/fundraiser/ResourceHub/ResourceHubHeader/assets/lc-slice-bg.png","ui/fundraiser/ResourceHub/assets/copypaste.svg","assets/images/spear.svg","ui/fundraiser/DashboardHeader/HeaderInfo/assets/Alarm.svg","ui/fundraiser/DashboardHeader/HeaderInfo/assets/Calendar.svg","assets/icons/LCF-Zoom-In-Icon.svg","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/100Virtual,1000Easy.png","ui/components/links/stateful-link/stateful-link.tsx","ui/common/RedirectAwareLink/RedirectAwareLink.tsx","ui/components/links/back-to-dashboard/back-to-dashboard.tsx","ui/components/links/link/Link.tsx","ui/components/links/comboLink/ComboLink.tsx","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Best Lunch Ever.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Big Shout Out.jpg","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Pizza Kit Rule1.jpg","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Pizza on Mobile.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Little Caesar Fundraising with Pizza Kits and Caesar.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Pizza Kits Delivered.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Pizza heart.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Pizza_Picasso_485x275.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Little Caesar Fundraising on Computer Monitor.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Caesar Man with Magnifying Glass.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Little Caesar Fundraising on Mobile Phone.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Little Caesar Fundraising logo.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Lets Talk Pizza.jpg","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Caesar Man on Clock.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Caesar Man with Cash.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Caesar Man with Trophy.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Do_You_Smell_Pizza_485x275.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/EasiestFundraiserEver v2.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Fundraise with Pizza - You Betcha.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Get_The_Word_Out_485x275.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Its coming.jpg","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Its_Pizza_Time_485x275.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Join Our Fundraiser.jpg","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Thank You 2.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Deserve_A_Hand.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/YAY - Clap.jpg","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Yay_Wide.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/Yum_O_485x275.png","ui/fundraiser/ResourceHub/DownloadableGraphicsPage/assets/vector.svg","pages/startAFundraiser/MealDeal/LandingPage/assets/meal-deal.png","ui/fundraiser/Forms/MoneyInput/assets/dollar-sign.png","assets/icons/CloseFundraiser.svg","ui/startAFundraiser/FundraiserOptionsBanner/assets/Traditional-Caesar.png","ui/startAFundraiser/FundraiserOptionsBanner/assets/Digital-Caesar.png","ui/startAFundraiser/FundraiserOptionsBanner/assets/Restaurant-Caesar.png","ui/startAFundraiser/FundraiserOptionsBanner/FundraiserComparison/assets/pizzaslice.png","ui/startAFundraiser/FundraiserOptionsBanner/FundraiserComparison/assets/lcespear.svg","assets/icons/Register.svg","assets/icons/DollarSign.svg","features/common/hooks/useDebounce/useDebounce.tsx","features/common/hooks/useLocalStorage/useLocalStorage.ts","features/common/hooks/useQueryParam/useQueryParam.tsx","features/common/api.ts","features/common/hooks/useFetchStates.ts","features/common/hooks/useUserInRoles.ts","assets/images/banners/about-us-banner.png","assets/images/banners/tetimonials-banner-kids-with-hearts.jpg","assets/images/caesar-cellphone.svg","assets/images/banners/article-1-banner.png","assets/icons/ComputerSimple.svg","assets/icons/EmailLetter.svg","assets/icons/Computer.svg","assets/icons/ClappingHands.svg","assets/images/banners/faq-banner.png","ui/userLanding/UserIcon/assets/thumbsup-LCEMan.png","ui/userLanding/UserIcon/assets/pizzakits.png","ui/userLanding/UserLandingPage/assets/fundraiserseller.png","ui/userLanding/UserLandingPage/assets/fundraiserbuyer.png","ui/userLanding/UserLandingPage/assets/fundraiserchairperson.png","ui/landingGroup/LandingGroupContent/assets/lc-fundraising-logo.png","pages/maintenence/cutter.svg","features/fundraiser/types/fundraiser.ts","features/fundraiser/utils/CalculateKitsFromProfitGoal.ts","features/fundraiser/utils/userHasOneOfRequiredRoles.ts","features/fundraiser/utils/GetFundraiserLinkPath.ts","features/fundraiser/utils/AreAllFreeShippingItemsDonationItems.ts","ui/common/Step/Step.tsx","ui/common/Header/Mobile/index.tsx"],"names":["ConfirmationButton","sx","loading","children","onClick","variant","sku","data-testid","src","Checkmark","GuestRoute","Component","component","attrs","authState","useOktaAuth","isPending","render","props","isAuthenticated","to","pathname","state","from","location","Header","user","useUserInfo","data","isLarge","useMediaQuery","Desktop","roles","Roles","Mobile","joinFundPage","PrivateComponent","redirectPath","useUserInRoles","userRoles","mutateAsync","isLoading","isError","useState","undefined","canActivate","setCanActivate","useEffect","a","getUserRoles","push","textAlign","padding","PrivateRoute","CardTabs","clickHandler","value","window","innerWidth","isDropDown","setIsDropdown","updateMedia","addEventListener","removeEventListener","width","Select","id","name","onChange","x","target","tabs","map","key","label","toLocaleUpperCase","justifyContent","borderBottom","borderColor","button","selected","toUpperCase","TabbedCard","config","tab","selectedTab","setSelectedTab","onTabSelect","cardTab","display","sections","section","content","Title","title","openTitle","alignItems","bg","height","fontFamily","fontSize","textTransform","borderBottomLeftRadius","borderBottomRightRadius","fontWeight","isOpen","onOpenCallback","cursor","AccordianBox","openFromTop","defaultOpen","React","setIsOpen","onToggle","open","border","borderTop","borderRadius","Banner","history","useHistory","imageBackground","useMemo","gradient","image","backgroundColor","flexDirection","m","maxWidth","position","background","backgroundPosition","backgroundSize","heightBreakpoints","showOnMobile","top","left","transform","text","color","subText","mr","ml","buttonText","buttonLink","mt","buttonMarginProps","minWidth","buttonBgColor","buttonVariant","FileUpload","onFileSelect","setFile","setFileName","htmlFor","style","accept","e","files","length","type","toast","Modal","closeIcon","onClose","marginTop","paddingLeft","paddingRight","size","mb","heading","message","ctaText","alt","CaesarKite","CartStateProvider","useLocalStorage","cart","setCart","customerData","setCustomerData","initialState","items","subtotal","calculateSubtotal","totalQuantity","getTotalQuantity","sellerId","guestId","fundraiserId","canStartShopping","useReducer","cartReducer","dispatch","appInsights","clearAuthenticatedUserContext","setAuthenticatedUserContext","Provider","Graph","isDashboard","headerFontSize","bodyFontSize","gap","gridTemplateRows","as","alignSelf","Graphs","graphStats","testId","fundraiserType","useTranslation","t","graphs","graphStatsFormatted","sort","b","DisplayOrder","forEach","graph","newTitle","Key","newValue","Value","toLocaleString","formatGraphStats","minWidthEven","flexWrap","evenGraphs","hasEvenNumberOfGraphs","i","_map","evenGraph","index","context","GraphsSkeleton","NotDashboardGraphsSkeleton","count","DashboardGraphsSkeleton","useCreateFundraiserMealDeal","useMutation","createFundraiserMealDeal","useFetchGroupTypes","useQuery","QueryKeys","fetchGroupTypes","retry","refetchOnWindowFocus","useFetchUserGroups","fetchGroups","useSupportFundraiser","cartDispatch","useCartDispatch","supportSeller","supportFundraiser","startShopping","useFetchPaginatedFundraisers","options","keyword","fetchFundraisers","useFetchSeller","customerId","fetchSellerById","enabled","useUpdateSeller","queryClient","useQueryClient","updateSeller","onSuccess","invalidateQueries","useFetchFundraiserSellerSummary","toString","fetchFundraiserSellerSummary","cacheTime","useFundraiserSellerSummaryExcel","fetchFundraiserSellerSummaryExcel","useJoinFundraiser","joinFundraiserGuid","setJoinFundraiserGuid","removeFundraiserGuid","localStorage","removeItem","useCreateFundraiserSeller","createFundraiserSeller","useRemoveFundraiserSeller","removeFundraiserSeller","cancelFundraiser","request","api","put","then","res","useCancelFundraiser","useFetchSellerByFundraiserId","fetchSellerByFundraiserId","fetchBuyers","get","useFetchPaginatedBuyers","refetchOnReconnect","useFetchEmailNotifications","fetchEmailNotifications","useUpdateEmailPreferences","updateFundraiserEmailPreferences","useFetchFundraiserQRCode","fetchFundraiserQRCode","useFetchSSUGroup","slug","fetchSSUGroupByIdSlug","Boolean","useFetchChairpersonDashboardStatistics","fetchChairpersonDashboardStatistics","useFetchSellerDashboardStatistics","fetchSellerDashboardStatistics","useConditionalRedirect","checkCondition","destination","useLocation","followRedirect","replace","useFetchFundraiserOrderSummary","fetchFundraiserOrderSummary","useCreateFinalOrder","createFinalOrder","useFetchExistingCoupons","fetchExistingCoupons","useApplyCouponsToFinalOrder","applyCouponsToFinalOrder","useUserHasOneOfRequiredRoles","requiredRoles","userHasOneOfRequiredRoles","useUserHasSpecialRoles","SPECIAL_PERMISSIONS_ROLES","useUserHasElevatedRoles","ELEVATED_RELATIONSHIPS","useUpdateFinalOrderInformation","updateFinalOrderInformation","useFetchOnlineOrderReport","fetchOnlineOrderReport","reactPlugin","ReactPlugin","ApplicationInsights","instrumentationKey","process","correlationHeaderExcludedDomains","extensions","extensionConfig","identifier","distributedTracingMode","DistributedTracingModes","W3C","disableFetchTracking","enableCorsCorrelation","disableTelemetry","loadAppInsights","SellerAvatar","imageSrc","flexShrink","DefaultSellerAvatar","SellerText","seller","minHeight","FirstName","LastInitial","VideoSource","href","lineHeight","Description","FundraiserMessage","endDate","format","Date","EndDate","startDate","StartDate","firstName","FundraiserId","fundraiserName","FundraiserName","SellerInformation","AvatarSource","SellerInformationSkeleton","FundraiserTracker","useFetchSellerBySupportGuid","isSellerLoading","useFundraiserState","Id","sellerStats","isSellerStatsLoading","gridTemplateColumns","p","module","exports","Popover","forwardRef","ref","canHide","placement","referenceElement","popperContainerClassName","popperElement","setPopperElement","arrowElement","setArrowElement","hidden","setHidden","usePopper","modifiers","element","offset","styles","attributes","update","handleUpdate","useImperativeHandle","className","popper","boxShadow","bottom","right","data-popper-arrow","arrow","NewFundraiserPopover","onHide","isHidden","shouldDelay","wait","setWait","handler","setTimeout","clearTimeout","marginRight","verticalAlign","paddingTop","NewFundraiserCPPopover","useFundraiserPopover","popovers","setPopovers","popoverHidden","hidePopover","popover","NewFundraiserSellerPopover","SellerInvitePopover","BuyerInvitePopover","hide","displayName","TipSection","Icon","description","VideoTipPopover","Video","Youtube","Copy","TooltipPopover","visible","setVisible","popoverRef","useRef","handleClickOutside","event","_get","current","contains","document","createPopper","aria-hidden","zIndex","WarningMessages","warnings","warning","CartListItem","cartItem","onQuantityChange","disableChanges","Quantity","quantity","setQuantity","handleQuantityChange","parseInt","Card","Picture","AltAttribute","VirtualPath","objectFit","TitleAttribute","flex","ProductName","paddingBottom","ShortDescription","numeral","UnitPrice","Warnings","ProductId","_range","MAX_QUANTITY","GoogleEvents","removeFromCart","price","marginLeft","strokeWidth","EmptyCartCaesar","productPageRoute","useFetchProductsPageRoute","CaesarBasket","getAuthToken","existingAuthToken","authStorage","getItem","JSON","parse","accessToken","growthbook","GrowthBook","apiHost","clientKey","enableDevMode","disableCache","init","streaming","Presets","defaults","authToken","Authorization","axios","interceptors","use","evalFeature","mockURL","clientId","preset","presets","endpoints","endpointNames","_isEmpty","_isNil","matchingPath","find","method","path","url","match","RegExp","branch","example","httpStatusCode","mockConfigUrl","headers","error","Promise","reject","params","cancelToken","resolve","response","rejectWithError","status","err","Status","Message","ErrorCode","applyErrorMessages","console","log","isCancel","post","patch","delete","download","responseType","fileName","getResponseHeader","URL","createObjectURL","Blob","link","createElement","setAttribute","body","appendChild","click","downloadApi","PopupBorder","BuyerInvitePopup","ManageSellerPopup","VideoModal","closeOnClickOutside","aria-label","VideoPlayer","fullSize","SellerInvitePopup","isVideoOpen","setIsVideoOpen","textDecoration","FriendFamilyPopUp","Products","ProductCategories","ProductPrefix","UserFundraisingGroups","FundraisingGroupTypes","StatesByCountry","UserAddress","FundraiserInvite","shippingCost","Group","SellerPrefix","SellerDetailPrefix","OrderPrefix","UserInfo","SellerReport","SellerReportExcel","SellerBuyerReport","FundraiserById","FundraiserFormData","VerifySalesAgent","TermsOfService","PrivacyPolicy","CampaignPolicy","TermsOfSale","ValidateJoinFundraiser","Buyers","FundraiserRelationships","AllSalesCustomers","EmailNotifications","FundraiserQRCode","FundraiserSellerQRCode","ChairpersonDashboardStatistics","SellerDashboardStatistics","FundraiserOrderSummary","ExistingCoupons","FinalOrderSummary","OnlineOrderReport","NoDeliveryDate","SSUGroup","CartStateContext","createContext","CartDispatchContext","useCartState","useContext","Error","FeaturedFundraiserTrackerWithStats","py","mx","FeaturedFundraiserTrackerWithoutStats","FeaturedFundraiserTracker","useSafeFeature","feature","defaultValue","featureResult","useFeature","featureValue","on","off","source","ruleId","useBooleanFeature","useJSONFeature","FeaturedFundraiser","featuredFundraiser","featuredOrganizations","CallOfDutyImg","ToysForTotsImg","LemonadeStandImg","FeaturedOrganizations","backgroundImage","LCBackground","gridTemplateAreas","gridArea","featuredOrganization","RightArchClipPathSvg","clipPathUnits","d","TopArchClipPathSvg","FeaturedProductCard","clipPath","alignContent","FeaturedProducts","featuredProducts","product","IconMap","BR","Truck","DG","Mouse","MD","Restaurant","FundraiserProgramCard","iconSrc","bulletPoints","linkText","fundraiserCreationUrl","pr","margin","point","FundraiserProgramCards","isBrochureLinksEnabled","fundraiserTypes","FundraiserType","Brochure","Digital","MealDeal","programData","returnObjects","isBrochureAndBrochureLinksEnabled","urlContext","FundraiserPrograms","textWrap","ResourceGuide","HelpVideos","FundraisingPlan","FundrasingPlan","DedicatedReps","SupportIconTile","FundraisingSupport","supportCards","FundraisingSupportBackground","columnGap","rowGap","card","HeroImage","buttons","FeatureImage","MoreInfo","justifySelf","UserCategoryCard","role","icon","transition","pt","opacity","visibility","ChairpersonPhoto","ChairpersonIcon","SellerPhoto","SellerIcon","BuyerPhoto","BuyerIcon","UserCategories","UserTestimonial","BannerImage","TestimonialUser","Home","mobilePaddingTop","MOBILE_HEADER_HEIGHT","DESKTOP_HEADER_HEIGHT","productCard","isTextExpanded","productCardMealDeal","productCardDigital","ProductListItem","onAddToCart","supportGuid","isTextExpandedDefault","showExpandedButtonDefault","setLoading","productDetailLink","useProductDetailLink","Sku","ThumbnailImage","MimeType","gaViewItemOnClick","viewItem","Name","Price","setIsTextExpanded","showExpandTextButton","setShowExpandTextButton","titleRef","descriptionRef","useLayoutEffect","handleResize","isDescriptionTruncated","scrollHeight","isTitleTruncated","WebkitLineClamp","origin","handleAddToCart","ProductListItemSkeleton","pb","QueryClient","ProductList","currentCategory","useFetchProductsByFundraiserType","productResult","isProductResultLoading","isProductResultError","filteredProducts","categoryId","products","Categories","category","CategoryId","firstCategory","secondCategory","filteredFirstCategory","filter","first","filteredSecondCategory","filterProductList","productCategories","getQueryState","categoryName","_find","c","viewItemList","item","addToCartHandler","useCallback","addToCart","gridColumn","CancelledFundraiserModal","_noop","EndedFundraiserModal","UpcomingFundraiserModal","NotRunningFundraiserModalsDisplay","started","isBefore","ended","showUpcomingFundraiserModal","CanSupport","IsFundraiserCancelled","showEndedFundraiserModal","showCancelledFundraiserModal","Active","IsDeleted","ProductDetailInfo","renderRte","dangerouslySetInnerHTML","__html","DOMPurify","sanitize","nutritionalInfoImage","NutritionalImage","BakingInstructions","HandlingInstructions","Ingredients","ProductDetailAddToCart","isFreeShipping","IsFreeShipping","marginBottom","ProductImageCarousel","images","isMobile","galleryImages","picture","original","thumbnail","originalTitle","originalAlt","thumbnailTitle","thumbnailAlt","showFullscreenButton","showNav","showPlayButton","showThumbnails","thumbnailPosition","ProductDetail","GalleryImages","FullDescription","KitComponents","DesktopNav","categories","MobileNav","ProductCategorySelector","isOpenDefault","useFetchCategoriesByFundraiserType","categoryResult","isCategortyResultLoading","useQueryParam","activeCategory","setActiveCategory","setInitialCategory","categoryExists","cartState","useStatefulFetchSellerBySupportGuid","isFranchiseeRef","IsFundraiserReferredByFranchisee","isValidFundraiser","defaultCategory","production","qa","development","local","jest","search","urlSearchParams","URLSearchParams","SupportGuid","useFundraiserDispatch","CustomerId","CreateAccount","useRouteMatch","exact","CreateAccountForm","isConfirm","useCartContainsIneligibleProducts","some","includes","useCartContainsValidProducts","every","Cart","checkoutError","showIneligibleCartItemWarning","onProductQuantityChange","modifyCart","cartItems","Logout","authService","logout","JoinFundraiserInfoCard","fundraiser","allowClick","theme","breakpoints","login","getElementById","scrollIntoView","behavior","block","FundraiserImageSource","maxHeight","CustomMessage","JoinFundraiserInfoCardSkeleton","FundraiserLogin","showImage","showCreateAccount","setShowCreateAccount","showLogin","setShowLogin","onBackCallback","scrollMarginTop","PizzaPizza","redirect","JoinFundraiser","fundraiserGuid","enableValidateCall","setEnableValidateCall","isSellerRoleAdded","setIsSellerRoleAdded","checkingUserStatus","setCheckingUserStatus","useFetchFundraiserByGuid","fundraiserError","isFundraiserSuccess","isSuccess","isFundraiserLoading","fundraiserValidation","fetchJoinFundraiserValidation","refetchOnMount","isCanceled","cancelationDate","CancellationDate","today","isCanceledToday","isSameDay","isAfterCancelationDate","isAfter","isCanceledByDate","FundraiserStatus","Canceled","IsExpired","isFundraiserSellerCreated","IsUserAlreadyInFundraiser","IsInvalidFundraiser","addSellerRole","IsUserNotAuthorizedToRegister","Login","CaesarPoint","flexBasis","FundraiserLoginManager","Checkout","hasValidProducts","isBrochure","isChairperson","IsChairperson","shouldDisplayShipping","shouldDisplaySubtotal","checkoutState","details","setDetails","paymentState","paymentDispatch","hasOnlyCouponItems","hasOnlyDonationItems","isCouponItemExist","handleModalClose","handlePaymentInfoComplete","redirectToCart","placeOrderHandler","popup","paymentStatus","openModal","ShippingDetailsComponent","ShippingDetailsBR","ShippingDetails","ShippingDetailsSummaryComponent","NoShippingDetailsSummary","ShippingDetailsSummary","mode","onEdit","onVerified","showPaymentStep","onPaymentInfoComplete","showReviewStep","onPlaceOrder","openOverlay","when","ProductDetailPage","useFetchProduct","MealDealProductsPage","useFetchCategories","mdCategory","MealDealCartPage","isNotCouponCodeItem","isIneligibleProduct","ineligibleItems","my","MealDealCheckoutPage","LoginComponent","GuestLogin","ShippingDetailsMD","renderOrderStat","OrderHistoryListItem","order","GroupName","SellerName","OrderId","OrderDate","OrderTotal","TrackingNumber","OrderStatus","PaymentStatus","OrderHistoryListItemSkeleton","OrderHistoryList","useOrderHistory","orders","CreateAccountModal","lockBodyScroll","OrderConfirmationCard","orderSeller","isGuest","SuperFan","sellerName","whiteSpace","orderId","px","copyText","sellerFirstName","CreateMealDealAccountForm","address","setInviteUserRegistered","useCreateAccount","submitAccount","fetchFundraiserInvite","useFetchFundraiserInvite","mealDealSignInUrl","IsAlreadyRegistered","useFirstNameInput","FirstNameInput","firstNameInputSchema","validationSchema","Yup","shape","lastName","required","email","password","matches","min","phone","phonePattern","max","handleOnSubmit","formData","confirmTerms","securityQuestion","securityQuestionAnswer","optInMarketing","initialValues","LastName","Email","onSubmit","reValidateMode","summary","Field","Form","Input","Password","Checkbox","inline","disabled","rel","MealDealOrderConfirmationPage","isCreateAccountOpenDefault","isAccountCreatedDefault","orderGuid","useParams","useFetchOrderSeller","isCreateAccountOpen","setIsCreateAccountOpen","accountCreated","setAccountCreated","guestAddress","MealDealProductDetailPage","seoDefaultValues","Seo","pageTitle","linkTitle","imageAlt","locale","noTitle","Helmet","property","RouteWrapper","routeComponent","RouteComponent","Route","layout","Layout","MainLayout","seo","rest","unlisten","listen","scrollTo","PrivateRouteWrapper","AuthenticatedRoute","FaqFooter","QAndA","question","answer","showAnswer","setShowAnswer","handleClick","Plus","Minus","aria-controls","aria-expanded","outline","Category","faqCategoryTitle","qAndACollection","qAndA","CouponCodeFaqs","qAndAs","cat","RequestInfoData","redirectUrl","franchiseeId","referralSource","country","setCountry","showReferralSource","setShowReferralSource","referralSourceDefaultValueInitial","referralSourceDefaultValue","setReferralSourceDefaultValue","states","useFetchStates","hasReferral","hasFranchiseeId","referralText","leadSource","countryMapping","Canada","action","keysToOmit","autoComplete","maxLength","HowDidYouHearAboutUsOptions","Abbreviation","isUSZip","test","isCAPostal","setCustomValidity","validateZip","RequestInfo","RequestInfoThankYouData","RequestInfoThankYou","MealDealBuyerRoutes","ContactInfoList","AtSign","PhoneIcon","FaxIcon","MailIcon","ContactUsForm","useContactUs","contact","mutate","Organization","phoneNumber","excludeEmptyString","notRequired","nullable","comments","organization","Textarea","ContactUs","NotFound","getTemplateImage","jumpingCaesar","itsComingCaesar","childImage","phoneImage","thankYouImage","picassoImage","pizzaTimeImage","youBetchaImage","countingOneCaesar","countingTwoCaesar","countingThreeCaesar","countingFourCaesar","thumbsUpCaesar","loudSpeakerCaesar","feelingWhen","smellPizza","youBetchaRectangle","mdSupport","mdGetWhileHot","mdHelpRaiseDough","mdLastChance","mdFollowUp","htmlDecode","input","DOMParser","parseFromString","documentElement","textContent","useResourceHub","sellers","isChairpersonResourceHub","endsWith","chairpersonStats","joinFundraiserLink","FundraiserGuid","totalKitsSold","stat","fundraiserProfit","formattedProfit","sellerSupportGuid","ChairpersonCustomerId","buyerLink","dateRange","formattedStart","formattedEnd","formatFundraiserDateRange","userIsChairperson","Relationships","fundraiserDescription","totalRaised","TotalRaised","resourceHubData","ResourceHubPage","useFetchFundraiserById","FundraiserNavigation","fundId","PrintableCard","contentType","ResourceIconCard","pathName","PrintableResourcesImagesObj","SampleBrochureImage","TallySheetImage","AnnouncementLetterImage","KickOffGuideImage","BrochureResourceHub","cards","EmailOutlined","ImageSearch","BrochureResourceHubChairpersonPage","ResourceHubHeader","lcBackground","backgroundRepeat","BracketTextWrapper","regex","parts","split","part","Fragment","slice","EmailTemplateContent","subject","fontStyle","formattedText","CopyTextButton","useClipboard","setCopied","copyIcon","GoBackLink","goBack","ResourceHubEmailTemplate","emailText","fundraiserRole","caesarMan","bodyImage","emailBodyText","emailBody","bracketlessBody","join","formatEmailBodyForCopy","emailSubject","hasDescription","emailTemplates","wordWrap","EmailLinks","encodeURIComponent","fonstSize","ResourceHubEmailSection","emailSectionContent","subHeading","ResourceHubSocialTemplate","socialInfo","imageUse","socialImage","sellerLink","decodedBodyText","formattedCopyText","SocialButtons","fundraiserImage","ResourceHubSocialSection","socialSectionContent","socialCards","downloadSocialPackage","zipLink","ResourceHub","emailSection","socialSection","BrochureResourceHubEmailTemplatesPage","List","useDebounce","debouncedKeyword","setKeyword","totalCount","setTotalCount","superAdmin","FundraiserDefaults","chairperson","salesAgent","FundraiserState","ActiveUpcoming","setFundraiserState","canSort","page","pageSize","setOptions","resolvedData","Popovers","fundraisersFetched","setFundraisersFetched","fundraiserLinkPath","getFundraiserLinkPath","Items","TotalCount","onDateChange","selectedStartDate","selectedEndDate","onSearchChange","onSortChange","selectedOptions","currentPage","fundraisers","onPageSelectHandler","onPageSizeSelectHandler","Number","FinalOrderForm","onNext","showMinOrderError","setShowMinOrderError","disableSubmit","setDisableSubmit","fundraiserMeetsMinimumKitCount","setFundraiserMeetsMinimumKitCount","stepTitle","orderSummary","isErrorFetchingOrderSummary","refetch","FinalOrderFormStepState","refetchOrderSummary","RefetchDataDisplay","useRefetch","productsTotal","total","brochureOrderCount","setBrochureOrderCount","initialBrochureOrderCount","KitOrders","reduce","acc","cur","BrochureQuantity","createFinalOrderMutation","totalOrderCount","OnlineKitTotal","deliveryEndTime","useSafeDateFormat","DeliveryEndTime","deliveryStartTime","DeliveryStartTime","kitOrders","kitOrder","numericValue","Object","values","val","colSpan","Code","Color","OnlineQuantity","minimumDeliveryKit","Preview","showEdit","ApplyCouponForm","existingCoupons","applyFinalOrderCouponsMutation","selectedCouponCode","setSelectedCouponCode","appliedCouponCodes","setAppliedCouponCodes","appliedCouponsDefault","_filter","coupon","Applied","appliedCouponCodesDefault","isSelectedCouponApplied","_includes","isCouponAlreadyApplied","disableNextButton","setDisableNextButton","errorText","setErrorText","appliedCoupons","data-testId","appliedCoupon","handleRemoveCoupon","Hidden","stepNumber","useFetchFinalOrderSummary","isFetchFinalOrderSummaryError","paymentSummaryGridAreas","_forEach","PaymentSummaryKeys","couponDiscountsGridAreas","CouponDiscountsKeys","finalSummaryGridAreas","FinalOrderSummaryKeys","ProfitSummary","KitsSold","ProfitPerKit","TotalProfit","PopoverText","popoverText","ProfitSummaryTotal","TotalKitsSold","hasMinus","PaymentSummary","CouponDiscounts","iconHeight","textVariant","editText","FinalOrderInformation","showChairperson","setShowChairperson","showSubmitModal","setShowSubmitModal","setFormData","allowEditsToFinalOrder","paymentMethodMapping","paymentMethods","handleOnSubmitEdit","formInfo","finalOrderInformation","PaymentMethod","paymentMethod","IsCPForNextFundraiser","keepChairperson","emailAddress","EmailAddress","newChairpersonName","NewChairpersonName","newChairpersonPhone","NewChairpersonPhone","newChairpersonEmail","NewChairpersonEmail","oneOf","is","handleOnSubmitNoEdit","option","Radio","cancelButtonText","onCancel","submitButtonText","useFetchFundraiserFormData","fetchFundraiserFormData","useEventCallback","fn","useIsomorphicLayoutEffect","args","IS_SERVER","useSessionStorage","initialValue","initializeWithValue","serializer","stringify","deserializer","parsed","Function","readValue","initialValueToUse","raw","sessionStorage","warn","storedValue","setStoredValue","setValue","setItem","dispatchEvent","StorageEvent","removeValue","handleStorageChange","useEventListener","FinalOrderPage","useStatefulFetchFundraiserById","isFundraiserDataLoading","fundraiserFetchError","refetchFundraiser","fundraiserFormData","isFormDataLoading","isCouponsLoading","kiteCaesarMan","FinalOrderDetails","finalOrderStatus","useFundraiserFinalOrderStatus","formInProgress","FinalOrderStatus","FinalOrderInProgress","FinalOrderUpcoming","formSubmitted","FinalOrderSubmitted","editSubmittedForm","finalOrderSubmitted","showSteps","anouncerCaesarMan","FinalOrderSteps","useBeforeunload","preventDefault","hasCoupons","finalOrderDate","FinalOrderDate","removeFormData","FinalOrderFormSteps","currentStep","setCurrentStep","applyCouponFormFilled","allStepsCompleted","finalOrderFormFilled","finalOrderSummaryFilled","finalOrderInformationFilled","getStepMode","stepName","Coupons","Summary","Information","updateCurrentStep","stepsConditions","condition","step","shouldWarnUserOnNavigate","goToNextStep","currentIndex","indexOf","nextStep","saveData","stepFilled","handleSubmitFinalOrder","gridGap","list","term","Chairperson","GroupId","SalesAgentName","date","offsetDays","BuyerListSortFields","getDateString","year","getFullYear","month","getMonth","day","getDate","defaultState","reportType","reportFormat","reportStatuses","statusAll","statusActive","statusCompleted","statusCancelled","statusUpcoming","rangeStartDate","setDate","rangeEndDate","statesSelector","statesSelection","salesRepsSelector","salesRepsSelection","iscsSelector","iscsSelection","DropdownSelect","div","boxStyling","fieldStyling","ReportStatus","useFormContext","isSubmitting","formState","watch","statuses","Label","checked","overflow","styling","DateRange","startLabel","endLabel","Border","TypeaheadSelect","isMulti","control","errors","dropdownIndicator","provided","svg","fill","placeholder","defaultStyles","components","IndicatorSeparator","boxStyle","OptionalTypeaheadSelect","nameSelector","nameSelection","value1","value2","multi","span","FilterOptions","fetchSalesCustomers","salesCustomerQuery","statesQuery","isStatesFetched","salesAgents","iscs","salesCustomers","setSalesCustomers","setStates","selects","agent","salesAgentsRes","iscsRes","Role","statesList","resolveSelection","dependentSelector","dependentValue","Translate","formValues","translatedObj","resolveStatuses","toISOString","sectionSpacing","ReportFilters","showFilters","setShowFilters","fetchFilteredReport","downloadReport","methods","useForm","reportTypes","curr","orig","schema","this","parent","onFormSubmit","_","newFormData","handleSubmit","Orders","EmailNotificationForm","emailNotifications","emailEditMode","toggleCollapse","setToggleCollapse","Notifications","handleOnChange","notifications","watchIsSubscribed","findUncheckedInputs","checkedInputs","notification","foundInputsUnchecked","aria-labelledby","aria-checked","defaultChecked","IsSubscribed","isDirty","EmailNotificationEdit","onCloseEmail","isFetching","updateEmailData","isUpdating","fundraiserPreferences","NotificationsDisabled","Settings","editMode","setEditMode","setEmailEditMode","removeEditButton","FundraiserConfirmation","showEditButton","defaultEditButtonRoute","finalOrderSubmittedEditButtonRoute","editButtonRoute","uploadSellerPhoto","form","uploadFundraiserPhoto","useUploadSellerPhoto","useUploadFundraiserPhoto","HeaderImage","newImage","setNewImage","setImageSrc","uploadSellerImage","uploadFundraiserImage","onImageSelectHandler","file","reader","FileReader","onload","load","result","readAsDataURL","FormData","append","DefaultFundraiserImage","BuyerListSkeleton","OrderItems","orderItems","BuyerListItem","totalKits","OrderInfo","sum","BuyerInfo","DateOfPurchase","PopoverType","BuyerList","useBuyerReport","setBuyerReport","canRunReport","setCanRunReport","searchValue","setSearchValue","SortByColumn","PageIndex","PageSize","fetchSellerBuyerReport","useFetchBuyerReport","BuyerCount","SearchBar","onSearch","Filter","placeholderText","q","FullName","KitsPurchased","Paginate","onPageChange","onPageSizeChange","Spear","CaesarCash","Edit","onCancelEdit","Goal","goal","setGoal","showVideoInfo","setShowVideoInfo","onSaveHandler","KitGoal","SellerFirstName","SellerLastName","userInfo","canEditSellerInfo","setCanEditSellerInfo","Text","GoalMinimum","valueAsNumber","pointerEvents","infoIcon","HeaderDescription","isPreviewOpenDefault","isEditDescriptionDefault","isEditDescription","setIsEditDescription","isPreviewOpen","setIsPreviewOpen","customMessage","setCustomMessage","textInput","handleClosePreview","focus","customMessageTrimmed","trim","updateFundraiser","onBlur","resize","overflowY","HeaderInfo","hasSeller","hasEndDate","hasFinalOrderDate","cancellationDate","isFundraiserActive","isBrochureFundraiser","isBrochureFundraiserAndChairperson","finalDay","daysLeft","differenceInCalendarDays","showDaysLeft","Calendar","groupId","Alarm","String","DashboardHeader","DashboardStep","hasInfo","popupType","borderStyle","Seller","Buyer","Manage","FriendFamily","ZoomInModal","imageURL","imageAltText","modalText","aria-modal","imageDataURL","sellerQRCode","isDisplayModalOpenDefault","isDisplayModalOpen","setIsDisplayModalOpen","isDesktop","ZoomInIcon","useIsUpcomingFundraiser","Pending","Invite","idSuffix","showSocials","customUpcomingText","fundraiserQRCode","useFetchSellerQRCode","isSellerSuccess","copyLink","copyUrl","displayFundraiserQRCode","displaySellerQRCode","showSocialButtons","isFundraiserUpcoming","groupName","CopyShare","CompleteYourProfile","InviteSellers","ManageYourSellers","toLowerCase","FundraiserSupporters","PromoteYourFundraiser","resourceHubUrl","ReceiveYourProfitCheck","handleAddressModal","isExpired","isMissingProfitCheckAddress","hideLink","PlaceFinalOrder","fundraiserStatus","finalOrderDetails","translationKey","showViewFinalOrderText","FinalOrderComplete","linkHref","disableFinalOrderLink","Undefined","showLink","FinalOrderOverdue","PhoneNumberLinkWrapper","ChairpersonSteps","isFundraiserExpiredOrCancelled","hasSellerSupportGuidAndId","chairpersonStepsByFundraiserType","SS","displayBrochureSteps","isBrochureSteps","ProfitCheckAddressForm","stateIso","setStateIso","isFetched","currentTarget","onStateSelect","ProfitCheckAddressConfirm","profitCheckPayableTo","groupAddress","groupCity","groupState","groupZipCode","ProfitCheckAddressModal","profitCheckData","fundraiserHasExpired","showConfirmationDefault","showConfirmation","setShowConfirmation","updateProfitCheckAddress","updateFundraiserProfitCheckAddress","variables","useUpdateFundraiserProfitCheckAddress","initialData","checkAddress","setCheckAddress","ProvideAddressBanner","FundraiserDetail","isChairpersonStatsLoading","groupDetail","useFetchGroup","isAddressModalOpen","setIsAddressModalOpen","fundraiserProfitCheckData","setFundraiserProfitCheckData","userCanViewPage","isFundraiserCancelled","isFundraiserUpcomingAndNotCancelled","showGraphs","group","ProfitCheckPayableTo","GroupAddress","Address1","City","StateProvinceIso","ZipPostalCode","hasIncompleteProfitCheckAddress","showProvideAddressBanner","formattedStartDate","startingSoonMessage","actual","DollarGoal","InviteFriendsAndFamily","SellerSteps","sellerStepsByFundraiserType","SellerDetail","isSellerError","sellerError","isFundraiserError","showChart","userCanViewChairpesonDashboard","showBackToSellers","FundraiserSellerReport","report","FundraiserSellerSummary","SellerId","FundraiserEditPage","isFormLoading","updateFundraiserFormData","updateFormData","fundraiserDetails","setFundraiserDetails","chairpersonDetails","setChairpersonDetails","Info","fundraiserDetailFormData","setFundraiserDetailFormData","chairpersonFormData","setChairpersonFormData","profitCheckInfo","GroupAddress1","GroupCity","GroupState","GroupZip","SalesAgentCode","DeliveryInfo","onUpdateHandler","FederalTaxId","info","isEdit","defaultChairperson","onChairpersonRemove","ManageSellersPage","filteredSellers","setFilteredSellers","isChairpersonRole","concat","sellersFilter","r","FundraiserRelationship","CHAIRPERSON","userId","ViewAndPrint","DescriptionOutlined","ImageDownloadCard","isHovered","setIsHovered","imageText","breakInside","onMouseEnter","onMouseLeave","DownloadIcon","ImageGraphicsArr","HundredVirtual","BestLunchEver","BigShoutOut","PizzaKitRuleOne","PizzaOnMobile","FundraisingWithPizzaKits","PizzaKitsDelivered","PizzaHeart","Picasso","FundraisingOnDesktop","CaesarMagnifyingGlass","FundraisingMobilePhone","Logo","LetsTalkPizza","CaesarClock","CaesarTrophy","DoYouSmellPizza","EasiestFundraiserEver","FundraiseWithPizza","GetTheWordOut","ItsComing","ItsPizzaTime","JoinOurFundraiser","ThankYou","DeserveAHand","YayVertical","YayWide","Yum","DisplayAllGraphics","DownloadableGraphicsPage","columnCount","Dashboard","isBrochureProgramEnabled","pl","NoLayout","Reports","FundraiserEdit","FundraiserSupport","queryParams","MealDealLandingPage","useStoreQueryParamToLocalStorage","colors","primaryOrange","fonts","mrEaves","primaryHref","primaryText","secondaryHref","secondaryText","RouteOne","codes","Start","MoneyInput","boxSx","fieldSx","textSx","effectiveId","DollarSign","RouteTwo","setCodes","setFundraiserGoal","formGoal","Calculate","calculatedGoal","Math","ceil","MealDealHowItWorks","MealDealRegistrationPage","queryString","redirectURL","onSuccessUrl","onSuccessMessage","FundraiserCreationForm","createFundraiser","requiredTranslation","setFranchiseeId","setReferralSource","fundraiserGoal","setError","fundraiserTitle","fundraiserPurpose","zipcode","typeError","moneyInputValidation","termsAndConditionsInputSchema","profitGoalRaw","profitGoal","addWeeks","kitGoal","calculateKitsFromProfitGoal","dollarGoal","dateformat","zipCode","rows","root","serverError","FundraiserCreate","MealDealCreatePage","MealDealSuccessPage","qrCode","checkMarkIcon","largeFont","Landing","_toLower","enUs","translation","landing","MealDealSellerRoutes","Account","LayoutWithoutFooter","MealDealLoginPage","LandingConfirmation","FundraiserOptionIcon","subtitle","justifyItems","FundraiserComparison","programPoints","programPointsCount","gridTemplateAreaDesktop","gridTemplateAreaMobile","gridTemplateArea","fundraiserCount","LceSpear","fundraiserPoints","pointIndex","PizzaSlice","ProgramIconMap","CaesarManChecklist","LaptopCaesarMan","RestaurantCaesarMan","FundraiserOptionsBanner","fundraiserComparision","setFundraiserComparision","subTitle","NewFundraiserFormConfirm","FundraiserCreation","parentId","hasParentGroupId","StartAFundraiser","auth","setAuth","localFranchiseeId","setLocalFranchiseeId","currentFranId","OrderConfirmation","Unauthorized","HowItWorks","Register","GetWordOut","steps","AboutUsContent","detailSection","AboutUsHeader","AboutUs","Quote","quote","author","Testimonials","renderTipSection","ComputerSimple","EmailLetter","Computer","ClappingHands","ArticleDetail","ArticleBanner","CaesarPhone","Articles","fetchTerms","terms","Faq","FrequentlyAskedQuestions","policy","UserIcon","isLeft","iconImage","iconWidth","WavingCaesar","OpenArmsCaesarMan","ThumbsUpCaesar","PizzaKits","ScriptParser","scriptText","splitValues","word","UserOption","side","script","wordsToLink","assign","UserLandingPage","isBuyer","userImage","fundraiserchairperson","fundraiserbuyer","fundraiserseller","w","LCESpear","LCESpearMobile","LandingGroupContent","setParentId","instructionSteps","disclaimers","marginInlineStart","marginInlineEnd","paddingInlineStart","lcLogo","disclaimer","LandingGroup","parentName","NameOfGroup","ImageURL","effectiveState","isMealDeal","fundraiserDispatch","CreateSalesAgent","addSalesAgent","useFormReset","resetForm","setResetForm","salesCode","salesAgentType","company","optional","salesAgentTypeOptions","setReset","Admin","FundraiserDetailsSummary","userHasSpecialRoles","orgType","organizationGroupTypeName","estimatedSellers","sellerCount","sellerKitGoal","sellerKitGoals","brochureCount","brochuresRequestCount","posterCount","postersRequestCount","findCaesar","mailToISC","salesAgentCode","FundraiserDetails","tenDaysFromToday","addDays","startOfToday","defaultStartDate","defaultStartDateFormatted","organizationGroupId","selectedGroupId","setSelectedGroupId","showGroupList","setShowGroupList","setDollarGoal","numberOfSellers","setNumberOfSellers","calculatedKitGoal","setCalculatedKitGoal","existingGroup","setExistingGroup","userHasSpecialPermissions","setUserHasSpecialPermissions","canFetchSalesAgent","setCanFetchSalesAgent","earliestPossibleStartDate","setEarliestPossibleStartDate","salesAgentHasErrors","setSalesAgentHasErrors","setSalesCode","isGroupTypeIdDirty","setGroupTypeIdDirty","groups","isGroupLoading","groupTypes","isGroupTypeLoading","useVerifySalesAgent","salesAgentStatus","isSuccessForSalesAgent","isSalesAgentLoading","defaultGroupTypeId","GroupTypeId","organizationState","hasOutOfRangeGroupTypeId","Array","isArray","chain","orderBy","last","SalesCode","isUserSpecialPermissions","threeYearsFromToday","addYears","startDayMin","subDays","startDayMinText","isToday","organizationGroupTypeId","integer","couponCode","organizationStreetAddress","organizationCity","organizationZipCode","federalTaxId","taxAcknowledgement","calculateKitGoal","kits","FundraiserFormStepState","GroupTypeName","gt","organizationAddressId","onGroupSelect","isEmpty","hint","onDollarGoalChange","onNumberOfSellerChange","range","Address2","ChairpersonDetailsSummary","chairpersonFirstName","chairpersonLastName","number","chairpersonPrimaryPhoneNumber","chairpersonPrimaryPhoneNumberType","chairpersonSecondaryPhoneNumber","chairpersonSecondaryPhoneNumberType","chairpersonEmailAddress","coChairpersonEmailAddress","coChairpersonFirstName","coChairpersonLastName","ChairpersonDetails","showCoChairpersonForm","setShowCoChairpersonForm","coChairpersonPrimaryPhoneNumber","chairpersonConfirmEmailAddress","notOneOf","coConfirmChairpersonEmailAddress","PhoneNumberTypes","coChairpersonSecondaryPhoneNumber","customText","usZipRegEx","isEnabled","getWeekDays","weekStart","days","getWeekRange","startOfWeek","weekStartsOn","endOfWeek","WeekSelector","defaultDate","validationError","hoverRange","setHoverRange","selectedDays","setSelectedDays","orgZipCode","fetchNoDeliveryDate","select","useFetchNoDeliveryDate","noDeliveryDates","daysAreSelected","highlighted","hoverRangeStart","hoverRangeEnd","formatDate","dateFormat","disabledDays","before","daysOfWeek","displayValue","readOnly","dayPickerProps","showOutsideDays","showWeekNumbers","onDayClick","onDayMouseEnter","onDayMouseLeave","parseDate","str","isValid","DeliveryDetailsSummary","deliveryTimes","deliveryTime","time","preferredDeliveryTime","weekDate","preferredDeliveryWeek","parsedDate","startWeek","endWeek","deliveryState","sameAsMailing","deliveryName","deliveryAddress","deliveryCity","deliveryZipCode","crossStreets","deliveryMainCrossStreets","deliveryPhoneNumber","deliveryRestrictions","DeliveryRestrictionsModal","PopoverMessage","DeliveryDetails","timeZones","setSameAsMailing","showDeliveryRestrictionsModal","setShowDeliveryRestrictionsModal","deliveryWeekError","setDeliveryWeekError","setZipCode","timeZone","hasValue","deliveryComments","crossStreetOne","crossStreetTwo","filteredStates","timezone","AdditionalDetails","showHowDidYouHearAboutUs","useTermsAndConditionsInput","TermsAndConditionsInput","Referral","BrochureCreatePage","createFundraiserBrochure","isFranchiseeReferral","hasReferralSource","BrochureFormSteps","fundraiserDetailsFilled","chairpersonDetailsFilled","deliveryDetailsFilled","additionalDetailsFilled","handleCreateFundraiser","isLCEStore","referral","BrochureRoutes","Routes","ongoingFundraiserURL","oidc","onAuthRequired","reload","HomePageLayout","StartAFundraiserLayout","LandingPageLayout","LoginCallback","GuestRouteWrapper","DashboardLayout","newestOnTop","POSITION","TOP_CENTER","AppRouter","CookieConsent","charSet","data-domain-script","ReactPixel","autoConfig","debug","pageView","analyticsSettings","CONFIG","GOOGLE_TAG_MANAGER","ID","PREVIEW","AUTH","App","useGrowthBook","GrowthBookProvider","growthbookReady","resources","en","settings","client","global","fontDefinitions","fontFamilies","ReactDOM","StrictMode","useUserInfoRequest","authenticated","Guid","fetchGroup","SuperAdminRoleName","BuyerRoleName","ChairpersonRoleName","SellerRoleName","SalesAgentRoleName","ISCRoleName","ComboProductItem","CreateFundraiserSessionId","FinalOrderSessionId","payload","autoClose","productId","clearCart","updateCart","fetchFundraiserById","fetchFundraiserByGuid","guid","elevatedRoles","RenderLinkItem","nested","persistSearch","searchOverride","Links","loggedIn","showFundraiserRoute","loginUrl","showHowItWorks","showAboutUs","productPagePathname","productPageSearch","AccountMenu","Menu","Overlay","isTablet","startFundraiserUrl","useChooseLogo","showStartAFundraiser","isArchExpanding","useIsArchExpanding","headerHeight","placeSelf","Arch","FooterNavLinks","faqsUrl","RouterLink","asNav","Footer","SocialLinks","isShareLink","PictureTypes","InstagramModal","CopyShareDescription","buttonStyle","isInstagramModalOpen","setIsInstagramModalOpen","handleModalOpen","FacebookShareButton","Facebook","PinterestShareButton","media","Pinterest","TwitterShareButton","Twitter","Instagram","mediaQuery","matchMedia","isVerified","setIsVerified","mediaQueryList","documentChangeHandler","addListener","removeListener","fetchSellerBySupportGuid","GenerateReportFiltersQuery","filterOptions","query","encodeURI","createSSUFundraiser","deleteFundraiserSeller","fundraiserSellerId","activateFundraiserSeller","updateSellerActivity","activity","filterOtions","fetchSellerQRCode","fetchFinalOrderSummary","emailProviders","emailProvider","srcURL","subjectParam","bodyParam","emailClient","DesktopLogo","WebkitAlignSelf","DesktopPizzaKitManSvg","DesktopLCFTextSVG","scale","DesktopMDLogo","MDSVG","MobileLogo","WebkitJustifyContent","MobileSVG","MobileMDLogo","optionsList","lineItems","currentItem","IsDonation","ProductTypeId","Subtotal","addItemToCart","itemIndex","findIndex","splice","modifyItemInCart","setIsArchExpanding","scrollY","ExpandingArch","viewBox","xmlns","attributeName","begin","dur","keyTimes","CollapsingArch","AnimatedArch","FundraiserStateContext","FundraiserDispatchContext","fundraiserReducer","SimpleSignUp","active","FundraiserProvider","AccountOptionsDesktop","isLoggedIn","handleOnClose","clickContent","UserAccountIcon","closeOnEsc","onOpen","letterSpacing","phoneInputSchema","validationKey","PhoneInput","mask","fieldProps","ProductShippingFields","FieldLoader","ShippingDetailsLoader","gridColumnGap","gridRowGap","_times","useShippingSchema","baseSchema","IsCouponItem","lowercase","ConfirmEmailAddress","addressSchema","poBox","ShippingMethodLabel","setShippingDetails","shippingDetails","checkout","useCheckoutState","_every","shouldValidateAddress","areAllFreeShippingItemsDonationItems","addShippingInfo","cartTotal","onCopy","onPaste","PhoneNumber","ShippingDetailsMDLoader","SecurityQuestions","confirmPassword","textOverflow","LinkItem","updateFundraiserState","handlerRef","listener","returnValue","defaultPrevented","formatPattern","fallbackValue","useFeatureFlaggedNavigationLinks","growthbookCheck","featureName","truthyProp","isProhibitedEnvironment","setGrowthbookReady","catch","useConnectedFormField","useHook","dataPropKey","finalProps","useFormField","FormField","componentKey","schemaKey","specialProps","effectiveSchema","ComponentWithSchema","standardProps","FormFieldConfigured","useTranslationKeysAvailable","keys","i18n","exists","queryParamKey","localStorageKey","setLocalStorageValue","queryParamValue","eventName","savedHandler","targetElement","createBrowserHistory","basename","useCreateFundraiser","dashedPhonePattern","formattedPhoneNumber","GearIcon","SettingsImage","FundraiserPopover","setIsCancelFundraiser","canCancel","TextWithInlinePopoverButton","buttonHeight","SubmitButton","Button","OrderUpsellText","shippableKits","shippableKitCount","_sumBy","cartHasFreeShippingItems","_countBy","true","shippingText","couponCodeText","displayShippingInfoText","OrderSummarySkeleton","OrderSummary","useShipping","checkoutRoute","ShippingCostText","showShippingCost","shippableUnits","shippingCostResponse","formattedShippingCost","shippingWaitingMessage","beginCheckout","CheckoutOrderSummary","IneligibleItems","Avatar","displayRole","CheerleaderCaesar","AdminNavigation","links","Sidebar","fundraiserPathname","fundraiserPage","adminPage","sidebar","DeliveryName","DeliveryAddress","DeliveryCity","DeliveryState","DeliveryZipCode","DeliveryPhoneNumber","PreferredDeliveryDate","DeliveryTimeRange","deliveryDate","textStyles","isNil","hasSpecialPermissions","profitCheckKeys","profitCheckInfoCheck","OrgName","EstimatedSellers","SellerKitGoal","FindCaesar","MailToISC","setEndDate","setStartDate","fundraiserInfo","setFundraiserInfo","setUserIsChairperson","canEditSalesCode","setCanEditSalesCode","canEditDates","setCanEditDates","isMealDealFundraiser","defaultSchemaMD","defaultSchemaEdit","TaxAcknowledgement","setFullYear","defaultSchemaCreate","requiredGroupTypeIdLabel","groupTypeIdLabel","handleStartDateChange","Step","GroupAddressId","onEndDateChange","lato","processOrder","checkoutDispatch","PaymentCallSucceeded","errorCode","PaymentErrorCode","OrderCallSucceeded","OrderGuid","generateID","u","now","random","repeat","substr","eProtectResponse","paypageRegistrationId","code","token","callEprotect","eProtectRequest","formFields","eProtect","sendToEprotect","CheckoutProcess","checkoutStarted","setCheckoutStarted","canCheckout","setCanCheckout","useCheckoutRequest","createOrder","usePlaceOrder","useCheckoutDispatch","usePaymentState","usePaymentDispatch","ExpireDate","expiryYear","expiryMonth","merchantTxnId","paypageId","reportGroup","accountNum","cvv","bin","startCheckout","cartSubTotal","sellerSupportId","giftMessageRecipient","giftMessage","tokenId","Cvc","cvvNum","ExpirationDate","CheckoutEnabled","HasWarnings","GuestId","orderComplete","purchase","purchaseId","shippingTotal","ShippingTotal","shippingAddress","onbeforeunload","inlineError","orderRequest","billingAddress","IsGuest","eProtectOrderId","eProtectMerchantTxnId","CheckoutInfo","maxRetries","totalRefetchCount","setTotalRefetchCount","fullWidth","prevCount","debouncedSearch","_debounce","cancel","primaryGrayDark","showPageSelect","jumpNextIcon","jumpPrevIcon","nextIcon","onShowSizeChange","prevIcon","showPrevNextJumpers","allow","allowFullScreen","useMergeWithDefaults","pairs","fromEntries","noop","defaultPropsFirstNameInput","propsMerged","positive","ClearButton","reset","resetRef","resetFn","defaultPropsTermsAndConditionsInput","tabIndex","ourLinks","shareLinks","InlineLinkParseAndReplace","phoneNumbers","hasPhoneNumbers","phoneNumbersToLink","phoneNumbersToLinkIndexes","escapedText","replaceAll","startIndex","endIndex","phoneNumberIndexes","wordToLinkIndexes","findWord","wordMatchesCount","indexes","splitTextOnIndexes","TextWithLinks","splitText","phoneNumberToLink","wordToLink","AccountIcon","copyPaste","wordBreak","useCreateSSUFundraiser","onGuestCallback","ReturningUser","onLoginCallback","NewGuest","REDIRECT_URI","OKTA_TESTING_DISABLEHTTPSCHECK","issuer","redirectUri","scopes","pkce","disableHttpsCheck","lcScript","verifySalesAgent","fetchOrderHistory","CoEmailAddress","CoFirstName","CoLastName","RemoveChairpersonForm","CoPhoneNumber","CoConfirmEmailAddress","removePrimaryChairperson","RemoveChairpersonModal","useRemovePrimaryChairperson","isRemoveChairperson","setIsRemoveChairperson","SecondaryPhoneNumber","CoSecondaryPhoneNumber","onCustom","showCustom","cartRoute","viewCart","CheckoutStateContext","CheckoutDispatchContext","checkoutReducer","orderStatus","CheckoutProvider","PaymentStateContext","PaymentDispatchContext","paymentReducer","PaymentProvider","validateAddress","placeOrder","fetchOrderByGuid","fetchShippingCost","useAddressValidation","onError","FundraiserRelationshipColor","SimpleSignupSummary","SimpleSignupForm","VerifyAccurateInfo","ParentId","NewFundraiserForm","initialFundraiserDetails","initialChairpersonDetails","initialFundraiserDetailFormData","initialChairpersonFormData","initialMiscFormData","miscFormData","setMiscFormData","isSSU","isCreatingFundraiser","createSSUGroup","isCreatingSSUFundraiser","isPostingToServer","onFundraiserCreated","createFundraiserHandler","groupAddressId","groupAddress1","groupAddress2","GroupAddress2","groupZip","chairpersonInfo","MiniStats","SellerProgress","percentCompleted","setPercentCompleted","aria-valuemax","aria-valuemin","aria-valuenow","outlineColor","RemoveSellerModal","SellerStatusCard","fundraiserSeller","activateSeller","deactivateSeller","isRemoveSeller","setIsRemoveSeller","isActive","setIsActive","deactivateFundraiserSeller","isActiveHandler","KitActual","Star","SellerStatus","activeCount","setActiveCount","inactiveCount","setInactiveCount","ActivateSeller","DeactivateSeller","IsSellerTheChairperson","sellerCustomerId","SellerSummaryListItem","Profit","FundraiserOptionsModal","RelationshipIndicator","CancelFundraiserModal","cancellationReason","CancellationReason","CancellationReasonOther","otherwise","FundraiserListItemComponent","fundraiserState","isCancelFundraiserDefault","isFundraiserOptionsDefault","chairPersonRole","sellerRole","SELLER","superAdminRole","SUPERADMIN","salesAgentRole","SALESAGENT","iscRole","ISC","canCancelFundraiser","canViewFundraiserType","popoverReference","setPopoverReference","isCancelFundraiser","isFundraiserOptions","setIsFundraiserOptions","handleCancelFundraiserModal","handleFundraiserOptionsModal","FundraiserListItemSkeleton","FundraiserStartCaesar","BeachCaesar","DateInput","inputStyle","textProps","FundraiserListOptions","dateError","setDateError","handleDateChange","isStartDate","start","end","TabList","currentTab","FundraiserListItem","FundraiserListTabs","defaultTab","shift","unshift","Upcoming","Completed","FinalLink","SliceUILink","ReactRouterNavLink","ReactRouterLink","medium","large","base","primary","secondary","skeleton","primaryTextLink","plainText","navMenu","appearance","tabbedCard","clearTopRight","confirmationButtonBR","confirmationButtonDG","confirmationButtonMD","dashboardDescriptionButton","dashboardProfileButton","linkBase","linkPrimary","primaryButton","navLink","borderTopLeftRadius","accountOptionLinks","categorySelectorLink","dashboardNavLink","dashboardMobileNav","emailLink","navLinkMobile","navRouterLink","primaryTextUppercase","primaryTextUnderline","productCardImageWrapperLinkBR","productCardImageWrapperLinkDG","productCardImageWrapperLinkMD","primaryButtonLink","primaryOutlineButtonLink","mobileMenu","cartListItem","fundraiserList","header","productCardBR","productCardDG","productCardMD","productCardDetailsWrapperBR","productCardDetailsWrapperDG","productCardDetailsWrapperMD","productCardList","avatar","fundraiserJoin","miniStats","detail","success","primaryGrayLight","primaryGrayMid","primaryGrayText","secondaryGreenDark","secondaryGreenLight","secondaryBlue","secondaryPurple","secondaryRed","black","white","red","accountOptionLinksText","accountSettings","emailNotificationForm","formLabel","headingUpper","sub","subUpper","instructions","h2","h5","footer","fundraiserListItem","font","fundraiserOptions","subHeader","fundraiserDetail","sellerStatusHeader","manageFundraisers","buyerListEmptyStateHeader","helper","productListItem","WebkitBoxOrient","orderHistory","shortDescription","sellerInvite","sectionHeader","errorMessage","orderReview","fundraiserTracker","miniDetails","stats","progressBar","dashboard","finalOrderPage","subLabel","home","subheading","sublabel","subdescription","iconTile","fundraiserComparison","slantedScript","pointsLabel","inLineLink","legalDisclaimer","forms","textarea","categorySelector","float","field","modals","emailNoticationModal","modalContainer","buttonContainer","headerLabel","profitCheckAddressModal","formContainer","inputLabel","submitButton","productCardImageBR","productCardImageDG","productCardImageMD","spinner","lce","progress","doesScriptExist","getElementsByTagName","innerHTML","Snippets","tags","gtmSettings","noScript","dataLayer","TagManager","gtm","snippets","pushToDataLayer","initialize","noscript","head","insertBefore","childNodes","GoogleProvider","addPaymentInfo","ecommerce","currency","item_name","item_id","transaction_id","shipping","item_list_id","item_list_name","FingerprintProvider","Fingerprint2","hash","x64hash128","AnalyticsProvider","AppInsightsContext","LandingDisclaimer","translationPath","ImageObj","brochure","bts","School","btsmailer","GetStarted","campaign","EarlyFallMailer","cheer","Cheer","corporate","Corporate","dance","Dance","daycare","Daycare","earlyfall24","EarlyFall24","earlyspring2024","eclub","EClub","fall","Fall","getstarted","halloween22mailer","halloween2022","lcwebsite","localstore","mealdeal","music","Music","GoogleImage","PizzaKitFundraiser","ptotoday","FundraisingOptions","school","signup","KidsBack2School","SportsEngineImage","sports","Sports","spring","Spring","superbowl","SuperBowl","supportaseller","SupportASeller","expiredfundraiser","watarticle","LandingImage","LandingText","textList","LandingForm","lead","itemAlign","Templates","getStartedUrl","showComboButton","showJustButton","information","LandingContent","LandingPage","LandingHeader","useScriptHeading","hasSubHeading","fetchProduct","fetchProductsByFundraiserType","fetchProductCategories","fetchProductCategoriesByFundraiserType","fundraiserTypeFromState","formatCCNum","ccNumber","onlyNumbers","ccNum","approvedChar","num","PaymentForm","monthName","years","shortYear","ViewPayment","showPayInfo","validateCreditCard","nCheck","bEven","n","cDigit","charAt","nDigit","StaticBillingAddress","Payment","sameAsShipping","setSameAsShipping","setBillingAddress","isProductNotAvailable","setIsProductNotAvailable","checkoutErrorCode","showSameAsShipping","handlePaymentInfo","currentYear","createAccount","fetchChairperonInvite","inviteId","GiftMessaging","showGiftMessaging","setShowGiftMessaging","newGiftEmail","newGiftMessage","giftMessaging","textareaPlaceholder","OrderReview","OrderReviewMD","AddressConfirmModal","overlay","onSelect","originalAddress","suggestedAddress","Details","defaultShippingDetails","defaultAddressModalVisibility","setSuggestedAddress","userLoading","Phone","shippingDetailsHandler","ValidatedAddress","ShowSuggested","selection","selectedAddress","ConfirmSubmissionModal","KeyValuePairs","submitContactRequest","IconSteps","CheckoutDisabledModal","CheckoutNoFundraiserModal","OrderFailMessage","PlaceOrderFailedPayment","OrderProcessingOverlay","CheckoutWrapper","guest","setGuest","LoginBody","CheckoutBody","removePopoverHider","setPopover","AddToCartToast","GenericToast","activeIndex","setActiveIndex","clickedLink","headerPaddingMobile","headerPaddingDesktop","LoginForm","onLoginRedirectUri","finalOnLoginRedirectUri","customButtons","widget","OktaSignIn","baseUrl","logo","Caesar","authParams","responseMode","helpLinks","help","setFromUri","renderEl","el","remove","ReadOnlyForm","fetchUpdateUser","EditForm","setDisabled","updateUser","useUpdateUserInfo","onHandleChange","onAccountUpdateHandler","OptInMarketing","LoginBox","RegisterUserBox","returnUrl","registerUrl","JumpingCaesar","StatefulLink","RedirectAwareLink","BackToDashboard","Link","ComboLink","primaryTestId","secondaryTestId","primarySx","primaryButtonSx","secondarySx","secondaryButtonSx","primaryVariant","secondaryVariant","containerSx","delay","debouncedValue","setDebouncedValue","localStorageValue","setState","serializedState","partialState","param","setParam","setQueryString","set","fetchStates","userInRolesRequest","_some","freeShippingItemsCount","Flex"],"mappings":"q2BAoCeA,EAtBgD,SAAC,GAAD,IAC7DC,EAD6D,EAC7DA,GAAIC,EADyD,EACzDA,QAASC,EADgD,EAChDA,SAAUC,EADsC,EACtCA,QADsC,IAC7BC,eAD6B,MACnB,UADmB,EACRC,EADQ,EACRA,IADQ,OAG7D,gBAAC,SAAD,CACEC,cAAA,UAAkBD,EAAlB,cACAF,QAAUA,EACVH,GAAE,eACGA,GAELI,QAAUA,GAERH,EAEE,gBAAC,QAAD,CACEK,cAAY,4BACZC,IAAMC,MAGRN,I,iCCPOO,EAjBI,SAAC,GAAwC,IAA3BC,EAA0B,EAArCC,UAAyBC,EAAY,6BACjDC,EAAcC,wBAAdD,UAER,OAAKA,GAAaA,EAAUE,UAClB,4BAIR,gBAAC,IAAD,iBAEOH,EAFP,CAEeI,OAAS,SAAAC,G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KACV15D,KAAM,iBAER,CACE+R,SAAU4nD,KACV35D,KAAM,eAER,CACE+R,SAAU6nD,KACV55D,KAAM,mBAER,CACE+R,SAAU8nD,KACV75D,KAAM,iBAER,CACE+R,SAAU+nD,KACV95D,KAAM,4BAER,CACE+R,SAAUgoD,KACV/5D,KAAM,sBAER,CACE+R,SAAUioD,KACVh6D,KAAM,cAER,CACE+R,SAAUkoD,KACVj6D,KAAM,WAER,CACE+R,SAAUmoD,KACVl6D,KAAM,wBAER,CACE+R,SAAUooD,KACVn6D,KAAM,yBAER,CACE+R,SAAUqoD,KACVp6D,KAAM,0BAER,CACE+R,SAAUsoD,KACVr6D,KAAM,QAER,CACE+R,SAAUuoD,KACVt6D,KAAM,iBAER,CACE+R,SAAUwoD,KACVv6D,KAAM,eAER,CACE+R,SAAU+4C,KACV9qD,KAAM,cAER,CACE+R,SAAUyoD,KACVx6D,KAAM,gBAER,CACE+R,SAAU0oD,KACVz6D,KAAM,mBAER,CACE+R,SAAU2oD,KACV16D,KAAM,yBAER,CACE+R,SAAU4oD,KACV36D,KAAM,sBAER,CACE+R,SAAU6oD,KACV56D,KAAM,iBAER,CACE+R,SAAU8oD,KACV76D,KAAM,aAER,CACE+R,SAAU+oD,KACV96D,KAAM,gBAER,CACE+R,SAAUgpD,KACV/6D,KAAM,qBAER,CACE+R,SAAUipD,KACVh7D,KAAM,YAER,CACE+R,SAAUkpD,KACVj7D,KAAM,gBAER,CACE+R,SAAUmpD,KACVl7D,KAAM,eAER,CACE+R,SAAUopD,KACVn7D,KAAM,WAER,CACE+R,SAAUqpD,KACVp7D,KAAM,QAIGq7D,GAAqB,kBAChC,oCACIlxD,eAAKqvD,IAAkB,SAAC/1D,EAAO4G,GAAR,OACvB,kBAAC,GAAD,CAAmB0H,SAAWtO,EAAMsO,SAAWzR,IAAM+J,EAAQrK,KAAOyD,EAAMzD,YC1InEs7D,GAAuE,SAAC,GAAe,IAAb/9C,EAAY,EAAZA,MAAY,EACnFxU,2BAANC,EAD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,cAAcsyE,EACdzyE,QAAUg+B,EACVn+B,GAAK,CAAEstB,WAAYwqB,EAAW,UAAY,SAAU7xC,OAAQ,OAAQ/C,UAAW,SAC/E9C,QAAQ,QAEP06C,IAIN56C,K,gCCrDL,mD","file":"static/js/main.124473f1.chunk.js","sourcesContent":["import * as React from 'react';\nimport { Button, Image } from '@lce/slice_v2';\nimport { ThemeUIStyleObject } from 'theme-ui';\n\nimport Checkmark from './confirm.png';\n\nexport interface IConfirmationButtonProps {\n sx?: ThemeUIStyleObject;\n loading: boolean;\n variant?: string;\n onClick(): void;\n sku?: string;\n}\n\nconst ConfirmationButton: React.FC = ({\n sx, loading, children, onClick, variant = 'primary', sku,\n}) => (\n \n { loading\n ? (\n \n )\n : children}\n \n);\n\nexport default ConfirmationButton;\n","import * as React from 'react';\nimport { Redirect, Route } from 'react-router-dom';\nimport { useOktaAuth } from '@okta/okta-react';\n\n/**\n * HOC to allow only non-authenticated users access\n * @param component The component to be rendered\n */\nconst GuestRoute = ({ component: Component, ...attrs }) => {\n const { authState } = useOktaAuth();\n\n if (!authState || authState.isPending) {\n return (
);\n }\n\n return (\n (!authState.isAuthenticated\n ? \n : ) }\n />\n );\n};\n\nexport default GuestRoute;\n","import React from 'react';\nimport { useOktaAuth } from '@okta/okta-react';\n\nimport Desktop from './Desktop/Desktop';\nimport Mobile, { joinFundPage } from './Mobile/Mobile';\n\nimport { useUserInfo } from 'features/common/hooks/useUserInfo';\nimport { useMediaQuery } from 'features/common/hooks/useMediaQuery';\n\nconst Header: React.FC<{}> = () => {\n const { authState } = useOktaAuth();\n const { data: user } = useUserInfo(authState.isAuthenticated);\n const isLarge = useMediaQuery('(min-width: 1280px)');\n\n return (\n
\n { isLarge\n ? (\n \n )\n : (\n \n )}\n
\n );\n};\n\nexport default Header;\n","import React, { useEffect, useState, ReactElement } from 'react';\nimport { Redirect } from 'react-router-dom';\nimport { Spinner, Container } from '@lce/slice_v2';\n\nimport { useUserInRoles } from 'features/common';\n\ninterface IPrivateComponentProps {\n roles: string[];\n redirectPath: string;\n}\n\nconst PrivateComponent: React.FC = ({ roles, redirectPath, children }) => {\n const {\n mutateAsync: userRoles, isLoading, isError,\n } = useUserInRoles();\n const [ canActivate, setCanActivate ] = useState(undefined);\n\n useEffect(() => {\n async function getUserRoles() {\n const data = await userRoles(roles);\n setCanActivate(data || false);\n }\n\n getUserRoles();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n if (isError) {\n return ;\n }\n\n return (\n isLoading || canActivate === undefined\n ? (\n \n \n \n )\n : !canActivate\n ? \n : children as ReactElement\n );\n};\n\nexport default PrivateComponent;\n","import * as React from 'react';\nimport { SecureRoute } from '@okta/okta-react';\n\nimport { PrivateComponent } from '../PrivateComponent';\n\n/**\n * HOC for protecting a route based on Role\n * @param component: The component to be rendered\n * @param roles: Roles which are allowed to access this component\n */\nconst PrivateRoute = ({\n component: Component, roles, redirectPath, ...attrs\n}) => (\n (\n \n \n \n ) }\n />\n);\n\nexport default PrivateRoute;\n","import * as React from 'react';\nimport {\n Flex, Button, Text, Form, Box,\n} from '@lce/slice_v2';\nimport { useState, useEffect } from 'react';\n\nexport interface Tab {\n label: string;\n id: string;\n value: string;\n}\n\nexport interface ICardTabsProps {\n tabs: Tab[];\n selected: string;\n onClick: (value) => void;\n}\nconst MIN_DESKTOP_VIEW_PORT = 1200;\n\nconst CardTabs: React.FC = (props) => {\n const clickHandler = (value) => {\n props.onClick && props.onClick(value);\n };\n\n const [ isDropDown, setIsDropdown ] = useState(window.innerWidth < MIN_DESKTOP_VIEW_PORT);\n\n const updateMedia = () => {\n setIsDropdown(window.innerWidth < MIN_DESKTOP_VIEW_PORT);\n };\n useEffect(() => {\n window.addEventListener('resize', updateMedia);\n return () => window.removeEventListener('resize', updateMedia);\n });\n\n return (\n \n {isDropDown ? (\n \n clickHandler(x.target.value) }\n >\n {props.tabs.map(x => (\n \n ))}\n \n \n ) : (\n \n {props.tabs.map(button => (\n clickHandler(button.value) }\n variant={ props.selected === button.value ? 'buttons.tabbedCard.active' : 'buttons.tabbedCard' }\n >\n \n {button.label.toUpperCase()}\n \n \n ))}\n \n )}\n \n );\n};\n\nexport default CardTabs;\n","import React, { useState } from 'react';\nimport { Card, Box } from '@lce/slice_v2';\n\nimport CardTabs, { Tab } from './CardTabs/CardTabs';\n\nexport interface TabbedCardConfig {\n tab: Tab;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n sections: any[];\n}\n\nexport interface ITabbedCardProps {\n config: TabbedCardConfig[];\n onTabSelect?: (tab) => void;\n}\n\nconst TabbedCard: React.FC = (props) => {\n const [ selectedTab, setSelectedTab ] = useState(props.config[0].tab.value);\n\n const tabClickHandler = (value) => {\n setSelectedTab(value);\n\n if (props.onTabSelect) {\n props.onTabSelect(value);\n }\n };\n\n return (\n \n x.tab) }\n />\n {props.config.map(cardTab => (\n \n { cardTab.sections.map(section => (\n
\n {section.content}\n
\n ))}\n \n ))}\n
\n );\n};\n\nexport default TabbedCard;\n","import React from 'react';\nimport { Flex, IconButton, Text } from '@lce/slice_v2';\nimport { ChevronDown, ChevronUp } from 'react-feather';\n\nexport interface IAccordianBoxTitle {\n title: string | React.ReactNode;\n openTitle?: string | React.ReactNode;\n isOpen: boolean;\n onOpenCallback: (isOpen: boolean) => void;\n}\n\nconst Title: React.FC = (props: IAccordianBoxTitle) => {\n const title = props.title;\n const openTitle = props.openTitle;\n\n return (\n \n \n { props.openTitle && props.isOpen ? openTitle : title}\n \n props.onOpenCallback(!props.isOpen) } sx={ { cursor: 'pointer' } }>\n { !props.isOpen ? : }\n \n \n );\n};\n\nexport default Title;\n","import React from 'react';\nimport { Box, Collapse } from '@lce/slice_v2';\nimport { Icon } from 'react-feather';\n\nimport Title from './Title';\n\nexport interface IAccordianBoxProps {\n title: string | React.ReactNode;\n icon?: Icon;\n titleSx?: {};\n openTitle?: string | React.ReactNode;\n defaultOpen?: boolean;\n openFromTop?: boolean;\n}\n\nconst AccordianBox: React.FC = ({\n title, openTitle, children, openFromTop = false, defaultOpen = false,\n}) => {\n const [ isOpen, setIsOpen ] = React.useState(defaultOpen);\n\n const onToggle = (open: boolean) => {\n setIsOpen(open);\n };\n\n return (\n <>\n { openFromTop && (\n \n )}\n \n \n {children}\n \n \n { !openFromTop && (\n \n )}\n \n );\n};\n\nexport default AccordianBox;\n","import React, { useMemo } from 'react';\nimport {\n Box, Button, Heading, Text, Flex, Container,\n} from '@lce/slice_v2';\nimport { useHistory } from 'react-router-dom';\n\ntype GradientType = 'none' | 'to-bottom' | 'to-top';\n\nexport interface IBannerProps {\n image: string;\n gradient: GradientType;\n showOnMobile: boolean;\n buttonVariant?: string;\n buttonText?: string;\n buttonLink?: string;\n text?: string | React.ReactNode;\n subText?: string;\n backgroundSize?: string;\n heightBreakpoints?: string[];\n buttonMarginProps?: string[];\n buttonBgColor?: string;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst Banner: React.FC = (props) => {\n const history = useHistory();\n\n const imageBackground = useMemo(() => {\n if (props.gradient === 'none') {\n return `url(${ props.image }) no-repeat`;\n } else if (props.gradient === 'to-bottom') {\n return `linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.65)), url(${ props.image }) no-repeat;`;\n } else if (props.gradient === 'to-top') {\n return `linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.65)), url(${ props.image }) no-repeat;`;\n }\n }, [ props.gradient, props.image ]);\n\n return (\n \n \n \n \n {props.text && (\n \n { props.text }\n \n )}\n { props.subText && (\n \n {props.subText}\n \n )}\n { props.buttonText && props.buttonLink && (\n history.push(props.buttonLink || '') }\n sx={ {\n mt: props.buttonMarginProps || [ '19px', '19px', '36px' ],\n minWidth: '240px',\n borderColor: props.buttonBgColor || 'primaryOrange',\n backgroundColor: props.buttonBgColor || 'primaryOrange',\n } }\n variant={ props.buttonVariant || 'primary' }\n >\n {props.buttonText}\n \n )}\n \n \n \n \n );\n};\n\nexport default Banner;\n","/* eslint-disable @typescript-eslint/no-unused-vars */\nimport React, { useState } from 'react';\nimport { toast } from 'react-toastify';\n\nimport { GenericToast } from '../Toast/CustomToasts';\n\nexport interface IFileUploadProps {\n onFileSelect: (e: File) => void;\n}\n\ninterface Event {\n target: T;\n}\n\nconst FileUpload: React.FC = ({ onFileSelect }) => {\n const [ file, setFile ] = useState();\n const [ fileName, setFileName ] = useState('');\n\n const saveFile = (e: Event) => {\n if (e.target && e.target.files && e.target.files.length > 0) {\n const type = e.target.files[0].type;\n switch (type) {\n case 'image/gif':\n case 'image/jpeg':\n case 'image/png':\n case 'image/jpg':\n setFile(e.target.files[0]);\n setFileName(e.target.files[0].name);\n onFileSelect(e.target.files[0]);\n break;\n default:\n toast();\n break;\n }\n }\n };\n\n return (\n <>\n \n Change Photo\n \n \n \n );\n};\n\nexport default FileUpload;\n","import React from 'react';\nimport {\n Modal as SliceModal, IModalProps as ISliceModalProps, Text, Button, Flex, Image, IconButton,\n} from '@lce/slice_v2';\nimport { X } from 'react-feather';\n\nimport CaesarKite from 'assets/images/caesar-kite.svg';\n\nexport interface IModalProps {\n heading: string;\n message: string | React.ReactNode;\n ctaText: string;\n onClose?: () => void;\n}\n\nconst Modal: React.FC = props => (\n \n \n \n \n \n \n \n \n {props.heading}\n \n \n {props.message}\n \n \n \"Caesar\n \n \n);\n\nexport default Modal;\n","import React, { useEffect, useReducer } from 'react';\n\nimport { cartReducer, calculateSubtotal, getTotalQuantity } from './cartReducer';\nimport {\n CartDispatchContext, CartState, CartStateContext, CustomerData,\n} from './cartContext';\n\nimport { Cart } from 'features/cart/types';\nimport { useLocalStorage } from 'features/common';\nimport { appInsights } from 'features/analytics/ApplicationInsights';\n\ntype CartProviderProps = { children: React.ReactNode };\n\nexport const CartStateProvider = ({ children }: CartProviderProps) => {\n const [ cart, setCart ] = useLocalStorage('cart');\n const [ customerData, setCustomerData ] = useLocalStorage('fundraiser/buyer');\n\n const initialState: CartState = {\n cart: cart || { items: [] },\n subtotal: calculateSubtotal(cart),\n totalQuantity: getTotalQuantity(cart),\n sellerId: customerData?.sellerId || '',\n guestId: customerData?.guestId || undefined,\n fundraiserId: customerData?.fundraiserId || 0,\n canStartShopping: customerData?.canStartShopping || false,\n };\n\n const [ state, dispatch ] = useReducer(cartReducer, initialState);\n\n useEffect(() => {\n setCart(state.cart);\n\n const data: CustomerData = {\n sellerId: state.sellerId,\n guestId: state.guestId || '',\n fundraiserId: state.fundraiserId,\n canStartShopping: state.canStartShopping,\n };\n\n setCustomerData(data);\n if (data.guestId) {\n appInsights.clearAuthenticatedUserContext();\n appInsights.setAuthenticatedUserContext(data.guestId);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ state ]);\n\n return (\n \n \n {children}\n \n \n );\n};\n","import {\n Box, Headline, Text,\n} from '@lce/slice_v2';\nimport React from 'react';\n\nexport interface IGraph {\n value: string;\n title: string;\n isDashboard: boolean;\n}\n\nconst Graph: React.FC = ({ value, title, isDashboard }) => {\n const size = isDashboard ? '155px' : [ '112px', '124px' ];\n const headerFontSize = isDashboard ? '40px' : [ '24px', '28px' ];\n const bodyFontSize = isDashboard ? '16px' : '12px';\n\n if (!value || !title) {\n return null;\n }\n\n return (\n \n \n {value}\n \n \n {title}\n \n \n );\n};\n\nexport default Graph;\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport { Flex } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport _map from 'lodash/map';\n\nimport { Graph } from './Graph';\n\nimport { Stat } from 'features/fundraiser/types/stats';\nimport { formatGraphStats, FormattedStat } from 'features/fundraiser/utils/FormatGraphStats';\nimport { FundraiserType } from 'features/fundraiser';\n\nexport interface IGraphs {\n graphStats: Stat[];\n isDashboard: boolean;\n testId?: string;\n fundraiserType?: FundraiserType;\n}\n\nconst Graphs: React.FC = ({\n graphStats, isDashboard, testId, fundraiserType,\n}) => {\n const [ t ] = useTranslation();\n const graphs = formatGraphStats(graphStats, isDashboard);\n\n const gap = isDashboard ? [ '22px', '22px', '22px', '45px' ] : [ '16px', '32px' ];\n const minWidth = isDashboard ? [ 'none', 'none', 'none', '755px' ] : [ 'none', '404px' ];\n const minWidthEven = isDashboard ? [ 'none', '332px', '332px', '355px' ] : [ 'none', '186px' ];\n const flexWrap = isDashboard ? [ 'wrap', 'wrap', 'wrap', 'nowrap' ] : [ 'wrap', 'nowrap' ];\n\n const evenGraphs: FormattedStat[][] = [];\n const hasEvenNumberOfGraphs = graphs.length % 2 === 0;\n if (hasEvenNumberOfGraphs) {\n for (let i = 0;i < graphs.length;i += 2) {\n evenGraphs.push([ graphs[i], graphs[i + 1] ]);\n }\n }\n\n return (\n \n {hasEvenNumberOfGraphs\n ? _map(evenGraphs, (evenGraph, index) => (\n \n { _map(evenGraph, graph => (\n \n ))}\n \n ))\n : _map(graphs, graph => (\n \n ))}\n \n );\n};\nexport default Graphs;\n","import { Stat } from '../types/stats';\n\nexport interface FormattedStat {\n title: string;\n value: string;\n}\n\nexport const formatGraphStats = (graphStats: Stat[], isDashboard: boolean): FormattedStat[] => {\n const graphStatsFormatted: FormattedStat[] = [];\n graphStats.sort((a, b) => a.DisplayOrder - b.DisplayOrder);\n graphStats.forEach((graph) => {\n let newTitle = `graphStats.${ graph.Key }`;\n let newValue = `${ graph.Value.toLocaleString() }`;\n if (graph.Key === 'TotalProfitRaisedBySeller' || graph.Key === 'TotalProfitRaisedByFundraiser') {\n newValue = `$${ newValue }`;\n }\n if (graph.Key === 'PercentOfGoalReached') {\n newValue = `${ newValue }%`;\n }\n if (graph.Key === 'DaysLeftInFundraiser') {\n newTitle = `${ newTitle }${ isDashboard ? 'Sell' : 'Buy' }`;\n }\n if (!(graph.Key === 'TotalProfitRaisedBySeller' && !isDashboard)) {\n graphStatsFormatted.push({ title: newTitle, value: newValue });\n }\n });\n return graphStatsFormatted;\n};\n","import * as React from 'react';\nimport { Flex, Skeleton } from '@lce/slice_v2';\n\nexport interface IGraphsSkeleton {\n isDashboard: boolean;\n}\n\nexport const GraphsSkeleton: React.FC = ({ isDashboard }) => {\n if (isDashboard) {\n return ;\n } else {\n return ;\n }\n};\n\nconst NotDashboardGraphsSkeleton: React.FC = () => {\n const gap = [ '16px', '32px' ];\n const minWidth = [ 'none', '404px' ];\n const flexWrap = [ 'wrap', 'nowrap' ];\n const size = [ '112px', '124px' ];\n\n return (\n \n \n \n \n \n );\n};\n\nconst DashboardGraphsSkeleton: React.FC = () => {\n const gap = [ '22px', '22px', '22px', '45px' ];\n const minWidth = [ 'none', 'none', 'none', '755px' ];\n const minWidthEven = [ 'none', '332px', '332px', '355px' ];\n const flexWrap = [ 'wrap', 'wrap', 'wrap', 'nowrap' ];\n const size = '155px';\n\n return (\n \n \n \n \n \n \n \n \n \n \n );\n};\n","export * from './types';\nexport * from './hooks';\nexport * from './api';\n","import { useMutation } from 'react-query';\n\nimport { createFundraiserMealDeal } from '../../api';\nimport { FundraiserMealDeal } from '../../types';\n\nimport { ApiError, ApiResponse } from 'features/common';\n\nexport const useCreateFundraiserMealDeal =\n () => useMutation(createFundraiserMealDeal);\n","import { useQuery } from 'react-query';\n\nimport { GroupType } from '../types';\nimport { fetchGroupTypes } from '../api';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\n\nexport const useFetchGroupTypes = () => useQuery(`${ QueryKeys.FundraisingGroupTypes }`,\n () => fetchGroupTypes(),\n {\n retry: false,\n refetchOnWindowFocus: false,\n });\n","import { useQuery } from 'react-query';\n\nimport { Group } from '../types';\nimport { fetchGroups } from '../api';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\n\nexport const useFetchUserGroups = () => useQuery(`${ QueryKeys.UserFundraisingGroups }`,\n () => fetchGroups(),\n {\n retry: false,\n refetchOnWindowFocus: false,\n });\n","import { useCartDispatch } from 'features/cart';\n\nexport interface ISupportFundraiser {\n (): {\n supportSeller: (id: string) => void;\n supportFundraiser: (id: number) => void;\n startShopping: () => void;\n };\n}\n\nconst useSupportFundraiser: ISupportFundraiser = () => {\n const cartDispatch = useCartDispatch();\n\n const supportSeller = (id: string) => {\n cartDispatch({ type: 'SET_SELLER', sellerId: id });\n };\n\n const supportFundraiser = (id: number) => {\n cartDispatch({ type: 'SET_FUNDRAISER', fundraiserId: id });\n };\n\n const startShopping = () => {\n cartDispatch({ type: 'SET_START_SHOPPING' });\n };\n\n return {\n supportSeller,\n supportFundraiser,\n startShopping,\n };\n};\n\nexport { useSupportFundraiser };\n","import { useQuery } from 'react-query';\n\nimport { FundraiserListItem, FundraiserSearchOptions } from '../types/fundraiser';\nimport { fetchFundraisers } from '../api';\n\nimport { ApiError, PagedList } from 'features/common';\n\n// eslint-disable-next-line max-len\nconst useFetchPaginatedFundraisers = (options: FundraiserSearchOptions, keyword: string) => useQuery, ApiError>([ 'fundraisers', options, keyword ],\n () => fetchFundraisers({ ...options, keyword }),\n {\n retry: false,\n refetchOnWindowFocus: false,\n });\n\nexport { useFetchPaginatedFundraisers };\n","import { useQuery } from 'react-query';\n\nimport { fetchSellerById } from '../api';\nimport { Seller } from '../types';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\n\n// eslint-disable-next-line max-len\nconst useFetchSeller = (fundraiserId: number, customerId: number) => useQuery(`${ QueryKeys.SellerDetailPrefix }${ fundraiserId }-${ customerId }`,\n () => fetchSellerById(fundraiserId, customerId),\n {\n retry: false,\n refetchOnWindowFocus: false,\n enabled: fundraiserId > 0 && customerId > 0,\n });\n\nexport { useFetchSeller };\n","import { useMutation, useQueryClient } from 'react-query';\n\nimport { updateSeller } from '../api';\nimport { UpdateSellerRequest } from '../types/seller';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\n\nexport const useUpdateSeller =\n (fundraiserId, sellerId) => {\n const queryClient = useQueryClient();\n return useMutation(updateSeller,\n {\n onSuccess: () => {\n queryClient.invalidateQueries(`${ QueryKeys.SellerDetailPrefix }${ fundraiserId }-${ sellerId }`);\n },\n });\n };\n","import { useQuery } from 'react-query';\n\nimport { FundraiserSummary } from '../types/fundraiser';\nimport { fetchFundraiserSellerSummary } from '../api';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\n\nconst useFetchFundraiserSellerSummary =\n (id: number) => useQuery(`${ QueryKeys.SellerReport }${ id.toString() }`,\n () => fetchFundraiserSellerSummary(id), {\n retry: false, refetchOnWindowFocus: false, cacheTime: 0, enabled: !!id,\n });\n\nexport { useFetchFundraiserSellerSummary };\n","import { useQuery } from 'react-query';\n\nimport { fetchFundraiserSellerSummaryExcel } from '../api';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\n\nconst useFundraiserSellerSummaryExcel =\n (id: number) => useQuery(`${ QueryKeys.SellerReportExcel }${ id.toString() }`,\n () => fetchFundraiserSellerSummaryExcel(id), {\n retry: false,\n refetchOnWindowFocus: false,\n cacheTime: 0,\n enabled: false,\n });\n\nexport { useFundraiserSellerSummaryExcel };\n","import { useLocalStorage } from 'features/common';\n\nexport interface IUseJoinFundraiser {\n (): {\n joinFundraiserGuid: string;\n setJoinFundraiserGuid: (fundraiserGuid: string) => void;\n removeFundraiserGuid: () => void;\n };\n}\n\nconst useJoinFundraiser: IUseJoinFundraiser = () => {\n const [ joinFundraiserGuid, setJoinFundraiserGuid ] = useLocalStorage('join-fundraiser-guid');\n\n const removeFundraiserGuid = () => {\n localStorage.removeItem('@lce/local/join-fundraiser-guid');\n };\n\n return {\n joinFundraiserGuid,\n setJoinFundraiserGuid,\n removeFundraiserGuid,\n };\n};\n\nexport { useJoinFundraiser };\n","import { useMutation } from 'react-query';\n\nimport { createFundraiserSeller } from '../api';\n\nimport { ApiError } from 'features/common';\n\nexport const useCreateFundraiserSeller = () => useMutation(createFundraiserSeller);\n","import { useMutation, useQueryClient } from 'react-query';\n\nimport { removeFundraiserSeller } from '../api';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\n\n// eslint-disable-next-line max-len\nexport const useRemoveFundraiserSeller =\n (fundraiserId) => {\n const queryClient = useQueryClient();\n\n return useMutation(removeFundraiserSeller,\n {\n onSuccess: () => queryClient.invalidateQueries(`${ QueryKeys.SellerPrefix }-${ fundraiserId }`),\n });\n };\n","import { useMutation, useQueryClient } from 'react-query';\n\nimport { CancelFundraiserRequest } from '../types';\n\nimport { ApiError } from 'features/common';\nimport api from 'api';\n\n/** Api Call */\nfunction cancelFundraiser(request: CancelFundraiserRequest) {\n return api.put('api/fundraiser/cancel', request)\n .then(res => res);\n}\n\n/** Hook */\nexport const useCancelFundraiser = () => {\n const queryClient = useQueryClient();\n\n return useMutation(cancelFundraiser,\n {\n onSuccess: () => queryClient.invalidateQueries('fundraisers'),\n });\n};\n","import { useQuery } from 'react-query';\n\nimport { fetchSellerByFundraiserId } from '../api';\nimport { Seller } from '../types';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\n\nconst useFetchSellerByFundraiserId = (id: string) => useQuery(`${ QueryKeys.SellerPrefix }-${ id }`,\n () => fetchSellerByFundraiserId(id),\n {\n retry: false,\n refetchOnWindowFocus: false,\n });\n\nexport { useFetchSellerByFundraiserId };\n","/* eslint-disable max-len */\nimport { useQuery } from 'react-query';\n\nimport { BuyerFilter, BuyerList } from '../types/buyer';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\nimport api from 'api';\n\nconst fetchBuyers = async(fundraiserId: number, customerId: number, options: BuyerFilter) => api.get(`api/order/buyer-list/${ fundraiserId }/${ customerId }`, options);\n\nexport const useFetchPaginatedBuyers =\n (fundraiserId: number, customerId: number, options: BuyerFilter) => useQuery([ QueryKeys.Buyers, customerId, options ], () => fetchBuyers(fundraiserId, customerId, options), {\n retry: false,\n refetchOnReconnect: false,\n refetchOnWindowFocus: false,\n });\n","import { useQuery } from 'react-query';\n\nimport { fetchEmailNotifications } from '../api';\nimport { EmailNotifications } from '../types/emailNotifications';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\n\nexport const useFetchEmailNotifications =\n () => useQuery(QueryKeys.EmailNotifications,\n () => fetchEmailNotifications(),\n { retry: false, refetchOnWindowFocus: false });\n\n","import { useMutation, useQueryClient } from 'react-query';\n\nimport { updateFundraiserEmailPreferences } from '../api';\nimport { FundraiserEmailPreferences } from '../../../features/fundraiser/types/fundraiser';\n\nimport { ApiError } from 'features/common';\nimport * as QueryKeys from 'constants/QueryKeys';\n\ninterface IUpdateEmailPrefRequest {\n fundraiserPreferences: FundraiserEmailPreferences;\n}\n\n// eslint-disable-next-line max-len\nexport const useUpdateEmailPreferences = () => {\n const queryClient = useQueryClient();\n\n return useMutation(updateFundraiserEmailPreferences, {\n onSuccess: () => {\n queryClient.invalidateQueries(`${ QueryKeys.EmailNotifications }`);\n },\n });\n};\n","/* eslint-disable max-len */\nimport { useQuery } from 'react-query';\n\nimport { fetchFundraiserQRCode } from '../api';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\n\nconst useFetchFundraiserQRCode =\n (fundraiserId: number) => useQuery([ `${ QueryKeys.FundraiserQRCode } }` ],\n () => fetchFundraiserQRCode(fundraiserId),\n {\n retry: false,\n refetchOnWindowFocus: false,\n enabled: fundraiserId > 0,\n });\n\nexport { useFetchFundraiserQRCode };\n","import { useQuery } from 'react-query';\n\nimport { fetchSSUGroupByIdSlug } from '../api';\nimport { SSULandingGroup } from '../types';\n\nimport { ApiError } from 'features/common';\nimport * as QueryKeys from 'constants/QueryKeys';\n\nexport const useFetchSSUGroup =\n (id: string, slug: string) => useQuery([ QueryKeys.SSUGroup, id, slug ],\n () => fetchSSUGroupByIdSlug(id, slug),\n {\n retry: false,\n refetchOnWindowFocus: false,\n enabled: Boolean(id) && Boolean(slug),\n });\n","/* eslint-disable max-len */\nimport { useQuery } from 'react-query';\n\nimport { fetchChairpersonDashboardStatistics } from '../api';\nimport { Stat } from '../types/stats';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\n\nconst useFetchChairpersonDashboardStatistics =\n (fundraiserId: number) => useQuery([ `${ QueryKeys.ChairpersonDashboardStatistics } }` ],\n () => fetchChairpersonDashboardStatistics(fundraiserId),\n {\n retry: false,\n refetchOnWindowFocus: false,\n enabled: !!fundraiserId,\n });\n\nexport { useFetchChairpersonDashboardStatistics };\n","/* eslint-disable max-len */\nimport { useQuery } from 'react-query';\n\nimport { fetchSellerDashboardStatistics } from '../api';\nimport { Stat } from '../types/stats';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\n\nconst useFetchSellerDashboardStatistics =\n (sellerId: number) => useQuery([ `${ QueryKeys.SellerDashboardStatistics } }` ],\n () => fetchSellerDashboardStatistics(sellerId),\n {\n retry: false,\n refetchOnWindowFocus: false,\n enabled: !!sellerId,\n });\n\nexport { useFetchSellerDashboardStatistics };\n","import { useEffect } from 'react';\nimport { useHistory, useLocation } from 'react-router-dom';\n\nexport type LocationProps = {\n followRedirect?: boolean;\n}\n\nexport const useConditionalRedirect = (checkCondition: boolean, destination: string) => {\n const history = useHistory();\n const { state } = useLocation();\n\n const followRedirect = state?.followRedirect ?? true;\n\n useEffect(() => {\n if (followRedirect && checkCondition) {\n history.replace(destination);\n }\n }, [ checkCondition, destination, history, followRedirect ]);\n};\n","import { useQuery } from 'react-query';\n\nimport { fetchFundraiserOrderSummary } from '../api';\nimport { FundraiserOrderSummary } from '../types/fundraiser';\nimport * as QueryKeys from '../../../constants/QueryKeys';\n\nimport { ApiError } from 'features/common';\n\nexport const useFetchFundraiserOrderSummary =\n (id: number) => useQuery(`${ QueryKeys.FundraiserOrderSummary }-${ id }`,\n () => fetchFundraiserOrderSummary(id), {\n retry: false, refetchOnWindowFocus: false, cacheTime: 0, enabled: id > 0,\n });\n\n","import { useMutation } from 'react-query';\n\nimport { createFinalOrder } from '../../api';\nimport { FundraiserFinalOrder, FundraiserSummary } from '../../types';\n\nimport { ApiError } from 'features/common';\n\nexport const useCreateFinalOrder =\n() => useMutation(createFinalOrder);\n","import { useQuery } from 'react-query';\n\nimport { fetchExistingCoupons } from '../api';\nimport { ExistingCoupon } from '../types';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\n\nexport const useFetchExistingCoupons =\n (fundraiserId: number) => useQuery(`${ QueryKeys.ExistingCoupons }-${ fundraiserId }`,\n () => fetchExistingCoupons(fundraiserId),\n {\n retry: false,\n refetchOnWindowFocus: false,\n });\n","import { useMutation } from 'react-query';\n\nimport { applyCouponsToFinalOrder } from '../api';\nimport { CouponsAppliedToFinalOrder } from '../types';\n\nimport { ApiError, ApiResponse } from 'features/common';\n\nexport const useApplyCouponsToFinalOrder =\n () => useMutation(applyCouponsToFinalOrder);\n","import { useMemo } from 'react';\n\nimport { userHasOneOfRequiredRoles } from '../utils';\nimport { SPECIAL_PERMISSIONS_ROLES, ELEVATED_RELATIONSHIPS } from '../types';\n\nexport function useUserHasOneOfRequiredRoles(userRoles: T[] | undefined, requiredRoles: T[]): boolean {\n return useMemo(() => {\n if (userRoles) {\n return userHasOneOfRequiredRoles(userRoles, requiredRoles);\n }\n return false;\n },\n [ userRoles, requiredRoles ]);\n}\n\nexport function useUserHasSpecialRoles(userRoles: T[] | undefined): boolean {\n return useUserHasOneOfRequiredRoles(userRoles, SPECIAL_PERMISSIONS_ROLES as unknown as T[]);\n}\n\nexport function useUserHasElevatedRoles(userRoles: T[] | undefined): boolean {\n return useUserHasOneOfRequiredRoles(userRoles, ELEVATED_RELATIONSHIPS as unknown as T[]);\n}\n\n","import { useMutation } from 'react-query';\n\nimport { updateFinalOrderInformation } from '../api';\nimport { FinalOrderInfo } from '../types';\n\nimport { ApiError, ApiResponse } from 'features/common';\n\nexport const useUpdateFinalOrderInformation =\n () => useMutation(updateFinalOrderInformation);\n","import { useQuery } from 'react-query';\n\nimport { fetchOnlineOrderReport } from '../api';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\n\nconst useFetchOnlineOrderReport =\n (id: number) => useQuery(`${ QueryKeys.OnlineOrderReport }-${ id.toString() }`,\n () => fetchOnlineOrderReport(id), {\n retry: false,\n refetchOnWindowFocus: false,\n cacheTime: 0,\n enabled: false,\n });\n\nexport { useFetchOnlineOrderReport };\n","// AppInsights.js\nimport { ApplicationInsights, DistributedTracingModes } from '@microsoft/applicationinsights-web';\nimport { ReactPlugin } from '@microsoft/applicationinsights-react-js';\n\nimport { history } from 'features/common/history';\n\nconst reactPlugin = new ReactPlugin();\nconst appInsights = new ApplicationInsights({\n config: {\n instrumentationKey: process.env.REACT_APP_APPINSIGHTS_INSTRUMENTATION_ID || '',\n correlationHeaderExcludedDomains: [ 'cdn.cookielaw.org' ],\n extensions: [ reactPlugin ],\n extensionConfig: {\n [reactPlugin.identifier]: { history },\n },\n distributedTracingMode: DistributedTracingModes.W3C,\n disableFetchTracking: false,\n enableCorsCorrelation: false,\n disableTelemetry: !process.env.REACT_APP_APPINSIGHTS_INSTRUMENTATION_ID,\n },\n});\nappInsights.loadAppInsights();\nexport { reactPlugin, appInsights };\n","import * as React from 'react';\nimport { Box, Image } from '@lce/slice_v2';\n\nimport DefaultSellerAvatar from 'assets/images/default-seller-avatar.png';\n\nexport interface ISellerAvatarProps {\n imageSrc?: string;\n}\n\nexport const SellerAvatar: React.FC = ({ imageSrc }) => (\n \n \"Avatar\"\n \n);\n","import * as React from 'react';\nimport {\n Flex, Link, Text,\n} from '@lce/slice_v2';\nimport { format } from 'date-fns';\nimport { useTranslation } from '@lce/i18n';\n\nimport { FundraiserType, Seller } from 'features/fundraiser';\n\nexport interface ISellerTextProps {\n seller: Seller;\n fundraiserType: FundraiserType;\n}\n\nexport const SellerText: React.FC = ({ seller, fundraiserType }) => {\n const [ t ] = useTranslation();\n return (\n \n \n {`${ t('fundraiserTracker.header',\n { context: fundraiserType, name: `${ seller.FirstName } ${ seller.LastInitial }` }) }`}\n \n { seller.VideoSource && (\n \n {t('fundraiserTracker.videoLinkTitle')}\n \n )}\n \n { seller.Description !== '' ? seller.Description : seller.FundraiserMessage }\n \n \n {`${ t('fundraiserTracker.miniDetails', {\n context: fundraiserType,\n endDate: format(new Date(seller.EndDate), 'MMMM d yyyy'),\n startDate: format(new Date(seller.StartDate), 'MMMM d yyyy'),\n firstName: seller.FirstName,\n fundraiserId: seller.FundraiserId,\n fundraiserName: seller.FundraiserName,\n }) }`}\n \n \n );\n};\n","import * as React from 'react';\nimport { Flex } from '@lce/slice_v2';\n\nimport { SellerAvatar } from './SellerAvatar';\nimport { SellerText } from './SellerText';\n\nimport { FundraiserType, Seller } from 'features/fundraiser';\n\nexport interface ISellerInformationProps {\n seller: Seller;\n fundraiserType: FundraiserType;\n}\n\nexport const SellerInformation: React.FC = ({ seller, fundraiserType }) => (\n \n \n \n \n);\n","import * as React from 'react';\nimport { Flex, Skeleton } from '@lce/slice_v2';\n\nexport const SellerInformationSkeleton = () => (\n \n \n \n \n \n \n \n \n);\n","import * as React from 'react';\nimport { Box } from '@lce/slice_v2';\n\nimport {\n SellerInformation,\n SellerInformationSkeleton,\n} from './components';\n\nimport { useFetchSellerBySupportGuid, useFetchSellerDashboardStatistics } from 'features/fundraiser';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\nimport { Graphs, GraphsSkeleton } from 'ui/Graphs';\n\nexport const FundraiserTracker: React.FC = () => {\n const { data: seller, isLoading: isSellerLoading } = useFetchSellerBySupportGuid();\n const { fundraiserType } = useFundraiserState();\n const { data: sellerStats, isLoading: isSellerStatsLoading } = useFetchSellerDashboardStatistics(seller?.Id || 0);\n\n return (\n \n { isSellerLoading && !seller && }\n { !isSellerLoading && seller && (\n \n )}\n \n { isSellerStatsLoading\n ? \n : }\n \n );\n};\n\n","module.exports = __webpack_public_path__ + \"static/media/default-seller-avatar.ed839526.png\";","/* eslint-disable max-lines-per-function */\nimport React, {\n forwardRef, Ref, useEffect, useImperativeHandle, useState,\n} from 'react';\nimport { Placement } from '@popperjs/core';\nimport { usePopper } from 'react-popper';\nimport { Box, Button } from '@lce/slice_v2';\n\nimport './popover.css';\n\nexport interface IPopoverProps {\n children: React.ReactNode;\n isOpen: boolean;\n onClose?: () => void;\n canHide?: boolean;\n placement?: Placement;\n referenceElement: HTMLElement | null;\n popperContainerClassName?: string;\n}\n\nexport interface IPopoverRef {\n handleUpdate: () => void;\n}\n\nconst Popover = forwardRef(({\n children,\n isOpen,\n onClose,\n canHide = true,\n placement = 'bottom',\n referenceElement,\n popperContainerClassName = 'popover-container',\n}: IPopoverProps, ref: Ref) => {\n const [ popperElement, setPopperElement ] = useState(null);\n const [ arrowElement, setArrowElement ] = useState(null);\n const [ hidden, setHidden ] = useState(!isOpen);\n const {\n styles, attributes, update,\n } = usePopper(referenceElement, popperElement, {\n placement: placement || 'bottom',\n modifiers: [\n { name: 'arrow', options: { element: arrowElement } }, {\n name: 'offset',\n options: {\n offset: [ 0, 8 ],\n },\n },\n ],\n });\n\n const handleUpdate = () => {\n update && update();\n };\n\n useImperativeHandle(ref, () => ({ handleUpdate }));\n\n useEffect(() => {\n setHidden(!isOpen);\n }, [ isOpen ]);\n\n const dismiss = () => {\n onClose && onClose();\n setHidden(true);\n };\n\n return (\n \n { !hidden && (\n <>\n \n {children}\n { canHide && (\n dismiss() }\n sx={ {\n position: 'absolute',\n bottom: '12px',\n right: '12px',\n } }\n variant=\"popover\"\n >\n Hide\n \n )}\n \n \n \n )}\n
\n );\n});\n\nexport { Popover };\n","import { Box, Flex, Text } from '@lce/slice_v2';\nimport React, {\n forwardRef, Ref, useEffect, useImperativeHandle, useState,\n} from 'react';\nimport { Star } from 'react-feather';\nimport { Placement } from '@popperjs/core';\n\nimport { IPopoverRef, Popover } from './Popover';\n\nimport { FundraiserPopover, useFundraiserPopover } from 'features/popovers';\n\nexport interface INewFundraiserPopover {\n referenceElement: HTMLElement | null;\n onHide: () => void;\n text: string;\n isHidden: boolean;\n shouldDelay?: boolean;\n placement?: Placement;\n}\n\nexport interface INewFundraiserPopoverParent {\n referenceElement: HTMLElement | null;\n fundraiserId: number;\n popovers: FundraiserPopover[] | undefined;\n setPopovers: React.Dispatch>;\n}\n\nexport interface IHidePopoverRef {\n hide: () => void;\n}\n\nconst NewFundraiserPopover = forwardRef(({\n referenceElement, onHide, text, placement = 'top', isHidden = false, shouldDelay = false,\n}: INewFundraiserPopover, ref: Ref) => {\n const [ wait, setWait ] = useState(shouldDelay);\n\n useEffect(() => {\n if (shouldDelay) {\n const handler = setTimeout(() => {\n setWait(false);\n }, 500);\n\n return () => {\n clearTimeout(handler);\n };\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n return (\n \n \n \n \n \n\n \n \n { text }\n \n \n \n \n );\n});\n\nconst NewFundraiserCPPopover: React.FC = (props) => {\n const [ popoverHidden, hidePopover, popover ] =\n useFundraiserPopover({\n fundraiserId: props.fundraiserId,\n key: 'cp-dashboard-tip',\n popovers: props?.popovers || [],\n setPopovers: props.setPopovers,\n });\n\n return (\n hidePopover({\n key: 'cp-dashboard-tip',\n fundraiserId: props.fundraiserId,\n id: popover?.Id || 0,\n }) }\n referenceElement={ props.referenceElement }\n text=\"Your New Fundraiser. Click to Get Started!\"\n />\n );\n};\n\nconst NewFundraiserSellerPopover: React.FC = (props) => {\n const [ popoverHidden, hidePopover, popover ] =\n useFundraiserPopover({\n fundraiserId: props.fundraiserId,\n key: 'seller-dashboard-tip',\n popovers: props?.popovers || [],\n setPopovers: props.setPopovers,\n });\n\n return (\n hidePopover({\n key: 'seller-dashboard-tip',\n fundraiserId: props.fundraiserId,\n id: popover?.Id || 0,\n }) }\n referenceElement={ props.referenceElement }\n text=\"Personalize your profile!\"\n />\n );\n};\n\nconst SellerInvitePopover = forwardRef((props: INewFundraiserPopoverParent, ref: Ref) => {\n const [ popoverHidden, hidePopover, popover ] =\n useFundraiserPopover({\n fundraiserId: props.fundraiserId,\n key: 'invite-tip',\n popovers: props?.popovers || [],\n setPopovers: props.setPopovers,\n });\n\n return (\n hidePopover({\n key: 'invite-tip',\n fundraiserId: props.fundraiserId,\n id: popover?.Id || 0,\n }) }\n placement=\"top-start\"\n ref={ ref }\n referenceElement={ props.referenceElement }\n shouldDelay={ true }\n text=\"Invite sellers by sharing the link, or QR code, below!\"\n />\n );\n});\n\nconst BuyerInvitePopover = forwardRef((props: INewFundraiserPopoverParent, ref: Ref) => {\n const [ popoverHidden, hidePopover, popover ] =\n useFundraiserPopover({\n fundraiserId: props.fundraiserId,\n key: 'seller-preview-tip',\n popovers: props?.popovers || [],\n setPopovers: props.setPopovers,\n });\n\n const hide = () => {\n hidePopover({\n key: 'seller-preview-tip',\n fundraiserId: props.fundraiserId,\n id: popover?.Id || 0,\n });\n };\n\n useImperativeHandle(ref, () => ({ hide }));\n\n return (\n hidePopover({\n key: 'seller-preview-tip',\n fundraiserId: props.fundraiserId,\n id: popover?.Id || 0,\n }) }\n placement=\"top-end\"\n referenceElement={ props.referenceElement }\n shouldDelay={ true }\n text=\"Share the link, or QR code, below to ask friends and family for support!\"\n />\n );\n});\n\nSellerInvitePopover.displayName = 'SellerInvitePopover';\nNewFundraiserPopover.displayName = 'NewFundraiserPopover';\nBuyerInvitePopover.displayName = 'BuyerInvitePopover';\n\nexport {\n NewFundraiserCPPopover,\n NewFundraiserSellerPopover,\n SellerInvitePopover,\n BuyerInvitePopover,\n};\n","/* eslint-disable max-len */\n/* eslint-disable react/forbid-component-props */\nimport React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { Box, Flex, Text } from '@lce/slice_v2';\nimport {\n Copy, Icon, Star, Video, Youtube,\n} from 'react-feather';\n\ninterface ITipSection {\n Icon: Icon;\n title: string;\n description: string;\n}\n\n/**\n * Since this popover never goes away and is always visable by the seller, it doesn't\n * use the Popover component and is just a UI component\n * */\nconst VideoTipPopover: React.FC = () => {\n const [ t ] = useTranslation();\n\n return (\n \n
\n \n \n \n \n \n \n { t('editSeller.videoTip.Title') }\n \n \n \n \n \n \n \n \n \n );\n};\n\nconst TipSection: React.FC = ({ Icon, title, description }) => (\n \n \n \n \n {title}\n \n \n {description}\n \n \n \n);\n\nexport default VideoTipPopover;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable jsx-a11y/no-static-element-interactions */\n/* eslint-disable jsx-a11y/click-events-have-key-events */\nimport React, { useRef, useEffect } from 'react';\nimport _get from 'lodash/get';\nimport { createPopper } from '@popperjs/core';\nimport { Box } from '@lce/slice_v2';\n\ninterface ITooltipPopoverProps {\n children: React.ReactNode;\n visible: boolean;\n setVisible: (value: boolean) => void;\n referenceElement: any;\n id?: string;\n}\n\nexport const TooltipPopover: React.FC = ({\n children, referenceElement, visible, setVisible, id,\n}) => {\n const popoverRef = useRef(null);\n\n useEffect(() => {\n const handleClickOutside = (event) => {\n if (\n _get(popoverRef, 'current') &&\n _get(referenceElement, 'current') &&\n !popoverRef.current.contains(event.target) &&\n !referenceElement.current.contains(event.target)\n ) {\n setVisible(false);\n }\n };\n document.addEventListener('mousedown', handleClickOutside);\n return () => {\n document.removeEventListener('mousedown', handleClickOutside);\n };\n }, [ popoverRef, setVisible, referenceElement ]);\n\n useEffect(() => {\n if (visible && referenceElement.current) {\n createPopper(referenceElement.current, popoverRef.current, {\n placement: 'bottom',\n });\n }\n }, [ visible, referenceElement ]);\n\n return (\n \n { visible ? children : null }\n \n );\n};\n","export {\n default as Desktop,\n DESKTOP_HEADER_HEIGHT,\n} from './Desktop';\n","import React from 'react';\nimport {\n Text,\n Flex,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\ninterface IWarnings {\n warnings: string[];\n}\n\nexport const WarningMessages: React.FC = ({ warnings }) => {\n const [ t ] = useTranslation();\n\n return (\n \n {warnings.map(warning => (\n \n { t(`warningMessage.${ warning }`)}\n \n ))}\n \n );\n};\n\n","/* eslint-disable react/forbid-component-props */\nimport React, { useState } from 'react';\nimport { range as _range } from 'lodash';\nimport numeral from 'numeral';\nimport {\n Text,\n Image,\n Flex,\n Card,\n Form,\n Button,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport { Trash } from 'react-feather';\n\nimport { WarningMessages } from './Warnings';\n\nimport { CartItem } from 'features/cart';\nimport { GoogleEvents } from 'features/analytics';\n\nconst MAX_QUANTITY = 99;\n\nexport interface ICartItemProps {\n cartItem: CartItem;\n disableChanges?: boolean;\n onQuantityChange?: (item: CartItem, quantity: number) => void;\n variant?: string;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst CartListItem: React.FC = ({\n cartItem, onQuantityChange, disableChanges, variant = 'cartListItem',\n}) => {\n const [ quantity, setQuantity ] = useState(cartItem.Quantity.toString());\n const [ t ] = useTranslation();\n\n const handleQuantityChange = (quantity: string) => {\n setQuantity(quantity);\n if (onQuantityChange) {\n onQuantityChange(cartItem, parseInt(quantity, 10));\n }\n };\n\n return (\n \n {cartItem.Picture && (\n \n )}\n \n \n \n \n {cartItem.ProductName}\n \n \n\n \n \n {cartItem.ShortDescription}\n \n \n {numeral(cartItem.UnitPrice).format(t('currency.format'))}\n {' '}\n {t('cart.Each')}\n \n \n\n \n \n { disableChanges ? (\n \n {t('cart.Quantity')}\n {' '}\n {cartItem.Quantity}\n \n ) : (\n \n \n {numeral(cartItem.UnitPrice * cartItem.Quantity).format(t('currency.format'))}\n \n \n handleQuantityChange(e.target.value) }\n sx={ {\n fontWeight: 'bold', textAlign: 'center', paddingLeft: '8px', paddingBottom: '4px', paddingTop: '4px',\n } }\n value={ quantity }\n variant=\"select.quantity\"\n >\n { _range(1, MAX_QUANTITY + 1).map(value => (\n \n )) }\n \n\n {\n GoogleEvents.removeFromCart({\n id: cartItem.ProductId.toString(),\n name: cartItem.ProductName,\n price: cartItem.UnitPrice,\n quantity: parseInt(quantity),\n });\n handleQuantityChange('0');\n } }\n sx={ {\n border: '0', marginLeft: [ '24px', '20px' ], padding: '0px', minWidth: '36px',\n } }\n title=\"Remove from cart\"\n variant=\"buttons.secondary\"\n >\n \n \n \n \n )}\n \n \n );\n};\n\nexport default CartListItem;\n","import { useTranslation } from '@lce/i18n';\nimport {\n Card, Flex, Image, Text, Button,\n} from '@lce/slice_v2';\nimport React from 'react';\nimport { useHistory } from 'react-router-dom';\n\nimport CaesarBasket from 'assets/images/caesar-basket.svg';\nimport { useFetchProductsPageRoute } from 'features/products';\n\nconst EmptyCartCaesar = () => {\n const [ t ] = useTranslation();\n const history = useHistory();\n const productPageRoute = useFetchProductsPageRoute();\n\n return (\n \n \n {t('cart.EmptyCartMessage')}\n \n \n {t('cart.SeeWhatsInStore')}\n \n history.push(productPageRoute) }\n sx={ { width: '100%', mt: '31px', mb: '31px' } }\n variant=\"primary\"\n >\n {t('cart.StartShopping')}\n \n \"Little\n \n );\n};\n\nexport default EmptyCartCaesar;\n","/* eslint-disable max-len */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport axios, { CancelToken, AxiosError } from 'axios';\nimport { toast } from 'react-toastify';\nimport { GrowthBook } from '@growthbook/growthbook-react';\nimport _isEmpty from 'lodash/isEmpty';\nimport _isNil from 'lodash/isNil';\n\nimport { ApiError } from './features/common/types/response';\nimport { getStoredAuthToken } from './auth/authToken';\n\n/**\n * Retrieve the Okta access token from local storage\n * We should _probably_ do this another way, but this works for now\n */\nconst getAuthToken = (existingAuthToken) => {\n // if not provided, grab it manually from local storage\n if (existingAuthToken) {\n return existingAuthToken;\n }\n\n const authStorage = getStoredAuthToken();\n if (!authStorage) {\n return undefined;\n }\n\n const data = JSON.parse(authStorage);\n return data.accessToken?.accessToken;\n};\n\nconst growthbook = new GrowthBook({\n apiHost: process.env.REACT_APP_GROWTHBOOK_API_HOST,\n clientKey: process.env.REACT_APP_GROWTHBOOK_SDK_KEY,\n enableDevMode: true,\n disableCache: true,\n});\n\ngrowthbook.init({ streaming: false });\n\nconst defaults = {\n baseURL: process.env.REACT_APP_BASE_API_URL || 'https://localhost:44379',\n headers: authToken => ({\n 'Content-Type': 'application/json',\n Authorization: getAuthToken(authToken) ? `Bearer ${ getAuthToken(authToken) }` : undefined,\n }),\n};\n\ntype PathsToMock = {\n method: string;\n path: string;\n branch?: string;\n example?: string;\n httpStatusCode?: number;\n}\n\nenum Presets {\n FINAL_ORDER_DUE = 'finalOrderDue',\n FINAL_ORDER_COMPLETE = 'finalOrderComplete'\n}\n\ntype mockApiConfig = {\n mockURL: string;\n clientId: string;\n enabled: boolean;\n preset: Presets;\n}\n\naxios.interceptors.request.use((config) => {\n const {\n mockURL, clientId, enabled = false, preset,\n }: mockApiConfig = growthbook.evalFeature('fr_mock_api_config').value ?? {};\n const presets = growthbook.evalFeature('fr_mock_api_presets').value ?? {};\n const endpoints = growthbook.evalFeature('fr_mock_api_endpoints').value ?? [];\n const endpointNames = presets[preset];\n\n if (!enabled || _isEmpty(presets) || _isEmpty(endpoints) || _isNil(endpointNames)) {\n return config;\n }\n\n const mockedPaths: PathsToMock[] = endpointNames.map((name: string) => endpoints[name]);\n const matchingPath = mockedPaths.find(({ method, path }) => method === config.method && config.url?.match(new RegExp(`${ defaults.baseURL }/${ path }$`)));\n\n if (matchingPath) {\n const { branch = '', example, httpStatusCode = 200 } = matchingPath;\n const mockConfigUrl = `${ mockURL }${ branch }/${ clientId }`;\n config.url = config.url?.replace(defaults.baseURL, mockConfigUrl);\n\n if (example) {\n config.headers['Prefer'] = `code=${ httpStatusCode }, example=${ example }`;\n }\n }\n\n return config;\n}, error => Promise.reject(error));\n\nconst applyErrorMessages = (reject: (reason?: any) => void) => (error: AxiosError, status: number) => {\n const err: ApiError = {\n Status: status,\n Message: error.response?.data.Message ?? error.response?.data,\n ErrorCode: error.response?.data.ErrorCode,\n };\n reject(err);\n};\n\nfunction api(method: any, path: string, params?: any, authToken?: string, cancelToken?: CancelToken):\nPromise {\n return new Promise((resolve, reject) => {\n axios({\n url: `${ defaults.baseURL }/${ path }`,\n method: method,\n headers: defaults.headers(authToken),\n params: method === 'get' || method === 'GET' ? params : undefined,\n data: method !== 'get' && method !== 'GET' ? params : undefined,\n cancelToken: cancelToken,\n }).then((response) => {\n resolve(response.data);\n }, (error: AxiosError) => {\n const rejectWithError = applyErrorMessages(reject);\n console.log(error);\n if (axios.isCancel(error)) {\n reject('CANCEL');\n } else if (error.message === 'Network Error') {\n reject(error);\n } else if (error.response && error.response.status === 401) {\n // Unauthenticated\n reject(error.response.data as ApiError);\n toast.error('You must be authenticated');\n } else if (error.response && error.response.status === 403) {\n // Unauthorized\n rejectWithError(error, 403);\n } else if (error.response && error.response.status === 404) {\n rejectWithError(error, 404);\n } else if (error.response) {\n rejectWithError(error, error.response.status);\n }\n });\n });\n}\n\nfunction downloadApi(method: any, path: string, params?: any, authToken?: string): Promise {\n return new Promise((resolve) => {\n axios({\n url: `${ defaults.baseURL }/${ path }`,\n method: 'GET',\n headers: defaults.headers(authToken),\n params: params,\n responseType: 'blob',\n }).then((response) => {\n const fileName = response.request.getResponseHeader('x-suggested-filename');\n const url = window.URL.createObjectURL(new Blob([ response.data ]));\n const link = document.createElement('a');\n link.href = url;\n link.setAttribute('download', fileName || 'report.xlsx');\n document.body.appendChild(link);\n link.click();\n resolve(response.data);\n });\n });\n}\n\nexport default {\n get: (path, params?, accessToken?, cancelToken?: CancelToken) => api('get', path, params, accessToken, cancelToken),\n post: (path, params?, accessToken?) => api('post', path, params, accessToken),\n put: (path, params?, accessToken?) => api('put', path, params, accessToken),\n patch: (path, params?, accessToken?) => api('patch', path, params, accessToken),\n delete: (path, params?, accessToken?) => api('delete', path, params, accessToken),\n download: (path, params?, accessToken?) => downloadApi('get', path, params, accessToken),\n};\n","export const getStoredGuestToken = () => localStorage.getItem('guestToken');\n\nexport const storeGuestToken = token => localStorage.setItem('guestToken', token);\n\nexport const removeStoredGuestToken = () => localStorage.removeItem('guestToken');\n\nexport const getStoredAuthToken = () => localStorage.getItem('okta-token-storage');\n","/* eslint-disable max-len */\nimport React from 'react';\nimport { Box } from '@lce/slice_v2';\n\nexport const PopupBorder: React.FC = ({ children }) => (\n \n \n {children}\n \n \n);\n","/* eslint-disable max-len */\nimport React from 'react';\nimport { Text } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { PopupBorder } from './PopupBorder';\n\nexport const BuyerInvitePopup: React.FC = () => {\n const [ t ] = useTranslation();\n\n return (\n \n \n {t('dashboard.steps.popoverContent.buyerInvite.note')}\n \n \n );\n};\n","/* eslint-disable max-len */\nimport React from 'react';\nimport { Link, Text } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { PopupBorder } from './PopupBorder';\n\nexport const ManageSellerPopup: React.FC = () => {\n const [ t ] = useTranslation();\n\n return (\n \n \n {t('dashboard.steps.popoverContent.manageSeller.part1')}\n \n \n {t('dashboard.steps.popoverContent.manageSeller.part2')}\n \n \n {t('dashboard.steps.popoverContent.manageSeller.call')}\n {' '}\n \n {t('dashboard.steps.popoverContent.manageSeller.phone')}\n \n {' '}\n {t('dashboard.steps.popoverContent.manageSeller.or')}\n {' '}\n \n {t('dashboard.steps.popoverContent.manageSeller.email')}\n \n {' '}\n {t('dashboard.steps.popoverContent.manageSeller.help')}\n \n \n );\n};\n\n","import React from 'react';\nimport {\n Modal as SliceModal, IModalProps as ISliceModalProps, IconButton, Flex, Box,\n} from '@lce/slice_v2';\nimport { XCircle } from 'react-feather';\n\nimport { VideoPlayer } from '../common/VideoPlayer';\n\nexport interface IModalProps {\n url: string;\n onClose?: () => void;\n}\n\nconst VideoModal: React.FC = ({ url, ...props }) => (\n \n \n \n \n \n \n \n \n \n \n);\n\nexport default VideoModal;\n","/* eslint-disable max-len */\nimport { Box, Text } from '@lce/slice_v2';\nimport React, { useState } from 'react';\nimport { useTranslation } from '@lce/i18n';\n\nimport { PopupBorder } from './PopupBorder';\n\nimport VideoModal from 'ui/VideoModal';\n\nexport const SellerInvitePopup: React.FC = () => {\n const [ isVideoOpen, setIsVideoOpen ] = useState(false);\n const [ t ] = useTranslation();\n\n return (\n <>\n \n \n {t('dashboard.steps.popoverContent.sellerInvite.watch')}\n {' '}\n setIsVideoOpen && setIsVideoOpen(true) }\n sx={ {\n color: 'primaryOrange', textDecoration: 'underline', cursor: 'pointer', display: 'inline-block',\n } }\n >\n {t('dashboard.steps.popoverContent.sellerInvite.video')}\n \n {' '}\n {t('dashboard.steps.popoverContent.sellerInvite.help')}\n \n \n {t('dashboard.steps.popoverContent.sellerInvite.note')}\n \n \n setIsVideoOpen(false) }\n url=\"https://player.vimeo.com/video/567360169\"\n />\n \n );\n};\n","import React from 'react';\nimport { Text } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { PopupBorder } from './PopupBorder';\n\nexport const FriendFamilyPopUp: React.FC = () => {\n const [ t ] = useTranslation();\n\n return (\n \n \n {t('dashboard.steps.popoverContent.friendFamilyInvite.note')}\n \n \n );\n};\n","export const Products = 'products';\nexport const ProductCategories = 'productcategories';\nexport const ProductPrefix = 'product-';\nexport const UserFundraisingGroups = 'fundraisinggroups';\nexport const FundraisingGroupTypes = 'fundraisinggrouptypes';\nexport const RequestInfoTypes = 'requestinfotypes';\nexport const GroupTypes = 'grouptypes';\nexport const StatesByCountry = 'statesbycountry';\nexport const UserAddress = 'useraddress';\nexport const FundraiserInvite = 'fundraiserInvite';\nexport const shippingCost = 'shippingCost';\nexport const Group = 'group';\nexport const SellerPrefix = 'seller-';\nexport const SellerDetailPrefix = 'sellerdetail-';\nexport const OrderPrefix = 'order-';\nexport const UserInfo = 'userinfo';\nexport const SellerReport = 'sellerreport-';\nexport const SellerReportExcel = 'sellerreport-excel';\nexport const SellerBuyerReport = 'sellerbuyerreport-';\nexport const FundraiserById = 'fundraiser-';\nexport const FundraiserFormData = 'formdata';\nexport const VerifySalesAgent = 'verifysalesagent-';\nexport const TermsOfService = 'termsofservice';\nexport const PrivacyPolicy = 'privacypolicy';\nexport const CampaignPolicy = 'campaignpolicy';\nexport const TermsOfSale = 'termsofsale';\nexport const ValidateJoinFundraiser = 'validatejoinfundraiser-';\nexport const Buyers = 'buyers-';\nexport const FundraiserRelationships = 'relationships-';\nexport const fundraiserSummaryReport = 'fundraiersummaryreport-';\nexport const AllSalesCustomers = 'sales-customers';\n\nexport const FilteredFundraiserSummaryReport = 'fundraiser-summary-report';\nexport const FilteredReport = 'filtered-report';\nexport const FilteredOrderDetailReport = 'order-detail-report';\nexport const EmailNotifications = 'email-notifications';\nexport const FundraiserQRCode = 'fundraiserqrcode';\nexport const FundraiserSellerQRCode = 'fundraisersellerqrcode';\nexport const ChairpersonDashboardStatistics = 'chairperson-dashboard-statistics';\nexport const SellerDashboardStatistics = 'seller-dashboard-statistics';\nexport const FundraiserOrderSummary = 'fundraiser-order-summary';\nexport const ExistingCoupons = 'final-order-existing-coupons';\nexport const FinalOrderSummary = 'final-order-summary';\nexport const OnlineOrderReport = 'online-order-report';\nexport const NoDeliveryDate = 'nodeliverydate';\nexport const SSUGroup = 'ssugroup';\n\n","import { createContext, useContext } from 'react';\n\nimport { Cart } from 'features/cart/types';\n\nexport type Action =\n | { type: 'ADD_ITEM' }\n | { type: 'UPDATE_CART'; items: Cart }\n | { type: 'REMOVE_PRODUCT' }\n | { type: 'CLEAR' }\n | { type: 'SET_GUEST'; guestId?: string }\n | { type: 'SET_SELLER'; sellerId: string }\n | { type: 'SET_FUNDRAISER'; fundraiserId: number}\n | { type: 'SET_START_SHOPPING' }\n\ntype Dispatch = (action: Action) => void;\n\nexport type CartState = {\n cart: Cart;\n subtotal: number;\n totalQuantity: number;\n guestId?: string;\n sellerId: string;\n fundraiserId: number;\n canStartShopping: boolean;\n}\n\nexport type CustomerData = {\n sellerId: string;\n fundraiserId: number;\n guestId: string;\n canStartShopping: boolean;\n}\n\nexport const CartStateContext = createContext(undefined);\nexport const CartDispatchContext = createContext(undefined);\n\nexport const useCartState = (): CartState => {\n const context = useContext(CartStateContext);\n if (context === undefined) {\n throw new Error('useCartState must be used within a CartStateProvider');\n }\n\n return context;\n};\n\nexport const useCartDispatch = () => {\n const context = useContext(CartDispatchContext);\n if (context === undefined) {\n throw new Error('useCartDispatch must be used within a CartStateProvider');\n }\n\n return context;\n};\n","import React from 'react';\nimport { Flex, Link, Box } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport _isEmpty from 'lodash/isEmpty';\n\nimport { IFeaturedFundraiserTracker } from '../types';\n\nimport { SellerInformation } from 'ui/fundraiser';\nimport { Graphs } from 'ui/Graphs';\n\nconst FeaturedFundraiserTrackerWithStats: React.FC = ({\n seller,\n fundraiserType,\n sellerStats,\n}) => {\n const [ t ] = useTranslation();\n return (\n \n \n \n \n \n \n { t('home.featuredFundraiser.link.text') }\n \n \n \n );\n};\n\nconst FeaturedFundraiserTrackerWithoutStats: React.FC = ({\n seller,\n fundraiserType,\n}) => {\n const [ t ] = useTranslation();\n return (\n \n \n \n { t('home.featuredFundraiser.link.text') }\n \n \n );\n};\n\nexport const FeaturedFundraiserTracker: React.FC = ({\n seller,\n fundraiserType,\n sellerStats,\n}) => {\n if (!_isEmpty(sellerStats)) {\n return (\n \n );\n } else {\n return (\n \n );\n }\n};\n","import { useMemo } from 'react';\nimport { FeatureResult, useFeature } from '@growthbook/growthbook-react';\n\nexport function useSafeFeature(feature: string, defaultValue: T): FeatureResult {\n const featureResult = useFeature(feature);\n const featureValue = featureResult.value;\n\n return useMemo(() => {\n if (!featureValue) {\n return {\n on: false,\n off: true,\n value: defaultValue,\n source: 'unknownFeature',\n ruleId: '',\n };\n }\n\n return featureResult;\n }, [ featureValue, featureResult, defaultValue ]);\n}\n\nexport function useBooleanFeature(feature: string): FeatureResult {\n return useSafeFeature(feature, false);\n}\n\nexport function useStringFeature(feature: string): FeatureResult {\n return useSafeFeature(feature, '');\n}\n\nexport function useJSONFeature(feature: string): FeatureResult {\n return useSafeFeature(feature, {} as T);\n}\n\nexport function useNumberFeature(feature: string): FeatureResult {\n return useSafeFeature(feature, 0);\n}\n","import React from 'react';\nimport { Text, Flex } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport _isNil from 'lodash/isNil';\n\nimport { IFeaturedFundraiserTracker } from '../types';\n\nimport { FeaturedFundraiserTracker } from './FeaturedFundraiserTracker';\n\nimport { useJSONFeature } from 'ui/components/hooks';\n\nconst FeaturedFundraiser: React.FC = () => {\n const [ t ] = useTranslation();\n const featuredFundraiser = useJSONFeature('fr_featured_fundraiser').value;\n\n if (_isNil(featuredFundraiser)) {\n return null;\n }\n const { seller } = featuredFundraiser;\n if (_isNil(seller)) {\n return null;\n }\n return (\n \n \n {t('home.featuredFundraiser.title')}\n \n \n \n );\n};\n\nexport default FeaturedFundraiser;\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport {\n Box, Flex, Image, Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport _map from 'lodash/map';\n\nimport LCBackground from './assets/background/lc-slice-background.svg';\nimport CallOfDutyImg from './assets/Call-of-Duty_Endowment_Logo-Black.jpg';\nimport LemonadeStandImg from './assets/LemonadeStandLogo.png';\nimport ToysForTotsImg from './assets/T4Tlogo.jpg';\n\nimport { useMediaQuery } from 'features/common';\n\nconst featuredOrganizations = [\n { src: CallOfDutyImg, id: 'CallOfDuty' },\n { src: ToysForTotsImg, id: 'ToysForTots' },\n { src: LemonadeStandImg, id: 'LemonadeStand' },\n];\n\nconst FeaturedOrganizations: React.FC = () => {\n const [ t ] = useTranslation();\n const isLarge = useMediaQuery('(min-width: 391px)');\n return (\n \n \n \n \n {t('home.featuredOrganizations.title')}\n \n \n {t('home.featuredOrganizations.subTitle')}\n \n \n {_map(featuredOrganizations, (featuredOrganization, index) => (\n \n \n \n ))}\n \n \n );\n};\n\nexport default FeaturedOrganizations;\n","import React from 'react';\n\nexport const RightArchClipPathSvg = () => (\n \n \n \n \n \n \n \n);\n","import React from 'react';\n\nexport const TopArchClipPathSvg: React.FC = () => (\n \n \n \n \n \n \n \n);\n","import React from 'react';\nimport {\n Image, Flex, Text,\n Box,\n} from '@lce/slice_v2';\n\nimport { IFeaturedProductCard } from '../types';\n\nimport { TopArchClipPathSvg } from 'ui/components/arch-clip-path-svgs';\nimport { RouterLink } from 'ui/common';\n\nexport const FeaturedProductCard: React.FC = ({\n imageSrc,\n name,\n description,\n url,\n gridArea,\n}) => (\n \n \n \n \n \n \n \n \n { name }\n \n \n \n { description }\n \n \n \n);\n\n","import React from 'react';\nimport {\n Box, Flex, Link, Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport _isEmpty from 'lodash/isEmpty';\nimport _map from 'lodash/map';\n\nimport { IFeaturedProductCard } from '../types';\n\nimport { FeaturedProductCard } from './FeaturedProductCard';\n\nimport { useJSONFeature } from 'ui/components/hooks';\n\nconst FeaturedProducts: React.FC = () => {\n const [ t ] = useTranslation();\n const featuredProducts = useJSONFeature('fr_featured_products').value;\n\n if (_isEmpty(featuredProducts)) {\n return null;\n }\n return (\n \n \n {t('home.featuredProducts.title')}\n \n \n {_map(featuredProducts, (product, index) => (\n \n ))}\n \n \n { t('home.featuredProducts.link.text') }\n \n \n );\n};\n\nexport default FeaturedProducts;\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport {\n Text, Flex, Image, Link,\n} from '@lce/slice_v2';\nimport _map from 'lodash/map';\n\nimport Truck from './assets/brochure-truck.svg';\nimport Mouse from './assets/digital-mouse.svg';\nimport Restaurant from './assets/meal-deal-restaurant.svg';\n\nconst IconMap = {\n BR: Truck,\n DG: Mouse,\n MD: Restaurant,\n};\n\nexport interface IFundraiserProgramCard {\n iconSrc: string;\n title: string;\n description: string;\n bulletPoints: string[];\n linkText: string;\n fundraiserCreationUrl: string;\n}\n\nconst FundraiserProgramCard: React.FC = ({\n iconSrc,\n title,\n description,\n bulletPoints,\n linkText,\n fundraiserCreationUrl,\n}) => (\n \n \n \n \n \n { title }\n \n \n { description }\n \n
    \n {_map(bulletPoints, (point, index) => (\n
  • \n {point}\n
  • \n ))}\n
\n
\n \n {linkText}\n \n \n \n);\n\nexport default FundraiserProgramCard;\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport { Box } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport _map from 'lodash/map';\n\nimport FundraiserProgramCard, { IFundraiserProgramCard } from './FundraiserProgramCard';\n\nimport { FundraiserType } from 'features/fundraiser';\nimport { useBooleanFeature } from 'ui/components/hooks';\n\nconst FundraiserProgramCards: React.FC = () => {\n const [ t ] = useTranslation();\n\n const isBrochureLinksEnabled = useBooleanFeature('fr_brochure_navigation_enabled').on;\n const fundraiserTypes: FundraiserType[] = [\n FundraiserType.Brochure,\n FundraiserType.Digital,\n FundraiserType.MealDeal,\n ];\n\n return (\n \n {_map(fundraiserTypes, (type) => {\n const programData: IFundraiserProgramCard =\n t('fundraiserPrograms.program', { context: type, returnObjects: true });\n const isBrochureAndBrochureLinksEnabled = type === FundraiserType.Brochure && isBrochureLinksEnabled;\n const urlContext = `${ type }${ isBrochureAndBrochureLinksEnabled ? '-brochureProgramEnabled' : '' }`;\n const fundraiserCreationUrl = t('fundraiserPrograms.fundraiserCreationUrl', { context: urlContext });\n return (\n \n );\n })}\n \n );\n};\n\nexport default FundraiserProgramCards;\n","import React from 'react';\nimport { Text, Flex } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport FundraiserProgramCards from './FundraiserProgramCards';\n\nconst FundraiserPrograms: React.FC = () => {\n const [ t ] = useTranslation();\n\n return (\n \n \n \n {t('home.fundraiserPrograms.title')}\n \n \n {t('home.fundraiserPrograms.description')}\n \n \n \n \n { t('common.BundleDisclaimer') }\n \n \n );\n};\n\nexport default FundraiserPrograms;\n","import React from 'react';\nimport { Text, Flex, Image } from '@lce/slice_v2';\n\nimport DedicatedReps from './assets/dedicated-reps.svg';\nimport FundrasingPlan from './assets/fundraising-plan.svg';\nimport HelpVideos from './assets/help-videos.svg';\nimport ResourceGuide from './assets/resource-guide.svg';\n\nconst IconMap = {\n ResourceGuide: ResourceGuide,\n HelpVideos: HelpVideos,\n FundraisingPlan: FundrasingPlan,\n DedicatedReps: DedicatedReps,\n};\n\nexport interface ISupportIconTile {\n title: string;\n description: string;\n iconSrc: string;\n}\n\nconst SupportIconTile: React.FC = ({\n description, iconSrc, title,\n}) => (\n \n \n \n \n { title }\n \n \n { description }\n \n \n \n);\n\nexport default SupportIconTile;\n","import React from 'react';\nimport { Text, Flex, Box } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport _map from 'lodash/map';\n\nimport SupportIconTile, { ISupportIconTile } from './SupportIconTile';\n\nimport FundraisingSupportBackground from 'assets/images/fundraising-support-background.webp';\n\nconst FundraisingSupport: React.FC = () => {\n const [ t ] = useTranslation();\n const supportCards: ISupportIconTile[] = t('home.fundraisingSupport.cards', { returnObjects: true });\n\n return (\n \n \n \n {t('home.fundraisingSupport.title')}\n \n \n {t('home.fundraisingSupport.description')}\n \n \n \n {_map(supportCards, card => (\n \n ))}\n \n \n );\n};\n\nexport default FundraisingSupport;\n","import React from 'react';\nimport { Flex, Text } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport _map from 'lodash/map';\n\nimport FeatureImage from 'assets/images/homepage/feature_image.webp';\nimport { Button } from 'ui/components';\n\ntype HeroImageButtonType = {\n 'data-testid': string;\n text: string;\n href: string;\n variant: string;\n};\n\nexport const HeroImage: React.FC = () => {\n const [ t ] = useTranslation();\n const buttons: HeroImageButtonType[] = t('home.arch.buttons', { returnObjects: true });\n\n return (\n \n \n {t('home.arch.body')}\n \n \n {_map(buttons, button => (\n \n ))}\n \n \n );\n};\n\nexport default HeroImage;\n","import React from 'react';\nimport {\n Box, Text, Flex, Link,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nconst MoreInfo: React.FC = () => {\n const [ t ] = useTranslation();\n return (\n \n \n \n {t('home.moreInfo.title')}\n \n \n {t('home.moreInfo.description')}\n \n \n { t('home.moreInfo.link.text') }\n \n \n { t('home.moreInfo.phoneNumberLink.number') }\n \n \n \n );\n};\n\nexport default MoreInfo;\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport {\n Box, Card, Flex, Image, Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { Button } from 'ui/components/buttons';\nimport { TopArchClipPathSvg } from 'ui/components/arch-clip-path-svgs';\n\nexport type HomeCardProps = {\n role: string;\n image: string;\n icon: string;\n}\n\nexport const dataTestIdHomeCard = 'home-card-component';\n\nexport const UserCategoryCard: React.FC = ({\n role, image, icon,\n}) => {\n const [ t ] = useTranslation();\n return (\n \n \n \n \n \n \n \n {role}\n \n \n {t('home.card.description', { context: role })}\n \n \n\n \n {t('home.card.readMore')}\n \n \n \n \n \n );\n};\n\nexport default UserCategoryCard;\n","import React from 'react';\nimport { Box, Flex } from '@lce/slice_v2';\nimport _map from 'lodash/map';\n\nimport ChairpersonPhoto from 'assets/images/homepage/chairperson_photo.webp';\nimport SellerPhoto from 'assets/images/homepage/seller_photo.webp';\nimport BuyerPhoto from 'assets/images/homepage/buyer_photo.webp';\nimport ChairpersonIcon from 'assets/images/homepage/leaderboard.svg';\nimport SellerIcon from 'assets/images/homepage/priceTag.svg';\nimport BuyerIcon from 'assets/images/homepage/pizza.svg';\nimport { UserCategoryCard, HomeCardProps } from 'ui/components/homepage/user-category-card';\n\nconst roles: HomeCardProps[] = [\n { role: 'chairperson', image: ChairpersonPhoto, icon: ChairpersonIcon },\n { role: 'seller', image: SellerPhoto, icon: SellerIcon },\n { role: 'buyer', image: BuyerPhoto, icon: BuyerIcon },\n];\n\nexport const UserCategories: React.FC = () => (\n \n \n { _map(roles, role => )}\n \n \n);\n\nexport default UserCategories;\n","/* eslint-disable max-lines-per-function */\nimport * as React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport {\n Flex, Image, Text, Link,\n} from '@lce/slice_v2';\n\nimport TestimonialUser from './assets/testimonialuser.png';\nimport BannerImage from './assets/familyeatingpizza.webp';\n\nimport { RightArchClipPathSvg } from 'ui/components/arch-clip-path-svgs';\n\nconst UserTestimonial: React.FC = () => {\n const [ t ] = useTranslation();\n\n return (\n \n \n \n \n \n {t('home.userTestimonial.title')}\n \n \n \n {t('home.userTestimonial.quote')}\n \n \n {t('home.userTestimonial.name')}\n \n \n {t('home.userTestimonial.link.text')}\n \n \n \n );\n};\n\nexport default UserTestimonial;\n","import React from 'react';\nimport { Container } from '@lce/slice_v2';\n\nimport {\n FeaturedFundraiser,\n FeaturedOrganizations,\n FeaturedProducts,\n FundraiserPrograms,\n FundraisingSupport,\n HeroImage,\n MoreInfo,\n UserCategories,\n UserTestimonial,\n} from 'ui/home';\nimport { DESKTOP_HEADER_HEIGHT } from 'ui/common/Header/Desktop';\nimport { MOBILE_HEADER_HEIGHT } from 'ui/common/Header/Mobile';\nimport { FundraiserType } from 'features/fundraiser';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\n\nconst Home: React.FC = () => {\n const { fundraiserType } = useFundraiserState();\n const mobilePaddingTop = fundraiserType === FundraiserType.MealDeal ? '88px' : MOBILE_HEADER_HEIGHT;\n return (\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default Home;\n","import { SxStyleProp } from 'theme-ui';\n\nimport { FundraiserType } from 'features/fundraiser';\n\nconst productCardDigital = (isTextExpanded?: boolean): SxStyleProp => ({\n gridTemplateRows: isTextExpanded ? '1fr fit-content' : [ '1fr auto', '1fr 179px' ],\n});\n\nconst productCardMealDeal = (isTextExpanded?: boolean): SxStyleProp => ({\n gridTemplateRows: isTextExpanded ? [ '1fr', '1fr fit-content' ] : [ '1fr', '1fr 179px' ],\n});\n\nexport const productCard = (fundraiserType: FundraiserType, isTextExpanded?: boolean) => {\n switch (fundraiserType) {\n case FundraiserType.MealDeal:\n return productCardMealDeal(isTextExpanded);\n case FundraiserType.Brochure:\n case FundraiserType.Digital:\n default:\n return productCardDigital(isTextExpanded);\n }\n};\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable react/forbid-component-props */\n/* eslint-disable max-lines-per-function */\nimport * as React from 'react';\nimport { useState, useLayoutEffect, useRef } from 'react';\nimport numeral from 'numeral';\nimport {\n Box, Flex, Text, Image, IconButton,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport { ChevronDown, ChevronUp } from 'react-feather';\n\nimport { productCard } from './ProductListItem.styles';\n\nimport { ConfirmationButton, RouterLink } from 'ui/common';\nimport { Product } from 'features/products';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\nimport { GoogleEvents } from 'features/analytics';\nimport { useProductDetailLink } from 'ui/hooks';\n\nexport interface IProductListItemProps {\n key: string;\n product: Product;\n canStartShopping: boolean;\n onAddToCart: (product, quantity) => void;\n supportGuid?: string;\n isTextExpandedDefault?: boolean;\n showExpandedButtonDefault?: boolean;\n}\n\nconst ProductListItem: React.FC = ({\n product,\n canStartShopping,\n onAddToCart,\n supportGuid,\n isTextExpandedDefault = false,\n showExpandedButtonDefault = false,\n children,\n}) => {\n const [ t ] = useTranslation();\n const [ loading, setLoading ] = useState(false);\n const { fundraiserType } = useFundraiserState();\n\n const productDetailLink = useProductDetailLink(product.Sku, supportGuid);\n\n if (!product.ThumbnailImage) {\n product.ThumbnailImage = {\n Id: 1,\n MimeType: '',\n VirtualPath:\n 'https://lcepizzakitstordeve2.blob.core.windows.net/pictures/3xDeep.png',\n AltAttribute: 'picture',\n TitleAttribute: 'picture',\n };\n }\n\n const handleAddToCart = (product, quantity) => {\n if (canStartShopping) {\n setLoading(true);\n onAddToCart(product, quantity);\n setTimeout(() => setLoading(false), 1000);\n } else {\n window.location.href = `${ window.location.origin }/buyer`;\n }\n };\n\n const gaViewItemOnClick = () => {\n GoogleEvents.viewItem({\n name: product.Name,\n price: product.Price,\n id: product.Id.toString(),\n });\n };\n\n const [ isTextExpanded, setIsTextExpanded ] = useState(isTextExpandedDefault);\n\n const onToggle = (expanded: boolean) => {\n setIsTextExpanded(expanded);\n };\n\n const [ showExpandTextButton, setShowExpandTextButton ] = useState(showExpandedButtonDefault);\n const titleRef = useRef(null);\n const descriptionRef = useRef(null);\n\n useLayoutEffect(() => {\n const handleResize = () => {\n const isDescriptionTruncated = descriptionRef.current.scrollHeight > 39;\n const isTitleTruncated = titleRef.current.scrollHeight > 48;\n setShowExpandTextButton(isDescriptionTruncated || isTitleTruncated);\n };\n handleResize();\n window.addEventListener('resize', handleResize);\n\n return () => {\n window.removeEventListener('resize', handleResize);\n };\n }, []);\n\n return (\n \n \n \n \n \n \n \n \n {product.Name}\n \n \n \n \n { product.ShortDescription}\n \n {showExpandTextButton && (\n onToggle(!isTextExpanded) }\n sx={ {\n cursor: 'pointer',\n p: 0,\n m: 0,\n width: 'auto',\n height: 'auto',\n color: 'primaryGrayDark',\n ':hover': {\n color: 'primaryGrayDark',\n },\n } }\n >\n { isTextExpanded\n ? \n : }\n \n )}\n \n \n \n \n {numeral(product.Price).format(t('currency.format'))}\n \n handleAddToCart(product, 1) }\n sku={ product.Sku }\n variant={ `buttons.confirmationButton${ fundraiserType }` }\n >\n { children }\n \n \n \n \n );\n};\n\nexport default ProductListItem;\n","import React from 'react';\nimport {\n Flex, Box, Skeleton,\n} from '@lce/slice_v2';\n\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\n\nconst ProductListItemSkeleton: React.FC = () => {\n const { fundraiserType } = useFundraiserState();\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default ProductListItemSkeleton;\n\n","import { QueryClient } from 'react-query';\n\nexport const queryClient = new QueryClient();\n","/* eslint-disable max-lines-per-function */\nimport React, { useCallback, useEffect } from 'react';\nimport { Text, Box } from '@lce/slice_v2';\nimport _map from 'lodash/map';\nimport _find from 'lodash/find';\nimport { Redirect } from 'react-router-dom';\nimport { useTranslation } from '@lce/i18n';\n\nimport { ProductListItem, ProductListItemSkeleton } from '../ProductListItem';\nimport { filterProductList } from '../utils/filterProductList';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { useCartDispatch, addToCart } from 'features/cart/context/cartContext';\nimport { ProductCategory, useFetchProductsByFundraiserType } from 'features/products';\nimport { GoogleEvents } from 'features/analytics';\nimport { queryClient } from 'query-client';\nimport { InlineLinkParseAndReplace } from 'ui/components';\n\nexport interface IProductList {\n canStartShopping: boolean;\n supportGuid?: string;\n currentCategory?: number;\n}\n\nconst ProductList: React.FC = ({\n canStartShopping, supportGuid, currentCategory, children,\n}) => {\n const {\n data: productResult, isLoading: isProductResultLoading, isError: isProductResultError,\n } = useFetchProductsByFundraiserType();\n\n const filteredProducts = productResult && currentCategory && filterProductList(productResult, currentCategory);\n\n const [ t ] = useTranslation();\n useEffect(() => {\n const productCategories = queryClient.getQueryState(QueryKeys.ProductCategories);\n if (productCategories && productCategories.data) {\n const categoryName = _find(productCategories.data, (c: ProductCategory) => c.Id === currentCategory)?.Name;\n if (categoryName && currentCategory && filteredProducts) {\n GoogleEvents.viewItemList({\n categoryName,\n categoryId: currentCategory.toString(),\n products: _map(filteredProducts, item => ({\n name: item.Name,\n id: item.Id.toString(),\n price: item.Price,\n })),\n });\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ currentCategory ]);\n\n const cartDispatch = useCartDispatch();\n const addToCartHandler = useCallback((product, quantity) => {\n addToCart(cartDispatch, product, quantity);\n }, [ cartDispatch ]);\n\n if (isProductResultError) {\n return ;\n }\n\n if (isProductResultLoading) {\n return (\n \n \n \n \n \n );\n }\n\n if (!filteredProducts || filteredProducts.length <= 0) {\n return (\n \n No products found.\n \n );\n }\n\n return (\n \n {filteredProducts.map(product => (\n \n {children}\n \n ))}\n \n \n \n \n\n );\n};\n\nexport default ProductList;\n","import { Product } from 'features/products';\n\nexport const filterProductList = (productResult: Product[], categoryId: number) => {\n const products: Product[] = [];\n productResult.map((product) => {\n product.Categories.map((category) => {\n if (category.CategoryId === categoryId) {\n products.push(product);\n }\n return true;\n });\n return true;\n });\n\n products.sort((a, b) => {\n const firstCategory = a.Categories.map((category) => {\n if (category.CategoryId === categoryId) {\n return category.DisplayOrder;\n } else {\n return undefined;\n }\n });\n\n const secondCategory = b.Categories.map((category) => {\n if (category.CategoryId === categoryId) {\n return category.DisplayOrder;\n } else {\n return undefined;\n }\n });\n\n const filteredFirstCategory = firstCategory.filter(x => x !== undefined);\n\n const first = filteredFirstCategory && filteredFirstCategory[0] !== undefined ? filteredFirstCategory[0] : 100;\n\n const filteredSecondCategory = secondCategory.filter(x => x !== undefined);\n\n const second = filteredSecondCategory && filteredSecondCategory[0] !== undefined ? filteredSecondCategory[0] : 100;\n\n return first - second;\n });\n return products;\n};\n","import React from 'react';\nimport {\n Modal as SliceModal, Text, Flex, Link,\n} from '@lce/slice_v2';\nimport _noop from 'lodash/noop';\nimport { X } from 'react-feather';\nimport { useTranslation } from '@lce/i18n';\n\nexport interface IEndedFundraiserModalProps {\n endDate: string;\n}\nexport interface IUpcomingFundraiserModalProps {\n startDate: string;\n}\n\nconst CancelledFundraiserModal: React.FC = () => {\n const [ t ] = useTranslation();\n return (\n \n \n \n \n \n \n \n \n {t('fundraiser.NotRunningModal.Header.Cancelled')}\n \n \n {t('fundraiser.NotRunningModal.Subheader')}\n \n \n \n {t('fundraiser.NotRunningModal.StartShoppingButton')}\n \n \n \n \n {t('fundraiser.NotRunningModal.NoThanksButton')}\n \n \n \n \n );\n};\n\nconst EndedFundraiserModal: React.FC = ({ endDate }) => {\n const [ t ] = useTranslation();\n return (\n \n \n \n \n \n \n \n \n {t('fundraiser.NotRunningModal.Header.Ended')}\n \n \n {endDate}\n \n \n {t('fundraiser.NotRunningModal.Subheader')}\n \n \n \n {t('fundraiser.NotRunningModal.StartShoppingButton')}\n \n \n \n \n {t('fundraiser.NotRunningModal.NoThanksButton')}\n \n \n \n \n );\n};\n\nconst UpcomingFundraiserModal: React.FC = ({ startDate }) => {\n const [ t ] = useTranslation();\n return (\n \n \n \n \n \n \n \n \n {t('fundraiser.NotStartedModal.Header')}\n \n \n {t('fundraiser.NotStartedModal.Subheader')}\n \n \n {startDate}\n \n \n {t('fundraiser.NotStartedModal.BottomText')}\n \n \n \n );\n};\n\nexport {\n CancelledFundraiserModal,\n EndedFundraiserModal,\n UpcomingFundraiserModal,\n};\n","import React from 'react';\nimport { format, isBefore } from 'date-fns';\n\nimport { Seller } from 'features/fundraiser';\nimport {\n CancelledFundraiserModal,\n EndedFundraiserModal,\n UpcomingFundraiserModal,\n} from 'ui/fundraiser/NotRunningFundraisersModals/NotRunningFundraisersModals';\n\nexport interface INotRunningFundraiserModalsDisplayProps {\n seller: Seller;\n}\n\nexport const NotRunningFundraiserModalsDisplay: React.FC = ({ seller }) => {\n const started = !isBefore(new Date(), new Date(seller.StartDate));\n const ended = !isBefore(new Date(), new Date(seller.EndDate));\n const showUpcomingFundraiserModal = !seller.CanSupport && !started && !ended && !seller.IsFundraiserCancelled;\n const showEndedFundraiserModal = !seller.CanSupport && started && ended && !seller.IsFundraiserCancelled;\n const cancelled = !seller.CanSupport && seller.IsFundraiserCancelled;\n const showCancelledFundraiserModal = cancelled || !seller.Active || seller.IsDeleted;\n\n return (\n <>\n {showUpcomingFundraiserModal && (\n
\n \n
\n )}\n {showEndedFundraiserModal && (\n
\n \n
\n )}\n {showCancelledFundraiserModal && (\n
\n \n
\n )}\n \n );\n};\n","import React from 'react';\nimport { Box, Image } from '@lce/slice_v2';\nimport DOMPurify from 'dompurify';\n\nimport { Product } from 'features/products';\nimport { TabbedCard, TabbedCardConfig } from 'ui/common';\n\nexport interface IProductDetailInfoProps {\n product: Product;\n}\ninterface ProductDetailImage {\n src: string;\n alt: string;\n title: string;\n}\n\n// eslint-disable-next-line max-lines-per-function\nexport const ProductDetailInfo: React.FC = ({ product }) => {\n const renderRte = (text: string) => (\n // eslint-disable-next-line react/no-danger\n \n );\n\n const renderImage = (image: ProductDetailImage) => (\n \n \n \n );\n\n const nutritionalInfoImage: ProductDetailImage = {\n src: product.NutritionalImage ? product.NutritionalImage.VirtualPath : '',\n alt: product.NutritionalImage ? product.NutritionalImage.AltAttribute : '',\n title: product.NutritionalImage ? product.NutritionalImage.TitleAttribute : '',\n };\n\n const config: TabbedCardConfig[] = [\n {\n tab: {\n id: 'baking-instructions',\n label: 'Baking Instructions',\n value: 'Baking Instructions',\n },\n sections: [\n {\n label: 'Details',\n content: renderRte(product.BakingInstructions ? product.BakingInstructions : ''),\n },\n ],\n },\n {\n tab: {\n id: 'handling-insructions',\n label: 'Handling Instructions',\n value: 'Handling Instructions',\n },\n sections: [\n {\n label: 'Details',\n content: renderRte(product.HandlingInstructions ? product.HandlingInstructions : ''),\n },\n ],\n },\n {\n tab: {\n id: 'nutritional-information',\n label: 'Nutritional Information',\n value: 'Nutritional Information',\n },\n sections: [\n {\n label: 'Nutritional Information',\n content: renderImage(nutritionalInfoImage),\n },\n ],\n },\n {\n tab: {\n id: 'ingredients',\n label: 'Ingredients',\n value: 'Ingredients',\n },\n sections: [\n {\n label: 'Details',\n content: renderRte(product.Ingredients ? product.Ingredients : ''),\n\n },\n ],\n },\n ];\n\n return (\n \n );\n};\n","import * as React from 'react';\nimport { useState } from 'react';\nimport _range from 'lodash/range';\nimport {\n Box, Flex, Form,\n} from '@lce/slice_v2';\n\nimport { Product } from 'features/products';\nimport { ConfirmationButton } from 'ui/common';\n\nconst MAX_QUANTITY = 99;\n\nexport interface IProductDetailAddToCartProps {\n product: Product;\n canStartShopping: boolean;\n onAddToCart: (product, quantity) => void;\n}\n\n// eslint-disable-next-line max-lines-per-function\nexport const ProductDetailAddToCart: React.FC = ({\n canStartShopping, product, onAddToCart,\n}) => {\n const [ loading, setLoading ] = useState(false);\n const [ quantity, setQuantity ] = useState(1);\n\n const handleQuantityChange = (e) => {\n const value = parseInt(e.target.value, 10);\n setQuantity(value);\n };\n\n const handleAddToCart = (product, quantity) => {\n if (canStartShopping) {\n setLoading(true);\n onAddToCart(product, quantity);\n setTimeout(() => setLoading(false), 1000);\n } else {\n window.location.href = `${ window.location.origin }/buyer`;\n }\n };\n\n const isFreeShipping = product.IsFreeShipping;\n\n return (\n \n \n \n { _range(1, MAX_QUANTITY + 1).map(value => (\n \n )) }\n \n \n handleAddToCart(product, quantity) }\n sku={ product.Sku }\n sx={ { flex: 1, marginLeft: '15px' } }\n >\n Add To Cart\n \n \n );\n};\n","import 'react-image-gallery/styles/css/image-gallery.css';\nimport './carousel.css';\nimport React from 'react';\nimport ImageGallery, { ReactImageGalleryItem } from 'react-image-gallery';\n\nimport { Picture, useMediaQuery } from 'features/common';\n\nexport interface IProductImageCarouselProps {\n images: Picture[] | null;\n}\n\nconst ProductImageCarousel: React.FC = ({ images }) => {\n const isMobile = useMediaQuery('(max-width: 600px)');\n\n if (!images) {\n return null;\n }\n\n const galleryImages: ReactImageGalleryItem[] = images.map(picture => ({\n original: picture.VirtualPath,\n thumbnail: picture.VirtualPath,\n originalTitle: picture.TitleAttribute,\n originalAlt: picture.AltAttribute,\n thumbnailTitle: picture.TitleAttribute,\n thumbnailAlt: picture.AltAttribute,\n }));\n\n return (\n 1 }\n thumbnailPosition={ isMobile ? 'bottom' : 'left' }\n />\n );\n};\n\nexport default ProductImageCarousel;\n","/* eslint-disable react/no-danger */\nimport * as React from 'react';\nimport { useCallback } from 'react';\nimport numeral from 'numeral';\nimport DOMPurify from 'dompurify';\nimport {\n Box, Text, Flex,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { ProductDetailInfo } from './ProductDetailInfo';\nimport { ProductDetailAddToCart } from './ProductDetailAddToCart';\n\nimport { ProductImageCarousel } from 'ui/products/ProductImageCarousel';\nimport { Product } from 'features/products';\nimport { useCartDispatch, addToCart } from 'features/cart/context/cartContext';\n\nexport interface IProductDetailProps {\n product: Product;\n canStartShopping: boolean;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst ProductDetail: React.FC = ({ canStartShopping, product }) => {\n const [ t ] = useTranslation();\n const cartDispatch = useCartDispatch();\n\n const addToCartHandler = useCallback((product, quantity) => {\n addToCart(cartDispatch, product, quantity);\n }, [ cartDispatch ]);\n\n const isFreeShipping = product.IsFreeShipping;\n\n return (\n \n \n \n \n \n \n \n {product.Name}\n \n \n {numeral(product.Price).format(t('currency.format'))}\n \n \n \n \n \n {!isFreeShipping && (\n \n {t('product.IncludeInKitTitle')}\n {' '}\n \n )}\n \n \n \n \n \n \n \n {!isFreeShipping && }\n \n );\n};\n\nexport default ProductDetail;\n","/* eslint-disable max-lines-per-function */\n/* eslint-disable @typescript-eslint/no-unused-vars */\nimport React, { useCallback, useEffect, useState } from 'react';\nimport { map as _map } from 'lodash';\nimport { Flex, Box } from '@lce/slice_v2';\nimport { ChevronDown, ChevronUp } from 'react-feather';\n\nimport { useMediaQuery, useQueryParam } from 'features/common';\nimport { useFetchCategoriesByFundraiserType } from 'features/products';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\nexport interface IProductCategorySelectorProps {\n isOpenDefault?: boolean;\n}\n\nconst ProductCategorySelector: React.FC = ({\n isOpenDefault = false,\n}) => {\n const [ isOpen, setIsOpen ] = useState(isOpenDefault);\n const {\n data: categoryResult, isLoading: isCategortyResultLoading,\n } = useFetchCategoriesByFundraiserType();\n const { fundraiserType } = useFundraiserState();\n const [ activeCategory, setActiveCategory ] = useQueryParam('c', { fundraiserType });\n\n const setInitialCategory = useCallback(() => {\n if (categoryResult) {\n const categoryExists = categoryResult.find(c => c.Id === parseInt(activeCategory)) !== undefined;\n if (categoryExists) {\n setActiveCategory(parseInt(activeCategory));\n } else {\n setActiveCategory(categoryResult[0].Id);\n }\n }\n }, [ categoryResult, setActiveCategory, activeCategory ]);\n\n useEffect(() => {\n setInitialCategory();\n }, [ setInitialCategory ]);\n\n const isLarge = useMediaQuery('(min-width: 960px)');\n\n const selectCategoryHandlerDesktop = (categoryId: number) => {\n setIsOpen(false);\n if (activeCategory !== categoryId) {\n setActiveCategory(categoryId);\n }\n };\n\n const selectCategoryHandlerMobile = (categoryId: number) => {\n if (activeCategory === categoryId) {\n setIsOpen(!isOpen);\n } else {\n setIsOpen(false);\n setActiveCategory(categoryId);\n }\n };\n\n return !isCategortyResultLoading\n ? isLarge\n ? (\n \n )\n : (\n \n )\n : null;\n};\n\ninterface ICategory {\n Id: number;\n Name: string;\n}\n\ninterface IDesktop {\n categories: ICategory[] | undefined;\n currentCategory: number;\n onClick: (value) => void;\n}\n\nconst DesktopNav: React.FC = ({\n categories, currentCategory, onClick,\n}) => (\n \n {categories?.map((category) => {\n const selected = category.Id === currentCategory;\n return (\n onClick(category.Id) }\n sx={ {\n mr: '48px',\n fontSize: '22px',\n fontWeight: 'bold',\n color: selected ? 'primaryOrange' : '#565555',\n cursor: 'pointer',\n } }\n >\n {category.Name}\n \n );\n }) }\n \n);\n\ninterface IMobileNav {\n categories: ICategory[] | undefined;\n currentCategory: number;\n isOpen: boolean;\n onClick: (value) => void;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst MobileNav: React.FC = ({\n categories, currentCategory, isOpen, onClick,\n}) => (\n \n\n onClick(currentCategory) }\n sx={ {\n color: 'primaryOrange', fontWeight: 'bold', cursor: 'pointer',\n bg: 'white', display: 'flex', justifyContent: 'space-between', p: '10px', borderRadius: '8px',\n } }\n variant=\"links.dashboardNavLink\"\n >\n {categories?.find(c => c.Id === currentCategory)?.Name}\n \n {isOpen\n ? (\n onClick(currentCategory) } strokeWidth=\"3\" width=\"16px\"\n />\n )\n : (\n onClick(currentCategory) } strokeWidth=\"3\" width=\"16px\"\n />\n )}\n \n \n\n {isOpen && (\n \n {_map(categories, (category) => {\n const selected = category.Id === currentCategory;\n return (\n onClick(category.Id) }\n sx={ {\n fontSize: '22px',\n fontWeight: 'bold',\n color: selected ? 'primaryOrange' : '#565555',\n } }\n variant=\"links.categorySelectorLink\"\n >\n {category.Name}\n \n );\n })}\n \n )}\n \n);\n\nexport default ProductCategorySelector;\n","/* eslint-disable no-extra-parens */\n/* eslint-disable max-lines-per-function */\nimport React, { useEffect } from 'react';\nimport { RouteProps, Redirect, useLocation } from 'react-router-dom';\nimport {\n Box, Container, Heading, Spinner, Text,\n} from '@lce/slice_v2';\n\nimport { useFundraiserDispatch } from 'features/fundraiser/context/fundraiserContext';\nimport { ProductList } from 'ui/products/ProductList';\nimport { FundraiserTracker } from 'ui/fundraiser/FundraiserTracker';\nimport { NotRunningFundraiserModalsDisplay } from 'ui/fundraiser/NotRunningFundraisersModals';\nimport { useCartState } from 'features/cart';\nimport { useSupportFundraiser } from 'features/fundraiser';\nimport { ProductCategorySelector } from 'ui/products';\nimport { useStatefulFetchSellerBySupportGuid } from 'ui/hooks';\n\ntype ProductsPageProps = RouteProps;\n\nconst Products: React.FC = () => {\n const cartState = useCartState();\n const { supportSeller, startShopping } = useSupportFundraiser();\n\n const { data: seller, isLoading, error } = useStatefulFetchSellerBySupportGuid();\n const isFranchiseeRef = seller?.IsFundraiserReferredByFranchisee || false;\n const isValidFundraiser = seller && seller.CanSupport && seller.Active && !seller.IsDeleted;\n\n const defaultCategories = {\n production: '5',\n qa: '7',\n development: '4',\n local: '4',\n jest: '4',\n };\n\n const defaultCategory = defaultCategories[process.env.REACT_APP_EFFECTIVE_ENV || ''];\n\n const { search } = useLocation();\n const urlSearchParams = new URLSearchParams(search);\n const activeCategory = parseInt(urlSearchParams.get('c') || defaultCategory);\n\n useEffect(() => {\n if (seller && seller.CanSupport) {\n supportSeller(seller.SupportGuid);\n startShopping();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ seller, useFundraiserDispatch ]);\n\n // no seller found - 404\n if (seller && seller.CustomerId === 0) {\n return ;\n }\n\n // loading state\n if (isLoading && !error) {\n return (\n \n \n \n );\n }\n\n if (error) {\n return (\n \n Uh oh\n There was an issue getting seller information\n \n );\n }\n\n return (\n
\n \n {seller && (isValidFundraiser\n ? \n : )}\n {!isFranchiseeRef &&\n }\n \n Add To Cart\n \n \n
\n );\n};\n\nexport default Products;\n","import * as React from 'react';\nimport {\n Route, RouteProps, Switch, useRouteMatch,\n} from 'react-router-dom';\n\nimport { CreateAccountForm } from 'ui/account/CreateAccountForm';\n\ntype CreateAccountPageProps = RouteProps\n\nconst CreateAccount: React.FC = () => {\n const { path } = useRouteMatch();\n\n return (\n
\n \n \n \n \n \n \n \n \n
\n );\n};\n\nexport default CreateAccount;\n","import { useCartState } from '../context/cartContext';\n\nexport const useCartContainsIneligibleProducts = (): boolean => {\n const cartState = useCartState();\n const ineligibleProducts = cartState?.cart?.items?.some(item => item.Warnings?.includes('WARN-PK-P-13'));\n return ineligibleProducts;\n};\n","/* eslint-disable max-len */\nimport { useCartState } from '../context/cartContext';\n\nexport const useCartContainsValidProducts = (): boolean => {\n const cartState = useCartState();\n const validProducts = cartState?.cart?.items?.every(item => item?.Warnings === undefined || item.Warnings?.length === 0);\n return validProducts;\n};\n","import * as React from 'react';\nimport {\n Box, Flex, Heading, Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { CartListItem, EmptyCartCaesar } from 'ui/cart';\nimport { FundraiserTracker } from 'ui/fundraiser/FundraiserTracker';\nimport {\n useCartState, useCartDispatch, modifyCart, CartItem,\n} from 'features/cart';\nimport { useQueryParam } from 'features/common';\nimport { OrderSummary, CheckoutDisabledModal, CheckoutNoFundraiserModal } from 'ui/checkout';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\nimport { useCartContainsIneligibleProducts } from 'features/cart/hooks';\nimport { InlineLinkParseAndReplace } from 'ui/components';\n\n// eslint-disable-next-line max-lines-per-function\nconst Cart = () => {\n const [ checkoutError ] = useQueryParam('error');\n const cartState = useCartState();\n const cartDispatch = useCartDispatch();\n const [ t ] = useTranslation();\n const { fundraiserType } = useFundraiserState();\n\n const showIneligibleCartItemWarning = useCartContainsIneligibleProducts();\n const onProductQuantityChange = (item: CartItem, quantity: number) => {\n modifyCart(cartDispatch, item.ProductId, quantity);\n };\n\n return (\n
\n {checkoutError === 'nocheckout' && }\n {checkoutError === 'nofundraiser' && }\n \n \n {cartState.totalQuantity === 1\n ? `${ t('cart.YourCartTitle') } (${ cartState.totalQuantity } ${ t('cart.Item') })`\n : `${ t('cart.YourCartTitle') } (${ cartState.totalQuantity } ${ t('cart.Items') })`}\n \n {showIneligibleCartItemWarning && (\n \n {t('cart.CartHasIneligibleItems')}\n \n )}\n \n\n \n {cartState.cart.items.map(item => (\n \n ))}\n { cartState.cart.items.length === 0 && (\n \n )}\n \n\n { cartState.cart && cartState.cart.items.length > 0 && (\n \n )}\n \n \n \n \n
\n );\n};\n\nexport default Cart;\n","import * as React from 'react';\nimport { useOktaAuth } from '@okta/okta-react';\n\nimport { useLocalStorage } from 'features/common';\nimport { CustomerData } from 'features/cart/context/cartContext/cartContext';\nimport { appInsights } from 'features/analytics/ApplicationInsights';\n\nconst Logout: React.FC<{}> = () => {\n const { authService } = useOktaAuth();\n const [ , setCustomerData ] = useLocalStorage('fundraiser/buyer');\n\n React.useEffect(() => {\n setCustomerData({});\n appInsights.clearAuthenticatedUserContext();\n authService.logout('/');\n /* eslint-disable react-hooks/exhaustive-deps */\n }, []);\n\n return (\n
\n );\n};\n\nexport default Logout;\n","import { useTranslation } from '@lce/i18n';\nimport {\n Box, Flex, Image, Text,\n} from '@lce/slice_v2';\nimport { format } from 'date-fns';\nimport React from 'react';\n\nimport { FundraiserListItem } from 'features/fundraiser';\nimport { useMediaQuery } from 'features/common';\nimport { theme } from 'theme';\n\nexport interface IJoinFundraiserInfoCard {\n fundraiser: FundraiserListItem;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst JoinFundraiserInfoCard: React.FC = ({ fundraiser }) => {\n const [ t ] = useTranslation();\n const allowClick = !useMediaQuery(`(min-width: ${ theme.breakpoints[1] } )`);\n\n return (\n \n \n \n {t('login.FundraiserJoin.line1')}\n \n {' '}\n \n {t('login.FundraiserJoin.line2')}\n \n {\n if (allowClick) {\n const login = document.getElementById('login');\n login && login.scrollIntoView({\n behavior: 'smooth',\n block: 'start',\n });\n }\n } }\n sx={ {\n color: [ 'primaryOrange', 'primaryOrange', 'black' ],\n display: 'inline',\n fontWeight: 900,\n textDecoration: 'none',\n } }\n variant=\"text.h5\"\n >\n {t('login.FundraiserJoin.link')}\n \n .\n \n\n { fundraiser.FundraiserImageSource && (\n \n )}\n\n \n {fundraiser.Name}\n \n\n { fundraiser.CustomMessage && (\n \n {fundraiser.CustomMessage}\n \n ) }\n\n \n \n \n {`${ t('fundraiserTracker.miniDetails', {\n endDate: format(new Date(fundraiser.EndDate), 'MMMM d yyyy'),\n startDate: format(new Date(fundraiser.StartDate), 'MMMM d yyyy'),\n fundraiserId: fundraiser.Id,\n fundraiserName: fundraiser.Name,\n }) }`}\n \n \n \n\n \n );\n};\n\nexport default JoinFundraiserInfoCard;\n","import { Card, Flex, Skeleton } from '@lce/slice_v2';\nimport React from 'react';\n\nconst JoinFundraiserInfoCardSkeleton = () => (\n \n \n \n \n\n \n\n \n \n \n\n \n \n \n\n \n);\n\nexport default JoinFundraiserInfoCardSkeleton;\n","import {\n Box, Button, Flex, Image,\n} from '@lce/slice_v2';\nimport React, { useState } from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { toast } from 'react-toastify';\nimport { ThemeUIStyleObject } from 'theme-ui';\n\nimport PizzaPizza from 'assets/images/pizza-pizza-kit.svg';\nimport {\n CreateAccountForm, LoginForm, LoginBox, RegisterUserBox,\n} from 'ui/account';\nimport { GenericToast } from 'ui/common/Toast/CustomToasts';\nexport interface IFundraiserLoginProps {\n showImage?: boolean;\n sx?: ThemeUIStyleObject;\n}\n\nconst FundraiserLogin: React.FC = ({ showImage = true, sx }) => {\n const [ showCreateAccount, setShowCreateAccount ] = useState(false);\n const [ showLogin, setShowLogin ] = useState(false);\n const [ t ] = useTranslation();\n\n if (showCreateAccount) {\n return (\n setShowCreateAccount(false) }\n onSuccess={ () => {\n setShowCreateAccount(false);\n setShowLogin(true);\n toast();\n } }\n />\n );\n }\n\n return (\n \n { showImage && (\n \n \"LC\n \n )}\n { showLogin ? (\n \n setShowLogin(false) } redirect={ false } />\n \n ) : (\n \n \n \n \n \n \n \n \n ) }\n \n );\n};\n\nexport default FundraiserLogin;\n","import React, { useEffect, useMemo, useState } from 'react';\nimport { Redirect, RouteComponentProps, useHistory } from 'react-router-dom';\nimport { useOktaAuth } from '@okta/okta-react';\nimport { Container, Flex } from '@lce/slice_v2';\nimport { isAfter, isSameDay } from 'date-fns';\n\nimport { useFetchJoinFundraiserValidation } from 'features/fundraiser/hooks/useFetchJoinFundraiserValidation';\nimport { useJoinFundraiser, useCreateFundraiserSeller, useFetchFundraiserByGuid } from 'features/fundraiser';\nimport { JoinFundraiserInfoCard } from 'ui/fundraiser/JoinFundraiserInfoCard';\nimport { JoinFundraiserInfoCardSkeleton } from 'ui/fundraiser/JoinFundraiserInfoCard/JoinFundraiserInfoCardSkeleton';\nimport FundraiserLogin from 'ui/checkout/Login/FundraiserLogin';\nimport { FundraiserStatus } from 'features/fundraiser/types/fundraiser';\n\ninterface MatchParams {\n fundraiserGuid: string;\n}\n\ntype JoinFundraiserProps = RouteComponentProps;\n\n// eslint-disable-next-line max-lines-per-function\nconst JoinFundraiser: React.FC = ({ match }) => {\n const [ enableValidateCall, setEnableValidateCall ] = useState(false);\n const [ isSellerRoleAdded, setIsSellerRoleAdded ] = useState(false);\n const [ checkingUserStatus, setCheckingUserStatus ] = useState(true);\n\n const history = useHistory();\n\n const { authState } = useOktaAuth();\n const { setJoinFundraiserGuid, removeFundraiserGuid } = useJoinFundraiser();\n const {\n data: fundraiser, error: fundraiserError, isSuccess: isFundraiserSuccess, isLoading: isFundraiserLoading,\n } = useFetchFundraiserByGuid(match.params.fundraiserGuid);\n\n const { data: fundraiserValidation } =\n useFetchJoinFundraiserValidation(enableValidateCall, match.params.fundraiserGuid);\n const { mutateAsync: createFundraiserSeller, isLoading } = useCreateFundraiserSeller();\n\n const isCanceled = useMemo(() => {\n const cancelationDate = fundraiser?.CancellationDate && new Date(fundraiser?.CancellationDate);\n const today = new Date();\n const isCanceledToday = cancelationDate && isSameDay(today, cancelationDate);\n const isAfterCancelationDate = cancelationDate && isAfter(today, cancelationDate);\n const isCanceledByDate = isCanceledToday || isAfterCancelationDate;\n\n return fundraiser?.FundraiserStatus === FundraiserStatus.Canceled || isCanceledByDate;\n }, [ fundraiser ]);\n\n useEffect(() => {\n if (fundraiser?.IsExpired || isCanceled) {\n removeFundraiserGuid();\n history.push('/landing/expiredfundraiser');\n }\n }, [ fundraiser, removeFundraiserGuid, history, isCanceled ]);\n\n useEffect(() => {\n setJoinFundraiserGuid(match.params.fundraiserGuid);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n useEffect(() => {\n if (authState.isAuthenticated) {\n setEnableValidateCall(true);\n }\n }, [ authState.isAuthenticated ]);\n\n useEffect(() => {\n async function addSellerRole() {\n const isFundraiserSellerCreated = await createFundraiserSeller(match.params.fundraiserGuid);\n if (isFundraiserSellerCreated) {\n setIsSellerRoleAdded(isFundraiserSellerCreated);\n }\n }\n\n if (fundraiserValidation) {\n setEnableValidateCall(false);\n }\n\n if (fundraiserValidation && fundraiserValidation.IsUserAlreadyInFundraiser) {\n removeFundraiserGuid();\n }\n\n if (fundraiserValidation &&\n !fundraiserValidation.IsUserAlreadyInFundraiser &&\n !fundraiserValidation.IsInvalidFundraiser &&\n !isLoading &&\n !isSellerRoleAdded) {\n removeFundraiserGuid();\n setCheckingUserStatus(false);\n addSellerRole();\n } else {\n setCheckingUserStatus(false);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ fundraiserValidation ]);\n\n if (fundraiserError) {\n return ;\n }\n\n if (isFundraiserSuccess && !fundraiser?.Active) {\n removeFundraiserGuid();\n return ;\n }\n\n if (isSellerRoleAdded) {\n return ;\n }\n\n return (\n \n \n { isFundraiserLoading || !fundraiser || checkingUserStatus\n ? \n : (\n <>\n \n\n {fundraiserValidation?.IsUserAlreadyInFundraiser ? : null}\n\n {fundraiserValidation?.IsInvalidFundraiser ? : null}\n\n {fundraiserValidation?.IsUserNotAuthorizedToRegister ? : null}\n\n { authState !== undefined && !authState.isAuthenticated && (\n \n )}\n \n ) }\n \n\n \n );\n};\n\nexport default JoinFundraiser;\n","/* eslint-disable max-len */\nimport { useQuery } from 'react-query';\n\nimport { fetchJoinFundraiserValidation } from '../api';\nimport { FundraiserSellerValidation } from '../types/fundraiser';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\n\nexport const useFetchJoinFundraiserValidation =\n (enabled: boolean, fundraiserGuid: string) => useQuery(QueryKeys.ValidateJoinFundraiser + fundraiserGuid, () => fetchJoinFundraiserValidation(fundraiserGuid),\n {\n enabled: enabled && fundraiserGuid !== '',\n retry: false,\n refetchOnMount: false,\n refetchOnWindowFocus: false,\n refetchOnReconnect: false,\n });\n","import * as React from 'react';\nimport {\n Box, Flex, Container, Image, Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { LoginForm } from 'ui/account';\nimport CaesarPoint from 'assets/images/caesar-point.svg';\n\nconst Login: React.FC = () => {\n const [ t ] = useTranslation();\n return (\n \n \n {t('login.Title')}\n \n \n {t('login.SubTitle')}\n \n \n \n \n \n \n \n \n );\n};\n\nexport default Login;\n","import React from 'react';\nimport { Redirect } from 'react-router-dom';\n\nimport { Login } from '../login';\n\nimport { useJoinFundraiser } from 'features/fundraiser';\n\n/* This component is responsbile for determining which login page to show\n This simply returns a specific component based on the scenario\n - Default Login Page\n - Fundraiser Seller Login/Register Page\n In retrospect, I don't love this solution so we should rework this if possible\n*/\nconst FundraiserLoginManager = () => {\n const { joinFundraiserGuid } = useJoinFundraiser();\n\n if (joinFundraiserGuid) {\n return ;\n }\n\n return ();\n};\n\nexport default FundraiserLoginManager;\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport { Prompt } from 'react-router-dom';\nimport {\n Box,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport {\n Details,\n CheckoutWrapper,\n PlaceOrderFailedPayment,\n Payment,\n OrderReview,\n OrderProcessingOverlay,\n ShippingDetails,\n ShippingDetailsSummary,\n NoShippingDetailsSummary,\n ShippingDetailsBR,\n} from 'ui/checkout';\nimport { useCartContainsValidProducts } from 'features/cart/hooks';\nimport { FundraiserType } from 'features/fundraiser';\nimport { useStatefulFetchSellerBySupportGuid } from 'ui/hooks';\n\n// eslint-disable-next-line max-lines-per-function\nconst Checkout: React.FC<{}> = () => {\n const [ t ] = useTranslation();\n const hasValidProducts = useCartContainsValidProducts();\n const { data: seller } = useStatefulFetchSellerBySupportGuid();\n const fundraiserType = seller?.FundraiserType;\n const isBrochure = fundraiserType === FundraiserType.Brochure;\n const isChairperson = seller?.IsChairperson;\n\n return (\n \n {({\n checkoutState,\n details,\n setDetails,\n paymentState,\n paymentDispatch,\n hasOnlyCouponItems,\n hasOnlyDonationItems,\n isCouponItemExist,\n handleModalClose,\n handlePaymentInfoComplete,\n redirectToCart,\n placeOrderHandler,\n }) => (\n \n { paymentState.popup && checkoutState.paymentStatus === 'fail' && (\n \n )}\n {\n setDetails(false);\n paymentDispatch({ type: 'UNSET_PAYMENT_STEP' });\n paymentDispatch({ type: 'UNSET_REVIEW_STEP' });\n } }\n onVerified={ () => setDetails(true) }\n />\n {\n paymentDispatch({ type: 'SET_PAYMENT_STEP' });\n paymentDispatch({ type: 'UNSET_REVIEW_STEP' });\n } }\n onPaymentInfoComplete={ handlePaymentInfoComplete }\n />\n {/* eslint-disable-next-line jsx-a11y/anchor-has-content */}\n \n redirectToCart() }\n onPlaceOrder={ placeOrderHandler }\n />\n \n {hasValidProducts && (\n \n )}\n \n )}\n \n );\n};\n\nexport default Checkout;\n","import React from 'react';\nimport { RouteComponentProps, Redirect } from 'react-router-dom';\nimport {\n Container, Heading, Spinner, Text,\n} from '@lce/slice_v2';\n\nimport { ProductDetail } from 'ui/products';\nimport { FundraiserTracker } from 'ui/fundraiser';\nimport { useCartState } from 'features/cart';\nimport { useFetchProduct } from 'features/products';\n\ninterface MatchParams {\n sku: string;\n}\n\ntype ProductDetailPageProps = RouteComponentProps\n\nconst ProductDetailPage: React.FC = ({ match }) => {\n const cartState = useCartState();\n const { data: product, isLoading, error } = useFetchProduct(match.params.sku);\n\n // error status - 404\n if (error && error.Status === 404) {\n return ;\n }\n\n // loading state\n if (isLoading && !error) {\n return (\n \n \n \n );\n }\n\n if (error || !product) {\n return (\n \n Uh oh\n There was an issue getting product information\n \n );\n }\n\n return (\n
\n \n \n
\n );\n};\n\nexport default ProductDetailPage;\n","/* eslint-disable max-lines-per-function */\nimport React, { useEffect, useMemo } from 'react';\nimport { RouteComponentProps, Redirect } from 'react-router-dom';\nimport {\n Box, Container, Flex, Heading, Spinner, Text,\n} from '@lce/slice_v2';\nimport { Plus } from 'react-feather';\nimport { useTranslation } from '@lce/i18n';\n\nimport { ProductList } from 'ui/products/ProductList';\nimport { FundraiserTracker } from 'ui/fundraiser/FundraiserTracker';\nimport { NotRunningFundraiserModalsDisplay } from 'ui/fundraiser/NotRunningFundraisersModals';\nimport { useCartState } from 'features/cart';\nimport { useFetchSellerBySupportGuid, useSupportFundraiser } from 'features/fundraiser';\nimport { useFetchCategories } from 'features/products';\n\nexport interface MatchParams {\n supportGuid: string;\n}\n\nexport type IMealDealProductsPageProps = RouteComponentProps\n\nexport const MealDealProductsPage: React.FC = ({ match }) => {\n const [ t ] = useTranslation();\n const cartState = useCartState();\n const { supportSeller, startShopping } = useSupportFundraiser();\n const { data: seller, isLoading, error } = useFetchSellerBySupportGuid();\n const { data: categoryResult } = useFetchCategories();\n const isValidFundraiser = seller && seller.CanSupport && seller.Active && !seller.IsDeleted;\n\n const currentCategory = useMemo(() => {\n const mdCategory = categoryResult?.find(c => c.Name === 'Meal Deal Codes for Pick Up In Store');\n if (mdCategory) {\n return mdCategory.Id;\n }\n }, [ categoryResult ]);\n\n useEffect(() => {\n if (seller && seller.CanSupport) {\n supportSeller(seller.SupportGuid);\n startShopping();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ seller ]);\n\n // no seller found - 404\n if (seller && seller.CustomerId === 0) {\n return ;\n }\n\n // loading state\n if (isLoading && !error) {\n return (\n \n \n \n );\n }\n\n if (error) {\n return (\n \n \n {t('mealDeal.products.uhoh')}\n \n \n {t('mealDeal.products.error')}\n \n \n );\n }\n\n return (\n \n {seller && (isValidFundraiser\n ? \n : )}\n \n \n {t('mealDeal.products.title')}\n \n \n {t('mealDeal.products.subtitle')}\n \n \n \n \n \n \n );\n};\n","import * as React from 'react';\nimport {\n Box, Flex, Heading, Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport {\n useCartState, useCartDispatch, modifyCart, CartItem,\n} from 'features/cart';\nimport { useQueryParam } from 'features/common';\nimport { CartListItem, EmptyCartCaesar } from 'ui/cart';\nimport { FundraiserTracker } from 'ui/fundraiser/FundraiserTracker';\nimport { OrderSummary, CheckoutDisabledModal, CheckoutNoFundraiserModal } from 'ui/checkout';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\nimport { useCartContainsIneligibleProducts } from 'features/cart/hooks';\nimport { InlineLinkParseAndReplace } from 'ui/components';\n\n// eslint-disable-next-line max-lines-per-function\nexport const MealDealCartPage: React.FC = () => {\n const [ t ] = useTranslation();\n const cartState = useCartState();\n const cartDispatch = useCartDispatch();\n const { fundraiserType } = useFundraiserState();\n const [ checkoutError ] = useQueryParam('error');\n\n const isNotCouponCodeItem = cartState?.cart?.items?.some(item => !item.IsFreeShipping);\n const isIneligibleProduct = useCartContainsIneligibleProducts();\n const showIneligibleCartItemWarning = isNotCouponCodeItem || isIneligibleProduct;\n const onProductQuantityChange = (item: CartItem, quantity: number) => {\n modifyCart(cartDispatch, item.ProductId, quantity);\n };\n\n return (\n
\n {checkoutError === 'nocheckout' && }\n {checkoutError === 'nofundraiser' && }\n \n \n {cartState.totalQuantity === 1\n ? `${ t('cart.YourCartTitle') } (${ cartState.totalQuantity } ${ t('cart.Item') })`\n : `${ t('cart.YourCartTitle') } (${ cartState.totalQuantity } ${ t('cart.Items') })`}\n \n {showIneligibleCartItemWarning && (\n \n {t('cart.CartHasIneligibleItems')}\n \n )}\n \n \n {cartState.cart.items.map((item) => {\n if (!item.IsFreeShipping && !item.Warnings.includes('WARN-PK-P-08')) {\n item.Warnings.push('WARN-PK-P-08');\n }\n return (\n \n );\n })}\n { cartState.cart.items.length === 0 && (\n \n )}\n \n\n { cartState.cart && cartState.cart.items.length > 0 && (\n \n )}\n \n \n \n \n
\n );\n};\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport { Prompt } from 'react-router-dom';\nimport { Box } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport {\n Details,\n CheckoutWrapper,\n PlaceOrderFailedPayment,\n ShippingDetailsMD,\n NoShippingDetailsSummary,\n Payment,\n OrderReviewMD,\n OrderProcessingOverlay,\n} from 'ui/checkout';\nimport { GuestLogin } from 'ui/account';\nimport { useCartContainsValidProducts } from 'features/cart/hooks';\n\nexport const MealDealCheckoutPage: React.FC = () => {\n const [ t ] = useTranslation();\n const hasValidProducts = useCartContainsValidProducts();\n\n return (\n
\n \n {({\n checkoutState,\n details,\n setDetails,\n paymentState,\n paymentDispatch,\n hasOnlyCouponItems,\n isCouponItemExist,\n handleModalClose,\n handlePaymentInfoComplete,\n redirectToCart,\n placeOrderHandler,\n }) => (\n \n { paymentState.popup && checkoutState.paymentStatus === 'fail' && (\n \n )}\n {\n setDetails(false);\n paymentDispatch({ type: 'UNSET_PAYMENT_STEP' });\n paymentDispatch({ type: 'UNSET_REVIEW_STEP' });\n } }\n onVerified={ () => setDetails(true) }\n />\n {\n paymentDispatch({ type: 'SET_PAYMENT_STEP' });\n paymentDispatch({ type: 'UNSET_REVIEW_STEP' });\n } }\n onPaymentInfoComplete={ handlePaymentInfoComplete }\n />\n {/* eslint-disable-next-line jsx-a11y/anchor-has-content */}\n \n redirectToCart() }\n onPlaceOrder={ placeOrderHandler }\n />\n \n {hasValidProducts && (\n \n )}\n \n )}\n \n
\n );\n};\n","import { useTranslation } from '@lce/i18n';\nimport {\n Box, Card, Divider, Flex, Text, Link,\n} from '@lce/slice_v2';\nimport React from 'react';\nimport { format } from 'date-fns';\nimport numeral from 'numeral';\n\nimport { OrderHistoryItem } from 'features/orders';\n\nexport interface IOrderHistoryListItemProps {\n order: OrderHistoryItem;\n}\n\nconst renderOrderStat = (title, value) => (\n \n \n {title}\n \n \n {value}\n \n \n);\n\nconst OrderHistoryListItem: React.FC = ({ order }) => {\n const [ t ] = useTranslation();\n\n return (\n <>\n \n {`${ order.GroupName } - ${ order.SellerName }`}\n \n \n \n {renderOrderStat('Order Id', order.OrderId)}\n {renderOrderStat('Date of Purchase', format(new Date(order.OrderDate), 'MM/dd/yyyy'))}\n {renderOrderStat('Order Total', numeral(order.OrderTotal).format(t('currency.format')))}\n \n \n \n \n FedEx Tracking ID\n { order.TrackingNumber\n ? (\n \n {order.TrackingNumber || 'Not yet available'}\n \n )\n : Not Yet Available }\n \n {renderOrderStat('Order Status', order.OrderStatus)}\n {renderOrderStat('Payment Status', order.PaymentStatus)}\n \n \n \n );\n};\n\nexport default OrderHistoryListItem;\n","import React from 'react';\nimport {\n Box, Card, Divider, Flex, Skeleton,\n} from '@lce/slice_v2';\n\nconst OrderHistoryListItemSkeleton = () => (\n <>\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n);\n\nexport default OrderHistoryListItemSkeleton;\n","import { Text, Box } from '@lce/slice_v2';\nimport React from 'react';\n\nimport { OrderHistoryListItem, OrderHistoryListItemSkeleton } from '../OrderHistoryListItem';\n\nimport { useOrderHistory } from 'features/orders';\n\nconst OrderHistoryList: React.FC = () => {\n const { data: orders, isError, isLoading } = useOrderHistory();\n\n if (isError) {\n return (\n Something went wrong when retrieving your orders. Please try again later or call customer support.\n );\n }\n\n return (\n \n { !isLoading\n ? orders?.map(order => )\n : }\n\n { orders && orders.length === 0 && (\n You have placed no orders.\n )}\n \n );\n};\n\nexport default OrderHistoryList;\n","import * as React from 'react';\nimport {\n Modal, IModalProps, Box, Flex, IconButton,\n} from '@lce/slice_v2';\nimport { X } from 'react-feather';\n\nconst CreateAccountModal: React.FC = props => (\n \n \n \n \n \n \n \n \n {props.children}\n \n \n \n);\n\nexport default CreateAccountModal;\n","import React from 'react';\nimport {\n Flex, Box, Image, Card, Text, Button,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport { useHistory } from 'react-router-dom';\n\nimport SuperFan from 'assets/icons/super-fan.svg';\nimport DefaultSellerAvatar from 'assets/images/default-seller-avatar.png';\nimport { CopyShare, MiniStats } from 'ui/fundraiser';\nimport { Seller, useSupportFundraiser } from 'features/fundraiser';\nimport { useFetchProductsPageRoute } from 'features/products';\nimport { CreateAccountModal } from 'ui/checkout/Login/CreateAccountModal';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\n\nexport interface IOrderConfirmationCardProps {\n orderSeller: Seller;\n isOpen: boolean;\n isGuest: boolean;\n onClose: () => void;\n testId?: string;\n}\n\n// eslint-disable-next-line max-lines-per-function\nexport const OrderConfirmationCard: React.FC = ({\n orderSeller, testId = 'order-confirmation-page', isOpen, onClose, isGuest, children,\n}) => {\n const [ t ] = useTranslation();\n const history = useHistory();\n const { startShopping } = useSupportFundraiser();\n const productPageRoute = useFetchProductsPageRoute();\n const { fundraiserType } = useFundraiserState();\n\n const onContinueShoppingHandler = () => {\n startShopping();\n history.push(productPageRoute);\n };\n\n return (\n \n \n \n {t('orderConfirmation.Header', { context: fundraiserType })}\n \n \n {t('orderConfirmation.Subheader', {\n sellerName: `${ orderSeller.FirstName } ${ orderSeller.LastInitial }`,\n fundraiserName: orderSeller.FundraiserName,\n })}\n \n \n {t('orderConfirmation.MoreInfo', { context: fundraiserType })}\n \n {t('orderConfirmation.OrderNumber', { context: fundraiserType, orderId: orderSeller.OrderId })}\n \n \n \n \n \n { `${ orderSeller.FirstName } ${ orderSeller.LastInitial }`}\n \n \n \n \n \n \n {t('orderConfirmation.ContinueShopping')}\n \n { isGuest && (\n \n {t('common.CreateAccount')}\n \n )}\n \n \n {children}\n \n \n );\n};\n","import * as Yup from 'yup';\nimport { useTranslation } from '@lce/i18n';\nimport { useHistory } from 'react-router-dom';\nimport React, { useEffect, useState } from 'react';\nimport {\n Form,\n Flex,\n Box,\n Button,\n Heading,\n Spinner,\n Text,\n} from '@lce/slice_v2';\nimport { toast } from 'react-toastify';\n\nimport { RouterLink, GenericToast } from 'ui/common';\nimport { Address, useQueryParam } from 'features/common';\nimport {\n phonePattern, PhoneInput,\n useFirstNameInput,\n} from 'ui/components';\nimport { CreateAccountRequest, useCreateAccount, useFetchFundraiserInvite } from 'features/account';\n\nexport interface ICreateMealDealAccountFormProps {\n guestId?: string;\n address?: Address;\n isConfirm: boolean;\n onSuccess?: () => void;\n onBackCallback?: () => void;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst CreateMealDealAccountForm: React.FC = ({\n guestId, address, isConfirm, onSuccess, onBackCallback,\n}) => {\n const [ t ] = useTranslation();\n const history = useHistory();\n const [ fundraiserGuid ] = useQueryParam('inviteId');\n const [ , setInviteUserRegistered ] = useState(false);\n\n const {\n mutateAsync: submitAccount, error, isLoading, isError,\n } = useCreateAccount();\n const { data: fetchFundraiserInvite } = useFetchFundraiserInvite(fundraiserGuid);\n\n const mealDealSignInUrl = '/start-a-fundraiser/meal-deal/signin';\n\n useEffect(() => {\n if (fetchFundraiserInvite?.IsAlreadyRegistered) {\n setInviteUserRegistered(true);\n history.push(mealDealSignInUrl);\n }\n }, [ fetchFundraiserInvite, history ]);\n\n const { FirstNameInput, firstNameInputSchema } = useFirstNameInput({\n name: 'firstName',\n label: 'First Name ', //Leave space after Name\n });\n\n const validationSchema = Yup.object().shape({\n ...firstNameInputSchema,\n lastName: Yup.string().required(t('createAccount.LastNameRequired')),\n email: Yup.string()\n .email(t('createAccount.EmailValid'))\n .required(t('createAccount.EmailRequired')),\n password: Yup.string()\n .required(t('createAccount.PasswordRequired'))\n .matches(/^(?=\\D*\\d)[^ ]{6,}$/, t('createAccount.PasswordMin'))\n .min(6, t('createAccount.PasswordMin')),\n phone: Yup.string()\n .required(`${ t('createAccount.PhoneRequired') }`)\n .matches(phonePattern,\n t('createAccount.PhoneNumberValid'))\n .min(10, t('fundraiser.PhoneNumberMinLength'))\n .max(17, t('fundraiser.PhoneNumberLength')),\n });\n\n const handleOnSubmit = async(e) => {\n const formData: CreateAccountRequest = {\n firstName: e.firstName,\n lastName: e.lastName,\n phone: e.phone,\n email: e.email,\n password: e.password,\n confirmTerms: e.confirmTerms,\n securityQuestion: e.securityQuestion,\n securityQuestionAnswer: e.securityQuestionAnswer,\n optInMarketing: e.optInMarketing,\n guestId: guestId,\n };\n\n try {\n const data = await submitAccount(formData);\n\n if (data) {\n if (onSuccess) {\n onSuccess();\n } else {\n history.push(mealDealSignInUrl);\n }\n }\n } catch (error) {\n console.error(error);\n }\n };\n\n useEffect(() => {\n if (isError && error) {\n toast();\n if (error.ErrorCode === 'ERR-PK-UR-02') {\n history.push(mealDealSignInUrl);\n }\n }\n }, [ isError, error, history ]);\n\n return (\n \n \n {t('createAccount.MealDealTitle')}\n \n\n { !isConfirm\n ? (\n {\n handleOnSubmit(data);\n } }\n reValidateMode=\"onSubmit\"\n summary={ false }\n validationSchema={ validationSchema }\n >\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n\n \n \n\n \n \n \n\n \n \n \n\n { isError && error ? (\n \n { error.Message }\n \n ) : null }\n\n \n { onBackCallback ? (\n \n {t('createAccount.CancelButton')}\n \n ) : null}\n\n \n \n { isLoading ? (\n \n ) : t('common.CreateAccount') }\n \n\n \n {t('createAccount.createAccountPolicies.lineOne')}\n {' '}\n\n \n {t('createAccount.createAccountPolicies.termsOfUse')}\n \n\n {' '}\n {t('createAccount.createAccountPolicies.lineTwo')}\n\n {' '}\n\n \n {t('createAccount.createAccountPolicies.privacyPolicy')}\n \n \n \n \n \n ) :
}\n\n { isConfirm\n ? (\n
\n

\n {t('createAccount.AccountCreatedConfirmation')}\n

\n\n Login\n
\n )\n :
}\n \n );\n};\n\nexport default CreateMealDealAccountForm;\n","import React, { useState } from 'react';\nimport { useLocation, useParams } from 'react-router-dom';\nimport { toast } from 'react-toastify';\nimport {\n Text, Container, Spinner, Heading,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { GenericToast } from 'ui/common';\nimport { Address } from 'features/common';\nimport { useFetchOrderSeller } from 'features/checkout';\nimport { OrderConfirmationCard } from 'ui/order';\nimport { CreateMealDealAccountForm } from 'ui/account/MealDeal/CreateAccount';\n\nexport interface IOrderConfirmationLocationProps {\n isGuest: boolean;\n guestId: string;\n guestAddress: Address;\n}\n\nexport interface IMealDealOrderConfirmationPage {\n isCreateAccountOpenDefault?: boolean;\n isAccountCreatedDefault?: boolean;\n}\n\nexport interface IMealDealOrderConfirmationPageParams {\n orderGuid: string;\n}\n\n// eslint-disable-next-line max-lines-per-function\nexport const MealDealOrderConfirmationPage: React.FC = ({\n isCreateAccountOpenDefault = false, isAccountCreatedDefault = false,\n}) => {\n const [ t ] = useTranslation();\n const location = useLocation();\n const { orderGuid }: IMealDealOrderConfirmationPageParams = useParams();\n const { data: orderSeller, isLoading, error } = useFetchOrderSeller(orderGuid);\n const [ isCreateAccountOpen, setIsCreateAccountOpen ] = useState(isCreateAccountOpenDefault);\n const [ accountCreated, setAccountCreated ] = useState(isAccountCreatedDefault);\n\n const onClose = () => {\n setIsCreateAccountOpen(!isCreateAccountOpen);\n };\n\n const onCreateAccountSuccess = () => {\n setAccountCreated(true);\n onClose();\n toast();\n };\n\n // loading state\n if (isLoading && !error) {\n return (\n \n \n \n );\n }\n\n if (error) {\n return (\n \n Uh oh\n \n {t('orderConfirmation.error')}\n \n \n );\n }\n\n if (!orderSeller) {\n return null;\n }\n\n return (\n \n \n \n );\n};\n","import React from 'react';\nimport { RouteComponentProps, Redirect } from 'react-router-dom';\nimport {\n Container, Heading, Spinner, Text,\n} from '@lce/slice_v2';\n\nimport { ProductDetail } from 'ui/products';\nimport { FundraiserTracker } from 'ui/fundraiser';\nimport { useCartState } from 'features/cart';\nimport { useFetchProduct } from 'features/products';\n\ninterface MatchParams {\n sku: string;\n supportGuid: string;\n}\n\nexport type IMealDealProductDetailPageProps = RouteComponentProps\n\nconst MealDealProductDetailPage: React.FC = ({ match }) => {\n const cartState = useCartState();\n const { data: product, isLoading, error } = useFetchProduct(match.params.sku);\n\n // error status - 404\n if (error && error.Status === 404) {\n return ;\n }\n\n // loading state\n if (isLoading && !error) {\n return (\n \n \n \n );\n }\n\n if (error || !product) {\n return (\n \n Uh oh\n There was an issue getting product information\n \n );\n }\n\n return (\n
\n \n \n
\n );\n};\n\nexport default MealDealProductDetailPage;\n","import * as React from 'react';\nimport { Helmet } from 'react-helmet';\n\nexport type Mode = | 'preview' | 'hidden' | 'active';\n\nexport interface ISeoProps {\n linkTitle?: string;\n pageTitle?: string;\n description?: string;\n type?: string;\n image?: string;\n imageAlt?: string;\n locale?: string;\n url?: string;\n noTitle?: boolean;\n}\n\nexport const seoDefaultValues: ISeoProps = {\n linkTitle: 'Little Caesars Fundraising | Click to Raise Money for a Cause',\n pageTitle: 'Little Caesars Fundraising | Click to Raise Money for a Cause',\n description: 'Easy, delicious, and profitable – our products are a hit with groups of all ages!',\n type: 'website',\n image: process.env.REACT_APP_OG_IMAGE,\n imageAlt: 'Little Caesars Fundraising | Click to Raise Money for a Cause',\n locale: 'en_US',\n url: '',\n noTitle: false,\n};\n\nconst Seo: React.FC = (props) => {\n const {\n pageTitle = seoDefaultValues.pageTitle,\n linkTitle = seoDefaultValues.linkTitle,\n description = seoDefaultValues.description,\n type = seoDefaultValues.type,\n image = seoDefaultValues.image,\n imageAlt = linkTitle,\n locale = seoDefaultValues.locale,\n url = seoDefaultValues.url,\n noTitle = seoDefaultValues.noTitle,\n } = props;\n\n return (\n \n {!noTitle && (\n \n {pageTitle}\n \n )}\n \n \n \n \n \n \n \n \n {url && }\n {url && }\n\n \n \n \n \n \n \n );\n};\n\nexport default Seo;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport React, { useEffect } from 'react';\nimport { Route } from 'react-router-dom';\n\nimport { MainLayout } from 'ui/common';\nimport { ISeoProps, Seo } from 'ui/common/Seo';\n\ntype RouteWrapperProps = React.PropsWithChildren<{\n component: React.ComponentType;\n routeComponent?: React.ComponentType;\n layout?: React.ComponentType;\n seo?: ISeoProps;\n history: any;\n}> & Omit, 'component'>;\n\nexport function RouteWrapper({\n component: Component,\n routeComponent: RouteComponent = Route,\n layout: Layout = MainLayout,\n seo,\n history,\n ...rest\n}: RouteWrapperProps) {\n useEffect(() => {\n const unlisten = history.listen(() => {\n window.scrollTo(0, 0);\n });\n return () => unlisten();\n }, [ history ]);\n\n return (\n (\n <>\n \n \n \n \n \n ) }\n />\n );\n}\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport React from 'react';\n\nimport {\n PrivateRoute,\n} from '../../../ui/common';\n\nimport { Seo, ISeoProps } from 'ui/common/Seo';\n\ntype PrivateRouterWrapperProps = React.PropsWithChildren<{\n component: React.ComponentType;\n layout: React.ComponentType;\n roles: any;\n seo?: ISeoProps;\n redirectPath?: string;\n}> & Omit, 'component'>;\n\nexport const PrivateRouteWrapper = ({\n component: Component,\n layout: Layout,\n roles: Roles,\n seo,\n redirectPath = '/',\n ...rest\n}: PrivateRouterWrapperProps) => (\n <>\n \n \n \n \n \n);\n","import React from 'react';\nimport { SecureRoute } from '@okta/okta-react';\n\nexport const AuthenticatedRoute = ({\n component: Component,\n layout: Layout,\n ...rest\n}) => (\n (\n \n \n \n ) }\n />\n);\n","import * as React from 'react';\nimport {\n Box,\n Text,\n Container,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nconst FaqFooter: React.FC = () => {\n const [ t ] = useTranslation();\n\n return (\n \n \n \n {t('couponCodeFaqPage.footerLine1')}\n \n \n {t('couponCodeFaqPage.footerLine2')}\n \n \n \n );\n};\n\nexport default FaqFooter;\n","/* eslint-disable max-lines-per-function */\nimport * as React from 'react';\nimport {\n Box, Text, Image, Button,\n} from '@lce/slice_v2';\n\nimport Plus from '../assets/plus.png';\nimport Minus from '../assets/minus.png';\n\nexport interface IQAndA {\n question: string;\n answer: string;\n}\n\nconst QAndA: React.FC = ({ question, answer }) => {\n const [ showAnswer, setShowAnswer ] = React.useState(false);\n\n const handleClick = () => {\n setShowAnswer(!showAnswer);\n };\n\n return (\n <>\n \n \n {!showAnswer && (\n \n )}\n {showAnswer && (\n \n )}\n \n \n \n \n { question }\n \n \n \n \n {showAnswer && (\n \n \n { answer }\n \n \n )}\n \n );\n};\n\nexport default QAndA;\n","/* eslint-disable max-len */\nimport * as React from 'react';\nimport {\n Box,\n Text,\n} from '@lce/slice_v2';\nimport { map as _map } from 'lodash';\n\nimport { QAndA } from '../QAndA';\nimport { IQAndA } from '../QAndA/QAndA';\n\nexport interface ICategory {\n faqCategoryTitle: string;\n qAndACollection: IQAndA[];\n}\n\nconst Category: React.FC = ({ faqCategoryTitle, qAndACollection }) => (\n \n \n { faqCategoryTitle }\n \n {_map(qAndACollection, qAndA => (\n \n ))}\n \n);\n\nexport default Category;\n","/* eslint-disable max-len */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport * as React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { Container, Text } from '@lce/slice_v2';\nimport { map as _map } from 'lodash';\n\nimport { FaqFooter } from 'ui/faq/FaqFooter';\nimport { Category } from 'ui/faq/Category';\n\nconst CouponCodeFaqs: React.FC = () => {\n const [ t ] = useTranslation();\n const qAndAs: any = t('couponCodeFaqs', { returnObjects: true });\n\n return (\n <>\n \n \n {t('couponCodeFaqPage.pageTitle')}\n \n {_map(qAndAs, category => _map(category, cat => (\n \n )))}\n \n \n \n );\n};\n\nexport default CouponCodeFaqs;\n","import React, { useEffect, useState } from 'react';\nimport {\n Flex, Form, Box, Button, Text, Heading, Option,\n} from '@lce/slice_v2';\nimport _isEmpty from 'lodash/isEmpty';\nimport { useTranslation } from '@lce/i18n';\n\nimport { useFetchStates, useLocalStorage } from 'features/common';\nimport HowDidYouHearAboutUsOptions from 'ui/common/HowDidYouHearAboutUsOptions';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\nimport { FundraiserType } from 'features/fundraiser';\nimport { FirstNameInput, PhoneInput } from 'ui/components/forms';\n\n// eslint-disable-next-line max-lines-per-function\nconst RequestInfoData: React.FC<{}> = () => {\n const [ t ] = useTranslation();\n const { fundraiserType } = useFundraiserState();\n const redirectUrl =\n `${ window.location.origin }${ t('routes.requestInfoConfirmationPage', { context: fundraiserType }) }`;\n const SALESFORCE_URL = process.env.REACT_APP_SALESFORCE_WEB_TO_LEAD_URL;\n const SALESFORCE_OID = process.env.REACT_APP_SALESFORCE_WEB_TO_LEAD_OID;\n const [ franchiseeId ] = useLocalStorage('franchiseeId');\n const [ referralSource ] = useLocalStorage('referralSource');\n const [ country, setCountry ] = useState(1);\n const [ showReferralSource, setShowReferralSource ] = useState(true);\n const referralSourceDefaultValueInitial = franchiseeId ? t('HowDidYouHearAboutUsOptions.LCEStore') : '';\n const [ referralSourceDefaultValue, setReferralSourceDefaultValue ] = useState(referralSourceDefaultValueInitial);\n\n const { data: states } = useFetchStates(country);\n\n useEffect(() => {\n if (referralSource || franchiseeId) {\n setReferralSourceDefaultValue(referralSource);\n setShowReferralSource(false);\n } else {\n setShowReferralSource(true);\n }\n }, [ referralSource, franchiseeId ]);\n\n const hasReferral = !_isEmpty(referralSource);\n const hasFranchiseeId = !_isEmpty(franchiseeId);\n const referralText = fundraiserType === FundraiserType.MealDeal ? 'Meal Deal RFI' : 'Digital RFI';\n const leadSource = hasReferral || hasFranchiseeId ? referralSource || 'Little Caesars Store' : referralText;\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const validateZip = (event: any) => {\n const usZipRegEx = (/(^\\d{5}$)|(^\\d{5}-\\d{4}$)/);\n const caPostalCodeRegEx = (/^[ABCEGHJ-NPRSTVXY]\\d[ABCEGHJ-NPRSTV-Z][ -]?\\d[ABCEGHJ-NPRSTV-Z]\\d$/i);\n const isUSZip = usZipRegEx.test(event.target.value);\n const isCAPostal = caPostalCodeRegEx.test(event.target.value);\n if (isUSZip || isCAPostal) {\n event.target.setCustomValidity('');\n } else {\n event.target.setCustomValidity('Zip code entered must be valid.');\n }\n };\n\n const countryMapping = {\n 'United States': 1,\n Canada: 2,\n };\n\n return (\n \n \n {t('requestInformation.Heading')}\n \n \n \n {t('requestInformation.FormDescription')}\n \n \n {t('requestInformation.RequiredFields')}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n {showReferralSource && (\n \n \n \n \n \n )}\n {hasFranchiseeId && (\n \n )}\n \n \n {/* TODO: Implement secondary address on SF side */}\n {/* */}\n \n \n \n \n \n {states && states.map(state => (\n \n {state.Abbreviation}\n \n ))}\n \n\n validateZip(e) }\n required={ true }\n sx={ { flex: '1', ml: [ '0px', '16px' ] } }\n />\n \n \n setCountry(countryMapping[e.target.value]) }\n required={ true }\n sx={ { flex: '1' } }\n >\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\nexport default RequestInfoData;\n","import { RouteProps } from 'react-router-dom';\nimport React from 'react';\n\nimport RequestInfoData from 'ui/RequestInfo/RequestInfo';\n\nconst RequestInfo: React.FC = () => (\n \n);\n\nexport default RequestInfo;\n","import { Box, Heading, Text } from '@lce/slice_v2';\nimport React from 'react';\n\nconst RequestInfoThankYouData: React.FC<{}> = () => (\n \n \n LOOKING FOR MORE INFO?\n \n \n \n Thank you for your request. Your information has been sent.\n One of our friendly Account Representatives will contact you shortly.\n \n \n \n);\n\nexport default RequestInfoThankYouData;\n","import { RouteProps } from 'react-router-dom';\nimport React from 'react';\n\nimport RequestInfoThankYouData from 'ui/RequestInfoThankYou/RequestInfoThankYou';\n\nconst RequestInfoThankYou: React.FC = () => (\n \n);\n\nexport default RequestInfoThankYou;\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport {\n Redirect, Switch, useHistory, useRouteMatch,\n} from 'react-router-dom';\n\nimport { MealDealProductsPage } from './ProductsPage';\nimport { MealDealCartPage } from './CartPage';\nimport { MealDealCheckoutPage } from './CheckoutPage';\nimport { MealDealOrderConfirmationPage } from './OrderConfirmationPage';\nimport { MealDealProductDetailPage } from './ProductDetailPage';\n\nimport { RouteWrapper } from 'ui/routing';\nimport { CouponCodeFaqs } from 'pages/coupon-code-faqs';\nimport RequestInfo from 'pages/requestInfo';\nimport RequestInfoThankYou from 'pages/requestInfoThankYou';\n\nexport const MealDealBuyerRoutes: React.FC = () => {\n const history = useHistory();\n const { url } = useRouteMatch();\n\n //url = fundraiser/meal-deal/\n return (\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n );\n};\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport {\n Image,\n Flex,\n Box,\n Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport AtSign from './at-sign 1.svg';\nimport PhoneIcon from './phone 1.svg';\nimport FaxIcon from './printer 1.svg';\nimport MailIcon from './mail 1.svg';\n\nconst ContactInfoList: React.FC = () => {\n const [ t ] = useTranslation();\n\n return (\n \n \n {t('contactUs.GetInTouch')}\n \n \n \"LC\n \n \n {t('contactUs.Email')}\n \n \n fundraising@littlecaesars.com\n \n \n \n \n \"LC\n \n \n {t('contactUs.Phone')}\n \n \n 888-4-LC-KITS (888-452-5487)\n \n \n Monday-Friday 8:30am to 6:00pm EST\n \n \n \n \n \"LC\n \n \n {t('contactUs.Fax')}\n \n \n (844) 308-4008\n \n \n \n \n \"LC\n \n \n {t('contactUs.Mail')}\n \n \n Little Caesars Fundraising\n \n \n 2211 Woodward Ave.\n \n \n Detroit, MI 48201-3400\n \n \n \n \n );\n};\n\nexport default ContactInfoList;\n","import React from 'react';\nimport * as Yup from 'yup';\nimport {\n Form,\n Flex,\n Box,\n Button,\n Text,\n Card,\n Spinner,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport { useHistory } from 'react-router-dom';\n\nimport { useContactUs } from 'features/contact';\nimport { phonePattern, PhoneInput } from 'ui/components/forms/phone-input/phone-input';\nexport interface IContactUsForm {\n isConfirm: boolean;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst ContactUsForm: React.FC = ({ isConfirm = false }) => {\n const [ t ] = useTranslation();\n const { mutate: contact, isLoading } = useContactUs();\n const history = useHistory();\n const validationSchema = Yup.object().shape({\n firstName: Yup.string().required(t('contactUs.FirstNameRequired')),\n lastName: Yup.string().required(t('contactUs.LastNameRequired')),\n Organization: Yup.string(),\n phoneNumber: Yup.string()\n .min(10, t('fundraiser.PhoneNumberMinLength'))\n .max(17, t('fundraiser.PhoneNumberLength'))\n // eslint-disable-next-line max-len\n .matches(phonePattern, { excludeEmptyString: false, message: t('fundraiser.PhoneNumberValid') })\n .notRequired()\n .nullable(),\n email: Yup.string()\n .email(t('contactUs.EmailValid'))\n .required(t('contactUs.EmailRequired')),\n comments: Yup.string(),\n });\n\n const handleOnSubmit = async(e) => {\n await contact(e);\n history.push('/contact-us/confirm');\n };\n\n return (\n \n \n {t('contactUs.SendUsAMessage')}\n \n\n \n { isConfirm\n ? (\n \n {t('contactUs.SubmitMessage')}\n\n {' '}\n \n )\n : (\n {\n handleOnSubmit(data);\n } }\n summary={ false }\n validationSchema={ validationSchema }\n >\n \n {t('contactUs.HaveAQuestion')}\n \n\n \n *\n {' '}\n\n {t('contactUs.RequiredFields')}\n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n\n \n \n { isLoading ? (\n \n ) : t('contactUs.SendMessage') }\n \n \n \n\n )}\n \n \n );\n};\n\nexport default ContactUsForm;\n","import React from 'react';\nimport { Container, Flex } from '@lce/slice_v2';\nimport {\n Route, RouteProps, Switch, useRouteMatch,\n} from 'react-router-dom';\n\nimport { ContactInfoList, ContactUsForm } from 'ui/contactUs';\n\nconst ContactUs: React.FC = () => {\n const { path } = useRouteMatch();\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default ContactUs;\n","import React from 'react';\nimport { Text } from '@lce/slice_v2';\n\nconst NotFound = () => (\n
\n 404\n The page you are looking for could not be found\n
\n);\n\nexport default NotFound;\n","/* eslint-disable complexity */\n/* eslint-disable no-duplicate-case */\nimport jumpingCaesar from '../assets/jumping-caesar-rgb.png';\nimport itsComingCaesar from '../assets/itscoming.png';\nimport childImage from '../assets/childImage.png';\nimport phoneImage from '../assets/phoneImage.png';\nimport thankYouImage from '../assets/thankYouImage.png';\nimport picassoImage from '../assets/picasso.png';\nimport pizzaTimeImage from '../assets/pizzaTime.png';\nimport youBetchaImage from '../assets/youBetcha.png';\nimport countingOneCaesar from '../assets/countingOneCaesar.png';\nimport countingTwoCaesar from '../assets/countingTwoCaesar.png';\nimport countingThreeCaesar from '../assets/countingThreeCaesar.png';\nimport countingFourCaesar from '../assets/countingFourCaesar.png';\nimport thumbsUpCaesar from '../assets/thumbsUpCaesar.png';\nimport loudSpeakerCaesar from '../assets/loudSpeakerCaesar.png';\nimport feelingWhen from '../assets/feelingWhen.png';\nimport smellPizza from '../assets/smellPizza.png';\nimport youBetchaRectangle from '../assets/youBetchaTwo.png';\nimport mdSupport from '../assets/md-week1.png';\nimport mdGetWhileHot from '../assets/md-week2.jpg';\nimport mdHelpRaiseDough from '../assets/md-week3.jpg';\nimport mdLastChance from '../assets/md-week4.png';\nimport mdFollowUp from '../assets/md-followup.png';\n\nexport const getTemplateImage = (type: string) => {\n switch (type) {\n case 'jumping-caesar':\n return { src: jumpingCaesar, alt: '' };\n case 'its-coming-caesar':\n return { src: itsComingCaesar, alt: 'itsComing' };\n case 'child':\n return { src: childImage, alt: 'child' };\n case 'phone':\n return { src: phoneImage, alt: 'phone' };\n case 'thanks':\n return { src: thankYouImage, alt: 'deserveHand' };\n case 'picasso':\n return { src: picassoImage, alt: 'picasso' };\n case 'pizza-time':\n return { src: pizzaTimeImage, alt: 'pizzaTime' };\n case 'you-betcha':\n return { src: youBetchaImage, alt: 'youBetcha' };\n case 'counting-one':\n return { src: countingOneCaesar, alt: '' };\n case 'counting-two':\n return { src: countingTwoCaesar, alt: '' };\n case 'counting-three':\n return { src: countingThreeCaesar, alt: '' };\n case 'counting-four':\n return { src: countingFourCaesar, alt: '' };\n case 'thumbs-up':\n return { src: thumbsUpCaesar, alt: '' };\n case 'loud-speaker':\n return { src: loudSpeakerCaesar, alt: '' };\n case 'feeling':\n return { src: feelingWhen, alt: 'feeling' };\n case 'smell':\n return { src: smellPizza, alt: 'smell' };\n case 'you-betcha-rectangle':\n return { src: youBetchaRectangle, alt: 'youBetchaRectangle' };\n case 'md-support':\n return { src: mdSupport, alt: 'mdSupport' };\n case 'md-get-while-hot':\n return { src: mdGetWhileHot, alt: 'mdGetWhileHot' };\n case 'md-help-raise-dough':\n return { src: mdHelpRaiseDough, alt: 'mdHelpRaiseDough' };\n case 'md-last-chance':\n return { src: mdLastChance, alt: 'mdLastChance' };\n case 'md-follow-up':\n return { src: mdFollowUp, alt: 'mdFollowUp' };\n default:\n return { src: '', alt: '' };\n }\n};\n","// Function to decode HTML entities from a string\n// Reference: https://developer.mozilla.org/en-US/docs/Web/API/DOMParser\nexport const htmlDecode = (input) => {\n const doc = new DOMParser().parseFromString(input, 'text/html');\n return doc.documentElement.textContent || '';\n};\n","import numeral from 'numeral';\nimport _find from 'lodash/find';\nimport { useTranslation } from '@lce/i18n';\nimport { RouteComponentProps } from 'react-router-dom';\n\nimport { formatFundraiserDateRange, htmlDecode } from '../utils';\n\nimport { useFetchProductsPageRoute } from 'features/products';\nimport {\n useUserHasElevatedRoles,\n useFetchChairpersonDashboardStatistics,\n useFetchSeller,\n useFetchSellerByFundraiserId,\n} from 'features/fundraiser';\nimport { FundraiserListItem } from 'features/fundraiser/types';\n\nexport interface MatchParams {\n fundraiserId: string;\n customerId?: string;\n}\n\ntype UseResourceHubParams = RouteComponentProps & {\n fundraiser: FundraiserListItem | undefined;\n}\n\nexport type ResourceHubResponse = {\n userIsChairperson: boolean;\n isChairpersonResourceHub: boolean;\n resourceHubData: string;\n sellerSupportGuid: string | undefined;\n}\n\nexport const useResourceHub = ({ match, fundraiser }: UseResourceHubParams): ResourceHubResponse => {\n const [ t ] = useTranslation();\n const fundraiserId = parseInt(match.params.fundraiserId) || 0;\n const customerId = match.params.customerId ? parseInt(match.params.customerId) : 0;\n const { data: sellers } = useFetchSellerByFundraiserId(fundraiser?.Id.toString() || '');\n const isChairpersonResourceHub = match.url.endsWith(`/fundraisers/${ fundraiserId }/resource-hub`) ||\n match.url.endsWith(`/fundraisers/${ fundraiserId }/resource-hub/brochure`);\n const { data: seller } = useFetchSeller(fundraiserId, customerId);\n const { data: chairpersonStats } = useFetchChairpersonDashboardStatistics(fundraiser?.Id || 0);\n\n const joinFundraiserLink =\n htmlDecode(`${ window.location.origin }/login/join-fundraiser/${ fundraiser?.FundraiserGuid }`);\n\n const totalKitsSold = _find(chairpersonStats, stat => stat.Key === 'TotalKitsSoldByFundraiser')?.Value;\n const fundraiserProfit = _find(chairpersonStats, stat => stat.Key === 'TotalProfitRaisedByFundraiser')?.Value;\n const formattedProfit = numeral(fundraiserProfit).format(t('currency.dollarGoal'));\n const sellerSupportGuid = isChairpersonResourceHub\n ? _find(sellers,\n seller => seller.CustomerId === fundraiser?.ChairpersonCustomerId)?.SupportGuid\n : seller?.SupportGuid;\n\n const productPageRoute = useFetchProductsPageRoute(sellerSupportGuid, fundraiser?.FundraiserType);\n const buyerLink = sellerSupportGuid\n ? `${ window.location.origin }${ productPageRoute }`\n : `${ window.location.origin }/login/join-fundraiser/${ fundraiser?.FundraiserGuid }`;\n\n const dateRange = formatFundraiserDateRange(fundraiser?.StartDate, fundraiser?.EndDate);\n\n const userIsChairperson = useUserHasElevatedRoles(fundraiser?.Relationships);\n\n const fundraiserDescription = fundraiser?.CustomMessage ? htmlDecode(`[${ fundraiser?.CustomMessage }]. `) : '';\n const totalRaised = fundraiser?.TotalRaised;\n const resourceHubData =\n t(`ResourceHub.${ fundraiser?.FundraiserType }`, {\n dateRange,\n fundraiserDescription,\n joinFundraiserLink,\n totalKitsSold,\n formattedProfit,\n buyerLink,\n fundraiserName: fundraiser?.Name,\n totalRaised,\n returnObjects: true,\n });\n\n return {\n userIsChairperson, isChairpersonResourceHub, resourceHubData, sellerSupportGuid,\n };\n};\n","import { format } from 'date-fns';\n\nexport const formatFundraiserDateRange = (startDate: Date | undefined, endDate: Date | undefined) => {\n if (!startDate || !endDate) {\n return '';\n }\n\n const formattedStart = format(new Date(startDate), 'MMMM do');\n const formattedEnd = format(new Date(endDate), 'MMMM do');\n\n return `${ formattedStart } - ${ formattedEnd }`;\n};\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport { Box, Flex } from '@lce/slice_v2';\nimport { Redirect, RouteComponentProps } from 'react-router-dom';\nimport { Helmet } from 'react-helmet-async';\n\nimport { MatchParams, useResourceHub } from '../hooks';\n\nimport {\n useFetchFundraiserById,\n FundraiserListItem,\n} from 'features/fundraiser';\nimport { FundraiserNavigation } from 'ui/fundraiser/FundraiserNavigation';\n\ntype ResourceHubRenderProps = {\n resourceHubData: string;\n fundraiser: FundraiserListItem | undefined;\n sellerSupportGuid: string | undefined;\n userIsChairperson: boolean;\n isChairpersonResourceHub: boolean;\n}\n\ntype ResourceHubPageProps = RouteComponentProps & {\n children: (params: ResourceHubRenderProps) => React.ReactNode;\n};\n\nexport const ResourceHubPage: React.FC = ({ match, children, ...rest }) => {\n const { data: fundraiser, isLoading: isFundraiserLoading } =\n useFetchFundraiserById(parseInt(match.params.fundraiserId));\n\n const {\n userIsChairperson, isChairpersonResourceHub, resourceHubData, sellerSupportGuid,\n } =\n useResourceHub({ match, fundraiser, ...rest });\n\n if (isFundraiserLoading) {\n return null;\n }\n\n if (!isFundraiserLoading && isChairpersonResourceHub && !userIsChairperson) {\n return ;\n }\n\n return (\n <>\n \n \n Resource Hub | Little Caesars Fundraising\n \n \n \n \n {children({\n resourceHubData, fundraiser, sellerSupportGuid, userIsChairperson, isChairpersonResourceHub,\n })}\n \n \n );\n};\n\n","import {\n Box, Card, Flex, Link, Image, Text,\n} from '@lce/slice_v2';\nimport React from 'react';\n\nimport { InlineLinkParseAndReplace } from 'ui/components';\n\nexport interface IPrintableCard {\n contentType: string;\n link: string;\n src: string;\n text: string;\n title: string;\n}\n\nexport const PrintableCard = ({\n contentType, link, src, text, title,\n}) => (\n \n \n \n \n \n \n \n \n {title}\n \n \n \n \n \n \n \n \n);\n","/* eslint-disable react/forbid-component-props */\nimport {\n Card, Flex, Text,\n} from '@lce/slice_v2';\nimport React from 'react';\nimport { useHistory } from 'react-router-dom';\n\nexport interface IResourceIconCard {\n children: React.ReactNode;\n pathName: string;\n title: string;\n mt?: string;\n}\n\nexport const ResourceIconCard: React.FC = ({\n children, pathName, title, mt,\n}) => {\n const history = useHistory();\n return (\n history.push(pathName) }\n sx={ {\n height: '150px',\n width: '150px',\n p: '16px',\n cursor: 'pointer',\n '&:hover': { outline: '1px solid #FF6000', borderColor: 'primaryOrange' },\n } }\n >\n \n {children}\n \n {title}\n \n \n \n );\n};\n","/* eslint-disable react/forbid-component-props */\n/* eslint-disable max-lines-per-function */\nimport { useTranslation } from '@lce/i18n';\nimport {\n Box, Flex, Grid, Text,\n} from '@lce/slice_v2';\nimport { map as _map } from 'lodash';\nimport React from 'react';\nimport { EmailOutlined, ImageSearch } from '@material-ui/icons';\n\nimport { PrintableCard } from '../PrintableCard';\nimport SampleBrochureImage from '../../assets/SampleBrochure.png';\nimport TallySheetImage from '../../assets/TallySheet.png';\nimport KickOffGuideImage from '../../assets/KickOffGuide.png';\nimport AnnouncementLetterImage from '../../assets/AnnouncementLetter.png';\nimport { ResourceIconCard } from '../ResourceIconCard';\n\nimport { Step } from 'ui/common';\n\nconst PrintableResourcesImagesObj = {\n 'Sample Brochure': SampleBrochureImage,\n 'Tally Sheet': TallySheetImage,\n 'Announcement Letter': AnnouncementLetterImage,\n 'Kickoff-Guide': KickOffGuideImage,\n};\n\ninterface PrintableCardTranslation {\n title: string;\n text: string;\n link: string;\n contentType: string;\n}\n\nconst BrochureResourceHub: React.FC = () => {\n const { t } = useTranslation();\n const cards: PrintableCardTranslation[] =\n t('ResourceHub.BrochureHub.PrintableResourcesCards', { returnObjects: true });\n\n return (\n \n \n {t('ResourceHub.BrochureHub.Title')}\n \n \n {t('ResourceHub.BrochureHub.SubTitle')}\n \n \n \n \n {t('ResourceHub.BrochureHub.PrintableResourcesText')}\n \n \n {_map(cards, (card, index) => (\n \n )) }\n \n \n \n\n \n \n \n {t('ResourceHub.BrochureHub.DigitalResourcesText')}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default BrochureResourceHub;\n","import React from 'react';\nimport { RouteComponentProps } from 'react-router-dom';\n\nimport { ResourceHubPage } from '../ResourceHubPage';\nimport { MatchParams } from '../hooks';\n\nimport BrochureResourceHub from './BrochureResourceHub/BrochureResourceHub';\n\ntype ResourceHubPageProps = RouteComponentProps;\nexport const BrochureResourceHubChairpersonPage: React.FC = props => (\n \n {data => data.userIsChairperson && (\n \n )}\n \n);\n\n","import {\n Box, Flex, Heading, Text,\n} from '@lce/slice_v2';\nimport React from 'react';\n\nimport lcBackground from './assets/lc-slice-bg.png';\n\nexport interface IResourceHubHeaderProps {\n heading: string;\n}\n\nconst ResourceHubHeader: React.FC = ({ heading }) => (\n \n \n \n \n \n { heading}\n \n \n \n \n \n);\n\nexport default ResourceHubHeader;\n","import React from 'react';\nimport { Text } from '@lce/slice_v2';\nimport { ThemeUIStyleObject } from 'theme-ui';\n\ninterface IBracketTextWrapperProps {\n text: string;\n sx: ThemeUIStyleObject;\n}\n\nconst BracketTextWrapper: React.FC = ({ text, sx }) => {\n const regex = /\\[[^\\]]+\\]/g;\n const parts = text.split(regex);\n const matches = text.match(regex);\n\n return (\n <>\n {parts.map((part, i) => {\n const match = matches && i < matches.length ? matches[i] : null;\n\n if (!part && !match) {\n return null;\n }\n\n return (\n // eslint-disable-next-line react/no-array-index-key\n \n {part && (\n \n {part}\n \n )}\n {match && (\n \n { match.slice(1, -1) }\n \n )}\n \n );\n })}\n \n );\n};\n\nexport default BracketTextWrapper;\n","import { Text } from '@lce/slice_v2';\nimport _map from 'lodash/map';\nimport React from 'react';\n\nimport { BracketTextWrapper } from '../BracketTextWrapper';\n\nimport { htmlDecode } from 'ui/fundraiser/ResourceHub/utils';\n\ninterface IEmailContent {\n body: string[];\n subject: string;\n}\nconst EmailTemplateContent: React.FC = ({ body, subject }) => (\n \n \n {subject}\n \n {\n _map(body, (text) => {\n const formattedText = htmlDecode(text);\n return (\n \n \n \n );\n })\n }\n \n);\n\nexport default EmailTemplateContent;\n","import { useTranslation } from '@lce/i18n';\nimport { Button, Image } from '@lce/slice_v2';\nimport React from 'react';\nimport { toast } from 'react-toastify';\nimport useClipboard from 'react-use-clipboard';\nimport { ThemeUIStyleObject } from 'theme-ui';\n\nimport copyIcon from '../../assets/copypaste.svg';\n\nimport { GenericToast } from 'ui/common';\n\ninterface ICopyTextButton {\n copyText: string;\n sx: ThemeUIStyleObject;\n buttonText: string;\n}\n\nconst CopyTextButton: React.FC = ({ copyText, sx, buttonText }) => {\n const [ t ] = useTranslation();\n const [ , setCopied ] = useClipboard(copyText);\n const onCopyClick = () => {\n setCopied();\n toast(, { position: 'top-center' });\n };\n return (\n \n );\n};\n\nexport default CopyTextButton;\n","import React from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { ChevronLeft } from 'react-feather';\nimport { Flex, Text } from '@lce/slice_v2';\nexport interface IGoBackLinkProps {\n children: React.ReactNode;\n}\n\nconst GoBackLink: React.FC = ({ children }) => {\n const history = useHistory();\n\n return (\n history.goBack() }\n sx={ { alignItems: 'center', cursor: 'pointer' } }\n >\n \n \n {children}\n \n \n );\n};\n\nexport default GoBackLink;\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport _map from 'lodash/map';\nimport _isEmpty from 'lodash/isEmpty';\nimport {\n Box, Flex, Text, Image,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { CopyTextButton } from 'ui/fundraiser/ResourceHub/components';\nimport { getTemplateImage } from 'ui/fundraiser/ResourceHub/utils/getTemplateImage';\nimport { EmailLinks } from 'ui/fundraiser/EmailLinks';\nimport { FundraiserListItem } from 'features/fundraiser';\nimport { formatEmailBodyForCopy } from 'ui/fundraiser/ResourceHub/utils/formatEmailBodyForCopy';\n\nexport interface IResourceHubEmailTemplateProps {\n emailText: IEmail;\n fundraiserRole: string;\n fundraiser: FundraiserListItem;\n}\n\nexport interface IEmailDescription {\n text: string;\n}\n\nexport interface IEmail {\n caesarMan?: string;\n title?: string;\n heading: string;\n bodyImage?: string;\n emailSubject: string;\n emailBody: string[];\n description?: IEmailDescription[];\n}\n\nexport const ResourceHubEmailTemplate: React.FC = ({\n emailText, children, fundraiserRole, fundraiser,\n}) => {\n const [ t ] = useTranslation();\n const caesarMan = getTemplateImage(emailText.caesarMan || '');\n const bodyImage = getTemplateImage(emailText.bodyImage || '');\n const emailBodyText = formatEmailBodyForCopy(emailText.emailBody);\n const copyText = `${ emailText.emailSubject }\\n\\n${ emailBodyText }`;\n const hasDescription = !_isEmpty(emailText.description);\n\n const emailTemplates: IEmail[] =\n t(`ResourceHub.${ fundraiser.FundraiserType }.${ fundraiserRole }.emailSection.emailTemplates`,\n { returnObjects: true });\n\n return (\n \n \n \n \n \n \n {emailText.title && (\n \n {emailText.title}\n \n )}\n \n {emailText.heading}\n \n \n \n {hasDescription && (\n \n {\n _map(emailText.description, description => (\n \n {description.text}\n \n ))\n }\n \n )}\n \n \n \n \n \n \n \n {children}\n \n \n \n \n \n \n \n \n \n );\n};\n","import _map from 'lodash/map';\n\nimport { htmlDecode } from './htmlDecode';\n\nexport const formatEmailBodyForCopy = (emailBody: string[]) => {\n if (!emailBody || emailBody.length === 0) {\n return '';\n }\n\n const decodedBody = htmlDecode(emailBody.join('\\n'));\n const bracketlessBody = decodedBody.replace(/\\[|\\]/g, '').split('\\n');\n\n const copyText = _map(bracketlessBody, (text, index) => {\n if (index === emailBody.length - 1) {\n return text;\n } else {\n return `${ text }\\n\\n`;\n }\n }).join('');\n\n return copyText;\n};\n","/* eslint-disable max-lines-per-function */\nimport {\n Box, Flex, Heading, Text,\n} from '@lce/slice_v2';\nimport React from 'react';\nimport { map as _map } from 'lodash';\n\nimport { EmailTemplateContent } from './components/EmailTemplateContent';\nimport { IEmail, ResourceHubEmailTemplate }\n from './components/ResourceHubEmailTemplate';\n\nimport { FundraiserListItem } from 'features/fundraiser';\n\nexport interface IResourceHubEmailSectionProps {\n emailSectionContent: {\n emailTemplates: IEmail[];\n heading: string;\n subHeading: string;\n };\n fundraiserRole: string;\n fundraiser: FundraiserListItem;\n}\n\nconst ResourceHubEmailSection: React.FC =\n ({ emailSectionContent, fundraiserRole, fundraiser }) => {\n const { emailTemplates, heading, subHeading } = emailSectionContent;\n return (\n \n \n \n {heading}\n \n \n {subHeading}\n \n \n {_map(emailTemplates, (emailText: IEmail, index) => (\n \n \n \n ))}\n \n );\n };\n\nexport default ResourceHubEmailSection;\n","/* eslint-disable max-lines-per-function */\nimport {\n Flex, Text, Image,\n} from '@lce/slice_v2';\nimport React from 'react';\nimport { useTranslation } from '@lce/i18n';\n\nimport { BracketTextWrapper } from '../../ResourceHubEmailSection/components/BracketTextWrapper';\nimport { CopyTextButton } from '../../components';\nimport { getTemplateImage, htmlDecode } from '../../utils';\n\nimport { SocialButtons } from 'ui/fundraiser/SocialButtons';\nimport { FundraiserListItem } from 'features/fundraiser';\nimport { useFetchProductsPageRoute } from 'features/products';\n\nexport interface IResourceHubSocialTemplateProps {\n socialInfo: ISocial;\n fundraiser: FundraiserListItem;\n sellerSupportGuid?: string;\n}\n\nexport interface ISocial {\n image?: string;\n body?: string;\n}\n\nexport const ResourceHubSocialTemplate: React.FC =\n({ socialInfo, fundraiser, sellerSupportGuid }) => {\n const [ t ] = useTranslation();\n const imageUse = getTemplateImage(socialInfo.image || '');\n const socialImage = fundraiser.FundraiserImageSource || process.env.REACT_APP_OG_IMAGE || '';\n const productPageRoute = useFetchProductsPageRoute(sellerSupportGuid, fundraiser.FundraiserType);\n const sellerLink = `${ window.location.origin }${ productPageRoute }`;\n const decodedBodyText = htmlDecode(socialInfo.body);\n const formattedCopyText = decodedBodyText.replace(/\\[|\\]/g, '');\n return (\n \n \n \n \n \n \n \n \n \n \n {t(`ResourceHub.${ fundraiser.FundraiserType }.socialMessage`)}\n \n \n \n \n \n \n );\n};\n","/* eslint-disable max-lines-per-function */\n/* eslint-disable max-len */\nimport {\n Box, Button, Flex, Heading, Text,\n} from '@lce/slice_v2';\nimport React from 'react';\nimport { map as _map } from 'lodash';\n\nimport { ResourceHubSocialTemplate, ISocial } from './ResourceHubSocialTemplate';\n\nimport { FundraiserListItem } from 'features/fundraiser';\n\nexport interface IResourceHubSocialSectionProps {\n socialSectionContent: {\n socialCards: ISocial[];\n downloadSocialPackage: string;\n heading: string;\n subHeading: string;\n };\n fundraiserRole: string;\n fundraiser: FundraiserListItem;\n sellerSupportGuid: string | undefined;\n}\n\nconst ResourceHubSocialSection: React.FC = ({\n socialSectionContent, fundraiserRole, fundraiser, sellerSupportGuid,\n}) => {\n const {\n socialCards, downloadSocialPackage, heading, subHeading,\n } = socialSectionContent;\n\n const zipLink = fundraiserRole === 'chairperson'\n ? `${ process.env.REACT_APP_BASE_BLOB_URL }/misc/Little%20Caesars%20Fundraising%20Social%20Media%20Package%20for%20Chairperson.zip`\n : `${ process.env.REACT_APP_BASE_BLOB_URL }/misc/Little%20Caesars%20Fundraising%20Social%20Media%20Package%20for%20Sellers.zip`;\n\n return (\n \n \n \n {heading}\n \n \n {subHeading}\n \n \n \n {_map(socialCards, (socialInfo: ISocial, index) => (\n \n ))}\n \n \n \n {downloadSocialPackage}\n \n \n \n );\n};\n\nexport default ResourceHubSocialSection;\n","import React from 'react';\nimport { Box } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { ResourceHubHeader } from './ResourceHubHeader';\nimport { ResourceHubEmailSection } from './ResourceHubEmailSection';\nimport { ResourceHubSocialSection } from './ResourceHubSocialSection';\nimport { GoBackLink } from './components';\n\nimport { FundraiserListItem, FundraiserType } from 'features/fundraiser';\n\nexport interface IResourceHubProps{\n fundraiserRole: string;\n data: string;\n fundraiser: FundraiserListItem | undefined;\n sellerSupportGuid: string | undefined;\n}\n\nconst ResourceHub: React.FC = ({\n fundraiserRole, data, fundraiser, sellerSupportGuid,\n}) => {\n const isBrochure = fundraiser?.FundraiserType === FundraiserType.Brochure;\n const [ t ] = useTranslation();\n if (!fundraiser || !data) {\n return null;\n }\n\n return (\n \n {isBrochure && (\n \n {t('ResourceHub.BrochureHub.GoBackText')}\n \n )}\n \n \n {!isBrochure && (\n \n )}\n {isBrochure && (\n \n {t('ResourceHub.BrochureHub.GoBackText')}\n \n )}\n \n );\n};\n\nexport default ResourceHub;\n","import React from 'react';\nimport { RouteComponentProps } from 'react-router-dom';\n\nimport { ResourceHubPage } from '../ResourceHubPage';\nimport ResourceHub from '../ResourceHub';\n\ninterface MatchParams {\n fundraiserId: string;\n}\n\ntype ResourceHubPageProps = RouteComponentProps;\n\nexport const BrochureResourceHubEmailTemplatesPage: React.FC = props => (\n \n {({ resourceHubData, fundraiser, sellerSupportGuid }) => (\n \n )}\n \n);\n","/* eslint-disable max-lines-per-function */\nimport React, { useState, useEffect } from 'react';\nimport {\n Box, Heading, Text, Flex,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { FundraiserListOptions, FundraiserListTabs } from 'ui/fundraiser';\nimport { FundraiserSearchOptions, useConditionalRedirect, useFetchPaginatedFundraisers } from 'features/fundraiser';\nimport { UserInfo } from 'features/common/types/userInfo';\nimport * as FundraiserDefaults from 'constants/FundraiserDefaults';\nimport { useDebounce } from 'features/common';\nimport { FundraiserState } from 'features/fundraiser/types/fundraiser';\nimport { setFundraiserState } from 'features/fundraiser/utils/SetFundraiserState';\nimport { FundraiserPopover } from 'features/popovers/types';\nimport { getFundraiserLinkPath } from 'features/fundraiser/utils';\n\nexport type IList = {\n user: UserInfo | undefined;\n};\n\nconst List: React.FC = ({ user }) => {\n const [ debouncedKeyword, setKeyword, keyword ] = useDebounce('', 500);\n const [ t ] = useTranslation();\n\n const [ totalCount, setTotalCount ] = useState(0);\n\n const state = setFundraiserState(user?.Roles);\n\n const [ options, setOptions ] = useState({\n canSort: false, sort: 0, state: state, page: 1, pageSize: 5,\n });\n const { data: resolvedData, isLoading } = useFetchPaginatedFundraisers(options, debouncedKeyword);\n const [ popovers, setPopovers ] = useState(user?.Popovers || []);\n const [ fundraisersFetched, setFundraisersFetched ] = useState(false);\n const fundraiserLinkPath = getFundraiserLinkPath(resolvedData?.Items?.[0], user);\n\n useEffect(() => {\n if (!fundraisersFetched && !isLoading && resolvedData?.TotalCount) {\n setTotalCount(resolvedData?.TotalCount ?? 0);\n setFundraisersFetched(true);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ isLoading, resolvedData?.TotalCount ]);\n\n useConditionalRedirect(totalCount === 1, fundraiserLinkPath);\n\n // SuperAdmins and Internal Sales Agents can access Sort by, Start Date, or End Date\n useEffect(() => {\n if (user?.Roles.includes(FundraiserDefaults.SuperAdminRoleName) ||\n user?.Roles.includes(FundraiserDefaults.SalesAgentRoleName) ||\n user?.Roles.includes(FundraiserDefaults.ISCRoleName)) {\n setOptions(options => ({ ...options, canSort: true }));\n } else {\n setOptions(options => ({ ...options, canSort: false }));\n }\n }, [ user ]);\n\n const onPageSelectHandler = (page: number) => {\n setOptions({ ...options, page: page });\n window.scrollTo({ top: 0, behavior: 'smooth' });\n };\n\n const onPageSizeSelectHandler = (size: number) => {\n setOptions({ ...options, page: 1, pageSize: Number(size) });\n window.scrollTo({ top: 0, behavior: 'smooth' });\n };\n\n const onSearchChangeHandler = (value: string) => {\n setKeyword(value);\n };\n\n const onSortChangeHandler = (value: number) => {\n setOptions({ ...options, sort: value });\n };\n\n const onDateChangeHandler = (selectedStartDate?: string, selectedEndDate?: string) => {\n selectedStartDate && setOptions({ ...options, selectedStartDate });\n selectedEndDate && setOptions({ ...options, selectedEndDate });\n };\n\n const onTabSelectHandler = (tab: FundraiserState) => {\n setOptions({ ...options, state: tab, page: 1 });\n };\n\n return (\n \n \n \n \n { t('dashboard.MyFundraisers') }\n \n \n { t('dashboard.Welcome') }\n {user?.FirstName ? ' ' + user.FirstName + '!' : '!'}\n \n \n \n\n \n\n \n \n );\n};\n\nexport default List;\n","import * as FundraiserDefaults from 'constants/FundraiserDefaults';\nimport { FundraiserState } from 'features/fundraiser/types/fundraiser';\n\nexport const setFundraiserState = (roles) => {\n const superAdmin = roles.includes(FundraiserDefaults.SuperAdminRoleName);\n const seller = roles.includes(FundraiserDefaults.SellerRoleName);\n const chairperson = roles.includes(FundraiserDefaults.ChairpersonRoleName);\n const salesAgent = roles.includes(FundraiserDefaults.SalesAgentRoleName);\n\n if (superAdmin || salesAgent) {\n return FundraiserState.Active;\n } else if (seller || chairperson) {\n return FundraiserState.ActiveUpcoming;\n } else {\n return FundraiserState.Active;\n }\n};\n","/* eslint-disable max-lines-per-function */\nimport React, {\n useCallback, useEffect, useState,\n} from 'react';\nimport {\n Form, Flex, Spinner, Text, Input,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport { toast } from 'react-toastify';\nimport numeral from 'numeral';\n\nimport { Step, Mode } from 'ui/common';\nimport { useFetchFundraiserOrderSummary, useCreateFinalOrder } from 'features/fundraiser/hooks';\nimport { FundraiserListItem } from 'features/fundraiser/types';\nimport { FinalOrderFormStepState } from 'features/fundraiser/types/fundraiser';\nimport { InlineLinkParseAndReplace, SubmitButton } from 'ui/components';\nimport { useSafeDateFormat, useRefetch } from 'ui/hooks';\n\nimport './final-order-form.css';\n\nexport type FinalOrderFormProps = {\n fundraiser: FundraiserListItem;\n testId?: string;\n mode: Mode;\n onNext: () => void;\n onEdit: () => void;\n}\n\nexport const dataTestIdFinalOrderForm = 'final-order-form-component';\n\nexport type ManualOrderTotal= {\n productsTotal: Record;\n total: number;\n}\n\nexport const minimumDeliveryKit = 50;\n\nexport const FinalOrderForm: React.FC = ({\n fundraiser,\n testId = dataTestIdFinalOrderForm,\n mode,\n onNext,\n onEdit,\n}) => {\n const [ showMinOrderError, setShowMinOrderError ] = useState(false);\n const [ disableSubmit, setDisableSubmit ] = useState(false);\n const [ fundraiserMeetsMinimumKitCount, setFundraiserMeetsMinimumKitCount ] = useState(true);\n\n const [ t ] = useTranslation();\n const stepTitle = t('dashboard.finalOrderPage.form.header');\n const {\n data: orderSummary,\n isLoading,\n isError: isErrorFetchingOrderSummary,\n refetch,\n } = useFetchFundraiserOrderSummary(fundraiser.Id);\n\n useEffect(() => {\n const refetchOrderSummary = async() => {\n if (mode === FinalOrderFormStepState.Active) {\n await refetch();\n }\n };\n refetchOrderSummary();\n }, [ mode, refetch ]);\n\n const RefetchDataDisplay = useRefetch({ refetch });\n\n const [\n brochureOrderCount,\n setBrochureOrderCount,\n ] = useState({ productsTotal: {}, total: 0 });\n\n useEffect(() => {\n const initialBrochureOrderCount = orderSummary?.KitOrders?.reduce((acc, cur) => {\n const total = acc.total + cur.BrochureQuantity;\n const productsTotal = { ...acc.productsTotal, [cur.Id]: cur.BrochureQuantity };\n\n return { total, productsTotal };\n }, { productsTotal: {}, total: 0 }) ?? brochureOrderCount;\n setBrochureOrderCount(initialBrochureOrderCount);\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [ orderSummary ]);\n\n const { mutateAsync: createFinalOrderMutation } = useCreateFinalOrder();\n\n useEffect(() => {\n const totalOrderCount = brochureOrderCount.total + (orderSummary?.OnlineKitTotal || 0);\n const meetsMinimumCount = totalOrderCount >= minimumDeliveryKit;\n setFundraiserMeetsMinimumKitCount(meetsMinimumCount);\n\n if (fundraiserMeetsMinimumKitCount) {\n setDisableSubmit(false);\n }\n }, [\n brochureOrderCount,\n fundraiserMeetsMinimumKitCount,\n orderSummary,\n setDisableSubmit,\n setFundraiserMeetsMinimumKitCount,\n ]);\n\n const deliveryEndTime = useSafeDateFormat(orderSummary?.DeliveryEndTime, 'MM/dd/yyyy');\n const deliveryStartTime = useSafeDateFormat(orderSummary?.DeliveryStartTime, 'MM/dd/yyyy');\n\n const onSubmit = useCallback(async() => {\n if (!orderSummary || !fundraiserMeetsMinimumKitCount) {\n setShowMinOrderError(true);\n setDisableSubmit(true);\n return;\n }\n setDisableSubmit(false);\n setShowMinOrderError(false);\n const data = {\n fundraiserId: fundraiser.Id,\n kitOrders: orderSummary.KitOrders.map(kitOrder => ({\n ...kitOrder,\n BrochureQuantity: brochureOrderCount.productsTotal[kitOrder.Id],\n })),\n };\n\n try {\n await createFinalOrderMutation(data);\n onNext();\n } catch (error) {\n toast.error(t('dashboard.finalOrderPage.form.toast.error'));\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [\n fundraiserMeetsMinimumKitCount,\n orderSummary,\n brochureOrderCount,\n fundraiser,\n createFinalOrderMutation,\n ]);\n\n const onProductQuantityChange = useCallback((e) => {\n const { name, value } = e.target;\n const numericValue = value === '' ? '0' : value;\n brochureOrderCount.productsTotal[name] = parseInt(numericValue, 10);\n brochureOrderCount.total = Object.values(brochureOrderCount.productsTotal).reduce((acc, val) => acc + val, 0);\n setBrochureOrderCount({ ...brochureOrderCount });\n }, [ brochureOrderCount ]);\n\n if (isLoading) {\n return (\n \n \n \n );\n }\n\n if (isErrorFetchingOrderSummary || !orderSummary) {\n return (\n \n \n \n );\n }\n return (\n \n \n { t('dashboard.finalOrderPage.deliveryRange', { deliveryEndTime, deliveryStartTime }) }\n \n {mode === FinalOrderFormStepState.Active && (\n \n
\n \n \n \n \n \n \n \n \n\n \n \n \n \n { orderSummary.KitOrders.map(({\n Id, Code, Color, Price, Name, OnlineQuantity, BrochureQuantity,\n }) => (\n \n \n \n \n \n \n ))}\n \n \n \n \n \n \n \n \n
\n \n \n {t('dashboard.finalOrderPage.form.headings.product')}\n \n \n \n {t('dashboard.finalOrderPage.form.headings.onlineQuantity')}\n \n \n \n {t('dashboard.finalOrderPage.form.headings.brochureQuantity')}\n \n \n
\n
\n \n \n \n {Code}\n \n \n \n \n {t('dashboard.finalOrderPage.form.productName',\n { Name, Code, Price: numeral(Price).format(t('currency.format')) })}\n \n \n \n {OnlineQuantity}\n \n \n \n\n \n
\n
\n \n \n {t('dashboard.finalOrderPage.form.total')}\n \n \n \n {orderSummary.OnlineKitTotal}\n \n \n \n {brochureOrderCount.total}\n \n \n
\n \n \n {t('dashboard.finalOrderPage.form.submitButton')}\n \n {showMinOrderError && (\n \n \n \n )}\n \n \n \n\n
\n )}\n {mode === FinalOrderFormStepState.Preview && (\n \n )}\n
\n );\n};\n","/* eslint-disable max-lines-per-function */\nimport React, {\n useCallback, useEffect, useState,\n} from 'react';\nimport {\n Box, Button, Flex, Form, Option, Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport _map from 'lodash/map';\nimport _includes from 'lodash/includes';\nimport _filter from 'lodash/filter';\nimport { XCircle } from 'react-feather';\n\nimport { Mode, Step } from 'ui/common';\nimport {\n CouponsAppliedToFinalOrder, ExistingCoupon, useApplyCouponsToFinalOrder,\n} from 'features/fundraiser';\nimport { FinalOrderFormStepState } from 'features/fundraiser/types/fundraiser';\nimport { ApiError } from 'features/common';\n\nexport type ApplyCouponFormProps = {\n fundraiserId: number;\n existingCoupons: ExistingCoupon[];\n testId?: string;\n onEdit: () => void;\n onNext: () => void;\n mode: Mode;\n}\n\nexport const dataTestIdApplyCouponForm = 'apply-coupon-form-component';\n\nexport const ApplyCouponForm: React.FC = ({\n fundraiserId,\n existingCoupons,\n testId = dataTestIdApplyCouponForm,\n mode,\n onNext,\n onEdit,\n}) => {\n const { t } = useTranslation();\n const { mutateAsync: applyFinalOrderCouponsMutation } = useApplyCouponsToFinalOrder();\n const stepTitle = t('dashboard.finalOrderPage.coupons.header');\n\n const [ selectedCouponCode, setSelectedCouponCode ] = useState('');\n const [ appliedCouponCodes, setAppliedCouponCodes ] = useState([]);\n\n useEffect(() => {\n const appliedCouponsDefault: ExistingCoupon[] = _filter(existingCoupons, coupon => coupon.Applied);\n const appliedCouponCodesDefault: string[] = _map(appliedCouponsDefault, coupon => coupon.Code);\n setAppliedCouponCodes(appliedCouponCodesDefault);\n }, [ existingCoupons ]);\n\n const isSelectedCouponApplied = useCallback(() => _includes(appliedCouponCodes, selectedCouponCode),\n [ selectedCouponCode, appliedCouponCodes ]);\n\n const isCouponAlreadyApplied = useCallback(() => selectedCouponCode &&\n appliedCouponCodes.length > 0 && !isSelectedCouponApplied(),\n [ selectedCouponCode, appliedCouponCodes, isSelectedCouponApplied ]);\n\n const [ disableNextButton, setDisableNextButton ] = useState(false);\n const [ errorText, setErrorText ] = useState('');\n\n const handleAddCoupon = () => {\n setAppliedCouponCodes([ ...appliedCouponCodes, selectedCouponCode ]);\n setSelectedCouponCode('');\n };\n\n const handleRemoveCoupon = (coupon: string) => {\n setAppliedCouponCodes(appliedCouponCodes.filter(appliedCoupon => appliedCoupon !== coupon));\n setDisableNextButton(false);\n };\n\n const onSelectCoupon = (e: React.ChangeEvent) => {\n setSelectedCouponCode(e.target.value);\n setDisableNextButton(false);\n };\n\n const onSubmit = async() => {\n const appliedCoupons = _map(existingCoupons, (coupon) => {\n const Applied = _includes(appliedCouponCodes, coupon.Code);\n return { ...coupon, Applied };\n });\n\n const data: CouponsAppliedToFinalOrder = { fundraiserId, appliedCoupons };\n try {\n await applyFinalOrderCouponsMutation(data);\n onNext();\n } catch (error) {\n const err = error as ApiError;\n setDisableNextButton(true);\n setErrorText(err.Message);\n }\n };\n\n return (\n <>\n { mode === FinalOrderFormStepState.Active && (\n \n \n \n \n \n \n { isSelectedCouponApplied() && (\n \n {t('dashboard.finalOrderPage.coupons.selectedCouponApplied')}\n \n )}\n { isCouponAlreadyApplied() && (\n \n {t('dashboard.finalOrderPage.coupons.onlyOneCoupon')}\n \n )}\n \n \n \n {t('dashboard.finalOrderPage.coupons.couponsApplied')}\n \n {_map(appliedCouponCodes, coupon => (\n \n \n {coupon}\n \n handleRemoveCoupon(coupon) }\n sx={ { height: '24px' } }\n variant=\"plainText\"\n >\n \n \n \n ))}\n \n \n \n {t('dashboard.finalOrderPage.coupons.submitButton')}\n \n { disableNextButton && (\n \n {errorText}\n \n )}\n \n \n \n )}\n { mode === FinalOrderFormStepState.Preview && (\n \n )}\n { mode === FinalOrderFormStepState.Hidden && (\n \n )}\n \n );\n};\n","/* eslint-disable max-lines-per-function */\nimport React, { useEffect } from 'react';\nimport numeral from 'numeral';\nimport {\n Box, Button, Flex, Spinner, Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport _map from 'lodash/map';\nimport _forEach from 'lodash/forEach';\nimport { X } from 'react-feather';\n\nimport { Mode, Step } from 'ui/common';\nimport { useFetchFinalOrderSummary } from 'features/fundraiser/hooks/useFetchFinalOrderSummary';\nimport {\n PaymentSummaryKeys,\n CouponDiscountsKeys,\n FinalOrderSummaryKeys,\n} from 'features/fundraiser';\nimport { TextWithInlinePopoverButton } from 'ui/components';\nimport { FinalOrderFormStepState } from 'features/fundraiser/types/fundraiser';\nimport { useRefetch } from 'ui/hooks/use-refetch';\n\nexport type FinalOrderSummaryProps = {\n fundraiserId: number;\n onNext: () => void;\n onEdit: () => void;\n testId?: string;\n mode: Mode;\n stepNumber: number;\n}\n\ntype PaymentSummaryText = {\n text: string;\n popoverText: string;\n hasMinus: boolean;\n}\n\ntype FinalOrderSummaryText = {\n text: string;\n popoverText?: string;\n hasMinus: boolean;\n}\n\nexport const dataTestIdFinalOrderSummary = 'final-order-summary-component';\n\nexport const FinalOrderSummary: React.FC = ({\n fundraiserId,\n testId = dataTestIdFinalOrderSummary,\n onNext,\n mode,\n onEdit,\n stepNumber,\n}) => {\n const { t } = useTranslation();\n const {\n data: orderSummary, isLoading, isError: isFetchFinalOrderSummaryError, refetch,\n } = useFetchFinalOrderSummary(fundraiserId);\n\n useEffect(() => {\n const refetchOrderSummary = async() => {\n if (mode === FinalOrderFormStepState.Active) {\n await refetch();\n }\n };\n refetchOrderSummary();\n }, [ mode, refetch ]);\n\n const RefetchDataDisplay = useRefetch({ refetch });\n const stepTitle = t('dashboard.finalOrderPage.summary.header', { stepNumber });\n\n let paymentSummaryGridAreas = '\"PaymentSummary PaymentSummary PaymentSummary\"';\n _forEach(PaymentSummaryKeys, key => paymentSummaryGridAreas += ` \"${ key }Text ${ key }Minus ${ key }Value\"`);\n\n let couponDiscountsGridAreas = '\"CouponDiscounts CouponDiscounts CouponDiscounts\"';\n _forEach(CouponDiscountsKeys, key => couponDiscountsGridAreas += ` \"${ key }Text ${ key }Minus ${ key }Value\"`);\n\n let finalSummaryGridAreas = '';\n _forEach(FinalOrderSummaryKeys, key => finalSummaryGridAreas += ` \"${ key }Text ${ key }Minus ${ key }Value\"`);\n\n if (isFetchFinalOrderSummaryError && mode === FinalOrderFormStepState.Active) {\n return (\n \n \n \n );\n }\n\n return (\n <>\n { mode === FinalOrderFormStepState.Active && (\n \n {isLoading || !orderSummary ? (\n \n \n \n ) : (\n \n \n \n {t('dashboard.finalOrderPage.summary.profitSummary')}\n \n \n {_map(orderSummary.ProfitSummary, ({\n Name, KitsSold, ProfitPerKit, TotalProfit, PopoverText,\n }) => (\n <>\n {PopoverText ? (\n \n ) : (\n \n {Name}\n \n )}\n \n \n {KitsSold}\n \n \n \n {numeral(ProfitPerKit).format(t('currency.format'))}\n \n \n \n {numeral(TotalProfit).format(t('currency.format'))}\n \n \n ))}\n \n {t('dashboard.finalOrderPage.summary.total')}\n \n \n \n {orderSummary.ProfitSummaryTotal.TotalKitsSold}\n \n \n \n {numeral(orderSummary.ProfitSummaryTotal.TotalProfit).format(t('currency.format'))}\n \n \n \n \n \n {t('dashboard.finalOrderPage.summary.PaymentSummary')}\n \n\n {_map(PaymentSummaryKeys, (label) => {\n const {\n text, popoverText, hasMinus,\n }: PaymentSummaryText =\n t(`dashboard.finalOrderPage.summary.${ label }`, { returnObjects: true });\n return (\n <>\n \n {hasMinus && (\n \n { t('dashboard.finalOrderPage.summary.minus') }\n \n )}\n \n {numeral(orderSummary.PaymentSummary[label]).format(t('currency.format'))}\n \n \n );\n })}\n\n \n {t('dashboard.finalOrderPage.summary.CouponDiscounts')}\n \n\n {_map(CouponDiscountsKeys, (label) => {\n const text = t(`dashboard.finalOrderPage.summary.${ label }`);\n return (\n <>\n \n {text}\n \n \n { t('dashboard.finalOrderPage.summary.minus') }\n \n \n {numeral(orderSummary.CouponDiscounts[label]).format(t('currency.format'))}\n \n \n );\n })}\n\n {_map(FinalOrderSummaryKeys, (label) => {\n const {\n text, popoverText, hasMinus,\n }: FinalOrderSummaryText =\n t(`dashboard.finalOrderPage.summary.${ label }`, { returnObjects: true });\n return (\n <>\n {popoverText ? (\n \n ) : (\n \n { text }\n \n )}\n {hasMinus && (\n \n { t('dashboard.finalOrderPage.summary.minus') }\n \n )}\n \n {numeral(orderSummary[label]).format(t('currency.format'))}\n \n \n );\n })}\n \n \n \n )}\n \n )}\n { mode === FinalOrderFormStepState.Preview && (\n \n )}\n { mode === FinalOrderFormStepState.Hidden && (\n \n )}\n \n );\n};\n","import React, { useState } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { Form, Flex, Text } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport { toast } from 'react-toastify';\nimport _map from 'lodash/map';\nimport _isNil from 'lodash/isNil';\nimport * as Yup from 'yup';\n\nimport { Step, Mode } from 'ui/common';\nimport { PhoneInput, phonePattern } from 'ui/components/forms';\nimport { ConfirmSubmissionModal, SubmitButton } from 'ui/components';\nimport { useBooleanFeature } from 'ui/components/hooks';\nimport { useUpdateFinalOrderInformation, FinalOrderInfo } from 'features/fundraiser';\nimport { FinalOrderFormStepState } from 'features/fundraiser/types/fundraiser';\n\nimport './final-order-information.css';\n\nexport type FinalOrderInformationProps = {\n fundraiserId: number;\n testId?: string;\n onNext: () => void;\n mode: Mode;\n onEdit: () => void;\n stepNumber: number;\n}\n\nexport type ManualOrderInformationTotal= {\n productsTotal: Record;\n total: number;\n}\n\nexport const dataTestIdFinalInformationForm = 'final-order-information-component';\n\n// eslint-disable-next-line max-lines-per-function\nexport const FinalOrderInformation: React.FC = ({\n fundraiserId,\n testId = dataTestIdFinalInformationForm,\n mode,\n onNext,\n onEdit,\n stepNumber,\n}) => {\n const [ t ] = useTranslation();\n const [ showChairperson, setShowChairperson ] = useState(false);\n const [ showSubmitModal, setShowSubmitModal ] = useState(false);\n const [ formData, setFormData ] = useState(null);\n const allowEditsToFinalOrder = useBooleanFeature('fr_brochure_allow_final_order_edits').on;\n const { mutateAsync: updateFinalOrderInformation } = useUpdateFinalOrderInformation();\n const history = useHistory();\n const stepTitle = t('dashboard.finalOrderPage.finalOrderInformation.header', { stepNumber });\n\n const paymentMethodMapping = {\n 'Cashier\\'s Check': 'cashiersCheck',\n 'Money Order': 'moneyOrder',\n 'School Check': 'schoolCheck',\n };\n\n const paymentMethods = t('dashboard.finalOrderPage.finalOrderInformation.payment.options', { returnObjects: true });\n\n const onSubmit = async() => {\n if (_isNil(formData)) {\n toast.error(t('dashboard.finalOrderPage.form.toast.error'));\n setShowSubmitModal(false);\n return;\n }\n\n try {\n await updateFinalOrderInformation(formData);\n onNext();\n history.push(`/dashboard/fundraisers/final-order/confirmation/${ fundraiserId }`);\n } catch (error) {\n toast.error(t('dashboard.finalOrderPage.form.toast.error'));\n }\n };\n\n const handleOnSubmitNoEdit = (data) => {\n const formInfo: FinalOrderInfo = {\n fundraiserId,\n finalOrderInformation: {\n PaymentMethod: paymentMethodMapping[data.paymentMethod],\n IsCPForNextFundraiser: data.keepChairperson,\n },\n };\n if (data.emailAddress) {\n formInfo.finalOrderInformation.EmailAddress = data.emailAddress;\n }\n if (data.newChairpersonName) {\n formInfo.finalOrderInformation.NewChairpersonName = data.newChairpersonName;\n }\n if (data.newChairpersonPhone) {\n formInfo.finalOrderInformation.NewChairpersonPhone = data.newChairpersonPhone;\n }\n if (data.newChairpersonEmail) {\n formInfo.finalOrderInformation.NewChairpersonEmail = data.newChairpersonEmail;\n }\n\n setFormData(formInfo);\n setShowSubmitModal(true);\n };\n\n const handleOnSubmitEdit = async(data) => {\n const formInfo: FinalOrderInfo = {\n fundraiserId,\n finalOrderInformation: {\n PaymentMethod: paymentMethodMapping[data.paymentMethod],\n IsCPForNextFundraiser: data.keepChairperson,\n },\n };\n if (data.emailAddress) {\n formInfo.finalOrderInformation.EmailAddress = data.emailAddress;\n }\n if (data.newChairpersonName) {\n formInfo.finalOrderInformation.NewChairpersonName = data.newChairpersonName;\n }\n if (data.newChairpersonPhone) {\n formInfo.finalOrderInformation.NewChairpersonPhone = data.newChairpersonPhone;\n }\n if (data.newChairpersonEmail) {\n formInfo.finalOrderInformation.NewChairpersonEmail = data.newChairpersonEmail;\n }\n\n try {\n await updateFinalOrderInformation(formInfo);\n onNext();\n history.push(`/dashboard/fundraisers/final-order/confirmation/${ fundraiserId }`);\n } catch (error) {\n toast.error(t('dashboard.finalOrderPage.form.toast.error'));\n }\n };\n\n const validationSchema = Yup.object({\n emailAddress: Yup.string()\n .email(t('dashboard.finalOrderPage.finalOrderInformation.email.error')),\n paymentMethod: Yup.string()\n .required(t('dashboard.finalOrderPage.finalOrderInformation.payment.error')),\n keepChairperson: Yup.boolean()\n .required(t('dashboard.finalOrderPage.finalOrderInformation.chairperson.selectionError'))\n .oneOf([ true, false ], t('dashboard.finalOrderPage.finalOrderInformation.chairperson.selectionError')),\n newChairpersonName: Yup.string()\n .when('keepChairperson', {\n is: false,\n then: Yup.string()\n .required(t('dashboard.finalOrderPage.finalOrderInformation.chairperson.name.error'))\n .max(100, t('dashboard.finalOrderPage.finalOrderInformation.chairperson.name.error')),\n }),\n newChairpersonPhone: Yup.string()\n .when('keepChairperson', {\n is: false,\n then: Yup.string()\n .matches(phonePattern, t('dashboard.finalOrderPage.finalOrderInformation.chairperson.phone.requiredError'))\n .required(t('dashboard.finalOrderPage.finalOrderInformation.chairperson.phone.requiredError')),\n }),\n newChairpersonEmail: Yup.string()\n .when('keepChairperson', {\n is: false,\n then: Yup.string()\n .required(t('dashboard.finalOrderPage.finalOrderInformation.chairperson.email.requiredError'))\n .email(t('dashboard.finalOrderPage.finalOrderInformation.chairperson.email.validationError')),\n }),\n });\n\n return (\n <>\n { mode === FinalOrderFormStepState.Active && (\n \n handleOnSubmitEdit(data) : data => handleOnSubmitNoEdit(data) }\n validationSchema={ validationSchema }\n >\n \n \n \n {t('dashboard.finalOrderPage.finalOrderInformation.email.header')}\n \n \n \n \n \n {t('dashboard.finalOrderPage.finalOrderInformation.payment.header')}\n \n \n {t('dashboard.finalOrderPage.finalOrderInformation.payment.content.p1')}\n \n {t('dashboard.finalOrderPage.finalOrderInformation.payment.content.p2')}\n \n {t('dashboard.finalOrderPage.finalOrderInformation.payment.content.p3')}\n \n \n \n {_map(paymentMethods, option => (\n \n ))}\n \n \n \n \n \n {t('dashboard.finalOrderPage.finalOrderInformation.chairperson.content_newChairperson')}\n \n \n \n setShowChairperson(false) }\n sx={ { m: '0' } }\n value={ true }\n />\n setShowChairperson(true) }\n sx={ { m: '0' } }\n value={ false }\n />\n \n \n \n {showChairperson && (\n // eslint-disable-next-line max-len\n \n \n {t('dashboard.finalOrderPage.finalOrderInformation.chairperson.content_chairpersonInfo')}\n \n \n \n \n \n )}\n \n {t('dashboard.finalOrderPage.finalOrderInformation.submitButton')}\n \n \n \n {showSubmitModal && (\n setShowSubmitModal(false) }\n onSubmit={ onSubmit }\n submitButtonText={ t('dashboard.finalOrderPage.finalOrderInformation.modal.submitButtonText') }\n >\n {t('dashboard.finalOrderPage.finalOrderInformation.modal.content')}\n \n )}\n \n )}\n { mode === FinalOrderFormStepState.Preview && (\n \n )}\n { mode === FinalOrderFormStepState.Hidden && (\n \n )}\n \n );\n};\n","import { useQuery } from 'react-query';\n\nimport { fetchFundraiserFormData } from '../api';\nimport { Fundraiser } from '../types/fundraiser';\nimport * as QueryKeys from '../../../constants/QueryKeys';\n\nimport { ApiError } from 'features/common';\n\nexport const useFetchFundraiserFormData =\n (id: number) => useQuery(`${ QueryKeys.FundraiserFormData }-${ id }`,\n () => fetchFundraiserFormData(id), {\n retry: false, refetchOnWindowFocus: false, cacheTime: 0, enabled: id > 0,\n });\n\n","/* eslint-disable max-len */\nimport { useCallback, useRef } from 'react';\n\nimport { useIsomorphicLayoutEffect } from '../useIsomorphicLayoutEffect';\n\nfunction useEventCallback(\n fn: (...args: Args) => R,\n): (...args: Args) => R\nfunction useEventCallback(\n fn: ((...args: Args) => R) | undefined,\n): ((...args: Args) => R) | undefined\nfunction useEventCallback(fn: ((...args: Args) => R) | undefined): ((...args: Args) => R) | undefined {\n const ref = useRef(() => {\n throw new Error('Cannot call an event handler while rendering.');\n });\n\n useIsomorphicLayoutEffect(() => {\n ref.current = fn;\n }, [ fn ]);\n\n return useCallback((...args: Args) => ref.current?.(...args), [ ref ]) as (\n ...args: Args\n ) => R;\n}\n\nexport default useEventCallback;\n","/* eslint-disable max-lines-per-function */\nimport { useCallback, useEffect, useState } from 'react';\nimport type { Dispatch, SetStateAction } from 'react';\n\nimport { useEventCallback } from '../useEventCallback';\nimport { useEventListener } from '../useEventListener';\n\ndeclare global {\n // eslint-disable-next-line @typescript-eslint/consistent-type-definitions\n interface WindowEventMap {\n 'session-storage': CustomEvent;\n }\n}\n\ntype UseSessionStorageOptions = {\n serializer?: (value: T) => string;\n deserializer?: (value: string) => T;\n initializeWithValue?: boolean;\n}\n\nconst IS_SERVER = typeof window === 'undefined';\n\nfunction useSessionStorage(key: string,\n initialValue: T | (() => T),\n options: UseSessionStorageOptions = {}): [T, Dispatch>, () => void] {\n const { initializeWithValue = true } = options;\n\n const serializer = useCallback<(value: T) => string>(\n (value) => {\n if (options.serializer) {\n return options.serializer(value);\n }\n\n return JSON.stringify(value);\n },\n [ options ]);\n\n const deserializer = useCallback<(value: string) => T>(\n (value) => {\n if (options.deserializer) {\n return options.deserializer(value);\n }\n // Support 'undefined' as a value\n if (value === 'undefined') {\n return undefined as unknown as T;\n }\n\n const defaultValue =\n initialValue instanceof Function ? initialValue() : initialValue;\n\n let parsed: unknown;\n try {\n parsed = JSON.parse(value);\n } catch (error) {\n console.error('Error parsing JSON:', error);\n return defaultValue; // Return initialValue if parsing fails\n }\n\n return parsed as T;\n },\n [ options, initialValue ]);\n\n // Get from session storage then\n // parse stored json or return initialValue\n const readValue = useCallback((): T => {\n const initialValueToUse =\n initialValue instanceof Function ? initialValue() : initialValue;\n\n // Prevent build error \"window is undefined\" but keep working\n if (IS_SERVER) {\n return initialValueToUse;\n }\n\n try {\n const raw = window.sessionStorage.getItem(key);\n return raw ? deserializer(raw) : initialValueToUse;\n } catch (error) {\n console.warn(`Error reading sessionStorage key “${ key }”:`, error);\n return initialValueToUse;\n }\n }, [ initialValue, key, deserializer ]);\n\n const [ storedValue, setStoredValue ] = useState(() => {\n if (initializeWithValue) {\n return readValue();\n }\n\n return initialValue instanceof Function ? initialValue() : initialValue;\n });\n\n // Return a wrapped version of useState's setter function that ...\n // ... persists the new value to sessionStorage.\n const setValue: Dispatch> = useEventCallback((value) => {\n // Prevent build error \"window is undefined\" but keeps working\n if (IS_SERVER) {\n console.warn(`Tried setting sessionStorage key “${ key }” even though environment is not a client`);\n }\n\n try {\n // Allow value to be a function so we have the same API as useState\n const newValue = value instanceof Function ? value(readValue()) : value;\n\n // Save to session storage\n window.sessionStorage.setItem(key, serializer(newValue));\n\n // Save state\n setStoredValue(newValue);\n\n // We dispatch a custom event so every similar useSessionStorage hook is notified\n window.dispatchEvent(new StorageEvent('session-storage', { key }));\n } catch (error) {\n console.warn(`Error setting sessionStorage key “${ key }”:`, error);\n }\n });\n\n const removeValue = useEventCallback(() => {\n // Prevent build error \"window is undefined\" but keeps working\n if (IS_SERVER) {\n console.warn(`Tried removing sessionStorage key “${ key }” even though environment is not a client`);\n }\n\n const defaultValue =\n initialValue instanceof Function ? initialValue() : initialValue;\n\n // Remove the key from session storage\n window.sessionStorage.removeItem(key);\n\n // Save state with default value\n setStoredValue(defaultValue);\n\n // We dispatch a custom event so every similar useSessionStorage hook is notified\n window.dispatchEvent(new StorageEvent('session-storage', { key }));\n });\n\n useEffect(() => {\n setStoredValue(readValue());\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ key ]);\n\n const handleStorageChange = useCallback((event: StorageEvent | CustomEvent) => {\n //@ts-expect-error\n if (event as StorageEvent.key && event as StorageEvent.key !== key) {\n return;\n }\n setStoredValue(readValue());\n },\n [ key, readValue ]);\n\n // this only works for other documents, not the current one\n useEventListener('storage', handleStorageChange);\n\n // this is a custom event, triggered in writeValueToSessionStorage\n // See: useSessionStorage()\n useEventListener('session-storage', handleStorageChange);\n\n return [ storedValue, setValue, removeValue ];\n}\n\nexport default useSessionStorage;\n","/* eslint-disable max-lines-per-function */\nimport React, {\n useMemo, useState, useEffect, useCallback,\n} from 'react';\nimport {\n Flex, Grid, Heading, Image, Text, Spinner,\n} from '@lce/slice_v2';\nimport {\n match, Prompt, Redirect, useLocation,\n} from 'react-router-dom';\nimport { useTranslation } from '@lce/i18n';\n\nimport {\n ApplyCouponForm, FinalOrderForm, FinalOrderInformation, FinalOrderSummary,\n} from './components';\n\nimport anouncerCaesarMan from 'assets/images/Announcer-Caesar-Man.png';\nimport kiteCaesarMan from 'assets/images/caesar-kite.svg';\nimport { useFetchFundraiserFormData } from 'features/fundraiser/hooks/useFetchFundraiser';\nimport {\n useBeforeunload,\n useStatefulFetchFundraiserById,\n useSafeDateFormat,\n useFundraiserFinalOrderStatus,\n useRefetch,\n} from 'ui/hooks';\nimport {\n FinalOrderStatus,\n FundraiserListItem,\n Fundraiser,\n FinalOrderFormStepState,\n FinalOrderFormSteps,\n FinalOrderFormStatusFlags,\n ExistingCoupon,\n} from 'features/fundraiser/types/fundraiser';\nimport { KeyValuePairs } from 'ui/components';\nimport { FundraiserNavigation } from 'ui/fundraiser/FundraiserNavigation';\nimport { useSessionStorage } from 'features/common/hooks/useSessionStorage';\nimport * as FundraiserDefaults from 'constants/FundraiserDefaults';\nimport { useFetchExistingCoupons } from 'features/fundraiser';\nimport { useBooleanFeature } from 'ui/components/hooks';\n\ninterface MatchParams {\n fundraiserId: string;\n}\n\nexport type FinalOrderPageProps = {\n match: match;\n testId?: string;\n}\n\nexport const dataTestIdFinalOrderPage = 'final-order-page-component';\n\nexport const FinalOrderPage: React.FC = ({\n match,\n testId = dataTestIdFinalOrderPage,\n}) => {\n const fundraiserId = parseInt(match?.params?.fundraiserId);\n\n const {\n data: fundraiser,\n isLoading: isFundraiserDataLoading,\n isError: fundraiserFetchError,\n refetch: refetchFundraiser,\n } = useStatefulFetchFundraiserById(fundraiserId.toString());\n\n const RefetchDataDisplay = useRefetch({ refetch: refetchFundraiser });\n\n const {\n data: fundraiserFormData,\n isLoading: isFormDataLoading,\n } = useFetchFundraiserFormData(fundraiserId);\n\n const {\n data: existingCoupons,\n isLoading: isCouponsLoading,\n } = useFetchExistingCoupons(fundraiserId);\n\n if (isFundraiserDataLoading || isFormDataLoading || isCouponsLoading) {\n return (\n \n \n \n );\n }\n\n if (fundraiserFetchError) {\n return (\n \n \"Kite\n \n \n );\n }\n\n return (\n <>\n \n {fundraiser && (\n \n )}\n \n );\n};\n\ntype FinalOrderDetailsProps ={\n fundraiser: FundraiserListItem;\n fundraiserFormData: Fundraiser | undefined;\n existingCoupons: ExistingCoupon[];\n testId?: string;\n}\n\nexport type LocationProps = {\n finalOrderSubmitted?: boolean;\n}\n\nexport const FinalOrderDetails: React.FC = ({\n fundraiser, fundraiserFormData, testId, existingCoupons,\n}) => {\n const [ t ] = useTranslation();\n const { state } = useLocation();\n const finalOrderStatus = useFundraiserFinalOrderStatus(fundraiser);\n const allowEditsToFinalOrder = useBooleanFeature('fr_brochure_allow_final_order_edits').on;\n\n const formInProgress = finalOrderStatus <= FinalOrderStatus.FinalOrderInProgress &&\n finalOrderStatus > FinalOrderStatus.FinalOrderUpcoming;\n const formSubmitted = finalOrderStatus === FinalOrderStatus.FinalOrderSubmitted;\n const editSubmittedForm = allowEditsToFinalOrder && formSubmitted && state?.finalOrderSubmitted;\n const showSteps = formInProgress || editSubmittedForm;\n\n if (finalOrderStatus <= FinalOrderStatus.FinalOrderUpcoming) {\n return (\n \n \"Caesar\n \n {t('dashboard.finalOrderPage.pending.header')}\n \n \n {t('dashboard.finalOrderPage.pending.instructions')}\n \n \n );\n } else if (showSteps) {\n return (\n \n );\n } else {\n return ;\n }\n};\n\nexport const FinalOrderSteps: React.FC = ({\n fundraiser, fundraiserFormData, testId, existingCoupons,\n}) => {\n useBeforeunload(e => e.preventDefault());\n const [ t ] = useTranslation();\n const hasCoupons = existingCoupons.length > 0;\n const finalOrderDate = useSafeDateFormat(fundraiser.FinalOrderDetails?.FinalOrderDate);\n const [ formData, setFormData, removeFormData ] =\n useSessionStorage(FundraiserDefaults.FinalOrderSessionId, {} as FinalOrderFormStatusFlags);\n\n const [ currentStep, setCurrentStep ] = useState(FinalOrderFormSteps.Form);\n const applyCouponFormFilled = hasCoupons ? formData.applyCouponFormFilled : true;\n const allStepsCompleted =\n formData &&\n formData.finalOrderFormFilled &&\n applyCouponFormFilled &&\n formData.finalOrderSummaryFilled &&\n formData.finalOrderInformationFilled;\n\n const getStepMode = (stepName: FinalOrderFormSteps) => {\n switch (stepName) {\n case currentStep:\n return FinalOrderFormStepState.Active;\n case FinalOrderFormSteps.Form:\n return formData.finalOrderFormFilled ? FinalOrderFormStepState.Preview : FinalOrderFormStepState.Hidden;\n case FinalOrderFormSteps.Coupons:\n return formData.applyCouponFormFilled ? FinalOrderFormStepState.Preview : FinalOrderFormStepState.Hidden;\n case FinalOrderFormSteps.Summary:\n return formData.finalOrderSummaryFilled ? FinalOrderFormStepState.Preview : FinalOrderFormStepState.Hidden;\n case FinalOrderFormSteps.Information:\n return formData.finalOrderInformationFilled ? FinalOrderFormStepState.Preview : FinalOrderFormStepState.Hidden;\n default:\n return FinalOrderFormStepState.Hidden;\n }\n };\n\n const updateCurrentStep = useCallback((formData: FinalOrderFormStatusFlags) => {\n const stepsConditions = [\n { condition: !formData.finalOrderFormFilled, step: FinalOrderFormSteps.Form },\n { condition: !formData.applyCouponFormFilled && hasCoupons, step: FinalOrderFormSteps.Coupons },\n { condition: !formData.finalOrderSummaryFilled, step: FinalOrderFormSteps.Summary },\n { condition: !formData.finalOrderInformationFilled, step: FinalOrderFormSteps.Information },\n ];\n\n if (allStepsCompleted) {\n setCurrentStep(FinalOrderFormSteps.Information);\n return;\n }\n\n for (const { condition, step } of stepsConditions) {\n if (condition) {\n setCurrentStep(step);\n break;\n }\n }\n }, [ allStepsCompleted, hasCoupons ]);\n\n const shouldWarnUserOnNavigate = useMemo(() => !allStepsCompleted, [ allStepsCompleted ]);\n\n useEffect(() => {\n updateCurrentStep(formData);\n }, [ formData, updateCurrentStep ]);\n\n const goToNextStep = () => {\n const currentIndex = Object.values(FinalOrderFormSteps).indexOf(currentStep);\n const nextStep = Object.values(FinalOrderFormSteps)[(currentIndex + 1) % Object.values(FinalOrderFormSteps).length];\n setCurrentStep(nextStep as FinalOrderFormSteps);\n };\n\n const saveData = (stepFilled: FinalOrderFormSteps) => {\n setFormData({\n ...formData,\n [`${ stepFilled }Filled`]: true,\n });\n };\n\n const handleSubmitFinalOrder = async() => {\n removeFormData();\n };\n\n useEffect(() => {\n if (allStepsCompleted) {\n handleSubmitFinalOrder();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ allStepsCompleted ]);\n\n return (\n \n \n {t('dashboard.finalOrderPage.active.header')}\n \n \n \n \n \n \n {t('dashboard.finalOrderPage.active.instructions')}\n \n setCurrentStep(FinalOrderFormSteps.Form) }\n onNext={ () => {\n saveData(FinalOrderFormSteps.Form);\n goToNextStep();\n } }\n />\n {hasCoupons && (\n setCurrentStep(FinalOrderFormSteps.Coupons) }\n onNext={ () => {\n saveData(FinalOrderFormSteps.Coupons);\n goToNextStep();\n } }\n />\n )}\n setCurrentStep(FinalOrderFormSteps.Summary) }\n onNext={ () => {\n saveData(FinalOrderFormSteps.Summary);\n goToNextStep();\n } }\n stepNumber={ 2 + Number(hasCoupons) }\n />\n setCurrentStep(FinalOrderFormSteps.Information) }\n onNext={ () => {\n saveData(FinalOrderFormSteps.Information);\n } }\n stepNumber={ 3 + Number(hasCoupons) }\n />\n \n \n );\n};\n","export function parseComponentDate(str) {\n // yyyy/mm/dd\n const ymd = str.split('-');\n return new Date(ymd[0], ymd[1] - 1, ymd[2]);\n}\nexport const getDateString = (date: Date): string => {\n const year = date.getFullYear();\n\n let month = (1 + date.getMonth()).toString();\n month = month.length > 1 ? month : '0' + month;\n\n let day = date.getDate().toString();\n day = day.length > 1 ? day : '0' + day;\n\n return `${ year }-${ month }-${ day }`; // format for dates\n};\n\nexport const offsetDateDays = (date: Date, offsetDays: number) => {\n date.setDate(date.getDate() + offsetDays);\n return date;\n};\n","import { PagedList } from 'features/common';\n\nexport interface BuyerList extends PagedList {\n BuyerCount: number;\n}\n\nexport interface BuyerOrder {\n BuyerInfo: BuyerInfo;\n OrderInfo: BuyerOrderInfo;\n}\n\nexport interface BuyerInfo {\n FirstName: string;\n LastName: string;\n Email: string;\n}\n\nexport interface BuyerOrderInfo {\n Id: number;\n DateOfPurchase: Date;\n OrderItems: OrderItem[];\n}\n\nexport interface OrderItem {\n Id: number;\n Name: string;\n Quantity: number;\n}\n\nexport interface BuyerFilter {\n Filter?: string;\n SortByColumn: BuyerListSortFields;\n PageIndex: number;\n PageSize: number;\n}\n\nexport enum BuyerListSortFields {\n OrderDate = 1,\n FullName = 2,\n KitsPurchased = 3,\n}\n","import { getDateString, offsetDateDays } from '../DateExtensions';\n\nimport { IReportFilterFormData } from './ReportFilters';\n\nexport const defaultState: IReportFilterFormData = { // initial date\n reportType: 'fundraiser-summary',\n reportFormat: 'xlsx',\n reportStatuses: null,\n\n statusAll: true,\n statusActive: false,\n statusCompleted: false,\n statusCancelled: false,\n statusUpcoming: false,\n\n rangeStartDate: getDateString(offsetDateDays(new Date(), -364)),\n rangeEndDate: getDateString(new Date()),\n\n statesSelector: 'allStates',\n statesSelection: null,\n\n salesRepsSelector: 'allSalesReps',\n salesRepsSelection: null,\n\n iscsSelector: 'allISCs',\n iscsSelection: null,\n};\n","import React from 'react';\nimport {\n Form, Option,\n} from '@lce/slice_v2';\nimport { IFieldProps } from '@lce/slice_v2/Elements/Form/Field';\n\nimport { IOption } from '../IOption';\n\ninterface IDropdownSelect extends Omit {\n label? : string;\n name: string;\n id: string;\n onChange: (e: React.ChangeEvent) => void;\n options: IOption[];\n}\n\nconst DropdownSelect: React.FC = ({\n id, name, label, onChange, options,\n}) => (\n onChange(e.target.value) }\n sx={ {\n m: [ '0' ],\n p: [ '0' ],\n borderRadius: [ '5px' ],\n border: [ 'solid 1px #c4c4c4' ],\n backgroundColor: [ '#eeeeee' ],\n div: { p: [ 0 ] },\n } }\n >\n {options.map(x => (\n \n ))}\n \n);\n\nexport default DropdownSelect;\n","/* eslint-disable max-lines-per-function */\n/* eslint-disable no-extra-parens */\nimport React, { useEffect } from 'react';\nimport { Box, Flex, Form } from '@lce/slice_v2';\nimport { useFormContext } from 'react-hook-form';\nimport { map as _map } from 'lodash';\nimport { useTranslation } from '@lce/i18n';\n\nconst boxStyling = {\n m: [ '0px' ],\n display: 'flex',\n flex: [ '1 1 50%', '1 1 30%', '1 1 30%', 'auto' ],\n maxWidth: '250px',\n minWidth: 'auto',\n};\n\nconst fieldStyling = {\n whiteSpace: 'nowrap',\n display: 'flex',\n m: [ '0px 25px 25px 0px', '0px 0px 25px 0px', '0px 0px 0px 0px' ],\n};\n\nconst ReportStatus: React.FC = () => {\n const {\n formState: { isSubmitting }, setValue, watch,\n } = useFormContext();\n const [ t ] = useTranslation();\n\n const statuses = [\n {\n name: 'statusActive',\n label: t('fundraiserReportFilters.ReportStatus.Active'),\n },\n {\n name: 'statusCancelled',\n label: t('fundraiserReportFilters.ReportStatus.Cancelled'),\n },\n {\n name: 'statusUpcoming',\n label: t('fundraiserReportFilters.ReportStatus.Upcoming'),\n },\n {\n name: 'statusCompleted',\n label: t('fundraiserReportFilters.ReportStatus.Completed'),\n },\n ];\n\n const {\n statusAll, statusActive, statusCancelled, statusUpcoming, statusCompleted,\n } = watch([ ..._map(statuses, ({ name }) => name), 'statusAll' ]);\n\n useEffect(() => {\n if (statusAll && (statusActive || statusCancelled || statusUpcoming || statusCompleted)) {\n setValue('statusAll', false);\n }\n\n if ((statusActive && statusCancelled && statusUpcoming && statusCompleted) ||\n (!statusAll && !statusActive && !statusCancelled && !statusUpcoming && !statusCompleted)) {\n setValue('statusAll', true);\n setValue('statusActive', false);\n setValue('statusCancelled', false);\n setValue('statusUpcoming', false);\n setValue('statusCompleted', false);\n }\n }, [ statusAll, statusActive, statusCancelled, statusUpcoming, statusCompleted, setValue ]);\n\n return (\n \n \n {t('fundraiserReportFilters.ReportStatus.Label')}\n \n \n \n {\n setValue(e.target.name, e.target.checked);\n if (e.target.checked) {\n _map(statuses, ({ name }) => setValue(name, false));\n } else {\n setValue(statuses[0].name, !e.target.checked);\n }\n } }\n sx={ fieldStyling }\n />\n \n {_map(statuses, ({ name, label }) => (\n \n \n \n ))}\n \n \n \n );\n};\n\nexport default ReportStatus;\n\n","import React from 'react';\nimport { IFieldProps } from '@lce/slice_v2/Elements/Form/Field';\nimport { Form } from '@lce/slice_v2';\n\ninterface IDateRange extends Omit {\n name: string;\n startLabel?: string;\n endLabel?: string;\n}\n\nconst styling = {\n width: [ '100%', '100%', '49.75%', '34.25%' ],\n maxWidth: [ '350px', '100%' ],\n flex: [ '1 1 auto', '1 1 200px' ],\n};\n\nconst DateRange: React.FC = ({\n name, startLabel = 'Start Date', endLabel = 'End Date',\n}) => (\n <>\n \n \n \n);\n\nexport default DateRange;\n","/* eslint-disable linebreak-style */\nimport { Box } from '@lce/slice_v2';\nimport { ThemeUIStyleObject } from 'theme-ui';\nimport React from 'react';\n\ninterface IBorder {\n children?: React.ReactNode;\n sx?: ThemeUIStyleObject;\n}\n\nconst Border: React.FC = ({ children, sx }) => (\n \n {children}\n \n);\n\nexport default Border;\n","import React from 'react';\nimport Select from 'react-select';\nimport { useFormContext, Controller } from 'react-hook-form';\nimport { ThemeUIStyleObject } from 'theme-ui';\nimport { IFieldProps } from '@lce/slice_v2/Elements/Form/Field';\nimport { Box } from '@lce/slice_v2';\n\nimport { IOption } from '../../IOption';\n\ninterface ITypeaheadSelector extends IFieldProps {\n isMulti: boolean;\n options: IOption[];\n sx?: ThemeUIStyleObject;\n}\n\nconst TypeaheadSelect: React.FC = ({\n name, id, options, label = null, isMulti = true, sx,\n}) => {\n const { control, formState: { errors } } = useFormContext();\n\n const style = {\n dropdownIndicator: provided => ({\n ...provided,\n svg: {\n fill: '#000',\n },\n }),\n placeholder: defaultStyles => ({\n ...defaultStyles,\n color: '#000',\n }),\n };\n\n return (\n <>\n {errors[name] && (\n \n {errors[name]}\n \n )}\n null,\n } }\n control={ control }\n id={ id }\n isMulti={ isMulti }\n label={ label }\n name={ name }\n options={ options }\n styles={ style }\n sx={ sx }\n />\n \n );\n};\n\nexport default TypeaheadSelect;\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport { Box, Flex, Form } from '@lce/slice_v2';\nimport { IFieldProps } from '@lce/slice_v2/Elements/Form/Field';\nimport { useFormContext } from 'react-hook-form';\nimport { useTranslation } from '@lce/i18n';\n\nimport { IOption } from '../IOption';\n\nimport TypeaheadSelect from './TypeaheadSelect';\n\nexport interface IOptionalTypeaheadValues {\n states: string[];\n}\n\ninterface IOptionalTypeaheadSelector extends Omit {\n options: IOption[];\n value1: string;\n value2: string;\n label: string;\n type: string;\n multi?: boolean;\n nameSelector: string;\n nameSelection: string;\n}\nconst boxStyle = {\n display: 'flex',\n whiteSpace: 'nowrap',\n div: { m: 0 },\n};\n\nconst OptionalTypeaheadSelect: React.FC = ({\n nameSelector, nameSelection, type, id, value1, value2, options, label, multi = true,\n}) => {\n const [ t ] = useTranslation();\n const { watch } = useFormContext();\n\n return (\n <>\n \n {label && (\n \n {`${ label }`}\n \n )}\n \n \n \n \n \n \n \n {watch(nameSelector) === value2 && (\n \n )}\n \n );\n};\n\nexport default OptionalTypeaheadSelect;\n","import React, { useEffect, useState } from 'react';\nimport { Box } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport { map as _map } from 'lodash';\n\nimport OptionalTypeaheadSelect from '../OptionalTypeaheadSelect';\nimport { IOption } from '../IOption';\n\nimport { useFetchSalesCustomers } from 'features/fundraiser/hooks/useFetchSalesCustomers';\nimport { ISalesCustomer } from 'features/fundraiser/types/customer';\nimport { useFetchStates } from 'features/common';\n\n// eslint-disable-next-line max-lines-per-function\nconst FilterOptions: React.FC = () => {\n const { data: salesCustomerQuery, isSuccess } = useFetchSalesCustomers();\n const { data: statesQuery, isSuccess: isStatesFetched } = useFetchStates(1);\n const [ salesCustomers, setSalesCustomers ] = useState<{\n salesAgents: IOption[]; iscs: IOption[];\n }>({ salesAgents: [], iscs: [] });\n const [ states, setStates ] = useState([]);\n const [ t ] = useTranslation();\n\n const selects = [\n {\n label: t('fundraiserReportFilters.StateSelection.Label'),\n name: 'states',\n options: states,\n type: t('fundraiserReportFilters.StateSelection.Type'),\n value1: 'allStates',\n value2: 'specificStates',\n },\n {\n label: t('fundraiserReportFilters.SalesRepNameSelection.Label'),\n name: 'salesReps',\n options: salesCustomers.salesAgents,\n type: t('fundraiserReportFilters.SalesRepNameSelection.Type'),\n value1: 'allSalesReps',\n value2: 'specificSalesReps',\n },\n {\n label: t('fundraiserReportFilters.ISCNameSelection.Label'),\n name: 'iscs',\n options: salesCustomers.iscs,\n type: t('fundraiserReportFilters.ISCNameSelection.Type'),\n value1: 'allISCs',\n value2: 'specificISCs',\n },\n ];\n\n useEffect(() => {\n let name = '';\n let agent = {} as IOption;\n\n if (isSuccess) {\n const salesAgentsRes: IOption[] = [];\n const iscsRes: IOption[] = [];\n (salesCustomerQuery as ISalesCustomer[])?.forEach(({ FirstName, LastName, Role }) => {\n name = `${ FirstName } ${ LastName }`;\n agent = {\n label: name,\n value: name,\n } as IOption;\n\n if (Role === 'SalesAgent') {\n salesAgentsRes.push(agent);\n } else if (Role === 'Independent Sales Consultant') {\n iscsRes.push(agent);\n }\n });\n\n setSalesCustomers({ salesAgents: salesAgentsRes, iscs: iscsRes });\n }\n }, [ salesCustomerQuery, isSuccess ]);\n\n useEffect(() => {\n if (isStatesFetched) {\n const statesList = statesQuery?.map(state => (\n {\n label: state.Name,\n value: state.Abbreviation,\n } as IOption));\n\n setStates(statesList as IOption[]);\n }\n }, [ statesQuery, isStatesFetched ]);\n\n return (\n <>\n {_map(selects, ({\n name, label, options, type, value1, value2,\n }) => (\n \n \n \n ))}\n \n );\n};\n\nexport default FilterOptions;\n","import { useQuery } from 'react-query';\n\nimport { ISalesCustomer } from '../types/customer';\nimport { fetchSalesCustomers } from '../api';\n\nimport * as QueryKeys from 'constants/QueryKeys';\n\nexport const useFetchSalesCustomers =\n () => useQuery(QueryKeys.AllSalesCustomers,\n () => fetchSalesCustomers(), {\n retry: false,\n refetchOnWindowFocus: false,\n });\n","/* eslint-disable max-len */\n/* eslint-disable no-extra-parens */\nimport { IOption } from 'pages/dashboard/reports/reportFilters/IOption';\nimport { IReportFilterFormData } from 'pages/dashboard/reports/reportFilters/ReportFilters';\n\nconst resolveReportFormat = (reportFormat) => {\n if (reportFormat === 'xlsx') {\n return 'xlsx';\n }\n return 'xlsx';\n};\n\nconst resolveStatuses = (data): string[] | null => {\n const res: string[] | null = [];\n\n if (data.statusAll) {\n return null;\n } else {\n if (data.statusActive) {\n res.push('active');\n }\n if (data.statusCancelled) {\n res.push('canceled');\n }\n if (data.statusCompleted) {\n res.push('completed');\n }\n if (data.statusUpcoming) {\n res.push('upcoming');\n }\n }\n return res;\n};\n\nconst resolveSelection = (dependentSelector, dependentValue: IOption[]) => {\n if (dependentSelector) {\n return dependentValue.map(({ value }) => value);\n }\n return null;\n};\n\nexport const Translate = (formValues: IReportFilterFormData, defaultState: IReportFilterFormData) => {\n const translatedObj = formValues;\n translatedObj.reportFormat = resolveReportFormat(formValues.reportFormat);\n translatedObj.reportStatuses = resolveStatuses(formValues);\n translatedObj.rangeStartDate = formValues.rangeStartDate ? (formValues.rangeStartDate as Date).toISOString() : null;\n translatedObj.rangeEndDate = formValues.rangeEndDate ? (formValues.rangeEndDate as Date).toISOString() : null;\n translatedObj.statesSelection = resolveSelection(formValues.statesSelector !== defaultState.statesSelector, formValues.statesSelection as never);\n translatedObj.salesRepsSelection = resolveSelection(formValues.salesRepsSelector !== defaultState.salesRepsSelector, formValues.salesRepsSelection as never);\n translatedObj.iscsSelection = resolveSelection(formValues.iscsSelector !== defaultState.iscsSelector, formValues.iscsSelection as never);\n return translatedObj;\n};\n","/* eslint-disable react/no-this-in-sfc */\n/* eslint-disable no-extra-parens */\n/* eslint-disable max-len */\n/* eslint-disable max-lines-per-function */\nimport React, { useState, useMemo, useEffect } from 'react';\nimport { useForm, FormProvider } from 'react-hook-form';\nimport * as Yup from 'yup';\nimport { useTranslation } from '@lce/i18n';\nimport {\n Heading, Form, Box, Flex, Button, Spinner,\n} from '@lce/slice_v2';\n\nimport { defaultState } from './defaultState';\nimport { IOption } from './IOption';\nimport DropdownSelect from './DropdownSelect';\nimport ReportStatus from './ReportStatus';\nimport DateRange from './DateRange';\nimport Border from './StylingComponents/Border';\nimport FilterOptions from './FilterOptions';\n\nimport { useFetchFilteredReport } from 'features/fundraiser/hooks/useFetchFilteredReport';\nimport { IReportFilterOptions } from 'features/fundraiser/types';\nimport { Translate } from 'features/fundraiser/utils/ReportFiltersUtils';\nimport { ClearButton } from 'ui/components';\n\nexport interface IReportFilterFormData extends IReportFilterOptions {\n statusAll: boolean;\n statusActive: boolean;\n statusCompleted: boolean;\n statusCancelled: boolean;\n statusUpcoming: boolean;\n statesSelector: string;\n salesRepsSelector: string;\n iscsSelector: string;\n}\n\nconst sectionSpacing = { marginTop: '25px' };\n\nconst ReportFilters: React.FC = () => {\n const [ formData, setFormData ] = useState(defaultState);\n const [ showFilters, setShowFilters ] = useState(true);\n const { isLoading, mutate: downloadReport, isSuccess } = useFetchFilteredReport();\n const methods = useForm({ context: { formData } });\n const [ t ] = useTranslation();\n\n const reportTypes: IOption[] = [\n {\n label: t('fundraiserReportFilters.ReportTypes.FundraiserSummaryReport'),\n value: 'fundraiser-summary',\n },\n {\n label: t('fundraiserReportFilters.ReportTypes.OrderDetailReport'),\n value: 'order-detail',\n },\n ]; // TODO : make this a typed key value pair, ANd should ask an API for this\n\n const validationSchema = useMemo(() => Yup.object({\n rangeStartDate: Yup.date()\n .nullable()\n .transform((curr, orig) => (orig === '' ? null : curr))\n .when('rangeEndDate', {\n is: val => val != null,\n then: schema => schema.max(Yup.ref('rangeEndDate'), t('fundraiserReportFilters.Validation.StartDate.ProperRange')),\n }),\n rangeEndDate: Yup.date().nullable()\n .transform((curr, orig) => (orig === '' ? null : curr)),\n\n statesSelection: Yup.array(Yup.object({ label: Yup.string(), value: Yup.string() })).nullable()\n .test('states-selection', t('fundraiserReportFilters.Validation.StatesSelection'),\n function(value) {\n if (this.parent.statesSelector === 'specificStates' && (value?.length ?? 0) === 0) {\n return false;\n }\n return true;\n }),\n salesRepsSelection: Yup.array(Yup.object({ label: Yup.string(), value: Yup.string() })).nullable()\n .test('sales-reps-selection', t('fundraiserReportFilters.Validation.SalesRepSelection'),\n function(value) {\n if (this.parent.salesRepsSelector === 'specificSalesReps' && (value?.length ?? 0) === 0) {\n return false;\n }\n return true;\n }),\n iscsSelection: Yup.array(Yup.object({ label: Yup.string(), value: Yup.string() })).nullable()\n .test('iscs-selection', t('fundraiserReportFilters.Validation.ISCSelection'),\n function(value) {\n if (this.parent.iscsSelector === 'specificISCs' && (value?.length ?? 0) === 0) {\n return false;\n }\n return true;\n }),\n }), [ t ]);\n\n const onFormSubmit = async(_, formValues) => {\n const newFormData = Translate(formValues, defaultState);\n setFormData(newFormData);\n downloadReport(newFormData);\n };\n\n const handleChange = (type) => {\n if (type === 'order-detail') {\n setShowFilters(false);\n } else {\n setShowFilters(true);\n }\n };\n\n useEffect(() => {\n if (isSuccess) {\n setShowFilters(true);\n }\n }, [ isSuccess ]);\n\n if (isLoading) {\n return (\n \n \n \n );\n }\n\n return (\n \n \n {t('fundraiserReportFilters.Title')}\n \n \n \n
\n \n \n \n \n\n \n \n {t('fundraiserReportFilters.Instructions')}\n \n \n\n { showFilters &&\n }\n\n \n \n \n\n \n\n {showFilters &&\n }\n\n \n \n
\n \n {' '}\n \n \n {t('fundraiserReportFilters.FormControls.DownloadButton')}\n \n \n \n
\n \n );\n};\n\nexport default ReportFilters;\n","import { useMutation } from 'react-query';\n\nimport { fetchFilteredReport } from '../api';\nimport { IReportFilterOptions } from '../types';\n\nimport { ApiError } from 'features/common';\n\nconst useFetchFilteredReport =\n () => useMutation(fetchFilteredReport);\n\nexport { useFetchFilteredReport };\n\n","import { useTranslation } from '@lce/i18n';\nimport { Box, Heading } from '@lce/slice_v2';\nimport React from 'react';\n\nimport { OrderHistoryList } from 'ui/order';\n\nconst Orders = () => {\n const [ t ] = useTranslation();\n\n return (\n \n \n {t('orderHistory.Title')}\n \n \n \n \n \n );\n};\n\nexport default Orders;\n","import {\n Flex, Form, Text, Button, Box,\n} from '@lce/slice_v2';\nimport { map as _map, forEach as _forEach } from 'lodash';\nimport { useFormContext } from 'react-hook-form';\nimport React, { useEffect, useState } from 'react';\nimport { useTranslation } from '@lce/i18n';\n\nimport { EmailNotifications } from 'features/fundraiser/types/emailNotifications';\nimport { ApiError } from 'features/common';\n\nexport interface IEmailNotificationForm {\n error: ApiError | null;\n onClose: () => void;\n emailNotifications?: EmailNotifications;\n emailEditMode?: boolean;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst EmailNotificationForm: React.FC = ({\n emailNotifications,\n error,\n onClose,\n emailEditMode,\n}) => {\n const { formState, setValue, watch } = useFormContext();\n const [ toggleCollapse, setToggleCollapse ] = useState(false);\n const [ t ] = useTranslation();\n\n const Notifications = emailNotifications?.Notifications;\n\n const handleOnChange = (value) => {\n setToggleCollapse(!value);\n _map(Notifications, (notifications, index) => {\n const watchIsSubscribed = `Notifications.${ index }.IsSubscribed`;\n setValue(watchIsSubscribed, value);\n });\n };\n\n const setWatches = () => {\n _map(Notifications, (notification, index) => {\n watch(`Notifications.${ index }.IsSubscribed`);\n });\n };\n\n const findUncheckedInputs = () => {\n let checkedInputs = false;\n _map(Notifications, (notification, index) => {\n watch(`Notifications.${ index }.IsSubscribed`);\n if (watch(`Notifications.${ index }.IsSubscribed`)) {\n checkedInputs = true;\n }\n });\n return checkedInputs;\n };\n\n setWatches();\n\n const onFormClose = () => {\n onClose();\n _forEach(Notifications, ({ IsSubscribed }, index) => {\n const watchIsSubscribed = `Notifications.${ index }.IsSubscribed`;\n setValue(watchIsSubscribed, IsSubscribed);\n });\n };\n const foundInputsUnchecked = findUncheckedInputs();\n useEffect(() => {\n setValue('NotificationsDisabled', foundInputsUnchecked ? 'off' : 'on');\n setToggleCollapse(!foundInputsUnchecked);\n }, [ foundInputsUnchecked, setValue ]);\n return (\n <>\n {!error && (\n \n \n \n {t('notificationMessages.email.yesEmailNotify')}\n \n ) }\n name=\"NotificationsDisabled\"\n onChange={ () => {\n handleOnChange(true);\n } }\n role=\"radio\"\n sx={ {\n alignItems: 'center', '& svg': {\n fill: !emailEditMode && 'primaryGrayLight', // Change fill color of the SVG\n },\n } }\n value=\"off\"\n />\n \n {_map(Notifications && Notifications, (notification, index) => (\n \n {t(`notificationMessages.email.${ notification.Name }`)}\n \n ) }\n name={ `Notifications.${ index }.IsSubscribed` }\n onChange={ () => {\n findUncheckedInputs();\n } }\n role=\"checkbox\"\n sx={ {\n '& svg': {\n fill: !emailEditMode && 'primaryGrayLight',\n },\n } }\n />\n ))}\n \n \n \n \n {t('notificationMessages.email.noEmailNotify')}\n \n ) }\n name=\"NotificationsDisabled\"\n onChange={ () => {\n handleOnChange(false);\n } }\n role=\"radio\"\n sx={ {\n alignItems: 'center', '& svg': {\n fill: !emailEditMode && 'primaryGrayLight', // Change fill color of the SVG\n },\n } }\n value=\"on\"\n />\n \n \n )}\n {emailEditMode && (\n \n \n \n {t('notificationMessages.email.cancel')}\n \n \n \n \n\n {t('notificationMessages.email.update')}\n \n \n \n )}\n \n );\n};\nexport default EmailNotificationForm;\n","import {\n Container, Flex, Form, Spinner,\n} from '@lce/slice_v2';\nimport React from 'react';\nimport { toast } from 'react-toastify';\n\nimport { EmailNotificationForm } from '../EmailNotificationForm';\n\nimport { useUpdateEmailPreferences } from 'features/fundraiser';\nimport { EmailNotifications } from 'features/fundraiser/types/emailNotifications';\nimport { ApiError } from 'features/common';\nimport { FundraiserNotification } from 'features/fundraiser/types/fundraiser';\n\nexport interface IEmailNotificationEdit {\n onCloseEmail: () => void;\n error: ApiError | null;\n isFetching: boolean;\n emailNotifications?: EmailNotifications;\n emailEditMode: boolean;\n}\n\ntype EmailFormValues = {\n NotificationsDisabled: string;\n Notifications: Array;\n}\n\nconst EmailNotificationEdit: React.FC = ({\n onCloseEmail, error, isFetching, emailNotifications, emailEditMode,\n}) => {\n const { mutateAsync: updateEmailData, isLoading: isUpdating } = useUpdateEmailPreferences();\n\n const onFormSubmit = async(formValues: EmailFormValues) => {\n const fundraiserPreferences = {\n NotificationsDisabled: formValues.NotificationsDisabled === 'on' ? true : false,\n Notifications: formValues.Notifications,\n };\n const res = await updateEmailData({ fundraiserPreferences });\n res ? onCloseEmail() : toast.error('There was an error. Please try again.');\n };\n\n if (isFetching || isUpdating) {\n return (\n \n \n \n );\n }\n\n return (\n \n \n \n \n\n \n );\n};\n\nexport default EmailNotificationEdit;\n","/* eslint-disable max-lines-per-function */\nimport { Box, Heading } from '@lce/slice_v2';\nimport * as React from 'react';\nimport { useState } from 'react';\nimport { useTranslation } from '@lce/i18n';\n\nimport { UserInfo } from 'features/common/types/userInfo';\nimport { Step } from 'ui/common';\nimport { EditForm, ReadOnlyForm } from 'ui/account';\nimport { useFetchEmailNotifications } from 'features/fundraiser';\nimport { EmailNotificationEdit } from 'ui/fundraiser/EmailNotificationEdit';\n\nexport type ISettings = {\n user: UserInfo;\n};\n\nconst Settings: React.FC = ({ user }) => {\n const [ t ] = useTranslation();\n\n const [ editMode, setEditMode ] = useState(false);\n const [ emailEditMode, setEmailEditMode ] = useState(false);\n const { data, isFetching, error } = useFetchEmailNotifications();\n\n const cancelEdit = () => {\n setEditMode(false);\n };\n\n const onEdit = () => {\n setEditMode(true);\n };\n\n const onCloseEmail = () => {\n setEmailEditMode(false);\n };\n\n const onEditNotifications = () => {\n setEmailEditMode(true);\n };\n\n return (\n \n \n {t('accountSettings.Title')}\n \n \n {editMode\n ? ()\n : (\n )}\n \n \n \n
\n \n );\n};\n\nexport default Settings;\n","import React from 'react';\nimport {\n Box, Button, Flex, Heading, Image, Text, Spinner, Link,\n} from '@lce/slice_v2';\nimport { match, useHistory } from 'react-router-dom';\nimport { useTranslation } from '@lce/i18n';\n\nimport { FinalOrderStatus } from 'features/fundraiser/types/fundraiser';\nimport anouncerCaesarMan from 'assets/images/Announcer-Caesar-Man.png';\nimport { useStatefulFetchFundraiserById, useFundraiserFinalOrderStatus } from 'ui/hooks';\nimport { FundraiserNavigation } from 'ui/fundraiser/FundraiserNavigation';\nimport { InlineLinkParseAndReplace } from 'ui/components';\nimport { useBooleanFeature } from 'ui/components/hooks';\n\n/* eslint-disable max-lines-per-function */\ninterface MatchParams {\n fundraiserId: string;\n}\n\nexport type FundraiserConfirmationProps = {\n match: match;\n}\n\nexport const dataTestIdFinalOrderConfirmation = 'final-order-confirmation';\n\nexport const FundraiserConfirmation: React.FC = ({ match }) => {\n const fundraiserId = match?.params?.fundraiserId;\n const [ t ] = useTranslation();\n const history = useHistory();\n const { data: fundraiser, isLoading: isFundraiserDataLoading } = useStatefulFetchFundraiserById(fundraiserId);\n\n const allowEditsToFinalOrder = useBooleanFeature('fr_brochure_allow_final_order_edits').on;\n const finalOrderStatus = useFundraiserFinalOrderStatus(fundraiser);\n\n const showEditButton = allowEditsToFinalOrder && finalOrderStatus <= FinalOrderStatus.FinalOrderSubmitted;\n const defaultEditButtonRoute = {\n pathname: `/dashboard/fundraisers/final-order/${ fundraiserId }`,\n };\n const finalOrderSubmittedEditButtonRoute = {\n ...defaultEditButtonRoute,\n state: { finalOrderSubmitted: true },\n };\n const editButtonRoute = finalOrderStatus === FinalOrderStatus.FinalOrderSubmitted\n ? finalOrderSubmittedEditButtonRoute\n : defaultEditButtonRoute;\n\n if (isFundraiserDataLoading) {\n return (\n \n \n \n );\n }\n\n return (\n <>\n \n \n \"Caesar\n \n {t('dashboard.finalOrderPage.confirmation.header')}\n \n \n \n \n \n \n {t('dashboard.finalOrderPage.confirmation.print')}\n \n {showEditButton && (\n history.push(editButtonRoute) }\n variant=\"secondary\"\n >\n {t('dashboard.finalOrderPage.confirmation.edit')}\n \n )}\n \n \n \n );\n};\n","import api from 'api';\n\nconst uploadSellerPhoto =\n async(form: { id: number; data: FormData }) => api.post(`api/imageupload/seller/${ form.id }`, form.data)\n .then(res => res);\n\nconst uploadFundraiserPhoto =\n async(form: { id: number; data: FormData }) => api.post(`api/imageupload/fundraiser/${ form.id }`, form.data)\n .then(res => res);\n\nexport { uploadSellerPhoto, uploadFundraiserPhoto };\n","import { useMutation } from 'react-query';\n\nimport { uploadSellerPhoto } from '../api';\n\nimport { ApiError, ApiResponse } from 'features/common';\n\nconst useUploadSellerPhoto =\n () => useMutation(uploadSellerPhoto);\n\nexport default useUploadSellerPhoto;\n","import { useMutation } from 'react-query';\n\nimport { uploadFundraiserPhoto } from '../api';\n\nimport { ApiError, ApiResponse } from 'features/common';\n\nconst useUploadFundraiserPhoto =\n () => useMutation(uploadFundraiserPhoto);\n\nexport default useUploadFundraiserPhoto;\n","/* eslint-disable max-lines-per-function */\nimport React, { useState } from 'react';\nimport { Flex, Image, Text } from '@lce/slice_v2';\nimport { toast } from 'react-toastify';\nimport { useTranslation } from '@lce/i18n';\n\nimport { FundraiserListItem } from 'features/fundraiser/types/fundraiser';\nimport DefaultFundraiserImage from 'assets/images/default-fundraiser-image.png';\nimport DefaultSellerAvatar from 'assets/images/default-seller-avatar.png';\nimport { FileUpload, GenericToast } from 'ui/common';\nimport { useUploadFundraiserPhoto, useUploadSellerPhoto } from 'features/fileUpload';\nimport { Seller } from 'features/fundraiser';\n\nexport interface IHeaderImage {\n fundraiser: FundraiserListItem;\n seller?: Seller;\n}\n\nconst HeaderImage: React.FC = ({ fundraiser, seller }) => {\n const [ t ] = useTranslation();\n const [ newImage, setNewImage ] = useState();\n const [ imageSrc, setImageSrc ] = useState(seller\n ? seller.AvatarSource\n : fundraiser.FundraiserImageSource);\n\n const { mutateAsync: uploadSellerImage } = useUploadSellerPhoto();\n const { mutateAsync: uploadFundraiserImage } = useUploadFundraiserPhoto();\n\n const maxFileSizeLimit = 5000000;\n\n const onImageSelectHandler = async(file: File) => {\n if (file) {\n if (file.size > maxFileSizeLimit) {\n toast();\n return;\n }\n\n const reader = new FileReader();\n reader.onload = function(load) {\n if (load && load.target && load.target.result) {\n setImageSrc(load.target.result);\n }\n };\n\n reader.readAsDataURL(file);\n\n if (file.name !== newImage?.name) {\n setNewImage(file);\n const formData = new FormData();\n formData.append('formFile', file);\n formData.append('fileName', file.name);\n try {\n if (seller) {\n await uploadSellerImage({ id: seller.Id, data: formData });\n toast();\n } else {\n await uploadFundraiserImage({ id: fundraiser.Id, data: formData });\n toast();\n }\n } catch {\n toast();\n }\n }\n }\n };\n return (\n \n \n \n {seller && seller.FirstName && (\n \n {`${ seller.FirstName } ${ seller.LastInitial || '' }`}\n \n )}\n \n );\n};\n\nexport default HeaderImage;\n\n","import React from 'react';\nimport { Flex, Skeleton } from '@lce/slice_v2';\n\nconst BuyerListSkeleton: React.FC = () => (\n \n \n \n \n \n \n \n \n \n \n);\n\nexport default BuyerListSkeleton;\n","import * as React from 'react';\nimport { Box, Flex, Text } from '@lce/slice_v2';\nimport { format } from 'date-fns';\n\nimport { AccordianBox } from 'ui/common';\nimport { BuyerOrder, OrderItem } from 'features/fundraiser/types/buyer';\n\nexport interface IBuyerListItem {\n order: BuyerOrder;\n}\n\nconst BuyerListItem: React.FC = (props: IBuyerListItem) => {\n const totalKits: number = props.order.OrderInfo.OrderItems.reduce((sum, { Quantity }) => sum + Quantity, 0);\n\n return (\n \n \n \n {`${ props.order.BuyerInfo.FirstName } ${ props.order.BuyerInfo.LastName }`}\n \n \n {props.order.BuyerInfo.Email}\n \n \n { format(new Date(props.order.OrderInfo.DateOfPurchase), 'MM/dd/yyyy') }\n \n \n \n \n \n \n );\n};\n\ninterface IOrderItems {\n orderItems: OrderItem[];\n}\n\nconst OrderItems: React.FC = (props: IOrderItems) => (\n \n {props.orderItems.map(item => (\n \n {`(${ item.Quantity }) ${ item.Name }`}\n \n ))}\n \n);\n\nexport default BuyerListItem;\n","import { FundraiserListItem, FundraiserProfitCheckAddress } from './fundraiser';\n\nexport interface IStep {\n stepNumber: number;\n title: string;\n hasInfo: boolean;\n popupType?: PopoverType;\n content: JSX.Element;\n borderStyle?: string;\n}\n\nexport enum PopoverType {\n Seller = 'SELLER',\n Buyer = 'BUYER',\n Manage = 'MANAGE',\n FriendFamily = 'FRIENDFAMILY',\n}\n\nexport interface IDashboardProps {\n children: React.ReactNode;\n popupType?: string;\n stepNumber: number;\n title: string;\n hasInfo?: boolean;\n borderStyle?: string;\n}\n\nexport interface IStepFundraiserProp {\n fundraiser: FundraiserListItem;\n handleAddressModal?: () => void;\n idSuffix?: string;\n isMissingProfitCheckAddress?: boolean;\n}\n\nexport interface IFundraiserSupporterProps {\n fundraiser: FundraiserListItem;\n idSuffix?: string;\n sellerId: number | undefined;\n sellerSupportGuid: string | undefined;\n}\n\nexport interface ISellerStepsProps {\n fundraiser: FundraiserListItem;\n sellerId: number;\n supportGuid: string;\n customerId: number;\n}\n\nexport interface IFundraiserCheckAddress {\n checkPayableTo: string;\n street: string;\n city: string;\n state: string;\n zipCode: string;\n}\n\nexport interface ICheckAddressConfirmModalProps {\n address: FundraiserProfitCheckAddress;\n onEdit: () => void;\n isExpired: boolean;\n isMissingProfitCheckAddress: boolean;\n}\n","/* eslint-disable max-lines-per-function */\nimport * as React from 'react';\nimport {\n Box, Flex, Form, Text, Image, Button, Spinner,\n} from '@lce/slice_v2';\nimport { useEffect, useState } from 'react';\nimport { Redirect, RouteComponentProps } from 'react-router-dom';\nimport { useOktaAuth } from '@okta/okta-react';\nimport { useTranslation } from '@lce/i18n';\n\nimport { BuyerListSkeleton } from './BuyerListSkeleton';\nimport BuyerListItem from './BuyerListItem/BuyerListItem';\n\nimport Spear from 'assets/images/spear.svg';\nimport { SearchBar } from 'ui/common/SearchBar';\nimport { FundraiserNavigation } from 'ui/fundraiser/FundraiserNavigation';\nimport CaesarCash from 'assets/images/caesar-cash.svg';\nimport { BuyerFilter, BuyerListSortFields } from 'features/fundraiser/types/buyer';\nimport { Paginate } from 'ui/common/Paginate';\nimport { useUserInfo } from 'features/common';\nimport * as FundraiserDefaults from 'constants/FundraiserDefaults';\nimport { useFetchBuyerReport } from 'features/fundraiser/hooks/useFetchBuyerReport';\nimport { FundraiserType, useFetchPaginatedBuyers } from 'features/fundraiser';\nimport { useStatefulFetchFundraiserById } from 'ui/hooks';\n\nexport interface MatchParams {\n fundraiserId: string;\n customerId: string;\n}\n\nexport type IBuyerListProps = RouteComponentProps;\n\nconst BuyerList: React.FC = ({ match }) => {\n const fundraiserId = parseInt(match.params.fundraiserId);\n const customerId = parseInt(match.params.customerId);\n const { authState } = useOktaAuth();\n const { data: user } = useUserInfo(authState.isAuthenticated);\n const [ t ] = useTranslation();\n const [ useBuyerReport, setBuyerReport ] = useState(false);\n const [ canRunReport, setCanRunReport ] = useState(false);\n const [ searchValue, setSearchValue ] = useState('');\n const [ options, setOptions ] = useState({\n SortByColumn: BuyerListSortFields.OrderDate,\n PageIndex: 1,\n PageSize: 5,\n });\n const {\n data: fundraiser,\n isLoading: isFundraiserLoading,\n } = useStatefulFetchFundraiserById(match.params.fundraiserId);\n const isBrochure = fundraiser?.FundraiserType === FundraiserType.Brochure;\n useFetchBuyerReport(fundraiserId, customerId, useBuyerReport);\n\n useEffect(() => {\n if (user) {\n setCanRunReport(user.Roles.includes(FundraiserDefaults.SuperAdminRoleName) ||\n user.Roles.includes(FundraiserDefaults.SellerRoleName) || false);\n }\n }, [ user ]);\n\n const {\n data: resolvedData, isSuccess, isFetching, error,\n } = useFetchPaginatedBuyers(fundraiserId, customerId, options);\n\n const onPageSelectHandler = (page: number) => {\n setOptions({ ...options, PageIndex: page });\n };\n\n const onPageSizeSelectHandler = (size: number) => {\n setOptions({ ...options, PageIndex: 1, PageSize: size });\n };\n\n const onSortChangeHandler = (value: number) => {\n setOptions({ ...options, SortByColumn: value });\n };\n\n const onSearchChangeHandler = (value: string) => {\n setOptions({ ...options, PageIndex: 1, Filter: value });\n };\n\n if (error?.Status === 403) {\n return ;\n }\n\n if (isFetching || isFundraiserLoading) {\n return ;\n }\n\n return (\n \n \n {isSuccess && resolvedData ? (\n \n {resolvedData.Items?.length > 0 && (\n <>\n \n \n {`${ t('dashboard.buyerList.buyers') } ${ resolvedData.BuyerCount } / \n ${ t('dashboard.buyerList.orders') } ${ resolvedData.TotalCount }`}\n \n {canRunReport && !isBrochure && (\n setBuyerReport(true) }\n sx={ { width: [ '100%', 'auto', 'auto' ], mt: [ '5px', 0, 0 ] } }\n variant=\"primary\"\n >\n { t('dashboard.buyerList.runReport') }\n \n ) }\n \n \n \n \n onSortChangeHandler(Number(q.target.value)) }\n sx={ { padding: '0px 8px', width: [ '240px', '340px' ] } }\n variant=\"categorySelector\"\n >\n \n \n \n \n \n \n \n )}\n {resolvedData.Items?.length > 0 && (\n \n \n \n { t('dashboard.buyerList.searchOptions.name') }\n \n \n { t('dashboard.buyerList.searchOptions.email') }\n \n \n { t('dashboard.buyerList.searchOptions.date') }\n \n \n \n )}\n {resolvedData.Items?.length > 0\n ? (\n \n {\n resolvedData.Items.map(order => (\n \n \n \n ))\n }\n \n \n \n )\n : (\n \n { !options.Filter && !isFetching ? (\n <>\n \n { t('dashboard.buyerList.searchNone.title') }\n \n \n { t('dashboard.buyerList.searchNone.subtitle') }\n \n \n \n ) : (\n <>\n \n { t('dashboard.buyerList.searchError.title') }\n \n \n { t('dashboard.buyerList.searchError.subtitle') }\n \n \n \n )}\n \n )}\n\n \n )\n : ()}\n \n );\n};\n\nexport default BuyerList;\n","import { useQuery } from 'react-query';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\nimport { fetchSellerBuyerReport } from 'features/orders/api';\n\nconst useFetchBuyerReport =\n // eslint-disable-next-line max-len\n (fundraiserId: number, customerId: number, enabled: boolean) => useQuery(`${ QueryKeys.SellerBuyerReport }${ customerId }`,\n () => fetchSellerBuyerReport(fundraiserId, customerId), {\n retry: false, refetchOnWindowFocus: false, cacheTime: 0, enabled: enabled,\n });\n\nexport { useFetchBuyerReport };\n","import React, { useState, useEffect } from 'react';\nimport {\n Box, Button, Flex, Form, IconButton, Image, Spinner, Text,\n} from '@lce/slice_v2';\nimport { Minus, Plus, X } from 'react-feather';\nimport { toast } from 'react-toastify';\nimport { useTranslation } from '@lce/i18n';\nimport * as Yup from 'yup';\nimport { useOktaAuth } from '@okta/okta-react';\n\nimport infoIcon from '../../../assets/icons/info-icon.svg';\nimport * as FundraiserDefaults from '../../../constants/FundraiserDefaults';\n\nimport { Seller, useUpdateSeller } from 'features/fundraiser';\nimport { VideoTipPopover } from 'ui/fundraiser';\nimport { GenericToast } from 'ui/common';\nimport { UpdateSellerRequest } from 'features/fundraiser/types/seller';\nimport { useUserInfo } from 'features/common/hooks';\n\nexport interface IEditProps {\n seller: Seller;\n onCancelEdit: () => void;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst Edit: React.FC = ({ seller, onCancelEdit }) => {\n const [ t ] = useTranslation();\n const [ goal, setGoal ] = useState(seller.Goal);\n const [ showVideoInfo, setShowVideoInfo ] = useState(false);\n const { mutateAsync: updateSeller, isLoading } = useUpdateSeller(seller.FundraiserId, seller.CustomerId);\n\n const onSaveHandler = async(e) => {\n const data: UpdateSellerRequest = {\n Id: seller.Id,\n CustomerId: seller.CustomerId,\n Description: seller.Description,\n VideoSource: e.VideoSource,\n KitGoal: goal,\n FirstName: e.SellerFirstName,\n LastName: e.SellerLastName,\n };\n\n await updateSeller(data);\n toast();\n onCancelEdit();\n };\n\n let validationSchema = Yup.object();\n\n validationSchema = validationSchema.shape({\n SellerFirstName: Yup.string()\n .matches(/^[-a-zA-Z0-9\\s']+$/,\n 'First Name field can accept ONLY letters, hyphens, and numbers and cannot be empty.')\n .required('First Name is required'),\n SellerLastName: Yup.string()\n .matches(/^[-a-zA-Z0-9\\s']+$/,\n 'Last Name field can accept ONLY letters, hyphens, and numbers and cannot be empty.')\n .required('Last Name is required'),\n });\n\n const { authState } = useOktaAuth();\n const userInfo = useUserInfo(authState.isAuthenticated);\n const [ canEditSellerInfo, setCanEditSellerInfo ] = useState(true);\n\n useEffect(() => {\n if (userInfo && userInfo.data && userInfo.data.Roles) {\n const { Roles } = userInfo.data;\n if (Roles.includes(FundraiserDefaults.SellerRoleName) &&\n !Roles.includes(FundraiserDefaults.SuperAdminRoleName) &&\n !Roles.includes(FundraiserDefaults.ChairpersonRoleName) &&\n !Roles.includes(FundraiserDefaults.ISCRoleName) &&\n !Roles.includes(FundraiserDefaults.SalesAgentRoleName)) {\n setCanEditSellerInfo(false);\n }\n }\n }, [ userInfo ]);\n\n return (\n <>\n \n \n Edit Profile\n \n\n \n \n \n \n\n onSaveHandler(e) }\n summary={ false }\n validationSchema={ canEditSellerInfo ? validationSchema : null }\n >\n {canEditSellerInfo\n ? (\n
\n \n\n \n
\n )\n : null}\n\n \n \n \n { t('editSeller.IncreaseKitGoal')}\n \n setGoal(e.target.valueAsNumber) }\n type=\"number\"\n value={ goal }\n />\n \n\n \n setGoal(goal - 1) }\n sx={ {\n backgroundColor: goal <= seller.GoalMinimum ? 'primaryGrayLight' : 'primaryOrange',\n width: '100%',\n mr: '15px',\n flex: 1,\n cursor: goal <= seller.GoalMinimum ? 'not-allowed' : 'pointer',\n pointerEvents: goal <= seller.GoalMinimum ? 'none-allowed' : 'auto',\n } }\n type=\"button\"\n >\n \n \n\n setGoal(goal + 1) }\n sx={ {\n backgroundColor: 'primaryOrange',\n width: '100%',\n flex: 1,\n cursor: 'pointer',\n } }\n type=\"button\"\n >\n \n \n \n \n\n \n \n { t('editSeller.VideoSourceLink')}\n setShowVideoInfo(!showVideoInfo) }\n src={ infoIcon }\n sx={ {\n cursor: 'pointer', ml: 2, height: '20px', width: '20px',\n } }\n />\n \n ) }\n name=\"VideoSource\"\n placeholder={ t('editSeller.VideoInputPlaceholder') }\n />\n {showVideoInfo && }\n \n\n \n \n {t('editSeller.Cancel')}\n \n\n \n { isLoading\n ? \n : t('editSeller.SaveEdits')}\n \n \n \n \n );\n};\n\nexport default Edit;\n","/* eslint-disable max-lines-per-function */\nimport React, { useEffect, useRef, useState } from 'react';\nimport {\n Box, Form, Button, Modal,\n Flex,\n} from '@lce/slice_v2';\nimport { toast } from 'react-toastify';\nimport { useTranslation } from '@lce/i18n';\n\nimport { Edit } from 'ui/sellerDetail';\nimport { GenericToast } from 'ui/common';\nimport {\n Seller, updateFundraiser, useUpdateSeller,\n} from 'features/fundraiser';\nimport { FundraiserListItem } from 'features/fundraiser/types/fundraiser';\nimport { UpdateSellerRequest } from 'features/fundraiser/types/seller';\n\nexport interface IHeaderDescription {\n description: string;\n fundraiser: FundraiserListItem;\n seller?: Seller;\n isPreviewOpenDefault?: boolean;\n isEditDescriptionDefault?: boolean;\n}\n\nconst HeaderDescription: React.FC = ({\n fundraiser, seller, isPreviewOpenDefault = false, isEditDescriptionDefault = false, description,\n}) => {\n const [ t ] = useTranslation();\n const placeholder = seller\n ? t('dashboard.header.sellerPlaceholder', { context: fundraiser.FundraiserType })\n : t('dashboard.header.fundraiserPlaceholder');\n const [ isEditDescription, setIsEditDescription ] = useState(isEditDescriptionDefault);\n const [ isPreviewOpen, setIsPreviewOpen ] = useState(isPreviewOpenDefault);\n const [ customMessage, setCustomMessage ] = useState(description || placeholder);\n\n const textInput = useRef(null);\n\n const handleClosePreview = () => setIsPreviewOpen(false);\n\n useEffect(() => {\n if (isEditDescription && textInput.current) {\n textInput.current.focus();\n }\n }, [ isEditDescription ]);\n\n const { mutateAsync: updateSeller } = useUpdateSeller(fundraiser.Id, seller?.CustomerId);\n\n const onSaveHandler = async() => {\n setIsEditDescription(false);\n const customMessageTrimmed = customMessage.trim();\n const descriptionChanged = customMessageTrimmed !== description;\n if (descriptionChanged) {\n if (seller) {\n const data: UpdateSellerRequest = {\n Id: seller.Id,\n CustomerId: seller.CustomerId,\n Description: customMessageTrimmed,\n VideoSource: seller.VideoSource,\n KitGoal: seller.Goal,\n FirstName: seller.FirstName,\n LastName: seller.LastName,\n };\n try {\n await updateSeller(data);\n toast();\n } catch {\n toast();\n }\n } else {\n const data: FundraiserListItem = {\n ...fundraiser,\n CustomMessage: customMessageTrimmed,\n };\n try {\n await updateFundraiser(data);\n toast();\n } catch {\n toast();\n }\n }\n }\n };\n\n return isEditDescription ? (\n \n setCustomMessage(e.target.value) }\n ref={ textInput }\n sx={ {\n height: [ '100px', '100px', '180px' ],\n resize: 'none',\n flex: 1,\n mb: 2,\n ml: 0,\n width: '100%',\n } }\n value={ customMessage }\n />\n \n { t('dashboard.header.saveDescription') }\n \n \n ) : (\n <>\n \n \n {customMessage}\n \n \n setIsEditDescription(true) }\n variant=\"dashboardDescriptionButton\"\n >\n { t('dashboard.header.editDescription') }\n \n {seller && (\n setIsPreviewOpen(true) }\n variant=\"dashboardProfileButton\"\n >\n { t('dashboard.header.editProfile') }\n \n )}\n \n \n {isPreviewOpen && seller && (\n \n \n \n )}\n \n );\n};\n\nexport default HeaderDescription;\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport {\n Box, Flex, Image, Text,\n} from '@lce/slice_v2';\nimport { format, isBefore, differenceInCalendarDays } from 'date-fns';\nimport { useTranslation } from '@lce/i18n';\nimport _isNil from 'lodash/isNil';\n\nimport Alarm from './assets/Alarm.svg';\nimport Calendar from './assets/Calendar.svg';\n\nimport {\n FundraiserListItem,\n FundraiserStatus,\n FundraiserType,\n} from 'features/fundraiser/types/fundraiser';\nimport { Seller } from 'features/fundraiser';\n\nexport interface IHeaderInfo {\n fundraiser: FundraiserListItem;\n seller?: Seller;\n}\n\nconst HeaderInfo: React.FC = ({ fundraiser, seller }) => {\n const [ t ] = useTranslation();\n const hasSeller = !_isNil(seller);\n\n const startDate = format(new Date(fundraiser.StartDate), 'MMMM dd, yyyy');\n const endDate = !_isNil(fundraiser.EndDate) && isBefore(new Date(fundraiser.StartDate), new Date(fundraiser.EndDate))\n ? format(new Date(fundraiser.EndDate), 'MMMM dd, yyyy')\n : undefined;\n const hasEndDate = !_isNil(endDate);\n const finalOrderDate = fundraiser.FinalOrderDetails && !_isNil(fundraiser.FinalOrderDetails.FinalOrderDate)\n ? new Date(fundraiser.FinalOrderDetails.FinalOrderDate)\n : undefined;\n const hasFinalOrderDate = !_isNil(finalOrderDate);\n const cancellationDate = format(new Date(fundraiser.CancellationDate || 0), 'MMMM dd, yyyy');\n\n const status = FundraiserStatus[fundraiser.FundraiserStatus];\n const isFundraiserActive = status === FundraiserStatus[FundraiserStatus.Active];\n const isBrochureFundraiser = fundraiser.FundraiserType === FundraiserType.Brochure;\n const isBrochureFundraiserAndChairperson = isBrochureFundraiser && !hasSeller;\n\n const finalDay = new Date(finalOrderDate || endDate || 0);\n const today = new Date();\n const daysLeft = differenceInCalendarDays(finalDay, today);\n const showDaysLeft = isBrochureFundraiserAndChairperson && hasFinalOrderDate && isFundraiserActive && daysLeft >= 0;\n\n return (\n \n \n { isBrochureFundraiser && (\n \n { t('dashboard.header.status', { status }) }\n \n )}\n \n \n \n { hasEndDate ? t('dashboard.header.runTime', { startDate, endDate }) : startDate }\n \n \n { fundraiser.CancellationDate && (\n \n { t('dashboard.header.cancellationDate', { date: cancellationDate }) }\n \n )}\n \n { hasSeller\n ? t('dashboard.header.fundraiserId', { fundraiserId: fundraiser.Id })\n : t('dashboard.header.fundraiserAndGroupIds', { fundraiserId: fundraiser.Id, groupId: fundraiser.GroupId })}\n \n { !hasSeller && fundraiser.SalesAgentName && (\n \n { t('dashboard.header.salesAgent', { name: fundraiser.SalesAgentName }) }\n \n )}\n \n { showDaysLeft && (\n \n \n \n { t('dashboard.header.daysLeft', { daysLeft, context: String(daysLeft) }) }\n \n \n )}\n \n );\n};\n\nexport default HeaderInfo;\n","import React from 'react';\nimport {\n Box, Flex, Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { HeaderImage } from './HeaderImage';\nimport { HeaderDescription } from './HeaderDescription';\nimport { HeaderInfo } from './HeaderInfo';\n\nimport { FundraiserListItem } from 'features/fundraiser/types/fundraiser';\nimport { Seller } from 'features/fundraiser';\n\nexport interface IDashboardHeader {\n fundraiser: FundraiserListItem;\n seller?: Seller;\n description: string;\n}\n\nconst DashboardHeader: React.FC = ({ fundraiser, seller, description }) => {\n const [ t ] = useTranslation();\n return (\n \n \n { t('dashboard.header.fundraiserName',\n { context: fundraiser.CancellationDate && 'cancelled', name: fundraiser.Name }) }\n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default DashboardHeader;\n","import React, { useRef, useState } from 'react';\nimport { Box, Flex, Image } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport infoIcon from '../../../assets/icons/info-icon.svg';\nimport { TooltipPopover } from '../Popovers';\n\nimport {\n BuyerInvitePopup, FriendFamilyPopUp, ManageSellerPopup, SellerInvitePopup,\n} from './StepPopupContent';\n\nimport { IDashboardProps, PopoverType } from 'features/fundraiser/types/dashboard';\n\n// eslint-disable-next-line max-lines-per-function\nconst DashboardStep: React.FC = ({\n children, stepNumber, title, hasInfo, popupType, borderStyle = 'solid 1px #ddd',\n}) => {\n const [ t ] = useTranslation();\n const [ visible, setVisible ] = useState(false);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const popoverRef = useRef(null);\n\n return (\n \n \n \n {`${ t('dashboard.steps.step') } ${ stepNumber }`}\n \n \n {title}\n {hasInfo && (\n setVisible(!visible) }\n ref={ popoverRef }\n src={ infoIcon }\n sx={ {\n cursor: 'pointer', ml: 2, mb: -1, height: '20px', width: '20px',\n } }\n />\n )}\n \n {popupType === PopoverType.Seller && }\n {popupType === PopoverType.Buyer && }\n {popupType === PopoverType.Manage && }\n {popupType === PopoverType.FriendFamily && }\n \n \n \n \n {children}\n \n \n );\n};\n\nexport default DashboardStep;\n","import {\n Flex, IconButton, Image, IModalProps as ISliceModalProps, Modal as SliceModal,\n} from '@lce/slice_v2';\nimport React from 'react';\nimport { X } from 'react-feather';\n\nexport interface IZoomInModalProps {\n imageURL: string;\n imageAltText: string;\n modalText: string;\n onClose: () => void;\n}\n\nconst ZoomInModal: React.FC = ({\n imageURL, imageAltText, modalText, onClose, ...props\n}) => (\n \n \n \n \n \n \n \n \n \n { modalText }\n \n \n \n);\n\nexport default ZoomInModal;\n","import {\n Flex, Link, Image,\n} from '@lce/slice_v2';\nimport React, { useState } from 'react';\nimport { useTranslation } from '@lce/i18n';\n\nimport { useMediaQuery } from 'features/common';\nimport ZoomInIcon from 'assets/icons/LCF-Zoom-In-Icon.svg';\nimport { ZoomInModal } from 'ui/common/ZoomInModal';\n\nexport interface IFundraiserQRCode {\n imageDataURL: string;\n imageAltText: string;\n sellerQRCode?: boolean;\n isDisplayModalOpenDefault?: boolean;\n}\n\nconst FundraiserQRCode: React.FC = ({\n imageDataURL, imageAltText, sellerQRCode, isDisplayModalOpenDefault = false,\n}) => {\n const [ isDisplayModalOpen, setIsDisplayModalOpen ] = useState(isDisplayModalOpenDefault);\n const isDesktop = useMediaQuery('(min-width: 961px)');\n const [ t ] = useTranslation();\n\n return (\n <>\n \n \n {isDesktop && (\n setIsDisplayModalOpen(true) }\n sx={ { alignSelf: 'flex-end', '&:hover': { cursor: 'pointer' } } }\n >\n \n \n )}\n \n\n { isDesktop && (\n setIsDisplayModalOpen(false) }\n />\n )}\n \n );\n};\n\nexport default FundraiserQRCode;\n","import { useMemo } from 'react';\nimport { isBefore } from 'date-fns';\n\nimport { FundraiserListItem } from '../types';\nimport { FundraiserStatus } from '../types/fundraiser';\n\nexport const useIsUpcomingFundraiser =\n(fundraiser: FundraiserListItem | undefined): boolean => useMemo(() => {\n if (fundraiser) {\n return isBefore(new Date(), new Date(fundraiser.StartDate)) ||\n fundraiser.FundraiserStatus === FundraiserStatus.Pending;\n } else {\n return false;\n }\n},\n[ fundraiser ]);\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport { Box, Flex, Text } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { CopyShare } from '../CopyShare';\nimport { FundraiserQRCode } from '../FundraiserQRCode';\nimport { EmailLinks } from '../EmailLinks';\nimport { SocialButtons } from '../SocialButtons';\n\nimport {\n useFetchFundraiserQRCode,\n useFetchSellerQRCode,\n FundraiserListItem,\n FundraiserType,\n} from 'features/fundraiser';\nimport { useFetchProductsPageRoute } from 'features/products';\nimport { useIsUpcomingFundraiser } from 'features/fundraiser/hooks/useIsUpcomingFundraiser';\n\ninterface IInviteProps {\n fundraiser: FundraiserListItem;\n idSuffix?: string;\n sellerId?: number;\n sellerSupportGuid?: string;\n showSocials?: boolean;\n customUpcomingText?: string;\n}\n\n// eslint-disable-next-line complexity\nconst Invite: React.FC = ({\n fundraiser, idSuffix, sellerId, sellerSupportGuid, showSocials = true, customUpcomingText,\n}) => {\n const [ t ] = useTranslation();\n const { data: fundraiserQRCode, isSuccess } = useFetchFundraiserQRCode(fundraiser.Id);\n const { data: sellerQRCode, isSuccess: isSellerSuccess } = useFetchSellerQRCode(sellerId);\n const productPageRoute = useFetchProductsPageRoute(sellerSupportGuid, fundraiser.FundraiserType);\n const copyLink = sellerSupportGuid ? productPageRoute : `/login/join-fundraiser/${ fundraiser.FundraiserGuid }`;\n const copyUrl = `${ window.location.origin }${ copyLink }`;\n const socialImage = fundraiser.FundraiserImageSource || process.env.REACT_APP_OG_IMAGE || '';\n const displayFundraiserQRCode = fundraiser.Active && isSuccess && !sellerSupportGuid;\n const displaySellerQRCode = fundraiser.Active && isSellerSuccess && sellerSupportGuid;\n const showSocialButtons = showSocials && fundraiser.FundraiserType === FundraiserType.MealDeal;\n const isFundraiserUpcoming = useIsUpcomingFundraiser(fundraiser);\n const emailSubject = sellerSupportGuid\n ? encodeURIComponent(`${ t('emailTemplate.seller.emailMessage.subject', { context: fundraiser.FundraiserType }) }`)\n : encodeURIComponent(`${ t('emailTemplate.chairperson.emailMessage.subject',\n { context: fundraiser.FundraiserType }) }`);\n const emailBody = sellerSupportGuid\n ? encodeURIComponent(`${ t('emailTemplate.seller.emailMessage.body',\n { context: fundraiser.FundraiserType, supportGuid: sellerSupportGuid, groupName: fundraiser.Name }) }`)\n : encodeURIComponent(`${ t('emailTemplate.chairperson.emailMessage.body',\n { context: fundraiser.FundraiserType, fundraiserId: fundraiser.FundraiserGuid, groupName: fundraiser.Name }) }`);\n\n return (\n \n { isFundraiserUpcoming ? (\n \n \n {customUpcomingText ?? t('dashboard.steps.invite.checkBack')}\n \n \n )\n : (\n \n \n \n \n \n {showSocialButtons && (\n \n \n {t('dashboard.steps.invite.postSocial')}\n \n \n \n )}\n \n {(displayFundraiserQRCode || displaySellerQRCode) && (\n \n )}\n \n \n )}\n \n );\n};\n\nexport default Invite;\n","import React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport {\n Box, Button, Link, Text,\n} from '@lce/slice_v2';\nimport { format } from 'date-fns';\nimport { isNil as _isNil } from 'lodash';\n\nimport Invite from '../../Invite';\n\nimport { PhoneNumberLinkWrapper } from './PhoneNumberLinkWrapper';\n\nimport { IFundraiserSupporterProps, IStepFundraiserProp } from 'features/fundraiser/types/dashboard';\nimport { useIsUpcomingFundraiser } from 'features/fundraiser/hooks/useIsUpcomingFundraiser';\nimport { FinalOrderStatus, FundraiserStatus } from 'features/fundraiser/types/fundraiser';\n\nexport const CompleteYourProfile = () => {\n const [ t ] = useTranslation();\n return (\n \n { t('dashboard.steps.chairperson.step1.content')}\n \n );\n};\n\nexport const InviteSellers: React.FC = ({ fundraiser, idSuffix }) => (\n );\n\nexport const ManageYourSellers: React.FC = ({ fundraiser }) => {\n const [ t ] = useTranslation();\n return (\n <>\n \n {t('dashboard.steps.chairperson.step3.content') }\n \n \n \n {t('dashboard.steps.chairperson.step3.linkText')}\n \n \n \n );\n};\n\n// eslint-disable-next-line max-len\nexport const FundraiserSupporters: React.FC = ({\n fundraiser, idSuffix, sellerId, sellerSupportGuid,\n}) => {\n const [ t ] = useTranslation();\n const isFundraiserUpcoming = useIsUpcomingFundraiser(fundraiser);\n\n if (sellerSupportGuid && sellerId) {\n return (\n \n );\n } else {\n return (\n isFundraiserUpcoming ? (\n \n \n {t('dashboard.steps.chairperson.step4.checkBack')}\n \n \n ) : (\n <>\n \n {t('dashboard.steps.chairperson.step4.bodyText')}\n \n \n {t('dashboard.steps.chairperson.step4.buttonText')}\n \n \n )\n );\n }\n};\n\nexport const PromoteYourFundraiser = ({ fundraiser }) => {\n const [ t ] = useTranslation();\n const resourceHubUrl = t('dashboard.steps.chairperson.promoteYourFundraiser.linkUrl',\n { fundraiserId: fundraiser.Id });\n\n return (\n <>\n \n {t('dashboard.steps.chairperson.promoteYourFundraiser.content') }\n \n \n \n {t('dashboard.steps.chairperson.promoteYourFundraiser.linkText')}\n \n \n \n );\n};\n\nexport const ReceiveYourProfitCheck = ({ handleAddressModal, isExpired, isMissingProfitCheckAddress }) => {\n const [ t ] = useTranslation();\n\n const context = isMissingProfitCheckAddress ? 'NoAddress' : 'Address';\n\n const content = isExpired\n ? t('dashboard.steps.chairperson.receiveYourProfitCheck.fundraiserHasExpired', { context })\n : t('dashboard.steps.chairperson.receiveYourProfitCheck.content', { context });\n\n const linkText = t('dashboard.steps.chairperson.receiveYourProfitCheck.linkText', { context });\n\n const hideLink = isExpired && !isMissingProfitCheckAddress;\n\n return (\n <>\n \n {content}\n \n \n {hideLink\n ? null : (\n \n {linkText}\n \n )}\n \n \n );\n};\n\n// eslint-disable-next-line max-lines-per-function\nexport const PlaceFinalOrder = ({ fundraiser }) => {\n const [ t ] = useTranslation();\n const fundraiserStatus = FundraiserStatus[fundraiser.FundraiserStatus];\n const finalOrderDetails = fundraiser.FinalOrderDetails;\n const finalOrderStatus = _isNil(finalOrderDetails) ? null : FinalOrderStatus[finalOrderDetails.Status];\n\n const translationKey = 'dashboard.steps.chairperson.placeFinalOrder.message';\n let text = '';\n\n if (finalOrderStatus) {\n text = t(translationKey, {\n context: `${ finalOrderStatus }`,\n finalOrderDate: format(new Date(finalOrderDetails?.FinalOrderDate), 'MMMM d, yyyy'),\n });\n } else {\n text = t(translationKey, { context: 'Pending' });\n }\n\n const showViewFinalOrderText = finalOrderDetails?.Status === FinalOrderStatus.FinalOrderSubmitted ||\n finalOrderDetails?.Status === FinalOrderStatus.FinalOrderComplete;\n const linkHref = showViewFinalOrderText\n ? t('dashboard.steps.chairperson.placeFinalOrder.linkHrefView', { fundraiserId: fundraiser.Id })\n : t('dashboard.steps.chairperson.placeFinalOrder.linkHrefFinalize', { fundraiserId: fundraiser.Id });\n const disableFinalOrderLink = finalOrderDetails?.Status === FinalOrderStatus.Undefined ||\n finalOrderDetails?.Status === FinalOrderStatus.FinalOrderUpcoming;\n\n const showLink = finalOrderDetails?.Status !== FinalOrderStatus.FinalOrderOverdue;\n\n if (!_isNil(fundraiserStatus) && !_isNil(finalOrderStatus) && !!text && text !== translationKey) {\n return (\n <>\n \n \n \n\n \n {showLink && (\n disableFinalOrderLink && e.preventDefault() }\n sx={ {\n color: disableFinalOrderLink ? 'primaryGrayLight' : 'primaryOrange',\n textDecoration: 'none', fontWeight: 'bold', disabled: disableFinalOrderLink,\n ':hover': {\n color: disableFinalOrderLink ? 'primaryGrayLight' : 'primaryOrange',\n cursor: disableFinalOrderLink ? 'not-allowed' : 'pointer',\n },\n } }\n >\n {showViewFinalOrderText\n ? t('dashboard.steps.chairperson.placeFinalOrder.linkTextView')\n : t('dashboard.steps.chairperson.placeFinalOrder.linkTextFinalize')}\n \n )}\n \n \n );\n } else {\n return null;\n }\n};\n","/* eslint-disable max-len */\nimport React from 'react';\nimport { find as _find, map as _map } from 'lodash';\nimport { Box } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport DashboardStep from '../DashboardStep';\n\nimport {\n CompleteYourProfile,\n FundraiserSupporters,\n InviteSellers,\n ManageYourSellers,\n PlaceFinalOrder,\n PromoteYourFundraiser,\n ReceiveYourProfitCheck,\n} from './Components/Steps';\n\nimport { FundraiserType, useFetchSellerByFundraiserId } from 'features/fundraiser';\nimport { IStep, IStepFundraiserProp, PopoverType } from 'features/fundraiser/types/dashboard';\nimport { useBooleanFeature } from 'ui/components/hooks';\n\n// eslint-disable-next-line max-lines-per-function\nconst ChairpersonSteps: React.FC = ({ fundraiser, handleAddressModal, isMissingProfitCheckAddress }) => {\n const [ t ] = useTranslation();\n const { data: sellers } = useFetchSellerByFundraiserId(fundraiser.Id.toString());\n const isFundraiserExpiredOrCancelled = fundraiser.CancellationDate || fundraiser.IsExpired;\n\n const sellerSupportGuid = _find(sellers,\n seller => seller.CustomerId === fundraiser.ChairpersonCustomerId)?.SupportGuid;\n\n const sellerId = _find(sellers,\n seller => seller.CustomerId === fundraiser.ChairpersonCustomerId)?.Id;\n\n const hasSellerSupportGuidAndId = Boolean(sellerSupportGuid && sellerId);\n\n const chairpersonStepsByFundraiserType: Record = {\n DG: [\n {\n stepNumber: 1,\n hasInfo: false,\n title: t('dashboard.steps.chairperson.step1.title'),\n content: ,\n },\n {\n stepNumber: 2,\n title: t('dashboard.steps.chairperson.step2.title'),\n hasInfo: true,\n popupType: PopoverType.Seller,\n content: ,\n },\n {\n stepNumber: 3,\n title: t('dashboard.steps.chairperson.step3.title'),\n hasInfo: true,\n popupType: PopoverType.Manage,\n content: ,\n },\n {\n stepNumber: 4,\n title: hasSellerSupportGuidAndId ? t('dashboard.steps.chairperson.step4.title') : t('dashboard.steps.chairperson.step4.joinTitle'),\n hasInfo: hasSellerSupportGuidAndId,\n popupType: PopoverType.Buyer,\n content: ,\n },\n {\n stepNumber: 5,\n title: t('dashboard.steps.chairperson.promoteYourFundraiser.title'),\n hasInfo: false,\n popupType: PopoverType.Buyer,\n content: ,\n },\n ],\n SS: [\n {\n stepNumber: 1,\n hasInfo: false,\n title: t('dashboard.steps.chairperson.step1.title'),\n content: ,\n },\n {\n stepNumber: 2,\n title: t('dashboard.steps.chairperson.step2.title'),\n hasInfo: true,\n popupType: PopoverType.Seller,\n content: ,\n },\n {\n stepNumber: 3,\n title: t('dashboard.steps.chairperson.step3.title'),\n hasInfo: true,\n popupType: PopoverType.Manage,\n content: ,\n },\n {\n stepNumber: 4,\n title: hasSellerSupportGuidAndId ? t('dashboard.steps.chairperson.step4.title') : t('dashboard.steps.chairperson.step4.joinTitle'),\n hasInfo: hasSellerSupportGuidAndId,\n popupType: PopoverType.Buyer,\n content: ,\n },\n {\n stepNumber: 5,\n title: t('dashboard.steps.chairperson.promoteYourFundraiser.title'),\n hasInfo: false,\n popupType: PopoverType.Buyer,\n content: ,\n },\n ],\n MD: [\n {\n stepNumber: 1,\n hasInfo: false,\n title: t('dashboard.steps.chairperson.step1.title'),\n content: ,\n },\n {\n stepNumber: 2,\n title: t('dashboard.steps.chairperson.step2.title'),\n hasInfo: true,\n popupType: PopoverType.Seller,\n content: ,\n },\n {\n stepNumber: 3,\n title: t('dashboard.steps.chairperson.step3.title'),\n hasInfo: true,\n popupType: PopoverType.Manage,\n content: ,\n },\n {\n stepNumber: 4,\n title: hasSellerSupportGuidAndId ? t('dashboard.steps.chairperson.step4.title') : t('dashboard.steps.chairperson.step4.joinTitle'),\n hasInfo: hasSellerSupportGuidAndId,\n popupType: PopoverType.Buyer,\n content: ,\n },\n {\n stepNumber: 5,\n title: t('dashboard.steps.chairperson.receiveYourProfitCheck.title'),\n hasInfo: false,\n popupType: PopoverType.Buyer,\n content: ,\n borderStyle: isFundraiserExpiredOrCancelled && isMissingProfitCheckAddress ? 'solid 3px #ef0000' : undefined,\n },\n {\n stepNumber: 6,\n title: t('dashboard.steps.chairperson.promoteYourFundraiser.title'),\n hasInfo: false,\n popupType: PopoverType.Buyer,\n content: ,\n },\n ],\n BR: [\n {\n stepNumber: 1,\n hasInfo: false,\n title: t('dashboard.steps.chairperson.step1.title'),\n content: ,\n },\n {\n stepNumber: 2,\n title: t('dashboard.steps.chairperson.step2.title'),\n hasInfo: true,\n popupType: PopoverType.Seller,\n content: ,\n },\n {\n stepNumber: 3,\n title: t('dashboard.steps.chairperson.step3.title'),\n hasInfo: true,\n popupType: PopoverType.Manage,\n content: ,\n },\n {\n stepNumber: 4,\n title: hasSellerSupportGuidAndId ? t('dashboard.steps.chairperson.step4.title') : t('dashboard.steps.chairperson.step4.joinTitle'),\n hasInfo: hasSellerSupportGuidAndId,\n popupType: PopoverType.Buyer,\n content: ,\n },\n {\n stepNumber: 5,\n title: t('dashboard.steps.chairperson.promoteYourFundraiser.title'),\n hasInfo: false,\n popupType: PopoverType.Buyer,\n content: ,\n },\n {\n stepNumber: 6,\n title: t('dashboard.steps.chairperson.placeFinalOrder.title'),\n hasInfo: false,\n popupType: PopoverType.Buyer,\n content: ,\n },\n ],\n };\n\n const displayBrochureSteps = useBooleanFeature('fr_brochure_program_enabled').on;\n const isBrochureSteps = fundraiser.FundraiserType === FundraiserType.Brochure;\n if (!displayBrochureSteps && isBrochureSteps) {\n return null;\n }\n return (\n \n {_map(chairpersonStepsByFundraiserType[fundraiser.FundraiserType], (step, index) => (\n \n { step.content}\n \n ))}\n \n );\n};\n\nexport default ChairpersonSteps;\n","import {\n Button,\n Flex, Form, Option, Text, Spinner,\n} from '@lce/slice_v2';\nimport React from 'react';\nimport { useTranslation } from '@lce/i18n';\n\nimport { useFetchStates } from 'features/common';\n\n// eslint-disable-next-line max-lines-per-function\nconst ProfitCheckAddressForm = () => {\n const [ t ] = useTranslation();\n const [ stateIso, setStateIso ] = React.useState(undefined);\n const { data: states, isFetched: isStatesFetched } = useFetchStates(1);\n\n const onStateSelect = (e: React.ChangeEvent) => {\n setStateIso(e.currentTarget.value);\n };\n\n if (!isStatesFetched) {\n return (\n \n \n {t('fundraiser.ProfitCheckAddressModal.Title')}\n \n\n \n {t('fundraiser.ProfitCheckAddressModal.Subtitle')}\n \n \n \n );\n }\n\n return (\n \n\n \n {t('fundraiser.ProfitCheckAddressModal.Title')}\n \n\n \n {t('fundraiser.ProfitCheckAddressModal.Subtitle')}\n \n\n \n \n {t('fundraiser.ProfitCheckAddressModal.AllFieldsRequired')}\n \n \n {t('fundraiser.ProfitCheckAddressModal.MakeCheckPayableTo')}\n \n ) }\n name=\"profitCheckPayableTo\"\n variant=\"forms.fundraiser.field\"\n />\n \n {t('fundraiser.ProfitCheckAddressModal.Address')}\n \n ) }\n name=\"groupAddress\"\n variant=\"forms.fundraiser.field\"\n />\n \n {t('fundraiser.ProfitCheckAddressModal.City')}\n \n ) }\n name=\"groupCity\"\n variant=\"forms.fundraiser.field\"\n />\n \n {t('fundraiser.ProfitCheckAddressModal.State')}\n \n ) }\n name=\"groupState\"\n onChange={ e => onStateSelect(e) }\n value={ stateIso }\n variant=\"forms.fundraiser.field\"\n >\n \n {states && states.map(state => (\n \n ))}\n \n \n {t('fundraiser.ProfitCheckAddressModal.ZipCode')}\n \n ) }\n name=\"groupZipCode\"\n variant=\"forms.fundraiser.field\"\n />\n\n \n {t('fundraiser.ProfitCheckAddressModal.SubmitButtonText')}\n \n \n \n );\n};\n\nexport default ProfitCheckAddressForm;\n","import {\n Button,\n Flex, Text,\n} from '@lce/slice_v2';\nimport React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { CheckCircle } from 'react-feather';\n\nimport { ICheckAddressConfirmModalProps } from 'features/fundraiser/types/dashboard';\n\n// eslint-disable-next-line max-lines-per-function\nconst ProfitCheckAddressConfirm: React.FC = ({\n address, onEdit, isExpired, isMissingProfitCheckAddress,\n}: ICheckAddressConfirmModalProps) => {\n const [ t ] = useTranslation();\n const {\n profitCheckPayableTo, groupAddress, groupCity, groupState, groupZipCode,\n } = address;\n return (\n \n\n \n {t('fundraiser.ProfitCheckAddressModal.Title')}\n \n\n \n \n {' '}\n {t('fundraiser.ProfitCheckAddressModal.AddressReceived')}\n \n\n \n \n {t('fundraiser.ProfitCheckAddressModal.AddressReceivedSubtitle')}\n \n\n \n \n {t('fundraiser.ProfitCheckAddressModal.CheckMadePayableTo')}\n {': '}\n \n {profitCheckPayableTo}\n \n \n \n {t('fundraiser.ProfitCheckAddressModal.Address')}\n {': '}\n \n {groupAddress}\n \n \n \n {t('fundraiser.ProfitCheckAddressModal.City')}\n {': '}\n \n {groupCity}\n \n \n \n {t('fundraiser.ProfitCheckAddressModal.State')}\n {': '}\n \n {groupState}\n \n \n \n {t('fundraiser.ProfitCheckAddressModal.ZipCode')}\n {': '}\n \n {groupZipCode}\n \n \n \n\n {!isExpired && isMissingProfitCheckAddress && (\n \n {t('fundraiser.ProfitCheckAddressModal.EditButtonText')}\n \n )}\n \n \n );\n};\n\nexport default ProfitCheckAddressConfirm;\n","import {\n Flex, Form, IconButton, Modal as SliceModal,\n} from '@lce/slice_v2';\nimport * as Yup from 'yup';\nimport React, { useEffect, useMemo } from 'react';\nimport { X } from 'react-feather';\nimport { toast } from 'react-toastify';\nimport { useTranslation } from '@lce/i18n';\n\nimport { ProfitCheckAddressForm } from './ProfitCheckAddressForm.tsx';\nimport { ProfitCheckAddressConfirm } from './ProfitCheckAddressConfirm.tsx';\n\nimport { GenericToast } from 'ui/common';\nimport { useUpdateFundraiserProfitCheckAddress } from 'features/fundraiser/hooks/useUpdateFundraiserProfitCheckAddress';\nimport { FundraiserProfitCheckAddress } from 'features/fundraiser/types/fundraiser';\n\nexport interface IProfitCheckAddressModal {\n onClose: () => void;\n isOpen: boolean;\n fundraiserId: number;\n profitCheckData: FundraiserProfitCheckAddress | null;\n fundraiserHasExpired: boolean;\n isMissingProfitCheckAddress: boolean;\n showConfirmationDefault?: boolean;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst ProfitCheckAddressModal: React.FC = ({\n onClose, isOpen, profitCheckData, fundraiserHasExpired, isMissingProfitCheckAddress,\n fundraiserId, showConfirmationDefault = false,\n}) => {\n const [ showConfirmation, setShowConfirmation ] = React.useState(showConfirmationDefault);\n const { mutateAsync: updateProfitCheckAddress } = useUpdateFundraiserProfitCheckAddress();\n const [ t ] = useTranslation();\n\n const initialData: FundraiserProfitCheckAddress = useMemo(() => ({\n fundraiserId,\n profitCheckPayableTo: profitCheckData?.profitCheckPayableTo || '',\n groupAddress: profitCheckData?.groupAddress || '',\n groupCity: profitCheckData?.groupCity || '',\n groupState: profitCheckData?.groupState || '',\n groupZipCode: profitCheckData?.groupZipCode || '',\n }), [ profitCheckData, fundraiserId ]);\n\n const [ checkAddress, setCheckAddress ] = React.useState(initialData);\n\n useEffect(() => {\n setCheckAddress(initialData);\n\n if (fundraiserHasExpired && !isMissingProfitCheckAddress) {\n setShowConfirmation(true);\n }\n }, [ profitCheckData, initialData, fundraiserHasExpired, isMissingProfitCheckAddress ]);\n\n const onSubmit = async(data: FundraiserProfitCheckAddress) => {\n try {\n setCheckAddress(data);\n await updateProfitCheckAddress(data);\n toast();\n setShowConfirmation(true);\n } catch {\n toast();\n }\n };\n\n const handleOnEdit = () => {\n setShowConfirmation(!showConfirmation);\n };\n\n const validationSchema = Yup.object().shape({\n profitCheckPayableTo: Yup.string()\n .required(t('fundraiser.ProfitCheckAddressModal.formValidations.checkPayableRequired')),\n groupAddress: Yup.string().required(t('fundraiser.ProfitCheckAddressModal.formValidations.addressRequired')),\n groupCity: Yup.string().required(t('fundraiser.ProfitCheckAddressModal.formValidations.cityRequired')),\n groupState: Yup.string().required(t('fundraiser.ProfitCheckAddressModal.formValidations.stateRequired')),\n groupZipCode: Yup.string()\n .required(t('fundraiser.ProfitCheckAddressModal.formValidations.zipCodeRequired'))\n .matches(/^\\b\\d{5}\\b(?:[- ]{1}\\d{4})?$/, t('fundraiser.ProfitCheckAddressModal.formValidations.zipCodeInvalid')),\n });\n\n return (\n \n \n \n \n \n \n\n onSubmit(data) }\n validationSchema={ validationSchema }\n >\n {showConfirmation ? (\n \n ) : }\n \n\n \n );\n};\n\nexport default ProfitCheckAddressModal;\n","import { useMutation, useQueryClient } from 'react-query';\n\nimport { FundraiserProfitCheckAddress } from '../types/fundraiser';\nimport { updateFundraiserProfitCheckAddress } from '../api';\n\nimport { ApiError } from 'features/common';\nimport * as QueryKeys from 'constants/QueryKeys';\n\n// eslint-disable-next-line max-len\nexport const useUpdateFundraiserProfitCheckAddress = () => {\n const queryClient = useQueryClient();\n return useMutation(updateFundraiserProfitCheckAddress, {\n onSuccess: (_, variables) => {\n queryClient.invalidateQueries(`${ QueryKeys.Group }`);\n queryClient.invalidateQueries(`${ QueryKeys.FundraiserById }-${ variables.fundraiserId }`);\n },\n });\n};\n","import React from 'react';\nimport { Button } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\ninterface IProvideAddressBannerProps {\n onClick: () => void;\n}\n\nconst ProvideAddressBanner: React.FC = ({ onClick }) => {\n const [ t ] = useTranslation();\n\n return (\n \n {t('fundraiser.ProvideMailingAddressBanner')}\n \n );\n};\n\nexport default ProvideAddressBanner;\n","/* eslint-disable complexity */\n/* eslint-disable max-lines-per-function */\nimport React, { useEffect } from 'react';\nimport { Redirect, RouteComponentProps } from 'react-router-dom';\nimport { format } from 'date-fns';\nimport { useTranslation } from '@lce/i18n';\nimport _isNil from 'lodash/isNil';\nimport {\n Box, Flex, Spinner, Text,\n} from '@lce/slice_v2';\nimport { toast } from 'react-toastify';\n\nimport { useFetchChairpersonDashboardStatistics, useUserHasElevatedRoles } from 'features/fundraiser';\nimport { FundraiserStartCaesar, SellerProgress } from 'ui/fundraiser';\nimport { FundraiserNavigation } from 'ui/fundraiser/FundraiserNavigation';\nimport { DashboardHeader } from 'ui/fundraiser/DashboardHeader';\nimport ChairpersonSteps from 'ui/fundraiser/ChairpersonSteps/ChairpersonSteps';\nimport { Graphs, GraphsSkeleton } from 'ui/Graphs';\nimport { useFetchGroup } from 'features/fundraiser/hooks/useFetchGroup';\nimport { ProfitCheckAddressModal } from 'ui/fundraiser/ProfitCheckAddressModal';\nimport { ProvideAddressBanner } from 'ui/fundraiser/ProvideAddressBanner';\nimport { FundraiserProfitCheckAddress, FundraiserStatus, FundraiserType } from 'features/fundraiser/types/fundraiser';\nimport { hasIncompleteProfitCheckAddress } from 'features/fundraiser/utils/HasIncompleteProfitCheckAddress';\nimport { useIsUpcomingFundraiser } from 'features/fundraiser/hooks/useIsUpcomingFundraiser';\nimport { useStatefulFetchFundraiserById } from 'ui/hooks';\nimport { BackToDashboard } from 'ui/components';\n\ninterface MatchParams {\n fundraiserId: string;\n}\n\nexport type FundraiserDetailPageProps = RouteComponentProps\n\nconst FundraiserDetail: React.FC = ({ match }) => {\n const [ t ] = useTranslation();\n const {\n data: fundraiser, isLoading, isError, error,\n } = useStatefulFetchFundraiserById(match.params.fundraiserId);\n const { data: chairpersonStats, isLoading: isChairpersonStatsLoading } =\n useFetchChairpersonDashboardStatistics(Number(match.params.fundraiserId));\n const { data: groupDetail } = useFetchGroup(fundraiser?.GroupId.toString() || '');\n\n const [ isAddressModalOpen, setIsAddressModalOpen ] = React.useState(false);\n const [ fundraiserProfitCheckData, setFundraiserProfitCheckData ] =\n React.useState(null);\n\n const userCanViewPage = useUserHasElevatedRoles(fundraiser?.Relationships);\n\n const isFundraiserUpcoming = useIsUpcomingFundraiser(fundraiser);\n const isFundraiserCancelled = !_isNil(fundraiser?.CancellationDate);\n const isFundraiserUpcomingAndNotCancelled = isFundraiserUpcoming && !isFundraiserCancelled;\n const showGraphs = !(isFundraiserCancelled || isFundraiserUpcoming);\n const isFundraiserExpiredOrCancelled = isFundraiserCancelled || fundraiser?.IsExpired;\n\n const isMissingProfitCheckAddress = hasIncompleteProfitCheckAddress(fundraiser, groupDetail);\n const showProvideAddressBanner = isFundraiserExpiredOrCancelled && isMissingProfitCheckAddress;\n\n const formattedStartDate = fundraiser && format(new Date(fundraiser.StartDate), 'MM/dd/yyyy');\n const startingSoonMessage = t('fundraiser.StartingSoon',\n {\n context: `${ fundraiser?.FundraiserType }${ FundraiserStatus[fundraiser?.FundraiserStatus || 0] }`,\n formattedStartDate,\n });\n\n const handleAddressModal = () => {\n setIsAddressModalOpen(!isAddressModalOpen);\n };\n\n useEffect(() => {\n if (fundraiser && groupDetail) {\n setFundraiserProfitCheckData({\n fundraiserId: fundraiser.Id,\n profitCheckPayableTo: fundraiser.ProfitCheckPayableTo || '',\n groupAddress: groupDetail.GroupAddress?.Address1 || '',\n groupCity: groupDetail.GroupAddress?.City || '',\n groupState: groupDetail.GroupAddress?.StateProvinceIso || '',\n groupZipCode: groupDetail.GroupAddress?.ZipPostalCode || '',\n });\n }\n }, [ fundraiser, groupDetail ]);\n\n if (isError && error && error.Status === 404) {\n toast.error(t('dashboard.toast.fundraiserError'));\n return ;\n }\n if (isError && error && error.Status === 403) {\n toast.error(t('dashboard.toast.fundraiserError'));\n return ;\n }\n\n if ((isError || !fundraiser) && !isLoading) {\n toast.error(t('dashboard.toast.fundraiserError'));\n }\n\n if (!isLoading && !userCanViewPage) {\n return ;\n }\n\n return (\n \n \n\n \n \n\n {isLoading || !fundraiser\n ? : (\n <>\n {showProvideAddressBanner && }\n\n \n\n {fundraiser.FundraiserType === FundraiserType.Brochure &&\n }\n\n \n\n {isFundraiserUpcomingAndNotCancelled && }\n\n {showGraphs && (\n isChairpersonStatsLoading\n ? \n : chairpersonStats && (\n \n )\n )}\n\n \n\n {fundraiser.FundraiserType === FundraiserType.Brochure && (\n \n {t('fundraiser.brochureDisclaimer')}\n \n )}\n \n )}\n \n \n );\n};\n\nexport default FundraiserDetail;\n","import { FundraiserListItem, FundraiserType, Group } from '../types';\n\nexport const hasIncompleteProfitCheckAddress = (fundraiser: FundraiserListItem | undefined,\n group: Group | undefined) => {\n if (fundraiser?.FundraiserType !== FundraiserType.MealDeal) {\n return false;\n }\n\n const missingFields =\n !fundraiser ||\n !fundraiser.ProfitCheckPayableTo ||\n !group ||\n !group.GroupAddress ||\n !group.GroupAddress.Address1 ||\n !group.GroupAddress.City ||\n !group.GroupAddress.StateProvinceIso ||\n !group.GroupAddress.ZipPostalCode;\n\n return missingFields;\n};\n","/* eslint-disable max-len */\nimport React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport {\n Box, Link, Text,\n} from '@lce/slice_v2';\n\nimport Invite from '../Invite';\n\nimport { IFundraiserSupporterProps } from 'features/fundraiser/types/dashboard';\nimport { FundraiserType } from 'features/fundraiser';\n\nexport const CompleteYourProfile = () => {\n const [ t ] = useTranslation();\n return (\n \n {t('dashboard.steps.seller.step1.content')}\n \n );\n};\n\nexport const InviteFriendsAndFamily: React.FC = ({\n fundraiser, idSuffix, sellerId, sellerSupportGuid,\n}) => {\n const [ t ] = useTranslation();\n return (\n \n );\n};\n\nexport const PromoteYourFundraiser = ({ fundraiser, customerId }) => {\n const [ t ] = useTranslation();\n const resourceHubUrl = t('dashboard.steps.seller.promoteYourFundraiser.linkUrl',\n { fundraiserId: fundraiser.Id, customerId });\n\n return (\n <>\n \n {t('dashboard.steps.seller.promoteYourFundraiser.content') }\n \n \n {fundraiser.FundraiserType !== FundraiserType.Brochure && (\n \n {t('dashboard.steps.seller.promoteYourFundraiser.linkText')}\n \n )}\n \n \n );\n};\n","/* eslint-disable max-len */\n/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport { Box } from '@lce/slice_v2';\nimport { map as _map } from 'lodash';\nimport { useTranslation } from '@lce/i18n';\n\nimport DashboardStep from '../DashboardStep';\n\nimport {\n CompleteYourProfile,\n InviteFriendsAndFamily,\n PromoteYourFundraiser,\n} from './Steps';\n\nimport { ISellerStepsProps, IStep, PopoverType } from 'features/fundraiser/types/dashboard';\n\nconst SellerSteps: React.FC = ({\n fundraiser, sellerId, supportGuid, customerId,\n}) => {\n const [ t ] = useTranslation();\n\n const sellerStepsByFundraiserType: Record = {\n DG: [\n {\n stepNumber: 1,\n hasInfo: false,\n title: t('dashboard.steps.seller.step1.title'),\n content: ,\n },\n {\n stepNumber: 2,\n title: t('dashboard.steps.seller.step2.title'),\n hasInfo: true,\n popupType: PopoverType.FriendFamily,\n content: ,\n },\n {\n stepNumber: 3,\n title: t('dashboard.steps.seller.promoteYourFundraiser.title'),\n hasInfo: false,\n popupType: PopoverType.Manage,\n content: ,\n },\n ],\n SS: [\n {\n stepNumber: 1,\n hasInfo: false,\n title: t('dashboard.steps.seller.step1.title'),\n content: ,\n },\n {\n stepNumber: 2,\n title: t('dashboard.steps.seller.step2.title'),\n hasInfo: true,\n popupType: PopoverType.FriendFamily,\n content: ,\n },\n {\n stepNumber: 3,\n title: t('dashboard.steps.seller.promoteYourFundraiser.title'),\n hasInfo: false,\n popupType: PopoverType.Manage,\n content: ,\n },\n ],\n MD: [\n {\n stepNumber: 1,\n hasInfo: false,\n title: t('dashboard.steps.seller.step1.title'),\n content: ,\n },\n {\n stepNumber: 2,\n title: t('dashboard.steps.seller.step2.title'),\n hasInfo: true,\n popupType: PopoverType.FriendFamily,\n content: ,\n },\n {\n stepNumber: 3,\n title: t('dashboard.steps.seller.promoteYourFundraiser.title'),\n hasInfo: false,\n popupType: PopoverType.Manage,\n content: ,\n },\n ],\n BR: [\n {\n stepNumber: 1,\n hasInfo: false,\n title: t('dashboard.steps.seller.step1.title'),\n content: ,\n },\n {\n stepNumber: 2,\n title: t('dashboard.steps.seller.step2.title'),\n hasInfo: true,\n popupType: PopoverType.FriendFamily,\n content: ,\n },\n {\n stepNumber: 3,\n title: t('dashboard.steps.seller.promoteYourFundraiser.title'),\n hasInfo: false,\n popupType: PopoverType.Manage,\n content: ,\n },\n ],\n };\n\n return (\n \n { _map(sellerStepsByFundraiserType[fundraiser.FundraiserType], (step, index) => (\n \n { step.content }\n \n ))}\n \n );\n};\n\nexport default SellerSteps;\n","/* eslint-disable max-len */\n/* eslint-disable complexity */\n/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport { Box, Flex, Spinner } from '@lce/slice_v2';\nimport { Redirect, RouteComponentProps } from 'react-router-dom';\nimport { useTranslation } from 'react-i18next';\nimport { toast } from 'react-toastify';\n\nimport {\n FundraiserType, useUserHasElevatedRoles, useFetchSeller, useFetchSellerDashboardStatistics,\n} from 'features/fundraiser';\nimport { Graphs, GraphsSkeleton } from 'ui/Graphs';\nimport { DashboardHeader } from 'ui/fundraiser/DashboardHeader';\nimport { FundraiserNavigation } from 'ui/fundraiser/FundraiserNavigation';\nimport { SellerSteps } from 'ui/fundraiser/SellerSteps';\nimport { useIsUpcomingFundraiser } from 'features/fundraiser/hooks/useIsUpcomingFundraiser';\nimport { BackToDashboard } from 'ui/components';\nimport { SellerProgress } from 'ui/fundraiser';\nimport { useStatefulFetchFundraiserById } from 'ui/hooks';\n\nexport interface MatchParams {\n fundraiserId: string;\n customerId: string;\n}\n\nexport type SellerDetailMode = 'preview' | 'edit';\n\nexport type ISellerDetailProps = RouteComponentProps;\n\nconst SellerDetail: React.FC = ({ match }) => {\n const [ t ] = useTranslation();\n const fundraiserId = parseInt(match.params.fundraiserId);\n const customerId = parseInt(match.params.customerId);\n const {\n data: seller, isLoading: isSellerLoading, isError: isSellerError, error: sellerError,\n } = useFetchSeller(fundraiserId, customerId);\n const {\n data: fundraiser, isLoading: isFundraiserLoading, isError: isFundraiserError, error: fundraiserError,\n } = useStatefulFetchFundraiserById(match.params.fundraiserId);\n const { data: sellerStats, isLoading: isSellerStatsLoading } = useFetchSellerDashboardStatistics(seller?.Id || 0);\n const isFundraiserUpcoming = useIsUpcomingFundraiser(fundraiser);\n const isFundraiserCancelled = !!fundraiser?.CancellationDate;\n const showChart = !(isFundraiserCancelled || isFundraiserUpcoming);\n\n const userCanViewChairpesonDashboard = useUserHasElevatedRoles(fundraiser?.Relationships);\n\n const showBackToSellers = fundraiser && userCanViewChairpesonDashboard;\n\n if (isSellerError && sellerError && sellerError.Status === 404) {\n toast.error(t('dashboard.toast.sellerError'));\n return ;\n }\n if (isFundraiserError && fundraiserError && fundraiserError.Status === 404) {\n toast.error(t('dashboard.toast.fundraiserError'));\n return ;\n }\n\n if (isSellerError && sellerError && sellerError.Status === 403) {\n toast.error(t('dashboard.toast.sellerError'));\n return ;\n }\n if (isFundraiserError && fundraiserError && fundraiserError.Status === 403) {\n toast.error(t('dashboard.toast.fundraiserError'));\n return ;\n }\n\n if ((isSellerError || !seller) && !isSellerLoading) {\n toast.error(t('dashboard.toast.sellerError'));\n }\n if ((isFundraiserError || !fundraiser) && !isFundraiserLoading) {\n toast.error(t('dashboard.toast.fundraiserError'));\n }\n\n return (\n \n \n\n \n \n {seller && fundraiser && !isSellerLoading && !isFundraiserLoading ? (\n <>\n {fundraiser.FundraiserType === FundraiserType.Brochure &&\n }\n\n \n\n {showChart && (\n isSellerStatsLoading\n ? \n : sellerStats && \n )}\n\n { !fundraiser.IsExpired && !isFundraiserCancelled &&\n }\n \n ) : }\n \n \n );\n};\n\nexport default SellerDetail;\n","import React from 'react';\nimport {\n Box, Button, Flex, Heading, Text,\n} from '@lce/slice_v2';\nimport { RouteComponentProps } from 'react-router-dom';\nimport { useTranslation } from '@lce/i18n';\n\nimport { useFetchFundraiserSellerSummary, useFundraiserSellerSummaryExcel } from 'features/fundraiser';\nimport { SellerSummaryListItem } from 'ui/fundraiser';\n\ninterface MatchParams {\n fundraiserId: string;\n}\n\ntype FundraiserSellerReportType = RouteComponentProps;\n\n// eslint-disable-next-line max-lines-per-function\nconst FundraiserSellerReport: React.FC = ({ match }) => {\n const [ t ] = useTranslation();\n const { data: report, isError } = useFetchFundraiserSellerSummary(parseInt(match.params.fundraiserId));\n\n const { refetch } = useFundraiserSellerSummaryExcel(parseInt(match.params.fundraiserId));\n\n const onClickHandler = () => {\n refetch();\n };\n\n if (isError) {\n return (\n Something went wrong when retrieving your summary. Please try again later or call customer support.\n );\n }\n\n return (\n \n { report && (\n <>\n \n \n \n \n {t('fundraiserReport.SellerReport')}\n \n {report.FundraiserName}\n \n \n {`Fundraiser ID: ${ report.FundraiserId }`}\n \n \n \n \n {t('fundraiserReport.Download')}\n \n \n \n { report.FundraiserSellerSummary\n .map(data => )}\n \n )}\n \n );\n};\n\nexport default FundraiserSellerReport;\n\n","/* eslint-disable max-len */\nimport React, { useMemo, useState } from 'react';\nimport {\n Box, Button, Container, Flex, Heading, Spinner, Text,\n} from '@lce/slice_v2';\nimport {\n Redirect,\n RouteComponentProps,\n} from 'react-router-dom';\nimport { useTranslation } from '@lce/i18n';\nimport { useOktaAuth } from '@okta/okta-react';\nimport { toast } from 'react-toastify';\n\nimport {\n FundraiserInfo, ChairpersonInfo, Fundraiser, useUserHasElevatedRoles,\n} from 'features/fundraiser';\nimport { useUserInfo } from 'features/common';\nimport ChairpersonDetails from 'ui/fundraiser/NewFundraiserForm/ChairpersonDetails/ChairpersonDetails';\nimport { FundraiserDetails } from 'ui/fundraiser/NewFundraiserForm/FundraiserDetails';\nimport { useFetchFundraiserFormData } from 'features/fundraiser/hooks/useFetchFundraiser';\nimport { useUpdateFundraiserFormData } from 'features/fundraiser/hooks/useUpdateFundraiserFormData';\nimport { GenericToast } from 'ui/common';\nimport { FundraiserNavigation } from 'ui/fundraiser/FundraiserNavigation';\nimport { FundraiserProfitCheckAddress, FundraiserType } from 'features/fundraiser/types/fundraiser';\nimport { useStatefulFetchFundraiserById } from 'ui/hooks';\nimport { InlineLinkParseAndReplace } from 'ui/components';\n\ninterface MatchParams {\n fundraiserId: string;\n}\n\ntype FundraiserEditPageProps = RouteComponentProps\n\n// eslint-disable-next-line max-lines-per-function, complexity\nconst FundraiserEditPage: React.FC = ({ match }) => {\n const [ t ] = useTranslation();\n const { authState } = useOktaAuth();\n const { data: userInfo } = useUserInfo(authState.isAuthenticated);\n const { data: fundraiser, isLoading: isFundraiserLoading } = useStatefulFetchFundraiserById(match.params.fundraiserId);\n\n const [ fundraiserId ] = useState(parseInt(match.params.fundraiserId));\n const { data: formData, isLoading: isFormLoading } = useFetchFundraiserFormData(fundraiserId);\n const { mutateAsync: updateFormData, isLoading } = useUpdateFundraiserFormData();\n const [ fundraiserDetails, setFundraiserDetails ] = useState(false);\n const [ chairpersonDetails, setChairpersonDetails ] = useState(false);\n\n // eslint-disable-next-line max-len\n const [ fundraiserDetailFormData, setFundraiserDetailFormData ] = useState(formData?.Info);\n const [ chairpersonFormData, setChairpersonFormData ] = useState();\n\n const userCanViewPage = useUserHasElevatedRoles(fundraiser?.Relationships);\n const isBrochure = fundraiser?.FundraiserType === FundraiserType.Brochure;\n\n const profitCheckInfo: FundraiserProfitCheckAddress = {\n fundraiserId: fundraiser?.Id || 0,\n profitCheckPayableTo: fundraiser?.ProfitCheckPayableTo || '',\n groupAddress: fundraiserDetailFormData?.GroupAddress1 || '',\n groupCity: fundraiserDetailFormData?.GroupCity || '',\n groupState: fundraiserDetailFormData?.GroupState || '',\n groupZipCode: fundraiserDetailFormData?.GroupZip || '',\n };\n\n useMemo(() => {\n if (formData) {\n setFundraiserDetailFormData({\n ...formData?.Info,\n SalesAgentCode: formData?.SalesAgentCode || '',\n DeliveryInfo: formData?.DeliveryInfo,\n });\n setChairpersonFormData(formData?.Chairperson);\n }\n }, [ formData ]);\n\n const onUpdateHandler = async() => {\n if (fundraiserDetailFormData && chairpersonFormData) {\n const fundraiser: Fundraiser = {\n Id: fundraiserId,\n Info: fundraiserDetailFormData,\n Chairperson: chairpersonFormData,\n SalesAgentCode: fundraiserDetailFormData.SalesAgentCode,\n FederalTaxId: fundraiserDetailFormData.FederalTaxId || '',\n ProfitCheckPayableTo: '',\n };\n\n const data = await updateFormData(fundraiser);\n if (data) {\n toast(, { position: 'top-center' });\n } else {\n toast(, { position: 'top-center' });\n }\n }\n };\n\n if (isFormLoading || !formData?.Info || !formData?.Chairperson) {\n return (\n \n \n \n );\n }\n\n if (!isFundraiserLoading && !userCanViewPage) {\n return ;\n }\n\n return (\n \n \n \n {isBrochure ? t('fundraiser.FundraiserDetails') : t('fundraiser.EditFundraiser')}\n \n\n setFundraiserDetails(true) }\n onNext={ (info: FundraiserInfo) => {\n setFundraiserDetailFormData(info);\n setFundraiserDetails(false);\n } }\n profitCheckInfo={ profitCheckInfo }\n showEdit={ !isBrochure }\n />\n\n setChairpersonDetails(false) }\n onEdit={ () => setChairpersonDetails(true) }\n onNext={ (info: ChairpersonInfo) => {\n setChairpersonFormData(info);\n setChairpersonDetails(false);\n } }\n showEdit={ !isBrochure }\n />\n\n \n \n { isLoading ? (\n \n ) : 'Update' }\n \n \n {isBrochure && (\n \n \n \n )}\n \n );\n};\n\nexport default FundraiserEditPage;\n","import { useMutation } from 'react-query';\n\nimport { Fundraiser } from '..';\nimport { updateFundraiserFormData } from '../api';\n\nimport { ApiError } from 'features/common';\n\nexport const useUpdateFundraiserFormData = () => useMutation(updateFundraiserFormData);\n","/* eslint-disable max-lines-per-function */\n/* eslint-disable max-len */\nimport React, { useEffect, useState } from 'react';\nimport {\n Box, Container, Form, Heading, Spinner, Text,\n} from '@lce/slice_v2';\nimport { Redirect, RouteComponentProps } from 'react-router-dom';\nimport { useTranslation } from '@lce/i18n';\nimport { useOktaAuth } from '@okta/okta-react';\nimport { Search } from 'react-feather';\n\nimport { useUserInfo } from 'features/common';\nimport {\n FundraiserRelationship, useUserHasElevatedRoles, useFetchSellerByFundraiserId,\n FundraiserType,\n} from 'features/fundraiser';\nimport { useFetchFundraiserFormData } from 'features/fundraiser/hooks/useFetchFundraiser';\nimport { FundraiserNavigation } from 'ui/fundraiser/FundraiserNavigation';\nimport { sellersFilter } from 'features/fundraiser/utils/GenerateFilteredSellersUtil';\nimport { SellerStatus } from 'ui/fundraiser';\nimport { RouterLink } from 'ui/common';\nimport { useStatefulFetchFundraiserById } from 'ui/hooks';\n\ninterface MatchParams {\n fundraiserId: string;\n}\n\nexport type ManageSellersPageProps = RouteComponentProps\n\nconst ManageSellersPage: React.FC = ({ match }) => {\n const [ t ] = useTranslation();\n const { authState } = useOktaAuth();\n const { data: user } = useUserInfo(authState.isAuthenticated);\n const { data: fundraiser, isLoading: isFundraiserLoading } = useStatefulFetchFundraiserById(match.params.fundraiserId);\n const isBrochureFundraiser = fundraiser?.FundraiserType === FundraiserType.Brochure;\n const { data: sellers } = useFetchSellerByFundraiserId(match.params.fundraiserId);\n const [ fundraiserId ] = useState(parseInt(match.params.fundraiserId));\n const { data: formData, isLoading: isFormLoading } = useFetchFundraiserFormData(fundraiserId);\n const [ filteredSellers, setFilteredSellers ] = useState(sellers || []);\n\n useEffect(() => {\n setFilteredSellers(sellers || []);\n }, [ sellers ]);\n const isChairpersonRole = useUserHasElevatedRoles(fundraiser?.Relationships);\n\n if (isFormLoading || !formData?.Info || !formData?.Chairperson) {\n return (\n \n \n \n );\n }\n\n if (!isFundraiserLoading && !isChairpersonRole) {\n return ;\n }\n\n return (\n \n \n {isChairpersonRole && (\n \n sellersFilter(e.target.value, setFilteredSellers, sellers || []) }\n placeholder=\"Search\"\n sx={ { width: [ '100%', '380px' ] } }\n variant=\"search\"\n />\n \n \n \n {!isBrochureFundraiser && (\n \n {t('dashboard.DownloadSellerReport')}\n \n )}\n \n )}\n \n {t('dashboard.ManageSellersPage.ActiveSellers')}\n \n {isBrochureFundraiser && (\n \n {t('dashboard.ManageSellersPage.BrochureDisclaimer')}\n \n )}\n \n {sellers ? ( r === FundraiserRelationship.CHAIRPERSON) !== undefined } sellers={ filteredSellers } userId={ user?.Id } />) : (
)}\n \n \n );\n};\n\nexport default ManageSellersPage;\n","/* eslint-disable max-len */\nimport { Seller } from 'features/fundraiser/types/seller';\n\nexport const sellersFilter = (searchValue: string,\n setFilteredSellers: React.Dispatch>,\n sellers: Seller[]) => {\n const fullNameSpace = ' ';\n\n if (searchValue?.length > 0) {\n const result = sellers?.filter(\n seller => seller?.FirstName?.trim().toLowerCase().includes(searchValue.toLowerCase()) ||\n seller?.LastName?.trim().toLowerCase().includes(searchValue.toLowerCase()) ||\n seller?.LastInitial?.trim().toLowerCase().includes(searchValue.toLowerCase()) ||\n seller?.FirstName?.concat(fullNameSpace, seller?.LastInitial).trim().toLowerCase().includes(searchValue.toLowerCase()) ||\n seller?.FirstName?.concat(fullNameSpace, seller?.LastName).trim().toLowerCase().includes(searchValue.toLowerCase()) ||\n seller?.FirstName?.concat(fullNameSpace, seller?.LastName, fullNameSpace, seller?.LastInitial).trim().toLowerCase().includes(searchValue.toLowerCase()));\n setFilteredSellers(result || []);\n } else {\n setFilteredSellers(sellers || []);\n }\n};\n","/* eslint-disable no-confusing-arrow */\n/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport { RouteComponentProps } from 'react-router-dom';\n\nimport { ResourceHubPage as ResourceHubWrapper } from 'ui/fundraiser/ResourceHub/ResourceHubPage';\nimport { ResourceHub } from 'ui/fundraiser/ResourceHub';\nimport { MatchParams } from 'ui/fundraiser/ResourceHub/hooks';\n\ntype ResourceHubPageProps = RouteComponentProps\n\nconst ResourceHubPage: React.FC = props => (\n \n {({\n resourceHubData, fundraiser, sellerSupportGuid, userIsChairperson, isChairpersonResourceHub,\n }) => userIsChairperson && isChairpersonResourceHub\n ? (\n \n )\n : (\n \n )}\n\n \n);\n\nexport default ResourceHubPage;\n","import React from 'react';\nimport {\n Box, Button, Flex, Heading, Image, Spinner, Text,\n} from '@lce/slice_v2';\nimport { match } from 'react-router-dom';\nimport { useTranslation } from '@lce/i18n';\nimport { DescriptionOutlined } from '@material-ui/icons';\nimport { toast } from 'react-toastify';\n\nimport anouncerCaesarMan from 'assets/images/Announcer-Caesar-Man.png';\nimport { FundraiserNavigation } from 'ui/fundraiser/FundraiserNavigation';\nimport { Step } from 'ui/common';\nimport { useStatefulFetchFundraiserById } from 'ui/hooks';\nimport { FundraiserStatus } from 'features/fundraiser/types/fundraiser';\nimport { useFetchOnlineOrderReport } from 'features/fundraiser';\n\ninterface MatchParams {\n fundraiserId: string;\n}\n\nexport type ViewAndPrintProps = {\n match: match;\n testId?: string;\n}\n\nexport const dataTestIdViewAndPrint = 'view-and-print-component';\n\n// eslint-disable-next-line max-lines-per-function\nexport const ViewAndPrint: React.FC = ({\n match,\n testId = dataTestIdViewAndPrint,\n}) => {\n const [ t ] = useTranslation();\n const fundraiserId = match.params.fundraiserId;\n\n const { refetch } = useFetchOnlineOrderReport(parseInt(fundraiserId));\n\n const onClickDownload = () => {\n refetch();\n };\n\n const {\n data: fundraiser,\n isLoading: isFundraiserDataLoading,\n isError: fundraiserFetchError,\n } = useStatefulFetchFundraiserById(fundraiserId);\n\n if (isFundraiserDataLoading) {\n return (\n <>\n \n \n \n \n \n );\n }\n\n if (fundraiserFetchError || !fundraiser) {\n toast.error(t('dashboard.viewAndPrint.toast.error'));\n return ;\n }\n\n return (\n <>\n \n {fundraiser.FundraiserStatus === FundraiserStatus.Pending ? (\n \n \"Caesar\n \n {t('dashboard.viewAndPrint.pending.header')}\n \n \n {t('dashboard.viewAndPrint.pending.instructions')}\n \n \n ) : (\n \n \n {t('dashboard.viewAndPrint.header')}\n \n \n {t('dashboard.viewAndPrint.instructions')}\n \n \n \n \n \n \n {t('dashboard.viewAndPrint.pdfName')}\n \n \n \n \n \n \n {t('dashboard.viewAndPrint.mealDealDisclaimer')}\n \n \n \n {t('dashboard.viewAndPrint.note')}\n \n \n \n )}\n \n );\n};\n\n","/* eslint-disable max-lines-per-function */\nimport React, { useState } from 'react';\nimport {\n Box,\n Card, Flex, Image, Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport DownloadIcon from '../assets/vector.svg';\n\nexport interface IImageDownloadCard {\n imageSrc: string;\n name?: string;\n}\nexport const ImageDownloadCard: React.FC = ({ imageSrc, name }) => {\n const [ isHovered, setIsHovered ] = useState(false);\n const [ t ] = useTranslation();\n const imageText = t(`ResourceHub.BrochureHub.DownloadableGraphics.${ name }`);\n\n return (\n \n setIsHovered(true) }\n onMouseLeave={ () => setIsHovered(false) }\n sx={ {\n position: 'relative',\n borderRadius: '10px',\n border: 'solid 1px #c4c4c4',\n overflow: 'hidden',\n minHeight: '150px',\n alignContent: 'center',\n mb: '4px',\n } }\n >\n \n { isHovered && (\n \n \n \n )}\n \n \n { imageText }\n \n \n );\n};\n\nexport default ImageDownloadCard;\n","import React from 'react';\nimport { map as _map } from 'lodash';\n\nimport HundredVirtual from '../assets/100Virtual,1000Easy.png';\nimport BestLunchEver from '../assets/Best Lunch Ever.png';\nimport BigShoutOut from '../assets/Big Shout Out.jpg';\nimport PizzaKitRuleOne from '../assets/Pizza Kit Rule1.jpg';\nimport PizzaOnMobile from '../assets/Pizza on Mobile.png';\nimport FundraisingWithPizzaKits from '../assets/Little Caesar Fundraising with Pizza Kits and Caesar.png';\nimport PizzaKitsDelivered from '../assets/Pizza Kits Delivered.png';\nimport PizzaHeart from '../assets/Pizza heart.png';\nimport Picasso from '../assets/Pizza_Picasso_485x275.png';\nimport FundraisingOnDesktop from '../assets/Little Caesar Fundraising on Computer Monitor.png';\nimport CaesarMagnifyingGlass from '../assets/Caesar Man with Magnifying Glass.png';\nimport FundraisingMobilePhone from '../assets/Little Caesar Fundraising on Mobile Phone.png';\nimport Logo from '../assets/Little Caesar Fundraising logo.png';\nimport LetsTalkPizza from '../assets/Lets Talk Pizza.jpg';\nimport CaesarClock from '../assets/Caesar Man on Clock.png';\nimport CaesarCash from '../assets/Caesar Man with Cash.png';\nimport CaesarTrophy from '../assets/Caesar Man with Trophy.png';\nimport DoYouSmellPizza from '../assets/Do_You_Smell_Pizza_485x275.png';\nimport EasiestFundraiserEver from '../assets/EasiestFundraiserEver v2.png';\nimport FundraiseWithPizza from '../assets/Fundraise with Pizza - You Betcha.png';\nimport GetTheWordOut from '../assets/Get_The_Word_Out_485x275.png';\nimport ItsComing from '../assets/Its coming.jpg';\nimport ItsPizzaTime from '../assets/Its_Pizza_Time_485x275.png';\nimport JoinOurFundraiser from '../assets/Join Our Fundraiser.jpg';\nimport ThankYou from '../assets/Thank You 2.png';\nimport DeserveAHand from '../assets/Deserve_A_Hand.png';\nimport YayVertical from '../assets/YAY - Clap.jpg';\nimport YayWide from '../assets/Yay_Wide.png';\nimport Yum from '../assets/Yum_O_485x275.png';\nimport { IImageDownloadCard, ImageDownloadCard } from '../ImageDownloadCard';\n\nconst ImageGraphicsArr: IImageDownloadCard[] = [\n {\n imageSrc: HundredVirtual,\n name: 'HundredVirtual',\n },\n {\n imageSrc: BestLunchEver,\n name: 'BestLunchEver',\n },\n {\n imageSrc: BigShoutOut,\n name: 'BigShoutOut',\n },\n {\n imageSrc: PizzaKitRuleOne,\n name: 'PizzaKitRuleOne',\n },\n {\n imageSrc: PizzaOnMobile,\n name: 'PizzaOnMobile',\n },\n {\n imageSrc: FundraisingWithPizzaKits,\n name: 'FundraisingWithPizzaKits',\n },\n {\n imageSrc: PizzaKitsDelivered,\n name: 'PizzaKitsDelivered',\n },\n {\n imageSrc: PizzaHeart,\n name: 'PizzaHeart',\n },\n {\n imageSrc: Picasso,\n name: 'Picasso',\n },\n {\n imageSrc: FundraisingOnDesktop,\n name: 'FundraisingOnDesktop',\n },\n {\n imageSrc: CaesarMagnifyingGlass,\n name: 'CaesarMagnifyingGlass',\n },\n {\n imageSrc: FundraisingMobilePhone,\n name: 'FundraisingMobilePhone',\n },\n {\n imageSrc: Logo,\n name: 'Logo',\n },\n {\n imageSrc: LetsTalkPizza,\n name: 'LetsTalkPizza',\n },\n {\n imageSrc: CaesarClock,\n name: 'CaesarClock',\n },\n {\n imageSrc: CaesarCash,\n name: 'CaesarCash',\n },\n {\n imageSrc: CaesarTrophy,\n name: 'CaesarTrophy',\n },\n {\n imageSrc: DoYouSmellPizza,\n name: 'DoYouSmellPizza',\n },\n {\n imageSrc: EasiestFundraiserEver,\n name: 'EasiestFundraiserEver',\n },\n {\n imageSrc: FundraiseWithPizza,\n name: 'FundraiseWithPizza',\n },\n {\n imageSrc: GetTheWordOut,\n name: 'GetTheWordOut',\n },\n {\n imageSrc: ItsComing,\n name: 'ItsComing',\n },\n {\n imageSrc: ItsPizzaTime,\n name: 'ItsPizzaTime',\n },\n {\n imageSrc: JoinOurFundraiser,\n name: 'JoinOurFundraiser',\n },\n {\n imageSrc: ThankYou,\n name: 'ThankYou',\n },\n {\n imageSrc: DeserveAHand,\n name: 'DeserveAHand',\n },\n {\n imageSrc: YayVertical,\n name: 'YayVertical',\n },\n {\n imageSrc: YayWide,\n name: 'YayWide',\n },\n {\n imageSrc: Yum,\n name: 'Yum',\n },\n];\n\nexport const DisplayAllGraphics = () => (\n <>\n { _map(ImageGraphicsArr, (image, index) => (\n \n ))}\n \n);\n","import React from 'react';\nimport { RouteComponentProps } from 'react-router-dom';\nimport {\n Box, Flex, Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { GoBackLink } from '../components';\n\nimport { DisplayAllGraphics } from './DisplayAllGraphics';\n\nimport { FundraiserNavigation } from 'ui/fundraiser/FundraiserNavigation';\n\ninterface MatchParams {\n fundraiserId: string;\n customerId?: string;\n}\n\nexport const DownloadableGraphicsPage: React.FC> = ({ match }) => {\n const [ t ] = useTranslation();\n return (\n <>\n \n \n \n {t('ResourceHub.BrochureHub.GoBackText')}\n \n \n {t('ResourceHub.BrochureHub.DownloadableGraphics.Title')}\n \n \n {t('ResourceHub.BrochureHub.DownloadableGraphics.SubTitle')}\n \n \n \n \n \n {t('ResourceHub.BrochureHub.GoBackText')}\n \n \n \n );\n};\n","import React from 'react';\nimport {\n RouteProps, Switch, useRouteMatch, useHistory,\n Redirect,\n} from 'react-router-dom';\nimport { Box, Container, Spinner } from '@lce/slice_v2';\nimport { useOktaAuth } from '@okta/okta-react';\nimport { useFeature } from '@growthbook/growthbook-react';\n\nimport { BrochureResourceHubChairpersonPage } from '../../ui/fundraiser/ResourceHub/BrochureResourceHubChairpersonPage';\nimport {\n BrochureResourceHubEmailTemplatesPage,\n} from '../../ui/fundraiser/ResourceHub/BrochureResourceHubEmailTemplatesPage';\n\nimport { FundraiserList } from './myFundraisers/fundraiserList';\nimport { FinalOrderPage } from './myFundraisers/final-order-page';\nimport Reports from './reports';\nimport Orders from './orders';\nimport Settings from './settings';\nimport { FundraiserConfirmation } from './myFundraisers/fundraiserConfirmation';\nimport { FundraiserDetail } from './myFundraisers/fundraiserDetail';\nimport { SellerDetail } from './sellerDetail';\nimport FundraiserSellerReport from './fundraiserSellerReport';\nimport FundraiserEdit from './myFundraisers/fundraiserEdit';\nimport ManageSellersPage from './myFundraisers/fundraiserManageSellers';\nimport ResourceHubPage from './myFundraisers/resourceHub';\nimport { ViewAndPrint } from './myFundraisers/view-and-print';\n\nimport * as FundraiserDefaults from 'constants/FundraiserDefaults';\nimport { NoLayout } from 'ui/common';\nimport { useUserInfo } from 'features/common/hooks/useUserInfo';\nimport { UserInfo } from 'features/common/types/userInfo';\nimport { BuyerList } from 'ui/sellerDetail/BuyerList';\nimport { PrivateRouteWrapper, RouteWrapper } from 'ui/routing';\nimport { DownloadableGraphicsPage } from 'ui/fundraiser/ResourceHub/DownloadableGraphicsPage';\n\nexport type IDashboardProps = RouteProps\n\n// eslint-disable-next-line max-lines-per-function\nconst Dashboard: React.FC = () => {\n const { path } = useRouteMatch();\n const history = useHistory();\n const isBrochureProgramEnabled = useFeature('fr_brochure_program_enabled').on;\n\n const { authState } = useOktaAuth();\n const { data: user } = useUserInfo(authState.isAuthenticated);\n\n if (user !== undefined) {\n return (\n \n \n }\n exact={ true }\n history={ history }\n layout={ NoLayout }\n path={ `${ path }/fundraisers` }\n seo={ { pageTitle: 'My Fundraisers | Little Caesars Fundraising' } }\n />\n\n \n\n {isBrochureProgramEnabled && (\n \n )}\n\n {isBrochureProgramEnabled && (\n \n )}\n\n {isBrochureProgramEnabled && (\n \n )}\n\n \n\n \n\n \n\n \n\n (\n \n ) }\n history={ history }\n layout={ NoLayout }\n path={ `${ path }/settings` }\n seo={ { pageTitle: 'Settings | Little Caesars Fundraising' } }\n />\n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n );\n } else {\n return (\n \n \n \n );\n }\n};\n\nexport default Dashboard;\n","import React, { useMemo } from 'react';\nimport { RouteComponentProps, Redirect, useLocation } from 'react-router-dom';\n\ninterface MatchParams {\n supportGuid: string;\n}\n\ntype FundraiserSupportPageProps = RouteComponentProps;\n\nconst FundraiserSupport: React.FC = ({ match }) => {\n const { search } = useLocation();\n\n const queryParams = useMemo(() => {\n const searchParams = new URLSearchParams(search);\n return searchParams.toString();\n }, [ search ]);\n\n return (\n \n );\n};\n\nexport default FundraiserSupport;\n","import React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport {\n Box, Image, Text,\n} from '@lce/slice_v2';\n\nimport MealDeal from './assets/meal-deal.png';\n\nimport { useStoreQueryParamToLocalStorage } from 'ui/hooks';\nimport { theme } from 'theme';\nimport { ComboLink } from 'ui/components';\n\ninterface MealDealLandingPageProps {\n children: React.ReactNode;\n}\n// eslint-disable-next-line max-lines-per-function\nexport const MealDealLandingPage: React.FC = ({ children }) => {\n const [ t ] = useTranslation();\n useStoreQueryParamToLocalStorage('referralsource', 'referralSource');\n\n return (\n \n \n \"\"\n \n \n \n {t('mealDeal.landing.script')}\n \n \n {t('mealDeal.landing.title')}\n \n \n {t('mealDeal.landing.subtitle')}\n \n \n \n \n {t('mealDeal.landing.description')}\n \n {children}\n \n \n \n );\n};\n","/* eslint-disable max-len */\nimport React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { Box, Text } from '@lce/slice_v2';\n\nimport { theme } from 'theme';\n\nexport const RouteOne: React.FC = () => {\n const [ t ] = useTranslation();\n return (\n \n \n {t('mealDeal.landing.howMuchToRaise')}\n \n \n {`${ t('mealDeal.landing.raisingGoalIsEasy', { goal: 300, codes: 50 }) }`}\n \n \n );\n};\n","import React from 'react';\n\nimport { MealDealLandingPage } from '../../MealDealLandingPage';\nimport { RouteOne } from '../RouteOne';\n\nexport const Start: React.FC = () => (\n \n \n \n);\n","import React, { ChangeEvent, useMemo } from 'react';\nimport { ThemeUIStyleObject } from 'theme-ui';\nimport {\n Box, Form, Image, Text,\n} from '@lce/slice_v2';\n\nimport DollarSign from './assets/dollar-sign.png';\n\ninterface IMoneyInput {\n boxSx?: ThemeUIStyleObject;\n id?: string;\n label?: string;\n fieldSx?: ThemeUIStyleObject;\n name: string;\n onChange?: (e: ChangeEvent) => void;\n testId?: string;\n textSx?: ThemeUIStyleObject;\n variant?: string;\n}\n\nexport const defaults = {\n testId: 'money-input',\n};\n\nexport const MoneyInput: React.FC = ({\n boxSx = {},\n id,\n label = '',\n fieldSx = {},\n name,\n testId = defaults.testId,\n textSx = {},\n variant = 'forms.fundraiser.field',\n}) => {\n const effectiveId = useMemo(() => id || name, [ id, name ]);\n\n return (\n
\n \n \n \n \n \n \n
\n );\n};\n","import React, { useState } from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport {\n Box, Button, Form, Text,\n} from '@lce/slice_v2';\n\nimport { ProfitPerKit } from '../../../../../../constants';\n\nimport { theme } from 'theme';\nimport { MoneyInput } from 'ui/fundraiser/Forms/MoneyInput';\nimport { useLocalStorage } from 'features/common';\n\nexport const RouteTwo: React.FC = () => {\n const [ t ] = useTranslation();\n const [ goal, setGoal ] = useState(300);\n const [ codes, setCodes ] = useState('50');\n const [ , setFundraiserGoal ] = useLocalStorage('fundraiserGoal');\n\n const handleClick = (data) => {\n const formGoal = data.Calculate ? parseInt(data.Calculate) : goal;\n setGoal(formGoal);\n const calculatedGoal = Math.ceil(formGoal / ProfitPerKit).toLocaleString();\n setCodes(calculatedGoal);\n setFundraiserGoal(formGoal);\n };\n\n return (\n \n \n {t('mealDeal.landing.howMuchToRaise')}\n \n
\n \n \n {t('mealDeal.landing.calculate')}\n \n \n \n {`${ t('mealDeal.landing.raisingGoalIsEasy', { goal: goal.toLocaleString(), codes }) }`}\n \n \n );\n};\n","import React from 'react';\n\nimport { MealDealLandingPage } from '../../MealDealLandingPage';\nimport { RouteTwo } from '../RouteTwo';\n\nexport const Calculate: React.FC = () => (\n \n \n \n);\n","import React from 'react';\n\nexport const MealDealHowItWorks: React.FC = () => (\n
\n

Meal Deal How It Works

\n
\n);\n","import React from 'react';\nimport { toast } from 'react-toastify';\nimport { useTranslation } from '@lce/i18n';\nimport { useHistory } from 'react-router-dom';\n\nimport { GenericToast } from 'ui/common/Toast/CustomToasts';\nimport { CreateMealDealAccountForm } from 'ui/account/MealDeal/CreateAccount';\n\nexport const MealDealRegistrationPage: React.FC = () => {\n const [ t ] = useTranslation();\n const history = useHistory();\n\n const queryString = window.location.search;\n const urlParams = new URLSearchParams(queryString);\n const redirectURL = urlParams.get('redirectUrl');\n\n const onBackUrl = '/start-a-fundraiser/meal-deal/account';\n const onSuccessUrl = redirectURL || '/start-a-fundraiser/meal-deal/signin';\n const onSuccessMessage = t('createAccount.AccountCreatedConfirmation');\n\n return (\n
\n history.push(onBackUrl) }\n onSuccess={ () => {\n toast();\n history.push(onSuccessUrl);\n } }\n />\n
\n );\n};\n","/* eslint-disable max-lines-per-function */\nimport React, { useCallback } from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { useHistory } from 'react-router-dom';\nimport {\n Button, Box, Form, Spinner, Text,\n} from '@lce/slice_v2';\nimport * as Yup from 'yup';\nimport { format as dateformat, addWeeks } from 'date-fns';\nimport { useForm } from 'react-hook-form';\n\nimport { useCreateFundraiserMealDeal } from 'features/fundraiser/hooks';\nimport {\n FundraiserMealDeal, FundraiserType,\n} from 'features/fundraiser';\nimport { ApiError, useLocalStorage } from 'features/common';\nimport { Step } from 'ui/common';\nimport {\n MoneyInput, moneyInputValidation, termsAndConditionsInputSchema, TermsAndConditionsInput,\n} from 'ui/components';\nimport { calculateKitsFromProfitGoal } from 'features/fundraiser/utils';\n\ninterface IFundraiserCreateFormData {\n fundraiserPurpose: string;\n fundraiserTitle: string;\n profitGoal: string;\n termsAndConditions: boolean;\n zipcode: string;\n}\n\ninterface IFundraiserCreationFormProps {\n startDate?: Date;\n}\n\nexport const FundraiserCreationForm: React.FC = ({ startDate = new Date() }) => {\n const history = useHistory();\n const [ t ] = useTranslation();\n const { mutateAsync: createFundraiser, isLoading } = useCreateFundraiserMealDeal();\n const requiredTranslation = useCallback((key: string) => `${ t(key) } *`, [ t ]);\n const [ franchiseeId, setFranchiseeId ] = useLocalStorage('franchiseeId');\n const [ referralSource, setReferralSource ] = useLocalStorage('referralSource');\n const [ fundraiserGoal, setFundraiserGoal ] = useLocalStorage('fundraiserGoal');\n const { setError, formState: { errors } } = useForm();\n const validationSchema = Yup.object().shape({\n fundraiserTitle: Yup.string().required(t('mealDeal.fundraiserCreationPage.form.title.validation.required')),\n fundraiserPurpose: Yup.string().required(t('mealDeal.fundraiserCreationPage.form.purpose.validation.required')),\n zipcode: Yup\n .string()\n .matches(/^[0-9]+$/, t('mealDeal.fundraiserCreationPage.form.zipcode.validation.typeError'))\n .min(5, t('mealDeal.fundraiserCreationPage.form.zipcode.validation.min'))\n .max(5, t('mealDeal.fundraiserCreationPage.form.zipcode.validation.max'))\n .required(t('mealDeal.fundraiserCreationPage.form.zipcode.validation.typeError'))\n .typeError(t('mealDeal.fundraiserCreationPage.form.zipcode.validation.typeError')),\n ...moneyInputValidation(t),\n ...termsAndConditionsInputSchema(t, 'TermsAndConditions', true),\n });\n\n const onFormSubmit = useCallback(async(data: IFundraiserCreateFormData) => {\n if (isLoading) {\n return;\n }\n\n const {\n fundraiserTitle, profitGoal: profitGoalRaw, fundraiserPurpose, zipcode,\n } = data;\n const profitGoal = parseInt(profitGoalRaw);\n\n const endDate = addWeeks(startDate, 4);\n\n const fundraiser: FundraiserMealDeal = {\n kitGoal: calculateKitsFromProfitGoal(profitGoal),\n customMessage: fundraiserPurpose,\n dollarGoal: profitGoal,\n fundraiserName: fundraiserTitle,\n endDate: dateformat(endDate, 'MM/dd/yyyy'),\n startDate: dateformat(startDate, 'MM/dd/yyyy'),\n fundraiserType: FundraiserType.MealDeal,\n zipCode: zipcode,\n franchiseeId,\n referralSource,\n };\n\n try {\n const supportGuid = await createFundraiser(fundraiser);\n history.push(`/start-a-fundraiser/meal-deal/create/${ supportGuid }/success`);\n setFranchiseeId(undefined);\n setReferralSource(undefined);\n setFundraiserGoal(undefined);\n } catch (err) {\n const error = err as ApiError;\n\n if (error.ErrorCode === 'ERR-OK-FUNDRAISER-10') {\n setError('root.serverError', {\n type: error.ErrorCode,\n message: t('errorMessage.ERR-OK-FUNDRAISER-10'),\n });\n } else {\n setError('root.serverError', {\n type: error.ErrorCode,\n message: t('Something went wrong. Please try again.'),\n });\n }\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ isLoading ]);\n\n return (\n \n \n \n \n \n \n \n \n {errors && errors.root && errors.root.serverError && (\n \n {errors.root.serverError.message}\n \n )}\n \n { isLoading ? (\n \n )\n : t('mealDeal.fundraiserCreationPage.form.submit.label')}\n \n \n \n \n );\n};\n","import React from 'react';\nimport { Box, Flex, Image } from '@lce/slice_v2';\n\ninterface IFundraiserCreate {\n image: string;\n testId: string;\n}\n\nexport const FundraiserCreate: React.FC = ({ children, image, testId }) => (\n \n \n \n \n {children}\n \n);\n","import React from 'react';\nimport {\n Box, Heading,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { FundraiserCreationForm } from './Form';\n\nimport CaesarCash from 'assets/images/caesar-cash.svg';\nimport { FundraiserCreate } from 'ui/fundraiser/FundraiserCreation';\n\nexport const MealDealCreatePage: React.FC = () => {\n const [ t ] = useTranslation();\n\n return (\n \n \n \n {t('mealDeal.fundraiserCreationPage.header.title')}\n \n \n \n \n );\n};\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport {\n Box, Link, Text, Image, Flex,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport { RouteComponentProps } from 'react-router-dom';\n\nimport checkMarkIcon from 'assets/icons/CloseFundraiser.svg';\nimport { FundraiserQRCode } from 'ui/fundraiser/FundraiserQRCode';\nimport { useFetchFundraiserById } from 'features/fundraiser/hooks/useFetchFundraiserById';\nimport { useFetchSellerBySupportGuid } from 'features/fundraiser/hooks/useFetchSellerBySupportGuid';\nimport { useFetchSellerQRCode } from 'features/fundraiser/hooks/useFetchSellerQRCode';\nimport { CopyShare, EmailLinks, SocialButtons } from 'ui/fundraiser';\nimport { useFetchProductsPageRoute } from 'features/products';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\n\nexport interface MatchParams {\n supportGuid: string;\n}\n\nexport type IMealDealSuccessPageProps = RouteComponentProps\n\nexport const MealDealSuccessPage: React.FC = ({ match }) => {\n const [ t ] = useTranslation();\n\n const { data: seller } = useFetchSellerBySupportGuid();\n const { data: fundraiser } = useFetchFundraiserById(seller?.FundraiserId || 0);\n const { data: qrCode, isSuccess } = useFetchSellerQRCode(seller?.Id);\n\n const productPageRoute = useFetchProductsPageRoute();\n\n const { fundraiserType } = useFundraiserState();\n\n const emailSubject = encodeURIComponent(`${ t('emailTemplate.seller.emailMessage.subject',\n { context: fundraiserType }) }`);\n const emailBody = encodeURIComponent(`${ t('emailTemplate.seller.emailMessage.body',\n {\n context: fundraiserType,\n supportGuid: `${ match.params.supportGuid }`,\n groupName: fundraiser?.Name || '[INSERT YOUR GROUP NAME, SCHOOL, CHURCH, ETC]',\n }) }`);\n\n return (\n \n \n \n \n {t('mealDeal.success.title')}\n \n \n {t('mealDeal.success.subtitle')}\n \n \n \n \n \n \n {t('mealDeal.success.socialMediaTitle')}\n \n \n \n \n \n \n \n {isSuccess && (\n <>\n \n {t('mealDeal.success.qrCodeTitle')}\n \n \n {t('mealDeal.success.qrCodeSubtitle')}\n \n \n \n \n \n )}\n \n {t('mealDeal.success.viewYourDashboard')}\n \n \n \n \n );\n};\n","import React from 'react';\nimport { Redirect, RouteComponentProps } from 'react-router-dom';\nimport { Helmet } from 'react-helmet-async';\nimport { Box } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport _toLower from 'lodash/toLower';\n\nimport enUs from '../../i18n/en-us.json';\n\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\nimport { FundraiserType } from 'features/fundraiser';\nimport { LandingContent, LandingHeader } from 'ui/components';\n\nexport interface MatchParams {\n page: string;\n}\n\nconst Landing: React.FC> = ({ match: { params: { page } } }) => {\n const [ t ] = useTranslation();\n const { fundraiserType } = useFundraiserState();\n const currentPage = _toLower(page);\n const isValid = fundraiserType === FundraiserType.MealDeal\n ? enUs.translation.landing.MD[currentPage]\n : enUs.translation.landing.DG[currentPage];\n\n return isValid ? (\n \n \n \n {t(`landing.${ fundraiserType }.${ currentPage }.title`) + ' | Little Caesars Fundraising'}\n \n \n \n \n \n ) : ;\n};\n\nexport default Landing;\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport {\n Redirect, Switch, useHistory, useRouteMatch,\n} from 'react-router-dom';\n\nimport { Start } from './LandingPage/components/Start';\nimport { Calculate } from './LandingPage/components/Calculate';\nimport { MealDealHowItWorks } from './HowItWorks';\nimport { MealDealRegistrationPage } from './RegistrationPage';\nimport { MealDealCreatePage } from './CreatePage';\nimport { MealDealSuccessPage } from './SuccessPage';\n\nimport { AuthenticatedRoute, RouteWrapper } from 'ui/routing';\nimport { LayoutWithoutFooter, NoLayout } from 'ui/common/Layouts/Layouts';\nimport { Account, MealDealLoginPage } from 'ui/account';\nimport { Landing } from 'pages/landing';\nimport { LandingConfirmation } from 'ui/components';\n\nexport const MealDealSellerRoutes: React.FC = () => {\n const history = useHistory();\n const { url } = useRouteMatch();\n\n //url = start-a-fundraiser/meal-deal/\n return (\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
\n );\n};\n","import {\n Text, Image, Link,\n} from '@lce/slice_v2';\nimport React from 'react';\n\ninterface IFundraiserOptionIconProps {\n image: string;\n title: string;\n subtitle: string;\n url: string;\n}\n\n// eslint-disable-next-line max-lines-per-function\nexport const FundraiserOptionIcon: React.FC = ({\n image, title, subtitle, url,\n}) => (\n \n \n \n \n \n \n { title }\n \n \n { subtitle }\n \n \n \n);\n","import { FundraiserType, Seller, Stat } from 'features/fundraiser';\n\nexport interface IFeaturedProductCard {\n imageSrc: string;\n name: string;\n description: string;\n url: string;\n}\n\nexport interface IFeaturedFundraiserTracker {\n seller: Seller;\n fundraiserType: FundraiserType;\n sellerStats: Stat[];\n}\n\nexport type HomepageDataType = {\n featuredFundraiser: IFeaturedFundraiserTracker;\n featuredProducts: IFeaturedProductCard[];\n}\n\nexport type ProgramPoints = {\n text: string;\n fundraiserPoints: boolean[];\n}\n\nexport const fundraiserTypes: FundraiserType[] = [\n FundraiserType.Brochure,\n FundraiserType.Digital,\n FundraiserType.MealDeal,\n];\n","/* eslint-disable max-lines-per-function */\nimport * as React from 'react';\nimport {\n Box, Text, Flex, Image, Link,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport _map from 'lodash/map';\n\nimport { ProgramPoints, fundraiserTypes } from '../../../home/types';\n\nimport PizzaSlice from './assets/pizzaslice.png';\nimport LceSpear from './assets/lcespear.svg';\n\nconst FundraiserComparison: React.FC = () => {\n const [ t ] = useTranslation();\n const programPoints: ProgramPoints[] = t('startAFundraiser.fundraiserComparison.programPoints',\n { returnObjects: true });\n\n const programPointsCount = programPoints.length;\n\n let gridTemplateAreaDesktop = '\"title spear0 titleBR spear1 titleDG spear2 titleMD\" ';\n let gridTemplateAreaMobile = '\"title titleBR titleDG titleMD\" ';\n\n for (let i = 0;i < programPointsCount;i++) {\n gridTemplateAreaDesktop += `\"pointTitle${ i } spear0 point0${ i } spear1 point1${ i } spear2 point2${ i }\"`;\n gridTemplateAreaMobile += `\"pointTitle${ i } point0${ i } point1${ i } point2${ i }\"`;\n }\n gridTemplateAreaDesktop += '\". spear0 . spear1 . spear2 .\"';\n\n const gridTemplateArea = [ gridTemplateAreaMobile, gridTemplateAreaMobile, gridTemplateAreaDesktop ];\n\n const fundraiserCount = fundraiserTypes.length;\n\n return (\n \n \n {_map(fundraiserTypes, (type, index) => (\n <>\n \n \n {t('startAFundraiser.fundraiserComparison.fundraiserType', { context: type })}\n \n \n ))}\n {programPoints.map(({ text, fundraiserPoints }, index) => (\n <>\n \n {text}\n \n {_map(fundraiserPoints, (point, pointIndex) => point && (\n \n ))}\n \n ))}\n \n \n \n {t('startAFundraiser.fundraiserComparison.contactText')}\n \n {t('startAFundraiser.fundraiserComparison.contactNumber')}\n \n \n \n {t('startAFundraiser.fundraiserComparison.disclaimer')}\n \n \n \n );\n};\n\nexport default FundraiserComparison;\n","/* eslint-disable max-lines-per-function */\nimport {\n Box, Button, Flex, Headline, Text,\n} from '@lce/slice_v2';\nimport * as React from 'react';\nimport { useState } from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport _map from 'lodash/map';\n\nimport { FundraiserOptionIcon } from './FundraiserOptionIcon';\nimport CaesarManChecklist from './assets/Traditional-Caesar.png';\nimport LaptopCaesarMan from './assets/Digital-Caesar.png';\nimport RestaurantCaesarMan from './assets/Restaurant-Caesar.png';\nimport { FundraiserComparison } from './FundraiserComparison';\n\nimport { FundraiserType } from 'features/fundraiser';\nimport { useBooleanFeature } from 'ui/components/hooks';\nimport { DESKTOP_HEADER_HEIGHT } from 'ui/common/Header/Desktop';\nimport { MOBILE_HEADER_HEIGHT } from 'ui/common/Header/Mobile';\n\nconst ProgramIconMap = {\n BR: CaesarManChecklist,\n DG: LaptopCaesarMan,\n MD: RestaurantCaesarMan,\n};\n\ntype ChooseYourFundariserProgram = {\n iconSrc: string;\n title: string;\n subTitle: string;\n}\n\nconst FundraiserOptionsBanner: React.FC = () => {\n const [ fundraiserComparision, setFundraiserComparision ] = useState(false);\n const [ t ] = useTranslation();\n const isBrochureLinksEnabled = useBooleanFeature('fr_brochure_navigation_enabled').on;\n\n const fundraiserTypes: FundraiserType[] = [\n FundraiserType.Brochure,\n FundraiserType.Digital,\n FundraiserType.MealDeal,\n ];\n\n return (\n \n \n {t('startAFundraiser.fundraiserOptionsBanner.Title')}\n \n \n {_map(fundraiserTypes, (type) => {\n const { iconSrc, subTitle, title }: ChooseYourFundariserProgram =\n t('startAFundraiser.fundraiserOptionsBanner.program', { context: type, returnObjects: true });\n const isBrochureAndBrochureLinksEnabled = type === FundraiserType.Brochure && isBrochureLinksEnabled;\n const context = `${ type }${ isBrochureAndBrochureLinksEnabled\n ? '-brochureProgramEnabled'\n : '' }`;\n const url = t('startAFundraiser.fundraiserOptionsBanner.fundraiserCreationUrl', { context });\n return (\n \n );\n })}\n \n\n \n {t('startAFundraiser.fundraiserOptionsBanner.needHelpText')}\n setFundraiserComparision(!fundraiserComparision) }\n sx={ { m: 2 } }\n variant=\"primaryTextLink\"\n >\n {t('startAFundraiser.fundraiserOptionsBanner.fundraiserDifferencesLink')}\n \n \n\n {fundraiserComparision && }\n \n );\n};\nexport default FundraiserOptionsBanner;\n","import React, { useEffect } from 'react';\nimport { useHistory } from 'react-router-dom';\n\n/**\n * This page exists for the purpose of tracking conversions.\n * It will immediately redirect to the fundraiser dashboard\n */\nconst NewFundraiserFormConfirm = () => {\n const history = useHistory();\n\n useEffect(() => {\n history.push('/dashboard/fundraisers');\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ ]);\n\n return (
);\n};\n\nexport default NewFundraiserFormConfirm;\n","/* eslint-disable max-lines-per-function */\nimport React, { useEffect, useState } from 'react';\nimport { isNil as _isNil } from 'lodash';\nimport {\n Container,\n} from '@lce/slice_v2';\nimport { useOktaAuth } from '@okta/okta-react';\nimport {\n Route, Switch, useHistory, useRouteMatch,\n} from 'react-router-dom';\n\nimport { MealDealSellerRoutes } from './MealDeal';\n\nimport { FundraiserCreate } from 'ui/fundraiser/FundraiserCreation/FundraiserCreate';\nimport { FundraiserOptionsBanner } from 'ui/startAFundraiser/FundraiserOptionsBanner';\nimport FundraiserLogin from 'ui/checkout/Login/FundraiserLogin';\nimport NewFundraiserFormConfirm from 'ui/fundraiser/NewFundraiserForm/NewFundraiserFormConfirm';\nimport { NewFundraiserForm } from 'ui/fundraiser';\nimport { MainLayout, LayoutWithoutFooter, NoLayout } from 'ui/common';\nimport { RouteWrapper } from 'ui/routing';\nimport { useLocalStorage, useQueryParam } from 'features/common';\nimport CaesarCash from 'assets/images/caesar-cash.svg';\n\nconst FundraiserCreation: React.FC = () => {\n const [ parentId ] = useLocalStorage('parentId');\n const hasParentGroupId = !_isNil(parentId);\n\n return (\n \n \n \n );\n};\n\nconst StartAFundraiser: React.FC = () => {\n const { path } = useRouteMatch();\n const [ auth, setAuth ] = useState(false);\n const { authState } = useOktaAuth();\n const history = useHistory();\n const [ localFranchiseeId, setLocalFranchiseeId ] = useLocalStorage('franchiseeId');\n const [ currentFranId ] = useQueryParam('franchiseeId');\n\n useEffect(() => {\n if (authState && authState.isAuthenticated) {\n setAuth(true);\n }\n if (currentFranId) {\n setLocalFranchiseeId(currentFranId);\n }\n if (!currentFranId && !localFranchiseeId) {\n setLocalFranchiseeId(undefined);\n }\n }, [ authState, currentFranId, setLocalFranchiseeId, localFranchiseeId ]);\n\n return (\n \n \n \n\n \n\n \n\n \n \n \n );\n};\n\nexport default StartAFundraiser;\n","import React, { useState } from 'react';\nimport { useLocation } from 'react-router-dom';\nimport { toast } from 'react-toastify';\nimport {\n Text, Container, Spinner, Heading,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { GenericToast } from 'ui/common';\nimport { Address, useQueryParam } from 'features/common';\nimport { useFetchOrderSeller } from 'features/checkout';\nimport { OrderConfirmationCard } from 'ui/order';\nimport { CreateAccountForm } from 'ui/account';\n\nexport interface IOrderConfirmationLocationProps {\n isGuest: boolean;\n guestId: string;\n guestAddress: Address;\n}\n\nexport interface IOrderConfirmationPage {\n isCreateAccountOpenDefault?: boolean;\n isAccountCreatedDefault?: boolean;\n}\n\n// eslint-disable-next-line max-lines-per-function\nexport const OrderConfirmation: React.FC = ({\n isCreateAccountOpenDefault = false, isAccountCreatedDefault = false,\n}) => {\n const [ t ] = useTranslation();\n const location = useLocation();\n const [ orderGuid ] = useQueryParam('order');\n const { data: orderSeller, isLoading, error } = useFetchOrderSeller(orderGuid);\n const [ isCreateAccountOpen, setIsCreateAccountOpen ] = useState(isCreateAccountOpenDefault);\n const [ accountCreated, setAccountCreated ] = useState(isAccountCreatedDefault);\n\n const onClose = () => {\n setIsCreateAccountOpen(!isCreateAccountOpen);\n };\n\n const onCreateAccountSuccess = () => {\n setAccountCreated(true);\n onClose();\n toast();\n };\n\n // loading state\n if (isLoading && !error) {\n return (\n \n \n \n );\n }\n\n if (error) {\n return (\n \n Uh oh\n \n {t('orderConfirmation.error')}\n \n \n );\n }\n\n if (!orderSeller) {\n return null;\n }\n\n return (\n \n \n \n );\n};\n\nexport default OrderConfirmation;\n","import React from 'react';\nimport { Text } from '@lce/slice_v2';\n\nconst Unauthorized = () => (\n
\n 403\n You are not authorized to view this resource\n
\n);\n\nexport default Unauthorized;\n","/* eslint-disable max-lines-per-function */\nimport { Container, Text, Flex } from '@lce/slice_v2';\nimport React from 'react';\nimport { RouteProps } from 'react-router-dom';\nimport { useTranslation } from '@lce/i18n';\nimport _map from 'lodash/map';\n\nimport FeatureImage from 'assets/images/fundraising-support-background.webp';\nimport Register from 'assets/icons/Register.svg';\nimport GetWordOut from 'assets/icons/GetWordOut.svg';\nimport DollarSign from 'assets/icons/DollarSign.svg';\nimport { DESKTOP_HEADER_HEIGHT } from 'ui/common/Header/Desktop';\nimport { MOBILE_HEADER_HEIGHT } from 'ui/common/Header/Mobile';\nimport { IconSteps, IconStepsProps } from 'ui/components';\nimport FundraiserProgramCards from 'ui/home/FundraiserPrograms/FundraiserProgramCards';\n\ntype HowItWorksPageProps = RouteProps;\n\nconst HowItWorks: React.FC = () => {\n const [ t ] = useTranslation();\n\n const IconMap = {\n Register: Register,\n GetWordOut: GetWordOut,\n DollarSign: DollarSign,\n };\n\n const steps: IconStepsProps[] = t('howItWorks.steps', { returnObjects: true });\n\n return (\n \n \n \n {t('howItWorks.header')}\n \n \n \n \n \n {t('howItWorks.disclaimer')}\n \n \n \n \n \n {t('howItWorks.asEasyAs')}\n \n \n {t('howItWorks.asEasyAsDescription')}\n \n \n \n {_map(steps, (step, index) => )}\n \n \n \n );\n};\n\nexport default HowItWorks;\n","/* eslint-disable max-len */\nimport React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { Box, Text } from '@lce/slice_v2';\n\n/**\n * This is a lot of static content\n * TODO: Obtain this content from CMS post 1.1 launch\n */\n// eslint-disable-next-line max-lines-per-function\nconst AboutUsContent: React.FC = () => {\n const [ t ] = useTranslation();\n\n const detailSection = (title, content) => (\n \n { title && (\n \n {title}\n \n )}\n { content && (\n \n {content}\n \n )}\n \n );\n\n const subTitle = title => (\n \n {title}\n \n );\n\n return (\n \n \n {t('contactUs.Title')}\n \n \n Life has its challenges right now. Fundraising shouldn't be one of them. We're here to help when you need it.\n \n {subTitle(t('contactUs.SubTitle'))}\n {detailSection(t('contactUs.TrustedBrandNameTitle'), t('contactUs.TrustedBrandNameContent'))}\n {detailSection(t('contactUs.BigBigProfitTitle'), t('contactUs.BigBigProfitContent'))}\n {detailSection(t('contactUs.AllVirtualTitle'), t('contactUs.AllVirtualContent'))}\n {detailSection(t('contactUs.DirectDeliveryTitle'), t('contactUs.DirectDeliveryContent'))}\n {detailSection(t('contactUs.EngageSellersTitle'), t('contactUs.EngageSellersContent'))}\n {detailSection(t('contactUs.TopNotchTitle'), t('contactUs.TopNotchContent'))}\n\n {subTitle(t('contactUs.HistoryOfCommitmentTitle'))}\n {detailSection(t('contactUs.AboutLceTitle'), t('contactUs.AboutLceContent1'))}\n {detailSection('', t('contactUs.AboutLceContent2'))}\n {detailSection('', t('contactUs.AboutLceContent3'))}\n {detailSection('', t('contactUs.AboutLceContent4'))}\n {detailSection(t('contactUs.IllitchCompaniesTitle'), t('contactUs.IllitchCompaniesContent'))}\n \n );\n};\n\nexport default AboutUsContent;\n","import React from 'react';\nimport {\n Box,\n} from '@lce/slice_v2';\n\nimport HeaderImage from 'assets/images/banners/about-us-banner.png';\nimport { Banner } from 'ui/common';\n\nconst AboutUsHeader: React.FC = () => (\n \n \n \n);\n\nexport default AboutUsHeader;\n","import React from 'react';\nimport {\n Box, Flex, Text,\n} from '@lce/slice_v2';\nimport { RouteProps } from 'react-router-dom';\nimport { useTranslation } from '@lce/i18n';\n\nimport {\n AboutUsContent, AboutUsHeader,\n} from 'ui/aboutUs';\n\ntype ContactUsPageProps = RouteProps;\n\nconst AboutUs: React.FC = () => {\n const [ t ] = useTranslation();\n return (\n <>\n \n \n \n \n \n \n {t('common.BundleDisclaimer')}\n \n \n \n );\n};\n\nexport default AboutUs;\n","import React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { Box, Container, Text } from '@lce/slice_v2';\n\nimport { Banner } from 'ui/common';\nimport BannerImage from 'assets/images/banners/tetimonials-banner-kids-with-hearts.jpg';\n\ninterface IQuoteProps {\n author: string;\n quote: string;\n title: string;\n}\n\n/**\n * TODO: These bad boys should come from a CMS\n */\nconst Testimonials: React.FC = () => {\n const [ t ] = useTranslation();\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nconst Quote: React.FC = props => (\n \n \n \"\n {props.title}\n \"\n \n \n {props.quote}\n \n \n {props.author}\n \n \n);\n\nexport default Testimonials;\n","import React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { RouteComponentProps } from 'react-router-dom';\nimport {\n Box, Container, Flex, Image, Link, Text,\n} from '@lce/slice_v2';\nimport { Helmet } from 'react-helmet-async';\n\nimport { Banner } from 'ui/common';\nimport CaesarPhone from 'assets/images/caesar-cellphone.svg';\nimport ArticleBanner from 'assets/images/banners/article-1-banner.png';\nimport ComputerSimple from 'assets/icons/ComputerSimple.svg';\nimport EmailLetter from 'assets/icons/EmailLetter.svg';\nimport GetWordOut from 'assets/icons/GetWordOut.svg';\nimport Computer from 'assets/icons/Computer.svg';\nimport ClappingHands from 'assets/icons/ClappingHands.svg';\n\ninterface MatchParams {\n articleName: string;\n}\n\n// TODO: Eventually we'll pull the article name from the URL params and use that to fetch content\ntype ArticleDetailPageProps = RouteComponentProps;\n\n/**\n * TODO:\n * This page component should eventually be a template which takes an article name/id and\n * fetches the content from a CMS - instead I'm hard coding the first article for now\n * Better yet, these pages should be pre-rendered\n */\n// eslint-disable-next-line max-lines-per-function\nconst ArticleDetail: React.FC = () => {\n const [ t ] = useTranslation();\n\n return (\n <>\n \n \n {t('articles.fundraiserEmails.banner.Text')}\n {' '}\n | Little Caesars Fundraising\n \n \n \n\n \n\n \n \n \n {t('articles.fundraiserEmails.LongDescription')}\n \n\n \n\n \n Do you have ideas or tips for new fundraising chairpersons?\n We’re in this together, so please share your ideas on our\n {' '}\n \n Facebook Page\n \n {' '}\n If you’re ready to start your campaign, we’d love to help!\n {' '}\n Contact Us\n {' '}\n at Little Caesars Fundraising.\n\n \n \n \n \n \n\n \n );\n};\n\nconst TipSection = () => {\n const [ t ] = useTranslation();\n\n const renderTipSection = (icon, title, content) => (\n \n \n \n \n \n {title}\n \n \n {content}\n \n \n \n \n );\n\n return (\n \n {renderTipSection(ComputerSimple,\n t('articles.fundraiserEmails.Tip1Title'),\n t('articles.fundraiserEmails.Tip1Content'))}\n {renderTipSection(EmailLetter,\n t('articles.fundraiserEmails.Tip2Title'),\n t('articles.fundraiserEmails.Tip2Content'))}\n {renderTipSection(GetWordOut,\n t('articles.fundraiserEmails.Tip3Title'),\n t('articles.fundraiserEmails.Tip3Content'))}\n {renderTipSection(Computer,\n t('articles.fundraiserEmails.Tip4Title'),\n t('articles.fundraiserEmails.Tip4Content'))}\n {renderTipSection(ClappingHands,\n t('articles.fundraiserEmails.Tip5Title'),\n t('articles.fundraiserEmails.Tip5Content'))}\n \n );\n};\n\nexport default ArticleDetail;\n","import React from 'react';\nimport {\n Route, RouteProps, Switch, useRouteMatch,\n} from 'react-router-dom';\n\nimport ArticleDetail from './articleDetail';\n\nexport type IArticlesProps = RouteProps;\n\nconst Articles: React.FC = () => {\n const { path } = useRouteMatch();\n\n return (\n \n \n \n );\n};\n\nexport default Articles;\n","import { useQuery } from 'react-query';\n\nimport api from 'api';\nimport * as QueryKeys from 'constants/QueryKeys';\n\n/** API Call */\nconst fetchTerms = () => api.get('api/content/terms-of-service').then(res => res);\n\nconst useFetchTerms = () => useQuery(QueryKeys.TermsOfService, fetchTerms,\n {\n retry: false,\n refetchOnMount: false,\n refetchOnReconnect: false,\n refetchOnWindowFocus: false,\n });\n\nexport { useFetchTerms };\n","import { useQuery } from 'react-query';\n\nimport api from 'api';\nimport * as QueryKeys from 'constants/QueryKeys';\n\n/** API Call */\nconst fetchTerms = () => api.get('api/content/terms-of-sale').then(res => res);\n\nconst useFetchTermsOfSale = () => useQuery(QueryKeys.TermsOfSale, fetchTerms,\n {\n retry: false,\n refetchOnMount: false,\n refetchOnReconnect: false,\n refetchOnWindowFocus: false,\n });\n\nexport { useFetchTermsOfSale };\n","import { useQuery } from 'react-query';\n\nimport api from 'api';\nimport * as QueryKeys from 'constants/QueryKeys';\n\n/** API Call */\nconst fetchTerms = () => api.get('api/content/campaign-policy').then(res => res);\n\n/** Hook */\nconst useFetchCampaignPolicy = () => useQuery(QueryKeys.CampaignPolicy, fetchTerms,\n {\n retry: false,\n refetchOnMount: false,\n refetchOnReconnect: false,\n refetchOnWindowFocus: false,\n });\n\nexport { useFetchCampaignPolicy };\n","/* eslint-disable react/no-danger */\n/* eslint-disable max-len */\nimport React from 'react';\nimport { Container, Spinner } from '@lce/slice_v2';\nimport DOMPurify from 'dompurify';\n\nimport { useFetchTerms } from 'features/legal';\n\nimport '../legal.css';\n\n/**\n * Currently relies on a \"topic\" in nopCommerce with system name \"TermsOfService\"\n */\nconst TermsOfService: React.FC = () => {\n const { data: terms, isSuccess, isLoading } = useFetchTerms();\n\n return (\n <>\n { isSuccess && (\n \n \n \n )}\n\n { isLoading && (\n \n \n \n )}\n \n );\n};\n\nexport default TermsOfService;\n","import React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport {\n Box, Container, Flex, Link, Text,\n} from '@lce/slice_v2';\n\nimport { Banner, RouterLink } from 'ui/common';\nimport BannerImage from 'assets/images/banners/faq-banner.png';\n\ninterface IFaqProps {\n question: string;\n answer: string;\n}\n\n/**\n * TODO: These bad boys should come from a CMS\n */\n// eslint-disable-next-line max-lines-per-function\nconst FrequentlyAskedQuestions: React.FC = () => {\n const [ t ] = useTranslation();\n\n return (\n <>\n \n \n \n \n \n \n \n \n { t('faqs.faq4.question') }\n \n \n { t('faqs.faq4.answer.part1') }\n {' '}\n Start Your Fundraiser\n {' '}\n { t('faqs.faq4.answer.part2') }\n \n \n \n \n \n \n \n \n \n \n \n \n { t('faqs.faq13.question') }\n \n \n { t('faqs.faq13.answer.part1') }\n {' '}\n Products\n {' '}\n { t('faqs.faq13.answer.part2') }\n \n \n \n \n \n {t('faqs.footer')}\n {' '}\n \n Fundraising@LittleCaesars.com\n \n \n \n \n \n \n {t('common.BundleDisclaimer')}\n \n \n \n );\n};\n\nconst Faq: React.FC = props => (\n \n \n {props.question}\n \n \n {props.answer}\n \n \n);\n\nexport default FrequentlyAskedQuestions;\n","/* eslint-disable react/no-danger */\nimport React from 'react';\nimport { Container, Spinner } from '@lce/slice_v2';\nimport DOMPurify from 'dompurify';\n\nimport { useFetchCampaignPolicy } from 'features/legal';\n\n/**\n * Currently relies on a \"topic\" in nopCommerce with system name \"OnlineCampaignPolicy\"\n */\nconst CampaignPolicy: React.FC = () => {\n const { data: policy, isSuccess, isLoading } = useFetchCampaignPolicy();\n\n return (\n <>\n { isSuccess && (\n \n \n \n )}\n\n { isLoading && (\n \n \n \n )}\n\n \n );\n};\n\nexport default CampaignPolicy;\n","/* eslint-disable react/no-danger */\nimport React from 'react';\nimport { Container, Spinner } from '@lce/slice_v2';\nimport DOMPurify from 'dompurify';\n\nimport { useFetchTermsOfSale } from 'features/legal';\n\n/**\n * Currently relies on a \"topic\" in nopCommerce with system name \"TermsOfSale\"\n */\nconst TermsOfSale: React.FC = () => {\n const { data: terms, isSuccess, isLoading } = useFetchTermsOfSale();\n\n return (\n <>\n { isSuccess && (\n \n \n \n )}\n\n { isLoading && (\n \n \n \n )}\n\n \n );\n};\n\nexport default TermsOfSale;\n","/* eslint-disable max-lines-per-function */\nimport { Image } from '@lce/slice_v2';\nimport React from 'react';\nimport { ThemeUIStyleObject } from 'theme-ui';\n\nimport OpenArmsCaesarMan from './assets/Open-Arms-Caesar.png';\nimport WavingCaesar from './assets/Waving-Caesar.png';\nimport ThumbsUpCaesar from './assets/thumbsup-LCEMan.png';\nimport PizzaKits from './assets/pizzakits.png';\n\nimport * as FundraiserDefaults from 'constants/FundraiserDefaults';\n\nexport interface IUserIconProps {\n isLeft: boolean;\n role: string;\n sx?: ThemeUIStyleObject;\n}\n\nconst UserIcon: React.FC = ({ role, isLeft }) => {\n let iconImage = '';\n let iconHeight = '';\n let iconWidth = '';\n\n switch (role) {\n case FundraiserDefaults.ChairpersonRoleName.toLowerCase():\n if (isLeft) {\n iconImage = WavingCaesar;\n iconHeight = '109px';\n iconWidth = '94px';\n } else {\n iconImage = OpenArmsCaesarMan;\n iconHeight = '99px';\n iconWidth = '102px';\n }\n break;\n case FundraiserDefaults.SellerRoleName.toLowerCase():\n if (isLeft) {\n iconImage = WavingCaesar;\n iconHeight = '109px';\n iconWidth = '94px';\n } else {\n iconImage = ThumbsUpCaesar;\n iconHeight = '111px';\n iconWidth = '105px';\n }\n break;\n case FundraiserDefaults.BuyerRoleName.toLowerCase():\n if (isLeft) {\n iconImage = OpenArmsCaesarMan;\n iconHeight = '99px';\n iconWidth = '102px';\n } else {\n iconImage = PizzaKits;\n iconHeight = '96px';\n iconWidth = '116px';\n }\n break;\n default:\n break;\n }\n\n return (\n \n );\n};\n\nexport default UserIcon;\n","/* eslint-disable no-extra-parens */\n/* eslint-disable implicit-arrow-linebreak */\n\nimport * as React from 'react';\nimport { ThemeUIStyleObject } from 'theme-ui';\nimport { Text } from '@lce/slice_v2';\n\nexport interface IScriptParserProps {\n text: string | undefined;\n scriptText?: string;\n sx?: ThemeUIStyleObject;\n}\n\nconst ScriptParser: React.FC = ({ text, scriptText }) => {\n const splitValues = (text && text.split(' ')) || [];\n\n return (\n <>\n {splitValues.map(word =>\n (word === scriptText ? (\n \n {`${ word }${ ' ' }`}\n \n ) : (\n \n {`${ word }${ ' ' }`}\n \n )))}\n \n );\n};\n\nexport default ScriptParser;\n","/* eslint-disable max-len */\n/* eslint-disable max-lines-per-function */\nimport {\n Box, Text, Flex, Button,\n} from '@lce/slice_v2';\nimport React from 'react';\nimport { ThemeUIStyleObject } from 'theme-ui';\nimport { useTranslation } from '@lce/i18n';\n\nimport * as FundraiserDefaults from 'constants/FundraiserDefaults';\nimport { ScriptParser } from 'ui/common/ScriptParser';\nimport { UserIcon } from 'ui/userLanding/UserIcon';\nimport { InlineLinkParseAndReplace } from 'ui/components';\n\nexport interface IUserOptionProps {\n sx?: ThemeUIStyleObject;\n role: string;\n side: string;\n}\n\ninterface IText {\n buttonText?: string;\n description: string;\n link?: string;\n script?: string;\n title: string;\n}\n\nconst UserOption: React.FC = ({ role, side }) => {\n const [ t ] = useTranslation();\n const text: IText = t(`userLandingPages.${ role }.${ side }`, { returnObjects: true });\n\n const isChairperson = role === FundraiserDefaults.ChairpersonRoleName.toLowerCase();\n const link = FundraiserDefaults.BuyerRoleName.toLowerCase() === role && side !== 'left' ? t('home.featuredFundraiser.link.url') : text.link;\n\n return (\n \n\n \n \n \n\n \n \n \n \n \n \n \n \n\n {text.buttonText && link && (\n window.location.assign(`${ link }`) }\n sx={ {\n width: '229px', height: [ '38px' ],\n m: [ '28px 0 28px 0', '28px 0 28px 0', '28px 0 100px 0' ],\n } } variant=\"primary\"\n >\n { text.buttonText }\n \n )}\n\n \n );\n};\n\nexport default UserOption;\n","/* eslint-disable max-len */\n/* eslint-disable max-lines-per-function */\n/* eslint-disable no-extra-parens */\n/* eslint-disable implicit-arrow-linebreak */\nimport {\n Box, Flex, Headline, Text, Image,\n} from '@lce/slice_v2';\nimport * as React from 'react';\nimport { ThemeUIStyleObject } from 'theme-ui';\nimport { useTranslation } from '@lce/i18n';\n\nimport UserOption from '../UserOption/UserOption';\n\nimport LCESpear from './assets/lcespear.svg';\nimport LCESpearMobile from './assets/lcespear_mobile.svg';\nimport fundraiserseller from './assets/fundraiserseller.png';\nimport fundraiserbuyer from './assets/fundraiserbuyer.png';\nimport fundraiserchairperson from './assets/fundraiserchairperson.png';\n\nimport * as FundraiserDefaults from 'constants/FundraiserDefaults';\nimport { useMediaQuery } from 'features/common';\n\nexport interface IUserLandingPageProps{\n sx?: ThemeUIStyleObject;\n role: string;\n}\n\nconst UserLandingPage: React.FC = ({ role }) => {\n const [ t ] = useTranslation();\n const isLarge = useMediaQuery('(min-width: 961px)');\n\n const isChairperson = role === FundraiserDefaults.ChairpersonRoleName.toLowerCase();\n const isBuyer = role === FundraiserDefaults.BuyerRoleName.toLowerCase();\n const userImage = isChairperson ? fundraiserchairperson : isBuyer ? fundraiserbuyer : fundraiserseller;\n\n return (\n \n \n \n \n \n \n \n {t(`userLandingPages.${ role }.LandingPageTitle`)}\n \n \n {t(`userLandingPages.${ role }.LandingPageDescription`)}\n \n \n \n\n \n \n\n \n \n {isLarge ? : }\n \n \n {t('userLandingPages.spearDividerText')}\n \n \n {isLarge ? : }\n \n \n\n \n\n \n \n );\n};\nexport default UserLandingPage;\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport { Container } from '@lce/slice_v2';\nimport { Route, Switch, useRouteMatch } from 'react-router-dom';\n\nimport * as FundraiserDefaults from 'constants/FundraiserDefaults';\nimport { UserLandingPage } from 'ui/userLanding';\n\nconst Chairperson: React.FC = () => {\n const { path } = useRouteMatch();\n\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport default Chairperson;\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport { Container } from '@lce/slice_v2';\nimport { Route, Switch, useRouteMatch } from 'react-router-dom';\n\nimport * as FundraiserDefaults from 'constants/FundraiserDefaults';\nimport { UserLandingPage } from 'ui/userLanding';\n\nconst Chairperson: React.FC = () => {\n const { path } = useRouteMatch();\n\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport default Chairperson;\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport { Container } from '@lce/slice_v2';\nimport { Route, Switch, useRouteMatch } from 'react-router-dom';\n\nimport * as FundraiserDefaults from 'constants/FundraiserDefaults';\nimport { UserLandingPage } from 'ui/userLanding';\n\nconst Buyer: React.FC = () => {\n const { path } = useRouteMatch();\n\n return (\n \n \n \n \n \n \n \n );\n};\n\nexport default Buyer;\n","import React from 'react';\nimport { useHistory } from 'react-router-dom';\nimport {\n Box, Button, Image, Link, Text, Flex,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport _map from 'lodash/map';\n\nimport lcLogo from './assets/lc-fundraising-logo.png';\n\nimport { useLocalStorage } from 'features/common';\n\ninterface ILandingGroupContent {\n imageAltText: string;\n imageSrc: string;\n parentId: string;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst LandingGroupContent: React.FC = ({ parentId, imageSrc, imageAltText }) => {\n const [ t ] = useTranslation();\n const history = useHistory();\n const [ , setParentId ] = useLocalStorage('parentId');\n const instructionSteps: string[] = t('landingGroup.instructionSteps', { returnObjects: true });\n const disclaimers: string[] = t('landingGroup.disclaimers', { returnObjects: true });\n\n return (\n \n \n \n \n \n {`${ t('landingGroup.instructions') }:`}\n \n \n {_map(instructionSteps, step => (\n \n {step}\n \n ))}\n \n \n {_map(disclaimers, disclaimer => (\n \n {disclaimer}\n \n ))}\n {\n setParentId(parentId);\n history.push('/start-a-fundraiser/create');\n } }\n sx={ {\n borderRadius: '8px', fontSize: [ 6, 8 ], mb: [ '36px', '60px' ], mt: [ 2, '50px' ],\n width: '100%', maxWidth: '555px', height: [ '72px', '78px' ],\n } }\n >\n { t('landingGroup.buttonText') }\n \n \n { t('landingGroup.linkText') }\n \n \n );\n};\n\nexport default LandingGroupContent;\n","import React from 'react';\nimport { Redirect, RouteComponentProps } from 'react-router-dom';\nimport {\n Spinner,\n} from '@lce/slice_v2';\n\nimport { LandingGroupContent } from 'ui/landingGroup/LandingGroupContent';\nimport { useFetchSSUGroup } from 'features/fundraiser';\n\ninterface MatchParams {\n parentId: string;\n parentName: string;\n}\n\nconst LandingGroup: React.FC> = ({ match: { params: { parentId, parentName } } }) => {\n const {\n data, error, isError, isLoading,\n } = useFetchSSUGroup(parentId, parentName);\n\n if (isLoading) {\n return ;\n }\n\n if (isError && error?.Status === 404) {\n return ;\n }\n\n return data ? (\n \n ) : ;\n};\n\nexport default LandingGroup;\n","import { useEffect } from 'react';\nimport { useLocation } from 'react-router-dom';\n\nimport { useFundraiserDispatch, useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\nimport { FundraiserType } from 'features/fundraiser/types';\n\nexport const FundraiserState = ({ children }) => {\n interface LocationState {\n fundraiserType: FundraiserType | undefined;\n }\n const { pathname, search, state } = useLocation();\n const { fundraiserType } = useFundraiserState();\n\n const effectiveState = state?.fundraiserType ?? fundraiserType;\n\n const isMealDeal = pathname.includes('/meal-deal') ||\n search.includes('meal-deal') ||\n effectiveState === FundraiserType.MealDeal;\n\n const isBrochure = pathname.includes('/brochure') ||\n search.includes('brochure') ||\n effectiveState === FundraiserType.Brochure;\n\n const fundraiserDispatch = useFundraiserDispatch();\n\n useEffect(() => {\n if (isMealDeal) {\n fundraiserDispatch({ type: 'SET_FUNDRAISER_TYPE', fundraiserType: FundraiserType.MealDeal });\n } else if (isBrochure) {\n fundraiserDispatch({ type: 'SET_FUNDRAISER_TYPE', fundraiserType: FundraiserType.Brochure });\n } else {\n fundraiserDispatch({ type: 'SET_FUNDRAISER_TYPE', fundraiserType: FundraiserType.Digital });\n }\n }, [ fundraiserDispatch, isMealDeal, isBrochure ]);\n\n return children;\n};\n","import React, { useMemo } from 'react';\nimport * as Yup from 'yup';\nimport { map as _map } from 'lodash';\nimport { useTranslation } from '@lce/i18n';\nimport {\n Heading, Form, Box, Button, Text,\n} from '@lce/slice_v2';\nimport { toast } from 'react-toastify';\nimport { FormProvider, useForm } from 'react-hook-form';\n\nimport { useAddSalesAgent } from 'features/salesAgent/hooks/useAddSalesAgent';\nimport { ApiError } from 'features/common';\nimport { ClearButton, useFormReset } from 'ui/components';\nimport { GenericToast } from 'ui/common';\n\nexport const dataTestId = 'create-sales-agent';\n\ninterface ICreateSalesAgentProps {\n testId?: string;\n}\ntype TOption = {\n label: string;\n value: number;\n}\n\n// eslint-disable-next-line max-lines-per-function\nexport const CreateSalesAgent: React.FC = ({ testId = dataTestId }) => {\n const [ t ] = useTranslation();\n const { mutateAsync: addSalesAgent } = useAddSalesAgent();\n const methods = useForm();\n const { resetForm, setResetForm } = useFormReset();\n const validationSchema = useMemo(() => Yup.object({\n salesCode: Yup.string().required(t('admin.createAgent.validation.salesCode'))\n .max(15, t('admin.createAgent.validation.MaxLength15'))\n .matches(/^[0-9]+$/, t('admin.createAgent.validation.TypeError')),\n salesAgentType: Yup.string().required(t('admin.createAgent.validation.salesAgentType')),\n company: Yup.string().optional()\n .max(100, t('admin.createAgent.validation.MaxLength100')),\n email: Yup.string().email()\n .required(t('admin.createAgent.validation.email'))\n .max(100, t('admin.createAgent.validation.MaxLength100')),\n }), [ t ]);\n const salesAgentTypeOptions: TOption[] = t('admin.createAgent.form.salesAgentTypes', { returnObjects: true });\n const handleOnSubmit = async(data) => {\n try {\n await addSalesAgent(data);\n resetForm();\n toast();\n } catch (err) {\n const error = err as ApiError;\n if (error.ErrorCode?.includes('ERR-OK-SALESAGENT')) {\n toast.error(t(`admin.createAgent.toast.${ error.ErrorCode }`));\n } else {\n toast.error(t('admin.createAgent.toast.errorMessage'));\n }\n }\n };\n\n return (\n \n \n {t('admin.createAgent.pageTitle')}\n \n \n handleOnSubmit(data) }\n reValidateMode=\"onSubmit\"\n summary={ false }\n validationSchema={ validationSchema }\n >\n \n \n {t('admin.createAgent.form.title')}\n \n \n \n {t('admin.createAgent.form.requiredFields')}\n \n \n \n \n \n ))}\n \n \n \n \n \n {t('admin.createAgent.form.submitButton')}\n \n \n \n {/* ClearButton is needed to clear the form when the form is successfully submitted */}\n \n \n \n \n \n \n );\n};\n","import { useMutation } from 'react-query';\n\nimport { NewSalesAgent } from '../types';\nimport { addSalesAgent } from '../api';\n\nimport { ApiError, ApiResponse } from 'features/common';\n\nexport const useAddSalesAgent =\n () => useMutation(addSalesAgent);\n\n","import React from 'react';\nimport {\n Switch, useHistory, useRouteMatch,\n} from 'react-router-dom';\nimport { Box } from '@lce/slice_v2';\n\nimport * as FundraiserDefaults from '../../constants/FundraiserDefaults';\n\nimport { CreateSalesAgent } from './CreateSalesAgent';\n\nimport { PrivateRouteWrapper } from 'ui/routing';\nimport { NoLayout } from 'ui/common';\n\nexport const Admin: React.FC = () => {\n const history = useHistory();\n const { url } = useRouteMatch();\n\n //url = /admin\n return (\n \n \n \n \n \n );\n};\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { Text, Box } from '@lce/slice_v2';\nimport numeral from 'numeral';\nimport { format } from 'date-fns';\n\nimport { FundraiserBrochure } from 'features/fundraiser/types/fundraiser';\nimport { useUserHasSpecialRoles } from 'features/fundraiser';\n\nexport interface IFundraiserDetailsSummaryProps {\n details: Partial | undefined;\n userRoles?: string[];\n}\n\nconst FundraiserDetailsSummary: React.FC = ({ details, userRoles }) => {\n const [ t ] = useTranslation();\n const startDate = details?.startDate ? format(new Date(details.startDate), 'MM/dd/yyyy') : '';\n const userHasSpecialRoles = useUserHasSpecialRoles(userRoles);\n\n return (\n \n \n {t('fundraiser.Organization')}\n \n {details && (\n <>\n \n {details.name}\n \n \n {t('fundraiser.summary.OrgType', { orgType: details.organizationGroupTypeName })}\n \n \n {t('fundraiser.summary.StartDate', { startDate })}\n \n \n )}\n \n {t('fundraiser.Goal')}\n \n {details && (\n <>\n \n {t('fundraiser.summary.DollarGoal',\n { dollarGoal: numeral(details.profitGoal).format(t('currency.format')) })}\n \n \n {t('fundraiser.summary.EstimatedSellers', { estimatedSellers: details.sellerCount })}\n \n \n {t('fundraiser.summary.SellerKitGoal', { sellerKitGoal: details.sellerKitGoals })}\n \n \n {t('fundraiser.summary.BrochureCount', { brochureCount: details.brochuresRequestCount })}\n \n \n {t('fundraiser.summary.PosterCount', { posterCount: details.postersRequestCount })}\n \n {userHasSpecialRoles && (\n <>\n \n {t('fundraiser.summary.FindCaesar', {\n findCaesar: details.findCaesar\n ? t('common.Yes')\n : t('common.No'),\n })}\n \n \n {t('fundraiser.summary.MailToISC', {\n mailToISC: details.mailToISC\n ? t('common.Yes')\n : t('common.No'),\n })}\n \n \n )}\n { details.salesAgentCode && (\n <>\n \n {t('fundraiser.SalesAgent')}\n \n \n {t('fundraiser.summary.SalesAgentCode', { salesAgentCode: details.salesAgentCode })}\n \n \n ) }\n \n ) }\n \n );\n};\n\nexport default FundraiserDetailsSummary;\n","/* eslint-disable complexity */\n/* eslint-disable max-lines-per-function */\nimport React, { useEffect, useMemo, useState } from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport {\n Button, Box, Form, Flex, Text, Container, Spinner, Option,\n} from '@lce/slice_v2';\nimport * as Yup from 'yup';\nimport { useOktaAuth } from '@okta/okta-react';\nimport {\n addDays, addYears, format, isToday, subDays, startOfToday,\n} from 'date-fns';\nimport _ from 'lodash';\n\nimport FundraiserDetailsSummary from './FundraiserDetailsSummary';\n\nimport * as FundraiserDefaults from 'constants/FundraiserDefaults';\nimport { Step, Mode } from 'ui/common';\nimport {\n useFetchUserGroups, Group, FundraiserType,\n} from 'features/fundraiser';\nimport { useFetchGroupTypes, useUserHasSpecialRoles } from 'features/fundraiser/hooks';\nimport { useFetchStates, useUserInfo } from 'features/common/hooks';\nimport { useFetchGroup } from 'features/fundraiser/hooks/useFetchGroup';\nimport { useVerifySalesAgent } from 'features/salesAgent';\nimport { FundraiserBrochure, FundraiserFormStepState } from 'features/fundraiser/types/fundraiser';\n\nexport interface IFundraiserDetailsProps {\n onEdit: () => void;\n onNext: (info: Partial) => void;\n info: FundraiserBrochure | undefined;\n mode: Mode;\n fundraiserType: FundraiserType;\n}\n\nconst FundraiserDetails: React.FC = ({\n onEdit, onNext, mode, info, fundraiserType,\n}) => {\n const [ t ] = useTranslation();\n const { authState } = useOktaAuth();\n\n const tenDaysFromToday = addDays(startOfToday(), 10);\n const defaultStartDate = info?.startDate ?? tenDaysFromToday;\n const defaultStartDateFormatted = format(new Date(defaultStartDate), 'yyyy-MM-dd');\n\n const [ selectedGroupId, setSelectedGroupId ] = useState(info?.organizationGroupId?.toString() || '0');\n const [ showGroupList, setShowGroupList ] = useState(false);\n const [ dollarGoal, setDollarGoal ] = useState(info?.profitGoal || 0);\n const [ numberOfSellers, setNumberOfSellers ] = useState(info?.sellerCount || 0);\n const [ calculatedKitGoal, setCalculatedKitGoal ] = useState(info?.sellerKitGoals || 0);\n const [ existingGroup, setExistingGroup ] = useState();\n const [ userHasSpecialPermissions, setUserHasSpecialPermissions ] = useState(false);\n const [ canFetchSalesAgent, setCanFetchSalesAgent ] = useState(false);\n const [ earliestPossibleStartDate, setEarliestPossibleStartDate ] = useState(tenDaysFromToday);\n const [ salesAgentHasErrors, setSalesAgentHasErrors ] = useState(false);\n const [ salesCode, setSalesCode ] = useState('');\n const [ isGroupTypeIdDirty, setGroupTypeIdDirty ] = useState(false);\n\n const { data: groups, isLoading: isGroupLoading } = useFetchUserGroups();\n const { data: groupTypes, isLoading: isGroupTypeLoading } = useFetchGroupTypes();\n const { data: groupDetail } = useFetchGroup(selectedGroupId);\n const { data: states, isFetched: isStatesFetched } = useFetchStates(1);\n const { data: userInfo } = useUserInfo(authState.isAuthenticated);\n const {\n data: salesAgent, status: salesAgentStatus, isSuccess: isSuccessForSalesAgent, isLoading: isSalesAgentLoading,\n } =\n useVerifySalesAgent(canFetchSalesAgent, salesCode);\n\n const defaultGroupTypeId = groupDetail?.GroupTypeId;\n const defaultState = groupDetail?.GroupAddress?.StateProvinceIso ?? info?.organizationState;\n\n const hasOutOfRangeGroupTypeId = useMemo(() => {\n if (isGroupTypeIdDirty) {\n return false;\n }\n\n if (Array.isArray(groupTypes)) {\n const highestGroupId = _.chain(groupTypes)\n .orderBy('Id')\n .last()\n .get('Id')\n .value();\n const currentGroupTypeId = groupDetail?.GroupTypeId ?? 0;\n\n return highestGroupId < currentGroupTypeId;\n }\n\n return false;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ groupDetail?.GroupTypeId, groupTypes, isGroupTypeIdDirty ]);\n\n useEffect(() => {\n if (selectedGroupId === '0') {\n setExistingGroup(undefined);\n } else if (groupDetail) {\n setExistingGroup(groupDetail);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ groupDetail, selectedGroupId ]);\n\n useEffect(() => {\n if (salesAgentStatus === 'success' || salesAgentStatus === 'error') {\n setCanFetchSalesAgent(false);\n\n if (salesAgent && !salesAgent.SalesCode) {\n setSalesAgentHasErrors(true);\n } else {\n setSalesAgentHasErrors(false);\n }\n }\n }, [ salesAgent, salesAgentStatus ]);\n\n const isUserSpecialPermissions = useUserHasSpecialRoles(userInfo?.Roles);\n useEffect(() => {\n if (userInfo && userInfo.Roles) {\n const { Roles } = userInfo;\n // ISC Users can edit sales code during creation\n setUserHasSpecialPermissions(isUserSpecialPermissions);\n\n // Supers and Sales Agents can set start date as today\n if (Roles.includes(FundraiserDefaults.SuperAdminRoleName) ||\n Roles.includes(FundraiserDefaults.SalesAgentRoleName)) {\n setEarliestPossibleStartDate(startOfToday());\n }\n\n // Only get list of groups if one of these roles\n if (Roles.includes(FundraiserDefaults.SuperAdminRoleName) ||\n Roles.includes(FundraiserDefaults.ChairpersonRoleName) ||\n Roles.includes(FundraiserDefaults.SalesAgentRoleName)) {\n setShowGroupList(true);\n }\n }\n }, [ userInfo, isUserSpecialPermissions ]);\n\n const validationSchema = useMemo(() => {\n const threeYearsFromToday = addYears(startOfToday(), 3);\n const startDayMin = subDays(earliestPossibleStartDate, 1);\n const startDayMinText = t('fundraiser.validation.StartDateMin', {\n context: isToday(earliestPossibleStartDate) ? '' : 'ten',\n });\n\n return Yup.object({\n organizationGroupId: Yup.number(),\n name: Yup.string()\n .required(t('fundraiser.validation.OrgNameRequired'))\n .matches(/^[a-zA-Z0-9\\s']+$/,\n t('fundraiser.validation.OrgNameMatches'))\n .max(255, t('fundraiser.validation.OrgNameLength')),\n organizationGroupTypeId: Yup.number().min(1, t('fundraiser.validation.GroupTypeIdRequired')),\n startDate: Yup.date()\n .required(t('fundraiser.validation.StartDateRequired'))\n .min(startDayMin, startDayMinText)\n .max(threeYearsFromToday, 'Start date cannot be more than 3 years from today')\n .typeError(t('fundraiser.validation.StartDateRequired')),\n profitGoal: Yup.number()\n .required(t('fundraiser.validation.DollarGoalRequired'))\n .nullable()\n .min(0.01, t('fundraiser.validation.DollarGoalMin'))\n .max(1000000, t('fundraiser.validation.DollarGoalMax'))\n .typeError(t('fundraiser.validation.DollarGoalInvalid')),\n sellerCount: Yup.number()\n .required(t('fundraiser.validation.EstimatedSellersRequired'))\n .nullable()\n .integer(t('fundraiser.validation.EstimatedSellersNumber'))\n .min(1, t('fundraiser.validation.EstimatedSellersMin'))\n .max(99999, t('fundraiser.validation.EstimatedSellersMax'))\n .typeError(t('fundraiser.validation.EstimatedSellersInvalid')),\n brochuresRequestCount: Yup.number()\n .required(t('fundraiser.validation.BrochureCountRequired'))\n .integer(t('fundraiser.validation.BrochureCountNumber'))\n .min(0, t('fundraiser.validation.BrochureCountMin'))\n .max(99999, t('fundraiser.validation.BrochureCountMax'))\n .typeError(t('fundraiser.validation.BrochureCountInvalid')),\n couponCode: Yup.string().trim(),\n organizationStreetAddress: Yup.string().required(t('fundraiser.validation.AddressRequired')),\n organizationCity: Yup.string().required(t('fundraiser.validation.CityRequired')),\n organizationState: Yup.string().required(t('fundraiser.validation.StateRequired')),\n organizationZipCode: Yup.string().required(t('fundraiser.validation.ZipRequired')),\n federalTaxId: Yup.string()\n .max(100, t('fundraiser.validation.FederalTaxIdLength')),\n taxAcknowledgement: Yup.boolean()\n .required(t('fundraiser.TaxAcknowledgement'))\n .oneOf([ true ], t('fundraiser.TaxAcknowledgement')),\n });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ t, earliestPossibleStartDate ]);\n\n const onGroupSelect = (e: React.ChangeEvent) => {\n setSelectedGroupId(e.currentTarget.value);\n };\n\n const calculateKitGoal = (sellers, dollarGoal) => {\n if (!sellers || !dollarGoal) {\n setCalculatedKitGoal(0);\n return;\n }\n\n const kits = dollarGoal / 6 / sellers;\n setCalculatedKitGoal(Math.ceil(kits));\n };\n\n const onDollarGoalChange = (e: React.ChangeEvent) => {\n if (!e.target.value) {\n return;\n }\n const goal = parseInt(e.target.value, 10);\n setDollarGoal(goal);\n\n if (goal === 0 || numberOfSellers === 0) {\n setCalculatedKitGoal(0);\n }\n\n calculateKitGoal(numberOfSellers, goal);\n };\n\n const onNumberOfSellerChange = (e: React.ChangeEvent) => {\n if (!e.target.value) {\n return;\n }\n const sellers = parseInt(e.target.value, 10);\n setNumberOfSellers(sellers);\n\n if (sellers === 0 || dollarGoal === 0) {\n setCalculatedKitGoal(0);\n }\n\n calculateKitGoal(sellers, dollarGoal);\n };\n\n const handleOnSubmit = (e) => {\n const { organizationGroupTypeId, ...formData } = e;\n const GroupTypeName = _.find(groupTypes, gt => gt.Id === parseInt(organizationGroupTypeId, 10))?.Name;\n const info: Partial = {\n ...formData,\n organizationGroupTypeId: hasOutOfRangeGroupTypeId\n ? existingGroup?.GroupTypeId\n : parseInt(organizationGroupTypeId, 10),\n organizationAddressId: existingGroup?.GroupAddress?.Id || 0,\n organizationGroupId: existingGroup?.Id || 0,\n organizationGroupTypeName: GroupTypeName,\n sellerKitGoals: calculatedKitGoal,\n fundraiserType: FundraiserType.Brochure,\n };\n onNext(info);\n };\n\n if (isGroupLoading || isGroupTypeLoading) {\n return (\n \n \n \n \n \n );\n }\n\n return (\n <>\n { mode === FundraiserFormStepState.Active && isStatesFetched && (\n \n \n \n \n \n {t('fundraiser.Organization')}\n \n \n {showGroupList && (\n onGroupSelect(e) }\n sx={ { my: '0px' } }\n >\n \n\n \n {t('fundraiser.Goal')}\n \n \n \n onDollarGoalChange(e) }\n sx={ { my: '0px' } }\n type=\"number\"\n variant=\"forms.fundraiser.field\"\n />\n onNumberOfSellerChange(e) }\n sx={ { my: '0px' } }\n type=\"number\"\n variant=\"forms.fundraiser.field\"\n />\n \n \n \n \n \n { _.range(0, 4).map(value => (\n \n {userHasSpecialPermissions && (\n \n \n \n \n )}\n \n \n\n \n {t('fundraiser.GroupMailingAddress')}\n \n \n {t('fundraiser.GroupMailingAddressInstructions')}\n \n \n \n \n \n \n \n \n \n \n {states && _.map(states, state => (\n \n ))}\n \n \n \n \n { userHasSpecialPermissions && (\n <>\n \n {t('fundraiser.SalesAgent')}\n \n \n \n setSalesCode(e.target.value) }\n sx={ { my: '0px' } }\n />\n { salesAgentHasErrors && (\n \n { t('fundraiser.labels.SalesAgentCodeError') }\n \n )}\n { isSuccessForSalesAgent && salesAgent && salesAgent.SalesCode && (\n \n { t('fundraiser.labels.SalesAgentCodeSuccess') }\n \n )}\n \n setCanFetchSalesAgent(true) }\n sx={ {\n border: '1px solid',\n borderColor: 'primary',\n // eslint-disable-next-line no-extra-parens\n mb: (isSuccessForSalesAgent && salesAgent && salesAgent.SalesCode) ||\n salesAgentHasErrors\n ? [ '0px', '24px' ]\n : '0px',\n } }\n type=\"button\"\n variant={ isSalesAgentLoading ? 'disabled' : 'primary' }\n >\n { isSalesAgentLoading ? (\n \n ) : t('fundraiser.labels.SalesAgentCodeApply') }\n \n \n \n )}\n \n {t('fundraiser.FundraiserTaxId')}\n \n \n \n \n \n \n {t('fundraiser.FundraisingDetailsNext')}\n \n \n \n \n \n )}\n\n { mode === FundraiserFormStepState.Preview && (\n \n \n \n \n \n )}\n \n );\n};\n\nexport default FundraiserDetails;\n","import React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { Text, Box } from '@lce/slice_v2';\n\nimport { FundraiserBrochure } from 'features/fundraiser/types/fundraiser';\n\nexport interface IChairpersonDetailsSummaryProps {\n details: Partial | undefined;\n}\n\nconst ChairpersonDetailsSummary: React.FC = ({ details }) => {\n const [ t ] = useTranslation();\n\n return (\n \n \n {t('fundraiser.PrimaryChairperson')}\n \n { details && (\n <>\n \n {`${ details.chairpersonFirstName } ${ details.chairpersonLastName }`}\n \n \n {t('fundraiser.summary.PrimaryPhoneNumber',\n { number: details.chairpersonPrimaryPhoneNumber, type: details.chairpersonPrimaryPhoneNumberType })}\n \n \n {t('fundraiser.summary.SecondaryPhoneNumber',\n { number: details.chairpersonSecondaryPhoneNumber, type: details.chairpersonSecondaryPhoneNumberType })}\n \n \n {details.chairpersonEmailAddress}\n \n { details.coChairpersonEmailAddress && (\n <>\n \n {t('fundraiser.CoChairperson')}\n \n \n {`${ details.coChairpersonFirstName } ${ details.coChairpersonLastName }`}\n \n \n { details.coChairpersonEmailAddress}\n \n \n )}\n \n ) }\n \n );\n};\n\nexport default ChairpersonDetailsSummary;\n","/* eslint-disable max-lines-per-function */\nimport React, { useState } from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport * as Yup from 'yup';\nimport {\n Button, Box, Form, Flex, Text, Option,\n} from '@lce/slice_v2';\nimport _map from 'lodash/map';\n\nimport ChairpersonDetailsSummary from './ChairpersonDetailsSummary';\n\nimport { Mode, Step } from 'ui/common';\nimport { PhoneInput, phonePattern } from 'ui/components/forms';\nimport { FundraiserType, PhoneNumberTypes } from 'features/fundraiser';\nimport { UserInfo } from 'features/common/types/userInfo';\nimport { FundraiserBrochure, FundraiserFormStepState } from 'features/fundraiser/types/fundraiser';\n\nexport interface IChairpersonDetailsProps {\n onEdit: () => void;\n onNext: (info: Partial) => void;\n defaultChairperson: UserInfo | undefined;\n info?: Partial | undefined;\n mode: Mode;\n fundraiserType?: FundraiserType;\n}\n\nconst ChairpersonDetails: React.FC = ({\n onEdit, onNext, mode, defaultChairperson, info,\n}) => {\n const [ t ] = useTranslation();\n const [ showCoChairpersonForm, setShowCoChairpersonForm ] =\n useState(Boolean(info?.coChairpersonEmailAddress) || false);\n\n const handleOnSubmit = (e) => {\n const info: Partial = {\n ...e,\n };\n onNext(info);\n };\n\n const validationSchema = Yup.object({\n chairpersonFirstName: Yup.string()\n .required(t('fundraiser.FirstNameRequired'))\n .max(50, t('fundraiser.MaxLength50')),\n chairpersonLastName: Yup.string()\n .required(t('fundraiser.LastNameRequired'))\n .max(50, t('fundraiser.MaxLength50')),\n chairpersonPrimaryPhoneNumber: Yup.string()\n .matches(phonePattern, t('fundraiser.PhoneNumberValid'))\n .min(10, t('fundraiser.PhoneNumberLength'))\n .max(17, t('fundraiser.PhoneNumberLength'))\n .required(t('fundraiser.PhoneRequired')),\n chairpersonSecondaryPhoneNumber: Yup.string()\n .matches(phonePattern, t('fundraiser.PhoneNumberValid'))\n .min(10, t('fundraiser.PhoneNumberLength'))\n .max(17, t('fundraiser.PhoneNumberLength'))\n .required(t('fundraiser.PhoneRequired')),\n coChairpersonPrimaryPhoneNumber: Yup.string()\n .max(17, t('fundraiser.PhoneNumberLength'))\n .matches(phonePattern, { excludeEmptyString: true, message: t('fundraiser.PhoneNumberValid') })\n .notRequired()\n .nullable(),\n chairpersonEmailAddress: Yup.string()\n .email(t('fundraiser.EmailValid'))\n .required(t('fundraiser.EmailRequired')),\n chairpersonConfirmEmailAddress: Yup.string()\n .email(t('fundraiser.EmailMatch'))\n .required(t('fundraiser.EmailRequired'))\n .oneOf([ Yup.ref('chairpersonEmailAddress') ], t('fundraiser.EmailMatch')),\n coChairpersonEmailAddress: Yup.string()\n .max(255, t('fundraiser.MaxLength255'))\n .email(t('fundraiser.EmailValid'))\n .notOneOf([ Yup.ref('chairpersonEmailAddress') ], t('fundraiser.CoChairpersonEmailMatch')),\n coConfirmChairpersonEmailAddress: Yup.string()\n .email(t('fundraiser.EmailMatch'))\n .oneOf([ Yup.ref('coChairpersonEmailAddress') ], t('fundraiser.EmailMatch')),\n chairpersonPrimaryPhoneNumberType: Yup.string().required(t('fundraiser.PhoneTypeRequired')),\n chairpersonSecondaryPhoneNumberType: Yup.string().required(t('fundraiser.PhoneTypeRequired')),\n });\n\n const stepTitle = t('fundraiser.ChairpersonDetails');\n\n return (\n <>\n { mode === FundraiserFormStepState.Active && (\n \n \n \n \n \n {t('fundraiser.AboutChairperson')}\n \n \n \n \n \n \n \n \n \n \n { _map(PhoneNumberTypes, type => (\n \n ))}\n \n \n \n \n \n { _map(PhoneNumberTypes, type => (\n \n ))}\n \n \n \n \n \n \n \n \n { showCoChairpersonForm ? (\n <>\n \n {t('fundraiser.AboutCoChairperson')}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n ) : (\n setShowCoChairpersonForm(true) }\n sx={ { mt: '24px' } }\n variant=\"secondary\"\n >\n { t('fundraiser.AddCoChairperson') }\n \n )}\n \n {t('fundraiser.AdditionalInformationNext')}\n \n \n \n \n \n )}\n { mode === FundraiserFormStepState.Preview && (\n \n \n \n \n \n )}\n { mode === FundraiserFormStepState.Hidden && (\n \n )}\n \n );\n};\n\nexport default ChairpersonDetails;\n","/* eslint-disable max-len */\nimport { useQuery } from 'react-query';\n\nimport { fetchNoDeliveryDate } from '../../api';\nimport { NoDeliveryDate, NoDeliveryDateFormat } from '../../types/fundraiser';\nimport * as QueryKeys from '../../../../constants/QueryKeys';\n\nimport { ApiError } from 'features/common';\nconst usZipRegEx = (/(^\\d{5}$)|(^\\d{5}-\\d{4}$)/);\nconst isEnabled = (zipCode: string) => usZipRegEx.test(zipCode);\n\nexport const useFetchNoDeliveryDate =\n (zipCode: string) => useQuery([ QueryKeys.NoDeliveryDate, zipCode ],\n () => fetchNoDeliveryDate(zipCode), {\n retry: false,\n refetchOnWindowFocus: false,\n enabled: isEnabled(zipCode),\n select: (data) => {\n if (typeof data === 'string') {\n return [];\n }\n const today = new Date();\n data = data?.filter(\n (item: NoDeliveryDate) => new Date(item.StartDate) > today || new Date(item.EndDate) > today\n );\n return data?.map((item: NoDeliveryDate) => ({\n from: new Date(item.StartDate),\n to: new Date(item.EndDate),\n }));\n },\n });\n","/* eslint-disable max-lines-per-function */\nimport React, { useState } from 'react';\nimport {\n parse, startOfWeek, endOfWeek, addDays, format, isValid,\n} from 'date-fns';\nimport { Form, Label } from '@lce/slice_v2';\nimport 'react-day-picker/lib/style.css';\nimport './WeekSelector.css';\nimport DayPickerInput from 'react-day-picker/DayPickerInput';\nimport { Modifiers } from 'react-day-picker';\nimport { useTranslation } from '@lce/i18n';\n\nimport * as FundraiserDefaults from 'constants/FundraiserDefaults';\nimport { useFetchNoDeliveryDate } from 'features/fundraiser/hooks/use-fetch-no-delivery-date';\nimport { useSessionStorage } from 'features/common/hooks/useSessionStorage';\nimport { FundraiserBrochure } from 'features/fundraiser/types';\n\nexport interface IWeekSelectorProps {\n defaultDate?: Date;\n validationError: boolean;\n zipCode?: string;\n}\n\nconst getWeekDays = (weekStart) => {\n const days = [ weekStart ];\n for (let i = 1;i < 5;i += 1) {\n days.push(addDays(weekStart, i));\n }\n return days;\n};\n\nconst getWeekRange = date => ({\n from: startOfWeek(date, { weekStartsOn: 1 }),\n to: endOfWeek(date, { weekStartsOn: 6 }),\n});\n\nconst WeekSelector: React.FC = ({ defaultDate, validationError, zipCode }) => {\n const [ t ] = useTranslation();\n const [ hoverRange, setHoverRange ] = useState<{ from: Date; to: Date } | undefined>(undefined);\n const [ selectedDays, setSelectedDays ] = useState([]);\n const [ formData ] = useSessionStorage(FundraiserDefaults.CreateFundraiserSessionId, {} as FundraiserBrochure);\n const startDate = formData.startDate;\n const orgZipCode = formData.organizationZipCode;\n const { data: noDeliveryDates = [] } = useFetchNoDeliveryDate(zipCode || orgZipCode);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const handleDayChange = (date: Date, modifiers: any = {}) => {\n if (modifiers?.disabled) {\n return;\n }\n const selectedDays = getWeekDays(getWeekRange(date).from);\n setSelectedDays(selectedDays);\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const handleDayEnter = (date: Date, modifiers: any = {}) => {\n if (modifiers?.disabled) {\n return;\n }\n setHoverRange(getWeekRange(date));\n };\n\n const handleDayLeave = () => {\n setHoverRange(undefined);\n };\n\n const daysAreSelected = selectedDays.length > 0;\n\n const modifiers: Partial = {\n today: new Date(),\n highlighted: daysAreSelected ? { from: selectedDays[0], to: selectedDays[4] } : undefined,\n hoverRange,\n hoverRangeStart: hoverRange && hoverRange.from,\n hoverRangeEnd: hoverRange && hoverRange.to,\n };\n\n const parseDate = (str: string, format: string) => {\n const parsed = parse(str, format, new Date());\n return isValid(parsed) ? parsed : undefined;\n };\n\n const formatDate = (date: Date, dateFormat: string) => format(date, dateFormat);\n\n const disabledDays = [\n { before: new Date() },\n { before: new Date(startDate) },\n { daysOfWeek: [ 0, 6 ] },\n ...noDeliveryDates,\n ];\n\n const displayValue = selectedDays.length > 0\n ? `${ formatDate(selectedDays[0], 'MMMM do') } - ${ formatDate(selectedDays[4], 'MMMM do') }`\n : '';\n\n return (\n
\n \n (\n \n ) }\n dayPickerProps={ {\n disabledDays,\n modifiers,\n selectedDays,\n showOutsideDays: true,\n showWeekNumbers: false,\n onDayClick: handleDayChange,\n onDayMouseEnter: handleDayEnter,\n onDayMouseLeave: handleDayLeave,\n } }\n format=\"yyyy-MM-dd\"\n formatDate={ formatDate }\n parseDate={ parseDate }\n />\n \n {validationError && (\n \n {t('fundraiser.validation.DeliveryWeekRequired')}\n \n )}\n
\n );\n};\n\nexport default WeekSelector;\n","import * as React from 'react';\nimport type { TFunction } from 'i18next';\nimport { Box, Text } from '@lce/slice_v2';\nimport { addDays, format, parse } from 'date-fns';\n\nimport { DeliveryTime, FundraiserBrochure } from 'features/fundraiser/types/fundraiser';\n\nexport interface IDeliveryDetailsSummary {\n details: FundraiserBrochure | undefined;\n deliveryTimes: DeliveryTime[];\n t: TFunction;\n}\n\nconst DeliveryDetailsSummary: React.FC = ({ details, deliveryTimes, t }) => {\n const deliveryTime = deliveryTimes.find(time => time.value === details?.preferredDeliveryTime);\n const weekDate = details?.preferredDeliveryWeek\n ? format(new Date(details.preferredDeliveryWeek), 'yyyy-MM-dd')\n : format(new Date(), 'yyyy-MM-dd');\n const parsedDate = parse(weekDate, 'yyyy-MM-dd', new Date());\n const startWeek = format(parsedDate, 'MMMM do, yyyy');\n const endWeek = format(addDays(parsedDate, 4), 'MMMM do, yyyy');\n const deliveryState = details?.sameAsMailing ? details.organizationState : details?.deliveryState;\n return (\n \n \n {t('fundraiser.labels.DeliveryAddress')}\n \n \n {details?.deliveryName}\n \n \n {details?.deliveryAddress}\n \n \n {`${ details?.deliveryCity }, ${ deliveryState } ${ details?.deliveryZipCode }`}\n \n \n {t('fundraiser.summary.CrossStreets', { crossStreets: details?.deliveryMainCrossStreets })}\n \n \n {t('fundraiser.summary.PhoneNumber', { phoneNumber: details?.deliveryPhoneNumber })}\n \n \n {\n t('fundraiser.summary.DeliveryRestrictions', {\n deliveryRestrictions: details?.deliveryRestrictions ? 'Yes' : 'No',\n })\n }\n \n \n {t('fundraiser.labels.DeliveryScheduling')}\n \n \n {t('fundraiser.summary.DeliveryWeek', { startWeek, endWeek })}\n \n \n {t('fundraiser.summary.DeliveryTime', { deliveryTime: deliveryTime?.label })}\n \n \n );\n};\n\nexport default DeliveryDetailsSummary;\n","import * as React from 'react';\nimport {\n Box,\n Button, Flex, Headline, Modal as SliceModal,\n Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nexport interface IDeliveryRestrictionsModal {\n isOpen: boolean;\n onClose: () => void;\n}\n\nconst DeliveryRestrictionsModal: React.FC = ({ isOpen, onClose }) => {\n const [ t ] = useTranslation();\n return (\n \n \n \n \n {t('fundraiser.DeliveryRestrictionModal.title')}\n \n \n\n \n {t('fundraiser.DeliveryRestrictionModal.content')}\n \n\n \n {t('fundraiser.DeliveryRestrictionModal.buttonText')}\n \n \n\n \n );\n};\n\nexport default DeliveryRestrictionsModal;\n","import { useTranslation } from '@lce/i18n';\nimport { Box, Text } from '@lce/slice_v2';\nimport React from 'react';\n\nconst PopoverMessage = () => {\n const [ t ] = useTranslation();\n return (\n \n \n \n \n {t('brochure.preferredTimePopoverMessage')}\n \n \n \n \n\n );\n};\n\nexport default PopoverMessage;\n","/* eslint-disable complexity */\n/* eslint-disable max-lines-per-function */\nimport React, { useEffect, useRef, useState } from 'react';\nimport {\n Button, Box, Form, Flex, Text, Option,\n Image,\n} from '@lce/slice_v2';\nimport _ from 'lodash';\nimport * as Yup from 'yup';\nimport { useTranslation } from '@lce/i18n';\n\nimport infoIcon from '../../../../assets/icons/info-icon.svg';\n\nimport { WeekSelector } from './components/WeekSelector';\nimport DeliveryDetailsSummary from './DeliveryDetailsSummary';\nimport { DeliveryRestrictionsModal } from './components/DeliveryRestrictionsModal';\nimport { PopoverMessage } from './components/PopoverMessage';\n\nimport { Mode, Step } from 'ui/common';\nimport { FundraiserType } from 'features/fundraiser';\nimport { useFetchStates } from 'features/common/hooks';\nimport { PhoneInput, phonePattern } from 'ui/components/forms';\nimport {\n DeliveryTime, FundraiserBrochure, FundraiserFormStepState, TimeZone,\n} from 'features/fundraiser/types/fundraiser';\nimport { TooltipPopover } from 'ui/fundraiser';\n\nexport interface IDeliveryDetailsProps {\n onEdit: () => void;\n onNext: (info: Partial) => void;\n info?: FundraiserBrochure | undefined;\n mode: Mode;\n fundraiserType?: FundraiserType;\n}\n\nconst DeliveryDetails: React.FC = ({\n onEdit, onNext, mode, info,\n}) => {\n const [ t ] = useTranslation();\n const [ visible, setVisible ] = useState(false);\n const popoverRef = useRef(null);\n\n const timeZones: TimeZone[] = t('timezones', { returnObjects: true });\n const deliveryTimes: DeliveryTime[] = t('brochure.fundraiserDeliveryTimes', { returnObjects: true });\n\n const [ sameAsMailing, setSameAsMailing ] = useState(info?.sameAsMailing || false);\n const [ showDeliveryRestrictionsModal, setShowDeliveryRestrictionsModal ] = useState(false);\n const [ deliveryWeekError, setDeliveryWeekError ] = useState(false);\n const [ zipCode, setZipCode ] = useState('');\n\n const handleCopyMailingAddress = (e: React.ChangeEvent): void => {\n setSameAsMailing(e.currentTarget.checked);\n };\n\n const organizationZipCode = info?.organizationZipCode;\n useEffect(() => {\n if (sameAsMailing && organizationZipCode) {\n setZipCode(organizationZipCode);\n }\n }, [ sameAsMailing, organizationZipCode ]);\n\n const handleOnSubmit = (data: Partial) => {\n let info = {\n ...data,\n deliveryMainCrossStreets: `${ data.crossStreetOne } and ${ data.crossStreetTwo }`,\n };\n\n if (sameAsMailing) {\n info = {\n ...info,\n deliveryAddress: info.organizationStreetAddress,\n deliveryCity: info.organizationCity,\n deliveryState: info.organizationState,\n deliveryZipCode: info.organizationZipCode,\n };\n }\n\n onNext(info);\n };\n\n const validationSchema = Yup.object({\n deliveryName: Yup.string()\n .required(t('fundraiser.validation.DeliveryNameRequired'))\n .max(255, t('fundraiser.MaxLength255'))\n .trim(),\n deliveryPhoneNumber: Yup.string()\n .matches(phonePattern, t('fundraiser.PhoneNumberValid'))\n .min(10, t('fundraiser.PhoneNumberLength'))\n .max(17, t('fundraiser.PhoneNumberLength'))\n .required(t('fundraiser.PhoneRequired'))\n .trim(),\n deliveryAddress: Yup.string().trim().when('sameAsMailing', {\n is: false,\n then: Yup.string().required(t('fundraiser.validation.DeliveryAddressRequired')),\n }),\n deliveryCity: Yup.string().trim().when('sameAsMailing', {\n is: false,\n then: Yup.string().required(t('fundraiser.validation.DeliveryCityRequired')),\n }),\n deliveryState: Yup.string().when('sameAsMailing', {\n is: false,\n then: Yup.string().required(t('fundraiser.validation.DeliveryStateRequired')),\n }),\n deliveryZipCode: Yup.string().trim().when('sameAsMailing', {\n is: false,\n then: Yup.string().required(t('fundraiser.validation.DeliveryZipCodeRequired')),\n }),\n deliveryRestrictions: Yup.boolean(),\n timeZone: Yup.number().required(t('fundraiser.validation.TimeZoneRequired')),\n preferredDeliveryWeek: Yup.date()\n .required(t('fundraiser.validation.PreferredDeliveryWeekRequired'))\n .test('deliveryWeekSelected', '', (value) => {\n const hasValue = Boolean(value);\n setDeliveryWeekError(!hasValue);\n return hasValue;\n }),\n deliveryComments: Yup.string().trim(),\n preferredDeliveryTime: Yup.number().required(t('fundraiser.validation.DeliveryTimeRequired')),\n crossStreetOne: Yup.string().required(t('fundraiser.validation.CrossStreetRequired')).trim(),\n crossStreetTwo: Yup.string().required(t('fundraiser.validation.CrossStreetRequired')).trim(),\n });\n\n const stepTitle = t('fundraiser.DeliveryDetails');\n\n const handleDeliveryRestrictionsModal = (e: React.ChangeEvent): void => {\n if (e.currentTarget.checked) {\n setShowDeliveryRestrictionsModal(true);\n }\n };\n\n const { data: states, isLoading } = useFetchStates(1);\n const filteredStates = states?.filter(state => state.Abbreviation !== 'AK' && state.Abbreviation !== 'HI');\n\n return (\n <>\n { mode === FundraiserFormStepState.Active && !isLoading && (\n \n \n \n \n \n {t('fundraiser.labels.DeliveryAddress')}\n \n \n \n \n \n \n \n {sameAsMailing ? (\n \n ) : (\n \n )}\n \n \n {sameAsMailing ? (\n \n ) : (\n \n )}\n {sameAsMailing ? (\n \n {filteredStates && _.map(filteredStates, state => (\n \n ))}\n \n ) : (\n \n \n {filteredStates && _.map(filteredStates, state => (\n \n ))}\n \n )}\n {sameAsMailing ? (\n \n ) : (\n setZipCode(e.target.value) }\n sx={ { my: '0px' } }\n variant=\"forms.fundraiser.field\"\n />\n )}\n \n \n \n {t('fundraiser.labels.TwoMainCrossStreets')}\n \n \n \n and\n \n \n \n \n \n \n \n \n \n \n \n {t('fundraiser.labels.DeliveryScheduling')}\n \n \n \n { _.map(timeZones, timezone => (\n \n ) }\n name=\"preferredDeliveryTime\"\n sx={ { my: '0px' } }\n variant=\"forms.fundraiser.field\"\n >\n { _.map(deliveryTimes, deliveryTime => (\n \n \n\n \n \n \n \n setShowDeliveryRestrictionsModal(false) }\n />\n \n )}\n { mode === FundraiserFormStepState.Preview && (\n \n \n \n \n \n )}\n { mode === FundraiserFormStepState.Hidden && (\n \n )}\n \n );\n};\n\nexport default DeliveryDetails;\n","import React from 'react';\nimport * as Yup from 'yup';\nimport { useTranslation } from '@lce/i18n';\nimport {\n Button, Box, Flex, Form, Text, Spinner,\n} from '@lce/slice_v2';\n\nimport { Mode, Step } from 'ui/common';\nimport { useTermsAndConditionsInput } from 'ui/components/forms';\nimport HowDidYouHearAboutUsOptions from 'ui/common/HowDidYouHearAboutUsOptions';\nimport { FundraiserBrochure, FundraiserFormStepState, FundraiserType } from 'features/fundraiser/types/fundraiser';\n\nexport interface IAdditionalDetailsProps {\n isError: boolean;\n isLoading: boolean;\n mode: Mode;\n info: Partial;\n onNext: (info: Partial) => void;\n showHowDidYouHearAboutUs: boolean;\n fundraiserType: FundraiserType;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst AdditionalDetails: React.FC = ({\n onNext, isError, isLoading, mode, showHowDidYouHearAboutUs, fundraiserType, info,\n}) => {\n const [ t ] = useTranslation();\n const { TermsAndConditionsInput, termsAndConditionsInputSchema } = useTermsAndConditionsInput();\n\n const handleOnSubmit = (data: Partial) => {\n const info = {\n ...data,\n };\n onNext(info);\n };\n\n const validationSchema = Yup.object().shape({\n Referral: Yup.string(),\n ...termsAndConditionsInputSchema,\n });\n\n return (\n <>\n { mode === FundraiserFormStepState.Active && (\n \n \n \n \n {showHowDidYouHearAboutUs && (\n \n \n {t('fundraiser.Referral')}\n \n \n \n \n \n )}\n \n {t('fundraiser.TermsAndConditions')}\n \n \n {isError && (\n \n {t('fundraiser.FundraiserCreationFailure')}\n \n )}\n \n { isLoading ? (\n \n ) : t('fundraiser.CreateFundraiser') }\n \n \n \n \n \n )}\n\n { mode === FundraiserFormStepState.Hidden && (\n \n )}\n \n );\n};\n\nexport default AdditionalDetails;\n","/* eslint-disable max-len */\n/* eslint-disable max-lines-per-function */\nimport React, { useCallback, useEffect, useState } from 'react';\nimport { Box, Heading, Text } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport { useOktaAuth } from '@okta/okta-react';\nimport { useHistory } from 'react-router-dom';\n\nimport FundraiserDetails from './Form/FundraiserDetails';\nimport ChairpersonDetails from './Form/ChairpersonDetails';\nimport DeliveryDetails from './Form/DeliveryDetails';\nimport AdditionalDetails from './Form/AdditionalDetails';\n\nimport { useLocalStorage, useUserInfo } from 'features/common';\nimport * as FundraiserDefaults from 'constants/FundraiserDefaults';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\nimport CaesarCash from 'assets/images/caesar-cash.svg';\nimport { FundraiserCreate } from 'ui/fundraiser/FundraiserCreation/FundraiserCreate';\nimport { BrochureFormSteps, FundraiserBrochure, FundraiserFormStepState } from 'features/fundraiser/types/fundraiser';\nimport { useSessionStorage } from 'features/common/hooks/useSessionStorage';\nimport { useCreateFundraiserBrochure } from 'features/fundraiser/hooks/useCreateFundraiserBrochure';\n\nexport type BrochureCreatePageProps = {\n testId?: string;\n}\n\nexport const dataTestIdBrochureCreatePage = 'brochure-create-component';\n\ntype StepData = {\n info: Partial;\n stepFilled: BrochureFormSteps;\n}\n\nexport const BrochureCreatePage: React.FC = ({\n testId = dataTestIdBrochureCreatePage,\n}) => {\n const history = useHistory();\n const [ t ] = useTranslation();\n const { authState } = useOktaAuth();\n const { mutateAsync: createFundraiser, isLoading, isError } = useCreateFundraiserBrochure();\n const [ formData, setFormData, removeFormData ] = useSessionStorage(FundraiserDefaults.CreateFundraiserSessionId, {} as FundraiserBrochure);\n\n const { fundraiserType } = useFundraiserState();\n\n const hasParentGroupId = false;\n\n const [ referralSource, setReferralSource ] = useLocalStorage('referralSource');\n const [ franchiseeId, setFranchiseeId ] = useLocalStorage('franchiseeId');\n const isFranchiseeReferral = Boolean(franchiseeId);\n const hasReferralSource = Boolean(referralSource);\n const showHowDidYouHearAboutUs = !hasParentGroupId && !isFranchiseeReferral && !hasReferralSource;\n\n const { data: userInfo } = useUserInfo(authState.isAuthenticated);\n\n const [ currentStep, setCurrentStep ] = useState(BrochureFormSteps.FundraiserDetails);\n const allStepsCompleted = formData?.fundraiserDetailsFilled && formData?.chairpersonDetailsFilled && formData?.deliveryDetailsFilled && formData?.additionalDetailsFilled;\n\n const getStepMode = (stepName: BrochureFormSteps) => {\n switch (stepName) {\n case currentStep:\n return FundraiserFormStepState.Active;\n case BrochureFormSteps.FundraiserDetails:\n return formData.fundraiserDetailsFilled ? FundraiserFormStepState.Preview : FundraiserFormStepState.Hidden;\n case BrochureFormSteps.ChairpersonDetails:\n return formData.chairpersonDetailsFilled ? FundraiserFormStepState.Preview : FundraiserFormStepState.Hidden;\n case BrochureFormSteps.DeliveryDetails:\n return formData.deliveryDetailsFilled ? FundraiserFormStepState.Preview : FundraiserFormStepState.Hidden;\n case BrochureFormSteps.AdditionalDetails:\n return formData.additionalDetailsFilled ? FundraiserFormStepState.Preview : FundraiserFormStepState.Hidden;\n default:\n return FundraiserFormStepState.Hidden;\n }\n };\n\n const updateCurrentStep = useCallback((formData: FundraiserBrochure) => {\n const stepsConditions = [\n { condition: !formData.fundraiserDetailsFilled, step: BrochureFormSteps.FundraiserDetails },\n { condition: !formData.chairpersonDetailsFilled, step: BrochureFormSteps.ChairpersonDetails },\n { condition: !formData.deliveryDetailsFilled, step: BrochureFormSteps.DeliveryDetails },\n { condition: !formData.additionalDetailsFilled, step: BrochureFormSteps.AdditionalDetails },\n ];\n\n if (allStepsCompleted) {\n setCurrentStep(BrochureFormSteps.AdditionalDetails);\n return;\n }\n\n for (const { condition, step } of stepsConditions) {\n if (condition) {\n setCurrentStep(step);\n break;\n }\n }\n }, [ allStepsCompleted ]);\n\n useEffect(() => {\n updateCurrentStep(formData);\n }, [ formData, updateCurrentStep ]);\n\n const goToNextStep = () => {\n const currentIndex = Object.values(BrochureFormSteps).indexOf(currentStep);\n const nextStep = Object.values(BrochureFormSteps)[(currentIndex + 1) % Object.values(BrochureFormSteps).length];\n setCurrentStep(nextStep as BrochureFormSteps);\n };\n\n const saveData = ({\n info, stepFilled,\n }: StepData) => {\n const data = { ...info };\n\n if (info.sameAsMailing) {\n data.deliveryAddress = info.organizationStreetAddress;\n data.deliveryCity = info.organizationCity;\n data.deliveryState = info.organizationState;\n data.deliveryZipCode = info.organizationZipCode;\n }\n\n setFormData({\n ...formData, ...data, [`${ stepFilled }Filled`]: true,\n });\n };\n\n const handleCreateFundraiser = async() => {\n const isLCEStore = isFranchiseeReferral || formData?.Referral === t('HowDidYouHearAboutUsOptions.LCEStore');\n\n let referral = '';\n\n if (hasReferralSource) {\n referral = referralSource;\n } else if (isLCEStore) {\n referral = franchiseeId;\n } else {\n referral = formData?.Referral || '';\n }\n\n if (formData && allStepsCompleted) {\n const fundraiser: FundraiserBrochure = {\n ...formData,\n Id: 0,\n Referral: referral,\n };\n\n const fundraiserData = await createFundraiser(fundraiser);\n if (fundraiserData) {\n setFranchiseeId(undefined);\n setReferralSource(undefined);\n removeFormData();\n history.push('/brochure/start-a-fundraiser/confirm');\n }\n } else {\n updateCurrentStep(formData);\n }\n };\n\n useEffect(() => {\n if (allStepsCompleted) {\n handleCreateFundraiser();\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ allStepsCompleted ]);\n\n return (\n \n \n \n {t('fundraiser.StartAFundraiser', { context: fundraiserType })}\n \n \n {t('fundraiser.labels.RequiredFieldIndicator')}\n \n\n setCurrentStep(BrochureFormSteps.FundraiserDetails) }\n onNext={ (info) => {\n saveData({ info, stepFilled: BrochureFormSteps.FundraiserDetails });\n goToNextStep();\n } }\n />\n setCurrentStep(BrochureFormSteps.ChairpersonDetails) }\n onNext={ (info) => {\n saveData({ info, stepFilled: BrochureFormSteps.ChairpersonDetails });\n goToNextStep();\n } }\n />\n setCurrentStep(BrochureFormSteps.DeliveryDetails) }\n onNext={ (info) => {\n saveData({ info, stepFilled: BrochureFormSteps.DeliveryDetails });\n goToNextStep();\n } }\n />\n {\n saveData({ info, stepFilled: BrochureFormSteps.AdditionalDetails });\n } }\n showHowDidYouHearAboutUs={ showHowDidYouHearAboutUs }\n />\n \n \n );\n};\n","import { useMutation } from 'react-query';\n\nimport { createFundraiserBrochure } from '../../api';\nimport { FundraiserBrochure } from '../../types';\n\nimport { ApiError, ApiResponse } from 'features/common';\n\nexport const useCreateFundraiserBrochure =\n () => useMutation(createFundraiserBrochure);\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport {\n Redirect, Route, Switch, useHistory, useRouteMatch,\n} from 'react-router-dom';\n\nimport { AuthenticatedRoute, PrivateRouteWrapper } from 'ui/routing';\nimport { LayoutWithoutFooter, MainLayout } from 'ui/common/Layouts/Layouts';\nimport { BrochureCreatePage } from 'ui/brochure';\nimport NewFundraiserFormConfirm from 'ui/fundraiser/NewFundraiserForm/NewFundraiserFormConfirm';\nimport { SPECIAL_PERMISSIONS_ROLES } from 'features/fundraiser';\nimport { useBooleanFeature } from 'ui/components/hooks';\n\nexport const BrochureRoutes: React.FC = () => {\n const history = useHistory();\n const { url } = useRouteMatch();\n const isBrochureProgramDisabled = useBooleanFeature('fr_brochure_program_enabled').off;\n\n if (isBrochureProgramDisabled) {\n return ;\n }\n\n //url = brochure/\n return (\n
\n \n \n\n \n\n \n \n
\n );\n};\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable max-len */\nimport React, { useMemo } from 'react';\nimport {\n Router,\n Route,\n Switch,\n Redirect,\n useHistory,\n useLocation,\n} from 'react-router-dom';\nimport { ToastContainer, toast } from 'react-toastify';\nimport { Security, LoginCallback } from '@okta/okta-react';\nimport 'react-toastify/dist/ReactToastify.css';\nimport { useFeature } from '@growthbook/growthbook-react';\n\nimport config from './auth/config';\nimport {\n Header, GuestRoute, MainLayout, DashboardLayout, HomePageLayout, StartAFundraiserLayout, LandingPageLayout, NoLayout,\n} from './ui/common';\nimport { Home } from './pages/home';\nimport Products from './pages/products';\nimport CreateAccount from './pages/createAccount';\nimport { Cart } from './pages/cart';\nimport { Logout } from './pages/logout';\nimport { JoinFundraiser, FundraiserLoginManager } from './pages/login';\nimport * as FundraiserDefaults from './constants/FundraiserDefaults';\nimport { Checkout } from './pages/checkout';\nimport ProductDetail from './pages/productDetail';\nimport { MealDealBuyerRoutes } from './ui/fundraiser/MealDeal';\n\nimport { RouteWrapper, PrivateRouteWrapper } from 'ui/routing';\nimport { ContactUs } from 'pages/contactUs';\nimport NotFound from 'pages/notFound';\nimport Dashboard from 'pages/dashboard';\nimport { FundraiserSupport } from 'pages/fundraiserSupport';\nimport StartAFundraiser from 'pages/startAFundraiser/startAFundraiser';\nimport { OrderConfirmation } from 'pages/orderConfirmation';\nimport Unauthorized from 'pages/Unauthorized';\nimport { Landing } from 'pages/landing';\nimport { HowItWorks } from 'pages/howItWorks';\nimport { AboutUs } from 'pages/aboutUs';\nimport RequestInfo from 'pages/requestInfo';\nimport RequestInfoThankYou from 'pages/requestInfoThankYou';\nimport { Testimonials } from 'pages/testimonials';\nimport { Articles } from 'pages/articles';\nimport { TermsOfService } from 'pages/legal/termsOfService';\nimport { CouponCodeFaqs } from 'pages/coupon-code-faqs';\nimport { FrequentlyAskedQuestions } from 'pages/faq';\nimport { CampaignPolicy } from 'pages/legal/campaignPolicy';\nimport { TermsOfSale } from 'pages/legal/termsOfSale';\nimport { history } from 'features/common';\nimport { Chairperson } from 'pages/chairperson';\nimport { Seller } from 'pages/seller';\nimport { Buyer } from 'pages/buyer';\nimport { LandingGroup } from 'pages/landingGroup';\nimport { FundraiserState } from 'FundraiserState';\nimport { FundraiserProvider } from 'features/fundraiser/context/fundraiserContext';\nimport { Admin } from 'pages/admin';\nimport { Seo, ISeoProps } from 'ui/common/Seo';\nimport { LandingConfirmation } from 'ui/components';\nimport { BrochureRoutes } from 'pages/brochure';\n\nconst AppRouter = () => (\n \n \n \n \n \n);\n\n// eslint-disable-next-line max-lines-per-function\nconst Routes = () => {\n const history = useHistory();\n const { search } = useLocation();\n const onAuthRequiredHandler = () => {\n history.push(`/login?redirectUrl=${ window.location.pathname }`);\n window.location.reload();\n };\n const fundraiser = useFeature('fr_featured_fundraiser').value;\n const ongoingFundraiserURL = useMemo(() => {\n const ongoingFundraiser = new URL(`${ window.location.origin }/fundraisers/support/${ fundraiser?.seller?.SupportGuid }`);\n return ongoingFundraiser.pathname + search;\n }, [ search, fundraiser ]);\n\n return (\n \n \n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\ntype GuestWrapperProps = React.PropsWithChildren<{\n component: React.ComponentType;\n layout?: React.ComponentType;\n path: string;\n seo?: ISeoProps;\n exact?: boolean;\n}>;\n\nfunction GuestRouteWrapper({\n component: Component,\n layout: Layout = MainLayout,\n seo,\n ...rest\n}: GuestWrapperProps) {\n return (\n <>\n \n \n \n \n \n );\n}\n\nexport default AppRouter;\n","import * as React from 'react';\nimport { Helmet } from 'react-helmet';\n\nconst CookieConsent: React.FC = () => {\n const cookieConsentKey = process.env.REACT_APP_COOKIE_CONSENT_KEY;\n const cookieConsentUrl = process.env.REACT_APP_COOKIE_CONSENT_URL;\n return (\n \n \n \n \n \n );\n};\n\nexport default CookieConsent;\n","import React, { useEffect } from 'react';\nimport { Flex, SliceProvider, Spinner } from '@lce/slice_v2';\nimport { QueryClientProvider } from 'react-query';\nimport { fontDefinitions } from '@lce/slice_v2/theme/lce/eComm';\nimport { IntlProvider } from '@lce/i18n';\nimport { ReactQueryDevtools } from 'react-query/devtools';\nimport { HelmetProvider } from 'react-helmet-async';\nimport ReactPixel from 'react-facebook-pixel';\n\nimport en from './i18n/en-us.json';\nimport AppRouter from './AppRouter';\nimport { theme, fontFamilies } from './theme';\nimport { queryClient } from './query-client';\n\nimport { CartStateProvider } from 'features/cart';\nimport { AnalyticsProvider } from 'features/analytics';\nimport Maintenence from 'pages/maintenence/Maintenence';\nimport CookieConsent from 'ui/common/CookieConsent';\nimport { useGrowthBook } from 'ui/hooks';\n\nconst fbpOptions = {\n autoConfig: true,\n debug: false,\n};\n\nReactPixel.init(`${ process.env.REACT_APP_FACEBOOK_PIXEL_ID }`, undefined, fbpOptions);\nReactPixel.pageView();\n\nconst analyticsSettings = {\n CONFIG: {\n GOOGLE_TAG_MANAGER: {\n ID: process.env.REACT_APP_GOOGLE_TAG_MANAGER_ID || '',\n PREVIEW: process.env.REACT_APP_GOOGLE_TAG_MANAGER_PREVIEW || '',\n AUTH: process.env.REACT_APP_GOOGLE_TAG_MANAGER_AUTH || '',\n },\n },\n};\n\nconst App: React.FC = () => {\n const { GrowthBookProvider, growthbook, growthbookReady } = useGrowthBook();\n\n useEffect(() => {\n console.log(`%c🍕Build: ${ process.env.REACT_APP_AZURE_BUILD }`, 'color: #FF671B');\n console.log(`%cVersion: ${ process.env.REACT_APP_VERSION }`, 'color: #FF671B');\n }, []);\n\n return growthbookReady ? (\n \n \n \n \n \n \n { process.env.REACT_APP_MAINTENENCE_MODE === 'true'\n ? \n : (\n \n \n \n )}\n \n \n \n { process.env.NODE_ENV === 'development' &&\n }\n \n \n \n \n ) : (\n \n \n \n \n \n );\n};\n\nexport default App;\n","/* eslint-disable function-paren-newline */\nimport 'react-app-polyfill/ie11';\nimport 'react-app-polyfill/stable';\nimport React from 'react';\nimport ReactDOM from 'react-dom';\n\nimport App from './App';\n// import * as serviceWorker from './serviceWorker';\n\nReactDOM.render(\n \n \n ,\n document.getElementById('root'));\n\n// serviceWorker.unregister();\n","import { useQuery } from 'react-query';\n\nimport { ApiError } from '../types';\nimport { UserInfo } from '../types/userInfo';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport api from 'api';\nimport { appInsights } from 'features/analytics/ApplicationInsights';\n\nconst useUserInfoRequest = () => api.get('api/user/info');\n\nconst useUserInfo = (authenticated: boolean) => useQuery(QueryKeys.UserInfo, useUserInfoRequest,\n {\n enabled: !!authenticated,\n retry: true,\n refetchOnMount: true,\n refetchOnReconnect: true,\n refetchOnWindowFocus: false,\n onSuccess: (data) => {\n if (data.Guid) {\n appInsights.clearAuthenticatedUserContext();\n appInsights.setAuthenticatedUserContext(data.Guid);\n }\n },\n });\n\nexport { useUserInfo };\n","import { useQuery } from 'react-query';\n\nimport { Group } from '../types';\nimport { fetchGroup } from '../api';\nimport * as QueryKeys from '../../../constants/QueryKeys';\n\nimport { ApiError } from 'features/common';\n\nexport const useFetchGroup = (id: string) => useQuery(`${ QueryKeys.Group }${ id }`,\n () => fetchGroup(id), { retry: false, refetchOnWindowFocus: false, enabled: parseInt(id) > 0 });\n","module.exports = __webpack_public_path__ + \"static/media/caesar-cash.24d7f515.svg\";","// Fundraiser User Roles\nexport const AdminRoleName = 'Admin';\n\nexport const SuperAdminRoleName = 'SuperAdmin';\n\nexport const BuyerRoleName = 'Buyer';\n\nexport const ChairpersonRoleName = 'Chairperson';\n\nexport const SellerRoleName = 'Seller';\n\nexport const GuestsRoleName = 'Guest';\n\nexport const SalesAgentRoleName = 'SalesAgent';\n\nexport const ISCRoleName = 'Independent Sales Consultant';\n\n// Fundraiser Product Type IDs\nexport const ComboProductItem = 10;\n\nexport const ProfitPerKit = 6;\n\nexport const CreateFundraiserSessionId = 'createFundraiserForm';\n\nexport const FinalOrderSessionId = 'finalOrderForm';\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport React, { Dispatch } from 'react';\nimport { toast } from 'react-toastify';\n\nimport { AddToCartToast } from 'ui/common/Toast/CustomToasts';\nimport { Product } from 'features/products';\nimport { CartItem } from 'features/cart/types';\n\nconst addToCart = async(dispatch: Dispatch, product: Product, quantity: number) => {\n try {\n dispatch({ type: 'ADD_ITEM', payload: { product, quantity } });\n toast(, { position: 'top-center', autoClose: 3000 });\n } catch (error) {\n console.log(error);\n }\n};\n\nconst modifyCart = async(dispatch: Dispatch, productId: number, quantity: number) => {\n try {\n dispatch({ type: 'MODIFY_ITEM', payload: { productId, quantity } });\n } catch (error) {\n console.log(error);\n }\n};\n\nconst clearCart = async(dispatch: Dispatch) => {\n try {\n dispatch({ type: 'CLEAR' });\n } catch (error) {\n console.log(error);\n }\n};\n\nconst updateCart = (dispatch: Dispatch, items: CartItem[]) => {\n try {\n dispatch({ type: 'UPDATE_CART', items: { items } });\n } catch (error) {\n console.log(error);\n }\n};\n\nexport {\n addToCart, clearCart, modifyCart, updateCart,\n};\n","import { useQuery } from 'react-query';\nimport { noop as _noop, isNil as _isNil } from 'lodash';\n\nimport { FundraiserListItem, FundraiserStatus } from '../types/fundraiser';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\nimport api from 'api';\n\n/** Api Calls */\nconst fetchFundraiserById =\n async(id: number) => api.get(`api/fundraiser/${ id }`).then(res => res);\n\nconst fetchFundraiserByGuid =\n async(guid: string) => api.get(`api/fundraiser/${ guid }`).then(res => res);\n\n/** Hooks */\nexport const useFetchFundraiserById =\n (id: number, onSuccess: (fundraiserListItem: FundraiserListItem) => void = _noop) => useQuery<\n FundraiserListItem,\n ApiError\n >(QueryKeys.FundraiserById + id,\n () => fetchFundraiserById(id), {\n retry: false,\n refetchOnWindowFocus: false,\n enabled: id > 0,\n onSuccess,\n select: (data) => {\n if (_isNil(data.FundraiserStatus)) {\n data.FundraiserStatus = FundraiserStatus.Active;\n }\n return data;\n },\n });\n\nexport const useFetchFundraiserByGuid =\n (guid: string) => useQuery(QueryKeys.FundraiserById + guid,\n () => fetchFundraiserByGuid(guid), {\n retry: false,\n refetchOnWindowFocus: false,\n enabled: guid !== '',\n });\n","/* eslint-disable max-len */\nimport React from 'react';\nimport {\n Divider, Flex, Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport * as FundraiserDefaults from 'constants/FundraiserDefaults';\nimport { AccountMenu } from 'ui/common/Sidebar/AccountMenu';\nimport { FundraiserType } from 'features/fundraiser/types';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\nimport { useFetchProductsPageRoute } from 'features/products';\nimport { StatefulLink } from 'ui/components/links';\n\nexport interface ILinksProps {\n loggedIn: boolean;\n roles: string[];\n}\n\ninterface IRenderLinkItem {\n text: string;\n path: string;\n search?: string;\n nested?: boolean;\n persistSearch?: boolean;\n}\n\nconst elevatedRoles = [\n FundraiserDefaults.SuperAdminRoleName,\n FundraiserDefaults.ChairpersonRoleName,\n FundraiserDefaults.SalesAgentRoleName,\n FundraiserDefaults.SellerRoleName,\n];\n\nconst RenderLinkItem: React.FC = ({\n path, search, text, nested = false, persistSearch = false,\n}) => (\n \n \n \n {text}\n \n \n \n);\n\nconst Links: React.FC = ({ loggedIn, roles }) => {\n const [ t ] = useTranslation();\n const showFundraiserRoute = roles && elevatedRoles.filter(x => roles.includes(x)).length > 0;\n const { fundraiserType } = useFundraiserState();\n const loginUrl = t('nav.LoginUrl', { context: fundraiserType });\n const showHowItWorks = fundraiserType !== FundraiserType.MealDeal;\n const showAboutUs = fundraiserType !== FundraiserType.MealDeal;\n const productPageRoute = useFetchProductsPageRoute();\n const [ productPagePathname, productPageSearch ] = productPageRoute.split('?');\n\n return (\n \n {showHowItWorks && ()}\n \n {showAboutUs && ()}\n \n\n \n\n {loggedIn ? (\n \n {showFundraiserRoute &&\n }\n \n {\n roles.includes(FundraiserDefaults.SuperAdminRoleName) && \n }\n \n {roles.includes(FundraiserDefaults.SuperAdminRoleName) &&\n }\n \n \n )\n : }\n \n );\n};\n\nexport default Links;\n","import { Overlay } from './Overlay';\n\nconst Menu = {\n Overlay,\n};\n\nexport default Menu;\n","import React, { useState, useEffect } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { ChevronLeft, Menu } from 'react-feather';\nimport {\n Box, IconButton,\n} from '@lce/slice_v2';\n\nimport { Links } from '../Links';\n\ninterface IOverlayProps {\n loggedIn: boolean;\n roles: string[];\n}\n\nconst Overlay: React.FC = ({ loggedIn, roles }) => {\n const [ isOpen, setIsOpen ] = useState(false);\n const history = useHistory();\n\n useEffect(() => history.listen(() => setIsOpen(false)));\n\n const handleOnOpen = () => setIsOpen(true);\n const handleOnClose = () => setIsOpen(false);\n\n return (\n <>\n { isOpen\n ? (\n \n \n \n )\n : (\n \n \n \n )}\n\n \n \n \n \n );\n};\n\nexport default Overlay;\n","import * as React from 'react';\nimport {\n Flex, Box, Button,\n} from '@lce/slice_v2';\nimport { useHistory } from 'react-router-dom';\nimport { useTranslation } from '@lce/i18n';\n\nimport { Cart } from '../Cart';\nimport Menu from '../Menu';\nimport { Arch, useIsArchExpanding } from '../Arch';\n\nimport { theme } from 'theme';\nimport { useMediaQuery } from 'features/common';\nimport { useChooseLogo } from 'features/fundraiser/hooks/useChooseLogo/useChooseLogo';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\nimport { FundraiserType } from 'features/fundraiser';\n\nexport interface IMobileProps {\n isAuthenticated: boolean;\n roles: string[];\n joinFundPage: boolean;\n}\nexport const joinFundPage = window.location.href.includes('join-fundraiser');\nexport const MOBILE_HEADER_HEIGHT = joinFundPage ? '92px' : '135px';\n\n// eslint-disable-next-line max-lines-per-function\nconst Mobile: React.FC = ({\n isAuthenticated, joinFundPage, roles,\n}) => {\n const history = useHistory();\n const [ t ] = useTranslation();\n const isTablet = useMediaQuery(`(min-width: ${ theme.breakpoints[1] } )`);\n const { fundraiserType } = useFundraiserState();\n const startFundraiserUrl = t('nav.StartAFundraiserUrl', { context: fundraiserType });\n const { Logo } = useChooseLogo(fundraiserType, true);\n const showStartAFundraiser = fundraiserType !== FundraiserType.MealDeal;\n const isArchExpanding = useIsArchExpanding();\n const headerHeight = joinFundPage && !isTablet ? '88px' : !showStartAFundraiser ? '88px' : MOBILE_HEADER_HEIGHT;\n\n return (\n \n \n \n \n \n \n \n \n \n \n \n {showStartAFundraiser && (\n \n history.push(startFundraiserUrl) }\n sx={ {\n mx: 'auto',\n fontSize: '13px',\n width: [ '100%', 'auto' ],\n whiteSpace: 'nowrap',\n display: joinFundPage ? 'none' : 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n maxWidth: '347px',\n px: [ 0, 8, 6, 6, 5 ],\n } }\n >\n START NEW FUNDRAISER\n \n \n )}\n \n \n \n );\n};\n\nexport default Mobile;\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport {\n Flex, Text, Link, Container,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { RouterLink } from '../RouterLink';\n\nimport { SocialLinks } from 'ui/fundraiser/SocialLinks';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\n\nconst Footer: React.FC<{}> = () => {\n const [ t ] = useTranslation();\n\n return (\n
\n \n \n \n \n \n {`©2003-${ new Date().getFullYear() } ${ t('footer.FinePrint') }`}\n \n \n \n
\n );\n};\n\nconst FooterNavLinks: React.FC = () => {\n const { fundraiserType } = useFundraiserState();\n const [ t ] = useTranslation();\n const faqsUrl = t('footer.faqLinksUrl', { context: fundraiserType });\n\n return (\n \n \n {t('footer.Canada')}\n \n \n {t('footer.PrivacyPolicy')}\n \n \n {t('footer.CaliforniaPrivacyPolicy')}\n \n \n {t('footer.ContactUs')}\n \n \n {t('footer.FAQs')}\n \n \n {t('footer.Careers')}\n \n \n );\n};\n\nexport default Footer;\n","export enum PictureTypes {\n\n /// \n /// Entities (products, categories, manufacturers)\n /// \n Entity = 1,\n\n /// \n /// Avatar\n /// \n Avatar = 10,\n\n /// \n /// Product Carousel Image\n /// \n /// Thumbnail picture\n /// \n Thumbnail = 30,\n\n /// \n /// Product's Nutritional Information picture\n /// \n NutritionalInfo = 40\n}\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport {\n Modal as SliceModal, Text, Flex, Button, IconButton, Link,\n} from '@lce/slice_v2';\nimport { X } from 'react-feather';\nimport { useTranslation } from '@lce/i18n';\n\nimport { CopyShareDescription } from 'ui/fundraiser/CopyShareDescription';\n\nexport interface IInstagramModalProps {\n fundraiserName: string;\n link: string;\n onClose: () => void;\n isOpen: boolean;\n}\n\nconst InstagramModal: React.FC = ({\n onClose, fundraiserName, link, isOpen,\n}) => {\n const [ t ] = useTranslation();\n return (\n div': {\n p: [ '10px', '20px' ],\n },\n } }\n >\n \n \n \n \n \n\n \n \n {t('mealDeal.success.instagramModal.shareOn')}\n \n\n \n {t('mealDeal.success.instagramModal.subTitle')}\n \n\n \n \n {t('mealDeal.success.instagramModal.step1.header')}\n \n\n \n {t('mealDeal.success.instagramModal.step1.body')}\n \n\n \n\n \n {t('mealDeal.success.instagramModal.step2.header')}\n \n\n \n {t('mealDeal.success.instagramModal.step2.body')}\n \n \n\n \n \n {t('mealDeal.success.instagramModal.button')}\n \n \n\n \n \n \n );\n};\n\nexport { InstagramModal };\n","/* eslint-disable react/forbid-component-props */\nimport React, { useState } from 'react';\nimport {\n Flex, Image, IconButton,\n} from '@lce/slice_v2';\nimport { ThemeUIStyleObject } from 'theme-ui';\nimport { useTranslation } from '@lce/i18n';\nimport { FacebookShareButton, PinterestShareButton, TwitterShareButton } from 'react-share';\n\nimport { InstagramModal } from './InstagramModal';\n\nimport Instagram from 'assets/icons/instagram.svg';\nimport Facebook from 'assets/icons/facebook.svg';\nimport Pinterest from 'assets/icons/pinterest.svg';\nimport Twitter from 'assets/icons/twitterX.svg';\n\nexport interface ISocialButtons {\n fundraiserName: string;\n fundraiserImage: string;\n link: string;\n sx?: ThemeUIStyleObject;\n}\n\nconst buttonStyle = {\n height: '40px',\n width: '40px',\n padding: '0px',\n cursor: 'pointer',\n};\n\n// eslint-disable-next-line max-lines-per-function\nexport const SocialButtons: React.FC = ({\n fundraiserName, fundraiserImage, link, sx,\n}) => {\n const [ t ] = useTranslation();\n const [ isInstagramModalOpen, setIsInstagramModalOpen ] = useState(false);\n\n const handleModalOpen = () => {\n setIsInstagramModalOpen(!isInstagramModalOpen);\n };\n\n return (\n \n \n \"Facebook\"\n \n\n \n \n \n\n \n \"X\"\n \n\n \n \"Instagram\"\n \n \n \n );\n};\n","import { useState, useEffect } from 'react';\n\n/**\n * Accepts a media query string then uses the\n * [window.matchMedia](https://developer.mozilla.org/en-US/docs/Web/API/Window/matchMedia) API to determine if it\n * matches with the current document.
\n * It also monitor the document changes to detect when it matches or stops matching the media query.
\n * Returns the validity state of the given media query.\n * Sourced From: https://github.com/beautifulinteractions/beautiful-react-hooks\n */\nconst useMediaQuery = (mediaQuery) => {\n const [ isVerified, setIsVerified ] = useState(!!window.matchMedia(mediaQuery).matches);\n\n useEffect(() => {\n const mediaQueryList = window.matchMedia(mediaQuery);\n const documentChangeHandler = () => setIsVerified(!!mediaQueryList.matches);\n\n // mediaQueryList.addEventListener('change', documentChangeHandler);\n mediaQueryList.addListener(documentChangeHandler);\n documentChangeHandler();\n return () => {\n mediaQueryList.removeListener(documentChangeHandler);\n };\n }, [ mediaQuery ]);\n\n return isVerified;\n};\n\nexport default useMediaQuery;\n","import { useQuery } from 'react-query';\nimport { useLocation, useRouteMatch } from 'react-router-dom';\nimport { noop as _noop } from 'lodash';\n\nimport { fetchSellerBySupportGuid } from '../../api';\nimport { Seller } from '../../types';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\nimport { useCartState } from 'features/cart';\n\nconst useFetchSellerBySupportGuid = (onSuccess: (seller: Seller) => void = _noop) => {\n const cartState = useCartState();\n const { params } = useRouteMatch();\n const { search } = useLocation();\n const urlSearchParams = new URLSearchParams(search);\n const supportGuid = urlSearchParams.get('support');\n\n const id = params['supportGuid'] || supportGuid || cartState.sellerId || '';\n\n return useQuery(`${ QueryKeys.SellerPrefix }-${ id }`,\n () => fetchSellerBySupportGuid(id),\n {\n enabled: !!id,\n onSuccess,\n retry: false,\n refetchOnWindowFocus: false,\n });\n};\n\nexport { useFetchSellerBySupportGuid };\n","/* eslint-disable max-len */\nimport { IReportFilterOptions } from '../types';\n\nexport const GenerateReportFiltersQuery = (filterOptions: IReportFilterOptions) => {\n let query = '';\n query += filterOptions.reportType !== null ? `?ReportType=${ filterOptions.reportType }` : '';\n query += filterOptions.reportFormat != null ? `&ReportFormat=${ filterOptions.reportFormat }` : '';\n query += filterOptions.reportStatuses != null ? filterOptions.reportStatuses.map(value => `&ReportStatuses=${ value.toString() }`).toString().replace(/,/g, '') : '';\n query += filterOptions.rangeStartDate != null ? `&RangeStartDate=${ filterOptions.rangeStartDate }` : '';\n query += filterOptions.rangeEndDate != null ? `&RangeEndDate=${ filterOptions.rangeEndDate }` : '';\n query += filterOptions.statesSelection != null ? filterOptions.statesSelection.map(value => `&StatesSelect=${ value.toString() }`).toString().replace(/,/g, '') : '';\n query += filterOptions.salesRepsSelection != null ? filterOptions.salesRepsSelection.map(value => `&SalesRepsSelect=${ value.toString() }`).toString().replace(/,/g, '') : '';\n query += filterOptions.iscsSelection != null ? filterOptions.iscsSelection.map(value => `&IscsSelect=${ value.toString() }`).toString().replace(/,/g, '') : '';\n return encodeURI(query);\n};\n","import {\n SSUGroupParams,\n} from '../../types';\n\nimport api from 'api';\n\nexport const createSSUFundraiser = async(formData: SSUGroupParams) => api.post('api/fundraiser/simplesignup', formData);\n","/* eslint-disable max-len */\nimport {\n FundraiserSummary,\n Fundraiser,\n FundraiserListItem,\n FundraiserSellerValidation,\n FundraiserSearchOptions,\n FundraiserEmailPreferences,\n FundraiserProfitCheckAddress,\n FundraiserOrderSummary,\n FundraiserFinalOrder,\n FundraiserBrochure,\n ExistingCoupon,\n CouponsAppliedToFinalOrder,\n FinalOrderSummary,\n FinalOrderInfo,\n NoDeliveryDate,\n} from './types/fundraiser';\nimport { EmailNotifications } from './types/emailNotifications';\nimport { Seller, UpdateSellerRequest } from './types/seller';\nimport { Stat } from './types/stats';\nimport { GenerateReportFiltersQuery } from './utils/GenerateReportFiltersQuery';\nimport {\n IReportFilterOptions,\n Group,\n GroupChairperson,\n GroupType,\n SSULandingGroup,\n} from './types';\nimport { ISalesCustomer } from './types/customer';\n\nimport api from 'api';\nimport { ApiResponse, PagedList } from 'features/common';\n\nexport const fetchGroups = async() => api.get('api/group');\n\nexport const fetchGroup = async(id: string) => api.get(`api/group/${ id }`);\n\nexport const fetchGroupTypes = async() => api.get('api/groupType');\n\nexport const fetchGroupChairperson = async() => api.get('api/group/chairperson');\n\nexport const fetchFundraiserReport = async() => api.download('api/report/fundraiser-summary'); // TODO: accept props or remove this and use the other one\n\nexport const createFundraiser = async formData => api.post('api/fundraiser', formData);\n\nexport const createFundraiserMealDeal = async formData => api.post('api/fundraiser/mealdeal', formData);\n\nexport const createFundraiserBrochure = async(formData: FundraiserBrochure) => api.post>('api/fundraiser/brochure', formData);\n\nexport const fetchFundraiserSellerSummary = async(fundraiserId: number) => api.get(`api/fundraiser/summary/${ fundraiserId }`);\n\nexport const fetchEmailNotifications = async() => api.get('api/notifications/email');\n\nexport const fetchFundraiserSellerSummaryExcel = async(fundraiserId: number) => api.download(`api/fundraiser/summary-excel/${ fundraiserId }`);\n\nexport const updateFundraiserFormData = async(fundraiserFormData: Fundraiser) => api.put('api/fundraiser/formdata', fundraiserFormData);\n\nexport const fetchJoinFundraiserValidation = async(fundraiserGuid: string) => api.get(`api/fundraiserseller/validation/${ fundraiserGuid }`);\n\nexport const createFundraiserSeller = async(fundraiserGuid: string) => api.post(`api/fundraiserseller/${ fundraiserGuid }`);\n\nexport const deleteFundraiserSeller = async(fundraiserSellerId: number) => api.delete(`api/fundraiserseller/${ fundraiserSellerId }`);\n\nexport const removeFundraiserSeller = async(fundraiserSellerId: number) => api.delete(`api/fundraiserseller/remove/${ fundraiserSellerId }`);\n\nexport const activateFundraiserSeller = async(fundraiserSellerId: number) => api.put(`api/fundraiserseller/activate/${ fundraiserSellerId }`);\n\nexport const fetchFundraisers = async(options: FundraiserSearchOptions) => api.get>(`api/fundraiser?Page=${ options.page }&PageSize=${ options.pageSize }&Keyword=${ encodeURIComponent(options?.keyword ?? '') }&Sort=${ options?.sort ?? 0 }&State=${ options?.state ?? 0 }&SelectedStartDate=${ options?.selectedStartDate || '' }&SelectedEndDate=${ options?.selectedEndDate || '' }`);\n\nexport const fetchFundraiserFormData = async(id: number) => api.get(`api/fundraiser/formdata/${ id }`);\n\nexport const fetchSellerBySupportGuid = async(id: string) => api.get(`api/fundraiserseller/support/${ id }`);\n\nexport const fetchSellerById = async(fundraiserId: number, customerId: number) => api.get(`api/fundraiserseller/${ customerId }/fundraiser/${ fundraiserId }`); // good example\n\nexport const fetchSellerByFundraiserId =\n async(id: string) => api.get(`api/fundraiserseller/${ id }`);\n\nexport const updateFundraiser =\n async(fundraiser: FundraiserListItem) => api.put('api/fundraiser', fundraiser);\n\nexport const updateSellerActivity = async(fundraiserSellerId: number, activity: boolean) => api.put(`api/fundraiserseller/activity/${ fundraiserSellerId }?activity=${ activity }`);\n\nexport const updateSeller =\n async(seller: UpdateSellerRequest) => api.put('api/fundraiserseller', seller);\n\nexport const fetchFilteredReport = async(filterOtions: IReportFilterOptions) => api.download(`api/report/${ GenerateReportFiltersQuery(filterOtions) }`);\n\nexport const fetchSalesCustomers = async() => api.get('api/salesagent/sales-customers'); // Fetch all Sales Agents and ISCs\n\nexport const updateFundraiserEmailPreferences = async(data: {fundraiserPreferences: FundraiserEmailPreferences }) => api.put('api/notifications/email', data.fundraiserPreferences);\n\nexport const fetchFundraiserQRCode = async(fundraiserId: number) => api.get(`api/fundraiser/${ fundraiserId }/fundraiserqrcode`);\n\nexport const fetchSellerQRCode = async(sellerId: number | undefined) => api.get(`api/fundraiserseller/${ sellerId }/fundraiserSellerQRCode`);\n\nexport const fetchChairpersonDashboardStatistics = async(fundraiserId: number) => api.get(`api/Statistics/GetChairpersonDashboardStatistics/${ fundraiserId }`);\n\nexport const fetchSellerDashboardStatistics = async(sellerId: number | undefined) => api.get(`api/Statistics/GetSellerDashboardStatistics/${ sellerId }`);\n\nexport const updateFundraiserProfitCheckAddress = async(data: FundraiserProfitCheckAddress) => api.put('api/Fundraiser/mealdeal/address', data);\n\nexport const fetchFundraiserOrderSummary = async(fundraiserId: number) => api.get(`api/fundraiser/${ fundraiserId }/finalorder/products`);\n\nexport const createFinalOrder = async(request: FundraiserFinalOrder) => api.post(`api/fundraiser/${ request.fundraiserId }/finalorder/products`, request.kitOrders);\n\nexport const fetchExistingCoupons = async(fundraiserId: number) => api.get(`api/fundraiser/${ fundraiserId }/FinalOrder/Coupons`);\n\nexport const applyCouponsToFinalOrder = async(request: CouponsAppliedToFinalOrder) => api.put>(`api/fundraiser/${ request.fundraiserId }/FinalOrder/Coupons`, request.appliedCoupons);\n\nexport const fetchFinalOrderSummary = async(fundraiserId: number) => api.get(`api/fundraiser/${ fundraiserId }/FinalOrder/profitsummary`);\n\nexport const updateFinalOrderInformation = async(formData: FinalOrderInfo) => api.put>(`api/fundraiser/${ formData.fundraiserId }/FinalOrder/Information`, formData.finalOrderInformation);\n\nexport const fetchOnlineOrderReport = async(fundraiserId: number) => api.download(`api/fundraiser/${ fundraiserId }/onlineordersreport`);\n\nexport const fetchNoDeliveryDate = async(zipCode: string) => api.get(`api/fundraiser/nodeliverydate?zipCode=${ zipCode }`);\n\nexport const fetchSSUGroupByIdSlug = async(id: string, slug: string) => api.get(`api/fundraiser/simplesignup?parentGroupId=${ id }&slug=${ slug }`);\n\nexport { createSSUFundraiser } from './api/create-ssu-fundraiser';\n","import React from 'react';\nimport { Flex, Link, Text } from '@lce/slice_v2';\nimport _map from 'lodash/map';\nimport { ThemeUIStyleObject } from 'theme-ui';\nimport { useTranslation } from '@lce/i18n';\n\ninterface IEmailLinks {\n title: string;\n subject: string;\n body: string;\n largeFont?: boolean;\n sx?: ThemeUIStyleObject;\n idSuffix?: string;\n}\n\ninterface IEmailProviderProps {\n emailClient: string;\n srcURL: string;\n subjectParam: string;\n bodyParam: string;\n}\n\nexport const EmailLinks: React.FC = ({\n title, subject, body, largeFont, sx, idSuffix = '',\n}) => {\n const [ t ] = useTranslation();\n const emailProviders: IEmailProviderProps[] = t('emailProviders', { returnObjects: true });\n return (\n \n \n {title}\n \n \n {_map(emailProviders, (emailProvider, index) => (\n \n { emailProvider.emailClient }\n \n ))}\n \n \n\n );\n};\n","import * as React from 'react';\nimport { Flex, Image } from '@lce/slice_v2';\n\nimport MobileSVG from './LCF-Logo-Mobile.svg';\nimport MDSVG from './LCF-Logo-Meal-Deal-Desktop.svg';\n\nimport DesktopLCFTextSVG from 'assets/images/homepage/LCF.svg';\nimport DesktopPizzaKitManSvg from 'assets/images/homepage/PizzaKitMan.svg';\nimport { StatefulLink } from 'ui/components/links';\nimport { RouterLink } from 'ui/common/RouterLink';\n\nconst DesktopLogo: React.FC = () => (\n \n \n \n \n \n \n);\n\nconst DesktopMDLogo: React.FC = () => (\n \n \n \n);\n\nconst MobileLogo: React.FC = () => (\n \n \n \n);\n\nconst MobileMDLogo: React.FC = () => (\n \n \n \n);\n\nexport {\n DesktopLogo,\n DesktopMDLogo,\n MobileLogo,\n MobileMDLogo,\n};\n","import { FundraiserType } from 'features/fundraiser/types';\nimport {\n DesktopLogo, DesktopMDLogo, MobileLogo, MobileMDLogo,\n} from 'ui/common/Header/Logo/Logo';\n\nexport const useChooseLogo = (fundraiserType?: FundraiserType, isMobile?: boolean) => {\n if (fundraiserType === FundraiserType.MealDeal) {\n if (isMobile) {\n return { Logo: MobileMDLogo };\n } else {\n return { Logo: DesktopMDLogo };\n }\n } else {\n if (isMobile) {\n return { Logo: MobileLogo };\n } else {\n return { Logo: DesktopLogo };\n }\n }\n};\n","export * from './FundraiserDefaults';\nexport * from './QueryKeys';\n","module.exports = __webpack_public_path__ + \"static/media/jumping-caesar.f86c4063.png\";","module.exports = __webpack_public_path__ + \"static/media/Announcer-Caesar-Man.e0482e33.png\";","module.exports = __webpack_public_path__ + \"static/media/info-icon.e2831a06.svg\";","import React from 'react';\nimport { map as _map } from 'lodash';\nimport { useTranslation } from '@lce/i18n';\nimport { Option } from '@lce/slice_v2';\n\nconst HowDidYouHearAboutUsOptions = () => {\n const [ t ] = useTranslation();\n const optionsList = t('HowDidYouHearAboutUsOptions.options', { returnObjects: true });\n\n return (\n <>\n \n {_map(optionsList, option => (\n \n ))}\n \n );\n};\n\nexport default HowDidYouHearAboutUsOptions;\n","import { Cart } from '../../types/cart';\n\nimport { CartState } from './cartContext';\n\nimport { GoogleEvents } from 'features/analytics';\nimport { Product } from 'features/products';\n\nconst addItemToCart = (cart: Cart, { product, quantity }: { product: Product; quantity: number }): Cart => {\n let currentItem = cart && cart.items.find(x => x.ProductId === product.Id);\n\n GoogleEvents.addToCart({\n id: product.Id.toString(),\n name: product.Name,\n price: product.Price,\n quantity: quantity,\n });\n\n if (currentItem) {\n currentItem.Quantity = currentItem.Quantity + quantity;\n if (currentItem.Quantity > 99) {\n currentItem.Quantity = 99;\n }\n } else {\n currentItem = {\n ProductId: product.Id,\n Sku: product.Sku,\n IsFreeShipping: product.IsFreeShipping,\n IsDonation: product.IsDonation,\n Quantity: quantity,\n Picture: product.ThumbnailImage,\n ProductName: product.Name,\n ProductTypeId: product.ProductTypeId,\n UnitPrice: product.Price,\n ShortDescription: product.ShortDescription,\n Subtotal: product.Price * quantity,\n Warnings: [],\n };\n cart.items.push(currentItem);\n }\n\n return cart;\n};\n\nconst modifyItemInCart = (cart: Cart, { productId, quantity }: { productId: number; quantity: number }): Cart => {\n const itemIndex = cart.items.findIndex(x => x.ProductId === productId);\n\n if (itemIndex === -1) {\n return cart;\n }\n\n if (quantity === 0) {\n cart.items.splice(itemIndex, 1);\n } else {\n cart.items[itemIndex].Quantity = quantity;\n }\n\n return cart;\n};\n\nconst calculateSubtotal = (cart: Cart): number => {\n let total = 0;\n\n if (cart && cart.items && cart.items.length > 0) {\n for (let i = 0;i < cart.items.length;i++) {\n total += cart.items[i].UnitPrice * cart.items[i].Quantity;\n }\n }\n\n return total;\n};\n\nconst getTotalQuantity = (cart: Cart): number => {\n let total = 0;\n\n if (cart && cart.items && cart.items.length > 0) {\n total = cart.items.map(x => x.Quantity).reduce((a, b) => a + b);\n }\n\n return total;\n};\n\nconst cartReducer = (state: CartState, action): CartState => {\n const { type, payload } = action;\n\n switch (type) {\n case 'ADD_ITEM': {\n const lineItems = addItemToCart(state.cart, payload);\n\n return {\n ...state,\n cart: lineItems,\n subtotal: calculateSubtotal(lineItems),\n totalQuantity: getTotalQuantity(lineItems),\n };\n }\n case 'MODIFY_ITEM': {\n const lineItems = modifyItemInCart(state.cart, payload);\n\n return {\n ...state,\n cart: lineItems,\n subtotal: calculateSubtotal(lineItems),\n totalQuantity: getTotalQuantity(lineItems),\n };\n }\n case 'UPDATE_CART': {\n return {\n ...state,\n cart: action.items,\n subtotal: calculateSubtotal(action.items),\n };\n }\n case 'CLEAR':\n return {\n ...state,\n cart: { items: [] },\n subtotal: 0,\n totalQuantity: 0,\n };\n case 'SET_SELLER':\n return {\n ...state,\n sellerId: action.sellerId,\n };\n case 'SET_START_SHOPPING':\n return { ...state, canStartShopping: true };\n case 'SET_GUEST':\n return {\n ...state,\n guestId: action.guestId,\n };\n default:\n return state;\n }\n};\n\nexport { cartReducer, calculateSubtotal, getTotalQuantity };\n","export * from './hooks';\nexport * from './types';\n","import { useState } from 'react';\nimport { useLocation } from 'react-router-dom';\n\nimport { useEventListener } from 'features/common/hooks/useEventListener';\n\nexport const useIsArchExpanding = () => {\n const [ isArchExpanding, setIsArchExpanding ] = useState(true);\n const location = useLocation();\n const onScroll = () => {\n setIsArchExpanding(window.scrollY < 100);\n };\n useEventListener('scroll', onScroll);\n\n if (location.pathname !== '/') {\n return false;\n }\n\n return isArchExpanding;\n};\n","import React, { useMemo } from 'react';\nimport { useLocation } from 'react-router-dom';\n\nimport { useIsArchExpanding } from './hooks';\n\nexport interface IArchProps {\n headerHeight: string;\n}\n\nconst ExpandingArch: React.FC = ({ headerHeight }) => (\n \n \n \n \n \n);\n\nconst CollapsingArch: React.FC = ({ headerHeight }) => (\n \n \n \n \n \n);\n\nconst Arch: React.FC = ({ headerHeight }) => {\n const location = useLocation();\n const isArchExpanding = useIsArchExpanding();\n\n const AnimatedArch = useMemo(() => {\n if (isArchExpanding) {\n return ;\n }\n return ;\n }, [ isArchExpanding, headerHeight ]);\n\n if (location.pathname === '/') {\n return AnimatedArch;\n }\n return null;\n};\n\nexport default Arch;\n","import { createContext, useContext } from 'react';\n\nimport { FundraiserType } from 'features/fundraiser/types';\n\ntype Action =\n { type: 'SET_FUNDRAISER_ID'; fundraiserId: number | undefined } |\n { type: 'UNSET_FUNDRAISER_ID'; fundraiserId: undefined } |\n { type: 'SET_FUNDRAISER_TYPE'; fundraiserType: FundraiserType | undefined} |\n { type: 'UNSET_FUNDRAISER_TYPE'; fundraiserType: undefined }\n\nexport type State = {\n fundraiserId: number | undefined;\n fundraiserType: FundraiserType;\n active: number;\n};\n\ntype Dispatch = (action: Action) => void;\n\nexport const FundraiserStateContext = createContext(undefined);\nexport const FundraiserDispatchContext = createContext(undefined);\n\nexport const useFundraiserState = () => {\n const context = useContext(FundraiserStateContext);\n if (context === undefined) {\n throw new Error('useFundraiserState must be used within FundraiserStateContext');\n }\n return context;\n};\n\nexport const useFundraiserDispatch = () => {\n const context = useContext(FundraiserDispatchContext);\n if (context === undefined) {\n throw new Error('useFundraiserDispatch must be used within FundraiserDispatchContext');\n }\n return context;\n};\n","import { FundraiserType } from 'features/fundraiser/types';\n\n// eslint-disable-next-line max-lines-per-function\nexport const fundraiserReducer = (state, action) => {\n switch (action.type) {\n case 'SET_FUNDRAISER_ID':\n return {\n ...state,\n fundraiserId: action.fundraiserId,\n };\n case 'UNSET_FUNDRAISER_ID':\n return {\n ...state,\n fundraiserId: undefined,\n };\n case 'SET_FUNDRAISER_TYPE':\n if (action.fundraiserType === FundraiserType.SimpleSignUp) {\n return {\n ...state,\n fundraiserType: FundraiserType.Digital,\n };\n }\n\n return {\n ...state,\n fundraiserType: action.fundraiserType,\n };\n case 'UNSET_FUNDRAISER_TYPE':\n return {\n ...state,\n fundraiserType: FundraiserType.Digital,\n };\n case 'SET_ACTIVE':\n return {\n ...state,\n active: action.active,\n };\n case 'UNSET_ACTIVE':\n return {\n ...state,\n active: 0,\n };\n default:\n return state;\n }\n};\n","import React, { useReducer } from 'react';\nimport { useLocation } from 'react-router-dom';\n\nimport {\n FundraiserStateContext, State, FundraiserDispatchContext,\n} from './fundraiserContext';\nimport { fundraiserReducer } from './fundraiserReducer';\n\nimport { FundraiserType } from 'features/fundraiser/types';\n\ntype IFundraiserProviderProps = {\n children: React.ReactNode;\n}\n\n// eslint-disable-next-line max-lines-per-function\nexport const FundraiserProvider = ({ children }: IFundraiserProviderProps) => {\n const { pathname, search } = useLocation();\n const isMealDeal = pathname.includes('/meal-deal') || search.includes('meal-deal');\n const initialState: State = {\n fundraiserId: undefined,\n fundraiserType: isMealDeal ? FundraiserType.MealDeal : FundraiserType.Digital,\n active: 0,\n };\n\n const [ state, dispatch ] = useReducer(fundraiserReducer, initialState);\n\n return (\n \n \n { children }\n \n \n );\n};\n","/* eslint-disable max-len */\n/* eslint-disable max-lines-per-function */\nimport {\n Box,\n Flex,\n Text,\n Image, Popover as SlicePopover,\n} from '@lce/slice_v2';\nimport * as React from 'react';\nimport { useState } from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { ThemeUIStyleObject } from 'theme-ui';\n\nimport * as FundraiserDefaults from 'constants/FundraiserDefaults';\nimport UserAccountIcon from 'assets/icons/LCF-Account-Icon.svg';\nimport { RouterLink } from 'ui/common/RouterLink';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\nexport interface IAccountOptions {\n roles: string[];\n isLoggedIn: boolean;\n sx?: ThemeUIStyleObject;\n}\n\ninterface IRenderLinkProps {\n text: string;\n path: string;\n onClick: () => void;\n}\n\nconst elevatedRoles = [\n FundraiserDefaults.SuperAdminRoleName,\n FundraiserDefaults.ChairpersonRoleName,\n FundraiserDefaults.SalesAgentRoleName,\n FundraiserDefaults.SellerRoleName,\n];\n\nconst RenderLinkItem: React.FC = ({ text, path, onClick }) => (\n div > div': {\n color: 'primaryOrange',\n },\n },\n } }\n to={ path }\n variant=\"links.accountOptionLinks\"\n >\n \n \n {text}\n \n \n \n);\n\nconst AccountOptionsDesktop: React.FC = ({\n roles, isLoggedIn,\n}) => {\n const [ t ] = useTranslation();\n const { fundraiserType } = useFundraiserState();\n const loginUrl = t('nav.LoginUrl', { context: fundraiserType });\n const showFundraiserRoute = roles && elevatedRoles.filter(x => roles.includes(x)).length > 0;\n\n const [ isOpen, setIsOpen ] = useState(false);\n const handleOnClose = () => setIsOpen(false);\n const handleOnOpen = () => setIsOpen(true);\n\n return (\n \n \n \"Account\n \n \n ) }\n closeOnClickOutside={ true }\n closeOnEsc={ true }\n isOpen={ isOpen }\n onClose={ handleOnClose }\n onOpen={ handleOnOpen }\n placement=\"bottom-end\"\n >\n \n \n { !isLoggedIn\n ? \n : (\n <>\n {showFundraiserRoute &&\n }\n \n {\n roles.includes(FundraiserDefaults.SuperAdminRoleName) && \n }\n \n {\n roles.includes(FundraiserDefaults.SuperAdminRoleName) &&\n \n }\n \n \n )}\n \n \n \n );\n};\n\nexport default AccountOptionsDesktop;\n","import * as React from 'react';\nimport {\n Flex, Box, Button,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport { useHistory } from 'react-router-dom';\n\nimport { Cart } from '../Cart';\nimport { Arch, useIsArchExpanding } from '../Arch';\n\nimport AccountOptionsDesktop from 'ui/account/AccountOptionsDesktop';\nimport { FundraiserType } from 'features/fundraiser';\nimport { useChooseLogo } from 'features/fundraiser/hooks/useChooseLogo/useChooseLogo';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\nimport { useFetchProductsPageRoute } from 'features/products';\nimport { StatefulLink } from 'ui/components/links';\n\nexport interface IDesktopNavProps {\n isAuthenticated: boolean;\n roles: string[];\n}\n\nexport const DESKTOP_HEADER_HEIGHT = '86px';\n\n// eslint-disable-next-line max-lines-per-function\nconst Desktop: React.FC = ({ roles, isAuthenticated }) => {\n const [ t ] = useTranslation();\n const history = useHistory();\n const { fundraiserType } = useFundraiserState();\n const showHowItWorks = fundraiserType !== FundraiserType.MealDeal;\n const showAboutUs = fundraiserType !== FundraiserType.MealDeal;\n const showStartAFundraiser = fundraiserType !== FundraiserType.MealDeal;\n const startFundraiserUrl = t('nav.StartAFundraiserUrl', { context: fundraiserType });\n const { Logo } = useChooseLogo(fundraiserType);\n const productPageRoute = useFetchProductsPageRoute();\n const isArchExpanding = useIsArchExpanding();\n const [ productPagePathname, productPageSearch ] = productPageRoute.split('?');\n\n return (\n \n \n \n \n {showHowItWorks && (\n \n {t('nav.HowItWorks')}\n \n )}\n \n {t('nav.RequestInformation')}\n \n {showAboutUs && (\n \n {t('nav.AboutUs')}\n \n )}\n \n {t('nav.OurProducts')}\n \n \n \n \n \n \n \n {showStartAFundraiser && (\n \n history.push(startFundraiserUrl) }\n sx={ {\n width: [ '229px', 'initial' ], whiteSpace: 'nowrap', px: 5, letterSpacing: '.4px',\n } }\n variant=\"buttons.primary.medium\"\n >\n START NEW FUNDRAISER\n \n \n )}\n \n \n \n \n );\n};\n\nexport default Desktop;\n","import React from 'react';\nimport { Form } from '@lce/slice_v2';\nimport { ThemeUIStyleObject } from 'theme-ui';\nimport MaskedInput from 'react-input-mask';\nimport * as Yup from 'yup';\n\ninterface IPhoneInput {\n defaultValue?: string;\n label: string;\n name?: string;\n required?: boolean;\n sx?: ThemeUIStyleObject;\n testId?: string;\n hint?: string;\n}\n\nexport const phonePattern = /^(?:\\+1\\s*)?(?:\\([2-9]{1}[0-9]{2}\\)\\s*|[2-9]{1}[0-9]{2}-)[0-9]{3}-[0-9]{4}$/;\n\nexport const defaultPhoneInputName = 'PhoneNumber';\nexport const defaultPhoneInputTestId = 'phone-number';\n\nexport const phoneInputSchema = (t, validationKey: string = defaultPhoneInputName) => ({\n [validationKey]: Yup.string()\n .matches(phonePattern, t('fundraiser.PhoneNumberValid'))\n .min(10, t('fundraiser.PhoneNumberLength'))\n .max(17, t('fundraiser.PhoneNumberLength'))\n .required(t('fundraiser.PhoneRequired')),\n});\n\nexport const PhoneInput: React.FC = ({\n defaultValue = '',\n label,\n name = defaultPhoneInputName,\n required = false,\n sx,\n testId = defaultPhoneInputTestId,\n hint,\n}) => (\n \n {fieldProps => (\n \n )}\n \n);\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport {\n Box, Flex, Form, Option, Text,\n} from '@lce/slice_v2';\nimport _map from 'lodash/map';\n\nimport { State } from 'features/common';\n\nexport type ProductShippingFieldProps = {\n states?: State[];\n};\n\nexport const ProductShippingFields: React.FC = ({\n states = [],\n}) => {\n const { t } = useTranslation();\n\n return (\n \n \n \n {t('checkout.ShippingDetails.streetAddreessLabel')}\n \n ) }\n name=\"Address1\"\n sx={ {\n marginRight: [ 0, '12px' ],\n } }\n variant=\"forms.checkout.field\"\n />\n\n \n {t('checkout.ShippingDetails.streetAddressLabel2')}\n \n ) }\n name=\"Address2\"\n sx={ {\n marginLeft: [ 0, '12px' ],\n } }\n variant=\"forms.checkout.field\"\n />\n \n\n \n {t('checkout.PoBoxLabel')}\n \n ) }\n name=\"poBox\"\n sx={ { mt: '16px' } }\n />\n\n \n \n {t('checkout.ShippingDetails.cityLabel')}\n \n ) }\n name=\"City\"\n sx={ {\n mr: [ 0, '6px' ],\n } }\n variant=\"forms.checkout.field\"\n />\n \n {t('checkout.ShippingDetails.stateLabel')}\n \n ) }\n name=\"StateProvinceIso\"\n sx={ {\n width: [ '100%', '156px' ],\n mr: [ 0, '12px' ],\n ml: [ 0, '12px' ],\n svg: { color: 'black' },\n } }\n >\n \n { _map(states, state => state.Abbreviation !== 'AK' && state.Abbreviation !== 'HI' && (\n \n { state.Abbreviation }\n \n )) }\n \n \n {t('checkout.ShippingDetails.postalCodeLabel')}\n \n ) }\n name=\"ZipPostalCode\"\n sx={ {\n ml: [ 0, '6px' ],\n } }\n variant=\"forms.checkout.field\"\n />\n \n \n );\n};\n","import React from 'react';\nimport { Box, Grid, Skeleton } from '@lce/slice_v2';\nimport _times from 'lodash/times';\n\nexport const FieldLoader: React.FC = () => (\n \n \n \n \n);\n\n// eslint-disable-next-line max-lines-per-function\nexport const ShippingDetailsLoader: React.FC = () => (\n \n \n \n { _times(4, index => (\n \n )) }\n \n \n \n { _times(3, index => (\n \n )) }\n \n \n\n \n { _times(3, index => (\n \n )) }\n \n\n \n \n \n \n);\n","import * as Yup from 'yup';\nimport { useTranslation } from '@lce/i18n';\n\nimport { firstNameInputSchema, phoneInputSchema } from 'ui/components/forms';\n\n// eslint-disable-next-line max-len\nexport const useShippingSchema = (hasOnlyCouponItems: boolean | undefined = false, isBrochure: boolean | undefined = false, isChairperson: boolean | undefined = false) => {\n const { t } = useTranslation();\n\n const baseSchema = {\n ...firstNameInputSchema(t, 'FirstName', true),\n LastName: Yup.string().required(t('fundraiser.LastNameRequired')),\n IsCouponItem: Yup.boolean(),\n ...phoneInputSchema(t),\n Email: Yup.string()\n .lowercase()\n .email(t('fundraiser.EmailValid'))\n .required(t('fundraiser.EmailRequired')),\n ConfirmEmailAddress: Yup.string().lowercase().oneOf([ Yup.ref('Email') ],\n t('fundraiser.EmailMatch'))\n .required(t('fundraiser.EmailRequired')),\n };\n\n const addressSchema = {\n Address1: Yup.string()\n .required(t('checkout.AddressRequired'))\n .max(25, t('checkout.AddressMaxLength')),\n City: Yup.string()\n .required(t('checkout.CityRequired')),\n StateProvinceIso: Yup.string()\n .required(t('checkout.StateRequired')),\n poBox: Yup.boolean()\n .oneOf([ true ], t('checkout.PoBoxRequired')),\n ZipPostalCode: Yup.string()\n .required(t('fundraiser.ZipPostalCodeRequired'))\n .matches(/^[0-9]{5}(?:-[0-9]{4})?$/, t('fundraiser.ZipPostalCodeInvalid')),\n };\n\n const SellerName = Yup.string().when([], {\n is: () => isChairperson === true,\n then: Yup.string().required(t('checkout.SellerNameRequired')),\n });\n\n return Yup.object().shape({\n ...baseSchema,\n ...hasOnlyCouponItems ? {} : addressSchema,\n ...isBrochure ? { SellerName: SellerName } : {},\n });\n};\n","import { Text } from '@lce/slice_v2';\nimport React from 'react';\nimport { useTranslation } from '@lce/i18n';\n\nimport { IShippingMethodLabelProps } from './types';\n\nconst ShippingMethodLabel: React.FC = ({ hasOnlyCouponItems, isCouponItemExist }) => {\n const [ t ] = useTranslation();\n return (\n <>\n \n {t('checkout.ShippingMethodLabel')}\n \n \n { !hasOnlyCouponItems && t('checkout.ShippingMethodText') }\n \n \n { isCouponItemExist && t('checkout.ShippingMethodLabelForCoupon') }\n \n \n );\n};\n\nexport default ShippingMethodLabel;\n","/* eslint-disable complexity */\n/* eslint-disable max-lines-per-function */\nimport {\n Flex, Form, Button, Box, Text, Spinner,\n} from '@lce/slice_v2';\nimport React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport _map from 'lodash/map';\nimport _every from 'lodash/every';\nimport _find from 'lodash/find';\n\nimport { IShippingDetails } from './types';\nimport { ProductShippingFields } from './ProductShippingFields';\nimport { ShippingDetailsLoader } from './ShippingDetailsLoader';\nimport { useShippingSchema } from './hooks';\nimport ShippingMethodLabel from './ShippingMethodLabel';\n\nimport { useFetchStates } from 'features/common';\nimport { useCheckoutState } from 'features/checkout';\nimport { FirstNameInput, PhoneInput } from 'ui/components/forms';\nimport { GoogleEvents } from 'features/analytics';\nimport { areAllFreeShippingItemsDonationItems } from 'features/fundraiser/utils';\n\nconst ShippingDetails: React.FC = ({ setShippingDetails, shippingDetails, loading }) => {\n const [ t ] = useTranslation();\n const { checkout } = useCheckoutState();\n\n const { data: states, isLoading } = useFetchStates(1);\n\n const hasOnlyCouponItems = _every(checkout?.Cart, item => item.IsFreeShipping === true);\n const shouldValidateAddress = !hasOnlyCouponItems;\n const hasOnlyDonationItems = areAllFreeShippingItemsDonationItems(checkout?.Cart);\n const isCouponItemExist = _find(checkout?.Cart, item => item.IsFreeShipping === true)?.IsFreeShipping;\n\n const validationSchema = useShippingSchema(hasOnlyCouponItems);\n\n const handleOnSubmit = (e) => {\n setShippingDetails(e, shouldValidateAddress);\n };\n\n const gaAddShippingInfoOnSubmit = (subtotal, cart) => {\n GoogleEvents.addShippingInfo({\n cartTotal: subtotal,\n products: _map(cart, item => ({\n name: item.ProductName,\n price: item.UnitPrice,\n id: item.ProductId.toString(),\n quantity: item.Quantity,\n })),\n });\n };\n\n return (\n \n {!isLoading && checkout\n ? (\n {\n gaAddShippingInfoOnSubmit(checkout.Subtotal, checkout.Cart);\n handleOnSubmit(data);\n } }\n reValidateMode=\"onSubmit\"\n summary={ false }\n validationSchema={ validationSchema }\n >\n \n {t('checkout.ShippingAddress')}\n \n \n \n \n\n \n\n \n \n\n { !hasOnlyCouponItems && }\n\n \n {t('checkout.OrderDetailLabel')}\n \n \n {\n e.preventDefault();\n return false;\n } } onPaste={ (e) => {\n e.preventDefault();\n return false;\n } }\n sx={ { mr: [ 0, '24px' ] } }\n variant=\"forms.checkout.field\"\n />\n {\n e.preventDefault();\n return false;\n } }\n onPaste={ (e) => {\n e.preventDefault();\n return false;\n } }\n sx={ { mr: 0 } }\n variant=\"forms.checkout.field\"\n />\n \n\n \n {!hasOnlyDonationItems && (\n \n )}\n \n { loading ? (\n \n ) : t('checkout.NextBillingLabel') }\n \n \n \n ) : (\n \n )}\n \n );\n};\n\nexport default ShippingDetails;\n","import React from 'react';\nimport { Box, Grid, Skeleton } from '@lce/slice_v2';\nimport _times from 'lodash/times';\n\nimport { FieldLoader } from './ShippingDetailsLoader';\n\n// eslint-disable-next-line max-lines-per-function\nexport const ShippingDetailsMDLoader: React.FC = () => (\n \n \n \n { _times(4, index => (\n \n )) }\n \n\n \n \n\n \n \n);\n","/* eslint-disable max-lines-per-function */\nimport {\n Flex, Form, Button, Box, Text, Spinner,\n} from '@lce/slice_v2';\nimport React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport _map from 'lodash/map';\n\nimport { IShippingDetails } from './types';\nimport { useShippingSchema } from './hooks';\nimport { ShippingDetailsMDLoader } from './ShippingDetailsMDLoader';\n\nimport { useCheckoutState } from 'features/checkout';\nimport { FirstNameInput, PhoneInput } from 'ui/components';\nimport { GoogleEvents } from 'features/analytics';\n\nexport const ShippingDetailsMD: React.FC = ({ setShippingDetails, shippingDetails, loading }) => {\n const [ t ] = useTranslation();\n const { checkout } = useCheckoutState();\n\n const hasOnlyCouponItems = checkout?.Cart.every(cart => cart.IsFreeShipping === true);\n const shouldValidateAddress = !hasOnlyCouponItems;\n\n const validationSchema = useShippingSchema(true);\n\n const handleOnSubmit = (e) => {\n setShippingDetails(e, shouldValidateAddress);\n };\n\n const gaAddShippingInfoOnSubmit = (subtotal, cart) => {\n GoogleEvents.addShippingInfo({\n cartTotal: subtotal,\n products: _map(cart, item => ({\n name: item.ProductName,\n price: item.UnitPrice,\n id: item.ProductId.toString(),\n quantity: item.Quantity,\n })),\n });\n };\n\n return (\n \n {checkout ? (\n <>\n \n {t('checkout.ShippingDetails.header')}\n \n {\n gaAddShippingInfoOnSubmit(checkout.Subtotal, checkout.Cart);\n handleOnSubmit(data);\n } }\n reValidateMode=\"onSubmit\"\n summary={ false }\n validationSchema={ validationSchema }\n >\n \n \n \n\n \n\n \n \n\n \n {\n e.preventDefault();\n return false;\n } } onPaste={ (e) => {\n e.preventDefault();\n return false;\n } }\n sx={ { mr: [ 0, '24px' ] } }\n variant=\"forms.checkout.field\"\n />\n {\n e.preventDefault();\n return false;\n } }\n onPaste={ (e) => {\n e.preventDefault();\n return false;\n } }\n sx={ { mr: 0 } }\n variant=\"forms.checkout.field\"\n />\n \n\n \n\n \n { loading ? (\n \n ) : t('checkout.NextBillingLabel') }\n \n \n \n \n ) : }\n \n );\n};\n","import React from 'react';\nimport { Box, Text } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { IDetailsSummaryProps } from './types';\nimport ShippingMethodLabel from './ShippingMethodLabel';\n\nexport const ShippingDetailsSummary: React.FC = ({\n details,\n hasOnlyCouponItems,\n hasOnlyDonationItems,\n isCouponItemExist,\n}) => {\n const [ t ] = useTranslation();\n\n return (\n \n \n {t('checkout.ShippingAddress')}\n \n \n {`${ details.FirstName } ${ details.LastName }`}\n \n {!hasOnlyCouponItems && (\n <>\n \n {`${ details.Address1 } ${ details.Address2 }`}\n \n \n {`${ details.City }, ${ details.StateProvinceIso } ${ details.ZipPostalCode }`}\n \n \n ) }\n \n {t('checkout.OrderDetailLabel')}\n \n \n {details.Email}\n \n \n {details.PhoneNumber}\n \n {!hasOnlyDonationItems && (\n \n )}\n \n );\n};\n","import React from 'react';\nimport { Box, Text } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { IDetailsSummaryProps } from './types';\n\nexport const NoShippingDetailsSummary: React.FC = ({\n details, sellerName, isBrochure, isChairperson,\n}) => {\n const [ t ] = useTranslation();\n return (\n <>\n {isBrochure && (\n <>\n {isChairperson && (\n \n \n {t('checkout.Seller')}\n \n \n {sellerName}\n \n \n )}\n \n {t('checkout.BuyerInfoLabel')}\n \n \n )}\n \n \n {details.FirstName}\n {' '}\n {details.LastName}\n \n \n {details.Email}\n \n \n {details.PhoneNumber}\n \n \n \n );\n};\n","/* eslint-disable max-lines-per-function */\nimport {\n Flex, Form, Button, Box, Spinner, Text,\n} from '@lce/slice_v2';\nimport React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport _map from 'lodash/map';\n\nimport { IShippingDetails } from './types';\nimport { useShippingSchema } from './hooks';\nimport { ShippingDetailsMDLoader as ShippingDetailsBRLoader } from './ShippingDetailsMDLoader';\n\nimport { useCheckoutState } from 'features/checkout';\nimport { FirstNameInput, PhoneInput } from 'ui/components';\nimport { GoogleEvents } from 'features/analytics';\n\nexport const ShippingDetailsBR: React.FC = ({\n setShippingDetails, shippingDetails, loading, isChairperson,\n}) => {\n const [ t ] = useTranslation();\n const { checkout } = useCheckoutState();\n\n const hasOnlyCouponItems = checkout?.Cart.every(cart => cart.IsFreeShipping === true);\n\n const validationSchema = useShippingSchema(true, true, isChairperson);\n\n const handleOnSubmit = (e) => {\n setShippingDetails(e, false);\n };\n\n const gaAddShippingInfoOnSubmit = (subtotal, cart) => {\n GoogleEvents.addShippingInfo({\n cartTotal: subtotal,\n products: _map(cart, item => ({\n name: item.ProductName,\n price: item.UnitPrice,\n id: item.ProductId.toString(),\n quantity: item.Quantity,\n })),\n });\n };\n\n return (\n \n {checkout ? (\n {\n gaAddShippingInfoOnSubmit(checkout.Subtotal, checkout.Cart);\n handleOnSubmit(data);\n } }\n reValidateMode=\"onSubmit\"\n summary={ false }\n validationSchema={ validationSchema }\n >\n \n\n {isChairperson && (\n \n \n {t('checkout.SellerInfoLabel')}\n \n\n \n \n )}\n\n \n {t('checkout.BuyerInfoLabel')}\n \n\n \n \n\n \n\n \n \n\n \n {t('checkout.OrderDetailLabel', { context: 'BR' })}\n \n\n \n {\n e.preventDefault();\n return false;\n } } onPaste={ (e) => {\n e.preventDefault();\n return false;\n } }\n sx={ { mr: [ 0, '24px' ] } }\n variant=\"forms.checkout.field\"\n />\n {\n e.preventDefault();\n return false;\n } }\n onPaste={ (e) => {\n e.preventDefault();\n return false;\n } }\n sx={ { mr: 0 } }\n variant=\"forms.checkout.field\"\n />\n \n\n \n\n \n { loading ? (\n \n ) : t('checkout.NextBillingLabel') }\n \n \n \n ) : }\n \n );\n};\n","const SecurityQuestions: string[] = [\n 'What is the food you liked least as a child?',\n 'What is the name of your first pet?',\n 'What is the name of your first stuffed animal?',\n 'What did you earn your first medal or award for?',\n 'What is the toy/stuffed animal you liked the most as a kid?',\n 'What was the first computer game you played?',\n 'What is your favorite type of pizza?',\n 'What is your favorite movie quote?',\n 'What was the mascot of the first sports team you played on?',\n 'What is your grandmother\\'s favorite dessert?',\n 'Who was your favorite teacher?',\n 'What is your best friend\\'s name?',\n];\n\nexport default SecurityQuestions;\n","import React, { useEffect, useState } from 'react';\nimport * as Yup from 'yup';\nimport {\n Form,\n Flex,\n Box,\n Button,\n Heading,\n Spinner,\n Option,\n Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport { useHistory, useLocation, Link } from 'react-router-dom';\n\nimport SecurityQuestions from '../SecurityQuestions';\nimport { ILocationStateProps } from '../types';\n\nimport { RouterLink } from 'ui/common';\nimport { CreateAccountRequest, useCreateAccount, useFetchFundraiserInvite } from 'features/account';\nimport { Address, useQueryParam } from 'features/common';\nimport {\n phonePattern,\n PhoneInput,\n FirstNameInput,\n firstNameInputSchema,\n} from 'ui/components';\n\nexport interface ICreateAccountFormProps {\n guestId?: string;\n address?: Address;\n isConfirm: boolean;\n onSuccess?: () => void;\n onBackCallback?: () => void;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst CreateAccountForm: React.FC = ({\n guestId, address, isConfirm, onSuccess, onBackCallback,\n}) => {\n const [ t ] = useTranslation();\n const history = useHistory();\n const [ fundraiserGuid ] = useQueryParam('inviteId');\n const [ , setInviteUserRegistered ] = useState(false);\n\n const {\n mutateAsync: submitAccount, error, isLoading, isError,\n } = useCreateAccount();\n const { data: fetchFundraiserInvite } = useFetchFundraiserInvite(fundraiserGuid);\n const { state } = useLocation();\n\n useEffect(() => {\n if (fetchFundraiserInvite?.IsAlreadyRegistered) {\n setInviteUserRegistered(true);\n\n // todo: Should we throw up some message stating they already have an account?\n history.push('/login');\n }\n }, [ fetchFundraiserInvite, history ]);\n\n const validationSchema = Yup.object().shape({\n ...firstNameInputSchema(t, 'firstName'),\n lastName: Yup.string().required(t('createAccount.LastNameRequired')),\n email: Yup.string()\n .email(t('createAccount.EmailValid'))\n .required(t('createAccount.EmailRequired')),\n password: Yup.string()\n .required(t('createAccount.PasswordRequired'))\n .matches(/^(?=\\D*\\d)[^ ]{6,}$/, t('createAccount.PasswordRequired'))\n .min(6, t('createAccount.PasswordMin')),\n phone: Yup.string()\n .required(`${ t('createAccount.PhoneRequired') }`)\n .matches(phonePattern,\n t('createAccount.PhoneNumberValid'))\n .min(10, t('fundraiser.PhoneNumberMinLength'))\n .max(17, t('fundraiser.PhoneNumberLength')),\n confirmPassword: Yup.string()\n .required(t('createAccount.ConfirmPasswordRequired'))\n .oneOf([ Yup.ref('password') ], t('createAccount.PasswordMatch')),\n securityQuestion: Yup.string().required(t('createAccount.SecurityQuestionRequired')),\n securityQuestionAnswer: Yup.string()\n .required(t('createAccount.SecurityQuestionAnswerRequired'))\n .min(4, t('createAccount.SecurityQuestionAnswerLength'))\n .notOneOf([ Yup.ref('password') ], t('createAccount.SecurityQuestionAnswerUniqueness')),\n });\n\n const handleOnSubmit = async(e) => {\n const formData: CreateAccountRequest = {\n firstName: e.firstName,\n lastName: e.lastName,\n phone: e.phone,\n email: e.email,\n password: e.password,\n confirmTerms: e.confirmTerms,\n securityQuestion: e.securityQuestion,\n securityQuestionAnswer: e.securityQuestionAnswer,\n optInMarketing: e.optInMarketing,\n guestId: guestId,\n };\n\n const data = await submitAccount(formData);\n\n if (data) {\n // if a success handler is specified, let the parent component handle what to do\n // otherwise redirect to the confirm page\n if (onSuccess) {\n onSuccess();\n } else {\n history.push('/create-account/confirm', state);\n }\n }\n };\n\n return (\n \n Create Account\n\n { !isConfirm\n ? (\n <>\n \n {t('createAccount.ParentGuardian')}\n \n\n {\n handleOnSubmit(data);\n } }\n reValidateMode=\"onSubmit\"\n summary={ false }\n validationSchema={ validationSchema }\n >\n \n \n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n\n \n \n\n \n \n \n \n\n \n \n \n \n\n \n \n \n {SecurityQuestions.map(x => (\n \n ))}\n \n \n\n \n \n \n \n\n \n \n \n\n \n \n \n\n { isError && error ? (\n \n { error.Message }\n \n ) : null }\n\n \n { onBackCallback ? (\n \n Cancel\n \n ) : null}\n\n \n \n { isLoading ? (\n \n ) : t('common.CreateAccount') }\n \n\n \n By creating an account, you agree to Little Caesars Fundraiser's\n {' '}\n\n \n Terms of use\n \n\n {' '}\n and consent to its\n\n {' '}\n\n \n Privacy Policy\n \n \n \n \n \n \n ) :
}\n\n { isConfirm\n ? (\n
\n

Your account has been created. Please login to continue.

\n\n Login\n
\n )\n :
}\n \n );\n};\n\nexport default CreateAccountForm;\n","module.exports = __webpack_public_path__ + \"static/media/instagram.044beb90.svg\";","module.exports = __webpack_public_path__ + \"static/media/facebook.2a27a193.svg\";","module.exports = __webpack_public_path__ + \"static/media/pinterest.35393900.svg\";","module.exports = __webpack_public_path__ + \"static/media/twitterX.6859fc3b.svg\";","import React from 'react';\nimport { Flex, Text } from '@lce/slice_v2';\n\nimport { RouterLink } from 'ui/common/RouterLink';\n\nexport interface ILinkItemProps {\n onClick?: () => void;\n path: string;\n text: string;\n}\n\nconst LinkItem: React.FC = ({\n onClick, path, text, ...props\n}) => (\n \n \n \n {text}\n \n \n \n);\n\nexport default LinkItem;\n","import { useCallback } from 'react';\n\nimport { useFundraiserDispatch } from 'features/fundraiser/context/fundraiserContext';\nimport { Seller } from 'features/fundraiser/types';\nimport {\n useFetchSellerBySupportGuid,\n} from 'features/fundraiser/hooks/useFetchSellerBySupportGuid';\n\nexport const useStatefulFetchSellerBySupportGuid = () => {\n const fundraiserDispatch = useFundraiserDispatch();\n\n const updateFundraiserState = useCallback(({\n FundraiserId: fundraiserId,\n FundraiserType: fundraiserType,\n }: Seller) => {\n fundraiserDispatch({ type: 'SET_FUNDRAISER_ID', fundraiserId });\n fundraiserDispatch({ type: 'SET_FUNDRAISER_TYPE', fundraiserType });\n }, [ fundraiserDispatch ]);\n\n return useFetchSellerBySupportGuid(updateFundraiserState);\n};\n","import { useMemo } from 'react';\nimport { useTranslation } from '@lce/i18n';\n\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\n\nexport const useProductDetailLink = (sku: string, supportGuid?: string) => {\n const { fundraiserType } = useFundraiserState();\n const [ t ] = useTranslation();\n\n return useMemo(() => {\n const productDetailLink = supportGuid\n ? t('routes.productDetailPage', { context: fundraiserType, sku, supportGuid })\n : t('routes.productDetailPageNoSupportGuid', { context: fundraiserType, sku });\n\n return productDetailLink;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ sku, supportGuid, fundraiserType ]);\n};\n","/* eslint-disable max-len */\nimport { useMemo } from 'react';\n\nimport {\n FundraiserListItem,\n FinalOrderStatus,\n} from 'features/fundraiser/types/fundraiser';\n\nexport const useFundraiserFinalOrderStatus =\n (fundraiser: FundraiserListItem | undefined): FinalOrderStatus => useMemo(() => fundraiser?.FinalOrderDetails?.Status ?? FinalOrderStatus.Undefined, [ fundraiser ]);\n","import { useEffect, useRef } from 'react';\n\n/**\n * React hook that listens to `beforeunload` window event.\n * @function\n * @param {?function(BeforeUnloadEvent): ?string} handler - Event listener\n * called on `beforeunload` window event. It activates a confirmation dialog\n * when `event.preventDefault()` is called or a string is returned.\n */\nexport const useBeforeunload = (handler) => {\n const enabled = typeof handler === 'function';\n\n // Persist handler in ref\n const handlerRef = useRef(handler);\n useEffect(() => {\n handlerRef.current = handler;\n });\n\n useEffect(() => {\n if (enabled) {\n const listener = (event) => {\n const returnValue = handlerRef.current(event);\n\n if (typeof returnValue === 'string') {\n event.preventDefault();\n // Handle legacy `event.returnValue` and `return` activation.\n // https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event#compatibility_notes\n return event.returnValue = returnValue;\n }\n\n // Chrome doesn't support `event.preventDefault()` on `BeforeUnloadEvent`.\n // https://developer.mozilla.org/en-US/docs/Web/API/Window/beforeunload_event#compatibility_notes\n if (event.defaultPrevented) {\n return event.returnValue = '';\n }\n };\n\n window.addEventListener('beforeunload', listener);\n return () => {\n window.removeEventListener('beforeunload', listener);\n };\n }\n }, [ enabled ]);\n};\n","import { useMemo } from 'react';\nimport { format } from 'date-fns';\n\nexport const useSafeDateFormat = (date, formatPattern = 'MM-dd-yyyy', fallbackValue = 'unknown') => useMemo(() => {\n if (!date) {\n return fallbackValue;\n }\n try {\n return format(new Date(date), formatPattern);\n } catch (error) {\n return fallbackValue;\n }\n}, [ date, fallbackValue, formatPattern ]);\n","import { useMemo } from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { useGrowthBook } from '@growthbook/growthbook-react';\n\nexport type TLink = {\n title: string;\n path: string;\n growthbookCheck?: [string, string];\n}\n\nexport const useFeatureFlaggedNavigationLinks = ({\n fundraiserId,\n customerId,\n fundraiserType,\n}) => {\n const [ t ] = useTranslation();\n const growthbook = useGrowthBook();\n\n return useMemo(() => {\n const allLinks = t(`dashboard.navigation.${ customerId\n ? 'seller'\n : 'chairperson' }`,\n {\n fundraiserId, customerId, returnObjects: true, context: fundraiserType,\n });\n\n return allLinks.filter(({ growthbookCheck }) => {\n if (growthbookCheck) {\n const [ featureName, truthyProp ] = growthbookCheck;\n\n return growthbook.evalFeature(featureName)[truthyProp];\n }\n\n return true;\n })\n .map(({ growthbookCheck, ...link }) => link);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ customerId, fundraiserId, fundraiserType, growthbook ]);\n};\n","import { useCallback } from 'react';\n\nimport {\n useFetchFundraiserById,\n} from 'features/fundraiser/hooks/useFetchFundraiserById';\nimport { useFundraiserDispatch } from 'features/fundraiser/context/fundraiserContext';\nimport { FundraiserListItem } from 'features/fundraiser/types/fundraiser';\n\nexport const useStatefulFetchFundraiserById = (fundraiserId: string) => {\n const fundraiserDispatch = useFundraiserDispatch();\n\n const updateFundraiserState = useCallback(({\n Id: fundraiserId,\n FundraiserType: fundraiserType,\n }: FundraiserListItem) => {\n fundraiserDispatch({ type: 'SET_FUNDRAISER_ID', fundraiserId });\n fundraiserDispatch({ type: 'SET_FUNDRAISER_TYPE', fundraiserType });\n }, [ fundraiserDispatch ]);\n\n return useFetchFundraiserById(parseInt(fundraiserId), updateFundraiserState);\n};\n","export const isProhibitedEnvironment = () => {\n const prohibitedEnvironments = [ 'production' ];\n const effectiveEnv = process.env.REACT_APP_EFFECTIVE_ENV as string;\n\n return prohibitedEnvironments.includes(effectiveEnv);\n};\n","import { useEffect, useMemo, useState } from 'react';\nimport { GrowthBook, GrowthBookProvider, InitOptions } from '@growthbook/growthbook-react';\n\nimport { isProhibitedEnvironment } from 'utils';\n\nexport type UseGrowthBook = {\n GrowthBookProvider: typeof GrowthBookProvider;\n growthbook: GrowthBook;\n growthbookReady: boolean;\n};\n\nexport const useGrowthBook = (options: InitOptions = { streaming: false }): UseGrowthBook => {\n const [ growthbookReady, setGrowthbookReady ] = useState(false);\n const enableDevMode = !isProhibitedEnvironment();\n\n const growthbook = useMemo(() => new GrowthBook({\n apiHost: process.env.REACT_APP_GROWTHBOOK_API_HOST,\n clientKey: process.env.REACT_APP_GROWTHBOOK_SDK_KEY,\n enableDevMode,\n disableCache: true,\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }), [ ]);\n\n useEffect(() => {\n growthbook.init(options)\n .then(() => {\n setGrowthbookReady(true);\n })\n .catch(() => {\n setGrowthbookReady(false);\n });\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return { GrowthBookProvider, growthbook, growthbookReady };\n};\n","import React, { useMemo } from 'react';\nimport { Spinner, ISpinnerProps } from '@lce/slice_v2';\n\ntype Hook = {\n data: any;\n isLoading: boolean;\n};\n\nexport function useConnectedFormField(useHook: () => Hook,\n Component: React.FC,\n props: T, dataPropKey = 'data'): React.ReactElement {\n const { data, isLoading } = useHook();\n\n const finalProps = useMemo(() => ({\n ...props,\n [dataPropKey]: data,\n }), [ dataPropKey, data, props ]);\n\n if (isLoading) {\n return (\n \n );\n }\n\n return (\n \n );\n}\n","/* eslint-disable max-len */\nimport React, { useMemo } from 'react';\nimport { StringSchema } from 'yup';\nimport { useTranslation } from '@lce/i18n';\nimport { TFunction } from 'i18next';\n\ntype FormFieldProps = {\n label: string;\n name: string;\n}\n\ntype SpecicalFieldProps = FormFieldProps & {\n required: boolean;\n}\n\ninterface Schema {\n [key: string]: StringSchema;\n}\n\nexport function useFormField(FormField: React.FC,\n schema: (t: TFunction, validationKey: string, required: boolean) => object,\n props: T,\n componentKey: string,\n schemaKey: string) {\n const { t } = useTranslation();\n\n return useMemo(() => {\n const { label, name, required } = props as unknown as SpecicalFieldProps;\n const specialProps: FormFieldProps = {\n label,\n name,\n };\n\n if (required) {\n specialProps.label = `${ label }*`;\n }\n const effectiveSchema = schema(t, name, required);\n const ComponentWithSchema = standardProps => ;\n ComponentWithSchema.schema = effectiveSchema;\n const FormFieldConfigured: React.FC | Schema = ComponentWithSchema;\n\n return { [componentKey]: FormFieldConfigured, [schemaKey]: effectiveSchema };\n }, [ schema, props, t, componentKey, schemaKey ]);\n}\n\n","import _every from 'lodash/every';\nimport { useTranslation } from '@lce/i18n';\n\nexport const useTranslationKeysAvailable = (keys: string[]) => {\n const { t, i18n } = useTranslation();\n\n return _every(keys, key => i18n.exists(key) && !!t(key));\n};\n","import { useEffect } from 'react';\nimport { useLocation } from 'react-router-dom';\n\nimport { useLocalStorage } from 'features/common/hooks';\n\nexport const useStoreQueryParamToLocalStorage = (queryParamKey: string, localStorageKey?: string) => {\n const [ , setLocalStorageValue ] = useLocalStorage(localStorageKey ?? queryParamKey);\n const { search } = useLocation();\n\n const queryParamValue = new URLSearchParams(search).get(queryParamKey);\n\n useEffect(() => {\n if (queryParamValue) {\n setLocalStorageValue(queryParamValue);\n }\n }, [ queryParamValue, setLocalStorageValue ]);\n};\n","import { useEffect, useRef } from 'react';\nimport type { RefObject } from 'react';\n\nimport { useIsomorphicLayoutEffect } from '../useIsomorphicLayoutEffect';\n\n// MediaQueryList Event based useEventListener interface\nfunction useEventListener(\n eventName: K,\n handler: (event: MediaQueryListEventMap[K]) => void,\n element: RefObject,\n options?: boolean | AddEventListenerOptions,\n): void\n\n// Window Event based useEventListener interface\nfunction useEventListener(\n eventName: K,\n handler: (event: WindowEventMap[K]) => void,\n element?: undefined,\n options?: boolean | AddEventListenerOptions,\n): void\n\n// Element Event based useEventListener interface\nfunction useEventListener<\n K extends keyof HTMLElementEventMap & keyof SVGElementEventMap,\n T extends Element = K extends keyof HTMLElementEventMap\n ? HTMLDivElement\n : SVGElement,\n>(\n eventName: K,\n handler:\n | ((event: HTMLElementEventMap[K]) => void)\n | ((event: SVGElementEventMap[K]) => void),\n element: RefObject,\n options?: boolean | AddEventListenerOptions,\n): void\n\n// Document Event based useEventListener interface\nfunction useEventListener(\n eventName: K,\n handler: (event: DocumentEventMap[K]) => void,\n element: RefObject,\n options?: boolean | AddEventListenerOptions,\n): void\n\nfunction useEventListener<\n KW extends keyof WindowEventMap,\n KH extends keyof HTMLElementEventMap & keyof SVGElementEventMap,\n KM extends keyof MediaQueryListEventMap,\n T extends HTMLElement | SVGAElement | MediaQueryList = HTMLElement,\n>(eventName: KW | KH | KM,\n handler: (\n event:\n | WindowEventMap[KW]\n | HTMLElementEventMap[KH]\n | SVGElementEventMap[KH]\n | MediaQueryListEventMap[KM]\n | Event,\n ) => void,\n element?: RefObject,\n options?: boolean | AddEventListenerOptions) {\n // Create a ref that stores handler\n const savedHandler = useRef(handler);\n\n useIsomorphicLayoutEffect(() => {\n savedHandler.current = handler;\n }, [ handler ]);\n\n useEffect(() => {\n // Define the listening target\n const targetElement: T | Window = element?.current ?? window;\n\n if (!(targetElement && targetElement.addEventListener)) {\n return;\n }\n\n // Create event listener that calls handler function stored in ref\n const listener: typeof handler = (event) => {\n savedHandler.current(event);\n };\n\n targetElement.addEventListener(eventName, listener, options);\n\n // Remove event listener on cleanup\n return () => {\n targetElement.removeEventListener(eventName, listener, options);\n };\n }, [ eventName, element, options, handler ]);\n}\n\nexport { useEventListener };\n","export * from './types';\nexport * from './hooks';\n","//plop append here\nexport * from './modals';\nexport * from './data';\nexport * from './icon-steps';\nexport * from './information';\nexport * from './buttons';\nexport * from './links';\nexport * from './forms';\nexport * from './types';\nexport * from './landing';\n","import { createBrowserHistory } from 'history';\n\nconst history = createBrowserHistory({ basename: '' });\n\nexport { history };\n","import { useMutation } from 'react-query';\n\nimport { createFundraiser } from '../api';\nimport { Fundraiser } from '../types';\n\nimport { ApiError, ApiResponse } from 'features/common';\n\nexport const useCreateFundraiser = () => useMutation(createFundraiser);\n","/* eslint-disable max-len */\nimport { useQuery } from 'react-query';\n\nimport { fetchSellerQRCode } from '../api';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\n\nconst useFetchSellerQRCode =\n (sellerId: number | undefined) => useQuery([ `${ QueryKeys.FundraiserSellerQRCode } }` ],\n () => fetchSellerQRCode(sellerId),\n {\n retry: false,\n refetchOnWindowFocus: false,\n enabled: !!sellerId,\n });\n\nexport { useFetchSellerQRCode };\n","import { useQuery } from 'react-query';\n\nimport { fetchFinalOrderSummary } from '../api';\nimport { FinalOrderSummary } from '../types/fundraiser';\nimport * as QueryKeys from '../../../constants/QueryKeys';\n\nimport { ApiError } from 'features/common';\n\nexport const useFetchFinalOrderSummary =\n (id: number) => useQuery(`${ QueryKeys.FinalOrderSummary }-${ id }`,\n () => fetchFinalOrderSummary(id), {\n retry: false, refetchOnWindowFocus: false, cacheTime: 0, enabled: id > 0,\n });\n","import { Link } from '@lce/slice_v2';\nimport React from 'react';\n\ninterface IPhoneNumberLinkWrapper {\n text: string;\n}\nexport const PhoneNumberLinkWrapper: React.FC = ({ text }) => {\n const dashedPhonePattern = new RegExp('(?:[-]*[0-9]){10,14}', 'g');\n const phoneNumber = text.match(dashedPhonePattern)?.[0];\n const formattedPhoneNumber = phoneNumber?.replace(/-/g, '‑');\n const parts = text.split(dashedPhonePattern);\n return (\n <>\n {parts[0]}\n {phoneNumber && (\n \n {formattedPhoneNumber}\n \n )}\n {parts[1]}\n \n );\n};\nexport default PhoneNumberLinkWrapper;\n","import React from 'react';\nimport {\n IconButton, Popover as SlicePopover, Image, Box, Flex, Text, IIconButtonProps,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport { XSquare } from 'react-feather';\n\nimport SettingsImage from 'assets/icons/shape.svg';\n\nexport interface IFundraiserPopoverProps {\n setIsCancelFundraiser: () => void;\n canCancel: boolean;\n fundraiserName: string;\n}\n\nexport const GearIcon: React.FC = ({ ...props }) => (\n \n \n \n);\n\n// eslint-disable-next-line max-lines-per-function\nconst FundraiserPopover: React.FC = ({\n setIsCancelFundraiser,\n canCancel,\n fundraiserName,\n}) => {\n const [ t ] = useTranslation();\n const [ isOpen, setIsOpen ] = React.useState(false);\n\n const handleOnClose = () => setIsOpen(false);\n const handleOnOpen = () => setIsOpen(true);\n return (\n \n ) }\n closeOnClickOutside={ true }\n closeOnEsc={ true }\n isOpen={ isOpen }\n onClose={ handleOnClose }\n onOpen={ handleOnOpen }\n placement=\"bottom-end\"\n >\n \n { canCancel && (\n \n \n\n \n { t('fundraiser.CancelFundraiser')}\n \n \n )}\n \n \n );\n};\n\nexport default FundraiserPopover;\n","import React, { useRef, useState } from 'react';\nimport { Button, Flex, Text } from '@lce/slice_v2';\nimport { Info } from 'react-feather';\nimport { ThemeUIStyleObject } from 'theme-ui';\n\nimport { TooltipPopover } from 'ui/fundraiser';\nimport { PopupBorder } from 'ui/fundraiser/DashboardStep/StepPopupContent';\n\nexport type TextWithInlinePopoverButtonProps = {\n text: string;\n popoverText: string;\n testId?: string;\n textVariant?: string;\n iconHeight?: number;\n sx?: ThemeUIStyleObject;\n}\n\nexport const dataTestIdTextWithInlinePopoverButton = 'text-with-inline-popover-button-component';\n\nexport const TextWithInlinePopoverButton: React.FC = ({\n text,\n popoverText,\n testId = dataTestIdTextWithInlinePopoverButton,\n textVariant = 'popover',\n iconHeight = 16,\n sx,\n}) => {\n const [ visible, setVisible ] = useState(false);\n const popoverRef = useRef(null);\n const buttonHeight = iconHeight * 1.5;\n\n return (\n \n \n {text}\n setVisible(!visible) }\n ref={ popoverRef }\n sx={ { height: `${ buttonHeight }px`, verticalAlign: 'middle', ml: '8px' } }\n variant=\"plainText\"\n >\n \n \n \n \n \n \n {popoverText}\n \n \n \n \n );\n};\n","import React from 'react';\nimport { ThemeUIStyleObject } from 'theme-ui';\nimport { Button as SliceButton } from '@lce/slice_v2';\n\nexport interface SubmitButtonProps {\n children: string;\n sx?: ThemeUIStyleObject;\n testId?: string;\n variant?: string;\n disabled?: boolean;\n}\n\nexport const dataTestIdSubmitButton = 'submit-button-component';\n\nexport const SubmitButton: React.FC = ({\n children,\n testId = dataTestIdSubmitButton,\n sx = {},\n variant = 'primary',\n ...props\n}) => (\n \n {children}\n \n);\n","import React, { useCallback } from 'react';\nimport { useHistory } from 'react-router-dom';\nimport { ThemeUIStyleObject } from 'theme-ui';\nimport { Button as SliceButton } from '@lce/slice_v2';\n\nexport interface ButtonProps {\n children: string;\n href: string;\n sx?: ThemeUIStyleObject;\n testId?: string;\n variant?: string;\n}\n\nexport const buttonTestIdDefault = 'button';\n\nexport const Button: React.FC = ({\n children,\n href,\n testId = buttonTestIdDefault,\n sx = {},\n variant = 'primary',\n ...props\n}) => {\n const history = useHistory();\n\n const onClick = useCallback(() => {\n history.push(href);\n }, [ history, href ]);\n\n return (\n \n {children}\n \n );\n};\n","import * as React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { Text, Flex } from '@lce/slice_v2';\nimport _countBy from 'lodash/countBy';\nimport _filter from 'lodash/filter';\nimport _sumBy from 'lodash/sumBy';\n\nimport { ComboProductItem } from '../../../../constants';\n\nimport { CartItem } from 'features/cart';\nimport { displayShippingInfoText } from 'ui/checkout/utils/displayShippingInfoText';\nimport { areAllFreeShippingItemsDonationItems } from 'features/fundraiser/utils';\n\nexport interface IUpsellProps {\n cart: CartItem[];\n isBrochure?: boolean;\n}\n\nconst OrderUpsellText: React.FC = ({ cart, isBrochure }) => {\n const [ t ] = useTranslation();\n\n const shippableKits = _filter(cart, item => !item.IsFreeShipping && item.ProductTypeId !== ComboProductItem);\n const shippableKitCount = _sumBy(shippableKits, 'Quantity');\n\n const freeShippingItems = _countBy(cart, ({ IsFreeShipping }) => IsFreeShipping).true;\n const cartHasFreeShippingItems = freeShippingItems > 0;\n const hasOnlyDonationItems = areAllFreeShippingItemsDonationItems(cart);\n\n const { couponCodeText, shippingText } = displayShippingInfoText(cartHasFreeShippingItems, shippableKitCount);\n\n return (\n \n {shippingText && !isBrochure && (\n \n {t(shippingText)}\n \n )}\n {!hasOnlyDonationItems && couponCodeText && (\n \n {t(couponCodeText)}\n \n )}\n \n );\n};\n\nexport default OrderUpsellText;\n","// eslint-disable-next-line complexity\nexport const displayShippingInfoText = (cartHasFreeShippingItems, shippableKits) => {\n const shippingInfoText = 'cart.ShippingInfoText';\n const shippingInfoText2 = 'cart.ShippingInfoText2';\n const couponCodeInfoText = 'cart.CouponCodeShippingInfoText';\n let shippingText = '';\n let couponCodeText = '';\n const needs1MoreW3Kit = (shippableKits + 1) % 3 === 0;\n const needs2MoreW3Kit = (shippableKits + 2) % 3 === 0;\n\n if (needs1MoreW3Kit) {\n shippingText = shippingInfoText;\n }\n if (needs2MoreW3Kit) {\n shippingText = shippingInfoText2;\n }\n if (cartHasFreeShippingItems) {\n couponCodeText = couponCodeInfoText;\n }\n\n return { shippingText, couponCodeText };\n};\n","import React from 'react';\nimport { Flex, Card, Skeleton } from '@lce/slice_v2';\n\nconst OrderSummarySkeleton: React.FC = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default OrderSummarySkeleton;\n","import React from 'react';\nimport {\n Error, Flex, Button, Card, Text,\n} from '@lce/slice_v2';\nimport numeral from 'numeral';\nimport { useTranslation } from '@lce/i18n';\nimport { useHistory } from 'react-router-dom';\nimport _map from 'lodash/map';\nimport _every from 'lodash/every';\n\nimport { OrderUpsellText } from './OrderUpsellText';\nimport { OrderSummarySkeleton } from './OrderSummarySkeleton';\n\nimport { CartItem } from 'features/cart';\nimport { FundraiserType } from 'features/fundraiser';\nimport { useFetchProductsPageRoute } from 'features/products';\nimport { useShipping, useCheckoutState } from 'features/checkout';\nimport { GoogleEvents } from 'features/analytics';\nimport { areAllFreeShippingItemsDonationItems } from 'features/fundraiser/utils';\n\nexport type SummaryType = | 'cart'| 'checkout';\n\nexport interface IOrderSummaryProps {\n cartItems: CartItem[];\n subtotal: number;\n shouldDisplaySubtotal?: boolean;\n shouldDisplayShipping?: boolean;\n type: SummaryType;\n fundraiserType: FundraiserType;\n ineligibleItems?: boolean;\n supportGuid?: string;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst OrderSummary: React.FC = ({\n cartItems, subtotal, type, fundraiserType, ineligibleItems,\n supportGuid, shouldDisplaySubtotal = true, shouldDisplayShipping = true,\n}) => {\n const history = useHistory();\n\n const [ t ] = useTranslation();\n const { isFetching, data: shippingCost, error } = useShipping(cartItems);\n const productPageRoute = useFetchProductsPageRoute();\n const isMealDeal = fundraiserType === FundraiserType.MealDeal;\n const isBrochure = fundraiserType === FundraiserType.Brochure;\n const hasOnlyFreeShippingItems = _every(cartItems, 'IsFreeShipping');\n const shippingText = hasOnlyFreeShippingItems\n ? t('cart.FreeShippingLabel')\n : t('cart.ShippingLabel', { context: fundraiserType });\n const checkoutRoute = t('routes.checkoutPage', { context: fundraiserType, supportGuid: supportGuid });\n const hasOnlyDonationItems = areAllFreeShippingItemsDonationItems(cartItems);\n\n const categoryRedirect = () => history.push(productPageRoute, { fundraiserType });\n\n const checkoutRedirect = () => {\n GoogleEvents.beginCheckout({\n cartTotal: subtotal,\n products: _map(cartItems, item => ({\n name: item.ProductName,\n price: item.UnitPrice,\n id: item.ProductId.toString(),\n quantity: item.Quantity,\n })),\n });\n\n history.push(checkoutRoute, { fundraiserType });\n };\n\n const shippableUnits = (): number => {\n let kits = 0;\n cartItems.forEach(item => !item.IsFreeShipping && (kits += item.Quantity));\n return kits;\n };\n\n const ShippingCostText: React.FC = () => {\n const showShippingCost = shippableUnits() > 0;\n const shippingCostResponse = !isFetching && shippingCost !== undefined;\n const formattedShippingCost = numeral(shippingCost).format(t('currency.format'));\n const shippingWaitingMessage = error?.Status === 500 ? '' : 'Calculating';\n\n return (\n \n {\n showShippingCost && !isBrochure\n ? shippingCostResponse\n ? formattedShippingCost\n : shippingWaitingMessage\n : t('cart.NoShippingCost')\n }\n \n );\n };\n\n return (\n \n \n \n {t('cart.OrderSummaryTitle')}\n \n\n { cartItems.map(item => (\n \n \n (\n {item.Quantity}\n )\n {' '}\n {item.ProductName}\n \n \n {numeral(item.UnitPrice * item.Quantity).format(t('currency.format'))}\n \n \n ))}\n\n {shouldDisplaySubtotal && (\n \n \n {t('cart.SubtotalLabel')}\n \n \n {numeral(subtotal).format(t('currency.format'))}\n \n \n )}\n\n {shouldDisplayShipping && (\n \n \n \n {shippingText}\n \n \n \n \n \n )}\n\n {!hasOnlyDonationItems && isMealDeal && (\n \n {t('cart.MealDealShippingInfoText')}\n \n )}\n\n {!hasOnlyDonationItems && !shouldDisplayShipping && !isMealDeal && (\n \n \n \n {t('cart.CouponCodeShippingInfoText')}\n \n \n \n )}\n\n \n \n {t('cart.OrderTotalLabel')}\n \n \n USD\n {' '}\n {!isFetching && shippingCost !== undefined && numeral(subtotal + shippingCost).format(t('currency.format'))}\n \n \n {error?.Status === 500 && (\n \n {t('cart.500Error')}\n \n )}\n \n {t('cart.ContinueShoppingLabel')}\n \n\n { type === 'cart'\n ? (\n \n {t('cart.ToCheckoutLabel')}\n \n )\n : (\n
\n )}\n \n \n );\n};\n\nexport interface ICheckoutOrderSummaryProps {\n fundraiserType: FundraiserType;\n shouldDisplayShipping?: boolean;\n shouldDisplaySubtotal?: boolean;\n}\n\nconst CheckoutOrderSummary: React.FC = ({\n fundraiserType,\n shouldDisplayShipping = true,\n shouldDisplaySubtotal = true,\n}) => {\n const state = useCheckoutState();\n\n if (!state || !state.checkout) {\n return ;\n }\n\n return (\n \n );\n};\n\nexport { OrderSummary, CheckoutOrderSummary };\n","import React from 'react';\nimport {\n Flex, Card, Box, Image, Text,\n} from '@lce/slice_v2';\n\nimport CheerleaderCaesar from 'assets/images/Cheerleader_Caesar.png';\n\nexport interface IAvatarProps {\n displayRole: string | undefined;\n name: string | undefined;\n}\n\nconst Avatar: React.FC = ({ name, displayRole }) => (\n \n { name && (\n <>\n \n \n \n \n {name}\n {' '}\n \n \n {displayRole}\n \n \n )}\n \n);\n\nexport default Avatar;\n","import React from 'react';\nimport { map as _map } from 'lodash';\nimport { useTranslation } from '@lce/i18n';\nimport { Box } from '@lce/slice_v2';\n\nimport { LinkItem } from '../../fundraiser/LinkItem';\n\n// eslint-disable-next-line max-lines-per-function\nconst AdminNavigation: React.FC = () => {\n type TLink = {\n title: string;\n path: string;\n path2: string;\n }\n\n const [ t ] = useTranslation();\n const links: TLink[] = t('dashboard.navigation.admin', { returnObjects: true });\n\n return (\n \n {_map(links, (link: TLink) => (\n \n ))}\n \n );\n};\n\nexport default AdminNavigation;\n","/* eslint-disable max-len */\nimport React, { useMemo } from 'react';\nimport { Flex } from '@lce/slice_v2';\n\nimport Avatar from './Avatar/Avatar';\n\nimport * as FundraiserDefaults from 'constants/FundraiserDefaults';\nimport { UserInfo } from 'features/common/types/userInfo';\nimport { FundraiserNavigation } from 'ui/fundraiser/FundraiserNavigation';\nimport AdminNavigation from 'ui/admin/AdminNavigation';\n\nexport interface ISidebarProps {\n pathname: string | undefined;\n userInfo: UserInfo | undefined;\n}\n\nconst Sidebar: React.FC = ({ pathname, userInfo }) => {\n const fundraiserPathname = pathname?.split('dashboard/fundraisers')[1];\n const fundraiserPage = !(fundraiserPathname === '' || fundraiserPathname === '/' || fundraiserPathname === undefined);\n const adminPage = pathname?.includes('/admin');\n const matches = pathname?.match(/\\d+/g);\n const customerId = matches ? matches[1] : '';\n const displayRole = useMemo(() => {\n if (userInfo) {\n if (userInfo.Roles.includes(FundraiserDefaults.SuperAdminRoleName)) {\n return 'Super Admin';\n } else if (userInfo.Roles.includes(FundraiserDefaults.SalesAgentRoleName)) {\n return 'Sales Agent';\n } else if (userInfo.Roles.includes(FundraiserDefaults.ISCRoleName)) {\n return 'ISC';\n } else if (userInfo.Roles.includes(FundraiserDefaults.ChairpersonRoleName)) {\n return 'Chairperson';\n } else if (userInfo.Roles.includes(FundraiserDefaults.SellerRoleName)) {\n return 'Seller';\n } else {\n return '';\n }\n } else {\n return '';\n }\n }, [ userInfo ]);\n\n return (\n \n {userInfo && }\n {fundraiserPage && }\n {adminPage && }\n \n );\n};\n\nexport default Sidebar;\n","import React from 'react';\nimport { Box, Text } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport { isNil } from 'lodash';\n\nimport { DeliveryInfoBR } from 'features/fundraiser/types/fundraiser';\nimport { useSafeDateFormat } from 'ui/hooks';\n\nexport type DeliveryInfoProps = {\n details: DeliveryInfoBR;\n isEdit?: boolean;\n testId?: string;\n}\n\nexport const dataTestIdDeliveryInfo = 'delivery-info-component';\n\nexport const DeliveryInfo: React.FC = ({\n testId = dataTestIdDeliveryInfo, details, isEdit = false,\n}) => {\n const {\n DeliveryName, DeliveryAddress, DeliveryCity, DeliveryState, DeliveryZipCode,\n DeliveryPhoneNumber, PreferredDeliveryDate, DeliveryTimeRange,\n } = details;\n const [ t ] = useTranslation();\n const deliveryDate = useSafeDateFormat(PreferredDeliveryDate,\n 'MM/dd/yyyy', t('fundraiser.summary.deliveryInfo.Pending'));\n const textStyles = { fontSize: isEdit ? '14px' : '16px' };\n\n return (\n \n \n {t('fundraiser.summary.deliveryInfo.title')}\n \n \n {DeliveryName}\n \n \n {DeliveryAddress}\n \n \n {`${ DeliveryCity }, ${ DeliveryState } ${ DeliveryZipCode }`}\n \n \n {t('fundraiser.summary.deliveryInfo.deliveryPhone', { phone: DeliveryPhoneNumber })}\n \n \n {t('fundraiser.summary.deliveryInfo.deliveryDate',\n { date: deliveryDate })}\n \n \n {t('fundraiser.summary.deliveryInfo.deliveryTimeRange',\n { range: !isNil(PreferredDeliveryDate) ? DeliveryTimeRange : t('fundraiser.summary.deliveryInfo.Pending') }) }\n \n \n );\n};\n","import React from 'react';\nimport _every from 'lodash/every';\nimport { useTranslation } from '@lce/i18n';\nimport { Text, Box } from '@lce/slice_v2';\nimport numeral from 'numeral';\n\nimport { DeliveryInfo } from '../../DeliveryInfo';\n\nimport { FundraiserInfo, useUserHasSpecialRoles } from 'features/fundraiser';\nimport { FundraiserProfitCheckAddress } from 'features/fundraiser/types/fundraiser';\nimport { useSafeDateFormat } from 'ui/hooks';\n\nexport interface IFundraiserDetailsSummaryProps {\n profitCheckInfo?: FundraiserProfitCheckAddress;\n details: FundraiserInfo | undefined;\n isBrochure?: boolean;\n isMealDeal?: boolean;\n userRoles?: string[];\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst FundraiserDetailsSummary: React.FC = ({\n profitCheckInfo, details, isBrochure, isMealDeal, userRoles,\n}) => {\n const endDate = useSafeDateFormat(details?.EndDate, 'MM/dd/yyyy');\n const startDate = useSafeDateFormat(details?.StartDate, 'MM/dd/yyyy');\n const hasEndDate = endDate !== 'unknown';\n const hasSpecialPermissions = useUserHasSpecialRoles(userRoles);\n const [ t ] = useTranslation();\n if (details?.StartDate.toString().length === 10) {\n details.StartDate = new Date(`${ details.StartDate }T00:00:00`);\n }\n if (hasEndDate && details && details.EndDate.toString().length === 10) {\n details.EndDate = new Date(`${ details.EndDate }T00:00:00`);\n }\n const profitCheckKeys = Object.keys(profitCheckInfo || {});\n // eslint-disable-next-line max-len\n const profitCheckInfoCheck = _every(profitCheckKeys, key => profitCheckInfo && profitCheckInfo[key] && profitCheckInfo[key] !== '');\n\n return (\n \n \n {t('fundraiser.Organization')}\n \n {details && (\n <>\n \n {details.OrgName}\n \n \n {t('fundraiser.summary.OrgType', { orgType: details.GroupTypeName })}\n \n \n {t('fundraiser.summary.StartDate', { startDate })}\n \n {hasEndDate && (\n \n {t('fundraiser.summary.EndDate', { endDate })}\n \n )}\n {isBrochure && details.DeliveryInfo && (\n \n \n \n )}\n \n )}\n {isMealDeal && (\n <>\n \n {t('fundraiser.summary.CheckPayableTo')}\n \n {profitCheckInfoCheck && profitCheckInfo && (\n <>\n \n {profitCheckInfo.profitCheckPayableTo}\n \n \n { profitCheckInfo.groupAddress }\n \n \n {`${ profitCheckInfo.groupCity } ${ profitCheckInfo.groupState }, ${ profitCheckInfo.groupZipCode }`}\n \n \n )}\n \n )}\n \n {t('fundraiser.Goal')}\n \n {details && (\n <>\n \n {t('fundraiser.summary.DollarGoal',\n { dollarGoal: numeral(details.DollarGoal).format(t('currency.format')) })}\n \n \n {t('fundraiser.summary.EstimatedSellers', { estimatedSellers: details.EstimatedSellers })}\n \n \n {t('fundraiser.summary.SellerKitGoal', { sellerKitGoal: details.SellerKitGoal })}\n \n { details.SalesAgentCode && (\n <>\n \n {t('fundraiser.SalesAgent')}\n \n \n {t('fundraiser.summary.SalesAgentCode', { salesAgentCode: details.SalesAgentCode })}\n \n \n ) }\n {hasSpecialPermissions && isBrochure && (\n <>\n \n {t('fundraiser.summary.AdminDetails')}\n \n \n {t('fundraiser.summary.FindCaesar', {\n findCaesar: details.FindCaesar\n ? t('common.Yes')\n : t('common.No'),\n })}\n \n \n {t('fundraiser.summary.MailToISC', {\n mailToISC:\n details.MailToISC\n ? t('common.Yes')\n : t('common.No'),\n })}\n \n \n )}\n \n )}\n \n );\n};\n\nexport default FundraiserDetailsSummary;\n","/* eslint-disable max-len */\n/* eslint-disable complexity */\nimport React, { useEffect, useMemo, useState } from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport {\n Button, Box, Form, Flex, Text, Container, Spinner, Option,\n} from '@lce/slice_v2';\nimport * as Yup from 'yup';\nimport { useOktaAuth } from '@okta/okta-react';\nimport { subDays, format as dateformat } from 'date-fns';\nimport _ from 'lodash';\n\nimport { DeliveryInfo } from '../DeliveryInfo';\n\nimport * as FundraiserDefaults from './../../../../constants/FundraiserDefaults';\nimport FundraiserDetailsSummary from './FundraiserDetailsSummary/FundraiserDetailsSummary';\nimport './styles.css';\n\nimport { Step, Mode } from 'ui/common/Step';\nimport {\n useFetchUserGroups, FundraiserInfo, Group, FundraiserType,\n} from 'features/fundraiser';\nimport { useFetchGroupTypes } from 'features/fundraiser/hooks';\nimport { useFetchStates, useUserInfo } from 'features/common/hooks';\nimport { useFetchGroup } from 'features/fundraiser/hooks/useFetchGroup';\nimport { useVerifySalesAgent } from 'features/salesAgent';\nimport { FundraiserProfitCheckAddress } from 'features/fundraiser/types/fundraiser';\nimport { PhoneNumberLinkWrapper } from 'ui/fundraiser/ChairpersonSteps/Components';\nimport fonts from 'theme/components/fonts';\n\nexport interface IFundraiserDetailsProps {\n onEdit: () => void;\n onNext: (info: FundraiserInfo) => void;\n info: FundraiserInfo | undefined;\n mode: Mode;\n isEdit?: boolean;\n fundraiserType?: FundraiserType;\n profitCheckInfo?: FundraiserProfitCheckAddress;\n showEdit?: boolean;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst FundraiserDetails: React.FC = ({\n onEdit, onNext, mode, info, isEdit, fundraiserType, profitCheckInfo, showEdit = true,\n}) => {\n const [ t ] = useTranslation();\n const { authState } = useOktaAuth();\n const [ endDate, setEndDate ] = useState(info?.EndDate ? dateformat(new Date(info.EndDate), 'yyyy-MM-dd') : '');\n const [ startDate, setStartDate ] = useState(info?.StartDate ? dateformat(new Date(info.StartDate), 'yyyy-MM-dd') : '');\n const [ selectedGroupId, setSelectedGroupId ] = useState(info?.GroupId.toString() || '0');\n const [ fundraiserInfo, setFundraiserInfo ] = useState(info);\n const [ userIsChairperson, setUserIsChairperson ] = useState(false);\n const [ dollarGoal, setDollarGoal ] = useState(info?.DollarGoal || 0);\n const [ numberOfSellers, setNumberOfSellers ] = useState(info?.EstimatedSellers || 0);\n const [ calculatedKitGoal, setCalculatedKitGoal ] = useState(info?.SellerKitGoal || 0);\n const [ existingGroup, setExistingGroup ] = useState();\n const [ canEditSalesCode, setCanEditSalesCode ] = useState(false);\n const [ canEditDates, setCanEditDates ] = useState(false);\n const [ canFetchSalesAgent, setCanFetchSalesAgent ] = useState(false);\n const [ salesAgentHasErrors, setSalesAgentHasErrors ] = useState(false);\n const [ salesCode, setSalesCode ] = useState('');\n\n const isMealDealFundraiser = fundraiserType && fundraiserType === FundraiserType.MealDeal;\n const isBrochureFundraiser = fundraiserType && fundraiserType === FundraiserType.Brochure;\n\n const { data: groups, isLoading: isGroupLoading } = useFetchUserGroups();\n const { data: groupTypes, isLoading: isGroupTypeLoading } = useFetchGroupTypes();\n const { data: states } = useFetchStates(1);\n\n const { data: groupDetail } = useFetchGroup(selectedGroupId);\n const defaultGroupTypeId = groupDetail?.GroupTypeId;\n const defaultState = groupDetail?.GroupAddress?.StateProvinceIso ?? info?.GroupState;\n const {\n data: salesAgent, status: salesAgentStatus, isSuccess: isSuccessForSalesAgent, isLoading: isSalesAgentLoading,\n } =\n useVerifySalesAgent(canFetchSalesAgent, salesCode);\n\n const [ isGroupTypeIdDirty, setGroupTypeIdDirty ] = useState(false);\n\n const hasOutOfRangeGroupTypeId = useMemo(() => {\n if (isGroupTypeIdDirty) {\n return false;\n }\n\n if (Array.isArray(groupTypes)) {\n const highestGroupId = _.chain(groupTypes)\n .orderBy('Id')\n .last()\n .get('Id')\n .value();\n const currentGroupTypeId = groupDetail?.GroupTypeId ?? 0;\n\n return highestGroupId < currentGroupTypeId;\n }\n\n return false;\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ groupDetail?.GroupTypeId, groupTypes, isGroupTypeIdDirty ]);\n\n const { data: userInfo } = useUserInfo(authState.isAuthenticated);\n\n useEffect(() => {\n if (selectedGroupId === '0') {\n setExistingGroup(undefined);\n } else if (groupDetail) {\n setExistingGroup(groupDetail);\n }\n\n if (isEdit) {\n setFundraiserInfo(info);\n }\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ groupDetail, selectedGroupId ]);\n\n useEffect(() => {\n if (salesAgentStatus === 'success' || salesAgentStatus === 'error') {\n setCanFetchSalesAgent(false);\n\n if (salesAgent && !salesAgent.SalesCode) {\n setSalesAgentHasErrors(true);\n } else {\n setSalesAgentHasErrors(false);\n }\n }\n }, [ salesAgent, salesAgentStatus ]);\n\n useEffect(() => {\n if (userInfo && userInfo.Roles) {\n const { Roles } = userInfo;\n\n // ISC users cannot edit a sales code at any point during Edit.\n if (Roles.includes(FundraiserDefaults.ISCRoleName) && isEdit) {\n setCanEditSalesCode(false);\n }\n // ISC Users can edit sales code during creation\n if (Roles.includes(FundraiserDefaults.ISCRoleName) && !isEdit) {\n setCanEditSalesCode(true);\n }\n // Super admins can always edit sales code\n if (Roles.includes(FundraiserDefaults.SuperAdminRoleName)) {\n setCanEditSalesCode(true);\n }\n // Sales agent can only edit sales code when creating a fundraiser\n if (Roles.includes(FundraiserDefaults.SalesAgentRoleName) && !isEdit) {\n setCanEditSalesCode(true);\n }\n\n // Supers and Sales Agents can edit start and end dates\n if (Roles.includes(FundraiserDefaults.SuperAdminRoleName) ||\n Roles.includes(FundraiserDefaults.SalesAgentRoleName)) {\n setCanEditDates(true);\n }\n\n // Only get list of groups if one of these roles\n if (Roles.includes(FundraiserDefaults.SuperAdminRoleName) ||\n Roles.includes(FundraiserDefaults.ChairpersonRoleName) ||\n Roles.includes(FundraiserDefaults.SalesAgentRoleName)) {\n setUserIsChairperson(true);\n }\n }\n }, [ userInfo, isEdit ]);\n\n // eslint-disable-next-line max-lines-per-function\n const [ validationSchema, groupTypeIdLabel ] = useMemo(() => {\n const defaultSchemaMD = Yup.object({\n OrgName: Yup.string()\n .required('Organization Name is required')\n .matches(/^[a-zA-Z0-9\\s']+$/, 'Fundraiser Organization Name field can accept ONLY letters, numbers, and apostrophe (for example: Jane Doe\\'s School PTA)')\n .max(255, 'Organization Name is too long'),\n DollarGoal: Yup.number()\n .required('Profit Goal is required.')\n .nullable()\n .min(0.01, 'Profit Goal must be greater than 0')\n .max(1000000, 'Number too large')\n .typeError('Profit Goal must be a number.'),\n EstimatedSellers: Yup.number()\n .required('Estimated Number of sellers is required')\n .nullable()\n .integer('Estimated Number of sellers must be a whole number')\n .min(1, 'Estimated Number of sellers must be greater than 0')\n .max(99999, 'Number too large')\n .typeError('Number of sellers must a number'),\n });\n\n const defaultSchemaEdit = defaultSchemaMD.shape({\n GroupAddress1: Yup.string().required('Organization Address is required'),\n GroupCity: Yup.string().required('Organization City is required'),\n GroupState: Yup.string().required('Organization State is required'),\n GroupZip: Yup.string().required('Organization Zip is required'),\n FederalTaxId: Yup.string()\n .max(100, 'Tax ID must be under 100 characters'),\n TaxAcknowledgement: Yup.boolean()\n .required(t('fundraiser.TaxAcknowledgement', { context: isEdit ? 'isEdit' : '' }))\n .oneOf([ true ], t('fundraiser.TaxAcknowledgement', { context: isEdit ? 'isEdit' : '' })),\n });\n\n const today = new Date();\n const threeYearsFromToday = new Date();\n threeYearsFromToday.setFullYear(today.getFullYear() + 3);\n\n const defaultSchemaCreate = defaultSchemaEdit.shape({\n GroupId: Yup.number(),\n GroupTypeId: Yup.number().min(1, 'Must select a group type'),\n StartDate: Yup.date()\n .required('Start Date is required')\n .min(subDays(new Date(), 1), 'Select today or later')\n .max(threeYearsFromToday, 'Start date cannot be more than 3 years from today')\n .typeError('Start Date is required'),\n });\n\n const optionalGroupTypeIdLabel = 'Type of Organization';\n const requiredGroupTypeIdLabel = `${ optionalGroupTypeIdLabel } *`;\n\n if (isMealDealFundraiser) {\n return [ defaultSchemaMD, optionalGroupTypeIdLabel ];\n } else if (isEdit) {\n return [ defaultSchemaEdit, requiredGroupTypeIdLabel ];\n } else {\n return [ defaultSchemaCreate, requiredGroupTypeIdLabel ];\n }\n }, [ isEdit, t, isMealDealFundraiser ]);\n\n const handleStartDateChange = (e: React.ChangeEvent) => {\n const startDate = new Date(e.target.value);\n\n if (startDate.getFullYear() >= 2020 && startDate.getFullYear() < 2100) {\n setStartDate(dateformat(new Date(`${ e.target.value }T00:00:00`), 'yyyy-MM-dd'));\n startDate.setDate(startDate.getDate() + 30);\n setEndDate(startDate.toISOString().slice(0, 10));\n }\n };\n\n const onGroupSelect = (e: React.ChangeEvent) => {\n setSelectedGroupId(e.currentTarget.value);\n };\n\n const calculateKitGoal = (sellers, dollarGoal) => {\n if (!sellers || !dollarGoal) {\n setCalculatedKitGoal(0);\n return;\n }\n\n const kits = dollarGoal / 6 / sellers;\n setCalculatedKitGoal(Math.ceil(kits));\n };\n\n const onDollarGoalChange = (e: React.ChangeEvent) => {\n if (!e.target.value) {\n return;\n }\n const goal = parseInt(e.target.value);\n setDollarGoal(goal);\n\n if (goal === 0 || numberOfSellers === 0) {\n setCalculatedKitGoal(0);\n }\n\n calculateKitGoal(numberOfSellers, goal);\n };\n\n const onEndDateChange = (e: React.ChangeEvent) => {\n if (e.target.value && e.target.value > startDate) {\n setEndDate(dateformat(new Date(`${ e.target.value }T00:00:00`), 'yyyy-MM-dd'));\n }\n };\n\n const onNumberOfSellerChange = (e: React.ChangeEvent) => {\n if (!e.target.value) {\n return;\n }\n const sellers = parseInt(e.target.value);\n setNumberOfSellers(sellers);\n\n if (sellers === 0 || dollarGoal === 0) {\n setCalculatedKitGoal(0);\n }\n\n calculateKitGoal(sellers, dollarGoal);\n };\n\n const handleOnSubmit = (e) => {\n const { GroupTypeId, ...formData } = e;\n const GroupTypeName = _.find(groupTypes, gt => gt.Id === parseInt(e.GroupTypeId))?.Name;\n const info: FundraiserInfo = {\n ...formData,\n GroupTypeId: hasOutOfRangeGroupTypeId ? existingGroup?.GroupTypeId : parseInt(GroupTypeId),\n GroupAddressId: existingGroup?.GroupAddress?.Id || 0,\n GroupId: existingGroup?.Id || 0,\n GroupTypeName,\n SellerKitGoal: calculatedKitGoal,\n StartDate: startDate,\n EndDate: endDate,\n FundraiserType: fundraiserType || FundraiserType.Digital,\n };\n setFundraiserInfo(info);\n onNext(info);\n };\n\n if (isGroupLoading || isGroupTypeLoading) {\n return (\n \n \n \n \n \n );\n }\n\n return (\n <>\n { mode === 'active' && (\n \n \n \n \n {t('fundraiser.Organization')}\n \n \n {userIsChairperson && !isEdit && (\n onGroupSelect(e) }\n >\n \n \n \n \n )}\n\n { mode === 'preview' && (\n \n \n \n \n \n )}\n \n );\n};\n\nexport default FundraiserDetails;\n","/* eslint-disable max-lines-per-function */\nexport const processOrder = (order, checkoutDispatch, paymentDispatch) => {\n checkoutDispatch({ type: 'UNSET_LOADING' });\n if (order) {\n if (!order.PaymentCallSucceeded) {\n checkoutDispatch({\n type: 'SET_ERROR_CODE', errorCode: order.PaymentErrorCode,\n });\n if (order.PaymentErrorCode !== 'ERR-PAYMENT-01') {\n paymentDispatch({ type: 'SET_PAYMENT_STEP' });\n paymentDispatch({ type: 'SET_INLINE_ERROR' });\n checkoutDispatch({\n type: 'SET_PAYMENT_STATUS', status: 'fail',\n });\n }\n if (order.PaymentErrorCode === 'ERR-PAYMENT-01') {\n checkoutDispatch({\n type: 'SET_PAYMENT_STATUS', status: 'fail',\n });\n paymentDispatch({ type: 'UNSET_PAYMENT_STEP' });\n paymentDispatch({ type: 'SET_POPUP' });\n }\n if (order.OrderCallSucceeded) {\n checkoutDispatch({\n type: 'SET_ORDER_STATUS', status: 'success', orderId: order.OrderId, orderGuid: order.OrderGuid,\n });\n }\n }\n if (!order.OrderCallSucceeded) {\n checkoutDispatch({\n type: 'SET_ERROR_CODE', errorCode: order.PaymentErrorCode,\n });\n checkoutDispatch({\n type: 'SET_ORDER_STATUS', status: 'fail', orderId: order.OrderId, orderGuid: order.OrderGuid,\n });\n }\n if (order.OrderCallSucceeded && order.PaymentCallSucceeded) {\n checkoutDispatch({\n type: 'SET_PAYMENT_STATUS', status: 'success',\n });\n checkoutDispatch({\n type: 'SET_ORDER_STATUS', status: 'success', orderId: order.OrderId, orderGuid: order.OrderGuid,\n });\n }\n } else {\n checkoutDispatch({\n type: 'SET_ORDER_STATUS', status: 'fail', orderId: 0, orderGuid: '',\n });\n }\n};\n","/* eslint-disable max-len */\nexport const generateID = () => {\n const u = Date.now().toString(16) + Math.random().toString(16) + '0'.repeat(16);\n const guid = [ u.substr(0, 8), u.substr(8, 4), u.substr(13, 3), u.substr(16, 12), u.substr(14, 11), u.substr(7, 3), u.substr(16, 8) ].join('');\n\n return guid.slice(5, 30);\n};\n","declare global {\n interface Window {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n eProtect: any;\n }\n}\n\n// eslint-disable-next-line max-lines-per-function\nexport const eProtectResponse = (response, paymentDispatch, checkoutDispatch, paymentStatus) => {\n // has token\n if (response.paypageRegistrationId) {\n paymentDispatch({\n type: 'SET_TOKEN', code: '', token: response.paypageRegistrationId,\n });\n // has error\n } else if (response.response) {\n let code = response.response;\n let popup = false;\n switch (response.response) {\n case '871':\n // alert('Invalid card number. Check and retry. (Not Mod10)');\n code = response.response;\n break;\n case '872':\n // alert('Invalid card number. Check and retry. (Too short)');\n code = response.response;\n break;\n case '873':\n // alert('Invalid card number. Check and retry. (Too long)');\n code = response.response;\n break;\n case '874':\n // alert('Invalid card number. Check and retry. (Not a number)');\n code = response.response;\n break;\n case '875':\n case '889':\n // alert('We are experiencing technical difficulties. Please try again later or call 555-555-1212');\n popup = true;\n code = response.response;\n break;\n case '876':\n // alert('Invalid card number. Check and retry. (Failure from Server)');\n code = response.response;\n break;\n case '881':\n // alert('Invalid card validation code. Check and retry. (Not a number)');\n code = response.response;\n break;\n case '882':\n // alert('Invalid card validation code. Check and retry. (Too short)');\n code = response.response;\n break;\n case '883':\n // alert('Invalid card validation code. Check and retry. (Too long)');\n code = response.response;\n break;\n case '901':\n // alert('Request has timed out.');\n popup = true;\n code = response.response;\n break;\n default:\n code = response.response;\n break;\n }\n paymentDispatch({\n type: 'SET_ERROR_CODE', code, token: '', popup,\n });\n if (paymentStatus === 'retry') {\n checkoutDispatch({ type: 'UNSET_LOADING' });\n if (!popup) {\n paymentDispatch({ type: 'UNSET_PAYMENT_STEP' });\n paymentDispatch({ type: 'SET_INLINE_ERROR' });\n }\n checkoutDispatch({ type: 'SET_PAYMENT_STATUS', status: 'fail' });\n }\n if (paymentStatus === 'pending') {\n checkoutDispatch({ type: 'SET_PAYMENT_STATUS', status: 'retry' });\n }\n }\n};\n\nexport const callEprotect = (eProtectRequest, formFields, paymentDispatch, checkoutDispatch, paymentStatus) => {\n new window.eProtect().sendToEprotect(eProtectRequest, formFields,\n response => eProtectResponse(response, paymentDispatch, checkoutDispatch, paymentStatus),\n response => eProtectResponse(response, paymentDispatch, checkoutDispatch, paymentStatus),\n response => eProtectResponse(response, paymentDispatch, checkoutDispatch, paymentStatus),\n 15000);\n};\n","/* eslint-disable max-len */\n/* eslint-disable max-lines-per-function */\nimport React, {\n useState, useEffect, useCallback, ReactElement,\n} from 'react';\nimport { Redirect, useHistory } from 'react-router-dom';\nimport { useTranslation } from '@lce/i18n';\nimport _map from 'lodash/map';\nimport _every from 'lodash/every';\nimport _find from 'lodash/find';\n\nimport { processOrder } from 'features/checkout/utils/processOrder';\nimport { clearCart, useCartState, useCartDispatch } from 'features/cart';\nimport {\n useCheckoutRequest,\n useCheckoutDispatch,\n usePlaceOrder,\n useCheckoutState,\n PlaceOrderRequest,\n usePaymentState,\n usePaymentDispatch,\n} from 'features/checkout';\nimport { GoogleEvents } from 'features/analytics';\nimport { calculateSubtotal } from 'features/cart/context/cartContext/cartReducer';\nimport { CustomerData } from 'features/cart/context/cartContext/cartContext';\nimport { useLocalStorage } from 'features/common';\nimport { appInsights } from 'features/analytics/ApplicationInsights';\nimport { generateID } from 'features/checkout/utils/generateID';\nimport { callEprotect } from 'features/checkout/utils/eProtect';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\nimport { ICheckoutWrapperChildrenProps } from 'ui/checkout';\nimport { updateCart } from 'features/cart/context/cartContext/cartActions';\nimport { areAllFreeShippingItemsDonationItems } from 'features/fundraiser/utils';\n\nexport interface ICheckoutProcessProps {\n children: (props: ICheckoutWrapperChildrenProps) => ReactElement;\n isGuest: boolean;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst CheckoutProcess: React.FC = ({ children, isGuest }) => {\n const [ t ] = useTranslation();\n const [ details, setDetails ] = useState(false);\n const [ checkoutStarted, setCheckoutStarted ] = useState(false);\n const [ canCheckout, setCanCheckout ] = useState(true);\n const { fundraiserType } = useFundraiserState();\n\n const history = useHistory();\n\n const {\n mutateAsync: checkout, error: checkoutError,\n } = useCheckoutRequest();\n\n const { mutateAsync: createOrder } = usePlaceOrder();\n const cartState = useCartState();\n const cartDispatch = useCartDispatch();\n const checkoutState = useCheckoutState();\n const checkoutDispatch = useCheckoutDispatch();\n const paymentState = usePaymentState();\n const paymentDispatch = usePaymentDispatch();\n const [ , setCustomerData ] = useLocalStorage('fundraiser/buyer');\n const ExpireDate = paymentState.card.expiryYear + paymentState.card.expiryMonth;\n\n const hasOnlyCouponItems = _every(checkoutState.checkout?.Cart, item => item.IsFreeShipping === true);\n const hasOnlyDonationItems = areAllFreeShippingItemsDonationItems(checkoutState.checkout?.Cart);\n const isCouponItemExist = _find(checkoutState.checkout?.Cart, item => item.IsFreeShipping === true)?.IsFreeShipping;\n\n const orderId = generateID();\n const merchantTxnId = generateID();\n const eProtectRequest = {\n paypageId: process.env.REACT_APP_EPROTECT_PAYPAGEID,\n reportGroup: 'FR_REPORTGROUP',\n orderId: orderId,\n id: merchantTxnId,\n url: process.env.REACT_APP_EPROTECT_URL,\n };\n const formFields = {\n accountNum: document.getElementById('ccNum'),\n cvv: document.getElementById('cvvNum'),\n paypageRegistrationId: document.getElementById('paypageRegistrationId'),\n bin: document.getElementById('bin'),\n };\n\n const redirectToCart = () => {\n history.push(t('routes.cart', { context: fundraiserType }));\n };\n\n const startCheckout = useCallback(async() => {\n setCheckoutStarted(true);\n\n if (!cartState.sellerId) {\n setCanCheckout(false);\n history.push(`${ t('routes.cart', { context: fundraiserType }) }?error=nofundraiser`);\n return;\n }\n\n const data = await checkout({\n isGuest: isGuest,\n cart: cartState.cart.items,\n cartSubTotal: cartState.subtotal,\n sellerSupportId: cartState.sellerId,\n guestId: isGuest ? cartState.guestId || '' : '',\n giftMessageRecipient: '',\n giftMessage: '',\n tokenId: paymentState.token,\n Cvc: paymentState.card.cvvNum,\n ExpirationDate: ExpireDate,\n });\n\n if (!data || !data.CheckoutEnabled) {\n setCanCheckout(false);\n return;\n }\n\n if (data.HasWarnings) {\n updateCart(cartDispatch, data.Cart);\n history.push(t('routes.cart', { context: fundraiserType }));\n return;\n }\n\n checkoutDispatch({ type: 'SET_CHECKOUT', checkout: data });\n\n cartDispatch({ type: 'SET_GUEST', guestId: data.GuestId || undefined });\n }, [\n cartDispatch,\n cartState,\n checkout,\n checkoutDispatch,\n fundraiserType,\n isGuest,\n history,\n ExpireDate,\n paymentState.card.cvvNum,\n paymentState.token,\n t,\n ]);\n\n const orderComplete = useCallback((checkoutState) => {\n clearCart(cartDispatch);\n setCustomerData({});\n if (isGuest) {\n appInsights.clearAuthenticatedUserContext();\n }\n\n GoogleEvents.purchase({\n subtotal: checkoutState.checkout?.Subtotal || 0,\n purchaseId: checkoutState.orderId,\n shippingTotal: checkoutState.checkout?.ShippingTotal || 0,\n products: _map(checkoutState.checkout?.Cart, item => ({\n name: item.ProductName,\n price: item.UnitPrice,\n id: item.ProductId.toString(),\n quantity: item.Quantity,\n })),\n });\n\n history.push(t('checkout.routes.orderConfirmation', { context: fundraiserType, orderGuid: checkoutState.orderGuid }),\n {\n isGuest: isGuest,\n guestId: checkoutState.checkout?.GuestId,\n guestAddress: checkoutState.shippingAddress,\n });\n }, [\n cartDispatch,\n isGuest,\n history,\n fundraiserType,\n setCustomerData,\n t,\n ]);\n\n useEffect(() => {\n if (!checkoutStarted) {\n startCheckout();\n }\n }, [ startCheckout, checkoutStarted ]);\n\n useEffect(() => {\n const handleUnload = (e) => {\n e.preventDefault();\n const message = t('checkout.OrderProcessingWarning');\n e.returnValue = message;\n return e;\n };\n\n window.onbeforeunload = checkoutState.loading ? handleUnload : null;\n }, [ checkoutState.loading, t ]);\n\n useEffect(() => {\n if (!checkoutState.loading && checkoutState.paymentStatus === 'success' && checkoutState.orderGuid) {\n orderComplete(checkoutState);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ checkoutState ]);\n\n useEffect(() => {\n // eslint-disable-next-line no-extra-parens\n if ((paymentState.inlineError && !paymentState.popup) || paymentState.showPaymentStep) {\n document.getElementById('paymentAnchor')?.scrollIntoView({\n behavior: 'smooth',\n block: 'start',\n });\n }\n\n // eslint-disable-next-line no-extra-parens\n if (paymentState.showReviewStep) {\n document.getElementById('submitAnchor')?.scrollIntoView({\n behavior: 'smooth',\n block: 'start',\n });\n }\n }, [ paymentState.inlineError, paymentState.popup, paymentState.showPaymentStep, paymentState.showReviewStep ]);\n\n const placeOrderHandler = async() => {\n checkoutDispatch({ type: 'SET_LOADING' });\n paymentDispatch({ type: 'UNSET_REVIEW_STEP' });\n // eslint-disable-next-line no-extra-parens\n if (checkoutState.paymentStatus === 'retry' || (checkoutState.paymentStatus === 'fail' && !paymentState.token)) {\n callEprotect(eProtectRequest, formFields, paymentDispatch, checkoutDispatch, 'retry');\n }\n if (!checkoutState.checkout) {\n return;\n }\n if (!paymentState.token) {\n return;\n }\n\n const orderRequest: PlaceOrderRequest = {\n cart: checkoutState.checkout.Cart,\n cartSubTotal: checkoutState.checkout.Subtotal,\n total: checkoutState.checkout.OrderTotal,\n sellerId: checkoutState.checkout.SellerId,\n sellerName: checkoutState.shippingAddress.SellerName ?? null,\n guestId: checkoutState.checkout.GuestId,\n shippingAddress: checkoutState.shippingAddress,\n billingAddress: checkoutState.billingAddress,\n isGuest: checkoutState.checkout.IsGuest,\n giftMessageRecipient: checkoutState.giftMessageRecipient,\n giftMessage: checkoutState.giftMessage,\n tokenId: paymentState.token,\n Cvc: paymentState.card.cvvNum,\n ExpirationDate: ExpireDate,\n eProtectOrderId: orderId,\n eProtectMerchantTxnId: merchantTxnId,\n };\n\n if (checkoutState.orderId) {\n orderRequest.orderId = checkoutState.orderId;\n }\n\n // always call createOrder so that the order is always up to date w/ the client\n const order = await createOrder(orderRequest);\n\n const hasWarnings = _find(order?.Cart, item => item.Warnings?.length > 0);\n\n if (hasWarnings && order) {\n checkoutDispatch({ type: 'UNSET_LOADING' });\n const CheckoutInfo = {\n ...checkoutState.checkout,\n Subtotal: calculateSubtotal({ items: order.Cart }),\n Cart: order.Cart,\n };\n checkoutDispatch({ type: 'SET_CHECKOUT', checkout: CheckoutInfo });\n updateCart(cartDispatch, order.Cart);\n return redirectToCart();\n }\n\n processOrder(order, checkoutDispatch, paymentDispatch);\n };\n\n const handleModalClose = () => {\n document.getElementById('submitAnchor')?.scrollIntoView({\n behavior: 'smooth',\n block: 'start',\n });\n paymentDispatch({ type: 'UNSET_INLINE_ERROR' });\n paymentDispatch({ type: 'UNSET_POPUP' });\n };\n\n const handlePaymentInfoComplete = () => {\n if (paymentState.code) {\n checkoutDispatch({ type: 'SET_PAYMENT_STATUS', status: 'pending' });\n }\n paymentDispatch({ type: 'UNSET_INLINE_ERROR' });\n paymentDispatch({ type: 'UNSET_PAYMENT_STEP' });\n callEprotect(eProtectRequest, formFields, paymentDispatch, checkoutDispatch, 'pending');\n };\n\n if (checkoutError || !canCheckout) {\n return ;\n }\n\n return children({\n checkoutState,\n details,\n setDetails,\n paymentState,\n paymentDispatch,\n hasOnlyCouponItems,\n hasOnlyDonationItems,\n isCouponItemExist,\n handleModalClose,\n handlePaymentInfoComplete,\n redirectToCart,\n placeOrderHandler,\n });\n};\n\nexport default CheckoutProcess;\n","import React from 'react';\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { useTranslation } from '@lce/i18n';\nimport { Flex, Text, Button } from '@lce/slice_v2';\nimport { RefetchOptions, RefetchQueryFilters, QueryObserverResult } from 'react-query';\n\nimport { ApiError } from 'features/common';\nimport { InlineLinkParseAndReplace } from 'ui/components/links';\n\nexport type RefetchDataDisplayProps = {\n children?: React.ReactNode;\n testId?: string;\n}\n\nexport const dataTestIdRefetchDataDisplay = 'refetch-data-display-component';\nexport const dataTestIdRefetchDataDisplayRetryButton = 'refetch-data-display-component-retry-button';\n\nexport interface IRefetchDataDisplayProps {\n maxRetries: number;\n refetch: (options?: (RefetchOptions & RefetchQueryFilters)) =>\n Promise>;\n totalRefetchCount: number;\n setTotalRefetchCount: React.Dispatch>;\n fullWidth?: boolean;\n testId?: string;\n}\n\nexport const RefetchDataDisplay: React.FC =\n ({\n maxRetries,\n refetch,\n totalRefetchCount,\n setTotalRefetchCount,\n fullWidth = true,\n testId = dataTestIdRefetchDataDisplay,\n }) => {\n const [ t ] = useTranslation();\n\n const handleThisRefetch = () => {\n refetch();\n setTotalRefetchCount(prevCount => prevCount + 1);\n };\n\n return (\n \n \n = maxRetries\n ? t('dashboard.finalOrderPage.FetchErrorMaxRetries')\n : t('dashboard.finalOrderPage.FetchError') }\n />\n \n {totalRefetchCount < maxRetries && (\n \n {t('dashboard.finalOrderPage.Retry')}\n \n )}\n \n );\n };\n\n","import React, { useState } from 'react';\nimport { RefetchOptions, RefetchQueryFilters, QueryObserverResult } from 'react-query';\n\nimport { RefetchDataDisplay } from '../../components/data';\n\nimport { ApiError } from 'features/common';\n\nexport interface IUseFetchParams {\n refetch: (options?: (RefetchOptions & RefetchQueryFilters)) =>\n Promise>;\n maxRetries?: number;\n}\n\nexport const maxRetriesDefault = 3;\n\nexport const useRefetch = ({ refetch, maxRetries = maxRetriesDefault }: IUseFetchParams): React.FC => {\n const [ totalRefetchCount, setTotalRefetchCount ] = useState(0);\n\n // eslint-disable-next-line react/display-name\n return () => (\n \n );\n};\n","import {\n Box, Form, IconButton,\n} from '@lce/slice_v2';\nimport _debounce from 'lodash/debounce';\nimport { Search, XCircle } from 'react-feather';\nimport React, { useEffect, useRef } from 'react';\n\nimport { theme } from 'theme';\n\nexport interface ISearchBar {\n onSearch: (value) => void;\n setSearchValue: (value: string) => void;\n searchValue: string;\n placeholderText: string;\n}\n\nconst SearchBar: React.FC = ({\n onSearch, setSearchValue, searchValue, placeholderText,\n}: ISearchBar) => {\n const debouncedSearch = useRef(_debounce(value => onSearch(String(value)), 500)).current;\n\n const handleOnSearch = (e: React.ChangeEvent) => {\n debouncedSearch(e.target.value);\n setSearchValue(e.target.value);\n };\n\n const handleOnClearSearch = () => {\n setSearchValue('');\n onSearch('');\n };\n\n useEffect(() => () => debouncedSearch.cancel(), [ debouncedSearch ]);\n\n return (\n \n \n \n \n \n { searchValue.length > 0 && (\n \n \n \n \n \n )}\n \n );\n};\n\nexport default SearchBar;\n","import React from 'react';\nimport Pagination from 'rc-pagination';\nimport './styles.css';\nimport { ChevronLeft, ChevronRight, MoreHorizontal } from 'react-feather';\nimport * as locale from 'rc-pagination/lib/locale/en_US';\nimport {\n Form, Flex, Text,\n} from '@lce/slice_v2';\n\nexport type IPaginate = {\n onPageChange: (page: number, pageSize: number) => void;\n onPageSizeChange: (newSize: number) => void;\n totalCount: number;\n pageSize: number;\n currentPage: number;\n showPageSelect?: boolean;\n}\n\nconst Paginate: React.FC = ({\n onPageChange,\n onPageSizeChange,\n totalCount,\n pageSize = 5,\n currentPage,\n showPageSelect = true,\n}) => (\n \n { showPageSelect && (\n \n \n Rows Per Page\n \n onPageSizeChange(Number(e.target.value)) }\n sx={ { minWidth: '104px' } }\n >\n \n \n \n \n \n \n \n \n )}\n }\n jumpPrevIcon={ }\n locale={ locale }\n nextIcon={ }\n onChange={ onPageChange }\n onShowSizeChange={ (current, size) => onPageSizeChange(size) }\n pageSize={ pageSize }\n prevIcon={ }\n showPrevNextJumpers={ true }\n total={ totalCount }\n />\n \n\n);\n\nexport default Paginate;\n","import { Box } from '@lce/slice_v2';\nimport React from 'react';\n\nexport type VideoPlayerProps = {\n src: string;\n title: string;\n fullSize?: boolean;\n}\n\nexport const VideoPlayer: React.FC = ({\n src,\n title,\n fullSize = false,\n}) => (\n \n \n \n);\n","import { useMemo } from 'react';\n\n/* eslint-disable no-confusing-arrow */\nexport function useMergeWithDefaults(props: object & TP,\n defaults: object & TD,\n keysToOmit: string[] = [ 'required' ]) {\n return useMemo(() => {\n const pairs = Object\n .keys(defaults)\n .filter(key => !keysToOmit.includes(key))\n .map(key => props[key] === undefined ? [ key, defaults[key] ] : [ key, props[key] ]);\n\n return Object.fromEntries(pairs);\n }, [ defaults, keysToOmit, props ]);\n}\n","import React from 'react';\nimport * as Yup from 'yup';\nimport { Form } from '@lce/slice_v2';\nimport { TFunction } from 'i18next';\nimport { subDays } from 'date-fns';\nimport { noop } from 'lodash';\nimport { ThemeUIStyleObject } from 'theme-ui';\n\nimport { useFormField } from 'ui/hooks';\nimport { useMergeWithDefaults } from 'ui/components/utils';\n\nexport type StartDateInputProps = {\n defaultValue?: string | undefined;\n id?: string;\n label?: string;\n name?: string;\n onChange?: (e: React.ChangeEvent) => void;\n required?: boolean;\n sx?: ThemeUIStyleObject;\n testId?: string;\n variant?: string;\n}\n\nexport const dataTestIdStartDateInput = 'start-date';\nexport const defaultStartDateInputName = 'StartDate';\n\nexport const defaultPropsStartDateInput: StartDateInputProps = {\n defaultValue: undefined,\n id: defaultStartDateInputName,\n label: 'Start date',\n name: defaultStartDateInputName,\n onChange: noop,\n required: true,\n sx: { marginRight: [ 0, '12px' ] },\n testId: dataTestIdStartDateInput,\n variant: 'forms.fundraiser.field',\n};\n\nexport const StartDateInput: React.FC = (props) => {\n const {\n defaultValue, label, name, sx, testId, variant, ...rest\n } = useMergeWithDefaults<\n StartDateInputProps,\n StartDateInputProps\n >(props, defaultPropsStartDateInput);\n\n return (\n \n );\n};\n\nexport const startDateInputSchema = (t: TFunction,\n validationKey: string,\n required): { [x: string]: Yup.Schema } => {\n const today = new Date();\n const threeYearsFromToday = new Date();\n threeYearsFromToday.setFullYear(today.getFullYear() + 3);\n\n const baseSchema = Yup\n .date()\n .nullable()\n // eslint-disable-next-line no-confusing-arrow\n .transform((curr, orig) => orig === '' ? null : curr)\n .min(subDays(new Date(), 1), 'Select today or later')\n .max(threeYearsFromToday, 'Start date cannot be more than 3 years from today');\n\n return required\n ? { [validationKey]: baseSchema.required('Start Date is required') }\n : { [validationKey]: baseSchema.optional() };\n};\n\nexport const useStartDateInput = (props: StartDateInputProps = {}) => {\n const propsMerged = { ...defaultPropsStartDateInput, ...props };\n\n const values = useFormField(StartDateInput,\n startDateInputSchema,\n propsMerged,\n 'StartDateInput',\n 'startDateInputSchema');\n\n return values as unknown as { StartDateInput: React.FC; startDateInputSchema: object };\n};\n","import React from 'react';\nimport * as Yup from 'yup';\nimport { Form } from '@lce/slice_v2';\nimport { TFunction } from 'i18next';\nimport { ThemeUIStyleObject } from 'theme-ui';\n\nimport { useFormField } from 'ui/hooks';\nimport { useMergeWithDefaults } from 'ui/components/utils';\n\nexport type FirstNameInputProps = {\n defaultValue?: string | undefined;\n id?: string;\n label?: string;\n name?: string;\n required?: boolean;\n sx?: ThemeUIStyleObject;\n testId?: string;\n variant?: string;\n}\n\nexport const dataTestIdFirstNameInput = 'first-name';\nexport const defaultFirstNameInputName = 'FirstName';\n\nexport const defaultPropsFirstNameInput: FirstNameInputProps = {\n defaultValue: '',\n id: defaultFirstNameInputName,\n label: 'First name',\n name: defaultFirstNameInputName,\n required: true,\n sx: { marginRight: [ 0, '12px' ] },\n testId: dataTestIdFirstNameInput,\n variant: 'forms.fundraiser.field',\n};\n\nexport const FirstNameInput = (props) => {\n const {\n defaultValue, id, label, name, sx, testId, variant, ...rest\n } = useMergeWithDefaults<\n FirstNameInputProps,\n FirstNameInputProps\n >(props, defaultPropsFirstNameInput, props.keysToOmit);\n\n return (\n \n );\n};\n\nexport const firstNameInputSchema = (t: TFunction,\n validationKey: string = defaultFirstNameInputName,\n required = true): { [x: string]: Yup.StringSchema } => {\n const baseSchema = Yup.string()\n .trim()\n .max(50, t('fundraiser.MaxLength50'));\n\n return required\n ? { [validationKey]: baseSchema.required(t('fundraiser.FirstNameRequired')) }\n : { [validationKey]: baseSchema };\n};\n\nexport const useFirstNameInput = (props: FirstNameInputProps = {}) => {\n const propsMerged = { ...defaultPropsFirstNameInput, ...props };\n\n const values = useFormField(FirstNameInput,\n firstNameInputSchema,\n propsMerged,\n 'FirstNameInput',\n 'firstNameInputSchema');\n\n return values as unknown as { FirstNameInput: React.FC; firstNameInputSchema: object };\n};\n","import React, { useMemo } from 'react';\nimport { ThemeUIStyleObject } from 'theme-ui';\nimport {\n Box, Form, Text,\n} from '@lce/slice_v2';\nimport * as Yup from 'yup';\n\ninterface IMoneyInput {\n boxSx?: ThemeUIStyleObject;\n id?: string;\n label?: string;\n fieldSx?: ThemeUIStyleObject;\n name: string;\n testId?: string;\n textSx?: ThemeUIStyleObject;\n variant?: string;\n defaultValue?: string;\n}\n\nexport const defaults = {\n testId: 'money-input',\n};\n\nexport const moneyInputValidation = t => ({\n profitGoal: Yup\n .number()\n .required()\n .positive()\n .integer(t('mealDeal.fundraiserCreationPage.form.profitGoal.validation.integer'))\n .typeError(t('mealDeal.fundraiserCreationPage.form.profitGoal.validation.typeError')),\n});\n\nexport const MoneyInput: React.FC = ({\n boxSx = {},\n id,\n label = '',\n fieldSx = {},\n name,\n testId = defaults.testId,\n textSx = {},\n variant = 'forms.fundraiser.field',\n defaultValue,\n}) => {\n const effectiveId = useMemo(() => id || name, [ id, name ]);\n\n return (\n
\n \n \n $\n \n \n \n
\n );\n};\n","import React, { useCallback, useRef } from 'react';\nimport { Button } from '@lce/slice_v2';\nimport { useFormContext } from 'react-hook-form';\nimport { noop } from 'lodash';\nimport { ThemeUIStyleObject } from 'theme-ui';\n\ninterface IClearButtonProps {\n text: string;\n setReset?: React.Dispatch>;\n sx?: ThemeUIStyleObject;\n}\n\nexport const ClearButton: React.FC = ({ setReset = noop, sx, text }) => {\n const { reset } = useFormContext();\n setReset(reset);\n\n return (\n reset() }\n sx={ {\n height: '46px',\n width: [ '100%', '100%', '48.5%' ],\n paddingLeft: [ 0, 0, '12px' ],\n marginRight: [ 0, 0, '1.5%' ],\n ...sx,\n } }\n type=\"button\"\n variant=\"secondary\"\n >\n {text}\n \n );\n};\n\nexport const useFormReset = () => {\n const resetRef = useRef();\n\n const setResetForm = useCallback((resetFn) => {\n if (!resetRef.current) {\n resetRef.current = resetFn;\n }\n }, []);\n\n return { resetForm: () => resetRef.current && resetRef.current(), setResetForm };\n};\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport * as Yup from 'yup';\nimport {\n Form, Flex, Text, Link,\n} from '@lce/slice_v2';\nimport { TFunction } from 'i18next';\nimport { ThemeUIStyleObject } from 'theme-ui';\n\nimport { useFormField } from 'ui/hooks';\nimport { useMergeWithDefaults } from 'ui/components/utils';\n\nexport type TermsAndConditionsInputProps = {\n defaultValue?: boolean;\n id?: string;\n name?: string;\n required?: boolean;\n sx?: ThemeUIStyleObject;\n testId?: string;\n variant?: string;\n}\n\nexport const dataTestIdTermsAndConditionsInput = 'terms-and-conditions';\nexport const defaultTermsAndConditionsInputName = 'TermsAndConditions';\n\nexport const defaultPropsTermsAndConditionsInput: TermsAndConditionsInputProps = {\n defaultValue: false,\n id: defaultTermsAndConditionsInputName,\n name: defaultTermsAndConditionsInputName,\n required: true,\n sx: { mt: '16px', svg: { color: 'black' }, width: 'fit-content' },\n testId: dataTestIdTermsAndConditionsInput,\n variant: 'forms.fundraiser.field',\n};\n\nexport const TermsAndConditionsInput: React.FC = (props) => {\n const {\n defaultValue, name, sx, testId, variant, ...rest\n } = useMergeWithDefaults<\n TermsAndConditionsInputProps,\n TermsAndConditionsInputProps\n >(props, defaultPropsTermsAndConditionsInput, [ 'label' ]);\n\n return (\n \n \n I have read and agree to LittleCaesars.com's\n {' '}\n \n Terms of Service\n \n ,\n {' '}\n \n Online Campaign Policy\n \n {' '}\n {' '}\n and consent to its\n {' '}\n {' '}\n \n Privacy Policy\n \n .\n \n ) }\n name={ name }\n sx={ sx }\n tabIndex={ 0 }\n variant={ variant }\n { ...rest }\n />\n \n );\n};\n\nexport const termsAndConditionsInputSchema = (t: TFunction,\n validationKey: string,\n required): { [x: string]: Yup.Schema } => {\n const baseSchema = Yup.boolean();\n\n return required\n ? {\n [validationKey]: baseSchema\n .required(t('fundraiser.AcceptTermsAndConditionsRequired'))\n .oneOf([ true ], t('fundraiser.AcceptTermsAndConditionsRequired')),\n }\n : { [validationKey]: baseSchema };\n};\n\nexport const useTermsAndConditionsInput = (props: TermsAndConditionsInputProps = {}) => {\n const propsMerged = { ...defaultPropsTermsAndConditionsInput, ...props };\n\n const values = useFormField(TermsAndConditionsInput,\n termsAndConditionsInputSchema,\n propsMerged,\n 'TermsAndConditionsInput',\n 'termsAndConditionsInputSchema');\n\n return values as unknown as\n { TermsAndConditionsInput: React.FC; termsAndConditionsInputSchema: object };\n};\n\n","import React from 'react';\nimport { Flex, Link, Image } from '@lce/slice_v2';\nimport _map from 'lodash/map';\nimport { ThemeUIStyleObject } from 'theme-ui';\n\nimport Instagram from 'assets/icons/instagram.svg';\nimport Facebook from 'assets/icons/facebook.svg';\nimport Pinterest from 'assets/icons/pinterest.svg';\nimport Youtube from 'assets/icons/youtube.svg';\nimport Twitter from 'assets/icons/twitterX.svg';\n\ninterface ISocialLink {\n icon: string;\n href: string;\n alt: string;\n}\n\nconst ourLinks: ISocialLink[] = [\n {\n icon: Facebook,\n href: 'https://www.facebook.com/LittleCaesarsFundraising',\n alt: 'facebook',\n },\n {\n icon: Twitter,\n href: 'https://twitter.com/LCFundraise',\n alt: 'twitter',\n },\n {\n icon: Instagram,\n href: 'https://www.instagram.com/littlecaesarsfundraising/',\n alt: 'instagram',\n },\n {\n icon: Pinterest,\n href: 'https://www.pinterest.com/littlecaesarsfundraising/_created/',\n alt: 'pinterest',\n },\n {\n icon: Youtube,\n href: 'https://www.youtube.com/littlecaesarsfundraising',\n alt: 'youtube',\n },\n];\n\nconst shareLinks: ISocialLink[] = [\n {\n icon: Facebook,\n href: 'https://www.facebook.com/',\n alt: 'facebook',\n },\n {\n icon: Pinterest,\n href: 'https://www.pinterest.com/',\n alt: 'pinterest',\n },\n {\n icon: Twitter,\n href: 'https://twitter.com/',\n alt: 'twitter',\n },\n {\n icon: Instagram,\n href: 'https://www.instagram.com/',\n alt: 'instagram',\n },\n];\n\ninterface ISocialLinks {\n isShareLink?: boolean;\n sx?: ThemeUIStyleObject;\n}\n\nexport const SocialLinks: React.FC = ({ isShareLink = true, sx }) => {\n const links = isShareLink ? shareLinks : ourLinks;\n return (\n \n {_map(links, (link, index) => (\n \n {\n \n ))}\n \n );\n};\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport { Link, ILinkProps } from '@lce/slice_v2';\nimport { ThemeUIStyleObject } from 'theme-ui';\nimport _map from 'lodash/map';\nimport _forEach from 'lodash/forEach';\n\nexport type TextToLink = {\n text: string;\n url: string;\n index?: number;\n}\n\nexport type InlineLinkParseAndReplaceProps = ILinkProps & {\n testId?: string;\n sx?: ThemeUIStyleObject;\n text: string;\n wordsToLink?: TextToLink[];\n}\n\ntype TextWithLinks = {\n text: string;\n url?: string;\n}\n\nexport const dataTestIdInlineLinkParseAndReplace = 'inline-link-parse-and-replace-component';\n\nexport const InlineLinkParseAndReplace: React.FC = ({\n testId = dataTestIdInlineLinkParseAndReplace,\n sx = { color: 'primaryOrange' },\n text,\n wordsToLink = [],\n ...props\n}) => {\n const phonePattern = /(1-|\\+1 )?(?:\\([2-9]{1}[0-9]{2}\\)\\s*|[2-9]{1}[0-9]{2}-)[0-9]{3}( )?-[0-9]{4}/g;\n const phoneNumbers = text.match(phonePattern);\n const hasPhoneNumbers = phoneNumbers && phoneNumbers.length > 0;\n const phoneNumbersToLink: TextToLink[] = _map(phoneNumbers, number => ({ text: number, url: `tel:${ number }` }));\n\n //TODO: Add support for if the same phone number appears multiple times in the text\n const phoneNumbersToLinkIndexes: number[] = [];\n _forEach(phoneNumbersToLink, (number) => {\n const escKeys = [ '(', ')', '+' ];\n let escapedText = number.text;\n _forEach(escKeys, key => escapedText = escapedText.replaceAll(key, `\\\\${ key }`));\n const startIndex = text.search(escapedText);\n const endIndex = startIndex + number.text.length;\n phoneNumbersToLinkIndexes.push(startIndex);\n phoneNumbersToLinkIndexes.push(endIndex);\n });\n\n const phoneNumberIndexes = hasPhoneNumbers ? phoneNumbersToLinkIndexes : [];\n\n const wordToLinkIndexes: number[] = [];\n _forEach(wordsToLink, (word) => {\n const findWord = new RegExp(`\\\\b${ word.text }\\\\b`, 'g');\n let startIndex = text.search(findWord);\n let endIndex = startIndex + word.text.length;\n const wordMatchesCount = text.match(findWord)?.length || 0;\n if (wordMatchesCount > 1 && !word.index && process.env.NODE_ENV !== 'production') {\n console.error(`The word \"${ word.text }\" appears multiple times in the text but no index was provided`);\n }\n if (word.index && word.index > 0 && wordMatchesCount >= word.index) {\n for (let i = 0;i < word.index;i++) {\n const slicedText = text.slice(endIndex);\n startIndex = endIndex + slicedText.search(findWord);\n endIndex = startIndex + word.text.length;\n }\n }\n wordToLinkIndexes.push(startIndex);\n wordToLinkIndexes.push(endIndex);\n });\n\n const indexes = [ 0, ...phoneNumberIndexes, ...wordToLinkIndexes, text.length ].sort((a, b) => a - b);\n\n const splitTextOnIndexes: string[] = [];\n for (let i = 0;i < indexes.length - 1;i++) {\n splitTextOnIndexes.push(text.slice(indexes[i], indexes[i + 1]));\n }\n\n const TextWithLinks: TextWithLinks[] = _map(splitTextOnIndexes, (splitText) => {\n const phoneNumberToLink = phoneNumbersToLink.find(number => number.text === splitText);\n const wordToLink = wordsToLink.find(word => word.text === splitText);\n if (phoneNumberToLink) {\n return {\n ...phoneNumberToLink,\n text: phoneNumberToLink.text.replace(/-/g, '‑'),\n };\n }\n if (wordToLink) {\n return wordToLink;\n }\n return {\n text: splitText,\n };\n });\n\n return (\n <>\n {_map(TextWithLinks, ({ text, url }, index) => {\n if (url) {\n return (\n \n {text}\n \n );\n } else {\n return (\n \n { text }\n \n );\n }\n })}\n \n );\n};\n","/* eslint-disable max-lines-per-function */\nimport {\n Box, Flex, Text, Image,\n} from '@lce/slice_v2';\nimport React from 'react';\n\nimport AccountIcon from 'assets/icons/LCF-Account-Icon.svg';\n\nconst AccountMenu: React.FC = ({ children }) => (\n <>\n \n \n \n My Account\n \n \n \n {children}\n \n \n);\n\nexport default AccountMenu;\n","import React from 'react';\nimport useClipboard from 'react-use-clipboard';\nimport { Flex, Image, Text } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport { toast } from 'react-toastify';\nimport { ThemeUIStyleObject } from 'theme-ui';\nimport Input from '@lce/slice_v2/Elements/Form/Input';\n\nimport copyPaste from '../../../assets/icons/copypaste.svg';\n\nimport { GenericToast } from 'ui/common/Toast/CustomToasts';\n\nexport interface ICopyShareProps {\n title?: string;\n copyText: string;\n sx?: ThemeUIStyleObject;\n onCopy?: () => void;\n idSuffix?: string;\n}\n\nconst CopyShare: React.FC = ({\n title, copyText, sx, onCopy, idSuffix,\n}) => {\n const [ t ] = useTranslation();\n const [ , setCopied ] = useClipboard(copyText);\n\n const onCopyClick = () => {\n setCopied();\n toast(, { position: 'top-center' });\n onCopy && onCopy();\n };\n\n return (\n \n {title && (\n \n {title}\n \n )}\n \n \n \n \n \n );\n};\n\nexport default CopyShare;\n","import React from 'react';\nimport useClipboard from 'react-use-clipboard';\nimport {\n Button, Flex, Image, Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport { toast } from 'react-toastify';\n\nimport copyPaste from '../../../assets/icons/copypaste.svg';\n\nimport { GenericToast } from 'ui/common/Toast/CustomToasts';\n\nexport interface ICopyShareDescriptionProps {\n copyText: string;\n onCopy?: () => void;\n}\n\nconst CopyShareDescription: React.FC = ({\n copyText, onCopy,\n}) => {\n const [ t ] = useTranslation();\n const [ , setCopied ] = useClipboard(copyText);\n\n const onCopyClick = () => {\n setCopied();\n toast(, { position: 'top-center' });\n onCopy && onCopy();\n };\n\n return (\n \n \n { copyText }\n \n \n Copy to Clipboard\n \n \n \n );\n};\n\nexport default CopyShareDescription;\n\n","import { useMutation } from 'react-query';\n\nimport { createSSUFundraiser } from '../../api';\nimport { SSUGroupParams, Fundraiser } from '../../types';\n\nimport { ApiError, ApiResponse } from 'features/common';\n\nexport const useCreateSSUFundraiser =\n() => useMutation, ApiError, SSUGroupParams>(createSSUFundraiser);\n","import React, { useState } from 'react';\nimport { Flex, Box, Image } from '@lce/slice_v2';\n\nimport ReturningUser from './ReturningUser';\nimport NewGuest from './NewGuest';\n\nimport PizzaPizza from 'assets/images/pizza-pizza-kit.svg';\nimport { LoginForm } from 'ui/account';\n\nexport interface ILoginProps {\n onGuestCallback?: () => void;\n}\n\nconst Login: React.FC = ({ onGuestCallback }) => {\n const [ showLogin, setShowLogin ] = useState(false);\n\n const onLoginCallback = () => {\n setShowLogin(true);\n };\n\n return (\n \n \n \"LC\n \n { showLogin ? (\n \n setShowLogin(false) } redirect={ false } />\n \n )\n : (\n \n \n \n \n \n \n \n \n )}\n \n );\n};\n\nexport default Login;\n","const ISSUER = process.env.REACT_APP_OKTA_CLIENT_ORGURL + '/oauth2/default';\nconst CLIENT_ID = process.env.REACT_APP_OKTA_CLIENT_ID;\nconst REDIRECT_URI = window.location.origin + '/authorization-code/callback';\nconst OKTA_TESTING_DISABLEHTTPSCHECK = process.env.OKTA_TESTING_DISABLEHTTPSCHECK || false;\n\nexport default {\n oidc: {\n clientId: CLIENT_ID,\n issuer: ISSUER,\n redirectUri: REDIRECT_URI,\n scopes: [ 'openid', 'profile', 'email' ],\n pkce: true,\n disableHttpsCheck: OKTA_TESTING_DISABLEHTTPSCHECK,\n },\n};\n","module.exports = __webpack_public_path__ + \"static/media/LCF-Account-Icon.3d479afc.svg\";","export default {\n body: 'Roboto',\n heading: 'Lato',\n lato: 'Lato',\n mrEaves: '\\'Mr Eaves\\', \\'Helvetica Neue\\', Helvetica, Arial, sans-serif',\n lcScript: '\\'LC Script\\'',\n};\n","module.exports = __webpack_public_path__ + \"static/media/caesar-kite.2dbb2306.svg\";","export * from './hooks';\nexport * from './types';\n","import { NewSalesAgent, SalesAgent } from './types';\n\nimport api from 'api';\n\nexport const addSalesAgent = async(formData: NewSalesAgent) => api.post('api/salesagent', formData);\n\nexport const verifySalesAgent = (code: string) => api.get(`api/salesagent?code=${ code }`).then(res => res);\n","module.exports = __webpack_public_path__ + \"static/media/copypaste.066238bf.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAlYAAAFvCAYAAACIOIXnAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAABjWSURBVHhe7d3/i1Tn+T/gycdAgluUmhIwkNAVBQORBiL0h/z7mx8KDQgRElhRiKg0RaklSgKRvHntnuln8njWnZ15zvfrgsWZ1VodN/O89r7vc5/3jo6Ofl8BALC3/9f8CADAngQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASgQrAIBKBCsAgEoEKwCASt47Ojr6vXkMvbty5crq6tWrJx8HBwer999/v/kZgPP99ttvq1evXq1ev369evLkyerXX39tfgaGIVgxiISow8PDk0AFUMvLly9Xx8fHAhaDEazo3fXr11c3btxongHU9+OPP64eP37cPIP+mLGiV59++qlQBXTus88+O3m/gb6pWNGbvMnlza6U0v1PP/108qPyPXARGSvIx8cff9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QiWAEAVCJYAQBUIlgBAFQiWAEAVCJYAQBUIlgBAFQiWAEAVCJYAQBUIlgBAFQiWAEAVCJYAQBUsVr9H/PibVLg8DMMAAAAAElFTkSuQmCC\"","module.exports = __webpack_public_path__ + \"static/media/fundraising-support-background.4eab4cfe.webp\";","module.exports = __webpack_public_path__ + \"static/media/pizza-pizza-kit.01374482.svg\";","import { OrderHistoryItem } from './types/OrderHistoryItem';\n\nimport api from 'api';\n\nexport const fetchOrderHistory = async() => api.get('api/order/history').then(res => res);\n\n// eslint-disable-next-line max-len\nexport const fetchSellerBuyerReport = async(fundraiserId: number, customerId: number) => api.download(`api/order/buyer-list-report/${ fundraiserId }/${ customerId }`).then(res => res);\n","module.exports = __webpack_public_path__ + \"static/media/GetWordOut.78322970.svg\";","import React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { Text, Box } from '@lce/slice_v2';\n\nimport { ChairpersonInfo } from 'features/fundraiser';\n\nexport interface IChairpersonDetailsSummaryProps {\n details: ChairpersonInfo | undefined;\n hasParentGroupId?: boolean;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst ChairpersonDetailsSummary: React.FC = ({ details, hasParentGroupId }) => {\n const [ t ] = useTranslation();\n\n return (\n \n \n {hasParentGroupId ? t('fundraiser.SimpleAboutChairperson') : t('fundraiser.PrimaryChairperson')}\n \n \n {details?.FirstName}\n {' '}\n {details?.LastName}\n \n \n {details?.PhoneNumber}\n \n \n {details?.EmailAddress}\n \n\n { details?.CoEmailAddress && (\n <>\n \n {t('fundraiser.CoChairperson')}\n \n \n { details?.CoFirstName}\n {' '}\n {details.CoLastName}\n \n \n { details?.CoEmailAddress}\n \n \n )}\n\n \n );\n};\n\nexport default ChairpersonDetailsSummary;\n","/* eslint-disable max-lines-per-function */\nimport {\n Box,\n Button, Flex, Form, Text,\n} from '@lce/slice_v2';\nimport React from 'react';\nimport * as Yup from 'yup';\nimport { useTranslation } from '@lce/i18n';\n\nimport { ChairpersonInfo } from 'features/fundraiser';\n\ninterface IRemoveChairpersonForm {\n chairperson?: ChairpersonInfo;\n onClose: () => void;\n onSubmit: (updateChairperson: ChairpersonInfo) => void;\n}\n\nconst RemoveChairpersonForm: React.FC = ({ chairperson, onClose, onSubmit }) => {\n const [ t ] = useTranslation();\n\n const validationSchema = Yup.object().shape({\n CoFirstName: Yup.string().required(t('fundraiser.FirstNameRequired')),\n CoLastName: Yup.string().required(t('fundraiser.LastNameRequired')),\n CoPhoneNumber: Yup.string()\n .matches(/^[0-9]*$/, t('fundraiser.PhoneNumberValid'))\n .min(10, t('fundraiser.PhoneNumberLength'))\n .max(10)\n .required(t('fundraiser.PhoneRequired')),\n CoEmailAddress: Yup.string()\n .email(t('fundraiser.EmailValid'))\n .required(t('fundraiser.EmailRequired')),\n CoConfirmEmailAddress: Yup.string()\n .required(t('fundraiser.EmailRequired'))\n .oneOf([ Yup.ref('CoEmailAddress') ], t('fundraiser.EmailMatch'))\n .email(t('fundraiser.EmailMatch')),\n });\n\n return (\n\n onSubmit(e) } summary={ false }\n validationSchema={ validationSchema }\n >\n \n \n {t('fundraiser.RemovePrimaryChairpersonHeader')}\n \n\n \n {t('fundraiser.RemovePrimaryChairpersonMessage')}\n \n \n\n \n New Primary Chairperson / Group Leader\n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n Cancel\n \n \n Update Primary Chairperson\n\n \n \n \n );\n};\n\nexport { RemoveChairpersonForm };\n","import { useMutation, useQueryClient } from 'react-query';\n\nimport { ChairpersonInfo } from '../types';\n\nimport { ApiError } from 'features/common';\nimport * as QueryKeys from 'constants/QueryKeys';\nimport api from 'api';\n\nexport type RemoveChairpersonRequest = {\n fundraiserId: number;\n chairperson: ChairpersonInfo;\n}\n\nexport const removePrimaryChairperson =\n // eslint-disable-next-line max-len\n async(request: RemoveChairpersonRequest) => api.put(`api/fundraiser/${ request.fundraiserId }/removechairperson`,\n request.chairperson).then(res => res);\n\nexport const useRemovePrimaryChairperson =\n (fundraiserId: number) => {\n const queryClient = useQueryClient();\n\n return useMutation(removePrimaryChairperson,\n {\n onSuccess: () => {\n queryClient.invalidateQueries(`${ QueryKeys.FundraiserFormData }-${ fundraiserId }`);\n },\n });\n };\n\n","import React from 'react';\nimport {\n Flex,\n IconButton,\n Modal as SliceModal,\n} from '@lce/slice_v2';\nimport { X } from 'react-feather';\nimport { toast } from 'react-toastify';\nimport { useTranslation } from '@lce/i18n';\n\nimport { RemoveChairpersonForm } from './RemoveChairpersonForm/RemoveChairpersonForm';\n\nimport { ChairpersonInfo } from 'features/fundraiser';\n// eslint-disable-next-line max-len\nimport { RemoveChairpersonRequest, useRemovePrimaryChairperson } from 'features/fundraiser/hooks/useRemovePrimaryChairperson';\nimport { GenericToast } from 'ui/common/Toast/CustomToasts';\n\nexport interface IRemoveChairpersonModal {\n chairperson?: ChairpersonInfo;\n onClose: () => void;\n fundraiserId: number;\n}\n\nconst RemoveChairpersonModal: React.FC = ({ onClose, chairperson, fundraiserId }) => {\n const { mutateAsync: removePrimaryChairperson } = useRemovePrimaryChairperson(fundraiserId);\n const [ t ] = useTranslation();\n\n const onSubmit = async(e: ChairpersonInfo) => {\n const request: RemoveChairpersonRequest = {\n fundraiserId: fundraiserId,\n chairperson: e,\n };\n const isChairpersonUpdated = await removePrimaryChairperson(request);\n\n if (isChairpersonUpdated) {\n onClose();\n toast(, { position: 'top-center' });\n } else {\n toast(, { position: 'top-center' });\n }\n };\n\n return (\n \n \n \n \n \n \n\n \n \n );\n};\n\nexport { RemoveChairpersonModal };\n\n","import React, { useEffect, useState } from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport * as Yup from 'yup';\nimport {\n Button, Box, Form, Flex, Text,\n} from '@lce/slice_v2';\n\nimport { ChairpersonDetailsSummary } from './ChairpersonDetailsSummary';\n\nimport { Mode, Step } from 'ui/common/Step';\nimport { ChairpersonInfo } from 'features/fundraiser';\nimport { UserInfo } from 'features/common/types/userInfo';\nimport { RemoveChairpersonModal } from 'ui/fundraiser/RemoveChairpersonModal';\nimport {\n PhoneInput, phoneInputSchema, phonePattern, FirstNameInput, firstNameInputSchema,\n} from 'ui/components/forms';\n\nexport interface IChairpersonDetailsProps {\n onEdit: () => void;\n isEdit?: boolean;\n showEdit?: boolean;\n onNext: (info: ChairpersonInfo) => void;\n onChairpersonRemove?: () => void;\n defaultChairperson: UserInfo | undefined;\n hasParentGroupId?: boolean;\n info?: ChairpersonInfo;\n fundraiserId?: number;\n mode: Mode;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst ChairpersonDetails: React.FC = ({\n onEdit, onNext, mode, defaultChairperson, hasParentGroupId, info,\n isEdit, fundraiserId, onChairpersonRemove, showEdit = true,\n}) => {\n const [ t ] = useTranslation();\n const [ showCoChairpersonForm, setShowCoChairpersonForm ] = useState(false);\n const [ chairpersonFormData, setChairpersonFormData ] = useState();\n const [ isRemoveChairperson, setIsRemoveChairperson ] = useState(false);\n\n const handleOnSubmit = (e) => {\n const info: ChairpersonInfo = {\n ...e,\n };\n\n setChairpersonFormData(info);\n onNext(info);\n };\n\n useEffect(() => {\n if (isEdit && info) {\n setChairpersonFormData(info);\n\n if (info.CoEmailAddress) {\n setShowCoChairpersonForm(true);\n }\n }\n }, [ info, isEdit ]);\n\n let validationSchema = Yup.object();\n if (isEdit) {\n validationSchema = validationSchema.shape({\n ...firstNameInputSchema(t),\n LastName: Yup.string()\n .required(t('fundraiser.LastNameRequired'))\n .max(50, t('fundraiser.MaxLength50')),\n ...phoneInputSchema(t),\n CoFirstName: Yup.string()\n .trim()\n .max(50, t('fundraiser.MaxLength50'))\n .when([ 'CoPhoneNumber', 'CoEmailAddress' ], {\n is: (CoPhoneNumber, CoEmailAddress) => CoPhoneNumber || CoEmailAddress,\n then: Yup.string().required(t('fundraiser.FirstNameRequired')),\n }),\n CoLastName: Yup.string()\n .trim()\n .max(50, t('fundraiser.MaxLength50'))\n .when([ 'CoPhoneNumber', 'CoEmailAddress', 'CoFirstName' ], {\n is: (CoPhoneNumber, CoEmailAddress, CoFirstName) => CoPhoneNumber || CoEmailAddress || CoFirstName,\n then: Yup.string().required(t('fundraiser.LastNameRequired')),\n }),\n SecondaryPhoneNumber: Yup.lazy((value) => {\n if (value === '') {\n return Yup.string().notRequired();\n } else {\n return Yup.string()\n .matches(phonePattern, t('fundraiser.PhoneNumberValid'))\n .max(17, t('fundraiser.PhoneNumberLength'));\n }\n }),\n CoPhoneNumber: Yup.string()\n .matches(phonePattern,\n { excludeEmptyString: true, message: t('fundraiser.PhoneNumberValid') })\n .max(17, t('fundraiser.PhoneNumberLength'))\n .notRequired()\n .nullable()\n .when([ 'CoFirstName', 'CoLastName', 'CoEmailAddress' ], {\n is: (CoFirstName, CoLastName, CoEmailAddress) => CoFirstName || CoLastName || CoEmailAddress,\n then: Yup.string().required(t('fundraiser.PhoneRequired')),\n }),\n CoSecondaryPhoneNumber: Yup.string()\n .matches(phonePattern,\n { excludeEmptyString: true, message: t('fundraiser.PhoneNumberValid') })\n .max(17, t('fundraiser.PhoneNumberLength'))\n .notRequired()\n .nullable(),\n CoEmailAddress: Yup.string()\n .max(255, t('fundraiser.MaxLength255'))\n .email(t('fundraiser.EmailValid'))\n .notOneOf([ info?.EmailAddress ], t('fundraiser.CoChairpersonEmailMatch'))\n .when('EmailAddress', {\n is: EmailAddress => !!EmailAddress,\n then: Yup.string().notOneOf([ Yup.ref('EmailAddress') ], t('fundraiser.CoChairpersonEmailMatch')),\n })\n .when([ 'CoFirstName', 'CoLastName', 'CoPhoneNumber' ], {\n is: (CoFirstName, CoLastName, CoPhoneNumber) => (CoFirstName || CoLastName || CoPhoneNumber) &&\n !info?.CoEmailAddress,\n then: Yup.string().required(t('fundraiser.EmailRequired')),\n }),\n CoConfirmEmailAddress: Yup.string()\n .email(t('fundraiser.EmailMatch'))\n .oneOf([ Yup.ref('CoEmailAddress') ], t('fundraiser.EmailMatch')),\n },\n [\n [ 'CoPhoneNumber', 'CoEmailAddress' ],\n [ 'CoFirstName', 'CoLastName' ],\n [ 'CoFirstName', 'CoEmailAddress' ],\n [ 'CoFirstName', 'CoPhoneNumber' ],\n [ 'CoLastName', 'CoEmailAddress' ],\n [ 'CoLastName', 'CoPhoneNumber' ],\n ]);\n } else {\n validationSchema = validationSchema.shape({\n ...firstNameInputSchema(t),\n LastName: Yup.string()\n .required(t('fundraiser.LastNameRequired'))\n .max(50, t('fundraiser.MaxLength50')),\n ...phoneInputSchema(t),\n SecondaryPhoneNumber: Yup.lazy((value) => {\n if (value === '') {\n return Yup.string().notRequired();\n } else {\n return Yup.string()\n .matches(phonePattern, t('fundraiser.PhoneNumberValid'))\n .min(10, t('fundraiser.PhoneNumberLength'))\n .max(17, t('fundraiser.PhoneNumberLength'));\n }\n }),\n CoFirstName: Yup.string()\n .trim()\n .max(50, t('fundraiser.MaxLength50'))\n .when([ 'CoPhoneNumber', 'CoEmailAddress' ], {\n is: (CoPhoneNumber, CoEmailAddress) => CoPhoneNumber || CoEmailAddress,\n then: Yup.string().required(t('fundraiser.FirstNameRequired')),\n }),\n CoLastName: Yup.string()\n .trim()\n .max(50, t('fundraiser.MaxLength50'))\n .when([ 'CoPhoneNumber', 'CoEmailAddress', 'CoFirstName' ], {\n is: (CoPhoneNumber, CoEmailAddress, CoFirstName) => CoPhoneNumber || CoEmailAddress || CoFirstName,\n then: Yup.string().required(t('fundraiser.LastNameRequired')),\n }),\n CoPhoneNumber: Yup.string()\n .max(17, t('fundraiser.PhoneNumberLength'))\n .matches(phonePattern,\n { excludeEmptyString: true, message: t('fundraiser.PhoneNumberValid') })\n .notRequired()\n .nullable()\n .when([ 'CoFirstName', 'CoLastName', 'CoEmailAddress' ], {\n is: (CoFirstName, CoLastName, CoEmailAddress) => CoFirstName || CoLastName || CoEmailAddress,\n then: Yup.string().required(t('fundraiser.PhoneRequired')),\n }),\n CoSecondaryPhoneNumber: Yup.string()\n .matches(phonePattern,\n { excludeEmptyString: true, message: t('fundraiser.PhoneNumberValid') })\n .max(17, t('fundraiser.PhoneNumberLength'))\n .notRequired()\n .nullable(),\n EmailAddress: Yup.string()\n .email(t('fundraiser.EmailValid'))\n .required(t('fundraiser.EmailRequired')),\n ConfirmEmailAddress: Yup.string()\n .email(t('fundraiser.EmailMatch'))\n .required(t('fundraiser.EmailRequired'))\n .oneOf([ Yup.ref('EmailAddress') ], t('fundraiser.EmailMatch')),\n CoEmailAddress: Yup.string()\n .max(255, t('fundraiser.MaxLength255'))\n .email(t('fundraiser.EmailValid'))\n .when('EmailAddress', {\n is: EmailAddress => !!EmailAddress,\n then: Yup.string().notOneOf([ Yup.ref('EmailAddress') ], t('fundraiser.CoChairpersonEmailMatch')),\n })\n .when([ 'CoFirstName', 'CoLastName', 'CoPhoneNumber' ], {\n is: (CoFirstName, CoLastName, CoPhoneNumber) => (CoFirstName || CoLastName || CoPhoneNumber) &&\n !info?.CoEmailAddress,\n then: Yup.string().required(t('fundraiser.EmailRequired')),\n }),\n CoConfirmEmailAddress: Yup.string()\n .email(t('fundraiser.EmailMatch'))\n .oneOf([ Yup.ref('CoEmailAddress') ], t('fundraiser.EmailMatch')),\n },\n [\n [ 'CoPhoneNumber', 'CoEmailAddress' ],\n [ 'CoFirstName', 'CoLastName' ],\n [ 'CoFirstName', 'CoEmailAddress' ],\n [ 'CoFirstName', 'CoPhoneNumber' ],\n [ 'CoLastName', 'CoEmailAddress' ],\n [ 'CoLastName', 'CoPhoneNumber' ],\n ]);\n }\n\n const onRemoveChairperson = () => {\n setIsRemoveChairperson(false);\n if (onChairpersonRemove !== undefined) {\n onChairpersonRemove();\n }\n };\n\n const stepTitle = hasParentGroupId ? t('fundraiser.SimpleChairpersonDetails') : t('fundraiser.ChairpersonDetails');\n\n return (\n <>\n { mode === 'active' && (\n setIsRemoveChairperson(true) }\n onEdit={ onEdit }\n showCustom={ isEdit }\n title={ stepTitle }\n >\n {isRemoveChairperson && fundraiserId && (\n \n )}\n \n \n \n {hasParentGroupId ? t('fundraiser.SimpleAboutChairperson') : t('fundraiser.AboutChairperson')}\n \n \n \n \n \n \n \n \n \n \n {isEdit\n ? (\n \n Email*\n \n { info?.EmailAddress || '' }\n \n \n )\n : (\n \n \n \n \n ) }\n\n { !showCoChairpersonForm && !hasParentGroupId && (\n setShowCoChairpersonForm(true) }\n sx={ { mt: '15px', mb: '30px' } }\n variant=\"secondary\"\n >\n Add Co-Chairperson\n \n\n )}\n { showCoChairpersonForm && (\n <>\n \n {t('fundraiser.AboutCoChairperson')}\n \n\n \n \n \n \n \n \n \n \n \n {info?.CoEmailAddress\n ? (\n \n \n Co-Chairperson Email\n \n \n {info.CoEmailAddress}\n \n \n )\n : (\n <>\n \n \n \n )}\n \n \n )}\n \n \n \n \n \n )}\n { mode === 'preview' && (\n \n \n \n \n \n )}\n { mode === 'hidden' && (\n \n )}\n \n );\n};\n\nexport default ChairpersonDetails;\n","import React from 'react';\nimport { ShoppingBag } from 'react-feather';\nimport { Flex, Box } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport _map from 'lodash/map';\n\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\nimport { useCartState } from 'features/cart/context/cartContext';\nimport { RouterLink } from 'ui/common/RouterLink';\nimport { GoogleEvents } from 'features/analytics';\n\nconst Cart = () => {\n const [ t ] = useTranslation();\n const { cart, subtotal, totalQuantity } = useCartState();\n const { fundraiserType } = useFundraiserState();\n\n const cartRoute = t('routes.cart', { context: fundraiserType });\n\n const gaViewCartOnClick = () => {\n GoogleEvents.viewCart({\n cartTotal: subtotal,\n products: _map(cart.items, item => ({\n name: item.ProductName,\n price: item.UnitPrice,\n id: item.ProductId.toString(),\n quantity: item.Quantity,\n })),\n });\n };\n\n return (\n \n \n \n \n { totalQuantity }\n \n \n \n );\n};\n\nexport default Cart;\n","import * as React from 'react';\nimport { Button, Text } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\ninterface IReturningUserProps {\n onLoginCallback: () => void;\n}\n\nconst ReturningUser: React.FC = ({ onLoginCallback }) => {\n const [ t ] = useTranslation();\n\n return (\n <>\n \n {t('checkout.ReturningUserTitle')}\n \n \n {t('checkout.ReturningUserMessage')}\n \n \n \n );\n};\n\nexport default ReturningUser;\n","import React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { Text, Button } from '@lce/slice_v2';\n\nexport interface INewGuestProps {\n onGuestCallback?: () => void;\n}\n\nconst NewGuest: React.FC = ({ onGuestCallback }) => {\n const [ t ] = useTranslation();\n\n return (\n <>\n \n {t('checkout.NewUserTitle')}\n \n \n {t('checkout.GuestCheckoutMessage')}\n \n \n \n );\n};\n\nexport default NewGuest;\n","import { useEffect, useLayoutEffect } from 'react';\n\nconst useIsomorphicLayoutEffect =\n typeof window !== 'undefined' ? useLayoutEffect : useEffect;\n\nexport default useIsomorphicLayoutEffect;\n","module.exports = __webpack_public_path__ + \"static/media/school-banner.009e7925.jpeg\";","module.exports = __webpack_public_path__ + \"static/media/get-started.ae900ee1.png\";","module.exports = __webpack_public_path__ + \"static/media/meal-deal.df4b0374.png\";","import { createContext, useContext } from 'react';\n\nimport { CheckoutResponse } from '../../types/response';\n\nimport { Address } from 'features/common';\nimport { CheckoutState, PaymentStatus, OrderStatus } from 'ui/checkout';\n\ntype Action =\n { type: 'SET_CHECKOUT'; checkout: CheckoutResponse } |\n { type: 'UNSET_CHECKOUT' } |\n { type: 'SET_SHIPPING_ADDRESS'; address: Address } |\n { type: 'SET_BILLING_ADDRESS'; address: Address } |\n { type: 'SET_LOADING' } |\n { type: 'UNSET_LOADING' } |\n { type: 'SET_ERROR_CODE'; errorCode: string } |\n { type: 'UNSET_ERROR_CODE'; errorCode: string } |\n { type: 'SET_ORDER_STATUS'; status: OrderStatus; orderId: number; orderGuid: string } |\n { type: 'SET_PAYMENT_STATUS'; status: PaymentStatus; paymentId?: string } |\n { type: 'SET_GIFT_MESSAGING'; giftMessageRecipient: string; giftMessage: string };\n\ntype Dispatch = (action: Action) => void;\n\nexport const CheckoutStateContext = createContext(undefined);\nexport const CheckoutDispatchContext = createContext(undefined);\n\nexport const useCheckoutState = () => {\n const context = useContext(CheckoutStateContext);\n if (context === undefined) {\n throw new Error('useCheckoutState must be used within CheckoutStateContext');\n }\n return context;\n};\n\nexport const useCheckoutDispatch = () => {\n const context = useContext(CheckoutDispatchContext);\n if (context === undefined) {\n throw new Error('useCheckoutDispatch must be used within CheckoutDispatchContext');\n }\n return context;\n};\n","export const checkoutReducer = (state, action) => {\n switch (action.type) {\n case 'SET_CHECKOUT':\n return { ...state, checkout: action.checkout };\n case 'UNSET_CHECKOUT':\n return { checkout: undefined };\n case 'SET_SHIPPING_ADDRESS':\n return { ...state, shippingAddress: action.address };\n case 'SET_BILLING_ADDRESS':\n return { ...state, billingAddress: action.address };\n case 'SET_LOADING':\n return { ...state, loading: true };\n case 'UNSET_LOADING':\n return { ...state, loading: false };\n case 'SET_ERROR_CODE':\n return { ...state, errorCode: action.errorCode };\n case 'UNSET_ERROR_CODE':\n return { ...state, errorCode: '' };\n case 'SET_ORDER_STATUS':\n return {\n ...state, orderStatus: action.status, orderId: action.orderId, orderGuid: action.orderGuid,\n };\n case 'SET_PAYMENT_STATUS':\n return { ...state, paymentStatus: action.status };\n case 'SET_GIFT_MESSAGING':\n return { ...state, giftMessageRecipient: action.giftMessageRecipient, giftMessage: action.giftMessage };\n default:\n return state;\n }\n};\n","import React, { useReducer } from 'react';\n\nimport { checkoutReducer } from './checkoutReducer';\nimport { CheckoutDispatchContext, CheckoutStateContext } from './checkoutContext';\n\ntype ICheckoutProviderProps = {\n children: React.ReactNode;\n}\n\nexport const CheckoutProvider = ({ children }: ICheckoutProviderProps) => {\n const [ checkout, dispatch ] = useReducer(checkoutReducer, {});\n\n return (\n \n \n {children}\n \n \n );\n};\n","import { createContext, useContext } from 'react';\n\nimport { CardInfo, PaymentState } from 'ui/checkout';\n\ntype Action =\n { type: 'SET_TOKEN'; code: string; token: string } |\n { type: 'SET_ERROR_CODE'; code: string; token: string; popup: boolean } |\n { type: 'UNSET_ERROR_CODE'; code: string; token: string; popup: boolean } |\n { type: 'SET_PAYMENT_STEP' } |\n { type: 'UNSET_PAYMENT_STEP'} |\n { type: 'SET_REVIEW_STEP' } |\n { type: 'UNSET_REVIEW_STEP'} |\n { type: 'SET_POPUP' } |\n { type: 'UNSET_POPUP'} |\n { type: 'SET_INLINE_ERROR' } |\n { type: 'UNSET_INLINE_ERROR'} |\n { type: 'SET_CARD'; card: CardInfo } |\n { type: 'UNSET_CARD'; card: CardInfo }\n\ntype Dispatch = (action: Action) => void;\n\nexport const PaymentStateContext = createContext(undefined);\nexport const PaymentDispatchContext = createContext(undefined);\n\nexport const usePaymentState = () => {\n const context = useContext(PaymentStateContext);\n if (context === undefined) {\n throw new Error('usePaymentState must be used within PaymentStateContext');\n }\n return context;\n};\n\nexport const usePaymentDispatch = () => {\n const context = useContext(PaymentDispatchContext);\n if (context === undefined) {\n throw new Error('usePaymentDispatch must be used within PaymentDispatchContext');\n }\n return context;\n};\n","// eslint-disable-next-line max-lines-per-function\nexport const paymentReducer = (state, action) => {\n switch (action.type) {\n case 'SET_TOKEN':\n return {\n ...state,\n code: action.code,\n token: action.token,\n popup: false,\n };\n\n case 'SET_ERROR_CODE':\n return {\n ...state,\n code: action.code,\n token: action.token,\n popup: action.popup,\n };\n case 'UNSET_ERROR_CODE':\n return {\n ...state,\n code: action.code,\n token: action.token,\n popup: action.popup,\n };\n case 'SET_PAYMENT_STEP':\n return {\n ...state,\n showPaymentStep: true,\n };\n case 'UNSET_PAYMENT_STEP':\n return {\n ...state,\n showPaymentStep: false,\n };\n case 'SET_REVIEW_STEP':\n return {\n ...state,\n showReviewStep: true,\n };\n case 'UNSET_REVIEW_STEP':\n return {\n ...state,\n showReviewStep: false,\n };\n case 'SET_POPUP':\n return {\n ...state,\n popup: true,\n };\n case 'UNSET_POPUP':\n return {\n ...state,\n popup: false,\n };\n case 'SET_INLINE_ERROR':\n return {\n ...state,\n inlineError: true,\n };\n case 'UNSET_INLINE_ERROR':\n return {\n ...state,\n inlineError: false,\n };\n case 'SET_CARD':\n return {\n ...state,\n card: {\n cvvNum: action.card.cvvNum,\n expiryMonth: action.card.expiryMonth,\n expiryYear: action.card.expiryYear,\n },\n };\n case 'UNSET_CARD':\n return {\n ...state,\n card: {\n cvvNum: '',\n expiryMonth: '',\n expiryYear: '',\n },\n };\n default:\n return state;\n }\n};\n","import React, { useReducer } from 'react';\n\nimport { PaymentStateContext, PaymentDispatchContext } from './paymentContext';\nimport { paymentReducer } from './paymentReducer';\n\nimport { PaymentState } from 'ui/checkout';\n\ntype IPaymentProviderProps = {\n children: React.ReactNode;\n}\n\nexport const PaymentProvider = ({ children }: IPaymentProviderProps) => {\n const initialState: PaymentState = {\n card: {\n cvvNum: '',\n expiryMonth: '',\n expiryYear: '',\n }, code: '', inlineError: false, popup: false, showPaymentStep: false, showReviewStep: false, token: '',\n };\n\n const [ state, dispatch ] = useReducer(paymentReducer, initialState);\n\n return (\n \n \n { children }\n \n \n );\n};\n","import { CheckoutRequest } from './types/request';\nimport { PlaceOrderRequest, OrderPaymentMethodRequest } from './types/request/checkout';\nimport { CheckoutInfo } from './types/interface';\n\nimport api from 'api';\nimport { Address } from 'features/common';\nimport { CartItem } from 'features/cart';\n\nexport const fetchUserAddress = async() => api.get
('api/buyer/address')\n .then(res => res);\n\nexport const startCheckout = async(request: CheckoutRequest) => api.post('api/checkout', request)\n .then(res => res);\n\nexport const validateAddress = async(request: Address) => api.post('api/reference/address-validation', request)\n .then(res => res);\n\n// eslint-disable-next-line max-len\nexport const setOrderPaymentMethod = async(request: OrderPaymentMethodRequest) => api.post('api/checkout/paymentstatus', request)\n .then(res => res);\n\nexport const placeOrder = async(request: PlaceOrderRequest) => api.post('api/checkout/placeorder', request)\n .then(res => res);\n\nexport const fetchOrderByGuid = async(order: string) => api.get(`api/order/${ order }`)\n .then(res => res);\n\nexport const fetchShippingCost = async(cartItems: CartItem[]) => api.post('api/cart/shippingcost', cartItems)\n .then(res => res);\n","import { useQuery } from 'react-query';\nimport map from 'lodash/map';\n\nimport { fetchShippingCost } from '../api';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\nimport { CartItem } from 'features/cart';\n\nexport const useShipping = (cartItems: CartItem[]) => {\n const key = map(cartItems, (cart: CartItem) => `${ cart.Sku }:${ cart.Quantity }`);\n return useQuery(`${ QueryKeys.shippingCost }-${ key }`,\n () => fetchShippingCost(cartItems), {\n retry: false,\n });\n};\n","import { useMutation } from 'react-query';\n\nimport { validateAddress } from '../api';\nimport { ValidateAddressResponse } from '../types/response/checkout';\n\nimport { Address, ApiError } from 'features/common';\n\nexport const useAddressValidation = () => useMutation(validateAddress);\n","/* eslint-disable no-extra-parens */\nimport { useMutation } from 'react-query';\n\nimport { CheckoutResponse } from '../types/response';\nimport { CheckoutRequest } from '../types/request';\nimport { startCheckout } from '../api';\n\nimport { ApiError } from 'features/common';\n\nconst useCheckoutRequest = () => (\n useMutation(request => startCheckout(request))\n);\n\nexport { useCheckoutRequest };\n","import { useMutation } from 'react-query';\n\nimport { PlaceOrderRequest } from '../types/request';\nimport { placeOrder } from '../api';\nimport { PlaceOrderResponse } from '../types/response/checkout';\n\nimport { ApiError } from 'features/common';\n\nconst usePlaceOrder = () => useMutation(placeOrder,\n {\n onError: err => console.log(err),\n });\n\nexport { usePlaceOrder };\n","import { useQuery } from 'react-query';\n\nimport { fetchOrderByGuid } from '../api';\n\nimport * as QueryKeys from 'constants/QueryKeys';\nimport { ApiError } from 'features/common';\nimport { Seller } from 'features/fundraiser';\n\nexport const useFetchOrderSeller =\n (order: string) => useQuery(QueryKeys.OrderPrefix + order, () => fetchOrderByGuid(order),\n {\n retry: false,\n refetchOnReconnect: false,\n refetchOnWindowFocus: false,\n enabled: !!order,\n });\n","import React, { useRef, useState } from 'react';\nimport { Box, Text } from '@lce/slice_v2';\n\nimport { TooltipPopover } from 'ui/fundraiser/Popovers';\nimport { PopupBorder } from 'ui/fundraiser/DashboardStep/StepPopupContent';\nimport { useMediaQuery } from 'features/common';\n\nexport interface IRelationshipIndicator {\n label: string;\n}\n\nexport enum FundraiserRelationship {\n BR = 'Brochure',\n CP = 'Chairperson',\n DG = 'Digital',\n ISC = 'Independent Sales Consultant',\n MD = 'Meal Deal',\n S = 'Seller',\n SS = 'Simple Sign Up',\n}\n\nexport enum FundraiserRelationshipColor {\n BR = 'secondaryGreenDark',\n CP = 'black',\n DG = 'secondaryPurple',\n ISC = 'black',\n MD = 'primaryOrange',\n S = 'black',\n SS = 'secondaryBlue',\n}\n\nconst RelationshipIndicator: React.FC = ({ label }) => {\n const [ visible, setVisible ] = useState(false);\n const popoverRef = useRef(null);\n const isMobile = useMediaQuery('(max-width: 600px)');\n\n return (\n {\n e.preventDefault();\n if (isMobile) {\n setVisible(!visible);\n }\n } }\n onMouseEnter={ () => !isMobile && setVisible(true) }\n onMouseLeave={ () => !isMobile && setVisible(false) }\n ref={ popoverRef }\n sx={ {\n backgroundColor: FundraiserRelationshipColor[label],\n width: '40px',\n height: '24px',\n borderRadius: '15px',\n mt: '16px',\n textAlign: 'center',\n cursor: 'pointer',\n mr: '5px',\n } }\n >\n \n {label}\n \n \n \n \n { FundraiserRelationship[label] }\n \n \n \n \n );\n};\n\nexport default RelationshipIndicator;\n","import React from 'react';\nimport * as Yup from 'yup';\nimport { useTranslation } from '@lce/i18n';\nimport {\n Button, Box, Flex, Form, Text, Spinner,\n} from '@lce/slice_v2';\n\nimport { useTermsAndConditionsInput } from 'ui/components/forms';\nimport { Mode, Step } from 'ui/common/Step';\nimport { FundraiserExtraInfo } from 'features/fundraiser/types/fundraiser';\nimport HowDidYouHearAboutUsOptions from 'ui/common/HowDidYouHearAboutUsOptions';\n\nexport interface IAdditionalDetailsProps {\n isLoading: boolean;\n mode: Mode;\n onNext: (formData: FundraiserExtraInfo) => void;\n showHowDidYouHearAboutUs: boolean;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst AdditionalDetails: React.FC = ({\n onNext, isLoading, mode, showHowDidYouHearAboutUs,\n}) => {\n const [ t ] = useTranslation();\n const { TermsAndConditionsInput, termsAndConditionsInputSchema } = useTermsAndConditionsInput();\n\n const handleOnSubmit = (e) => {\n const data: FundraiserExtraInfo = {\n ...e,\n };\n\n onNext(data);\n };\n const validationSchema = Yup.object().shape({\n Referral: Yup.string(),\n ...termsAndConditionsInputSchema,\n });\n\n return (\n <>\n { mode === 'active' && (\n \n \n \n \n {showHowDidYouHearAboutUs && (\n <>\n \n {t('fundraiser.Referral')}\n \n \n \n \n \n )}\n \n {t('fundraiser.TermsAndConditions')}\n \n \n \n { isLoading ? (\n \n ) : t('fundraiser.CreateFundraiser') }\n \n \n \n \n \n )}\n\n { mode === 'hidden' && (\n \n )}\n \n );\n};\n\nexport default AdditionalDetails;\n","import React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { Text, Box } from '@lce/slice_v2';\nimport numeral from 'numeral';\nimport { format } from 'date-fns';\n\nimport { FundraiserInfo } from 'features/fundraiser';\n\nexport interface ISimpleSignupSummaryProps {\n details: FundraiserInfo | undefined;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst SimpleSignupSummary: React.FC = ({ details }) => {\n const [ t ] = useTranslation();\n if (details?.StartDate.toString().length === 10) {\n details.StartDate = new Date(`${ details?.StartDate }T00:00:00`);\n }\n if (details?.EndDate.toString().length === 10) {\n details.EndDate = new Date(`${ details?.EndDate }T00:00:00`);\n }\n return (\n \n \n {t('fundraiser.Information')}\n \n \n {details?.OrgName}\n \n \n Start Date:\n {' '}\n { format(new Date(details?.StartDate || 0), 'MM/dd/yyyy')}\n {' '}\n \n \n End Date:\n {' '}\n { format(new Date(details?.EndDate || 0), 'MM/dd/yyyy')}\n {' '}\n \n \n {t('fundraiser.Goal')}\n \n \n Fundraiser Profit Goal:\n {' '}\n {' '}\n {numeral(details?.DollarGoal).format(t('currency.format'))}\n \n \n );\n};\n\nexport default SimpleSignupSummary;\n","/* eslint-disable max-len */\n/* eslint-disable complexity */\nimport React, { useState, useEffect } from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport {\n Button, Box, Form, Flex, Text, Option,\n} from '@lce/slice_v2';\nimport * as Yup from 'yup';\nimport { subDays, format as dateformat } from 'date-fns';\n\nimport { SimpleSignupSummary } from './SimpleSignupSummary';\n\nimport { Step, Mode } from 'ui/common/Step';\nimport {\n FundraiserInfo, FundraiserType, Group,\n} from 'features/fundraiser';\nimport { useFetchStates, useLocalStorage } from 'features/common/hooks';\nimport { useFetchGroup } from 'features/fundraiser/hooks/useFetchGroup';\n\nexport interface ISimpleSignupFormProps {\n info: FundraiserInfo | undefined;\n mode: Mode;\n onEdit: () => void;\n onNext: (info: FundraiserInfo) => void;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst SimpleSignupForm: React.FC = ({\n info, mode, onEdit, onNext,\n}) => {\n const [ t ] = useTranslation();\n const [ startDate, setStartDate ] = useState(info?.StartDate ? dateformat(new Date(info.StartDate), 'yyyy-MM-dd') : dateformat(new Date(), 'yyyy-MM-dd'));\n\n const [ endDate, setEndDate ] = useState(info?.EndDate ? dateformat(new Date(info.EndDate), 'yyyy-MM-dd') : '');\n const selectedGroupId = info?.GroupId.toString() || '0';\n const [ fundraiserInfo, setFundraiserInfo ] = useState(info);\n const [ existingGroup, setExistingGroup ] = useState();\n const [ stateIso, setStateIso ] = useState(info?.GroupState);\n\n const { data: states } = useFetchStates(1);\n\n const { data: groupDetail } = useFetchGroup(selectedGroupId);\n const [ parentId ] = useLocalStorage('parentId');\n\n useEffect(() => {\n if (selectedGroupId === '0') {\n setExistingGroup(undefined);\n } else if (groupDetail) {\n setExistingGroup(groupDetail);\n }\n\n setStateIso(groupDetail?.GroupAddress?.StateProvinceIso);\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ groupDetail, selectedGroupId ]);\n\n useEffect(() => {\n const date = new Date(startDate);\n\n if (date.getFullYear() >= 2020 && date.getFullYear() < 2100) {\n setStartDate(dateformat(new Date(`${ startDate }T00:00:00`), 'yyyy-MM-dd'));\n date.setDate(date.getDate() + 30);\n setEndDate(date.toISOString().slice(0, 10));\n }\n }, [ startDate ]);\n\n let validationSchema = Yup.object();\n const today = new Date();\n const threeYearsFromToday = new Date();\n threeYearsFromToday.setFullYear(today.getFullYear() + 3);\n validationSchema = validationSchema.shape({\n GroupId: Yup.number(),\n OrgName: Yup.string()\n .required('Name is required')\n .matches(/^[a-zA-Z0-9\\s']+$/, 'Your name can only contain letters, numbers, and apostrophe’s')\n .max(255, 'Name is too long'),\n GroupAddress1: Yup.string().required('Address is required'),\n GroupCity: Yup.string().required('City is required'),\n GroupState: Yup.string().required('State is required'),\n GroupZip: Yup.string().required('Zip is required'),\n StartDate: Yup.date()\n .required('Start Date is required')\n .min(subDays(new Date(), 1), 'Select today or later')\n .max(threeYearsFromToday, 'Start date cannot be more than 3 years from today')\n .typeError('Start Date is required'),\n DollarGoal: Yup.number()\n .required('Dollar Goal is required')\n .nullable()\n .min(0.01, 'Dollar Goal must be greater than 0')\n .max(99999999999999.9999, 'Number too large')\n .typeError('Dollar Goal must be a number'),\n VerifyAccurateInfo: Yup.boolean()\n .required('Acknowledgement is required')\n .oneOf([ true ], 'Acknowledgement is required'),\n });\n\n const handleStartDateChange = (e: React.ChangeEvent) => {\n const startDate = new Date(e.target.value);\n\n if (startDate.getFullYear() >= 2020 && startDate.getFullYear() < 2100) {\n setStartDate(dateformat(new Date(`${ e.target.value }T00:00:00`), 'yyyy-MM-dd'));\n startDate.setDate(startDate.getDate() + 30);\n setEndDate(startDate.toISOString().slice(0, 10));\n }\n };\n\n const handleOnSubmit = (e) => {\n const info: FundraiserInfo = {\n ...e,\n DollarGoal: e.DollarGoal,\n GroupAddressId: existingGroup?.GroupAddress?.Id || 0,\n GroupId: existingGroup?.Id || 0,\n ParentId: parentId,\n StartDate: startDate,\n EndDate: endDate,\n FundraiserType: FundraiserType.SimpleSignUp,\n };\n setFundraiserInfo(info);\n onNext(info);\n };\n\n return (\n <>\n { mode === 'active' && (\n \n \n \n \n \n \n \n \n \n\n \n \n \n\n \n {t('fundraiser.SimpleGroupMailingAddress')}\n \n \n {t('fundraiser.SimpleMailingAddressHint')}\n \n \n \n \n \n \n \n \n \n {states && states.map(state => (\n \n ))}\n \n \n \n \n \n \n\n \n\n \n \n \n \n )}\n\n { mode === 'preview' && (\n \n \n \n \n \n )}\n \n );\n};\n\nexport default SimpleSignupForm;\n","import React, {\n useCallback, useEffect, useMemo, useState,\n} from 'react';\nimport {\n Box, Heading,\n} from '@lce/slice_v2';\nimport { useHistory } from 'react-router-dom';\nimport { useTranslation } from '@lce/i18n';\nimport { useOktaAuth } from '@okta/okta-react';\n\nimport FundraiserDetails from './FundraiserDetails/FundraiserDetails';\nimport ChairpersonDetails from './ChairpersonDetails/ChairpersonDetails';\nimport AdditionalDetails from './AdditionalDetails/AdditionalDetails';\nimport { SimpleSignupForm } from './SimpleSignupForm';\n\nimport { useCreateSSUFundraiser } from 'features/fundraiser/hooks/use-create-ssu-fundraiser';\nimport { useCreateFundraiser } from 'features/fundraiser/hooks/useCreateFundraiser';\nimport { FundraiserInfo, ChairpersonInfo, Fundraiser } from 'features/fundraiser';\nimport { FundraiserExtraInfo } from 'features/fundraiser/types/fundraiser';\nimport { SSUGroupParams } from 'features/fundraiser/types/group';\nimport { useLocalStorage, useUserInfo } from 'features/common';\nimport * as FundraiserDefaults from 'constants/FundraiserDefaults';\n\nexport interface INewFundraiserFormProps {\n onSuccess?: () => void;\n hasParentGroupId?: boolean;\n initialFundraiserDetails?: boolean;\n initialChairpersonDetails?: boolean;\n initialFundraiserDetailFormData?: FundraiserInfo;\n initialChairpersonFormData?: ChairpersonInfo;\n initialMiscFormData?: FundraiserExtraInfo;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst NewFundraiserForm: React.FC = ({\n hasParentGroupId, onSuccess,\n initialFundraiserDetails = false,\n initialChairpersonDetails = false,\n initialFundraiserDetailFormData = undefined,\n initialChairpersonFormData = undefined,\n initialMiscFormData = undefined,\n}) => {\n const [ t ] = useTranslation();\n const history = useHistory();\n const { authState } = useOktaAuth();\n const [ fundraiserDetails, setFundraiserDetails ] = useState(initialFundraiserDetails);\n const [ fundraiserDetailFormData, setFundraiserDetailFormData ] =\n useState(initialFundraiserDetailFormData);\n const [ chairpersonFormData, setChairpersonFormData ] =\n useState(initialChairpersonFormData);\n const [ miscFormData, setMiscFormData ] = useState(initialMiscFormData);\n const [ chairpersonDetails, setChairpersonDetails ] = useState(initialChairpersonDetails);\n const [ isSSU ] = useState (Boolean(hasParentGroupId));\n\n const [ , setParentId ] = useLocalStorage('parentId');\n const { mutateAsync: createFundraiser, isLoading: isCreatingFundraiser } = useCreateFundraiser();\n const { mutateAsync: createSSUGroup, isLoading: isCreatingSSUFundraiser } = useCreateSSUFundraiser();\n const { data: userInfo } = useUserInfo(authState.isAuthenticated);\n const [ franchiseeId, setFranchiseeId ] = useLocalStorage('franchiseeId');\n const [ referralSource, setReferralSource ] = useLocalStorage('referralSource');\n const isFranchiseeReferral = Boolean(franchiseeId);\n const hasReferralSource = Boolean(referralSource);\n const showHowDidYouHearAboutUs = !hasParentGroupId && !isFranchiseeReferral && !hasReferralSource;\n\n const isPostingToServer = useMemo(() => isCreatingFundraiser || isCreatingSSUFundraiser,\n [ isCreatingFundraiser, isCreatingSSUFundraiser ]);\n\n const onFundraiserCreated = useCallback(() => {\n onSuccess && onSuccess();\n setParentId(undefined);\n setFranchiseeId(undefined);\n setReferralSource(undefined);\n history.push('/start-a-fundraiser/confirm');\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ onSuccess ]);\n\n // eslint-disable-next-line max-lines-per-function\n const createFundraiserHandler = async() => {\n const isLCEStore = isFranchiseeReferral || miscFormData?.Referral === t('HowDidYouHearAboutUsOptions.LCEStore');\n\n let referral = '';\n\n if (hasReferralSource) {\n referral = referralSource;\n } else if (isLCEStore) {\n referral = franchiseeId;\n } else {\n referral = miscFormData?.Referral || '';\n }\n\n if (fundraiserDetailFormData && chairpersonFormData) {\n if (isSSU) {\n const fundraiser: SSUGroupParams = {\n referral,\n profitCheckPayableTo: '',\n fundraiserInfo: {\n fundraiserType: fundraiserDetailFormData.FundraiserType,\n groupName: fundraiserDetailFormData.OrgName,\n startDate: fundraiserDetailFormData.StartDate,\n endDate: fundraiserDetailFormData.EndDate,\n dollarGoal: fundraiserDetailFormData.DollarGoal,\n groupAddressId: fundraiserDetailFormData.GroupAddressId,\n groupAddress1: fundraiserDetailFormData.GroupAddress1,\n groupAddress2: fundraiserDetailFormData.GroupAddress2,\n groupCity: fundraiserDetailFormData.GroupCity,\n groupState: fundraiserDetailFormData.GroupState,\n groupZip: fundraiserDetailFormData.GroupZip,\n parentId: fundraiserDetailFormData.ParentId || 0,\n },\n chairpersonInfo: chairpersonFormData,\n };\n\n await createSSUGroup(fundraiser).then(onFundraiserCreated);\n } else {\n const fundraiser: Fundraiser = {\n Id: 0,\n Info: fundraiserDetailFormData,\n Chairperson: chairpersonFormData,\n SalesAgentCode: fundraiserDetailFormData.SalesAgentCode || '',\n FederalTaxId: fundraiserDetailFormData.FederalTaxId || '',\n Referral: referral,\n ProfitCheckPayableTo: '',\n };\n\n await createFundraiser(fundraiser).then(onFundraiserCreated);\n }\n }\n };\n\n useEffect(() => {\n createFundraiserHandler();\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [ miscFormData ]);\n\n return (\n \n \n {t('fundraiser.StartAFundraiser')}\n \n\n {isSSU ? (\n setFundraiserDetails(false) }\n onNext={ (info: FundraiserInfo) => {\n setFundraiserDetailFormData(info);\n setFundraiserDetails(true);\n } }\n />\n )\n : (\n setFundraiserDetails(false) }\n onNext={ (info: FundraiserInfo) => {\n setFundraiserDetailFormData(info);\n setFundraiserDetails(true);\n } }\n />\n )}\n\n setChairpersonDetails(false) }\n onNext={ (info: ChairpersonInfo) => {\n setChairpersonFormData(info);\n setChairpersonDetails(true);\n } }\n />\n\n {\n setMiscFormData(info);\n } }\n showHowDidYouHearAboutUs={ showHowDidYouHearAboutUs }\n />\n \n );\n};\n\nexport default NewFundraiserForm;\n","import React from 'react';\n\nimport { Graphs, GraphsSkeleton } from 'ui/Graphs';\nimport { useFetchSellerDashboardStatistics } from 'features/fundraiser';\n\nexport interface IMiniStatsProps {\n sellerId: number;\n}\n\nconst MiniStats: React.FC = ({ sellerId }) => {\n const { data: sellerStats, isLoading: isSellerStatsLoading } = useFetchSellerDashboardStatistics(sellerId);\n return isSellerStatsLoading\n ? \n : ;\n};\n\nexport default MiniStats;\n","import React, { useEffect, useState } from 'react';\nimport { Box, Flex, Text } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport numeral from 'numeral';\n\nexport interface ISellerProgressProps {\n goal: number;\n actual: number;\n}\n\nconst SellerProgress: React.FC = ({ goal, actual }) => {\n const [ t ] = useTranslation();\n const [ percentCompleted, setPercentCompleted ] = useState(actual / goal * 100);\n\n useEffect(() => {\n if (actual >= goal) {\n setPercentCompleted(100);\n } else {\n setPercentCompleted(actual / goal * 100);\n }\n }, [ actual, goal ]);\n\n return (\n \n \n \n {t('dashboard.header.actualRaised', { actual: numeral(actual).format('0,0') })}\n \n \n {t('dashboard.header.goalRaised', { goal: numeral(goal).format('0,0') })}\n \n \n \n \n \n \n );\n};\n\nexport default SellerProgress;\n","import {\n Button,\n Flex, IconButton, Modal as SliceModal, Text,\n} from '@lce/slice_v2';\nimport React from 'react';\nimport { X } from 'react-feather';\nimport { toast } from 'react-toastify';\nimport { useTranslation } from '@lce/i18n';\n\nimport { useRemoveFundraiserSeller } from 'features/fundraiser';\nimport { GenericToast } from 'ui/common/Toast/CustomToasts';\n\nexport interface IRemoveSellerModal {\n onClose: () => void;\n fundraiserSellerId: number;\n fundraiserId: number;\n}\n\nconst RemoveSellerModal: React.FC = ({ onClose, fundraiserSellerId, fundraiserId }) => {\n const { mutateAsync: removeFundraiserSeller } = useRemoveFundraiserSeller(fundraiserId);\n const [ t ] = useTranslation();\n\n const onSubmit = async() => {\n const isRemoveFundraiserSeller = await removeFundraiserSeller(fundraiserSellerId);\n if (isRemoveFundraiserSeller) {\n toast(, { position: 'top-center' });\n } else {\n toast(, { position: 'top-center' });\n onClose();\n }\n };\n\n return (\n \n \n \n \n \n \n\n \n \n {' '}\n Are you sure you want to permanently remove this seller?\n \n \n\n \n \n\n \n \n \n );\n};\n\nexport { RemoveSellerModal };\n","/* eslint-disable max-len */\nimport {\n Image, Flex, Text, Progress, IconButton,\n} from '@lce/slice_v2';\nimport React, { useState } from 'react';\nimport Toggle from '@lce/slice_v2/Elements/Form/Input/Toggle';\nimport { Trash2 } from 'react-feather';\n\nimport Star from './star.png';\nimport { RemoveSellerModal } from './RemoveSellerModal';\n\nimport DefaultSellerAvatar from 'assets/images/default-seller-avatar.png';\nimport { RouterLink } from 'ui/common/RouterLink';\nimport { updateSellerActivity } from 'features/fundraiser/api';\nimport { useDeleteFundraiserSeller } from 'features/fundraiser/hooks/useDeleteFundraiserSeller';\nimport { useActivateFundraiserSeller } from 'features/fundraiser/hooks/useActivateFundraiserSeller';\nimport { Seller } from 'features/fundraiser/types/seller';\n\nexport interface ISellerStatusCard {\n fundraiserSeller: Seller;\n activateSeller: () => void;\n deactivateSeller: () => void;\n isChairperson: boolean;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst SellerStatusCard: React.FC = ({\n fundraiserSeller, activateSeller, deactivateSeller, isChairperson,\n}) => {\n const [ isRemoveSeller, setIsRemoveSeller ] = useState(false);\n\n const [ isActive, setIsActive ] = useState(fundraiserSeller.Active);\n const { mutateAsync: deactivateFundraiserSeller } = useDeleteFundraiserSeller();\n const { mutateAsync: activateFundraiserSeller } = useActivateFundraiserSeller();\n\n const onRemoveSeller = () => {\n setIsRemoveSeller(false);\n };\n\n const isActiveHandler = async() => {\n fundraiserSeller.Active = !fundraiserSeller.Active;\n const isSellerUpdated = await updateSellerActivity(fundraiserSeller.Id, fundraiserSeller.Active);\n if (isSellerUpdated) {\n setIsActive(fundraiserSeller.Active);\n if (fundraiserSeller.Active) {\n await activateFundraiserSeller(fundraiserSeller.Id);\n activateSeller();\n } else {\n await deactivateFundraiserSeller(fundraiserSeller.Id);\n deactivateSeller();\n }\n }\n };\n\n return (\n \n \n \n \n\n \n {fundraiserSeller.FirstName}\n\n {' '}\n\n {fundraiserSeller.LastInitial}\n \n \n \n\n \n \n Kit Goal:\n {' '}\n\n {fundraiserSeller.KitActual}\n /\n\n {fundraiserSeller.Goal}\n \n \n\n \n {fundraiserSeller.Goal > 0 && fundraiserSeller.KitActual >= fundraiserSeller.Goal\n ? ()\n : (
)}\n\n \n \n { !isChairperson ? (\n \n isActiveHandler() }\n />\n\n { !isActive ? (\n \n setIsRemoveSeller(true) }>\n \n \n\n {isRemoveSeller ? (\n \n ) : null}\n \n ) :
}\n \n ) : (
)}\n \n );\n};\n\nexport default SellerStatusCard;\n","import { useMutation } from 'react-query';\n\nimport { deleteFundraiserSeller } from '../api';\n\nimport { ApiError } from 'features/common';\n\n// eslint-disable-next-line max-len\nexport const useDeleteFundraiserSeller =\n () => useMutation(deleteFundraiserSeller);\n","import { useMutation } from 'react-query';\n\nimport { activateFundraiserSeller } from '../api';\n\nimport { ApiError } from 'features/common';\n\n// eslint-disable-next-line max-len\nexport const useActivateFundraiserSeller =\n () => useMutation(activateFundraiserSeller);\n","/* eslint-disable max-lines-per-function */\nimport React, { useState } from 'react';\nimport { Text } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { SellerStatusCard } from '../SellerStatusCard';\n\nimport { Seller } from 'features/fundraiser/types/seller';\n\nexport interface ISellerStatus {\n isChairperson: boolean;\n sellers: Seller[];\n userId: number | undefined;\n}\nconst SellerStatus: React.FC = ({ userId, isChairperson, sellers }) => {\n const [ activeCount, setActiveCount ] = useState(sellers.filter(x => x.Active).length);\n const [ inactiveCount, setInactiveCount ] = useState(sellers.filter(x => !x.Active).length);\n const [ t ] = useTranslation();\n\n const ActivateSeller = () => {\n setActiveCount(activeCount + 1);\n setInactiveCount(inactiveCount - 1);\n };\n\n const DeactivateSeller = () => {\n setActiveCount(activeCount - 1);\n setInactiveCount(inactiveCount + 1);\n };\n\n const IsSellerTheChairperson = (sellerCustomerId: number) => {\n const checkCurrentSeller = isChairperson && userId !== undefined && userId === sellerCustomerId;\n return checkCurrentSeller;\n };\n\n return (\n <>\n {sellers.filter(x => x.Active).length === 0 && (\n \n {t('dashboard.ManageSellersPage.NoActiveSellers')}\n \n )}\n {sellers.filter(x => x.Active).map(seller => (\n \n ))}\n {inactiveCount > 0 && (\n \n {t('dashboard.ManageSellersPage.InactiveSellers')}\n \n )}\n {sellers.filter(x => !x.Active).map(seller => (\n \n ))}\n \n );\n};\n\nexport default SellerStatus;\n","import {\n Flex, Image, Text,\n} from '@lce/slice_v2';\nimport React from 'react';\n\nimport Star from './star.png';\n\nimport DefaultSellerAvatar from 'assets/images/default-seller-avatar.png';\nimport { FundraiserSellerSummary } from 'features/fundraiser/types/fundraiser';\n\nexport interface ISellerSummaryListItemProps {\n data: FundraiserSellerSummary;\n}\n\nconst SellerSummaryListItem: React.FC = ({ data }) => (\n \n \n \n \n \n \n { data.SellerName }\n \n \n { data.KitActual > data.KitGoal &&\n \"LC}\n \n Kit Goal:\n {' '}\n { data.KitActual }\n /\n { data.KitGoal }\n \n \n \n \n Profit:\n $\n { data.Profit }\n \n \n \n \n);\n\nexport default SellerSummaryListItem;\n","import {\n Box,\n Flex, Modal as SliceModal, Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport React from 'react';\nimport { XSquare } from 'react-feather';\n\nexport interface IFundraiserOptionsModalProps {\n onClose: () => void;\n fundraiserId: number;\n fundraiserName: string;\n setIsCancelFundraiser: () => void;\n canCancel: boolean;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst FundraiserOptionsModal: React.FC = ({\n onClose,\n fundraiserId,\n setIsCancelFundraiser,\n canCancel,\n fundraiserName,\n}) => {\n const [ t ] = useTranslation();\n\n return (\n \n \n \n { fundraiserName }\n \n\n \n Fundraiser ID:\n {' '}\n {fundraiserId}\n \n \n { canCancel && (\n \n \n\n \n { t('fundraiser.CancelFundraiser')}\n \n \n )}\n \n );\n};\n\nexport default FundraiserOptionsModal;\n","import {\n Box,\n Button,\n Flex, Form, IconButton, Modal as SliceModal, Option, Text,\n} from '@lce/slice_v2';\nimport * as Yup from 'yup';\nimport React from 'react';\nimport { X } from 'react-feather';\nimport { toast } from 'react-toastify';\nimport { useTranslation } from '@lce/i18n';\n\nimport { GenericToast } from 'ui/common/Toast/CustomToasts';\nimport { CancelFundraiserRequest, useCancelFundraiser } from 'features/fundraiser';\n\nexport interface ICancelFundraiserModal {\n onClose: () => void;\n fundraiserId: number;\n fundraiserName: string;\n}\n\nconst renderCancellationReasons = () => (\n <>\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n\n \n \n);\n\n// eslint-disable-next-line max-lines-per-function\nconst CancelFundraiserModal: React.FC = ({ onClose, fundraiserId, fundraiserName }) => {\n const { mutateAsync: cancelFundraiser } = useCancelFundraiser();\n const [ t ] = useTranslation();\n\n const onSubmit = async(data) => {\n const request: CancelFundraiserRequest = {\n fundraiserId: data.FundraiserId,\n cancellationReason: data.CancellationReason === 'other' ? data.CancellationReasonOther : data.CancellationReason,\n };\n\n const isRemoveFundraiser = await cancelFundraiser(request);\n if (isRemoveFundraiser) {\n toast(, { position: 'top-center' });\n } else {\n toast(, { position: 'top-center' });\n }\n\n onClose();\n };\n\n const validationSchema = Yup.object().shape({\n CancellationReason: Yup.string().required('A cancellation reason is required'),\n CancellationReasonOther: Yup.string().when('CancellationReason', {\n is: 'other',\n then: Yup.string().required('Please provide a reason').max(255, 'Character limit is 255'),\n otherwise: Yup.string(),\n }),\n });\n\n return (\n \n \n \n \n \n \n\n onSubmit(data) }\n validationSchema={ validationSchema }\n >\n \n\n \n Cancel Fundraiser\n \n\n \n You are about to cancel a fundraiser:\n \n\n \n {fundraiserName}\n \n\n \n Fundraiser ID:\n {' '}\n\n {fundraiserId}\n \n\n \n \n {renderCancellationReasons()}\n \n\n \n \n \n\n \n \n \n \n Confirm\n \n \n \n \n \n );\n};\n\nexport default CancelFundraiserModal;\n","/* eslint-disable complexity */\n/* eslint-disable max-lines-per-function */\nimport React, { useState } from 'react';\nimport {\n Box, Flex, Text, Image,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport numeral from 'numeral';\nimport { format } from 'date-fns';\nimport _isNil from 'lodash/isNil';\n\nimport {\n FundraiserPopover as FundraiserPopoverForDesktop,\n NewFundraiserCPPopover, NewFundraiserSellerPopover,\n} from '../Popovers';\nimport { FundraiserOptionsModal as FundraiserOptionsModalForMobile } from '../FundraiserOptionsModal';\nimport { GearIcon } from '../Popovers/FundraiserPopover';\n\nimport { RelationshipIndicator } from './RelationshipIndicator';\n\nimport { CancelFundraiserModal } from 'ui/fundraiser/CancelFundraiserModal';\nimport {\n FundraiserListItem, FundraiserRelationship, FundraiserState,\n} from 'features/fundraiser/types/fundraiser';\nimport DefaultFundraiserImage from 'assets/images/default-fundraiser-image.png';\nimport { RouterLink } from 'ui/common/RouterLink';\nimport { UserInfo } from 'features/common/types/userInfo';\nimport { useFundraiserDispatch } from 'features/fundraiser/context/fundraiserContext';\nimport { FundraiserPopover } from 'features/popovers/types';\nimport { getFundraiserLinkPath } from 'features/fundraiser/utils';\n\nexport interface IFundraiserListItemProps {\n fundraiser: FundraiserListItem;\n user: UserInfo | undefined;\n fundraiserState: FundraiserState; // equivallent to fundraiser tab state (active, upcoming, completed, cancelled)\n isCancelFundraiserDefault?: boolean;\n isFundraiserOptionsDefault?: boolean;\n setPopovers: React.Dispatch>;\n popovers: FundraiserPopover[];\n}\n\nconst FundraiserListItemComponent: React.FC =\n ({\n fundraiser,\n user,\n fundraiserState,\n popovers,\n setPopovers,\n isCancelFundraiserDefault = false,\n isFundraiserOptionsDefault = false,\n }) => {\n const [ t ] = useTranslation();\n const fundraiserDispatch = useFundraiserDispatch();\n const chairPersonRole = fundraiser.Relationships.includes(FundraiserRelationship.CHAIRPERSON);\n const sellerRole = fundraiser.Relationships.includes(FundraiserRelationship.SELLER);\n const superAdminRole = fundraiser.Relationships.includes(FundraiserRelationship.SUPERADMIN);\n const salesAgentRole = fundraiser.Relationships.includes(FundraiserRelationship.SALESAGENT);\n const iscRole = fundraiser.Relationships.includes(FundraiserRelationship.ISC);\n const hasEndDate = !_isNil(fundraiser.EndDate);\n\n const canCancelFundraiser = salesAgentRole || superAdminRole;\n const canViewFundraiserType = iscRole || salesAgentRole || superAdminRole;\n\n const [ popoverReference, setPopoverReference ] = useState(null);\n const [ isCancelFundraiser, setIsCancelFundraiser ] = useState(isCancelFundraiserDefault);\n const [ isFundraiserOptions, setIsFundraiserOptions ] = useState(isFundraiserOptionsDefault);\n\n const handleCancelFundraiserModal = () => {\n setIsCancelFundraiser(!isCancelFundraiser);\n };\n\n const handleFundraiserOptionsModal = () => {\n setIsFundraiserOptions(!isFundraiserOptions);\n };\n\n const fundraiserLinkPath = getFundraiserLinkPath(fundraiser, user);\n\n return (\n \n {/* seller popover */}\n { sellerRole && fundraiserState === FundraiserState.ActiveUpcoming && (\n \n ) }\n {/* chairperson popover */}\n { chairPersonRole && fundraiserState === FundraiserState.ActiveUpcoming && (\n \n )}\n \n \n fundraiserDispatch({ type: 'SET_FUNDRAISER_ID', fundraiserId: fundraiser.Id }) }\n sx={ { flexDirection: [ 'column', 'row', 'row' ] } }\n >\n \n \n \n \n \n {fundraiser.Name}\n \n \n {`Fundraiser ID: ${ fundraiser.Id }`}\n \n \n \n Start Date:\n {' '}\n { format(new Date(fundraiser.StartDate), 'MM/dd/yyyy') }\n \n {hasEndDate && (\n \n End Date:\n {' '}\n { format(new Date(fundraiser.EndDate), 'MM/dd/yyyy') }\n \n )}\n \n Dollar Goal:\n {' '}\n {numeral(fundraiser.DollarGoal).format(t('currency.dollarGoal'))}\n \n \n \n { chairPersonRole &&\n }\n { sellerRole &&\n }\n { iscRole &&\n }\n {canViewFundraiserType &&\n }\n \n \n \n \n \n \n { canCancelFundraiser && (\n <>\n \n \n \n )}\n\n { isFundraiserOptions && (\n \n )}\n\n {isCancelFundraiser && (\n \n )}\n \n \n );\n };\n\nexport default FundraiserListItemComponent;\n","import React from 'react';\nimport {\n Flex, Skeleton,\n} from '@lce/slice_v2';\n\nconst FundraiserListItemSkeleton = () => (\n \n \n \n \n \n \n \n \n \n \n \n \n);\n\nexport default FundraiserListItemSkeleton;\n","import React from 'react';\nimport {\n Image, Text, Flex, Box,\n} from '@lce/slice_v2';\n\nimport BeachCaesar from 'assets/images/caesar-beach.svg';\nimport { InlineLinkParseAndReplace } from 'ui/components/links';\n\nexport interface IFundraiserStartCaesarProps {\n message: string;\n}\n\nconst FundraiserStartCaesar: React.FC = ({ message }) => (\n \n \n \"Little\n \n \n \n \n \n);\n\nexport default FundraiserStartCaesar;\n","import React from 'react';\nimport {\n Text, Box, IBoxProps, ITextProps,\n} from '@lce/slice_v2';\nimport { ThemeUIStyleObject } from 'theme-ui';\n\nexport interface IDateInput extends IBoxProps {\n canEditDates?: boolean;\n date?: string;\n name?: string;\n onChange: (e: React.ChangeEvent) => void;\n inputStyle?: React.CSSProperties;\n textProps?: ITextProps;\n sx?: ThemeUIStyleObject;\n}\n\nconst DateInput: React.FC = ({\n date,\n onChange,\n name,\n inputStyle,\n textProps,\n ...props\n}) => (\n \n {name && (\n \n { name }\n \n )}\n \n \n);\nexport default DateInput;\n","import React, { useEffect, useState } from 'react';\nimport {\n Error, Box, Form, Option, Text, Flex, IconButton,\n} from '@lce/slice_v2';\nimport { Search, XCircle } from 'react-feather';\n\nimport DateInput from 'ui/patterns/DateInput';\nimport { FundraiserSearchOptions } from 'features/fundraiser/types';\n\nexport interface IListOptions {\n onSortChange: (e: number) => void;\n onSearchChange: (e: string) => void;\n onDateChange: (selectedStartDate?: string, selectedEndDate?: string) => void;\n keyword: string;\n selectedOptions: FundraiserSearchOptions;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst FundraiserListOptions: React.FC = ({\n onSortChange,\n onSearchChange,\n onDateChange,\n keyword,\n selectedOptions,\n}) => {\n const [ dateError, setDateError ] = useState('');\n const handleDateChange = (e: React.ChangeEvent, isStartDate = false) => {\n const date = e.target.value;\n\n isStartDate ? onDateChange(date, undefined) : onDateChange(undefined, date);\n };\n\n useEffect(() => {\n const start = selectedOptions.selectedStartDate ? new Date(selectedOptions.selectedStartDate) : undefined;\n const end = selectedOptions.selectedEndDate ? new Date(selectedOptions.selectedEndDate) : undefined;\n if (start && end && start > end) {\n setDateError('Start date cannot be after end date');\n }\n }, [ selectedOptions.selectedStartDate, selectedOptions.selectedEndDate ]);\n\n return (\n \n \n onSearchChange(e.target.value) }\n placeholder=\"Search\"\n value={ keyword }\n variant=\"search\"\n />\n \n \n \n { keyword.length > 0 && (\n \n onSearchChange('') }>\n \n \n \n )}\n \n { selectedOptions.canSort\n ? (\n <>\n \n Sort by\n onSortChange(Number(e.target.value)) }\n sx={ {\n fontFamily: 'Lato',\n fontWeight: '700',\n fontSize: '16px',\n } }\n >\n \n \n \n \n \n \n \n ) => handleDateChange(e, true) }\n />\n ) => handleDateChange(e) }\n sx={ { ml: '20px' } }\n />\n \n {dateError && (\n \n { dateError }\n \n )}\n \n \n )\n : null }\n \n );\n};\n\nexport default FundraiserListOptions;\n","/* eslint-disable max-len */\nimport React, { useMemo, useState } from 'react';\nimport { Box, Text } from '@lce/slice_v2';\n\nimport { FundraiserListItem, FundraiserListItemSkeleton } from '../FundraiserListItem';\n\nimport { TabbedCard, TabbedCardConfig, Paginate } from 'ui/common';\nimport { UserInfo } from 'features/common/types/userInfo';\nimport * as FundraiserDefaults from 'constants/FundraiserDefaults';\nimport { PagedList } from 'features/common';\nimport { FundraiserListItem as ListItem } from 'features/fundraiser';\nimport { FundraiserState } from 'features/fundraiser/types/fundraiser';\nimport { FundraiserPopover } from 'features/popovers/types';\n\nexport interface IFundraiserListTabsProps {\n user: UserInfo | undefined;\n pageSize: number;\n currentPage: number;\n onPageSelectHandler: (page: number) => void;\n onPageSizeSelectHandler: (size: number) => void;\n onTabSelect: (tab: FundraiserState) => void;\n fundraisers: PagedList | undefined;\n loading: boolean;\n setPopovers: React.Dispatch>;\n popovers: FundraiserPopover[];\n}\n\nexport interface ITabList extends IFundraiserListTabsProps {\n selectedTab: FundraiserState;\n currentTab: FundraiserState;\n}\n\nconst TabList: React.FC = ({\n user, fundraisers, loading, ...props\n}) => {\n if (props.selectedTab !== props.currentTab) {\n return (\n \n );\n }\n\n return (\n \n { fundraisers && user && !loading ? (\n <>\n {fundraisers?.Items.map(x => (\n \n ))}\n { fundraisers?.TotalCount > 5 && (\n \n ) }\n \n )\n : (\n <>\n \n \n \n \n )}\n\n { fundraisers?.TotalCount === 0 && !loading && (\n \n No Fundraisers found\n \n )}\n\n \n\n );\n};\n\n// eslint-disable-next-line max-lines-per-function\nconst FundraiserListTabs: React.FC = (props) => {\n let defaultTab = FundraiserState.ActiveUpcoming;\n if (props.user?.Roles.includes(FundraiserDefaults.SuperAdminRoleName) || props.user?.Roles.includes(FundraiserDefaults.ISCRoleName) || props.user?.Roles.includes(FundraiserDefaults.SalesAgentRoleName)) {\n defaultTab = FundraiserState.Active;\n }\n const [ selectedTab, setSelectedTab ] = useState(defaultTab);\n\n const onTabSelect = (tab: FundraiserState) => {\n setSelectedTab(tab);\n props.onTabSelect(tab);\n };\n\n // eslint-disable-next-line max-lines-per-function\n const config = useMemo(() => {\n const tabs = [\n {\n tab: {\n id: 'active-fundraisers',\n label: 'Active & Upcoming',\n value: FundraiserState.ActiveUpcoming,\n },\n sections: [\n {\n label: 'list',\n content: ,\n },\n ],\n },\n ];\n\n if (props.user?.Roles.includes(FundraiserDefaults.SuperAdminRoleName) || props.user?.Roles.includes(FundraiserDefaults.ISCRoleName) || props.user?.Roles.includes(FundraiserDefaults.SalesAgentRoleName)) {\n tabs.shift();\n\n tabs.unshift({\n tab: {\n id: 'active-fundraisers',\n label: FundraiserState.Active,\n value: FundraiserState.Active,\n },\n sections: [\n {\n label: 'list',\n content: ,\n },\n ],\n },\n {\n tab: {\n id: 'upcoming-fundraisers',\n label: FundraiserState.Upcoming,\n value: FundraiserState.Upcoming,\n },\n sections: [\n {\n label: 'list',\n content: ,\n },\n ],\n });\n }\n\n tabs.push({\n tab: {\n id: 'completed-fundraisers',\n label: FundraiserState.Completed,\n value: FundraiserState.Completed,\n },\n sections: [\n {\n label: 'list',\n content: ,\n },\n ],\n });\n\n if (props.user?.Roles.includes(FundraiserDefaults.SuperAdminRoleName) || props.user?.Roles.includes(FundraiserDefaults.SalesAgentRoleName)) {\n tabs.push({\n tab: {\n id: 'cancelled-fundraisers',\n label: FundraiserState.Canceled,\n value: FundraiserState.Canceled,\n },\n sections: [\n {\n label: 'list',\n content: ,\n },\n ],\n });\n }\n return tabs;\n }, [ props, selectedTab ]);\n\n return (\n \n \n \n );\n};\n\nexport default FundraiserListTabs;\n","module.exports = __webpack_public_path__ + \"static/media/LCF-Logo-Meal-Deal-Desktop.d30c234e.svg\";","module.exports = __webpack_public_path__ + \"static/media/fundraising-options.2734affc.jpg\";","module.exports = __webpack_public_path__ + \"static/media/caesar-supportaseller.177da1f3.png\";","module.exports = __webpack_public_path__ + \"static/media/Open-Arms-Caesar.b807865e.png\";","module.exports = __webpack_public_path__ + \"static/media/Waving-Caesar.724f74a2.png\";","module.exports = __webpack_public_path__ + \"static/media/lcespear.164e6c53.svg\";","module.exports = __webpack_public_path__ + \"static/media/lcespear_mobile.9d4e1c6c.svg\";","import React, {\n FunctionComponent,\n RefAttributes,\n PropsWithoutRef,\n ForwardRefExoticComponent,\n} from 'react';\nimport {\n Link as ReactRouterLink,\n NavLink as ReactRouterNavLink,\n LinkProps as RouterLinkProps,\n NavLinkProps as RouterNavLinkProps,\n} from 'react-router-dom';\nimport { Navlink as SliceUILink, INavlinkProps as SliceUILinkProps } from '@lce/slice_v2';\n\n// eslint-disable-next-line max-len\n// from @types/theme-ui__components: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/86bd530585927c9a4e16bc8f5db17439b66c30b3/types/theme-ui__components/index.d.ts#L21\ntype ForwardRef = ForwardRefExoticComponent<\nPropsWithoutRef

& RefAttributes\n>;\n\ntype IRouterLinkProps = {\n asNav?: boolean;\n}\n\ntype CombinedProps = SliceUILinkProps & RouterLinkProps<{}> & RouterNavLinkProps<{}> & IRouterLinkProps;\n\n// Must cast as any to prevent $$typeof issue with ExoticComponent

\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst FinalLink: ForwardRef = SliceUILink as any;\n\n/**\n * Component combines the NavLink component from SliceUI with Link Component from React Router\n */\nconst RouterLink: FunctionComponent = ({ children, ...props }) => (\n \n {children}\n \n);\n\nexport default RouterLink;\n","export const medium = {\n fontSize: '14px',\n minWidth: 176,\n};\n\nexport const large = {\n fontSize: '16px',\n minWidth: 224,\n};\n","import { scale } from '../utils';\n\nconst { medium, large } = scale;\n\nexport const base = {\n border: '1px solid',\n borderRadius: '4px',\n cursor: 'pointer',\n fontFamily: 'Lato',\n fontSize: '14px',\n fontWeight: 800,\n height: '36px',\n lineHeight: '1',\n minWidth: 120,\n};\n\nexport const primary = {\n bg: 'primaryOrange',\n borderColor: 'primaryOrange',\n};\n\nexport const secondary = {\n color: 'primaryOrange',\n borderColor: 'primaryOrange',\n bg: 'white',\n};\n\nexport default {\n base,\n primary: {\n ...base,\n ...primary,\n medium: {\n ...base,\n ...primary,\n ...medium,\n },\n large: {\n ...base,\n ...primary,\n ...large,\n height: '40px',\n },\n },\n secondary: {\n ...base,\n ...secondary,\n medium: {\n ...base,\n ...secondary,\n ...medium,\n },\n large: {\n ...base,\n ...secondary,\n ...large,\n height: '40px',\n },\n },\n skeleton: {\n padding: '24px',\n width: '100%',\n backgroundColor: 'transparent',\n border: 'none',\n cursor: 'pointer',\n ':hover': {\n backgroundColor: '#eee',\n },\n },\n outline: {\n ...base,\n bg: 'transparent',\n border: 'solid 2px white',\n fontWeight: 900,\n },\n disabled: {\n ...base,\n bg: 'primaryGrayLight',\n color: 'white',\n borderColor: 'primaryGrayLight',\n cursor: 'not-allowed',\n medium: {\n ...base,\n bg: 'primaryGrayLight',\n color: 'white',\n borderColor: 'primaryGrayLight',\n },\n },\n text: {\n ...base,\n border: 'none',\n background: 'none',\n color: 'primaryOrange',\n fontWeight: 600,\n fontSize: 'large',\n paddingTop: 0,\n paddingBottom: 0,\n },\n primaryTextLink: {\n color: 'primary',\n fontFamily: 'Lato',\n fontWeight: 'bold',\n textDecoration: 'none',\n background: 'transparent',\n border: 'none',\n padding: 0,\n fontSize: [ '20px', '24px' ],\n '&:hover': {\n cursor: 'pointer',\n textDecoration: 'underline',\n },\n },\n plainText: {\n cursor: 'pointer',\n color: 'black',\n p: 0,\n backgroundColor: 'transparent',\n border: 'none',\n lineHeight: 1,\n width: 'fit-content',\n },\n popover: {\n variant: 'buttons.text',\n fontSize: '10px',\n fontWeight: 400,\n ':hover': {\n background: 'rgba(192,192,192,0.3)',\n },\n },\n navMenu: {\n background: '#fff',\n border: 'none',\n padding: '0',\n margin: '0',\n cursor: 'pointer',\n appearance: 'none',\n color: 'black',\n marginLeft: '16px',\n },\n tabbedCard: {\n width: '300px',\n bg: 'white',\n color: 'primaryGrayDark',\n padding: '15px 20px',\n cursor: 'pointer',\n active: {\n cursor: 'pointer',\n padding: '15px 20px',\n width: '300px',\n borderBottom: '5px solid',\n borderColor: 'primaryOrange',\n bg: 'white',\n color: 'black',\n fontWeight: 600,\n },\n },\n clearTopRight: {\n position: 'absolute',\n cursor: 'pointer',\n top: '15px',\n right: '15px',\n background: 'none',\n border: 'none',\n padding: 0,\n color: 'black',\n lineHeight: 0,\n },\n confirmationButtonBR: {\n fontWeight: 900,\n fontFamily: 'Lato',\n fontSize: '14px',\n lineHeight: '1',\n borderRadius: '4px',\n cursor: 'pointer',\n bg: 'primaryOrange',\n display: 'inline-block',\n alignItems: 'center',\n justifyContent: 'center',\n flex: 0.6,\n ml: '15px',\n mt: '4px',\n p: '0px',\n minWidth: '120px',\n width: 'auto',\n height: '36px',\n },\n confirmationButtonDG: {\n fontWeight: 900,\n fontFamily: 'Lato',\n fontSize: '14px',\n lineHeight: '1',\n borderRadius: '4px',\n cursor: 'pointer',\n bg: 'primaryOrange',\n display: 'inline-block',\n alignItems: 'center',\n justifyContent: 'center',\n flex: 0.6,\n ml: '15px',\n mt: '4px',\n p: '0px',\n minWidth: '120px',\n width: 'auto',\n height: '36px',\n },\n confirmationButtonMD: {\n fontWeight: 900,\n fontFamily: 'Lato',\n fontSize: '14px',\n lineHeight: '1',\n borderRadius: '4px',\n cursor: 'pointer',\n bg: 'primaryOrange',\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n p: '5px',\n width: '40px',\n height: '40px',\n },\n dashboardDescriptionButton: {\n ...base,\n bg: 'white',\n borderColor: 'transparent',\n color: 'primaryOrange',\n fontWeight: 'normal',\n height: 'auto',\n p: '4px 0',\n textAlign: 'left',\n },\n dashboardProfileButton: {\n ...base,\n bg: 'white',\n borderColor: 'primaryOrange',\n color: 'primaryOrange',\n fontWeight: 'normal',\n height: 'auto',\n p: '4px 0',\n },\n};\n","import { scale } from '../utils';\nimport { base, primary, secondary } from '../components/buttons';\n\nconst { medium, large } = scale;\n\nconst linkBase = {\n ...base,\n padding: '8px',\n textDecoration: 'none',\n};\n\nconst linkPrimary = {\n ...primary,\n color: 'white',\n};\n\nconst primaryText = {\n color: 'primary',\n fontFamily: 'Lato',\n fontSize: [ '14px', '16px' ],\n fontWeight: 'bold',\n textDecoration: 'none',\n};\n\nconst primaryButton = {\n alignItems: 'center',\n bg: 'primaryOrange',\n borderRadius: '4px',\n color: 'white',\n cursor: 'pointer',\n display: 'flex',\n fontFamily: 'Lato',\n fontSize: '14px',\n fontWeight: 900,\n height: '36px',\n justifyContent: 'center',\n lineHeight: 1,\n px: 5,\n textDecoration: 'none',\n width: 'auto',\n};\n\nconst navLink = {\n fontSize: [ '22px', '22px', 'initial' ],\n lineHeight: [ 1.3, 1.3, 1.5 ],\n padding: [ '12px', '12px', '15px 24px' ],\n width: '100%',\n position: 'relative',\n transition: '100ms all ease-in',\n alignItems: 'center',\n ':hover': {\n color: 'primaryOrange',\n },\n '&.active': {\n bg: [ 'white', 'white', 'primaryOrange' ],\n boxShadow: [ 'none', 'none', '0px 0px 5px rgba(0, 0, 0, 0.25)' ],\n borderRadius: '4px',\n color: [ 'primaryOrange', 'primaryOrange', 'white' ],\n },\n '&.active::after': {\n content: '\"\"',\n position: 'absolute',\n height: '50px',\n bg: 'primaryOrange',\n width: [ 0, 0, '5px' ],\n right: '-30px',\n top: 0,\n borderTopLeftRadius: '4px',\n borderBottomLeftRadius: '4px',\n },\n};\n\nexport default {\n accountOptionLinks: {\n padding: '15px 24px',\n height: '50px',\n width: '100%',\n position: 'relative',\n margin: '6px 0',\n transition: '100ms all ease-in',\n alignItems: 'center',\n },\n categorySelectorLink: {\n ...navLink,\n },\n dashboardNavLink: {\n ...navLink,\n height: '50px',\n margin: '6px 0',\n },\n dashboardMobileNav: {\n backgroundColor: 'white',\n border: '1px solid #808080',\n borderRadius: '8px',\n justifyContent: 'space-between',\n my: 4,\n mt: '19px',\n },\n emailLink: {\n color: 'primaryOrange',\n '&:hover': {\n cursor: 'pointer',\n textDecoration: 'underline',\n color: 'primaryOrange',\n },\n },\n navLinkMobile: {\n padding: '15px 24px',\n height: '50px',\n width: '100%',\n position: 'relative',\n margin: '6px 0',\n transition: '100ms all ease-in',\n alignItems: 'center',\n ':hover': {\n color: 'primaryOrange',\n },\n '&.active': {\n color: 'primaryOrange',\n },\n },\n navRouterLink: {\n variant: 'links.primary',\n padding: [ '0 12px', '0 24px' ],\n fontSize: '14px',\n textTransform: 'uppercase',\n whiteSpace: 'nowrap',\n },\n primary: {\n fontFamily: 'Lato',\n color: 'black',\n ':hover': {\n color: 'primaryOrange',\n },\n ':focus': {\n color: 'primaryOrange',\n },\n cursor: 'pointer',\n },\n primaryText: primaryText,\n primaryTextUppercase: {\n ...primaryText,\n textTransform: 'uppercase',\n },\n primaryTextUnderline: {\n ...primaryText,\n textDecoration: 'underline',\n },\n toast: {\n variant: 'links.primary',\n fontWeight: 600,\n color: 'primaryOrange',\n ':hover': {\n color: 'black',\n },\n },\n productCardImageWrapperLinkBR: {\n display: 'flex',\n width: '100%',\n height: 'auto',\n minWidth: '132px',\n p: '16px',\n alignItems: 'center',\n },\n productCardImageWrapperLinkDG: {\n display: 'flex',\n width: '100%',\n height: 'auto',\n minWidth: '132px',\n p: '16px',\n alignItems: 'center',\n },\n productCardImageWrapperLinkMD: {\n display: 'flex',\n width: [ '132px', '100%' ],\n height: [ '132px', 'auto' ],\n minWidth: '132px',\n p: '16px',\n alignItems: 'center',\n },\n primaryButtonLink: {\n ...primaryButton,\n ':hover, :focus': {\n color: 'white',\n },\n },\n primaryOutlineButtonLink: {\n ...primaryButton,\n bg: 'transparent',\n border: '2px solid',\n borderColor: 'primaryOrange',\n color: 'primaryOrange',\n },\n button: {\n primary: {\n ...linkBase,\n ...linkPrimary,\n medium: {\n ...linkBase,\n ...linkPrimary,\n ...medium,\n },\n large: {\n ...linkBase,\n ...linkPrimary,\n ...large,\n },\n },\n secondary: {\n ...linkBase,\n ...secondary,\n medium: {\n ...linkBase,\n ...secondary,\n ...medium,\n },\n large: {\n ...linkBase,\n ...secondary,\n ...large,\n },\n },\n },\n};\n","/* eslint-disable max-len */\nimport buttons from './components/buttons';\nimport cards from './components/cards';\nimport colors from './components/colors';\nimport fonts from './components/fonts';\nimport links from './components/links';\nimport text from './components/text';\nimport forms from './components/forms';\nimport modals from './components/modals';\nimport images from './components/images';\n\nexport const theme = {\n cards,\n colors,\n buttons,\n fonts,\n links,\n text,\n forms,\n modals,\n images,\n breakpoints: [ '600px', '960px', '1280px' ],\n spinner: {\n lce: {\n color: 'primaryOrange',\n },\n },\n progress: {\n lce: {\n color: 'secondaryGreenLight',\n bg: 'primaryGrayLight',\n height: '24px',\n },\n },\n styles: {\n a: {\n color: 'black',\n ':hover': {\n color: 'primaryOrange',\n },\n },\n },\n};\n\nexport const fontFamilies = `\n @import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');\n @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');\n`;\n","export default {\n primary: {\n border: '1px solid',\n borderColor: 'primaryGrayLight',\n borderRadius: '4px',\n },\n mobileMenu: {\n backgroundColor: 'white',\n height: '100vh',\n width: [ '100%', '343px', null ],\n overflowY: 'scroll',\n textAlign: 'center',\n fontSize: '24px',\n padding: '16px',\n pointerEvents: 'auto',\n position: 'absolute',\n top: '80px',\n transform: 'translateX(-100%)',\n transition: 'all 300ms ease-in',\n },\n tabbedCard: {\n // padding: '5px 15px',\n mt: '15px',\n section: {\n borderTop: '2px solid',\n borderColor: 'primaryGrayLight',\n padding: '25px 22px',\n },\n },\n cartListItem: {\n minHeight: [ '160px' ],\n borderRadius: '4px',\n boxShadow: '0 0 5px 0 rgba(0, 0, 0, 0.25)',\n padding: [ '15px', '30px', '30px' ],\n mb: '24px',\n alignItems: [ 'initial', 'center' ],\n position: 'relative',\n checkout: {\n padding: [ 0 ],\n mb: '24px',\n alignItems: [ 'initial', 'center' ],\n position: 'relative',\n border: 'none',\n },\n },\n fundraiserList: {\n header: {\n alignItems: 'center',\n mt: '30px',\n justifyContent: 'space-between',\n },\n item: {\n flexDirection: [ 'column', 'row' ],\n border: '1px solid lightGray',\n boxShadow: '0 4px 10px 0 rgba(0, 0, 0, 0.25)',\n transition: '200ms ease-in-out',\n ':hover': {\n boxShadow: '0 0 12px 0 rgba(0, 0, 0, 0.25)',\n },\n borderRadius: '4px',\n padding: '20px',\n marginBottom: '20px',\n },\n },\n productCardBR: {\n display: 'grid',\n gridTemplateColumns: '1fr',\n height: 'fit-content',\n border: '1px solid lightGray',\n borderRadius: '4px',\n boxShadow: '0 4px 10px 0 rgba(0, 0, 0, 0.25)',\n transition: '200ms ease-in-out',\n ':hover': {\n boxShadow: '0 0 12px 0 rgba(0, 0, 0, 0.25)',\n },\n },\n productCardDG: {\n display: 'grid',\n gridTemplateColumns: '1fr',\n height: 'fit-content',\n border: '1px solid lightGray',\n borderRadius: '4px',\n boxShadow: '0 4px 10px 0 rgba(0, 0, 0, 0.25)',\n transition: '200ms ease-in-out',\n ':hover': {\n boxShadow: '0 0 12px 0 rgba(0, 0, 0, 0.25)',\n },\n },\n productCardMD: {\n display: 'grid',\n gridTemplateColumns: [ '132px 1fr', '1fr' ],\n height: 'fit-content',\n border: '1px solid lightGray',\n borderRadius: '4px',\n boxShadow: '0 4px 10px 0 rgba(0, 0, 0, 0.25)',\n transition: '200ms ease-in-out',\n ':hover': {\n boxShadow: '0 0 12px 0 rgba(0, 0, 0, 0.25)',\n },\n },\n productCardDetailsWrapperBR: {\n justifyContent: 'space-between',\n p: '0px 16px 16px',\n flexDirection: 'column',\n gap: '4px',\n },\n productCardDetailsWrapperDG: {\n justifyContent: 'space-between',\n p: '0px 16px 16px',\n flexDirection: 'column',\n gap: '4px',\n },\n productCardDetailsWrapperMD: {\n justifyContent: 'space-between',\n p: [ '16px 16px 16px 0px', '0px 16px 16px' ],\n flexDirection: 'column',\n gap: '4px',\n },\n productCardList: {\n p: '10px',\n display: 'grid',\n gridTemplateColumns: [ '1fr', 'repeat(2, 1fr)', 'repeat(3, 1fr)' ],\n gap: '10px',\n },\n fundraiserSeller: {\n border: '1px solid lightGray',\n borderRadius: '4px',\n boxShadow: '0 4px 10px 0 rgba(0, 0, 0, 0.25)',\n transition: '200ms ease-in-out',\n ':hover': {\n boxShadow: '0 0 12px 0 rgba(0, 0, 0, 0.25)',\n },\n minHeight: [ '140px', '140px', '82px' ],\n },\n orderSummary: {\n variant: 'cards.primary',\n flexDirection: 'column',\n padding: '30px',\n maxWidth: [ 'none', 'none', '516px' ],\n minWidth: [ 'none', 'none', '516px' ],\n ml: [ 0, 0, '24px' ],\n position: [ 'relative', 'relative', 'relative' ],\n },\n avatar: {\n width: '100%',\n bg: 'white',\n justifyContent: 'center',\n alignItems: 'center',\n borderColor: 'white',\n borderRadius: '4px',\n height: '204px',\n mb: '12px',\n },\n step: {\n borderRadius: '4px',\n mt: '24px',\n boxShadow: '0 0 5px 0 rgba(0, 0, 0, 0.25)',\n heading: {\n padding: '8px 30px',\n },\n body: {\n padding: '33px 30px',\n },\n },\n fundraiserJoin: {\n padding: '40px 34px',\n maxWidth: '500px',\n textAlign: 'center',\n alignItems: 'center',\n },\n seller: {\n width: [ '100%', '100%', '600px' ],\n border: [ 'none', 'none', '1px solid' ],\n borderColor: [ null, null, 'primaryGrayMid' ],\n padding: [ '24px 0', '24px 0', '24px 50px' ],\n margin: '0 auto',\n alignItems: 'center',\n textAlign: 'center',\n miniStats: {\n border: [ '1px solid', '1px solid', 'none' ],\n boxShadow: [ '0 0 5px 0 rgba(0, 0, 0, 0.25)', '0 0 5px 0 rgba(0, 0, 0, 0.25)', 'none' ],\n borderColor: [ 'primaryGrayLight', 'primaryGrayLight', 'primaryGrayLight' ],\n padding: [ '24px 16px', '24px 16px', 0 ],\n },\n detail: {\n padding: [ 0, 0, '30px' ],\n width: '100%',\n flexDirection: 'column',\n border: [ 'none', 'none', '1px solid' ],\n borderColor: [ null, null, 'primaryGrayMid' ],\n },\n },\n success: {\n width: '100%',\n height: 'fit-content',\n border: 'solid 2px #ddd',\n borderRadius: '8px',\n boxShadow: '0 0 8px 2px rgba(0, 0, 0, 0.15)',\n p: 6,\n },\n};\n","export default {\n primary: '#FF6000',\n primaryOrange: '#FF6000',\n primaryGrayLight: '#C4C4C4',\n primaryGrayMid: '#EEEEEE',\n primaryGrayDark: '#868686',\n primaryGrayText: '#646464',\n secondaryGreenDark: '#028243',\n secondaryGreenLight: '#28c76f',\n secondaryBlue: '#005EFF',\n secondaryPurple: '#913fe5',\n secondaryRed: '#B60707',\n black: '#000',\n white: '#FFF',\n red: '#ff0000',\n};\n","export default {\n accountOptionLinksText: {\n fontSize: '16px',\n fontWeight: 800,\n textTransform: 'initial',\n color: 'black',\n '&:hover': {\n color: 'primaryOrange',\n },\n },\n accountSettings: {\n disclaimer: {\n fontFamily: 'Lato',\n fontSize: '12px',\n color: 'primaryGrayDark',\n },\n title: {\n variant: 'text.product.title',\n fontSize: '34px',\n },\n },\n cartListItem: {\n price: {\n fontSize: '20px',\n fontWeight: 700,\n color: 'black',\n flex: 1,\n textAlign: [ 'left', 'right' ],\n },\n name: {\n fontSize: '20px',\n fontFamily: 'Lato',\n fontWeight: 600,\n },\n description: {\n fontFamily: 'Lato',\n fontSize: '14px',\n },\n },\n emailNotificationForm: {\n label: {\n fontSize: '12px',\n color: '#868686',\n lineHeight: 1,\n fontWeight: 'normal',\n marginTop: '16px',\n },\n formLabel: {\n fontSize: '14px',\n fontFamily: 'roboto',\n },\n },\n heading: {\n fontFamily: 'mrEaves',\n },\n headingUpper: {\n fontFamily: 'mrEaves',\n fontSize: [ '24px', '36px', '48px' ],\n textTransform: 'uppercase',\n },\n header: {\n title: {\n fontFamily: 'mrEaves',\n fontWeight: '900',\n fontSize: [ '24px', '24px', '36px' ],\n lineHeight: [ 1 ],\n color: 'black',\n large: {\n fontFamily: 'mrEaves',\n fontSize: [ '34px', '34px', '64px' ],\n lineHeight: 1,\n color: 'primaryOrange',\n fontWeight: 700,\n },\n },\n sub: {\n fontFamily: 'Lato',\n fontSize: '18px',\n fontWeight: 900,\n mr: '10px',\n },\n subUpper: {\n fontFamily: 'mrEaves',\n fontWeight: 'bold',\n fontSize: '20px',\n lineHeight: 1,\n textTransform: 'uppercase',\n },\n form: {\n fontFamily: 'Lato',\n color: 'primaryGrayDark',\n fontSize: '18px',\n fontWeight: 600,\n },\n instructions: {\n fontFamily: 'Roboto',\n fontSize: '14px',\n },\n },\n h2: {\n fontFamily: 'Lato',\n fontWeight: 600,\n color: 'primaryGrayDark',\n fontSize: '20px',\n },\n h5: {\n fontFamily: 'Lato',\n fontWeight: 700,\n color: 'black',\n fontSize: '16px',\n lineHeight: '19px',\n },\n footer: {\n fontFamily: 'Roboto',\n fontSize: '12px',\n lineHeight: '14px',\n },\n fundraiserListItem: {\n name: {\n variant: 'text.cartListItem.name',\n },\n description: {\n font: 'Lato',\n color: 'primaryGrayDark',\n fontSize: '16px',\n fontWeight: 500,\n },\n },\n fundraiserOptions: {\n header: {\n fontFamily: 'lato',\n fontWeight: 'bold',\n fontSize: '16px',\n },\n subHeader: {\n fontFamily: 'lato',\n fontWeight: 'bold',\n fontSize: '14px',\n },\n label: {\n ml: '24px',\n fontFamily: 'roboto',\n fontSize: '14px',\n },\n },\n fundraiserDetail: {\n sellerStatusHeader: {\n variant: 'text.h5',\n fontSize: '18px',\n },\n manageFundraisers: {\n fontFamily: 'Lato',\n color: 'primaryOrange',\n fontSize: '16px',\n cursor: 'pointer',\n fontWeight: 'bold',\n },\n buyerListEmptyStateHeader: {\n variant: 'text.header.title',\n fontSize: '22px !important',\n },\n },\n helper: {\n lineHeight: 1,\n },\n login: {\n message: {\n margin: '16px 0',\n lineHeight: 1,\n fontSize: '14px',\n },\n },\n productListItem: {\n name: {\n fontSize: [ '16px', '20px' ],\n fontWeight: 700,\n lineHeight: 1.2,\n overflow: 'hidden',\n textOverflow: 'ellipsis',\n display: '-webkit-box',\n WebkitBoxOrient: 'vertical',\n '.product-image:onhover + .product-name': {\n color: 'primaryOrange',\n },\n },\n price: {\n WebkitLineClamp: '3',\n maxHeight: '3.6em',\n variant: 'text.productListItem.name',\n ':hover': {\n color: 'black',\n },\n },\n description: {\n variant: 'text.productListItem.name',\n fontSize: [ '15px', '16px' ],\n lineHeight: 1.2,\n color: 'primaryGrayDark',\n ':hover': {\n color: 'primaryGrayDark',\n },\n },\n },\n orderHistory: {\n label: {\n fontFamily: 'Roboto',\n fontSize: '14px',\n color: 'primaryGrayDark',\n },\n },\n product: {\n title: {\n fontWeight: 600,\n font: 'Lato',\n fontSize: '36px',\n },\n price: {\n variant: 'text.product.title',\n fontSize: '20px',\n },\n description: {\n fontSize: '16px',\n },\n shortDescription: {\n variant: 'text.product.price',\n },\n },\n quote: {\n fontFamily: 'Roboto',\n fontStyle: 'italic',\n fontWeight: 400,\n lineHeight: [ '32px' ],\n fontSize: [ '28px' ],\n color: 'primaryGrayDark',\n author: {\n fontFamily: 'mrEaves',\n fontWeight: 'bold',\n fontSize: '18px',\n color: 'primaryGrayDark',\n textTransform: 'uppercase',\n },\n },\n sellerInvite: {\n description: {\n variant: 'text.header.subUpper',\n color: 'primaryOrange',\n textAlign: 'center',\n lineHeight: '20px',\n mt: '8px',\n mb: '10px',\n },\n message: {\n fontFamily: 'Lato',\n fontSize: [ '12px', '16px' ],\n lineHeight: [ '15px', '19px' ],\n },\n info: {\n fontFamily: 'Lato',\n fontSize: '12px',\n lineHeight: '12px',\n color: 'primaryGrayDark',\n whiteSpace: 'pre-line',\n },\n },\n tabbedCard: {\n sectionHeader: {\n fontWeight: 900,\n fontFamily: 'mrEaves',\n fontSize: '22px',\n },\n },\n toast: {\n content: {\n color: 'black',\n fontFamily: 'Lato',\n },\n },\n errorMessage: {\n color: 'red',\n paddingBottom: [ '8px', '4px' ],\n fontSize: 'smaller',\n },\n orderReview: {\n formLabel: {\n lineHeight: '1.8',\n fontSize: '16px',\n fontFamily: 'roboto',\n },\n },\n warning: {\n fontFamily: 'Lato',\n fontSize: '14px',\n color: 'red',\n fontWeight: 'bold',\n },\n fundraiserTracker: {\n name: {\n fontFamily: 'Lato',\n fontSize: '18px',\n fontWeight: 900,\n },\n description: {\n fontFamily: 'Lato',\n fontSize: [ '14px', '16px' ],\n lineHeight: 'normal',\n whiteSpace: 'pre-line',\n },\n miniDetails: {\n fontFamily: 'Lato',\n fontSize: '12px',\n lineHeight: 1,\n color: 'primaryGrayDark',\n whiteSpace: 'pre-line',\n },\n },\n stats: {\n progressBar: {\n value: {\n fontFamily: 'Lato',\n fontSize: '30px',\n fontWeight: 'bold',\n },\n label: {\n fontFamily: 'Lato',\n fontSize: '12px',\n },\n },\n },\n dashboard: {\n title: {\n color: 'black',\n fontFamily: 'roboto',\n fontSize: '32px',\n fontWeight: '900',\n lineHeight: 1,\n },\n info: {\n color: 'primaryGrayDark',\n fontFamily: 'roboto',\n fontSize: '16px',\n fontWeight: '500',\n },\n name: {\n fontFamily: 'roboto',\n fontSize: '18px',\n fontWeight: 'bold',\n lineHeight: '1',\n },\n finalOrderPage: {\n title: {\n fontFamily: 'roboto',\n fontSize: [ '20px', '24px' ],\n fontWeight: 'bold',\n },\n subtitle: {\n fontFamily: 'roboto',\n fontSize: [ '18px', '20px' ],\n fontWeight: 'bold',\n },\n body: {\n fontFamily: 'roboto',\n fontSize: '16px',\n },\n subLabel: {\n fontFamily: 'roboto',\n fontSize: '18px',\n fontWeight: 'bold',\n },\n error: {\n fontFamily: 'roboto',\n fontSize: '14px',\n color: 'gray',\n },\n },\n },\n home: {\n heading: {\n fontSize: [ '36px', '54px', '72px' ],\n fontFamily: 'Lato',\n fontWeight: 900,\n lineHeight: '1.2',\n whiteSpace: 'pre-line',\n },\n card: {\n heading: {\n fontFamily: 'mrEaves',\n fontSize: '34px',\n fontWeight: 'bold',\n textTransform: 'uppercase',\n lineHeight: '1',\n },\n title: {\n fontFamily: 'Lato',\n fontSize: '20px',\n fontWeight: 'bold',\n lineHeight: 1,\n },\n description: {\n fontFamily: 'roboto',\n fontSize: '16px',\n },\n },\n subheading: {\n fontFamily: 'Lato',\n fontSize: [ '32px', '36px' ],\n fontWeight: 'bold',\n lineHeight: 'normal',\n },\n sublabel: {\n fontFamily: 'Lato',\n fontSize: '16px',\n fontWeight: 'bold',\n textTransform: 'uppercase',\n },\n subdescription: {\n fontFamily: 'roboto',\n fontSize: '16px',\n },\n iconTile: {\n title: {\n fontFamily: 'Lato',\n fontSize: '20px',\n fontWeight: 'bold',\n },\n description: {\n fontFamily: 'roboto',\n fontSize: '12px',\n },\n },\n quote: {\n fontFamily: 'roboto',\n fontSize: '18px',\n },\n },\n fundraiserComparison: {\n slantedScript: {\n fontFamily: 'lcScript',\n transform: 'rotate(-10deg)',\n fontSize: [ '14px', '18px', '24px' ],\n textAlign: 'center',\n },\n pointsLabel: {\n fontFamily: 'Lato',\n fontSize: [ '14px', '18px' ],\n fontWeight: 'bold',\n lineHeight: 1,\n },\n inLineLink: {\n textAlign: 'center',\n fontFamily: 'Lato',\n fontSize: [ '20px', '24px' ],\n fontWeight: 'bold',\n lineHeight: 1,\n },\n },\n disclaimer: {\n fontFamily: 'roboto',\n fontSize: '12px',\n },\n legalDisclaimer: {\n fontFamily: 'roboto',\n fontSize: '12px',\n color: 'primaryGrayDark',\n lineHeight: 1,\n },\n popover: {\n fontFamily: 'roboto',\n fontSize: '16px',\n },\n};\n","export default {\n primary: {\n select: {\n padding: '6px 8px',\n },\n textarea: {\n height: 'auto',\n },\n },\n input: {\n fontFamily: 'Roboto',\n backgroundColor: 'white',\n borderColor: 'primaryGrayLight',\n borderRadius: '4px',\n height: '36px',\n ':focus': {\n borderColor: 'black',\n outline: 'none',\n },\n '&::placeholder': {\n fontSize: '14px',\n },\n '&::value': {\n fontSize: '22px',\n },\n categorySelector: {\n width: [ '100%', '427px' ],\n border: '1px solid',\n float: 'right',\n borderColor: 'primaryGrayLight',\n color: 'black',\n bg: 'white',\n height: '46px',\n borderRadius: '4px',\n padding: '15px 24px',\n fontWeight: 600,\n },\n },\n label: {\n fontFamily: 'Lato',\n },\n select: {\n height: '46px',\n borderRadius: '4px',\n borderColor: 'lightGrey',\n padding: '0px 16px',\n quantity: {\n padding: '0px 16px',\n height: '36px',\n borderRadius: '4px',\n width: '88px',\n borderColor: 'lightGrey',\n ':focus': {\n borderRadius: 0,\n },\n },\n },\n checkout: {\n field: {\n flex: 1,\n },\n },\n search: {\n input: {\n backgroundColor: 'primaryGrayMid',\n color: 'primaryGrayDark',\n paddingLeft: '46px',\n fontSize: '14px',\n ':focus': {\n backgroundColor: 'white',\n borderColor: '#FF671B',\n color: 'black',\n },\n },\n },\n fundraiser: {\n field: {\n flex: 1,\n disabled: {\n flex: 1,\n color: 'primaryGrayDark',\n },\n },\n },\n};\n","export default {\n emailNoticationModal: {\n modalContainer: {\n backgroundColor: '#eee',\n top: 0,\n left: 0,\n position: 'absolute',\n width: '100%',\n padding: '8px',\n borderRadius: '4px',\n },\n buttonContainer: {\n cursor: 'pointer',\n mr: [ 'initial', 'initial', '20px' ],\n mt: '16px',\n mb: '16px',\n justifyContent: [ 'space-evenly' ],\n },\n headerLabel: {\n fontFamily: 'mrEaves',\n fontWeight: 'bold',\n fontSize: '20px',\n marginLeft: '28px',\n textTransform: 'uppercase',\n },\n },\n profitCheckAddressModal: {\n modalContainer: {\n maxWidth: '508px',\n borderRadius: '4px',\n width: [ '100%', '100%', '100%' ],\n },\n title: {\n fontSize: '28px',\n fontWeight: 'bold',\n fontFamily: 'mrEaves',\n color: 'primaryOrange',\n mb: '10px',\n textTransform: 'uppercase',\n },\n subTitle: {\n mb: [ '12px', '34px' ],\n px: [ '15px', '50px', '50px' ],\n fontSize: '19px',\n fontWeight: '500',\n lineHeight: '1.3',\n textAlign: 'center',\n },\n formContainer: {\n flexDirection: 'column',\n padding: [ 0, '15px', '10px 40px' ],\n alignItems: 'center',\n },\n inputLabel: {\n fontSize: [ '16px', '20px', '20px' ],\n fontWeight: 'bold',\n },\n submitButton: {\n minWidth: 120,\n fontWeight: 900,\n height: [ '36px', '39px' ],\n fontFamily: 'Lato',\n fontSize: '18px',\n lineHeight: '1',\n borderRadius: '4px',\n cursor: 'pointer',\n border: '1px solid',\n bg: 'primaryOrange',\n my: [ '8px', '20px' ],\n },\n },\n};\n\n","export default {\n productCardImageBR: {\n backgroundColor: 'transparent',\n objectFit: [ 'contain', 'cover' ],\n width: '100%',\n height: 'auto',\n maxHeight: '228px',\n minWidth: '100px',\n minHeight: '100px',\n },\n productCardImageDG: {\n backgroundColor: 'transparent',\n objectFit: [ 'contain', 'cover' ],\n width: '100%',\n height: 'auto',\n maxHeight: '228px',\n minWidth: '100px',\n minHeight: '100px',\n },\n productCardImageMD: {\n backgroundColor: [ 'primaryOrange', 'transparent' ],\n objectFit: [ 'contain', 'cover' ],\n width: '100%',\n height: 'auto',\n maxWidth: [ '100px', 'none' ],\n maxHeight: [ '100px', '228px' ],\n minWidth: '100px',\n minHeight: '100px',\n },\n};\n","export * from './hooks';\nexport * from './types';\n","export type {\n Fundraiser,\n FundraiserMealDeal,\n FundraiserInfo,\n ChairpersonInfo,\n FundraiserListItem,\n CancelFundraiserRequest,\n FundraiserSearchOptions,\n FundraiserBrochure,\n FundraiserOrderSummary,\n FundraiserFinalOrder,\n FundraiserSummary,\n ExistingCoupon,\n CouponsAppliedToFinalOrder,\n FinalOrderSummary,\n FinalOrderInfo,\n NoDeliveryDate,\n NoDeliveryDateFormat,\n} from './fundraiser';\n\nexport {\n FundraiserRelationship,\n FundraiserState,\n ELEVATED_RELATIONSHIPS,\n SPECIAL_PERMISSIONS_ROLES,\n FundraiserType,\n PhoneNumberTypes,\n PaymentSummaryKeys,\n CouponDiscountsKeys,\n FinalOrderSummaryKeys,\n} from './fundraiser';\n\nexport type { Group, SSUGroupParams, SSULandingGroup } from './group';\nexport type { GroupChairperson } from './groupChairperson';\nexport type { GroupType } from './groupType';\nexport type { Seller } from './seller';\nexport type { IReportFilterOptions } from './ReportFilter';\nexport type { Stat } from './stats';\n","export * from './CheckoutProcess';\nexport * from './OrderSummary';\nexport * from './ShippingDetails';\nexport * from './Login';\nexport * from './OrderReview';\nexport * from './Details';\nexport * from './Payment';\nexport * from './CheckoutModals';\nexport * from './CheckoutWrapper';\nexport * from './Types';\n","/* eslint-disable max-len */\nimport _find from 'lodash/find';\n\nconst doesScriptExist = script => _find(document.getElementsByTagName('script'), src => src.innerHTML && script.innerHTML && src.innerHTML === script.innerHTML);\n\nconst doesNoScriptExist = noscript => _find(document.getElementsByTagName('noscript'), src => src.innerHTML === noscript.innerHTML);\n\nconst doesScriptSrcUrlExist = script => _find(document.getElementsByTagName('script'), src => script.src === src.src);\n\nexport {\n doesScriptSrcUrlExist,\n doesScriptExist,\n doesNoScriptExist,\n};\n","/* eslint-disable max-len */\nimport { TagManagerSettings } from './interface';\n\nexport interface ISnippets {\n tags: ({ gtmSettings }: { gtmSettings: TagManagerSettings }) => {\n script: string;\n noScript: string;\n dataLayer: string;\n };\n}\n\nconst Snippets: ISnippets = {\n tags({ gtmSettings }) {\n if (!gtmSettings) {\n throw new Error('GTM properties are required');\n }\n\n const script = `\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='+i+dl+ '>m_auth=${ gtmSettings.AUTH }>m_preview=${ gtmSettings.PREVIEW }>m_cookies_win=x';f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','${ gtmSettings.ID }');\n `;\n\n const noScript = `\n \n `;\n\n const dataLayer = 'window.dataLayer = window.dataLayer || []';\n\n return {\n script,\n noScript,\n dataLayer,\n };\n },\n};\n\nexport default Snippets;\n","import { doesScriptExist, doesNoScriptExist } from '../../utilities';\n\nimport { TagManagerSettings } from './interface';\nimport Snippets from './Snippets';\n\ndeclare global {\n // tslint:disable-next-line\n interface Window {\n // eslint-disable-next-line\n dataLayer: any;\n }\n}\n\nconst TagManager = {\n gtm(settings: TagManagerSettings) {\n const snippets = Snippets.tags({ gtmSettings: settings });\n\n const script = () => {\n const element = document.createElement('script');\n element.innerHTML = snippets.script;\n return element;\n };\n\n const noScript = () => {\n const element = document.createElement('noscript');\n element.innerHTML = snippets.noScript;\n return element;\n };\n\n const dataLayer = () => {\n const element = document.createElement('script');\n element.innerHTML = snippets.dataLayer;\n return element;\n };\n\n return {\n noScript,\n script,\n dataLayer,\n };\n },\n pushToDataLayer(data) {\n typeof window.dataLayer !== 'undefined' && window.dataLayer && window.dataLayer.push(data);\n },\n initialize(settings: TagManagerSettings) {\n const gtm = this.gtm(settings);\n\n const script = gtm.script();\n const noScript = gtm.noScript();\n const dataLayer = gtm.dataLayer();\n\n !doesScriptExist(dataLayer) && document.head.appendChild(dataLayer);\n !doesScriptExist(script) && document.head.insertBefore(script, document.head.childNodes[0]);\n !doesNoScriptExist(noScript) && document.body.insertBefore(noScript, document.body.childNodes[0]);\n },\n};\n\nexport default TagManager;\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport React, { useEffect } from 'react';\n\nimport TagManager from '../TagManager';\nimport { TagManagerSettings } from '../TagManager/interface';\n\nexport interface IGoogleProviderProps {\n children: React.ReactNode;\n settings: any;\n gtm: TagManagerSettings;\n}\n\nconst GoogleProvider: React.FC = ({ children, settings, gtm }) => {\n useEffect(() => {\n if (settings.CONFIG.GOOGLE_TAG_MANAGER.ID) {\n TagManager.initialize(gtm);\n }\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, []);\n\n return (\n // eslint-disable-next-line react/jsx-no-useless-fragment\n <>\n { children }\n \n );\n};\n\nexport default GoogleProvider;\n","import addPaymentInfo from './addPaymentInfo';\nimport addShippingInfo from './addShippingInfo';\nimport addToCart from './addToCart';\nimport beginCheckout from './beginCheckout';\nimport purchase from './purchase';\nimport removeFromCart from './removeFromCart';\nimport viewCart from './viewCart';\nimport viewItem from './viewItem';\nimport viewItemList from './viewItemList';\n\nexport default {\n addPaymentInfo,\n addShippingInfo,\n addToCart,\n beginCheckout,\n purchase,\n removeFromCart,\n viewCart,\n viewItem,\n viewItemList,\n};\n","/* eslint-disable @typescript-eslint/camelcase */\nimport _map from 'lodash/map';\n\nimport TagManager from '../TagManager';\n\nimport { DataLayerCart } from './types';\n\nconst addPaymentInfo = (item: DataLayerCart) => {\n TagManager.pushToDataLayer({\n event: 'add_payment_info',\n ecommerce: {\n currency: 'USD',\n value: item.cartTotal,\n items: _map(item.products, product => ({\n item_name: product.name,\n item_id: product.id,\n price: product.price,\n quantity: product.quantity,\n })),\n },\n });\n};\n\nexport default addPaymentInfo;\n","/* eslint-disable @typescript-eslint/camelcase */\nimport _map from 'lodash/map';\n\nimport TagManager from '../TagManager';\n\nimport { DataLayerCart } from './types';\n\nconst addShippingInfo = (item: DataLayerCart) => {\n TagManager.pushToDataLayer({\n event: 'add_shipping_info',\n ecommerce: {\n currency: 'USD',\n value: item.cartTotal,\n items: _map(item.products, product => ({\n item_name: product.name,\n item_id: product.id,\n price: product.price,\n quantity: product.quantity,\n })),\n },\n });\n};\n\nexport default addShippingInfo;\n","/* eslint-disable @typescript-eslint/camelcase */\nimport TagManager from '../TagManager';\n\nimport { DataLayerProduct } from './types';\n\n// IF WE WANT TO KNOW WHERE THE USER IS ADDING THE PRODUCT TO THE CART handleAddToCart()\nconst addToCart = (item: DataLayerProduct) => {\n TagManager.pushToDataLayer({\n event: 'add_to_cart',\n ecommerce: {\n currency: 'USD',\n value: item.price * item.quantity,\n items: [\n {\n item_name: item.name,\n item_id: item.id,\n price: item.price,\n quantity: item.quantity,\n },\n ],\n },\n });\n};\n\nexport default addToCart;\n","/* eslint-disable @typescript-eslint/camelcase */\nimport _map from 'lodash/map';\n\nimport TagManager from '../TagManager';\n\nimport { DataLayerCart } from './types';\n\nconst beginCheckout = (item: DataLayerCart) => {\n TagManager.pushToDataLayer({\n event: 'begin_checkout',\n ecommerce: {\n currency: 'USD',\n value: item.cartTotal,\n items: _map(item.products, product => ({\n item_name: product.name,\n item_id: product.id,\n price: product.price,\n quantity: product.quantity,\n })),\n },\n });\n};\n\nexport default beginCheckout;\n","/* eslint-disable @typescript-eslint/camelcase */\nimport _map from 'lodash/map';\n\nimport TagManager from '../TagManager';\n\nimport { DataLayerPurchase } from './types';\n\nconst purchase = (item: DataLayerPurchase) => {\n TagManager.pushToDataLayer({\n event: 'purchase',\n ecommerce: {\n currency: 'USD',\n value: item.subtotal,\n transaction_id: item.purchaseId,\n shipping: item.shippingTotal,\n items: _map(item.products, product => ({\n item_name: product.name,\n item_id: product.id,\n price: product.price,\n quantity: product.quantity,\n })),\n },\n });\n};\n\nexport default purchase;\n","/* eslint-disable @typescript-eslint/camelcase */\nimport TagManager from '../TagManager';\n\nimport { DataLayerProduct } from './types';\n\nconst removeFromCart = (item: DataLayerProduct) => {\n TagManager.pushToDataLayer({\n event: 'remove_from_cart',\n ecommerce: {\n currency: 'USD',\n value: item.price * item.quantity,\n items: [\n {\n item_name: item.name,\n item_id: item.id,\n price: item.price,\n quantity: item.quantity,\n },\n ],\n },\n });\n};\n\nexport default removeFromCart;\n","/* eslint-disable @typescript-eslint/camelcase */\nimport _map from 'lodash/map';\n\nimport TagManager from '../TagManager';\n\nimport { DataLayerCart } from './types';\n\nconst viewCart = (item: DataLayerCart) => {\n TagManager.pushToDataLayer({\n event: 'view_cart',\n ecommerce: {\n currency: 'USD',\n value: item.cartTotal,\n items: _map(item.products, product => ({\n item_name: product.name,\n item_id: product.id,\n price: product.price,\n quantity: product.quantity,\n })),\n },\n });\n};\n\nexport default viewCart;\n","/* eslint-disable @typescript-eslint/camelcase */\nimport TagManager from '../TagManager';\n\nimport { DataLayerItem } from './types';\n\nconst viewItem = (item: DataLayerItem) => {\n TagManager.pushToDataLayer({\n event: 'view_item',\n ecommerce: {\n currency: 'USD',\n value: item.price,\n items: [\n {\n item_name: item.name,\n item_id: item.id,\n price: item.price,\n },\n ],\n },\n });\n};\n\nexport default viewItem;\n","/* eslint-disable @typescript-eslint/camelcase */\nimport _map from 'lodash/map';\n\nimport TagManager from '../TagManager';\n\nimport { DataLayerCategory } from './types';\n\nconst viewItemList = (item: DataLayerCategory) => {\n TagManager.pushToDataLayer({\n event: 'view_item_list',\n ecommerce: {\n item_list_id: item.categoryId,\n item_list_name: item.categoryName,\n items: _map(item.products, product => ({\n item_name: product.name,\n item_id: product.id,\n price: product.price,\n })),\n },\n });\n};\n\nexport default viewItemList;\n","import React, { useEffect } from 'react';\nimport Fingerprint2 from '@fingerprintjs/fingerprintjs';\n\nexport interface IFingerprintProviderProps {\n children: React.ReactNode;\n}\n\nconst FingerprintProvider: React.FC = ({ children }) => {\n useEffect(() => {\n if (!window.localStorage['@lce/local/uuid']) {\n Fingerprint2.get((components) => {\n const values = components.map(component => component.value);\n const hash = Fingerprint2.x64hash128(values.join(''), 31);\n // tslint:disable-next-line: strict-type-predicates\n if (typeof window !== 'undefined' && window.localStorage) {\n window.localStorage.setItem('@lce/local/uuid', hash);\n }\n });\n }\n }, []);\n return (\n // eslint-disable-next-line react/jsx-no-useless-fragment\n <>\n { children }\n \n );\n};\n\nexport default FingerprintProvider;\n","/* eslint-disable no-confusing-arrow */\n/* eslint-disable react/jsx-indent */\nimport * as React from 'react';\nimport { AppInsightsContext } from '@microsoft/applicationinsights-react-js';\n\nimport { GoogleProvider } from '../Google';\nimport { FingerprintProvider } from '../Fingerprint';\nimport { reactPlugin } from '../ApplicationInsights';\nimport { TagManagerSettings } from '../Google/TagManager/interface';\n\nexport interface IAnalyticsProviderProps {\n children: React.ReactNode;\n settings: {\n CONFIG: {\n GOOGLE_TAG_MANAGER: TagManagerSettings;\n };\n };\n}\n\nconst AnalyticsProvider: React.FC = ({ children, settings }) => settings ? (\n \n \n \n { children }\n \n \n \n) : null;\nexport default AnalyticsProvider;\n","export * from './cartContext';\n","export * from './forms';\n","export * from './types';\nexport * from './context';\n","export * from './request';\nexport * from './response';\nexport * from './interface';\n","export * from './CheckoutState';\nexport * from './ICheckoutWrapperChildrenProps';\nexport * from './PaymentState';\n","import React from 'react';\nimport { Text } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { useTranslationKeysAvailable } from 'ui/hooks';\n\nexport type LandingDisclaimerProps = {\n translationPath: string;\n testId?: string;\n}\n\nexport const dataTestIdLandingDisclaimer = 'landing-disclaimer-component';\n\nexport const LandingDisclaimer: React.FC = ({\n translationPath,\n testId = dataTestIdLandingDisclaimer,\n}) => {\n const [ t ] = useTranslation();\n const disclaimerTextIsValid = useTranslationKeysAvailable([ `${ translationPath }.disclaimer` ]);\n\n if (!disclaimerTextIsValid) {\n return null;\n }\n\n return (\n \n {t(`${ translationPath }.disclaimer`)}\n \n );\n};\n","import React from 'react';\nimport { Box, Image } from '@lce/slice_v2';\n\nimport Brochure from 'assets/images/banners/brochure-landing.jpg';\nimport EarlyFall24 from 'assets/images/banners/earlyfall2024.png';\nimport KidsBack2School from 'assets/images/banners/kids-back2school.jpg';\nimport Corporate from 'assets/images/banners/corporate-banner.png';\nimport GoogleImage from 'assets/images/banners/google-banner.png';\nimport FundraisingOptions from 'assets/images/banners/fundraising-options.jpg';\nimport SportsEngineImage from 'assets/images/banners/sportsengine-banner.png';\nimport halloween2022 from 'assets/images/banners/halloween2022.png';\nimport SupportASeller from 'assets/images/caesar-supportaseller.png';\nimport Sports from 'assets/images/banners/sports-banner.jpg';\nimport Daycare from 'assets/images/banners/daycare-banner.jpg';\nimport School from 'assets/images/banners/school-banner.jpeg';\nimport Music from 'assets/images/banners/music-banner.jpeg';\nimport Dance from 'assets/images/banners/dance-banner.jpeg';\nimport PizzaKitFundraiser from 'assets/images/banners/pizza-kit-fundraiser-banner.jpeg';\nimport Cheer from 'assets/images/banners/cheer-banner.jpeg';\nimport GetStarted from 'assets/images/banners/get-started.png';\nimport MealDeal from 'assets/images/banners/meal-deal.png';\nimport SuperBowl from 'assets/images/banners/superbowl.png';\nimport EClub from 'assets/images/banners/eclub.png';\nimport Spring from 'assets/images/banners/Spring 2024 Landing Page Image.png';\nimport Fall from 'assets/images/banners/fall.png';\nimport EarlyFallMailer from 'assets/images/banners/early-fall-mailer.png';\nexport interface IPageProp {\n page: string;\n}\n\nconst ImageObj = {\n brochure: Brochure,\n bts: School,\n btsmailer: GetStarted,\n campaign: EarlyFallMailer,\n cheer: Cheer,\n corporate: Corporate,\n dance: Dance,\n daycare: Daycare,\n earlyfall24: EarlyFall24,\n earlyspring2024: GetStarted,\n eclub: EClub,\n fall: Fall,\n getstarted: GetStarted,\n halloween22mailer: halloween2022,\n lcwebsite: MealDeal,\n localstore: MealDeal,\n mealdeal: MealDeal,\n music: Music,\n 'online-pizza-fundraiser': GoogleImage,\n 'pizza-kit-fundraiser': PizzaKitFundraiser,\n ptotoday: FundraisingOptions,\n school: School,\n signup: KidsBack2School,\n 'sports-engine': SportsEngineImage,\n sports: Sports,\n spring: Spring,\n superbowl: SuperBowl,\n supportaseller: SupportASeller,\n expiredfundraiser: SupportASeller,\n watarticle: School,\n 'we-are-teachers': FundraisingOptions,\n};\n\nexport type LandingImageProps = {\n page: string;\n testId?: string;\n}\n\nexport const dataTestIdLandingImage = 'landing-image-component';\n\nexport const LandingImage: React.FC = ({\n page,\n testId = dataTestIdLandingImage,\n}) => {\n const BannerImage = ImageObj[page];\n\n return (\n \n \"\"\n \n );\n};\n","import React from 'react';\nimport { Box, Text } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport _map from 'lodash/map';\n\nexport type LandingTextProps = {\n children?: React.ReactNode;\n translationPath: string;\n testId?: string;\n}\n\nexport const dataTestIdLandingText = 'landing-text-component';\n\nexport const LandingText: React.FC = ({\n translationPath,\n testId = dataTestIdLandingText,\n}) => {\n type TText = {\n text: string;\n }\n const [ t ] = useTranslation();\n const textList: TText[] = t(`${ translationPath }.texts`, { returnObjects: true });\n\n return (\n \n {_map(textList, text => text && (\n \n {text}\n \n ))}\n \n );\n};\n","import React from 'react';\nimport {\n Box, Button, Flex, Form,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { FirstNameInput, PhoneInput } from 'ui/components/forms';\nimport { useQueryParam } from 'features/common';\n\nexport type LandingFormProps = {\n translationPath: string;\n testId?: string;\n}\n\nexport const dataTestIdLandingForm = 'landing-form-component';\n\n// eslint-disable-next-line max-lines-per-function\nexport const LandingForm: React.FC = ({ translationPath, testId = dataTestIdLandingForm }) => {\n const { origin, pathname } = window.location;\n const redirectUrl = `${ origin }${ pathname }/confirmation`;\n\n const SALESFORCE_URL = process.env.REACT_APP_SALESFORCE_WEB_TO_LEAD_URL;\n const SALESFORCE_OID = process.env.REACT_APP_SALESFORCE_WEB_TO_LEAD_OID;\n const [ t ] = useTranslation();\n const [ referralSource ] = useQueryParam('referralsource');\n const lead = referralSource ?? t(`${ translationPath }.leadSource`);\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const validateZip = (event: any) => {\n const usZipRegEx = (/(^\\d{5}$)/);\n const isUSZip = usZipRegEx.test(event.target.value);\n if (isUSZip) {\n event.target.setCustomValidity('');\n } else {\n event.target.setCustomValidity('Zip code must be 5 digits.');\n }\n };\n\n return (\n \n

\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n validateZip(e) }\n required={ true }\n sx={ {\n flex: '1', ml: [ '0px', '16px' ], my: [ '13px', '20px' ], maxWidth: '371px',\n '& input': {\n height: '44px',\n },\n } }\n type=\"text\"\n />\n \n \n \n \n \n \n {t('landing.shared.submitButton')}\n \n \n
\n );\n};\n","import * as React from 'react';\n\nimport { CtaLeadCapture } from './cta-lead-capture';\nimport { CallToAction } from './call-to-action';\nimport { LeadCapture } from './lead-capture';\nimport { Information } from './information';\n\nexport type Template = {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n [key: string]: React.FC;\n}\n\nexport const Templates: Template = {\n 'cta-lead-capture': CtaLeadCapture,\n 'call-to-action': CallToAction,\n 'lead-capture': LeadCapture,\n information: Information,\n};\n","import React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { Box, Button } from '@lce/slice_v2';\n\nimport { LandingDisclaimer, LandingText } from '../../components';\nimport { LandingForm } from '../../landing-form';\n\nimport { FundraiserType } from 'features/fundraiser';\nimport { useStoreQueryParamToLocalStorage } from 'ui/hooks';\n\nexport type CtaLeadCaptureProps = {\n fundraiserType: FundraiserType;\n page: string;\n testId?: string;\n}\n\nexport const dataTestIdCtaLeadCapture = 'cta-lead-capture-component';\n\nexport const CtaLeadCapture: React.FC = ({\n fundraiserType,\n page,\n testId = dataTestIdCtaLeadCapture,\n}) => {\n const [ t ] = useTranslation();\n useStoreQueryParamToLocalStorage('referralsource', 'referralSource');\n const translationPath = `landing.${ fundraiserType }.${ page }`;\n const getStartedUrl = t(`${ translationPath }.getStartedButtonLink`);\n\n return (\n \n \n \n {t(`${ translationPath }.getStartedButtonText`)}\n \n \n \n \n );\n};\n","import React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { Box, Button } from '@lce/slice_v2';\n\nimport { LandingDisclaimer, LandingText } from '../../components';\n\nimport { FundraiserType } from 'features/fundraiser';\nimport { ComboLink } from 'ui/components/links';\nimport { useTranslationKeysAvailable, useStoreQueryParamToLocalStorage } from 'ui/hooks';\n\nexport type CallToActionProps = {\n fundraiserType: FundraiserType;\n page: string;\n testId?: string;\n}\n\nexport const dataTestIdCallToAction = 'call-to-action-component';\n\n// eslint-disable-next-line max-lines-per-function\nexport const CallToAction: React.FC = ({\n fundraiserType,\n page,\n testId = dataTestIdCallToAction,\n}) => {\n const [ t ] = useTranslation();\n useStoreQueryParamToLocalStorage('referralsource', 'referralSource');\n const translationPath = `landing.${ fundraiserType }.${ page }`;\n const showComboButton = useTranslationKeysAvailable([\n `${ translationPath }.buttonPath`,\n `${ translationPath }.buttonText`,\n `${ translationPath }.linkPath`,\n `${ translationPath }.linkText`,\n ]);\n const showJustButton = useTranslationKeysAvailable([\n `${ translationPath }.buttonPath`,\n `${ translationPath }.buttonText`,\n ]) && !showComboButton;\n\n return (\n \n \n \n {showComboButton && (\n \n )}\n {showJustButton && (\n \n {t(`${ translationPath }.buttonText`)}\n \n )}\n \n \n \n );\n};\n","import React from 'react';\nimport { Box } from '@lce/slice_v2';\n\nimport { LandingDisclaimer, LandingText } from '../../components';\nimport { LandingForm } from '../../landing-form';\n\nimport { FundraiserType } from 'features/fundraiser';\nimport { useStoreQueryParamToLocalStorage } from 'ui/hooks';\n\nexport type LeadCaptureProps = {\n fundraiserType: FundraiserType;\n page: string;\n testId?: string;\n}\n\nexport const dataTestIdLeadCapture = 'lead-capture-component';\n\nexport const LeadCapture: React.FC = ({\n fundraiserType,\n page,\n testId = dataTestIdLeadCapture,\n}) => {\n useStoreQueryParamToLocalStorage('referralsource', 'referralSource');\n const translationPath = `landing.${ fundraiserType }.${ page }`;\n\n return (\n \n \n \n \n \n );\n};\n","import React from 'react';\nimport { Box } from '@lce/slice_v2';\n\nimport { LandingDisclaimer, LandingText } from '../../components';\n\nimport { FundraiserType } from 'features/fundraiser';\nimport { useStoreQueryParamToLocalStorage } from 'ui/hooks';\n\nexport type InformationProps = {\n fundraiserType: FundraiserType;\n page: string;\n testId?: string;\n}\n\nexport const dataTestIdInformation = 'information-component';\n\nexport const Information: React.FC = ({\n fundraiserType,\n page,\n testId = dataTestIdInformation,\n}) => {\n useStoreQueryParamToLocalStorage('referralsource', 'referralSource');\n const translationPath = `landing.${ fundraiserType }.${ page }`;\n\n return (\n \n \n \n \n );\n};\n","import React from 'react';\nimport { Box } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { Templates } from '../templates';\n\nimport { FundraiserType } from 'features/fundraiser';\n\nexport type LandingContentProps = {\n fundraiserType: FundraiserType;\n page: string;\n testId?: string;\n}\n\nexport const dataTestIdLandingContent = 'landing-content-component';\n\nexport const LandingContent: React.FC = ({\n fundraiserType,\n page,\n testId = dataTestIdLandingContent,\n}) => {\n const [ t ] = useTranslation();\n const translationPath = `landing.${ fundraiserType }.${ page }`;\n const type = t(`${ translationPath }.type`);\n const LandingPage = Templates[type];\n return (\n \n \n \n );\n};\n","import React from 'react';\nimport { Box, Text } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport { RouteComponentProps } from 'react-router-dom';\n\nimport { LandingImage } from '../components';\n\nimport { theme } from 'theme';\n\nexport type LandingConfirmationProps = RouteComponentProps & {\n testId?: string;\n}\n\nexport interface MatchParams extends LandingConfirmationProps{\n page: string;\n}\nexport const dataTestIdLandingConfirmation = 'landing-confirmation-component';\n\nexport const LandingConfirmation: React.FC = ({\n testId = dataTestIdLandingConfirmation,\n match: { params },\n}) => {\n const { page } = params as MatchParams;\n const [ t ] = useTranslation();\n\n return (\n \n \n \n {t('landing.shared.confirmation.message')}\n \n \n );\n};\n","import React from 'react';\nimport { Box, Text } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { LandingImage } from '../components';\n\nimport { theme } from 'theme';\nimport { FundraiserType } from 'features/fundraiser';\nimport { useTranslationKeysAvailable } from 'ui/hooks';\n\nexport type LandingHeaderProps = {\n children?: React.ReactNode;\n fundraiserType: FundraiserType;\n page: string;\n testId?: string;\n}\n\nexport const dataTestIdLandingHeader = 'landing-header-component';\n\n// eslint-disable-next-line max-lines-per-function\nexport const LandingHeader: React.FC = ({\n fundraiserType,\n page,\n testId = dataTestIdLandingHeader,\n}) => {\n const [ t ] = useTranslation();\n const translationPath = `landing.${ fundraiserType }.${ page }`;\n const useScriptHeading = t(`${ translationPath }.useScriptHeading`);\n const heading = t(`${ translationPath }.heading`);\n const hasSubHeading = useTranslationKeysAvailable([ `${ translationPath }.subheading` ]);\n const subheading = t(`${ translationPath }.subheading`);\n return (\n \n \n {useScriptHeading ? (\n \n \n {heading}\n \n \n {subheading}\n \n \n ) : (\n \n \n {heading}\n \n {hasSubHeading && (\n \n {subheading}\n \n )}\n \n )}\n \n );\n};\n","/* eslint-disable max-len */\nimport api from '../../api';\n\nimport { ProductCategory, Product } from './types/product';\n\nimport { FundraiserType } from 'features/fundraiser';\n\nexport const fetchProduct = async(sku: string) => api.get(`api/product/${ sku }`).then(res => res);\n\nexport const fetchProducts = async() => api.get('api/product').then(res => res);\nexport const fetchProductsByFundraiserType = async(fundraiserType: FundraiserType, fundraiserId = 0) => api.get(`api/product?fundraiserType=${ fundraiserType }&fundraiserId=${ fundraiserId }`).then(res => res);\n\nexport const fetchProductCategories = async() => api.get('api/category').then(res => res);\nexport const fetchProductCategoriesByFundraiserType = async(fundraiserType: FundraiserType) => api.get(`api/category?fundraiserType=${ fundraiserType }`).then(res => res);\n","import { useQuery } from 'react-query';\n\nimport * as QueryKeys from '../../../constants/QueryKeys';\nimport { Product } from '../types';\nimport { fetchProduct } from '../api';\n\nimport { ApiError } from 'features/common';\n\nexport const useFetchProduct = (sku: string) => useQuery(`${ QueryKeys.ProductPrefix }${ sku }`,\n () => fetchProduct(sku), { retry: false, refetchOnWindowFocus: false });\n","import { useQuery } from 'react-query';\n\nimport { Product } from '../types/product';\nimport * as QueryKeys from '../../../constants/QueryKeys';\nimport { fetchProductsByFundraiserType } from '../api';\n\nimport { ApiError } from 'features/common';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\n\nexport const useFetchProductsByFundraiserType = () => {\n const { fundraiserType, fundraiserId } = useFundraiserState();\n\n return useQuery(QueryKeys.Products,\n () => fetchProductsByFundraiserType(fundraiserType, fundraiserId), {\n refetchOnWindowFocus: false,\n retry: false,\n });\n};\n\n","import { useQuery } from 'react-query';\n\nimport { ProductCategory } from '../types/product';\nimport * as QueryKeys from '../../../constants/QueryKeys';\nimport { fetchProductCategories } from '../api';\n\nexport const useFetchCategories = () => useQuery(QueryKeys.ProductCategories,\n () => fetchProductCategories(), {\n refetchOnWindowFocus: false,\n retry: false,\n });\n","import { useQuery } from 'react-query';\n\nimport { ProductCategory } from '../types/product';\nimport * as QueryKeys from '../../../constants/QueryKeys';\nimport { fetchProductCategoriesByFundraiserType } from '../api';\n\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\n\nexport const useFetchCategoriesByFundraiserType = () => {\n const { fundraiserType } = useFundraiserState();\n\n return useQuery(QueryKeys.ProductCategories,\n () => fetchProductCategoriesByFundraiserType(fundraiserType), {\n refetchOnWindowFocus: false,\n retry: false,\n });\n};\n\n","import { useTranslation } from '@lce/i18n';\n\nimport { FundraiserType, useFetchSellerBySupportGuid } from 'features/fundraiser';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\n\nexport const useFetchProductsPageRoute = (sellerSupportGuid?: string, fundraiserType?: FundraiserType) => {\n const [ t ] = useTranslation();\n const { data: seller } = useFetchSellerBySupportGuid();\n const { fundraiserType: fundraiserTypeFromState } = useFundraiserState();\n const supportGuid = sellerSupportGuid || seller?.SupportGuid;\n const route = supportGuid ? '' : 'NoSupportGuid';\n const context = fundraiserType || fundraiserTypeFromState;\n return t(`routes.productsPage${ route }`, { context, supportGuid });\n};\n","export const formatCCNum = (ccNumber, onlyNumbers) => {\n const ccNum: number[] = [];\n const approvedChar = onlyNumbers ? /^[0-9]+$/ : /^[0-9- ]+$/;\n const valueSplit = ccNumber.split('');\n valueSplit.map((num) => {\n if (onlyNumbers && approvedChar.test(num)) {\n ccNum.push(num);\n } else if (!onlyNumbers && approvedChar.test(num)) {\n ccNum.push(num);\n }\n return true;\n });\n return ccNum.join('');\n};\n","/* eslint-disable max-len */\n/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport {\n Flex, Form,\n} from '@lce/slice_v2';\nimport _map from 'lodash/map';\nimport { useTranslation } from '@lce/i18n';\nimport { useFormContext } from 'react-hook-form';\n\nimport { formatCCNum } from 'features/checkout/utils/formatCCNum';\n\nconst PaymentForm: React.FC = () => {\n const [ t ] = useTranslation();\n\n const monthName: string[] = t('checkout.PaymentMonths', { returnObjects: true });\n const year = new Date().getFullYear();\n const years = Array.from(new Array(40), (val, index) => index + year);\n const shortYear = (year: number) => +(year + '').slice(-2);\n\n const { setValue } = useFormContext();\n\n return (\n \n {\n const ccNum = formatCCNum(e.target.value.replace(/\\D/g, ''), false);\n setValue('ccNum', ccNum);\n } }\n />\n \n\n \n \n ))}\n \n \n \n ))}\n \n {\n const cvvNum = e.target.value.replace(/\\D/g, '');\n setValue('cvvNum', cvvNum);\n } }\n variant=\"forms.checkout.field\"\n />\n \n \n );\n};\n\nexport default PaymentForm;\n","import { Box, Text } from '@lce/slice_v2';\nimport React from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport { useFormContext } from 'react-hook-form';\n\nimport { Address } from 'features/common';\nimport { formatCCNum } from 'features/checkout/utils/formatCCNum';\n\ninterface IViewPaymentProps {\n showPayInfo: boolean;\n billingAddress: Address | undefined;\n}\n\nconst ViewPayment: React.FC = ({ billingAddress, showPayInfo }) => {\n const [ t ] = useTranslation();\n const { watch } = useFormContext();\n const ccNum = watch('ccNum') && formatCCNum(watch('ccNum'), true).slice(-4);\n return (\n \n \n {t('checkout.CCInformation')}\n \n \n {t('payment.PaymentLabel')}\n {' '}\n { ccNum }\n \n \n {t('checkout.BillingAddress')}\n \n \n {billingAddress?.FirstName}\n {' '}\n {billingAddress?.LastName}\n \n \n {billingAddress?.Address1}\n {' '}\n {billingAddress?.Address2}\n \n \n {billingAddress?.City}\n ,\n {' '}\n {billingAddress?.StateProvinceIso}\n {' '}\n {billingAddress?.ZipPostalCode}\n \n \n );\n};\n\nexport default ViewPayment;\n","/* eslint-disable prefer-const */\nconst validateCreditCard = (value) => {\n // accept only digits, dashes or spaces\n if ((/[^0-9-\\s]+/).test(value)) {\n return false;\n }\n\n // The Luhn Algorithm. It's so pretty.\n let nCheck = 0,\n bEven = false;\n value = value.toString().replace(/\\D/g, '');\n\n for (let n = value.length - 1;n >= 0;n--) {\n let cDigit = value.charAt(n),\n nDigit = parseInt(cDigit, 10);\n\n if (bEven) {\n if ((nDigit *= 2) > 9) {\n nDigit -= 9;\n }\n }\n\n nCheck += nDigit;\n bEven = !bEven;\n }\n\n return nCheck % 10 === 0;\n};\n\nexport default validateCreditCard;\n","import React, { useState } from 'react';\nimport { useTranslation } from '@lce/i18n';\nimport * as Yup from 'yup';\nimport {\n Box, Button, Text, Form, Flex, Option,\n} from '@lce/slice_v2';\nimport _map from 'lodash/map';\n\nimport { PaymentForm } from './PaymentForm';\nimport ViewPayment from './ViewPayment';\n\nimport validateCreditCard from 'features/checkout/utils/validateCreditCard';\nimport { Step, Mode } from 'ui/common';\nimport { Address, useFetchStates } from 'features/common';\nimport {\n useCheckoutDispatch, useCheckoutState, usePaymentDispatch, usePaymentState,\n} from 'features/checkout';\nimport { theme } from 'theme';\nimport { GoogleEvents } from 'features/analytics';\nimport { FundraiserType } from 'features/fundraiser';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\n\nexport interface IPaymentProps {\n onEdit: () => void;\n onPaymentInfoComplete: () => void;\n mode: Mode;\n isCouponItemExist: boolean | undefined;\n date?: Date;\n}\n\nexport interface IStaticBillingProps {\n address: Address;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst Payment: React.FC = ({\n mode, onEdit, onPaymentInfoComplete, isCouponItemExist, date = new Date(),\n}) => {\n const [ t ] = useTranslation();\n const { fundraiserType } = useFundraiserState();\n\n const [ sameAsShipping, setSameAsShipping ] = useState(false);\n const [ billingAddress, setBillingAddress ] = useState
();\n const [ isProductNotAvailable, setIsProductNotAvailable ] = useState(false);\n\n const { data: states } = useFetchStates(1);\n const dispatch = useCheckoutDispatch();\n const { checkout, errorCode: checkoutErrorCode, shippingAddress } = useCheckoutState();\n const paymentDispatch = usePaymentDispatch();\n const paymentState = usePaymentState();\n\n const errorCode = paymentState.code || checkoutErrorCode;\n const hasOnlyCouponItems = checkout?.Cart.every(cart => cart.IsFreeShipping === true);\n const showSameAsShipping = fundraiserType !== FundraiserType.Brochure && !hasOnlyCouponItems;\n\n const handlePaymentInfo = async(e) => {\n GoogleEvents.addPaymentInfo({\n cartTotal: checkout?.Subtotal || 0,\n products: _map(checkout?.Cart, item => ({\n name: item.ProductName,\n price: item.UnitPrice,\n id: item.ProductId.toString(),\n quantity: item.Quantity,\n })),\n });\n setBillingAddress(e);\n dispatch({ type: 'SET_BILLING_ADDRESS', address: e });\n onPaymentInfoComplete();\n\n const card = {\n cvvNum: e.cvvNum,\n expiryMonth: e.expiryMonth,\n expiryYear: e.expiryYear,\n };\n\n paymentDispatch({ type: 'SET_CARD', card });\n paymentDispatch({ type: 'SET_REVIEW_STEP' });\n };\n\n const cvvRegex = /^[0-9]{3,4}$/;\n\n const setBillingToShipping = (sameAsBilling) => {\n if (sameAsBilling && shippingAddress) {\n setBillingAddress(shippingAddress);\n setSameAsShipping(true);\n } else {\n setBillingAddress(undefined);\n setSameAsShipping(false);\n setIsProductNotAvailable(false);\n }\n };\n\n // For some reason when checked, the 'sameAsShipping' form control value is false...\n // I didn't have time to look into this but it seems backwards\n const validationSchema = Yup.object().shape({\n FirstName: Yup.string()\n .when('sameAsShipping', {\n is: false,\n then: Yup.string().required(t('payment.FirstNameReq')),\n otherwise: Yup.string(),\n }),\n ccNum: Yup.string()\n .trim()\n .test('test-card-number',\n t('payment.CardInvalid'),\n value => validateCreditCard(value))\n .required(t('payment.CardRequired')), // HERE\n expiryYear: Yup.string()\n .test('test-expiry-year', t('payment.YearInvalid'), (expiryYear) => {\n const currentYear = String(date.getFullYear()).slice(-2);\n if (!expiryYear) {\n return true;\n }\n return Number(expiryYear) >= Number(currentYear);\n })\n .required(t('payment.YearReq')),\n expiryMonth: Yup.string()\n .when('expiryYear', (expiryYear, schema, expiryMonth) => schema.test({\n test: (expiryMonth) => {\n const currentYear = String(date.getFullYear()).slice(-2);\n\n if (!expiryMonth) {\n return false;\n }\n if (!expiryYear) {\n return true;\n }\n\n return Number(expiryYear) === Number(currentYear)\n ? Number(expiryMonth) >= date.getMonth() + 1\n : true;\n },\n message: !expiryMonth.value ? `${ t('payment.MonthReq') }` : `${ t('payment.CardExpired') }`,\n })),\n cvvNum: Yup.string().matches(cvvRegex, t('payment.CVVInvalid')).required(t('payment.CVVRequired')),\n LastName: Yup.string()\n .when('sameAsShipping', {\n is: false,\n then: Yup.string().required(t('payment.LastNameReq')),\n otherwise: Yup.string(),\n }),\n Address1: Yup.string()\n .when('sameAsShipping', {\n is: false,\n then: Yup.string().required(t('payment.AddressReq')),\n otherwise: Yup.string(),\n }),\n City: Yup.string()\n .when('sameAsShipping', {\n is: false,\n then: Yup.string().required(t('payment.CityReq')),\n otherwise: Yup.string(),\n }),\n StateProvinceIso: Yup.string()\n .when('sameAsShipping', {\n is: false,\n then: Yup.string().required(t('payment.StateReq')),\n otherwise: Yup.string(),\n }),\n ZipPostalCode: Yup.string()\n .when('sameAsShipping', {\n is: false,\n then: Yup.string().required(t('payment.ZipCodeReq')),\n otherwise: Yup.string(),\n })\n .matches(/^[0-9]{5}(?:-[0-9]{4})?$/, t('fundraiser.ZipPostalCodeInvalid')),\n });\n\n return (\n <>\n {/* eslint-disable-next-line jsx-a11y/anchor-has-content */}\n \n \n \n \n { paymentState.inlineError && (\n \n {t(`payment.PaymentProcessingErrorMessages.${ errorCode }`)}\n \n )}\n \n \n \n \n \n \n\n );\n};\n\nconst StaticBillingAddress: React.FC = ({ address }) => (\n \n \n {address.FirstName}\n {' '}\n {address.LastName}\n \n \n {address.Address1}\n {' '}\n {address.Address2}\n \n \n {address.City}\n ,\n {' '}\n {address.StateProvinceIso}\n {' '}\n {address.ZipPostalCode}\n \n \n);\n\nexport default Payment;\n","import { CreateAccountRequest } from './types';\nimport { FundraiserChaipersonRegistration } from './types/response/FundraiserChaipersonRegistration';\n\nimport api from 'api';\n\nexport const createAccount = async(formData: CreateAccountRequest) => api.post('api/user', formData).then(res => res);\n\n// eslint-disable-next-line max-len\nexport const fetchChairperonInvite = async(inviteId: string) => api.get(`api/groupchairperson/${ inviteId }`).then(res => res);\n","import { useMutation } from 'react-query';\n\nimport { ApiError } from 'features/common';\nimport { CreateAccountResponse, CreateAccountRequest } from 'features/account';\nimport { createAccount } from 'features/account/api';\n\nexport const useCreateAccount = () => useMutation(createAccount);\n","import { useQuery } from 'react-query';\n\nimport * as QueryKeys from '../../../../constants/QueryKeys';\n\nimport { FundraiserChaipersonRegistration } from 'features/account/types/response/FundraiserChaipersonRegistration';\nimport { fetchChairperonInvite } from 'features/account/api';\nimport { ApiError } from 'features/common';\n\n// eslint-disable-next-line max-len\nexport const useFetchFundraiserInvite = (inviteId: string) => useQuery(`${ QueryKeys.FundraiserInvite }${ inviteId }`,\n () => fetchChairperonInvite(inviteId),\n { retry: false, refetchOnWindowFocus: false, enabled: !!inviteId });\n","/* eslint-disable max-len */\nimport * as React from 'react';\nimport {\n Flex, Text, Form,\n} from '@lce/slice_v2';\nimport { useState } from 'react';\nimport { useTranslation } from '@lce/i18n';\n\nimport en from '../../../../i18n/en-us.json';\n\nimport { useCheckoutDispatch, useCheckoutState } from 'features/checkout';\n\n// eslint-disable-next-line max-lines-per-function\nconst GiftMessaging: React.FC = () => {\n const state = useCheckoutState();\n const [ t ] = useTranslation();\n const dispatch = useCheckoutDispatch();\n const [ showGiftMessaging, setShowGiftMessaging ] = useState(false);\n\n const hasOnlyCouponItems = state.checkout?.Cart.every(cart => cart.IsFreeShipping === true);\n\n const handleOnClick = (value) => {\n if (!value) {\n dispatch({ type: 'SET_GIFT_MESSAGING', giftMessageRecipient: '', giftMessage: '' });\n }\n setShowGiftMessaging(value);\n };\n\n const handleOnChange = (value, name) => {\n let newGiftEmail = state.giftMessageRecipient;\n let newGiftMessage = state.giftMessage;\n\n if (state.giftMessageRecipient !== '') {\n if (!state.giftMessage) {\n newGiftMessage = en.translation.giftMessaging.textareaPlaceholder;\n }\n }\n if (name === 'email') {\n newGiftEmail = value;\n } else if (value === '' && name === 'message') {\n newGiftMessage = en.translation.giftMessaging.textareaPlaceholder;\n } else {\n newGiftMessage = value;\n }\n dispatch({ type: 'SET_GIFT_MESSAGING', giftMessageRecipient: newGiftEmail, giftMessage: newGiftMessage });\n };\n\n return (\n \n \n {t('giftMessaging.label')}\n \n ) }\n name=\"optGiftMessage\"\n onClick={ (e) => {\n handleOnClick(e.currentTarget.checked);\n } }\n role=\"checkbox\"\n sx={ { display: hasOnlyCouponItems ? 'none' : 'default' } }\n />\n {showGiftMessaging && (\n \n handleOnChange(e.target.value, 'email') }\n placeholder={ t('giftMessaging.emailPlaceholder') }\n sx={ { mt: '4px', p: '20px', mb: '16px' } }\n />\n handleOnChange(e.target.value, 'message') }\n placeholder={ t('giftMessaging.textareaPlaceholder') }\n rows={ 4 }\n sx={ { mt: '4px', p: '20px', resize: 'none' } }\n />\n \n { t('giftMessaging.note') }\n \n \n )}\n \n );\n};\n\nexport default GiftMessaging;\n","import * as React from 'react';\nimport {\n Box, Button, Flex, Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { GiftMessaging } from './GiftMessaging';\n\nimport { Step, Mode } from 'ui/common';\nimport { useCheckoutState } from 'features/checkout';\nimport { CartListItem } from 'ui/cart';\nimport { FundraiserType } from 'features/fundraiser';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\nimport { InlineLinkParseAndReplace } from 'ui/components';\n\nexport interface IOrderReviewProps {\n mode: Mode;\n onEdit: () => void;\n onPlaceOrder: () => void;\n}\n\nconst OrderReview: React.FC = ({\n mode, onEdit, onPlaceOrder,\n}) => {\n const [ t ] = useTranslation();\n const { fundraiserType } = useFundraiserState();\n\n const checkout = useCheckoutState();\n\n return (\n \n \n \n { checkout && checkout.checkout &&\n checkout.checkout.Cart.map(item => (\n \n ))}\n { fundraiserType !== FundraiserType.Brochure && }\n \n { t('checkout.PlaceOrder') }\n \n \n { t('checkout.OrderReview.DeliveryInfo', { context: fundraiserType }) }\n \n \n \n \n \n \n \n );\n};\n\nexport default OrderReview;\n","/* eslint-disable max-len */\nimport * as React from 'react';\nimport {\n Box, Button, Flex, Text,\n} from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\n\nimport { Step, Mode } from 'ui/common';\nimport { useCheckoutState } from 'features/checkout';\nimport { CartListItem } from 'ui/cart';\nimport { InlineLinkParseAndReplace } from 'ui/components';\n\nexport interface IOrderReviewProps {\n mode: Mode;\n onEdit: () => void;\n onPlaceOrder: () => void;\n}\n\n// eslint-disable-next-line max-lines-per-function\nexport const OrderReviewMD: React.FC = ({\n mode, onEdit, onPlaceOrder,\n}) => {\n const [ t ] = useTranslation();\n\n const checkout = useCheckoutState();\n\n return (\n \n \n \n { checkout && checkout.checkout &&\n checkout.checkout.Cart.map(item => (\n \n ))}\n \n { t('checkout.PlaceOrder') }\n \n \n \n \n \n \n \n );\n};\n","import React from 'react';\nimport {\n Flex, Text, Form, Modal as SliceModal, IModalProps as SliceModalProps, Button,\n} from '@lce/slice_v2';\n\nimport { Address } from 'features/common';\n\nexport interface IModalProps {\n onSelect: (selection: string) => void;\n suggestedAddress: Address | undefined;\n originalAddress: Address | undefined;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst AddressConfirmModal: React.FC = (props) => {\n const handleOnSubmit = (e) => {\n props.onSelect(e.address);\n props.onClose();\n };\n\n return (\n \n \n handleOnSubmit(e) }\n >\n \n \n \n \n \n {props.originalAddress?.Address1}\n {' '}\n {props.originalAddress?.Address2}\n \n \n {`${ props.originalAddress?.City }\n ${ props.originalAddress?.StateProvinceIso },\n ${ props.originalAddress?.ZipPostalCode }`}\n \n \n \n \n \n \n \n {props.suggestedAddress?.Address1}\n {' '}\n {props.suggestedAddress?.Address2}\n \n \n {`${ props.suggestedAddress?.City }\n ${ props.suggestedAddress?.StateProvinceIso },\n ${ props.suggestedAddress?.ZipPostalCode }`}\n \n \n \n \n \n Confirm\n \n \n \n \n );\n};\n\nexport default AddressConfirmModal;\n","/* eslint-disable max-lines-per-function */\nimport React, { useEffect, useState } from 'react';\nimport { Box } from '@lce/slice_v2';\nimport { useTranslation } from '@lce/i18n';\nimport { useOktaAuth } from '@okta/okta-react';\n\nimport { ShippingDetails, ShippingDetailsSummary } from '../ShippingDetails';\nimport { AddressConfirmModal } from '../CheckoutModals/AddressConfirmModal';\nimport { IShippingDetails, IDetailsSummaryProps } from '../ShippingDetails/types';\n\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\nimport { Step, Mode } from 'ui/common';\nimport {\n useAddressValidation, useCheckoutDispatch, usePaymentDispatch,\n} from 'features/checkout';\nimport { Address, useUserInfo } from 'features/common';\nimport { FundraiserType } from 'features/fundraiser';\n\nexport interface IDetailsProps {\n onEdit: () => void;\n onVerified: () => void;\n mode: Mode;\n hasOnlyCouponItems: boolean | undefined;\n hasOnlyDonationItems?: boolean;\n isCouponItemExist: boolean | undefined;\n ShippingDetailsComponent?: React.FC;\n ShippingDetailsSummaryComponent?: React.FC;\n defaultShippingDetails?: Address;\n defaultAddressModalVisibility?: boolean;\n isChairperson?: boolean | undefined;\n}\n\n// eslint-disable-next-line max-lines-per-function\nconst Details: React.FC = ({\n mode,\n onEdit,\n onVerified,\n hasOnlyCouponItems,\n hasOnlyDonationItems = false,\n isCouponItemExist,\n ShippingDetailsComponent = ShippingDetails,\n ShippingDetailsSummaryComponent = ShippingDetailsSummary,\n defaultShippingDetails,\n defaultAddressModalVisibility = false,\n isChairperson,\n}) => {\n const [ t ] = useTranslation();\n const dispatch = useCheckoutDispatch();\n const paymentDispatch = usePaymentDispatch();\n const { fundraiserType } = useFundraiserState();\n\n const [ shippingDetails, setShippingDetails ] = useState
(defaultShippingDetails);\n const [ suggestedAddress, setSuggestedAddress ] = useState
(undefined);\n const { mutateAsync: validateAddress, isLoading } = useAddressValidation();\n const [ isAddressModalOpen, setIsAddressModalOpen ] = useState(defaultAddressModalVisibility);\n\n const { authState } = useOktaAuth();\n const { data: user, isLoading: userLoading } = useUserInfo(authState.isAuthenticated);\n\n useEffect(() => {\n if (user) {\n const {\n Phone, FirstName, LastName, Email,\n } = user;\n\n setShippingDetails(shippingDetails => ({\n ...shippingDetails,\n Email,\n LastName,\n FirstName,\n PhoneNumber: Phone,\n ConfirmEmailAddress: Email,\n } as Address));\n }\n }, [ user ]);\n\n const onAddressConfirmHandler = (selection: string) => {\n const selectedAddress = selection === 'suggested' ? suggestedAddress : shippingDetails;\n if (selectedAddress) {\n dispatch({ type: 'SET_SHIPPING_ADDRESS', address: selectedAddress });\n setShippingDetails(selectedAddress);\n onVerified();\n }\n };\n\n const shippingDetailsHandler = async(details: Address, shouldValidateAddress: boolean | undefined) => {\n setShippingDetails(details);\n const data = shouldValidateAddress ? await validateAddress(details) : undefined;\n\n if (!data) {\n dispatch({ type: 'SET_SHIPPING_ADDRESS', address: details });\n setShippingDetails(details);\n onVerified();\n paymentDispatch({ type: 'SET_PAYMENT_STEP' });\n }\n\n if (data) {\n setSuggestedAddress(data?.ValidatedAddress);\n if (data.ShowSuggested) {\n setIsAddressModalOpen(true);\n } else {\n dispatch({ type: 'SET_SHIPPING_ADDRESS', address: details });\n setShippingDetails(details);\n onVerified();\n paymentDispatch({ type: 'SET_PAYMENT_STEP' });\n }\n }\n };\n\n return (\n <>\n { mode === 'active' && !userLoading && (\n \n \n \n \n \n )}\n\n { mode === 'preview' && (\n \n \n { shippingDetails ? (\n \n ) : null}\n \n \n )}\n\n {isAddressModalOpen && (\n {\n setIsAddressModalOpen(false);\n paymentDispatch({ type: 'SET_PAYMENT_STEP' });\n } }\n onSelect={ onAddressConfirmHandler }\n originalAddress={ shippingDetails }\n suggestedAddress={ suggestedAddress }\n />\n )}\n \n\n );\n};\n\nexport default Details;\n","import React from 'react';\nimport {\n Modal, Flex, Text, Button, IconButton,\n} from '@lce/slice_v2';\nimport { X } from 'react-feather';\n\nexport type ConfirmSubmissionModalProps = {\n isOpen: boolean;\n onSubmit: () => void;\n onCancel: () => void;\n submitButtonText: string;\n cancelButtonText: string;\n testId?: string;\n}\n\nexport const dataTestIdConfirmSubmissionModal = 'confirm-submission-modal-component';\n\nexport const ConfirmSubmissionModal: React.FC = ({\n isOpen,\n onSubmit,\n onCancel,\n testId = dataTestIdConfirmSubmissionModal,\n children,\n submitButtonText,\n cancelButtonText,\n}) => (\n \n \n \n \n \n \n \n \n {children}\n \n \n \n {submitButtonText}\n \n \n {cancelButtonText}\n \n \n \n \n);\n","import React from 'react';\nimport { Box, Flex } from '@lce/slice_v2';\nimport { ThemeUIStyleObject } from 'theme-ui';\n\nexport type DescriptionList = {\n term: string;\n description: string;\n}\n\nexport type KeyValuePairsProps = {\n list: DescriptionList[];\n sx?: ThemeUIStyleObject;\n testId?: string;\n}\n\nexport const dataTestIdKeyValuePairs = 'key-value-pairs-component';\n\nexport const KeyValuePairs: React.FC = ({\n list,\n sx = {},\n testId = dataTestIdKeyValuePairs,\n}) => (\n dl': { margin: 0 },\n ...sx,\n } }\n >\n
\n {list.map(({ term, description }) => (\n dd': { marginInlineStart: '4px' } } }>\n
\n {term}\n :\n
\n
\n {description}\n
\n
\n ))}\n
\n \n);\n","import { ContactUsRequest } from './types';\n\nimport api from 'api';\n\nconst submitContactRequest = (request: ContactUsRequest) => api.post('api/contact', request).then(res => res);\n\nexport { submitContactRequest };\n","import { useMutation } from 'react-query';\n\nimport { submitContactRequest } from '../api';\nimport { ContactUsRequest } from '../types';\n\nimport { ApiError, ApiResponse } from 'features/common';\n\nconst useContactUs = () => useMutation(submitContactRequest);\n\nexport default useContactUs;\n","/* eslint-disable max-lines-per-function */\nimport React from 'react';\nimport {\n Box, Text, Flex, Image,\n} from '@lce/slice_v2';\n\nimport { InlineLinkParseAndReplace, TextToLink } from 'ui/components/links/inline-link-parse-and-replace';\n\nexport type IconStepsProps = {\n testId?: string;\n iconSrc: string;\n title: string;\n subtitle?: string;\n body: string;\n wordsToLink?: TextToLink[];\n}\n\nexport const dataTestIdIconSteps = 'icon-steps-component';\n\nexport const IconSteps: React.FC = ({\n testId = dataTestIdIconSteps,\n iconSrc,\n title,\n subtitle,\n body,\n wordsToLink,\n}) => (\n \n \n \n { title }\n \n \n {subtitle && (\n \n {subtitle}\n \n )}\n \n { wordsToLink\n ? ()\n : body }\n \n \n \n);\n\n","import React, { useState } from 'react';\nimport {\n Layer, Box, Text, Spinner,\n} from '@lce/slice_v2';\nimport { noop } from 'lodash';\nimport { useTranslation } from '@lce/i18n';\n\nimport { Modal } from 'ui/common';\n\nexport interface IPaymentFailedModalProps {\n openModal: boolean;\n onClose: () => void;\n}\n\nexport interface IOrderFailedModalProps {\n openModal: boolean;\n onClose: () => void;\n}\n\nexport interface IProcessingOrderOverlayProps {\n openOverlay: boolean;\n}\n\nconst CheckoutDisabledModal: React.FC = () => {\n const [ isOpen, setIsOpen ] = useState(true);\n return (\n setIsOpen(false) }\n />\n );\n};\n\nconst CheckoutNoFundraiserModal: React.FC = () => {\n const [ isOpen, setIsOpen ] = useState(true);\n return (\n setIsOpen(false) }\n />\n );\n};\n\nconst OrderFailMessage = () => {\n const [ t ] = useTranslation();\n return (\n <>\n
\n { t('checkout.OrderProcessError.message1') }\n
\n
\n { t('checkout.OrderProcessError.message2') }\n
\n \n );\n};\n\nconst PlaceOrderFailedPayment: React.FC = ({ openModal, onClose }) => {\n const [ isOpen, setIsOpen ] = useState(openModal);\n const [ t ] = useTranslation();\n\n return (\n }\n onClose={ () => {\n setIsOpen(false);\n onClose();\n } }\n />\n );\n};\n\nconst OrderProcessingOverlay: React.FC = ({ openOverlay }) => (\n noop }\n overlay={ true }\n >\n \n \n Processing your order...\n \n \n \n \n);\n\nexport {\n CheckoutDisabledModal,\n PlaceOrderFailedPayment,\n CheckoutNoFundraiserModal,\n OrderProcessingOverlay,\n};\n","import React, { useState, useEffect, ReactElement } from 'react';\nimport { useOktaAuth } from '@okta/okta-react';\nimport { useTranslation } from '@lce/i18n';\nimport {\n Flex, Box, Spinner, Container,\n} from '@lce/slice_v2';\nimport { Helmet } from 'react-helmet-async';\n\nimport { ICheckoutWrapperChildrenProps } from 'ui/checkout/Types/ICheckoutWrapperChildrenProps';\nimport { Login } from 'ui/checkout/Login';\nimport { CheckoutProcess } from 'ui/checkout/CheckoutProcess';\nimport { CheckoutOrderSummary } from 'ui/checkout/OrderSummary';\nimport { CheckoutProvider, PaymentProvider } from 'features/checkout';\nimport { useFundraiserState } from 'features/fundraiser/context/fundraiserContext';\n\nexport interface ICheckoutWrapperProps {\n children: (props: ICheckoutWrapperChildrenProps) => ReactElement;\n LoginComponent?: React.FC;\n shouldDisplayShipping?: boolean;\n shouldDisplaySubtotal?: boolean;\n}\n\n// eslint-disable-next-line max-lines-per-function\nexport const CheckoutWrapper: React.FC = ({\n children,\n LoginComponent = Login,\n shouldDisplayShipping = true,\n shouldDisplaySubtotal = true,\n}) => {\n const [ t ] = useTranslation();\n const { fundraiserType } = useFundraiserState();\n\n const [ guest, setGuest ] = useState(false);\n const [ auth, setAuth ] = useState(false);\n const [ loading, setLoading ] = useState(true);\n\n const { authState } = useOktaAuth();\n\n const onGuestCallback = () => {\n setGuest(true);\n };\n\n useEffect(() => {\n if (authState && authState.isAuthenticated) {\n setAuth(true);\n setGuest(false);\n setLoading(false);\n } else if (authState) {\n setLoading(false);\n }\n }, [ authState ]);\n\n const LoginBody = ;\n\n const CheckoutBody = (\n
\n \n