@axos-web-dev/shared-components 2.0.0-dev.1 → 2.0.0-queryparams.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.
Files changed (189) hide show
  1. package/README.md +111 -111
  2. package/dist/ATMLocator/ATMLocator.js +3 -8
  3. package/dist/Article/Article.d.ts +2 -2
  4. package/dist/Article/Article.js +13 -2
  5. package/dist/Auth/ErrorAlert.js +4 -9
  6. package/dist/Auth/SignInPassword.js +0 -1
  7. package/dist/Avatar/Avatar.module.js +7 -7
  8. package/dist/Blockquote/Blockquote.module.js +3 -3
  9. package/dist/BulletItem/BulletItem.js +0 -1
  10. package/dist/Button/Button.js +10 -10
  11. package/dist/Calculators/AnnualFeeCalculator/index.js +0 -1
  12. package/dist/Calculators/ApyCalculator/index.js +3 -1
  13. package/dist/Calculators/AxosOneCalculator/index.js +16 -9
  14. package/dist/Calculators/BalanceAPYCalculator/index.js +0 -1
  15. package/dist/Calculators/BuyDownCalculator/index.js +0 -1
  16. package/dist/Calculators/Calculator.js +0 -5
  17. package/dist/Calculators/MarginTradingCalculator/index.js +119 -2
  18. package/dist/Calculators/MarineLoanMonthlyPaymentCalculator/index.js +0 -1
  19. package/dist/Calculators/MaxLoanCalculator/index.js +0 -1
  20. package/dist/Calculators/MonthlyPaymentCalculator/index.js +0 -1
  21. package/dist/Calculators/MonthlyPaymentLVFCalculator/index.js +0 -1
  22. package/dist/Calculators/SummitApyCalculator/index.js +3 -2
  23. package/dist/Carousel/index.js +3 -8
  24. package/dist/Chatbot/Bubble.js +1 -1
  25. package/dist/Chatbot/Chat.js +0 -7
  26. package/dist/Chatbot/ChatWindow.d.ts +2 -0
  27. package/dist/Chatbot/ChatWindow.js +27 -14
  28. package/dist/Chatbot/Chatbot.d.ts +1 -1
  29. package/dist/Chatbot/Chatbot.js +118 -13
  30. package/dist/Chatbot/ChatbotMessage.d.ts +1 -0
  31. package/dist/Chatbot/ChatbotMessage.js +42 -22
  32. package/dist/Chatbot/store/chat.d.ts +6 -0
  33. package/dist/Chatbot/store/chat.js +14 -2
  34. package/dist/Chatbot/store/messages.d.ts +1 -0
  35. package/dist/Chatbot/store/messages.js +5 -2
  36. package/dist/Chevron/index.js +2 -8
  37. package/dist/Comparison/Comparison.js +3 -8
  38. package/dist/ExecutiveBio/ExecutiveBio.css.d.ts +51 -1
  39. package/dist/ExecutiveBio/ExecutiveBio.css.js +48 -46
  40. package/dist/ExecutiveBio/ExecutiveBio.d.ts +1 -1
  41. package/dist/ExecutiveBio/ExecutiveBio.interface.d.ts +3 -1
  42. package/dist/ExecutiveBio/ExecutiveBio.js +142 -151
  43. package/dist/ExecutiveBio/ExecutiveBioSet.d.ts +1 -2
  44. package/dist/ExecutiveBio/ExecutiveBioSet.js +29 -16
  45. package/dist/ExecutiveBio/index.js +2 -1
  46. package/dist/FaqAccordion/index.js +3 -8
  47. package/dist/FdicCallout/FdicCallout.module.js +2 -2
  48. package/dist/FooterSiteMap/AxosBank/FooterSiteMap.js +83 -184
  49. package/dist/Forms/ApplicationStart.js +0 -1
  50. package/dist/Forms/ApplyNow.js +1 -6
  51. package/dist/Forms/BoatMooringLocation.js +0 -1
  52. package/dist/Forms/ClearingForm.js +0 -1
  53. package/dist/Forms/CommercialDeposits.js +0 -1
  54. package/dist/Forms/CommercialDepositsNoLendingOption.js +0 -1
  55. package/dist/Forms/CommercialLending.js +0 -1
  56. package/dist/Forms/CommercialPremiumFinance.js +0 -1
  57. package/dist/Forms/ConstructionLendingDynamic.d.ts +12 -0
  58. package/dist/Forms/ConstructionLendingDynamic.js +324 -0
  59. package/dist/Forms/ContactCompany.js +0 -1
  60. package/dist/Forms/ContactCompanyTitle.js +0 -1
  61. package/dist/Forms/ContactUs.js +0 -1
  62. package/dist/Forms/ContactUsAAS.js +0 -1
  63. package/dist/Forms/ContactUsBusiness.js +3 -8
  64. package/dist/Forms/ContactUsBusinessNameEmail.js +3 -8
  65. package/dist/Forms/ContactUsLVF.js +0 -1
  66. package/dist/Forms/ContactUsNMLSId.js +3 -8
  67. package/dist/Forms/CpraRequest.js +100 -3
  68. package/dist/Forms/CraPublicFile.js +3 -8
  69. package/dist/Forms/DealerServices.js +0 -1
  70. package/dist/Forms/EmailOnly.js +10 -10
  71. package/dist/Forms/EmailUs.js +0 -1
  72. package/dist/Forms/FormEnums.js +1 -3
  73. package/dist/Forms/Forms.css.d.ts +1 -1
  74. package/dist/Forms/Forms.css.js +3 -3
  75. package/dist/Forms/HoneyPot/index.js +0 -1
  76. package/dist/Forms/MortgageRate/MortgageRateForm.js +4 -9
  77. package/dist/Forms/MortgageRate/MortgageRateWatch.js +3 -8
  78. package/dist/Forms/MortgageWarehouseLending.js +3 -8
  79. package/dist/Forms/QuickPricer/QuickPricerForm.js +0 -1
  80. package/dist/Forms/ScheduleCall.js +0 -1
  81. package/dist/Forms/ScheduleCallPremier.js +0 -1
  82. package/dist/Forms/SuccesForm.js +3 -8
  83. package/dist/Forms/VendorQuestionnaire.js +0 -1
  84. package/dist/Forms/index.d.ts +1 -0
  85. package/dist/Forms/index.js +2 -1
  86. package/dist/Hyperlink/index.js +6 -10
  87. package/dist/IconBillboard/IconBillboard.css.d.ts +1 -0
  88. package/dist/IconBillboard/IconBillboard.css.js +11 -9
  89. package/dist/IconBillboard/index.js +2 -1
  90. package/dist/ImageBillboard/ImageBillboardSet.js +14 -8
  91. package/dist/ImageLink/ImageLink.js +3 -8
  92. package/dist/ImageLink/ImageLinkSet.js +3 -8
  93. package/dist/ImageLink/index.js +1 -6
  94. package/dist/Insight/Featured/CategorySelector.js +1 -6
  95. package/dist/Insight/Featured/Featured.js +3 -8
  96. package/dist/Insight/Featured/Header.js +3 -8
  97. package/dist/Interstitial/Interstitial.module.js +10 -10
  98. package/dist/LandingPageHeader/LandingPageHeader.css.d.ts +19 -1
  99. package/dist/LandingPageHeader/LandingPageHeader.css.js +6 -6
  100. package/dist/LandingPageHeader/LandingPageHeader.d.ts +3 -1
  101. package/dist/LandingPageHeader/LandingPageHeader.js +42 -16
  102. package/dist/LoadingIndicator/index.js +0 -1
  103. package/dist/Modal/Modal.js +1 -6
  104. package/dist/Modal/contextApi/store.d.ts +16 -2
  105. package/dist/Modal/contextApi/store.js +37 -6
  106. package/dist/NavigationMenu/AxosALTS/NavBar.module.js +23 -23
  107. package/dist/NavigationMenu/AxosALTS/NavData.d.ts +7 -1
  108. package/dist/NavigationMenu/AxosALTS/NavData.js +6 -137
  109. package/dist/NavigationMenu/AxosALTS/index.js +10 -12
  110. package/dist/NavigationMenu/AxosAdvisor/NavBar.module.js +52 -52
  111. package/dist/NavigationMenu/AxosAdvisor/SubNavBar.js +0 -1
  112. package/dist/NavigationMenu/AxosAdvisor/index.js +0 -1
  113. package/dist/NavigationMenu/AxosAdvisorServices/NavBar.module.js +53 -53
  114. package/dist/NavigationMenu/AxosAdvisorServices/SubNavBar.js +0 -1
  115. package/dist/NavigationMenu/AxosAdvisorServices/index.js +0 -1
  116. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.js +341 -73
  117. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileMenu.module.js +50 -17
  118. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.d.ts +20 -6
  119. package/dist/NavigationMenu/AxosBank/MobileMenu/MobileNavData.js +211 -355
  120. package/dist/NavigationMenu/AxosBank/NavBar.module.js +39 -39
  121. package/dist/NavigationMenu/AxosBank/NavData.d.ts +39 -2
  122. package/dist/NavigationMenu/AxosBank/NavData.js +34 -166
  123. package/dist/NavigationMenu/AxosBank/SubNavBar.js +199 -220
  124. package/dist/NavigationMenu/AxosBank/index.js +16 -43
  125. package/dist/NavigationMenu/AxosClearing/NavBar.module.js +37 -37
  126. package/dist/NavigationMenu/AxosClearing/index.js +0 -1
  127. package/dist/NavigationMenu/AxosFiduciary/NavBar.module.js +41 -41
  128. package/dist/NavigationMenu/LaVictoire/NavBar.module.js +37 -37
  129. package/dist/NavigationMenu/LaVictoire/NavData.d.ts +13 -2
  130. package/dist/NavigationMenu/LaVictoire/NavData.js +14 -146
  131. package/dist/NavigationMenu/LaVictoire/SubNavBar.js +4 -1
  132. package/dist/NavigationMenu/LaVictoire/index.js +16 -41
  133. package/dist/NavigationMenu/Navbar.js +4 -5
  134. package/dist/NavigationMenu/SignInNavButton.js +16 -24
  135. package/dist/SetContainer/SetContainer.js +4 -9
  136. package/dist/SocialMediaBar/iconsRepository.d.ts +44 -14
  137. package/dist/SocialMediaBar/iconsRepository.js +28 -37
  138. package/dist/SocialMediaBar/index.js +3 -1
  139. package/dist/Tab/Tab.js +0 -1
  140. package/dist/Table/Table.js +0 -1
  141. package/dist/VideoTile/VideoTile.js +0 -5
  142. package/dist/VideoWrapper/index.js +0 -5
  143. package/dist/WalnutIframe/wrapper.module.js +3 -3
  144. package/dist/assets/Avatar/Avatar.css +59 -59
  145. package/dist/assets/Blockquote/Blockquote.css +72 -72
  146. package/dist/assets/Calculators/ApyCalculator/ApyCalculator.css +1 -1
  147. package/dist/assets/Calculators/MarginTradingCalculator/MarginTradingCalculator.css +2 -2
  148. package/dist/assets/Calculators/SummitApyCalculator/BalanceAPYCalculator.css +1 -1
  149. package/dist/assets/Carousel/Carousel.css +1 -1
  150. package/dist/assets/Chatbot/AnimatedGradientBorder.css +2 -1
  151. package/dist/assets/Chatbot/ChatWindow.css +16 -8
  152. package/dist/assets/DownloadTile/DownloadTile.css +2 -2
  153. package/dist/assets/ExecutiveBio/ExecutiveBio.css +281 -171
  154. package/dist/assets/FdicCallout/FdicCallout.css +48 -48
  155. package/dist/assets/Forms/Forms.css +29 -25
  156. package/dist/assets/HelpArticle/HelpArticle.css +2 -2
  157. package/dist/assets/IconBillboard/IconBillboard.css +35 -28
  158. package/dist/assets/Inputs/Input.css +1 -1
  159. package/dist/assets/Insight/Featured/CategorySelector.css +1 -1
  160. package/dist/assets/Insight/Insight.css +4 -4
  161. package/dist/assets/Interstitial/Interstitial.css +142 -142
  162. package/dist/assets/LandingPageHeader/LandingPageHeader.css +28 -15
  163. package/dist/assets/NavigationMenu/AxosALTS/NavBar.css +264 -264
  164. package/dist/assets/NavigationMenu/AxosAdvisor/NavBar.css +609 -609
  165. package/dist/assets/NavigationMenu/AxosAdvisorServices/NavBar.css +630 -630
  166. package/dist/assets/NavigationMenu/AxosBank/MobileMenu/MobileMenu.css +353 -192
  167. package/dist/assets/NavigationMenu/AxosBank/NavBar.css +445 -445
  168. package/dist/assets/NavigationMenu/AxosClearing/NavBar.css +484 -484
  169. package/dist/assets/NavigationMenu/AxosFiduciary/NavBar.css +427 -427
  170. package/dist/assets/NavigationMenu/LaVictoire/NavBar.css +429 -429
  171. package/dist/assets/Topic/Topic.css +1 -1
  172. package/dist/assets/Typography/Typography.css +1 -1
  173. package/dist/assets/VideoTile/VideoTile.css +1 -1
  174. package/dist/assets/WalnutIframe/wrapper.css +48 -48
  175. package/dist/assets/globals.css +24 -14
  176. package/dist/assets/utils/optimizeImage/optimizeImage.css +47 -47
  177. package/dist/main.js +8 -3
  178. package/dist/utils/allowedAxosDomains.d.ts +5 -2
  179. package/dist/utils/allowedAxosDomains.js +50 -47
  180. package/dist/utils/appendQueryParams.js +36 -5
  181. package/dist/utils/index.js +2 -1
  182. package/dist/utils/optimizeImage/optimizeImage.module.js +3 -3
  183. package/dist/utils/samePageNavigation.d.ts +3 -0
  184. package/dist/utils/samePageNavigation.js +23 -0
  185. package/dist/utils/validateExternalLinks.d.ts +1 -1
  186. package/dist/utils/validateExternalLinks.js +4 -6
  187. package/package.json +149 -148
  188. package/dist/NavigationMenu/NavDataJson.d.ts +0 -2
  189. package/dist/NavigationMenu/NavDataJson.js +0 -317
