@axos-web-dev/shared-components 1.0.99 → 1.0.100-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ATMLocator/ATMLocator.js +8 -1
- package/dist/Accordion/Accordion.css.js +1 -1
- package/dist/Accordion/Accordion.js +2 -2
- package/dist/AlertBanner/AlertBanner.css.js +1 -1
- package/dist/AlertBanner/index.js +1 -1
- package/dist/Article/Article.css.js +1 -1
- package/dist/ArticlesSet/ArticlesSet.css.js +1 -1
- package/dist/ArticlesSet/ArticlesSet.js +2 -2
- package/dist/Auth/ErrorAlert.css.js +1 -1
- package/dist/Auth/ErrorAlert.js +11 -4
- package/dist/Auth/Logout.js +1 -1
- package/dist/Auth/SignIn.css.js +1 -1
- package/dist/Auth/SignInPassword.js +1 -1
- package/dist/Avatar/Avatar.module.js +1 -1
- package/dist/AwardsBanner/AwardsBanner.css.js +1 -1
- package/dist/AwardsItem/AwardsItem.css.js +1 -1
- package/dist/Blockquote/Blockquote.module.js +3 -3
- package/dist/BulletItem/BulletItem.css.js +1 -1
- package/dist/BulletItem/BulletItem.js +1 -1
- package/dist/Button/Button.css.js +1 -1
- package/dist/Button/Button.js +10 -3
- package/dist/Calculators/AnnualFeeCalculator/AnnualFeeCalculator.css.js +1 -1
- package/dist/Calculators/ApyCalculator/ApyCalculator.css.js +1 -1
- package/dist/Calculators/AxosOneCalculator/BalanceAPYCalculator.css.js +1 -1
- package/dist/Calculators/AxosOneCalculator/index.js +2 -2
- package/dist/Calculators/BalanceAPYCalculator/BalanceAPYCalculator.css.js +1 -1
- package/dist/Calculators/BalanceAPYCalculator/index.js +2 -2
- package/dist/Calculators/BuyDownCalculator/BuyDownCalculator.css.js +1 -1
- package/dist/Calculators/BuyDownCalculator/index.js +2 -2
- package/dist/Calculators/Calculator.js +22 -3
- package/dist/Calculators/MarginTradingCalculator/MarginTradingCalculator.css.js +1 -1
- package/dist/Calculators/MarginTradingCalculator/index.js +2 -2
- package/dist/Calculators/MarineLoanMonthlyPaymentCalculator/index.d.ts +9 -0
- package/dist/Calculators/MarineLoanMonthlyPaymentCalculator/index.js +219 -0
- package/dist/Calculators/MaxLoanCalculator/index.js +22 -5
- package/dist/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.d.ts +1 -0
- package/dist/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js +3 -1
- package/dist/Calculators/MonthlyPaymentCalculator/index.js +15 -5
- package/dist/Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js +1 -1
- package/dist/Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js +1 -1
- package/dist/Calculators/SummitApyCalculator/index.js +2 -2
- package/dist/Calculators/calculator.css.js +1 -1
- package/dist/Calculators/index.d.ts +2 -1
- package/dist/Calculators/index.js +3 -1
- package/dist/CallToActionBar/CallToActionBar.css.js +1 -1
- package/dist/CallToActionBar/index.js +1 -1
- package/dist/Carousel/Carousel.css.js +1 -1
- package/dist/Carousel/index.js +11 -4
- package/dist/Chatbot/Bubble.css.d.ts +3 -0
- package/dist/Chatbot/Bubble.css.js +9 -0
- package/dist/Chatbot/Bubble.d.ts +3 -0
- package/dist/Chatbot/Bubble.js +34 -0
- package/dist/Chatbot/Chat.d.ts +1 -0
- package/dist/Chatbot/Chat.js +165 -0
- package/dist/Chatbot/ChatWindow.css.d.ts +7 -0
- package/dist/Chatbot/ChatWindow.css.js +17 -0
- package/dist/Chatbot/ChatWindow.d.ts +23 -0
- package/dist/Chatbot/ChatWindow.js +261 -0
- package/dist/Chatbot/Chatbot.css.d.ts +1 -0
- package/dist/Chatbot/Chatbot.css.js +5 -0
- package/dist/Chatbot/Chatbot.css.ts.vanilla.css.js +1 -0
- package/dist/Chatbot/Chatbot.d.ts +1 -0
- package/dist/Chatbot/Chatbot.js +39 -0
- package/dist/Chatbot/authenticate.d.ts +3 -0
- package/dist/Chatbot/authenticate.js +16 -0
- package/dist/Chatbot/index.d.ts +9 -0
- package/dist/Chatbot/index.js +29 -0
- package/dist/Chatbot/store/chat.d.ts +9 -0
- package/dist/Chatbot/store/chat.js +11 -0
- package/dist/Chatbot/store/messages.d.ts +14 -0
- package/dist/Chatbot/store/messages.js +12 -0
- package/dist/Chatbot/useHeadlessChat.d.ts +22 -0
- package/dist/Chatbot/useHeadlessChat.js +157 -0
- package/dist/Chevron/Chevron.css.js +1 -1
- package/dist/Chevron/index.js +11 -4
- package/dist/CollectInformationAlert/CollectInformationAlert.css.js +1 -1
- package/dist/CollectInformationAlert/index.js +1 -1
- package/dist/Comparison/Comparison.css.js +1 -1
- package/dist/Comparison/Comparison.js +11 -4
- package/dist/Comparison/ComparisonSet.js +1 -1
- package/dist/ContentBanner/ContentBanner.css.js +1 -1
- package/dist/DownloadTile/DownloadTile.css.js +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.css.js +1 -1
- package/dist/ExecutiveBio/ExecutiveBio.js +10 -3
- package/dist/FaqAccordion/FaqAccordion.css.js +1 -1
- package/dist/FaqAccordion/index.js +11 -4
- package/dist/FdicCallout/FdicCallout.module.js +1 -1
- package/dist/FooterDisclosure/FooterDisclosure.css.js +1 -1
- package/dist/FooterDisclosure/LVF/LaVictorieFooter.css.js +1 -1
- package/dist/FooterDisclosure/LVF/LaVictorieFooter.js +2 -2
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.css.js +1 -1
- package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +10 -3
- package/dist/Forms/ApplicationStart.d.ts +1 -1
- package/dist/Forms/ApplicationStart.js +113 -91
- package/dist/Forms/ApplyNow.d.ts +2 -2
- package/dist/Forms/ApplyNow.js +178 -146
- package/dist/Forms/ClearingForm.d.ts +1 -1
- package/dist/Forms/ClearingForm.js +186 -164
- package/dist/Forms/CommercialDeposits.d.ts +1 -1
- package/dist/Forms/CommercialDeposits.js +203 -181
- package/dist/Forms/CommercialLending.d.ts +1 -1
- package/dist/Forms/CommercialLending.js +280 -258
- package/dist/Forms/CommercialPremiumFinance.d.ts +1 -1
- package/dist/Forms/CommercialPremiumFinance.js +129 -107
- package/dist/Forms/ContactCompany.d.ts +1 -1
- package/dist/Forms/ContactCompany.js +115 -93
- package/dist/Forms/ContactCompanyTitle.d.ts +1 -1
- package/dist/Forms/ContactCompanyTitle.js +129 -107
- package/dist/Forms/ContactUs.d.ts +1 -1
- package/dist/Forms/ContactUs.js +101 -79
- package/dist/Forms/ContactUsAAS.d.ts +1 -1
- package/dist/Forms/ContactUsAAS.js +182 -160
- package/dist/Forms/ContactUsBusiness.d.ts +1 -1
- package/dist/Forms/ContactUsBusiness.js +144 -116
- package/dist/Forms/ContactUsBusinessNameEmail.d.ts +1 -1
- package/dist/Forms/ContactUsBusinessNameEmail.js +113 -85
- package/dist/Forms/ContactUsLVF.d.ts +3 -1
- package/dist/Forms/ContactUsLVF.js +129 -103
- package/dist/Forms/ContactUsNMLSId.d.ts +1 -1
- package/dist/Forms/ContactUsNMLSId.js +127 -99
- package/dist/Forms/CpraRequest.d.ts +1 -1
- package/dist/Forms/CpraRequest.js +643 -621
- package/dist/Forms/CraPublicFile.d.ts +1 -1
- package/dist/Forms/CraPublicFile.js +119 -91
- package/dist/Forms/DealerServices.d.ts +1 -1
- package/dist/Forms/DealerServices.js +227 -206
- package/dist/Forms/EmailOnly.d.ts +1 -1
- package/dist/Forms/EmailOnly.js +66 -40
- package/dist/Forms/EmailUs.d.ts +1 -1
- package/dist/Forms/EmailUs.js +77 -55
- package/dist/Forms/FormProps.d.ts +3 -0
- package/dist/Forms/Forms.css.d.ts +18 -0
- package/dist/Forms/Forms.css.js +45 -39
- package/dist/Forms/HoneyPot/HoneyPot.css.d.ts +1 -0
- package/dist/Forms/HoneyPot/HoneyPot.css.js +5 -0
- package/dist/Forms/HoneyPot/index.d.ts +23 -0
- package/dist/Forms/HoneyPot/index.js +69 -0
- package/dist/Forms/MortgageRate/MortgageRateForm.d.ts +1 -1
- package/dist/Forms/MortgageRate/MortgageRateForm.js +377 -349
- package/dist/Forms/MortgageRate/MortgageRateQuoteFilters.js +1 -1
- package/dist/Forms/MortgageRate/MortgageRateWatch.js +10 -3
- package/dist/Forms/MortgageWarehouseLending.d.ts +11 -0
- package/dist/Forms/MortgageWarehouseLending.js +343 -0
- package/dist/Forms/QuickPricer/QuickPricerForm.d.ts +1 -1
- package/dist/Forms/QuickPricer/QuickPricerForm.js +627 -612
- package/dist/Forms/QuickPricer/QuickPricerResults.css.js +1 -1
- package/dist/Forms/QuickPricer/UserInformation.css.js +1 -1
- package/dist/Forms/ScheduleCall.d.ts +1 -1
- package/dist/Forms/ScheduleCall.js +158 -136
- package/dist/Forms/ScheduleCallPremier.d.ts +1 -1
- package/dist/Forms/ScheduleCallPremier.js +180 -158
- package/dist/Forms/SuccesForm.js +14 -7
- package/dist/Forms/VendorQuestionnaire.d.ts +1 -1
- package/dist/Forms/VendorQuestionnaire.js +818 -796
- package/dist/Forms/WcplSurvey.d.ts +1 -1
- package/dist/Forms/WcplSurvey.js +114 -92
- package/dist/Forms/applynow-utils.d.ts +1 -0
- package/dist/Forms/applynow-utils.js +48 -0
- package/dist/Forms/index.d.ts +3 -0
- package/dist/Forms/index.js +12 -2
- package/dist/HelpArticle/HelpArticle.css.js +1 -1
- package/dist/HeroBanner/HeroBanner.css.js +1 -1
- package/dist/HeroBanner/HeroBanner.js +44 -3
- package/dist/HeroBanner/LargeBanner.css.js +1 -1
- package/dist/HeroBanner/SelectionBanner.css.js +1 -1
- package/dist/Hyperlink/Hyperlink.css.js +1 -1
- package/dist/Hyperlink/index.js +10 -3
- package/dist/IconBillboard/IconBillboard.css.js +1 -1
- package/dist/IconBillboard/IconBillboard.js +1 -1
- package/dist/IconBillboard/sections/CallToActionSection.js +2 -1
- package/dist/ImageBillboard/ExitIntentModal/useExitIntentModal.js +6 -1
- package/dist/ImageBillboard/ImageBillboard.css.js +1 -1
- package/dist/ImageBillboard/ImageBillboard.js +1 -1
- package/dist/ImageBillboard/ImageBillboardSet.js +2 -2
- package/dist/ImageLink/ImageLink.css.js +1 -1
- package/dist/ImageLink/ImageLink.js +10 -3
- package/dist/ImageLink/ImageLinkSet.js +10 -3
- package/dist/ImageLink/index.js +10 -3
- package/dist/Input/Checkbox.css.js +1 -1
- package/dist/Input/Dropdown.css.js +1 -1
- package/dist/Input/Input.css.js +1 -1
- package/dist/Input/Input.js +3 -1
- package/dist/Input/RadioButton.css.js +1 -1
- package/dist/Inputs/Input.css.js +1 -1
- package/dist/Insight/Featured/CategorySelector.css.js +1 -1
- package/dist/Insight/Featured/CategorySelector.js +12 -5
- package/dist/Insight/Featured/Featured.css.js +1 -1
- package/dist/Insight/Featured/Featured.js +11 -4
- package/dist/Insight/Featured/Header.css.js +1 -1
- package/dist/Insight/Featured/Header.js +11 -4
- package/dist/Insight/Insight.css.js +1 -1
- package/dist/Interstitial/Interstitial-variants.css.js +1 -1
- package/dist/Interstitial/Interstitial.module.js +1 -1
- package/dist/LandingPageHeader/LandingPageHeader.css.js +1 -1
- package/dist/LandingPageHeader/LandingPageHeader.js +1 -1
- package/dist/LoadingIndicator/LoadingIndicator.css.js +1 -1
- package/dist/Modal/Modal.css.js +1 -1
- package/dist/Modal/Modal.js +10 -3
- package/dist/Modal/contextApi/store.js +1 -1
- package/dist/NavigationMenu/AxosALTS/NavBar.css.js +1 -1
- package/dist/NavigationMenu/AxosALTS/NavBar.module.js +1 -1
- package/dist/NavigationMenu/AxosALTS/NavData.js +10 -3
- package/dist/NavigationMenu/AxosALTS/index.js +10 -3
- package/dist/NavigationMenu/AxosAdvisor/NavBar.css.js +1 -1
- package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +1 -1
- package/dist/NavigationMenu/AxosAdvisor/SubNavbar.css.js +1 -1
- package/dist/NavigationMenu/AxosAdvisorServices/NavBar.css.js +1 -1
- package/dist/NavigationMenu/AxosAdvisorServices/NavBar.module.js +1 -1
- package/dist/NavigationMenu/AxosAdvisorServices/SubNavbar.css.js +1 -1
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +16 -16
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +1 -0
- package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +25 -7
- package/dist/NavigationMenu/AxosBank/NavBar.css.js +1 -1
- package/dist/NavigationMenu/AxosBank/NavBar.module.js +39 -39
- package/dist/NavigationMenu/AxosBank/NavData.js +10 -3
- package/dist/NavigationMenu/AxosBank/SubNavBar.js +32 -8
- package/dist/NavigationMenu/AxosBank/SubNavbar.css.js +1 -1
- package/dist/NavigationMenu/AxosBank/index.js +10 -3
- package/dist/NavigationMenu/AxosClearing/NavBar.css.js +1 -1
- package/dist/NavigationMenu/AxosClearing/NavBar.module.js +1 -1
- package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +1 -1
- package/dist/NavigationMenu/LaVictoire/NavBar.css.js +1 -1
- package/dist/NavigationMenu/LaVictoire/NavBar.module.js +1 -1
- package/dist/NavigationMenu/LaVictoire/NavData.js +10 -3
- package/dist/NavigationMenu/LaVictoire/index.js +10 -3
- package/dist/NavigationMenu/NavDataJson.d.ts +2 -0
- package/dist/NavigationMenu/NavDataJson.js +315 -0
- package/dist/NavigationMenu/Navbar.d.ts +5 -0
- package/dist/NavigationMenu/Navbar.js +201 -0
- package/dist/NavigationMenu/SignInNavButton.d.ts +1 -0
- package/dist/NavigationMenu/SignInNavButton.js +369 -0
- package/dist/PageNavItem/PageNavItem.css.js +1 -1
- package/dist/PageNavSet/PageNavSet.js +1 -1
- package/dist/PageNavSet/PageNavigationSet.css.js +1 -1
- package/dist/Pagination/Pagination.css.js +1 -1
- package/dist/Pagination/Pagination.js +2 -2
- package/dist/SecondaryFooter/SecondaryFooter.css.js +1 -1
- package/dist/SecondaryFooter/index.js +1 -1
- package/dist/SetContainer/SetContainer.css.js +1 -1
- package/dist/SetContainer/SetContainer.js +11 -4
- package/dist/SocialMediaBar/SocialMediaBar.css.js +1 -1
- package/dist/SocialMediaBar/iconsRepository.js +10 -3
- package/dist/StepItem/StepItem.css.js +1 -1
- package/dist/StepItemSet/StepItemSet.css.js +1 -1
- package/dist/Tab/Tab.css.js +1 -1
- package/dist/Table/Table.css.js +1 -1
- package/dist/Table/Table.js +2 -2
- package/dist/TextBlock/TextBlock.css.js +1 -1
- package/dist/TextBlock/TextBlock.js +1 -1
- package/dist/Topic/Topic.css.js +1 -1
- package/dist/TopicalNavItem/TopicalNavItem.css.js +1 -1
- package/dist/TopicalNavSet/TopicalNavSet.css.js +1 -1
- package/dist/Typography/Typography.css.js +1 -1
- package/dist/VideoTile/VideoTile.css.js +1 -1
- package/dist/VideoTile/VideoTile.js +10 -3
- package/dist/VideoWrapper/VideoWrapper.css.js +1 -1
- package/dist/VideoWrapper/index.js +10 -3
- package/dist/WalnutIframe/wrapper.module.js +1 -1
- package/dist/assets/Blockquote/Blockquote.css.css +68 -68
- package/dist/assets/Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css +3 -0
- package/dist/assets/Chatbot/Bubble.css +51 -0
- package/dist/assets/Chatbot/ChatWindow.css +68 -0
- package/dist/assets/Forms/Forms.css +135 -105
- package/dist/assets/Forms/HoneyPot/HoneyPot.css +8 -0
- package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css.css +191 -191
- package/dist/assets/NavigationMenu/AxosBank/NavBar.css.css +473 -473
- package/dist/assets/utils/optimizeImage/optimizeImage.css.css +47 -47
- package/dist/globals.css.js +1 -1
- package/dist/icons/ArrowIcon/ArrowIcon.css.js +1 -1
- package/dist/icons/CheckIcon/CheckIcon.css.js +1 -1
- package/dist/icons/DownloadIcon/DownloadIcon.css.js +1 -1
- package/dist/icons/FollowIcon/FollowIcon.css.js +1 -1
- package/dist/icons/Logos/AXB.d.ts +8 -0
- package/dist/icons/Logos/AXB.js +74 -0
- package/dist/icons/Star/Star.css.js +1 -1
- package/dist/index.css.js +1 -1
- package/dist/main.d.ts +1 -0
- package/dist/main.js +41 -3
- package/dist/themes/axos.css.js +1 -1
- package/dist/themes/premier.css.js +1 -1
- package/dist/themes/victorie.css.js +1 -1
- package/dist/utils/allowedAxosDomains.js +2 -1
- package/dist/utils/optimizeImage/optimizeImage.module.js +3 -3
- package/package.json +136 -133
|
@@ -0,0 +1,219 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { button } from "../../Button/Button.css.js";
|
|
4
|
+
import { title } from "../../IconBillboard/IconBillboard.css.js";
|
|
5
|
+
import "../../utils/allowedAxosDomains.js";
|
|
6
|
+
import { getVariant } from "../../utils/getVariant.js";
|
|
7
|
+
import clsx from "clsx";
|
|
8
|
+
import { useState } from "react";
|
|
9
|
+
import { calc_text, description_text, calc_disclosure } from "../BalanceAPYCalculator/BalanceAPYCalculator.css.js";
|
|
10
|
+
import { calculator } from "../calculator.css.js";
|
|
11
|
+
import { calc_container, container, h2i, inputs_container, input_container, input_box, error_message, hide_select_arrow, calculation_header, payment_results } from "../MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
12
|
+
const MarineLoanMonthlyPaymentCalculator = ({ variant, header, disclosure, bodyCopy = true }) => {
|
|
13
|
+
const fullVariant = getVariant(variant);
|
|
14
|
+
const [loanAmountDisplay, setLoanAmountDisplay] = useState("$75,000");
|
|
15
|
+
const [loanAmount, setLoanAmount] = useState(75e3);
|
|
16
|
+
const [loanDuration, setLoanDuration] = useState(240);
|
|
17
|
+
const [interestRateDisplay, setInterestRateDisplay] = useState("8.25%");
|
|
18
|
+
const [interestRate, setInterestRate] = useState("8.25");
|
|
19
|
+
const [estimatedPayment, setEstimatedPayment] = useState(0);
|
|
20
|
+
const [loanAmountError, setLoanAmountError] = useState(null);
|
|
21
|
+
const [interestRateError, setInterestRateError] = useState(
|
|
22
|
+
null
|
|
23
|
+
);
|
|
24
|
+
const formatToCurrency = (value) => {
|
|
25
|
+
const numericValue = parseFloat(value.replace(/[^0-9.]/g, ""));
|
|
26
|
+
if (isNaN(numericValue)) {
|
|
27
|
+
return "";
|
|
28
|
+
}
|
|
29
|
+
return numericValue.toLocaleString("en-US", {
|
|
30
|
+
style: "currency",
|
|
31
|
+
currency: "USD",
|
|
32
|
+
minimumFractionDigits: 0,
|
|
33
|
+
maximumFractionDigits: 0
|
|
34
|
+
});
|
|
35
|
+
};
|
|
36
|
+
const validateInputs = () => {
|
|
37
|
+
let isValid = true;
|
|
38
|
+
if (!loanAmount || isNaN(loanAmount) || loanAmount < 75e3 || loanAmount > 5e6) {
|
|
39
|
+
setLoanAmountError(
|
|
40
|
+
"Please enter an amount between $75,000 and $5,000,000."
|
|
41
|
+
);
|
|
42
|
+
isValid = false;
|
|
43
|
+
} else {
|
|
44
|
+
setLoanAmountError(null);
|
|
45
|
+
}
|
|
46
|
+
if (!interestRate || isNaN(parseFloat(interestRate)) || parseFloat(interestRate) === 0) {
|
|
47
|
+
setInterestRateError("Please enter an Interest Rate.");
|
|
48
|
+
isValid = false;
|
|
49
|
+
} else {
|
|
50
|
+
setInterestRateError(null);
|
|
51
|
+
}
|
|
52
|
+
return isValid;
|
|
53
|
+
};
|
|
54
|
+
const handleLoanAmountChange = (event) => {
|
|
55
|
+
const value = event.target.value;
|
|
56
|
+
const formattedValue = formatToCurrency(value);
|
|
57
|
+
setLoanAmountDisplay(formattedValue);
|
|
58
|
+
const numericValue = parseFloat(value.replace(/[^0-9.]/g, ""));
|
|
59
|
+
setLoanAmount(isNaN(numericValue) ? void 0 : numericValue);
|
|
60
|
+
};
|
|
61
|
+
const handleLoanDurationChange = (event) => {
|
|
62
|
+
setLoanDuration(Number(event.target.value));
|
|
63
|
+
};
|
|
64
|
+
const formatToPercentage = (value) => {
|
|
65
|
+
let numericValue = value.replace(/[^0-9.]/g, "");
|
|
66
|
+
const parts = numericValue.split(".");
|
|
67
|
+
if (parts.length > 2) {
|
|
68
|
+
numericValue = parts[0] + "." + parts.slice(1).join("");
|
|
69
|
+
}
|
|
70
|
+
if (numericValue === "") return "";
|
|
71
|
+
const cleaned = numericValue.startsWith("0") && numericValue !== "0" ? String(parseFloat(numericValue)) : numericValue;
|
|
72
|
+
return cleaned + "%";
|
|
73
|
+
};
|
|
74
|
+
const handleInterestRateChange = (event) => {
|
|
75
|
+
let value = event.target.value;
|
|
76
|
+
if (value.length < interestRateDisplay.length) {
|
|
77
|
+
if (interestRateDisplay.length > 1 && interestRateDisplay.endsWith("%")) {
|
|
78
|
+
value = interestRateDisplay.substring(0, interestRateDisplay.length - 2) + "%";
|
|
79
|
+
} else if (interestRateDisplay.length === 1) {
|
|
80
|
+
value = "";
|
|
81
|
+
} else {
|
|
82
|
+
value = interestRateDisplay.substring(
|
|
83
|
+
0,
|
|
84
|
+
interestRateDisplay.length - 1
|
|
85
|
+
);
|
|
86
|
+
}
|
|
87
|
+
} else {
|
|
88
|
+
value = formatToPercentage(value);
|
|
89
|
+
}
|
|
90
|
+
setInterestRateDisplay(value);
|
|
91
|
+
const numeric = value.replace(/[^0-9.]/g, "");
|
|
92
|
+
setInterestRate(numeric);
|
|
93
|
+
};
|
|
94
|
+
const calculateMonthlyPayment = () => {
|
|
95
|
+
const numericInterestRate = parseFloat(interestRate);
|
|
96
|
+
const monthlyInterestRate = numericInterestRate / 100 / 12;
|
|
97
|
+
const months = loanDuration;
|
|
98
|
+
if (!isNaN(loanAmount || 0) && !isNaN(numericInterestRate)) {
|
|
99
|
+
const monthlyPayment = (loanAmount || 0) * monthlyInterestRate / (1 - Math.pow(1 + monthlyInterestRate, -months));
|
|
100
|
+
setEstimatedPayment(monthlyPayment);
|
|
101
|
+
} else {
|
|
102
|
+
setEstimatedPayment(0);
|
|
103
|
+
}
|
|
104
|
+
};
|
|
105
|
+
const handleCalculate = () => {
|
|
106
|
+
if (validateInputs()) {
|
|
107
|
+
calculateMonthlyPayment();
|
|
108
|
+
} else {
|
|
109
|
+
setEstimatedPayment(0);
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
return /* @__PURE__ */ jsx("section", { className: clsx(calculator), children: /* @__PURE__ */ jsx("div", { className: "containment", children: /* @__PURE__ */ jsxs(
|
|
113
|
+
"div",
|
|
114
|
+
{
|
|
115
|
+
className: `rounded ${calc_container} ${container({ variant: fullVariant })}`,
|
|
116
|
+
children: [
|
|
117
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
118
|
+
/* @__PURE__ */ jsx(
|
|
119
|
+
"h2",
|
|
120
|
+
{
|
|
121
|
+
className: `text_center ${title({ variant: fullVariant })} ${h2i}`,
|
|
122
|
+
children: header
|
|
123
|
+
}
|
|
124
|
+
),
|
|
125
|
+
bodyCopy && /* @__PURE__ */ jsx(
|
|
126
|
+
"div",
|
|
127
|
+
{
|
|
128
|
+
className: `${calc_text} ${description_text({ variant: fullVariant })} text_center`,
|
|
129
|
+
children: bodyCopy
|
|
130
|
+
}
|
|
131
|
+
)
|
|
132
|
+
] }),
|
|
133
|
+
/* @__PURE__ */ jsxs(
|
|
134
|
+
"div",
|
|
135
|
+
{
|
|
136
|
+
className: `flex center text_center push_up_32 bottom ${inputs_container}`,
|
|
137
|
+
children: [
|
|
138
|
+
/* @__PURE__ */ jsxs("div", { className: `flex flex_col ${input_container}`, children: [
|
|
139
|
+
/* @__PURE__ */ jsx("label", { htmlFor: "loanAmount", id: "amount1", children: "Loan Amount" }),
|
|
140
|
+
/* @__PURE__ */ jsx(
|
|
141
|
+
"input",
|
|
142
|
+
{
|
|
143
|
+
className: `text_center bordered ${input_box({ variant: fullVariant })}`,
|
|
144
|
+
id: "loanAmount",
|
|
145
|
+
maxLength: 10,
|
|
146
|
+
name: "loanAmount",
|
|
147
|
+
type: "text",
|
|
148
|
+
placeholder: "$0",
|
|
149
|
+
value: loanAmountDisplay,
|
|
150
|
+
onChange: handleLoanAmountChange
|
|
151
|
+
}
|
|
152
|
+
),
|
|
153
|
+
loanAmountError && /* @__PURE__ */ jsx("span", { className: error_message, children: loanAmountError })
|
|
154
|
+
] }),
|
|
155
|
+
/* @__PURE__ */ jsxs("div", { className: `flex flex_col ${input_container}`, children: [
|
|
156
|
+
/* @__PURE__ */ jsx("label", { htmlFor: "loanDuration", children: "Loan Duration (Months)" }),
|
|
157
|
+
/* @__PURE__ */ jsx(
|
|
158
|
+
"select",
|
|
159
|
+
{
|
|
160
|
+
className: `text_center bordered ${input_box({ variant: fullVariant })} ${hide_select_arrow}`,
|
|
161
|
+
id: "loanDuration",
|
|
162
|
+
name: "loanDuration",
|
|
163
|
+
value: loanDuration,
|
|
164
|
+
onChange: handleLoanDurationChange,
|
|
165
|
+
disabled: true,
|
|
166
|
+
children: /* @__PURE__ */ jsx("option", { value: "240", children: "240" })
|
|
167
|
+
}
|
|
168
|
+
)
|
|
169
|
+
] }),
|
|
170
|
+
/* @__PURE__ */ jsxs("div", { className: `flex flex_col ${input_container}`, children: [
|
|
171
|
+
/* @__PURE__ */ jsx("label", { htmlFor: "interestRate", children: "Interest Rate" }),
|
|
172
|
+
/* @__PURE__ */ jsx(
|
|
173
|
+
"input",
|
|
174
|
+
{
|
|
175
|
+
className: `text_center bordered ${input_box({ variant: fullVariant })}`,
|
|
176
|
+
id: "interestRate",
|
|
177
|
+
maxLength: 6,
|
|
178
|
+
name: "interestRate",
|
|
179
|
+
type: "text",
|
|
180
|
+
placeholder: "0.00%",
|
|
181
|
+
value: interestRateDisplay,
|
|
182
|
+
onChange: handleInterestRateChange
|
|
183
|
+
}
|
|
184
|
+
),
|
|
185
|
+
interestRateError && /* @__PURE__ */ jsx("span", { className: error_message, children: interestRateError })
|
|
186
|
+
] })
|
|
187
|
+
]
|
|
188
|
+
}
|
|
189
|
+
),
|
|
190
|
+
/* @__PURE__ */ jsxs("div", { children: [
|
|
191
|
+
/* @__PURE__ */ jsx("div", { className: `flex center middle push_up_32`, children: /* @__PURE__ */ jsx(
|
|
192
|
+
"input",
|
|
193
|
+
{
|
|
194
|
+
className: `${button({
|
|
195
|
+
color: "primary",
|
|
196
|
+
size: "medium",
|
|
197
|
+
rounded: "medium"
|
|
198
|
+
})} center`,
|
|
199
|
+
type: "button",
|
|
200
|
+
value: "Calculate",
|
|
201
|
+
onClick: handleCalculate
|
|
202
|
+
}
|
|
203
|
+
) }),
|
|
204
|
+
/* @__PURE__ */ jsxs("div", { className: "text_center flex flex_col center middle push_up_32", children: [
|
|
205
|
+
/* @__PURE__ */ jsx("span", { className: calculation_header, children: "Estimated Monthly Payment:" }),
|
|
206
|
+
/* @__PURE__ */ jsxs("span", { id: "estimatedPayment", className: payment_results, children: [
|
|
207
|
+
"$",
|
|
208
|
+
estimatedPayment.toFixed(2)
|
|
209
|
+
] })
|
|
210
|
+
] })
|
|
211
|
+
] }),
|
|
212
|
+
disclosure && /* @__PURE__ */ jsx("div", { className: calc_disclosure({ variant: fullVariant }), children: disclosure })
|
|
213
|
+
]
|
|
214
|
+
}
|
|
215
|
+
) }) });
|
|
216
|
+
};
|
|
217
|
+
export {
|
|
218
|
+
MarineLoanMonthlyPaymentCalculator
|
|
219
|
+
};
|
|
@@ -204,11 +204,28 @@ const MaxLoanCalculator = ({
|
|
|
204
204
|
}
|
|
205
205
|
) }),
|
|
206
206
|
/* @__PURE__ */ jsxs("div", { className: "text_center flex flex_col center middle push_up_32", children: [
|
|
207
|
-
/* @__PURE__ */ jsx(
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
207
|
+
/* @__PURE__ */ jsx(
|
|
208
|
+
"label",
|
|
209
|
+
{
|
|
210
|
+
htmlFor: "estimatedLoanAmount",
|
|
211
|
+
className: calculation_header,
|
|
212
|
+
children: "Maximum Loan Amount You Can Borrow:"
|
|
213
|
+
}
|
|
214
|
+
),
|
|
215
|
+
/* @__PURE__ */ jsxs(
|
|
216
|
+
"output",
|
|
217
|
+
{
|
|
218
|
+
id: "estimatedLoanAmount",
|
|
219
|
+
className: payment_results,
|
|
220
|
+
name: "estimated-loan-amount",
|
|
221
|
+
htmlFor: "monthlyPayment loanDuration interestRate",
|
|
222
|
+
role: "status",
|
|
223
|
+
children: [
|
|
224
|
+
"$",
|
|
225
|
+
loanAmount.toFixed(2)
|
|
226
|
+
]
|
|
227
|
+
}
|
|
228
|
+
)
|
|
212
229
|
] })
|
|
213
230
|
] })
|
|
214
231
|
]
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
@@ -12,12 +12,14 @@ var inputs_container = "_10pitvcd";
|
|
|
12
12
|
var calculation_header = "_10pitvce";
|
|
13
13
|
var error_message = "_10pitvcf";
|
|
14
14
|
var h2i = "_10pitvcg";
|
|
15
|
+
var hide_select_arrow = "_10pitvch";
|
|
15
16
|
export {
|
|
16
17
|
calc_container,
|
|
17
18
|
calculation_header,
|
|
18
19
|
container,
|
|
19
20
|
error_message,
|
|
20
21
|
h2i,
|
|
22
|
+
hide_select_arrow,
|
|
21
23
|
input_box,
|
|
22
24
|
input_container,
|
|
23
25
|
inputs_container,
|
|
@@ -212,11 +212,21 @@ const MonthlyPaymentCalculator = ({
|
|
|
212
212
|
}
|
|
213
213
|
) }),
|
|
214
214
|
/* @__PURE__ */ jsxs("div", { className: "text_center flex flex_col center middle push_up_32", children: [
|
|
215
|
-
/* @__PURE__ */ jsx("
|
|
216
|
-
/* @__PURE__ */ jsxs(
|
|
217
|
-
"
|
|
218
|
-
|
|
219
|
-
|
|
215
|
+
/* @__PURE__ */ jsx("label", { htmlFor: "estimatedPayment", className: calculation_header, children: "Estimated Monthly Payment:" }),
|
|
216
|
+
/* @__PURE__ */ jsxs(
|
|
217
|
+
"output",
|
|
218
|
+
{
|
|
219
|
+
id: "estimatedPayment",
|
|
220
|
+
className: payment_results,
|
|
221
|
+
name: "estimated-payment",
|
|
222
|
+
htmlFor: "loanAmount loanDuration interestRate",
|
|
223
|
+
role: "status",
|
|
224
|
+
children: [
|
|
225
|
+
"$",
|
|
226
|
+
estimatedPayment.toFixed(2)
|
|
227
|
+
]
|
|
228
|
+
}
|
|
229
|
+
)
|
|
220
230
|
] })
|
|
221
231
|
] }),
|
|
222
232
|
disclosure && /* @__PURE__ */ jsx("div", { className: calc_disclosure({ variant: fullVariant }), children: disclosure })
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
@@ -8,7 +8,7 @@ import "../../icons/ArrowIcon/ArrowIcon.css.js";
|
|
|
8
8
|
import SvgAxosX from "../../icons/AxosX/index.js";
|
|
9
9
|
import SvgComponent from "../../icons/AxosX/Blue.js";
|
|
10
10
|
import "../../icons/CheckIcon/CheckIcon.css.js";
|
|
11
|
-
|
|
11
|
+
/* empty css */
|
|
12
12
|
/* empty css */
|
|
13
13
|
/* empty css */
|
|
14
14
|
/* empty css */
|
|
@@ -18,7 +18,7 @@ import { headerCell } from "../../Table/Table.css.js";
|
|
|
18
18
|
import "../../utils/allowedAxosDomains.js";
|
|
19
19
|
import { getVariant } from "../../utils/getVariant.js";
|
|
20
20
|
import clsx from "clsx";
|
|
21
|
-
import { summit_container, summit_calc_icon, summit_header_container, summit_header_calc, summit_calc_text, summit_description_text, summit_calculator_wrapper, summit_input_container, summit_input_label, summit_d_label, summit_m_label, summit_calculator_input, summit_calculator_button, focus_row,
|
|
21
|
+
import { summit_container, summit_calc_icon, summit_header_container, summit_header_calc, summit_calc_text, summit_description_text, summit_table_container, summit_calculator_wrapper, summit_input_container, summit_input_label, summit_d_label, summit_m_label, summit_calculator_input, summit_calculator_button, focus_row, summit_calc_disclosure } from "./BalanceAPYCalculator.css.js";
|
|
22
22
|
const SummitApyCalculator = ({
|
|
23
23
|
headline,
|
|
24
24
|
bodyCopy,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/* empty css */
|
|
2
2
|
/* empty css */
|
|
3
3
|
/* empty css */
|
|
4
4
|
/* empty css */
|
|
@@ -2,11 +2,12 @@ export * from './AnnualFeeCalculator';
|
|
|
2
2
|
export * from './ApyCalculator';
|
|
3
3
|
export * from './AxosOneCalculator';
|
|
4
4
|
export * from './BalanceAPYCalculator';
|
|
5
|
+
export * from './BuyDownCalculator';
|
|
5
6
|
export * from './Calculator';
|
|
6
7
|
export * from './calculator.css';
|
|
7
8
|
export * from './MarginTradingCalculator';
|
|
9
|
+
export * from './MarineLoanMonthlyPaymentCalculator';
|
|
8
10
|
export * from './MaxLoanCalculator';
|
|
9
11
|
export * from './MonthlyPaymentCalculator';
|
|
10
12
|
export * from './MonthlyPaymentLVFCalculator';
|
|
11
13
|
export * from './SummitApyCalculator';
|
|
12
|
-
export * from './BuyDownCalculator';
|
|
@@ -2,14 +2,15 @@ import { AnnualFeeCalculator } from "./AnnualFeeCalculator/index.js";
|
|
|
2
2
|
import { ApyCalculator } from "./ApyCalculator/index.js";
|
|
3
3
|
import { AxosOneCalculator } from "./AxosOneCalculator/index.js";
|
|
4
4
|
import { BalanceAPYCalculator } from "./BalanceAPYCalculator/index.js";
|
|
5
|
+
import { BuyDownCalculator } from "./BuyDownCalculator/index.js";
|
|
5
6
|
import { Calculator } from "./Calculator.js";
|
|
6
7
|
import { calculator, calculator_description, calculator_headline } from "./calculator.css.js";
|
|
7
8
|
import { MarginTradingCalculator } from "./MarginTradingCalculator/index.js";
|
|
9
|
+
import { MarineLoanMonthlyPaymentCalculator } from "./MarineLoanMonthlyPaymentCalculator/index.js";
|
|
8
10
|
import { MaxLoanCalculator } from "./MaxLoanCalculator/index.js";
|
|
9
11
|
import { MonthlyPaymentCalculator } from "./MonthlyPaymentCalculator/index.js";
|
|
10
12
|
import { MonthlyPaymentLVFCalculator } from "./MonthlyPaymentLVFCalculator/index.js";
|
|
11
13
|
import { SummitApyCalculator } from "./SummitApyCalculator/index.js";
|
|
12
|
-
import { BuyDownCalculator } from "./BuyDownCalculator/index.js";
|
|
13
14
|
export {
|
|
14
15
|
AnnualFeeCalculator,
|
|
15
16
|
ApyCalculator,
|
|
@@ -18,6 +19,7 @@ export {
|
|
|
18
19
|
BuyDownCalculator,
|
|
19
20
|
Calculator,
|
|
20
21
|
MarginTradingCalculator,
|
|
22
|
+
MarineLoanMonthlyPaymentCalculator,
|
|
21
23
|
MaxLoanCalculator,
|
|
22
24
|
MonthlyPaymentCalculator,
|
|
23
25
|
MonthlyPaymentLVFCalculator,
|
|
@@ -8,7 +8,7 @@ import { Chevron } from "../Chevron/index.js";
|
|
|
8
8
|
import { getVariant } from "../utils/getVariant.js";
|
|
9
9
|
import clsx from "clsx";
|
|
10
10
|
import { getBannerSizeClassName } from "../utils/ctaOptions.js";
|
|
11
|
-
import { sticky_banner, is_sticky, cta, cta_image_section, cta_image_section_overlap, cta_image_overlap, cta_large_image, cta_text, ctas_section
|
|
11
|
+
import { sticky_banner, is_sticky, cta, cta_image_section, cta_image_section_overlap, cta_image_overlap, cta_large_image, cta_body_section, cta_text, ctas_section } from "./CallToActionBar.css.js";
|
|
12
12
|
const CallToActionBar = ({
|
|
13
13
|
bannerSize,
|
|
14
14
|
image,
|
package/dist/Carousel/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { getVariant } from "../utils/getVariant.js";
|
|
|
6
6
|
import { section_text } from "../IconBillboard/IconBillboard.css.js";
|
|
7
7
|
import "../icons/ArrowIcon/ArrowIcon.css.js";
|
|
8
8
|
import "../icons/CheckIcon/CheckIcon.css.js";
|
|
9
|
-
|
|
9
|
+
/* empty css */
|
|
10
10
|
/* empty css */
|
|
11
11
|
/* empty css */
|
|
12
12
|
/* empty css */
|
|
@@ -41,8 +41,11 @@ import "../Input/InputPhone.js";
|
|
|
41
41
|
import "../Input/InputTextArea.js";
|
|
42
42
|
import "../Input/DownPaymentInput.js";
|
|
43
43
|
import "../Input/RadioButton.js";
|
|
44
|
+
import "../Input/PercentageInput.js";
|
|
44
45
|
import "react-hook-form";
|
|
46
|
+
import "../Calculators/BuyDownCalculator/BuyDownCalculator.css.js";
|
|
45
47
|
import "../Forms/Forms.css.js";
|
|
48
|
+
import "../Forms/HoneyPot/index.js";
|
|
46
49
|
import "../Forms/SalesforceFieldsForm.js";
|
|
47
50
|
import "../Input/RadioButton.css.js";
|
|
48
51
|
import "../Input/Checkbox.css.js";
|
|
@@ -61,8 +64,6 @@ import "iframe-resizer";
|
|
|
61
64
|
import "../Calculators/MonthlyPaymentCalculator/MonthlyPaymentCalculator.css.js";
|
|
62
65
|
import "../Calculators/MonthlyPaymentLVFCalculator/MonthlyPaymentCalculator.css.js";
|
|
63
66
|
import "../Calculators/SummitApyCalculator/BalanceAPYCalculator.css.js";
|
|
64
|
-
import "../Input/PercentageInput.js";
|
|
65
|
-
import "../Calculators/BuyDownCalculator/BuyDownCalculator.css.js";
|
|
66
67
|
/* empty css */
|
|
67
68
|
import "react-dom";
|
|
68
69
|
/* empty css */
|
|
@@ -70,6 +71,12 @@ import "../Auth/SignInPassword.js";
|
|
|
70
71
|
/* empty css */
|
|
71
72
|
/* empty css */
|
|
72
73
|
/* empty css */
|
|
74
|
+
/* empty css */
|
|
75
|
+
import "../Chatbot/store/chat.js";
|
|
76
|
+
import "../Chatbot/authenticate.js";
|
|
77
|
+
/* empty css */
|
|
78
|
+
import "../Chatbot/store/messages.js";
|
|
79
|
+
import "../Chatbot/Chatbot.css.ts.vanilla.css.js";
|
|
73
80
|
/* empty css */
|
|
74
81
|
import "../Comparison/Comparison.css.js";
|
|
75
82
|
import "next/image.js";
|
|
@@ -124,7 +131,7 @@ import "../StepItemSet/StepItemSet.css.js";
|
|
|
124
131
|
/* empty css */
|
|
125
132
|
/* empty css */
|
|
126
133
|
/* empty css */
|
|
127
|
-
import { icon, slide, authorLocation, author, quoteSetContainer, headerCarousel, descriptionCarousel,
|
|
134
|
+
import { icon, slide, authorLocation, author, quoteSetContainer, headerCarousel, descriptionCarousel, carousel, slides, dots, dot } from "./Carousel.css.js";
|
|
128
135
|
import { useCarousel } from "./store.js";
|
|
129
136
|
const iconVarints = /* @__PURE__ */ new Map([
|
|
130
137
|
[
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
+
import clsx from "clsx";
|
|
4
|
+
import { bubbleWrapper, bubbleCircle, closeIcon } from "./Bubble.css.js";
|
|
5
|
+
import { useOpenChat } from "./store/chat.js";
|
|
6
|
+
const Bubble = ({ children }) => {
|
|
7
|
+
const isOpen = useOpenChat((state) => state.isOpen);
|
|
8
|
+
const toggle = useOpenChat((state) => state.toggle);
|
|
9
|
+
return /* @__PURE__ */ jsxs("div", { className: clsx(bubbleWrapper), children: [
|
|
10
|
+
/* @__PURE__ */ jsx("div", { className: clsx("bubble-circle", bubbleCircle), onClick: toggle, children: !isOpen ? /* @__PURE__ */ jsx(
|
|
11
|
+
"img",
|
|
12
|
+
{
|
|
13
|
+
alt: "Evo, Virtual Financial Assistant",
|
|
14
|
+
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAOEAAADhCAMAAAAJbSJIAAABAlBMVEUfOGD6p0n///////7///wdNl///f/4p0z5qEj6pkv7p0j8pkoeOF/6qEQANGH3qEseNmL/p0X/pEcAM2EQLlUQLlkANV/3+voUM2BBWX4HLFgfOV3enEkYOVgANV0JKlc/RlvT2uEgNWRleJJEWnp6aFDn6u8KKVr8//fcm09qYVgrQ2kXLmP8pU/Rlkt8Z1IwQV05UHHVkVV4iqCCka3hmE9wYFk6SForQmyNbVild09HTVubpbjg6Ox3ZFbsoE6yhlBpdYu+x9JCWHUwP107TXZJXoJ4i557iKRrXV7N1uEnRmoWOlg/RV85SFiKlKdRUFnFjVJfbY2otMiUclNcWFm9VnEEAAAML0lEQVR4nO2de3vTOBbGfYliWZJjJWlSTwVNSYdeKL1QoB2u5dJhhrIMC7v7/b/KHtm5SbZp2kaOw6Mf5Y88T8E+kV695xzJieNYLBaLxWK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XFwfwkhyr4oJlou6t7xnMzjP2BF9bUIpS8uQ4st6YPUjWcjlD74tXuHTzNDvZr4ohii9BCCmotSWQ9+nTMXLaP35aqojypz1ConKocpGnZILhftPJ+jXLqGonqx6YEWN6rUIgMfLNTgP3c+OMKQ1GJhvVihFtNFhhblosndTzYzhJasRTFkco9ePQUUUhzT/Xnrweso7t00vW8bxr+JQTKEVTTUfDDIejILCrC0d9N4tlHFtz8gWS6RUO+Ldu6dL+4zvYt6N162p1FBhMlZiAOqrqM0naKL+1qGwt4NjKmcqGZNA1aB5N/qoxNZX3T+nsy8FGqx2fC2zX43Arx9re9tqn1yGWhwf3EaHF+pSIvw6k1i9JsDGHIuY/3h12yPfuHva5EW5atPi/8ahlkQ24qI+iya7IueD9ni13E2TuBmxhBevje688YY+kpmPq+UECjxF6/BMfkcFV796Jv8cgSGONuHGteUD+r0cr2bvZ0DZnI1FYh3X7RneqPp3kTLXAWez1H/M2AmC37hINR6RyZjSGU9uIBctAyWdeBmlporZv4TpJD4TsJYZtqQySwuFy1D+mI6jPKncXVQQfINpv89akNxT2iHPv/HcIAs1eL4w3oefKniKQYQunjXlsdFsVvFs0tspEX4efBHYjKfmVwRgSu+vMAQ5Petx2btVyJgFD/Iz61b/3CQVPVNj4x3X714+d//LeC7HuYCDX68fv3tR4Vf/gDjmLQePzYswdnrrQ12B5U+WQPOL223svdUVP4hg0x+TkCF3yYrPz9DMPPfCGqxWCwWi8VisVgsFovFYrFYLBaLxWKxWCwWi8VisVgsFovlzvwfejgk8Ex8x2oAAAAASUVORK5CYII="
|
|
15
|
+
}
|
|
16
|
+
) : /* @__PURE__ */ jsx("span", { className: clsx("close-icon", closeIcon), children: /* @__PURE__ */ jsxs(
|
|
17
|
+
"svg",
|
|
18
|
+
{
|
|
19
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
20
|
+
width: "24",
|
|
21
|
+
height: "24",
|
|
22
|
+
viewBox: "0 0 24 24",
|
|
23
|
+
children: [
|
|
24
|
+
/* @__PURE__ */ jsx("path", { d: "M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }),
|
|
25
|
+
/* @__PURE__ */ jsx("path", { d: "M0 0h24v24H0z", fill: "none" })
|
|
26
|
+
]
|
|
27
|
+
}
|
|
28
|
+
) }) }),
|
|
29
|
+
children
|
|
30
|
+
] });
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
Bubble
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default function Chat(): import("react/jsx-runtime").JSX.Element;
|