@@ -15,7 +15,7 @@
15
15
  }
16
16
  .un906l2 {
17
17
  font-size: 28px;
18
- font-weight: 600;
18
+ font-weight: 700;
19
19
  line-height: 36px;
20
20
  letter-spacing: 0.2px;
21
21
  font-family: var(--header-font-family);
@@ -1,6 +1,6 @@
1
1
  ._17xoant0 {
2
2
  font-family: var(--header-font-family);
3
- font-weight: 600;
3
+ font-weight: 700;
4
4
  font-size: 40px;
5
5
  }
6
6
  ._17xoant2 {
@@ -9,7 +9,7 @@
9
9
  ._16puo4g2 {
10
10
  color: var(--_1073cm85);
11
11
  font-size: 24px;
12
- font-weight: 600;
12
+ font-weight: 700;
13
13
  line-height: 32px;
14
14
  text-align: center;
15
15
  font-family: var(--header-font-family);
@@ -1,48 +1,48 @@
1
- @keyframes _shimmer_f1tr5_1 {
2
- from {
3
- transform: translateX(-100%);
4
- }
5
- to {
6
- transform: translateX(100%);
7
- }
8
- }
9
-
10
- ._wrapper_f1tr5_10 {
11
- background: #1e3860;
12
- border-radius: 8px;
13
- height: 555px;
14
- isolation: isolate;
15
- margin-block: 48px;
16
- }
17
-
18
- section > ._wrapper_f1tr5_10:first-child {
19
- margin-top: 0 !important;
20
- }
21
-
22
- ._wrapper_f1tr5_10::before {
23
- content: "";
24
- position: absolute;
25
- top: 0;
26
- left: 0;
27
- width: 190%;
28
- height: 100%;
29
- background: linear-gradient(
30
- 65deg,
31
- rgba(255, 255, 255, 0) 20%,
32
- rgba(255, 255, 255, 0.5) 50%,
33
- rgba(255, 255, 255, 0) 80%
34
- );
35
- animation: _shimmer_f1tr5_1 1.3s infinite linear;
36
- z-index: -1;
37
- }
38
-
39
- ._wrapper_control_f1tr5_39 {
40
- height: 100%;
41
- width: 100%;
42
- }
43
-
44
- @media (max-width: 1023px) {
45
- ._wrapper_f1tr5_10 {
46
- display: none;
47
- }
48
- }
1
+ @keyframes _shimmer_1wqdl_1 {
2
+ from {
3
+ transform: translateX(-100%);
4
+ }
5
+ to {
6
+ transform: translateX(100%);
7
+ }
8
+ }
9
+
10
+ ._wrapper_1wqdl_19 {
11
+ background: #1e3860;
12
+ border-radius: 8px;
13
+ height: 555px;
14
+ isolation: isolate;
15
+ margin-block: 48px;
16
+ }
17
+
18
+ section > ._wrapper_1wqdl_19:first-child {
19
+ margin-top: 0 !important;
20
+ }
21
+
22
+ ._wrapper_1wqdl_19::before {
23
+ content: "";
24
+ position: absolute;
25
+ top: 0;
26
+ left: 0;
27
+ width: 190%;
28
+ height: 100%;
29
+ background: linear-gradient(
30
+ 65deg,
31
+ rgba(255, 255, 255, 0) 20%,
32
+ rgba(255, 255, 255, 0.5) 50%,
33
+ rgba(255, 255, 255, 0) 80%
34
+ );
35
+ animation: _shimmer_1wqdl_1 1.3s infinite linear;
36
+ z-index: -1;
37
+ }
38
+
39
+ ._wrapper_control_1wqdl_77 {
40
+ height: 100%;
41
+ width: 100%;
42
+ }
43
+
44
+ @media (max-width: 1023px) {
45
+ ._wrapper_1wqdl_19 {
46
+ display: none;
47
+ }
48
+ }
@@ -1,3 +1,4 @@
1
+ @layer container;
1
2
  * {
2
3
  box-sizing: border-box;
3
4
  margin: 0;
@@ -19,6 +20,7 @@ body {
19
20
  }
20
21
  p {
21
22
  margin-bottom: 10px;
23
+ text-wrap: pretty;
22
24
  }
23
25
  li p, p:last-child, p:only-child {
24
26
  margin-bottom: 0;
@@ -26,7 +28,6 @@ li p, p:last-child, p:only-child {
26
28
  .containment {
27
29
  box-sizing: border-box;
28
30
  margin-inline: auto;
29
- width: min(1200px, calc(100% - 4rem));
30
31
  }
31
32
  .section_spacer {
32
33
  margin-top: 3.5rem;
@@ -151,11 +152,11 @@ h1, h2, h3, h4, h5, h6, es_font {
151
152
  }
152
153
  .header_3 {
153
154
  font-size: 28px;
154
- line-height: 36px;
155
+ line-height: 1.29;
155
156
  }
156
157
  .header_4 {
157
158
  font-size: 20px;
158
- line-height: 28px;
159
+ line-height: 1.4;
159
160
  }
160
161
  .gradient_text {
161
162
  background: linear-gradient(3deg, #1E3860 14.64%, #1E3860 48.42%, #1E3860 85.36%);
@@ -172,7 +173,7 @@ h1, h2, h3, h4, h5, h6, es_font {
172
173
  }
173
174
  .list_item {
174
175
  font-size: 1rem;
175
- line-height: 1.5rem;
176
+ line-height: 1.5;
176
177
  -webkit-box-align: start;
177
178
  align-items: flex-start;
178
179
  }
@@ -248,18 +249,32 @@ p:empty, ul:empty {
248
249
  .margin_block {
249
250
  margin: 1rem 0;
250
251
  }
251
- @media screen and (max-width: 1023px) {
252
+ @layer container {
252
253
  .containment {
253
- width: min(45rem, calc(100% - 4rem));
254
+ width: min(1200px, calc(100% - 4rem));
255
+ }
256
+ @media screen and (max-width: 1023px) {
257
+ .containment {
258
+ width: min(45rem, calc(100% - 4rem));
259
+ }
254
260
  }
261
+ @media screen and (max-width: 768px) {
262
+ .containment {
263
+ width: min(33.75rem, calc(100% - 4rem));
264
+ }
265
+ }
266
+ @media screen and (max-width: 603px) {
267
+ .containment {
268
+ width: calc(100% - 2rem);
269
+ }
270
+ }
271
+ }
272
+ @media screen and (max-width: 1023px) {
255
273
  .section_spacer {
256
274
  margin-top: 42px;
257
275
  }
258
276
  }
259
277
  @media screen and (max-width: 768px) {
260
- .containment {
261
- width: min(33.75rem, calc(100% - 4rem));
262
- }
263
278
  .section_spacer {
264
279
  margin-top: 2rem;
265
280
  }
@@ -267,11 +282,6 @@ p:empty, ul:empty {
267
282
  padding: 32px 28px;
268
283
  }
269
284
  }
270
- @media screen and (max-width: 603px) {
271
- .containment {
272
- width: calc(100% - 2rem);
273
- }
274
- }
275
285
  @media screen and (max-width:1280px) {
276
286
  .header_2 {
277
287
  font-size: 2rem;
@@ -1,47 +1,47 @@
1
- @keyframes _shimmer_pwl74_1 {
2
- from {
3
- transform: translateX(-100%);
4
- }
5
- to {
6
- transform: translateX(100%);
7
- }
8
- }
9
-
10
- ._loader_pwl74_10 {
11
- height: 100%;
12
- width: 100%;
13
- inset: 0;
14
- }
15
-
16
- ._loading_pwl74_16 {
17
- position: relative;
18
- width: 100%;
19
- height: 100%;
20
- overflow: hidden;
21
- background: #1e3860;
22
- }
23
-
24
- ._1es6o1h0 ._loading_pwl74_16 {
25
- background-color: var(--_1073cm8f);
26
- }
27
-
28
- .fl2fv50 ._loading_pwl74_16 {
29
- background-color: #28587d;
30
- }
31
-
32
- ._loading_pwl74_16::before {
33
- content: "";
34
- position: absolute;
35
- top: 0;
36
- left: 0;
37
- width: 190%;
38
- height: 100%;
39
- background: linear-gradient(
40
- 65deg,
41
- rgba(255, 255, 255, 0) 20%,
42
- rgba(255, 255, 255, 0.5) 50%,
43
- rgba(255, 255, 255, 0) 80%
44
- );
45
- animation: _shimmer_pwl74_1 1.3s infinite linear;
46
- z-index: 1;
47
- }
1
+ @keyframes _shimmer_1cu2x_1 {
2
+ from {
3
+ transform: translateX(-100%);
4
+ }
5
+ to {
6
+ transform: translateX(100%);
7
+ }
8
+ }
9
+
10
+ ._loader_1cu2x_19 {
11
+ height: 100%;
12
+ width: 100%;
13
+ inset: 0;
14
+ }
15
+
16
+ ._loading_1cu2x_31 {
17
+ position: relative;
18
+ width: 100%;
19
+ height: 100%;
20
+ overflow: hidden;
21
+ background: #1e3860;
22
+ }
23
+
24
+ ._1es6o1h0 ._loading_1cu2x_31 {
25
+ background-color: var(--_1073cm8f);
26
+ }
27
+
28
+ .fl2fv50 ._loading_1cu2x_31 {
29
+ background-color: #28587d;
30
+ }
31
+
32
+ ._loading_1cu2x_31::before {
33
+ content: "";
34
+ position: absolute;
35
+ top: 0;
36
+ left: 0;
37
+ width: 190%;
38
+ height: 100%;
39
+ background: linear-gradient(
40
+ 65deg,
41
+ rgba(255, 255, 255, 0) 20%,
42
+ rgba(255, 255, 255, 0.5) 50%,
43
+ rgba(255, 255, 255, 0) 80%
44
+ );
45
+ animation: _shimmer_1cu2x_1 1.3s infinite linear;
46
+ z-index: 1;
47
+ }
package/dist/main.js CHANGED
@@ -52,7 +52,7 @@ import { ComparisonSet } from "./Comparison/ComparisonSet.js";
52
52
  import { ContentBanner } from "./ContentBanner/index.js";
53
53
  import { DownloadTile } from "./DownloadTile/index.js";
54
54
  import { ExecutiveBio } from "./ExecutiveBio/ExecutiveBio.js";
55
- import { bio_section_text, bulletsHeadline, bulletsWrapper, ceoContainer, ceoContent, ceoHeader, ceoImgWrapper, ceoMedia, ceoPersonalInfo, ceoSection, ceoWrapper, ceo_body, ceo_contacts, ceo_name, ceo_quote, ceo_title, components, contact_col, contact_entry, contacts, copy, description, details, executive_bio, flexColumn, header_theme, headline_setting, headshot, highlights, hover, imgAlignment, img_area, item_bio, job_title, media, order_3, overlay, padding, person, section_theme, shift, social, stroke_color, svg_color, svg_icon, tooltip, url_row } from "./ExecutiveBio/ExecutiveBio.css.js";
55
+ import { bio_section_text, bulletsHeadline, bulletsWrapper, ceoContainer, ceoContent, ceoHeader, ceoImgWrapper, ceoMedia, ceoPersonalInfo, ceoSection, ceoWrapper, ceo_body, ceo_contacts, ceo_name, ceo_quote, ceo_title, compact, components, contact_col, contact_entry, contacts, copy, description, details, executive_bio, flexColumn, header_theme, headline_setting, headshot, highlights, hover, imgAlignment, img_area, item_bio, job_title, media, order_3, overlay, padding, person, section_theme, shift, social, stroke_color, svg_color, svg_icon, tooltip, url_row } from "./ExecutiveBio/ExecutiveBio.css.js";
56
56
  import { ExecutiveBioSet } from "./ExecutiveBio/ExecutiveBioSet.js";
57
57
  import { AccordionCtas, AccordionItem, AccordionItemContent, AccordionItemSummary, FaqAccordion } from "./FaqAccordion/index.js";
58
58
  import { FdicBanner } from "./FdicCallout/index.js";
@@ -70,6 +70,7 @@ import { CommercialDeposits } from "./Forms/CommercialDeposits.js";
70
70
  import { CommercialDepositsNoLendingOption } from "./Forms/CommercialDepositsNoLendingOption.js";
71
71
  import { CommercialLending } from "./Forms/CommercialLending.js";
72
72
  import { CommercialPremiumFinance } from "./Forms/CommercialPremiumFinance.js";
73
+ import { ConstructionLendingDynamic } from "./Forms/ConstructionLendingDynamic.js";
73
74
  import { ContactCompany } from "./Forms/ContactCompany.js";
74
75
  import { ContactCompanyTitle } from "./Forms/ContactCompanyTitle.js";
75
76
  import { ContactUs } from "./Forms/ContactUs.js";
@@ -109,7 +110,7 @@ import { headline_text, heroSupertag, hero_banner, hero_btns, hero_bullet_item,
109
110
  import { selection_headline_text, selection_section, selection_section_bg, selection_section_content, selection_section_icon, selection_section_icon_img } from "./HeroBanner/SelectionBanner.css.js";
110
111
  import { Hyperlink } from "./Hyperlink/index.js";
111
112
  import { IconBillboard } from "./IconBillboard/IconBillboard.js";
112
- import { billboard_icon, buttons, containerIconBillboard, content, headerIconBillboard, header_section, layout, link_wrapper, list, listItem, section_body, section_container, section_text, title } from "./IconBillboard/IconBillboard.css.js";
113
+ import { billboard_icon, buttons, containerIconBillboard, content, headerIconBillboard, header_section, insightTitle, layout, link_wrapper, list, listItem, section_body, section_container, section_text, title } from "./IconBillboard/IconBillboard.css.js";
113
114
  import { IconBillboardSet } from "./IconBillboard/IconBillboardSet.js";
114
115
  import { default as default2 } from "./icons/ArrowIcon/index.js";
115
116
  import { default as default3 } from "./icons/AxosX/index.js";
@@ -206,7 +207,7 @@ import { expand_icon, hide_transcript, item, mb_8, show, toggle_container, trans
206
207
  import { VideoWrapper } from "./VideoWrapper/index.js";
207
208
  import { Tab } from "./Tab/Tab.js";
208
209
  import { TabContainer } from "./Tab/TabContainer.js";
209
- import { findMoreAxosDomains, isAllowedUrl } from "./utils/allowedAxosDomains.js";
210
+ import { findMoreAxosDomains, getMoreDomains, isAllowedUrl } from "./utils/allowedAxosDomains.js";
210
211
  import { appendQueryParams } from "./utils/appendQueryParams.js";
211
212
  import { createCachedEmailValidator } from "./utils/emailValidation.js";
212
213
  import { associatedEmail } from "./utils/EverestValidity.js";
@@ -278,6 +279,7 @@ export {
278
279
  CommercialLending,
279
280
  CommercialPremiumFinance,
280
281
  ComparisonSet,
282
+ ConstructionLendingDynamic,
281
283
  ContactCompany,
282
284
  ContactCompanyTitle,
283
285
  ContactUs,
@@ -515,6 +517,7 @@ export {
515
517
  chatbotUFB,
516
518
  checkbox_group,
517
519
  columnValues,
520
+ compact,
518
521
  comparison,
519
522
  comparison_buttons,
520
523
  comparison_container,
@@ -596,6 +599,7 @@ export {
596
599
  fullRowForm,
597
600
  fullRowSelect,
598
601
  getLink,
602
+ getMoreDomains,
599
603
  getVariant,
600
604
  getVariantWithRegex,
601
605
  header,
@@ -658,6 +662,7 @@ export {
658
662
  inner,
659
663
  input,
660
664
  inputStyle,
665
+ insightTitle,
661
666
  insight_header,
662
667
  insight_header_2,
663
668
  insight_header_3,
@@ -1,2 +1,5 @@
1
- export declare const isAllowedUrl: (url: string) => boolean;
2
- export declare const findMoreAxosDomains: (url: string) => string;
1
+ /** Resolver function: use from useGlobalContext() to resolve template URLs without passing domains. */
2
+ export type UrlResolver = (url: string) => string;
3
+ export declare const getMoreDomains: (domains: Record<string, string>) => Record<string, string>;
4
+ export declare const isAllowedUrl: (url: string, domains: Record<string, string>) => boolean;
5
+ export declare const findMoreAxosDomains: (url: string, domains: Record<string, string>) => string;
@@ -1,52 +1,53 @@
1
- const moreDomains = {
2
- "{AXOS}": process.env.AXOS_URL ?? "https://www.axos.com",
3
- "{AXOSBANK}": process.env.AXOS_BANK_URL !== void 0 ? process.env.AXOS_BANK_URL : "https://www.axosbank.com",
4
- "{AXOSCLEARING}": process.env.CLEARING_URL || "https://axosclearing.com",
5
- "{AAS}": process.env.AAS_URL || "https://www.axosadvisorservices.com",
6
- "{AXA}": process.env.AXA_URL || "https://www.axosadvisor.com",
7
- "{AFS}": process.env.AFS_URL || "https://www.axosfiduciaryservices.com",
8
- "{NATIONWIDE}": process.env.NATIOWIDE_URL || "https://www.nationwide.axosbank.com",
9
- "{ENROLLMENT}": process.env.ENROLLMENT_URL || "https://onboard.axos.com",
10
- "{LEGACYENROLLMENT}": process.env.LEGACY_ENROLLMENT_URL || "https://enrollment.axosbank.com",
1
+ const getMoreDomains = (domains) => ({
2
+ "{AXOS}": domains.AXOS_URL || "https://www.axos.com",
3
+ "{AXOSBANK}": domains.AXOS_BANK_URL !== void 0 ? domains.AXOS_BANK_URL : "https://www.axosbank.com",
4
+ "{AXOSCLEARING}": domains.CLEARING_URL || "https://axosclearing.com",
5
+ "{AAS}": domains.AAS_URL || "https://www.axosadvisorservices.com",
6
+ "{AXA}": domains.AXA_URL || "https://www.axosadvisor.com",
7
+ "{AFS}": domains.AFS_URL || "https://www.axosfiduciaryservices.com",
8
+ "{NATIONWIDE}": domains.NATIOWIDE_URL || "https://www.nationwide.axosbank.com",
9
+ "{ENROLLMENT}": domains.ENROLLMENT_URL || "https://onboard.axos.com",
10
+ "{LEGACYENROLLMENT}": domains.LEGACY_ENROLLMENT_URL || "https://enrollment.axosbank.com",
11
11
  "{ASSETSURL}": "https://assets.axos.com",
12
12
  "{IMAGEASSETSURL}": "https://images.axos.com",
13
- "{ONLINEBANKING}": process.env.ONLINEBANKING_URL || "https://onlinebanking.uat.axosbank.com",
14
- "{UFBDIRECT}": process.env.UFB_URL || "https://www.ufbdirect.com",
15
- "{ARMS}": process.env.ARMS_URL || "https://arms.axosadvisor.com",
16
- "{APPS}": process.env.APPS_URL || "https://apps.axosbank.com",
17
- "{AFP}": process.env.AFP_URL || "https://afp.axosbank.com",
18
- "{INVESTORS}": process.env.INVESTORS_URL || "https://investors.axosfinancial.com",
19
- "{OBAXB}": process.env.ONLINEBANKING_URL || "https://onlinebanking.axosbank.com",
20
- "{UNVENROLLMENT}": process.env.UNVENROLLMENT_URL || "https://enroll.axosbank.com",
13
+ "{ONLINEBANKING}": domains.ONLINEBANKING_URL || "https://onlinebanking.uat.axosbank.com",
14
+ "{UFBDIRECT}": domains.UFB_URL || "https://www.ufbdirect.com",
15
+ "{ARMS}": domains.ARMS_URL || "https://arms.axosadvisor.com",
16
+ "{APPS}": domains.APPS_URL || "https://apps.axosbank.com",
17
+ "{AFP}": domains.AFP_URL || "https://afp.axosbank.com",
18
+ "{INVESTORS}": domains.INVESTORS_URL || "https://investors.axosfinancial.com",
19
+ "{OBAXB}": domains.ONLINEBANKING_URL || "https://onlinebanking.axosbank.com",
20
+ "{UNVENROLLMENT}": domains.UNVENROLLMENT_URL || "https://enroll.axosbank.com",
21
21
  "{AUTOAXB}": "https://auto.axosbank.com/partner/axos-purchase/AU",
22
- "{COMMERCIALPORTAL}": process.env.COMMERCIALPORTAL_URL || "https://portals.axosbank.com",
23
- "{DEVAXC}": process.env.DEVELOPER_CLEARING || "https://developer.axosclearing.com",
24
- "{AFF}": process.env.FUNDFINDER_URL || "https://axosfundfinder.com",
25
- "{APL}": process.env.PERSONAL_LOANS_URL || "https://personalloans.axosbank.com",
26
- "{AXSEC}": process.env.AXOS_SECURE_URL || "https://secure.axosbank.com",
27
- "{SECURE}": process.env.AXOS_SECURE_URL || "https://secure.axosbank.com",
28
- "{DOWNLOADAXOS}": process.env.AXOS_DOWNLOAD_URL || "https://downloads.axos.com",
29
- "{SBEAX}": process.env.SBB_ENROLL || "https://small-business-enrollment.axosbank.com",
30
- "{CPDS}": process.env.CP_DECISIONLENDER || "https://cp.decisionlender.solutions",
31
- "{JHALOAN}": process.env.JHA_LOANSPQ || "https://jha.loanspq.com",
32
- "{AXSECURITIES}": process.env.AXOS_SECURITIES_URL ?? "https://www.axossecurities.com",
33
- "{LIBSYN}": process.env.AXOS_LIBSYN || "https://sites.libsyn.com",
34
- "{AXBC}": process.env.AXOS_BUSINESS_CENTER ?? "https://www.axosbusinesscenter.com",
35
- "{AXMWDJ}": process.env.AXOS_MY_WORK_DAY_JOBS ?? "https://axos.wd5.myworkdayjobs.com/Axos",
36
- "{AXMHA}": process.env.AXOS_MY_HOME_ADVANTAGE ?? "https://axos.myhomeadvantage.com",
37
- "{AXTPL}": process.env.AXOS_THIRD_PARTY_LENDING ?? "https://thirdpartylending.axosbank.com",
38
- "{AXBHUBSVIDYARD}": process.env.AXBHUBSVIDYARD_URL || "https://www.axosbank.hubs.vidyard.com",
39
- "{AUTOAX}": process.env.AUTO_AXOSBANK_URL || "https://auto.axosbank.com",
40
- "{AFAST}": process.env.SECURE_FAST_URL || "https://secure.approvedfast.com",
41
- "{LVFMYSITE}": process.env.LVF_MYSITE_URL || "https://lavictoire-finance.my.site.com",
42
- "{PERSONALLOANS}": process.env.PERSONAL_LOANS_URL || "https://personalloans.axosbank.com",
43
- "{MODELSELECTION}": process.env.MODEL_SELECTION_URL || "https://modelselection.axos.com",
44
- "{COMMERCIALPORTAL_LOGIN}": process.env.COMMERCIALPORTAL_URL ? `${process.env.COMMERCIALPORTAL_URL}/login` : "https://portals.axosbank.com/login",
45
- "{COMMERCIALPORTAL_REGISTER}": process.env.COMMERCIALPORTAL_URL ? `${process.env.COMMERCIALPORTAL_URL}/Register` : "https://portals.axosbank.com/Register",
46
- "{SHAREAXB}": process.env.SHAREAXB_URL || "https://share.axosbank.com",
47
- "{MERIDIAN}": process.env.MERIDIAN_URL || "https://www.axosbank.com/"
48
- };
49
- const isAllowedUrl = (url) => {
22
+ "{COMMERCIALPORTAL}": domains.COMMERCIALPORTAL_URL || "https://portals.axosbank.com",
23
+ "{DEVAXC}": domains.DEVELOPER_CLEARING || "https://developer.axosclearing.com",
24
+ "{AFF}": domains.FUNDFINDER_URL || "https://axosfundfinder.com",
25
+ "{APL}": domains.PERSONAL_LOANS_URL || "https://personalloans.axosbank.com",
26
+ "{AXSEC}": domains.AXOS_SECURE_URL || "https://secure.axosbank.com",
27
+ "{SECURE}": domains.AXOS_SECURE_URL || "https://secure.axosbank.com",
28
+ "{DOWNLOADAXOS}": domains.AXOS_DOWNLOAD_URL || "https://downloads.axos.com",
29
+ "{SBEAX}": domains.SBB_ENROLL || "https://small-business-enrollment.axosbank.com",
30
+ "{CPDS}": domains.CP_DECISIONLENDER || "https://cp.decisionlender.solutions",
31
+ "{JHALOAN}": domains.JHA_LOANSPQ || "https://jha.loanspq.com",
32
+ "{AXSECURITIES}": domains.AXOS_SECURITIES_URL || "https://www.axossecurities.com",
33
+ "{LIBSYN}": domains.AXOS_LIBSYN || "https://sites.libsyn.com",
34
+ "{AXBC}": domains.AXOS_BUSINESS_CENTER || "https://www.axosbusinesscenter.com",
35
+ "{AXMWDJ}": domains.AXOS_MY_WORK_DAY_JOBS || "https://axos.wd5.myworkdayjobs.com/Axos",
36
+ "{AXMHA}": domains.AXOS_MY_HOME_ADVANTAGE || "https://axos.myhomeadvantage.com",
37
+ "{AXTPL}": domains.AXOS_THIRD_PARTY_LENDING || "https://thirdpartylending.axosbank.com",
38
+ "{AXBHUBSVIDYARD}": domains.AXBHUBSVIDYARD_URL || "https://www.axosbank.hubs.vidyard.com",
39
+ "{AUTOAX}": domains.AUTO_AXOSBANK_URL || "https://auto.axosbank.com",
40
+ "{AFAST}": domains.SECURE_FAST_URL || "https://secure.approvedfast.com",
41
+ "{LVFMYSITE}": domains.LVF_MYSITE_URL || "https://lavictoire-finance.my.site.com",
42
+ "{PERSONALLOANS}": domains.PERSONAL_LOANS_URL || "https://personalloans.axosbank.com",
43
+ "{MODELSELECTION}": domains.MODEL_SELECTION_URL || "https://modelselection.axos.com",
44
+ "{COMMERCIALPORTAL_LOGIN}": domains.COMMERCIALPORTAL_URL ? `${domains.COMMERCIALPORTAL_URL}/login` : "https://portals.axosbank.com/login",
45
+ "{COMMERCIALPORTAL_REGISTER}": domains.COMMERCIALPORTAL_URL ? `${domains.COMMERCIALPORTAL_URL}/Register` : "https://portals.axosbank.com/Register",
46
+ "{SHAREAXB}": domains.SHAREAXB_URL || "https://share.axosbank.com",
47
+ "{MERIDIAN}": domains.MERIDIAN_URL || "https://www.axosbank.com/"
48
+ });
49
+ const isAllowedUrl = (url, domains) => {
50
+ const moreDomains = getMoreDomains(domains);
50
51
  const uri = new URL(url, location.href);
51
52
  for (const key in moreDomains) {
52
53
  const urlToCompare = new URL(moreDomains[key], location.href);
@@ -54,7 +55,8 @@ const isAllowedUrl = (url) => {
54
55
  }
55
56
  return false;
56
57
  };
57
- const findMoreAxosDomains = (url) => {
58
+ const findMoreAxosDomains = (url, domains) => {
59
+ const moreDomains = getMoreDomains(domains);
58
60
  const regexSearching = /\{[a-xA-Z_-]+\}/;
59
61
  if (regexSearching.test(url)) {
60
62
  const domainToReplace = url.match(regexSearching);
@@ -82,5 +84,6 @@ const findMoreAxosDomains = (url) => {
82
84
  };
83
85
  export {
84
86
  findMoreAxosDomains,
87
+ getMoreDomains,
85
88
  isAllowedUrl
86
89
  };
@@ -1,8 +1,12 @@
1
1
  const appendQueryParams = () => {
2
- const searchParams = new URLSearchParams(window.location.search);
3
- const filterParams = (href) => {
2
+ const currentOrigin = window.location.origin;
3
+ const currentPathname = window.location.pathname;
4
+ const filterParams = (href, currentSearch) => {
4
5
  try {
5
- const url = new URL(href, window.location.origin);
6
+ const search = currentSearch ?? window.location.search;
7
+ const searchParams = new URLSearchParams(search);
8
+ const base = window.location.origin + window.location.pathname + window.location.search;
9
+ const url = new URL(href, base);
6
10
  const existingParams = new URLSearchParams(url.search);
7
11
  const newParams = new URLSearchParams();
8
12
  const addedKeys = /* @__PURE__ */ new Set();
@@ -25,17 +29,44 @@ const appendQueryParams = () => {
25
29
  }
26
30
  const mergedParams = new URLSearchParams(existingParams);
27
31
  newParams.forEach((value, key) => mergedParams.append(key, value));
28
- return `${url.origin}${url.pathname}?${mergedParams.toString()}`;
32
+ return `${url.origin}${url.pathname}?${mergedParams.toString()}${url.hash}`;
29
33
  } catch (e) {
30
34
  console.error(e);
31
35
  return href;
32
36
  }
33
37
  };
38
+ const handleSamePageClick = (e) => {
39
+ const anchor = e.target?.closest?.("a[href]");
40
+ if (!anchor || anchor.classList.contains("ext-link"))
41
+ return;
42
+ const href = anchor.getAttribute("href")?.trim();
43
+ if (!href || href.startsWith("tel:") || href.startsWith("mailto:") || href === "#" || href === "" || href.startsWith("#"))
44
+ return;
45
+ const base = window.location.origin + window.location.pathname + window.location.search;
46
+ const url = new URL(href, base);
47
+ if (url.origin !== currentOrigin || url.pathname !== currentPathname)
48
+ return;
49
+ e.preventDefault();
50
+ e.stopImmediatePropagation();
51
+ const merged = filterParams(href, window.location.search);
52
+ const mergedUrl = new URL(merged, window.location.origin);
53
+ const fullUrl = `${mergedUrl.pathname}${mergedUrl.search}${mergedUrl.hash}`;
54
+ window.history.replaceState({ ...window.history.state }, "", fullUrl);
55
+ window.dispatchEvent(
56
+ new PopStateEvent("popstate", { state: window.history.state })
57
+ );
58
+ if (mergedUrl.hash) {
59
+ const el = document.querySelector(mergedUrl.hash);
60
+ el?.scrollIntoView({ behavior: "smooth" });
61
+ }
62
+ };
63
+ document.addEventListener("click", handleSamePageClick, true);
34
64
  if (window.location.search.length) {
65
+ const searchParams = new URLSearchParams(window.location.search);
35
66
  document.querySelectorAll("a[href]:not(.ext-link)").forEach((anchor) => {
36
67
  const href = anchor.getAttribute("href")?.trim();
37
68
  if (href && !href.startsWith("tel:") && !href.startsWith("mailto:") && href !== "#" && href !== "" && !href.startsWith("#")) {
38
- anchor.href = filterParams(href);
69
+ anchor.href = filterParams(href, searchParams.toString());
39
70
  }
40
71
  });
41
72
  }
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import { findMoreAxosDomains, isAllowedUrl } from "./allowedAxosDomains.js";
2
+ import { findMoreAxosDomains, getMoreDomains, isAllowedUrl } from "./allowedAxosDomains.js";
3
3
  import { appendQueryParams } from "./appendQueryParams.js";
4
4
  import { createCachedEmailValidator } from "./emailValidation.js";
5
5
  import { associatedEmail } from "./EverestValidity.js";
@@ -15,6 +15,7 @@ export {
15
15
  createCachedEmailValidator,
16
16
  createCachedNMLSValidator,
17
17
  findMoreAxosDomains,
18
+ getMoreDomains,
18
19
  getVariant,
19
20
  getVariantWithRegex,
20
21
  isAbsoluteUrl,
@@ -1,6 +1,6 @@
1
- import '../../assets/utils/optimizeImage/optimizeImage.css';const loader = "_loader_pwl74_10";
2
- const loading = "_loading_pwl74_16";
3
- const shimmer = "_shimmer_pwl74_1";
1
+ import '../../assets/utils/optimizeImage/optimizeImage.css';const loader = "_loader_1cu2x_19";
2
+ const loading = "_loading_1cu2x_31";
3
+ const shimmer = "_shimmer_1cu2x_1";
4
4
  const css = {
5
5
  loader,
6
6
  loading,
@@ -0,0 +1,3 @@
1
+ export declare const isSamePageSameQueryUrl: (href: string) => boolean;
2
+ export declare const handleSamePageNavigation: (e: React.MouseEvent) => void;
3
+ export declare const shouldIgnoreClick: (href: string) => boolean;
@@ -0,0 +1,23 @@
1
+ const isSamePageSameQueryUrl = (href) => {
2
+ const base = window.location.origin + window.location.pathname + window.location.search;
3
+ const target = new URL(href, base);
4
+ return target.origin === window.location.origin && target.pathname === window.location.pathname && target.search === window.location.search;
5
+ };
6
+ const handleSamePageNavigation = (e) => {
7
+ e.preventDefault();
8
+ e.nativeEvent.stopImmediatePropagation();
9
+ window.dispatchEvent(
10
+ new PopStateEvent("popstate", { state: window.history.state })
11
+ );
12
+ };
13
+ const shouldIgnoreClick = (href) => {
14
+ if (href.startsWith("#")) return true;
15
+ const base = window.location.origin + window.location.pathname + window.location.search;
16
+ const target = new URL(href, base);
17
+ return target.origin === window.location.origin && target.pathname === window.location.pathname && target.search === window.location.search && target.hash !== "";
18
+ };
19
+ export {
20
+ handleSamePageNavigation,
21
+ isSamePageSameQueryUrl,
22
+ shouldIgnoreClick
23
+ };
@@ -2,4 +2,4 @@ export declare const isAbsoluteUrl: (url: string) => boolean;
2
2
  export declare const shortUrl: (url: string) => string;
3
3
  export declare const isEmailLink: (url: string) => boolean;
4
4
  export declare const isPhoneLink: (url: string) => boolean;
5
- export declare const validateLink: (url: string) => boolean;
5
+ export declare const validateLink: (url: string, domains: Record<string, string>) => boolean;